atlas

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

FLoRA: Federated Fine-Tuning Large Language Models with Heterogeneous Low-Rank Adaptations

NeurIPS 2024 · Federated learning and privacy › Personalized and heterogeneous FL · approach: Federated prompt and LoRA tuning · 36 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.

Proposes FLoRA, a federated LoRA fine-tuning method that aggregates client LoRA adapters by stacking them, giving noise-free aggregation and supporting heterogeneous ranks across clients.

Problem

Federated fine-tuning of LLMs with LoRA: naive independent averaging of LoRA A and B matrices (FedIT) introduces aggregation noise, and FedIT cannot aggregate clients with heterogeneous LoRA ranks.

Approach

Stack the clients' A_k matrices vertically and B_k matrices horizontally so that the product of the stacked matrices exactly equals the sum of client updates sum_k p_k B_k A_k, removing cross-client intermediate noise and permitting different ranks per client.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace FedIT's independent LoRA averaging with stackingFederated LoRA fine-tuning · Homogeneous LoRA; MMLU and MT-bench across TinyLlama and Llamaaccuracy / score: 16.35 -> 30.80; 30.02 -> 31.92; 42.51 -> 43.87; 2.92 -> 3.13; 2.55 -> 2.77; 29.67 -> 30.99; 29.41 -> 29.85; 33.43 -> 34.Helped
Use stacking rather than zero-padding for heterogeneous LoRA ranksFederated LoRA fine-tuning · Heterogeneous LoRA; MMLU and MT-bench across TinyLlama and Llamaaccuracy / score: 15.76 -> 18.45; 29.56 -> 29.69; 40.79 -> 41.48; 1.56 -> 3.14; 1.29 -> 2.71; 26.46 -> 28.50; 7.97 -> 29.54; 26.98 -> 27.9Helped
Vary the scaling factor among 0.01, 0.05, 0.1, and 0.2 (ablation)FLoRA · Dolly and Wizard; TinyLlama and LlamaaccuracyMixed
Use scaling factor 0.01 instead of 0.1 or 0.2 (ablation)FLoRA with TinyLlama · DollyaccuracyHelped
Use scaling factor 0.01 instead of 0.2 (ablation)FLoRA with TinyLlama · WizardaccuracyHurt
Use larger scaling factors (ablation)FLoRA with Llama · Dolly and AlpacaaccuracyHelped
Vary client LoRA rank (ablation)FLoRA · MT-bench across models and datasetsscoreMixed
Apply AdaLoRA rank adaptation (ablation)FLoRA with TinyLlama · MT-benchscore: 3.13 -> 3.14Helped
Apply AdaLoRA rank adaptation (ablation)FLoRA with Llama · MT-benchscore: 4.21 -> 4.10Hurt
Apply AdaLoRA rank adaptation (ablation)FLoRA with Llama2 · MT-benchscore: 4.17 -> 4.25Helped

Surprising findings

Limitations

Experimental setup

Datasets: Databricks-dolly-15k Alpaca WizardLM training data ShareGPT

Benchmarks: MMLU MT-bench

Metrics: accuracy MT-bench score (GPT-4 judged)

Baselines: FedIT Zero-padding Centralized LoRA Standalone

Builds on: LoRA FedAvg FedIT AdaLoRA

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