mlsanityData to 7 Oct 2026

BudgetLeak: Membership Inference Attacks on RAG Systems via the Generation Budget Side Channel

arXiv 2511.12043 ↗First posted 15 Nov 2025cs.CRcited by 2

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

also in 1 more
Abstract (arXiv)

Retrieval-Augmented Generation (RAG) enhances large language models by integrating external knowledge, but reliance on proprietary or sensitive corpora poses various data risks, including privacy leakage and unauthorized data usage. Membership inference attacks (MIAs) are a common technique to assess such risks, yet existing approaches underperform in RAG due to black-box constraints and the absence of strong membership signals. In this paper, we identify a previously unexplored side channel in RAG systems: the generation budget, which controls the maximum number of tokens allowed in a generated response. Varying this budget reveals observable behavioral patterns between member and non-member queries, as members gain quality more rapidly with larger budgets. Building on this insight, we propose BudgetLeak, a novel membership inference attack that probes responses under different budgets and analyzes metric evolution via sequence modeling or clustering. Extensive experiments across four datasets, three LLM generators, and two retrievers demonstrate that BudgetLeak consistently outperforms existing baselines, while maintaining high efficiency and practical viability. Our findings reveal a previously overlooked data risk in RAG systems and highlight the need for new defenses.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Privacy and security of RAG, one of 15 directions in Retrieval-augmented generation. Builds on 49 of its 65 references that are in the map. First posted on arXiv 15 Nov 2025.

Builds on

49 of 65 references.

Closest ancestors · 4

Same direction, newest first

  1. 2025Riddle Me This! Stealthy Membership Inference for Retrieval-Augmented Generation1 Feb
  2. 2024Mask-based Membership Inference Attacks for Retrieval-Augmented Generation26 Oct
  3. 2024Generating Is Believing: Membership Inference Attacks against Retrieval-Augmented Generation27 Jun
  4. 2024Is My Data in Your Retrieval Database? Membership Inference Attacks Against Retrieval Augmented Generation30 May

Other references · 45

  1. 2017Attention Is All You Needcited by 59,932
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  5. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  6. 2023Mistral 7Bcited by 3,065
  7. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
  8. 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,185
  9. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,800
  10. 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
  11. 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,411
  12. 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
33 more
  1. 2020Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrievalcited by 846
  2. 2021Membership Inference Attacks From First Principlescited by 839
  3. 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 837
  4. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 738
  5. 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 691
  6. 2023Active Retrieval Augmented Generationcited by 506
  7. 2018ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Modelscited by 475
  8. 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 452
  9. 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Modelscited by 450
  10. 2023Detecting Pretraining Data from Large Language Modelscited by 375
  11. 2024Graph Retrieval-Augmented Generation: A Surveycited by 320
  12. 2020Systematic Evaluation of Privacy Risks of Machine Learning Modelscited by 273
  13. 2019White-box vs Black-box: Bayes Optimal Strategies for Membership Inferencecited by 265
  14. 2021Enhanced Membership Inference Attacks against Machine Learning Modelscited by 237
  15. 2023Query Rewriting for Retrieval-Augmented Large Language Modelscited by 211
  16. 2018Machine Learning with Membership Privacy using Adversarial Regularizationcited by 177
  17. 2023LLM Lies: Hallucinations are not Bugs, but Features as Adversarial Examplescited by 177
  18. 2024Retrieval-Augmented Generation with Graphs (GraphRAG)cited by 170
  19. 2020Membership Leakage in Label-Only Exposurescited by 156
  20. 2021On the Importance of Difficulty Calibration in Membership Inference Attackscited by 137
  21. 2024Improved Techniques for Optimization-Based Jailbreaking on Large Language Modelscited by 98
  22. 2024MMed-RAG: Versatile Multimodal RAG System for Medical Vision Language Modelscited by 84
  23. 2024RULE: Reliable Multimodal RAG for Factuality in Medical Vision Language Modelscited by 58
  24. 2020k-Nearest Neighbour Classifiers: 2nd Edition (with Python examples)cited by 56
  25. 2024Pretraining Data Detection for Large Language Models: A Divergence-based Calibration Methodcited by 54
  26. 2025Parameters vs. Context: Fine-Grained Control of Knowledge Reliance in Language Modelscited by 38
  27. 2024SeqMIA: Sequential-Metric Based Membership Inference Attackcited by 19
  28. 2025FinSage: A Multi-aspect RAG System for Financial Filings Question Answeringcited by 18
  29. 2024Is Difficulty Calibration All We Need? Towards More Practical Membership Inference Attackscited by 17
  30. 2024MaFeRw: Query Rewriting with Multi-Aspect Feedbacks for Retrieval-Augmented Large Language Modelscited by 9
  31. 2025Context-Guided Dynamic Retrieval for Improving Generation Quality in RAG Modelscited by 8
  32. 2025MedPlan: A Two-Stage RAG-Based System for Personalized Medical Plan Generationcited by 4
  33. 2025CryptoScope: Utilizing Large Language Models for Automated Cryptographic Logic Vulnerability Detectioncited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Token-Level Precise Attack on RAG: Searching for the Best Alternatives to Mislead Generation
  2. 2026Security and Privacy in Retrieval-Augmented Generation: Architectures, Threats, Defenses, and Future Directions for Building Trustworthy Systems
  3. 2025RAG Security and Privacy: Formalizing the Threat Model and Attack Surface
  4. 2026CIG-MIA: Context-Induced Information Gain Membership Inference Attacks against Retrieval-Augmented Generation
  5. 2025DCMI: A Differential Calibration Membership Inference Attack Against Retrieval-Augmented Generation
  6. 2026Retrieved But Not Reliable: A Survey on Attacks, and Defenses in Retrieval-Augmented Generation
  7. 2025Safeguarding Privacy of Retrieval Data against Membership Inference Attacks: Is This Query Too Close to Home?
  8. 2026Securing Retrieval-Augmented Generation: A Taxonomy of Attacks, Defenses, and Future Directions