CuDIP:基于课程学习的直接偏好优化增强大语言模型定理证明
CuDIP: Enhancing Theorem Proving in LLMs via Curriculum Learning-based Direct Preference Optimization
AI总结:
本文提出CuDIP方法,将直接偏好优化与课程学习结合用于形式化定理证明,利用LLM构建偏好数据减少人工标注,在MiniF2F和ProofNet上验证有效性。
摘要:
自动定理证明(ATP)是大语言模型(LLMs)面临的最具挑战性的数学推理任务之一。现有的大多数基于LLM的ATP方法依赖于监督微调,这导致定理证明过程与人类偏好之间的对齐有限。直接偏好优化(DPO)将LLM与人类偏好对齐,已在某些任务中显示出积极效果。然而,定理证明缺乏高质量偏好数据构成了重大挑战。在本文中,我们创新性地将DPO应用于形式化自动定理证明,并提出了一种基于课程学习的DPO迭代定理证明(CuDIP)方法。具体而言,我们提出了一种构建偏好数据的方法,该方法利用LLM和现有的定理证明数据来增强偏好数据的多样性,同时减少对人类偏好标注的依赖。然后,我们将这种偏好数据构建方法与课程学习相结合,通过DPO迭代微调定理证明模型。在MiniF2F和ProofNet数据集上的实验结果表明了所提方法的有效性。
英文摘要:
Automated theorem proving (ATP) is one of the most challenging mathematical reasoning tasks for Large Language Models (LLMs). Most existing LLM-based ATP methods rely on supervised fine-tuning, which results in a limited alignment between the theorem proving process and human preferences. Direct Preference Optimization (DPO), which aligns LLMs with human preferences, has shown positive effects for certain tasks. However, the lack of high-quality preference data for theorem proving presents a significant challenge. In this paper, we innovatively apply DPO to formal automated theorem proving and introduces a Curriculum Learning-based DPO Iterative Theorem Proving (CuDIP) method. Specifically, we propose a method for constructing preference data which utilizes LLMs and existing theorem proving data to enhance the diversity of the preference data while reducing the reliance on human preference annotations. We then integrate this preference data construction method with curriculum learning to iteratively fine-tune the theorem proving model through DPO. Experimental results on the MiniF2F and ProofNet datasets demonstrate the effectiveness of the proposed method.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。