Revisiting Token Pruning for Object Detection and Instance Segmentation (WACV 2024) @ailabRPG
Revisiting Token Pruning for Object Detection and Instance Segmentation (WACV 2024)  @ailabRPG
Uploaded January 2024 | Updated November 2026, 4 days ago
Vision Transformers (ViTs) have shown impressive performance in computer vision, but their high computational cost, quadratic in the number of tokens, limits their adoption in computation-constrained applications. However, this large number of tokens may not be necessary, as not all tokens are equally important. In this paper, we investigate token pruning to accelerate inference for object detection and instance segmentation, extending prior works from image classification. Through extensive experiments, we offer four insights for dense tasks: (i) tokens should not be completely pruned and discarded but rather preserved in the feature maps for later use. (ii) reactivating previously pruned tokens can further enhance model performance. (iii) a dynamic pruning rate based on images is better than a fixed pruning rate. (iv) a lightweight, 2-layer MLP can effectively prune tokens, achieving accuracy comparable with complex gating networks with a simpler design. We evaluate the impact of these design choices on COCO dataset and present a method integrating these insights that outperforms prior art token pruning models, significantly reducing performance drop from ~1.5 mAP to ~0.3 mAP for both boxes and masks. Compared to the dense counterpart that uses all tokens, our method achieves up to 34% faster inference speed for the whole network and 46% for the backbone.


Reference:

Y. Liu, M. Gehrig, N. Messikommer, M. Cannici, D. Scaramuzza
"Revisiting Token Pruning for Object Detection and Instance Segmentation"
IEEE Winter Conference on Applications of Computer Vision (WACV) 2024
PDF: https://rpg.ifi.uzh.ch/docs/WACV24_Liu.pdf
Code: github.com/uzh-rpg/svit

For more information about our research, visit http://rpg.ifi.uzh.ch/research_learning.html

All authors are with the Robotics and Perception Group, Dep. of Informatics, University of Zurich, Switzerland.
Revisiting Token Pruning for Object Detection and Instance Segmentation (WACV 2024)Differential Flatness of Quadrotor Dynamics Subject to Rotor Drag (ICRA18 Video Teaser)Geometry-aware Compensation Scheme for Morphing Drones (ICRA 2021 Video Pitch)Learning Monocular Dense Depth from Events (3DV 2020)Swiss Robotics Days 2022 (RSI LA1 05.11.2022)Monocular Event-Based Vision for Obstacle Avoidance with a Quadrotor (CoRL 2024)Geometry-aware Compensation Scheme for Morphing Drones (ICRA 2021)NeuroBEM: Hybrid Aerodynamic Quadrotor Model (RSS 2021)Agile Aerial Autonomy: Planning and Control (PhD Defense of Philipp Foehn)Augmenting Visual Place Recognition with Structural Cues (RAL/IROS 2020)Policy Search for Model Predictive Control with Application to Agile Drone Flight (T-RO 2021)Semi-Dense 3D Reconstruction with a Stereo Event Camera (ECCV18)
UZH Robotics and Perception Group |

Revisiting Token Pruning for Object Detection and Instance Segmentation (WACV 2024)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER