No. 20·中文精读

OpenAI研究员Dan Roberts:神经网络还在等自己的热力学定律

OpenAI Researcher Dan Roberts on What Physics Can Teach Us About AI

OpenAI 研究员、深度学习理论原理合著者 Dan Roberts 谈理论物理学家为何纷纷进入 AI 实验室,以及他们研究大模型的独特视角。

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

2024年10月,红杉资本的播客Training Data请来一位即将离职的同事。Dan Roberts,红杉的AI Fellow,本科研究隐身斗篷,MIT物理学博士,博士后在普林斯顿高等研究院,爱因斯坦晚年就在那里上班。

录制这天是他在红杉的倒数第二天。节目上线时,介绍里多了一行注脚:录制时他还不知道,自己会成为OpenAI推理模型o1(内部代号Strawberry)的核心贡献者之一。

一位量子物理学家,先去风险投资机构研究AI,再进前沿实验室。这条路径背后,藏着他这期节目里最有价值的判断:物理学的老办法,恰好能用来拆解AI。

物理学家为什么成批涌向AI

Dan的自我介绍很简单:一个没长大的三岁小孩。他19个月大的儿子会跟着洗衣机修理工满屋转,非要看看滚筒里面长什么样。他说自己只是把这个习惯保持到了成年。定量思维的人追问「世界是怎么运转的」,一般不去哲学系,会拐进物理系。

本科时他上过一门AI课,内容全是「如果这样,就那样」的硬编码规则,加一点下棋程序。他的结论是这东西和智能没什么关系,直接把AI划掉了。一两年后去英国读研究生,撞上机器学习,思路完全变了:给一堆任务样本,写一个足够灵活的算法,让它自己适应。2010、2011年他入坑,2012年深度学习爆发。他自认运气好,刚看懂一个自己能理解的科学框架,领域就开始起飞。

Pat中途插了个大问题:智能到底是什么?Dan的答案刻意朴素:智能就是人类会做的那些事。研究人类,得从生物学穿到神经科学再穿到心理学,链条太长;研究AI,从几行Python一路追到它写出的一首诗,路径短得多。AI把人类能力拆成一块块样本,给了研究者一个能下手的地方。

至于物理学家为什么扎堆,Dan给了一个比跟风硬得多的理由。物理的方法论和传统计算机科学不一样,恰好适配大规模机器学习。物理的日常是理论提模型、实验做验证,数据、理论、玩具模型之间有一个很紧的反馈环。深度学习的日常就是这个循环:改想法,跑实验,看数据,再改。连数学工具都大量重合。

他顺带补了一句行业观察:物理学家离开学术界,历史上先去量化金融,后来去数据科学,现在轮到机器学习。这次的区别在于,这个领域干起来就像真正的物理,而且所有人都在为它兴奋。

神经网络在等自己的热力学

Pat问他,物理训练到底给了他什么别人没有的东西。Dan讲了一个类比,他说这甚至超出了类比的范围。

200年前工业革命,蒸汽机先被工程师造了出来,热力学是后来才总结的。理想气体定律描述压强、体积、温度的关系,全是宏观量,买个温度计、气压计就能测。定律底下是无数空气分子在碰撞。后来人们从分子的统计行为出发,严格推导出理想气体定律,甚至推导出它的修正项,因为理想气体本来就是错的,是个玩具模型。微观看不见摸不着,宏观量却稳定、可测、可预测。

Dan认为深度学习正处在这个结构的早期。微观层面是神经元、权重、偏置,几行代码就能写下整个方程,简单得惊人,麻烦在于权重的数量是个天文数字。宏观层面是它写出了一首诗、解出了一道题。从权重到诗之间的推导关系,就是神经网络缺失的热力学。

他和Sho Yaida、Boris Hanin合著过The Principles of Deep Learning Theory,干的就是这件事:把统计物理的方法搬过来,从微观统计行为推导网络的宏观性质。Pat提到的他那篇文章Black Holes and the Intelligence Explosion,讲的也是同一件事:物理学家受过的系统级视角训练,正好补上AI研究的短板。

Scaling的账还能算多久

主持人Sonya Huang提到Andrej Karpathy在红杉AI Ascent大会上的说法:当前AI系统和生物神经网络的效率差5到6个数量级。Dan把它拆成两个问题。

第一个是人类的学习效率。他的小孩19个月大,已经开始说句子了,见过的token远少于任何一个大语言模型。人和模型的系统设计、学习方式都不同,这个差距存在,也意味着有弥合的空间。

第二个问题他称为「最终的GPT是几」。GPT-6?GPT-7?只要继续堆规模,总有一代会撞上硬约束:经济上,训练成本超过全球GDP;产能上,GPU造不够;物理上,算力集群铺满地球表面。他的判断是经济约束最先到。真正的问题是,撞墙之前还能迭代几轮,这几轮能把能力推到哪里。当然,规模和效率没法完全拆开,因为所有人都在同时把模型做得更高效。

再往下是路线之争:把GPT-2原样放大,能不能直接走到终点?纯scaling假设的答案是能,重要的只有规模。而人类级别的学习效率,在他看来需要非平凡的新想法。他去OpenAI的理由也在这里:想法这件事还有很高的杠杆,走到下一步必须靠它。

钟摆、苦涩教训和曼哈顿计划

Pat追问了一个结构性问题:AI领域是不是有个钟摆,在规模和想法之间来回摆?transformer是伟大的想法,之后大家进入规模竞赛,现在钟摆是不是摆回了想法这边?

Dan先搬出Richard Sutton那篇著名的The Bitter Lesson,苦涩的教训,大意是历史反复证明,好想法总会被规模碾压。80、90年代有一批好想法,当时没有算力去验证,AlphaGo之后DeepMind大量发论文,人们才翻出旧论文,用深度学习重新实现。现在还有人探索transformer之外的架构,甚至更简单的老架构,因为有一种观点认为,scaling law来自数据本身的统计结构,只要架构「没病」,换架构未必影响规律。

但他的答案不是单边押注。规模和想法是协同关系。规模极其重要,重要到此前一直被低估;GPU和模型是共同演化的,transformer之所以是个好想法,恰恰因为它被设计成适配当时的硬件。往回数80年,McCulloch和Pitts提出神经元模型,Rosenblatt造出感知机,深度学习本身就是某个人冒出来的想法。被瓶颈卡住时,人们在琢磨想法;一旦解锁新的规模,结果井喷,大家又觉得规模万能。

规模竞赛的尽头是什么?Sonya问,需不需要一个国家级的AI曼哈顿计划。Dan讲了个幕后故事。当初他纠结要不要创业,找把他带进红杉的合伙人Shaun Maguire聊,Shaun对他说:

「40年代,物理学家的物理学家都去了曼哈顿计划。哪怕你当时在做别的事,那也是非去不可的地方。现在AI就是同一件事,OpenAI就是那个地方。」

Dan的结论:也许不需要公共部门出面组织曼哈顿计划,它可以是OpenAI。他补了一句,就规模和雄心而言,很多物理学家会出于同样的理由想去那里。

黑箱算得明白,数学比物理先破

节目后半段聊到那个所有AI从业者都被问过的问题:神经网络这么深,还能被理解吗,还是注定是个黑箱?

Dan说这是他在AI社区内部的反直觉立场:这些系统真的可以被理解。物理系统极其复杂,人类照样取得了巨大进展,神经网络没有理由在这个框架之外。他和Sho在书里反复讲一条物理原则:极大尺度上常常出现极端的简单性,背后是统计平均,术语叫中心极限定理。单个分子毫无规律,亿万个分子加总,温度和压强稳定得能写进高中课本。他没说大语言模型里发生的就是这件事,但方法论可以搬,将来还能用AI工具帮着搬。他的判断是,理解神经网络不会一直停留在艺术层面,科学会追上来。

AI反过来能帮科学什么?他的排序很明确:数学比物理先破。理由是数学不具身,不用做实验,自给自足,离语言模型生成文本的方式最近。具体机制是Noam Brown讲了很久的推理时计算(inference-time compute):下棋陷入残局,靠直觉不如坐下来往前推演几十步。游戏有明确的胜负信号,推演可行。数学证明里也存在「下一步」这个概念,说明某些数学问题和游戏结构相似。游戏上已经赢了,某些数学发现大概率也能赢。Noam爱举的例子是黎曼猜想。

物理更难,而且难的方式不一样。千禧年问题里有一个数学物理问题,和杨-米尔斯质量间隙有关,但Dan认为物理问题长得不像证明。物理学家以不严谨、爱挥手比划著称,强项是解释力。核心问题更像「什么是量子引力,东西掉进黑洞会发生什么」,这种问题没法直接开始生成token。物理系里大家围着黑板聊天、涂涂画画,有价值的数据也许是黑板照片、Slack闲聊和草稿纸。短期看,AI是加速器,像Mathematica帮他算积分,把两周的论文精读压缩成一个下午。他顺带道歉:抱歉,Wolfram,Mathematica能干的不止算积分。

物理圈内部还有一层情绪。Dan说还在做物理的朋友里,弥漫着一种越来越接近恐慌的感觉:如果你在乎的是物理问题的答案,杠杆最高的动作也许是去做AI,然后等AI把物理问题快速解决掉。他说这个话题在理论物理圈是真实被讨论的。

对人类难和对机器难,是两回事。Dan自嘲生物学对他完全无法理解,而他女朋友就在生物工程行业。数学、游戏、代码这类领域约束清晰、不具身,离现有模型的能力最近;越具身、越混乱的领域越难,一个能自主做实验的AI生物学家,得先解决机器人、实验设计、数据格式一整条链。路上会有阶段性产物,AlphaFold 3已经出来了,DeepMind在拿它做药物发现。至于最终会不会收敛到一个理解一切的大模型,他说大实验室都在押这个方向,混合专家(MoE)架构最初就是为了这个目的设计的,实践中并没有做到。在这个领域预测很危险,说什么都错,而且错得比预期快。

五年之内,scaling会终结

结尾的闪电轮,Pat让他按五个月、五年、五十年谈乐观的事。Dan先讲了个物理学家笑话:物理里只有三个数字,零、一、无穷,其他的都只是量级。

五个月的尺度上,他关心下一代模型之间的差值。估算速度需要多个数据点,GPT-3到GPT-4给了第一个点,下一个差值能让人看清模型迭代的真实速度,以及它到底有没有巨大的经济影响。

五年的尺度上,他的判断很干脆:过去五年大家在scaling,未来五年之内scaling会终结。要么通向某种乌托邦,经济问题消失,红杉这样的基金得关门,大家退回大富翁游戏里的纸币;要么发现需要大量新想法,也许再来一次AI冬天。他补了一句,这个领域说什么都危险,但五年足够看出些有意思的变化。

节目里还有一段关于写作的闲聊。Dan的文字以好读著称,他说这是故意的。在普林斯顿高等研究院做博士后时,他和教授Nathan Seiberg在午餐上争论:他坚持写论文是为了笑话,科学内容只是包装,好让读者被迫把笑话读完;Seiberg不理解,为什么不为科学写。后来一位学语言学的室友告诉他,规则从哪来、哪些可以破。终极标准只有一个:读者能不能读懂,读得开不开心。

把这种思路翻译成普通读者的行动,是下面三件事,明天就能用:

  • 看AI新闻先分清两种进步。规模红利靠GPU和数据堆,有明确的经济天花板;想法红利靠新架构和新方法,杠杆正在上升。判断一家公司、一篇论文的成色,先问它吃的是哪种红利。
  • 用AI当自己的读论文加速器。把想读的论文丢给模型,先让它拆结构、列问题、梳理和已有工作的关系,再决定要不要花两周精读。Dan自己就这么用,他也提醒现在的实现还有毛病,所以最后一步判断留给自己。
  • 理解复杂系统先抓宏观量。看一个新模型,先看loss曲线、评测分数这些温度计和气压计,再往下钻权重和架构。从单个分子开始学热力学,效率太低。
文稿来源:sequoiacap.com;机器转写可能有识别错误,人名与数字请以音频为准。
id="podcast-transcript" data-framer-component-type="RichTextContainer" style="transform:none">Dan Roberts: In the 40s, the physicists went to the Manhattan Project. Even if they were doing other things, that was, that was the place to be. And so now AI is the same thing and, you know, basically OpenAI is that place. So maybe, maybe we don’t need a public sector organized Manhattan Project, but it, you know, it can be OpenAI. Sonya Huang: Joining us for this episode is Dan Roberts, a former Sequoia AI Fellow who recently joined OpenAI as a researcher. This episode was recorded on Dan’s second-to-last day at Sequoia, before he knew that he would go on to become a core contributor to o1, also known as Strawberry.  Dan is a quantum physicist who did undergraduate research on invisibility cloaks before getting a PhD at MIT and doing his postdoc at the legendary Princeton IAS. Dan has researched and written extensively about the intersection of physics and AI.  There are two main things we hope to learn from Dan in this episode. First, what can physics teach us about AI? What are the physical limits on an intelligence explosion and the limits of scaling laws, and how can we ever hope to understand neural nets? And second, what can AI teach us about physics and math and how the world works? Thank you so much for joining us today, Dan. The path to physicsDan Roberts: Thanks. Delighted to be here on my, probably, second-to-last day at Sequoia. Depending on when this airs and how you’re going to talk about it. Pat Grady: You will always be part of the Sequoia family, Dan.  Dan Roberts: Thanks, I appreciate it. Sonya Huang: Maybe just to get started tell us a little bit about “Who is Dan?” You have a fascinating backstory. I think you worked on invisibility cloaks back in college. Like, what led you to become a theoretical physicist in the first place? Dan Roberts: Yeah, I think–and this is, you know, my stock answer at this point, but I think it’s true–I was just an annoying three year old who never grew up. I asked “why” all the time. Curious. How does everything work? I have a 19-month at home right now, and I can see the way he followed the washing machine repairman around and had to look inside the washing machine. So like, I think I just kept that going. And when you’re more quantitatively oriented than not, rather than going to philosophy I think you sort of veer into physics. And that was sort of what interested me. How does the world work? What is all this other stuff that’s out there?  The question that you didn’t ask, but maybe I’ll just answer it ahead of time–the sort of inward facing stuff felt less quantitative and more in the realm of the humanities. Like, so “What is all this stuff?” That’s pretty physics-y. “What am I? Who am I? What does it mean to be me?” That felt not very science-y at all. But with AI it sort of seems like we can think about both “What does it mean to be intelligent,” and also “What is all this other stuff?” in some of the same frameworks. And so that’s been very exciting for me. Sonya Huang: So we should be trying to recruit your 19-month-old right now is what you’re saying? Dan Roberts: Oh yeah. Absolutely. He grew out of one of his Sequoia onesies, but he fits into a Sequoia toddler t-shirt now. And so he definitely is ready to be a future founder. Sonya Huang: I guess, at what point did you know that you wanted to think about AI? At what point did that switch start to flip? Dan Roberts: Yeah. So, I think like many people, when I discovered computers, I wanted to understand how they worked and how to program them. In undergrad, I took an AI class and it was very much good old fashioned AI. A lot of the ideas in that class actually are coming back to be relevant, but at the time it was, it seemed not very practical. It was a lot of, you know, “If this happens, do that.” And there was also some game-playing there. That was sort of interesting. It was very algorithmic, but it didn’t seem related to what it means to be intelligent. What does it mean to be intelligent?Pat Grady: Can we just pick up on that real quick? Like, what do you think it means to be intelligent? Dan Roberts: That’s a great question.  Pat Grady: I can see wheels turning. Dan Roberts: Yeah. Well, this is one of those questions where I don’t have a stock answer, but I think it’s important to not say nonsense. One of the things that’s exciting to me about AI is the ability to have systems that do what humans do, and to be able to understand them from “What are the lines of Python that cause that system to do something?” to, you know, to trace that through and understand what are the outputs, and you know, how the system can like, see and classify what it means. You know, “What is a cat? What is not a cat?” Or can write poetry and, you know, it’s just a few lines of code. Whereas, if you’re trying to study humans and ask, “What does it mean for humans to be intelligent?” you have to go from biology, through neuroscience, through psychology, up to other higher level versions of ways of approaching this question.  And so, I think maybe a nice answer for intelligence, at least the things that are interesting to me, is “The things that humans do.” And now, if you pull back the answer that I just said a second ago, that’s how I connect it to AI. AI is taking pieces of what humans do, and we’re understanding, at least an example that’s kind of simple and easy to study, that we might use to understand better what what it is that humans do. The path to AISonya Huang: So Dan, you mentioned when you were, you know, studying AI in college, there was a lot of what sounds like kind of hard-coded logic and brute force type approaches. Was there a moment that kind of clicked for you, of like, “Oh, okay. This is different”? Was there a key result or a moment where it was like, “Okay, we’re going bigger places than kind of the ‘if this, then that’ logic of the past”? Dan Roberts: Yeah, actually it didn’t click. I sort of wrote it off. And it would be great if there was a separation between like ten years between then and the next thing that I’m going to say, but actually the writing-off maybe lasted a year or two, because then I went to the UK for the first part of grad school. I spent a very long time in grad school and I discovered machine learning and a more statistical approach to artificial intelligence, where you have a bunch of examples of large amounts of data. Or at the time, maybe we wouldn’t have said large amounts of data, but we would have said, you have data examples of a task that you want to perform. And there’s different ways that machine learning works, but you write down a very flexible algorithm that can adapt to these examples and start to perform in a way similar to the examples that you have.  And that approach borrows a lot from physics. It also, at the time, I started… So graduated college in 2009. Discovered machine learning in 2010, 2011. 2012 is the big year for deep learning. And so, you know, there’s not a big separation here between write-off and rediscovery. But I think–and machine learning clearly existed in 2009, it just wasn’t related to the class that I took–but this approach made a lot of sense to me. And it started to have, you know, I got lucky, and then it started to have real progress and seemed to fit in a framework that I understood scientifically. And I got very excited about it. Sonya Huang: Why do you think there are so many people who come from a similar background or similar path to you? Like, a lot of ex-physicists working on AI. Like, is that a coincidence? Is that herd behavior, or do you think there’s something that makes physicists particularly well suited to understanding AI? Dan Roberts: I think the answer is yes to all the ways you…  Sonya Huang: All the above.  Dan Roberts: You know, physicists infiltrate lots of different subjects, and we get parodied about the way that we go about trying to use our hammers to tackle these things that may or may not be nails. Throughout history, there are a lot of times that physicists have contributed to things that look like machine learning. I think in the near term, the path that physicists used to take when they didn’t remain in academia often was going into quantitative finance, then data science. And I think machine learning, and its realization in industry, was exciting because, again, it’s something that feels a lot like actual physics and is working towards a problem that’s very interesting and exciting for a lot of people. You know, you’re doing this podcast because you’re excited about AI. Everyone’s excited about AI. And in many ways it’s a research problem that feels a lot like the physics that people were doing. But I think the methods of physics actually are different from the methods of traditional computer science and very well suited for studying large scale machine learning that we use to work on AI. Traditionally physics involves a lot of interplay between theory and experiment. You come up with some sort of model that you have some sort of theoretical intuition about. Then you go and do a bunch of experiments and you validate that model or not. And then there’s this tight feedback loop between collecting data, coming up with theories, coming up with toy models. Understanding moves forward by that. And, you know, we get these really nice explanatory theories. And I think the way that big deep learning systems work, you have this tight feedback loop where you can do a number of experiments. The sort of math that we use is very well suited to the math that a lot of physicists are familiar with. And so I think it’s very natural for a lot of physicists to work on this. And those tools, a number of them differ from the traditional, at least theoretical, computer science and theoretical machine learning tools for studying the theoretical side of machine learning, and maybe also differentiation between just being an awesome engineer and also being a scientist. And there’s tools from doing science that are helpful in studying these systems. Pat Grady: Dan, you wrote this, what I thought was a beautiful article, Black Holes and the Intelligence Explosion, and in there you talk about this concept of, sort of the microscopic point of view, and then the system level point of view and how physics really equips people to think about the system level point of view, and that has a sort of complimentary benefit to understanding these systems. Can you just take a minute and kind of explain sort of microscopic versus system level, and how the physics influence helps to understand the system level? Dan Roberts: Sure. So, let me start with an analogy that I think is, like, very, you know, goes even further than an analogy. But going back, what year is it? Maybe like 200 years or so around the time of the Industrial Revolution, there was steam engines and steam power and a lot of technology that resulted from this and ultimately powered industrialization. And in the beginning, there was a lot of engineering of these steam engines, you know, and there was this high level theory of how this work called thermodynamics, where, you know, and I imagine everyone’s seen this in high school, perhaps where, you know, there’s the Ideal Gas Law that tells you that there’s some relationship between pressure and volume and temperature. And, you know, these are very macro level things. Like you can buy a thermometer. You can also measure the volume of your room and you can buy a barometer as well. Maybe people don’t or look up on the weather report. But, you know, these are like measurements that we use and we talk about. But then underlying this, and it took us a bit later to validate this and understand it, there’s the notion of atoms and molecules, the air molecules bouncing around. And somehow we now understand that those air molecules give rise to things like temperature and pressure and volume. I guess it is easier to understand that the gases, the molecules, are confined to a room. But there’s a precise way in which you can start with a statistical understanding of those molecules and derive thermodynamics, like, derive the Ideal Gas Law from it. And you can go further than that to derive that it’s ideal because it’s wrong. It’s just a toy model. But you can, there are corrections to it, and you can sort of understand, you know, from the microscopic perspective, which is the molecules, which we don’t really interact with. You know, we don’t see them, we don’t interact with them on a day-to-day basis, but their statistical aggregate properties give rise to, sort of, this behavior that we do see at the macro scale.  And part of, to get to your question, you know, I think there’s a similar thing going on with deep learning systems. And I wrote a book with Sho Yaida and Boris Hanin on how to apply these sorts of ideas to deep learning, and, at least in an initial framework that allows you to start doing this in an initial way. And to answer your question, the sort of micro perspective is you have neurons and weights and biases, and we can talk about in detail how that works, but when people think of the architecture, there’s some very specific, some people say circuits, there’s specific ways in which these things, you know, there’s an input signal which might be an image or text, and then there’s many parameters. And, you know, it’s very simple to write down. It’s not that many lines of code even taking into account the machine learning libraries, but it’s, you know, it’s like a very simple set of equations. But there’s a lot of weights. There’s a lot of numbers that you have to know in order to get it to do something. And that’s sort of the micro… that’s like the molecules perspective.  And then there’s like the macro perspective, which is, well, what did it do? Did it produce a poem? Did it solve a math problem? How does, how do we go from that, those weights and biases to, to that macro perspective? And so for statistical physics to thermodynamics, we understand that completely. And you can imagine trying to do the same sort of thing, literally applying the same sorts of methods to understand how does the underlying micro statistical behavior of these models lead to the sort of macro or, as you said, system level perspective? Sonya Huang: Dan, maybe speaking of scaling laws, and I think you were at our event, AI Ascent, Andre Karpathy mentioned that current AI systems are like 5 or 6 orders of magnitude off in efficiency compared to biological neural nets. How do you think about that? Do you think scaling laws get us there? Just a combination of scaling laws plus hardware getting more efficient or, like, do you think that there’s kind of big step function leaps that need to come in research? Dan Roberts: There’s maybe two things that could be meant here. One is that the way humans seem to work at a similar scale to AI systems is much more efficient. You know, we don’t need to see trillions of tokens before we speak. You know, my toddler is already starting to speak in sentences. And he’s been exposed to far less tokens than a typical large language model. And so there’s some sort of disconnect between human efficiency at learning and what large language models do. Of course, they’re very different systems. They’re designed, you know, the way in which they learn is right now very different. And so in some sense that’s to be expected. So, there’s this gap here that you could imagine bridging.  There’s another thing that I think is not what you meant, but I think is sort of the thing to answer about with respect to scaling laws, which is, and I talked about this a bit in the article, but lots of people seem to talk about this, which is “What is the final GPT?” You know, there’s GPT-4 right now, and it could be other companies as well, but since I’m going to join OpenAI let me represent my new company, right? So is it going to be six? Is it going to be seven? At some point, assuming we have to scale things up, there are things that are going to break. Whether they’re economic, we’re going to run out of, you know, we’re going to try to train a model that’s larger than the world’s GDP or GWP, however, the D works for the world. Or we’re going to run out of, you know, we’re not going to be able to produce enough GPUs. Or we’re not going to be able to put, you know, it’s going to cover the surface of the Earth. You know, a lot of these things are going to break down at some point. And so probably the economic one happens first. So how many, you know, how many more iterations do we get before we run out of actually being able to scale practically? And where does that get us? And then, I think, to tie those two perspectives together, there’s scaling on its own. And of course, it’s impossible to disentangle this because people are making things more efficient. But you know, there’s like, you could imagine there’s the, take literally what GPT-2 was, which was the initial big model, and keep scaling it up. Is that going to get us to some, you know, super different, exciting, economically powerful, or however you want to define what the end state of AI research and AI startups and AI in industry is? Or do we need lots of new exciting ideas? And, and again, of course, you can’t really disentangle these, but I think the general scaling hypothesis is that it’s just the scaling and it’s not the ideas that matter. Whereas, the “How do we get to be efficient like humans?” I think requires, like, non-trivial ideas. And to answer your question, the reason I’m excited about joining OpenAI is that I think there is high leverage to be had in the ideas, you know, in going beyond scaling, and that we will need that in order to get to the next steps. I have no idea what I’ll be working on, but when this airs I guess I will know what I’m working on, but you know that that’s what’s really exciting to me. The pendulum between scale and ideasPat Grady: Dan, is there almost like a pendulum that swings back and forth between scale and ideas in terms of how people apply their efforts in the world of AI? Like, transformers came out. Great idea. Since then, we’ve largely been in this race to scale. It feels like things are starting to asymptote for a bunch of practical reasons that you mentioned. Is the pendulum swinging back toward ideas as the currency? You know, it’s less now about who can, you know, have the biggest GPU cluster and more about finding new architectural breakthroughs, whether that’s, you know, reasoning or something else? Dan Roberts: Yeah. That’s a really great question. I think there’s this article by Richard Sutton called The Bitter Lesson, not the bitter pill, and it basically gives the argument that ideas aren’t important, that scale is what you need, and that all the ideas are always trumped by scaling, by scaling things up. It says a bunch of things, but maybe that’s a high level takeaway. And, you know, there’s a sense of this where there are a lot of interesting ideas that came out in the 80s and 90s that people didn’t really have scale to explore. And then, I remember when, after AlphaGo and DeepMind was writing a lot of papers, people were rediscovering those papers and re-implementing them in deep learning systems. But this was sort of still before people realized, “No, the thing that you need to do is scale up.” And even now, with transformers, people are exploring other architectures or even simpler architectures that we knew before that seem to be able to, you know, there’s a notion, you know, maybe scaling laws don’t come from as long as the architecture isn’t sick in some way. They come from sort of the underlying data process and having large amounts of data rather than from having a special idea. I think the real answer is that there’s a balance between the two. That scale is hugely important, and maybe it was just not understood how important. And we also didn’t have the resources to to scale things up at various times, you know, the things that have to go into producing these GPU clusters that are producing these models are, you know, you guys know this as well, like there’s a lot of parts along the supply chain, or along the product chain, whatever you actually call it, in order to make those things happen and to deploy them. And even, you know, the way GPUs were originally, they’ve now co-evolved to be well suited for these models. And the reason, in some sense, you can think of transformers was a good idea was because it was designed to be well-suited to train on the systems that we had at the time. And so sure, these other architectures could do it at an ideal scientific level, but at a practical level, it was important to to get something that was that that was able to to reach that scale. So I think, you know, if you brought in ideas to be that sort of thing that’s married with scale in some way, then I still think ultimately, like, you know, someone came up with the idea of deep learning. That was an important idea. You know, there’s Pitts and McCulloch came up with the original idea for the neuron. Rosenblatt came up with the original perceptron. And there’s like a lot of people, from going back like 80 or so years, of people just making important discoveries that were ideas that contribute. So, I think it’s both. But it’s easy to see how, you know, if you’re bottlenecked, people think about ideas. And then if you unlock a new capacity of scale somehow, then you just see a huge set of results. And it seems like scale is super important. And I really think it’s more of a synergy between the two. The Manhattan Project of AISonya Huang: Maybe on the topic of the race to scale, Dan, you mentioned kind of just the economic constraints and realities, which I guess are more, like, practically a ceiling in the private sector. You also mentioned the Manhattan Project earlier in terms of things that physicists have been involved with. Like, do you think we need a Manhattan Project style thing for AI? Like at the nation state or at the international level? Dan Roberts: Well, one thing I can say is that part of the process that led me to OpenAI is I was talking with your partner, Shaun Maguire, who brought me to Sequoia in the first place, and trying to figure out is there a startup that makes sense for me to work on that has the right mix of, sort of, scientific questions, research questions, and also as a business? And I think it was Shaun that said–and I don’t mean the analogy in terms of the impact of, you know, in terms of like negative impact of what you might think of the Manhattan Project, but just in terms of the scale and the organization–he said, “You know, in the 40s, the physicists’ physicist went to the Manhattan Project. Even if they were doing other things, that was the place to be.” And so now AI is the same thing, and basically said OpenAI is that place. So maybe, maybe we don’t need a public sector organized Manhattan Project, but it, you know, it can be OpenAI. Sonya Huang: OpenAI as the Manhattan Project. I love that.  Dan Roberts: Well, maybe that’s not a direct quote that we want to be taken out of context, but I think in terms of… Sonya Huang: The metaphorical Manhattan Project. **Dan Roberts:**Yeah. In terms of scale and ambition. I mean, I think a lot of physicists would love to work at OpenAI for a lot of the same reasons that they probably were excited to… Well, okay, there’s a number of different reasons. Maybe we just have to leave it as a nuanced thing rather than making broad claims. AI’s black boxSonya Huang: Can we talk a little bit about this… Like, can we ever understand AI, especially as we go to these deep neural nets, or do you think it’s a hopeless black box, so to speak? Dan Roberts: Yeah, I think within the… This is my answer to the “What are you a contrarian about?” Although maybe, you know, on the internet everyone takes every side of every position, so it’s hard to say you have a contrarian position. But I think within AI communities, you know, I think my contrarian position is that we can really understand these systems. And in, you know, physics systems are extremely complicated, and we have made a huge amount of progress in understanding them. I think these systems sit in the same framework. And, you know, another principle that Sho and I talk about in our book, and that’s a principle of physics, is that there’s this often extreme simplicity at very large scales, basically due to the statistical averaging, or more technically, the central limit theorem. Things can simplify–and I’m not saying this is what happens exactly in large language models, Of course not–but I do think that we can apply sort of the methods that we have and also, you know, maybe hopefully have AI that can help us do this in the future. And by AI, I mean tools. Not like individual intelligences just going running on their own and solving these problems. But I guess I feel at the extreme end that this is not going to be an art, that the science will will catch up and that it will will be able to make extreme leaps in really understanding how these systems work and behave. What can AI teach us about physics?Pat Grady: So, Dan, we’ve talked a bunch about what physics can teach us about AI. Can we talk a bit about what AI can teach us about physics? Are you optimistic about domains like physics and math and how these emerging models can, you know, probe further into those domains? Dan Roberts: Yes, I’m definitely optimistic. I guess my perspective is that math will be easier than physics, which maybe betrays the fact that I’m a physicist, not a mathematician. And I’ll say–I can give explain why I think that in a second–but, you know, I still have a lot of friends that work in physics and they, you know, there’s like a growing sense and maybe even approaching a dread, that maybe this is actually the answer to “Why do physicists work on AI?” Because, you know, if what you care about is the answer to your physics question and you want to make it happen as soon as possible, what is the highest leverage thing you can do? Maybe it’s not work on the physics question you care about, but it’s work on AI to make the, you know, because you think that the AI might end up solving those questions very rapidly anyway. And I don’t know the extent that anyone really takes it seriously, but I think within the theoretical physics community that I come from, that this is sort of a thing that somewhat gets thrown around and discussed.  I think maybe to give a more object-level answer, I think what’s exciting about math–and maybe when you have Noam Brown on, if you have him on, he’ll talk about this, but this is something that that he’s talked about for a while before he joined OpenAI–I think the that we have, you know, we made a lot of progress in terms of solving games by doing more than just looking up what is the strategy that we should use to play the games, but also being able to simulate forward and, you know, the way that if I’m in a very hard position in a particular game, rather than just playing with intuition, I might sit and think about what I should do. Yeah, sometimes this goes under the name inference-time compute rather than raining-time compute or pre-training. And you know, there’s a sense in which what it means to do reasoning is very related to this ability to sit and think. So we know how to do it for games because there’s a very clear winning and loss signal. So you can simulate ahead and sort of figure out what it means to do good or not. And I think math, in some parts of math–again, I’m not a mathematician and well, you know, I’m always scared about talking about math publicly and saying something wrong that will upset mathematicians–but it seems like certain types of math problems are not as constrained as games, but are still constrained enough where there’s a notion of like finding a proof, right? You know, there’s definite problems in terms of search, in terms of how do you figure out what is the next, you know, move in the proof, but the fact that we might call it a move suggests that there’s things in math that feel a lot like games. And so we might think the fact that we can do well at games maybe means that we can do well at certain types of mathematical discovery. Can AI help solve physics’ biggest problems?Pat Grady: Well, I was going to say since you mentioned Noam, he likes to use the example with test-time compute of whether it could help to prove the Riemann hypothesis. Is there a similar problem or hypothesis in the world of physics that you are optimistic AI can help to solve sometime in our lifetimes? Dan Roberts: Yeah. So, I mean, there’s a Millennium Problem relating to physics–and if I try to remember exactly what it is I’m sure I will butcher it and then no one will believe that I’m actually a physicist–but it’s related to the, you know, it’s a mathematical physics question related to the Yang-Mills mass gap. But I think, what I wanted to say is that I think some of the flavor of what physicists care about and doing physics feels a little different. This is where I might get in trouble. It feels a little different than some of, like, the mathematical proof type things. Physicists are known to be more informal and, you know, hand-wavy. But also, on the other hand, connected to, in some sense, connected to the interplay between experiment and the sort of models that physicists study is maybe what saves them is that, you know, they have things that are informal and hand-wavy, but very explanatory. And then the mathematicians, it’s like we were saying earlier, the engineers discovered all the exciting industrial machines, and the physicists maybe cleaned up a bunch of the theory about how that works. And then the mathematicians come later and clean up, like, formalize everything and clean it up even more. And so there’s a mathematician or mathematical physicist that cleans up a lot of, you know, make proper and try and, you know, understand in formal ways some of the stuff that physicists do. But rather than talking about–I mean, I think the key point there is that the sort of questions that are interesting to physicists maybe don’t look like proofs, and maybe it’s not about how do we, given a particular model, how do we actually solve it? Like once things are set up correctly, like it’s often, you know, senior or you know, people that are trained in the field are able to sort of figure out how to analyze those systems. It’s more the other stuff. Like, what is the right model to study? Does it capture the right sort of problems? Does this relate to the thing that you care about? What are the insights you can draw from it? And so for AI to help there, I think it would look different than the way we’re sort of trying to build AI systems for math. So rather than here’s, you know, here’s the word problem going, you know, solve this high school level problem or, you know, prove the Riemann hypothesis. It’s like, you know, the questions in physics are like, “What is quantum gravity? What happens when something goes into a black hole?” And that’s not like, you know, start generating tokens on that. What does that even look like? And you know, if you go to a physics department, you know, people hang out at the blackboard. They chat about things. Like, maybe they sketch mathematical things, but you know, there’s a lot of other things that go into this. And so maybe the sort of data that you need to collect looks more like that. Or maybe it looks like the random emails and conversations on Slack and the scratch work. And so, I mean, there are definitely tools that we can use, like “Help me understand this new paper so I don’t have to spend two weeks trying to study it and understand it.” You know, maybe let me ask questions about it. I think there are problems with the way that’s currently implemented.  But, you know, I think there are a lot of tools that will help accelerate physicists just like Mathematica, which is a software package that does integrals, and it does a lot more than that. Sorry, Stephen Wolfram. But I use it to do integrals and, you know, sometimes it doesn’t know integrals and you can look them up in like these integral tables. Anyway. You know, I think, you know, and this applies to other branches of science too. Like, I think the ways in which the questions are asked and what it means to do science in different fields, maybe can look further and further from gains, let’s just say. And so to the extent that that’s true, I think we’ll need to. And not even clear that we’ll need lots of ideas or I mean, we we will need lots of ideas, but it’s more just like, we’ll have to, I think, we’ll just have to approach them all differently. And maybe not, like maybe eventually we’ll have a universal thing that knows how to do all of it. But initially, like at least to me, a lot of these things feel a little different from each other. Sonya Huang: You’ll have a front row seat to it, in part because you’re also on the prize committee for the AI Math Olympiad, which is something I’m personally super interested in.  Maybe to your last point on, kind of like, maybe eventually this stuff generalizes. Like, why do you think people are so focused on solving the hardest problems today, like physics, math? Those were the subjects that everyone was terrified of in school, right? Where it feels like there’s a lot more other domains that are also unsolved for now. Like do you think, do you think going for the hardest domains first kind of lets you get towards a generalized intelligence? Like how does solving these different domains kind of fit together in the grander puzzle? Dan Roberts: Yeah. The first thing that comes to mind when you said that is to just push back and say, “Well, it’s not hard. These are the easy domains.” I mean, I’m bad at biology. It doesn’t make any sense to me at all. My girlfriend actually is in bioengineering and is in biotech. And so, like, what she does just makes no sense to me. I can’t understand any of it, where physics makes complete sense to me. I think maybe a better answer or a less glib answer is that, like I was trying to say about math, there are constraints. And, you know, in particular with math, a lot of it is unembodied. You don’t have to go and do experiments in the real world. You know, they’re sort of self-sufficient and that’s close to, like, what generating text, like the way language models work, or even the way some reinforcement learning systems work for games. And so, I think the further that you go from that, the messier things become, the harder it probably is, and also the harder it is to get the right kind of data to train these systems. If you want to build an AI–and people are trying to do this, but it seems difficult–if you want to build an AI system that solves biology, I guess you need to also make sure robotics works, you know, so that it can do those sorts of experiments and like it has to understand that sort of data. Or maybe it has humans do it. But, you know, there’s a lot, you know, for a self-sustaining AI biologist, it seems like there’s a lot of things that are going to go into it. I mean, on the way, we’ll have things like AlphaFold 3, which just came out and which I didn’t get a chance to read the details of, but, you know, I saw that they’re trying to use it for drug discovery. And so, you know, I think each of these fields will have things developed along the way. But I think the less constraints there are and the sort of messier and more embodied it is, the harder it will be to accomplish. Sonya Huang: No, that makes sense. So, like hard for a human is not the same thing–doesn’t correlate to hard for machine.  Dan Roberts: Yeah. Plus, also maybe humans disagree about what’s hard or not. Sonya Huang: Some of us think more like machines, I guess. And then I guess the second question was like, do you think it all coalesces into, like, one big model that understands everything? Because right now it seems like there’s a lot of domain-specific problem solving that’s happening. Dan Roberts: Yeah. I mean, the way things are going, it seems like the answers should be yes. It’s really dangerous to speculate in this field because everything you say is wrong. Usually much sooner than later.  Sonya Huang: Good thing we’re on record. We’ll hold you to it. Dan Roberts: Yeah, exactly. But also, like, what does it mean to be different? You know, like, there’s a trivial way to make both things–make the question meaningless–by, like you say, the model is the union of all those other models. But there’s also a sense in which mixture of experts was originally meant to be that, it’s not that in practice at all. But, you know, there is a sliding scale here. But, you know, it does seem like people, at least the big labs, are going for the one big model and have a belief that that’s, you know, well… I don’t know, but maybe I will in the future, understand what the philosophy is there. Lightning roundPat Grady: Dan, we have a handful of more general questions to kind of close things out here. So I’ll start with the high level one. If we think kind of short-term, medium-term, long-term and call it, you know, five months, five years, five decades, what are you most excited or optimistic about in the world of AI? Dan Roberts: Five years ago was after the transformer model came out, but it was around maybe when GPT-2 came out. So it seems like, you know, for the last five years we’ve been doing scaling. I imagine within the next five years, we’ll see that scaling will terminate. And maybe it will terminate in, you know, a utopia of some kind, you know, that people are excited about where we’re all post-economic and so forth, and we’ll have to shut down all your funds and, you know, return monopoly money because money won’t matter. Or we’ll see that we need lots of ideas. Maybe there will be another AI winter.  I imagine that–and again, scary to really speculate–but I imagine, like something will be something will be interestingly different within five years about AI. And it might just be that AI is over and we’re on to the, you know, we’re on to the next exciting investment opportunity. And, you know, everyone else will shift elsewhere. And you know, I’m not saying that. That’s not what’s motivating me about AI, but, you know. So maybe five years is enough time to see that. And I think in, in one year, I mean, or there’s a five. I messed this up. Whatever. Maybe it was five months, I don’t remember. I’m sorry. Pat Grady: It’s five months. It’s okay, it’s okay. These are approximations. I know you said physicists are very hand-wavy. Venture capitalists are very hand-wavy. These are approximations. Dan Roberts: In physics there’s–I like to joke that there’s like three numbers. There’s zero, one and infinity. And, you know, those are the only numbers that matter. You know, things are either arbitrarily small, arbitrarily large, or about order one.  So. Okay. Good. Thanks for reminding me. But yeah, for five months, I mean, I’m excited to well, to learn what’s exciting at the forefront of a huge research lab like OpenAI. And I think one thing that will be interesting will be the delta between the next generation of models, right? Because there’s ways in which things are scaling up in terms of, it’s not really public, I guess, aside from Meta, but in terms of size of data, size of models. And we see scaling laws that relate to, you know, something like the loss and, you know, it’s hard to translate that into actual capabilities. And so what will it feel like to talk to the next generation model? What will it look like? Will it have a huge economic impact or not? And I think I, you know, in terms of estimating velocity, right, you need a few points. You can’t just have one point. And we sort of have, you know, we’re starting to have that with GPT-3 to GPT-4. .But, you know, I feel like with the next delta, we’ll get to really see what the velocity looks like and what it feels like going from model to model to model. And maybe I’ll be able to make a better prediction in five months from now, but then I guess I probably won’t be able to tell it to you guys. Sonya Huang: Thanks, Dan. One thing that stood out to me is just like your writing is so accessible and light and funny, and that’s not what I’m used to when I read super technical stuff. Like, do you think all technical writing should be informal and funny? Like, is that deliberate? Dan Roberts: It’s definitely deliberate. It goes into, I think in some sense it’s inherited. I mean, I definitely am a not serious person, but I also think it’s an inherited, sort of, from the style of the field that I came from. But I’ll tell you a story. I was at lunch. I was a postdoc at the Institute for Advanced Study in Princeton, and I was having lunch and joking around with this professor, Nati Seiberg, who’s a professor at the institute. And then we got into, I think we were talking about someone, someone asked a question about, like, “What is a good title?” And I was like, “Oh, the title has to be a joke.” And he was on board with that. And then I was explaining that for me, the reason to write a paper is for the jokes. Like you have a bunch of jokes in mind, and then you want people to read those jokes. And so you have to package it into the science product, and people want to read the science product, and they’re forced to suffer through the jokes. And Nati, who is this Israeli professor, he was like, “I don’t get it. Why? Why can’t you just do the science? Why do you need the, like… the jokes are great too, but like, you should write for the science, not for the jokes.” And I was adamant that I write for the jokes. But I think it’s, I think it’s what you said that at some point, you know, you learn about the scientific method and, you know, the, the formal ways of doing things, and you learn all these rules and then you grow up a bit. Or maybe, I had a roommate who was a linguist, he’s now a professor of linguistics at UT Austin, and like, he emphasized that you can–he would tell me which rules that I could break or what, like where the rules come from and why they’re important or not. And you sort of realize that you can break these rules. And, like, the ultimate goal should be, is the reader going to read it and understand it and enjoy it. So you don’t want to do things that compromise their ability to read and understand. But you don’t want to obscure things. You want to make it, you know, if it’s more enjoyable, people are more likely to read it and take the point. It’s also more fun if you’re writing it. So I think that’s where that comes from. Sonya Huang: Dan, thank you so much for joining us today. We learned a lot. We enjoyed your jokes and I hope you have. I hope you have a wonderful second-to-last day at Sequoia. Thank you for spending part of it with us. We really appreciate it. Dan Roberts: Thanks. I was absolutely delighted to be here chatting with you guys. This was wonderful. <div class="framer-mcvrsd" id="

In recent years there’s been an influx of theoretical physicists into the leading AI labs. Do they have unique capabilities suited to studying large models or is it just herd behavior? To find out, we talked to our former AI Fellow (and now OpenAI researcher) Dan Roberts.

Roberts, co-author of The Principles of Deep Learning Theory, is at the forefront of research that applies the tools of theoretical physics to another type of large complex system, deep neural networks. Dan believes that DLLs, and eventually LLMs, are interpretable in the same way a large collection of atoms is—at the system level. He also thinks that emphasis on scaling laws will balance with new ideas and architectures over time as scaling asymptotes economically.

Hosted by: Sonya Huang and Pat Grady, Sequoia Capital

Mentioned in this episode:

The Principles of Deep Learning Theory: An Effective Theory Approach to Understanding Neural Networks, by Daniel A. Roberts, Sho Yaida, Boris Hanin

Black Holes and the Intelligence Explosion: Extreme scenarios of AI focus on what is logically possible rather than what is physically possible. What does physics have to say about AI risk?

Yang-Mills & The Mass Gap: An unsolved Millennium Prize problem

AI Math Olympiad: Dan is on the prize committee

本集资源与出处