HaltingVT: Adaptive Token Halting Transformer for Efficient Video Recognition
Qian Wu, Ruoxuan Cui, Yuke Li, Haoqi Zhu
TL;DR
HaltingVT tackles the high computational cost of Joint Space-Time video transformers by applying data-dependent token halting to reduce tokens layer-by-layer. It introduces the Glimpser module for fast shallow-layer pruning and a Motion Loss to emphasize motion cues, all trained end-to-end without extra policy networks. The approach yields strong efficiency-accuracy trade-offs on Mini-Kinetics and ActivityNet, achieving up to 75% top-1 accuracy with relatively low GFLOPs and substantial reductions at very low costs, while preserving or improving accuracy. This work demonstrates that dynamic token reduction, when guided by motion and early pruning, can make high-capacity video transformers practical for large-scale video understanding tasks.
Abstract
Action recognition in videos poses a challenge due to its high computational cost, especially for Joint Space-Time video transformers (Joint VT). Despite their effectiveness, the excessive number of tokens in such architectures significantly limits their efficiency. In this paper, we propose HaltingVT, an efficient video transformer adaptively removing redundant video patch tokens, which is primarily composed of a Joint VT and a Glimpser module. Specifically, HaltingVT applies data-adaptive token reduction at each layer, resulting in a significant reduction in the overall computational cost. Besides, the Glimpser module quickly removes redundant tokens in shallow transformer layers, which may even be misleading for video recognition tasks based on our observations. To further encourage HaltingVT to focus on the key motion-related information in videos, we design an effective Motion Loss during training. HaltingVT acquires video analysis capabilities and token halting compression strategies simultaneously in a unified training process, without requiring additional training procedures or sub-networks. On the Mini-Kinetics dataset, we achieved 75.0% top-1 ACC with 24.2 GFLOPs, as well as 67.2% top-1 ACC with an extremely low 9.9 GFLOPs. The code is available at https://github.com/dun-research/HaltingVT.
