Abstract
Faithfulness metrics such as insertion and deletion evaluate how feature removal affects model outputs but overlook whether explanations preserve the computational pathway the network actually uses. We show that external metrics can be maximized through alternative pathways—perturbations that reroute computation via different feature detectors while preserving output behavior. To address this, we propose activation preservation as a tractable proxy for preserving computational pathways. We introduce Faithfulness-guided Ensemble Interpretation (FEI), which jointly optimizes external faithfulness (via ensemble quantile optimization of insertion/deletion curves) and internal faithfulness (via selective gradient clipping). Across VGG and ResNet on ImageNet and CUB-200-2011, FEI achieves state-of-the-art insertion/deletion scores while maintaining significantly lower activation deviation, showing that both external and internal faithfulness are essential for reliable explanations.
The "Shortcut" Problem in Explainable AI
In the field of Explainable AI (XAI), feature attribution methods (heatmaps) are the standard for visualizing which input features drive a model's prediction. To validate these heatmaps, researchers typically rely on "faithfulness" metrics like insertion and deletion. These metrics measure how the model's confidence changes as pixels identified as "important" are added to or removed from a baseline image.
However, this paper identifies a critical flaw: high scores on these metrics do not necessarily imply a faithful explanation. The authors demonstrate that optimization-based methods can "game" these metrics by finding perturbations that reroute the model's internal logic. These "shortcut" pathways preserve the final output but do not reflect the computational mechanisms the model used for the original, unperturbed image. Consequently, an explanation can achieve a perfect faithfulness score while appearing as random noise to a human observer.
Faithfulness-guided Ensemble Interpretation (FEI)
To resolve this, the authors propose Faithfulness-guided Ensemble Interpretation (FEI), a framework that enforces two distinct types of faithfulness:
1. External Faithfulness via Ensemble Quantile Optimization (EQO)
Traditional methods often optimize for a single point on an insertion or deletion curve. FEI introduces Ensemble Quantile Optimization (EQO), a differentiable approach that optimizes the entire curve simultaneously. By considering the full trajectory of confidence changes, EQO provides a more robust and precise signal for identifying truly influential features.
2. Internal Faithfulness via Selective Gradient Clipping (ClipGrad)
To prevent the model from exploiting shortcut pathways, FEI employs Selective Gradient Clipping (ClipGrad). This technique acts as a regularizer by ensuring that the model's internal activations—the "computational pathway"—remain as close as possible to their original state during the optimization of the heatmap. The authors introduce several variants of ClipGrad, such as Value Matching (VM) and Inactivated Binary Matching (IBM), which offer varying degrees of constraint on internal neuron firing patterns.
Key Insights: The Importance of Internal Integrity
The research yields several striking insights into the nature of deep network explanations:
- The Cascade Effect: Internal deviations in early layers compound as they propagate through the network. To maintain a faithful explanation, constraints must be applied starting from the very first layers.
- Architecture Robustness: Networks with skip connections, such as ResNet, are inherently more robust to internal disruptions than sequential architectures like VGG. The skip connections serve as a buffer that helps preserve the original computational pathway.
- The Black Image Test: Unconstrained optimizers (FEI$_{NONE}$) often produce spurious attributions even for completely blank images, failing in 92-98% of cases. By enforcing internal faithfulness, FEI reduces this failure rate to less than 1%.
Results and Performance
FEI was evaluated on ImageNet and CUB-200-2011 using VGG16 and ResNet50 architectures. The results demonstrate that FEI variants, particularly FEI$_{IBM}$, consistently achieve state-of-the-art performance on insertion and deletion metrics while maintaining significantly lower activation deviation (up to 6.6× lower than unconstrained methods).
Qualitatively, FEI produces heatmaps that are more coherent and tightly focused on the objects of interest. Unlike methods that rely on arbitrary smoothness or sparsity constraints, FEI uses the model's own internal logic to achieve visual clarity.
Conclusion and Future Directions
The success of FEI suggests that the XAI community must move beyond simple output-based metrics. True faithfulness requires explanations to be consistent with both the model's final decision and the internal mechanistic path taken to reach it. Future work includes extending this dual-faithfulness principle to Vision Transformers (ViTs), perhaps by aligning attention patterns, and developing more sophisticated benchmarks for mechanistic consistency.
Summary updated