arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.14834cs.NEcs.AIcs.LG
收藏

基于协同进化的量化深度神经网络训练

Training Quantized Deep Neural Networks via Cooperative Coevolution

Southern University of Science and Technology(南方科技大学)

Fu Peng, Shengcai Liu, Ning Lu, Ke Tang

摘要:

这项工作考虑了一个具有挑战性的深度神经网络(DNN)量化任务,该任务旨在训练量化的DNN,而不涉及任何全精度操作。大多数以前的量化方法不适用于此任务,因为它们依赖于全精度梯度来更新网络权重。为了填补这一空白,在这项工作中,我们提倡使用进化算法(EA)来搜索DNN的最佳低位权重。为了有效地解决诱导的大规模离散问题,我们提出了一种新的EA合作协同进化的基础上,重复分组的网络权重的基础上,在其值的信心,并专注于优化的信心最小的。据我们所知,这是第一个工作,应用EA训练量化DNN。实验表明,我们的方法超越了以前的量化方法,可以训练一个4位的ResNet-20的Cifar-10数据集上具有相同的测试精度作为其全精度对应。

英文摘要:

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. 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑