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

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

7 Jun 2024arXiv:2406.04845archive 2025-07-28

Rui Ye, Rui Ge, Xinyu Zhu, Jingyi Chai, Yaxin Du, Yang Liu, Yanfeng Wang, Siheng Chen

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.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2406.04845")

Code

Syntology Ran 16 of 19 code samples harvested from 2 repositories linked to this paper; 3 have no recorded run. Of those that ran: 16 ran with no contract checked.

By repository: official repository: 11 samples from 1 repository, 9 ran; community (archive-listed): 8 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

rui-ye/fedllm-bench officialmentioned in papermentioned on GitHubpytorchNOASSERTION report
brains-group/openfedllm mentioned on GitHubpytorchApache-2.0 report
rui-ye/openfedllm mentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

19 samples harvested; 16 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

16ran
3unverified

Licence: 11 of the 19 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

compress rui-ye/fedllm-bench/compression.py official repository ran no licence file found · pointer only · 80dde39da1ba3708 · report
gaussian_noise rui-ye/fedllm-bench/federated_learning/fed_global.py official repository ran licence not identified · pointer only · 89b2eb0c997d6cbb · report
get_clients_this_round rui-ye/fedllm-bench/federated_learning/fed_global.py official repository ran licence not identified · pointer only · 2128b33c10829870 · report
get_compressed_list rui-ye/fedllm-bench/compression.py official repository ran no licence file found · pointer only · c5824da57107fe8c · report
get_model_config rui-ye/fedllm-bench/config.py official repository ran licence not identified · pointer only · 93e0de8955732c63 · report
get_retry_time rui-ye/fedllm-bench/evaluation/open_ended/gen_judge_bench.py official repository ran fingerprinted licence not identified · pointer only · f632fd8875ef18c9 · report
get_training_args rui-ye/fedllm-bench/config.py official repository ran licence not identified · pointer only · 9250c783f987def8 · report
global_aggregate rui-ye/fedllm-bench/federated_learning/fed_global.py official repository ran licence not identified · pointer only · f4ab6660068cc1b9 · report
remove_parent_directory_name rui-ye/fedllm-bench/data_module.py official repository ran fingerprinted no licence file found · pointer only · 5297d9d21f45c15a · report
get_conv_template rui-ye/fedllm-bench/conversation.py official repository unverified no licence file found · pointer only · 174d0858d8cf33ca · report
load_compress_model rui-ye/fedllm-bench/compression.py official repository unverified licence not identified · pointer only · 5196732e9a84b6dc · report
get_auxiliary_dict rui-ye/openfedllm/federated_learning/fed_utils.py community (archive-listed) ran Apache-2.0 (permissive) · 962adc31294b40bf · report
get_dataset_this_round rui-ye/openfedllm/federated_learning/split_dataset.py community (archive-listed) ran Apache-2.0 (permissive) · 9c102ddaa014f4d2 · report
get_model_config rui-ye/openfedllm/config.py community (archive-listed) ran Apache-2.0 (permissive) · 79b93353bd3c904e · report
get_proxy_dict rui-ye/openfedllm/federated_learning/fed_utils.py community (archive-listed) ran Apache-2.0 (permissive) · 38486baf4c608ec4 · report
get_training_args rui-ye/openfedllm/config.py community (archive-listed) ran Apache-2.0 (permissive) · 83d9e1534d3a0be4 · report
global_aggregate rui-ye/openfedllm/federated_learning/fed_global.py community (archive-listed) ran Apache-2.0 (permissive) · 8fef5b18a4b5d83b · report
split_dataset rui-ye/openfedllm/federated_learning/split_dataset.py community (archive-listed) ran Apache-2.0 (permissive) · 60c6c78eb9667d17 · report
get_conv_template rui-ye/openfedllm/utils/conversation.py community (archive-listed) unverified Apache-2.0 (permissive) · 506ee6d4bab01412 · report

Tasks

Federated Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections