BudgetLeak:通过生成预算侧信道对RAG系统的成员推理攻击
BudgetLeak: Membership Inference Attacks on RAG Systems via the Generation Budget Side Channel
AI总结:
针对RAG系统因黑盒限制和弱成员信号导致现有成员推理攻击表现不佳的问题,本文提出利用生成预算侧信道的BudgetLeak攻击,通过多预算探测和序列建模/聚类分析实现高效攻击,实验证明其优于现有基线。
摘要:
检索增强生成(RAG)通过整合外部知识增强大型语言模型,但对专有或敏感语料库的依赖带来了隐私泄露和未授权数据使用等多种数据风险。成员推理攻击(MIAs)是评估此类风险的常用技术,但由于黑盒限制和缺乏强成员信号,现有方法在RAG中表现不佳。本文识别了RAG系统中一个此前未被探索的侧信道:生成预算,它控制生成响应中允许的最大token数。改变该预算会揭示成员查询和非成员查询之间可观察的行为模式,因为成员随预算增大质量提升更快。基于这一见解,我们提出BudgetLeak,一种通过不同预算探测响应并通过序列建模或聚类分析指标演变的新型成员推理攻击。在四个数据集、三个LLM生成器和两个检索器上的广泛实验表明,BudgetLeak持续优于现有基线,同时保持高效率和实际可行性。我们的发现揭示了RAG系统中此前被忽视的数据风险,并强调了对新防御措施的需求。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。