Five Queries Are Enough: Query-Efficient and Surrogate-Free Membership Inference Attacks on RAG via Entailment
On the map: Retrieval-augmented generation → Privacy and security of RAG
also in 1 more
Abstract (arXiv)
Retrieval-augmented generation (RAG) has become central to large language model (LLM) deployments, grounding responses in enterprise or proprietary data to reduce hallucinations. However, this design introduces a new privacy risk: model outputs may signal the presence of specific documents in the retrieval corpus, enabling membership inference attacks (MIAs) that leak sensitive information. Existing MIAs are feasible, but they often rely on easily detected templated queries or require many non-templated yet costly and repetitive queries, limiting practicality. We ask: Can an adversary launch a limited-budget, surrogate-free, stealthy, and defense-agnostic membership inference attack using non-templated queries? We present MEntA (Membership Entailment Attack), a query-efficient MIA that leverages natural-language entailment to maximize information gained per query. By asking low-cost, broad, information-seeking questions and measuring entailment between model responses and candidate documents, MEntA eliminates the need for costly shadow models and large query budgets. Across NFCorpus, SCIDOCS, and TREC-COVID, MEntA achieves up to 0.991 AUC with only 5 queries, outperforming prior methods by up to 0.42 AUC under equivalent conditions. It remains effective under state-of-the-art (SOTA) RAG defenses, while current detectors either miss MEntA or flag benign queries at high rates. Regarding cost, MEntA reduces total attack cost by up to 65× lower compared to SOTA attacks under the same attack setting. Our findings expose the feasibility of realistic, low-cost privacy leakage in RAG systems and highlight the urgent need for privacy-aware retrieval and defense mechanisms.
Key facts. Cited by 4 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 39 of its 71 references that are in the map. First posted on arXiv 23 May 2026.
Builds on
39 of 71 references.
Closest ancestors · 13
Same direction, newest first
- 2025BudgetLeak: Membership Inference Attacks on RAG Systems via the Generation Budget Side Channel15 Nov
- 2025RAG Security and Privacy: Formalizing the Threat Model and Attack Surface24 Sep
- 2025DCMI: A Differential Calibration Membership Inference Attack Against Retrieval-Augmented Generation7 Sep
- 2025SMA: Who Said That? Auditing Membership Leakage in Semi-Black-box RAG Controlling12 Aug
- 2025Safeguarding Privacy of Retrieval Data against Membership Inference Attacks: Is This Query Too Close to Home?28 May
- 2025Silent Leaks: Implicit Knowledge Extraction Attack on RAG Systems through Benign Queries21 May
- 2025Riddle Me This! Stealthy Membership Inference for Retrieval-Augmented Generation1 Feb
- 2024Feedback-Guided Extraction of Knowledge Base from Retrieval-Augmented LLM Applications21 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
- 2024Follow My Instruction and Spill the Beans: Scalable Data Extraction from Retrieval-Augmented Generation Systems27 Feb
1 more
Other references · 26
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
- 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,601
- 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,375
- 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
- 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 981
- 2021Membership Inference Attacks From First Principlescited by 878
- 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 876
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
- 2020Fact or Fiction: Verifying Scientific Claimscited by 554
14 more
- 2023AlignScore: Evaluating Factual Consistency with a Unified Alignment Functioncited by 288
- 2020Explainable Automated Fact-Checking for Public Health Claimscited by 211
- 2020CLIMATE-FEVER: A Dataset for Verification of Real-World Climate Claimscited by 196
- 2019Towards Debiasing Fact Verification Modelscited by 143
- 2024Attention Tracker: Detecting Prompt Injection Attacks in LLMscited by 95
- 2024Membership Inference Attacks Against In-Context Learningcited by 43
- 2024InjecGuard: Benchmarking and Mitigating Over-defense in Prompt Injection Guardrail Modelscited by 42
- 2024Unleashing Worms and Extracting Data: Escalating the Outcome of Attacks against RAG-based Inference in Scale and Severity Using Jailbreakingcited by 30
- 2024FENICE: Factuality Evaluation of summarization based on Natural language Inference and Claim Extractioncited by 28
- 2024Face4RAG: Factual Consistency Evaluation for Retrieval Augmented Generation in Chinesecited by 10
- 2025Retrieval-Augmented Generation in Industry: An Interview Study on Use Cases, Requirements, Challenges, and Evaluationcited by 8
- 2023Split and Rephrase with Large Language Modelscited by 5
- 2025"Lost-in-the-Later": Framework for Quantifying Contextual Grounding in Large Language Modelscited by 5
- 2025PlainQAFact: Retrieval-augmented Factual Consistency Evaluation Metric for Biomedical Plain Language Summarizationcited by 4
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026MRMMIA: Membership Inference Attacks on Memory in Chat Agentscited by 2
- 2026Pointing the Way, Hiding the Destination: Practical Private Dense Retrieval at Scalecited by 1
- 2026Inferring Hidden User Models from the Behavior of Personalized LLM Agentscited by 0
- 2026Connecting the Dots in Agentic AI Security: A Cross-Dimensional Threat Taxonomy, Evaluation Maturity, and Open Challengescited by 0
- 2026Connecting the Dots in Agentic AI Security: A Cross-Dimensional Threat Taxonomy, Evaluation Maturity, and Open Challenges20 Sep 2026
- 2026Inferring Hidden User Models from the Behavior of Personalized LLM Agents3 Sep 2026
- 2026Pointing the Way, Hiding the Destination: Practical Private Dense Retrieval at Scale26 Aug 2026
- 2026MRMMIA: Membership Inference Attacks on Memory in Chat Agents27 May 2026
Similar, not cited
Close in wording, no citation either way
- 2026CIG-MIA: Context-Induced Information Gain Membership Inference Attacks against Retrieval-Augmented Generation
- 2026E-MIA: Exam-Style Black-Box Membership Inference Attacks against RAG Systems
- 2026Security and Privacy in Retrieval-Augmented Generation: Architectures, Threats, Defenses, and Future Directions for Building Trustworthy Systems
- 2025Ensemble Privacy Defense for Knowledge-Intensive LLMs against Membership Inference Attacks
- 2026Securing Retrieval-Augmented Generation: A Taxonomy of Attacks, Defenses, and Future Directions
- 2026Retrieved But Not Reliable: A Survey on Attacks, and Defenses in Retrieval-Augmented Generation
- 2024Pirates of the RAG: Adaptively Attacking LLMs to Leak Knowledge Bases
- 2026Membership Inference Attacks for Retrieval Based In-Context Learning for Document Question Answering