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

Full-Step-DPO: Self-Supervised Preference Optimization with Step-wise Rewards for Mathematical Reasoning

Huimin Xu, Xin Mao, Feng-Lin Li, Xiaobao Wu, Wang Chen, Wei Zhang, Anh Tuan Luu

Large Language Models (LLMs) have demonstrated impressive capabilities in natural language tasks but continue to struggle with complex, multi-step mathematical reasoning. Traditional alignment techniques like Direct Preference Optimization (DPO) are typically outcome-oriented, treating an entire reasoning chain as a single unit. This "solution-wise" approach is often suboptimal for mathematics, where a single calculation error can invalidate an otherwise logically sound solution. To address this, we present Full-Step-DPO, a framework that optimizes every step of a reasoning chain using self-supervised process rewards.

The Problem with Outcome-Oriented Alignment

Standard DPO penalizes an entire incorrect solution equally, regardless of whether the error occurred at the beginning or the end. This introduces significant noise into the training signal. While recent variants like Step-DPO attempt to isolate the first erroneous step, they often discard valuable reasoning patterns in subsequent steps and rely on expensive human or GPT-4 annotations.

Full-Step-DPO introduces a more granular approach by assigning rewards to every intermediate step. As illustrated in Figure 1, while standard DPO compares full sequences and Step-DPO focuses on a single branching point, Full-Step-DPO utilizes a step-wise DPO loss across the entire trajectory.

Comparison of DPO, Step-DPO, and Full-Step-DPO conceptual frameworks.

Methodology: The Full-Step-DPO Pipeline

The Full-Step-DPO framework operates in three distinct phases designed to eliminate the need for costly human labeling while providing fine-grained feedback:

  1. Self-Supervised Process Reward Model (PRM) Training: The model generates multiple solutions for math problems. Steps are automatically labeled based on the correctness of the final answer using a simplified Monte Carlo estimation. The authors found that sample diversity is more critical than label precision at this stage.
  2. Preference Building: The trained PRM scores intermediate steps in new samples, creating a rich dataset of step-wise preferences.
  3. Preference Learning: The policy model is updated using a novel Step-wise DPO Loss. This loss function incorporates a dynamic weighting coefficient that scales the gradient based on the step-level reward, ensuring the model learns precisely which parts of its reasoning to reinforce or correct.
The three-step pipeline of Full-Step-DPO: PRM training, preference building, and step-wise preference learning.

Key Results and Insights

The researchers evaluated Full-Step-DPO across several base models, including Mistral-7B, Llama-3-8B, DeepSeekMath, and Qwen2-7B.

  • Performance Gains: On the challenging MATH dataset, Full-Step-DPO improved Llama-3-8B's accuracy to 35.0%, a significant jump over Step-DPO (31.8%) and standard DPO (23.4%). On GSM8K, Qwen2-7B reached 89.3% accuracy, matching GPT-4 performance when combined with self-consistency sampling.
  • Robustness: Unlike standard DPO, which can suffer from performance degradation on out-of-domain (OOD) tasks, Full-Step-DPO demonstrated robust stability across various benchmarks like GaoKao2023 and SVAMP.
  • Reward Temperature: A critical finding was the importance of the "reward temperature" ((\gamma)). A "sweet spot" exists (around (\gamma=0.5)) where the model learns best from the entire chain; values too low revert to standard DPO, while values too high focus excessively on single steps.

Conclusion

Full-Step-DPO represents a significant advancement in fine-grained alignment for reasoning tasks. By moving from outcome-based to step-based optimization in a self-supervised manner, it provides a scalable and efficient path toward human-level mathematical reasoning in LLMs. Future work will explore generative reward models and the application of this framework to other domains like code generation.

Summary updated

BibTeX
@inproceedings{xu2025full,
  author = {Huimin Xu and Xin Mao and Feng-Lin Li and Xiaobao Wu and Wang Chen and Wei Zhang and Anh Tuan Luu},
  title = {{Full-Step-DPO: Self-Supervised Preference Optimization with Step-wise Rewards for Mathematical Reasoning}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure