用注意力机制提升低延迟语义分割的分辨率和精度
Cross-Layer Attentive Feature Upsampling for Low-latency Semantic Segmentation
- 通过跨层注意力自适应插值,融合多尺度语义信息
- 在Cityscapes上达78.8 mIoU、22.3 FPS,CamVid上80.6 mIoU、64.5 FPS
- 适用于实时系统,适合部署在资源受限设备
语义分割是计算机视觉的基础问题,需要高分辨率特征图进行密集预测。现有基于坐标的低分辨率特征插值方法(如双线性插值)生成的高分辨率特征粗糙,存在特征错位和上下文信息不足的问题。同时,向高分辨率特征中注入语义信息计算开销大,难以满足低延迟推理需求。本文提出一种新的有指导的注意力插值(GAI)方法,可自适应地利用不同分辨率特征中的空间与语义关系,生成富含语义的细粒度高分辨率特征。GAI可嵌入任意深度卷积网络,实现高效语义分割。实验表明,基于GAI的分割网络(GAIN)在Cityscapes上达到78.8 mIoU、22.3 FPS,CamVid上达到80.6 mIoU、64.5 FPS(NVIDIA 1080Ti GPU),为低延迟语义分割新基准。代码与模型已开源。
原文摘要 · Abstract (English)
Semantic segmentation is a fundamental problem in computer vision and it requires high-resolution feature maps for dense prediction. Current coordinate-guided low-resolution feature interpolation methods, e.g., bilinear interpolation, produce coarse high-resolution features which suffer from feature misalignment and insufficient context information. Moreover, enriching semantics to high-resolution features requires a high computation burden, so that it is challenging to meet the requirement of lowlatency inference. We propose a novel Guided Attentive Interpolation (GAI) method to adaptively interpolate fine-grained high-resolution features with semantic features to tackle these issues. Guided Attentive Interpolation determines both spatial and semantic relations of pixels from features of different resolutions and then leverages these relations to interpolate high-resolution features with rich semantics. GAI can be integrated with any deep convolutional network for efficient semantic segmentation. In experiments, the GAI-based semantic segmentation networks, i.e., GAIN, can achieve78.8 mIoU with 22.3 FPS on Cityscapes and 80.6 mIoU with 64.5 on CamVid using an NVIDIA 1080Ti GPU, which are the new state-of-the-art results of low-latency semantic segmentation. Code and models are available at: https://github.com/hustvl/simpleseg.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。