Metric-Fair Active Learning

Jie Shen, Nan Cui, Jing WangICML 2022

TL;DR

Active learning is a powerful tool for training models with fewer labels, but its selective nature often introduces unintended biases. This paper introduces the first provably efficient active learning algorithm that guarantees metric fairness—ensuring similar individuals are treated similarly—while maintaining exponential label efficiency and remaining robust to adversarial noise.

What Problem Does This Paper Address?

In traditional machine learning, we often have a mountain of data but very few labels. Active learning solves this by strategically picking only the most "informative" instances to be labeled by a human. However, this "cherry-picking" process is a double-edged sword: by focusing only on certain parts of the data distribution to maximize accuracy, the algorithm may inadvertently learn a model that discriminates against specific groups or individuals.

The authors tackle the tension between label efficiency (using as few labels as possible) and individual fairness (specifically "metric fairness," where a task-specific metric defines how similar two instances are). Prior work in fair learning often required massive amounts of labeled data or struggled with computational complexity. This paper asks: Can we design an algorithm that is fast, uses very few labels, and is provably fair?

Methods

The researchers build their solution on the foundation of margin-based active learning. This is an iterative process where the model identifies a "disagreement region" (the area near the decision boundary where it's most uncertain) and only asks for labels within that shrinking band.

To incorporate fairness, they introduce several novel components:

  • Convex Fairness Surrogate: Metric fairness is usually defined by a discrete indicator function, which is notoriously difficult to optimize. The authors propose a convex "hinge-loss" style surrogate. This allows the fairness constraint to be baked directly into the optimization problem as a convex program, making it computationally efficient.
  • Interleaving Data Types: The algorithm uses a large pool of unlabeled data to estimate and enforce the fairness constraint, while using a much smaller pool of labeled data to refine the classification boundary.
  • Sparsity and Localization: For high-dimensional data where only a few features matter (sparse halfspaces), they use $\ell_1$-norm constraints and hard-thresholding to keep the model "attribute-efficient."
  • Noise Robustness: The algorithm is designed to handle "adversarial noise," where an attacker can flip a small fraction of labels to try and confuse the learner.

Datasets

As a theoretical machine learning paper, the authors do not evaluate their work on empirical benchmarks like ImageNet or UCI datasets. Instead, they provide rigorous mathematical proofs under the assumption of isotropic log-concave distributions. This is a standard, broad class of distributions in learning theory that includes Gaussians and other well-behaved densities.

Key Insights and Ideas

  • Fairness is "Cheaper" than Accuracy: One of the most interesting takeaways is that you don't need labels to ensure fairness. Because metric fairness is about how the model treats pairs of inputs relative to each other, the algorithm can use abundant unlabeled data to satisfy fairness constraints while saving the expensive labels for accuracy.
  • The Power of Localization: By shrinking the "trust region" in each iteration, the algorithm naturally filters out the influence of adversarial noise. If a noisy label falls outside the current region of uncertainty, the algorithm simply ignores it.
  • Exponential Improvement: Compared to previous "passive" fair learning methods where label complexity scales polynomially (e.g., $1/\epsilon^2$), this active approach scales logarithmically ($\text{polylog}(1/\epsilon)$). This is the difference between needing 10,000 labels and needing 100.

Key Results

Comparison of label complexity, metric fairness, and noise tolerance against prior work.
  • Label Complexity: The authors prove that their algorithm achieves a target error $\epsilon$ and fairness violation $\alpha$ using only $O(d \cdot \text{polylog}(1/\epsilon, 1/\alpha))$ labels for general halfspaces (Theorem 4).
  • Attribute Efficiency: For sparse models with $t$ relevant features in $d$ dimensions, the label complexity drops to $O(t \cdot \text{polylog}(d, 1/\epsilon, 1/\alpha))$ (Theorem 5). This means the number of labels depends mostly on the number of important features, not the total number of features.
  • Guaranteed Fairness & Noise Tolerance: As highlighted in the comparison table above, this algorithm is the first to provide a "PAC-Fair" (Probably Approximately Correct and Fair) guarantee alongside noise tolerance, ensuring the model generalizes its fairness properties to unseen data without sacrificing exponential label efficiency.

Limitations and Future Work

  • The Realizability Assumption: The current proofs assume that a "perfectly fair" and "perfectly accurate" hypothesis actually exists in the search space. In the real world, data is often "agnostic," meaning no perfect model exists. Extending this to the agnostic setting is a major open challenge.
  • Dependence on $\alpha$: While the label complexity is logarithmic in $1/\alpha$, the authors suggest there might be room to further optimize the sample complexity regarding the fairness error rate.
  • Metric Choice: The framework relies on a pre-defined metric $\zeta(x, x')$ to define similarity. In practice, defining this metric is a subjective and difficult task that remains outside the scope of the algorithmic optimization itself.

Summary updated

BibTeX
@inproceedings{shen2022metric,
  author = {Jie Shen and Nan Cui and Jing Wang},
  title = {{Metric-Fair Active Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
}
Figure