FedFACT: A Provable Framework for Controllable Group-Fairness Calibration in Federated Learning

Li Zhang, Zhongxuan Han, XiaoHua Feng, Jiaming Zhang, Yuyuan Li, Chaochao Chen

Abstract

Federated Learning (FL) faces significant challenges in ensuring group fairness due to data heterogeneity across clients. This paper introduces FedFACT (Federated group-FAirness CalibraTion), a framework that addresses both global and local group fairness in multi-class scenarios. By deriving the mathematical structure of Bayes-optimal fair classifiers, FedFACT provides in-processing and post-processing algorithms with provable convergence guarantees, allowing for a controllable trade-off between accuracy and fairness.

Introduction

As Federated Learning (FL) expands into sensitive domains like healthcare and finance, the need for group-fair models becomes paramount. However, achieving fairness in a distributed environment is complicated by statistical heterogeneity. Two distinct fairness objectives often conflict: Global Fairness, which ensures equity across the aggregated population, and Local Fairness, which ensures equity for individual clients. Most existing solutions address only one of these, often limited to binary classification. FedFACT is proposed to bridge this gap, offering a unified framework for multi-class fairness with provable guarantees.

Methodology

FedFACT is grounded in the derivation of Bayes-optimal fair classifiers under global and local constraints. The framework expresses fairness criteria—such as Demographic Parity (DP) and Equal Opportunity (EOP)—through confusion matrices, as detailed in the table below.

Table of group-fairness constraints in centralized vs. federated settings.

The framework offers two implementation strategies:

  • In-processing (FedFACT-In): This approach reduces fairness calibration to personalized cost-sensitive learning. Clients train an ensemble of global and local models, with weights adjusted based on fairness "costs" derived from dual variables.
  • Post-processing (FedFACT-Post): This method calibrates a pre-trained model's output probabilities via bi-level optimization. It is highly communication-efficient, typically converging in fewer than 10 rounds.

By setting explicit bounds for global and local disparity, users can precisely control the trade-off between model performance and fairness.

Experimental Evaluation

The framework was evaluated on four benchmarks: Compas, Adult, CelebA, and ENEM. Notably, CelebA and ENEM were used to validate the method's performance in multi-class settings. FedFACT consistently outperformed state-of-the-art baselines like FairFed and FedFB across varying levels of data heterogeneity.

Experimental results comparing FedFACT against baselines across four datasets.

Key results indicate that FedFACT (particularly the post-processing version) achieves an optimal balance, maintaining high accuracy while significantly reducing global ($D^{global}$) and local ($D^{local}$) disparity. For instance, on the Adult dataset, global fairness levels approached zero with only a ~2% accuracy drop compared to standard FedAvg. Furthermore, the post-processing method reached stable fairness and accuracy in under 10 communication rounds, demonstrating high practical utility.

Conclusion

While FedFACT provides a robust solution for linear fairness disparities, it currently does not support non-linear criteria like Predictive Parity. Additionally, local fairness calibration remains sensitive to local sample sizes; clients with very few data points for specific minority groups may experience instability. Future work will focus on extending the framework to non-linear constraints and improving stability for clients with limited minority group data.

Summary updated

BibTeX
@inproceedings{zhang2025fedfact,
  author = {Li Zhang and Zhongxuan Han and XiaoHua Feng and Jiaming Zhang and Yuyuan Li and Chaochao Chen},
  title = {{FedFACT: A Provable Framework for Controllable Group-Fairness Calibration in Federated Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=6lCY5bLW8E},
}
Figure