Statistical mechanics of vector Hopfield network near and above saturation
Flavio Nicoletti, Francesco D'Amico, Matteo Negri
TL;DR
We introduce a vector Hopfield model with $d$-dimensional spins and analyze its equilibrium and out-of-equilibrium behavior. Using replica-symmetric theory, we map the phase diagram as a function of storage $α$ and temperature $T$, finding that the retrieval region shrinks with increasing $d$ and that the zero-temperature capacity scales as $α_c(0) ∝ 1/d$, while transient one-step retrieval or denoising scales as $\tilde{α} ∝ d$. A detailed Hessian analysis reveals a gapless lower edge and a pseudogap with localized soft modes for memory states, contrasting with delocalized modes in spurious states, and the soft-mode structure is tied to the local-field distribution and Onsager reaction. Dynamically, above saturation the network exhibits transient denoising at the first step, with Mattis states showing enhanced one-step retrieval that survives up to $\tilde{α} ∝ d$, consistent with a mean-field glass interpretation where memory states are stable glasses. The results establish connections between high-dimensional vector spin memories, random-matrix theory, and glassy dynamics, with implications for understanding attention-like mechanisms in modern neural architectures.
Abstract
We study analytically and numerically a Hopfield fully-connected network with $d$-dimensional vector spins. These networks are models of associative memory that generalize the standard Hopfield with Ising spins, where $P$ examples are stored in a network of $N$ units as local minima in an energy landscape. We study the equilibrium and out-of-equilibrium properties of the system, considering the system in its retrieval phase $α<α_c$ and beyond, where $α=P/N$ is the capacity of the system and $α_c$ is its critical value, above which storage fails. We derive the Replica Symmetric solution for the equilibrium thermodynamics of the system, together with its phase diagram: we find that the retrieval phase of the network shrinks with growing spin dimension, having ultimately a vanishing critical capacity $α_c\propto 1/d$ in the large $d$ limit. As a trade-off, we observe that in the same limit vector Hopfield networks are able to denoise corrupted input patterns in the first step of retrieval dynamics, up to very large capacities $α\propto d$. We also study the static properties of the system at zero temperature, considering the statistical properties of soft modes of the energy Hessian spectrum. We find that local minima of the energy landscape related to memory states have ungapped spectra with rare soft eigenmodes: these excitations are localized, their measure condensating on the noisiest neurons of the memory state.
