Skip to main content
QUICK REVIEW

[Paper Review] Improving Feature Attribution through Input-specific Network Pruning

Ashkan Khakzar, Soroosh Baselizadeh|arXiv (Cornell University)|Nov 25, 2019
Adversarial Robustness in Machine LearningComputer Science34 references6 citations
TL;DR

This paper proposes input-specific network pruning to improve feature attribution in deep neural networks by refining noisy gradient-based explanations into globally meaningful importance maps. By pruning irrelevant neurons for a single input in one backward pass, the method reveals more accurate, fine-grained attribution maps that outperform existing methods across multiple benchmarks including ROAR, pixel perturbation, and sanity checks.

ABSTRACT

Attributing the output of a neural network to the contribution of given input elements is a way of shedding light on the black-box nature of neural networks. Due to the complexity of current network architectures, current gradient-based attribution methods provide very noisy or coarse results. We propose to prune a neural network for a given single input to keep only neurons that highly contribute to the prediction. We show that by input-specific pruning, network gradients change from reflecting local (noisy) importance information to global importance. Our proposed method is efficient and generates fine-grained attribution maps. We further provide a theoretical justification of the pruning approach relating it to perturbations and validate it through a novel experimental setup. Our method is evaluated by multiple benchmarks: sanity checks, pixel perturbation, and Remove-and-Retrain (ROAR). These benchmarks evaluate the method from different perspectives and our method performs better than other methods across all evaluations.

Motivation & Objective

  • Address the limitation of gradient-based attribution methods, which produce noisy or local importance estimates due to complex network architectures.
  • Improve the fidelity of attribution maps by transforming local gradient signals into global importance representations through input-specific pruning.
  • Provide a theoretical link between input-specific pruning and adversarial perturbations to justify the method’s effectiveness.
  • Evaluate the proposed method comprehensively using multiple quantitative benchmarks to ensure robustness and reliability.
  • Demonstrate that pruning enhances the interpretability of attribution maps while maintaining computational efficiency.

Proposed method

  • Apply input-specific pruning by removing neurons with low contribution to the prediction for a single input, using a single backward pass.
  • Compute gradients on the pruned network to generate attribution maps that reflect global importance rather than local noise.
  • Use a pruning threshold based on neuron activation magnitude to retain only the most relevant neurons for the given input.
  • Relate the pruned network's gradient to adversarial perturbations via a mathematical formulation, showing that gradients approximate optimal perturbations.
  • Leverage the Remove-and-Retrain (ROAR) benchmark to quantitatively validate whether attributed features are truly contributing to model predictions.
  • Visualize intermediate layer attributions by summing absolute gradients across channels, enabling interpretation of high-dimensional neuron-level importance.

Experimental results

Research questions

  • RQ1Can input-specific pruning transform noisy local gradients into globally meaningful feature attributions?
  • RQ2How does pruning the network for a single input affect the quality and interpretability of attribution maps compared to standard gradient-based methods?
  • RQ3To what extent does the gradient of a pruned network approximate optimal adversarial perturbations that maximize prediction change?
  • RQ4Does the proposed method outperform existing attribution techniques across multiple quantitative benchmarks including ROAR and pixel perturbation?
  • RQ5Can pruning help reveal whether adversarial perturbations are actually based on important model features or spurious activations?

Key findings

  • The proposed PruneGrad method achieves state-of-the-art performance on the ROAR benchmark across multiple datasets, including BirdSnap and CIFAR-10.
  • PruneGrad and PrunePGD (using projected gradient descent on the pruned network) achieve nearly identical ROAR scores, validating that gradients on pruned networks are a close approximation to optimal perturbations.
  • As pruning increases, adversarial perturbations on the pruned network reflect more important features, confirming that pruning removes irrelevant pathways and refines attribution.
  • The method passes all sanity checks, demonstrating that attributions are sensitive to model weights and not artifacts of randomization.
  • Pixel perturbation results show that PruneGrad highlights features that, when removed, cause the largest drop in prediction confidence, confirming high fidelity.
  • Visualizations on ResNet-50 and VGG-16 show that PruneGrad produces more accurate and detailed attribution maps than standard gradient methods, especially in deeper layers.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.