A Synthetic Ground-Truth Framework for the Evaluation of Explainable AI Methods
Authors: Miquel Miró-Nicolau, Francesco Spinnato, Riccardo Guidotti
Organizations: Universitat de les Illes Balears, Cra. de Valldemossa, km 7.5., Palma, 07122, Spain · Uiniversity of Pisa, Largo B. Pontecrovo, 3, 56127, Pisa, Italy · ISTI-CNR, Via G. Moruzzi, 1, Pisa, 56127, Italy
Evaluating explainable Artificial Intelligence (XAI) methods is a challenging task due to the lack of reliable evaluation procedures and, in particular, the absence of ground truth explanations. In the literature, existing evaluation approaches typically assess explanations by measuring their fidelity with respect to the predictions of a black-box model. However, such evaluation strategies only quantify the degree to which an explanation reproduces the model's output, without ensuring that the explanation correctly reflects the underlying decision process. As a consequence, different explanations may achieve similar fidelity scores while providing inconsistent or misleading interpretations of the model behavior. In this paper, we propose a framework for the evaluation of XAI methods based on synthetic ground truth. The proposed approach relies on controlled interventions to generate synthetic datasets in which the importance of input components can be determined by design. This enables the construction of ground truth explanations that are directly aligned with the behavior of the model under analysis. The framework is instantiated across three data domains, namely binary images, tabular data, and time series, allowing a comprehensive assessment of explanation methods in heterogeneous settings. Experimental results obtained by evaluating nine widely used XAI methods show significant limitations in current techniques and highlight the importance of synthetic, intervention-based benchmarks for a reliable assessment of explanation quality.
Figures & tables
Figure 1: Illustration of the intervention procedure across data modalities: color images, binary images, and time series. The latter two are constructed from the original color image using the proposed framework.
Figure 2: Representative samples from the FunnyBirds dataset across distinct classes. Each category is defined by a unique combination of geometric and color parts: wing color and foot shape (left image), wing and tail color (center image), and the foot shape (right image).
Figure 3: Illustration of class ambiguity induced by binarization. Two images belonging to different classes (first and second) become identical when converted to binary representations (third and fourth), as color information is removed.
Figure 4: Step-by-step procedure for extracting a time series from a color image. From left to right: the original image, the binarized image, the measurement of radial distances from the object center to its contour, and the resulting time series plotted from these measurements
Data Modality
Model
Precision
Recall
F1-Score
Binary images
ResNet50
0.91
0.88
0.89
Time series
Multirocket w. Ridge
0.64
0.63
0.63
Tabular data
MLP
0.98
0.98
0.98
Table 1: Performance measure results for each AI model used in each experiment.
Method
Hyperparameter
Value
RISE
N Masks
600
S Masks
8
Probability remaining
0.1
LIME
Occlusion Value
0
N Samples
1500
Kernel Width
0.25
Table 2: XAI method hyperparameter values for binary image experiments.
Method
Hyperparameter
Value
RISE
N Masks
1000
Grid resolution
16
Cell activation probability
0.5
Mask generation
Linear upsampling + random shift
LIME
N Samples
5000
Sampling
Gaussian
Table 3: XAI method hyperparameters values for time series experiments.
Method
Hyperparameter
Value
LIME
Occlusion Value
0
N Samples
1500
Kernel Width
0.25
Feature Selection
Highest Weights
Kernel
Similarity kernel
Distance Metric
Cosine
Table 4: XAI method hyperparameters values for tabular data experiments.
\minf↑
\auc↑
\kl↓
RISE [ 42 ]
0.343±0.382
0.573±0.273
1.915±1.505
LIME [ 43 ]
0.293±0.164
0.932±0.083
1.217±0.664
Gradient [ 48 ]
0.378±0.427
0.500±0.026
1.903±1.517
DeepLIFT [ 47 ]
0.380±0.429
0.555±0.123
1.895±1.510
KernelSHAP [ 31 ]
0.342±1.210
0.848±0.165
1.551±1.210
Integrated Gradients [ 51 ]
0.380±0.430
0.510±0.098
1.905±1.519
Table 5: Metrics results to compare XAI methods output and proposed Ground Truth in the Binary images task. All reported value are the mean and standard deviation for the test set. Best values for each metric in bold.
Figure 5: Comparison of different XAI saliency map techniques for the binary image dataset The more intense the color the more important the pixel.
Figure 6: Time series attribution for an instance of class 2 . From top to bottom, the ground truth (GT), and the predicted attributions from LIME, RISE, TSHAP (ROI and WIN), and KernelSHAP. The more intense the color the more important the time series observation.
\minf↑
\auc↑
\kl↓
RISE
0.522±0.136
0.709±0.161
0.790±0.405
LIME
0.442±0.199
0.646±0.134
0.907±0.510
Kernel SHAP
0.007±0.003
0.500±0.003
5.315±0.509
T-SHAP ROI
0.386±0.170
0.490±0.089
1.784±0.767
T-SHAP Window
0.424±0.191
0.490±0.132
1.055±0.562
Table 6: Metrics results to compare XAI methods output and proposed Ground Truth in the Time series task. All reported value are the mean and standard deviation for the validation set. Best values for each metric in bold.
\minf↑
\kl↓
LORE [ 15 ]
0.784±0.177
1.204±1.855
LIME [ 43 ]
0.560±0.269
3.806±3.535
Gradient [ 48 ]
0.980±0.099
0.092±0.618
DeepLIFT [ 47 ]
0.636±0.221
2.011±2.559
Kernel SHAP [ 31 ]
0.601±0.229
2.315±2.701
Integrated Gradients [ 51 ]
0.642±0.221
1.983±2.559
Table 7: Metrics results to compare XAI methods output and proposed Ground Truth in the Tabular data task. All reported value are the mean and standard deviation for the validation set. Best values for each metric in bold.
Department of Digital Systems University of Piraeus Piraeus, Greece · Department of Business Administration University of Piraeus Piraeus, Greece · Innov-Acts Ltd Innov-Acts Nicosia, Cyprus