Quantum field-theoretic machine learning

Dimitrios Bachtis, Gert Aarts, Biagio LuciniarXiv 2021

Abstract

This work establishes a formal mathematical equivalence between discretized $\phi^4$ scalar field theory and Markov Random Fields. By treating physical coupling constants as learnable parameters, quantum field theories (QFTs) are repurposed as machine learning algorithms capable of distribution matching, feature extraction, and addressing the sign problem in physics simulations.

Introduction

Traditionally, the intersection of machine learning (ML) and quantum field theory (QFT) has been characterized by mutual inspiration: physicists employ ML to identify phase transitions, while ML researchers adopt physics-based concepts like energy-based models. This paper explores a deeper, formal connection: can a QFT be the machine learning algorithm?

The complexity of QFTs, typically formulated in hyperbolic Minkowski space, presents a challenge for direct ML application. By recasting these theories into Euclidean space on a discrete lattice, the authors bridge the gap between the rigorous Markov properties of probability theory and the dynamics of quantum fields.

Methods: Physics as an Architecture

The core of this framework rests on the Hammersley-Clifford theorem, which serves as a "Rosetta Stone" connecting physics and ML. The theorem posits that a probability distribution satisfying a local Markov property—where a point's state depends only on its immediate neighbors—is equivalent to a Gibbs distribution.

Architectural representations of (a) a bipartite graph for a Restricted Boltzmann Machine variant and (b) a lattice-based Markov Random Field derived from $\phi^4$ theory.

The authors implement this by:

  1. Discretization: Placing $\phi^4$ scalar field theory on a square lattice.
  2. Inhomogeneity: Introducing spatially varying coupling constants ($w_{ij}, a_i, b_i$) which function as learnable weights and biases.
  3. Optimization: Minimizing the Kullback-Leibler (KL) divergence between the model's distribution and target data via gradient descent.
  4. $\phi^4$ Neural Networks: Developing a bipartite graph architecture that generalizes the Restricted Boltzmann Machine (RBM) to handle continuous field data.

Key Insights and Results

The $\phi^4$ theory is shown to be a versatile Markov Random Field (MRF). By allowing physical constants to vary across the lattice, the system gains the expressivity required to model complex data distributions.

Distribution Matching and Extrapolation

In distribution matching tasks, the model achieved high precision, converging to target coupling constants with an accuracy of $10^{-8}$. A significant breakthrough is the model's ability to perform "reweighting"—training on real-valued actions to approximate systems with complex-valued actions or long-range interactions. This offers a potential solution to the "sign problem" in lattice QCD.

Comparison of the learned model predictions (p) against Monte Carlo (MC) results for the real part of an observable as a function of the coupling constant $g_4$.

Feature Extraction

The framework was evaluated on standard benchmarks:

  • CIFAR-10: Demonstrating image encoding and reconstruction.
  • Olivetti Faces: The $\phi^4$ neural network successfully extracted abstract features (e.g., eyes, noses) using 4096 visible and 32 hidden units.

Discussion and Future Work

While the theoretical foundation is robust, scalability remains a challenge. Current simulations are limited to small lattice volumes (e.g., $32 \times 32$), and the reliance on Markov Chain Monte Carlo (MCMC) sampling is computationally intensive compared to standard backpropagation. Future research will focus on extending this framework to gauge theories and developing "improved lattice actions" to enhance the efficiency of standard physics simulations.

Summary updated

BibTeX
@misc{bachtis2021quantum,
  author = {Dimitrios Bachtis and Gert Aarts and Biagio Lucini},
  title = {{Quantum field-theoretic machine learning}},
  year = {2021},
  eprint = {2102.09449},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.09449},
}

Loading related content...

Figure