TL;DR
This paper introduces SoftHebb, a novel unsupervised learning algorithm for Hebbian Winner-Take-All (WTA) networks. SoftHebb bridges the gap between biologically plausible Hebbian learning and modern deep learning by demonstrating that these networks can learn a Bayesian generative model of data and minimize cross-entropy without explicit supervision, offering surprising advantages in robustness and learning speed over traditional backpropagation.
What Problem Does This Paper Address?
Current state-of-the-art Artificial Neural Networks (ANNs), while powerful, often diverge significantly from biological learning principles. They typically rely on large labeled datasets and complex feedback mechanisms (like backpropagation), which are biologically implausible and computationally inefficient. Furthermore, ANNs are notoriously susceptible to adversarial attacks that humans can easily ignore. Hebbian learning, inspired by biological neurons' "neurons that fire together, wire together" principle, offers a more biologically plausible, local, and unsupervised approach. However, a theoretical framework connecting Hebbian WTA networks to modern deep learning objectives, particularly for optimizing complex data distributions, has been lacking, limiting their practical application. This paper aims to fill this gap by providing a rigorous theoretical foundation and a practical algorithm for Hebbian WTA networks that aligns with deep learning principles and offers enhanced robustness and efficiency.
Methods
The core of SoftHebb lies in its novel plasticity rule for weights and biases within a "soft" WTA architecture. Unlike hard WTA where only one neuron activates, soft WTA allows for graded activations, which is crucial for maintaining a probabilistic interpretation. The authors derive a Hebbian-like learning rule that, when applied to these soft WTA networks, provably optimizes a Bayesian generative mixture model of the input data. This means the network learns to represent the underlying data distribution without explicit labels. A key theoretical contribution is showing that this unsupervised learning process implicitly minimizes the cross-entropy loss, a common objective in supervised deep learning. The algorithm uses standard ANN components like rate-based neurons and can accommodate various activation functions. The learning is local, feed-forward, and does not require error signals from upper layers, addressing key inefficiencies of backpropagation.
Datasets
The primary dataset used for training and evaluation is MNIST, a benchmark dataset of handwritten digits. The authors also tested their approach on Fashion-MNIST, a more complex dataset of clothing items.
Key Insights and Ideas
- Bridging Biology and Deep Learning: SoftHebb demonstrates that biologically plausible Hebbian learning in WTA networks can be rigorously framed within a Bayesian generative model, aligning it with modern ML theory and objectives like cross-entropy minimization.
- Unsupervised Cross-Entropy Minimization: A significant finding is that SoftHebb can minimize cross-entropy without ever seeing the labels, a feat typically achieved by supervised methods. This suggests a powerful emergent property of Hebbian learning in this context.
- Robustness Beyond Defenses: SoftHebb exhibits remarkable robustness to noise and adversarial attacks, often surpassing traditional backpropagation models. Crucially, it shows a tendency to "deflect" attacks, meaning perturbed inputs that fool the network are also perceptually confusing to humans, hinting at a connection to human perceptual robustness.
- Faster Learning: In certain scenarios, SoftHebb converges faster than both hard WTA and backpropagation, especially in the initial stages of learning.
- Generative Capabilities: The model can generate synthetic objects by interpolating between learned classes, showcasing its generative nature.
Key Results
- Accuracy: SoftHebb achieved accuracies of 96.31% (1-layer) and 97.80% (2-layer) on MNIST, slightly outperforming its hard WTA counterpart and, in some single-epoch scenarios, even supervised backpropagation.
- Speed: SoftHebb demonstrated faster convergence, achieving high accuracy in fewer training iterations/examples compared to baselines, particularly in the first epoch.
- Robustness: SoftHebb showed significantly higher accuracy than backpropagation under Gaussian noise and Projected Gradient Descent (PGD) adversarial attacks. For instance, it required visually noticeable perturbations to drop accuracy, whereas backprop-trained models were significantly degraded by much smaller perturbations.
- Generative Examples: The paper includes figures showcasing SoftHebb's ability to generate interpolations between different digit classes (e.g., "4" and "0") and clothing items.
Limitations and Future Work
- Single-Layer Focus: The current theoretical framework and experimental validation primarily focus on individual SoftHebb layers. The authors acknowledge that for complex datasets, deeper, multi-layer networks will be necessary.
- Convolutional Extension: A convolutional version of SoftHebb is proposed as a crucial next step to enable distributed feature representation and better handle complex data.
- Hyperparameter Tuning: While hyperparameters were tuned for experiments, the paper suggests that Bayesian hyperparameter optimization schemes could be beneficial for future work.
- Supervision for Priors: While the learning is unsupervised, the number of neurons (K) needs to be chosen in advance, which the authors note could be considered a form of human supervision.
Summary updated