mlsanityData to 7 Oct 2026

Exploring Backdoor Vulnerabilities of Chat Models

arXiv 2404.02406 ↗First posted 3 Apr 2024cs.CR cs.AI cs.CLcited by 11

On the map: LLM safety and security → Backdoor and data poisoning attacks

Abstract (arXiv)

Recent researches have shown that Large Language Models (LLMs) are susceptible to a security threat known as Backdoor Attack. The backdoored model will behave well in normal cases but exhibit malicious behaviours on inputs inserted with a specific backdoor trigger. Current backdoor studies on LLMs predominantly focus on instruction-tuned LLMs, while neglecting another realistic scenario where LLMs are fine-tuned on multi-turn conversational data to be chat models. Chat models are extensively adopted across various real-world scenarios, thus the security of chat models deserves increasing attention. Unfortunately, we point out that the flexible multi-turn interaction format instead increases the flexibility of trigger designs and amplifies the vulnerability of chat models to backdoor attacks. In this work, we reveal and achieve a novel backdoor attacking method on chat models by distributing multiple trigger scenarios across user inputs in different rounds, and making the backdoor be triggered only when all trigger scenarios have appeared in the historical conversations. Experimental results demonstrate that our method can achieve high attack success rates (e.g., over 90% ASR on Vicuna-7B) while successfully maintaining the normal capabilities of chat models on providing helpful responses to benign user requests. Also, the backdoor can not be easily removed by the downstream re-alignment, highlighting the importance of continued research and attention to the security concerns of chat models. Warning: This paper may contain toxic content.

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 21 of its 35 references that are in the map. First posted on arXiv 3 Apr 2024.

Builds on

21 of 35 references.

Closest ancestors · 6

Same direction, newest first

  1. 2023Stealthy and Persistent Unalignment on Large Language Models via Backdoor Injections15 Nov
  2. 2022BadPrompt: Backdoor Attacks on Continuous Prompts27 Nov
  3. 2021RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Models15 Oct
  4. 2021Turn the Combination Lock: Learnable Textual Backdoor Attacks via Word Substitution11 Jun
  5. 2021Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic Trigger26 May
  6. 2021Be Careful about Poisoned Word Embeddings: Exploring the Vulnerability of the Embedding Layers in NLP Models29 Mar

Other references · 15

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  5. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  6. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
  7. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
  8. 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
  9. 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 825
  10. 2024TinyLlama: An Open-Source Small Language Modelcited by 604
  11. 2020Weight Poisoning Attacks on Pre-trained Modelscited by 318
  12. 2023Poisoning Language Models During Instruction Tuningcited by 254
3 more
  1. 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 231
  2. 2020BadNL: Backdoor Attacks against NLP Models with Semantic-preserving Improvementscited by 191
  3. 2024Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agentscited by 135

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 5; 2025: 4; 2026: 2.

11 papers.