FedLFC: Towards Efficient Federated Multilingual Modeling with LoRA-based Language Family Clustering

Zhihan Guo, Yifei Zhang, Zhuo Zhang, Zenglin Xu, Irwin King

Introduction

Training a single model that understands dozens of languages is a cornerstone of modern NLP. However, doing so in a Federated Learning (FL) setting—where data remains on local devices for privacy—presents two significant hurdles: the communication bottleneck and parameter conflicts. Modern Pre-trained Language Models (PLMs) are enormous, making the transfer of full model weights between a central server and thousands of clients prohibitively expensive. Furthermore, linguistic differences between diverse languages can cause "interference" during the averaging of updates, leading to suboptimal performance, a phenomenon often referred to as the non-IID data problem.

Overview of FedLFC addressing communication costs and parameter conflicts.

Methodology: The FedLFC Framework

To address these challenges, the authors propose FedLFC, a framework that combines Federated Low-Rank Adaptation (LoRA) with Language Family Clustering (LFC).

Federated LoRA

Instead of updating the entire PLM, FedLFC freezes the base weights and only trains tiny, low-rank matrices (adapters) injected into the model layers. This approach drastically reduces the number of trainable parameters—often by a factor of 100—thereby minimizing the bandwidth required for communication between the server and clients.

Language Family Clustering (LFC)

To mitigate parameter conflicts, FedLFC moves away from a "one-size-fits-all" global averaging approach. Instead, it groups clients based on established linguistic taxonomies (e.g., Germanic, Italic, Sino-Tibetan). The server maintains separate sets of LoRA parameters for each language family cluster. Updates from a client contribute only to their respective family's cluster, preventing structural linguistic differences from clashing during the aggregation process.

The FedLFC architecture showing clustered clients and LoRA-based updates.

Experimental Setup

The researchers evaluated FedLFC across three distinct NLP tasks using four major datasets:

  • Language Modeling (LM): Evaluated on the UN Corpus (6 languages) and Europarl (8 European languages).
  • Machine Translation (MT): Utilized the MTNT dataset (social media text) and the UN Corpus for formal translation pairs.
  • Text Classification (TC): Used the News Classification (NC) dataset from the XGLUE benchmark, covering five languages.

Key Results

FedLFC demonstrates significant improvements in both efficiency and accuracy:

  • Efficiency: The framework reduced trainable parameters from 135.4M (standard FedAvg) to just 1.2M, achieving a nearly 100x reduction in communication overhead.
  • Accuracy: In Text Classification, FedLFC achieved an average accuracy of 88.7%, outperforming standard FedAvg (85.3%) and even the centralized baseline (88.1%).
  • Translation Performance: On the MTNT task, FedLFC reached a BLEU score of 33.8, significantly higher than standalone models (27.6) and standard FedAvg (32.9).
  • Linguistic Synergy: Clustering proved particularly beneficial for medium- and low-resource languages, such as Finnish and Arabic, which saw performance gains when grouped with structurally similar languages rather than being overwhelmed by high-resource data.

Conclusion and Future Work

FedLFC provides a scalable and effective solution for federated multilingual modeling. By leveraging linguistic priors and parameter-efficient fine-tuning, it achieves state-of-the-art results with minimal communication costs. Future research directions include scaling the framework to multi-billion parameter Large Language Models (LLMs), addressing real-world data imbalances, and exploring dynamic clustering mechanisms that group clients based on gradient updates rather than static linguistic families.

Summary updated

BibTeX
@inproceedings{guo2024fedlfc,
  author = {Zhihan Guo and Yifei Zhang and Zhuo Zhang and Zenglin Xu and Irwin King},
  title = {{FedLFC: Towards Efficient Federated Multilingual Modeling with LoRA-based Language Family Clustering}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-naacl.98},
}
Figure