Saved in:
Bibliographic Details
Main Authors: Shen, Yingtao, Sun, Minqing, Lin, Jianzhe, Zhao, Jie, Zou, An
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2403.17447
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913470629281792
author Shen, Yingtao
Sun, Minqing
Lin, Jianzhe
Zhao, Jie
Zou, An
author_facet Shen, Yingtao
Sun, Minqing
Lin, Jianzhe
Zhao, Jie
Zou, An
contents Model compression has gained significant popularity as a means to alleviate the computational and memory demands of machine learning models. Each compression technique leverages unique features to reduce the size of neural networks. Although intuitively combining different techniques may enhance compression effectiveness, we find that the order in which they are combined significantly influences performance. To identify the optimal sequence for compressing neural networks, we propose the Order of Compression, a systematic and optimal sequence to apply multiple compression techniques in the most effective order. We start by building the foundations of the orders between any two compression approaches and then demonstrate inserting additional compression between any two compressions will not break the order of the two compression approaches. Based on the foundations, an optimal order is obtained with topological sorting. Validated on image-based regression and classification networks across different datasets, our proposed Order of Compression significantly reduces computational costs by up to 859 times on ResNet34, with negligible accuracy loss (-0.09% for CIFAR10) compared to the baseline model. We believe our simple yet effective exploration of the order of compression will shed light on the practice of model compression.
format Preprint
id arxiv_https___arxiv_org_abs_2403_17447
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Order of Compression: A Systematic and Optimal Sequence to Combinationally Compress CNN
Shen, Yingtao
Sun, Minqing
Lin, Jianzhe
Zhao, Jie
Zou, An
Machine Learning
Computer Vision and Pattern Recognition
Neural and Evolutionary Computing
Model compression has gained significant popularity as a means to alleviate the computational and memory demands of machine learning models. Each compression technique leverages unique features to reduce the size of neural networks. Although intuitively combining different techniques may enhance compression effectiveness, we find that the order in which they are combined significantly influences performance. To identify the optimal sequence for compressing neural networks, we propose the Order of Compression, a systematic and optimal sequence to apply multiple compression techniques in the most effective order. We start by building the foundations of the orders between any two compression approaches and then demonstrate inserting additional compression between any two compressions will not break the order of the two compression approaches. Based on the foundations, an optimal order is obtained with topological sorting. Validated on image-based regression and classification networks across different datasets, our proposed Order of Compression significantly reduces computational costs by up to 859 times on ResNet34, with negligible accuracy loss (-0.09% for CIFAR10) compared to the baseline model. We believe our simple yet effective exploration of the order of compression will shed light on the practice of model compression.
title Order of Compression: A Systematic and Optimal Sequence to Combinationally Compress CNN
topic Machine Learning
Computer Vision and Pattern Recognition
Neural and Evolutionary Computing
url https://arxiv.org/abs/2403.17447