读书笔记 · 约 11,736 字 · 预计推送 2 部分

慢思考与测试时计算(test-time compute):o系列、思考模型的能力边界与成本模型 未开始

目录

题记与说明


一、主题概述

2024 年 9 月 OpenAI 发布 o1,把"推理时多花计算"变成了继预训练、后训练之后的第三条 scaling 轴:模型先在隐藏的思维链里反复尝试、纠错、换思路,再给出答案。这条路线此后一年半迅速产业化:o3(2024-12 预览)、DeepSeek-R1(2025-01 开源复现)、s1 证明 1K 数据即可复现可控版本、各家用 reasoning_effort / thinking budget 把"想多久"做成 API 旋钮。与此同时,边界问题也接连暴露:Apple 的受控拼图实验显示高复杂度下推理模型"整体坍塌",overthinking 研究显示简单题浪费数倍算力,ARC Prize 的成本核算则把"87.5% 的成绩单"翻译成"每题 4,560 美元"。本笔记按七维提取这条主线。


二、七维提取

1. 核心问题

2. 主要主张

  1. 测试时计算是一条真实、平滑的 scaling 轴。OpenAI 原话:"performance of o1 consistently improves with more reinforcement learning (train-time compute) and with more time spent thinking (test-time compute). The constraints on scaling this approach differ substantially from those of LLM pretraining."(来源 2)
  2. 但它是"难度依赖"的:计算最优(compute-optimal)策略必须按题自适应分配;固定预算的 best-of-N 极其浪费,compute-optimal 分配可把效率提升 4 倍以上;FLOPs 对齐时,在小模型有非零成功率的题目上,测试时计算可以击败 14 倍大的模型。(来源 1)
  3. 能力边界呈三区制:低复杂度任务上普通 LLM 反而更好;中等复杂度上推理模型有优势;高复杂度上两者全部坍塌——而且推理 effort 随复杂度先升后降,"尽管 token 预算还有剩"。(来源 5)
  4. "会做"很大程度是"检索 + 组合"而非新算法:Chollet 判断 o3 的机制"appears to be natural language program search and execution within token space"——在思维链空间里做 AlphaZero 式搜索;这解释了为何单题要烧掉数千万 token,也解释了它为什么仍会在简单题上失败。(来源 3)
  5. 效率必须与分数一起报告:ARC Prize 明确提出 "efficiency (e.g., compute cost) is now a required metric when reporting performance"——只报分数不报算力档位的基准结果从此被视为不完整。(来源 3)
  6. 成本在快速坍缩,且"思考"是成本大头:o3 首发定价 $10/$40 每百万 token,2025-06-10 降到 $2/$8(-80%)后用量涨约 10 倍;DeepSeek-R1 以 $0.55/$2.19 把同级能力价格拉低一个数量级。思考 token 计入输出计价,输出侧价差被长思维链放大。(来源:辅助检索)

3. 方法

4. 数据与证据

来源 1(Snell et al. 2024,摘要页原文):

"Using this compute-optimal strategy, we can improve the efficiency of test-time compute scaling by more than 4x compared to a best-of-N baseline. Additionally, in a FLOPs-matched evaluation, we find that on problems where a smaller base model attains somewhat non-trivial success rates, test-time compute can be used to outperform a 14x larger model."
"the effectiveness of different approaches to scaling test-time compute critically varies depending on the difficulty of the prompt."

来源 2(OpenAI o1 博文,全文精读):

"On the 2024 AIME exams, GPT-4o only solved on average 12% (1.8/15) of problems. o1 averaged 74% (11.1/15) with a single sample per problem, 83% (12.5/15) with consensus among 64 samples, and 93% (13.9/15) when re-ranking 1000 samples with a learned scoring function."

来源 3(ARC Prize o3 核算,全文精读):

数据集效率档得分采样数tokens每题成本*每题耗时
Semi-Private (100)高效75.7%633.5M$261.3 min
Semi-Private (100)低效(172x)87.5%10245.7B$4,56013.8 min
Public (400)高效82.8%6111M$167—
Public (400)低效91.5%10249.5B$1,900—

\* 成本经两次重定价:2025-03 按 o1-pro、2025-12 按 o3-pro($80/M 输出 token)折算,非当时实际账单。

"you could pay a human to solve ARC-AGI tasks for roughly $5 per task (we know, we did that), while consuming mere cents in energy. Meanwhile o3-preview requires $27 per task in the low-compute mode."

来源 4(s1,摘要页原文):

"we develop budget forcing to control test-time compute by forcefully terminating the model's thinking process or lengthening it by appending 'Wait' multiple times to the model's generation when it tries to end. This can lead the model to double-check its answer, often fixing incorrect reasoning steps."
"scaling s1-32B with budget forcing allows extrapolating beyond its performance without test-time intervention: from 50% to 57% on AIME24."(对 o1-preview 竞赛数学领先"up to 27%")

来源 5(Apple,摘要页原文):

"LRMs face a complete accuracy collapse beyond certain complexities. Moreover, they exhibit a counterintuitive scaling limit: their reasoning effort increases with problem complexity up to a point, then declines despite having remaining token budget."
"we identify three performance regimes: (1) low-complexity tasks where standard models outperform LRMs, (2) medium-complexity tasks where LRMs demonstrates advantage, and (3) high-complexity tasks where both models face complete collapse."
"they fail to use explicit algorithms and reason inconsistently across scales."

来源 6(Overthinking,摘要页原文):

"the prevalent issue of overthinking in these models, where excessive computational resources are allocated for simple problems with minimal benefit."

(该文在 ICML 2025 发表,v2 更新了 DeepSeek-R1 的结果并称"all conclusions still hold"。)

成本模型数据(辅助检索,标注时效):

模型 / 时点输入 $/M tokens输出 $/M tokens备注
o1 / o1-preview(2024-09 首发)1560约为 GPT-4o($2.5/$10)的 4–6 倍
o1-mini~1.1–3~4.4–12后续降价
o3-mini(2025-01)1.104.40
o3(2025 年初定价)1040
o3(2025-06-10 降价)28-80%,官方称来自推理服务栈优化;用量涨约 10 倍
o3-pro(2025-06)2080ARC 2025-12 即按 $80/M 重算其成本表
DeepSeek-R1(2025-01)0.552.192025-09 起进一步降至 0.28/0.42(转述)
Claude Opus 级 extended thinking~15~75输出侧约为 R1 的 34 倍

API 侧控制旋钮:o3 提供 reasoning_effort low/medium/high;GPT-5 起扩为 minimal/low/medium/high,GPT-5.1 默认档改为 "none"(转述自 developers.openai.com 与 Azure 文档)。行业共识:思考预算成了每次请求可调的成本参数。

5. 结论

  1. 测试时计算已成为与预训练并列的第三条 scaling 轴,且"平滑提升"在 o1→o3 的数学/代码/科学基准和 ARC 上反复得到验证;但它不是免费的泛化——Chollet 的"自然语言程序搜索"模型和 Apple 的三区制结果一致指向:它本质是用推理时搜索换训练时知识覆盖不足,超出训练分布的高复杂度任务仍会坍塌。
  2. 性能的"难度依赖性"是这条轴最重要的工程结论:算力要用在"小模型有非零成功率"的题目带上;低复杂度任务用思考模型是负收益(更差且更贵),高复杂度任务加算力也买不到分。
  3. 成本模型的关键事实:思考 token 按输出计价,使"每题成本"而非"每 token 价格"才是真实单位——同一模型在 ARC 上两档算力差 172 倍、每题 $26 vs $4,560;而硬件/服务优化与开源蒸馏(s1、R1)又在 12–18 个月内把单位价格压低 5–30 倍。能力在变便宜,但"顶峰性能"始终是奢侈品。
  4. 从 2024-09 到 2026 年的净效果:思考预算从"隐藏的黑箱"变成 API 上的显式旋钮(effort/thinking budget),效率与成本成为基准报告的强制字段;基准则以 ARC-AGI-2 这类"人类简单、AI 难"的重置来持续探测真实泛化边界。

6. 局限

7. 对我的启发

  1. 按难度路由思考预算:把 reasoning_effort(或思考模型 vs 普通模型)当作路由决策——简单查询走低档/非思考档,难题才放行 high。Snell 的 4 倍效率差说明"固定开高档"是最贵且不最准的选择;这与我平时 API 调用/agent 流程设计的省钱空间直接对应。
  2. 用"每任务成本"做单位:引用任何基准分数时同时报告算力档位与折算成本(ARC 原则);比较模型时区分 token 单价和任务级成本——R1 式低价的真正杠杆在输出侧,而长思维链正是输出侧。
  3. 投资验证器而非盲目加采样:test-time scaling 的上限卡在 verifier 质量(PRM/裁判/测试用例);自一致性、best-of-N 这类策略在没有好验证器时接近无效——做评估管线时先做验证器。
  4. 低成本复现路径存在:s1 证明 1K 精选数据 + 半小时 SFT + "Wait" 技巧即可获得可控的测试时缩放,对个人/小团队的实验路线图有直接参考价值。
  5. 对"多想就能会"保持怀疑:三区制提醒我,在很多日常(低复杂度)场景推理模型反而更差更慢;"思考更多"只在中间难度带有正收益。
  6. 写作素材:$5 人类 vs $4,560 机器的成本对比、172 倍算力档、ARC-AGI-2 的"人类 95% vs AI <30%"重置、GPT-5 把"想多久"做成 API 旋钮——都是把抽象 scaling 故事讲具体的现成锚点。

三、时间线速览

时间事件
2024-08Snell et al. 提出 compute-optimal test-time scaling(4x 效率、14x 大模型)
2024-09OpenAI o1 发布:AIME 74%→93%(重排序)、隐藏 CoT + 监控论述
2024-12o3 预览:ARC-AGI 75.7%/87.5%(172x 算力档 $4,560/题);Overthinking 论文上传
2025-01DeepSeek-R1 开源($0.55/$2.19);s1 发布(s1K + budget forcing,26min/$50 SFT)
2025-03ARC-AGI-2 上线,早期前沿模型普遍 <5–15%
2025-06Apple《The Illusion of Thinking》引爆三区制争议;o3 降价 80% 至 $2/$8 并推 o3-pro($20/$80)
2025-12ARC Prize 2025 收官(Kaggle 冠军 27.64%),ARC 成本表按 o3-pro 重定价
2026reasoning_effort/thinking budget 成为各家 API 标配;GPT-5.1 默认档降至 "none"

*检索与阅读方式:本会话内通过 webReader 全文精读来源 2、3(OpenAI 博文、ARC Prize 博文),精读 arXiv 摘要页来源 1、4、5、6;定价与后续战况来自 WebSearch 检索聚合,已在文中逐处标注。*

← 资料库今日播报 →