- Author
- Maxim Bonnaerens (UGent) , Matthias Freiberger (UGent) and Joni Dambre (UGent)
- Organization
- Project
- Abstract
- This paper proposes anchor pruning for object detection in one-stage anchor-based detectors. While pruning techniques are widely used to reduce the computational cost of convolutional neural networks, they tend to focus on optimizing the backbone networks where often most computations are. In this work we demonstrate an additional pruning technique, specifically for object detection: anchor pruning. With more efficient backbone networks and a growing trend of deploying object detectors on embedded systems where post-processing steps such as non-maximum suppression can be a bottleneck, the impact of the anchors used in the detection head is becoming increasingly more important. In this work, we show that many anchors in the object detection head can be removed without any loss in accuracy. With additional retraining, anchor pruning can even lead to improved accuracy. Extensive experiments on SSD and MS COCO show that the detection head can be made up to 44% more efficient while simultaneously increasing accuracy. Further experiments on RetinaNet and PASCAL VOC show the general effectiveness of our approach. We also introduce 'overanchorized' models that can be used together with anchor pruning to eliminate hyperparameters related to the initial shape of anchors. Code and models are available at https://github.com/Mxbonn/anchor_pruning.
- Keywords
- Object detection, Pruning, Real time
Downloads
-
DS535.pdf
- full text (Published version)
- |
- open access
- |
- |
- 1.61 MB
Citation
Please use this url to cite or link to this publication: http://hdl.handle.net/1854/LU-8760530
- MLA
- Bonnaerens, Maxim, et al. “Anchor Pruning for Object Detection.” COMPUTER VISION AND IMAGE UNDERSTANDING, vol. 221, 2022, doi:10.1016/j.cviu.2022.103445.
- APA
- Bonnaerens, M., Freiberger, M., & Dambre, J. (2022). Anchor pruning for object detection. COMPUTER VISION AND IMAGE UNDERSTANDING, 221. https://doi.org/10.1016/j.cviu.2022.103445
- Chicago author-date
- Bonnaerens, Maxim, Matthias Freiberger, and Joni Dambre. 2022. “Anchor Pruning for Object Detection.” COMPUTER VISION AND IMAGE UNDERSTANDING 221. https://doi.org/10.1016/j.cviu.2022.103445.
- Chicago author-date (all authors)
- Bonnaerens, Maxim, Matthias Freiberger, and Joni Dambre. 2022. “Anchor Pruning for Object Detection.” COMPUTER VISION AND IMAGE UNDERSTANDING 221. doi:10.1016/j.cviu.2022.103445.
- Vancouver
- 1.Bonnaerens M, Freiberger M, Dambre J. Anchor pruning for object detection. COMPUTER VISION AND IMAGE UNDERSTANDING. 2022;221.
- IEEE
- [1]M. Bonnaerens, M. Freiberger, and J. Dambre, “Anchor pruning for object detection,” COMPUTER VISION AND IMAGE UNDERSTANDING, vol. 221, 2022.
@article{8760530, abstract = {{This paper proposes anchor pruning for object detection in one-stage anchor-based detectors. While pruning techniques are widely used to reduce the computational cost of convolutional neural networks, they tend to focus on optimizing the backbone networks where often most computations are. In this work we demonstrate an additional pruning technique, specifically for object detection: anchor pruning. With more efficient backbone networks and a growing trend of deploying object detectors on embedded systems where post-processing steps such as non-maximum suppression can be a bottleneck, the impact of the anchors used in the detection head is becoming increasingly more important. In this work, we show that many anchors in the object detection head can be removed without any loss in accuracy. With additional retraining, anchor pruning can even lead to improved accuracy. Extensive experiments on SSD and MS COCO show that the detection head can be made up to 44% more efficient while simultaneously increasing accuracy. Further experiments on RetinaNet and PASCAL VOC show the general effectiveness of our approach. We also introduce 'overanchorized' models that can be used together with anchor pruning to eliminate hyperparameters related to the initial shape of anchors. Code and models are available at https://github.com/Mxbonn/anchor_pruning.}}, articleno = {{103445}}, author = {{Bonnaerens, Maxim and Freiberger, Matthias and Dambre, Joni}}, issn = {{1077-3142}}, journal = {{COMPUTER VISION AND IMAGE UNDERSTANDING}}, keywords = {{Object detection,Pruning,Real time}}, language = {{eng}}, pages = {{9}}, title = {{Anchor pruning for object detection}}, url = {{http://doi.org/10.1016/j.cviu.2022.103445}}, volume = {{221}}, year = {{2022}}, }
- Altmetric
- View in Altmetric
- Web of Science
- Times cited: