Feature-Wise Bias Amplification

Klas Leino, Emily Black, Matt Fredrikson, Shayak Sen, Anupam Datta

Machine learning models don't just reflect biases in their training data—they often amplify them. A well-known example is when a model trained on a dataset where 70% of doctors are men ends up predicting that 90% of doctors are men. Traditionally, researchers have blamed this on class imbalance, assuming the model ignores minority classes to minimize overall error.

However, recent research identifies a new phenomenon called feature-wise bias amplification, which occurs even when classes are perfectly balanced. The culprit is not the class distribution, but how the optimization process handles "weak" features. This paper introduces targeted feature-selection algorithms that significantly reduce this bias while simultaneously improving model accuracy.

The Core Problem: Feature Asymmetry & Hallucinated Importance

The researchers discovered that bias amplification can be traced back to Feature Asymmetry. This happens when one class is associated with many "weak" predictors (features that are only slightly correlated with the outcome), while the other class has only a few.

When a model is trained via Stochastic Gradient Descent (SGD) on such data, it tends to give these weak features too much credit. If insufficient training data is available, SGD doesn't just find a "good enough" solution; its inductive bias systematically overestimates the coefficients of these weak features. The model essentially "hallucinates" a stronger relationship than actually exists, resulting in skewed predictions.

Overestimation of weak feature coefficients decreases as training data size (N) increases.

Understanding the Bias: Intrinsic vs. Feature-Wise

To tackle this issue, the authors break down bias into two distinct categories:

  1. Intrinsic Bias: This is unavoidable bias that occurs when the available features are simply too poor to distinguish between classes. In these cases, the model defaults to predicting the most frequent class.
  2. Feature-Wise Bias: This is the "fixable" bias caused by the optimizer's overestimation of weak features.

The "Weak Feature" Trap

To understand feature-wise bias, consider a gender prediction task. If "long hair," "eyeliner," and "jewelry" are all weak indicators for "woman," but only "mustache" is a weak indicator for "man," a model might aggregate all those feminine-leaning weak features. This accumulation leads to a massive over-prediction of the female class, trapping the model in a cycle of amplified bias.

Model bias (probability of predicting class 1) increases as the number of weak features associated with that class grows.

Proposed Solutions: Influence-Directed Feature Removal

To mitigate feature-wise bias, the researchers propose Influence-Directed Feature Removal. They introduce a metric called "internal distributional influence" to quantify how much each feature (or neuron in a deep network's penultimate layer) contributes to the final prediction. Using this metric, they offer two mitigation strategies:

  • Feature Parity: This algorithm identifies which class has more features "leaning" toward it and systematically removes the weakest ones until both classes have an equal number of influential features.
  • Experts: This approach treats the problem as a search. It establishes an "influence" threshold and removes any features that fall below it, provided that pruning them doesn't harm the model's training accuracy.

Key Results: Breaking the Bias-Accuracy Trade-off

In many fairness discussions, it is assumed that reducing bias inherently costs accuracy. This paper demonstrates the opposite. Because feature-wise bias is essentially the model "fitting to noise," removing these weak features often makes the model more accurate and better at generalizing.

The authors validated their methods across diverse datasets, including CIFAR-10, CelebA, high-dimensional tabular data (like Arcene and Prostate datasets), and synthetic Gaussian data. The results were striking:

  • CelebA: Using a VGG16 network, the "Expert" method removed 95% of the prediction bias while slightly improving overall accuracy.
  • Prostate Dataset: The original model exhibited extreme bias and only achieved 52.7% accuracy (barely better than random chance). After applying the "Expert" mitigation, accuracy jumped to 90.2%, and bias was slashed by 80%.
  • Comparison to $L_1$ Regularization: While standard $L_1$ regularization (which also prunes features) offered minor improvements, it was consistently outperformed by the influence-based methods. This proves that which features you remove matters far more than just removing a large quantity of them.

Limitations and Future Work

While these methods proved highly effective on deep networks, the authors note that the techniques were primarily derived from observations of linear models. For deep networks, the feature selection was applied only to the final fully-connected layer (the "slice abstraction").

Future work will explore adapting these algorithms to operate deeper within the hidden layers of convolutional neural networks, applying these findings to multi-class problems, and investigating whether other optimization methods beyond SGD suffer from the same weak feature overestimation.

Summary updated

BibTeX
@inproceedings{leino2019feature,
  author = {Klas Leino and Emily Black and Matt Fredrikson and Shayak Sen and Anupam Datta},
  title = {{Feature-Wise Bias Amplification}},
  booktitle = {International Conference on Learning Representations},
  year = {2019},
  url = {https://openreview.net/forum?id=LmmtY6WIFfw},
}
Figure