paper-with-me

홈 › Papers

Safely Learning with Private Data: A Federated Learning Framework for Large Language Model

2024-06-21 · JiaYing Zheng, Hainan Zhang, LingXiang Wang, Wangjie Qiu, Hongwei Zheng, Zhiming Zheng

Private data, being larger and quality-higher than public data, can greatly improve large language models (LLM). However, due to privacy concerns, this data is often dispersed in multiple silos, making its secure utilization for LLM training a challenge. Federated learning (FL) is an ideal solution for training models with distributed private data, but traditional frameworks like FedAvg are unsuitable for LLM due to their high computational demands on clients. An alternative, split learning, offloads most training parameters to the server while training embedding and output layers locally, making it more suitable for LLM. Nonetheless, it faces significant challenges in security and efficiency. Firstly, the gradients of embeddings are prone to attacks, leading to potential reverse engineering of private data. Furthermore, the server's limitation of handle only one client's training request at a time hinders parallel training, severely impacting training efficiency. In this paper, we propose a Federated Learning framework for LLM, named FL-GLM, which prevents data leakage caused by both server-side and peer-client attacks while improving training efficiency. Specifically, we first place the input block and output block on local client to prevent embedding gradient attacks from server. Secondly, we employ key-encryption during client-server communication to prevent reverse engineering attacks from peer-clients. Lastly, we employ optimization methods like client-batching or server-hierarchical, adopting different acceleration methods based on the actual computational capabilities of the server. Experimental results on NLU and generation tasks demonstrate that FL-GLM achieves comparable metrics to centralized chatGLM model, validating the effectiveness of our federated learning framework.

📄 PDF Abstract BibTeX arXiv:2406.14898

Code (1)

TAP-LLM/SplitFedLLM 공식 구현 pytorch

Tasks

Federated LearningLanguage ModelingLanguage ModellingLarge Language Model

Similar Papers 제목 키워드 기반

Privately Customizing Prefinetuning to Better Match User Data in Federated Learning

2023-02-17 · Charlie Hou, Hongyuan Zhan, Akshat Shrivastava, Sid Wang 외

In Federated Learning (FL), accessing private client data incurs communication and privacy costs. As a result, FL deployments commonly prefinetune pretrained foundation models on a (large, possibly public) dataset that i…

Federated LearningLanguage ModelingLanguage ModellingLarge Language Model+1

SoteriaFL: A Unified Framework for Private Federated Learning with Communication Compression

2022-06-20 · Zhize Li, Haoyu Zhao, Boyue Li, Yuejie Chi

To enable large-scale machine learning in bandwidth-hungry environments such as wireless networks, significant progress has been made recently in designing communication-efficient federated learning algorithms with the a…

Federated LearningPrivacy Preserving

Oblivionis: A Lightweight Learning and Unlearning Framework for Federated Large Language Models

2025-08-12 · Fuyao Zhang, Xinyu Yan, Tiantong Wu, Wenjie Li 외 arxiv

Large Language Models (LLMs) increasingly leverage Federated Learning (FL) to utilize private, task-specific datasets for fine-tuning while preserving data privacy. However, while federated LLM frameworks effectively ena…

Federated Learning

Training Federated GANs with Theoretical Guarantees: A Universal Aggregation Approach

2021-02-09 · Yikai Zhang, Hui Qu, Qi Chang, Huidong Liu 외

Recently, Generative Adversarial Networks (GANs) have demonstrated their potential in federated learning, i.e., learning a centralized model from data privately hosted by multiple sites. A federatedGAN jointly trains a c…

Federated Learning

Secure Federated Submodel Learning

2019-11-06 · Chaoyue Niu, Fan Wu, Shaojie Tang, Lifeng Hua 외

Federated learning was proposed with an intriguing vision of achieving collaborative machine learning among numerous clients without uploading their private data to a cloud server. However, the conventional framework req…

Federated LearningPosition