Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning. Frantar, E. & Alistarh, D. In October, 2022.
Paper abstract bibtex We consider the problem of model compression for deep neural networks (DNNs) in the challenging one-shot/post-training setting, in which we are given an accurate trained model, and must compress it without any retraining, based only on a small amount of calibration input data. This problem has become popular in view of the emerging software and hardware support for executing models compressed via pruning and/or quantization with speedup, and well-performing solutions have been proposed independently for both compression approaches. In this paper, we introduce a new compression framework which covers both weight pruning and quantization in a unified setting, is time- and space-efficient, and considerably improves upon the practical performance of existing post-training methods. At the technical level, our approach is based on an exact and efficient realization of the classical Optimal Brain Surgeon (OBS) framework of [LeCun, Denker, and Solla, 1990] extended to also cover weight quantization at the scale of modern DNNs. From the practical perspective, our experimental results show that it can improve significantly upon the compression-accuracy trade-offs of existing post-training methods, and that it can enable the accurate compound application of both pruning and quantization in a post-training setting.
@inproceedings{frantar_optimal_2022,
title = {Optimal {Brain} {Compression}: {A} {Framework} for {Accurate} {Post}-{Training} {Quantization} and {Pruning}},
shorttitle = {Optimal {Brain} {Compression}},
url = {https://openreview.net/forum?id=ksVGCOlOEba},
abstract = {We consider the problem of model compression for deep neural networks (DNNs) in the challenging one-shot/post-training setting, in which we are given an accurate trained model, and must compress it without any retraining, based only on a small amount of calibration input data. This problem has become popular in view of the emerging software and hardware support for executing models compressed via pruning and/or quantization with speedup, and well-performing solutions have been proposed independently for both compression approaches. In this paper, we introduce a new compression framework which covers both weight pruning and quantization in a unified setting, is time- and space-efficient, and considerably improves upon the practical performance of existing post-training methods. At the technical level, our approach is based on an exact and efficient realization of the classical Optimal Brain Surgeon (OBS) framework of [LeCun, Denker, and Solla, 1990] extended to also cover weight quantization at the scale of modern DNNs. From the practical perspective, our experimental results show that it can improve significantly upon the compression-accuracy trade-offs of existing post-training methods, and that it can enable the accurate compound application of both pruning and quantization in a post-training setting.},
language = {en},
urldate = {2022-12-01},
author = {Frantar, Elias and Alistarh, Dan},
month = oct,
year = {2022},
}
Downloads: 0
{"_id":"fwnunu3g4bSonwqSN","bibbaseid":"frantar-alistarh-optimalbraincompressionaframeworkforaccurateposttrainingquantizationandpruning-2022","author_short":["Frantar, E.","Alistarh, D."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","title":"Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning","shorttitle":"Optimal Brain Compression","url":"https://openreview.net/forum?id=ksVGCOlOEba","abstract":"We consider the problem of model compression for deep neural networks (DNNs) in the challenging one-shot/post-training setting, in which we are given an accurate trained model, and must compress it without any retraining, based only on a small amount of calibration input data. This problem has become popular in view of the emerging software and hardware support for executing models compressed via pruning and/or quantization with speedup, and well-performing solutions have been proposed independently for both compression approaches. In this paper, we introduce a new compression framework which covers both weight pruning and quantization in a unified setting, is time- and space-efficient, and considerably improves upon the practical performance of existing post-training methods. At the technical level, our approach is based on an exact and efficient realization of the classical Optimal Brain Surgeon (OBS) framework of [LeCun, Denker, and Solla, 1990] extended to also cover weight quantization at the scale of modern DNNs. From the practical perspective, our experimental results show that it can improve significantly upon the compression-accuracy trade-offs of existing post-training methods, and that it can enable the accurate compound application of both pruning and quantization in a post-training setting.","language":"en","urldate":"2022-12-01","author":[{"propositions":[],"lastnames":["Frantar"],"firstnames":["Elias"],"suffixes":[]},{"propositions":[],"lastnames":["Alistarh"],"firstnames":["Dan"],"suffixes":[]}],"month":"October","year":"2022","bibtex":"@inproceedings{frantar_optimal_2022,\n\ttitle = {Optimal {Brain} {Compression}: {A} {Framework} for {Accurate} {Post}-{Training} {Quantization} and {Pruning}},\n\tshorttitle = {Optimal {Brain} {Compression}},\n\turl = {https://openreview.net/forum?id=ksVGCOlOEba},\n\tabstract = {We consider the problem of model compression for deep neural networks (DNNs) in the challenging one-shot/post-training setting, in which we are given an accurate trained model, and must compress it without any retraining, based only on a small amount of calibration input data. This problem has become popular in view of the emerging software and hardware support for executing models compressed via pruning and/or quantization with speedup, and well-performing solutions have been proposed independently for both compression approaches. In this paper, we introduce a new compression framework which covers both weight pruning and quantization in a unified setting, is time- and space-efficient, and considerably improves upon the practical performance of existing post-training methods. At the technical level, our approach is based on an exact and efficient realization of the classical Optimal Brain Surgeon (OBS) framework of [LeCun, Denker, and Solla, 1990] extended to also cover weight quantization at the scale of modern DNNs. From the practical perspective, our experimental results show that it can improve significantly upon the compression-accuracy trade-offs of existing post-training methods, and that it can enable the accurate compound application of both pruning and quantization in a post-training setting.},\n\tlanguage = {en},\n\turldate = {2022-12-01},\n\tauthor = {Frantar, Elias and Alistarh, Dan},\n\tmonth = oct,\n\tyear = {2022},\n}\n\n","author_short":["Frantar, E.","Alistarh, D."],"key":"frantar_optimal_2022","id":"frantar_optimal_2022","bibbaseid":"frantar-alistarh-optimalbraincompressionaframeworkforaccurateposttrainingquantizationandpruning-2022","role":"author","urls":{"Paper":"https://openreview.net/forum?id=ksVGCOlOEba"},"metadata":{"authorlinks":{}},"html":""},"bibtype":"inproceedings","biburl":"https://bibbase.org/zotero/mxmplx","dataSources":["aXmRAq63YsH7a3ufx"],"keywords":[],"search_terms":["optimal","brain","compression","framework","accurate","post","training","quantization","pruning","frantar","alistarh"],"title":"Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning","year":2022}