Related Experiment Video
Updated: Mar 8, 2026

Gradient Echo Quantum Memory in Warm Atomic Vapor
Published on: November 11, 2013
On the Maximum Storage Capacity of the Hopfield Model
Viola Folli1, Marco Leonetti1, Giancarlo Ruocco2
1Center for Life Nanoscience, Istituto Italiano di Tecnologia Rome, Italy.
Abstract:
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 (≈ 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 ≫ 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≫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.
Related Concept Videos
Buffers: Buffer Capacity
In the graph, pH is plotted as a function of the number of moles of base (Cb) added to a weak...
Storage
Energy Stored in a Capacitor: Problem Solving
Capacitor-discharge ignition is a type of ignition system commonly found in small engines where the energy released from a capacitor ignites an induction coil that, in turn, fires the spark plug.
To calculate the energy stored in a capacitor of...
Energy Stored in a Capacitor
Energy Stored in Capacitors
By integrating the equation that relates voltage and current in a capacitor, one can derive an equation for the voltage across the capacitor at any given time. This equation is crucial in understanding and predicting the behavior of capacitors in...
Ampere-Maxwell's Law: Problem-Solving
To solve the problem, we can use the equations from the analysis of an RC circuit and Maxwell's version of Ampère's law.
For the first part of the...

