The dimensionality of the Hopfield model
Cristopher Erazo, Santiago Acevedo, Alessandro Ingrosso
TL;DR
This work introduces the Binary Intrinsic Dimension (BID) as a global geometric measure tailored for binary data and applies it to the Hopfield network to probe phase structure and transitions. By fitting a linear dimensionality model to the distribution of Hamming distances and relating distances to overlaps via $x=1-\frac{2}{N}r$, the authors extract BID as $\hat{\theta}_0$ and connect BID to the overlap distribution $q$ through $\mathbb{E}_\theta[x] \approx q$, offering a geometry-based perspective on retrieval, spin-glass, and paramagnetic phases. The results show that BID scales linearly with system size $N$ in retrieval and paramagnetic phases, but exhibits sublinear scaling in the spin-glass phase, signaling strong correlations, with a Gaussian approximation linking BID to overlap moments and yielding a scaling relation $\gamma_{\mathrm{Std}}+\gamma_{\mathrm{BID}} \approx 1/2$. BID proves robust to finite-size effects and sampling schemes, providing a practical, unsupervised tool to detect phase transitions and to study the relationship between state-space geometry and standard order parameters. The study lays groundwork for applying BID to more complex networks and for exploring non-linear extensions of the dimensionality model, with implications for understanding binary neural systems and related architectures.
Abstract
We use the Binary Intrinsic Dimension (BID), a geometrical measure designed for binary data, to analyze the Hopfield model, a paradigmatic spin system from statistical mechanics, machine learning and neuroscience. The BID allows us to characterize the phases and transitions of this system, and moreover it is robust against finite-size effects that interfere with the correct numerical estimation of the spin-glass order parameter ($q$). We observe that the BID scales linearly with system size in the retrieval and paramagnetic phases, where the correlations between spins are small, and exhibits sublinear scaling in the whole spin-glass phase, highlighting its correlated structure. Furthermore, we establish a direct relationship between the BID and the overlap distribution, unveiling a novel connection between the geometry of the state-space and standard spin order parameters.
