Remix.run Logo
▲ combobyte 2 hours ago

> 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 2 hours 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 an hour 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.

▲jubilanti 2 hours ago | parent | prev | next [-]

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

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

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.

▲erulabs 38 minutes ago | parent | prev [-]

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.

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

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