Scrutinizing XAI using linear ground-truth data with suppressor variables

Rick Wilming, Céline Budding, Klaus-Robert Müller, Stefan Haufe · DOI

TL;DR

This paper exposes a critical weakness in many Explainable AI (XAI) methods: they often fail to distinguish between features that actually correlate with a target and "suppressor variables" that merely help the model "clean" noise. By introducing a rigorous linear ground-truth benchmark, the authors demonstrate that popular tools like SHAP, LIME, and LRP can be easily misled, while pattern-based methods prove far more robust.

What Problem Does This Paper Address?

As machine learning moves into high-stakes domains like medicine and law, we need to know why a model makes a decision. The field of XAI provides "saliency maps" to highlight important features. However, "importance" is a slippery term.

The authors identify a specific trap: suppressor variables. These are features that have zero statistical correlation with the target outcome but are used by the model to cancel out noise in other features. For example, in a medical scan, a model might use "patient sex" not because it correlates with a disease, but because it helps normalize a baseline physiological marker. If an XAI tool highlights "sex" as important, a doctor might wrongly conclude it’s a risk factor. This paper argues that a feature should only be considered "important" if it has a genuine statistical dependency with the target.

Methods

The authors propose a formal, data-driven definition of feature importance: a feature is important if and only if it is statistically dependent on the target variable ($X_d \not\perp Y$).

To test existing XAI methods against this definition, they:

  1. Created a Linear Ground-Truth Benchmark: They designed a synthetic dataset of $8 \times 8$ images where the "signal" (important) and "distractor" (suppressor) patterns are mathematically predefined and strictly linear.
  2. Trained Classifiers: They used Linear Logistic Regression and single-layer Neural Networks, ensuring the models achieved near-perfect accuracy so that any "explanation" failure was due to the XAI method, not a poor model.
  3. Evaluated XAI Suites: They benchmarked a wide array of methods, including:
  4. Model-agnostic: LIME, SHAP, Anchors, Permutation Feature Importance (PFI).
  5. Neural Network-specific: Layer-wise Relevance Propagation (LRP), Deep Taylor Decomposition (DTD), PatternNet, and PatternAttribution.

Datasets

The study uses a newly introduced synthetic benchmark. Unlike real-world datasets (where "ground truth" importance is often a matter of opinion), this dataset is generated via a linear generative model.

  • The Signal: Two blobs in the left half of the image.
  • The Suppressor: A blob in the top-right that correlates with noise in the top-left signal but has zero correlation with the label.
  • The Goal: A perfect XAI method should highlight the left blobs and completely ignore the right blob.

Key Insights and Ideas

  • The "Model vs. Data" Conflict: Most XAI methods explain the model's decision process, not the underlying data. If a model uses a suppressor to boost accuracy, the XAI method faithfully reports it as "important." The authors argue this is a feature of the model but a failure of the explanation.
  • The Myth of Linear Interpretability: It is often assumed that linear models are "transparent" because we can just look at the weights. This paper proves that even in a simple linear setup, model weights (extraction filters) are fundamentally biased toward highlighting suppressors.
  • Pattern-based Superiority: Methods that incorporate the data's covariance structure (like PatternNet and PatternAttribution) are significantly better at filtering out suppressors than those that only look at gradients or model weights.

Key Results

  • Popular Failures: SHAP, LIME, LRP, and DTD all assigned significant importance to the suppressor variables (the "wrong" side of the image). In high-stakes scenarios, these methods would provide misleading "explanations."
  • The Winners: PatternNet and PatternAttribution (along with the linear "Pattern" method) were the only ones to accurately recover the ground-truth signal while ignoring the suppressors.
  • Quantitative Performance: Using metrics like AUROC and Precision at 90% Specificity (PREC90), the pattern-based methods approached near-perfect scores as the signal-to-noise ratio increased. In contrast, model-agnostic and gradient-based methods saturated at much lower performance levels, unable to shake the "influence" of the suppressors.

Limitations and Future Work

  • Linearity Constraint: The current study is limited to linear data and linear/shallow models. While this provides a "clean" laboratory for testing, real-world deep learning is non-linear.
  • Gaussian Assumptions: The synthetic data assumes Gaussian distributions, which may not capture the "long-tail" complexities of real-world data.
  • Future Directions: The authors suggest extending this framework to non-linear suppressor variables and more complex architectures to see if the advantage of pattern-based methods holds up in the wild.

Summary updated

BibTeX
@article{wilming2022scrutinizing,
  author = {Rick Wilming and Céline Budding and Klaus-Robert Müller and Stefan Haufe},
  title = {{Scrutinizing XAI using linear ground-truth data with suppressor variables}},
  journal = {Machine Learning},
  year = {2022},
  doi = {10.1007/s10994-022-06167-y},
}
Figure