NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Let's Reinforce Step by Step

Sarah Pan, Vladislav Lialin, Sherin Muckatira, Anna Rumshisky

TL;DR

This paper investigates how to steer language model reasoning using Reinforcement Learning from Human Feedback (RLHF) with step-by-step process supervision rather than just outcome verifiers. The authors find that while process-supervised reward models (PRMs) boost accuracy on grade-school math (GSM8K) by up to 33% relative, they unexpectedly hurt performance on complex competition math (MATH)—and that how step rewards are aggregated makes or breaks RLHF stability.

What Problem Does This Paper Address?

While Chain-of-Thought (CoT) prompting enables language models (LMs) to generate intermediate reasoning steps, it does not guarantee logical validity. Models frequently produce plausible-sounding steps that are factually wrong or mathematically disconnected.

Previous work (e.g., Lightman et al., 2023) demonstrated that Process-Supervised Reward Models (PRMs)—which score each individual reasoning step—can act as better rerankers/verifiers than Outcome-Supervised Reward Models (ORMs). However, prior research largely used PRMs as external test-time search verifiers rather than using them to update the policy generator via RLHF. This paper addresses that gap: Can fine-grained PRMs directly optimize an LM generator’s reasoning via PPO, and how should step-level rewards be aggregated into sequence-level training signals?

Methods

The authors adopt the three-stage InstructGPT-style RLHF pipeline:

  1. Supervised Fine-Tuning (SFT): Fine-tune an OPT-1.3B base generator on mathematical problem-solution pairs.
  2. Reward Model Training: Train two DeBERTa-v3 (300M parameter) classifiers on the PRM800K dataset:
  3. ORM objective: Sequence-level classifier evaluating whether the entire solution has any incorrect reasoning steps (taking logits from the final token).
  4. PRM objective: Step-level token classifier evaluating correctness only at tokens demarcating the end of a reasoning step (masking all intermediate tokens).
  5. PPO Reinforcement Learning: Optimize the generator against the learned rewards, using an OPT-1.3B critic trained on the ORM objective. Because standard PPO expects a sequence-level scalar reward for the entire generation, the authors explore five reward aggregation schemes for step rewards:
  6. Vanilla ORM: Uses the single outcome score $r_{\text{ORM}}$ at the final token.
  7. PRM-Avg: Averages the per-step rewards across $n$ steps ($\frac{1}{n}\sum r_i$).
  8. PRM-Prod: Multiplies step rewards ($\prod r_i$).
  9. PRM-Max: Assigns the sequence reward based on the single best reasoning step ($\max r_i$).
  10. PRM-Min: Penalizes the sequence based on the worst reasoning step ($\min r_i$).

Datasets

The authors use established mathematical reasoning benchmarks:

  • AMPS & MATH: Used for supervised fine-tuning (1 epoch on AMPS, 10 epochs on MATH).
  • PRM800K: Used to train both DeBERTa-v3 reward models (contains human-annotated step-level correctness labels on MATH solutions).
  • GSM8K & MATH: RLHF training prompts were sampled from both datasets simultaneously. Evaluations were performed on the standard GSM8K test set and an overlap-filtered MATH test set (~500 questions, removing examples seen in PRM800K).

Key Insights and Ideas

  • The Complexity Trade-off: PRM rewards improve simpler, grade-school math (GSM8K) but degrade performance on complex competition math (MATH). Conversely, ORMs improve MATH while failing to improve GSM8K.
  • Why do PRMs struggle on hard math? The authors hypothesize that smaller PRMs (300M) may struggle to properly verify complex mathematical steps, leading to noisy reward signals that destabilize policy optimization on difficult tasks. In contrast, holistic ORMs provide broader (if coarser) guidance on complex tasks.
  • Aggregation Strategy Matters Greatly:
  • PRM-Max performed the best on GSM8K, supporting the hypothesis that rewarding a decisively strong intermediate step helps steer simpler reasoning trajectories.
  • PRM-Avg and PRM-Min degraded performance significantly compared to baseline SFT, demonstrating that naive aggregation can dilute or over-penalize policy learning.
  • Multi-dataset RL Prompts are Vital: Mixing simple (GSM8K) and complex (MATH) prompts during the PPO stage was essential; training on either alone resulted in sharp performance drops.

Key Results

Baseline SFT Model (OPT-1.3B): MATH: 2.80% | GSM8K: 3.00%

  • Outcome Reward (Vanilla ORM):
  • MATH: Improved to 3.30% (~18% relative increase).
  • GSM8K: Remained flat at 3.00%.
  • Process Reward (PRM-Max):
  • MATH: Degraded to 2.20%.
  • GSM8K: Improved to 4.00% (33% relative increase, the highest among all setups).
  • Other PRM Aggregations:
  • PRM-Prod: MATH: 2.60% | GSM8K: 3.50%
  • PRM-Avg: MATH: 2.50% | GSM8K: 2.00%
  • PRM-Min: MATH: 1.50% | GSM8K: 2.00%

Limitations and Future Work

  • Model Scale: Experiments were constrained to relatively small generator (OPT-1.3B) and reward (DeBERTa-v3 300M) architectures. As prior work suggests PRM verification benefits scale with model size, larger models might resolve PRM degradations on MATH.
  • Reward Collapse via Aggregation: Forcing step-level rewards into a single scalar reward at generation-end discards temporal credit assignment. The authors highlight the need for RL algorithms that apply non-aggregated, dense step-level rewards directly into the policy objective during generation.

Summary updated

BibTeX
@inproceedings{pan2023let,
  author = {Sarah Pan and Vladislav Lialin and Sherin Muckatira and Anna Rumshisky},
  title = {{Let's Reinforce Step by Step}},
  booktitle = {Instruction @ NeurIPS},
  year = {2023},
  url = {https://openreview.net/forum?id=QkdRqpClab},
}
Figure