Towards Explainable Artificial Intelligence (XAI): A Data Mining Perspective

Haoyi Xiong, Xuhong Li, Xiaofei Zhang, Jiamin Chen, Xinhao Sun, Yuchen Li, Zeyi Sun, Mengnan DuarXiv 2024 · DOI

Abstract

Explainable Artificial Intelligence (XAI) is often viewed as a fragmented collection of algorithms. This paper reframes XAI as a structured data mining process, categorizing techniques into three core purposes: interpreting model behavior, valuing training data, and extracting domain insights. By adopting this "data-centric" roadmap, the authors provide a systematic approach to turning "black-box" neural networks into transparent, trustworthy systems.

Introduction: Beyond the Black Box

Deep Neural Networks (DNNs) have achieved remarkable success in fields ranging from computer vision to healthcare. However, their "black-box" nature remains a significant barrier to deployment in high-stakes applications like autonomous driving or medical diagnosis. While numerous explanation algorithms exist, the field lacks a unified framework to integrate these techniques.

The authors argue for a shift from a purely "model-centric" view to a data-centric perspective. They propose that XAI should be treated as the systematic collection and mining of "behavioral data"—such as gradients, weights, and training logs—to produce human-understandable explanations.

A Data Mining Pipeline for XAI

The core contribution of this work is a novel taxonomy that maps the XAI landscape onto a traditional four-stage data mining pipeline:

  1. Data Acquisition & Collection: Gathering "behavior descriptors" throughout the model's life cycle, including training logs, checkpoints, and testing samples.
  2. Data Preparation & Transformation: Converting raw model states into interpretable formats like saliency maps or input/loss gradient vectors.
  3. Data Modeling & Analyses: Applying mining techniques (e.g., LIME, SHAP, or Influence Functions) to model the relationship between data points and outputs.
  4. Results Reporting & Visualization: Communicating findings through intuitive interfaces like heatmaps or counterfactual "what-if" scenarios.

The Three Pillars of XAI

The paper categorizes existing XAI research into three functional "folders" based on their ultimate goal:

1. Interpretations (Model-Centric)

This folder addresses the question: Why did the model make this specific prediction? It includes Feature Attribution methods (like SHAP and LIME) that identify which input features were most influential, and Reasoning Process explanations that attempt to visualize the logic of the model's internal decision-making.

2. Influences (Data-Centric)

This folder focuses on the training data: Which specific training samples caused the model to behave this way? Techniques like Influence Functions and Data Valuation help identify "hard" samples, mislabeled data, or "forgetting events"—moments during training when a model suddenly loses the ability to classify a previously learned sample.

3. Insights (Knowledge-Centric)

Perhaps the most forward-looking category, this folder asks: What new knowledge can we learn from the model? This involves using AI to discover patterns in scientific data (e.g., genomics or protein folding) that humans might have missed, or ensuring the model aligns with societal values like algorithmic fairness and digital ethics.

A comprehensive taxonomy of XAI methods categorized by Interpretations, Influences, and Insights from a data mining perspective.

Key Insights and Methodologies

  • XAI as "Meta-Mining": Gradients and attention weights are treated as a new form of "data" that requires its own mining process.
  • Proxy Models: Simple, interpretable models (like decision trees) can act as "surrogates" to mimic and explain the decision boundaries of massive DNNs.
  • Evaluation of Methods: The paper compares major algorithms, noting that while SHAP is game-theoretically sound, it is computationally slow compared to model-agnostic methods like LIME. Similarly, Influence Functions are robust for finding influential training points but require expensive Hessian matrix calculations.

Future Directions

Despite the progress in structured XAI, several challenges remain:

  • The Evaluation Gap: There is no universal "gold standard" metric to prove an explanation is truly "faithful" to the model's inner workings.
  • Scaling to LLMs: Most current XAI methods were designed for smaller models; scaling these to Large Language Models (LLMs) presents massive computational hurdles.
  • Human-Centricity: Future work must focus on tailoring explanations to different audiences, such as providing different levels of detail for a medical doctor versus a software developer.

Conclusion

By reframing XAI through the lens of data mining, this paper provides a roadmap for researchers and practitioners to move beyond ad-hoc explanations toward a systematic engineering discipline for AI transparency.

Summary updated

BibTeX
@misc{xiong2024towards,
  author = {Haoyi Xiong and Xuhong Li and Xiaofei Zhang and Jiamin Chen and Xinhao Sun and Yuchen Li and Zeyi Sun and Mengnan Du},
  title = {{Towards Explainable Artificial Intelligence (XAI): A Data Mining Perspective}},
  year = {2024},
  eprint = {2401.04374},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.04374},
}
Figure