arXiv:2502.17498cs.LGcs.AI2025-02

通过结构先验注入提升大模型推理中的价值验证效果

Improving Value-based Process Verifier via Structural Prior Injection

  • 将采样值转化为类别分布期望,从分布角度建模采样误差
  • 在Best-of-N和束搜索任务中性能提升1~2点,代价极低
  • 合理设计先验对验证器表现至关重要,不同先验差异显著

在大语言模型推理场景中,人们常通过蒙特卡洛采样估计状态价值。尽管该方法诱导偏差小,但受限于采样数量,噪声与误差不可避免。为此,本文将结构先验注入价值表示,将标量值转换为预定义类别分布的期望,从分布角度表征采样噪声与误差。具体地,将蒙特卡洛采样结果视为先验真实二项分布的一个样本,通过后验估计分布与真实分布之间的不匹配程度来量化采样误差,并采用分布选择优化进行优化。我们在Best-of-N任务和束搜索任务上测试了基于价值的流程验证器性能。相比标量值表示,不同目标函数或优化方法所引入的合理结构先验可使验证器性能提升约1~2个点,且成本极低。此外,即使最优解相同,不同结构先验下的验证器表现差异显著,凸显合理结构先验注入的重要性。

原文摘要 · Abstract (English)

In the Large Language Model(LLM) reasoning scenario, people often estimate state value via Monte Carlo sampling. Though Monte Carlo estimation is an elegant method with less inductive bias, noise and errors are inevitably introduced due to the limited sampling. To handle the problem, we inject the structural prior into the value representation and transfer the scalar value into the expectation of a pre-defined categorical distribution, representing the noise and errors from a distribution perspective. Specifically, by treating the result of Monte Carlo sampling as a single sample from the prior ground-truth Binomial distribution, we quantify the sampling error as the mismatch between posterior estimated distribution and ground-truth distribution, which is thus optimized via distribution selection optimization. We test the performance of value-based process verifiers on Best-of-N task and Beam search task. Compared with the scalar value representation, we show that reasonable structural prior injection induced by different objective functions or optimization methods can improve the performance of value-based process verifiers for about 1$\sim$2 points at little-to-no cost. We also show that under different structural prior, the verifiers' performances vary greatly despite having the same optimal solution, indicating the importance of reasonable structural prior injection.

大模型推理价值验证结构先验蒙特卡洛

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