Do All MobileNets Quantize Poorly? Gaining Insights into the Effect of Quantization on Depthwise Separable Convolutional Networks Through the Eyes of Multi-scale Distributional Dynamics
University of Waterloo(滑铁卢大学);Waterloo Artificial Intelligence Institute(滑铁卢人工智能研究所)
Stone Yun, Alexander Wong
备注:
Accepted for publication in Mobile AI (MAI) Workshop 2021 at CVPR
As the "Mobile AI" revolution continues to grow, so does the need to understand the behaviour of edge-deployed deep neural networks. In particular, MobileNets are the go-to family of deep convolutional neural networks (CNN) for mobile. However, they often have significant accuracy degradation under post-training quantization. While studies have introduced quantization-aware training and other methods to tackle this challenge, there is limited understanding into why MobileNets (and potentially depthwise-separable CNNs (DWSCNN) in general) quantize so poorly compared to other CNN architectures. Motivated to gain deeper insights into this phenomenon, we take a different strategy and study the multi-scale distributional dynamics of MobileNet-V1, a set of smaller DWSCNNs, and regular CNNs. Specifically, we investigate the impact of quantization on the weight and activation distributional dynamics as information propagates from layer to layer, as well as overall changes in distributional dynamics at the network level. This fine-grained analysis revealed significant dynamic range fluctuations and a "distributional mismatch" between channelwise and layerwise distributions in DWSCNNs that lead to increasing quantized degradation and distributional shift during information propagation. Furthermore, analysis of the activation quantization errors show that there is greater quantization error accumulation in DWSCNN compared to regular CNNs. The hope is that such insights can lead to innovative strategies for reducing such distributional dynamics changes and improve post-training quantization for mobile.
AutoSlim: Towards One-Shot Architecture Search for Channel Numbers
University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)
我们研究了如何在神经网络中设置通道数,以在受限资源(例如,FLOP、延迟、内存占用或模型大小)。提出了一种简单的一次性解决方案,称为AutoSlim。我们不是训练许多网络样本并使用强化学习进行搜索,而是训练单个可精简的网络来近似不同通道配置的网络精度。然后,我们迭代地评估训练好的可精简模型,并以最小的精度下降对层进行精简。通过这一单通道,我们可以得到不同的资源约束下的最优信道配置。我们使用MobileNet v1,MobileNet v2,ResNet-50和RL搜索的MNasNet对ImageNet分类进行了实验。我们展示了其默认通道配置的显着改进。我们还实现了比最近的通道修剪方法和神经结构搜索方法更好的准确性。值得注意的是,通过设置优化的通道数,我们的AutoSlim-MobileNet-v2在3.05亿FLOPs下实现了74.2%的top-1准确性,比默认MobileNet-v2(3.01亿FLOPs)高2.4%,甚至比RL搜索的MNasNet(3.17亿FLOPs)高0.2%。我们的AutoSlim-ResNet-50在570 M FLOPs下,没有dependencyconvolutions,比MobileNet-v1(569 M FLOPs)高出1.3%。代码和模型将在https://github.com/JiahuiYu/slimmable_networks上提供
Towards Lightweight Hyperspectral Image Super-Resolution with Depthwise Separable Dilated Convolutional Network
Department of Computer Science, Aalto University, Finland(艾尔沃斯大学计算机科学系);School of Electrical and Electronic Engineering, University of Sheffield, United Kingdom(谢菲尔德大学电子与电气工程学院)
PSDNet and DPDNet: Efficient channel expansion, Depthwise-Pointwise-Depthwise Inverted Bottleneck Block
National ASIC Engineering Technology Research Center, School of Electronics Science and Engineering, Southeast University(东南大学电子科学与工程学院国家专用集成电路系统工程技术研究中心);Singapore University of Technology and Design(新加坡科技设计大学)
Research on Optimization Method of Multi-scale Fish Target Fast Detection Network
Shanghai Ocean University(上海海洋大学);East China Sea Fisheries Research Institute, Chinese Academy of Fishery Sciences(中国水产科学研究院东海水产研究所);Shanghai Junding Fishery Science and Technology Co. Ltd.(上海骏鼎渔业科技有限公司);Southwest Forestry University(西南林业大学)