Abstract: Existing research in Federated Learning focuses on synthetic or small-scale datasets, with in-house distribution posing challenges for long-term real-world use cases. We propose a novel approach that maximizes in-house (local) distribution gains while focusing on generalization. Experimental results on several datasets demonstrate the efficacy of the proposed approach.
Introduction
Federated Learning (FL) allows multiple parties to train a shared model without ever exchanging their raw data. However, real-world data is rarely "Independent and Identically Distributed" (IID). For example, a hospital in Norway has very different patient data than one in Brazil.
When data is non-IID, a single global model often performs poorly for everyone. To fix this, researchers use local adaptation, where each client fine-tunes the global model on their specific data. The danger is that the model can become "over-fitted" to one client’s quirks, losing its ability to generalize to new data or even becoming biased against under-represented groups.
To address this, this paper introduces Local and Global Federated Learning (LGFL), a framework that prevents personalized federated models from becoming "too local." By implementing a peer-review mechanism where clients evaluate each other's personalized models, the approach ensures that local performance gains don't come at the expense of general robustness and fairness.
The LGFL Framework
The authors propose the LGFL algorithm, which introduces a "peer-review" step into the personalization process to balance local accuracy with global utility.
The process follows these key steps:
- Standard FL: Clients and a central server perform several rounds of training to create a base global model.
- Personalization: Each client creates a personalized version of this model using their local data.
- Peer Review: Instead of just trusting the local results, a client sends its personalized model to a subset of other clients. These "reviewers" test the model on their own data and send back a performance score.
- Balanced Optimization: The client selects the best version of the model based on a weighted objective that considers both local performance (how well it works on the client's own data) and generalization (how well it performed during the peer review).
- Efficient Selection (RS/CE): To save on communication costs, the authors propose a Reviewer Selection (RS) algorithm. Instead of picking reviewers randomly, the server uses layer-wise cosine similarity of model weights to find the most relevant clients to act as reviewers.
Because only model weights and performance metrics (scores) are exchanged—never raw data—the privacy benefits of Federated Learning remain intact.
Datasets and Key Results
The researchers evaluated LGFL on three widely-used computer vision benchmarks, modified to create non-IID splits: CIFAR-10, CIFAR-100, and FairFace (a face dataset balanced for race, gender, and age, used to measure how the algorithm handles bias).
- Performance Boost: The LGFL+CE (with Reviewer Selection) approach achieved up to an 18.6% improvement in combined local and global performance compared to standard methods.
- Generalization Gains: In the best-case scenarios, the algorithm saw a 14.9% gain in generalization over standard local adaptation. Treating other clients' data as a validation set acts as a regularizer, preventing the model from drifting into a "feature subspace" that only exists for one user.
- Qualitative Fairness: Standard local adaptation often fails on edge cases. On the FairFace dataset, the authors demonstrated that LGFL correctly classified many images from under-represented groups that standard local adaptation failed on. This suggests the peer-review process effectively preserves the "global knowledge" necessary for fairness.
Limitations and Future Work
While LGFL shows strong results, it introduces some challenges:
- Communication Overhead: Sending full models to multiple peers for review increases the amount of data transmitted over the network. While the Reviewer Selection algorithm helps, it is still more communication-intensive than standard FL.
- Security Risks: Sharing models can theoretically open the door to "model inversion attacks," where a malicious peer tries to reconstruct a client's data from their model weights. Existing defenses like differential privacy would need to be integrated for high-security use cases.
- Scalability: The experiments were conducted on a relatively small scale. Future work must test how this peer-review mechanism holds up with thousands of clients.
Summary updated