arXiv:2509.20680cs.LGcs.CL2025-09EMNLP被引 1

联邦学习训练大模型仍存数据泄露风险,攻击者可从中提取原始数据。

Can Federated Learning Safeguard Private Data in LLM Training? Vulnerabilities, Attacks, and Defense Evaluation

  • 利用全局模型更新轨迹,设计针对性攻击策略
  • 模型越大,数据泄露越严重,生成式攻击即可成功
  • 评估多种隐私保护技术,提供实际防御建议

使用本地数据微调大语言模型(LLM)是组织适配领域特定需求的常用方法。由于不同组织间数据具有相似特征,通过多方数据协同微调模型具有吸引力。但因数据共享意愿低,集中式微调难以实现。联邦学习(FL)允许客户端保留本地数据,仅交换模型参数,被视为隐私保护方案。尽管有人认为,联邦学习中模型迭代聚合形成的全局模型仅包含泛化知识,能保护隐私,但本文通过大量实验揭示相反结论:即使采用简单生成方法,攻击者仍可从全局模型中提取训练数据,且模型规模越大,泄露越严重。此外,我们提出一种专为联邦学习设计的增强型攻击策略,通过追踪训练过程中的全局模型更新,进一步放大隐私泄露。为缓解风险,我们评估了差分隐私、正则化约束更新及具备安全对齐的模型等隐私保护技术。研究结果为基于联邦学习训练大模型提供了重要启示与实用指南。

原文摘要 · Abstract (English)

Fine-tuning large language models (LLMs) with local data is a widely adopted approach for organizations seeking to adapt LLMs to their specific domains. Given the shared characteristics in data across different organizations, the idea of collaboratively fine-tuning an LLM using data from multiple sources presents an appealing opportunity. However, organizations are often reluctant to share local data, making centralized fine-tuning impractical. Federated learning (FL), a privacy-preserving framework, enables clients to retain local data while sharing only model parameters for collaborative training, offering a potential solution. While fine-tuning LLMs on centralized datasets risks data leakage through next-token prediction, the iterative aggregation process in FL results in a global model that encapsulates generalized knowledge, which some believe protects client privacy. In this paper, however, we present contradictory findings through extensive experiments. We show that attackers can still extract training data from the global model, even using straightforward generation methods, with leakage increasing as the model size grows. Moreover, we introduce an enhanced attack strategy tailored to FL, which tracks global model updates during training to intensify privacy leakage. To mitigate these risks, we evaluate privacy-preserving techniques in FL, including differential privacy, regularization-constrained updates and adopting LLMs with safety alignment. Our results provide valuable insights and practical guidelines for reducing privacy risks when training LLMs with FL.

联邦学习隐私安全大模型数据泄露

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。