arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.01160cs.AI
收藏

形式数学验证中生成式奖励建模的期望值对齐

Expected Value Alignment for Generative Reward Modeling in Formal Mathematics Verification

Shihao Ji, Haotao Tan, Zihui Song, Mingyu Li

AI总结:

提出期望值对齐(EVA)方法,通过从模型词元分布中提取连续分数,在保持生成式奖励模型离散输出的同时实现连续评分,用于Lean 4形式验证。

摘要:

大型语言模型(LLMs)越来越多地与形式化交互式定理证明器(如Lean 4)一起使用。通过强化学习或搜索方法扩展这些系统需要能够评估中间推理步骤的过程奖励模型(PRMs)。现有的奖励模型设计暴露了一个实际的权衡。值头模型提供连续分数但修改了生成模型接口,而生成式奖励模型保留了文本理由但难以匹配连续浮点回归,因为数值被分割到多个词元上。我们引入了期望值对齐(EVA),一种奖励建模过程,它保持表面输出离散,同时从模型的词元分布中提取连续分数。模型以结构化的JSON格式输出整数分数,EVA计算对应锚定词元logits的期望值作为连续分数。训练结合了因果语言建模目标与这些期望值的辅助均方误差损失。我们在 extit{Leibniz}中实例化EVA,这是一个用于Lean 4形式验证的奖励模型,并针对零样本和奖励建模基线进行了评估。评估表明,基于logits的连续评分显著减少了离散化伪影,同时保留了生成式批评的可解释性。

英文摘要:

Large Language Models (LLMs) are increasingly used with formal interactive theorem provers such as Lean 4. Scaling these systems with reinforcement learning or search methods requires process reward models (PRMs) that can evaluate intermediate reasoning steps. Existing reward-model designs expose a practical trade-off. Value-head models provide continuous scores but modify the generative model interface, while generative reward models preserve textual rationales but are poorly matched to continuous floating-point regression because numeric values are split across tokens. We introduce Expected Value Alignment (EVA), a reward-modeling procedure that keeps the surface output discrete while extracting continuous scores from the model's token distribution. The model emits integer scores in a structured JSON format, and EVA computes a continuous score as the expectation over the logits of the corresponding anchor tokens. Training combines the causal language modeling objective with an auxiliary mean squared error loss on these expected values. We instantiate EVA in \textit{Leibniz}, a reward model for Lean 4 formal verification, and evaluate it against zero-shot and reward-modeling baselines. The evaluation demonstrates that continuous logit-based scoring significantly reduces discretization artifacts while retaining the interpretability of generative critiques.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑