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

OptProver:通过持续训练在形式定理证明中弥合竞赛与优化的鸿沟

OptProver: Bridging Olympiad and Optimization through Continual Training in Formal Theorem Proving

School of Mathematical Sciences, Peking University(北京大学数学科学学院);Huawei Technologies(华为技术有限公司);Center for Machine Learning Research, Peking University(北京大学机器学习研究中心);Beijing International Center for Mathematical Research, Peking University(北京国际数学研究中心)

Chenyi Li, Yanchen Nie, Zhenyu Ming, Gong Zhang, Kun Yuan, Zaiwen Wen

AI总结:

OptProver通过持续训练实现从竞赛数学到本科优化的高效迁移,结合大规模优化数据筛选与偏好学习目标,提升证明效率与鲁棒性,同时在Lean 4上建立新基准并取得优异成绩。

摘要:

近期形式定理证明的进步集中在竞赛级数学领域,而本科领域研究较少。优化作为机器学习、运筹学和科学计算的基础,现有证明器未能有效覆盖。其依赖于特定形式化(凸性、最优条件和算法分析)导致显著的分布偏移,使简单领域迁移无效。我们提出OptProver,一个经过训练的模型,实现了从竞赛到本科优化的稳健迁移。从强竞赛级证明器出发,我们的流程通过两个关键创新缓解分布偏移:首先,通过专家迭代进行大规模优化聚焦数据筛选;其次,引入专门的偏好学习目标,结合困惑度加权优化与惩罚无效但非进展的证明步骤。这不仅解决分布偏移,还引导搜索向高效轨迹。为严格评估,我们构建了新的Lean 4优化基准。在该基准上,OptProver在同等规模模型中取得最佳Pass@1和Pass@32成绩,同时在通用定理证明任务中保持竞争力,证明了有效的领域迁移而不导致灾难性遗忘。

英文摘要:

Recent advances in formal theorem proving have focused on Olympiad-level mathematics, leaving undergraduate domains largely unexplored. Optimization, fundamental to machine learning, operations research, and scientific computing, remains underserved by existing provers. Its reliance on domain-specific formalisms (convexity, optimality conditions, and algorithmic analysis) creates significant distribution shift, making naive domain transfer ineffective. We present OptProver, a trained model that achieves robust transfer from Olympiad to undergraduate optimization. Starting from a strong Olympiad-level prover, our pipeline mitigates distribution shift through two key innovations. First, we employ large-scale optimization-focused data curation via expert iteration. Second, we introduce a specialized preference learning objective that integrates perplexity-weighted optimization with a mechanism to penalize valid but non-progressing proof steps. This not only addresses distribution shifts but also guides the search toward efficient trajectories. To enable rigorous evaluation, we construct a novel benchmark in Lean 4 focused on optimization. On this benchmark, OptProver achieves state-of-the-art Pass@1 and Pass@32 among comparably sized models while maintaining competitive performance on general theorem-proving tasks, demonstrating effective domain transfer without catastrophic forgetting.

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

↑