Hierarchical Prototype Emergence in Modern Hopfield Models
Abstract
Hierarchical correlations are a universal feature of any realistic model of data, and the question of how associative memory models may learn these correlations and generalize beyond them to construct new sensible images is an important step towards understanding more complex modern architectures such as diffusion models. We consider a hierarchical model for memories which are sampled and stored in a dense Hopfield network with polynomial activation. We analytically derive conditions for each level of this hierarchy to be locally stable - that is they are local energy minima. We use prototype reconstruction as a minimal model of generalization and we find that it takes only a quasi-polynomial amount of information to generalize beyond particular memories and even particular groups in the hierarchy. We observe a qualitatively analogous phase diagram in the number of memories, sharpness of the activation function (polynomial degree) for data from Fashion-MNIST.
Create a lesson
Metadata
- Categories
- cond-mat.dis-nn, cs.AI, cs.LG
- Comments
- 5 pages, 19 page supplementary information. Additional citation requests welcome
Related papers
A Bifurcation Theory for the Equilibria of Modern Hopfield Networks
Shared title terminologycond-mat.dis-nnVincenzo Maria Schimmenti, Matteo Ciarchi
From Spin Glass Theory to Optimization in High Dimensions and Modern Artificial Neural Networks
Shared title terminologycond-mat.dis-nnRiccardo Zecchina, Gianmarco Perrupato
Statistical mechanics of linear classification on hierarchical tree data
Shared title terminologycond-mat.dis-nnJerome Garnier-Brun, Federica Kulka, Carlo Lucibello
Thermodynamics of Forgetting in a Bounded Hopfield Network
Shared title terminologycond-mat.dis-nnAndrea Lepre
Memory flows: geometry and dynamics of sequential retrieval in input-driven Hopfield networks
Shared title terminologycond-mat.dis-nnSimone Betteti, Matteo Martin, Morten Gram Pedersen et al.
Existence of the thermodynamic limit for the Hopfield model
Shared title terminologycond-mat.dis-nnAdriano Barra, Fabrizio Durante