FedLLM-Bench: Realistic Benchmarks for Federated Learning of Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ye, Rui, Ge, Rui, Zhu, Xinyu, Chai, Jingyi, Du, Yaxin, Liu, Yang, Wang, Yanfeng, Chen, Siheng
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916279558864896
author Ye, Rui
Ge, Rui
Zhu, Xinyu
Chai, Jingyi
Du, Yaxin
Liu, Yang
Wang, Yanfeng
Chen, Siheng
author_facet Ye, Rui
Ge, Rui
Zhu, Xinyu
Chai, Jingyi
Du, Yaxin
Liu, Yang
Wang, Yanfeng
Chen, Siheng
contents Federated learning has enabled multiple parties to collaboratively train large language models without directly sharing their data (FedLLM). Following this training paradigm, the community has put massive efforts from diverse aspects including framework, performance, and privacy. However, an unpleasant fact is that there are currently no realistic datasets and benchmarks for FedLLM and previous works all rely on artificially constructed datasets, failing to capture properties in real-world scenarios. Addressing this, we propose FedLLM-Bench, which involves 8 training methods, 4 training datasets, and 6 evaluation metrics, to offer a comprehensive testbed for the FedLLM community. FedLLM-Bench encompasses three datasets (e.g., user-annotated multilingual dataset) for federated instruction tuning and one dataset (e.g., user-annotated preference dataset) for federated preference alignment, whose scale of client number ranges from 38 to 747. Our datasets incorporate several representative diversities: language, quality, quantity, instruction, length, embedding, and preference, capturing properties in real-world scenarios. Based on FedLLM-Bench, we conduct experiments on all datasets to benchmark existing FL methods and provide empirical insights (e.g., multilingual collaboration). We believe that our FedLLM-Bench can benefit the FedLLM community by reducing required efforts, providing a practical testbed, and promoting fair comparisons. Code and datasets are available at https://github.com/rui-ye/FedLLM-Bench.
format Preprint
id arxiv_https___arxiv_org_abs_2406_04845
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle FedLLM-Bench: Realistic Benchmarks for Federated Learning of Large Language Models
Ye, Rui
Ge, Rui
Zhu, Xinyu
Chai, Jingyi
Du, Yaxin
Liu, Yang
Wang, Yanfeng
Chen, Siheng
Computation and Language
Artificial Intelligence
Distributed, Parallel, and Cluster Computing
Machine Learning
Multiagent Systems
Federated learning has enabled multiple parties to collaboratively train large language models without directly sharing their data (FedLLM). Following this training paradigm, the community has put massive efforts from diverse aspects including framework, performance, and privacy. However, an unpleasant fact is that there are currently no realistic datasets and benchmarks for FedLLM and previous works all rely on artificially constructed datasets, failing to capture properties in real-world scenarios. Addressing this, we propose FedLLM-Bench, which involves 8 training methods, 4 training datasets, and 6 evaluation metrics, to offer a comprehensive testbed for the FedLLM community. FedLLM-Bench encompasses three datasets (e.g., user-annotated multilingual dataset) for federated instruction tuning and one dataset (e.g., user-annotated preference dataset) for federated preference alignment, whose scale of client number ranges from 38 to 747. Our datasets incorporate several representative diversities: language, quality, quantity, instruction, length, embedding, and preference, capturing properties in real-world scenarios. Based on FedLLM-Bench, we conduct experiments on all datasets to benchmark existing FL methods and provide empirical insights (e.g., multilingual collaboration). We believe that our FedLLM-Bench can benefit the FedLLM community by reducing required efforts, providing a practical testbed, and promoting fair comparisons. Code and datasets are available at https://github.com/rui-ye/FedLLM-Bench.
title FedLLM-Bench: Realistic Benchmarks for Federated Learning of Large Language Models
topic Computation and Language
Artificial Intelligence
Distributed, Parallel, and Cluster Computing
Machine Learning
Multiagent Systems
url https://arxiv.org/abs/2406.04845