[Paper Review] Fairness-aware Agnostic Federated Learning
This paper proposes AgnosticFair, a fairness-aware agnostic federated learning framework that uses kernel reweighing functions to assign sample-specific weights in both loss and fairness constraints, enabling high accuracy and fairness guarantees on unknown testing data distributions. The method achieves robust performance under data shift and ensures fairness for both global and local clients without sharing raw data.
Federated learning is an emerging framework that builds centralized machine learning models with training data distributed across multiple devices. Most of the previous works about federated learning focus on the privacy protection and communication cost reduction. However, how to achieve fairness in federated learning is under-explored and challenging especially when testing data distribution is different from training distribution or even unknown. Introducing simple fairness constraints on the centralized model cannot achieve model fairness on unknown testing data. In this paper, we develop a fairness-aware agnostic federated learning framework (AgnosticFair) to deal with the challenge of unknown testing distribution. We use kernel reweighing functions to assign a reweighing value on each training sample in both loss function and fairness constraint. Therefore, the centralized model built from AgnosticFair can achieve high accuracy and fairness guarantee on unknown testing data. Moreover, the built model can be directly applied to local sites as it guarantees fairness on local data distributions. To our best knowledge, this is the first work to achieve fairness in federated learning. Experimental results on two real datasets demonstrate the effectiveness in terms of both utility and fairness under data shift scenarios.
Motivation & Objective
- To address the challenge of achieving fairness in federated learning when testing data distribution is unknown or differs from training data.
- To develop a framework that guarantees fairness on unknown testing data while maintaining high model accuracy.
- To ensure fairness not only globally but also on local client data distributions, even when they differ from the global training data.
- To enable efficient optimization with only parameter and coefficient exchange between clients and server, preserving data privacy.
- To be the first work to formally integrate fairness constraints into agnostic federated learning under distribution shift.
Proposed method
- Formulates fairness-aware agnostic federated learning as a two-player minimax game between a learner and an adversary that generates worst-case testing distributions.
- Uses kernel reweighing functions to parametrize both the loss function and fairness constraints, enabling distribution-agnostic optimization.
- Assigns individual reweighing values to each training sample, which are optimized jointly with model parameters to balance accuracy and fairness.
- Employs a stochastic optimization algorithm that exchanges only model parameters and reweighing coefficients between clients and server, ensuring data privacy.
- Incorporates fairness constraints (e.g., demographic parity) into the agnostic loss using reweighed samples to ensure fairness on unknown distributions.
- Supports deployment of the global model on any local site, as it guarantees fairness on local data distributions.
Experimental results
Research questions
- RQ1Can a federated learning model achieve fairness on unknown testing data distributions that differ from training data?
- RQ2How can fairness be guaranteed not only globally but also on individual client data distributions under data shift?
- RQ3Can kernel reweighing functions effectively balance model accuracy and fairness in the presence of distribution shift?
- RQ4Does the proposed framework maintain high utility while ensuring fairness, especially when the number of clients increases?
- RQ5How does the framework compare to standard federated learning and fairness-aware baselines under both non-IID and IID data settings?
Key findings
- AgnosticFair achieves higher accuracy and fairness than baseline methods like AgnosticFair-b and [20] under data shift, particularly in non-IID settings.
- On the Adult and Dutch datasets, AgnosticFair maintains high accuracy (e.g., 0.8111 on Adult) even when testing data distribution is unknown, outperforming [20]’s 0.7785 accuracy.
- The global model trained by AgnosticFair guarantees fairness on all local clients, even when their data distributions differ from the global training data.
- The performance of AgnosticFair is stable across varying numbers of clients, unlike LocalFair, which degrades significantly as client count increases.
- Under IID settings, AgnosticFair-a achieves comparable accuracy to standard federated learning (e.g., 0.8130 vs. 0.8111 on Adult), validating theoretical equivalence to empirical risk minimization.
- The framework successfully preserves fairness while maintaining high utility, demonstrating robustness to distribution shift in both global and local settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.