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

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

Vision-Language Models (VLMs) like LLaVA and Qwen-VL have demonstrated incredible capabilities, yet their internal processing mechanisms remain largely opaque. Unlike human vision, which processes scenes in parallel, existing VLMs flatten 2D images into 1D sequences of patches—essentially "reading" images like text.

This raster-scan approach creates a cognitive gap: adjacent patches of the same object might end up far apart in the 1D sequence, leading to hallucinations and computational inefficiencies. A recent paper deconstructs this process using the dual-stream hypothesis of human vision, separating the "what" (object recognition) from the "where" (spatial perception) to better understand and optimize VLM architectures.

Deconstructing the Visual Black Box

To understand how VLMs bridge the gap from 1D sequences to 2D understanding, the researchers employed a technique called the Multimodal Logit Lens. By applying the language model's "unembedding" matrix directly to the visual encoder's internal layers, they could translate intermediate visual features into text tokens. This creates "token maps" that reveal exactly what the model thinks it is seeing at any given layer.

Evolution of token maps across ViT layers, showing the transition from scattered attributes to cohesive object representations.

Through this lens, the authors analyzed two distinct pathways:

  • The "What" Pathway: Tracking the emergence of "attribute words" (e.g., fur, yellow) versus "representative words" (e.g., bear).
  • The "Where" Pathway: Theoretically deriving how 2D Rotary Position Embeddings (RoPE) represent relative distances and spatial geometry within the attention mechanism.

Key Insights: How VLMs "See"

1. The Two-Stage Recognition Process

Object recognition in VLMs is not instantaneous. The token maps reveal a distinct two-stage process. In the early layers (1-12), the model focuses on local attributes, identifying textures and colors. It is only in the deeper layers (12-24) that the model performs "semantic disambiguation," consolidating these attributes into a final object label.

Line chart illustrating the emergence of attribute words in early layers followed by representative words in deeper layers.

2. Gestalt Principles in Machines

Despite processing a flattened 1D sequence, the model appears to follow Gestalt principles to reconstruct the 2D reality. It uses Similarity and Proximity to group discontinuous tokens that belong to the same object, and Closure to fill in the gaps between patches, allowing it to perceive a cohesive whole.

3. Geometric Spatiality

The authors proved that 2D RoPE creates a highly specific geometry for spatial reasoning. Opposing directions (like left vs. right) are represented by collinear but opposing vectors, while different axes (horizontal vs. vertical) occupy orthogonal subspaces. However, they also noted a "frequency decay" in positional embeddings, where distant spatial information can get drowned out.

Translating Insights into Optimization

Armed with a deeper understanding of VLM internals, the researchers developed two practical optimizations:

  • Instruction-Agnostic Token Compression: Because many adjacent patches map to the same semantic concept (e.g., a large expanse of blue sky), the visual data is highly redundant. The authors trained a lightweight visual decoder to identify these redundancies and used Run-Length Encoding (RLE) to merge contiguous, identical tokens. This achieved a 58.35% reduction in visual tokens for LLaVA-1.5-7B with negligible performance loss, drastically improving efficiency.
  • RoPE Scaling for Spatial Reasoning: To combat the frequency decay in positional embeddings, they introduced a scaling factor to amplify positional signals in low-frequency regions. Applying this to Qwen2-VL-2B improved its score on the "What's Up B" spatial benchmark from 53.16 to 58.25 without any training, and up to 63.48 with fine-tuning.

Looking Forward

While this study provides a powerful framework for understanding current sequential VLMs, it also highlights areas for future exploration. The spatial analysis currently focuses on basic 2D directions, leaving 3D depth and complex diagonal relationships for future work. Ultimately, while we can optimize the 1D raster-scan paradigm, these insights suggest that future architectures might benefit from moving toward more naturally parallel visual 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