← Lex Fridman

Jitendra Malik: Computer Vision

Episode 1102020-07-21English

Guests: Jitendra Malik

Listen to this episode00:00 / 1:42:04
Reading settings
Reading preferences
Text size
Download in-depth read
Read offline

In-depth read pending

Downloads are not available yet.

§01Transcript · 00:00–15:52

00:00The following is a conversation with Jitendra Malik, a professor at Berkeley and one of

00:05the seminal figures in the field of computer vision, the kind before the deep learning

00:10revolution and the kind after.

00:13He has been cited over 180,000 times and has mentored many world class researchers in computer

00:21science.

00:22Quick summary of the ads.

00:24Two sponsors, one new one which is BetterHelp and an old goodie ExpressVPN.

00:31Please consider supporting this podcast by going to betterhelp.com slash lex and signing

00:37up at expressvpn.com slash lexpod.

00:40Click the links, buy the stuff, it really is the best way to support this podcast and

00:45the journey I'm on.

00:47If you enjoy this thing, subscribe on YouTube, review it with 5 stars on Apple Podcast, support

00:52it on Patreon, or connect with me on Twitter at Lex Friedman, however the heck you spell

00:57that.

00:58As usual, I'll do a few minutes of ads now and never any ads in the middle that can break

01:02the flow of the conversation.

01:05This show is sponsored by BetterHelp, spelled H E L P help.

01:11Check it out at betterhelp.com slash lex.

01:15They figure out what you need and match you with a licensed professional therapist in

01:19under 48 hours.

01:21It's not a crisis line, it's not self help, it's professional counseling done securely

01:26online.

01:27I'm a bit from the David Goggins line of creatures, as you may know, and so have some

01:33demons to contend with, usually on long runs or all nights working, forever and possibly

01:40full of self doubt.

01:42It may be because I'm Russian, but I think suffering is essential for creation.

01:47But I also think you can suffer beautifully, in a way that doesn't destroy you.

01:52For most people, I think a good therapist can help in this, so it's at least worth a

01:56try.

01:57Check out their reviews, they're good, it's easy, private, affordable, available worldwide.

02:03You can communicate by text, any time, and schedule weekly audio and video sessions.

02:09I highly recommend that you check them out at betterhelp.com slash lex.

02:15This show is also sponsored by ExpressVPN.

02:19Get it at expressvpn.com slash lexpod to support this podcast and to get an extra three months

02:26free on a one year package.

02:28I've been using ExpressVPN for many years, I love it.

02:32I think ExpressVPN is the best VPN out there.

02:36They told me to say it, but it happens to be true.

02:39It doesn't log your data, it's crazy fast, and is easy to use, literally just one big,

02:45sexy power on button.

02:47Again, for obvious reasons, it's really important that they don't log your data.

02:51It works on Linux and everywhere else too, but really, why use anything else?

02:57Shout out to my favorite flavor of Linux, Ubuntu Mate 2004.

03:02Once again, get it at expressvpn.com slash lexpod to support this podcast and to get

03:09an extra three months free on a one year package.

03:13And now, here's my conversation with Jitendra Malik.

03:18In 1966, Seymour Papert at MIT wrote up a proposal called the Summer Vision Project

03:25to be given, as far as we know, to 10 students to work on and solve that summer.

03:31So that proposal outlined many of the computer vision tasks we still work on today.

03:37Why do you think we underestimate, and perhaps we did underestimate and perhaps still underestimate

03:43how hard computer vision is?

03:46Because most of what we do in vision, we do unconsciously or subconsciously.

03:51In human vision.

03:52In human vision.

03:53So that gives us this, that effortlessness gives us the sense that, oh, this must be

03:58very easy to implement on a computer.

04:02Now, this is why the early researchers in AI got it so wrong.

04:09However, if you go into neuroscience or psychology of human vision, then the complexity becomes

04:17very clear.

04:19The fact is that a very large part of the cerebral cortex is devoted to visual processing.

04:26And this is true in other primates as well.

04:29So once we looked at it from a neuroscience or psychology perspective, it becomes quite

04:35clear that the problem is very challenging and it will take some time.

04:39You said the higher level parts are the harder parts?

04:43I think vision appears to be easy because most of what visual processing is subconscious

04:52or unconscious.

04:55So we underestimate the difficulty, whereas when you are like proving a mathematical theorem

05:03or playing chess, the difficulty is much more evident.

05:08So because it is your conscious brain, which is processing various aspects of the problem

05:15solving behavior, whereas in vision, all this is happening, but it's not in your awareness,

05:21it's in your, it's operating below that.

05:25But it's, it still seems strange.

05:27Yes, that's true, but it seems strange that as computer vision researchers, for example,

05:35the community broadly is time and time again makes the mistake of thinking the problem

05:41is easier than it is, or maybe it's not a mistake.

05:43We'll talk a little bit about autonomous driving, for example, how hard of a vision task that

05:48is, it, do you think, I mean, what, is it just human nature or is there something fundamental

05:56to the vision problem that we, we underestimate?

06:01We're still not able to be cognizant of how hard the problem is.

06:05Yeah, I think in the early days it could have been excused because in the early days, all

06:11aspects of AI were regarded as too easy.

06:15But I think today it is much less excusable.

06:19And I think why people fall for this is because of what I call the fallacy of the successful

06:27first step.

06:30There are many problems in vision where getting 50% of the solution you can get in one minute,

06:37getting to 90% can take you a day, getting to 99% may take you five years, and 99.99%

06:47may be not in your lifetime.

06:49I wonder if that's a unique division.

06:52It seems that language, people are not so confident about, so natural language processing,

06:58people are a little bit more cautious about our ability to, to solve that problem.

07:04I think for language, people intuit that we have to be able to do natural language understanding.

07:10For vision, it seems that we're not cognizant or we don't think about how much understanding

07:18is required.

07:19It's probably still an open problem.

07:21But in your sense, how much understanding is required to solve vision?

07:27Like this, put another way, how much something called common sense reasoning is required

07:34to really be able to interpret even static scenes?

07:39Yeah.

07:40So vision operates at all levels and there are parts which can be solved with what we

07:47could call maybe peripheral processing.

07:50So in the human vision literature, there used to be these terms, sensation, perception and

07:57cognition, which roughly speaking referred to like the front end of processing, middle

08:04stages of processing and higher level of processing.

08:08And I think they made a big deal out of, out of this and they wanted to study only perception

08:13and then dismiss certain, certain problems as being quote cognitive.

08:19But really I think these are artificial divides.

08:23The problem is continuous at all levels and there are challenges at all levels.

08:28The techniques that we have today, they work better at the lower and mid levels of the

08:34problem.

08:35I think the higher levels of the problem, quote the cognitive levels of the problem

08:39are there and we, in many real applications, we have to confront them.

08:46Now how much that is necessary will depend on the application.

08:51For some problems it doesn't matter, for some problems it matters a lot.

08:55So I am, for example, a pessimist on fully autonomous driving in the near future.

09:04And the reason is because I think there will be that 0.01% of the cases where quite sophisticated

09:13cognitive reasoning is called for.

09:16However, there are tasks where you can, first of all, they are much more, they are robust.

09:23So in the sense that error rates, error is not so much of a problem.

09:28For example, let's say we are, you're doing image search, you're trying to get images

09:34based on some, some, some description, some visual description.

09:41We are very tolerant of errors there, right?

09:43I mean, when Google image search gives you some images back and a few of them are wrong,

09:49it's okay.

09:50It doesn't hurt anybody.

09:51There is no, there's not a matter of life and death.

09:54But making mistakes when you are driving at 60 miles per hour and you could potentially

10:02kill somebody is much more important.

10:06So just for the, for the fun of it, since you mentioned, let's go there briefly about

10:11autonomous vehicles.

10:12So one of the companies in the space, Tesla, is with Andre Karpathy and Elon Musk are working

10:19on a system called Autopilot, which is primarily a vision based system with eight cameras and

10:26basically a single neural network, a multitask neural network.

10:30They call it HydroNet, multiple heads, so it does multiple tasks, but is forming the

10:35same representation at the core.

10:38Do you think driving can be converted in this way to purely a vision problem and then solved

10:47with learning or even more specifically in the current approach, what do you think about

10:53what Tesla Autopilot team is doing?

10:57So the way I think about it is that there are certainly subsets of the visual based

11:02driving problem, which are quite solvable.

11:05So for example, driving in freeway conditions is quite a solvable problem.

11:11I think there were demonstrations of that going back to the 1980s by someone called

11:18Ernst Tickmans in Munich.

11:22In the 90s, there were approaches from Carnegie Mellon, there were approaches from our team

11:27at Berkeley.

11:28In the 2000s, there were approaches from Stanford and so on.

11:33So autonomous driving in certain settings is very doable.

11:38The challenge is to have an autopilot work under all kinds of driving conditions.

11:45At that point, it's not just a question of vision or perception, but really also of control

11:51and dealing with all the edge cases.

11:54So where do you think most of the difficult cases, to me, even the highway driving is

11:59an open problem because it applies the same 50, 90, 95, 99 rule where the first step,

12:08the fallacy of the first step, I forget how you put it, we fall victim to.

12:12I think even highway driving has a lot of elements because to solve autonomous driving,

12:17you have to completely relinquish the help of a human being.

12:22You're always in control so that you're really going to feel the edge cases.

12:26So I think even highway driving is really difficult.

12:29But in terms of the general driving task, do you think vision is the fundamental problem

12:35or is it also your action, the interaction with the environment, the ability to...

12:44And then the middle ground, I don't know if you put that under vision, which is trying

12:48to predict the behavior of others, which is a little bit in the world of understanding

12:54the scene, but it's also trying to form a model of the actors in the scene and predict

13:00their behavior.

13:01Yeah.

13:02I include that in vision because to me, perception blends into cognition and building predictive

13:08models of other agents in the world, which could be other agents, could be people, other

13:13agents could be other cars.

13:15That is part of the task of perception because perception always has to not tell us what

13:22is now, but what will happen because what's now is boring.

13:26It's done.

13:27It's over with.

13:28Okay?

13:29Yeah.

13:30We care about the future because we act in the future.

13:33And we care about the past in as much as it informs what's going to happen in the future.

13:39So I think we have to build predictive models of behaviors of people and those can get quite

13:45complicated.

13:48So I mean, I've seen examples of this in actually, I mean, I own a Tesla and it has various safety

13:59features built in.

14:01And what I see are these examples where let's say there is some a skateboarder, I mean,

14:09and I don't want to be too critical because obviously these systems are always being improved

14:16and any specific criticism I have, maybe the system six months from now will not have that

14:23particular failure mode.

14:25So it had the wrong response and it's because it couldn't predict what this skateboarder

14:36was going to do.

14:38Okay?

14:39And because it really required that higher level cognitive understanding of what skateboarders

14:45typically do as opposed to a normal pedestrian.

14:48So what might have been the correct behavior for a pedestrian, a typical behavior for pedestrian

14:53was not the typical behavior for a skateboarder, right?

14:59Yeah.

15:00And so therefore to do a good job there, you need to have enough data where you have pedestrians,

15:07you also have skateboarders, you've seen enough skateboarders to see what kinds of patterns

15:14of behavior they have.

15:16So it is in principle with enough data, that problem could be solved.

15:21But I think our current systems, computer vision systems, they need far, far more data

15:29than humans do for learning those same capabilities.

15:33So say that there is going to be a system that solves autonomous driving.

15:38Do you think it will look similar to what we have today, but have a lot more data, perhaps

15:43more compute, but the fundamental architecture is involved, like neural, well, in the case

15:48of Tesla autopilot is neural networks.

§02Transcript · 15:52–32:00

15:52Do you think it will look similar in that regard and we'll just have more data?

15:57That's a scientific hypothesis as to which way is it going to go.

16:01I will tell you what I would bet on.

16:05So and this is my general philosophical position on how these learning systems have been.

16:14What we have found currently very effective in computer vision in the deep learning paradigm

16:20is sort of tabula rasa learning and tabula rasa learning in a supervised way with lots

16:27and lots of...

16:28What's tabula rasa learning?

16:29Tabula rasa in the sense that blank slate, we just have the system, which is given a

16:35series of experiences in this setting and then it learns there.

16:39Now if let's think about human driving, it is not tabula rasa learning.

16:44So at the age of 16 in high school, a teenager goes into driver ed class, right?

16:55And now at that point they learn, but at the age of 16, they are already visual geniuses

17:02because from zero to 16, they have built a certain repertoire of vision.

17:07In fact, most of it has probably been achieved by age two, right?

17:13In this period of age up to age two, they know that the world is three dimensional.

17:18They know how objects look like from different perspectives.

17:22They know about occlusion.

17:24They know about common dynamics of humans and other bodies.

17:29They have some notion of intuitive physics.

17:32So they built that up from their observations and interactions in early childhood and of

17:38course reinforced through their growing up to age 16.

17:44So then at age 16, when they go into driver ed, what are they learning?

17:49They're not learning afresh the visual world.

17:52They have a mastery of the visual world.

17:54What they are learning is control, okay?

17:58They're learning how to be smooth about control, about steering and brakes and so forth.

18:04They're learning a sense of typical traffic situations.

18:08Now that education process can be quite short because they are coming in as visual geniuses.

18:17And of course in their future, they're going to encounter situations which are very novel,

18:23right?

18:24So during my driver ed class, I may not have had to deal with a skateboarder.

18:29I may not have had to deal with a truck driving in front of me where the back opens up and

18:37some junk gets dropped from the truck and I have to deal with it, right?

18:42But I can deal with this as a driver even though I did not encounter this in my driver

18:47ed class.

18:48And the reason I can deal with it is because I have all this general visual knowledge and

18:52expertise.

18:55And do you think the learning mechanisms we have today can do that kind of long term accumulation

19:02of knowledge?

19:03Or do we have to do some kind of, you know, the work that led up to expert systems with

19:11knowledge representation, you know, the broader field of artificial intelligence worked on

19:17this kind of accumulation of knowledge.

19:20Do you think neural networks can do the same?

19:22I think I don't see any in principle problem with neural networks doing it, but I think

19:29the learning techniques would need to evolve significantly.

19:33So the current learning techniques that we have are supervised learning.

19:41You're given lots of examples, x, y, y pairs and you learn the functional mapping between

19:47them.

19:48I think that human learning is far richer than that.

19:52It includes many different components.

19:54There is a child explores the world and sees, for example, a child takes an object and manipulates

20:05it in his hand and therefore gets to see the object from different points of view.

20:12And the child has commanded the movement.

20:14So that's a kind of learning data, but the learning data has been arranged by the child.

20:21And this is a very rich kind of data.

20:23The child can do various experiments with the world.

20:30So there are many aspects of sort of human learning, and these have been studied in child

20:36development by psychologists.

20:39And what they tell us is that supervised learning is a very small part of it.

20:45There are many different aspects of learning.

20:48And what we would need to do is to develop models of all of these and then train our

20:57systems with that kind of a protocol.

21:02So new methods of learning, some of which might imitate the human brain, but you also

21:07in your talks have mentioned sort of the compute side of things, in terms of the difference

21:13in the human brain or referencing Moravec, Hans Moravec.

21:19So do you think there's something interesting, valuable to consider about the difference

21:25in the computational power of the human brain versus the computers of today in terms of

21:32instructions per second?

21:34Yes, so if we go back, so this is a point I've been making for 20 years now.

21:41And I think once upon a time, the way I used to argue this was that we just didn't have

21:47the computing power of the human brain.

21:49Our computers were not quite there.

21:53And I mean, there is a well known trade off, which we know that neurons are slow compared

22:03to transistors, but we have a lot of them and they have a very high connectivity.

22:09Whereas in silicon, you have much faster devices, transistors switch at the order of nanoseconds,

22:18but the connectivity is usually smaller.

22:21At this point in time, I mean, we are now talking about 2020, we do have, if you consider

22:27the latest GPUs and so on, amazing computing power.

22:31And if we look back at Hans Moravec type of calculations, which he did in the 1990s, we

22:39may be there today in terms of computing power comparable to the brain, but it's not in the

22:44of the same style, it's of a very different style.

22:49So I mean, for example, the style of computing that we have in our GPUs is far, far more

22:55power hungry than the style of computing that is there in the human brain or other biological

23:02entities.

23:03Yeah.

23:04And that the efficiency part is, we're going to have to solve that in order to build actual

23:11real world systems of large scale.

23:15Let me ask sort of the high level question, taking a step back.

23:19How would you articulate the general problem of computer vision?

23:24Does such a thing exist?

23:25So if you look at the computer vision conferences and the work that's been going on, it's often

23:30separated into different little segments, breaking the problem of vision apart into

23:36whether segmentation, 3D reconstruction, object detection, I don't know, image capturing,

23:44whatever.

23:45There's benchmarks for each.

23:46But if you were to sort of philosophically say, what is the big problem of computer vision?

23:52Does such a thing exist?

23:54Yes, but it's not in isolation.

23:57So for all intelligence tasks, I always go back to sort of biology or humans.

24:09And if we think about vision or perception in that setting, we realize that perception

24:15is always to guide action.

24:18Action for a biological system does not give any benefits unless it is coupled with action.

24:25So we can go back and think about the first multicellular animals, which arose in the

24:30Cambrian era, you know, 500 million years ago.

24:35And these animals could move and they could see in some way.

24:40And the two activities helped each other.

24:43Because how does movement help?

24:47Movement helps that because you can get food in different places.

24:52But you need to know where to go.

24:54And that's really about perception or seeing, I mean, vision is perhaps the single most

25:00perception sense.

25:02But all the others are equally are also important.

25:06So perception and action kind of go together.

25:10So earlier, it was in these very simple feedback loops, which were about finding food or avoid

25:17avoiding becoming food if there's a predator running, trying to, you know, eat you up,

25:24and so forth.

25:25So we must, at the fundamental level, connect perception to action.

25:30Then as we evolved, perception became more and more sophisticated because it served many

25:37more purposes.

25:39And so today we have what seems like a fairly general purpose capability, which can look

25:46at the external world and build a model of the external world inside the head.

25:53We do have that capability.

25:55That model is not perfect.

25:56And psychologists have great fun in pointing out the ways in which the model in your head

26:01is not a perfect model of the external world.

26:05They create various illusions to show the ways in which it is imperfect.

26:11But it's amazing how far it has come from a very simple perception action loop that

26:17you exist in, you know, an animal 500 million years ago.

26:23Once we have this, these very sophisticated visual systems, we can then impose a structure

26:29on them.

26:30It's we as scientists who are imposing that structure, where we have chosen to characterize

26:36this part of the system as this quote, module of object detection or quote, this module

26:43of 3D reconstruction.

26:45What's going on is really all of these processes are running simultaneously and they are running

26:55simultaneously because originally their purpose was in fact to help guide action.

27:01So as a guiding general statement of a problem, do you think we can say that the general problem

27:08of computer vision, you said in humans, it was tied to action.

27:14Do you think we should also say that ultimately the goal, the problem of computer vision is

27:20to sense the world in a way that helps you act in the world?

27:27Yes.

27:28I think that's the most fundamental, that's the most fundamental purpose.

27:32We have by now hyper evolved.

27:37So we have this visual system which can be used for other things.

27:42For example, judging the aesthetic value of a painting.

27:46And this is not guiding action.

27:49Maybe it's guiding action in terms of how much money you will put in your auction bid,

27:54but that's a bit stretched.

27:56But the basics are in fact in terms of action, but we evolved really this hyper, we have

28:06hyper evolved our visual system.

28:08Actually just to, sorry to interrupt, but perhaps it is fundamentally about action.

28:13You kind of jokingly said about spending, but perhaps the capitalistic drive that drives

28:20a lot of the development in this world is about the exchange of money and the fundamental

28:25action is money.

28:26If you watch Netflix, if you enjoy watching movies, you're using your perception system

28:30to interpret the movie, ultimately your enjoyment of that movie means you'll subscribe to Netflix.

28:36So the action is this extra layer that we've developed in modern society perhaps is fundamentally

28:44tied to the action of spending money.

28:47Well certainly with respect to interactions with firms.

28:54So in this homo economicus role, when you're interacting with firms, it does become that.

29:01What else is there?

29:02And that was a rhetorical question.

29:07So to linger on the division between the static and the dynamic, so much of the work in computer

29:16vision, so many of the breakthroughs that you've been a part of have been in the static

29:20world and looking at static images.

29:24And then you've also worked on starting, but it's a much smaller degree, the community

29:29is looking at dynamic, at video, at dynamic scenes.

29:32And then there is robotic vision, which is dynamic, but also where you actually have

29:38a robot in the physical world interacting based on that vision.

29:43Which problem is harder?

29:49The trivial first answer is, well, of course one image is harder.

29:53But if you look at a deeper question there, are we, what's the term, cutting ourselves

30:03at the knees or like making the problem harder by focusing on images?

30:08That's a fair question.

30:09I think sometimes we can simplify a problem so much that we essentially lose part of the

30:20juice that could enable us to solve the problem.

30:24And one could reasonably argue that to some extent this happens when we go from video

30:29to single images.

30:31Now historically you have to consider the limits imposed by the computation capabilities

30:39we had.

30:41So many of the choices made in the computer vision community through the 70s, 80s, 90s

30:50can be understood as choices which were forced upon us by the fact that we just didn't have

30:59enough access to enough compute.

31:01Not enough memory, not enough hardware.

31:04Exactly.

31:05Not enough compute, not enough storage.

31:08So think of these choices.

31:09So one of the choices is focusing on single images rather than video.

31:14Okay.

31:15Clear question.

31:16Storage and compute.

31:19We had to focus on, we used to detect edges and throw away the image.

31:24Right?

31:25So we would have an image which I say 256 by 256 pixels and instead of keeping around

31:31the grayscale value, what we did was we detected edges, find the places where the brightness

31:37changes a lot and then throw away the rest.

31:42So this was a major compression device and the hope was that this makes it that you can

31:47still work with it and the logic was humans can interpret a line drawing.

31:53And yes, and this will save us computation.

31:58So many of the choices were dictated by that.

§03Transcript · 32:00–47:23

32:00I think today we are no longer detecting edges, right?

32:07We process images with ConvNets because we don't need to.

32:10We don't have those computer restrictions anymore.

32:14Now video is still understudied because video compute is still quite challenging if you

32:19are a university researcher.

32:22I think video computing is not so challenging if you are at Google or Facebook or Amazon.

32:29Still super challenging.

32:30I just spoke with the VP of engineering at Google, head of the YouTube search and discovery

32:35and they still struggle doing stuff on video.

32:38It's very difficult except using techniques that are essentially the techniques you used

32:44in the 90s.

32:45Some very basic computer vision techniques.

32:48No, that's when you want to do things at scale.

32:51So if you want to operate at the scale of all the content of YouTube, it's very challenging

32:56and there are similar issues with Facebook.

32:59But as a researcher, you have more opportunities.

33:05You can train large networks with relatively large video data sets.

33:11So I think that this is part of the reason why we have so emphasized static images.

33:17I think that this is changing and over the next few years, I see a lot more progress

33:22happening in video.

33:25So I have this generic statement that to me, video recognition feels like 10 years behind

33:32object recognition and you can quantify that because you can take some of the challenging

33:37video data sets and their performance on action classification is like say 30%, which is kind

33:45of what we used to have around 2009 in object detection.

33:51It's like about 10 years behind and whether it'll take 10 years to catch up is a different

33:58question.

33:59Hopefully, it will take less than that.

34:01Let me ask a similar question I've already asked, but once again, so for dynamic scenes,

34:08do you think some kind of injection of knowledge bases and reasoning is required to help improve

34:17like action recognition?

34:20Like if we saw the general action recognition problem, what do you think the solution would

34:28look like as another way to put it?

34:31So I completely agree that knowledge is called for and that knowledge can be quite sophisticated.

34:39So the way I would say it is that perception blends into cognition and cognition brings

34:44in issues of memory and this notion of a schema from psychology, which is, let me use the

34:54classic example, which is you go to a restaurant, right?

34:58Now there are things that happen in a certain order, you walk in, somebody takes you to

35:03a table, waiter comes, gives you a menu, takes the order, food arrives, eventually bill arrives,

35:13et cetera, et cetera.

35:15This is a classic example of AI from the 1970s.

35:19It was called, there was the term frames and scripts and schemas, these are all quite similar

35:26ideas.

35:27Okay, and in the 70s, the way the AI of the time dealt with it was by hand coding this.

35:34So they hand coded in this notion of a script and the various stages and the actors and

35:40so on and so forth, and use that to interpret, for example, language.

35:45I mean, if there's a description of a story involving some people eating at a restaurant,

35:52there are all these inferences you can make because you know what happens typically at

35:58a restaurant.

36:00So I think this kind of knowledge is absolutely essential.

36:06So I think that when we are going to do long form video understanding, we are going to

36:12need to do this.

36:13I think the kinds of technology that we have right now with 3D convolutions over a couple

36:19of seconds of clip or video, it's very much tailored towards short term video understanding,

36:26not that long term understanding.

36:28Long term understanding requires this notion of schemas that I talked about, perhaps some

36:35notions of goals, intentionality, functionality, and so on and so forth.

36:43Now, how will we bring that in?

36:46So we could either revert back to the 70s and say, OK, I'm going to hand code in a script

36:51or we might try to learn it.

36:56So I tend to believe that we have to find learning ways of doing this because I think

37:03learning ways land up being more robust.

37:06And there must be a learning version of the story because children acquire a lot of this

37:12knowledge by sort of just observation.

37:16So at no moment in a child's life does it's possible, but I think it's not so typical

37:24that somebody that a mother coaches a child through all the stages of what happens in

37:29a restaurant.

37:30They just go as a family, they go to the restaurant, they eat, come back, and the child goes through

37:36ten such experiences and the child has got a schema of what happens when you go to a

37:41restaurant.

37:42So we somehow need to provide that capability to our systems.

37:48You mentioned the following line from the end of the Alan Turing paper, Computing Machinery

37:53and Intelligence, that many people, like you said, many people know and very few have read

37:59where he proposes the Turing test.

38:03This is how you know because it's towards the end of the paper.

38:06Instead of trying to produce a program to simulate the adult mind, why not rather try

38:10to produce one which simulates the child's?

38:14So that's a really interesting point.

38:17If I think about the benchmarks we have before us, the tests of our computer vision systems,

38:24they're often kind of trying to get to the adult.

38:28So what kind of benchmarks should we have?

38:31What kind of tests for computer vision do you think we should have that mimic the child's

38:37in computer vision?

38:38I think we should have those and we don't have those today.

38:42And I think the part of the challenge is that we should really be collecting data of the

38:50type that the child experiences.

38:55So that gets into issues of privacy and so on and so forth.

38:59But there are attempts in this direction to sort of try to collect the kind of data that

39:05a child encounters growing up.

39:08So what's the child's linguistic environment?

39:11What's the child's visual environment?

39:13So if we could collect that kind of data and then develop learning schemes based on that

39:20data, that would be one way to do it.

39:25I think that's a very promising direction myself.

39:28There might be people who would argue that we could just short circuit this in some way

39:33and sometimes we have imitated, we have had success by not imitating nature in detail.

39:44So the usual example is airplanes, right?

39:47We don't build flapping wings.

39:51So yes, that's one of the points of debate.

39:57In my mind, I would bet on this learning like a child approach.

40:05So one of the fundamental aspects of learning like a child is the interactivity.

40:11So the child gets to play with the data set it's learning from.

40:14Yes.

40:15So it gets to select.

40:16I mean, you can call that active learning.

40:19In the machine learning world, you can call it a lot of terms.

40:23What are your thoughts about this whole space of being able to play with the data set or

40:27select what you're learning?

40:29Yeah.

40:30So I think that I believe in that and I think that we could achieve it in two ways and I

40:38think we should use both.

40:40So one is actually real robotics, right?

40:45So real physical embodiments of agents who are interacting with the world and they have

40:52a physical body with dynamics and mass and moment of inertia and friction and all the

40:59rest and you learn your body, the robot learns its body by doing a series of actions.

41:08The second is that simulation environments.

41:11So I think simulation environments are getting much, much better.

41:17In my life in Facebook AI research, our group has worked on something called Habitat, which

41:24is a simulation environment, which is a visually photorealistic environment of places like

41:34houses or interiors of various urban spaces and so forth.

41:39And as you move, you get a picture, which is a pretty accurate picture.

41:45So now you can imagine that subsequent generations of these simulators will be accurate, not

41:53just visually, but with respect to forces and masses and haptic interactions and so

42:01on.

42:03And then we have that environment to play with.

42:07I think, let me state one reason why I think being able to act in the world is important.

42:16I think that this is one way to break the correlation versus causation barrier.

42:23So this is something which is of a great deal of interest these days.

42:27I mean, people like Judea Pearl have talked a lot about that we are neglecting causality

42:34and he describes the entire set of successes of deep learning as just curve fitting, right?

42:42But I don't quite agree about it.

42:45He's a troublemaker.

42:46He is.

42:47But causality is important, but causality is not like a single silver bullet.

42:54It's not like one single principle.

42:56There are many different aspects here.

42:58And one of the ways in which, one of our most reliable ways of establishing causal links

43:05and this is the way, for example, the medical community does this is randomized control

43:11trials.

43:12So you have, you pick some situation and now in some situation you perform an action and

43:18for certain others you don't, right?

43:22So you have a controlled experiment.

43:23Well, the child is in fact performing controlled experiments all the time, right?

43:28Right.

43:29Okay.

43:30Small scale.

43:31In a small scale.

43:32But that is a way that the child gets to build and refine its causal models of the world.

43:41And my colleague Alison Gopnik has, together with a couple of authors, coauthors, has this

43:47book called The Scientist in the Crib, referring to the children.

43:50So I like, the part that I like about that is the scientist wants to do, wants to build

43:57causal models and the scientist does control experiments.

44:01And I think the child is doing that.

44:03So to enable that, we will need to have these active experiments.

44:10And I think this could be done, some in the real world and some in simulation.

44:14So you have hope for simulation.

44:16I have hope for simulation.

44:18That's an exciting possibility if we can get to not just photorealistic, but what's that

44:22called life realistic simulation.

44:27So you don't see any fundamental blocks to why we can't eventually simulate the principles

44:35of what it means to exist in the world as a physical scientist.

44:39I don't see any fundamental problems that, I mean, and look, the computer graphics community

44:43has come a long way.

44:45So in the early days, back going back to the eighties and nineties, they were focusing

44:50on visual realism, right?

44:52And then they could do the easy stuff, but they couldn't do stuff like hair or fur and

44:58so on.

44:59Okay, well, they managed to do that.

45:01Then they couldn't do physical actions, right?

45:04Like there's a bowl of glass and it falls down and it shatters, but then they could

45:09start to do pretty realistic models of that and so on and so forth.

45:13So the graphics people have shown that they can do this forward direction, not just for

45:19optical interactions, but also for physical interactions.

45:23So I think, of course, some of that is very compute intensive, but I think by and by we

45:30will find ways of making our models ever more realistic.

45:35You break vision apart into, in one of your presentations, early vision, static scene

45:40understanding, dynamic scene understanding, and raise a few interesting questions.

45:44I thought I could just throw some at you to see if you want to talk about them.

45:50So early vision, so it's, what is it that you said, sensation, perception and cognition.

45:58So is this a sensation?

46:00Yes.

46:01What can we learn from image statistics that we don't already know?

46:05So at the lowest level, what can we make from just the statistics, the basics, or the variations

46:15in the rock pixels, the textures and so on?

46:18Yeah.

46:19So what we seem to have learned is that there's a lot of redundancy in these images and as

46:28a result, we are able to do a lot of compression and this compression is very important in

46:35biological settings, right?

46:36So you might have 10 to the 8 photoreceptors and only 10 to the 6 fibers in the optic nerve.

46:42So you have to do this compression by a factor of 100 is to 1.

46:46And so there are analogs of that which are happening in our neural net, artificial neural

46:54network.

46:55That's the early layers.

46:56So you think there's a lot of compression that can be done in the beginning.

47:01Just the statistics.

47:02Yeah.

47:03So how successful is image compression?

47:05How much?

47:06Well, I mean, the way to think about it is just how successful is image compression,

47:14right?

47:15And that's been done with older technologies, but it can be done with, there are several

§04Transcript · 47:23–1:03:12

47:23companies which are trying to use sort of these more advanced neural network type techniques

47:29for compression, both for static images as well as for video.

47:34One of my former students has a company which is trying to do stuff like this.

47:41And I think that they are showing quite interesting results.

47:47And I think that that's all the success of, that's really about image statistics and

47:52video statistics.

47:53But that's still not doing compression of the kind, when I see a picture of a cat, all

47:59I have to say is it's a cat, that's another semantic kind of compression.

48:02Yeah.

48:03So this is at the lower level, right?

48:04So we are, as I said, yeah, that's focusing on low level statistics.

48:10So to linger on that for a little bit, you mentioned how far can bottom up image segmentation

48:17go.

48:18You know, what you mentioned that the central question for scene understanding is the interplay

48:24of bottom up and top down information.

48:26Maybe this is a good time to elaborate on that.

48:29Maybe define what is bottom up, what is top down in the context of computer vision.

48:37Right.

48:38So today what we have are very interesting systems because they work completely bottom

48:45up.

48:46What does bottom up mean, sorry?

48:47So bottom up means, in this case means a feed forward neural network.

48:52So starting from the raw pixels, yeah, they start from the raw pixels and they end up

48:57with some, something like cat or not a cat, right?

49:00So our systems are running totally feed forward.

49:04They're trained in a very top down way.

49:07So they're trained by saying, okay, this is a cat, there's a cat, there's a dog, there's

49:11a zebra, et cetera.

49:14And I'm not happy with either of these choices fully.

49:18We have gone into, because we have completely separated these processes, right?

49:24So there's a, so I would like the process, so what do we know compared to biology?

49:34So in biology, what we know is that the processes in at test time, at runtime, those processes

49:42are not purely feed forward, but they involve feedback.

49:46So and they involve much shallower neural networks.

49:50So the kinds of neural networks we are using in computer vision, say a ResNet 50 has 50

49:55layers.

49:56Well in the brain, in the visual cortex going from the retina to IT, maybe we have like

50:02seven, right?

50:04So they're far shallower, but we have the possibility of feedback.

50:08So there are backward connections.

50:11And this might enable us to deal with the more ambiguous stimuli, for example.

50:18So the biological solution seems to involve feedback, the solution in artificial vision

50:26seems to be just feed forward, but with a much deeper network.

50:30And the two are functionally equivalent because if you have a feedback network, which just

50:35has like three rounds of feedback, you can just unroll it and make it three times the

50:40depth and create it in a totally feed forward way.

50:44So this is something which, I mean, we have written some papers on this theme, but I really

50:49feel that this should, this theme should be pursued further.

50:55Some kind of occurrence mechanism.

50:57Yeah.

50:58Okay.

50:59The other, so that's, so I want to have a little bit more top down in the, at test time.

51:07Okay.

51:08And then at training time, we make use of a lot of top down knowledge right now.

51:13So basically to learn to segment an object, we have to have all these examples of this

51:19is the boundary of a cat, and this is the boundary of a chair, and this is the boundary

51:22of a horse and so on.

51:24And this is too much top down knowledge.

51:27How do humans do this?

51:30We manage to, we manage with far less supervision and we do it in a sort of bottom up way because

51:36for example, we are looking at a video stream and the horse moves and that enables me to

51:44say that all these pixels are together.

51:47So the Gestalt psychologist used to call this the principle of common fate.

51:53So there was a bottom up process by which we were able to segment out these objects

51:58and we have totally focused on this top down training signal.

52:04So in my view, we have currently solved it in machine vision, this top down bottom up

52:10interaction, but I don't find the solution fully satisfactory and I would rather have

52:17a bit of both at both stages.

52:20For all computer vision problems, not just segmentation.

52:25And the question that you can ask is, so for me, I'm inspired a lot by human vision and

52:30I care about that.

52:31You could be just a hard boiled engineer and not give a damn.

52:35So to you, I would then argue that you would need far less training data if you could make

52:41my research agenda fruitful.

52:45Okay, so then maybe taking a step into segmentation, static scene understanding.

52:54What is the interaction between segmentation and recognition?

52:57You mentioned the movement of objects.

53:00So for people who don't know computer vision, segmentation is this weird activity that computer

53:07vision folks have all agreed is very important of drawing outlines around objects versus

53:15a bounding box and then classifying that object.

53:21What's the value of segmentation?

53:23What is it as a problem in computer vision?

53:27How is it fundamentally different from detection recognition and the other problems?

53:31Yeah, so I think, so segmentation enables us to say that some set of pixels are an object

53:41without necessarily even being able to name that object or knowing properties of that

53:47object.

53:48Oh, so you mean segmentation purely as the act of separating an object.

53:55From its background.

53:56It's a job that's united in some way from its background.

54:01Yeah, so entitification, if you will, making an entity out of it.

54:05Entitification, beautifully termed.

54:09So I think that we have that capability and that enables us to, as we are growing up,

54:17to acquire names of objects with very little supervision.

54:23So suppose the child, let's posit that the child has this ability to separate out objects

54:28in the world.

54:30Then when the mother says, pick up your bottle or the cat's behaving funny today, the word

54:42cat suggests some object and then the child sort of does the mapping, right?

54:47The mother doesn't have to teach specific object labels by pointing to them.

54:55Weak supervision works in the context that you have the ability to create objects.

55:01So I think that, so to me, that's a very fundamental capability.

55:07There are applications where this is very important, for example, medical diagnosis.

55:13So in medical diagnosis, you have some brain scan, I mean, this is some work that we did

55:20in my group where you have CT scans of people who have had traumatic brain injury and what

55:26the radiologist needs to do is to precisely delineate various places where there might

55:32be bleeds, for example, and there are clear needs like that.

55:39So there are certainly very practical applications of computer vision where segmentation is necessary,

55:46but philosophically segmentation enables the task of recognition to proceed with much weaker

55:54supervision than we require today.

55:58And you think of segmentation as this kind of task that takes on a visual scene and breaks

56:03it apart into interesting entities that might be useful for whatever the task is.

56:11Yeah.

56:12And it is not semantics free.

56:14So I think, I mean, it blends into, it involves perception and cognition.

56:22It is not, I think the mistake that we used to make in the early days of computer vision

56:28was to treat it as a purely bottom up perceptual task.

56:32It is not just that because we do revise our notion of segmentation with more experience,

56:41right?

56:42Because for example, there are objects which are nonrigid like animals or humans.

56:47And I think understanding that all the pixels of a human are one entity is actually quite

56:53a challenge because the parts of the human, they can move independently and the human

56:59wears clothes, so they might be differently colored.

57:02So it's all sort of a challenge.

57:05You mentioned the three R's of computer vision are recognition, reconstruction and reorganization.

57:12Can you describe these three R's and how they interact?

57:15Yeah.

57:16So recognition is the easiest one because that's what I think people generally think

57:24of as computer vision achieving these days, which is labels.

57:30So is this a cat?

57:31Is this a dog?

57:32Is this a chihuahua?

57:35I mean, you know, it could be very fine grained like, you know, specific breed of a dog or

57:41a specific species of bird, or it could be very abstract like animal.

57:47But given a part of an image or a whole image, say put a label on it.

57:51Yeah.

57:52That's recognition.

57:54Reconstruction is essentially, you can think of it as inverse graphics.

58:03I mean, that's one way to think about it.

58:07So graphics is you have some internal computer representation and you have a computer representation

58:14of some objects arranged in a scene.

58:17And what you do is you produce a picture, you produce the pixels corresponding to a

58:22rendering of that scene.

58:24So let's do the inverse of this.

58:28We are given an image and we try to, we say, oh, this image arises from some objects in

58:38a scene looked at with a camera from this viewpoint.

58:41And we might have more information about the objects like their shape, maybe their textures,

58:47maybe, you know, color, et cetera, et cetera.

58:51So that's the reconstruction problem.

58:53In a way, you are in your head creating a model of the external world.

59:00Right.

59:01Okay.

59:02Reorganization is to do with essentially finding these entities.

59:09So it's organization, the word organization implies structure.

59:15So that in perception, in psychology, we use the term perceptual organization.

59:22That the world is not just, an image is not just seen as, is not internally represented

59:30as just a collection of pixels, but we make these entities.

59:34We create these entities, objects, whatever you want to call it.

59:38And the relationship between the entities as well, or is it purely about the entities?

59:42It could be about the relationships, but mainly we focus on the fact that there are entities.

59:47Okay.

59:48So I'm trying to pinpoint what the organization means.

59:52So organization is that instead of like a uniform grid, we have this structure of objects.

60:02So the segmentation is the small part of that.

60:05So segmentation gets us going towards that.

60:09Yeah.

60:10And you kind of have this triangle where they all interact together.

60:13Yes.

60:14So how do you see that interaction in sort of reorganization is yes, finding the entities

60:23in the world.

60:25The recognition is labeling those entities and then reconstruction is what filling in

60:32the gaps.

60:33Well, for example, see, impute some 3D objects corresponding to each of these entities.

60:43That would be part of it.

60:44So adding more information that's not there in the raw data.

60:48Correct.

60:49I mean, I started pushing this kind of a view in the, around 2010 or something like that.

60:58Because at that time in computer vision, the distinction that people were just working

61:06on many different problems, but they treated each of them as a separate isolated problem

61:11with each with its own data set.

61:13And then you try to solve that and get good numbers on it.

61:17So I wasn't, I didn't like that approach because I wanted to see the connection between these.

61:23And if people divided up vision into, into various modules, the way they would do it

61:30is as low level, mid level and high level vision corresponding roughly to the psychologist's

61:36notion of sensation, perception and cognition.

61:40And I didn't, that didn't map to tasks that people cared about.

61:45Okay.

61:46So therefore I tried to promote this particular framework as a way of considering the problems

61:52that people in computer vision were actually working on and trying to be more explicit

61:58about the fact that they actually are connected to each other.

62:02And I was at that time just doing this on the basis of information flow.

62:07Now it turns out in the last five years or so in the post, the deep learning revolution

62:17that this, this architecture has turned out to be very conducive to that.

62:25Because basically in these neural networks, we are trying to build multiple representations.

62:33They can be multiple output heads sharing common representations.

62:37So in a certain sense today, given the reality of what solutions people have to this, I do

62:46not need to preach this anymore.

62:48It is, it is just there.

62:50It's part of the sedation space.

62:52So speaking of neural networks, how much of this problem of computer vision of reorganization

63:02recognition can be reconstruction?

63:09How much of it can be learned end to end, do you think?

§05Transcript · 1:03:12–1:18:01

63:12Sort of set it and forget it.

63:17Just plug and play, have a giant data set, multiple, perhaps multimodal, and then just

63:23learn the entirety of it.

63:25Well, so I think that currently what that end to end learning means nowadays is end

63:31to end supervised learning.

63:34And that I would argue is too narrow a view of the problem.

63:38I like this child development view, this lifelong learning view, one where there are certain

63:46capabilities that are built up and then there are certain capabilities which are built up

63:51on top of that.

63:53So that's what I believe in.

63:58So I think end to end learning in the supervised setting for a very precise task to me is kind

64:13of is sort of a limited view of the learning process.

64:17Got it.

64:18So if we think about beyond purely supervised, looking back to children, you mentioned six

64:25lessons that we can learn from children of be multimodal, be incremental, be physical,

64:33explore, be social, use language.

64:36Can you speak to these, perhaps picking one that you find most fundamental to our time

64:42today?

64:43Yeah.

64:44So I mean, I should say to give a due credit, this is from a paper by Smith and Gasser.

64:50And it reflects essentially, I would say common wisdom among child development people.

65:00It's just that this is not common wisdom among people in computer vision and AI and machine

65:07learning.

65:08So I view my role as trying to bridge the two worlds.

65:15So let's take an example of a multimodal.

65:18I like that.

65:20So multimodal, a canonical example is a child interacting with an object.

65:28So then the child holds a ball and plays with it.

65:32So at that point, it's getting a touch signal.

65:35So the touch signal is getting the notion of 3D shape, but it is sparse.

65:44And then the child is also seeing a visual signal.

65:48And these two, so imagine these are two in totally different spaces.

65:52So one is the space of receptors on the skin of the fingers and the thumb and the palm.

65:59And then these map onto these neuronal fibers are getting activated somewhere.

66:06These lead to some activation in somatosensory cortex.

66:10I mean, a similar thing will happen if we have a robot hand.

66:15And then we have the pixels corresponding to the visual view, but we know that they

66:20correspond to the same object.

66:24So that's a very, very strong cross calibration signal.

66:28And it is self supervisory, which is beautiful.

66:32There's nobody assigning a label.

66:34The mother doesn't have to come and assign a label.

66:37The child doesn't even have to know that this object is called a ball.

66:42That the child is learning something about the three dimensional world from this signal.

66:49I think tactile and visual, there is some work on, there is a lot of work currently

66:54on audio and visual.

66:57And audio visual, so there is some event that happens in the world and that event has a

67:02visual signature and it has a auditory signature.

67:07So there is this glass bowl on the table and it falls and breaks and I hear the smashing

67:12sound and I see the pieces of glass.

67:14Okay, I've built that connection between the two, right?

67:19We have people, I mean, this has become a hot topic in computer vision in the last couple

67:24of years.

67:26There are problems like separating out multiple speakers, right?

67:32Which was a classic problem in auditions.

67:35They call this the problem of source separation or the cocktail party effect and so on.

67:40But just try to do it visually when you also have, it becomes so much easier and so much

67:47more useful.

67:50So the multimodal, I mean, there's so much more signal with multimodal and you can use

67:56that for some kind of weak supervision as well.

68:00Yes, because they are occurring at the same time in time.

68:03So you have time which links the two, right?

68:06So at a certain moment, T1, you've got a certain signal in the auditory domain and a certain

68:10signal in the visual domain, but they must be causally related.

68:14Yeah, that's an exciting area.

68:16Not well studied yet.

68:17Yeah, I mean, we have a little bit of work at this, but so much more needs to be done.

68:25So this is a good example.

68:28Be physical, that's to do with like the one thing we talked about earlier that there's

68:34a embodied world.

68:36To mention language, use language.

68:39So Noam Chomsky believes that language may be at the core of cognition, at the core of

68:44everything in the human mind.

68:46What is the connection between language and vision to you?

68:50What's more fundamental?

68:51Are they neighbors?

68:53Is one the parent and the child, the chicken and the egg?

68:58Oh, it's very clear.

68:59It is vision, which is the parent.

69:00Which is the fundamental ability, okay.

69:07It comes before you think vision is more fundamental than language.

69:11Correct.

69:12And you can think of it either in phylogeny or in ontogeny.

69:18So phylogeny means if you look at evolutionary time, right?

69:22So we have vision that developed 500 million years ago, okay.

69:27Then something like when we get to maybe like five million years ago, you have the first

69:33bipedal primate.

69:34So when we started to walk, then the hands became free.

69:38And so then manipulation, the ability to manipulate objects and build tools and so on and so forth.

69:45So you said 500,000 years ago?

69:47No, sorry.

69:48The first multicellular animals, which you can say had some intelligence arose 500 million

69:56years ago.

69:57Million.

69:58Okay.

69:59And now let's fast forward to say the last seven million years, which is the development

70:05of the hominid line, right, where from the other primates, we have the branch which leads

70:10on to modern humans.

70:12Now there are many of these hominids, but the ones which, you know, people talk about

70:21Lucy because that's like a skeleton from three million years ago.

70:25And we know that Lucy walked, okay.

70:28So at this stage you have that the hand is free for manipulating objects and then the

70:34ability to manipulate objects, build tools and the brain size grew in this era.

70:43So okay, so now you have manipulation.

70:46Now we don't know exactly when language arose.

70:49But after that.

70:50Because no apes have, I mean, so I mean Chomsky is correct in that, that it is a uniquely

70:57human capability and we primates, other primates don't have that.

71:04But so it developed somewhere in this era, but it developed, I would, I mean, argue that

71:12it probably developed after we had this stage of humans, I mean, the human species already

71:19able to manipulate and hands free much bigger brain size.

71:25And for that, there's a lot of vision has already had, had to have developed.

71:31So the sensation and the perception may be some of the cognition.

71:35Yeah.

71:36So we, we, we, so those, so, so that vision, so the world, so there, so, so these ancestors

71:45of ours, you know, three, four million years ago, they had, they had special intelligence.

71:53So they knew that the world consists of objects.

71:56They knew that the objects were in certain relationships to each other.

71:59They had observed causal interactions among objects.

72:05They could move in space.

72:06So they had space and time and all of that.

72:09So language builds on that substrate.

72:13So language has a lot of, I mean, I mean, the none, all human languages have constructs

72:19which depend on a notion of space and time.

72:22Where did that notion of space and time come from?

72:26It had to come from perception and action in the world we live in.

72:30Yeah.

72:31Well, you've referred to the spatial intelligence.

72:33Yeah.

72:34Yeah.

72:35So to linger a little bit, we'll mention Turing and his mention of, we should learn from

72:42children.

72:43Nevertheless, language is the fundamental piece of the test of intelligence that Turing

72:49proposed.

72:50Yes.

72:51What do you think is a good test of intelligence?

72:53Are you, what would impress the heck out of you?

72:56Is it fundamentally natural language or is there something in vision?

73:02I think, I wouldn't, I don't think we should have created a single test of intelligence.

73:10So just like I don't believe in IQ as a single number, I think generally there can be many

73:17capabilities which are correlated perhaps.

73:21So I think that there will be, there will be accomplishments which are visual accomplishments,

73:28accomplishments which are accomplishments in manipulation or robotics, and then accomplishments

73:36in language.

73:37But I do believe that language will be the hardest nut to crack.

73:40Really?

73:41Yeah.

73:42So what's harder, to pass the spirit of the Turing test or like whatever formulation will

73:46make it natural language, convincingly a natural language, like somebody you would want to

73:52have a beer with, hang out and have a chat with, or the general natural scene understanding?

73:59You think language is the tougher problem?

74:01I think, I'm not a fan of the, I think, I think Turing test, that Turing as he proposed

74:09the test in 1950 was trying to solve a certain problem.

74:13Yeah, imitation.

74:14Yeah.

74:15And, and I think it made a lot of sense then.

74:18Where we are today, 70 years later, I think, I think we should not worry about that.

74:26I think the Turing test is no longer the right way to channel research in AI, because that,

74:34it takes us down this path of this chat bot, which can fool us for five minutes or whatever.

74:39Okay.

74:40I think I would rather have a list of 10 different tasks.

74:44I mean, I think there are tasks which, there are tasks in the manipulation domain, tasks

74:50in navigation, tasks in visual scene understanding, tasks in reading a story and answering questions

74:58based on that.

74:59I mean, so my favorite language understanding task would be, you know, reading a novel and

75:05being able to answer arbitrary questions from it.

75:08Okay.

75:09Right.

75:10I think that to me, and this is not an exhaustive list by any means.

75:15So I would, I think that that's what we, where we need to be going to.

75:21And each of these, on each of these axes, there's a fair amount of work to be done.

75:26So on the visual understanding side, in this intelligence Olympics that we've set up, what's

75:31a good test for one of many of visual scene understanding?

75:39Do you think such benchmarks exist?

75:41Sorry to interrupt.

75:42No, there aren't any.

75:43I think, I think essentially to me, a really good aid to the blind.

75:50So suppose there was a blind person and I needed to assist the blind person.

75:57So ultimately, like we said, vision that aids in the action in a survival in this world,

76:05maybe in the simulated world.

76:09Maybe easier to measure performance in a simulated world, what we are ultimately after is performance

76:15in the real world.

76:17So David Hilbert in 1900 proposed 23 open problems in mathematics, some of which are

76:23still unsolved, most important, famous of which is probably the Riemann hypothesis.

76:29You've thought about and presented about the Hilbert problems of computer vision.

76:33So let me ask, what do you today, I don't know when the last year you presented that

76:38in 2015, but versions of it, you're kind of the face and the spokesperson for computer

76:44vision.

76:45It's your job to state what the open problems are for the field.

76:51So what today are the Hilbert problems of computer vision, do you think?

76:56Let me pick one which I regard as clearly unsolved, which is what I would call long

77:05form video understanding.

77:08So we have a video clip and we want to understand the behavior in there in terms of agents,

77:20their goals, intentionality and make predictions about what might happen.

77:30So that kind of understanding which goes away from atomic visual action.

77:37So in the short range, the question is, are you sitting, are you standing, are you catching

77:41a ball?

77:44That we can do now, or even if we can't do it fully accurately, if we can do it at 50%,

77:50maybe next year we'll do it at 65% and so forth.

77:54But I think the long range video understanding, I don't think we can do today.

§06Transcript · 1:18:01–1:34:25

78:01And it blends into cognition, that's the reason why it's challenging.

78:06So you have to track, you have to understand the entities, you have to understand the entities,

78:11you have to track them and you have to have some kind of model of their behavior.

78:16Correct.

78:17And their behavior might be, these are agents, so they are not just like passive objects,

78:24but they're agents, so therefore they would exhibit goal directed behavior.

78:29Okay, so this is one area.

78:32Then I will talk about understanding the world in 3D.

78:37This may seem paradoxical because in a way we have been able to do 3D understanding even

78:43like 30 years ago, right?

78:45But I don't think we currently have the richness of 3D understanding in our computer vision

78:51system that we would like.

78:55So let me elaborate on that a bit.

78:57So currently we have two kinds of techniques which are not fully unified.

79:03So they are the kinds of techniques from multi view geometry that you have multiple pictures

79:08of a scene and you do a reconstruction using stereoscopic vision or structure from motion.

79:14But these techniques do not, they totally fail if you just have a single view because

79:21they are relying on this multiple view geometry.

79:25Okay, then we have some techniques that we have developed in the computer vision community

79:30which try to guess 3D from single views.

79:34And these techniques are based on supervised learning and they are based on having a training

79:41time 3D models of objects available.

79:46And this is completely unnatural supervision, right?

79:50That's not, CAD models are not injected into your brain.

79:54Okay, so what would I like?

79:56What I would like would be a kind of learning as you move around the world notion of 3D.

80:06So we have our succession of visual experiences and from those we, so as part of that I might

80:19see a chair from different viewpoints or a table from different viewpoints and so on.

80:24Now as part that enables me to build some internal representation.

80:31And then next time I just see a single photograph and it may not even be of that chair, it's

80:37of some other chair.

80:38And I have a guess of what it's 3D shape is like.

80:42So you're almost learning the CAD model, kind of.

80:45Yeah, implicitly.

80:46Implicitly.

80:47I mean, the CAD model need not be in the same form as used by computer graphics programs.

80:52Hidden in the representation.

80:53It's hidden in the representation, the ability to predict new views.

80:58And what I would see if I went to such and such position.

81:04By the way, on a small tangent on that, are you okay or comfortable with neural networks

81:14that do achieve visual understanding that do, for example, achieve this kind of 3D understanding

81:19and you don't know how they, you're not able to interest, you're not able to visualize

81:27or understand or interact with the representation.

81:31So the fact that they're not or may not be explainable.

81:34Yeah, I think that's fine.

81:38To me that is, so let me put some caveats on that.

81:44So it depends on the setting.

81:46So first of all, I think the humans are not explainable.

81:55So that's a really good point.

81:57So we, one human to another human is not fully explainable.

82:02I think there are settings where explainability matters and these might be, for example, questions

82:10on medical diagnosis.

82:13So I'm in a setting where maybe the doctor, maybe a computer program has made a certain

82:19diagnosis and then depending on the diagnosis, perhaps I should have treatment A or treatment

82:25B, right?

82:28So now is the computer program's diagnosis based on data, which was data collected off

82:38for American males who are in their 30s and 40s and maybe not so relevant to me.

82:45Maybe it is relevant, you know, et cetera, et cetera.

82:48I mean, in medical diagnosis, we have major issues to do with the reference class.

82:53So we may have acquired statistics from one group of people and applying it to a different

82:58group of people who may not share all the same characteristics.

83:02The data might have, there might be error bars in the prediction.

83:07So that prediction should really be taken with a huge grain of salt.

83:14But this has an impact on what treatments should be picked, right?

83:20So there are settings where I want to know more than just, this is the answer.

83:26But what I acknowledge is that, so in that sense, explainability and interpretability

83:33may matter.

83:34It's about giving error bounds and a better sense of the quality of the decision.

83:40Where I'm willing to sacrifice interpretability is that I believe that there can be systems

83:50which can be highly performant, but which are internally black boxes.

83:56And that seems to be where it's headed.

83:57Some of the best performing systems are essentially black boxes, fundamentally by their construction.

84:04You and I are black boxes to each other.

84:06Yeah.

84:07So the nice thing about the black boxes we are is, so we ourselves are black boxes, but

84:13we're also, those of us who are charming are able to convince others, like explain the

84:20black, what's going on inside the black box with narratives of stories.

84:25So in some sense, neural networks don't have to actually explain what's going on inside.

84:31They just have to come up with stories, real or fake that convince you that they know what's

84:37going on.

84:38And I'm sure we can do that.

84:39We can create those stories, neural networks can create those stories.

84:45Yeah.

84:46And the transformer will be involved.

84:50Do you think we will ever build a system of human level or superhuman level intelligence?

84:56We've kind of defined what it takes to try to approach that, but do you think that's

85:01within our reach?

85:02The thing that we thought we could do, what Turing thought actually we could do by year

85:072000, right?

85:09What do you think we'll ever be able to do?

85:11So I think there are two answers here.

85:12One question, one answer is in principle, can we do this at some time?

85:18And my answer is yes.

85:20The second answer is a pragmatic one.

85:23Do you think we will be able to do it in the next 20 years or whatever?

85:27And to that my answer is no.

85:30So of course that's a wild guess.

85:34I think that, you know, Donald Rumsfeld is not a favorite person of mine, but one of

85:40his lines was very good, which is about known unknowns and unknown unknowns.

85:48So in the business we are in, there are known unknowns and we have unknown unknowns.

85:55So I think with respect to a lot of what's the case in vision and robotics, I feel like

86:04we have known unknowns.

86:06So I have a sense of where we need to go and what the problems that need to be solved are.

86:13I feel with respect to natural language, understanding and high level cognition, it's not just known

86:21unknowns, but also unknown unknowns.

86:24So it is very difficult to put any kind of a timeframe to that.

86:30Do you think some of the unknown unknowns might be positive in that they'll surprise

86:36us and make the job much easier?

86:38So fundamental breakthroughs?

86:40I think that is possible because certainly I have been very positively surprised by how

86:45effective these deep learning systems have been because I certainly would not have believed

86:53that in 2010.

86:57I think what we knew from the mathematical theory was that convex optimization works.

87:06When there's a single global optima, then these gradient descent techniques would work.

87:11Now these are nonlinear systems with non convex systems.

87:16Huge number of variables, so over parametrized.

87:18And the people who used to play with them a lot, the ones who are totally immersed in

87:26the lore and the black magic, they knew that they worked well, even though they were...

87:33Really?

87:34I thought like everybody...

87:35No, the claim that I hear from my friends like Yann LeCun and so forth is that they

87:43feel that they were comfortable with them.

87:45But the community as a whole was certainly not.

87:50And I think to me that was the surprise that they actually worked robustly for a wide range

87:59of problems from a wide range of initializations and so on.

88:04And so that was certainly more rapid progress than we expected.

88:13But then there are certainly lots of times, in fact, most of the history of AI is when

88:19we have made less progress at a slower rate than we expected.

88:24So we just keep going.

88:27I think what I regard as really unwarranted are these fears of AGI in 10 years and 20

88:39years and that kind of stuff, because that's based on completely unrealistic models of

88:44how rapidly we will make progress in this field.

88:48So I agree with you, but I've also gotten the chance to interact with very smart people

88:54who really worry about existential threats of AI.

88:57And I, as an open minded person, am sort of taking it in.

89:04Do you think if AI systems in some way, the unknown unknowns, not super intelligent AI,

89:12but in ways we don't quite understand the nature of super intelligence, will have a

89:18detrimental effect on society?

89:20Do you think this is something we should be worried about or we need to first allow the

89:25unknown unknowns to become known unknowns?

89:29I think we need to be worried about AI today.

89:32I think that it is not just a worry we need to have when we get that AGI.

89:38I think that AI is being used in many systems today.

89:43And there might be settings, for example, when it causes biases or decisions which could

89:49be harmful.

89:50I mean, decisions which could be unfair to some people or it could be a self driving

89:55cars which kills a pedestrian.

89:57So AI systems are being deployed today, right?

90:02And they're being deployed in many different settings, maybe in medical diagnosis, maybe

90:05in a self driving car, maybe in selecting applicants for an interview.

90:10So I would argue that when these systems make mistakes, there are consequences.

90:18And we are in a certain sense responsible for those consequences.

90:22So I would argue that this is a continuous effort.

90:27It is we and this is something that in a way is not so surprising.

90:32It's about all engineering and scientific progress which great power comes great responsibility.

90:40So as these systems are deployed, we have to worry about them and it's a continuous

90:44problem.

90:45I don't think of it as something which will suddenly happen on some day in 2079 for which

90:51I need to design some clever trick.

90:54I'm saying that these problems exist today and we need to be continuously on the lookout

91:00for worrying about safety, biases, risks, right?

91:06I mean, the self driving car kills a pedestrian and they have, right?

91:11I mean, this Uber incident in Arizona, right?

91:16It has happened, right?

91:17This is not about AGI.

91:18In fact, it's about a very dumb intelligence which is still killing people.

91:23The worry people have with AGI is the scale.

91:28But I think you're 100% right is like the thing that worries me about AI today and it's

91:34happening in a huge scale is recommender systems, recommendation systems.

91:39So if you look at Twitter or Facebook or YouTube, they're controlling the ideas that we have

91:47access to, the news and so on.

91:50And that's a fundamental machine learning algorithm behind each of these recommendations.

91:55And they, I mean, my life would not be the same without these sources of information.

92:00I'm a totally new human being and the ideas that I know are very much because of the internet,

92:07because of the algorithm that recommend those ideas.

92:09And so as they get smarter and smarter, I mean, that is the AGI is that's the algorithm

92:16that's recommending the next YouTube video you should watch has control of millions of

92:23billions of people that that algorithm is already super intelligent and has complete

92:30control of the population, not a complete, but very strong control.

92:35For now we can turn off YouTube, we can just go have a normal life outside of that.

92:39But the more and more that gets into our life, it's that algorithm we start depending on

92:46it in the different companies that are working on the algorithm.

92:49So I think it's, you're right, it's already there.

92:53And YouTube in particular is using computer vision, doing their hardest to try to understand

92:59the content of videos so they could be able to connect videos with the people who would

93:05benefit from those videos the most.

93:08And so that development could go in a bunch of different directions, some of which might

93:12be harmful.

93:14So yeah, you're right, the threats of AI are here already and we should be thinking about

93:19them.

93:20On a philosophical notion, if you could, personal perhaps, if you could relive a moment in

93:29your life outside of family because it made you truly happy or it was a profound moment

93:36that impacted the direction of your life, what moment would you go to?

93:44I don't think of single moments, but I look over the long haul.

93:49I feel that I've been very lucky because I feel that, I think that in scientific research,

93:58a lot of it is about being at the right place at the right time.

94:03And you can work on problems at a time when they're just too premature.

94:10You butt your head against them and nothing happens because the prerequisites for success

94:18are not there.

94:19And then there are times when you are in a field which is all pretty mature and you can

§07Transcript · 1:34:25–1:41:27

94:25only solve curlicues upon curlicues.

94:30I've been lucky to have been in this field which for 34 years, well actually 34 years

94:36as a professor at Berkeley, so longer than that, which when I started in it was just

94:44like some little crazy, absolutely useless field which couldn't really do anything to

94:53a time when it's really, really solving a lot of practical problems, has offered a lot

95:01of tools for scientific research because computer vision is impactful for images in biology

95:08or astronomy and so on and so forth.

95:12And we have, so we have made great scientific progress which has had real practical impact

95:18in the world.

95:19And I feel lucky that I got in at a time when the field was very young and at a time when

95:28it is, it's now mature but not fully mature.

95:34It's mature but not done.

95:35I mean, it's really still in a productive phase.

95:39Yeah, I think people 500 years from now would laugh at you calling this field mature.

95:45That is very possible.

95:46Yeah.

95:47So, but you're also, lest I forget to mention, you've also mentored some of the biggest names

95:53of computer vision, computer science and AI today.

95:59So many questions I could ask, but really is what, what is it, how did you do it?

96:04What does it take to be a good mentor?

96:06What does it take to be a good guide?

96:09Yeah, I think what I feel, I've been lucky to have had very, very smart and hardworking

96:17and creative students.

96:18I think some part of the credit just belongs to being at Berkeley.

96:25Those of us who are at top universities are blessed because we have very, very smart and

96:32capable students coming on, knocking on our door.

96:37So I have to be humble enough to acknowledge that.

96:40But what have I added?

96:41I think I have added something.

96:44What I have added is, I think what I've always tried to teach them is a sense of picking

96:52the right problems.

96:54So I think that in science, in the short run, success is always based on technical competence.

97:04You're, you know, you're quick with math or you are whatever.

97:09I mean, there's certain technical capabilities which make for short range progress.

97:15Long range progress is really determined by asking the right questions and focusing on

97:21the right problems.

97:23And I feel that what I've been able to bring to the table in terms of advising these students

97:31is some sense of taste of what are good problems, what are problems that are worth attacking

97:38now as opposed to waiting 10 years.

97:41What's a good problem?

97:42If you could summarize, is that possible to even summarize, like what's your sense of

97:47a good problem?

97:48I think, I think I have a sense of what is a good problem, which is there is a British

97:55scientist, in fact, he won a Nobel Prize, Peter Medover, who has a book on this.

98:02And basically he calls it, research is the art of the soluble.

98:08So we need to sort of find problems which are not yet solved, but which are approachable.

98:18And he sort of refers to this sense that there is this problem which isn't quite solved yet,

98:25but it has a soft underbelly.

98:26There is some place where you can, you know, spear the beast.

98:32And having that intuition that this problem is ripe is a good thing because otherwise

98:39you can just beat your head and not make progress.

98:42So I think that is important.

98:45So if I have that and if I can convey that to students, it's not just that they do great

98:52research while they're working with me, but that they continue to do great research.

98:56So in a sense, I'm proud of my students and their achievements and their great research

99:01even 20 years after they've ceased being my student.

99:05So it's in part developing, helping them develop that sense that a problem is not yet solved,

99:11but it's solvable.

99:12Correct.

99:13The other thing which I have, which I think I bring to the table, is a certain intellectual

99:21breadth.

99:22I've spent a fair amount of time studying psychology, neuroscience, relevant areas of

99:29applied math and so forth.

99:31So I can probably help them see some connections to disparate things, which they might not

99:40have otherwise.

99:42So the smart students coming into Berkeley can be very deep, they can think very deeply,

99:50meaning very hard down one particular path, but where I could help them is the shallow

99:58breadth, but they would have the narrow depth, but that's of some value.

100:08Well, it was beautifully refreshing just to hear you naturally jump to psychology back

100:14to computer science in this conversation back and forth.

100:18That's actually a rare quality and I think it's certainly for students empowering to

100:23think about problems in a new way.

100:25So for that and for many other reasons, I really enjoyed this conversation.

100:29Thank you so much.

100:30It was a huge honor.

100:31Thanks for talking to me.

100:32It's been my pleasure.

100:34Thanks for listening to this conversation with Jitendra Malik and thank you to our sponsors,

100:39BetterHelp and ExpressVPN.

100:43Please consider supporting this podcast by going to betterhelp.com slash Lex and signing

100:49up at expressvpn.com slash LexPod.

100:52Click the links, buy the stuff.

100:55That's how they know I sent you and it really is the best way to support this podcast and

101:00the journey I'm on.

101:02If you enjoy this thing, subscribe on YouTube, review it with five stars on Apple podcast,

101:07support it on Patreon or connect with me on Twitter at Lex Friedman.

101:12Don't ask me how to spell that.

101:13I don't remember it myself.

101:15And now let me leave you with some words from Prince Mishkin in The Idiot by Dostoevsky.

101:22Beauty will save the world.

101:24Thank you for listening and hope to see you next time.

— A LITTLE MORE TO THINK ABOUT. —