通过纯合成数据缓解检索增强生成(RAG)中的隐私问题
Mitigating the Privacy Issues in Retrieval-Augmented Generation (RAG) via Pure Synthetic Data
AI总结:
针对检索增强生成(RAG)检索私有数据时的隐私泄露风险,提出两阶段合成数据生成范式SAGE,在保证检索性能的同时大幅降低隐私风险,为RAG安全应用提供新思路。
摘要:
检索增强生成(RAG)通过整合从外部知识源检索到的相关信息来优化语言模型的输出。然而,当检索过程涉及私有数据时,RAG系统可能面临严重的隐私风险,进而可能导致敏感信息泄露。为解决这一问题,我们提出使用合成数据作为检索数据的隐私保护替代方案。我们提出了SAGE,一种新颖的两阶段合成数据生成范式。在第一阶段,我们采用基于属性的提取与生成方法,保留原始数据中的关键上下文信息。在第二阶段,我们通过基于智能体的迭代优化过程进一步增强合成数据的隐私属性。大量实验表明,使用我们的合成数据作为检索上下文可取得与使用原始数据相当的性能,同时大幅降低隐私风险。我们的工作率先探索了为RAG生成高实用性且兼具隐私保护特性的合成数据的可能性,为RAG系统在各领域的安全应用开辟了新方向。
英文摘要:
Retrieval-augmented generation (RAG) enhances the outputs of language models by integrating relevant information retrieved from external knowledge sources. However, when the retrieval process involves private data, RAG systems may face severe privacy risks, potentially leading to the leakage of sensitive information. To address this issue, we propose using synthetic data as a privacy-preserving alternative for the retrieval data. We propose SAGE, a novel two-stage synthetic data generation paradigm. In the stage-1, we employ an attribute-based extraction and generation approach to preserve key contextual information from the original data. In the stage-2, we further enhance the privacy properties of the synthetic data through an agent-based iterative refinement process. Extensive experiments demonstrate that using our synthetic data as the retrieval context achieves comparable performance to using the original data while substantially reducing privacy risks. Our work takes the first step towards investigating the possibility of generating high-utility and privacy-preserving synthetic data for RAG, opening up new opportunities for the safe application of RAG systems in various domains.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。