Skip to main content
QUICK REVIEW

[Paper Review] Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolution

Peng Wang, Shuai Bai|arXiv (Cornell University)|Sep 18, 2024
Categorization, perception, and languagePsychology71 citations
TL;DR

Qwen2-VL introduces Naive Dynamic Resolution and Multimodal Rotary Position Embedding to handle images and videos at varying resolutions, scaling LVLMs up to 72B params and achieving strong multimodal benchmarks including video understanding and multilingual OCR.

ABSTRACT

We present the Qwen2-VL Series, an advanced upgrade of the previous Qwen-VL models that redefines the conventional predetermined-resolution approach in visual processing. Qwen2-VL introduces the Naive Dynamic Resolution mechanism, which enables the model to dynamically process images of varying resolutions into different numbers of visual tokens. This approach allows the model to generate more efficient and accurate visual representations, closely aligning with human perceptual processes. The model also integrates Multimodal Rotary Position Embedding (M-RoPE), facilitating the effective fusion of positional information across text, images, and videos. We employ a unified paradigm for processing both images and videos, enhancing the model's visual perception capabilities. To explore the potential of large multimodal models, Qwen2-VL investigates the scaling laws for large vision-language models (LVLMs). By scaling both the model size-with versions at 2B, 8B, and 72B parameters-and the amount of training data, the Qwen2-VL Series achieves highly competitive performance. Notably, the Qwen2-VL-72B model achieves results comparable to leading models such as GPT-4o and Claude3.5-Sonnet across various multimodal benchmarks, outperforming other generalist models. Code is available at https://github.com/QwenLM/Qwen2-VL .

Motivation & Objective

  • Motivate breaking the fixed-resolution bottleneck in vision-language models to better mimic human perceptual scales.
  • Develop a unified image-video multimodal framework that can process inputs at varying resolutions.
  • Investigate scaling laws for LVLMs by exploring model sizes (2B, 8B, 72B) and training data volumes.
  • Enhance positional encoding to fuse text, image, and video information effectively across modalities.
  • Demonstrate multilingual, OCR, document understanding, video understanding, and agent capabilities in a single model.

Proposed method

  • Introduce Naive Dynamic Resolution to convert images of any resolution into a dynamic number of visual tokens using 2D-RoPE.
  • Replace absolute 2D position embeddings with 2D Rotary Position Embedding (2D-RoPE) to capture spatial information.
  • Propose Multimodal RoPE (M-RoPE) decomposing rotary embeddings into temporal, height, and width components for multimodal fusion.
  • Use a unified image-video training regimen with 3D convolutions and frame sampling to handle long videos while keeping token limits.
  • Adopt a three-stage training pipeline (ViT pretraining, full-model unfreezing, LLM instruction tuning) with a diverse multimodal dataset up to June 2023.
  • Operate a unified Qwen2-VL architecture with a 675M Vision Transformer backbone across 2B, 7B, and 72B LLMs.

Experimental results

Research questions

  • RQ1How does dynamic resolution impact visual token efficiency and model perception across resolutions?
  • RQ2Can M-RoPE and 2D-RoPE improve cross-modal fusion for text, image, and video?
  • RQ3What are the scaling effects of LVLMs when increasing model size and data, in terms of accuracy on multimodal benchmarks?
  • RQ4Can a unified image-video framework reach state-of-the-art performance on OCR, document understanding, and video comprehension tasks?
  • RQ5How multilingual and OCR capabilities compare to existing LVLMs on public and internal benchmarks?

Key findings

  • Qwen2-VL-72B achieves competitive results with leading models like GPT-4o and Claude3.5-Sonnet across multimodal benchmarks.
  • Qwen2-VL attains state-of-the-art performance on DocVQA, InfoVQA, TextVQA, and OCRBench.
  • The model demonstrates strong multilingual OCR and video understanding capabilities, outperforming many generalist LVLMs on MTVQA and internal benchmarks.
  • Document and diagram reading tasks show notable gains in OCR-related metrics.
  • Video understanding benchmarks show the 72B model delivering top-tier results across several tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.