Overcoming Catastrophic Interference by Conceptors

Xu He, Herbert JaegerarXiv 2017

Abstract Continual learning in neural networks is often hindered by catastrophic interference, where new task updates overwrite previous knowledge. We present Conceptor-Aided Back-propagation (CAB), an algorithm that utilizes conceptors—soft projection matrices—to restrict weight updates to the "free space" of the network's weight manifold. By shielding the subspaces used by prior tasks, CAB achieves state-of-the-art performance on benchmarks like Disjoint and Permuted MNIST with significantly smaller architectures than competing methods.

Introduction

The pursuit of artificial intelligence that can learn tasks sequentially without forgetting—continual learning—remains a significant challenge. Standard deep learning models suffer from catastrophic interference, where the gradient descent process for a new task overwrites weights optimized for previous ones. While biological systems can learn disparate skills like cycling and baking without mutual interference, artificial neural networks typically "overwrite" existing knowledge. Current mitigation strategies, such as Elastic Weight Consolidation (EWC), often degrade as the task count increases.

Methodology: Conceptor-Aided Back-propagation (CAB)

The authors propose Conceptor-Aided Back-propagation (CAB), leveraging "conceptors" originally developed in reservoir computing. Conceptors function as soft projection matrices that characterize the linear subspace of neural activity for a given task.

The CAB workflow involves:

  1. Subspace Characterization: Post-task learning, a conceptor ($C$) identifies the active linear subspace.
  2. Free Space Identification: The "free space" matrix ($F = I - C$) represents dimensions not utilized by previous tasks.
  3. Shielded Gradients: During subsequent task training, gradients are projected through $F$. This ensures weight updates are confined to directions that do not interfere with established task subspaces.
  4. Incremental Regularization: Unlike standard Stochastic Gradient Descent (SGD), CAB regularizes weight increments rather than absolute values, allowing the model to build upon existing layers without regressing toward zero.

Experimental Evaluation

CAB was evaluated on two standard continual learning benchmarks:

  • Disjoint MNIST: The dataset is split into two tasks (digits 0–4 and 5–9). The model must eventually classify all ten digits.
  • Permuted MNIST: A sequence of ten tasks where each task uses the same digits but with different random pixel permutations, forcing the network to learn distinct spatial patterns.

Results and Performance

CAB demonstrated high stability and efficiency across both benchmarks:

  • Disjoint MNIST: CAB achieved 94.91% accuracy, matching state-of-the-art Incremental Moment Matching (IMM) (94.12%) and significantly outperforming EWC (52.72%).
  • Permuted MNIST: CAB maintained a 95.2% average accuracy across ten sequential tasks, showing remarkable resilience to forgetting compared to other methods that typically exhibit sharp performance drops.
  • Architectural Efficiency: CAB reached these results using a compact [784-800-10] architecture, whereas competing methods often required larger models and more complex activation functions.

Visualizations in the study further demonstrated that when a network is shielded by a conceptor, it effectively filters out components of new inputs that would interfere with prior tasks, focusing exclusively on novel features.

Discussion: The Geometry of Learning

A key insight from the study is the "Paradox of Similarity." CAB finds disjoint tasks more challenging than permuted ones. This is because raw digit images share high linear subspace overlap ($\rho \approx 0.95$), whereas permuted images are more orthogonal ($\rho \approx 0.3$). The higher orthogonality of permuted tasks provides more "free space" for CAB to utilize, whereas highly similar tasks compete for the same limited dimensions.

Conclusion and Future Directions

While CAB effectively prevents catastrophic forgetting, its reliance on linear subspaces presents a limitation: it may struggle if a new task requires the exact dimensions occupied by a previous one. Future research aims to increase CAB's flexibility, potentially allowing updates within occupied subspaces for highly similar tasks to enable transfer learning rather than just interference prevention.

Summary updated

BibTeX
@misc{he2017overcoming,
  author = {Xu He and Herbert Jaeger},
  title = {{Overcoming Catastrophic Interference by Conceptors}},
  year = {2017},
  eprint = {1707.04853},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1707.04853},
}
Figure