▶ 原文链接

推理规模缩放:从重复采样到架构搜索

来源: YouTube | 讲座 | 未知日期
分类: 其他
原文发表: 未知
纪要生成: 2026-08-05


全集重点


嘉宾/话题简介

本集为一次关于推理规模缩放(Inference Scaling)的课堂讲座,由讲师系统梳理了不改变模型参数、仅扩大测试时计算即可提升模型能力的前沿研究。内容涵盖大语言猴子论文中的重复采样策略、覆盖率幂律缩放定律、生成‑验证鸿沟、并行/顺序测试时计算技巧、过程奖励模型引导的树搜索,以及自动组合多种推理操作的 Archon 架构搜索框架。课堂中穿插了学生的提问与讨论,生动展示了该领域的开放问题与实践价值。


分节详述

00:05 LLM 发展三阶段与推理缩放引入

本节重点

详细精要

💬 精华片段(中文)

“We are going to see different ways that at inference time, we can make the model be better and become more useful without changing the parameters of the model and without any fine tuning of the models.”
我们会看到不同的方法,在推理时让模型变得更好、更有用,而不需要改变模型参数,也不需要任何微调。


01:10 大语言猴子论文:重复采样带来显著提升

本节重点

详细精要

💬 精华片段(中文)

“It just seems like the models and smaller models already know the answers to these hard problems, and just by doing this repeated sampling, we are eliciting and surfacing those answers.”
看起来这些模型,甚至是较小的模型,已经知道这些难题的答案,只是通过重复采样,我们才把这些答案激发和浮现出来。


04:56 推理缩放也有幂律:覆盖率与采样次数的预测关系

本节重点

详细精要

💬 精华片段(中文)

“We can predict to achieve a certain coverage, how many samples we are going to need and how much resources we should allocate to achieve that.”
我们可以预测,要达到某个覆盖率,需要多少样本、应该分配多少资源。


07:41 幂律背后:长尾分布的难题

本节重点

详细精要

💬 精华片段(中文)

“The sufficient and necessary condition for it is that we have a long tail of hard problems.”
其充分必要条件是,我们拥有一个极难问题的长尾分布。


11:34 推理计算的新范式与自动验证的必需性

本节重点

详细精要

💬 精华片段(中文)

“We can release our agents to go solve a problem and just keep generating tokens and keep improving the quality of the answers that they generate.”
我们可以释放智能体去解决问题,并不断地生成 token、不断改进答案质量。


15:18 生成-验证鸿沟:多数投票为何不足

本节重点

详细精要

💬 精华片段(中文)

“We call this the generation verification gap. The generation, it turns out, we can generate a lot of good responses, but the verification is basically this gap.”
我们把这个称为生成-验证鸿沟。事实证明,我们可以生成许多好的回答,但验证过程就构成了这个差距。


19:04 课堂讨论:缩小生成-验证鸿沟的潜在方向

本节重点

详细精要

💬 精华片段(中文)

“One interesting direction would be trying to look at different domains, where there is much difficulty. And also maybe verification is not fully accurate, or maybe it's a bit lost.”
一个有趣的方向是考察各种困难领域,也许验证并非完全准确,或者有点力不从心。


25:54 课堂讨论续:覆盖率的真实性与其他开放问题

本节重点

详细精要

💬 精华片段(中文)

“The quality of the verifier matters.”
验证器的质量至关重要。


26:58 并行采样之外的扩展:顺序修订与奖励模型

本节重点

详细精要

💬 精华片段(中文)

“Instead of asking the model multiple times, we let the model know that it can keep revising its answers, look into that from a different angles, and continue doing so until it's confident that it's ready to generate an answer.”
我们不反复询问模型,而是让模型知道它可以持续修订答案,从不同角度审视,直到它有信心产出答案。


30:09 过程奖励模型引导的树搜索与组合策略

本节重点

详细精要

💬 精华片段(中文)

“If you combine the two of outcome based reward model and parallel based upon sequential revisions, you get better results.”
如果把基于结果的奖励模型和基于并行/顺序修订的方法结合起来,会获得更好的结果。


33:55 难度分档揭示的缩放策略差异

本节重点

详细精要

💬 精华片段(中文)

“For the very, very hard problems, still the frontier models, which presumably use more pre-training and they are larger, they do better even if we had a whole lot like infinite budget for test time scaling.”
对于非常非常难的问题,即使我们有近乎无限的测试时缩放预算,使用了更多预训练量、规模更大的前沿模型依然表现更好。


40:52 自由讨论:预训练与推理缩放的相对价值

本节重点

详细精要


45:43 Archon 框架:推理架构的自动搜索

本节重点

详细精要

💬 精华片段(中文)

“We thought of inference scaling in this project as an inference architecture design problem.”
在这个项目中,我们把推理缩放看作一个推理架构设计问题。


51:44 融合操作的惊人威力与多模型集成

本节重点

详细精要

💬 精华片段(中文)

“It is so interesting, and this paradigm is so powerful that that can on its own improve the quality of responses over Oracle selection.”
这个范式如此有趣且强大,仅仅融合就能超越神谕选择的回答质量。


55:01 更“疯狂”的操作:单元测试生成与模型化评估

本节重点

详细精要


56:34 Archon 发现的典型架构与结构化搜索

本节重点

详细精要

💬 精华片段(中文)

“It seems like these additional layers that we are adding here is actually-- just like in deep learning, we are adding layers in pre-training and the model gets better. Seems like these careful kind of additions of these inference layers are helping the model become more and more accurate.”
看起来我们在这里增加的额外层实际就像在深度学习中,我们为预训练增加层数后模型变得更好。这些精心添加的推理层正在帮助模型变得越来越准确。


59:43 贝叶斯优化与 Archon 的最终表现

本节重点

详细精要

💬 精华片段(中文)

“On average, in this case, we were outperforming GPT-4.0 or Claude 3.5 Sonnet in passage one by an average of 14.1% across these instruction following reasoning and math and coding problems.”
在这些指令跟随、推理、数学和编程问题上,我们 pass@1 平均分别超过 GPT-4o 和 Claude 3.5 Sonnet 约 14.1%。


01:02:58 结语与遗留问题

本节重点

详细精要

💬 精华片段(中文)

“Hopefully, you think about it yourself. And hope you have a happy weekend.”
希望大家自己思考这些问题。祝周末愉快。


专业术语注释

术语 解释
LLM 大语言模型,本集所有讨论的基础模型类别。
Pre-training(预训练) 使用海量通用数据训练 LLM 的第一阶段,计算量最大。
Fine-tuning(微调) 在预训练模型上,使用少量特定任务数据调整参数的第二阶段。
Inference(推理) 模型部署后,实际接收输入并生成输出的阶段;本集讨论的重心。
Large Language Monkeys(大语言猴子) 指反复让 LLM 回答同一问题、从大量采样中筛选正确答案的方法,呼应无限猴子定理。
Coverage(覆盖率) 至少有一个采样答案正确的问题占总问题的比例,衡量重复采样的上限潜力。
Pass@k 在 k 次采样中至少获得一次正确回答的期望概率(单题或数据集层面)。
Power Law(幂律) 本文中指覆盖率与采样次数之间的指数关系,可用于预测资源需求。
Verifier(验证器) 用于判断模型生成答案是否正确的工具或模型,分为 Oracle(完美)、结果型、过程型等。
SWE-bench 模拟软件工程师解决代码补丁问题的智能体基准测试。
DeepSeek-V3 讲座中示例所用的开源大语言模型,在多次采样后能超越部分闭源模型。
CUDA GPU 编程的低级语言,用于高效硬件加速;代码翻译场景中易自动验证。
KernelBench 用于评测 CUDA 代码生成能力的基准,因其有自然等价性验证而被选作例子。
Test-time compute(测试时计算) 在模型推理阶段额外投入的计算资源,不更改模型参数。
Parallel Sampling(并行采样) 同题同时生成多个独立回答。
Sequential Revisions(顺序修订) 模型生成一个回答后,迭代修订、补充、多角度审视同一个答案。
Beam Search(束搜索) 借助 PRM 评分,每步保留评分最高的若干分支继续扩展的树搜索方法。
PRM (Process Reward Model) 过程奖励模型,对解答的每一步给出评分,用于指导顺序搜索。
ORM (Outcome Reward Model) 结果奖励模型,仅对最终答案打分。
Generation-Verification Gap(生成-验证鸿沟) 完美验证下的理论覆盖率与实际可用验证方法能达到的准确率之间的差值。
Archon 一种自动组合多种推理操作(生成、融合、批判、排序等)的架构搜索框架。
Fusion(融合) 将多个候选回答全部喂给 LLM,让它综合出一个最优答案的操作。
Critic(批判) 让模型分析某回答的优缺点。
Ranker(排序器) 让模型根据质量对多个回答进行排名。
Bayesian Optimization(贝叶斯优化) 一种搜索昂贵黑箱函数最优解的样本高效方法,本集用于寻找最优推理架构。
iTest (Inference Time Architecture Search) Archon 中自动搜索推理架构的优化器名称。

延伸思考

原文发表:未知  ·  纪要生成:2026-08-05