跳到主要内容Skip to main content

测试时计算Test-time Compute

Test-time Compute

  • 模型能力Model capabilities
  • 第四段 · 看懂Stage 4 · Under the Hood
  • 引用核验 2026-11-03refs checked 2026-11-03
解决什么问题What problem it solves

在推理阶段多花算力换质量:多采样、多步推理、搜索与验证。Spend more compute at inference time to buy quality: more samples, more reasoning steps, search and verification.

这是什么What it is

测试时计算指模型在回答时额外消耗的算力。例如多次采样、思维链、树搜索、投票或自我验证。

它与训练时计算相对:不改权重,只改推理过程。

Test-time compute is the extra compute a model spends while answering — multiple samples, chain-of-thought, tree search, voting or self-verification.

It contrasts with training-time compute: weights do not change, only the inference process.

为什么需要知道Why it matters

它解释了为什么推理模型更贵、也更慢。同时说明「多花 token」在什么任务上值得、在什么任务上只是浪费。It explains why reasoning models cost more and run slower, and when spending more tokens is worth it versus wasteful.

出处Sources
  • Snell 等 · Scaling LLM Test-Time Compute(arXiv 2408.03314)Snell et al., Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters ↗
  • Wei 等 · Chain-of-Thought(arXiv 2201.11903)Wei et al., Chain-of-Thought Prompting Elicits Reasoning in Large Language Models ↗
用这个术语做任务Use this term in a task

别停在定义:去任务手册看按什么顺序做、验收什么;或者按你手头的任务,筛 3 个工具候选。Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.

任务手册 →Task handbooks → · 按任务筛 3 个候选 →Filter three candidates →