1. Pruning by explaining: A novel criterion for deep neural network pruning
- Author
-
Alexander Binder, Wojciech Samek, Sebastian Lapuschkin, Seul-Ki Yeom, Simon Wiedemann, Klaus-Robert Müller, Philipp Seegerer, and Publica
- Subjects
FOS: Computer and information sciences ,Computer Science - Machine Learning ,Computer science ,Computation ,Machine Learning (stat.ML) ,Machine learning ,computer.software_genre ,Convolutional neural network ,Machine Learning (cs.LG) ,Statistics - Machine Learning ,Artificial Intelligence ,Relevance (information retrieval) ,Pruning (decision trees) ,Neural and Evolutionary Computing (cs.NE) ,Interpretability ,Hyperparameter ,Artificial neural network ,business.industry ,Computer Science - Neural and Evolutionary Computing ,Range (mathematics) ,Signal Processing ,Computer Vision and Pattern Recognition ,Artificial intelligence ,business ,computer ,Software - Abstract
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., Comment: 25 pages + 5 supplementary pages, 13 figures, 6 tables
- Published
- 2021