field theory
Machine learning modularity
Fan, Yi, Jejjala, Vishnu, Lei, Yang
Based on a transformer based sequence-to-sequence architecture combined with a dynamic batching algorithm, this work introduces a machine learning framework for automatically simplifying complex expressions involving multiple elliptic Gamma functions, including the $q$-$θ$ function and the elliptic Gamma function. The model learns to apply algebraic identities, particularly the SL$(2,\mathbb{Z})$ and SL$(3,\mathbb{Z})$ modular transformations, to reduce heavily scrambled expressions to their canonical forms. Experimental results show that the model achieves over 99\% accuracy on in-distribution tests and maintains robust performance (exceeding 90\% accuracy) under significant extrapolation, such as with deeper scrambling depths. This demonstrates that the model has internalized the underlying algebraic rules of modular transformations rather than merely memorizing training patterns. Our work presents the first successful application of machine learning to perform symbolic simplification using modular identities, offering a new automated tool for computations with special functions in quantum field theory and the string theory.
Accurate Sampling from Diffusion Models
The path integral is then approximated by finitely many integrals over the variables on the lattice. Analytical treatment is most likely impossible, but Monte Carlo simulations provide a way to calculate the averages of observables that we are interested in. While Markov Chain Monte Carlo (MCMC) methods are very successful, in some cases they are quite expensive. For example, lattice QCD simulations are computationally demanding, as the cost of generating statistically independent gauge configurations are increasing rapidly as the continuum limit and physical quark masses are approached [1,2], but critical slowing down is a problem generally, and it affects simulations of lattice theories around a phase transition [3,4]. The rapid development of machine learning has prompted increasing interest in using deep neural networks to reduce the computational cost of lattice simulations. Generative models in machine learning have become an active area of research across many fields of science [5].
Deep neural networks as lattice gauge theories
Jefferson, Ro, Ramakrishnan, Shradha
We modify the NN/QFT duality [1] to incorporate the layerwise permutation symmetry of the network, resulting in a $(0\!+\!1)$-dimensional lattice gauge theory, in which each layer of $N$ neurons acts as an $N$-component lattice site, and the weight matrices play the role of gauge fields living on the links. In this framework, we compute the tree-level neuron-neuron propagator which describes the evolution of layer variance in the network, and develop the Feynman diagram machinery to compute interactions in the perturbative expansion in $1/N$. In particular, we obtain a recursive expression for all corrections to the exact propagator at $O(1)$, representing statistical fluctuations in the ensemble of networks, including infinitely-many loop diagrams mediating the interactions from previous layers. We also present a preliminary analysis of neuron scattering amplitudes that contribute order-by-order in $1/N$, which provides a field-theoretic framework for studying higher-point correlations, and by extension information propagation, in deep networks. We remark on some interesting directions for future work at the intersection of neural networks and quantum field theory.
Sampling the Schwinger Model with Gauge-Equivariant Diffusion
Vega, Octavio, El-Khadra, Aida X.
We present a first study of a diffusion-based approach to accelerated sampling of the Nf = 2 lattice Schwinger model. Our work is inspired by recent and growing successes in developing such generative models for ensemble generation in LFT to overcome the well-known critical slowing down problem [17-23]. We train a U(1)-equivariant score-based generative model to sample gauge link configurations from the marginal Schwinger model. By computing model likelihoods, we obtain unbiased estimates for observables that closely match those produced by MCMC simulations. We also demonstrate improvement over HMC as measured qualitatively by a reduction in topological freezing near critical parameters.
Grading the Unspoken: Evaluating Tacit Reasoning in Quantum Field Theory and String Theory with LLMs
Yu, Xingyang, Zhang, Yinghuan, Zhang, Yufei, Cui, Zijun
Large language models have demonstrated impressive performance across many domains of mathematics and physics. One natural question is whether such models can support research in highly abstract theoretical fields such as quantum field theory and string theory. Evaluating this possibility faces an immediate challenge: correctness in these domains is layered, tacit, and fundamentally non-binary. Standard answer-matching metrics fail to capture whether intermediate conceptual steps are properly reconstructed or whether implicit structural constraints are respected. We construct a compact expert-curated dataset of twelve questions spanning core areas of quantum field theory and string theory, and introduce a five-level grading rubric separating statement correctness, key concept awareness, reasoning chain presence, tacit step reconstruction, and enrichment. Evaluating multiple contemporary LLMs, we observe near-ceiling performance on explicit derivations within stable conceptual frames, but systematic degradation when tasks require reconstruction of omitted reasoning steps or reorganization of representations under global consistency constraints. These failures are driven not only by missing intermediate steps, but by an instability in representation selection: models often fail to identify the correct conceptual framing required to resolve implicit tensions. We argue that highly abstract theoretical physics provides a uniquely sensitive lens on the epistemic limits of current evaluation paradigms.
Conformal Defects in Neural Network Field Theories
Capuozzo, Pietro, Robinson, Brandon, Suzzoni, Benjamin
Neural Network Field Theories (NN-FTs) represent a novel construction of arbitrary field theories, including those of conformal fields, through the specification of the network architecture and prior distribution for the network parameters. In this work, we present a formalism for the construction of conformally invariant defects in these NN-FTs. We demonstrate this new formalism in two toy models of NN scalar field theories. We develop an NN interpretation of an expansion akin to the defect OPE in two-point correlation functions in these models.
Neural Network Quantum Field Theory from Transformer Architectures
Ageev, Dmitry S., Ageeva, Yulia A.
We propose a neural-network construction of Euclidean scalar quantum field theories from transformer attention heads, defining $n$-point correlators by averaging over random network parameters in the NN-QFT framework. For a single attention head, shared random softmax weights couple different width coordinates and induce non-Gaussian field statistics that persist in the infinite-width limit $d_k\to\infty$. We compute the two-point function in an attention-weight representation and show how Euclidean-invariant kernels can be engineered via random-feature token embeddings. We then analyze the connected four-point function and identify an "independence-breaking" contribution, expressible as a covariance over query-key weights, which remains finite at infinite width. Finally, we show that summing many independent heads with standard $1/N_h$ normalization suppresses connected non-Gaussian correlators as $1/N_h$, yielding a Gaussian NN-QFT in the large-head limit.
The neural networks with tensor weights and emergent fermionic Wick rules in the large-width limit
In this paper, we study complex-valued neural network (CVNNs) with tensor-valued hidden-to-output weights within the framework of neural-network quantum field theory (NN-QFT). For standard CVNNs with scalar weights, we derive the generating functional and identify the exact Gaussian process that arises in the infinite-width limit, together with its associated effective quantum state. When the last-layer weights are promoted to Clifford-algebra-valued tensors, the network output becomes complex matrix-valued, and a fermion-like sign structure in the large-width correlation functions of the network output is induced. We show that, in the infinite-width limit, correlators with equal numbers of $f^†$ and $f$ obey fermionic Wick rules and can be written as determinants built from a scalar Euclidean kernel $S(x,y)=\langle f^†(x)f(y)\rangle$. This provides a sign-structured extension of NN-QFT at the level of Euclidean correlators and Feynman rules, even though a microscopic Grassmann path integral representation for the network parameters has not yet been constructed. Our analysis thus pushes the NN-QFT correspondence beyond purely bosonic Gaussian fields and suggests a possible route to encoding fermion-like symmetries in neural architectures for QFT correspondence.
On the Effect of Regularization on Nonparametric Mean-Variance Regression
Wong-Toi, Eliot, Boyd, Alex, Fortuin, Vincent, Mandt, Stephan
Uncertainty quantification is vital for decision-making and risk assessment in machine learning. Mean-variance regression models, which predict both a mean and residual noise for each data point, provide a simple approach to uncertainty quantification. However, overparameterized mean-variance models struggle with signal-to-noise ambiguity, deciding whether prediction targets should be attributed to signal (mean) or noise (variance). At one extreme, models fit all training targets perfectly with zero residual noise, while at the other, they provide constant, uninformative predictions and explain the targets as noise. We observe a sharp phase transition between these extremes, driven by model regularization. Empirical studies with varying regularization levels illustrate this transition, revealing substantial variability across repeated runs. To explain this behavior, we develop a statistical field theory framework, which captures the observed phase transition in alignment with experimental results. This analysis reduces the regularization hyperparameter search space from two dimensions to one, significantly lowering computational costs. Experiments on UCI datasets and the large-scale ClimSim dataset demonstrate robust calibration performance, effectively quantifying predictive uncertainty.