CIG-MIA: Context-Induced Information Gain Membership Inference Attacks against Retrieval-Augmented Generation
On the map: Retrieval-augmented generation → Privacy and security of RAG
also in 1 more
Abstract (arXiv)
Retrieval-augmented generation (RAG) systems ground large language models on external knowledge bases, enabling access to private, domain-specific, and up-to-date knowledge without retraining. However, the same retrieval interface can expose whether a candidate document is contained in the knowledge base. This paper studies knowledge base membership inference against RAG systems under both gray-box and text-only black-box access. Existing RAG membership inference attacks rely on signals such as direct membership prompts, response similarity, mask recovery, or query perturbation, which can be sensitive to prompt defenses, semantically related retrieved documents, and the generator's parametric knowledge. We introduce CIG-MIA, a membership inference attack based on context-induced information gain. The key insight is that explicit candidate-document injection affects members and non-members differently: if a document is already available through retrieval, injection provides little additional support for document-derived answers; if it is absent, injection introduces new evidence and yields a larger likelihood gain. In the gray-box setting, CIG-MIA computes this gain directly from token-level likelihoods. In the black-box setting, it estimates the same gain from generated text by scoring selected answer tokens with a lightweight surrogate-based estimator using semantic similarity and exact-match features. We evaluate CIG-MIA on Natural Questions, MS-MARCO, and HealthCareMagic against recent RAG membership inference baselines. On Natural Questions, CIG-MIA achieves an AUC of 0.99 in the gray-box setting and 0.93 in the black-box setting. We further analyze the information-gain signal, RAG configuration effects, ablations, and robustness to paraphrasing and generation randomness.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Privacy and security of RAG, one of 15 directions in Retrieval-augmented generation. Builds on 40 of its 47 references that are in the map. First posted on arXiv 13 Sep 2026.
Builds on
40 of 47 references.
Closest ancestors · 8
Same direction, newest first
- 2025DCMI: A Differential Calibration Membership Inference Attack Against Retrieval-Augmented Generation7 Sep
- 2025Riddle Me This! Stealthy Membership Inference for Retrieval-Augmented Generation1 Feb
- 2024RevPRAG: Revealing Poisoning Attacks in Retrieval-Augmented Generation through LLM Activation Analysis28 Nov
- 2024Mask-based Membership Inference Attacks for Retrieval-Augmented Generation26 Oct
- 2024Generating Is Believing: Membership Inference Attacks against Retrieval-Augmented Generation27 Jun
- 2024Is My Data in Your Retrieval Database? Membership Inference Attacks Against Retrieval Augmented Generation30 May
- 2024The Good and The Bad: Exploring Privacy Issues in Retrieval-Augmented Generation (RAG)23 Feb
- 2024PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models12 Feb
Other references · 32
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2025Qwen3 Technical Reportcited by 8,820
- 2024GPT-4o System Cardcited by 4,588
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2023Qwen Technical Reportcited by 3,344
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,281
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,605
- 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,253
20 more
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,216
- 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,128
- 2024Gemma: Open Models Based on Gemini Research and Technologycited by 916
- 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 723
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
- 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Modelscited by 452
- 2023Detecting Pretraining Data from Large Language Modelscited by 387
- 2023ChatDoctor: A Medical Chat Model Fine-Tuned on a Large Language Model Meta-AI (LLaMA) Using Medical Domain Knowledgecited by 325
- 2023Benchmarking Large Language Models in Retrieval-Augmented Generationcited by 312
- 2023Membership Inference Attacks against Language Models via Neighbourhood Comparisoncited by 258
- 2021Retrieval Augmented Code Generation and Summarizationcited by 149
- 2022Improving the Domain Adaptation of Retrieval Augmented Generation (RAG) Models for Open Domain Question Answeringcited by 127
- 2024DE-COP: Detecting Copyrighted Content in Language Models Training Datacited by 74
- 2024CBR-RAG: Case-Based Reasoning for Retrieval Augmented Generation in LLMs for Legal Question Answeringcited by 72
- 2023WikiChat: Stopping the Hallucination of Large Language Model Chatbots by Few-Shot Grounding on Wikipediacited by 67
- 2024Improving Retrieval-Augmented Generation in Medicine with Iterative Follow-up Questionscited by 54
- 2025Towards Label-Only Membership Inference Attack against Pre-trained Large Language Modelscited by 37
- 2024Probing Language Models for Pre-training Data Detectioncited by 25
- 2024Retrieval Augmented Generation for Domain-specific Question Answeringcited by 22
- 2025In-Context Probing for Membership Inference in Fine-Tuned Language Modelscited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025BudgetLeak: Membership Inference Attacks on RAG Systems via the Generation Budget Side Channel
- 2026E-MIA: Exam-Style Black-Box Membership Inference Attacks against RAG Systems
- 2026Five Queries Are Enough: Query-Efficient and Surrogate-Free Membership Inference Attacks on RAG via Entailment
- 2025Safeguarding Privacy of Retrieval Data against Membership Inference Attacks: Is This Query Too Close to Home?
- 2025RAG Security and Privacy: Formalizing the Threat Model and Attack Surface
- 2026Securing Retrieval-Augmented Generation: A Taxonomy of Attacks, Defenses, and Future Directions
- 2025Token-Level Precise Attack on RAG: Searching for the Best Alternatives to Mislead Generation
- 2025Ensemble Privacy Defense for Knowledge-Intensive LLMs against Membership Inference Attacks