Skip to content

Using OCR Heads to Verbalize Image Semantics

Sep 2026 · 0 citations · 62 references
Computer Science

TL;DR

Across four models, attention heads causally necessary for OCR are identified, and it is discovered that these are in fact general-purpose heads that output interpretable semantic features across all image tokens.

Abstract

How do VLMs map from pixels to semantics? To understand this general question, we focus on a narrow one: studying how VLMs perform optical character recognition (OCR). Across four models, we identify attention heads causally necessary for OCR, and discover that these are in fact general-purpose heads that output interpretable semantic features across all image tokens. For example, pointing these heads at an image token containing the word"bike"causes Qwen3-VL-8B to output"bike,"but pointing them at a bird wing causes the model to output the token"feathers."We collapse these heads'attention weights into a single verbalization lens transformation that reveals interpretable semantic features in hidden states across all layers. When combined with projection to vocabulary space, we can obtain interpretable labels starting from layer 0, showing that image representations are in fact aligned with language in early layers. We find that we can also use the inverse of this transformation to edit non-word concepts, e.g., replacing a tractor with a revolver in a naturalistic image, providing causal evidence that this subspace is useful for more than just OCR. Our results are an example of how the study of specific mechanisms can shed light on broader interpretability problems.

View source

Similar papers

#small language model Preprint Aug 2026

Retrieval Heads Meet Vision: Uncovering How VLMs Locate and Extract Visual Information

This work introduces Visual Retrieval Heads (VRHs), a small subset of attention heads that are causally responsible for grounding text descriptions to image regions, and shows that scoring attention from output prediction tokens with a sum over the ground-truth referent region most reliably identifies causal heads.

Chanho Park, Daehyeon Choi, Jihyun Lee et al. · 1 citation · ⚡1
Preprint Sep 2026

From Retrieval to Recognition:How Vision--Language Models Become OCR Specialists

Does a general vision--language model acquire specialized OCR ability by developing a new reading circuit or by reusing an existing mechanism? We address this question in the setting of full-sequence OCR, rather than local-answer retrieval. Using an evidence-grounded protocol with held-out causal interventions, we iden...

Yuan-Xiang Huangfu, Hanmeng Zhong, Linqing Chen et al. · 0 citations
#artificial intelligence Preprint Sep 2026

Cross-Modal Attention Acts as a Frequency Filter: Why Verbose Prompts Improve Robustness in Vision-Language Models

This work finds that the wording of the question affects VLMs in two opposite ways: verbose paraphrasing reduces drift variance by 70--81% on the 8B models and the practical recipe---pad the prompt---further yields measurable gains in accuracy, even under image corruption.

Farooq Ahmad Wani, Maria Sofia Bucarelli, Mujtaba Hussain Mirza et al. · 0 citations

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.