Do We Need Another Explainable AI Method? Toward Unifying Post-hoc XAI Evaluation Methods into an Interactive and Multi-dimensional Benchmark

Mohamed Karim Belaid, Eyke Hüllermeier, Maximilian Rabus, Ralf KrestelarXiv 2022 · DOI

TL;DR

The "Compare-xAI" framework introduces a unified, multi-dimensional benchmark for evaluating Explainable AI (XAI) algorithms through objective functional testing. By moving away from subjective human reviews and toward a hierarchical scoring system, it helps practitioners choose the right tool for their specific machine learning task while avoiding common pitfalls in interpretation.

Introduction: The Challenge of XAI Proliferation

As Explainable AI (XAI) has transitioned from a research luxury to a legal requirement (the "Right to Explanation"), the field has seen an explosion of new algorithms. However, this "boom" has created two major hurdles:

  1. Tool Selection Paralysis: With dozens of post-hoc methods available (like SHAP, LIME, and Integrated Gradients), practitioners struggle to know which one is most reliable for their specific model or data.
  2. The Illusion of Explanatory Depth: Data scientists often over-trust XAI outputs without realizing that these tools have their own vulnerabilities, such as sensitivity to noise or susceptibility to adversarial attacks.

Existing benchmarks are often limited to specific domains (like Computer Vision) or rely on costly, subjective human evaluations. This paper seeks to fill that gap with an objective, automated, and scalable benchmarking pipeline.

Methods: The Compare-xAI Framework

The authors propose Compare-xAI, a benchmark built on the principles of functional testing. In software engineering, functional testing checks if a system does what it’s supposed to do without looking at the internal code. Here, the authors treat XAI algorithms as black boxes and test them against specific "end-user requirements."

Selection Protocol and Hierarchical Scoring

To avoid redundant or debatable tests, the authors curated a list of 22 functional tests based on three rules: each must target one clear requirement, the "correct" answer must be undebatable, and it shouldn't require an exact "ground truth" value.

To make complex data digestible, results are aggregated into three levels:

  • Level 1 (Comprehensibility): A single global score representing how much effort a human needs to get a correct explanation.
  • Level 2 (Categories): Five sub-scores: Fidelity (does it reflect the model?), Fragility (is it easily corrupted?), Stability (is it consistent?), Simplicity (is it easy to reason about?), and Stress (does it handle big/sparse data?).
  • Level 3 (Unit Tests): Detailed scores for each individual test.
The hierarchical scoring system of Compare-xAI, organizing results from a global comprehensibility score down to individual unit tests.

The framework also includes an Interactive UI that allows users to filter algorithms by model type and visualize performance trade-offs.

Datasets

The benchmark uses a mix of synthetic and real-world datasets designed to trigger specific algorithmic behaviors:

  • Synthetic "Cough and Fever" / Tabular Data: Used to test if algorithms can detect symmetry between features or handle non-uniform data distributions.
  • MNIST: Used as a "stress test" to see if algorithms can correctly identify that edge pixels (which are always black) are "dummy" features that the model shouldn't be using.
  • COMPAS: A real-world dataset used to test Fragility by seeing if an adversarial attack can successfully "mask" biased or racist behavior in a model's explanation.

Key Insights and Ideas

  • The "No Silver Bullet" Reality: One of the most important findings is that no state-of-the-art XAI algorithm succeeds in all tests. Every tool has a "weak point," making the benchmark's multi-dimensional view essential.
  • Quantifying "Comprehensibility": The authors redefine comprehensibility not as a feeling, but as the number of "operations" (like re-running the tool or cleaning data) a user must perform to fix a failed or misleading explanation.
  • Algorithmic Clustering: The results show that many popular methods (like various SHAP approximations) cluster together in performance because they share the same underlying permutation-based logic.

Key Results

The benchmark successfully identifies a "Pareto front" of algorithms that offer the best balance between execution time and explanation quality.

The Pareto front of XAI algorithms, plotting comprehensibility scores against average execution time per test.
  • Performance Clustering: Most XAI algorithms scored between 0.70 and 0.85 on the global Comprehensibility scale. While they are generally good, they are far from perfect.
  • Efficiency vs. Accuracy: While exact_shapley_values is highly accurate, it is computationally expensive (831 seconds per test), whereas tree_shap is nearly instantaneous (<1 second) but limited to tree-based models.
  • Failure Identification: The benchmark highlights specific failures; for instance, some methods like LIME showed significantly lower scores in Fragility, meaning they are highly susceptible to being fooled by adversarial perturbations.

Limitations and Future Work

The authors acknowledge several areas for growth:

  • Scope of Explanations: The current iteration focuses primarily on global feature importance; future versions aim to include feature interaction testing.
  • Model Coverage: The proof-of-concept does not yet cover Reinforcement Learning (RL), GANs, or unsupervised learning tasks.
  • Quantitative Bias: By design, the benchmark excludes human-centric qualitative metrics. While this ensures objectivity, it doesn't capture the "human feel" of an explanation.

The benchmark is open-source and available for the community at https://karim-53.github.io/cxai/.

Summary updated

BibTeX
@misc{belaid2022do,
  author = {Mohamed Karim Belaid and Eyke Hüllermeier and Maximilian Rabus and Ralf Krestel},
  title = {{Do We Need Another Explainable AI Method? Toward Unifying Post-hoc XAI Evaluation Methods into an Interactive and Multi-dimensional Benchmark}},
  year = {2022},
  eprint = {2207.14160},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.14160},
}
Figure