APS Logo

Neural Networks as Spin Models: From Glass to Hidden Order Through Training

ORAL · Invited

Abstract

This talk will explore a one-to-one correspondence between a neural network (NN) and a statistical mechanical spin model where neurons are mapped to Ising spins and weights to spin-spin couplings. The process of training an NN produces a family of spin Hamiltonians parameterized by training time. The magnetic phases and the melting transition temperature will be discussed as training progresses. First, it will be proven analytically that the common initial state before training--an NN with independent random weights--maps to a layered version of the classical Sherrington-Kirkpatrick spin glass exhibiting a replica symmetry breaking. The spin-glass-to-paramagnet transition temperature is calculated. Further, we use the Thouless-Anderson-Palmer (TAP) equations--a theoretical technique to analyze the landscape of energy minima of random systems--to determine the evolution of the magnetic phases on two types of NNs (one with continuous and one with binarized activations) trained on the MNIST dataset. The two NN types give rise to similar results, showing a quick destruction of the spin glass and the appearance of a phase with a hidden order, whose melting transition temperature ,Tc, grows as a power law in training time. We also discuss the properties of the spectrum of the spin system's bond matrix in the context of rich vs. lazy learning. This provides an appealing physical picture of training neural networksas a search for hidden order associated with the task. Finally, a natural quantization of neural networks will be introduced, and it will be argued that some test cases are readily deployable on present-day quantum computers.

Publication: arXiv:2408.06421

Presenters

  • Victor Galitski

    University of Maryland, College Park, University of Maryland College Park

Authors

  • Victor Galitski

    University of Maryland, College Park, University of Maryland College Park

  • Richard D Barney

    University of Maryland, College Park, University of Maryland College Park

  • Michael Winer

    University of Maryland College Park