PatternBoost: Constructions in Mathematics with a Little Help from AI
François Charton, Jordan S. Ellenberg, Adam Zsolt Wagner, Geordie Williamson
TL;DR
PatternBoost introduces a practical two-phase framework that alternates local greedy construction with transformer-guided global search to discover new mathematical constructions. Demonstrated across multiple extremal combinatorics problems, the approach yields state-of-the-art or near-state-of-the-art results, including counterexamples to long-standing conjectures and improvements on several bounds. The work highlights the method’s versatility, the importance of model capacity and data representation, and its potential to augment, rather than replace, human insight in mathematical discovery. By providing accessible tooling and a generalizable workflow, PatternBoost could become a valuable partner for researchers exploring complex combinatorial landscapes.
Abstract
We introduce PatternBoost, a flexible method for finding interesting constructions in mathematics. Our algorithm alternates between two phases. In the first ``local'' phase, a classical search algorithm is used to produce many desirable constructions. In the second ``global'' phase, a transformer neural network is trained on the best such constructions. Samples from the trained transformer are then used as seeds for the first phase, and the process is repeated. We give a detailed introduction to this technique, and discuss the results of its application to several problems in extremal combinatorics. The performance of PatternBoost varies across different problems, but there are many situations where its performance is quite impressive. Using our technique, we find the best known solutions to several long-standing problems, including the construction of a counterexample to a conjecture that had remained open for 30 years.
