[Paper Review] Data Representing Ground-Truth Explanations to Evaluate XAI Methods
This paper proposes a novel methodology to generate synthetic data representing ground-truth explanations (GTEs) for evaluating XAI methods, using canonical equations to define feature importance in neural network classification tasks. By creating three benchmark datasets and evaluating LIME against these GTEs, the authors demonstrate that current XAI evaluation lacks consistency and accountability, and show that GTE-based evaluation can reveal methodological flaws—such as LIME's sensitivity to perturbation sampling—thereby enabling more rigorous, reproducible, and accountable XAI research.
Explainable artificial intelligence (XAI) methods are currently evaluated with approaches mostly originated in interpretable machine learning (IML) research that focus on understanding models such as comparison against existing attribution approaches, sensitivity analyses, gold set of features, axioms, or through demonstration of images. There are problems with these methods such as that they do not indicate where current XAI approaches fail to guide investigations towards consistent progress of the field. They do not measure accuracy in support of accountable decisions, and it is practically impossible to determine whether one XAI method is better than the other or what the weaknesses of existing models are, leaving researchers without guidance on which research questions will advance the field. Other fields usually utilize ground-truth data and create benchmarks. Data representing ground-truth explanations is not typically used in XAI or IML. One reason is that explanations are subjective, in the sense that an explanation that satisfies one user may not satisfy another. To overcome these problems, we propose to represent explanations with canonical equations that can be used to evaluate the accuracy of XAI methods. The contributions of this paper include a methodology to create synthetic data representing ground-truth explanations, three data sets, an evaluation of LIME using these data sets, and a preliminary analysis of the challenges and potential benefits in using these data to evaluate existing XAI approaches. Evaluation methods based on human-centric studies are outside the scope of this paper.
Motivation & Objective
- To address the lack of consistent, accountable evaluation in XAI by introducing data representing ground-truth explanations (GTEs).
- To overcome the limitations of current XAI evaluation methods—such as reliance on human studies, axioms, or heuristic metrics—that fail to measure explanation accuracy or guide methodological progress.
- To create a verifiable, reproducible benchmarking framework using synthetic data with known feature importance, enabling objective comparison of XAI methods.
- To demonstrate how GTE-based evaluation can expose weaknesses in existing XAI methods, such as LIME’s sensitivity to perturbation sampling.
Proposed method
- Develop a methodology to generate synthetic data representing ground-truth explanations by defining canonical equations that encode feature importance for classification tasks.
- Construct three benchmark datasets (Loan, Iris, and a synthetic 3-feature dataset) where feature importance is explicitly defined via mathematical equations.
- Train fully connected neural networks with 100% accuracy on each dataset to ensure model behavior is deterministic and aligned with the GTEs.
- Apply LIME to the trained models using varying numbers of perturbation samples (e.g., 5, 50) to generate explanations in LIME’s format.
- Convert the ground-truth feature importance from the canonical equations into LIME-compatible format for direct comparison.
- Use cosine similarity and ridge regression with fixed hyperparameters to evaluate LIME’s explanations against the GTEs, measuring fidelity and consistency.
Experimental results
Research questions
- RQ1Can synthetic data with known, mathematically defined feature importance serve as a reliable ground-truth for evaluating XAI methods?
- RQ2Why do current evaluation metrics fail to distinguish between high-quality and artificially good explanations, and how can GTEs expose such flaws?
- RQ3How does LIME’s performance vary with different numbers of perturbation samples when evaluated against a known ground truth?
- RQ4To what extent does the lack of knowledge about data range and precision in perturbations degrade LIME’s explanation accuracy?
- RQ5Can GTE-based evaluation enable more consistent, accountable, and reproducible progress in XAI research?
Key findings
- LIME’s performance is highly sensitive to the number of perturbation samples; using 50 samples (nearly all instances in the Loan dataset) did not yield the most accurate explanations, indicating a flaw in the sampling strategy.
- The evaluation revealed that higher numbers of samples can produce artificially good results that are not indicative of better explanation quality, as shown by consistent metric scores despite no improvement in actual fidelity.
- The discrepancy between LIME’s explanations and the ground-truth was traced to the lack of knowledge about data range and precision, suggesting that providing this information could significantly improve LIME’s accuracy.
- All evaluation metrics tested (e.g., cosine similarity, fidelity) consistently identified the same artificial improvement with 50 samples, validating the reliability of the proposed evaluation framework.
- The study demonstrates that GTE-based evaluation can expose methodological weaknesses in XAI tools, such as LIME’s failure to leverage known data constraints, and thus guide future improvements.
- The proposed framework enables measurable, verifiable, and reproducible evaluation of XAI methods, offering a path toward accountable and systematic progress in the field.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.