Ilya Sutskever: Deep Learning | Lex Fridman Podcast #94

Ilya Sutskever, OpenAI's chief scientist, explains why deep learning succeeded: compute, data, and conviction. He traces the shift from CNNs to Transformers, connects neural networks to the brain, and argues that overparameterization and empirical evidence like ImageNet's AlexNet breakthrough reveal unifying principles across vision, language, and reinforcement learning.
Chapters
The following is a conversation with Ilya Suskever, co founder and Chief Scientist of OpenAI, one of the most cited computer scientists in history with over 165,000 citations and to me, one of the most brilliant and insightful minds ever in the field of deep learning. There are very few people in this world who I would rather talk to and brainstorm with about deep learning, intelligence and life in general than Ilya on and off the mic. This was an honor and a pleasure. This conversation was recorded before the outbreak of the pandemic. For everyone feeling the medical, psychological and financial burden of this crisis, I'm sending love your way. Stay strong. We're in this together. We'll beat this thing. This is the Artificial Intelligence Podcast.
If you enjoy it, subscribe on YouTube.
Review it with five stars on Apple Podcast, support it on Patreon, or simply connect with me on Twitter lexfridman spelled F R I D M A N. As usual, I'll do a few minutes of ads now and never any ads in the middle that can break the flow of the conversation. I hope that works for you and doesn't hurt the listening experience. This show is presented by Cash App, the number one finance app in the App Store. When you get it, use code Lex but podcast Cash App lets you send money to friends, buy bitcoin, invest in the stock market with as little as $1. Since Cash App allows you to buy bitcoin, let me mention that cryptocurrency in the context of the history of money is fascinating. I recommend Ascent of Money as a great book on this history. Both the book and audiobook are great. Debits and credits on ledgers started around 30,000 years ago. The US dollar created over 200 years ago, and Bitcoin, the first decentralized cryptocurrency released just over 10 years ago. So given that history, cryptocurrency is still very much in its early days of development, but it's still aiming to just might redefine the nature of money. So again, if you get Cash App from the App Store, Google Play and use the Code Lex podcast, you get $10 and Cash App will also donate $10 to first, an organization that is helping advance robotics and STEM education for.
Young people around the world.
And now here's my conversation with Ilya Sutskever.
You were one of the three authors with Alex Krushevsky, Jeff Hinton of the famed Alex Ned paper that is arguably the paper that marked the big catalytic moment that launched the deep learning revolution at that time. Take us back to that time, what was your intuition about neural networks, about the representational power of neural networks? And maybe you could mention how did that evolve over the next few years up to today, over the 10 years?
Yeah, I can answer that question. At some point in about 2010 or 2011, I connected two facts in my mind. Basically the realization was this. At some point we realized that we can train very large. I shouldn't say very. They were tiny by today's standards, but large and deep neural networks end to end with backpropagation. At some point, different people obtain this result. I obtained this result. The first moment in which I realized that deep neural networks are powerful was when James Martens invented the Hessian free optimizer in 2010, and he trained a 10 layer neural network end to end without pre training from scratch. And when that happened, I thought, this is it. Because if you can train a big neural network, a big neural network can represent very complicated function. Because if you have a neural network with 10 layers, it's as though you allow the human brain to run for some number of milliseconds. Neuron firings are slow. And so in maybe 100 milliseconds, your neurons only fire 10 times. So it's also kind of like 10 layers. And in 100 milliseconds you can perfectly recognize any object. So I thought, so I already had the idea then, that we need to train a very big neural network on lots of supervised data. And then it must succeed because we can find the best neural network. And then there's also theory that if you have more data than parameters, you won't overfit. Today we know that actually this theory is very incomplete and you won't overfit even if you have less data than parameters. But definitely if you have more data than parameters, you won't overfit.
So the fact that neural networks were heavily overparametrized wasn't discouraging to you. So you were thinking about the theory that the number of parameters, the fact there's a huge number of parameters is okay. Is it going to be okay?
I mean, there was some evidence before that it was okay. Ish. But the theory was that if you had a big data set and a big neural net, it was going to work. The overparameterization just didn't really figure much as a problem. I thought, well, with images you're just going to add some data augmentation and it's going to be okay.
So where was any doubt coming from?
The main doubt was, can we train a bigger will we have enough compute to train a big enough neural net with backpropagation back propagation I thought would work. The thing which wasn't clear was whether there would be enough compute to get a very convincing result. Then at some point, Alex Kurzevsky wrote these insanely fast Cuda kernels for training convolutional neural nets. And that was, bam, let's do this, let's get imagenet. And it's going to be the greatest thing.
Was your intuition, most of your intuition from empirical results by you and by others. So like just actually demonstrating that a piece of program can train a 10 layer neural network or was there some pen and paper or marker and whiteboard thinking intuition? Because you just connected a 10 layer large neural network to the brain. So you just mentioned the brain. So in your intuition about neural networks, does the human brain come into play as an intuition builder?
Definitely. I mean, you got to be precise with these analogies between neural, artificial neural networks and the brain. But there is no question that the brain is a huge source of intuition and inspiration for deep learning researchers. Since all the way from Rosenblatt in the 60s. If you look at the whole idea of a neural network is directly inspired by the brain. You had people like McCallum and Pitts who were saying, hey, you got these neurons in the brain and hey, we recently learned about the computer and automata. Can we use some ideas from the computer and automata to design some kind of computational object that's going to be simple computational and kind of like the brain? And they invented the neuron, so they were inspired by it back then. Then you had the convolutional neural network from Fukushima. And then later Yann Lecan who said, hey, if you limit the receptive fields of a neural network, it's gonna be especially suitable for images, as it turned out to be true. So there were a very small number of examples where analogies to the brain were successful. And I thought, well, probably an artificial neuron is not that different from the brain if it's squint hard enough. So let's just assume it is and roll with it.
So we're now at a time where deep learning is very successful. So let us squint less and say, let's open our eyes and say what to you is an interesting difference between the human brain. Now I know you're probably not an expert, neither neuroscientist or neurobiologist, but loosely speaking, what's the difference between the human brain and artificial neural networks that's interesting to you for the next decade or two.
That's a good question to ask. What is an interesting difference between the brain and our artificial neural networks? So I feel like today artificial neural networks. So we all agree that there are certain dimensions in which the human brain vastly outperforms our models. But I also think that there are some ways in which artificial neural networks have a number of very important advantages over the brain. Looking at advantages versus disadvantages is a good way to figure out what is the important difference. So the brain uses spikes, which may or may not be important.
Yeah, it's a really interesting question. Do you think it's important or not? That's one big architectural difference between artificial neural networks.
And it's hard to tell, but my prior is not very high and I can say why. There are people who are interested in spiking neural networks and basically what they figured out is that they need to simulate the non spiking neural networks in spikes and that's how they're going to make them work. If you don't simulate the non spiking neural networks in spikes, it's not going to work. Because the question is why should it work? And that connects to questions around back propagation and questions around deep learning. You got this giant neural network, why should it work at all? Why should the learning rule work at all? It's not a self evident question. Especially if you, let's say if you were just starting in the field and you read the very early papers, you can say, hey, people are saying let's build neural networks. That's a great idea. Because the brain is a neural network. So it would be useful to build neural networks. Now let's figure out how to train them. It should be possible to train them, probably, but how? And so the big idea is the cost function. That's the big idea. The cost function is a way of measuring the performance of the system according to some measure.
By the way, that is a big. Actually, let me think. Is that one a difficult idea to arrive at? And how big of an idea is that? That there's a single cost function. Sorry, let me take a pause. Is supervised learning a difficult concept to come to?
I don't know. All concepts are very easy in retrospect.
Yeah, that's what it seems trivial now, but I. So because, because the reason I asked that. And we'll talk about it, because is there other things, is there things that don't necessarily have a cost function? Maybe have many cost functions or maybe have dynamic cost functions or maybe a totally different kind of architectures? Because we have to think like that in order to arrive at something new.
Right. So the good examples of things which don't have clear cost functions are gans. In a gan you have a game. So instead of thinking of a cost function where you want to optimize, where you know that you have an algorithm, gradient descent which will optimize the cost function, and then you can reason about the behavior of your system in terms of what it optimizes. With a gan, you say, I have a game and I'll reason about the behavior of the system in terms of the equilibria of the game. But it's all about coming up with these mathematical objects that help us reason about the behavior of our system. Right.
That's really interesting. Yeah. So gann is the only one. It's kind of the cost function is emergent from the comparison.
I don't know if it has a cost function. I don't know if it's meaningful to talk about the cost function of a gann. It's kind of like the cost function of biological evolution or the cost function of the economy. You can talk about regions to which it will go towards. But I don't think, I don't think the cost function analogy is the most useful.
So evolution doesn't. That's really interesting. So if evolution doesn't really have a cost function like a cost function based on its something akin to our mathematical conception of a cost function, then do you think cost functions in deep learning are holding us back? You just kind of mentioned that cost function is a nice first profound idea. Do you think that's a good idea? Do you think it's an idea we'll go past? So self play starts to touch on that a little bit in reinforcement learning systems.
That's right, self play and also ideas around exploration where you're trying to take action that surprise a predictor. I'm a big fan of cost functions. I think cost functions are great and they serve us really well. And I think that whenever we can do things with cost functions, we should. And you know, maybe there is a chance that we will come up with some. Yet another profound way of looking at things that will involve cost functions in a less central way. But I don't know, I think cost functions are. I mean, I would not bet against cost functions.
Is there other things about the brain that pop into your mind that might be different and interesting for us to consider in designing artificial neural networks? So we talked about spiking a little bit.
I mean, one thing which may Potentially be useful. I think people, neuroscientists have figured out something about the learning rule of the brain. Or I'm talking about spike time independent plasticity. And it would be nice if some people were to study that in simulation.
Wait, sorry. Spike time independent plasticity.
Yeah, that's right.
What's that?
Std. It's a particular learning rule that uses spike timing to figure out how to determine how to update the synapses. So it's kind of like if the synapse fires into the neuron before the neuron fires, then it strengthens the synapse. And if the synapse fires into the neurons shortly after the neuron fired, then it weakens the synapse. Something along this line. I'm 90% sure it's right. So if I said something wrong here, don't get too angry, but you sounded.
Brilliant while saying it. But the timing, that's one thing that's missing. The, the temporal dynamics is not captured. I think that's like a fundamental property of the brain is the timing of the signals.
Well, we have recurrent neural networks, but.
You think of that as this. I mean, that's a very crude, simplified. What's that called? There's a clock, I guess, to recurrent neural networks. It seems like the brain is the continuous version of that, the generalization where all possible timings are possible, and then within those timings is contained some information. You think recurrent neural networks, the recurrence in recurrent neural networks can capture the same kind of phenomena as the timing that seems to be important for the brain in the firing of neurons in the brain.
I mean, I think recurrent neural networks are amazing and, and I think they can do anything we'd want a system to do right now, recurrent neural networks have been superseded by transformers. But maybe one day they'll make a comeback. Maybe they'll be back. We'll see.
Let me on a small tangent. Say, do you think they'll be back? So, so much of the breakthroughs recently that we'll talk about on natural language processing, on language modeling has been with transformers that don't emphasize recurrence. Do you think recurrence will make a comeback?
Well, some kind of recurrence, I think very likely. Recurrent neural networks for pros, as they're.
Typically thought of a hidden state with certain kind of gating units that we think of as today with LSTMs and that.
I mean, the hidden state is technically what you described there. The hidden state that goes inside the LSTM or The RNN or something like this. But then what should be contained? If you want to make the expert system analogy, you could say that the knowledge is stored in the connections and then the short term processing is done in the hidden state.
Yes. Could you say that?
Yes.
Do you think there's a future of building large scale knowledge bases within the neural networks?
Definitely.
So we're going to pause on that confidence because I want to explore that. But let me zoom back out and ask back to the history of ImageNet. Neural networks have been around for many decades, as you mentioned. What do you think were the key ideas that led to their success? That ImageNet moment and beyond the success in the past 10 years?
Okay, so the question is to make sure I didn't miss anything. The key ideas that led to the success of deep learning over the past 10 years.
Exactly. Even though the fundamental thing behind deep learning has been around for much longer.
So the key idea about deep learning, or rather the key fact about deep learning before deep learning started to be successful, is that it was underestimated. People who worked in machine learning simply didn't think that neural networks could do much. People didn't believe that large neural networks could be trained. People thought that. Well, there was a lot of debate going on in machine learning about what are the right methods and so on. And people were arguing because there was no way to get hard facts. And by that I mean there were no benchmarks which were truly hard, that if you do really well on them, then you can say, look, here is my system. That's when you switch from. That's when this field becomes a little bit more of an engineering field. So in terms of deep learning, to answer the question directly, the ideas were all there. The thing that was missing was a lot of supervised data and a lot of compute. Once you have a lot of supervised data and a lot of computer, then there is a third thing which is needed as well, and that is conviction. Conviction that if you take the right stuff which already exists and apply and mix it with a lot of data and a lot of compute, that it will in fact work. And so that was the missing piece. It was. You needed the data, you needed the compute which showed up in terms of GPUs and you needed the conviction to realize that you need to mix them together.
So that's really interesting. So I guess the presence of compute and the presence of supervised data allowed the empirical evidence to do the convincing of the majority of the computer science community. So I guess there's a key moment with JITENDRA Malik and Alex Alyosha Efros, who were very skeptical. Right. And then there's a Geoffrey Hinton that was the opposite of skeptical. And there was a convincing moment. And I think imagenet served as that moment.
That's right.
And it represented this kind of where the big pillars of computer vision community, kind of the wizards got together, and then all of a sudden there was a shift. And it's not enough for the ideas to all be there and the computer to be there. It's for it to convince the cynicism that existed. That's interesting that people just didn't believe for a couple of decades.
Yeah, well, but it was more than that. It's kind of, when put this way, it sounds like, well, you know, those silly people who didn't believe, what were they missing? But in reality, things were confusing because neural networks really did not work on anything, and they were not the best method on pretty much anything as well. And it was pretty rational to say, yeah, this stuff doesn't have any traction. And that's why you need to have these very hard tasks which produce undeniable evidence. And that's how we make progress. And that's why the field is making progress today, because we have these hard benchmarks which represent true progress. And this is why we were able to avoid endless debate.
So incredibly, you've contributed some of the biggest recent ideas in AI, in computer vision, language, natural language processing, reinforcement learning, sort of everything in between. Maybe not. Gans, there may not be a topic you haven't touched. And of course, the fundamental science of deep learning. What is the difference to you between vision, language and, as in reinforcement learning, action as learning problems? And what are the commonalities? Do you see them as all interconnected? Are they fundamentally different domains that require different approaches?
Okay, that's a good question. Machine learning is a field with a lot of unity, a huge amount of unity.
What do you mean by unity?
Like overlap of ideas, overlap of ideas, overlap of principles. In fact, there is only one or two or three principles which are very, very simple. And then they apply in almost the same way, in almost the same way to the different modalities, to the different problems. And that's why today, when someone writes a paper on improving optimization or of deep learning in vision, it improves the different NLP applications and it improves the different reinforcement learning applications. Reinforcement learning. So I would say that computer vision and NLP are very similar to each other today. They differ in that they have slightly different architectures. We use transformers in nlp and we use convolutional neural networks in vision. But it's also possible that one day this will change and everything will be unified with a single architecture. Because if you go back a few years ago in natural language processing, there were a huge number of architectures for every different tiny problem had its own architecture. Today there's just one transformer for all those different tasks. And if you go back in time even more, you had even more and more fragmentation. And every little problem in AI had its own little sub specialization and sub, you know, little set of collection of skills, people who would know how to engineer the features. Now it's all been subsumed by deep learning. We have this unification. And so I expect vision to be communified with natural language as well. Or rather I shouldn't say expect. I think it's possible. I don't want to be too sure because I think the convolutional neural net is very computationally efficient. RL is different. RL does require slightly different techniques because you really do need to take action. You really need to do something about exploration. Your variance is much higher. But I think there is a lot of unity even there. And I would expect, for example, that at some point there will be some broader unification between RL and supervised learning, where somehow the RL will be making decisions to make the supervised learning go better. And it'll be, I imagine, one big black box and you just throw, you shovel things into it and it just figures out what to do with whatever you shovel at it.
I mean, reinforcement learning has some aspects of language and vision combined almost. There's elements of a long term memory that you should be utilizing and there's elements of a really rich sensory space. So it seems like the, it's like the union of the two or something like that.
I'd say something slightly differently. I'd say that reinforcement learning is neither, but it naturally interfaces and integrates with the two of them.
You think action is fundamentally different.
So yeah.
What is interesting about what is unique about policy of learning to act also.
One example, for instance, is that when you learn to act, you are fundamentally in a non stationary world, because as your actions change, the things you see start changing. You experience the world in a different way. And this is not the case for the more traditional static problem where you have some distribution and you just apply a model to that distribution.
You think it's a fundamentally different problem.
Or is it just more difficult?
It's a generalization of the problem of understanding.
I mean, it's a question of definitions almost. There's a huge amount of commonality, for sure. You take gradients, you take gradients, you try to approximate gradients in both cases. In the case of reinforcement learning, you have some tools to reduce the variance of the gradients. You do that. There's lots of commonality, use the same neural net in both cases, you compute the gradient, you apply ADAM in both cases. So I mean, there's lots in common for sure, but there are some small differences which are not completely insignificant. It's really just a matter of your point of view. What frame of reference, how much do you want to zoom in or out as you look at these problems, which.
Problem do you think is harder? So people like Noam Chomsky believe that language is fundamental to everything, so it underlies everything. Do you think language understanding is harder than visual scene understanding or vice versa?
I think that asking if a problem is hard is slightly wrong. I think the question is a little bit wrong and I want to explain why. So what does it mean for a problem to be hard?
Okay, the non interesting dumb answer to that is there's this a benchmark and there's a human level performance on that benchmark. And how is the effort required to reach the human level benchmark?
So from the perspective of how much until we get to human level on.
A very good benchmark.
Yeah, I understand what you mean by that. So what I was going to say that a lot of it depends on once you solve a problem, it stops being hard. And that's always true. But if something is hard or not depends on what our tools can do today. So you say today, true. Human level language understanding and visual perception are hard in the sense that there is no way of solving the problem completely in the next three months. So I agree with that statement. Beyond that, my guess would be as good as yours. I don't know.
Okay, so you don't have a fundamental intuition about how hard language understanding is.
I know, I changed my mind. I'd say language is probably going to be harder. I mean, it depends on how you define it. Like if you mean absolute, top notch, 100% language understanding, I'll go with language. But then if I show you a piece of paper with letters on it, is that you see what I mean? You have a vision system. You say it's the best human level vision system. I show you, I open a book and I show you letters. Will it understand how these letters form into words and sentences and meaning? Is this part of the vision problem? Where does vision end and language begin.
Yeah, so Chomsky would say it starts at language. So vision is just a little example of the kind of structure and fundamental hierarchy of ideas that's already represented in our brain somehow.










