Queries Knew More Than We Thought: Uncovering Latent Knowledge in Segmentation Models
Not on the map. Why?
Abstract (arXiv)
Modern segmenters often fail after the expensive computation has already been done: a useful mask is present among the model's query-conditioned candidates, but the deployed selection rule does not expose it. We study this output-selection bottleneck in frozen DETR-family models. A ground-truth-only oracle first shows substantial hidden headroom in already-computed mask proposals. This raises a simple question: How can we better use the masks a segmenter has already computed but does not expose? We then ask whether that headroom can be recovered without adding queries, generating new masks, rerunning the backbone, or updating weights. HYDRA is a small selector trained only on cached frozen outputs. At inference time, it scores the cached candidates against an explicit keep-baseline option and acts only when a held-out calibrated margin indicates the selected candidate is sufficiently better. Trained on training-split caches and calibrated on held-out data, HYDRA improves Mask2Former, MaskDINO, and OneFormer by up to +7.41 dataset mIoU points on ADE20k and COCO, and improves SAM 3 by +9.4 class-macro prompt-IoU points on average across eight domains while preserving useful predictions through calibration. Paired LoRA controls show that lightweight weight adaptation does not remove the bottleneck: exposed predictions are often flat or worse, while routing over the adapted candidates still recovers accuracy. Finally, we connect the effect to query specialization under bipartite matching and verify it in a controlled TinyDETR study. These results show that frozen segmenters should be evaluated not only by the masks they expose, but also by the useful candidates they suppress.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 36 of its 50 references that are in the map. First posted on arXiv 30 Jul 2026.
Builds on
36 of 50 references.
References · 36
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2023Segment Anythingcited by 8,234
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2017On Calibration of Modern Neural Networkscited by 4,960
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,444
- 2023Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detectioncited by 3,332
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,351
- 2022Visual Prompt Tuningcited by 1,681
- 2022DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detectioncited by 1,319
- 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,069
- 2025SAM 3: Segment Anything with Conceptscited by 906
24 more
- 2016COCO-Stuff: Thing and Stuff Classes in Contextcited by 864
- 2022AdaptFormer: Adapting Vision Transformers for Scalable Visual Recognitioncited by 719
- 2022Mixture-of-Experts with Expert Choice Routingcited by 623
- 2022DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETRcited by 573
- 2022Continual Test-Time Domain Adaptationcited by 525
- 2022DN-DETR: Accelerate DETR Training by Introducing Query DeNoisingcited by 488
- 2017Soft-NMS -- Improving Object Detection With One Line of Codecited by 382
- 2023Segment Anything in High Qualitycited by 376
- 2022Mask DINO: Towards A Unified Transformer-based Framework for Object Detection and Segmentationcited by 344
- 2022OneFormer: One Transformer to Rule Universal Image Segmentationcited by 328
- 2022Scaling & Shifting Your Features: A New Baseline for Efficient Model Tuningcited by 294
- 2022Generalized Decoding for Pixel, Image, and Languagecited by 294
- 2019Mask Scoring R-CNNcited by 266
- 2021LoveDA: A Remote Sensing Land-Cover Dataset for Domain Adaptive Semantic Segmentationcited by 261
- 2023Personalize Segment Anything Model with One Shotcited by 250
- 2023From Sparse to Soft Mixtures of Expertscited by 248
- 2023Matcher: Segment Anything with One Shot Using All-Purpose Feature Matchingcited by 142
- 2021Large-scale Unsupervised Semantic Segmentationcited by 101
- 2023Rank-DETR for High Quality Object Detectioncited by 50
- 2024Frozen-DETR: Enhancing DETR with Image Understanding from Frozen Foundation Modelscited by 13
- 2023Cal-DETR: Calibrated Detection Transformercited by 11
- 2026PaQ-DETR: Learning Pattern and Quality-Aware Dynamic Queries for Object Detectioncited by 4
- 2020Empirical Upper Bound, Error Diagnosis and Invariance Analysis of Modern Object Detectorscited by 3
- 2026Revealing the Semantic Selection Gap in DINOv3 through Training-Free Few-Shot Segmentationcited by 3
Built on by
Not cited yet.