paper-with-me

홈 › Papers

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

2024-08-12 · Richard Barney, Michael Winer, Victor Galitksi

We 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. We study the magnetic phases and the melting transition temperature as training progresses. First, we prove 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 $T_c$ 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. We suggest that this statistical mechanical view of NNs provides a useful unifying perspective on the training process, which can be viewed as selecting and strengthening a symmetry-broken state associated with the training task.

📄 PDF Abstract BibTeX arXiv:2408.06421

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Exploring Loss Landscapes through the Lens of Spin Glass Theory

2024-07-30 · Hao Liao, Wei zhang, Zhanyi Huang, Zexiao Long 외

In the past decade, significant strides in deep learning have led to numerous groundbreaking applications. Despite these advancements, the understanding of the high generalizability of deep learning, especially in such a…

High-Dimensional Latents Should Be Diagnosed Through Phase Structure

2026-05-23 · Alejandro Ascarate, Leo Lebrat, Rodrigo Santa Cruz, Clinton Fookes 외 arxiv

We study autoencoder and variational-autoencoder latent spaces through the lens of spin-glass theory. The paper has two components. First, we formalize a latent-space spin-glass dictionary: for a fixed decoder, the recon…

Anomaly Detection

Direct observation of a dynamical glass transition in a nanomagnetic artificial Hopfield network

2022-02-04 · Michael Saccone, Francesco Caravelli, Kevin Hofhuis, Sergii Parchenko 외

Spin glasses, generally defined as disordered systems with randomized competing interactions, are a widely investigated complex system. Theoretical models describing spin glasses are broadly used in other complex systems…

A Spin Glass Characterization of Neural Networks

2025-08-10 · Jun Li arxiv

This work presents a statistical mechanics characterization of neural networks, motivated by the replica symmetry breaking (RSB) phenomenon in spin glasses. A Hopfield-type spin glass model is constructed from a given fe…

A Probability Density Theory for Spin-Glass Systems

2020-01-03 · Gavin S. Hartnett, Masoud Mohseni

Spin-glass systems are universal models for representing many-body phenomena in statistical physics and computer science. High quality solutions of NP-hard combinatorial optimization problems can be encoded into low ener…

Combinatorial Optimizationvalid