Skip to main content
Category: Fairness & Bias

Fairness Metrics

Also known as: Fairness Measures, Algorithmic Fairness Metrics
Simply put

Fairness metrics are quantitative measures used to detect whether a data set or machine learning model produces biased outcomes, particularly with respect to sensitive groups such as those defined by demographic characteristics. They help practitioners assess whether a model's predictions or decisions differ across groups or individuals in ways that may be considered unfair. It is important to note that there is no single universal fairness metric; different metrics reflect different, and sometimes mutually incompatible, definitions of what fairness means.

Formal definition

Fairness metrics are a set of quantitative measures used to detect and characterize bias in data or model outputs, typically evaluated with respect to membership in a sensitive group. They encompass distinct fairness notions that are frequently conflated but should be kept separate: group-level metrics (for example, demographic parity, which aims for model predictions to be statistically independent of sensitive group membership) and individual fairness (embodied in the principle that similar individuals should receive similar decisions). As commonly documented in the literature, several widely used fairness metrics can be expressed within a common mathematical framework, and formal results show that certain metrics cannot be simultaneously satisfied except under restrictive conditions, meaning metric selection involves explicit trade-offs. Fairness metrics measure statistical properties of outcomes and do not, on their own, establish legal or normative fairness; the appropriate metric is context- and jurisdiction-dependent and out of scope for any single definition. Practitioners should also distinguish bias (a measurable disparity in data or predictions) from fairness (a normative judgment that such disparities are or are not acceptable), as the two are related but not identical.

Why it matters

Fairness metrics translate an abstract concern—whether a model treats groups or individuals inequitably—into quantitative measures that can be tested, monitored, and documented. Within model risk management, this matters because a model can perform well on aggregate accuracy while still producing disparate outcomes across sensitive groups. Without explicit fairness measurement, such disparities may go undetected until they surface in operations, audit, or regulatory review. Measuring bias is a prerequisite to deciding whether observed disparities are acceptable, but the measurement itself does not resolve that question.

A central reason fairness metrics warrant careful treatment is that there is no single universal metric. Different metrics encode different notions of what fairness means, and formal results in the literature show that certain metrics cannot be simultaneously satisfied except under restrictive conditions. This means selecting a fairness metric is not a neutral technical step; it involves an explicit trade-off between competing definitions of fairness. Choosing one metric implicitly deprioritizes others, and that choice should be documented, justified, and, where relevant, aligned to the specific context and jurisdiction in which the model operates.

Who it's relevant to

Model risk managers and validators
Those responsible for identifying, measuring, and monitoring model risk use fairness metrics to detect disparities in model outputs across sensitive groups. Because metrics can conflict and no single measure is authoritative, validators should scrutinize which metric was selected, why, and what trade-offs that choice entails, treating fairness measurement as one input to a broader risk judgment rather than a pass/fail test.
Data scientists and model developers
Practitioners building and testing models apply fairness metrics to data and predictions to surface bias during development. They should understand that group-level metrics such as demographic parity and individual fairness reflect distinct notions that may be mutually incompatible, and that improving one metric can degrade another.
Compliance officers and legal professionals
Those assessing regulatory and legal exposure need to recognize that a satisfied fairness metric does not, on its own, establish legal or normative fairness. The relevant standard is context- and jurisdiction-dependent, so metric results should be interpreted alongside applicable legal requirements rather than treated as sufficient evidence of compliance.
Auditors
Auditors reviewing AI systems can use fairness metrics as evidence of whether bias testing was performed and documented. Given the absence of a universal metric and the trade-offs involved in metric selection, audit focus is typically on whether the choice of metric was reasoned, documented, and appropriate to the model's use context.

Inside Fairness Metrics

Group fairness metrics
Statistical measures that compare model outcomes across defined groups (for example, groups defined by a protected or sensitive attribute). Common formulations include demographic parity (comparing outcome rates across groups), equalized odds (comparing error rates such as true positive and false positive rates across groups), and equal opportunity (comparing true positive rates). These metrics operationalize fairness as a comparison of aggregate statistics rather than individual-level treatment.
Individual and counterfactual notions
Measures that focus on whether similar individuals receive similar outcomes, or whether an outcome would change if a sensitive attribute were altered while other factors were held constant. These differ from group metrics in their unit of analysis and typically require assumptions about what makes two individuals 'similar' or about the causal structure of the data.
Error-based versus outcome-based measures
A distinction between metrics that compare model error characteristics across groups (for example, false positive or false negative rate disparities) and metrics that compare the distribution of favorable outcomes across groups. The two families can diverge, and a model can satisfy one while failing another.
Reference group and baseline selection
The choice of which group serves as the comparison baseline and how disparities are expressed (as a difference, a ratio, or against a threshold). This choice materially affects the reported result and is often a point where methodology must be documented.
Sensitive attribute definition and availability
The set of attributes treated as protected or sensitive for the purpose of measurement, and whether reliable data on those attributes is available or must be inferred. Metric computation depends on how these attributes are defined and measured, which can vary by jurisdiction and use case.
Distinction from bias
Fairness metrics quantify disparities in outcomes or errors against a chosen fairness criterion; bias refers more broadly to systematic sources of skew (in data, labels, or modeling). A metric result is one lens on possible bias, not a complete characterization of it.

Common questions

Answers to the questions practitioners most commonly ask about Fairness Metrics.

Are fairness metrics the same as bias measures?
Not exactly, and professionals often blur these. Bias, as commonly used, refers to systematic error or skew in data, model behavior, or outcomes relative to some reference. Fairness metrics are formalized measures intended to assess whether a model's outcomes meet a chosen notion of equitable treatment across groups or individuals. A model can exhibit statistical bias without necessarily violating a given fairness metric, and can satisfy one fairness metric while failing another. Treating the two as interchangeable tends to obscure which specific property is being measured.
Is there a single fairness metric that, once satisfied, makes a model fair?
No. There is no universally authoritative fairness metric, and several commonly discussed definitions can be mutually incompatible, meaning satisfying one may preclude satisfying another except in limited cases. Fairness metrics operationalize particular normative choices rather than an objective standard, so selecting a metric is itself a contestable decision that typically depends on context, applicable law, and stakeholder input. Reporting a single metric as evidence that a model is 'fair' overstates what any one measure can establish.
How do you choose which fairness metric to apply to a given model?
Metric selection typically follows from the use case, the relevant legal or regulatory context, the harms of concern, and the definition of fairness stakeholders have agreed to prioritize. Because some metrics can conflict, teams often document the rationale for the chosen metric or metrics, acknowledge the trade-offs against alternatives, and note the assumptions involved. This documentation is generally useful for governance review and for explaining decisions to second-line and third-line functions.
Where in the model lifecycle should fairness metrics be evaluated?
In many programs, fairness assessment is considered at multiple points rather than once: during design and data assessment, at validation before deployment, and through ongoing monitoring after deployment. Evaluating only at a single stage can miss issues that arise as data distributions shift over time. The appropriate cadence typically depends on the model's risk profile and the organization's monitoring practices.
What data do you need to compute fairness metrics across groups?
Group-based fairness metrics generally require information about the protected or sensitive attribute for the relevant population, which may not be collected or may be restricted by law or policy in some jurisdictions and sectors. Where such attributes are unavailable, organizations sometimes use proxy or inference approaches, but these introduce their own accuracy and legal considerations. The availability and permissibility of this data is a common practical constraint and should be documented as a limitation of any resulting metric.
How do fairness metrics relate to the roles of the three lines of defense?
In many governance structures, the first line (model developers or business owners) may compute and report fairness metrics as part of development and initial testing; the second line (such as an independent validation or risk function) may critically assess the metric choice, methodology, and interpretation; and the third line (internal audit) may evaluate whether the overall process operated as intended. This separation supports independent challenge, though the specific allocation of responsibilities varies by organization and is not defined uniformly across frameworks.

Common misconceptions

A single fairness metric can be optimized to make a model 'fair' in all respects.
Different fairness metrics encode different, sometimes mathematically incompatible, definitions of fairness. As commonly discussed in the literature, several group metrics cannot generally be satisfied simultaneously except under narrow conditions, so selecting a metric involves a normative trade-off rather than a purely technical optimization.
Bias and fairness are the same thing, so a fairness metric measures bias directly.
Bias and fairness are distinct concepts. Bias refers to systematic sources of skew in data or modeling, while a fairness metric measures a specific disparity against a chosen criterion. A model may show a fairness metric disparity without a clear underlying bias, or may contain bias that a given metric does not surface.
Passing a fairness metric threshold eliminates discrimination or legal risk.
Metrics reduce and help monitor risk but do not eliminate it. Whether a given disparity is acceptable can depend on context, jurisdiction, and applicable law, and metric compliance is not equivalent to a legal determination of non-discrimination. The relevant treatment can vary by sector and regulatory regime.

Best practices

Select fairness metrics explicitly tied to the model's use case, the potential harms, and any applicable jurisdictional expectations, and document the rationale for the choice rather than defaulting to a single metric.
Evaluate multiple complementary metrics (for example, both error-based and outcome-based measures) and acknowledge in documentation where they conflict, since satisfying one may come at the expense of another.
Document the definition of sensitive attributes, the reference group, the disparity formulation (difference versus ratio), and any thresholds used, so results are reproducible and reviewable.
Assess the quality, availability, and provenance of sensitive-attribute data before computing metrics, and note where attributes are inferred or incomplete, as this affects the reliability of the results.
Treat fairness metric results as one input to a broader fairness and bias assessment, and pair them with qualitative review rather than treating a passing threshold as a conclusion.
Monitor fairness metrics over time as data and populations shift, and route material disparities through governance and model risk oversight rather than resolving them solely at the technical level.