Skip to main content
QUICK REVIEW

[Paper Review] Formal Mathematics Statement Curriculum Learning

Stanislas Polu, Jesse Michael Han|arXiv (Cornell University)|Feb 3, 2022
Natural Language Processing TechniquesComputer Science24 citations
TL;DR

The paper demonstrates that expert iteration (proof search interleaved with learning) substantially improves formal mathematics proof generation over proof search alone, enabling a curriculum of increasingly difficult problems and state-of-the-art results on miniF2F through curated problem sets.

ABSTRACT

We explore the use of expert iteration in the context of language modeling applied to formal mathematics. We show that at same compute budget, expert iteration, by which we mean proof search interleaved with learning, dramatically outperforms proof search only. We also observe that when applied to a collection of formal statements of sufficiently varied difficulty, expert iteration is capable of finding and solving a curriculum of increasingly difficult problems, without the need for associated ground-truth proofs. Finally, by applying this expert iteration to a manually curated set of problem statements, we achieve state-of-the-art on the miniF2F benchmark, automatically solving multiple challenging problems drawn from high school olympiads.

Motivation & Objective

  • Motivate automated reasoning in formal mathematics and address challenges of infinite action space and lack of self-play in proof environments.
  • Propose and evaluate an expert iteration framework to interleave proof search with learning using GPT-f-style models.
  • Show that auxiliary sets of formal statements of varying difficulty can drive a curriculum leading from easy to hard proofs.
  • Demonstrate improvements on the miniF2F benchmark through curated statement curricula and synthetic problem generation.

Proposed method

  • Use a decoder-only Transformer (~774M parameters) trained with proofstep and proofsize objectives.
  • Introduce lean-gym as a Lean theorem prover interface for data collection and interaction.
  • Bootstrapping: pre-train on web-scale data, then fine-tune on mathlib tactic data and mix datasets.
  • Apply expert iteration: iteratively sample proof searches, extract successful proofs and proofsize data, and fine-tune from a base model.
  • Develop a synthetic inequality generator to create a curriculum synth-ineq with controlled difficulty (N_D, N_S).
  • Curate a miniF2F curriculum (miniF2F-curriculum) and combine with mathlib/synth-ineq for transfer to miniF2F.

Experimental results

Research questions

  • RQ1Can expert iteration outperform pure proof search under fixed compute budgets in formal mathematics?
  • RQ2Does interleaving training with proof searches enable solving curricula of increasing difficulty without ground-truth proofs?
  • RQ3To what extent can curated and synthetic statement curricula transfer improvements to out-of-distribution miniF2F problems?

Key findings

  • Expert iteration significantly improves proof success rates over proof search alone at the same compute budget.
  • Curricula constructed from automatically generated and manually curated statements enable the model to solve increasingly difficult problems.
  • Full curriculum transfer (mathlib-train + synth-ineq + miniF2F-curriculum) yields state-of-the-art results on miniF2F-valid and improves miniF2F-test performance.
  • The method achieves strong performance on mathlib-valid, including solving several AMC12 and AIME style problems, and surpasses prior baselines on miniF2F benchmarks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.