← Lex Fridman

Leslie Kaelbling: Reinforcement Learning, Planning, and Robotics

第2019-03-12期2019-03-12English

嘉宾:Leslie Kaelbling

收听本集00:00 / 1:01:34
阅读设置
按你的习惯阅读
正文字号
下载播客精读
把这一篇,带走慢慢读

中文 · 精读 · 当前版本

下载功能还未开放

全文文稿 · 按对话顺序保留完整内容,深入理解上下文。

本篇目录4 章节§01Transcript · 00:00–19:06§02Transcript · 19:11–38:40§03Transcript · 38:47–58:51§04Transcript · 58:56–1:01:04

§01Transcript · 00:00–19:06

00:00The following is a conversation with Leslie Kaelbling. She's a roboticist and professor at

00:05MIT. She's recognized for her work in reinforcement learning, planning, robot navigation, and several

00:12other topics in AI. She won the IJCAI Computers and Thought Award and was the editor-in-chief

00:18of the prestigious Journal of Machine Learning Research. This conversation is part of the

00:24Artificial Intelligence Podcast at MIT and beyond. If you enjoy it, subscribe on YouTube, iTunes,

00:31or simply connect with me on Twitter @LexFriedman, spelled F-R-I-D. And now,

00:37here's my conversation with Leslie Kaelbling.

00:41- What made me get excited about AI, I can say that, is I read Gödel, Escher, Bach when I was

00:47in high school. That was pretty formative for me because it exposed the interestingness of

00:56primitives and combination and how you can make complex things out of simple parts,

01:01and ideas of AI and what kinds of programs might generate intelligent behavior.

01:07- So you first fell in love with AI reasoning logic versus robots?

01:12- Yeah, the robots came because my first job, so I finished an undergraduate degree in philosophy

01:18at Stanford and was about to finish a master's in computer science, and I got hired at SRI

01:24in their AI lab. And they were building a robot. It was a kind of a follow-on to Shakey,

01:30but all the Shakey people were not there anymore. And so my job was to try to get this robot to do

01:36stuff, and that's really kind of what got me interested in robots.

01:39- So maybe taking a small step back, your bachelor's in Stanford in philosophy,

01:44did a master's and PhD in computer science, but the bachelor's in philosophy. So what was that

01:49journey like? What elements of philosophy do you think you bring to your work in computer science?

01:54- So it's surprisingly relevant. So part of the reason that I didn't do a computer science

02:00undergraduate degree was that there wasn't one at Stanford at the time, but that there's part

02:04of philosophy, and in fact, Stanford has a special sub-major in something called now

02:08symbolic systems, which is logic, model, theory, formal semantics of natural language. And so that's

02:15actually a perfect preparation for work in AI and computer science.

02:19- That's kind of interesting. So if you were interested in artificial intelligence,

02:23what kind of majors were people even thinking about taking? What is it in neuroscience?

02:30So besides philosophies, what were you supposed to do if you were

02:35fascinated by the idea of creating intelligence?

02:37- There weren't enough people who did that for that even to be a conversation. I mean,

02:42I think probably philosophy. I mean, it's interesting in my class, my graduating class of

02:50undergraduate philosophers, probably maybe slightly less than half went on in computer science,

02:57slightly less than half went on in law, and like one or two went on in philosophy.

03:02So it was a common kind of connection.

03:05- Do you think AI researchers have a role, be part-time philosophers, or should they stick

03:10to the solid science and engineering without sort of taking the philosophizing tangents? I mean,

03:16you work with robots, you think about what it takes to create intelligent beings. Aren't you

03:21the perfect person to think about the big picture philosophy at all?

03:25- The parts of philosophy that are closest to AI, I think, or at least the closest to AI that I think

03:29about are stuff like belief and knowledge and denotation and that kind of stuff. And that's,

03:36you know, it's quite formal and it's like just one step away from

03:39the kinds of computer science work that we do kind of routinely.

03:44I think that there are important questions still about what you can do with a machine and what you

03:53can't and so on. Although at least my personal view is that I'm completely a materialist and

03:57I don't think that there's any reason why we can't make a robot be behaviorally indistinguishable

04:04from a human. And the question of whether it's distinguishable internally, whether it's a zombie

04:10or not in philosophy terms, I actually don't, I don't know, and I don't know if I care too much

04:16about that. - Right, but there is philosophical notions, they're mathematical and philosophical

04:22because we don't know so much, of how difficult that is, how difficult is the perception problem,

04:27how difficult is the planning problem, how difficult is it to operate in this world successfully.

04:32Because our robots are not currently as successful as human beings in many tasks,

04:37the question about the gap between current robots and human beings borders a little bit on

04:44philosophy. You know, the expanse of knowledge that's required to operate in this world,

04:51and the ability to form common sense knowledge, the ability to reason about uncertainty,

04:56much of the work you've been doing, there's open questions there that, I don't know,

05:03require to activate a certain big picture view. - To me that doesn't seem like a philosophical

05:09gap at all. To me, there is a big technical gap, there's a huge technical gap, but I don't see any

05:16reason why it's more than a technical gap. - Perfect. So, when you mentioned AI, you mentioned

05:23SRI, and maybe, can you describe to me when you first fell in love with robotics, the robots,

05:31were inspired, which, so you mentioned Flaky or Shaky, Shaky Flaky, and what was the robot that

05:40first captured your imagination, what's possible? - Right, well, so the first robot I worked with was

05:44Flaky. Shaky was a robot that the SRI people had built, but by the time, I think when I arrived,

05:50it was sitting in a corner of somebody's office dripping hydraulic fluid into a pan.

05:55But it's iconic, and really, everybody should read the Shaky Tech Report, because it has so

06:01many good ideas in it. I mean, they invented A*Search and symbolic planning and learning

06:09macro operators. They had low-level kind of configuration space planning for their robot,

06:16they had vision, they had all, this, the basic ideas of a ton of things. - Can you take,

06:20step by, Shaky have arms, what was the job, what was the goal? - Shaky was a mobile robot,

06:26but it could push objects, and so it would move things around. - With which actuator, with arms?

06:31- With itself, with its base. - Okay, great. - So it could, but it, and they had painted the base

06:39boards black, so it used vision to localize itself in a map, it detected objects, it could detect

06:47objects that were surprising to it, it would plan and replan based on what it saw, it reasoned about

06:54whether to look and take pictures. I mean, it really had the basics of so many of the things

07:01that we think about now. - How did it represent the space around it? - So it had representations

07:08at a bunch of different levels of abstraction, so it had, I think, a kind of an occupancy grid

07:12of some sort at the lowest level. At the high level, it was abstract, symbolic kind of rooms

07:18and connectivity. - So where does Flaky come in? - Yeah, okay, so I showed up at SRI, and the,

07:25we were building a brand new robot. As I said, none of the people from the previous project were

07:31kind of there or involved anymore, so we were kind of starting from scratch, and my advisor

07:37was Stan Rosenstein, he ended up being my thesis advisor, and he was motivated by this idea of

07:44situated computation or situated automata, and the idea was that the tools of logical reasoning were

07:52important, but possibly only for the engineers or designers to use in the analysis of a system,

08:01but not necessarily to be manipulated in the head of the system itself, right? So I might use logic

08:07to prove a theorem about the behavior of my robot, even if the robot's not using logic in its head

08:12to prove theorems, right? So that was kind of the distinction. And so the idea was to kind of use

08:18those principles to make a robot do stuff, but a lot of the basic things we had to kind of

08:27learn for ourselves, 'cause I had zero background in robotics, I didn't know anything about control,

08:31I didn't know anything about sensors, so we reinvented a lot of wheels on the way to getting

08:35that robot to do stuff. - Do you think that was an advantage

08:38or a hindrance? - Oh, no, I mean, I'm big in favor of

08:42wheel reinvention, actually. I mean, I think you learn a lot by doing it. It's important, though,

08:48to eventually have the pointers so that you can see what's really going on, but I think you can

08:53appreciate much better the good solutions once you've messed around a little bit on your own

08:59and found a bad one. - Yeah, I think you mentioned

09:01reinventing reinforcement learning and referring to rewards as pleasures, a pleasure, I think,

09:09which I think is a nice name for it. - Yeah, it seemed good to me.

09:12- It's more fun, almost. Do you think you could tell the history of AI, machine learning,

09:19reinforcement learning, how you think about it from the '50s to now?

09:23- One thing is that it oscillates, right? So things become fashionable and then they go out

09:29and then something else becomes cool and then it goes out and so on. So there's some interesting

09:34sociological process that actually drives a lot of what's going on. Early days was kind of

09:40cybernetics and control, right? And the idea of homeostasis, right? People who made these robots

09:47that could, I don't know, try to plug into the wall when they needed power and then come loose

09:53and roll around and do stuff. And then I think over time, the thought, well, that was inspiring,

10:00but people said, no, no, no, we want to get maybe closer to what feels like real intelligence or

10:04human intelligence. And then maybe the expert systems people tried to do that, but maybe a

10:14little too superficially, right? So, oh, we get the surface understanding of what intelligence is

10:21like because I understand how a steel mill works and I can try to explain it to you and you can

10:25write it down in logic and then we can make a computer infer that. And then that didn't work

10:31out. But what's interesting, I think, is when a thing starts to not be working very well,

10:37it's not only do we change methods, we change problems, right? So it's not like we have better

10:44ways of doing the problem that the expert systems people were trying to do. We have no ways of

10:48trying to do that problem. Oh yeah, I know, I think, or maybe a few, but we kind of give up

10:55on that problem and we switch to a different problem and we work that for a while and we make

11:01progress. - As a broad community.

11:02- As a community, yeah. - And there's a lot of people

11:04who would argue you don't give up on the problem, it's just you decrease the number of people working

11:09on it. You almost kind of like put it on the shelf, say, we'll come back to this 20 years later.

11:13- Yeah, I think that's right. Or you might decide that it's malformed.

11:18- Like you might say, it's wrong to just try to make something that does superficial symbolic

11:25reasoning behave like a doctor. You can't do that until you've had the sensory motor experience

11:32of being a doctor or something, right? So there's arguments that say that that problem was not well

11:37formed, or it could be that it is well formed, but we just weren't approaching it well.

11:42- So you mentioned that your favorite part of logic and symbolic systems is that they give

11:47short names for large sets. So there is some use to this, the use to symbolic reasoning. So

11:55looking at expert systems and symbolic computing, what do you think are the roadblocks that were

12:00hit in the '80s and '90s? - Ah, okay. So right, so the fact that I'm

12:04not a fan of expert systems doesn't mean that I'm not a fan of some kinds of symbolic reasoning.

12:13Let's see, roadblocks. Well, the main roadblock, I think, was that the idea that humans could

12:19articulate their knowledge effectively into some kind of logical statements.

12:26- So it's not just the cost, the effort, but really just the capability of doing it.

12:31- Right, because we're all experts in vision, right? But totally don't have introspective

12:36access into how we do that, right? And it's true that, I mean, I think the idea was, well, of

12:45course, even people then would know, of course, I wouldn't ask you to please write down the rules

12:48that you use for recognizing a water bottle. That's crazy. And everyone understood that. But

12:53we might ask you to please write down the rules you use for deciding, I don't know, what tie to

12:59put on or how to set up a microphone or something like that. But even those things, I think people

13:07maybe, I think what they found, I'm not sure about this, but I think what they found was that the

13:12so-called experts could give explanations that sort of post hoc explanations for how and why

13:19they did things, but they weren't necessarily very good. And then they depended on maybe some

13:27kinds of perceptual things, which again, they couldn't really define very well. So I think

13:33fundamentally, I think that the underlying problem with that was the assumption that people could

13:39articulate how and why they make their decisions. - Right, so it's almost encoding the knowledge,

13:45converting from expert to something that a machine could understand and reason with.

13:51- No, no, no, not even just encoding, but getting it out of you.

13:54- Just... - Right? Not writing it,

13:58I mean, yes, hard also to write it down for the computer, but I don't think that people can

14:03produce it. You can tell me a story about why you do stuff, but I'm not so sure that's the why.

14:10- Great. So there are still on the hierarchical planning side,

14:18places where symbolic reasoning is very useful. So as you've talked about, so...

14:25- Right, so don't... - Where's the gap?

14:29- Yeah, okay, good. So saying that humans can't provide a description of their reasoning processes,

14:36that's okay, fine, but that doesn't mean that it's not good to do reasoning of various styles

14:42inside a computer. Those are just two orthogonal points. So then the question is, what kind of

14:49reasoning should you do inside a computer? And the answer is, I think you need to do all different

14:54kinds of reasoning inside a computer, depending on what kinds of problems you face.

14:59- I guess the question is, what kind of things can you encode symbolically so you can reason about?

15:07- I think the idea about, and even symbolic, I don't even like that terminology,

15:16'cause I don't know what it means technically and formally. I do believe in abstractions.

15:21So abstractions are critical, right? You cannot reason at completely fine grain about everything

15:27in your life, right? You can't make a plan at the level of images and torques for getting a PhD.

15:34So you have to reduce the size of the state space and you have to reduce the horizon

15:39if you're gonna reason about getting a PhD or even buying the ingredients to make dinner.

15:44And so how can you reduce the spaces and the horizon of the reasoning you have to do? And

15:50the answer is abstraction, spatial abstraction, temporal abstraction. I think abstraction along

15:55the lines of goals is also interesting. Like you might, or well, abstraction and decomposition.

16:01Goals is maybe more of a decomposition thing. So I think that's where these kinds of, if you want

16:06to call it symbolic or discrete models come in. You talk about a room of your house instead of

16:13your pose. You talk about doing something during the afternoon instead of at 2.54.

16:20And you do that because it makes your reasoning problem easier. And also because

16:28you don't have enough information to reason in high fidelity about your pose of your elbow at

16:352.35 this afternoon anyway. - Right. When you're trying to get a PhD.

16:39- Right. Or when you're doing anything really. - Yeah, okay.

16:41- Except for at that moment. At that moment, you do have to reason about the pose of your elbow,

16:46maybe. But then maybe you do that in some continuous joint space kind of model. So again,

16:53my biggest point about all of this is that there should be, that dogma is not the thing, right?

16:59It shouldn't be that I am in favor against symbolic reasoning and you're in favor against

17:04neural networks. It should be that just computer science tells us what the right answer to all

17:10these questions is if we were smart enough to figure it out. - Well, yeah. When you try to

17:13actually solve the problem with computers, the right answer comes out. You mentioned abstractions.

17:19I mean, neural networks form abstractions or rather there's automated ways to form abstractions.

17:27- Absolutely. - And there's

17:27expert driven ways to form abstractions and expert human driven ways. And humans just seems to be

17:34way better at forming abstractions currently and certain problems. So when you're referring to

17:392.45 p.m. versus afternoon, how do we construct that taxonomy? Is there any room for automated

17:48construction of such abstractions? - Oh, I think eventually, yeah. I mean,

17:53I think when we get to be better machine learning engineers, we'll build algorithms that

18:00build awesome abstractions. - That are useful in this kind

18:03of way that you're describing. - Yeah.

18:04- Yeah. So let's then step from the abstraction discussion and let's talk about BOM MDPs,

18:15partially observable Markov decision processes. So uncertainty. So first,

18:20what are Markov decision processes? - What are Markov decision processes?

18:23- And maybe how much of our world can be models and MDPs? How much, when you wake up in the

18:30morning and you're making breakfast, do you think of yourself as an MDP? So how do you think about

18:35MDPs and how they relate to our world? - Well, so there's a stance question, right?

18:41So a stance is a position that I take with respect to a problem. So I, as a researcher or a person

18:48who designs systems, can decide to make a model of the world around me in some terms. So I take

18:56this messy world and I say, I'm going to treat it as if it were a problem of this formal kind,

19:02and then I can apply solution concepts or algorithms or whatever to solve that formal

19:06thing, right? So of course the world is not anything. It's not an MDP or a POMDP. I don't

§02Transcript · 19:11–38:40

19:11know what it is, but I can model aspects of it in some way or some other way. And when I model some

19:16aspect of it in a certain way, that gives me some set of algorithms I can use. - You can model the

19:21world in all kinds of ways. Some are more accepting of uncertainty, more easily modeling uncertainty

19:31of the world. Some really force the world to be deterministic. And so certainly MDPs model the

19:39uncertainty of the world. - Yes. Model some uncertainty. They model not present state

19:44uncertainty, but they model uncertainty in the way the future will unfold. - Right. So what are

19:52Markov decision processes? - Okay, so Markov decision process is a model. It's a kind of a

19:56model that you could make that says, I know completely the current state of my system.

20:00And what it means to be a state is that I have all the information right now that will let me make

20:08predictions about the future as well as I can. So that remembering anything about my history

20:13wouldn't make my predictions any better. But then it also says that then I can take some actions

20:21that might change the state of the world and that I don't have a deterministic model of those

20:26changes. I have a probabilistic model of how the world might change. It's a useful model for some

20:33kinds of systems. I think it's a, I mean, it's certainly not a good model for most problems.

20:41I think because for most problems, you don't actually know the state. For most problems,

20:46it's partially observed. So that's now a different problem class. - So, okay, that's where the

20:53POMDPs, the partially observable Markov decision processes step in. So how do they address the

21:00fact that you can't observe most, you have incomplete information about most of the world

21:05around you? - Right. So now the idea is we still kind of postulate that there exists a state. We

21:10think that there is some information about the world out there such that if we knew that we

21:15could make good predictions, but we don't know the state. And so then we have to think about how,

21:21but we do get observations. Maybe I get images or I hear things or I feel things, and those might be

21:27local or noisy. And so therefore they don't tell me everything about what's going on. And then I

21:31have to reason about, given the history of actions I've taken and observations I've gotten,

21:37what do I think is going on in the world? And then given my own kind of uncertainty about what's

21:42going on in the world, I can decide what actions to take. - And so difficult is this problem of

21:48planning under uncertainty in your view, in your long experience of modeling the world,

21:54trying to deal with this uncertainty in, especially in real world systems. - Optimal planning for even

22:02discrete POMDPs can be undecidable depending on how you set it up. And so lots of people say,

22:10I don't use POMDPs because they are intractable. And I think that that's a kind of a very funny

22:16thing to say, because the problem you have to solve is the problem you have to solve.

22:22So if the problem you have to solve is intractable, that's what makes us AI people,

22:25right? So we solve, we understand that the problem we're solving is wildly intractable,

22:31that we can't, we will never be able to solve it optimally. At least I don't. Yeah, right. So

22:37later we can come back to an idea about bounded optimality and something. But anyway,

22:42we can't come up with optimal solutions to these problems. So we have to make approximations,

22:47approximations in modeling, approximations in solution algorithms and so on. And so

22:52I don't have a problem with saying, yeah, my problem actually, it is POMDP in continuous

22:58space with continuous observations and it's so computationally complex, I can't even think about

23:04it's, you know, big O, whatever. But that doesn't prevent me from, it helps me,

23:10gives me some clarity to think about it that way. And to then take steps to make approximation after

23:17approximation to get down to something that's like computable in some reasonable time.

23:22When you think about optimality, you know, the community broadly has shifted on that,

23:27I think a little bit in how much they value the idea of optimality, of chasing an optimal solution.

23:35How has your views of chasing an optimal solution changed over the years when you work with robots?

23:42That's interesting. I think we have a little bit of a methodological crisis, actually,

23:49from the theoretical side. I mean, I do think that theory is important and that right now we're not

23:54doing much of it. So there's lots of empirical hacking around and training this and doing that

24:00and reporting numbers, but is it good? Is it bad? We don't know. It's very hard to say things.

24:05And if you look at like computer science theory, so people talked for a while, everyone was about

24:16solving problems optimally or completely. And then there were interesting relaxations, right? So

24:22people look at, oh, can I, are there regret bounds or can I do some kind of, you know,

24:29approximation? Can I prove something that I can approximately solve this problem or that I get

24:33closer to the solution as I spend more time and so on? What's interesting, I think, is that we don't

24:39have good approximate solution concepts for very difficult problems, right? I like to, you know,

24:49I like to say that I'm interested in doing a very bad job of very big problems.

24:53- That's a good quote.

24:56- Right. So very bad job of very big problems. I like to do that. But I wish I could say

25:02something. I wish I had a, I don't know, some kind of a formal solution concept that I could use to

25:12say, oh, this algorithm actually, it gives me something. Like I know what I'm going to get.

25:17I can do something other than just run it and get out 6.7.

25:20- That notion is still somewhere deeply compelling to you. The notion that you can say,

25:26you can drop thing on the table says this, you can expect this algorithm will give me some good

25:33results.

25:33- I hope there's, I hope science will, I mean, there's engineering and there's science. I think

25:39that they're not exactly the same. And I think right now we're making huge engineering, like,

25:45leaps and bounds. So the engineering is running away ahead of the science, which is cool and

25:50often how it goes, right? So we're making things and nobody knows how and why they work, roughly.

25:55But we need to turn that into science.

26:00- There's some form, it's, yeah, there's some room for formalizing.

26:04- We need to know what the principles are. Why does this work? Why does that not work? I mean,

26:08for a while people built bridges by trying, but now we can often predict whether it's going to

26:13work or not without building it. Can we do that for learning systems or for robots?

26:18- So your hope is from a materialistic perspective that

26:21intelligence, artificial intelligence systems, robots, are just fancier bridges.

26:28Belief space. What's the difference between belief space and state space? So you mentioned MDPs,

26:34POMDPs, reasoning about, you sense the world, there's a state. What's this belief space idea?

26:42- Yeah, that sounds so good.

26:44- That sounds good. So belief space, that is, instead of thinking about what's the state of

26:50the world and trying to control that as a robot, I think about what is the space of beliefs that I

26:58could have about the world? What's, if I think of a belief as a probability distribution of ways the

27:03world could be, a belief state as a distribution, and then my control problem, if I'm reasoning

27:10about how to move through a world I'm uncertain about, my control problem is actually the problem

27:16of controlling my beliefs. So I think about taking actions, not just what effect they'll

27:21have on the world outside, but what effect they'll have on my own understanding of the world outside.

27:25And so that might compel me to ask a question or look somewhere to gather information,

27:31which may not really change the world state, but it changes my own belief about the world.

27:36- That's a powerful way to empower the agent to reason about the world, to explore the world.

27:44What kind of problems does it allow you to solve to consider belief space versus just state space?

27:51- Well, any problem that requires deliberate information gathering, right? So if,

27:56in some problems, like chess, there's no uncertainty, or maybe there's uncertainty

28:03about the opponent, there's no uncertainty about the state. And some problems there's

28:09uncertainty, but you gather information as you go, right? You might say, "Oh, I'm driving my

28:15autonomous car down the road, and it doesn't know perfectly where it is, but the light hours are all

28:19going all the time, so I don't have to think about whether to gather information." But if you're a

28:24human driving down the road, you sometimes look over your shoulder to see what's going on behind

28:29you in the lane, and you have to decide whether you should do that now. And you have to trade off

28:37the fact that you're not seeing in front of you, and you're looking behind you, and how valuable

28:41is that information, and so on. And so to make choices about information gathering,

28:46you have to reason in belief space. Also, I mean, also to just take into account your own

28:55uncertainty before trying to do things. So you might say, "If I understand where I'm standing

29:02relative to the door jam pretty accurately, then it's okay for me to go through the door. But if

29:08I'm really not sure where the door is, then it might be better to not do that right now."

29:12The degree of your uncertainty about the world is actually part of the thing you're trying to

29:17optimize in forming the plan, right? That's right.

29:20So this idea of a long horizon of planning for a PhD, or just even how to get out of the house,

29:27or how to make breakfast. You show this presentation of the WTF, where's the fork,

29:32of robot looking at a sink. And can you describe how we plan in this world,

29:40of this idea of hierarchical planning we've mentioned? So yeah, how can a robot hope to

29:47plan about something with such a long horizon, where the goal is quite far away?

29:53People, since probably reasoning began, have thought about hierarchical reasoning.

29:59The temporal hierarchy in particular. Well, there's spatial hierarchy, but let's talk

30:03about temporal hierarchy. So you might say, "Oh, I have this long execution I have to do,

30:08but I can divide it into some segments abstractly." So maybe you have to get out of the house,

30:15I have to get in the car, I have to drive, and so on. And so you can plan. If you can build

30:22abstractions, so this, we started out by talking about abstractions, and we're back to that now.

30:26If you can build abstractions in your state space, and abstractions, sort of temporal abstractions,

30:34then you can make plans at a high level. And you can say, "I'm going to go to town, and then I'll

30:40have to get gas, and then I can go here, and I can do this other thing." And you can reason about

30:43the dependencies and constraints among these actions, again, without thinking about the complete

30:50details. What we do in our hierarchical planning work is then say, "All right, I make a plan at a

30:57high level of abstraction. I have to have some reason to think that it's feasible without

31:03working it out in complete detail." And that's actually the interesting step. I always like to

31:08talk about walking through an airport. Like, you can plan to go to New York and arrive at the

31:14airport, and then find yourself an office building later. You can't even tell me in advance what your

31:20plan is for walking through the airport. Partly because you're too lazy to think about it, maybe,

31:24but partly also because you just don't have the information. You don't know what gate you're

31:28landing in, or what people are going to be in front of you, or anything. So there's no point

31:34in planning in detail. But you have to have -- you have to make a leap of faith that you can figure

31:41it out once you get there. And it's really interesting to me how you arrive at that.

31:47How do you -- so you have learned over your lifetime to be able to make some kinds of

31:53predictions about how hard it is to achieve some kinds of sub-goals. And that's critical. Like,

31:58you would never plan to fly somewhere if you couldn't -- didn't have a model of how hard it

32:03was to do some of the intermediate steps. So one of the things we're thinking about now is,

32:06how do you do this kind of very aggressive generalization to situations that you haven't

32:14been in and so on, to predict how long will it take to walk through the Kuala Lumpur airport?

32:18Like, you could give me an estimate and it wouldn't be crazy. And you have to have an estimate of that

32:24in order to make plans that involve walking through the Kuala Lumpur airport, even if you

32:28don't need to know it in detail. So I'm really interested in these kinds of abstract models and

32:34how do we acquire them. But once we have them, we can use them to do hierarchical reasoning,

32:38which I think is very important. Yeah, there's this notion of goal regression and

32:44pre-image backchaining, this idea of starting at the goal and just forming these big clouds

32:50of states. I mean, it's almost like saying to the airport, you know, you know, once you show up

32:59to the airport, that you're like a few steps away from the goal. So like, thinking of it this way,

33:07it's kind of interesting. I don't know if you have sort of further comments on that,

33:12of starting at the goal. Yeah, I mean, it's interesting that Simon, Herb Simon, back in the

33:20early days of AI, talked a lot about means-ends reasoning and reasoning back from the goal.

33:25There's a kind of an intuition that people have that the number of, that state space is big,

33:32the number of actions you could take is really big. So if you say, here I sit and I want to

33:37search forward from where I am, what are all the things I could do? That's just overwhelming.

33:41If you say, if you can reason at this other level and say, here's what I'm hoping to achieve,

33:46what could I do to make that true? That somehow the branching is smaller. Now,

33:51what's interesting is that like in the AI planning community, that hasn't worked out. In the class of

33:56problems that they look at and the methods that they tend to use, it hasn't turned out that it's

34:00better to go backward. It's still kind of my intuition that it is, but I can't prove that

34:07to you right now. Right. I share your intuition, at least for us mere humans. Speaking of which,

34:15when you maybe now we take it and take a little step into that philosophy circle,

34:21how hard would it, when you think about human life, you give those examples often,

34:27how hard do you think it is to formulate human life as a planning problem or aspects of

34:32human life? So when you look at robots, you're often trying to think about object manipulation,

34:38tasks, about moving a thing. When you take a slight step outside the room, let the robot

34:46leave and go get lunch, or maybe try to pursue more fuzzy goals. How hard do you think is that

34:54problem? If you were to try to maybe put another way, try to formulate human life as a planning

35:00problem. Well, that would be a mistake. I mean, it's not all a planning problem, right? I think

35:05it's really, really important that we understand that you have to put together pieces and parts

35:11that have different styles of reasoning and representation and learning. I think it seems

35:18probably clear to anybody that it can't all be this or all be that. Brains aren't all like this

35:25or all like that, right? They have different pieces and parts and substructure and so on.

35:30So I don't think that there's any good reason to think that there's going to be like one

35:33true algorithmic thing that's going to do the whole job.

35:38Just a bunch of pieces together designed to solve a bunch of specific problems.

35:43Or maybe styles of problems. I mean, there's probably some reasoning that needs to go on

35:50in image space. I think, again, there's this model-based versus model-free idea, right? So

35:58in reinforcement learning, people talk about, "Oh, should I learn? I could learn a policy,

36:03just straight up a way of behaving. I could learn it's popular, learn a value function,

36:09that's some kind of weird intermediate ground. Or I could learn a transition model, which tells me

36:15something about the dynamics of the world." If I take a tra- imagine that I learn a transition

36:20model and I couple it with a planner and I draw a box around that, I have a policy again. It's just

36:26stored a different way. But it's just as much of a policy as the other policy. It's just I've made,

36:34I think, the way I see it is it's a time-space trade-off in computation. Right? A more overt

36:41policy representation. Maybe it takes more space, but maybe I can compute quickly what action I

36:47should take. On the other hand, maybe a very compact model of the world dynamics plus a

36:52planner lets me compute what action to take too, just more slowly. There's no, I don't, I mean,

36:57I don't think there's no argument to be had. It's just like a question of what form of computation

37:03is best for us. - For the various sub-problems. - Right. So, and so like learning to do algebra

37:11manipulations for some reason is, I mean, that's probably gonna want naturally a sort of a

37:17different representation than writing a unicycle. At the time constraints on the unicycle are

37:22serious. The space is maybe smaller. I don't know. But so I. - And there could be the more human

37:28sides of falling in love, having a relationship that might be another. - Yeah, I have no idea.

37:35- How to model that. Yeah. Let's first solve the algebra and the object manipulation.

37:42What do you think is harder, perception or planning? - Perception. That's why. - Understanding.

37:49That's why. So what do you think is so hard about perception,

37:53about understanding the world around you? - Well, I mean, I think the big question

37:57is representational. Hugely the question is representation. So perception has made

38:08great strides lately, right? And we can classify images and we can

38:12play certain kinds of games and predict how to steer the car and all this sort of stuff.

38:17I don't think we have a very good idea of what perception should deliver, right? So if you,

38:28if you believe in modularity, okay, there's a very strong view which says

38:34we shouldn't build in any modularity. We should make a giant, gigantic neural network,

38:40train it end to end to do the thing. And that's the best way forward. And it's hard to argue

§03Transcript · 38:47–58:51

38:47with that except on a sample complexity basis, right? So you might say, oh, well, if I want to

38:52do end to end reinforcement learning on this giant, giant neural network, it's going to take

38:56a lot of data and a lot of like broken robots and stuff. So then the only answer is to say, okay,

39:07we have to build something in, build in some structure or some bias. We know from theory of

39:12machine learning, the only way to cut down the sample complexity is to kind of cut down,

39:16somehow cut down the hypothesis space. You can do that by building in bias. There's all kinds

39:22of reasons to think that nature built bias into humans. Convolution is a bias. It's a very strong

39:31bias and it's a very critical bias. So my own view is that we should look for more things that are

39:38like convolution, but that address other aspects of reasoning, right? So convolution helps us a

39:43lot with a certain kind of spatial reasoning. That's quite close to the imaging. I think

39:50there's other ideas like that. Maybe some amount of forward search, maybe some notions of abstraction,

39:58maybe the notion that objects exist. Actually, I think that's pretty important. And a lot of people

40:03won't give you that to start with. Right? - So almost like a convolution in the,

40:07in the object, semantic object space or some kind of, some kind of ideas in there.

40:14- That's right. And people are starting, like the graph, graph convolutions are an idea that

40:18are related to relational representations. And so, so I think there are, so you, I've come far

40:26afield from perception, but I think, I think the thing that's going to make perception that kind

40:32of the next step is actually understanding better what it should produce. Right? So what are we

40:37going to do with the output of it? Right? It's fine when what we're going to do with the output

40:41is severe. It's less clear when we're just trying to make a one integrated, intelligent agent. What

40:49should the output of perception be? We have no idea. And how should that hook up to the other

40:53stuff? We don't know. So I think the pressing question is what kinds of structure can we build

41:00in that are like the moral equivalent of convolution that will make a really awesome

41:05superstructure that then learning can kind of progress on efficiently.

41:10- I agree. Very compelling description of actually where we stand with the perception problem.

41:14You're teaching a course on embodying intelligence. What do you think it takes to

41:19build a robot with human level intelligence? - I don't know if we knew we would do it.

41:24- If you were to, I mean, okay. So do you think a robot needs to have a self-awareness,

41:35a consciousness, fear of mortality, or is it simpler than that? Or is consciousness a simple

41:44thing? Do you think about these notions? - I don't think much about consciousness.

41:49Even most philosophers who care about it will give you that you could have robots that are zombies,

41:55right? That behave like humans, but are not conscious. And I, at this moment,

41:59would be happy enough with that. So I'm not really worried one way or the other.

42:02- So on the technical side, you're not thinking of the use of self-awareness?

42:06- Well, but I, okay. But then what does self-awareness mean? I mean,

42:11that you need to have some part of the system that can observe other parts of the system and

42:18tell whether they're working well or not. That seems critical. So does that count as, I mean,

42:23does that count as self-awareness or not? Well, it depends on whether you think that there's

42:29somebody at home who can articulate whether they're self-aware. But clearly, if I have

42:33some piece of code that's counting how many times this procedure gets executed,

42:38that's a kind of self-awareness, right? So there's a big spectrum. It's clear you have to have some

42:44of it. - Right. We're quite far away,

42:46how many dimensions, but is there a direction of research that's most compelling to you for

42:51trying to achieve human-level intelligence in our robots?

42:55- Well, to me, I guess the thing that seems most compelling to me at the moment is this

43:00question of what to build in and what to learn. I think we're missing a bunch of ideas and

43:11we, you know, people, you know, don't you dare ask me how many years it's going to be until that

43:17happens because I won't even participate in the conversation because I think we're missing ideas

43:23and I don't know how long it's going to take to find them. - So I won't ask you how many years,

43:27but maybe I'll ask you when you'll be sufficiently impressed that we've achieved it. So what's a good

43:36test of intelligence? Do you like the Turing test, the natural language, and the robotic space? Is

43:42there something where you would sit back and think, "Oh, that's pretty impressive as a test,

43:49as a benchmark." Do you think about these kinds of problems? - No, I resist. I mean, I think all

43:55the time that we spend arguing about those kinds of things could be better spent just making the

43:59robots work better. - You don't value competition. So, I mean, there's a nature of benchmarks and

44:08data sets or Turing test challenges where everybody kind of gets together and tries to build a better

44:13robot because they want to out-compete each other. Like the DARPA challenge with the autonomous

44:18vehicles. Do you see the value of that or it can get in the way? - I think it can get in the way.

44:25Many people find it motivating and so that's good. I find it anti-motivating personally.

44:31But I think you get an interesting cycle where for a contest, a bunch of smart people get super

44:40motivated and they hack their brains out. And much of what gets done is just hacks, but sometimes

44:45really cool ideas emerge. And then that gives us something to chew on after that. So, it's not a

44:52thing for me, but I don't regret that other people do it. - Yeah, it's like you said, with everything

44:58else, the mix is good. So, jumping topics a little bit, you started the Journal of Machine Learning

45:03Research and served as its editor-in-chief. How did the publication come about? And what do you

45:12think about the current publishing model space in machine learning, artificial intelligence? -

45:18Okay, good. So, it came about because there was a journal called Machine Learning, which still

45:23exists, which was owned by Cluer. And I was on the editorial board and we used to have these

45:30meetings annually where we would complain to Cluer that it was too expensive for the libraries and

45:35that people couldn't publish. And we would really like to have some kind of relief on those fronts

45:39and they would always sympathize, but not do anything. So, we just decided to make a new

45:46journal. And there was the Journal of AI Research, which was on the same model, which had been in

45:53existence for maybe five years or so, and it was going on pretty well. So, we just made a new

46:00journal. I mean, I don't know, I guess it was work, but it wasn't that hard. So, basically,

46:06the editorial board, probably 75% of the editorial board of machine learning resigned and

46:14we founded this new journal. - But it was sort of, it was more open. - Yeah, right. So, it's

46:22completely open. It's open access. Actually, I had a postdoc, George Kanidaris, who wanted to

46:29call these journals free for all. Because there were, I mean, it both has no page charges and has

46:37no access restrictions. And the reason, and so lots of people, I mean, there were people who

46:46were mad about the existence of this journal who thought it was a fraud or something. It would be

46:51impossible, they said, to run a journal like this with basically, I mean, for a long time, I didn't

46:56even have a bank account. I paid for the lawyer to incorporate and the IP address, and it just did

47:05to cost a couple hundred dollars a year to run. It's a little bit more now, but not that much

47:09more. But that's because I think computer scientists are competent and autonomous in a way

47:17that many scientists in other fields aren't. I mean, at doing these kinds of things. We already

47:22types out our own papers. We all have students and people who can hack a website together in

47:27the afternoon. So, the infrastructure for us was like, not a problem. But for other people in other

47:32fields, it's a harder thing to do. - Yeah, and this kind of open access journal is nevertheless

47:38one of the most prestigious journals. So, it's not like a prestige and it can be achieved without

47:46any of the- - Paper is not required for prestige,

47:49it turns out. - So, on the review process side,

47:52actually a long time ago, I don't remember when, but I reviewed a paper where you were also a

47:58reviewer and I remember reading your review being influenced by it. It was really well written. It

48:03influenced how I write feature reviews. You disagreed with me actually. And you made it

48:09my review, but much better. But nevertheless, the review process has its flaws.

48:19And how do you think, what do you think works well? How can it be improved?

48:23- So, actually when I started JamLR, I wanted to do something completely different.

48:27And I didn't because it felt like we needed a traditional journal of record. And so, we just

48:34made JamLR be almost like a normal journal, except for the open access parts of it, basically.

48:40Increasingly, of course, publication is not even a sensible word. You can publish something by

48:47putting it in archive so I can publish everything tomorrow. So, making stuff public is, there's no

48:55barrier. We still need curation and evaluation. I don't have time to read all of archive.

49:06And you could argue that kind of social thumbs upping of articles suffices, right? You might say,

49:21"Oh, heck with this. We don't need journals at all. We'll put everything on archive and people

49:25will upvote and downvote the articles and then your CV will say, "Oh man, he got a lot of upvotes."

49:30So, that's good. But I think there's still value in careful reading and commentary of things. And

49:45it's hard to tell when people are upvoting and downvoting or arguing about your paper on Twitter

49:49and Reddit, whether they know what they're talking about, right? So, then I have the

49:55second order problem of trying to decide whose opinions I should value and such. So, I don't know.

50:01If I had infinite time, which I don't, and I'm not going to do this because I really want to make

50:06robots work, but if I felt inclined to do something more in the publication direction,

50:11I would do this other thing, which I thought about doing the first time, which is to get together

50:16some set of people whose opinions I value and who are pretty articulate. And I guess we would be

50:22public, although we could be private, I'm not sure. And we would review papers. We wouldn't

50:27publish them and you wouldn't submit them. We would just find papers and we would write

50:31reviews and we would make those reviews public. And maybe if you, you know, so we're Leslie's

50:38friends who review papers and maybe eventually if we, our opinion was sufficiently valued,

50:44like the opinion of JMR is valued, then you'd say on your CV that Leslie's friends gave my paper a

50:49five-star reading and that would be just as good as saying I got it accepted into this journal.

50:55So, I think we should have good public commentary and organize it in some way,

51:03but I don't really know how to do it. It's interesting times.

51:06- The way you describe it actually is really interesting. I mean, we do it for movies,

51:10imdb.com. There's experts, critics come in, they write reviews, but there's also

51:16regular non-critics. Humans write reviews and they're separated.

51:19- I like open review. The iClear process I think is interesting.

51:29- It's a step in the right direction, but it's still not as compelling as

51:32reviewing movies or video games. I mean, it sometimes almost, it might be silly,

51:40at least from my perspective to say, but it boils down to the user interface,

51:43how fun and easy it is to actually perform the reviews, how efficient, how much you as a reviewer

51:50get street cred for being a good reviewer. Those human elements come into play.

51:56- No, it's a big investment to do a good review of a paper and the flood of papers is out of control.

52:04Right, so, you know, there aren't 3,000 new, I don't know how many new movies are there in a year.

52:08I don't know, but there's probably gonna be less than how many machine learning papers

52:11are in a year now. And I'm worried, you know, I, right, so I'm like an old person, so of course,

52:21I'm gonna say, "Rawr, rawr, rawr, things are moving too fast. I'm a stick in the mud."

52:26So I can say that, but my particular flavor of that is, I think the horizon for researchers

52:34has gotten very short. That students want to publish a lot of papers and there's a huge,

52:41there's value, it's exciting and there's value in that and you get patted on the head for it

52:46and so on. But, and some of that is fine, but I'm worried that we're driving out people who

52:57would spend two years thinking about something. Back in my day, when we worked on our theses,

53:05we did not publish papers. You did your thesis for years. You picked a hard problem and then

53:10you worked and chewed on it and did stuff and wasted time and for a long time. And when it was,

53:16roughly when it was done, you would write papers. And so I don't know how to, and I don't think

53:22that everybody has to work in that mode, but I think there's some problems that are hard enough

53:26that it's important to have a longer research horizon and I'm worried that

53:31we don't incentivize that at all at this point. - In this current structure.

53:36- Right. - Yeah. So what do you see

53:40as, what are your hopes and fears about the future of AI and continuing on this theme? So AI has gone

53:47through a few winters, ups and downs. Do you see another winter of AI coming? Are you more hopeful

53:55about making robots work, as you said? - I think the cycles are inevitable,

54:02but I think each time we get higher, right? I mean, so, you know, it's like climbing some kind

54:09of landscape with a noisy optimizer. So it's clear that the, you know, the deep learning stuff has

54:19made deep and important improvements. And so the high watermark is now higher. There's no question,

54:26but of course, I think people are overselling and eventually investors, I guess, and other people

54:35look around and say, well, you're not quite delivering on this grand claim and that wild

54:41hypothesis. It's like, probably it's going to crash some amount and then it's okay. I mean,

54:48but I don't, I can't imagine that there's like some awesome monotonic improvement from here to

54:55human level AI. - So in, you know, I have to ask this question. I probably anticipate answers,

55:02the answers, but do you have a worry, short term or long term about the existential threats of AI

55:10and maybe short term, less existential, but more robots taking away jobs?

55:18- Well, actually, let me talk a little bit about utility. Actually, I had an interesting

55:27conversation with some military ethicists who wanted to talk to me about autonomous weapons.

55:32And they were interesting, smart, well-educated guys who didn't know too much about AI or machine

55:40learning. And the first question they asked me was, has your robot ever done something you didn't

55:45expect? And I like burst out laughing because anybody who's ever done something on the robot,

55:50right, knows that they don't do much. And what I realized was that their model of how we program a

55:56robot was completely wrong. Their model of how we can program a robot was like Lego Mindstorms,

56:02like, oh, go forward a meter, turn left, take a picture, do this, do that. And so if you have

56:07that model of programming, then it's true. It's kind of weird that your robot would do something

56:12that you didn't anticipate. But the fact is, and actually, so now this is my new educational

56:17mission. If I have to talk to non-experts, I try to teach them the idea that we don't operate,

56:24we operate at least one or maybe many levels of abstraction about that. And we say, oh,

56:29here's a hypothesis class. Maybe it's a space of plans, or maybe it's a space of classifiers or

56:35whatever, but there's some set of answers and an objective function. And then we work on some

56:40optimization method that tries to optimize a solution in that class. And we don't know what

56:46solution is going to come out. So I think it's important to communicate that. So I mean, of

56:52course, probably people who listen to this, they know that lesson. But I think it's really critical

56:56to communicate that lesson. And then lots of people are now talking about the value alignment

57:01problem. So you want to be sure as robots or software systems get more competent, that their

57:09objectives are aligned with your objectives, or that our objectives are compatible in some way,

57:14or we have a good way of mediating when they have different objectives. And so I think it is

57:20important to start thinking in terms, like, you don't have to be freaked out by the robot apocalypse

57:26to accept that it's important to think about objective functions of value alignment.

57:30>> Yes. >> And that you have to really,

57:32everyone who's done optimization knows that you have to be careful what you wish for, that,

57:37you know, sometimes you get the optimal solution, and you realize, man, that objective was wrong.

57:41So pragmatically, in the shortish term, it seems to me that those are really interesting and

57:50critical questions. And the idea that we're going to go from being people who engineer algorithms

57:55to being people who engineer objective functions, I think that's definitely going to happen. And

58:00that's going to change our thinking and methodology. >> You started at Stanford

58:05philosophy, that's where you should go back to philosophy. >> Philosophy, maybe.

58:09>> Designing objective functions. >> Well, I mean, they're mixed together,

58:12because as we also know, as machine learning people, right, when you design, in fact, this is

58:18the lecture I gave in class today, when you design an objective function, you have to wear both hats.

58:23There's the hat that says, what do I want? And there's the hat that says, but I know what my

58:28optimizer can do to some degree. And I have to take that into account. So it's always a tradeoff,

58:34and we have to kind of be mindful of that. The part about taking people's jobs, I understand

58:41that that's important. I don't understand sociology or economics or people very well.

58:47So I don't know how to think about that. >> So that's, yeah, so there might be a

58:51sociological aspect there, the economic aspect that's very difficult to think about. Okay.

§04Transcript · 58:56–1:01:04

58:56>> I mean, I think other people should be thinking about it, but I'm just, that's not my strength.

58:59>> So what do you think is the most exciting area of research in the short term,

59:04for the community and for yourself? >> Well, so, I mean, there's this story

59:08I've been telling about how to engineer intelligent robots, right? So that's what we want to do. We

59:15all kind of want to do, well, I mean, some set of us want to do this. And the question is, what's

59:20the most effective strategy? And we've tried, and there's a bunch of different things you could do

59:24at the extremes, right? One super extreme is we do introspection and we write a program. Okay,

59:30that has not worked out very well. Another extreme is we take a giant bunch of neural

59:35goo and we try to train it up to do something. I don't think that's going to work either.

59:39So the question is, what's the middle ground? And again, this isn't a theological question

59:48or anything like that. It's just like, how do we, what's the best way to make this work out?

59:54And I think it's clear, it's a combination of learning. To me, it's clear. It's a combination

60:00of learning and not learning. And what should that combination be? And what's the stuff we

60:05build in? So to me, that's the most compelling question. >> And when you say engineer robots,

60:09you mean engineering systems that work in the real world? Is that, that's the emphasis?

60:17Last question. Which robots or robot is your favorite from science fiction?

60:23So you can go with Star Wars or RTD2, or you can go with more modern, maybe Hal from-

60:33>> No, I don't think I have a favorite robot from science fiction.

60:37>> This is back to, you like to make robots work in the real world here, not in-

60:45>> I mean, I love the process. And I care more about the process.

60:49>> The engineering process. >> Yeah. I mean, I do research because it's fun,

60:53not because I care about what we produce. >> Well, that's a beautiful note, actually,

60:59to end on. Leslie, thank you so much for talking today.

61:01>> Sure, it's been fun.

61:04[NO SPEECH]

— 读到这里,多懂一点。 —