Abstract
Explainable AI (XAI) builds trust in complex systems through model attribution methods that reveal the decision rationale. However, due to the absence of a unified optimal explanation, existing XAI methods lack a ground truth for objective evaluation and optimization. To address this issue, we propose Deep architecture-based Faith explainer (DeepFaith), a domain-free and model-agnostic unified explanation framework under the lens of faithfulness. By establishing a unified formulation for multiple widely used and well-validated faithfulness metrics, we derive an optimal explanation objective whose solution simultaneously achieves optimal faithfulness across these metrics, thereby providing a ground truth from a theoretical perspective. We design an explainer learning framework that leverages multiple existing explanation methods, applies deduplicating and filtering to construct high-quality supervised explanation signals, and optimizes both pattern consistency loss and local correlation to train a faithful explainer. Once trained, DeepFaith can generate highly faithful explanations through a single forward pass without accessing the model being explained. On 12 diverse explanation tasks spanning 6 models and 6 datasets, DeepFaith achieves the highest overall faithfulness across 10 metrics compared to all baseline methods, highlighting its effectiveness and cross-domain generalizability.
The Ground Truth Crisis in XAI
In the world of "black-box" deep learning, we rely on attribution methods (like saliency maps) to tell us why a model made a certain decision. However, XAI faces a fundamental crisis: there is no "ground truth" for what a perfect explanation looks like.
Currently, researchers use various "faithfulness" metrics to evaluate explanations—essentially checking if removing "important" features actually changes the model's prediction. The problem is that these metrics often contradict each other. For instance, a method might score high on Rank Preservation (RP) but low on Monotonicity Correlation (MC). This lack of a unified objective makes it nearly impossible to objectively optimize an explainer. Furthermore, many high-quality explanation methods are computationally expensive, requiring hundreds of model probes for a single image.
The DeepFaith Framework
DeepFaith approaches the problem through three main innovations designed to harmonize these conflicting metrics into a single optimization objective.
1. Theoretical Unification
The authors re-formalize 10 widely used faithfulness metrics (such as Infidelity, Deletion Score, and Monotonicity Correlation) into a single mathematical framework. They prove that an "optimal" explanation exists that simultaneously satisfies all these metrics, providing the missing theoretical ground truth.
2. High-Quality Signal Generation
Instead of training on noisy data, DeepFaith generates explanations from multiple existing baseline methods (e.g., Grad-CAM++, DeepLIFT, Occlusion). As shown in the framework overview, the system performs deduplication to remove redundant information and filtering to keep only the top-performing explanations based on the unified metrics. This creates a "gold standard" training set of supervised explanation signals.
3. Dual-Loss Training
A Transformer-based explainer ($\phi_\theta$) is trained using two specific losses:
- Pattern Consistency Loss ($L_{PC}$): Teaches the explainer the general structure and "look" of high-quality explanations.
- Local Correlation Loss ($L_{LC}$): Directly optimizes the explainer toward the theoretically derived "optimal faithfulness" objective.
- A scheduled weighting system ($\alpha$) transitions the model from learning general patterns to fine-tuning for maximum faithfulness as training progresses.
Experimental Results and Cross-Domain Performance
The framework was rigorously tested across 12 distinct tasks covering three modalities: Vision (ImageNet, OCT), Text (IMDb, AGNews), and Tabular (NHANES, Wholesale). The models explained included ResNet50, EfficientNet, Vision Transformers (DeiT), LSTMs, and MLPs.
Superior Faithfulness and Visual Clarity
DeepFaith achieved the highest average rank across all 10 metrics and 12 tasks, consistently outperforming established baselines like Integrated Gradients and Kernel SHAP. Qualitative results demonstrate that DeepFaith produces much "sharper" heatmaps that focus on semantically meaningful features (like the specific anatomy in medical OCT scans or key objects in ImageNet) rather than the noisy, scattered heatmaps produced by gradient-based methods.
Extreme Efficiency
Because it only requires a single forward pass, DeepFaith is incredibly fast. Once the explainer is trained, it no longer needs to query the original model. For an ImageNet task using a Vision Transformer (DeiT), DeepFaith generates an explanation in approximately 3.1ms, compared to 121ms for LIME and 95ms for Integrated Gradients.
Conclusion
DeepFaith solves the "ground truth" problem in XAI by theoretically harmonizing conflicting faithfulness metrics. By decoupling the explanation process from the original model during inference, it provides a path toward real-time, highly faithful explanations across diverse domains. While the initial training phase requires significant upfront computation to generate signals, the resulting efficiency and accuracy represent a significant step toward trustworthy and practical AI systems.
Summary updated