arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.17564cs.CV
收藏

用于高效Transformer目标跟踪的通用压缩框架

General Compression Framework for Efficient Transformer Object Tracking

Shanghai Key Lab of Intelligent Information Processing, College of Computer Science and Artificial Intelligence, Fudan University(上海智能信息处理关键实验室,计算机科学与人工智能学院,复旦大学);College of Intelligent Robotics and Advanced Manufacturing, Fudan University(智能机器人与先进制造学院,复旦大学);Lenovo Research(联想研究)

Lingyi Hong, Jinglun Li, Xinyu Zhou, Shilin Yan, Pinxue Guo, Kaixun Jiang, Zhaoyu Chen, Shuyong Gao, Runze Li, Xingdong Sheng, Wei Zhang, Hong Lu, Wenqiang Zhang

AI总结:

提出通用Transformer目标跟踪压缩框架CompressTracker,通过阶段划分与替换训练策略,在保持精度的同时减小模型并加速,实现2.42倍提速且保留约99%性能。

摘要:

先前的工作试图通过轻量级架构设计或从教师模型向紧凑学生跟踪器进行知识蒸馏来提高跟踪效率。然而,这些解决方案往往在很大程度上为了速度而牺牲准确性,并且存在训练过程复杂和结构限制的问题。因此,我们提出了一种用于高效Transformer目标跟踪的通用模型压缩框架,名为CompressTracker,旨在减小模型大小的同时保持跟踪精度。我们的方法采用了一种新颖的阶段划分策略,将教师模型的Transformer层划分为不同阶段,以打破模型结构的限制。此外,我们还设计了一种独特的替换训练技术,在训练过程中随机用教师模型中的对应阶段替换学生模型中的特定阶段,而不是孤立地训练学生模型。替换训练增强了学生模型复现教师模型行为的能力,并简化了训练过程。为了进一步促使学生模型模仿教师模型,我们引入了预测引导和逐阶段特征模仿,在教师模型的压缩过程中提供额外的监督。CompressTracker具有结构无关性,使其兼容任何Transformer架构。我们进行了一系列实验来验证CompressTracker的有效性和泛化能力。从SUTrack压缩得到的CompressTracker-SUTrack在LaSOT上保留了约99%的性能(72.2 AUC),同时实现了2.42倍的加速。代码可在https://github.com/LingyiHongfd/CompressTracker获取。

英文摘要:

Previous works have attempted to improve tracking efficiency through lightweight architecture design or knowledge distillation from teacher models to compact student trackers. However, these solutions often sacrifice accuracy for speed to a great extent, and also have the problems of complex training process and structural limitations. Thus, we propose a general model compression framework for efficient transformer object tracking, named CompressTracker, to reduce model size while preserving tracking accuracy. Our approach features a novel stage division strategy that segments the transformer layers of the teacher model into distinct stages to break the limitation of model structure. Additionally, we also design a unique replacement training technique that randomly substitutes specific stages in the student model with those from the teacher model, as opposed to training the student model in isolation. Replacement training enhances the student model's ability to replicate the teacher model's behavior and simplifies the training process. To further forcing student model to emulate teacher model, we incorporate prediction guidance and stage-wise feature mimicking to provide additional supervision during the teacher model's compression process. CompressTracker is structurally agnostic, making it compatible with any transformer architecture. We conduct a series of experiment to verify the effectiveness and generalizability of our CompressTracker. Our CompressTracker-SUTrack, compressed from SUTrack, retains about 99 performance on LaSOT (72.2 AUC) while achieves 2.42x speed up. Code is available at https://github.com/LingyiHongfd/CompressTracker.

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

↑