# SOTR: Segmenting Objects with Transformers

Source: [SOTR: Segmenting Objects with Transformers](<https://www.sota2.com/research/paper/68fa6a8d1e209131cea28b93>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-10-27T06:08:37.410Z

Authors: Ruohao Guo, Dantong Niu, Liao Qu, Zhenbo Li

Published: 2021-08-15T14:10:11.000Z

## Abstract

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.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Instance Segmentation on DSIS](<https://www.sota2.com/research/sota/instance-segmentation-on-dsis.md>): Instance Segmentation; DSIS; mAP: 68.2.

- [Instance Segmentation on COME15K-H](<https://www.sota2.com/research/sota/instance-segmentation-on-come15k-h.md>): Instance Segmentation; COME15K-H; mAP: 43.5.

- [Instance Segmentation on SIP](<https://www.sota2.com/research/sota/instance-segmentation-on-sip.md>): Instance Segmentation; SIP; mAP: 61.6.

- [Instance Segmentation on COME15K E](<https://www.sota2.com/research/sota/instance-segmentation-on-come15k-e.md>): Instance Segmentation; COME15K E; mAP: 50.7.

- [Instance Segmentation on COD10K v3 (test)](<https://www.sota2.com/research/sota/instance-segmentation-on-cod10k-v3-test.md>): Instance Segmentation; COD10K v3 (test); AP: 27.9.

- [Instance Segmentation on NC4K](<https://www.sota2.com/research/sota/instance-segmentation-on-nc4k.md>): Instance Segmentation; NC4K; AP: 29.3.

- [Instance Segmentation on COCO 2017 (test-dev)](<https://www.sota2.com/research/sota/instance-segmentation-on-coco-2017-test-dev.md>): Instance Segmentation; COCO 2017 (test-dev); AP (Overall): 40.2.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2108.06747>)

[PDF](<https://arxiv.org/pdf/2108.06747.pdf>)
