Attention-like feature explanation for tabular data

Andrei V. Konstantinov, Lev V. Utkin
8/10/2021
cs.LGcs.AI

Official code: andruekonst/afex (7 stars, Jupyter Notebook, last commit 2021-08-17).

Abstract

A new method for local and global explanation of the machine learning black-box model predictions by tabular data is proposed. It is implemented as a system called AFEX (Attention-like Feature EXplanation) and consisting of two main parts.

Show full abstract

The first part is a set of the one-feature neural subnetworks which aim to get a specific representation for every feature in the form of a basis of shape functions. The subnetworks use shortcut connections with trainable parameters to improve the network performance. The second part of AFEX produces shape functions of features as the weighted sum of the basis shape functions where weights are computed by using an attention-like mechanism. AFEX identifies pairwise interactions between features based on pairwise multiplications of shape functions corresponding to different features. A modification of AFEX with incorporating an additional surrogate model which approximates the black-box model is proposed. AFEX is trained end-to-end on a whole dataset only once such that it does not require to train neural networks again in the explanation stage. Numerical experiments with synthetic and real data illustrate AFEX.

View on arXivView PDF

Code Implementations(1)

andruekonst/afexOfficial100%

Attention-like Feature Explanation

71Jupyter Notebook, PythonAug 9, 20215 years ago

Similar Papers

Cite this paper

@article{konstantinov2021attentionlike,
  title  = {Attention-like feature explanation for tabular data},
  author = {Andrei V. Konstantinov and Lev V. Utkin},
  year   = {2021},
  eprint = {2108.04855},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.04855}
}

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

Discussion