Skip to main content
QUICK REVIEW

[Paper Review] The dimensionality of the Hopfield model

Cristopher Erazo, Santiago Acevedo|arXiv (Cornell University)|Jan 24, 2026
Neural Networks and ApplicationsComputer Science0 citations
TL;DR

This paper applies Binary Intrinsic Dimension (BID) to the Hopfield network to detect phase transitions and relate geometric dimensionality to spin overlaps, showing linear BID in retrieval/paramagnetic phases and sublinear BID in spin-glass phases.

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.

Motivation & Objective

  • Motivate robust, unsupervised dimensionality measures for binary spin systems and their phases.
  • Apply BID to the Hopfield model to identify phase transitions without relying on conventional order parameters.
  • Establish connections between BID and spin-glass overlap distributions to illuminate state-space geometry.
  • Assess finite-size effects on traditional order parameters and show BID’s robustness across system sizes.

Proposed method

  • Define the Binary Intrinsic Dimension (BID) for binary data via fitting P(r|θ) to empirical Hamming-distance distributions (P(r|θ) with dθ(r)=θ0+rθ1).
  • Compute BID as BID = θ0 from the local fit, relating to x = (1/N)s·s′ and r = N(1−x)/2.
  • Study Hopfield networks with N spins storing p patterns (load α=p/N) under asynchronous updates and Boltzmann dynamics.
  • Estimate q and mν from finite samples to compare with thermodynamic predictions and analyze finite-size effects.
  • Analyze BID across temperature T and load α, using N≈1024, N_S≈2500, and multiple realizations to map phase behavior.
  • Use Gaussian approximation of P(r|θ) to relate BID to overlap statistics and discuss scaling with system size.
(a) Dataset
(a) Dataset

Experimental results

Research questions

  • RQ1Can BID serve as an unsupervised order parameter for Hopfield model phases?
  • RQ2How does BID scale with system size in retrieval, paramagnetic, and spin-glass phases?
  • RQ3What is the relationship between BID and the overlap distribution q and mν?
  • RQ4How do finite-size effects influence traditional order parameters versus BID in finite Hopfield networks?

Key findings

  • BID tracks phase transitions in the Hopfield model, aligning with retrieval, spin-glass, and paramagnetic regimes.
  • BID scales linearly with N in retrieval and paramagnetic phases, and displays sublinear scaling in the spin-glass phase.
  • BID overcomes finite-size issues that affect q estimates under Z2 symmetry, providing stable estimates across sizes.
  • A direct relation between BID and the overlap distribution is established, including a Gaussian approximation linking BID/N, Std[x], and E[x] (≈ q).
  • Finite-size analysis shows BID remains robust while traditional q estimates exhibit bimodality and slow convergence near criticality.
  • The sublinear BID scaling is tied to increased correlations and nontrivial state-space geometry in the spin-glass phase.
(b) Hamming Distances
(b) Hamming Distances

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.