Neuron Shapley: Discovering the Responsible Neurons
Amirata Ghorbani, James Zou
TL;DR
Neuron Shapley provides a principled way to quantify individual neuron contributions by accounting for interactions via Shapley values. A truncated multi-armed bandit (TMAB-Shapley) estimates these values efficiently in large CNNs, enabling analysis of tens of thousands of filters. Key findings show that a tiny subset of filters dominantly controls accuracy, fairness, and robustness, enabling fast post-training repairs by zeroing culprits without retraining. The framework offers a rigorous, transferable approach for interpretation and repair, with acknowledged computational costs and scope for iterative, contribution-guided retraining.
Abstract
We develop Neuron Shapley as a new framework to quantify the contribution of individual neurons to the prediction and performance of a deep network. By accounting for interactions across neurons, Neuron Shapley is more effective in identifying important filters compared to common approaches based on activation patterns. Interestingly, removing just 30 filters with the highest Shapley scores effectively destroys the prediction accuracy of Inception-v3 on ImageNet. Visualization of these few critical filters provides insights into how the network functions. Neuron Shapley is a flexible framework and can be applied to identify responsible neurons in many tasks. We illustrate additional applications of identifying filters that are responsible for biased prediction in facial recognition and filters that are vulnerable to adversarial attacks. Removing these filters is a quick way to repair models. Enabling all these applications is a new multi-arm bandit algorithm that we developed to efficiently estimate Neuron Shapley values.
