PatternMiner: Automated Mathematical Discovery Through LLM-Guided Training and Interpretation of Small Models
Michael Ruofan Zeng, Junaid Hasan, Xuanyu Yang, Emily Xia Meng, Henry Kvinge
Abstract
There are several approaches to AI-driven mathematical discovery. One of these involves the use of large language models (LLMs) to resolve well-specified conjectures via text-based reasoning, while another uses narrow models and interpretability for more open-ended, human-in-the-loop exploration using object-based mathematical data. The latter is limited in its ability to move beyond simple empirical pattern detection while the former is not well-designed for direct, open-ended exploration of large mathematical datasets. In this paper we introduce PatternMiner, a system that combines these two paradigms. In PatternMiner, an LLM agent generates mathematical datasets based on an initial broad question, trains narrow machine learning models on them, uses interpretability techniques to extract patterns from these trained models, and uses these patterns to formulate conjectures. Once an initial conjecture has been formulated, PatternMiner instructs the agent to search for counterexamples using calls to mathematical software. If a set of counterexamples can be found, these are used as feedback for conjecture refinement or another round of training and interpretability. The conjecture progressively evolves through this iterative sequence with the agent allowed to try to prove it at any point. We describe the results of applying PatternMiner to five well-known positivity problems in algebraic combinatorics. PatternMiner proves several new theorems related to Schubert positivity and projection, a character-row evaluation formula, a restricted version of the Kazhdan--Lusztig combinatorial invariance conjecture, and Schur positivity for a family of immanant coefficients. We end by analyzing the most common routes to conjecture generation that are used by PatternMiner in our case studies as well as documenting the most common failure modes.
Create a lesson
Metadata
- Categories
- cs.AI, math.CO
- Comments
- 46 pages. Code and experiment records are available at https://github.com/uw-math-ai/PatternMiner. Comments welcome!
Related papers
ZeroHero: Training Small Language Agents from Scratch
Shared title terminologycs.AINikita Sorokin, Zoya Volovikova, Alexey Skrynnik et al.
A Failure-Driven Data Flywheel for Post-Training Vision-Language-Action Models
Shared title terminologycs.AIYuhao Luo, Zihao Sheng, Zilin Huang et al.
Agentic Waterfall: An Intent-Driven Information Discovery Framework for Reclaiming User Control in the Attention Economy
Shared title terminologycs.AIYige Luo, Shining Zhang, Jikun Liu et al.
Budget, Readout or Reasoning? Where Small Reasoning Models Lose Value in Auction Bidding
Shared title terminologycs.AIMahbod Khaleti, Seyed Reza Tavakoli, Baran Hoseini et al.
Can Its Own Misses Teach an MLLM to Find Small Brain Metastases?
Shared title terminologycs.AIYixuan Duan, Kexin Geng, Hanwen Xu et al.
JOVE ICE: Intent Guided Cloud Edge Device Collaboration for AI Glasses
Shared title terminologycs.AIYuyang Jin, Bingfeng Pi, Jiamei Sun et al.