by reasonableklout 15 hours ago

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.

jacquesm 14 hours ago

We don't consider all 104 keys, we press the one we want.

  • reasonableklout 14 hours ago

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

  • dwaltrip 13 hours ago

    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.

    • jacquesm 8 hours ago

      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.

      • keeda 5 hours ago

        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.

        • jacquesm 4 hours ago

          That's a good argument.

        • main_appointmen 2 hours ago

          You need humans to build the llm though... You cant just remove humans from the llm food chain and call it more efficient.

          Also the human brain runs on like 20watts. Lifetime of evolutionary pressure made it the most efficient computation device in the known universe but sure more of a resource hog than a datacenter the size of four football stadiums.

      • dwaltrip 4 hours ago

        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.

        • jacquesm 4 hours ago

          I am not your 'bro'.

          • dwaltrip 4 hours ago

            Apparently I don't know how to communicate with you properly, so I'll stop. Have a good one.

            • imtringued 3 hours ago

              The issue is that you made severe diplomatical errors.

              The "2+2=5" claim is actually more descriptive of your own comment than whatever jaquesm wrote. His comment is more like saying 2+2 is 22.

              Here is a response to jaquesm that will make him happy! The fact that I write it in reply to you is a cherry on top!

              Jacquesm, LLMs have one property that a brute force planner does not have. LLMs have a static memory of historical data. The LLM can classify the problem and then find an appropriate method to tackle a problem. It can also simply remember the solution to the problem. If it finds subproblems that it can solve directly, it will solve them directly via memorization.

              This means even if the LLM architecture itself is completely inefficient, the problem solving strategy is more efficient than mere brute force!

              However, when you're talking about "brute force", what you're talking about is how much "effort" is spent on solving the problem in terms of resources and so far, nobody is trying to use LLMs in a token efficient way. That's true and I don't think I am able to convince anyone that conserving tokens is important.

              • dwaltrip 2 hours ago

                Can you help me understand my diplomatic errors more? I don’t get what you mean about my comment.

  • themgt 13 hours ago

    Actually some humans find it helpful to think before typing.