NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Mathematics and Machine Creativity: A Survey on Bridging Mathematics with AI

Shizhe Liang, Wei Zhang, Tianyang Zhong, Tianming LiuarXiv 2024 · DOI

TL;DR

This survey explores the burgeoning intersection of Artificial Intelligence (AI) and mathematics, arguing that generative AI, particularly Large Language Models (LLMs), can act as a creative partner for mathematicians. It highlights how AI can assist in theorem proving, pattern recognition, and the explicit construction of mathematical objects, bridging the gap between AI's computational power and mathematics' need for deep reasoning and novel insights.

What Problem Does This Paper Address?

The paper addresses a perceived disconnect between the fields of AI and mathematics. Traditionally, AI has relied heavily on mathematical foundations. However, recent advancements in AI, especially LLMs, have demonstrated the potential to contribute back to mathematics. The authors identify a gap in cross-disciplinary communication: mathematicians may not fully grasp the latest AI advancements, while AI researchers often prioritize benchmark performance over real-world applications in mathematical research. This survey aims to bridge this gap by providing a comprehensive overview of AI's current and potential roles in mathematical research, emphasizing AI's "inherent creativity" as a key enabler.

Methods

The paper surveys various AI techniques and their applications in mathematics. Key methods discussed include:

  • Machine-Assisted Proofs: This involves using AI to verify proofs or assist in generating proof steps. Techniques range from traditional automated theorem provers (ATPs) and proof assistants (like Lean, Coq, Isabelle/HOL) to newer approaches leveraging machine learning (ML) and LLMs for automated proof generation.
  • Pattern Recognition and Theoretical Exploration: AI, particularly supervised ML models and transformer-based architectures, is used to analyze large mathematical datasets to identify patterns, uncover connections, and formulate conjectures. This often involves a human-AI collaboration framework where AI suggests patterns and humans interpret and refine them.
  • Explicit Construction of Mathematical Objects: AI is employed to construct concrete mathematical entities like examples, counterexamples, functions, or algorithms. This is achieved through Reinforcement Learning (RL)-based approaches (e.g., for knot theory, extremal graph theory) and Language Model-based construction (e.g., for Lyapunov functions, combinatorial problems).
  • Autoformalization: This involves translating natural language mathematical statements into formal languages, a crucial step for using proof assistants. LLMs are increasingly used for this task, often with specialized prompting or fine-tuning.

Datasets

The paper mentions several types of datasets and benchmarks:

  • Mathematical Datasets: Large collections of mathematical data, including formal proofs, natural language theorems, and mathematical articles, are used for training and fine-tuning AI models.
  • Existing Benchmarks:
    • GSM (Grade-School Math): Used for evaluating mathematical reasoning capabilities.
  • GSM-Symbolic: A dataset of syntactic variants of GSM problems.
  • FrontierMath: A benchmark featuring research-level, novel mathematics problems.
  • Newly Introduced Datasets/Resources:
    • ProofNet: A dataset of natural language theorem, formalized Lean theorem, and natural language proof triples for autoformalization and formal theorem proving.
  • MMA: A synthetic dataset of multilingual (natural language theorem, formalized Lean theorem) pairs.
  • Lean Workbook: A resource for generating Lean formalizations of natural language theorems.
  • NaturalProofs: A dataset of natural language theorems and proofs for mathematical theorem proving.

Key Insights and Ideas

  • AI's "Inherent Creativity": The paper posits that generative AI's strength lies not in deep deductive reasoning (which it currently struggles with) but in its "inherent creativity"—the ability to generate a high throughput of outputs based on pattern recognition. This creative capacity can complement human ingenuity by suggesting novel perspectives and methodologies.
  • Human-AI Collaboration is Key: The most promising path forward involves a synergistic collaboration where AI assists with tasks like pattern discovery, hypothesis generation, and proof verification, while humans provide interpretation, intuition, and strategic direction.
  • LLMs as Analogical Reasoners: LLMs excel at in-context or few-shot learning, allowing them to infer and apply patterns from limited examples. This "analogical reasoning" capability is crucial for tasks like autoformalization and generating novel mathematical structures.
  • Bridging the Disciplinary Divide: The survey aims to foster better understanding and communication between AI researchers and mathematicians, who often have different priorities and levels of expertise.
  • Beyond Proofs: While theorem proving is a significant area, AI's potential extends to theoretical exploration, conjecture generation, and the explicit construction of mathematical objects, areas that are less about strict verification and more about discovery.

Key Results

  • Machine-Assisted Proofs: Proof assistants have successfully verified complex proofs like the four-color theorem and Kepler's conjecture. Newer AI tools are showing promise in automatically generating proof steps and even complete proofs, though verification by proof engines remains critical.
  • Pattern Recognition: Studies have demonstrated AI's ability to uncover patterns in diverse mathematical fields (e.g., Differential Geometry, Number Theory) and formulate new conjectures, sometimes leading to new formulas or theoretical insights.
  • Construction of Objects: RL and LLM-based approaches have successfully constructed complex mathematical objects, such as counterexamples in combinatorics and Lyapunov functions, often surpassing human efforts in specific tasks.
  • Autoformalization: LLMs have shown significant capabilities in translating natural language mathematics into formal languages, though challenges remain in dataset scarcity and the deterministic verification of the translated output.
  • LLM Limitations: Despite advancements, LLMs still struggle with complex, multi-step deductive reasoning and abstract concept generation. Performance drops significantly on novel or out-of-distribution problems, and they can be susceptible to superficial pattern matching.

Limitations and Future Work

  • LLM Reasoning Limitations: The paper repeatedly emphasizes that current LLMs do not truly "reason" like humans but rather recombine patterns from training data. Their deductive capabilities are superficial and unreliable for complex mathematical tasks.
  • Data Scarcity: High-quality, large-scale datasets for training AI models in formal mathematics are scarce, particularly for tasks like autoformalization.
  • Verification Challenges: While AI can generate proofs or formalizations, ensuring their semantic correctness and equivalence to the original statement remains a challenge, often requiring external proof engines.
  • Acceptance and Integration: Public acceptance of AI in mathematics is growing, but awareness remains uneven. Educators need to guide students to use AI critically, not as a shortcut.
  • Future Work: The authors advocate for deeper interdisciplinary dialogue to develop new frameworks for human-AI collaboration. Future research should focus on improving LLMs' reasoning capabilities, creating better datasets, and exploring more robust methods for verifying AI-generated mathematical content. The integration of AI into mathematics education is also highlighted as a crucial area for future development.

Summary updated

BibTeX
@misc{liang2024mathematics,
  author = {Shizhe Liang and Wei Zhang and Tianyang Zhong and Tianming Liu},
  title = {{Mathematics and Machine Creativity: A Survey on Bridging Mathematics with AI}},
  year = {2024},
  eprint = {2412.16543},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.16543},
}
Figure