Multi-Layer Attention-Based Explainability via Transformers for Tabular Data

Andrea Treviño Gavito, Diego Klabjan, Jean Utke
2/28/2023
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

We propose a graph-oriented attention-based explainability method for tabular data. Tasks involving tabular data have been solved mostly using traditional tree-based machine learning models which have the challenges of feature selection and engineering. With that in mind, we consider a transformer architecture for tabular data, which is amenable to explainability, and present a novel way to leverage self-attention mechanism to provide explanations by taking into account the attention matrices of all heads and layers as a whole. The matrices are mapped to a graph structure where groups of features correspond to nodes and attention values to arcs. By finding the maximum probability paths in the graph, we identify groups of features providing larger contributions to explain the model's predictions. To assess the quality of multi-layer attention-based explanations, we compare them with popular attention-, gradient-, and perturbation-based explanability methods.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gavito2023multilayer,
  title  = {Multi-Layer Attention-Based Explainability via Transformers for Tabular Data},
  author = {Andrea Treviño Gavito and Diego Klabjan and Jean Utke},
  year   = {2023},
  eprint = {2302.14278},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.14278v2}
}

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

Discussion