How small did Andrej Karpathy think powerful AI models could become?

Andrej Karpathy thinks powerful models could become surprisingly small, possibly around a billion parameters or even less. He argues that current models waste capacity memorizing irrelevant data and that the real goal is a compact “cognitive core” that can think and use tools when needed. He says distillation shows a lot of capability can be compressed into much smaller systems.

“Billion suffices. We'll probably get to that point and the models can be very, very small. And I think the reason they can be very small is fundamentally, I think just like distillation works, it maybe like the only thing I would say distillation works like surprisingly well. Distillation is where you get a really big model or a huge amount of compute or something like that, um, supervising a very small model and, uh, you can actually, um, stuff a lot of capability into a very small level. Is there some sort of like, uh, mathematical representation of that or some information-theoretical like formulation of that? Because it almost feels like you should be able to calculate that now in terms of what's the... maybe maybe like one way to think about it is like you, we go back to like the internet dataset, which is what we're working with. The internet is like...”
— Andrej Karpathy, No Priors podcast interview, February 2024 · at 27:48
Andrej Karpathy: Andrej Karpathy on AI and Robotics: Models, Agents, and Education

Key takeaways

  • Focus on the core reasoning ability, not brute-force size
  • Use distillation to compress capabilities into smaller models
  • Expect tools and retrieval to replace memorization

Context

In the same podcast, the conversation had shifted from AI as an exocortex to model size, distillation, and what efficient future systems might look like. The quote above is taken word for word from the recording's transcript.

In the transcript

…Yeah, exactly, like, and I think this will go away and I think we just need to get to the cognitive core. And I think the cognitive core can be extremely small and it's just this thing that thinks. And if it needs to look up information, it knows how to use different tools. Is that like three billion parameters? Is that 20 billion params? I think even a billion...

Billion suffices. We'll probably get to that point and the models can be very, very small. And I think the reason they can be very small is fundamentally, I think just like distillation works, it maybe like the only thing I would say distillation works like surprisingly well. Distillation is where you get a really big model or a huge amount of compute or something like that, um, supervising a very small model and, uh, you can actually, um, stuff a lot of capability into a very small level. Is there some sort of like, uh, mathematical representation of that or some information-theoretical like formulation of that? Because it almost feels like you should be able to calculate that now in terms of what's the... maybe maybe like one way to think about it is like you, we go back to like the internet dataset, which is what we're working with. The internet is like...

0.001% cognition and like 99.99% of like information, just like, you know. And I think most of it is not, uh, useful to the thinking part, and it's like, yeah, I, I guess maybe another way to frame the question is like, is there a math, mathematical representation of cognitive capability relative to model size or how do you capture cognition in terms of, you know, here's the min or…

Read the full transcript of No Priors podcast interview, February 2024

Topics

More questions about Andrej Karpathy

All Andrej Karpathy answers · All Andrej Karpathy recordings

How this answer was made: the quote is checked word for word against the transcript of the recording and confirmed as the speaker's own words; the summary above it was drafted with AI from that transcript and quality-checked. Methodology and corrections.

Search every transcript
Open the full search page →