Lune

CVPR2023Top-tier venue

Q-DETR: An Efficient Low-Bit Quantized Detection Transformer

Sheng Xu, Yanjing Li, Mingbao Lin, Peng Gao, Guodong Guo, Jinhu Lü, Baochang Zhang

Abstract

The recent detection transformer (DETR) has advanced object detection, but its application on resourceconstrained devices requires massive computation and memory resources. Quantization stands out as a solution by representing the network in low-bit parameters and operations. However, there is a significant performance drop when performing low-bit quantized DETR (Q-DETR) with existing quantization methods. We find that the bottlenecks of Q-DETR come from the query information distortion through our empirical analyses. This paper addresses this problem based on a distribution rectification distillation (DRD). We formulate our DRD as a bi-level optimization problem, which can be derived by generalizing the information bottleneck (IB) principle to the learning of Q-DETR. At the inner level, we conduct a distribution alignment for the queries to maximize the self-information entropy. At the upper level, we introduce a new foreground-aware query matching scheme to effectively transfer the teacher information to distillation-desired features to minimize the conditional information entropy. Extensive experimental results show that our method performs much better than prior arts. For example, the 4-bit Q-DETR can theoretically accelerate DETR with ResNet-50 backbone by 6.6× and achieve 39.4% AP, with only 2.6% performance gaps than its realvalued counterpart on the COCO dataset 1 .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Outlier-aware Slicing for Post-Training Quantization in Vision Transformer cites Learned Step Size quantization
  • DN-DETR: Accelerate DETR Training by Introducing Query DeNoising cites DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR
  • DN-DETR: Accelerate DETR Training by Introducing Query DeNoising cites Conditional DETR for Fast Training Convergence
  • DN-DETR: Accelerate DETR Training by Introducing Query DeNoising cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR cites Conditional DETR for Fast Training Convergence
  • DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • Retraining-free Model Quantization via One-Shot Weight-Coupling Learning cites Learned Step Size quantization
  • JAQ: Joint Efficient Architecture Design and Low-Bit Quantization with Hardware-Software Co-Exploration cites Learned Step Size quantization
  • Conditional DETR for Fast Training Convergence cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • AQ-DETR: Low-Bit Quantized Detection Transformer with Auxiliary Queries cites DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR
  • AQ-DETR: Low-Bit Quantized Detection Transformer with Auxiliary Queries cites Learned Step Size quantization
  • AQ-DETR: Low-Bit Quantized Detection Transformer with Auxiliary Queries cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Outlier-aware Slicing for Post-Training Quantization in Vision TransformerYuexiao Ma, Huixia Li, Xiawu Zheng, Feng Ling et al.ICML 2024 · 17 citations
  2. AQ-DETR: Low-Bit Quantized Detection Transformer with Auxiliary QueriesRunqi Wang, Huixin Sun, Linlin Yang, Shaohui Lin et al.AAAI 2024 · 10 citations
  3. Retraining-free Model Quantization via One-Shot Weight-Coupling LearningChen Tang, Yuan Meng, Jiacheng Jiang, Shuzhao Xie et al.CVPR 2024 · 5 citations
  4. JAQ: Joint Efficient Architecture Design and Low-Bit Quantization with Hardware-Software Co-ExplorationMingzi Wang, Yuan Meng, Chen Tang, Weixiang Zhang et al.AAAI 2025 · 3 citations
  5. Reg-PTQ: Regression-specialized Post-training Quantization for Fully Quantized Object DetectorYifu Ding, Weilun Feng, Chuyan Chen, Jinyang Guo et al.CVPR 2024

Builds on14

  1. Deformable DETR: Deformable Transformers for End-to-End Object DetectionXizhou Zhu, Weijie Su, Lewei Lu, Bin Li et al.ICLR 2021 · 7,353 citations
  2. DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETRShilong Liu, Feng Li, Hao Zhang, Xiao Yang et al.ICLR 2022 · 1,218 citations
  3. Learned Step Size quantizationSteven K. Esser, Jeffrey L. McKinstry, Deepika Bablani, Rathinakumar Appuswamy et al.ICLR 2020 · 1,037 citations
  4. Conditional DETR for Fast Training ConvergenceDepu Meng, Xiaokang Chen, Zejia Fan, Gang Zeng et al.ICCV 2021 · 974 citations
  5. DN-DETR: Accelerate DETR Training by Introducing Query DeNoisingFeng Li, Hao Zhang, Shilong Liu, Jian Guo et al.CVPR 2022 · 879 citations

Related papers

  1. Q-ViT: Accurate and Fully Quantized Low-bit Vision TransformerYanjing Li, Sheng Xu, Baochang Zhang, Xianbin Cao et al.NeurIPS 2022 · 185 citations
  2. DETRDistill: A Universal Knowledge Distillation Framework for DETR-familiesJiahao Chang, Shuo Wang, Hai-Ming Xu, Zehui Chen et al.ICCV 2023 · 53 citations
  3. Quantized Feature Distillation for Network QuantizationKe Zhu, Yin-Yin He, Jianxin WuAAAI 2023 · 21 citations
  4. KD-DETR: Knowledge Distillation for Detection Transformer with Consistent Distillation Points SamplingYu Wang, Xin Li, Shengzhao Weng, Gang Zhang et al.CVPR 2024 · 17 citations
  5. Quantized Spike-driven TransformerXuerui Qiu, Malu Zhang, Jieyuan Zhang, Wenjie Wei et al.ICLR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines