atlas

Research map / Architectures and efficiency / Attention and transformers

Your ViT is Secretly an Image Segmentation Model

CVPR 2025 · Architectures and efficiency › Attention and transformers · approach: Hybrid and interpretable ViT designs · 37 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that large, well-pretrained plain ViTs (DINOv2) can replace task-specific adapters, pixel decoders and Transformer decoders for image segmentation, and proposes EoMT, a ViT-only segmenter with mask annealing that drops masked attention at inference.

Problem

ViT-based image segmentation relies on task-specific components (ViT-Adapter, pixel decoder, Transformer decoder with masked attention) that add complexity and latency; it is unclear whether they remain necessary with large models and extensive pre-training.

Approach

Progressively remove task-specific components from ViT-Adapter + Mask2Former, then repurpose the last ViT blocks to jointly process learnable queries and patch tokens (Encoder-only Mask Transformer), with mask annealing that phases out masked attention during training so inference uses plain ViT attention.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
remove ViT-Adapter (ablation)ViT-Adapter + Mask2Former · COCO val2017 panopticPQ: 57.1 -> 56.7Hurt
remove pixel decoder (ablation)ViT-Adapter + Mask2Former without ViT-Adapter · COCO val2017 panopticPQ: 56.7 -> 56.9No clear effect
remove multi-scale feature processing (ablation)Mask2Former without ViT-Adapter and pixel decoder · COCO val2017 panopticPQ: 56.9 -> 56.7Hurt
remove Transformer decoder (ablation)model without ViT-Adapter, pixel decoder, and multi-scale processing · COCO val2017 panopticPQ: 56.7 -> 56.2Hurt
remove masked attention at inference after mask annealing (ablation)EoMT · COCO val2017 panopticPQ: 56.2 -> 56.0No clear effect
use DINOv2 pre-training instead of ImageNet-1K pre-trainingEoMT · COCO val2017 panopticPQ: 44.3 -> 56.0Helped
scale the backbone from ViT-S to ViT-LEoMT · COCO val2017 panopticPQ: 44.7 -> 56.0Helped
disable masked attention only at inference after training with masking (ablation)EoMT · COCO val2017 panopticPQ: 56.2 -> 27.4Hurt
disable masked attention during both training and inference (ablation)EoMT · COCO val2017 panopticPQ: 56.2 -> 53.2Hurt
use mask annealing to phase out masked attention during training (ablation)EoMT · COCO val2017 panopticPQ: 56.2 -> 56.0No clear effect
apply ALGM token merging (ablation)EoMT · Cityscapes val semanticmIoU: 84.2 -> 84.2No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: COCO ADE20K Cityscapes BRAVO

Benchmarks: COCO val2017 ADE20K val Cityscapes val BRAVO

Metrics: PQ mIoU AP FPS GFLOPs

Baselines: ViT-Adapter + Mask2Former Mask2Former kMaX-DeepLab OneFormer MaskDINO UViT YOLOS

Builds on: Mask2Former ViT-Adapter ViTDet DINOv2

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy