Detecting and Processing Unsuspected Sensitive Variables for Robust Machine Learning

Laurent Risser, Agustin Martin Picard, Lucas Hervier, Jean-Michel LoubesAlgorithms 2023 · DOI · OpenReview

TL;DR

This paper tackles the critical issue of "unsuspected" algorithmic bias in industrial machine learning, particularly in high-dimensional data like images. They propose a novel human-in-the-loop pipeline to detect and mitigate these hidden biases, demonstrating its effectiveness on a satellite imagery dataset where reconstruction artifacts led to systematic prediction errors.

What Problem Does This Paper Address?

Algorithmic bias in machine learning is a growing concern, especially in societal applications. However, in industrial and safety-critical domains, biases can be more insidious because the "sensitive variables" (like race or gender) that often flag bias in social contexts are not always obvious or even known. These unsuspected sensitive variables can be indirectly encoded in high-dimensional data, leading to unfair or unreliable model predictions. For instance, subtle image artifacts might cause a classifier to consistently mispredict certain types of images, a problem that standard evaluation methods might miss. This paper aims to bridge this gap by providing a systematic way to find and fix these hidden biases in industrial settings.

Methods

The authors propose a novel Human-in-the-loop pipeline for detecting and mitigating unsuspected sensitive variables. The core idea is to leverage influence functions to identify observations that have the most significant impact on a trained model's decisions.

  1. Influence Function Analysis: They use influence functions (specifically, approximations from [93]) to quantify how much each training data point affects the model's output. High influence suggests that the model struggles to capture the relationship between that data point and its label.
  2. Observation Selection: The most influential observations are selected. The number is kept small enough for human inspection but large enough to reveal potential commonalities.
  3. Human Inspection & Feature Definition: A human observer examines these influential observations to identify a common feature or pattern. This feature is then defined as a potential sensitive variable (A).
  4. Bias Quantification: Standard bias metrics (from Section 3) are used to measure the extent to which this newly identified sensitive variable A causes algorithmic bias.
  5. Bias Mitigation: If significant bias is detected, the authors suggest either understanding the root cause (as per Section 2.2) for model re-optimization or directly applying bias mitigation strategies (from Section 5) using the identified sensitive variable.

This approach is designed for gradient-descent trained models, particularly neural networks.

Datasets

  • EuroSAT Dataset: The authors use the RGB version of the EuroSAT dataset for their use-case. This dataset contains 27,000 remote sensing images (64x64 pixels) with land cover labels. The RGB channels were reconstructed from original 13-band Sentinel-2 satellite images.

Key Insights and Ideas

  • Unsuspected Bias is a Real Industrial Problem: The paper strongly emphasizes that biases in industrial settings are often not obvious and can arise from subtle data artifacts, not just well-known sensitive attributes.
  • Human Intelligence is Crucial for Unsuspected Bias Detection: The proposed pipeline highlights the necessity of human domain expertise to identify novel sensitive variables that automated methods might miss.
  • Influence Functions as a Bias Detector: Quantifying the influence of individual data points on a model's predictions is a powerful way to surface problematic data subsets, even without prior knowledge of sensitive attributes.
  • Blue-Veil Effect as a Case Study: The satellite imagery example demonstrates how image reconstruction artifacts (the "blue-veil effect") can act as an unsuspected sensitive variable, leading to a significant performance drop for affected images.
  • Bias Mitigation Requires Targeted Strategies: The paper shows that generic bias mitigation techniques might not be effective if they don't target the specific type of bias observed (e.g., disparate impact vs. equality of errors).

Key Results

  • Detection of Blue-Veil Bias: In the EuroSAT dataset, the influence function analysis revealed that 7 out of the 25 most influential images were "blue-veiled," despite these images constituting only 3% of the dataset. This strongly suggested a bias.
  • Performance Discrepancy: When comparing models on blue-veiled images versus other images, the error rate was consistently higher for blue-veiled images across different CNN architectures (CNN, VGG, ResNet18). For instance, a ResNet18 classifier showed a test error of 17% on blue-veiled images compared to 4% on others.
  • Effectiveness of Transfer Learning: For bias mitigation, fine-tuning a pre-trained ResNet18 model (transfer learning) proved to be a very effective strategy, significantly reducing the error gap between blue-veiled and other images.
  • Convergence Awareness: A "convergence aware" strategy, where training was stopped based on the convergence behavior on blue-veiled images, also improved performance but required significantly more epochs (around 145 for optimal test performance) compared to naive approaches.

Limitations and Future Work

  • Scalability of Human Inspection: While effective, the human inspection step in the pipeline might become a bottleneck for extremely large datasets or when identifying complex features.
  • Generalization to Other Data Types: The current pipeline is demonstrated on image data. Extending it to other high-dimensional data types like natural language or time series is a natural next step.
  • Automation of Feature Identification: Future work could explore more automated ways to identify and define sensitive variables from influential data subsets, reducing reliance on manual human input.
  • Extension to Large Language Models: The authors suggest that future work will deal with extending their approach to Large Language Models, where the number of potential sensitive variables can be much larger. This will require developing new levels of abstraction to leverage human intelligence more efficiently.

Summary updated

Abstract

The problem of algorithmic bias in machine learning has recently gained a lot of attention due to its potentially strong impact on our societies. In much the same manner, algorithmic biases can alter industrial and safety-critical machine learning applications, where high-dimensional inputs are used. This issue has, however, been mostly left out of the spotlight in the machine learning literature. Contrary to societal applications, where a set of potentially sensitive variables, such as gender or race, can be defined by common sense or by regulations to draw attention to potential risks, the sensitive variables are often unsuspected in industrial and safety-critical applications. In addition, these unsuspected sensitive variables may be indirectly represented as a latent feature of the input data. For instance, the predictions of an image classifier may be altered by reconstruction artefacts in a small subset of the training images. This raises serious and well-founded concerns about the commercial deployment of AI-based solutions, especially in a context where new regulations address bias issues in AI. The purpose of our paper is, then, to first give a large overview of recent advances in robust machine learning. Then, we propose a new procedure to detect and to treat such unknown biases. As far as we know, no equivalent procedure has been proposed in the literature so far. The procedure is also generic enough to be used in a wide variety of industrial contexts. Its relevance is demonstrated on a set of satellite images used to train a classifier. In this illustration, our technique detects that a subset of the training images has reconstruction faults, leading to systematic prediction errors that would have been unsuspected using conventional cross-validation techniques.
BibTeX
@article{risser2023detecting,
  author = {Laurent Risser and Agustin Martin Picard and Lucas Hervier and Jean-Michel Loubes},
  title = {{Detecting and Processing Unsuspected Sensitive Variables for Robust Machine Learning}},
  journal = {Algorithms},
  year = {2023},
  doi = {10.3390/a16110510},
}
Figure