TimeViper:一种用于高效长视频理解的混合 Mamba-Transformer 视觉语言模型
TimeViper: A Hybrid Mamba-Transformer Vision-Language Model for Efficient Long Video Understanding
TimeViper 的混合 Mamba-Transformer 骨干与 TransV 词元压缩模块,为视觉语言模型处理长视频提供了一种降低推理成本且保持多模态理解能力的可复用架构思路。
原文依据 we propose TransV, a token information transfer module that transfers and compresses vision tokens into instruction tokens
摘要译文
由模型翻译 · 术语统一 · 请对照原文核对关键结论我们提出 TimeViper,一种混合视觉语言模型,旨在应对长视频理解的挑战。处理长视频既需要高效的模型架构,也需要有效处理扩展时序上下文的机制。为此,TimeViper 采用混合 Mamba-Transformer 骨干网络,将状态空间模型的效率与注意力机制的表达能力相结合。通过这种混合设计,我们揭示了视觉到文本的信息聚合现象:随着 LLM 深度增加,信息从视觉词元逐步流向文本词元,导致严重的视觉词元冗余。受此观察启发,我们提出 TransV,一种词元信息传递模块,在保持多模态理解能力的同时,将视觉词元传递并压缩为指令词元。该设计使 TimeViper 能够处理时长超过一小时、帧数达数千的视频。在多个基准上的大量实验表明,TimeViper 在降低推理成本的同时,可与最优模型相竞争。我们进一步分析了 Mamba 层和 Transformer 层的注意力行为,为混合模型的可解释性提供了新见解。这项工作代表了在开发、解释和压缩混合 Mamba-Transformer 架构方面迈出的第一步。
英文原文摘要 1359 字符
We introduce TimeViper, a hybrid vision-language model designed to tackle challenges of long video understanding. Processing long videos demands both an efficient model architecture and an effective mechanism for handling extended temporal contexts. To this end, TimeViper adopts a hybrid Mamba-Transformer backbone that combines the efficiency of state-space models with the expressivity of attention mechanisms. Through this hybrid design, we reveal the vision-to-text information aggregation phenomenon, where information progressively flows from vision tokens to text tokens across increasing LLM depth, resulting in severe vision token redundancy. Motivated by this observation, we propose TransV, a token information transfer module that transfers and compresses vision tokens into instruction tokens while maintaining multimodal understanding capabilities. This design enables TimeViper to process hour-long videos exceeding thousands of frames. Extensive experiments across multiple benchmarks demonstrate that TimeViper competes with state-of-the-art models while reducing inference cost. We further analyze attention behaviors of both Mamba and Transformer layers, offering new insights into hybrid model interpretability. This work represents an initial step towards developing, interpreting, and compressing hybrid Mamba-Transformer architectures.