TL;DR
MINIMO is an AI agent that teaches itself mathematics from scratch by playing a "game" of conjecture and proof. Starting with only basic axioms and no human-written data, it uses intrinsic motivation to pose increasingly difficult problems for itself, eventually learning to solve human-curated mathematical benchmarks.
What Problem Does This Paper Address?
Most current AI models for mathematical reasoning rely on massive datasets of human-written proofs (like those found in Lean or Isabelle). However, formal proof data is scarce compared to natural language, and human data inherently limits an agent to known mathematics.
In traditional Reinforcement Learning (RL) successes like AlphaZero, the game has a fixed starting point and a clear winning condition. Mathematics is different: there is no "starting board." A mathematician must first decide which conjectures are worth pursuing. This creates a "sparse reward" problem—if you pick a random string of symbols, it’s almost certainly not a provable theorem. The authors address how an agent can bootstrap its own mathematical knowledge without human examples, effectively "coaxing mathematics from the æther."
Methods
The authors introduce MINIMO (Mathematics from Intrinsic Motivation), which consists of two interleaved processes:
- Conjecturing: A Transformer-based Language Model (LM) generates new mathematical statements. To ensure these are valid "well-formed" conjectures (even when the model is randomly initialized), the researchers use constrained decoding and type-directed synthesis. This forces the model to follow the grammar of dependent type theory (specifically the Calculus of Constructions).
- Theorem Proving: The agent attempts to prove its own conjectures using Monte Carlo Tree Search (MCTS), where the same LM acts as both the policy (which move to make) and the value function (how likely am I to win from here).
The "secret sauce" of MINIMO is Hindsight Relabeling. In a typical proof search, if the agent fails to prove Conjecture A, the effort is wasted. However, the authors realized that a failed search tree often contains successful proofs for other statements (Conjecture B) that were discovered along the way. By relabeling these "accidental" successes as training data, the agent becomes significantly more sample-efficient.
Datasets
The agent was trained and evaluated on three axiomatic domains:
- Propositional Logic: Basic logical connectives and rules.
- Natural Number Arithmetic: The Peano axioms (addition, multiplication, and induction).
- Group Theory: Abstract algebraic structures.
For extrinsic evaluation (testing on human math), the authors used:
- Kleene’s Logic: 35 theorems from the classic textbook Introduction to Metamathematics.
- The Natural Number Game: 10 levels from a popular Lean-based tutorial used by human students to learn formal proof.
Key Insights and Ideas
- Well-formedness by Construction: You don't need to pre-train an AI on millions of math books to get it to speak "math." By baking the logical rules of the system into the decoding process, even a randomly initialized model can generate valid (if initially nonsensical) conjectures.
- Intrinsic Motivation as a Curriculum: The agent targets "hard but provable" conjectures. As the prover gets better, the "hard" threshold moves, creating a natural, self-driven curriculum of increasing difficulty.
- The Power of Hindsight: Failed proofs are not failures. In formal logic, any sequence of valid steps results in some truth. Capturing these "side-truths" allows the agent to learn about the domain even when it misses its primary goal.
- Zero-to-Hero: The agent can solve complex human problems—like the "currying law" in logic or induction-based arithmetic—despite never seeing a single human-written proof during training.
Key Results
- Self-Improvement: Across all three domains, the agent successfully increased the difficulty of the problems it could pose and solve. In Group Theory, the average proof length grew from ~2.7 steps to 5 steps over just four iterations.
- Hindsight is Essential: Without hindsight relabeling, the learning process collapsed. The agent would get stuck generating trivialities because it didn't receive enough "signal" from its failed attempts.
- Human-Level Performance: After training only on its own "imagined" problems, the final agent proved 70% of the logic theorems from Kleene’s textbook and successfully solved induction problems from the Natural Number Game that require non-trivial reasoning steps.
Limitations and Future Work
- No Lemma Discovery: Currently, MINIMO proves everything from "first principles" (axioms). It doesn't yet have a way to "save" a proven theorem as a lemma to use in future, more complex proofs. This limits the "depth" of the mathematics it can reach.
- Syntactic Complexity vs. Depth: The agent sometimes increases difficulty by simply making statements longer and messier, rather than discovering "elegant" or "deep" mathematical concepts.
- Scaling to Large Libraries: As the number of available axioms and definitions grows, the search space becomes intractable. Future work will need to incorporate "premise selection" to help the agent decide which tools are relevant for a specific problem.
Summary updated