NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Sample Selection for Fair and Robust Training

Yuji Roh, Kangwook Lee, Steven Whang, Changho Suh

TL;DR

This paper introduces a greedy sample selection algorithm designed to achieve both fairness and robustness in machine learning models simultaneously. By formulating data cleaning as a constrained optimization problem, the authors ensure that removing "noisy" data doesn't accidentally purge minority groups. This approach outperforms state-of-the-art methods without requiring the expensive "clean" validation sets typically needed for robust training.

The Conflict Between Fairness and Robustness

Trustworthy AI requires models to be both fair (unbiased toward sensitive groups) and robust (resilient to corrupted or noisy data). However, these two goals are often in direct conflict.

Standard robust training techniques, such as Iterative Trimmed Loss Minimization (ITLM), work by discarding samples with high loss values under the assumption that they are outliers or noise. The problem is that in biased datasets, minority groups or underrepresented classes often naturally have higher loss values because the model hasn't learned them well.

Blindly applying "clean selection" can lead to a "fairness disaster" where the very samples needed to balance the model are the first ones thrown in the trash.

The conflict between robustness and fairness: minority groups often have the highest loss, making them targets for deletion by standard cleaning methods.

The authors tackle the challenge of how to select a subset of training data that is "clean" enough to be robust, yet "balanced" enough to be fair, all without needing a separate, perfectly labeled validation set.

Proposed Methodology: Constrained Sample Selection

The authors propose a framework that treats sample selection as a multi-dimensional knapsack problem. Instead of just picking the $N$ samples with the lowest loss, they select samples to minimize total loss subject to two types of constraints:

  1. Robustness Constraint: A global limit on how many samples to select (the "clean ratio").
  2. Fairness Constraints: Adaptive limits on the number of samples selected from each (label, sensitive group) pair.

Because solving this optimization problem is NP-hard, they introduce a Greedy-Based Clean and Fair Sample Selection algorithm. It works by:

  • Calculating a "profit" for each sample (how much it helps reduce loss).
  • Sorting samples by profit.
  • Sequentially selecting samples as long as they don't violate the fairness or robustness "budgets."

To determine the right fairness budgets ($\lambda$), they integrate FairBatch, an adaptive system that monitors the model's current bias during training and automatically adjusts the sampling ratios for the next epoch. This makes the approach "plug-and-play"—it only modifies the batch selection step and doesn't require changing the underlying model architecture.

Experimental Setup

The researchers evaluated their algorithm on three primary datasets:

  • Synthetic Dataset: A custom-generated dataset with 3,200 samples designed to have biased distributions of sensitive attributes.
  • ProPublica COMPAS: A real-world benchmark used for predicting criminal recidivism, where gender is treated as the sensitive attribute.
  • Adult Census: A large-scale dataset (43,131 samples) for predicting income levels, also using gender as the sensitive attribute.

To test robustness, they injected noise using label flipping (randomly changing labels) and group-targeted label flipping (specifically attacking a certain group to maximize model inaccuracy).

Key Insights

  • The Ambiguity of High Loss: The paper highlights that "high loss" is a mixed signal. It can mean a sample is noisy, but it can also mean the sample belongs to a marginalized group the model is struggling to understand. Standard cleaning (ITLM) improves accuracy but significantly worsens fairness disparities by disproportionately dropping these marginalized samples.
Performance of standard methods: ITLM improves accuracy but causes Equalized Odds (EO) and Demographic Parity (DP) disparities to spike.
  • Decoupling Selection from Training: Unlike previous state-of-the-art methods like FR-Train, which require complex adversarial training with multiple discriminators, this method works entirely at the data-loading level. This means it can be used with almost any classifier (Logistic Regression, Deep Neural Networks, etc.).
  • No "Gold Standard" Required: Most robust methods assume you have a small, perfectly clean validation set to guide the cleaning of the larger training set. This paper shows you can achieve comparable results using only the noisy training data itself by adaptively balancing group ratios.

Performance and Results

The proposed algorithm consistently achieved the best or second-best results across all metrics:

  • Fairness Improvement: On the COMPAS dataset with 10% label noise, the algorithm reduced Equalized Odds (EO) disparity to 0.044, compared to 0.145 for standard robust training (ITLM).
  • Accuracy vs. Fairness Trade-off: The method maintains high accuracy while significantly lowering bias. In many cases, it outperformed FR-Train, even though FR-Train had the "unfair" advantage of using additional clean validation data.
  • Efficiency: The greedy approach is computationally efficient, with a complexity of $O(n \log n)$ due to the sorting step, making it viable for large datasets like Adult Census.

Limitations and Future Directions

The authors acknowledge a few areas for further exploration:

  • Fairness Measures: The current work focuses on prominent group fairness measures (Equalized Odds and Demographic Parity). Extending this to individual fairness or causality-based measures is a suggested next step.
  • Types of Corruption: The study primarily addresses label noise. Future iterations could test the algorithm's performance against feature noise or more sophisticated adversarial perturbations.
  • Theoretical Guarantees: While the greedy algorithm works well in practice, it currently lacks the formal convergence guarantees that more complex (but slower) optimization solvers might provide.

Summary updated

BibTeX
@inproceedings{roh2021sample,
  author = {Yuji Roh and Kangwook Lee and Steven Whang and Changho Suh},
  title = {{Sample Selection for Fair and Robust Training}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
}
Figure