Dynamic Hard Pruning of Neural Networks at the Edge of the Internet
arXiv:2011.08545 · doi:10.1016/j.jnca.2021.103330
Abstract
Neural Networks (NN), although successfully applied to several Artificial Intelligence tasks, are often unnecessarily over-parametrised. In edge/fog computing, this might make their training prohibitive on resource-constrained devices, contrasting with the current trend of decentralising intelligence from remote data centres to local constrained devices. Therefore, we investigate the problem of training effective NN models on constrained devices having a fixed, potentially small, memory budget. We target techniques that are both resource-efficient and performance effective while enabling significant network compression. Our Dynamic Hard Pruning (DynHP) technique incrementally prunes the network during training, identifying neurons that marginally contribute to the model accuracy. DynHP enables a tunable size reduction of the final neural network and reduces the NN memory occupancy during training. Freed memory is reused by a \emph{dynamic batch sizing} approach to counterbalance the accuracy degradation caused by the hard pruning strategy, improving its convergence and effectiveness. We assess the performance of DynHP through reproducible experiments on three public datasets, comparing them against reference competitors. Results show that DynHP compresses a NN up to times without significant performance drops (up to additional error w.r.t. the competitors), reducing up to the training memory occupancy.
References in corpus (8)
- Distilling the Knowledge in a Neural Network
- Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms
- Understanding deep learning requires rethinking generalization
- The Concrete Distribution: A Continuous Relaxation of Discrete Random Variables
- The Internet of People (IoP): A New Wave in Pervasive Mobile Computing
- DSD: Dense-Sparse-Dense Training for Deep Neural Networks
- Dynamic Model Pruning with Feedback
- Training Skinny Deep Neural Networks with Iterative Hard Thresholding Methods