为多样本训练,用单样本更新:通过芬歇尔-布雷格曼后验学习改进多样本推理
Train for Many, Update with One: Improving Multi-Sample Reasoning via Fenchel-Bregman Posterior Learning
AI总结:
该研究针对多样本推理的候选覆盖率优化问题,提出芬歇尔-布雷格曼后验学习方法,结合IVON得到FBI,在多类推理任务中提升覆盖率且训练效率更高。
摘要:
多样本推理衡量候选覆盖率,即K个候选中至少有一个正确的概率。然而,最小化单个尝试的平均损失并不能直接优化候选覆盖率。因此,我们提出有限K后验学习,该方法对求解器参数的分布进行训练,以降低所有K个独立生成的候选均失败的概率。为高效优化此目标,我们提出芬歇尔-布雷格曼(FB)方法,该方法每次更新仅需一次后验采样,而非直接蒙特卡洛优化所用的K次采样。FB首先采用精确的芬歇尔重公式,将特定问题的权重与后验更新分离,实现单采样后验更新;随后应用闭式布雷格曼更新,通过观测失败的指数滑动平均跟踪这些权重,复用同一采样。我们将FB与IVON(一种针对求解器参数高斯后验的变分优化器)结合,得到芬歇尔-布雷格曼IVON(FBI)。在各类递归和自回归推理任务中,FBI提升了候选覆盖率;在匹配对比中,其每次更新的训练时间仅为直接蒙特卡洛基线的12.3%,却达到了相当的Pass@10性能。
英文摘要:
Multi-sample reasoning measures candidate coverage, the probability that at least one of $K$ candidates is correct. However, minimizing the average loss of individual attempts does not directly optimize candidate coverage. We therefore formulate finite-$K$ posterior learning, which trains a distribution over solver parameters to reduce the probability that all $K$ independently generated candidates fail. To optimize this objective efficiently, we propose a Fenchel-Bregman (FB) approach that requires only one posterior draw per update, rather than the $K$ used by direct Monte Carlo optimization. FB first uses an exact Fenchel reformulation to separate problem-specific weights from the posterior update, enabling one-draw posterior updates. It then applies a closed-form Bregman update to track these weights through an exponential running average of observed failures, reusing the same draw. We instantiate FB with IVON, a variational optimizer for Gaussian posteriors over solver parameters, yielding Fenchel-Bregman IVON (FBI). Across diverse recursive and autoregressive reasoning tasks, FBI improves candidate coverage. In a matched comparison, it achieves comparable Pass@10 using 12.3% of the direct Monte Carlo baseline's measured training time per update.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。