[Paper Review] Resisting Out-of-Distribution Data Problem in Perturbation of XAI
This paper proposes an OoD (Out-of-Distribution) block to mitigate the overconfidence problem in perturbation-based XAI methods caused by inconsistent perturbed samples. By quantifying the inlier score of each perturbed sample and integrating it into explanation aggregation, the method improves faithfulness and reliability across RISE, OCCLUSION, and LIME, with significant gains in both computational and cognitive metrics, especially under degradation.
With the rapid development of eXplainable Artificial Intelligence (XAI), perturbation-based XAI algorithms have become quite popular due to their effectiveness and ease of implementation. The vast majority of perturbation-based XAI techniques face the challenge of Out-of-Distribution (OoD) data -- an artifact of randomly perturbed data becoming inconsistent with the original dataset. OoD data leads to the over-confidence problem in model predictions, making the existing XAI approaches unreliable. To our best knowledge, the OoD data problem in perturbation-based XAI algorithms has not been adequately addressed in the literature. In this work, we address this OoD data problem by designing an additional module quantifying the affinity between the perturbed data and the original dataset distribution, which is integrated into the process of aggregation. Our solution is shown to be compatible with the most popular perturbation-based XAI algorithms, such as RISE, OCCLUSION, and LIME. Experiments have confirmed that our methods demonstrate a significant improvement in general cases using both computational and cognitive metrics. Especially in the case of degradation, our proposed approach demonstrates outstanding performance comparing to baselines. Besides, our solution also resolves a fundamental problem with the faithfulness indicator, a commonly used evaluation metric of XAI algorithms that appears to be sensitive to the OoD issue.
Motivation & Objective
- Address the critical issue of Out-of-Distribution (OoD) data in perturbation-based XAI, which leads to overconfident and unreliable explanations.
- Identify that OoD artifacts from random perturbations compromise the faithfulness of XAI methods and evaluation metrics.
- Develop a generalizable solution compatible with popular XAI algorithms like RISE, OCCLUSION, and LIME to improve explanation reliability.
- Resolve the fundamental bias in the faithfulness metric, which is sensitive to OoD samples, by integrating inlier scores.
- Demonstrate improved performance using both computational metrics and human evaluation across multiple datasets and models.
Proposed method
- Design an OoD block based on anomaly detection techniques to compute an 'inlier score' for each perturbed sample, estimating its likelihood of belonging to the original data distribution.
- Integrate the inlier score into the explanation aggregation process, down-weighting predictions from OoD samples to reduce overconfidence.
- Apply the OoD block to three major perturbation-based XAI methods: RISE, OCCLUSION, and LIME, resulting in enhanced versions: $RISE^{+}$, $OCCLUSION^{+}$, and $LIME^{+}$.
- Use the inlier score as a weighting factor during saliency map generation, ensuring that only distributionally consistent perturbations contribute significantly to the final explanation.
- Adapt the faithfulness metric by incorporating inlier scores to eliminate bias from OoD samples, producing a more reliable evaluation indicator.
- Leverage pre-trained models and statistical analysis to validate the robustness and generalization of the OoD block across diverse datasets and architectures.
Experimental results
Research questions
- RQ1How does the presence of OoD data in perturbation-based XAI methods affect model confidence and explanation faithfulness?
- RQ2Can an inlier score mechanism effectively identify and mitigate the impact of OoD samples in perturbation-based XAI?
- RQ3To what extent do the improved XAI methods ($RISE^{+}$, $OCCLUSION^{+}$, $LIME^{+}$) outperform their baselines in terms of computational and cognitive evaluation metrics?
- RQ4Does the proposed OoD-aware faithfulness metric eliminate the bias present in the standard faithfulness metric when OoD samples are present?
- RQ5How does the OoD block perform under distributional shift or model degradation scenarios?
Key findings
- The proposed $RISE^{+}$, $OCCLUSION^{+}$, and $LIME^{+}$ methods significantly improve explanation quality, with $OCCLUSION^{+}$ achieving a 37.35% gain in localization on ImageNet using ResNet50.
- On the VOC dataset with VGG16, $OCCLUSION^{+}$ achieved a 62.49% improvement in localization over baseline OCCLUSION, demonstrating strong performance in multi-object scenarios.
- User studies showed that $OCCLUSION^{+}$ and $LIME^{+}$ were consistently rated higher than their baselines in explanation goodness, user satisfaction, curiosity, trust, and understanding, with effect sizes ranging from d = 1.15 to d = 2.01.
- The OoD block reduced overconfidence in degraded cases, with $RISE^{+}$ producing more reliable saliency maps than RISE when the model was under stress.
- The improved faithfulness metric, informed by inlier scores, demonstrated reduced sensitivity to OoD artifacts, resolving a fundamental flaw in standard faithfulness evaluation.
- The method achieved consistent gains across diverse datasets (ImageNet, VOC) and models (ResNet50, VGG16), confirming its generalizability and robustness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.