AdaptiveStep: Automatically Dividing Reasoning Step through Model Confidence

Yuliang Liu, Junjie Lu, Chaofeng Qu, Zhaoling Chen, Zefan Cai, Jason Klein Liu, Chonghan Liu, Yunhui Xia, Li Zhao, Jiang Bian, Chuheng Zhang, Wei Shen, Zhouhan Lin

Introduction

To solve complex problems, Large Language Models (LLMs) often utilize "Chain of Thought" (CoT) reasoning. To verify the accuracy of these intermediate steps, researchers use Process Reward Models (PRMs), which provide a score for every intermediate step rather than just the final answer.

However, current PRMs face a significant "granularity" problem. Most existing methods divide steps using arbitrary rules, such as newlines or a fixed number of tokens. These rules do not necessarily align with the model's actual logical transitions; a newline doesn't always signify a difficult reasoning leap. Conversely, manual step-by-step annotation by humans is incredibly expensive and does not scale. AdaptiveStep addresses this gap by introducing an automated, informative way to define what constitutes a meaningful reasoning step for a specific model.

Methodology

The authors introduce AdaptiveStep, a novel framework that identifies reasoning steps by monitoring the model's internal state rather than relying on static delimiters.

1. Confidence-Based Division

Instead of searching for a \n character, the system monitors the probability of the tokens the model generates. When the model's confidence in predicting the next word drops below a specific threshold—specifically the bottom 2% of confidence scores—it marks that position as the end of a reasoning step. These "decision tokens" represent the moments where the model is most likely to make a critical error or a significant logical leap.

2. ASPRM Training

These automatically defined steps are used to train an AdaptiveStep Process Reward Model (ASPRM). The steps are labeled using the "rollout" method: generating multiple completions from that specific point to determine if they lead to a correct final answer. Because AdaptiveStep identifies fewer, more meaningful steps than rule-based methods (e.g., 5.69 steps vs. 14.4 lines in code), it requires significantly fewer rollouts to label the data, reducing construction costs by over 30%.

3. Token-level Value-guided Decoding (TVD)

During inference, if the model encounters a low-confidence token, it triggers the ASPRM to evaluate the top-M candidate tokens. The model then selects the token that the reward model deems most likely to lead to a successful solution. This allows the PRM to guide the model's "search" at the exact moment it begins to struggle.

Experimental Setup

The study evaluates performance across two primary domains:

  • Mathematics: Training on MetaMathQA and evaluation on the standard GSM8k and MATH500 benchmarks.
  • Code Generation: The authors introduced a new LeetCodeDataset, containing 1,940 problems with Python solutions and test cases, and also evaluated on LiveCodeBench.
  • Baselines: Results were compared against prominent open-source PRMs, including Math-Shepherd and ER-PRM.

Key Insights and Results

The "2% Rule" and Decision Points

Drawing on cognitive science (Kahneman’s "Thinking, Fast and Slow"), the authors hypothesized that "deep thinking" only accounts for a small portion of total tokens. Experiments confirmed that dividing steps at the bottom 2% of confidence scores yielded the most informative steps. Statistical analysis showed that these decision tokens frequently occur within mathematical expressions (21%) and at conjunctions like "so" or "therefore" (29%). In coding, the model is most uncertain during the planning phase (comments) rather than during syntax implementation.

Performance Gains

ASPRM achieved state-of-the-art "Best-of-N" scores on math benchmarks. The TVD strategy—letting the PRM guide the model when it is unsure—improved performance by 3.15% on GSM8k and a significant 14.4% on MATH500 compared to standard greedy decoding.

Generalization

A PRM trained on AdaptiveStep divisions from one model (e.g., Mistral) transfers effectively to other models (e.g., Llama). This suggests that "hard" decision points are somewhat universal across similar architectures, allowing for broader application of the trained reward models.

Conclusion

AdaptiveStep provides a scalable and efficient solution to the granularity problem in process reward modeling. By focusing on the model's own confidence levels, the method achieves superior performance in math and coding tasks while significantly reducing the computational cost of data annotation. Future work may explore applying this confidence-based segmentation to more diverse, open-ended reasoning tasks beyond mathematics and code.

Summary updated

BibTeX
@inproceedings{liu2025adaptivestep,
  author = {Yuliang Liu and Junjie Lu and Chaofeng Qu and Zhaoling Chen and Zefan Cai and Jason Klein Liu and Chonghan Liu and Yunhui Xia and Li Zhao and Jiang Bian and Chuheng Zhang and Wei Shen and Zhouhan Lin},
  title = {{AdaptiveStep: Automatically Dividing Reasoning Step through Model Confidence}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=ViRFgwVjk0},
}
Figure