Study weighs reasoning-token gains against coding accuracy
A study reported by Juejin AI evaluated five model configurations across 866 Python tasks from HumanEval Pro, MBPP Pro and BugsInPy, measuring both accuracy and thinking-token use. Reasoning improved Qwen3-32B results on HumanEval Pro and BugsInPy, but added a median 2,221 tokens per MBPP Pro task for a statistically insignificant 1.4-point gain; truncating half of completed reasoning traces did not materially reduce regenerated-answer accuracy. The results apply only to quantized open-weight models of up to 70B parameters, and the generation records and code repository were not published.
The findings give inference-service operators, agent-pipeline builders and model evaluators a source-supported way to compare code accuracy with reasoning-token expenditure, while also defining the study's important limits.
💡 一句话总结:一项 866 任务 × 5 模型 × 5 重复的受控研究发现——推理模式写代码「不一定值」:有的基准白烧 2000+ 思考 token 换不来显著提升,轨迹更长不等于更准,而且已生成的思考轨迹砍掉一半再写答案,正确率几乎不掉。做推理服务、agent 管线、模型评测的人都该看看这套算法。
导语:你的推理模型,可能一直在「白想」
先问一个可能戳到你的问题:你开推理模式跑代码任务时,看过账单里那串思考 token 数吗?
现在的推理模型(Qwen3、QwQ、DeepSeek-R1 这类)写代码前会先「打草稿」——在 <think> 标签里生成一大段推理轨迹,然后再给出最终代码。你为这些思考 token 付的是真金白银,但几乎所有评测榜只报一个 pass@1(一次生成能通过测试的比例)。思考花了多少、花在哪、值不值,榜单上一概看不见。
一篇 2026 年 10 月挂上 arXiv 的实证研究把这个账算了:论文标题很直白——Does More Thinking Pay Off?(多想真的值吗?),来自 Massey University、山东财经大学、奥塔哥大学和杭州师范大学的团队。他们在 HumanEval Pro、MBPP Pro、BugsInPy 三个基准共 866 个 Python 任务上,对 5 个模型配置各跑 5 次重复实验,把「正确率」和「思考开销」第一次放在同一张账单上对比。
#Qwen3-32B#Qwen3#QwQ#DeepSeek-R1#R1-Distill-Llama-70B#R1-Distill-Qwen-32B#HumanEval Pro#MBPP Pro#BugsInPy#Massey University#Shandong University of Finance and Economics#University of Otago