Original tweet by @emollick: https://twitter.com/emollick/status/1669939043243622402
Tweet text: One reason AI is hard to “get” is that LLMs are bad at tasks you would expect an AI to be good at (citations, facts, quotes, manipulating and counting words or letters) but surprisingly good at things you expect it to be bad at (generating creative ideas, writing with “empathy”).
Thanks for sharing, this (with tokenization) is a great way to explain it to people who don’t understand LLMs.
I appreciate your kind words, I’m glad you find it useful!
?? Literally the entire purpose of the transformer architecture is to manipulate text, how is it bad at that? Am I misunderstanding this? Summarization, thematic transformation, language translation etc are all things AI is fantastic at…
The problem is that they “see” the text at the token level instead of the level of characters. That’s why they are bad at reversing strings or counting characters, for example. They perceive tokens as the atomic units of text instead of characters. For example, see how this comment gets tokenized:
With the token IDs shown:
The current ChatGPTs got pretty good at these tasks but they are still hard for them.
Here is an example of a (admittedly more complicated) character-level task failing:
Source: https://www.reddit.com/r/ChatGPT/comments/11z9tuk/chatgpt_vs_reversed_text/ (It’s from the devil’s website, so don’t open it)
Related tweet by @karpathy:
https://twitter.com/karpathy/status/1657949234535211009
Text reversing example from a tweet by @npew:
EDIT: sorry for the infodump, I just find these topics fascinating.
Thanks for the detailed reply, I see that I did indeed misunderstand what he was saying. I’m an R&D engineer so I guess my knee jerk response to character level mischief is exactly what you said, it can’t see them anyway, I already knew that so I dismissed that possible interpretation in my mind straight out the gate. Maybe I should assume zero knowledge of internal AI workings reading commentary in the wild.
Edit: Actually just thought of a good analogy for this. Say I play a sound and then ask you what it is of. You might reply “it sounds like a bell”, but if I asked exactly the composition of frequencies that made the sound, you might not be able to say. Similarly the AI sees a group of letters as a definite “thing” (token) but it doesn’t know what actually went into that because its “ears”(tokenizer) already reduced it to a simpler signal.
Wow, that’s a great analogy!
I guess the idea is that it’s bad at hard factual things, where you would expect a machine to be good at, and good at creativity and emotions, where you would expect humans to be undefeatable.
It’s badly phrased though, I agree.
it can be okay at general summary of stuff but bad when going into detailed facts. the bing search thing on chatgpt is really good tough.