mlsanityData to 14 Oct 2026

Knowledge Distillation via Query Selection for Detection Transformer

arXiv 2409.06443 ↗First posted 10 Sep 2024cs.CVcited by 5

On the map: Knowledge distillation → Detection and dense prediction distillation

Abstract (arXiv)

Transformers have revolutionized the object detection landscape by introducing DETRs, acclaimed for their simplicity and efficacy. Despite their advantages, the substantial size of these models poses significant challenges for practical deployment, particularly in resource-constrained environments. This paper addresses the challenge of compressing DETR by leveraging knowledge distillation, a technique that holds promise for maintaining model performance while reducing size. A critical aspect of DETRs' performance is their reliance on queries to interpret object representations accurately. Traditional distillation methods often focus exclusively on positive queries, identified through bipartite matching, neglecting the rich information present in hard-negative queries. Our visual analysis indicates that hard-negative queries, focusing on foreground elements, are crucial for enhancing distillation outcomes. To this end, we introduce a novel Group Query Selection strategy, which diverges from traditional query selection in DETR distillation by segmenting queries based on their Generalized Intersection over Union (GIoU) with ground truth objects, thereby uncovering valuable hard-negative queries for distillation. Furthermore, we present the Knowledge Distillation via Query Selection for DETR (QSKD) framework, which incorporates Attention-Guided Feature Distillation (AGFD) and Local Alignment Prediction Distillation (LAPD). These components optimize the distillation process by focusing on the most informative aspects of the teacher model's intermediate features and output. Our comprehensive experimental evaluation of the MS-COCO dataset demonstrates the effectiveness of our approach, significantly improving average precision (AP) across various DETR architectures without incurring substantial computational costs. Specifically, the AP of Conditional DETR ResNet-18 increased from 35.8 to 39.9.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Detection and dense prediction distillation, one of 12 directions in Knowledge distillation. Builds on 29 of its 46 references that are in the map. First posted on arXiv 10 Sep 2024.

Builds on

29 of 46 references.

Closest ancestors · 7

Same direction, newest first

  1. 2022Structural Knowledge Distillation for Object Detection23 Nov
  2. 2022DETRDistill: A Universal Knowledge Distillation Framework for DETR-families17 Nov
  3. 2022HEAD: HEtero-Assists Distillation for Heterogeneous Object Detectors12 Jul
  4. 2021Knowledge Distillation for Object Detection via Rank Mimicking and Prediction-guided Feature Imitation9 Dec
  5. 2021Focal and Global Knowledge Distillation for Detectors23 Nov
  6. 2021Instance-Conditional Knowledge Distillation for Object Detection25 Oct
  7. 2021Distilling Object Detectors via Decoupled Features26 Mar

Other references · 22

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  3. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  5. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
  6. 2020End-to-End Object Detection with Transformerscited by 7,414
  7. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
  8. 2014FitNets: Hints for Thin Deep Netscited by 1,653
  9. 2019FCOS: Fully Convolutional One-Stage Object Detectioncited by 1,577
  10. 2019Relational Knowledge Distillationcited by 889
  11. 2022DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETRcited by 573
  12. 2022DN-DETR: Accelerate DETR Training by Introducing Query DeNoisingcited by 488
10 more
  1. 2021Conditional DETR for Fast Training Convergencecited by 424
  2. 2022DETRs with Collaborative Hybrid Assignments Trainingcited by 274
  3. 2019Distilling Object Detectors with Fine-grained Feature Imitationcited by 189
  4. 2022Group DETR: Fast DETR Training with Group-Wise One-to-Many Assignmentcited by 98
  5. 2022AdaMixer: A Fast-Converging Query-Based Object Detectorcited by 79
  6. 2021Distilling Object Detectors with Feature Richnesscited by 38
  7. 2020Distilling Object Detectors with Task Adaptive Regularizationcited by 36
  8. 2023Robust Table Structure Recognition with Dynamic Queries Enhanced Detection Transformercited by 12
  9. 2023Faster OreFSDet : A Lightweight and Effective Few-shot Object Detector for Ore Imagescited by 2
  10. 2023A Multi-Modal Transformer Network for Action Detectioncited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 3.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2022KD-DETR: Knowledge Distillation for Detection Transformer with Consistent Distillation Points Sampling
  2. 2025SO-DETR: Leveraging Dual-Domain Features and Knowledge Distillation for Small Object Detection
  3. 2022D3ETR: Decoder Distillation for Detection Transformer
  4. 2024Dynamic Object Queries for Transformer-based Incremental Object Detection
  5. 2023Q-DETR: An Efficient Low-Bit Quantized Detection Transformer
  6. 2025Index-Aligned Query Distillation for Transformer-based Incremental Object Detection
  7. 2021G-DetKD: Towards General Distillation Framework for Object Detectors via Contrastive and Semantic-guided Feature Imitation
  8. 2024Mr. DETR++: Instructive Multi-Route Training for Detection Transformers with Mixture-of-Experts