从量化DNN到可量化DNN
From Quantized DNNs to Quantizable DNNs
摘要:
本文提出了可量化DNN,这是一种特殊类型的DNN,可以在执行过程中灵活地调整其位宽(此后表示为“位模式”),而无需进一步重新训练。为了同时优化所有位模式,提出了所有位模式的组合损失,其强制执行从低位模式到32位模式的一致预测。这种基于一致性的损失也可以被视为训练期间的某种形式的正则化。针对矩阵乘法在不同位模式下的输出分布不同的问题,引入位特定批量归一化以减少不同位模式间的冲突。在CIFAR100和ImageNet上的实验表明,与量化DNN相比,量化DNN不仅具有更好的灵活性,而且还具有更高的分类准确率。消融研究进一步验证了通过基于一致性损失的正则化确实提高了模型的泛化性能。
英文摘要:
This paper proposes Quantizable DNNs, a special type of DNNs that can flexibly quantize its bit-width (denoted as `bit modes' thereafter) during execution without further re-training. To simultaneously optimize for all bit modes, a combinational loss of all bit modes is proposed, which enforces consistent predictions ranging from low-bit mode to 32-bit mode. This Consistency-based Loss may also be viewed as certain form of regularization during training. Because outputs of matrix multiplication in different bit modes have different distributions, we introduce Bit-Specific Batch Normalization so as to reduce conflicts among different bit modes. Experiments on CIFAR100 and ImageNet have shown that compared to quantized DNNs, Quantizable DNNs not only have much better flexibility, but also achieve even higher classification accuracy. Ablation studies further verify that the regularization through the consistency-based loss indeed improves the model's generalization performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。