Learning Mamba as a Continual Learner: Meta-Learning Selective State Space Models for Continual Learning
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
- 2024Longhorn: State Space Models are Amortized Online Learners19 Jul
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden States5 Jul
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality31 May
- 2024Jamba: A Hybrid Transformer-Mamba Language Model28 Mar
- 2024Can Mamba Learn How to Learn? A Comparative Study on In-Context Learning Tasks6 Feb
- 2024MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts8 Jan
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
- 2021Efficiently Modeling Long Sequences with Structured State Spaces31 Oct
Other references · 45
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2016Learning without Forgettingcited by 2,465
- 2016iCaRL: Incremental Classifier and Representation Learningcited by 2,313
33 more
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2017Gradient Episodic Memory for Continual Learningcited by 1,871
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
- 2013Fine-Grained Visual Classification of Aircraftcited by 1,701
- 2020Rethinking Attention with Performerscited by 1,584
- 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,327
- 2017Continual Learning with Deep Generative Replaycited by 1,152
- 2017Memory Aware Synapses: Learning what (not) to forgetcited by 1,094
- 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,051
- 2023A Comprehensive Survey of Continual Learning: Theory, Method and Applicationcited by 860
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
- 2020Efficient Transformers: A Surveycited by 784
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2017Lifelong Learning with Dynamically Expandable Networkscited by 689
- 2016MS-Celeb-1M: A Dataset and Benchmark for Large-Scale Face Recognitioncited by 621
- 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 607
- 2018Learning to Learn without Forgetting by Maximizing Transfer and Minimizing Interferencecited by 511
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
- 2021MetaICL: Learning to Learn In Contextcited by 450
- 2019Learn to Grow: A Continual Structure Learning Framework for Overcoming Catastrophic Forgettingcited by 302
- 2019Meta-Learning Representations for Continual Learningcited by 189
- 2019Class-incremental Learning via Deep Model Consolidationcited by 172
- 2021Supervised Contrastive Replay: Revisiting the Nearest Class Mean Classifier in Online Class-Incremental Continual Learningcited by 140
- 2024Demystify Mamba in Vision: A Linear Attention Perspectivecited by 101
- 2020Learning to Continually Learncited by 82
- 2021Continual Learning via Local Module Compositioncited by 61
- 2024Self-Expansion of Pre-trained Models with Mixture of Adapters for Continual Learningcited by 53
- 2019Complementary Learning for Overcoming Catastrophic Forgetting Using Experience Replaycited by 51
- 2020La-MAML: Look-ahead Meta Learning for Continual Learningcited by 51
- 2017Scalable Recollections for Continual Lifelong Learningcited by 33
- 2023When Meta-Learning Meets Online and Continual Learning: A Surveycited by 12
- 2023Recasting Continual Learning as Sequence Modelingcited by 11
- 2024Transformers for Supervised Online Continual Learningcited by 5
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2024Mamba-CL: Optimizing Selective State Space Model in Null Space for Continual Learning
- 2026A Theoretical Analysis of Mamba's Training Dynamics: Filtering Relevant Features for Generalization in State Space Models
- 2024Continual Learning for Large Language Models: A Survey
- 2025Reinforced Interactive Continual Learning via Real-time Noisy Human Feedback
- 2024Enhancing Online Continual Learning with Plug-and-Play State Space Model and Class-Conditional Mixture of Discretization
- 2024Dual-Phase Continual Learning: Supervised Adaptation Meets Unsupervised Retention
- 2026Fast Weight Attention for Continual Learning
- 2025From Markov to Laplace: How Mamba In-Context Learns Markov Chains