Privacy-Aware Decoding: Mitigating Privacy Leakage of Large Language Models in Retrieval-Augmented Generation
摘要
Retrieval-Augmented Generation (RAG) enhances the factual accuracy of large language models (LLMs) by conditioning outputs on external knowledge sources. However, when retrieval involves private or sensitive data, RAG systems are susceptible to extraction attacks that can leak confidential information through generated responses. We propose Privacy-Aware Decoding (PAD), a lightweight, inference-time defense that adaptively injects calibrated Gaussian noise into token logits during generation. PAD integrates logit clipping, confidence-based screening to selectively protect high-risk tokens, a risk-adaptive calibration scale that allocates noise where it is most needed, and context-aware noise calibration to balance privacy with generation quality. A Rényi Differential Privacy (RDP) accountant tracks cumulative privacy loss, providing explicit per-response (𝜀, 𝛿) privacy accounting over the protected tokens under the realized noise schedule. Unlike prior approaches requiring retraining or corpus-level filtering, PAD is model-agnostic and operates entirely at decoding time with minimal computational overhead. Experiments on three real-world datasets demonstrate that PAD substantially reduces private information leakage while preserving response utility, outperforming existing retrieval-and post-processing-based defenses. Our work takes an important step toward mitigating privacy risks in RAG via decoding strategies, paving the way for universal and scalable privacy solutions in sensitive domains. Our code is available: https://github.com/wang2226/PAD
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- PEARL: Differentially Private and Entropy-Aware Regulated Language Generation 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Large Language Models Can Be Strong Differentially Private Learners 引用了 Differentially Private Fine-tuning of Language Models
- Differentially Private Fine-tuning of Language Models 引用了 Large Language Models Can Be Strong Differentially Private Learners
- Large Language Models Can Be Strong Differentially Private Learners 引用了 Deep Learning with Differential Privacy
- Large Language Models Can Be Strong Differentially Private Learners 引用了 Extracting Training Data from Large Language Models
- Differentially Private Fine-tuning of Language Models 引用了 Deep Learning with Differential Privacy
- Differentially Private Fine-tuning of Language Models 引用了 Extracting Training Data from Large Language Models
- GraphRAG Under Fire 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Extracting Training Data from Large Language Models 引用了 Deep Learning with Differential Privacy
引用它的顶会 Paper2
它引用的 Paper22
- Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni 等NeurIPS 2020 · 19,162 次引用
- Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan 等CCS 2016 · 7,620 次引用
- Extracting Training Data from Large Language ModelsNicholas Carlini, Florian Tramèr, Eric Wallace, Matthew Jagielski 等USENIX Security 2021 · 2,866 次引用
- Large Language Models Can Be Strong Differentially Private LearnersXuechen Li, Florian Tramèr, Percy Liang, Tatsunori HashimotoICLR 2022 · 502 次引用
- Differentially Private Fine-tuning of Language ModelsDa Yu, Saurabh Naik, Arturs Backurs, Sivakanth Gopi 等ICLR 2022 · 494 次引用
相关 Paper
- Differentially Private Synthetic Text Generation for Retrieval-Augmented Generation (RAG)Junki Mori, Kazuya Kakizaki, Taiki Miyagawa, Jun SakumaACL Findings 2026 · 1 次引用
- The Good and The Bad: Exploring Privacy Issues in Retrieval-Augmented Generation (RAG)Shenglai Zeng, Jiankun Zhang, Pengfei He, Yiding Liu 等ACL Findings 2024 · 104 次引用
- Adaptive Backtracking for Privacy Protection in Large Language ModelsZhihao Yao, Yuxuan Gu, Xiachong Feng, Weitao Ma 等ACL Findings 2026
- Fine-Grained Privacy Extraction from Retrieval-Augmented Generation Systems by Exploiting Knowledge AsymmetryYufei Chen, Yao Wang, Haibin Zhang, Tao GuICLR 2026 · 2 次引用
- Exposing Privacy Risks in Graph Retrieval-Augmented GenerationJiale Liu, Jiahao Zhang, Suhang WangACL Findings 2026 · 1 次引用
