TL;DR
Process Reward Models (PRMs) evaluate intermediate reasoning steps in LLMs, but they are prone to errors and reward hacking. This paper introduces CoT Entropy, an uncertainty quantification (UQ) technique that clusters generated rationales around binary verification decisions to detect when a judge LLM is unsure. By filtering out uncertain verification steps, the method significantly boosts verification reliability and process-supervision precision on complex mathematical reasoning tasks.
What Problem Does This Paper Address?
Outcome-only reward models evaluate only the final answer of a chain-of-thought (CoT), often rewarding "false positives"—solutions that reach the correct answer through flawed logic. While Process Reward Models (PRMs) tackle this by scoring each individual reasoning step, they present their own vulnerabilities: step annotations are noisy, and PRMs can be exploited via reward hacking during reinforcement learning (RL).
Applying standard uncertainty quantification to multi-step reasoning verifiers is non-trivial. While methods like Semantic Entropy (SE) assess QA uncertainty by clustering semantically equivalent text using natural language inference (NLI) models, defining semantic equivalence over long, complex mathematical reasoning chains is difficult. The authors investigate how to reliably quantify uncertainty in a generative "judge-LM" performing step-wise verification.
Methods
The authors formulate step-wise verification using a generative judge LLM (here, Qwen2-Math-72B-Instruct) that outputs an intermediate critique/rationale $c$ followed by a binary decision $e \in \{0, 1\}$ ("has error" or "no error").
To quantify uncertainty over this decision:
- Sampling diverse rationales: Given context $x_t$ (problem, previous steps, and candidate step), the model samples multiple critique-and-decision paths: $c \sim p_\theta(\cdot \mid x_t)$ and $e \sim p_\theta(\cdot \mid c)$.
- Outcome-based clustering: Instead of using NLI models to group semantically similar critique texts, the authors exploit the binary output space ($e \in \{0, 1\}$) to partition rationales into two functional clusters: correct ($0$) and incorrect ($1$).
-
Marginalization (CoT Entropy): The posterior predictive probability over decisions is approximated by marginalizing over the sampled rationales: $$p_\theta(E_t = e \mid x_t) \approx \sum_c p_\theta(e \mid x_t, c) p_\theta(c \mid x_t)$$ CoT Entropy computes the Shannon entropy over this aggregated binary distribution.
-
Uncertainty Decomposition: The authors decompose total predictive uncertainty into epistemic uncertainty (mutual information between rationales and the binary label, indicating model knowledge deficiency) and aleatoric uncertainty (expected label noise).
Datasets
- PRM800K: A benchmark of 800,000 GPT-4-generated solution steps on challenging competition math problems from the MATH dataset, human-annotated for step correctness (positive, negative, or neutral).
- Evaluation Subset: The authors evaluate on 150 test problems comprising 1,152 steps. The dataset exhibits significant class imbalance: only 129 steps (11.2%) contain errors.
Key Insights and Ideas
- Binary clustering bypasses NLI limitations: Text-level semantic equivalence models stumble on nuanced mathematical proofs. Grouping rationales by their explicit binary verification decision offers a clean, tractable way to compute outcome-level entropy.
- Token probabilities matter: A discrete frequency-based version (counting sample fractions without token likelihoods) performed noticeably worse. Unlike QA semantic entropy, probability magnitudes conditioned on reasoning paths carry vital confidence signals in hard math steps.
- Errors stem from model ignorance, not data noise: Decomposing predictive uncertainty revealed that epistemic uncertainty closely matches the total predictive uncertainty curve, while aleatoric uncertainty falls behind. Verifier mistakes are driven by model limitations in math reasoning rather than ambiguous label definitions.
Key Results
The authors evaluated how effectively uncertainty metrics distinguish correct verification decisions from incorrect ones, reporting AUROC, AUPRC, and Area Under the Rejection-F1 Curve (AU-F1C):
| Method | AUROC | AUPRC | AU-F1C |
|---|---|---|---|
| Random Baseline | $0.521 \pm 0.024$ | $0.786 \pm 0.010$ | $0.279 \pm 0.019$ |
| Naive Token Entropy | $0.408 \pm 0.013$ | $0.742 \pm 0.004$ | $0.265 \pm 0.009$ |
| $P(\text{True})$ | $0.329 \pm 0.015$ | $0.671 \pm 0.007$ | $0.302 \pm 0.007$ |
| SEU (NV-Embed) | $0.616 \pm 0.011$ | $0.759 \pm 0.009$ | $0.330 \pm 0.010$ |
| SEU (MiniLM) | $0.661 \pm 0.029$ | $0.862 \pm 0.055$ | $0.304 \pm 0.010$ |
| CoT Entropy (Ours) | $0.680 \pm 0.017$ | $0.885 \pm 0.005$ | $0.348 \pm 0.009$ |
- Selective Classification: Filtering out uncertain verifications systematically improved verification quality across rejection thresholds (rejection F1 increased up to $\sim 0.51$ at 60% retention, compared to the unselective baseline of $\sim 0.40$).
- Outperforming External Embeddings: CoT Entropy outperformed Semantic Embedding Uncertainty (SEU) baselines without needing external sentence embedding models.
Limitations and Future Work
- Prompt Engineering: The judge-LM relied on a static prompt; prompt optimization could further improve reasoning consistency and JSON schema parsing.
- Computational Cost: Sampling 10 high-temperature rationales per step increases inference latency and compute overhead.
- Downstream Integration: The current work evaluates uncertainty statically on PRM800K. Future work aims to integrate these uncertainty estimates actively into reinforcement learning pipelines to mitigate reward hacking and guide inference-time tree search (e.g., MCTS).
Summary updated