并非所有实体都生而平等:一种面向隐私保护RAG的动态匿名化框架
Not All Entities are Created Equal: A Dynamic Anonymization Framework for Privacy-Preserving RAG
AI总结:
针对检索增强生成中敏感实体“一刀切”匿名化导致效用下降的问题,提出基于上下文感知实体量化的动态匿名化框架TRIP-RAG,通过评估边际隐私风险、知识分歧和主题相关性实现变强度隐私保护,在保持隐私保护的同时显著提升生成质量。
摘要:
检索增强生成(RAG)通过检索外部文档增强了大型语言模型(LLMs)的实用性。由于RAG中的知识库主要通过云服务使用,金融和医疗等敏感领域的私有数据面临个人信息泄露的风险。因此,有效匿名化知识库对于隐私保护至关重要。现有研究将文本的隐私风险等同于单个孤立敏感实体的隐私风险的线性叠加。对所有敏感实体进行“一刀切”的完全处理严重降低了LLM的效用。为解决这一问题,我们引入了一个名为TRIP-RAG的动态匿名化框架。基于上下文感知的实体量化,该框架从边际隐私风险、知识分歧和主题相关性角度评估实体。它在权衡效用的同时识别高敏感实体,为变强度隐私保护场景提供了一种可行方法。我们的理论分析和实验表明,TRIP-RAG能有效降低上下文推断风险。大量实验结果表明,在保持与完全匿名化相当的隐私保护的同时,TRIP-RAG的Recall@k相比原始数据下降不到35%,生成质量相比现有基线提升高达56%。
英文摘要:
Retrieval-Augmented Generation (RAG) enhances the utility of Large Language Models (LLMs) by retrieving external documents. Since the knowledge databases in RAG are predominantly utilized via cloud services, private data in sensitive domains such as finance and healthcare faces the risk of personal information leakage. Thus, effectively anonymizing knowledge bases is crucial for privacy preservation. Existing studies equate the privacy risk of text to the linear superposition of the privacy risks of individual, isolated sensitive entities. The "one-size-fits-all" full processing of all sensitive entities severely degrades utility of LLM. To address this issue, we introduce a dynamic anonymization framework named TRIP-RAG. Based on context-aware entity quantification, this framework evaluates entities from the perspectives of marginal privacy risk, knowledge divergence, and topical relevance. It identifies highly sensitive entities while trading off utility, providing a feasible approach for variable-intensity privacy protection scenarios. Our theoretical analysis and experiments indicate that TRIP-RAG can effectively reduce context inference risks. Extensive experimental results demonstrate that, while maintaining privacy protection comparable to full anonymization, TRIP-RAG's Recall@k decreases by less than 35% compared to the original data, and the generation quality improves by up to 56% over existing baselines.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。