A Study on the Faithfulness of Feature Attribution Explanations in Pruned Vision-Based Multi-Task Learning

Xenia Demetriou, Sophie Sananikone, Vojislav Tobias Westmoreland, Matthia Sabatelli, Marco ZullichxAI (Late-breaking Work, Demos, Doctoral Consortium) 2025

Introduction

As Artificial Neural Networks (ANNs) scale to achieve higher accuracy, they become computationally expensive and increasingly opaque. To address efficiency, researchers employ Model Compression—specifically pruning—and Multi-Task Learning (MTL), where a single model performs multiple concurrent tasks. However, these optimizations raise a critical question: does pruning compromise the "faithfulness" of Explainable AI (XAI) tools? This study investigates whether the internal logic of a pruned model remains accurately represented by feature attribution methods, particularly in the context of vision-based multi-task models.

Methodology

The researchers evaluated two standard architectures for multi-task vision: DeepLab and SegNetMTAN. They compared Unstructured Pruning (removing individual weights) against Structured Pruning (removing entire filters or neurons) using methods like DiSparse, NetSlim, and HRank.

Original RGB image from the NYUv2 dataset used for training and evaluation.

A significant challenge in this research was applying XAI to regression tasks. While tools like Grad-CAM are typically used for classification, the authors adapted them for Depth Estimation and Surface Normal prediction by grouping continuous output values into discrete "quintiles" or "octants." This "binning" strategy allowed the generation of heatmaps for geometric tasks.

To measure faithfulness, the study used the Iterative Removal of Features (IROF) technique. This metric assesses how quickly model performance degrades as the most "important" pixels (as identified by XAI) are progressively removed. A rapid drop in performance indicates a faithful explanation.

Datasets and Tasks

The evaluation was conducted on two major benchmarks for scene understanding:

  • NYU-Depth V2 (NYUv2): Indoor scenes featuring Semantic Segmentation, Surface Normal (SN) estimation, and Depth Estimation (DE).
  • CityScapes: Urban street scenes focused on Semantic Segmentation and Depth Estimation.
Depth estimation output, one of the regression tasks used to test XAI faithfulness.

Key Insights

The study revealed several critical findings regarding the relationship between model compression and explainability:

  1. The 90% Sparsity Threshold: Faithfulness is remarkably resilient. Models can be pruned up to 90% sparsity before the quality of XAI explanations significantly degrades.
  2. Pruning Method Resilience: Unstructured pruning (DiSparse) proved more robust than structured methods. While structured pruning (NetSlim/HRank) is more hardware-efficient, it leads to a sharper decline in faithfulness at high compression levels.
  3. Correlation Between Performance and Faithfulness: Faithfulness typically only fails when the model's primary task performance (e.g., mIoU or error rate) also collapses. This suggests that as long as a model remains functional, its underlying logic remains explainable.

Results and Conclusion

For Depth Estimation, IROF scores remained stable until approximately 75% sparsity. In Semantic Segmentation, models like NetSlim maintained both performance and faithfulness until the 90% mark. The authors conclude that the risk of deploying a "deceptive" pruned model is minimal; by the time explanations become unfaithful, the model's performance is usually too poor for practical deployment.

While the study is limited to vision tasks and a single faithfulness metric (IROF), it provides a strong foundation for understanding XAI reliability in compressed models. Future work will look toward human-grounded evaluations and expanding these tests to other domains like Natural Language Processing (NLP).

Summary updated

BibTeX
@inproceedings{demetriou2025study,
  author = {Xenia Demetriou and Sophie Sananikone and Vojislav Tobias Westmoreland and Matthia Sabatelli and Marco Zullich},
  title = {{A Study on the Faithfulness of Feature Attribution Explanations in Pruned Vision-Based Multi-Task Learning}},
  booktitle = {xAI (Late-breaking Work, Demos, Doctoral Consortium)},
  year = {2025},
}
Figure