arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.07439cs.CVcs.LG
收藏

INSTA-BNN:具有实例感知阈值的二值神经网络

INSTA-BNN: Binary Neural Network with INSTAnce-aware Threshold

Pohang University of Science and Technology (POSTECH)(浦项科技大学);SqueezeBits Inc.(SqueezeBits公司);Seoul National University(首尔国立大学)

Changhun Lee, Hyungjun Kim, Eunhyeok Park, Jae-Joon Kim

AI总结:

提出INSTA-BNN,通过实例感知的动态量化阈值补偿二值神经网络的准确率损失,在ImageNet上以相当计算成本显著提升ResNet-18和MobileNetV1的top-1准确率。

摘要:

二值神经网络(BNNs)已成为降低深度神经网络内存占用和计算成本的有前景的解决方案,但由于激活值和权重被限制为二值而缺乏自由度,导致其质量下降。为弥补准确率下降,我们提出了一种名为具有实例感知阈值的二值神经网络(INSTA-BNN)的新型BNN设计,它以输入依赖或实例感知的方式动态控制量化阈值。根据我们的观察,高阶统计量可以作为估计输入分布特征的代表性指标。INSTA-BNN被设计为在考虑包括高阶统计量在内的各种信息时动态调整阈值,同时也经过精心优化以在真实设备上实现最小开销。我们的广泛研究表明,INSTA-BNN在ImageNet分类任务上以相当的计算成本分别比基线高出3.0%和2.8%,在基于ResNet-18和MobileNetV1的模型上分别达到68.5%和72.2%的top-1准确率。

英文摘要:

Binary Neural Networks (BNNs) have emerged as a promising solution for reducing the memory footprint and compute costs of deep neural networks, but they suffer from quality degradation due to the lack of freedom as activations and weights are constrained to the binary values. To compensate for the accuracy drop, we propose a novel BNN design called Binary Neural Network with INSTAnce-aware threshold (INSTA-BNN), which controls the quantization threshold dynamically in an input-dependent or instance-aware manner. According to our observation, higher-order statistics can be a representative metric to estimate the characteristics of the input distribution. INSTA-BNN is designed to adjust the threshold dynamically considering various information, including higher-order statistics, but it is also optimized judiciously to realize minimal overhead on a real device. Our extensive study shows that INSTA-BNN outperforms the baseline by 3.0% and 2.8% on the ImageNet classification task with comparable computing cost, achieving 68.5% and 72.2% top-1 accuracy on ResNet-18 and MobileNetV1 based models, respectively.

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

↑