arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2412.12496cs.CVcs.AI
收藏

通过合并令牌再训练在数分钟内重建更快的Vision Mamba

Faster Vision Mamba is Rebuilt in Minutes via Merged Token Re-training

National University of Singapore(新加坡国立大学);Sichuan University(四川大学);Shanghai Jiao Tong University(上海交通大学);Shenzhen University of Technology(深圳理工大学)

Mingjia Shi, Yuhao Zhou, Ruiji Yu, Zekai Li, Zhiyuan Liang, Xuanlei Zhao, Xiaojiang Peng, Shanmukha Ramakrishna Vedantam, Wangbo Zhao, Kai Wang, Yang You

AI总结:

针对Vision Mamba效率提升问题,提出R-MeeTo框架,通过令牌合并后快速再训练,实现分钟级重建,恢复剪枝精度损失,如Vim-Ti经3轮训练精度飙升35.9%,Vim-S推理提速1.2倍且精度仅降1.3%。

摘要:

Vision Mamba在计算机视觉任务上展现出接近最先进的性能,这引发了提升其效率的浓厚兴趣。一种有前景的方法是令牌缩减(已在ViTs中成功实现)。在Mamba中剪枝信息令牌会导致关键知识的大量丢失和性能下降。另一种替代方案——合并令牌,比剪枝保留更多信息,但在高压缩比下同样表现不佳。我们的核心见解是,在令牌合并后进行一轮快速再训练,能在各种压缩比下产生稳健的结果。实验表明,剪枝后的Vims在ImageNet-1K上的精度下降最多不超过0.9%,而我们提出的框架R-MeeTo在主要评估中恢复了这一精度。我们展示了如何在分钟级别实现快速恢复,特别是在Vim-Ti上经过3个训练周期后,精度飙升了35.9%。此外,Vim-Ti/S/B的再训练时间分别在5/7/17分钟内,且Vim-S仅下降1.3%的精度,推理速度提升了1.2倍(最高达1.5倍)。

英文摘要:

Vision Mamba has shown close to state of the art performance on computer vision tasks, drawing much interest in increasing it's efficiency. A promising approach is token reduction (that has been successfully implemented in ViTs). Pruning informative tokens in Mamba leads to a high loss of key knowledge and degraded performance. An alternative, of merging tokens preserves more information than pruning, also suffers for large compression ratios. Our key insight is that a quick round of retraining after token merging yeilds robust results across various compression ratios. Empirically, pruned Vims only drop up to 0.9% accuracy on ImageNet-1K, recovered by our proposed framework R-MeeTo in our main evaluation. We show how simple and effective the fast recovery can be achieved at minute-level, in particular, a 35.9% accuracy spike over 3 epochs of training on Vim-Ti. Moreover, Vim-Ti/S/B are re-trained within 5/7/17 minutes, and Vim-S only drops 1.3% with 1.2x (up to 1.5x) speed up in inference.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑