Federated Full-Parameter Tuning of Billion-Sized Language Models with Communication Cost under 18 Kilobytes

AI-generated keywords: Federated Learning Language Models Communication Efficiency Full-Parameter Tuning Data Privacy

AI-generated Key Points

The license of the paper does not allow us to build upon its content and the key points are generated using the paper metadata rather than the full article.

  • Authors address the need for fine-tuning pre-trained large language models (LLMs) to enhance responsiveness to natural language instructions
  • Proposed approach called FedKSeed leverages federated learning for fine-tuning LLMs using data from end devices while ensuring data privacy
  • Introduces zeroth-order optimization with a finite set of random seeds to reduce communication costs involved in full-parameter tuning in a federated setting
  • Breakthrough enables federated full-parameter tuning of billion-sized LLMs directly on devices by drastically reducing transmission requirements
  • Strategy within FedKSeed facilitates probability-differentiated seed sampling, prioritizing perturbations with greater impact on model accuracy
  • Extensive experiments demonstrate that FedKSeed surpasses existing federated LLM fine-tuning methods in terms of communication efficiency and generalization to new tasks
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Zhen Qin, Daoyuan Chen, Bingchen Qian, Bolin Ding, Yaliang Li, Shuiguang Deng

Accepted to ICML 2024. 25 pages, 14 figures, 7 tables. Codes are available at https://github.com/alibaba/FederatedScope/tree/FedKSeed

Abstract: Pre-trained large language models (LLMs) need fine-tuning to improve their responsiveness to natural language instructions. Federated learning offers a way to fine-tune LLMs using the abundant data on end devices without compromising data privacy. Most existing federated fine-tuning methods for LLMs rely on parameter-efficient fine-tuning techniques, which may not reach the performance height possible with full-parameter tuning. However, federated full-parameter tuning of LLMs is a non-trivial problem due to the immense communication cost. This work introduces FedKSeed that employs zeroth-order optimization with a finite set of random seeds. It significantly reduces transmission requirements between the server and clients to just a few random seeds and scalar gradients, amounting to only a few thousand bytes, making federated full-parameter tuning of billion-sized LLMs possible on devices. Building on it, we develop a strategy enabling probability-differentiated seed sampling, prioritizing perturbations with greater impact on model accuracy. Experiments across six scenarios with various LLMs, datasets and data partitions demonstrate that our approach outperforms existing federated LLM fine-tuning methods in both communication efficiency and new task generalization.

Submitted to arXiv on 11 Dec. 2023

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2312.06353v5

This paper's license doesn't allow us to build upon its content and the summarizing process is here made with the paper's metadata rather than the article.

In their paper titled "Federated Full-Parameter Tuning of Billion-Sized Language Models with Communication Cost under 18 Kilobytes," authors Zhen Qin, Daoyuan Chen, Bingchen Qian, Bolin Ding, Yaliang Li, and Shuiguang Deng address the need for fine-tuning pre-trained large language models (LLMs) to enhance their responsiveness to natural language instructions. They propose a novel approach called FedKSeed that leverages federated learning to fine-tune LLMs using data from end devices while ensuring data privacy. The existing federated fine-tuning methods for LLMs typically rely on parameter-efficient techniques, which may not fully exploit the potential performance gains achievable through full-parameter tuning. However, conducting full-parameter tuning in a federated setting poses challenges due to the significant communication costs involved. To overcome this obstacle, FedKSeed introduces zeroth-order optimization with a finite set of random seeds. This drastically reduces the transmission requirements between the server and clients to just a few random seeds and scalar gradients totaling only a few thousand bytes. This breakthrough enables the possibility of federated full-parameter tuning of billion-sized LLMs directly on devices. Furthermore, the authors develop a strategy within FedKSeed that facilitates probability-differentiated seed sampling, prioritizing perturbations that have a greater impact on model accuracy. Through extensive experiments across six scenarios involving various LLMs, datasets, and data partitions, they demonstrate that their approach surpasses existing federated LLM fine-tuning methods in terms of both communication efficiency and generalization to new tasks. The research conducted by Qin et al., accepted at ICML 2024 and spanning 25 pages with 14 figures and 7 tables showcases the effectiveness of FedKSeed in optimizing large language models efficiently while maintaining data privacy. The authors provide access to their codes on GitHub for further exploration and implementation in real-world applications.
Created on 15 Dec. 2024

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.