NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Think Locally, Act Globally: Federated Learning with Local and Global Representations

Paul Pu Liang, Terrance Liu, Ziyin Liu, Ruslan Salakhutdinov, Louis-Philippe MorencyarXiv 2020

TL;DR

This paper introduces LG-FEDAVG, a novel federated learning algorithm that balances local and global model training by learning compact local representations. This approach significantly reduces communication costs while maintaining or improving performance, and also enables more robust handling of heterogeneous data and learning of fair representations.

What Problem Does This Paper Address?

Federated learning (FL) trains models on decentralized data without sharing raw data, preserving privacy. However, training large models in FL is communication-intensive, posing a bottleneck. Existing FL methods often struggle with heterogeneous data across devices and can inadvertently learn biased representations. This paper addresses the challenge of making FL more efficient, robust to data heterogeneity, and fair, particularly for large models.

Methods

The core innovation is Local Global Federated Averaging (LG-FEDAVG). It jointly trains local models on each device and a global model on a central server. Crucially, each local model learns to extract compact local representations from the raw data. The global model then operates on these lower-dimensional representations, rather than the raw data. This drastically reduces the number of parameters and updates that need to be communicated. The paper also explores different paradigms for learning these local representations, including supervised, unsupervised, and self-supervised methods, and specifically demonstrates adversarial training for learning fair representations.

Datasets

The authors evaluate LG-FEDAVG on several datasets:

  • MNIST: A standard dataset for image recognition.
  • CIFAR-10: Another image recognition dataset, used with non-i.i.d. splits to simulate device heterogeneity.
  • Visual Question Answering (VQA): A multimodal dataset for question answering.
  • MAPS (Mobile Assessment for the Prediction of Suicide): A newly collected, real-world mobile dataset designed to monitor mental health indicators, highlighting privacy concerns and high device variance.

Key Insights and Ideas

  • Local representations are key to efficiency: By learning compact representations locally, the global model can be significantly smaller, leading to reduced communication overhead. This is a major win for practical FL deployments.
  • Balancing local and global learning is optimal: Theoretical analysis and empirical results show that a combination of local and global models outperforms either extreme (purely local or purely global training) in terms of generalization error, effectively mitigating both data and device variance.
  • Robustness to heterogeneity: LG-FEDAVG handles new devices with unseen data distributions better than traditional federated averaging, as local models can adapt to specific data characteristics.
  • Enabling fair representations: The framework can be extended with adversarial training to learn local representations that are invariant to protected attributes (like race or gender), crucial for ethical AI.

Key Results

  • Communication Efficiency: LG-FEDAVG significantly reduces communication costs, often by around 50% compared to FEDAVG, while achieving comparable or better performance. For example, on CIFAR-10, it uses fewer parameters and communication rounds.
  • Performance: LG-FEDAVG consistently outperforms or matches baseline methods like FEDAVG and Local-only on various tasks, including MNIST, CIFAR-10, and VQA, across different settings of data distribution and device heterogeneity.
  • Heterogeneous Data Handling: On the MAPS dataset, LG-FEDAVG demonstrates effective personalized mood prediction and better adaptation to new devices with unseen data distributions.
  • Fairness: LG-FEDAVG with adversarial training can learn fair representations that are largely independent of protected attributes, with only a small drop in classification accuracy.

Limitations and Future Work

  • Hyperparameter Tuning: While the paper emphasizes that their hyperparameters were not extensively tuned for optimal performance on standard datasets, further research could explore more sophisticated hyperparameter optimization strategies for LG-FEDAVG.
  • Dynamic Model Splitting: The authors suggest future work on dynamically learning the split between local and global model layers, allowing for adaptation to different device data distributions.
  • Advanced Fairness Techniques: Incorporating other methods for learning fair representations beyond adversarial training is a promising direction.
  • Compression and Sparsification: Integrating techniques for parameter compression and gradient update sparsification could further enhance efficiency.
  • Security and Privacy Trade-offs: Further research is needed to quantify and manage the trade-offs between security, privacy, and performance in federated learning systems.

Summary updated

BibTeX
@misc{liang2020think,
  author = {Paul Pu Liang and Terrance Liu and Ziyin Liu and Ruslan Salakhutdinov and Louis-Philippe Morency},
  title = {{Think Locally, Act Globally: Federated Learning with Local and Global Representations}},
  year = {2020},
  eprint = {2001.01523},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.01523},
}
Figure