Reproduce “Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolution” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Peng Wang, Shuai Bai, Sinan Tan, Shijie Wang, Zhihao Fan, Jinze Bai, Keqin Chen, Xuejing Liu and 11 more

Qwen2-VL varies visual-token count with image resolution and uses positional encoding for image layout and video time. In a Qwen2-VL-7B ablation, dynamic resolution averaged 1,924 input image tokens versus 3,136 fixed and scored 866 versus 786 on OCRBench. It scored slightly lower on InfoVQA and RealWorldQA, tied on MMMU, and used more tokens than the 1,600-token setting.

Key insights

  • Naive Dynamic Resolution allows LVLMs to process images of arbitrary sizes efficiently, maintaining high performance while consuming fewer tokens on average compared to fixed-resolution approaches.
  • Multimodal Rotary Position Embedding (M-RoPE) consistently improves performance across multimodal tasks, particularly for video understanding, and enables robust length extrapolation for sequences far beyond training limits.
  • LVLM performance, especially for complex reasoning and mathematical abilities, consistently improves with increasing model size and training data scale, guiding future development in the field.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.