Skip to main content
QUICK REVIEW

[Paper Review] Sparse Oblique Decision Trees: A Tool to Understand and Manipulate Neural Net Features

Suryabhan Singh Hada, Miguel Á. Carreira-Perpiñán|arXiv (Cornell University)|Apr 7, 2021
Adversarial Robustness in Machine LearningComputer Science7 citations
TL;DR

This paper introduces sparse oblique decision trees trained via Tree Alternating Optimization (TAO) to interpret and manipulate deep neural network features. By replacing the final layers of a trained network with such a tree, the method reveals which internal features drive predictions and enables global, feature-level adversarial attacks that control class outputs across entire datasets.

ABSTRACT

The widespread deployment of deep nets in practical applications has lead to a growing desire to understand how and why such black-box methods perform prediction. Much work has focused on understanding what part of the input pattern (an image, say) is responsible for a particular class being predicted, and how the input may be manipulated to predict a different class. We focus instead on understanding which of the internal features computed by the neural net are responsible for a particular class. We achieve this by mimicking part of the neural net with an oblique decision tree having sparse weight vectors at the decision nodes. Using the recently proposed Tree Alternating Optimization (TAO) algorithm, we are able to learn trees that are both highly accurate and interpretable. Such trees can faithfully mimic the part of the neural net they replaced, and hence they can provide insights into the deep net black box. Further, we show we can easily manipulate the neural net features in order to make the net predict, or not predict, a given class, thus showing that it is possible to carry out adversarial attacks at the level of the features. These insights and manipulations apply globally to the entire training and test set, not just at a local (single-instance) level. We demonstrate this robustly in the MNIST and ImageNet datasets with LeNet5 and VGG networks.

Motivation & Objective

  • To address the lack of interpretability in deep neural networks by identifying which internal features influence specific predictions.
  • To develop a method that enables global manipulation of neural network behavior by targeting specific feature representations, not just individual inputs.
  • To provide a faithful, interpretable surrogate model of a deep net's decision-making process using sparse oblique trees.
  • To demonstrate that feature-level adversarial attacks can be constructed that affect predictions across the entire training and test set, not just locally.

Proposed method

  • Use the Tree Alternating Optimization (TAO) algorithm to train sparse oblique decision trees with small, learnable weight vectors at each node, enabling high accuracy and interpretability.
  • Train the tree to mimic the output of a deep neural network's final layers using features from an intermediate layer (e.g., after a convolutional block in VGG or LeNet5).
  • Apply a feature masking mechanism to selectively block or suppress specific neurons (features) in the network, simulating adversarial manipulation at the feature level.
  • Use the tree's structure and feature weights to identify which features are most influential for each class, enabling insight into the network's internal reasoning.
  • Replace the final classifier of a trained network with the sparse oblique tree to create a surrogate model that preserves predictive performance while enabling interpretation.
  • Evaluate the method on MNIST and ImageNet using LeNet5 and VGG architectures, demonstrating both interpretability and controllability of predictions.

Experimental results

Research questions

  • RQ1Which internal features in a deep neural network are most responsible for a given class prediction?
  • RQ2Can a sparse oblique decision tree faithfully mimic the decision boundary of a deep neural network’s final layers while remaining interpretable?
  • RQ3Can feature-level adversarial attacks be constructed that globally alter network behavior across an entire dataset?
  • RQ4Can we manipulate the network to always predict a specific class or never predict a certain class by masking specific features?
  • RQ5Does the method provide consistent and meaningful insights into the internal representations learned by deep networks?

Key findings

  • The sparse oblique decision tree trained via TAO achieves high accuracy in mimicking the final layer of deep networks like LeNet5 and VGG, with minimal loss in performance.
  • The tree structure reveals that only a small, sparse subset of features (neurons) in the intermediate layer are responsible for predicting each class, enabling feature-level interpretability.
  • By masking specific features identified by the tree, the network’s prediction can be globally altered: e.g., making it always predict a single class or never predict a specific class across all test instances.
  • The method enables a new class of global adversarial attacks that operate at the feature level rather than on input pixels, demonstrating unprecedented control over network behavior.
  • The approach successfully identifies and manipulates feature sets that cause misclassification between specific class pairs, such as making the network confuse '3' and '8' in MNIST.
  • The method is robust across datasets and architectures, with consistent interpretability and control demonstrated on both MNIST and ImageNet using VGG and LeNet5.

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.