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

TRIGO:面向生成式语言模型的形式化数学证明归约基准

TRIGO: Benchmarking Formal Mathematical Proof Reduction for Generative Language Models

Sun Yat-Sen University(中山大学);Peking University(北京大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);City University of Hong Kong(香港城市大学);The Chinese University of Hong Kong(香港中文大学)

Jing Xiong, Jianhao Shen, Ye Yuan, Haiming Wang, Yichun Yin, Zhengying Liu, Lin Li, Zhijiang Guo, Qingxing Cao, Yinya Huang, Chuanyang Zheng, Xiaodan Liang, Ming Zhang, Qun Liu

AI总结:

本文提出TRIGO基准,通过逐步证明归约三角表达式评估生成式语言模型在公式推理与数字项操作上的能力,实验表明该基准对GPT-4等先进模型构成新挑战。

摘要:

自动定理证明(ATP)已成为探索近期成功的生成式语言模型推理能力的吸引人领域。然而,当前的 ATP 基准主要关注符号推理,却很少涉及对复数组合推理的理解。在本工作中,我们提出 TRIGO,这是一个 ATP 基准,不仅要求模型通过逐步证明归约三角表达式,还评估生成式语言模型对公式的推理能力及其操作、分组和分解数字项的能力。我们从网络收集三角表达式及其归约形式,手动标注简化过程,并将其转换为 Lean 形式语言系统。随后,我们基于标注样本自动生成额外示例以扩充数据集。此外,我们开发了一个基于 Lean-Gym 的自动生成器,用于创建具有不同难度和分布的数据集划分,以全面分析模型的泛化能力。我们的大量实验表明,提出的 TRIGO 对包括 GPT-4 在内的高级生成式语言模型构成了新挑战,该模型已基于大量开源形式定理证明语言数据进行预训练,并为研究生成式语言模型在形式与数学推理方面的能力提供了新工具。

英文摘要:

Automated theorem proving (ATP) has become an appealing domain for exploring the reasoning ability of the recent successful generative language models. However, current ATP benchmarks mainly focus on symbolic inference, but rarely involve the understanding of complex number combination reasoning. In this work, we propose TRIGO, an ATP benchmark that not only requires a model to reduce a trigonometric expression with step-by-step proofs but also evaluates a generative LM's reasoning ability on formulas and its capability to manipulate, group, and factor number terms. We gather trigonometric expressions and their reduced forms from the web, annotate the simplification process manually, and translate it into the Lean formal language system. We then automatically generate additional examples from the annotated samples to expand the dataset. Furthermore, we develop an automatic generator based on Lean-Gym to create dataset splits of varying difficulties and distributions in order to thoroughly analyze the model's generalization ability. Our extensive experiments show our proposed TRIGO poses a new challenge for advanced generative LM's including GPT-4 which is pre-trained on a considerable amount of open-source formal theorem-proving language data, and provide a new tool to study the generative LM's ability on both formal and mathematical reasoning.

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

↑