mlsanityData to 14 Oct 2026

Inter2Former: Dynamic Hybrid Attention for Efficient High-Precision Interactive

arXiv 2507.09612 ↗First posted 13 Jul 2025cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Interactive segmentation (IS) improves annotation efficiency by segmenting target regions from user prompts, with widespread applications in real-world scenarios. Current approaches face a critical trade-off: dense-token methods achieve superior accuracy and detail preservation but suffer from prohibitively slow processing on CPU devices, while the Segment Anything Model (SAM) advances the field with sparse prompt tokens for fast inference but compromises segmentation quality. In this paper, we propose Inter2Former to address this challenge by optimizing computation allocation in dense-token processing, which introduces four key enhancements. First, we propose Dynamic Prompt Embedding (DPE) that adaptively processes only regions of interest while avoiding additional overhead from background tokens. Second, we introduce Dynamic Hybrid Attention (DHA), which leverages previous segmentation masks to route tokens through either full attention (O(N2)) for boundary regions or our proposed efficient BSQ attention (O(N)) for non-boundary regions. Third, we develop Hybrid Mixture of Experts (HMoE), which applies similar adaptive computation strategies in FFN modules with CPU-optimized parallel processing. Finally, we present Dynamic Local Upsampling (DLU), a reverse operation of DPE, which localizes objects with a lightweight MLP and performs fine-grained upsampling only in detected regions. Experimental results on high-precision IS benchmarks demonstrate that Inter2Former achieves SOTA performance with high efficiency on CPU devices.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 43 of its 58 references that are in the map. First posted on arXiv 13 Jul 2025.

Builds on

43 of 58 references.

References · 43

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  6. 2023Segment Anythingcited by 8,234
  7. 2017Mask R-CNNcited by 7,277
  8. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  9. 2017Neural Discrete Representation Learningcited by 4,712
  10. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  11. 2019nuScenes: A multimodal dataset for autonomous drivingcited by 4,523
  12. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
31 more
  1. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,253
  2. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  3. 2019LVIS: A Dataset for Large Vocabulary Instance Segmentationcited by 1,217
  4. 2021Transformers in Vision: A Surveycited by 1,013
  5. 2023LISA: Reasoning Segmentation via Large Language Modelcited by 776
  6. 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 724
  7. 2022EVA: Exploring the Limits of Masked Visual Representation Learning at Scalecited by 691
  8. 2021Vector-quantized Image Modeling with Improved VQGANcited by 658
  9. 2022InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutionscited by 482
  10. 2023Finite Scalar Quantization: VQ-VAE Made Simplecited by 440
  11. 2023Segment Anything in High Qualitycited by 376
  12. 2023Faster Segment Anything: Towards Lightweight SAM for Mobile Applicationscited by 352
  13. 2023Segment Anything Model for Medical Image Analysis: an Experimental Studycited by 291
  14. 2023EfficientSAM: Leveraged Masked Image Pretraining for Efficient Segment Anythingcited by 188
  15. 2023FLatten Transformer: Vision Transformer using Focused Linear Attentioncited by 171
  16. 2021Reviving Iterative Training with Mask Guidance for Interactive Segmentationcited by 163
  17. 2016Deep Interactive Object Selectioncited by 160
  18. 2021Self-attention Does Not Need O(n2) Memorycited by 154
  19. 2017Deep Extreme Cut: From Extreme Points to Object Segmentationcited by 127
  20. 2018Efficient Interactive Annotation of Segmentation Datasets with Polygon-RNN++cited by 120
  21. 2020f-BRS: Rethinking Backpropagating Refinement for Interactive Segmentationcited by 117
  22. 2024Image and Video Tokenization with Binary Spherical Quantizationcited by 112
  23. 2022SimpleClick: Interactive Image Segmentation with Simple Vision Transformerscited by 111
  24. 2019Star-Transformercited by 94
  25. 2022Image Compression with Product Quantized Masked Image Modelingcited by 33
  26. 2023Transformer-VQ: Linear-Time Transformers via Vector Quantizationcited by 26
  27. 2024Rethinking Interactive Image Segmentation with Low Latency, High Quality, and Diverse Promptscited by 22
  28. 2023InterFormer: Real-time Interactive Image Segmentationcited by 20
  29. 2024Leveraging AI Predicted and Expert Revised Annotations in Interactive Segmentation: Continual Tuning or Full Training?cited by 9
  30. 2024Structured Click Control in Transformer-based Interactive Segmentationcited by 2
  31. 2024Order-aware Interactive Segmentationcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024HRSAM: Efficient Interactive Segmentation in High-Resolution Images
  2. 2025M2N2V2: Multi-Modal Unsupervised and Training-free Interactive Segmentation
  3. 2025SAM-PTx: Text-Guided Fine-Tuning of SAM with Parameter-Efficient, Parallel-Text Adapters
  4. 2025EVTP-IVS: Effective Visual Token Pruning For Unifying Instruction Visual Segmentation In Multi-Modal Large Language Models
  5. 2025Decoupled Seg Tokens Make Stronger Reasoning Video Segmenter and Grounder
  6. 2025Proxy Prompt: Endowing SAM and SAM 2 with Auto-Interactive-Prompt for Medical Segmentation
  7. 2026X2SAM: Any Segmentation in Images and Videos
  8. 2025RefAM: Attention Magnets for Zero-Shot Referral Segmentation