KnowledgeSG: Privacy-Preserving Synthetic Text Generation with Knowledge Distillation from Server
Wenhao Wang, Xiaoyu Liang, Rui Ye, Jingyi Chai, Siheng Chen, Yanfeng Wang
Abstract
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 Knowl-edgeSG. Our code is now publicly available at https://github.com/wwh0411/KnowledgeSG .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- RewardDS: Privacy-Preserving Fine-Tuning for Large Language Models via Reward Driven Data Synthesis cites LoRA: Low-Rank Adaptation of Large Language Models
- RewardDS: Privacy-Preserving Fine-Tuning for Large Language Models via Reward Driven Data Synthesis cites Efficient Memory Management for Large Language Model Serving with PagedAttention
- RewardDS: Privacy-Preserving Fine-Tuning for Large Language Models via Reward Driven Data Synthesis cites Deep Learning with Differential Privacy
- MCP-Persona: Benchmarking LLM Agents on Real-World Personal Applications via Environment Simulation cites FedMABench: Benchmarking Mobile GUI Agents on Decentralized Heterogeneous User Data
- MCP-Persona: Benchmarking LLM Agents on Real-World Personal Applications via Environment Simulation cites MCP-Flow: Facilitating LLM Agents to Master Real-World, Diverse and Scaling MCP Tools
- WizardCoder: Empowering Code Large Language Models with Evol-Instruct cites Training language models to follow instructions with human feedback
- MCP-Flow: Facilitating LLM Agents to Master Real-World, Diverse and Scaling MCP Tools cites LoRA: Low-Rank Adaptation of Large Language Models
- MCP-Flow: Facilitating LLM Agents to Master Real-World, Diverse and Scaling MCP Tools cites FedMABench: Benchmarking Mobile GUI Agents on Decentralized Heterogeneous User Data
- MCP-Flow: Facilitating LLM Agents to Master Real-World, Diverse and Scaling MCP Tools cites Efficient Memory Management for Large Language Model Serving with PagedAttention
Cited by top-tier papers4
- MCP-Flow: Facilitating LLM Agents to Master Real-World, Diverse and Scaling MCP ToolsWenhao Wang, Peizhi Niu, Zhao Xu, Zhaoyu Chen et al.ACL 2026 · 8 citations
- MCP-Persona: Benchmarking LLM Agents on Real-World Personal Applications via Environment SimulationWenhao Wang, Peizhi Niu, Gongyi Zou, Xiyuan Yang et al.ICML 2026 · 1 citation
- RewardDS: Privacy-Preserving Fine-Tuning for Large Language Models via Reward Driven Data SynthesisJianwei Wang, Chengming Shi, Junyao Yang, Haoran Li et al.EMNLP 2025
- FedMABench: Benchmarking Mobile GUI Agents on Decentralized Heterogeneous User DataWenhao Wang, Zijie Yu, Rui Ye, Jianqing Zhang et al.EMNLP 2025
Builds on21
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
- Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan et al.CCS 2016 · 7,620 citations
- Efficient Memory Management for Large Language Model Serving with PagedAttentionWoosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng et al.SOSP 2023 · 1,016 citations
- WizardCoder: Empowering Code Large Language Models with Evol-InstructZiyang Luo, Can Xu, Pu Zhao, Qingfeng Sun et al.ICLR 2024 · 945 citations
Related papers
- Differentially Private Knowledge Distillation via Synthetic Text GenerationJames Flemings, Murali AnnavaramACL Findings 2024 · 8 citations
- Privacy Preserving In-Context-Learning Framework for Large Language ModelsBishnu Bhusal, Manoj Acharya, Ramneet Kaur, Colin Samplawski et al.AAAI 2026 · 1 citation
- Model-based Large Language Model Customization as ServiceZhaomin Wu, Jizhou Guo, Junyi Hou, Bingsheng He et al.EMNLP 2025
- Differentially Private Synthetic Text Generation for Retrieval-Augmented Generation (RAG)Junki Mori, Kazuya Kakizaki, Taiki Miyagawa, Jun SakumaACL Findings 2026 · 1 citation
- PPC-GPT: Federated Task-Specific Compression of Large Language Models via Pruning and Chain-of-Thought DistillationTao Fan, Guoqiang Ma, Yuanfeng Song, Lixin Fan et al.EMNLP 2025 · 1 citation
