liveBook · Manning

Reasoning model training

As explained in Reinforcement Learning from Human Feedback

Reasoning training is the optimization of a model to produce or support more effective multi-step problem-solving behavior.

Reasoning model training is post-training that improves multi-step problem solving, especially where an answer can be checked. Its common form is reinforcement learning with verifiable rewards (RLVR): sample several completions for a problem, score them with a verifier, increase the likelihood of correct completions, and repeat. Rather than learning a reward model for subjective preferences, the trainer can use answer matching, unit tests, code execution, or other verification functions that yield a definitive signal. section 7.5 section 7.1 section 7.3.1

A practical reasoning-training pipeline combines the following choices:

  • Start from a capable pretrained and instruction-tuned model. Reasoning RL is a finishing stage within broader post-training, alongside supervised fine-tuning and often RLHF. section 7.1 section 1.5
  • Choose tasks with objective evaluation, commonly mathematics, code, and science. Use a verifier that rewards correct answers instead of asking a learned reward model to judge subjective qualities. section 7.5 section 7.1
  • Train with policy-gradient methods over sampled answers. Modern variants can use value-function-free methods such as GRPO or RLOO, while earlier approaches used PPO-based training with binary correctness rewards. section 6.6 section 7.3.1
  • Filter for useful difficulty: retain problems the model solves roughly 20–80% of the time. Relaxing or removing KL penalties can permit exploration, while format and language rewards preserve usable outputs. section 7.5
  • Manage generation length deliberately. Progressive length scheduling is used to counter overthinking, even though longer reasoning chains are associated with stronger performance after RL training. section 7.5

Verifier feedback versus preference feedback

A response explaining opportunity cost has no single fully definitive score: clarity, accuracy, completeness, and helpfulness require preference judgments. A mathematics prompt asking for the sum of primes below 20 can instead be checked against a correct result. That distinction changes the training signal: RLHF relies on a learned reward model for the former, while RLVR can assign reward directly from verification for the latter. section 7.1 section 7.5

Reasoning training is not simply a replacement for ordinary post-training. It extends infrastructure and ideas developed for RLHF, but uses verifiable domains to target reasoning, coding, and mathematical problem solving. Stability remains an operational concern: RL training can be more brittle than standard language-model training, and clipping, value initialization, truncated generations, and asynchronous generation-update mismatch can affect quality. Available tooling includes TRL, Open Instruct, veRL, and OpenRLHF. section 7.2.1 section 1.5 section 6.6

The technique is closely linked to inference-time scaling. Training encourages models to produce longer reasoning chains whose length is meaningfully associated with improved performance, unlike the superficial length preference observed in early RLHF. This makes generation budget, reward design, and length control joint design decisions rather than independent tuning knobs. section 7.5

How Reinforcement Learning from Human Feedback covers it

How deep it goes
Details the sampled-completion policy-gradient loop and operational practices, while deferring full algorithmic derivations.
Examples
Contrasts subjective opportunity-cost explanation scoring with verifier-scored prime-sum problems and binary-reward math training.
What it assumes
Builds on pretrained models, instruction tuning, RLHF infrastructure, and policy-gradient reinforcement learning.
What you can do after
Operate/configure RLVR training through verifier selection, difficulty filtering, exploration control, and length scheduling.
How it connects
Connects RLVR to RLHF, supervised fine-tuning, policy gradients, PPO, GRPO, RLOO, and 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.