Saved in:
Bibliographic Details
Main Authors: Gupta, Manas, Camci, Efe, Keneta, Vishandi Rudy, Vaidyanathan, Abhishek, Kanodia, Ritwik, Foo, Chuan-Sheng, Min, Wu, Jie, Lin
Format: Preprint
Published: 2022
Subjects:
Online Access:https://arxiv.org/abs/2209.14624
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911749595201536
author Gupta, Manas
Camci, Efe
Keneta, Vishandi Rudy
Vaidyanathan, Abhishek
Kanodia, Ritwik
Foo, Chuan-Sheng
Min, Wu
Jie, Lin
author_facet Gupta, Manas
Camci, Efe
Keneta, Vishandi Rudy
Vaidyanathan, Abhishek
Kanodia, Ritwik
Foo, Chuan-Sheng
Min, Wu
Jie, Lin
contents Pruning neural networks has become popular in the last decade when it was shown that a large number of weights can be safely removed from modern neural networks without compromising accuracy. Numerous pruning methods have been proposed since, each claiming to be better than prior art, however, at the cost of increasingly complex pruning methodologies. These methodologies include utilizing importance scores, getting feedback through back-propagation or having heuristics-based pruning rules amongst others. In this work, we question whether this pattern of introducing complexity is really necessary to achieve better pruning results. We benchmark these SOTA techniques against a simple pruning baseline, namely, Global Magnitude Pruning (Global MP), that ranks weights in order of their magnitudes and prunes the smallest ones. Surprisingly, we find that vanilla Global MP performs very well against the SOTA techniques. When considering sparsity-accuracy trade-off, Global MP performs better than all SOTA techniques at all sparsity ratios. When considering FLOPs-accuracy trade-off, some SOTA techniques outperform Global MP at lower sparsity ratios, however, Global MP starts performing well at high sparsity ratios and performs very well at extremely high sparsity ratios. Moreover, we find that a common issue that many pruning algorithms run into at high sparsity rates, namely, layer-collapse, can be easily fixed in Global MP. We explore why layer collapse occurs in networks and how it can be mitigated in Global MP by utilizing a technique called Minimum Threshold. We showcase the above findings on various models (WRN-28-8, ResNet-32, ResNet-50, MobileNet-V1 and FastGRNN) and multiple datasets (CIFAR-10, ImageNet and HAR-2). Code is available at https://github.com/manasgupta-1/GlobalMP.
format Preprint
id arxiv_https___arxiv_org_abs_2209_14624
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle Is Complexity Required for Neural Network Pruning? A Case Study on Global Magnitude Pruning
Gupta, Manas
Camci, Efe
Keneta, Vishandi Rudy
Vaidyanathan, Abhishek
Kanodia, Ritwik
Foo, Chuan-Sheng
Min, Wu
Jie, Lin
Machine Learning
Computer Vision and Pattern Recognition
Pruning neural networks has become popular in the last decade when it was shown that a large number of weights can be safely removed from modern neural networks without compromising accuracy. Numerous pruning methods have been proposed since, each claiming to be better than prior art, however, at the cost of increasingly complex pruning methodologies. These methodologies include utilizing importance scores, getting feedback through back-propagation or having heuristics-based pruning rules amongst others. In this work, we question whether this pattern of introducing complexity is really necessary to achieve better pruning results. We benchmark these SOTA techniques against a simple pruning baseline, namely, Global Magnitude Pruning (Global MP), that ranks weights in order of their magnitudes and prunes the smallest ones. Surprisingly, we find that vanilla Global MP performs very well against the SOTA techniques. When considering sparsity-accuracy trade-off, Global MP performs better than all SOTA techniques at all sparsity ratios. When considering FLOPs-accuracy trade-off, some SOTA techniques outperform Global MP at lower sparsity ratios, however, Global MP starts performing well at high sparsity ratios and performs very well at extremely high sparsity ratios. Moreover, we find that a common issue that many pruning algorithms run into at high sparsity rates, namely, layer-collapse, can be easily fixed in Global MP. We explore why layer collapse occurs in networks and how it can be mitigated in Global MP by utilizing a technique called Minimum Threshold. We showcase the above findings on various models (WRN-28-8, ResNet-32, ResNet-50, MobileNet-V1 and FastGRNN) and multiple datasets (CIFAR-10, ImageNet and HAR-2). Code is available at https://github.com/manasgupta-1/GlobalMP.
title Is Complexity Required for Neural Network Pruning? A Case Study on Global Magnitude Pruning
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2209.14624