面向本地化检索增强生成的隐私保护联邦嵌入学习
Privacy-Preserving Federated Embedding Learning for Localized Retrieval-Augmented Generation
AI总结:
针对私有RAG系统的数据稀缺与隐私挑战,提出FedE4RAG框架,通过联邦学习协作训练检索模型,结合知识蒸馏与同态加密,在保护隐私的同时显著提升了系统性能。
摘要:
检索增强生成(RAG)近期已成为一种极具前景的解决方案,用于提升大型语言模型(LLMs)的准确性和可信度,特别是在问答任务中。这是通过整合来自集成数据库的专有和私有数据来实现的。然而,由于私有领域数据的稀缺性和关键的数据隐私问题,私有RAG系统面临着重大挑战。这些障碍阻碍了私有RAG系统的部署,因为开发隐私保护的RAG系统需要在数据安全和数据可用性之间取得微妙的平衡。为了应对这些挑战,我们将联邦学习(FL)视为一种极具前景的隐私保护RAG服务技术。我们提出了一个名为联邦检索增强生成(FedE4RAG)的新颖框架。该框架促进了客户端RAG检索模型的协作训练。这些模型的参数在中央服务器上进行聚合和分发,在不直接共享原始数据的情况下确保了数据隐私。在FedE4RAG中,采用知识蒸馏进行服务器和客户端模型之间的通信。该技术在联邦学习过程中提高了本地RAG检索器的泛化能力。此外,我们在联邦学习内应用同态加密来保护模型参数,并减轻与数据泄露相关的担忧。在真实世界数据集上进行的广泛实验验证了FedE4RAG的有效性。结果表明,我们提出的框架能够显著提升私有RAG系统的性能,同时保持强大的数据隐私保护。
英文摘要:
Retrieval-Augmented Generation (RAG) has recently emerged as a promising solution for enhancing the accuracy and credibility of Large Language Models (LLMs), particularly in Question & Answer tasks. This is achieved by incorporating proprietary and private data from integrated databases. However, private RAG systems face significant challenges due to the scarcity of private domain data and critical data privacy issues. These obstacles impede the deployment of private RAG systems, as developing privacy-preserving RAG systems requires a delicate balance between data security and data availability. To address these challenges, we regard federated learning (FL) as a highly promising technology for privacy-preserving RAG services. We propose a novel framework called Federated Retrieval-Augmented Generation (FedE4RAG). This framework facilitates collaborative training of client-side RAG retrieval models. The parameters of these models are aggregated and distributed on a central-server, ensuring data privacy without direct sharing of raw data. In FedE4RAG, knowledge distillation is employed for communication between the server and client models. This technique improves the generalization of local RAG retrievers during the federated learning process. Additionally, we apply homomorphic encryption within federated learning to safeguard model parameters and mitigate concerns related to data leakage. Extensive experiments conducted on the real-world dataset have validated the effectiveness of FedE4RAG. The results demonstrate that our proposed framework can markedly enhance the performance of private RAG systems while maintaining robust data privacy protection.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。