Training Long-Context Vision-Language Models Effectively with Generalization Beyond 128K Context
Zhaowei WangLishu LuoHaodong DuanWeiWeiLiuSijin WuLuo JiShen YanShuai PengSihang YuanChaoyi HuangYi LinYangqiu Song
Zhaowei Wang
Lishu Luo
Haodong Duan
WeiWeiLiu
Sijin Wu
Luo Ji
Shen Yan
Shuai Peng
Sihang Yuan
Chaoyi Huang
Yi Lin
Yangqiu Song
+12
Long-context modeling is becoming a core capability of modern large vision-language models (LVLMs), enabling sustained context management across long-document understanding, video analysis, and multi-turn tool use in agentic workflows. Yet practical training recipes remain insufficiently explored, particularly for designing and balancing long-context data mixtures. In this work, we present a systematic study of long-context continued pre-training (LongPT) for LVLMs, extending a 7B model from 32K to 128K context with extensive ablations on long-document data. Our study yields three key findings: i) synthesizing long-document VQA data provides effective and diverse long-context supervision, covering tasks from information extraction to numerical reasoning; ii) retrieving relevant evidence remains the primary long-context bottleneck, favoring retrieval-heavy mixtures with a small amount of reasoning data to preserve task diversity; iii) surprisingly, pure long-document VQA data largely preserves short-context capabilities, suggesting that instruction-formatted long data lessens the need for short-data mixing. Based on these findings, we introduce MMProLong, obtained by long-context continued pre-training from Qwen2.5-VL-7B with only a 5B-token budget. MMProLong improves long-document VQA performance by 7.11% and generalizes beyond its 128K training window, maintaining strong performance at 256K and 512K context lengths without additional training. It further transfers to webpage-based multimodal needle-in-a-haystack tasks, long-context vision-text compression, and long-video understanding without task-specific supervision. Overall, our study provides a practical LongPT recipe and an empirical foundation for advancing the next generation of LVLMs.

OpenReview ·
· April 25, 2026