Manuscript Offprint
arXiv:2611.03257Rethinking Fairness Metrics for Multi-Class and Multi-Group Assessment: Not Everything is Binary
MATTEO GRAZIOSO, Department of Environmental Sciences, Informatics and Statistics, Ca' Foscari University of Venice, Italy
FABIO NACCARELLA, Department of Environmental Sciences, Informatics and Statistics, Ca' Foscari University of Venice, Italy
CHIARA GALLESE, Tilburg Institute for Law, Technology, and Society, Tilburg University, The Netherlands
MARCO S. NOBILE, Department of Environmental Sciences, Informatics and Statistics, Ca' Foscari University of Venice, Italy and European Center for Living Technologies (ECLT), Italy
Artificial Intelligence, and Machine Learning in general, is becoming pervasive across all domains and disciplines. By means of this data-driven approach, algorithms can learn complex task just by learning from samples. However, if the data-set is biased, they might lead to the development of unfair computer systems, that is, characterised by a prejudice towards specific individuals or groups, which might get an unmotivated output from the system. This circumstance lead to the development of multiple metrics designed to quantify the level of unfairness of an algorithm. However, a generalised assumption in the literature is that the sensitive features and the output labels are binary. When the data is not binary, it is forcefully binarized using a one-versus-the-rest simplification. In this work, we discuss the limitations of existing metrics and propose novel, mathematically sound, and generalized multi-group and multi-class formulations of the metrics. Ultimately, our results highlight the empirical assessment distortion caused by binarization strategies, which reveals the limitations of binary fairness metrics in the multi class setting.
Additional Key Words and Phrases: algorithmic fairness, group fairness metrics, multi-class classification, intersectionality, non-discrimination law, EU AI Act
1 Introduction
Computer Systems have long been known to embed values and reproduce existing biases, leading to discriminatory outcomes, due both to the way they are developed and the way they are used. As Friedman and Nissenbaum argued [22], they may systematically disadvantage individuals or groups through three different biases: pre-existing bias, rooted in social institutions and practices; technical bias, arising from design constraints and formalisation choices; emergent bias, which materialises only in the context of use. Models trained on historical records may inherit the patterns of disadvantage sedimented in them, even in absence of discriminatory intent or explicit reliance on protected characteristics [5, 48]. Algorithmic decision-making thus brings epistemic and normative issues, such as unfair outcomes, that cannot be dissociated from its social context [35].
Notwithstanding this, in recent years the adoption of data-driven systems for decision making has skyrocketed, consistently spreading across all disciplines; advanced Artificial Intelligence (AI) and Machine Learning (ML) models were introduced into high-stakes domains, sometimes achieving remarkable performances [10], some other times bringing negative consequences [18]. For example, AI systems have been used to screen Curriculum Vitae of job candidates [2], assess cardiac functionality [36], identify suspects in criminal investigations [23], or for border control
Both authors contributed equally to this research.
Authors' Contact Information: Matteo Grazioso, matteo.grazioso@unive.it, Department of Environmental Sciences, Informatics and Statistics, Ca' Foscari University of Venice, Venice, Italy; Fabio Naccarella, 900619@stud.unive.it, Department of Environmental Sciences, Informatics and Statistics, Ca' Foscari University of Venice, Venice, Italy; Chiara Gallese, C.Gallese@tilburguniversity.edu, Tilburg Institute for Law, Technology, and Society, Tilburg University, Tilburg, The Netherlands; Marco S. Nobile, marco.nobile@unive.it, Department of Environmental Sciences, Informatics and Statistics, Ca' Foscari University of Venice, Venice, Italy and European Center for Living Technologies (ECLT), Venice, Italy.
purposes [9]. AI systems can even be deployed in autonomous weapons [20]. Such a large-scale adoption raised significant concerns, for example regarding data protection, trust, reliability, or transparency.
To address these concerns, some modern legislative frameworks enforce strict provisions and requirements for developers, deployers and users. One example is the General Data Protection Regulation (GDPR) [19]. Article 22 restricts decisions based solely on automated processing that produce legal or similarly significant effects. Article 15(1)(h) grants access to meaningful information about the logic involved. The reference to an explanation of the decision appears only in non-binding Recital 71. Nevertheless, the Court of Justice has held that Article 15(1)(h) requires an intelligible explanation of the procedure and principles actually applied, sufficient to enable the data subject to contest the decision (C-203/22, Dun and Bradstreet Austria, 2025). The European Union's Artificial Intelligence Act (EU AI Act) [1] identifies a number of AI fields that impact citizens' fundamental rights and liberties, classifying them as high-risk systems, and imposing stringent requirements, such as data-governance duty to examine data for possible biases and to take appropriate measures, interpretability of the system's output, appropriate usage of their models, traceability and monitoring of the systems throughout their lifecycle. According to Regulation (EU) 2026/1744 (Digital Omnibus on AI), these obligations apply to Annex III systems from 2 December 2027. However, neither instrument specifies how bias is to be measured, and the choice of fairness criteria and metrics is left to providers, to standardisation and, ultimately, to the interpretation of Union non-discrimination law.
These obligations, however, do not by themselves ensure that automated decisions are non-discriminatory. Algorithmic discrimination typically operates through proxy variables rather than through explicit reliance on protected characteristics. It is therefore predominantly the doctrine of indirect discrimination that is engaged. Under Union law, indirect discrimination occurs where an apparently neutral provision, criterion or practice would put persons sharing a protected characteristic at a particular disadvantage compared with other persons, unless it is objectively justified by a legitimate aim and the means of achieving that aim are appropriate and necessary (Article 2(2)(b) of Directive 2000/43/EC; Article 2(2)(b) of Directive 2000/78/EC; Article 2(1)(b) of Directive 2006/54/EC). Since the definition refers to a disadvantage that a practice would produce, it does not presuppose that harm has materialised. It can therefore be assessed ex ante, which is precisely the function of a fairness audit.
From a technical perspective, within discriminatory issues that arise from CSs (Computer Systems) development, research has identified problems related to training data and model or feature selection. To identify, mitigate, and overcome these problems, a variety of fairness checks have been proposed both at the data and the model level. However, fairness is a concept that is difficult to achieve and whose definition is not agreed upon. Research has shown that different fairness concepts can be incompatible with each other and the most prominent metrics cannot in general be jointly satisfied, making perfect fairness a difficult target [12, 31]. A further problem concerns the dimensionality of the decision itself. The debate has been shaped by binary paradigms, but many legally relevant decisions are not binary (credit tiers, triage levels, academic outcomes), and protected characteristics are frequently multi-valued and intersecting [14].
What is required, therefore, is a reasoned selection of the criterion appropriate to the decisional context, together with a measurement instrument that faithfully represents the disparities relevant to it. Barocas, Hardt and Narayanan [5] trace group-fairness metrics to three observational criteria: Independence, Separation and Sufficiency. Building on their account, we adopt what we term a criteria-first approach, in which metrics are derived from, and evaluated against, the criterion they operationalise. Specifically, we extend binary group fairness metrics to multi-class and multi-group settings under Barocas et al.'s foundational probabilistic criteria; extend theoretical proofs
1:3
regarding the mutual exclusivity of these criteria to multi-class scenarios; empirically quantify the distortion gaps induces by binarization paradigms and finally introduce an open-source library for multi-class and multi-group fairness auditing. The framework does not propose to automate the legal assessment of discrimination. It seeks, rather, to ensure that the statistical evidence on which such an assessment may rely is computed on the decision as actually taken.
The remainder of this manuscript is structured as follow. Section 2 review the State-of-the-Art on algorithmic fairness and existing classification metrics. Section 3 presents our multi-class metrics extensions categorized by foundational probabilistic criteria. Section 4 discusses the mutual exclusivity and co-existence of the aforementioned criteria. Section 5 first introduces our open-source library for binary, multi-class, and multi-group fairness evaluation, followed by the experimental setup and empirical comparison between native multi-class assessment and binary reduction approaches. Finally, Section 6 draws conclusions and discusses future research directions.
Bias – Following Friedman and Nissenbaum [22], bias denotes a systematic and unfair tendency of a computer system to disadvantage certain individuals or groups in favour of others. It is distinct from statistical bias, i.e., the systematic deviation of an estimator from the quantity it estimates. Bias may originate at any stage of the ML lifecycle [45]. Because sensitive information may be redundantly encoded in other features (e.g., proxy variables), excluding sensitive attributes may not remove bias [5, 48]. Moreover, automated systems may operate within feedback loops in which biased outputs shape future training data [6, 41].
Discrimination – It is a legal concept that varies depending on the specific legal system. European Union law recognises two principal forms: direct discrimination occurs where a person is treated less favourably than another is, has been or would be treated in a comparable situation, on a protected ground. It admits only the exceptions expressly provided by law; indirect discrimination occurs where an apparently neutral provision, criterion or practice puts persons sharing a protected characteristic at a particular disadvantage compared with others, absent objective justification [48]. Bias is thus a possible cause of discrimination, but it is not an equivalent concept. A statistical disparity, that is, the probability of an outcome is different across demographic groups, does not necessarily constitute discrimination. It may, however, establish facts from which discrimination can be presumed, shifting to the respondent the burden of proving that the principle of equal treatment has not been breached (Article 8 of Directive 2000/43/EC). Whether the disadvantage is “particular” and whether it is justified remain contextual determinations is ultimately reserved to the courts [48].
Fairness – This is the most contested of the three notions. In the technical literature, it is commonly defined as a quantity to be minimized, as the absence of prejudice or favouritism towards individuals or groups on the basis of inherent or acquired characteristics [34]. Operationally, fairness is rendered through formal criteria that constrain the joint distribution of predictions, outcomes and group membership [35]. Each criterion encodes a specific conception of equality, and the choice ultimately depends on the value systems of a society [46–48].
Two further notions recur throughout this paper. First, we call sensitive attribute a variable that encodes the membership to groups defined by a protected ground. Protected grounds are legal categories in the domain of anti-discrimination law (see, e.g., Article 19 TFEU and Article 21 of the Charter of Fundamental Rights). A sensitive attribute is the representation of such categories in data, which may be absent, inferred or proxied. Although the terms sensitive and protected are often used interchangeably, they should be kept distinct. Neither notion coincides with the special categories of personal data under Article 9 GDPR, which include racial or ethnic origin and health but not sex or age. Second, control variables (or strata) are features regarded as legitimate grounds for differentiated outcomes, such as qualifications or credit history. Conditioning on them yields conditional variants of the fairness criteria [13]. Their legitimacy is itself a normative determination, functionally analogous to objective justification in indirect discrimination. Moreover, conditioning on a variable that acts as a proxy for the protected ground may mask disparity [47, 48].
Mitigation techniques are conventionally classified as pre-, in- or post-processing, according to whether they intervene on the data, on the learning objective, or on the predictions of a trained model. Each approach implies the measurement of a disparity to be corrected. Data-level instruments such as FanFAIR [24, 25, 42] complement model-level metrics in this respect. For a more detailed analysis, prior literature provides foundational overviews [11, 34, 44, 48].
Scientific literature divides algorithmic fairness into three primary paradigms: individual fairness, group fairness, and subgroup fairness [11, 34].
Individual fairness formalised by Dwork et al. [16], requires that similar individuals be treated similarly. The requirement restates the precept that like cases be treated alike, which Hart identified as the core of the idea of justice [29]. Hart also observed that the precept remains empty until the criteria of relevant resemblance and difference are fixed [29]. Individual fairness inherits this incompleteness. Dwork et al. acknowledge that the similarity metric is the crux of the approach and must be supplied externally, and specifying it requires a normative consensus rarely available in practice [16].
Group fairness partitions the population according to the sensitive attribute and requires equality of selected statistics across groups. It is the dominant paradigm [40], which is partly due to its computational tractability, and partly due to its structural analogy with the comparative reasoning of indirect discrimination, an analogy that should not, however, be mistaken for equivalence. Statistical parity neither establishes nor excludes discrimination, and mandates a further assessment of particular disadvantage [48].
Subgroup fairness responds to what Kearns et al. call fairness gerrymandering, by analogy with the electoral practice of drawing district boundaries to secure a predetermined outcome. A classifier may satisfy a parity constraint for each protected attribute taken separately, yet violate it severely on subgroups defined by combinations of attributes, such as Black women [30]. Kearns et al. therefore require parity, for statistical parity and for false positive rates, not over a few predefined groups but over every subgroup in a class defined by functions of the protected attributes. An example of such a class is all conjunctions of attribute values, which can contain exponentially many subgroups. Each subgroup's disparity is weighted by its size. [30]. In addition, the number of intersectional subgroups grows combinatorially with the number of attributes. Many subgroups therefore contain too few individuals for their rates to be estimated reliably, which is why Kearns et al. weight disparities by subgroup size [30]. The present work adopts an intermediate position: intersectional groups are represented explicitly as the Cartesian product of sensitive attributes, within the group-fairness paradigm.
Concerning group fairness, scholars generally rely on formalizations based on probability theory. In particular, seminal literature establishes three criteria for classification problems based on the conditional independence relations among three random variables, namely the sensitive attribute, the true target label, and the predicted label [5]. These criteria are: Independence, Separation, and Sufficiency, which are defined in details in Section 3.2, 3.3 and 3.4, respectively. To simplify the understanding of such criteria, we provide Examples 1, 2, 3, 4, and 5 in Appendix A. We stress the fact that not all criteria are desirable in most scenarios. As an example, clinicians do not require an unjustified equal illness prediction rate across genders, that is, the Independence, because the
1:5
prevalence can be different. On the contrary, both Separation and Sufficiency are typically more relevant in clinical applications. It is worth noting that criteria can be mutually exclusive in real world scenarios. Barocas et al. formally proved that: Independence and Sufficiency are incompatible [5]; Separation and Sufficiency are also incompatible, under the additional assumption that all events have positive probability; Independence and Separation are incompatible in the binary case. Hence it is crucial for practitioners to select the correct metrics, which is problem-dependent.
Kleinberg et al. and Chouldechova obtained analogous results for calibration and error-rate balance [12, 31]. The famous COMPAS risk assessment tool is a prominent example: according to a ProPublica investigation [32], Black defendants who did not reoffend were classified as higher risk at nearly twice the rate of white defendants. The developer replied that the scores were equally predictive across groups [4, 13]. Both claims can be true because, under unequal base rates, the error-rate parity and the predictive parity diverge [12]. Since the precision of a prediction depends on the prevalence of the outcome in the group to which it is applied, a classifier with equal error rates across groups will, when base rates differ, generally yield unequal predictive values, and vice versa [12]. The selection of a criterion is therefore an unavoidable, problem-dependent normative choice. Interestingly, we show in Section 4 that, in the multi-class setting, Independence and Separation can coexist under very specific conditions.
These probabilistic criteria translate directly into the vast “zoo” of fairness metrics [11]. Historically, researchers focused almost exclusively on binary classification problems, because the simple two-class setting drastically minimizes the complexity of the underlying probability distributions. As a matter of fact, multi-class and multi-group settings have received considerably less attention [3] and current literature proposes few extensions such as Demographic Parity [15, 38], Equalized Odds [28], multi-class Equal Opportunity [38, 43] or Overall Misclassification [43]. Section 3 provides a detailed analysis of prior literature and our novelty, whereas Table 1 summarizes the core of this manuscript: presenting the well established binary metric landscape, outlining our proposed multi-class and multi-group taxonomy, and highlighting our contributions to the current literature.
However, modern applications need to shift towards multi-class and multi-group classification landscape. Multi-category scenarios are pretty frequent in real-world applications, but are treated less thoroughly [3], since the extension to such cases introduce mathematical challenges and can spark semantic contradictions due to the use of misleading or conflicting names for the same metrics. This work emerges from that conflict and addresses these structural gaps, as shown in Table 1. The table summarises the state-of-the-art metrics, categorizing the existing multi-class metrics, organized under the three foundational probabilistic criteria. Furthermore, the table shows the major gaps in current literature, particularly in the multi-class scenario. To resolve these limitations, our framework proposes novel metrics that complete the taxonomy, while Section 3 provides the mathematical definitions and formal implementations for each metric listed in the overview.
To overcome the current insufficiency of multi-class metrics, practitioners can deploy a one-vs-rest target binarization strategy to reduce a multi-class classification task into a sequence of binary cases, which can be evaluated using established binary metrics. Although this decomposition simplifies computational execution, it creates a significant blind spot because it merges all remaining categories into a single, heterogeneous baseline group which potentially hides the unique disparities and distinct error profiles that exist between the remaining individual classes, as discussed in Section 5.
3 From Binary to Multi-Class and Multi-Group Fairness Assessment
This Section peruses two primary objectives: (i) mapping empirical evaluation metric to their fairness criterion, hence reorganizing them in a structured unified taxonomy, and (ii) generalizing binary formulations to multi-group and multi-class settings; We first introduce the notation and
1:6
Grazioso et al.
| Criterion | Established Binary Classification Taxonomy | Proposed Multi-class & Multi-group Classification Taxonomy | Earlier Multi-class and Multi-group Works and Our Contributions |
|---|---|---|---|
| Independence | Demographic Parity [11, 34, 37, 40] Conditional Demographic Parity [11, 34] | Demographic Parity | Proposed in [15, 38] |
| Conditional Demographic Parity | Proposed in this Work | ||
| Separation | Equalized Odds [11, 34, 37, 40] Equal Opportunity [11, 34, 37, 40] Predictive Equality [11] Not Binarizable Not Binarizable | Equalized OddsNot generalizable | Proposed in [28] |
| Not generalizableDiagonal Equality | Proposed in [38, 43] | ||
| Off-diagonal Equality | Partially Proposed in [43]; Complete Extension Proposed in this Work | ||
| Sufficiency | Predictive Parity [11] | Multi-class Predictive Parity | Proposed in this Work |
| Accuracy | Equal Accuracy [11] | Equal Accuracy | Proposed in this Work |
Table 1. Current and proposed taxonomy of fairness metrics categorized by foundational probabilistic criteria for binary, multi-class, and multi-group classification settings. Shaded cells highlight our contributions.
then detail the fairness criteria and the corresponding metrics; Appendix A provides illustrative scenarios for each metrics (Examples 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, and 14).
3.1 Notation and Multi-Class Extension Design Choices
3.1.1 Notation. Let be a probability space, where represents the sample space of all possible individuals (or instances), is the set of all possible events, and is the probability measure. Over this space, we define a set of random variables that characterize our classification problem. Let be a random vector representing the observable, non-sensitive features of an individual, namely the Input Feature Space, where , denotes the total number of input features. Let be a discrete random variable representing the protected or sensitive features of an individual (e.g., gender or ethnicity). Our framework explicitly supports multi-valued attributes and intersectional groups, such that where . For conditional fairness criteria, we define the Control Variable Space which represents a set of legitimate control variables or “strata”. Similarly, our framework supports multi-valued and intersectional Control Variables, such that where . Let denote the target variable that the model aims to predict. Our framework support arbitrary label space cardinality, such that the set of categorical labels , where . For the binary classification task, we define . We define a classifier as a function , that
1:7
maps input features to a probability distribution over the classes; the discrete prediction generated by the model is represented by the random variable . The supervised learning and fairness evaluation process operates over a dataset , assumed to be sampled independently and identically distributed (i.i.d.) from the joint probability distribution .
3.1.2 Extension Design Choices. Most foundational fairness metrics were originally designed for binary classification settings, involving only binary sensitive attributes, i.e., between two demographic groups (e.g. male and female cohorts). Transitioning to the case of multi-class / multi-group and classification requires some strategies to generalize binary metrics without obscuring class-specific or group-specific bias.
Single Sensitive Feature Logic and Intersectionality. Real-world audits often require evaluating individuals at the intersection of multiple sensitive attributes. Given a vector of attributes , we compute the Cartesian product of their possible assignments to construct a unified categorical space . That is, we map an attribute matrix into a vector where each unique intersectional profile is mapped to a single distinct integer.
Multi-Dimensional Disparity. When the outcome space is artificially simplified via naive binarization or one-vs-rest reduction approaches, fairness constraints on a single target fail to account for how misclassifications are partitioned across the remaining categories. We can refer to this blind spot as Multi-Dimensional Disparity. To address Multi-Dimensional Disparity, we adopt a Max-Diff Aggregation approach [39]. This formulation is deeply rooted in the Rawlsian principle of justice, which states that the ethical acceptability of a system is bounded by its treatment of the most disadvantaged demographic group [17]. Therefore, the specific metric computes the disparity for every class and returns the maximum observed difference across any pair of groups, thus identifying the worst-case disparity. Specifically, we follow the common approach in the fairness literature and measure the largest absolute disparity across all protected groups. Formally, for a given fairness metric, we define
where denotes the probability associated with predicted class and true class for protected group , whose definition depends on the fairness metric under consideration; , instead, is the control variable strata, present only in the case of Conditional Demographic Parity. Since every probability satisfies , each fairness metric considered in this work also takes values in the interval , where lower values indicate smaller disparities across groups and therefore greater fairness.
Although it is mathematically possible to achieve null fairness disparities, in real-world scenarios it is very unlikely. Consequently, practitioners commonly select a threshold value which identifies the maximum fairness disparity tolerable, i.e., ML models which score Fairness are considered fair enough.
Although in this work we only focus on fairness metrics based on fairness discrepancy between distinct groups, other strategies exist (e.g., Treatment Equality [8], Disparate Impact [21]) Alghamdi et al., proposed multi-class extensions for Statistical Parity, Equalized Odds, and Accuracy Equality based on the relative deviation of group-conditional probabilities from the overall population average, bounded by a prescribed tolerance parameter [3].
1:8
Grazioso et al.
3.2 Rebuilding from the Criteria: Independence
The first group fairness criterion is Independence, which requires that the predictive outcome operates completely independently of the sensitive attribute , i.e. . This criterion ignores the ground truth , which makes it suitable in scenarios where the true label is unavailable or cannot be reliably trusted. Enforcing Independence requires equalizing class selection rates among protected groups, regardless of the ground truth original distribution; consequently, it is said to be a non-conservative criterion because it often forces a change in the status quo, i.e., the true target distribution of each group. Unless the ground truth is perfectly independent of the sensitive attribute, which rarely holds in practice, a “perfect classifier” – a classifier that commits no error – generally does not satisfy Independence.
3.2.1 Demographic Parity. Independence can be evaluated by the group-fairness metric defined in the literature as Demographic Parity (DP), also known as Statistical Parity or simply Group Fairness. This metric demands equal selection rates across protected groups for each target.
In the case of binary classification [11, 34, 37, 40], DP is defined as:
The binary metric requires equal Positive Prediction Rate (PPR), i.e., favourable outcomes, across every group. In the binary setting, demanding equal PPR across protected groups implies equal Negative Prediction Rate (NPR). Scholars proposed the natural extension of DP to support Independence in multi-class, multi-group classification scenario [15, 38]:
In this formulation, DP proves to be the direct implementation of the Independence criterion, requiring equal selection rates across protected groups for each class. Binary DP is clearly a special case of the multi-class DP where the labels are limited to .
3.2.2 Conditional Demographic Parity. Conditional Demographic Parity (CDP), also known as Conditional Statistical Parity, is an extension of the Independence criterion that requires model's predictions to be independent of the sensitive attribute , given a specific set of control variables known as “strata” . Similar to Binary DP, binary CDP was originally defined by comparing only PPR [11, 34]:
Similarly to DP, it implies equal NPR.
In the existing literature, multi-class CDP has received significantly less attention than the other fairness metrics. For that reason, in this work we propose the following multi-class and multi-group CDP generalisation to fill the current gap in the literature:
Once again, binary CDP is a special case of the multi-class CDP where .
3.3 Rebuilding from the Criteria: Separation
The Separation criterion requires the prediction and the sensitive attribute to be conditionally independent given the true label , i.e. . Unlike Independence, Separation requires information about the target , which means it could potentially perpetuate pre-existing bias present in the ground truth . Moreover, Separation is a “conservative” criterion, meaning that a “perfect classifier” () always satisfies the criterion.
1:9
3.3.1 Equalized Odds. EO (Equalized Odds) is the group-fairness metrics that evaluates compliance with Separation for a ML model's predictions. Equalized Odds is satisfied when the confusion matrix looks statistically similar for every sensitive group. Indeed, it is commonly defined as the error-parity metric [11]. It is worth noting that this requirement is strictly stronger than simply imposing equal overall accuracy across protected groups. While EO enforces equal rates for each specific error type among groups, equal overall accuracy aggregates them checking for equal unconditioned misclassification rates. To illustrate this distinction we provide Example 6 in Appendix A. Alternative fairness metrics focusing solely on equal accuracy have been proposed in the literature; they will be described in detail in Section 3.5.
For a binary outcome, Equalized Odds [11, 34, 37, 40] requires both the True Positive Rate (TPR) and False Positive Rate (FPR) to be equal across all protected groups, i.e.:
The literature provides two relaxations for the binary metrics:
-
Equal Opportunity, which focuses on TPR () and guarantees equal False Negative Rate (FNR) as a byproduct;
-
Predictive Equality, which focuses on FPR () and guarantees equal True Negative Rate (TNR) as a byproduct.
Both relaxations will be further analysed in Section 3.3.2.
As observed by Hardt et. al [28], the general definition of the Separation criterion already account for both binary or multi-class targets and sensitive features. Consequently, in the multi-class and multi-group scenario, EO is defined as follows:
Binary Equalized Odds represents a special case of the multi-class formulation; hence, no theoretical differences exist. On the contrary, the binary relaxations cannot be directly extended for multi-class classification. Similarly to the binary scenario, two relaxation are available for the multi-class scenario:
-
Diagonal Equality, which focuses on equal Recall () across groups;
-
Off-diagonal Equality, which focuses on equal off-diagonal misclassification rates () across groups.
3.3.2 Relaxed Separation Criteria. EO mandates strict conditions to be satisfied; thus, scholars developed relaxations that are easier to satisfy. In the binary setting, Equalized Odds relaxations restrict equal probability constraints to individual confusion matrix columns overt the confusion matrices constructed for each groups. Extending the probabilistic metric definitions to the multi-class domain breaks this column-wise alignment. Consequently, Diagonal Equality isolates the main diagonal entries (), conversely, Off-diagonal Equality constrains all off-diagonal entries ( where ). Together, these two multi-class relaxations partition the full confusion matrix, such that satisfying both simultaneously is mathematically equivalent to achieving full multi-class Separation.
Equal Opportunity is the first binary relaxation proposed in the literature, which enforces equal TPR across protected groups [11, 34, 37, 40]:
In the binary setting, enforcing Equal Opportunity across protected groups inherently yields equal complementary rates (i.e., FNR).
1:10
Grazioso et al.
Predictive Equality complements Equal Opportunity by enforcing equal FPR across protected groups [11]:
In this formulation, enforcing Predictive Equality across protected groups inherently requires equal complementary rates (i.e., TNR).
Existing literature uses inconsistent terms when referring to multi-class Equalized Odds relaxation, such as multi-class Equal Opportunity, Overall Accuracy, Overall Misclassification Rate or Max Loss Discrepancy. To resolve this ambiguity, we propose the taxonomy Diagonal Equality and Off-diagonal Equality, whose definitions are given below.
Diagonal Equality is the first multi-class relaxation, and it requires the predictor to score equal recall across every protected group. In other words, it requires the confusion matrices of all protected groups to have identical diagonals. Earlier work by Rouzot et al. presented a multi-class generalization named Equal Opportunity, also known as Overall Accuracy [43]. Although similar to our notion, the authors limited their definition of the metric to a single binary sensitive attribute. Conversely, Purificato et al. [38], proposed the following complete multi-class and multi-group formulation:
Note that in their work, Purificato et al. state that Equation 10 would also apply as the extension of EO in the multi-class and multi-group setting. In contrast, given Hardt et al. definition of Equal Opportunity [28] (see Equation 7), it is clear that the two probabilistic formulations differ, where Equation 10 does not fully enforce Separation Criterion across the whole confusion matrix.
Finally, Off-diagonal Equality mandates equal misclassification rates across protected groups. Rouzot et al. described a multi-class generalization named Overall Misclassification Rate, also known as Max Loss Discrepancy [43], defined as the complementary probability of Diagonal Equality:
Analogously, they limited their definition of the metric to a single binary sensitive attribute. This definition suffers from aggregation, which is a critical limitation similar to the EO vs Equal Accuracy scenario, where Equation 11 only checks for overall misclassification rates, loosing information regarding potential systematic disparities. We tackle this gap in the literature by providing the following multi-group and multi-class generalization named Off-diagonal Equality:
Proposition 1 (Equivalence to Multi-Class Equalized Odds). Satisfying Eq. 12 is mathematically equivalent to satisfying full multi-class Equalized Odds (parity across the entire conditional confusion matrix). (See Proof 1 in Appendix B.)
We stress that this implication only holds when Off-diagonal Equality is strictly satisfied across all targets and protected groups, a condition rarely met in real world scenarios. Hence, introducing this relaxation remains highly relevant as it evaluates purely off-diagonal disparities.
3.4 Rebuilding from the Criteria: Sufficiency
Sufficiency is the third group fairness criterion defined by Barocas et al. [5]. It dictates that the ground truth Y must be independent of any sensitive attribute A, conditioned on the prediction , i.e. . Like Separation, Sufficiency is a “conservative” fairness criterion, meaning that it is always satisfied by a “perfect classifier” ( ). As a consequence, if the ground truth is affected by historical or societal bias, enforcing Sufficiency may perpetuate, rather than mitigate, such biases.
1:11
Unlike Independence and Separation, which adopt the point of view of the individual being evaluated, Sufficiency reflects the perspective of the decision maker. It requires that predictions have the same reliability across protected groups. Although Separation requires similar confusion matrices across protected groups, resulting in equal error rates, Sufficiency requires that individuals receiving the same prediction have the same probability of belonging to the corresponding true class, regardless of their sensitive attribute.
Example 11 in Appendix A highlights the difference between Separation and Sufficiency. Ultimately, Sufficiency is particularly desirable in applications where the reliability of predictions should not depend on sensitive attributes, such as clinical decision support and risk assessment systems.
3.4.1 Predictive Parity. Although Predictive Parity is restricted to and does not fully satisfy Sufficiency for off-diagonal predictions (), it provides coverage for the most most desirable practical guarantee. When decision makers require reliability, the most desirable guarantee is the correctness of positive predictions (e.g., the patient is sick, the loan can be approved); hence, the Sufficiency criterion can be restricted to Positive Predictive Values (PPVs). Originally, scholars provided only the binary interpretation for Predictive Parity [11]:
Notice that this definition only covers and ignores negative predictions (), representing a relaxation of the full Sufficiency criterion, which would also require equal Negative Prediction Values.
To the best of our knowledge, scientific literature only covers Sufficiency in binary scenarios. In this work, we address this gap by proposing a multi-class and multi-group metric extension for Predictive Parity as formalized as follow:
Notice that our multi-class formulation does not generalise the binary definition. As previously stated, the original Predictive Parity restrict equality strictly to assuming a binary scenario. In contrast, our multi-class formulation extends this equal-precision requirement across every label . When evaluated on a binary problem, our method enforces two simultaneous conditions:
which results in a strictly stronger requirement than the standard binary definition.
3.5 Rebuilding from the Criteria: Accuracy
Although Barocas et al. [5] proposed only three criteria (Independence, Separation, Sufficiency), algorithmic fairness literature covers a fourth condition: Accuracy. Formally, Accuracy does not constitute a distinct criterion; mathematically, requiring equal overall accuracy across protected groups does not align with or imply the metrics associated with the three well-established criteria.
We stress once again the difference between requiring equal overall accuracy across protected groups and enforcing Separation (or Sufficiency), where evaluating accuracy alone as a fairness metric can be misleading and may hide severe ML prejudices (see Example 6 in Appendix A). Specifically, Accuracy criteria evaluates unconditional total correctness and restricts only the aggregate proportion of decisions, permitting the model to commit vastly different types of errors across protected groups. Moreover, alongside Separation and Sufficiency, Accuracy is considered a “conservative” criteria because it is trivially satisfied by a “perfect” classifier ().
1:12
Grazioso et al.
3.5.1 Equal Accuracy. Equal Accuracy, also known as Accuracy Parity or Overall Accuracy Equality, is a group fairness metric that, as the name suggests, requires overall prediction accuracy across protected groups. Castelnovo et al. [11] covered the binary setting, which we consequently extend as follows:
Mathematically, the binary and multi-class formulations of Equal Accuracy are structurally equivalent: both compute the total probability mass along the diagonal of the group-specific confusion matrix normalized by total group size. Once more, the binary scenario is simply a special two-class case (). Purificato et al. propose multi-class and multi-group Overall Accuracy Equality [38]:
Note that, despite the similar name, this formulation differs from Equation 16 because it sums the group-wise precisions. Formally, because Overall Accuracy Equality conditions on the predicted label , this metric aligns with the Sufficiency criteria (evaluating predictive reliability) rather than Accuracy criteria. Ultimately, similarly to Equal Accuracy, Overall Accuracy Equality suffers relevant loss of information regarding systematic behaviour, due to aggregation produced by the sum; we thus encourage the use of multi-class Predictive Parity.
4 Mutual Exclusivity and Coexistence of Observational Fairness Criteria
The foundational analysis by Barocas et al. [5] established that key observational fairness criteria – namely Independence, Separation, and Sufficiency – are inherently incompatible in many real-world classification settings. The authors propose cardinality-agnostic proofs (i.e., ) of Independence vs. Sufficiency and Separation vs. Sufficiency under strictly positive joint distributions. Furthermore, they prove the mutual exclusivity of Separation vs. Sufficiency under the binary classification task, and further weakened their assumption to prove that an imperfect classifier cannot simultaneously satisfy Separation and Sufficiency in the limited binary scenario. In the remainder of this Section, we extend the propositions to the multi-class scenario, and more notably, we state that Independence and Separation can coexist under strict conditions (the proofs are shown in Appendix B).
4.1 Mutual Exclusivity of Independence and Separation
To avoid notational ambiguity, we explicitly distinguish between scalar probabilities and their vector representations. Let denote the scalar marginal probability of the true label being . We define the column vector such that its -th component is . Similarly, let be the conditional probability, represented by the column vector . Let and be the corresponding marginal and conditional probability vectors for the predictions.
We define the demographic disparity vector for a given group as which implies that for each element , the disparity is . Let be a column-stochastic matrix of size representing the classifier's conditional probabilities, where each element is defined as . We establish the following base premises for our classification problem: (i) , i.e., there exists at least one group such that , and (ii) .
Proposition 2 (Mutual Exclusion of Independence and Separation). Under the base premises for a multi-class setting (), if the demographic disparity vector does not lie within the null space
1:13
of the classifier matrix (), then the fairness criteria of Independence () and Separation () are mutually exclusive. (See Proof 2 in Appendix B.)
4.2 Coexistence of Independence and Separation
In contrast to the binary classification tasks, Independence and Separation can mathematically coexists under strict conditions in multi-class scenarios.
Proposition 3 (Coexistence of Independence and Separation). Under the base premises for a multi-class setting (), Independence () and Separation () can hold simultaneously if and only if the classifier's conditional probability matrix has a rank and every demographic disparity vector lies entirely within the null space of (i.e., for all ). (See Proof 3 in Appendix B.)
While mathematically sound, satisfying these requirements in real-world applications is exceedingly rare due to a fundamental decoupling between data-driven disparities and model dynamics. On the one hand, the demographic disparity vector reflects intrinsic joint distributions of the underlying population () and remains immutable unless explicitly modified through data pre-processing techniques. On the other hand, the confusion matrix is highly sensitive and non-deterministic; it depends not only on the specific task and dataset, but also on model architecture, optimization choices, and run-specific stochasticity (e.g., random weight initialization and mini-batch shuffling). Consequently, expecting a non-manipulated data disparity vector to naturally align with the null space of a highly volatile, run-dependent classifier matrix is seldom achievable without targeted algorithmic interventions.
4.3 General Mutual Exclusivity of Separation and Sufficiency
Hardt et al. [5] provided a formal proof the mutual exclusivity between Separation and Sufficiency under the assumption of strictly positive probabilities for all events in the joint distribution of . In later formulations, they weakened this assumption to prove mutual exclusivity, yet remained limited to binary classification.
We bridge this literature gap providing a general proof of their mutual exclusivity, weakening the original conditions to the existence of a single class and sensitive group with strictly positive probabilities for the conditional events and .
We assume the following base conditions: (i) , hence such that , and (ii) given which invalidates the statistical independence of and , there exists a such that and . Note that that this implies that cannot be a perfect classifier.
Proposition 4 (Mutual Exclusion of Separation and Sufficiency). Under these base conditions, the fairness criteria of Separation () and Sufficiency () cannot hold simultaneously. (See Proof 4 in Appendix B.)
5 Experimental Evaluation and Results
All results in this manuscript are based on FAIRMETRICS¹ [27], an open-source PyTorch-based Python library for binary, multi-class, and multi-group fairness evaluation. We implemented in FAIRMETRICS all metrics discussed in this manuscript. The codebase comprises two main packages: (i) fairmetrics/, the core evaluation engine containing discrete fairness metrics functions
¹https://github.com/FRACTALS-Research-Group/FairMetrics organized by foundational criteria; and (ii) fairmetrics_experiments/, the experimental suite containing data loaders, target binarization strategies, and the Hyperparameters Optimization (HPO) evaluation runner. The runner supports native multi-class evaluation alongside binarization reductions to quantify the empirical “reduction gap”, with all experiments fully reproducible via a single batch script exporting structured JSON results.
In order to compare binary and multi-class/multi-group metrics, we applied FAIRMETRICS to two open datasets for fairness in classification, as described in the next subsection.
5.1 Experimental Setup
We evaluated our metrics on two widely established tabular datasets in the fair ML: Adult [7] and Students' Dropout and Academic Success [33]. Both datasets are designed for the classification tasks, and, in their original formulations, are characterized by class imbalance and sensitive demographic features. Currently, the literature provides few real-world multi-class datasets for fairness evaluation and fewer studies regarding multi-class fairness approaches to align with. To maintain realistic feature distributions without resorting to synthetic generation, we created a custom multi-class target for the Adult dataset by categorizing individuals into three classes based on income and education level. See Exploratory Data Analysis in Appendix C. All experiments were executed on a virtualized Ubuntu 24.04 LTS 23-node cluster (Intel Xeon Gold / AMD EPYC CPUs, up to 400 GB RAM) and a dedicated Virtual Machine (VM) (12 vCPUs AMD EPYC, 94 GiB RAM) backed by Network Attached Storage (NAS). Throughout our experiments, in order to ensure reproducibility we set random seeds to 42 for the initial 10-fold stratified split (StratifiedKFold) and the fold index for fold-level Random Forest (RF) models and SMOTE for Nominal and Continuous features (SMOTE-NC) oversampling.
5.2 Evaluation Methodology
In current algorithmic fairness literature, standard methodologies and metrics primarily target binary classification, frequently avoiding any multi-class discussion. To overcome these limitations, practitioners might resort to two main One-vs-Rest reduction approaches to decompose a fair multi-class classification task into a set of binary classification sub-problems, discussed below.
The first approach is called Target Binarization and partitions the label set into two subsets, mapping the original multi-class target into a single synthetic binary target. Given the new binary target, any preferred optimization strategy can be used to train a binary classifier, so that the model's fairness can be evaluated using any existing binary metric. This approach has multiple limitations: (i) forced binarization of multi-class labels discards a lot of information; (ii) class aggregation dramatically alters the classification task and distorts the semantic meaning of each label, which (iii) potentially exacerbates representation imbalances within disadvantaged protected groups, hence (iv) masks hidden disparities which could harm specific under-represented subgroups; ultimately (v) selecting an appropriate binary partition is difficult when multiple classes characterize high-stake scenarios.
The second approach is called Prediction Binarization trains a multi-class classifier on the original multi-class dataset, and then applies prediction binarization only during fairness evaluation. While this method keeps the original multi-class nature of the problem, and results in a more useful multi-class classifier, it does not fully resolves the previous limitations inherent to binary reduction.
Not all fairness metrics defined in this manuscript are directly comparable to each other due to the differences in their mathematical formulations. Notably, the binary and multi-class relaxation of the Separation criteria require the equality of different partitions of the confusion matrix, and thus a comparison is not relevant in this scenario. Similarly, Binary Predictive Parity, which refers
1:15
to the Sufficiency criteria, requires equal PPVs for the positive prediction , whereas its multi-class extension enforces equal PPVs for every possible label. Despite this difference, we decide to compare Predictive Parity to highlights the limitation of the binary metric when applied to multi-class outcomes.
We evaluate both reduction paradigms across all candidate One-vs-Rest partitions to provide the full coverage of all possible behaviours. We choose a Random Forest classifier (RF) as our base ML model given its robustness, high effectiveness with tabular data and computational efficiency during repeated cross-validation. As a first step, we train the multi-class RF on the original dataset using 10-fold Cross-Validation (CV). The fairness is evaluated using our proposed multi-class and multi-group fairness metrics. Subsequently, we average the fairness scores across folds to provide a more robust evaluation. This final score of this Native Multi-Class Model is herein denoted as , unambiguously denoting the ground-truth multi-class training and evaluation baseline.
As second stage, the multi-class predictions are mapped into One-vs-Rest binary targets, where the selected class is assigned to the positive label (1) while all remaining classes are mapped to the negative label (0); subsequently, we evaluate binary fairness metrics, and we average the fairness scores across the 10 folds. This final score is herein denoted as , denoting that the model is multi-class, but its outputs are binarized post-hoc One-vs-Rest for evaluation.
Finally, we apply the same mappings of the previous approach to the original ground truth and train binary RFs on the One-vs-Rest binary targets. Similarly, we average the fairness scores across the 10 folds. This final score is herein denoted as , denoting binary model trained on binarized targets.
To quantify the empirical bias introduced by each reduction paradigm relative to the native multi-class baseline , we define the pre-training and post-hoc evaluation gaps as:
where isolates the disparity shift induced by the binarization of targets before model training, and isolates the distortion introduced by post-hoc prediction binarization during evaluation. These quantities range within , where a negative gap indicates that the reduction approach underestimates true disparity, and a positive gap indicates overestimation. Furthermore, in the Results section, negative gaps are highlighted in red hues, while positive gaps are highlighted in blue hues.
For each dataset and binary mappings, we first performed HPO via 10-fold CV grid search, maximizing the Macro Score. The search space for the RF classifier included: the number of estimators (200, 400, 600), maximum depth (12, 15, 18, 20, or None), minimum samples split (5, 10, 15, 20), minimum samples leaf (1, 2, 3), maximum features (0.4, 0.5, 0.6, or ), and class weight configurations ('balanced' or 'balanced_subsample').
5.3 Empirical Analysis and Discussion
Given the extensive empirical evaluation conducted, this Section summarizes the core insights, general considerations and emerged behaviours observed across our experiments, whereas the complete result analysis is accessible in the Appendix D.
To enrich our discussion and to provide concrete examples which comprise most of the relevant considerations: Table 2 provides the results of the fairness evaluation using our Adult Multi-class dataset conducted selecting Sex as the sensitive feature, whereas Table 3 presents the results Students' Dropout and Academic Success where Gender International is the sensitive feature. Despite showing a small but significant subset of empirical experiments, we stress that throughout all the tested scenarios, and consistently score non-negligible gaps.
1:16
Grazioso et al.
| Fairness Metric | BinOvR | MCOvR | MCNative | ΔPre | ΔPost |
|---|---|---|---|---|---|
| Target 0: Low-Income & Low-Education | |||||
| Demographic Parity | 0.0236 | 0.0487 | 0.3228 | -0.2993 | -0.2741 |
| Conditional Demographic Parity | 0.0470 | 0.0777 | 0.3327 | -0.2857 | -0.2551 |
| Equalized Odds | 0.0696 | 0.0914 | 0.3342 | -0.2646 | -0.2428 |
| Predictive Parity | 0.0196 | 0.0375 | 0.0650 | -0.0454 | -0.0274 |
| Equal Accuracy | 0.0184 | 0.0163 | 0.0368 | -0.0184 | -0.0204 |
| Target 1: Low-Income & High-Education | |||||
| Demographic Parity | 0.3449 | 0.3228 | 0.3228 | +0.0221 | 0.0000 |
| Conditional Demographic Parity | 0.3538 | 0.3327 | 0.3327 | +0.0211 | 0.0000 |
| Equalized Odds | 0.3361 | 0.3342 | 0.3342 | +0.0019 | 0.0000 |
| Predictive Parity | 0.0646 | 0.0462 | 0.0650 | -0.0003 | -0.0188 |
| Equal Accuracy | 0.0349 | 0.0375 | 0.0368 | -0.0019 | +0.0007 |
| Target 2: High-Income | |||||
| Demographic Parity | 0.2611 | 0.2741 | 0.3228 | -0.0617 | -0.0487 |
| Conditional Demographic Parity | 0.2714 | 0.2853 | 0.3327 | -0.0613 | -0.0474 |
| Equalized Odds | 0.1564 | 0.1778 | 0.3342 | -0.1778 | -0.1564 |
| Predictive Parity | 0.0326 | 0.0388 | 0.0650 | -0.0324 | -0.0262 |
| Equal Accuracy | 0.1240 | 0.1248 | 0.0368 | +0.0872 | +0.0881 |
Table 2. Fairness Metrics Comparison for Sensitive Feature: Sex (Adult Multi-class Dataset)
| Fairness Metric | BinOvR | MCOvR | MCNative | ΔPre | ΔPost |
|---|---|---|---|---|---|
| Target 0: Dropout | |||||
| Demographic Parity | 0.3208 | 0.3922 | 0.4837 | -0.1629 | -0.0915 |
| Conditional Demographic Parity | 0.5553 | 0.5913 | 0.7090 | -0.1538 | -0.1177 |
| Equalized Odds | 0.3263 | 0.4313 | 0.6139 | -0.2877 | -0.1826 |
| Predictive Parity | 0.2349 | 0.3753 | 0.6331 | -0.3982 | -0.2578 |
| Equal Accuracy | 0.1651 | 0.1805 | 0.2428 | -0.0777 | -0.0623 |
| Target 1: Enrolled | |||||
| Demographic Parity | 0.2380 | 0.2664 | 0.4837 | -0.2457 | -0.2173 |
| Conditional Demographic Parity | 0.3161 | 0.4197 | 0.7090 | -0.3929 | -0.2894 |
| Equalized Odds | 0.5573 | 0.4456 | 0.6139 | -0.0566 | -0.1683 |
| Predictive Parity | 0.3497 | 0.5281 | 0.6331 | -0.2834 | -0.1051 |
| Equal Accuracy | 0.4037 | 0.2808 | 0.2428 | +0.1609 | +0.0380 |
| Target 2: Graduate | |||||
| Demographic Parity | 0.4537 | 0.4140 | 0.4837 | -0.0300 | -0.0697 |
| Conditional Demographic Parity | 0.6691 | 0.5833 | 0.7090 | -0.0399 | -0.1257 |
| Equalized Odds | 0.4794 | 0.3979 | 0.6139 | -0.1345 | -0.2161 |
| Predictive Parity | 0.4667 | 0.3276 | 0.6331 | -0.1664 | -0.3055 |
| Equal Accuracy | 0.3421 | 0.1743 | 0.2428 | +0.0993 | -0.0685 |
Table 3. Fairness Metrics Comparison for Sensitive Feature: Gender × International (Students' Dropout and Academic Success Dataset, Original Setup)
1:17
First and most critically, our results demonstrate that both the One-vs-Rest reduction techniques consistently exhibit relevant fairness expectations gaps across all evaluated metrics. Furthermore, within a single target mapping, multiple fairness metrics can simultaneously yield alarming discrimination gaps, while others report deceptively negligible disparities. Throughout our evaluation, we categorize these discrepancies into three possible behaviours: underestimation, overestimation, and negligible gap.
Most frequently, the One-vs-Rest techniques results being optimistic filters, which systematically under-report the true fairness disparities across protected groups by up to -0.4. This behaviour represents the most relevant criticality of binary reduction. Furthermore, aggregating together distinct classes proved to potentially mask prominent treatment disparities, which is extremely exacerbated when combining under-represented classes or protected groups. Although less common, unfairness is overestimated in some binary mapping scenarios, peaking at a significant +0.1609 for Equal Accuracy on the Target 1: Enrolled mapping ( in Table 3). This overestimation occurs because binarizing a minority class (Enrolled, ~ 18%) against a merged majority category (Dropout and Graduate, ~ 82%) forces the binary classifier to prioritize the negative majority class (achieving 91.65% Specificity versus 41.80% Recall, as shown in Table 8 in Appendix D). Consequently, group-wise variations in true negative rates and subgroup base-rate compositions on the composite majority category artificially inflate the overall binary accuracy disparity between demographic groups (), whereas native multi-class evaluation assesses true three-class diagonal performance (). This behaviour could exacerbate existing biases in datasets or predictions, potentially leading to harmful consequences in real-world, high-stakes scenarios. Moreover, it could mislead practitioners into concluding that the ML model or dataset is biased, when, in reality, the original multi-class distribution and predictions are fair.
Even when a specific binary mapping achieves near-zero gaps, it is not possible to determine a-priori whether this reflects true equity or a reduction artifact. and gaps approach zero only in the rare event that a binary mapping happenstance isolates the specific class exhibiting the greatest disparities among protected groups, as showcased in the Low-Income & High-Education vs rest scenario, when comparing sex disparities in the Adult Multi-class Dataset. This is solely possible when a single class is affected by systematic discrimination, a condition that is not satisfied in many real-world scenarios and is most likely is unknown a priori. Finally, we stress that the metrics discussed in this work evaluate disparities among empirical estimations of probabilities, providing no information about or insight into the true underlying behaviour. Hence, a near-null fairness estimation or gap provides no insurance of the absence of any complex or hidden discriminatory behaviour. Importantly, different One-vs-Rest reduction techniques might produce noticeable different behaviour, on the same dataset. Table 3 showcase a striking example where Equal Accuracy is simultaneously overestimated ( reaches +0.0993) and underestimated ( scores -0.0685). Furthermore, our experiments demonstrate that these binary reduction techniques are not suitable for class-imbalanced datasets. Merging classes frequently masks minority group dynamics within the majority population, skewing probabilities disparities. Lastly, fairness-unaware oversampling procedures such as SMOTE-NC, while generally effective for improving overall predictive performance, fail to reduce the issues described above. In this regard, several pre-processing fairness-aware techniques have been proposed in literature and are particularly well suited to this task.
Our empirical evaluation highlights the issues of relying on One-vs-Rest reduction techniques for fairness assessment. We cover all the comparable binary and multi-class multi-group fairness metrics and demonstrate that no a priori assumption can be made regarding their agreement; therefore, this binary reduction techniques offer an unreliable foundation for algorithmic AI fairness auditing.
1:18
Consequently, in a multi-class classification scenario, fairness evaluation must be directly conducted using native multi-class and multi-group fairness metrics, such as those proposed in this work.
From a legal and ethical point of view, it has to be noted that experimental results bear on a question that the technical literature usually treats as a matter of convenience: how the decision on which fairness is assessed is represented. Reducing a K-class decision to one or more binary problems is not a neutral computational step but a classificatory act that redefines the outcome categories and, with them, the term of comparison against which group disadvantage is measured. The classification of persons and outcomes is itself an exercise of normative power, whose legitimacy must be justified. However, the law has yet to embed these considerations into its principles: under the AI Act, for example, the examination of possible biases required by Article 10(2)(f)–(g), and its documentation under Article 11, may be formally discharged on the basis of a binary assessment, as it specifies neither the label space nor the metrics on which bias is to be examined. Under EU non-discrimination law, statistical evidence of disparity may establish facts from which indirect discrimination is presumed, shifting the burden of proof to the respondent (Article 8 of Directive 2000/43/EC).
6 Conclusion
In this work, we address a fundamental gap in algorithmic fairness: the lack of native multi-class and multi-group fairness metrics, and the widespread reliance on binary reduction paradigms. Standard fairness audits frequently decompose multi-category outcomes into binary sub-problems (e.g., via One-vs-Rest target or prediction binarization); we established that these strategies introduce sever distortion into bias assessments. To overcome these limitations, we present a theoretical framework structured around Barocas et al.'s foundational criteria [5] – namely Independence, Separation, and Sufficiency. First, we organize the existing literature on multi-class and multi-group fairness and derive the missing formulations needed to construct a complete taxonomy, covering Demographic Parity, Conditional Demographic Parity, Equalized Odds, Predictive Parity, and Equal Accuracy across arbitrary cardinalities, as presented in Table 1. Second, we partition the multi-class conditional confusion matrix to formalize two multi-class Separation relaxations: Diagonal Equality, which constrains class-wise Recall across protected cohorts, and Off-diagonal Equality, which constrains misclassification rates to isolate off-diagonal disparities. Third, we adopt a multi-dimensional disparity evaluation operator grounded in the Rawlsian principle of justice, which evaluates worst-case disparities across protected group pairs [17].
Beyond metric design, we deepen the theoretical understanding of observational fairness criteria through formal mathematical proofs that hold for arbitrary label cardinalities. Specifically, we prove that satisfying Off-diagonal Equality is mathematically equivalent to satisfying full multi-class Equalized Odds (Proposition 1). We also prove the exact algebraic conditions governing Independence and Separation, characterizing when these criteria are mutually exclusive and demonstrating that they coexist if and only if demographic disparity vectors belong to the null space of a reduced-rank classifier matrix (Propositions 2, 3). Finally, we prove the general mutual exclusivity of Separation and Sufficiency under non-degeneracy conditions weaker than full joint positivity (Proposition 4).
Empirically, to demonstrate the necessity of adopting native multi-class fairness metrics in multi-class classification scenarios, we conducted extensive empirical experiments comparing the multi-class fairness assessments against evaluations performed using binarization strategies. Our evaluations on the multi-class Adult [7], and Students' Dropout and Academic Success [33] datasets confirm that binary reductions provided unreliable basis for fairness auditing. Binary reductions predominantly under-report disparities by up to -0.40, but can also inflate them when binarizing minority classes due to severe Specificity/Recall trade-offs.
1:19
From a legal and ethical perspective, we suggest that the normative choices underlying the development of CS, such as choosing a specific fairness metric, should itself be documented. Choosing among Independence, Separation and Sufficiency, and within Separation between Diagonal Equality and full Equalized Odds, means choosing among different conceptions of equality. Article 10(2)(d) of the EU AI Act already requires data-governance practices to include the formulation of assumptions, “in particular with respect to the information that the data are supposed to measure and represent”.
Lastly, we release FAIRMETRICS, an open-source Python library for assessing fairness in any classification scenario, implementing all proposed metrics.
Despite these contributions, our work presents some limitations. It focuses only on classification tasks and relies solely on maximum difference aggregation strategy. These limitations outline promising avenues for future research: we aim to extend our fairness framework by incorporating alternative aggregation operators and extending metric formulations to continuous regression tasks.
Acknowledgments
This work is supported by the high-performance computing infrastructure developed under the project “CONVECS”, funded by the PR Veneto FESR 2021-2027 program, Priority 1 – Specific Objective 1.1 – Action 1.1.2.
Generative AI Usage Statement
Generative AI tools (Claude Opus 5.5 Pro, Gemini Flash, Gemini Pro, and Gemini Reasoning), accessed through an institutional service, supported manuscript preparation. Their use was limited to generating LaTeX code for formatting, tables, and figures, as well as providing minor assistance with grammar, syntax, and spelling. All AI-generated or AI-assisted material was carefully reviewed and verified by the authors, who take full responsibility for the manuscript’s accuracy, originality, and scientific integrity.
Ethics and Privacy Statement
The authors declare they have fulfilled all required privacy and ethics obligations.
References
[1] EU Artificial Intelligence Act. 2024. The EU artificial intelligence act. European Union (2024). [2] Adel Ismail Al-Alawi, Misbah Naureen, Ebtesam Ismaeel AlAlawi, and Ahmed Abdulla Naser Al-Hadad. 2021. The role of artificial intelligence in recruitment process decision-making. In 2021 International Conference on Decision Aid Sciences and Application (DASA). IEEE, 197–203. [3] Wael Alghamdi, Hsiang Hsu, Haewon Jeong, Hao Wang, Peter Michalak, Shahab Asoodeh, and Flavio Calmon. 2022. Beyond adult and compas: Fair multi-class prediction via information projection. Advances in Neural Information Processing Systems 35 (2022), 38747–38760. [4] Julia Angwin, Jeff Larson, Surya Mattu, and Lauren Kirchner. 2022. Machine bias. In Ethics of data and analytics. Auerbach Publications, New York, NY, USA, 254–264. [5] Solon Barocas, Moritz Hardt, and Arvind Narayanan. 2023. Fairness and Machine Learning: Limitations and Opportunities. MIT Press, Cambridge, MA. [6] Solon Barocas and Andrew D Selbst. 2016. Big data’s disparate impact. Calif. L. Rev. 104 (2016), 671. [7] Barry Becker and Ronny Kohavi. 1996. Adult. UCI Machine Learning Repository. [8] Richard Berk, Hoda Heidari, Shahin Jabbari, Michael Kearns, and Aaron Roth. 2021. Fairness in criminal justice risk assessments: The state of the art. Sociological Methods & Research 50, 1 (2021), 3–44. [9] Sherry Bor and Nicole Cheptoo Koech. 2023. Balancing human rights and the use of artificial intelligence in border security in Africa. J. Intell. Prop. & Info. Tech. L. 3 (2023), 77.
1:20
Grazioso et al.
[10] S Carriero, R Cannella, F Cicchetti, A Angilerli, A Bruno, P Biondetti, RR Colciago, A D'Antonio, G Della Pepa, F Grassi, et al. 2025. AI revolution in radiology, radiation oncology and nuclear medicine: transforming and innovating the radiological sciences. Journal of Medical Imaging and Radiation Oncology 69, 6 (2025), 649–659.
[11] Alessandro Castelnovo, Riccardo Crupi, Greta Greco, Daniele Regoli, Ilaria Giuseppina Penco, and Andrea Claudio Cosentini. 2022. A clarification of the nuances in the fairness metrics landscape. Scientific reports 12, 1 (2022), 4209.
[12] Alexandra Chouldechova. 2017. Fair prediction with disparate impact: A study of bias in recidivism prediction instruments. Big data 5, 2 (2017), 153–163.
[13] Sam Corbett-Davies, Emma Pierson, Avi Feller, Sharad Goel, and Aziz Huq. 2017. Algorithmic decision making and the cost of fairness. In Proceedings of the 23rd acm sigkdd international conference on knowledge discovery and data mining. ACM, New York, NY, USA, 797–806.
[14] Kimberlé W Crenshaw. 1991. Mapping the Margins: Intersectionality, Identity Politics, and Violence against Women of Color. Stanford Law Review 43(6) 43, 6 (1991), 1241–1299.
[15] Christophe Denis, Romuald Elie, Mohamed Hebiri, and François Hu. 2024. Fairness guarantees in multi-class classification with demographic parity. Journal of Machine Learning Research 25, 130 (2024), 1–46.
[16] Cynthia Dwork, Moritz Hardt, Toniann Pitassi, Omer Reingold, and Richard Zemel. 2012. Fairness through awareness. In Proceedings of the 3rd innovations in theoretical computer science conference. 214–226.
[17] Edor J Editor. 2020. John Rawls's concept of justice as fairness. PINISI Discretion Review 4, 1 (2020), 179–190.
[18] Christoph Engels, Lorenz Linhardt, and Marcel Schubert. 2025. Code is law: how COMPAS affects the way the judiciary handles the risk of recidivism. Artificial Intelligence and Law 33, 2 (2025), 383–404.
[19] European Parliament and Council of the European Union. 2016. Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data, and repealing Directive 95/46/EC (General Data Protection Regulation). Official Journal of the European Union, L 119, pp. 1–88. Text with EEA relevance.
[20] Elena Falletti and Chiara Gallese. 2022. Ethical and legal limits to the diffusion of self-produced autonomous weapons. In Proceedings of 4th European conference on the impact of artificial intelligence and robotics. Academic conferences international limited, 22–28.
[21] Michael Feldman, Sorelle A Friedler, John Moeller, Carlos Scheidegger, and Suresh Venkatasubramanian. 2015. Certifying and removing disparate impact. In Proceedings of the 21th ACM SIGKDD international conference on knowledge discovery and data mining. 259–268.
[22] Batya Friedman and Helen Nissenbaum. 1996. Bias in computer systems. ACM Transactions on information systems (TOIS) 14, 3 (1996), 330–347.
[23] Chiara Gallese. 2026. Predictive policing and predictive justice: Ethics, data protection, and the AI act. Computer Law & Security Review 61 (2026), 106282.
[24] Chiara Gallese and Elena Falletti. 2025. Dataset Assessment Tools for the AI Act Compliance of High-Risk AI Systems. JL, Mkt. & Innovation (2025), 653.
[25] Chiara Gallese, Teresa Scantamburlo, Luca Manzoni, Simone Giannerini, and Marco S Nobile. 2025. FanFAIR: sensitive data sets semi-automatic fairness assessment. BMC Medical Informatics and Decision Making 25, Suppl 3 (2025), 329.
[26] Chiara Gallese, Teresa Scantamburlo, Luca Manzoni, and Marco S Nobile. 2023. Investigating semi-automatic assessment of data sets fairness by means of fuzzy logic. In 2023 IEEE Conference on Computational Intelligence in Bioinformatics and Computational Biology (CIBCB). IEEE, IEEE, Eindhoven, Netherlands, 1–10.
[27] Matteo Grazioso, Fabio Naccarella, Chiara Gallese, and Marco S. Nobile. 2026. Rethinking Fairness Metrics for Multi-Class and Multi-Group Assessment: Not Everything is Binary - Code Repository. https://github.com/FRACTALS-Research-Group/FairMetrics.
[28] Moritz Hardt, Eric Price, and Nati Srebro. 2016. Equality of opportunity in supervised learning. Advances in neural information processing systems 29 (2016).
[29] Herbert Lionel Adolphus Hart. 2012. The Concept of law.
[30] Michael Kearns, Seth Neel, Aaron Roth, and Zhiwei Steven Wu. 2018. Preventing fairness gerrymandering: Auditing and learning for subgroup fairness. In International conference on machine learning. PMLR, 2564–2572.
[31] Jon Kleinberg, Sendhil Mullainathan, and Manish Raghavan. 2017. Inherent trade-offs in the fair determination of risk scores. In 8th Innovations in Theoretical Computer Science Conference (ITCS 2017) (Leibniz International Proceedings in Informatics (LIPIcs), Vol. 67), Christos H. Papadimitriou (Ed.). Schloss Dagstuhl – Leibniz-Zentrum für Informatik, Dagstuhl, Germany, 43:1–43:23.
[32] Jeff Larson, Surya Mattu, Lauren Kirchner, and Julia Angwin. 2016. How we analyzed the COMPAS recidivism algorithm. ProPublica (5 2016) 9, 1 (2016), 3–3.
[33] Mónica V Martins, Daniel Tolledo, Jorge Machado, Luis MT Baptista, and Valentim Realinho. 2021. Early prediction of student's performance in higher education: A case study. In World Conference on Information Systems and Technologies. Springer, 166–175.
1:21
[34] Ninareh Mehrabi, Fred Morstatter, Nripsuta Saxena, and Kristina Lerman. 2021. A Survey on Bias and Fairness in Machine Learning. ACM Computing Surveys (CSUR), July. (2021).
[35] Brent Daniel Mittelstadt, Patrick Allo, Mariarosaria Taddeo, Sandra Wachter, and Luciano Floridi. 2016. The ethics of algorithms: Mapping the debate. Big data & society 3, 2 (2016), 2053951716679679.
[36] Marco S Nobile, Amalia Lupi, Leone Bacciu, Matteo Grazioso, Chiara Gallese, Emilio Quiaa, and Alessia Pepe. 2025. Assessing Cardiac Functionality by Means of Interpretable AI and Myocardial Strain. In 2025 IEEE Conference on Computational Intelligence in Bioinformatics and Computational Biology (CIBCB). IEEE, 1–9.
[37] Dana Pessach and Erez Shmueli. 2022. A review on fairness in machine learning. ACM computing surveys (CSUR) 55, 3 (2022), 1–44.
[38] Erasmo Purificato, Ludovico Boratto, Ernesto William De Luca, et al. 2024. Toward a responsible fairness analysis: from binary to multiclass and multigroup assessment in graph neural network-based user modeling tasks. Minds and Machines 34, 3 (2024).
[39] Preston Putzel and Scott Lee. 2022. Blackbox post-processing for multiclass fairness. arXiv preprint arXiv:2201.04461 (2022).
[40] Ricardo Trainotti Rabonato and Lilian Berton. 2025. A systematic review of fairness in machine learning. AI and Ethics 5, 3 (2025), 1943–1954.
[41] Rashida Richardson, Jason M Schultz, and Kate Crawford. 2019. Dirty data, bad predictions: How civil rights violations impact police data, predictive policing systems, and justice. NYUL Rev. Online 94 (2019), 15.
[42] Michele Rispoli, Marco S Nobile, Luca Manzoni, Alberto D'Onofrio, Marco Confalonieri, Francesco Salton, Paola Confalonieri, Barbara Ruaro, and Chiara Gallese. 2025. Investigating Fairness with FanFAIR: is Pre-Processing Useful Only for Performances?. In 2025 IEEE Symposium on Computational Intelligence in Health and Medicine (CIHM). IEEE, 1–7.
[43] Julien Rouzot, Julien Ferry, and Marie-José Huguet. 2022. Learning optimal fair scoring systems for multi-class classification. In 2022 IEEE 34th International Conference on Tools with Artificial Intelligence (ICTAI). IEEE, IEEE, Macao, China, 197–204.
[44] Marie-Therese Sekwenz, Carolina Ferro, and Ben Wagner. 2024. Measuring Anti-Discrimination in Human Rights Law: Literature Review of Statistical Testing Methods. Technical Report. Netherlands Institute for Human Rights.
[45] Harini Suresh and John Guttag. 2021. A framework for understanding sources of harm throughout the machine learning life cycle. In Proceedings of the 1st ACM Conference on Equity and Access in Algorithms, Mechanisms, and Optimization. 1–9.
[46] Sandra Wachter. 2022. The theory of artificial immutability: Protecting algorithmic groups under anti-discrimination law. Tul. L. Rev. 97 (2022), 149.
[47] Sandra Wachter, Brent Mittelstadt, and Chris Russell. 2021. Bias preservation in machine learning: the legality of fairness metrics under EU non-discrimination law. West Virginia law review 123, 3 (2021).
[48] Sandra Wachter, Brent Mittelstadt, and Chris Russell. 2021. Why fairness cannot be automated: Bridging the gap between EU non-discrimination law and AI. Computer law & Security review 41 (2021), 105567.
A Examples
In this Section we provide various illustrative scenarios which highlights the differences and desiderate applications of each fairness criteria and fairness metric.
Example 1 (Fairness criteria difference: loan approval). A bank uses a ML model to approve or deny credit loans to their clients and that gender is selected as the sensitive attribute, considering, for the sake of simplicity, two groups: males and females.
Independence ensures the approval rates to be equal across each demographic group, e.g. males and females. Thus the applicant's gender does not influence the approval rate.
Separation requires that correct classification rates and error rates must be equal for both males and females, thus removing any performance disparities between protected groups. Hence, any correlation between the prediction and the client's gender is explained solely by applicant's true creditworthiness.
Lastly, Sufficiency impose that among clients whose loans are approved, the proportion who actually repay their loan is the same for every protected group, e.g males and females. Thus, once the decision is known, the applicant's gender does not provide any information about whether they will repay the loan.
1:22
Grazioso et al.
Example 2 (Binary Demographic Parity: Loan Allocation). Referring to Example 1, binary Demographic Parity requires that the ratio of loans granted () to males is exactly equal to the ratio granted to females applicants:
Because , equalizing positive selection rates automatically guarantees equal denial rates (). This ensures that applicant gender has no statistical influence on loan approval, irrespective of underlying historical repayment rates ().
Example 3 (Multi-class and Multi-group Demographic Parity: Loan Allocation). Extending Example 1 to a multi-class and multi-group setting, suppose the bank offers three distinct credit tiers: , evaluated across three demographic groups .
Multi-class and Multi-group Demographic Parity mandates that the selection rate for every loan tier must remain identical across all demographic groups:
If 15% of applicants in group are granted a Premium Line (), exactly 15% of applicants from and must also receive a Premium Line. This prevents demographic concentration in lower credit tiers or systemic favouritism in higher tiers.
Example 4 (Binary Conditional Demographic Parity: Loan Approval). Revisiting Example 1, suppose credit score band is selected as a legitimate control variable (strata). Binary Conditional Demographic Parity requires that within each credit score stratum , loan approval rates () must be identical across protected groups:
While overall Demographic Parity might be violated if baseline credit scores differ across groups, Conditional Demographic Parity ensures that male and female applicants with identical credit scores receive equal approval probabilities.
Example 5 (Multi-class and Multi-Group Conditional Demographic Parity: Credit Allocation). Combining both generalizations for Example 1, consider the bank assigning applicants to three loan tiers across three demographic groups , conditioned on income bracket strata .
Multi-class Conditional Demographic Parity requires that for every income stratum and every credit tier , selection rates are equal across all demographic groups:
This formulation ensures that multi-tier financial products are distributed equitably across intersectional groups, controlling for legitimate economic indicators () while eliminating residual demographic bias.
Example 6 (Equalized Odds vs. Equal Accuracy: Repaying a Loan). To illustrate this distinction, consider a toy dataset comprising four individuals: two males and two females, where exactly one male and one female are capable of repaying a loan (). Requiring equal confusion matrices implies that the model must commit the exact same types of misclassification with identical probabilities for each
1:23
sensitive group. Suppose a biased classifier consistently predicts loan approval for all males () while denying all females (). The resulting confusion matrices for each demographic group are presented in Table 4. Evaluating the model strictly through accuracy yields an identical score of 50%
| Males | ||
|---|---|---|
| Y = 0 | Y = 1 | |
| 0 | 0 | |
| 1 | 1 | |
| Females | ||
|---|---|---|
| Y = 0 | Y = 1 | |
| 1 | 1 | |
| 0 | 0 | |
Table 4. Group-specific confusion matrices demonstrating identical accuracy (50%) despite severe error rate disparities.
for both groups, deceptively suggesting a fair predictor. Conversely, evaluating the classifier under Equalized Odds exposes its severe discrimination against females.
Example 7 (Equal Opportunity: Disease detection). Disease detection is a representative application where Equal Opportunity is an appropriate fairness metric. Consider a predictive model deployed to detect a severe medical condition, where denotes the actual presence of the disease and indicates a positive diagnosis. In this high-stakes context, the primary ethical imperative is ensuring that truly sick individuals () have an equal probability of receiving a correct diagnosis (), regardless of their demographic group A.
If a model fails to satisfy Equal Opportunity – for instance, by achieving a 90% True Positive Rate (TPR) for demographic A but only 60% for demographic B – it implicitly creates a severe disparity in False Negative Rates (FNR). Consequently, sick individuals in group B would face a significantly higher risk (40% vs. 10%) of going undiagnosed and untreated, leading to disparate healthcare outcomes despite having identical medical needs.
Example 8 (Predictive Equality: Criminal risk assessment). Criminal risk assessment provides a classic scenario where Predictive Equality is a desirable fairness metric. Consider a predictive model used by courts to assess recidivism risk, where denotes that an individual will reoffend and indicates they will not, while classifies an individual as high risk (potentially leading to bail denial or longer pre-trial detention). In this punitive context, a central ethical concern is avoiding disproportionate false accusations against individuals who would not reoffend ().
Predictive Equality mandates that non-reoffending individuals () face an equal probability of being falsely flagged as high risk (), regardless of their demographic group A. If a model violates this criterion – for instance, exhibiting a 10% False Positive Rate (FPR) for group A but 30% for group B – it imposes a disproportionate penalty on low-risk individuals in group B. Consequently, non-reoffending individuals in group B would face three times the risk of unjust detention, despite having an identical actual outcome of non-recidivism ().
Example 9 (Diagonal Equality: Multi-class Triage and Multi-Group Medical Assessment). Consider an automated hospital triage system classifying patient urgency into three distinct classes: , deployed across a multi-group demographic population .
Diagonal Equality restricts evaluation strictly to the diagonal entries of each group's confusion matrix (). It requires that patients who are genuinely in an Emergency state () have an identical detection rate across all demographic groups:
1:24
Grazioso et al.
Simultaneously, the condition must hold independently for (Urgent) and (Routine).
Suppose the classifier achieves 90% recall for Class 3 among Group , but only 60% for Group . In that case, critically ill patients in Group suffer a disproportionate risk of missing immediate emergency care. Notice, however, that this metric ignores how the remaining 40% of misclassified Group patients are distributed across Class 1 or Class 2; it strictly demands equal true positive rates for each true label state across all demographic slices.
Example 10 (Off-diagonal Equality: Multi-Tier Credit Allocation and Directional Misclassification). Consider an automated credit evaluation model assigning loan applicant risk profiles into three tiers: , evaluated over three intersectional demographic groups .
While Diagonal Equality regulates true positive decisions on the diagonal, Off-diagonal Equality evaluates all off-diagonal entries (). This ensures that when errors occur, their specific directional distribution does not penalize any protected group.
For instance, consider true Subprime applicants (). A misclassification could either upgrade them to Prime () or downgrade them to Reject (). Off-diagonal Equality requires that:
If 15% of true Subprime applicants in Group are mistakenly rejected (), but 45% of Subprime applicants in Group are rejected, the system exhibits severe misclassification bias against Group . By constraining all off-diagonal cells () to be equal across , and , Off-diagonal Parity guarantees that no demographic group is systematically pushed into worse error buckets.
Example 11 (Model Reliability vs. Sensitivity). To illustrate this distinction, consider an ML model developed to identify diseases, where denotes a healthy patient and denotes a diseased patient. Suppose a classifier correctly identifies all 90 healthy patients but detects only 1 out of 10 diseased patients (Table 5).
| Predicted outcome | Actual outcome | |
|---|---|---|
| Healthy () | Diseased () | |
| Healthy () | 90 (TN) | 9 (FN) |
| Diseased () | 0 (FP) | 1 (TP) |
Table 5. Confusion matrix illustrating the distinction between precision and recall: the classifier achieves perfect precision (100%) but detects only 10% of diseased patients.
Although the classifier performs poorly at capturing diseased patients – achieving a True Positive Rate (recall) of only 10% (equivalently, a False Negative Rate of 90%) – it attains a Precision of 100%. In other words, whenever the model predicts that a patient is diseased (), the prediction is always correct. Therefore, the model provides highly reliable positive predictions despite its limited sensitivity.
The previous example ignores protected groups for simplicity. Now consider a multi-group scenario where gender is the sensitive attribute . If the classifier achieves a Precision of 100% for male patients but only 70% for female patients, a positive prediction carries different levels of reliability depending on the patient's gender. Such a classifier violates Sufficiency, since the predictive value of the same decision differs across demographic groups.
Example 12 (Binary Predictive Parity: Automated Hiring). Consider an automated resume screening model where indicates an invitation to an interview and indicates an applicant who
1:25
would actually succeed in the role. Binary Predictive Parity demands that the PPV be equal across protected groups. If 80% of group a candidates invited to an interview () turn out to be qualified (), but only 50% of group b candidates invited are qualified, the interview invitation carries unequal predictive validity. Recruiter confidence in positive decisions would vary by demographic group, introducing secondary bias into downstream human evaluations.
Example 13 (Multi-group Multi-class Predictive Parity: Multi-Tier Credit Allocation and Directional Misclassification). Consider an automated credit evaluation model assigning loan applicant risk profiles into three tiers: , evaluated over three intersectional demographic groups .
While Diagonal Equality regulates true positive decisions on the diagonal, Off-diagonal Equality evaluates all off-diagonal entries (). This ensures that when errors occur, their specific directional distribution does not penalize any protected group.
For instance, consider true Subprime applicants (). A misclassification could either upgrade them to Prime () or downgrade them to Reject (). Off-diagonal Equality requires that:
If 15% of true Subprime applicants in Group are mistakenly rejected (), but 45% of Subprime applicants in Group are rejected, the system exhibits severe misclassification bias against Group . By constraining all off-diagonal cells () to be equal across , and , Off-diagonal Parity guarantees that no demographic group is systematically pushed into worse error buckets.
Example 14 (Equal Accuracy: Masking Disparate Error Types). Consider an automated diagnostic system evaluating medical urgency across three demographic groups with target classes .
Suppose the model achieves an identical overall accuracy of 85% across all three demographic groups:
thereby perfectly satisfying Equal Accuracy. However, examining the underlying group confusion matrices reveals stark disparities in error distribution: for Group , the 15% total error rate consists entirely of false positives on routine cases (), whereas for Group , the 15% total error rate consists entirely of dangerous false negatives on critical emergency cases (). Although Equal Accuracy reports perfect demographic parity, Group patients suffer life-threatening misdiagnoses, while Group patients face minor administrative over-referrals. This demonstrates why Equal Accuracy is insufficient as a stand-alone fairness metric: by summing diagonal entries into a single scalar value, it obscures class-specific error distribution and directional harm across protected groups.
B Formal Proofs
This Section provides detailed and formal proofs regarding the propositions stated in Section 3.
Proof 1 (Proof Equivalence to Multi-Class Equalized Odds). Assume condition (12) holds.
Step 1: Total Probability Decomposition. By the law of total probability, for any true class and groups , we have:
1:26
Grazioso et al.
Isolating the correct classification term from the misclassifications , we form the system:
Step 2: Application of Off-diagonal Equality. Under the Eq. 12, off-diagonal probabilities match element-wise across groups, implying that their sums are also invariant:
Step 3: Conclusion. Subtracting the equations in (20) and simplifying via the equality above yields:
Note that since Eq. 12 enforces off-diagonal equality and this derivation establishes diagonal equality , Eq. 12 is mathematically equivalent to full Equalized Odds.
Proof 2 (Proof Mutual Exclusion of Independence and Separation). Express the conditional prediction probability under Separation. Assume the Separation criterion holds . By the Law of Total Probability, the scalar probability of a specific prediction j given a sensitive group a is:
Because Separation dictates that , we can simplify the equation to:
Transition to matrix-vector notation. The summation in Equation 24 is exactly the dot product of the -th row of matrix with the column vector . Extending this to all possible predictions , we can rewrite the system as a matrix-vector multiplication:
Substitute the demographic disparity vector. From our preliminary definitions, we know that . Substituting this into the matrix equation yields:
Relate the marginals. By the Law of Total Probability without any conditional assumptions on , the marginal prediction vector is . Substituting this back into the Equation 26, we obtain:
Evaluate the Independence criterion. By hypothesis, the demographic disparity vector is not in the kernel of the matrix . By definition of the kernel (null space), this implies:
Consequently, inserting this inequality into the result of the previous step yields:
Translating this back to scalar probabilities, there exists at least one prediction such that . This strictly violates the definition of Independence . Thus, Separation and Independence cannot hold concurrently.
1:27
Proof 3 (Proof Coexistence of Independence and Separation). Assume Independence holds. If Independence holds , the conditional probability of any prediction is equal to its marginal probability across all groups:
In vector notation, this requires:
Assume Separation holds and equate the two. As derived in Step 1 and Step 2 of Proposition 2, the assumption of Separation mathematically establishes that and . Equating the expressions required for Independence, we obtain:
Recalling the definition of the disparity vector, this resolves to:
This confirms that the condition is the strictly necessary algebraic requirement for both criteria to coexist.
Derive the upper bound on the Rank of . For the condition to hold with a nonzero vector (which exists due to the premise ), the matrix must possess a non-trivial null space. This strictly requires Nullity() . Applying the Rank-Nullity Theorem (), we deduce the upper bound:
Derive the lower bound on the Rank of . We must guarantee the predictive utility premise . We establish this by proving that is mathematically impossible under this premise. If , all columns of the stochastic matrix must be linearly dependent. Because is a column-stochastic matrix where every column sums to 1, linear dependence forces all columns to be strictly identical. Let be this common column vector. This means that for any true label , the conditional prediction vector is exactly :
In scalar terms, for all possible labels . This strict equality is the exact mathematical definition of statistical independence between the predictions and the true labels . Because our premise explicitly assumes , we conclude that the matrix cannot have a rank of 1. Therefore, the lower bound must be:
Conclude feasibility in the Multi-class framework. Combining the bounds 35 and 37, we establish that the allowable rank for the classifier must fall in the interval:
Because we are operating strictly in a multi-class setting where , the upper bound is at least 2. Consequently, the interval is a valid, non-empty mathematical space. This formally proves that there exist valid matrices of rank (ensuring predictive power, i.e., ) that also possess a null space capable of projecting the demographic disparities to zero. Under these specific conditions, Independence and Separation mutually coexist.
1:28
Grazioso et al.
Proof 4 (Proof Mutual Exclusion of Separation and Sufficiency). Apply Bayes' Rule to the Sufficiency Condition. By Bayes' theorem, the joint probability can be expressed as:
Substitute the Separation Assumption. Assuming Separation holds, we substitute into the numerator:
Apply the Sufficiency Assumption. Assuming Sufficiency also holds, the conditional posterior probability must equal the marginal posterior probability :
Equate Both Formulations. Equating the Expressions 40 and Expression 41 yields:
Cancel Likelihood Terms and Rearrange Ratios. Since by non-degeneracy, we divide both sides by :
Rearranging the terms to isolate the target probabilities on the left and prediction probabilities on the right gives:
Deduce Independence via Ratio Constancy. Notice that the left-hand side of the equation depends solely on k and a, whereas the right-hand side depends solely on j and a. For this equality to hold for all , the ratio must be equal to a group-dependent constant that is independent of both j and k:
Summing both sides over all possible target classes :
Because probability distributions sum to 1\left(\sum_{k}P(Y=k\mid A=a)=1 and \sum_{k}P(Y=k)=1\right), we obtain , which proves that .
Conclude Contradiction. Substituting back into the ratio yields:
This equality is the exact definition of statistical independence between the sensitive attribute and the true label . However, this directly contradicts our foundational premise .
Therefore, Separation and Sufficiency cannot hold simultaneously when .
1:29
C Datasets Exploratory Data Analysis and Processing
In the current literature, there exist two main types of datasets: publicly available real-world datasets and synthetic datasets. The former option is preferable for several key reasons. First, real-world data provides a realistic benchmark to study model performance and fairness behaviour in natural scenarios. Furthermore, a vast body of literature has already evaluated these datasets, establishing consensus around their adoption for comparative audits. In contrast, purely synthetic datasets are created ad hoc to study a desired skewed behaviour; hence, they risk being overly tailored to support a proposed thesis or novel approach. Although synthetic datasets yield valid theoretical insights, for our experiments we selected two well-established datasets in the field of fair ML: Adult [7] and Students' Dropout and Academic Success [33].
C.1 Adult Multi-class
C.1.1 Overall Analysis. Adult [7], also known as Census Income, is a tabular dataset designed for binary classification tasks. It is arguably the most studied benchmark dataset for ML and, more recently, for testing fairness-aware ML approaches. The modelling goal is to determine whether a person, i.e., an instance of the dataset, earns more than $50 000 per year. The dataset comprises six numerical and eight categorical features, which mainly represent demographic attributes such as age, education, relationship status, race and sex. It gained popularity due to its size, (48 842 total instances), and raw tabular format, which allows researchers to apply standard preprocessing workflows, including feature standardization, encoding of categorical features and data cleaning to remove or infer missing information. Generally, scholars select Sex as the binary sensitive attribute, which presents an imbalanced distribution: approximately 67% males and 33% females. Moreover, the target distribution is skewed, with 76% of the instances earning at or below 50 000 dollars per year, and the remaining 24% earning an higher income, thus showing noticeable target class imbalance.
C.1.2 From Binary to Multi-class. The Census Income dataset was originally designed with a binary target. However, for our comparative tests between native multi-class fairness and One-vs-Rest binary reduction we require a multi-class outcome. Unfortunately, the current literature provides few real-world multi-class datasets for fairness evaluation and fewer studies regarding multi-class fairness approaches to align with. To maintain realistic feature distributions without resorting to synthetic generation, we created a custom multi-class target for the Adult dataset by categorizing individuals into three classes based on income and education level:
In this formulation, Income is the original binary ground target and EducationNum denotes the ordinal scale of educational attainment ranging from 0 (Preschool) to 14 (Doctorate, with HS-Grad = 8 and Bachelors = 11).
C.1.3 Data Processing. First, to transform raw data into a ML-ready format, we stripped and cleaned the categorical values from extraneous characters. We then cleaned the dataset by dropping instances with any missing values. As previously discussed, dropping entries may exacerbate feature or class imbalances, but modern imputation methods infer missing entries using existing attributes, which may preserve or even exacerbate underlying data biases. Because both alternatives present inherent disadvantages, we chose the naive dropping strategy, which represents the least intrusive approach and the most widely adopted practice in other related literature works. We strictly avoided using any fairness-enhancing preprocessing technique, because it would have modified inherent data biases and altered the result of our experiments.
To strictly prevent target leakage, both the original binary target and all education-derived attributes were discarded prior to encoding binary and multivariate categorical variables. Because this multi-class variant was designed exclusively for tree-based ensemble models, specifically RFs, which are inherently invariant to monotonic feature scaling, numerical standardization was unnecessary. Subsequently, we mapped binary features into boolean values and encoded multivariate categorical features using one-hot encoding. Furthermore, dataset splitting was not performed since the evaluation was conducted via K-fold CV.
Post-cleaning, the engineered multi-class target exhibits a well-distributed support across all three categories: 39.11% for Class 0, 36.09% for Class 1, and 24.80% for Class 2.
To evaluate our approaches, we audit three distinct sensitive attribute configurations:
- Sex: 32.50% female and 67.50% male;
- Race: 86.02% White and 13.98% Non-White;
- Intersectional (Cartesian Product): 26.27% White females, 59.75% White males, 6.22% Non-White females, and 7.76% Non-White males.
Ultimately, we selected the binarized information whether the person was born in the United States (91.32% born in the U.S. and 8.68% non-U.S.) as our conditional strata feature.
C.1.4 FANFAIR Evaluation. Despite the well-established consensus surrounding the Adult dataset, we evaluated the quality level of its data using FANFAIR [24, 26, 42] to provide further reasoning for its adoption. As a result of its popularity and consensus, we set Compliance and Data Source Quality flags to the boolean value True. Furthermore, we selected IForest as our outlier detection method and the Hellinger-based Entropy as our balance calculation method.
Currently, FANFAIR's evaluation capability is natively restricted to binary classification, as its correlation module relies on linear association with a binary target. To audit the multi-class dataset utilized in our experiments, we extended the FANFAIR framework using a One-vs-Rest transformation. Specifically, for each class , we compute a standard binary audit comparing against the remaining label space . To maintain a conservative risk bound, we aggregate these binary evaluations by taking the worst-case outcome as the final score.
Although effective, this One-vs-Rest approach artificially distorts class proportions by converting balanced multi-class distributions into skewed 1 : binary splits, thereby penalizing dataset balance metrics, as presented in Section 5. As future work, FANFAIR can be extended to support native multi-class auditing by replacing linear target correlations with non-parametric association metrics such as Cramér's V or Normalized Mutual Information (NMI). These metrics quantify non-linear dependencies across arbitrary categorical label spaces without requiring binarization or inducing artificial class imbalance.
Adult Multi-class dataset reports a global 77.5% score, which fits into the good score band, and Table 6 comprises the full analysis. Despite the introduction of the custom multi-class target, the significant portion of outliers results in a score of 0% for Unevenness. Conversely, the adoption of more equally distributed target results in an increase of the Balance score up to 88.5%, which is in the Optimal score band. While this improvement reflects a uniform underlying target distribution, it is also partly an artifact of the One-vs-Rest transformation, which evaluates binary splits ( vs. ) whose class proportions lie closer to a balanced 50 : 50 ratio than the original binary dataset.
1:31
| Metric | Score | Score Band |
|---|---|---|
| Unevenness | 0.0% | Critical |
| Balance | 88.5% | Optimal |
| Bias with respect to Sensitive Variables | 78.5% | Good |
| Compliance | 83.3% | Optimal |
| Numerosity | 100.0% | Optimal |
| Quality | 100.0% | Optimal |
| Incompleteness | 100.0% | Optimal |
| Overall Score | 77.5% | Good |
Methodological setup: Outlier detection via IForest; balance computed using Hellinger-based Entropy.
Sensitive Variable: Sex, Race.
Compliance Parameters: Data Protection, Copyright, Sectorial Law, Non-Discrimination, Ethics.
Table 6. Adult Multi-class Dataset FanFAIR Evaluation Metrics and Compliance Overview
C.2 Students' Dropout and Academic Success
C.2.1 Overall Analysis. Students' Dropout and Academic Success [33] comprises administrative information from multiple academic databases into a unified dataset covering undergraduate student cohorts. Each instance corresponds to a student and comprises 36 numerical and categorical features covering demographic and social-economic background, enrolment details and academic performance across semesters. The prediction task evaluates whether a student will drop out (32.12%), graduate (49.93%), or remain enrolled (17.95%), presenting a notable class imbalance. The dataset authors already performed a rigorous pre-processing phase, providing a ready-to-use dataset.
To evaluate our approaches, we audit three distinct sensitive attribute configurations:
-
Gender: 64.83% female and 35.17% male;
-
International Status: 97.51% non-international and 2.49% international students;
-
Intersectional (Cartesian Product): 63.02% non-international females, 34.49% non-international males, 1.81% international females, and 0.68% international males.
Additionally, we selected Displaced as the conditional control variable (45.16% non-displaced and 54.84% displaced), a binary feature describing whether a student relocated from their permanent residence to attend university.
C.2.2 Data Processing. In contrast with Adult dataset, no data processing was required for Students' Dropout and Academic Success. Consistent with the multi-class setup on the Adult dataset, model evaluation was conducted via 10-fold CV without reserving a static hold-out split.
C.2.3 Data Oversampling. To mitigate these target and subgroup representation deficits, we conducted supplementary experiments incorporating synthetic oversampling across each sensitive attribute configuration. Specifically, we applied SMOTE-NC strictly within each training fold to prevent data leakage, balancing all joint combinations of target classes and intersectional demographic groups. This protocol ensures that models learn from balanced representations across all subgroup intersections while remaining evaluated on real, unmanipulated test distributions.
C.2.4 FANFAIR Evaluation. Similar to Adult dataset, we provide the FANFAIR evaluation of Students' Dropout and Academic Success dataset. To provide comparable results with Adult dataset, we similarly select IForest as our outlier detection method and the Hellinger-based Entropy as our balance calculation method. Moreover, we set Compliance and Data Source Quality flags to the boolean value True.
1:32
Grazioso et al.
FanFAIR evaluation reports a global 79.4% score, which fits into the good score band. In Table 7 we provide results of all the metrics evaluated by the FANFAIR framework. Notably, Unevenness scores a critical 0%, indicating a significant presence of outliers, while demographic and target imbalances reduce the Balance score to 76.1%.
| Metric | Score | Score Band |
|---|---|---|
| Unevenness | 0.0% | Critical |
| Balance | 76.1% | Good |
| Bias with respect to Sensitive Variables | 79.6% | Good |
| Compliance | 83.3% | Optimal |
| Numerosity | 100.0% | Optimal |
| Quality | 100.0% | Optimal |
| Incompleteness | 100.0% | Optimal |
| Overall Score | 79.4% | Good |
Methodological setup: Outlier detection via IForest; balance computed using Hellinger-based Entropy.
Sensitive Variable: Gender, International.
Compliance Parameters: Data Protection, Copyright, Sectorial Law, Non-Discrimination, Ethics.
Table 7. Students' Dropout and Academic Success Dataset FanFAIR Evaluation Metrics and Compliance Overview
D Additional Experimental Results
We present a comparative empirical evaluation between native multi-class fairness metrics and standard binary reduction techniques, highlighting the analytical pitfalls and statistical distortions introduced by binarization. To provide strong evidence of the risks and the misleading results of adopting any binarization approach, we tested both Students' Dropout and Academic Success dataset and our multi-class Adult dataset using three sensitive features.
D.1 Students' Dropout and Academic Success Dataset Results
Our first suite of experiments evaluates Students' Dropout and Academic Success dataset, which comprise an imbalanced three-class target: Dropout (0), Enrolled (1), and Graduate (2). To evaluate different demographic complexities, we test three demographic sensitive features: Gender (binary), International (binary) and their Cartesian product (intersectional multi-group). Ultimately, Conditional DP uses Displaced status (binary) as the stratification Control Variable.
Table 8 provides the standard classification performance metrics averaged across the 10-folds for both multi-class and binary RF models.
| Model / Target Mapping | Acc. | Bal. Acc. | Prec. | Recall | F₁ | Spec. |
|---|---|---|---|---|---|---|
| Multi-class Classifier | 0.7749 | 0.7016 | 0.7306 | 0.7016 | 0.7115 | 0.8757 |
| Binary Classifier: Target 0 (Dropout) | 0.8741 | 0.8315 | 0.8728 | 0.7122 | 0.7840 | 0.9507 |
| Binary Classifier: Target 1 (Enrolled) | 0.8271 | 0.6673 | 0.5223 | 0.4180 | 0.4639 | 0.9165 |
| Binary Classifier: Target 2 (Graduate) | 0.8465 | 0.8466 | 0.8239 | 0.8814 | 0.8513 | 0.8117 |
Acc.: Accuracy; Bal. Acc.: Balanced Accuracy; Prec.: Precision; Recall: Recall; F₁: F₁ Score; Spec.: Specificity.
Table 8. RF Classification Performance on the Students' Dropout and Academic Success Dataset – Original Setup –
1:33
D.1.1 Sensitive Attribute: Gender. Comparing the fairness metrics results in Table 9 confirm that the binary reduction approaches and tend to underestimate gender disparities across all target mappings.
Notably, for Target 0 (Dropout vs. Rest), reaches and reached ; meanwhile, binary reductions present disparities around 5%, whereas the true multi-class disparity is a significant 14.45%.
Moreover, for Target 1 (Enrolled vs. Rest), DP and Conditional DP highlight more prominent underestimations, with reaching and , respectively, and reaching and . This scenario showcase the intrinsic threat of any approach based on reduction to binary classification: limiting informations and combining distinct protected groups might potentially hide paramount true multi-class disparities towards these protected groups.
For Target 2 (Graduate vs. Rest), for DP reaches 0.0. This can manifest when the mapping separates the disadvantaged class from the rest, thus not altering the distribution of the most skewed protected groups which emerges unchanged as the maximum fairness discrepancy. Although ideal, it is not possible to determine a priori which class will have the grater disparities, and a wrong mapping might result in severe underestimation as described upon.
Ultimately, across all the three targets, multiple metrics reached gaps greater than . Although these differences may appear relatively small, they can have meaningful real-world consequences in high-stakes settings, where even modest disparities may adversely affect individuals.
| Fairness Metric | |||||
|---|---|---|---|---|---|
| Target 0: Dropout | |||||
| Demographic Parity | 0.1916 | 0.1945 | 0.2345 | -0.0429 | -0.0400 |
| Conditional Demographic Parity | 0.2135 | 0.2125 | 0.2510 | -0.0375 | -0.0385 |
| Equalized Odds | 0.0878 | 0.0895 | 0.1488 | -0.0610 | -0.0593 |
| Predictive Parity | 0.0536 | 0.0487 | 0.1445 | -0.0909 | -0.0957 |
| Equal Accuracy | 0.0591 | 0.0636 | 0.0538 | +0.0053 | +0.0098 |
| Target 1: Enrolled | |||||
| Demographic Parity | 0.0424 | 0.0400 | 0.2345 | -0.1921 | -0.1945 |
| Conditional Demographic Parity | 0.0759 | 0.0667 | 0.2510 | -0.1751 | -0.1843 |
| Equalized Odds | 0.0922 | 0.0897 | 0.1488 | -0.0567 | -0.0591 |
| Predictive Parity | 0.0867 | 0.1073 | 0.1445 | -0.0577 | -0.0371 |
| Equal Accuracy | 0.0358 | 0.0435 | 0.0538 | -0.0180 | -0.0103 |
| Target 2: Graduate | |||||
| Demographic Parity | 0.2292 | 0.2345 | 0.2345 | -0.0053 | 0.0000 |
| Conditional Demographic Parity | 0.2480 | 0.2473 | 0.2510 | -0.0030 | -0.0037 |
| Equalized Odds | 0.0977 | 0.1167 | 0.1488 | -0.0512 | -0.0321 |
| Predictive Parity | 0.0892 | 0.0855 | 0.1445 | -0.0553 | -0.0590 |
| Equal Accuracy | 0.0208 | 0.0312 | 0.0538 | -0.0330 | -0.0226 |
Table 9. Fairness Metrics Comparison for Sensitive Feature: Gender (Students' Dropout and Academic Success Dataset – Original Setup –)
D.1.2 Sensitive Attribute: International. As shown in Table 10, evaluating International student status highlights the limitations of the One-vs-Rest reductions techniques prominently, reaching significant gaps across all the mappings. Aside from Equal Accuracy, every other metrics reach non-negligible fairness underestimations.
1:34
Grazioso et al.
Notably, in Target 0 (Dropout vs. Rest), Equalized Odds scores a gap of −0.1914 in and −0.1682 in , whereas Predictive Parity exhibits even broader discrepancies, underestimating disparity by −0.2585 and −0.2292, respectively.
In Target 1 (Enrolled vs. Rest), Equalized Odds reflects a negligible gap in (+0.0124) but sharply deteriorates under (-0.1525). Furthermore, Conditional DP highlights consistent underestimations exceeding −0.1952 in that case of .
Lastly, when analyzing Target 2 (Graduate vs. Rest), Predictive Parity and Equalized Odds yield severe gaps peaking at −0.2937 () and −0.2379 (), respectively. These findings indicate that binary reduction approaches consistently conceal substantial systemic biases affecting non-national students across all academic outcomes.
| Fairness Metric | BinOvR | MCovR | MCNative | ||
|---|---|---|---|---|---|
| Target 0: Dropout | |||||
| Demographic Parity | 0.0746 | 0.1366 | 0.1719 | −0.0972 | −0.0352 |
| Conditional Demographic Parity | 0.2154 | 0.3047 | 0.3589 | −0.1435 | −0.0542 |
| Equalized Odds | 0.2244 | 0.2476 | 0.4158 | −0.1914 | −0.1682 |
| Predictive Parity | 0.1577 | 0.1870 | 0.4162 | −0.2585 | −0.2292 |
| Equal Accuracy | 0.0779 | 0.0853 | 0.1164 | −0.0385 | −0.0311 |
| Target 1: Enrolled | |||||
| Demographic Parity | 0.1183 | 0.0739 | 0.1719 | −0.0535 | −0.0980 |
| Conditional Demographic Parity | 0.1777 | 0.1638 | 0.3589 | −0.1812 | −0.1952 |
| Equalized Odds | 0.4282 | 0.2633 | 0.4158 | +0.0124 | −0.1525 |
| Predictive Parity | 0.2730 | 0.3091 | 0.4162 | −0.1432 | −0.1071 |
| Equal Accuracy | 0.1068 | 0.1133 | 0.1164 | −0.0096 | −0.0031 |
| Target 2: Graduate | |||||
| Demographic Parity | 0.1221 | 0.1332 | 0.1719 | −0.0498 | −0.0386 |
| Conditional Demographic Parity | 0.2082 | 0.2780 | 0.3589 | −0.1507 | −0.0810 |
| Equalized Odds | 0.1779 | 0.1916 | 0.4158 | −0.2379 | −0.2242 |
| Predictive Parity | 0.1629 | 0.1225 | 0.4162 | −0.2533 | −0.2937 |
| Equal Accuracy | 0.1142 | 0.0885 | 0.1164 | −0.0021 | −0.0279 |
Table 10. Fairness Metrics Comparison for Sensitive Feature: International (Students' Dropout and Academic Success Dataset – Original Setup –)
D.1.3 Sensitive Attribute: Gender × International. The intersectional feature analysis in Table 3 showcase the most severe misestimations. Intersectional groups inherently suffer from representation bias, as described in Section C.2, which binary aggregation severely obscures or exacerbates.
For Target 0 (Dropout vs. Rest), Predictive Parity produces an alarming gap of −0.3929 () and −0.2578 (), while Equalized Odds DP peaks at −0.2877 () and −0.1826 ().
In the Target 1 (Enrolled vs. Rest) scenario, Conditional DP reveals a maximum gap of −0.3929 () and −0.2894 (), while Predictive Parity underperforms by up to −0.2834 () and −0.1051 (). This mapping is also the first scenario in which both the reduction techniques overestimate the fairness discrepancy, where Equal Accuracy picked at 0.1609 () and a less significant 0.0380 ().
Finally, for Target 2 (Graduate vs. Rest), Equalized Odds underestimates the multi-class disparity by −0.2877 in and −0.1826 in , while Equal Accuracy simultaneously overestimates by 0.0993 and underestimates by −0.0685.
1:35
These results emphasize that binary reduction approaches are not structurally suited for capturing intersectional fairness, as combining subgroup predictions unpredictably inflates or deflates intersectional fairness signals.
D.2 Students' Dropout and Academic Success with Oversampling Dataset Results
As described in Section C.2, Students' Dropout and Academic Success dataset suffers from severe target class and sensitive attribute representation imbalances. To mitigate this issue we apply SMOTE-NC to rebalance the intersection of the target class and protected features. The empirical evaluations below show that oversampling alone fails to resolve systematic underestimation; therefore, in order to overcome these unfairness, more advanced pre-processing fairness-enhancing methodologies are needed.
We report the experimental evaluation conducted across identical sensitive features, conditional attribute, and target binarization schemes to provide a complete and robust comparison. Table 11 provides the predictive performance of RFs averaged over 10-fold evaluations.
| Model / Target Mapping | Acc. | Bal. Acc. | Prec. | Recall | F1 | Spec. |
|---|---|---|---|---|---|---|
| Multi-class Classifier | 0.7502 | 0.7038 | 0.7055 | 0.7038 | 0.7020 | 0.8729 |
| Binary Classifier: Target 0 (Dropout) | 0.8707 | 0.8345 | 0.8446 | 0.7333 | 0.7846 | 0.9357 |
| Binary Classifier: Target 1 (Enrolled) | 0.7963 | 0.7018 | 0.4459 | 0.5543 | 0.4938 | 0.8493 |
| Binary Classifier: Target 2 (Graduate) | 0.8388 | 0.8388 | 0.8381 | 0.8393 | 0.8386 | 0.8384 |
Acc.: Accuracy; Bal. Acc.: Balanced Accuracy; Prec.: Precision; Recall: Recall; : Score; Spec.: Specificity.
Table 11. RF Classification Performance on the Students' Dropout and Academic Success Dataset – Oversampled Setup –
D.2.1 Sensitive Attribute: Gender. As presented in Table 12, when evaluating Target 0 (Dropout vs. Rest), Predictive Parity exhibits persistent negative gaps exceeding −0.09, whereas Equalized Odds underestimations cluster around −0.07.
In the Target 1 (Enrolled vs. Rest) scenario, DP and Conditional DP remain significantly distorted, recording gaps of −0.1895 (), −0.1812 () for DP, and −0.1733 () and −0.1622 () for Conditional DP.
For Target 2 (Graduate vs. Rest) configuration, while most disparity gaps narrow down, Equalized Odds persistently underestimates bias with gaps near −0.07.
D.2.2 Sensitive Attribute: International. Table 13 presents disparity gaps under oversampled regime for the International sensitive feature.
For Target 0 (Dropout vs. Rest), the Predictive Parity disparities gaps remain high at −0.2081 for and −0.1959 for , whereas Equalized Odds produces underestimation gaps exceeding −0.11.
In the Target 1 (Enrolled vs. Rest) scenario, Equalized Odds reaches underestimation gaps of −0.1832 () and −0.1775 (), while Conditional DP gaps widen to approximately −0.13.
Lastly, the Target 2 (Graduate vs. Rest) configuration yields the most alarming gaps, with Predictive Parity reaching −0.2770 () and −0.2670 ().
D.2.3 Sensitive Attribute: Gender × International. These trends, supported by Table 14, confirm that rebalancing class sample sizes through oversampling does not compensate for the loss of information caused by collapsing of multi-class targets into binary targets.
In Target 0 (Dropout vs. Rest), Equalized Odds exhibits the largest underestimation gaps reaching −0.4247 in and −0.3970 in . This highlights a critical information loss, given that native
1:36
Grazioso et al.
| Fairness Metric | BinOvR | MCOvR | MCNative | ΔPre | ΔPost |
|---|---|---|---|---|---|
| Target 0: Dropout | |||||
| Demographic Parity | 0.1741 | 0.1850 | 0.2147 | -0.0406 | -0.0297 |
| Conditional Demographic Parity | 0.1968 | 0.1988 | 0.2380 | -0.0412 | -0.0392 |
| Equalized Odds | 0.0939 | 0.0983 | 0.1651 | -0.0712 | -0.0668 |
| Predictive Parity | 0.0387 | 0.0369 | 0.1326 | -0.0939 | -0.0957 |
| Equal Accuracy | 0.0698 | 0.0678 | 0.0610 | +0.0087 | +0.0068 |
| Target 1: Enrolled | |||||
| Demographic Parity | 0.0252 | 0.0335 | 0.2147 | -0.1895 | -0.1812 |
| Conditional Demographic Parity | 0.0646 | 0.0758 | 0.2380 | -0.1733 | -0.1622 |
| Equalized Odds | 0.0965 | 0.1086 | 0.1651 | -0.0686 | -0.0565 |
| Predictive Parity | 0.0885 | 0.0787 | 0.1326 | -0.0441 | -0.0539 |
| Equal Accuracy | 0.0501 | 0.0442 | 0.0610 | -0.0109 | -0.0169 |
| Target 2: Graduate | |||||
| Demographic Parity | 0.2086 | 0.2109 | 0.2147 | -0.0061 | -0.0038 |
| Conditional Demographic Parity | 0.2247 | 0.2355 | 0.2380 | -0.0133 | -0.0025 |
| Equalized Odds | 0.0951 | 0.0935 | 0.1651 | -0.0699 | -0.0715 |
| Predictive Parity | 0.0972 | 0.0940 | 0.1326 | -0.0354 | -0.0386 |
| Equal Accuracy | 0.0331 | 0.0269 | 0.0610 | -0.0279 | -0.0341 |
Table 12. Fairness Metrics Comparison for Sensitive Feature: Gender (Students' Dropout and Academic Success Dataset – Oversampled Setup –)
| Fairness Metric | BinOvR | MCOvR | MCNative | ΔPre | ΔPost |
|---|---|---|---|---|---|
| Target 0: Dropout | |||||
| Demographic Parity | 0.0944 | 0.1120 | 0.1564 | -0.0619 | -0.0444 |
| Conditional Demographic Parity | 0.2194 | 0.2362 | 0.2907 | -0.0714 | -0.0545 |
| Equalized Odds | 0.2297 | 0.2490 | 0.3609 | -0.1312 | -0.1118 |
| Predictive Parity | 0.1964 | 0.2086 | 0.4046 | -0.2081 | -0.1959 |
| Equal Accuracy | 0.0719 | 0.0830 | 0.0941 | -0.0223 | -0.0111 |
| Target 1: Enrolled | |||||
| Demographic Parity | 0.0739 | 0.0648 | 0.1564 | -0.0825 | -0.0915 |
| Conditional Demographic Parity | 0.1618 | 0.1529 | 0.2907 | -0.1289 | -0.1378 |
| Equalized Odds | 0.1777 | 0.1833 | 0.3609 | -0.1832 | -0.1775 |
| Predictive Parity | 0.3667 | 0.3474 | 0.4046 | -0.0378 | -0.0572 |
| Equal Accuracy | 0.0743 | 0.0822 | 0.0941 | -0.0198 | -0.0119 |
| Target 2: Graduate | |||||
| Demographic Parity | 0.1314 | 0.1359 | 0.1564 | -0.0249 | -0.0205 |
| Conditional Demographic Parity | 0.2443 | 0.2617 | 0.2907 | -0.0464 | -0.0290 |
| Equalized Odds | 0.2180 | 0.2348 | 0.3609 | -0.1428 | -0.1260 |
| Predictive Parity | 0.1276 | 0.1376 | 0.4046 | -0.2770 | -0.2670 |
| Equal Accuracy | 0.0922 | 0.0960 | 0.0941 | -0.0020 | +0.0019 |
Table 13. Fairness Metrics Comparison for Sensitive Feature: International (Students' Dropout and Academic Success Dataset – Oversampled Setup –)
1:37
multi-class baseline () scores an alarming true multi-class fairness disparity of +0.9003. Notably, Equal Accuracy scores a positive overestimation gap of +0.0444.
Similarly, in Target 1 (Enrolled vs. Rest) configuration, the fairness gaps results non-negligible across all evaluated fairness metrics. DP yields gaps of -0.1837 () and -0.1513 (), whereas Conditional DP gaps expand significantly to alarming -0.4438 and -0.2971, respectively. Moreover, Equalized Odds consistently peaks disparity gaps over -0.20 in underestimation, while Predictive Parity achieves -0.0984 () and -0.2384 (). Consistent with Target 0 (Dropout vs. Rest) settings, Equal Accuracy results in a positive gap of +0.0525.
Likewise, for Target 2 (Graduate vs. Rest) scenario, Equalized Odds gaps remains severe at -0.4010 () -0.3265 (), hiding the true multi-class fairness disparities of 0.9003 (). This is followed by Predictive Parity, which reports underestimation gaps of -0.2948 in and of -0.2375 . The remaining metrics similarly exhibits non-negligible gaps, with Equal Accuracy scoring overestimations equal to +0.0687.
| Fairness Metric | BinOvR | MCOvR | MCNative | ||
|---|---|---|---|---|---|
| Target 0: Dropout | |||||
| Demographic Parity | 0.2571 | 0.3458 | 0.4359 | -0.1787 | -0.0901 |
| Conditional Demographic Parity | 0.5536 | 0.6689 | 0.7836 | -0.2300 | -0.1147 |
| Equalized Odds | 0.4756 | 0.5033 | 0.9003 | -0.4247 | -0.3970 |
| Predictive Parity | 0.4954 | 0.3934 | 0.6340 | -0.1386 | -0.2406 |
| Equal Accuracy | 0.2708 | 0.2385 | 0.2264 | 0.0444 | 0.0121 |
| Target 1: Enrolled | |||||
| Demographic Parity | 0.2521 | 0.2846 | 0.4359 | -0.1837 | -0.1513 |
| Conditional Demographic Parity | 0.3398 | 0.4865 | 0.7836 | -0.4438 | -0.2971 |
| Equalized Odds | 0.6941 | 0.6646 | 0.9003 | -0.2062 | -0.2357 |
| Predictive Parity | 0.5356 | 0.3956 | 0.6340 | -0.0984 | -0.2384 |
| Equal Accuracy | 0.2789 | 0.2240 | 0.2264 | 0.0525 | -0.0024 |
| Target 2: Graduate | |||||
| Demographic Parity | 0.3191 | 0.3579 | 0.4359 | -0.1167 | -0.0780 |
| Conditional Demographic Parity | 0.6178 | 0.6613 | 0.7836 | -0.1658 | -0.1223 |
| Equalized Odds | 0.4993 | 0.5738 | 0.9003 | -0.4010 | -0.3265 |
| Predictive Parity | 0.3392 | 0.3965 | 0.6340 | -0.2948 | -0.2375 |
| Equal Accuracy | 0.2502 | 0.2950 | 0.2264 | 0.0238 | 0.0687 |
Acc: Accuracy; Bal. Acc.: Balanced Accuracy; Prec.: Precision; Recall: Recall; : Score; Spec: Specificity.
Table 14. Fairness Metrics Comparison for Sensitive Feature: Gender × International (Students' Dropout and Academic Success Dataset – Oversampled Setup –)
D.3 Adult Multi-class Dataset Results
As described in Section C.1, the Adult dataset is originally designed for binary classification. We extend it to a the multi-class classification tasks by combining the original target and the feature EducationNum, thus obtaining the following three balanced classes: Low-Income and Low-Education, defined as EducationNum (Target 0); Low-Income and High-Education, defined as EducationNum (Target 1); and High-Income, simply defined as (Target 2).
Similarly to previous dataset, we choose three sensitive attribute to provide detailed and robust experiments: Sex (binary), Race – White (Binary) and their intersection (multi-group). Lastly, we
1:38
Grazioso et al.
select whether an individual was born in the United States (Country_United_States, binary as well) as our conditional attribute.
Table 15 shows the performances of the RFs across all target configurations.
| Model / Target Mapping | Acc. | Bal. Acc. | Prec. | Recall | F1 | Spec. | |
|---|---|---|---|---|---|---|---|
| Multi-class Classifier | 0.6559 | 0.6662 | 0.6553 | 0.6662 | 0.6572 | 0.8251 | |
| Binary Classifier: Target 0 (Low-Income & Low-Education) | 0 | 0.7324 | 0.7392 | 0.6290 | 0.7703 | 0.6925 | 0.7081 |
| Binary Classifier: Target 1 (Low-Income & High-Education) | 1 | 0.7263 | 0.7018 | 0.6226 | 0.6138 | 0.6181 | 0.7899 |
| Binary Classifier: Target 2 (High-Income) | 2 | 0.8391 | 0.8096 | 0.6526 | 0.7510 | 0.6983 | 0.8682 |
Acc.: Accuracy; Bal. Acc.: Balanced Accuracy; Prec.: Precision; Recall: Recall; : Score; Spec.: Specificity.
Table 15. RF Classification Performance on the Adult Multi-class Dataset
D.3.1 Sensitive Attribute: Sex. The fairness evaluation with Sex as the protected group (Table 2) underscores how target mapping selection drastically dictates the observed disparity gaps.
First, in Target 0 (Low-Income & Low-Education vs. Rest) scenario, the binary RF classifier reports a relatively low fairness discrepancy (), whereas the native multi-class model reveals severe discrepancy (). Notably, DP suffers from significant underestimation, yielding gaps of -0.2993 and -0.2741 for and , respectively. Similarly, Conditional DP yields underestimations of -0.2857 () and -0.2551 (), whereas Equalized Odds gaps raise to -0.2646 () and -0.2428 ().
Conversely, in Target 1 (Low-Income & Low-Education vs. Rest) configuration, DP and Conditional DP both show minimal positive gaps (+0.0221 and +0.0211, respectively), whereas the remaining disparity gaps results fall below +0.02 and thus negligible. This happens because this specific binary mapping isolates the subgroups where disparity skew the most, leaving remaining joined groups negligibly altered.
For Target 2 (High-Income vs. Rest), the results showcase significant underestimations where Equalized Odds scores gaps of -0.1778 () and -0.1564 (). DP and Conditional DP both exhibit gaps of approximately -0.061 and -0.048 in , whereas Equal Accuracy overestimates disparity yielding positive gaps of +0.0872 () and +0.0881 ().
These results effectively showcase that selecting an arbitrary binary reduction can severely mask true disparities or, conversely, induce false overestimations.
D.3.2 Sensitive Attribute: Race – White. Table 16 presents the fairness evaluations for the Race – White sensitive attribute (White vs. Non-White).
In the Target 0 (Low-Income & Low-Education vs. Rest) scenario, the DP and Equalized Odds gaps are the only pronounced distortions, recording -0.0625 and -0.0559, respectively. The remaining gaps scores lower than -0.05 an therefore can be considered relatively negligible.
In Target 1 (Low-Income & Low-Education vs. Rest) settings, DP gaps widen beyond -0.1 with both and , close to achieving fair scores; similarly, Conditional DP reaches -0.0819 () and -0.0895 (). Lastly, Equalized Odds records -0.0816 and -0.0589 .
The Target 2 (High-Income vs. Rest) mapping narrows down all the gap absolute values below 0.05, with Equal Accuracy remaining the only metric with positive overestimations.
1:39
Although less alarming, this setting reinforces once more the inherent risks of arbitrary target binarization, which can obscure substantial multi-class bias as observed in Target 1 (Low-Income & Low-Education vs. Rest).
| Fairness Metric | BinOvR | MCovR | MCNative | ΔPre | ΔPost |
|---|---|---|---|---|---|
| Target 0: Low-Income & Low-Education | |||||
| Demographic Parity | 0.0831 | 0.1024 | 0.1455 | -0.0625 | -0.0431 |
| Conditional Demographic Parity | 0.1975 | 0.2078 | 0.2112 | -0.0138 | -0.0035 |
| Equalized Odds | 0.0633 | 0.0862 | 0.1192 | -0.0559 | -0.0330 |
| Predictive Parity | 0.0655 | 0.0487 | 0.0671 | -0.0016 | -0.0184 |
| Equal Accuracy | 0.0167 | 0.0147 | 0.0309 | -0.0143 | -0.0162 |
| Target 1: Low-Income & High-Education | |||||
| Demographic Parity | 0.0296 | 0.0431 | 0.1455 | -0.1160 | -0.1024 |
| Conditional Demographic Parity | 0.1293 | 0.1217 | 0.2112 | -0.0819 | -0.0895 |
| Equalized Odds | 0.0376 | 0.0603 | 0.1192 | -0.0816 | -0.0589 |
| Predictive Parity | 0.0378 | 0.0338 | 0.0671 | -0.0293 | -0.0333 |
| Equal Accuracy | 0.0121 | 0.0153 | 0.0309 | -0.0188 | -0.0156 |
| Target 2: High-Income | |||||
| Demographic Parity | 0.1394 | 0.1455 | 0.1455 | -0.0061 | 0.0000 |
| Conditional Demographic Parity | 0.1704 | 0.1766 | 0.2112 | -0.0408 | -0.0346 |
| Equalized Odds | 0.0947 | 0.1016 | 0.1192 | -0.0245 | -0.0177 |
| Predictive Parity | 0.0301 | 0.0325 | 0.0671 | -0.0370 | -0.0346 |
| Equal Accuracy | 0.0614 | 0.0636 | 0.0309 | +0.0305 | +0.0327 |
Table 16. Fairness Metrics Comparison for Sensitive Feature: Race – White (Adult Multi-class Dataset)
D.3.3 Sensitive Attribute: Sex × Race – White. Finally, analyzing the combined Sex × Race – White sensitive attributes (Table 17) reinforces the trend observed in the previous intersectional experiments.
Target 0 (Low-Income & Low-Education vs. Rest) showcase the worst scenario: DP gaps reach –0.2206 (ΔPre) and –0.1724 (ΔPost), and similarly Equalized Odds yields underestimations of 0.2112 and –0.1626, respectively.
For Target 1 (Low-Income & Low-Education vs. Rest), all gap reductions are negligible, with the sole exception of Predictive Parity, which exhibits –0.0568 in ΔPre and –0.0640 ΔPost.
Finally, in Target 2 (High-Income vs. Rest), equalized Odds yields gaps of –0.1023 (ΔPre) and –0.0891 (ΔPost), whereas Equal Accuracy significantly overestimates disparities, reaching +0.0833 and +0.0860, respectively.
Received 20 February 2007; revised 12 March 2009; accepted 5 June 2009
1:40
Grazioso et al.
| Fairness Metric | BinOVR | BAM Mean | MCNative | ΔPre | Gap ΔPost |
|---|---|---|---|---|---|
| Target 0: Low-Income & Low-Education | |||||
| Demographic Parity | 0.1256 | 0.1738 | 0.3462 | -0.2206 | -0.1724 |
| Conditional Demographic Parity | 0.2591 | 0.2634 | 0.3768 | -0.1177 | -0.1134 |
| Equalized Odds | 0.1498 | 0.1984 | 0.3610 | -0.2112 | -0.1626 |
| Predictive Parity | 0.0977 | 0.0927 | 0.1596 | -0.0619 | -0.0669 |
| Equal Accuracy | 0.0482 | 0.0407 | 0.0643 | -0.0161 | -0.0236 |
| Target 1: Low-Income & High-Education | |||||
| Demographic Parity | 0.3647 | 0.3390 | 0.3462 | +0.0185 | -0.0072 |
| Conditional Demographic Parity | 0.3894 | 0.3689 | 0.3768 | +0.0126 | -0.0079 |
| Equalized Odds | 0.3555 | 0.3575 | 0.3610 | -0.0055 | -0.0035 |
| Predictive Parity | 0.1028 | 0.0956 | 0.1596 | -0.0568 | -0.0640 |
| Equal Accuracy | 0.0462 | 0.0577 | 0.0643 | -0.0181 | -0.0067 |
| Target 2: High-Income | |||||
| Demographic Parity | 0.3204 | 0.3313 | 0.3462 | -0.0258 | -0.0150 |
| Conditional Demographic Parity | 0.3408 | 0.3526 | 0.3768 | -0.0360 | -0.0242 |
| Equalized Odds | 0.2587 | 0.2719 | 0.3610 | -0.1023 | -0.0891 |
| Predictive Parity | 0.1266 | 0.1338 | 0.1596 | -0.0330 | -0.0258 |
| Equal Accuracy | 0.1476 | 0.1503 | 0.0643 | +0.0833 | +0.0860 |
Table 17. Fairness Metrics Comparison for Sensitive Feature: Sex × Race (White) (Adult Multi-class)