Skip to main content
QUICK REVIEW

[Paper Review] Feature Importance Estimation with Self-Attention Networks

Blaž Škrlj, Sašo Džeroski|arXiv (Cornell University)|Feb 11, 2020
Explainable Artificial Intelligence (XAI)Computer Science24 references27 citations
TL;DR

This paper proposes Self-Attention Networks (SANs) for direct feature importance estimation in propositional (tabular) data, leveraging attention mechanisms to identify relevant features and interactions. SANs achieve competitive performance compared to established methods like ReliefF and Random Forest-based ranking, particularly on high-dimensional biological datasets, and reveal complex feature interactions beyond simple pairwise relationships.

ABSTRACT

Black-box neural network models are widely used in industry and science, yet are hard to understand and interpret. Recently, the attention mechanism was introduced, offering insights into the inner workings of neural language models. This paper explores the use of attention-based neural networks mechanism for estimating feature importance, as means for explaining the models learned from propositional (tabular) data. Feature importance estimates, assessed by the proposed Self-Attention Network (SAN) architecture, are compared with the established ReliefF, Mutual Information and Random Forest-based estimates, which are widely used in practice for model interpretation. For the first time we conduct scale-free comparisons of feature importance estimates across algorithms on ten real and synthetic data sets to study the similarities and differences of the resulting feature importance estimates, showing that SANs identify similar high-ranked features as the other methods. We demonstrate that SANs identify feature interactions which in some cases yield better predictive performance than the baselines, suggesting that attention extends beyond interactions of just a few key features and detects larger feature subsets relevant for the considered learning task.

Motivation & Objective

  • To develop a neural network architecture that directly estimates feature importance using attention mechanisms on propositional (tabular) data.
  • To evaluate SANs against established feature ranking methods such as ReliefF, Mutual Information, and Genie3 in terms of ranking quality and predictive performance.
  • To investigate whether attention mechanisms can detect higher-order feature interactions beyond those captured by traditional methods.
  • To provide a scale-free comparison of feature importance estimates across multiple algorithms and datasets.
  • To analyze the theoretical properties of SANs, including space and time complexity.

Proposed method

  • Proposes a novel Self-Attention Network (SAN) architecture designed for tabular data, where attention weights are derived from learned attention matrices.
  • Uses three distinct methods to extract feature importance: global attention, row-wise softmax attention, and diagonal attention from the attention matrix.
  • Applies the attention-based feature importance scores to rank features and evaluate predictive performance using logistic regression on pruned feature subsets.
  • Employs a FUJI score to quantitatively compare the similarity of feature importance estimates across different algorithms.
  • Trains SANs end-to-end on ten real and synthetic datasets, using a standard classifier head for prediction and attention for interpretability.
  • Uses thresholding across multiple values to assess ranking quality via downstream classifier performance (F1 score).

Experimental results

Research questions

  • RQ1Can self-attention mechanisms in neural networks effectively estimate feature importance in propositional (tabular) data, comparable to established methods?
  • RQ2How do the feature importance estimates from SANs compare in similarity and performance to those from ReliefF, Mutual Information, and Genie3?
  • RQ3Can SANs detect higher-order feature interactions that improve predictive performance beyond pairwise or simple feature subsets?
  • RQ4What is the impact of data size and dimensionality on the performance of SANs in feature importance estimation?
  • RQ5How do the theoretical complexity and computational cost of SANs compare to traditional feature selection methods?

Key findings

  • SANs achieve competitive predictive performance on logistic regression tasks, outperforming all baselines by over 15% on the dlbcl dataset, a high-dimensional biological dataset.
  • On smaller datasets such as biodeg-p2-discrete, SANs perform worse, suggesting data efficiency limitations when training deep attention mechanisms.
  • The top-ranked features identified by SANs show strong agreement with those from ReliefF and Genie3, indicating consistency across methods.
  • SANs detect complex feature interactions that contribute to improved performance, suggesting attention mechanisms can capture non-myopic, higher-order dependencies.
  • The FUJI score reveals significant similarity between SANs and Genie3/ReliefF, indicating that attention-based importance computation may be non-myopic, similar to Mutual Information.
  • SANs demonstrate superior performance on high-dimensional data, particularly in biological domains like p53 and genes, where they identify larger, more relevant feature subsets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.