Fedlova improves federated fine-tuning efficiency for large language models

FedLoVA: Value-Only Aggregation for Federated LoRA Fine-Tuning of Large Language Models

Machine Learning

Summary

Fine-tuning large language models on multiple devices can be slow and use a lot of communication. The authors found that different parts of the model update at different speeds, so they designed a method that shares only the faster-updating parts during federated training. This approach reduces the amount of data sent back and forth while keeping or improving performance. Their experiments show it can cut communication costs by nearly eight times without losing accuracy.

What this means in practice

  • For cloud service teams: Optimize federated fine-tuning of large language models by reducing communication costs without sacrificing accuracy.
  • For multilingual ai developers: Train multilingual sentiment analysis models more efficiently across distributed data sources with lower communication overhead.

Authors

Ensieh Khazaei, Baturalp Buyukates, Dimitrios Hatzinakos

Abstract

Low-Rank Adaptation (LoRA) is a popular parameter-efficient fine-tuning (PEFT) method for fine-tuning of large language models (LLMs), especially in federated learning, due to its strong performance and communication efficiency. In practice, LoRA is applied to the query and value projections of transformer layers without considering the distinct roles of these components. In this work, we analyze the impact of these projections in federated fine-tuning of LLMs using LoRA and observe that the value projection converges significantly faster than the query projection. Motivated by this finding, we propose FedLoVA, a federated fine-tuning framework that trains LoRA adapters on both query and value projections locally while sharing only the value projection with the server. This approach reduces communication overhead while improving convergence efficiency. Experiments on natural language understanding, multilingual sentiment analysis, and generation tasks show that FedLoVA reduces the communication cost by up to $7.8\times$ compared to existing federated LLM fine-tuning baselines while achieving comparable or better performance. The code is available at: https://github.com/EnsiehKhazaei/FedLoVA.