Reading Images Like Texts: Sequential Image Understanding in Vision-Language Models

Yueyan Li, Chenggong Zhao, Zeyuan Zang, Caixia Yuan, Xiaojie Wang · OpenReview

Abstract

Vision-Language Models (VLMs) have demonstrated remarkable performance across a variety of real-world tasks. However, existing VLMs typically process visual information by serializing images, a method that diverges significantly from the parallel nature of human vision. Moreover, their opaque internal mechanisms hinder both deeper understanding and architectural innovation. Inspired by the dual-stream hypothesis of human vision, which distinguishes the "what" and "where" pathways, we deconstruct the visual processing in VLMs into object recognition and spatial perception for separate study. For object recognition, we convert images into text token maps and find that the model's perception of image content unfolds as a two-stage process from shallow to deep layers, beginning with attribute recognition and culminating in semantic disambiguation. For spatial perception, we theoretically derive and empirically verify the geometric structure underlying the positional representation in VLMs. Based on these findings, we introduce an instruction-agnostic token compression algorithm based on a plug-and-play visual decoder to improve decoding efficiency, and a RoPE scaling technique to enhance spatial reasoning. Through rigorous experiments, our work validates these analyses, offering a deeper understanding of VLM internals and providing clear principles for designing more capable future architectures.

Introduction

While humans perceive the world in parallel, current Vision-Language Models (VLMs) such as LLaVA or Qwen-VL are constrained to "read" images sequentially. This process involves partitioning a 2D image into patches and flattening them into a 1D sequence using a raster scan. This serialization creates a cognitive gap: adjacent components of a single object may be positioned far apart in the sequence, often leading to "hallucinations" where the model misidentifies objects or fails to grasp their spatial relationships. Due to the black-box nature of these models, identifying and rectifying these failures has historically been challenging. This paper investigates the internal mechanisms of VLMs to understand how they overcome these sequential constraints.

Methodology and Framework

The researchers deconstructed VLM processing into two pathways inspired by human vision: the "What" pathway (object recognition) and the "Where" pathway (spatial perception).

Overview of the VLM architecture, illustrating the serialization of image patches into tokens processed by the LLM.

To probe the "What" pathway, the authors utilized a "logit lens" for vision, projecting internal representations from the visual encoder directly into the text vocabulary. This technique generates "token maps" that reveal the model's internal interpretation of image patches as words. For the "Where" pathway, a mathematical analysis of 2D Rotary Position Embeddings (RoPE) was conducted to derive how spatial concepts like "left-of" or "behind" are geometrically represented.

Building on these insights, the authors proposed two key applications:

  1. Token Compression via RLE: Using Run-Length Encoding to merge redundant contiguous tokens (e.g., multiple patches of "fur"), reducing the computational load on the LLM.
  2. RoPE Scaling: A technique to amplify positional information in low-frequency regions, preventing spatial data from being overwhelmed by content data in deeper layers.

Internal Dynamics: The Two-Stage Recognition Process

A primary discovery of this work is that object recognition in VLMs is a progressive, two-stage process. In shallow layers (typically layers 1-11), the model performs attribute recognition, identifying basic features such as colors and textures. As the data reaches deeper layers (layer 12 and beyond), the model transitions to semantic disambiguation, where it finally synthesizes these attributes into a coherent object identity.

Visualization of the two-stage recognition process across ViT layers, showing the evolution from low-level attributes to high-level semantic tokens.

This behavior suggests that VLMs implicitly follow Gestalt principles, such as similarity and proximity, to group discontinuous patches. The model effectively "fills in the gaps" using prior knowledge to perceive a whole object even when its constituent parts are scattered across the 1D sequence.

Experimental Results

The theoretical findings were validated through several practical improvements:

  • Efficiency Gains: The instruction-agnostic token compression reduced image tokens by 27% to 58%. For LLaVA-1.5-7B, this resulted in a theoretical inference cost of only 43.8% of the original model with negligible performance loss.
  • Spatial Reasoning Boost: Implementing RoPE Scaling led to significant gains. On the "What's Up B" benchmark, Qwen2-VL-2B's accuracy improved from 53.16% to 58.25% in a training-free setting, and reached 63.48% with minimal fine-tuning.
  • Hallucination Insights: Layer-by-layer testing confirmed that model accuracy remains near random chance until the semantic disambiguation stage in the middle layers, pinpointing exactly where the model "understands" the visual input.

Conclusion and Future Work

This study provides a foundational understanding of how VLMs process visual information as text-like sequences. By identifying the two-stage recognition process and the geometric nature of spatial embeddings, the authors offer clear principles for designing more efficient and capable architectures. Future research will explore more complex spatial relationships, such as 3D depth and overlapping objects, and refine the modality connectors used to bridge vision and language processing.

Summary updated

BibTeX
@inproceedings{li2026reading,
  author = {Yueyan Li and Chenggong Zhao and Zeyuan Zang and Caixia Yuan and Xiaojie Wang},
  title = {{Reading Images Like Texts: Sequential Image Understanding in Vision-Language Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=qYcZVezPW7},
}
Figure