KnowledgeSG:基于服务器知识蒸馏的隐私保护合成文本生成
KnowledgeSG: Privacy-Preserving Synthetic Text Generation with Knowledge Distillation from Server
AI总结:
针对私有数据微调LLM引发的隐私泄露问题,提出客户端-服务器框架KnowledgeSG,通过差分隐私学习本地知识、服务器知识蒸馏及仅传输模型的方式,在保护隐私的同时提升了合成数据质量与模型性能。
摘要:
大型语言模型(LLMs)的成功促使许多参与方在自己的私有数据上微调LLMs。然而,由于LLMs的记忆特性,这种做法引发了隐私担忧。现有的解决方案(例如利用合成数据进行替代)难以同时提升性能并保护隐私。它们要么依赖本地模型进行生成,导致性能下降;要么利用API,将数据直接暴露给API服务器。为了解决这个问题,我们提出了KnowledgeSG,这是一个新颖的客户端-服务器框架,能够在确保隐私的同时提升合成数据质量并改善模型性能。我们通过差分隐私(DP)从私有数据中学习本地知识,并从服务器中蒸馏专业知识来实现这一点。此外,受联邦学习启发,我们在客户端和服务器之间传输模型而非数据,以防止隐私泄露。在医疗和金融领域的广泛实验证明了KnowledgeSG的有效性。我们的代码现已在 https://github.com/wwh0411/KnowledgeSG 上公开发布。
英文摘要:
The success of large language models (LLMs) facilitate many parties to fine-tune LLMs on their own private data. However, this practice raises privacy concerns due to the memorization of LLMs. Existing solutions, such as utilizing synthetic data for substitution, struggle to simultaneously improve performance and preserve privacy. They either rely on a local model for generation, resulting in a performance decline, or take advantage of APIs, directly exposing the data to API servers. To address this issue, we propose KnowledgeSG, a novel client-server framework which enhances synthetic data quality and improves model performance while ensuring privacy. We achieve this by learning local knowledge from the private data with differential privacy (DP) and distilling professional knowledge from the server. Additionally, inspired by federated learning, we transmit models rather than data between the client and server to prevent privacy leakage. Extensive experiments in medical and financial domains demonstrate the effectiveness of KnowledgeSG. Our code is now publicly available at https://github.com/wwh0411/KnowledgeSG.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。