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

单调参考无关细化用于自动形式化

Multi-Dimensional Reference-Free Refinement for Autoformalization

Department of Computer Science, University of Manchester(曼彻斯特大学计算机科学系);School of Computer Science, University of Sheffield(谢菲尔德大学计算机科学学院);Idiap Research Institute(Idiap研究所);National Biomarker Centre, CRUK Manchester Institute(国家生物标记中心,CRUK曼彻斯特研究所)

Lan Zhang, Marco Valentino, André Freitas

AI总结:

本文提出一种无需参考的单调迭代过程,用于实现完整定理的自动形式化,通过结合定理证明器和基于LLM的评判者反馈,优化形式有效性、逻辑保持性、数学一致性及形式质量,实现多维度的协同提升。

摘要:

尽管语句自动形式化已取得显著进展,但完整的定理自动形式化仍鲜有探索。现有迭代细化方法通常只改进形式化的孤立方面,如语法正确性,但难以联合优化多个质量维度,这对完整定理自动形式化至关重要。我们引入一种在推理过程中无需参考的单调迭代过程,用于完整定理自动形式化,利用定理证明器和基于LLM的评判者提供的互补反馈,不依赖真实数据或现有形式化。我们的方法优化一个掩码的复合目标,涵盖形式有效性、逻辑保持性、数学一致性和形式质量,通过响应图指导不同LLM在不同角色中优先改进各维度。我们进一步提出一个接受政策,保证认证的单调改进,并提供确保收敛和终止的条件。实证实验表明,所提过程能同时提升多个维度,实现100.00%的形式有效性和miniF2F上的90.27%总体得分,以及ProofNet上的77.96%形式有效性和52.45%总体得分。

英文摘要:

While statement autoformalization has advanced rapidly, full-theorem autoformalization remains largely unexplored. Existing iterative refinement methods for statement autoformalization typically improve isolated aspects of formalization quality, such as syntactic correctness, but struggle to jointly optimize multiple dimensions of quality, a key requirement for full-theorem autoformalization. We introduce a reference-free iterative refinement process for full-theorem autoformalization at inference time that leverages complementary feedback from theorem provers and LLM-based judges, without access to existing formalizations or human intervention. Our approach optimizes a masked composite objective over a hard dimension, formal validity as determined by a theorem prover, and a set of soft dimensions. We introduce an acceptance policy that monotonically improves the estimated composite objective and establish conditional theoretical guarantees characterizing its convergence and behavior under judge uncertainty. We also propose a responsiveness map that characterizes how different LLMs, acting in different roles, preferentially improve these dimensions, enabling principled generator selection. Experiments show that our method improves multiple dimensions of formalization quality, achieving overall scores of 90.27% on miniF2F and 52.45% on ProofNet, with 49.18% and 17.74% of instances having maximum scores across all evaluation dimensions, respectively.

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

↑