FLIX: A Simple and Communication-Efficient Alternative to Local Methods in Federated Learning

Elnur Gasanov, Ahmed Khaled, Samuel Horváth, Peter Richtárik

Introduction

In Federated Learning (FL), the standard objective is to train a single global model across decentralized clients without centralizing their data. However, real-world data is often highly heterogeneous, meaning a one-size-fits-all model performs poorly for many participants. To address this, researchers use personalization, balancing global knowledge with local adaptation.

Popular methods like Local GD (FedAvg) or meta-learning (e.g., MAML) provide personalization implicitly, but they are often difficult to analyze and can be communication-intensive. This paper introduces FLIX (Federated Learning mIXtures), a framework that makes the personalization objective explicit, offering a simple and communication-efficient alternative that leverages standard optimization tools.

The FLIX Framework

FLIX proposes a straightforward mixture model. Instead of finding a single global parameter $x$, each client $i$ uses a personalized model $T_i(x)$ defined as: $$T_i(x) = \alpha_i x + (1 - \alpha_i) x_i$$ where $x$ is the global model, $x_i$ is a pre-trained local solution (obtained with zero communication), and $\alpha_i$ is a "personalization knob" that weights the global versus local contribution.

Key Advantages

  • Explicit Optimization: By defining an explicit objective, FLIX avoids the theoretical ambiguity of implicit methods.
  • Communication Efficiency: FLIX can be solved using standard distributed algorithms like DGD or compressed methods like DIANA. In some cases, it can even achieve high performance in a single communication round.
  • Generalization: The authors prove that MAML is a restricted special case of the FLIX objective, meaning FLIX offers a more flexible framework for meta-learning tasks.

Experimental Evaluation

The authors validated FLIX across diverse tasks, including logistic regression, synthetic regression, and large-scale benchmarks like EMNIST, Shakespeare, and Stack Overflow.

Results on Stack Overflow

A key highlight of the evaluation is the performance on the Stack Overflow next-word prediction task. FLIX was compared against meta-learning heavyweights FOMAML and Reptile.

Comparison of FLIX against FOMAML and Reptile on the Stack Overflow dataset. The plots show Recall@5 as a function of the personalization parameter alpha.

As illustrated in the figure, FLIX consistently outperforms the baselines. In the 50-client experiment, FLIX achieved up to an 11% improvement in Recall@5. The plots demonstrate how tuning the "personalization knob" $\alpha$ allows the model to find an optimal balance that neither purely local nor purely global models can reach.

Summary of Key Findings

  • Superior Generalization: FLIX consistently achieved higher test accuracy than FedAvg on large-scale datasets.
  • Linear Convergence: The paper provides the first linear convergence guarantees for this type of model-mixture objective.
  • Robustness to Heterogeneity: FLIX’s ability to tune the local-global balance makes it significantly more robust to data heterogeneity than standard global models.

Conclusion and Future Work

FLIX provides a mathematically sound and practically effective framework for personalized Federated Learning. By transforming implicit algorithmic behaviors into an explicit optimization goal, it simplifies the path to high-performance personalized models. Future research will focus on automating the selection of the personalization parameter $\alpha$ and extending theoretical guarantees to the non-convex settings typical of deep learning.

Summary updated

BibTeX
@inproceedings{gasanov2022flix,
  author = {Elnur Gasanov and Ahmed Khaled and Samuel Horváth and Peter Richtárik},
  title = {{FLIX: A Simple and Communication-Efficient Alternative to Local Methods in Federated Learning}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
  url = {https://openreview.net/forum?id=y2959z6ld9},
}
Figure