Fool SHAP with Stealthily Biased Sampling

Gabriel Laberge, Ulrich Aïvodji, Satoshi Hara, Mario Marchand., Foutse Khomh
5/30/2022
cs.LG

Official code: gablabc/Fool_SHAP (2 stars, Python, last commit 2023-04-17).

Abstract

SHAP explanations aim at identifying which features contribute the most to the difference in model prediction at a specific input versus a background distribution. Recent studies have shown that they can be manipulated by malicious adversaries to produce arbitrary desired explanations.

Show full abstract

However, existing attacks focus solely on altering the black-box model itself. In this paper, we propose a complementary family of attacks that leave the model intact and manipulate SHAP explanations using stealthily biased sampling of the data points used to approximate expectations w.r.t the background distribution. In the context of fairness audit, we show that our attack can reduce the importance of a sensitive feature when explaining the difference in outcomes between groups while remaining undetected. More precisely, experiments performed on real-world datasets showed that our attack could yield up to a 90\% relative decrease in amplitude of the sensitive feature attribution. These results highlight the manipulability of SHAP explanations and encourage auditors to treat them with skepticism.

View on arXivView PDF

Code Implementations(1)

gablabc/Fool_SHAPOfficial100%

Fool the SHAP explainations by biasing the background distribution

21Python, C++Aug 12, 20213 years ago

Similar Papers

Cite this paper

@article{laberge2022fool,
  title  = {Fool SHAP with Stealthily Biased Sampling},
  author = {Gabriel Laberge and Ulrich Aïvodji and Satoshi Hara and Mario Marchand. and Foutse Khomh},
  year   = {2022},
  eprint = {2205.15419},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.15419}
}

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/2205.15419.svg)](https://codeofpaper.com/paper/2205.15419)

Discussion