arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.02885cs.LGcs.CV
收藏

基于位平面编码的输入层二值化

Input Layer Binarization with Bit-Plane Encoding

Datalogic Labs(得利捷实验室);University of Bologna(博洛尼亚大学)

Lorenzo Vorabbi, Davide Maltoni, Stefano Santi

AI总结:

针对二值神经网络输入层二值化精度损失大、现有扩展通道法运算量高的问题,提出基于位平面编码的输入层二值化方法,实现全二值化模型,在多数据集和架构上精度与运算效率均优于SOTA。

摘要:

二值神经网络(Binary Neural Networks, BNNs)采用1位权重与激活值,可在边缘设备上高效运行深度卷积神经网络。但传统方案通常不对第一层进行二值化,因为这会导致大幅精度损失。少数针对第一层二值化的研究通常通过增加输入通道数来提升数据表征能力;这类数据扩展会增加所需运算量,仅在计算资源充足的系统上可行。本文提出一种直接利用输入数据的8位表示实现第一层二值化的新方法:利用标准位平面编码(bit-planes encoding)逐位提取特征(采用深度可分离卷积),经重加权阶段后再次融合特征。最终得到的模型是完全二值化的,且本文的第一层二值化方法与模型架构无关。该方法在三个分类数据集(CIFAR10、SVHN、CIFAR100)上针对不同模型架构(VGG、ResNet)进行了评估,在精度和BMACs(二值乘法累加运算)削减方面均优于现有最优方法。

英文摘要:

Binary Neural Networks (BNNs) use 1-bit weights and activations to efficiently execute deep convolutional neural networks on edge devices. Nevertheless, the binarization of the first layer is conventionally excluded, as it leads to a large accuracy loss. The few works addressing the first layer binarization, typically increase the number of input channels to enhance data representation; such data expansion raises the amount of operations needed and it is feasible only on systems with enough computational resources. In this work, we present a new method to binarize the first layer using directly the 8-bit representation of input data; we exploit the standard bit-planes encoding to extract features bit-wise (using depth-wise convolutions); after a re-weighting stage, features are fused again. The resulting model is fully binarized and our first layer binarization approach is model independent. The concept is evaluated on three classification datasets (CIFAR10, SVHN and CIFAR100) for different model architectures (VGG and ResNet) and, the proposed technique outperforms state of the art methods both in accuracy and BMACs reduction.

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

↑