Neural accelerators can run deep networks on microcontrollers, whose memory is limited. Quantization reduces the memory footprint, and some accelerators accept 2-bit weights. Quantization is applied after or during training. Post-training quantization converts a trained network without retraining it, but can degrade accuracy, especially at low bit-widths. Quantization-aware training simulates quantization during training, so that the network adapts to it. Recent methods distill the quantized network, the student, from its full-precision version, the teacher. This work proposes DIstillation Across Pixels, Affinities, Scenes, and Outputs from One Network (DIAPASON), a quantization-aware self-distillation method for classification, segmentation and depth estimation. The student learns from the teacher's outputs and the task labels. In segmentation and depth estimation, distillation covers every pixel and adds pair-wise feature affinities. Segmentation also uses an adversarial term on the whole output map. On the CIFAR-10 and CIFAR-100 classification benchmark of prior self-distillation methods, DIAPASON improves the best published result in 9 of 12 configurations. Beyond this benchmark, DIAPASON brings its students to the GAP9 microcontroller as fully integer networks, with 8-bit activations and first and last layers. Before export, all these students with 8-bit weights, and the dense ones with 4-bit weights, match or exceed their teachers, whereas post-training quantization loses up to 85% of the teacher's task metric even at 8 bits. With 2-bit weights, the students keep on average 97.6% of their teachers' task metric in classification and segmentation, and run up to 2.82 times faster on the GAP9 chip than with 8-bit weights.


翻译:暂无翻译

0
下载
关闭预览

相关内容

Networking:IFIP International Conferences on Networking。 Explanation:国际网络会议。 Publisher:IFIP。 SIT: http://dblp.uni-trier.de/db/conf/networking/index.html
【GNN】MPNN:消息传递神经网络
深度学习自然语言处理
17+阅读 · 2020年4月11日
深度学习中Attention Mechanism详细介绍:原理、分类及应用
深度学习与NLP
10+阅读 · 2019年2月18日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
18+阅读 · 2018年12月24日
【推荐】用TensorFlow实现LSTM社交对话股市情感分析
机器学习研究会
11+阅读 · 2018年1月14日
【深度强化学习】深度强化学习揭秘
产业智能官
21+阅读 · 2017年11月13日
IJCAI | Cascade Dynamics Modeling with Attention-based RNN
KingsGarden
13+阅读 · 2017年7月16日
国家自然科学基金
6+阅读 · 2017年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
20+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
11+阅读 · 2012年12月31日
Learning in the Frequency Domain
Arxiv
11+阅读 · 2020年3月12日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
11+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
10+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
6+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
10+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
8+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
17+阅读 · 11月25日
相关VIP内容
相关基金
国家自然科学基金
6+阅读 · 2017年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
20+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
11+阅读 · 2012年12月31日
Top
微信扫码咨询专知VIP会员