[Paper Review] A Simple Single-Scale Vision Transformer for Object Localization and Instance Segmentation
This paper proposes Universal Vision Transformer (UViT), a simple, single-scale Vision Transformer backbone that achieves strong performance in object detection and instance segmentation without hierarchical design or multiscale features. By maintaining constant feature resolution and hidden size, and using progressive windowed self-attention, UViT outperforms Swin Transformer and ResNets with significantly fewer parameters and better efficiency on COCO benchmarks.
This work presents a simple vision transformer design as a strong baseline for object localization and instance segmentation tasks. Transformers recently demonstrate competitive performance in image classification tasks. To adopt ViT to object detection and dense prediction tasks, many works inherit the multistage design from convolutional networks and highly customized ViT architectures. Behind this design, the goal is to pursue a better trade-off between computational cost and effective aggregation of multiscale global contexts. However, existing works adopt the multistage architectural design as a black-box solution without a clear understanding of its true benefits. In this paper, we comprehensively study three architecture design choices on ViT -- spatial reduction, doubled channels, and multiscale features -- and demonstrate that a vanilla ViT architecture can fulfill this goal without handcrafting multiscale features, maintaining the original ViT design philosophy. We further complete a scaling rule to optimize our model's trade-off on accuracy and computation cost / model size. By leveraging a constant feature resolution and hidden size throughout the encoder blocks, we propose a simple and compact ViT architecture called Universal Vision Transformer (UViT) that achieves strong performance on COCO object detection and instance segmentation tasks.
Motivation & Objective
- To challenge the assumption that CNN-inspired hierarchical designs (e.g., multiscale features, spatial reduction) are necessary for Vision Transformers in dense prediction tasks.
- To evaluate whether a vanilla Vision Transformer architecture can serve as a strong, minimal baseline for object detection and instance segmentation.
- To identify the true benefits of architectural choices like multiscale features, channel doubling, and spatial reduction in ViT for dense prediction.
- To establish a compound scaling rule for ViT that optimizes the trade-off between accuracy, FLOPs, and model size.
- To demonstrate that self-attention inherently captures non-local context, reducing the need for explicit feature pyramids.
Proposed method
- Proposes a single-scale Vision Transformer (UViT) with constant feature resolution and hidden size throughout all encoder blocks, avoiding spatial downsampling and multi-scale feature engineering.
- Introduces a progressive windowed self-attention mechanism, where window sizes increase with depth to reduce computational cost while preserving performance.
- Employs a uniform scaling strategy across depth, width, and input resolution to optimize accuracy and efficiency trade-offs.
- Uses the standard Cascade Mask R-CNN framework for object detection and instance segmentation on COCO 2017, with multi-scale training at 896×896 resolution.
- Applies self-training with pseudo-labeling using ImageNet-1K unlabeled data to further boost performance.
- Conducts extensive ablation studies to isolate the impact of spatial reduction, channel doubling, and multiscale features on ViT performance.
Experimental results
Research questions
- RQ1Is the multistage, hierarchical design of CNNs necessary for Vision Transformers in dense prediction tasks like object detection and instance segmentation?
- RQ2Can a vanilla Vision Transformer with constant resolution and hidden size outperform more complex, customized ViT architectures?
- RQ3What is the actual contribution of multiscale features, spatial reduction, and channel doubling in ViT for dense prediction?
- RQ4Can progressive windowed attention reduce computation cost without sacrificing performance in high-resolution detection tasks?
- RQ5How can a compound scaling rule be designed for ViT to optimize the trade-off between accuracy, FLOPs, and model size?
Key findings
- UViT achieves 52.5 box AP and 44.8 mask AP on COCO instance segmentation with only 74.4M parameters and 1160.1 GFLOPs, outperforming Swin-B and ResNet-152 in efficiency.
- UViT-B with self-training reaches 53.9 box AP and 46.1 mask AP, demonstrating a 1.4% and 1.3% gain over the base model.
- UViT models use at least 44.9% fewer parameters than Swin Transformer under similar FLOPs, showing superior parameter efficiency.
- Ablation studies confirm that multiscale features and spatial reduction provide minimal benefit in ViT, while progressive windowing reduces computation with stable performance.
- The proposed compound scaling rule enables compact UViT variants (e.g., UViT-T with <40M parameters) that maintain strong accuracy on COCO benchmarks.
- The results demonstrate that the original ViT design philosophy—without CNN-inspired modifications—can serve as a powerful, simple baseline for dense vision tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.