ShapG: new feature importance method based on the Shapley value

Chi Zhao, Jing Liu, Elena Parilina
6/29/2024
cs.AIcs.GTcs.LG

No official code found. Best implementation: vectorsss/shapG (3 stars, MIT, last commit 2026-01-03).

Abstract

With wide application of Artificial Intelligence (AI), it has become particularly important to make decisions of AI systems explainable and transparent. In this paper, we proposed a new Explainable Artificial Intelligence (XAI) method called ShapG (Explanations based on Shapley value for Graphs) for measuring feature importance. ShapG is a model-agnostic global explanation method. At the first stage, it defines an undirected graph based on the dataset, where nodes represent features and edges are added based on calculation of correlation coefficients between features. At the second stage, it calculates an approximated Shapley value by sampling the data taking into account this graph structure. The sampling approach of ShapG allows to calculate the importance of features efficiently, i.e. to reduce computational complexity. Comparison of ShapG with other existing XAI methods shows that it provides more accurate explanations for two examined datasets. We also compared other XAI methods developed based on cooperative game theory with ShapG in running time, and the results show that ShapG exhibits obvious advantages in its running time, which further proves efficiency of ShapG. In addition, extensive experiments demonstrate a wide range of applicability of the ShapG method for explaining complex models. We find ShapG an important tool in improving explainability and transparency of AI systems and believe it can be widely used in various fields.

View on arXivView PDF

Code Implementations(1)

vectorsss/shapGCommunity100%
MIT
33PythonJun 28, 20249 months agoMIT

Similar Papers

Cite this paper

@article{zhao2024shapg,
  title  = {ShapG: new feature importance method based on the Shapley value},
  author = {Chi Zhao and Jing Liu and Elena Parilina},
  year   = {2024},
  eprint = {2407.00506},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.00506v2}
}

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

Discussion