arXiv:2510.05095cs.LGcs.AI2025-10

通过优化梯度方差提升大模型推理对齐效果

From Noisy Traces to Stable Gradients: Bias-Variance Optimized Preference Optimization for Aligning Large Reasoning Models

  • 融合高方差轨迹梯度与低方差空轨迹梯度,降低训练波动
  • 在AlpacaEval2上比基线最高提升7.8分,数学推理平均增4.0分
  • 适合需要稳定训练和强推理能力的对齐任务研究者

大型推理模型(LRMs)在生成最终答案前会产出中间推理轨迹,在多步和数学任务中表现优异。但将其与人类偏好对齐仍缺乏深入研究。理论上,偏好对齐需对推理轨迹进行边缘化,但实际计算不可行。常用方法仅优化单个采样轨迹,导致梯度方差显著。本文从偏差-方差权衡视角出发,提出偏差-方差优化偏好优化(BVPO),一种简单可直接替换的方法:混合高方差轨迹梯度估计器与低方差空轨迹梯度估计器(禁用推理轨迹生成)。理论证明,任意非平凡混合均严格降低轨迹引入的方差;给出最小均方误差的闭式混合权重;在标准光滑性和步长条件下,收紧了随机梯度下降的经典收敛界。实验表明,BVPO在AlpacaEval2上较最优基线最高提升7.8分,在Arena-Hard上提升6.8分。即使仅在通用对话数据上训练,也能使基础模型在六个数学推理基准平均提升4.0分。结果表明,轨迹采样方差是关键瓶颈,直接优化偏差-方差权衡可实现更稳定训练与更强性能。

原文摘要 · Abstract (English)

Large reasoning models (LRMs) generate intermediate reasoning traces before producing final answers, yielding strong gains on multi-step and mathematical tasks. Yet aligning LRMs with human preferences, a crucial prerequisite for model deployment, remains underexplored. The statistically correct objective for preference alignment requires marginalizing over reasoning traces, but this computation is intractable in practice. A common workaround optimizes a single sampled trajectory, which introduces substantial gradient variance from stochastic trace sampling. To address this challenge, we frame preference optimization for LRMs through the lens of the bias--variance trade-off and propose Bias--Variance Optimized Preference Optimization (BVPO), a simple, drop-in method that mixes two gradient estimators: a high-variance trace-based estimator and a low-variance empty-trace estimator obtained by disabling reasoning trace generation. Our theory shows that BVPO strictly reduces trace-induced variance for any nontrivial mixture, provides a closed-form choice of the mixing weight that minimizes mean-squared error relative to the true marginal gradient, and under standard smoothness and step-size conditions, tightens classical convergence bounds for stochastic gradient descent. Empirically, BVPO improves alignment over the best baseline by up to 7.8 points on AlpacaEval~2 and 6.8 points on Arena-Hard. Despite being trained only on general conversational data, BVPO also boosts reasoning performance for base models by up to 4.0 points on the average of six math reasoning benchmarks. These results identify variance from trace sampling as a key bottleneck and demonstrate that directly optimizing the bias--variance trade-off yields more stable training and stronger overall performance.

推理对齐梯度优化偏差方差

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。