Geoffrey Hinton on Backpropagation: Can the Brain Do It?

Canadian Association for Neuroscience public lecture, 2019
Video thumbnail: Geoffrey Hinton on Backpropagation: Can the Brain Do It?
1 hr 22 minInterview20K views across 1 upload13,047-word transcriptWatch on YouTube ↗

What Hinton talks about

Geoffrey Hinton gave this Canadian Association for Neuroscience public lecture in 2019 on backpropagation, neural networks, and whether the brain could implement a similar learning process.

Also known as: CAN Public Lecture; Canadian Association for Neuroscience public lecture; Does the brain do backpropagation? CAN Public Lecture.

Geoffrey Hinton explains backpropagation in plain language, contrasting neural networks with symbolic AI and showing why learning from examples beat hand-coded rules in vision, speech, and translation. He argues that big neural nets trained with the right algorithms can solve tasks once thought impossible.

He then turns to neuroscience, asking whether the cortex might implement something like backpropagation. Hinton addresses objections about supervision, spikes, and feedback signals, and suggests that noise, temporal derivatives, and fast-changing neural states could make a brain-like version plausible.

The talk closes with a Q&A on the brain as a computer, connectomes, innate structure, overparameterization, sparse data, and dropout. The broader point is that modern machine learning may help explain both intelligence and how the brain learns.

Paul Franklin opens the event, Blake Richards introduces and interviews Hinton, and Hinton speaks throughout the lecture and Q&A.

In his words

“And the amazing thing is it works.”
at 10:47
“We did it, we still don't know how we do it, but we can get artificial neural networks to do it now and do a pretty good job.”
at 7:08
“I think it'd be crazy if the brain wasn't somehow doing this.”
at 23:51
“Big models are good if you regularize them, if you stop them doing crazy things.”
at 28:57

Key points

  • Backpropagation lets neural nets adjust all weights efficiently in the direction that improves output.
  • Deep learning succeeded because computers got faster, data got bigger, and a few crucial tricks improved training.
  • Neural nets can now do speech recognition, image classification, and translation better than symbolic AI approaches.
  • Hinton argues the brain may use noisy, spike-based signals in ways that are compatible with backprop-like learning.
  • He suggests fast weights and temporary changes may help store short-term context in the brain.
  • Dropout is presented as a powerful regularizer that makes large models generalize better.
  • He says sparse data is still a real limit, but large pre-trained models can help in personalized applications.

Full transcript: Geoffrey Hinton, Does the brain do backpropagation? (2019)

Hi, I think we're ready to start. So, my name is Paul Franklin and I'm a neuroscientist here at SickKids. Also, I'm program chair for the Canadian Neuroscience Meeting that takes place in Toronto all this week. So, the traditional curtain raiser for the Neuroscience Meeting, the Kin Meeting, is the public lecture. And this year, we decided to focus on the interface between neuroscience and AI. We did that for two reasons. First reason is that AI or Toronto is one of the main hubs in the world for AI research, and the second reason is that it's also home to one of the true pioneers in this field, also known as the Godfather of deep learning, Geoffrey Hinton, and so when we asked Jeff if he'd

participate in this event, I think about a year and a half ago we asked him, and he said yes. We were super excited. So, at this point, I want to hand over to Blake Richards. Blake Richards is an associate professor at the University of Toronto Scarborough, and he's gonna host this evening's event. Blake, thanks, Paul. So, just as a brief introduction, I wanted to tell you a little bit more about Jeff. So, you might be surprised to learn that the Godfather of deep learning, associated mostly with AI, got his BA in Experimental Psychology from Cambridge

originally. He then went on to do his PhD in Artificial Intelligence in Edinburgh. So, he did get started relatively early, but throughout his early career he really contributed to the first wave of what was known at the time as parallel distributed processing or connectionism, which really brought back into the fore the idea of using neural networks for both models of the mind and for artificial intelligence. Now, Jeff got his first tenure-track position at Carnegie Mellon in the '80s, but we were able to steal him away from them in the late

'80s, which I understand was largely because of his ethical objections to DARPA funding. So, once again, Canada's political bent has helped us in our research endeavors. Over the course of the '90s, Jeff continued to really push neural networks and machine learning forward and—sorry about that—in '98 he actually went to University College London to found the Gatsby Computational Neuroscience Unit, and we might have lost him, but thankfully we pulled him back again. He came back to Toronto in 2001 where he became a university professor in 2006 and then an emeritus professor

in 2014. Now, I think that, you know, you all know that Jeff is a monumental figure within artificial intelligence and machine learning, and he's been critical to the founding of the Vector Institute here in Toronto and putting Toronto on the map for AI. Certainly, he's had incredible recognitions of his work, most recently the Turing Award, which he shared with Josh Bengio and Yann LeCun, as well as the Order of Canada, and he's a distinguished fellow of the Kane Institute for Advanced Research, which I highlight because they were one of the people who continued to support neural networks throughout the time when it

wasn't as fashionable. But for all his successes in his technical endeavors, I think one of the things that's most important to understand about Jeff is the impact that he's had on other scientists. Jeff has really molded the career of so many people and changed the way that they think about things. When you look at the people who have been his graduate students or postdocs, it really is the who's who in artificial intelligence. It includes people like Max Welling, Yann LeCun, and you know, the phrase I use to describe it is: have you drank, have you drunk Jeff's Kool-Aid? Because once you've drunk Jeff's

Kool-Aid, there is no going back. You see neural networks, you see AI differently, and I would argue you also see neuroscience differently. For me, my understanding of the brain has been largely shaped by Jeff and his work. But, you know, we're at the point now where computer science has drunk Jeff's Kool-Aid, so he's got an H index of 145, and according to Google Scholar, his work has been cited 270,000 times, which is more than Einstein, Ramanujan, Kahneman, and Alan Turing combined. But that's largely from computer scientists. And if my prediction is correct, neuroscience 30-40 years from now will

also have drunk Jeff's Kool-Aid, and maybe you're going to get your first taste tonight. So, with that, I hand you over to Geoffrey Hinton. (applause) So, thank you very much. Great, I can give you some more Kool-Aid today; it's Kool-Aid produced by one of my former students, Ilya Sutskever. First, I want to show you a little bit about the history of deep learning in AI. Can I just ask before I start, how many people here know what the backpropagation algorithm is? Put your hands up. So some people don't. I'll explain it very quickly, and I'll explain it in such a way that you'll be able to explain to other people if, so if

you do know what it is, you follow the explanation from the point of view of how you explain it. Um, okay, there was a war between two paradigms for AI. There were people who thought that the essence of intelligence was reasoning and logic. "What does reasoning?" So, we should base artificial intelligence on taking strings of symbols and manipulating them to arrive at conclusions. And then there are the people who looked at the brain and said, "No, no, intelligence is all about adapting connections in the brain to get smarter." And this war went on for a long time, and eventually people who were trying to figure out how to change connections between fake neurons to make these networks smarter got to be able to do things that the people doing

Symbolically, I just couldn't do it at all. And now there's a different way of getting a computer to do what you want instead of programming it, which is tedious. You just show examples and it figures it out. Now, of course, you have to write the program that figures it out, but that's just one program that will then do everything. And this is an example of what it can do. So the image, just think of the numbers, they're RGB values of pixels, and that's the input to the computer. Lots of values of pixels, just real numbers saying how bright the red channel is. And you have to turn those numbers into a string of words that says a close-up of a child holding

a stuffed animal. And imagine writing that program. Well, people eventually, I treasure ate their program and they couldn't, partly because they didn't know how. We did it, we still don't know how we do it, but we can get artificial neural networks to do it now and do a pretty good job. And my prediction is within ten years, if you go and get a CT scan, what will happen is a computer will look at the CT scan, and a computer will predict, will produce the written report that the radiologist currently produces. Radiologists don't like this. Thank you. Okay, here's a simplified model of a neuron. It's very simple. It gets some input which is just the activity on the input lines times the weights, adds it all up. That's called the

depolarization, and then it gives an output that's proportional to how much input it gets as long as it gets enough input. And so, to remove, you won't have spiking neurons; these just can be neurons to send real values in just the way neurons don't. We're going to make networks of them by hooking them up into layers, and you could put some pixels on the input neurons. Look, they're the input neurons, and you go forwards through the net till you get outputs, and then you compare those outputs with what you ought to have got. So you have to know what the right answer is, and what we'd like to do is train the weights, these red and green dots, so that it gives the

right output. Now I'm going to show you a way of training the weights that everybody can understand, and everybody's thoughts on. Basically, what you do is you start with random weights, you shoot some inputs, you measure how well it does, then you change one weight a tiny bit. So I take that weight there and I just change it a tiny bit, and then they show the same inputs again and see if it does better or worse. If it does better, I keep the change; if it does worse, maybe I keep the change in the opposite direction. That's an easy algorithm to understand, and that algorithm works. It's just incredibly slow because you have to show it lots of examples, change your weight, and then show it lots more examples, change another weight, and every

weight has to be changed many times. So if you use calculus, you can go millions of times faster. So the trick of this algorithm, the sort of mutation algorithm, is you have to measure the effect of the weight change on the performance. We don't really need to measure it because when I change one of these weights, the effect that it has on the output is determined by the network. It just depends on the other weights in the network. It's not like normal evolution where the effect of a gene depends on the environment you're in. This is all kind of internal to the brain. And so changing one of these weights has an effect that's predictable. Here, so I ought to be able to predict how changing the weight will help get the right output, and so what backpropagation does

is basically says, "I'm going to compute, using an algorithm, the details of which I won't tell you," and compute for every weight all at the same time how changing that weight would improve the output. And then I can change all the weights a little bit, so every weight changes in a direction to improve the output, and the output improves quite a bit, and then they do it all again. Now that allows me to compute for every weight how I'd like to—what direction I'd like to change it in. And the question is, should I, when I show examples, show it all of the examples and then update the weights? So should you live your whole life with the synapse strengths you're born with, then update your weights a little bit, then live your life again and update the weights a little bit more until they seem very

good? Or should you take one case or a few cases, figure out how you'd like to update the weights, update them, and then take more cases? That's the online algorithm, and that's what we do. And the amazing thing is it works. You can take one case at a time; move, you take a small batch of cases, you update the weights, and these networks get better. And it's very surprising how well it works on big datasets. So for a long time, people thought you're never going to be able to learn something complicated like, for example, take a string of words in English, feed them into a neural net, and output a string of words in French that mean the same thing. You're never going

to be able to do that if you start with a big neural net with just random weights. It's just asking too much for the neural net to organize itself so they can do translation because you have to kind of understand what the English says, and people predicted this was completely impossible. But you'd have to put in lots of prior knowledge. Well, they were wrong. So in 2009, my students in Toronto showed that you could actually improve speech recognizers using these neural nets that had random weights. They were just trying to predict in a spectrogram which piece of which phoneme you were trying to say in the middle of the spectrogram, and then there was more to the system that wasn't your own nets. Now what we've done is we've got rid of all the stuff that wasn't neural nets.

And now you can take sound waves coming in, and you have transcriptions coming out. Or even better, you have sound waves coming in, and you have sound waves coming out in another language with the same accent. They can do that now. That's speech recognition done. Then in 2012, two of my students took a big database of images and used essentially the same algorithm—the few clever tricks—to say what was in the image, not a full caption, just the class of the most obvious object. And they did much better than conventional computer vision which had been learned over many years. And since then, all the best recognizers have used neural nets. In 2011, you couldn't publish

a paper on neural nets in the Constanta Computer Vision conference because they said they were rubbish. In 2014, you couldn't publish a paper that wasn't about neural nets. Okay? And in 2014, they did something that I didn't expect. This was done by people at Google, not me, and Yoshua Bengio in his group in Montreal, particularly by a guy called Barda Now and Cho. They managed to get a neural net so you're feeding actually fragments of words in one language. You have 32,000 possible fragments. So the word "that" in English would be one of the fragments. With things like "in" and "on" and what comes out in another language is fragments of words in that other language. And it's a pretty good translation. And that's how Google now

does translation. So it did translation better than symbolic AI. So what changed between 1986 and 2009? And it was basically: computers got faster. That was the main change. Data: so it's got bigger. We developed some clever tricks, and we like to emphasize those, but it was really the computers getting faster, it's getting bigger. But I'll emphasize the clever tricks nonetheless, and I can tell you about two clever tricks. I can tell you about transformers and tell you about better ways of stopping your networks from overfitting. But first, I want to show you an example of what neural nets can do now. So a team at OpenAI took work on

transformers that was originally done at Google. They developed it a little bit further, and they applied it to big neural nets. They have 1.5 billion learnable connection strengths. So yeah, they're learning 1.5 billion numbers. That's the knowledge of the system. And they train it up on billions of words of English text, and all the net's trying to do is predict the next word. So what the net will do or fragment of what the net will give you probabilities for the next word. So if you give it some words leading, it'll give you probabilities for next word. And once the net's trained, what you can do is you can look at those probabilities and if it says there's a probability of 0.4 that the

next word is "that," you pick "that" with probability 0.94, and it says "fish" with probability 0.01, you pick "fish" with probability 0.01, and so you just pick from its distribution and then you tell the whole net, okay, the one I pick was the next word. What do you think comes after that? And this way you can get it to sort of reveal what it really believes about the world. So you're getting its predicted words one at a time, and every time it makes a prediction, you say, "You were right," and it just gets more and more wired away. So they initiated it with some interesting text, and the question is: will the neural net then produce stuff that's sort of related? I mean, first question is: will it produce English words? Will the words have decent syntax? Will have any

meaning? Will they be related to this? If you are really optimistic, you might say: will they sort of relate to the fundamental problem here, which is how these unicorns can speak English? Okay, so here goes. This is what the neural net produced. Now, this was cherry picked; this was one of their better examples. The neural net just made this up, right? It made up Dr. Jorge Perez. There is no such person at the University of La Paz, but it's pretty plausible because it is South America, and I believe La Paz as a university. Okay, so that's the first bit of what it may. Definitely carries on and

it gets better. The next bit sounds a bit like one of those fantasy games. So it's remembered about unicorns and herds of unicorns, right? So they walk up, and there's this strange rally, and it's a very strange value, and they found the herds of unicorns, and it has something about seeing them from the air and being able to touch them, which isn't quite right. So people in symbolic AI leap on this and say, "You see, it doesn't understand." Well, sure, there are little bits that it doesn't get right, but notice it's remembered that these unicorns have to speak English, and so it tells you about

you know, they spoke some fairly regular, regular English. It doesn't know the difference between dialect and dialectic, but my kids don't know that either. In fact, I'm not sure I know. It assigns attributes of the unicorns to Argentina, even though Dr. Perez comes from Bolivia, and it actually understands about magic realism, so the descendants of a lost race. And I love the bit at the end where it says, "In South America, such incidents seem to be quite common." This has an ability to just make up something that fits your prejudices and sounds moderately

plausible, like a certain president, and it finally gets to the point which is, if you really want to know where these unicorns reduced by breeding with this strange race of lost race of people, you ought to do a DNA test. Okay? It understands that. Okay, so that's what neural nets can do now. This was a neural net with 1.5 billion connections that was trained on Google's, actually, I would draw that—I mean, 1.5 billion connections is trained on a lot of hardware. And we look at what it says, and we sort of

Laugh at how you know it's pretty good but it hasn't got it quite right, but it's pretty good. Okay, what they've done now is they've trained an AI net with 50 billion connections on Google's latest cloud hardware, which is like having several of the world's biggest supercomputers going for you for months. The net has 50 billion connections. I haven't seen any text from it yet, but my prediction is it's sitting around laughing at how cute what we produce is. Okay, so one thing about that net is it's clearly very well aware of the initial context. These unicorns in a valley that

speak English, and it's remembering this initial context a long time later, and they're occurring. Your net can't do that or occurring on that would have forgotten about the initial stuff and wouldn't produce such good context-dependent stuff. So the way this works is a word comes in, the neural net makes some hidden units. That kind of activity in the hidden units goes and compares itself with previous patterns, your point of view with previous patterns at earlier times. And when it finds a pattern at an earlier time that's a bit similar, it says that we'll take advice from that previous hidden pattern about how to affect the next layer, and so

actually a word comes in and how one pattern of activity in the bottom layer of the hidden neurons affects the next layer is dependent on what happened previously. Now, it's depending on quite a complicated way and this seems very implausible for a brain because what's happening in the computer is you're storing all these activity patterns—they're meant to be neural activity patterns or like neural activity patterns—and you're comparing. And this looks hopeless, but actually all you need to do is every time you have an activity pattern and you use the outgoing weights to affect the next layer, just change the weight slightly with Hebbian learning, so

now what's going to happen is that weight matrix that comes out of that activity pattern is going to be modified slightly. Now, I want to get a new activity pattern. If the activity pattern is orthogonal to the previous activity pattern, then any modifications you made in the weight matrix due to that preview you can't make any difference. But if it lines up with the previous activity pattern, if it's similar, the modifications you made in the weights back there, the temporary modifications will cause this new activity pattern to have a different effect. So you'll get that long temporal context, and the way to store a long temporal context is not to keep copies of neural activity patterns, is to take your weights and to have temporary changes to the weights, which I

call fast weights. So you temporarily change them and these changes decay over time, so you'll have a memory. So if you ask where in your brain is the mule memory of what I said a few minutes ago, I'll ask the younger people this because of the older people, it's nowhere. With the younger people, it's somewhere. You can, if I were to say suddenly I said a few minutes ago, like these big neural nets and I laughing at us, you remember I said that? Where was that memory? I think it's in the temporary changes to the weights because that's got much bigger capacity than activities and neurons and you don't need to use up neurons just sitting there remembering, right? And those temporary changes don't need to be driven by backpropagation; they can just

be Hebbian. Okay, so I've tried to relate these wonderful nets that can make up stories with an idea about short-term memories in the brain, and now I'll talk about whether the cortex can do backpropagation. So neuroscientists 20 years ago, neuroscientists, "Don't be ridiculous. Of course the brain can't do backpropagation." And that interpreted very literally as sending signals backwards down the same axons and the same neurons, don't do that. New things. But now we know that backpropagation works really well for solving tough practical

problems. So that's rather changed the balance because when backpropagation was just a theory of how you might get computers to learn something, and when it learns some simple things, it wasn't sort of imperative to understand whether the brain did it. But now we know that you can do all these things with backpropagation. What's more, we know that backpropagation is the right thing to do. But if you have a sensory pathway, then you want to take the early feature detectors so their outputs are more helpful for making the right decision later on in the system. Then what you really need to do is ask the question: How should I change the receptive field of this early detector so that that is what is output helps with the decision,

and what you have to do is do backpropagation to compute that. That's the efficient way to compute it, and I think it'd be crazy if the brain wasn't somehow doing this. So why didn't your neuroscientist think it's impossible? Apart from silly objections like things don't go backwards down axons at least not at the right speed, he wants me to update things, oh, it's just died. I'm gonna go out, represent

amount and go back into presenter mode. Okay, so here's some reasons why the brain can't do backpropagation. The first reason is they say, "Well, it doesn't get the supervision signal," and they're imagining that the supervision signal is like you take a micropipette and you put it into the inferior temporal cortex, and you inject the right answer, and the brain doesn't have anything like that, right? But actually if you take that language model, it didn't need labeled data, it was just trying to predict the next word, so you can often use part of the input, maybe a future part of the input or maybe a small part of an image that's

The right answer, and so you can get supervision signals easily, so there's no problem with supervision signals. The second reason is neurons don't send real-valued activities; listen, spikes. And backpropagation is using these real-valued activities, so you can get nice smooth derivatives. So backpropagation can't possibly be what's going on in the brain. The third objection is neurons have to send two signals: they have to send their activity forwards, and they have to send error derivatives backwards. The signal they have to send backwards is how sensitive am I to changes in my input, or rather, if you change my input, how much does that help with the final answer? And the last—

The thing is about neurons having reciprocal connections because you have to, when you send things backwards, if it's a different neuron, you have to use the same weight as the forward weight. I'm not going to tell you how you can overcome that, but you can easily. So, supervision signals isn't really a problem. There are many ways to get a supervision signal, and the simplest is predicting what comes next. Now, the question of can neurons communicate real values. Well, the first thing to notice about back propagation is if you have very noisy estimates of the gradient, it works just as well. It's very, very tolerant of noise as long...

As it's unbiased noise. So, for example, the signal you sample can be one bit, one stochastic bit, and the signal you send back can be two bits. If they have the right average value, the expected values are correct, then they're just this expected value plus some noise, and the whole system still works fine. So in the brain, you have a neuron; at any instant, the neuron has an underlying firing rate, and it produces spikes. And for now, let's just suppose it produces spikes according to a Poisson process. So it's just the probability of producing a spike in a small interval, which is the underlying firing rate. And the question is, suppose we treated it as if it could...

Send that underlying firing rate when it sends a plasma spike is just a very noisy version of the underlying firing rate. It's a 1 or a 0, but its expected value is the underlying firing rate. Okay, so how well do neural networks work if we send very noisy signals? So I'm gonna have a statistics digression. If you do Statistics 101, they tell you you shouldn't have more parameters in your model than you have data points. You really ought to have quite a few data points for each parameter. It turns out this is completely wrong. Beijing's knew.

It was wrong. She—um, the brain is not in the race-aim regime of statistics. When I won in the brain, you're fishing about 10 to the 14 parameters, and you have about 10 to the 9 seconds. So even if you have sort of 10 experiences per second—so even if 800 milliseconds is a time for an experience—that's the kind of backward masking time you have. Like 10,000 synapses per 100 milliseconds of your life, you're throwing a lot of parameters. So if your mother just kept saying, "Good, bad, good, bad, good, bad," she couldn't possibly provide enough information to learn all those 10 to the 14 parameters. And here's what they teach you wrong in.

Statistics, everybody knows that if you've got a given size model with a given number of parameters, the more data you have, the better you'll generalize. So, for a given size model, it's always better to have more data. In fact, the best thing you can do is get more data. Okay? But that doesn't mean that if you've got a fixed amount of data, you should make it look like a lot by having a small model. That's what they tell you, sir. This is 101, okay? Big models are good if you regularize them, if you stop them doing crazy things. We can see that using a lot of parameters is good. You can always win by having more parameters, and the way you do that is say, "I'm gonna have a committee, I'm going to learn lots."

Of different little neural nets you give me more parameters, I learn more different neural nets, and then I'll average what they all say, and you'll always win. It's a sort of declining win, but if you have enough of them, you'll win by having more. So it's always better to have more parameters, it turns out. If you have a fixed amount of data and you have enough computation power, which the brain has, you should always use such a big model that the amount of data looks small. That's the regime you ought to be in for a fixed amount of data. That is, if you seek the limit when the amount of data is fixed and you have unlimited computation and ask now, how big would you like your

Model to be, you'd like your model to be much bigger than the data, okay? Now, that only works if you have a good regularizer, and I'm now going to tell you a very good regularizer called dropout. So this is to use in neural networks where you have a lot more parameters and you have data points to train them on. And you could learn ensemble of little models, and this is a way of learning an ensemble of many more models, but the models in there can tangle things with each other. So the idea is, if we just have one hidden layer in your net, we put the data in, and each time we...

Shout a data vector. We randomly remove half the neurons. So we randomly get rid of half the neurons in your brain and only use the ones that remain, and it's a different subset we remove each time. Now, when we do use dropout, we use it with the same weights each time. So what you've got is if you've got H neurons, you've got two to the H different subsets. In yours, you might use—so you actually have two to the H different models, exponentially many models. Most of the models are never used, a few of the models will see one example, a small fraction of them will see one example, no models will see two examples, and yet they can learn because they're all sharing parameters. So this idea of

Sharing parameters in the neural network is very effective. So really, you've got all these different models that are sharing parameters, and you train it up, and it generalizes really well. So I said that, so what we know is if you get rid of a fraction of the neurons each time and treated it as though they weren't there, it works really well. That's just a form of noise, and basically this is just an example of if you have a very big model and you add a lot of noise, the noise allows it to generalize well, and it's better to have a big model with a lot of

noise than to have a small model with no noise. And so what the brain wants, because it's got such a big model compared with the amount of data it operates on, it wants a lot of noise. And so now a person is kind of ideal: it's got a firing rate, and now it adds a whole lot of noise to that and either sends a 1 or a 0, and that actually makes you generalize much better. Okay, so the argument is the reason yours don't send real values is they don't want to. They want to send things with a lot of noise in, and that's making them generalize better. So that's not an argument against backpropagation. He's dropping models a trained with backpropagation. So the random spikes are really just a way of adding noise to the

signal to get better generalization. And now the last thing I want to address—I'm going to keep going till Blake stops me, and I figure I've got about another 5 minutes before he gets really ratty. So the output of a neuron represents the presence of a feature in the current input. So it's obvious the same output can't represent the error derivative, right? You couldn't have a neuron that said to higher layers, "This is the value of my feature," and said to lower layers, "This is my error derivative." It couldn't be done, so the neurons that get backprop need to be different neurons, except that

that's nonsense. So here's my claim. Yoshua Bengio picked up on this stage; I made this claim first in 2007. I share mainly first immigrant module, but I still believe this claim, even though nobody's managed to make it work really well in the neural net yet. The idea is a neuron has a firing rate. That firing rate is its real output, which is communicated stochastically by a spike, and that firing rate is actually changing over time. The underlying firing rate and the rate of change of the firing rate is used to represent the

error derivative. Now the nice thing about a rate of change is it can be positive or negative, so we can represent positive or negative derivatives without a neuron having to change the sort of signs of its synapses. And what it's representing—the derivative’s representing—is the derivative of the error with respect to the input to the neuron, and that gets sent back to earlier neurons. So, never had enough time. I could show you a whole bunch of slides about how this will do backprop, but I want to show you one consequence of this. So that's, look, here we have a nice equation because it's got light knits on one side, Newton on the other side—that's likenesses notation for derivatives because they're not derivatives with respect to time, and

this is Newton's notation because that was for derivatives with respect to time. Okay? And what we're saying is the output of neuron J—which is why J is the output in your and J—but how fast that's changing over a short time interval is the error derivative. This is just a hypothesis, you understand, but it's true. (laughter) J McClelland—I first used a version of this in 1988, before we knew about spike timing-dependent plasticity. I'm not sure to be discovered them, where you take—this is where I need the cursor, yes, yes,

you take some input, you send it to some hidden units, which send it to more hidden units by the green connections—it says there's more hidden units—it comes back to the input, so you reconstruct the input, and then you send it around again, not all the way around but up to there and up to there and after there using the right connections. And then the learning rule, which you'll notice doesn't involve explicit backpropagation, is to say for these neurons, for example, I change the incoming weights by the activity of the presynaptic neuron down here times the difference between what I got on the green iteration on the red activation first time around a second time around. So the rate of change of the activation

of the neuron is what's used to communicate an error derivative. Now unfortunately, this thing has the wrong sign, but later on we fix that. And so here's a theory from 2007 that still hasn't been conclusively proved wrong, and it sort of worked but doesn't work quite as well as we hoped, about how you could get a brain to do backpropagation. What you first do is you learn a stack of auto-encoders that, as you learn, get each layer to actuate features in the layer above, from which you can reconstruct the layer below. So you learn some features that can really attract this way. Then you feed those features of data and lots of features of doing strike them—you've built a big stack of

autoencoders like that, okay? Once you've built the stack of autoencoders, then each layer can activate in E-lec, and we construct the activity in the layer below. And then you do top to top Lampasas—you do a top-down pass from the thing you predicted at the output. So you put an input, actually, goes forward through the layers, you predict something at the output, and now you do a top-down pass and you get reconstructed activities every one. And then you take your output and you change it to be more like the desired output, and now you do a top-down pass and you'll get slightly different reconstructions. And the difference between those two

Reconstructions is actually the signal you need for backpropagation. And so, if you do that, the learning rule is that you should change your synapse by the presynaptic activity in the layer below times the rate of change of the activity in the layer above in the postsynaptic neuron. So, it's a very simple learning rule. It changes the weight in proportion to the presynaptic activity times the rate of change of the postsynaptic activity. Now, it turns out if you're using spiking neurons, what that amounts to—that are representing underlying firing rates that are changing—that amounts to a learning

rule. It looks like this: what you do is you take a presynaptic spike and you ask whether the postsynaptic spiking is before or after it, because what you're interested in is the rate of change of the postsynaptic firing rate around the time of the presynaptic spike. Okay, and if the postsynaptic spike occurs often just after it and seldom just before it, that suggests the firing rate's going up. And if the postsynaptic spiking occurs often just before the presynaptic one and less often just after it, that means the firing rate of the postsynaptic

neurons is going down. So, if you want your learning rule to be the presynaptic activity, well, you'll only learn when you get a presynaptic spike. And then what you'll do is you'll say, did the postsynaptic spiking occur afterwards or before? If it occurred afterwards, I should raise the weight; and if it occurred before, I should lower the weight. And so your learning rule will look like this. And this thing is actually a derivative filter; it’s centered at zero. And what this is really doing is measuring the rate of change of the postsynaptic firing rate. And, of course, it’s sampling it. So you have a postsynaptic firing rate. This is spike trains, and are the other spikes even closer together or further apart? Well, this is a way to

measure that. And, of course, you can do the learning on individual spikes, and the learning rule would then be the implementation of this idea that the rate of change in the postsynaptic firing rate is the error signal. The learning rule’s just be: if the postsynaptic spike goes after the presynaptic one, increase the strength; otherwise, decrease it and have that whole effect fall off as the spikes are further away, because we’re really only interested in the rate of change of the firing rate around the time of the presynaptic spike. Now, there’s one consequence of that, which is that if you’re going to use the rate of change of a neuron to represent not what the neuron’s representing but to represent an error derivative, you’ve

basically used up temporal derivatives for communicating error derivatives. So you cannot use temporal derivatives to communicate the temporal derivatives that the neuron represents. So, if an neuron represents position, I can’t use how fast that’s changing to represent velocity—and that’s true of neurons. If you want to represent velocity, you have to have a neuron whose output represents velocity; you can’t do it with the rate of change of a position neuron. If I kill the velocity neurons and keep the position neurons, then if I watch a car moving, the position neurons will change but I won’t see any motion. Similarly, you can’t use the rate of change of a resting neuron to represent acceleration. Okay, so I think the fact

you can’t use the rate of change of a representation to represent that the stuff in the world is changing is more evidence of the idea temporal derivatives of neurons are used up in representing errors. So now I’ll summarize the main arguments against backpropagation: the fact that neurons have spikes rather than real numbers, well, that’s just because a lot of noise regularizes things. You can represent error derivatives, temporal derivatives, so the same neuron can send temporal derivatives backwards, communicate those backwards and communicate activities forwards. And the

fact that in the brain you do get feedback underpinning plasticity seems to be evidence in favor of that representation of error derivatives. Known done. (applause) Thanks, Jeff, for a great talk. Sorry, that was a Twitter joke. Got it. Anyway, so now what we’re going to do is a brief Q&A between myself and Jeff. And then, after I’ve had my chance to ask some questions, I’m going to open it up to you guys. Now, I had originally sent Jeff

a few questions, which I’ll rely on partially, but his talk is— we want to ask a few others. So I’m sorry, I’m going to throw a few loops at you as well. But let’s start with some of the ones that I told you. I want to give you something funny, but there is something funny with my mic—is it? I don’t know if you guys there. I’ll just— won’t look down. Yeah, don’t look down. Um, okay. So the first question— yeah, it’s a good—I’m going off script anyway. The first question, which I would like to ask just because it’s something that I spend far too long arguing with people online is

essentially, you know, so you’re in the computer science department, you’ve come here, you’ve given us a talk that’s largely about brains, but many people seem to object to the idea that computers have anything to tell us about brains, or indeed the idea that the brain is a computer, despite the fact that neuroscientists often refer to computation in the brain. So my question is to you: is the brain a computer? Why? I just hand that over to you first. Oh, yes, good, okay. And for the record, I didn’t tell him to say that. If I haven’t, Witter is watching. And, Be, can you just maybe give an intuitive understanding of why the answer is yes despite the fact that obviously our

Brains are very different from our laptops or our cell phones. Now, it's not like—right, so there's many ways you can do computation with physical stuff, and you could get some silicon and make transistors and then run them at very high voltage, much higher than needed to make them be digital, and then you could, if you wanted to represent a number, you could have bits and you could—and so on, and you could create multipliers and adders, and then you can put a lot together and you could have some bits that tell you where in memory to find stuff, and you can make a conventional computer. Or you could make little devices that have some input lines that are hardwired with input.

Lines, and you could have adaptive weights on the input line. So early neural nets—Marvin Minsky made neural nets out of feedback controllers that we used in, I think, B-52 bombers, or B-29 bombers, or something B-27, but I don't—I don't know, some kind of bomber. It was American. And so you can make computers in lots of different ways. When I was a kid, I used to make computers by—you take a six-inch nail and you saw the head off, and then you wrap copper or outs wire around it, and then you take a razor blade and you break it in half so that it's a nice flexible thing like this, and you wrap a bit of copper wire around the razor

blade, and then when the current goes through the nail, it'll make the razor blade go down, and you'll make contacts. So now you've got a relay, and then you can put a bunch of those together and make logic gates. I never got more than, right, two logic gates that way, but yeah, you can make computers in lots of different ways, and the brain is clearly made in a different way from the normal computers, which has some different strengths and weaknesses. So it's much slower, but on the other hand, you can make it much more parallel. It has one special property, which I think is what makes us mortal, which is that every brain is different. So I can't take the weights from my brain and put them in

Blake's brain, and I hope that it'll work, because he just doesn't have connections in the same place, right? Yeah. Well, there's a way of doing it where I take the weights in my brain, I turned them into strings of words, like 'absorbs', these strings of words. It was different weights in his brain, it's pretty lucky. Our libraries are different, because otherwise, rich people grabbed poor people's brains so they could live forever but fight. Okay. So I think I want to ask you then, following on that, what do you think about some of

the quests to fully characterize the brain's connectome? Do you think that is a scientifically worthwhile endeavor? Yes, I do, um, part because some of the people doing it are my friends. Ignoring your loyalty to Sebastian, what not? Well, in that case, no. It seems to be—it is very worth doing, yes. But you don't have to do that in order to begin to understand the principles. Very good. But for things like the retina, which has a lot of hardwired stuff in it, I think it's really important to do that. Okay, so that actually leads on to my next

question I wanted to ask you about hardwiring. So another thing that I think many people who study the brain find difficult to vote artificial neural networks as a model for the brain is that, as you say, you start with random weights and you train it on a lot of data and you get these things out. But we know that there are some pre-wired things in many brains. So, you know, the classic examples are a horse can run pretty much right out of the womb. But even within humans, arguably, there are some things that we find easier to learn than others. Yeah, and so what do you think is the place for innate behavior within neural networks as a model of

cognition? Okay, so it used to be when I was a student, if you were interested in language, people would tell you that it was all innate and he just kind of matured as you got older, and maybe you learned like twelve parameters that characterized your particular language, whether it was subject-verb-object or some other way. If—had—there's a Nova that I saw, it's probably made about twenty years ago and has all the leading linguists, all of whom educated by Chomsky, and they look straight at the camera and they say there's a lot we don't know about language, but one thing we know for sure is that it's not learned. So Chomsky had

really good Kool-Aid. Yeah, he did. But it's over, because we know now if you want to translate, you just learn it all. The number of linguists required to get a system that can turn a string of symbols in English into a string of symbols in French is roughly zero. I mean, linguists involved in preparing the databases for training and making sure you get sort of variety of chromatic structures and things, but basically you don't need linguists. You just need data. So you don't need much innate structure. The issue of what is innate, it doesn't—it seems to me there's not much point putting in stuff innately

if you can learn it quickly. So for example, the ability to move and get 3D structure from motion, that's actually very easy to learn, so I don't believe that's innate, even though a child can do it at like two days. You show them the sort of W made of paper and you rotate it in a consistent way and they get bored, and as soon as you rotate in a way that they move it in a way that's not consistent with rotation, they dangerous perk up. But I think they can learn it in two days. It's really easy to learn. Ok.

Interesting now. So I want to ask you—I know partially what your answer is going to be—but when I remember long ago, you told me that one of your career goals, at least earlier in your career, was to prove that everything that psychologists thought about the brain was wrong. And so my question is: what was it that they had wrong? Are they still getting it wrong? And is neuroscience getting that same thing wrong? It was mainly to do with this conviction psychologists had, partly based on Chomsky, that there was an awful lot of innate stuff there, and that you

couldn't just learn a whole bunch of representations from scratch. There was this innate framework, and there was a little bit of tuning of this innate knowledge, and that's what learning was. And that's just—I think that's a completely wrong-headed approach. In fact, I want to go the other way, and I want to say the stuff in the brain that's innate wasn't discovered by evolution; the stuff in the brain that's innate was discovered by learning. Do I have time to do that digression? Yeah. Yeah, okay. So imagine we have a little neural network, and it's got 20 connections in it, and

each of those connections has a switch that could be on or off, so it can let stuff through or not. So you've got to make 20 binary decisions, so your chance of making them by chance is one in a million and making the correct decisions. No, this little neural network circuit is a mating circuit. And so the neural net goes into a singles bar, and it runs this circuit, and if it's got the connections right, it has lots of offspring; and if it hasn't got the connections right, it doesn't have offspring or doesn't have so many offspring. Okay, so let's start off with the connections being—if they were just kind of random and you did

mutation, what would happen is you'd have to build about a million organisms before you got a good one. And if you had sexual combination of the organisms—let's have a really simple biology in which each connection has its own gene, and this gene has two alleles for on and off. Okay, if you do mating now, you might have an organism that got all 20 connections right, and it mates with one that has a few wrong, and it gets a few wrong ones, and now it's wiped out; it doesn't have lots of offspring anymore. That's it. So it seems like a complete disaster, and it would obviously take you at least a million organisms to expect to get a good one, even if you have parthenogenesis where you didn't have sexual reproduction. Now

I will show you how to build a good, good organism—you know, only thirty thousand tries. And the way you do it is this: you, for each connection, you have three alleles. You have turned the connection on genetically, turned the connection off genetically, or leave the connection to learning. Okay, so that's the third over. And now you start off with a population in which about half of the connections are genetically determined, and the other half are left to learning. So that's ten connections that can be determined. So there's a one in a thousand chance that you luck out genetically; you get those

ten right. And then, during the organism's lifetime, let's have a really dumb learning algorithm where it just randomly fits—like the one I talked about—randomly fiddles with the connections, just randomly flips connections of the ten that are left to learning, and it'll take it about a thousand trials and it'll get the combination right. But the point is it can do those trials without building a whole organism; it can just go into the singles bar and sort of fiddle around a bit with this connection. Such a bang. So what we've done is we've replaced a million trials of evolution building a million organisms with build a thousand organisms, and then let's build 30,000 organisms just to be safe,

and then each of those fiddles around with its connections, and it'll do this search—the whole search is saying after our million combinations. But the way you get the million combinations is a thousand organisms each, there's a thousand learning trials. And so almost all the work is done by learning. Now, if genetically an organism happens to have more things set—like it's got twelve of them set right—it'll learn faster. And so genetic pressure for, if you mate organisms now, there's genetic pressure to get more and more of these alleles set genetically. But the pressure only

comes because the learning can get all 20 set right. So this thing can mate and have lots of offspring. So the fact that the learning can find a solution creates genetic pressure to hardwire these things. So what's happening? There's the search: a thousand things were done by evolution; a million minus a thousand things were done by learning; and that created a landscape for evolution that allowed evolution to gradually how worried more and more. But these things were first planned by learning. So I think a lot of the structure in the brain that's hardwired is first formed by learning and gradually gets backed up

into the hard wiring. But to get the evolutionary pressure to say that's good, you have to be able to do the learning; you just hardwired things, you'd never find anything that was good. Okay, great, thank you. Now, that's called the Baldwin effect, by the way. Yes, yeah, it's called after a psychology professor at the University of Toronto in the 1890s called Baldwin, who invented this effect. He didn't do any computer simulations. Oh, so I want to do one follow-up question on that and then ask my final question before handing it to the audience. So my follow-up to that is, you know, I think one of the things that is unclear

In terms of the success of deep learning, is it exactly how much it was purely the compute or some clever things? Now, I've seen both cases argued and you today kind of suggested that it was just the compute. But I want to ask you about this, falling on your last point, which is that we know that if you build networks with particular architectures and with particular learning rules, you are effectively making learning faster if you do it right. And arguably, a lot of the success of deep learning has actually been as a result of people thinking about good designs for their networks and good ways of making learning faster. Yep.

So would you potentially say that we have seen that process that you just described actually occur within AI over the last 10 years of the learning kind of backing up into the hard wiring? I (music) need to think about that. What we've seen— I mean, Yann LeCun invented convolutional neural nets, right? Yes. More explain that in the late 1980s, but computers weren't fast enough to really do a lot with them. So they were used for handwriting recognition and they were used for reading 10% of all the checks in America, but they didn't really take off. They really took off when the computer hardware came along to make them really

efficient. So that's a case where the ideas were had first, but without the hardware they didn't work. You've obviously got 'em both, right? Yes. Okay, so now my last question before I hand it to the audience is just, what do you see as being the future of the interaction between neuroscience and AI? Do you think that there is space for a sort of new cognitive science where we study general intelligence but with brain-centric models rather than logic-based models? Or will we see the two streams depart over the next few decades? The way I like to think of it is we'd like to understand—if you like to understand how the brain does computation— you've got brains in

your computation, and they look like, you said, they look pretty different to begin with because there's many different ways to do computation. And with a conventional digital computer you can get it to pretend to be anything, so we're getting it to pretend to be some other kind of computer: an artificial neural net. And we'd like to sort of bridge this huge gap between brains and what we can simulate on computers. And so neuroscientists are sort of doing experiments, and good computational neuroscientists are sort of experiments to try and sort of see how you could do the computation. And I think of myself at this end as doing simulating things with artificial neural nets to see how you can make it more

biological. And we're trying to build a bridge. And so the computational neuroscientists—miss them!—are building from this end, I'm building from the other end, but obviously if you want to build a bridge to somewhere, you need to look at where you're going. And so I'm trying to build a bridge that does conversation more and more like the brain does it, or like, I guess, the brain does it from what light my neuroscientist friends tell me, and then this conventional AI, which is trying to build a bridge like that. Great. Okay, thank you. So now I'm going to open up to questions from the audience. Now, for this we've got this kind of interesting system here, so rather than you putting up your hands and me selecting you,

you can actually nominate yourself to ask a question by pressing on the button on your microphone, and it is a first-come, first-served basis, so you're going to be queued up. And NASA aid, you're now first on the queue, and by now, it's too late to be able to answer questions. Yes, and one last thing about that though, when you are done asking your question, please turn off your microphone because that will open up this slot for the next person in the queue. Okay, go ahead. Yeah, if your red light is flashing, that means you're on, you get to ask a question if

your red light is flashing you're on. Oh, solid, sorry. Okay, I've got a slowly light; you were faster. Okay, so this is a Clifton Suspension Bridge analogy for your for your interests. Yet, so you mentioned briefly Hebbian synapses. As neuroscientists, we have a good understanding of how they work at a molecular level. So my question is to what extent are the understanding of biological memory mechanisms, Hebbian synapse, is implemented by AI for deep learning and the sorts of systems that you're describing? So at present, people don't use Hebbian synapses for most deep learning; they're using back propagation. So it's

an error correction rule as opposed to something where if you just use it, it gets stronger. But if you want a short-term memory for things like transformers to remember a temporal context, just as simple, have been synapses is a good thing to have. Yeah, but Hebbian synapses can encode memories in humans that can last a lifetime. So is this something that AI is working towards using or are we just going to bypass Hebbian synapse and come up with something superior? Okay, so if you think about what's been successful in the last few years, it's using error correction learning with either labeled data or trying to predict what comes next and not Hebbian, not

Hebbian synapses. Now, people like me who sort of do this kind of learning but interested in the brain—no, this isn't right. We're much more interested in unsupervised learning. We just can't make it work very well yet. And I would love to be able to get learning to work as well as it does when you do back propagation without using biologically implausible things. And one place we can do that is with temporary memories. So if you say synapses have a fast component, you can use Hebbian learning for that fast component and that will actually help you or let's work better even if you're using back propagation for the slow.

Component that didn't really answer your question but, you know, filled the time. (laughter) Hello. I read in the reinforcement learning book that dopamine is used as a reward prediction error signal. So, I was wondering, do you see it used as a supervisory signal, like a patient, like you mentioned earlier? Okay, so for reinforcement learning, there is some lovely work done by Peter Dayan, who is the theoretician, and some experimentalists showing that all data from neuroscience fits in with a theory that was started with Rich

Sutton, and Peter Dayan did the work of showing that dopamine corresponds to something in a particular learning algorithm, and it doesn't correspond to the reward. It corresponds to the, I think, it's the difference between the reward you are expecting and the reward you get. So, if you're a monkey and you're expecting a grape and I give you a piece of cucumber, that's negative reward and that will be a big negative hit of the dopamine. So, that's not the kind of learning that's been really successful so far. If you're willing to burn a lot of computer time

reinforcement learning will solve some problems, but it's not the kind of learning that's been most successful in AI. So, the difference is in reinforcement learning you get a single scalar; you get one number. Whereas in error-correction learning, you typically get a whole vector of numbers right here. Hey, so you mentioned that your goal kind of bridges analogies. Your goal is to go from, you know, computers and try to get to the brain. So, okay, let's just say that kind of makes sense to think, okay, let's get some more general AI, because I'd say humans are decently general, and neuroscientists are trying to get from

the other bridge, the brain, to generalize. So, you have these two kinds of debates, and this happens quite often: where is it correct to go from general AI to the brain first, understand general AI, then understand the brain; or brain to general AI? And so, what would you say is the most practical way to probe, problematize general AI? I don't like the phrase general AI. I don't think, if you want intelligent devices, I don't think you want to produce the sort of general-purpose Android. I think you want to produce different devices that are smart in different ways.

So, basically, if you want intelligent machines that do things, you have a vacuum cleaner; you have a backhoe. You don't try to make one thing that's a vacuum cleaner and a backhoe. Yes, it doesn't make sense. What about connecting them through, like, kind of different cognition areas in the brain? Yeah, but I think it's the same with cognition too. I think the neural net that does machine translation isn't the same neural net as does vision. I think, yeah, my guess is that people are thinking too much about making one neural net that does everything and not thinking enough about making more modular neural nets that are good at different things, some more universal

than others, but I think that's how progress is made. That's how progress has been made so far. Not by the people talking about general AI, it's being made by people looking at, saying, how can I get in your laboratory vision or how can I get it your machine translation? Thank you. Hi, I'm just wondering about the role of hierarchy in general. So, I mean, there are differences, how hard he — there's like different layers of your network. Yeah, so you mentioned there's like fast memory and slow memory, and then, so I wonder, are there more ways to add hierarchy to neural networks to make them more useful or emulate actual brain? Yes, probably. So, envision, for example, I

mean, you have multiple layers. That is your multiple cortical areas in the visual pathway. That's a very different kind of hierarchy from what you need for dealing with the sort of structure we also, it's own reality. There's the universe, maybe many of them, that's one’s enough, and then there's galaxies, and then there's, there's probably things about galaxies beginning, there's being in the galaxies, the stars, and then there’s solar systems, and then there's planets, and so on. And we can do that all the way down to atoms, right? Then you can imagine, or what you can represent all that in your brain. And clearly, what's going on is, out in

the world, there's this hierarchy that goes over many, many orders of magnitude from the universe down to quarks, whatever the smallest thing is now. And you don't want that kind of hierarchy in your brain. What you've got in your brain is the ability to deal with a little window of hierarchy where there's a sort of object in its parts, and to deal with the whole universe, what you do is you can take this window, then you come map at a scale of the universe where there's the universe and the galaxies, or there's the galaxies and the stars, or just the atom, and there's the electrons. And so you're using the same neural hardware

but mapping reality onto it differently. And so, I think whenever we have to deal with anything complicated, we use hierarchies, but the way the brain uses them is by varying the mapping from reality onto the brain, and it really can only operate with a small window on a hierarchy, which you can move up and down, much like you only have a small region of high resolution which you move around. Still logarithm? Sorry, like logarithm? What about logarithms? So, that's what you're talking about, right? Compressing a big range into something that is much more manageable? I wasn't thinking of it like that. I was thinking of it as you have some fixed hardware.

And when I'm thinking about the solar system, my fixed hub, I couldn't possibly do with the universe. That's much too big, and it couldn't possibly with an atom, as much too small, but it's fine dealing with the suns and planets and maybe a moon or two. What I'm trying to get at is we need to make a big distinction between the hierarchy in the real world, hierarchical structures in the real world, and how we deal with them cognitively, where we use attention and we only ever deal with a bit of the hierarchy. That's not the same for, say, aspects of language, where you have no say with

Vision: I can use the same neurons for representing the Sun and for representing a nucleus. It's just an analogy, but it's the same neurons I'm using now. If I'm processing language, I've got things that find me phonemes, and things that turn phonemes into words, and things gem words into sentences. And those, I can't move a window like that. That's a fixed hierarchy with phonemes, and those words, and those phrases, and the sentences, and that's all sort of fixed in the brain. You did—that's not a flexible mapping. You can't kind of move the sentences down so they're where the words move, the words down so the way the phonemes work. That doesn't work. So the some.

Hierarchies that really do relate to sets of neurons in the brain—they're like the layers in the connectionist models. There's other hierarchies like the whole spatial structure of the universe, where what's in the brain is a window you move over that hierarchy. Thank you. Thanks, Doctor Hinton, for excellent talk and excellent ideas about the feasibility of back propagation. My questions may be more boring about the statistical comments that you made, like, is that Dale? Part of me—are you Dale? No. I'm Kyle. You sound like Dale.

Sherman's. I'm at the University of Alberta. Hi. Well, that's a coincidence that you sound just like—too, Amazon University. They train us all to speak the same. Are you a student of Dale's? No. I think I've only—man, you know, if you're student of Dale's I need to watch out because it's going to be a very tricky question. It's not—it's the question is that I was trained with this intuition that you can't over-parameterize your models, that if you're trying to fit a line, that you need two points, if you're trying to fit a curve, you need three, and so on, and that scales up, and you should always have a little bit fewer data.

Points. So I know that you have shown clearly, and the field has shown, that that's not true. What were the statisticians getting wrong in their logic—to do with regularization—that you need it to be highly regularized? But first of all, I'll show you that if you want to fit a—if you want to fit three data points, you would have told me you want a polynomial with only three degrees of freedom. So you want a constant and a slope and a curvature, and that's all you can afford with three data points. Mm-hmm. That's wrong. Now, this is where we

Need a pen. Oh, sorry, they don't work. Okay. Okay, yes. Can you see that? Yeah. Okay. And we're going to have three data points. And actually, if you're a statistician, you'd probably say four-three data points, you probably ought to fit a straight line like this because I could fit a parabola, and the

Parabola would fit exactly. Mm-hmm. And that's a bit suspicious. In other words, the parabola fits exactly, but do you really believe that if you were to ask when x is zero, what's the value of y? Do you really believe that value for y? Because a straight line is far more conservative, right? So that's a position where they fit a straight line. However, that would be a frequentist statistician if you should obey the in-statistician ice. And this is in Chris Buescher's machine learning textbook with a nice picture of it—I think somewhat think it's that book. A Bayesian statistician would say okay, let's try fitting fifth-order polynomials and

Fifth-order polynomials. We might even fit ones that don't exactly go through the data, but for now, let's make them go through the data. So we fit a fifth-order polynomial. It goes kind of one, two, three—well, you know, some order. And we fit another one. Oh, that didn't go through the page. And we keep filling these guys and we fit a gazillion of them. And what you see at the end is that these gazillion ones in between the data points, they're kind of all over the place, and their average is in a sensible

Place like here, but their variance is big. And what they're telling you is if you give me this x-coordinate, I'm rather uncertain about this y-coordinate, but this is a good bet. And similarly here. And if you go out here, these polynomials are just all over the place, and they'll tell you if you give me this x-value, then it could be pretty much anything. But that's not a bad bad, but it could be pretty much anything. And that's a much better answer than you get from a straight line. Yeah. So by fitting a very large number of different polynomials and then averaging, you get good mean answers, and you also get a sense of the variance. Okay, now Dropout is doing

Something like that. Yes. Yeah. And that's brilliant. Thank you for coming up with Dropout. Um, we many of us here working in a regime of sparse data, and so we have a couple channels, a couple signals, a couple voxels, and you've convinced us that we need more. But how is—is there a way forward in AI that can manage with more sparse data? Is this the only regime that's gonna be able to make success? So the really big successes have been on big databases, and I think we should be using even bigger models. But you can't get away from the

Fact that actually, if you're gonna have something that starts off random and sucks all its knowledge from the data, you've better have enough data to suck all that knowledge from. The bigger your models are, the better if you regularize it. But you still need a lot of data. So the way you should think about it is this: if you've got a hundred thousand data points, that's small. I know that's very depressing if you're a neuroscientist. Way it's not depressing, it seems—it's impossible. If you want to personalize medicine for one individual, and you want to train a model on their data from their brain, it does—it seems like there's going to be a disconnect between what these models can do and how they might help someone in the future. And yes and no. If I train a model on a very large number of people.

And then apply that model to one person. That's a formal personalized medicine that really works great. Thanks. Oh, and say hi to Dale for me. Thank you for all. Thank you for the presentation. My last question is about this dropout, you know, the thing is that you randomly just drop some parts of the network and then you say, okay, that it works better. So I would accept it, but do we have any like intuition why, for example, some parts of it work better or if it try to embed this like network?

Into, like, is it more graph, is amorphous, and whether these two different graph, different graphs that we took, where there are, there any similarities between them or we just do it randomly? I guess the problem with the randomness, I guess we were trying to put the burden of prediction on the random part of the computer desk. So I didn't hear the whole question, but certainly in dropout, what we do is we randomly leave out units. We now, you can also do block dropout. You can take groups of units, randomly, like the groups. And what that does is it allows the units within a group to collaborate with one another, and then between groups, have to be fairly independent. And that's called block dropout, and that works quite well too. But

I didn't really hear the rest of your question. Okay, the question was about that. Okay, imagine that you have, and you talk closer to the microphone because I'm partially deaf. Okay, the question is that imagine that you have a dropout of 50% and you're trying to get rid, and get rid of like 50% of your nodes and in the nodes in the network. And the question is, okay, whether we have any similarity between the types. If we do, it's like Ito-actively, whether we would find any similarity on the structure of the network that would produce the best results. And if it's so, whether it would correspond to something physical, like, for example, if you are doing it vision things, whether it would correspond to something in brain or not. Angus? Yeah, lots of people have thought about

Whether you can do better than random and dropout, and there's some work on that like block dropout. The works come work for some things, but I don't really have much to say about—I don't really know the answer to sort of is there something much more sensible than dropout. There's a lot more structured. There might well be, but I thank you. Okay, so with that, we're gonna have to end. So please join me in thanking Jeff. (music) And I only also to thank Blake for hosting this event, and I, I felt the

Questions could have gone on all night, but tip-off is in half an hour, so some of us have to move on. So, thank you, Blake. (applause)

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

Cite this recording

Geoffrey Hinton, “Does the brain do backpropagation? (2019)”, Major technology/media outlet, 2019. Transcript and video: Thinkers Archive, https://thinkersarchive.com/geoffrey-hinton/backpropagation-can-public-lecture-2019/

Quoting a passage? Link to its exact moment: every timestamp above has its own anchor (for example https://thinkersarchive.com/geoffrey-hinton/backpropagation-can-public-lecture-2019/#t-127).

Search every transcript
Open the full search page →