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

The effect of whitening on explanation performance

Benedict Clark, Stoyan Karastoyanov, Rick Wilming, Stefan Haufe

TL;DR

This paper investigates whether data whitening, a common preprocessing step, can improve the reliability of Explainable AI (XAI) methods. The authors found that while some whitening techniques can indeed boost explanation performance by mitigating the impact of "suppressor variables" (features that are correlated with noise but not the target), the benefits are not universal and depend heavily on the specific XAI method and model architecture.

What Problem Does This Paper Address?

Explainable AI (XAI) aims to make machine learning models more transparent, but a critical challenge is ensuring the accuracy and reliability of feature attribution methods. Prior research has shown that these methods can mistakenly assign high importance to irrelevant features, known as "suppressor variables," which are often introduced by dependencies in the data (especially correlated noise). This can lead to fundamental misinterpretations of why a model makes a certain prediction. The authors explore whether data whitening, a technique that decorrelates features, can help overcome this issue and lead to more faithful explanations.

Methods

The study employs a systematic approach to evaluate the impact of whitening on XAI methods.

  • XAI-TRIS Benchmark: They utilize the XAI-TRIS benchmark dataset, which provides synthetic ground-truth explanations for image classification tasks. This allows for objective quantitative evaluation of explanation correctness.
  • Whitening Techniques: Five different whitening techniques are applied: Sphering, Symmetric Orthogonalization, Optimal Signal Preservation (OSP), Cholesky Whitening, and Partial Regression. These methods transform the data to reduce feature correlations and achieve unit variance.
  • Feature Attribution Methods: Sixteen popular post-hoc feature attribution methods are tested in conjunction with the whitening techniques.
  • Performance Metrics: Explanation performance is measured using precision and Earth Mover's Distance (EMD).
  • Theoretical Analysis: A minimal two-dimensional linear classification problem is used to theoretically analyze how whitening affects explanations in the presence of suppressor variables.

Datasets

The primary dataset used is the XAI-TRIS benchmark (Clark et al., 2024b). This benchmark consists of four binary image classification problems, each with two background types:

  • WHITE background: Uncorrelated noise.
  • CORR background: Correlated noise, which induces suppressor variables.

The four classification scenarios are:

  1. Linear (LIN): T-shaped vs. L-shaped tetrominoes in fixed positions.
  2. Multiplicative (MULT): Tetrominoes multiplied by the background, introducing non-linearity.
  3. Translations and Rotations (RIGID): Tetrominoes are randomly translated and rotated.
  4. XOR: Combinations of T and L tetrominoes are present, with classification based on XOR logic.

Key Insights and Ideas

  • Whitening is not a silver bullet: While whitening can improve XAI performance, it doesn't universally solve the problem of spurious attributions to suppressor variables.
  • Method and Architecture Dependency: The effectiveness of whitening varies significantly depending on the specific XAI method used and the architecture of the machine learning model.
  • Suppression is a complex issue: The presence of correlated noise (suppressor variables) demonstrably degrades XAI performance, and whitening's ability to mitigate this is not always complete, especially in non-linear scenarios.
  • Global vs. Local Whitening: Techniques that perform global decorrelation (like Sphering, OSP, Symmetric Orthogonalization) tend to be more effective than those that focus on pairwise feature removal (like Partial Regression), particularly in complex scenarios.
  • Theoretical insights align with empirical findings: The theoretical analysis of a 2D suppressor problem shows that only Partial Regression can analytically remove the suppressor's influence, which aligns with its mixed empirical performance.

Key Results

  • Improved Precision and EMD: Several whitening techniques, notably Sphering, Optimal Signal Preserving, and Symmetric Orthogonalization, showed significant improvements in both precision and EMD scores when applied to the correlated background scenarios, bringing performance closer to that of the uncorrelated (WHITE) background.
  • Varied Impact Across XAI Methods: The degree of improvement varied substantially across the 16 XAI methods tested. Some methods benefited greatly from whitening, while others showed minimal or no improvement.
  • Non-linear scenarios are challenging: In non-linear scenarios (like MULT and RIGID), the impact of whitening was more complex, and improvements were less consistent.
  • Partial Regression and Cholesky Whitening: These methods showed some improvement but generally fell short of the performance achieved by the more global whitening techniques.

Limitations and Future Work

  • Linearity Assumption: The whitening techniques primarily operate on linear relationships (covariance, correlation matrices). Their effectiveness might be limited in highly non-linear scenarios where complex dependencies exist.
  • Feature Ordering: Cholesky whitening's performance can be sensitive to feature ordering, and the paper explored only one specific ordering.
  • Future Work: The authors suggest exploring methods that can capture and remove non-linear or higher-order redundancy. They also propose that XAI methods might need additional mechanisms to distinguish true predictors from correlated suppressors to ensure adequate explanation performance.

Summary updated

BibTeX
@inproceedings{clark2024effect,
  author = {Benedict Clark and Stoyan Karastoyanov and Rick Wilming and Stefan Haufe},
  title = {{The effect of whitening on explanation performance}},
  booktitle = {InterpretableAI @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=0EUYnGIp4F},
}
Figure