Skip to main content
Back

Bielefeld University Finds XAI Metrics Fail to Match Real User Judgment

A user study across three datasets finds that popular counterfactual explanation metrics like sparsity and proximity barely predict what humans actually value.

Pro

  • Bielefeld University study finds automated counterfactual metrics correlate weakly with human judgments of explanation quality.
  • 167 Prolific participants rated 85 counterfactuals across Mushroom, Obesity Levels, and Heart Disease datasets on five dimensions.
  • Only trust score showed a significant aggregate correlation with users' Combined Quality Score at r = 0.307.
  • Sparsity and proximity correlated negatively with satisfaction on Mushroom but positively on Obesity Levels.
  • Exhaustive search over 127 metric subsets showed adding more metrics degraded predictive power.
  • Full paper on arXiv; explanations generated via Alibi Explain.

A new empirical study from Bielefeld University takes a hard look at how the field measures the quality of counterfactual explanations, and the conclusion is uncomfortable for anyone who ships explainable AI. The seven metrics most commonly cited in the counterfactual literature, including sparsity, proximity, diversity and trust score, correlate only weakly with how real users judge those same explanations. Worse, stacking more metrics together does not fix the problem.

Counterfactual explanations, or CFs, are the go-to technique for telling a user how a model's prediction would change under minimal edits to the input. Think of a loan rejection accompanied by a note that flipping income from one bracket to the next would have produced an approval. Their contrastive, decision-oriented form aligns with how people naturally reason about "what if" scenarios, which has contributed to their prominence in XAI research. The catch is that comparing two CF algorithms almost always relies on automated scores rather than asking users what they think.

The gap nobody was measuring

A broad range of algorithmic metrics has been proposed to quantify properties of CFs such as sparsity and proximity, and these metrics form the backbone of most comparative evaluations and are frequently used as proxies for explanation quality. The authors point out that human-centered evaluation is treated as the gold standard in theory, but in practice the two worlds rarely meet. Concerns about metric validity have been growing elsewhere in XAI too, notably in the M4 benchmark for feature attribution methods, where widely used faithfulness scores disagreed with each other.

How the study was run

The team recruited 167 participants through Prolific and had them rate counterfactuals on five dimensions using a 4-point Likert scale: perceived accuracy, understandability, plausibility, sufficiency of detail, and satisfaction. Explanations were generated with the Counterfactuals Guided by Prototypes method from the Alibi Explain library, applied to XGBoost classifiers on three UCI tabular datasets:

  • Mushroom (MUS) , 22 features, edible vs poisonous, F1 of 1.00
  • Obesity Levels (OBE) , 16 features, seven-class problem, F1 of 0.95
  • Heart Disease (HRT) , 13 features, binary, F1 of 0.85

Because the five rating dimensions were internally consistent (Cronbach's alpha of 0.88, first principal component explaining 74.1% of variance), the authors also collapse them into a single Combined Quality Score. They then compute seven standard automated metrics on the same explanations and check whether either individual metrics or subsets of them line up with the human ratings.

The metrics do not track the humans

Only trust score shows a statistically significant association with the CQS when aggregating across all explanations (r = 0.307, p = 0.004), while all other metrics exhibited negligible correlations. Look at each dataset separately and the story gets stranger. On Mushroom, sparsity, diversity, proximity and closeness are all negatively correlated with satisfaction and detail, meaning users preferred small, tight edits. On Obesity, the same metrics flip sign and correlate positively, meaning users wanted richer, more information-dense explanations. On Heart Disease, nothing correlates with anything.

Heatmap of Pearson correlations between XAI metrics and human rating dimensions across three datasets

Both the direction and magnitude of metric-rating correlations vary substantially across datasets, with a mean cross-dataset standard deviation of correlation coefficients of 0.31. In other words, a metric that looks helpful on one dataset can point the wrong way on another.

Combining metrics does not save them

The team then ran an exhaustive powerset analysis over all 127 non-empty subsets of the seven metrics, training five model families per subset: linear regression, k-nearest neighbors, Random Forest, XGBoost, and generalized additive models. Performance was measured with 5-fold cross-validated R-squared. The results were bleak:

  • Linear regression: mean R-squared of -1.253
  • XGBoost: mean R-squared of -1.874, likely overfitting on the small sample
  • kNN: mean R-squared of -0.887
  • Random Forest, the best of the bunch: mean R-squared of -0.474

For Random Forest, the best models peak at three and four metrics and then decline monotonically as more metrics are added. Piling on more automated signals does not just fail to help, it actively hurts.

What this means for your evaluation pipeline

The paper stops short of proposing a replacement, and it is honest about limitations: a single CF generation method, three datasets, lay users rather than domain experts, and sample sizes powered only to detect large effects. What it does establish is that treating sparsity or proximity as a stand-in for user satisfaction is a shaky habit. If your team ships counterfactual explanations, the practical takeaway is that automated leaderboards should not be the last word. A small human rating loop, even on a few dozen explanations, is likely to reveal preferences that no combination of the current seven metrics will capture. The authors flag actionability, meaning whether a user could actually enact the suggested change, as one likely missing ingredient for future human-aligned metrics.