Abstract
We often use "explainable" Artificial Intelligence (XAI)" and "interpretable AI (IAI)" interchangeably when we apply various XAI tools for a given dataset to explain the reasons that underpin machine learning (ML) outputs. However, these notions can sometimes be confusing because interpretation often has a subjective connotation, while explanations lean towards objective facts. We argue that XAI is a subset of IAI. The concept of IAI is beyond the sphere of a dataset. It includes the domain of a mindset. At the core of this ambiguity is the duality of reasons, in which we can reason either outwards or inwards. When directed outwards, we want the reasons to make sense through the laws of nature. When turned inwards, we want the reasons to be happy, guided by the laws of the heart. While XAI and IAI share reason as the common notion for the goal of transparency, clarity, fairness, reliability, and accountability in the context of ethical AI and trustworthy AI (TAI), their differences lie in that XAI emphasizes the post-hoc analysis of a dataset, and IAI requires a priori mindset of abstraction. This hypothesis can be proved by empirical experiments based on an open dataset and harnessed by High-Performance Computing (HPC). The demarcation of XAI and IAI is indispensable because it would be impossible to determine regulatory policies for many AI applications, especially in healthcare, human resources, banking, and finance. We aim to clarify these notions and lay the foundation of XAI, IAI, EAI, and TAI for many practitioners and policymakers in future AI applications and research.
Introduction: Beyond the "Terminological Soup"
In the current AI landscape, researchers and practitioners often use the terms "explainable" and "interpretable" interchangeably. This "terminological soup" creates significant hurdles for policymakers and engineers, especially in high-stakes fields like healthcare and finance where the rationale behind a model's decision is as critical as the decision itself.
The fundamental gap identified in this research is that most XAI tools focus on the post-hoc analysis of a dataset—examining the mathematics after a model is trained. However, they often ignore the a priori mindset—the human intuition and ethical framework—that should guide the entire process. Without a clear demarcation between the objective facts of a dataset and the subjective requirements of a human interpreter, achieving truly Trustworthy AI (TAI) remains elusive.
The Duality of Reason
To address this, we propose a framework called the Duality of Reason. This framework distinguishes between two modes of reasoning:
- Outward Reasoning (XAI): Governed by the "laws of nature," it focuses on logic, algorithms, and objective facts derived from the dataset to make sense of model outputs.
- Inward Reasoning (IAI): Governed by the "laws of the heart," it focuses on human values like fairness, ethics, and intuition to ensure the reasons provided are "reasonable" to a person.
Conceptual Hierarchy: XAI as a Subset of IAI
We argue that XAI is a subset of IAI. While XAI provides the "how" through data-driven explanations, IAI provides the "is this acceptable?" through mindset-driven interpretation. This relationship is part of a broader hierarchy where IAI sits within Ethical AI (EAI), which in turn is a component of Trustworthy AI (TAI).
Methodology and Empirical Proof
The framework was validated using an end-to-end (E2E) pipeline applied to a Car Insurance Claims dataset from Kaggle (10,000 observations, 19 features).
High-Performance Computing (HPC)
The use of HPC was indispensable for the iterative nature of IAI. By performing a massive 576-point hyperparameter grid search, the task was reduced from 30.5 hours on standard hardware to just 14 minutes. This efficiency allows researchers to rapidly test different "mindsets" and hypotheses.
Model and Tool Suite
We compared several models, including Random Forests and XGBoost, with the latter achieving the best performance (RMSE of 0.312). We applied eight distinct XAI techniques—Variable Importance (VI), PDP, ICE, LIME, ALE, Shapley values, Anchors, and Fairness metrics. For example, while LIME provides local feature weights, the "Anchors" technique provides human-readable IF-THEN rules (e.g., achieving 90.8% precision with 70% coverage), bridging the gap between statistical output and human interpretation.
Key Insights and Discussion
A central insight is that "the dataset given mindset is equivalent to XAI given IAI." For instance, the decision to impute missing data (found in 10% of the insurance dataset) rather than delete it is a primary example of an IAI decision—a choice driven by researcher intuition rather than raw data patterns.
Furthermore, we highlight the "Reversed Programming Logic" of ML. Traditional programming moves from Rules + Data to Outputs. Machine Learning reverses this (Data + Outputs → Rules). XAI and IAI are the tools required to "reverse the reversal" and make these generated rules understandable to humans.
Conclusion and Future Work
The demarcation of XAI and IAI is essential for law and regulation; one cannot regulate subjective interpretation in the same way as objective explanation. Future work will explore deep learning-specific tools like Layer-wise Relevance Propagation (LRP), causal methods for XAI, and the potential for a "Gestalt shift" in how we perceive global intrinsic models versus post-hoc explanations.
Summary updated