Q-DETR: An Efficient Low-Bit Quantized Detection Transformer
Sheng Xu, Yanjing Li, Mingbao Lin, Peng Gao, Guodong Guo, Jinhu Lü, Baochang Zhang
摘要
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 .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Outlier-aware Slicing for Post-Training Quantization in Vision Transformer 引用了 Learned Step Size quantization
- DN-DETR: Accelerate DETR Training by Introducing Query DeNoising 引用了 DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR
- DN-DETR: Accelerate DETR Training by Introducing Query DeNoising 引用了 Conditional DETR for Fast Training Convergence
- DN-DETR: Accelerate DETR Training by Introducing Query DeNoising 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
- DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR 引用了 Conditional DETR for Fast Training Convergence
- DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
- Retraining-free Model Quantization via One-Shot Weight-Coupling Learning 引用了 Learned Step Size quantization
- JAQ: Joint Efficient Architecture Design and Low-Bit Quantization with Hardware-Software Co-Exploration 引用了 Learned Step Size quantization
- Conditional DETR for Fast Training Convergence 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
- AQ-DETR: Low-Bit Quantized Detection Transformer with Auxiliary Queries 引用了 DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR
- AQ-DETR: Low-Bit Quantized Detection Transformer with Auxiliary Queries 引用了 Learned Step Size quantization
- AQ-DETR: Low-Bit Quantized Detection Transformer with Auxiliary Queries 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
引用它的顶会 Paper9
- Outlier-aware Slicing for Post-Training Quantization in Vision TransformerYuexiao Ma, Huixia Li, Xiawu Zheng, Feng Ling 等ICML 2024 · 17 次引用
- AQ-DETR: Low-Bit Quantized Detection Transformer with Auxiliary QueriesRunqi Wang, Huixin Sun, Linlin Yang, Shaohui Lin 等AAAI 2024 · 10 次引用
- Retraining-free Model Quantization via One-Shot Weight-Coupling LearningChen Tang, Yuan Meng, Jiacheng Jiang, Shuzhao Xie 等CVPR 2024 · 5 次引用
- JAQ: Joint Efficient Architecture Design and Low-Bit Quantization with Hardware-Software Co-ExplorationMingzi Wang, Yuan Meng, Chen Tang, Weixiang Zhang 等AAAI 2025 · 3 次引用
- Reg-PTQ: Regression-specialized Post-training Quantization for Fully Quantized Object DetectorYifu Ding, Weilun Feng, Chuyan Chen, Jinyang Guo 等CVPR 2024
它引用的 Paper14
- Deformable DETR: Deformable Transformers for End-to-End Object DetectionXizhou Zhu, Weijie Su, Lewei Lu, Bin Li 等ICLR 2021 · 7,353 次引用
- DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETRShilong Liu, Feng Li, Hao Zhang, Xiao Yang 等ICLR 2022 · 1,218 次引用
- Learned Step Size quantizationSteven K. Esser, Jeffrey L. McKinstry, Deepika Bablani, Rathinakumar Appuswamy 等ICLR 2020 · 1,037 次引用
- Conditional DETR for Fast Training ConvergenceDepu Meng, Xiaokang Chen, Zejia Fan, Gang Zeng 等ICCV 2021 · 974 次引用
- DN-DETR: Accelerate DETR Training by Introducing Query DeNoisingFeng Li, Hao Zhang, Shilong Liu, Jian Guo 等CVPR 2022 · 879 次引用
相关 Paper
- Q-ViT: Accurate and Fully Quantized Low-bit Vision TransformerYanjing Li, Sheng Xu, Baochang Zhang, Xianbin Cao 等NeurIPS 2022 · 185 次引用
- DETRDistill: A Universal Knowledge Distillation Framework for DETR-familiesJiahao Chang, Shuo Wang, Hai-Ming Xu, Zehui Chen 等ICCV 2023 · 53 次引用
- Quantized Feature Distillation for Network QuantizationKe Zhu, Yin-Yin He, Jianxin WuAAAI 2023 · 21 次引用
- KD-DETR: Knowledge Distillation for Detection Transformer with Consistent Distillation Points SamplingYu Wang, Xin Li, Shengzhao Weng, Gang Zhang 等CVPR 2024 · 17 次引用
- Quantized Spike-driven TransformerXuerui Qiu, Malu Zhang, Jieyuan Zhang, Wenjie Wei 等ICLR 2025
