← Back to Research Scientist Mind Map
🎓 Research ScientistID: rs-inference-time-compute-scaling

Inference-Time Compute & Search Scaling

Inference-time Compute 缩放定律
🎯Core Definition
Inference-Time Compute Scaling Laws (underpinning OpenAI o1 and DeepSeek-R1) formalizes the second paradigm of scaling: trading test-time compute FLOPs for sustained logarithmic/power-law accuracy gains on complex reasoning benchmarks; unlike standard single-pass greedy decoding, Inference-Time Scaling expands compute along 3 primary dimensions: 1) Best-of-NN Sampling with Outcome/Process Reward Verifiers (sampling NN parallel rollouts and selecting the highest-scoring trajectory); 2) Sequential Tree Search & MCTS (expanding reasoning search trees over thought tokens with dynamic value pruning); 3) Autoregressive Long CoT Self-Correction (allowing the policy to generate recursive backtracking tokens to self-correct reasoning flaws before committing to final answers).
💡Use Cases
International Mathematical Olympiad (IMO) theorem proving, competitive programming synthesis, and scientific hypothesis deduction.
⚡Key Problems Solved
Complex multi-step reasoning collapses under System-1 instantaneous next-token prediction; Inference-Time compute unlocks deliberative System-2 planning, reflection, and algorithmic search.
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep Dive
Core Def
Explain the core definition, underlying mechanism/math, and key principles of Inference-Time Compute & Search Scaling.
Use Cases
In production engineering, what are the primary use cases for Inference-Time Compute & Search Scaling and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
1
Compare Best-of-NN, Beam Search, and MCTS in scaling curves of test-time compute versus Pass@1 accuracy gains?
2
Why do Process Reward Models (PRM) outperform Outcome Reward Models (ORM) in guiding intermediate tree search branches?
3
How does pure reinforcement learning with rule-based verifiers induce the emergence of long-chain self-correction and backtracking?
4
Derive the compute trade-off showing how test-time reasoning compute allows a small 1.5B model to surpass a zero-shot 70B monolithic model on math?
5
How to prevent test-time search from exploiting adversarial vulnerabilities in learned Reward Models when NN scales into thousands?
📖 In-depth Guide:📄 rs-core-cheatsheet →
Updated 2026-08-14
🎯
Verify Mastery: Practice Exam Questions for "Inference-Time Compute & Search Scaling"
Take pitfall multiple-choice questions with derivation options; mistakes are automatically logged.
🚀 Start Card Practice ➔
← Previous CardChinchilla Compute-Optimal Scaling LawsNext Card →Transformer Expressive Power & Turing Limit

🔗 More Research Scientist Knowledge Cards

引用出处: TalentMe 450+ 工业级 AI 架构考点知识库 (Tech Vault) · 遵循 CC-BY-4.0 知识共享协议
URL: https://talentme.airsota.com/resources/tech/roadmap/mindmap/RS/card/rs-inference-time-compute-scaling
中文速览与面试要点

Inference-time Compute 缩放定律 (Inference-Time Compute & Search Scaling)

定义: 推理期算力缩放定律与测试期树搜索演进 (Inference-Time Compute Scaling Laws & Test-Time Search Paradigm / OpenAI o1, DeepSeek-R1 理论基础) 标志着大模型从“单向纯预训练 Scaling”迈向“预训练 + 推理期自适应思考 Scaling”的双引擎全新时代;核心理论:传统 LLM 在推理时对每个 Token 仅分配恒定的前向计算量;推理期 Scaling 允许模型在面对高难度数学、代码与科学推理时,通过投入更多的测试期计算量 (Test-time FLOPs) 实现性能的对数/幂律持续攀升;三大核心推理期搜索机制:1) 最佳采样搜索 (Best-of-N Sampling with Verifier / PRM): 并行采样 N 条候选解答,利用过程奖励模型打分选优;2) 束搜索与蒙特卡洛树搜索 (Beam Search & MCTS over Thought Tokens): 在思考 Token 空间进行树状前瞻展开与分支剪枝;3) 自回归长链自我纠错 (Long Chain-of-Thought with Backtracking): 允许模型生成“Wait, let me re-evaluate...”长反思 Token,动态拓展思考深度。 使用场景: 复杂数学奥赛题求解 (AIME, IMO)、高难度算法竞赛代码合成 (Codeforces)、前沿科学假设推导。 解决的问题: 复杂长链逻辑问题无法在单一的前向直觉中一次性答对;推理期算力扩展将 System-1 快思考升华至具备搜索、反思与回溯能力的 System-2 深度思考。

核心要点

  • 详细对比 Best-of-N 拒绝采样、Beam Search 与 MCTS 在测试期算力消耗 (FLOPs) 与最终求解成功率 (Pass@1) 上的缩放曲线?
  • 过程奖励模型 (Process Reward Model, PRM) 相比结果奖励模型 (Outcome Reward Model, ORM) 在树搜索中提供单步细粒度打分 (Step-level Credit Assignment) 的数学优势?
  • 自回归长思维链 (Thinking Tokens) 中的自我纠错与回溯 (Self-Correction & Backtracking) 是如何通过纯强化学习在无人工标注监督下自发涌现的?
  • 推理期算力与预训练算力的等价置换模型:一个经过大量推理思考的小模型(如 1.5B R1-Distill)在数学能力上为什么能超越单向前向的 70B/400B 巨型模型?
  • 测试期搜索遭遇的“奖励黑客 (Reward Hacking)”与“过拟合验证器 (Overfitting the Verifier)”的防御策略?