SimPLR: A Simple and Plain Transformer for Object Detection and Segmentation

Duy Kien Nguyen, Martin R. Oswald, Cees G. M. Snoek · Submission to ICLR 2024 · Withdrawn

Abstract

SimPLR (Simple and Plain Transformer) challenges the prevailing paradigm in computer vision which posits that complex hierarchical backbones and multi-scale feature pyramids are essential for high-performance object detection. By shifting multi-scale logic into a novel "scale-aware attention" mechanism, SimPLR enables the use of a standard, non-hierarchical Vision Transformer (ViT) backbone with a single-scale head. This architectural simplification achieves state-of-the-art accuracy across detection and segmentation tasks while being significantly faster and more scaling-efficient than traditional multi-scale architectures.

Introduction: The Complexity of Multi-Scale Detection

For years, the "gold standard" for detecting objects of varying sizes has been the use of multi-scale feature maps, often organized into feature pyramids. Whether using classical CNNs or modern hierarchical Transformers like Swin, researchers assumed that the architecture itself needed to be hierarchical—processing images at progressively lower resolutions—to capture both fine details and large objects.

However, these hierarchical designs come with significant costs: they are architecturally complex, harder to scale with massive self-supervised pre-training (like MAE), and often slower during inference. SimPLR proposes a "plain" detector that uses a standard, non-hierarchical ViT and a single-scale head without sacrificing the ability to handle different object scales.

Comparison of detection architectures: traditional plain-backbone with pyramids, hierarchical end-to-end detection, and the proposed SimPLR.

Methods: Moving Scale to Attention

The core innovation of SimPLR is moving the multi-scale inductive bias out of the network's backbone and into its attention mechanism.

Plain Backbone & Head

Unlike models that produce a pyramid of features, SimPLR uses a standard ViT backbone and a detection head that operates on a single, fixed-resolution feature map. This decoupling allows the model to benefit from the scaling properties of plain Transformers while maintaining high-resolution inputs for detection without quadratic memory explosion.

Adaptive-Scale Attention

This is the central technical contribution. Instead of looking at multiple feature maps, each attention head in the transformer is assigned "anchors" of different scales.

  • Fixed-Scale: Attention heads are distributed across scales in a round-robin fashion.
  • Adaptive-Scale: The model learns to dynamically allocate attention heads based on the image content. For example, a query representing a small object will automatically "choose" more heads focused on fine-grained, local details.
The Adaptive-Scale Attention mechanism, where queries dynamically aggregate information across multiple learned scales.

Masked Instance-Attention

For segmentation tasks, SimPLR employs a sparse attention mechanism that uses mask predictions from previous layers to focus the attention computation. This improves both efficiency and the model's ability to capture the precise shapes of complex objects.

Key Insights and Results

SimPLR demonstrates that "simple" doesn't mean "weak." By allowing the attention mechanism to reason about scale, the rest of the architecture can remain "plain" and efficient.

  • Scaling Efficiency: Plain architectures like ViT scale much better than hierarchical ones. As models grow from "Base" to "Huge," SimPLR’s performance climbs more steeply than its hierarchical competitors.
  • Speed: SimPLR is roughly 40% faster than comparable multi-scale end-to-end detectors (reaching 17 FPS vs. 12 FPS for models like BoxeR or DeformableDETR).
  • Accuracy: On COCO, SimPLR (with a ViT-Huge backbone) achieves 59.8 AP, outperforming the hierarchical ViTDet. In panoptic segmentation, it is 2x faster than Mask2Former while providing higher accuracy.

Limitations and Future Work

While highly effective, SimPLR still faces challenges in perfectly segmenting extremely large objects, suggesting a need for more sophisticated combinations of global and local information. Additionally, while the adaptive-scale attention learns scale information, it still relies on pre-defined anchor scales. Future work could explore architectures that learn scale equivariance entirely from scratch without any anchor-based priors.

Summary updated

BibTeX
@misc{nguyen2023simplr,
  author = {Duy Kien Nguyen and Martin R. Oswald and Cees G. M. Snoek},
  title = {{SimPLR: A Simple and Plain Transformer for Object Detection and Segmentation}},
  year = {2023},
  eprint = {2310.05920},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.05920},
}
Figure