It’s late, you’ve had a long day, and you’re probably looking for a bit of clarity in a world of "black box" algorithms. We all want AI to explain itself, especially when it’s making high-stakes decisions in a hospital or a bank. But how do we know if an AI’s explanation is actually good?
Usually, we compare the AI's "heatmap" (the parts of an image it says are important) to a "ground truth" provided by a human expert (like a box drawn around a tumor). If they align, we give the AI a gold star. But as this paper from researchers at Eindhoven University of Technology reveals, the "gold star" depends entirely on which ruler you use and how you hold it.
TL;DR
Alignment evaluation—comparing AI explanations to human ground truth—is not a neutral, objective measurement. By changing seemingly small settings like the shape of the ground truth or the math used to compare them, you can completely flip the ranking of which AI explanation method appears "best."
What Problem Does This Paper Address?
In Explainable AI (XAI), we often use alignment as a shortcut. Instead of running expensive studies with human doctors every time we tweak an algorithm, we just check if the AI's explanation matches a pre-defined mask or bounding box.
The problem is that this process is riddled with "hidden" design choices. Should the ground truth be a single point, a box, or a detailed outline? Should we treat the AI's explanation as a fuzzy "soft" heatmap or a "hard" binary mask? The authors argue that these choices aren't just technical details—they are active biases that "shape" the evaluation results, often leading researchers to conflicting conclusions about which XAI methods actually work.
Methods
The authors move away from treating evaluation as a single number and instead formalize it as a Configuration Space. They look at five interacting components:
- XAI Method: The algorithm generating the explanation.
- Ground Truth (GT) Representation: Is the target a region, a boundary, a box, or a point?
- Metric Family: Does the math measure overlap, peak location, distance, or "leakage" outside the target?
- Formulation: Soft (continuous values) vs. Hard (thresholded binary values).
- Thresholding: If using a "hard" metric, where do you cut off the heatmap?
To make sense of the chaos, they introduced a new taxonomy to describe "explanation styles" based on two features: Local Entropy (LE) (how scattered the explanation is) and Boundary Mass Ratio (BMR) (whether the explanation hugs the edges or fills the center).
Datasets
The researchers tested their framework across four distinct environments to ensure their findings weren't just a fluke of one dataset:
- 2D Synthetic: Simple geometric shapes (circles, squares).
- 3D Synthetic: Volumetric shapes (spheres, pyramids).
- BRISC2025: Real-world 2D MRI slices of brain tumors.
- MosMed: Real-world 3D chest CT scans.
Key Insights and Ideas
- The "Best" Method is a Moving Target: There is no "universally superior" XAI method. A method that looks like a winner when evaluated against a bounding box might look like a failure when evaluated against a single point.
- Soft vs. Hard is a Fundamental Shift: Switching from "soft" metrics (which care about the intensity of the heatmap) to "hard" metrics (which only care if a pixel is "on" or "off") doesn't just change the score—it changes what you are measuring. Hard metrics emphasize "peak localization," while soft metrics emphasize "mass and coverage."
- The LE-BMR Map: By plotting methods on the LE-BMR axes, the authors could predict which metrics a method would "prefer." For example, Grad-CAM produces "Region" patterns (low entropy, low boundary mass), making it a natural fit for bounding-box evaluations.
Key Results
The most striking result came from the MosMed medical dataset. When comparing the rankings of XAI methods using "soft" vs. "hard" formulations, the researchers found a negative correlation ($\tau = -0.17$). In plain English: the method that was "best" under one setting was often among the "worst" under the other.
They also used "flow" diagrams to show how certain methods are naturally "compatible" with specific configurations. For instance, "Region-focused" methods align best with region-based ground truths under overlap metrics, while "Boundary-focused" methods need point- or mass-based metrics to shine.
Limitations and Future Work
The authors acknowledge that while alignment is a useful proxy, a high alignment score doesn't automatically mean an explanation is "faithful" to the model's inner workings or actually helpful to a human user.
Future work aims to extend this "configuration space" analysis to other types of data (like text or time-series) and to investigate how these alignment patterns hold up across even broader evaluation settings. For now, the takeaway is clear: if you're evaluating an AI, you need to be very careful about the ruler you choose.
Summary updated