Skip to main content
QUICK REVIEW

[Paper Review] Synthetic Benchmarks for Scientific Research in Explainable Machine Learning

Yang Liu, Sujay Khandagale|arXiv (Cornell University)|Jun 23, 2021
Explainable Artificial Intelligence (XAI)Computer Science73 references14 citations
TL;DR

This paper introduces XAI-Bench, a synthetic benchmark suite with configurable datasets and a library for evaluating feature attribution methods in explainable AI. By enabling exact computation of ground-truth Shapley values and other metrics through known data distributions, it allows efficient, reproducible benchmarking of explainability techniques like SHAP, LIME, and L2X across diverse settings such as feature correlation and model type, significantly accelerating development and failure detection before human evaluation.

ABSTRACT

As machine learning models grow more complex and their applications become more high-stakes, tools for explaining model predictions have become increasingly important. This has spurred a flurry of research in model explainability and has given rise to feature attribution methods such as LIME and SHAP. Despite their widespread use, evaluating and comparing different feature attribution methods remains challenging: evaluations ideally require human studies, and empirical evaluation metrics are often data-intensive or computationally prohibitive on real-world datasets. In this work, we address this issue by releasing XAI-Bench: a suite of synthetic datasets along with a library for benchmarking feature attribution algorithms. Unlike real-world datasets, synthetic datasets allow the efficient computation of conditional expected values that are needed to evaluate ground-truth Shapley values and other metrics. The synthetic datasets we release offer a wide variety of parameters that can be configured to simulate real-world data. We demonstrate the power of our library by benchmarking popular explainability techniques across several evaluation metrics and across a variety of settings. The versatility and efficiency of our library will help researchers bring their explainability methods from development to deployment. Our code is available at https://github.com/abacusai/xai-bench.

Motivation & Objective

  • To address the challenge of evaluating and comparing feature attribution methods in explainable AI, which often lacks reliable, efficient, and objective metrics.
  • To overcome the limitations of real-world datasets, where ground-truth explanations are typically unknown and metrics like Shapley values are computationally infeasible to compute.
  • To provide a scalable, reproducible, and configurable environment for benchmarking explainability algorithms prior to human evaluation.
  • To enable researchers to detect subtle failure modes—such as performance degradation under high feature correlation—before deployment in real-world applications.
  • To accelerate the transition of explainability methods from development to deployment by offering a fast, automated evaluation pipeline.

Proposed method

  • The authors generate synthetic datasets with known ground-truth data distributions, allowing exact computation of conditional expectations required for metrics like Shapley values.
  • The library supports configurable dataset parameters including feature correlation (ρ), data distribution types (Gaussian, Bernoulli, etc.), feature scales, and target generation functions.
  • It enables exact computation of key evaluation metrics: distance to ground-truth Shapley values, ROAR (remove-and-retrain), faithfulness, monotonicity, and infidelity.
  • The framework supports conversion of real-world datasets into synthetic analogs using covariance and distribution matching to simulate realistic data while preserving ground-truth interpretability.
  • The library integrates with popular explainers (e.g., SHAP, LIME, L2X) and allows benchmarking across multiple axes: model type, feature correlation, and data distribution.
  • It provides API access, documentation, and experimental results to support reproducibility and community contributions.

Experimental results

Research questions

  • RQ1How do different feature attribution methods perform across a range of synthetic data distributions with known ground-truth Shapley values?
  • RQ2To what extent does feature correlation degrade the performance of explainability methods, and can this be systematically detected using synthetic benchmarks?
  • RQ3Can synthetic datasets effectively simulate real-world data characteristics while enabling exact computation of evaluation metrics?
  • RQ4Which evaluation metrics (e.g., faithfulness, monotonicity) are most sensitive to failure modes in explainability algorithms?
  • RQ5How can synthetic benchmarks be used to guide the development and refinement of new explainability methods before human evaluation?

Key findings

  • The XAI-Bench library enables exact computation of ground-truth Shapley values and other metrics by leveraging synthetic datasets with known data distributions.
  • SHAP and LIME showed consistent performance across low to moderate feature correlation (ρ ≤ 0.5), but performance degradation was observed in high-correlation settings.
  • The ROAR metric revealed that L2X and MAPLE exhibited higher sensitivity to feature removal, indicating potential instability in explanation fidelity.
  • Faithfulness and monotonicity metrics detected systematic failures in SHAPR and L2X under high feature correlation, with SHAPR showing a 1.8× increase in infidelity compared to SHAP.
  • The library successfully identified that explainability methods often fail under high feature correlation, a failure mode that is difficult to detect on real-world datasets without ground-truth labels.
  • The authors demonstrated that synthetic datasets can be effectively mapped from real data using covariance and distribution matching, enabling benchmarking on realistic yet interpretable data.

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.