Enhancing Visual Feature Attribution via Weighted Integrated Gradients
Kien Tran Duc Tuan, Tam Nguyen Trong, Son Nguyen Hoang, Khoat Than, Anh Nguyen Duc
TL;DR
This work tackles the sensitivity of Integrated Gradients to baseline choice in computer vision by introducing Weighted Integrated Gradients (WG), which assigns input-dependent weights to baselines using an unsupervised fitness criterion. WG preserves IG’s core axioms while delivering higher attribution fidelity and stability than Expected Gradients, backed by a probabilistic analysis and finite-sample guarantees. An efficient $O(\log n)$ algorithm computes baseline fitness $D_\alpha$, enabling scalable weighting and optional filtering to reduce computation by substantial margins. Empirical results on ImageNet and COCO across multiple architectures show WG achieving meaningful improvements in attribution quality (e.g., 24.8% average Deletion AUC gain) and producing clearer saliency maps, making explanations more reliable for practical use in explainable AI for vision. The approach also demonstrates practical benefits through effective baseline selection and efficiency gains via filtering, broadening the applicability of gradient-based attribution in real-world models.
Abstract
Integrated Gradients (IG) is a widely used attribution method in explainable AI, particularly in computer vision applications where reliable feature attribution is essential. A key limitation of IG is its sensitivity to the choice of baseline (reference) images. Multi-baseline extensions such as Expected Gradients (EG) assume uniform weighting over baselines, implicitly treating baseline images as equally informative. In high-dimensional vision models, this assumption often leads to noisy or unstable explanations. This paper proposes Weighted Integrated Gradients (WG), a principled approach that evaluates and weights baselines to enhance attribution reliability. WG introduces an unsupervised criterion for baseline suitability, enabling adaptive selection and weighting of baselines on a per-input basis. The method not only preserves core axiomatic properties of IG but also provides improved theoretical guarantees on the quality of explanation over EG. Experiments on commonly used image datasets and models show that WG consistently outperforms EG, yielding 10 to 35 percent improvements in attribution fidelity. WG further identifies informative baseline subsets, reducing unnecessary variability while maintaining high attribution accuracy. By moving beyond the idea that all baselines matter equally, Weighted Integrated Gradients offers a clearer and more reliable way to explain computer-vision models, improving both understanding and practical usability in explainable AI.
