Understanding XAI Through the Philosopher's Lens: A Historical Perspective

Martina Mattioli, Antonio Emanuele Cinà, Marcello Pelillo

TL;DR

Explainable AI (XAI) is currently a fragmented field lacking a unified theoretical foundation. This paper bridges that gap by mapping the history of XAI onto centuries of philosophical inquiry into the nature of scientific explanation, revealing that both fields have independently evolved from rigid logical-deductive models toward more flexible statistical and counterfactual approaches.

What Problem Does This Paper Address?

While XAI has exploded in popularity due to the rise of "black box" machine learning models and regulatory requirements like the GDPR’s "right to explanation," the field remains a bit of a "Wild West." Researchers often disagree on what actually constitutes an explanation, how to measure its quality, or even what the ultimate goal of explainability should be.

The authors argue that XAI researchers are often reinventing the wheel. The philosophy of science has spent centuries—from Aristotle to the modern day—systematically dissecting the question of "why." By establishing a formal link between epistemology (the study of knowledge) and AI, the authors aim to provide a more rigorous conceptual foundation for future XAI development.

Methods

This paper is a conceptual and historical review. The authors perform a comparative analysis of two distinct timelines: the evolution of philosophical models of scientific explanation and the development of AI systems.

They categorize the philosophical discourse into three major eras:

  1. Pre-Hempelian Era: From Aristotle’s "four causes" to early positivist rejections of explanation in favor of pure description.
  2. The Received View: Centered on Carl Hempel’s 1948 Deductive-Nomological (D-N) model, which treated explanation as a logical deduction from general laws.
  3. Post-Hempelian Era: The move toward statistical relevance, pragmatics (context-dependence), and counterfactual reasoning.

The authors then map specific AI milestones (from 1970s expert systems to modern tools like SHAP and LIME) onto these philosophical frameworks to identify deep-seated analogies.

Datasets

Not discussed in the paper. As a theoretical and historical review, it does not utilize empirical datasets or benchmarks.

Key Insights and Ideas

The paper’s most compelling contribution is the identification of parallel "paradigm shifts" in both philosophy and AI:

  • From Logic to Statistics: Both fields started with a "deductive ideal." Early AI (like the MYCIN expert system) used rule-based logic that was inherently interpretable. Similarly, early philosophy (Hempel) argued that an explanation must be a logical consequence of premises. Both eventually realized that the world (and modern ML) is too complex for pure logic, leading to a shift toward statistical and probabilistic models of explanation.
  • The "Black Box" is a Shared Metaphor: The authors point out that science itself has historically been viewed through a "box" lens—moving from a "black box" (opaque) to a "gray box" (some discernible structure) to a "glass box" (transparent).
  • Pragmatics and the User: A major turning point in philosophy (Van Fraassen) was the realization that an explanation isn't just a mathematical proof; it’s a response to a specific question from a specific person. This mirrors the current XAI focus on "human-centered" explanations that account for a stakeholder's goals and prior knowledge.
  • The Rise of Counterfactuals: One of the strongest parallels is the recent focus on counterfactuals—explaining an outcome by showing what would have to change to get a different result (e.g., "If your income were $5k higher, the loan would have been approved"). This aligns perfectly with the "interventionist" perspective in modern philosophy (Woodward).
Fig. 1. Timeline of Scientific Explanation and XAI. The upper line represents the chronological development of the philosophical models, while the lower line illustrates the evolution of XAI. The middle line represents the general gradual change from deductive explanations to statistical ones. Analogies have been highlighted, as shown by the legend.

Key Results

The authors successfully construct a "bridge" between the two domains, summarized in Figure 1. Key qualitative findings include:

  • Early AI (MYCIN, REX) $\approx$ Deductive-Nomological Model: Both rely on formal logic and deterministic rules.
  • Feature Importance (SHAP, LIME) $\approx$ Statistical Relevance: Both seek to identify which variables are statistically responsible for an outcome without necessarily claiming a strict logical proof.
  • Modern XAI (Wachter et al.) $\approx$ Counterfactual-Manipulative Explanation: Both focus on how changing inputs affects outputs to provide actionable insights.

The paper provides a "dictionary" of shared concepts—such as explanandum (the thing to be explained) and explanans (the explanation itself)—that can help AI practitioners communicate more clearly with philosophers and social scientists.

Limitations and Future Work

The authors acknowledge that this study is a "first step." While it provides a historical and conceptual framework, it does not offer a new quantitative metric for XAI or a new algorithm.

Future work suggested by the authors includes:

  • Using these philosophical criteria (like Carnap’s four criteria: similarity, exactness, fruitfulness, and simplicity) to develop more rigorous evaluation frameworks for XAI models.
  • Exploring the "isomorphism" or similarity between surrogate models (like a linear approximation of a neural network) and the original "black box" to determine if they qualify as bona fide explanations.
  • Deepening the investigation into how "understanding"—a notoriously slippery psychological concept—can be formally defined and measured in the context of human-AI interaction.

Summary updated

BibTeX
@inproceedings{mattioli2024understanding,
  author = {Martina Mattioli and Antonio Emanuele Cinà and Marcello Pelillo},
  title = {{Understanding XAI Through the Philosopher's Lens: A Historical Perspective}},
  booktitle = {DAO-XAI@ECAI},
  year = {2024},
}
Figure