arXiv:2412.08646cs.CV2024-12被引 21

让大模型实时理解流式视频,边看边答不滞后

StreamChat: Chatting with Streaming Video

  • 每步解码时动态更新视觉上下文,保持信息实时性
  • 在视频问答任务中表现优于现有模型,尤其在流式场景
  • 适合需要实时交互的视频理解应用,如直播分析

本文提出StreamChat,一种增强大型多模态模型(LMMs)对流式视频内容交互能力的新方法。在流式交互场景中,现有方法仅依赖提问时刻的视觉信息,导致模型无法感知后续视频变化,产生显著延迟。StreamChat通过在每个解码步骤动态更新视觉上下文,确保模型在整个生成过程中使用最新视频内容。此外,我们设计了一种基于交叉注意力的灵活高效架构,处理动态流式输入的同时保持推理效率。还构建了一个新的密集指令数据集以支持流式交互模型训练,并引入并行3D-RoPE机制,编码视觉与文本标记间的相对时间信息。实验表明,StreamChat在既有图像和视频基准上表现具有竞争力,在流式交互场景中相比当前最优视频LMM展现出更优性能。

原文摘要 · Abstract (English)

This paper presents StreamChat, a novel approach that enhances the interaction capabilities of Large Multimodal Models (LMMs) with streaming video content. In streaming interaction scenarios, existing methods rely solely on visual information available at the moment a question is posed, resulting in significant delays as the model remains unaware of subsequent changes in the streaming video. StreamChat addresses this limitation by innovatively updating the visual context at each decoding step, ensuring that the model utilizes up-to-date video content throughout the decoding process. Additionally, we introduce a flexible and efficient crossattention-based architecture to process dynamic streaming inputs while maintaining inference efficiency for streaming interactions. Furthermore, we construct a new dense instruction dataset to facilitate the training of streaming interaction models, complemented by a parallel 3D-RoPE mechanism that encodes the relative temporal information of visual and text tokens. Experimental results demonstrate that StreamChat achieves competitive performance on established image and video benchmarks and exhibits superior capabilities in streaming interaction scenarios compared to state-of-the-art video LMM.

多模态流式视频实时交互

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。