Calibration-Aware Policy Optimization for Reasoning LLMs
AI 摘要
针对LLM推理中校准退化问题,提出校准感知策略优化(CAPO),提升校准度并保持或提升推理精度。
主要贡献
- 证明GRPO算法的校准退化源于不确定性无关的优势估计
- 提出校准感知策略优化(CAPO)算法,包含logistic AUC surrogate loss和噪声掩蔽机制
- 实验证明CAPO在数学推理任务上提升校准度并保持或提升精度,并改进下游缩放任务
方法论
提出CAPO算法,通过logistic AUC surrogate loss进行不确定性感知的优势估计,并结合噪声掩蔽机制稳定学习。
原文摘要
Group Relative Policy Optimization (GRPO) enhances LLM reasoning but often induces overconfidence, where incorrect responses yield lower perplexity than correct ones, degrading relative calibration as described by the Area Under the Curve (AUC). Existing approaches either yield limited improvements in calibration or sacrifice gains in reasoning accuracy. We first prove that this degradation in GRPO-style algorithms stems from their uncertainty-agnostic advantage estimation, which inevitably misaligns optimization gradients with calibration. This leads to improved accuracy at the expense of degraded calibration. We then propose Calibration-Aware Policy Optimization (CAPO). It adopts a logistic AUC surrogate loss that is theoretically consistent and admits regret bound, enabling uncertainty-aware advantage estimation. By further incorporating a noise masking mechanism, CAPO achieves stable learning dynamics that jointly optimize calibration and accuracy. Experiments on multiple mathematical reasoning benchmarks show that CAPO-1.5B significantly improves calibration by up to 15% while achieving accuracy comparable to or better than GRPO, and further boosts accuracy on downstream inference-time scaling tasks by up to 5%. Moreover, when allowed to abstain under low-confidence conditions, CAPO achieves a Pareto-optimal precision-coverage trade-off, highlighting its practical value for hallucination mitigation.