Ask HN: Are LLMs just expensive search and scripting tools? Is it that simple?
6 points| edwin2 | 2 months ago
Take code. In a sense, StackOverflow is about finding a code snippet for an already solved problem. Auto complete does the same kind of search in a sense.
Take generative text. In a sense that’s the equivalent of making a query and then aggregating the many results into one phrase. You could imagine the bot searching 1,000 websites and then taking the average of the answers to the query and then outputting the result.
Does every LLM use case fit the following pattern?…
query —-> LLM does its work —-> result —> script of result (optional)
Sevii|2 months ago
LLMs do not work that way. LLMs do not have a conception of facts. Any query you make to an LLM has an output. The quality of that output depends on the training data. For high probability output you might think the LLM is returning the correct 'facts'. For low probability output you might think the LLM is hallucinating.
LLMs are not search. They are a fundamentally different thing from search. Most code is 100% deterministic. The program is executed exactly in order. LLMs are not 100% deterministic.
andrei_says_|2 months ago
To an LLM it’s all the same as there’s no relationship to reality, just to likelihood to reality.
It’s the difference between “this is something that Peter might say” and “this is something that Peter said”. To LLMs there’s no distinction.
adocomplete|2 months ago
apothegm|2 months ago
LLM-based chatbots can be used as mediocre, hallucination-prone search engines if you so choose. They’re especially bad if the answer you’re looking for is not an average of “collective wisdom” or opinion but a very specific fact that needs to be distinguished from other similar or related but ultimately very different facts. And even worse if the fact you’re looking for is not among the more frequently discussed ones in that cluster of similar or related facts.
minimaxir|2 months ago
That's not how it works. They're different approaches to how they handle the same inputs.
edwin2|2 months ago
i wouldn’t conclude “therefore they’re the same”. they’re clearly not the same
if it’s a different approach to search and scripting, does that not mean it is a kind of search and scripting?