SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.04845 · 2024

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

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 19 functions out of this paper's own repositories and ran 16 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
rui-ye/fedllm-bench canonical 9 of 11
rui-ye/openfedllm canonical 7 of 8
FunctionStatusWhere it lives
compress Ran rui-ye/fedllm-bench/compression.py
pointer only (licence: NONE) · get_code("80dde39da1ba3708")
gaussian_noise Ran rui-ye/fedllm-bench/federated_learning/fed_global.py
pointer only (licence: NOASSERTION) · get_code("89b2eb0c997d6cbb")
get_auxiliary_dict Ran rui-ye/openfedllm/federated_learning/fed_utils.py
code served (permissive licence) · get_code("962adc31294b40bf")
get_clients_this_round Ran rui-ye/fedllm-bench/federated_learning/fed_global.py
pointer only (licence: NOASSERTION) · get_code("2128b33c10829870")
get_compressed_list Ran rui-ye/fedllm-bench/compression.py
pointer only (licence: NONE) · get_code("c5824da57107fe8c")
get_dataset_this_round Ran rui-ye/openfedllm/federated_learning/split_dataset.py
code served (permissive licence) · get_code("9c102ddaa014f4d2")
get_model_config Ran rui-ye/fedllm-bench/config.py
pointer only (licence: NOASSERTION) · get_code("93e0de8955732c63")
get_model_config Ran rui-ye/openfedllm/config.py
code served (permissive licence) · get_code("79b93353bd3c904e")
get_proxy_dict Ran rui-ye/openfedllm/federated_learning/fed_utils.py
code served (permissive licence) · get_code("38486baf4c608ec4")
get_retry_time Ran rui-ye/fedllm-bench/evaluation/open_ended/gen_judge_bench.py
pointer only (licence: NOASSERTION) · get_code("f632fd8875ef18c9")
get_training_args Ran rui-ye/fedllm-bench/config.py
pointer only (licence: NOASSERTION) · get_code("9250c783f987def8")
get_training_args Ran rui-ye/openfedllm/config.py
code served (permissive licence) · get_code("83d9e1534d3a0be4")
global_aggregate Ran rui-ye/fedllm-bench/federated_learning/fed_global.py
pointer only (licence: NOASSERTION) · get_code("f4ab6660068cc1b9")
global_aggregate Ran rui-ye/openfedllm/federated_learning/fed_global.py
code served (permissive licence) · get_code("8fef5b18a4b5d83b")
remove_parent_directory_name Ran rui-ye/fedllm-bench/data_module.py
pointer only (licence: NONE) · get_code("5297d9d21f45c15a")
split_dataset Ran rui-ye/openfedllm/federated_learning/split_dataset.py
code served (permissive licence) · get_code("60c6c78eb9667d17")
get_conv_template Not yet run rui-ye/fedllm-bench/conversation.py
pointer only (licence: NONE) · get_code("174d0858d8cf33ca")
get_conv_template Not yet run rui-ye/openfedllm/utils/conversation.py
code served (permissive licence) · get_code("506ee6d4bab01412")
load_compress_model Not yet run rui-ye/fedllm-bench/compression.py
pointer only (licence: NOASSERTION) · get_code("5196732e9a84b6dc")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2406.04845")
get_code_for_paper("2406.04845")
have("2406.04845")

Connect an agent — have() is free.