Sparse Coding in a Dual Memory System for Lifelong Learning
Fahad Sarfraz, Elahe Arani, Bahram Zonooz
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 https://github.com/NeurAI-Lab/SCoMMER.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 67e178a6-46fa-430d-90da-d69801712b1fCited by top-tier papers6
- Continual Learning in the Frequency DomainRuiqi Liu, Boyu Diao, Libo Huang, Zijia An et al.NeurIPS 2024 · 26 citations
- Interactive Continual Learning: Fast and Slow ThinkingBiqing Qi, Xinquan Chen, Junqi Gao, Dong Li et al.CVPR 2024 · 15 citations
- Long-Tail Class Incremental Learning via Independent SUb-Prototype ConstructionXi Wang, Xu Yang, Jie Yin, Kun Wei et al.CVPR 2024 · 10 citations
- IDER: IDempotent Experience Replay for Reliable Continual LearningZhanwang Liu, Yuting Li, Haoyuan Gao, Yexin Li et al.ICLR 2026 · 5 citations
- Semantic Aware Representation Learning for Lifelong LearningFahad Sarfraz, Elahe Arani, Bahram ZonoozICLR 2025
Builds on6
- Learning to Prompt for Continual LearningZifeng Wang, Zizhao Zhang, Chen-Yu Lee, Han Zhang et al.CVPR 2022 · 635 citations
- Understanding the Role of Training Regimes in Continual LearningSeyed-Iman Mirzadeh, Mehrdad Farajtabar, Razvan Pascanu, Hassan GhasemzadehNeurIPS 2020 · 295 citations
- DualNet: Continual Learning, Fast and SlowQuang Pham, Chenghao Liu, Steven C. H. HoiNeurIPS 2021 · 192 citations
- Learning Fast, Learning Slow: A General Continual Learning Method based on Complementary Learning SystemElahe Arani, Fahad Sarfraz, Bahram ZonoozICLR 2022 · 168 citations
- Enhancing Adversarial Defense by k-Winners-Take-AllChang Xiao, Peilin Zhong, Changxi ZhengICLR 2020 · 114 citations
Related papers
- Sparse Distributed Memory is a Continual LearnerTrenton Bricken, Xander Davies, Deepak Singh, Dmitry Krotov et al.ICLR 2023 · 5 citations
- Learning Bayesian Sparse Networks with Full Experience Replay for Continual LearningQingsen Yan, Dong Gong, Yuhang Liu, Anton van den Hengel et al.CVPR 2022 · 38 citations
- HiCL: Hippocampal-Inspired Continual LearningKushal Kapoor, Wyatt Mackey, Yiannis Aloimonos, Xiaomin LinAAAI 2026
- Multi-Synaptic Cooperation: A Bio-Inspired Framework for Robust and Scalable Continual LearningPenghui Li, Zhuang Ma, Yunliang Zang, Qiang YuICLR 2026
- Sketch-Based Replay Projection for Continual LearningJack Julian, Yun Sing Koh, Albert BifetKDD 2024 · 2 citations
