KnowledgeSG: Privacy-Preserving Synthetic Text Generation with Knowledge Distillation from Server

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Wang, Wenhao, Liang, Xiaoyu, Ye, Rui, Chai, Jingyi, Chen, Siheng, Wang, Yanfeng
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866912066464382976
author Wang, Wenhao
Liang, Xiaoyu
Ye, Rui
Chai, Jingyi
Chen, Siheng
Wang, Yanfeng
author_facet Wang, Wenhao
Liang, Xiaoyu
Ye, Rui
Chai, Jingyi
Chen, Siheng
Wang, Yanfeng
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_05725
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle KnowledgeSG: Privacy-Preserving Synthetic Text Generation with Knowledge Distillation from Server
Wang, Wenhao
Liang, Xiaoyu
Ye, Rui
Chai, Jingyi
Chen, Siheng
Wang, Yanfeng
Cryptography and Security
Artificial Intelligence
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.
title KnowledgeSG: Privacy-Preserving Synthetic Text Generation with Knowledge Distillation from Server
topic Cryptography and Security
Artificial Intelligence
url https://arxiv.org/abs/2410.05725