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

VLTP:面向任务的分割中视觉-语言引导的Token剪枝

VLTP: Vision-Language Guided Token Pruning for Task-Oriented Segmentation

University of California, Irvine(加州大学欧文分校);Texas A&M University(德克萨斯农工大学);United States Military Academy(美国陆军军官学校(西点军校));Cisco(思科公司)

Hanning Chen, Yang Ni, Wenjun Huang, Yezi Liu, SungHeon Jeong, Fei Wen, Nathaniel Bastian, Hugo Latapie, Mohsen Imani

AI总结:

针对面向任务的分割(TOS)中ViT计算成本高的问题,提出VLTP机制,通过视觉-语言引导的剪枝解码器筛选任务相关Token,在不损失性能或仅损失1%性能时分别降低25%或40%计算成本。

摘要:

视觉Transformer(ViTs)已成为许多分割模型的骨干网络,持续取得最先进(SOTA)性能。然而,其成功伴随着巨大的计算成本。图像Token剪枝是解决这一复杂性的最有效策略之一。但此前的方法应用于更复杂的面向任务的分割(TOS)时存在不足,因为TOS中每个图像块的类别并非预定义,而是取决于特定的输入任务。本研究提出视觉-语言引导的Token剪枝(VLTP),这是一种新型Token剪枝机制,可加速基于ViT的分割模型,尤其适用于多模态大语言模型(MLLM)引导的TOS。我们认为ViT无需通过所有层处理每个图像Token——仅需处理与推理任务相关的Token。我们设计了一种新的剪枝解码器,以图像Token和视觉-语言引导作为输入,预测每个图像Token与任务的相关性。仅将相关性高的图像Token传递到ViT的更深层。实验表明,VLTP框架在不降低性能的情况下将ViT的计算成本降低约25%,在仅损失1%性能的情况下降低约40%。本研究的相关代码可在此URL获取。

英文摘要:

Vision Transformers (ViTs) have emerged as the backbone of many segmentation models, consistently achieving state-of-the-art (SOTA) performance. However, their success comes at a significant computational cost. Image token pruning is one of the most effective strategies to address this complexity. However, previous approaches fall short when applied to more complex task-oriented segmentation (TOS), where the class of each image patch is not predefined but dependent on the specific input task. This work introduces the Vision Language Guided Token Pruning (VLTP), a novel token pruning mechanism that can accelerate ViT-based segmentation models, particularly for TOS guided by multi-modal large language model (MLLM). We argue that ViT does not need to process every image token through all of its layers -- only the tokens related to reasoning tasks are necessary. We design a new pruning decoder to take both image tokens and vision-language guidance as input to predict the relevance of each image token to the task. Only image tokens with high relevance are passed to deeper layers of the ViT. Experiments show that the VLTP framework reduces the computational costs of ViT by approximately 25% without performance degradation and by around 40% with only a 1% performance drop. The code associated with this study can be found at this URL.

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

↑