mlsanityData to 14 Oct 2026

Backdoor Attacks on Dense Retrieval via Public and Unintentional Triggers

arXiv 2402.13532 ↗First posted 21 Feb 2024cs.CLcited by 14

Not on the map. Why?

Abstract (arXiv)

Dense retrieval systems have been widely used in various NLP applications. However, their vulnerabilities to potential attacks have been underexplored. This paper investigates a novel attack scenario where the attackers aim to mislead the retrieval system into retrieving the attacker-specified contents. Those contents, injected into the retrieval corpus by attackers, can include harmful text like hate speech or spam. Unlike prior methods that rely on model weights and generate conspicuous, unnatural outputs, we propose a covert backdoor attack triggered by grammar errors. Our approach ensures that the attacked models can function normally for standard queries while covertly triggering the retrieval of the attacker's contents in response to minor linguistic mistakes. Specifically, dense retrievers are trained with contrastive loss and hard negative sampling. Surprisingly, our findings demonstrate that contrastive loss is notably sensitive to grammatical errors, and hard negative sampling can exacerbate susceptibility to backdoor attacks. Our proposed method achieves a high attack success rate with a minimal corpus poisoning rate of only 0.048%, while preserving normal retrieval performance. This indicates that the method has negligible impact on user experience for error-free queries. Furthermore, evaluations across three real-world defense strategies reveal that the malicious passages embedded within the corpus remain highly resistant to detection and filtering, underscoring the robustness and subtlety of the proposed attack footnoteCodes of this work are available at https://github.com/ruyue0001/BackdoorDPR..

Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Builds on 22 of its 33 references that are in the map. First posted on arXiv 21 Feb 2024.

Builds on

22 of 33 references.

References · 22

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  2. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  3. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  4. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
  5. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
  6. 2021Improving language models by retrieving from trillions of tokenscited by 1,293
  7. 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,216
  8. 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 952
  9. 2020Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrievalcited by 849
  10. 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 792
  11. 2020Backdoor Learning: A Surveycited by 426
  12. 2021Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic Triggercited by 222
10 more
  1. 2020BadNL: Backdoor Attacks against NLP Models with Semantic-preserving Improvementscited by 211
  2. 2023Poisoning Retrieval Corpora by Injecting Adversarial Passagescited by 159
  3. 2023Prompt as Triggers for Backdoor Attack: Examining the Vulnerability in Language Modelscited by 94
  4. 2021Turn the Combination Lock: Learnable Textual Backdoor Attacks via Word Substitutioncited by 89
  5. 2021Triggerless Backdoor Attack for NLP Tasks with Clean Labelscited by 66
  6. 2019A Neural Grammatical Error Correction System Built On Better Pre-training and Sequential Transfer Learningcited by 26
  7. 2020On the Robustness of Language Encoders against Grammatical Errorscited by 19
  8. 2020Humpty Dumpty: Controlling Word Meanings via Corpus Poisoningcited by 18
  9. 2023Large Language Models Are Better Adversaries: Exploring Generative Clean-Label Backdoor Attacks Against Text Classifierscited by 14
  10. 2023Enhancing the Ranking Context of Dense Retrieval Methods through Reciprocal Nearest Neighborscited by 5

Built on by

Cited by year (2026 to 14 Oct)

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

14 papers.

Sort:

By area:

  1. 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 126
  2. 2024TrojanRAG: Retrieval-Augmented Generation Can Be Backdoor Driver in Large Language Modelscited by 67
  3. 2024Typos that Broke the RAG's Back: Genetic Attack on RAG Pipeline by Simulating Documents in the Wild via Low-level Perturbationscited by 65
  4. 2024Backdoored Retrievers for Prompt Injection Attacks on Retrieval Augmented Generation of Large Language Modelscited by 22
  5. 2024Corpus Poisoning via Approximate Greedy Gradient Descentcited by 21
  6. 2025Collapse of Dense Retrievers: Short, Early, and Literal Biases Outranking Factual Evidencecited by 16
  7. 2024Mitigating Backdoor Threats to Large Language Models: Advancement and Challengescited by 15
  8. 2024Transferring Backdoors between Large Language Models by Knowledge Distillationcited by 12
  9. 2025DisarmRAG: Stealthy Retriever-Centric Poisoning to Disable Self-Correction in Retrieval-Augmented Generation (Extended Version)cited by 2
  10. 2025Epistemic Bias Injection: Manipulating LLM Opinion via Selective Context Retrievalcited by 2
  11. 2026RAGuard: A Layered Defense Framework for Retrieval-Augmented Generation Systems Against Data Poisoningcited by 2
  12. 2025Eyes-on-Me: Scalable RAG Poisoning through Transferable Attention-Steering Attractorscited by 1
2 more
  1. 2026When the Agent Becomes the Kernel: A Systematization of Security on the Path to AI-Native Operating Systemscited by 0
  2. 2026Backdoor in the Loop: Compromising Agentic Search via Malicious Retrieverscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2022A Unified Evaluation of Textual Backdoor Learning: Frameworks and Benchmarks
  2. 2024Large Language Models are Good Attackers: Efficient and Stealthy Textual Backdoor Attacks
  3. 2024A Study of Backdoors in Instruction Fine-tuned Language Models
  4. 2021Hidden Backdoors in Human-Centric Language Models
  5. 2024A Survey of Recent Backdoor Attacks and Defenses in Large Language Models
  6. 2025Revisiting Backdoor Attacks on LLMs: A Stealthy and Practical Poisoning Framework via Harmless Inputs
  7. 2022Rethink the Evaluation for Attack Strength of Backdoor Attacks in Natural Language Processing
  8. 2024Neutralizing Backdoors through Information Conflicts for Large Language Models