Bio-inspired, task-free continual learning through activity regularization

Francesco Lässig, Pau Vilimelis Aceituno, Martino Sorbaro, Benjamin F. Grewe

Abstract

Researchers have developed a new "task-free" continual learning algorithm that mimics the brain's ability to learn new skills without forgetting old ones. By combining Deep Feedback Control (DFC) with winner-take-all sparsity and lateral recurrent connections, the model creates distinct, non-overlapping neural representations that protect previous knowledge without ever being told when a new task has started.

Introduction

Artificial Neural Networks (ANNs) suffer from catastrophic forgetting: when they learn a new task, they often overwrite the weights necessary for previous tasks, causing their performance on older data to plummet. While many "Continual Learning" (CL) methods exist to fix this, most rely on a "crutch": they require explicit information about task boundaries (e.g., "You are now starting Task B"). In the real world—and in biological brains—tasks aren't always neatly labeled; we learn in a continuous stream of information. This paper addresses the challenge of creating a bio-plausible, task-free learning system that can maintain high performance across sequential tasks without needing external signals about task switches.

Methodology

The authors build upon a framework called Deep Feedback Control (DFC). Unlike standard backpropagation, which uses a global error signal to update weights, DFC is a bio-plausible credit assignment mechanism where neurons integrate both feedforward (bottom-up) and feedback (top-down) signals to reach a stable state.

To this framework, they add two key bio-inspired components:

  1. Dynamic Sparsity (Winner-Take-All): A mechanism where only a small fraction of neurons are allowed to be active for any given input, forcing the network to use specific "sub-populations" for different tasks.
  2. Lateral Recurrent Gating: Within each layer, neurons are connected to one another. These connections learn via a Hebbian-like rule which neurons should fire together and which should suppress each other. This acts like a "forget gate," stabilizing learned representations and preventing new learning from interfering with old "active" populations.
Figure 5: Overview of the DFC architecture (a) and the detailed neuron model (b) incorporating feedforward, feedback, and lateral recurrent signals.

The combination of these allows for Activity Regularization: instead of directly constraining weights, the model constrains the activity of the neurons, which indirectly protects the weights. Analysis suggests that recurrent gating helps "align" new task representations with the decision boundaries (hyperplanes) learned in previous tasks.

Experimental Results

The model was evaluated on standard continual learning benchmarks, including Split-MNIST, Fashion-MNIST, and Mixed MNIST/Fashion-MNIST, under both Domain-IL and Class-IL paradigms.

Key findings include:

  • Competitive Performance: Sparse-recurrent DFC achieved performance comparable to well-known methods like Elastic Weight Consolidation (EWC) and Synaptic Intelligence (SI).
  • Task-Free Advantage: While EWC and SI require knowing exactly when a task changes to update their "importance" parameters, this DFC method achieved similar results without any task boundary information.
  • Robustness to Learning Rates: In the difficult Class-IL setting, the proposed method outperformed all other tested algorithms across a wide range of learning rates, showing superior stability.
Figure 6: Accuracy comparison across various learning rates for Domain-IL tasks, showing DFC-sparse-rec (red) performing competitively with EWC and SI.

Discussion and Future Work

While successful on MNIST-style datasets, the authors acknowledge that more work is needed to scale these principles to high-resolution natural images. Currently, DFC is computationally more expensive on standard GPUs due to the need to simulate a dynamical system for every training step. However, because this algorithm relies on local activity and feedback rather than global backpropagation, it is a prime candidate for neuromorphic hardware, which could eventually make it much more energy-efficient than current deep learning models.

Summary updated

BibTeX
@article{lassig2023bio,
  author = {Francesco Lässig and Pau Vilimelis Aceituno and Martino Sorbaro and Benjamin F. Grewe},
  title = {{Bio-inspired, task-free continual learning through activity regularization}},
  journal = {Biol. Cybern},
  year = {2023},
  doi = {10.1007/s00422-023-00973-w},
}
Figure