Regularization, early-stopping and dreaming: a Hopfield-like setup to address generalization and overfitting

Elena Agliari, Francesco Alemanno, Miriam Aquaro, Alberto Fachechi
8/1/2023
cs.LGcond-mat.dis-nn

No confident code implementation found for this paper.

Abstract

In this work we approach attractor neural networks from a machine learning perspective: we look for optimal network parameters by applying a gradient descent over a regularized loss function. Within this framework, the optimal neuron-interaction matrices turn out to be a class of matrices which correspond to Hebbian kernels revised by a reiterated unlearning protocol. Remarkably, the extent of such unlearning is proved to be related to the regularization hyperparameter of the loss function and to the training time. Thus, we can design strategies to avoid overfitting that are formulated in terms of regularization and early-stopping tuning. The generalization capabilities of these attractor networks are also investigated: analytical results are obtained for random synthetic datasets, next, the emerging picture is corroborated by numerical experiments that highlight the existence of several regimes (i.e., overfitting, failure and success) as the dataset parameters are varied.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{agliari2023regularization,
  title  = {Regularization, early-stopping and dreaming: a Hopfield-like setup to address generalization and overfitting},
  author = {Elena Agliari and Francesco Alemanno and Miriam Aquaro and Alberto Fachechi},
  year   = {2023},
  eprint = {2308.01421},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.01421v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.01421.svg)](https://codeofpaper.com/paper/2308.01421)

Discussion