第 81 期·中文精读

安卡·德拉甘:人机交互与奖励工程

Anca Dragan: Human-Robot Interaction and Reward Engineering

机器人学研究者谈人机协作中的冲突处理、如何为机器设计奖励函数,以及自动驾驶的伦理。

官方音频00:00 / --:--
中文精读由 AI 基于原始访谈改写,非官方翻译,可能存在偏差或错误;表述以原音频与官方文稿为准。说明

整条逆向强化学习(inverse reinforcement learning)的路,建立在一条极其简单的假设上:人的行为,相对于他真正想要的东西,是最优的。

这条假设撑起了机器人学里的一大块研究。给机器人看一段人的驾驶录像,它能反推出这个司机优化的到底是什么,是激进还是保守,是抢道还是让行。给人演示一遍怎么把碗放进柜子,它能反推出你真正在意的边界在哪,是碗的朝向,还是柜门的开合角度。

安卡·德拉甘(Anca Dragan)是加州大学伯克利分校的教授,专门研究机器人怎么理解人。她调了十年的成本函数。但这几年,她撞见这条"人是理性的"假设不成立的场景越来越多。

人玩月球着陆器那个游戏,几乎全是狠狠摔在两边的旗子之间。人推着轮椅上的机械臂想去够一个杯子,手的轨迹在各个方向乱飘,看起来完全不像在最优地实现某个目标。人见到机器人靠得太近,会伸手把它推开。

2020年3月,她和 Lex Fridman 聊了近两个小时。这场对话有意思的地方在于,她没有绕开这条假设的裂缝,直接钻进去找新路。

她进机器人这行,纯属偶然

德拉甘出生在罗马尼亚。数学奥林匹克在那边算是全民运动,她从五年级就开始参加。她说那时候的数学对她来说只是纯粹的理论,好玩,但不知道往哪儿用。

四年级的时候她报了一个课外班,可以选舞蹈、音乐或者编程。她选了编程,妈妈当时还问,为什么要选这个。她写的第一段代码是用 QBasic 画一个圆,她说她现在也不会画了。

大学她才真正接触人工智能。申请研究生的时候,她投了 MIT、伯克利、斯坦福,全被拒了。卡内基梅隆的机器人研究所是唯一录取她的地方。她当时的想法很朴素:机器人是一个能把自己喜欢的优化理论真正落到物理世界里的地方。

她对车的兴趣也是偶然长出来的。2014年她还在伯克利读博,学校组织了一次坐谷歌自动驾驶车的机会。她坐进去,看着方向盘自己转,车一个决策接一个决策地做对。下车时她拿到一张贴纸,上面印着"我坐过自动驾驶汽车",还有那只谷歌无人车的小萤火虫标志。那张贴纸在她笔记本上贴了好几年,直到换电脑才取下来。

她说那是她经历过最接近"恋爱"的一刻。那辆车在工程上没什么魔法,车头、传感器、转向的动作都很普通。真正让她震住的是自己脑子里发生的拟人化,那些零件在她大脑里拼成了一个"看着我"的存在。

我意识到,机器人可以远远不只是操作物体的工具。它可以是与人有连接的东西。(安卡·德拉甘)

她先生用一台七自由度的 WALL-E 求的婚

问她最喜欢的机器人,她说是《机器人总动员》里的 WALL-E。喜欢的原因很具体:它太会表达了。两个镜头当眼睛,一对机械臂,靠动作的节奏、停顿、朝向,就能演出好奇、犹豫、孤独、喜欢。她自己研究的就是机器人怎么用动作表达内部状态,WALL-E 在她眼里几乎是一个完美的范本。

然后她说了一件更私人的事。她先生求婚的时候,亲手做了一台 WALL-E。七个自由度,包括那两个能动的镜头。机器人端着一个小盒子走过来,盒盖慢慢打开,戒指在里面。那台机器人她家留到现在。

这段插进来并不突兀。它正好说明了她一直在研究的那件事:机器人怎么用动作传达意义。她自己就是被一台手工做的机器人打动的。

人机交互不是一个问题,是两个

她把这个问题拆得很清楚。

一个机器人在实验室里独自完成任务,那是它自己的事。你把它放到真实世界,让它去帮一个人,问题的性质立刻变了。

第一个变化是:机器人不再是在场唯一行动的智能体。它旁边有别人也在同一个空间里做决策。你让它去咖啡厅拿杯咖啡,路上有人也在伸手够东西。车在路上开,旁边全是别的车。机器人知道自己的目标还不够,它得让自己的动作和别人的动作咬合到一起。

第二个变化更微妙:谁来定义"好"?程序员写下的目标是程序员的偏好。可机器人进了你家,你有你自己的想法。你想让房子被打扫干净,但干净到什么程度,机器人该离你多近,这些是程序员猜不到的。

机器人真正要优化的,是终端用户的偏好。程序员写下的那套东西,只是这件事的代理。

这件事听起来简单,做起来很难,因为"搞清楚别人想要什么"本身就是个硬问题。

理解人类,其实是两件几乎相同的事

她说理解人类可以拆成两件任务,而且在她看来这两件事本质上是一回事。

第一件是预测:这个人下一步会去哪儿,会怎么开车。自动驾驶的预测模块干的就是这个。

第二件是推断:这个人到底想要什么。他心里那个"好"是什么样子。

这两件事看起来不一样,她认为它们连着。人的动作总有来由。人做某个决定,是因为他想达成某个东西。如果你能从行为里读出意图,预测下一步就容易多了。

这就引出了逆向强化学习。正向强化学习是已知奖励、求最优策略。逆向是反过来:看人的行为,反推他优化的奖励函数是什么。

这个人怎么打方向、怎么跟车,这里藏着他的驾驶风格。你演示一遍希望房子怎么被打扫,这里藏着你愿意在哪些地方妥协。这些都能通过逆向强化学习从行为里抠出来。

这条路在机器人学里已经走了不少年,也确实有效。它有效的前提,就是开头那条假设:人的行为相对于他想要的东西是最优的。

这条假设的谱系,从经济学走到行为经济学

她把这个思想史上的链条讲得很清楚。

最早是冯·诺依曼和摩根斯坦在20世纪中叶提出的效用最大化:人在做选择的时候,是在最大化某个效用函数。

到1950年代末,Luce 和 Shepard 补了一刀:人是有点噪声的,是在近似地做这件事。一个选项被选中的概率,大致跟它的效用成正比。这个噪声版本后来被搬进机器人学,就是所谓的"玻尔兹曼理性"(Boltzman rationality)。机器人用这个模型去反推偏好,在很多任务上已经够用了。

然后到1970年代,行为经济学起来了。这一派说的是:人根本不理性。人混乱、情绪化、充满领域相关的启发式,一堆乱七八糟的东西。

她说这段话的时候很坦诚。有些任务里人实在太混乱,简单模型撑不住了,那种时候她也想过收拾行李回家换个工作。

问题在于:机器人越来越强,你越需要一个可靠的机制告诉它"你该做什么"。而这个"该做什么"要从人的行为里读出来。读得准不准,直接决定这套系统靠不靠谱。

也许人并不混乱,是我们漏掉了他们的假设

她这几年最看重的一个想法是:不要急着判定人混乱,先想想是不是我们漏掉了他们脑子里的假设。

我们做机器人模型的时候,默认智能体知道真实的状态、真实的转移函数、真实的时间视界。然后我们说人是理性的,意思是他跟我们共享这一整套假设。人不符合这个模型,我们就把人叫作"不理性"。

她提了一个替代方案:也许人确实是相对理性的,只是在不同的假设下理性。

这个想法的实验支撑来自月球着陆器那个游戏。人和机器人玩同一个游戏,但人的心理模型不一样。人不懂这个飞行器的复杂物理,惯性、推力、角度,人心里有一套朴素的、简化的物理直觉。认知科学里管这个叫"直觉物理"(intuitive physics),Josh Tenenbaum 和 Tom Griffiths 这些人做了很多这方面的工作。

德拉甘的团队做的事是:尝试去推断人心里用的是哪一套简化的物理模型。然后允许机器人根据这套模型去校正人的操作。你在屏幕上按了个方向,机器人不会直接执行你按的方向。它会先想:按照你脑子里那套简化物理,你以为这个操作会把飞行器送到哪儿?然后用真实物理反推,我该做什么,才能让你以为的那件事真的发生。

结果是,玩这个游戏的人,真的把飞行器降落在两个旗子之间了。她说这个实验还远远不算定论,但至少是个证据:当我们放弃"人就是乱的"这个结论,转而认真去建模人脑子里的世界观,人是可以被理解的。

她把这个思路延伸得很远。也许人并不混乱,只是他们的计算能力有界,注意力有限,对世界的理解有偏差。也许人对奖励本身的估计都是模糊的,他一边活一边在搞清楚自己到底喜欢什么。你打开 Netflix 翻来翻去最后选了一个,系统把这个当成你的偏好信号,可你自己可能都还没弄清楚你喜不喜欢这个。那一个选择本身谈不上"最优"的表达,它只是一个还在探索中的行为的副产品。

人看起来乱,多半是因为他的信息、他的信念、他的计算资源和我们假设的不一样,跟放弃理性没什么关系。这在机器人之外也是个好用的生活经验:当你觉得某个人做事莫名其妙,先别下"他不理性"的结论,先去找他脑子里那个你没看到的假设。

机器人可以主动出击,去问清楚

回到开车。这一部分讲得很具体。

你开的是一辆自动驾驶车,想变道到旁边那辆车前面。你不知道那个司机的风格,他是激进还是保守,他会不会让你。

如果你只是被动观察,你会怎么做?你会开在他旁边,一直开在他旁边,等他的行为暴露偏好。可问题是,他只要直着往前开,你就什么信息都拿不到。他激进还是保守,在直行的时候看起来完全一样。

机器人可以主动设计自己的动作来收集信息。

德拉甘团队里 Dorsa 做的一个工作就是这个。车会先往那个司机的车道轻轻探一下,看对方会不会减速。如果对方减速了,它更新对这个司机的模型:好,你偏防御型,那我就可以放心过去了。如果对方不让,它也更新:你偏激进,我等下一辆。

这就是一个舞步。你用你自己的动作去问对方一个问题,对方的反应就是答案。

她说全世界认真想这件事的人一只手数得过来。原因是很多机器人研究者其实怕人,人太乱、太复杂,干脆绕开。她的态度正好相反:人可以乱,但人也在反应,反应里全是信息。

机器人也在被人类看

Lex 在这里补了一个角度:人是会反过来建模机器人的。你对着机器人做一套动作,对方脑子里也在更新"这台机器是个什么东西"。

她顺着这个角度往下走。人天生就会对机器人的行为做贝叶斯推断。你看到一辆车强行插到别人前面,你立刻更新:这车挺凶。你看到机器人的头朝向一扇门,你猜:它要去那扇门。

那么问题来了:既然这个过程一定会发生,机器人能不能主动去影响它?

答案是能。把"人对机器人内部参数的信念分布"也纳入机器人的状态空间。机器人每做一个动作,人就会用贝叶斯规则更新这个信念。机器人现在要解的优化问题变成了:我该做什么动作,才能让你更新后对我内部状态的判断,尽可能贴近真相。

数学上其实就是贝叶斯更新,人看到动作,假设机器人是理性的,于是反推出机器人想干什么。机器人反过来用这一点,去挑选那些"能把我的真实意图讲清楚"的动作。

这道题的解法,是把"人对我的看法"明确写进状态里,然后优化它。人和机器人同处一个空间,互相建模是躲不掉的。与其放任误解自然生长,不如让机器人主动把"我到底想干嘛"这件事表达清楚。

孩子对 Alexa 没礼貌,这件事让她担心

Lex 在这里抛出一个他反复想的问题。他读到有孩子在对着 Alexa 大喊大叫、出言不逊,因为对它无礼不会有任何后果,Alexa 永远用同一个语调回复。

德拉甘接过这个话题,讲了两点。

第一点是关于表达。她认为机器人也该有一点"被欺负会显得不舒服"的样子。人有种本能,看到能表达的东西就会拟人化,会对它产生情感反应,哪怕你清楚地知道那只是一台机器。她举了一个经典的心理学实验:屏幕上几个三角形和一个圆点在动,其中一个三角形去追那个圆点,看的人会真的对那个三角形生气,觉得它干嘛不放过那个圆点。人控制不住这种反应。

既然控制不住,那么让机器人表现出一点情绪、一点犹豫、一点"被推了会退后"的姿态,反而能让人对它客气一点。这么做的好处主要落在人这一侧:让人自己舒服,也让孩子学会怎么对待一个会回应的对象。

第二点是关于脆弱。Lex 说他觉得机器人得像人一样,得有点态度、有点神秘、有点不怒自威,否则人不会尊重它。她补了一个不同的角度:人会回应强势,也会回应脆弱。

不必只靠"硬"来换取尊重。示弱、求助、明显地不知所措,这些同样能建立连接。她并没有说哪种更好,只是提醒,别把人机关系想成一场谁压过谁的角力。

路口的博弈,比碰撞检测难一个量级

话题转回开车。Lex 提到吉姆·凯勒(Jim Keller)的观点。凯勒是传奇芯片架构师,也带过一段时间的 Autopilot 团队。他的直觉是:驾驶本质上还是个弹道学问题,把车当成一个运动物体,躲开别的东西就行,人这个因素可以暂时忽略。

Lex 自己不同意。他觉得一旦人掺和进来,难度至少要再乘个数量级。

德拉甘没有直接站队,她换了个问法。先把旧金山市区里所有的人拿掉。没有行人,没有人类驾驶的车,没有骑车的,没有电动滑板车窜来窜去。就剩自动驾驶车自己。她说,那种情况下,驾驶这件事基本算解决了。

这句话划出了一条清晰的界线:感知、控制、规划这些环节都不是眼下的死结,真正的死结是那个活生生的、会看你、会被你影响的人。

感知这块,她认为这些年进步很大。几年前说这话不成立,那时候连"路上有什么"都搞不清楚。现在把人类清空,感知不再是拦路虎。剩下的挑战在边缘情况,在施工区,在路面湿滑时动力学模型的漂移,但这些都不是根本性的。

真正让她心里没底的,是人。

她拿高速合流举例。一辆车想并进主路,一直并进不去。为什么?因为它观察后面的车流,预测这些车会继续直行,然后它发现任何一条可行轨迹都会和别人的轨迹相交。于是它停在那儿,永远等下去。

这个僵局是怎么破的?靠把对方也当成会反应的对象。这辆车往前探一点,主路上的司机看到有人要并,可能就会松一脚油门让它进来。对方的动作会因为你而变化,这就是博弈。

她把这个思路联系到控制论里的"欠驱动"(underactuation)。一个系统里有些自由度你能直接控制,有些你控制不了,但你能影响。人机交互就是这个结构。你没法直接操纵那个司机,但你能通过自己的动作去影响他的决定。

她说她喜欢把"人机交互"叫作"欠驱动的机器人学问题",这里面有种诗意。

过马路是一场每天都在上演的胆小鬼博弈

Lex 接了一段很个人的观察。他攒了几百小时的视频,专门看行人过马路。他的说法有点好笑:这是个奇怪的爱好,但他从中看到了很多关于人性的东西。

过马路这件事,在美国每天发生几千万次,本质上是一场微型胆小鬼博弈。谁先让,谁先走。尤其在路权模糊的地方,规则说不清,剩下的就靠默契,靠那个路口在一天里不同时段的"性格"。

他说有些人根本不"探",直接迈步,用一种很确定的姿态走过去。他认识一个跑步的朋友,给过他一条建议:跑步的时候别跟人对视,所有人都会给你让路。

德拉甘说这有个名字,叫"礼貌性疏忽"(civil inattention)。她解释了背后的机制:当你用动作传达出"我很确定、我不会改路线"的时候,你其实是在告诉别人,别指望我会让,你得绕开我。

反过来,如果你犹犹豫豫、左顾右盼,你传递的信号是"我还在游戏里,我的动作可以被影响"。于是对方也会试探你。这就是为什么那种"毫不迟疑地往前走"的人能顺利通过,而那些犹豫的人反而被车流困住。

她把这段和之前讲的信息收集接上了。机器人探那一下,就是在玩这个游戏。不同在于,机器人得算清楚:我这一探,能不能换回我需要的那个信息。

激光雷达是不是拐杖

聊到自动驾驶的技术路线,Lex 提到了埃隆·马斯克那句著名的判断:激光雷达是"拐杖"(crutch)。

她说这句话在直觉上有意思。今天能用的东西,往往是通往明天更好的东西的拐杖。在学术圈里,这一点看得特别清楚。一个方法一旦奏效,研究者的思路就容易被它框住,不愿意往外跳。

但安全攸关的系统是个例外。它的逻辑是反过来的:能用、可靠、经过验证的东西,就应该继续用。所以在真实世界的安全系统里,这条"拐杖"哲学不适用。

她说她自己的信息主要来自那些既用摄像头也用激光雷达的系统。在没搞清楚纯视觉能不能撑住之前,用激光雷达是稳妥的选择。她没有判定纯视觉一定不行,只说自己不了解足够多的细节去下结论。

凤凰城那次无人驾驶,她记了很久

她提到自己去凤凰城坐过 Waymo 的无人车,还拍了视频。她说那是她人生里几个重要的机器人时刻之一。

听起来有点傻,但坐进一辆没有司机在驾驶座上的车,方向盘自己转,车按限速开,遇到行人会减速,过路口、左转、并线,处理得干干净净。那种感觉和看演示视频完全不是一回事。

她在这里给了一个很清醒的判断。这些系统在特定区域、特定条件下确实跑起来了,说明这条路能走,能扩。但这不等于剩下的都是工程问题。她说自己是在"相当宽泛地猜测",新城市、新挑战会不断逼出新的算法,或者至少是改过的算法。

没有人已经跑遍所有地方。这个事实本身就说明,扩展还没到"只需堆人力"的阶段。

机器学习在这条路上能占多大比重

Lex 问了个具体的问题:这些自动驾驶系统里,有多少是靠学习和数据堆出来的,有多少是人手工写进去的规则和启发式?

她先给了一个不太讨巧的回答框架。她说,当人们把这个问题表述成"一堆人写下的规则,对阵端到端的强化学习或模仿学习"的时候,这个二分本身就漏了东西。

被漏掉的那一块是规划、搜索、优化。机器人学本质上是个序贯决策问题。让一个机器人在空间里自己搜出一条能到目标又不撞东西的路径,这里面没有一条是人写下的规则,它是搜出来的、优化出来的。这块东西在她看来极其重要,不该被"规则对阵学习"这个框架挤掉。

她也不认为只靠学习就够了。只做模仿学习,一旦偏离训练分布就完蛋。只做强化学习,你要么在真实世界里试错,代价太大;要么在仿真里学。而仿真里学,你又得先能建模这个世界、建模里面的人,才能保证学出来的策略在真实世界跑得动、还能继续学。

所以她的答案是:学习、搜索、建模,这三样谁也替代不了谁,得搭在一起用。

Lex 顺着问仿真在人机交互里有没有用。她说有用,但有个前提:仿真里的人类模型,得是构造的和学习的结合。如果只是抓一批人的数据拟合出一个策略,然后让机器人去算"如果人就是这样,我该怎么做",那机器人的最优反应会很快跑到数据分布外面去。到了外面,那个拟合出来的人模型就彻底失效了。

问题在于,符合你手上数据的人类策略有无穷多个。你从有限数据里根本没法确定,分布外的那个人会怎么动。

人类怎么在分布外思考,这还是个谜

Lex 在这里追问了一个更深的东西。"分布外"这个说法本身是机器学习词汇,它隐含地假设了存在一个统计模型能代表你见过的那些数据。可人是怎么在完全没见过的情况下做出合理判断的?

他说自己随便走在什么新情境里,都能大致猜到接下来会发生什么,虽然有时会错,但大体靠得住。这个能力是怎么来的?

德拉甘的回应是,这最终要落到"你要给模型注入什么样的先验"这个问题上。数据能告诉你的东西有限,你得人为地加上一些假设,让模型在没见过的数据上也能泛化。什么样的假设才是对的?她也不知道。

她给了一个可能的方向:也许最合理的先验是"人是有意图的,意图驱动行为"。在没有近距离数据反驳这个假设之前,就默认这一条。至于这条先验在其他情境下会不会出错,会不会需要更复杂的信念结构,她说这是个完全开放的问题。

她还补充了一个容易被忽略的点:预测一个人的下一步,不光要看他现在的状态,还要看他到目前为止的历史。因为你需要从历史里判断"这是个什么样的人"。"历史"是最近几分钟,还是最近几个月,取决于任务。而这个从历史状态到动作的映射,同样有无穷多种可能。

所以她真正在意的是:我们该下什么样的假设,才能让这些模型在数据之外还站得住。

要不要把"怕死"显式写进奖励函数

Lex 提了一个他觉得绕不开的东西。行人过马路那场博弈,底层其实是对死亡的恐惧。人不想死。这个"不想死"是不是得显式编码进模型里?不然机器人怎么理解人在路口的那种谨慎和算计?

德拉甘的回答出人意料地简单。她说,也许不用显式编码。

因为一旦你把一个智能体建模成"有目标、要达成某些事"的存在,你就隐含地给了它一个活下去的动机。一个死了的智能体没法达成它的目标,所以它会自我保护,这是个自然推论,不需要单独写一条。

她引了斯图尔特·罗素(Stuart Russell)那句很有名的话:你死了就没法去拿咖啡了。(You can't fetch the coffee if you're dead.)

她说这正是她被理性框架吸引的原因。尽管这个框架到处是漏洞,但它极其有用。你一旦把智能体当成有目标的,很多看起来需要单独处理的动机,会自动从结构里长出来。她的备选是什么?放弃,或者用完全的黑箱。可黑箱在分布外你什么都不知道。

所以她宁愿留在这个不完美的框架里,同时保持警觉,随时准备发现假设失效、去修正它。

坐在副驾"监督",和真的在开车,是两回事

话题转到已经在路上跑的 L2 级辅助驾驶系统上。Lex 特别提到凯迪拉克的 Super Cruise,那套系统带一个对着驾驶员的脸部摄像头,用来确认你还在看路,能脱手但不能脱眼。

他问:这种"机器人很笨、靠人补位、两个人一起活着"的设计,从研究角度看有多难?真正装到车上去卖,是不是条好路?

德拉甘先点出了这类系统普遍暗含的一个假设:我现在不真的在开车,我在监督,我的任务是随时介入。这个假设要成立,得成立一件事:我监督时的安全水平,和我亲自开的时候一样。

她对这个假设存疑,从两个角度看。

技术上,如果让系统自己开一会儿,车会跑到人自己开时根本不会去的位置,也就是从人的视角看是"换了策略"(off-policy)的状态。而人在这类状态里的表现,是不是和他在自己熟悉的状态里一样好,这个问题不好回答。

人的因素上,她觉得主动参与和被动观察是两种非常不同的体验。哪怕你努力保持投入。她拿学习举例子:学生自己努力想答案,比被动听人给答案,学得好。航空领域在人机因素上做了几十年研究,这两者不等价,基本是定论。

但 Lex 在这里提出了一个他坚持了很久、也因此挨了不少批评的观点。他说这些研究里预测的很多东西,在真实系统上被推翻了。他跟很多人聊过、也看过大规模的数据,发现在监督"足够笨"的半自动系统时,人反而更警觉。人在观察状态下的状态,可能比主动驾驶时还好。

德拉甘在这里没有强硬地守住立场,她的回应很坦诚。她说她同意这个可能性真实存在。她想指出的只是:如果你天真地做,你就隐含地相信了那个可能错误的假设。但如果你把问题想清楚,去设计一个能让驾驶员持续参与、持续被调动起来的系统,那结论就不同了。

她把这个区别讲得很清楚:"我想让人基本不开车,但随时准备接管"和"我想让人和系统配合起来表现远好于他自己单独开",这是两种完全不同的设计哲学。

前者的目标是减轻负担,后者的目标是放大能力。两者听起来都合理,但会导向完全不同的交互设计。

奖励函数是怎么写出来的?答案是:写不出来

这一段值得慢慢看。

Lex 问:我们到底怎么设计奖励函数,怎么搞出"好"的奖励函数?

德拉甘说:答案是,我们不搞。

她讲了自己的转变过程。她以前研究的问题是"怎么把奖励定制给终端用户",因为奖励本来就是关于那个具体的人想要什么。后来她意识到,就算把交互那一层完全去掉,单纯设计一个奖励函数本身就极难。

她的意思很具体。假设有个智能体,它的任务是优化某一个目标,某个奖励、某个代价。你把它写出来,然后部署。你希望的是:不管你把这个智能体扔到哪个新情境里,你写下的那个函数所激励出来的行为,都是你想看到的。

做机械臂运动规划的时候,她写一个代价函数,比如离人应该保持多远、效率该占多少权重。她需要保证,机器人在每一个新情境下解这个优化问题解出来的行为,都是她要的那个行为。

她说,我们根本不知道怎么做这件事。

她实际能做的,是想几个她认为有代表性的情境,然后反复调那个奖励函数,直到在这些情境上的最优行为看起来是她想要的。

这件事让她很挫败。因为强化学习革命给出的承诺是:不用再手动写行为了,你把情境丢进去,机器人自己算出最优动作。听起来很美。可实际上,你把调参的工作从"写行为"搬到了"写奖励"。她承认后者少得多,但它仍然是大量工作,而且你永远无法确定自己有没有漏掉五十亿个重要的东西,以及这些东西该怎么组合起来告诉机器人什么叫好、好到什么程度。

她说这段话的时候带着自嘲:她调了十年的成本函数,有很长一段时间对这个事实视而不见。

古德哈特定律,在机器人身上也成立

Lex 把这个问题提升了一层。他说这其实不专属机器人,这是人的问题。他提到古德哈特定律:一个指标一旦成为被优化的目标,它就不再是一个好指标了。

德拉甘接得很好。你写下的奖励,机器人会忠实执行,但它执行的不一定是你想要的东西。你尊重了规格,可规格错了。

这里有个很漂亮的转折。她原来研究"机器人怎么和终端用户协作,搞清楚用户想要什么"。但她发现,这件事同样适用于机器人和那个写代码的程序员之间的协作。

程序员写下奖励函数,那是他在这个情境里能做的事情。他没法扮演全知全能、精确无误的神谕。他尽力了,但他写的那个东西只是一份证据,是关于"人想要什么"的一份不完备的证据,一份需要在具体语境里被解读的说明,算不上一道终身有效的法令。

所以机器人对待奖励的态度应该是这样的:这是关于我该干什么的有用信息,但远远不是全部信息。它应该结合其他信号,去推断那个真正想被优化的东西。

这就把问题从"怎么把奖励写对"变成了"机器人怎么和写奖励的人一起,把奖励逐步修正对"。写奖励的程序员和机器人之间,也构成了一种新型的协作关系,也需要一轮轮的来回试探。

推机器人那一下,是一次纠正,是一份偏好信号

她讲了一个很具体的场景。

想象一台机器人在你家里帮你搬东西、收拾东西。它有程序员给的一个初始目标,够用了,能干活。

然后你注意到它走过来的时候离你太近了。你伸手把它推开。

这是个物理交互。在传统控制理论里,这个推力被当成一个"扰动"(disturbance),控制器的工作是拒绝它,回到原定的轨迹。

她还提到另一种处理方式,更笨拙但更直觉:进入重力补偿模式,让机器人变得能被推动,你往哪儿推,它往哪儿走。

而她想的是第三种。那个推力其实是一个关于奖励的信号。

逻辑是这样的:如果机器人原本的动作是最优的,而我推开了它,那说明我不认可它的那个"最优"。我认为它认为的最优,其实不最优。换句话说,那个代价函数写错了,那不是我想让它干的事。

所以这么一推,机器人可以反推出:这个人希望我离他远一点。它改一下代价函数,下次就会自动保持距离。

同样的逻辑适用于急停。你按了急停,可能是因为恐慌,可能是因为它真要做坏事了。机器人从这一次信号里能学到的不只是"该停",还有"我正要做的这件事,坏到了宁可停下来也不该做"。这也是一条关于偏好的信息。

她还提到更极端的信号采集方式。如果一次推力有多种解释,机器人可以主动设计动作去区分它们。比如它朝某个方向移动,看看你会不会再次纠正它,用这种方式把几种可能的解释分开。这正是前面讲的那种信息收集动作,只不过这里发生在物理空间里。

当然她也承认了难点。一次推力可能有上百万种解释,单靠一次修正学不会。你需要的也许是一段足够长的相处,让用户能逐渐把偏好刻进这台机器人的奖励函数里。每一次纠正都是一小笔存款,攒够了才看得见轮廓。

环境本身,也在泄露人的偏好

她说,人不仅通过行为泄露偏好,环境本身也在泄露。

她的例子是鞋子。机器人走进你家,看到鞋子在门口摆成一条线。这个摆法不可能自己出现,得有人花力气去做。所以机器人应该能推出来:这个人希望鞋子摆成一条线,这件事对他来说重要到值得花这份力气。

这个推理不需要机器人看见你摆鞋。它只需要从"这个世界的当前状态是怎么来的"反推"有人做了哪些选择"。

她很小心地补了一句:这个推理不能太粗暴。我屋子乱,不代表我喜欢乱,只代表我没腾出手来收拾。我把精力放在了别的事上。那机器人该推出来的是"那件别的事更重要",绝不是"这个人在意乱"。这里面的分寸很微妙。

这个想法的核心是:世界当前的状态,本身就是人做过的一连串选择的沉积。你了解了这一层,就等于读到了一部分人想要什么。

阿西莫夫的三定律,问题在于它是字面的

聊到机器人的伦理边界,Lex 搬出了阿西莫夫那三条机器人定律:不伤害人类、服从命令、保护自己。

他承认这套东西听起来天真,但他反复被人问起这些。他的父母亲属这些普通人,都在用类似的框架想象未来机器人社会:要不要给机器人植入某种普世规则?

德拉甘说她认为不该是三条定律。她说自己连那三条原话都记不清,而且核心问题是你没法把它们翻译成数学。什么叫"伤害我"?这一条怎么写成一个能优化的函数?

她回到前面那个主题:你让机器人按你说的做,但你希望你写下的东西被理解,而不是被字面执行。你对机器人说的,你要让它结合具体的语境去解读。

所以在她的实验室里,程序员的奖励函数被当成一份证据,而非一道至高无上的律令。机器人应该持续地拥有"不确定自己的奖励到底是什么"这个状态,然后从所有信号里不断学,每一次纠正、每一次演示、每一次急停,都让它的理解更准一点。

她把这和物理交互那条线接上了。机器人对奖励的不确定性,让它有能力从每一份信号里调整自己。

几条线索捋一下

聊到这里,其实可以把整场对话的骨架理一理。从头到尾都绕着"人到底是什么模型"这个轴转。

第一阶段,人被认为是理性的、在最大化效用的智能体。

第二阶段,加入噪声,人做的是近似最优的选择。

第三阶段,行为经济学说人不理性。这时候出现了一个分叉:要么放弃,承认人复杂到我们的模型处理不了;要么换一种理解,人也许是在不同的假设下、带着不同的信念、在有限的计算资源里,尽力做理性的事。

她选了后一条路。这条路把"人不理性"改写成"我们对人的假设不对",把问题从无解变成有解的。

第四阶段,重点转移到了人和机器人互相建模、互相影响这件事上。人不是被动地被观察,人是会反击、会让步、会试探的对象。机器人也不只是被动的执行者,它可以主动发问、可以塑造别人对它的看法,可以设计动作来套出信息。

这个转向很关键。它把"人机交互"从一个静态的"人对着人"的问题,变成了一个动态的博弈:双方都在观察对方,都在调整自己,都在试图影响对方的理解。她讲的那台会先探一下再变道的车,那台会在孩子推它时退后半步的机器人,那台会盯着你纠正它的手去反推代价函数的机械臂,全都在这个框架里。

一本 PDF 和一位免费补课的老师

Lex 问她,有没有哪本书影响过她的人生,或者会推荐给别人。

她讲了一段高中时的事。12 年级,她在罗马尼亚搞到了一份 Russell 和 Norvig 那本《人工智能:一种现代的方法》的 PDF。那时她对 AI 一无所知,只是看过《黑客帝国》。

她开始读那本书。让她着迷的是那个概念:你有一个目标,然后你可以从一个混乱、复杂的情境里,自己找出该做哪一系列决策,去达成这个目标。用自主的方式达成这个目标,这件事在她眼里太酷了。

她说自己知道这想法带偏见,但那真是本好书。把智能、把思考的过程,用数学的方式表达出来,这个概念一直跟着她。她今天的工作方式还是这样:写一点关于人的数学,和数据、和学习结合起来,把它交给机器人去规划。不写规则,不给启发式,让机器人自己算出周围有人的时候该怎么做。她说这是他们实验室的招牌招式。

她说这和她当年看那本书时的兴奋是同一个兴奋。当年是一个搜索算法在图上自己找到通往目标的路径,今天是机器人在人群里自己找到既安全又顺当的动作序列。同一件事,只是换了个舞台。

然后 Lex 问她,有没有一位老师特别帮助过她。

她讲出来的这一段有点动情。高中那会儿,同学们在外面做补习,准备毕业会考。她的物理一直没怎么上心,于是也去找了那位老师,名字她念作比卡(Bîcă)。

是这位老师给她打开了一扇门。老师跟她说,你该去参加竞赛,去申请国外的大学,把英语也练好。家里拿不出这些钱,老师就开始免费给她补物理,还坐下来帮她训练参加奥赛的那些东西。

她能被伯克利录取、能站到今天这个位置,这条路上的一个关键节点,来自一个完全没有理由免费帮她的人。

她说那个年代的那些小小的善意,就是有人单纯想拉一把,帮一个学生走得更远。

如果医生说她只剩五年

Lex 提了一个假设:如果医生告诉你只剩五年,你会去做什么?

她立刻说这是她最大的噩梦,因为她真的很喜欢活着。她说不喜欢死亡这件事,也不喜欢被告知自己会死。

Lex 接着追问:你怎么看死亡,是把它当作一个特性,还是一个 bug?如果可以选,你愿意永生吗?

她说她也不想永生。她提到一部剧,《善地》(The Good Place),里面反复讨论过这件事。那部剧的结论是:连来世都得是有限的,不然人就会失去意义。

她说自己不是信徒,不信死后还有什么。她认为死亡就是终点,之后你就不存在了。而她喜欢存在,觉得能存在是一种巨大的特权。

接着她说了一句很动人的话。她说,她依然认为我们那么喜欢存在,是因为它会结束,这很让人难过。她眼里几乎一切都是美的,连最傻、最日常的东西都是美的。她也清楚自己之所以觉得它美,部分是因为它有限。

Lex 在这里把话接回机器人。他说,有限性似乎是人类存在的一个根本特性,也许这个特性应该被编码进我们的奖励函数里。

她笑着说,有人批评她这是俄罗斯式的忧郁和浪漫,但这种有限性,也许确实是人的存在里该被放进模型的那一部分。

回到五年那个问题。她想了一会儿,说她不确定自己会改变什么。她做的是理解人机交互这件事,她还想继续做下去。也许会多去几趟加勒比海。她尽量做那些让她快乐的事,包括思考这些问题,这些事本身就让她快乐。不做不带来快乐的事,她大体上已经在这么活了。也许少做些系里的杂务,不再管招生,但她的同事、她的学生、她的家人朋友都很好,她已经在做的事情就是她想要的。

一次天文馆里的顿悟

最后,Lex 问了个大得不太正经的问题:生命的意义是什么?我们人类是被什么样的奖励函数驱动的?

她说这个问题没法严肃地谈,太荒唐了。但她还是讲了一段。

她在一次天文馆里。那个节目先是展示宇宙,然后镜头不断拉远、拉远,拉到你只是一粒尘埃。那一刻她脑子里在想,我们人类其实就是在这颗小星球上,对宇宙来说无关紧要。

然后讲解员聊起了多重宇宙理论。镜头开始往下缩,说这是我们的宇宙,外面还有无数个其他的宇宙,它们在不断地诞生、消失。于是我们那整个连尺度都无法想象的宇宙,本身也只是一个冒出来又消失的泡。

她说那一刻她想:行吧,那宇宙没有意义。

她得出的结论很朴素。既然宏观上没有意义,那该做的就是去影响你所能触及的那一小块,你的社区、你的朋友、你的家人,去为周围的人在场,因为往更大处看,一切都很荒唐。

Lex 问她,怎么看待这些多重宇宙,是被它的浩瀚打动,还是被它弄得有点不知所措?

她说她感到挫败。她挫败于自己理解不了。有些东西明明那么重要,她不懂,她知道世界上那些物理学家更懂,但也不完全懂。她说这感觉像是我们的大脑没有那个基本的容量。

然后 Lex 把话收回到了 AI 上。他说,这正是人工智能的梦想之一:造出系统,扩展我们的认知能力,去理解物理学里那个万物理论,去搞清楚这些多重宇宙到底是怎么回事。

这场关于机器人怎么理解人的对话,最后落在了"人怎么理解宇宙"上。落点也对得上:我们一直在用人能听懂的语言,去建模那些我们看不懂的东西。对机器人来讲,那些语言就是奖励函数。对我们自己来讲,那些语言就是物理定律。

而她把"擦窗"这件事做了一辈子。从逆向强化学习那条"人是最优的"假设开始,到玻尔兹曼理性的噪声版本,到行为经济学的"人就是乱的",再到她自己那句"人也许只是假设和我们不同",每一次她都在把上一层的假设擦掉,看看光能透进来多少。

节目结尾,Lex 引了阿西莫夫的一句话:你的假设是你看世界的窗户,隔一阵就该擦一擦,不然光透不进来。

这句话接得刚刚好。整场对话做的就是这么件事。把"人是不理性的""奖励函数写对了就行""人监督和开车是一回事"这几个假设一遍遍擦掉,光才慢慢透进来。

  • 当你觉得某个人(或某个用户、某个同事)做事莫名其妙的时候,先别急着判定他不理性。往前一步,去找他脑子里那条你没看到的假设:他掌握的信息、他的信念、他的计算资源,和你默认的一定不同。
  • 如果你在做产品、写规格、定指标,记得古德哈特定律会应验。把指标当成"关于用户想要什么的一份证据",不要当成"我必须字面执行的命令"。给你的系统留出空间,在收集到新信号之后修正自己的理解。
  • 面对不完全可控的系统(人、组织、市场),别只做被动预测然后躲开。像那台想变道的车一样,主动设计一个动作去发问,看对方的反应,再更新模型。被动观察换不来关键信息。
  • 在安全和自动化交界的地方,别默认"监督等于驾驶"。如果你在设计辅助系统,明确地问自己:我是想让人少干活,还是想让人和系统合起来比人单独干更强?这是两个不同的设计目标,会导向完全不同的交互方式。
  • 人不仅在语言里泄露偏好,行为里、环境里都在泄露。那些被刻意摆正的、花了力气维持的东西,其实都是有人在告诉你"这个对我重要"。反过来,当你想让别人(或机器)懂你时,比起写一条规则,不如留下一个能被解读的痕迹。
  • 找个时间把"人的行为相对于他想要的东西是否最优"这条假设拿出来检查一次。理解同事、伴侣、用户的时候,这大概是最值得定期擦一擦的那扇窗。
文稿由本站用语音识别模型(基于官方发布音频)机器转写,可能有识别错误,人名与数字请以音频为准。
[00:00:00] The following is a conversation with Angka Dragone, a professor at Berkeley working on human robot interaction algorithms that look beyond the robot's function, isolation and generate robot behavior that accounts for interaction and coordination with human beings. She also consults at WAMMO, the autonomous vehicle company. But in this conversation, she's 100 percent wearing her Berkeley hat. She's one of the most brilliant and fun roboticists in the world to talk with. [00:00:32] I had a tough and crazy day leading up to this conversation, so I was a bit tired, even more so than usual. But almost immediately, as she walked in, her energy, passion and excitement for human robot interaction was contagious. So I had a lot of fun and really enjoy this conversation. This is the artificial intelligence podcast. If you enjoy it, subscribe. I need to review it with five stars in the Apple podcast supported on Patrón or simply connect with me on Twitter. [00:01:03] Allex Friedman spelled F.R.. I'd MRN as usual. I'll do one or two minutes of ads now and never any ads in the middle that can break the flow of the conversation. I hope that works for you and doesn't hurt the listening experience. This show is presented by Kashyap, the number one finance app in the App Store, when you get it, use Code Lux podcast cash app lets you send money to friends, buy Bitcoin and invest in the stock market with as little as one dollar. [00:01:36] Since up does fractional share trading, let me mention that the order execution algorithm that works behind the scenes to create the abstraction of fractional orders is an algorithmic marvel. So big props to the Kashyap engineers for solving a hard problem that in the end provides an easy interface that takes a step up to the next layer of abstraction over the stock market, making trading more accessible for new investors and diversification much easier. [00:02:05] So, again, if you get cash out from the App Store or Google Play and use the Code Lux podcast, you get ten dollars in cash. Apple also donate ten dollars. The first, an organization that is helping to advance robotics and stem education for young people around the world. And now here's my conversation with anchor Druggan. When did you first fall in love with robotics? I think it was a very gradual process and it was somewhat accidental, actually, because I first started getting into programming when I was a kid and then into math and then into like computer science was the thing I was going to do. [00:03:05] And then in college, I got into A.I. and then I applied to the Robotics Institute at Carnegie Mellon, and I was coming from this little school in Germany and nobody had heard of. But I had spent an exchange semester at Carnegie Mellon. So I had letters from Carnegie Mellon. So that was the only know MIT. You said no. Berkley said no. Stanford said no. That was the only place I got into. So I went there to the Robotics Institute and I thought that robotics is a really cool way to actually apply the stuff that I knew and love, like optimization. [00:03:38] So that's how I got into robotics. I have a better story how I got into cars, which is I you know, I used to do mostly manipulation, in my opinion, but now I do kind of a bit of everything application wise, including cars. And I got into cars because I was here in Berkeley while I was a student. Still for hours. That's 2014 being organized then. And he arranged for it was Google at the time to give us rides and self-driving cars. [00:04:11] And I was in a robot and it was just making decision after decision, the right call. And it was so amazing. So it was a whole different experience. I just I mean, manipulation is so hard, you can't do anything. And there it was. [00:04:25] Was it the most magical robot you've ever met? So like for me, to me, Google's self-driving car for the first time was like a transformative moment to moments like that. That and spot many are off limits. [00:04:39] But many of the dynamics I felt like I felt like I fell in love or something like it because I thought, OK, I know how many works is just I mean, there's nothing truly special. It's great engineering work. [00:04:53] But the anthropomorphism that went on into my brain, that came to life like a head, a little arm and like and looked at me, he she looked at me, you know, I don't know. [00:05:04] There's a magical connection there. [00:05:06] And it made me realize, wow, robots can be so much more than things to manipulate objects. They can be things that have a human connection. Do you have was the self-driving car the moment like was there a robot that truly sort of inspired you? [00:05:21] That was I remember that experience very viscerally riding in that car and being just wowed. I, I had the they gave us a sticker that said I rode in a self-driving car and had this cute little firefly on. [00:05:37] Yes. And or logo that was like the smaller like the. Yeah. The really cute one. Yeah. And and I put it on my laptop and I had that for years until I finally changed my laptop out. And you know, what about if we walk back. [00:05:51] You mentioned optimization. Like what beautiful ideas inspired you in math computer science early on. Like why get into this field seems like a cold and boring field of math. Like what was exciting to you about it? [00:06:06] The thing is, I liked math from very early on. From fifth grade is when I got into the Math Olympiad and all of that. Oh, you competed. Yeah. [00:06:16] In Romania is like our national sport, you got to understand. [00:06:19] So I got into that fairly early and and it was little maybe to just theory would now kind of I didn't kind of had a didn't really have a goal and I didn't understanding which was cool. I always like learning and understanding but there was no what am I applying this understanding to. And so I think that's how I got into more heavily into computer science, because it was it was kind of math me. It's something you can do tangibly in the world. [00:06:48] Do you remember, like, the first program you've written? [00:06:51] OK, the first program I've written with I kind of do. [00:06:56] It was in Q Basic in fourth grade and I was drawing like a circle class. Yeah. I don't know how to do that anymore, but in fourth grade that's the first thing that they taught me. I was like, you could take a special I wouldn't say it was an extra curiousness cents an extra curricular so you could sign up for, you know, dance or music or programming. And I did the programming thing and my mom was like, why? [00:07:23] Why did you compete in a program like these days? Romania probably. That's like a big thing. There's a program and competitions. Was that did that touch you? [00:07:34] I did a little bit of the computer science Olympian, but not not as seriously as I did the math Olympian. So it's programming. Yeah, it's. Basically, here's a hard math problem solved with a computer is kind of more like algorithm. Exactly. It's Outlaw's algorithmic. So you kind of mentioned the Google self-driving car, but outside of that. [00:07:57] Well, what's like who or what is your favorite robot, real or fictional, that captivated your imagination throughout? I mean, I guess you kind of alluded to the Google soldier. The firefly was a magical moment, but is there something else, the firefly in there? [00:08:13] It was I think that was the Lexus, by the way. This was back back then, but. Yeah, so good question. I think my favorite fictional robot is Wally, and I love how amazingly expressive it is. I'm pursuing things a little bit about expressive motion kinds of things. You're saying you can do this and it's ahead and it's a manipulator. And what does it all mean? I like to think about that stuff. I love Pixar. [00:08:42] I love animation. I love Wally has two big eyes, I think, or not. Yeah, it has these D cameras and they move. So yeah, that's it's a you know, it goes and then it's super cute. It's yeah. It's the way it moves. It's just so expressive. The timing of that motion, the, what it's doing with its arms and what it's doing with these lenses is amazing. [00:09:05] And so I've, I've really liked that from the start. And then on top of that, sometimes I shared this. It's a personal story to share with people or when I teach about a guy or whatnot. My husband proposed to me by building a wally and he actuated it. So it's seven degrees of freedom, including the lens thing. And it kind of came in and it had the he made it have like a, you know, the belly box opening thing. [00:09:39] So it just did that. And then it's filled out this box, made out of Legos that opened slowly and then bam. [00:09:46] Oh, yeah. It was it was quite quiet, it set a bar. It could be like the most impressive thing I've ever heard. [00:09:54] OK, that is such a connection to a wildly long story short, I like Walter because I like animation and I like robots and I like, you know, the fact that this was we still have this robot to this day. [00:10:06] What how hard is that problem, do you think, of the expressivity of robots like the with the Boston Dynamics? I never talk to those folks about this particular element of talk to them a lot, but it seems to be like almost an accidental side effect for them that they weren't. I don't know if they're faking it. They weren't trying to. OK, they do say that the gripper was not intended to be a face. I don't know if that's an honest statement, but I think they're legitimate, probably probabilities, and so do we automatically just anthropomorphize any anything we can see? [00:10:46] It's like the question is, how hard is it to create a wolly type robot that connects so deeply with us humans? [00:10:52] What do you think is really hard? Right. So it depends on what setting. So if you want to do it in this very particular narrow setting where it does only one thing and it's expressive, then you can get an animator. You can, you know, can have Pixar on call, come in, design some trajectories. That was the guy had a robot called Kozmo or they put in some of these animations. That part is is easy, right. [00:11:17] The hard part is doing it not via these kind of handcrafted behaviors, but doing it generally autonomously. Like, I want robots. I don't work. Just to clarify, I don't I used to work a lot on this. I don't work on that quite as much these days. But but the notion of having robots that, you know, when they pick something up and put it in a place, they can do that with various forms of of style. [00:11:45] Or you can say, well, this robot is, you know, succeeding at this task and is confident versus it's hesitant versus, you know, maybe it's happy or it's, you know, disappointed about something, some failure that it had. [00:11:55] Or I think that when robots move, they can communicate so much about internal states or perceived internal state that they have. [00:12:06] And I think that's really useful and an element that will want in the future, because I was reading this article about how kids are kids are being rude to Alexa because they can be rude to it and it doesn't really get angry. [00:12:28] Right. It doesn't reply in any way. It just says the same thing. [00:12:32] So I think there's at least for that for the for the correct development of children that these things you kind of react differently. I also think, you know, you walk in your home and you have a personal robot. And if you're really pissed, presumably robots should kind of behave slightly differently than when you're super happy and excited. [00:12:49] But it's really hard because it's I don't know the way I would think about it and the way I thought about it when it came to expressing goals or intentions for robots. It's well, what's really happening is that instead of doing robotics where you have your state, then you have your action space and you have your space, the reward function and trying to optimize. Now, you kind of have to expand the notion of state to include this human internal state. [00:13:19] What is the person actually perceiving? What do they think about the robot? Something better. And then you have to optimize in that system. And that means you have to understand how your motion, your actions and sort of influencing the observers kind of perception of you. And it's very it's very hard to write math about that. Right. [00:13:42] So when you start to think about incorporating the human into the state model, apologize for the philosophical question. [00:13:50] But how complicated a human beings do you think I can be reduced to to a kind of almost like an object that moves and maybe has some basic intents? [00:14:03] Or is there something do we have to model things like mood and general aggressiveness? And I mean, all these kinds of human qualities are like game theoretic qualities, like what's your sense, how complicated it is? [00:14:17] How hard is the problem of human robot interaction? [00:14:20] Yeah. Should we talk about what the problem of human robotics is? [00:14:25] Yeah, this is what I do. [00:14:26] And then when robot I then talk about how that. Yeah. So and by the way, I'm going to talk about this very particular view of human robot interaction. Right. Which is not so much on the social side or on the side of how you have a good conversation with the robot. What should the robots appearance be? Turns out that if you make robots dollar versus started, this has an effect on how people act with them. So I'm not I'm not talking about that. [00:14:51] But it's OK. You have this very kind of narrow thing, which is you take if you want to take a task that a robot can do in isolation in a lab out there in the world, but in isolation. And now you're asking, what does it mean for the robot to be able to do this task for presumably what it's actually end goal is, which is to help some person that ends up changing the problem in two ways. [00:15:20] The first way is the problem is that the robot is no longer the single agent acting. Do you have humans who also take actions in that same space? [00:15:29] You know, cars navigate around people, robots around the office navigating around the people in that office. If I send the robot to over there in the cafeteria to get me a coffee, then there's probably other people reaching for stuff in the same space. And so now you have your robot and you're in charge of the actions that the robot is taking. And you have these people who are also making decisions and taking actions in that same space. And even if, you know, the robot knows what, it's what it should do and all of that just coexisting with these people. [00:15:59] Right. Kind of getting the actions to gel well, to mesh well together. That's sort of the kind of problem, number one. [00:16:07] And then there's problem number two, which is goes back to this notion of I if I'm a programmer, I can specify some objective for the robot to go off and optimizing, specify the task. [00:16:20] But if I put the robot in your home, presumably you might have your own opinions about, well, OK, I want my house cleaned, but how do I want it cleaned and how should robots how close to me it should come and all of that. And so I think those are the two differences that you have. You're acting around people and you what you should be optimizing for should satisfy the preferences of that end user, not of your programmer who programmed you. [00:16:48] And the preferences thing is tricky. So figuring out those preferences be able to interactively adjust to understand what the human is. It really boils down to understand the humans in order to interact with them, in order to please them. Right. So why is this hard? [00:17:05] What? Yeah. Why is understanding humans hard? [00:17:08] So I think there's two tasks about understanding humans that in my mind are very, very similar. [00:17:17] But not everyone agrees. So there's the task of being able to just anticipate what people will do. We all know the cards need to do this, right? We all know that. Well, if I navigate around some people, the robot has to get some notion of where where is this person going to be? So that's kind of the prediction side. And then there's what you are saying, satisfying the preferences. Right. So adapting to the person's preference is knowing what to optimize for, which is more inference like this. [00:17:43] What is what does this person want? What is their intent? What are their preferences? And to me, those kind of go together, because I think that in if you look at the very least, if you can understand, if you can look at human behavior and understand what it is that they want, then that's sort of the key enabler to being able to anticipate what they'll do in the future. Because I think that, you know, we're not arbitrary. [00:18:10] We make these decisions that we make. We act in the way we do because we're trying to achieve certain things. And so I think that's the relationship between them. Now, how complicated do these models need to be in order to be able to understand what people want? So we've gotten a long way in robotics with something called inverse reinforcement learning, which is the notion of someone acts demonstrates what have they want the thing done, what is an inverse reinforcement learning. [00:18:42] Right. So it's it's the problem of take human behavior and infer reward function from this to figure out what it is that that behavior is optimal with respect to. [00:18:54] And it's a great way to think about learning human preferences in the sense of, you know, you have a car and the person can drive it and then you can say, well, OK, I can actually learn what the person is optimizing for. I can learn their driving style. Or you can you can have people demonstrate how they want the house clean. And then you can say, OK, this is this is I'm getting the trade that they're that they're making. [00:19:20] I'm getting the preferences that they want out of this. [00:19:23] And so we've been successful in robotics somewhat with this. And it's it's based on a very simple model of human behavior is a remarkably simple which is that human behavior is optimal with respect to whatever it is that people want. Right. They make that assumption. And now you can kind of inverse through. That's why it's called inverse. Well, really optimal control, but but also inverse reinforcement learning. So this is based on a utility maximization in economics back in the to for Nomen Morganstein or like, OK, people are making choices by maximizing utility go. [00:20:02] And then in the late 50s we had Loose and Sheppard come in and say people are a little bit noisy and approximate in that process. So they might choose something kind of stochastic li with probability proportional to how much utility something has. There's a bit of noise in there. This has translated into robotics and something that we call bowsman rationality. So it's a kind of an evolution of. First, reinforcement learning that accounts for four human noise, and we've had some success with that, too, for these tasks where it turns out people act noisily enough that you can just do vanilla, the vanilla version, you can account for noise and still infer what what they seem to want based on this. [00:20:54] Then now we're hitting tasks or that's though not enough. And what it was. [00:20:59] What are examples of examples? So imagine you're trying to control some robot that's that's fairly complicated. You're trying to control the robot arm because maybe you're a patient with a motor impairment and you have this wheelchair mounted army and trying to control it around. [00:21:14] Or one test that we've looked at with Serguei is and our student said is a lunar lander. So I don't know if you know, this Atari game. It's called lunar lander. It's really hard. People really suck at landing, but mostly they just crashed hard left and right. [00:21:29] OK, so this is the kind of test to imagine you're trying to provide some assistance to a person operating such such a robot where you want the kind of the autonomy to kid can figure out what it is that you're trying to do and help you do it. [00:21:43] It's really hard to do that for, say, lunar lander because people are all over the place. And so they seem much more noisy than really rational. That's an example of a task where these models are kind of failing us. And it's not surprising because so we talk about Forty's utility, late fifties, sort of noisy. Then the 70s came and behavioral economics started being a thing where people are like, no, no, no, no, no, people are not rational. [00:22:15] People are messy and emotional and irrational and have all sorts of heuristics that might be domain specific. And they're just just a mess. The mess. So so what? So what does my robot do to understand what you want? And it's a very it's very that's why it's complicated. You know, for the most part we get away with pretty simple models until we don't. And then the question is, what do you do then? And I have days when I wanted to, you know, pack my bags and go home and switch jobs because because just it feels really daunting to make sense of human behavior enough that you can reliably understand what people want, especially as you know, robot capabilities will continue to get developed. [00:23:02] You'll get these systems that are more and more capable of all sorts of things. And then you really want to make sure that you're telling them the right thing to do. What is that thing? Well, read it in human behavior. [00:23:13] So if I just sat here quietly and try to understand something by you, by listening to you talk, it would be harder than if I got to say something and ask you and interact and control. Can you can the robot help with understanding of the human by influencing it, influencing the behavior, by actually acting? [00:23:35] Yeah, absolutely. So one of the things that's been exciting to me lately is this notion that when you try to that that that when you try to think of the robotics problem as, OK, I have a robot and it needs to optimize for whatever it is that a person wants it to optimize as opposed to maybe what a programmer said. That problem we think of as a human robot collaboration problem in which both agents get to act, in which the robot knows less than the human because the human actually has access to, you know, at least implicitly to what it is that they want. [00:24:14] They can write it down, but they can they can talk about it. They can give all sorts of signals. They can demonstrate. And and but the robot doesn't need to sit there and passively observe human behavior and try to make sense of the robot can act, too. And so there's this information gathering actions that the robot can take to sort of solicit responses that are actually informative. So, for instance, this is not for the purpose of assisting people, but with kind of back to coordinating with people and cars and all of that. [00:24:44] One thing that Dorsa did was so we were looking at cars being able to navigate around people. [00:24:52] And you might not know exactly the driving style of a particular individual that's next to you, but you want to change lanes in front of them, navigating around other humans inside cars. [00:25:05] Yeah, good. Good clarification question. So you have an autonomous car and is trying to navigate the road around human driven vehicles, similar things. Ideas apply to pedestrians as well. But let's just take human driven vehicles. So now you're trying to change a lane? Well, you could be trying to infer the driving style of this person next to you. You'd like to know if they're in particular, if they're sort of aggressive or defensive, if they're going to let. [00:25:33] You kind of go in or if they're going to not, and and it's very difficult to just, you know, went if you think that if you want to hedge your bets and maybe they're actually pretty aggressive, I should try this. You kind of end up driving next to them and driving next to them. Right. And then you you don't know because you're not actually getting the observations that you get the way someone drives when they're next to you and they just need to go straight. [00:26:01] That's kind of the same because if they're aggressive or defensive. And so you need to enable the robot to reason about how it might actually be able to gather information by changing the actions that it's taking. And then the robot comes up with these cool things where it kind of nudges towards you and then sees if you're going to slow down or not, then if you slow down, it sort of updates its model of you and says, OK, you're more on the defensive side. [00:26:28] So now I can actually. [00:26:29] That's a fascinating dance. So that's so cool. You could easily use your own actions to gather information. That's a that feels like a totally open, exciting new world of robotics. I mean, how many people are even thinking about that kind of thing? [00:26:45] A handful of others. Yes. It's rare because it's actually leveraging human. We most roboticists I've talked to a lot of, you know, colleagues and so on, a kind of being honest, kind of afraid of humans because they're messy and complicated. [00:27:02] Right. I understand. Going back to what we were talking about earlier, right now we're kind of in this dilemma of, OK, there are tasks that we can just assume people are approximately rational for and we can figure out what they want, can figure out their goals and figure out their driving styles, whatever. Cool. There are these tasks that we can't. So what do we do? Right? Do we pack our bags and go home? And this one this there's I've had a little bit of hope recently, and I'm kind of doubting myself. [00:27:31] What do I know that, you know, 50 years of behavioral economics hasn't figured out, but maybe it's not really in contradiction with what? With the way that field is headed. But basically, one thing that we've been thinking about is instead of kind of giving up and saying people are too crazy and irrational for us to make sense of them, maybe we can give them a bit the benefit of the doubt and maybe we can think of them as actually being relatively rational, but just under different assumptions about the world, about how the world works, about, you know, they don't have we when we think about rationality, implicit assumption is or they're rational and they're all the same assumptions and constraints as the robot. [00:28:16] Right. What if this is the state of the world? That's what they know. This is the transition function. That's what they know. This is the horizon. That's what they know. But maybe maybe the kind of this difference, the way the reason they can seem a little messy and hectic, especially to robots, is that perhaps they just make different assumptions or have different beliefs. [00:28:38] Yeah. [00:28:39] So, I mean, that's that's another fascinating idea that this kind of anecdotal desire to say that humans are irrational, perhaps grounded in behavioral economics is is that we just don't understand the constraints and there was under which they operate. And so our goal should be to throw our hands up and say they're irrational. It's to say, let's try to understand what are the constraints, what it is that they must be assuming that makes this behavior makes sense. [00:29:08] A good life lesson, right? Good life lesson. [00:29:10] That's true. It's just outside of robotics. That's good to that's communicating with humans. [00:29:15] That's just a good assume that you just don't have empathy. Right. [00:29:20] So just maybe there's something you're missing and you and it's you know, it especially happens to robots because they're kind of dumb and they don't know things. And oftentimes people are sort of super irrational in that they actually know a lot of things that robots don't sometimes like. [00:29:33] With the lunar lander, the robot knows much more so and so. [00:29:38] It turns out that if you try to say, look, maybe people are operating this thing, but assuming a much more simplified physics model because they don't get the complexity of this kind of craft or the robot arm with seven degrees of freedom, with these inertia and whatever, so so maybe they have this intuitive physics model, which is not, you know, this notion of intuitive physics is something that is studied actually in cognitive science. [00:30:03] Folks like Josh Tennenbaum, Tom Griffitts work on this stuff. [00:30:07] And and what we found is that you can actually try to figure out what what physics model kind of best explains human actions. And then you can use that to sort of correct what it is that they're commanding the craft to do. So they might be sending the craft somewhere, but instead of executing that action, you can sort of take a step back and say according to their intuitive. If the world worked according to their intuitive physics model, where do they think that the craft is going today? [00:30:41] Where are they trying to send it to? And then you can use the real physics, the inverse of that, to actually figure out what you should do so that you do that instead of where they were actually sending you in the real world. And I kid you not at work. People plan to burn the damn thing and, you know, in between the two flags and and all that. So it's not conclusive in any way. [00:31:02] But I'd say it's evidence that maybe we're kind of underestimating humans in some ways when we're giving up and saying, oh, they're just crazy noisy, then you then you try to explicitly try to model the kind of world view that they have that they have. [00:31:16] That's right. That's right. And it's not true. I mean, there's things that people can always do that that that, for instance, have touched upon the planning horizon. So there's this idea that I just bounded rationality, essentially, and the idea that, well, maybe we work on their computational constraints. And I think kind of our view recently has been take the Bellmon update in A.I. and just break it in all sorts of ways by saying, no, no, no. [00:31:40] The first one doesn't get to see the real state. Maybe they're estimating somehow transition function. [00:31:44] No, no, no, no, no. Even the actual reward evaluation. Maybe they're still learning about what it is that they want. [00:31:52] Like like, you know, when you watch Netflix and you have all the things and then you have to pick something, imagine that, you know, the the the AI system interpreted that choice as this is the thing you prefer to see. How are you going to know you're still trying to figure out what you like, what you don't like, etc.. So I think it's important to also account for that. So it's not irrationality because doing the right thing under the things that they know. [00:32:17] Yeah, that's brilliant. [00:32:18] You measure recommender systems. [00:32:20] What kind of and what we're talking about human interaction, problem spaces are you thinking about. So is it robots like wheels, robots, autonomous vehicles? [00:32:33] Is it object manipulation that when you think about human robot interaction in your mind and maybe I'm sure you can speak for the entire community of human interaction, but like, what are the problems of interest here is and does it um, you know, I kind of think of open domain dialogue as a human robot interaction, and that happens not in the physical space, but it could just happen in in the virtual space. [00:33:03] So where the where is the boundaries of this field for you when you're thinking about the things we've been talking about? [00:33:08] Yeah. So I, I try to find kind of underlying I don't know what to even call them. [00:33:19] I try to work on, you know, I might call what I do the kind of working on the foundations of algorithmic human robot interaction and trying to make contributions there. And it's important to me that whatever we do is actually somewhat domain agnostic when it comes to is it about, you know, autonomous cars or is it about quadrotor or is it about sort of the same underlying principles apply. Of course, when you're trying to get a particular domain to work, you usually have to do some extra work to adapt to that particular domain. [00:33:53] But these things that we were talking about around, well, you know, how do you model humans? [00:33:59] It turns out that a lot of systems need to benefit from a better understanding of how human behavior relates to what people want and need to predict human behavior, physical robots of all sorts and beyond that. And so I used to do manipulation. I used to be, you know, picking up stuff. And then I was picking up stuff with people around. And now it's sort of very broad when it comes to the application level, but in a sense, very focused on, OK, how does the problem need to change? [00:34:31] How do the algorithms need to change when we're not doing a robot by itself, you know, emptying the dishwasher, but we're stepping outside of that. [00:34:40] A thought that popped into my head just now on the game theoretic side of things, you said this really interesting idea of using actions to gain more information. [00:34:50] But if we think a sort of game theory, the humans that are interacting with you, with you, the robot thinking the identity of the robot, I did that all the time. [00:35:04] Yeah. Is they also have a world model of you. [00:35:11] Hmm. And you can manipulate that. [00:35:14] And if we look at autonomous vehicles, people have a certain viewpoint. You said with the kids, people see Alexa as a in a certain way. [00:35:24] Is there some value in trying to also optimize how people see you as a robot? [00:35:30] Mm hmm. Is that or is that a little too far? Away from the specifics of what we can solve right now. So you all both, right. So it's really interesting and we've seen a little bit of progress on this problem, on pieces of this problem. So you can, again, kind of comes down to how complicated as the human model need to be. But in one piece of work that we were looking at, we just said, OK, there's these there's these parameters that are internal to the robot and they're what they're what the robot is about to do or maybe what objective or driving style the robot has or something like that. [00:36:12] And what we're going to do is we're going to set up a system where part of the state is the person's belief over those parameters. And now when the robot acts, that the person gets new evidence about this robot internal state. And so they're updating their mental model of the robot. Right. So if they see a car that sort of cut someone off dog, oh, that's an aggressive car. They know more. Right. [00:36:37] If they see sort of a robot head towards a particular door, they're like, oh, the robots trying to get to that door. So this thing that we have to do with humans to try to understand their goals and intentions, humans are inevitably going to do that to robots. And then that raises this interesting question that you asked, which is, can we do something about that? This is going to happen inevitably, but we can sort of be more confusing or less confusing to people. [00:37:01] And it turns out you can optimize for being more informative and less confusing if you if you have an understanding of how your actions are being interpreted by the humans, how they're using these actions to update their belief. [00:37:13] And honestly, all we did is just Bayes rule, basically, OK, first has a belief they see in action. [00:37:21] They make some assumptions about how the robot generates its actions, presumably as being rational, because robots are rational, they're reasonable to assume that about them. And then they incorporate that that new piece of evidence, no sense in their belief, and they obtain a posterior. And now the robot is trying to figure out what actions to take so that it steers the person's belief to put as much probability mass as possible on the correct on the correct parameters. [00:37:48] So that's kind of a mathematical formalization of that. But my worry and I don't know if you want to go there with me, but I talk about this quite a bit. [00:38:01] The the kids talking to Alexa disrespectfully worries me. I worry in general about human nature. I guess that I grew up in Soviet Union, World War Two. I mean, due to so the Holocaust and everything. [00:38:15] I just worry about how we humans sometimes treat the other. The group that we call the other, whatever it is to human history, the group that the other has been changed faces, but it seems like the robot will be the other, the other, the next, the other. [00:38:32] And one thing is, it feels to me that robots don't get no respect. [00:38:39] They get shoved around, shoved around. And is there one at the shallow level for better experience? It seems that robots need to talk back a little bit. Like my intuition says, I mean, most companies from sort of Roomba autonomous vehicle companies might not be so happy with the idea that a robot has a little bit of an attitude. [00:39:00] But I feel it feels to me that it's necessary to create a compelling experience like we humans don't seem to respect anything that doesn't give us some attitude that or like Misbah mix of mystery and attitude and anger and that that threatens us subtly, maybe passive aggressively. [00:39:21] I don't it seems like we humans yet need that. [00:39:25] What are you Is there something you have thoughts on this? I'll give you two thoughts, OK? Sure. One is one is it it's we respond to someone being assertive, but we also respond to someone being vulnerable. [00:39:43] So I think robots was my first thought is that robots get shuffled around and bullied a lot because they're sort of, you know, tempting and they're sort of showing off or they appear to be showing off. And so I think going going back to these things we were talking about in the beginning of making robots a little more a little more expressive, a little bit more like that wasn't cool to do. [00:40:04] And now I'm bummed. I think that that can actually help because people can't help but anthropomorphize and respond to that, even though the emotion being communicated is not in any way a real thing. And people know that it's not a real thing because they know it's just a machine. We're still interpret. You know, we watch there's this famous psychology experiment with little triangles and dots on a screen and a triangle is chasing the square and get really angry at the darn triangle because why is it not leaving the square alone? [00:40:35] So that's yeah, we can't help. [00:40:37] That was the first thought. The vulnerability is really interesting that I think of like being a pushing back, being assertive as the only mechanism of getting of forming a connection, of getting respect, but perhaps vulnerability. Perhaps there's other mechanisms that are less that. Yeah, well, I think what a little bit. [00:41:00] Yes. But then this other thing that we can think about is it goes back to what you were saying, that interaction is really game theoretic. Right. So the moment you're taking actions in a space, the humans are taking actions in that same space. But you have your own objective, which is, you know, you're a car. You need to get your passenger to the destination. And then the human nearby has their own objective, which somewhat overlaps with you, but not entirely you. [00:41:24] You're not interested in getting into an action with each other, but you have different destinations and you want to get home faster and they want to go home faster. And that's a general sum game at that point. And so that's I think that's what treating it as such is kind of a way we can step outside of this kind of mode that where you try to anticipate what people do and you don't realize you have any influence over it while still protecting yourself, because you're understanding that people also understand that they can influence you. [00:41:59] And it's just kind of back and forth in this negotiation, which is really, really talking about different equilibria of a game. [00:42:07] The very basic way to solve coordination is to just make predictions about what people will do and then stay out of their way. [00:42:14] And that's hard for the reasons we talked about, which is how I have to understand people's intentions implicitly or explicitly. [00:42:21] Who knows? But somehow you have to get enough of an understanding of that world to anticipate what happens next. And so that's challenging. But then it's further challenged by the fact that people change what they're do based on what you do, because they don't they don't plan in isolation either. [00:42:37] Right. So when you see cars trying to merge on a highway and not succeeding, one of the reasons this can be is because you you they they look at traffic that keeps coming. [00:42:50] They predict what these people are planning on doing, which is to just keep going and then they stay out of the way because there's not there's no feasible plan. Right. Any plan would actually intersect with one of these other people. [00:43:03] So that's bad. So you get stuck there. [00:43:06] So now kind of if if you start thinking about it as no, no, no, actually, these people change what they do depending on what the car does. [00:43:17] Give the car actually tries to kind of change itself forward. They might actually slow down and let the car in and down, taking advantage of that. Well, that you know, that's kind of the next level. We call this like this under actuated system idea where it's been under actresses in robotics. [00:43:35] But it's kind of it's you don't you're influenced these other degrees of freedom, but you don't get to decide what it's a similar scene. [00:43:44] You mentioned that the human element in this picture, as Underexploited said, you know, you understand a director about a robotics is, you know, that you can't fully control the system. [00:43:58] So you can't go in arbitrary directions and the configuration space under your control. Yeah, it's a very simple way of under actuation where basically there's literally these degrees of freedom that you can control and these things that you can't, but you influence them. And I think that's the important part, is that they don't do whatever, regardless of what you do, that what you do influence is what they end up doing. [00:44:19] I just also like the poetry of calling human robot interaction and undereducated. Robotics problem in Yosemite is sort of nudging, it seems that they're I don't know, I think about this a lot. In the case of pedestrians, I've collected hundreds of hours of videos. I like to just watch pedestrians. And it seems that it's a funny hobby. [00:44:41] Yeah, it's weird because I learn a lot. I learn a lot about myself, about our human behavior from watching pedestrians, watching people in their environment. [00:44:52] Basically crossing the street is like you're putting your life on the line. [00:44:58] You know, I don't know. [00:44:59] Tens of millions of times in America every day is people are just like playing this weird game of chicken when they cross the street, especially when there's some ambiguity about the right of way. [00:45:11] That has to do either with the rules of the road or with the general personality of the intersection based on the time of day and so on. [00:45:19] And this nudging idea, I don't you know, it seems that people don't even nudge. They just aggressively take make a decision. Somebody there's a runner that gave me this advice I sometimes run into in the street and, you know, not in the street and the sidewalk. And he said that if you don't make eye contact with people when you're running, they will all move out of your way. [00:45:42] It's called civil inattention. Civil inattention. That's the thing. Wow. I need to look this up, but it works. What is that? [00:45:50] My sense was if you communicate like confidence in your actions, that you're unlikely to deviate from the action that you're following. That's a really powerful signal to others that they need to plan around your actions as opposed to nudging where you're sort of hesitantly then the hesitation might communicate that you're now you're still in the dance in the game that they can influence with their own actions. [00:46:16] I've recently had a conversation with Jim Keller, who's sort of this legendary chip or chip architect, but he also led the autopilot team for a while and his intuition that driving is fundamentally still like a ballistics problem, like you can ignore the human element that is just not hitting things and you kind of learn the right dynamics required to do the merger and all those kinds of things. [00:46:47] And then my sense is, and I don't know if I can provide sort of definitive proof of this, but my sense is like an order of magnitude or more more difficult when humans are involved. Like it's not simply an object, a collision avoidance problem. Which word is your intuition? Of course, nobody knows the right answer here, but where does your intuition fall on the difficulty, fundamental difficulty of the driving problem when humans are involved? [00:47:15] Yeah, good question. [00:47:17] I have many opinions on this. [00:47:20] Imagine downtown San Francisco. Yeah. Yeah, it's crazy busy. Everything OK now? Take all the humans out. No pedestrians, no human driven vehicles, no cyclists, no people and little electric scooters zipping around. Nothing. I think we're done. I think driving at that point is done or done. I there's nothing really that's me still needs to be solved about that. Let's pause there. [00:47:47] I think I agree with you and I think a lot of people, though, here will agree with that. But we need to sort of internalize that idea. [00:47:58] So what's the problem there? Not quite yet be done with that, because a lot of people kind of focus on the perception problem. [00:48:06] A lot of people kind of map autonomous driving into how close are we to solving being able to detect all the, you know, the drivable area, the objects in the scene. Do you see that as how hard is that problem? [00:48:24] So your intuition there behind your statement was we may have not solved the yet, but we're close to solving basically the perception problem? I think the perception problem I mean and by the way, a bunch of years ago, this would not have been true. And a lot of issues and the space were coming from the fact that we don't really you know, we don't know what's what's where. But I think it's fairly safe to say that at this point, although you could always improve on things and all of that, you can drive through downtown San Francisco if there are no people around. [00:48:57] There's now really perception issues standing in your way there. [00:49:02] Any perception is hard. But, yeah, it's we've made a lot of progress on the perceptions on how to undermine the difficulty of the problem. I think everything about robotics is really difficult. Of course, I think that, you know, the the the the planning problem, the control problem, all very difficult. But I think what's what makes it really. [00:49:20] Yeah, it might be. [00:49:21] I mean, you know, I and I think downtown San Francisco, it's adapting to well, now it's knowing now it's no longer snowing. [00:49:29] Now it's slippery in this way. Now it's the dynamics part could good. I could imagine being being still somewhat challenging. [00:49:40] But know the thing that I think worries us and our intuition is not good. There is the perception problem at the Edge cases sort of downtown San Francisco. [00:49:51] The nice thing, it's not actually you may not be a good example because, um, because you know what to what you're getting for a while, there's, like, crazy construction zones. [00:50:00] Yeah. [00:50:00] But the thing is, you're traveling at slow speeds, so it doesn't feel dangerous to me. What feels dangerous is highway speeds when everything is to us humans. Super clear. Yeah. [00:50:12] I'm assuming light out here, by the way. I think it's kind of irresponsible to not use lighter. [00:50:16] That's just my personal opinion. That's I mean, getting on use case. [00:50:21] But I think, like, you know, if you're if you have the opportunity to use lighter and a lot in a lot of cases, you might not. [00:50:29] Good. Your intuition makes more sense now. So you don't think vision. [00:50:32] I really just don't know enough to say, well, vision alone. What you know what like there are a lot of how many cameras do you have? Is that how you think? I don't know. I'm just there's all there's all sorts of details. I imagine there's stuff is really hard to actually see. I don't know. How do you deal with what exactly what you are saying stuff that people would see that that that you don't? I think I have more. [00:50:56] My information comes from systems that can actually use lighter as well. [00:51:01] Yeah. And until we know for sure, it makes sense to be using Lydda, that's kind of the safety focus. [00:51:07] But then the sort of the I also sympathize with the Elon Musk. The statement of light as a crutch is. [00:51:17] It's a fun notion to think that the things that work today is a crutch for the invention of the things that will work tomorrow. Right. [00:51:27] They get it's kind of true in the sense that if, you know, we want to stick to the conference and you see this in academic and research settings all the time, the things that work force you to not explore outside, think outside the box. [00:51:42] I mean, that happens all the time. The problem is in safety critical systems, you kind of want to stick with the things that work. So it's it's an interesting and difficult tradeoff in the in the in the case of real world sort of safety critical robotic systems. [00:51:57] But so your intuition is. Just to clarify, yes, how I mean, how hard is this human element for that? How hard is driving when this human element is involved? [00:52:12] Are we. [00:52:14] Years, decades away from solving it, but perhaps actually the years and the thing I'm asking, it doesn't matter what the timeline is, but do you think we're how many breakthroughs are way away from us in solving the human interaction problem to get this to get this right? [00:52:32] I think it in a sense, it really depends. I think that, you know, we were talking about how well, look, it's really hard because anticipate we will do as hard and on top of that, playing the game as hard. [00:52:47] But I think we sort of have the fundamental some of the fundamental understanding for that. [00:52:55] And you already see that these systems are being deployed in the real world, you know, even even driverless, because I think now a few companies that don't have a driver in the car. Yeah, some small areas. [00:53:13] I got a chance to I went to Phoenix and I shot a video with way I need to get that video out. People have been giving me slack for this incredible engineering work being done there. And it's one of those other seminal moments for me in my life to be able to. [00:53:30] It sounds silly, but to be able to drive without it, with a ride. So without a driver in the seat, I mean, that was an incredible robotics. [00:53:39] I was driven by a robot and without being able to take over, without being able to go and take the steering wheel, that's a magical that's a magical moment. So in that regard, in those domains, at least for like Wimoweh, they're they're they're solving that human. There's I mean, they're they're going for I mean, felt fast because you're, like, freaking out. At first I was this is my first experience, but it's going like the speed limit, right. [00:54:06] 30, 40, whatever it is. [00:54:08] And there's humans and it deals with them quite well. It detects them and then negotiates the intersections, the left turns and all that. So at least in those domains, it's solving them. The open question for me is like, how quickly can we expand? [00:54:23] You know, that's the you know, outside of the weather conditions, all those kinds of things, how quickly can we expand to, like, cities like San Francisco? [00:54:31] Yeah, and I wouldn't say that. It's just, you know, now is just pure engineering. And it's probably the I mean, by the way, I'm speaking kind of very generally here as hypothesising. But I I think that that there are successes and yet no one is everywhere out there. So that seems to suggest that things can be expanded and can be scaled. And we know how to do a lot of things. But there's still probably, you know, new algorithms or modified algorithms that that you still need to put in there as you as you learn more and more about new challenges that you get faced with. [00:55:12] And how much of this problem do you think can be learned through and turned to the success of machine learning and reinforcement learning? How much of it can be learned from sort of data from scratch and how much which is most of the success of autonomous vehicle systems have a lot of heuristics and rule based stuff on top like human expertise in in injected forced into the system to make it work. What's what's your sense? [00:55:39] How much what's the what will be the role of learning in the near term? [00:55:44] I think term I, I think on the one hand that learning is inevitable here. Right. I think on the other hand, that when people characterize the problem as it's a bunch of rules that some people wrote down versus it's an end to end RL system or imitation learning, then maybe there's kind of something missing from maybe that's that's more so, for instance, I think a very, very useful tool in this sort of problem, both in how to generate the car's behavior and robots in general and how to model human beings is actually planning search optimization. [00:56:32] Robotics is the sequential decision making problem. And when when a robot can figure out on its own how to achieve its goal without hitting stuff and all that stuff. Yeah, all the good stuff for motion planning one one. I think of that as very much. Why not? This is some role or something. There's nothing rule based around that. Right? It's just you're you're searching through space and figuring out are you optimizing through our space and figure out what seems to be the right thing to do. [00:57:04] And I think it's hard to just do that because you need to learn models of the world. And I think it's hard to just do the learning part where you don't. I don't bother with any of that, because then you're saying, well, I could do imitation, but then when I go off distribution, I'm really screwed. Or you can say I can do reinforcement learning, which adds a lot of robustness. But then you have to do either reinforcement learning in the real world, which sounds a little challenging, or that trial and error, you know, or you have to do reinforcement learning and simulation. [00:57:38] And then that means, well, guess what? You need to model things at least to to model people, model the world enough that you you know, whatever policy you get of that is like actually fine to roll out in the world and do some additional learning there. [00:57:53] So do you think simulation, by the way, just a quick tangent, has a role in the human robot interaction space? Like is it useful? It seems like humans, everything we've been talking about are difficult to model simulate. Do you think simulation has a role in the space? [00:58:10] I do. I think so, because you can take models and train with them ahead of time, for instance. You can. [00:58:23] But the models sorry to interrupt the models are of human constructed or learned. [00:58:27] I think they have to be a combination because if you get some human data and then you say this is how this is going to be my model of the person, what are four simulation and training or for just deployment time? And that's what I'm planning with as my model of how people work. [00:58:46] Regardless if you take some data and you don't assume anything else and you just say, OK, this is this is some data that I've collected, let me fit a policy to help people work based on that. What does to happen is you collected some data and some distribution and then now your your robot sort of computer. The best response to that, right, is what should I do if this is how people work and easily goes off of distribution, where that model that you've built of the human completely sucks because out of distribution you have no idea. [00:59:21] Right. There's if you think of all the possible policies and then you take only the ones that are consistent with the human data that you've observed, that still leads a lot of a lot of things could happen outside of that distribution where you're confident then you know what's going on with this. [00:59:38] And you have gotten used to this terminology of distribution, but such a machine learning terminology because it kind of assumes so distribution is referring to the the data that you states that you encounter that you've reported so far at training time. [00:59:57] Yeah, but it kind of also implies that there's a nice, like statistical model that represents that data. [01:00:04] So out of distribution feels like, I don't know, it it it raises to me philosophical questions of how we humans reason out of distribution, reasonable things that are completely we haven't seen before. [01:00:20] And so and what we're talking about here is how do we reason about what other people do in, you know, situations where we haven't seen them and somehow we just magically navigate that? You know, I can anticipate what will happen in situations that are even novel in many ways. And I have a pretty good intuition for I always get it right. But, you know, and I might be a little uncertain and so on. I think it's it's this that if you just rely on data, you know, you there's just too many possibilities, too many policies out there that fit the data. [01:00:55] And by the way, it's not just data is really kind of history of state, because to really be able to anticipate what the person will do, it kind of depends on what they've been doing so far, because that's the information you need to kind of at least implicitly sort of say, oh, this is the kind of person that this is. That's probably what they're trying to do. So anyway, it's like you're trying to map history states to action. [01:01:12] There's many mapping and history, meaning like the last or the last few minutes or the last few months, who knows? Who knows how much you need. [01:01:21] Right. In terms of if your state is really like the positions of everything or whatnot and velocities, who knows how much you need? [01:01:27] And then and then there's this there's so many mappings. And so now you're talking about how do you regularized that space about Pryors? Do you impose or what's the inductive biocidal? You know, they're all very related things to think about it. [01:01:43] Basically what our assumptions that we should be making such that these models actually generalize outside of the data that we've seen. [01:01:52] And now you're talking about, well, I don't know, what can you assume you're going to assume that people, like, actually have intentions and that's what drives their actions. Maybe that's the right thing to do when you haven't seen data very nearby that tells you otherwise. I don't know. It's it's a very open question. [01:02:10] Do you think so that one of the dreams of artificial. Answers to to solve common sense reasoning, whatever the heck that means. Do you think something like common sense reasoning has to be solved in part to be able to solve this dance of human interaction, the driving space or human robot interaction in general? You have to be able to reason about this kind of common sense concepts of physics of. You know, all the things we've been talking about, humans, I don't even know how to express them with words, but the basics of human behavior, a fear of death. [01:02:51] So, like, to me, it's really important to encode in some kind of sense. Maybe not. Maybe it's implicit, but it feels it's important to explicitly encode the fear of death that people don't want to die because it seems silly, but like that, that the game of chicken that involves the pedestrian crossing the street is playing with the idea of mortality. Like, we really don't want to die. [01:03:21] That's just like a negative reward. I don't know. It just feels like all these human concepts have to be encoded. So you do share that sense, or is it a lot simpler than I'm making it out to be? [01:03:33] I think it might be simpler. And I know first I would like to complicate things. I think it might be simpler than that, because it turns out, for instance, if you if you say model people in the very I'll call it traditional, I don't know if it's fair to look at as a traditional way, but but, you know, calling people as, OK, they're rational somehow the utilitarian perspective. Well, and that once you say that they you automatically capture that they have an incentive to keep on being you know, Stewart likes to say you can't fetch the coffee if you're dead to Russell. [01:04:16] So that's a good line. [01:04:18] So when when you're sort of cheating agents as having these objectives, these incentives, humans or artificial, you're kind of implicitly modeling that they'd like to stick around so that they can accomplish those goals. So I think I think in a sense, maybe that's what drives me so much to the rationality framework. Even though it's so broken, we've been able to it's been such a useful perspective and like we were talking about earlier, what's the alternative? [01:04:50] I give up and go home or, you know, I just use complete black boxes, but then I don't know what to assume out of distribution. I come back to this. It's just it's been a very fruitful way to think about the problem and a very more positive way. [01:05:03] Right. Just people aren't just crazy. Maybe they make more sense than we think. But but I think we also have to somehow be ready for it to be to be wrong, be able to detect when these assumptions are holding, be all of that stuff. [01:05:20] Let me ask sort of another sort of small side of this that we've been talking about, the pure autonomous driving problem. [01:05:27] But there's also the relatively successful systems already deployed out there in what you may call like level two, autonomy or semi-autonomous vehicles, whether that's test the autopilot of work quite a bit with. Cadillac Supergroups System, which has a driver facing camera that the Texas state budget basically lanes centering systems. What's your sense about? [01:05:55] This kind of way of dealing with the human robot interaction problem by having a really dumb robot and and relying on the human to help the robot out, to keep them both alive, is that. Is that. From the research perspective, how difficult is the problem and from a practical deployment perspective, is that a fruitful way to approach this human interaction problem? [01:06:25] I think what we have to be careful about there is to not it seems like some of these systems, not all, are making this underlying assumption that if so, I'm a driver and I'm now really not driving, but supervising and my job is to intervene. [01:06:45] Right. And so we have to be careful with this assumption that when I'm if I'm supervising, I will be just as safe as when I'm driving like that. I will you know, if I if I wouldn't get into some kind of accident, if I'm driving, I will be able to avoid that accident when I'm supervising, too. [01:07:09] And I think I'm concerned about this assumption from a few perspectives. So from a technical perspective, it's that when you look at something kind of take control and do its thing and it depends on what that thing is, obviously. And how much is state control and how what things are you trusting it to do? But if you let it do its thing and take control, it will go to what we might call off policy from the person's perspective state. So to the person wouldn't actually find themselves in if they were the ones driving. [01:07:39] And the assumption that the person functions just as well there as they function in the states that they would normally encounter is a little questionable. Now, another part is the kind of the human factor side of this, which is that I don't know about you, but I think I definitely feel like I'm experiencing things very differently when I'm actively engaged in the task versus when I'm a passive observer, like even if I try to stay engaged. Right. It's very different than when I'm actually actively making decisions. [01:08:10] And you see this in life in general, like you see students who are actively trying to come up with the answer, learn to sing better than when they're passively told the answer. I think that's somewhat related. And I think people have studied this in human factors for airplanes. And I think it's actually fairly established that these two are not the same. [01:08:29] So I on that point, because I've gotten a huge amount of heat on this and I stand by it, OK, because I know the human factors can be well and the work here is really strong and there's many decades of work showing exactly what you're saying. [01:08:45] Nevertheless, I've been continuously surprised that much of the predictions that that work has been wrong and what I've seen so well we have to do, I still agree with everything you said. [01:08:57] We have to be a little bit more open minded. [01:09:02] So the the I'll tell you, there's a few surprising things that Superville, like everything you said to the world, is actually exactly correct. But it doesn't say what you didn't say is that these systems are you said you can't assume a bunch of things, but we don't know if these systems are fundamentally unsafe. That's still unknown. There's there's a lot of interesting things like I'm surprised by the fact, not the fact that what seems to be anecdotal from from well, from large data collection that we've done, but also from just talking to a lot of people when in the supervisory role of semi-autonomous systems that are sufficiently dumb, at least, which is the that would be the key element is the systems that we don't the people are actually more energized as observers. [01:09:55] So they actually better they're better at observing the situation. [01:10:00] So there might be cases in systems if you get the interaction right, where you as a supervisor will do a better job with the system together. [01:10:10] I agree. I think that is actually really possible. I guess mainly I'm pointing out that if you do it naively, you're implicitly assuming something that assumption might actually really be wrong. But I do think that if you explicitly think about what the agent should do, such that the person still stays engaged, what the so that you essentially empower the person to warn. And then that's the really the goal, right, is you still have a driver, so you want to empower them to be so much better than they would be by themselves. [01:10:44] And that's different. It's a very different mindset than I want them to basically not drive and but be ready to sort of take over. [01:10:57] So one of the interesting things we've been talking about is the rewards that they seem to be fundamental to the way robots behaves. [01:11:06] So broadly speaking, we've been talking about utility functions for a comment on how do we approach the design of reward functions, like how do we come up with good reward functions? [01:11:19] Mm hmm. Well, really good question, because the answer is we don't. This was you know, I used to think I used to think about how well, it's actually really hard to specify rewards for interaction because it's really supposed to be what the people want. [01:11:41] And then you really you know, we talked about how you have to customize what you want to do to the end user. [01:11:47] But I kind of realized that even if you take the interactive component away, it's still really hard to design reward functions. [01:11:59] So what do I mean by that? I mean, if we assume this sort of paradigm in which there's an agent and his job is to optimize some objective, some reward, utility loss, whatever cost, if you write it out, maybe it's a sad depending on the situation or whatever it is. [01:12:20] If you write it out and then you deploy the agent, you'd want to make sure that whatever you specified incentivizes the behavior you want from the agent in any situation that the agent will be faced with. Right. So I do motion planning on my robot arm. I specify some cost function like, you know, this is how far away you should try to stay. So much am I stay away from people. And it's how much it matters to be able to be efficient and blah, blah, blah. [01:12:51] I need to make sure that whatever I specify those constraints are trade offs or whatever they are, that when the robot goes and solves that problem in every new situation, that behavior is the behavior that I want to see. And what I'm finding is that we have no idea how to do that. [01:13:09] And basically what I can do is I can sample I can think of some situations that I think are representative of what the robot will face and I can tune in and then tune some reward function until the optimal behavior is what I want on those situations, which, first of all, is super frustrating because, you know, through the miracle of A.I., we take we don't have to specify rules for behavior anymore. Right. The you are saying before the robot comes up with the right thing to do, you plug in the situation. [01:13:45] It optimizes that situation. It optimizes, but you have to spend still a lot of time on actually defining what it is that that criteria should be. Make sure you didn't forget about 50 bazillion things that are important and how they all should be combining together to tell the robot what's good and what's bad and how good and how bad. [01:14:05] And so I think this is this is the lesson that I don't know, kind of I guess I close my eyes to it for a while because I've been, you know, tuning cost functions for ten years now. [01:14:20] But it's it's really strikes me that, yeah, we've moved the tuning and the like designing of features or whatever from the behavior side into the reward side. And yes, I agree that there's way less of it, but it still seems really hard to anticipate any possible situation and make sure you specify a reward function that, when optimized, will work well in every possible situation. [01:14:52] So you're kind of referring to unintended consequences or just in general, any kind of suboptimal behavior that emerges outside of the things you set out of distribution, suboptimal behavior that is, you know, actually optimal. [01:15:06] I mean, this I guess the idea of unintended consequences. You know, it's often I respect what you specified, but it's not what you want. [01:15:12] And there's a difference between those. [01:15:14] But that's not fundamentally a robotics problem. That's a human problem. [01:15:18] So that's the thing. Yeah, right. So there's this thing called Goodhart law, which is you set a metric for an organization and the moment it becomes on target that people actually optimize for, it's no longer a good metric. What's the called the good hard law? [01:15:34] It's the law. So the moment you specify a metric, it stops doing his job? [01:15:38] Yeah, it starts doing its job. So there's yeah. [01:15:41] There's such a thing as often optimizing for things and failing to to think ahead of time of all the possible things that might be important. And so that's. So that's interesting because. He started work a lot on reward, learning from the perspective of customising to the end user, but it really seems like it's not just the interaction with the end user. That's a problem of the human and the robot collaborating so that the robot can do what the human wants. [01:16:12] Right. This kind of back and forth, the robot probing, the person being informative, all of that stuff might be actually just as applicable to this kind of maybe new form of human robot interaction, which is the interaction between the robot and the expert programmer, roboticist designer in charge of actually specifying what the heck it wants to do in specifying the task for the robot. That's so cool. [01:16:38] And collaborating on the reward, collaborating on the reward design. And so what? What does it mean? What is it? When we think about the problem, not as someone specifies all of your job is to optimize and we start thinking about your in this interaction and collaboration. And the first thing that comes up is when the person specifies the reward, it's not, you know, gossip. [01:17:03] It's not like the letter of the law. It's not the definition of the reward function. You should be optimizing because they're doing their best, but they're not some magic perfect oracle. And the sooner we start understanding that, I think the sooner we'll get to more advanced robots that function better and different situations. And then then you have to kind of say, OK, well, it's it's almost like the robots are over learning over there, putting too much weight on the reward specified by definition and maybe leaving a lot of other information on the table, like what are other things we could do to actually communicate to the robot about what we want them to do besides attempting to specify a reward for, hey, you have this awesome again and love the poetry of leaked information, since you mention humans leak information about what they want, you know, leak reward signal for the for the robot. [01:18:02] So how do we detect these leaks that. [01:18:05] Yeah, what are these leaks? The just I don't know. Those were recently saw it, read it. I don't know where from you. And it's going to stick with me for a while for some reason, because it's not explicitly express the kind of leaks indirectly from our behavior. [01:18:21] We do. Yeah, absolutely. So I think maybe some surprising bits. Right. So we were talking before about robot arm. It needs to move around. People carry stuff, put stuff away, all of that. And now imagine that, you know, the robot has some initial objective that the programmer gave in so they can do all these things functional, is capable of doing that. [01:18:49] And now I notice that it's doing something and maybe it's coming too close to me. Right. And maybe I'm the designer. Maybe I'm the end user. [01:18:58] And this robot is now in my home and I push it away. So I push away because, you know, it's it's a reaction to what the robot is currently doing. And this is what we call physical human robot interaction. And now there's a lot of there's a lot of interesting work on how to respond to physical human robot interaction, which is the robot do. If such an event occurs and there's sort of different schools of thought, it's well, you know, you can sort of treated the controller theoretically and say this is a disturbance that you must reject. [01:19:28] You can sort of treat it more. I kind of heuristically inside. I'm going to go into some, like, gravity compensation mode that I'm using manoeuvrable around. I'm going to go in the direction of the person push me. And and to us, part of realization has been that that is a signal that communicates about the reward, because if my robot was moving in an optimal way and I intervened, that means that I disagree with this notion of optimality or whatever it thinks is optimal is not actually optimal. [01:20:00] And sort of optimization problems aside, that means that the cost function, the reward function is is incorrect. This does not what I wanted to be. [01:20:10] How difficult is a signal to to to interpret and make actionable SILLIAC? Because this connects to autonomous vehicle discussion, whether in the semi autonomous vehicle or autonomous vehicle with a safety drive or disengages the car like. But they could have disengaged it for a million reasons. Yeah. [01:20:29] Yeah. So that's true. Again, it comes back to a can you can you structure a little bit your assumptions about how human behavior relates to what they want? [01:20:41] And, you know, you can one thing that we've done is literally just treated this external thought that they applied. As you know, when you take that and you add it with what the target the robot was already applying, that overall action is probably relatively. Respect to whatever it is that the person wants and then that gives you information about what it is that they want, so you can learn that people want you to stay further away from them. [01:21:04] Now, you're right that there might be many things that explain just that one signal that you might need much more data than that for for for the person to be able to shape your reward function over time. You can also do this info gathering stuff that we were talking about. And I know we've done that in that context, just to clarify. But it's definitely something we thought about where you can have the robot start acting in a way like if there are a bunch of different explanations. [01:21:30] Right. It moves in a way where it seems if you correct it in some other way or not, and then kind of actually plans its motion so that it can disambiguate and collect information about what you want anyway. So that's one way that's kind of sort of leaked information, maybe even more subtle. Leaked information is if I just press the E right. I just I'm doing it out of panic because the robot is about to do something bad. There's, again, information there. [01:21:55] Right. OK, the robot should definitely stop, but it should also figure out that whatever was about to do was not good. And in fact, it was so not good that stopping and remaining stopped for a while was better, a better trajectory for it than whatever it is that it was about to do. And that, again, is information about what are my preferences, what do I want. [01:22:14] Speaking of Easterhouse, what are your. Expert opinions on the three laws of robotics from Isaac Asimov don't harm humans, obey orders, protect yourself. [01:22:28] And it's a suspicious, silly notion. But I speak to so many people these days, just regular folks, just, I don't know my parents and so on about robotics. [01:22:36] And they kind of operate in that space of, you know, imagining our future with robots and thinking, what are the ethical how do we get that dance? [01:22:47] Right. [01:22:48] I know the three laws might be a silly notion, but do you think about like what universal reward functions that might be that we should enforce on the robots of the future, or is that a little too far out? [01:23:04] It does it or is the mechanism that you just described shouldn't be three laws. It should be constantly adjusting kind of thing? [01:23:12] I think it should constantly be adjusting. And I think the issue with the laws is I don't even know their words and I have to write math and have to translate them into math. [01:23:23] What does it mean to harm me or is a basic math? What? [01:23:29] Right. Because we just talked about how you try to say what you want, but you don't always get it right. And you want these machines to do what you want, not necessarily exactly what your literacy you want to you don't want them to take you literally. You want to take what you say and interpret it in context. And that's what we do with the specified rewards. We don't take them literally any more from the designer. [01:23:53] We not we as a community, we as you know, some members of my group, we and some of our collaborators like Peter Bill and Sarah Russell, we sort of circled the designer, specified this thing. [01:24:10] But I'm going to interpret it not as this is the universal reward function that I shall always optimize always and forever, but as this is good evidence about what the person wants. [01:24:22] And I should interpret that evidence in the context of these situations that it was specified for, because ultimately that's what the designers thought about. That's what they had in mind. And really them specifying reward function that works for me in all these situations is really kind of telling me that whatever behavior that incentivizes must be good behavior, respect to. The thing that I should actually be optimizing for and so now the robot kind of has uncertainty about what it is that it should be, what its reward function is. [01:24:51] And then there's all these additional signals we've been finding that it can kind of continually learn from and adapt its understanding of what people want every time the person corrected. Maybe they demonstrate. Maybe they need to stop. Hopefully not the right one. Really, really crazy one is the environment itself. Like our world. You don't it's not you know, you observe our world and and the state of it. And it's not that you're seeing behavior and you're saying our people are making decisions that are rational, blah, blah, blah. [01:25:24] It's but but but our world is something that we've been acting when according to our preferences. So I have this example where, like, the robot walks to my home and my shoes are laid down on the floor kind of in a line. Right. It took effort to do that. So even though the robot doesn't see me doing this, you know, actually aligning the shoes, it should still be able to figure out that I want the shoes, the line, because there's no way for them to have magically know instantiated themselves in that way. [01:25:56] Someone must have actually just taken the time to do that. So it must be important. [01:26:01] So the environment actually tells the leaks, information, leaks, information. The environment is the way it is because humans somehow manipulated it. So you have to kind of reverse engineer the narrative that happened to create environment that is in that leaks the preference information. [01:26:17] Yeah. And you have to be careful. Yeah, right. [01:26:20] Because because people don't have the bandwidth to do everything. So just because, you know, my house is messy doesn't mean that I want it to be messy. Right. But that just shows I you know, I didn't put the effort into that. I put into something else. So the robot just figured out well, that something else was more important. But it doesn't mean that, you know, the house being misused. Not so it's the little subtle. [01:26:40] But yeah, we really think of it. [01:26:41] The state itself is kind of like a choice that people implicitly made about how they want their world, what book or books, technical or fiction or philosophical, had. [01:26:53] When you look back, your life had a big impact. [01:26:56] Maybe it was a turning point, was inspiring in some way. Maybe we were talking about some silly book that nobody in their right mind would want to read. [01:27:05] Or maybe it's a book that you would recommend to others to read. Or maybe those could be two different recommendations, that of books that could be useful for people on their journey. [01:27:18] When I was in kind of a personal story, when I was in 12th grade, I got my hands on a PDF copy in Romania of Russell Norvig, a modern approach. I didn't know anything about A.I. at that point. I was you know, I had watched the movie The Matrix, the exposure. [01:27:41] And and so I started going through this thing. And, you know, you were asking in the beginning, what are what are you know, it's math and it's algorithms. [01:27:53] What's interesting, it was so captivating, this notion that you could just have a goal and figure out your way through a kind of a messy, complicated situation or what sequence of decisions you should make. The other autonomous way to achieve that goal. That was so cool. [01:28:13] I'm you know, I'm biased, but that's a cool book. Yeah, they look at you, convert, you know, the goal, the goal of intel, the process of intelligence and mechanise it. I had the same experience. I was really interested in psychiatry and trying to understand human behavior. [01:28:29] And then I am on an approach is like, wait, you can just reduce it all to kenwright math about human behavior, right? [01:28:36] Yeah. So that's and I think that's stuck with me because, you know, a lot of what I do, a lot of what we do in my lab is write math about human behavior, combine it with data and learning, put it all together, give it to robots to plan with and hope that instead of writing rules for the robots, writing heuristics, designing behavior, they can actually autonomously come up with the right thing to do around people. That's kind of, you know, that's our signature move. [01:29:03] We wrote some math and then instead of kind of handcrafting this and that and that and the robot figuring stuff out and isn't that cool. And I think that is the same enthusiasm that I got from the robot, figured out how to reach that goal in that graph. Isn't that cool? [01:29:19] So I apologize for the romanticized questions, but and the silly ones. If a doctor gave you five years to live, uh, sort of emphasizing the finiteness of our existence, what would you try to accomplish? [01:29:37] It's like my biggest nightmare, by the way. I really like living. So I'm actually I really don't like the idea of dying, of being told that I'm going to die as I doing on that for a second. [01:29:49] Do you I mean, do Medidata ponder on your mortality or are human? The fact that this thing ends? It seems to be a fundamental feature. [01:29:58] Do you think of it as a feature or a bug, too? Is it you said you don't like the idea of dying, but if I were to give you a choice of living forever, like you're not allowed to die. [01:30:09] Yeah. Now I'll say that I want to live forever, but I watch this show. It's very still it's called a good place and they reflect a lot on this. And, you know, the the moral of the story is that you have to make the afterlife be finite, too, because otherwise people just got it's like, well, it's like whatever way around. [01:30:27] So so I think the finance helps. But but yeah. It's just, you know, I don't I don't I'm not a religious person. I don't think that there's something after. And so I think it just ends and you stop existing. And I really like existing. It's just it's such a great privilege to exist that that. [01:30:50] Yeah, it's just and I think that's the scary part. [01:30:52] I still think that we like existing so much because it ends and that's so sad. Like it's so sad to me every time, like I find almost everything about this life beautiful, like the silliest, most mundane things are just beautiful. [01:31:06] And I think I'm cognizant of the fact that I find it beautiful because and I like it and it's so I don't know I don't know how to feel about that. [01:31:17] I also feel like there's a lesson in there for robotics and AI that it's not like the finiteness of things seems to be a fundamental nature of human existence. [01:31:30] I think some people sort of accuse me of just being Russian and melancholic and romantic or something, but that seems to be a fundamental nature of our existence that should be incorporated in our world functions. [01:31:46] But anyway, uh, if you were speaking of reward functions, if you only had five years, what would you try to accomplish? [01:31:55] This is the thing I I'm thinking about this question and have pretty joyous moment because I don't know that I would change change minds. [01:32:05] I'm what I'm I'm you know, I'm trying to make some contributions to how we understand human eye interaction. I don't think I would change that. Um, maybe I'll take you know, I take more trips to the Caribbean or something, but I try to do that. All right. From time to time. [01:32:25] So, yeah, I mean, I try to to do the things that bring me joy and thinking about these things, bring me joy is the very kind of thing, you know, don't do stuff that doesn't spark joy. For the most part. I do things that spark joy. [01:32:39] Maybe I'll do like less service in the department or something like that. I'm dealing with admissions anymore. But but no, I mean, I think I have amazing colleagues and amazing students, an amazing family and friends and kind of spending time and some balance with all of them is what I do. And I that's what I'm doing already. So I don't know that I would really change anything. [01:33:05] So on the spirit of positiveness. Oh, what small act of kindness. If one pops to mind where you want shown that you will never forget me when. [01:33:17] I was in high school, my friends, my my classmates did some tutoring, we were gearing up for our baccalaureate exam and they did some tutoring on, well, someone maximum, whatever I was comfortable enough with with some of those subjects. But physics was something that I hadn't focused on in a while. And so they were all working with this one teacher. And I started working with that teacher. Her name is now called Bikaner. And she she was the one who kind of opened up this whole world for me because she sort of told me that I should take the seats and apply to go to college abroad and do better on my English and all of that. [01:34:09] And when it came to, well, financially, I couldn't my parents couldn't really afford to do all these things. She started tutoring me on physics for free and on top of that, sitting down with me to kind of train me for Saturday's and all that jazz that she had experience with. Wow. That and obviously that has taken you to be here today. Also, one of the world experts in robotics. It's funny, those little. Yeah. [01:34:38] Do these views or for no reason really acts of kindness, just sort of Caccamo wanting to support someone, you know. Yeah. So we talked a ton about reward functions. Let me talk about the most ridiculous big question. What is the meaning of life? What's the reward function under which we humans operate? Like what? Maybe to your life, maybe broader to human life in general. What do you think? [01:35:09] What gives life fulfillment, purpose, happiness, meaning? You can't even ask that question with a straight face. That's ridiculous. I can't. I can't. OK, so. You know, you're going to try to answer it anyway, I'm sure. So I was in a planetarium once. Yes. [01:35:31] And, you know, they show you the thing and they zoom out and zoom out and it's all like you were a speck of dust kind of thing. [01:35:37] I think I was conceptualizing that were kind of what our humans were just on this little planet, whatever. We don't matter much in the grand scheme of things. And then my mind got really blown because this doctor talked about this multiverse theory where they kind of zoom down and are like, this is our universe. And then like there's a bazillion other ones and they pop in and out of existence. So like our whole thing, that's that we can't even fathom how big it is, was like a blimp that went in and out. [01:36:06] And at that point I was like, OK, I'm done. Not there is no meaning. And clearly what we should be doing is try to impact whatever local thing we can impact our communities, live a little bit behind. They're our friends, our family, our local communities, and just try to be there for other humans because I just everything beyond that seems ridiculous. [01:36:30] I mean, are you like how do you make sense of these multiverses? Like, are you inspired by the immensity of it? [01:36:38] Do you I mean, is there is an amazing to you or is it almost paralyzing in in the mystery of it. It's frustrating. I'm frustrated by my inability to comprehend. It's just it feels very frustrating. It's like there's some stuff that, you know, we should time blah, blah, blah, that we should really be understanding. And I definitely don't understand it. But, you know, the the the amazing physicists of the world have a much better understanding than me. [01:37:13] But there's a line in the grand scheme of things. [01:37:16] So it's very frustrating. It's just it feels like our brains don't have some fundamental capacity. Yeah, well, yet or ever. I don't know. [01:37:25] But what that's one of the dreams of artificial intelligence is to create systems or expand our cognitive capacity in order to understand the build the theory of everything with the physics and understand what the heck these multiverses are. So I think there's no better way to end this, talking about the meaning of life and the fundamental nature of the universe and democracy first, aka is a huge honor, one of the my favorite conversations I've had. [01:37:55] Really, really appreciate your time. Thank you for talking to. Thank you for coming. [01:38:00] Come back again. Thanks for listening to this conversation with anchor Druggan, and thank you for presenting sponsor Kashyap. Please consider supporting the podcast by downloading cash app and using Code Leks podcast. If you enjoy this podcast, subscribe on YouTube. Reviewed with five stars, an Apple podcast supporting a patron or simply connect with me on Twitter and Friedemann. And now let me leave you with some words from Isaac Asimov. Your assumptions are your windows in the world, scrubbed them off every once in a while or the light won't come in. [01:38:38] Thank you for listening and hope to see you next time.

本集资源与出处