Token-Supervised Value Models for Enhancing Mathematical Problem-Solving Capabilities of Large Language Models

Jung Hyun Lee, June Yong Yang, Byeongho Heo, Dongyoon Han, Kyungsu Kim, Eunho Yang, Kang Min Yoo

This paper introduces a more granular approach to guiding Large Language Models (LLMs) through complex, multi-step reasoning. By shifting from step-level to token-level supervision, the authors develop "Value Models" that significantly improve the success rate of tree-search strategies in mathematical problem-solving.

TL;DR

The authors propose Token-supervised Value Models (TVMs), a new class of verifiers that assign a "correctness probability" to every single token in a reasoning path. By providing finer-grained feedback than traditional step-based models, TVMs prevent the premature pruning of promising solutions during tree search, outperforming existing state-of-the-art verifiers on benchmarks like GSM8K and MATH.

What Problem Does This Paper Address?

When LLMs solve complex math problems, they often rely on "test-time compute" strategies to explore different reasoning paths. These include Best-of-N search (generating many complete answers and picking the best) or Tree Search (evaluating intermediate steps to prune bad paths early). Both strategies rely heavily on "verifiers" to score the model's work.

Currently, there are two primary types of verifiers:

  1. Outcome-supervised Reward Models (ORMs): These models only evaluate whether the final answer is correct. They provide poor, sparse feedback on intermediate steps.
  2. Process-supervised Reward Models (PRMs): These models label entire reasoning steps as either correct or incorrect.

The authors identify a major flaw in PRMs: high false negative rates. Because PRMs label an entire step as "wrong" even if only the very last token contains an error, they often assign low scores to highly promising partial solutions. During a tree search, this causes the algorithm to prematurely prune paths that were actually on the right track.

Comparison of ORM, PRM, and TVM scoring on a sample GSM8K problem. TVM correctly maintains higher scores for promising intermediate paths that PRM incorrectly penalizes.

Methods: Token-Supervised Value Models

To overcome the limitations of step-level evaluation, the authors introduce the Token-supervised Value Model (TVM). Instead of labeling a whole step, the TVM labels every single token with the empirical probability that a solution containing that specific prefix will eventually reach the correct final answer.

The Training Process: 1. Sampling: For a given training problem, the LLM generates $N$ different reasoning paths. 2. Token Labeling: For every token in every path, a "value label" is calculated. This is the ratio of correct paths sharing that specific prefix to the total number of paths sharing that prefix. 3. Training: A verifier (using the same architecture as the base LLM but with a scalar head) is trained to predict these token-level probabilities using Mean Squared Error (MSE).

Conceptual comparison of Outcome (ORM), Process (PRM), and Token-level (TVM) supervision. TVM provides granular, token-by-token feedback, preventing the premature rejection of mostly correct steps.

The authors provide a theoretical proof showing that this token-level probability is mathematically equivalent to the "Value" in Reinforcement Learning (the expected cumulative reward) when the discount factor is 1 and rewards are only given at the final step.

Key Insights

  • Intra-step Supervision Matters: PRMs treat a reasoning step as an atomic unit. TVMs recognize that a step might be 90% correct before a minor calculation error occurs at the end. By supervising at the token level, the model learns to distinguish between a fundamentally flawed approach and a simple, correctable mistake.
  • Reducing False Negatives: TVMs exhibit significantly higher recall than PRMs. They are much less likely to discard a good partial solution, which is critical for maintaining effective tree search trajectories.
  • Compute Efficiency: Tree search strategies (like Beam Search) guided by a TVM can achieve higher accuracy than massive Best-of-N searches while using 6x fewer FLOPs and taking half the execution time.

Key Results

The models were trained and evaluated on two standard benchmarks: GSM8K (grade school math) and MATH (high-school competition math), using Mistral-7B and Llama-3-8B as base models.

TVMs consistently outperformed both ORMs and PRMs across different search strategies:

  • GSM8K: On Llama-3-8B MetaMath, TVM achieved 90.37% accuracy, surpassing the PRM baseline.
  • MATH: On the difficult MATH benchmark, TVM combined with Beam Search reached 45.00% accuracy, a significant jump over the base model's self-consistency score of 42.40%.
  • Search Synergy: TVMs showed the greatest performance gains when used with Step-by-Step Beam Search and REBASE (Reward Balanced Search), proving they are exceptionally well-suited for intervening during the generation process.

Limitations and Future Work

  • Data Overlap Requirement: For token-level probabilities to be meaningful, the training data needs multiple paths that share the same prefixes. If the number of sampled paths is too low, the labels revert to binary (0 or 1), and the nuanced "value" benefit disappears.
  • Latter Path Signal: In the later stages of a reasoning path, overlap between sampled solutions becomes rare. This potentially weakens the supervision signal toward the end of a solution.
  • Scope: The study focused strictly on mathematical reasoning. Future work will need to explore if token-level value models provide similar benefits for more open-ended reasoning tasks, such as code generation or logical deduction.

Summary updated

BibTeX
@inproceedings{lee2025token,
  author = {Jung Hyun Lee and June Yong Yang and Byeongho Heo and Dongyoon Han and Kyungsu Kim and Eunho Yang and Kang Min Yoo},
  title = {{Token-Supervised Value Models for Enhancing Mathematical Problem-Solving Capabilities of Large Language Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=6HcnC3pPkp},
}
Figure