Abstract
Explainable artificial intelligence (XAI) is concerned with producing explanations indicating the inner workings of models. For a Rashomon set of similarly performing models, explanations provide a way of disambiguating the behavior of individual models, helping select models for deployment. However, explanations themselves can vary depending on the explainer used and need to be evaluated. In this work, we propose three principles of explanation evaluation and a new method, "AXE," to evaluate the quality of feature-importance explanations. We illustrate how evaluation metrics that rely on comparing model explanations against ideal ground truth explanations obscure behavioral differences within a Rashomon set. AXE can detect adversarial fairwashing of explanations with a 100% success rate, determining when protected attributes are used to make predictions even when explainers are misled.
The Problem: Disambiguating the Rashomon Set
In machine learning, it is common to encounter a Rashomon set: a collection of different models that achieve nearly identical accuracy on a dataset but rely on fundamentally different internal decision-making logic. To understand how a specific model operates—for instance, to ensure it is not relying on protected attributes like race or gender—practitioners use XAI tools to generate feature-importance explanations.
However, existing evaluation metrics for these explanations are flawed. Ground-truth metrics compare explanations against a single "ideal" standard, which punishes models that legitimately use different features. Sensitivity-based metrics test how outputs change when features are perturbed, but these can be fooled by adversarial "fairwashing." In fairwashing, a discriminatory model is designed to behave normally on real data but act benignly on the synthetic, perturbed data used by explainers, effectively hiding its bias.
The AXE Framework
To address these limitations, we propose three core principles for explanation evaluation:
- Local Contextualization: Explanations should be evaluated based on the specific datapoint being explained.
- Model Relativism: Explanations must reflect the specific model's unique logic, rather than a global ground truth.
- On-manifold Evaluation: Evaluations should avoid synthetic, "off-manifold" data points that are vulnerable to adversarial manipulation.
Based on these principles, we introduce AXE (Agnostic eXplanation Evaluation). AXE measures the predictiveness of an explanation. For a given datapoint and its explanation, AXE selects the top-$n$ most important features and trains a local $k$-Nearest Neighbors ($k$-NN) surrogate model using only those features.
If the explanation is accurate (high fidelity), these top features should be highly predictive of the target model's actual output $m(x)$. By using a local surrogate to mimic the complex model, AXE bypasses the need for ground truths and synthetic data.
Key Results and Fairwashing Detection
We evaluated AXE using datasets common in fairness literature, including German Credit, COMPAS, and Communities and Crime. We simulated state-of-the-art adversarial attacks where a discriminatory model is modified to fool explainers like SHAP or LIME into highlighting harmless "foil" features instead of protected attributes.
AXE achieved a 100% success rate in detecting these fairwashed explanations, consistently scoring the true (discriminatory) explanations higher than the manipulated ones. In contrast, sensitivity-based baseline metrics (PGI and PGU) failed frequently, with an overall error rate of 50%. This demonstrates that predictiveness is a robust proxy for fidelity and a powerful tool for ensuring model transparency in high-stakes deployments.
Limitations and Future Work
Currently, AXE is optimized for tabular datasets and local feature-importance explanations. Future research will explore adapting the AXE framework to high-dimensional modalities such as computer vision and natural language processing, as well as investigating the sensitivity of the metric to hyperparameter choices like the number of neighbors ($k$) and the feature subset size ($n$).
Summary updated