Abstract
Training Large Language Models (LLMs) to solve complex mathematical problems requires granular feedback beyond final-answer verification. Process-supervised Reward Models (PRMs) address this by evaluating intermediate reasoning steps. However, the construction of high-quality PRM training data is often hindered by the high cost of manual annotation and the noise inherent in existing automated methods. This paper introduces EpicPRM (Efficient, Precise, Cheap), a framework designed to automate the annotation of reasoning steps with high precision and significantly reduced computational overhead. By utilizing a perplexity-based contribution score and an adaptive binary search algorithm, the authors developed Epic50k, a dataset of 50,000 steps that outperforms significantly larger datasets like PRM800k.
Introduction
In the pursuit of robust mathematical reasoning, Chain-of-Thought (CoT) prompting has become a standard technique for LLMs. While Outcome-supervised Reward Models (ORMs) provide feedback on the final result, they often fail to penalize "hallucinated" logic that happens to arrive at the correct answer. PRMs offer a solution by rewarding each logical step.
Despite their potential, PRMs face a data bottleneck. Manual annotation, as seen in the PRM800k dataset, is prohibitively expensive and slow. Conversely, automated methods like Math-Shepherd rely on Monte Carlo (MC) rollouts to estimate step correctness. These methods often suffer from "false positives" because LLMs can sometimes self-correct after a flawed step, leading to a successful outcome that masks the initial error. EpicPRM was developed to bridge this gap by providing a more precise and efficient automated labeling mechanism.
Methodology
1. Perplexity-Based Contribution
Traditional automated annotation calculates the correctness of a step based on the ratio of successful rollouts ($M/N$). EpicPRM improves upon this by introducing Perplexity (PPL) into the evaluation. Instead of a simple binary count, the framework calculates the log-probability of the model generating a successful path from a given step.
This is formalized as the Contribution Score: the ratio of the probability of success after a specific step compared to the baseline probability of success at the start of the problem. If a step contains a logical error, the probability of reaching a correct conclusion drops precipitously, even if the model occasionally "gets lucky." This granular signal allows the framework to filter out noise that traditional MC estimation would miss.
2. Adaptive Binary Search
To identify the "first erroneous step"—the critical data point for training PRMs—EpicPRM optimizes the search process through two dynamic adjustments:
- Dynamic Starting Position: Recognizing that errors occur earlier in difficult problems and later in easier ones, the framework uses the initial problem difficulty to predict a more likely error location, rather than defaulting to a standard middle-out binary search.
- Dynamic Sampling Count: Rather than executing a fixed number of rollouts for every step, EpicPRM adjusts the sampling density based on the clarity of the signal. It terminates rollouts early when a step's quality is statistically certain, saving significant computational resources on trivial steps.
Experimental Results
Data Efficiency and Performance
The researchers curated Epic50k, a dataset consisting of 50,000 annotated steps derived from the MATH training set. Despite being less than 10% the size of the human-annotated PRM800k, Epic50k-trained models consistently outperformed those trained on the larger dataset. In Best-of-128 search tests on the MATH500 benchmark, PRMs trained with EpicPRM logic showed superior accuracy across various model architectures, including Gemma2 and Phi-3.
Computational Savings
The Adaptive Binary Search algorithm achieved a 64.39% reduction in generated tokens compared to traditional sequential search methods. This efficiency makes the framework highly viable for iterative training cycles where data needs to be re-annotated as the base model improves.
Generalization
Epic50k demonstrated strong out-of-domain performance on PROCESSBENCH, which includes challenging datasets like OlympiadBench and Omni-MATH. This suggests that the perplexity-based contribution score captures fundamental logical quality rather than just dataset-specific patterns.
Discussion and Limitations
While EpicPRM represents a significant leap in automated PRM training, it still requires a "gold standard" final answer to verify the success of rollouts, meaning it is not yet fully unsupervised. Additionally, while the framework narrows the gap between automated and human annotation, it has not yet reached the absolute precision of expert human mathematicians. Future work may involve exploring task-specific thresholds for the contribution score and extending the framework to non-mathematical reasoning domains where final answers are less binary.
Conclusion
EpicPRM demonstrates that in the context of reward model training, quality and precision are more valuable than raw data volume. By focusing on the probability of success and optimizing the search for errors, the framework provides a scalable, cost-effective path toward more reliable and logical AI reasoning.
Summary updated