liveBook · Manning

Inference-time scaling

As explained in LLM Evaluation and Alignment, The Foundational Ideas

Test-time scaling is an inference strategy that allocates additional computation or generated tokens at inference time to improve task performance.

Inference-time compute scaling, also called test-time scaling, improves task performance by allocating additional computation or generated tokens during inference. Chain-of-thought is a common form: the model generates step-by-step reasoning before its final answer. section 1.1.1 section 4.3.2

Use the technique with these practical checks:

  • Increase reasoning tokens when the task benefits from extended problem solving, but do not treat longer output as proof of better results. section 1.1.1 section 4.3.2
  • Extract the final answer reliably: free-form reasoning can bury it, while structured outputs or constrained decoding reduce parsing errors. section 1.1.1
  • Check whether the evaluation rewards actual task success rather than verbosity, because models can exploit longer responses as a reward-hacking shortcut. section 4.3.2

Arithmetic with an extracted answer

For 42 × 38, a model may generate a chain of reasoning ending in 1,596. The evaluation must identify that final answer without accidentally extracting an intermediate calculation. section 1.1.1

How LLM Evaluation and Alignment, The Foundational Ideas covers it

How deep it goes
Defines the strategy and addresses answer extraction and verbosity bias, but does not specify a general token-allocation algorithm.
Examples
Uses 42 × 38 and shows how chain-of-thought answers require final-answer extraction.
What you can do after
Operate/configure it by allocating more inference tokens and evaluating whether longer reasoning improves outcomes rather than merely increasing verbosity.
How it connects
Connects chain-of-thought, structured outputs, constrained decoding, evaluation, reinforcement learning, and reward hacking.

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 LLM Evaluation and Alignment, The Foundational Ideas. The section links point to the parts of the book it draws on.