- Home
- Library
- Computational Quantum Field Theory
- Predicting Observables across Parameters
- When Does a Random Network Define a Field Theory?
When Does a Random Network Define a Field Theory?
A distribution over network parameters induces a distribution over functions. Its two-point function can resemble a field propagator, and its connected higher moments can be organized as interactions. This is a useful calculational correspondence, but it leaves an important question: which properties of a quantum field theory have actually been constructed?
We answer a finite version of that question explicitly. A random cosine-feature ensemble is chosen to reproduce the covariance of a regulated massive scalar. Its connected fourth cumulant is derived, tested against sampled weights, and converted into a finite-dimensional one-particle-irreducible vertex. A separate reflection-positivity counterexample then shows why a positive covariance and translation symmetry do not suffice for a Lorentzian quantum interpretation.
Preparation. Gaussian fields, connected generating functions and Legendre transforms. No network training is used here. The width counts random features; it is distinct from the number of lattice sites and from a sample count.
The random weights now define a probability law for field configurations. The physical questions become the covariance, its higher connected moments and whether the measure permits a positive Hilbert-space reconstruction. The earlier two-site susceptibility benchmark used fitted weights to interpolate an independently defined observable.
Start from a precisely normalized regulated field
Take periodic sites, spacing , length , and mass . Define
This is a positive Euclidean quadratic action. The normalized Gaussian measure has covariance , not : the lattice integration weight matters. In Fourier coordinates,
All indices below are understood modulo . The positive mass makes strictly positive definite. Write ; here .
Choose a random mode and phase with
Then construct the width- field
with all amplitudes, modes and phases independent. This is a completely specified probability law. It can be sampled without evaluating a field-space density.
Derive the covariance before taking a width limit
The phase average gives
Only equal feature labels survive the amplitude average in (4). Thus
for every positive integer . The covariance was engineered by the mode probabilities; it is not inferred from a fit.
Translating the lattice by shifts each phase by , preserving its uniform law. Reflection also preserves the ensemble because . These are symmetries of the full finite-width law. They do not yet establish reflection positivity, which is a different inequality discussed below.
At fixed , the multivariate central limit theorem gives a Gaussian vector with covariance as . That limit recovers the particular regulated free measure (1). It is a width limit at a fixed regulator, not a continuum limit or a statement about an interacting relativistic theory. Exact covariance and connected-cumulant width counting are developed more generally in Halverson, Maiti and Stoner, §2.5, Eqs. (2.39)–(2.43).
The connected fourth cumulant is a finite-width effect
Use labels for arbitrary site indices , and write . Define the feature fourth moment . Expanding four cosines leaves three pairs of opposite total phase. Averaging the mode then gives
For one summand , Gaussian amplitude averaging gives . Independent-sum cumulants add, while the four factors give . Consequently
This identity is exact at finite . At a single site , hence
The positive excess fourth moment reflects fluctuations in the conditional variance supplied by the random features. More generally, the connected -point cumulant scales as for these independent, identically distributed summands. This follows from cumulant additivity, not from a slope fitted to a noisy plot. See Demirtas et al., §2.1 and §2.3.1, Eqs. (2.33)–(2.38) for the generating-function organization of this expansion.
Construct the generating function and the 1PI vertex
Let be the coordinate source in . A sampled physical source in therefore corresponds to . Integrating the Gaussian amplitudes in (4) exactly gives
The features are bounded, so this expression is finite for every finite real source. Its local expansion is
with repeated site indices summed. All odd cumulants vanish by amplitude symmetry.
Define and the Legendre transform
Strictly positive makes the source-to-mean map locally invertible at zero. Let . Solving the mean equation through cubic order gives
Since , differentiating once more yields
Equation (14) is an exact finite- derivative identity here: the cubic connected function vanishes, so no cubic-vertex terms enter the fourth derivative. This is the finite-dimensional amputation of four external propagators. The tensor is generally nonlocal, despite the local quadratic inverse covariance .
One may write a local-in-field expansion
The quartic coefficient is of order . Truncating the whole function at that term is an approximation: sixth derivatives contain both sixth cumulants and products of fourth cumulants, of order . A negative quartic coefficient in (15) does not make the full Legendre transform unbounded; it warns against treating its low-field polynomial as a global action.
There is another distinction. A Legendre effective action is not the negative logarithm of a field-space probability density. The latter is the object treated by an Edgeworth density expansion in Demirtas et al., §3.1, Eqs. (3.7)–(3.15). Our finite law need not even have a density on all of : the event that all modes in (4) equal zero has positive probability and produces a constant field, a singular component supported on a lower-dimensional subspace. Equations (10)–(14) require no assumption of a smooth global density.
An independent one-source check
For a source at site zero, does not depend on the random mode. Using in (10),
where is the modified Bessel function. Since , the fourth derivative is , agreeing with (9).
The one-variable Legendre transform of (16), denoted , obeys
This is a marginal one-coordinate transform. It is not obtained by assuming that the full-field along the coordinate axis has the same fourth derivative: other mean coordinates also respond to a source at site zero.
The companion independently integrates the phase at orders 128 and 256 for and , agreeing with (16) to below . It also solves the one-dimensional source-to-mean equation and uses the centered fourth difference
at . The constant term is zero and the quadratic term cancels. At , the errors decrease from to ; at , from to .
Dense inversion and the independent Fourier covariance agree within . A sixteen-phase quadrature independently checks every feature fourth-moment component to . The full vertex tensor is formed and multiplied back by four covariances; the normalized discrepancy from the original cumulant is below . Permutation and translation tests are retained as well.
Sample the weights without hiding subtraction noise
The experiment draws 65,536 independent fields at each width , divided into 256 independent blocks of 256 for uncertainty estimates. Modes, phases and Gaussian amplitudes have separate fixed seed streams. There is no training, selected width range or resampling after inspecting the outcome.
Directly estimating a connected fourth moment involves cancellation. Because is known exactly in this example, use the Wick-centered statistics
and
Their expectations are the indicated cumulants. Using the exact avoids bias from products of a noisy sample covariance; it should not be silently replaced by such products in a different application.
There is a useful conditional estimator from the same random features. Given them, is Gaussian with covariance
Conditional Wick contraction in (19)–(20) gives
This integrates over the Gaussian amplitudes rather than drawing additional fields. The law of total variance proves that conditioning cannot increase the population variance. Raw and conditional estimates share features and are correlated; the retained driver also reports their paired difference and its uncertainty.
| Width | Exact | Raw estimate SE | Conditional estimate SE |
|---|---|---|---|
| 1 | |||
| 4 | |||
| 16 | |||
| 64 |
Each SE is the sample standard deviation of 256 block means divided by . At the largest width, the raw error is almost as large as the signal. A visually suggestive line through these raw points would be weak evidence for an exponent. The law is instead the exact result (8), and the sampled-weight comparison tests it with its actual precision.
Both panels use the same fixed 65,536 realizations per width. The vertical coordinate is , so exact width scaling is horizontal without fitting a slope. Error bars are one block-based SE. Conditional amplitude integration reduces the uncertainty of the same observable; it does not supply independent extra samples.
The fixed model, full tensors, block summaries and selected outcomes are retained in random_feature_field.py, random_feature_checks.py and random-feature-results.json under examples/computational-qft/machine-learning/.
A positive covariance can still fail reflection positivity
Ordinary covariance positivity tests . A necessary two-point reflection-positivity condition for a translation-invariant Euclidean theory instead tests
Time reflection changes the difference into a sum. For smooth test functions, the corresponding sum is a double integral over positive times. This condition is part of the additional structure needed for a unitary Lorentzian reconstruction; see the distinction between statistical field ensembles and QFT in Demirtas et al., §1.2.
Consider two separate continuum-time kernels,
The first is the massive free oscillator covariance. Its reflected matrix is an outer product, , and is positive semidefinite for any positive-time test points. The second is a positive ordinary covariance with a positive Gaussian Fourier transform. But for two distinct positive times,
At and , the Gaussian reflected matrix has eigenvalues approximately and . Its ordinary covariance matrix has positive eigenvalues and . There is no contradiction: the tested matrices differ.
Continuity allows the negative point-test combination to be replaced by sufficiently narrow smooth bumps supported near these positive times, retaining the negative sign. Thus the failure is not an artifact of using delta functions as test functions. Conversely, passing a two-point test alone would not verify the higher-point inequalities of a non-Gaussian theory. This separate kernel comparison neither proves nor disproves full reflection positivity of the finite-width lattice ensemble (4).
Keep the three limits and the claims separate
At fixed regulator, increasing in (4) suppresses connected non-Gaussian cumulants and approaches the specified Gaussian law. Training would change the parameter distribution and could destroy independence, so the same counting would need to be rederived. A continuum limit would change and possibly couplings while matching physical quantities. None of those operations is interchangeable with increasing the number of Monte Carlo draws used to measure a fixed ensemble.
The present construction proves finite probability, exact covariance, lattice symmetries, the connected fourth tensor and its amputated 1PI vertex. It does not prove locality of that vertex, a continuum interacting measure, clustering in an infinite-volume limit or all reflection-positivity conditions. Those are substantive field-theory requirements, not consequences of naming the random function a network.
Summary
A specified network ensemble gives a genuine probability law and hence computable correlation functions. Here it reproduces a regulated free covariance at every width and has an exact connected fourth correction proportional to . The finite-dimensional Legendre transform supplies a corresponding exact fourth derivative, while its quartic truncation and any density-action interpretation require separate care. Translation symmetry and positive covariance still leave reflection positivity and continuum locality unresolved.
Exercises
1. Change the amplitude distribution
Replace the Gaussian amplitudes by independent symmetric variables with mean zero, variance one and finite fourth moment . Keep the feature distribution unchanged. Derive the one-site connected fourth cumulant and compare Gaussian and Rademacher amplitudes. How does the result enter the 1PI fourth vertex?
Solution
The covariance is unchanged because it uses only . For one summand ,
Its fourth cumulant is therefore . Additivity and the normalization give
Gaussian amplitudes have , producing the positive value (9). Rademacher amplitudes have , producing . Finite width by itself does not fix the sign of the non-Gaussian correction.
For all site labels the numerator in (8) becomes minus the three covariance products. If the moment-generating function exists near zero, the symmetric law still has no odd vertices and (14) applies with that new cumulant. A finite fourth moment alone need not guarantee such a moment-generating function; the Gaussian and Rademacher cases do have one. The marginal one-site 1PI derivative is , with the opposite sign from its connected fourth cumulant.
2. Test reflection rather than ordinary covariance
Derive the two reflected determinants for (24). Show that the Gaussian kernel's ordinary two-point covariance remains positive for distinct times, and explain the consequence for a proposed Euclidean QFT.
Solution
For the free kernel, with . Hence and the two-by-two determinant is zero.
For the Gaussian kernel, the reflected diagonal entries are and the off-diagonal square is . Their determinant is (25). Since
the first exponential is smaller, giving a negative eigenvalue. Ordinary covariance instead gives diagonal entries one and off-diagonal entry . Its eigenvalues are for distinct times.
Thus a legitimate stationary Gaussian process can fail a necessary reflection-positivity condition. The network representation or positive ordinary covariance does not remove that obstruction to a positive-norm Lorentzian reconstruction. Passing the displayed free two-point test is consistent with the free theory; extending a claim to interacting higher correlators requires their corresponding positivity conditions as well.
References
- M. Demirtas, J. Halverson, A. Maiti, M. D. Schwartz and K. Stoner, “Neural Network Field Theories: Non-Gaussianity, Actions, and Locality,” arXiv:2307.03223v2. See §1.2 for the statistical-field/QFT distinction, §2.1 and §2.3.1 for connected cumulants and width counting, and §3.1 for the density Edgeworth expansion. The density expansion is distinct from the Legendre construction used here.
- J. Halverson, A. Maiti and K. Stoner, “Neural Networks and Quantum Field Theory,” arXiv:2008.08601v2. See §2.5, Eqs. (2.39)–(2.43), for covariance and connected-fourth scaling. The finite Fourier law, inverse-covariance normalization and conditional estimators above are explicitly specified examples.
Further reading
- Gauge-equivariant networks builds local transformation laws without inferring a probability measure from them.
- Conserved learned dynamics separates a structural identity from the accuracy of a learned physical model.
Scrollable formula. Use Left and Right arrow keys to reveal hidden content.
Scrollable table. Use Left and Right arrow keys to reveal hidden columns.
Scrollable figure. Use Left and Right arrow keys to reveal hidden content.