arXiv:2412.21187 · 中英对照阅读
对于 2+3=?,不要想那么多。论 o1 类大型语言模型的过度思考
Do NOT Think That Much for 2+3=? On the Overthinking of o1-Like LLMs
中文速览
推理模型常会把简单题想得太久、反复给出相似答案,浪费大量计算却很少提高正确率;研究者想弄清这种“过度思考”有多严重,以及怎样减少浪费而不损失答题表现。他们分析模型生成的多轮解答,并从“后续内容有没有帮助答对”和“有没有带来新的解题思路”两方面衡量效率,再用自训练让模型删去重复推理、保留必要检查。实验发现,许多题目第一轮就已经答对,之后的思路也常常重复;经过改进后,模型能明显减少生成内容,同时在不同难度的测试中基本保持准确率,例如在 MATH500 上少生成 48.6% 的 token 而不降准确率。这项工作提醒我们,推理能力不只是想得多,还要懂得根据题目难度控制思考量,从而更省计算、更高效。
摘要
OpenAI o1 等模型的卓越表现,可归因于其在推理过程中模拟人类长时间思考的能力。这些模型采用扩展的思维链(CoT)过程,探索多种策略以增强问题解决能力。然而,一个关键问题仍未解决:如何在测试过程中以智能且高效的方式扩展计算资源。本文首次对这些模型中普遍存在的过度思考问题进行了全面研究:模型为简单问题分配了过多计算资源,却几乎没有获得收益。我们从结果视角和过程视角出发,提出了新的效率指标,以评估 o1 类模型对计算资源的合理使用。我们采用自训练范式,提出缓解过度思考的策略,在不牺牲准确率的前提下精简推理过程。实验结果表明,我们的方法能够成功降低计算开销,同时在 GSM8K、MATH500、GPQA 和 AIME 等难度各异的一系列测试集上保持模型性能。
The remarkable performance of models like the OpenAI o1 can be attributed to their ability to emulate human-like long-time thinking during inference. These models employ extended chain-of-thought (CoT) processes, exploring multiple strategies to enhance problem-solving capabilities. However, a critical question remains: How to intelligently and efficiently scale computational resources during testing. This paper presents the first comprehensive study on the prevalent issue of overthinking in these models, where excessive computational resources are allocated for simple problems with minimal benefit. We introduce novel efficiency metrics from both outcome and process perspectives to evaluate the rational use of computational resources by o1-like models. Using a self-training paradigm, we propose strategies to mitigate overthinking, streamlining reasoning processes without compromising accuracy. Experimental results show that our approach successfully reduces computational overhead while preserving model performance across a range of testsets with varying difficulty levels, such as GSM8K, MATH500, GPQA, and AIME.
术语表
- OpenAI o1
- OpenAI o1
- o1-like models
- o1 类模型
- chain-of-thought (CoT)
- 思维链(CoT)
- scaling test-time compute
- 扩展测试时计算
- overthinking
- 过度思考
- computational resources
- 计算资源
- inference
- 推理
- self-training paradigm
- 自训练范式
- efficiency metrics
- 效率指标
- outcome perspective
- 结果视角
- process perspective
- 过程视角
- reasoning strategies
- 推理策略
- solution distribution
- 解答分布
- solution rounds
- 解答轮次
- first correctness distribution
- 首次正确答案分布
- token usage
- Token 用量
- ASDIV
- ASDIV
- GSM8K
- GSM8K
- MATH500
- MATH500
- GPQA
- GPQA
- AIME
- AIME
- AoPS
- AoPS
- Qwen-QwQ-32B-Preview
- Qwen-QwQ-32B-Preview
- DeepSeek-R1
- DeepSeek-R1
- Llama-3.3-70B
- Llama-3.3-70B