arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1612.00212cs.CVcs.LG
收藏

训练比特全卷积网络的快速语义分割

Training Bit Fully Convolutional Network for Fast Semantic Segmentation

Megvii Inc.(旷视科技有限公司)

He Wen, Shuchang Zhou, Zhe Liang, Yuxiang Zhang, Dieqiao Feng, Xinyu Zhou, Cong Yao

摘要:

全卷积神经网络为输入图像提供精确的逐像素预测,并具有语义分割等应用。然而,一个典型的FCN通常需要大量的浮点计算和大的运行时内存,这有效地限制了它的可用性。我们提出了一种训练比特全卷积网络(BFCN)的方法,BFCN是一种具有低位宽权重和激活的全卷积神经网络。由于BFCN的大部分计算密集型卷积都是在低位宽的数字之间完成的,因此可以通过有效的位卷积实现来加速BFCN。在CPU上,两个位向量之间的点积运算可以简化为按位运算和popcount,这可以提供比32位乘法和加法高得多的吞吐量。为了验证BFCN的有效性,我们在PASCAL VOC 2012语义分割任务和Cityscapes上进行了实验。我们的BFCN具有1位权重和2位激活,在CPU上运行速度快7.8倍,或在FPGA上需要不到1%的资源,可以实现与32位对应物相当的性能。

英文摘要:

Fully convolutional neural networks give accurate, per-pixel prediction for input images and have applications like semantic segmentation. However, a typical FCN usually requires lots of floating point computation and large run-time memory, which effectively limits its usability. We propose a method to train Bit Fully Convolution Network (BFCN), a fully convolutional neural network that has low bit-width weights and activations. Because most of its computation-intensive convolutions are accomplished between low bit-width numbers, a BFCN can be accelerated by an efficient bit-convolution implementation. On CPU, the dot product operation between two bit vectors can be reduced to bitwise operations and popcounts, which can offer much higher throughput than 32-bit multiplications and additions. To validate the effectiveness of BFCN, we conduct experiments on the PASCAL VOC 2012 semantic segmentation task and Cityscapes. Our BFCN with 1-bit weights and 2-bit activations, which runs 7.8x faster on CPU or requires less than 1\% resources on FPGA, can achieve comparable performance as the 32-bit counterpart.

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

↑