Compete to Compute

Rupesh Kumar Srivastava, Jonathan Masci, Sohrob Kazerounian, Faustino J. Gomez, Jürgen SchmidhuberNeurIPS 2013

TL;DR

By replacing standard activation functions (like ReLU or Sigmoid) with a biologically inspired "Local Winner-Take-All" (LWTA) mechanism, researchers have developed neural networks that naturally self-modularize. These networks not only achieve state-of-the-art performance on pattern recognition tasks but also significantly mitigate "catastrophic forgetting"—the tendency of AI to forget old tasks when learning new ones.

The Problem: Monolithic Networks and Catastrophic Forgetting

In traditional artificial neural networks (NNs), every neuron in a layer typically processes every input, and their outputs are shaped by global non-linearities like Sigmoids or ReLUs. While effective, this "monolithic" approach has two major drawbacks:

  1. Catastrophic Forgetting: When you train a standard NN on Task A and then move to Task B, the weights updated for Task B often overwrite the knowledge needed for Task A. The network "forgets" its previous training almost instantly.
  2. Lack of Specialization: Standard networks struggle to efficiently handle "multimodal" data—data that comes from very different distributions—because the same parameters are trying to satisfy all inputs simultaneously.

The authors look to neuroscience for a solution. In the brain, neurons often exhibit "on-center, off-surround" behavior: when one neuron fires, it inhibits its immediate neighbors. This local competition forces neurons to specialize, a property the authors bring to artificial NNs.

Methods: The Local Winner-Take-All (LWTA) Block

The core innovation of this research is the Local Winner-Take-All (LWTA) block.

Instead of a standard layer where every neuron is independent, the authors group neurons into small "blocks" (e.g., blocks of 2 or 4). Within each block, the following process occurs:

  1. All neurons calculate their linear activation (the weighted sum of their inputs).
  2. A competition occurs: the neuron with the highest activation "wins."
  3. The winner passes its value forward, while all other neurons in the block are suppressed to zero.
  4. During training (backpropagation), the error signal is only sent back through the winning neuron.
A neural network architecture utilizing Local Winner-Take-All (LWTA) blocks, where only the winning neuron in each block remains active.

Crucially, the network uses no other non-linearities. The act of competition itself provides the mathematical non-linearity required for deep learning. This differs from "max-pooling" because LWTA doesn't reduce the number of features (no downsampling); it simply "sparsifies" the representation by zeroing out the losers.

Key Insights and Ideas

  • Competition is a Powerful Non-linearity: The paper proves that you don't need complex curves like Sigmoids to learn. Simple linear units plus a "who is the biggest?" rule is enough to reach state-of-the-art performance.
  • Emergent Modularity: Because only one neuron per block fires, different inputs "activate" different paths through the network. For example, the subnetwork used to recognize a "3" might be largely different from the one used for a "1."
  • Natural Sparsity: LWTA creates a "sparse" representation without needing complex penalty terms in the loss function. This makes the network more efficient and easier to interpret.
  • Buffer Against Forgetting: Because the network is modular, learning a new task (like recognizing "5") might only update weights in blocks that weren't heavily utilized by the previous task (like recognizing "0"). This "hides" old knowledge from being overwritten.
Analysis of neuron overlap between different MNIST digit pairs, demonstrating that trained LWTA networks develop specialized, modular subnetworks for different tasks.

Datasets and Results

The authors evaluated LWTA networks across several standard benchmarks, demonstrating strong performance and robustness:

  • Permutation Invariant MNIST: On this handwritten digit recognition task, LWTA achieved a 1.28% error rate, outperforming standard ReLUs (1.43%) and Sigmoids (1.60%) without using common tricks like Dropout or data augmentation.
  • Amazon Sentiment Analysis: Classifying product reviews based on text features, LWTA reached an average accuracy of 82.82%, significantly beating previous benchmarks (78.95%) that relied on unsupervised pre-training.
  • Split MNIST (Forgetting Test): In a custom setup, the network was trained on digits 0-4 (Task P1) and then trained on digits 5-9 (Task P2). After learning Task P2, a standard Sigmoid network's error on Task P1 jumped to 57.84% (essentially guessing). The LWTA network, however, maintained a much lower error of 6.12%. It "remembered" the first task nearly ten times better than the standard architecture.

Limitations and Future Work

While the results are impressive, the authors note a few areas for further exploration:

  • Fixed Block Sizes: Most experiments used a fixed block size of 2. It’s unclear how performance scales with much larger blocks or if block sizes should vary dynamically across layers.
  • Tie-Breaking: Currently, ties are broken by simple index precedence. While rare, more sophisticated tie-breaking might be needed for very large-scale systems.
  • Scaling to Complex Data: While MNIST and Sentiment Analysis are good proofs of concept, the paper doesn't test LWTA on massive datasets like ImageNet, where the overhead of managing local blocks might present new challenges.

Ultimately, the authors conclude that LWTA is a highly promising step toward "continual learning" agents—AI systems that can learn throughout their lifetimes without losing the skills they've already mastered.

Summary updated

BibTeX
@inproceedings{srivastava2013compete,
  author = {Rupesh Kumar Srivastava and Jonathan Masci and Sohrob Kazerounian and Faustino J. Gomez and Jürgen Schmidhuber},
  title = {{Compete to Compute}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2013},
  url = {https://openreview.net/forum?id=r1VAeOZubr},
}
Figure