Thor:挥舞锤子集成语言模型和自动定理证明器
Thor: Wielding Hammers to Integrate Language Models and Automated Theorem Provers
摘要:
在定理证明中,从一个大的库中选择有用的前提来解开一个给定猜想的证明是至关重要的。这对所有定理证明器提出了挑战,特别是那些基于语言模型的定理证明器,因为它们相对无法以文本形式推理大量前提。本文介绍了托尔,框架集成语言模型和自动定理证明,以克服这一困难。在Thor中,一种称为锤子的方法利用了自动定理证明器的功能,用于前提选择,而所有其他任务都指定给语言模型。Thor将语言模型在PISA数据集上的成功率从$39\%$提高到$57\%$,同时解决语言模型和自动定理证明器都无法解决的问题的$8.2\%$。此外,由于计算预算明显较小,Thor可以在MiniF2F数据集上实现与现有最佳方法相当的成功率。Thor可以通过我们提供的简单协议为大多数流行的交互式定理证明器实例化。
英文摘要:
In theorem proving, the task of selecting useful premises from a large library to unlock the proof of a given conjecture is crucially important. This presents a challenge for all theorem provers, especially the ones based on language models, due to their relative inability to reason over huge volumes of premises in text form. This paper introduces Thor, a framework integrating language models and automated theorem provers to overcome this difficulty. In Thor, a class of methods called hammers that leverage the power of automated theorem provers are used for premise selection, while all other tasks are designated to language models. Thor increases a language model's success rate on the PISA dataset from $39\%$ to $57\%$, while solving $8.2\%$ of problems neither language models nor automated theorem provers are able to solve on their own. Furthermore, with a significantly smaller computational budget, Thor can achieve a success rate on the MiniF2F dataset that is on par with the best existing methods. Thor can be instantiated for the majority of popular interactive theorem provers via a straightforward protocol we provide.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。