Communication Efficient Federated Learning for Multilingual Neural Machine Translation with Adapter

Yi Liu, Xiaohan Bi, Lei Li, Sishuo Chen, Wenkai Yang, Xu Sun

Introduction

Federated Multilingual Neural Machine Translation (Fed-MNMT) represents a significant advancement for institutions that wish to collaboratively train translation models without compromising data privacy. By sharing model updates rather than raw datasets, federated learning (FL) enables the development of robust multilingual systems across distributed nodes. However, two primary challenges hinder its practical application: the massive communication overhead required to synchronize large-scale pre-trained language models (PLMs) and the performance degradation caused by "non-I.I.D." (independent and identically distributed) data, where different clients handle diverse and often conflicting language pairs.

The Communication Bottleneck

Modern translation systems typically leverage heavy backbones like mBART-50, which contains over 611 million parameters. In a standard federated setup, these parameters must be transmitted between a central server and multiple clients in every training round. For resource-constrained or low-bandwidth clients, the time required for model transfer can exceed the actual training time, making the process inefficient. Furthermore, when updates from disparate language pairs (e.g., Chinese-to-English vs. French-to-English) are averaged together, the resulting model often suffers from "interference," leading to lower translation quality compared to centralized training.

Proposed Methodology: Adapters and Clustering

To address these issues, this research introduces a framework that combines lightweight adapter modules with client clustering strategies.

1. Adapter-based Federated Learning

Instead of updating the entire 611M parameter backbone, the proposed method keeps the pre-trained model frozen. Small "adapter" modules, totaling only about 8 million parameters, are inserted into the architecture. During the federated process, only these adapters are trained and synchronized. This architectural shift reduces the communication payload by over 98%, enabling faster iterations and lower infrastructure costs.

2. Client Clustering Strategies

To mitigate the conflict between unrelated language updates, the authors propose grouping clients into clusters. Parameters are only aggregated within these clusters rather than globally. The study explored several clustering methods:

  • Language Families: Grouping clients based on linguistic roots (e.g., Germanic or Romance languages).
  • Gradient Similarity: A data-driven approach that clusters clients based on the mathematical similarity of their model updates.
  • Random Clustering: Used as a baseline to validate the effectiveness of informed grouping.
Comparison of the standard Fed-MNMT architecture (left) which synchronizes the full backbone, versus the proposed framework (right) which utilizes clustered adapters.

Experimental Results

The framework was evaluated on the TED2020 (Multi-to-English) and Europarl (Multi-to-Multi) benchmarks.

Efficiency Gains

The transition to adapter-based synchronization resulted in a 98.7% reduction in communication costs. In a simulated 12-client environment, the theoretical transfer time per round plummeted from 234 seconds to just 0.26 seconds. As the number of clients scales, the efficiency gap between the proposed method and traditional full-model federated learning becomes even more pronounced.

Communication cost comparison showing the significant reduction in transfer time achieved by the proposed adapter-based method compared to the baseline Fed-MNMT as the number of clients increases.

Translation Quality

Crucially, this efficiency does not come at the cost of performance. On the Europarl dataset, the adapter-families strategy achieved a Macro Average BLEU score of 25.76, surpassing the full-parameter federated baseline (model-fed) which scored 24.49. This suggests that targeted clustering effectively resolves the interference problems inherent in multilingual federated learning.

Key Insights

  • Clustering is Essential: Simply using adapters in a global federated setup can actually decrease performance due to language interference. Intelligent clustering is the "secret sauce" that unlocks the potential of adapters in MNMT.
  • Layer Importance: Pruning experiments indicated that adapters in the final layers (output-end) of the model are more critical for translation quality than those in the initial layers.
  • Robust Aggregation: The use of FedMean (simple arithmetic mean) proved more stable than the standard FedAvg in scenarios with significant data imbalance between clients.

Conclusion

By combining parameter-efficient fine-tuning via adapters with linguistically-informed client clustering, this work demonstrates that federated MNMT can be both highly efficient and high-performing. This framework paves the way for scalable, privacy-preserving translation services across diverse global institutions.

Summary updated

BibTeX
@inproceedings{liu2023communication,
  author = {Yi Liu and Xiaohan Bi and Lei Li and Sishuo Chen and Wenkai Yang and Xu Sun},
  title = {{Communication Efficient Federated Learning for Multilingual Neural Machine Translation with Adapter}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.327},
}
Figure