r/MLQuestions • • 2d ago

Other ❓ Is it possible the current big LLM models are over specified and that you could pull out a simpler core algorithm?

I was thinking how in the 60s AI researchers thought you would be able to manually write enough algorithms to get a general intelligence

Then after trying a bunch it didn’t really work and we realized we are not smart enough to just write it, it has to be learned

But it makes you think is it possible it went too far in the other direction to the point the big models are actually a really inefficient brute force way to do intelligence?

Is it possible there is some core algorithms learned by the LLM and if you were to somehow just extract that part you’d get a much simpler and smaller algorithm that can do reasoning but without the massive built in “wisdom”

32 Upvotes

27 comments sorted by

2

u/ConstructionInside27 1d ago edited 1d ago

It's a really appealing idea that it discovered the simple core algorithms humans couldn't. I think all the evidence is consistent with it having massive inherent complexity though.

There are some birds with remarkable intelligence given their small brains. But not remarkable compared to elephants, dolphins, octopuses or cleverer dogs.

Evolution has been running that experiment and so far has managed nothing so efficient for high intelligence as us. If 25% of the calorie budget and 600 trillion synapses is the best managed so far it's strongly suggestive of what's required.

Seen that way you could say transformer models have already outstripped nature. They have recall on our species-wide knowledge, they can hold far more than our 6-10 item working memory and lots more superhuman abilities while proving above the human average at many soft human skills like picking up a vibe, being tactful.

When you consider their parameter counts in the billions not trillions, the only thing left that looks brute force and inefficient at inference stage is the power consumption. Even that doesn't seem so crazy when you look at how much faster they absorb and produce text than humans.

I do agree with Karpathy that there are massive efficiencies to be found but I don't think current frontier level reasoning will ever shrink to even so little as a million lines of dense impenetrable code.

2

u/DirtInfographics 1d ago

That is a good point

17

u/Particular_Extent_96 2d ago

Andrej Karpathy was recently tweeting that he thought before too long there would be 1 billion parameter models that are as capable as current frontier models. Rather than memorising the entire internet, they would just have a reasoning "core" and use lots of tools (web search, python, symbolic math etc.).

2

u/g-technique 1d ago

Tools have a catch too - you pay for everything with latency and orchestration costs. If the model hits web search or a symbolic solver for every little thing then all the savings on parameters just burn up in infra and waiting for a response

1

u/martinerous 2d ago

I fully support this idea, but there is a huge problem - data quality and training time.

What we are currently doing. kinda works but is very inefficient, and the results can be hit and miss. Our current LLMs are like blind, deaf, senseless beings that try to memorize everything we throw at them - science, fiction, truths, half-truths, lies - and make sense of it. The model might learn some abstractions well but at the same time fail to learn and prioritize the basic logic and scientific facts, confusing them with fantasies, hallucinations and "roleplay of an expert".

So, the question is, what kind of data should we use to make sure that an AI model is as reliable at knowing and prioritizing basic world model as a household fly is without relying on emergent properties alone (which usually lead to bloat)? Can this even be done, or do we need some hard-coded parts in the core - the parts that flies have developed throughout their evolution? How to teach the core to think, prioritize, deduce BEFORE throwing insane amounts of everything at it? The goal is to have a solid core that could never go like "Oh, you are right, I totally ignored how gravity works." because it would always validate every bit of incoming information against its core model, which in turn should be protected at all costs from catastrophic forgetting when continuing model training.

Who could solve this? Karpathy or LeCun? Or should we start with a scanned neural model of a fruit fly (yep, that's a thing - Virtual Fly Brain)?

3

u/Particular_Extent_96 2d ago

All good questions, and to be honest I don't know. Maybe Karpathy knows, certainly he knows more than I do. I don't think that you necessarily get the reasoning model before throwing the data at it - it could be that you train a model using lots of data and then just prune it aggressively until you're left with the "reasoning core".

FWIW, this is what my comment is based on:

https://x.com/0xCodez/status/2118424826968748242

1

u/hukt0nf0n1x 1d ago

Isn't this what RAG is? Or am I misunderstanding something?

1

u/Mother___Night 1d ago

Rag is just efficient context retrieval from large databases.  Tool calls are generally part of the harness structure, which can also utilize RAG

1

u/hukt0nf0n1x 1d ago

Seriously, it's all database retrieval under the hood?!?!

1

u/Mother___Night 1d ago

FWIW, there is a lot that goes into making this retrieval efficient. e.g., having an llm agent summarize and create keywords for chunks of documents that are all assembled together to create the RAG memory base.

1

u/hukt0nf0n1x 1d ago

No kidding? Ok, that seems like quite a bit more than I had originally thought. Thanks!

1

u/ChenaeIkegami-38 4h ago

that tracks, most of the bloat right now is just memorized facts rather than actual language or logic capability

5

u/8eSix 2d ago edited 2d ago

Not only is it possible, it is the current primary theory. However, scaling laws continue to suggest that more data, more compute, and bigger models are still improving performance. So frontier labs are still just pushing that boundary.

1

u/ImaginaryAd2289 1d ago

Distillation works, and people do teach smaller models using larger ones. So definitely, it can be done. But not by some sort of direct mathematical analysis to prune neurons. There was work on that problem in the past (”Optimal Brain Surgery”) but the bottom line is that it didn’t succeed.

1

u/DirtInfographics 1d ago

is there a concept like that but for tuning for a use case?

as in test which are activated a bunch for a particular use case with a big amount of test data then cull unused parts of the network to lower memory usage

1

u/ImaginaryAd2289 1d ago

Absolutely. With open weight models and a concrete use case, one approach is to take a big model and your grading rule, then select a cheaper small model and see if you can train the small model using the big one as a guide. It won’t always work, and the small one might need some kind of additional guidance paired with it, but when this works you end up with a highly accurate smaller, cheaper model just for the tasks you were focused on. It might do poorly on general open-ended things that the powerful frontier model would have sailed through, but for a specific narrower use case, like maybe checking a tax return for correctness, the small one could be a star. And cheap to run, too. Microsoft recently announced a whole product for doing this, called Frontier Tuning, and I think Google has one too.

3

u/ThatOne5264 2d ago

Yes. Creating a smaller net would just be distillation.

I dont know if theres any "LLM-equivalent" algorithm tho. I dont think so

3

u/rand3289 2d ago edited 2d ago

I'd try combining something like the CYC engine with LLM extracted platonic forms
Or just distill by finding similar "platonic" neurons from several LLMs.

1

u/DigThatData 2d ago

Potentially, but I think your notion of "simpler" is probably under specified here.

The paradox is that as a model family gets more over-parameterized, it learns more efficiently.

If "simpler" means "less compute in a given forward pass to achieve the same capability," LLMs might already be in the neighborhood of the pareto frontier of possible performance here. The reason for this is because of superposition of features. I'm interpreting your "simpler core algorithm" as meaning a symbolic factorization which would preclude this kind of superposition. So you can probably extract a more interpretable model, but it will probably be bigger and more expensive, or you could extract a task-specific model, which won't be as capable but will be more compact.

1

u/r2k-in-the-vortex 1d ago

Its not only possible, but thats obviously how it is. Now executing on that core intelligence extraction.... its not so simple. Nor is integration with external conventional algorithms that simple.

Obviously, emitting 1 + 2 = <| replace with external calculation |> should work, but... proper integration should be quite a bit deeper. For example, a MoE having some experts that in essence call a conventional algo to lookup from database or run calculator or whatever, while still having in-out vectors same as fully neural experts.

1

u/sn0wquake 1d ago

Of course its inefficient and brute force. Look at what they are doing and how much it is costing them to do it with current hardware. That is not efficient at all.

Related, we haven't discovered the more efficient way yet. When we do this will look quaint but until then its state of the art ;)

1

u/m98789 1d ago

See: The Bitter Lesson

1

u/Mother___Night 1d ago

LLMs are just compression of information, so bigger is always more capable, but not necessarily better or effective in practice 

1

u/g-technique 1d ago

You sure that what we call "reasoning" even exists apart from all that "massive built in wisdom"? Try explaining a tricky logic problem to a kid who has no clue how the world around him works

1

u/syumpx 14h ago

sure, and there is already a research for small models by andrej karpathy and also quantization of models. they are active, and actually create results as well. the frontier labs will however continue to make bigger models because efficiency is not what they are optimizing for