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

协同LLM与符号推理证明奥林匹克不等式

Proving Olympiad Inequalities by Synergizing LLMs and Symbolic Reasoning

Nanjing University(南京大学);University of Toronto(多伦多大学);Peking University(北京大学);Microsoft Research(微软研究院);Meta FAIR

Zenan Li, Zhaoyu Li, Wen Tang, Xian Zhang, Yuan Yao, Xujie Si, Fan Yang, Kaiyu Yang, Xiaoxing Ma

AI总结:

本文提出一种神经符号策略生成器,协同LLM的数学直觉与符号方法,分别处理重写和缩放策略,并在161个竞赛不等式上取得最先进性能。

摘要:

大型语言模型(LLMs)可以通过在证明系统中生成证明步骤(即策略)来形式化地证明数学定理。然而,可能的策略空间庞大且复杂,而形式化证明的可用训练数据有限,这对基于LLM的策略生成构成了重大挑战。为了解决这一问题,我们引入了一种神经符号策略生成器,它将LLM学到的数学直觉与符号方法编码的领域特定见解协同起来。这种集成的关键在于识别数学推理的哪些部分最适合LLM,哪些适合符号方法。虽然神经符号集成的高层思想广泛适用于各种数学问题,但在本文中,我们特别关注奥林匹克不等式(图1)。我们分析人类如何解决这些问题,并将技术提炼为两种策略:(1)缩放,由符号方法处理;(2)重写,由LLM处理。此外,我们将符号工具与LLM结合,以修剪和排序证明目标,实现高效的证明搜索。我们在来自多个数学竞赛的161个具有挑战性的不等式上评估了我们的框架,取得了最先进的性能,并且在没有额外训练数据的情况下显著优于现有的LLM和符号方法。

英文摘要:

Large language models (LLMs) can prove mathematical theorems formally by generating proof steps (\textit{a.k.a.} tactics) within a proof system. However, the space of possible tactics is vast and complex, while the available training data for formal proofs is limited, posing a significant challenge to LLM-based tactic generation. To address this, we introduce a neuro-symbolic tactic generator that synergizes the mathematical intuition learned by LLMs with domain-specific insights encoded by symbolic methods. The key aspect of this integration is identifying which parts of mathematical reasoning are best suited to LLMs and which to symbolic methods. While the high-level idea of neuro-symbolic integration is broadly applicable to various mathematical problems, in this paper, we focus specifically on Olympiad inequalities (Figure~1). We analyze how humans solve these problems and distill the techniques into two types of tactics: (1) scaling, handled by symbolic methods, and (2) rewriting, handled by LLMs. In addition, we combine symbolic tools with LLMs to prune and rank the proof goals for efficient proof search. We evaluate our framework on 161 challenging inequalities from multiple mathematics competitions, achieving state-of-the-art performance and significantly outperforming existing LLM and symbolic approaches without requiring additional training data.

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

↑