Skip to main content
QUICK REVIEW

[Paper Review] SimpleClick: Interactive Image Segmentation with Simple Vision Transformers

Qin Liu, Zhenlin Xu|arXiv (Cornell University)|Oct 20, 2022
Visual Attention and Saliency DetectionComputer Science9 citations
TL;DR

SimpleClick introduces the first interactive image segmentation method using a plain Vision Transformer (ViT) backbone, bypassing hierarchical architectures. By leveraging a masked autoencoder-pretrained ViT and a symmetric patch embedding layer to encode clicks, it achieves state-of-the-art performance with 4.15 NoC@90 on SBD, outperforming prior methods by 21.8% while maintaining computational efficiency suitable for real-world annotation tools.

ABSTRACT

Click-based interactive image segmentation aims at extracting objects with a limited user clicking. A hierarchical backbone is the de-facto architecture for current methods. Recently, the plain, non-hierarchical Vision Transformer (ViT) has emerged as a competitive backbone for dense prediction tasks. This design allows the original ViT to be a foundation model that can be finetuned for downstream tasks without redesigning a hierarchical backbone for pretraining. Although this design is simple and has been proven effective, it has not yet been explored for interactive image segmentation. To fill this gap, we propose SimpleClick, the first interactive segmentation method that leverages a plain backbone. Based on the plain backbone, we introduce a symmetric patch embedding layer that encodes clicks into the backbone with minor modifications to the backbone itself. With the plain backbone pretrained as a masked autoencoder (MAE), SimpleClick achieves state-of-the-art performance. Remarkably, our method achieves 4.15 NoC@90 on SBD, improving 21.8% over the previous best result. Extensive evaluation on medical images demonstrates the generalizability of our method. We further develop an extremely tiny ViT backbone for SimpleClick and provide a detailed computational analysis, highlighting its suitability as a practical annotation tool.

Motivation & Objective

  • To explore the use of plain, non-hierarchical Vision Transformers as backbones for interactive image segmentation, challenging the dominance of hierarchical architectures.
  • To enable transfer learning from general-purpose, masked autoencoder-pretrained ViTs to interactive segmentation without redesigning task-specific backbones.
  • To develop a computationally efficient model that meets practical annotation requirements, especially for medical imaging and low-resource settings.
  • To demonstrate that a simple feature pyramid built from the last feature map of a plain ViT is sufficient for high-quality segmentation.
  • To establish a strong baseline for future methods using foundation models in interactive segmentation.

Proposed method

  • Uses a plain Vision Transformer backbone with single-scale feature maps, avoiding hierarchical design and feature pyramid networks (FPN) typically used in prior methods.
  • Introduces a symmetric patch embedding layer that encodes user clicks directly into the ViT backbone with minimal architectural modifications.
  • Employs a masked autoencoder (MAE) for pretraining the ViT backbone on large-scale datasets, enabling strong feature representation transfer.
  • Constructs a simple feature pyramid using only the final feature map from the ViT backbone, decoupling general feature learning from segmentation-specific modules.
  • Applies a lightweight MLP decoder to transform the feature pyramid into a segmentation mask, reducing computational cost.
  • Performs end-to-end finetuning of the entire model, including the backbone, to maximize performance.

Experimental results

Research questions

  • RQ1Can a plain Vision Transformer backbone outperform hierarchical backbones in interactive image segmentation without architectural modifications?
  • RQ2Does pretraining a plain ViT via masked autoencoding transfer effectively to interactive segmentation tasks?
  • RQ3Can a simple feature pyramid built from a single-scale feature map match or exceed the performance of multi-scale or FPN-like designs?
  • RQ4Is the proposed method computationally efficient enough to serve as a practical annotation tool in real-world applications?
  • RQ5How generalizable is the method across domains, especially on medical imaging datasets?

Key findings

  • SimpleClick achieves 4.15 NoC@90 on the SBD benchmark, representing a 21.8% improvement over the previous state-of-the-art method.
  • The method outperforms all prior hierarchical backbone-based methods on both natural image and medical image benchmarks, demonstrating strong generalizability.
  • Freezing the ViT backbone during finetuning leads to a significant performance drop, indicating that fine-tuning the backbone is essential for optimal results.
  • The multi-scale property of the feature pyramid is critical; ablating it causes a substantial performance drop, even though only the last feature map is used.
  • The smallest model variant (ViT-xT) achieves inference speed of 17ms per click and consumes only 0.17GB GPU memory, making it suitable for real-time annotation.
  • Even the largest ViT-H variant achieves 132ms inference time and 3.22GB memory usage, which remains within practical limits for interactive tools.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.