Lex Fridman PodcastFrançois Chollet: Keras, Deep Learning, and the Progress of AI | Lex Fridman Podcast #38
EVERY SPOKEN WORD
150 min read · 30,026 words- 0:00 – 1:14
Introduction
- LFLex Fridman
The following is a conversation with Francois Chollet. He's the creator of Keras, which is an open source deep learning library that is designed to enable fast, user-friendly experimentation with deep neural networks. It serves as an interface to several deep learning libraries, most popular of which is TensorFlow, and it was integrated into the TensorFlow main code base a while ago, meaning if you want to create, train, and use neural networks, probably the easiest and most popular option is to use Keras inside TensorFlow. Aside from creating an exceptionally useful and popular library, Francois is also a world-class AI researcher and software engineer at Google, and he's definitely an outspoken, if not controversial personality in the AI world, especially in the realm of ideas around the future of artificial intelligence. This is the Artificial Intelligence podcast. If you enjoy it, subscribe on YouTube, give us five stars on iTunes, support it on Patreon, or simply connect with me on Twitter at Lex Fridman, spelled F-R-I-D-M-A-N. And now here's my conversation with Francois Chollet.
- 1:14 – 7:51
Self-improving AGI
- LFLex Fridman
You're known for not sugarcoating your opinions and speaking your mind about ideas in AI, especially on Twitter. It's one one of my favorite Twitter accounts. So what's one of the more controversial ideas you've expressed online and gotten some heat for? How do you pick?
- FCFrançois Chollet
(laughs) How do I pick? Yeah, no, I think if you have, um, if you go through the trouble of maintaining a Twitter account, you might as well speak your mind, you know? Otherwise it's, you know, what- what's even the point of having a Twitter account? It's like having a nice car and just leaving it- leave it in the- in the garage. Uh, yes, so what's one thing for which I got a lot of pushback, perhaps, you know, uh, that time I wrote something about, uh, the idea of intelligence explosion, and I was questioning, uh, the idea and the reasoning behind this idea, and, uh, I got a lot of pushback on that, uh, got a lot of flak for it. So yeah, so intelligence explosion, I'm sure you're familiar with the idea, but it's the idea that if you were to build general AI problem-solving algorithms, well, the problem of building such an AI, that itself is a problem that could be solved by your AI, and maybe it could be solved better than, uh, than what humans can do.
- LFLex Fridman
Right.
- FCFrançois Chollet
So your AI could start tweaking its own algorithm, could, uh, start being a better version of itself and so on, iteratively, in a- in a recursive fashion, and so you would end up with, um, an AI with exponentially increasing intelligence.
- LFLex Fridman
That's right.
- FCFrançois Chollet
And I was basically questioning this idea, first of all, because the notion of intelligence explosion uses an implicit definition of intelligence that doesn't sound quite right to me. It considers intelligence as a property of a brain that you can consider in isolation, like the height of a building for instance.
- LFLex Fridman
Right.
- FCFrançois Chollet
But that's not really what intelligence is. Intelligence, uh, emerges from the interaction between a brain, a body, like embodied intelligence, and an environment. And if you're missing one of these pieces, then you cannot really define intelligence anymore. So just tweaking a brain to make it smarter and smarter doesn't actually make any sense to me.
- LFLex Fridman
So first of all, you're crushing the dreams of many people, right? So there's, uh, let's look at, like, Sam Harris, actually a lot of physicists, Max Tegmark, people who think, you know, the universe is a information processing system, our brain is kind of an information processing system.
- FCFrançois Chollet
It is.
- LFLex Fridman
So what's the theoretical limit? Like, wh- it doesn't make sense that there should be some, uh... It seems naive to think that our own brain is somehow the limit of the capabilities of this information, it's just I'm playing devil's advocate here, uh, this information processing system, and then if you just scale it, if you're able to build something that's on par with the brain, you just, the process that builds it just continues and it'll improve exponentially. So that- that's the logic that's used actually by almost everybody that is worried about superhuman intelligence.
- FCFrançois Chollet
Yeah.
- LFLex Fridman
So you're- you're trying to make... So most people who are skeptical of that are kind of like, (sighs) "This doesn't..." Their thought process is, "This doesn't feel right." Like, that's for me as well. So I'm more like, it doesn't... (sighs) The whole thing is shrouded in mystery where you- you can't really say anything concrete, but you could say this doesn't feel right, this doesn't feel like that's how the brain works. And you're trying to, with your blog post and now making it a little more explicit. So one idea is that the brain isn't... It exists alone, it exists within the environment. So you can't exponentially... You would have to somehow exponentially improve the environment and the brain together almost, yeah, in order to create something that's much smarter in some kind of, uh... Of course, we don't have a definition of intelligence. But-
- FCFrançois Chollet
That's correct. That's correct. I- I- I don't think... If you look at very smart people today, even humans, not even talking about AIs, I don't think their brain and the performance of their brain is the bottleneck to their- to their expressed intelligence, to their achievements. You cannot just tweak one part of the system, like of this brain-body-environment system and expect the capabilities, like what emerges out of this system, to just, you know, uh, explode exponentially.... because, um, any time you improve one part of a system with many interdependencies like this, uh, there's a new bottleneck that arises, right? And I don't think even today, for very smart people, their brain is not the bottleneck, uh, to the sort of problems they can solve, right? In fact, many various smart people today, uh, you know, they're, they're not actually solving any big scientific problems. They're not Einstein. They're like Einstein, but, you know, the, the patent clerk days. Um-
- LFLex Fridman
(laughs)
- FCFrançois Chollet
... like Einstein became Einstein because this was a meeting of a genius with a big problem at the right time, right? But maybe this meeting could have, you know, never happened and then Einstein would have just been a patent clerk, right? It's ... and in fact many people today are probably like genius level smart, but you wouldn't know because they're not expressing any of that.
- LFLex Fridman
Wow, that's brilliant. So, we can think of the world, Earth, but also the universe as just ... as a space of problems. So all these problems and tasks are roaming it of various difficulty and there's agents, creatures like ourselves and animals and so on that are also roaming it, and then you, you get coupled with a problem and then you solve it. But without that coupling, you can't demonstrate your "intelligence."
- FCFrançois Chollet
Exactly. Intelligence is the meeting of great problem-solving capabilities-
- LFLex Fridman
Mm.
- FCFrançois Chollet
... with a great problem, and if you don't have the problem, you're not really expressing intelligence. All y- all you're left with is potential intelligence-
- LFLex Fridman
Mm.
- FCFrançois Chollet
... like the performance of your brain or, you know, how high your IQ is, which in itself, uh, is just a number, right?
- LFLex Fridman
Right. So, you mentioned problem-solving capacity.
- FCFrançois Chollet
Yeah.
- LFLex Fridman
What, what do you think of as problem-solving capa-
- 7:51 – 15:23
What is intelligence?
- LFLex Fridman
... what ... can you try to define intelligence? Like what does it mean to be more or less intelligent? Is it completely coupled to a particular problem? Or is there something a little bit more universal?
- FCFrançois Chollet
Yeah, I do believe all intelligence is specialized intelligence, even human intelligence has some degree of generality. Well, all intelligent systems have some degree of generality, but they're always specialized in, in one category of problems. So the, the human intelligence is specialized in the human experience and that shows at various levels. That shows in some prior knowledge that's innate that we have at birth, knowledge about, um, things like agents, uh, goal-driven behavior, uh, visual priors about what makes an object, priors about time, and so on. Uh, that shows also in the way we learn. For instance, it's very, very easy for us to pick up language, it's very, very easy for us to learn certain things because we are basically hardcoded to learn them, and we are specialized in solving certain kinds of problem and we are quite l- useless when it comes to other kinds of problems. For instance, we, we are not really designed to handle very long-term problems. We have no capability of seeing the, the, the very long-term. Um, we don't have, um, very much working memory, you know?
- LFLex Fridman
So, how do you think about long-term? Do you think long-term planning? Are we talking about a scale of years, millennia? What do you mean by l- long-term, we're not very good?
- FCFrançois Chollet
Well, human intelligence is specialized in the human experience and human experience is, is very short. Like one lifetime is short. Even within one lifetime, uh, we have a, a, a, a very hard time envisioning, you know, uh, things on a scale of years. Like it's very difficult to project yourself at a, at a scale of five year, at a scale of 10 years, and so on.
- LFLex Fridman
Right.
- FCFrançois Chollet
We can solve only fairly narrowly scoped problems. So, when it comes to solving bigger problems, larger scale problems, we are not actually doing it on an individual level. So it's not actually our brain doing it. We, we, we have this thing called civilization, right, which is itself a sort of problem-solving system, a sort of, uh, artificial intelligent system, right?
- LFLex Fridman
Right.
- FCFrançois Chollet
And it's not running on one brain; it's running on a network of brains. In fact, it's running on, on much more than a network of brains. It's running on a lot of, uh, infrastructure like books and computers and the internet and human institutions and so on, and that is capable of, uh, handling problems, uh, on a, on a much greater scale than any individual human. If you look at, um, computer science for instance, that's an institution that solves problems and it's, it is superhuman, right? Uh, it operates on a, on a greater scale, it can solves, uh, it can solve much bigger problem than, uh, an individual human could. And science itself, science as a system, as an institution-
- LFLex Fridman
Mm.
- FCFrançois Chollet
... is a kind of a artificially intelligent, um, problem-solving algorithm that is superhuman.
- LFLex Fridman
Yeah. It's, uh, it's a (laughs) ... well, at least computer science is like a theorem prover (laughs) at a scale of, uh, thousands, maybe hundreds of thousands of human beings. At that scale, what do you think is a intelligent agent? So there's us humans at the individual level, there is, uh, millions, maybe billions of bacteria on our skin, uh, there is ... that's at the smaller scale. You can even go to the particle level as systems that behave, uh, you can say intelligently in some ways, uh, y- and then you can look at Earth as a single organism, you could look at our galaxy and even the universe as a single organism. Do you think ... how do you think about scale in defining intelligence systems? And we're here at Google, there is millions of devices doing computation dis- ... in a distributed way.
- FCFrançois Chollet
Right. (clears throat)
- LFLex Fridman
How do you think about intelligence versus scale?
- FCFrançois Chollet
You can always characterize, uh, anything as a system.
- LFLex Fridman
Right.
- FCFrançois Chollet
Um, I think people who-Talk about things like intelligence explosion tend to focus on one agent is basically one brain, like one brain considered in isolation, like a brain in a jar that's controlling a body in a very, like, top to bottom kind of fashion, and that body is pursuing goals, uh, into an environment. So it's a very hierarchical view. You have the brain at the top of the pyramid, then you have the body just plainly receiving orders, and then the body's manipulating objects and environment and so on. So everything is subordinate to this one thing, this epicenter, which is the brain.
- LFLex Fridman
Right.
- FCFrançois Chollet
But in real life, intelligent agents don't really work like this, right? There is no strong delimitation between the brain and the body to start with. You have to look not just at the brain but at the nervous system, but then the nervous system and the body are not really two separate entities. So you have to look at an entire animal as one agent, but then you start realizing as you observe an animal over a- a- a- a- a- any length of time that a lot of the intelligence of an animal is actually externalized. That's especially true for humans. A lot of our intelligence is externalized. When you write down some notes, that is externalized intelligence. When you write a computer program, you are externalizing cognition. So it's externalized in books. It's externalized in- in computers, the internet, in other humans. It's externalized in language and so on. So it's... There is no, like, hard delimitation of what makes an intelligent agent. It's all about context.
- LFLex Fridman
Okay, but, uh, AlphaGo is better at Go than the best human player. W- uh, you know, there's levels of skill here. So do you think there's such a ability as- a such a concept as a intelligence explosion in a specific task? And then... Well, yeah, d- do you think it's possible to have a category of tasks on which you do have something like an exponential growth of ability to solve that particular problem?
- FCFrançois Chollet
I think if you consider a specific vertical, uh, it's probably possible to some extent. I also don't think we have to speculate about it because we have real world examples-
- LFLex Fridman
Mm.
- FCFrançois Chollet
... of recursively self-improving intelligent systems, right?
- LFLex Fridman
Right.
- FCFrançois Chollet
So for instance, science is a problem-solving system, a knowledge generation system, like a system that experiences the world in some sense and then gradually understands it and can act on it, and that system is superhuman and it is clearly, uh, recursively self-improving because science feeds into technology. Technology can be used to build better tools, better computers, better instrumentation and so on, which in turn, uh, can make science faster, right? So science is probably the closest thing we have today to a recursively self-improving superhuman AI. And you can just observe, you know, is science, is scientific progress today exploding? Which, you know, itself is- is- is an interesting question. You can use that as a basis to try to understand what will happen with a superhuman AI that has s- uh, uh, science-like behavior.
- LFLex Fridman
Right. Let me linger on it a little bit more.
- 15:23 – 26:57
Science progress
- LFLex Fridman
What is your intuition why an intelligence explosion is not possible? Like taking the scientific... all the s- semi-scientific revolutions, why can't we slightly accelerate that process?
- FCFrançois Chollet
So you- you can absolutely, uh, uh, accelerate any problem-solving process.
- LFLex Fridman
Yep.
- FCFrançois Chollet
So, uh, recursively, uh, uh, recursive self-improvement is absolutely a real thing, but what happens with a recursively self-improving system is typically not explosion because no system exists in isolation. And so tweaking one part of the system means that suddenly another part of the system becomes a bottleneck, and if you look at science for instance, which is clearly recursively self-improving, clearly a problem-solving system, scientific progress is not actually exploding. If you look at science, what you see is the picture of a system that is consuming an exponentially increasing amount of resources-
- LFLex Fridman
Right.
- FCFrançois Chollet
... but ha- uh, it's having a linear output in terms of scientific progress, and may- maybe that- that will seem like a very strong claim. Many people are- are- are actually saying that, you know, s- scientific progress is exponential, but when they're claiming this, they are actually looking at indicators of, uh, uh, resource consumptions, resource consumption by science. For instance, the number of, um, uh, papers being published, the number of pa- patents being filed and so on, which are just- just completely correlated with how many people are working o- on the, uh, on- on science today.
- LFLex Fridman
Yeah.
- FCFrançois Chollet
Right? So it's actually an indicator of resource consumption, but what you should look at is the output, is um, progress in terms of the knowledge that science generates, in terms of the- the scope and significance of the problems that we solve, and, uh, some people have actually been trying to measure that.
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
Like, um, Michael Nielson, for instance.
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
He had a- a very nice paper, uh, I think it was last year about it. So his approach to measure scientific progress was to, uh, look at the timeline, uh, of scientific discoveries over the past, you know, 100, 150 years, and for, um, each measured discovery, ask a panel of experts to rate the significance of the discovery.
- LFLex Fridman
Hmm.
- FCFrançois Chollet
And if the output of science as an institution were exponential, you would expect the temporal density of significance to go up exponentially, maybe because there- there's a faster rate of discoveries, maybe because the discoveries are, you know, increasingly more important.And, uh, what actually happens if you, if you plot this temporal density of significance measured in this way is that you see very much a flat graph. You see a flat graph across all disciplines, across physics, biology, medicine, and so on. And it actually makes a lot of the- of sense if you think about it, because think about the progress of physics, uh, uh, 110 years ago, right? It was a time of crazy change.
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
Think about the progress of technology, you know, uh, 130 years ago when we started having, you know, replacing horses with cars, when we started having electricity and so on.
- LFLex Fridman
Yeah.
- FCFrançois Chollet
It was a time of incredible change, and today is also a time of very, very fast change, but it would be, uh, an unfair characterization to say that today technology and science are moving way faster than they did 50 years ago or 100 years ago. And if you do try to rigorously plot the temporal density of the significance-
- LFLex Fridman
Significant ideas, yeah.
- FCFrançois Chollet
... yeah, of significance idea, of significant idea, sorry, you do see very flat curves.
- LFLex Fridman
That's fascinating.
- FCFrançois Chollet
And, and, and you can check out the paper that Michael Nielson had, uh, about this idea. And so the way I interpret it is as you make progress in a, in a given field or in any given sub-field of science, it becomes exponentially more difficult to make further progress.
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
Like, the very first, uh, uh, person to work on information theory, if you enter a new field and it's still the very early years, there's a lot of, uh, low-hanging fruit you can pick.
- LFLex Fridman
That's right, yeah.
- FCFrançois Chollet
But the next generation of researchers is gonna have to, uh, dig much harder actually, um, to make smaller discoveries, uh, probably larger number of smaller discoveries. And to achieve the same amount of impact, you're gonna need a much greater headcount, and that's exactly the picture you're seeing with science is that the number of scientists and engineers is in fact increasing exponentially. The amount of computational resources that are available to science is increasing exponentially and so on, so the resource consumption of science is exponential, but the output in terms of progress, in terms of significance is linear. And the reason why is because... And even though science is recursively self-improving, meaning that scientific progress-
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
... uh, turns into technological progress which in turn helps science. If you look at, um, computers for instance are a product of science, and computers are tremendously useful in speeding up science. The internet, same thing, the internet is a technology that's made possible by, uh, very recent scientific advances, and itself, uh, uh, because it enables, you know, scientists to, to, to network, to communicate, to exchange papers and ideas much faster-
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
... it is a way to speed up scientific progress. So, even though you're looking at a recursively self-improving system, it is consuming exponentially more resources to produce the same amount of problem-solving very much.
- 26:57 – 28:11
Fear of existential threats of AI
- LFLex Fridman
Because th- the usual dreams that people have when you create a superintelligence system past the singularity, uh, what people imagine is somehow always destructive. Do you have... If you were to put on your psychology hat, what's, why is it so appealing to imagine the ways that all of human civilization will be destroyed?
- FCFrançois Chollet
I think it's a good story, you know? It's a good story, and very interestingly, it mirrors religious stories, right? Religious mythology. If you look at the mythology of most civilizations, it's about the world being headed towards some final events in which the world will be destroyed and some new world order wi- will arise that will be mostly spiritual, like the apocalypse followed by, uh, uh, paradise probably, right?
- LFLex Fridman
Yeah.
- FCFrançois Chollet
It's a very appealing story-
- LFLex Fridman
Yeah.
- FCFrançois Chollet
... on a fundamental level. And we all need stories. We all need stories to structure the way we see the world, especially at time scales that are, uh, uh, beyond our ability to make predictions.
- LFLex Fridman
Right. So, on a more serious, non-exponential explosion question,
- 28:11 – 30:38
Surprised by deep learning
- LFLex Fridman
do you think there will be a time when, uh, we'll create something like human-level intelligence or intelligent systems that will make you sit back and be just surprised at, "Damn, how smart this thing is"? Uh, that doesn't require exponential growth or exponential improvement, but what- what's your sense and a timeline and so on, uh, that's wh- you'll be really surprised at certain capabilities? And we'll talk about limitations in deep learning and so on. When do you th- do you think in your lifetime you'll be really damn surprised?
- FCFrançois Chollet
Around 2013, 2014, I was many times surprised by the capabilities of deep learning, actually.
- LFLex Fridman
Right. Yeah.
- FCFrançois Chollet
That was before we had assessed exactly what deep learning could do and could not do, and it felt like a time of, uh, immense potential, and then we started, you know, narrowing it down. But I was very surprised, so we'd say it's, it's, it's, it has already happened.
- LFLex Fridman
Was there a moment... There must have been a day in there where your surprise was almost bordering on the belief of the narrative that we just discussed. Wha- was there a moment, 'cause you've written quite eloquently about the limits of deep learning, was there a moment that you thought that maybe deep learning is limitless?
- FCFrançois Chollet
No, I don't think I've ever believed this. What was really shocking is that it, it worked, right?
- LFLex Fridman
It worked at all, yeah.
- FCFrançois Chollet
Yeah. But there- there's a, there's a big jump between being able to do really good computer vision and human-level intelligence. So, I- I don't think, at any point, I was under the impression that the results we got in computer vision meant that we were very close to human-level intelligence. I don't think we are very close to human-level intelligence. I do believe that there's no reason why we won't achieve it at some point. I also believe that... You know, it's... The problem with, with talking about human-level intelligence is that implicitly you're considering like an axis of intelligence with different levels.
- LFLex Fridman
Right.
- FCFrançois Chollet
But that's not really how intelligence works. Intelligence is very, uh, multidimensional. And so does the question of...... uh, capabilities, but there's, uh, also the question of being human-like and it's two very different things. Like, you can build potentially very, uh, uh, advanced intelligent agents that are not human-like at all, and you can also build very, uh, human-like agents. And these are very, two very different things, right?
- LFLex Fridman
Right.
- 30:38 – 42:28
Keras and TensorFlow 2.0
- LFLex Fridman
Let's go from the philosophical to the practical. Uh, can you give me a history of Keras and all the major deep learning frameworks that you kind of remember in relation to Keras and in general? TensorFlow, Theano, the old days. Can you give a brief overview, Wikipedia-style history and your role in it before we return to AGI discussions? (laughs)
- FCFrançois Chollet
Yeah, that's, that's a broad topic. So I started working on Keras ... It wasn't named Keras at the time. I actually picked the name, like, uh, just the day I was gonna release it. So I started working on it in February 2015, and so at the time, there weren't too many people working on deep learning, maybe like fewer than 10,000. The software tooling was not really developed. So the main deep learning library was Caffe, which was mostly C++.
- LFLex Fridman
Why, why do you say Caffe was the main one?
- FCFrançois Chollet
Caffe was vastly more popular than Theano in, uh, in late 2014, early 2015. Caffe was the one library that everyone was using for computer vision.
- LFLex Fridman
And computer vision was the most popular problem-
- FCFrançois Chollet
Absolutely.
- LFLex Fridman
... in deep learning at the time.
- FCFrançois Chollet
Uh, com- Like, convnets was, like, the subfield of deep learning that everyone was working on.
- LFLex Fridman
Right.
- FCFrançois Chollet
So myself ... So in,in, in late 2014, I was actually interested in, uh, RNNs, in recurrent neural networks, which was a very niche topic at the time, right? It really, it really took off arou- around 2016. And so I was looking for good tools. I had l- I had used, uh, Torch 7. I had used Theano, used Theano a lot, uh, in, uh, Kaggle competitions. Hmm, I had used Caffe, and, uh, th- there was no, like, good solution for RNNs at the time. Like, there was no reusable open source implementation of an LSTM, for instance. So I decided to build my own, and at first, uh, the pitch for that was it was gonna be mostly around, uh, LSTM, recurrent neural networks. It was gonna be in Python. An important decision, uh, at the time that was kinda not obvious is that the models w- would be defined via, uh, Python code, which was kind of, like, going against, uh, the mainstream at the time because Caffe, PyTorch and so on, like, all the big libraries, were actually, uh, going with the approach of having static configuration files in YAML to define models.
- LFLex Fridman
Yeah.
- FCFrançois Chollet
So some libraries were using, uh, code to define models, like Torch 7 obviously, but that was not Python. Lasagne was, like, a Theano-based, uh, very early library that was, I think, developed, I'm not sure exactly, probably late 2014.
- LFLex Fridman
It's Python as well.
- FCFrançois Chollet
It's Python as well. It was, it was, like, on top of Theano. And so I started working on something and the, and the value proposition at the time was that not only did the, uh, what I think was the first reusable open source implementation of LSTM, you could combine RNNs and convnets with the same library, which was not really possible before. Like, Caffe was only doing convnets. And it was kinda easy to use because ... So before I was using Theano, I was actually using scikit-learn, and I loved scikit-learn for its usability, so, uh, I drew a lot of inspiration from scikit-learn when, when I made Keras. It's almost like scikit-learn for neural networks.
- LFLex Fridman
Yep. The fit function.
- FCFrançois Chollet
Exactly, the fit function. Like, reducing, uh, a complex training loop to a single function call, right?
- LFLex Fridman
Yeah.
- FCFrançois Chollet
And of course, you know, some people will say this is hiding a lot of details, but that's exactly the point, right?
- LFLex Fridman
Right.
- FCFrançois Chollet
The magic is the point.
- LFLex Fridman
Right.
- FCFrançois Chollet
So it's magical, but in a good way. It's magical in the sense that it's delightful, right?
- LFLex Fridman
Yeah, yeah. I'm, I'm actually quite surprised. I didn't know that it was born out of desire to, uh, implement RNNs and LSTMs.
- FCFrançois Chollet
It was. It was.
- LFLex Fridman
That's fascinating. So you were actually one of the first people to really try to attempt, um, to get the major architectures together, and it's also interesting, you made me realize that that was a design decision at all is defining the model in code. Just I'm, I'm putting myself in your shoes, whether the YAML, especially if Caffe was the most popular.
- FCFrançois Chollet
It was the most popular by far at the time.
- LFLex Fridman
If I was ... If I were ... Yeah, I don't ... It ... I didn't like the YAML thing, but it makes more sense that you would put in a configuration file the definition of a model. That's an interesting gutsy move to stick with defining it in code, just if, if you look back.
- FCFrançois Chollet
O- O- Other libraries were, were doing it as well, but it was definitely the more niche option.
- LFLex Fridman
Yeah. Okay, Keras and then-
- FCFrançois Chollet
Keras ... So I released Keras in March 2015, and it got users pretty much from the start. So the deep learning community was very, very small at the time. Uh, lots of people were starting to be interested in LSTM, so it was kinda released at, at the right time because it was offering an easy-to-use LSTM implementation exactly at the time where lots of people started to be, uh, intrigued by the capabilities of RNN, uh, RNNs for NLP, so it, it grew from there. Then, uh, I joined Google ba- about six months later, and that was actually completely unrelated to, to Keras.
- 42:28 – 46:23
Software engineering on a large team
- LFLex Fridman
together. Now some of the best software written ever is-... often done by one person, sometimes two. So with- at Google, you're now seeing sort of Keras having to be integrated, and TensorFlow I'm sure has a ton of engineers working on, so. And there's, I am sure, were a lot of tricky design decisions to be made. How does that process usually happen, from at least your perspective? What are the- what are the debates like? What are- is there a lot of thinking, considering different options and so on?
- FCFrançois Chollet
Yes. So a- a lot of the time I spend at Google is actually, uh, discussing design discussions, right? Uh, writing design docs, participating in design review meetings, and so on. Uh, this is, you know, as important as actually writing the code.
- LFLex Fridman
Right. What's, uh-
- FCFrançois Chollet
So there's a lot of thoughts, there's a lot of thought and- and a lot of care that is, uh, taken in coming up with these decisions, and taking into account, uh, all of our users, because TensorFlow has this extremely diverse user base, right? It's not- it's not like just one user segment where everyone has the same needs.
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
Uh, we have small scale production users, large scale production users, we have, uh- uh- uh, startups, we have researchers, um, you know, it's all over the place and we have- we have to cater to all of their needs.
- LFLex Fridman
If I just look at the standard, uh, debates of C++ or Python, there's some heated debates. Do you have those at Google? I mean, they're not heated in terms of emotionally, but there's probably multiple ways to do it, right? So, how do you arrive through those design meetings at the best way to do it? Especially in deep learning where the field is evolving as you're doing it. Is there some magic to it? Is there some magic to the process?
- FCFrançois Chollet
I don't know if there's magic to the process, but there definitely is a process. So, making design decisions is about satisfying a set of constraints, but also trying to do so in the simplest way possible, because this is, uh- uh, what can be maintained, this is what can be, uh, expanded in the future. So, you don't want to naively, uh, satisfy the- the constraints by just, you know, for each capability you need available, you're gonna come up with one argument in your API and so on.
- LFLex Fridman
Right.
- FCFrançois Chollet
You want to design APIs, um, that are, uh- uh, modular and hierarchical so that they- they- they have, uh, an- an API surface that is, uh, as small as possible, right?
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
And- and you want, uh- uh, this modular hierarchical architecture to reflect the way that domain experts think about the problem. 'Cause like as- as a domain expert, when- when you're reading about a new API, you're reading a tutorial or- or some docs pages, um, you already have a way that you're thinking about the problem.
- LFLex Fridman
Right.
- FCFrançois Chollet
You already have like, uh- uh, certain concepts in mind, uh, and- and- and you're thinking about, uh, how they relate together, and when you're reading docs you're trying to build, uh, as quickly as possible a mapping between the concepts...
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
... featured in new API and the concepts in your mind, so you're trying to map your mental model as a domain expert to the way things, uh, uh, work in the API.
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
So, you need a- an API and an underlying implementation that are reflecting the way people think about these things.
- LFLex Fridman
So you're minimizing the time it takes to do the mapping?
- FCFrançois Chollet
Yes.
- LFLex Fridman
All right.
- FCFrançois Chollet
Minimizing the time, the cognitive load there is in ingesting this new knowledge about your API. An API should not be self-referential or- or ref- referring to implementation details; it should only be referring to domain-specific concepts that people already kn- uh, understand.
- 46:23 – 47:53
Future of TensorFlow and Keras
- LFLex Fridman
Brilliant. So, what's the future of Keras and TensorFlow look like? What does TensorFlow 3.0 look like?
- FCFrançois Chollet
So, that's kind of too far in the future for me to answer, especially, uh- uh, since I'm not- I'm not even the one making these decisions.
- LFLex Fridman
Okay.
- FCFrançois Chollet
But, so from my perspective, which is, you know, just one perspective among many different perspectives on the TensorFlow team, I'm really excited by developing, uh, even higher level APIs. Higher level than Keras. I'm really excited by hyper-parameter tuning, by, uh, automated machine learning, AutoML. I think the future is not just, you know, defining a model like, uh- uh, like you were assembling Lego blocks and then
- NANarrator
(laughs)
- FCFrançois Chollet
... calling fit on it. It's more like an automagical model that will just look at your data and optimize the objective you- you're after, right? So that's- that's, uh- uh, what- uh, what I'm looking into.
- LFLex Fridman
Yeah, so you, uh, put the baby into a room with the problem and come back a few hours later, uh, with a f- with a fully solved problem.
- FCFrançois Chollet
Exactly. It's not like a box of Legos.
- LFLex Fridman
Right.
- FCFrançois Chollet
It's more like the combination of a kid that's really good at Legos...
- LFLex Fridman
(laughs) Yeah.
- FCFrançois Chollet
... and a box of Legos.
- LFLex Fridman
Yeah. Exactly.
- FCFrançois Chollet
And just building the thing on its own.
- LFLex Fridman
Nice. Uh, very nice. So that's- that's an exciting future and I think there's a huge amount of applications and, uh, revolutions to be had, uh, under the constraints of the discussion we previously had. But
- 47:53 – 58:05
Current limits of deep learning
- LFLex Fridman
what do you think are the current limits of deep learning? If we look specifically at these, uh, function approximators that try to generalize from data. So you've, uh, you've talked about local versus extreme generalization. You mentioned the neural networks don't generalize well and humans do, so there's this gap. So w- and you've also mentioned that ex- generalization, extreme generalization requires something like reasoning to fill those gaps. So how can we start trying to build systems like that?
- FCFrançois Chollet
Right. Yeah, so this is- this is by design, right? Deep learning models are like huge biometric models.... differentiable, so continuous, uh, that go from an input space to an output space. And they're trained with gradiente descent. So they are trained pretty much point by point.
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
Uh, they are learning a continuous geometric morphing from, from an, uh, an input vector space to an output vector space. All right? And because this is done point by point, a deep neural network can only make sense of points in experience space that are very close to things that, that it has already seen in its training data. At best, it can do interpolation across points.
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
But that means, you know, it means in order to train your network, you need a dense sampling of the input cross-output space, almost a point-by-point sampling, which can be very expensive if you're dealing with complex real-world problems like autonomous driving, for instance, or, or robotics. Uh, it's, it's doable if you're looking at the subset of the, of the visual space, but even then, it's still fairly expensive. You still need millions of examples. And it's only gonna be able to make sense of things that are very close to what it has seen before. And in contrast to that, well, of course, you have human intelligence, but even if you're not looking at human intelligence, um, you can look at very simple rules, algorithms. Uh, if you have a symbolic rule, it can actually, uh, apply to, um, a very, very large set of inputs because it is abstract. It is not obtained, um, uh, by doing a point-by-point mapping, right? Uh, for instance, if you try to learn a sorting algorithm using a deep neural network, well, you're very much limited to learning point by point what the sorted representation of this specific list-
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
... is like, but instead, you could, uh, uh, have a very, very, uh, simple sorting algorithm written in a few lines. Maybe it's just, you know, uh, two nested loops. Um, and it can process any, uh, list at all because it is abstract, because it is a set of rules. So deep learning is really like point-by-point geometric morphings-
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
... uh, morphings trained with gradient descent. And meanwhile, abstract rules can generalize, uh, uh, much better, and I think the future is really to combine the two.
- LFLex Fridman
So how do we, do you think, combine the two? How do we combine good point-by-point functions with programs, which is what the symbolic AI-type systems?
- FCFrançois Chollet
Yeah.
- LFLex Fridman
At which levels does the combination happen? I mean, o- obviously, we're, we're jumping into the realm of where there's no good answers, it just kind of ideas and intuitions-
- FCFrançois Chollet
Yeah.
- LFLex Fridman
... and so on.
- FCFrançois Chollet
Well, if you look at the really successful AI systems today, I think they are already hybrid systems that are combining symbolic AI with deep learning.
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
For instance, successful robotics systems are already mostly model-based, rule-based-
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
... uh, things like planning algorithms and so on. At the same time, uh, they're using deep learning as perception modules. Sometimes they're using deep learning as a way to inject a fuzzy intuition into a rule-based process. If you look at a system like in a self-driving car, it's not just one big end-to-end neural network, you know, that wouldn't work at all, precisely because in order to train that, you would need a dense sampling of, uh, experience space when it comes to driving, which is completely unrealistic, obviously. Uh, instead, the self-driving car, uh, is mostly symbolic, uh, you know, it's, it's, it's software, it's programmed by hand, so it's mostly, uh, uh, based on explicit models, in this case, mostly 3D models of the, of the environment around the car-
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
... but it's interfacing with the real world using deep learning modules. Right?
- LFLex Fridman
Right. So the deep learning there serves as a way to convert the raw sensory information to something usable by symbolic systems. Okay, well, let's linger on that a little more. Uh, so dense sampling from input to output. You said it's obviously very difficult. Is it possible?
- FCFrançois Chollet
In the case of self-driving, you mean?
- LFLex Fridman
Uh, let's say self-driving, right? Self-driving for ma- for many people, let- let's not even ta- talk about self-driving, let's talk about steering.
- FCFrançois Chollet
Mm-hmm. Mm-hmm.
- LFLex Fridman
So staying inside the lane.
- FCFrançois Chollet
Lane following, yeah, it's definitely a problem you can solve with an end-to-end deep learning model, but that's like one small subset-
- LFLex Fridman
H- hold on a second. Yeah, I don't know-
- FCFrançois Chollet
... of self-driving.
- 58:05 – 1:00:36
Program synthesis
- FCFrançois Chollet
exactly.
- LFLex Fridman
Can you, uh, discuss the field of program synthesis, like what... how many people are working and thinking about it? Uh, what... where we are in the history (laughs) of program synthesis and, uh, what are your hopes for it?
- FCFrançois Chollet
Well, if you tweet at deep learning, this is like the '90s. (laughs)
- LFLex Fridman
(laughs)
- FCFrançois Chollet
So, meaning that-
- LFLex Fridman
Got it.
- FCFrançois Chollet
... we already have, we already have, uh, existing solutions. We are starting to have some basic understanding of what this is about, but it's still a field that is in its infancy. There are very few people, uh, uh, working on it. There are very few real-world applications. So, the, the one real-world application, uh, I'm aware of is, uh, Flash Fill in Excel. It's a way to automatically learn very simple programs to format cells in an Excel spreadsheet from, from a few examples. For instance-
- LFLex Fridman
Oh.
- FCFrançois Chollet
... learning a way to format a date, things like that.
- LFLex Fridman
Oh, that's fascinating.
- FCFrançois Chollet
Yeah.
- LFLex Fridman
You know? Okay, that's a, that's a fascinating topic. I always wonder when I provide a few samples to Excel, what it's able to figure out, like, just giving it a few dates.
- FCFrançois Chollet
Mm-hmm.
- LFLex Fridman
What are you able to figure out from the pattern I just gave you? That, that's a fascinating question, and it's fascinating whether that's learnable, uh, patterns. And you're saying they're working on that.
- FCFrançois Chollet
Yeah.
- LFLex Fridman
How big is the toolbox currently? Are, are we completely in the dark? So, if you said the 90s-
- FCFrançois Chollet
In terms, in terms of program synthesis? No.
- LFLex Fridman
Program synthesis.
- FCFrançois Chollet
So, I would say... So may- maybe 90s is even, even too optimistic because by the 90s, you know, we already, uh, u-understood backprop.
- LFLex Fridman
Backprop.
- FCFrançois Chollet
We already understood, you know, the engine-
- LFLex Fridman
Yeah.
- FCFrançois Chollet
... of deep learning, even though we couldn't really see its potential quite. Uh, today, I don't think we have found the engine of program synthesis.
- LFLex Fridman
So, we're in the winter before backprop?
- FCFrançois Chollet
Yeah.
- LFLex Fridman
(laughs) Okay.
- FCFrançois Chollet
In a way, yes. So, I do believe program synthesis, uh, in general, discrete search over rule-based models is gonna be a cornerstone of AI research in the next century, right? And, um, that doesn't mean we are, we are gonna drop deep learning. Deep learning is immensely useful, like being able to learn these, uh, these, uh, uh, uh, very flexible, adaptable parametric models with .......................... That's, that's actually immensely useful. Like, all it's doing is pattern recognition, but being good at pattern recognition, given lots of data is, is, is just extremely powerful. So we are, we are still gonna be working on deep learning. We're gonna be working on program synthesis. We're gonna be combining the two in increasingly automated ways.
- LFLex Fridman
Hmm.
- 1:00:36 – 1:08:37
Data and hand-crafting of architectures
- LFLex Fridman
So let's talk a little about, about data. You've tweeted (laughs) -
- FCFrançois Chollet
(laughs)
- LFLex Fridman
... uh, about 10,000 deep learning papers have been written about hard coding priors about a specific task in a neural network architecture. It works better than a lack of a prior. Basically summarizing all these efforts, they- they put a name to an architecture, but really what they're doing is hard coding some priors that improve the performance of the system.
- FCFrançois Chollet
Yes, yes.
- LFLex Fridman
But we're... (laughs) Uh, get straight to the point is- is probably true, so you say that you can always buy performance, "buy" in quotes, performance by either training on more data, better data, or by injecting task information-
- FCFrançois Chollet
Yeah.
- LFLex Fridman
... to the architecture as a pre-processing. Uh, however, this isn't informative about the generalization power of the techniques used, the fundamental ability to generalize. Do you think we can go far by coming up with better methods for this kind of cheating, for better methods of large-scale annotation of data, so building better priors?
- FCFrançois Chollet
If you- if you'd have made it, it's not cheating anymore.
- LFLex Fridman
Right. Uh, um, I'm joking-
- FCFrançois Chollet
(laughs)
- LFLex Fridman
... about the cheating, but large scale... So basically, I'm asking, um, about something that hasn't, uh, from my perspective, been researched too- too much is, uh, exponential improvement in annotation of data.
- FCFrançois Chollet
Yeah.
- LFLex Fridman
Do you- have you often think about that?
- FCFrançois Chollet
I think it's- it's actually been- been researched quite a bit, you just don't see publications about it because, you know, people who publish papers are gonna publish about known benchmarks.
- LFLex Fridman
Right.
- FCFrançois Chollet
Sometimes they're going to raise a new benchmark.
- LFLex Fridman
Right.
- FCFrançois Chollet
People who actually have real-world large-scale-
- LFLex Fridman
Rules, yeah.
- FCFrançois Chollet
... deep learning problems, they're gonna spend a lot of resources into data annotation and good data annotation pipelines, but you don't see any papers about it.
- LFLex Fridman
That's interesting. So do you think there are certainly resources, but do you think there's innovation happening?
- FCFrançois Chollet
Oh, yeah, definitely.
- LFLex Fridman
... as
- FCFrançois Chollet
To clarify, uh, uh, and the point in the twist, so machine learning in general is the science of generalization. You want to generate knowledge that can be reused across different datasets, across different tasks.
- LFLex Fridman
Right.
- FCFrançois Chollet
And if instead you're looking at one dataset and then you are hard coding, uh, knowledge about this task into your architecture, this is no more useful than training a network and then saying, "Oh, I found these weight values, uh, uh, perform well." Right?
- LFLex Fridman
Right.
- FCFrançois Chollet
So, uh, uh, David Ha, I don't know if- if you know w- uh, uh, David, he had a paper the other day about, uh, weight agnostic neural networks.
- LFLex Fridman
(laughs)
- FCFrançois Chollet
And this was- this was very interesting paper because it really illustrates the fact that an architecture, even without weights, an architecture is a- a knowledge about a task, it encodes knowledge. And when it comes to, uh, architectures that are hand crafted by researchers, they're... in some cases, it is- it is very, very clear that all they are doing is, uh, artificially, um, uh, re-encoding the template that corresponds to the- the proper way to solve a- a- a- a task encoded in any given dataset. For instance, um, I don't know if- if- if you've looked at the, uh, uh, Baby dataset, which is about, uh, natural language question answering, it is generated by an- by an algorithm. So this is, uh, question-answer pairs that are generated by an algorithm. The algorithm is following a certain template. Turns out if you craft a network that literally encodes this template, you can solve this dataset with nearly 100% accuracy.
- 1:08:37 – 1:24:21
Concerns about short-term threats in AI
- FCFrançois Chollet
- LFLex Fridman
Do you have concerns about short-term or long-term threats from AI, from artificial intelligence?
- FCFrançois Chollet
Yes, definitely to some extent. This-
- LFLex Fridman
And what's the shape of those concerns?
- FCFrançois Chollet
Thi- this is actually something I've, uh, I've briefly, uh, uh, written about, but the, the capabilities of deep learning technology can be used in many ways that are concerning from, uh, you know, mass surveillance with things like facial recognition, uh, in general, you know, tracking lots of data about everyone and then being able to making sense of this data-
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
... to do identification, to do prediction. That's concerning, that's something that's, uh, being very aggressively, uh, pursued by totalitarian states like, you know, China. One thing I am, I am very much concerned about is that, you know, our lives, uh, uh, uh, are increasingly, uh, online, are increasingly digital, made of information, made of, uh, information consumption and information production-
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
... uh, or, or, or digital, um, footprint, I would say. And if you absorb all of this data and, uh, and you are in control of, uh, where you consume information, you know, social networks and so on, uh, recommendation engines, uh, then you can build a sort of reinforcement loop, uh, for human behavior. You can observe the state of your mind at time T, uh, you can predict how you would react to different pieces of content, how to get you to move your mind, uh, you know, in a certain direction and then you, then, uh, you can feed, can feed you, uh, uh, the specific piece of content that would move you in a, in a specific direction. And you can do this at scale, you know, uh, uh, uh, at scale in terms of, uh, uh, doing it continuously in real time, you can also do it at scale in terms of, uh, scaling this to many, many people, to entire populations. So, uh, potentially, artificial intelligence even in its current state, if you combine it with the internet, with the fact that we have, uh, all of our lives are, are moving to, uh, digital devices and digital information consumption and creation, um, what you get is the possibility to, to, to achieve mass manipulation of behavior and mass, uh, mass psy- psychological control. And this is a very real possibility.
- LFLex Fridman
Yeah. So you're talking about any kind of recommender system.
- FCFrançois Chollet
Yeah.
- LFLex Fridman
Or let's look at the YouTube algorithm, Facebook, anything that recommends content you should watch next.
- FCFrançois Chollet
Yeah.
- LFLex Fridman
And it's fascinating to think that there's some aspects of human behavior that you can, you know, um, say a problem of, is this person hold republican beliefs or democratic beliefs? And it's just, uh, trivial, uh, that's an objective function, and you can optimize and you can measure, and you can turn everybody into a republican or everybody into a democrat.
- FCFrançois Chollet
Yeah, absolutely. Yeah.
- LFLex Fridman
And that's what-
- FCFrançois Chollet
I do believe it's true, b- so the human mind is, is very... If, if, if you look at the human mind as a kind of computer program, it has a very large, uh, exploit surface, right? It has many, many v- vulnerabilities.
- LFLex Fridman
Exploit surfaces, yeah.
- FCFrançois Chollet
Ways, ways you can, uh, um, uh, control it. For instance, when it comes to your political beliefs-
- LFLex Fridman
Yes.
- FCFrançois Chollet
... this is very much tied to your identity. So, for instance, if I'm in control of, uh, your newsfeed on your favorite social media platforms-
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
... uh, this is actually where, uh, you're getting your news from. And I can, of course, I can, I can choose to only, uh, show you news that will, uh, make you see the world in this, in a specific way, right?
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
But I can also, um, uh, you know, uh, create incentives for you to, to, to post about some political beliefs. And then when I, when I get you to express a statement, if it's a statement that, uh, me as the, as the controller, I, I want to, I want to reinforce, I can just show it to people who will agree and they will like it, and that will reinforce the statement in your mind. If this is a statement I want you to-... uh, this is a belief I, I want you to abandon, I can, uh, uh, on the other hand, show it to, uh, opponents, right, who will attack you. And then because they attack you, at the very least, next time, you will think twice, uh, uh, about posting it, but maybe you will even, uh, uh, you know, stop believing this because you, you got pushback, right? So, there, there are many ways in which, uh, um, social media platforms can potentially control your opinions, and today, uh, the... So all of these things are already being, uh, controlled by AI algorithms. These algorithms do not have a- any explicit political goal today.
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
While potentially they could. Like, uh, if some totalitarian government takes over, you know, social media, uh, platforms and decides that, you know, now we are gonna use this not just for mass surveillance but also for mass opinion control and behavior control-
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
... you know, very bad things could happen. Um, but what's really, uh, uh, fascinating and, and actually quite concerning is that even without an explicit intent to manipulate, you're already seeing very dangerous dynamics in terms of, uh, how this content recommendation, uh, algorithms behave because right now, uh, the, the goal, the objective function of these algorithms-
- LFLex Fridman
Mm-hmm.
- 1:24:21 – 1:29:11
Concerns about long-term existential threats from AI
- LFLex Fridman
Do you have concerns about long-term existential threats of artificial intelligence?
- FCFrançois Chollet
Well, as- as I was saying, uh, our world is increasingly made of information, AI algorithms are increasingly gonna be our interface to this world of information, and somebody will be in control of these algorithms. And that puts us in- in a- in kind of a bad situation, right? Uh, it has risks. It has risks coming from potentially large companies, uh, wanting to optimize their- their own goals, maybe profit, maybe something else.
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
Also from governments, uh, who might want to use these, uh, these algorithms as a means, uh, of control of entire populations.
- LFLex Fridman
Do you think there's existential threat that could arise from that-
- FCFrançois Chollet
So-
- LFLex Fridman
... uh, kind of ... ?
- FCFrançois Chollet
... existential threats, so m- m- maybe you're referring to, uh, the singularity narrative where robots just take over?
- LFLex Fridman
Well, I don't ... Not Terminator robots, and I don't believe it has to be a singularity. We're just talking to, just like you said, uh, the algorithm controlling masses of populations.... the existential threat being we hurt ourselves much like a nuclear war would hurt ourselves.
- FCFrançois Chollet
Mm-hmm. Mm-hmm.
- LFLex Fridman
That kind of thing. I don't think that requires a singularity, that requires a loss of control over AI algorithms.
- FCFrançois Chollet
Yes. So, uh, I- I do agree there are concerning trends. Honestly, um, I- I wouldn't want to make any- any- any long-term predictions.
- LFLex Fridman
Yeah.
- FCFrançois Chollet
Uh, I don't- I don't think today we- we really have the capability to see what the dangers, uh, of AI are gonna be in 50 years, in a 100 years.
- LFLex Fridman
Right.
- FCFrançois Chollet
I do see that we are already, uh, faced with, uh, concrete and present dangers surrounding the negative side effects of content recommendation systems, of newsfeed algorithms, uh, concerning algo- algorithmic bias as well.
- LFLex Fridman
Right.
- FCFrançois Chollet
Uh, so we- we are delegating more and more, uh, decision processes to algorithms. Some of these algorithms are handcrafted, some are- are learned from data, um, but we are- we are- we are delegating control. Sometimes it's a good thing, sometimes not so much and there is, in general, very tall, uh, supervision of this process, right? So we- we- we are still in this period of very, uh, fast change, even chaos, where society is- is- is restructuring itself, uh, turning into an information society, uh, which itself is turning into an increasingly automated information-passing society. And, um, well, uh, yeah, I think the best we can do today is- is try to- to raise awareness around some of these issues.
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
And I think we're actually making good progress if you- if you look at algorithmic bias, for instance. Three years ago, even two years ago, very, very few people were talking about it.
- LFLex Fridman
Yeah.
- FCFrançois Chollet
And now, all the big companies are talking about it. They're o- often not in a very serious way, but at least it is part of the public discourse. You see people in Congress talking about it. So- and it all started from raising awareness.
- LFLex Fridman
Right. So in terms of alignment problem, trying to teach as we, uh, allow algorithms just even recommend our systems on Twitter, encoding human values and morals, decisions that touch on ethics, how hard do you think that problem is? How do we, uh, have lost functions in neural networks that have some component, some fuzzy components of human morals?
- FCFrançois Chollet
Well, I think this is- this is really all about objective function engineering-
- LFLex Fridman
Right.
- FCFrançois Chollet
... which is probably gonna be increasingly, uh, a topic of concern in the future. Like for now, we're- we're just using very, uh, uh, naive loss functions because the hard part is not actually what you're trying to minimize. It's everything else.
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
But as the everything else is gonna be increasingly automated, we are gonna be focusing our- our human attention on increasingly, uh, high-level components-
- LFLex Fridman
Right.
- FCFrançois Chollet
... uh, like what's actually driving the- the whole learning system, like the objective function. So, uh, loss function engineering is gonna be- loss function engineer is probably gonna be a job title in the future, you know?
- 1:29:11 – 1:33:49
Feeling about creating AGI
- FCFrançois Chollet
- LFLex Fridman
Does the possibility of creating an AGI system excite you or scare you or bore you?
- FCFrançois Chollet
So intelligence can never really be general, you know? At best it can have some degree of generality, like human intelligence. It's also always has some specialization in the same way that human intelligence is specialized in a certain category of problems, is specialized in the human experience. And when people talk about AGI, I'm never quite sure if they're talking about very, very smart AI, so smart that it's even smarter than humans or they're talking about human-like intelligence because it- these are different things.
- LFLex Fridman
Let's say presumably I'm impressing you today with my humanness. So imagine that I was in fact a robot. So what does that mean? Uh, I'm impressing you with natural language processing. Maybe if you weren't able to see me, maybe this is a phone call.
- FCFrançois Chollet
Yeah.
- LFLex Fridman
So that kind of system.
- FCFrançois Chollet
Okay. So-
- LFLex Fridman
Companion.
- FCFrançois Chollet
So that- that's very much about building human-like AI and you're asking me, you know, is this- is this an exciting perspective?
- LFLex Fridman
Yes.
- FCFrançois Chollet
I think so, yes. Not so much because of- of- of what, uh, uh, artificial human-like intelligence could do but, you know, from an intellectual perspective, I think if you could build truly human-like intelligence, that means you could actually understand human intelligence, which is fascinating, right? Uh, human-like intelligence is gonna require emotions, it's gonna require consciousness, which is not things that- that would normally be required by an intelligent, uh, system. If you look at, you know, we were mentioning earlier, like science as- as super- superhuman problem-solving, uh, uh, um, agent or system, it does not have consciousness, it doesn't have emotions. In general, so emotions, I see consciousness as being on the same spectrum as emotions. It is, uh, a component of the subjective experience that is meant very much to, uh, guide, uh, behavior generation, right?
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
It's meant to guide your behavior. Uh, in general, um, human intelligence and animal intelligence, uh, has evolved for the purpose of behavior generation, right?
- LFLex Fridman
Mm-hmm.
- FCFrançois Chollet
Uh, including in a social context, so that's why we actually need emotions. That's why we need consciousness.... an artificial intelligence system developed in different context may well never need them, may well- may well never be conscious, like science.
Episode duration: 1:59:49
Install uListen for AI-powered chat & search across the full episode — Get Full Transcript
Transcript of episode Bo8MY4JpiXE