Welcome to La French. In this episode, we receive our last guest of the season. And this guest is a pioneer, he's the trailblazer, he's the boss of AI as we know it today. He's creating a company with a global reach today. He's working on world models, and he's our guest. We're going to discuss with him for an hour and a half, exclusively on La French. Let's go.
Important announcement. When we announced the evening at La French on June 12th, in less than 24 hours, the 250 seats were sold. So, we had a great evening, but hundreds of people couldn't come and were left on the waiting list. And we don't like frustration. So, we decided to do it again, bigger, for the La French conference. On December 3rd, we invite you to meet us where 1200 people from all over France will be to celebrate tech à la French and a certain idea of tech. We are a nation of engineers, we invented the Minitel before the Internet, the TGV before the Hyperloop, DivX, X264, VLC before streaming on Netflix. We're not going to let anyone tell us how to do tech. No. So, the conference with a certain idea of tech will be on December 3rd. A day for the YouTube show community, preview announcements, rare guests, gifts, games, and attention, it's going to be French maxed. It will be the most incredible tech conference you've ever attended, and we will celebrate together a certain idea of tech. You can go to lafrench.org right now to book your seats with reduced rates for those who can't afford it and support rates for those who can. So we'll meet on December 3rd live, and in the meantime, we return to the episode.
We are on La French and you know the game to guess the guest in four points. If you get it immediately, three points if you need a hint, two points if you need more hints, and one point when everything is already said. Are you ready to play?
Ready to go. Let's go. So, for four points, our guest is an extremely well-known researcher. No kidding, it's Yann LeCun.
There we go. Let's go. We won't waste time. Welcome, Yann.
Pleasure to be here. Thanks for inviting me.
And well, listen, moreover, Neon Noir is a place you know, huh. You come by from time to time when you come to France.
Yes, yes, I've been here two or three times.
It's changed a lot, huh. It's been populated, furnished, expanded.
Well, you've known Yann for a little, for longer than us.
Uh, since, uh, well, since the very beginning of ZML.
ZML or ZML.
We were introduced by Gabriel.
By Gabriel. Uh, and so for the backstory, we clashed, clashed in the sense of, we fought. We clashed over programming languages.
And in particular what we call metaprogramming. Uh, so in reference to a language called Terra which was a sort of superset of Lua.
Yes, the idea is to have metaprogramming in the language. You see, you have a single control flow where you program the language with the language itself, as opposed to macros or templates or all the metaprogramming.
And so he told me, ah, and me, I see you too, Yann, every time because as soon as Steve makes a very French-maxing tweet with raclette or things like that, there's a little like from Yann LeCun. It's a bit like that.
Yeah, a bit like that. Yeah.
At first I was happy, I looked, now I'm like, yeah.
It's a word now, French maxing.
Maximization, like Victor Hugo said, who used I don't know what word, and someone said, but that's not a French word, and he said, well, it is now.
Yeah, well, it's still cool to be named Hugo when you can define what a word is.
But this discussion, the reason we discussed this is because I'm a big fan of Lisp, and Lisp is a language where exactly, data is code, and you can tinker with it, it's a programmable language.
Or what we're going to do, well, that's it, that's it, it's not a problem. But I could never get used to it. I did a lot of Clojure.
I was... No, but in Emacs, I was a customer, I wasn't an Emacs programmer. But, but when I did a lot of Clojure, which I love, uh, by the way, pushed by someone named Pierre Richard who is the CTO of Poolside now.
Uh, I really felt like I was using a language from the future, well, somewhere from the past because the syntax and everything is from the past, but I could never get used to it. The parentheses, I tried everything, you know, the colorations, the things and everything. I never, I never managed to get used to it. So, and in fact, in '87, when I was finishing my doctorate, I met a young student from Polytechnique named Léon Bottou.
And he said, 'I want to do a project for my end-of-study at Polytechnique. Can I do an internship with you?' I said, 'Well, you can't because I haven't finished my thesis.' He said, 'It's no big deal, I won't tell the school.' And, uh, and I said, 'Well, listen, I'm starting to write a new neural network simulator. Do you want to help me?' And I would really like to have an interface language. Uh, I thought about using Forth and things like that. Rather than reinventing a language, maybe we should use a Lisp. So I would like a Lisp. And we both had Amiga 1000s. I see you don't have one here on your table, and that's a lack.
Yes. Well, next time it will be fixed. But still, I didn't mess with you. I brought you a Boox.
A Boox, but precisely the Boox is inspired by the Amiga.
There you go. And so Léo... and you did it on purpose, of course.
I had... well no, but we have a conversation on Twitter precisely, Yann had reacted and he had explained, he had explained that the hardest part was finding Amigas today, right? Less so the B, I can tell you, you can find them, and you can find emulators and all that, but no, but you can buy them too. And Léo in 3 weeks writes a Lisp interpreter in C that I used as a front end. Then, I went to do my postdoc in Toronto and in fact, we used that system which at first was called SN, neural simulator, which then was called SN when we open-sourced it in 2002, and I used it in all my research with my students until 2011 when we switched to Torch, to Lua, so it was based on Lua and then Torch but much later. So it had a great longevity, well there were successive versions but it was written on, it was on backpropagation, multilayer networks, etc.
But precisely, backpropagation of the gradient, it's a bit of the foundation of how today the learning engine of neural networks is based on that. Already at the time, your thesis is the heart of neural networks on that. So what is it? It's '87, end of the thesis. For those who don't know Yann yet. Just, just, just, just. But then you go to Bell Labs, is that right?
No, first I do a postdoc at the University of Toronto with Geoffrey Hinton.
And after, I went to the Labs at the end of '88.
Okay. You stayed there for 15 years, is that about right?
Uh, so 12 years at AT&T. So Bell is the research and AT&T. It changed name later because AT&T was split into pieces. Anyway, but about a dozen years.
And that's where you really mature and develop convolutional neural networks, right? Really, it's...
Yeah. Yeah. Well, I had already started at Toronto and, uh, even in my thesis, I had networks with local connections and all that, so it was already a bit in that direction. But, uh, but yes, that's where we made it work.
And then, uh, and then Léo on his side was doing a thesis in France and he made it work for speech recognition. Uh, he also worked on convolutional networks and we ended up making products that used convolutional networks for check reading, things like that, applications.
Yes. For letters, addresses.
Yeah. Addresses, that was never a commercial thing, it was a prototype. But the main commercial applications were for reading amounts on checks and things like that, financial documents.
Yeah, the reports about you really, where you did alphanumeric character recognition and all that, it's really for checks, right?
And that had a commercial life between the mid-90s and early 2000s, but I wasn't involved anymore because from '96, AT&T split and it was the first years of the internet and the part of AT&T that commercialized these check reading systems was separated from us, and the patents belonged to them, not us.
And where was that physically?
And so you stayed in New Jersey until 2003, is that right? New York University?
I was... Yeah. Well, I did a short 18-month stint at NEC Research Institute, the big Japanese company NEC. And then that lab kind of declined. So I left pretty quickly and I became a professor at NYU in 2003. And 10 years later, in 2013, I joined Facebook, but at the same time I was still a professor at NYU.
And by the way, that's interesting because the world of academic research and the world of research in companies are quite linked, in any case. And sometimes I wonder, is it open source, or rather the sharing of information from research, is that what pushes, what sometimes forces companies to keep a foot in publications or in that kind of thing?
No, in fact, what pushes, in large part, what pushes companies to have relationships with a university, at least in the United States, is access to talent. It's that they want to have a pipeline, you see, of interns, a relationship with professors who work on subjects that interest them. Are you a good student who could come work for us, teach us how to use your methods, etc.? So that's a big reason for the relationship.
And then in the United States, doctoral students, for example, there isn't the equivalent of the CIFREs that there are in France where doctoral students can do an industry residency. There isn't that in the United States. Uh, but on the other hand, the 3 summer months, students can do whatever they want. So they aren't tied to the university and most of them do industry internships. Uh, and so they're a bit like the pollinating bees of American technology because they circulate ideas, techniques. And one of the things you're also known for is that you created the lab, FAIR, Facebook AI Research.
Uh, I'm trying to do the American accent there. But uh, no, and in fact, honestly, today, I don't know, half of the ecosystem, well, a good part of the French AI ecosystem are... there's a mafia, huh, of FAIR. So there are quite a few researchers, engineers who went through FAIR and then went on to found companies, etc., or started working in other labs. Uh, but there's also the fact that FAIR, at cruising speed until last year, had about forty doctoral students in residence. So a doctorate lasts 3 years, that means there were about a dozen, a dozen PhDs who were coming out, who had done their doctorate at FAIR, with access to computing resources, etc., with access to the best researchers in the field and everything. And, uh, and so all these people, of course, completely seeded the ecosystem. I think the creation of FAIR Paris in 2015 had an enormous effect on the French ecosystem, Parisian in particular, French in general, and European, in fact. It gave ideas to young, talented students that doing a PhD in AI is the coolest thing they could imagine. 15 years ago, the coolest thing young students coming out of school did was finance. That's changed. It's not finance anymore. It's AI. We had received Naïl Zidour who told us that he wanted to do a PhD and that basically he hadn't necessarily been accepted but that he was told, listen, there's this PhD... No, no, it's the opposite. He wanted to do a PhD on neural networks at the time and there were so few, it wasn't back in vogue yet, that they told him, well listen, if you're really interested, go for it. And finally, it was great.
You saw that 40 years ago.
Yeah, but... yeah, no, but it's true that there was a period, a phase for neural networks between the late 80s and the mid-90s, and then everyone lost interest. It had even become a bit taboo and it woke up a bit at the end of the 2000s, uh, because of the media hype that was made with Yoshua Bengio and Geoffrey Hinton, uh, deep learning. We renamed it deep learning and then we proposed new methods and we finally made it work. Uh, and so that ended up convincing the communities, first speech recognition, then image recognition, and then thirdly natural language understanding, NLP, that deep learning was really something that worked. Uh, so it revolutionized these three domains. Uh, but it's true that in France, in the university world in 2015, there was practically no one in the universities. They were still... university people are a bit conservative and in France we like math and deep learning isn't easy to do math with. It's easier if you use methods like kernel methods, Bayesian stuff, all that. You can do beautiful math. It doesn't work as well, but well, you can write papers. But it's beautiful math.
How come it kind of fell into disuse, but there was less interest starting in the early 2000s?
No, it's more like the mid-90s. It started to decline in '96 because it was too complicated. It required too much computing power. There are many reasons, I'm not the best placed to analyze it because I was in the middle of it, but I think there's a combination of reasons. The first is that it's indeed complicated and there were no portable software tools, etc., that people used. Everyone used completely different computing platforms. You couldn't run it on PCs, it wasn't possible. It was either Sun workstations, or Silicon Graphics, or things like that, proprietary IRX, AIX, HP stuff. And so we were on Sun, we switched to SGI after because they had better performance on the OTAN, and there was no software, there was no Python, there was no... there weren't all these things that we can open source and use now. The only open source tools were things like GCC, Emacs and others, but not really for that. So in fact, with Léo, we had written a complete system with a Lisp interpreter, everything, with a Lisp compiler and all that, but we couldn't really exchange our software. There was no... there was no platform, there was no SourceForge, there was no internet, in fact, internet arrived later. So, so in fact, each person had to invest 6 months, a year to build a software platform to run neural networks. Most people made mistakes, because it's very easy to make mistakes when you implement backpropagation for the first time, to make a sign error or something. Uh, so it was a big, it was a big investment for people and, uh, and so, uh, most people, uh, couldn't do that. So what did they do? They used Matlab and something simple, but doing neural networks with Matlab at the time wasn't really possible. There really weren't the tools, except for the people who invested the time for the tools. What we did with Léo, that's what gave us superpowers, is that we had our own tools.
And which allowed us to, you see, make convolutional networks, see how they worked, a whole graphics library and all that for visualization and everything, which was actually more powerful than what we have today, by the way. It's incredible, but well. Uh, and so, uh, so that means there wasn't the communication that there is now, which is instantaneous, where you download the latest code associated with the paper and you can run the latest network. There, you had to spend 6 months, a year to implement something. Uh, so you really had to believe in it.
That means you had the papers and you reimplemented, well, reimplemented clean room the papers, right?
In fact, the people who wanted to reimplement convolutional networks, there weren't many.
Uh, and there was this legend that, you see, I was more or less the only one who knew how to make them work, which was completely false. But it wasn't that complicated. But it's true that it required tools.
At the same time, it's the name. There's LeCun, you see. We think there's only one... but that means you still had people above you at the head of Bell Labs, etc., who believed in it and who weren't afraid to put in the resources, the time for all that.
But Bell Labs operated... So the director of the lab, a guy named Larry Jackel, who had created the group in '85, I think, based on neural networks. In fact, he's a physicist by training and he had a new department, so he was wondering what to do because at Labs, they hired smart people, gave them the means to succeed, and left them alone.
Well, if they asked for resources, obviously he asked questions. But, but basically, we let people work on what they wanted. So he went around, asked what I'd like to work on, what's the cool thing, and he met John Hopfield who was a professor at Princeton but had a part-time job at Bell Labs. He was between Princeton and Caltech and he asked him what I should work on. John Hopfield told him, 'You're a physicist, work on hardware for neural networks. Uh, special chips for doing neural networks. The concept isn't new.' John Hopfield, uh, and he won the Nobel Prize in Physics with Geoffrey Hinton 2 years ago for what we call Hopfield networks and Boltzmann machines. Uh, he's a biophysicist by training. Uh, and, uh, so Larry got into that, he hired a few people and then I arrived there in '88, uh, and then I made convolutional networks work pretty quickly because I had already worked on them at Toronto. They had character databases and so in 2 months, I was there, I beat all the performance records on the character things. And, uh, and there's a funny story, which is that before, when I was still a postdoc in Toronto, uh, Larry Jackel asked me, 'Listen, you're going to arrive in October, we'd like to order a computer for you so that you can work when you arrive, that it's there when you arrive. Uh, what are you using right now?' I said, 'Well, we use a Sun 4, there's one that just arrived at Toronto, it's great, all that, it does a mega flop, it's mind-blowing.' Uh, he tells me 'OK.' And then, uh, so it was a VAX, which was the central server of the entire computer science department. It was a mainframe.
It wasn't a mainframe, it's what we called a minicomputer.
Ah, but everyone used it or everyone had their own? You had 30 or 40 doctoral students who connected to that thing.
Everyone used it, not for neural network reasons, but it wasn't really time-shared or anything. A single system, you connect. So, well, I also had a Sun workstation, a Sun 3 with a 68000. And so I tell him, well, Sun is the first with the SPARC, the SPARC processors from Sun. And, uh, and I arrive at Bell Labs and there's a Sun 4, but just for me.
That means a lot of things, huh. That means a lot of things. The resources they put in. So, well, my eyes are wide open and I look at Larry and he tells me with a smile, uh, you know, at Bell Labs, uh, you don't become famous by saving money.
Okay. So learn from that, the grand old saying, by saving money.
Yeah, okay. Well, yeah, super, super interesting. So if we come back a bit to get more contemporary, so 2013, 23, it's 2025, no, 2025 is the air at Meta. You receive the Turing Award in 2018 which is the Fields Medal or the Nobel Prize of computer science, let's put it that way. Uh, there you go, but, uh, but at that time, World Models were already starting to have a, two hypotheses between LLMs and World Models, that started, right?
Yes, in a way. For example, I gave a keynote at NeurIPS, it was still called NIPS at the time, not yet NeurIPS, in 2016. And, uh, my big message at the end of the speech was the future of AI is World Models. So learning predictive models of the world, I think, is the ticket, and then learning actions, and then optimizing intrinsic functions, I think, for making progress.
They are systems that are capable of predicting what the effect of an action on the world will be, etc., that we can learn in a self-supervised way, and then we can pilot by giving them an objective, etc. So I had this idea for a long time, huh, it doesn't even date from 2016, it dates from before, but, uh, but let's say I started talking about it publicly, if you will, at that time, but the research wasn't mature enough, uh, if you will, we couldn't really write that in articles because it was still just an idea. And then for several years, I had research projects both at Meta and at NYU at Meta to train models, so what could have been World Models by doing video prediction. Uh, in fact, it never worked. So I, we tried to make it work until, I don't know, 2021, something like that. Generative models, huh, to do video prediction. It never worked well as a world model, in fact, to predict what's going to happen. Uh, maybe to do video generation, but even at the time it didn't work because we didn't have diffusion models and all that.
And why do you think that is? Because it's the wrong representation of the world, simply, or...
No, it's the fact that most of the information in a video is not predictable. Most of the information in a video is not predictable. If I take, uh, here, the people watching us, they see a small part of the room, they have maybe a vague idea of the environment if you turn the camera. But you can't predict the details, you can't predict that outside the camera's field of view, there's a video game with little dinosaurs dancing, there's a T-Rex, etc. There's all the people with the control room here. There's no way you can predict all the details at the pixel level of what's in the video if the camera starts to turn. Who could predict most of the information that's in a video or in any real-world signal is unpredictable? So if we try to train a generative model to hallucinate what's not predictable, it doesn't work very well in the end. And so the crucial idea we're working on for world models, which is called JEPA, Joint Embedding Predictive Architecture, in French, architecture prédictive à encastrement joint. It's a nice name.
What did you say? Joint Embedding? It's beautiful, it's beautiful.
Uh, so the idea of that is we train a system to find an abstract representation of the input signal, let's say of the video, uh, which only keeps from the video the information that can be predicted and which eliminates all the stuff, all the stuff that can't be predicted. Uh, and that is absolutely crucial for a whole bunch of reasons. We could come back to that if you want, but it's a bit technical or philosophical. Uh, and so the idea of JEPA is nothing else, huh. So it replaces a generative architecture that predicts everything, in fact everything. So for tokens and for discrete tokens it works because it's easy to manage uncertainty in prediction. Your space is finite. Yeah. Uh, you have a finite number of tokens, you can predict a probability for each possible token and then by autoregressive prediction have a not too stupid estimate of the probability of a sequence. That's how LLMs work. But if it's a continuous and raw world, it doesn't work at all. And not at all. So that means we can't use generative models for the real world. So when I tell everyone to abandon generative models, I don't make friends, let me tell you. But it's abandoning generative models for predicting, for world models or human-type intelligence.
There you go. So if we want systems that understand the real world, the physical world, which is much more complicated than language or code, we need non-generative models. Already, can you explain in, I don't know, 30 seconds, really for our listeners, what is a world model and what is, finally, what is not a world model?
So, good question. You see, people, you see, in fact, when people, you talk to them about machine learning, generative, diffusion, and then model, what is it, how is it different and how is it similar?
Yeah, so world model is becoming a kind of buzzword.
Well, that's the problem. That's why if you can define it, it's still much better. And there are lots of people who want to say different things by the phrase world model. Uh, and in fact, there are lots of companies that say they're making them but in fact aren't. In fact, it's a bit of the usual joke. Uh, well, we're in French so we can make bad taste jokes. Uh, especially, especially it stays in France.
World model, it's like, uh, it's like sex for teenagers.
Teenage sex. That means everyone talks about it, no one, no one does it.
It's more complicated than that.
Ah, or everyone talks about it, everyone says they do it.
But in fact, no one knows what it is and no one does it.
So, given the state of the world at time t, and given an action that I imagine taking, can I predict the state of the world at time t+1 after I have executed this action? So that means it's potentially physics. That means understanding 3D, understanding even not... not necessarily, it can be anything because it's not necessarily 3D. If, in fact, it's abstract, in fact, it's completely abstract. If we play a 2D platform video game like the one here, not the bubble, a great game, a great game, uh, can we say that it's not 3D? But we also build a representation, so it can be... okay, can we say it's the passage from correlation to causality? We can, but there isn't really a very sophisticated method to establish causality, it's just state, action, next state.
That doesn't mean I've built a video game engine.
No, then not at all, not at all, because we're not going to produce pixels. We're going to... or you're going to produce an abstract representation of the world. Abstract representation of the world. After, you have to, between quotes, uh, well, if we have to take a vocabulary from information theory, a discrete representation, that is to say, the pixels if you want to make pixels, or, uh, or velocity, or an electric current, or anything. In fact, there are no tokens at all, there's no discretization, nothing at all.
Uh, and it's not something... we have a world model in our head, but it's also the case for our cat or even, or even for a rat, a Parisian rat.
But then, I have a question, is that you have to, uh, create this abstract model in latent space.
Uh, and so you have a subject of, well, in LLMs, we call it tokenization, but finally you have a subject of transformation. Uh, and so of interpretation, well, maybe first of acquisition, then successive layers of interpretation to end up with a latent space.
On which you can then work, on which you can make predictions.
And especially, moreover, I imagine there's an infinite number, but in any case, a significant number of paths between... well, there you go, if I say I take the cup and I want to bring it here, I can do this, I can do that, and there's a, so likewise, there's a probability distribution.