Remix.run Logo
▲ reasonableklout an hour ago

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

▲jacquesm 3 minutes ago | parent | next [-]

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.

▲dualvariable an hour ago | parent | prev | next [-]

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.

▲tmvphil 36 minutes ago | parent [-]

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.

▲dualvariable 3 minutes ago | parent [-]

Really tiresome to argue with people who don't understand an analogy.

▲combobyte an hour ago | parent | prev | next [-]

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

▲james_marks an hour ago | parent | next [-]

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.

▲jgalt212 36 minutes ago | parent [-]

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.

▲whattheheckheck 42 minutes ago | parent | prev | next [-]

Brute force is looping over every combination of input char / byte to see if a program compiles

▲jubilanti an hour ago | parent | prev [-]

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.

▲combobyte 37 minutes ago | parent [-]

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.

▲ForHackernews an hour ago | parent | prev | next [-]

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

▲jubilanti an hour ago | parent [-]

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.

▲xboxnolifes 13 minutes ago | parent | next [-]

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.

▲ForHackernews 5 minutes ago | parent | prev [-]

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

▲ an hour ago | parent | prev [-]
[deleted]