Leveraging Sparse Linear Layers for Debuggable Deep Networks
Official code: MadryLab/DebuggableDeepNetworks (37 stars, Jupyter Notebook, MIT, last commit 2021-06-10). 1 more implementation below.
Abstract
We show how fitting sparse linear models over learned deep feature representations can lead to more debuggable neural networks. These networks remain highly accurate while also being more amenable to human interpretation, as we demonstrate quantiatively via numerical and human experiments.
Show full abstractHide
We further illustrate how the resulting sparse explanations can help to identify spurious correlations, explain misclassifications, and diagnose model biases in vision and language tasks. The code for our toolkit can be found at https://github.com/madrylab/debuggabledeepnetworks.