Skip to content

Privacy-Aware Decoding: Mitigating Privacy Leakage of Large Language Models in Retrieval-Augmented GenerationPrivacy-Aware Decoding: Mitigating Privacy Leakage of Large Language Models in Retrieval-Augmented Generation

arXiv· arXiv:2508.03098· KDD· Haoran Wang, Xiongxiao Xu, Baixiang Huang, Kai Shu·Indexed by this site · 25 days ago· Originally publishedDefenses
AI summary

The researchers propose Privacy-Aware Decoding (PAD), a lightweight defense that injects calibrated Gaussian noise into token logits at inference time to reduce privacy leakage in RAG systems. PAD combines confidence-based filtering to selectively protect high-risk tokens, uses sensitivity estimation to reduce unnecessary noise, and balances privacy and generation quality through context-aware noise calibration. The method uses a Rényi differential privacy (RDP) accountant to track cumulative privacy loss, provides a per-response (ε, δ)-DP guarantee for sensitive outputs, and is model-agnostic, running only at the decoding stage without retraining or corpus-level filtering. Experiments on three real-world datasets show that PAD significantly reduces privacy information leakage while maintaining answer usability, outperforming existing retrieval-based and post-processing defenses. The code has been released at https://github.com/wang2226/PAD.

Read originalKDD