mlsanityData to 7 Oct 2026

Learning Mamba as a Continual Learner: Meta-Learning Selective State Space Models for Continual Learning

arXiv 2412.00776 ↗First posted 1 Dec 2024cs.LGcited by 1

On the map: State-space sequence models (S4, Mamba) → Core SSM architectures for language

Abstract (arXiv)

Continual learning (CL) learns from a non-stationary data stream without storing or re-training on all seen samples. Meta-continual learning (MCL) casts CL as sequence prediction and meta-learns the continual learner itself as a sequence model, with Transformers as natural choices. However, despite decent performance, a Transformer learner relies on a linearly growing key-value cache to store all past representations, conflicting with CL's objective of not storing all seen samples. Sequence models with a constant-size state, e.g., linear-attention models and state-space models (SSMs), match CL's requirement by definition; however, with past samples compressed and mixed in the bounded state, such learners are harder to meta-learn, and earlier kernel-based ones performed poorly on MCL. We thus aim to obtain effective continual learners with constant-size states and make them work for MCL. By formulating the selective SSM for MCL, we propose MambaCL, with Mamba as the main model in practice. We meta-train the learner with a proposed selectivity regularization, which supervises the implicit associations within the compressed state and applies across constant-state models. Furthermore, we conduct a systematic empirical study of how Mamba and other constant-state models behave across various MCL scenarios, covering effectiveness, generalization, and model designs. The results highlight promising performance and strong generalization, demonstrating the potential of constant-state learners for efficient continual learning and adaptation.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Core SSM architectures for language, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 53 of its 69 references that are in the map. First posted on arXiv 1 Dec 2024.

Builds on

53 of 69 references.

Closest ancestors · 8

Same direction, newest first

  1. 2024Longhorn: State Space Models are Amortized Online Learners19 Jul
  2. 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden States5 Jul
  3. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality31 May
  4. 2024Jamba: A Hybrid Transformer-Mamba Language Model28 Mar
  5. 2024Can Mamba Learn How to Learn? A Comparative Study on In-Context Learning Tasks6 Feb
  6. 2024MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts8 Jan
  7. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
  8. 2021Efficiently Modeling Long Sequences with Structured State Spaces31 Oct

Other references · 45

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  4. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  7. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
  8. 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
  9. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  10. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  11. 2016Learning without Forgettingcited by 2,465
  12. 2016iCaRL: Incremental Classifier and Representation Learningcited by 2,313
33 more
  1. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  2. 2017Gradient Episodic Memory for Continual Learningcited by 1,871
  3. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
  4. 2013Fine-Grained Visual Classification of Aircraftcited by 1,701
  5. 2020Rethinking Attention with Performerscited by 1,584
  6. 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,327
  7. 2017Continual Learning with Deep Generative Replaycited by 1,152
  8. 2017Memory Aware Synapses: Learning what (not) to forgetcited by 1,094
  9. 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,051
  10. 2023A Comprehensive Survey of Continual Learning: Theory, Method and Applicationcited by 860
  11. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
  12. 2020Efficient Transformers: A Surveycited by 784
  13. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
  14. 2017Lifelong Learning with Dynamically Expandable Networkscited by 689
  15. 2016MS-Celeb-1M: A Dataset and Benchmark for Large-Scale Face Recognitioncited by 621
  16. 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 607
  17. 2018Learning to Learn without Forgetting by Maximizing Transfer and Minimizing Interferencecited by 511
  18. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
  19. 2021MetaICL: Learning to Learn In Contextcited by 450
  20. 2019Learn to Grow: A Continual Structure Learning Framework for Overcoming Catastrophic Forgettingcited by 302
  21. 2019Meta-Learning Representations for Continual Learningcited by 189
  22. 2019Class-incremental Learning via Deep Model Consolidationcited by 172
  23. 2021Supervised Contrastive Replay: Revisiting the Nearest Class Mean Classifier in Online Class-Incremental Continual Learningcited by 140
  24. 2024Demystify Mamba in Vision: A Linear Attention Perspectivecited by 101
  25. 2020Learning to Continually Learncited by 82
  26. 2021Continual Learning via Local Module Compositioncited by 61
  27. 2024Self-Expansion of Pre-trained Models with Mixture of Adapters for Continual Learningcited by 53
  28. 2019Complementary Learning for Overcoming Catastrophic Forgetting Using Experience Replaycited by 51
  29. 2020La-MAML: Look-ahead Meta Learning for Continual Learningcited by 51
  30. 2017Scalable Recollections for Continual Lifelong Learningcited by 33
  31. 2023When Meta-Learning Meets Online and Continual Learning: A Surveycited by 12
  32. 2023Recasting Continual Learning as Sequence Modelingcited by 11
  33. 2024Transformers for Supervised Online Continual Learningcited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024Mamba-CL: Optimizing Selective State Space Model in Null Space for Continual Learning
  2. 2026A Theoretical Analysis of Mamba's Training Dynamics: Filtering Relevant Features for Generalization in State Space Models
  3. 2024Continual Learning for Large Language Models: A Survey
  4. 2025Reinforced Interactive Continual Learning via Real-time Noisy Human Feedback
  5. 2024Enhancing Online Continual Learning with Plug-and-Play State Space Model and Class-Conditional Mixture of Discretization
  6. 2024Dual-Phase Continual Learning: Supervised Adaptation Meets Unsupervised Retention
  7. 2026Fast Weight Attention for Continual Learning
  8. 2025From Markov to Laplace: How Mamba In-Context Learns Markov Chains