On the Maximum Storage Capacity of the Hopfield Model
Open accessAbstract
Recurrent neural networks (RNN) have traditionally been of great interest for their capacity to store memories. In past years, several works have been devoted to determine the maximum storage capacity of RNN, especially for the case of the Hopfield network, the most popular kind of RNN. Analyzing the thermodynamic limit of the statistical properties of the Hamiltonian corresponding to the Hopfield neural network, it has been shown in the literature that the retrieval errors diverge when the number of stored memory patterns ($P$) exceeds a fraction ( $\approx 14\%$) of the network size $N$. In this paper, we study the storage performance of a generalized Hopfield model, where the diagonal elements of the connection matrix are allowed to be different from zero. We investigate this model at finite $N$. We give an analytical expression for the number of retrieval errors and show that, by increasing the number of stored patterns over a certain threshold, the errors start to decrease and reach values below unit for $P \gg N$. We demonstrate that the strongest trade-off between efficiency and effectiveness relies on the number of patterns ($P$) that are stored in the network by appropriately fixing the connection weights. When $P$$\gg$$N$ and the diagonal elements of the adjacency matrix are not forced to be zero, the optimal storage capacity is obtained with a number of stored memories much larger than previously reported. This theory paves the way to the design of RNN with high storage capacity and able to retrieve the desired pattern without distortions.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
For Hopfield networks with non-zero diagonal matrices, the storage can be increased to Cd log(d).
“For Hopfield networks with non-zero diagonal matrices, the storage can be increased to Cd log( d ) (Folli et al., 2017).”
From Hopfield Networks is All You Need (2020) · cites this paper as Folli et al., 2017
Using Hopfield networks with non-zero diagonal matrices, the storage can be increased to Cd ln(d).
“Using Hopfield networks with non-zero diagonal matrices, the storage can be increased to Cd ln( d ) (Folli et al., 2017).”
From Hopfield Networks is All You Need (2020) · cites this paper as Folli et al., 2017
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Cites
Rojas, R. (1996) · doi:10.1007/978-3-642-61068-4 · Cited by 810 · see citing works
Flagged first, then by citations
Research works printed but not linked: 22
- Abu-Mostafa Y. S. St. Jacques J.-M. (1985). Information capacity of the Hopfield model. IEEE Trans. Inf. Theory IT-31, 461 10.1109/tit.1985.1057069 · DOI
- Amit D. J. (1989). Modelling Brain Function: The World of Attractor Neural Networks. Cambridge: Cambridge University Press.
- Amit D. J. Gutfreund H. Sompolinsky H. (1985a). Storing infinite numbers of patterns in a spin-glass model of neural networks. Phys. Rev. Lett. 55: 1530. 10.1103/PhysRevLett.55.1530 10031847 · DOI
- Amit D. J. Gutfreund H. Sompolinsky H. (1985b). Spin-glass models of neural networks. Phys. Rev. A 32:1007. 10.1103/physreva.32.1007 9896156 · DOI
- Brunel N. (2016). Is cortical connectivity optimized for storing information? Nat. Neurosci. 19: 749. 10.1038/nn.4286 27065365 · DOI
- Cooper L. N. (1973). A possible organization of animal memory and learning, in Proceedings of the Nobel Symposium on Collective Properties of Physical Systems, eds Lundquist B. Lundquist S. (New York, NY: Academic Press), 252– 264.
- Cooper L. N. Liberman F. Oja E. (1979). A theory for the acquisition and loss of neuron specificity in visual cortex. Biol. Cybern. 33: 9. 10.1007/BF00337414 222355 · DOI
- Corless R. M. Gonnet G. H. Hare D. E. G. Jeffrey D. J. Knuth D. E. (1996). On the LambertW function. Adv. Comput. Math. 5: 329. 10.1007/BF0212475028043612 · DOI
- Derrida B. (1989). Distribution of the activities in a diluted neural network. J. Phys. A Math. Gen. 22: 2069 10.1088/0305-4470/22/12/012 · DOI
- Eccles J. G. (1953). The Neurophysiological Basis of Mind. Oxford: Clarendon.
- Gutfreundt H. Regert J. D. Young A. P. (1988). The nature of attractors in an asymmetric spin glass with deterministic dynamics. J. Phys. A Math. Gen. 21: 2775 10.1088/0305-4470/21/12/020 · DOI
- Haykin S. (1999). Neural Networks: A Comprehensive Foundation. Prentice Hall Available online at: https://lecteurepub-a507a.firebaseapp.com/3RO4lXk7OXbEm12/Neural%20Networks%20A%20Comprehensive%20Foundation%202nd%20Edition%20Ebooks%20Gratuit.pdf
- Hebb D. O. (1949). The Organization of Behavior. New York, NY: Wiley.
- Hopfield J. J. (1982). Neural networks and physical systems with emergent collective computational abilities. Proc. Nat. Acad. Sci. U.S.A. 79: 2554. 10.1073/pnas.79.8.2554 6953413 PMC346238 · DOI · Paper page
- Hopfield J. J. (1984). Neurons with graded response have collective computational properties like those of two-state neurons. Proc. Nat. Acad. Sci. U.S.A. 81: 3088. 10.1073/pnas.81.10.3088 6587342 PMC345226 · DOI · Paper page
- Hopfield J. J. Feinstein D. I. Palmer R. G. (1983). ‘Unlearning’ has a stabilizing effect in collective memories Nature 304, 158. 6866109
- Mc Eliece R. J. Posner E. C. Rodemich E. R. Venkatesh S. S. (1987). The capacity of the hopfield associative memory. IEEE Trans. Inf. Theory IT-33, 461.
- Olver F. W. J. Lozier D. W. Boisvert R. F. Clark C. W. (eds.). (2010). Handbook of Mathematical Functions. Cambridge: Cambridge University Press.
- Sollacher R. Gao H. (2009). Towards real-world applications of online learning spiral recurrent neural networks. J. Intell. Learn. Syst. Appl. 1: 1 10.4236/jilsa.2009.11001 · DOI
- Sompolinsky H. Crisanti A. Sommers H. (1988). Chaos in random neural networks. Phys. Rev. Lett. 61: 259. 10.1103/PhysRevLett.61.259 10039285 · DOI · Paper page
- Tanaka F. Edwards S. F. (1980). Analytic theory of the ground state properties of a spin glass. I. Ising spin glass. J. Physi. F Met. Phys. 10: 2769 10.1088/0305-4608/10/12/017 · DOI · Paper page
- Wainrib G. Touboul J. (2013). Topological and dynamical complexity of random neural networks. Phys. Rev. Lett. 118: 101259 10.1103/physrevlett.110.118101 25166580 · DOI · Paper page
Cited by
Sorted by citations
Hopfield Networks is All You Need
Ramsauer, H., Schäfl, B., Lehner, J., Seidl, P., Widrich, M., Adler, T., Gruber, L., Holzleitner, M., Pavlović, M., Sandve, G. K., et al. (2020) · arXiv · doi:10.48550/arxiv.2008.02217 · Cited by 236 · see citing works
“Using a Hopfield network with non-zero diagonal matrices, the storage can be increased to Cd log(d) [28].”
Method
- Authors
- Folli, V., Leonetti, M., & Ruocco, G.
- Affiliations
- Italian Institute of Technology (IT)
- Corresponding author
- Folli, Viola
- Venue
- Frontiers in Computational Neuroscience
- Publisher
- Frontiers Media SA
- Published
- 2017-01-10
- Volume
- 10
- Pages
- 144-144
- ISSN
- 1662-5188 (ISSN-L)
- PMC
- PMC5222833
- OpenAlex
- W2569829274
- Cited by
- 50
- References
- 1
- Citations by year
- 2026: 4 · 2025: 7 · 2024: 4 · 2023: 8 · 2022: 6 · 2021: 6 · 2020: 7 · 2019: 4 · 2018: 3 · 2017: 1
- FWCI
- 2.45
- Type
- journal article
- Language
- en
- Open access
- gold
- doi.org
- Licence
- cc-by
- Locations
- Frontiers in Computational Neuroscience (publishedVersion, cc-by)
- PubMed Central (publishedVersion, cc-by)
- PubMed (publishedVersion)
- IRIS Research product catalog (Sapienza University of Rome) (submittedVersion, cc-by)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Neural Networks and Applications
- Life Sciences › Neuroscience › Cognitive Neuroscience › Neural dynamics and brain function
- Physical Sciences › Computer Science › Artificial Intelligence › Neural Networks and Reservoir Computing
- Keywords
- Hopfield neural network, storage capacity, recurrent neural networks, finite-size effects, pattern storage, effectiveness-efficiency trade-off, connection weight optimization, associative memory
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review