Abstract
Enabling large language models (LLMs) to read videos is vital for multimodal LLMs. Existing works show promise on short videos whereas long video comprehension remains challenging. The major problem lies in the over-compression of videos, where encoded representations are insufficient to represent the whole video. To address this, we propose Long Video Chat (LVChat), featuring Frame-Scalable Encoding (FSE) to dynamically adjust embeddings based on video duration and Interleaved Frame Encoding (IFE) to handle out-of-distribution video lengths. LVChat significantly outperforms existing methods by up to 27% in accuracy on long-video benchmarks.
Introduction
Current multimodal Large Language Models (LLMs) excel at processing short video clips but struggle significantly with long-form content (longer than one minute). The primary bottleneck is "over-compression": most architectures map a video to a fixed, small number of embeddings (e.g., 96 tokens) regardless of its length. This results in a loss of temporal detail as the video duration increases. Furthermore, simply increasing the token count often leads to performance degradation because the LLM encounters sequences longer than those seen during training, leading to out-of-distribution (OOD) errors.
Methodology
LVChat introduces two key mechanisms to overcome these limitations and bridge the gap between short and long video understanding:
Frame-Scalable Encoding (FSE)
FSE replaces the fixed-token bottleneck with a dynamic scaling approach. Instead of compressing the entire video into a static set of tokens, the video is segmented into clips. Every 16 frames are mapped to 96 embeddings. Consequently, the total number of embeddings scales linearly with the video duration ($[T/16] \times 96$). This ensures that the information density remains constant, preventing the loss of granular details in longer videos.
Interleaved Frame Encoding (IFE)
To handle videos that exceed the context lengths seen during training, IFE employs a repetition strategy for positional embeddings. By splitting the video into groups and interleaving them with repeated positional indices, the model can process extended visual sequences without triggering OOD errors in the LLM's attention mechanism. This allows the model to "see" the whole video while keeping positional indices within a range the model understands from its training.
Experimental Results
The model was evaluated using a Vicuna-7B backbone and UMT-L visual encoder across several challenging benchmarks:
- Extended MVBench: By augmenting standard clips with distractor footage to reach lengths of up to 600 seconds, the authors demonstrated that LVChat achieves a 27% improvement in accuracy over VideoChat2 on the longest tasks.
- TACoS & EgoSchema: On natural long-video datasets, LVChat showed superior performance in dense captioning and zero-shot question answering. Qualitative results show that while baselines provide generic summaries, LVChat tracks specific sequences, such as detailed cooking steps.
Conclusion
LVChat successfully addresses the over-compression problem in long video comprehension. By scaling visual representations dynamically through FSE and managing positional embeddings for long sequences via IFE, it sets a new state-of-the-art for long-form video understanding. Future work will focus on scaling to larger LLM backbones and developing higher-quality long-video instruction-tuning datasets to further enhance performance.
Summary updated