arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.20740cs.CLcs.LG
收藏

VeriBound: 使用形式验证工具训练的过程奖励模型的PAC-Bayesian泛化界

VeriBound: PAC-Bayesian Generalization Bounds for Process Reward Models Trained with Formal Verification Tools

University of Malaya(马来亚大学)

Amirul Rahman, Mohammed Sabih Alsharari

AI总结:

针对形式验证工具标注的过程奖励模型(PRM)缺乏理论解释的问题,提出VeriBound框架,给出PAC-Bayesian泛化界、样本复杂度、收敛速率及下游Best-of-K性能的误差传播界。

摘要:

过程奖励模型(PRM)为大语言模型(LLM)推理提供逐步验证,但其训练数据获取仍是瓶颈:人工标注成本高,蒙特卡洛 rollout 估计有噪声。最近的方法 FOVER 使用形式验证工具(如 Z3 和 Isabelle)自动标注的逐步错误标签训练 PRM,并经验性地观察到从符号任务到多样化推理基准的跨任务泛化。然而,这种泛化现象缺乏任何理论解释,且对于此类 PRM 的泛化误差、样本复杂度、收敛速率或下游 Best-of-K 性能,尚无形式化界。我们提出 VeriBound,一个为使用形式验证工具训练的 PRM 提供 PAC-Bayesian 泛化界的理论框架。我们建立了四个主要结果:(i) 一个 PAC-Bayesian 泛化界,将形式验证标注训练数据上的经验验证误差与未见推理任务上的期望误差联系起来,该界依赖于形式验证准确率以及训练与测试任务分布之间的散度;(ii) 一个样本复杂度结果,表明 $O(d \log(d/\delta) / \epsilon^2)$ 个形式验证标注样本足以以概率 $1-\delta$ 达到泛化误差 $\epsilon$,其中 $d$ 是 PRM 假设类的复杂度;(iii) 一个收敛分析,证明在 $L$-光滑和有界方差条件下,使用形式验证标签的 PRM 训练以线性速率收敛;(iv) 一个误差传播界,将逐步验证误差与 Best-of-K 性能下降联系起来。

英文摘要:

Process Reward Models (PRMs) provide step-level verification for Large Language Model (LLM) reasoning, yet their training data acquisition remains a bottleneck: human annotation is costly and Monte Carlo roll-out estimates are noisy. A recent approach, FOVER, trains PRMs on step-level error labels automatically annotated by formal verification tools such as Z3 and Isabelle, and empirically observes cross-task generalization from symbolic tasks to diverse reasoning benchmarks. However, this generalization phenomenon lacks any theoretical explanation, and no formal bounds exist on the generalization error, sample complexity, convergence rate, or downstream Best-of-K performance of such PRMs. We propose VeriBound, a theoretical framework that provides PAC-Bayesian generalization bounds for PRMs trained with formal verification tools. We establish four main results: (i) a PAC-Bayesian generalization bound that relates the empirical verification error on formal-verification-annotated training data to the expected error on unseen reasoning tasks, with the bound depending on the formal verification accuracy and the divergence between training and test task distributions; (ii) a sample complexity result showing that $O(d \log(d/δ) / ε^2)$ formal-verification-annotated examples suffice to achieve generalization error $ε$ with probability $1-δ$, where $d$ is the complexity of the PRM hypothesis class; (iii) a convergence analysis proving that PRM training with formal verification labels converges at a linear rate under $L$-smoothness and bounded variance conditions; and (iv) an error propagation bound that relates step-level verification error to Best-of-K performance degradation.

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

↑