Supervised Hebbian Learning
Francesco Alemanno, Miriam Aquaro, Ido Kanter, Adriano Barra, Elena Agliari
TL;DR
The paper introduces a supervised Hebbian learning framework that lets a Hopfield network infer archetypes from noisy examples and maps its performance across dataset quality, size, and noise via a phase-diagram informed by statistical mechanics. It shows that, for structureless data, the supervised Hopfield model is equivalent to a Restricted Boltzmann Machine, providing an interpretable training route and unifying biological and artificial learning perspectives. Extending to structured data, the work reveals quasi-ultrametric organization and replica-symmetry-breaking signatures, motivating a replica-hierarchy (1RSB) hidden layer that significantly enhances MNIST-type classification. The results establish quantitative links between dataset properties, learning dynamics, and architectural depth, offering a principled path to bridging shallow Hebbian learning with deeper, structured representations in neural networks.
Abstract
In neural network's Literature, Hebbian learning traditionally refers to the procedure by which the Hopfield model and its generalizations store archetypes (i.e., definite patterns that are experienced just once to form the synaptic matrix). However, the term "Learning" in Machine Learning refers to the ability of the machine to extract features from the supplied dataset (e.g., made of blurred examples of these archetypes), in order to make its own representation of the unavailable archetypes. Here, given a sample of examples, we define a supervised learning protocol by which the Hopfield network can infer the archetypes, and we detect the correct control parameters (including size and quality of the dataset) to depict a phase diagram for the system performance. We also prove that, for structureless datasets, the Hopfield model equipped with this supervised learning rule is equivalent to a restricted Boltzmann machine and this suggests an optimal and interpretable training routine. Finally, this approach is generalized to structured datasets: we highlight a quasi-ultrametric organization (reminiscent of replica-symmetry-breaking) in the analyzed datasets and, consequently, we introduce an additional "replica hidden layer" for its (partial) disentanglement, which is shown to improve MNIST classification from 75% to 95%, and to offer a new perspective on deep architectures.
