Exponential Capacity in Multilayer Hetero-Associative Neural Networks
Elena Agliari, Adriano Barra, Andrea Ladiana, Andrea Lepre
cond-mat.dis-nn, stat.ML
Submitted: 2026-07-31
Code: https://github.com/andrea-ladiana/exponential-lam-engine
License: http://creativecommons.org/licenses/by/4.0/
The gist: Exponential Hopfield networks store a number of patterns that grows exponentially with the number of neurons, and in their classical formulation they are auto-associative: they complete a corrupted
Terminology
Abstract
Exponential Hopfield networks store a number of patterns that grows exponentially with the number of neurons, and in their classical formulation they are auto-associative: they complete a corrupted copy of a memory into the memory itself. Many of the tasks one wants such a network to perform are instead hetero-associative, mapping a cue to a different target. We introduce and analyse an exponential neural network of L layers of N binary neurons, each layer carrying its own dataset, whose energy is an exponential of the product of the per-layer Mattis overlaps, so that it is minimised precisely when every layer retrieves the pattern of the same index; the stored association must be a surjective function of the cue, and we show why nothing else can be stored at all. A cavity/signal-to-noise analysis, made exact at leading order by a large-deviation evaluation of the noise, shows that the aligned hetero-associative state is a fixed point of the zero-temperature dynamics up to a number of stored patterns P c about e N rho L, exponential in the layer size, with an explicit rate rho L that grows like L 2; enlarging the basins of attraction lowers the rate but never destroys its exponential character. Comparing the theory with structured data we find that the exponential capacity and the predicted basins survive correlated, many-to-one patterns: the network is a near-perfect content-addressable memory. The same closed forms describe, without refitting, a synthetic manifold, real T-cell-receptor/epitope triples and natural-language intent data, so the mechanism is domain-universal. Generalisation to unseen cues, though significantly above chance, stays below memorisation, and it is the geometry of the encoding, rather than the data domain, that sets how far above chance it reaches. In this family, exponential storage and strong generalisation are distinct capabilities.
Sources
- Large Associative Memory Problem in Neurobiology and Machine Learning
- Supervised and Unsupervised protocols for hetero-associative neural networks
- Random Features Hopfield Networks generalize retrieval to previously unseen examples
- A Federated Many-to-One Hopfield model for associative Neural Networks
- Finite-size scaling of hetero-associative retrieval in continuous-signal-driven Ising spin systems
- Do Hopfield Networks Dream of Stored Patterns? A Statistical-Mechanical Theory of Dreaming in Multidirectional Associative Memories
Related papers
- Approximating velocity fields with planted point attractors via Neural-ODE for classification purposes
- Probing critical phases in quasiperiodic systems via subsystem information capacity
- Few-Shot Neuromorphic Vision in a Nonlinear Photonic Network Laser
- Toward a Physics of Deep Learning and Brains
- Hyperbolic lattices with mass disorder: Phases and phase transitions
- Resonance Proliferation Across Localization Transitions