English

Pruning By Explaining Revisited: Optimizing Attribution Methods to Prune CNNs and Transformers

Artificial Intelligence 2024-10-24 v2 Computer Vision and Pattern Recognition Machine Learning

Abstract

To solve ever more complex problems, Deep Neural Networks are scaled to billions of parameters, leading to huge computational costs. An effective approach to reduce computational requirements and increase efficiency is to prune unnecessary components of these often over-parameterized networks. Previous work has shown that attribution methods from the field of eXplainable AI serve as effective means to extract and prune the least relevant network components in a few-shot fashion. We extend the current state by proposing to explicitly optimize hyperparameters of attribution methods for the task of pruning, and further include transformer-based networks in our analysis. Our approach yields higher model compression rates of large transformer- and convolutional architectures (VGG, ResNet, ViT) compared to previous works, while still attaining high performance on ImageNet classification tasks. Here, our experiments indicate that transformers have a higher degree of over-parameterization compared to convolutional neural networks. Code is available at https://github.com/erfanhatefi/Pruning-by-eXplaining-in-PyTorch.

Keywords

Cite

@article{arxiv.2408.12568,
  title  = {Pruning By Explaining Revisited: Optimizing Attribution Methods to Prune CNNs and Transformers},
  author = {Sayed Mohammad Vakilzadeh Hatefi and Maximilian Dreyer and Reduan Achtibat and Thomas Wiegand and Wojciech Samek and Sebastian Lapuschkin},
  journal= {arXiv preprint arXiv:2408.12568},
  year   = {2024}
}

Comments

Accepted as a workshop paper at ECCV 2024, 26 pages (11 pages manuscript, 3 pages references, 12 pages appendix)

R2 v1 2026-06-28T18:21:06.482Z