[Paper Review] Think Locally, Act Globally: Federated Learning with Local and Global Representations
Proposes LG-FedAvg, a federated learning framework that jointly learns compact local representations and a global model to reduce communication while handling data heterogeneity and fairness. Provides theory and extensive experiments across vision, multimodal, and mobile data tasks.
Federated learning is a method of training models on private data distributed over multiple devices. To keep device data private, the global model is trained by only communicating parameters and updates which poses scalability challenges for large models. To this end, we propose a new federated learning algorithm that jointly learns compact local representations on each device and a global model across all devices. As a result, the global model can be smaller since it only operates on local representations, reducing the number of communicated parameters. Theoretically, we provide a generalization analysis which shows that a combination of local and global models reduces both variance in the data as well as variance across device distributions. Empirically, we demonstrate that local models enable communication-efficient training while retaining performance. We also evaluate on the task of personalized mood prediction from real-world mobile data where privacy is key. Finally, local models handle heterogeneous data from new devices, and learn fair representations that obfuscate protected attributes such as race, age, and gender.
Motivation & Objective
- Motivate the need for efficient federated learning on private, distributed data with non-i.i.d. distributions.
- Propose a framework that learns compact local representations alongside a global model to reduce communication.
- Provide theoretical generalization analysis showing benefits of combining local and global models.
- Empirically validate the approach on image, multimodal, and privacy-aware mobile datasets.
- Showcase capabilities in personalization, handling new devices, and learning fair representations.
Proposed method
- Introduce Local Global Federated Averaging (LG-FedAvg) which jointly learns local representations on devices and a global model operating on these representations.
- Define local encoders l_m with parameters θ_m^ℓ and a global model g with parameters θ^g, trained end-to-end via a global loss L_m^g that links local and global components.
- Aggregate updated global parameters across devices using a weighted average by data fraction N_m/N, as in FedAvg.
- Describe local representation learning options (supervised labels y, unsupervised x, or self-supervised z) and an adversarial extension for fairness.
- Provide an end-to-end objective that synchronizes local representations across devices through the global objective.
- Present an α-interpolation between local and global models f_α(x; v̂, û_m) = α f_ℓ(x; û_m) + (1−α) f_g(x; v̂) and derive its generalization behavior.
Experimental results
Research questions
- RQ1Can learning compact local representations on devices reduce global communication while maintaining or improving predictive performance?
- RQ2How does combining local and global models affect variance due to data and device heterogeneity?
- RQ3Can LG-FedAvg handle unseen devices and heterogeneous data better than purely local or purely global approaches?
- RQ4Can local representations be adapted to promote fairness by obfuscating protected attributes?
- RQ5What is the optimal balance between local and global components for different levels of device and data variance?
Key findings
- LG-FedAvg outperforms purely local or purely global baselines on CIFAR-10 in local testing and matches FedAvg performance on new testing while using about 50% fewer communicated parameters.
- On CIFAR-10 with non-iid splits, LG-FedAvg consistently outperforms FedAvg and a multitask baseline, especially as device variance increases.
- In VQA, LG-FedAvg achieves higher local-test accuracy with substantial reduction in parameters communicated (9.99e10 vs 13.97e10).
- In a real-world mobile mood prediction task, α-splits between local and global models outperform both extremes in accuracy, illustrating effective personalization with shared learning.
- LG-FedAvg reduces catastrophic forgetting when new, rotated MNIST devices appear, outperforming FedAvg and FedProx in online adaptability.
- Adversarial (adv) training with LG-FedAvg can enforce independence from protected attributes, trading off a small drop in classifier accuracy but improving privacy.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.