mlsanityData to 7 Oct 2026

Characterizing Mamba's Selective Memory using Auto-Encoders

arXiv 2512.15653 ↗First posted 17 Dec 2025cs.CLcited by 3

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

Abstract (arXiv)

State space models (SSMs) are a promising alternative to transformers for language modeling because they use fixed memory during inference. However, this fixed memory usage requires some information loss in the hidden state when processing long sequences. While prior work has studied the sequence length at which this information loss occurs, it does not characterize the types of information SSM language models (LMs) tend to forget. In this paper, we address this knowledge gap by identifying the types of tokens (e.g., parts of speech, named entities) and sequences (e.g., code, math problems) that are more frequently forgotten by SSM LMs. We achieve this by training an auto-encoder to reconstruct sequences from the SSM's hidden state, and measure information loss by comparing inputs with their reconstructions. We perform experiments using the Mamba family of SSM LMs (130M--1.4B) on sequences ranging from 4--256 tokens. Our results show significantly higher rates of information loss on math-related tokens (e.g., numbers, variables), mentions of organization entities, and alternative dialects to Standard American English. We then examine the frequency that these tokens appear in Mamba's pretraining data and find that less prevalent tokens tend to be the ones Mamba is most likely to forget. By identifying these patterns, our work provides clear direction for future research to develop methods that better control Mamba's ability to retain important information.

Key facts. Cited by 3 papers 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 25 of its 40 references that are in the map. First posted on arXiv 17 Dec 2025.

Builds on

25 of 40 references.

Closest ancestors · 5

Same direction, newest first

  1. 2025M1: Towards Scalable Test-Time Compute with Mamba Reasoning Models14 Apr
  2. 2024Understanding and Mitigating Bottlenecks of State Space Models through the Lens of Recency and Over-smoothing31 Dec
  3. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
  4. 2022How to Train Your HiPPO: State Space Models with Generalized Orthogonal Basis Projections24 Jun
  5. 2021Efficiently Modeling Long Sequences with Structured State Spaces31 Oct

Other references · 20

  1. 2017Attention Is All You Needcited by 59,932
  2. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  3. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  4. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
  5. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  6. 2020A Primer in BERTology: What we know about how BERT workscited by 807
  7. 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 607
  8. 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 208
  9. 2018Disentangled Representation Learning for Non-Parallel Text Style Transfercited by 127
  10. 2024Tokenization counts: the impact of tokenization on arithmetic in frontier LLMscited by 112
  11. 2022Do Androids Laugh at Electric Sheep? Humor "Understanding" Benchmarks from The New Yorker Caption Contestcited by 98
  12. 2023Is ChatGPT a Good Causal Reasoner? A Comprehensive Evaluationcited by 69
8 more
  1. 2018Learning Longer-term Dependencies in RNNs with Auxiliary Lossescited by 58
  2. 2020Investigating African-American Vernacular English in Transformer-Based Text Generationcited by 52
  3. 2024Number Cookbook: Number Understanding of Language Models and How to Improve Itcited by 41
  4. 2022The Tail Wagging the Dog: Dataset Construction Biases of Social Bias Benchmarkscited by 31
  5. 2021Disentangling Generative Factors in Natural Language with Discrete Variational Autoencoderscited by 19
  6. 2022Extrinsic Evaluation of Machine Translation Metricscited by 14
  7. 2022Learning Disentangled Representations of Negation and Uncertaintycited by 13
  8. 2021Learning to Rehearse in Long Sequence Memorizationcited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024An Empirical Study of Mamba-based Language Models
  2. 2025MemMamba: Rethinking Memory Patterns in State Space Model
  3. 2024Revealing and Mitigating the Local Pattern Shortcuts of Mamba
  4. 2025LongMamba: Enhancing Mamba's Long Context Capabilities via Training-Free Receptive Field Enlargement
  5. 2024MambaByte: Token-free Selective State Space Model
  6. 2024Mathematical Formalism for Memory Compression in Selective State Space Models
  7. 2024Bi-Mamba: Towards Accurate 1-Bit State Space Models
  8. 2024Longhorn: State Space Models are Amortized Online Learners