Peer-Reviewed Federated Learning

Mattia Passeri, Andrea Agiollo, Andrea OmiciniWOA 2023

Abstract

Federated Learning (FL) allows for collaborative model training without centralizing sensitive data. However, the presence of non-IID (Independent and Identically Distributed) data across clients often leads to conflicting model updates and poor convergence. This paper introduces Peer-Reviewed Federated Learning (PRFL), a framework that incorporates a "Review Phase" into the FL cycle. By allowing peer clients to validate and scale updates before aggregation, PRFL filters out local noise and enhances global model performance. We present PRFlower, a modular implementation based on the Flower library, and demonstrate the effectiveness of PRFL through Federated Least Squares Boosted Trees (FedLSBT). Our results on geographically skewed datasets show that PRFL can achieve up to 88% of centralized training performance, offering a promising path for robust distributed learning.

Introduction

The primary promise of Federated Learning (FL) is the ability to leverage distributed data sources while maintaining strict privacy. Despite its success, FL faces a significant challenge known as the "non-IID problem." In real-world deployments, data is rarely distributed uniformly. For instance, medical data across different hospitals may reflect varying demographics or regional pathologies. When clients train local models on such skewed data, their updates often pull the global model in divergent directions, a phenomenon known as client drift. Standard aggregation methods like Federated Averaging (FedAvg) struggle to reconcile these differences, often resulting in sub-optimal global models.

The PRFL Framework

To address the limitations of standard aggregation, the authors propose Peer-Reviewed Federated Learning (PRFL). This framework transforms the standard FL round into a more rigorous two-stage process: the Training Phase and the Review Phase.

In the Training Phase, a selected subset of clients performs local training as usual and submits provisional updates to the central server. However, instead of immediate aggregation, the server initiates the Review Phase. During this stage, these provisional updates are distributed to a separate subset of "reviewer" clients. These reviewers evaluate the updates against their own local data to determine if the proposed changes are beneficial or merely reflect local noise.

The high-level architecture of the PRFL system, illustrating the flow of models between the Strategy layer, Client Manager, and Virtual Client Proxies.

This architecture, as shown above, allows the system to treat model updates as "proposals" that must be vetted by the community before being accepted into the global state.

Implementation with PRFlower

The researchers implemented this framework as PRFlower, a modular extension of the widely-used Flower FL library. PRFlower introduces a REVIEW_FLAG within the communication protocol, enabling the server to toggle clients between training and validation tasks seamlessly.

UML class diagram of the PRFlower library, showing how it extends the base Flower classes to support peer-review strategies and server logic.

As depicted in the UML diagram, the implementation maintains high modularity. Researchers can define custom PeerReviewStrategy classes to implement different voting or scoring mechanisms, such as simple majority voting or more complex weighted averaging based on validation performance.

Case Study: Federated Least Squares Boosted Trees (FedLSBT)

To demonstrate the practical utility of PRFL, the authors developed Federated Least Squares Boosted Trees (FedLSBT). This algorithm applies the peer-review concept to Gradient Boosted Decision Trees (GBDT). In FedLSBT, the review phase is used for more than just filtering; reviewers perform a "line search" to calculate the optimal scaling factor (learning rate) for each new tree update. This quantitative approach ensures that each update is weighted according to its universal utility across the federation.

Experimental Evaluation

The PRFL framework was evaluated using the California Housing Prices dataset. To simulate a challenging non-IID environment, the data was partitioned based on geographic coordinates (latitude and longitude). This created a scenario where different clients held data from distinct neighborhoods, making the peer-review process essential for identifying patterns that generalize across the entire state.

Key Results

  • Regression Task: FedLSBT achieved an $r^2$ score of 0.63. While this is lower than the 0.72 achieved by a centralized GBDT model, it represents approximately 88% of the centralized performance—a significant achievement given the extreme data skew.
  • Classification Task: In predicting whether house prices were above the median, FedLSBT nearly matched the centralized model's accuracy (0.80 vs 0.81). More importantly, it achieved a vastly superior Binary Cross Entropy (BCE) loss (0.50 vs 2.47), suggesting that the peer-reviewed model was much more stable and confident in its predictions compared to standard distributed approaches.

Conclusion and Future Work

Peer-Reviewed Federated Learning introduces a decentralized quality control layer that significantly improves model robustness in the face of non-IID data. While the additional communication rounds introduce overhead, the trade-off is a model that generalizes better and avoids the pitfalls of local noise. Future research will focus on optimizing the communication efficiency of PRFL and extending the framework to deep learning tasks in computer vision and natural language processing.

Summary updated

BibTeX
@inproceedings{passeri2023peer,
  author = {Mattia Passeri and Andrea Agiollo and Andrea Omicini},
  title = {{Peer-Reviewed Federated Learning}},
  booktitle = {WOA},
  year = {2023},
  url = {https://openreview.net/forum?id=ORJj6JZjDjl},
}

Loading related content...

Figure