mlsanityData to 7 Oct 2026

Hidden State Poisoning Attacks against Mamba-based Language Models

arXiv 2601.01972 ↗First posted 5 Jan 2026cs.CL cs.AI cs.LGcited by 2

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

Abstract (arXiv)

State space models (SSMs) like Mamba offer efficient alternatives to Transformer-based language models, with linear time complexity. Yet, their adversarial robustness remains critically unexplored. This paper studies the phenomenon whereby specific short input phrases induce a partial amnesia effect in such models, by irreversibly overwriting information in their hidden states, referred to as a Hidden State Poisoning Attack (HiSPA). Our benchmark RoBench-25 allows evaluating a model's information retrieval capabilities when subject to HiSPAs, and confirms the vulnerability of SSMs against such attacks. Even the recent Jamba-1.7-Mini SSM--Transformer (a 52B hybrid model) collapses on RoBench-25 under some HiSPA triggers, whereas pure Transformers do not. We also observe that HiSPA triggers significantly weaken the Jamba model on the popular Open-Prompt-Injections benchmark, unlike pure Transformers. We further show that the theoretical and empirical findings extend to Mamba-2, and also analyse a Mamba-2-based hybrid (Nemotron-3-Nano). Finally, our interpretability study reveals patterns in Mamba's hidden layers during HiSPAs that could be used to build a HiSPA mitigation system. The full code and data to reproduce the experiments can be found at https://github.com/TortueSagace/hispa.

Key facts. Cited by 2 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 37 of its 46 references that are in the map. First posted on arXiv 5 Jan 2026.

Builds on

37 of 46 references.

Closest ancestors · 15

Same direction, newest first

  1. 2025Controllability Analysis of State Space-based Language Model22 Nov
  2. 2025Achilles' Heel of Mamba: Essential difficulties of the Mamba architecture demonstrated by synthetic data22 Sep
  3. 2025Nemotron-H: A Family of Accurate and Efficient Hybrid Mamba-Transformer Models4 Apr
  4. 2024Exploring the Limitations of Mamba in COPY and CoT Reasoning4 Oct
  5. 2024Jamba-1.5: Hybrid Transformer-Mamba Models at Scale22 Aug
  6. 2024An Empirical Study of Mamba-based Language Models12 Jun
  7. 2024MambaLRP: Explaining Selective State Space Sequence Models11 Jun
  8. 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modeling11 Jun
  9. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality31 May
  10. 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challenges24 Apr
  11. 2024Locating and Editing Factual Associations in Mamba4 Apr
  12. 2024Jamba: A Hybrid Transformer-Mamba Language Model28 Mar
3 more
  1. 2024BlackMamba: Mixture of Experts for State-Space Models1 Feb
  2. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
  3. 2021Efficiently Modeling Long Sequences with Structured State Spaces31 Oct

Other references · 22

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  3. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  4. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
  5. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
  6. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
  7. 2021Carbon Emissions and Large Neural Network Trainingcited by 561
  8. 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 328
  9. 2024Same Task, More Tokens: the Impact of Input Length on the Reasoning Performance of Large Language Modelscited by 150
  10. 2024Zamba: A Compact 7B SSM Hybrid Modelcited by 118
  11. 2024Hymba: A Hybrid-head Architecture for Small Language Modelscited by 95
  12. 2019Recurrent Neural Networks (RNNs): A gentle Introduction and Overviewcited by 68
10 more
  1. 2025NVIDIA Nemotron 3: Efficient and Open Intelligencecited by 54
  2. 2025Mind the Confidence Gap: Overconfidence, Calibration, and Distractor Effects in Large Language Modelscited by 39
  3. 2025Defending Against Prompt Injection With a Few DefensiveTokenscited by 26
  4. 2024Virtual Context: Enhancing Jailbreak Attacks with Special Token Injectioncited by 16
  5. 2024Green AI: Exploring Carbon Footprints, Mitigation Strategies, and Trade Offs in Large Language Model Trainingcited by 15
  6. 2025Literature Review Of Multi-Agent Debate For Problem-Solvingcited by 15
  7. 2025Hidden Prompts in Manuscripts Exploit AI-Assisted Peer Reviewcited by 12
  8. 2025Prompt Injection Attacks on LLM Generated Reviews of Scientific Publicationscited by 10
  9. 2023GPT vs Human for Scientific Reviews: A Dual Source Review on Applications of ChatGPT in Sciencecited by 5
  10. 2024Investigating the Indirect Object Identification circuit in Mambacited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Characterizing Mamba's Selective Memory using Auto-Encoders
  2. 2026Amnesia: Adversarial Semantic Layer Specific Activation Steering in Large Language Models
  3. 2024XLSR-Mamba: A Dual-Column Bidirectional State Space Model for Spoofing Attack Detection
  4. 2026Hidden in Memory: Sleeper Memory Poisoning in LLM Agents
  5. 2025System Prompt Poisoning: Persistent Attacks on Large Language Models Beyond User Injection
  6. 2025Differential Mamba
  7. 2023Survey of Vulnerabilities in Large Language Models Revealed by Adversarial Attacks
  8. 2024Revealing and Mitigating the Local Pattern Shortcuts of Mamba