liveBook · Manning

Inference-time scaling

As explained in Reinforcement Learning from Human Feedback

Inference-time scaling improves model performance by allocating additional computation during inference, such as generating and evaluating more candidate reasoning paths.

Inference-time compute scaling, also called test-time scaling, improves downstream performance by allocating more computation during generation. Instead of relying on a single short response, a system can generate a longer reasoning chain or sample multiple responses. The trade-off is worthwhile when the additional computation produces a meaningful performance gain. section 7.0 section 7.2.2

Reasoning training and inference-time scaling are closely linked but distinct: reinforcement learning can train a model to use longer reasoning effectively, while inference-time scaling concerns the computation spent when generating an answer. More tokens alone are not evidence of better reasoning; their value depends on downstream performance. section 7.2.2 section 7.5

Common inference-time approaches allocate compute in different ways:

  • Generate a longer reasoning chain within one response. section 7.0
  • Sample independent responses in parallel and choose the majority answer. section 7.3.3
  • Use a scoring model to select among independently sampled answers. section 7.3.3
  • Use value-guided sampling or repeated random sampling with answer extraction. section 7.2.2

Majority selection

Suppose three independently sampled rollouts return answers A, B, and A. Majority selection returns A. This combines multiple responses, but the majority vote itself does not verify that A is correct. section 7.3.3

When comparing model evaluations, control for the total number of inference tokens: a higher score may reflect a larger inference budget rather than a directly comparable model. Evaluation configurations are not always fully disclosed or reproducible, so cross-lab scores can be difficult to interpret. section 16.2

How Reinforcement Learning from Human Feedback covers it

How deep it goes
Explains longer reasoning and parallel answer selection while leaving broader methods, including composed inference calls, largely out of scope.
Examples
Illustrates parallel scaling with majority voting in DeepSeek-R1 and Phi-4 and scoring-model selection in DeepSeek-GRM.
What you can do after
Evaluate inference-time trade-offs by comparing downstream performance against inference token use.
How it connects
Connects inference-time scaling to reinforcement learning, reasoning, reward models, and model evaluation.

Also explained in

Compare how 5 books explain inference-time scaling →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Reinforcement Learning from Human Feedback. The section links point to the parts of the book it draws on.