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

Machine Learning in Physics and Geometry

Yang‐Hui He, Elli Heyes, Edward HirstarXiv 2023 · DOI

TL;DR

This paper surveys the transformative role of machine learning in theoretical physics and algebraic geometry, specifically within the context of string theory. By treating mathematical structures as "pure, noiseless data," the authors demonstrate how AI can navigate the vast "string landscape" to identify patterns, classify complex geometries, and accelerate the formulation of new mathematical conjectures.

What Problem Does This Paper Address?

The central challenge in modern string theory is the "vacuum degeneracy problem." For the theory to be self-consistent, our universe must have six extra spatial dimensions, typically modeled as Calabi-Yau (CY) manifolds. However, there are an estimated $10^{500}$ possible geometries in this "string landscape," and we lack a definitive method to choose the one that describes our physical reality.

Traditionally, mathematicians and physicists have relied on hand-calculations or exhaustive computer searches to study these shapes. But as the datasets grow into the millions (or decillions), these methods fail. This paper addresses the need for a new paradigm: using machine learning to find "needles in the haystack"—identifying specific geometric properties and dualities that are too computationally expensive to find through brute force.

Methods

The authors review a diverse toolkit of ML techniques applied to geometric data:

  • Supervised Learning:
    • Standard Neural Networks (NNs): Used for regression tasks, such as predicting the volume or Gorenstein index of polytopes.
  • Convolutional Neural Networks (CNNs): Applied to image-based data (Amoebae projections) and graph-based data (Quiver adjacency matrices) to identify topological invariants.
  • Siamese Neural Networks (SNNs): Utilizing "triplet loss" to determine if two different mathematical representations (like Brane Webs) are "weakly equivalent."
    • Support Vector Machines (SVMs): Used for binary classification, such as distinguishing weight vectors that admit a Calabi-Yau hypersurface from those that do not.
  • Unsupervised Learning:
    • PCA and t-SNE: For dimensionality reduction and visualizing high-dimensional clusters in the string landscape.
  • K-Means Clustering: To group similar geometric objects and validate suspected correlations.
  • Topological Data Analysis (TDA): Using persistent homology to detect "holes" or cavities in high-dimensional data without the information loss associated with projections.

Datasets

The paper draws on several massive, community-compiled datasets:

  • The Kreuzer-Skarke Dataset: Contains 473,800,776 four-dimensional reflexive polytopes used to build CY manifolds.
  • Weighted Projective Space Database: A subset of 7,555 weight vectors characterizing specific CY threefolds.
  • Quiver Mutation Databases: Large sets of directed graphs representing supersymmetric gauge theories.
  • Brane Web Matrices: $2 \times N$ matrices encoding the charges of 5-brane junctions.
  • Amoebae Images: 2D and 3D projections of Newton polynomials generated via Monte Carlo sampling.

Key Insights and Ideas

  • Mathematical Data is "Pure": Unlike real-world data, mathematical data is noiseless and exact. This makes it a unique playground for ML, where patterns found by a network are more likely to represent fundamental truths rather than statistical flukes.
  • Representation is Everything: A major "aha" moment involved Plücker coordinates. When representing polytopes, using these coordinates (which are invariant to certain redundancies) improved learning accuracy by over an order of magnitude compared to raw vertex lists.
  • Hidden Linearity: PCA revealed that Calabi-Yau weight vectors naturally form linear clusters that correlate strongly with Hodge numbers ($h^{1,1}$). This suggests a direct, simple connection between the input weights and the resulting topology that was previously unnoticed.
  • AI as a "Conjecture Engine": The authors advocate for a workflow where AI performs pattern recognition first, allowing mathematicians to then focus their efforts on proving the specific relationships the AI has uncovered.

Key Results

  • Geometric Prediction: Dense NNs predicted the volume of 2D and 3D polytopes with a Mean Absolute Error (MAE) of $\sim 1$, even when the volume range was as high as 500.
  • Topological Classification: CNNs achieved 99% accuracy in identifying the genus (number of holes) of 2D amoebae from images.
  • Duality Detection: SNNs were able to detect the equivalence between different Brane Webs with 100% accuracy, effectively identifying physical dualities that are difficult to prove analytically.
  • Quiver Equivalence: CNNs reached perfect accuracy (MCC of 1.0) in determining if two quivers belonged to the same "duality tree," meaning they describe the same underlying physics.

Limitations and Future Work

  • Integer Truncation: NNs still struggle with properties like the Gorenstein index, which rely on integer truncation—a non-continuous operation that standard backpropagation handles poorly.
  • The "Black Box" Problem: While the ML models are highly accurate, extracting why they are accurate remains a challenge. Future work focuses on "interpretable ML" to turn these high-accuracy predictions into rigorous mathematical proofs.
  • Infinite Landscapes: Some duality trees are infinite. While ML can identify equivalence, proving inequivalence in an infinite search space remains a theoretical hurdle.
  • Direct Law Discovery: The authors point toward emerging work that attempts to uncover physical laws directly from data, bypassing the need for human-formulated hypotheses.

Summary updated

BibTeX
@misc{he2023machine,
  author = {Yang‐Hui He and Elli Heyes and Edward Hirst},
  title = {{Machine Learning in Physics and Geometry}},
  year = {2023},
  eprint = {2303.12626},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.12626},
}
Figure