arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.00695cs.AIcs.LO
收藏

从内在动机学习形式数学

Learning Formal Mathematics From Intrinsic Motivation

Stanford University(斯坦福大学);KTH Royal Institute of Technology(KTH皇家理工学院)

Gabriel Poesia, David Broman, Nick Haber, Noah D. Goodman

AI总结:

本文提出Minimo智能体,从公理出发通过内在动机联合学习猜想与证明,利用约束解码和事后重标注提升效率,在三个公理领域实现自我改进。

摘要:

人类是如何从以太中提炼出数学的?我们探索了柏拉图式的观点,即数学可以从其公理中发现——这是一场猜想与证明的游戏。我们描述了Minimo(从内在动机学习数学):一个智能体,它联合学习为自己提出具有挑战性的问题(猜想)并解决这些问题(定理证明)。给定一个在依赖类型理论中公理化的数学领域,我们首先结合约束解码和类型导向合成的方法,从语言模型中采样有效的猜想。我们的方法通过构造保证猜想的形式良好,即使我们从随机初始化的模型开始。我们使用同一个模型来表示引导证明搜索的策略和价值函数。我们的智能体目标在于生成困难但可证明的猜想——这是一个移动的目标,因为随着训练,它自身的定理证明能力也在提高。我们提出了在证明搜索树上进行事后重标注的新方法,以显著提高智能体在两项任务中的样本效率。在3个公理领域(命题逻辑、算术和群论)上的实验表明,我们的智能体可以仅从公理出发进行自举,自我改进地生成真实且具有挑战性的猜想并找到证明。

英文摘要:

How did humanity coax mathematics from the aether? We explore the Platonic view that mathematics can be discovered from its axioms - a game of conjecture and proof. We describe Minimo (Mathematics from Intrinsic Motivation): an agent that jointly learns to pose challenging problems for itself (conjecturing) and solve them (theorem proving). Given a mathematical domain axiomatized in dependent type theory, we first combine methods for constrained decoding and type-directed synthesis to sample valid conjectures from a language model. Our method guarantees well-formed conjectures by construction, even as we start with a randomly initialized model. We use the same model to represent a policy and value function for guiding proof search. Our agent targets generating hard but provable conjectures - a moving target, since its own theorem proving ability also improves as it trains. We propose novel methods for hindsight relabeling on proof search trees to significantly improve the agent's sample efficiency in both tasks. Experiments on 3 axiomatic domains (propositional logic, arithmetic and group theory) demonstrate that our agent can bootstrap from only the axioms, self-improving in generating true and challenging conjectures and in finding proofs.

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

↑