arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2011.14504cs.CVcs.AI
收藏

基于整数的语义分割网络的训练与推理

Training and Inference for Integer-Based Semantic Segmentation Network

Beijing University of Posts and Telecommunications(北京邮电大学);University of California, Santa Barbara(加州大学圣巴巴拉分校);Tsinghua University(清华大学)

Jiayi Yang, Lei Deng, Yukuan Yang, Yuan Xie, Guoqi Li

摘要:

语义分割是近年来研究和工业界的一个主要课题。然而,由于逐像素预测和反向传播算法的计算复杂性,语义分割对计算资源的要求很高,导致训练和推理速度慢,存储模型的存储空间大。现有的加速分割网络的方案改变了网络结构,并带来了明显的精度下降。然而,神经网络量化可以用于减少计算负荷,同时保持相当的精度和原始网络结构。语义分割网络在很多方面不同于传统的深度卷积神经网络(DCNN),并且该主题在现有作品中尚未被彻底探索。在本文中,我们提出了一个新的量化框架,用于分割网络的训练和推理,其中参数和操作首次被限制为基于8位整数的值。数据流的完全量化以及批量归一化中平方和根操作的去除使我们的框架能够在定点设备上执行推理。我们提出的框架在主流语义分割网络(如FCN-VGG 16和DeepLabv 3-ResNet 50)上进行了评估,在ADE 20 K数据集和PASCAL VOC 2012数据集上实现了与浮点框架相当的准确性。

英文摘要:

Semantic segmentation has been a major topic in research and industry in recent years. However, due to the computation complexity of pixel-wise prediction and backpropagation algorithm, semantic segmentation has been demanding in computation resources, resulting in slow training and inference speed and large storage space to store models. Existing schemes that speed up segmentation network change the network structure and come with noticeable accuracy degradation. However, neural network quantization can be used to reduce computation load while maintaining comparable accuracy and original network structure. Semantic segmentation networks are different from traditional deep convolutional neural networks (DCNNs) in many ways, and this topic has not been thoroughly explored in existing works. In this paper, we propose a new quantization framework for training and inference of segmentation networks, where parameters and operations are constrained to 8-bit integer-based values for the first time. Full quantization of the data flow and the removal of square and root operations in batch normalization give our framework the ability to perform inference on fixed-point devices. Our proposed framework is evaluated on mainstream semantic segmentation networks like FCN-VGG16 and DeepLabv3-ResNet50, achieving comparable accuracy against floating-point framework on ADE20K dataset and PASCAL VOC 2012 dataset.

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

↑