Skip to main content
QUICK REVIEW

[Paper Review] BASED-XAI: Breaking Ablation Studies Down for Explainable Artificial Intelligence

Isha Hameed, Samuel Sharpe|arXiv (Cornell University)|Jul 12, 2022
Explainable Artificial Intelligence (XAI)Computer Science11 citations
TL;DR

This paper proposes a rigorous framework for ablation studies in explainable AI (XAI) for tabular data, emphasizing proper perturbation selection, categorical feature treatment, and guardrails to avoid misleading conclusions. It demonstrates that naive perturbations can distort ablation curves, and that aggregating one-hot-encoded categorical features back to their original form improves validity and interpretability of XAI evaluations.

ABSTRACT

Explainable artificial intelligence (XAI) methods lack ground truth. In its place, method developers have relied on axioms to determine desirable properties for their explanations' behavior. For high stakes uses of machine learning that require explainability, it is not sufficient to rely on axioms as the implementation, or its usage, can fail to live up to the ideal. As a result, there exists active research on validating the performance of XAI methods. The need for validation is especially magnified in domains with a reliance on XAI. A procedure frequently used to assess their utility, and to some extent their fidelity, is an ablation study. By perturbing the input variables in rank order of importance, the goal is to assess the sensitivity of the model's performance. Perturbing important variables should correlate with larger decreases in measures of model capability than perturbing less important features. While the intent is clear, the actual implementation details have not been studied rigorously for tabular data. Using five datasets, three XAI methods, four baselines, and three perturbations, we aim to show 1) how varying perturbations and adding simple guardrails can help to avoid potentially flawed conclusions, 2) how treatment of categorical variables is an important consideration in both post-hoc explainability and ablation studies, and 3) how to identify useful baselines for XAI methods and viable perturbations for ablation studies.

Motivation & Objective

  • To address the lack of ground truth in XAI evaluation and the risk of flawed conclusions from poorly designed ablation studies.
  • To investigate how perturbation methods and baseline distributions confound XAI evaluation when not properly aligned.
  • To highlight the critical impact of categorical feature treatment—especially using label-encoded over one-hot-encoded representations—on ablation study validity.
  • To propose practical guardrails that act as sanity checks to prevent misleading interpretations of ablation curves.
  • To guide researchers in selecting appropriate baselines and perturbations for robust XAI validation in tabular machine learning.

Proposed method

  • The authors conduct ablation studies across five tabular datasets using three XAI methods (Deep SHAP, Integrated Gradients, KernelSHAP) and four baseline distributions.
  • They evaluate three perturbation strategies: random, constant median, and max distance, comparing their impact on ablation curve shape and interpretation.
  • Categorical features are treated in both one-hot-encoded and label-encoded forms to assess the effect on feature ranking and perturbation validity.
  • The study introduces three guardrails: (1) a vertical guardrail to limit the ablation range to in-sample inputs, (2) a horizontal guardrail to assess model performance at full ablation, and (3) a random feature guardrail to detect spurious attribution patterns.
  • The framework compares local and global explanations, showing that global ablation curves smooth out local ones but remain consistent when guardrails are applied.
  • The authors use model performance (e.g., accuracy, AUC) as the metric to assess sensitivity to feature perturbations, tracking changes across ablation steps.

Experimental results

Research questions

  • RQ1How do different perturbation methods affect the shape and interpretability of ablation curves in XAI evaluation?
  • RQ2To what extent does the representation of categorical features (one-hot vs. label-encoded) influence ablation study outcomes?
  • RQ3Can guardrails be effectively used to identify and exclude out-of-distribution perturbations that distort XAI evaluation?
  • RQ4How do local and global explanations compare in their ablation curve behavior, and does aggregation improve robustness?
  • RQ5How do different XAI methods (e.g., gradient-based vs. kernel-based) perform under the same perturbation and baseline conditions?

Key findings

  • Perturbations that drive inputs out of the training data distribution—such as the max distance method—can cause rapid performance drops that mislead interpretation, even if explanations are high-quality.
  • Using one-hot-encoded categorical features for perturbation leads to sparsity and misleading feature importance rankings, whereas aggregating them back to label-encoded form improves ablation study validity.
  • The vertical guardrail effectively limits the ablation range to in-sample inputs, compressing the relevant region and improving interpretability, especially in high-dimensional datasets.
  • Ablation curves derived from global explanations are smoother and shift leftward compared to local curves, but both types show similar trends when guardrails are applied.
  • KernelSHAP shows significant deviation from gradient-based methods (Deep SHAP, Integrated Gradients) in the Adult and HAR datasets, likely due to insufficient baseline sample size in high-dimensional settings.
  • The choice of perturbation and baseline has a stronger influence on ablation curve shape than the XAI method itself, underscoring the need for careful design.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.