Pruning by explaining: A novel criterion for deep neural network pruning
•A novel criterion to efficiently prune convolutional neural networks inspired by explaining nonlinear classification decisions in terms of input variables is introduced.•The method is inspired by neural network interpretability: Layer-wise Relevance Propagation.•This is the first report to link the...
Saved in:
Published in | Pattern recognition Vol. 115; p. 107899 |
---|---|
Main Authors | , , , , , , |
Format | Journal Article |
Language | English |
Published |
Elsevier Ltd
01.07.2021
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | •A novel criterion to efficiently prune convolutional neural networks inspired by explaining nonlinear classification decisions in terms of input variables is introduced.•The method is inspired by neural network interpretability: Layer-wise Relevance Propagation.•This is the first report to link the two disconnected lines of interpretability and model compression research.•The method is tested on two popular convolutional neural network families and a broad range of benchmark datasets under two different scenarios.
The success of convolutional neural networks (CNNs) in various applications is accompanied by a significant increase in computation and parameter storage costs. Recent efforts to reduce these overheads involve pruning and compressing the weights of various layers while at the same time aiming to not sacrifice performance. In this paper, we propose a novel criterion for CNN pruning inspired by neural network interpretability: The most relevant units, i.e. weights or filters, are automatically found using their relevance scores obtained from concepts of explainable AI (XAI). By exploring this idea, we connect the lines of interpretability and model compression research. We show that our proposed method can efficiently prune CNN models in transfer-learning setups in which networks pre-trained on large corpora are adapted to specialized tasks. The method is evaluated on a broad range of computer vision datasets. Notably, our novel criterion is not only competitive or better compared to state-of-the-art pruning criteria when successive retraining is performed, but clearly outperforms these previous criteria in the resource-constrained application scenario in which the data of the task to be transferred to is very scarce and one chooses to refrain from fine-tuning. Our method is able to compress the model iteratively while maintaining or even improving accuracy. At the same time, it has a computational cost in the order of gradient computation and is comparatively simple to apply without the need for tuning hyperparameters for pruning. |
---|---|
Bibliography: | NFR/309439 |
ISSN: | 0031-3203 1873-5142 |
DOI: | 10.1016/j.patcog.2021.107899 |