Quantized Neural Networks: Training Neural Networks with Low Precision Weights and Activations. Hubara, I., Courbariaux, M., Soudry, D., El-Yaniv, R., & Bengio, Y. September, 2016. 1284 citations (Semantic Scholar/arXiv) [2022-08-18] arXiv:1609.07061 [cs]
Paper abstract bibtex We introduce a method to train Quantized Neural Networks (QNNs) — neural networks with extremely low precision (e.g., 1-bit) weights and activations, at run-time. At train-time the quantized weights and activations are used for computing the parameter gradients. During the forward pass, QNNs drastically reduce memory size and accesses, and replace most arithmetic operations with bit-wise operations. As a result, power consumption is expected to be drastically reduced. We trained QNNs over the MNIST, CIFAR-10, SVHN and ImageNet datasets. The resulting QNNs achieve prediction accuracy comparable to their 32-bit counterparts. For example, our quantized version of AlexNet with 1-bit weights and 2-bit activations achieves $51{\}%$ top-1 accuracy. Moreover, we quantize the parameter gradients to 6-bits as well which enables gradients computation using only bit-wise operation. Quantized recurrent neural networks were tested over the Penn Treebank dataset, and achieved comparable accuracy as their 32-bit counterparts using only 4-bits. Last but not least, we programmed a binary matrix multiplication GPU kernel with which it is possible to run our MNIST QNN 7 times faster than with an unoptimized GPU kernel, without suffering any loss in classification accuracy. The QNN code is available online.
@misc{hubara_quantized_2016,
title = {Quantized {Neural} {Networks}: {Training} {Neural} {Networks} with {Low} {Precision} {Weights} and {Activations}},
shorttitle = {Quantized {Neural} {Networks}},
url = {http://arxiv.org/abs/1609.07061},
abstract = {We introduce a method to train Quantized Neural Networks (QNNs) --- neural networks with extremely low precision (e.g., 1-bit) weights and activations, at run-time. At train-time the quantized weights and activations are used for computing the parameter gradients. During the forward pass, QNNs drastically reduce memory size and accesses, and replace most arithmetic operations with bit-wise operations. As a result, power consumption is expected to be drastically reduced. We trained QNNs over the MNIST, CIFAR-10, SVHN and ImageNet datasets. The resulting QNNs achieve prediction accuracy comparable to their 32-bit counterparts. For example, our quantized version of AlexNet with 1-bit weights and 2-bit activations achieves \$51{\textbackslash}\%\$ top-1 accuracy. Moreover, we quantize the parameter gradients to 6-bits as well which enables gradients computation using only bit-wise operation. Quantized recurrent neural networks were tested over the Penn Treebank dataset, and achieved comparable accuracy as their 32-bit counterparts using only 4-bits. Last but not least, we programmed a binary matrix multiplication GPU kernel with which it is possible to run our MNIST QNN 7 times faster than with an unoptimized GPU kernel, without suffering any loss in classification accuracy. The QNN code is available online.},
urldate = {2022-08-07},
publisher = {arXiv},
author = {Hubara, Itay and Courbariaux, Matthieu and Soudry, Daniel and El-Yaniv, Ran and Bengio, Yoshua},
month = sep,
year = {2016},
note = {1284 citations (Semantic Scholar/arXiv) [2022-08-18]
arXiv:1609.07061 [cs]},
keywords = {Computer Science - Machine Learning, Computer Science - Neural and Evolutionary Computing},
}
Downloads: 0
{"_id":"9atksz9B4o9Fk477Y","bibbaseid":"hubara-courbariaux-soudry-elyaniv-bengio-quantizedneuralnetworkstrainingneuralnetworkswithlowprecisionweightsandactivations-2016","author_short":["Hubara, I.","Courbariaux, M.","Soudry, D.","El-Yaniv, R.","Bengio, Y."],"bibdata":{"bibtype":"misc","type":"misc","title":"Quantized Neural Networks: Training Neural Networks with Low Precision Weights and Activations","shorttitle":"Quantized Neural Networks","url":"http://arxiv.org/abs/1609.07061","abstract":"We introduce a method to train Quantized Neural Networks (QNNs) — neural networks with extremely low precision (e.g., 1-bit) weights and activations, at run-time. At train-time the quantized weights and activations are used for computing the parameter gradients. During the forward pass, QNNs drastically reduce memory size and accesses, and replace most arithmetic operations with bit-wise operations. As a result, power consumption is expected to be drastically reduced. We trained QNNs over the MNIST, CIFAR-10, SVHN and ImageNet datasets. The resulting QNNs achieve prediction accuracy comparable to their 32-bit counterparts. For example, our quantized version of AlexNet with 1-bit weights and 2-bit activations achieves $51{\\}%$ top-1 accuracy. Moreover, we quantize the parameter gradients to 6-bits as well which enables gradients computation using only bit-wise operation. Quantized recurrent neural networks were tested over the Penn Treebank dataset, and achieved comparable accuracy as their 32-bit counterparts using only 4-bits. Last but not least, we programmed a binary matrix multiplication GPU kernel with which it is possible to run our MNIST QNN 7 times faster than with an unoptimized GPU kernel, without suffering any loss in classification accuracy. The QNN code is available online.","urldate":"2022-08-07","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Hubara"],"firstnames":["Itay"],"suffixes":[]},{"propositions":[],"lastnames":["Courbariaux"],"firstnames":["Matthieu"],"suffixes":[]},{"propositions":[],"lastnames":["Soudry"],"firstnames":["Daniel"],"suffixes":[]},{"propositions":[],"lastnames":["El-Yaniv"],"firstnames":["Ran"],"suffixes":[]},{"propositions":[],"lastnames":["Bengio"],"firstnames":["Yoshua"],"suffixes":[]}],"month":"September","year":"2016","note":"1284 citations (Semantic Scholar/arXiv) [2022-08-18] arXiv:1609.07061 [cs]","keywords":"Computer Science - Machine Learning, Computer Science - Neural and Evolutionary Computing","bibtex":"@misc{hubara_quantized_2016,\n\ttitle = {Quantized {Neural} {Networks}: {Training} {Neural} {Networks} with {Low} {Precision} {Weights} and {Activations}},\n\tshorttitle = {Quantized {Neural} {Networks}},\n\turl = {http://arxiv.org/abs/1609.07061},\n\tabstract = {We introduce a method to train Quantized Neural Networks (QNNs) --- neural networks with extremely low precision (e.g., 1-bit) weights and activations, at run-time. At train-time the quantized weights and activations are used for computing the parameter gradients. During the forward pass, QNNs drastically reduce memory size and accesses, and replace most arithmetic operations with bit-wise operations. As a result, power consumption is expected to be drastically reduced. We trained QNNs over the MNIST, CIFAR-10, SVHN and ImageNet datasets. The resulting QNNs achieve prediction accuracy comparable to their 32-bit counterparts. For example, our quantized version of AlexNet with 1-bit weights and 2-bit activations achieves \\$51{\\textbackslash}\\%\\$ top-1 accuracy. Moreover, we quantize the parameter gradients to 6-bits as well which enables gradients computation using only bit-wise operation. Quantized recurrent neural networks were tested over the Penn Treebank dataset, and achieved comparable accuracy as their 32-bit counterparts using only 4-bits. Last but not least, we programmed a binary matrix multiplication GPU kernel with which it is possible to run our MNIST QNN 7 times faster than with an unoptimized GPU kernel, without suffering any loss in classification accuracy. The QNN code is available online.},\n\turldate = {2022-08-07},\n\tpublisher = {arXiv},\n\tauthor = {Hubara, Itay and Courbariaux, Matthieu and Soudry, Daniel and El-Yaniv, Ran and Bengio, Yoshua},\n\tmonth = sep,\n\tyear = {2016},\n\tnote = {1284 citations (Semantic Scholar/arXiv) [2022-08-18]\narXiv:1609.07061 [cs]},\n\tkeywords = {Computer Science - Machine Learning, Computer Science - Neural and Evolutionary Computing},\n}\n\n\n\n","author_short":["Hubara, I.","Courbariaux, M.","Soudry, D.","El-Yaniv, R.","Bengio, Y."],"key":"hubara_quantized_2016","id":"hubara_quantized_2016","bibbaseid":"hubara-courbariaux-soudry-elyaniv-bengio-quantizedneuralnetworkstrainingneuralnetworkswithlowprecisionweightsandactivations-2016","role":"author","urls":{"Paper":"http://arxiv.org/abs/1609.07061"},"keyword":["Computer Science - Machine Learning","Computer Science - Neural and Evolutionary Computing"],"metadata":{"authorlinks":{}},"downloads":0,"html":""},"bibtype":"misc","biburl":"https://bibbase.org/zotero/qiuyuanwang","dataSources":["wWPhSRj9hrZuqsm9D"],"keywords":["computer science - machine learning","computer science - neural and evolutionary computing"],"search_terms":["quantized","neural","networks","training","neural","networks","low","precision","weights","activations","hubara","courbariaux","soudry","el-yaniv","bengio"],"title":"Quantized Neural Networks: Training Neural Networks with Low Precision Weights and Activations","year":2016}