AdaptGrad: Adaptive Sampling to Reduce Noise
Linjiang Zhou, Chao Ma, Zepeng Wang, Libing Wu, Xiaochuan Shi
TL;DR
AdaptGrad rethinks gradient smoothing by interpreting SmoothGrad as a Gaussian convolution of the gradient and identifying extra noise from out-of-bounds sampling within bounded data domains. It then derives an adaptive sampling scheme that selects per-dimension noise scales to bound the probability of sampling outside the data domain at a chosen confidence level $c$, yielding a simple, model-agnostic method that improves denoising while preserving details. Through qualitative and quantitative experiments on MNIST and ImageNet with multiple architectures and attribution methods, AdaptGrad consistently enhances Sparseness and Faithfulness and shows favorable downstream task performance in object localization and adversarial sample generation. The approach achieves these gains with only modest computational overhead and remains compatible with existing gradient-based explanations, offering a practical, principled upgrade to gradient smoothing in XAI pipelines.
Abstract
Gradient Smoothing is an efficient approach to reducing noise in gradient-based model explanation method. SmoothGrad adds Gaussian noise to mitigate much of these noise. However, the crucial hyper-parameter in this method, the variance $σ$ of Gaussian noise, is set manually or with heuristic approach. However, it results in the smoothed gradients still containing a certain amount of noise. In this paper, we aim to interpret SmoothGrad as a corollary of convolution, thereby re-understanding the gradient noise and the role of $σ$ from the perspective of confidence level. Furthermore, we propose an adaptive gradient smoothing method, AdaptGrad, based on these insights. Through comprehensive experiments, both qualitative and quantitative results demonstrate that AdaptGrad could effectively reduce almost all the noise in vanilla gradients compared with baselines methods. AdaptGrad is simple and universal, making it applicable for enhancing gradient-based interpretability methods for better visualization.
