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

通过语义相似改写评估自动形式化鲁棒性

Evaluating Autoformalization Robustness via Semantically Similar Paraphrasing

Department of Computer Science and Engineering, The Pennsylvania State University(宾夕法尼亚州立大学计算机科学与工程系)

Hayden Moore, Asfahan Shah

AI总结:

本文通过语义相似改写生成自然语言变体,评估大语言模型在自动形式化中生成形式证明的鲁棒性,发现自然语言表述的微小变化会显著影响模型输出。

摘要:

大语言模型(LLMs)最近成为自动形式化的强大工具。尽管性能令人印象深刻,这些模型仍可能难以产生扎实且可验证的形式化。文本到SQL领域的最新工作表明,即使保留高度的语义保真度,LLMs对改写的自然语言(NL)输入也可能敏感。在本文中,我们在自动形式化领域调查了这一说法。具体而言,我们通过测量语义和编译有效性,评估LLMs在生成具有语义相似改写NL语句的形式证明时的鲁棒性。使用形式基准MiniF2F和Lean 4版本的ProofNet,以及两个现代LLMs,我们生成改写的自然语言语句,并在两个模型上交叉评估这些语句。本文的结果揭示了改写输入之间的性能变异性,表明NL语句的微小变化会显著影响模型输出。

英文摘要:

Large Language Models (LLMs) have recently emerged as powerful tools for autoformalization. Despite their impressive performance, these models can still struggle to produce grounded and verifiable formalizations. Recent work in text-to-SQL, has revealed that LLMs can be sensitive to paraphrased natural language (NL) inputs, even when high degrees of semantic fidelity are preserved. In this paper, we investigate this claim in the autoformalization domain. Specifically, we evaluate the robustness of LLMs generating formal proofs with semantically similar paraphrased NL statements by measuring semantic and compilation validity. Using the formal benchmarks MiniF2F and Lean 4 version of ProofNet, and two modern LLMs, we generate paraphrased natural language statements and cross-evaluate these statements across both models. The results of this paper reveal performance variability across paraphrased inputs, demonstrating that minor shifts in NL statements can significantly impact model outputs.

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

↑