Model-Based and Sample-Efficient AI-Assisted Math Discovery in Sphere Packing

Rasul Tutunov, Alexandre Maraval, Antoine Grosnit, Xihan Li, Jun Wang, Haitham Bou-AmmararXiv 2025 · DOI

Abstract

Researchers have developed a sample-efficient AI framework that treats mathematical discovery as a hierarchical "game." By combining Bayesian Optimization (BO) and Monte Carlo Tree Search (MCTS), the system discovered new state-of-the-art upper bounds for sphere packing in dimensions 4–16. This approach succeeds in a domain where single evaluations can take days and standard "data-hungry" AI models fail, demonstrating the power of model-based reasoning in high-stakes mathematical research.

The Challenge of Sphere Packing

The sphere packing problem—Hilbert’s eighteenth problem—asks for the densest possible arrangement of identical spheres in $n$-dimensional Euclidean space. While conceptually simple, it is notoriously difficult; optimal arrangements are only mathematically proven for dimensions 2, 3, 8, and 24.

For other dimensions, mathematicians rely on the "three-point method," which translates the geometry problem into a massive Semidefinite Program (SDP). Solving just one of these SDPs to find a valid upper bound can take several days of high-precision computation. This creates a massive hurdle for traditional AI: trial-and-error reinforcement learning or Large Language Models (LLMs) are impractical when the computational budget allows for only a few dozen evaluations. The authors bridge this gap with a "model-based" approach that reasons strategically about which mathematical configurations to test next.

Methods: The SDP Game

The authors formulate the search for better bounds as a two-stage SDP Game, combining continuous optimization with discrete symbolic search.

Overview of the SDP Game pipeline, from geometric parameters to numerical solvers.
  1. Bayesian Optimization (BO) for Geometry: In the first stage, the AI uses BO to select continuous geometric parameters $(r, R)$. BO is ideal here because it builds a probabilistic surrogate model of the "reward" (the packing bound) and chooses the next parameters by balancing exploration of unknown regions with exploitation of known high-performing areas.
  2. Monte Carlo Tree Search (MCTS) for Logic: Once the geometry is set, the AI must construct the actual mathematical constraints (matrix polynomials). The authors created a discrete "vocabulary" of base polynomials and grammar tokens. MCTS explores this symbolic space to assemble "sentences" that represent valid, high-performing SDP formulations.

By combining these, the system creates a closed feedback loop: it proposes a formula, solves the expensive SDP, and uses the result to refine its internal models for both the continuous geometry and the discrete symbolic logic.

Key Insights and Ideas

  • Strategic Sampling: Mathematical discovery does not require millions of samples if the AI "reasons" about the search space. By using surrogate models, the agent focuses only on the most promising regions of the functional landscape.
  • Low-Degree Dominance: Structural analysis of the AI's discoveries showed that the most successful new polynomials were of low degree. In SDP terms, these correspond to higher-dimensional blocks that offer more "leverage" to tighten the packing bound.
  • Exploring the Full Landscape: Historically, human researchers often fixed one geometric parameter ($r=1$) to simplify the search. The AI explored the full 2D landscape of $(r, R)$ and found that the best bounds often lie in neighborhoods that humans had previously ignored.
  • Independent Rediscovery: In a case study of the 8D lattice ($E_8$), the AI—without any knowledge of modular forms or Viazovska’s Fields Medal-winning proof—produced functions that closely mimicked the required sign patterns and Fourier transform properties of the optimal solution.

Key Results

The framework achieved significant breakthroughs in the sphere-packing landscape, establishing new records across a wide range of dimensions.

Historical progress of sphere-packing bounds, highlighting the new records set by the model-based AI approach in 2025.
  • New Records: The framework achieved new state-of-the-art upper bounds for sphere packing in twelve dimensions ($n \in [4, 7]$ and $n \in [9, 16]$).
  • Novelty: Between 80% and 85% of the mathematical terms (monomials) used in the AI's winning formulations were entirely new and absent from prior human-designed constructions.
  • Precision in $n=8$: In the 8D benchmark, the AI achieved a bound of 0.2536695134, which is numerically closer to the optimal density (0.2536695079) than the previous best numerical three-point method result (0.2536699179).

Limitations and Future Work

While successful, the approach faces a computational bottleneck: the underlying SDP solvers (like SDPA-GMP) remain slow. Future work may involve creating "differentiable" surrogates for the solver itself to further accelerate discovery.

Additionally, this work focused on the "three-point method." Extending the AI to "four-point" or "five-point" methods could potentially yield even tighter bounds, though it would exponentially increase the complexity of the SDPs. The authors suggest this methodology could be applied to other rigid, evaluation-limited problems in physics and math, such as energy minimization, coding theory, and optimal transport.

Summary updated

BibTeX
@misc{tutunov2025model,
  author = {Rasul Tutunov and Alexandre Maraval and Antoine Grosnit and Xihan Li and Jun Wang and Haitham Bou-Ammar},
  title = {{Model-Based and Sample-Efficient AI-Assisted Math Discovery in Sphere Packing}},
  year = {2025},
  eprint = {2512.04829},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.04829},
}
Figure