Certified $\ell_2$ Attribution Robustness via Uniformly Smoothed Attributions
Fan Wang, Adams Wai-Kin Kong
TL;DR
This work introduces uniformly smoothed attributions, defined as $h(\boldsymbol{x}) = \mathbb{E}_{\boldsymbol{\eta} \sim \mathcal{U}(\mathcal{B}(\mathbf{0}; r))}[g(\boldsymbol{x}+\boldsymbol{\eta})]$, to certify attribution robustness under $\ell_2$ perturbations. It derives a computable lower bound on the cosine similarity between smoothed attributions of clean and perturbed inputs, expressed as $T = \dfrac{\|h(\boldsymbol{x})\|_2}{\sqrt{\|h(\boldsymbol{x})\|_2^2 + (M V_U / V_{\mathcal{S}})^2}}$, where $V_{\mathcal{S}}$ is the volume of the smoothing ball and $V_U$ the volume of the intersection/union geometry of two sampling regions; this yields certifiable robustness against any $\|\boldsymbol{\delta}\|_2 \le \epsilon$. The framework supports alternative certified formulations to trade smoothing radius and perturbation size, and is demonstrated on MNIST, CIFAR-10, and ImageNet with well-bounded attributions like Integrated Gradients. Empirical results show uniformly smoothed attributions improve robustness against attribution attacks and that the certified bounds closely track observed behavior, confirming practical scalability and usefulness for trustworthy explanations.
Abstract
Model attribution is a popular tool to explain the rationales behind model predictions. However, recent work suggests that the attributions are vulnerable to minute perturbations, which can be added to input samples to fool the attributions while maintaining the prediction outputs. Although empirical studies have shown positive performance via adversarial training, an effective certified defense method is eminently needed to understand the robustness of attributions. In this work, we propose to use uniform smoothing technique that augments the vanilla attributions by noises uniformly sampled from a certain space. It is proved that, for all perturbations within the attack region, the cosine similarity between uniformly smoothed attribution of perturbed sample and the unperturbed sample is guaranteed to be lower bounded. We also derive alternative formulations of the certification that is equivalent to the original one and provides the maximum size of perturbation or the minimum smoothing radius such that the attribution can not be perturbed. We evaluate the proposed method on three datasets and show that the proposed method can effectively protect the attributions from attacks, regardless of the architecture of networks, training schemes and the size of the datasets.
