mlsanityData to 14 Oct 2026

A Study of Backdoors in Instruction Fine-tuned Language Models

arXiv 2406.07778 ↗First posted 12 Jun 2024cs.CR cs.AI cs.CLcited by 11

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

Abstract (arXiv)

Backdoor data poisoning, inserted within instruction examples used to fine-tune a foundation Large Language Model (LLM) for downstream tasks (textite.g., sentiment prediction), is a serious security concern due to the evasive nature of such attacks. The poisoning is usually in the form of a (seemingly innocuous) trigger word or phrase inserted into a very small fraction of the fine-tuning samples from a target class. Such backdoor attacks can: alter response sentiment, violate censorship, over-refuse (invoke censorship for legitimate queries), inject false content, or trigger nonsense responses (hallucinations). In this work we investigate the efficacy of instruction fine-tuning backdoor attacks as attack "hyperparameters" are varied under a variety of scenarios, considering: the trigger location in the poisoned examples; robustness to change in the trigger location, partial triggers, and synonym substitutions at test time; attack transfer from one (fine-tuning) domain to a related test domain; and clean-label vs. dirty-label poisoning. Based on our observations, we propose and evaluate two defenses against these attacks: i) a textitduring-fine-tuning defense based on word-frequency counts that assumes the (possibly poisoned) fine-tuning dataset is available and identifies the backdoor trigger tokens; and ii) a textitpost-fine-tuning defense based on downstream clean fine-tuning of the backdoored LLM with a small defense dataset. Finally, we provide a brief survey of related work on backdoor attacks and defenses.

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

Builds on

20 of 28 references.

Closest ancestors · 5

Same direction, newest first

  1. 2024Universal Vulnerabilities in Large Language Models: Backdoor Attacks for In-context Learning11 Jan
  2. 2024Imperio: Language-Guided Backdoor Attacks for Arbitrary Model Control2 Jan
  3. 2023TIJO: Trigger Inversion with Joint Optimization for Defending Multimodal Backdoored Models7 Aug
  4. 2023On the Exploitability of Instruction Tuning28 Jun
  5. 2021Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfer14 Oct

Other references · 15

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  2. 2013Intriguing properties of neural networkscited by 5,155
  3. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  4. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  5. 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 739
  6. 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 722
  7. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 672
  8. 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 375
  9. 2023Poisoning Language Models During Instruction Tuningcited by 269
  10. 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 263
  11. 2019Detecting AI Trojans Using Meta Neural Analysiscited by 199
  12. 2020Mitigating backdoor attacks in LSTM-based Text Classification Systems by Backdoor Keyword Identificationcited by 86
3 more
  1. 2023UNICORN: A Unified Backdoor Trigger Inversion Frameworkcited by 46
  2. 2024Task-Agnostic Detector for Insertion-Based Backdoor Attackscited by 23
  3. 2023Gradient-Based Word Substitution for Obstinate Adversarial Examples Generation in Language Modelscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 6.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Instructions as Backdoors: Backdoor Vulnerabilities of Instruction Tuning for Large Language Models
  2. 2024A Survey of Recent Backdoor Attacks and Defenses in Large Language Models
  3. 2022A Unified Evaluation of Textual Backdoor Learning: Frameworks and Benchmarks
  4. 2026Merging Triggers, Breaking Backdoors: Defensive Poisoning for Instruction-Tuned Language Models
  5. 2025Revisiting Backdoor Attacks on LLMs: A Stealthy and Practical Poisoning Framework via Harmless Inputs
  6. 2025The 'Sure' Trap: Multi-Scale Poisoning Analysis of Stealthy Compliance-Only Backdoors in Fine-Tuned Large Language Models
  7. 2024Learning to Poison Large Language Models for Downstream Manipulation
  8. 2023Composite Backdoor Attacks Against Large Language Models