Unsupervised Learning by Competing Hidden Units

Dmitry Krotov, John J. Hopfield

Introduction

Modern artificial intelligence relies heavily on backpropagation, a method that calculates global error signals to update synaptic weights. However, backpropagation is biologically implausible; biological synapses only have access to local information—the activity of the neurons they directly connect. Furthermore, biological systems learn primarily through unsupervised observation rather than massive labeled datasets.

Dmitry Krotov and John Hopfield propose a biologically plausible learning rule that trains neural network hidden units through local competition. Their approach demonstrates that local, label-free rules can develop feature detectors as effectively as traditional deep learning, achieving performance on par with backpropagation on standard benchmarks like MNIST.

Methods: A Biologically Plausible Framework

The proposed framework rests on three core pillars designed to mimic biological learning processes:

1. Local Synaptic Plasticity

Synaptic weight changes depend solely on the activity of pre-synaptic and post-synaptic neurons, adhering to a variation of Hebb’s Rule. This ensures that the learning process is entirely local and does not require global error signals.

2. Global Inhibition and Competition

Within a hidden layer, neurons compete to respond to an input. When a specific neuron fires strongly, it inhibits its neighbors through lateral connections. This competition prevents redundancy, forcing different neurons to specialize in different features of the input data.

Transition from a standard feedforward layer to a competitive architecture with lateral inhibition.

3. Lebesgue $p$-norm Normalization

Weights are constrained to a sphere defined by a $p$-norm (typically $p \ge 2$). This mathematical constraint ensures stability and allows the network to emphasize strong connections, which is vital for isolating distinct features in noisy environments. For MNIST, $p=4$ was found to be optimal, providing a "sharper" competition that favors non-overlapping features.

The Learning Pipeline

The training process is a hybrid: the first layer is trained using the unsupervised biological rule. Once these feature detectors are established, their weights are frozen, and a simple supervised classifier is trained on top to map these features to labels.

The full processing pipeline: from input image $v_i$ to competitive temporal dynamics of hidden units $h_\mu$, followed by non-linear activation $g(h)$.

As shown in the pipeline above, an input $v_i$ triggers temporal dynamics among the hidden units $h_\mu$. Through competition, only a subset of units remains active, effectively "carving out" specific niches in the feature space. The final activation $g(h)$ uses a thresholding mechanism to produce the output representation.

Experimental Results

The model was evaluated on the MNIST and CIFAR-10 datasets. Notably, the method is permutation invariant, meaning it does not exploit the spatial structure of pixels, making the task more challenging than for Convolutional Neural Networks (CNNs).

  • MNIST: The biological network achieved a test error of 1.52%, nearly matching the 1.5% error of a standard backpropagation-trained network of equivalent size. This significantly outperforms previous biologically-inspired models.
  • CIFAR-10: The model reached a test error of 49.25%. While this lags behind state-of-the-art CNNs, it represents a strong result for a purely biological learning rule on complex natural images.

Qualitative analysis confirms that hidden units learn to represent "prototypes" of the data, such as specific digit shapes or oriented edges, resulting in cleaner and more interpretable feature detectors compared to backpropagation.

Discussion and Future Directions

This work bridges the gap between biological realism and computational efficiency. By replacing global labels with local competition, the authors show that powerful feature hierarchies can emerge naturally.

However, several challenges remain. The current study focuses on a single hidden layer; demonstrating a deep, multi-layer stack trained entirely with these rules is a key next step. Additionally, the computational cost of simulating biological differential equations necessitated a "Fast AI" approximation for feasibility. Future work will likely explore more complex hierarchical structures to close the performance gap on datasets like CIFAR-10.

Summary updated

BibTeX
@inproceedings{krotov2019unsupervised,
  author = {Dmitry Krotov and John J. Hopfield},
  title = {{Unsupervised Learning by Competing Hidden Units}},
  booktitle = {Proc. Natl. Acad. Sci. USA},
  year = {2019},
  url = {https://openreview.net/forum?id=ymn1eWDUqy3},
}
Figure