arXiv:2606.01861cs.LG2026-06被引 1

为自对弈定理证明算法提供理论框架,解释如何高效扩展可证命题集。

A Theoretical Framework for Self-Play Theorem Proving Algorithms

  • 将定理视为图节点,通过语义相似性连接,构建可证明命题的拓扑结构。
  • 若定理图连通性良好,基于可逆随机游走的自对弈系统可实现定理数量指数级增长。
  • 提出扩散相似度衡量机制,引导生成器避免复杂冗余命题,提升训练多样性。

自对弈是一种使模型自我改进的训练算法,近期在大型语言模型(LLMs)进行形式化定理证明中展现出良好实证效果。(Dong & Ma, 2025)通过两个协作智能体实现自对弈:证明者负责证明定理,猜想者则生成新定理作为证明者的课程。本文为理解自对弈算法在定理证明中的自我改进能力提供了理论框架。首先,我们将定理集合形式化为一个图,节点代表定理,边表示语义相近的定理对。我们引入一组基本假设,刻画训练后证明者的保证及其对图结构的访问能力。其次,我们证明:若定理图具有良好的连通性,则基于可逆随机游走的猜想算法足以使已证明定理集呈指数级增长。第三,针对自对弈中猜想者倾向于生成人为复杂且非基础定理的实证问题,我们提出了一个用于衡量猜想者训练分布多样性的指标,并设计了一种局部最大化该指标的改进猜想算法,通过计算定理图中邻近定理间的扩散相似度实现。最后,我们描述了一种方法:利用对比学习将节点嵌入欧几里得空间,再通过嵌入向量的内积计算扩散相似度。

原文摘要 · Abstract (English)

Self-play, a type of training algorithm that enables a model to self-improve, has recently shown promising empirical results in the context of formal theorem proving using Large Language Models (LLMs). (Dong & Ma, 2025) instantiate self-play with two cooperating agents: a prover, which proves theorems, and a conjecturer, which generates new theorems as a curriculum to the prover. In this paper, we provide a theoretical framework for understanding the self-improvement capabilities of self-play algorithms for theorem proving. First, we formalize the set of theorems as a graph, with nodes as theorems and edges between pairs of theorems with similar semantics. We introduce a set of primitive assumptions that characterize the guarantees of a trained prover and how a conjecturer can access the structure of the graph. Second, we show that if the underlying graph of theorems is well-connected, then a prover-conjecturer system, where the conjecturing algorithm is based on a reversible random walk, is sufficient to grow the set of proved theorems exponentially. Third, motivated by an issue encountered empirically by self-play algorithms, where the conjecturer tends to generate artificially complex and non-fundamental theorems, we propose a diversity measure for a training distribution of theorems generated by a conjecturer and an improved conjecturing algorithm that locally maximizes this diversity measure, by computing the diffusion similarity between neighboring theorems in the theorem graph. Finally, we describe a method to compute the diffusion similarity by using contrastive learning to embed nodes into Euclidean space and then computing the inner-product between embeddings.

定理证明自对弈图神经网络扩散相似度

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。