Introduction
Federated Learning (FL) typically struggles with "non-IID" data, where different users have divergent data distributions. This research demonstrates that using pretrained multilingual models largely erases this performance penalty. By fine-tuning models like mBERT or M2M-100 in a federated way, researchers achieved results comparable to centralized training, even when each client in the network only spoke a single, different language.
The Challenge of Multilingual Federated Learning
FL is the standard framework for training models on sensitive data without centralizing it. However, it faces a notorious "non-IID" problem: if Client A has only French data and Client B has only Chinese data, their local model updates diverge significantly, often breaking the global model upon averaging.
The researchers employed FederatedAveraging (FedAvg) and compared three training setups:
- Centralized (C): All data in one place (upper bound).
- IID FL (I): Data is shuffled so every client has a mix of all languages.
- Non-IID FL (N): Each client is assigned data from only one specific language.
Pretraining as a Stabilizer
A key finding is that the "pretrain-then-fine-tune" paradigm acts as a "silver bullet" for multilingual FL. When starting from random weights, the gap between centralized and non-IID FL is massive. With pretraining, that gap shrinks significantly. Pretrained weights provide a shared "coordinate system" that keeps local updates compatible across different languages.
Key Results
- Language Modeling: On the Europarl dataset, randomly initialized models in a non-IID FL setting were nearly unusable (Perplexity of 21.6 vs 7.9 for centralized). Pretrained models brought non-IID FL performance (5.4) very close to the centralized version (6.7).
- Machine Translation: In some cases, FL actually outperformed centralized training. For the MTNT dataset, IID FL achieved an average BLEU score of 24.4, beating the Centralized score of 23.6. This suggests weight averaging may act as a form of implicit regularization.
- Text Classification: Pretrained models reached 86.7% accuracy in the difficult non-IID FL setting, remarkably close to the 88.1% achieved by the centralized model.
Discussion and Future Work
While pretraining mitigates the non-IID penalty, several challenges remain. The study focused on high-resource languages; it is unclear if these findings hold for low-resource languages where pretrained models are less robust. Additionally, the communication efficiency of sending large model weights (like the 418M parameter M2M-100) remains a practical hurdle for real-world FL deployment. Future work should also explore if the performance gap changes as local data per client increases.
Summary updated