Lune

ICCV2023Top-tier venue

InterFormer Real-time Interactive Image Segmentation

You Huang, Hao Yang, Ke Sun, Shengchuan Zhang, Liujuan Cao, Guannan Jiang, Rongrong Ji

Abstract

Interactive image segmentation enables annotators to efficiently perform pixel-level annotation for segmentation tasks. However, the existing interactive segmentation pipeline suffers from inefficient computations of interactive models because of the following two issues. First, annotators’ later click is based on models’ feedback of annotators’ former click. This serial interaction is unable to utilize model’s parallelism capabilities. Second, in each interaction step, the model handles the invariant image along with the sparse variable clicks, resulting in a process that’s highly repetitive and redundant. For efficient computations, we propose a method named InterFormer that follows a new pipeline to address these issues. In-terFormer extracts and preprocesses the computationally time-consuming part i.e. image processing from the existing process. Specifically, InterFormer employs a large vision transformer (ViT) on high-performance devices to prepro-cess images in parallel, and then uses a lightweight module called interactive multi-head self attention (I-MSA) for interactive segmentation. Furthermore, the I-MSA module’s deployment on low-power devices extends the practical application of interactive segmentation. The I-MSA module utilizes the preprocessed features to efficiently response to the annotator inputs in real-time. The experiments on several datasets demonstrate the effectiveness of Inter-Former, which outperforms previous interactive segmentation models in terms of computational efficiency and segmentation quality, achieve real-time high-quality interactive segmentation on CPU-only devices. The code is available at https://github.com/YouHuang67/InterFormer.

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

  • SAM-REF: Introducing Image-Prompt Synergy during Interaction for Detail Enhancement in the Segment Anything Model cites Rethinking Interactive Image Segmentation with Low Latency, High Quality, and Diverse Prompts
  • SAM-REF: Introducing Image-Prompt Synergy during Interaction for Detail Enhancement in the Segment Anything Model cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Rethinking Interactive Image Segmentation with Low Latency, High Quality, and Diverse Prompts cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Rethinking Interactive Image Segmentation with Low Latency, High Quality, and Diverse Prompts cites SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
  • NTClick: Achieving Precise Interactive Segmentation With Noise-tolerant Clicks cites Rethinking Interactive Image Segmentation with Low Latency, High Quality, and Diverse Prompts
  • NTClick: Achieving Precise Interactive Segmentation With Noise-tolerant Clicks 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 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Training data-efficient image transformers & distillation through attention
  • Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions cites Training data-efficient image transformers & distillation through attention
  • Multiverseg: Scalable Interactive Segmentation of Biomedical Imaging Datasets with in-Context Guidance cites Rethinking Interactive Image Segmentation with Low Latency, High Quality, and Diverse Prompts
  • 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
  • Inter2Former: Dynamic Hybrid Attention for Efficient High-Precision Interactive Segmentation cites Rethinking Interactive Image Segmentation with Low Latency, High Quality, and Diverse Prompts
  • Inter2Former: Dynamic Hybrid Attention for Efficient High-Precision Interactive Segmentation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Inter2Former: Dynamic Hybrid Attention for Efficient High-Precision Interactive Segmentation 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. Multiverseg: Scalable Interactive Segmentation of Biomedical Imaging Datasets with in-Context GuidanceHallee E. Wong, Jose Javier Gonzalez Ortiz, John V. Guttag, Adrian V. DalcaICCV 2025 · 3 citations
  2. Inter2Former: Dynamic Hybrid Attention for Efficient High-Precision Interactive SegmentationYou Huang, Lichao Chen, Jiayi Ji, Liujuan Cao et al.ICCV 2025 · 1 citation
  3. SAM-REF: Introducing Image-Prompt Synergy during Interaction for Detail Enhancement in the Segment Anything ModelChongkai Yu, Ting Liu, Anqi Li, Xiaochao Qu et al.CVPR 2025
  4. Rethinking Interactive Image Segmentation with Low Latency, High Quality, and Diverse PromptsQin Liu, Jaemin Cho, Mohit Bansal, Marc NiethammerCVPR 2024
  5. NTClick: Achieving Precise Interactive Segmentation With Noise-tolerant ClicksChenyi Zhang, Ting Liu, Xiaochao Qu, Luoqi Liu et al.CVPR 2025

Builds on17

  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. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
  5. Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without ConvolutionsWenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan et al.ICCV 2021 · 4,909 citations

Related papers

  1. FeedFormer: Revisiting Transformer Decoder for Efficient Semantic SegmentationJae-hun Shim, Hyunwoo Yu, Kyeongbo Kong, Suk-Ju KangAAAI 2023 · 62 citations
  2. DynaMITe: Dynamic Query Bootstrapping for Multi-object Interactive Segmentation TransformerAmit Kumar Rana, Sabarinath Mahadevan, Alexander Hermans, Bastian LeibeICCV 2023 · 15 citations
  3. SimpleClick: Interactive Image Segmentation with Simple Vision TransformersQin Liu, Zhenlin Xu, Gedas Bertasius, Marc NiethammerICCV 2023 · 161 citations
  4. ClassFormer: Exploring Class-Aware Dependency with Transformer for Medical Image SegmentationHuimin Huang, Shiao Xie, Lanfen Lin, Ruofeng Tong et al.AAAI 2023 · 5 citations
  5. RTFormer: Efficient Design for Real-Time Semantic Segmentation with TransformerJian Wang, Chenhui Gou, Qiman Wu, Haocheng Feng et al.NeurIPS 2022 · 207 citations
Dusk over the sea between two cliffs drawn in fine vertical lines