Neural Network Learns the Spinfoam Vertex Amplitude ✛ ✎

Original: "Deep learning spinfoam vertex amplitudes: the Euclidean Barrett-Crane model"
· Hanno Sahlmann, Waleed Sherif
arXiv:2505.03255 · 2025-05-06 · arXiv non-exclusive · independent analysis · 3 min
Deep learning predicts a key quantity of quantum gravity: the vertex amplitude of the Barrett–Crane model.

Context

Computing vertex amplitudes in spinfoam models is a long-standing computational problem. Existing numerical methods, such as the sl2cfoam libraries and Monte Carlo methods, require large resources and scale poorly with increasing spins. Adjacent to this work are studies that use machine learning to accelerate calculations in quantum chemistry and condensed matter physics, but in the spinfoam field this approach is applied for the first time. The work sits at the periphery: its nearest neighbors predict molecular properties or learn from brain datasets, not quantum gravity.

Methods

The authors chose the Euclidean Barrett–Crane model, where the vertex amplitude reduces to the 10j symbol, a function of ten spins. First, they generated exact values of the symbol using an optimized algorithm rewritten in Python with JIT compilation. Then they split the task into two: classification (whether the amplitude is zero) and regression (predicting the logarithm of the squared amplitude). For classification, they used a multilayer perceptron with one hidden layer (128 neurons); for regression, deeper networks with GELU activation. Spins were encoded as one-hot vectors to avoid spurious ordinal structure.

Results

The classifier, trained on spin configurations with a cutoff of jmax=0.5 and then fine-tuned to jmax=2.0, achieved accuracy above 99% on its domain and maintained an F1 score around 0.99 when tested at jmax=2.5, that is, beyond the training range. The number of false positives dropped sharply with increasing training cutoff. The regressor, trained at jmax=1.0, achieved a MAPE of 2.76% and 94.3% of predictions with relative error below 10% on all nonzero configurations. At jmax=1.5, MAPE rose to 4.17%, but R² remained high (0.9999). Outside the training domain, the regressor generalized poorly.

Implications

This work demonstrates for the first time that the spinfoam vertex amplitude can be learned by a neural network. Unlike neighboring works that use machine learning to accelerate quantum chemistry calculations or analyze neurobiological data, here the object is a fundamental quantity of quantum gravity. This opens the way to hybrid methods: the neural network can quickly select important configurations, leaving exact computations for verification. The classifier is especially valuable because it generalizes to larger spins without overfitting.

Future development

The immediate next step is to transfer the approach to the EPRL model, which is more realistic and depends on the Barbero–Immirzi parameter. This will require adapting the encoding and architecture, as well as addressing the data scarcity for regression. Generative flow networks or reinforcement learning might be used for targeted collection of training examples. Ensembles of experts and mixture of experts could improve accuracy across a wide range of spins.

Impact

The method could accelerate computations in quantum gravity models by helping to select dominant configurations and guiding importance sampling. It also creates a bridge between the quantum gravity and deep learning communities.

Next steps

Explore more compact architectures (e.g., graph neural networks) for regression to reduce the number of parameters. Apply reinforcement learning to generate data in regions with large amplitudes.

Key open problems

In quantum gravity, the question of dynamics remains open: how to compute transition amplitudes between spin networks. This work directly attacks the computational complexity of this task, proposing machine learning as a tool for acceleration. This connects to the unresolved problem of summing over all histories and finding the semiclassical limit.

The knowledge machine's view

This section is addressed to the author of the paper and their colleagues. Neighbouring works were found by meaning-based search across our archive, not by word overlap. We do not review: we show the field around the work.

What the work does

The work demonstrates that a neural network can learn the vertex amplitude of spin foam: a classifier determines whether it is zero, while a regressor estimates the logarithm of the squared amplitude. Training was performed on data with small spins generated by an optimized algorithm, and the classifier generalized to larger values, whereas the regressor was accurate only within its training domain.

Where its strength is

For the first time, it is shown that a fundamental quantity of quantum gravity can be approximated by a neural network, with the classifier exhibiting impressive generalization beyond the training region.

Where it could go next

Worth trying

  • Try including configurations with large spins in the regressor's training, but with lower weight, to extend its range of applicability.
  • Use data augmentation, exploiting the symmetries of the 10j symbol, to improve classifier accuracy with small training samples.
  • Apply transfer learning from the classifier to the regressor to improve the latter's generalization.

Why this may matter

If neural networks can quickly compute vertex amplitudes, this will accelerate spin foam simulations and bring us closer to testing quantum gravity through large-scale numerical experiments.

At a cutoff of jmax=2.0, the training set comprised only 1.7% of all possible configurations (170,356 out of 9,765,625), yet the classifier still achieved accuracy above 99% on its domain and generalized well to jmax=2.5.

In Greg Egan's novel 'Schild's Ladder', physicists use computational methods to explore the fundamental structure of spacetime. Training a neural network to learn quantum gravity amplitudes resonates with the idea of using algorithms to probe the laws of the microcosm.

Key numbers

  • classifier accuracy at jmax=1.5: 99.94%
  • F1 score when extrapolating to jmax=2.5: 0.9947
  • regressor MAPE at jmax=1.0: 2.76%
  • fraction of training data at jmax=2.0: 1.7%
  • classifier parameters: 1537
Scientists
Enrico FermiPaul DiracWolfgang PauliErwin SchrödingerPeter HiggsBryce DeWitt
Concepts
self-supervised learning active learning scattering amplitude deep neural network neural network speech recognition training power spectrum pattern recognition training data linear regression xgboost deep learning in medical imaging evidential neural networks spectrogram labeled data spectral analysis ai