Skip to main content
QUICK REVIEW

[Paper Review] Explaining Neural Networks via Perturbing Important Learned Features.

Ashkan Khakzar, Soroosh Baselizadeh|arXiv (Cornell University)|Nov 25, 2019
Explainable Artificial Intelligence (XAI)Computer Science7 citations
TL;DR

This paper proposes PruneGrad, a novel input feature attribution method that identifies important hidden neurons (learned features) and perturbs the input to maximize output change while preserving only these neurons. By focusing on high-level features, it captures interdependencies between input elements, achieving state-of-the-art performance across three benchmarks: sanity checks, pixel perturbation, and Remove and Retrain (ROAR).

ABSTRACT

Attributing the output of a neural network to the contribution of given input elements is one way of shedding light on the black box nature of neural networks. We propose a novel input feature attribution method that finds an input perturbation that maximally changes the output neuron by exclusively perturbing important hidden neurons (i.e. learned features) on the path to output neuron. Given an input, this is achieved by 1) pruning unimportant neurons, and subsequently 2) finding a local input perturbation that maximizes the output in the pruned network. Since our method considers the importance of hidden neurons (high-level features), it inherently considers interdependencies between multiple input elements, which is vital for input feature attribution. We propose PruneGrad, an efficient gradient-based solution for the pruning and perturbation steps of our method. The efficacy of our method is evaluated by quantitatively benchmarking against other attribution methods using 1) sanity checks, 2) pixel perturbation, and 3) Remove and Retrain (ROAR). Our results show that while most of the existing attribution methods are prone to fail or get mediocre results in at least one benchmark, our proposed method achieves state of the art results in all three benchmarks. The results are further supported by comparative visual evaluation.

Motivation & Objective

  • To address the limitations of existing input feature attribution methods that fail to capture interdependencies between input elements.
  • To develop a method that attributes model outputs by focusing on high-level, important hidden neurons rather than raw input features.
  • To improve robustness and reliability of attribution through principled pruning and gradient-based perturbation.
  • To evaluate the method comprehensively using multiple benchmarks, including sanity checks, pixel perturbation, and Remove and Retrain (ROAR).

Proposed method

  • The method first prunes unimportant hidden neurons based on their contribution to the output neuron, retaining only the most important features.
  • It then performs a local input perturbation that maximizes the output in the pruned network, focusing on inputs that affect the retained features.
  • PruneGrad uses a gradient-based optimization to efficiently compute the perturbation while maintaining the pruned network structure.
  • The approach inherently models interdependencies between input elements by operating on high-level features rather than individual input units.
  • It leverages the network's internal representations to guide perturbations toward semantically meaningful input changes.
  • The method is designed to be efficient and scalable, enabling application to large neural networks.

Experimental results

Research questions

  • RQ1Can a feature attribution method that operates on learned hidden neurons outperform existing methods in capturing meaningful input contributions?
  • RQ2How well does the method perform under rigorous sanity checks that test attribution reliability?
  • RQ3To what extent does the method maintain performance when input features are removed and the model is retrained (ROAR benchmark)?
  • RQ4Does the method better capture interdependencies between input elements compared to methods based on raw input features?
  • RQ5How does the proposed method compare quantitatively and qualitatively to state-of-the-art attribution techniques?

Key findings

  • PruneGrad achieves state-of-the-art performance on all three benchmarks: sanity checks, pixel perturbation, and Remove and Retrain (ROAR).
  • Unlike most existing methods, PruneGrad does not fail or yield mediocre results on any of the three evaluation benchmarks.
  • The method demonstrates superior robustness, as evidenced by consistent high performance across diverse evaluation protocols.
  • Visual evaluations confirm that PruneGrad generates more plausible and semantically meaningful attribution maps compared to baselines.
  • The method effectively captures interdependencies between input elements by operating on high-level features rather than individual pixels or input units.
  • The ablation study confirms that pruning important neurons before perturbation is critical for accurate attribution.

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.