Latent Space 访谈 MIT 的 Alex Zhang,谈学术野心与递归语言模型
Academia is for Ambition — Alex Zhang, MIT
Latent Space 访谈 MIT 的 Alex Zhang,讨论递归语言模型 RLM、GPU kernel,以及博士生为何该押行业不愿做的研究。他把 RLM 定义为以代码调用子智能体、把上下文卸载到代码环境记忆中的 harness,并称短任务上学到的策略可迁移到长 8–30 倍的任务。
译文尚不完整,完整内容请切换到原文。
常规票最后召集:AI Engineer NYC!作为 Latent Space 订阅者的专属福利,你们中的前 30 位可以领取 30% 折扣码,如果有帮助的话——仅限新票,不退款!两周后见!
虽然我们的播客往往谈论产业界,但我们也会不时推介一位明显正在崛起的明星博士。在 2024 年,我们介绍了 Shunyu Yao,他后来在 OpenAI 打造了 Operator,现任 Tencent 首席 AI 科学家。在 2025 年,我们介绍了 Jack Morris,他后来以 $600m 联合创立了 Engram,如今是 持续学习 领域的主要声音。
今年,我们很荣幸介绍 MIT 的 Alex Zhang 的工作。
从 GPU 内核与 KernelBench,到 Recursive Language Models、Mismanaged Geniuses 以及大规模多智能体蜂群,Alex Zhang 正在探索:把日益强大的模型包裹在原始系统中,我们究竟把多少能力留在了桌面上。
RLMs 在今年早些时候刷屏了时间线:
而一个基于 RLM 的 harness 是第一个在 OpenAI 的 Astra:之前近似解决 ARC-AGI-3 的
而且直到今天,它仍在影响一些比 RLMs 具有 更极端 意涵的新研究:
我们深入探讨 GPU Mode 与 AI 编写的内核、研究品味,以及学术界为何应当押下产业实验室不愿押的注;还有 GEV 与标准自回归语言模型的替代方案,以及把 harness 视为组合式泛化器的想法。Alex 讲解了 RLMs、上下文卸载、程序化子智能体调用、Prime Agent、持久子智能体,以及未来的“语言模型”为何实际上可能是简单界面之下一群不可见的智能体蜂群。我们还讨论了 OpenAI 的大规模智能体实验、Kimi 蜂群、Sakana AI 的开放式研究、推测式程序化工具调用、能力过剩、Neuralese,以及 Alex 认为下一波重大研究机会可能在哪里。
我们讨论:
为何 AI 生成的 GPU 内核 仍为人类专业知识留下很大空间
一个专家洞见如何有可能取代海量的 暴力 token 搜索
为何博士生应当押下起初看起来琐碎、怪异或毫无意义的 研究赌注
SWE-bench、RLMs、ReAct 与 Quiet-STaR 对研究品味揭示了什么
GEV,以及为何 语言模型 不必意味着自回归的文本到文本解码器
为何 Claude Code、Codex 与 Pi 在结构上比看上去更为相似
harness 设计 如何提升跨任务、跨领域的组合泛化
RLMs:上下文卸载、代码执行、递归子智能体与共享内存
Prime Agent、持续型 harness,以及 持久的智能体间通信
为何你未来查询的模型,暗中可能是 一整支蜂群或一套脚手架
OpenAI 的 10,000 智能体实验、130B 输出 token,以及约 $40M 等值 问题求解
为何智能体蜂群的很大一部分可能是 被浪费的搜索——以及为何收敛仍然困难
Kimi 对阵 OpenAI 以及多智能体系统的不同做法
开放式、Sakana AI,以及在海量生成成果中发现隐藏的瑰宝
为什么当前前沿模型可能已经存在巨大的能力过剩
推测性程序化工具调用,以及工具执行与生成的重叠
英语、代码,还是一种全新的“Neuralese”,是否制约着模型的推理方式
AI for science、快速变化的基准测试,以及 Alex 如何选择押注哪些研究问题
Alex Zhang
网站:alexzhang13.github.io
X: @a1zhang
时间戳
00:00:00 开场
00:00:49 GPU Mode、KernelBench 与 AI 编写的内核
00:07:38 人类专业知识与暴力式 AI 搜索
00:13:20 研究品味与下大赌注
00:19:28 GEV 与重新思考语言模型
00:29:03 电子游戏智能体与 Harness 问题
00:31:01 为什么 Claude Code、Codex 和 Pi 如此相似
00:36:42 作为组合式泛化器的 Harness
00:44:24 RLMs 详解
00:52:01 Prime Agent 与持久子智能体
00:57:41 真实环境中的 RLMs
01:00:30 OpenAI Swarms 与语言模型的未来
01:07:26 开放式演进与 Sakana AI
01:15:52 Kimi 与 OpenAI Agent Swarms 的对比
01:20:06 能力过剩与推测性工具调用
01:28:19 Neuralese、未来研究与 AI for Science
文字稿
开场:Alex Zhang、RLMs 与 GPU Mode
Swyx [00:00:00]: 好,我们现在在演播室,和 Alex Zhang 在一起。我想你最广为人知的是 RLMs,不过你还有另外几个身份。欢迎来到节目。
Alex Zhang [00:00:12]: 是的。谢谢邀请我。
Swyx [00:00:13]: 嗯。我想还有 GPU Mode?
Alex Zhang [00:00:15]: 对,还有 GPU Mode。
Swyx [00:00:16]: 你是被 Mark Saroufim 带进来的。不是每个人都能得到这种欢迎。
Alex Zhang [00:00:19]: 对。是啊。是啊。我和 GPU Mode 里的人都很熟,所以是啊
Swyx [00:00:23]: 嗯
Alex Zhang [00:00:23]: 我们经常会以各种身份一起合作,甚至不只限于 GPU Mode 本身,所以。
Swyx [00:00:29]: 嗯。我们能解释一下吗,这样关系没那么近的人就不会不了解这件事。它就是一个——就是一个 Discord。它以前大概专注于 CUDA Mode,后来稍微泛化了一点。是 Mark 创办的。
Alex Zhang [00:00:41]: 对。
Swyx [00:00:42]: 基本上就是。对我来说,它就像 PyTorch 团队的招聘管道。
Swyx [00:00:45]: 然后你离开了 PyTorch。
Alex Zhang [00:00:47]: 对。
Alex Zhang [00:00:49]: 是的。所以它以前,我想,其实是在我上大学那会儿开始的,大概是 2023 年。我想是由 Mark、Andreas 和 Jeremy Howard 创办的。最初的设想就是,它是一个 GPU——或者说它是一个专门用来学习如何编写 GPU 内核的 Discord,他们还有讲座之类的。基本上就这些。而我之所以对它感兴趣,是因为我当时在写 GPU 内核。其实纯属偶然。我当时正在 Snapchat 实习,而且
从 CUDA Mode 到 GPU Mode
Swyx [00:01:22]: Rexis.
Alex Zhang [00:01:23]: 是啊,我当时对 Rexis 感到非常无聊。所以他们有一个项目,大概是他们对写作很感兴趣。那是一篇叫 Infinite Attention 的论文,像是 Google 的一篇论文。
Swyx [00:01:35]: 是的,我们在 Paper Club 上介绍过它。
Alex Zhang [00:01:36]: 是的,没错。所以我当时感兴趣的是,能不能在 Snapchat 为它编写专门的 kernel。结果并没有。这件事没什么成果,但我加入了 GPU Mode。当时它叫 CUDA Mode,我想是出于法律方面的原因之类的,他们改了名字。但我认识了 Mark,认识了 Matei,还认识了一群深度参与社区的其他人。然后 Mark 提出了一个叫 Popcorn 的想法,也就是你们今天看到的排行榜。但总体想法大概是这样。我觉得我们所有人都有这样一种直觉:GPU 编程非常类似于——如果你们做过竞技编程的话。它是一种,它并不是。我不是想说这些技能是可以迁移的。
Popcorn、KernelBench,以及 GPU Kernel 自动化
Swyx [00:02:17]: 你有各种约束。你会稍微做一点 code golf。
Alex Zhang [00:02:19]: 对。
Swyx [00:02:19]: 是啊。
Alex Zhang [00:02:19]: 是啊。而且还有。人们实际会做的优化空间其实小得惊人。而且人们真正有兴趣去优化的 kernel 本身也没那么多。所以我们大概有这样一个想法:如果你有足够的数据,就像 Codeforces 上有数百万道题那样。如果你能用 GPU 代码做到这一点,你就可以规模化并自动化某种 GPU kernel 开发,这对研究人员来说是一件大事。因为我认为这是较大的瓶颈之一。比如,你看看 Mamba,他们发布论文时附带了 kernel,因为否则你没法真正有意义地使用它?而且不是每个团队都有一个 Tri Dao。所以我们对这件事非常感兴趣。KernelBench 也是从这里衍生出来的,比如,我们能不能让 LLM 自动化 GPU kernel 代码?我觉得那是一段。那是一段非常有趣的时光。那是在大学和我的博士之间,是的,和 GPU Mode 一起做事的时光非常愉快。现在我有时只是帮忙做做讲座。我没有那么深入参与了,而且我觉得总体来说,我们没有以前那么多比赛了。不过,是的,我仍然和那里的每个人保持着很多联系。
Swyx [00:03:27]: 有没有一种友好的竞争关系?因为我觉得以前做这件事的社区有点像 MLSys、MLPerf
Alex Zhang [00:03:32]: 是啊
Swyx [00:03:32]: 之类的。有没有友好的竞争?这是不是就像新一代的 MLPerf,还是到底怎么回事?
Alex Zhang [00:03:38]: GPU Mode 的好处在于,它同时也是一个社区,很多讲座都足够容易,初学者也能跟上、提问之类的。而比赛某种程度上不算次要,但你可以参加它们来学习。我觉得像很多 MLSys、MLPerf 这类基准测试,大多数情况下只有认真的实验室和公司才会参加。至少是认真地参加。这是我的理解。我可能错了。但我觉得,除了现在的 GPU Mode 之外,一件真正令人兴奋的事是,出现了更多网站,以及更多在做比赛托管的人。我觉得有这么一个。
Alex Zhang [00:04:21]: 我觉得有个网站叫 LeetGPU 之类的,它就像是面向 GPU 问题的 LeetCode。
Swyx [00:04:26]: 哇。
Alex Zhang [00:04:26]: 还有其他一些我……我们见过的。有很多这样的东西冒了出来,并在 GPU Mode 上被谈论,这非常令人兴奋,因为我觉得 GPU 编程以前超级小众,就像我当初对它感兴趣的时候。我之所以对它产生兴趣,唯一的原因是 Tri Dao 在 Princeton 做了一场演讲,因为他当时正在申请教职。他现在已经是那里的教员了,但我大概在 2023 年听了他关于 FlashAttention 的演讲,当时我就觉得:“哇,这简直是有史以来最酷的东西。”
Alex Zhang [00:04:56]: 然后我就觉得:“这就像是。这才是每个人都应该做的事。”我想,vLLM 之类的也出来了,当时感觉就是:“哦,我们应该去写内核。”但现在是,每个人都在写内核。每个人都在写。我觉得作为一个领域,它在某种意义上其实几乎已经饱和了。
AI 编写的内核与验证差距
Vibhu [00:05:11]: 对想入门的人有什么有意思的看法吗?所以我觉得最大的新闻之一是 GPT-5.6 写出了更高效的内核,因此 Terra 和 Luna 可能会便宜 80%。
Alex Zhang [00:05:24]: 是的。
Vibhu [00:05:25]: 然后我们还看到其他比赛,人们在刷新纪录,他们说:“我们在做某种自动研究循环,”而这些人并没有背景
Alex Zhang [00:05:34]: 对
Vibhu [00:05:34]: 在任何内核编写方面,对吧?
Alex Zhang [00:05:36]: 是的。所以即便在 GPU Mode 排行榜上,如果你去看很多最近的题目,几乎所有解法都是 AI 生成的。不过,你会在排行榜上注意到。有个叫 Gauners 的人,他是 GPU Mode 里非常、非常固定的成员。我们很久以来一直知道,他是个超级厉害的 GPU kernel 编写者。我们在这个排行榜上发现的一件事是,几乎每——就是,他也用 AI 来帮他完成这些解法,但在大多数情况下,是他帮忙写 prompt,并把它往某些方向推动。我们发现,他的 kernel 基本上是前 10 名里唯一一个在实际的端到端系统里真正稳定的。这确实引出一个问题,就是,并不是。就是,GPU kernel 存在验证问题。我们其实早就知道这一点。自从 KernelBench 发布以来,这一直是个问题。有很多 reward hacking 在发生。但你也——是的,你也会注意到,代码行数少了很多,但是
Vibhu [00:06:33]: 是啊,我正想问,那明显吗,还是只是
Alex Zhang [00:06:36]: 是的,不,它是,它是
Vibhu [00:06:36]: 好的
Alex Zhang [00:06:36]: 这绝对非常重要,而且我觉得很有意思的是,擅长编写 GPU kernel 仍然有很多 alpha。
Vibhu [00:06:44]: 好,所以在验证方面存在差距
Alex Zhang [00:06:45]: 确实存在,是的。我觉得。而且这也适用于很多 AI 系统。我觉得,即便是最近那些数学证明之类的东西,也并不一定意味着数学家就过时了。这些公司仍然会雇数学家,去做数据标注工作,或者甚至只是引导模型去解决问题。在这些事情上有知识仍然有很多 alpha,所以。
Swyx [00:07:12]: 这只是知识吗,还是说也有更多的规划,而且是否存在一种涌现出来的、效果更好的规划风格?
Alex Zhang [00:07:22]: 我觉得这是,这是一种混合。也许你指的是那种直觉,对于
Swyx [00:07:27]: 差不多是那样
Alex Zhang [00:07:28]: 如何解决问题。
Swyx [00:07:29]: 比如,我总是把我的代码画成图。
Alex Zhang [00:07:31]: 是的。
Swyx [00:07:31]: 对吧?
Alex Zhang [00:07:31]: 是的。
Swyx [00:07:31]: 然后,如果图里有一部分我不理解,我就会一直弄到我理解为止。否则,我,那是不允许的。
Alex Zhang [00:07:37]: 是的。
Swyx [00:07:38]: 是的。
Alex Zhang [00:07:38]: 所以我觉得,这有点像是这几件事的混合,也就是那些在干活的人。懂怎么审视这些问题、怎么解决它们的人,往往也知道怎么用 AI 来做这些事。因为你相当于在充当一个非常强的验证者。比如,如果你有相关知识——或者说如果你知道该做什么,而且你也……我觉得我们在这些 agent swarm 之类的东西上多少发现的一点是,当你对一个问题投入足够多的算力时,你就能充分探索这个问题的解法。但很多时候,你也许会在某件事上烧掉 1000 亿甚至 1 万亿 token,可如果你找来一个对这个问题有所了解的人,他们能为模型发现一些东西,从而抵消那 1 万亿 token 的开销。目前还不太清楚这里的趋势到底是什么。但我觉得,眼下现实中仍有那么多我们想解决的问题,我们负担不起总是尽可能多地往上砸算力。这些事情里仍然有一个效率层面,而且它极其重要。
光速极限、内存与 Megakernel
Swyx [00:08:41]: 有没有一种理论上的正确答案,你只要根据物理来计算,然后尽量接近物理极限?
Alex Zhang [00:08:49]: 是的。所以对于 GPU kernel,你可以算出来。有时候其实没那么容易算,这取决于问题有多复杂。比如矩阵乘法,就很容易算出这种光速级别的估计,也就是最快的 kernel 能有多快。而且这也假设,也许你的全部数据一开始在 CPU 上,或者一开始在 GPU 的 DRAM 里,等等。这会让这些数字略有变化,但是
Swyx [00:09:18]: 数据传输以及所有这些东西,对。
Alex Zhang [00:09:20]: 对。但我想说的是,在很多情况下,到底能不能达到这个理论数字,其实并不清楚,你明白我的意思吧。这假设了完美的重叠和数据传输,而且也许存在某个你绕不过去的瓶颈。但通常,kernel 甚至差得远。我们写出来的那些,离这个数字还远得很,远到根本谈不上有意义。
Swyx [00:09:43]: 是啊。重要的是速度吗?你显然也会在意内存,而内存
Alex Zhang [00:09:48]: 嗯
Swyx [00:09:48]: 会影响到速度?你在意功耗吗?我们今年最受欢迎的播客之一是 Geoff Dean,他当时说:“实际上,我只追踪微焦耳,或者纳焦耳、皮焦耳。”
Alex Zhang [00:09:59]: 对,如今常常是皮焦耳。
Swyx [00:10:01]: 皮焦耳。
Alex Zhang [00:10:01]: 对。
Swyx [00:10:01]: 你在意这个吗?
Alex Zhang [00:10:03]: 所以我不在意。
Alex Zhang [00:10:04]: 是啊。我想也许我并没有那么
Swyx [00:10:06]: 但这里的一切都是速度,对吧?比如
Alex Zhang [00:10:07]: 这里的一切都是速度
Swyx [00:10:08]: 没人在数皮焦耳。
Alex Zhang [00:10:09]: 不过我——这里有个前提,就是我觉得,单个 kernel 语境下的速度,和更大问题语境下的速度是不一样的,比如也许是 N10 模型。因为有一件事需要考虑,这也是为什么谈清楚 speed-of-light 指的是什么很重要,因为在这些 kernel 的情况下,我们总是从一切都在 HBM 里开始,对吧?但你可以想象,一个端到端模型,你在两层之间可能想做的是,牺牲第一个操作的速度,把东西留在缓存里给第二个操作。而这些事情,你没法孤立地从这类 kernel 里得出来。人们把这叫做 fusion,或者说
Swyx [00:11:01]: Megakernel
Alex Zhang [00:11:02]: Kernel fusion 问题。对,或者说 megakernel 那一套。而且它通常只在你大多数情况下是 memory-bound 的时候才适用。但这也是一个问题,就是随着这些模型变得更好,我们是不是就该直接生成 megakernel?那是我们想要的吗?
Vibhu [00:11:20]: 你怎么看?
Alex Zhang [00:11:21]: 我觉得这真的很难,因为你需要数据才能做这件事。而且我觉得,我还没在实际中见过这样的例子:我们在没有任何示例的情况下,自举出解决一类非常困难问题的能力。另外我觉得这也许没那么有意思的另一个原因是,在单个 kernel 的层面上,A,它们没那么复杂,但 B,你多少有把握,单个 kernel 里没有那么多结构。但在 megakernel 里,我更倾向于相信编译器在这里会更好。比如某种位于更高层 Ops 之上的编译器是说得通的,因为总的来说,其实我觉得 mega kernel 的各个部分非常可组合,就像那些单个 kernel 一样。有些地方你可能想做一些奇怪的 fusion 之类的,但总的来说,我觉得这些情况编译器大概都能处理。据我了解,有一家公司正在做这件事,他们也在 GPU mode 上做过一些分享。
Swyx [00:12:28]: 对,我想基本上把所有 GPU mode 的讨论都集中在这里,因为显然还有其他部分
Alex Zhang [00:12:32]: 对。
Swyx [00:12:32]: 是我们需要接着谈的。
Vibhu [00:12:33]: 我觉得有件事可以提一下。你们确实主办了很多非常好的讲座。它们都在 YouTube 上。大家可以关注。而且你
Alex Zhang [00:12:39]: 是的
Vibhu [00:12:39]: 主导了其中相当一部分。你现在仍然相当投入。
Alex Zhang [00:12:41]: 我以前是。有时我现在还会。我觉得它们大多是 Mark 的。通常是 Mark 在做这些。Matei 有时也会,不过,是的,我强烈推荐它们。它们是非常好的资源。我觉得人们在那里分享的东西多得有点疯狂,所以是的。
Swyx [00:12:59]: 因为如果你在那里,你就是非常、你就是正好合适的受众?
Alex Zhang [00:13:03]: 对,正是如此。
Swyx [00:13:03]: 比如这进不了主流。
Alex Zhang [00:13:04]: 而且我们也放上了很多入门材料,我觉得对大家很有用。
基准测试、普林斯顿与研究品味
Swyx [00:13:10]: KernelBench 算是挺有影响力的。我就是想看看,那是去年的事了。
Alex Zhang [00:13:13]: 对。
Swyx [00:13:14]: 你还想特别提到哪些正在进行、值得大家关注的工作?因为显然你也参与了这个
Alex Zhang [00:13:20]: 对
Swyx [00:13:20]: 领域。
Alex Zhang [00:13:20]: 是的。我也许可以讲讲背景:我其实参与了很多基准测试,或者说曾经参与过,大概是在读博之前。这始于我在普林斯顿的时候。我在那里和 SWE-bench 团队合作。
Swyx [00:13:33]: John、Carlos
Alex Zhang [00:13:33]: John、Carlos
Swyx [00:13:34]: Ofir
Alex Zhang [00:13:34]: 还有 Ofir。他们都很棒。比如
Swyx [00:13:36]: Karthik
Alex Zhang [00:13:36]: 我很喜欢他们。是的。
Swyx [00:13:37]: 基本上就是这样,我觉得人们并不了解有多少基准测试出自同一个团队
Alex Zhang [00:13:42]: 是啊
Swyx [00:13:42]: 在普林斯顿。
Alex Zhang [00:13:44]: 这太疯狂了。
Swyx [00:13:45]: 你认识 Xun Yu 吗?
Alex Zhang [00:13:45]: 认识。是的。
Swyx [00:13:46]: 我们之前请他上过播客。现在他好像在掌管腾讯。
Alex Zhang [00:13:48]: 是啊,现在他就像个超级明星。我见到他的时候,他在指导我的朋友 Michael Tang,Michael Tang 现在在 Anthropic,但他们合作了很多。我们当时就像是 Karthik 实验室里的两个本科生。我——后来又有其他人加入了。不过是的,Xun Yu 很棒。我直到后来,大概是我离开之后,才知道他是这样一个超级明星,但是
Swyx [00:14:12]: 是啊。就是,好吧,博士生其实非常少。你就像是下一个。大概每年一次,我们会重点介绍一个基本上整个博士阶段都一直很对路的人。
Swyx [00:14:25]: 这样的人并不多。Xun Yu 显然是其中之一。而 Jack Morris 是另一个。而且,我们在节目前聊过研究品味。
Swyx [00:14:33]: 对吧?不知怎么的,有些研究生的职业生涯就是特别幸运,基本上就是,对,这个会留下来、保持相关,大家都应该知道。
Alex Zhang [00:14:42]: 是的。
Swyx [00:14:42]: 而另一些人,就什么都没有。
Alex Zhang [00:14:44]: 我觉得这一点甚至对行业实验室里的人也同样成立。我觉得只是研究生的曝光度高得多。所以你就会看到,就像你会看到,有些人
Swyx [00:14:56]: 是啊,你可以发表
Alex Zhang [00:14:57]: 谁真正算是运气好,或者说,这是运气和非常聪明之类因素的结合。我觉得研究品味也是如此,至少就我而言,它是通过机会培养出来的。我很幸运走上了自己走过的那条路,比如在 Princeton 工作,后来在 MIT 找到了我的 Omar。他是一位非常出色的导师。不过我要说,我发现研究生或学术界最成功的研究,往往出现在人们关心那些业界大多数人可能并没有在关注的问题之时。我觉得问题在于,很多研究生做的事情是那些在工业实验室看来不错的事。比如,他们会去做某个现在非常流行的 benchmark。我认为 2023 年的 benchmark 和现在的 benchmark 完全不是一回事。有很多人在做 harness、meta-harness,以及针对 XYZ 任务的特定 harness。仔细想一想,有人会做这个,也许是因为围绕我们今天拥有的模型,形成了一个清晰的目标,比如:这就是我想看到的。不过,我想以 RLM,也就是 recursive language model 那篇论文为例,因为我觉得这是一个超级简单的想法。我觉得它出来的时候,也有很多人一看到这类东西就会说:“这到底有什么意义?”
Swyx [00:16:27]: 或者说太酷了。
Alex Zhang [00:16:28]: 对。就是为什么,什么意思?这不就是 subagent 之类的东西吗,对吧?
Alex Zhang [00:16:32]: 而且我觉得,当你得到那样的反应时,这几乎是一个好迹象,因为很明显人们并没有在思考这件事的目的是什么。我再举一个 SWE-bench 的例子。SWE-bench 出来的时候,Ofir 很喜欢讲这个故事。它刚出来时,几乎没人在意。大家都觉得:“这是个不可能完成的任务。我们为什么会把它当作一个 benchmark?”直到 Devin 出现,大家才说:“哇,这是我们想要去 hill climb 的东西。”我觉得这是,这一点对……都成立。你往往会看到很多这样的想法。我觉得像那个。我最喜欢的例子大概是 Eric Seligman 的工作,比如 STaR 和 Quiet-STaR。我觉得当你读那篇论文时,至少我第一次读的时候,我会想:“这不就是个显而易见的想法吗?”也许不是。我不知道。我当时想:“哦,这看起来真的很简单。”或者像 chain of thought,也是一样。或者像 Xun Yu 的 react。就是,好吧,是啊,当然。但当你真正去想的时候,就会像是为什么。这篇论文的价值是什么?我觉得它的价值在于,它讲了一点故事,关于你希望这个领域变成什么样子。而这是在学术界很难做到的事情,因为如果你看所有这些论文,Quiet-STaR、ReAct、RLMs、SWE-bench,这些论文都不是。它不像一次 GPT-6 Astro 发布?不是每个人都会说:“天哪,我现在就要用这个,这是世界上最好的东西。”学术界就是负担不起这样做,至少现在是这样。我。有一大堆原因让我觉得这应该改变,但我觉得就像。如果你没有。作为一名 PhD 学生,我觉得你处在一个非常独特的位置,在很大程度上你可以做几乎任何你想做的事。如果你不利用这一点,去做那些没人在意的事情,或者人们觉得很琐碎的事情,比如“哦,我想到过这个,但我不用它”,我就是觉得,到头来,这样的研究永远不会那么有趣,因为如果你要待在学术界,你多少需要下大赌注。否则,我觉得,就去工业界实验室吧。他们有大量资源、大量人才。为什么要把自己限制在一个资源不多、周围甚至没有那么多人的地方?我觉得就是。归根结底就是大赌注。你就是必须下大赌注,而且其中很多会失败?就是这样。这,这很自然。但我觉得
Alex Zhang [00:18:55]: 也就是说,作为一名 PhD 学生,这是你相对于其他任何实验室里任何一个人所拥有的最大优势,因为你不必应对官僚体制以及所有这些其他事情。
Swyx [00:19:07]: 有道理。
Alex Zhang [00:19:07]: 是的。
Swyx [00:19:08]: 我问过很多人这个问题,他们通常都是随口带过。所以我觉得。我很欣赏你实际上给出了一个经过思考的回答,就像,不,这就是你的不公平优势,因为其他一切基本上都对你不利。
Jev 以及打破自回归解码器范式
Alex Zhang [00:19:20]: 对,正是如此。所以,老实说。我会把 Jev 作为一个例子提出来,因为它,它不是一个学术
Swyx [00:19:26]: 哇,好的。
Alex Zhang [00:19:27]: 这不是一个学术项目。
Swyx [00:19:28]: 是的。
Alex Zhang [00:19:28]: 我想提出这一点,是因为 RLMs 也发生过同样的情况,而且很多其他工作也会这样。就是,事情会被过度炒作,对吧?在某种程度上,某样东西被过度炒作之后,人们就会说:“为什么这会被过度炒作?”比如:“这很琐碎。这很蠢。”我在 Jev 上也看到了同样的情况,因为我觉得那次发布就像。关于学术界有这么一整套说法,或者说他们并不是一个学术团体,但人们必须做品牌推广,必须在某种程度上营销自己的研究。所以,我能理解,但我觉得有很多讨论认为 Jev 只不过是我们已经知道多年的东西。而我觉得这有点没抓住重点,比如,为什么这样一个系统这么有意思?为什么它不只是某种愚蠢的 NLP 分类器,就像我们在入门 ML 课之类的地方一直在做的那种?我觉得 Jev 真正有意思的地方在于,它某种程度上打开了这个问题:语言模型是正确的吗?也就是,以它们现在的形式,我们能不能考虑 text-to-text 之外的另一种设计空间?因为他们所做的基本上是在说:“我会利用这个语言模型 backbone。我知道它捕捉了大量关于语言的信息,但我要改变模型的输出空间,给你一种权衡,也就是我会做非常快的推理。”比如,如果你对这个问题有一些先验,比方说我只需要做一次二分类。我难道要让我的语言模型来做这件事,并支付大约 400X 的成本吗?不。那——这有点傻,对吧?而且我觉得在很长一段时间里,因为实验室是唯一掌控的地方,你永远不会使用 GPT-4、GPT-6 或 Fable 以外的东西,因为它们是最好的模型。但正因为如此,人们已经有点习惯了这种想法:语言模型就只是一个自回归解码器。我们已经接受了这一点。我觉得当 RLMs 出来的时候,情况也一样。比如,其中一条评论,一个我经常收到的批评是:“这不是一个语言模型。”或者:“当我看到这个的时候,我以为它是一种新架构,但其实不是。”而我对此的回应是:“嗯,语言模型就是在对语言进行建模。它不一定非得是这种 transformer 解码器,”?而 Jev 真正有意思的地方在于,我们现在有了一个新的
Alex Zhang [00:21:49]: 要调节的东西,也就是,输出空间是什么,以及这如何影响推理延迟?而且我认为我们其实可以开始就语言模型本身的各个部分提出这个问题。我们在 loop transformers 上也看到了这一点。这是一个类似的想法,围绕它的很多关注都像是,“这是个傻想法。”比如,“为什么?谁在乎这个?”但它就是,这是一个简单的想法,但它实际上……它打开了一整套全新的问题,我认为,尤其如果你是 PhD 学生,这些正是你想要回答的事情。因为我觉得我们并不知道。比如对 Jev 来说,我们不知道能把这个推进到多远。对 loop transformers 来说,我们也不知道能把这个推进到多远。如果你只循环模型的一个子集呢?如果你路由到,比如,只……比如你有某种 router 通向模型的不同部分呢?比如,你能否在模型内部模仿你在 harness 里所做的事情?你能在 harness 选择和模型架构选择之间架起怎样的桥梁?我认为这些都是这类工作所开启的问题,而这真的很令人兴奋。尤其是 Jev,当我看到它时,我就觉得,“这对 RLMs 实际上真的很有用。”我觉得,它……这说得通,因为 RLMs 或 swarms 或这类系统最大的瓶颈就是它们很慢。当你一直进行多次语言模型调用时,你并没有正确地分配算力,因为,也许有些很琐碎的事情你只想让一个简单模型来做,但你做不到,因为你的语言模型就是这么一个笨重的东西?所以我非常兴奋。我认为我们将开始看到新型模型出现,而不仅仅是千篇一律的 frontier model,而这就是……有这么多事情可以用这些新的权衡来做。
Swyx [00:23:34]: 我还要特别提及 Thinky 以及他们的 interaction models。
Alex Zhang [00:23:36]: 是的。对。又一个很好的例子。
Swyx [00:23:38]: 对。所以,基本上就是试图打破 sequence to sequence、decoder only 的范式,然后简直去做任何别的事情。
Alex Zhang [00:23:46]: 对。
Vibhu [00:23:46]: 我认为有,有一个层面是,如果你试图去竞争,你不会去跟一家做自回归的 Frontier lab 竞争
Alex Zhang [00:23:54]: 不会。
Vibhu [00:23:54]: Decoder 上。比如,他们所拥有的算力扩展资源的规模,即便 Thinky 也不会。好吧,也许有少数几家能做到,但至少在那方面你真的做不了太多。
Alex Zhang [00:24:06]: 我对 Thinky 了解得不多,或者说我也不想说什么,但如果他们的策略只是复制 OpenAI 或 Anthropic,那就是一个糟糕的策略。
Alex Zhang [00:24:15]: 因为,嗯,因为,他们就是没有。你多少得从你拥有什么优势来考虑。而如果你要用同样的方案。我确信他们不是这样,但如果你们要用同样的方案,你基本上就是在你能控制的事情上竞争,也就是数据和算力,而显然他们无法在这方面与 Frontier Labs 竞争。所以是的,这说得通,如果你是一家 neo lab 的话。实际上,我不知道你会不会认为他们是一家 neo lab,但我想,
Vibhu [00:24:40]: 是啊。所以他们才、他们才在里面。
Alex Zhang [00:24:42]: 我觉得他们算是有点奇怪的一家,是啊。
Vibhu [00:24:43]: 他们在自己的名单上。他们发布了 Inkling。就是,他们不能。
Alex Zhang [00:24:46]: 除了 OpenAI 或 Anthropic,也许还有 Meta 和 GDM 之外的任何公司,你就得做点别的?就是,它就是。这是令人难过的现实,但我觉得。我其实觉得这是件好事。我很高兴规模化是有效的,这些公司会继续这么做,因为它会打开局面,比如潜在的新玩家,如果他们发现了真正有意思的东西。因为我有点怀疑这件事是不是真的在 Frontier Labs 认真进行,因为你会想,你为什么要那么做?为什么要冒险把大量算力分配给新的押注,而旧的押注已经奏效了?所以
Vibhu [00:25:24]: 而且我觉得这就是催生很多 neo labs 的原因,对吧?
Alex Zhang [00:25:27]: 是啊。
Vibhu [00:25:27]: 你有一个支线押注,却拿不到算力,然后你就觉得
Alex Zhang [00:25:30]: 是啊
Vibhu [00:25:30]: “好吧,我走,我去做那个。”
Alex Zhang [00:25:31]: 正是。
Vibhu [00:25:31]: 而且,你举的潜在上行空间的例子,就是像 Jev 这样的东西,便宜了 X 百倍,出来了,也许它就是语言模型。
校准、快速分类,以及新模型的权衡
Alex Zhang [00:25:41]: 是啊。
Vibhu [00:25:41]: 在这种情况下,它就是不一样。
Alex Zhang [00:25:42]: 是啊。
Swyx [00:25:43]: 是啊。
Swyx [00:25:44]: 所以不猜测 Jev 实际上是什么?
Alex Zhang [00:25:46]: 我想我对它可能是什么有一些猜测。我看到有人说,比如,“哦,它像是一种扩散的东西。”我想那
Swyx [00:25:56]: 也就是并行解码,对吧?
Alex Zhang [00:25:58]: 是的,并行解码。老实说,我觉得不管它实际上是什么,因为我觉得你可以。我看到过一些,比如,它的开源复现。他们所做的事情真正让我兴奋的是,我并不完全确定他们的优化目标是什么,以及他们是如何训练它的。而且我觉得,这对 RLMs 来说也是我们一直在思考的一件事,就是,好吧,RLMs 是一个非常简单的想法。如果我发表了这篇论文,现在任何人都可以用它。但真正区分一个 RLM 实际价值的,是你能否正确地训练它,以及你是否也许能围绕这个系统塑造某种架构,让它变得非常好。而这正是我正在积极做的事情,我想。但我觉得对他们来说,他们找到了一种训练这个系统的方法,这完全不是轻而易举的。就是,我其实真的不知道他们是怎么做到的。而且我在网上看到一些比较,有人声称他们用了 Qwen,或者他们在 Qwen 之上做了后训练,但你用的每一个开源 Qwen 都会更差,因为他们为了训练它所做的事情显然非常有效。所以这,这非常令人兴奋。
Swyx [00:27:04]: 校准有一个要素,这是一个罕见的话题,我觉得人们甚至都不知道或不理解。我们在与 Hugging Face 的 Clementine Foley 的对话中谈到过它,她曾在 Hugging Face 负责评测,其基本想法是,模型被调校为给你最可能的下一个 token。但是,当你问它们“你有多确信?”时,它们会对你撒谎。因为它们只会给你最可能的下一个答案,而不是真正地说,不,让我们来校准。比如,我实际上有百分之五十的把握,或者我有百分之二十的把握,然后试着把这一点校准一下。我想说,如果非要说的话,我觉得围绕这一点生成合成数据其实相当容易,因为你大致能看到真相,然后合成生成一堆答案,让 Jev 对其进行分类,再与真实标签进行比较。
Alex Zhang [00:27:52]: 哦,我明白了。
Swyx [00:27:52]: 那就是我对这件事的逆向工程。
Alex Zhang [00:27:54]: 是的。
Swyx [00:27:54]: 我其实。我觉得校准可能是被低估的。就是说,人们只是把它当作一个非常快的分类器来用,但他们实际上甚至没有使用概率或校准估计。
Alex Zhang [00:28:04]: 是的。
Vibhu [00:28:04]: 我想重申一下,它至今仍只是被误解了。当你问一个模型“你有多确信?”时,它会吐出个什么,百分之四十三。巨大的差异在于,这是一种有依据的分类,对吧?
Alex Zhang [00:28:16]: 是的。是的,我非常期待看到人们用这个模型做什么。它会解决一切吗?当然不会。但我认为它解决了我们传统上一向难以应对的一类问题,也就是低延迟的事情。所以我喜欢游戏方面的例子。那其实就像。我
Swyx [00:28:34]: 是的,Doom 的例子
Alex Zhang [00:28:35]: 是的
Swyx [00:28:35]: 非常好。
Alex Zhang [00:28:35]: 我有一个关于语言模型玩电子游戏的基准测试。我一直着迷于你能否让一个智能系统玩新游戏以及诸如此类的事情。所以我觉得他们有一种相当独特的方式来做到这一点,在一个很快、非常快的模型中捕捉语言和理解,这真的很酷。
语言模型玩电子游戏
Vibhu [00:28:59]: 哦,既然你说到这个话题,关于电子游戏你有什么想指出的吗?
Alex Zhang [00:29:02]: 哦,有的。
Vibhu [00:29:03]: 就是这个。你确实做过某个项目的基准测试,对吧?
Alex Zhang [00:29:05]: 所以,是的。我想这些数字已经非常过时了
Vibhu [00:29:08]: 是的。
Alex Zhang [00:29:08]: 因为很多模型已经非常不同了。而且我其实看到有人在跑。有一些人正在这些游戏上运行更新的模型,这真的很酷。我想这个基准测试的总体前提是,我们只是想看看视觉语言模型在接入游戏时,连同延迟约束一起,是否足够好。因为这其实。我是在 Claude Plays Pokémon 出来之后不久发布这个的。
Alex Zhang [00:29:33]: 所以这大概是两年前的事了,我想现在看来已经算很久远了。但我觉得这套任务真正酷的地方在于,它们在游戏种类上非常多样。而且我觉得其中大多数游戏都是人们知道、或者以前见过的。我看到,对,Jeff 在玩 Doom。我得说,我不这么认为。我觉得他们玩的只是一些非常简单的关卡之类的。但说实话,大多数模型仍然做不到。或者说,我其实不认为有任何模型能很有意义地解决这些游戏。有些游戏它们是能做到的。我记得我见过 Astra 能通关 Kirby 那款游戏。而且针对这个基准测试,我们也有意设计了一个非常精简的 harness。关于 harness,我后面还会谈到这一点,因为我觉得这值得好好讨论一下:harness 的价值到底是什么?对一个模型来说,harness 的目的究竟是什么?但总的来说,我觉得……是的,我希望很快、或者说在不久的将来,就能看到这些游戏全部被更新的模型打通。
Vibhu [00:30:35]: 是啊,这挺有意思的。比如以前那个 Cloud Place Pokemon,他们会从 RAM 里读取状态,看看哪些图块可以行走之类的。我们很久以前和他们做过一期播客。
Alex Zhang [00:30:45]: 明白了。
Vibhu [00:30:46]: 是啊。就是好玩。
Swyx [00:30:46]: 是啊,而且情况类似。比如,Jeff 没有视觉能力
Alex Zhang [00:30:48]: 对
Swyx [00:30:48]: 所以你得想办法把信息喂进去,
作为组合式泛化器的 Harness
Alex Zhang [00:30:50]: 是的
Swyx [00:30:50]: 这些,比如游戏状态以及诸如此类的东西。我们直接进入 harness 这个话题吧
Alex Zhang [00:30:54]: 太好了
Swyx [00:30:54]: 因为是你提起的。语言模型的 harness 是组合式泛化器。
Alex Zhang [00:30:59]: 是的。
Vibhu [00:31:00]: 你刚才读那句读得很费劲。
Alex Zhang [00:31:01]: 解释一下。是的。好的。所以我也许一直有点不满意人们思考 harness 的方式,因为人们会比较,比如,“哦,我喜欢 Claude Code,我喜欢 Codex,我喜欢 Pi。”比如,“不,我喜欢 Oh My Pi,我喜欢 Prime Agent。”说实话,我认为它们全都是一样的。这些 harness 周围的大多数设计决策,或者说设计选择,都是一样的。也许 Prime Agent 有一点不同,因为它本质上就是一个 RLM。但总的来说,我认为我们可以在 harness 上有创意得多。我这么说的意思是,如果我们从 harness 究竟在为模型做什么这个角度来思考呢?嗯,基本上,当你试图解决一个问题,并且想用语言模型来解决它,比如一个非常困难的任务时,我们发现的一件事是,下一个 token 预测是完成许多这类任务的一种非常别扭的形式。所以举个例子,拿 SWE-bench 来说。当你在一个代码库中导航时,你能用单次语言模型调用来弄清楚如何完成所有这些吗?比如,你只是说,“解决代码”,或者,“在这个代码库上解决我的查询。”不行。所以我们依靠 harness 来帮助你做这类事情。而且我认为有趣的是,harness 是一个非常有主见的程序,关于你希望语言模型如何被塑形以贴合一个问题。我提出这一点,是因为当我们思考 harness 在做什么时,我们真的应该思考,harness 中的哪些选择让语言模型得以解决这个任务?我能不能实际上就拥有一个直接做这件事的语言模型?因为 harness,如果你想想,既然 loop transformers 现在已经是一个东西了,我认为它真正有趣的地方在于,你在某些方面也可以用 harness 来对一个 looped transformer 建模,对吧?你只是在对模型进行循环。现在你可以说,“哦,我并没有在解码”,所以有一点不同。但总的来说,出于某种原因,我们一直坚持同一种模型架构选择。而且我。关于为什么有许多论点,但显然,我们现在是围绕 harness rollout 来训练模型。因此存在一种非常别扭的在 harness 上进行训练的方式,那就是我们训练一个语言模型在 harness 内行动,但现在它就像是一个非常长的、也许是多智能体的 rollout,那是我们正在做的。而且有一些非常别扭、hacky 的方式来做这件事。所以这篇博客谈论的是,嗯,你可以这样思考这里正在发生的事情:如果 harness 基本上是在帮助模型解决一个特定任务,那么不同的 harness 设计选择是否真的能做一些更有意义一点的事情,而不仅仅是,“这里有一些会帮助你的工具调用。这里有一种在你的代码库里 grep 的方式。”所以这实际上。这篇博客的想法也是和 RLM 的想法一起产生的。我们只是没有用那种方式把它打包。而且我认为这实际上是对的。围绕 RLM 还有许多其他想法,我们将会拿出来,但它们从一开始就都在那里。这些全都是围绕着的设计决策。我认为就什么是而言。我喜欢 RLM 的地方在于,我感兴趣去做的不同抽象曾有过许多迭代和版本,最终 RLM 最说得通。但有很多尚未公开的原因说明为什么是这样。你会看到的。所以在这个例子中,我们在 RLM 上看到的事情之一是,如果你充分地卸载上下文并写。让模型在那个上下文上写代码,你会得到这种非常奇怪但有用的性质,那就是当模型在训练期间认识到如何解决一个任务时,事实证明许多任务的解决方案在不同任务之间非常相似,在那些你甚至。比如,对你来说甚至都不清楚这些解决方案是相似的任务上。所以在这个例子中,我们有一个检索任务,还有一个聚合任务,它们是非常不同的查询。领域完全不同。而当你在这两个任务上训练一个常规语言模型时,轨迹看起来非常不同。所以当你所依赖的,当你。比如,假设你使用 Pi 或 Claude Code 之类的东西,这不在这篇博客里,但我们确实有这些结果。你会发现,这些 harness 在这些问题之间区分得太多了,尽管解决方案是相同的。所以我们在训练 RLM 时发现的一件事是,比如。当它看到这些问题时,它们是一样的。而它把这些问题视为相同的原因是,子智能体看到不同的问题,但子智能体在解决一个更容易的子任务,因此你确信它足够聪明能够完成。但对于基础的整体策略,它们最终看起来是一样的。所以当你在左边的任务上训练时,例如,它可以立即解决右边的任务。所以如果你往下看到我们有的那些图,你会有点观察到的一件事是。当你只是朴素地在这些任务上训练你的 RLM 时,它们会自然学会泛化,例如泛化到更长的任务,因为策略基本上是相同的。你只是在修改一个长度变量。而且这实际上也适用于那些不同的任务,而且它们,甚至不是——它们并不是在长度上不同。它们是完全不同的任务,数学任务对写作任务。但解决方案,那种元层面的高层解决方案是相同的。所以当你在其中一个上训练 RLM 时,它会把这种行为泛化到第二个上。而且这里没有魔法。我想也许这就是我想要有点强调的事情。比如
Vibhu [00:36:38]: 你会怎样用语言描述它们正在学习的内容?所以我想你在这里说的是,你在短任务上训练它,它们能泛化到长 8–30 倍的内容。
Alex Zhang [00:36:47]: 是的。
Vibhu [00:36:48]: 它们是在学习如何解决这类问题,还是说,它们真正在学习的核心是什么?
Alex Zhang [00:36:52]: 是的。它们是在学习如何在某个长度上解决这类问题。结果发现,当你采用它们学到的策略时,它可以直接迁移到更长的长度上。比如,它们
Vibhu [00:37:05]: 是的。
Alex Zhang [00:37:05]: 实际上是同一个程序。而这之所以真正令人兴奋,是因为这大致意味着:当你有一批用来训练模型的数据或环境时,希望是,第一,你可以用更少的环境来训练,并泛化到比现有模型通过现有那种、比如朴素训练、或通过 harness 所能做到的更多。但第二,你仍然想用上你拥有的全部数据。所以当你在这些任务上训练时,希望它能泛化到更广泛的一类问题。而这件事之所以更加令人兴奋——至少在 RLM 或任何递归调用系统的语境下——是因为这个论证是归纳成立的。所以,我给你举个例子,因为我说过,我声称竞技编程和 GPU 优化使用非常相似的技能组合。模型可以。harness 有可能——你也许得用某种方式推它一下——但它可以学会,比如:“好,我要如何着手解决这个 GPU 编程任务,这和我在竞技编程里学到的非常相似。所以我要列出一组解决方案。我会、我会,比如,派生出子代理来列出有希望的解决方案,然后我会,比如,写这个循环去逐一检查这些解决方案,也许演化它们,并且,比如,对照一个验证器来演化它们。”而在这两个任务之间,这看起来是一样的。但子代理在做的事情也许是独特的、有所不同的。但即便子代理正在解决的东西,实际上也可能是同一种形式,对吧?因为它就像是一个递归论证。所以我整篇博文想说的就是,我们应该重新思考 harness 的角色,因为 harness 实际上可以大幅提升你的模型的泛化能力,以及它所被给予的数据量。而这并不只限于 RLM。我认为还有一大类尚未被发现的 harness,实际上可以产生类似的性质。再把这个论证稍微往前延伸一点,我认为你还可以由此外推的是:比如,如果我看一个 RLM,RLM 中哪些组件实际上是必要的,我能不能直接训练一个模型来做这件事?我能不能训练一个模型,让它在前向传播中隐式地充当一个 RLM?这是一件很奇怪的事,因为你可能会说:“哦,代码不可微,等等。”但我们将会开始发现这种行为的许多近似。而且我认为,我们将会看到的不只是,比如,我要设计一个使用某种特殊压缩形式的新编程 harness 之类的东西。我认为我们可以在这里更有创造力。比如,这些语言模型能做的事情太多了,而我认为我们只是还没在做。而我对此非常兴奋,因为我认为,我们可以从非常有主见且优秀的、更利于扩展的 harness 设计中获得显著收益。而我这么说的意思是,比如,RLM 就是一个非常原始的归纳偏置。它的设计并没有什么特别超凡之处,除了它和我们目前的做法非常不同这一点。但这有可能随着我们可用的数据和环境而扩展得更好。
Vibhu [00:40:20]: 我想,人们大概会问的相反问题是:当前的 harness 都非常泛化地面向编程,而人们看到这在很多领域都有效。Cloud code 正被用于设计、演示文稿
Alex Zhang [00:40:33]: 是的。
Vibhu [00:40:33]: 所有事情。MuseSpark、Grokbot。
Vibhu [00:40:36]: 这些是非常简单、不带倾向性的 harness,擅长代码,而且也在向外扩展。我想,我们如何改进它们,有什么例子?
Alex Zhang [00:40:48]: 对。让我再提一篇最近刚出来的论文。就是那篇 harness tax 论文。我想是 Arena 的。我很喜欢这篇论文,因为它提出了我原本就有的一个先验,基本上就是,大多数
Vibhu [00:41:07]: 所以它证实了这个先验。
Alex Zhang [00:41:08]: 对。就是,大多数 harness 的选择并不重要,因为
Vibhu [00:41:12]: 是的。
Alex Zhang [00:41:13]: 所有这些 harness 都是一样的。但我要说,比如 Grokbot,据我的理解,实际上与其他一些 harness 的设计方式相当不同,我很喜欢这一点。而且我认为至少从这里可以清楚地看出,我相当确定 Anthropic 或 OpenAI 只在他们自己的 harness 上训练。他们大概不会在竞争对手的 harness 上训练。我猜不会,因为我不知道他们为什么要那样做。但是
Vibhu [00:41:38]: 但是,这是你在开源模型里会看到的情况,对吧?比如,Qwen 非常擅长使用 open code。
Alex Zhang [00:41:43]: 是的。
Vibhu [00:41:43]: 他们需要在 harness 里训练。早期的 Gemma 在这方面出了名地差。
Alex Zhang [00:41:47]: 是的。
Vibhu [00:41:48]: 模型是好的,但你需要在 harness 里训练。
Alex Zhang [00:41:50]: 不过我觉得,随着模型变得更聪明,或者说变得更好,这种区别就没那么重要了。意思是,如果你把 Astra 放进 open code 里,它不会乱来,因为我觉得它已经足够好了。我这么说,是因为这些不同 harness 之间的好处,大体上就只是成本。我想说的是,Sugru,如果你把这些模型接入 RLM,它们其实仍然没那么好。还行吧。我觉得主要是因为,我们训练所围绕的那类 harness,就是这一类 harness,这种 pi loop,这种。我喜欢称之为 trajectory as a prompt,意思就是,你把整个 rollout 的轨迹都保留下来,作为主模型所使用的上下文。即便你使用 subagent,它大体上仍是这种形式。我觉得我们将会。如果我们想探索新的 harness,就需要有专门的团队,真正去开展有意义的实验,去扩展新的 harness,比如也许针对不同的 harness 设计做 post-train 扩展。我觉得我们确实能从做这类事情中获得非常有意义的知识或收益,无论是 RLM 还是别的东西。这很令人兴奋,因为我觉得,比如说,如果你大量训练。Fable 在很长一段时间里是最适合 RLM 的模型,因为他们有动态工作流,而且很明显,这种能力在某种程度上是被训练进去的。即便这个模型仍然有点笨,在 RLM harness 里,它的表现也比其他模型好得多。Astra 现在做这些事情也已经足够好了。但是
Swyx [00:43:33]: 等一下,我们是在这里看到 Fable 最适合 RLM,还是有别的什么
Alex Zhang [00:43:38]: 哦,不,这些我想都是内部结果。
Alex Zhang [00:43:40]: 对,我没有,我没有
Swyx [00:43:41]: 好的
Alex Zhang [00:43:42]: Public right now. But in general, like, I think you can, You can very easily tell that we have not optimized for RLM, like, workflows yet. And I think if we get models that do this correctly, they will be a lot more efficient as well. you can kind of just think through, like, why this is the case, right?
Vibhu [00:44:03]: I think this is the point where you have to give the ten-second what are RLMs.
What Is an RLM?
Alex Zhang [00:44:07]: Oh, yes.
Vibhu [00:44:07]: Because there’s a lot of listeners here that
Swyx [00:44:09]: Yes. We’re, we’re assuming a lot of knowledge.
Alex Zhang [00:44:10]: Yes.
Swyx [00:44:11]: Also, I think you. But you have set some context
Vibhu [00:44:13]: Yes
Swyx [00:44:13]: So you can. Like, with everything we just said
Vibhu [00:44:15]: Yes
Swyx [00:44:15]: Can we have a clean, crisp definition of RLMs?
Alex Zhang [00:44:18]: Yes. Okay. I want to go back to the blog, the
Vibhu [00:44:21]: Yes
Alex Zhang [00:44:21]: The compositional generalizers blog. This one. Okay.
Swyx [00:44:24]: Okay.
Alex Zhang [00:44:24]: This is, like, the best. I wish I had this in the original paper. An RLM is basically just a harness design where the only tool in the harness is code, which is this programmatic subagent calling thing, where it has the option to call itself as a tool, and it has other tools. But all of these things are functions in code, and the context that it’s dealing with is always stored in some memory inside of this code environment. So this could be a file system. Like, this could be, like. I’ll give you an example, Prime Agent. The trajectory of Prime Agent, like the context, even the. when you compact and do all these things, is stored on disk. So the model can always reference its original context, even if it’s compacted, and all of its tools are run inside of, let’s say, like, a Python REPL or a Bash REPL. And so this. it’s like this very primitive abstraction. And I would say, like, where most harnesses differ is, A, context offloading is not done that, like that. if you look at Prime Agent, by the way, Prime Agent does context offloading, but not all the way. So, like, it still maintains the standard cod code, Codex loop of, like, trajectory as a prompt where you compact, but it has the additional kind of, like, the context is offloaded, and it only has. The unique point of Prime Agent is that the only tool is IPython. So this is, like, the very kind of generic abstraction around, like, RLMs. Yeah.
Vibhu [00:45:59]: Concretely, what’s the core thing RLMs are trying to solve?
Long Context, Composition, and Locally In-Distribution Tasks
Alex Zhang [00:46:02]: Yeah.
Vibhu [00:46:02]: At one point, I think when it first came out, it was context.
Vibhu [00:46:06]: I’ll pass the question.
Alex Zhang [00:46:06]: Yeah. So the original problem was harnesses have a really bad time dealing with long context. They typically were used to only really do them for, like, specific things like code. Like, they could deal with your code base because it was trained on it. But now it’s more around what this blog is talking about, which is Compositionality and the fact that, like, I think harnesses. We want to have language model systems that have much more control over the actions they make at every step. And what by this is tool calls are very limited because you have to invoke them every turn. Like, you have to invoke tool A, then tool B, then tool C, and there’s no central context that you can kind of draw back from. And RLMs are specifically, like, designed around composition and having, like, a central context that you can always draw from. and this context is, like, designed around the existing language models. Another, like, very similar example actually in design is, like, agent swarms, for example, the Hugging Face incident. Like, these agent swarms have, like, a message board that they learn to communicate over. And this message board, in some sense, is the shared context that they, like, act over. And RLMs basically say that, like, the best way to communicate through this is in code. Like, you write the code to do this, and it’s, it’s because these models are so good at writing code. like, we wanna take advantage of that fact.
Swyx [00:47:37]: And then for this compositional thing, up to and including generating your own harness, specific for the task.
Alex Zhang [00:47:44]: Exactly.
Swyx [00:47:45]: Right?
Alex Zhang [00:47:46]: I think we will start to see that if you go up to, this figure. Okay. So we talk about this idea of locally in-distribution tasks for a harness, and it is like a, an idea on top of, like, in-distribution tasks. When we think about language models, an in-distribution task is just a task where, like, the prompt is something that the model has either seen before or, like, has seen some version of it. Most harnesses work like the one on the right, which is they keep appending the trajectory as a prompt. And so eventually, unless you’re Anthropic or OpenAI and you train on, like, kind of these, like, user trajectories, most of these things end up being out of distribution for the most part. But locally in distribution is basically the compositional argument of if an RLM breaks down its computation into, like, kind of a meta-harness of sorts or, like, a program that involves subagents that, like, look at a local problem, every individual language model call over the course of this task is in distribution, even if the entire task itself is out of distribution. And this is a very desirable property, I think, for obvious reasons. Like, if every task is in distribution for each individual language model call, you will probably get to the right answer. so.
Swyx [00:49:00]: The logical limit of RLMs is RLLMs where, like, you not just, you don’t just write the harness, you also train a custom model for
Training RLMs and Smarter Harnesses
Alex Zhang [00:49:11]: Exactly.
Swyx [00:49:11]: You collect data, everything.
Alex Zhang [00:49:14]: Yeah.
Swyx [00:49:14]: Like, it’s a fully automated AI researcher inside of your harness.
Alex Zhang [00:49:16]: Yeah. We will see where the training of RLMs goes. I will say, as an academic, I am not working on this at MIT, or at least in the scaled sense, because I can’t afford to. but there are companies out there that are working on this. I think Prime and Select is very clearly working on this, and it’s very cool. Like, I’m, I’m very excited to see. Maybe we’ll observe, I don’t know, but maybe we’ll observe better, like, post-training scaling laws with when you train around a smart harness. Maybe we’ll even see smarter harnesses that come out and, like, they work better around these kinds of principles.
Swyx [00:49:50]: What is a smarter harness? Like, that doesn’t mean anything. You just said they’re all the same.
Alex Zhang [00:49:54]: No. What, more of what is, like, Claude Code, Codex, Pi, et cetera, are all the same in that, like, when you break down the logic of the harness, it’s, like, virtually the same thing.
Swyx [00:50:06]: Yeah, two calls in a loop or
Alex Zhang [00:50:07]: Yeah
Swyx [00:50:08]: Whatever.
Alex Zhang [00:50:08]: But With RLMs and with other harness abstractions, it looks very different. And this is where I think you really distinguish. it’s, it’s in the same way that, like, I think with language model architecture choices, a lot of architecture choices end up kind of looking the same when you, like, scale it out or, like, it. The differences end up being, like, somewhat minor in terms of. for a lab it’s not minor, but, maybe one model converges better than the other one, like, slightly. But in general, like, if you were. So for example, pre-training scaling laws only hold because the architecture choices we have are somewhat stable right now. But if you were to completely change the architecture, pre-training scaling laws probably don’t hold. Or, like, these kinds of. This, like, power law is gonna look very different. And it’s like the same thing with harnesses. Like, I think all the harnesses we have right now, for the most part, roughly look the same, but there are some exceptions to this, I think, that are coming out.
Swyx [00:51:06]: I was gonna say, I actually, one of the things that I’ve been more interested by, like, talking about PhD students who take big risks, is that people have been. People also pursuing the other side, which is pre-training scaling laws don’t hold if you change data. right now it’s just raw, unstructured text, corpus of internet. What if you had a better data representation to train on? Then yes, your scaling law would change as well.
Alex Zhang [00:51:28]: Yeah.
Swyx [00:51:28]: So there’s architecture, there’s data, and, whatever else, you can think about. Well, so I just wanna get back to this. it all makes sense. It’s, it’s very interesting how you sort of recurse up and down the stack from, like, very conceptual to, like, not like, well, this is where we are today.
Prime Agent and Opinionated Harness Design
Swyx [00:51:43]: But, like, yeah, obviously, it can scale up and down. I guess, I’m curious, how did you start working with Prime? Is Prime taking on more work with this? Is this their answer to Hermes agents?
Alex Zhang [00:51:56]: Mm.
Swyx [00:51:56]: You mentioned Grokbot is a little bit different. I just wanted to, like, namecheck all these guys and get your thoughts on each.
Alex Zhang [00:52:01]: Yeah. I got involved with Prime, after they released a blog post, by the way, not affiliated with me at all, about, like, how they believed RLMs were kind of the future. And I had a friend that was working there, GPU Mode, Matei. Like, we got in touch, and I think I agreed with a lot of the researchers there and, like, what they believed about harness design. Like, I was very impressed, I think, that, like, they understood the purpose of the RLM paper, which is not necessarily just to say that, like, we’re solving long context tasks, but actually, like, we want more opinionated harness designs.
Swyx [00:52:39]: Yeah. There’s always, like, the result of the paper that you choose to highlight
Alex Zhang [00:52:42]: Yes
Swyx [00:52:43]: Versus the actual point.
Alex Zhang [00:52:44]: Yes. As I would love to talk about, like, the incentives of academia and, like, the things around, like, why it’s kind of flawed and all the issues, and we’ll get back to that. Yeah. So anyways, I love the guys at Prime. So we kind of had been. After we decided to work together, we decided to look into training in RLM and also build this kind of RLM harness and kinda see where we can take it. That is how, like, Prime Agent came about, and I think the reception for Prime Agent has been pretty good. Like, the one thing I was worried about with Prime Agent is that none of them, at least at the time when we were building it, none of the models were that good at doing RLM stuff. So this was, like, pre-Fable, pre-Astra.
Swyx [00:53:27]: I guess, I think to take a step back, can you explain what Prime Agent is, how it’s different than
Alex Zhang [00:53:32]: Yeah
Swyx [00:53:33]: A traditional, Claude Code, what people would expect harness?
Alex Zhang [00:53:36]: Yes. So Prime Agent, I think I mentioned this a little bit earlier
Swyx [00:53:40]: Yeah, there was the diagram. Yeah
Alex Zhang [00:53:41]: Is basically. it is a. A harness on top of Pi, like Pi Mono, which is-- Pi Mono, for context, is like the, like a
Swyx [00:53:50]: Core agent
Alex Zhang [00:53:51]: A minimalist
Swyx [00:53:51]: Yeah.
Alex Zhang [00:53:52]: Yeah, like harness. I use Pi as the reference for everything because I think all other harnesses are basically just Pi.
Alex Zhang [00:53:57]: But it is Pi, except we explicitly restrict IPython to be the only tool that’s available to it. Every other tool gets loaded in as, like, a Python module, or like a Bash kind of script that it can run. So it uses the core RLM abstraction on top of Pi, and then it also has this continual harness thing, which is, Seth, he’s another PhD student. This is a thing that he used to get language model harnesses to play games. Like, so he worked a lot with Joel, who is the, like, Gemini plays Pokemon guy. And continual harness is also, by the way, very simple. I quite like it. It basically is this design, principle around, like, what parts of the harness can you let the harness itself modify? There are certain pieces that, like, you’ll let it modify its own skills, the subagents available to it, what the system prompt to the model is. And continual harness is available basically as a tool inside of the IPython kernel. And so that’s what Prime Agent is, like, how, what it’s designed around. Everything else in Prime Agent is like
Swyx [00:55:05]: Standard.
Alex Zhang [00:55:06]: Standard.
Swyx [00:55:06]: Standard.
Alex Zhang [00:55:06]: Right? Yeah. I think what is, what I really liked about it, and we got kind of lucky, is that, like, a lot of the new frontier models actually work really well inside. And actually, even a lot of the open-source models work really well, at least some of the newer ones. And there is another thing in Prime Agent I should highlight, which is that, like, we have a very particular agent-to-agent communication system or, like, framework, which is because RLMs tend to spawn many subagents, we want a way for subagents to communicate with maybe the root or with each other. And so there are some design decisions around, like, what each subagent is allowed to talk to, how it does it. Again, everything is in code, so it writes the code to do this kind of communication, which I think is really cool. And then there’s, I guess, persistent subagents is another thing that was kind of added, which is the subagents, they can last beyond, like, the standard runtime of the actual, like, original agent. And you can go into that subagent, you can prompt it more, like, you have more visibility and flexibility into what is kind of going on.
Swyx [00:56:10]: This is my number one pain with Codex right now. They, their subagents are just very ephemeral And they actively discourage you from using it for long-running things.
Alex Zhang [00:56:17]: Yeah. Yeah. Which I think it makes sense. Yeah. I
Swyx [00:56:21]: So the trick is just externalize to a file system, right?
Alex Zhang [00:56:24]: Yes. Yeah. That’s
Swyx [00:56:25]: Like, that’s the trick.
Alex Zhang [00:56:25]: That is the big trick.
Alex Zhang [00:56:27]: Yeah.
Swyx [00:56:27]: And well, and also, like, force everything to run through code. trust the model
Alex Zhang [00:56:30]: Yep
Swyx [00:56:30]: That can write code, and it’s gonna write its own harnesses itself. So is Prime gonna take on, like, training, post-training custom models for this? Is this a one-off collaboration between you guys, that’s it? Like, what’s
Alex Zhang [00:56:41]: Yeah. They are training a model, intern-- I think they were pretty public about this actually
Swyx [00:56:46]: Yeah
Alex Zhang [00:56:46]: Back in March.
Swyx [00:56:47]: Clearly it is their business.
Alex Zhang [00:56:49]: Yeah.
Swyx [00:56:49]: Yeah, so.
Alex Zhang [00:56:50]: Yeah. they’re, they’re showing that they can train it on their kind of hosted training stack. But no, so for model training, I’m, I’m not involved with them on that. The main reason is just I have other things in the PhD I wanna work on. I think, like, there are many other big bets to take,
Swyx [00:57:03]: Ooh
Alex Zhang [00:57:03]: Outside of just RLMs. some
Swyx [00:57:06]: Ooh
Alex Zhang [00:57:06]: Some I don’t know how much I can share yet. but in general, like, I think, I actually think one of the luxuries of being a PhD student, genuinely, is that there’s so many big bets to take. most of them will probably yield nothing, but it’s a really exciting time to be in research, especially because I think most progress in the field has been a little bit boring. Like, I’m not saying the outcome is boring, but the process of doing these things tends to be quite boring. and so there is kind of this question of, like, what do we wanna do next? but
Swyx [00:57:39]: Yeah
Alex Zhang [00:57:39]: We can talk about that later.
Third-Party RLM Work: Harvey, Headlong, DSPy, and ARC-AGI-3
Swyx [00:57:41]: Yeah.
Alex Zhang [00:57:41]: Yeah.
Swyx [00:57:41]: Okay, I wanna close out a little bit more of your research, and then we can,
Alex Zhang [00:57:44]: Cool. Yep
Swyx [00:57:44]: Start putting it out. since you released RLM, a lot of excitement about it. Any secondary third-party work that you wanna shout out as, like, that you guys should take a look at this?
Alex Zhang [00:57:53]: Oh, yeah. So, Harvey, the legal AI company, released a blog post, not affiliated at all, but they post-trained an RLM on their, like, legal work, which often involves a lot of, like, sifting through documents and kind of looking through, like, a variety of, specific information that maybe is not so easy to retrieve with, like, a pure retrieval system. And they show, like, really good results. It’s very exciting. I was shocked that they worked on this. They did not tell me, so when this came out, I was like, “Oh, that’s awesome.” So there’s this one I think is super cool and what they’re doing there. I think this is a collaboration with Base 10, by the way, as well.
Swyx [00:58:33]: Yes, this was Base 10.
Alex Zhang [00:58:34]: Headlong, which is law, the Law Institute’s kind of. it is their, like, persistently running harness. it’s very cool that
Swyx [00:58:42]: Oh, they renamed it? They used to call it something else.
Alex Zhang [00:58:45]: It was like Auto
Swyx [00:58:46]: Terminus.
Alex Zhang [00:58:46]: Yeah, I know. They’ve gone through. Yeah.
Swyx [00:58:49]: All right.
Alex Zhang [00:58:49]: So this is Andy Konwinski’s big project. it’s super cool. I love Andy. I don’t want to downplay what they’re doing because they’re using the RLM abstraction, but they’re doing something much cooler than the RLM, which is like they have a system that kind of what they call, like, thinks persistently. So even when you don’t query it has a way to, think through problems that it has in its context.
Swyx [00:59:16]: Oh, so it’s just like a always-on type thing.
Alex Zhang [00:59:18]: It’s like an always-on thing, but it’s, like, not that expensive. Like, they control the token costs, to make sure it’s not, like, burning through all your credits. This is super cool. I’m trying to think. There are many. Actually, if you go to the RLM, GitHub page, there’s a bunch of things I’ve linked, below. There’s a ton of really cool kind of things that people have been doing. Axe is another really cool one that I think it’s just by this one guy. It’s like a harness around DSPy and RLMs. DSPy also has an RLM. Oh, the last thing I’ll shout out is on ARC-AGI-3, I believe, there were a lot harnesses on their, like, Kaggle competition, like the official one, not the, like, public primates, like one that, or like what people have evaluated on. They all, like, claim to use or they reference, like TUFA, for example, some form or some inspired form of the RLN abstraction in their harness, which is really cool. I think it’s, This is where-- this is exactly the setting where you would see a lot of benefits from composition and using code and combining, like, neuro symbolic systems with AI. And so
Swyx [01:00:27]: Yeah.
Alex Zhang [01:00:27]: Yeah. Very cool.
Swyx [01:00:28]: We love a good neuro symbolic reference.
Agent Swarms, Unsolved Math, and What the User Should See
Alex Zhang [01:00:30]: Yeah.
Swyx [01:00:30]: You also, mentioning ARC-AGI-3, OpenAI comes out and says, “We’re at 99.9% on this.”
Alex Zhang [01:00:36]: Yep.
Swyx [01:00:37]: They also say, “We solved Navier–Stokes. We just threw a model at it.”
Swyx [01:00:40]: There’s some debate around whether or not it’s just model.
Swyx [01:00:44]: Are they using an RLM? Do?
Alex Zhang [01:00:46]: I would guess probably not, unless you say, like. I’ll, I’ll be, I’ll be careful here because, people debate what is an RLM, what is not an RLM. It’s somewhat clear that what they used is some kind of swarm of agents with a shared, some shared context, like some shared file system. And, like, this is very much in the spirit of RLM stuff, but I think there’s a, there’s a lot of, like, more clever things that they did that’s not maybe related to the RLM itself. I agree a little bit with the idea that, like, a harness is not that necessary for what they did. The way that I would put this is that I think a model, like a GPT-6 Astra type thing, is technically smart enough, conditioned on the right information, to come up with a proof for these very difficult problems. Now, how you get to that information is a giant question mark. And in their case, it probably came down to, like, a very long search over, like, many of these sub-age-- or many of these, like, agents in the swarm and maybe also, like, researchers cond-- I’m, I’m actually not sure about this part, but putting in, like, their kind of intuition as to, like, what you should explore and things like this. And ultimately, like, this produced some information that some agent was able to take to finish the proof. And so in that sense, like, I think, was the harness that important? No. And I think what this is pointing at is, like, the specific details of a harness do not really matter, and I think that’s also what that, what the harness task paper is pointing at, which is that, like, beyond the user’s feeling of the harness, realistically all that matters is just, like, how are you composing these agents in a meaningful way to get to the final answer? And maybe that’s what, like, swarms and all these things are really about. And so from my POV at least, if we start to think about, like, for user use cases, what do we want out of harnesses and things like this? Like,
Alex Zhang [01:02:51]: We want to take the good parts out of these, like, the Claude codes, the Codexes, like the stream that people like to see. But, like, under the hood, whatever is running can be some really weird, complicated swarm of agents that, like, ultimately come up with an answer. The user doesn’t wanna see that, though, obviously, right? Like, it’s, it’s not legible information. And so I-- this was another kind of thing in the spirit of RLMs, like recursive language model. It sounds like it’s a language model and, but it’s not a language model architecture. But the reason for this is, like, I think we will start to see in the future probably one day, and I wrote a blog about this, what we think of as a language model, like the thing that we query, might actually be like a swarm or like a scaffold or like some Weird harness design that scales very well, but the user just doesn’t see it. Ultimately, all the user sees is some front-end version of this harness. And yeah, I think it’s a relatively safe bet at least to make that this is what we will see.
Swyx [01:03:48]: Yeah.
Alex Zhang [01:03:49]: And this maybe goes back to the limitations of the base transformer. Like, obviously if you just took a base transformer and you said, like, “Solve Navier–Stokes,” or something, it’s not gonna do it. Like, yeah, we all know this is not what’s gonna happen. But yeah, I think this is maybe the more interesting part. and maybe the claims around, like, did the harness matter is more around this, of, like, just arbitrarily pointing models, like, or agents at a growing kind of context of information maybe is just enough to solve very difficult problems. that I can buy.
Swyx [01:04:20]: While there’s a lot in there, I do wanna say, the amount that OpenAI spent is semi-public. It’s, 10,000 agents in 88 hours.
Alex Zhang [01:04:29]: Oh, yeah.
Swyx [01:04:29]: 130 billion output tokens, which is estimated to be about 40 million dollars in public pricing.
Alex Zhang [01:04:34]: Surprisingly, actually, like, less than I thought.
Swyx [01:04:37]: Yeah, not that much.
Alex Zhang [01:04:38]: Yeah. Yeah.
Vibhu [01:04:38]: 130 billion output for the final, but as you said, there was a lot of context being passed around.
Vibhu [01:04:44]: It’s more than double that in just the total agent messages being sent.
Alex Zhang [01:04:47]: Yeah.
Swyx [01:04:48]: Yeah.
Alex Zhang [01:04:48]: Yeah. Yeah.
Swyx [01:04:49]: I think, one thing I was honored to bring up also was Cursor as far as, like, swarm stuff is concerned.
Swarm Architectures, Coordination, and Token Efficiency
Swyx [01:04:53]: This is slightly older, meaning February, which is ancient.
Alex Zhang [01:04:57]: Whoa.
Swyx [01:04:57]: But if you scroll down all the way to the final sort of multi-agent architecture that they arrived at, it was basically an org chart of a normal software team. One thing I’m thinking about, because I basically. There’s, like, this, gather all function That you have to do with subagents or. It’s very similar to GPU programming, actually.
Alex Zhang [01:05:16]: Yeah. Yeah. Yeah.
Swyx [01:05:17]: And so, that’s a bottleneck. This is a bottleneck.
Swyx [01:05:21]: If there’s one main guy, that’s coordinating all the sub guys, then they have to, like, gather again and then re-coordinate.
Swyx [01:05:29]: That’s slow. That’s, that’s crappy. what a true swarm should be is everyone is just their own person.
Alex Zhang [01:05:35]: Yeah. Yeah.
Swyx [01:05:36]: Right?
Alex Zhang [01:05:36]: Well, I agree with this, and I think that there is a question to be had, though. Let me give an analogy, which is like, when would you use compaction and when would you use an RLM? And there are many settings where an RLM can solve maybe a more difficult task than compaction can, but you would prefer to use compaction in most cases because it’s cheaper and it’s quicker. And I think in the context of agent swarms, there is a similar thing going on of, like, I’m. Fairly certain that, like, 95% of the swarm is entirely useless, or, like, what it’s exploring is entirely u-- You’re just burning tokens. Versus in this setup, maybe not so much. I’m not sure. maybe it’s also the case here.
Swyx [01:06:17]: Everyone has a job. This is your board.
Alex Zhang [01:06:19]: Yeah.
Vibhu [01:06:19]: I think at some level that’s how problems are framed, right?
Alex Zhang [01:06:23]: Yes.
Vibhu [01:06:23]: So, like, if you have a search problem and you’re spanning out a bunch of subagents to do search, there’s gonna be a lot of useless information, right? There is one retrieval answer That you’re getting and you’re spanning off, but that is consciously understood, right?
Alex Zhang [01:06:36]: Yes. But there is kind of this question of, like, what is appropriate to solve for which problems? Like, what design-- in theory, OpenAI can use-- can package up this API and they’ll call it swarms, and then they’ll give it to you and they’ll be like, “Point this at any problem and we’ll give you a solution.” But maybe
Swyx [01:06:53]: Yeah, it’s called, it’s called pro, right?
Alex Zhang [01:06:54]: Yeah. maybe you’ll have to pay like 40 million dollars to get a result.
Alex Zhang [01:06:57]: And it’s like, well-- But it’s exciting. I will say, like, it is-- it’s very exciting that we even have the option to point 40 million dollars at a problem and solve it.
Vibhu [01:07:07]: Yes.
Alex Zhang [01:07:08]: But there is still kind of, a lot of research to be done in this area around, like, what is necessary. Like, what do we want to do? What design do we want? we probably don’t want everything to be a swarm, but, like, where do we draw the line? Like, can the agent design that or decide that for itself? Et cetera. So.
Open-Endedness and Research Without a Fixed Objective
Swyx [01:07:26]: Yeah. and then, just a quick check in case you have opinions on this. Have you looked much into open-endedness as a general category of problems?
Alex Zhang [01:07:35]: Oh
Swyx [01:07:35]: Meaning no prompts, just go.
Alex Zhang [01:07:38]: A little bit. so I was at Sakana for a summer, right after, or I guess right before my PhD, and that’s something that they work on a lot there. And I think there’s a lot of people even at, like, Recursive Super Intel-- There’s many of them now.
Swyx [01:07:53]: Yes, we just had Richard Socher on.
Alex Zhang [01:07:55]: Oh, yes. Yeah. So, like, Richard’s company and then also. Actually, wait, that might be the s-- it might be the same company. I don’t remember. Is Tim Lautenschlager also
Swyx [01:08:03]: Yeah.
Alex Zhang [01:08:03]: Okay. Yes, that company.
Swyx [01:08:04]: He’s the main co-founder. He used to be head of open-endedness for Google.
Alex Zhang [01:08:07]: Yeah.
Swyx [01:08:07]: Yeah.
Alex Zhang [01:08:08]: So I think with open-endedness problems, like, I view them as somewhat similar to even, like, unsolved math problems. Maybe that’s a weird way of framing it, but, like, I think a lot of the techniques in terms of, like, how people like, approach them are kind of the same. Like, evolutionary search is, like, very similar to just launching swarms of agents and hoping that, like, they come up with, like, an interesting s-- And this is what, like, AlphaEvolve and some of these other works did, like a year or two ago. But I think what maybe is not, And I’m not sure if this is what you were alluding to, but I think what’s not super clear in open-endedness style search problems is do we frame all of them as basically like an unsolved, very difficult problem, or, like, where the objective is clear? If that’s not the case, I still don’t know yet entirely what the value of it is. maybe you have other opinions. Like, I don’t have too many opinions on this, but at least from my time at Sakana, like, I got the sense that, like, we ultimately still kind of wanna approach things the way that, like, say, OpenAI approached Navier–Stokes. We want. We-- There’s still a lot of nudging in certain directions that we want to have to, like, get to the point where we have something interesting.
Swyx [01:09:29]: My version of it is, like, maybe it’s a split between basic science and applied science. Basic science, you’re researching for researching’s sake.
Swyx [01:09:36]: You just wanna understand things better. I have no idea if, like, there will be any application at all whatsoever, but, that, And then applied, you have a goal.
Swyx [01:09:45]: You’re, you’re trying to minimize loss in some way? and so, what I really, think, in terms of, like, the big bets that people have, what if there was no prompt? Like.
Alex Zhang [01:09:57]: I see.
Vibhu [01:09:58]: You just pick domain and let it
Swyx [01:09:59]: Like, you just, like, you just spawned in this, like, swarm of things and you’re like, “Hey, what’s up, guys? Like, what you guys working on?”
Alex Zhang [01:10:03]: Yeah.
Swyx [01:10:03]: And, like, you just decide
Alex Zhang [01:10:05]: I see
Swyx [01:10:05]: Like, this is an interesting problem.
Alex Zhang [01:10:06]: The biggest issue that, like. And maybe there’s a clear path to this, but when I was there at least, the biggest issue that people had with open-endedness was like, how do you ultimately choose at the end? How do you pick out the interesting stuff? Because when there is no. Like, maybe the agent comes up with a goal, but in a lot of cases, like, what they. And they have something called Fugu, I think, which is like a It’s like a model router type thing that was, like, inspired at least by this idea of, like, let’s pick a problem where maybe we can pick out the best solutions to something. In this case, it’s like pick the best model for this problem.
Swyx [01:10:41]: You’re the first person to connect model routing to open-endedness.
Alex Zhang [01:10:43]: No, yeah. But, so I bring this up because I think, like, with open-endedness, like, just generally the issue is, like, when we have this giant corpus of, like, slop, like, how do we sift through
Swyx [01:10:57]: Yes
Alex Zhang [01:10:57]: And find, like, the hidden gems? And, like, the solution to open-endedness really just letting models run forever and, like, finding. Like, just doing data gen-- just doing super high throughput data generation and then, like, asking agents to go through and, like, find meaningful things. Like, I’m not sure. Maybe that’s sufficient? Like, that would be, that would be cool.
Swyx [01:11:21]: To me, it’s, like, very interesting as a counter to basically all of machine learning Where you have a goal, to have no goal.
Alex Zhang [01:11:28]: Yeah. Yeah.
Swyx [01:11:29]: But, or, like, an ill-defined goal that you’re like, “Well, what about this goal?” And you’re like, “Well, okay, maybe.” And then you, like, sort of research more and you find
Alex Zhang [01:11:36]: Yeah
Swyx [01:11:36]: That is an interesting goal. ‘Cause, like, I think, like, finding the objective function, like you said, like, Jeff found an objective function That was interesting that no one was exploring.
Alex Zhang [01:11:43]: Yep. Yeah.
Swyx [01:11:44]: I think that is, like, similar to your message about grad students as well. Like, you stay in school because you are. you want to pursue open-endedness. If you want to, profit max and, like, join the, escape the permanent underclass, then you join a lab.
Swyx [01:11:59]: Right?
Alex Zhang [01:11:59]: Yeah. Yeah. It’s funny. I feel like I don’t, I don’t hear this discourse a lot. I’m, I’m in the East Coast, so it’s, like, a very different type of. But then when I. whenever I come here, it’s like, that’s always, like, the topic of discussion.
Swyx [01:12:12]: You cannot pay rent without doing this.
Alex Zhang [01:12:13]: Yeah.
Swyx [01:12:15]: Yeah, you’re getting priced out, guys.
Vibhu [01:12:16]: Yeah.
Swyx [01:12:17]: Okay. So, yeah, there’s, there’s all that. I don’t know if you wanna-- if it’s relevant, enough to talk about the mismanaged geniuses, which you were pulling up.
Vibhu [01:12:25]: No, it’s just on your blog. But I will poke on, Sakana.
Swyx [01:12:28]: Oh, Sakana? Oh, okay.
Vibhu [01:12:28]: Yeah. So they did in their, blog post, I talked to them about this as well. So one of the cool results of Ultra is they basically just let it loose on automated data science research
Sakana AI and Weird Research Bets
Vibhu [01:12:40]: With little to no human intervention. It’s just kind of making
Swyx [01:12:44]: Yeah, so this is auto research, which is a little bit more open-ended, and there’s degrees of open-endedness, and I agree with that.
Vibhu [01:12:51]: Yeah, separate than auto research with objective, this is just
Swyx [01:12:54]: Yeah
Vibhu [01:12:54]: Do stuff. But, it’s cool. They’re, they’re working on it for those that are interested.
Swyx [01:12:58]: While you’re bringing it up, actually, what is your take on Sakana? Like, what are they doing apart from being, the Japan one?
Alex Zhang [01:13:04]: Yeah.
Alex Zhang [01:13:05]: I actually love the people there. Like, I think they have a really smart team. and it makes sense. it branched off from, like, an earlier team at GDM, which was also kind of, I guess, doing this kind of, like, open-ended evolutionary research style stuff. What I liked about my experience there, at least, was that they did have that, like, mishap back, I forget, at this point when, but I think, like
Swyx [01:13:31]: You’re talking about AI scientists?
Alex Zhang [01:13:32]: No, the GPU kernel.
Swyx [01:13:34]: Oh, okay, yes.
Alex Zhang [01:13:35]: That one. Yeah.
Swyx [01:13:36]: People cannot forgive them for that. Yes.
Alex Zhang [01:13:37]: Yeah. And I guess, like, the AI scientists, like, there’s, there’s some criticisms of it that I don’t, I don’t work on that, so I have no kind of take on it. But I think in general, like, what I like about them at least is that they’re a little bit more of a researchy type lab. So, like, they don’t operate in the same space as, like, OpenAI or Anthropic. Like, for sure, like, definitely no. They do not. it’s pretty obvious probably that, at least when I was there, they do not have a big competitor model or something that, like, that everyone is using. But I think they kind of operate in some ways as, like, a PhD lab, which is cool. Like, and I think, like, David Ha is, like, he’s, he’s really smart. Like, I think he has a good sense of, like. Also, I think the market in Japan is also a little bit different for AI, and, like, who they’re targeting is slightly different than maybe what we’re used to here. But yeah, I like that they take kind of. A lot of their research is kind of weird, I think, when people view it? And I like that. Like, I think it’s
Swyx [01:14:34]: We should have more weirdness, yes.
Alex Zhang [01:14:35]: Exactly.
Swyx [01:14:36]: And you said different market. Just, is it, like, enterprise?
Alex Zhang [01:14:39]: Like, the way it works there is a bit different, like how deals happen and stuff like that.
Vibhu [01:14:44]: They do have a. I guess this page is originally in Japanese, but they do have a model
Alex Zhang [01:14:49]: Oh
Vibhu [01:14:49]: Specialized for the Japanese market.
Swyx [01:14:51]: So you didn’t know that.
Alex Zhang [01:14:51]: I didn’t know that.
Vibhu [01:14:52]: I didn’t know it too.
Alex Zhang [01:14:53]: Did not know this.
Vibhu [01:14:53]: I also have personal friends that know the team.
Alex Zhang [01:14:56]: Yeah.
Vibhu [01:14:56]: So there is a. Even from the sense of a way that you speak culturally Responses are tuned towards that. This is not like it’s frontier on benchmarks. It is a cultural appropriate model for them, and then they have, like, chat and all that.
Alex Zhang [01:15:11]: Yeah.
Vibhu [01:15:12]: But, to mirror your point, there’s also, like, how should education look like? And someone wants to work on it, and they’re a very PhD lab of, “Do your thing. Why not? We have money. Go research.”
Swyx [01:15:22]: Oh, they say it’s a Kimi fine-tune. That’s nice.
Vibhu [01:15:24]: Oh, there you go. Kimi.
Swyx [01:15:25]: Good for them.
Swyx [01:15:26]: Yeah, and, speaking of Kimi, right, like another, just a grad student that spit out and like, yeah, I just have this, like, Kimi delta attention that wants-- that I wanna work on.
Vibhu [01:15:36]: Yeah. Yeah.
Swyx [01:15:36]: And, like, somehow managed to make Moonshot. Don’t understand it still.
Alex Zhang [01:15:41]: Yeah. Well, he’s, he’s super cracked, at least my understanding. I think in general, like, a lot of, a lot of the Chinese labs have done really cool work.
Kimi Swarms, Dynamic Workflows, and Convergence
Swyx [01:15:51]: Yeah.
Alex Zhang [01:15:51]: Like, yeah.
Vibhu [01:15:52]: Any thoughts on Kimi agent swarms?
Alex Zhang [01:15:55]: Yes. one thing I will say is whatever OpenAI is doing with their agent swarm is, like, clearly the right thing to do. You have to kind of think about it this way. Like, nothing, especially without, like, a very smart harness design, which I don’t, I don’t think anyone really has so far, Nothing comes so easily for free. For example, like, the agent swarm design is not something you can just take for granted. Like, it’s not like GPT-6 Astra is just super smart and then it just got agent swarms running well. They clearly trained. the Hugging Face incident was them training a system to be like a swarm. and I think, like, clearly they’ve done something really well to the point where you can throw 40 million dollars and solve an unsolved problem. And I think with the Kimi agent swarm thing, like, at least from when I read it just came off as like, this is interesting, but I don’t actually know whether or not this can solve anything novel.
Swyx [01:16:59]: Yeah, they just. They were like, “It makes spreadsheets for you.”
Alex Zhang [01:17:01]: They kind of were just like, yeah, like, here is a, here is a swarm that, like, kind of does stuff, and it’s cool. but. And I will say the same thing with dynamic workflows. I actually kind of think the dynamic workflows release was sort of a flop. I don’t know how you guys feel about it, but I think it’s like. my understanding is, like, it’s not used that often or, like
Swyx [01:17:21]: It’s just very expensive.
Alex Zhang [01:17:22]: It’s too expensive and like
Swyx [01:17:22]: It’s ultra code. It’s basically like, take over my bed.
Alex Zhang [01:17:26]: And it doesn’t I’ve tried it, and, like, it doesn’t act in the way that, like. Again, I’m not, I’m not the biggest OpenAI, like, stan or something, but I think whatever they did was very impressive. Like, they somehow managed to get a way for this swarm to actually act
Swyx [01:17:41]: I see
Alex Zhang [01:17:42]: Towards a goal. And yeah.
Swyx [01:17:44]: I see.
Alex Zhang [01:17:44]: It’s very difficult.
Swyx [01:17:45]: I see. So, like, efficiency of the multi-agent swarm is the objective function here.
Alex Zhang [01:17:51]: Yeah.
Swyx [01:17:51]: Right?
Alex Zhang [01:17:51]: Yeah.
Swyx [01:17:52]: Like, how much of this is slop? Like, this is a lot of slop.
Alex Zhang [01:17:55]: Yeah, I think so.
Swyx [01:17:55]: OpenAI is less slop.
Alex Zhang [01:17:56]: We take for granted what it means for a swarm to converge to an answer.
Swyx [01:18:00]: Yeah.
Alex Zhang [01:18:00]: It’s just like. It’s not something we take for granted.
Swyx [01:18:02]: Yeah. Yeah. We’ve, we’ve done one pod with Noam Brown and, like, his
Alex Zhang [01:18:06]: Oh, yes, I remember. Yeah
Swyx [01:18:06]: His thing. His whole thing was like, okay, like, we’ve worked on a lot of, like, competitive agents. we’re working on collaborative agents.
Alex Zhang [01:18:13]: Yeah.
Swyx [01:18:13]: And, like, that’s now called a swarm.
Gemini, GDM, and Harness Engineering at Scale
Alex Zhang [01:18:15]: Yeah.
Vibhu [01:18:15]: I would do a quick poke. Do you have any thoughts on Gemini? They were also IMO gold. Like, there was a time where they were getting agents to reason for a long time and.
Alex Zhang [01:18:26]: Yeah,
Vibhu [01:18:28]: Is it too old to think about?
Alex Zhang [01:18:29]: No. I think it’s a little bit blown out of proportion. Like, Gemini. For, again, I, so I should preface by saying I haven’t worked at any of these places, so take this with a grain of salt, right?
Vibhu [01:18:39]: You have strong opinions on agent harnesses
Alex Zhang [01:18:42]: Yeah
Vibhu [01:18:42]: And, this was
Alex Zhang [01:18:43]: But, let me just say this first. This work was really impressive. I think what they showed here was, like, they took a time when the models weren’t that good
Vibhu [01:18:53]: Yes
Alex Zhang [01:18:53]: And they managed to be very smart about, like, what the harness does. I remember for this at least, like, yeah, like AlphaGeometry, I guess that was a year before this, but it was very cool. They took it to the max, and they, like, designed, I don’t know. I’d say I’m not too big on competitive math, but I think, like, GDM, it’s sort of a shame. Like, everyone I’ve talked to about GDM kind of has the same opinion, which is that it’s way too, like, bureaucratic. Whatever is they have the talent and the resources to do almost anything, but, like, I don’t know, until they figure that part out, like. Nothing against anti-gravity, for example, but, like, I don’t know anybody that uses anti-gravity. And so I’ve tried it once, and it’s. I don’t see a reason to switch to it. and I think for whatever reason, like, they’ve been struggling with this, so, yeah.
Swyx [01:19:40]: Yeah. Well, a lot of people dogged on Meta for a long time until they started
Alex Zhang [01:19:44]: Yeah, and they recovered
Swyx [01:19:44]: Coming out. And, like, I think, Google’s going through that phase right now.
Alex Zhang [01:19:47]: Yeah.
Swyx [01:19:48]: And, it’s, it’s just you gotta stay alive and
Alex Zhang [01:19:51]: Yeah.
Swyx [01:19:52]: I wanna focus back on
Alex Zhang [01:19:53]: Yeah
Swyx [01:19:53]: Just, like, your thoughts, just general. we can talk about speculative PTC
Speculative PTC and Parallel Tool Execution
Swyx [01:19:58]: Mismanaged geniuses, or just, like, throw away all this and just talk about whatever else.
Alex Zhang [01:20:03]: Okay, let’s, let’s talk about mismanaged genius for a little bit.
Swyx [01:20:06]: Yeah.
Alex Zhang [01:20:06]: I, the only comment I’ll say on speculative PTC is that it’s a really simple idea. It’s almost, like, obvious that this should be done, and, like, there’s not much more to talk about it. Like, I think it’s just, like, you should just use it for, like, coding. Like, anything with programmatic agent calling, like RLMs or Kodak, like, yeah, it’s like, it’s like a no-brainer.
Vibhu [01:20:25]: What’s the, for people that haven’t read it
Alex Zhang [01:20:27]: Yeah
Vibhu [01:20:27]: What’s the one-liner for people?
Alex Zhang [01:20:29]: The simple thing is when the model is, writing its code or, like, even as, like, after it finishes writing the code, a lot of tools tend to be, like, sequential or, like, you have to wait on them, so you should just launch them in advance. Like, if you’re able to jit compile this code, you can probably figure out, like, even though it’s, like, kind of variables and stuff, like, you can figure out, like
Swyx [01:20:52]: Yeah, statically analyze.
Alex Zhang [01:20:53]: Yeah. So
Vibhu [01:20:54]: Speculation.
Alex Zhang [01:20:55]: Yeah. There is this, Someone pointed to me some actually, like, academics have, especially PL, like programming languages people, have some, like, very kind of cool ways of doing this. And so, like, at some point maybe I’ll, I’ll, I’ll, like, work on this.
Swyx [01:21:09]: I guess mostly you have to change language, because if you are in JavaScript, Python, you can’t do this.
Alex Zhang [01:21:13]: Yes. Yeah.
Swyx [01:21:14]: So, like, Haskell, yes. what’s, what’s the, what’s the normal one that’s, that’s not Haskell?
Alex Zhang [01:21:21]: Lisp.
Swyx [01:21:22]: Lisp, OCaml.
Alex Zhang [01:21:24]: OCaml, oh, yeah.
Swyx [01:21:25]: Yeah, any functional language
Alex Zhang [01:21:25]: Yeah
Swyx [01:21:25]: You can actually, like, pipeline this.
Alex Zhang [01:21:27]: Yeah.
Swyx [01:21:27]: So Effect-TS if you wanna do TypeScript.
Alex Zhang [01:21:29]: Yeah.
Swyx [01:21:30]: Okay, we can switch over to,
Vibhu [01:21:32]: I like this diagram.
Alex Zhang [01:21:33]: Yeah.
Swyx [01:21:34]: Which is like your, you guys’ whole thesis, right?
Capability Overhang: Reliable Long-Running Work
Swyx [01:21:36]: Like, that, to me this is, like, kind of like a restatement, but maybe I’re missing something of
Alex Zhang [01:21:41]: Yeah
Swyx [01:21:41]: Like, well, work on better harnesses or, like, your models actually are capable a lot more if you try harder, so this is a skill issue.
Alex Zhang [01:21:48]: Yeah. Yeah, basically. I think there’s one thing I want to see. I appreciate that there’s a big focus on, like, jagged intelligence, because it paints a big picture of, like, we can do this if we really set our minds on it. But I kind of wish. And maybe someone in academia should do this. Like, really just sit down and think about, like, if I took Astra, even the current frontier models are not good enough at, like, doing a particular job over, let’s say, the span of a month consistently and well. And I think this is, like, a stupid problem. Like, I genuinely think we can solve this. You don’t need to be a frontier lab and, like, do all this, like, fancy stuff for your IPO. Like, I think, like, these models are so smart that even if it’s, like, a silly way, I think that it genuinely is a skill issue of you can get a model to be as good as, let’s say, like, just some 18-year-old high school kid
Alex Zhang [01:22:50]: Doing some job. I think it’s, like, ridiculous that we can’t do that. And it’s. Part of the reason is, like, the format of a language model is not really amenable to that, but I think you can shape a harness around it and do it. And I think, like, this in itself is, like, ignoring the RLM stuff, ignoring all the, like, what abstractions should we use? Like, I just think someone can design a harness that can do this. Like, I, that’s. Maybe it’s
Swyx [01:23:13]: When you say do this, do what?
Alex Zhang [01:23:15]: Do long-running but simple tasks, and do them reliably.
Swyx [01:23:20]: Okay.
Vibhu [01:23:20]: What’s an example? So is this different than, like, pick your favorite company, Harvey, for example Using LLMs to do legal work, or what’s the.
Alex Zhang [01:23:30]: I guess it’s kind of like that, except if the bottleneck was not, like, certain legal knowledge or something. Like, I don’t know. Let’s say,
Vibhu [01:23:38]: I guess, like, the examples, people can take models and build pipelines or whatever and Have an agent repeatedly do whatever it has they want, right?
Alex Zhang [01:23:47]: Yeah. So for example, like, if I wanted a general system that I could kind of talk. I can talk to it like I would talk to an intern and basically just ask it to do. to explore some small thing. So maybe an example of this is, like, very silly auto research is maybe an example of this, of, like, not necessarily finding super novel solutions, but at least optimizing all of the easy parts of any problem. They often end up being over-indexed for, like, ML training and things like that. But yeah, I don’t know. maybe that’s, that’s, that’s not, like, super clear, but there is a lot of People’s general workflows where you probably could just vibe code up. Some specific harness to help you do, like automate this thing. Some examples are like automating, finding, like research papers and stuff like that. But usually people will design like a specialized agent to help them do this kind of thing. Or like they’ll vibe put a harness, like, and just run it or like their Slack bot or something. But I almost think there’s just like a standard form, like just a harness that you just plug in. Like you don’t-- It doesn’t need to be designed for finding papers or fi-- Like, you just kind of tell it, find this for me, and you like plug it into that setting. What I’m getting at is that I think there’s a lot of easy things that can be automated. And
Vibhu [01:25:13]: Is this like a hypothesis or a point around like capability overhang? Like even if we paused, there’s still a lot of impact to be had with current state of models?
Alex Zhang [01:25:22]: In some sense, yes. Like, I guess what I’m presenting is the easiest form of this. But what this is kind of saying is that, like, we have jagged intelligence on a lot of things. Like, for example, models are like disproportionately good at coding and math. This is saying like we can translate those abilities to many other things. So like for example, if you took-- Usually if you take someone who was an IMO gold or something and you kind of apply them to a lot of different problem-solving domains, they can figure it out. I don’t actually know if this applies to models. For example, like in GPU code optimization, one very interesting question is whe-- if you were to take out all of the GPU programming data, like from a model, but it was re-- it was like as good as Astra is now, just without, like with that taken out, would it be able to still optimize GPU kernels? like would it be able to learn in context roughly what it needs to learn and then like have some pipeline or like come up with some solution to solving like optimization tasks? And I think like there’s like a mismatch between, like if you took a human that was as smart or like knew as much as Astra, there is a mismatch between what that human can do and what Astra can do, maybe around a harness. and I think we can actually approximate the human a lot more.
Continual Learning and General Problem Solving
Swyx [01:26:42]: To me, it sounds very approximate to the continual learning problem. I think you’re
Alex Zhang [01:26:46]: That’s the best example. Yes.
Alex Zhang [01:26:48]: Yes.
Swyx [01:26:48]: Why didn’t you just say that then?
Alex Zhang [01:26:49]: Yeah. I guess I
Vibhu [01:26:50]: I was like, I was like thinking, could I just blurt out some words like learning?
Alex Zhang [01:26:54]: I’m careful with that. But yes, I
Vibhu [01:26:57]: You have a very eye.
Alex Zhang [01:26:58]: Maybe, Maybe, like a bit of a, I don’t know, like a
Swyx [01:27:03]: No. So I think you’re a very, yeah, I don’t know, I don’t know your undergrad actually. Are you like a math person generally, or
Alex Zhang [01:27:09]: A little, yeah. Yeah.
Vibhu [01:27:09]: Did you study math?
Alex Zhang [01:27:11]: Yeah, that’s what I wanted to do at least.
Swyx [01:27:12]: Like a category theory type of, abstraction where you think in categories and then you have to like then translate down to the specific. And, but then you like actually really care more about the category.
Swyx [01:27:24]: And like that’s the communication error because like everyone’s listening for the specific, but actually trying to also, convey the general.
Alex Zhang [01:27:31]: Yeah.
Swyx [01:27:32]: Which is hard. I don’t really know. you can, maybe use like a shorthand of like, “Okay, I’m at level two and then I’m gonna go up to level three Then come back to level two.” That we should have say some like epistemic, like shorthand for like this kind of thing.
Alex Zhang [01:27:45]: Yeah.
Swyx [01:27:45]: Because it’s hard. Like you’re, you’re compressing a lot into word after, like sequential word decoding.
Swyx [01:27:51]: Should we convert to Neuralese? is there like a, a better form of output than English or, Python or JavaScript? I don’t know.
Neuralese, Programming Languages, and Diffusion Thinking
Alex Zhang [01:28:06]: Yeah.
Swyx [01:28:06]: This is very kind of like a shit post, but like people have speculated about like what is the native language that people want to out-- that models want to output?
Swyx [01:28:14]: Some people say binary. That’s, that’s Marc Andreessen’s thing. I don’t know. Yeah.
Swyx [01:28:19]: PTX?
Alex Zhang [01:28:20]: Let’s say a mix of English and Python. And I only say this because The capability of a model is somewhat a reflection of what we train them on. So we still want like. Yeah, I don’t really buy the binary argument. I guess I, like, I understand, but it’s like
Swyx [01:28:40]: Yeah. You wanna model the world in some way. I think the,
Alex Zhang [01:28:43]: Yeah.
Swyx [01:28:43]: One thing I’ll, I’ll bring up is always, which I always do in this kind of conversation is Sapir–Whorf Which is you, if you choose English, you will have locked into however long English has been around, which is, let’s say five hundred years, which is not that long. Like actually Like what you, the language that you speak constrains how you think.
Swyx [01:28:59]: And if you learn a different language, for example, someone, in Chinese, we don’t have tenses. I don’t know if you. I actually didn’t know that. And I speak Chinese.
Alex Zhang [01:29:09]: Oh. I did know that, but my Chinese is not great.
Swyx [01:29:12]: Okay.
Alex Zhang [01:29:13]: Yeah.
Swyx [01:29:13]: Yeah. Or like, in, let’s say in Japanese or, I know, I forget what language it is. Like in Korean, everyone you speak to, yeah, you have to like acknowledge social status.
Alex Zhang [01:29:23]: Yeah.
Swyx [01:29:24]: But it’s a different dimension than gender, right? Like, it just like, it just influences everything you do. when I take Ling 101, apparently there’s a, there’s a, there’s a language in Africa where like there’s a vegetable gender. yeah, right? Like just like you have. Or like Eskimos know no word for snow or whatever. Like, anyway, so like the language that you adopt affects your thinking. And if you Choose to output your chain of thought in English, you are biasing towards whatever English solves. I don’t know what the sort of prior of English is.
Alex Zhang [01:29:51]: That’s interesting. I did not think of it that way.
Vibhu [01:29:55]: At some level it’s interesting, right? So you’re right on language. a lot of model chain of thought also fluctuates language.
Vibhu [01:30:03]: The obvious example is Chinese models Speaking in English might still reason in Chinese. but at the same level, most models are very capable multilingually.
Vibhu [01:30:13]: And that adaptation we can see, you can add in languages. You don’t get that much from adding a whole language, but
Swyx [01:30:18]: Yeah.
Vibhu [01:30:18]: They will reason interchanged
Swyx [01:30:21]: Yeah. So we’re all autoregressive. but also like
Vibhu [01:30:23]: Right.
Swyx [01:30:23]: Let’s say German, like, subject-object, agreement, you have to put the verb at the end, which is very super annoying, like very famously. yeah, right. You don’t know what you’re doing until the end where you’re like, “Oh, that Mess of nouns and then the verb.” Well, the most classic one that most people be-- have heard of is Arrival, where, they have the heptapods where they think, that time is like flat to them. So they think in, they output entire sentences at one shot. so it’s, this is closest to, like, the difference between autoregression and diffusion.
Swyx [01:30:55]: We talk in autoregression. What if you could talk in diffusion Where things just resolve over time?
Alex Zhang [01:31:01]: I see. I see.
Swyx [01:31:02]: But like the whole idea shows up at once.
Alex Zhang [01:31:05]: I see.
Swyx [01:31:07]: So that is a drastically differenting, language, but it is a language.
Alex Zhang [01:31:10]: I see. Oh, that’s really interesting. That’s really interesting.
Swyx [01:31:12]: Which, like, machines could speak, that we, probably will never speak, but like, yeah, machines don’t care.
Alex Zhang [01:31:19]: Maybe this is a huge tangent
Swyx [01:31:20]: Yeah
Alex Zhang [01:31:20]: But are there not, like, things inherently that are reasoning chains that are inherently autoregressive?
Swyx [01:31:30]: Yeah, time.
Alex Zhang [01:31:30]: Sometimes, like. Yeah. Or like, yeah.
Swyx [01:31:32]: Yeah. Something happens first, then something else happens.
Alex Zhang [01:31:34]: Even like, yeah, anything in code, for example, like has to be causal in some-- usually at least has to be causal.
Swyx [01:31:40]: Well, no. so it’s a. Then you have to. Then you’re not exploring enough,
Alex Zhang [01:31:44]: That’s true. Yeah
Swyx [01:31:45]: Programming language theory, where, everything is like pure functional and like completely relational And, you sort of abstract away the solver that translates the relationships that is, are always true into code. So I, yeah, I feel like this is maybe a little bit too out of my depth.
What Comes After RLMs?
Alex Zhang [01:32:01]: No, it’s interesting though. Yeah.
Swyx [01:32:01]: But I love languages Whether it’s coding or human, and I do think a lot about how that affects reasoning and the boundaries of what we can do. I don’t need to go too much beyond that. I don’t know if you have any other thoughts. my closing question was gonna be, you have all these research, directions that you wanna do. You’re, you had a GPU mode phase. You had a, RLMs phase.
Swyx [01:32:25]: Presumably you have other stuff planned, which is why you’re not, doubling down on that. By the way, I notice that it is interesting how you guys do start with the GPU side, and then you migrate towards the zero gradient side, it’s, which is what Shenyou called it. Doesn’t that feel less legit than messing with GPUs?
Alex Zhang [01:32:44]: Yeah, I guess in the sense that, like. So you did bring up that, like, I like to think about things in, like, a math-oriented way.
Swyx [01:32:51]: Category, yeah.
Alex Zhang [01:32:52]: And it’s, like, very uncomfortable sometimes to be working on, like, harnesses and agents because it’s so.
Swyx [01:32:57]: Because you think all harnesses are the same.
Alex Zhang [01:32:58]: Yeah. So it’s like super fuzzy.
Swyx [01:33:00]: So like, you just, like, two new ideas in harnesses. Got it.
Alex Zhang [01:33:01]: Yeah. It’s, it’s It’s, it’s also just, like, empirically it’s hard to, like, verify a lot of findings, at least with the compute that we have available to us. But the reason why I think I’ve moved on to a lot of these problems is I think actually this is where most of, like, the innovation is yet to happen. To me, like, the GPU level is a means to exploring other ideas. Like, you want to, for example, like, get good at writing kernels or, like, even automate writing kernels for the sake of a broader goal of, like, I want to explore ideas where I’m not bottlenecked by systems challenges. In that sense, like, I guess a lot of what’s written there is all harness stuff, but I am also interested in things at the model level as well. but I’ll just leave it at that.
Swyx [01:33:48]: Okay.
Alex Zhang [01:33:48]: Yeah.
Swyx [01:33:48]: That’s a good hint. anything, any. If people wanna reach out to you, what are you looking for help on? What do you want collaborators on? any sort of calls to action?
Collaborating on Research and Choosing Big Bets
Alex Zhang [01:33:58]: Yeah. So, I guess there’s nothing I have in particular where I feel like I need to work with someone on, unless it’s, like. unless it’s with a company before, like, compute or, like, with. to talk with other people about it. But I will say I’m not. I’m never opposed to working on ideas with other people. I get reached out to a lot by often undergrads or even, like, other students.
Swyx [01:34:22]: Podcasters.
Alex Zhang [01:34:23]: Podcasters. and usually I feel like I get an email that’s something along the lines of, like, “I really like RLMs.” Like, “I wanna work together.” and I feel like I
Swyx [01:34:33]: Yeah, that’s a bad reach out, right?
Alex Zhang [01:34:35]: Yes, yeah.
Swyx [01:34:35]: The worst is like, “Can I pick your brain?”
Alex Zhang [01:34:36]: Yeah.
Swyx [01:34:37]: And like, “On what?” Like, “Read my paper, dude.” Like.
Alex Zhang [01:34:39]: They’ll like, they’ll be like, “I read your paper,” in quotes, like, “Recursive language models,” or like, “Prime Agent,” like a self-improving RLM harness or something. and it’s kinda like I like. I really like people that are opinionated, even if we disagree. I think if you have strong opinions and are able to, like, think through why you think those opinions are right or wrong, ‘cause usually it’s, it’s hard to actually tell. But, like, you have strong convictions about certain problems. Like, I’m, I’m always happy to, like, chat and even, like, potentially work on something together. I have, like, no limit to who or, like, what I would like to work on. So, yeah.
Swyx [01:35:12]: No limit?
Alex Zhang [01:35:13]: Yeah. I. in the era of agents, I think there’s a lot more work you can do, like, bandwidth-wise. So I. Yeah. I think in general, like, I am not hard to impress, but I think it just takes a little bit of effort to
Swyx [01:35:30]: Yeah
Alex Zhang [01:35:30]: Kind of. Yeah, know
Swyx [01:35:32]: Yeah
Alex Zhang [01:35:32]: Know what you want.
Swyx [01:35:32]: It’s very clear. and like, when you see a new thing come out, well executed, good, simple idea, then, like, get that
Alex Zhang [01:35:40]: Yeah
Swyx [01:35:40]: Immediately gets your attention, right?
Alex Zhang [01:35:41]: I get excited. Yeah.
Swyx [01:35:42]: It’s actually, like, not that hard to get the same attention that all the Frontier Lab guys
Alex Zhang [01:35:45]: Yeah
Swyx [01:35:45]: Because they are looking for you. you just have to put yourself out there, right?
Alex Zhang [01:35:48]: Exactly, yeah.
Swyx [01:35:49]: But yeah, it’s true. I will say, I think human attention very scarce right now, and I do struggle with, like, the number of projects I have going on.
Swyx [01:35:57]: And, I don’t know how to manage it. I don’t think agents are helping at all.
Swyx [01:36:00]: Like, I will just prompt it and. I’ll prompt a thing and then never look at it.
Swyx [01:36:03]: Right? Like, which is very common.
Alex Zhang [01:36:05]: Yeah.
Swyx [01:36:05]: Yeah, and that sucks.
Alex Zhang [01:36:06]: I guess, maybe the. one of the smaller differences in, like. actually, maybe you were doing research. I’m not sure. But for me at least, like, I’ll have maybe, like, 10 or 15 different ideas that I wanna do, but the thing is, like, most of them are bad.
Swyx [01:36:20]: Yeah.
Alex Zhang [01:36:20]: And this also maybe is true even for someone that reaches out to me. Like, maybe the idea is actually bad, but it looks interesting to me. And so, like, we can spend, like, some time looking into it, and if, like, we feel like there’s actually something there, like, then we’ll. we should take the next few weeks and just really pursue it. And, like, this is my style with. This is why I love the PhD, by the way, because there are times when I’m just thinking about problems, like, maybe on a run or just, like, playing tennis or something. Like, I’m not, I’m not working, I guess. But it’s like those are the most fun times, and then when I, like, really am convicted about something, I’ll just, like, drop everything and just do it.
Alex Zhang [01:36:52]: Like, just spend, like, all my time thinking and working on that problem. And then, once you get to the point where, like, you can just run experiments, then it’s, it’s, it’s kind of easy coasting again, so.
Science as the Next Frontier
Swyx [01:37:03]: Yeah, sorry. This is
Alex Zhang [01:37:04]: Yeah. No problem
Swyx [01:37:04]: Like the, for the fourth last question, which is like, I think a lot of people are also thinking about science as the next frontier, like physical sciences Bio, math even. how do you separate, like, I guess, let’s say your choice of projects that is applicable for industry And then maybe it’s part-- choice project is just, like, science?
Alex Zhang [01:37:27]: I actually worked on, like, AI for bio stuff before I started my PhD. The field has changed a lot since then
Swyx [01:37:33]: Yeah
Alex Zhang [01:37:34]: I should say.
Swyx [01:37:34]: ‘Cause it’s, it’s like, it used to be a theoretical, like, of course, what do you mean? Like, I have one path and then
Alex Zhang [01:37:39]: Yeah
Swyx [01:37:39]: I chose that. But now a lot of people are crossing over.
Alex Zhang [01:37:41]: Yeah.
Swyx [01:37:41]: And like, so we have started a science pod to just Cover those things
Alex Zhang [01:37:44]: Oh, wow
Swyx [01:37:45]: Because a lot of engineers are like, “Well, actually there’s, Tractable problems there.”
Alex Zhang [01:37:50]: Yeah. I will preface by saying my understanding of a lot of these topics is probably pretty limited. But I think, like, if I find out either because someone reaches out or, like, I look at a problem and I’m like, “Hey, like, some design principles that we use or that we’re thinking about right now actually make a lot of sense for this problem,” I get excited about those as well. But I think it’s harder. I don’t know. I think with. I think science, especially like empirical or, like, applied science has very long, like, what is it called? Like, feedback loops or whatever.
Swyx [01:38:23]: Yeah, it converges to a robotics question.
Alex Zhang [01:38:25]: Yeah. to me, like, also this aspect of, like, what is worth spending and betting my time on now? Because, like, maybe I spend a lot of time on this problem and then, like, in six months, like, a different solution, kind of like maybe a new model comes out and it’s like, “Oh, it’s way better for this.” And so I do have to be careful. I, like, you have to be conscious about, like, where you think things might be going.
Swyx [01:38:47]: Yeah, exactly.
Alex Zhang [01:38:47]: So, yeah.
Swyx [01:38:48]: Publish cycle.
Alex Zhang [01:38:49]: Yeah. So
Vibhu [01:38:51]: Which then I can just tell ARC-AGI-3, it’s saturated. We did it.
Alex Zhang [01:38:54]: Yeah, ARC-AGI-3 got saturated in less than a year, so it’s kind of ? Like, it’s. I don’t know. Like, if you were a lab picking that problem, like, you’re probably kind of sad now ‘cause actually
Swyx [01:39:04]: Yeah. Well, so exactly. That’s why knowledge work, gaming, all these things are saturated.
Alex Zhang [01:39:08]: Yeah.
Swyx [01:39:08]: Now they’re actually the frontier is science. So
Alex Zhang [01:39:09]: Yeah.
Vibhu [01:39:10]: Knowledge work is saturated.
Swyx [01:39:12]: Yeah. GDP val is like 80 something, 90 something.
Swyx [01:39:16]: Like, there’s, there’s 90 to 100% that was obviously gonna get
Alex Zhang [01:39:20]: It’s gonna be really hard to tell
Swyx [01:39:21]: 10 years. But, like, well, the next low-hanging fruit is gonna be
Alex Zhang [01:39:25]: It makes sense
Swyx [01:39:25]: The other stuff.
Alex Zhang [01:39:26]: Yeah. Maybe I’ll think about that more. I actually, I haven’t given too much thought to
Swyx [01:39:30]: I’m just trying to guess your next direction, actually.
Alex Zhang [01:39:32]: No. I will say because I think especially at MIT, like, it’s, it’s, it-- Yeah, there’s a lot of really talented scientists there, like, in the natural sciences. And I think it’s, it’s a little bit, like, sacrilegious almost to be like, “I’m gonna figure out, like, your problem.” Like
Swyx [01:39:45]: No, that’s how, that’s how it’s done.
Vibhu [01:39:46]: It’s great.
Alex Zhang [01:39:46]: Oh, no, I know. Yeah.
Swyx [01:39:47]: So I interviewed Yitai who did the IMO thing. He’s just like
Alex Zhang [01:39:50]: Oh, yes. Oh, yeah.
Swyx [01:39:50]: “I’ve never, I’ve never been to IMO. I don’t even know what it is.” It’s a skill model, dude.
Vibhu [01:39:55]: Yeah.
Swyx [01:39:56]: Which is, like, very disrespectful, but like, whatever. But that’s why, yeah.
Vibhu [01:40:00]: Yeah. At some point, like, you have to respect, like, okay, the progress is being made.
Vibhu [01:40:05]: Like, number is getting output, right?
Alex Zhang [01:40:07]: True. Yeah, true.
Swyx [01:40:08]: Yeah. that is a very big lesson. It’s very interesting, like, ‘cause the mathematicians are responding this way to NARI systems right now.
Alex Zhang [01:40:13]: Right. Yeah.
Swyx [01:40:14]: Like, Terry Turnstow is like
Vibhu [01:40:15]: Turnstow
Swyx [01:40:16]: “No, like, let’s not, let’s not use AI.”
Alex Zhang [01:40:17]: Yeah.
Swyx [01:40:17]: I’m like, “Mm, I don’t know.”
Alex Zhang [01:40:19]: Well, yeah. I think that whole thing is kind of weird ‘cause I feel like, I feel like they would have had a stronger case if a lot of them didn’t work with OpenAI before, like, all this happened.
Swyx [01:40:30]: No, that’s ad hominem, and they’re really trying to stay away from that. Then so what, right?
Alex Zhang [01:40:34]: So what? Yeah.
Swyx [01:40:35]: Like, I don’t know. Like, so what? They got. they’ve, they’ve collaborated. I collaborate with people that I don’t
Alex Zhang [01:40:39]: I guess it’s true
Swyx [01:40:39]: I don’t agree with or
Closing: Research, Academia, and What Comes Next
Alex Zhang [01:40:40]: That’s true
Swyx [01:40:40]: Whatever.
Alex Zhang [01:40:41]: Yeah. That’s true.
Swyx [01:40:41]: Or, like, I did a thing and then now I regret that. I changed my mind. whatever.
Alex Zhang [01:40:45]: Yeah.
Swyx [01:40:45]: So I’ll defend their right to say that. But like, yeah, a lot of people are reasonably disagreeing with them.
Alex Zhang [01:40:50]: Yeah.
Swyx [01:40:51]: Okay, cool. thanks for your joining us. Congrats on, your success so far. I can’t believe you’re still not done with your PhD.
Alex Zhang [01:40:58]: Well, it’s year two?
Vibhu [01:41:00]: Yeah. Can’t believe we did this podcast without going through the RL paper.
Swyx [01:41:05]: He had a, he had a definition.
Alex Zhang [01:41:07]: I think the paper is more about, like, empirical results. Like, the actual idea is quite simple.
Vibhu [01:41:11]: Yeah. And you’ve talked about it many times.
Alex Zhang [01:41:13]: Yeah, at this point. I think there’s, there’s more interesting things to look over now, so.
Vibhu [01:41:17]: Cool.
Alex Zhang [01:41:17]: Yeah.
Vibhu [01:41:18]: Well, we’re excited to see what you do next.
Alex Zhang [01:41:19]: Thank you so much.
来源:Latent Space · latent.space