Menu
Sign In Add Podcast
Podcast Image

Lex Fridman Podcast

#416 – Yann Lecun: Meta AI, Open Source, Limits of LLMs, AGI & the Future of AI

Thu, 07 Mar 2024

Description

Yann LeCun is the Chief AI Scientist at Meta, professor at NYU, Turing Award winner, and one of the most influential researchers in the history of AI. Please support this podcast by checking out our sponsors: - HiddenLayer: https://hiddenlayer.com/lex - LMNT: https://drinkLMNT.com/lex to get free sample pack - Shopify: https://shopify.com/lex to get $1 per month trial - AG1: https://drinkag1.com/lex to get 1 month supply of fish oil Transcript: https://lexfridman.com/yann-lecun-3-transcript EPISODE LINKS: Yann's Twitter: https://twitter.com/ylecun Yann's Facebook: https://facebook.com/yann.lecun Meta AI: https://ai.meta.com/ PODCAST INFO: Podcast website: https://lexfridman.com/podcast Apple Podcasts: https://apple.co/2lwqZIr Spotify: https://spoti.fi/2nEwCF8 RSS: https://lexfridman.com/feed/podcast/ YouTube Full Episodes: https://youtube.com/lexfridman YouTube Clips: https://youtube.com/lexclips SUPPORT & CONNECT: - Check out the sponsors above, it's the best way to support this podcast - Support on Patreon: https://www.patreon.com/lexfridman - Twitter: https://twitter.com/lexfridman - Instagram: https://www.instagram.com/lexfridman - LinkedIn: https://www.linkedin.com/in/lexfridman - Facebook: https://www.facebook.com/lexfridman - Medium: https://medium.com/@lexfridman OUTLINE: Here's the timestamps for the episode. On some podcast players you should be able to click the timestamp to jump to that time. (00:00) - Introduction (09:10) - Limits of LLMs (20:47) - Bilingualism and thinking (24:39) - Video prediction (31:59) - JEPA (Joint-Embedding Predictive Architecture) (35:08) - JEPA vs LLMs (44:24) - DINO and I-JEPA (45:44) - V-JEPA (51:15) - Hierarchical planning (57:33) - Autoregressive LLMs (1:12:59) - AI hallucination (1:18:23) - Reasoning in AI (1:35:55) - Reinforcement learning (1:41:02) - Woke AI (1:50:41) - Open source (1:54:19) - AI and ideology (1:56:50) - Marc Andreesen (2:04:49) - Llama 3 (2:11:13) - AGI (2:15:41) - AI doomers (2:31:31) - Joscha Bach (2:35:44) - Humanoid robots (2:44:52) - Hope for the future

Audio
Featured in this Episode
Transcription

0.109 - 15.018 Lex Fridman

The following is a conversation with Yann LeCun, his third time on this podcast. He is the chief AI scientist at Meta, professor at NYU, Turing Award winner, and one of the seminal figures in the history of artificial intelligence.

0
💬 0

15.678 - 47.41 Lex Fridman

He and Meta AI have been big proponents of open sourcing AI development and have been walking the walk by open sourcing many of their biggest models, including Llama 2 and eventually Llama 3. Also, Jan has been an outspoken critic of those people in the AI community who warn about the looming danger and existential threat of AGI. He believes the AGI will be created one day, but it will be good.

0
💬 0

47.93 - 74.872 Lex Fridman

It will not escape human control, nor will it dominate and kill all humans. At this moment of rapid AI development, this happens to be somewhat a controversial position. And so it's been fun seeing Jan get into a lot of intense and fascinating discussions online, as we do in this very conversation. And now a quick few second mention of each sponsor. Check them out in the description.

0
💬 0

75.313 - 102.063 Lex Fridman

It's the best way to support this podcast. We've got Hidden Layer for securing your AI models, Element for electrolytes, Shopify for shopping for stuff online, and AG1 for delicious health. Choose wisely, my friends. Also, if you want to get in touch with me for whatever reason, maybe to work with our amazing team, go to lexfreeman.com slash contact.

0
💬 0

102.564 - 125.398 Lex Fridman

And now onto the full ad reads, never any ads in the middle. I try to make these interesting. I don't know why I'm talking like this, but I am. There's a staccato nature to it. Speaking of staccato, I've been playing a bit of piano. Anyway, if you skip these ads, please still check out the sponsors. We love them. I love them. I enjoy their stuff. Maybe you will too.

0
💬 0

127.13 - 154.805 Lex Fridman

This episode is brought to you by a on-theme, in-context, see what I did there, sponsor. Since this is Yann LeCun, artificial intelligence, machine learning, one of the seminal figures in the field. So of course you're going to have a sponsor that's related to artificial intelligence. Hidden Layer, they provide a platform that keeps your machine learning models secure.

0
💬 0

156.141 - 177.537 Lex Fridman

The ways to attack machine learning models, large language models, all the stuff we talk about with Jan, there's a lot of really fascinating work, not just large language models, but the same for video, video prediction, tokenization, where the tokens are in the space of concept versus the space of literally letters, symbols.

0
💬 0

178.377 - 205.971 Lex Fridman

japa v japa all of that stuff that they're open sourcing all the stuff they're publishing on just really incredible but that said all of those models have security holes in ways that we can't even anticipate or imagine at this time and so you want good people to be trying to find those security holes trying to be one step ahead of uh the people that trying to attack so if you're especially a company that's relying on these models you need to uh

0
💬 0

207.13 - 235.01 Lex Fridman

have a person who's in charge of saying, yeah, this model that you got from this place has been tested, has been secured. Whether that place is Hugging Face or any other kind of stuff, or any other kind of repository or model zoo kind of place. I think the more and more we rely on large language models or just AI systems in general, the more the security threats that are always going to be there

0
💬 0

236.191 - 264.824 Lex Fridman

become dangerous and impactful. So protect your models. Visit hiddenlayer.com slash Lex to learn more about how Hidden Layer can accelerate your AI adoption in a secure way. This episode is also brought to you by Element. A thing I drink throughout the day. I'm drinking now. When I'm on a podcast, you'll sometimes see me with a mug and clear liquid in there that looks like water.

0
💬 0

265.264 - 292.424 Lex Fridman

In fact, it is not simply water. It is water mixed with element. Watermelon salt. Cold. What I do is I take one of them Powerade 28 fluid ounces bottles. fill it up with water, one packet of watermelon salt, shake it up, put it in the fridge, that's it. I reuse the bottles and drink from a mug. Or sometimes from the bottle.

0
💬 0

293.584 - 322.917 Lex Fridman

Either way, delicious, good for you, especially if you're doing fasting, especially if you're doing low-carb kinds of diets, which I do. You can get a sample pack for free with any purchase. Try it at drinkelement.com. This episode is brought to you by Shopify, as I take a drink of Element. It is a platform designed for anyone, even me, to sell stuff anywhere on a great looking store.

0
💬 0

322.937 - 346.869 Lex Fridman

I use a basic one, like a really minimalist one. You can check it out if you go to legstreaming.com slash store. There's a few shirts on there. If that's your thing, it was so easy to set up. I imagine there's like a million features they have that can make it look better and all kinds of extra stuff you can do with the store, but I use the basic thing, and the basic thing is pretty damn good.

0
💬 0

347.609 - 374.668 Lex Fridman

I like basic. I like minimalism. And they integrate with a lot of third-party apps, including what I use, which is on-demand printing. So, like you buy the shirt on Shopify, but it gets printed and shipped by another company that I always keep forgetting, but I think it's called Printful. Or Printify. I think it's Printful. I'm not sure. It doesn't matter. I think there's several integrations.

0
💬 0

375.068 - 401.741 Lex Fridman

You can check it out yourself. For me, it works. I'm using the most popular one. Printful, I think it's called. Anyway. I look forward to your letters correcting me on my pronunciation. Shopify is great. I'm a big fan of the good side of the machinery of capitalism. Selling stuff on the internet, connecting people to the thing that they want, or rather the thing that would make their life better.

0
💬 0

403.018 - 427.225 Lex Fridman

both in advertisement and e-commerce, shopping in general, I'm a big believer when that's done well, your life legitimately in the long term becomes better. And so whatever system can connect one human to the thing that makes their life better is great. And I believe that Shopify is sort of a platform that enables that kind of system.

0
💬 0

428.183 - 456.424 Lex Fridman

You can sign up for a $1 per month trial period at shopify.com slash Lex. That's all lowercase. Go to shopify.com slash Lex to take your business to the next level today. This episode is also brought to you by AG1, an all-in-one daily drink to support better health and peak performance. It is delicious. It is nutritious. And I ran out of words that rhyme. with those two.

0
💬 0

457.645 - 486.477 Lex Fridman

Actually, let me use a large language model to figure out what rhymes with delicious. Words that rhyme with delicious include ambitious, auspicious, capricious, fictitious, suspicious. So there you have it. Anyway, I drink it twice a day. Also put it in the fridge. And sometimes in the freezer, like it gets a little bit frozen. Just like a little bit, just a little bit frozen.

0
💬 0

486.497 - 510.579 Lex Fridman

You got that like slushy consistency. I'll do that too sometimes. And it's freaking delicious. It's delicious no matter what. It's delicious warm. It's delicious cold. It's delicious slightly frozen. All of it is just incredible. And of course it covers like the basic multivitamin stuff. foundation of what I think of as a good diet. So it's just a great multivitamin.

0
💬 0

510.659 - 534.066 Lex Fridman

That's the way I think about it. So all the crazy stuff I do, the physical challenges, the mental challenges, all of that, at least I got AG1. They'll give you one month supply of fish oil when you sign up at drinkag1.com slash Lex. This is the Lex Freeman Podcast. To support it, please check out our sponsors in the description. And now, dear friends, here's Jan LeCun.

0
💬 0

550.831 - 576.664 Lex Fridman

You've had some strong statements, technical statements about the future of artificial intelligence recently, throughout your career actually, but recently as well. You've said that auto-aggressive LLMs are not the way we're going to make progress towards superhuman intelligence. These are the large language models like GPT-4, like LAMA-2 and 3 soon and so on.

0
💬 0

577.145 - 579.926 Lex Fridman

How do they work and why are they not going to take us all the way?

0
💬 0

580.649 - 611.632 Yann LeCun

for a number of reasons. The first is that there is a number of characteristics of intelligent behavior. For example, the capacity to understand the world, understand the physical world, the ability to remember and retrieve things, persistent memory, the ability to reason, and the ability to plan. Those are four essential characteristics of intelligent systems or entities, humans, animals.

0
💬 0

613.436 - 637.314 Yann LeCun

LLMs can do none of those, or they can only do them in a very primitive way. They don't really understand the physical world. They don't really have persistent memory. They can't really reason, and they certainly can't plan. If you expect the system to become intelligent just without having the possibility of doing those things, you're making a mistake.

0
💬 0

638.68 - 666.085 Yann LeCun

That is not to say that autoregressive LLMs are not useful. They're certainly useful. That they're not interesting, that we can't build a whole ecosystem of applications around them. Of course we can, but as it paths towards human-level intelligence, they're missing essential components. And then there is another tidbit or fact that I think is very interesting.

0
💬 0

666.905 - 689.8 Yann LeCun

Those LLMs are trained on enormous amounts of text, basically the entirety of all publicly available texts on the internet, right? That's typically on the order of 10 to the 13 tokens. Each token is typically two bytes. So that's two 10 to the 13 bytes as training data. It would take you or me 170,000 years to just read through this at eight hours a day.

0
💬 0

691.542 - 723.943 Yann LeCun

So it seems like an enormous amount of knowledge that those systems can accumulate. But then you realize it's really not that much data. If you talk to developmental psychologists and they tell you a four-year-old has been awake for 16,000 hours in his or her life, and the amount of information that has reached the visual cortex of that child in four years... is about 10 to the 15 bytes.

0
💬 0

724.924 - 750.085 Yann LeCun

And you can compute this by estimating that the optical nerve carry about 20 megabytes per second, roughly. And so 10 to the 15 bytes for a four-year-old versus two times 10 to the 13 bytes for 170,000 years worth of reading What that tells you is that through sensory input, we see a lot more information than we do through language.

0
💬 0

751.306 - 768.736 Yann LeCun

And that despite our intuition, most of what we learn and most of our knowledge is through our observation and interaction with the real world, not through language. Everything that we learn in the first few years of life and certainly everything that animals learn has nothing to do with language.

0
💬 0

769.856 - 795.632 Lex Fridman

So it would be good to maybe push against some of the intuition behind what you're saying. So it is true there's several orders of magnitude more data coming into the human mind much faster, and the human mind is able to learn very quickly from that, filter the data very quickly. Somebody might argue your comparison between sensory data versus language, that language is already very compressed.

0
💬 0

796.093 - 810.94 Lex Fridman

It already contains a lot more information than the bytes it takes to store them, if you compare it to visual data. So there's a lot of wisdom in language, there's words, and the way we stitch them together, it already contains a lot of information. So is it possible that

0
💬 0

812.279 - 828.705 Lex Fridman

language alone already has enough wisdom and knowledge in there to be able to, from that language, construct a world model and understanding of the world, an understanding of the physical world that you're saying LLMs lack.

0
💬 0

829.542 - 855.105 Yann LeCun

So it's a big debate among philosophers and also cognitive scientists, like whether intelligence needs to be grounded in reality. I'm clearly in the camp that, yes, intelligence cannot appear without some grounding in some reality. It doesn't need to be Physical reality could be simulated, but the environment is just much richer than what you can express in language.

0
💬 0

855.205 - 881.984 Yann LeCun

Language is a very approximate representation of our percepts and our mental models. There's a lot of tasks that we accomplish where we manipulate a mental model of the situation at hand, and that has nothing to do with language. Everything that's physical, mechanical, whatever, when we build something, when we accomplish a task, a model task of grabbing something, etc.,

0
💬 0

883.085 - 906.13 Yann LeCun

We plan our action sequences, and we do this by essentially imagining the result of the outcome of a sequence of actions that we might imagine. And that requires mental models that don't have much to do with language. And that's, I would argue, most of our knowledge is derived from that interaction with the physical world.

0
💬 0

906.61 - 936.864 Yann LeCun

So a lot of my colleagues who are more interested in things like computer vision are really on that camp that AI needs to be embodied, essentially. And then other people coming from the NLP side or maybe some other motivation don't necessarily agree with that. And philosophers are split as well. And the complexity of the world is hard to imagine. It's hard to

0
💬 0

940.266 - 962.844 Yann LeCun

represent all the complexities that we take completely for granted in the real world that we don't even imagine require intelligence, right? This is the old Moravec paradox from the pioneer of robotics, Hans Moravec, who said, you know, how is it that with computers it seems to be easy to do high-level complex tasks like playing chess and solving integrals and doing things like that, whereas

0
💬 0

964.056 - 986.482 Yann LeCun

The thing we take for granted that we do every day, like, I don't know, learning to drive a car or, you know, grabbing an object. We can't do it with computers. And, you know, we have LLMs that can pass the bar exam. So they must be smart. But then they can't learn to drive in 20 hours like any 17-year-old.

0
💬 0

988.223 - 1012.692 Yann LeCun

They can't learn to clear out the dinner table and fill up the dishwasher like any 10-year-old can learn in one shot. Why is that? Like, you know, what are we missing? What type of learning or reasoning architecture or whatever are we missing that basically prevent us from, you know, having level five self-driving cars and domestic robots?

0
💬 0

1013.686 - 1029.031 Lex Fridman

Can a large language model construct a world model that does know how to drive and does know how to fill a dishwasher, but just doesn't know how to deal with visual data at this time? So it can operate in a space of concepts.

0
💬 0

1030.014 - 1061.059 Yann LeCun

So yeah, that's what a lot of people are working on. So the short answer is no. And the more complex answer is you can use all kinds of tricks to get an LLM to basically digest visual representations of images Or video, or audio for that matter. And a classical way of doing this is you train a vision system in some way.

0
💬 0

1062.2 - 1089.074 Yann LeCun

And we have a number of ways to train vision systems, either supervised, semi-supervised, self-supervised, all kinds of different ways. That will turn any image into a high-level representation. basically a list of tokens that are really similar to the kind of tokens that typical LLM takes as an input. And then you just feed that to the LLM in addition to the text.

0
💬 0

1089.995 - 1105.366 Yann LeCun

And you just expect the LLM to kind of, during training, to kind of be able to use those representations to help make decisions. I mean, there's been work along those lines for quite a long time. And now you see those systems, right?

0
💬 0

1105.427 - 1122.659 Yann LeCun

I mean, there are LLMs that have some vision extension, but they're basically hacks in the sense that those things are not like trained end-to-end to handle, to really understand the world. They're not trained with video, for example. They don't really understand intuitive physics, at least not at the moment.

0
💬 0

1123.922 - 1135.07 Lex Fridman

So you don't think there's something special to you about intuitive physics, about sort of common sense reasoning about the physical space, about physical reality. That to you is a giant leap that LLMs are just not able to do.

0
💬 0

1135.631 - 1158.677 Yann LeCun

We're not going to be able to do this with the type of LLMs that we are working with today. And there's a number of reasons for this. But the main reason is The way LLMs are trained is that you take a piece of text, you remove some of the words in that text, you mask them, you replace them by blank markers, and you train a genetic neural net to predict the words that are missing.

0
💬 0

1160.338 - 1180.321 Yann LeCun

And if you build this neural net in a particular way so that it can only look at words that are to the left of the one it's trying to predict, then what you have is a system that basically is trying to predict the next word in a text, right? So then you can feed it a text, a prompt, and you can ask it to predict the next word. It can never predict the next word exactly.

0
💬 0

1180.982 - 1201.964 Yann LeCun

And so what it's going to do is produce a probability distribution over all the possible words in your dictionary. In fact, it doesn't predict words, it predicts tokens that are kind of subword units. And so it's easy to handle the uncertainty in the prediction there, because there is only a finite number of possible words in the dictionary, and you can just compute a distribution over them.

0
💬 0

1203.806 - 1224.38 Yann LeCun

Then what the system does is that it picks a word from that distribution. Of course, there's a higher chance of picking words that have a higher probability within that distribution. So you sample from the distribution to actually produce a word. And then you shift that word into the input. And so that allows the system not to predict the second word, right?

0
💬 0

1225.06 - 1250.577 Yann LeCun

And once you do this, you shift it into the input, et cetera. That's called autoregressive prediction, which is why those LLMs should be called autoregressive LLMs. But we just call them LLMs. And there is a difference between this kind of process and a process by which before producing a word, when you talk, when you and I talk, You and I are bilingual.

0
💬 0

1251.318 - 1271.594 Yann LeCun

We think about what we're going to say, and it's relatively independent of the language in which we're going to say it. When we talk about, I don't know, let's say a mathematical concept or something, the kind of thinking that we're doing and the answer that we're planning to produce is is not linked to whether we're going to see it in French or Russian or English.

0
💬 0

1272.234 - 1282.72 Lex Fridman

Chomsky just rolled his eyes, but I understand. So you're saying that there's a bigger abstraction that goes before language and maps onto language.

0
💬 0

1283.08 - 1286.562 Yann LeCun

Right. It's certainly true for a lot of thinking that we do.

0
💬 0

1286.762 - 1292.665 Lex Fridman

Is that obvious that we don't? Like you're saying your thinking is same in French as it is in English.

0
💬 0

1293.126 - 1293.666 Yann LeCun

Yeah, pretty much.

0
💬 0

1294.807 - 1300.531 Lex Fridman

pretty much, or is this like, how flexible are you? Like if there's a probability distribution.

0
💬 0

1301.892 - 1308.997 Yann LeCun

Well, it depends what kind of thinking, right? If it's just, if it's like producing puns, I get much better in French than English about that.

0
💬 0

1309.697 - 1323.887 Lex Fridman

No, but is there an abstract representation of puns? Like is your humor an abstract, like when you tweet and your tweets are sometimes a little bit spicy, is there an abstract representation in your brain of a tweet before it maps onto English?

0
💬 0

1324.608 - 1331.111 Yann LeCun

There is an abstract representation of imagining the reaction of a reader to that text.

0
💬 0

1331.531 - 1334.613 Lex Fridman

Or you start with laughter and then figure out how to make that happen.

0
💬 0

1334.833 - 1355.684 Yann LeCun

Or figure out a reaction you want to cause and then figure out how to say it so that it causes that reaction. But that's really close to language. But think about a mathematical concept or imagining something you want to build out of wood or something like this, right? the kind of thinking you're doing is absolutely nothing to do with language, really.

0
💬 0

1356.304 - 1373.955 Yann LeCun

It's not like you have necessarily an internal monologue in any particular language. You're imagining mental models of the thing, right? If I ask you to imagine what this water bottle will look like if I rotate it 90 degrees, that has nothing to do with language.

0
💬 0

1375.345 - 1407.694 Yann LeCun

And so clearly there is a more abstract level of representation in which we do most of our thinking and we plan what we're gonna say if the output is you know, uttered words as opposed to an output being, you know, muscle actions, right? We plan our answer before we produce it. And LLMs don't do that. They just produce one word after the other instinctively, if you want.

0
💬 0

1407.714 - 1428.201 Yann LeCun

It's like, it's a bit like the, you know, subconscious actions where you don't, Like you're distracted, you're doing something, you're completely concentrated, and someone comes to you and asks you a question, and you kind of answer the question. You don't have time to think about the answer, but the answer is easy, so you don't need to pay attention. You sort of respond automatically.

0
💬 0

1428.921 - 1444.895 Yann LeCun

That's kind of what an LLM does, right? It doesn't think about its answer, really. It retrieves it because it's accumulated a lot of knowledge, so it can retrieve some things, but it's going to just spit out one token after the other without planning the answer.

0
💬 0

1445.915 - 1471.238 Lex Fridman

But you're making it sound just one token after the other, one token at a time generation is bound to be simplistic. But if the world model is sufficiently sophisticated, that one token at a time the most likely thing it generates as a sequence of tokens is going to be a deeply profound thing.

0
💬 0

1471.258 - 1477.442 Yann LeCun

Okay, but then that assumes that those systems actually possess an eternal world model.

0
💬 0

1477.723 - 1491.054 Lex Fridman

So it really goes to the, I think the fundamental question is can you build a really, complete world model, not complete, but one that has a deep understanding of the world.

0
💬 0

1491.414 - 1513.585 Yann LeCun

Yeah. So can you build this, first of all, by prediction? Right. And the answer is probably yes. Can you build it by predicting words? And the answer is most probably no, because language is very poor in terms of weak or low bandwidth, if you want. There's just not enough information there.

0
💬 0

1514.285 - 1543.114 Yann LeCun

So building world models means observing the world and understanding why the world is evolving the way it is. And then the extra component of a world model is something that can predict how the world is going to evolve as a consequence of an action you might take, right? So one model really is, here is my idea of the state of the world at time t. Here is an action I might take.

0
💬 0

1543.854 - 1566.547 Yann LeCun

What is the predicted state of the world at time t plus 1? Now that state of the world does not need to represent everything about the world. It just needs to represent enough that's relevant for this planning of the action, but not necessarily all the details. Now here is the problem. You're not going to be able to do this with generative models.

0
💬 0

1567.708 - 1580.374 Yann LeCun

So a generative model that's trained on video, and we've tried to do this for 10 years. You take a video, show a system a piece of video, and then ask it to predict the reminder of the video. Basically, predict what's going to happen.

0
💬 0

1580.774 - 1587.257 Lex Fridman

One frame at a time. Do the same thing as sort of the auto-aggressive LLMs do, but for video. Right.

0
💬 0

1587.797 - 1605.404 Yann LeCun

Either one frame at a time or a group of frames at a time. But yeah, a large video model, if you want. The idea of doing this has been floating around for a long time, and at FAIR, some of my colleagues and I have been trying to do this for about 10 years.

0
💬 0

1607.784 - 1630.892 Yann LeCun

And you can't really do the same trick as with LLMs, because LLMs, as I said, you can't predict exactly which word is going to follow a sequence of words, but you can predict the distribution of words. Now, if you go to video, what you would have to do is predict the distribution over all possible frames in a video. And we don't really know how to do that properly.

0
💬 0

1633.013 - 1659.298 Yann LeCun

We do not know how to represent distributions over high-dimensional continuous spaces in ways that are useful. And there lies the main issue. And the reason we can do this is because the world is incredibly more complicated and richer in terms of information than text. Text is discrete. Video is highly dimensional and continuous. A lot of details in this.

0
💬 0

1660.078 - 1682.04 Yann LeCun

So if I take a video of this room, and the video is a camera panning around, there is no way I can predict everything that's going to be in the room as I pan around. The system cannot predict what's going to be in the room as the camera is panning. Maybe it's going to predict this is a room where there's a light and there is a wall and things like that.

0
💬 0

1682.14 - 1693.996 Yann LeCun

It can't predict what the painting on the wall looks like or what the texture of the couch looks like. Certainly not the texture of the carpet. So there's no way it can predict all those details. So the way to handle this

0
💬 0

1695.26 - 1722.959 Yann LeCun

is one way possibly to handle this, which we've been working for a long time, is to have a model that has what's called a latent variable, and the latent variable is fed to a neural net, and it's supposed to represent all the information about the world that you don't perceive yet, and that you need to augment the system for the prediction to do a good job at predicting pixels, including the fine texture of the

0
💬 0

1724.059 - 1745.764 Yann LeCun

the carpet and the couch, and the painting on the wall. That has been a complete failure, essentially. And we've tried lots of things. We tried just straight neural nets, we tried GANs, we tried VAEs, all kinds of regularized autoencoders, we tried many things.

0
💬 0

1746.764 - 1776.022 Yann LeCun

We also tried those kind of methods to learn good representations of images or video that could then be used as input to, for example, an image classification system. And that also has basically failed. All the systems that attempt to predict missing parts of an image or video form a corrupted version of it, basically. So I take an image or a video, corrupt it or transform it in some way,

0
💬 0

1776.942 - 1799.374 Yann LeCun

And then try to reconstruct the complete video or image from the corrupted version. And then hope that internally the system will develop good representations of images that you can use for object recognition, segmentation, whatever it is. That has been essentially a complete failure. And it works really well for text. That's the principle that is used for LLMs, right?

0
💬 0

1799.955 - 1822.988 Lex Fridman

So where is the failure exactly? Is it that it's very difficult to form a good representation of an image, like a good embedding of all the important information in the image? Is it in terms of the consistency of image to image to image to image that forms the video? Like what are the, if we do a highlight reel of all the ways you failed, what's that look like?

0
💬 0

1823.484 - 1847.633 Yann LeCun

Okay, so the reason this doesn't work is, first of all, I have to tell you exactly what doesn't work because there is something else that does work. So the thing that does not work is training the system to learn representations of images by training it to reconstruct a good image from a corrupted version of it. That's what doesn't work.

0
💬 0

1848.493 - 1871.413 Yann LeCun

And we have a whole slew of techniques for this that are a variant of denoising autoencoders. Something called MAE, developed by some of my colleagues at FAIR, masked autoencoder. So it's basically like the you know, LLMs or things like this, where you train the system by corrupting text, except you corrupt images, you remove patches from it, and you train a gigantic neural net to reconstruct.

0
💬 0

1872.273 - 1898.055 Yann LeCun

The features you get are not good. And you know they're not good because if you now train the same architecture, but you train it supervised, with label data, with textual descriptions of images, et cetera, you do get good representations. And the performance on recognition tasks is much better than if you do this self-supervised pre-training. So the architecture is good. The architecture is good.

0
💬 0

1898.095 - 1908.94 Yann LeCun

The architecture of the encoder is good. But the fact that you train the system to reconstruct images does not lead it to produce, to learn good generic features of images.

0
💬 0

1909.04 - 1910.561 Lex Fridman

When you train in a self-supervised way.

0
💬 0

1911.222 - 1921.367 Yann LeCun

Self-supervised by reconstruction. Yeah, by reconstruction. Okay, so what's the alternative? The alternative is joint embedding. What is joint embedding?

0
💬 0

1921.667 - 1923.907 Lex Fridman

What are these architectures that you're so excited about?

0
💬 0

1924.067 - 1943.39 Yann LeCun

Okay, so now instead of training a system to encode the image and then training it to reconstruct the full image from a corrupted version, you take the full image, you take the corrupted or transformed version. You run them both through encoders, which in general are identical, but not necessarily.

0
💬 0

1944.431 - 1969.703 Yann LeCun

And then you train a predictor on top of those encoders to predict the representation of the full input from the representation of the corrupted one. So joint embedding, because you're taking the full input and the corrupted version, or transformed version, run them both through encoders, so you get a joint embedding.

0
💬 0

1970.143 - 1992.434 Yann LeCun

And then you're saying, can I predict the representation of the full one from the representation of the corrupted one? And I call this a JEPA, so that means joint embedding predictive architecture, because there's joint embedding and there is this predictor that predicts the representation of the good guy from the bad guy. And the big question is, how do you train something like this?

0
💬 0

1993.655 - 2003.7 Yann LeCun

And until five years ago, six years ago, we didn't have particularly good answers for how you train those things, except for one called contrastive learning.

0
💬 0

2006.362 - 2030.66 Yann LeCun

And the idea of contractive learning is you take a pair of images that are, again, an image and a corrupted version or degraded version somehow, or transformed version of the original one, and you train the predicted representation to be the same as that. If you only do this, the system collapses. It basically completely ignores the input and produces representations that are constant.

0
💬 0

2032.902 - 2050.287 Yann LeCun

So the contrastive methods avoid this. And those things have been around since the early 90s. I had a paper on this in 1993. You also show pairs of images that you know are different. And then you push away the representations from each other.

0
💬 0

2050.367 - 2070.68 Yann LeCun

So you say, not only do representations of things that we know are the same, should be the same or should be similar, but representation of things that we know are different should be different. And that prevents the collapse, but it has some limitation. And there's a whole bunch of techniques that have appeared over the last six, seven years that can revive this type of method.

0
💬 0

2072.02 - 2093.998 Yann LeCun

Some of them from FAIR, some of them from Google and other places. But there are limitations to those contrasting methods. What has changed in the last... you know, three, four years, is now we have methods that are non-contrastive. So they don't require those negative contrastive samples of images that we know are different.

0
💬 0

2094.439 - 2107.807 Yann LeCun

You turn them on you with images that are, you know, different versions or different views of the same thing. And you rely on some other tweaks to prevent the system from collapsing. And we have half a dozen different methods for this now.

0
💬 0

2108.863 - 2129.63 Lex Fridman

So what is the fundamental difference between joint embedding architectures and LLMs? So can JAPA take us to AGI? Whether we should say that you don't like the term AGI, and we'll probably argue. I think every single time I've talked to you, we've argued about the G in AGI.

0
💬 0

2129.67 - 2129.83 Unknown

Yes.

0
💬 0

2130.151 - 2144.294 Lex Fridman

I get it. I get it. I get it. Well, we'll probably continue to argue about it. It's great. You like Ami, because you like French, and Ami is, I guess, friend in French.

0
💬 0
0
💬 0

2145.114 - 2148.295 Lex Fridman

And AMI stands for Advanced Machine Intelligence.

0
💬 0

2148.715 - 2148.915 Unknown

Right.

0
💬 0

2150.455 - 2155.296 Lex Fridman

But either way, can JAPA take us to that, towards that Advanced Machine Intelligence? Yes.

0
💬 0

2155.467 - 2181.378 Yann LeCun

Well, so it's a first step. So first of all, what's the difference with generative architectures like LLMs? So LLMs or vision systems that are trained by reconstruction generate the inputs. They generate the original input that is non-corrupted, non-transformed. So you have to predict all the pixels.

0
💬 0

2182.799 - 2201.501 Yann LeCun

And there is a huge amount of resources spent in the system to actually predict all those pixels, all the details. In a JEPA, you're not trying to predict all the pixels. You're only trying to predict an abstract representation of the inputs, right? And that's much easier in many ways.

0
💬 0

2202.361 - 2217.48 Yann LeCun

So what the JEPA system, when it's being trained, is trying to do is extract as much information as possible from the input, but yet only extract information that is relatively easily predictable. Okay. So there's a lot of things in the world that we cannot predict.

0
💬 0

2217.5 - 2239.758 Yann LeCun

For example, if you have a self-driving car driving down the street or road, there may be trees around the road and it could be a windy day. So the leaves on the tree are kind of moving in kind of semi-chaotic random ways that you can't predict and you don't care. You don't want to predict. So what you want is your encoder to basically eliminate all those details.

0
💬 0

2239.778 - 2251.324 Yann LeCun

It will tell you there's moving leaves, but it's not going to keep the details of exactly what's going on. And so when you do the prediction in representation space, you're not going to have to predict every single pixel of every leaf.

0
💬 0

2252.697 - 2277.724 Yann LeCun

And that not only is a lot simpler, but also it allows the system to essentially learn an abstract representation of the world where what can be modeled and predicted is preserved, and the rest is viewed as noise and eliminated by the encoder. So it kind of lifts the level of abstraction of the representation. If you think about this, this is something we do absolutely all the time.

0
💬 0

2278.304 - 2289.549 Yann LeCun

Whenever we describe a phenomenon, we describe it at a particular level of abstraction. We don't always describe every natural phenomenon in terms of quantum field theory. That would be impossible.

0
💬 0

2290.409 - 2317.266 Yann LeCun

We have multiple levels of abstraction to describe what happens in the world, starting from quantum field theory to atomic theory and molecules and chemistry, materials, and all the way up to concrete objects in the real world and things like that. We can't just only model everything at the lowest level. That's what the idea of JEPA is really about.

0
💬 0

2317.426 - 2339.167 Yann LeCun

Learn abstract representation in a self-supervised manner. You can do it hierarchically as well. That, I think, is an essential component of an intelligent system. In language, we can get away without doing this because language is already, to some level, abstract, and already has eliminated a lot of information that is not predictable.

0
💬 0

2340.707 - 2347.951 Yann LeCun

So we can get away without doing the chanter embedding, without lifting the abstraction level, and by directly predicting words.

0
💬 0

2349.232 - 2372.79 Lex Fridman

So joint embedding, it's still generative, but it's generative in this abstract representation space. Yeah. And you're saying language, we were lazy with language because we already got the abstract representation for free. And now we have to zoom out, actually think about generally intelligent systems. We have to deal with a full mess of physical reality, of reality.

0
💬 0

2373.01 - 2390.014 Lex Fridman

And you do have to do this step of jumping from Uh... the full, rich, detailed reality to a abstract representation of that reality based on which you can then reason and all that kind of stuff.

0
💬 0

2390.194 - 2409.82 Yann LeCun

Right. And the thing is, those self-supervised algorithms that learn by prediction, even in representation space, they learn more concepts if the input data you feed them is more redundant. The more redundancy there is in the data, the more they're able to capture some internal structure of it.

0
💬 0

2410.66 - 2432.203 Yann LeCun

And so there, there is way more redundancy and structure in perceptual inputs, sensory input, like vision, than there is in text, which is not nearly as redundant. This is back to the question you were asking. a few minutes ago. Language might represent more information really because it's already compressed. You're right about that, but that means it's also less redundant.

0
💬 0

2433.043 - 2435.946 Yann LeCun

And so self-supervised learning will not work as well.

0
💬 0

2436.547 - 2460.847 Lex Fridman

Is it possible to join the self-supervised training on visual data and self-supervised training on language data? There is a huge amount of knowledge, even though you talk down about those 10 to the 13 tokens. Those 10 to the 13 tokens represent the entirety, a large fraction of what us humans have figured out.

0
💬 0

2462.068 - 2474.398 Lex Fridman

Both the shit talk on Reddit and the contents of all the books and the articles and the full spectrum of human intellectual creation. So is it possible to join those two together?

0
💬 0

2475.026 - 2501.06 Yann LeCun

Well, eventually, yes. But I think if we do this too early, we run the risk of being tempted to cheat. And in fact, that's what people are doing at the moment with vision language model. We're basically cheating. We're using language as a crutch to help the deficiencies of our vision systems to kind of learn good representations from images and video. And the problem with this is that

0
💬 0

2502.14 - 2523.989 Yann LeCun

We might improve our vision language system a bit, I mean, our language models by feeding them images, but we're not going to get to the level of even the intelligence or level of understanding of the world of a cat or a dog, which doesn't have language. They don't have language, and they understand the world much better than any LLM.

0
💬 0

2524.87 - 2545.375 Yann LeCun

They can plan really complex actions and sort of imagine the result of a bunch of actions, How do we get machines to learn that before we combine that with language? Obviously, if we combine this with language, this is going to be a winner. But before that, we have to focus on how do we get systems to learn how the world works.

0
💬 0

2546.089 - 2562.254 Lex Fridman

So this kind of joint embedding, predictive architecture, for you, that's going to be able to learn something like common sense, something like what a cat uses to predict how to mess with its owner most optimally by knocking over a thing.

0
💬 0

2562.714 - 2592.514 Yann LeCun

That's the hope. In fact, the techniques we're using are non-contrastive. So not only is the architecture non-generative, the learning procedures we're using are non-contrastive. We have two sets of techniques. One set is based on distillation, and there's a number of methods that use this principle. One by DeepMind called BYOL, a couple by FAIR, one called VicReg, and another one called IGEPA.

0
💬 0

2592.934 - 2613.357 Yann LeCun

And vcrag, I should say, is not a distillation method, actually, but ijpa and BYOL certainly are. And there's another one also called dino, also produced at FAIR. And the idea of those things is that you take the full input, let's say an image, you run it through an encoder, produces a representation.

0
💬 0

2614.097 - 2637.192 Yann LeCun

And then you corrupt that input or transform it, running through essentially what amounts to the same encoder, with some minor differences. And then train a predictor, sometimes the predictor is very simple, sometimes it doesn't exist, but train a predictor to predict a representation of the first uncorrupted input from the corrupted input. But you only train the second branch.

0
💬 0

2638.233 - 2659.122 Yann LeCun

You only train the part of the network that is fed with the corrupted input. The other network you don't train, but since they share the same weight, when you modify the first one, it also modifies the second one. And with various tricks, you can prevent the system from collapsing, with the collapse of the type I was explaining before, where the system basically ignores the input.

0
💬 0

2661.022 - 2671.344 Yann LeCun

So that works very well. The two techniques we've developed at FAIR, Deno and IGEPA, work really well for that.

0
💬 0

2672.085 - 2674.205 Lex Fridman

So what kind of data are we talking about here?

0
💬 0

2674.634 - 2692.548 Yann LeCun

So there's several scenarios. One scenario is you take an image, you corrupt it by changing the cropping, for example, changing the size a little bit, maybe changing the orientation, blurring it, changing the colors. doing all kinds of horrible things to it.

0
💬 0

2692.809 - 2694.009 Lex Fridman

But basic horrible things.

0
💬 0

2694.41 - 2713.705 Yann LeCun

Basic horrible things that sort of degrade the quality a little bit and change the framing, you know, crop the image. And in some cases, in the case of iJet, you don't need to do any of this. You just mask some parts of it, right? You just basically remove some regions, like a big block, essentially. Yeah.

0
💬 0

2714.686 - 2733.489 Yann LeCun

And then run through the encoders and train the entire system, encoder and predictor, to predict the representation of the good one from the representation of the corrupted one. So that's the IGEPA. It doesn't need to know that it's an image, for example, because the only thing it needs to know is how to do this masking.

0
💬 0

2735.13 - 2754.716 Yann LeCun

Whereas with Deno, you need to know it's an image because you need to do things like geometry transformation and blurring and things like that that are really image-specific. A more recent version of this that we have is called VJPA. So it's basically the same idea as iJPA, except it's applied to video. So now you take a whole video and you mask a whole chunk of it.

0
💬 0

2755.497 - 2762.764 Yann LeCun

And what we mask is actually kind of a temporal tube. So like a whole segment of each frame in the video over the entire video. Mm-hmm.

0
💬 0

2763.084 - 2766.828 Lex Fridman

And that tube was statically positioned throughout the frames?

0
💬 0

2766.888 - 2788.147 Yann LeCun

Throughout the tube, yeah. Typically it's 16 frames or something, and we masked the same region over the entire 16 frames. It's a different one for every video, obviously. And then again, train that system so as to predict the representation of the full video from the partially masked video. That works really well.

0
💬 0

2788.207 - 2807.553 Yann LeCun

It's the first system that we have that learns good representations of video so that when you feed those representations to a supervised classifier head, it can tell you what action is taking place in the video with pretty good accuracy. So that's the first time we get something of that quality.

0
💬 0

2809.075 - 2812.616 Lex Fridman

That's a good test that a good representation is formed. That means there's something to this.

0
💬 0

2813.096 - 2834.22 Yann LeCun

Yeah. We have also preliminary results that seem to indicate that the representation allows our system to tell whether the video is physically possible or completely impossible because some object disappeared or an object suddenly jumped from one location to another or changed shape or something.

0
💬 0

2834.66 - 2860.582 Lex Fridman

So it's able to capture some physics-based constraints about the reality represented in the video? Yeah. About the appearance and the disappearance of objects? Yeah. That's really new. Okay. But can this actually... get us to this kind of world model that understands enough about the world to be able to drive a car?

0
💬 0

2862.044 - 2884.764 Yann LeCun

Possibly. This is going to take a while before we get to that point, but there are robotic systems that are based on this idea. And what you need for this is a slightly modified version of this, where imagine that you have a complete video.

0
💬 0

2885.444 - 2908.378 Yann LeCun

And what you're doing to this video is that you're either translating it in time towards the future, so you only see the beginning of the video, but you don't see the latter part of it that is in the original one. Or you just mask the second half of the video, for example. And then you train a JEPA system of the type I described to predict the representation of the full video from the shifted one.

0
💬 0

2909.039 - 2929.387 Yann LeCun

But you also feed the predictor with an action. For example, the wheel is turned 10 degrees to the right or something. So if it's a dash cam in a car and you know the angle of the wheel, you should be able to predict to some extent what's going to happen to what you see.

0
💬 0

2929.407 - 2942.411 Yann LeCun

You're not going to be able to predict all the details of objects that appear in the view, obviously, but at an abstract representation level, you can probably predict what's going to happen. So now what you have is...

0
💬 0

2944.489 - 2960.041 Yann LeCun

an internal model that says, here is my idea of state of the world at time t, here is an action I'm taking, here is a prediction of the state of the world at time t plus one, t plus delta t, t plus two seconds, whatever it is. If you have a model of this type, you can use it for planning.

0
💬 0

2960.842 - 2991.542 Yann LeCun

So now you can do what LLMs cannot do, which is planning what you're going to do so as to arrive at a particular outcome or satisfy a particular objective. So you can have a number of objectives. I can predict that if I have an object like this and I open my hand, it's going to fall. And if I push it with a particular force on the table, it's going to move.

0
💬 0

2991.723 - 3016.988 Yann LeCun

If I push the table itself, it's probably not going to move with the same force. So we have this internal model of the world in our mind, which allows us to plan sequences of actions to arrive at a particular goal. And so now if you have this world model, we can imagine a sequence of actions, predict what the outcome of the sequence of action is going to be,

0
💬 0

3018.149 - 3043.281 Yann LeCun

measure to what extent the final state satisfies a particular objective, like moving the bottle to the left of the table, and then plan a sequence of actions that will minimize this objective at runtime. We're not talking about learning, we're talking about inference time. So this is planning, really. And in optimal control, this is a very classical thing. It's called model predictive control.

0
💬 0

3043.321 - 3064.426 Yann LeCun

You have a model of the system you want to control that can predict the sequence of states corresponding to a sequence of commands. And you're planning a sequence of commands so that, according to your world model, the end state of the system will satisfy an objective that you fix. This is the way...

0
💬 0

3067.528 - 3072.071 Yann LeCun

Rocket trajectories have been planned since computers have been around, so since the early 60s, essentially.

0
💬 0

3072.091 - 3081.338 Lex Fridman

So yes, for model predictive control, but you also often talk about hierarchical planning. Can hierarchical planning emerge from this somehow?

0
💬 0

3081.789 - 3105.411 Yann LeCun

Well, so no, you will have to build a specific architecture to allow for hierarchical planning. So hierarchical planning is absolutely necessary if you want to plan complex actions. If I want to go from, let's say, from New York to Paris, it's the example I use all the time, and I'm sitting in my office at NYU, my objective that I need to minimize is my distance to Paris at a high level.

0
💬 0

3106.311 - 3131.856 Yann LeCun

a very abstract representation of my location, I would have to decompose this into two sub-goals. First one is go to the airport. Second one is catch a plane to Paris. Okay, so my sub-goal is now going to the airport. My objective function is my distance to the airport. How do I go to the airport? Well, I have to go in the street and hail a taxi, which you can do in New York.

0
💬 0

3134.097 - 3154.525 Yann LeCun

Okay, now I have another sub-goal. Go down on the street. What that means, going to the elevator, going down the elevator, walk out the street. How do I go to the elevator? I have to... Stand up from my chair, open the door of my office, go to the elevator, push the button. How do I get up from my chair?

0
💬 0

3155.225 - 3174.437 Yann LeCun

Like, you know, you can imagine going down, all the way down to basically what amounts to millisecond by millisecond muscle control. Okay. And obviously you're not going to plan your entire trip from New York to Paris in terms of millisecond by millisecond muscle control. First, that would be incredibly expensive.

0
💬 0

3175.097 - 3193.963 Yann LeCun

But it will also be completely impossible because you don't know all the conditions of what's going to happen. How long it's going to take to catch a taxi or to go to the airport with traffic. You would have to know exactly the condition of everything to be able to do this planning. And you don't have the information.

0
💬 0

3194.284 - 3213.782 Yann LeCun

So you have to do this hierarchical planning so that you can start acting and then sort of replanning as you go. And nobody really knows how to do this in AI. Nobody knows how to train a system to learn the appropriate multiple levels of representation so that hierarchical planning works.

0
💬 0

3214.142 - 3241.401 Lex Fridman

Does something like that already emerge? So like, can you use an LLM? state-of-the-art LLM to get you from New York to Paris by doing exactly the kind of detailed set of questions that you just did, which is, can you give me a list of 10 steps I need to do to get from New York to Paris? And then for each of those steps, can you give me a list of 10 steps how I make that step happen?

0
💬 0

3242.081 - 3253.207 Lex Fridman

And for each of those steps, can you give me a list of 10 steps to make each one of those until you're moving your individual muscles? Maybe not. Whatever you can actually act upon using your mind.

0
💬 0

3254.348 - 3269.563 Yann LeCun

Right, so there's a lot of questions that are actually implied by this, right? So the first thing is, LLMs will be able to answer some of those questions down to some level of abstraction. under the condition that they've been trained with similar scenarios in their training set.

0
💬 0

3270.123 - 3277.009 Lex Fridman

They would be able to answer all of those questions, but some of them may be hallucinated, meaning non-factual.

0
💬 0

3277.089 - 3289.879 Yann LeCun

Yeah, true. I mean, they will probably produce some answer, except they're not going to be able to really kind of produce millisecond by millisecond muscle control of how you stand up from your chair, right? But down to some level of abstraction where you can describe things by words,

0
💬 0

3290.6 - 3305.365 Yann LeCun

They might be able to give you a plan, but only under the condition that they've been trained to produce those kind of plans, right? They're not going to be able to plan for situations that they never encountered before. They basically are going to have to regurgitate the template that they've been trained on.

0
💬 0

3305.725 - 3324.354 Lex Fridman

But where, like, just for the example of New York to Paris, is it going to start getting into trouble? Like, at which layer of abstraction do you think you'll start? Because, like, I can imagine almost every single part of that, an alum would be able to answer somewhat accurately. especially when you're talking about New York and Paris, major cities.

0
💬 0

3324.374 - 3354.379 Yann LeCun

Certainly, LLM would be able to solve that problem if you fine-tune it for it. I can't say that LLM cannot do this. It can do this if you train it for it. There's no question. Down to a certain level, where things can be formulated in terms of words. But if you want to go down to how you climb down the stairs or just stand up from your chair in terms of words, you can't do it.

0
💬 0

3354.599 - 3363.505 Yann LeCun

That's one of the reasons you need experience of the physical world, which is much higher bandwidth than what you can express in words. In human language.

0
💬 0

3363.845 - 3386.211 Lex Fridman

So everything we've been talking about on the joint embedding space, is it possible that that's what we need for the interaction with physical reality on the robotics front? And then just the LLMs are the thing that sits on top of it for the bigger reasoning about the fact that I need to book a plane ticket and I need to know how to go to the websites and so on.

0
💬 0

3386.511 - 3415.655 Yann LeCun

Sure. And, you know, a lot of plans that people know about that are relatively high level are actually learned. Most people don't invent the, you know, plans. They... We have some ability to do this, of course, obviously, but most plans that people use are plans that they've been trained on. They've seen other people use those plans or they've been told how to do things.

0
💬 0

3417.096 - 3433.401 Yann LeCun

You can't invent how you take a person who's never heard of airplanes and tell them, like, how do you go from New York to Paris and... They're probably not going to be able to deconstruct the whole plan unless they've seen examples of that before. So certainly LLMs are going to be able to do this.

0
💬 0

3433.481 - 3452.289 Yann LeCun

But then how you link this from the low level of actions, that needs to be done with things like JEPA that basically lifts the abstraction level of the representation without attempting to reconstruct every detail of the situation. That's why we need JEPAs for it.

0
💬 0

3453.581 - 3484.749 Lex Fridman

I would love to sort of linger on your skepticism around auto-aggressive LLMs. So one way I would like to test that skepticism is everything you say makes a lot of sense. But if I apply everything you said today and in general to like, I don't know, 10 years ago, maybe a little bit less, no, let's say three years ago, I wouldn't be able to predict the success of LLMs.

0
💬 0

3485.69 - 3508.911 Lex Fridman

So does it make sense to you that autoregressive LLMs are able to be so damn good? Yes. Yes. Can you explain your intuition? Because if I were to take your wisdom and intuition at face value, I would say there's no way autoregressive LLMs, one token at a time, would be able to do the kind of things they're doing.

0
💬 0

3509.15 - 3533.68 Yann LeCun

No, there's one thing that autoregressive LLMs, or that LLMs in general, not just the autoregressive one, but including the BERT-style bidirectional ones, are exploiting, and it's self-supervised learning. And I've been a very, very strong advocate of self-supervised learning for many years. So those things are an incredibly impressive demonstration that self-supervised learning actually works.

0
💬 0

3534.78 - 3568.355 Yann LeCun

It didn't start with Bert, but it was really a good demonstration with this. The idea that you take a piece of text, you corrupt it, and then you train some gigantic neural net to reconstruct the parts that are missing, that has produced an enormous amount of benefits. It allowed us to create systems that understand language, systems that can translate hundreds of languages in any direction.

0
💬 0

3569.335 - 3583.547 Yann LeCun

systems that are multilingual, so it's a single system that can be trained to understand hundreds of languages and translate in any direction, and produce summaries, and then answer questions and produce text.

0
💬 0

3584.551 - 3607.247 Yann LeCun

And then there's a special case of it, which is the autoregressive trick, where you constrain the system to not elaborate a representation of the text from looking at the entire text, but only predicting a word from the words that come before. And you do this by constraining the architecture of the network. And that's what you can build an autoregressive LLM from.

0
💬 0

3607.967 - 3633.408 Yann LeCun

So there was a surprise many years ago with what's called decoder-only LLMs. So, you know, systems of this type that are just trying to produce words from the previous one. And the fact that when you scale them up, they tend to really kind of understand more about language. When you train them on lots of data, you make them really big. That was kind of a surprise.

0
💬 0

3633.488 - 3649.296 Yann LeCun

And that surprise occurred quite a while back, like, you know, with work from Google Meta, OpenAI, et cetera, going back to the GPT kind of work, general pre-trained transformers.

0
💬 0

3649.736 - 3659.26 Lex Fridman

You mean like GPT-2? There's a certain place where you start to realize scaling might actually keep giving us an emergent benefit.

0
💬 0

3659.505 - 3670.158 Yann LeCun

Yeah, I mean, there were work from various places, but if you want to kind of place it in the GPT timeline, that would be around GPT-2, yeah.

0
💬 0

3671.809 - 3678.114 Lex Fridman

Well, I just, because you said it, you're so charismatic, and you said so many words, but self-supervised learning, yes.

0
💬 0

3678.634 - 3703.331 Lex Fridman

But again, the same intuition you're applying to saying that autoregressive LLMs cannot have a deep understanding of the world, if we just apply that same intuition, does it make sense to you that they're able to form enough of a representation of the world to be damn convincing? Essentially, passing the original Turing test with flying colors.

0
💬 0

3703.572 - 3718.343 Yann LeCun

Well, we're fooled by their fluency, right? We just assume that if a system is fluent in manipulating language, then it has all the characteristics of human intelligence. But that impression is false. We're really fooled by it.

0
💬 0

3719.343 - 3723.967 Lex Fridman

What do you think Alan Turing would say? Without understanding anything, just hanging out with it.

0
💬 0

3724.187 - 3733.877 Yann LeCun

Alan Turing would decide that the Turing test is a really bad test. Okay. This is what the AI community has decided many years ago, that the Turing test was a really bad test of intelligence.

0
💬 0

3734.818 - 3738.763 Lex Fridman

What would Hans Moravec say about the large language models?

0
💬 0

3739.003 - 3745.209 Yann LeCun

Hans Moravec would say the Moravec paradox still applies. Okay. Okay. Okay, we can pass.

0
💬 0

3745.229 - 3746.81 Lex Fridman

You don't think you would be really impressed?

0
💬 0

3746.97 - 3763.54 Yann LeCun

No, of course, everybody would be impressed. But, you know, it's not a question of being impressed or not. It's the question of knowing what the limit of those systems can do. Again, they are impressive. They can do a lot of useful things. There's a whole industry that is being built around them. They're going to make progress.

0
💬 0

3764.821 - 3784.788 Yann LeCun

But there is a lot of things they cannot do and we have to realize what they cannot do and then figure out how we get there. I'm seeing this from basically 10 years of research on the idea of self-supervised learning.

0
💬 0

3785.028 - 3804.597 Yann LeCun

Actually, that's going back more than 10 years, but the idea of self-supervised learning, so basically capturing the internal structure of a set of inputs without training the system for any particular task, learning representations. You know, the conference I co-founded 14 years ago is called International Conference on Learning Representations.

0
💬 0

3804.637 - 3817.951 Yann LeCun

That's the entire issue that deep learning is dealing with, right? And it's been my obsession for almost 40 years now. So learning representation is really the thing. For the longest time, you could only do this with supervised learning.

0
💬 0

3818.531 - 3843.635 Yann LeCun

And then we started working on what we used to call unsupervised learning and sort of revived the idea of unsupervised learning in the early 2000s with Yoshua Bengio and Jeff Hinton. Then discovered that supervised learning actually works pretty well if you can collect enough data. And so the whole idea of unsupervised self-supervised learning kind of took a backseat for a bit.

0
💬 0

3843.715 - 3864.672 Yann LeCun

And then I kind of tried to revive it in a big way, starting in 2014, basically when we started FAIR. and really pushing for finding new methods to do self-supervised learning, both for text and for images and for video and audio. And some of that work has been incredibly successful.

0
💬 0

3865.853 - 3886.523 Yann LeCun

I mean, the reason why we have a multilingual translation system, you know, things to do content moderation on Meta, for example, on Facebook, that are multilingual, that understand whether a piece of text is hate speech or not or something. is due to that progress using self-supervised learning for NLP, combining this with transformer architectures and blah, blah, blah.

0
💬 0

3886.543 - 3902.733 Yann LeCun

But that's the big success of self-supervised learning. We had similar success in speech recognition, a system called Wave2Vec, which is also a joint embedding architecture, by the way, trained with contrastive learning. And that system also can produce speech recognition systems that are multilingual,

0
💬 0

3903.413 - 3919.062 Yann LeCun

with mostly unlabeled data and only need a few minutes of labeled data to actually do speech recognition. That's amazing. We have systems now based on those combination of ideas that can do real-time translation of hundreds of languages into each other.

0
💬 0

3920.062 - 3928.268 Lex Fridman

Speech-to-speech. Speech-to-speech, even including just fascinating languages that don't have written forms. That's right. They're spoken only.

0
💬 0

3928.348 - 3945.179 Yann LeCun

That's right. We don't go through text. It goes directly from speech-to-speech using an internal representation of kind of speech units that are discrete. But it's called textless NLP. We used to call it this way. But yeah, so that, I mean, incredible success there. And then, you know, for 10 years, we tried to apply this idea

0
💬 0

3945.959 - 3968.532 Yann LeCun

to learning representations of images by training a system to predict videos, learning intuitive physics by training a system to predict what's going to happen in a video, and tried and tried and failed and failed with generative models, with models that predict pixels. We could not get them to learn good representations of images. We could not get them to learn good representations of videos.

0
💬 0

3969.232 - 3985.753 Yann LeCun

And we tried many times. We published lots of papers on it. They kind of sort of worked, but not really great. It started working. We abandoned this idea of predicting every pixel and basically just doing digital embedding and predicting in representation space. That works.

0
💬 0

3986.973 - 4003.043 Yann LeCun

So there's ample evidence that we're not going to be able to learn good representations of the real world using generative model. So I'm telling people, everybody's talking about generative AI. If you're really interested in human-level AI, abandon the idea of generative AI.

0
💬 0

4004.304 - 4019.877 Lex Fridman

Okay, but you really think it's possible to get far with a joint embedding representation? So there's common sense reasoning, and then there's high-level reasoning. I feel like those are two...

0
💬 0

4021.394 - 4041.685 Lex Fridman

The kind of reasoning that LLMs are able to do, okay, let me not use the word reasoning, but the kind of stuff that LLMs are able to do seems fundamentally different than the common sense reasoning we use to navigate the world. It seems like we're going to need both. You're not? Would you be able to get, with the joint embedding, would you jump a type of approach looking at video?

0
💬 0

4042.005 - 4068.242 Lex Fridman

Would you be able to learn, let's see, well, how to get from New York to Paris? Or... how to understand the state of politics in the world today. Right? These are things where various humans generate a lot of language and opinions on in the space of language, but don't visually represent that in any clearly compressible way.

0
💬 0

4068.888 - 4089.24 Yann LeCun

Right. Well, there's a lot of situations that might be difficult for a purely language-based system to know. Like, okay, you can probably learn from reading texts, the entirety of the publicly available texts in the world, that I cannot get from New York to Paris by snapping my fingers. That's not going to work, right? Yes.

0
💬 0

4091.201 - 4117.702 Yann LeCun

But there's probably more complex scenarios of this type, which an NLM may never have encountered and may not be able to determine whether it's possible or not. So that link from the low level to the high level. The thing is that the high level that language expresses is based on a common experience of the low level, which LLMs currently do not have.

0
💬 0

4119.623 - 4126.608 Yann LeCun

When we talk to each other, we know we have a common experience of the world. A lot of it is similar.

0
💬 0

4128.969 - 4158.046 Lex Fridman

And LLMs don't have that. But see, it's present. You and I have a common experience of the world in terms of the physics of how gravity works and stuff like this. And that... common knowledge of the world, I feel like is there in the language. We don't explicitly express it, but if you have a huge amount of text, you're going to get this stuff that's between the lines.

0
💬 0

4158.386 - 4184.176 Lex Fridman

In order to form a consistent world of morality, you're going to have to understand how gravity works, even if you don't have an explicit explanation of gravity. So even though in the case of gravity, there is explicit explanations of gravity in Wikipedia. But the stuff that we think of as common sense reasoning, I feel like to generate language correctly, you're going to have to figure that out.

0
💬 0

4184.656 - 4190.318 Lex Fridman

Now you could say, as you have, there's not enough text. Sorry, okay. You don't think so.

0
💬 0

4190.638 - 4200.381 Yann LeCun

No, I agree with what you just said, which is that to be able to do high-level common sense, to have high-level common sense, you need to have the low-level common sense to build on top of.

0
💬 0

4201.842 - 4202.842 Lex Fridman

But that's not there.

0
💬 0

4203.082 - 4219.328 Yann LeCun

And that's not there in LLMs. LLMs are purely trained from text. So then the other statement you made, I would not agree with the fact that implicit in all languages in the world is the underlying reality. There's a lot about underlying reality which is not expressed in language.

0
💬 0

4219.668 - 4239.192 Lex Fridman

Is that obvious to you? Yeah, totally. So like all the conversations we had, okay, there's the dark web, meaning whatever, the private conversations like DMs and stuff like this, which is much, much larger probably than what's available, what LLMs are trained on.

0
💬 0

4239.772 - 4241.653 Yann LeCun

You don't need to communicate the stuff that is common.

0
💬 0

4242.824 - 4258.311 Lex Fridman

but the humor, all of it. No, you do. You don't need to, but it comes through. If I accidentally knock this over, you'll probably make fun of me. In the content of the you making fun of me will be explanation of the fact that

0
💬 0

4258.931 - 4274.515 Lex Fridman

cups fall and then, you know, gravity works in this way and then you'll have some very vague information about what kind of things explode when they hit the ground and then maybe you'll make a joke about entropy or something like this and we'll never be able to reconstruct this again.

0
💬 0

4274.855 - 4298.525 Lex Fridman

Like, okay, you'll make a little joke like this and there'll be a trillion of other jokes and from the jokes you can piece together the fact that gravity works and mugs can break and all this kind of stuff. You don't need to see it'll be very inefficient. It's easier for like to knock the thing over. But I feel like it would be there if you have enough of that data.

0
💬 0

4299.565 - 4312.613 Yann LeCun

I just think that most of the information of this type that we have accumulated when we were babies is just not present in text, in any description, essentially.

0
💬 0

4312.733 - 4317.156 Lex Fridman

And the sensory data is a much richer source for getting that kind of understanding.

0
💬 0

4317.176 - 4342.209 Yann LeCun

I mean, that's the 16,000 hours of wake time of a four-year-old and 10 to the 15 bytes, you know, going through vision, just vision, right? There is a similar bandwidth, you know, of touch and a little less through audio. And then text doesn't, language doesn't come in until like, you know, a year in life. And by the time you are nine years old, you've learned everything.

0
💬 0

4342.955 - 4365.125 Yann LeCun

about gravity, you know, about inertia, you know, about gravity, you know, the stability, you know, you know, about the distinction between animate and inanimate objects, you know, by 18 months, you know, about like why people want to do things and you help them if they can't, you know, I mean, there's a lot of things that you learn mostly by observation, really not even through interaction.

0
💬 0

4365.185 - 4378.953 Yann LeCun

In the first few months of life, babies don't really have any influence on the world. They can only observe, right? And you accumulate a gigantic amount of knowledge just from that. So that's what we're missing from current AI systems.

0
💬 0

4380.359 - 4401.433 Lex Fridman

I think in one of your slides you have this nice plot that is one of the ways you show that LLMs are limited. I wonder if you could talk about hallucinations from your perspectives. The why hallucinations happen from large language models and why and to what degree is that a fundamental flaw of large language models?

0
💬 0

4402.273 - 4431.663 Yann LeCun

Right. So because of the autoregressive prediction, every time an LLM produces a token or a word, there is some level of probability for that word to take you out of the set of reasonable answers. And if you assume, which is a very strong assumption, that the probability of such error is that those errors are independent across a sequence of tokens being produced.

0
💬 0

4432.324 - 4441.007 Yann LeCun

What that means is that every time you produce a token, the probability that you stay within the set of correct answers decreases, and it decreases exponentially.

0
💬 0

4441.502 - 4450.887 Lex Fridman

So there's a strong, like you said, assumption there that if there's a non-zero probability of making a mistake, which there appears to be, then there's going to be a kind of drift.

0
💬 0

4451.547 - 4463.594 Yann LeCun

Yeah. And that drift is exponential. It's like errors accumulate, right? So the probability that an answer would be nonsensical increases exponentially with the number of tokens.

0
💬 0

4464.269 - 4481.237 Lex Fridman

Is that obvious to you, by the way? Well, mathematically speaking, maybe, but isn't there a kind of gravitational pull towards the truth? Because on average, hopefully, the truth is well represented in the training set.

0
💬 0

4481.883 - 4504.973 Yann LeCun

No, it's basically a struggle against the curse of dimensionality. So the way you can correct for this is that you fine-tune the system by having it produce answers for all kinds of questions that people might come up with. And people are people, so a lot of the questions that they have are very similar to each other, so you can probably cover 80% or whatever.

0
💬 0

4506.614 - 4533.766 Yann LeCun

of questions that people will ask by collecting data. And then you fine-tune the system to produce good answers for all of those things. And it's probably going to be able to learn that because it's got a lot of capacity to learn. But then there is... you know, the enormous set of prompts that you have not covered during training. And that set is enormous.

0
💬 0

4533.826 - 4551.935 Yann LeCun

Like within the set of all possible prompts, the proportion of prompts that have been used for training is absolutely tiny. It's a tiny, tiny, tiny subset of all possible prompts. And so the system will behave properly on the prompts that has been either trained, pre-trained or fine-tuned.

0
💬 0

4554.308 - 4582.457 Yann LeCun

But then there is an entire space of things that it cannot possibly have been trained on because the number is gigantic. So whatever training the system has been subject to to produce appropriate answers, you can break it by finding out a prompt that will be outside of the set of prompts it's been trained on, or things that are similar, and then it will just spew complete nonsense.

0
💬 0

4583.158 - 4598.953 Lex Fridman

When you say prompt, do you mean that exact prompt or do you mean a prompt that's like in many parts, very different than like, is it that easy to ask a question or to say a thing that hasn't been said before on the internet?

0
💬 0

4599.161 - 4621.727 Yann LeCun

I mean, people have come up with things where you put essentially a random sequence of characters in a prompt, and that's enough to kind of throw the system into a mode where it's going to answer something completely different than it would have answered without this. So that's a way to jailbreak the system, basically go outside of its conditioning, right?

0
💬 0

4622.107 - 4638.376 Lex Fridman

So that's a very clear demonstration of it, but of course... that goes outside of what it's designed to do. If you actually stitch together reasonably grammatical sentences, is it that easy to break it?

0
💬 0

4639.356 - 4657.263 Yann LeCun

Yeah, some people have done things like you write a sentence in English or you ask a question in English and it produces a perfectly fine answer. And then you just substitute a few words. by the same word in another language. And all of a sudden, the answer is complete nonsense.

0
💬 0

4657.283 - 4666.91 Lex Fridman

Yes, so I guess what I'm saying is like, which fraction of prompts that humans are likely to generate are going to break the system?

0
💬 0

4667.21 - 4688.532 Yann LeCun

So the problem is that there is a long tail. Yes. This is an issue that a lot of people have realized in social networks and stuff like that, which is there's a very, very long tail of things that people will ask. And you can fine-tune the system for the 80% or whatever of the things that most people will ask.

0
💬 0

4688.972 - 4707.612 Yann LeCun

And then this long tail is so large that you're not going to be able to fine-tune the system for all the conditions. And in the end, the system ends up being kind of a giant lookup table, right, essentially, which is not really what you want. You want systems that can reason, certainly that can plan. So the type of reasoning that takes place in LLM is very, very primitive.

0
💬 0

4708.332 - 4727.524 Yann LeCun

And the reason you can tell it's primitive is because the amount of computation that is spent per token produced is constant. So if you ask a question and that question has an answer in a given number of token, the amount of computation devoted to computing that answer can be exactly estimated.

0
💬 0

4727.664 - 4743.092 Yann LeCun

It's like, you know, it's the size of the prediction network, you know, with its 36 layers or 92 layers or whatever it is, multiplied by number of tokens, that's it. And so essentially it doesn't matter if the question being asked

0
💬 0

4744.309 - 4763.413 Yann LeCun

is simple to answer, complicated to answer, impossible to answer because it's undecidable or something, the amount of computation the system will be able to devote to the answer is constant, or is proportional to the number of tokens produced in the answer, right? This is not the way we work.

0
💬 0

4763.653 - 4776.305 Yann LeCun

The way we reason is that when we're faced with a complex problem or a complex question, we spend more time trying to solve it and answer it, right? Because it's more difficult.

0
💬 0

4776.645 - 4802.216 Lex Fridman

There's a prediction element. There's an iterative element where you're like... adjusting your understanding of a thing by going over and over and over. There's a hierarchical element and so on. Does this mean it's a fundamental flaw of LLMs? Or does it mean that... It's more part to that question. Now you're just behaving like an LLM. Immediately answer. No, that...

0
💬 0

4803.257 - 4829.254 Lex Fridman

that it's just a low-level world model on top of which we can then build some of these kinds of mechanisms, like you said, persistent long-term memory or reasoning, so on. But we need that world model that comes from language. Maybe it is not so difficult to build this kind of reasoning system on top of a well-constructed world model.

0
💬 0

4829.645 - 4854.473 Yann LeCun

Okay, whether it's difficult or not, the near future will say, because a lot of people are working on reasoning and planning abilities for dialogue systems. I mean, even if we restrict ourselves to language, just having the ability to plan your answer before you answer in terms that are not necessarily linked with the language you're going to use to produce the answer.

0
💬 0

4855.053 - 4876.202 Yann LeCun

So this idea of this mental model that allows you to plan what you're going to say before you say it. That is very important. I think there's going to be a lot of systems over the next few years that are going to have this capability. But the blueprint of those systems would be extremely different from autoregressive LLMs. So

0
💬 0

4879.485 - 4900.599 Yann LeCun

it's the same difference as the difference between what psychologists call system one and system two in humans, right? So system one is the type of tasks that you can accomplish without like deliberately, consciously think about how you do them. You just do them, you've done them enough that you can just do it subconsciously, right? Without thinking about them. If you're an experienced driver,

0
💬 0

4901.4 - 4919.213 Yann LeCun

You can drive without really thinking about it, and you can talk to someone at the same time or listen to the radio, right? If you are a very experienced chess player, you can play against a non-experienced chess player without really thinking either. You just recognize the pattern and you play. Right? That's system one.

0
💬 0

4921.014 - 4939.905 Yann LeCun

So all the things that you do instinctively without really having to deliberately plan and think about it. And then there is all the tasks where you need to plan. So if you are... and not to an experienced chess player, or you are experienced when you play against another experienced chess player. You think about all kinds of options, right? You think about it for a while, right?

0
💬 0

4941.044 - 4968.535 Yann LeCun

You're much better if you have time to think about it than you are if you play Blitz with limited time. So this type of deliberate planning, which uses your internal world model, that's system two. This is what LLMs currently cannot do. So how do we get them to do this? How do we build a system that can do this kind of planning or reasoning that devotes

0
💬 0

4969.435 - 4997.094 Yann LeCun

more resources to complex problems than to simple problems. And it's not going to be autoregressive prediction of tokens. It's going to be more something akin to inference of latent variables in what used to be called probabilistic models or graphical models and things of that type. So basically, the principle is like this. The prompt is like observed variables.

0
💬 0

4998.94 - 5027.342 Yann LeCun

And what the model does is that it can measure to what extent an answer is a good answer for a prompt. So think of it as some gigantic neural net, but it's got only one output. And that output is a scalar number, which is, let's say, zero if the answer is a good answer for the question, and a large number if the answer is not a good answer for the question. Imagine you had this model.

0
💬 0

5028.271 - 5044.137 Yann LeCun

If you had such a model, you could use it to produce good answers. The way you would do is produce the prompt and then search through the space of possible answers for one that minimizes that number. That's called an energy-based model.

0
💬 0

5044.397 - 5050.179 Lex Fridman

But that energy-based model would need the model constructed by the LLM.

0
💬 0

5051.383 - 5078.97 Yann LeCun

Well, so really what you need to do would be to not search over possible strings of text that minimize that energy. But what you would do is do this in abstract representation space. So in sort of the space of abstract thoughts, you would elaborate a thought, right, using this process of minimizing the output of your model, okay, which is just a scalar. It's an optimization process.

0
💬 0

5079.23 - 5102.215 Yann LeCun

So now the way the system produces its answer is through optimization, by minimizing an objective function, basically. And we're talking about inference, we're not talking about training. The system has been trained already. So now we have an abstract representation of the thought of the answer, representation of the answer. We feed that to, basically, an autoregressive decoder,

0
💬 0

5103.472 - 5123.288 Yann LeCun

which can be very simple, that turns this into a text that expresses this thought. So that, in my opinion, is the blueprint of future dialogue systems. They will think about their answer, plan their answer by optimization before turning it into text. And that is Turing-complete.

0
💬 0

5124.056 - 5136.145 Lex Fridman

Can you explain exactly what the optimization problem there is? Like what's the objective function? Just link on it. You kind of briefly described it, but over what space are you optimizing?

0
💬 0

5136.165 - 5152.016 Yann LeCun

The space of representations. It goes abstract representation. Abstract representation. So you have an abstract representation inside the system. You have a prompt. The prompt goes through an encoder, produces a representation, perhaps goes through a predictor that predicts a representation of the answer, of the proper answer.

0
💬 0

5152.576 - 5175.468 Yann LeCun

But that representation may not be a good answer because there might be some complicated reasoning you need to do, right? So then you have another process that takes the representation of the answers and modifies it so as to minimize a cost function that measures to what extent the answer is a good answer for the question.

0
💬 0

5175.788 - 5188.477 Yann LeCun

Now, we sort of ignore the fact for, I mean, the issue for a moment of how you train that system to measure whether an answer is a good answer for a question.

0
💬 0

5188.497 - 5195.002 Lex Fridman

Sure, but suppose such a system could be created, but what's the process, this kind of search-like process?

0
💬 0

5195.262 - 5217.622 Yann LeCun

It's an optimization process. You can do this if the entire system is differentiable, that scalar output is the result of running through some neural net, running the answer, the representation of the answer through some neural net. Then by gradient descent, by back-propagating gradients, you can figure out how to modify the representation of the answer so as to minimize that.

0
💬 0

5217.962 - 5238.836 Yann LeCun

So that's still a gradient-based... It's gradient-based inference. So now you have a representation of the answer in abstract space. Now you can turn it into text. And the cool thing about this is that the representation now can be optimized through gradient descent, but also is independent of the language in which you're going to express the answer.

0
💬 0

5240.413 - 5255.811 Lex Fridman

Right, so you're operating in the subtract representation. I mean, this goes back to the joint embedding. Right. That it's better to work in the space of, I don't know, to romanticize the notion, like space of concepts versus the space of concrete concepts.

0
💬 0

5257.384 - 5277.743 Yann LeCun

sensory information right okay but this can can this do something like reasoning which is what we're talking about well not really in a only in a very simple way i mean basically you can think of those things that's doing the kind of optimization i was i was talking about except they optimize in the discrete space which is the space of possible sequences of of tokens

0
💬 0

5278.684 - 5299.872 Yann LeCun

And they do this optimization in a horribly inefficient way, which is generate a lot of hypotheses and then select the best ones. And that's incredibly wasteful in terms of computation. Because you basically have to run your LLM for every possible generated sequence. And it's incredibly wasteful.

0
💬 0

5301.672 - 5320.576 Yann LeCun

So it's much better to do an optimization in continuous space where you can do gradient descent as opposed to like generate tons of things and then select the best. You just iteratively refine your answer to go towards the best, right? That's much more efficient. But you can only do this in continuous spaces with differentiable functions.

0
💬 0

5320.936 - 5337.167 Lex Fridman

You're talking about the reasoning, like ability to think deeply or to reason deeply. How do you know what, is an answer that's better or worse based on deep reasoning.

0
💬 0

5337.508 - 5356.555 Yann LeCun

Right. So then we're asking the question of, conceptually, how do you train an energy-based model? So an energy-based model is a function with a scalar output, just a number. You give it two inputs, x and y, and it tells you whether y is compatible with x or not. x you observe. Let's say it's a prompt, an image, a video, whatever.

0
💬 0

5357.458 - 5378.838 Yann LeCun

And y is a proposal for an answer, a continuation of the video, you know, whatever. And it tells you whether y is compatible with x. And the way it tells you that y is compatible with x is that the output of that function would be zero if y is compatible with x. It would be a positive number, non-zero, if y is not compatible with x.

0
💬 0

5380.123 - 5396.245 Yann LeCun

Okay, how do you train a system like this at a completely general level is you show it pairs of X and Ys that are compatible, a question and the corresponding answer, and you train the parameters of the big neural net inside to produce zero.

0
💬 0

5397.086 - 5397.226 Unknown

Mm-hmm.

0
💬 0

5397.486 - 5414.519 Yann LeCun

Okay, now that doesn't completely work because the system might decide, well, I'm just going to say zero for everything. So now you have to have a process to make sure that for a wrong y, the energy would be larger than zero. And there you have two options. One is contrastive method.

0
💬 0

5414.599 - 5430.34 Yann LeCun

So contrastive method is you show an x and a bad y, and you tell the system, well, that's, you know, give a high energy to this, like push up the energy, right? Change the weights in the neural net that computes the energy so that it goes up. So that's contrasting methods.

0
💬 0

5430.4 - 5456.968 Yann LeCun

The problem with this is if the space of Y is large, the number of such contrasting samples you're going to have to show is gigantic. But people do this. They do this when you train a system with RLHF. Basically what you're training is what's called a reward model, which is basically an objective function that tells you whether an answer is good or bad. And that's basically exactly what

0
💬 0

5458.427 - 5483.997 Yann LeCun

what this is. So we already do this to some extent. We're just not using it for inference, we're just using it for training. There is another set of methods which are non-contrastive, and I prefer those. And those non-contrastive methods basically say, okay, the energy function needs to have low energy on pairs of x, y's that are compatible, that come from your training set.

0
💬 0

5485.237 - 5510.71 Yann LeCun

How do you make sure that the energy is going to be higher everywhere else? And the way you do this is by having a regularizer, a criterion, a term in your cost function that basically minimizes the volume of space that can take low energy. And the precise way to do this is all kinds of different specific ways to do this, depending on the architecture. But that's the basic principle.

0
💬 0

5511.41 - 5527.882 Yann LeCun

So that if you push down the energy function for particular regions in the XY space, it will automatically go up in other places because there's only a limited volume of space that can take low energy by the construction of the system or by the regularizing function.

0
💬 0

5529.544 - 5547.766 Lex Fridman

we've been talking very generally, but what is a good X and a good Y? What is a good representation of X and Y? Because we've been talking about language, and if you just take language directly, that presumably is not good. So there has to be some kind of abstract representation of ideas.

0
💬 0

5548.956 - 5560.34 Yann LeCun

Yeah, so you can do this with language directly by just, you know, x is a text and y is a continuation of that text. Yes. Or x is a question, y is the answer.

0
💬 0

5560.94 - 5564.202 Lex Fridman

But you're saying that's not going to take it. I mean, that's going to do what LLMs are doing.

0
💬 0

5565.482 - 5591.996 Yann LeCun

Well, no, it depends on how the internal structure of the system is built. If the internal structure of the system is built in such a way that inside of the system there is a latent variable, let's call it z, that... you can manipulate so as to minimize the output energy. Then that Z can be viewed as a representation of a good answer that you can translate into a Y that is a good answer.

0
💬 0

5593.918 - 5596.381 Lex Fridman

So this kind of system could be trained in a very similar way.

0
💬 0

5597.401 - 5620.446 Yann LeCun

Very similar way, but you have to have this way of preventing collapse, of ensuring that there is high energy for things you don't train it on. And currently it's very implicit in LLM. It's done in a way that people don't realize is being done, but it is being done. It's due to the fact that when you give a high probability to a word,

0
💬 0

5622.113 - 5629.279 Yann LeCun

automatically you give low probability to other words because you only have a finite amount of probability to go around right there, to sum to one.

0
💬 0

5630.56 - 5645.293 Yann LeCun

So when you minimize the cross entropy or whatever, when you train your LLM to predict the next word, you're increasing the probability your system will give to the correct word, but you're also decreasing the probability it will give to the incorrect words. Now,

0
💬 0

5646.61 - 5665.594 Yann LeCun

Indirectly, that gives a high probability to sequences of words that are good and low probability to sequences of words that are bad, but it's very indirect. It's not obvious why this actually works at all, because you're not doing it on a joint probability of all the symbols in a sequence.

0
💬 0

5665.634 - 5673.816 Yann LeCun

You're just doing it to factorize that probability in terms of conditional probabilities over successive tokens.

0
💬 0

5674.212 - 5676.293 Lex Fridman

So how do you do this for visual data?

0
💬 0

5676.753 - 5702.943 Yann LeCun

So we've been doing this with Ojepa architectures, basically. The joint embedding. Ojepa. So there, the compatibility between two things is, here's an image or a video, here's a corrupted, shifted, or transformed version of that image or video, or masked. And then the energy of the system is the prediction error of the representation

0
💬 0

5705.519 - 5724.436 Yann LeCun

the predicted representation of the good thing versus the actual representation of the good thing. So you run the corrupted image to the system, predict the representation of the good input, uncorrupted, and then compute the prediction error. That's the energy of the system. So this system will tell you this is a good representation

0
💬 0

5726.939 - 5738.902 Yann LeCun

If this is a good image and this is a corrupted version, it will give you zero energy if those two things are effectively, one of them is a corrupted version of the other. It gives you a high energy if the two images are completely different.

0
💬 0

5739.502 - 5747.324 Lex Fridman

And hopefully that whole process gives you a really nice compressed representation of reality, of visual reality.

0
💬 0

5747.584 - 5752.145 Yann LeCun

And we know it does because then we use those representations as input to a classification system.

0
💬 0

5752.205 - 5778.731 Lex Fridman

And that classification system works really nicely. Okay. Well, so to summarize, you recommend in a spicy way that only Yann LeCun can, you recommend that we abandon generative models in favor of joint embedding architectures. Yes. Abandon auto-aggressive generation. Yes. Abandon, this feels like court testimony. Abandon probabilistic models in favor of energy-based models, as we talked about.

0
💬 0

5779.111 - 5802.36 Lex Fridman

Abandon contrastive methods in favor of regularized methods. And let me ask you about this. You've been for a while a critic of reinforcement learning. Yes. So the last recommendation is that we abandon RL in favor of model predictive control, as you were talking about, and only use RL when planning doesn't yield the predicted outcome.

0
💬 0

5803.377 - 5818.481 Lex Fridman

And we use RL in that case to adjust the world model or the critic. So you mentioned RLHF, reinforcement learning with human feedback. Why do you still hate reinforcement learning?

0
💬 0

5818.641 - 5843.749 Yann LeCun

I don't hate reinforcement learning, and I think it should not be abandoned completely, but I think its use should be minimized because it's incredibly inefficient in terms of samples. And so the proper way to train a system is to first have it learn good representations of the world and world models from mostly observation, maybe a little bit of interactions.

0
💬 0

5844.349 - 5848.41 Lex Fridman

And then steered based on that. If the representation is good, then the adjustments should be minimal.

0
💬 0

5849.722 - 5868.831 Yann LeCun

Yeah, now there's two things you can use. If you've learned a world model, you can use the world model to plan a sequence of actions to arrive at a particular objective. You don't need RL unless the way you measure whether you succeed might be inexact. Your idea of, you know, whether you were going to fall from your bike.

0
💬 0

5871.277 - 5897.32 Yann LeCun

might be wrong, or whether the person you're fighting with MMA was going to do something and then do something else. So there's two ways you can be wrong. Either your objective function does not reflect the actual objective function you want to optimize, or your world model is inaccurate. So the prediction you were making about what was going to happen in the world is inaccurate.

0
💬 0

5898.181 - 5922.86 Yann LeCun

So if you want to adjust your world model while you are operating in the world or your objective function, that is basically in the realm of RL. This is what RL deals with to some extent, right? So adjust your world model. And the way to adjust your world model, even in advance, is to explore parts of the space where you know that your world model is inaccurate.

0
💬 0

5923.54 - 5950.621 Yann LeCun

That's called curiosity, basically, or play, right? When you play, you kind of explore part of the state space that you don't want to do for real because it might be dangerous, but you can adjust your world model without killing yourself, basically. So that's what you want to use RL for. When it comes time to learning a particular task,

0
💬 0

5951.542 - 5958.948 Yann LeCun

You already have all the good representations, you already have your world model, but you need to adjust it for the situation at hand. That's when you use RL.

0
💬 0

5959.468 - 5970.796 Lex Fridman

What do you think RLHF works so well? This reinforcement learning with human feedback. Why did it have such a transformational effect on large language models before?

0
💬 0

5970.896 - 5979.903 Yann LeCun

What's had the transformational effect is human feedback. There's many ways to use it, and some of it is just purely supervised, actually. It's not really reinforced by learning.

0
💬 0

5980.27 - 5981.771 Lex Fridman

So it's the HF.

0
💬 0

5982.132 - 6006.417 Yann LeCun

It's the HF. And then there is various ways to use human feedback, right? So you can ask humans to rate answers, multiple answers that are produced by a world model. And then what you do is you train an objective function to predict that rating. And then you can use that objective function to predict whether an answer is good.

0
💬 0

6006.477 - 6026.541 Yann LeCun

And you can backpropagate gradient through this to fine-tune your system so that it only produces highly rated answers. That's one way. In RL, that means training what's called a reward model. Basically, a small neural net that estimates to what extent an answer is good.

0
💬 0

6027.942 - 6050.277 Yann LeCun

It's very similar to the objective I was talking about earlier for planning, except now it's not used for planning, it's used for fine-tuning your system. I think it would be much more efficient to use it for planning, but currently it's used to fine-tune the parameters of the system. Now, there are several ways to do this. Some of them are supervised.

0
💬 0

6050.297 - 6061.683 Yann LeCun

You just ask a human person, what is a good answer for this? Then you just type the answer. I mean, there's lots of ways that those systems are being adjusted.

0
💬 0

6063.513 - 6090.215 Lex Fridman

Now, a lot of people have been very critical of the recently released Google's Gemini 1.5 for essentially, in my words, I could say super woke. Woke in the negative connotation of that word. There's some almost hilariously absurd things that it does, like it modifies history, like generating images of a black George Washington or...

0
💬 0

6092.557 - 6123.925 Lex Fridman

Perhaps more seriously, something that you commented on Twitter, which is refusing to comment on or generate images or even descriptions of Tiananmen Square or the tank man. One of the most sort of legendary protest images in history. Of course, these images are highly censored by the Chinese government, and therefore, everybody started asking questions of what is the process of...

0
💬 0

6126.161 - 6140.773 Lex Fridman

Designing these LLMs, what is the role of censorship in these, all that kind of stuff. So you commented on Twitter saying that open source is the answer. Yeah. Essentially. So can you explain?

0
💬 0

6142.435 - 6165.702 Yann LeCun

I actually made that comment on just about every social network I can, and I've made that point multiple times in various forums. Here's my point of view on this. People can complain that AI systems are biased, and they generally are biased by the distribution of the training data that they've been using.

0
💬 0

6166.022 - 6203.488 Yann LeCun

trend on, that reflects biases in society and that is potentially offensive to some people or potentially not. And some techniques to de-bias then become offensive to some people because of historical incorrectness and things like that. And so you can ask the question, you can ask two questions. The first question is, is it possible to produce an AI system that is not biased?

0
💬 0

6203.789 - 6226.201 Yann LeCun

And the answer is absolutely not. And it's not because of technological challenges, although there are technological challenges to that. It's because Bias is in the eye of the beholder. Different people may have different ideas about what constitutes bias for a lot of things.

0
💬 0

6226.321 - 6256.697 Yann LeCun

I mean, there are facts that are indisputable, but there are a lot of opinions or things that can be expressed in different ways. And so you cannot have an unbiased system. That's just an impossibility. And so what's the... What's the answer to this? And the answer is the same answer that we found in liberal democracy about the press. The press needs to be free and diverse.

0
💬 0

6258.238 - 6287.313 Yann LeCun

We have free speech for a good reason. is because we don't want all of our information to come from a unique source. Because that's opposite to the whole idea of democracy and progress of ideas and even science, right? In science, people have to argue for different opinions and And science makes progress when people disagree and they come up with an answer and, you know, a consensus forms, right?

0
💬 0

6287.433 - 6307.404 Yann LeCun

And it's true in all democracies around the world. So there is a future. which is already happening, where every single one of our interaction with the digital world will be mediated by AI systems, AI assistants, right? We're going to have smart glasses.

0
💬 0

6307.624 - 6319.794 Yann LeCun

You can already buy them from Meta, the Ray-Ban Meta, where you can talk to them, and they are connected with an LLM, and you can get answers on any question you have. Or you can be looking at a...

0
💬 0

6321.175 - 6337.403 Yann LeCun

monument and there is a camera in the in the system that in in the glasses you can ask it like what can you tell me about this uh building on this monument you can be looking at a menu in a foreign language and the thing will translate it for you or you can do real-time translation if you speak different languages so

0
💬 0

6338.524 - 6363.149 Yann LeCun

a lot of our interactions with the digital world are going to be mediated by those systems in the near future. Increasingly, the search engines that we're going to use are not going to be search engines. They're going to be dialogue systems that will just ask a question. And it will answer and then point you to perhaps an appropriate reference for it. But here is the thing.

0
💬 0

6363.329 - 6387.997 Yann LeCun

We cannot afford those systems to come from a handful of companies on the west coast of the U.S., Because those systems will constitute the repository of all human knowledge. And we cannot have that be controlled by a small number of people, right? It has to be diverse. For the same reason, the press has to be diverse. So how do we get a diverse set of AI assistants?

0
💬 0

6389.642 - 6411.085 Yann LeCun

It's very expensive and difficult to train a base model, a base LLM at the moment. In the future, it might be something different, but at the moment, that's an LLM. So only a few companies can do this properly. And If some of those top systems are open source, anybody can use them. Anybody can fine tune them.

0
💬 0

6412.906 - 6432.983 Yann LeCun

If we put in place some systems that allows any group of people, whether they are individual citizens, groups of citizens, government organizations, NGOs, companies, whatever, to take those open source systems

0
💬 0

6435.227 - 6446.636 Yann LeCun

systems, AI systems, and fine-tune them for their own purpose on their own data, then we're going to have a very large diversity of different AI systems that are specialized for all of those things, right?

0
💬 0

6447.457 - 6476.535 Yann LeCun

So I tell you, I talked to the French government quite a bit, and the French government will not accept that the digital diet of all their citizens be controlled by three companies on the West Coast of the U.S. That's just not acceptable, right? It's a danger to democracy, regardless of how well-intentioned those companies are. And it's also a danger to local culture, to values, to language.

0
💬 0

6477.555 - 6499.162 Yann LeCun

I was talking with the founder of Infosys in India. He's funding a project to fine-tune Lama 2, the open-source model produced by Meta. so that Lama Thu speaks all 22 official languages in India. It's very important for people in India.

0
💬 0

6499.222 - 6510.672 Yann LeCun

I was talking to a former colleague of mine, Moustapha Sissé, who used to be a scientist at FAIR, and then moved back to Africa, created a research lab for Google in Africa, and now has a new startup called Kera.

0
💬 0

6510.752 - 6529.946 Yann LeCun

And what he's trying to do is basically have LLM that speaks the local languages in Senegal so that people can have access to medical information, because they don't have access to doctors. It's a very small number of doctors per capita in Senegal. You can't have any of this unless you have open-source platforms.

0
💬 0

6530.986 - 6559.942 Yann LeCun

With open-source platforms, you can have AI systems that are not only diverse in terms of political opinions or things of that type, but in terms of language, culture, value systems, political opinions. technical abilities in various domains. And you can have an industry, an ecosystem of companies that fine tune those open source systems for vertical applications in industry, right?

0
💬 0

6560.002 - 6585.375 Yann LeCun

You have, I don't know, a publisher has thousands of books and they want To build a system that allows a customer to just ask a question about the content of any of their books, you need to train on their proprietary data. You have a company, we have one within Meta, it's called MetaMate, and it's basically an LLM that can answer any question about internal stuff about the company. Very useful.

0
💬 0

6586.156 - 6609.333 Yann LeCun

A lot of companies want this. A lot of companies want this not just for their employees, but also for their customers, to take care of their customers. So the only way you're going to have an AI industry, the only way you're going to have AI systems that are not uniquely biased is if you have open source platforms on top of which any group can build specialized systems.

0
💬 0

6609.573 - 6620.782 Yann LeCun

So the inevitable direction of history is that the vast majority of AI systems will be built on top of open source platforms.

0
💬 0

6621.263 - 6648.505 Lex Fridman

So that's a beautiful vision. So meaning like a company like Matter or Google or so on should take only minimal fine-tuning steps after building the foundation pre-trained model. As few steps as possible. Basically. Can Meta afford to do that? No. So I don't know if you know this, but companies are supposed to make money somehow.

0
💬 0

6649.245 - 6685.133 Lex Fridman

And open source is like giving away, I don't know, Mark made a video, Mark Zuckerberg, very sexy video, talking about 350,000 NVIDIA H100s. The math of that is just for the GPUs, that's 100 billion, plus the infrastructure for training everything. So I'm no business guy, but how do you make money on that? So the vision you paint is a really powerful one, but how is it possible to make money?

0
💬 0

6685.153 - 6715.549 Yann LeCun

Okay, so you have several business models, right? The business model that Meta is built around is, is you offer a service and the financing of that service is either through ads or through business customers. So for example, if you have an LLM that can help a mom and pop pizza place, by, you know, talking to the customers through WhatsApp.

0
💬 0

6716.45 - 6740.762 Yann LeCun

And so the customers can just order a pizza and the system will just, you know, ask them like, what topping do you want or what size, blah, blah, blah. Um, the business will pay for that. Okay. That's a model. Um, And otherwise, you know, if it's a system that is on the more kind of classical services, it can be ad supported or, you know, there's several models.

0
💬 0

6741.043 - 6755.513 Yann LeCun

But the point is, if you have a big enough potential customer base and you need to build a system anyway for them, it doesn't hurt you to actually distribute it in open source.

0
💬 0

6756.134 - 6777.852 Lex Fridman

Again, I'm no business guy. But if you release the open source model, then other people can do the same kind of task and compete on it. Basically provide fine-tuned models for businesses. Sure. Because the bet that Meta is making, by the way, I'm a huge fan of all this, but it's the bet that Meta is making is like, we'll do a better job of it.

0
💬 0

6778.427 - 6807.959 Yann LeCun

Well, no, the bet is more, we already have a huge user base and customer base. Ah, right. Right, so it's going to be useful to them. Whatever we offer them is going to be useful, and there is a way to derive revenue from this. Sure. And it doesn't hurt that we provide that system or the base model, the foundation model, in open source for others to build applications on top of it, too.

0
💬 0

6808.66 - 6827.436 Yann LeCun

If those applications turn out to be useful for our customers, we can just buy it from them. It could be that they will improve the platform. In fact, we see this already. I mean, there is literally millions of downloads of Lama 2 already. and thousands of people who have provided ideas about how to make it better.

0
💬 0

6827.456 - 6858.711 Yann LeCun

This clearly accelerates progress to make the system available to a wide community of people. There are literally thousands of businesses who are building applications with it. Our ability to, Meta's ability to derive revenue from this technology is not impaired by the distribution of it, of base models in open source.

0
💬 0

6859.349 - 6886.199 Lex Fridman

The fundamental criticism that Gemini is getting is that, as you pointed out on the West Coast, just to clarify, we're currently in the East Coast, where I would suppose Meta AI headquarters would be. So there are strong words about the West Coast. But I guess the issue that happens is... I think it's fair to say that most tech people have a political affiliation with the left wing.

0
💬 0

6886.379 - 6914.817 Lex Fridman

They lean left. And so the problem that people are criticizing Gemini with is that there's, in that de-biasing process that you mentioned, that their ideological lean becomes obvious. is this something that could be escaped? You're saying open source is the only way. Have you witnessed this kind of ideological lean that makes engineering difficult?

0
💬 0

6915.482 - 6948.108 Yann LeCun

No, I don't think the issue has to do with the political leaning of the people designing those systems. It has to do with the acceptability or political leanings of their customer base or audience, right? So a big company cannot afford to offend too many people. So they're going to make sure that whatever product they put out is safe, whatever that means. And it's very possible to overdo it.

0
💬 0

6949.029 - 6960.317 Yann LeCun

And it's also very possible to, it's impossible to do it properly for everyone. You're not going to satisfy everyone. So that's what I said before. You cannot have a system that is unbiased, that is perceived as unbiased by everyone.

0
💬 0

6961.498 - 6978.623 Yann LeCun

It's going to be, you know, you push it in one way, one set of people are going to see it as biased, and then you push it the other way, and another set of people is going to see it as biased. And then in addition to this, there's the issue of if you push the system perhaps a little too far in one direction, it's going to be non-factual, right?

0
💬 0

6978.643 - 6984.365 Yann LeCun

You're going to have, you know, black Nazi soldiers in the image.

0
💬 0

6984.405 - 6991.288 Lex Fridman

Yeah, so we should mention image generation of... of black Nazi soldiers, which is not factually accurate.

0
💬 0

6991.788 - 7004.792 Yann LeCun

Right, and can be offensive for some people as well, right? So it's gonna be impossible to kind of produce systems that are unbiased for everyone. So the only solution that I see is diversity.

0
💬 0

7005.933 - 7029.792 Lex Fridman

And diversity in the full meaning of that word, diversity in every possible way. Yeah. Marc Andreessen just tweeted today, Let me do a TLDR. The conclusion is only startups and open source can avoid the issue that he's highlighting with big tech. He's asking, can big tech actually field generative AI products?

0
💬 0

7030.493 - 7057.091 Lex Fridman

One, ever escalating demands from internal activists, employee mobs, crazed executives, broken boards, pressure groups, extremist regulators, government agencies, the press, in quotes, experts and everything corrupting the output. Two, constant risk of generating a bad answer or drawing a bad picture or rendering a bad video. who knows what is going to say or do at any moment.

0
💬 0

7057.351 - 7079.272 Lex Fridman

Three, legal exposure, product liability, slander, election law, many other things, and so on. Anything that makes Congress mad. Four, continuous attempts to tighten grip on acceptable output, degrade the model, like how good it actually is. in terms of usable and pleasant to use and effective and all that kind of stuff.

0
💬 0
0
💬 0

7104.815 - 7117.337 Lex Fridman

essentially the problem there is then trying to minimize the number of people who are going to be unhappy. And you're saying like the only, that almost impossible to do right. And that's the better ways to do open source.

0
💬 0

7118.477 - 7141.764 Yann LeCun

Basically, yeah. I mean, Mark is right about a number of things that he lists that indeed scare large companies. You know, certainly congressional investigations is one of them, legal liability. making things that get people to hurt themselves or hurt others.

0
💬 0

7141.784 - 7155.953 Yann LeCun

Big companies are really careful about not producing things of this type, because they don't want to hurt anyone, first of all, and then second, they want to preserve their business.

0
💬 0

7157.594 - 7178.272 Yann LeCun

It's essentially impossible for systems like this that can inevitably formulate political opinions and opinions about various things that may be political or not, but that people may disagree about, about, you know, moral issues and, you know, things about like questions about religion and things like that, right? Or cultural issues.

0
💬 0

7178.992 - 7200.702 Yann LeCun

issues that people from different communities would disagree with in the first place so there's only kind of a relatively small number of things that people will sort of agree on you know basic principles but beyond that if you if you want those systems to be useful they will necessarily have to offend a number of people inevitably

0
💬 0

7202.006 - 7208.112 Lex Fridman

And so open source is just better. Diversity is better, right? And open source enables diversity.

0
💬 0

7208.352 - 7210.094 Yann LeCun

That's right. Open source enables diversity.

0
💬 0

7210.555 - 7234.295 Lex Fridman

That's going to be a fascinating world where, if it's true that the open source world, if meta leads the way and creates this kind of open source foundation model world, there's going to be, like governments will have a fine new model. Yeah. And then potentially, people that vote left and right will have their own model and preference to be able to choose.

0
💬 0

7234.315 - 7254.547 Lex Fridman

And it will potentially divide us even more, but that's on us humans. We get to figure out. Basically, the technology enables humans to human. more effectively. And all the difficult ethical questions that humans raise will just leave it up to us to figure it out.

0
💬 0

7255.427 - 7269.032 Yann LeCun

Yeah. I mean, there are some limits to what, you know, the same way there are limits to free speech, there has to be some limit to the kind of stuff that those systems might be authorized to do. to produce some guardrails.

0
💬 0

7269.332 - 7293.23 Yann LeCun

So, I mean, that's one thing I've been interested in, which is in the type of architecture that we were discussing before, where the output of a system is a result of an inference to satisfy an objective. That objective can include guardrails. And we can put guardrails in open source systems. I mean, if we eventually have systems that are built with this blueprint.

0
💬 0

7294.39 - 7317.137 Yann LeCun

We can put guardrails in those systems that guarantee that there is sort of a minimum set of guardrails that make the system non-dangerous and non-toxic, etc. You know, basic things that everybody would agree on. And then, you know, the fine-tuning that people will add or the additional guardrails that people will add will kind of cater to their community, whatever it is.

0
💬 0

7317.877 - 7327.063 Lex Fridman

And yeah, the fine-tuning will be more about the gray areas of what is hate speech, what is dangerous, and all that kind of stuff. I mean, you've- Or different value systems. Or value systems.

0
💬 0

7327.404 - 7351.902 Lex Fridman

I mean, like, but still, even with the objectives of how to build a bioweapon, for example, I think something you've commented on, or at least there's a paper where a collection of researchers is trying to understand the social impacts of these LLMs. And I guess one threshold is nice, is like, does the LLM make it any easier, than a search would, like a Google search would.

0
💬 0

7352.343 - 7382.372 Yann LeCun

Right, so the increasing number of studies on this seems to point to the fact that it doesn't help. So having an LLM doesn't help you design or build a bioweapon or a chemical weapon if you already have access to a search engine and a library. And so the sort of increased information you get or the ease with which you get it doesn't really help you. That's the first thing. The second thing is,

0
💬 0

7383.132 - 7407.175 Yann LeCun

It's one thing to have a list of instructions of how to make a chemical weapon, for example, or a bioweapon. It's another thing to actually build it. And it's much harder than you might think, and an LLM will not help you with that. In fact, nobody in the world, not even countries, use bioweapons because most of the time they have no idea how to protect their own populations against it.

0
💬 0

7408.416 - 7436.357 Yann LeCun

So it's too dangerous, actually, to ever use. And it's, in fact, banned by... international treaties chemical weapons is different it's also banned by treaties but but it's the same problem it's difficult to use in situations that doesn't turn against the perpetrators but we could ask Elon Musk like I can I can give you a very precise list of instructions of how you build a rocket engine and

0
💬 0

7437.157 - 7457.712 Yann LeCun

And even if you have a team of 15 engineers that are really experienced building it, you're still going to have to blow up a dozen of them before you get one that works. And it's the same with chemical weapons or bio-weapons or things like this. It requires expertise in the real world that an airline is not going to help you with.

0
💬 0

7458.192 - 7473.651 Lex Fridman

And it requires even the common sense expertise that we've been talking about, which is how to take... language-based instructions and materialize them in the physical world requires a lot of knowledge that's not in the instructions.

0
💬 0

7474.432 - 7483.463 Yann LeCun

Yeah, exactly. A lot of biologists have posted on this actually in response to those things saying like, do you realize how hard it is to actually do the lab work? Like, you know, this is not trivial.

0
💬 0

7484.753 - 7508.139 Lex Fridman

Yeah, and that's Hans Moravec comes to light once again. Just to linger on Lama, Mark announced that Lama 3 is coming out eventually. I don't think there's a release date, but what are you most excited about? First of all, Lama 2 that's already out there, and maybe the future, Lama 3, 4, 5, 6, 10, just the future of the open source under Meta.

0
💬 0

7510.117 - 7531.687 Yann LeCun

Well, a number of things. So there's going to be various versions of LLAMA that are improvements of previous LLAMAs. Bigger, better, multimodal, things like that. And then in future generations, systems that are capable of planning, that really understand how the world works. Maybe are trained from video, so they have some world model.

0
💬 0

7532.387 - 7554.139 Yann LeCun

Maybe, you know, capable of the type of reasoning and planning I was talking about earlier. Like how long is that going to take? Like when is the research that is going in that direction going to sort of feed into the product line, if you want, of Lama? I don't know. I can't tell you. And there is, you know, a few breakthroughs that we have to basically go through before we can get there.

0
💬 0

7554.779 - 7575.768 Yann LeCun

But you'll be able to monitor our progress because we publish our research, right? So, you know, last week we published the Vijepa work, which is sort of a first step towards training systems for video. And then the next step is going to be World models based on this type of idea, training from video.

0
💬 0

7576.589 - 7601.536 Yann LeCun

There's similar work at DeepMind also and taking place people and also at UC Berkeley on world models from video. A lot of people are working on this. I think a lot of good ideas are appearing. My bet is that those systems are going to be JEPA-like, they're not going to be generative models. And we'll see what the future will tell.

0
💬 0

7603.417 - 7625.057 Yann LeCun

There's really good work at a gentleman called Danezhar Hafner, who is not DeepMind, who's worked on kind of models of this type that learn representations and then use them for planning or learning tasks by reinforcement training. And a lot of work at Berkeley by Peter Abbeel, Sergei Levine, a bunch of other people of that type.

0
💬 0

7626.438 - 7654.956 Yann LeCun

I'm collaborating with, actually, in the context of some grants with my NYU hat. And then collaborations also through Meta, because the lab at Berkeley is associated with Meta in some way, with FAIR. So I think it's very exciting. I think... I'm super excited about... I haven't been that excited about the direction of machine learning and AI since 10 years ago when Fairway started.

0
💬 0

7655.176 - 7686.205 Yann LeCun

Before that, 30 years ago, we were working on... 35 on convolutional nets and the early days of neural nets. So I'm super excited because I see a path towards... potentially human-level intelligence with systems that can understand the world, remember, plan, reason. There is some set of ideas to make progress there that might have a chance of working. And I'm really excited about this.

0
💬 0

7687.465 - 7699.47 Yann LeCun

What I like is that somewhat we get onto a good direction and perhaps succeed before my brain turns to a white sauce or before I need to retire.

0
💬 0

7701.087 - 7736.534 Lex Fridman

Yeah, yeah. You're also excited by, is it beautiful to you just the amount of GPUs involved? Sort of the whole training process on this much compute? It's just zooming out, just looking at Earth and humans together have built these computing devices and are able to train this one brain with an open source. Like giving birth to this open source brain trained on this gigantic compute system.

0
💬 0

7737.154 - 7751.632 Lex Fridman

there's just the details of how to train on that, how to build the infrastructure and the hardware, the cooling, all of this kind of stuff. Or are you just still, most of your excitement is in the theory aspect of it? Meaning like the software aspect?

0
💬 0

7752.475 - 7755.696 Yann LeCun

Well, I used to be a hardware guy many years ago. Decades ago.

0
💬 0

7755.957 - 7757.938 Lex Fridman

Hardware has improved a little bit.

0
💬 0

7758.598 - 7759.358 Yann LeCun

Changed a little bit.

0
💬 0

7759.818 - 7760.038 Lex Fridman

Yeah.

0
💬 0

7760.619 - 7783.308 Yann LeCun

I mean, certainly scale is necessary, but not sufficient. Absolutely. So we certainly need computation. I mean, we're still far in terms of computer power. from what we would need to match the compute power of the human brain. This may occur in the next couple of decades, but we're still some ways away. And certainly in terms of power efficiency, we're really far.

0
💬 0

7784.808 - 7811.359 Yann LeCun

So a lot of progress to make in hardware. And right now, a lot of the progress is not, I mean, there's a bit coming from silicon technology, but a lot of it coming from architectural innovation. And quite a bit coming from more efficient ways of implementing the architectures that have become popular, basically a combination of transformers and convnets, right?

0
💬 0

7812.039 - 7834.081 Yann LeCun

So there's still some ways to go until... we're going to saturate, we're going to have to come up with new principles, new fabrication technology, new basic components, perhaps based on different principles than classical digital CMOS.

0
💬 0

7834.842 - 7844.566 Lex Fridman

Interesting. So you think in order to build AMI, we need, we potentially might need some hardware innovation too.

0
💬 0

7845.686 - 7872.412 Yann LeCun

Well, if you want to make it ubiquitous, yeah, certainly. Because we're going to have to reduce the power consumption. A GPU today is half a kilowatt to a kilowatt. Human brain is about 25 watts. And a GPU is way below the power of the human brain. You need something like 100,000 or a million to match it. So we are off by a huge factor here.

0
💬 0

7874.398 - 7887.923 Lex Fridman

You often say that AGI is not coming soon, meaning like not this year, not the next few years, potentially farther away. What's your basic intuition behind that?

0
💬 0

7888.623 - 7915.095 Yann LeCun

So first of all, it's not going to be an event. The idea somehow, which is popularized by science fiction and Hollywood, that somehow somebody is going to discover the secret to AGI or human-level AI or AMI, whatever you want to call it, and then turn on a machine and then we have AGI. That's just not going to happen. It's not going to be an event. It's going to be gradual progress.

0
💬 0

7916.415 - 7938.72 Yann LeCun

Are we going to have systems that can learn from video how the world works and learn good representations? Yeah. Before we get them to the scale and performance that we observe in humans, it's going to take quite a while. It's not going to happen in one day. Are we going to get systems that can have large amount of associative memory so they can remember stuff?

0
💬 0

7939.52 - 7957.212 Yann LeCun

Yeah, but same, it's not going to happen tomorrow. I mean, there is some basic techniques that need to be developed. We have a lot of them, but to get this to work together with a full system is another story. Are we going to have systems that can reason and plan, perhaps along the lines of objective-driven AI architectures that I described before?

0
💬 0

7957.832 - 7982.278 Yann LeCun

yeah but like before we get this to work you know properly it's going to take a while so and before we get all those things to work together and then on top of this have systems that can learn like hierarchical planning hierarchical representations systems that can be configured for a lot of different situation at hands the way the human brain can you know all of this is going to take you know at least a decade and probably much more because there are

0
💬 0

7983.138 - 8006.817 Yann LeCun

a lot of problems that we're not seeing right now, that we have not encountered. And so we don't know if there is an easy solution within this framework. So, you know, it's not just around the corner. I mean, I've been hearing people for the last 12, 15 years claiming that AGI is just around the corner and being systematically wrong. And I knew they were wrong when they were saying it.

0
💬 0

8007.277 - 8007.977 Yann LeCun

I call their bullshit.

0
💬 0

8009.378 - 8028.568 Lex Fridman

Why do you think people have been calling? First of all, I mean, from the beginning, from the birth of the term artificial intelligence, there has been an eternal optimism that's perhaps unlike other technologies. Is it a Marovac paradox? Is the explanation for why people are so optimistic about AGI?

0
💬 0

8029.833 - 8055.736 Yann LeCun

I don't think it's just Moravec's paradox. Moravec's paradox is a consequence of realizing that the world is not as easy as we think. First of all, intelligence is not a linear thing that you can measure with a single number. Can you say that humans are smarter than orangutans? In some ways, yes. But in some ways, orangutans are smarter than humans in a lot of domains.

0
💬 0

8056.576 - 8059.398 Yann LeCun

That allows them to survive in the forest, for example.

0
💬 0

8059.638 - 8066.501 Lex Fridman

So IQ is a very limited measure of intelligence. Do you intelligence is bigger than what IQ, for example, measures?

0
💬 0

8066.661 - 8103.292 Yann LeCun

Well, IQ can measure approximately something for humans. Mm-hmm. Because humans come in relatively uniform form, right? But it only measures one type of ability that may be relevant for some tasks, but not others. But then if you're talking about other intelligent entities for which the you know, the basic things that are easy to them is very different, then it doesn't mean anything.

0
💬 0

8104.254 - 8127.075 Yann LeCun

So intelligence is a collection of skills and an ability to acquire new skills efficiently, right? And the collection of skills that a particular intelligent entity possess or is capable of learning quickly is different from the collection of skills of another one.

0
💬 0

8128.155 - 8139.36 Yann LeCun

And because it's a multidimensional thing, the set of skills is a high dimensional space, you can't measure, you cannot compare two things as to whether one is more intelligent than the other. It's multidimensional.

0
💬 0

8141.556 - 8151.764 Lex Fridman

So you push back against what are called AI doomers a lot. Can you explain their perspective and why you think they're wrong?

0
💬 0

8152.624 - 8180.084 Yann LeCun

Okay, so AI doomers imagine all kinds of catastrophe scenarios of how AI could escape or control and basically kill us all. And that relies on a whole bunch of assumptions that are mostly false. So the first assumption is that the emergence of superintelligence is going to be an event. That at some point we're going to figure out the secret and we'll turn on a machine that is superintelligent.

0
💬 0

8181.225 - 8205.846 Yann LeCun

And because we've never done it before, it's going to take over the world and kill us all. That is false. It's not going to be an event. We're going to have systems that are like... as smart as a cat, have all the characteristics of human-level intelligence, but their level of intelligence would be like a cat or a parrot, maybe, or something. And then we're going to work our way up

0
💬 0

8206.667 - 8219.675 Yann LeCun

to kind of make those things more intelligent. And as we make them more intelligent, we're also going to put some guardrails in them and learn how to kind of put some guardrails so they behave properly. And we're not going to do this with just one. It's not going to be one effort. It's going to be lots of different people doing this.

0
💬 0

8220.476 - 8242.669 Yann LeCun

And some of them are going to succeed at making intelligent systems that are controllable and safe and have the right guardrails. And if some other goes rogue, then we can use the good ones to go against the rogue ones. So it's going to be my smart AI police against your rogue AI. So it's not going to be like we're going to be exposed to a single rogue AI that's going to kill us all.

0
💬 0

8242.689 - 8250.554 Yann LeCun

That's just not happening. Now, there is another fallacy, which is the fact that because the system is intelligent, it necessarily wants to take over.

0
💬 0

8250.574 - 8251.294 Unknown

Mm-hmm.

0
💬 0

8253.64 - 8279.208 Yann LeCun

There are several arguments that make people scared of this, which I think are completely false as well. One of them is, in nature, it seems to be that the more intelligent species are the ones that end up dominating the other, and even extinguishing the others, sometimes by design, sometimes just by mistake.

0
💬 0

8282.512 - 8304.852 Yann LeCun

And so there is sort of thinking by which you say, well, if AI systems are more intelligent than us, surely they're going to eliminate us, if not by design, simply because they don't care about us. And that's just preposterous for a number of reasons. First reason is they're not going to be a species. They're not going to be a species that competes with us.

0
💬 0

8306.013 - 8334.987 Yann LeCun

They're not going to have the desire to dominate because the desire to dominate is something that has to be hardwired into an intelligent system. It is hardwired in humans. It is hardwired in baboons, in chimpanzees, in wolves, not in orangutans. The species in which this desire to dominate or submit or attain status in other ways is is specific to social species.

0
💬 0

8336.188 - 8342.052 Yann LeCun

Non-social species like orangutans don't have it, right? And they are as smart as we are, almost, right?

0
💬 0

8342.312 - 8355.76 Lex Fridman

And to you, there's not significant incentive for humans to encode that into the AI systems. And to the degree they do, there'll be other AIs that sort of punish them for it, out-compete them over it.

0
💬 0

8355.78 - 8378.499 Yann LeCun

Well, there's all kinds of incentive to make AI systems submissive to humans, right? I mean, this is the way we're going to build them, right? And so then people say, oh, but look at LLMs. LLMs are not controllable. And they're right. LLMs are not controllable. But object-driven AI, so systems that derive their answers by optimization of an objective, means they have to optimize this objective.

0
💬 0

8378.539 - 8389.17 Yann LeCun

And that objective can include guardrails. One guardrail is... Obey humans. Another gut reality is don't obey humans if it's hurting other humans.

0
💬 0

8389.911 - 8392.113 Lex Fridman

I've heard that before somewhere. I don't remember.

0
💬 0

8392.333 - 8394.536 Yann LeCun

Yes. Maybe in a book.

0
💬 0

8394.736 - 8401.384 Lex Fridman

Yeah. But speaking of that book, could there be unintended consequences also from all of this?

0
💬 0

8401.977 - 8417.742 Yann LeCun

No, of course. So this is not a simple problem, right? I mean, designing those guardrails so that the system behaves properly is not going to be a simple issue for which there is a silver bullet, for which you have a mathematical proof that the system can be safe.

0
💬 0

8418.462 - 8432.997 Yann LeCun

It's going to be a very progressive, iterative design system where we put those guardrails in such a way that the system behaves properly. And sometimes they're going to do something that was unexpected because the guardrail wasn't right, and we're going to correct them so that they do it right.

0
💬 0

8433.898 - 8462.045 Yann LeCun

The idea somehow that we can't get it slightly wrong because if we get it slightly wrong, we all die is ridiculous. We're just going to go progressively. And it's just going to be, the analogy I've used many times is turbojet design. How did we figure out how to make turbojets so unbelievably reliable, right? I mean, those are like, you know, incredibly complex things

0
💬 0

8463.085 - 8490.083 Yann LeCun

pieces of hardware that run at really high temperatures for 20 hours at a time sometimes. We can fly halfway around the world on a two-engine jetliner at near the speed of sound. How incredible is this? It's just unbelievable. Did we do this because we invented a general principle of how to make turbojets safe? No.

0
💬 0

8491.123 - 8521.28 Yann LeCun

It took decades to kind of fine-tune the design of those systems so that they were safe. Is there a separate group within General Electric or Snekma or whatever that is specialized in turbojet safety? No, the design is all about safety because a better turbojet is also a safer turbojet. So a more reliable one. It's the same for AI. Do you need specific provisions to make AI safe?

0
💬 0

8521.34 - 8528.724 Yann LeCun

No, you need to make better AI systems and they will be safe because they are designed to be more useful and more controllable.

0
💬 0

8529.244 - 8556.12 Lex Fridman

So let's imagine a system, AI system, that's able to be incredibly convincing and can convince you of anything. I can at least imagine such a system. And I can see such a system be weapon-like because it can control people's minds. We're pretty gullible. We want to believe a thing. You can have an AI system that controls it. And you could see governments using that as a weapon.

0
💬 0

8557.665 - 8581.773 Lex Fridman

So do you think if you imagine such a system, there's any parallel to something like nuclear weapons? So why is that technology different? So you're saying there's going to be gradual development. There's going to be, I mean, it might be rapid, but there'll be iterative. And then we'll be able to kind of respond and so on.

0
💬 0

8581.913 - 8615.795 Yann LeCun

So that AI system designed by Vladimir Putin or whatever, or his minions, you know, is going to be... Trying to talk to every American to convince them to vote for whoever pleases Putin or whatever, or rile people up against each other as they've been trying to do. They're not going to be talking to you. They're going to be talking to your AI assistant.

0
💬 0

8617.216 - 8638.618 Yann LeCun

which is going to be as smart as theirs, right? That AI, because as I said, in the future, every single one of your interaction with the digital world will be mediated by your AI assistant. So the first thing you're going to ask is, is this a scam? Like, is this thing like telling me the truth? It's not even going to be able to get to you because it's only going to talk to your AI system.

0
💬 0

8638.658 - 8657.705 Yann LeCun

Your AI system is not even going to... It's going to be like a spam filter, right? You're not even seeing the email, the spam email, right? It's automatically put in a folder that you never see. It's going to be the same thing. That AI system that tries to convince you of something is going to be talking to your AI system, which is going to be at least as smart as it is.

0
💬 0

8659.225 - 8664.768 Yann LeCun

And it's going to say, this is spam. It's not even going to bring it to your attention.

0
💬 0

8665.028 - 8678.596 Lex Fridman

So to you, it's very difficult for any one AI system to take such a big leap ahead to where it can convince even the other AI systems. So there's always going to be this kind of race where nobody's way ahead.

0
💬 0

8678.616 - 8690.215 Yann LeCun

That's the history of the world. History of the world is, you know, whenever there is a progress someplace, there is a countermeasure. And, you know, it's a cat and mouse game.

0
💬 0

8690.375 - 8716.543 Lex Fridman

This is why, mostly, yes, but this is why nuclear weapons are so interesting, because that was such a powerful weapon that it mattered who got it first. That, you know, you could imagine Hitler, Stalin... Mao getting the weapon first and that having a different kind of impact on the world than the United States getting the weapon first.

0
💬 0

8716.963 - 8728.467 Lex Fridman

But to you, nuclear weapons, you don't imagine a breakthrough discovery and then Manhattan Project-like effort for AI.

0
💬 0

8728.667 - 8751.855 Yann LeCun

No. As I said, it's not going to be an event. It's going to be continuous progress. And whenever one breakthrough occurs, it's going to be widely disseminated really quickly, probably first within industry. I mean, this is not a domain where government or military organizations are particularly innovative, and they're in fact way behind.

0
💬 0

8753.216 - 8769.97 Yann LeCun

And so this is going to come from industry and this kind of information disseminates extremely quickly. We've seen this over the last few years, right? Where you have a new, like, you know, even take AlphaGo, this was reproduced within three months, even without like particularly detailed information.

0
💬 0

8770.81 - 8773.212 Lex Fridman

Yeah, this is an industry that's not good at secrecy.

0
💬 0

8774.112 - 8798.588 Yann LeCun

No, but even if there is, just the fact that you know that something is possible makes you realize that it's worth investing the time to actually do it. You may be the second person to do it, but you'll do it. And same for all the innovations of self-supervised learning, transformers, decoder-only architectures, LLMs.

0
💬 0

8799.128 - 8817.576 Yann LeCun

I mean, those things, you don't need to know exactly the details of how they work to know that it's possible because it's deployed and then it's getting reproduced. And then people who work for those companies move. They go from one company to another and the information disseminates.

0
💬 0

8817.916 - 8837.568 Yann LeCun

What makes the success of the US tech industry and Silicon Valley in particular is exactly that, is because information circulates really, really quickly. and this, you know, disseminates very quickly. And so, you know, the whole region sort of is ahead because of that circulation of information.

0
💬 0

8837.849 - 8864.474 Lex Fridman

Maybe just to linger on the psychology of AI doomers, you give, in the classic Yann LeCun way, a pretty good example of just when a new technology comes to be. You say, engineer says, I invented this new thing. I call it a ball pen. And then the Twittersphere responds, OMG, people could write horrible things with it like misinformation, propaganda, hate speech, ban it now.

0
💬 0

8865.595 - 8890.939 Lex Fridman

Then writing doomers come in, akin to the AI doomers. Imagine if everyone can get a ball pen. This could destroy society. There should be a law against using ball pen to write hate speech. Regulate ball pens now. And then the pencil industry mogul says, yeah, ball pens are very dangerous. Unlike pencil writing, which is erasable, ball pen writing stays forever.

0
💬 0

8891.339 - 8909.461 Lex Fridman

Government should require a license for a pen manufacturer. I mean, this does seem to be part of human psychology when it comes up against new technology. What deep insights can you speak to about this?

0
💬 0

8910.543 - 8941.833 Yann LeCun

Well, there is a natural fear of new technology and the impact it can have on society. And people have kind of instinctive reaction to the world they know being threatened by major transformations that are either cultural phenomena or technological revolutions. And they fear for their culture, they fear for their job, they fear for the future of their children and their way of life.

0
💬 0

8941.853 - 8975.38 Yann LeCun

So any change is feared. And you see this, you know, along history, like any technological revolution or cultural phenomenon was always accompanied by, you know, groups or reaction in the media that basically attributed all the problems, the current problems of society to that particular change, right? Electricity was going to kill everyone.

0
💬 0

8976.401 - 9003.853 Yann LeCun

At some point, you know, the train was going to be a horrible thing because, you know, you can't breathe past 50 kilometers an hour. And so there's a wonderful website called the Pessimist Archive, which has all those newspaper clips of all the horrible things people imagine would arrive because of either technological innovation or a cultural phenomenon. You know,

0
💬 0

9005.686 - 9043.033 Yann LeCun

These are wonderful examples of jazz or comic books being blamed for unemployment or young people not wanting to work anymore and things like that. That has existed for centuries. It's knee-jerk reactions. The question is, do we embrace change or do we resist it? And what are the real dangers as opposed to the imagined ones?

0
💬 0

9044.653 - 9069.155 Lex Fridman

So people worry about... I think one thing they worry about with big tech, something we've been talking about over and over, but I think worth... Mentioning again, they worry about how powerful AI will be, and they worry about it being in the hands of one centralized power of just a handful of central control. And so that's the skepticism with big tech you can make.

0
💬 0

9069.435 - 9081.538 Lex Fridman

These companies can make a huge amount of money and control this technology, and by so doing, take advantage, abuse the little guy in society.

0
💬 0

9081.889 - 9084.134 Yann LeCun

Well, that's exactly why we need open source platforms.

0
💬 0

9084.755 - 9115.795 Lex Fridman

Yeah, I just wanted to nail the point home more and more. Yes. So let me ask you on your... Like I said, you do get a little bit flavorful on the internet. Yosha Bach tweeted something that you LOL'd at in reference to HAL 9000. Quote, I appreciate your argument and I fully understand your frustration, but whether the pod bay doors should be opened or closed is a complex and nuanced issue.

0
💬 0

9116.736 - 9153.637 Lex Fridman

So you're the head of Meta AI, right? Oh, you know, this is something that really worries me that AI or AI overlords will speak down to us with corporate speak of this nature. And you sort of resist that with your way of being. Is this something you can just comment on sort of working at a big company, how you can avoid the, over-fearing, I suppose, through caution create harm.

0
💬 0

9154.197 - 9182.541 Yann LeCun

Yeah. Again, I think the answer to this is open source platforms and then enabling a widely diverse set of people to build AI assistants that represent the diversity of cultures, opinions, languages, and value systems across the world, so that you're not bound to just be brainwashed by a particular way of thinking because of a single AI entity.

0
💬 0

9183.602 - 9199.774 Yann LeCun

So, I mean, I think it's a really, really important question for society. And the problem I'm seeing is that, which is why I've been so vocal and sometimes a little sardonic about it. Never stop. Never stop, Jan.

0
💬 0

9201.455 - 9202.036 Lex Fridman

We love it.

0
💬 0

9202.256 - 9224.83 Yann LeCun

It's because I see the danger of this concentration of power through proprietary AI systems as a much bigger danger than everything else. That if we really want diversity of opinion, AI systems that in this future where we'll all be interacting through AI systems.

0
💬 0

9225.79 - 9258.8 Yann LeCun

We need those to be diverse for the preservation of diversity of ideas and creeds and political opinions and whatever, and the preservation of democracy. And what works against this is people who think that for reasons of security, we should keep AI systems under lock and key because it's too dangerous to put it in the hands of everybody because it could be used by terrorists or something.

0
💬 0

9261.743 - 9275.672 Yann LeCun

That would lead to potentially A very bad future in which all of our information diet is controlled by a small number of companies through proprietary systems.

0
💬 0

9277.133 - 9285.96 Lex Fridman

Do you trust humans with this technology to build systems that are, on the whole, good for humanity?

0
💬 0

9286.12 - 9293.726 Yann LeCun

Isn't that what democracy and free speech is all about? I think so. Do you trust institutions to do the right thing? Do you trust...

0
💬 0

9294.486 - 9316.603 Yann LeCun

people to do the right thing and yeah there's bad people who are going to do bad things but they're not going to have superior technology to the good people so then it's going to be my good ai against your bad ai right i mean it's the examples that we were just talking about of you know maybe some rogue country will build you know some ai system that's going to try to convince everybody to

0
💬 0

9318.684 - 9328.452 Yann LeCun

go into a civil war or something or elect a favorable ruler. But then they will have to go past our AI systems.

0
💬 0

9329.312 - 9332.515 Lex Fridman

An AI system with a strong Russian accent will be trying to convince our...

0
💬 0

9333.146 - 9335.747 Yann LeCun

And doesn't put any articles in their sentences.

0
💬 0

9338.548 - 9362.859 Lex Fridman

Well, it would be at the very least absurdly comedic. Okay. So since we talked about sort of the physical reality, I'd love to ask your vision of the future with robots in this physical reality. So many of the kinds of intelligence you've been speaking about would empower robots to be more effective collaborators with us humans.

0
💬 0

9363.339 - 9388.946 Lex Fridman

So since Tesla's Optimus team has been showing off some progress on humanoid robots, I think it really reinvigorated the whole industry that I think Boston Dynamics has been leading for a very, very long time. So now there's all kinds of companies, figure AI, Obviously Boston Dynamics. Unitree. Unitree. But there's like a lot of them. It's great. It's great. I mean, I love it.

0
💬 0

9390.648 - 9395.895 Lex Fridman

So do you think there'll be millions of humanoid robots walking around soon?

0
💬 0

9396.863 - 9425.833 Yann LeCun

Not soon, but it's going to happen. The next decade, I think, is going to be really interesting in robots. The emergence of the robotics industry has been in the waiting for 10, 20 years without really emerging other than for pre-programmed behavior and stuff like that. And the main issue is Again, the Moravec paradox, how do we get the system to understand how the world works and plan actions?

0
💬 0

9426.013 - 9450.227 Yann LeCun

And so we can do it for really specialized tasks. And the way Boston Dynamics goes about it is basically with a lot of handcrafted dynamical models and careful planning in advance, which is very classical robotics with a lot of innovation, a little bit of perception. But it's still not, they can't build a domestic robot.

0
💬 0

9453.209 - 9483.574 Yann LeCun

And we're still some distance away from completely autonomous level five driving. And we're certainly very far away from having level five autonomous driving by a system that can train itself by driving 20 hours like any 17 year old. So until we have, again, world models, systems that can train themselves to understand how the world works,

0
💬 0

9485.234 - 9500.405 Yann LeCun

uh, we're not going to, we're not going to have significant progress in robotics. So a lot of the people working on robotic hardware at the moment are, are betting or banking on the fact that AI is going to make sufficient progress towards that.

0
💬 0

9500.845 - 9523.566 Lex Fridman

And they're hoping to discover a product in it too. There's a, yeah. Before you have a really strong world model, there'll be an almost strong world model. And, um, People are trying to find a product in a clumsy robot, I suppose. Like not a perfectly efficient robot. So there's the factory setting where humanoid robots can help automate some aspects of the factory.

0
💬 0

9524.127 - 9540.019 Lex Fridman

I think that's a crazy difficult task because of all the safety required and all this kind of stuff. I think in the home is more interesting, but then you start to think, I think you mentioned loading the dishwasher, right? Yeah. I suppose that's one of the main problems you're working on.

0
💬 0

9540.458 - 9560.269 Yann LeCun

I mean, there's, you know, cleaning up, cleaning the house, clearing up the table after a meal, washing the dishes, you know, all those tasks, you know, cooking. I mean, all the tasks that, you know, in principle could be automated, but are actually incredibly sophisticated, really complicated.

0
💬 0

9561.109 - 9564.791 Lex Fridman

But even just basic navigation around a space full of uncertainty.

0
💬 0

9564.912 - 9569.294 Yann LeCun

That sort of works. Like you can sort of do this now. Navigation is fine.

0
💬 0

9570.106 - 9575.228 Lex Fridman

Well, navigation in a way that's compelling to us humans is a different thing.

0
💬 0

9575.248 - 9590.134 Yann LeCun

Yeah, it's not going to be, you know, necessarily. I mean, we have demos actually because, you know, there is a so-called embodied AI group at FAIR. And, you know, they've been not building their own robots, but using commercial robots. Yeah.

0
💬 0

9590.774 - 9609.663 Yann LeCun

And you can tell a robot dog, like, you know, go to the fridge and they can actually open the fridge and they can probably pick up a can in the fridge and stuff like that and bring it to you. So it can navigate, it can grab objects as long as it's been trained to recognize them, which, you know, vision systems work pretty well nowadays.

0
💬 0

9611.253 - 9621.704 Yann LeCun

But it's not like a completely general robot that would be sophisticated enough to do things like clearing up the dinner table.

0
💬 0

9623.769 - 9643.112 Lex Fridman

Yeah, to me, that's an exciting future of getting humanoid robots, robots in general on the whole, more and more, because that gets humans to really directly interact with AI systems in the physical space. And in so doing, it allows us to philosophically, psychologically explore our relationships with robots. It can be really, really, really interesting.

0
💬 0

9643.533 - 9646.733 Lex Fridman

So I hope you make progress on the whole Jempa thing soon.

0
💬 0

9647.093 - 9664.377 Yann LeCun

Well, I mean, I hope things can work as planned. I mean, again, we've been kind of working on this idea of self-supervised learning from video for 10 years and only made significant progress in the last two or three years.

0
💬 0

9664.915 - 9684.205 Lex Fridman

And actually, you've mentioned that there's a lot of interesting breakthroughs that can happen without having access to a lot of compute. So if you're interested in doing a PhD in this kind of stuff, there's a lot of possibilities still to do innovative work. So what advice would you give to a undergrad that's looking to go to grad school and do a PhD?

0
💬 0

9685.205 - 9708.994 Yann LeCun

So basically, I've listed them already. This idea of how do you train a world model by observation? Mm-hmm. And you don't have to train necessarily on gigantic datasets. I mean, it could turn out to be necessary to actually train on large datasets to have emergent properties like we have with LLMs. But I think there's a lot of good ideas that can be done without necessarily scaling up.

0
💬 0

9709.574 - 9733.782 Yann LeCun

Then there is how you do planning with a learned world model. If the world the system evolves in is not the physical world, but it's the world of... Let's say the Internet or some world where an action consists in doing a search in a search engine or interrogating a database or running a simulation or calling a calculator or solving a differential equation.

0
💬 0

9735.422 - 9759.841 Yann LeCun

How do you get a system to actually plan a sequence of actions to give the solution to a problem? So the question of planning is not just a question of planning physical actions. It could be planning actions to use tools for a dialogue system or for any kind of intelligent system. And there's some work on this, but not a huge amount.

0
💬 0

9759.942 - 9789.408 Yann LeCun

Some work at FAIR, one called Toolformer, which was a couple years ago, and some more recent work on planning. But I don't think we have a good solution for any of that. Then there is the question of hierarchical planning. So the example I mentioned of planning a trip from New York to Paris, that's hierarchical. But almost every action that we take involves hierarchical planning in some sense.

0
💬 0

9790.348 - 9820.814 Yann LeCun

And we really have absolutely no idea how to do this. There's zero demonstration of hierarchical planning in AI. where the various levels of representations that are necessary have been learned. We can do two-level hierarchical planning when we design the two levels. For example, you have a dog-like robot. You want it to go from the living room to the kitchen.

0
💬 0

9821.155 - 9846.768 Yann LeCun

You can plan a path that avoids the obstacle. And then you can send this to a lower-level planner that figures out how to move the legs to kind of follow that trajectory. So that works, but that two-level planning is designed by hand. We specify what the proper levels of abstraction, the representation at each level of abstraction have to be. How do you learn this?

0
💬 0

9846.948 - 9863.438 Yann LeCun

How do you learn that hierarchical representation of action plans? With Cognites and deep learning, we can train the system to learn hierarchical representations of percepts. What is the equivalent when what you're trying to represent are action plans?

0
💬 0

9863.658 - 9872.76 Lex Fridman

For action plans, yeah. So you want basically a robot dog or a humanoid robot that turns on and travels from New York to Paris all by itself.

0
💬 0

9873.961 - 9874.341 Yann LeCun

For example.

0
💬 0

9875.902 - 9879.825 Lex Fridman

They might have some trouble at the TSA.

0
💬 0

9880.286 - 9886.211 Yann LeCun

No, but even doing something fairly simple like a household task, like cooking or something.

0
💬 0

9886.691 - 9907.291 Lex Fridman

Yeah, there's a lot involved. It's a super complex task. And once again, we take it for granted. What hope do you have for the future of humanity? We're talking about so many exciting technologies, so many exciting possibilities. What gives you hope when you look out over the next 10, 20, 50, 100 years?

0
💬 0

9907.911 - 9919.439 Lex Fridman

If you look at social media, there's a lot of, there's wars going on, there's division, there's hatred, all this kind of stuff. That's also part of humanity. But amidst all that, what gives you hope?

0
💬 0

9921.932 - 9959.258 Yann LeCun

I love that question. We can make humanity smarter with AI. Okay. I mean, AI basically will amplify human intelligence. It's as if every one of us will have a staff of smart AI assistants. They might be smarter than us. They'll do our bidding. perhaps execute tasks in ways that are much better than we could do ourselves because they'd be smarter than us.

0
💬 0

9960.679 - 9989.373 Yann LeCun

And so it's like everyone would be the boss of a staff of super smart virtual people. So we shouldn't feel threatened by this any more than we should feel threatened by being the manager of a group of people, some of whom are more intelligent than us. I certainly have a lot of experience with this, of having people working with me who are smarter than me. That's actually a wonderful thing.

0
💬 0

9989.573 - 10006.526 Yann LeCun

So having machines that are smarter than us that assist us in our work, all of our tasks, our daily lives, whether it's professional or personal, I think would be an absolutely wonderful thing. Because intelligence is the most, is the commodity that is most in demand.

0
💬 0

10007.387 - 10030.335 Yann LeCun

That's really what, I mean, all the mistakes that humanity makes is because of lack of intelligence, really, or lack of knowledge, which is, you know, related. So making people smarter, we just can only be better. I mean, for the same reason that, you know, public education is a good thing. And books are a good thing. And the internet is also a good thing intrinsically.

0
💬 0

10030.535 - 10049.281 Yann LeCun

And even social networks are a good thing if you run them properly. It's difficult, but, you know, you can. Because, you know, it's... helps the communication of information and knowledge and the transmission of knowledge. So AI is going to make humanity smarter.

0
💬 0

10050.882 - 10078.635 Yann LeCun

And the analogy I've been using is the fact that perhaps an equivalent event in the history of humanity to what might be provided by generalization of AI assistant is the invention of the printing press. It made everybody smarter. The fact that People could have access to books. Books were a lot cheaper than they were before.

0
💬 0

10079.615 - 10110.924 Yann LeCun

And so a lot more people had an incentive to learn to read, which wasn't the case before. And people became smarter. It enabled the enlightenment, right? There wouldn't be an enlightenment without the printing press. It enabled... philosophy, rationalism, escape from religious doctrine, democracy, science,

0
💬 0

10114.385 - 10134.271 Yann LeCun

And certainly without this, there wouldn't have been the American Revolution or the French Revolution. And so we'd still be under feudal regimes, perhaps. And so it completely transformed the world because people became smarter and kind of learned about things.

0
💬 0

10134.711 - 10156.396 Yann LeCun

Now, it also created 200 years of essentially religious conflicts in Europe, because the first thing that people read was the Bible and realized that perhaps there was a different interpretation of the Bible than what the priests were telling them. And so that created the Protestant movement and created the Rift.

0
💬 0

10156.656 - 10178.195 Yann LeCun

And in fact, the Catholic Church didn't like the idea of the printing press, but they had no choice. And so it had some bad effects and some good effects. I don't think anyone today would say that the invention of the printing press had an overall negative effect, despite the fact that it created 200 years of religious conflicts in Europe. Now, compare this

0
💬 0

10179.591 - 10203.871 Yann LeCun

And I thought I was very proud of myself to come up with this analogy, but realized someone else came with the same idea before me. Compare this with what happened in the Ottoman Empire. The Ottoman Empire banned the printing press for 200 years. And he didn't ban it for all languages, only for Arabic.

0
💬 0

10204.652 - 10236.751 Yann LeCun

You could actually print books in Latin or Hebrew or whatever in the Ottoman Empire, just not in Arabic. And I thought it was because the rulers just wanted to preserve the control over the population and the dogma, religious dogma and everything. But after talking with the UAE minister of AI, Omar Al-Olamar, he told me, no, there was another reason.

0
💬 0

10238.613 - 10266.936 Yann LeCun

And the other reason was that it was to preserve the corporation of calligraphers. There's like an art form, which is writing those beautiful Arabic poems or whatever religious text in this thing. And it was a very powerful corporation of scribes, basically, that kind of ran a big chunk of the empire. And we couldn't put them out of business.

0
💬 0

10266.996 - 10297.968 Yann LeCun

So they banned the Beijing press in part to protect that business. Now, what's the analogy for AI today? Who are we protecting by banning AI? Who are the people who are asking that AI be regulated to protect their jobs? And of course, it's a real question of what is going to be the effect of technological transformation like AI on the job market. and the labor market.

0
💬 0

10298.168 - 10321.215 Yann LeCun

And there are economists who are much more expert at this than I am. But when I talk to them, they tell us, you know, we're not going to run out of jobs. This is not going to cause mass unemployment. This is just going to be gradual shift of different professions. The professions are going to be hot 10 or 15 years from now. We have no idea today what they're going to be.

0
💬 0

10322.215 - 10335.378 Yann LeCun

The same way if we go back 20 years in the past, like who could have thought 20 years ago that like the hottest job, even like five, 10 years ago was mobile app developer. Like smartphones weren't invented.

0
💬 0

10336.278 - 10338.86 Lex Fridman

Most of the jobs of the future might be in the metaverse.

0
💬 0

10339.86 - 10341.121 Yann LeCun

Well, it could be. Yeah.

0
💬 0

10341.881 - 10360.812 Lex Fridman

But the point is you can't possibly predict, but you're right. I mean, you made a lot of strong points and yeah, I believe that people are fundamentally good. And so if AI, especially open source AI, can make them smarter, it just empowers the goodness in humans.

0
💬 0

10361.212 - 10381.899 Yann LeCun

So I share that feeling, okay? I think people are fundamentally good. And in fact, a lot of doomers are doomers because they don't think that people are fundamentally good. And they either don't trust people or they don't trust the institution to do the right thing so that people behave properly.

0
💬 0

10383.393 - 10407.086 Lex Fridman

Well, I think both you and I believe in humanity, and I think I speak for a lot of people in saying thank you for pushing the open source movement, pushing to making both research and AI open source, making it available to people, and also the models themselves, making it open source. So thank you for that. And thank you for speaking your mind in such colorful and beautiful ways on the internet.

0
💬 0

10407.106 - 10428.1 Lex Fridman

I hope you never stop. You're one of the most fun people I know and get to be a fan of. So Jan, thank you for speaking to me once again. And thank you for being you. Thank you, Rex. Thanks for listening to this conversation with Jan LeCun. To support this podcast, please check out our sponsors in the description. And now let me leave you with some words from Arthur C. Clarke.

0
💬 0

10429.844 - 10440.241 Lex Fridman

The only way to discover the limits of the possible is to go beyond them into the impossible. Thank you for listening and hope to see you next time.

0
💬 0
Comments

There are no comments yet.

Please log in to write the first comment.