Training Quantized Deep Neural Networks via Cooperative Coevolution

Fu Peng, Shengcai Liu, Ning Lu, Ke Tang
12/23/2021
cs.NEcs.AIcs.LG

Official code: boluoweifenda/WAGE (149 stars, Python, last commit 2018-05-31).

Abstract

This work considers a challenging Deep Neural Network(DNN) quantization task that seeks to train quantized DNNs without involving any full-precision operations. Most previous quantization approaches are not applicable to this task since they rely on full-precision gradients to update network weights.

Show full abstract

To fill this gap, in this work we advocate using Evolutionary Algorithms (EAs) to search for the optimal low-bits weights of DNNs. To efficiently solve the induced large-scale discrete problem, we propose a novel EA based on cooperative coevolution that repeatedly groups the network weights based on the confidence in their values and focuses on optimizing the ones with the least confidence. To the best of our knowledge, this is the first work that applies EAs to train quantized DNNs. Experiments show that our approach surpasses previous quantization approaches and can train a 4-bit ResNet-20 on the Cifar-10 dataset with the same test accuracy as its full-precision counterpart.

View on arXivView PDF

Code Implementations(1)

boluoweifenda/WAGEOfficial100%

Code example for the ICLR 2018 oral paper

14937PythonOct 22, 20178 years ago
iclr2018

Similar Papers

Cite this paper

@article{peng2021training,
  title  = {Training Quantized Deep Neural Networks via Cooperative Coevolution},
  author = {Fu Peng and Shengcai Liu and Ning Lu and Ke Tang},
  year   = {2021},
  eprint = {2112.14834},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.14834}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.14834.svg)](https://codeofpaper.com/paper/2112.14834)

Discussion