用于构建数学库的一致性自动形式化
Consistent Autoformalization for Constructing Mathematical Libraries
AI总结:
针对大语言模型单独完成自动形式化一致性不足的问题,提出协同运用MS-RAG、去噪步骤和Auto-SEF三种机制,可提升不同模型自动形式化的句法、术语与语义一致性,助力大型数学库构建。
摘要:
自动形式化是将自然语言书写的数学内容自动翻译为形式语言表达式的任务。大语言模型(LLM)不断增强的语言理解能力(包括对形式语言的理解)正在降低自动形式化的门槛。然而,仅靠LLM无法持续、可靠地完成自动形式化,尤其是当目标领域的复杂性和专业性提升时。随着该领域朝着将自动形式化系统应用于大型数学库的方向发展,提升句法、术语和语义层面的管控需求日益迫切。本文提出协同运用三种机制:最相似检索增强生成(MS-RAG)、去噪步骤,以及带句法错误反馈的自动纠错(Auto-SEF),以提升自动形式化的质量。针对不同模型的实证分析表明,这些机制能够产出在句法、术语和语义上更具一致性的自动形式化结果。这些机制可应用于不同的LLM,且已被证明能在多种模型类型上取得效果提升。
英文摘要:
Autoformalization is the task of automatically translating mathematical content written in natural language to a formal language expression. The growing language interpretation capabilities of Large Language Models (LLMs), including in formal languages, are lowering the barriers for autoformalization. However, LLMs alone are not capable of consistently and reliably delivering autoformalization, in particular as the complexity and specialization of the target domain grows. As the field evolves into the direction of systematically applying autoformalization towards large mathematical libraries, the need to improve syntactic, terminological and semantic control increases. This paper proposes the coordinated use of three mechanisms, most-similar retrieval augmented generation (MS-RAG), denoising steps, and auto-correction with syntax error feedback (Auto-SEF) to improve autoformalization quality. The empirical analysis, across different models, demonstrates that these mechanisms can deliver autoformalizaton results which are syntactically, terminologically and semantically more consistent. These mechanisms can be applied across different LLMs and have shown to deliver improve results across different model types.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。