Machine learning and information theory concepts towards an AI Mathematician
Yoshua Bengio, Esmeralda S. Whitammer
cs.AI
2024-03-07
Bengio's essay defines a theorem's value by how well its library compresses all provable statements, and derives from that view a label-free training objective for an AI mathematician.
Current LLMs handle language well and mathematics poorly. Bengio's opening diagnosis is blunt: deep learning succeeds at system 1 abilities (intuition, habitual pattern completion) and still lacks system 2 abilities (deliberate reasoning, planning, calibrated uncertainty), and mathematics is about as system 2-heavy as tasks get. Existing LLM-based Lean provers attack the downstream half: given a conjecture, find a proof. This essay goes after the upstream half: where do conjectures worth proving come from, and can a machine learn to find them without humans labeling what counts as interesting? The whole piece is a derivation around that objective, and the closing section says outright it is meant as an entry map for a grad student who wants to build an AI mathematician.
The starting point is the compression view of generalization: Vapnik's bounds and Bayesian Occam's razor both say models that explain the data with fewer bits generalize better. Bengio transfers the argument from explaining observations to covering provable statements. Central hypothesis: the usefulness of a new theorem t is how efficiently T(S) ∪ {t}, the existing library plus t, compresses M, the set of all provable statements. Compression has two components: the library's description length stays small, and many provable statements become reachable within k derivation steps. An image generative model compresses infinitely many plausible images into finite parameters; a good theorem library compresses a scattered mass of provable statements into a few backbone results.
From that hypothesis the essay assembles a full agent design:
The full objective is intractable to compute. Bengio's stance is very SGD about it: you never need the objective itself, only an estimator with the right expectation, for instance how often a theorem gets used in downstream proofs.
This is a position paper: no experiments, no benchmark numbers, and no comparison against any existing prover. What it delivers is a formalized objective, a system design derived from it, and concrete evaluation proposals. The most operational one: hold out part of mathlib and measure how accurately a learner predicts provability before attempting a proof, a direct test of mathematical intuition.
| Component | Proposal | Status |
| Theorem value R(t) | Compression of all provable statements by T(S) ∪ {t} | Proposed, needs approximation |
| Conjecture generation | GFlowNet sampling proportional to R(t) | Proposed |
| Proving | Goal-conditioned RL, lemma subgoals, tree search | Reuses prior literature |
| Evaluation | Held-out mathlib provability prediction | Proposal only |
The numbers that do appear are background statements: GPT-4 is believed to have about a trillion parameters trained on more than a trillion next-word examples; Miller's 7 ± 2 estimate of working memory span; the hi-lo game, where active learning converges exponentially faster than passive sampling.
For people building theorem provers, this is a draft objective for the discovery half of the problem, complementary to the proving half the field currently pushes on. For AI-for-science work the framework transfers directly: learn a compact representation covering a body of facts and produce new abstractions along the way, a direction the conclusion explicitly names. It will not produce the next checkpoint. Its value is the framing and the research agenda.
The author's own list: the objective cannot be computed directly and everything depends on the quality of approximations; modifying the goal mid-proof (adding assumptions, weakening or generalizing the statement) is an open problem even in the broader RL literature and the essay only names it; quantifying a theorem's value in applications is left to future work.
Reading closely raises more. Compression efficiency may not equal interestingness: conjoining many sub-theorems into one big statement can score fine on both description length and coverage, and the essay's only guard against that degeneration is the length penalty. The k-step reachability metric depends heavily on which tactic set you pick; change the tactics and the metric moves. And not one link in the chain, from estimating R(t) to training a GFlowNet over theorem space, is backed by even a toy experiment. It is a consistent sketch on paper.