Transformers are widely adopted in modern vision models due to their strong ability to scale with dataset size and generalisability. However, this comes with a major drawback: computation scales quadratically to the total number of tokens. Numerous methods have been proposed to mitigate this. For example, we consider token pruning with reactivating tokens from preserved representations, but the increased computational efficiency of this method results in decreased stability from the preserved representations, leading to poorer dense prediction performance at deeper layers. In this work, we introduce Reg4Pru, a training regularisation technique that mitigates token-pruning performance loss for segmentation. We compare our models on the FIVES blood vessel segmentation dataset and find that Reg4Pru improves average precision by an absolute 46% compared to the same model trained without routing. This increase is observed using a configuration that achieves a 29% relative speedup in wall-clock time compared to the non-pruned baseline. These findings indicate that Reg4Pru is a valuable regulariser for token reduction strategies.
Alternating Gradient Flow Utility: A Unified Metric for Structural Pruning and Dynamic Routing in Deep Networks
School of Mathematics, Southeast University(东南大学数学学院);Systems Research Institute of the Polish Academy of Sciences(波兰科学院系统研究所);School of Cyber Science & Engineering, Southeast University(东南大学网络科学与工程学院);Institute of Computer Science, AGH University of Krakow(克拉科夫AGH大学计算机科学学院);SAN University(SAN大学)
School of Computer Science and Engineering, University of Electronic Science and Technology of China(电子科技大学计算机科学与工程学院);Department of Computer Science and Engineering, Indian Institute of Technology, Delhi(印度理工学院德里分校计算机科学与工程系);School of Robotics and Advanced Manufacture, Harbin Institute of Technology(哈尔滨工业大学机器人与先进制造学院)
ActVAR: Activating Mixtures of Weights and Tokens for Efficient Visual Autoregressive Generation
School of Computer Science and Engineering, Central South University(中南大学计算机科学与工程学院);University of Electronic Science and Technology of China(电子科技大学);School of Computer Science, Peking University(北京大学计算机科学学院);SenseTime Research(商汤科技研究院);Shanghai Jiao Tong University(上海交通大学)