Hierarchically Fair Federated Learning

Jingfeng Zhang, Cheng Li, Antonio Robles-Kelly, Mohan S. KankanhalliarXiv 2020

Abstract

Standard Federated Learning (FL) typically aims for "fairness" by ensuring all participants receive the same high-performing global model. However, in competitive environments, this "one-size-fits-all" approach can discourage high-contributing agents from participating, as they may feel they are subsidizing their competitors. This paper introduces Hierarchically Fair Federated Learning (HFFL), a framework that rewards agents proportionately to their contributions. By grouping agents into levels based on verifiable data volume and providing tiered models, HFFL creates a sustainable incentive structure for collaboration.

Introduction: The Limits of Equality in FL

In a classic Federated Learning setup, a central server aggregates updates from various agents—such as companies or mobile devices—to train a global model without sharing raw data. Most research assumes agents are altruistic or defines fairness as "equal performance for all."

The authors argue that this definition is flawed when dealing with self-interested, competitive agents. If a large corporation with massive datasets receives the exact same model as a small startup with minimal data, the large corporation has little incentive to collaborate. Furthermore, existing methods for measuring contribution, such as Data Shapley values, often prove unreliable in practice.

Inconsistency of Shapley values across different model architectures.

As shown in Figure 4, an agent's Shapley value can fluctuate wildly or even turn negative simply by switching the underlying model architecture (e.g., from a Decision Tree to a Nearest Neighbor model). This inconsistency makes Shapley values a poor foundation for legal or economic contracts between competitive entities.

The HFFL Framework

To align rewards with contributions, the authors propose two frameworks:

1. HFFL (Hierarchically Fair Federated Learning)

HFFL groups agents into $L$ levels based on "publicly verifiable factors," such as data volume or collection cost, rather than model-dependent metrics. The training process is tiered:

  • Tiered Training: A Level-1 model is trained using a small, equal amount of data from all participants. To create a Level-2 model, the system starts with the Level-1 model and fine-tunes it using additional data available only to Level-2 and higher agents.
  • Proportional Reward: Agents at higher levels gain access to these "refined" models, while lower-level agents receive the base models.
The HFFL framework: Tiered model distribution based on contribution levels.

2. HFFL+

HFFL+ extends this concept to accommodate heterogeneous models. Recognizing that agents with less data might perform better with simpler architectures (to avoid overfitting), HFFL+ runs the training process across multiple architectures (e.g., MLP vs. CNN) and assigns the optimal architecture for each specific data scale.

Experimental Evaluation

The researchers evaluated HFFL on four diverse benchmarks: ADULT (census data), MNIST (handwritten digits), Fashion-MNIST (clothing images), and IMDB (movie reviews). In these simulations, Level 3 agents held significantly more data than Level 1 agents.

Key Results

  • Performance Tiers: Across all datasets, model accuracy increased strictly with the contribution level. In the MNIST experiment, Level 3 agents achieved approximately 95% accuracy, while Level 1 agents received a model with roughly 80% accuracy.
  • HFFL+ Superiority: The HFFL+ variant consistently outperformed standard HFFL by identifying that simpler models (like MLPs) were better for low-data tiers, while complex models (like CNNs) provided the necessary performance "reward" for top-tier agents.
  • Collaboration Gain: Crucially, even the lowest-level agents performed better under HFFL than they would have by training alone on their local datasets, demonstrating a "win-win" scenario for all participants.

Conclusion and Future Work

HFFL shifts the definition of fairness in FL from "equality of outcome" to "proportionality of contribution," mirroring real-world economic structures. By tying model quality to contribution levels, it encourages agents to "level up" by contributing more data, improving the global knowledge pool. Theoretical analysis using generalization bounds supports this, showing that models trained on more data (higher levels) have lower generalization error bounds.

Future research will focus on making the framework robust against "poisoning attacks," integrating Differential Privacy, and developing more robust verification methods for reported data volumes to ensure the fairness of the hierarchy remains intact.

Summary updated

BibTeX
@misc{zhang2020hierarchically,
  author = {Jingfeng Zhang and Cheng Li and Antonio Robles-Kelly and Mohan S. Kankanhalli},
  title = {{Hierarchically Fair Federated Learning}},
  year = {2020},
  eprint = {2004.10386},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.10386},
}
Figure