第 76 期·中文精读

约翰·霍普菲尔德:心智的物理学视角与神经生物学

John Hopfield: Physics View of the Mind and Neurobiology

物理学家谈神经网络与记忆的物理模型、大脑的计算方式,以及物理与生物的交汇。

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

2001 年 6 月,泰晤士河上那座新落成的千禧桥开放三天就关了。人走上去,桥会横向摇晃。

桥没有塌,摇晃的幅度也不像要塌的样子。它摆得更像有人推秋千:一次比一次大,走到后来行人得扶住栏杆。三天后桥关了,一关两年。

事后的解释是这样。行人走路的步频在 2 赫兹上下,桥的横向自振频率差不多也是这个值。人走路时重心除了前后移动,还会左右摆。工程师设计时只算了前后方向,桥的强度够了,横向刚度不够。桥一开始晃,行人本能地想稳住自己,脚步不自觉跟桥的节奏对齐,给桥的推力于是更整齐,桥晃得更凶。

约翰·霍普菲尔德(John Hopfield)在播客里讲这个故事,讲到一半就拐到了神经系统上。

神经细胞产生动作电位。一群频率相近、彼此松散耦合的细胞放在一起,某些条件下相位会锁死,所有人一起放电;另一些条件下锁不上。而一旦它们同步放电,周围的细胞一定会注意到。在一颗正在演化中的大脑那里,这件事本身就能拿来当计算用。

生命系统里那些看起来像缺陷的东西,是可以变成特征的。(约翰·霍普菲尔德)

他说完停了一下,接着说:现在绝大多数人工神经网络,连动作电位都没有,更别提让它们同步。

复制一份,然后让两份漂开

他举了分子层面的例子。

一段 DNA 编码一个特定的蛋白质。这段 DNA 可以被复制一份。复制完之后,其中一份继续干原来的活,另一份可以自己慢慢变化,编码出一个略有不同的分子。如果这个新分子碰巧帮上了某个对细胞要紧的化学反应,演化就会开始改进它。于是你得到一种能力:复制,然后让两份漂移开,一份守住旧功能,另一份去试新的。

莱克斯·弗里德曼(Lex Fridman)把话题引到公司上。霍普菲尔德说,是啊,公司也这样,关门、开业,时间尺度短一些,也短不了多少,有些公司能活一个世纪。他提到 IBM 造第一台 PC 时成立了一个隔离的内部小组,那是 IBM 历史上第一次不坚持用自家元件。要进一个完全不同的市场,得把整套文化换掉。

然后他补了一句:生物学找新市场的方式,比这更有适应性。

芯片是平的,大脑是立体的

他把人工神经网络缺的东西归结到一件很物理的事情上:结构。

计算机芯片基本是二维的,勉强算 2.1 维。它做不好三维布线。大脑不长这样。新皮层是片状的,铺在白质上面,白质的体积大约是灰质的十倍,里面全是所谓的"线"。

结构决定什么容易、什么极难。生物学让一些事变得极其容易,而那些事从计算角度看,难到不知道怎么下手。反过来,它做不了简单的浮点运算,那对它来说蠢得没法用。

他提到婴儿期。那段时间大脑里既有疯狂的细胞增殖,也有最剧烈的细胞死亡。用不上的、接得不够好的连接会被清掉。这是一套筛选机制,并非一次性的设计。

教了一辈子书,"理解"这个词他还是没定义清楚

霍普菲尔德的父母都是物理学家。他说自己从中真正得到的,是一种感觉:世界是个可以被理解的地方。做得够多的实验,想清楚它们意味着什么,把东西组织成能做数学的形式,你就应该能明白它怎么运作。

但他教大一物理的时候遇到麻烦。他不想让学生背下一堆例题,看到题就知道该写哪个公式去生成答案。他想让学生真的"理解"牛顿定律,看到某个情境就能说,这个球应该走那条轨迹。

对这个"理解",我心里有个模糊的想法,可我不知道该怎么把它表达好,我一辈子都没搞清楚该怎么表达它。(约翰·霍普菲尔德)

他说这个问题在前馈神经网络面前撞得头破血流。这些网络做出了惊人的事,可里面没有一丝一毫他心目中的"理解"。

理解远远不止一张巨大的查找表。(约翰·霍普菲尔德)

弗里德曼追问:如果这张表足够大呢?

霍普菲尔德没接这个话头,他绕到了反馈和脑电节律上。问一个神经外科医生,什么时候算一个人死了?答案大概会是:看脑电节律,这一颗是再也回不来的,那一颗好好处理还有救。做这个判断靠的是电极读到的简单电学图样,压根不去看单个神经元在干什么。

这些节律,在 Google 的任何一台机器里都不存在。

弗里德曼说,这有点像拿世界顶级钢琴家和一个刚学琴的孩子比。霍普菲尔德说,可他们都在弹钢琴。

AI 撞一次墙,神经生物学递一块砖,然后再撞

被问到两边会不会有一天接上,霍普菲尔德的判断是,这会一代一代循环下去。

模式大致是这样:人工智能和计算机科学这边说,这就是我们当下对神经生物学的模型,先假装它够用,把能做的做尽。做出一堆有意思的东西。做一阵子之后,撞进沙子里动不了了。然后有人回头说,神经生物学那边还得要点别的东西。再然后某个更大的东西出现,又能往前走很远。接着再撞一次。

他说他也不知道这个循环要走多少代。每一代都会比上一代更接近大脑实际在做的事,也能在更大范围上越过图灵测试这类标尺。

有意思的是,这个循环在神经生物学内部已经演过一遍。

霍普菲尔德刚对这个领域感兴趣的时候,绝大多数从业者相信,只记录单个细胞就能理解神经生物学。大卫·休伯尔(David Hubel)是这种观点的强力代表。后来一两代人把这个看法整个推翻了:不做到同时记录一万到十万个细胞,就别谈理解大脑怎么工作。

霍普菲尔德说,大方向上这是对的。你得能看到集体模式。这些模式落在整组细胞的集体属性上,跟某一个动作电位、某一个细胞无关。问题是,要多少个。

六个高精度电机,还是十万根肌肉纤维

他举了运动皮层。运动皮层做的事很复杂,可你要研究的问题本身相对简单。神经生物学的做法和工程师的做法完全不同:工程师会在一条肢体上装六个高精度步进电机,神经生物学用的是十万根肌肉纤维,每一根都得单独控制。

理解怎么用一种宽容得多的、更像神经的方式去完成一件事,我觉得对工程界是有好处的。(约翰·霍普菲尔德)

他的建议很具体。别铺一整片几万个压力传感器,每一个都不太准,每一个都在没完没了地自我校准。装一两个,然后用一套容错的方式去用它们。

弗里德曼追问:那样的话,物理学家不就永远失业了吗?那么大、那么乱的系统里,哪还有什么简单的基本原理可挖。

霍普菲尔德不接受这个说法。他拿纳维-斯托克斯方程打比方。非线性流体力学的方程里有大量物理,原子和分子的物理全都不见了,被另一组方程取代,而那组方程跟底层方程一样真。

问题在于,这类方程在一般生物学里会难找得多。但作为物理学家的那个我坚持认为,大概存在某种这样的方程,它们就在那儿。(约翰·霍普菲尔德)

如果物理学还能对这个领域有贡献,可能就贡献在找这类方程上,以及贡献在弄清怎么从生物学里把它们提取出来。

他把这称作一个尚未解决的开放问题。分子在这头,心理行为在那头,中间隔着好几层集体性。要抓住的是这些层与层之间怎么接起来,而不必从头算。

两种学习,他只愿意研究其中一种

被问到最漂亮的东西,霍普菲尔德的回答几乎脱口而出:适应就是一切。

但适应有两种。一种发生在代际之间,靠演化时间。另一种发生在单个个体的一生之内,靠这个人从环境里学。生物学两种都有。让神经生物学变得困难的正是这一点:它是一套建立在演化系统之上的、像数学系统一样的东西。

他讲这两种学习时的态度差别很大。

演化让他敬畏。他接着说,那是个黑洞,他看不出从哪里下手,所以一点工作的兴趣都没有。

我看不到演化过程在眼前发生。我对它心怀敬畏,但我没法对它产生研究的兴趣。(约翰·霍普菲尔德)

人能撬开的是"一生"这个时间尺度。发育神经生物学就在这个尺度上,看连接和结构怎么从基因加三维构建这两件事里长出来,也看那最初几天几个月里发生了什么。

身体散了以后

访谈里有个转折,弗里德曼问他自己怎么看待死亡,因为他研究的是心智这个机制。

霍普菲尔德的回答很直接。年纪大了,身体以各种方式散架,他越来越清楚地意识到,一个人是什么,装在脑子里,不装在你操心怎么埋葬的那具身体里。

有一部分的确能留下来。写过东西的人,方程、笔记、日记,这些碎片会在他死后继续活着。他说他这辈子正在经历一场深刻的转变:他父亲过世时,除了亲手写下的那些东西,关于这个人的事实几乎没有被记录过。而现在,每一个普通人的大量事实都会被数字世界永久记下来。

所以什么是死亡这个问题,对上一代人和对下一代人,答案可能不一样。按某些定义,我们某种程度上已经不朽了。(约翰·霍普菲尔德)

这个判断出自一个研究联想记忆的人嘴里,别有意味。他造的那类网络,本质上就是让部分信息能唤起整体。他说的"留下来"也是同一回事:留下足够多的锚点,别人就能重建出一部分你。

意义这个词,和"理解"一样滑

被问到生命的意义,他先说这个词滑得像"理解"。

然后他讲到活着的系统有多难定义。一个氢原子和另一个氢原子基本一样。两个同种细菌就不太一样了,同名义物种之内的差异大到超出直觉。什么算物种这个概念本身开始模糊。物种离开特定环境还存不存在,又是个问题。

再往下推,整片生物圈都是活的,可你要问其中哪一块单独拿出来能叫"活",他自己都觉得说不清。

所以"意义"这种东西,可能是像有意识的生物这样的个体才拥有的。而你在说,这一切都以某种方式互联,可能连个体都不存在。(莱克斯·弗里德曼)

霍普菲尔德接了一句更狠的:人说新皮层是思考的地方,可大量工作在脊髓上完成。思考的本质在哪?不可能只在新皮层。

想理解思想、想造出思想,你可能得连着新皮层一起把整个宇宙造出来。

提起一个腰不好的认知科学家

话题转到他自己的工作。

联想记忆是什么?他举了个例子。你对每个朋友都有一堆记忆:长什么样、声音什么样、哪上的大学、在哪儿认识的、写过什么论文,一直列下去。现在有人开始描述,一个五英尺十英寸高、做认知科学、腰很不好的家伙。用不了多久你就知道,他在讲杰夫·辛顿(Jeff Hinton)。

整个过程里没人提名字。

几个和某个人绑定的事实,就足以让你抓住其余事实里的一个子集。这种把东西连起来、把经历连起来的能力,就叫联想记忆。霍普菲尔德对它的评价比大多数人想的都要高:

在我看来,智能行为里有很大一部分,其实就是大型联想记忆在运转。(约翰·霍普菲尔德)

他四十年前做的东西是个粗糙的物理模型。粗糙是有意的,为的是让他自己那种物理学家的"理解"能站住:你可以说,哦,我明白它为什么跑到稳定态去了,就跟东西往山下滚一样。有了这个,你就能用物理的语言思考,而不只靠数学符号。

具体机制是这样。把系统看成一个在高维空间里运动的点。存在某些路径,别的路径会往它们上面收敛。这类网络叫吸引子网络。吸引子的意思是,从附近任意一点出发,轨迹最终都落到同一条线上去。

怎么在高维空间里实现收缩?这里有道经典的限制。刘维尔定理说,相空间里处处收缩是不可能的。这儿缩,那儿就得胀。有意思的驱动物理系统总是这样处理:取一小块子系统当"有意思的部分",让它收缩,剩下的那部分负责膨胀,物理学家管这个叫熵流。

收缩带来稳定。稳定带来稳定的计算和稳定的行为。

关键的数学工具叫李雅普诺夫函数。有这个东西的系统,你不必把动力学细节全跟一遍,就能判断它会往哪去。霍普菲尔德说他在八十年代初做那个简单模型时,压根不知道李雅普诺夫函数叫什么,他只知道那是个能量函数。

从山顶放一颗球,它会停在某个谷底。你用不着盯着它滚,也能知道这件事。

这套"能量地形"的图景顺带解释了误差校正。纠正错误可以理解成一条河谷:计算沿着谷底走,被石头推偏了一点,水会自己回到河道里。即使中间每一步执行得都不完美,最后也能到同一个答案。

他说得很清楚,没有谷底的纠错方案也存在,数学家能懂,他不懂。他懂的是有谷底的那种。

这个模型没告诉你东西是怎么学会的

弗里德曼几次想把这套东西升格成"关于学习的洞见",霍普菲尔德每次都把他按回去。

它没给出关于学习的洞见。它给出的是,一个已经学成的系统可以怎样表达。它没有描述一个合理的、真正把东西学下来的过程。(约翰·霍普菲尔德)

这句话分量很重。被问了三十多年 Hopfield 网络的人,本人一再强调这个模型的边界:它说的是"假如这些连接已经以某种方式学好了,现在你放半个图案进去,另一半会自动补全,为什么?因为物理"。那套连接最初怎么形成的,它一个字没讲。

真正把学习装进去的是玻尔兹曼机,辛顿和特里·谢诺夫斯基(Terry Sejnowski)的工作。霍普菲尔德对它有个评价:这是最长寿的学习系统之一,而它本质上是个反馈网络,学习的内容是一组物理哈密顿量或者能量函数的参数。他说辛顿一遍又一遍回到玻尔兹曼机的变体上,这件事一直让他觉得有趣,因为一个带反馈、带概率的东西,在计算和物理两边都是漂亮的封装。

从这里他引出一个对当下深度学习的判断。他不认为大脑有最深那些网络那么深。他怀疑,计算机科学里那种深度,有一部分是被逼出来的:机器上最容易实现的学习是前馈的,所以只能靠堆深度来补。

如果真是这样,问题就变成了:生物系统里既有前馈又有反馈,它会不会被一个神经元多得多、但层层堆叠的系统给近似掉了?反馈的动力学,会不会比神经元数量和深度更关键?

他的比喻是,没有反馈,就像造了一台大计算机,只让它跑一个时钟周期,然后必须重新加载输入才能干下一件事。而人可以闭上眼睛,不听对方说话,在脑子里摆弄一个棋盘两分钟,一点外部输入都没有。

那种记忆的东西,从根本上就是反馈机制。(约翰·霍普菲尔德)

意识是给自己讲的故事

反馈绕不开意识,他承认这一点,但他说很难内省,更别说研究。他这些年偶尔对意识感兴趣,就去问比他强的人怎么看,收集观点。

马文·明斯基(Marvin Minsky)的看法是,意识基本被高估了,它可能只是个副现象。你做的那些难的运算,全在无意识里完成。证据多得很:甚至很简单的动作,你已经决定了,神经生物学家能在你自己意识到之前看出你已经决定要把手往左移。意识像蛋糕上的糖霜,真正的蛋糕在下面。

尼可拉斯·查特(Nick Chater)写过一本《心智是平的》(The Mind Is Flat)。霍普菲尔德拿神经网络来类比这个"平"字:可能是一张很宽、没有深度的网。他顺着明斯基往下推,如果把明斯基逼急了,他大概会说,意识是你为了向自己解释你早就做完的事而付出的努力。

它是围绕那些已经替你算好的东西,编织出来的一段叙事。(莱克斯·弗里德曼)

霍普菲尔德说,对,我们对事件的记忆有大量这种情况。你目睹一件创伤性事件,真正准确记下的没几条。有人问你,你会围绕这几个正确的锚点,加上一般常识,编出一段细节丰富得多的叙事。一旦这段叙事被生成出来,你极可能反复复述它,并且坚称里面每一条都是真的。

他举了约翰·迪恩(John Dean)的例子。水门事件时期,迪恩是尼克松的私人律师,卷入掩盖行动,后来意识到不交代就等着坐很久的牢。他作证时表现惊人,能极其详细地复述一次次谈话,非常有说服力。多年后秘密录音带公开,人们发现迪恩的记忆是好的,但没到非凡的程度。他真正有的能力是,把当时的气氛生动而大体准确地画出来。

弗里德曼说,这本身就是对意识的一个漂亮描述。霍普菲尔德没反对。

问到他自己站哪边,他说还在收集观点。他见过弗朗西斯·克里克(Francis Crick)一次,问起意识,克里克立刻开始长篇讲孟德尔和豌豆。孟德尔知道有些东西在遗传里,而且那种东西不溶于灰色、是这个或那个、会传递下去,这对生物学是根本性的。生物学家花了好几代才明白有遗传学这回事,又花了一两代才明白它来自 DNA。可孟德尔之后不久,会思考的生物学家就已经意识到遗传里有个深层问题。

克里克想说的是,这就是我在做意识的原因。霍普菲尔德指出,克里克手里没有孟德尔那样的确凿信号。这正是他立场薄弱的地方。克里克和克里斯托夫·科赫(Christoph Koch)合写的那本书,他觉得不够有说服力,原因就在于缺那个信号。

他自己为什么不站队:他还没看到进入点。在神经生物学里,一旦他理解了集体现象、理解了可以被描述为集体行为的动力学演化,他就觉得,我懂的那套物理和任何一个神经生物学家懂的东西差得这么远,我大概能往里添点东西。从物理学看意识,现在没有任何可以抓的地方。

自由意志是紧挨着的另一个问题。他说物理学家会随口给一个答案,然后一路后退,因为发现刚说的那个答案必然和物理定律冲突。

但这里他划了一条界线,划得很干脆。量子力学不必扯进来。

在我看来,大脑的谜属于这样一种性质:一个被驱动的动力系统,手里有一亿亿个部件,会发生什么。这种复杂性的物理,至少和量子力学里的相位相干一样,都没被搞明白。(约翰·霍普菲尔德)

街上滚过来一个球

如果有个眼睛里带着光的年轻人跑来,说想用神经网络造出会思考的系统,他会给什么建议。

他的第一条批评是:简单的网络撑不住多个假设并存。

他理解中的思考,核心是在采取物理行动之前先做心理上的探路。就是刚才说的闭眼在脑子里摆棋盘。前馈网络做这件事的方式是把所有情况预先算好。他认为神经生物学不这么干,它手里有一套动力学系统,探路是真的在系统里跑一遍。这里面有创造的成分。

而在简单网络里,你有的是一堆学过的实例构成的空间。如果新问题落在这个空间内部,网络能给出不错的建议。如果这个问题来自空间之外,它的行为没有任何约束,什么都有可能发生。

在人工神经网络这个世界里,前提永远是我有一堆样本,测试集必须从同一个分布里抽。如果测试集来自完全不同的分布,你没道理指望它答对。(约翰·霍普菲尔德)

这就是所谓的分布外。

他举了个场景。黄昏时分,一个球从街对面滚过来。假如这不在训练集里,"后面可能跟着个孩子"这个念头不会出现在网络里。而人的生物性里有某种东西会让这个念头出现。

接下来他说的话,把整场对话又拽回"理解"那个词上。训练集这个分布,不只是那堆样本的集合,它背后还有别的东西。那个别的东西,正是他一直想问的:理解一件事到底是什么。

皮布尔斯不啃大数据

弗里德曼问演绎推理在科学里的位置。

霍普菲尔德承认,有些科学问题的答案确实只能靠分析海量数据拿到,宇宙学就是。这类问题从来不是他有洞见的那一类。然后他补了个例子:今年诺贝尔物理学奖得主之一吉姆·皮布尔斯(Jim Peebles)就在隔壁系。皮布尔斯干的事,从来是自己不去啃大数据,他用的是别人工作被压缩后的结果,最终归结为把问题想透,想清楚一个现象在什么原理下运作。

物理学会一直寻找那种能越过细节去描述系统的方式。死硬派生物学家认为生物学之所以成立就在细节里。物理学家想要的是一个"不管细节怎样都成立"的解释。他也承认,有些问题的答案注定无法用这种方式找到。

那辆在 45 英里上抖轮子的道奇

霍普菲尔德讲了他第一辆车。1936 年的道奇,基本是堆废铁。开到 45 英里每小时以上,轮子就开始抖。

没人设计成这样。这就是车在出故障。

换到生物学里,如果"什么时候超过 45 英里"这个信息对你有用,演化会直接把这个抖动抓过来当传感器用,而且完全不关心它是怎么来的。

要让这种发生在大规模复杂网络里的事情真正被用于计算,还得等很长时间。(约翰·霍普菲尔德)

他接着说,你笔记本里现在有多少个晶体管?数量级是百亿。所有晶体管都差不多。而物理系统里只要有这么多相似的部件,几乎必然会出现集体属性。空气里的声波,地震,天气,都是。

而在今天的人工智能里,没有一个集体属性被用上了。

如果生物学用上了,那就还要好几代人去挖,去看它们怎么被用、意味着什么。弗里德曼说,那我们可能得反复回到神经生物学,把我们的晶体管弄得更乱一点。霍普菲尔德说,对,同时那些简单的方案也会拿下很大一块地盘。

他自己承认,最让他意外的事情之一是,学习系统明明跟生物一点关系都没有,却能这么有用。

回到千禧桥

整场对话的结构很像他自己描述的那种动力学。开头是桥在晃,行人不自觉同步,一个纯粹的相变问题。中段是一颗球从山顶滚到谷底,是高维空间里的吸引子。结尾是一辆 1936 年的道奇在 45 英里时速上抖轮子。

三件事的共同点是:系统里有大量相似的部件,集体行为既不出自哪个部件的设计,也没法靠拆开某个部件理解。

桥的设计师算错了方向,行人的本能把这个错误放大成一场相变。球的轨迹不用盯着看也知道终点。抖动的车轮如果对某件事有用,演化就会留着它,还会把它磨得更灵。

他七十年代从物理学转进生物学,八十年代做出那个以他命名的网络,之后又把注意力转回真实的神经生物学,反复提醒别人(也提醒自己)那个模型没解释学习。他 2018 年那篇文章就叫《现在呢?》(Now What?)。他在里面写,自己科学上的成就多半来自问这个问题,然后往往以一次大转向作为回答。

文章末尾还有一句:专家擅长回答问题。如果你够胆,就问自己的问题,别太在意你是怎么找到它的。

可以试的几件事

  • 重读自己领域里被反复引用的那个经典模型时,专门去找作者本人后来写的"这个模型没解决什么"。Hopfield 网络被引用了三十多年,而霍普菲尔德本人一再强调它不解释学习怎么发生。作者的自评比二手综述诚实得多。
  • 做模型评估时,除了标准测试集,另外构造一组明显脱离训练分布的样本单独跑。霍普菲尔德给的判据很朴素:新情况如果不在你的样本总体里,系统行为就没有任何约束,别指望它给出合理反应。
  • 如果你的系统是纯前馈的,问一句:这套能力里有多少是靠预先算好所有情况换来的?试着加一层状态循环,让它能在没有新输入时继续在内部演变几秒,看输出会不会变。
  • 做硬件和机器人时,考虑用少数不精确、会自我校准、彼此冗余的传感器,替换掉"一两个高精度传感器加精密控制环"的做法,让整个系统靠容错收敛,不必每一步都算准。神经系统就是这么处理十万根肌肉纤维的。
  • 读一点动力系统的语言,尤其是相空间、吸引子、李雅普诺夫函数这几个概念。它们的好处在于给你一套看图的方式:知道球一定会落到某个谷底,就不必把滚动全过程模拟一遍。
  • 碰到一个看着像 bug 的行为,先问它在这个系统里有没有可能被当成信号用。生物学里大量特性都是这么来的,工程系统里通常直接把它修掉了。
  • 每完成一个项目,把"现在呢"当成一个必须回答的问题写下来。他一生里几次重要转向,都是从这个问题的答案开始的。
文稿来自公开 Kaggle 数据集(rajneesh231/lex-fridman-podcast-transcript),为早期自动转录存档,可能存在识别错误。
The following is a conversation with John Hopfield, professor at Princeton, whose life's work weaved beautifully through biology, chemistry, neuroscience, and physics. Most crucially, he saw the messy world of biology through the piercing eyes of a physicist. He's perhaps best known for his work on associative neural networks, now known as Hopfield networks, that were one of the early ideas that catalyzed the development of the modern field of deep learning. As his 2019 Franklin Medal in Physics Award states, he applied concepts of theoretical physics to provide new insights on important biological questions in a variety of areas, including genetics and neuroscience with significant impact on machine learning. And as John says in his 2018 article titled, Now What?, his accomplishments have often come about by asking that very question, now what? And often responding by a major change of direction. This is the Artificial Intelligence Podcast. If you enjoy it, subscribe on YouTube, give it five stars on Apple Podcast, support it on Patreon, or simply connect with me on Twitter, and Lex Friedman, spelled F R I D M A M. 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 Cash App, the number one finance app in the App Store. When you get it, use code LexPodcast. Cash App lets you send money to friends, buy Bitcoin, and invest in the stock market with as little as $1. Since Cash App 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 to me an algorithmic marvel. So big props to the Cash App engineers for solving a hard problem that in the end provides an easy interface that takes a step up the next layer of abstraction over the stock market, making trading more accessible for new investors and diversification much easier. So again, if you get Cash App from the App Store, Google Play, and use code LexPodcast, you'll get $10, and Cash App will also donate $10 to First, one of my favorite organizations that is helping advance robotics and STEM education for young people around the world. And now here's my conversation with John Hopfield. What difference between biological neural networks and artificial neural networks is most captivating and profound to you? At the higher philosophical level, let's not get technical just yet. But one of the things that very much intrigues me is the fact that neurons have all kinds of components, properties to them. And in evolutionary biology, if you have some little quirk in how a molecule works or how a cell works, and it can be made use of, evolution will sharpen it up and make it into a useful feature rather than a glitch. And so you expect in neurobiology for evolution to have captured all kinds of possibilities of getting neurons, of how you get neurons to do things for you. And that aspect has been completely suppressed in artificial neural networks. So the glitches become features in the biological neural network. They can. Look, let me take one of the things that I used to do research on. If you take things which oscillate, they have rhythms which are sort of close to each other. Under some circumstances, these things will have a phase transition and suddenly the rhythm will, everybody will fall into step. There was a marvelous physical example of that in the Millennium Bridge across the Thames River, about, built about 2001. And pedestrians walking across, pedestrians don't walk synchronized, they don't walk in lockstep. But they're all walking about the same frequency and the bridge could sway at that frequency and the slight sway made pedestrians tend a little bit to lock into step and after a while, the bridge was oscillating back and forth and the pedestrians were walking in step to it. And you could see it in the movies made out of the bridge. And the engineers made a simple minor mistake. They assume when you walk, it's step, step, step and it's back and forth motion. But when you walk, it's also right foot left with side to side motion. And it's the side to side motion for which the bridge was strong enough, but it wasn't stiff enough. And as a result, you would feel the motion and you'd fall into step with it. And people were very uncomfortable with it. They closed the bridge for two years while they built stiffening for it. Now, nerve cells produce action potentials. You have a bunch of cells which are loosely coupled together producing action potentials at the same rate. There'll be some circumstances under which these things can lock together. Other circumstances in which they won't. Well, if they're fired together, you can be sure that other cells are gonna notice it. So you can make a computational feature out of this in an evolving brain. Most artificial neural networks don't even have action potentials, let alone have the possibility for synchronizing them. And you mentioned the evolutionary process. So the evolutionary process that builds on top of biological systems leverages the weird mess of it somehow. So how do you make sense of that ability to leverage all the different kinds of complexities in the biological brain? Well, look, in the biological molecule level, you have a piece of DNA which encodes for a particular protein. You could duplicate that piece of DNA and now one part of it can code for that protein, but the other one could itself change a little bit and thus start coding for a molecule which is slightly different. Now, if that molecule was just slightly different, had a function which helped any old chemical reaction which was important to the cell, you would go ahead and let that try, and evolution would slowly improve that function. And so you have the possibility of duplicating and then having things drift apart. One of them retain the old function, the other one do something new for you. And there's evolutionary pressure to improve. Look, there isn't in computers too, but improvement has to do with closing some companies and opening some others. The evolutionary process looks a little different. Yeah, similar timescale perhaps. Much shorter in timescale. Companies close, yeah, go bankrupt and are born, yeah, shorter, but not much shorter. Some companies last a century, but yeah, you're right. I mean, if you think of companies as a single organism that builds and you all know, yeah, it's a fascinating dual correspondence there between biological organisms. And companies have difficulty having a new product competing with an old product. When IBM built its first PC, you probably read the book, they made a little isolated internal unit to make the PC. And for the first time in IBM's history, they didn't insist that you build it out of IBM components. But they understood that they could get into this market, which is a very different thing by completely changing their culture. And biology finds other markets in a more adaptive way. Yeah, it's better at it. It's better at that kind of integration. So maybe you've already said it, but what to use the most beautiful aspect or mechanism of the human mind? Is it the adaptive, the ability to adapt as you've described, or is there some other little quirk that you particularly like? Adaptation is everything when you get down to it. But the difference, there are differences between adaptation where your learning goes on only over generations and over evolutionary time, where your learning goes on at the time scale of one individual who must learn from the environment during that individual's lifetime. And biology has both kinds of learning in it. And the thing which makes neurobiology hard is that a mathematical system, as it were, built on this other kind of evolutionary system. What do you mean by mathematical system? Where's the math and the biology? Well, when you talk to a computer scientist about neural networks, it's all math. The fact that biology actually came about from evolution, and the fact that biology is about a system which you can build in three dimensions. If you look at computer chips, computer chips are basically two dimensional structures, maybe 2.1 dimensions, but they really have difficulty doing three dimensional wiring. Biology is, the neocortex is actually also sheet like, and it sits on top of the white matter, which is about 10 times the volume of the gray matter and contains all what you might call the wires. But there's a huge, the effect of computer structure on what is easy and what is hard is immense. And biology does, it makes some things easy that are very difficult to understand how to do computationally. On the other hand, you can't do simple floating point arithmetic because it's awfully stupid. And you're saying this kind of three dimensional complicated structure makes, it's still math. It's still doing math. The kind of math it's doing enables you to solve problems of a very different kind. That's right, that's right. So you mentioned two kinds of adaptation, the evolutionary adaptation and the adaptation or learning at the scale of a single human life. Which do you, which is particularly beautiful to you and interesting from a research and from just a human perspective? And which is more powerful? I find things most interesting that I begin to see how to get into the edges of them and tease them apart a little bit and see how they work. And since I can't see the evolutionary process going on, I'm in awe of it. But I find it just a black hole as far as trying to understand what to do. And so in a certain sense, I'm in awe of it, but I couldn't be interested in working on it. The human life's time scale is however thing you can tease apart and study. Yeah, you can do, there's developmental neurobiology which understands how the connections and how the structure evolves from a combination of what the genetics is like and the real, the fact that you're building a system in three dimensions. In just days and months, those early days of a human life are really interesting. They are and of course, there are times of immense cell multiplication. There are also times of the greatest cell death in the brain is during infancy. It's turnover. So what is not effective, what is not wired well enough to use at the moment, throw it out. It's a mysterious process. From, let me ask, from what field do you think the biggest breakthrough is in understanding the mind will come in the next decades? Is it neuroscience, computer science, neurobiology, psychology, physics, maybe math, maybe literature? Well, of course, I see the world always through a lens of physics. I grew up in physics and the way I pick problems is very characteristic of physics and of an intellectual background which is not psychology, which is not chemistry and so on and so on. Yeah, both of your parents are physicists. Both of my parents were physicists and the real thing I got out of that was a feeling that the world is an understandable place and if you do enough experiments and think about what they mean and structure things so you can do the mathematics of the, relevant to the experiments, you ought to be able to understand how things work. But that was, that was a few years ago. Did you change your mind at all through many decades of trying to understand the mind, of studying in different kinds of ways? Not even the mind, just biological systems. You still have hope that physics, that you can understand? There's a question of what do you mean by understand? Of course. When I taught freshman physics, I used to say, I wanted to get physics to understand the subject, to understand Newton's laws. I didn't want them simply to memorize a set of examples to which they knew the equations to write down to generate the answers. I had this nebulous idea of understanding so that if you looked at a situation, you could say, oh, I expect the ball to make that trajectory or I expect some intuitive notion of understanding and I don't know how to express that very well and I've never known how to express it well. And you run smack up against it when you do these, look at these simple neural nets, feed forward neural nets, which do amazing things and yet, you know, contain nothing of the essence of what I would have felt was understanding. Understanding is more than just an enormous lookup table. Let's linger on that. How sure you are of that? What if the table gets really big? So, I mean, asked another way, these feed forward neural networks, do you think they'll ever understand? Could answer that in two ways. I think if you look at real systems, feedback is an essential aspect of how these real systems compute. On the other hand, if I have a mathematical system with feedback, I know I can unlayer this and do it, but I have an exponential expansion in the amount of stuff I have to build if I can resolve the problem that way. So feedback is essential. So we can talk even about recurrent neural nets, so recurrence, but do you think all the pieces are there to achieve understanding through these simple mechanisms? Like back to our original question, what is the fundamental, is there a fundamental difference between artificial neural networks and biological or is it just a bunch of surface stuff? Suppose you ask a neurosurgeon, when is somebody dead? Yeah. So we'll probably go back to saying, well, I can look at the brain rhythms and tell you this is a brain which has never could have functioned again. This is one of the, this other one is one of the stuff we treat it well is still recoverable. And then just do that by some electrodes looking at simple electrical patterns, which don't look in any detail at all what individual neurons are doing. These rhythms are utterly absent from anything which goes on at Google. Yeah, but the rhythms. But the rhythms what? So, well, that's like comparing, okay, I'll tell you, it's like you're comparing the greatest classical musician in the world to a child first learning to play. The question I'm at, but they're still both playing the piano. I'm asking, is there, will it ever go on at Google? Do you have a hope? Because you're one of the seminal figures in both launching both disciplines, both sides of the river. I think it's going to go on generation after generation. The way it has where what you might call the AI computer science community says, let's take the following. This is our model of neurobiology at the moment. Let's pretend it's good enough and do everything we can with it. And it does interesting things. And after a while it sort of grinds into the sand and you say, ah, something else is needed for neurobiology. And some other grand thing comes in and enables you to go a lot further. What will go into the sand again? And I think it could be generations of this evolution. I don't know how many of them. And each one is going to get you further into what a brain does. And in some sense, past the Turing test longer and in more broad aspects. Do you have hope for that kind of computer brain interaction in the near or maybe even far future of being able to expand the ability of the mind of cognition or understand the mind? It's interesting watching things go. When I first became interested in neurobiology, most of the practitioners thought you would be able to understand neurobiology by techniques which allowed you to record only one cell at a time. One cell, yeah. People like David Hubel, very strongly reflected that point of view. And that's been taken over by a generation, a couple of generations later, by a set of people who says not until we can record from 10 to the four, 10 to the five at a time, will we actually be able to understand how the brain actually works. And in a general sense, I think that's right. You have to begin to be able to look for the collective modes, the collective operations of things. It doesn't rely on this action potential or that cell. It relies on the collective properties of this set of cells connected with this kind of patterns and so on. And you're not going to succeed in seeing what those collective activities are without recording many cells at once. The question is how many at once? What's the threshold? And that's the... Yeah, and look, it's being pursued hard in the motor cortex. The motor cortex does something which is complex, and yet the problem you're trying to address is fairly simple. Now, neurobiology does it in ways that differ from the way an engineer would do it. An engineer would put in six highly accurate stepping motors are controlling a limb rather than 100,000 muscle fibers, each of which has to be individually controlled. And so understanding how to do things in a way which is much more forgiving and much more neural, I think would benefit the engineering world. The engineering world, a touch. Let's put in a pressure sensor or two, rather than an array of a gazillion pressure sensors, none of which are accurate, all of which are perpetually recalibrating themselves. So you're saying your hope is, your advice for the engineers of the future is to embrace the large chaos of a messy, air prone system like those of the biological systems. Like that's probably the way to solve some of these. I think you'll be able to make better computations slash robotics that way than by trying to force things into a robotics where joint motors are powerful and stepping motors are accurate. But then the physicists, the physicist in you will be lost forever in such systems because there's no simple fundamentals to explore in systems that are so large and messy. Well, you say that, and yet there's a lot of physics in the Navier Stokes equations, the equations of nonlinear hydrodynamics, huge amount of physics in them. All the physics of atoms and molecules has been lost, but it's been replaced by this other set of equations, which is just as true as the equations at the bottom. Now those equations are going to be harder to find in general biology, but the physicist in me says there are probably some equations of that sort. They're out there. They're out there, and if physics is going to contribute anything, it may contribute to trying to find out what those equations are and how to capture them from the biology. Would you say that's one of the main open problems of our age is to discover those equations? Yeah, if you look at, there's molecules and there's psychological behavior, and these two are somehow related. They're layers of detail, they're layers of collectiveness, and to capture that in some vague way, several stages on the way up to see how these things can actually be linked together. So it seems in our universe, there's a lot of elegant equations that can describe the fundamental way that things behave, which is a surprise. I mean, it's compressible into equations. It's simple and beautiful, but it's still an open question whether that link is equally between molecules and the brain is equally compressible into elegant equations. But your sense, well, you're both a physicist and a dreamer, you have a sense that... Yeah, but I can only dream physics dreams. Physics dreams. There was an interesting book called Einstein's Dreams, which alternates between chapters on his life and descriptions of the way time might have been but isn't. The linking between these being important ideas that Einstein might have had to think about the essence of time as he was thinking about time. So speaking of the essence of time in your biology, you're one human, famous, impactful human, but just one human with a brain living the human condition. But you're ultimately mortal, just like all of us. Has studying the mind as a mechanism changed the way you think about your own mortality? It has, really, because particularly as you get older and the body comes apart in various ways, I became much more aware of the fact that what is somebody is contained in the brain and not in the body that you worry about burying. And it is to a certain extent true that for people who write things down, equations, dreams, notepads, diaries, fractions of their thought does continue to live after they're dead and gone, after their body is dead and gone. And there's a sea change in that going on in my lifetime between when my father died, except for the things which were actually written by him, as it were. Very few facts about him will have ever been recorded. And the number of facts which are recorded about each and every one of us, forever now, as far as I can see, in the digital world. And so the whole question of what is death may be different for people a generation ago and a generation further ahead. Maybe we have become immortal under some definitions. Yeah, yeah. Last easy question, what is the meaning of life? Looking back, you've studied the mind, us weird descendants of apes. What's the meaning of our existence on this little earth? What's the meaning of our existence on this little earth? Oh, that word meaning is as slippery as the word understand. Interconnected somehow, perhaps. Is there, it's slippery, but is there something that you, despite being slippery, can hold long enough to express? I've been amazed at how hard it is to define the things in a living system in the sense that one hydrogen atom is pretty much like another, but one bacterium is not so much like another bacterium, even of the same nominal species. In fact, the whole notion of what is the species gets a little bit fuzzy. And do species exist in the absence of certain classes of environments? And pretty soon one winds up with a biology which the whole thing is living, but whether there's actually any element of it which by itself would be said to be living becomes a little bit vague in my mind. So in a sense, the idea of meaning is something that's possessed by an individual, like a conscious creature. And you're saying that it's all interconnected in some kind of way that there might not even be an individual. We're all kind of this complicated mess of biological systems at all different levels where the human starts and when the human ends is unclear. Yeah, yeah, and we're in neurobiology where the, oh, you say the neocortex is the thinking, but there's lots of things that are done on the spinal cord. And so where's the essence of thought? Is it just gonna be neocortex? Can't be, can't be. Yeah, maybe to understand and to build thought you have to build the universe along with the neocortex. It's all interlinked through the spinal cord. John, it's a huge honor talking today. Thank you so much for your time. I really appreciate it. Well, thank you for the challenge of talking with you. And it'll be interesting to see whether you can win five minutes out of this with just coherence to anyone or not. Beautiful. Thanks for listening to this conversation with John Hopfield and thank you to our presenting sponsor, Cash App. Download it, use code LexPodcast. You'll get $10 and $10 will go to FIRST, an organization that inspires and educates young minds to become science and technology innovators of tomorrow. If you enjoy this podcast, subscribe on YouTube, get five stars on Apple Podcast, support on Patreon, or simply connect with me on Twitter at Lex Friedman. And now let me leave you with some words of wisdom from John Hopfield in his article titled, Now What? Choosing problems is the primary determinant of what one accomplishes in science. I have generally had a relatively short attention span in science problems. Thus, I have always been on the lookout for more interesting questions, either as my present ones get worked out or as they get classified by me as intractable, given my particular talents. He then goes on to say, what I have done in science relies entirely on experimental and theoretical studies by experts. I have a great respect for them, especially for those who are willing to attempt communication with someone who is not an expert in the field. I would only add that experts are good at answering questions. If you're brash enough, ask your own. Don't worry too much about how you found them. Thank you for listening and hope to see you next time. And how many of these are going to have to be before you say, I've made something, I've made a human, I don't know. But your sense is it might be a couple. My sense is it might be a couple more. Yeah. And going back to my brainwaves as it were. Yes, from the AI point of view, they would say, ah, maybe these are an epiphenomenon and not important at all. The first car I had, a real wreck of a 1936 Dodge, go above about 45 miles an hour and the wheels would shimmy. Yeah. Good speedometer that. Now, nobody designed the car that way. The car is malfunctioning to have that. But in biology, if it were useful to know when are you going more than 45 miles an hour, you just capture that. And you wouldn't worry about where it came from. Yeah. It's going to be a long time before that kind of thing, which can take place in large complex networks of things is actually used in the computation. Look, how many transistors are there in your laptop these days? Actually, I don't know the number. It's on the scale of 10 to the 10. I can't remember the number either. Yeah. And all the transistors are somewhat similar. And most physical systems with that many parts, all of which are similar, have collective properties. Yes. Sound waves in air, earthquakes, what have you, have collective properties. Weather. There are no collective properties used in artificial neural networks, in AI. Yeah, it's very. If biology uses them, it's going to take us to more generations of things for people to actually dig in and see how they are used and what they mean. See, you're very right. We might have to return several times to neurobiology and try to make our transistors more messy. Yeah, yeah. At the same time, the simple ones will conquer big aspects. And I think one of the most, biggest surprises to me was how well learning systems because they're manifestly nonbiological, how important they can be actually, and how important and how useful they can be in AI. So if we can just take a stroll to some of your work. If we can just take a stroll to some of your work that is incredibly surprising, that it works as well as it does, that launched a lot of the recent work with neural networks. If we go to what are now called Hopfield networks, can you tell me what is associative memory in the mind for the human side? Let's explore memory for a bit. Okay, what do you mean by associative memory is, ah, you have a memory of each of your friends. Your friend has all kinds of properties from what they look like, what their voice sounds like, to where they went to college, where you met them, go on and on, what science papers they've written. And if I start talking about a 5 foot 10 wire, cognitive scientist who's got a very bad back, it doesn't take very long for you to say, oh, he's talking about Jeff Hinton. I never mentioned the name or anything very particular. But somehow a few facts that are associated with a particular person enables you to get a hold of the rest of the facts. Or not the rest of them, another subset of them. And it's this ability to link things together, link experiences together, which goes under the general name of associative memory. And a large part of intelligent behavior is actually just large associative memories at work, as far as I can see. What do you think is the mechanism of how it works? What do you think is the mechanism of how it works in the mind? Is it a mystery to you still? Do you have inklings of how this essential thing for cognition works? What I made 35 years ago was, of course, a crude physics model to actually enable you to understand my old sense of understanding as a physicist, because you could say, ah, I understand why this goes to stable states. It's like things going downhill. And that gives you something with which to think in physical terms rather than only in mathematical terms. So you've created these associative artificial networks. That's right. Now, if you look at what I did, I didn't at all describe a system which gracefully learns. I described a system in which you could understand how learning could link things together, how very crudely it might learn. One of the things which intrigues me as I reinvestigate that system now to some extent is, look, I see you, I'll see you every second for the next hour or what have you. Each look at you is a little bit different. I don't store all those second by second images. I don't store 3,000 images. I somehow compact this information. So I now have a view of you, which I can use. It doesn't slavishly remember anything in particular, but it compacts the information into useful chunks, which are somehow these chunks, which are not just activities of neurons, bigger things than that, which are the real entities which are useful to you. Which are useful to you. Useful to you to describe, to compress this information coming at you. And you have to compress it in such a way that if the information comes in just like this again, I don't bother to rewrite it or efforts to rewrite it simply do not yield anything because those things are already written. And that needs to be not, look this up, have I stored it somewhere already? There'll be something which is much more automatic in the machine hardware. Right, so in the human mind, how complicated is that process do you think? So you've created, feels weird to be sitting with John Hotfield calling him Hotfield Networks, but. It is weird. Yeah, but nevertheless, that's what everyone calls him. So here we are. So that's a simplification. That's what a physicist would do. You and Richard Feynman sat down and talked about associative memory. Now, if you look at the mind where you can't quite simplify it so perfectly, do you think that? Well, let me backtrack just a little bit. Yeah. Biology is about dynamical systems. Computers are dynamical systems. You can ask, if you want to model biology, if you want to model neurobiology, what is the time scale? There's a dynamical system in which, of a fairly fast time scale in which you could say, the synapses don't change much during this computation, so I'll think of the synapses fixed and just do the dynamics of the activity. Or you can say, the synapses are changing fast enough that I have to have the synaptic dynamics working at the same time as the system dynamics in order to understand the biology. Most, if you look at the feedforward artificial neural nets, they're all done as learnings. First of all, I spend some time learning, not performing, and I turn off learning and I turn off learning, and I turn off learning and I perform. Right. That's not biology. And so as I look more deeply at neurobiology, even as associative memory, I've got to face the fact that the dynamics of the synapse change is going on all the time. And I can't just get by by saying, I'll do the dynamics of activity with fixed synapses. Yeah. So the synaptic, the dynamics of the synapses is actually fundamental to the whole system. Yeah, yeah. And there's nothing necessarily separating the time scales. When the time scale's gonna be separated, it's neat from the physicist's or the mathematician's point of view, but it's not necessarily true in neurobiology. So you're kind of dancing beautifully between showing a lot of respect to physics and then also saying that physics cannot quite reach the complexity of biology. So where do you land? Or do you continuously dance between the two points? I continuously dance between them because my whole notion of understanding is that you can describe to somebody else how something works in ways which are honest and believable and still not describe all the nuts and bolts in detail. Weather. I can describe weather as 10 to the 32 molecules colliding in the atmosphere. I can simulate weather that way if I have a big enough machine. I'll simulate it accurately. It's no good for understanding. If I want to understand things, I want to understand things in terms of wind patterns, hurricanes, pressure differentials, and so on, all things as they're collective. And the physicist in me always hopes that biology will have some things that can be said about it which are both true and for which you don't need all the molecular details as the molecules colliding. That's what I mean from the roots of physics, by understanding. So what did, again, sorry, but Hopfield Networks help you understand what insight did give us about memory, about learning? They didn't give insights about learning. They gave insights about how things having learned could be expressed, how having learned a picture of you, a picture of you reminds me of your name. That would, but it didn't describe a reasonable way of actually doing the learning. They only said if you had previously learned the connections of this kind of pattern, would now be able to, behave in a physical way was to say, ah, if I put the part of the pattern in here, the other part of the pattern will complete over here. I could understand that physics, if the right learning stuff had already been put in. And it could understand why then putting in a picture of somebody else would generate something else over here. But it did not have a reasonable description of the learning that was going on. It did not have a reasonable description of the learning process. But even, so forget learning. I mean, that's just a powerful concept that sort of forming representations that are useful to be robust, you know, for error correction kind of thing. So this is kind of what the biology does we're talking about. Yeah, and what my paper did was simply enable you, there are lots of ways of being robust. If you think of a dynamical system, you think of a system where a path is going on in time. And if you think for a computer, there's a computational path, which is going on in a huge dimensional space of ones and zeros. And an error correction system is a system, which if you get a little bit off that trajectory, will push you back onto that trajectory again. So you get to the same answer in spite of the fact that there were things, so that the computation wasn't being ideally done all the way along the line. And there are lots of models for error correction. But one of the models for error correction is to say, there's a valley that you're following, flowing down. And if you push a little bit off the valley, just like water being pushed a little bit by a rock, it gets back and follows the course of the river. And that basically the analog in the physical system, which enables you to say, oh yes, error free computation and an associative memory are very much like things that I can understand from the point of view of a physical system. The physical system is, can be under some circumstances, an accurate metaphor. It's not the only metaphor. There are error correction schemes, which don't have a valley and energy behind them. But those are error correction schemes, which a mathematician may be able to understand, but I don't. So there's the physical metaphor that seems to work here. That's right, that's right. So these kinds of networks actually led to a lot of the work that is going on now in neural networks, artificial neural networks. So the follow on work with restricted Boltzmann machines and deep belief nets followed on from these ideas of the Hopfield network. So what do you think about this continued progress of that work towards now re revigorated exploration of feed forward neural networks and recurrent neural networks and convolutional neural networks and kinds of networks that are helping solve image recognition, natural language processing, all that kind of stuff. It always intrigued me that one of the most long lived of the learning systems is the Boltzmann machine, which is intrinsically a feedback network. And with the brilliance of Hind and Sinowski to understand how to do learning in that. And it's still a useful way to understand learning and the learning that you understand in that has something to do with the way that feed forward systems work. But it's not always exactly simple to express that intuition. But it's always amuses me to see Hinton going back to the will yet again on a form of the Boltzmann machine because really that which has feedback and interesting probabilities in it is a lovely encapsulation of something in computational. Something computational? Something both computational and physical. Computational and it's very much related to feed forward networks. Physical in that Boltzmann machine learning is really learning a set of parameters for a physics Hamiltonian or energy function. What do you think about learning in this whole domain? Do you think the aforementioned guy, Jeff Hinton, all the work there with backpropagation, all the kind of learning that goes on in these networks, if we compare it to learning in the brain, for example, is there echoes of the same kind of power that backpropagation reveals about these kinds of recurrent networks? Or is it something fundamentally different going on in the brain? I don't think the brain is as deep as the deepest networks go, the deepest computer science networks. And I do wonder whether part of that depth of the computer science networks is necessitated by the fact that the only learning that's easily done on a machine is feed forward. And so there's the question of to what extent is the biology, which has some feed forward and some feed back, been captured by something which has got many more neurons but much more depth than the neurons in it. So part of you wonders if the feedback is actually more essential than the number of neurons or the depth, the dynamics of the feedback. The dynamics of the feedback. Look, if you don't have feedback, it's a little bit like a building a big computer and running it through one clock cycle. And then you can't do anything until you reload something coming in. How do you use the fact that there are multiple clock cycles? How do I use the fact that you can close your eyes, stop listening to me and think about a chessboard for two minutes without any input whatsoever? Yeah, that memory thing, that's fundamentally a feedback kind of mechanism. You're going back to something. Yes, it's hard to understand. It's hard to introspect, let alone consciousness. Oh, let alone consciousness, yes, yes. Because that's tied up in there too. You can't just put that on another shelf. Every once in a while I get interested in consciousness and then I go and I've done that for years and ask one of my betters, as it were, their view on consciousness. It's been interesting collecting them. What is consciousness? Let's try to take a brief step into that room. Well, ask Marvin Minsky, his view on consciousness. And Marvin said, consciousness is basically overrated. It may be an epiphenomenon. After all, all the things your brain does, but they're actually hard computations you do nonconsciously. And there's so much evidence that even the simple things you do, you can make decisions, you can make committed decisions about them, the neurobiologist can say, he's now committed, he's going to move the hand left before you know it. So his view that consciousness is not, that's just like little icing on the cake. The real cake is in the subconscious. Yum, yum. Subconscious, nonconscious. Nonconscious, what's the better word, sir? It's only that Freud captured the other word. Yeah, it's a confusing word, subconscious. Nicholas Chaiter wrote an interesting book. I think the title of it is The Mind is Flat. Flat in a neural net sense, might be flat as something which is a very broad neural net without any layers in depth, whereas a deep brain would be many layers and not so broad. In the same sense that if you push Minsky hard enough, he would probably have said, consciousness is your effort to explain to yourself that which you have already done. Yeah, it's the weaving of the narrative around the things that have already been computed for you. That's right, and so much of what we do for our memories of events, for example. If there's some traumatic event you witness, you will have a few facts about it correctly done. If somebody asks you about it, you will weave a narrative which is actually much more rich in detail than that based on some anchor points you have of correct things and pulling together general knowledge on the other, but you will have a narrative. And once you generate that narrative, you are very likely to repeat that narrative and claim that all the things you have in it are actually the correct things. There was a marvelous example of that in the Watergate slash impeachment era of John Dean. John Dean, you're too young to know, had been the personal lawyer of Nixon. And so John Dean was involved in the coverup and John Dean ultimately realized the only way to keep himself out of jail for a long time was actually to tell some of the truths about Nixon. And John Dean was a tremendous witness. He would remember these conversations in great detail and very convincing detail. And long afterward, some of the tapes, the secret tapes as it were from which these, Don was, Gene was recalling these conversations were published, and one found out that John Dean had a good but not exceptional memory. What he had was an ability to paint vividly and in some sense accurately the tone of what was going on. By the way, that's a beautiful description of consciousness. Do you, like where do you stand in your today? So perhaps it changes day to day, but where do you stand on the importance of consciousness in our whole big mess of cognition? Is it just a little narrative maker or is it actually fundamental to intelligence? That's a very hard one. When I asked Francis Crick about consciousness, he launched forward in a long monologue about Mendel and the peas and how Mendel knew that there was something and how biologists understood that there was something in inheritance, which was just very, very different. And the fact that inherited traits didn't just wash out into a gray, but this or this and propagated that that was absolutely fundamental to the biology. And it took generations of biologists to understand that there was genetics and it took another generation or two to understand that genetics came from DNA. But very shortly after Mendel, thinking biologists did realize that there was a deep problem about inheritance. And Francis would have liked to have said, and that's why I'm working on consciousness. But of course, he didn't have any smoking gun in the sense of Mendel. And that's the weakness of his position. If you read his book, which he wrote with Koch, I think. Yeah, Christoph Koch, yeah. I find it unconvincing for the smoking gun reason. So I'm going on collecting views without actually having taken a very strong one myself, because I haven't seen the entry point. Not seeing the smoking gun from the point of view of physics, I don't see the entry point. Whereas in neurobiology, once I understood the idea of a collective, an evolution of dynamics, which could be described as a collective phenomenon, I thought, ah, there's a point where what I know about physics is so different from any neurobiologist that I have something that I might be able to contribute. And right now, there's no way to grasp at consciousness from a physics perspective. From my point of view, that's correct. And of course, people, physicists, like everybody else, think very muddily about things. You ask the closely related question about free will. Do you believe you have free will? Physicists will give an offhand answer, and then backtrack, backtrack, backtrack, where they realize that the answer they gave must fundamentally contradict the laws of physics. Natural, answering questions of free will and consciousness naturally lead to contradictions from a physics perspective. Because it eventually ends up with quantum mechanics, and then you get into that whole mess of trying to understand how much, from a physics perspective, how much is determined, already predetermined, how much is already deterministic about our universe, and there's lots of different things. And if you don't push quite that far, you can say, essentially, all of neurobiology, which is relevant, can be captured by classical equations of motion. Right, because in my view of the mysteries of the brain are not the mysteries of quantum mechanics, but the mysteries of what can happen when you have a dynamical system, driven system, with 10 to the 14 parts. That that complexity is something which is, that the physics of complex systems is at least as badly understood as the physics of phase coherence in quantum mechanics. Can we go there for a second? You've talked about attractor networks, and just maybe you could say what are attractor networks, and more broadly, what are interesting network dynamics that emerge in these or other complex systems? You have to be willing to think in a huge number of dimensions, because in a huge number of dimensions, the behavior of a system can be thought as just the motion of a point over time in this huge number of dimensions. All right. And an attractor network is simply a network where there is a line and other lines converge on it in time. That's the essence of an attractor network. That's how you. In a highly dimensional space. And the easiest way to get that is to do it in a highly dimensional space, where some of the dimensions provide the dissipation, which, if I have a physical system, trajectories can't contract everywhere. They have to contract in some places and expand in others. There's a fundamental classical theorem of statistical mechanics, which goes under the name of Liouville's theorem, which says you can't contract everywhere. If you contract somewhere, you expand somewhere else. In interesting physical systems, you've got driven systems where you have a small subsystem, which is the interesting part. And the rest of the contraction and expansion, the physicists would say it's entropy flow in this other part of the system. But basically, attractor networks are dynamics that are funneling down so that you can't be any, so that if you start somewhere in the dynamical system, you will soon find yourself on a pretty well determined pathway, which goes somewhere. If you start somewhere else, you'll wind up on a different pathway, but I don't have just all possible things. You have some defined pathways which are allowed and onto which you will converge. And that's the way you make a stable computer, and that's the way you make a stable behavior. So in general, looking at the physics of the emergent stability in networks, what are some interesting characteristics that, what are some interesting insights from studying the dynamics of such high dimensional systems? Most dynamical systems, most driven dynamical systems, are driven, they're coupled somehow to an energy source. And so their dynamics keeps going because it's coupling to the energy source. Most of them, it's very difficult to understand at all what the dynamical behavior is going to be. You have to run it. You have to run it. There's a subset of systems which has what is actually known to the mathematicians as a Lyapunov function, and those systems, you can understand convergent dynamics by saying you're going downhill on something or other. And that's what I found with ever knowing what Lyapunov functions were in the simple model I made in the early 80s, was an energy function so you could understand how you could get this channeling on the pathways without having to follow the dynamics in infinite detail. You started rolling a ball at the top of a mountain, it's gonna wind up at the bottom of a valley. You know that's true without actually watching the ball roll down. There's certain properties of the system that when you can know that. That's right. And not all systems behave that way. Most don't, probably. Most don't, but it provides you with a metaphor for thinking about systems which are stable and who to have these attractors behave even if you can't find a Lyapunov function behind them or an energy function behind them. It gives you a metaphor for thought. Yeah, speaking of thought, if I had a glint in my eye with excitement and said I'm really excited about this something called deep learning and neural networks and I would like to create an intelligent system and came to you as an advisor, what would you recommend? Is it a hopeless pursuit to use neural networks to achieve thought? Is it, what kind of mechanisms should we explore? What kind of ideas should we explore? Well, you look at the simple networks, the one past networks. They don't support multiple hypotheses very well. Hmm. As I have tried to work with very simple systems which do something which you might consider to be thinking, thought has to do with the ability to do mental exploration before you take a physical action. Almost like we were mentioning, playing chess, visualizing, simulating inside your head different outcomes. Yeah, yeah. And now you would do that in a feed forward network because you've pre calculated all kinds of things. But I think the way neurobiology does it hasn't pre calculated everything. It actually has parts of a dynamical system in which you're doing exploration in a way which is. There's a creative element. Like there's an. There's a creative element. And in a simple minded neural net, you have a constellation of instances of which you've learned. And if you are within that space, if a new question is a question within this space, you can actually rely on that system pretty well to come up with a good suggestion for what to do. If on the other hand, the query comes from outside the space, you have no way of knowing how the system is gonna behave. There are no limitations on what can happen. And so with the artificial neural net world is always very much, I have a population of examples. The test set must be drawn from the equivalent population. If the test set has examples, which are from a population which is completely different, there's no way that you could expect to get the answer right. Yeah, what they call outside the distribution. That's right, that's right. And so if you see a ball rolling across the street at dusk, if that wasn't in your training set, the idea that a child may be coming close behind that is not going to occur to the neural net. And it is to our, there's something in your biology that allows that. Yeah, there's something in the way of what it means to be outside of the population of the training set. The population of the training set isn't just sort of this set of examples. There's more to it than that. And it gets back to my question of, what is it to understand something? Yeah. You know, in a small tangent, you've talked about the value of thinking of deductive reasoning in science versus large data collection. So sort of thinking about the problem. I suppose it's the physics side of you of going back to first principles and thinking, but what do you think is the value of deductive reasoning in the scientific process? Well, there are obviously scientific questions in which the route to the answer to it comes through the analysis of one hell of a lot of data. Right. Cosmology, that kind of stuff. And that's never been the kind of problem in which I've had any particular insight. Though I must say, if you look at, cosmology is one of those. If you look at the actual things that Jim Peebles, one of this year's Nobel Prize in physics, ones from the local physics department, the kinds of things he's done, he's never crunched large data. Never, never, never. He's used the encapsulation of the work of others in this regard. Right. But it ultimately boiled down to thinking through the problem. Like what are the principles under which a particular phenomenon operates? Yeah, yeah. And look, physics is always going to look for ways in which you can describe the system in a way which rises above the details. And to the hard dyed, the wool biologist, biology works because of the details. In physics, to the physicists, we want an explanation which is right in spite of the details. And there will be questions which we cannot answer as physicists because the answer cannot be found that way. There's, I'm not sure if you're familiar with the entire field of brain computer interfaces that's become more and more intensely researched and developed recently, especially with companies like Neuralink with Elon Musk. Yeah, I know there have always been the interests both in things like getting the eyes to be able to control things or getting the thought patterns to be able to move what had been a connected limb which is now connected through a computer. That's right. So in the case of Neuralink, they're doing 1,000 plus connections where they're able to do two way, activate and read spikes, neural spikes.

本集资源与出处