← Lex Fridman

Anca Dragan: Human-Robot Interaction and Reward Engineering

Episode 812020-03-19English

Guests: Anca Dragan

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

In-depth read pending

Downloads are not available yet.

§01Transcript · 00:00–09:09

00:00The following is a conversation with Anca Drogon,

00:03a professor at Berkeley working on human robot interaction,

00:08algorithms that look beyond the robot's function

00:10in isolation and generate robot behavior

00:13that accounts for interaction

00:15and coordination with human beings.

00:18She also consults at Waymo, the autonomous vehicle company,

00:22but in this conversation,

00:23she is 100% wearing her Berkeley hat.

00:27She is one of the most brilliant and fun roboticists

00:30in the world to talk with.

00:32I had a tough and crazy day leading up to this conversation,

00:36so I was a bit tired, even more so than usual,

00:41but almost immediately as she walked in,

00:44her energy, passion, and excitement

00:46for human robot interaction was contagious.

00:48So I had a lot of fun and really enjoyed this conversation.

00:52This is the Artificial Intelligence Podcast.

00:55If you enjoy it, subscribe on YouTube,

00:57review it with five stars on Apple Podcast,

01:00support it on Patreon,

01:01or simply connect with me on Twitter at Lex Friedman,

01:05spelled F R I D M A N.

01:08As usual, I'll do one or two minutes of ads now

01:11and never any ads in the middle

01:12that can break the flow of the conversation.

01:14I hope that works for you

01:16and doesn't hurt the listening experience.

01:20This show is presented by Cash App,

01:22the number one finance app in the App Store.

01:25When you get it, use code LEXPODCAST.

01:29Cash App lets you send money to friends,

01:31buy Bitcoin, and invest in the stock market

01:33with as little as one dollar.

01:36Since Cash App does fractional share trading,

01:39let me mention that the order execution algorithm

01:41that works behind the scenes

01:43to create the abstraction of fractional orders

01:45is an algorithmic marvel.

01:48So big props to the Cash App engineers

01:50for solving a hard problem that in the end

01:53provides an easy interface that takes a step up

01:56to the next layer of abstraction over the stock market,

01:59making trading more accessible for new investors

02:02and diversification much easier.

02:05So again, if you get Cash App from the App Store

02:08or Google Play and use the code LEXPODCAST,

02:11you get $10 and Cash App will also donate $10 to FIRST,

02:15an organization that is helping to advance robotics

02:18and STEM education for young people around the world.

02:22And now, here's my conversation with Anca Drogon.

02:26When did you first fall in love with robotics?

02:29I think it was a very gradual process

02:34and it was somewhat accidental actually

02:37because I first started getting into programming

02:41when I was a kid and then into math

02:43and then I decided computer science

02:46was the thing I was gonna do

02:47and then in college I got into AI

02:50and then I applied to the Robotics Institute

02:52at Carnegie Mellon and I was coming from this little school

02:56in Germany that nobody had heard of

02:59but I had spent an exchange semester at Carnegie Mellon

03:01so I had letters from Carnegie Mellon.

03:04So that was the only, you know, MIT said no,

03:06Berkeley said no, Stanford said no.

03:09That was the only place I got into

03:11so I went there to the Robotics Institute

03:13and I thought that robotics is a really cool way

03:16to actually apply the stuff that I knew and loved

03:20to like optimization so that's how I got into robotics.

03:23I have a better story how I got into cars

03:25which is I used to do mostly manipulation in my PhD

03:31but now I do kind of a bit of everything application wise

03:34including cars and I got into cars

03:38because I was here in Berkeley

03:42while I was a PhD student still for RSS 2014,

03:46Peter Bill organized it and he arranged for,

03:50it was Google at the time to give us rides

03:52in self driving cars and I was in a robot

03:56and it was just making decision after decision,

04:00the right call and it was so amazing.

04:03So it was a whole different experience, right?

04:05Just I mean manipulation is so hard you can't do anything

04:07and there it was.

04:08Was it the most magical robot you've ever met?

04:11So like for me to meet a Google self driving car

04:14for the first time was like a transformative moment.

04:18Like I had two moments like that,

04:19that and Spot Mini, I don't know if you met Spot Mini

04:22from Boston Dynamics.

04:24I felt like I fell in love or something

04:27like it, cause I know how a Spot Mini works, right?

04:30It's just, I mean there's nothing truly special,

04:34it's great engineering work but the anthropomorphism

04:38that went on into my brain that came to life

04:41like it had a little arm and it looked at me,

04:45he, she looked at me, I don't know,

04:47there's a magical connection there

04:48and it made me realize, wow, robots can be so much more

04:52than things that manipulate objects.

04:54They can be things that have a human connection.

04:56Do you have, was the self driving car the moment like,

05:01was there a robot that truly sort of inspired you?

05:04That was, I remember that experience very viscerally,

05:08riding in that car and being just wowed.

05:11I had the, they gave us a sticker that said,

05:16I rode in a self driving car

05:17and it had this cute little firefly on and,

05:20or logo or something like that.

05:21Oh, that was like the smaller one, like the firefly.

05:23Yeah, the really cute one, yeah.

05:25And I put it on my laptop and I had that for years

05:30until I finally changed my laptop out and you know.

05:33What about if we walk back, you mentioned optimization,

05:36like what beautiful ideas inspired you in math,

05:40computer science early on?

05:42Like why get into this field?

05:44It seems like a cold and boring field of math.

05:47Like what was exciting to you about it?

05:49The thing is I liked math from very early on,

05:52from fifth grade is when I got into the math Olympiad

05:56and all of that.

05:57Oh, you competed too?

05:58Yeah, this, it Romania is like our national sport too,

06:01you gotta understand.

06:02So I got into that fairly early

06:05and it was a little, maybe too just theory

06:10with no kind of, I didn't kind of had a,

06:13didn't really have a goal.

06:15And other than understanding, which was cool,

06:17I always liked learning and understanding,

06:19but there was no, okay,

06:20what am I applying this understanding to?

06:22And so I think that's how I got into,

06:23more heavily into computer science

06:25because it was kind of math meets something

06:29you can do tangibly in the world.

06:31Do you remember like the first program you've written?

06:34Okay, the first program I've written with,

06:37I kind of do, it was in Cubasic in fourth grade.

06:42Wow.

06:43And it was drawing like a circle.

06:46Graphics.

06:47Yeah, that was, I don't know how to do that anymore,

06:51but in fourth grade,

06:52that's the first thing that they taught me.

06:54I was like, you could take a special,

06:56I wouldn't say it was an extracurricular,

06:57it's in the sense an extracurricular,

06:59so you could sign up for dance or music or programming.

07:03And I did the programming thing

07:04and my mom was like, what, why?

07:07Did you compete in programming?

07:08Like these days, Romania probably,

07:12that's like a big thing.

07:12There's a programming competition.

07:15Was that, did that touch you at all?

07:17I did a little bit of the computer science Olympian,

07:21but not as seriously as I did the math Olympian.

07:24So it was programming.

07:25Yeah, it's basically,

07:26here's a hard math problem,

07:27solve it with a computer is kind of the deal.

07:29Yeah, it's more like algorithm.

07:30Exactly, it's always algorithmic.

07:32So again, you kind of mentioned the Google self driving car,

07:36but outside of that,

07:39what's like who or what is your favorite robot,

07:44real or fictional that like captivated

07:46your imagination throughout?

07:48I mean, I guess you kind of alluded

07:49to the Google self drive,

07:51the Firefly was a magical moment,

07:53but is there something else?

07:54It wasn't the Firefly there,

07:56I think there was the Lexus by the way.

07:58This was back then.

07:59But yeah, so good question.

08:02Okay, my favorite fictional robot is WALLI.

08:08And I love how amazingly expressive it is.

08:15I'm personally thinks a little bit

08:16about expressive motion kinds of things you're saying with,

08:18you can do this and it's a head and it's the manipulator

08:20and what does it all mean?

08:22I like to think about that stuff.

08:24I love Pixar, I love animation.

08:26WALLI has two big eyes, I think, or no?

08:28Yeah, it has these cameras and they move.

08:34So yeah, it goes and then it's super cute.

08:38Yeah, the way it moves is just so expressive,

08:41the timing of that motion,

08:43what it's doing with its arms

08:44and what it's doing with these lenses is amazing.

08:48And so I've really liked that from the start.

08:53And then on top of that, sometimes I share this,

08:56it's a personal story I share with people

08:58or when I teach about AI or whatnot.

09:01My husband proposed to me by building a WALLI

09:07and he actuated it.

§02Transcript · 09:09–18:17

09:09So it's seven degrees of freedom, including the lens thing.

09:13And it kind of came in and it had the,

09:17he made it have like the belly box opening thing.

09:21So it just did that.

09:23And then it spewed out this box made out of Legos

09:27that open slowly and then bam, yeah.

09:31Yeah, it was quite, it set a bar.

09:34That could be like the most impressive thing I've ever heard.

09:37Okay.

09:39That was special connection to WALLI, long story short.

09:40I like WALLI because I like animation and I like robots

09:43and I like the fact that this was,

09:46we still have this robot to this day.

09:49How hard is that problem,

09:50do you think of the expressivity of robots?

09:54Like with the Boston Dynamics, I never talked to those folks

09:59about this particular element.

10:00I've talked to them a lot,

10:02but it seems to be like almost an accidental side effect

10:05for them that they weren't,

10:07I don't know if they're faking it.

10:08They weren't trying to, okay.

10:11They do say that the gripper,

10:14it was not intended to be a face.

10:17I don't know if that's a honest statement,

10:20but I think they're legitimate.

10:21Probably yes. And so do we automatically just

10:25anthropomorphize anything we can see about a robot?

10:29So like the question is,

10:30how hard is it to create a WALLI type robot

10:33that connects so deeply with us humans?

10:35What do you think?

10:36It's really hard, right?

10:37So it depends on what setting.

10:39So if you wanna do it in this very particular narrow setting

10:45where it does only one thing and it's expressive,

10:48then you can get an animator, you know,

10:50you can have Pixar on call come in,

10:52design some trajectories.

10:53There was a, Anki had a robot called Cosmo

10:56where they put in some of these animations.

10:58That part is easy, right?

11:00The hard part is doing it not via these

11:04kind of handcrafted behaviors,

11:06but doing it generally autonomously.

11:09Like I want robots, I don't work on,

11:12just to clarify, I don't, I used to work a lot on this.

11:14I don't work on that quite as much these days,

11:17but the notion of having robots that, you know,

11:21when they pick something up and put it in a place,

11:24they can do that with various forms of style,

11:28or you can say, well, this robot is, you know,

11:30succeeding at this task and is confident

11:32versus it's hesitant versus, you know,

11:34maybe it's happy or it's, you know,

11:35disappointed about something, some failure that it had.

11:38I think that when robots move,

11:42they can communicate so much about internal states

11:46or perceived internal states that they have.

11:49And I think that's really useful

11:53and an element that we'll want in the future

11:55because I was reading this article

11:58about how kids are,

12:04kids are being rude to Alexa

12:07because they can be rude to it

12:09and it doesn't really get angry, right?

12:11It doesn't reply in any way, it just says the same thing.

12:15So I think there's, at least for that,

12:17for the correct development of children,

12:20it's important that these things,

12:21you kind of react differently.

12:22I also think, you know, you walk in your home

12:24and you have a personal robot and if you're really pissed,

12:27presumably the robot should kind of behave

12:28slightly differently than when you're super happy

12:31and excited, but it's really hard because it's,

12:36I don't know, you know, the way I would think about it

12:38and the way I thought about it when it came to

12:40expressing goals or intentions for robots,

12:44it's, well, what's really happening is that

12:47instead of doing robotics where you have your state

12:51and you have your action space and you have your space,

12:55the reward function that you're trying to optimize,

12:57now you kind of have to expand the notion of state

13:00to include this human internal state.

13:02What is the person actually perceiving?

13:05What do they think about the robots?

13:08Something or rather,

13:10and then you have to optimize in that system.

13:12And so that means that you have to understand

13:14how your motion, your actions end up sort of influencing

13:17the observer's kind of perception of you.

13:20And it's very hard to write math about that.

13:25Right, so when you start to think about

13:27incorporating the human into the state model,

13:31apologize for the philosophical question,

13:33but how complicated are human beings, do you think?

13:36Like, can they be reduced to a kind of

13:40almost like an object that moves

13:43and maybe has some basic intents?

13:46Or is there something, do we have to model things like mood

13:50and general aggressiveness and time?

13:52I mean, all these kinds of human qualities

13:54or like game theoretic qualities, like what's your sense?

13:58How complicated is...

14:00How hard is the problem of human robot interaction?

14:03Yeah, should we talk about

14:05what the problem of human robot interaction is?

14:07Yeah, what is human robot interaction?

14:10And then talk about how that, yeah.

14:12So, and by the way, I'm gonna talk about

14:15this very particular view of human robot interaction, right?

14:19Which is not so much on the social side

14:21or on the side of how do you have a good conversation

14:24with the robot, what should the robot's appearance be?

14:26It turns out that if you make robots taller versus shorter,

14:29this has an effect on how people act with them.

14:31So I'm not talking about that.

14:34But I'm talking about this very kind of narrow thing,

14:36which is you take, if you wanna take a task

14:39that a robot can do in isolation,

14:42in a lab out there in the world, but in isolation,

14:46and now you're asking what does it mean for the robot

14:49to be able to do this task for,

14:52presumably what its actually end goal is,

14:54which is to help some person.

14:56That ends up changing the problem in two ways.

15:02The first way it changes the problem is that

15:04the robot is no longer the single agent acting.

15:08That you have humans who also take actions

15:10in that same space.

15:12Cars navigating around people, robots around an office,

15:15navigating around the people in that office.

15:18If I send the robot over there in the cafeteria

15:20to get me a coffee, then there's probably other people

15:23reaching for stuff in the same space.

15:25And so now you have your robot and you're in charge

15:28of the actions that the robot is taking.

15:30Then you have these people who are also making decisions

15:33and taking actions in that same space.

15:36And even if, you know, the robot knows what it should do

15:39and all of that, just coexisting with these people, right?

15:42Kind of getting the actions to gel well,

15:45to mesh well together.

15:47That's sort of the kind of problem number one.

15:50And then there's problem number two,

15:51which is, goes back to this notion of if I'm a programmer,

15:58I can specify some objective for the robot

16:00to go off and optimize and specify the task.

16:03But if I put the robot in your home,

16:07presumably you might have your own opinions about,

16:11well, okay, I want my house clean,

16:12but how do I want it cleaned?

16:14And how should robot move, how close to me it should come

16:16and all of that.

16:17And so I think those are the two differences that you have.

16:20You're acting around people and what you should be

16:24optimizing for should satisfy the preferences

16:27of that end user, not of your programmer who programmed you.

16:30Yeah, and the preferences thing is tricky.

16:33So figuring out those preferences,

16:35be able to interactively adjust

16:38to understand what the human is doing.

16:39So really it boils down to understand the humans

16:42in order to interact with them and in order to please them.

16:45Right.

16:47So why is this hard?

16:48Yeah, why is understanding humans hard?

16:51So I think there's two tasks about understanding humans

16:57that in my mind are very, very similar,

16:59but not everyone agrees.

17:00So there's the task of being able to just anticipate

17:04what people will do.

17:05We all know that cars need to do this, right?

17:07We all know that, well, if I navigate around some people,

17:10the robot has to get some notion of,

17:12okay, where is this person gonna be?

17:15So that's kind of the prediction side.

17:17And then there's what you were saying,

17:19satisfying the preferences, right?

17:21So adapting to the person's preferences,

17:22knowing what to optimize for,

17:24which is more this inference side,

17:25this what does this person want?

17:28What is their intent? What are their preferences?

17:31And to me, those kind of go together

17:35because I think that at the very least,

17:39if you can understand, if you can look at human behavior

17:42and understand what it is that they want,

17:45then that's sort of the key enabler

17:47to being able to anticipate what they'll do in the future.

17:50Because I think that we're not arbitrary.

17:53We make these decisions that we make,

17:55we act in the way we do

17:56because we're trying to achieve certain things.

17:59And so I think that's the relationship between them.

18:01Now, how complicated do these models need to be

18:05in order to be able to understand what people want?

18:10So we've gotten a long way in robotics

18:15with something called inverse reinforcement learning,

§03Transcript · 18:17–26:54

18:17which is the notion of if someone acts,

18:19demonstrates how they want the thing done.

18:22What is inverse reinforcement learning?

18:24You just briefly said it.

18:25Right, so it's the problem of take human behavior

18:30and infer reward function from this.

18:33So figure out what it is

18:34that that behavior is optimal with respect to.

18:37And it's a great way to think

18:38about learning human preferences

18:40in the sense of you have a car and the person can drive it

18:45and then you can say, well, okay,

18:46I can actually learn what the person is optimizing for.

18:51I can learn their driving style,

18:53or you can have people demonstrate

18:55how they want the house clean.

18:57And then you can say, okay, this is,

18:59I'm getting the trade offs that they're making.

19:02I'm getting the preferences that they want out of this.

19:06And so we've been successful in robotics somewhat with this.

19:10And it's based on a very simple model of human behavior.

19:15It was remarkably simple,

19:16which is that human behavior is optimal

19:18with respect to whatever it is that people want, right?

19:22So you make that assumption

19:23and now you can kind of inverse through.

19:24That's why it's called inverse,

19:25well, really optimal control,

19:27but also inverse reinforcement learning.

19:30So this is based on utility maximization in economics.

19:36Back in the forties, von Neumann and Morgenstern

19:39were like, okay, people are making choices

19:43by maximizing utility, go.

19:45And then in the late fifties,

19:48we had Luce and Shepherd come in and say,

19:52people are a little bit noisy and approximate in that process.

19:57So they might choose something kind of stochastically

20:01with probability proportional to

20:03how much utility something has.

20:07So there's a bit of noise in there.

20:09This has translated into robotics

20:11and something that we call Boltzmann rationality.

20:14So it's a kind of an evolution

20:15of inverse reinforcement learning

20:16that accounts for human noise.

20:19And we've had some success with that too,

20:21for these tasks where it turns out

20:23people act noisily enough that you can't just do vanilla,

20:28the vanilla version.

20:29You can account for noise

20:31and still infer what they seem to want based on this.

20:36Then now we're hitting tasks where that's not enough.

20:39And because...

20:41What are examples of spatial tasks?

20:43So imagine you're trying to control some robot,

20:45that's fairly complicated.

20:47You're trying to control a robot arm

20:49because maybe you're a patient with a motor impairment

20:52and you have this wheelchair mounted arm

20:53and you're trying to control it around.

20:56Or one task that we've looked at with Sergei is,

21:00and our students did, is a lunar lander.

21:02So I don't know if you know this Atari game,

21:05it's called Lunar Lander.

21:06It's really hard.

21:07People really suck at landing the thing.

21:09Mostly they just crash it left and right.

21:11Okay, so this is the kind of task we imagine

21:14you're trying to provide some assistance

21:16to a person operating such a robot

21:20where you want the kind of the autonomy to kick in,

21:21figure out what it is that you're trying to do

21:23and help you do it.

21:25It's really hard to do that for, say, Lunar Lander

21:30because people are all over the place.

21:32And so they seem much more noisy than really irrational.

21:36That's an example of a task

21:37where these models are kind of failing us.

21:41And it's not surprising because

21:43we're talking about the 40s, utility, late 50s,

21:47sort of noisy.

21:48Then the 70s came and behavioral economics

21:52started being a thing where people were like,

21:54no, no, no, no, no, people are not rational.

21:58People are messy and emotional and irrational

22:03and have all sorts of heuristics

22:05that might be domain specific.

22:06And they're just a mess.

22:08The mess.

22:09So what does my robot do to understand

22:13what you want?

22:14And it's a very, it's very, that's why it's complicated.

22:18It's, you know, for the most part,

22:19we get away with pretty simple models until we don't.

22:23And then the question is, what do you do then?

22:26And I had days when I wanted to, you know,

22:30pack my bags and go home and switch jobs

22:32because it's just, it feels really daunting

22:35to make sense of human behavior enough

22:37that you can reliably understand what people want,

22:40especially as, you know,

22:41robot capabilities will continue to get developed.

22:44You'll get these systems that are more and more capable

22:47of all sorts of things.

22:48And then you really want to make sure

22:49that you're telling them the right thing to do.

22:51What is that thing?

22:52Well, read it in human behavior.

22:56So if I just sat here quietly

22:58and tried to understand something about you

23:00by listening to you talk,

23:02it would be harder than if I got to say something

23:06and ask you and interact and control.

23:08Can you, can the robot help its understanding of the human

23:13by influencing the behavior by actually acting?

23:18Yeah, absolutely.

23:19So one of the things that's been exciting to me lately

23:23is this notion that when you try to,

23:28that when you try to think of the robotics problem as,

23:31okay, I have a robot and it needs to optimize

23:34for whatever it is that a person wants it to optimize

23:37as opposed to maybe what a programmer said.

23:40That problem we think of as a human robot

23:44collaboration problem in which both agents get to act

23:49in which the robot knows less than the human

23:52because the human actually has access to,

23:54you know, at least implicitly to what it is that they want.

23:57They can't write it down, but they can talk about it.

24:00They can give all sorts of signals.

24:02They can demonstrate and,

24:04but the robot doesn't need to sit there

24:06and passively observe human behavior

24:08and try to make sense of it.

24:10The robot can act too.

24:11And so there's these information gathering actions

24:15that the robot can take to sort of solicit responses

24:19that are actually informative.

24:21So for instance, this is not for the purpose

24:22of assisting people, but with kind of back to coordinating

24:25with people in cars and all of that.

24:27One thing that Dorsa did was,

24:31so we were looking at cars being able to navigate

24:34around people and you might not know exactly

24:39the driving style of a particular individual

24:41that's next to you,

24:43but you wanna change lanes in front of them.

24:45Navigating around other humans inside cars.

24:48Yeah, good, good clarification question.

24:50So you have an autonomous car and it's trying to navigate

24:55the road around human driven vehicles.

24:58Similar things ideas apply to pedestrians as well,

25:01but let's just take human driven vehicles.

25:03So now you're trying to change a lane.

25:06Well, you could be trying to infer the driving style

25:10of this person next to you.

25:12You'd like to know if they're in particular,

25:13if they're sort of aggressive or defensive,

25:15if they're gonna let you kind of go in

25:18or if they're gonna not.

25:20And it's very difficult to just,

25:25if you think that if you wanna hedge your bets

25:27and say, ah, maybe they're actually pretty aggressive,

25:30I shouldn't try this.

25:31You kind of end up driving next to them

25:33and driving next to them, right?

25:34And then you don't know

25:36because you're not actually getting the observations

25:39that you're getting away.

25:40Someone drives when they're next to you

25:42and they just need to go straight.

25:44It's kind of the same

25:45regardless if they're aggressive or defensive.

25:47And so you need to enable the robot

25:51to reason about how it might actually be able

25:54to gather information by changing the actions

25:57that it's taking.

25:58And then the robot comes up with these cool things

25:59where it kind of nudges towards you

26:02and then sees if you're gonna slow down or not.

26:05Then if you slow down,

26:06it sort of updates its model of you

26:07and says, oh, okay, you're more on the defensive side.

26:11So now I can actually like.

26:12That's a fascinating dance.

26:14That's so cool that you could use your own actions

26:18to gather information.

26:19That feels like a totally open,

26:22exciting new world of robotics.

26:24I mean, how many people are even thinking

26:26about that kind of thing?

26:28A handful of us, I'd say.

26:30It's rare because it's actually leveraging human.

26:33I mean, most roboticists,

26:34I've talked to a lot of colleagues and so on,

26:38are kind of, being honest, kind of afraid of humans.

26:42Because they're messy and complicated, right?

26:45I understand.

26:47Going back to what we were talking about earlier,

26:49right now we're kind of in this dilemma of, okay,

26:52there are tasks that we can just assume

§04Transcript · 26:54–35:24

26:54people are approximately rational for

26:55and we can figure out what they want.

26:57We can figure out their goals.

26:57We can figure out their driving styles, whatever.

26:59Cool.

27:00There are these tasks that we can't.

27:02So what do we do, right?

27:03Do we pack our bags and go home?

27:06And this one, I've had a little bit of hope recently.

27:12And I'm kind of doubting myself

27:13because what do I know that, you know,

27:1550 years of behavioral economics hasn't figured out.

27:19But maybe it's not really in contradiction

27:21with the way that field is headed.

27:23But basically one thing that we've been thinking about is,

27:27instead of kind of giving up and saying

27:30people are too crazy and irrational

27:32for us to make sense of them,

27:34maybe we can give them a bit the benefit of the doubt.

27:39And maybe we can think of them

27:41as actually being relatively rational,

27:43but just under different assumptions about the world,

27:48about how the world works, about, you know,

27:51they don't have, when we think about rationality,

27:54implicit assumption is, oh, they're rational,

27:56and they're all the same assumptions and constraints

27:58as the robot, right?

27:59What, if this is the state of the world,

28:01that's what they know.

28:02This is the transition function, that's what they know.

28:05This is the horizon, that's what they know.

28:07But maybe the kind of this difference,

28:11the way, the reason they can seem a little messy

28:13and hectic, especially to robots,

28:16is that perhaps they just make different assumptions

28:20or have different beliefs.

28:21Yeah, I mean, that's another fascinating idea

28:24that this, our kind of anecdotal desire

28:29to say that humans are irrational,

28:31perhaps grounded in behavioral economics,

28:33is that we just don't understand the constraints

28:36and the rewards under which they operate.

28:38And so our goal shouldn't be to throw our hands up

28:40and say they're irrational,

28:42it's to say, let's try to understand

28:44what are the constraints.

28:46What it is that they must be assuming

28:48that makes this behavior make sense.

28:51Good life lesson, right?

28:52Good life lesson.

28:53That's true, it's just outside of robotics.

28:55That's just good to, that's communicating with humans.

28:58That's just a good assume

29:00that you just don't, sort of empathy, right?

29:03It's a...

29:04This is maybe there's something you're missing

29:06and it's, you know, it especially happens to robots

29:08cause they're kind of dumb and they don't know things.

29:10And oftentimes people are sort of supra rational

29:12and that they actually know a lot of things

29:14that robots don't.

29:15Sometimes like with the lunar lander,

29:17the robot, you know, knows much more.

29:20So it turns out that if you try to say,

29:23look, maybe people are operating this thing

29:26but assuming a much more simplified physics model

29:31cause they don't get the complexity of this kind of craft

29:33or the robot arm with seven degrees of freedom

29:36with these inertias and whatever.

29:38So maybe they have this intuitive physics model

29:41which is not, you know, this notion of intuitive physics

29:44is something that you studied actually in cognitive science

29:46was like Josh Denenbaum, Tom Griffith's work on this stuff.

29:49And what we found is that you can actually try

29:54to figure out what physics model

29:58kind of best explains human actions.

30:01And then you can use that to sort of correct what it is

30:06that they're commanding the craft to do.

30:08So they might, you know, be sending the craft somewhere

30:11but instead of executing that action,

30:13you can sort of take a step back and say,

30:15according to their intuitive,

30:16if the world worked according to their intuitive physics

30:20model, where do they think that the craft is going?

30:23Where are they trying to send it to?

30:26And then you can use the real physics, right?

30:28The inverse of that to actually figure out

30:30what you should do so that you do that

30:31instead of where they were actually sending you

30:33in the real world.

30:34And I kid you not at work people land the damn thing

30:38and you know, in between the two flags and all that.

30:42So it's not conclusive in any way

30:45but I'd say it's evidence that yeah,

30:47maybe we're kind of underestimating humans in some ways

30:50when we're giving up and saying,

30:51yeah, they're just crazy noisy.

30:53So then you try to explicitly try to model

30:56the kind of worldview that they have.

30:58That they have, that's right.

30:59That's right.

31:00And it's not too, I mean,

31:02there's things in behavior economics too

31:03that for instance have touched upon the planning horizon.

31:06So there's this idea that there's bounded rationality

31:09essentially and the idea that, well,

31:11maybe we work under computational constraints.

31:13And I think kind of our view recently has been

31:17take the Bellman update in AI

31:19and just break it in all sorts of ways by saying state,

31:22no, no, no, the person doesn't get to see the real state.

31:25Maybe they're estimating somehow.

31:26Transition function, no, no, no, no, no.

31:28Even the actual reward evaluation,

31:31maybe they're still learning

31:32about what it is that they want.

31:34Like, you know, when you watch Netflix

31:37and you know, you have all the things

31:39and then you have to pick something,

31:41imagine that, you know, the AI system interpreted

31:46that choice as this is the thing you prefer to see.

31:48Like, how are you going to know?

31:49You're still trying to figure out what you like,

31:51what you don't like, et cetera.

31:52So I think it's important to also account for that.

31:55So it's not irrationality,

31:56because they're doing the right thing

31:58under the things that they know.

31:59Yeah, that's brilliant.

32:01You mentioned recommender systems.

32:03What kind of, and we were talking

32:05about human robot interaction,

32:07what kind of problem spaces are you thinking about?

32:10So is it robots, like wheeled robots

32:14with autonomous vehicles?

32:16Is it object manipulation?

32:18Like when you think

32:19about human robot interaction in your mind,

32:21and maybe I'm sure you can speak

32:24for the entire community of human robot interaction.

32:27But like, what are the problems of interest here?

32:30And does it, you know, I kind of think

32:34of open domain dialogue as human robot interaction,

32:40and that happens not in the physical space,

32:43but it could just happen in the virtual space.

32:46So where's the boundaries of this field for you

32:49when you're thinking about the things

32:50we've been talking about?

32:51Yeah, so I try to find kind of underlying,

33:00I don't know what to even call them.

33:02I try to work on, you know, I might call what I do,

33:05the kind of working on the foundations

33:07of algorithmic human robot interaction

33:09and trying to make contributions there.

33:12And it's important to me that whatever we do

33:15is actually somewhat domain agnostic when it comes to,

33:19is it about, you know, autonomous cars

33:23or is it about quadrotors or is it about,

33:27is this sort of the same underlying principles apply?

33:30Of course, when you're trying to get

33:31a particular domain to work,

33:32you usually have to do some extra work

33:34to adapt that to that particular domain.

33:36But these things that we were talking about around,

33:40well, you know, how do you model humans?

33:42It turns out that a lot of systems need

33:44to core benefit from a better understanding

33:47of how human behavior relates to what people want

33:50and need to predict human behavior,

33:53physical robots of all sorts and beyond that.

33:56And so I used to do manipulation.

33:58I used to be, you know, picking up stuff

34:00and then I was picking up stuff with people around.

34:03And now it's sort of very broad

34:05when it comes to the application level,

34:07but in a sense, very focused on, okay,

34:11how does the problem need to change?

34:14How do the algorithms need to change

34:15when we're not doing a robot by itself?

34:19You know, emptying the dishwasher,

34:21but we're stepping outside of that.

34:23I thought that popped into my head just now.

34:26On the game theoretic side,

34:27I think you said this really interesting idea

34:29of using actions to gain more information.

34:33But if we think of sort of game theory,

34:39the humans that are interacting with you,

34:43with you, the robot?

34:44Wow, I'm thinking the identity of the robot.

34:46Yeah, I do that all the time.

34:47Yeah, is they also have a world model of you

34:55and you can manipulate that.

34:57I mean, if we look at autonomous vehicles,

34:59people have a certain viewpoint.

35:01You said with the kids, people see Alexa in a certain way.

35:07Is there some value in trying to also optimize

35:10how people see you as a robot?

35:15Or is that a little too far away from the specifics

35:20of what we can solve right now?

35:21So, well, both, right?

§05Transcript · 35:24–44:09

35:24So it's really interesting.

35:26And we've seen a little bit of progress on this problem,

35:30on pieces of this problem.

35:32So you can, again, it kind of comes down

35:36to how complicated does the human model need to be?

35:38But in one piece of work that we were looking at,

35:42we just said, okay, there's these parameters

35:46that are internal to the robot

35:47and what the robot is about to do,

35:51or maybe what objective,

35:52what driving style the robot has or something like that.

35:55And what we're gonna do is we're gonna set up a system

35:58where part of the state is the person's belief

36:00over those parameters.

36:02And now when the robot acts,

36:05that the person gets new evidence

36:07about this robot internal state.

36:10And so they're updating their mental model of the robot.

36:13So if they see a car that sort of cuts someone off,

36:16they're like, oh, that's an aggressive car.

36:18They know more.

36:20If they see sort of a robot head towards a particular door,

36:24they're like, oh yeah, the robot's trying to get

36:25to that door.

36:26So this thing that we have to do with humans

36:27to try and understand their goals and intentions,

36:31humans are inevitably gonna do that to robots.

36:34And then that raises this interesting question

36:36that you asked, which is, can we do something about that?

36:38This is gonna happen inevitably,

36:40but we can sort of be more confusing

36:42or less confusing to people.

36:44And it turns out you can optimize

36:45for being more informative and less confusing

36:48if you have an understanding of how your actions

36:51are being interpreted by the human,

36:53and how they're using these actions to update their belief.

36:56And honestly, all we did is just Bayes rule.

36:59Basically, okay, the person has a belief,

37:02they see an action, they make some assumptions

37:04about how the robot generates its actions,

37:06presumably as being rational,

37:07because robots are rational.

37:09It's reasonable to assume that about them.

37:11And then they incorporate that new piece of evidence

37:17in the Bayesian sense in their belief,

37:19and they obtain a posterior.

37:20And now the robot is trying to figure out

37:23what actions to take such that it steers

37:25the person's belief to put as much probability mass

37:27as possible on the correct parameters.

37:31So that's kind of a mathematical formalization of that.

37:33But my worry, and I don't know if you wanna go there

37:38with me, but I talk about this quite a bit.

37:44The kids talking to Alexa disrespectfully worries me.

37:49I worry in general about human nature.

37:52Like I said, I grew up in Soviet Union, World War II,

37:54I'm a Jew too, so with the Holocaust and everything.

37:58I just worry about how we humans sometimes treat the other,

38:02the group that we call the other, whatever it is.

38:05Through human history, the group that's the other

38:07has been changed faces.

38:09But it seems like the robot will be the other, the other,

38:13the next other.

38:15And one thing is it feels to me

38:19that robots don't get no respect.

38:22They get shoved around.

38:23Shoved around, and is there, one, at the shallow level,

38:27for a better experience, it seems that robots

38:29need to talk back a little bit.

38:31Like my intuition says, I mean, most companies

38:35from sort of Roomba, autonomous vehicle companies

38:38might not be so happy with the idea that a robot

38:41has a little bit of an attitude.

38:43But I feel, it feels to me that that's necessary

38:46to create a compelling experience.

38:48Like we humans don't seem to respect anything

38:50that doesn't give us some attitude.

38:52That, or like a mix of mystery and attitude and anger

38:58and that threatens us subtly, maybe passive aggressively.

39:03I don't know.

39:04It seems like we humans, yeah, need that.

39:08Do you, what are your, is there something,

39:10you have thoughts on this?

39:11All right, I'll give you two thoughts on this.

39:13Okay, sure.

39:13One is, one is, it's, we respond to, you know,

39:18someone being assertive, but we also respond

39:24to someone being vulnerable.

39:26So I think robots, my first thought is that

39:28robots get shoved around and bullied a lot

39:31because they're sort of, you know, tempting

39:32and they're sort of showing off

39:34or they appear to be showing off.

39:35And so I think going back to these things

39:38we were talking about in the beginning

39:39of making robots a little more, a little more expressive,

39:43a little bit more like, eh, that wasn't cool to do.

39:46And now I'm bummed, right?

39:49I think that that can actually help

39:51because people can't help but anthropomorphize

39:53and respond to that.

39:54Even that though, the emotion being communicated

39:56is not in any way a real thing.

39:58And people know that it's not a real thing

40:00because they know it's just a machine.

40:01We're still interpreting, you know, we watch,

40:04there's this famous psychology experiment

40:07with little triangles and kind of dots on a screen

40:11and a triangle is chasing the square

40:12and you get really angry at the darn triangle

40:15because why is it not leaving the square alone?

40:18So that's, yeah, we can't help.

40:20So that was the first thought.

40:21The vulnerability, that's really interesting that,

40:25I think of like being, pushing back, being assertive

40:31as the only mechanism of getting,

40:33of forming a connection, of getting respect,

40:36but perhaps vulnerability,

40:37perhaps there's other mechanisms that are less threatening.

40:40Yeah.

40:40Is there?

40:41Well, I think, well, a little bit, yes,

40:43but then this other thing that we can think about is,

40:47it goes back to what you were saying,

40:48that interaction is really game theoretic, right?

40:50So the moment you're taking actions in a space,

40:52the humans are taking actions in that same space,

40:55but you have your own objective, which is, you know,

40:58you're a car, you need to get your passenger

40:59to the destination.

41:00And then the human nearby has their own objective,

41:03which somewhat overlaps with you, but not entirely.

41:07You're not interested in getting into an accident

41:09with each other, but you have different destinations

41:11and you wanna get home faster

41:13and they wanna get home faster.

41:14And that's a general sum game at that point.

41:17And so that's, I think that's what,

41:22treating it as such is kind of a way we can step outside

41:25of this kind of mode that,

41:29where you try to anticipate what people do

41:32and you don't realize you have any influence over it

41:35while still protecting yourself

41:37because you're understanding that people also understand

41:40that they can influence you.

41:42And it's just kind of back and forth is this negotiation,

41:45which is really talking about different equilibria

41:49of a game.

41:50The very basic way to solve coordination

41:53is to just make predictions about what people will do

41:55and then stay out of their way.

41:57And that's hard for the reasons we talked about,

41:59which is how you have to understand people's intentions

42:02implicitly, explicitly, who knows,

42:05but somehow you have to get enough of an understanding

42:07of that to be able to anticipate what happens next.

42:10And so that's challenging.

42:11But then it's further challenged by the fact

42:13that people change what they do based on what you do

42:17because they don't plan in isolation either, right?

42:21So when you see cars trying to merge on a highway

42:25and not succeeding, one of the reasons this can be

42:27is because they look at traffic that keeps coming,

42:33they predict what these people are planning on doing,

42:35which is to just keep going,

42:37and then they stay out of the way

42:39because there's no feasible plan, right?

42:42Any plan would actually intersect

42:44with one of these other people.

42:46So that's bad, so you get stuck there.

42:49So now kind of if you start thinking about it as no, no, no,

42:53actually these people change what they do

42:58depending on what the car does.

42:59Like if the car actually tries to kind of inch itself forward,

43:03they might actually slow down and let the car in.

43:07And now taking advantage of that,

43:10well, that's kind of the next level.

43:13We call this like this underactuated system idea

43:16where it's kind of underactuated system robotics,

43:18but it's kind of, you're influenced

43:22these other degrees of freedom,

43:23but you don't get to decide what they do.

43:25I've somewhere seen you mention it,

43:28the human element in this picture as underactuated.

43:32So you understand underactuated robotics

43:35is that you can't fully control the system.

43:41You can't go in arbitrary directions

43:43in the configuration space.

43:44Under your control.

43:46Yeah, it's a very simple way of underactuation

43:48where basically there's literally these degrees of freedom

43:51that you can control,

43:52and these degrees of freedom that you can't,

43:53but you influence them.

43:54And I think that's the important part

43:55is that they don't do whatever, regardless of what you do,

43:59that what you do influences what they end up doing.

44:02I just also like the poetry of calling human robot

44:05interaction an underactuated robotics problem.

§06Transcript · 44:09–53:19

44:09And you also mentioned sort of nudging.

44:11It seems that they're, I don't know.

44:14I think about this a lot in the case of pedestrians

44:16I've collected hundreds of hours of videos.

44:18I like to just watch pedestrians.

44:21And it seems that.

44:22It's a funny hobby.

44:24Yeah, it's weird.

44:25Cause I learn a lot.

44:27I learned a lot about myself,

44:28about our human behavior, from watching pedestrians,

44:32watching people in their environment.

44:35Basically crossing the street

44:37is like you're putting your life on the line.

44:41I don't know, tens of millions of time in America every day

44:44is people are just like playing this weird game of chicken

44:48when they cross the street,

44:49especially when there's some ambiguity

44:51about the right of way.

44:54That has to do either with the rules of the road

44:56or with the general personality of the intersection

44:59based on the time of day and so on.

45:02And this nudging idea,

45:05it seems that people don't even nudge.

45:07They just aggressively take, make a decision.

45:10Somebody, there's a runner that gave me this advice.

45:14I sometimes run in the street,

45:17not in the street, on the sidewalk.

45:18And he said that if you don't make eye contact with people

45:22when you're running, they will all move out of your way.

45:25It's called civil inattention.

45:27Civil inattention, that's a thing.

45:29Oh wow, I need to look this up, but it works.

45:32What is that?

45:32My sense was if you communicate like confidence

45:37in your actions that you're unlikely to deviate

45:41from the action that you're following,

45:43that's a really powerful signal to others

45:44that they need to plan around your actions.

45:47As opposed to nudging where you're sort of hesitantly,

45:50then the hesitation might communicate

45:53that you're still in the dance and the game

45:56that they can influence with their own actions.

45:59I've recently had a conversation with Jim Keller,

46:03who's a sort of this legendary chip architect,

46:08but he also led the autopilot team for a while.

46:12And his intuition that driving is fundamentally

46:16still like a ballistics problem.

46:18Like you can ignore the human element

46:22that is just not hitting things.

46:24And you can kind of learn the right dynamics

46:26required to do the merger and all those kinds of things.

46:29And then my sense is, and I don't know if I can provide

46:32sort of definitive proof of this,

46:34but my sense is like an order of magnitude

46:38are more difficult when humans are involved.

46:41Like it's not simply object collision avoidance problem.

46:48Where does your intuition,

46:49of course, nobody knows the right answer here,

46:51but where does your intuition fall on the difficulty,

46:54fundamental difficulty of the driving problem

46:57when humans are involved?

46:58Yeah, good question.

47:00I have many opinions on this.

47:03Imagine downtown San Francisco.

47:07Yeah, it's crazy, busy, everything.

47:10Okay, now take all the humans out.

47:12No pedestrians, no human driven vehicles,

47:15no cyclists, no people on little electric scooters

47:18zipping around, nothing.

47:19I think we're done.

47:21I think driving at that point is done.

47:23We're done.

47:25There's nothing really that still needs

47:27to be solved about that.

47:28Well, let's pause there.

47:30I think I agree with you and I think a lot of people

47:34that will hear will agree with that,

47:37but we need to sort of internalize that idea.

47:41So what's the problem there?

47:42Cause we might not quite yet be done with that.

47:45Cause a lot of people kind of focus

47:46on the perception problem.

47:48A lot of people kind of map autonomous driving

47:52into how close are we to solving,

47:55being able to detect all the, you know,

47:57the drivable area, the objects in the scene.

48:02Do you see that as a, how hard is that problem?

48:07So your intuition there behind your statement

48:09was we might have not solved it yet,

48:11but we're close to solving basically the perception problem.

48:14I think the perception problem, I mean,

48:17and by the way, a bunch of years ago,

48:19this would not have been true.

48:21And a lot of issues in the space were coming

48:24from the fact that, oh, we don't really, you know,

48:27we don't know what's where.

48:29But I think it's fairly safe to say that at this point,

48:33although you could always improve on things

48:35and all of that, you can drive through downtown San Francisco

48:38if there are no people around.

48:40There's no really perception issues

48:42standing in your way there.

48:44I think perception is hard, but yeah, it's, we've made

48:47a lot of progress on the perception,

48:49so I had to undermine the difficulty of the problem.

48:50I think everything about robotics is really difficult,

48:53of course, I think that, you know, the planning problem,

48:57the control problem, all very difficult,

48:59but I think what's, what makes it really kind of, yeah.

49:03It might be, I mean, you know,

49:05and I picked downtown San Francisco,

49:07it's adapting to, well, now it's snowing,

49:11now it's no longer snowing, now it's slippery in this way,

49:14now it's the dynamics part could,

49:16I could imagine being still somewhat challenging, but.

49:24No, the thing that I think worries us,

49:26and our intuition's not good there,

49:27is the perception problem at the edge cases.

49:31Sort of downtown San Francisco, the nice thing,

49:35it's not actually, it may not be a good example because.

49:39Because you know what you're getting from,

49:41well, there's like crazy construction zones

49:43and all of that. Yeah, but the thing is,

49:44you're traveling at slow speeds,

49:46so like it doesn't feel dangerous.

49:47To me, what feels dangerous is highway speeds,

49:51when everything is, to us humans, super clear.

49:54Yeah, I'm assuming LiDAR here, by the way.

49:57I think it's kind of irresponsible to not use LiDAR.

49:59That's just my personal opinion.

50:02That's, I mean, depending on your use case,

50:04but I think like, you know, if you have the opportunity

50:07to use LiDAR, in a lot of cases, you might not.

50:11Good, your intuition makes more sense now.

50:13So you don't think vision.

50:15I really just don't know enough to say,

50:18well, vision alone, what, you know, what's like,

50:21there's a lot of, how many cameras do you have?

50:24Is it, how are you using them?

50:25I don't know. There's details.

50:26There's all, there's all sorts of details.

50:28I imagine there's stuff that's really hard

50:30to actually see, you know, how do you deal with glare,

50:33exactly what you were saying,

50:34stuff that people would see that you don't.

50:37I think I have, more of my intuition comes from systems

50:40that can actually use LiDAR as well.

50:44Yeah, and until we know for sure,

50:45it makes sense to be using LiDAR.

50:48That's kind of the safety focus.

50:50But then the sort of the,

50:52I also sympathize with the Elon Musk statement

50:55of LiDAR is a crutch.

50:57It's a fun notion to think that the things that work today

51:04is a crutch for the invention of the things

51:08that will work tomorrow, right?

51:09Like it, it's kind of true in the sense that if,

51:15you know, we want to stick to the comfort zone,

51:17you see this in academic and research settings

51:19all the time, the things that work force you

51:22to not explore outside, think outside the box.

51:25I mean, that happens all the time.

51:26The problem is in the safety critical systems,

51:29you kind of want to stick with the things that work.

51:32So it's an interesting and difficult trade off

51:34in the case of real world sort of safety critical

51:38robotic systems, but so your intuition is,

51:44just to clarify, how, I mean,

51:48how hard is this human element for,

51:51like how hard is driving

51:52when this human element is involved?

51:55Are we years, decades away from solving it?

52:00But perhaps actually the year isn't the thing I'm asking.

52:03It doesn't matter what the timeline is,

52:05but do you think we're, how many breakthroughs

52:09are we away from in solving

52:12the human robotic interaction problem

52:13to get this, to get this right?

52:15I think it, in a sense, it really depends.

52:20I think that, you know, we were talking about how,

52:24well, look, it's really hard

52:25because anticipate what people do is hard.

52:27And on top of that, playing the game is hard.

52:30But I think we sort of have the fundamental,

52:35some of the fundamental understanding for that.

52:38And then you already see that these systems

52:41are being deployed in the real world,

52:45you know, even driverless.

52:47Like there's, I think now a few companies

52:50that don't have a driver in the car in some small areas.

52:55I got a chance to, I went to Phoenix and I,

52:59I shot a video with Waymo and I needed to get

53:03that video out.

53:04People have been giving me slack,

53:06but there's incredible engineering work being done there.

53:09And it's one of those other seminal moments

53:11for me in my life to be able to, it sounds silly,

53:13but to be able to drive without a ride, sorry,

53:17without a driver in the seat.

§07Transcript · 53:19–1:02:38

53:19I mean, that was an incredible robotics.

53:22I was driven by a robot without being able to take over,

53:27without being able to take the steering wheel.

53:31That's a magical, that's a magical moment.

53:33So in that regard, in those domains,

53:35at least for like Waymo, they're solving that human,

53:39there's, I mean, they're going, I mean, it felt fast

53:43because you're like freaking out at first.

53:45That was, this is my first experience,

53:47but it's going like the speed limit, right?

53:4930, 40, whatever it is.

53:51And there's humans and it deals with them quite well.

53:53It detects them, it negotiates the intersections,

53:57the left turns and all of that.

53:58So at least in those domains, it's solving them.

54:01The open question for me is like, how quickly can we expand?

54:06You know, that's the, you know,

54:08outside of the weather conditions,

54:10all of those kinds of things,

54:11how quickly can we expand to like cities like San Francisco?

54:14Yeah, and I wouldn't say that it's just, you know,

54:17now it's just pure engineering and it's probably the,

54:20I mean, and by the way,

54:22I'm speaking kind of very generally here as hypothesizing,

54:26but I think that there are successes

54:31and yet no one is everywhere out there.

54:34So that seems to suggest that things can be expanded

54:38and can be scaled and we know how to do a lot of things,

54:41but there's still probably, you know,

54:44new algorithms or modified algorithms

54:46that you still need to put in there

54:49as you learn more and more about new challenges

54:53that you get faced with.

54:55How much of this problem do you think can be learned

54:58through end to end?

54:59Is it the success of machine learning

55:00and reinforcement learning?

55:02How much of it can be learned from sort of data

55:05from scratch and how much,

55:07which most of the success of autonomous vehicle systems

55:10have a lot of heuristics and rule based stuff on top,

55:14like human expertise injected forced into the system

55:19to make it work.

55:20What's your sense?

55:22How much, what will be the role of learning

55:26in the near term and long term?

55:28I think on the one hand that learning is inevitable here,

55:36right?

55:37I think on the other hand that when people characterize

55:39the problem as it's a bunch of rules

55:42that some people wrote down,

55:44versus it's an end to end RL system or imitation learning,

55:49then maybe there's kind of something missing

55:53from maybe that's more.

55:57So for instance, I think a very, very useful tool

56:02in this sort of problem,

56:04both in how to generate the car's behavior

56:07and robots in general and how to model human beings

56:11is actually planning, search optimization, right?

56:15So robotics is the sequential decision making problem.

56:18And when a robot can figure out on its own

56:26how to achieve its goal without hitting stuff

56:28and all that stuff, right?

56:30All the good stuff for motion planning 101,

56:33I think of that as very much AI,

56:36not this is some rule or something.

56:38There's nothing rule based around that, right?

56:40It's just you're searching through a space

56:42and figuring out are you optimizing through a space

56:43and figure out what seems to be the right thing to do.

56:47And I think it's hard to just do that

56:49because you need to learn models of the world.

56:52And I think it's hard to just do the learning part

56:55where you don't bother with any of that,

56:58because then you're saying, well, I could do imitation,

57:01but then when I go off distribution, I'm really screwed.

57:04Or you can say, I can do reinforcement learning,

57:08which adds a lot of robustness,

57:09but then you have to do either reinforcement learning

57:12in the real world, which sounds a little challenging

57:15or that trial and error, you know,

57:18or you have to do reinforcement learning in simulation.

57:21And then that means, well, guess what?

57:23You need to model things, at least to model people,

57:27model the world enough that whatever policy you get of that

57:31is actually fine to roll out in the world

57:34and do some additional learning there.

57:36So. Do you think simulation, by the way, just a quick tangent

57:40has a role in the human robot interaction space?

57:44Like, is it useful?

57:46It seems like humans, everything we've been talking about

57:48are difficult to model and simulate.

57:51Do you think simulation has a role in this space?

57:53I do.

57:54I think so because you can take models

57:58and train with them ahead of time, for instance.

58:04You can.

58:06But the models, sorry to interrupt,

58:07the models are sort of human constructed or learned?

58:10I think they have to be a combination

58:14because if you get some human data and then you say,

58:20this is how, this is gonna be my model of the person.

58:22What are for simulation and training

58:24or for just deployment time?

58:25And that's what I'm planning with

58:27as my model of how people work.

58:29Regardless, if you take some data

58:33and you don't assume anything else and you just say,

58:35okay, this is some data that I've collected.

58:39Let me fit a policy to how people work based on that.

58:42What tends to happen is you collected some data

58:45and some distribution, and then now your robot

58:50sort of computes a best response to that, right?

58:52It's sort of like, what should I do

58:54if this is how people work?

58:56And easily goes off of distribution

58:58where that model that you've built of the human

59:01completely sucks because out of distribution,

59:03you have no idea, right?

59:05If you think of all the possible policies

59:07and then you take only the ones that are consistent

59:10with the human data that you've observed,

59:13that still leads a lot of, a lot of things could happen

59:15outside of that distribution where you're confident

59:18then you know what's going on.

59:19By the way, that's, I mean, I've gotten used

59:22to this terminology of not a distribution,

59:25but it's such a machine learning terminology

59:29because it kind of assumes,

59:30so distribution is referring to the data

59:36that you've seen.

59:36The set of states that you encounter

59:38at training time. They've encountered so far

59:39at training time. Yeah.

59:40But it kind of also implies that there's a nice

59:43like statistical model that represents that data.

59:47So out of distribution feels like, I don't know,

59:50it raises to me philosophical questions

59:54of how we humans reason out of distribution,

59:58reason about things that are completely,

60:01we haven't seen before.

60:03And so, and what we're talking about here is

60:05how do we reason about what other people do

60:09in situations where we haven't seen them?

60:11And somehow we just magically navigate that.

60:14I can anticipate what will happen in situations

60:18that are even novel in many ways.

60:21And I have a pretty good intuition for,

60:22I don't always get it right, but you know,

60:24and I might be a little uncertain and so on.

60:26But I think it's this that if you just rely on data,

60:33you know, there's just too many possibilities,

60:36there's too many policies out there that fit the data.

60:37And by the way, it's not just state,

60:39it's really kind of history of state,

60:40cause to really be able to anticipate

60:41what the person will do,

60:43it kind of depends on what they've been doing so far,

60:45cause that's the information you need to kind of,

60:47at least implicitly sort of say,

60:49oh, this is the kind of person that this is,

60:51this is probably what they're trying to do.

60:53So anyway, it's like you're trying to map history of states

60:55to actions, there's many mappings.

60:56And history meaning like the last few seconds

60:59or the last few minutes or the last few months.

61:02Who knows, who knows how much you need, right?

61:04In terms of if your state is really like the positions

61:07of everything or whatnot and velocities,

61:09who knows how much you need.

61:10And then there's so many mappings.

61:14And so now you're talking about

61:16how do you regularize that space?

61:17What priors do you impose or what's the inductive bias?

61:21So, you know, there's all very related things

61:23to think about it.

61:25Basically, what are assumptions that we should be making

61:29such that these models actually generalize

61:32outside of the data that we've seen?

61:35And now you're talking about, well, I don't know,

61:37what can you assume?

61:38Maybe you can assume that people like actually

61:40have intentions and that's what drives their actions.

61:43Maybe that's, you know, the right thing to do

61:46when you haven't seen data very nearby

61:49that tells you otherwise.

61:51I don't know, it's a very open question.

61:53Do you think sort of that one of the dreams

61:55of artificial intelligence was to solve

61:58common sense reasoning, whatever the heck that means.

62:02Do you think something like common sense reasoning

62:04has to be solved in part to be able to solve this dance

62:09of human robot interaction, the driving space

62:12or human robot interaction in general?

62:14Do you have to be able to reason about these kinds

62:16of common sense concepts of physics,

62:21of, you know, all the things we've been talking about

62:27humans, I don't even know how to express them with words,

62:30but the basics of human behavior, a fear of death.

62:34So like, to me, it's really important to encode

§08Transcript · 1:02:38–1:12:10

62:38in some kind of sense, maybe not, maybe it's implicit,

62:41but it feels that it's important to explicitly encode

62:44the fear of death, that people don't wanna die.

62:48Because it seems silly, but like the game of chicken

62:56that involves with the pedestrian crossing the street

62:59is playing with the idea of mortality.

63:03Like we really don't wanna die.

63:04It's not just like a negative reward.

63:07I don't know, it just feels like all these human concepts

63:10have to be encoded.

63:11Do you share that sense or is this a lot simpler

63:14than I'm making out to be?

63:15I think it might be simpler.

63:17And I'm the person who likes to complicate things.

63:18I think it might be simpler than that.

63:21Because it turns out, for instance,

63:24if you say model people in the very,

63:29I'll call it traditional, I don't know if it's fair

63:31to look at it as a traditional way,

63:33but you know, calling people as,

63:35okay, they're rational somehow,

63:37the utilitarian perspective.

63:40Well, in that, once you say that,

63:45you automatically capture that they have an incentive

63:48to keep on being.

63:50You know, Stuart likes to say,

63:53you can't fetch the coffee if you're dead.

63:56Stuart Russell, by the way.

63:59That's a good line.

64:01So when you're sort of treating agents

64:05as having these objectives, these incentives,

64:10humans or artificial, you're kind of implicitly modeling

64:14that they'd like to stick around

64:16so that they can accomplish those goals.

64:20So I think in a sense,

64:22maybe that's what draws me so much

64:24to the rationality framework,

64:25even though it's so broken,

64:26we've been able to, it's been such a useful perspective.

64:30And like we were talking about earlier,

64:32what's the alternative?

64:33I give up and go home or, you know,

64:34I just use complete black boxes,

64:36but then I don't know what to assume out of distribution

64:37that come back to this.

64:40It's just, it's been a very fruitful way

64:42to think about the problem

64:43in a very more positive way, right?

64:47People aren't just crazy.

64:49Maybe they make more sense than we think.

64:51But I think we also have to somehow be ready for it

64:55to be wrong, be able to detect

64:58when these assumptions aren't holding,

65:00be all of that stuff.

65:02Let me ask sort of another small side of this

65:06that we've been talking about

65:07the pure autonomous driving problem,

65:09but there's also relatively successful systems

65:13already deployed out there in what you may call

65:17like level two autonomy or semi autonomous vehicles,

65:20whether that's Tesla Autopilot,

65:23work quite a bit with Cadillac SuperGuru system,

65:27which has a driver facing camera that detects your state.

65:31There's a bunch of basically lane centering systems.

65:35What's your sense about this kind of way of dealing

65:41with the human robot interaction problem

65:43by having a really dumb robot

65:46and relying on the human to help the robot out

65:50to keep them both alive?

65:53Is that from the research perspective,

65:57how difficult is that problem?

65:59And from a practical deployment perspective,

66:02is that a fruitful way to approach

66:05this human robot interaction problem?

66:08I think what we have to be careful about there

66:12is to not, it seems like some of these systems,

66:16not all are making this underlying assumption

66:19that if, so I'm a driver and I'm now really not driving,

66:25but supervising and my job is to intervene, right?

66:28And so we have to be careful with this assumption

66:31that when I'm, if I'm supervising,

66:36I will be just as safe as when I'm driving.

66:41That I will, if I wouldn't get into some kind of accident,

66:46if I'm driving, I will be able to avoid that accident

66:50when I'm supervising too.

66:52And I think I'm concerned about this assumption

66:55from a few perspectives.

66:56So from a technical perspective,

66:58it's that when you let something kind of take control

67:01and do its thing, and it depends on what that thing is,

67:03obviously, and how much it's taking control

67:05and how, what things are you trusting it to do.

67:07But if you let it do its thing and take control,

67:11it will go to what we might call off policy

67:15from the person's perspective state.

67:16So states that the person wouldn't actually

67:18find themselves in if they were the ones driving.

67:22And the assumption that the person functions

67:24just as well there as they function in the states

67:26that they would normally encounter

67:28is a little questionable.

67:30Now, another part is the kind of the human factor side

67:34of this, which is that I don't know about you,

67:38but I think I definitely feel like I'm experiencing things

67:42very differently when I'm actively engaged in the task

67:45versus when I'm a passive observer.

67:47Like even if I try to stay engaged, right?

67:49It's very different than when I'm actually

67:51actively making decisions.

67:53And you see this in life in general.

67:55Like you see students who are actively trying

67:58to come up with the answer, learn this thing better

68:00than when they're passively told the answer.

68:03I think that's somewhat related.

68:04And I think people have studied this in human factors

68:06for airplanes.

68:07And I think it's actually fairly established

68:10that these two are not the same.

68:12So.

68:13On that point, because I've gotten a huge amount

68:14of heat on this and I stand by it.

68:17Okay.

68:18Because I know the human factors community well

68:22and the work here is really strong.

68:24And there's many decades of work showing exactly

68:27what you're saying.

68:28Nevertheless, I've been continuously surprised

68:30that much of the predictions of that work has been wrong

68:33in what I've seen.

68:35So what we have to do,

68:37I still agree with everything you said,

68:40but we have to be a little bit more open minded.

68:45So the, I'll tell you, there's a few surprising things

68:49that supervise, like everything you said to the word

68:52is actually exactly correct.

68:54But it doesn't say, what you didn't say

68:57is that these systems are,

69:00you said you can't assume a bunch of things,

69:02but we don't know if these systems are fundamentally unsafe.

69:06That's still unknown.

69:08There's a lot of interesting things,

69:11like I'm surprised by the fact, not the fact,

69:15that what seems to be anecdotally from,

69:18well, from large data collection that we've done,

69:21but also from just talking to a lot of people,

69:23when in the supervisory role of semi autonomous systems

69:27that are sufficiently dumb, at least,

69:29which is, that might be the key element,

69:33is the systems have to be dumb.

69:35The people are actually more energized as observers.

69:38So they're actually better,

69:40they're better at observing the situation.

69:43So there might be cases in systems,

69:46if you get the interaction right,

69:48where you, as a supervisor,

69:50will do a better job with the system together.

69:53I agree, I think that is actually really possible.

69:56I guess mainly I'm pointing out that if you do it naively,

70:00you're implicitly assuming something,

70:02that assumption might actually really be wrong.

70:04But I do think that if you explicitly think about

70:09what the agent should do

70:10so that the person still stays engaged.

70:13What the, so that you essentially empower the person

70:16to do more than they could,

70:17that's really the goal, right?

70:19Is you still have a driver,

70:20so you wanna empower them to be so much better

70:25than they would be by themselves.

70:27And that's different, it's a very different mindset

70:29than I want them to basically not drive, right?

70:33And, but be ready to sort of take over.

70:40So one of the interesting things we've been talking about

70:42is the rewards, that they seem to be fundamental too,

70:47the way robots behaves.

70:49So broadly speaking,

70:52we've been talking about utility functions and so on,

70:54but could you comment on how do we approach

70:56the design of reward functions?

70:59Like, how do we come up with good reward functions?

71:02Well, really good question,

71:05because the answer is we don't.

71:10This was, you know, I used to think,

71:13I used to think about how,

71:16well, it's actually really hard to specify rewards

71:18for interaction because it's really supposed to be

71:22what the people want, and then you really, you know,

71:25we talked about how you have to customize

71:26what you wanna do to the end user.

71:30But I kind of realized that even if you take

71:36the interactive component away,

71:39it's still really hard to design reward functions.

71:42So what do I mean by that?

71:43I mean, if we assume this sort of AI paradigm

71:47in which there's an agent and his job is to optimize

71:51some objectives, some reward, utility, loss, whatever, cost,

71:58if you write it out, maybe it's a set,

72:00depending on the situation or whatever it is,

72:03if you write that out and then you deploy the agent,

72:06you'd wanna make sure that whatever you specified

§09Transcript · 1:12:10–1:20:53

72:10incentivizes the behavior you want from the agent

72:14in any situation that the agent will be faced with, right?

72:18So I do motion planning on my robot arm,

72:22I specify some cost function like, you know,

72:25this is how far away you should try to stay,

72:28so much it matters to stay away from people,

72:29and this is how much it matters to be able to be efficient

72:31and blah, blah, blah, right?

72:33I need to make sure that whatever I specified,

72:36those constraints or trade offs or whatever they are,

72:40that when the robot goes and solves that problem

72:43in every new situation,

72:45that behavior is the behavior that I wanna see.

72:47And what I've been finding is

72:50that we have no idea how to do that.

72:52Basically, what I can do is I can sample,

72:56I can think of some situations

72:58that I think are representative of what the robot will face,

73:02and I can tune and add and tune some reward function

73:08until the optimal behavior is what I want

73:11on those situations,

73:13which first of all is super frustrating

73:15because, you know, through the miracle of AI,

73:19we've taken, we don't have to specify rules

73:21for behavior anymore, right?

73:22The, who were saying before,

73:24the robot comes up with the right thing to do,

73:27you plug in this situation,

73:28it optimizes right in that situation, it optimizes,

73:31but you have to spend still a lot of time

73:34on actually defining what it is

73:37that that criteria should be,

73:39making sure you didn't forget

73:40about 50 bazillion things that are important

73:42and how they all should be combining together

73:44to tell the robot what's good and what's bad

73:46and how good and how bad.

73:48And so I think this is a lesson that I don't know,

73:55kind of, I guess I close my eyes to it for a while

73:59cause I've been, you know,

74:00tuning cost functions for 10 years now,

74:03but it's really strikes me that,

74:07yeah, we've moved the tuning

74:09and the like designing of features or whatever

74:13from the behavior side into the reward side.

74:19And yes, I agree that there's way less of it,

74:22but it still seems really hard

74:24to anticipate any possible situation

74:26and make sure you specify a reward function

74:30that when optimized will work well

74:32in every possible situation.

74:35So you're kind of referring to unintended consequences

74:38or just in general, any kind of suboptimal behavior

74:42that emerges outside of the things you said,

74:44out of distribution.

74:46Suboptimal behavior that is, you know, actually optimal.

74:49I mean, this, I guess the idea of unintended consequences,

74:51you know, it's optimal respect to what you specified,

74:53but it's not what you want.

74:55And there's a difference between those.

74:57But that's not fundamentally a robotics problem, right?

74:59That's a human problem.

75:01So like. That's the thing, right?

75:03So there's this thing called Goodhart's law,

75:05which is you set a metric for an organization

75:07and the moment it becomes a target

75:10that people actually optimize for,

75:13it's no longer a good metric.

75:15What's it called?

75:15Goodhart's law.

75:16Goodhart's law.

75:17So the moment you specify a metric,

75:20it stops doing its job.

75:21Yeah, it stops doing its job.

75:24So there's, yeah, there's such a thing

75:25as optimizing for things and, you know,

75:27failing to think ahead of time

75:32of all the possible things that might be important.

75:35And so that's, so that's interesting

75:38because Historia works a lot on reward learning

75:41from the perspective of customizing to the end user,

75:44but it really seems like it's not just the interaction

75:48with the end user that's a problem of the human

75:50and the robot collaborating

75:52so that the robot can do what the human wants, right?

75:55This kind of back and forth, the robot probing,

75:57the person being informative, all of that stuff

76:00might be actually just as applicable

76:04to this kind of maybe new form of human robot interaction,

76:07which is the interaction between the robot

76:10and the expert programmer, roboticist designer

76:14in charge of actually specifying

76:16what the heck the robot should do,

76:18specifying the task for the robot.

76:20That's fascinating.

76:21That's so cool, like collaborating on the reward design.

76:23Right, collaborating on the reward design.

76:26And so what does it mean, right?

76:28What does it, when we think about the problem,

76:29not as someone specifies all of your job is to optimize,

76:34and we start thinking about you're in this interaction

76:37and this collaboration.

76:39And the first thing that comes up is

76:42when the person specifies a reward, it's not, you know,

76:46gospel, it's not like the letter of the law.

76:48It's not the definition of the reward function

76:52you should be optimizing,

76:53because they're doing their best,

76:54but they're not some magic perfect oracle.

76:57And the sooner we start understanding that,

76:58I think the sooner we'll get to more robust robots

77:02that function better in different situations.

77:06And then you have kind of say, okay, well,

77:08it's almost like robots are over learning,

77:12over putting too much weight on the reward specified

77:16by definition, and maybe leaving a lot of other information

77:21on the table, like what are other things we could do

77:23to actually communicate to the robot

77:25about what we want them to do besides attempting

77:28to specify a reward function.

77:29Yeah, you have this awesome,

77:31and again, I love the poetry of it, of leaked information.

77:34So you mentioned humans leak information

77:38about what they want, you know,

77:40leak reward signal for the robot.

77:44So how do we detect these leaks?

77:47What is that?

77:48Yeah, what are these leaks?

77:49Whether it just, I don't know,

77:51those were just recently saw it, read it,

77:54I don't know where from you,

77:55and it's gonna stick with me for a while for some reason,

77:58because it's not explicitly expressed.

78:00It kind of leaks indirectly from our behavior.

78:04From what we do, yeah, absolutely.

78:06So I think maybe some surprising bits, right?

78:11So we were talking before about, I'm a robot arm,

78:14it needs to move around people, carry stuff,

78:18put stuff away, all of that.

78:20And now imagine that, you know,

78:25the robot has some initial objective

78:27that the programmer gave it

78:28so they can do all these things functionally.

78:30It's capable of doing that.

78:32And now I noticed that it's doing something

78:35and maybe it's coming too close to me, right?

78:39And maybe I'm the designer,

78:40maybe I'm the end user and this robot is now in my home.

78:43And I push it away.

78:47So I push away because, you know,

78:49it's a reaction to what the robot is currently doing.

78:52And this is what we call physical human robot interaction.

78:55And now there's a lot of interesting work

78:58on how the heck do you respond to physical human

79:00robot interaction?

79:01What should the robot do if such an event occurs?

79:03And there's sort of different schools of thought.

79:05Well, you know, you can sort of treat it

79:07the control theoretic way and say,

79:08this is a disturbance that you must reject.

79:11You can sort of treat it more kind of heuristically

79:15and say, I'm gonna go into some like gravity compensation

79:18mode so that I'm easily maneuverable around.

79:19I'm gonna go in the direction that the person pushed me.

79:22And to us, part of realization has been

79:27that that is signal that communicates about the reward.

79:30Because if my robot was moving in an optimal way

79:34and I intervened, that means that I disagree

79:37with his notion of optimality, right?

79:40Whatever it thinks is optimal is not actually optimal.

79:43And sort of optimization problems aside,

79:45that means that the cost function,

79:47the reward function is incorrect,

79:51or at least is not what I want it to be.

79:53How difficult is that signal to interpret

79:58and make actionable?

79:59So like, cause this connects

80:00to our autonomous vehicle discussion

80:02where they're in the semi autonomous vehicle

80:03or autonomous vehicle when a safety driver

80:06disengages the car, like,

80:08but they could have disengaged it for a million reasons.

80:11Yeah, so that's true.

80:15Again, it comes back to, can you structure a little bit

80:19your assumptions about how human behavior

80:22relates to what they want?

80:24And you can, one thing that we've done is

80:26literally just treated this external torque

80:29that they applied as, when you take that

80:32and you add it with what the torque

80:34the robot was already applying,

80:36that overall action is probably relatively optimal

80:39in respect to whatever it is that the person wants.

80:41And then that gives you information

80:43about what it is that they want.

80:44So you can learn that people want you

80:45to stay further away from them.

80:47Now you're right that there might be many things

80:49that explain just that one signal

80:51and that you might need much more data than that

§10Transcript · 1:20:53–1:29:38

80:53for the person to be able to shape

80:55your reward function over time.

80:58You can also do this info gathering stuff

81:00that we were talking about.

81:01Not that we've done that in that context,

81:03just to clarify, but it's definitely something

81:04we thought about where you can have the robot

81:09start acting in a way, like if there's

81:11a bunch of different explanations, right?

81:13It moves in a way where it sees if you correct it

81:16in some other way or not,

81:17and then kind of actually plans its motion

81:19so that it can disambiguate

81:21and collect information about what you want.

81:24Anyway, so that's one way,

81:26that's kind of sort of leaked information,

81:27maybe even more subtle leaked information

81:29is if I just press the E stop, right?

81:32I just, I'm doing it out of panic

81:34because the robot is about to do something bad.

81:36There's again, information there, right?

81:38Okay, the robot should definitely stop,

81:40but it should also figure out

81:42that whatever it was about to do was not good.

81:45And in fact, it was so not good

81:46that stopping and remaining stopped for a while

81:48was a better trajectory for it

81:51than whatever it is that it was about to do.

81:52And that again is information about

81:54what are my preferences, what do I want?

81:57Speaking of E stops, what are your expert opinions

82:03on the three laws of robotics from Isaac Asimov

82:08that don't harm humans, obey orders, protect yourself?

82:11I mean, it's such a silly notion,

82:13but I speak to so many people these days,

82:15just regular folks, just, I don't know,

82:17my parents and so on about robotics.

82:19And they kind of operate in that space of,

82:23you know, imagining our future with robots

82:25and thinking what are the ethical,

82:28how do we get that dance right?

82:31I know the three laws might be a silly notion,

82:34but do you think about like

82:35what universal reward functions that might be

82:39that we should enforce on the robots of the future?

82:44Or is that a little too far out and it doesn't,

82:48or is the mechanism that you just described,

82:51it shouldn't be three laws,

82:52it should be constantly adjusting kind of thing.

82:55I think it should constantly be adjusting kind of thing.

82:57You know, the issue with the laws is,

83:01I don't even, you know, they're words

83:02and I have to write math

83:04and have to translate them into math.

83:06What does it mean to?

83:07What does harm mean?

83:08What is, it's not math.

83:11Obey what, right?

83:12Cause we just talked about how

83:14you try to say what you want,

83:17but you don't always get it right.

83:19And you want these machines to do what you want,

83:22not necessarily exactly what you literally,

83:24so you don't want them to take you literally.

83:26You wanna take what you say and interpret it in context.

83:31And that's what we do with the specified rewards.

83:33We don't take them literally anymore from the designer.

83:36We, not we as a community, we as, you know,

83:39some members of my group, we,

83:44and some of our collaborators like Peter Beal

83:46and Stuart Russell, we sort of say,

83:50okay, the designer specified this thing,

83:53but I'm gonna interpret it not as,

83:55this is the universal reward function

83:57that I shall always optimize always and forever,

83:59but as this is good evidence about what the person wants.

84:05And I should interpret that evidence

84:07in the context of these situations that it was specified for.

84:11Cause ultimately that's what the designer thought about.

84:12That's what they had in mind.

84:14And really them specifying reward function

84:16that works for me in all these situations

84:18is really kind of telling me that whatever behavior

84:22that incentivizes must be good behavior

84:24with respect to the thing

84:25that I should actually be optimizing for.

84:28And so now the robot kind of has uncertainty

84:30about what it is that it should be,

84:32what its reward function is.

84:34And then there's all these additional signals

84:36that we've been finding that it can kind of continually

84:39learn from and adapt its understanding of what people want.

84:41Every time the person corrects it, maybe they demonstrate,

84:44maybe they stop, hopefully not, right?

84:48One really, really crazy one is the environment itself.

84:54Like our world, you don't, it's not, you know,

84:58you observe our world and the state of it.

85:01And it's not that you're seeing behavior

85:03and you're saying, oh, people are making decisions

85:05that are rational, blah, blah, blah.

85:07It's, but our world is something that we've been acting with

85:12according to our preferences.

85:14So I have this example where like,

85:15the robot walks into my home and my shoes are laid down

85:18on the floor kind of in a line, right?

85:21It took effort to do that.

85:23So even though the robot doesn't see me doing this,

85:27you know, actually aligning the shoes,

85:29it should still be able to figure out

85:31that I want the shoes aligned

85:33because there's no way for them to have magically,

85:35you know, be instantiated themselves in that way.

85:39Someone must have actually taken the time to do that.

85:43So it must be important.

85:44So the environment actually tells, the environment is.

85:46Leaks information.

85:48It leaks information.

85:48I mean, the environment is the way it is

85:50because humans somehow manipulated it.

85:52So you have to kind of reverse engineer the narrative

85:55that happened to create the environment as it is

85:57and that leaks the preference information.

86:00Yeah, and you have to be careful, right?

86:03Because people don't have the bandwidth to do everything.

86:06So just because, you know, my house is messy

86:08doesn't mean that I want it to be messy, right?

86:10But that just, you know, I didn't put the effort into that.

86:14I put the effort into something else.

86:16So the robot should figure out,

86:17well, that something else was more important,

86:19but it doesn't mean that, you know,

86:20the house being messy is not.

86:21So it's a little subtle, but yeah, we really think of it.

86:24The state itself is kind of like a choice

86:26that people implicitly made about how they want their world.

86:31What book or books, technical or fiction or philosophical,

86:34when you like look back, you know, life had a big impact,

86:39maybe it was a turning point, it was inspiring in some way.

86:42Maybe we're talking about some silly book

86:45that nobody in their right mind would want to read.

86:48Or maybe it's a book that you would recommend

86:51to others to read.

86:52Or maybe those could be two different recommendations

86:56of books that could be useful for people on their journey.

87:00When I was in, it's kind of a personal story.

87:03When I was in 12th grade,

87:05I got my hands on a PDF copy in Romania

87:10of Russell Norvig, AI modern approach.

87:14I didn't know anything about AI at that point.

87:16I was, you know, I had watched the movie,

87:19The Matrix was my exposure.

87:22And so I started going through this thing

87:28and, you know, you were asking in the beginning,

87:31what are, you know, it's math and it's algorithms,

87:35what's interesting.

87:36It was so captivating.

87:38This notion that you could just have a goal

87:41and figure out your way through

87:44kind of a messy, complicated situation.

87:47So what sequence of decisions you should make

87:50to autonomously to achieve that goal.

87:53That was so cool.

87:55I'm, you know, I'm biased, but that's a cool book to look at.

88:00You can convert, you know, the goal of intelligence,

88:03the process of intelligence and mechanize it.

88:06I had the same experience.

88:07I was really interested in psychiatry

88:09and trying to understand human behavior.

88:11And then AI modern approach is like, wait,

88:14you can just reduce it all to.

88:15You can write math about human behavior, right?

88:18Yeah.

88:19So that's, and I think that stuck with me

88:21because, you know, a lot of what I do, a lot of what we do

88:25in my lab is write math about human behavior,

88:28combine it with data and learning, put it all together,

88:31give it to robots to plan with, and, you know,

88:33hope that instead of writing rules for the robots,

88:37writing heuristics, designing behavior,

88:39they can actually autonomously come up with the right thing

88:42to do around people.

88:43That's kind of our, you know, that's our signature move.

88:46We wrote some math and then instead of kind of hand crafting

88:49this and that and that and the robot figuring stuff out

88:52and isn't that cool.

88:53And I think that is the same enthusiasm that I got from

88:56the robot figured out how to reach that goal in that graph.

88:59Isn't that cool?

89:02So apologize for the romanticized questions,

89:05but, and the silly ones,

89:07if a doctor gave you five years to live,

89:11sort of emphasizing the finiteness of our existence,

89:15what would you try to accomplish?

89:20It's like my biggest nightmare, by the way.

89:22I really like living.

89:24So I'm actually, I really don't like the idea of being told

89:28that I'm going to die.

89:30Sorry to linger on that for a second.

89:32Do you, I mean, do you meditate or ponder on your mortality

89:36or human, the fact that this thing ends,

§11Transcript · 1:29:38–1:38:46

89:38it seems to be a fundamental feature.

89:41Do you think of it as a feature or a bug too?

89:44Is it, you said you don't like the idea of dying,

89:47but if I were to give you a choice of living forever,

89:50like you're not allowed to die.

89:52Now I'll say that I want to live forever,

89:54but I watched this show.

89:55It's very silly.

89:56It's called The Good Place and they reflect a lot on this.

89:59And you know, the,

90:00the moral of the story is that you have to make the afterlife

90:03be a finite too.

90:05Cause otherwise people just kind of, it's like Wally.

90:08It's like, ah, whatever.

90:10So, so I think the finiteness helps, but,

90:13but yeah, it's just, you know, I don't, I don't,

90:16I'm not a religious person.

90:18I don't think that there's something after.

90:21And so I think it just ends and you stop existing.

90:25And I really like existing.

90:26It's just, it's such a great privilege to exist that,

90:31that yeah, it's just, I think that's the scary part.

90:35I still think that we like existing so much because it ends.

90:40And that's so sad.

90:41Like it's so sad to me every time.

90:43Like I find almost everything about this life beautiful.

90:46Like the silliest, most mundane things are just beautiful.

90:49And I think I'm cognizant of the fact that I find it beautiful

90:52because it ends like it.

90:55And it's so, I don't know.

90:57I don't know how to feel about that.

90:59I also feel like there's a lesson in there for robotics

91:03and AI that is not like the finiteness of things seems

91:10to be a fundamental nature of human existence.

91:13I think some people sort of accuse me of just being Russian

91:16and melancholic and romantic or something,

91:19but that seems to be a fundamental nature of our existence

91:24that should be incorporated in our reward functions.

91:28But anyway, if you were speaking of reward functions,

91:34if you only had five years, what would you try to accomplish?

91:38This is the thing.

91:41I'm thinking about this question and have a pretty joyous moment

91:45because I don't know that I would change much.

91:49I'm trying to make some contributions to how we understand

91:55human AI interaction.

91:57I don't think I would change that.

92:00Maybe I'll take more trips to the Caribbean or something,

92:04but I tried some of that already from time to time.

92:08So, yeah, I try to do the things that bring me joy

92:13and thinking about these things bring me joy is the Marie Kondo thing.

92:17Don't do stuff that doesn't spark joy.

92:19For the most part, I do things that spark joy.

92:22Maybe I'll do less service in the department or something.

92:25I'm not dealing with admissions anymore.

92:30But no, I think I have amazing colleagues and amazing students

92:36and amazing family and friends and spending time in some balance

92:40with all of them is what I do and that's what I'm doing already.

92:44So, I don't know that I would really change anything.

92:47So, on the spirit of positiveness, what small act of kindness,

92:52if one pops to mind, were you once shown that you will never forget?

92:57When I was in high school, my friends, my classmates did some tutoring.

93:08We were gearing up for our baccalaureate exam

93:11and they did some tutoring on, well, some on math, some on whatever.

93:15I was comfortable enough with some of those subjects,

93:19but physics was something that I hadn't focused on in a while.

93:22And so, they were all working with this one teacher

93:28and I started working with that teacher.

93:31Her name is Nicole Beccano.

93:33And she was the one who kind of opened up this whole world for me

93:39because she sort of told me that I should take the SATs

93:44and apply to go to college abroad and do better on my English and all of that.

93:51And when it came to, well, financially I couldn't,

93:55my parents couldn't really afford to do all these things,

93:58she started tutoring me on physics for free

94:01and on top of that sitting down with me to kind of train me for SATs

94:06and all that jazz that she had experience with.

94:09Wow. And obviously that has taken you to be here today,

94:15sort of one of the world experts in robotics.

94:17It's funny those little... For no reason really.

94:24Just out of karma.

94:27Wanting to support someone, yeah.

94:29Yeah. So, we talked a ton about reward functions.

94:33Let me talk about the most ridiculous big question.

94:37What is the meaning of life?

94:39What's the reward function under which we humans operate?

94:42Like what, maybe to your life, maybe broader to human life in general,

94:47what do you think...

94:51What gives life fulfillment, purpose, happiness, meaning?

94:57You can't even ask that question with a straight face.

94:59That's how ridiculous this is.

95:00I can't, I can't.

95:01Okay. So, you know...

95:05You're going to try to answer it anyway, aren't you?

95:09So, I was in a planetarium once.

95:13Yes.

95:14And, you know, they show you the thing and then they zoom out and zoom out

95:18and this whole, like, you're a speck of dust kind of thing.

95:20I think I was conceptualizing that we're kind of, you know, what are humans?

95:23We're just on this little planet, whatever.

95:26We don't matter much in the grand scheme of things.

95:29And then my mind got really blown because they talked about this multiverse theory

95:35where they kind of zoomed out and were like, this is our universe.

95:38And then, like, there's a bazillion other ones and they just pop in and out of existence.

95:42So, like, our whole thing that we can't even fathom how big it is was like a blimp that went in and out.

95:48And at that point, I was like, okay, like, I'm done.

95:51This is not, there is no meaning.

95:54And clearly what we should be doing is try to impact whatever local thing we can impact,

95:59our communities, leave a little bit behind there, our friends, our family, our local communities,

96:05and just try to be there for other humans because I just, everything beyond that seems ridiculous.

96:13I mean, are you, like, how do you make sense of these multiverses?

96:16Like, are you inspired by the immensity of it?

96:21Do you, I mean, is there, like, is it amazing to you or is it almost paralyzing in the mystery of it?

96:34It's frustrating.

96:35I'm frustrated by my inability to comprehend.

96:41It just feels very frustrating.

96:43It's like there's some stuff that, you know, we should time, blah, blah, blah, that we should really be understanding.

96:48And I definitely don't understand it.

96:50But, you know, the amazing physicists of the world have a much better understanding than me.

96:56But it still seems epsilon in the grand scheme of things.

96:58So, it's very frustrating.

97:00It just, it sort of feels like our brain don't have some fundamental capacity yet, well, yet or ever.

97:06I don't know.

97:07Well, that's one of the dreams of artificial intelligence is to create systems that will aid,

97:12expand our cognitive capacity in order to understand, build the theory of everything with the physics

97:19and understand what the heck these multiverses are.

97:24So, I think there's no better way to end it than talking about the meaning of life and the fundamental nature of the universe and the multiverses.

97:32And the multiverse.

97:33So, Anca, it is a huge honor.

97:35One of my favorite conversations I've had.

97:38I really, really appreciate your time.

97:40Thank you for talking today.

97:41Thank you for coming.

97:42Come back again.

97:44Thanks for listening to this conversation with Anca Dragan.

97:47And thank you to our presenting sponsor, Cash App.

97:50Please consider supporting the podcast by downloading Cash App and using code LexPodcast.

97:56If you enjoy this podcast, subscribe on YouTube, review it with 5 stars on Apple Podcast,

98:01support it on Patreon, or simply connect with me on Twitter at LexFriedman.

98:07And now, let me leave you with some words from Isaac Asimov.

98:12Your assumptions are your windows in the world.

98:15Scrub them off every once in a while or the light won't come in.

98:20Thank you for listening and hope to see you next time.

— A LITTLE MORE TO THINK ABOUT. —