Continual learning under domain transfer with sparse synaptic bursting

Shawn L. Beaulieu, Jeff Clune, Nick Cheney

TL;DR

Researchers have developed a system called TSAR (Tuning Synapses via Allostatic Regulation) that achieves high-performance continual learning by using a second "regulatory" network to control the activity of a classifier's weights. By meta-learning to "grow" synapses from an initial state of total suppression, the system discovers a mechanism of sparse synaptic bursting—recycling weights across tasks in transient, heavy-tailed bursts—which effectively eliminates catastrophic forgetting during domain transfer to datasets like ImageNet and CIFAR-100.

What Problem Does This Paper Address?

Artificial neural networks famously suffer from catastrophic forgetting: when trained on a new task, they tend to overwrite the weights used for previous tasks, erasing prior knowledge.

Standard solutions often involve "IID training" (shuffling all data together), which isn't feasible for real-world autonomous systems that encounter data sequentially. Other approaches try to create task-specific modules—disjoint subgraphs for different tasks. However, these often struggle with domain transfer, where the network must learn entirely new types of data (e.g., moving from handwritten characters to natural images) without a predefined task structure. The authors sought a more flexible, biologically inspired way to balance the "plasticity" needed to learn new things with the "stability" needed to remember the old.

Methods

The authors introduce TSAR, an architecture consisting of two networks:

  1. The Classifier Network: A standard convolutional neural network (CNN).
  2. The Regulatory Network: A second network that takes the same input but outputs a real-valued mask (between 0 and 1) for every single weight in the classifier. This mask gates both the forward pass and the backpropagation of error.

The core of their method lies in how this regulator is initialized and trained:

  • Meta-Learning: They use the Online-aware Meta-Learning (OML) algorithm on the Omniglot dataset to pre-train the regulator's ability to manage weights.
  • "Grow" vs. "Sculpt": This is the paper's key experimental variable. In the Grow condition, the regulator is initialized to be almost entirely suppressant (all weights "off"). It must learn to "disinhibit" or grow synapses that minimize error. In the Sculpt condition, it starts fully permissive and must learn to "prune" away irrelevant weights.
  • Domain Transfer: After meta-learning on Omniglot, the system is tested on its ability to learn 100 sequential tasks from ImageNet or CIFAR-100 without forgetting.
The TSAR architecture (A) and the conceptual difference between task-specific modularity (B), growing sensors (C), and sculpting sensors (D).

Datasets

  • Omniglot: Used for the initial meta-learning phase (963 character classes). They also tested a "data scarce" version using only 25 classes.
  • ImageNet: Used for domain transfer evaluation (100 sequential tasks, 30 images per task).
  • CIFAR-100: Also used for domain transfer evaluation.

Key Insights and Ideas

  • Weight Recycling over Modularity: Contrary to many existing theories, the best-performing models did not develop task-specific modules. Instead, they recycled the same weights across different tasks.
  • Sparse Synaptic Bursting: The regulator induces "bursts" of activity. A small number of synapses become highly active for specific images, rather than specific tasks. This activity is heavy-tailed (scale-free), meaning most synapses stay quiet while a few "burst" into high activity.
  • The Power of Starting from Zero: The "Grow" initialization (starting suppressed) vastly outperformed "Sculpt." By forcing the network to justify every active synapse, the regulator learned to protect prior knowledge by keeping most of the network stable and only allowing sparse, controlled changes.
  • Edge of Chaos: The authors note that this balance of activity and suppression mirrors biological systems "poised at the edge of chaos," where order and disorder are balanced to maximize information processing and resilience.
Performance comparison on ImageNet (E, F) and CIFAR-100 (B) showing the clear advantage of the "Grow" initialization.

Key Results

  • Superior Accuracy: On ImageNet domain transfer, the Grow treatment achieved 92.2% accuracy, compared to only 57.5% for the Sculpt treatment.
  • Baselines Crushed: Standard meta-learning (OML without TSAR) achieved only ~13.9%, and training from scratch achieved less than 1%.
  • Data Efficiency: Even when meta-learning was restricted to just 3% of the Omniglot data ("data scarce"), the Grow treatment maintained high performance, while Sculpt collapsed.
  • Scale-Free Behavior: Analysis of the regulatory signals showed that successful models exhibited increasingly scale-free (power-law) distributions of synaptic activity, a hallmark of efficient biological neural networks.
Performance comparison on ImageNet (E, F) and CIFAR-100 (B) showing the clear advantage of the "Grow" initialization.

Limitations and Future Work

  • Computational Cost: The current TSAR implementation requires a regulator network that generates a mask for every weight in the classifier. This effectively doubles the parameter count and increases computational overhead.
  • Fixed Perception: While the regulator's output layer is trainable during domain transfer, its internal "perception" layers are fixed after meta-learning. Future work could explore making the entire regulatory system more adaptive.
  • Biological Mapping: While the authors draw parallels to biological pruning and rhythmic sampling, the exact relationship between "synaptic bursting" in their model and biological neural bursts remains a hypothesis for further study.

In conclusion, this paper suggests that the secret to avoiding catastrophic forgetting isn't necessarily building separate boxes for different tasks, but rather learning a sophisticated "volume control" that allows for sparse, intense, and transient use of a shared pool of knowledge.

Summary updated

Abstract

Existing machines are functionally specific tools that were made for easy prediction and control. Tomorrow's machines may be closer to biological systems in their mutability, resilience, and autonomy. But first they must be capable of learning and retaining new information without being exposed to it arbitrarily often. Past efforts to engineer such systems have sought to build or regulate artificial neural networks using disjoint sets of weights that are uniquely sensitive to specific tasks or inputs. This has not yet enabled continual learning over long sequences of previously unseen data without corrupting existing knowledge: a problem known as catastrophic forgetting. In this paper, we introduce a system that can learn sequentially over previously unseen datasets (ImageNet, CIFAR-100) with little forgetting over time. This is done by controlling the activity of weights in a convolutional neural network on the basis of inputs using top-down regulation generated by a second feed-forward neural network. We find that our method learns continually under domain transfer with sparse bursts of activity in weights that are recycled across tasks, rather than by maintaining task-specific modules. Sparse synaptic bursting is found to balance activity and suppression such that new functions can be learned without corrupting extant knowledge, thus mirroring the balance of order and disorder in systems at the edge of chaos. This behavior emerges during a prior pre-training (or 'meta-learning') phase in which regulated synapses are selectively disinhibited, or grown, from an initial state of uniform suppression through prediction error minimization.
BibTeX
@inproceedings{beaulieu2021continual,
  author = {Shawn L. Beaulieu and Jeff Clune and Nick Cheney},
  title = {{Continual learning under domain transfer with sparse synaptic bursting}},
  booktitle = {AutoML (Workshop)},
  year = {2021},
  url = {https://openreview.net/forum?id=4SNyzztA7a},
}
Figure