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

SOTR:使用Transformers分割对象

SOTR: Segmenting Objects with Transformers

China Agricultural University(中国农业大学);University of California, Berkeley(加州大学伯克利分校)

Ruohao Guo, Dantong Niu, Liao Qu, Zhenbo Li

摘要:

最新的基于transformer的模型在视觉任务上表现出令人印象深刻的性能,甚至比卷积神经网络(CNN)更好。在这项工作中,我们提出了一种新的,灵活的,有效的基于变换的模型,高质量的实例分割。所提出的方法,用Transformers分割对象(SOTR),简化了分割管道,建立在附加有两个并行子任务的替代CNN骨干上:(1)通过Transformer预测每个实例类别和(2)使用多级上采样模块动态生成分割掩码。SOTR分别通过特征金字塔网络(FPN)和双Transformer有效地提取低层特征表示和捕获长距离上下文依赖。同时,与原始的Transformer相比,所提出的双Transformer是时间和资源有效的,因为只有一行和一列的注意参与编码像素。此外,SOTR易于与各种CNN骨干和Transformer模型变体结合,从而在分割精度和训练收敛性方面做出相当大的改进。大量的实验表明,我们的SOTR在MS COCO数据集上表现良好,并超过了最先进的实例分割方法。我们希望我们简单但强大的框架可以作为实例级识别的首选基线。我们的代码可在https://github.com/easton-cau/SOTR上获得。

英文摘要:

Most recent transformer-based models show impressive performance on vision tasks, even better than Convolution Neural Networks (CNN). In this work, we present a novel, flexible, and effective transformer-based model for high-quality instance segmentation. The proposed method, Segmenting Objects with TRansformers (SOTR), simplifies the segmentation pipeline, building on an alternative CNN backbone appended with two parallel subtasks: (1) predicting per-instance category via transformer and (2) dynamically generating segmentation mask with the multi-level upsampling module. SOTR can effectively extract lower-level feature representations and capture long-range context dependencies by Feature Pyramid Network (FPN) and twin transformer, respectively. Meanwhile, compared with the original transformer, the proposed twin transformer is time- and resource-efficient since only a row and a column attention are involved to encode pixels. Moreover, SOTR is easy to be incorporated with various CNN backbones and transformer model variants to make considerable improvements for the segmentation accuracy and training convergence. Extensive experiments show that our SOTR performs well on the MS COCO dataset and surpasses state-of-the-art instance segmentation approaches. We hope our simple but strong framework could serve as a preferment baseline for instance-level recognition. Our code is available at https://github.com/easton-cau/SOTR.

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

↑