Sparse Coding in a Dual Memory System for Lifelong Learning

Abstract

Efficient continual learning in humans is enabled by a rich set of neurophysiological mechanisms and interactions between multiple memory systems. The brain efficiently encodes information in non-overlapping sparse codes, which facilitates the learning of new associations faster with controlled interference with previous associations. To mimic sparse coding in DNNs, we enforce activation sparsity along with a dropout mechanism which encourages the model to activate similar units for semantically similar inputs and have less overlap with activation patterns of semantically dissimilar inputs. This provides us with an efficient mechanism for balancing the reusability and interference of features, depending on the similarity of classes across tasks. Furthermore, we employ sparse coding in a multiple-memory replay mechanism. Our method maintains an additional long-term semantic memory that aggregates and consolidates information encoded in the synaptic weights of the working model. Our extensive evaluation and characteristics analysis show that equipped with these biologically inspired mechanisms, the model can further mitigate forgetting. Code available at \url{https://github.com/NeurAI-Lab/SCoMMER}.

Cite

Text

Sarfraz et al. "Sparse Coding in a Dual Memory System for Lifelong Learning." AAAI Conference on Artificial Intelligence, 2023. doi:10.1609/AAAI.V37I8.26161

Markdown

[Sarfraz et al. "Sparse Coding in a Dual Memory System for Lifelong Learning." AAAI Conference on Artificial Intelligence, 2023.](https://mlanthology.org/aaai/2023/sarfraz2023aaai-sparse/) doi:10.1609/AAAI.V37I8.26161

BibTeX

@inproceedings{sarfraz2023aaai-sparse,
  title     = {{Sparse Coding in a Dual Memory System for Lifelong Learning}},
  author    = {Sarfraz, Fahad and Arani, Elahe and Zonooz, Bahram},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2023},
  pages     = {9714-9722},
  doi       = {10.1609/AAAI.V37I8.26161},
  url       = {https://mlanthology.org/aaai/2023/sarfraz2023aaai-sparse/}
}