Skip to main content
QUICK REVIEW

[Paper Review] Detecting Statistical Interactions from Neural Network Weights

Michael Tsang, Dehua Cheng|arXiv (Cornell University)|May 14, 2017
Anomaly Detection Techniques and ApplicationsComputer Science54 references34 citations
TL;DR

This paper proposes Neural Interaction Detection (NID), a novel framework that detects statistical interactions in feedforward neural networks by analyzing learned weight matrices, avoiding exponential search over interaction candidates. By leveraging nonlinear activation effects and hidden unit importance approximations, NID achieves state-of-the-art interaction detection accuracy while running orders of magnitude faster than prior methods like Additive Groves.

ABSTRACT

Interpreting neural networks is a crucial and challenging task in machine learning. In this paper, we develop a novel framework for detecting statistical interactions captured by a feedforward multilayer neural network by directly interpreting its learned weights. Depending on the desired interactions, our method can achieve significantly better or similar interaction detection performance compared to the state-of-the-art without searching an exponential solution space of possible interactions. We obtain this accuracy and efficiency by observing that interactions between input features are created by the non-additive effect of nonlinear activation functions, and that interacting paths are encoded in weight matrices. We demonstrate the performance of our method and the importance of discovered interactions via experimental results on both synthetic datasets and real-world application datasets.

Motivation & Objective

  • To develop an efficient and accurate method for detecting statistical interactions in feedforward neural networks.
  • To overcome the computational infeasibility of searching through the exponential space of possible interaction combinations.
  • To interpret neural network weights directly to uncover feature interactions without relying on post-hoc explanations or model distillation.
  • To enable discovery of interactions of any order or form, including higher-order and nonlinear interactions, for scientific and clinical applications.

Proposed method

  • NID identifies interactions by analyzing the non-additive effects of nonlinear activation functions on weight matrices.
  • It approximates hidden unit importance using all weights above each hidden unit, enabling efficient 2D traversal of the input weight matrix.
  • The method uses a generalized additive model with variable-order interaction terms to rank and select top-K true interactions.
  • It computes interaction importance via a special form of additive model that accounts for interactions of arbitrary order.
  • A top-rank recall metric is used to evaluate interaction ranking quality, focusing only on superset interactions to avoid redundancy.
  • The framework applies a cutoff strategy to reduce computation while preserving high detection accuracy.

Experimental results

Research questions

  • RQ1Can we detect statistical interactions in neural networks without exhaustively searching through all possible interaction combinations?
  • RQ2How accurately can a method based on weight interpretation detect interactions compared to state-of-the-art approaches?
  • RQ3Can the framework detect higher-order and nonlinear interactions effectively, especially in the presence of complex feature dependencies?
  • RQ4How does the method scale in terms of runtime compared to computationally expensive alternatives like Additive Groves?
  • RQ5To what extent do feature correlations or interlinked interactions affect the reliability of detected interactions?

Key findings

  • NID achieves top-rank recall comparable to the state-of-the-art method Additive Groves (AG), particularly at low to moderate noise levels.
  • NID runs orders of magnitude faster than AG, with runtime measured in seconds versus hours for AG on the same tasks.
  • On synthetic datasets, NID achieves an AUC of 1.0 for pairwise interaction detection, indicating perfect discrimination of true from false interactions.
  • In real-world datasets, including those from healthcare and finance, NID detects a small number of high-order interactions that significantly improve predictive performance.
  • The framework demonstrates that a small set of detected interactions accounts for substantial predictive gains, as shown by relative performance improvements over baseline models.
  • Despite limitations in detecting interlinked pairwise interactions as higher-order ones, NID maintains strong performance, indicating robustness to common confounding factors.

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.