Hidden State Poisoning Attacks against Mamba-based Language Models
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
- 2025Controllability Analysis of State Space-based Language Model22 Nov
- 2025Achilles' Heel of Mamba: Essential difficulties of the Mamba architecture demonstrated by synthetic data22 Sep
- 2025Nemotron-H: A Family of Accurate and Efficient Hybrid Mamba-Transformer Models4 Apr
- 2024Exploring the Limitations of Mamba in COPY and CoT Reasoning4 Oct
- 2024Jamba-1.5: Hybrid Transformer-Mamba Models at Scale22 Aug
- 2024An Empirical Study of Mamba-based Language Models12 Jun
- 2024MambaLRP: Explaining Selective State Space Sequence Models11 Jun
- 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modeling11 Jun
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality31 May
- 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challenges24 Apr
- 2024Locating and Editing Factual Associations in Mamba4 Apr
- 2024Jamba: A Hybrid Transformer-Mamba Language Model28 Mar
3 more
Other references · 22
- 2017Attention Is All You Needcited by 59,932
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
- 2021Carbon Emissions and Large Neural Network Trainingcited by 561
- 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 328
- 2024Same Task, More Tokens: the Impact of Input Length on the Reasoning Performance of Large Language Modelscited by 150
- 2024Zamba: A Compact 7B SSM Hybrid Modelcited by 118
- 2024Hymba: A Hybrid-head Architecture for Small Language Modelscited by 95
- 2019Recurrent Neural Networks (RNNs): A gentle Introduction and Overviewcited by 68
10 more
- 2025NVIDIA Nemotron 3: Efficient and Open Intelligencecited by 54
- 2025Mind the Confidence Gap: Overconfidence, Calibration, and Distractor Effects in Large Language Modelscited by 39
- 2025Defending Against Prompt Injection With a Few DefensiveTokenscited by 26
- 2024Virtual Context: Enhancing Jailbreak Attacks with Special Token Injectioncited by 16
- 2024Green AI: Exploring Carbon Footprints, Mitigation Strategies, and Trade Offs in Large Language Model Trainingcited by 15
- 2025Literature Review Of Multi-Agent Debate For Problem-Solvingcited by 15
- 2025Hidden Prompts in Manuscripts Exploit AI-Assisted Peer Reviewcited by 12
- 2025Prompt Injection Attacks on LLM Generated Reviews of Scientific Publicationscited by 10
- 2023GPT vs Human for Scientific Reviews: A Dual Source Review on Applications of ChatGPT in Sciencecited by 5
- 2024Investigating the Indirect Object Identification circuit in Mambacited by 5
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025Characterizing Mamba's Selective Memory using Auto-Encoders
- 2026Amnesia: Adversarial Semantic Layer Specific Activation Steering in Large Language Models
- 2024XLSR-Mamba: A Dual-Column Bidirectional State Space Model for Spoofing Attack Detection
- 2026Hidden in Memory: Sleeper Memory Poisoning in LLM Agents
- 2025System Prompt Poisoning: Persistent Attacks on Large Language Models Beyond User Injection
- 2025Differential Mamba
- 2023Survey of Vulnerabilities in Large Language Models Revealed by Adversarial Attacks
- 2024Revealing and Mitigating the Local Pattern Shortcuts of Mamba