LGOct 6, 2023

SPADE: Sparsity-Guided Debugging for Deep Neural Networks

arXiv:2310.04519v22 citationsh-index: 41Has Code
AI Analysis

This work addresses the challenge of making deep neural networks more interpretable for researchers and practitioners, offering a novel approach that is incremental by building on existing sparsity concepts but applied in a new way.

The paper tackles the problem of improving interpretability in deep neural networks by introducing SPADE, a sparsity-guided debugging method that uses sample-specific pruning as a preprocessing step, which significantly increases the accuracy of image saliency maps and enhances neuron visualizations without altering the model's inference behavior.

It is known that sparsity can improve interpretability for deep neural networks. However, existing methods in the area either require networks that are pre-trained with sparsity constraints, or impose sparsity after the fact, altering the network's general behavior. In this paper, we demonstrate, for the first time, that sparsity can instead be incorporated into the interpretation process itself, as a sample-specific preprocessing step. Unlike previous work, this approach, which we call SPADE, does not place constraints on the trained model and does not affect its behavior during inference on the sample. Given a trained model and a target sample, SPADE uses sample-targeted pruning to provide a "trace" of the network's execution on the sample, reducing the network to the most important connections prior to computing an interpretation. We demonstrate that preprocessing with SPADE significantly increases the accuracy of image saliency maps across several interpretability methods. Additionally, SPADE improves the usefulness of neuron visualizations, aiding humans in reasoning about network behavior. Our code is available at https://github.com/IST-DASLab/SPADE.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes