LVCHAT: Facilitating Long Video Comprehension
Yu Wang, Zeyuan Zhang, Julian McAuley, Zexue He
TL;DR
LVChat tackles long-video understanding for multimodal LLMs by introducing Frame-Scalable Encoding (FSE), which maps each video clip of $K$ frames into $N$ embeddings and forms $E_{FSE} \in \mathbb{R}^{(nN) \times d}$ with $n = \lceil T / K \rceil$, and Interleaved Frame Encoding (IFE), which uses a interleaving factor $\gamma$ to handle inputs longer than seen during training. The approach aligns video embeddings with the LLM's token space and fine-tunes the backbone on the scalable representations. Experiments on long-video QA and captioning show up to $27\%$ accuracy improvement over baselines on long videos and strong results on real-world datasets, demonstrating practical impact for long-form video understanding. This work provides a scalable blueprint for enabling robust long-video comprehension in multimodal LLMs and highlights promising directions for leveraging longer training data and larger models.
Abstract
Enabling large language models (LLMs) to read videos is vital for multimodal LLMs. Existing works show promise on short videos whereas long video (longer than e.g.~1 minute) comprehension remains challenging. The major problem lies in the over-compression of videos, i.e., the encoded video representations are not enough to represent the whole video. To address this issue, we propose Long Video Chat (LVChat), where Frame-Scalable Encoding (FSE) is introduced to dynamically adjust the number of embeddings in alignment with the duration of the video to ensure long videos are not overly compressed into a few embeddings. To deal with long videos whose length is beyond videos seen during training, we propose Interleaved Frame Encoding (IFE), repeating positional embedding and interleaving multiple groups of videos to enable long video input, avoiding performance degradation due to overly long videos. Experimental results show that LVChat significantly outperforms existing methods by up to 27\% in accuracy on long-video QA datasets and long-video captioning benchmarks. Our code is published at https://github.com/wangyu-ustc/LVChat.
