Andrej Karpathy on AI and Robotics: Models, Agents, and Education

No Priors podcast interview, February 2024
Video thumbnail: Andrej Karpathy on AI and Robotics: Models, Agents, and Education
44 minInterview244K views across 1 upload10,708-word transcriptWatch on YouTube ↗

What Karpathy talks about

Andrej Karpathy appeared on the No Priors podcast in February 2024 to discuss AI models, agents, robotics, coding tools, and education.

Also known as: No Priors episode 80; No Priors interview; No Priors Ep. 80 with Andrej Karpathy.

Andrej Karpathy argues that self-driving and robotics offer a preview of how AGI will arrive: through demos that gradually become products, then scale through software, data, and deployment. He emphasizes that Tesla’s strength is software, that humanoids will transfer heavily from car AI, and that robots will likely start in factories and warehouses before reaching consumers.

He also explains why transformers remain the core architecture behind modern AI, and why the main bottlenecks have shifted from model design to data, loss functions, and synthetic-data pipelines. Karpathy says the future lies in compact, tool-using models, richer reasoning traces, and careful preservation of dataset diversity.

The conversation closes on education and augmentation: he sees AI as an exocortex, expects people to rely more on AI tools, and believes math, physics, and CS are the best foundation for young people. In his view, learning remains effortful but becomes even more important in a fast-changing, post-AGI world.

An interviewer from No Priors speaks with Karpathy throughout, with occasional follow-up questions.

In his words

“Tesla has a software problem, and I think Waymo has a hardware problem”
at 2:13
“Tesla is kind of eating through the stack.”
at 5:10
“The correct answer is mostly like, um, I would say like math, physics, CS”
at 42:25

Key points

  • Self-driving is a useful analogy for AGI: productizing a demo can take years, and global deployment lags capability.
  • Karpathy says Tesla is ahead on software, while Waymo’s advantage is more hardware-centric.
  • He describes Tesla’s autonomy stack as “eating through the stack” with end-to-end neural nets replacing C++ heuristics.
  • He argues that robotics and humanoids transfer heavily from car AI, especially in data, tooling, and deployment culture.
  • He thinks humanoid robots should begin with self-use, then B2B factory and warehouse tasks, before consumer use.
  • He says transformers remain the key unlock, and current progress is mostly about datasets, loss functions, and synthetic data.
  • He believes small, distilled models can be surprisingly capable if they have tools and the right cognitive core.

Full transcript: Andrej Karpathy, No Priors Ep. 80 (2024)

(applause) Hi listeners, welcome back to No Priors. Today, we're hanging out with Andrej Karpathy, who needs no introduction. Andrej is a renowned researcher, beloved AI educator, and cuber; an early team member from OpenAI, the lead for Autopilot at Tesla, and now working on AI for education. We'll talk to him about the state of research, his new company, and what we can expect from AI. Thanks for joining us today. It's great to have you here. Thank you. I'm happy to be here. You led Autopilot at Tesla, and now we actually have fully self-driving cars, passenger vehicles on the road. How do you read that in terms of where we are in the capability set? How quickly should we see increased capability or

pervasive passenger vehicles? Uh, yes, so I spent maybe five years in the self-driving space. I think it's a fascinating space, and basically, what's happening in the field right now is, well, I do also think that I draw a lot of analogies, I would say, to AGI from self-driving. Maybe that's just because I'm familiar with it, but I kind of feel like we've reached AGI a little bit in self-driving, because there are systems today that you can basically take around and as a paying customer can take around here. So Waymo in San Francisco here is, of course, very common. Probably you've taken Waymo. I've taken it a bunch, and it's amazing and it can drive you all over the place, and you're paying for it as a product. What's interesting with Waymo is the first time I took Waymo was actually a decade ago, almost exactly 2014 or so, and it was a friend of mine who worked there, and he gave me a demo and it drove me around the block 10 years ago and it was

basically perfect drive 10 years ago, and it took 10 years to go from a demo that I had to a product I can pay for that's at a city scale and is expanding, etc. How much of that do you think was regulatory versus technology? Like, when do you think the technology was ready? I think technology—you’re just not seeing it in a single demo drive of 30 minutes—you’re not running into all the stuff that they had to deal with for a decade. So demo and product, there's a massive gap there, and I think a lot of it also regulatory, etc. But I do think that we've sort of achieved AI in a self-driving space in that sense a little bit. And yet, I think what's really fascinating about it is the globalization hasn't happened at all, so you have a demo and you can take it in a set city, but the world hasn't changed yet. And that’s going to take a long time. So going from a demo to an actual globalization of it, I think there’s a

big gap there. That's how it’s related, I would say, to AGI, because I suspect it will look in a similar way for AGI when we sort of get it. And then staying for a minute in the self-driving space, I think people think that Waymo is ahead of Tesla. I think personally Tesla is ahead of Waymo, and I know it doesn't look like that, but I'm still very bullish on Tesla and its self-driving program. I think that Tesla has a software problem, and I think Waymo has a hardware problem, is the way I put it. And I think software problems are much easier. Tesla has deployment of all these cars on Earth, like at scale, and I think Waymo needs to get there. So the moment Tesla sort of gets to the point where they can actually deploy this and it actually works, I think it's going to be, you know, really incredible. The latest builds I just drove yesterday—I mean, it's just driving me all over the place now. They've made really good improvements,

I would say, very recently. Yeah, I've been using it a lot recently, and it actually works quite well. It did some miraculous driving for me yesterday, so I'm very impressed with what the team is doing. And so I still think that Tesla mostly has a software problem, Waymo mostly has a hardware problem, and so I think Tesla, Waymo looks like it's winning kind of right now, but I think when we look in 10 years and who’s actually at scale and where most of the revenue is coming from, I still think they’re ahead in that sense. How far away do you think we are from the software problem turning the corner in terms of getting to some equivalency? Because obviously, to your point, if you look at a Waymo car, it has a lot of very expensive LiDAR and other sort of sensors built into the car so it can do what it does; it sort of helps support the software system. And so if you can just use cameras, which is the Tesla approach, then you effectively get rid of enormous cost, complexity, and you

can do it in many different types of cars. When do you think that transition happens? I mean, in the next few years, I’m hoping something like that. But actually, what's really interesting about that is I'm not sure that people are appreciating that Tesla actually does use a lot of expensive sensors; they just do it at training time. So there are a bunch of cars that drive around with LiDARs, they do a bunch of stuff that doesn’t scale, and they have extra sensors, etc., and they do mapping and all the stuff—you’re doing it at training time—and then you’re distilling that into a test-time package that’s deployed to the cars and is vision only. It’s like an arbitrage on sensors and expense. Yeah. And so I think it's actually kind of a brilliant strategy that I don’t think is fully appreciated, and I think it’s going to work out well because the pixels have the information. And I think the network will be capable of doing that. Yes, at training time, I think these sensors are really useful, but I don’t think they’re as useful at test time.

I think you, you don't. It seems like the one other thing or transition that's happened is basically a move from a lot of, um, sort of, uh, edge case designed heuristics associated with it versus end-to-end deep learning. And that's what other shift that's happened recently. Do you want to talk a little bit about that and sort of what that—yeah, I think that was always like the plan from the start. I would say at Tesla, as I was talking about how the neural net can like eat through the stack, because when I joined, there was a ton of C++ code, and now there's much, much less C++ code, uh, in the test time package that runs in the car because, uh, there's still a ton of stuff in the backend, uh, that we're not talking about. The neural net kind of like takes, takes through the system. So first it just does like a detection on the image level, then it does multiple images, gives you prediction, then multiple times over time give you a prediction, and you're

discarding C++ code, and eventually you're just giving steering commands. And so I think Tesla is kind of eating through the stack. My understanding is that current Waymos are actually, like, not that, but that they've tried, but they ended up like not doing that is my current understanding. But I'm not sure because they don't talk about it. But I do fundamentally believe in this approach, um, and I think, um, that's the last piece to fall if you want to think about it that way. And I do suspect that the end-to-end systems for Tesla in, like, say 10 years, it is just a neural net. I mean, the video streams into a neural net and commands come out. You have to sort of build, to build, build up to it incrementally and, uh, do it piece by piece. And even all the intermediate predictions and all the things that we've done, I don't think they've actually misled the development. I think they're part of it, uh, because, um, there's a lot of solid reasons for this. So, so actually, like, in end driving when

you're just imitating humans and so on, you have very few bits of supervision to train a massive neural net, and it's too, too few bits of signal to train so many billions of parameters. And so these intermediate representations and so on help you develop the features and the detectors for everything, and then it makes a much easier problem for the, um, end-to-end part of it. And so I suspect, although I don't know because I'm not part of the team, but there's a ton of pre-training happening so that you can do the fine tuning for end-to-end. And so basically, I feel like it was necessary to eat through it incrementally, and that's what Tesla has done. I think is the right approach, and it looks like it's working. So I'm really looking forward. If you had started end, you wouldn't have had the data anyway. That makes sense. Yeah, so, uh, you worked on the, um, Tesla humanoid robot before you left, uh, I have so many questions. But one is

like starting here, what transfers? Basically everything transfers, and I don't think people appreciate it. Okay, um, that's a big claim. Like, cars are basically robots when you actually, uh, look at it. Um, cars are robots. And Tesla, I don't think it's a car company. I think this is misleading. This is a robotics company, robotics at scale company. Because I would say at scale is also like a whole separate variable. They're not building a single thing; they're building the machine that builds the thing, which is a whole separate thing, um, and so I think robotics at scale, um, company, uh, is what Tesla is. And I think, uh, in terms of the transfer from cars to humanoids, it was not, not that much work at all, and in fact, like the early versions of Optimus, um, the, the robot, uh, it thought it was a car, like, because it had the exact same computer, it had the exact same cameras. It was really funny

because we were running the car networks on the robot, but it's walking around the office and so on, and like it's trying to like recognize drivable space, but it's all just walking space now, I suppose. But it actually kind of like generalized a little bit, and there's some fine tuning necessary and so on, but it thought it was driving, but it's actually like moving through an environment. Is a reasonable way to think of this as like actually it's a robot; many things transfer, but you're just missing, for example, actuation and action data. Yeah, you definitely miss some components. But, and the other part I would say is like, like so much transfers. Like the speed with which Optimus was started, I think to me was very impressive because the moment Elon said we're doing this, uh, just people just showed up with all the right tools and all the stuff just showed up so quickly. And all these CAD models and all the supply chain stuff and I just felt like, wow, there's so much

in-house expertise for building robotics at Tesla and like it's all the same tools and they're just like, okay, they're being reconfigured from a car, like a Transformer the movie, they're just being reconfigured and reshuffled, but it's like the same thing. And you need all the same components, you need to think about all the same kinds of stuff both on the hardware side, on the scale stuff, and also on the brains. And so for the brains, there was also a ton of transfer, not just of the specific networks, but also all of the approach and labeling team and how it all coordinates and the approaches people are taking. I just think there's a ton of transfer. What do you think of the first application areas for humanoid robotics or human form stuff? I think a lot of people have this vision of it like doing your laundry, etc. I think that will come late. I don't think B2C should be the right start point because I don't think we can have a robot like Crush grandma is how I it

Sort of, I think it's like too much legal liability. It's just like, I don't think that's the right hug. I mean, it's just going to fall over or something like that, you know? Like, these things are not perfect yet and they require some amount of work. So, I think the best customer is yourself first, and I think probably Tesla's going to do this. I'm very bullish on Tesla. If people can tell, the first customer is yourself and you incubate it in the factory and so on, doing maybe a lot of material handling, etc. This way, you don't have to create contracts working with third parties. It's all really heavy; there's lawyers involved, like, etc. You incubate it, then you go, I think B2B second, and you go to other companies that have massive warehouses. We can do material handling, we're going to do all the stuff, contracts get drafted up, fences get put around, all this kind of stuff, and then once you incubate in companies, I think that's when you start to go into the B2C.

Applications, I do think we'll see B2C robots also. Like Unitree and so on are starting to come up with robots that I really want. I got one. You did? Yeah, okay. Yeah, the G1. Yeah, so I will probably buy one of those, and there's probably going to be an ecosystem of people building on those platforms too. But I think in terms of like what wins at scale, I would expect that kind of an approach. But in the beginning, it's a lot of material handling, and then going towards more and more HRC things that are more specific. One that I'm really excited about is the N Freedman challenge of the leaf blower. Yeah, uh, like I would love for an optimist to walk down the street, like tiptoe down the street, and like pick up individual leaves so that we don't need like leaf blowers. And I think this will work, and it's an amazing task, and so I would hope that that's one of the first.

Applications. Even raking, that should work too, just very quietly. Yeah, just quiet raking. That's cute. They, uh, I mean they do actually have like a machine that's working. It's just not a humanoid. Can we talk about the humanoid thesis for a second? Because the simplest version of this is like the world is built for humans, and you build one set of hardware. The right thing to do is build a model that can do an increasing set of tasks in this set of hardware. I think there's a like another camp that believes like, well, like humans are not optimal for any given task, right? You can make them stronger or bigger or smaller or whatever, and why shouldn't we do superhuman things? Like, how do you think about this?

I think people are maybe underappreciating the complexity of any fixed cost that goes into any single platform. Uh, I think there's a large cost you're paying for any single platform, and so I think it makes a lot of sense to centralize that and have a single platform that can do all the things. I would say the humanoid aspect is also very appealing because people can teleoperate it very easily, and so it's a data collection thing that is extremely helpful, uh, because people will be able to obviously very easily teleoperate it. I think that's usually overlooked. There's, of course, the aspect you mentioned, which is like the world is designed for humans, etc. So I think that's also important. I mean, I think we'll have some variations on the humanoid platform, but I think there is a large fixed cost to any platform. And then I would say also one last dimension of it is you benefit a ton from like the transfer learning between the different tasks, and in AI, you really want the single neuron that is multitasking, doing lots of things. That's where you're getting all the intelligence and capability from, and that's also why language models are so interesting, is because you

Have a single regime, like a text domain multitasking all these different problems, and they're all sharing knowledge between each other, and it's all coupled in a single neural net. And I think you want that kind of a platform, and, uh, you know, you want all the data you collect for leaf picking to benefit all the other tasks. Um, if you're building a special-purpose thing for any one thing, you're not going to benefit from a lot of the transferring between all the other tasks, if that makes sense. Yeah, I think there's one, um, argument of like, uh, it seems, I mean, the G1 is like 30 grand, right? But it seems hard to build a very capable humanoid robot under a certain bomb. And like if you wanted to, you know, put an arm on wheels, I can do things like it's a, like, maybe there are cheaper approaches to a general platform at the beginning. Does that make sense to you? Uh, cheaper

Approaches to a general platform from a hardware perspective? Uh, yeah, I think that makes sense. Yeah, you put a wheel on it instead of feet, etc. I do feel like I wonder if it's taking you down like a local minimum a little bit. I just feel like pick a platform, make it perfect is like the long-term, uh, pretty good bet, and then the other thing, of course, is like I just think it will be kind of like familiar to people, and I think people will understand that maybe you want to talk to it. And I feel like the psychological aspect also of it, I think favors possibly the human platform, unless people are like scared of it and would actually prefer a platform that is more abstract of like some, but then I don't know if, if just monster doing stuff, then I don't know if that's like more kind. Like, it's interesting that I think that the other, um, form factor for the Unitree is a dog, right? And it's almost a more friendlier.

Familiar, yeah. But then people watch Black Mirror, and suddenly the dog flips to, like, a scary thing. So it's hard to think through. Uh, I just think psychologically it will be easy for people to understand what's happening. And what do you think is missing in terms of, um, technological milestones for progress relative to substantiating this future? Uh, for robotics, robotics, yeah, or the humanoid robot or anything else human form? Yeah, I don't know that I have, like, a really good window into it. I do think that it is kind of interesting that, like, in the human form factor, for example, for the lower body, uh, I don't know that you want to do imitation learning from, like, demonstration, because for lower body, it's all a lot of, like, inverted pendulum control and stuff like that. It's for the upper body that you need a lot of, like, teleoperation and, uh, data collection and end-to-end and etc. And so I think, like, everything

becomes, like, very hybrid in that sense. And I don't know how those systems interact. When I, when I talk to people working, a lot of what they focus on is, like, actuation and, you know, manipulation and sort of digital manipulation and things like that. Yeah, I do expect in the beginning it's a lot of, like, teleoperation for, uh, getting stuff off the ground and imitating it and getting something that works 95% of the time. And then talking about human-to-robot ratios and gradually having people who are supervisors of robots instead of doing the task directly, and all this kind of stuff is going to happen over time and pretty gradually. I don't know that there's, like, any individual impediments that I'm, like, really familiar with. I just think it's a lot of grunt work, a lot of, like, the tools are available. Transformers are this beautiful, like, blob of tissue—you can just get just arbitrary tasks—and you just need the data, you need to put it in the right form, you need to train it, you need to experiment with it, you need to deploy it, iterate on it. That's just a lot of grunt work. I don't know that I have a single

individual thing that is, like, holding us back technically. Where are we in the state of large blob research? Large blob research, yeah. We're in a really good state, uh, so I think, um, I'm not sure if it's fully appreciated, but like the transformer is like much more amazing. It's not just like an—it's not just another neural net; it's like an amazing neural net, extremely general. Uh, so for example, when people talk about the scaling loss in neural networks, the scaling loss are actually a, um, a— to a large extent a property of the Transformer. Before the Transformer, people were playing with LSTMs and stacking them, etc. You don't actually get, like, clean scaling loss, and this thing doesn't actually train; it doesn't actually work if the Transformer. That was the first thing that actually just kind of, like, scales, um, and you get scaling loss and everything makes sense. So this, like, general-purpose training

computer I think of it as kind of a computer, but it's like a differentiable computer, and you can just give it inputs and outputs and billions of it, and can train with back propagation. It actually kind of, like, arranges itself into a thing that does the task. And so I think it's actually kind of like a magical thing that we've stumbled on in the algorithm space. And I think there's a few individual innovations that went into it. So you have the residual connections—that was a piece that existed. You have the layer normalizations, uh, that need to slot in. You have the attention block. You have the lack of these like, um, uh, saturating nonlinearities like tanh's and so on. Those are not present in the Transformer because they kill gradient signals. So there's a few, like, there's four or five innovations that all existed and were put together into this Transformer, and that's what Google did with their paper, and this thing actually trains, uh, and suddenly you get scaling laws, and suddenly you have, like, this piece of

tissue that just trains to a very large extent. And so I—it was a major unlock. You feel like we are not near the limit of that unlock, right? Because I think there is a discussion, of course, like the data wall and how expensive another generation of scale would be. Like, how do you think about that? That's where you start to get into, like, I don't think that the neural network architecture is, like, holding us back fundamentally anymore. It's like not the bottom leg, whereas I think before the Transformer it was a bottom leg, but now it's not the bottom leg. So now we're talking a lot more about what is the loss function, what is the data set. We're talking a lot more about those, and those have become the bottlenecks almost, um, it's not the general piece of tissue that reconfigures based on whatever you want it to be. And so that's where I think a lot of the activity has moved, and that's why a lot of the companies and someone who are applying this technology like—they're not thinking about the Transformer Mar, they're not thinking about the architecture, you know.

The Llama release, uh, like the Transformer hasn't changed that much. Uh, you know, we've added the RoPE positional and the RoPE relative position encodings, um, that's like the major change. Everything else doesn't really matter too much. It's like plus 3% on small few things, uh, but really it's like RoPE is the only thing that's slotted in. And that's the Transformer as it has changed since the last five years or something. So there hasn't been that much innovation on that. Everyone just takes it for granted: let's train it, etc. And then everyone's just innovating on the data set mostly and the loss function details, uh. So that's where all the activity has gone to, right? But what about the argument, like, in that domain that that was easier when we were taking internet data? Uh-huh. And we're out of internet data. And so the questions are really around, like, synthetic data or more expensive data collection, so I

Think that's a good point. So that's where a lot of the activity is now in LLMs. So the internet data is like not the data you want for your Transformer. It's like a nearest neighbor that actually gets you really far surprisingly. But the internet data is a bunch of internet web pages, right? It's just like what you want is the inner thought monologue of your brain. Yeah, that's the IDE trajectories in your brain, the trajectories in your brain as you're doing problem solving. If we had a billion of that, like AGI is here roughly speaking, I mean, to a very large extent, and we just don't have that. So where a lot of activity is now, I think, is we—the internet data that actually gets you like really close because it just so happens that internet has enough of reasoning traces in it and a bunch of knowledge, and the Transformer just makes it work. Okay, so I think a lot of activity now is around refactoring the dataset into these inner monologue

uh formats, and I think there's a ton of synthetic data generation that's helpful for that. So what's interesting about that also is like the extent to which the current models are helping us create the next generation models. And so it's kind of like, you know, the staircase of improv. How much do you think synthetic data is, or how far does that get us? Right, because to your point on each data, each model helps you train the subsequent model better, at least create tools for it, data labeling, whatever, may be part of it is synthetic data. How important do you think the synthetic data pieces in red? Yeah, I think it's the only way we can like make progress is we have to make it work. I think with synthetic data you just have to be careful, uh, because, uh, these models are silently collapsed is like one of the major issues. So if you go to ChatGPT and you ask it to give you a, um, a joke, you'll notice that it only knows like three jokes; that's like the only—it gives you like one joke, I think, most of

the time. And sometimes it gives you like three jokes. And it's because the models are collapsed, and it's silent. So when you're looking at any single individual output, you're just seeing a single example. But when you actually look at the distribution, you'll notice that it's not a very diverse distribution. It's silently collapsed. When you're doing synthetic data generation, this is a problem because you actually really want that entropy. You want the diversity and the richness in your dataset. Otherwise, you're getting collapsed datasets, and you can't see it when you look at any individual example, but the distribution has lost a ton of, uh, entropy and richness. And so it silently gets worse. And so that's why you have to be very careful, and you have to make sure that you maintain your entropy in your dataset. And there's a ton of, uh, techniques for that. As an example, someone released this, uh, Persona dataset as an example. The Persona dataset is a dataset of 1

billion, um, personalities like humans, like backgrounds, oh, I'm a teacher or I'm an artist, I live here, I do this, etc., and it's like little paragraphs of like, um, fictitious human background. And what you do when you do synthetic data generation is not only like, oh, complete this task and do it in this way but also imagine you're, uh, describing it to this person. You put in this information, and now you're forcing it to explore more of the space and you're getting some entropy. So I think you have to be just very careful to inject the entropy, maintain the distribution, and that's the hard part, uh, that I think maybe people aren't like sufficiently appreciating as much in general. So I think basically synthetic data is absolutely the future, uh, we're not going to run out of data is my impression. I just think you have to be careful. What do you think we are learning now about

human cognition from this research? I don't know if we're learning—one could argue that, like, figuring out the shape of reasoning traces we want, for example, is, um, instructive to actually understanding how the brain works. I would be careful with those analogies, but in general, I do think that it's, um, it's a very different kind of thing. But I do think that there are some analogies you can draw. So as an example, uh, I think Transformers are actually better than the human brain in a bunch of ways. I think they're actually a lot more efficient system, and the reason they don't work as good as the human brain is mostly data issue, roughly speaking, is the first story approximation I would say. And actually, like as an example, like Transformer memorizing sequences is so much better than humans. Like if you give it a sequence and you do a single forward backward pass in that sequence, then if you give it the first few elements, it will complete the rest of the sequence. It memorized that sequence, and it's so good at it. If you gave a human a single presentation of a

sequence, there's no way that you could remember that. And so the Transformers is actually, I do think there's a good chance that the gradient, um, back optimization, the forward backward update that we do all the time for training neurons is actually more efficient than the brain in some ways, and these models are better. They're just not, um, yet ready to shine. But in a bunch of cognitive sort of aspects, I think they might come out with the right inputs, they will be better. That's generically true of computers for all sorts of applications, right? Put memory to your point. Yeah, exactly. And I think human brains just have a lot of constraints. You know, the working memory is very small. I think Transformers have a lot, lot bigger working memory and will—this will continue to be the case. Uh, they're much more efficient learners. Uh, the human brain functions under all kinds of constraints. Uh, it's not obvious that the human brain is back propagation, right? It's

Not obvious how that would work. It's, uh, a very stochastic sort of dynamic system. It has all these constraints it works under, so ambient conditions, etc. So I do think that what we have is actually potentially better than the brain, um, and it's just not there yet. How do you think about, um, human augmentation with different AI systems over time? Do you think that's a likely direction? Do you think that's unlikely? Augmentation—augmentation of people with AI models? Oh, of course. I mean, but in what sense? Maybe I think, in general, absolutely, because I mean, there's an abstract version of it, you're using it as a tool. That's the external version. There's the, you know, the merger scenario, you know, a lot of people end up talking about. Yeah, yeah. I mean, we're already kind of merging. The thing is, like, there’s, you know, there's the I/O bottleneck, but for the most part you—

—know, at your fingertips. If you have any of these models, you're—that's a little bit different. Because, I mean, people have been making that argument for, I think, 40, 50 years where, uh, technological tools are just extensions of human capabilities, right? Yeah, the computer is the bicycle for the human mind, exactly. So, um, but there's a subset of the AI community that thinks that, for example, the way that we subsume some potential conflict with future AI or something else would be through some form of, yeah, like the Neuralink pitch, etc. Exactly, um, yeah. I don't, I don't know what this merger looks like, uh, yet, but I can definitely see that you want to decrease the I/O to tool use, and I see this as kind of like an exocortex, while building on top of our neocortex, right? And it's just the next layer, and, uh, it just turns out to be in the cloud, etc., but it is the next layer of the brain. Yeah, Accelerando, uh, book from the early 2000s has a version of this where—

—basically everything is substantiated in a set of goggles that are computationally attached to your brain, that you wear, and then if you lose them, you must feel like you're losing a part of your persona or memory. I think that's very likely. Yeah, and today the phone is already almost that, and I think it's going to get worse. When you put your techno stuff away from you, you're just like naked human in nature as well. You lose part of your intelligence. It's very anxiety— A very, uh, a very simple example of that is just maps, right? So a lot of people now, I've noticed, can't actually navigate their city very well anymore because they are always using turn-by-turn direction. And if we have this, for example, like universal translator, which I don't think is too far away, like you lose the ability to speak to people who don't speak English if you just put your stuff away. I'm very comfortable repurposing that part of my brain to do further research. I don't know if you saw the video of, like, the kid that has a—

—magazine and is trying to, like, swipe on the magazine. What's fascinating to me about it is, like, this kid doesn't understand what comes with nature and what's technology, technology on top of the nature, because it's made so transparent. And I think this might look similar where people will just start assuming the tools, and then when you take them away you realize, like, I guess, like, people don't know what's technology and what's not. If you're wearing this thing that's always translating one or, like, doing stuff like that for you, then, um, maybe people, like, lose the basic cognitive abilities, may not exist. I think exist. Yeah, like, by nature we're going to specialize. You can't understand people who speak Spanish? Like, what the hell? Or like, if, when you go to objects like in Disney, uh, all the objects are alive. And I think we are going to potentially come to that kind of a world where why an AI talk to things, like, already today you can talk to Alexa and—

—you can ask her for things and so on. Yeah, I've seen some toy companies like that where they're basically trying to embed an LM in toys that can interact with a child. Yeah, isn't it strange that when you go to a door, you can't just say open? Like, what the hell? Um, another favorite example of that, I don't know if you saw either Demolition Man or I, Robot. People make fun of the idea that you, uh, yeah, like you can't just talk to things. And what the hell. If we're talking about an, um, exocortex, that feels like a pretty fundamentally, um, important thing to democratize access to. How do you think, like, the current market structure of what's happening in LLM research—you know, there's a small number of large labs that actually have a shot at the next generation progressing training—

—like how does that translate to what people have access to in the future? So what you were kind of alluding to maybe is the state of the ecosystem, right? So we have kind of like an oligopoly of a few closed platforms, and then we have an open platform that is kind of like behind, so like Meta, LLaMA, etc., and this is kind of like mirroring the open source, uh, kind of ecosystem. I do think that when this stuff starts to, when we start to think of it as, like, an exocortex, uh, so there's the, there's a saying in crypto, which is like, not your keys, not your, not your tokens. Like, is it the case that if it's like not your weights, not your brain? That's interesting, because a company is effectively controlling your exocortex and therefore, for part of it, starts to feel kind of invasive. If this is my exocortex, I think people will care much more about ownership. Yes, like, you're—yeah, you realize you're renting your brain. Like, it seems strange to rent your brain. The thought experiment is like, are you willing to give up—

Ownership and control to rent a better brain because I am, yeah, yeah. So I think that's the trade-off. I think we'll see how that works, but maybe it's possible to, like, by default use the closed versions because they're amazing, but you have a fallback in various scenarios. And I think that's kind of like the way things are shaping up today even right, like, um, when APIs go down on some of the closed source providers, people start to implement fallbacks to like the open ecosystems, for example, that they fully control and they feel empowered by that, right? So, so maybe that's just the extension of what will look like for the brain is you fall back on the open-source stuff, um, should anything happen. But most of the time, you actually... so it's quite important that the open-source stuff continues to progress, I think. So 100%, and this is not like an obvious point or something that people maybe agree on right now, but I think 100%. I, I guess one thing I've been...

Wondering about a little bit is, um, what is the smallest performant model that you can get to, in some sense, either in parameter size or however you want to think about it? And I'm a little bit curious about your view because you've thought a lot about both, uh, distillation, small models. You know, I think it can be surprisingly small, and I do think that the current models are wasting a ton of capacity remembering stuff that doesn't matter, like they remember SHA hashes, they remember like the ancient 'cause the dataset is not curated the best. 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 max relative to what you're trying to accomplish? And maybe there's no good way to represent that. So I think maybe a billion parameters gets you sort of like a good cognitive core, I think probably. Right, I think even 1 billion is too much. I don't know. We'll see. It's very exciting given if you think about, uh, well, you know, the question of like on an edge device versus on the cloud, but and also this raw cost of using the model and everything. Yeah, it's very exciting, right?

But at less than a billion parameters, I have my exocortex on a local device as well. Yeah, and then probably it's not a single model, right? Like, it's interesting to me to think about what this will actually play out like, um, 'cause I do think you want to benefit from parallelization. You don't want to have a, a sequential process. You want to have a parallel process. And I think companies, to some extent, are also kind of like, uh, um, paralyzation of work. And, but they, there's a hierarchy in a company because that's one way to, you know, you have the information processing and the reductions that need to happen within organization for information. So I think we'll probably end up with, uh, companies form OFMs. I think is not unlikely to me that you have models of different capabilities specialized to various, uh, unique domains. Maybe there's a programmer, etc., and it will actually start to resemble companies to a very large extent. So you have the programmer...

And the program manager and, you know, similar kinds of roles of LLMs working in parallel and coming together and orchestrating computation on your behalf. So maybe it's not correct to think about it's more like a swarm. You're like an ecosystem. It's like a biological ecosystem where you have specialized roles and niches. I think you'll start to resemble that. You have automatic escalation to other parts of the swarm depending on the difficulty of the problem and the special—the CEO is like a really brilliant, uh, Cloud model, but the workhorse can be a lot cheaper, maybe even open-source models, whatnot. And my cost function is different from your cost function. Yeah, so, uh, that could be interesting. You left OpenAI, you're working on education. You've always been an educator. Like, why, why do this? I would start with I've always been an educator and I love learning and I love teaching.

And, uh, so it's kind of just like a space that I've been very passionate about for a long time. And then the other thing is, I think one macro picture that's kind of driving me is I think there's a lot of activity in AI. And, um, I think most of it is to kind of like replace or displace people. I would say is in the, of like sliding away the people. But I'm always, uh, more interested in anything that kind of empowers people. And I feel like I'm kind of on a high level like team human. And I'm interested in things that AI can do to empower people. And I don't want the future where people are kind of, um, on the side of automation. I want people to be very in an empowered state. And I want them to be amazing, even much more amazing than today. And then other aspects that I find very interesting is like how far can a person go if they have the perfect tutor for all the subjects. And I think people

could go really far if they had the perfect curriculum for anything. And I think we see that with, um, you know, if some rich people maybe have, um, tutors and they do actually go really far. Um, and so I think we can approach that with AI, or even locked or past it. There's very clear literature on that actually from the 80s, right? We're one-on-one tutoring. I think, um, people get one standard deviation better than, is it two? Yeah, it's the Bloom stuff. Yeah, exactly. There's a lot of really interesting, uh, precedence on that. How do you actually view that as substantiating through the lens of AI? Or what's the first types of products that will really help with that? Or, you know, because there's books like The Diamond Age where they talk about the young lady's illustrated primer and all that kind of stuff. So I would say I'm definitely inspired by aspects of it. So, like, in practice, what, uh, what I'm doing is trying to currently build a single

course. And I want it to be just like the course you would go to if you want to learn AI. I think the problem with, uh, basically is like I've already taught courses. Like I taught CS231n at Stanford, and that was the first deep learning class and was pretty successful. But the question is like, how do you actually like really scale these classes? Like, how do you make it so that your target audience is maybe like 8 billion people on Earth and they're also speaking different languages and they're all different, uh, capability levels, etc.? So, you and a single teacher doesn't scale to that audience. And so the question is, how do you use AI to serve like do the scaling of a really good teacher? And so the way I'm thinking about it is the teacher is kind of doing a lot of the course creation and the curriculum because currently at current AI capability, I don't think the models are good enough to create a good course. Uh, but I think they're good to become the front end to the student and, uh, interpret the course to them. And so, uh,

basically the teacher doesn't go to the people and the teacher is not the front end anymore. The teacher is on the back end designing the materials in the course, and the AI is the front end and it can speak all the different languages, and it kind of like takes you through the course. Should I think of that as like, like the TA-type experience or is that not a good analogy here? That is like one way I'm thinking about it is it's AI TA. I'm mostly thinking of it as like this front end to the student, and it's the thing that's actually interfacing with the student and, uh, taking them through the course. And I think that's tractable today, uh, and it just doesn't exist. And I think it can be made really good. And then over time as the capability increases, you would potentially, uh, refactor the setup, uh, in various ways. I like to find things where, like, the AI capability today and having a good model of it. And I think a lot of companies that maybe don't, um, don't

quite understand intuitively where the capability is today, and then they end up kind of like building things that are kind of like too ahead of what's available or maybe not ambitious enough. And so I think, uh, I do think that this is kind of a sweet spot of what's possible and also really interesting and exciting. So I want to go back to something you said that I think is very inspiring, especially coming from like your background and understanding of where exactly we are in research, which is essentially like we do not know what the limits of human performance from a learning perspective are, given much better tooling. And I think there's like a very easy analogy to: we just had the Olympics like a month ago, right? And, you know, a runner, and it's the very best mile time, or pick any sport today, is much better than it was, putting aside performance-enhancing drugs, like 10 years ago. Just because, like, you start training earlier, you have a very

different program; we have much better scientific understanding, we have technique, we have PE. The fact that you believe like we can get much further as humans if we're starting with the tooling in the curriculum is amazing. Yeah, I think we haven't even scratched like what's possible at all. So I think there's like two dimensions basically to it. Number one is the globalization dimension of like, I want everyone to have really good education, but the other one is like how far can a single person go? I think both of those are very interesting and exciting. Usually when people talk about 101 learning, they talk about the adaptive aspect of it where you're challenging a person at the level that they're at. Do you think you can do that with AI today, or is that something for the future? And it's more today, it's about reach and multiple languages and glob looking fruit — things like for example, different languages, super low-hanging fruit. I think the current models are actually really good at translation basically and can target the material and translate it like at the spot.

So I think a lot of things are low-hanging fruit. This adaptability to a person's background, I think, is like not at the low fruit, but I don't think it's like too high up or too much away. But there is something you definitely want because not everyone is coming in with the same background. And also, what's really helpful is like if you're familiar with some other disciplines in the past, then it's really useful to make analogies to the things you know, and that's extremely powerful in education. So that's definitely a dimension you want to take advantage of. But I think that starts to get to the point where it's like not obvious and needs some work. I think the easy version of it is not too far, where you can imagine just prompting models like, "Oh, hey, I know physics," or "I know this," and you probably get something. But I guess what I'm talking about is something that actually works, not something that like you can demo and works sometimes. So I just mean like it actually really works in the way a person would. Yeah. And that's the

reason I was asking about adaptability, because also people learn at different rates or certain things they find challenging that others don't, or vice versa. And so it's a little bit of how do you mod relative to that context. And I guess you could have some reintroduction of what the person is good or bad at into the model over time as you— that's the thing with AI. I feel like a lot of them, a lot of these capabilities are just kind of like a prompt away. So you always get like demos, but like, do you actually get a product? You know what I mean? So, um, so in this sense I would say the demo is near but the product is far. So one thing we were talking about earlier, which I think is really interesting, is sort of lineages that happen in the research community where you come from certain labs and everybody gossips about being from each other's labs. I think a very high proportion of Nobel laureates actually used to work in a former Mobal Orit lab, so there's some propagation of, I don't know if it's culture or knowledge or branding or what.

And in an AI education-centric world, how do you maintain lineage, or does it not matter? Or how do you think about those aspects of propagation of network and knowledge? I don't actually want to live in a world where lineage like matters too much, right? So I'm hoping that AI can help you destroy that structure a little bit. It feels like kind of gatekeeping by some finite scarce resource, which is like, oh, there's a finite number of people who have this lineage, etc. So I feel like it's a little bit of that aspect. So I'm hoping it can destroy that. It's definitely one piece, like actual learning, one piece pedigree, right? Yeah. Uh, well, it's also the aggregation of—it's a cluster effect, right? It's like why is all of the, or much of the AI community in the Bay Area? Or why is most of the fintech community in New York? Yeah. And so I think a lot of it is also just you're clustering really smart people with common interests and beliefs, and then they kind of propagate from

that common core, and then they share knowledge in an interesting way. You've already a lot of that behavior is shifted online to some extent, particularly for younger people. I think one aspect of it is kind of like the educational aspect, where if you're part of a community today, you're getting a ton of education and apprenticeship, etc., which is extremely helpful and gets you to a point of empowered state in that area. I think the other piece of it is like the cultural aspect of what you're motivated by and what you want to work on, what does the culture prize, and what are they put on the pedestal, and what do they kind of like worship, basically. Uh, so in academic world, for example, is the H-index. Everyone cares about the H-index, the amount of papers you publish, etc. And I was part— I was part of that community and I saw that and I feel like now I've come to different places and there's different idols in all the different communities. I think that has a massive impact on what people are motivated by and where they get their social status, and what actually matters to them. I also was, I think, part of different

communities like growing up in Slovakia, also a very different environment, growing up in Canada, also a very different environment. What mattered there? Sorry, thank you, hockey. Hockey, I would say, as an example. I would say in Canada, um, I was in University of Toronto and Toronto. Uh, I don't think it's a very entrepreneurial, "pill," uh, environment. It doesn't even occur to you that you should be starting companies. I mean, it's not something that people are doing. You don't know friends who are doing it. You don't know that you're supposed to be looking up to it. People aren't like reading books about all the founders and talking about them. It's just not a thing you aspire to or care about. And, uh, what everyone is talking about, oh, is where are you getting your internship, where are you going to work afterwards, and it's just accepted that there's a bunch of set—there's a fixed set of companies that you are supposed to pick from and

just align yourself with one of them. And that's like what you look up to or something like that. So these cultural aspects are extremely strong and maybe actually the dominant variable, because I almost feel like today already the education aspects, I think, is the easier one. Like a ton of stuff is already available, etc. So I think mostly it's a cultural aspect that you're part of. So on this point, like one thing you and I were talking about a few weeks ago is, and I think you also posted online about this, um, there's a difference between learning and entertainment, and learning is actually supposed to be hard. And I think it relates to this question of like, you know, status, um, and what like status is a great motivator, like who the idol is, um, how much do you think you can change in terms of, um, motiv through systems like this if that's like—

A blocking factor: are you focused on, um, giving people the resources such that they can get as far as possible in the sequence for their own capability, as they can like, further than any other point in history already? Inspirational? Or do you actually want to change how many people want to learn, or at least bring themselves down the path? "Want" is a loaded word, I would say. Like, I want to make it much easier to learn, and then maybe it is possible that maybe people don't want to learn. I mean, today for example, people want to learn for practical reasons, right? Like, they want to get a job, etc., which makes total sense. So in a pre-AGI society, education is useful, and I think people will be motivated by that because they're, um, they're, uh, climbing up the ladder economically, etc. I post-AGI society, we're just all society, I think education

is entertainment to a much larger extent, including, um, like successful outcomes education, right? Not just letting the content wash over you. Yes, I think so. Outcomes being like understanding, learning, being able to contribute new knowledge, or however you defined it. I think it's not a, uh, an accident that if you go back 200 years, 300 years, the people who were doing science were nobility or people of wealth. We will all be nobility learning with Andre. Yeah, I do think that. I see it very much equivalent to your quote earlier. Like, I feel like learning something is kind of like going to the gym but for the brain, right? Like, it feels like going to the gym. I mean, going to the gym is fun, uh, people like to lift, etc. Some people don't go to the gym. No, no, no. Some people do but it is, it takes effort. Yeah, yeah, it takes effort but it's effort but it's also kind of fun, and you also have a payoff of like, you feel about yourself

in various ways, right? And I think education is basically equivalent to that. So that's what I mean when I say education should not be fun, etc. I mean, it is kind of fun but it's like a specific kind of fun, I suppose, right? I do think that maybe in a post-AGI world, what I would hope happens is people actually, they do go to the gym a lot, not just physically but also mentally, and, uh, it is something that we look up to as being highly educated and also, you know, just just, uh, yeah. Can I ask you one last question about Eureka just because I think it would be interesting to people? Like, who is the audience for the first course? The audience for the first course? I'm mostly thinking of this as like an undergrad level course, uh, so if you're doing undergrad in a technical area, I think that would be kind of the ideal audience. I do think that what we're seeing now is we have this like antiquated concept of education where

you go through school and then you graduate and go to work, right? Obviously, this will totally break down, especially in a society that's turning over so quickly that people are going to come back to school a lot more frequently as the technology changes very, very quickly. So it is kind of like undergrad level but I would say like anyone at that level at any age, uh, is kind of like in scope. I think it will be very diverse in age as an example but I think it is mostly like, uh, people who are technical and mostly want to, mostly actually want to understand it, uh, to, you know, a good amount. Um, Tech. When can they take the course? I was hoping it would be late this year. I do have a lot of distractions that are piling on but I think probably early next year is kind of like the timeline. Yeah, I'm trying to make it very, very good, um, and, uh, yeah, it just takes time to, uh, to get there. So I have one last question actually that's

pseudo-related to that. If you have little kids today, what do you think they should study in order to have a useful future? There's a correct answer in my mind and the correct answer is mostly like, um, I would say like math, physics, CS, kind of disciplines. And the reason I say that is because I think it helps, um, for just thinking skills. It's just like the best thinking skill core, uh, is, is my opinion. And of course, I have a specific background, etc. So I would, I would think this, but but that's just my view on it. I think like me taking physics classes and all these other classes just, like, shaped the way I think and I think it's very useful for problem solving in general, etc. And so if we're in this world where pre-AGI this is going to be useful, post-AGI you still want empowered humans who can function in any arbitrary capacity and so I just think that this is just the correct answer for people and what

they should be doing and taking and it, it's either useful or it's good. And so I just think it's the right answer. And I think a lot of the other stuff you can tack on a bit later but the critical period where people have a lot of time and they have a lot of kind of like attention and and time, I think it should be mostly spent on doing these kinds of, uh, simple manipulation-heavy tasks and workloads not memory-heavy tasks and workloads. I did a math degree and I felt like there was a new groove being carved into my brain as I was doing that and it's a harder groove to carve later. And I would of course put in a bunch of other stuff as well, like I'm not opposed to all the other disciplines, etc. I think it's actually beautiful to have a large diversity of of things, but I do think 80% of it should be something like this one. We're not efficient memorizers compared to our tools. Thank you for

Doing this, so much fun. Great to be here. Find us on Twitter at No Prior Pod. Subscribe to our YouTube channel if you want to see our faces. Follow the show on Apple Podcasts, Spotify, or wherever you listen. That way, you get a new episode every week. And sign up for emails or find transcripts for every episode at no-pri.com.

From YouTube captions, lightly punctuated for readability. Timestamps link to the video above. Errors are possible.

Cite this recording

Andrej Karpathy, “No Priors Ep. 80 (2024)”, Podcast / YouTube interview, February 2024. Transcript and video: Thinkers Archive, https://thinkersarchive.com/andrej-karpathy/ai-and-robotics-no-priors-2024/

Quoting a passage? Link to its exact moment: every timestamp above has its own anchor (for example https://thinkersarchive.com/andrej-karpathy/ai-and-robotics-no-priors-2024/#t-133).

Search every transcript
Open the full search page →