mlsanityData to 14 Oct 2026

Your RAG is Unfair: Exposing Fairness Vulnerabilities in Retrieval-Augmented Generation via Backdoor Attacks

arXiv 2509.22486 ↗First posted 26 Sep 2025cs.IR cs.CRcited by 8

On the map: Retrieval-augmented generation → Privacy and security of RAG

also in 1 more
Abstract (arXiv)

Retrieval-augmented generation (RAG) enhances factual grounding by integrating retrieval mechanisms with generative models but introduces new attack surfaces, particularly through backdoor attacks. While prior research has largely focused on disinformation threats, fairness vulnerabilities remain underexplored. Unlike conventional backdoors that rely on direct trigger-to-target mappings, fairness-driven attacks exploit the interaction between retrieval and generation models, manipulating semantic relationships between target groups and social biases to establish a persistent and covert influence on content generation. This paper introduces BiasRAG, a systematic framework that exposes fairness vulnerabilities in RAG through a two-phase backdoor attack. During the pre-training phase, the query encoder is compromised to align the target group with the intended social bias, ensuring long-term persistence. In the post-deployment phase, adversarial documents are injected into knowledge bases to reinforce the backdoor, subtly influencing retrieved content while remaining undetectable under standard fairness evaluations. Together, BiasRAG ensures precise target alignment over sensitive attributes, stealthy execution, and resilience. Empirical evaluations demonstrate that BiasRAG achieves high attack success rates while preserving contextual relevance and utility, establishing a persistent and evolving threat to fairness in RAG.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Placed in Privacy and security of RAG, one of 15 directions in Retrieval-augmented generation. Builds on 26 of its 44 references that are in the map. First posted on arXiv 26 Sep 2025.

Builds on

26 of 44 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024Typos that Broke the RAG's Back: Genetic Attack on RAG Pipeline by Simulating Documents in the Wild via Low-level Perturbations22 Apr

Other references · 25

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  5. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  6. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  7. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  8. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
  9. 2021BBQ: A Hand-Built Bias Benchmark for Question Answeringcited by 701
  10. 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Basescited by 429
  11. 2021BOLD: Dataset and Metrics for Measuring Biases in Open-Ended Language Generationcited by 412
  12. 2016Bidirectional Attention Flow for Machine Comprehensioncited by 278
13 more
  1. 2024RAFT: Adapting Language Model to Domain Specific RAGcited by 262
  2. 2018Counterfactual Fairness in Text Classification through Robustnesscited by 151
  3. 2021Backdoor Pre-trained Models Can Transfer to Allcited by 86
  4. 2024FairRAG: Fair Human Generation via Fair Retrieval Augmentationcited by 34
  5. 2024SimRAG: Self-Improving Retrieval-Augmented Generation for Adapting Large Language Models to Specialized Domainscited by 28
  6. 2024Retrieval Augmented Generation for Domain-specific Question Answeringcited by 22
  7. 2024RuleRAG: Rule-Guided Retrieval-Augmented Generation with Language Models for Question Answeringcited by 13
  8. 2024No Free Lunch: Retrieval-Augmented Generation Undermines Fairness in LLMs, Even for Vigilant Userscited by 9
  9. 2023Overview of the TREC 2022 Fair Ranking Trackcited by 7
  10. 2024BadFair: Backdoored Fairness Attacks with Group-conditioned Triggerscited by 4
  11. 2024PFAttack: Stealthy Attack Bypassing Group Fairness in Federated Learningcited by 1
  12. 2024Mitigating Bias in Queer Representation within Large Language Models: A Collaborative Agent Approachcited by 1
  13. 2024Retrieval-Augmented Generation for Domain-Specific Question Answering: A Case Study on Pittsburgh and CMUcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 7.

8 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025The Other Side of the Coin: Exploring Fairness in Retrieval-Augmented Generation
  2. 2026Security and Privacy in Retrieval-Augmented Generation: Architectures, Threats, Defenses, and Future Directions for Building Trustworthy Systems
  3. 2024Towards Fair RAG: On the Impact of Fair Ranking in Retrieval-Augmented Generation
  4. 2025Bias Amplification in RAG: Poisoning Knowledge Retrieval to Steer LLMs
  5. 2024BadRAG: Identifying Vulnerabilities in Retrieval Augmented Generation of Large Language Models
  6. 2025UniC-RAG: Universal Knowledge Corruption Attacks to Retrieval-Augmented Generation
  7. 2025Mitigating Bias in RAG: Controlling the Embedder
  8. 2024Towards More Robust Retrieval-Augmented Generation: Evaluating RAG Under Adversarial Poisoning Attacks