NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Sparse Distributed Memory is a Continual Learner

Trenton Bricken, Xander Davies, Deepak Singh, Dmitry Krotov, Gabriel Kreiman

Artificial Neural Networks (ANNs) notoriously suffer from catastrophic forgetting: when trained sequentially on new tasks, they rapidly overwrite the weights required for previous ones. Biological brains, however, learn continuously throughout their lifespans without this issue. Most current AI solutions rely on "rehearsal" (replaying old data) or explicit regularization, which often require strict task boundaries or massive memory buffers.

Can we build a network architecture inherently resistant to forgetting by mimicking biological circuitry? Researchers have addressed this by modifying the standard Multi-Layer Perceptron (MLP) using principles from biological Sparse Distributed Memory (SDM). The resulting model, SDMLP, achieves state-of-the-art continual learning performance organically—without needing task labels, boundaries, or memory replay.

The SDMLP Architecture

The SDMLP introduces four key biological constraints to standard neural networks:

  1. Top-K Activation: Only the $k$ most excited neurons in a layer are allowed to fire. This extreme sparsity ensures that only a tiny, specialized subnetwork learns any given input, preventing new tasks from overwriting the representations of old ones.
  2. No Bias Terms & $L^2$ Normalization: By removing biases and normalizing weights and data, the model forces all neurons to exist on a "unit hypersphere." This promotes democratic participation in learning, preventing a few "greedy" neurons from dominating the network.
  3. The GABA Switch ($k$-annealing): A common issue with strict Top-K activation is "dead neurons"—neurons that never fire and thus never learn. To solve this, the authors simulate a biological developmental phase. They start with a high $k$ (many active neurons) and gradually "anneal" it down to a small $k$. This "GABA Switch" ensures every neuron eventually finds a specialized place on the data manifold.
  4. Momentum-Free Optimization: In highly sparse networks, standard optimizers like Adam or SGD with momentum continue updating inactive neurons based on old, "stale" gradients, effectively killing them. The solution is to use vanilla SGD for continual learning.

Experimental Setup

To evaluate the SDMLP, the authors used a class-incremental setting—the most challenging version of continual learning where the model must distinguish between all seen classes without being told which "task" a sample belongs to. The model was tested on Split CIFAR-10, CIFAR-100, MNIST, and FashionMNIST.

Experimental pipeline and summary results for the SDMLP model.

As shown above, the training pipeline involves pre-training a ConvMixer on ImageNet32 to learn general image statistics, followed by pre-training the SDMLP on the same dataset. Finally, the model undergoes continual learning on the split datasets.

Key Results and Insights

The SDMLP demonstrates that organic sparsity is key to continual learning. By forcing extreme sparsity, the network ensures that different tasks utilize distinct "neighborhoods" of neurons. UMAP visualizations confirm that SDMLP neurons effectively "tile" the data space, with each neuron becoming a specialist for a specific region of the input manifold.

Validation accuracy over 5 sequential tasks on Split CIFAR-10.

On the Split CIFAR-10 benchmark, the SDMLP achieved 71% accuracy purely organically, without any supplementary continual learning algorithms. When combined with Elastic Weight Consolidation (EWC), performance jumped to 86%, closely approaching the 93% "Oracle" upper bound (a model trained on all data simultaneously). Crucially, unlike many baseline methods, the SDMLP processes the stream of data and adapts robustly without needing to know when one task ends and another begins.

Limitations and Future Work

While promising, the SDMLP approach has current limitations. Performance is highly sensitive to hyperparameters, particularly the sparsity level ($k$) and the annealing rate ($s$), which must be tuned to the dataset's complexity. Furthermore, the model currently relies on static manifolds, working best with fixed embeddings from a pre-trained, frozen encoder. Jointly training the SDMLP with a dynamically updating feature extractor remains a challenge. Finally, scaling these biologically inspired constraints from 10K-neuron models to massive, deep architectures is a primary direction for future research.

Summary updated

BibTeX
@inproceedings{bricken2023sparse,
  author = {Trenton Bricken and Xander Davies and Deepak Singh and Dmitry Krotov and Gabriel Kreiman},
  title = {{Sparse Distributed Memory is a Continual Learner}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=JknGeelZJpHP},
}
Figure