CFLoRA: Federated Fine-tuning of LLMs with Complementary Factors for Error-free Aggregation
Yanan Ma, Qiyuan Chen, Zihan Fang, Xianhao Chen, Yuguang Fang
Abstract
Federated low-rank adaptation (LoRA) enables collaborative fine-tuning of large language models without centralizing private client data. Its factorized update, however, creates a structural mismatch in federated averaging: averaging the two LoRA factors separately does not equal averaging their products. Existing exact methods resolve this issue mainly by freezing an entire factor or alternating factors across rounds, but none can update factors simultaneously without aggregation errors or expanding communication ranks. To address this fundamental problem, we present \texttt{CFLoRA}, a federated LoRA scheme that partitions latent LoRA channels into two complementary sets in every communication round. By ensuring that columns and rows are complementary across factors, we eliminate bilinear terms in matrix multiplications, making federated aggregation exact. Crucially, our framework also supports clients with heterogeneous rank budgets. Convergence analysis validates \texttt{CFLoRA} achieves convergence rate of the \textit{original} LoRA objective in homogeneous-rank cases. Extensive experiments with RoBERTa on the GLUE benchmark and with LLaMA-3.2-3B-Instruct on commonsense reasoning tasks demonstrate that \texttt{CFLoRA} achieves superior performance and training efficiency compared to state-of-the-art federated LoRA baselines.
Create a lesson
Metadata
- Comments
- 25 pages, 2 figures
Related papers
What Predicts Forgetting in LoRA Fine-Tuning Across Optimizers
Shared title terminologycs.LGZhiyong Jin
Predicting End-to-End Fine-Tuning Time for Generative Language Models
Shared title terminologycs.LGBreno Beleza, Felipe Lima, Isis Carvalho et al.
MaskCoFT: Masked Co-Adaptive Fine-Tuning for Memory-Efficient MoE Inference
Shared title terminologycs.LGJunfeng Wu, Zehao Fan, Hadjer Benmeziane et al.
Optimizing the Phi-2 Small Language Model for Real-time Chatbot Applications Using Parameter-Efficient Fine-Tuning (PEFT) with QLoRA Quantization
Shared title terminologycs.LGPhanTan Khanh Nguyen, Ashfaq Ali Shafin, Khandaker Mamun Ahmed
Fine Until Fine-Tuned Further: Repeated Solutions Make a Reasoning Adapter Fragile
Shared title terminologycs.LGEly Sheikh
TerMeZO: Ternary Sparse Zeroth-Order Optimization for Fine-tuning BitNet Models at the Edge
Shared title terminologycs.LGHoussem Sifaou, Prabodh Katti, Bipin Rajendran et al.