Skip to main content
QUICK REVIEW

[Paper Review] Streaming Weak Submodularity: Interpreting Neural Networks on the Fly

Ethan R. Elenberg, Alexandros G. Dimakis|arXiv (Cornell University)|Mar 8, 2017
Adversarial Robustness in Machine LearningComputer Science1 references14 citations
TL;DR

This paper proposes Streak, a streaming algorithm for maximizing weakly submodular functions under cardinality constraints, enabling fast and scalable interpretation of deep neural networks. It achieves a constant-factor approximation guarantee under random stream order and runs 10x faster than LIME while producing comparable explanations for Inception V3 predictions.

ABSTRACT

In many machine learning applications, it is important to explain the predictions of a black-box classifier. For example, why does a deep neural network assign an image to a particular class? We cast interpretability of black-box classifiers as a combinatorial maximization problem and propose an efficient streaming algorithm to solve it subject to cardinality constraints. By extending ideas from Badanidiyuru et al. [2014], we provide a constant factor approximation guarantee for our algorithm in the case of random stream order and a weakly submodular objective function. This is the first such theoretical guarantee for this general class of functions, and we also show that no such algorithm exists for a worst case stream order. Our algorithm obtains similar explanations of Inception V3 predictions $10$ times faster than the state-of-the-art LIME framework of Ribeiro et al. [2016].

Motivation & Objective

  • To address the challenge of efficiently interpreting black-box neural network predictions in real-time applications.
  • To develop a streaming algorithm that provides theoretical approximation guarantees for weakly submodular objectives, a generalization of submodular functions.
  • To enable fast, scalable, and accurate feature attribution for deep learning models without requiring full re-evaluation of the model.
  • To overcome the limitations of existing methods like LIME, which are slow due to repeated model inference on large datasets.

Proposed method

  • Extends Sieve-Streaming with greedy thresholding and binary search to handle weakly submodular objectives.
  • Uses a collection of parallel instances of a modified greedy algorithm, each with a different threshold, to maintain diversity and robustness.
  • Employs a novel analysis framework to prove a constant-factor approximation ratio for γ-weakly submodular functions under random stream order.
  • Introduces a memory-efficient design that maintains O(ε⁻¹k log k) space complexity while dynamically adjusting thresholds.
  • Applies the algorithm to neural network interpretation by formulating feature selection as a set function maximization problem.
  • Uses a new objective function inspired by LIME but optimized for streaming evaluation, reducing inference cost.

Experimental results

Research questions

  • RQ1Can streaming algorithms for submodular maximization be extended to weakly submodular functions with theoretical guarantees?
  • RQ2Is it possible to achieve a constant-factor approximation for weakly submodular objectives under random stream order, despite worst-case impossibility?
  • RQ3Can a streaming algorithm outperform LIME in speed while maintaining similar explanation quality for deep neural networks?
  • RQ4How does the performance of the algorithm scale with varying weak submodularity parameters γ and cardinality constraints k?

Key findings

  • Streak achieves a theoretical approximation ratio of (1−ε)·γ/2·(3−e⁻ᵞ/²−2√(2−e⁻ᵞ/²)) under random stream order, providing the first such guarantee for weakly submodular functions.
  • The algorithm runs approximately 10 times faster than LIME while producing explanations of comparable quality on Inception V3.
  • An impossibility result shows no randomized streaming algorithm with o(N) memory can achieve a constant approximation for worst-case stream order, even for 0.5-weakly submodular functions.
  • Streak does not require prior knowledge of the weak submodularity parameter γ, making it practical for real-time applications.
  • Empirical evaluation shows Streak produces accurate and interpretable feature attributions, especially effective in identifying class-relevant image regions.
  • When integrated into LIME, Streak improves feature selection speed without sacrificing explanation quality, demonstrating its generalizability.

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.