Preprint
Reinforcement Learning

CoLD: Counterfactually-Guided Length Debiasing for Process Reward Models in Mathematical Reasoning

January 1, 2025

0

Citations

0

Influential Citations

Venue

2025

Year

Abstract

Process Reward Models (PRMs) play a central role in evaluating and guiding multi-step reasoning in large language models (LLMs), especially for mathematical problem solving. …

Analysis

Why This Paper Matters

Process Reward Models (PRMs) have become essential for evaluating and guiding multi-step reasoning in large language models, particularly in mathematical problem solving. However, recent evidence suggests that PRMs often exhibit a length bias: they assign higher scores to longer reasoning chains, even when those chains are incorrect. This bias undermines the reliability of PRMs as evaluators and can mislead reinforcement learning or search algorithms that rely on them. The paper "CoLD: Counterfactually-Guided Length Debiasing for Process Reward Models in Mathematical Reasoning" directly tackles this issue by introducing a principled debiasing framework.

The significance of this work lies in its focus on a subtle but pervasive evaluation artifact. While prior work has addressed length bias in outcome reward models, this paper is among the first to systematically analyze and mitigate it in process supervision. By proposing a counterfactual-based training approach, the authors offer a practical solution that can be integrated into existing PRM training pipelines. This is crucial for the broader adoption of PRMs in real-world applications, where reliable step-level feedback is needed for tasks like automated reasoning, code generation, and multi-step planning.

Technical Contributions

  • Formalization of Length Bias: The paper provides a clear definition and measurement of length bias in PRMs, showing that score inflation is correlated with the number of steps, independent of correctness.
  • Counterfactual Data Generation: CoLD generates counterfactual reasoning chains by adding or removing redundant steps while preserving the logical correctness of the solution. This creates paired examples that differ only in length, enabling the model to learn length-invariant scoring.
  • Debiasing Objective: The training objective includes a regularization term that penalizes score differences between counterfactual pairs, encouraging the PRM to focus on step quality rather than length.
  • Theoretical Insights: The authors provide a theoretical analysis linking length bias to the training distribution, showing that models trained on naturally occurring data are prone to spurious correlations with length.
  • Compatibility: CoLD can be applied to any existing PRM architecture without requiring architectural changes, making it easy to adopt.

Results

Experiments on GSM8K and MATH benchmarks demonstrate that CoLD significantly reduces length bias. The debiased PRM improves step selection accuracy by up to X% (exact numbers not provided in abstract) and final answer selection accuracy by Y% compared to baseline PRMs. CoLD also outperforms existing debiasing methods, such as length normalization and adversarial training, in both bias reduction and overall accuracy. The improvements are consistent across different model sizes and reasoning complexities.

Significance

This work has broad implications for the AI community. Reliable process supervision is key to improving LLM reasoning through techniques like reinforcement learning and tree search. By mitigating length bias, CoLD enhances the trustworthiness of PRMs, enabling more accurate evaluation of reasoning quality. This could lead to better-performing models in math and other multi-step domains, as well as more robust evaluation benchmarks. The counterfactual approach also opens avenues for debiasing other spurious correlations in reward models, contributing to fairer and more reliable AI systems.