# Neural Network Pruning based on Filter Importance Values Approximated with Monte Carlo Gradient Estimation

### Csanád Sándor, Csanád Sándor, Szabolcs Pável, Szabolcs Pável, Lehel Csató

#### 2022

#### Abstract

Neural network pruning is an effective way to reduce memory- and time requirements in most deep neural network architectures. Recently developed pruning techniques can remove individual neurons or entire filters from convolutional neural networks, making these “slim” architectures more robust and more resource- efficient. In this paper, we present a simple yet effective method that assigns probabilities to the network units – to filters in convolutional layers and to neurons in fully connected layers – and prunes them based on these values. The probabilities are learned by maximizing the expected value of a score function – calculated from the accuracy – that ranks the network when different units are tuned off. Gradients of the probabilities are estimated using Monte Carlo gradient estimation. We conduct experiments on the CIFAR-10 dataset with a small VGG-like architecture as well as on the lightweight version of the ResNet architecture. The results show that our pruning method has comparable results with different state-of-the-art algorithms in terms of parameter and floating point operation reduction. In case of the ResNet-110 architecture, our pruning method removes 72.53% of the floating point operations and 68.89% of the parameters, that marginally surpasses the result of existing pruning methods.

Download#### Paper Citation

#### in Harvard Style

Sándor C., Pável S. and Csató L. (2022). **Neural Network Pruning based on Filter Importance Values Approximated with Monte Carlo Gradient Estimation**. In *Proceedings of the 17th International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications - Volume 4: VISAPP,* ISBN 978-989-758-555-5, pages 315-322. DOI: 10.5220/0010786700003124

#### in Bibtex Style

@conference{visapp22,

author={Csanád Sándor and Szabolcs Pável and Lehel Csató},

title={Neural Network Pruning based on Filter Importance Values Approximated with Monte Carlo Gradient Estimation},

booktitle={Proceedings of the 17th International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications - Volume 4: VISAPP,},

year={2022},

pages={315-322},

publisher={SciTePress},

organization={INSTICC},

doi={10.5220/0010786700003124},

isbn={978-989-758-555-5},

}

#### in EndNote Style

TY - CONF

JO - Proceedings of the 17th International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications - Volume 4: VISAPP,

TI - Neural Network Pruning based on Filter Importance Values Approximated with Monte Carlo Gradient Estimation

SN - 978-989-758-555-5

AU - Sándor C.

AU - Pável S.

AU - Csató L.

PY - 2022

SP - 315

EP - 322

DO - 10.5220/0010786700003124