Enhancing Visual Feature Attribution via Weighted Integrated Gradients

Kien Tran Duc Tuan, Tam Nguyen Trong, Son Nguyen Hoang, Khoat Than, Anh Nguyen Duc
5/6/2025
stat.MLcs.LG

No official code found. Best implementation: Tamnt240904/weighted_ig (1 star, last commit 2025-03-25).

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.

View on arXivView PDF

Code Implementations(1)

10PythonMar 25, 20251 years ago

Similar Papers

Cite this paper

@article{tuan2025enhancing,
  title  = {Enhancing Visual Feature Attribution via Weighted Integrated Gradients},
  author = {Kien Tran Duc Tuan and Tam Nguyen Trong and Son Nguyen Hoang and Khoat Than and Anh Nguyen Duc},
  year   = {2025},
  eprint = {2505.03201},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.03201v3}
}

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

Discussion