特别节目·中文精读

约书亚·本吉奥:深度学习

Yoshua Bengio: Deep Learning

深度学习先驱谈神经网络的发展脉络、注意力机制与表示学习的核心思想。

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

一个成年人能回忆起去年做过的某个决定,然后因为今天看到的新证据,回过头去改变当初的判断。下次再遇到类似情况,他不会犯同样的错误。当前的神经网络做不到这件事。

Yoshua Bengio 在 2018 年 10 月和 Lex Fridman 对谈时,反复回到这个问题。他把它叫做信用分配(credit assignment)的时间跨度问题。

现有的 LSTM 和各类序列模型,处理几十到几百个时间步的依赖还算称职。跨度再拉长,记忆就开始衰减,效果越来越差。人类却可以把信用分配延伸到几乎任意长的时间尺度上。

Bengio 认为这里有一个被低估的机制:遗忘。人脑会极其高效地筛选记忆,只留下真正重要的东西。什么能进入意识,什么被写进长期记忆,这个选择过程本身就涉及意识、决策和情绪,远不是简单的存储问题。

我们最近研究的一件事,是生物神经网络怎么做而我们不知道、但对人工网络极其有用的能力:在极长的时间跨度上做信用分配。(Yoshua Bengio)

这种生物做得到、人工做不到的错位,在他看来是个双向机会。人工网络里没有对应的理论,这促使我们去更好地理解大脑。反过来,大脑的不同做法可能给人工网络提供新思路。

神经网络眼中的世界,比人类浅得多

Bengio 对当前深度学习状态的判断很直接。在大规模图像或文本上训练出来的顶尖网络,确实掌握了一些关于数据集的解释,但这个理解非常基础,非常低层。它不够稳健,不够抽象,不够通用。

这个判断本身不告诉我们怎么修。但它提示了一个方向:能不能换一种训练方式,让网络把注意力放在因果解释上?现在的神经网络训练里,基本没有这一环。

另一个方向是语言和世界的联合学习。今天的研究往往把图像视频放一边,文本放另一边,各学各的。Bengio 认为应该让两边互相帮忙。要让网络真正理解一句描述现实世界的句子,它需要一个足够好的世界模型。反过来,语言输入能提供线索,告诉网络高层语义概念应该长什么样。

有证据表明,纯无监督学习得到的表征,不如监督学习得到的高层表征强大。仅仅靠标签给出的线索,就已经非常非常高层了。(Yoshua Bengio)

这个观察值得多停一会儿。很多人默认无监督学习才是通往通用智能的正路,监督学习只是权宜之计。Bengio 在这里指出的是,哪怕只有标签这种极简的监督信号,它带来的表征质量提升也已经相当可观。这个事实在讨论未来路线时不应该被忘掉。

问题既不在架构,也不在数据集

Lex 问,这到底是架构的挑战还是数据集的挑战。Bengio 的回答是:都不是。他开玩笑说自己很想就此打住,但还是解释了。

数据集和架构当然要一直折腾。但真正关键的东西在训练目标和训练框架上。

他举了几个例子。从被动观察数据,转向更主动的智能体,通过干预世界来学习因果关系。设计合适的目标函数,让最高层的解释能从学习过程中自然浮现。设计奖励探索的目标函数,而且是奖励正确类型的探索。

这些东西既不在数据集里,也不在架构里,而在怎么学、用什么目标学这个层面。

谈到儿童学习,Bengio 提到他刚和 Rebecca Saxe 聊过。大量来自婴儿研究的证据显示,婴儿会以非常定向的方式挑选自己感兴趣的东西。他们会主动把注意力集中在世界上那些最有趣、以非平凡方式令人惊讶的部分。正是这些部分促使他们更新自己对世界的理论。

继续变大变深有用,但远远不够

Bengio 对堆规模这件事的态度是:会带来显著进步,但不够。

工程团队、公司、实验室、研究生会继续调架构,探索各种小改动,让当前的最优结果再好一点点。他不觉得这条路能走到终点。真正的目标应该是让学习者深入理解它所观察和行动的环境,这需要学习方式本身发生变化。

Lex 追问的是另一个层面的问题:一旦找到通过交互学习的方法,存储这些信息需要多少参数?Bengio 承认,要构建具备普通成年人那种广泛世界知识的神经网络,现在这点算力大概率不够。好消息是硬件公司在做神经网络芯片,情况会变好。

但还有一个更尴尬的事实。哪怕是最顶尖的深度学习方法,连非常简单的环境都学不明白。比如他们搭的一些网格世界(grid world),环境简单到不能再简单。用足够多的例子硬灌,最终能学会。可人类可能只需要几十个例子,这些系统要几百万个。

我认为这给没有 Google 那种算力的学术研究者一个机会,去做真正重要、激动人心的研究,推进训练框架、学习模型、智能体学习的前沿,哪怕环境是合成的、看起来很平凡,但当前机器学习就是搞不定。(Yoshua Bengio)

常识为什么编码不进去

上世纪 80 年代,符号 AI 把知识表示、知识获取、专家系统当成核心问题来攻。后来这条路基本被搁置了。原因很简单:它不 work。

但 Bengio 强调,那些目标本身依然重要。他相信经典专家系统失败的一个原因是,人类拥有的很多知识根本不在意识层面。我们做的很多决定没法解释,有时候还会事后编个故事出来。而这类知识恰恰是机器做决策时也需要的。它很难被写成规则,很难塞进专家系统和经典 AI 的形式化框架里。

老 AI 还有其他问题,比如处理不确定性的手段不够好。不过 Bengio 认为更深层的问题在于分布式表征(distributed representations)。

神经网络的威力来自一大团参数紧密协作,共同表示网络知道的所有东西。这种表示方式在符号世界里很难复现。专家系统里的知识被整齐地拆成一堆规则,每条规则各管一摊。神经网络是反过来的。

问题就在这里:它不够因子化(factorized)。Bengio 认为这是当前神经网络的一大弱点。我们需要从经典 AI 那里取经,把语言和规则里那种组合性(compositionality)引进来,而组合性在神经网络里并不天然存在。

变量要解耦,规则也要解耦

顺着这个思路,就绕不开解耦表征(disentangled representations)。

Bengio 很多年前就在想这件事,至今仍然相信它重要:设计一种学习算法,不管无监督、监督还是强化学习,让表征里的重要因素,最好是因果因素,被清晰地分开,容易从表征里提取出来。用一句话概括,就是把数据变换到一个空间,让一切变得简单,简单到用线性模型就能学会我们关心的东西。

但他现在觉得,这个想法漏掉了一个关键成分。而这个成分,经典 AI 系统可以提醒我们。

假设我们有了解耦表征。变量之间还是需要学习它们的关系。这些高层语义变量不会彼此独立,它们之间有有意思的关联,能用来预测未来、解释过去。

在经典 AI 里,这种关于变量关系的知识编码在规则里。一条规则就是一小块知识,说的是这几个变量以某种方式关联,知道其中几个就能推断另外几个。

所以,除了把表征里的元素解耦(相当于规则系统里的变量),还需要把连接这些变量的机制解耦,也就是规则本身。

规则是各自独立的。我因为学习而改动一条规则,不需要破坏其他规则。而当前的神经网络对灾难性遗忘非常敏感,学了新东西之后,旧东西可能被毁掉。如果知识被更好地因子化、分离、解耦,很多这类问题就能避免。(Yoshua Bengio)

Bengio 承认,在感官层面做不到这件事。像素空间里,信息以极其复杂的方式纠缠在一起,变量之间完全相互依赖,计算也交织在一起。但他假设,在合适的高层表征空间里,变量和变量之间的关系都可以被解耦。这会带来巨大的泛化能力。

人类怎么读懂一本科幻小说

泛化能力,指向的是当前机器学习一个根本弱点:它默认测试集分布和训练集分布相同。

它没法告诉我们,一个神经网络面对新分布时会表现如何。有人会说,不知道新分布长什么样,当然没法预测。但人类就是能泛化到新分布。凭什么?

Bengio 给了一个很具体的例子。你读一本科幻小说,小说把你带到某个外星球,表面上一切都很不一样。但物理定律还是那套。你能读懂这本书,理解发生了什么。因为你可以把在地球上学到的关于底层因果关系、物理机制甚至社会互动的知识迁移过去,于是这个视觉上完全陌生的星球变得可以理解。

这些新分布虽然看起来可能和训练分布非常不同,但它们有共同的东西。(Yoshua Bengio)

这段话背后的意思值得琢磨。当前机器学习缺少的,正是一种能够捕捉底层因果机制、从而迁移到新分布的模型。训练分布和测试分布共享的那些东西,就是人类泛化能力的来源。

短期的风险,比天网更值得担心

Lex 把话题转向 AI 安全。他提到,在 AI 圈子之外,有相当大一群人担心人工智能的存在性威胁。

Bengio 先做了一个区分:AI 圈子内部该有的讨论,和真正对公众重要的讨论,是两回事。

终结者式的画面,AI 失控杀人,超级智能不惜一切代价毁灭人类,这些对公众讨论帮助不大。他认为真正重要的是短期和中期那些大概率会发生的负面影响。安全层面的老大哥场景,人脸识别,致命性自主武器。就业市场受到的冲击。权力集中和歧视。这些社会问题里,有些真的可能威胁民主。

他特别澄清了一句,说的 killer robots 指的是自主武器系统。

至于存在性风险,Bengio 的措辞很谨慎。对他个人而言,这类风险极不可能发生,但仍然值得学术界研究,就像研究陨石撞击地球的可能性一样。AI 失控这类场景,和他所理解的当前机器学习、当前神经网络是对不上的,他觉得不成立。但他也承认自己没有水晶球,谁知道 50 年后的 AI 是什么样。

科学家应该研究这些问题。只是对我来说,它不是紧迫问题。(Yoshua Bengio)

科学不是一个人在黑屋子里搞出来的

谈到《机械姬》(Ex Machina),Bengio 说自己有喜欢的地方也有讨厌的地方。讨厌的是,这部电影对科学的描绘完全错了。

科学不是在某个隐秘的地方、由某个绝顶聪明的人独自完成的。这完全不现实。就算是一群人在一个与世隔绝的地方,也做不成。科学靠的是大量研究者组成的社区互相协作,一小步一小步往前走。所有领域内的专家,包括工业实验室里的,大致都知道正在发生什么,信息会流动,会泄露。电影里科学的那种气质和真实情况差得很远。

Lex 追问:到目前为止,即使研究发生在 Google 或 Facebook 内部,想法最终还是会流出来。AI 会一直这样吗?有没有可能把想法捂得严严实实,某些突破完全不为外界所知?

Bengio 的回答是:有可能,但不太可能。现在不是这么运作的,在可预见的未来他也看不到这种可能。但他再次强调,他没有水晶球。

他借这个话题讲了一个更重要的原则:研究需要多样性。

研究是在想法空间里的探索。不同的人关注不同方向。这不只是好事,是必需的。他对别人探索和他相反或正交的方向完全接受,甚至觉得这很重要。他和他的朋友们不声称自己掌握了关于未来的普遍真理。

我们有我们的直觉,然后据此行动,选择我们认为最能发挥作用、社会收益最大或损失最小的地方。我们应该有这些争论,而不是最终走到一个只有一种声音、一种思维方式的社会,研究经费也被集中分配。(Yoshua Bengio)

分歧是好的研究、好的科学的标志。Lex 提到,讨论到一半灯灭了,他觉得这有点不祥。这个插曲和 Bengio 讲的科学观放在一起,倒有点意思。

偏见能修,但需要强制

关于机器学习中的偏见(bias),Bengio 分短期和长期来看。

短期,已经有技术被提出来,而且会继续改进。对于那些已知存在偏见的数据集,偏见是可以被测量的。任何记录了人类决策的数据集,几乎都带有某种偏见,对特定群体的歧视等等。可以用机器学习技术构建偏见更小的预测器、分类器。比如用对抗方法,让系统对那些它本不该敏感的变量变得不敏感。

这些方法有明确的定义,也有弱点,还需要更多研究。但 Bengio 认为它们已经足够成熟,政府应该开始监管那些偏见真正要紧的公司,比如保险公司,强制它们使用这些技术。

这些技术很可能会减少偏见,但有代价。比如预测可能变得不那么准,公司不会主动去做,除非你强制它们。(Yoshua Bengio)

长期,他感兴趣的是怎么把道德价值观灌输进计算机。这显然不是未来五到十年能实现的。目前已经有工作在做图像、声音、文本中的情绪检测,也在研究不同智能体以不同方式互动时,怎样对应到不公正的模式,进而触发愤怒。

Bengio 说,最简单的情形就是不公正的场景触发愤怒,这是人类和其他动物共有的最基本的情绪之一。他判断,未来几年内构建能检测这类情况的系统是可行的,前提是系统对周围世界有足够的理解,而这本身还很遥远。可以先在虚拟环境里做。设想一个电子游戏,智能体们以某种方式互动,某些情境触发情绪,训练机器去检测这些情境,并预测如果玩家操控其中一个角色,大概率会感受到哪种情绪。

从标注到机器教学

Bengio 对无监督学习投入很多,但他也承认监督学习这条线取得了大量成果。他真正在意的一个方向是人类和机器人如何协作,放在监督学习的语境里,就是标注(annotation)过程。

Lex 把这个问题换了个说法:人类教机器。Bengio 觉得这个说法很好。把问题简化成标注,对明天就要搭系统的人有用。但更长远看,教学这个过程本身值得机器学习社区投入多得多的注意力。

已经有人提出了机器教学(machine teaching)这个词。好的教学策略是什么?能不能设计并训练一个系统,让它成为好老师?

Bengio 的组里有一个叫 BBI 的项目,一个游戏或场景,里面有一个学习智能体和一个教学智能体。教学智能体最终应该由人类来扮演,但现在还没到那一步。老师的职责,是利用它对环境的了解(可以通过任何粗暴的方式获得),帮学习者尽快学会。学习者自己尝试,可能会探索。老师可以影响和学习者的互动,引导学习者,比如教它最吃力的部分,或者找到它已知和未知之间的边界。

未来会有越来越多人在环路中的人机互动。理解怎么让这件事运作得更好,围绕它的所有问题都很有意思,而且没有得到足够的关注。(Yoshua Bengio)

对话里最难的是语言之外的东西

Lex 问 Bengio,传统图灵测试里,对话的哪个部分在他看来最难解决。

Bengio 的答案是:一切和语言之外的知识相关的东西。这些知识是你理解句子时隐式需要的。他举了 Winograd schema 的例子,这类句子语义上有歧义,必须对世界有足够的了解才能真正正确解读。

这类挑战有意思的地方在于,它指向的是同时理解世界如何运作、理解世界中的因果关系,并且把这种知识和语言表达方式关联起来的系统,无论阅读还是写作。

Bengio 的母语是法语。Lex 问,通过图灵测试以及背后那些挑战,会不会依赖于具体语言,法语会不会比英语容易?Bengio 认为和语言无关。他希望构建的系统能用同样的原则、同样的学习机制从人类智能体那里学习,不管对方用什么语言。

他承认语言之间有差异,也许某些语言在某类表达上稍微强一点。但在理解大脑如何工作、理解语言这件事的大框架下,这些差异很细微。

AI 寒冬里靠什么撑过来

Bengio 经历过 AI 寒冬。Lex 问他怎么保持热度、继续研究。他的回答很简洁:和朋友一起取暖。

他从这段经历里学到的,是听从内心的声音。不要只想着取悦人群和时尚。如果你对某件事有强烈的直觉,而且它没有被实际证据推翻,就去做。它可能被别人否定,但不该被自己的直觉否定,前提是直觉建立在学到的一切之上。

当然,当实验和信念冲突时,必须调整信念。但该坚持的时候要坚持。正是这一点让他走过那些年,让他在那些需要时间成熟、需要时间结果的方向上坚持下来,不管别人怎么想。

听从你内心的声音。不要只想着取悦人群和时尚。如果你对某件事有强烈的直觉,而且它没有被实际证据推翻,就去做。(Yoshua Bengio)

AlphaGo 时刻被高估了

AI 的历史上有技术突破,也有那些抓住整个社区想象力的标志性事件。最近的例子是 AlphaGo 击败人类围棋世界冠军。

Bengio 觉得这类所谓标志性事件被高估了。科学真正靠的是一小步一小步走。你多走了一小步,正好是装满水桶的那一滴,然后产生剧烈后果,因为你突然能做到之前做不到的事,或者某个设备、某个问题的成本降到比现有方案更低,新市场打开了。在商业和应用世界里,一点科学进步的影响可能巨大。但在科学本身里,它是非常非常渐进的。

那么现在这些小步发生在哪里?Bengio 点了两个最难的方向:生成对抗网络(GANs)和强化学习。

蒙特利尔尤其如此,两三年前强化学习在这里几乎缺席,现在学生兴趣很大,像他这样的人兴趣也很大。这个方向会看到更多进展,尽管它还没有带来多少实际的工业产出。就算有 AlphaGo,Google 现在也没靠它赚钱。但长期看,它非常重要。

他更愿意把强化学习理解为更一般的智能体学习,因为不一定非要有奖励,智能体可以通过各种方式了解环境。

至于 GANs,或者更广的生成模型,Bengio 相信它们会是构建能理解世界的智能体的关键成分。过去强化学习的很多成功用的是策略梯度(policy gradient),直接学一个策略,不学世界模型。但这种方法问题很多。基于模型的强化学习(model based RL)现在还不知道怎么做,但这是必须走的方向,为了构建能更快更好地泛化、至少能部分捕捉世界底层因果机制的模型。

科幻小说领进门

最后一个问题。是什么让 Bengio 爱上人工智能?回头看,生命里第一个让他着迷的瞬间是什么?

他十几岁的时候读了很多书,后来开始读科幻小说。就是那里,他被钩住了。再后来,他有了最早的几台个人电脑,又迷上了编程。从科幻开始,然后把它变成现实。

给读者的行动建议

  • 如果你想进入 AI 研究但算力有限,别只盯着大模型。Bengio 明确说,简单的网格世界、合成环境里,当前机器学习都搞不定,这里面有大量重要问题等着被解决,对学术研究者是机会。
  • 关注训练目标和训练框架,不要只在架构和数据上做文章。主动智能体、干预世界学习因果、奖励正确类型的探索,这些方向比继续加深网络更可能带来质变。
  • 读一读经典 AI 关于知识表示和规则系统的工作。Bengio 认为神经网络的弱点是不够因子化,组合性要从经典 AI 那里借。变量要解耦,连接变量的机制也要解耦。
  • 做研究时保留多样性,接受和自己方向相反或正交的探索。分歧是好的科学的标志。
  • 如果你想做 AI 伦理或安全,把重心放在短期和中期影响上:人脸识别、自主武器、就业冲击、权力集中、歧视。这些比存在性风险紧迫得多。
  • 在偏见问题上,短期可以推动企业采用对抗方法等技术,并呼吁政府在保险等关键领域强制监管。代价是预测精度可能下降,所以需要外力推动。
  • 留意机器教学这个方向。未来会有越来越多人在环路中的人机互动,怎么教一个学习智能体,是一个被低估的问题。
  • 如果你在 AI 寒冬或低谷期,Bengio 的建议是:听从内心声音,坚持有证据支持的强直觉,别只想着取悦潮流。
文稿来自公开 Kaggle 数据集(rajneesh231/lex-fridman-podcast-transcript),为早期自动转录存档,可能存在识别错误。
What difference between biological neural networks and artificial neural networks is most mysterious, captivating, and profound for you? First of all, there's so much we don't know about biological neural networks, and that's very mysterious and captivating because maybe it holds the key to improving artificial neural networks. One of the things I studied recently is something that we don't know how biological neural networks do but would be really useful for artificial ones is the ability to do credit assignment through very long time spans. There are things that we can in principle do with artificial neural nets, but it's not very convenient and it's not biologically plausible. And this mismatch, I think this kind of mismatch may be an interesting thing to study to, A, understand better how brains might do these things because we don't have good corresponding theories with artificial neural nets, and B, maybe provide new ideas that we could explore about things that brain do differently and that we could incorporate in artificial neural nets. So let's break credit assignment up a little bit. Yes. So what, it's a beautifully technical term, but it could incorporate so many things. So is it more on the RNN memory side, that thinking like that, or is it something about knowledge, building up common sense knowledge over time? Or is it more in the reinforcement learning sense that you're picking up rewards over time for a particular, to achieve a certain kind of goal? So I was thinking more about the first two meanings whereby we store all kinds of memories, episodic memories in our brain, which we can access later in order to help us both infer causes of things that we are observing now and assign credit to decisions or interpretations we came up with a while ago when those memories were stored. And then we can change the way we would have reacted or interpreted things in the past, and now that's credit assignment used for learning. So in which way do you think artificial neural networks, the current LSTM, the current architectures are not able to capture the, presumably you're thinking of very long term? Yes. So current, the current nets are doing a fairly good jobs for sequences with dozens or say hundreds of time steps. And then it gets harder and harder and depending on what you have to remember and so on, as you consider longer durations. Whereas humans seem to be able to do credit assignment through essentially arbitrary times, like I could remember something I did last year. And then now because I see some new evidence, I'm going to change my mind about the way I was thinking last year. And hopefully not do the same mistake again. I think a big part of that is probably forgetting. You're only remembering the really important things. It's very efficient forgetting. Yes. So there's a selection of what we remember. And I think there are really cool connection to higher level cognition here regarding consciousness, deciding and emotions, so deciding what comes to consciousness and what gets stored in memory, which are not trivial either. So you've been at the forefront there all along, showing some of the amazing things that neural networks, deep neural networks can do in the field of artificial intelligence is just broadly in all kinds of applications. But we can talk about that forever. But what, in your view, because we're thinking towards the future, is the weakest aspect of the way deep neural networks represent the world? What is that? What is in your view is missing? So current state of the art neural nets trained on large quantities of images or texts have some level of understanding of, you know, what explains those data sets, but it's very basic, it's it's very low level. And it's not nearly as robust and abstract and general as our understanding. Okay, so that doesn't tell us how to fix things. But I think it encourages us to think about how we can maybe train our neural nets differently, so that they would focus, for example, on causal explanation, something that we don't do currently with neural net training. Also, one thing I'll talk about in my talk this afternoon is the fact that instead of learning separately from images and videos on one hand and from texts on the other hand, we need to do a better job of jointly learning about language and about the world to which it refers. So that, you know, both sides can help each other. We need to have good world models in our neural nets for them to really understand sentences, which talk about what's going on in the world. And I think we need language input to help provide clues about what high level concepts like semantic concepts should be represented at the top levels of our neural nets. In fact, there is evidence that the purely unsupervised learning of representations doesn't give rise to high level representations that are as powerful as the ones we're getting from supervised learning. And so the clues we're getting just with the labels, not even sentences, is already very, very high level. And I think that's a very important thing to keep in mind. It's already very powerful. Do you think that's an architecture challenge or is it a data set challenge? Neither. I'm tempted to just end it there. Can you elaborate slightly? Of course, data sets and architectures are something you want to always play with. But I think the crucial thing is more the training objectives, the training frameworks. For example, going from passive observation of data to more active agents, which learn by intervening in the world, the relationships between causes and effects, the sort of objective functions, which could be important to allow the highest level explanations to rise from the learning, which I don't think we have now, the kinds of objective functions, which could be used to reward exploration, the right kind of exploration. So these kinds of questions are neither in the data set nor in the architecture, but more in how we learn, under what objectives and so on. Yeah, I've heard you mention in several contexts, the idea of sort of the way children learn, they interact with objects in the world. And it seems fascinating because in some sense, except with some cases in reinforcement learning, that idea is not part of the learning process in artificial neural networks. So it's almost like, do you envision something like an objective function saying, you know what, if you poke this object in this kind of way, it would be really helpful for me to further learn. Right, right. Sort of almost guiding some aspect of the learning. Right, right, right. So I was talking to Rebecca Sacks just a few minutes ago, and she was talking about lots and lots of evidence from infants seem to clearly pick what interests them in a directed way. And so they're not passive learners, they focus their attention on aspects of the world, which are most interesting, surprising in a non trivial way. That makes them change their theories of the world. So that's a fascinating view of the future progress. But on a more maybe boring question, do you think going deeper and larger, so do you think just increasing the size of the things that have been increasing a lot in the past few years, is going to be a big thing? I think increasing the size of the things that have been increasing a lot in the past few years will also make significant progress. So some of the representational issues that you mentioned, they're kind of shallow, in some sense. Oh, shallow in the sense of abstraction. In the sense of abstraction, they're not getting some... I don't think that having more depth in the network in the sense of instead of 100 layers, you're going to have more layers. I don't think so. Is that obvious to you? Yes. What is clear to me is that engineers and companies and labs and grad students will continue to tune architectures and explore all kinds of tweaks to make the current state of the art slightly ever slightly better. But I don't think that's going to be nearly enough. I think we need changes in the way that we're considering learning to achieve the goal that these learners actually understand in a deep way the environment in which they are, you know, observing and acting. But I guess I was trying to ask a question that's more interesting than just more layers. It's basically, once you figure out a way to learn through interacting, how many parameters it takes to store that information. So I think our brain is quite bigger than most neural networks. Right, right. Oh, I see what you mean. Oh, I'm with you there. So I agree that in order to build neural nets with the kind of broad knowledge of the world that typical adult humans have, probably the kind of computing power we have now is going to be insufficient. So the good news is there are hardware companies building neural net chips. And so it's going to get better. However, the good news in a way, which is also a bad news, is that even our state of the art, deep learning methods fail to learn models that understand even very simple environments, like some grid worlds that we have built. Even these fairly simple environments, I mean, of course, if you train them with enough examples, eventually they get it. But it's just like, instead of what humans might need just dozens of examples, these things will need millions for very, very, very simple tasks. And so I think there's an opportunity for academics who don't have the kind of computing power that, say, Google has to do really important and exciting research to advance the state of the art in training frameworks, learning models, agent learning in even simple environments that are synthetic, that seem trivial, but yet current machine learning fails on. We talked about priors and common sense knowledge. It seems like we humans take a lot of knowledge for granted. So what's your view of these priors of forming this broad view of the world, this accumulation of information and how we can teach neural networks or learning systems to pick that knowledge up? So knowledge, for a while, the artificial intelligence was maybe in the 80s, like there's a time where knowledge representation, knowledge, acquisition, expert systems, I mean, the symbolic AI was a view, was an interesting problem set to solve and it was kind of put on hold a little bit, it seems like. Because it doesn't work. It doesn't work. That's right. But that's right. But the goals of that remain important. Yes. Remain important. And how do you think those goals can be addressed? Right. So first of all, I believe that one reason why the classical expert systems approach failed is because a lot of the knowledge we have, so you talked about common sense intuition, there's a lot of knowledge like this, which is not consciously accessible. There are lots of decisions we're taking that we can't really explain, even if sometimes we make up a story. And that knowledge is also necessary for machines to take good decisions. And that knowledge is hard to codify in expert systems, rule based systems and classical AI formalism. And there are other issues, of course, with the old AI, like not really good ways of handling uncertainty, I would say something more subtle, which we understand better now, but I think still isn't enough in the minds of people. There's something really powerful that comes from distributed representations, the thing that really makes neural nets work so well. And it's hard to replicate that kind of power in a symbolic world. The knowledge in expert systems and so on is nicely decomposed into like a bunch of rules. Whereas if you think about a neural net, it's the opposite. You have this big blob of parameters which work intensely together to represent everything the network knows. And it's not sufficiently factorized. It's not sufficiently factorized. And so I think this is one of the weaknesses of current neural nets, that we have to take lessons from classical AI in order to bring in another kind of compositionality, which is common in language, for example, and in these rules, but that isn't so native to neural nets. And on that line of thinking, disentangled representations. Yes. So let me connect with disentangled representations, if you might, if you don't mind. So for many years, I've thought, and I still believe that it's really important that we come up with learning algorithms, either unsupervised or supervised, but reinforcement, whatever, that build representations in which the important factors, hopefully causal factors are nicely separated and easy to pick up from the representation. So that's the idea of disentangled representations. It says transform the data into a space where everything becomes easy. We can maybe just learn with linear models about the things we care about. And I still think this is important, but I think this is missing out on a very important ingredient, which classical AI systems can remind us of. So let's say we have these disentangled representations. You still need to learn about the relationships between the variables, those high level semantic variables. They're not going to be independent. I mean, this is like too much of an assumption. They're going to have some interesting relationships that allow to predict things in the future, to explain what happened in the past. The kind of knowledge about those relationships in a classical AI system is encoded in the rules. Like a rule is just like a little piece of knowledge that says, oh, I have these two, three, four variables that are linked in this interesting way, then I can say something about one or two of them given a couple of others, right? In addition to disentangling the elements of the representation, which are like the variables in a rule based system, you also need to disentangle the mechanisms that relate those variables to each other. So like the rules. So the rules are neatly separated. Like each rule is, you know, living on its own. And when I change a rule because I'm learning, it doesn't need to break other rules. Whereas current neural nets, for example, are very sensitive to what's called catastrophic forgetting, where after I've learned some things and then I learn new things, they can destroy the old things that I had learned, right? If the knowledge was better factorized and separated, disentangled, then you would avoid a lot of that. Now, you can't do this in the sensory domain. What do you mean by sensory domain? Like in pixel space. But my idea is that when you project the data in the right semantic space, it becomes possible to now represent this extra knowledge beyond the transformation from inputs to representations, which is how representations act on each other and predict the future and so on in a way that can be neatly disentangled. So now it's the rules that are disentangled from each other and not just the variables that are disentangled from each other. And you draw a distinction between semantic space and pixel, like does there need to be an architectural difference? Well, yeah. So there's the sensory space like pixels, which where everything is entangled. The information, like the variables are completely interdependent in very complicated ways. And also computation, like it's not just the variables, it's also how they are related to each other is all intertwined. But I'm hypothesizing that in the right high level representation space, both the variables and how they relate to each other can be disentangled. And that will provide a lot of generalization power. Generalization power. Yes. Distribution of the test set is assumed to be the same as the distribution of the training set. Right. This is where current machine learning is too weak. It doesn't tell us anything, is not able to tell us anything about how our neural nets, say, are going to generalize to a new distribution. And, you know, people may think, well, but there's nothing we can say if we don't know what the new distribution will be. The truth is humans are able to generalize to new distributions. Yeah. How are we able to do that? Yeah. Because there is something, these new distributions, even though they could look very different from the training distributions, they have things in common. So let me give you a concrete example. You read a science fiction novel. The science fiction novel, maybe, you know, brings you in some other planet where things look very different on the surface, but it's still the same laws of physics. And so you can read the book and you understand what's going on. So the distribution is very different. But because you can transport a lot of the knowledge you had from Earth about the underlying cause and effect relationships and physical mechanisms and all that, and maybe even social interactions, you can now make sense of what is going on on this planet where, like, visually, for example, things are totally different. Taking that analogy further and distorting it, let's enter a science fiction world of, say, Space Odyssey, 2001, with Hal. Or maybe, which is probably one of my favorite AI movies. Me too. And then there's another one that a lot of people love that may be a little bit outside of the AI community is Ex Machina. I don't know if you've seen it. Yes. Yes. By the way, what are your views on that movie? Are you able to enjoy it? Are there things I like and things I hate? So you could talk about that in the context of a question I want to ask, which is, there's quite a large community of people from different backgrounds, often outside of AI, who are concerned about existential threat of artificial intelligence. You've seen this community develop over time. You've seen you have a perspective. So what do you think is the best way to talk about AI safety, to think about it, to have discourse about it within AI community and outside and grounded in the fact that Ex Machina is one of the main sources of information for the general public about AI? So I think you're putting it right. There's a big difference between the sort of discussion we ought to have within the AI community and the sort of discussion that really matter in the general public. So I think the picture of Terminator and AI loose and killing people and super intelligence that's going to destroy us, whatever we try, isn't really so useful for the public discussion. Because for the public discussion, the things I believe really matter are the short term and medium term, very likely negative impacts of AI on society, whether it's from security, like, you know, big brother scenarios with face recognition or killer robots, or the impact on the job market, or concentration of power and discrimination, all kinds of social issues, which could actually, some of them could really threaten democracy, for example. Just to clarify, when you said killer robots, you mean autonomous weapon, weapon systems. Yes, I don't mean that's right. So I think these short and medium term concerns should be important parts of the public debate. Now, existential risk, for me is a very unlikely consideration, but still worth academic investigation in the same way that you could say, should we study what could happen if meteorite, you know, came to earth and destroyed it. So I think it's very unlikely that this is going to happen in or happen in a reasonable future. The sort of scenario of an AI getting loose goes against my understanding of at least current machine learning and current neural nets and so on. It's not plausible to me. But of course, I don't have a crystal ball and who knows what AI will be in 50 years from now. So I think it is worth that scientists study those problems. It's just not a pressing question as far as I'm concerned. So before I continue down that line, I have a few questions there. But what do you like and not like about Ex Machina as a movie? Because I actually watched it for the second time and enjoyed it. I hated it the first time, and I enjoyed it quite a bit more the second time when I sort of learned to accept certain pieces of it, see it as a concept movie. What was your experience? What were your thoughts? So the negative is the picture it paints of science is totally wrong. Science in general and AI in particular. Science is not happening in some hidden place by some, you know, really smart guy, one person. This is totally unrealistic. This is not how it happens. Even a team of people in some isolated place will not make it. Science moves by small steps, thanks to the collaboration and community of a large number of people interacting. And all the scientists who are expert in their field kind of know what is going on, even in the industrial labs. It's information flows and leaks and so on. And the spirit of it is very different from the way science is painted in this movie. Yeah, let me ask on that point. It's been the case to this point that kind of even if the research happens inside Google or Facebook, inside companies, it still kind of comes out, ideas come out. Do you think that will always be the case with AI? Is it possible to bottle ideas to the point where there's a set of breakthroughs that go completely undiscovered by the general research community? Do you think that's even possible? It's possible, but it's unlikely. It's not how it is done now. It's not how I can foresee it in the foreseeable future. But of course, I don't have a crystal ball and science is a crystal ball. And so who knows? This is science fiction after all. I think it's ominous that the lights went off during that discussion. So the problem, again, there's one thing is the movie and you could imagine all kinds of science fiction. The problem for me, maybe similar to the question about existential risk, is that this kind of movie paints such a wrong picture of what is the actual science and how it's going on that it can have unfortunate effects on people's understanding of current science. And so that's kind of sad. There's an important principle in research, which is diversity. So in other words, research is exploration. Research is exploration in the space of ideas. And different people will focus on different directions. And this is not just good, it's essential. So I'm totally fine with people exploring directions that are contrary to mine or look orthogonal to mine. I am more than fine. I think it's important. I and my friends don't claim we have universal truth about what will, especially about what will happen in the future. Now that being said, we have our intuitions and then we act accordingly according to where we think we can be most useful and where society has the most to gain or to lose. We should have those debates and not end up in a society where there's only one voice and one way of thinking and research money is spread out. So disagreement is a sign of good research, good science. Yes. The idea of bias in the human sense of bias. How do you think about instilling in machine learning something that's aligned with human values in terms of bias? We intuitively as human beings have a concept of what bias means, of what fundamental respect for other human beings means. But how do we instill that into machine learning systems, do you think? So I think there are short term things that are already happening and then there are long term things that we need to do. In the short term, there are techniques that have been proposed and I think will continue to be improved and maybe alternatives will come up to take data sets in which we know there is bias, we can measure it. Pretty much any data set where humans are being observed taking decisions will have some sort of bias, discrimination against particular groups and so on. And we can use machine learning techniques to try to build predictors, classifiers that are going to be less biased. We can do it, for example, using adversarial methods to make our systems less sensitive to these variables we should not be sensitive to. So these are clear, well defined ways of trying to address the problem. Maybe they have weaknesses and more research is needed and so on. But I think in fact they are sufficiently mature that governments should start regulating companies where it matters, say like insurance companies, so that they use those techniques. Because those techniques will probably reduce the bias but at a cost. For example, maybe their predictions will be less accurate and so companies will not do it until you force them. All right, so this is short term. Long term, I'm really interested in thinking how we can instill moral values into computers. Obviously, this is not something we'll achieve in the next five or 10 years. How can we, you know, there's already work in detecting emotions, for example, in images, in sounds, in texts, and also studying how different agents interacting in different ways may correspond to patterns of, say, injustice, which could trigger anger. So these are things we can do in the medium term and eventually train computers to model, for example, how humans react emotionally. I would say the simplest thing is unfair situations which trigger anger. This is one of the most basic emotions that we share with other animals. I think it's quite feasible within the next few years that we can build systems that can detect these kinds of things to the extent, unfortunately, that they understand enough about the world around us, which is a long time away. But maybe we can initially do this in virtual environments. So you can imagine a video game where agents interact in some ways and then some situations trigger an emotion. I think we could train machines to detect those situations and predict that the particular emotion will likely be felt if a human was playing one of the characters. You have shown excitement and done a lot of excellent work with unsupervised learning. But there's been a lot of success on the supervised learning side. Yes, yes. And one of the things I'm really passionate about is how humans and robots work together. And in the context of supervised learning, that means the process of annotation. Do you think about the problem of annotation put in a more interesting way as humans teaching machines? Yes. Is there? Yes. I think it's an important subject. Reducing it to annotation may be useful for somebody building a system tomorrow. But longer term, the process of teaching, I think, is something that deserves a lot more attention from the machine learning community. So there are people who have coined the term machine teaching. So what are good strategies for teaching a learning agent? And can we design and train a system that is going to be a good teacher? So in my group, we have a project called BBI or BBI game, where there is a game or scenario where there's a learning agent and a teaching agent. Presumably, the teaching agent would eventually be a human. But we're not there yet. And the role of the teacher is to use its knowledge of the environment, which it can acquire using whatever way brute force to help the learner learn as quickly as possible. So the learner is going to try to learn by itself, maybe using some exploration and whatever. But the teacher can choose, can have an influence on the interaction with the learner, so as to guide the learner, maybe teach it the things that the learner has most trouble with, or just add the boundary between what it knows and doesn't know, and so on. So there's a tradition of these kind of ideas from other fields and like tutorial systems, for example, and AI. And of course, people in the humanities have been thinking about these questions. But I think it's time that machine learning people look at this, because in the future, we'll have more and more human machine interaction with the human in the loop. And I think understanding how to make this work better, all the problems around that are very interesting and not sufficiently addressed. You've done a lot of work with language, too. What aspect of the traditionally formulated Turing test, a test of natural language understanding and generation in your eyes is the most difficult of conversation? What in your eyes is the hardest part of conversation to solve for machines? So I would say it's everything having to do with the non linguistic knowledge, which implicitly you need in order to make sense of sentences, things like the Winograd schema. So these sentences that are semantically ambiguous. In other words, you need to understand enough about the world in order to really interpret properly those sentences. I think these are interesting challenges for machine learning, because they point in the direction of building systems that both understand how the world works and this causal relationships in the world and associate that knowledge with how to express it in language, either for reading or writing. You speak French? Yes, it's my mother tongue. It's one of the romance languages. Do you think passing the Turing test and all the underlying challenges we just mentioned depend on language? Do you think it might be easier in French than it is in English, or is independent of language? I think it's independent of language. I would like to build systems that can use the same principles, the same learning mechanisms to learn from human agents, whatever their language. Well, certainly us humans can talk more beautifully and smoothly in poetry, some Russian originally. I know poetry in Russian is maybe easier to convey complex ideas than it is in English. But maybe I'm showing my bias and some people could say that about French. But of course, the goal ultimately is our human brain is able to utilize any kind of those languages to use them as tools to convey meaning. Yeah, of course, there are differences between languages, and maybe some are slightly better at some things, but in the grand scheme of things, where we're trying to understand how the brain works and language and so on, I think these differences are minute. So you've lived perhaps through an AI winter of sorts? Yes. How did you stay warm and continue your research? Stay warm with friends. With friends. Okay, so it's important to have friends. And what have you learned from the experience? Listen to your inner voice. Don't, you know, be trying to just please the crowds and the fashion. And if you have a strong intuition about something that is not contradicted by actual evidence, go for it. I mean, it could be contradicted by people. Not your own instinct of based on everything you've learned? Of course, you have to adapt your beliefs when your experiments contradict those beliefs. But you have to stick to your beliefs. Otherwise, it's what allowed me to go through those years. It's what allowed me to persist in directions that, you know, took time, whatever other people think, took time to mature and bring fruits. So history of AI is marked with these, of course, it's marked with technical breakthroughs, but it's also marked with these seminal events that capture the imagination of the community. Most recent, I would say, AlphaGo beating the world champion human Go player was one of those moments. What do you think the next such moment might be? Okay, so first of all, I think that these so called seminal events are overrated. As I said, science really moves by small steps. Now what happens is you make one more small step and it's like the drop that, you know, that fills the bucket and then you have drastic consequences because now you're able to do something you were not able to do before. Or now, say, the cost of building some device or solving a problem becomes cheaper than what existed and you have a new market that opens up, right? So especially in the world of commerce and applications, the impact of a small scientific progress could be huge. But in the science itself, I think it's very, very gradual. And where are these steps being taken now? So there's unsupervised learning. So if I look at one trend that I like in my community, so for example, at Milan, my institute, what are the two hardest topics? GANs and reinforcement learning. Even though in Montreal in particular, reinforcement learning was something pretty much absent just two or three years ago. So there's really a big interest from students and there's a big interest from people like me. So I would say this is something where we're going to see more progress, even though it hasn't yet provided much in terms of actual industrial fallout. Like even though there's AlphaGo, there's no, like Google is not making money on this right now. But I think over the long term, this is really, really important for many reasons. So in other words, I would say reinforcement learning may be more generally agent learning because it doesn't have to be with rewards. It could be in all kinds of ways that an agent is learning about its environment. Now reinforcement learning you're excited about, do you think GANs could provide something, at the moment? Well, GANs or other generative models, I believe, will be crucial ingredients in building agents that can understand the world. A lot of the successes in reinforcement learning in the past has been with policy gradient, where you just learn a policy, you don't actually learn a model of the world. But there are lots of issues with that. And we don't know how to do model based RL right now. But I think this is where we have to go in order to build models that can generalize faster and better like to new distributions that capture to some extent, at least the underlying causal mechanisms in the world. Last question. What made you fall in love with artificial intelligence? If you look back, what was the first moment in your life when you were fascinated by either the human mind or the artificial mind? You know, when I was an adolescent, I was reading a lot. And then I started reading science fiction. There you go. That's it. That's where I got hooked. And then, you know, I had one of the first personal computers and I got hooked in programming. And so it just, you know, Start with fiction and then make it a reality. That's right. Yoshua, thank you so much for talking to me. My pleasure.

本集资源与出处