---
title: Fairness-Aware Confident Learning
url: https://www.emergentmind.com/topics/fairness-aware-confident-learning
type: topic
---

# Fairness-Aware Confident Learning

Fairness-aware confident learning is a paradigm for mitigating bias in supervised machine learning pipelines affected by distributional or label noise, with a particular emphasis on algorithmic fairness across sensitive groups. It operationalizes the identification and filtering of label errors through confidence estimation, while incorporating modifications to standard confident learning (CL) techniques to address the risk of unfair exclusion of underrepresented populations. This framework is motivated by the observation that commonly used data filtering procedures—by relying solely on confidence scores—can amplify pre-existing dataset bias and disproportionately harm disadvantaged groups when labeling processes are corrupted by bias [2312.08749].

## 1. Formal Problem Setting and Label Bias Model

Let the observed dataset be $D = \{(x_n, \tilde{y}_n, s_n)\}_{n=1}^N$, where $x_n \in \mathbb{R}^d$ represents non-sensitive features, $\tilde{y}_n \in \{0,1,\ldots,k-1\}$ are observed (possibly biased) labels, $z_n$ are unobserved true labels, and $s_n \in \{A, B\}$ denotes the protected group (e.g., $A$ for privileged, $B$ for disadvantaged). A label-flipping function $\mathcal{G}$ acts on $(X, S, Z)$ to produce $\tilde{Y} = \mathcal{G}(X, S, Z)$, with bias rates $\rho_A = P(\tilde{Y}=1\mid S=A, Z=0)$ and $\rho_B = P(\tilde{Y}=0\mid S=B, Z=1)$. In standard "symmetric" bias, both rates are positive; in "asymmetric" bias, one is dominant. Training classifiers directly on $(x, \tilde{y})$ can introduce significant disparity in downstream fairness metrics, such as the demographic parity gap $|\mathbb{P}(\hat{Y}=1\,|\,S=A) - \mathbb{P}(\hat{Y}=1\,|\,S=B)|$ and the equal opportunity gap $|\mathbb{P}(\hat{Y}=1\,|\,S=A, Z=1) - \mathbb{P}(\hat{Y}=1\,|\,S=B, Z=1)|$ [2312.08749].

## 2. Confident Learning Foundations

The standard CL framework identifies likely label errors by estimating the self-confidence of the model in its provided label for each data point, based on its probabilistic output. For the $n$-th data point, the self-confidence is $s_n = p(\tilde{y}_n\,|\,x_n;\theta)$, and the associated error probability is $1-s_n$. Per-class thresholds $t_j$ are defined as the average self-confidence in class $j$. Noisy or mislabeled examples are detected by predicting a new label $\hat{z}_n = \arg\max_i p(\tilde{y}_n=i\,|\,x_n;\theta)$, subject to $p(\tilde{y}_n=i|x_n;\theta) \geq t_{i}$, and assembling a count matrix of label transitions. Off-diagonal elements in the calibrated joint matrix $\bar{C}_{j,i}$, $i\neq j$, indicate suspected label errors, which can be pruned, with a new classifier retrained on the filtered set [2312.08749].

## 3. Fairness-Aware Confident Learning Modifications

Fairness-aware confident learning introduces two mechanisms to ensure that data filtering does not disproportionately disadvantage samples from underrepresented groups:

**a) Truncation of Confidence Scores:**  
Instead of the naïve mean-based threshold $t_j$, a robust mean $\bar{t}_j$ is computed via an $M$-estimator:
$$\bar{t}_j = \frac{1}{|X_{\tilde{y}=j}|} \sum_{x_n:\tilde{y}_n=j} \psi(p(\tilde{y}_n=j|x_n;\theta)),$$
with $\psi(x) = \log(1 + x + x^2/2)$ acting as an influence function to down-weight high-confidence outliers.  

**b) Lower-confidence Threshold Extension:**  
A theoretically justified lower threshold $\mu_j$ is derived (Theorem 1) by:
$$\mu_j = \bar{t}_j - \frac{Q}{N_s - \nu},$$
where $\nu$ is a variance bound, $N_s$ the sample size, $Q = \nu(N + (\nu \log(2N)/N^2))$. All samples with $s_n \geq \mu_{y_n}$ are retained. This relaxes filtering to preserve low-confidence but possibly correctly labeled items, especially from minority groups [2312.08749].

## 4. Group-Aware Co-Teaching Paradigm

The framework adapts the co-teaching paradigm: instead of each network teaching the other on a subset of likely clean labels, both networks must concur on the set of pruned instances. Two neural networks, $\theta_A$ and $\theta_B$, are trained separately on slices of the data defined by $s_n$ (i.e., $S=A$ or $S=B$). In each minibatch iteration:

- Compute robust thresholds $\mu_j^A$, $\mu_j^B$ from their respective sensitive-group partitions.
- For each sample, if either network assigns $p_{A/B}(n) \geq \mu_{y_n}^{A/B}$, the predicted label $\hat{z}_n$ is updated.
- Build per-group confident joints, filter examples assigned to off-diagonal entries by both networks.
- The survivor set is used to update the unified model $\theta$.  

This approach partly decouples the effect of group imbalance and prevents over-pruning disadvantaged groups [2312.08749].

## 5. Fair Instance Selection, Metrics, and Theoretical Guarantees

Retention criteria require that a sample is removed only if both networks assign it to a mislabeled (off-diagonal) cell under their respective robust thresholds. This targets demographic parity and equal opportunity through agreement over sensitive-group splits. The selection rule per class $j$ is:
$$\max\{p(\tilde{y}_n=j\,|\,x_n;\theta_A),\ p(\tilde{y}_n=j\,|\,x_n;\theta_B)\} \geq \mu_j.$$
Theoretical analysis (Theorem 1) delivers a high-probability bound on the deviation of $\psi$-truncated averages from the true mean (probability at least $1-2\epsilon$ for $\epsilon > 0$), justifying the choice of lower thresholds for robust and fair pruning [2312.08749].

## 6. Experimental Evaluation and Empirical Findings

Experiments span synthetic (95,750 points, controlled bias), Adult (≈46K, gender), COMPAS (≈7K, race), Credit Card (30K, gender), and Law School (21K, gender) datasets. A shared two-layer perceptron (ReLU) architecture is applied. Baselines include classic CL, LongReMix, Label-Bias Correction (LC), Group Peer Loss (GPL). Metrics are: test error (%), DEO (difference of equal opportunity), demographic parity (DP) gap, and $p$-percent. Key results:

- Substantial test error reduction under both symmetric and asymmetric label flip regimes, e.g., Adult $\rho=20\%$: Error 15.8% (method) vs CL 22.6%, LC 18.9%, GPL 23.5%.
- DEO reduction (Adult $\rho=20\%$: 0.12 vs CL 0.17).
- Truncated "T" threshold yields lower synthetic error (0.77%) than mean estimator "M" (1.51%).
- All means are reported with standard deviation over 10 splits, with improvements robust to data splits [2312.08749].

## 7. Discussion, Scope, and Limitations

The main contributions include a model-agnostic, group-aware data-filtering framework with robust truncation and co-teaching that explicitly mitigates the risk of unfair filtering. The method is empirically demonstrated to achieve better error-fairness trade-offs and is theoretically anchored. Extensions discussed include handling multi-class or multi-attribute sensitive settings, online thresholding, automated influence function learning, and dynamic tuning of the pruning/variance schedule. A plausible implication is that fairness-aware CL can be generalized as a template across data-driven fairness mitigation when label noise correlates with sensitive attributes [2312.08749].

| Component              | Mechanism                                        | Fairness Contribution            |
|------------------------|--------------------------------------------------|----------------------------------|
| Truncation (M-estimator) | Robustifies confidence thresholds                | Prevents over-pruning minorities |
| Co-teaching adaptation   | Dual networks on group slices agree on pruning   | Group-wise filtering criteria    |
| Lower-confidence extension | Retains low-confidence, correct-label cases   | Reduces disparate rejection      |

Fairness-aware confident learning represents a principled data-centric approach to fairness, distinct from fairness constraints at model training or inference, and complements methods for certifying group fairness with high confidence or in settings absent sensitive attributes [2312.08749; 2510.21017; 2409.18470; 2304.13950].

Source: https://www.emergentmind.com/topics/fairness-aware-confident-learning