Chat-UniVi:统一视觉表征赋予大型语言模型图像与视频理解能力
Chat-UniVi: Unified Visual Representation Empowers Large Language Models with Image and Video Understanding
AI总结:
本文提出 Chat-UniVi,用动态视觉令牌和多尺度统一表征同时建模图像空间细节与视频时序关系,在图文/视频混合数据上训练,无需修改即可跨媒介对话并超越专用方法。
摘要:
大型语言模型已在各种开放式任务中展现出令人瞩目的通用能力,并将其用途扩展到多模态对话。然而,现有方法在有效同时处理图像和视频理解方面面临挑战,尤其是在视觉令牌数量有限的情况下。在本研究中,我们提出 Chat-UniVi,这是一个统一视觉-语言模型,能够通过统一视觉表征理解并参与涉及图像和视频的对话。具体而言,我们采用一组动态视觉令牌来统一表示图像和视频。该表征框架使模型能够高效利用有限数量的视觉令牌,同时捕捉图像所需的空间细节以及视频所需的全面时序关系。此外,我们利用多尺度表征,使模型既能感知高层语义概念,又能感知低层视觉细节。值得注意的是,Chat-UniVi 在同时包含图像和视频的混合数据集上进行训练,因此无需任何修改即可直接应用于涉及这两种媒介的任务。大量实验结果表明,Chat-UniVi 甚至持续优于现有仅为图像或仅为视频设计的方法。代码可在 https://github.com/PKU-YuanGroup/Chat-UniVi 获取。
英文摘要:
Large language models have demonstrated impressive universal capabilities across a wide range of open-ended tasks and have extended their utility to encompass multimodal conversations. However, existing methods encounter challenges in effectively handling both image and video understanding, particularly with limited visual tokens. In this work, we introduce Chat-UniVi, a Unified Vision-language model capable of comprehending and engaging in conversations involving images and videos through a unified visual representation. Specifically, we employ a set of dynamic visual tokens to uniformly represent images and videos. This representation framework empowers the model to efficiently utilize a limited number of visual tokens to simultaneously capture the spatial details necessary for images and the comprehensive temporal relationship required for videos. Moreover, we leverage a multi-scale representation, enabling the model to perceive both high-level semantic concepts and low-level visual details. Notably, Chat-UniVi is trained on a mixed dataset containing both images and videos, allowing direct application to tasks involving both mediums without requiring any modifications. Extensive experimental results demonstrate that Chat-UniVi consistently outperforms even existing methods exclusively designed for either images or videos. Code is available at https://github.com/PKU-YuanGroup/Chat-UniVi.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。