SAM: The Sensitivity of Attribution Methods to Hyperparameters

Naman Bansal, Chirag Agarwal, Anh Nguyen
3/4/2020
cs.CVcs.LG

Official code: anguyen8/sam (29 stars, Python, last commit 2022-12-08).

Abstract

Attribution methods can provide powerful insights into the reasons for a classifier's decision. We argue that a key desideratum of an explanation method is its robustness to input hyperparameters which are often randomly set or empirically tuned.

Show full abstract

High sensitivity to arbitrary hyperparameter choices does not only impede reproducibility but also questions the correctness of an explanation and impairs the trust of end-users. In this paper, we provide a thorough empirical study on the sensitivity of existing attribution methods. We found an alarming trend that many methods are highly sensitive to changes in their common hyperparameters e.g. even changing a random seed can yield a different explanation! Interestingly, such sensitivity is not reflected in the average explanation accuracy scores over the dataset as commonly reported in the literature. In addition, explanations generated for robust classifiers (i.e. which are trained to be invariant to pixel-wise perturbations) are surprisingly more robust than those generated for regular classifiers.

View on arXivView PDF

Code Implementations(1)

anguyen8/samOfficial100%

Code for the CVPR 2020 [ORAL] paper "SAM: The Sensitivity of Attribution Methods to Hyperparameters"

294Python, ShellFeb 18, 20203 years ago

Similar Papers

Cite this paper

@article{bansal2020sam,
  title  = {SAM: The Sensitivity of Attribution Methods to Hyperparameters},
  author = {Naman Bansal and Chirag Agarwal and Anh Nguyen},
  year   = {2020},
  eprint = {2003.08754},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.08754}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2003.08754.svg)](https://codeofpaper.com/paper/2003.08754)

Discussion