Optimal Aggregation of LLM and PRM Signals for Efficient Test-Time Scaling

Peng Kuang, Yanli Wang, Xiaoyu Han, Yaowenqi Liu, Kaidi Xu, Haohan Wang

Introduction

In the pursuit of advanced reasoning capabilities, researchers have increasingly turned to Test-Time Scaling (TTS). Instead of solely relying on larger base models, TTS allows models to "think" more during inference by generating multiple candidate solutions. However, the success of this "generate-and-select" pipeline hinges entirely on the selection mechanism.

Currently, the field relies on two primary strategies: Self-Consistency (SC), which uses a simple majority vote among generated answers, and Best-of-N (BoN), which employs a Process Reward Model (PRM) to score reasoning steps and pick the single highest-scoring response.

Paradoxically, simple majority voting often outperforms the computationally expensive PRM-based selection. This suggests that current methods fail to fully utilize the nuanced verification signals PRMs provide. This paper addresses a critical question: How can we mathematically combine the LLM's consensus with the PRM's verification signals to identify the optimal answer?

A Mathematical Framework for Aggregation

To solve this, the authors formalize response aggregation as a Maximum a Posteriori (MAP) estimation problem. They derive an optimal scoring function where the weight ($w_i$) assigned to each response is the sum of two distinct components:

  1. The PRM Signal Term: Derived from the likelihood ratio of a specific score occurring for a correct versus an incorrect response.
  2. The LLM Signal Term: Based on the LLM’s intrinsic reliability, effectively capturing how difficult the question is for that specific model.

Because the "true" optimal weights are unknown at test time, the authors propose three practical calibration methods using a small, one-time pre-computed dataset:

  • KDE Weighted Voting (KDE WV): A non-parametric approach using Kernel Density Estimation to model score distributions.
  • Logit Weighted Voting (Logit WV): A parametric approach that treats the weight as logit(p) - logit(b), where $b$ is a learned "zero-crossing" threshold.
  • Linear Weighted Voting (Linear WV): A simpler baseline using p - b.
Optimal weighting functions across different LLM-PRM pairs showing the assignment of negative weights to low PRM scores.

Key Insights: The Power of "No"

Perhaps the most striking finding from this theoretical framework is that optimal weighting functions consistently assign negative weights to low PRM scores. In standard BoN, a poor response is simply ignored. In this optimal framework, a bad response actively provides evidence against its proposed answer.

Furthermore, the relationship between a PRM score and the probability of correctness varies wildly depending on the LLM generating the answer. A score of "0.7" from a PRM might indicate a highly likely correct answer for one model, but merely a coin flip for another. This proves that calibration must be specific to the LLM-PRM pair; there is no one-size-fits-all weight.

Efficiency and Performance Gains

The study evaluated these methods across 35 combinations of 5 LLMs (including Mistral-7B, Qwen2.5, and DeepSeek) and 7 PRMs using standard mathematical reasoning benchmarks (MATH & MATH500) and broader datasets (MMLU-Pro-CoT-Eval).

Scaling curves demonstrating that calibrated weighted voting achieves superior accuracy while using only a fraction of the compute.

The results demonstrate that investing in a smarter aggregation strategy yields much higher returns than simply scaling up the number of samples ($N$) via brute force:

  • Massive Efficiency Gains: On the MATH500 dataset, the Logit WV method achieved higher accuracy than vanilla weighted voting while using only 21.3% of the test-time computation.
  • Accuracy Boost: For specific model pairs, such as the Llama3.1-Mistral-8B PRM, calibrated voting outperformed the best baseline by an average of 3 percentage points across 5 LLMs.
  • Robust Transferability: Weights calibrated on one specific domain (e.g., Chemistry) remained highly effective when tested on entirely different subjects (e.g., Law or History), proving the robustness of the calibration method.

Limitations and Future Directions

While highly effective, the theoretical framework assumes that LLM generations and PRM scores are conditionally independent, which simplifies the complex dependencies found in real-world model interactions. Additionally, the current calibration learns a "global" weighting function for a model pair, whereas the truly optimal weight likely varies on a per-question basis.

Future work will explore developing "meta-models" capable of adapting weighting functions dynamically at test time, based on specific features of the question or the initial batch of responses. Ultimately, this research proves that intelligent signal aggregation is a far more efficient path to reasoning performance than simply scaling test-time compute.

Summary updated

BibTeX
@inproceedings{kuang2026optimal,
  author = {Peng Kuang and Yanli Wang and Xiaoyu Han and Yaowenqi Liu and Kaidi Xu and Haohan Wang},
  title = {{Optimal Aggregation of LLM and PRM Signals for Efficient Test-Time Scaling}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=x85kiYqL4y},
}
Figure