Pixel-level Certified Explanations via Randomized Smoothing

Alaa Anani, Tobias Lorenz, Mario Fritz, Bernt Schiele
6/18/2025
cs.LGcs.AIcs.CV

Official code: AlaaAnani/certified-attributions (5 stars, MIT, last commit 2025-07-30).

Abstract

Post-hoc attribution methods aim to explain deep learning predictions by highlighting influential input pixels. However, these explanations are highly non-robust: small, imperceptible input perturbations can drastically alter the attribution map while maintaining the same prediction. This vulnerability undermines their trustworthiness and calls for rigorous robustness guarantees of pixel-level attribution scores. We introduce the first certification framework that guarantees pixel-level robustness for any black-box attribution method using randomized smoothing. By sparsifying and smoothing attribution maps, we reformulate the task as a segmentation problem and certify each pixel's importance against $\ell_2$-bounded perturbations. We further propose three evaluation metrics to assess certified robustness, localization, and faithfulness. An extensive evaluation of 12 attribution methods across 5 ImageNet models shows that our certified attributions are robust, interpretable, and faithful, enabling reliable use in downstream tasks. Our code is at https://github.com/AlaaAnani/certified-attributions.

View on arXivView PDF

Code Implementations(1)

MIT

Implementation of pixel-level certified explanations via randomized smoothing

50Python, Jupyter NotebookJun 5, 20251 years agoMIT

Similar Papers

Cite this paper

@article{anani2025pixellevel,
  title  = {Pixel-level Certified Explanations via Randomized Smoothing},
  author = {Alaa Anani and Tobias Lorenz and Mario Fritz and Bernt Schiele},
  year   = {2025},
  eprint = {2506.15499},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.15499v1},
  journal = {ICML 2025 2025}
}

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

Discussion