Abstract
Federated Learning (FL) enables collaborative model training without direct data sharing, yet it frequently encounters a "tug-of-war" between group fairness (demographic equity) and client fairness (equitable benefit for all participants). We introduce mFairFL, a framework designed to navigate these multi-dimensional fairness challenges. By identifying and resolving conflicting gradients through a novel projection strategy, mFairFL achieves a superior balance of accuracy and equity across diverse, decentralized datasets.
Introduction
Standard Federated Learning algorithms like FedAvg often struggle with two distinct fairness dimensions. First, group fairness is compromised when models inherit biases from local demographic distributions. Second, client fairness suffers because heterogeneity in data size and distribution leads the global model to favor "majority" clients. When client updates point in opposing directions—a phenomenon known as gradient conflict—simple averaging results in a suboptimal model for all. mFairFL addresses these issues simultaneously by treating fairness requirements as constraints and employing conflict-aware aggregation.
Methodology: Conflict-Aware Aggregation
The mFairFL framework operates in two primary phases: local statistics computation and conflict-aware aggregation.
Local Statistics Computation
Clients utilize Lagrange multipliers to transform fairness objectives (e.g., Demographic Parity) into optimization constraints. Each client computes its training loss, fairness violations, and resulting gradients, transmitting this "statistics vector" to the central server.
Conflict Mitigation Strategy
The server evaluates gradient conflicts using cosine similarity. To resolve these conflicts without disadvantaging any participant, mFairFL employs a loss-based projection strategy. This approach is grounded in theoretical findings; the authors prove (Theorem 2) that the sequence of gradient projection significantly impacts conflict levels. By prioritizing clients with higher losses and iteratively adjusting gradients using the Law of Sines, mFairFL ensures the global update pulls the model toward a more equitable state.
Experimental Evaluation
The framework was evaluated on three standard fairness benchmarks: Adult (income prediction), COMPAS (recidivism risk), and Bank (marketing success). To simulate real-world heterogeneity, datasets were partitioned across five clients in a highly non-IID manner, creating significant disparities in group distributions and sample sizes.
Results and Discussion
Experimental results demonstrate that mFairFL consistently outperforms state-of-the-art baselines, including FedFB, FairFed, and FedMGDA+.
Key findings include:
- Superior Fairness Metrics: On the Adult dataset, mFairFL achieved remarkably low violation scores for Equalized Odds (0.003) and Accuracy Parity (0.007) while maintaining competitive accuracy.
- Robustness to Heterogeneity: Unlike FedAvg-f, which degrades under high heterogeneity, mFairFL maintains performance by preventing conflicting updates from canceling each other out. The authors prove (Theorem 1) that in such settings, federated collaboration can actually achieve better group fairness than independent local training.
- Client Equity: mFairFL achieved the lowest "Client Fairness" (CF) violation scores across all datasets, ensuring equitable model performance for all data owners.
Conclusion
mFairFL demonstrates that a conflict-aware approach to gradient aggregation can effectively mitigate the trade-off between accuracy and multi-dimensional fairness. By prioritizing updates from clients with higher losses, the framework ensures no single data owner is "left behind." Future work will focus on integrating privacy-preserving mechanisms, such as Differential Privacy or Secure Multi-Party Computation, to protect the shared statistics vectors from potential information leakage.
Summary updated