Lune

NeurIPS2022Top-tier venue

RTFormer: Efficient Design for Real-Time Semantic Segmentation with Transformer

Jian Wang, Chenhui Gou, Qiman Wu, Haocheng Feng, Junyu Han, Errui Ding, Jingdong Wang

Abstract

Recently, transformer-based networks have shown impressive results in semantic segmentation. Yet for real-time semantic segmentation, pure CNN-based approaches still dominate in this field, due to the time-consuming computation mechanism of transformer. We propose RTFormer, an efficient dual-resolution transformer for real-time semantic segmenation, which achieves better trade-off between performance and efficiency than CNN-based models. To achieve high inference efficiency on GPU-like devices, our RTFormer leverages GPU-Friendly Attention with linear complexity and discards the multi-head mechanism. Besides, we find that cross-resolution attention is more efficient to gather global context information for high-resolution branch by spreading the high level knowledge learned from low-resolution branch. Extensive experiments on mainstream benchmarks demonstrate the effectiveness of our proposed RTFormer, it achieves state-of-the-art on Cityscapes, CamVid and COCOStuff, and shows promising results on ADE20K. Code is available at PaddleSeg: https://github.com/PaddlePaddle/PaddleSeg.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

10 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Structural Pruning via Spatial-aware Information Redundancy for Semantic Segmentation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Training data-efficient image transformers & distillation through attention
  • Building Vision Transformers with Hierarchy Aware Feature Aggregation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Building Vision Transformers with Hierarchy Aware Feature Aggregation cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Building Vision Transformers with Hierarchy Aware Feature Aggregation cites Training data-efficient image transformers & distillation through attention
  • Building Vision Transformers with Hierarchy Aware Feature Aggregation cites SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
  • SCTNet: Single-Branch CNN with Transformer Semantic Information for Real-Time Segmentation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • SCTNet: Single-Branch CNN with Transformer Semantic Information for Real-Time Segmentation cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • SCTNet: Single-Branch CNN with Transformer Semantic Information for Real-Time Segmentation cites Training data-efficient image transformers & distillation through attention
  • SCTNet: Single-Branch CNN with Transformer Semantic Information for Real-Time Segmentation cites SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
  • Revisiting Efficient Semantic Segmentation: Learning Offsets for Better Spatial and Class Feature Alignment cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Revisiting Efficient Semantic Segmentation: Learning Offsets for Better Spatial and Class Feature Alignment cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Revisiting Efficient Semantic Segmentation: Learning Offsets for Better Spatial and Class Feature Alignment cites SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
  • Training data-efficient image transformers & distillation through attention cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. SCTNet: Single-Branch CNN with Transformer Semantic Information for Real-Time SegmentationZhengze Xu, Dongyue Wu, Changqian Yu, Xiangxiang Chu et al.AAAI 2024 · 166 citations
  2. SituationAdapt: Contextual UI Optimization in Mixed Reality with Situation Awareness via LLM ReasoningZhipeng Li, Christoph Gebhardt, Yves Inglin, Nicolas Steck et al.UIST 2024 · 36 citations
  3. Revisiting Efficient Semantic Segmentation: Learning Offsets for Better Spatial and Class Feature AlignmentShi-Chen Zhang, Yunheng Li, Yu-Huan Wu, Qibin Hou et al.ICCV 2025 · 8 citations
  4. Building Vision Transformers with Hierarchy Aware Feature AggregationYongjie Chen, Hongmin Liu, Haoran Yin, Bin FanICCV 2023 · 6 citations
  5. Structural Pruning via Spatial-aware Information Redundancy for Semantic SegmentationDongyue Wu, Zilin Guo, Li Yu, Nong Sang et al.AAAI 2025

Builds on16

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. SegFormer: Simple and Efficient Design for Semantic Segmentation with TransformersEnze Xie, Wenhai Wang, Zhiding Yu, Anima Anandkumar et al.NeurIPS 2021 · 9,661 citations
  4. Searching for MobileNetV3Andrew Howard, Ruoming Pang, Hartwig Adam, Quoc V. Le et al.ICCV 2019 · 9,163 citations
  5. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations

Related papers

  1. TopFormer: Token Pyramid Transformer for Mobile Semantic SegmentationWenqiang Zhang, Zilong Huang, Guozhong Luo, Tao Chen et al.CVPR 2022 · 313 citations
  2. Head-Free Lightweight Semantic Segmentation with Linear TransformerBo Dong, Pichao Wang, Fan WangAAAI 2023 · 129 citations
  3. PEM: Prototype-Based Efficient MaskFormer for Image SegmentationNiccolò Cavagnero, Gabriele Rosi, Claudia Cuttano, Francesca Pistilli et al.CVPR 2024
  4. SegNeXt: Rethinking Convolutional Attention Design for Semantic SegmentationMeng-Hao Guo, Cheng-Ze Lu, Qibin Hou, Zhengning Liu et al.NeurIPS 2022 · 1,385 citations
  5. SeaFormer: Squeeze-enhanced Axial Transformer for Mobile Semantic SegmentationQiang Wan, Zilong Huang, Jiachen Lu, Gang Yu et al.ICLR 2023 · 82 citations
Dusk over the sea between two cliffs drawn in fine vertical lines