arXiv:2610.32463cs.CLOct 2026

Manuscript Offprint

arXiv:2610.32463

Reading Between the Layers: Cross-Modal Alignment and Representational Hierarchy in Vision Transformers

Sugam Karki, Raúl Vázquez, Yova Kementchedjhieva

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

While large vision-language models excel at optical character recognition, it remains unclear how their underlying vision encoders process text and its meaning, and whether they support anything resembling reading comprehension. We systematically study transformer-based vision encoders, using cross-modal alignment between rendered text and visual concepts together with probing and retrieval-based analyses as a controlled window into these broader capabilities. Our layer-wise analyses span orthographic, grammatical, and semantic organization, and reveal that strong cross-modal mapping emerges only in the deepest layers, after unimodal object and text recognition have already developed, coinciding with a progression from surface-level to semantic representations. Although this hierarchy is strongest in contrastively trained models, larger self-supervised models and text-rich training data partially support similar behaviors without explicit language supervision. Together, our results suggest that increasing model and training-data scale, as well as text-rich training data, can partially compensate for the absence of language supervision.

1 Introduction

In human literacy research, a distinction is often drawn between decoding, the ability to recognize written symbols, and reading comprehension, the ability to connect those symbols to semantic meaning (Gough and Tunmer, 1986; Hoover and Gough, 1990). Much like novice learners of English who recognize “horse” across contexts without grounding it in the concept of the animal itself, modern vision encoders exhibit decoding (a.k.a. OCR) capabilities in their processing of in-image text (Lin et al., 2024). While some studies suggest that transformer-based vision encoders (ViT) develop representations supporting cross-modal semantic alignment between text and visual concepts (Wang

  1. Real images and rendered text images with variation

Figure

  1. Vision encoder representation across depth

Figure

Figure 1: Top: Real images and rendered text variants used for cross-modal probing. Bottom: t-SNE projections of CLIP (1B) and DINO (1B) representations across depth. In CLIP, same-concept representations from both modalities progressively align, while DINO maintains modality separation throughout.

and Ma, 2025; Materzyńska et al., 2022), the scope of these capabilities and their underlying representational dynamics have not been systematically studied. In this work, we use cross-modal alignment between rendered text and visual concepts, together with probing and retrieval-based analyses, as a controlled window into these broader reading comprehension capabilities.

Motivated by the distinction between surface decoding and broader reading capabilities, we study whether cross-modal semantic alignment builds upon visual object recognition or develops independently across network depth. As shown in Figure 1, we extend standard probing methodologies (Rogers et al., 2020; Conneau and Kiela, 2018) to ViT encoders by rendering textual stimuli as images with diverse visual augmentations. Using these stimuli, we conduct layer-wise probing to examine whether linguistic representations in vision encoders are organized hierarchically across layers, progressing from surface form to grammatical regularities and finally semantic understanding, analogous to hierarchies observed in humans (Friederici, 2002) and language models (Jawahar et al., 2019; Tenney et al., 2019). To support these probe-based findings, we also evaluate cross-modal alignment and retrieval between rendered text and images, allowing us to compare when shared cross-modal structure emerges relative to unimodal object and text recognition. Finally, we address the role of training signals: while language supervision and data composition are known to shape surface-level reading (Lin et al., 2024; Fan et al., 2025; Liu et al., 2025), we study if they similarly govern the development of deeper grammatical and semantic organization.

Through a systematic study via layer-wise probing, supported by controlled cross-modal alignment experiments, spanning surface-level character recognition, grammatical regularities, and semantic alignment, we address these questions across three training paradigms — contrastive (CLIP) (Radford et al., 2021), self-supervised (DINO) (Caron et al., 2021), and masked autoencoding (MAE) (He et al., 2022) — to understand how training objective modulates each:

RQ1. How and when does cross-modal semantic alignment emerge in vision encoders?

RQ2. What representational structure underlies this alignment?

RQ3. How do scale and data composition shape its development?

Our results reveal three main findings. First, strong cross-modal semantic alignment between rendered text and visual concepts emerges only in the deepest layers, after unimodal object and text recognition have already developed. Second, this alignment coincides with a representational hierarchy, clearest in CLIP, in which orthographic information emerges early, grammatical regularities peak at intermediate depths, and semantic organization consolidates in the deepest layers. Third, in self-supervised encoders, increasing model capacity from 300M to 2B mainly strengthens surface-level representations, whereas the 7B model, which is also trained on more data, develops a clearer hierarchy and measurable cross-modal transfer; enriching training data with text produces more modest improvements.

References (26)