OVM, Outcome-supervised Value Models for Planning in Mathematical Reasoning

Fei Yu, Anningzhe Gao, Benyou Wang

Abstract

Large Language Models (LLMs) frequently struggle with multi-step mathematical reasoning due to error propagation, where a single early mistake invalidates the entire reasoning chain. While process supervision (labeling intermediate steps) can mitigate this, it is prohibitively expensive. This paper introduces Outcome-supervised Value Models (OVM), which leverage only final answer correctness to train a value model for guided decoding. OVM achieves state-of-the-art performance on benchmarks like GSM8K for models under 13B parameters, demonstrating that outcome supervision implicitly learns a future-oriented value function that is more effective for planning than traditional step-wise rewards.

Introduction

Multi-step reasoning remains a significant challenge for Large Language Models. In domains like mathematics, reasoning is brittle; a minor calculation error in an initial step often leads to an incorrect final answer, regardless of the logical consistency of subsequent steps. This phenomenon, known as error propagation, necessitates robust guided decoding strategies.

Current approaches typically rely on "verifiers" or "reward models" to select the best intermediate steps. However, training these models often requires Process Supervision, involving costly human annotations for every reasoning step. While Outcome Supervision (labeling only the final answer) is more scalable, it has traditionally been considered less effective for guiding intermediate reasoning. OVM challenges this assumption by reframing outcome supervision as a value-based planning problem.

Methodology: Reframing Supervision as Value Estimation

The core contribution of OVM is the realization that outcome supervision for guided decoding is mathematically equivalent to learning a Value Model. In reinforcement learning, a "reward" evaluates the immediate correctness of an action, whereas a "value" estimates the potential of a current state to lead to a successful future outcome.

Comparison of Reward vs. Value and Outcome vs. Process supervision

The authors demonstrate that training a model to predict final correctness using Mean Squared Error (MSE) allows the model to naturally estimate the probability that a partial reasoning path will eventually reach the correct answer. Unlike standard reward models that assess whether a step is "logically sound" (past-oriented), OVM assesses whether a step is "helpful" (future-oriented) for reaching the final goal.

Key Components of OVM

  1. Value Model Training: A base LLM is augmented with a linear "value head." This head is trained on hundreds of thousands of reasoning paths where the only label is the binary correctness of the final answer.
  2. Guided Decoding (Beam Search): During inference, OVM evaluates candidate next steps and maintains the "beams" (paths) with the highest predicted value.
  3. Implicit Planning: By using a value model, the LLM effectively performs a "lookahead" without the computational cost of simulating every possible future path during the training phase.

Experimental Evaluation

OVM was evaluated on two primary benchmarks: GSM8K (grade-school math) and the Game of 24 (a mathematical puzzle requiring strategic planning).

A key insight from the research is that process supervision can sometimes be counterproductive. In the "Game of 24," a step might be mathematically correct but strategically unhelpful, leading to a dead end. OVM learns to prioritize strategic "helpfulness" over mere local correctness. Furthermore, because OVM only requires final answer labels, the authors generated over 747,000 training samples for GSM8K automatically, a scale unreachable with manual process supervision.

Results

OVM-7B (based on Mistral) achieved a state-of-the-art 84.7% accuracy on GSM8K, outperforming open-source models under 13B parameters, including those using code execution or GPT-4 distillation. In the "Game of 24," success rates jumped from 11% (greedy decoding) to 98.3% with OVM-guided planning.

Performance of OVM compared to PRM variants over training epochs

As shown in the training dynamics, OVM (Outcome-supervised Value Model) maintains superior performance and stability compared to Process Reward Models (PRM) when trained on the same outcome-only data (PRM-O). This confirms that a future-oriented value model is a more efficient guide than a past-oriented reward model.

Limitations and Future Work

Despite its success, OVM introduces higher inference latency and memory overhead due to the need to generate and evaluate multiple candidate steps at every junction. Additionally, while outcome labels are "cheap," the model requires a high volume of data to learn an accurate value function. Future research will explore OVM's generalization to more subjective reasoning tasks where "correctness" is less clearly defined.

Summary updated

BibTeX
@inproceedings{yu2024ovm,
  author = {Fei Yu and Anningzhe Gao and Benyou Wang},
  title = {{OVM, Outcome-supervised Value Models for Planning in Mathematical Reasoning}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-naacl.55},
}
Figure