Learning Formal Mathematics From Intrinsic Motivation

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Poesia, Gabriel, Broman, David, Haber, Nick, Goodman, Noah D.
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866929575828652032
author Poesia, Gabriel
Broman, David
Haber, Nick
Goodman, Noah D.
author_facet Poesia, Gabriel
Broman, David
Haber, Nick
Goodman, Noah D.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2407_00695
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Learning Formal Mathematics From Intrinsic Motivation
Poesia, Gabriel
Broman, David
Haber, Nick
Goodman, Noah D.
Artificial Intelligence
Logic in Computer Science
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.
title Learning Formal Mathematics From Intrinsic Motivation
topic Artificial Intelligence
Logic in Computer Science
url https://arxiv.org/abs/2407.00695