Unified Spatio-Temporal Token Scoring for Efficient Video VLMs
AI 摘要
提出了一种统一的时空Token评分模块STTS,用于高效的视频VLM的Token剪枝,提升计算效率。
主要贡献
- 提出STTS模块,统一剪枝ViT和LLM中的视觉tokens
- 引入辅助损失学习时间维度上的token重要性
- 利用LLM梯度学习空间维度上的token重要性
方法论
通过辅助损失和LLM梯度学习时空Token重要性,使用packing算法进行高效剪枝,并进行端到端训练。
原文摘要
Token pruning is essential for enhancing the computational efficiency of vision-language models (VLMs), particularly for video-based tasks where temporal redundancy is prevalent. Prior approaches typically prune tokens either (1) within the vision transformer (ViT) exclusively for unimodal perception tasks such as action recognition and object segmentation, without adapting to downstream vision-language tasks; or (2) only within the LLM while leaving the ViT output intact, often requiring complex text-conditioned token selection mechanisms. In this paper, we introduce Spatio-Temporal Token Scoring (STTS), a simple and lightweight module that prunes vision tokens across both the ViT and the LLM without text conditioning or token merging, and is fully compatible with end-to-end training. By learning how to score temporally via an auxiliary loss and spatially via LLM downstream gradients, aided by our efficient packing algorithm, STTS prunes 50% of vision tokens throughout the entire architecture, resulting in a 62% improvement in efficiency during both training and inference with only a 0.7% drop in average performance across 13 short and long video QA tasks. Efficiency gains increase with more sampled frames per video. Applying test-time scaling for long-video QA further yields performance gains of 0.5-1% compared to the baseline. Overall, STTS represents a novel, simple yet effective technique for unified, architecture-wide vision token pruning.