arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.24312cs.CR
收藏

五个查询就足够了:基于蕴含的查询高效且无替代模型的RAG成员推断攻击

Five Queries Are Enough: Query-Efficient and Surrogate-Free Membership Inference Attacks on RAG via Entailment

Swinburne University of Technology(斯威本科技大学);CSIRO(联邦科学与工业研究组织);University of Louisville(路易斯维尔大学)

Nguyen Linh Bao Nguyen, Wanlun Ma, Viet Vo, Alsharif Abuadbba, Minghong Fang, Jun Zhang, Yang Xiang

AI总结:

提出MEntA攻击方法,利用自然语言蕴含在少量查询下高效推断RAG系统中的文档成员关系,无需替代模型,成本低且难以检测。

摘要:

检索增强生成(RAG)已成为大型语言模型(LLM)部署的核心,通过将响应基于企业或专有数据来减少幻觉。然而,这种设计引入了新的隐私风险:模型输出可能暗示检索语料库中特定文档的存在,从而使得成员推断攻击(MIA)能够泄露敏感信息。现有的MIA是可行的,但它们通常依赖于易于检测的模板化查询,或者需要大量非模板化但昂贵且重复的查询,限制了实用性。我们问:攻击者能否使用非模板化查询,在有限预算、无替代模型、隐蔽且防御无关的条件下发起成员推断攻击?我们提出MEntA(成员蕴含攻击),一种查询高效的MIA,利用自然语言蕴含最大化每次查询获得的信息。通过提出低成本、广泛、信息寻求的问题,并测量模型响应与候选文档之间的蕴含关系,MEntA消除了对昂贵的影子模型和大查询预算的需求。在NFCorpus、SCIDOCS和TREC-COVID上,MEntA仅用5个查询即可达到高达0.991的AUC,在同等条件下比先前方法高出最多0.42 AUC。它在最先进的(SOTA)RAG防御下仍然有效,而当前的检测器要么错过MEntA,要么以高比率标记良性查询。在成本方面,与相同攻击设置下的SOTA攻击相比,MEntA将总攻击成本降低了高达65倍。我们的发现揭示了RAG系统中现实、低成本的隐私泄露的可行性,并强调了迫切需要隐私感知的检索和防御机制。

英文摘要:

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$\times$ 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑