The GINN framework: a stochastic QED correspondence for stability and chaos in deep neural networks

Rodrigo Carmo Terin
8/26/2025
hep-thcond-mat.dis-nncs.LG

No confident code implementation found for this paper.

Abstract

The development of a Euclidean stochastic field-theoretic approach that maps deep neural networks (DNNs) to quantum electrodynamics (QED) with local U(1) symmetry is presented. Neural activations and weights are represented by fermionic matter and gauge fields, with a fictitious Langevin time enabling covariant gauge fixing. This mapping identifies the gauge parameter with kernel design choices in wide DNNs, relating stability thresholds to gauge-dependent amplification factors. Finite-width fluctuations correspond to loop corrections in QED. As a proof of concept, we validate the theoretical predictions through numerical simulations of standard multilayer perceptrons and, in parallel, propose a gauge-invariant neural network (GINN) implementation using magnitude--phase parameterization of weights. Finally, a double-copy replica approach is shown to unify the computation of the largest Lyapunov exponent in stochastic QED and wide DNNs.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{terin2025ginn,
  title  = {The GINN framework: a stochastic QED correspondence for stability and chaos in deep neural networks},
  author = {Rodrigo Carmo Terin},
  year   = {2025},
  eprint = {2508.18948},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.18948v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.18948.svg)](https://codeofpaper.com/paper/2508.18948)

Discussion