TL;DR
This paper challenges the conventional wisdom that vision-language models (VLMs) only align text and image modalities in their deeper layers. By introducing a DeepDream-inspired image synthesis method, the authors demonstrate that meaningful cross-modal alignment actually exists from the very first layer of the model.
What Problem Does This Paper Address?
How do vision-language models bridge the gap between what they see and what they read? In adapter-based VLMs (which plug a pre-trained vision encoder into a language model), standard consensus holds that early layers exhibit a significant "modality gap." Alignment between visual features and textual concepts was thought to only emerge in the middle-to-late layers.
However, previous evaluation techniques often relied on proxy metrics or final-layer decoding mechanisms, which might inherently bias findings against early layers. This paper addresses this limitation by asking a direct question: Can we extract a concept representation from an early layer and use it to synthesize a recognizable image from scratch?
Methods
The authors develop a dataset-free, optimization-based approach inspired by DeepDream to visualize what a specific layer "understands" about a concept. The pipeline consists of three main steps:
- Extracting the Text Concept Vector: For a target concept (e.g., "Jupiter"), they extract its activation at a specific layer $\ell$. To isolate the pure semantic meaning, they subtract a baseline vector (the average activation of 100 diverse baseline words), creating a centered steering vector.
- Aggregating Image Representations: An image is fed into the VLM, yielding a sequence of patch activations at layer $\ell$. They compute a weighted average of these patches, using a combination of semantic relevance (cosine similarity to the text vector) and a spatial Gaussian prior to keep the generated object centered.
- Direct Ascent Synthesis (DAS): Starting from a neutral grey image, they optimize the pixels to maximize the cosine similarity between the image's aggregated representation and the text concept vector. To prevent the optimization from exploiting adversarial shortcuts (which don't transfer well), they use multi-resolution reparameterization and apply random shifts and noise during training.
Datasets
The method is entirely generative and dataset-free for the synthesis process itself. For evaluation, the authors curated a list of over 100 concepts across 13 diverse categories (including animals, seasons, celebrations, sports, and physical objects). To construct the text baselines, they utilized a set of 100 baseline words adapted from prior literature. Evaluation of the generated images was performed using GPT-5 as an independent judge under two protocols: open-ended naming and category-hinted naming.
Key Insights and Ideas
- Alignment from Layer One: Surprisingly, representations of text and images are aligned right at the input boundary. Even though the model was never explicitly trained to align representations layer-by-layer, the end-to-end training for next-token prediction forces early cross-modal grounding.
- The Middle-Layer Collapse Anomaly: In Gemma 3 4B, the ability to synthesize recognizable images drops sharply to near-zero in the middle layers (layers 15–20) before partially recovering in later layers. Interestingly, this collapse is model-specific; testing the same method on InternVL 3 8B showed smooth, continuous alignment across all layers without any middle-layer drop.
- Models Can "Read" Images Early On: For certain concepts, the optimization didn't draw a picture of the object; instead, it generated literal text spelling out the word within the image. This suggests that from Layer 1, the model aligns the visual depiction of text characters directly with the corresponding linguistic concept vector.
Key Results
- At Layer 1 of Gemma 3 4B, more than 50% of animals, 70% of seasons, and 50% of activities yielded images that GPT-5 could correctly identify when provided with a category hint.
- Without category hints (the most stringent protocol), animals remained highly robust, achieving roughly 45% recognition at layers 1 and 5.
- The method is highly efficient, requiring only gradient optimization that takes minutes, not hours, without needing auxiliary models or training large probes.
Limitations and Future Work
- Human vs. Model Recognizability: While the independent evaluator (GPT-5) successfully recognized many early-layer images, they are often abstract or noisy and may not be immediately obvious to human eyes.
- Hyperparameter Sensitivity: The optimization process requires careful, layer-specific tuning of learning rates and aggregation parameters, meaning some failures to generate images might just be optimization failures rather than a true lack of alignment.
- Future Directions: The authors suggest extending this framework to early-fusion models (like Chameleon) where text and images are processed even more symmetrically, and refining patch aggregation techniques to better separate text-in-image features from purely pictorial representations.
Summary updated