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

用于稠密预测的二进制量化神经网络:基于专门设计的升采样与注意力机制

The Binary Quantized Neural Network for Dense Prediction via Specially Designed Upsampling and Attention

University of Chinese Academy of Sciences(中国科学院大学);Nanjing University of Posts and Telecommunications(南京邮电大学);Beijing University of Posts and Telecommunications(北京邮电大学)

Xingyu Ding, Lianlei Shan, Guiqin Zhao, Meiqi Wu, Wenzhang Zhou, Wei Li

AI总结:

本文提出一种多分支并行升采样结构和高效注意力策略,将二值神经网络应用于稠密预测任务,在保持精度的同时将注意力计算复杂度降低百倍,并在三个数据集上验证了有效性。

摘要:

基于深度学习的信息处理耗时较长且需要巨大的计算资源,尤其是对于需要为每个像素生成输出的稠密预测任务,例如语义分割和显著目标检测。稠密预测任务的量化主要面临两个挑战。首先,直接应用稠密预测任务所需的升采样操作极为粗糙,会导致不可接受的精度下降。其次,稠密预测网络的复杂结构使得在量化时难以同时保持较快的速度和较高的精度。在本文中,我们提出了一种有效的升采样方法和一种高效的注意力计算策略,以将二值神经网络(BNN)的成功从单一预测任务迁移到稠密预测任务。首先,我们设计了一种简单且鲁棒的多分支并行升采样结构以实现高精度。随后,我们进一步优化了注意力方法,该方法在分割中扮演重要角色但计算复杂度极高。我们的注意力方法可以将计算复杂度降低一百倍,同时保留原始效果。在Cityscapes、KITTI road和ECSSD上的实验充分证明了我们工作的有效性。

英文摘要:

Deep learning-based information processing consumes long time and requires huge computing resources, especially for dense prediction tasks which require an output for each pixel, like semantic segmentation and salient object detection. There are mainly two challenges for quantization of dense prediction tasks. Firstly, directly applying the upsampling operation that dense prediction tasks require is extremely crude and causes unacceptable accuracy reduction. Secondly, the complex structure of dense prediction networks means it is difficult to maintain a fast speed as well as a high accuracy when performing quantization. In this paper, we propose an effective upsampling method and an efficient attention computation strategy to transfer the success of the binary neural networks (BNN) from single prediction tasks to dense prediction tasks. Firstly, we design a simple and robust multi-branch parallel upsampling structure to achieve the high accuracy. Then we further optimize the attention method which plays an important role in segmentation but has huge computation complexity. Our attention method can reduce the computational complexity by a factor of one hundred times but retain the original effect. Experiments on Cityscapes, KITTI road, and ECSSD fully show the effectiveness of our work.

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

↑