The Weighted Möbius Score: A Unified Framework for Feature Attribution

Yifan Jiang, Shane Steinert-Threlkeld
5/16/2023
cs.LGcs.AIcs.CL

No official code found. Best implementation: 1fanj/WMS (3 stars, MIT, last commit 2024-04-27).

Abstract

Feature attribution aims to explain the reasoning behind a black-box model's prediction by identifying the impact of each feature on the prediction. Recent work has extended feature attribution to interactions between multiple features. However, the lack of a unified framework has led to a proliferation of methods that are often not directly comparable. This paper introduces a parameterized attribution framework -- the Weighted Möbius Score -- and (i) shows that many different attribution methods for both individual features and feature interactions are special cases and (ii) identifies some new methods. By studying the vector space of attribution methods, our framework utilizes standard linear algebra tools and provides interpretations in various fields, including cooperative game theory and causal mediation analysis. We empirically demonstrate the framework's versatility and effectiveness by applying these attribution methods to feature interactions in sentiment analysis and chain-of-thought prompting.

View on arXivView PDF

Code Implementations(1)

1fanj/WMSCommunity100%
MIT

Code for "The Weighted Möbius Score: A Unified Framework for Feature Attribution"

30PythonMay 13, 20232 years agoMIT

Similar Papers

Cite this paper

@article{jiang2023weighted,
  title  = {The Weighted Möbius Score: A Unified Framework for Feature Attribution},
  author = {Yifan Jiang and Shane Steinert-Threlkeld},
  year   = {2023},
  eprint = {2305.09204},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.09204v1}
}

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

Discussion