atlas

Research map / Federated learning and privacy / Personalized and heterogeneous FL

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

NeurIPS 2024 · Federated learning and privacy › Personalized and heterogeneous FL · approach: Vertical federated learning · 11 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces FedLLM-Bench, a set of user-partitioned real-world federated datasets (Fed-Aya, Fed-ChatbotIT, Fed-WildChat, Fed-ChatbotPA) with 8 FL training methods and 6 evaluation metrics for benchmarking federated LLM instruction tuning and preference alignment.

Problem

There is no realistic benchmark or dataset for federated learning of LLMs (FedLLM); prior work relies on artificially partitioned centralized datasets, leading to unrealistic evaluation and unfair comparisons.

Approach

Build four federated datasets naturally split by real user IDs (annotator, IP address, or user ID) from Aya, Chatbot Arena Conversations, and WildChat, spanning instruction tuning and preference alignment, and integrate them with classical FL baselines and LLM evaluation metrics into one codebase.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use federated training instead of local trainingFed-Aya · Fed-Aya, average across languagesRef-GPT4: 4.18 -> 4.97Helped
Use federated training instead of local trainingFed-ChatbotIT · Fed-ChatbotITAverage: 5.00 -> 5.51Helped
Use federated training instead of local trainingFed-WildChat · Fed-WildChat, single-turnMT-1: 4.15 -> 4.86Helped
Use FedAvg for federated trainingFed-WildChat · Fed-WildChat, multi-turnMT-Bench: 3.27 -> 3.99Helped
Use federated preference alignment instead of local trainingFed-ChatbotPA · Fed-ChatbotPAAverage: 5.37 -> 5.79Helped
Collaborate with same-language clients rather than train locallyFed-Aya · Fed-Aya, average across languagesRef-GPT4: 4.69 -> 5.36Helped
Collaborate with similar-language clients instead of same-language clientsFed-Aya · Fed-Aya, across languagesRef-GPT4Mixed
Add user-level differential privacy with FedDP-1e^-3Fed-WildChat FedAvg · Fed-WildChat, single-turnMT-Bench: 4.6875 -> 4.6750No clear effect
Increase differential privacy noise to FedDP-1Fed-WildChat FedAvg · Fed-WildChat, single-turnMT-Bench: 4.6875 -> 1.6875Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Aya Chatbot-Arena-Conversations WildChat Fed-Aya Fed-ChatbotIT Fed-WildChat Fed-ChatbotPA

Benchmarks: MT-Bench Vicuna bench Ref-GPT4 (in-domain) AdvBench MMLU HumanEval

Metrics: MT-Bench score Vicuna bench score Ref-GPT4 score AdvBench safety rate MMLU accuracy HumanEval pass rate

Baselines: FedAvg FedProx SCAFFOLD FedAvgM FedAdagrad FedYogi FedAdam Local Training

Builds on: FedAvg FedProx SCAFFOLD FedAvgM FedAdam DPO LoRA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy