Models of fairness in federated learning

Kate Donahue, Jon M. Kleinberg

Abstract

This paper presents a rigorous game-theoretic analysis of fairness within "model-sharing games," a framework for collaborative machine learning among multiple agents. We establish tight theoretical bounds on error disparities between participants and analyze two primary notions of fairness: egalitarian and proportional. Our findings reveal that while personalized models inherently favor smaller participants, uniform models remain fair only when the collaboration is stable enough to prevent larger agents from exiting.

Introduction: The Equity Challenge in Federated Learning

As organizations increasingly collaborate in Federated Learning (FL) or data cooperatives, they pool local data to create models more accurate than those built in isolation. However, this collaboration introduces fundamental questions of equity: how are the benefits distributed, and is the resulting disparity fair?

A large entity with extensive datasets may perceive unfairness if a smaller participant gains a similar performance boost without a commensurate contribution. Conversely, from a social justice perspective, collaborations should ideally "level the playing field" for under-resourced participants. This paper formalizes these tensions through two competing fairness lenses:

  1. Egalitarian Fairness: Minimizing the difference in error rates across all participants.
  2. Proportional Fairness: Ensuring that participants who contribute more data are rewarded with lower error rates, or at least preventing smaller players from gaining an excessive "free ride."

Methodology

The authors utilize a theoretical framework for model-sharing games, focusing on mean estimation and linear regression tasks. These tasks are chosen because they allow for closed-form expressions of expected error, facilitating rigorous proof.

The analysis compares two primary aggregation strategies:

  • Uniform (Vanilla) Federation: A single global model is shared by all participants, typically created via a weighted average of local parameters.
  • Personalized (Fine-grained) Federation: Each participant receives a customized model that optimizes the weights of others' contributions to minimize their specific local error.

The study introduces "modular" model-sharing methods—defined by five logical properties, such as larger players having lower error and the worst-case error ratio occurring in two-player scenarios. By proving that standard FL methods are modular, the authors derive universal fairness bounds.

Key Theoretical Insights

The $2c+1$ Bound

For any modular aggregation method, the ratio of error between a small player and a large player is strictly bounded. If the largest player’s data size is at most $c$ times the noise-to-bias ratio of the task, the error ratio cannot exceed $2c+1$. This provides a concrete "worst-case" guarantee for egalitarian fairness.

Personalization as a Subsidy

In personalized federation, smaller players consistently achieve error rates better than what their raw data contribution would suggest (sub-proportional error). In this sense, personalization naturally "subsidizes" smaller participants, aiding egalitarian goals.

Stability and Proportionality

In uniform federation, small players might occasionally experience disproportionately high error. However, the authors prove that if this occurs, the coalition becomes "individually irrational"—meaning a large player would achieve better results by leaving the group. Thus, any stable, voluntary collaboration naturally satisfies proportional fairness for smaller players.

Results

The theoretical results establish tight multiplicative bounds on error ratios and proportionality constants. These bounds ensure that collaborative learning remains beneficial and equitable for all involved parties.

Numerical validation of theoretical fairness bounds for varying dataset sizes ($n_\ell$). The table demonstrates that the error ratio $err_s(C)/err_l(C)$ remains below the $2c+1$ bound, and the proportionality constant $\alpha$ remains near 1.

Discussion and Limitations

While this work provides a foundational understanding of fairness in FL, it faces certain limitations. The results are derived for mean estimation and linear regression. Although empirical evidence suggests these findings may extend to complex models like deep learning via power-law error curves, formal proofs for non-convex loss surfaces are still needed. Additionally, the "cross-silo" assumption—where agents have fixed datasets and are always available—may not apply to "cross-device" settings with transient participants. Future research should explore additive egalitarian fairness and incorporate data quality (noise levels) alongside data quantity.

Summary updated

BibTeX
@inproceedings{donahue2023models,
  author = {Kate Donahue and Jon M. Kleinberg},
  title = {{Models of fairness in federated learning}},
  booktitle = {The Web Conference},
  year = {2023},
  doi = {10.1145/3543507.3583483},
}
Figure