[KongchangAI]
· 2 min read· 1,366 words

Configuration Traps in Explainable AI Evaluation: Alignment Metrics Are Not a Fixed Yardstick

Configuration Traps in Explainable AI Evaluation: Alignment Metrics Are Not a Fixed Yardstick

Alignment evaluation is systematically shaped by GT representation, metric family, soft/hard form, and thresholding—not a fixed measure of explanation quality.

This article interprets the paper *Unpacking the Evaluators*, showing that the alignment evaluation widely used in XAI carries systematic bias. The paper formalizes alignment evaluation as a configuration space of XAI method, GT representation, metric family, soft/hard form, and thresholding strategy, and analyzes their interactions on 2D/3D synthetic and real datasets. It finds soft/hard metric differences change behavioral patterns and threshold sensitivity varies by metric family and attribution structure, and proposes an attribution behavior taxonomy based on local entropy and boundary mass ratio. The authors urge specifying configurations when reporting scores and testing robustness across configurations.

Alignment Evaluation: A Widely Used but Under-Examined Measurement Approach

In the field of explainable AI (XAI), evaluating explanation quality has always been a thorny problem. Ideally, explanations should align with human reasoning processes and expert knowledge, which requires expert-driven manual validation. But manual evaluation is hard to scale, so researchers have widely turned to alignment-based metrics—comparing attribution maps against predefined ground-truth (GT) representations.

While popular, this approach carries an implicit assumption that is rarely discussed: that alignment evaluation itself is objective and stable. A paper titled Unpacking the Evaluators: How Configuration Shapes the Evaluation of Alignment in Explainable AI directly challenges this assumption. The authors point out that alignment evaluation is in fact systematically biased by multiple design choices in the evaluation process, including the choice of GT representation, the metric family, the soft vs. hard form of the metric, and the thresholding strategy.

Illustration of the configuration space for alignment evaluation in explainable AI

In other words, the same XAI method could yield radically different "quality conclusions" under a different evaluation configuration. This finding is a warning worth heeding for researchers who rely on alignment metrics for model selection or paper comparisons.

Explainable AI (XAI) aims to make the decision processes of machine learning models understandable to humans. Common approaches include attribution maps (e.g., Saliency, Grad-CAM, Integrated Gradients), surrogate models (e.g., LIME), and concept activation vectors. Among these, attribution-based methods—which "explain" model predictions by assigning importance scores to input features—are one of the most mainstream interpretability paradigms today.

Attribution maps and ground-truth (GT) representations: An attribution map is a heatmap with the same dimensions as the input, where the magnitude of each value indicates a feature's contribution to the output. During evaluation, researchers typically need a "ground-truth" representation as a reference—for example, manually annotated key features, model gradients, or feature importance obtained through perturbation experiments. The choice of GT representation directly determines the evaluation baseline, but different GTs may themselves reflect different explanatory goals (e.g., faithfulness to the model vs. faithfulness to the data), and thus are not absolutely objective.

Formalizing the Evaluation Configuration: A Structured Space

One of the paper's core contributions is formalizing alignment evaluation into a structured evaluation configuration space. This space is composed of several key dimensions: the XAI method, the GT representation, the metric family, the metric form (soft/hard), and the thresholding strategy. By systematically traversing combinations within this space, researchers can observe how each design choice affects the final evaluation results.

The authors further propose a structured alignment evaluation framework that models the interactions among these dimensions on 2D and 3D, synthetic and real datasets. The value of this approach lies in making explicit the "implicit choices" that were previously scattered across individual experimental setups. Prior studies often reported alignment scores under a single configuration, making it hard for readers to judge how much a score reflects the method's intrinsic merit versus how much it is an artifact of the configuration.

Metric families and soft/hard forms: Metrics commonly used in alignment evaluation include AUC (area under the curve), Spearman rank correlation, IoU (intersection over union), and Top-K precision. These metrics can be divided into "soft" and "hard" forms: soft forms directly use the continuous values of the attribution map to compute similarity, preserving all ranking information; hard forms first binarize the attribution map (e.g., taking Top-K or applying a threshold) and then compute overlap or consistency. Soft metrics are more sensitive to subtle numerical changes, while hard metrics focus more on whether key features are captured—and the two may lead to different conclusions.

Thresholding strategy: In constructing hard metrics or binarized GTs, a threshold must be set to decide which features are considered "important." Common strategies include fixed quantiles (e.g., Top-10%), absolute thresholds, or adaptive thresholds based on statistical significance. The choice of threshold changes the sparsity of the GT and the binarization result of the attribution map, thereby affecting alignment scores.

Characterizing Attribution Behavior with Local Entropy and Boundary Mass Ratio

Beyond the configuration space, the paper also introduces a new taxonomy of XAI output behavior based on two metrics: local entropy and boundary mass ratio. These two quantities start from the distributional characteristics of attribution maps to structurally characterize attribution patterns, thereby supporting behavioral analysis in alignment evaluation.

The significance of this taxonomy is that it offers a way to describe explanations that does not rely solely on alignment scores. An alignment score is an aggregate scalar, whereas local entropy and boundary mass ratio reveal the spatial distribution tendency of attributions—whether they are concentrated locally or spread near boundaries. When alignment results are anomalous, such behavioral features can help determine whether the problem lies in the method itself or in a mismatch between the evaluation configuration and the attribution structure.

Local entropy measures the spatial dispersion of an attribution map: a high entropy value indicates that importance scores are evenly distributed and the explanation is more diffuse; a low entropy value indicates that importance is concentrated in a few regions and the explanation is more focused. Boundary mass ratio quantifies the proportion of attribution mass that falls near the decision boundary, reflecting whether the explanation tends to focus on inter-class transition regions. These two metrics do not depend on GT and can be computed directly from attribution maps, so they can describe the behavioral tendencies of XAI methods independently of alignment evaluation, providing a complementary perspective for diagnosing evaluation anomalies.

Systematic Bias: Soft/Hard Metrics and Threshold Sensitivity

The experiments reveal several types of systematic phenomena worth noting. The authors use "flows" (triples of XAI-GT-metric configuration) to describe these patterns, finding that alignment results exhibit markedly different behavioral characteristics under specific configurations—the discrepancy between soft and hard metric implementations being a typical example.

Another finding is that threshold sensitivity varies markedly across metric families and attribution structures. This means that the choice of thresholding strategy is not merely a technical detail; it substantively changes evaluation conclusions. For methods with different attribution structures, the same threshold may introduce different degrees of evaluation shift.

Together, these results point to one conclusion: alignment evaluation cannot be treated as a fixed or invariant measure of explanation quality. It is more like a function that depends on configuration, and reporting a score requires stating the configuration as well.

Practical Implications for XAI Evaluation Practice

The paper lands on practical guidance. The authors advocate designing more reliable and behavior-aware XAI evaluation protocols. Specifically, when reporting alignment metrics, researchers should clearly specify the GT representation, metric family, soft/hard form, and thresholding strategy; when comparing different methods, they should test whether conclusions are robust across multiple configurations rather than relying on rankings from a single configuration.

For teams building XAI evaluation benchmarks or toolchains, the takeaway is that evaluation configurations themselves should be recorded and versioned as first-class citizens. Otherwise, cross-study and cross-model comparisons may well be built on incomparable configurations.

A note: the paper's conclusions are based on experiments on 2D and 3D, synthetic and real datasets, and their scope of applicability should be judged in light of specific task scenarios. But the core argument—that alignment evaluation is systematically affected by configuration—has general reference value for discussions of XAI evaluation methodology.

One-line Summary

Alignment evaluation is systematically affected by GT representation, metric family, soft/hard form, and thresholding strategy, and cannot be treated as a fixed measure of explanation quality.

Paragraph Summary

This article interprets the paper Unpacking the Evaluators, pointing out that the alignment evaluation widely used in the XAI field carries systematic bias. The paper formalizes alignment evaluation as a configuration space composed of the XAI method, GT representation, metric family, soft/hard metric form, and thresholding strategy, and systematically analyzes the interactions among these dimensions on 2D/3D, synthetic and real datasets. Experiments find that differences between soft and hard metric implementations change the behavioral patterns of alignment results, and that threshold sensitivity varies with metric family and attribution structure. The paper also proposes a taxonomy of attribution behavior based on local entropy and boundary mass ratio for diagnostic assistance. The authors recommend specifying the evaluation configuration when reporting alignment scores, testing the robustness of conclusions across multiple configurations, and recording and versioning evaluation configurations as first-class citizens.

#explainable AI#XAI evaluation#alignment metrics#attribution maps#evaluation configuration#local entropy#boundary mass ratio
Share:

Related articles