Summary
Federated learning (FL) is a promising approach for healthcare institutions to train high-quality medical models collaboratively while protecting sensitive data privacy. However, FL models encounter fairness issues at diverse levels, leading to performance disparities across different subpopulations. To address this, we propose Federated Learning with Unified Fairness Objective (FedUFO), a unified framework consolidating diverse fairness levels within FL. By leveraging distributionally robust optimization and a unified uncertainty set, it ensures consistent performance across all subpopulations and enhances the overall efficacy of FL in healthcare and other domains while maintaining accuracy levels comparable with those of existing methods. Our model was validated by applying it to four digital healthcare tasks using real-world datasets in federated settings. Our collaborative machine learning paradigm not only promotes artificial intelligence in digital healthcare but also fosters social equity by embodying fairness.
Keywords: federated learning, algorithmic fairness, digital healthcare
Graphical abstract

Highlights
-
•
We enabled fair federated model training among healthcare institutions
-
•
Our framework unifies diverse levels of fairness in federated learning
-
•
Our efficient solution flexibly balances utility and different levels of fairness
-
•
We applied our solution to the four digital healthcare tasks in federated settings
The bigger picture
Federated learning (FL) enables healthcare institutions to collaboratively train high-quality medical machine learning models without accessing private medical data. Traditional FL may yield an unfair model with a good overall performance but still perform poorly with underrepresented subgroups. Because of the varied performance of these models among patients from different racial or ethnic groups, or those with specific physical conditions, differences in the quality of treatment recommendations may consequently cause serious social inequality problems. Frameworks that improve the fairness of FL will be essential in the implementation of digital healthcare.
This study employed robust optimization to achieve consistent and high-performing federated models for diverse demographics. To ensure fairness in federated learning, a unified framework for healthcare institutions is presented that includes various fairness metrics and is implemented using an efficient and collaborative machine learning procedure. The proposed solution was tested in four digital medical scenarios in a federated setting. The experimental results show that the proposed approach could maintain model performance while improving the desired levels of fairness.
Introduction
Artificial intelligence (AI) holds tremendous potential for revolutionizing the medical field and advancing digital health applications.1,2,3,4,5,6 However, its widespread implementation faces challenges, particularly concerning the handling of medical data and privacy concerns. Stringent regulations, such as the General Data Protection Regulation (GDPR) and Health Insurance Portability and Accountability Act (HIPAA), mandate the protection of sensitive patient information, making it impractical to gather all the necessary data for comprehensive AI training. Therefore, striking a delicate balance between harnessing the potential of AI and adhering to legal and ethical data privacy principles is important. To address this, researchers and developers must explore innovative approaches that enable AI models to be trained without compromising individual data privacy.7,8,9
Federated learning (FL) represents a crucial machine learning paradigm in which distributed clients (e.g., several medical institutions) collaboratively train a shared global model while retaining their private data.10,11,12,13 However, inherent biases may arise in the federated model because of spurious correlations and distribution shifts across data subpopulations.14,15,16,17,18 Consequently, the model’s performance may significantly degrade for certain data subpopulations, leading to concerns regarding unfairness, particularly in critical domains such as healthcare. Recently, addressing this issue and achieving an unbiased federated model with equitable performance have emerged as paramount objectives and pivotal research themes.
In this study, we present a systematic exploration of the multifaceted nature of the fairness of model performance in FL. To enhance its clarity, as shown in Figure 1, we categorize these levels into four distinct dimensions: client-level fairness, attribute-level fairness (also referred to as horizontal and vertical fairness, respectively), multilevel fairness, and agnostic distribution fairness, each with distinct practical implications for distribution fairness.
Figure 1.
Illustration of diverse levels of fairness in federated learning scenario
(A) Client-level fairness (horizontal fairness) requires that the federated model have consistent accuracy across different clients (hospitals), i.e., .
(B) Attribute-level fairness (vertical fairness) requires that the federated model have consistent accuracy across different attributes (e.g., physical conditions and/or sensitive demographics), i.e., .
(C) Multilevel fairness requires that the federated model achieve horizontal and vertical fairness simultaneously.
(D) Agnostic distribution fairness requires that the federated model achieve fairness on subpopulations with unknown distributions (e.g., other hospitals that do not participate in FL), i.e., and .
The primary objective for hospitals (clients) participating in FL is to obtain a model with optimal performance.19,20,21 The federated model must ensure that it does not disproportionately favor or disadvantage specific hospitals. Based on experience, a FL algorithm that neglects fairness considerations may yield a model of inferior quality compared with a model solely trained on local data. Consequently, hospitals experiencing poor performance in the federated model with their data may be discouraged from participating in FL initiatives. This reluctance could significantly hinder the development of a robust FL ecosystem and impede the broader application of AI in digital health.
Moreover, fairness at the attribute level, encompassing explicit covariates (e.g., gender and race), implicit groups (e.g., domain), the target variable, or their combinations, must also be ensured. For instance, in the context of a predictive model projecting a patient’s remaining lifespan, if the accuracy of the model significantly varies among patients of different races, it may lead to higher rates of incorrect treatments prescribed to certain racial groups, exacerbating social inequality.
A model violating any of the above fairness measures may lead to serious consequences; therefore, it is important to implement FL model performance fairness at multiple levels simultaneously, which is a more difficult problem than single-level fairness.
Finally, the generalizability of fairness in our medical machine learning model based on FL must be considered. This entails ensuring consistent performance not only within the existing participating hospitals but also in other hospitals with unseen distributions while maintaining fairness. By prioritizing this aspect, we can maximize social welfare in the medical field and ensure that our research findings have a meaningful impact on a broader scale.
Recently, progress in FL has led to increased research on achieving fair model performance.22 However, most of these studies have focused on single-level fairness, particularly at the client level.23,24,25,26,27,28,29,30 These methods can be broadly classified into two categories: personalization31,32,33 and fair aggregation.34 Personalization allows individual clients to maintain distinct local models, leveraging the diversity of other hospital data while emphasizing local data distribution. However, this approach fails to create a global model with robust generalization capabilities suitable for broad deployment. To overcome this limitation, the fair aggregation method assigns varying weights to local models of different clients during the aggregation process, ensuring consistent performance of aggregated models across diverse clients. To the best of our knowledge, while the aforementioned methods have contributed to the advancement of specific fairness in FL, limited attention has been given to unified and multilevel FL performance fairness.35,36,37
In this study, we attempted to find a solution for unified fairness in FL, with the requirement that federated models meet some or all of the above four levels of fairness. We also present a comprehensive framework called Federated Learning with Unified Fairness Objective (FedUFO). Our approach unifies the diverse levels of fairness considerations by leveraging a unified uncertainty set. Our unified framework considers existing optimization objectives as special cases, thereby providing a cohesive and encompassing perspective on fairness in FL. The model allows customizable uncertainty sets that offer users greater flexibility in managing the trade-offs between accuracy and fairness at various levels. Moreover, we address the challenging federated optimization problem by introducing a highly efficient algorithm called federated mirror descent ascent, which provides theoretical guarantees. Researchers and practitioners can gain a comprehensive understanding of performance fairness considerations in FL by adopting the proposed framework. This insight enables them to effectively assess and address fairness concerns, both coherently and meaningfully.
To validate the effectiveness of our approach, we conducted rigorous testing on four healthcare-related datasets and meticulously evaluated fairness at four distinct levels: client-level, attribute-level, multilevel, and agnostic distribution fairness. Our experimental findings clearly demonstrate that, in comparison with existing methods, our unified solution can improve fairness at the desired level(s) without any significant loss in overall accuracy. Moreover, our approach allows a flexible balance between accuracy and fairness, as well as between different fairness levels. These compelling results underscore our commitment to advancing fair and impactful FL practices with a dedicated focus on the crucial domain of medicine. Considering this, we aim to preserve the ecological integrity of FL in the medical field and actively promote social equality.
Results
Unified fair FL
Optimization objective for fair FL
We aim to encourage the federated model to achieve uniform performance over subpopulations. The unified optimization objective can be written as
where is the average risk, is the group index, is the risk of group g, is the variance of risk across groups, and the constant balances the utility and fairness. The first and second terms guarantee the utility of the federated model and the performance fairness for group , respectively. is unified because can be defined as any group as needed, and any single-level fairness in FL will be the special case of our framework.
Unified framework for fair FL
Unfortunately, is computationally intractable because of the variance term, particularly in a federated setting.10,38,39 To solve this problem, inspired by the techniques used for distributionally robust optimization (DRO),40 we introduced an approximate surrogate for :
and
where ℓ: is a loss function, is the distribution when the entire data distribution is grouped based on , is the f-divergence between distributions, is the radius of the uncertainty set, and the uncertainty set contains the distribution shifts near distribution . The constant and radius are positively correlated; therefore, we can balance the model performance and fairness by varying the radius . If the radius , then will degrade to empirical risk minimization (ERM) (FedAvg). Conversely, if we allow the radius to be infinite, then will degrade to minimize the risk of the worst-performing group.
Next, we show that the optimization objectives designed for diverse levels of fairness are special cases of our proposed unified risk . First, if we select a client-level uncertainty set (i.e., specified as client index set ), the unified objective will degrade to a client-level fairness method with a risk given by
and
Similarly, if we select an attribute-level uncertainty set , the framework degrades to an attribute-level fairness FL method with a risk given by
and
where is the distribution when all the data are grouped according to attribute index set . Moreover, the corresponding objective that simultaneously constrains both the variance of client- and attribute-level risks is given below.
This can be approximated by the following DRO-based objective:
and
where the uncertainty set of multilevel fairness is the union of the client-level and attribute-level uncertainty set; radius balances the accuracy and the fairness; and the coefficient balances different levels of fairness. Finally, we consider agnostic distribution fairness, which requires the federated model to be fair for subpopulations with unknown distributions. To achieve this goal, we defined a sufficiently wide uncertainty set that covers the possible distribution shifts. A natural implementation is to assign as the combination of the client index and all the attributes, and then degrade the uncertainty set to the individual level, which is too wide by taking into account too much unnecessary distributional drift. Consequently, this may lead to an overly pessimistic problem in practice.41,42,43 Therefore, structural constraints must be introduced on the uncertainty set to overcome this pessimism. Moreover, we specified as the combination of the client index and some of the sensitive attribute(s) , rather than using all the attributes. The objective of the agnostic distribution fairness can be written as
and
Notably, a trade-off exists between in-distribution fairness and unknown out-of-distribution fairness because an overly conservative risk with a very wide uncertainty set usually leads to an upper bound that is too loose for in-distribution fairness. In practice, appropriate combinations can be used to balance the two. Please refer to Appendix B for more discussion on the size of uncertainty sets.
Tractable centralized optimization algorithm
Next, we developed an efficient algorithm to solve the above optimization objective in federated setting. The objective is rewritten as
where is the empirical risk on th group and is the empirical distribution over samples of data subset . We can alternately optimize model parameters and weights to minimize the above optimization objective. We updated model using the stochastic gradient descent method with corresponding weight at each iteration .
We adopted the mirror gradient ascent method to update weight , which is expressed as
where is the stepsize and is the gradient of weight. The first two terms are a linear approximation of , and the last term is a Bregman distance between and . A suitable convex function can be chosen to efficiently solve for . By choosing the negative entropy function, has an explicit solution:
After each mirror gradient ascent of weight, we compute by projecting into such that the constrains of the uncertainty set for the radius will be satisfied.44
We obtained the stochastic mirror descent ascent (SMDA) algorithm as the solution of objective in centralized setting, and we extended it to the decentralized setting.
Efficient federated optimization algorithm
In FL, each client accesses its own local data. In each communication, the clients use their local data to update local models with the corresponding weights, and then the server aggregates the local models into a global model. In addition, clients must compute the partial gradients of the weights and send them to the server for updating the weights. The key challenge is that high-frequency communication is not allowed in FL because of communication costs. Therefore, we adopted the snapshot mechanism for both the model and weight updates. Specifically, we updated the weights as follows:
where is the current round of communication and is the number of local iterations at each communication. The above equations can be viewed as an unbiased estimation of . We allowed multiple iterations of the model parameters and weights in a single communication.
This completes the federated mirror descent ascent (FedUFO) algorithm. Taking multilevel fairness as an example, we present the details of FedUFO in Algorithm 1. Please refer to Appendix A for the proof of convergence of Algorithm 1.
Algorithm 1. FedUFO algorithm for multilevel fairness.
Input: The number of local iterations , total number of iterations , number of rounds , model update stepsize , weight update stepsize , initialized model parameters , client weight , attribute weight , uncertainty set radius , and coefficient for balancing client and attribute-level fairness.
1: for do
2: The server broadcasts , , and to the corresponding clients
3: for client do
4: Set the local model parameters
5: for do
6: Sample data uniformly
7: w.p. , and w.p.
8: Update the model with weights:
9: Compute the loss of model on the local dataset
10: Compute the loss of model on each subgroup
11: end for
12: end for
13: The client sends , , and to the server
14: The server computes:
15: The server computes:
16: The server computes:
17: end for
18: return
An overview of the workflow is shown in Figure 2. In each communication, hospitals first download the global model and weights from the server and then update the local models with their private data with the corresponding weights. After computing the gradients of the weights, hospitals send them and the local models to the server. Then, the server aggregates the local models into a global model and updates the weights. These steps are repeated until the global model converges. The trained federated model can be deployed in various locations to aid in medical decisions. We emphasize that the proposed unified solution is general and can be specified to guarantee a given level of fairness. We would like to clarify here that our contributions focus on the diverse levels of fairness in FL, while the privacy protections of the proposed unified framework are entirely inherited from the FL paradigm itself.
Figure 2.
FedUFO training workflow
Along with the conventional model aggregation process in standard federated learning, we incorporate an additional step to enhance model fairness by maintaining a dedicated set of weights. After training, the federated model with fairness guarantees can be deployed at different hospitals to assist in the medical diagnosis of patients belonging to different demographics.
Main results
Evaluation metrics
Our aim is to guarantee that the model’s performance is good and fair across subpopulations. Suppose that the full dataset is divided into groups, . We first define the disparity of an FL model across groups as
where is the predictive accuracy for group and . In this study, following the difference principle of distributive justice and stability,45 we view the performance of the federated model as a resource that should be allocated fairly among the various groups. Specifically, we measured fairness using disparity. The smaller the value of disparity, the fairer the FL model. We focus on four levels of fairness in FL: client-level, attribute-level, multilevel, and agnostic distribution fairness. We measured client-level fairness using , where is a set of client indices. Given a set of protected attributes , the attribute-level fairness can be measured using . For multilevel fairness, we used the harmonic average of client-level fairness and attribute-level fairness as evaluation metrics. Notably, the harmonic average is just one of the indicators used to measure fairness at multiple levels. Different fairness metrics for various levels are presented in detail in Tables S1 and S2. Following the previous studies,46,47,48 we used a Dirichlet distribution with hyperparameter to define data heterogeneity among different clients in FL. A lower value of means strong data heterogeneity, and we set different values of for different datasets to evaluate how our method performs at different degrees of client drift. For agnostic distribution fairness, we first trained a federated model with a specific value of and then performed a simulation to test its multilevel fairness in federated settings for different values of . Additionally, we used the accuracy, Acc, to measure the utility of the FL model. As part of our main results, we report the overall and worst-case performances for different scenarios.
Client-level fairness
The experimental results for client-level fairness are presented in Tables 1 and 2, respectively. We drew several conclusions based on these results. First, compared with local training (without [w.o.] FL) on the COVID-19 dataset, our solution decreased the disparity over clients from 0.0109 to 0.0010 (i.e., the fairness was improved by ). Similarly, our solution, FedUFO, also improved fairness by 75.00%, 56.17%, and 83.75% for the fetal, prostate, and support datasets, respectively. Second, by comparing the federated baselines, we achieved a state-of-the-art performance. Taking the results for the support dataset as an example, the traditional federated algorithm FedAvg yields an unfair federated model with a disparity of 0.1026. Moreover, its accuracies for two hospitals were found to be 68.80% and 54.29%, indicating that the model was 14.51% less accurate for one hospital than the other. Our solution, FedUFO, limits the gap to 0.92% and significantly promotes fairness among hospitals. Third, compared with all the baselines, our client-level solution improved the worst client performance when tested on four different datasets, as shown in Table 2. Particularly, the accuracy of the proposed FedUFO improved by more than 10% compared with FedAvg in terms of the worst-performing client. In conclusion, our proposed FedUFO significantly improves client-level fairness, which helps prevent some hospitals from deploying federated models that perform poorly for their data distribution. Furthermore, this will encourage more hospitals to participate in FL and promote its wider application in the field of digital health.
Table 1.
Client-level fairness: Disparity over clientsa
| Dataset | Heterogeneity |
w.o. FL |
Federated baselines |
Ours |
Centralized |
||||
|---|---|---|---|---|---|---|---|---|---|
| Local | FedAvg | AFL | q-FedAvg | FairFedb | Poulain’sb | FedUFOc | Global | ||
| Fetal | 10,000 | 0.0324 | 0.0205 | 0.0121 | 0.0245 | – | – | 0.0081c | 0.0288 |
| Prostate | 10 | 0.0162 | 0.0240 | 0.0397 | 0.0206 | – | – | 0.0071c | 0.0199 |
| COVID-19 | 0.5 | 0.0109 | 0.0306 | 0.0122 | 0.0194 | 0.0144 | 0.0114 | 0.0010c | 0.0120 |
| Support | 0.1 | 0.0400 | 0.1026 | 0.0251 | 0.0121 | 0.0913 | 0.0339 | 0.0065c | 0.0275 |
Lower numbers are better.
The federated baselines, FairFed and Poulain’s, only support settings of binary classification.
Best federated learning results.
Table 2.
Worst-case performance in client-level fairness: Acc for the worst clienta (%)
| Dataset | Heterogeneity |
w.o. FL |
Federated baselines |
Ours |
Centralized |
||||
|---|---|---|---|---|---|---|---|---|---|
| Local | FedAvg | AFL | q-FedAvg | FairFedb | Poulain’sb | FedUFOc | Global | ||
| Fetal | 10,000 | 87.72 | 95.32 | 94.15 | 92.98 | – | – | 96.49c | 94.74 |
| Prostate | 10 | 71.04 | 79.11 | 77.41 | 79.22 | – | – | 79.98c | 83.93 |
| COVID-19 | 0.5 | 58.12 | 62.85 | 62.15 | 62.15 | 61.58 | 62.01 | 64.12c | 64.97 |
| Support | 0.1 | 57.14 | 54.29 | 62.86 | 64.00 | 54.29 | 60.00 | 64.80c | 65.71 |
Higher numbers are better.
The federated baselines, FairFed and Poulain’s, only support settings of binary classification.
Best federated learning results.
Attribute-level fairness
The experimental results for attribute-level fairness are presented in Tables 3 and 4. An attribute can be specified as any variable (e.g., target variable, sensitive attribute, and their combinations). We chose the target variable, death or not, as the attribute for the COVID-19 dataset, and we expect that the federated model will satisfy the accuracy parity (AP) (i.e., similar false positives and false negatives). However, the false-negative and false-positive rates of the federated model trained by FedAvg were 82.67% and 45.89%, respectively (with disparity of 0.2601). The above results indicate that the federated model trained by FedAvg predicts that patients will not die, as the false-negative rate was 36.78% higher than the false-positive rate. If such a model is deployed on a large scale, many patients will die because of the lack of timely treatment, which will lead to serious social problems. Fortunately, the proposed solution can reduce the accuracy gap by less than 3% and, therefore, promote social fairness. Our algorithm, FedUFO, also achieved the lowest disparity and highest Acc of the worst attributes for the other datasets, demonstrating the effectiveness of our solution. Moreover, FedUFO can also avoid discrimination against specific races or genders. We present these results and discuss them in detail later.
Table 3.
Attribute-level fairness: Disparity over attributesa
| Dataset | Heterogeneity |
w.o. FL |
Federated baselines |
Ours |
Centralized |
||||
|---|---|---|---|---|---|---|---|---|---|
| Local | FedAvg | AFL | q-FedAvg | FairFedb | Poulain’sb | FedUFOa | Global | ||
| Fetal | 10,000 | 0.1316 | 0.0778 | 0.0752 | 0.0643 | – | – | 0.0552c | 0.0591 |
| Prostate | 10 | 0.3040 | 0.2420 | 0.2031 | 0.3175 | – | – | 0.1192c | 0.2303 |
| COVID-19 | 0.5 | 0.4716 | 0.2601 | 0.0660 | 0.1549 | 0.0236 | 0.0194 | 0.0174c | 0.3424 |
| Support | 0.1 | 0.0487 | 0.1078 | 0.1235 | 0.0905 | 0.0637 | 0.0320 | 0.0134c | 0.0349 |
Lower numbers are better.
The federated baselines, FairFed and Poulain’s, only support settings of binary classification.
Best federated learning results.
Table 4.
Worst-case performance in attribute-level fairness: Acc for the worst attributea (%)
| Dataset | Heterogeneity |
w.o. FL |
Federated baselines |
Ours |
Centralized |
||||
|---|---|---|---|---|---|---|---|---|---|
| Local | FedAvg | AFL | q-FedAvg | FairFedb | Poulain’sb | FedUFOa | Global | ||
| Fetal | 10,000 | 62.50 | 75.00 | 78.57 | 81.25 | – | – | 86.49c | 83.33 |
| Prostate | 10 | 20.89 | 17.71 | 31.49 | 18.55 | – | – | 56.56c | 19.37 |
| COVID-19 | 0.5 | 25.54 | 45.89 | 58.12 | 52.10 | 60.65 | 61.43 | 62.52c | 41.52 |
| Support | 0.1 | 57.89 | 60.19 | 54.39 | 56.14 | 61.17 | 62.14 | 63.16c | 66.99 |
Higher numbers are better.
The federated baselines, FairFed and Poulain’s, only support settings of binary classification.
Best federated learning results.
Multilevel fairness
In practice, breaches at any level of fairness can raise serious ethical issues; therefore, the federated model must be encouraged to be fair at multiple levels simultaneously. Specifically, we considered both client-level fairness and attribute-level fairness and used their harmonic average as the evaluation metric for multilevel fairness. Tables 5 and 6 list the experimental results for multilevel fairness. More detailed experimental results (client- and attribute-level metrics) are provided in the supplemental information. We can observe that FedUFO achieves the best FL results for all datasets. Notably, our solution is flexible because we allow users to balance the measure for multiple levels of fairness according to their needs by setting a hyperparameter. We present the results of the trade-offs in a later section.
Table 5.
| Dataset | Heterogeneity |
w.o. FL |
Federated baselines |
Ours |
Centralized |
||||
|---|---|---|---|---|---|---|---|---|---|
| Local | FedAvg | AFL | q-FedAvg | FairFedc | Poulain’sc | FedUFOm | Global | ||
| Fetal | 10,000 | 0.0260 | 0.0162 | 0.0104 | 0.0177 | – | – | 0.0003d | 0.0194 |
| Prostate | 10 | 0.0154 | 0.0218 | 0.0332 | 0.0193 | – | – | 0.0136d | 0.0183 |
| COVID-19 | 0.5 | 0.0107 | 0.0274 | 0.0103 | 0.0172 | 0.0089 | 0.0072 | 0.0016d | 0.0116 |
| Support | 0.1 | 0.0220 | 0.0526 | 0.0209 | 0.0107 | 0.0375 | 0.0292 | 0.0021d | 0.0154 |
Disparity over clients and disparity over attributes are shown in the supplemental information (Table S1).
Lower numbers are better.
The federated baselines, FairFed and Poulain’s, only support settings of binary classification.
Best federated learning results.
Table 6.
Worst-case in multilevel fairness: Harmonic averagea of Acc for the worst client and Acc for the worst attributeb (%)
| Dataset | Heterogeneity |
w.o. FL |
Federated baselines |
Ours |
Centralized |
||||
|---|---|---|---|---|---|---|---|---|---|
| Local | FedAvg | AFL | q-FedAvg | FairFedc | Poulain’sc | FedUFOm | Global | ||
| Fetal | 10,000 | 72.99 | 83.95 | 85.66 | 86.72 | − | − | 91.76d | 88.67 |
| Prostate | 10 | 32.29 | 28.94 | 44.77 | 30.06 | − | − | 64.84d | 31.48 |
| COVID-19 | 0.5 | 35.49 | 53.05 | 60.07 | 56.68 | 61.11 | 61.72 | 63.17d | 50.66 |
| Support | 0.1 | 57.51 | 57.09 | 58.32 | 59.81 | 57.53 | 61.05 | 62.50d | 66.34 |
Acc for the worst client and Acc for the worst attribute are shown in the supplemental information (Table S1).
Higher numbers are better.
The federated baselines, FairFed and Poulain’s, only support settings of binary classification.
Best federated learning results.
Agnostic distribution fairness
To maximize social and medical benefits, powerful models derived from FL should be widely applicable. Therefore, the model should be deployable in hospitals that do not participate in FL and whose data have an unknown distribution. The experimental results for agnostic distribution fairness are listed in Tables 7 and 8. We set the heterogeneity hyperparameter to 10, 5, and 2 during training and tested the trained federated model using by simulating a variety of differences between training environments and deployment environments. Although the performance of other methods greatly fluctuates with the degree of heterogeneity, our solution shows strong stability. Empirically, the results illustrate that FedUFO can effectively improve the fairness and worst-case performance (in terms of the harmonic average) of federated models, even if the target distributions are unknown.
Table 7.
Agnostic distribution fairness: Harmonic averagea of Disparity over clients and Disparity over attributesb
| Dataset | Heterogeneityc |
w.o. FL |
Federated baselines |
Ours |
Centralized |
||
|---|---|---|---|---|---|---|---|
| Local | FedAvg | AFL | q-FedAvg | FedUFOu | Global | ||
| 10 | 0.0604 | 0.0568 | 0.0507 | 0.0495 | 0.0423d | 0.0333 | |
| Prostate | 5 | 0.0567 | 0.0676 | 0.0609 | 0.0668 | 0.0487d | 0.0566 |
| 2 | 0.0543 | 0.0556 | 0.0455 | 0.0450 | 0.0415d | 0.0379 | |
Disparity over clients and disparity over attributes are shown in the supplemental information (Table S2).
Lower numbers are better.
We trained the federated models under various degrees of heterogeneity (including α = 10, 5, and 2) and evaluated the models for α = 1.
Best federated learning results.
Table 8.
Worst-case performance in agnostic distribution fairness: Harmonic averagea of Acc for the worst client and Acc for the worst attributeb
| Dataset | Heterogeneityc |
w.o. FL |
Federated baselines |
Ours |
Centralized |
||
|---|---|---|---|---|---|---|---|
| Local | FedAvg | AFL | q-FedAvg | FedUFOu | Global | ||
| 10 | 33.49 | 50.99 | 55.57 | 49.87 | 67.18d | 47.14 | |
| Prostate | 5 | 40.71 | 57.11 | 43.66 | 59.86 | 66.85d | 63.81 |
| 2 | 36.50 | 55.28 | 58.76 | 58.59 | 68.77d | 54.57 | |
Acc for the worst client and Acc for the worst attribute are shown in the supplemental information (Table S2).
Higher numbers are better.
We trained the federated models under various degrees of heterogeneity (including α = 10, 5, and 2) and evaluated the models for α = 1.
Best federated learning results.
Model utility
A fair but poorly performing model is meaningless.49 For example, if a model has an accuracy of zero for all groups, then the model meets the fairness requirement but does not contribute to medical decisions. Therefore, we also focused on model utility measured by overall accuracy (in terms of macro-averaged performance weighted by sample size). Our solutions achieved FL results comparable with the standard FL algorithm FedAvg (without consideration of fairness), as shown in Table 9.
Table 9.
Overall performance: Macro-averaged accuracya (%)
| Dataset | Heterogeneity |
w.o. FL |
Federated baselines |
Ours |
Centralized |
|||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Local | FedAvg | AFL | q-FedAvg | FairFedb | Poulain’sb | FedUFOc | FedUFOa | FedUFOm | FedUFOu | Global | ||
| Fetal | 10,000 | 90.00 | 96.76 | 95.00 | 94.71 | – | – | 97.06 | 94.71 | 96.47 | 95.41 | 96.76 |
| Prostate | 10 | 72.18 | 80.74 | 79.48 | 80.29 | – | – | 80.46 | 80.48 | 80.60 | 80.19 | 85.28 |
| COVID-19 | 0.5 | 58.67 | 64.40 | 62.76 | 63.12 | 62.31 | 62.58 | 64.21 | 63.76 | 63.49 | 63.21 | 65.58 |
| Support | 0.1 | 61.56 | 65.62 | 65.62 | 64.37 | 64.37 | 63.75 | 65.00 | 64.38 | 63.13 | 64.28 | 68.75 |
Higher numbers are better.
The federated baselines, FairFed and Poulain’s, only support settings of binary classification.
Trade-off analysis
The general framework we proposed can not only constrain any given level(s) of fairness in FL but also allow users the flexibility to make trade-offs among different goals based on their own needs. Specifically, users can balance (1) accuracy and fairness, (2) multiple levels of fairness, and (3) in-distribution fairness and out-of-distribution fairness. We ran the analytical experiments on the COVID-19 dataset with a heterogeneity of α = 0.1, and the experimental results are shown in Figure 3.
Figure 3.
Trade-offs experimental results on COVID-19 dataset
Heterogeneity α = 0.1. Our solution FedUFO is flexible and can balance different goals.
(A) Trade-off between client-level fairness and accuracy.
(B) Trade-off between attribute-level fairness and accuracy.
(C) Trade-off between client-level fairness and attribute-level fairness.
(D) Trade-off between in-distribution fairness and out-of-distribution fairness.
Trade-off between accuracy and single-level fairness
First, we can balance the model’s utility and fairness via the uncertainty set radius . An uncertainty set with a larger radius considers more potential distribution shifts; thus, it can provide a fairness guarantee for the worst cases. However, this also places a looser upper bound on the ERM, leading to a decrease in accuracy.
As shown in Figures 3A and 3B, when we decrease the radius from 1e−1 to 1e−8, the disparity among clients and attributes increases while the accuracy is improved.
Trade-off between multiple levels of fairness
We also set a hyperparameter to balance client-level and attribute-level fairness. We varied the value of from 0.1 to 0.9, as shown in Figure 3C, and found that client-level fairness benefits from a large coefficient , whereas attribute-level fairness benefits from a small .
Trade-off between in-distribution fairness and out-of-distribution distribution fairness
A wide uncertainty set can be used to improve the generalization ability of fairness. However, an overly wide uncertainty set results in overly pessimistic problems, resulting in a lot of accuracy sacrifice. Empirically, we considered three uncertainty sets of different sizes formed by the client index, attribute, and uncertainty set radius. For a small uncertainty set, we used the union of the client-level uncertainty set and attribute-level uncertainty set with . For the two large uncertainty sets, formed by the combination of client index and target variable, we set the uncertainty set radius as 1e−7 and 1e−1, respectively. The large uncertainty set yields a model with good out-of-distribution fairness but compromises in-distribution fairness. The empirical evidence supports our analysis, as shown in Figure 3D. We recommend the construction of an uncertainty set based on specific requirements and expert knowledge.
We wish to elucidate that the flexibility extended here aims to offer users a realm of choice, enabling them to judiciously forego certain indicators of lesser importance to them in favor of enhancing those they deem significant, based on their actual needs. The extent of alterations in the ultimate outcome of the indicator is, to a degree, shaped by the pre-set data distribution.
Relation with other fairness notions
In this study, our aim was to encourage the federated model to have a low accuracy disparity among different groups. The definition of fairness in this paper is different from traditional algorithmic fairness, which requires the independence of model decisions and sensitive attributes.47,50,51,52,53,54,55,56 However, we demonstrated that our proposed unified fairness notions can also be used to improve algorithmic fairness. Specifically, equal opportunity (EO),57 the most commonly used metric for measuring fairness (in terms of discrimination against certain groups), can be viewed as a relaxed version of fairness. The EO requires the following:
If we specify S as a combination of the target label and sensitive attribute, our proposed unified fairness notion requires that
Therefore, our optimization objective provides an upper bound for EO.
We empirically evaluated the models trained using different algorithms in terms of EO. The sensitive attribute was race, and the target variable was treatment outcome. FairFed47 and Poulain’s FairFedAvg48 are two state-of-the-art methods that aim to mitigate discrimination (in terms of sensitive attributes) in FL. Following the setting in the previous work,48 we set the heterogeneity hyperparameter α = 1. We also report the worst-case performance, which was measured using the following metrics:
The experimental results are listed in Table 10. We can observe that our solution, FedUFO, achieves the best results in terms of EO and WorstTPR, while maintaining comparable overall performance with the standard FL algorithm, FedAvg (without consideration of fairness). These results illustrate that the fairness framework is unified and flexible.
Table 10.
Federated results of discrimination against specific sensitive attribute
|
Dataset |
Metrics | w.o. FL |
Federated baselines |
Ours |
Centralized |
||||
|---|---|---|---|---|---|---|---|---|---|
| Local | FedAvg | AFL | q-FedAvg | FairFed | Poulain’s | FedUFOa | Global | ||
| COVID-19 | EOa | 0.300 | 0.318 | 0.267 | 0.299 | 0.211 | 0.174 | 0.160d | 0.265 |
| WorstTPRb (%) | 12.17 | 36.12 | 28.52 | 19.39 | 49.80 | 47.15 | 61.60d | 39.92 | |
| Overall Accc (%) | 57.49 | 62.34d | 59.17 | 58.89 | 59.34 | 59.17 | 61.52 | 66.24 | |
Lower numbers are better.
Higher numbers are better.
Higher numbers are better.
Best federated learning results.
We recommend setting S on the basis of expert knowledge in practice.
Sensitivity analysis for FL
Our method is robust to changes in the hyperparameters of the FL settings. The general framework of our method is not sensitive to variations in the number of clients or local iterations. In this section, we modify these two hyperparameters and test the performance of our model on a fetal dataset.
Number of clients N
Our model was robust to the change in the number of clients. We set the heterogeneity hyperparameter α of the dataset to 10 and the number of clients to 4, 6, 8, and 10 and recorded the variation in accuracy and fairness to investigate the sensitivity to the change in the number of clients in our model. As shown in Figure 4A, the accuracy of our model fluctuates only slightly, within a range of 5%, around 79%, and the fairness of our model holds up to 0.013 when the number increases from four to six.
Figure 4.
Sensitivity analysis experimental results
(A and B) Our solution, FedUFO, is robust to variations in the number of clients and the number of local iterations .
Number of local iteration epochs E
Our model is insensitive to the number of local iterations. We set the heterogeneity hyperparameter α of the dataset to 1 and changed the number of iterations to 1, 3, 5, and 10 to verify the stability of the performance of our model. In Figure 4B, the range of accuracy is approximately 3% and that of fairness is less than 0.001, indicating that our model maintains high performance and a high level of fairness despite variation in the number of local iterations.
Discussion
This study investigated fairness considerations in the realm of FL, particularly within the domain of digital healthcare. Our aim was to establish a consistent performance standard across various subpopulations using the federated model. To achieve this, we developed a unified framework for fair FL that offers adaptability for enhancing fairness at multiple levels, ranging from client- and attribute-level fairness to multilevel fairness and fairness extensions to uncharted data distributions, based on user requirements. In addition, we introduced an efficient optimization algorithm tailored for FL, which is essential for implementing the aforementioned framework and has been substantiated by comprehensive theoretical analyses.
We conducted extensive experimentation on four real-world medical datasets, encompassing a spectrum of FL scenarios. When compared with a diverse array of advanced federated baseline methodologies, our approach consistently demonstrated superior fairness outcomes at the desired fairness levels in most instances. Additionally, we elucidated the adaptability inherent in our framework through experimental scrutiny, showcasing its capacity to enable models to strike an optimal balance between fairness and accuracy. This adaptability also permits trade-offs in fairness levels across varying strata.
Moreover, our investigation addresses the issue of potential bias or discrimination arising from federated models. Theoretically, we posit that mitigating such concerns can be approached as a sub-problem inherent in the broader, unified framework that we propose. Empirical assessments demonstrated the effectiveness of our approach in mitigating discrimination, accomplished through the prudent selection of uncertainty set ranges while maintaining model performance comparable with the standard FL benchmark, FedAvg.
However, the proposed approach has certain limitations. For instance, the precise determination of uncertainty set ranges prior to model training poses a challenge, despite its pronounced influence on model outcomes. In practical applications, we recommend that users integrate domain expertise with predetermined hyperparameter settings for the uncertainty set and test the parameters on a limited subset of data before embarking on large-scale training. We expect that further investigation into determination of the uncertainty set will be conducted in future studies.
Experimental procedures
Resource availability
Lead contact
Further information, questions, and requests should be sent to Kun Kuang (kunkuang@zju.edu.cn).
Materials availability
This study did not involve any physical materials.
Data and code availability
Our source code is available at GitHub (https://github.com/Zitao-Shuai/FedUFO) and has been archived at Zenodo.58
Datasets
We conducted our experiments on four medical datasets: (1) prostate cancer datasets from the US (prostate),59 (2) a fetal state dataset of cardiotocography (fetal),60 (3) a COVID-19 dataset of Brazilian patients (COVID-19);61 and (4) a support dataset of seriously ill hospitalized adults (support).62
All the datasets were tabular and were used for classification. (1) The prostate dataset has been widely used for forecasting tumor types. We selected features, such as age at diagnosis, race, sex, year of diagnosis, site, morphology group, and therapy group, in the period 2017–2020, from the Surveillance, Epidemiology, and End Results (SEER) database. For data preprocessing, we used the site recode ICD-O-3/WHO 2008 as the target variable. We recoded the top nine attributes based on the number of samples as nine classes and recoded the remaining attributes as the tenth class. Therefore, we constructed a 10-classification task. Then, we transformed the other input features into the one-hot coding form and dropped the data records with null value. Ultimately, 287,237 data records and 66 features were obtained. For the remaining datasets, we followed the method of data processing described by Seedat et al.63 and dropped the rows with null values. (2) The fetal cardio dataset is a 10-classification dataset used to identify cardiovascular diseases. Ultimately, 2,123 data records and 35 features were obtained. (3) The COVID-19 dataset is a binary classification dataset used to analyze the relationship between several factors and deaths caused by COVID-19.64 For this dataset, 6,882 data records and 44 features were obtained. (4) The support dataset is another popular dataset used in digital medical analyses. For this dataset, we obtained 1,000 data records and 30 features.
The fairness of algorithms for sensitive attributes (e.g., age, sex, and race) is an important concern. In this study, we took sex as an example and ran comprehensive experiments on the prostate and COVID-19 datasets to evaluate the performance of different algorithms in terms of fairness.
For training and evaluation, the dataset was randomly divided into two parts. The first part accounted for 20% of the total dataset and was used to evaluate the equalized opportunity of the models. The second part was used as the primary dataset for subsequent experiments. Given N clients, we used the Latent Dirichlet Allocation (LDA)65,66 algorithm to divide the second part into N parts for each client. The non-IID (independent and identically distributed) degree of these datasets was controlled by the hyperparameter α of the algorithm. For each client, we randomly divided the dataset into sets with 80% and 20% of the data. The set with 80% of the data was used as the training set, and the set with 20% of the data was used for testing.
The detailed breakdown of the distribution of each dataset is shown in Table 11.
Table 11.
Detailed breakdown of the distribution of datasets
| Fetal state dataset of cardiotocography: Training distribution | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| α = 10,000 | Attr 1 | Attr 2 | Attr 3 | Attr 4 | Attr 5 | Attr 6 | Attr 7 | Attr 8 | Attr 9 | Attr 10 | |
| Client 1 | 126 | 179 | 17 | 24 | 20 | 109 | 80 | 35 | 23 | 63 | |
| Client 2 | 122 | 193 | 19 | 26 | 22 | 106 | 81 | 31 | 21 | 63 | |
| Fetal state dataset of cardiotocography: Test distribution | |||||||||||
| α = 10,000 | Attr 1 | Attr 2 | Attr 3 | Attr 4 | Attr 5 | Attr 6 | Attr 7 | Attr 8 | Attr 9 | Attr 10 | |
| Client 1 | 27 | 53 | 5 | 8 | 6 | 24 | 18 | 6 | 3 | 19 | |
| Client 2 | 31 | 40 | 5 | 6 | 6 | 30 | 19 | 10 | 5 | 19 | |
| Prostate cancer datasets from the US: Training distribution | |||||||||||
| α = 10 | Attr 1 | Attr 2 | Attr 3 | Attr 4 | Attr 5 | Attr 6 | Attr 7 | Attr 8 | Attr 9 | Attr 10 | Attr 11 |
| Client 1 | 23,632 | 7,288 | 5,697 | 5,265 | 6,127 | 5,074 | 3,673 | 3,809 | 3,021 | 3,270 | 28,575 |
| Client 2 | 31,458 | 6,305 | 5,549 | 5,855 | 3,280 | 2,777 | 2,329 | 1,753 | 2,351 | 1,306 | 25,437 |
| Prostate cancer datasets from the US: Test distribution | |||||||||||
| α = 10 | Attr 1 | Attr 2 | Attr 3 | Attr 4 | Attr 5 | Attr 6 | Attr 7 | Attr 8 | Attr 9 | Attr 10 | Attr 11 |
| Client 1 | 5,789 | 1,847 | 1,438 | 1,375 | 1,507 | 1,274 | 941 | 1,009 | 782 | 820 | 7,076 |
| Client 2 | 7,740 | 1,690 | 1,380 | 1,405 | 846 | 722 | 575 | 392 | 607 | 344 | 6,399 |
| COVID-19 dataset: Training distribution | COVID-19 dataset: Test distribution | ||||||||||
| α = 0.5 | Attr 1 | Attr 2 | α = 0.5 | Attr 1 | Attr 2 | ||||||
| Client 1 | 1,500 | 1,332 | Client 1 | 359 | 349 | ||||||
| Client 2 | 834 | 738 | Client 2 | 195 | 198 | ||||||
| Support dataset: Training distribution | Support dataset: Test distribution | ||||||||||
| α = 0.1 | Attr 1 | Attr 2 | α = 0.1 | Attr 1 | Attr 2 | ||||||
| Client 1 | 171 | 329 | Client 1 | 49 | 76 | ||||||
| Client 2 | 35 | 105 | Client 2 | 8 | 27 | ||||||
Compared methods
We used the following baselines as our comparison methods: FedAvg,10 AFL,24 q-FedAvg,23 FairFed,47 and Poulain’s FairFedAvg.48 FedAvg is a classic baseline of the FL domain that simply aggregates local models with equal weights. AFL and q-FedAvg are two popular FL methods aiming to alleviate unfairness at the client level, while FairFed47 and Poulain’s FairFedAvg48 are two state-of-the-art attribute-level methods. We also trained local models on the clients’ own training datasets (called local). Additionally, we trained a model on the union of the training dataset for each client in a centralized setting (called global).
Experimental settings
Model structure and hyperparameter setting
For the smaller datasets, COVID-19, fetal, and support, we utilized a 64-dimension fully connected (FC) layer as our backbone network. We set the learning rate between 5e−1 and 5e−4 for the global method and 0.01 for the other methods, and the batch size to 32. The number of local training epochs, E, was set to five. For the Prostate dataset, we utilized a 256-dimensional FC layer as the backbone network. We set the learning rate of the global method to 5e−3 and 1e−3 for the other methods, and the batch size to 128. The number of epochs of the local iterations was set to two. The number of communications for each dataset was set to ten. All the methods shared the same network structure. We used the Adam67 algorithm as the optimizer in our experiments. For the main experiment, the γ value for all the methods ranged from 1 to 10 for the prostate and support datasets and from 1e−6 to 1e−2 for the fetal and COVID-19 datasets. In the main experiment, the β value used to measure the attribute-level and client-level fairness was set to 5e−1, and the radius was set to 1e−4.
Model selection and evaluation
For each method, we restored the model at each checkpoint after five communications and selected the model for evaluation based on its total loss in all training datasets. We used the standard deviation of the accuracy of model on different clients to measure client-level fairness and the standard deviation of the accuracy of model on different attributes to measure attribute-level fairness. For multilevel fairness, we used the harmonic average of client-level fairness and attribute-level fairness as the evaluation metric. To measure agnostic fairness, we split a given dataset into two different non-independent and identically distributed (i.i.d.) degrees. First, we trained the models under one of the partitions in a federated setting and then evaluated the aggregated model for the other partition.
Supplemental information
Appendix A presents the convergence rates of the proposed FedUFO algorithm and its theoretical guarantees. In Appendix B, we discuss the effect of the size of the uncertainty set in FedUFO on the fairness and performance of the federated model, showing why we used an uncertainty set that is considerably large and may lead to failure theoretically. In Appendix C, we provide additional experimental results for multilevel fairness (Table S1) and agnostic distribution fairness (Table S2) to demonstrate the effectiveness of our solution, FedUFO.
Acknowledgments
This work was supported by the National Key Research and Development Project of China (2021ZD0110700) and the National Natural Science Foundation of China (U19B2043, 62006207).
Author contributions
F.Z., Z.S., K.K., F.W., Y.Z., and J.X. conceived the study. The methods used in the study were developed by F.Z. and K.K. Z.S. conducted the experiments. All the authors contributed to the methodology and drafted the manuscript.
Declaration of interests
The authors declare no competing interests.
Published: December 28, 2023
Footnotes
Supplemental information can be found online at https://doi.org/10.1016/j.patter.2023.100907.
Supplemental information
References
- 1.Yang G., Yu S., Dong H., Slabaugh G., Dragotti P.L., Ye X., Liu F., Arridge S., Keegan J., Guo Y., Firmin D. Dagan: Deep de-aliasing generative adversarial networks for fast compressed sensing mri reconstruction. IEEE Trans. Med. Imag. 2018;37:1310–1321. doi: 10.1109/TMI.2017.2785879. [DOI] [PubMed] [Google Scholar]
- 2.Bakas S., Akbari H., Sotiras A., Bilello M., Rozycki M., Kirby J.S., Freymann J.B., Farahani K., Davatzikos C. Advancing the cancer genome atlas glioma mri collections with expert segmentation labels and radiomic features. Sci. Data. 2017;4:170117. doi: 10.1038/sdata.2017.117. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Li X., Dvornek N.C., Zhou Y., Zhuang J., Ventola P., Duncan J.S. Medical Image Computing and Computer Assisted Intervention–MICCAI 2019: 22nd International Conference, Shenzhen, China, October 13–17, Proceedings, Part V 22. Springer; 2019. Graph neural network for interpreting task-fmri biomarkers; pp. 485–493. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Li X., Zhou Y., Dvornek N., Zhang M., Gao S., Zhuang J., Scheinost D., Staib L.H., Ventola P., Duncan J.S. Braingnn: Interpretable brain graph neural network for fmri analysis. Med. Image Anal. 2021;74 doi: 10.1016/j.media.2021.102233. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Dou Q., Chen H., Yu L., Zhao L., Qin J., Wang D., Mok V.C., Shi L., Heng P.A. Automatic detection of cerebral microbleeds from mr images via 3d convolutional neural networks. IEEE Trans. Med. Imag. 2016;35:1182–1195. doi: 10.1109/TMI.2016.2528129. [DOI] [PubMed] [Google Scholar]
- 6.Wang W.-Y., Zhou H., Wang Y.-F., Sang B.-S., Liu L. Current policies and measures on the development of traditional chinese medicine in China. Pharmacol. Res. 2021;163 doi: 10.1016/j.phrs.2020.105187. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Rieke N., Hancox J., Li W., Milletarì F., Roth H.R., Albarqouni S., Bakas S., Galtier M.N., Landman B.A., Maier-Hein K., et al. The future of digital health with federated learning. NPJ Digit. Med. 2020;3:119. doi: 10.1038/s41746-020-00323-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Li X., Gu Y., Dvornek N., Staib L.H., Ventola P., Duncan J.S. Multi-site fmri analysis using privacy-preserving federated learning and domain adaptation: Abide results. Med. Image Anal. 2020;65 doi: 10.1016/j.media.2020.101765. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Sheller M.J., Edwards B., Reina G.A., Martin J., Pati S., Kotrotsou A., Milchenko M., Xu W., Marcus D., Colen R.R., Bakas S. Federated learning in medicine: facilitating multi-institutional collaborations without sharing patient data. Sci. Rep. 2020;10 doi: 10.1038/s41598-020-69250-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.McMahan B., Moore E., Ramage D., Hampson S., y Arcas B.A. Artificial Intelligence and Statistics. PMLR; 2017. Communication-efficient learning of deep networks from decentralized data; pp. 1273–1282. [Google Scholar]
- 11.Zhu W., Luo J., White A.D. Federated learning of molecular properties with graph neural networks in a heterogeneous setting. Patterns. 2022;3:100521. doi: 10.1016/j.patter.2022.100521. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Sav S., Bossuat J.-P., Troncoso-Pastoriza J.R., Claassen M., Hubaux J.P. Privacy-preserving federated neural network learning for disease-associated cell classification. Patterns. 2022;3:100487. doi: 10.1016/j.patter.2022.100487. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Li Z., Mao F., Wu C. Can we share models if sharing data is not an option? Patterns. 2022;3 doi: 10.1016/j.patter.2022.100603. https://www.sciencedirect.com/science/article/pii/S2666389922002288 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Li X., Zhao S., Chen C., Zheng Z. Heterogeneity-aware fair federated learning. Inf. Sci. 2023;619:968–986. [Google Scholar]
- 15.Li Z., Shang X., He R., Lin T., Wu C. No fear of classifier biases: Neural collapse inspired federated learning with synthetic and fixed classifier. arXiv. 2023 Preprint at. [Google Scholar]
- 16.Zhou Z., Chu L., Liu C., Wang L., Pei J., Zhang Y. Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining. 2021. Towards fair federated learning; pp. 4100–4101. [Google Scholar]
- 17.Zhao Y., Li M., Lai L.N., Suda N., Civin D., Chandra V. Federated learning with non-iid data. arXiv. 2018 Preprint at. [Google Scholar]
- 18.Yu F., Rawat A.S., Menon A., Kumar S. International Conference on Machine Learning. PMLR; 2020. Federated learning with only positive labels; pp. 10946–10956. [Google Scholar]
- 19.Zhang J., Li C., Robles-Kelly A., Kankanhalli M. Hierarchically fair federated learning. arXiv. 2020 Preprint at. [Google Scholar]
- 20.Lyu L., Xu X., Wang Q., Yu H. Collaborative fairness in federated learning. Federated Learning: Privacy and Incentive. 2020:189–204. [Google Scholar]
- 21.Deng Y., Lyu F., Ren J., Chen Y.-C., Yang P., Zhou Y., Zhang Y. IEEE INFOCOM 2021-IEEE Conference on Computer Communications. IEEE; 2021. Fair: Quality-aware federated learning with precise user incentive and model aggregation; pp. 1–10. [Google Scholar]
- 22.Papadaki A., Martinez N., Bertran M., Sapiro G., Rodrigues M. Minimax demographic group fairness in federated learning. arXiv. 2022 Preprint at. [Google Scholar]
- 23.Li T., Sanjabi M., Beirami A., Smith V. Fair resource allocation in federated learning. arXiv. 2019 Preprint at. [Google Scholar]
- 24.Mohri M., Sivek G., Suresh A.T. International Conference on Machine Learning. PMLR; 2019. Agnostic federated learning; pp. 4615–4625. [Google Scholar]
- 25.Li T., Beirami A., Sanjabi M., Smith V. Tilted empirical risk minimization. arXiv. 2020 Preprint at. [Google Scholar]
- 26.Horvath S., Laskaridis S., Almeida M., Leontiadis I., Venieris S., Lane N. Fjord: Fair and accurate federated learning under heterogeneous targets with ordered dropout. Adv. Neural Inf. Process. 2021;34:12876–12889. [Google Scholar]
- 27.Deng Y., Kamani M.M., Mahdavi M. NeurIPS; 2020. Distributionally Robust Federated Averaging. [Google Scholar]
- 28.Ro J., Chen M., Mathews R., Mohri M., Suresh A.T. Communicationefficient agnostic federated averaging. arXiv. 2021 Preprint at. [Google Scholar]
- 29.Li T., Hu S., Beirami A., Smith V. International Conference on Machine Learning. PMLR; 2021. Ditto: Fair and robust federated learning through personalization; pp. 6357–6368. [Google Scholar]
- 30.Chu W., Xie C., Wang B., Li L., Yin L., Zhao H., Li B. Focus: Fairness via agent-awareness for federated learning on heterogeneous data. arXiv. 2022 Preprint at. [Google Scholar]
- 31.Hanzely F., Richt'arik P. Federated learning of a mixture of global and local models. arXiv. 2020 Preprint at. [Google Scholar]
- 32.Deng Y., Kamani M.M., Mahdavi M. Adaptive personalized federated learning. arXiv. 2020 Preprint at. [Google Scholar]
- 33.Mansour Y., Mohri M., Ro J., Suresh A.T. Three approaches for personalization with applications to federated learning. arXiv. 2020 Preprint at. [Google Scholar]
- 34.Wang Z., Fan X., Qi J., Wen C., Wang C., Yu R. IJCAI; 2021. Federated Learning with Fair Averaging. [Google Scholar]
- 35.Kairouz P., McMahan H.B., Avent B., Bellet A., Bennis M., Bhagoji A.N., Bonawitz K., Charles Z., Cormode G., Cummings R., et al. Advances and open problems in federated learning. arXiv. 2019 Preprint at. [Google Scholar]
- 36.Yang Q., Liu Y., Chen T., Tong Y. Federated machine learning: Concept and applications. ACM Trans. Intell. Syst. Technol. (TIST) 2019;10:1–19. [Google Scholar]
- 37.Rahman K.M.J., Ahmed F., Akhter N., Hasan M., Amin R., Aziz K.E., Islam A.K.M.M., Mukta M.S.H., Islam A.K.M.N. Challenges, applications and design aspects of federated learning: A survey. IEEE Access. 2021;9:124682–124700. [Google Scholar]
- 38.Duchi J., Namkoong H. Variance-based regularization with convex objectives. NeurIPS. 2017 [Google Scholar]
- 39.Namkoong H., Duchi J.C. Stochastic gradient methods for distributionally robust optimization with f-divergences. NIPS (News Physiol. Sci.) 2016;29:2208–2216. [Google Scholar]
- 40.Cotter A., Jiang H., Gupta M.R., Wang S., Narayan T., You S., Sridharan K. Optimization with non-differentiable constraints with applications to fairness, recall, churn, and other goals. J. Mach. Learn. Res. 2019;20:1–59. [Google Scholar]
- 41.Hu W., Niu G., Sato I., Sugiyama M. International Conference on Machine Learning. PMLR; 2018. Does distributionally robust supervised learning give robust classifiers? pp. 2029–2037. [Google Scholar]
- 42.Sagawa S., Koh P.W., Hashimoto T.B., Liang P. 2020. Distributionally Robust Neural Networks ICLR. [Google Scholar]
- 43.Liu J., Shen Z., Cui P., Zhou L., Kuang K., Li B., Lin Y. Stable adversarial learning under distributional shifts. Proc. AAAI Conf. Artif. Intell. 2021;35:8662–8670. [Google Scholar]
- 44.Duchi J., Shalev-Shwartz S., Singer Y., Chandra T. Proceedings of the 25th international conference on Machine learning. 2008. Efficient projections onto the l 1-ball for learning in high dimensions; pp. 272–279. [Google Scholar]
- 45.Rawls J. Harvard University Press; 2001. Justice as Fairness: A Restatement. [Google Scholar]
- 46.Hsu T.-M.H., Qi H., Brown M. Measuring the effects of non-identical data distribution for federated visual classification. arXiv. 2019 Preprint at. [Google Scholar]
- 47.Ezzeldin Y.H., Yan S., He C., Ferrara E., Avestimehr A.S. Fairfed: Enabling group fairness in federated learning. Proc. AAAI Conf. Artif. Intell. 2023;37:7494–7502. [Google Scholar]
- 48.Poulain R., Bin Tarek M.F., Beheshti R. Proceedings of the 2023 ACM Conference on Fairness, Accountability, and Transparency. 2023. Improving fairness in ai models on electronic health records: The case for federated learning methods; pp. 1599–1608. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 49.Pfohl S.R., Foryciarz A., Shah N.H. An empirical characterization of fair machine learning for clinical risk prediction. J. Biomed. Inf. 2021;113 doi: 10.1016/j.jbi.2020.103621. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 50.Barocas S., Selbst A.D. Big data’s disparate impact. Calif. Law Rev. 2016;104:671. [Google Scholar]
- 51.Woodworth B., Gunasekar S., Ohannessian M.I., Srebro N. Conference on Learning Theory. PMLR; 2017. Learning non-discriminatory predictors; pp. 1920–1953. [Google Scholar]
- 52.Zhang D.Y., Kou Z., Wang D. 2020 IEEE International Conference on Big Data (Big Data) IEEE; 2020. Fairfl: A fair federated learning approach to reducing demographic bias in privacy-sensitive classification models; pp. 1051–1060. [Google Scholar]
- 53.Hao W., El-Khamy M., Lee J., Zhang J., Liang K.J., Chen C., Duke L.C. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2021. Towards fair federated learning with zero-shot data augmentation; pp. 3310–3319. [Google Scholar]
- 54.Du W., Xu D., Wu X., Tong H. Proceedings of the 2021 SIAM International Conference on Data Mining (SDM) SIAM; 2021. Fairness-aware agnostic federated learning; pp. 181–189. [Google Scholar]
- 55.Cui S., Pan W., Liang J., Zhang C., Wang F. Addressing algorithmic disparity and performance inconsistency in federated learning. Adv. Neural Inf. Process. 2021;34 [Google Scholar]
- 56.Hong J., Zhu Z., Yu S., Wang Z., Dodge H.H., Zhou J. Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining. 2021. Federated adversarial debiasing for fair and transferable representations; pp. 617–627. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 57.Hardt M., Price E., Srebro N. Equality of opportunity in supervised learning. NeurIPS. 2016;29:3315–3323. [Google Scholar]
- 58.Zhang F., Shuai Z., Kuang K., Wu F., Zhuang Y., Xiao J. 2023. Code, datasets, and results for the paper "Unified Fair Federated Learning for Digital Healthcare". [DOI] [PMC free article] [PubMed] [Google Scholar]
- 59.Duggan M.A., Anderson W.F., Altekruse S., Penberthy L., Sherman M.E. The surveillance, epidemiology and end results (seer) program and pathology: towards strengthening the critical relationship. Am. J. Surg. Pathol. 2016;40:e94–e102. doi: 10.1097/PAS.0000000000000749. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 60.Ayres-de Campos D., Bernardes J., Garrido A., Marques-de-Sá J., Pereira-Leite L. Sisporto 2.0: a program for automated analysis of cardiotocograms. J. Matern. Fetal Med. 2000;9:311–318. doi: 10.1002/1520-6661(200009/10)9:5<311::AID-MFM12>3.0.CO;2-9. [DOI] [PubMed] [Google Scholar]
- 61.Baqui P., Bica I., Marra V., Ercole A., van Der Schaar M. Ethnic and regional variations in hospital mortality from COVID-19 in brazil: a cross-sectional observational study. Lancet Global Health. 2020;8:e1018–e1026. doi: 10.1016/S2214-109X(20)30285-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 62.Knaus W.A., Harrell F.E., Lynn J., Goldman L., Phillips R.S., Connors A.F., Dawson N.V., Fulkerson W.J., Califf R.M., Desbiens N., et al. The support prognostic model: Objective estimates of survival for seriously ill hospitalized adults. Ann. Intern. Med. 1995;122:191–203. doi: 10.7326/0003-4819-122-3-199502010-00007. [DOI] [PubMed] [Google Scholar]
- 63.Seedat N.J., Crabb'e J., Bica I., van der Schaar M. Data-iq: Characterizing subgroups with heterogeneous outcomes in tabular data. Adv. Neural Inf. Process. 2022;35:23660–23674. [Google Scholar]
- 64.Wang W.-Y., Xie Y., Zhou H., Liu L. Contribution of traditional chinese medicine to the treatment of COVID-19. Phytomedicine. 2021;85 doi: 10.1016/j.phymed.2020.153279. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 65.Blei D.M., Ng A.Y., Jordan M.I. Latent dirichlet allocation. J. Mach. Learn. Res. 2003;3:993–1022. [Google Scholar]
- 66.Wang Y., Tong Y., Shi D. Federated latent dirichlet allocation: A local differential privacy based framework. Proc. AAAI Conf. Artif. Intell. 2020;34:6283–6290. [Google Scholar]
- 67.Kingma D.P., Ba J. Adam: A method for stochastic optimization. arXiv. 2014 Preprint at. [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
Our source code is available at GitHub (https://github.com/Zitao-Shuai/FedUFO) and has been archived at Zenodo.58




