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

证明生成中大语言模型训练的最优数据顺序假设:下一词元预测任务

Next-Token Prediction Task Assumes Optimal Data Ordering for LLM Training in Proof Generation

University of California, San Diego(加州大学圣地亚哥分校);Microsoft Research(微软研究院);Vanderbilt University(范德比尔特大学)

Chenyang An, Shima Imani, Feng Yao, Chengyu Dong, Ali Abbasi, Harsh Shrivastava, Samuel Buss, Jingbo Shang, Gayathri Mahalingam, Pramod Sharma, Maurice Diesendruck

AI总结:

本文提出大语言模型证明生成训练中数据顺序影响性能,主张将相关中间监督置于证明步骤左侧的直觉顺序最优,并通过命题逻辑定理证明和数字乘法实验验证了顺序效应及显著性能差距。

摘要:

在基于大语言模型(LLM)的证明生成领域,尽管在诸如 ArXiv 这样的大型数据集上进行了广泛训练,LLM 在中等难度的证明任务上仍然只表现出有限的性能。我们认为,这部分是由于训练中每个证明所使用的数据内部普遍存在次优顺序。例如,已发表的证明通常遵循纯粹的逻辑顺序,其中每一步都基于演绎规则从之前的步骤逻辑地推出。这种顺序旨在便于验证证明的正确性,而不是帮助人和模型学习证明的发现过程。在证明生成中,我们认为,当一个训练数据样本中某个特定证明步骤的相关中间监督信息始终位于该证明步骤的左侧时,该样本就处于最优顺序。我们将这种顺序称为直觉顺序。我们使用两个任务来验证我们的主张:直觉主义命题逻辑定理证明和数字乘法。我们的实验验证了顺序效应,并为我们的解释提供了支持。我们证明,当证明处于直觉顺序时,训练效果最好。此外,顺序效应以及在不同数据顺序上训练的模型之间的性能差距可能是显著的——在命题逻辑定理证明任务中,在最优顺序上训练的模型与在最差顺序上训练的模型相比,证明成功率提高了 11%。最后,我们定义了高等数学证明中一种常见的顺序问题类型,并发现一本广泛使用的研究生级数学教科书前两章中具有非平凡证明的定理中有 17.3% 存在这一问题。这些证明的详细列表在附录中提供。

英文摘要:

In the field of large language model (LLM)-based proof generation, despite extensive training on large datasets such as ArXiv, LLMs still exhibit only modest performance on proving tasks of moderate difficulty. We believe that this is partly due to the widespread presence of suboptimal ordering within the data for each proof used in training. For example, published proofs often follow a purely logical order, where each step logically proceeds from the previous steps based on the deductive rules. This order is designed to facilitate the verification of the proof's soundness, rather than to help people and models learn the discovery process of the proof. In proof generation, we argue that the optimal order for one training data sample occurs when the relevant intermediate supervision for a particular proof step in the proof is always positioned to the left of that proof step. We call such order the intuitively sequential order. We validate our claims using two tasks: intuitionistic propositional logic theorem-proving and digit multiplication. Our experiments verify the order effect and provide support for our explanations. We demonstrate that training is most effective when the proof is in the intuitively sequential order. Moreover, the order effect and the performance gap between models trained on different data orders can be substantial -- with an 11 percent improvement in proof success rate observed in the propositional logic theorem-proving task, between models trained on the optimal order compared to the worst order. Lastly, we define a common type of order issue in advanced math proofs and find that 17.3 percent of theorems with nontrivial proofs in the first two chapters of a widely used graduate-level mathematics textbook suffer from this issue. A detailed list of those proofs is provided in the appendix.

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

↑