Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
fc417fc802
· 1w ago · 0 comments
Isn't what LLMs do also NP-hard (at minimum)?
Comments
[–]
brian-armstrong
1w ago
No. What LLMs do is stochastic inference of pre-computed matrices. It is decidedly polynomial.
[–]
arnaudsm
1w ago
You're mixing the means and the end. The human brain interactions are polynomial yet we can solve many NP-hard problems.
[–]
brian-armstrong
1w ago
You're anthropomorphizing LLMs. They do not "try" to do anything. They are simply a roulette wheel that generates natural language tokens, which you have confused for intelligence. A common mistake.
[–]
arnaudsm
1w ago
That was just a counterexample, of course humans and LLMs are entirely different.
[–]
panstromek
1w ago
This is what they do in practice, but the point of that is to approximate NP hard problem.
[–]
viccis
1w ago
>approximate NP hard problem
Ok, so decidedly not NP hard.
[–]
fc417fc802
OP
1w ago
And neither is extracting structure from code in order to remove redundancies. In practice at least.