NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DECO: Unleashing the Potential of ConvNets for Query-based Detection and Segmentation

Xinghao Chen, Siwei Li, Yijing Yang, Yunhe Wang

TL;DR

DECO (Detection ConvNet) is a pioneering query-based object detection and segmentation framework built entirely with convolutional neural networks (ConvNets). By introducing a novel "InterConv" module to handle object queries, DECO successfully replaces the complex attention mechanisms of Transformers. It matches the performance of state-of-the-art Detection Transformers (DETR) while offering significantly higher inference speeds and better compatibility with standard AI hardware.

The Hardware Tax of Transformers

In recent years, the Detection Transformer (DETR) and its variants have dominated object detection. They introduced a "query-based" approach where a set of learnable "object queries" interacts with image features to predict objects directly, elegantly removing the need for hand-crafted components like Non-Maximum Suppression (NMS).

However, Transformers come with a "hardware tax." Their core mechanism—attention—relies on dynamic memory access, where weights are generated on the fly. Conversely, many specialized AI chips and mobile processors are optimized for the static memory access of ConvNets. While recent work (like ConvNeXt) proved that convolutions can match Transformer encoders, no prior method had successfully built a Transformer-style decoder—the part that handles queries—using only convolutions. This paper bridges that gap.

Methods: Introducing the InterConv Module

The authors propose DECO, an architecture that mirrors the DETR pipeline but swaps every Transformer component for a convolutional equivalent. The secret sauce is the InterConv mechanism, which handles two critical types of interactions:

Detailed comparison between the standard Transformer Attention module and the proposed InterConv module.
  1. Self-InterConv (SIM): In Transformers, queries "talk" to each other via self-attention. DECO achieves this by reshaping the 1D query tokens into a 2D feature map and applying large-kernel (9x9) depthwise convolutions. This allows each query to "see" its neighbors and reason about object relations without dynamic attention weights.
  2. Cross-InterConv (CIM): This replaces cross-attention, where queries look at image features. DECO upsamples the queries to match the image feature size, fuses them (usually via simple addition), and applies another large-kernel convolution to capture spatial context. Finally, it uses adaptive pooling to shrink the queries back to their original size.

Crucially, because convolutions are inherently sensitive to position, DECO eliminates the need for the positional encodings required by Transformers, further simplifying the architecture.

Datasets

The models were primarily trained and evaluated on the COCO 2017 benchmark, the gold standard for object detection and instance segmentation. To prove the design's versatility, the authors also applied it to the "Segment Anything" task, using the TinySAM baseline as a point of comparison for zero-shot instance segmentation.

Key Insights

  • Convolutions as "Local" Attention: The paper demonstrates that the global interaction of attention isn't strictly necessary for a decoder. Carefully designed large-kernel convolutions provide enough "receptive field" for object queries to interact effectively.
  • The Power of Reshaping: By treating a set of queries as a 2D grid rather than a 1D sequence, the authors unlock the ability to use standard, highly optimized 2D convolutional kernels.
  • Hardware-First Design: The move back to pure Convs isn't just about accuracy; it's about deployment. Convs have static memory access patterns, making them much easier to optimize for real-time applications on edge devices.

Key Results

DECO proves that you don't need Transformers to get "Transformer-like" results.

Performance comparison of DECO+ against state-of-the-art object detectors on the COCO benchmark.
  • Accuracy vs. Speed: Using a ResNet-50 backbone, DECO achieves 47.8% AP (Average Precision) on COCO at 34 FPS. For context, the original DETR achieved 39.5% AP at 28 FPS.
  • High-Speed Detection: A lightweight version using ResNet-18 hits 40.5% AP at 66 FPS, making it a highly viable candidate for real-time mobile detection.
  • Scaling Up: When paired with a ConvNeXt-B backbone, DECO+ reaches 50.6% AP, outperforming many complex Transformer-based detectors.
  • Segmentation: In the "Segment Anything" task, DECO-TinySAM achieved nearly identical performance to the original TinySAM (41.4% vs 41.9% AP) but reduced latency from 34ms to 29ms.

Limitations and Future Work

While DECO is highly efficient, the authors note a few areas for future exploration:

  • Multi-scale Complexity: To reach peak accuracy (DECO+), the model requires multi-scale feature fusion, which adds some architectural complexity compared to the "vanilla" version.
  • Advanced Training Tricks: Modern DETR variants use advanced techniques like "query denoising" and "look-forward" box refinement. Integrating these Transformer-born optimizations into the DECO framework could push performance even further.
  • Generalization: While it works well for detection and segmentation, it remains to be seen if this convolutional decoder approach can be extended to other "query-heavy" tasks like video tracking or multi-modal vision-language modeling.

Summary updated

BibTeX
@inproceedings{chen2025deco,
  author = {Xinghao Chen and Siwei Li and Yijing Yang and Yunhe Wang},
  title = {{DECO: Unleashing the Potential of ConvNets for Query-based Detection and Segmentation}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=TWRhLAN5rz},
}
Figure