Visual Context Window Extension: A New Perspective for Long Video Understanding
Hongchen Wei, Zhenzhong Chen
Abstract
Large Multimodal Models (LMMs) have demonstrated impressive performance in short video understanding tasks but face great challenges when applied to long video understanding. In contrast, Large Language Models (LLMs) exhibit outstanding capabilities in modeling long texts. Existing work attempts to address this issue by introducing long video-text pairs during training. However, these approaches require substantial computational and data resources. In this paper, we tackle the challenge of long video understanding from the perspective of context windows, aiming to apply LMMs to long video tasks without retraining on long video datasets. We first conduct an in-depth analysis of why pretrained LMMs struggle to understand lengthy video content, identifying that discrepancies between visual and language modalities lead to different context windows for visual and language tokens, making it difficult to directly extend the visual tokens to match the language context window. Based on this, we propose to adapt LMMs for long video understanding tasks by extending the visual context window, eliminating the need for retraining on large-scale long video datasets. To further mitigate the significant memory consumption caused by long sequences, we introduce a progressive pooling inference strategy that selectively adjusts the spatial resolution of frame embeddings, reducing the number of visual tokens while retaining important spatial information. Across multiple long video understanding benchmarks, our method consistently improves the performance as the number of video frames increases. On the MLVU benchmark, our method outperforms GPT-4o, even though our model size is only 7B. Additionally, in the 256-frame setting, our method reduces memory usage by approximately 45% compared to the baseline, without introducing any performance loss. Project page: https://hcwei13.github.io/Visual-Context-Window-Extension/
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
10 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Video Panels for Long Video Understanding cites VideoChat-Flash: Hierarchical Compression for Long-Context Video Modeling
- Video Panels for Long Video Understanding cites BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models
- InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuning cites LoRA: Low-Rank Adaptation of Large Language Models
- InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuning cites BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models
- InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuning cites MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Models
- Self-alignment of Large Video Language Models with Refined Regularized Preference Optimization cites LoRA: Low-Rank Adaptation of Large Language Models
- Self-alignment of Large Video Language Models with Refined Regularized Preference Optimization cites InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuning
- Self-alignment of Large Video Language Models with Refined Regularized Preference Optimization cites VideoChat-Flash: Hierarchical Compression for Long-Context Video Modeling
- Self-alignment of Large Video Language Models with Refined Regularized Preference Optimization cites BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models
- VideoITG: Multimodal Video Understanding with Instructed Temporal Grounding cites BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models
- VideoARM: Agentic Reasoning over Hierarchical Memory for Long-Form Video Understanding cites VideoChat-Flash: Hierarchical Compression for Long-Context Video Modeling
- MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Models cites BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models
Cited by top-tier papers10
- VideoChat-Flash: Hierarchical Compression for Long-Context Video ModelingXinhao Li, Yi Wang, Jiashuo Yu, Xiangyu Zeng et al.ICLR 2026 · 172 citations
- VideoITG: Multimodal Video Understanding with Instructed Temporal GroundingShihao Wang, Guo Chen, De-An Huang, Zhiqi Li et al.CVPR 2026 · 35 citations
- VideoARM: Agentic Reasoning over Hierarchical Memory for Long-Form Video UnderstandingYufei Yin, Qianke Meng, Minghao Chen, Jiajun Ding et al.CVPR 2026 · 24 citations
- Video Panels for Long Video UnderstandingLars Doorenbos, Federico Spurio, Juergen GallCVPR 2026 · 6 citations
- Self-alignment of Large Video Language Models with Refined Regularized Preference OptimizationPritam Sarkar, Ali EtemadNeurIPS 2025 · 6 citations
Builds on18
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
- BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language ModelsJunnan Li, Dongxu Li, Silvio Savarese, Steven C. H. HoiICML 2023 · 7,873 citations
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra et al.NeurIPS 2022 · 5,493 citations
- InstructBLIP: Towards General-purpose Vision-Language Models with Instruction TuningWenliang Dai, Junnan Li, Dongxu Li, Anthony Meng Huat Tiong et al.NeurIPS 2023 · 4,013 citations
- MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language ModelsDeyao Zhu, Jun Chen, Xiaoqian Shen, Xiang Li et al.ICLR 2024 · 3,079 citations
Related papers
- Scaling the Long Video Understanding of Multimodal Large Language Models via Visual Memory MechanismTao Chen, Kun Zhang, Qiong Wu, Xiao Chen et al.CVPR 2026 · 8 citations
- ProLongVid: A Simple but Strong Baseline for Long-context Video Instruction TuningRui Wang, Bohao Li, Xiyang Dai, Jianwei Yang et al.EMNLP 2025
- Free-Moref: Instantly Multiplexing Context Perception Capabilities of Video-Mllms Within Single InferenceKuo Wang, Quanlong Zheng, Junlin Xie, Yanhao Zhang et al.ICCV 2025
- MA-LMM: Memory-Augmented Large Multimodal Model for Long-Term Video UnderstandingBo He, Hengduo Li, Young Kyun Jang, Menglin Jia et al.CVPR 2024
- Understanding Long Videos with Multimodal Language ModelsKanchana Ranasinghe, Xiang Li, Kumara Kahatapitiya, Michael S. RyooICLR 2025
