arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2211.02292eess.IVcs.CV
收藏

基于动态双阈值学习的二进制神经网络

Boosting Binary Neural Networks via Dynamic Thresholds Learning

University of Oulu(奥卢大学);National University of Defense Technology(国防科技大学);Nanyang Technological University(南洋理工大学)

Jiehua Zhang, Xueyang Zhang, Zhuo Su, Zitong Yu, Yanghe Feng, Xin Lu, Matti Pietikäinen, Li Liu

摘要:

开发轻量级深度卷积神经网络(DCNN)和Vision Transformers(ViT)已成为视觉研究的焦点之一,因为低计算成本对于在边缘设备上部署视觉模型至关重要。最近,研究人员通过对全精度神经网络的权重和激活进行二进制化,探索了计算效率高的二进制神经网络(BNN)。然而,二值化过程导致BNN与其全精度版本之间存在巨大的精度差距。主要原因之一是具有预定义或学习的静态阈值的Sign函数限制了二值化架构的表示能力,因为单阈值二值化未能利用激活分布。为了克服这个问题,我们将信道信息的统计引入到被称为DySign的Sign函数的显式阈值学习中,以基于输入分布生成各种阈值。我们的DySign是一种简单的方法,可以减少信息丢失并提高BNN的代表能力,可以灵活地应用于DCNN和ViT(即,DyBCNN和DyBinaryCCT)来实现有希望的性能改进。正如我们大量的实验所显示的那样。对于DCNN,基于两个主干(MobileNetV1和ResNet18)的DyBCNN在ImageNet数据集上实现了71.2%和67.4%的top1准确率,大大优于基线(即,1.8%和1.5%)。对于ViTs,DyBinaryCCT展示了卷积嵌入层在完全二值化ViTs中的优势,并在ImageNet数据集上达到了56.1%,比基线高出近9%。

英文摘要:

Developing lightweight Deep Convolutional Neural Networks (DCNNs) and Vision Transformers (ViTs) has become one of the focuses in vision research since the low computational cost is essential for deploying vision models on edge devices. Recently, researchers have explored highly computational efficient Binary Neural Networks (BNNs) by binarizing weights and activations of Full-precision Neural Networks. However, the binarization process leads to an enormous accuracy gap between BNN and its full-precision version. One of the primary reasons is that the Sign function with predefined or learned static thresholds limits the representation capacity of binarized architectures since single-threshold binarization fails to utilize activation distributions. To overcome this issue, we introduce the statistics of channel information into explicit thresholds learning for the Sign Function dubbed DySign to generate various thresholds based on input distribution. Our DySign is a straightforward method to reduce information loss and boost the representative capacity of BNNs, which can be flexibly applied to both DCNNs and ViTs (i.e., DyBCNN and DyBinaryCCT) to achieve promising performance improvement. As shown in our extensive experiments. For DCNNs, DyBCNNs based on two backbones (MobileNetV1 and ResNet18) achieve 71.2% and 67.4% top1-accuracy on ImageNet dataset, outperforming baselines by a large margin (i.e., 1.8% and 1.5% respectively). For ViTs, DyBinaryCCT presents the superiority of the convolutional embedding layer in fully binarized ViTs and achieves 56.1% on the ImageNet dataset, which is nearly 9% higher than the baseline.

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

↑