AQ-DETR: Low-Bit Quantized Detection Transformer with Auxiliary Queries
DOI:
https://doi.org/10.1609/aaai.v38i14.29487Keywords:
ML: Learning on the Edge & Model Compression, CV: Object Detection & CategorizationAbstract
DEtection TRansformer (DETR)-based models have achieved remarkable performance. However, they are accompanied by a large computation overhead cost, which significantly prevents their applications on resource-limited devices. Prior arts attempt to reduce the computational burden of DETR using low-bit quantization, while these methods sacrifice a severe significant performance on weight-activation-attention low-bit quantization. We observe that the number of matching queries and positive samples affect much on the representation capacity of queries in DETR, while quantifying queries of DETR further reduces its representational capacity, thus leading to a severe performance drop. We introduce a new quantization strategy based on Auxiliary Queries for DETR (AQ-DETR), aiming to enhance the capacity of quantized queries. In addition, a layer-by-layer distillation is proposed to reduce the quantization error between quantized attention and full-precision counterpart. Through our extensive experiments on large-scale open datasets, the performance of the 4-bit quantization of DETR and Deformable DETR models is comparable to full-precision counterparts.Downloads
Published
2024-03-24
How to Cite
Wang, R., Sun, H., Yang, L., Lin, S., Liu, C., Gao, Y., Hu, Y., & Zhang, B. (2024). AQ-DETR: Low-Bit Quantized Detection Transformer with Auxiliary Queries. Proceedings of the AAAI Conference on Artificial Intelligence, 38(14), 15598-15606. https://doi.org/10.1609/aaai.v38i14.29487
Issue
Section
AAAI Technical Track on Machine Learning V