cs.AINov 25, 2026

PatternMiner: Automated Mathematical Discovery Through LLM-Guided Training and Interpretation of Small Models

Authors: Michael Ruofan Zeng, Junaid Hasan, Xuanyu Yang, Emily Xia Meng, Henry Kvinge

Organizations: University of Washington · Pacific Northwest National Laboratory

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.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Beyond Selected Breakthroughs: Evaluating Language Models on Randomly Sampled Mathematical Conjectures

    Oct 29, 2026Helen Jenne, Davis Brown, Jesse He +1LLM Mathematical ReasoningAI-Assisted Mathematical Discovery

  2. Advancing Mathematics Research with AI-Driven Formal Proof Search

    May 21, 2026George Tsoukalas, Anton Kovsharov, Sergey Shirobokov +18Large Language Model-Guided Theorem ProvingAutomated Theorem Proving

  3. The Problem Is the Problem: Towards Scalable Mathematical Discovery

    Aug 17, 2026Zeyu Zheng, Shengtong Zhang, Jeremy Avigad +2Human-AI Collaboration