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

IR2Net:精确二进制神经网络的信息约束与信息恢复

IR2Net: Information Restriction and Information Recovery for Accurate Binary Neural Networks

Hefei University of Technology(合肥工业大学)

Ping Xue, Yang Lu, Jingfei Chang, Xing Wei, Zhen Wei

摘要:

权重和激活二值化可以有效地压缩深度神经网络并加速模型推理,但会导致严重的精度下降。现有的二进制神经网络(BNN)优化方法主要集中于拟合全精度网络以减少量化误差,存在精度和计算复杂性之间的折衷问题。相比之下,考虑到BNN有限的学习能力和有限的表示能力所导致的信息损失,我们提出了IR $^2$ Net,通过限制输入信息和恢复特征信息来激发BNN的潜力,提高网络的精度,包括:1)信息限制:对于BNN,通过评估输入信息的学习能力,丢弃一些它不能关注的信息,并限制输入信息的数量以匹配其学习能力; 2)信息恢复:由于前向传播中的信息损失,网络输出的特征信息不足以支持准确分类。通过选取一些信息量较丰富的浅层特征图,与最终的特征图进行融合,恢复出特征信息。此外,通过简化信息恢复方法来降低计算成本,以在准确性和效率之间取得更好的平衡。实验结果表明,即使ResNet-18的$ \sim $浮点运算(FLOPs)减少了10倍,我们的方法仍然达到了相当的准确性。模型和代码可在https://github.com/pingxue-hfut/IR2Net上获得。

英文摘要:

Weight and activation binarization can efficiently compress deep neural networks and accelerate model inference, but cause severe accuracy degradation. Existing optimization methods for binary neural networks (BNNs) focus on fitting full-precision networks to reduce quantization errors, and suffer from the trade-off between accuracy and computational complexity. In contrast, considering the limited learning ability and information loss caused by the limited representational capability of BNNs, we propose IR$^2$Net to stimulate the potential of BNNs and improve the network accuracy by restricting the input information and recovering the feature information, including: 1) information restriction: for a BNN, by evaluating the learning ability on the input information, discarding some of the information it cannot focus on, and limiting the amount of input information to match its learning ability; 2) information recovery: due to the information loss in forward propagation, the output feature information of the network is not enough to support accurate classification. By selecting some shallow feature maps with richer information, and fusing them with the final feature maps to recover the feature information. In addition, the computational cost is reduced by streamlining the information recovery method to strike a better trade-off between accuracy and efficiency. Experimental results demonstrate that our approach still achieves comparable accuracy even with $ \sim $10x floating-point operations (FLOPs) reduction for ResNet-18. The models and code are available at https://github.com/pingxue-hfut/IR2Net.

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

↑