Activation Density based Mixed-Precision Quantization for Energy Efficient Neural Networks
Activation Density based Mixed-Precision Quantization for Energy Efficient Neural Networks
复制标题
基于激活密度的节能神经网络混合精度量化
DOI:
10.23919/date51398.2021.9474031
复制
发表时间:
2021
期刊:
影响因子:
--
通讯作者:
P. Panda
中科院分区:
文献类型:
--
作者:
Karina Vasquez;Yeshwanth Venkatesha;Abhiroop Bhattacharjee;Abhishek Moitra;P. Panda
As neural networks gain widespread adoption in embedded devices, there is a growing need for model compression techniques to facilitate seamless deployment in resource-constrained environments. Quantization is one of the go-to methods yielding state-of-the-art model compression. Most quantization approaches take a fully trained model, then apply different heuristics to determine the optimal bit-precision for different layers of the network, and finally retrain the network to regain any drop in accuracy. Based on Activation Density-the proportion of non-zero activations in a layer-we propose a novel in-training quantization method. Our method calculates optimal bit-width/precision for each layer during training yielding an energy-efficient mixed precision model with competitive accuracy. Since we train lower precision models progressively during training, our approach yields the final quantized model at lower training complexity and also eliminates the need for re-training. We run experiments on benchmark datasets like CIFAR-10, CIFAR-100, TinyImagenet on VGG19/ResNet18 architectures and report the accuracy and energy estimates for the same. We achieve up to 4.5× benefit in terms of estimated multiply-and-accumulate (MAC) reduction while reducing the training complexity by 50% in our experiments. To further evaluate the energy benefits of our proposed method, we develop a mixed-precision scalable Process In Memory (PIM) hardware accelerator platform. The hardware platform incorporates shift-add functionality for handling multibit precision neural network models. Evaluating the quantized models obtained with our proposed method on the PIM platform yields about 5× energy reduction compared to baseline 16-bit models. Additionally, we find that integrating activation density based quantization with activation density based pruning (both conducted during training) yields up to ~ 198× and ~44× energy reductions for VGG19 and ResNet18 architectures respectively on PIM platform compared to baseline 16-bit precision, unpruned models.
DOI:
10.1109/dac18072.2020.9218737
发表时间:
2020
期刊:
Design Automation Conference
影响因子:
--
作者:
Long, Yun;Lee, Edward;Kim, Daehyun;Mukhopadhyay, Saibal
通讯作者:
Mukhopadhyay, Saibal