Abstract
Process Reward Models (PRMs) are critical for verifying the intermediate reasoning steps of Large Language Models (LLMs) in complex domains like mathematics. However, standard training methods using Monte Carlo (MC) sampling suffer from high variance and sparse label distributions. This paper proposes Structural Prior Injection, a method that replaces simple scalar regression with categorical distribution prediction. By treating intermediate step values as probability distributions and injecting structural priors—specifically dynamic Gaussian distributions—we significantly mitigate the impact of MC noise. Our approach yields a 1–2% accuracy improvement on the MATH benchmark across multiple model architectures with negligible added complexity.
The Challenge of Monte Carlo Noise
When training a verifier to score intermediate reasoning steps, researchers typically use Monte Carlo (MC) estimation: for a given step, multiple random completions (rollouts) are generated, and the fraction of correct final answers serves as the ground-truth value.
As shown in Figure 1, this process is inherently noisy. With a limited budget (e.g., 8 rollouts), the possible values are restricted to a discrete set (0, 0.125, ..., 1.0), creating a "granularity" problem. Standard scalar regression forces the model to hit these noisy, discrete targets exactly, failing to account for the underlying uncertainty of whether a step is truly correct or simply "lucky" during sampling.
Methodology: Structural Prior Injection
To address these limitations, we propose shifting the model's output from a single scalar to a categorical distribution over $K$ bins. The final predicted value is the mathematical expectation of this distribution. We explore two primary optimization strategies:
- Expectation Regression (MSE): Minimizing the mean squared error between the predicted distribution's expectation and the MC estimate.
- Expectation Classification (Histogram Loss): Training the model to match a target distribution (a structural prior) that represents the likely "true" value given the noisy sample.
Our key insight is that MC sampling follows a Binomial process. We use this knowledge to design a dynamic Gaussian prior, where the variance of the target distribution adjusts based on the sampled MC value. This allows the model to learn the noise profile of the data generation process itself.
Experimental Results
We evaluated our methods using Qwen2.5-Math-7B and DeepSeek-math-7b models on the MATH dataset. Our training set consisted of 180k samples with 8 MC rollouts per step.
As illustrated in Figure 3, the Gaussian (dynamic) prior consistently outperformed the baseline scalar regression and fixed one-hot targets. For the DeepSeek model, the Expectation Classification method reached a Best-of-128 accuracy of 26.4%, a significant improvement over the 24.4% baseline. These gains are particularly notable because they require no additional sampling budget or model parameters, relying entirely on a more sophisticated interpretation of the existing training signal.
Conclusion
Structural Prior Injection provides a robust framework for training process verifiers in the presence of noisy data. By acknowledging the probabilistic nature of Monte Carlo rollouts, we can build verifiers that are more resilient to sampling variance. Future work will focus on making the selection of these priors differentiable, allowing models to learn the optimal noise structure dynamically during training.
Summary updated