Related Experiment Video
Updated: Jun 25, 2025

A Simple Stimulatory Device for Evoking Point-like Tactile Stimuli: A Searchlight for LFP to Spike Transitions
Published on: March 25, 2014
Regularization, early-stopping and dreaming: A Hopfield-like setup to address generalization and overfitting
E Agliari1, F Alemanno2, M Aquaro1
1Dipartimento di Matematica "Guido Castelnuovo", Sapienza Università di Roma, Italy; GNFM-INdAM, Gruppo Nazionale di Fisica Matematica (Istituto Nazionale di Alta Matematica), Italy.
This study optimizes attractor neural networks using machine learning, finding that Hebbian learning with unlearning avoids overfitting. Strategies like regularization and early stopping enhance network generalization capabilities.
Area of Science:
- Machine Learning
- Computational Neuroscience
- Artificial Intelligence
Background:
- Attractor neural networks (ANNs) are computational models inspired by biological neural networks.
- Traditional ANNs often face challenges with overfitting and generalization.
- A machine learning perspective offers novel approaches to optimize ANN parameters.
Purpose of the Study:
- To apply machine learning techniques, specifically gradient descent on a regularized loss function, to optimize attractor neural network parameters.
- To investigate the relationship between unlearning protocols, regularization, and training time in ANNs.
- To analyze the generalization capabilities of optimized ANNs across different data regimes.
Main Methods:
- Utilized gradient descent optimization on a regularized loss function to determine optimal network parameters.
- Identified optimal neuron-interaction matrices as Hebbian kernels modified by an unlearning protocol.
- Conducted analytical and numerical experiments on synthetic datasets to evaluate network performance and generalization.
Main Results:
- The extent of the unlearning protocol is directly related to the regularization hyperparameter and training duration.
- Developed strategies for overfitting avoidance through regularization and early-stopping.
- Identified distinct performance regimes (overfitting, failure, success) based on dataset parameters.
Conclusions:
- Hebbian kernels revised by unlearning offer an effective approach to training ANNs within a machine learning framework.
- Regularization and early stopping are crucial for managing overfitting and enhancing generalization in ANNs.
- The study provides a framework for designing and analyzing ANNs with improved predictive performance.
Related Concept Videos
Generalization, Discrimination, and Extinction
Generalization occurs when a behavior reinforced in one context is performed in similar situations. For instance, a student who studies diligently for calculus and receives excellent grades might apply the same study habits to psychology and history, expecting similar results. Generalization shows how learning in one setting can influence behavior in...
Regression Toward the Mean
Multi-input and Multi-variable systems
In the absence...
Residuals and Least-Squares Property
If the observed data point lies above the line, the residual is positive, and the line underestimates the actual data value for y. If the observed data point lies below the line, the residual is negative, and the line overestimates the actual data value for y.
The process of fitting the best-fit...
Propagation of Uncertainty from Random Error
Multiple Regression
Farmers can use multiple regression to determine the crop yield based on more than one factor, such as water availability, fertilizer, soil properties, etc. Here, the crop yield is the response or dependent variable as it depends on the other independent variables. The analysis requires the construction of a scatter plot...

