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)

2048 points by Kotlopou 3 days ago | scottaaronson.blog | 1890 comments on HN

View full thread · View on Hacker News

Comment thread (91)

  1. "Slightly faster than brute force" is really underselling it. Do you think that Claude Code is doing something like brute force when it writes a computer program for you?

    Of course this is not to understate the contribution of Lean. But I would say it was far more important to provide the verification mechanism for RLVR in training these skills into the models.

    Replies (9)
    1. > Do you think that Claude Code is doing something like brute force when it writes a computer program for you?

      Kind of, yeah... only the 'brute force' happens in the training stage. All neutral networks are basically just mathematical models of some problem space that have been built by brute force (supplemented by reinforcement techniques and whatnot).

      Replies (3)
      1. Writing programs suffers immediately from combinatorial explosion, and any reasonable program would take until the sun burns out to be found via brute force.

        So obviously there's more to it than that.

        Replies (1)
        1. Only if for you brute force means explore the entirety of the problem space. That's not what brute force means to me. To mean brute force is more akin to a Monte Carlo based solution of a probability problem where I can solve the closed for. In stats, I'd also categorize bootstrapping methods as brute force.
          Replies (1)
          1. That’s not what brute forcing means in CS, which is the domain of discussion
            Replies (1)
            1. pedant
      2. You're getting downvoted because the entire point of transformers and the rest that enabled all of this was a way way way more efficient way to train than brute force. If we were still limited to brute force, training is still theoretically possible, but practically impossible.
        Replies (1)
        1. Okay, but these models are still trained on every publicly available program that's ever been written. That's about as close as you can get to the line without technically crossing into brute force.
          Replies (2)
          1. That's a bit like saying "it's seen all human-made art, so it's seen all art!". Not even close! Humans have produced an infinitesimal fraction of what could be. Brute force is astronomically less efficiently than LLMs are.

            On the whole, LLMs are massively closer to how humans think than they are to brute force machines.

          2. As a technical term, that's not what bruteforce means, unfortunately. It refers to how an algorithm solves a problem, not the comprehensiveness of the input data.

            Colloquially, you are right.

            Replies (1)
            1. Even colloquially, this is conceding the original argument, which is that LLMs somehow are not "really" capable of doing math, because of <misconceived notion of how LLMs solve problems>. Like... ok, sure, they are trained in a way that humans cannot be trained. But now we have these digital intelligences which can be copied infinitely, run 24/7 on hardware much faster than our brains, and obvious demonstrated impact on our hardest problems. That's what Scott Aaronson is freaking out about.

              Continue this thread (1 replies) →

      3. Brute force is looping over every combination of input char / byte to see if a program compiles
    2. > Do you think that Claude Code is doing something like brute force when it writes a computer program for you?

      Yes, absolutely. Do you use Claude? How many times a day do you ask it a question, and it says, "Wait, let me not speculate, I'll ground this in a real experiment to check..." and then it goes off to /tmp/ and clones 10 copies of the repo, runs 10 (or 50, or 1000) different variations and comes back to report the results.

      It's absolutely wonderful to have that flexible orchestration layer, but it's not like it's a genius programmer that just gets things right on the first shot.

      Replies (3)
      1. That's not what brute force means, at least in CS theory. Brute force means you have to iterate through the entire solution space until you find a solution. Think gradient descent. Solving it the naive way is brute force, solving it with a heuristic approach is more optimal and thus not brute force.
        Replies (2)
        1. Gradient descent is also not brute force then. You use heuristics to adjust your jumps. We use the term brute force even when we use algorithms that can avoid parts of the solution space to be known infeasible.
          Replies (2)
          1. > Gradient descent is also not brute force then.

            Yeah, it isn't.

          2. > Gradient descent is also not brute force then. You use heuristics to adjust your jumps.

            That's what I was saying. The naive case is not gradient descent, it is brute force.

        2. >something like brute force

          It's more clever than pure brute force because it doesn't have to explore the entire problem space, but yes, a lot of Claude's effectiveness just comes from being faster and less lazy than I am, not from having more penetrating insights or clearer vision.

          If I could type 10,000 times as fast, never got bored, and had near-perfect recall of documentation, I would be a much more productive developer, even if I weren't any smarter than I am today.

          Edit: The downvoters have me rate-limited, but you are not really engaging in good faith if your reaction to the phrase "something like brute force" is "ASKHUALLY that's not technically brute force!"

          Replies (2)
          1. Ok, just call it what it is then. It's a maybe-equivalent-to-pretty-smart-human intelligence that vastly outcompetes real pretty-smart-humans because it runs on a computer, and not wetware. Which is pretty much how most people envision artificial intelligence and is the reason behind its superiority in uncountable scifi stories.
          2. Sure, colloquially, people sometimes use "brutefore" to mean something like "work hard and fast".

            But in the context of this conversation, bruteforce has a specific meaning, and LLMs are not doing that.

      2. > ... clones 10 copies of the repo, runs 10 (or 50, or 1000) different variations and comes back to report the results.

        I have never, once, seen Opus 5.5 do this. I have seen it make mistake,s or not fully implement/spec something, but I have never seen it try 100 different possibilities unless it genuinely gets stuck, whereupon I just tell it to use a debugger and it pretty much figures it out from there. (I wonder who will claim I'm AI since I used the word "genuinely"?)

        Replies (1)
        1. It does it when the task needs experimentation (no clear path forward) and i’ve seen it do it myself. I don’t agree with op that it’s brute force though. It’s just putting the scientific method to work.
          Replies (1)
          1. Yeah, I might not see it very often since the major project I use it on usually starts with me trying to find scientific research papers that I can build from instead of "create something from memory".
      3. Yes it does, people are not just good at explaining things and asking properly, thats a you problem that an llm has to do so many things
    3. The term "brute force," I think, keeps on getting brought up, and it is a bad enough term that people keep on talking past each other.

      If you look at something like a trajectory optimizer for planning multiple gravity assist tours of planets and moons, all you've got is a global trajectory optimizer (monotonic basin hopping and probably some kind of genetic algorithm/particle swarm stuff) wrapping a local gradient descent-style algorithm (although quasi-Newton with trust regions or backtracking line searches, etc.).

      I think you could probably wrap Lean with something that looked like that, without the LLM, and it would solve these kinds of problems without dumping an entire gigaton of carbon into the atmosphere, on a computational budget comfortably within 6 figures.

      When people throw the term "brute-force" around one way or another, I think they're intuitively trying to talk about concepts like that, without having any better words to try to discuss it, and then it always gets picked apart, without ever getting at what the person was actually trying to say.

      Replies (5)
      1. I think if you consider for just a minute you will see why you can't do gradient descent on the space of lean programs.
        Replies (2)
        1. Really tiresome to argue with people who don't understand an analogy.
          Replies (1)
          1. The fact of the matter is that nobody found the algorithm you're alluding to before they found LLMs that could do the work.
            Replies (1)
            1. That doesn't mean that algorithm is in principle inaccessible, and LLMs clearly prove the existence of at least one instance of a class of algorithm that can do the work.

              I'm arguing that there may be faster, cheaper algorithms than the first one we discovered.

              I don't find that argument that stupid, based literally on the history of algorithms.

              Continue this thread (1 replies) →

        2. The mistake is thinking that a planner needs to use gradient descent.

          My suggestion is to read up on the pre-AI winter AI research but it already sounds like a waste of effort to even bring it up.

      2. If your claim is "There exists an some algorithm much more efficient than an LLM for finding lean proofs", then sure - the space of all algorithms is huge, and there's probably some monster which looks like a scaled up busy beaver candidate and can produce the proofs with a fraction of the energy. Finding that monster would be the sticking point.

        If your claim is "there is an algorithm for finding lean proofs which is substantially more efficient/simpler than an LLM and is reasonably accessible to us" then you need a good explanation for why no-one has found it before - much of the work on proof assistants prior to LLMs involved looking for ways to automate as much of the process as possible and it could rearrange some equations, but not prove the Riemann Hypothesis by a very long stretch. Even before computer science existed, much of mathematics has been about discovering faster and more repeatable ways to solve problems and might have found a general method for proving theorems if one were easy to make.

        Replies (1)
        1. >If your claim is "there is an algorithm for finding lean proofs which is substantially more efficient/simpler than an LLM and is reasonably accessible to us" then you need a good explanation for why no-one has found it before - much of the work on proof assistants prior to LLMs involved looking for ways to automate as much of the process as possible and it could rearrange some equations, but not prove the Riemann Hypothesis by a very long stretch.

          Same reason we have had chatbots for decades but just recently created Opus 5.5.

          Has the scientific community spent the same amount of effort, time, and money on those proof assistants as we've spent on LLMs?

          One of my personal pet peeves is that people think LLMs are better than expert systems because LLMs can currently do what expert systems couldn't do decades ago. And I think the truth is that, had we spent on creating and training expert systems the same amount of resources we've spent on LLMs, expert systems would dominate the world in every field.

      3. > I think you could probably wrap Lean with something that looked like that, without the LLM, and it would solve these kinds of problems without dumping an entire gigaton of carbon into the atmosphere, on a computational budget comfortably within 6 figures.

        The space of possible Lean programs is like 10^100 (wild ass guess) larger than the space of possible gravity assist tours, is it not? And far more irregular, I would think.

        They seem qualitatively incomparable.

      4. formal verification ppl have been trying for over 50 years to develop such automated theorem provers. The best that we have are incredibly fragile and do not prove theorems anywhere near the complexity of even the simplest LLM proofs.
      5. > I think you could probably wrap Lean with something that looked like that, without the LLM, and it would solve these kinds of problems without dumping an entire gigaton of carbon into the atmosphere, on a computational budget comfortably within 6 figures.

        If you are right you could attract probably billions of dollars of investment.

    4. Given the amount of compute to generate even the simplest output, yes, it is a form of brute force. Just like Deep Blue was brute force. Smart, and guided, but under the hood a lot of computations were done that led absolutely nowhere, which I think is a hallmark of brute force. As opposed to an elegant solution that uses the minimum number of cycles required to produce the output.
      Replies (5)
      1. I'm conflicted.

        On the one hand, computers do have a lot of muscle to just keep going in an inhuman way. Brute force is a valid word, colloquially.

        On the other, they're not brute-forcing in the CompSci sense. On a scale of 1 to BB(300 or whatever it is that is outside ZFC), any program operating in this universe is strictly less than BB(6).

        Replies (2)
        1. I think brute force should be seen as a ratio rather than a specific technique. 1 = no cycles wasted, the exact number of cycles required to compute the solution. Lower than 1 shows that the previous entrant wasn't perfect :) > 1 is everything else and brute force is >> 1, at least several orders of magnitude. I suspect that anything generated through inference is at least two and possibly more decimal orders of magnitude away from 'perfect'.
          Replies (3)
          1. > I suspect that anything generated through inference is at least two and possibly more decimal orders of magnitude away from 'perfect'.

            The no free lunch theorems suggests that there is no general perfect solution in that sense.

          2. There’s a reason algorithm complexity analysis puts cycles in constant factors, most of the time anyway.
          3. what's with people re-defining well defined terms? brute force means checking all possible options to find the correct one. If you need a new term, put your gyri to use and come up with a new term.

            Sorry for being presumptuous, but this sounds like cope of the "LLMs are just brute force, my true intelligence is more efficient" variety.

            Replies (1)
            1. I mean, this is why I started with "I'm conflicted". They're both valid existing uses, just from different domains. And yes, our intelligence is more efficient in many useful senses (if we were already less efficient everywhere, it wouldn't just be maths and CS and artists currently going "aaaa").
        2. BB(6) is a single number so not sure how this relates to “brute forcing”? Do you mean in terms of number of operations to compute something? If so you could pick a much lower limit given we have fairly short time constraints.
          Replies (1)
          1. Three numbers, two forming a linear scale, the third (BB(6)) being an intermediate that's both too big for the universe and closer to 1 than to BB(300) in a manner that is literally impossible to describe because they grow too fast.
      2. Are we under the impression that humans do not operate this way?

        While attempting to solve a difficult problem, how many incorrect approaches do we go through before we (maybe) eventually stumble upon the correct one?

        Replies (1)
        1. Usually, yes. We can if we want to but we usually give up and start thinking rather than trying all possibilities. Think lockpicking: you could try a million keys but it is much faster to learn how to pick a lock.
          Replies (2)
          1. I mean, what is the act of thinking other than imagining different possible solutions and discarding them one after the other until we hopefully come upon something that works?

            I don't think a notion of preternaturally honing in on the optimal solution without wasting any time thinking through incorrect solutions or dead ends is a realistic portrayal of the way humans work on solving hard problems.

            Even in the lockpicking example, after the average person has "learned" how to pick a lock. In the act of picking a lock many, if not the majority of your movements, are wasted and do not actually unlock the lock. If you could calculate the exact optimal set of movements to unlock the lock you'd eliminate a large portion of those which the average lockpicker performs.

            Even the expert lockpicker only would master those exact perfect movements on a single given lock by practicing over and over and failing many times to perform them optimally along the way.

          2. and when you think, you come across a lot of thoughts that... lead nowhere (for example, failed proof approaches). I don't see how the way humans tackle this is not 'brute force' in some sense, by your definition.
      3. You are using the word in a colloquial fashion. It would be good to make that clear. In the sense of the technical compsci term, it's 100% not the case.
        Replies (1)
        1. I live in the real world, not in a computer scientists idealist world and we're having a discussion here, not writing a compsci paper. Brute force is named for exactly what it is: the opposite of cleverness, solving something by applying a lot of force.
          Replies (1)
          1. 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.
            Replies (1)
            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.

              Continue this thread (3 replies) →

      4. Brute force is an optimization strategy. LLMs are an optimization strategy. Elegant solution is a solution, not a strategy. You use optimizers to find solutions, and with a lot more work you can even find elegant solutions.
      5. This kinds of misconception begins with chatgpt moment and refuse to die. The conception that llm is just scaling a mundane solution. In truth these kinds of things used to take entire universe worth of compute, if you use the solution of just 1 generation back. Precisely because llm is so efficient is why we scale it so large.
    5. A lot of the openai proofs did not have a lean proof. People are imagining that lean makes it easier for LLMs to "brute force", but I think it is mostly cope from people that are uncomfortable with how good the LLMs are at putting together logically consistent natural language.

      also you can read some of the reasoning traces here: https://github.com/openai/math/tree/main/reasoning_traces

      Replies (1)
      1. And even if Lean is the magic that makes LLMs so good at math, so what? No human will ever be as good at writing Lean as LLMs are. So even though with a Lean proof I can get feedback just as quickly as an LLM can, I cannot write the proof as fast, nor translate between the informal ideas in my head and a formal lean proof so quickly.

        There's a reason that most math hasn't been formally verified, decades after it's been "feasible" in the sense that the technology exists and is wide spread. Formal verification is just too counter-intuitive for humans to manage quickly.

        Frankly any dismissal of LLMs' math ability is cope at this point. It proved the Riemann Hypothesis, anyone who trivializes that or thinks that could be brute forcing either doesn't know what they're talking about or is lying to themselves.

    6. This discussion shows that the term "brute force" means a lot of different things to different people...
      Replies (2)
      1. Not just different, but exponentially different. Naive brute force to find a proof would take time exponential in the length of the proof (so like 64^70000 steps maybe in the case of the riemann hypothesis), while some of these other definitions somehow could rely on clever heuristics to solve these problems within a few years.
      2. This discussion, to me, shows that the term "brute force" needs to just stop being used inappropriately, since all it ends up causing is... Well, this.
    7. No, Claude Code is doing tidy symbolic processing with tree structures, requiring a few megabytes of RAM. :)
    8. >Do you think that Claude Code is doing something like brute force when it writes a computer program for you?

      It is 100% brute forcing. It's a more intelligent brute force than trying literally every combination, but that's exactly how it works. Generate millions of permutations, then walk backwards through them to see which matches the pattern most correctly.

      In the case of programming there are other logical domain specific checks as well and testing that can all be incorporated.

      That's how all of the generative AI works, generate millions of options based on the preceding pattern then test which option is the best fit, add it to the pattern and on to the next step.

      Replies (3)
      1. When Claude Code generates a computer program it is absolutely not generating millions of permutations of the program.

        Perhaps with Riemann or similar that could apply, but I would hardly call it brute-force in the traditional sense of the term.

        Replies (1)
        1. It's generating millions of permutations of the next token. Not the entire program, how many complete responses it generates depends on the internal workings of the full program not just the model. But as I stated elsewhere the core of the LLM specifically is a heavily capped, parallelized brute-force search across discrete token spaces, sequence branches, and reasoning paths that relies on exhaustive evaluation within strict mathematical caps.

          Now I am open to hear how you interpret it differently, but the I don't think it's possible to abstract it away from a guess and test approach at the most basic level.

          Replies (1)
          1. I think you may be making a similar faulty argument to this one here: https://news.ycombinator.com/item?id=50650085

            I'm also confused what you think human software engineers do when they write programs. Don't you also test what you write and iterate on any errors?

      2. It kind of sounds like you're confusing autoregression vs diffusion AI models
        Replies (1)
        1. Aren't they the same basic concept, except that diffusion, diffuses it over the entire context making even more guesses and longer pattern matches until eventually arriving at an approximation of a best fit? Is it not still billions of guesses and tests?
          Replies (1)
          1. Autoregression won't change a token once it's landed in context, which is kind of required for "guess and check" like how it sounded like you were describing. Diffusion can do that.
            Replies (1)
            1. Doesn't diffusion follow the same pattern just from multiple points, in multiple directions, simultaneously, and then discarding the ill-fitting outputs?

              Is there some factor where it's not making a huge amount of random, but tightly constrained guesses, where each level of constraint is produced the same way from up streaming guessing and refining where the original categorization of the constraints is from the training data?

              Continue this thread (1 replies) →

      3. It's not doing that.
    9. Verification is a binary yes/no right? The AI being able to make progress in some directions and reach the end goal, without any direct feedback on intermediate progress or how close it is to the solution (unlike say gradient descent and a loss function), is the key thing here.