paper-with-me

Papers

FederatedScope-LLM: A Comprehensive Package for Fine-tuning Large Language Models in Federated Learning

2023-09-01 · Weirui Kuang, Bingchen Qian, Zitao Li, Daoyuan Chen, Dawei Gao, Xuchen Pan, Yuexiang Xie, Yaliang Li, Bolin Ding, Jingren Zhou

LLMs have demonstrated great capabilities in various NLP tasks. Different entities can further improve the performance of those LLMs on their specific downstream tasks by fine-tuning LLMs. When several entities have similar interested tasks, but their data cannot be shared because of privacy concerns regulations, federated learning (FL) is a mainstream solution to leverage the data of different entities. However, fine-tuning LLMs in federated learning settings still lacks adequate support from existing FL frameworks because it has to deal with optimizing the consumption of significant communication and computational resources, data preparation for different tasks, and distinct information protection demands. This paper first discusses these challenges of federated fine-tuning LLMs, and introduces our package FS-LLM as a main contribution, which consists of the following components: (1) we build an end-to-end benchmarking pipeline, automizing the processes of dataset preprocessing, federated fine-tuning execution, and performance evaluation on federated LLM fine-tuning; (2) we provide comprehensive federated parameter-efficient fine-tuning algorithm implementations and versatile programming interfaces for future extension in FL scenarios with low communication and computation costs, even without accessing the full model; (3) we adopt several accelerating and resource-efficient operators for fine-tuning LLMs with limited resources and the flexible pluggable sub-routines for interdisciplinary study. We conduct extensive experiments to validate the effectiveness of FS-LLM and benchmark advanced LLMs with state-of-the-art parameter-efficient fine-tuning algorithms in FL settings, which also yields valuable insights into federated fine-tuning LLMs for the research community. To facilitate further research and adoption, we release FS-LLM at https://github.com/alibaba/FederatedScope/tree/llm.

📄 PDF Abstract BibTeX arXiv:2309.00363

Code (1)

alibaba/federatedscope 공식 구현 pytorch

Tasks

BenchmarkingFederated LearningLarge Language Modelparameter-efficient fine-tuning

Similar Papers 제목 키워드 기반

FederatedScope-GNN: Towards a Unified, Comprehensive and Efficient Package for Federated Graph Learning

2022-04-12 · Zhen Wang, Weirui Kuang, Yuexiang Xie, Liuyi Yao 외

The incredible development of federated learning (FL) has benefited various tasks in the domains of computer vision and natural language processing, and the existing frameworks such as TFF and FATE has made the deploymen…

Federated LearningGraph Learning

FederatedScope: A Flexible Federated Learning Platform for Heterogeneity

2022-04-11 · Yuexiang Xie, Zhen Wang, Dawei Gao, Daoyuan Chen 외

Although remarkable progress has been made by existing federated learning (FL) platforms to provide infrastructures for development, these platforms may not well tackle the challenges brought by various types of heteroge…

Federated LearningHyperparameter Optimization

Optimizing Multilingual LLMs via Federated Learning: A Study of Client Language Composition

2026-03-25 · Aleix Sant, Jordi Luque, Carlos Escolano arxiv

Federated Learning (FL) of Large Language Models (LLMs) in multilingual environments presents significant challenges stemming from heterogeneous language distributions across clients and disparities in language resource …

Federated Learning

Tunable Soft Prompts are Messengers in Federated Learning

2023-11-12 · Chenhe Dong, Yuexiang Xie, Bolin Ding, Ying Shen 외

Federated learning (FL) enables multiple participants to collaboratively train machine learning models using decentralized data sources, alleviating privacy concerns that arise from directly sharing local data. However, …

Federated LearningLanguage ModellingLarge Language Model

MineStudio: A Streamlined Package for Minecraft AI Agent Development

2024-12-24 · Shaofei Cai, Zhancun Mu, Kaichen He, Bowei Zhang 외

Minecraft has emerged as a valuable testbed for embodied intelligence and sequential decision-making research, yet the development and validation of novel agents remains hindered by significant engineering challenges. Th…

AI AgentDecision MakingMinecraftSequential Decision Making