← Back to research

German Conference on Pattern Recognition (GCPR) 2026

MixMatchDet: Mixing and Matching Tokens for Plain ViT Detectors

David Rohrschneider, Anselm Haselhoff, Uwe Handmann

Object DetectionVision Transformers

Qualitative COCO detections of MixMatchDet with DINOv2-S and DINOv3-S backbones
Qualitative results on COCO with DINOv2-S (top) and DINOv3-S (bottom) backbones.

Modern DETRs achieve strong performance through encoder–decoder architectures, multi-scale features and specialized attention mechanisms. As recent work explores simpler variants by reducing detector-specific components and leveraging pretrained ViT backbones, it becomes important to understand which detection-relevant information is already available within the encoded image representation. Early encoder-only approaches such as YOLOS provide a simple way to study this question, but predict only from learned detection ([DET]) tokens, which converge slowly and struggle with small objects.

We therefore introduce MixMatchDet, an encoder-only detector built on DINOv2 and DINOv3 backbones. It uses sequence packing for efficient native-aspect-ratio processing and supplements learned [DET] candidates with spatially anchored patch-token candidates, creating a mixed candidate pool from which object hypotheses are derived. To analyze and control how supervision is distributed between both candidate types, we evaluate scale-aware matching policies that restrict candidate–target assignments by object size.

On COCO, MixMatchDet improves a YOLOS-style DINOv2-S baseline from 36.9 to 42.0 AP and scales to 55.2 AP with DINOv3-L. Beyond accuracy, the analysis reveals a clear assignment pattern: patch-token candidates dominate overall and are especially important for small objects, while useful [DET] token participation is backbone-dependent. DINOv2 benefits when larger objects are assigned to [DET] candidates, whereas DINOv3 relies predominantly on patch-derived candidates across object sizes.

Accepted at GCPR 2026; to appear in Springer Lecture Notes in Computer Science (2027). Code will be released.