Proceedings

OD-DETR: Online Distillation for Stabilizing Training of Detection Transformer

Download BibTeX Cite

Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence. Main Track. Pages 1443-1451.

https://doi.org/10.24963/ijcai.2024/160

Abstract

DEtection TRansformer (DETR) becomes a dominant paradigm, mainly due to its common architecture with high accuracy and no post-processing. However, DETR suffers from unstable training dynamics. It consumes more data and epochs to converge compared with CNN-based detectors. This paper aims to stabilize DETR training through the online distillation. It utilizes a teacher model, accumulated by Exponential Moving Average (EMA), and distills its knowledge into the online model in following three aspects. First, the matching relation between object queries and ground truth (GT) boxes in the teacher is employed to guide the student, so queries within the student are not only assigned labels based on their own predictions, but also refer to the matching results from the teacher. Second, the teacher's initial query is given to the online student, and its prediction is directly constrained by the corresponding output from the teacher. Finally, the object queries from teacher's different decoding stages are used to build the auxiliary groups to accelerate the convergence. For each GT, two queries with the least matching costs are selected into this extra group, and they predict the GT box and participate the optimization. Extensive experiments show that the proposed OD-DETR successfully stabilizes the training, and significantly increases the performance without bringing in more parameters.

  1. [Berthelot et al., 2019] David Berthelot, Nicholas Carlini, Ian Goodfellow, Nicolas Papernot, Avital Oliver, and Colin A Raffel. Mixmatch: A holistic approach to semi- supervised learning. Advances in neural information pro- cessing systems, 32:5050-5060, 2019.
  2. [Cai et al., 2023] Zhi Cai, Songtao Liu, Guodong Wang, Zheng Ge, Xiangyu Zhang, and Di Huang. Align-detr: Improving DETR with simple iou-aware BCE loss. CoRR, abs/2304.07527, 2023.
  3. [Carion et al., 2020] Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov, and Sergey Zagoruyko. End-to-end object detection with transformers. In Proceedings of the European conference on computer vision (ECCV), pages 213-229. Springer, 2020.
  4. [Caron et al., 2021] Mathilde Caron, Hugo Touvron, Is- han Misra, Herv'e J'egou, Julien Mairal, Piotr Bo- janowski, and Armand Joulin. Emerging properties in self-supervised vision transformers. 2021 IEEE/CVF In- ternational Conference on Computer Vision (ICCV), pages 9630-9640, 2021.
  5. [Chang et al., 2023] Jiahao Chang, Shuo Wang, Hai-Ming Xu, Zehui Chen, Chenhongyi Yang, and Feng Zhao. De- trdistill: A universal knowledge distillation framework for detr-families. In Proceedings of the IEEE/CVF interna- tional conference on computer vision, pages 6875-6885. IEEE, 2023.
  6. [Chen et al., 2017] Guobin Chen, Wongun Choi, Xiang Yu, Tony X. Han, and Manmohan Chandraker. Learning ef- ficient object detection models with knowledge distilla- tion. In Advances in neural information processing sys- tems, pages 742-751, 2017.
  7. [Chen et al., 2022a] Qiang Chen, Xiaokang Chen, Gang Zeng, and Jingdong Wang. Group DETR: fast training convergence with decoupled one-to-many label assign- ment. CoRR, abs/2207.13085, 2022.
  8. [Chen et al., 2022b] Xiaokang Chen, Jiahui Chen, Y. Liu, and Gang Zeng. D3etr: Decoder distillation for detection transformer. ArXiv, abs/2211.09768, 2022. IJCAI
  9. [Duan et al., 2019] Kaiwen Duan, Song Bai, Lingxi Xie, Honggang Qi, Qingming Huang, and Qi Tian. Centernet: Keypoint triplets for object detection. 2019 IEEE/CVF In- ternational Conference on Computer Vision (ICCV), pages 6568-6577, 2019.
  10. [Feng et al., 2021] Chengjian Feng, Yujie Zhong, Yu Gao, Matthew R. Scott, and Weilin Huang. TOOD: task- aligned one-stage object detection. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 3490-3499. IEEE, 2021.
  11. [Gao et al., 2021] Peng Gao, Minghang Zheng, Xiaogang Wang, Jifeng Dai, and Hongsheng Li. Fast convergence of DETR with spatially modulated co-attention. In Proceed- ings of the IEEE/CVF International Conference on Com- puter Vision, pages 3601-3610. IEEE, 2021.
  12. [Gidaris et al., 2020] Spyros Gidaris, Andrei Bursuc, Gilles Puy, Nikos Komodakis, Matthieu Cord, and Patrick Pérez. Obow: Online bag-of-visual-words generation for self- supervised learning. 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 6826-6836, 2020.
  13. [Girshick, 2015] Ross Girshick. Fast r-cnn. In Proceedings of the IEEE international conference on computer vision, pages 1440-1448, 2015.
  14. [Grill et al., 2020] Jean-Bastien Grill, Florian Strub, Flo- rent Altché, Corentin Tallec, Pierre Richemond, Elena Buchatskaya, Carl Doersch, Bernardo Avila Pires, Zhao- han Guo, Mohammad Gheshlaghi Azar, et al. Bootstrap your own latent-a new approach to self-supervised learn- ing. Advances in neural information processing systems, 33:21271-21284, 2020.
  15. [Jia et al., 2023] Ding Jia, Yuhui Yuan, Haodi He, Xiaopei Wu, Haojun Yu, Weihong Lin, Lei Sun, Chao Zhang, and Han Hu. Detrs with hybrid matching. In Proceedings of the IEEE/CVF CVPR, pages 19702-19712. IEEE, 2023.
  16. [Laine and Aila, 2017] Samuli Laine and Timo Aila. Tempo- ral ensembling for semi-supervised learning. In 5th Inter- national Conference on Learning Representations, ICLR 2017, Toulon, France, April, 2017, Conference Track Pro- ceedings. OpenReview.net, 2017.
  17. [Li et al., 2017] Quanquan Li, Shengying Jin, and Junjie Yan. Mimicking very efficient network for object detec- tion. In Proceedings of the IEEE/CVF CVPR, pages 7341- 7349, 2017.
  18. [Li et al., 2020] Xiang Li, Wenhai Wang, Lijun Wu, Shuo Chen, Xiaolin Hu, Jun Li, Jinhui Tang, and Jian Yang. Generalized focal loss: Learning qualified and distributed bounding boxes for dense object detection. Advances in Neural Information Processing Systems, 33:21002-21012, 2020.
  19. [Li et al., 2022] Feng Li, Hao Zhang, Shilong Liu, Jian Guo, Lionel M Ni, and Lei Zhang. Dn-detr: Accelerate detr training by introducing query denoising. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pat- tern Recognition, pages 13619-13627, 2022.
  20. [Lin et al., 2014] Tsung-Yi Lin, Michael Maire, Serge Be- longie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. Microsoft coco: Com- mon objects in context. In Proceedings of the European conference on computer vision (ECCV, pages 740-755. Springer, 2014.
  21. [Lin et al., 2017] Tsung-Yi Lin, Priya Goyal, Ross Girshick, Kaiming He, and Piotr Dollár. Focal loss for dense ob- ject detection. In Proceedings of the IEEE international conference on computer vision, pages 2980-2988, 2017.
  22. [Liu et al., 2016] Wei Liu, Dragomir Anguelov, Dumitru Er- han, Christian Szegedy, Scott Reed, Cheng-Yang Fu, and Alexander C Berg. Ssd: Single shot multibox detector. In Proceedings of the European conference on computer vision (ECCV), pages 21-37. Springer, 2016.
  23. [Liu et al., 2021] Yen-Cheng Liu, Chih-Yao Ma, Zijian He, Chia-Wen Kuo, Kan Chen, Peizhao Zhang, Bichen Wu, Zsolt Kira, and Peter Vajda. Unbiased teacher for semi- supervised object detection. In 9th International Con- ference on Learning Representations, ICLR 2021, Virtual Event, Austria, May, 2021. OpenReview.net, 2021.
  24. [Liu et al., 2022] Shilong Liu, Feng Li, Hao Zhang, Xiao Yang, Xianbiao Qi, Hang Su, Jun Zhu, and Lei Zhang. DAB-DETR: dynamic anchor boxes are better queries for DETR. In The Tenth International Conference on Learn- ing Representations, ICLR 2022, Virtual Event, April, 2022. OpenReview.net, 2022.
  25. [Liu et al., 2023] Shilong Liu, Tianhe Ren, Jiayu Chen, Zhaoyang Zeng, Hao Zhang, Feng Li, Hongyang Li, Jun Huang, Hang Su, Jun Zhu, and Lei Zhang. Detection transformer with stable matching. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 6468-6477. IEEE, 2023.
  26. [Meng et al., 2021] Depu Meng, Xiaokang Chen, Zejia Fan, Gang Zeng, Houqiang Li, Yuhui Yuan, Lei Sun, and Jing- dong Wang. Conditional DETR for fast training conver- gence. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 3631-3640. IEEE, 2021.
  27. [Ren et al., 2015] Shaoqing Ren, Kaiming He, Ross B. Gir- shick, and Jian Sun. Faster r-cnn: Towards real-time ob- ject detection with region proposal networks. IEEE Trans- actions on Pattern Analysis and Machine Intelligence, 39:1137-1149, 2015.
  28. [Sohn et al., 2020] Kihyuk Sohn, David Berthelot, Nicholas Carlini, Zizhao Zhang, Han Zhang, Colin A Raffel, Ekin Dogus Cubuk, Alexey Kurakin, and Chun-Liang Li. Fixmatch: Simplifying semi-supervised learning with con- sistency and confidence. Advances in neural information processing systems, 33:596-608, 2020.
  29. [Sun et al., 2020] Pei Sun, Rufeng Zhang, Yi Jiang, Tao Kong, Chenfeng Xu, Wei Zhan, Masayoshi Tomizuka, Lei Li, Zehuan Yuan, Changhu Wang, and Ping Luo. Sparse r-cnn: End-to-end object detection with learnable propos- als. 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 14449-14458, 2020.
  30. [Tang et al., 2021] Yihe Tang, Weifeng Chen, Yijun Luo, and Yuting Zhang. Humble teachers teach better students for semi-supervised object detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pat- tern Recognition, pages 3132-3141, 2021.
  31. [Tarvainen and Valpola, 2017] Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weight- averaged consistency targets improve semi-supervised deep learning results. Advances in neural information pro- cessing systems, 30:1195-1204, 2017.
  32. [Teng et al., 2023] Yao Teng, Haisong Liu, Sheng Guo, and Limin Wang. Stageinteractor: Query-based object detec- tor with cross-stage interaction. In IEEE/CVF Interna- tional Conference on Computer Vision, ICCV 2023, Paris, France, October, 2023, pages 6554-6565. IEEE, 2023.
  33. [Tian et al., 2019] Zhi Tian, Chunhua Shen, Hao Chen, and Tong He. Fcos: Fully convolutional one-stage object de- tection. In Proceedings of the IEEE/CVF international conference on computer vision, pages 9627-9636, 2019.
  34. [Wang et al., 2022] Yu Wang, Xin Li, Shengzhao Wen, Fu- En Yang, Wanping Zhang, Gang Zhang, Haocheng Feng, Junyu Han, and Errui Ding. Knowledge distillation for de- tection transformer with consistent distillation points sam- pling. ArXiv, abs/2211.08071, 2022.
  35. [Xu et al., 2021] Mengde Xu, Zheng Zhang, Han Hu, Jian- feng Wang, Lijuan Wang, Fangyun Wei, Xiang Bai, and Zicheng Liu. End-to-end semi-supervised object detection with soft teacher. In Proceedings of the IEEE/CVF In- ternational Conference on Computer Vision, pages 3060- 3069, 2021.
  36. [Yang et al., 2019] Ze Yang, Shaohui Liu, Han Hu, Liwei Wang, and Stephen Lin. Reppoints: Point set repre- sentation for object detection. 2019 IEEE/CVF Inter- national Conference on Computer Vision (ICCV), pages 9656-9665, 2019.
  37. [Yao et al., 2021] Zhuyu Yao, Jiangbo Ai, Boxun Li, and Chi Zhang. Efficient DETR: improving end-to-end object de- tector with dense prior. CoRR, abs/2104.01318, 2021.
  38. [Zhang et al., 2023] Hao Zhang, Feng Li, Shilong Liu, Lei Zhang, Hang Su, Jun Zhu, Lionel M. Ni, and Heung- Yeung Shum. DINO: DETR with improved denoising anchor boxes for end-to-end object detection. In The Eleventh International Conference on Learning Represen- tations, ICLR 2023, Kigali, Rwanda, May, 2023. OpenRe- view.net, 2023.
  39. [Zhao et al., 2023a] Jing Zhao, Li Sun, and Qingli Li. Re- cursivedet: End-to-end region-based recursive object de- tection. In IEEE/CVF International Conference on Com- puter Vision, ICCV 2023, Paris, France, October, 2023, pages 6284-6293, 2023.
  40. [Zhao et al., 2023b] Jing Zhao, Shengjian Wu, Li Sun, and Qingli Li. Iou-enhanced attention for end-to-end task spe- cific object detection. In Computer Vision -ACCV 2022, pages 124-141, Cham, 2023. Springer Nature Switzer- land.
  41. [Zhu et al., 2021] Xizhou Zhu, Weijie Su, Lewei Lu, Bin Li, Xiaogang Wang, and Jifeng Dai. Deformable DETR: deformable transformers for end-to-end object detection. In 9th International Conference on Learning Representa- tions, ICLR 2021, Virtual Event, Austria, May, 2021, 2021.
  42. [Zhu, 2005] Xiaojin Zhu. Semi-supervised learning litera- ture survey. world, 10:10, 2005.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards