Minimax Demographic Group Fairness in Federated Learning

Afroditi Papadaki, Natalia Martínez, Martín Bertrán, Guillermo Sapiro, Miguel R. D. Rodrigues · DOI

Abstract

Ensuring fairness across demographic groups is a significant challenge in Federated Learning (FL), particularly when these groups are heterogeneously distributed across clients. Traditional FL approaches often prioritize client-level fairness, which does not necessarily translate to group-level fairness. This paper introduces FedMinMax, a novel optimization algorithm designed to achieve minimax group fairness in a decentralized setting. By treating the fairness objective as a zero-sum game between a learner and a global adversary, FedMinMax "raises the floor" for the most disadvantaged groups without requiring the sharing of sensitive raw data. Theoretical analysis and empirical evaluations across five diverse datasets demonstrate that FedMinMax achieves fairness guarantees equivalent to centralized training, outperforming existing state-of-the-art federated learning algorithms.

Introduction: The Gap Between Client and Group Fairness

In standard machine learning, fairness typically involves ensuring consistent model performance across different demographic groups (e.g., race, gender). In Federated Learning, where data remains siloed on local devices or servers, research has primarily focused on client fairness—ensuring the model performs well for every participating entity.

However, a critical insight of this work is that client fairness does not guarantee group fairness. For instance, if a specific demographic group is a minority across all participating hospitals, a client-fair algorithm may still neglect this group's performance. The authors address this by targeting minimax group fairness, which aims to minimize the error of the worst-performing demographic group across the entire global population.

Comparison of Centralized ML and Federated Learning paradigms, illustrating the partitioning of data across clients.

Methodology: The FedMinMax Algorithm

The authors propose FedMinMax, an optimization framework that models fairness as a minimax problem. The process is structured as a game between two entities:

  1. The Learner (Clients): Local clients perform gradient descent to minimize a weighted loss function on their local datasets.
  2. The Adversary (Server): A central server manages "importance weights" for each demographic group. Using projected gradient ascent, the server increases the weights for groups experiencing higher error rates, forcing the global model to prioritize them in subsequent rounds.
The FedMinMax communication protocol, showing the exchange of group weights and risks between the central server and local clients.

Key Innovations

  • Global Importance Weighting: Unlike standard FL, which averages updates based on sample size, FedMinMax uses group-specific statistics to adjust global weights.
  • Theoretical Equivalence: The authors provide a mathematical proof showing that FedMinMax converges to the same model as a centralized minimax algorithm under ideal conditions.
  • Global vs. Local Adversaries: The study finds that a single global adversary at the server is more effective than local adversaries at each client, as it prevents overfitting to local noise and improves generalization for minority groups.

Experimental Evaluation

FedMinMax was evaluated across five datasets: Synthetic, Adult (UCI), FashionMNIST, CIFAR-10, and ACS Employment. These tests covered various distribution scenarios, including Equal access (ESG) where all groups are present in every client, and Partial access (PSG) where clients have only subsets of groups.

Key Results

  • Superior Fairness: FedMinMax consistently achieved lower "Worst Group Risk" compared to algorithms like AFL, q-FedAvg, and TERM, particularly in PSG and ESG settings.
  • Accuracy-Fairness Trade-off: While average accuracy may slightly decrease—a common occurrence in fairness-constrained optimization—the performance boost for disadvantaged groups significantly enhances the model's reliability for sensitive applications like healthcare or finance.

Conclusion and Future Directions

FedMinMax provides a robust framework for achieving group fairness in federated settings without compromising data privacy. Future work will address limitations such as the requirement for sensitive attribute labels, communication overhead in massive-scale deployments, and potential vulnerabilities to malicious clients who might manipulate group statistics.

Summary updated

BibTeX
@inproceedings{papadaki2022minimax,
  author = {Afroditi Papadaki and Natalia Martínez and Martín Bertrán and Guillermo Sapiro and Miguel R. D. Rodrigues},
  title = {{Minimax Demographic Group Fairness in Federated Learning}},
  booktitle = {FAccT},
  year = {2022},
  doi = {10.1145/3531146.3533081},
}
Figure