We’re having a discussion about technical things, not random stuff. Using terminology that is liable to be confused is asking for your argument to be misunderstood.
A typical LLM generates ~50K tokens / tick of which it will use one. Those 50K tokens are all of the possible ones. If you want to make the case that this is somehow an efficient algorithm be my guest.
I have never heard this before. Are you talking about the vocabulary from which an LLM samples? This is like saying that human programmers are extremely wasteful because each keystroke they think about 104 different keys, of which they only press one. It's total nonsense, the number of choices and the efficiency/intelligence have nothing to do with each other.
If anything, intelligence should correlate with being able to cut through a large search space, so one could argue precisely the opposite: sampling repeatedly from 50k choices and producing a proof of the Riemann hypothesis is so, so far from monkeys banging on a keyboard.
And an LLM doesn't consider all 50k tokens, it samples the one that it wants. Indeed, with nucleus sampling and speculative decoding it is often generating large sequences of tokens at a time when it's obvious what should follow.
C’mon, you know better than this. I’ve seen you write many intelligent and thoughtful comments, and am grateful for those. But right now, you are digging a deeper hole.
I've seen this kind of comment multiple times over the years. Usually it just means 'we disagree, but since we used to agree in the past you should agree with me now'.
It's kind of insulting: you think my previous comments where intelligent and thoughtful and now, all of sudden I'm apparently dumb and no longer intelligent.
That aside:
LLMs are not efficient. They are efficient when they are used to solve problems that could not be solved in any other way. But meanwhile they're used as spellcheckers, as search engines and as the producer of the output of for-next loops. At a power consumption that absolutely dwarfs the equivalent consumption for a well written program, and with loss of determinism to boot. What I tried to illustrate with the generation of all those tokens is that this inefficiency is baked into the whole token generation process, and that there is no way around it, or at least, none that I can see. MOE improves a bit on this but still spends a ton of compute on results that are never used. If we extend the keyboard analogy a bit it would be like me pressing all those 104 keys and backspacing all of them except for one.
I find it quite ironic that we seem to be arguing simultaneously for extending our power consumption per-capita to something wholly unlike what we've been doing so far but also need to use LED lights to save energy. I'm impressed with what AI can do, I'm also horrified at what it is used for and I'm concerned with the long term impact on our societies and economies. If AI was engineered along the lines of what the original proponents of AI thought it would be then it would be much more along the lines of an efficient system in comparison to what we - post bitter lesson - are going to have to accept. But I refuse to call it efficient, it just isn't.
And if you don't like that then you can either agree to disagree or quit commenting, but spare me the insults.
Uh… it picks one token and abandons the other branches…
The semantics angle was a better one for you. But given all of the confusion and talking past each other in the comments on this blog post, I’d still say that extra clarity is kind of essential.
Therapist: "The 50,000-dimensional unembedding matrix isn't real, it can't hurt your GPU."
The unembedding matrix: [768, 50257]
Meme Explanation: NNs produce logits and the inference software picks the discrete token based on the logits via a sampling strategy only to then turn the token back into a continuous embedding vector on the next pass!
Replies (1)
Replies (3)
If anything, intelligence should correlate with being able to cut through a large search space, so one could argue precisely the opposite: sampling repeatedly from 50k choices and producing a proof of the Riemann hypothesis is so, so far from monkeys banging on a keyboard.
Replies (1)
Replies (3)
I hear your objection already: "but it's generating the logits for all 50k tokens". But cognitive scientists believe that humans do the same. This is the theory of parallel processing: https://en.wikipedia.org/wiki/Parallel_processing_(psycholog...
Replies (1)
It's kind of insulting: you think my previous comments where intelligent and thoughtful and now, all of sudden I'm apparently dumb and no longer intelligent.
That aside:
LLMs are not efficient. They are efficient when they are used to solve problems that could not be solved in any other way. But meanwhile they're used as spellcheckers, as search engines and as the producer of the output of for-next loops. At a power consumption that absolutely dwarfs the equivalent consumption for a well written program, and with loss of determinism to boot. What I tried to illustrate with the generation of all those tokens is that this inefficiency is baked into the whole token generation process, and that there is no way around it, or at least, none that I can see. MOE improves a bit on this but still spends a ton of compute on results that are never used. If we extend the keyboard analogy a bit it would be like me pressing all those 104 keys and backspacing all of them except for one.
I find it quite ironic that we seem to be arguing simultaneously for extending our power consumption per-capita to something wholly unlike what we've been doing so far but also need to use LED lights to save energy. I'm impressed with what AI can do, I'm also horrified at what it is used for and I'm concerned with the long term impact on our societies and economies. If AI was engineered along the lines of what the original proponents of AI thought it would be then it would be much more along the lines of an efficient system in comparison to what we - post bitter lesson - are going to have to accept. But I refuse to call it efficient, it just isn't.
And if you don't like that then you can either agree to disagree or quit commenting, but spare me the insults.
Continue this thread (2 replies) →
Replies (1)
The semantics angle was a better one for you. But given all of the confusion and talking past each other in the comments on this blog post, I’d still say that extra clarity is kind of essential.
Replies (1)
The unembedding matrix: [768, 50257]
Meme Explanation: NNs produce logits and the inference software picks the discrete token based on the logits via a sampling strategy only to then turn the token back into a continuous embedding vector on the next pass!