An unofficial, read-only Hacker News reader.

Holy shit holy shit holy shit holy shit: The magnitude of what’s now happening (opens external site)

2049 points by Kotlopou 4 days ago | scottaaronson.blog | 1894 comments on HN

View full thread · View on Hacker News

Comment thread (19)

  1. 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.
    Replies (3)
    1. 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.

      Replies (1)
      1. We don't consider all 104 keys, we press the one we want.
        Replies (3)
        1. 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.

          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...

        2. 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.
          Replies (1)
          1. 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.

            Replies (2)
            1. I think what’s missing here is actual numbers. The inefficiency of LLMs is being assumed as a given. But you are comparing an LLM against hypothetical code without considering the costs required to generate that code, which are the costs incurred by the human writing that code. An apples-to-apples comparison should compare human -> code vs AI -> code.

              And if you look at the best estimates we have for LLM resource consumption (I looked at energy and water because that’s what everyone keeps harping on about) for a nominal task, LLMs are much more resource efficient than humans.

              It’s not because LLMs are efficient, it’s because humans are absolute resource hogs.

              The mistake everyone makes is comparing only the human brain against the costs of the entire data center. If you include the entire ecosystem needed to run an LLM, you should include everything needed to run a brain too: Power and water needed to sustain the body, including drinking and toilets and HVAC.

              When I ran the first ran the numbers agentic coding was in its infancy, and so I assumed a modest 10% productivity gain and the the resources used by multiple LLM prompts instead of a heavy agentic coding session (for which we didn’t have good estimates then.) I actually used home numbers vs office numbers because they make us look better.

              Even then humans + LLMs were so much more resource efficient than humans alone that my napkin math suggested that if all knowledge workers used LLMs all day for only a 10% speed up, we save so much resources that we could recoup the enormous resource costs of training a frontier model in a few months!

              With agentic work, LLM resource consumption is much higher, but 1) the human contribution shrinks drastically and 2) the speedup, as we’re seeing, is insane. Some tasks we can’t even measure a speedup for because it’s a NaN because humans simply are incapable of completing those tasks! Like, thousands of humans over dozens of years could not solve what’s been solved by LLMs just this past few days.

              So if you measure the costs needed to sustain a human for a given task vs an LLM alone, LLMs are way more efficient.

              And this is without even considering human luxuries like beef.

              Seriously, run the numbers through a couple of agents. I’d be happy to be proven wrong, but so far I’m afraid we are losing on the efficiency argument as well.

              Continue this thread (2 replies) →

            2. Bro, you were writing 2+2=5 and then doubling down on it. I was trying to gently help you see you were making a fool of yourself. I apologize for trying to be gracious and diplomatic.

              LLMs are not “bruteforce” in the technical sense… Full stop.

              You have now brought up a bunch of other tangential points. I actually agree with most of it. LLM efficiency is a big issue. But that’s not what I was commenting on.

              Please follow the thread and look at what I actually wrote. My original comment was asking for clarity when you are using the term “bruteforce” in a colloquial fashion in the midst of a technical discussion.

              Continue this thread (1 replies) →

        3. Actually some humans find it helpful to think before typing.
          Replies (1)
          1. This is my favorite comment in the thread :)
    2. 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.

    3. It's not how LLM works at all. Perhaps you should, unironically, think in computer science terms before discussing this topic...
      Replies (1)
      1. 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!