TL;DR
V-LENS is a novel interpretability tool that uses a unified multimodal model’s own image generator to visualize its internal "thoughts" during text processing. By projecting hidden states into the model's generative pathway, researchers revealed that models internally represent unspoken concepts—like picturing an "elephant" when asked about the "biggest land animal"—and showed that supervising these internal "mental images" can significantly improve the accuracy of the model's final text answers.
What Problem Does This Paper Address?
Large Language Models (LLMs) are often "black boxes." When a model correctly answers a complex question, it’s hard to tell if it followed a logical reasoning path or just performed sophisticated pattern matching. For instance, to answer "On which continent does the biggest land animal live?" with "Africa," a model must internally bridge the gap between "biggest land animal" and "elephant."
While previous work has tried to "verbalize" these intermediate steps (e.g., using the Logit Lens to see which words are most likely at a given layer), text is often too sparse to capture the full richness of a model's internal state. This paper explores whether we can instead visualize these states. By leveraging unified models—architectures that handle both text and image generation—the authors ask: Can we see the "mental imagery" a model uses to solve a problem?
Methods
The authors introduce V-LENS, a technique to "peek" into a model's residual stream without training a separate decoder.
- Extraction and Transport: They select a hidden state $h_\ell$ from an intermediate layer $\ell$ of the text-processing transformer. Because activations vary in scale and mean across layers, they "center and rescale" this state to match the statistics of a pre-calibrated insertion layer $R$.
- Visualization: This transformed state is then plugged into a standard image-generation prompt (e.g., "a photo of a [thing]") at layer $R$. The model’s generative weights then take over, producing an image that reflects the concept encoded in that specific hidden state.
- Lens Tuning: The authors go a step further by using V-LENS as a differentiable bridge. They apply visual supervision to text layers using LoRA adapters. For example, they might train the model so that the hidden state for a pronoun like "it" (referring to a "sewing machine") actually visualizes as a sewing machine.
The study covers six unified models, including diffusion-based ones like Show-o2, BAGEL, SenseNova-U1, and HunyuanImage-3.0, as well as purely autoregressive models like Liquid and Janus-Pro.
Datasets
The researchers evaluated V-LENS using several targeted benchmarks:
- Two-hop reasoning: 16 questions requiring an intermediate unnamed concept (e.g., "biggest land animal" $\rightarrow$ elephant $\rightarrow$ Africa).
- Contextual Ambiguity: 30 pairs of descriptions of unnamed objects and 20 homonyms (e.g., "trunk" as an elephant part vs. "trunk" as luggage).
- Pronoun Reference: 20 pairs of texts where a pronoun's referent is determined by a verb (e.g., "He ate it" vs. "He lit it").
- State Change Stories: 80 scenarios where an object's state changes (e.g., bread being toasted).
- General Benchmarks: GenEval for image quality and MMLU-Pro for text knowledge to ensure "lens tuning" didn't degrade general performance.
Key Insights and Ideas
- Unspoken Concepts are Visualizable: Models often represent the "bridge" concept (the elephant) in their hidden states long before they generate the final answer (Africa). Interestingly, these concepts often "surface" at low-content tokens like punctuation or chat-format markers, which act as internal computation sites.
- Context Drives Imagery: The V-LENS reveals that the internal representation of a word is highly contextual. The hidden state for "trunk" looks like an elephant's nose in one sentence and a piece of luggage in another, even at the same layer.
- Visual Supervision Improves Text Reasoning: This is perhaps the most surprising finding. By training the model to produce the "correct" internal image for a state (e.g., picturing "toast" instead of "bread" after a toasting event), the model's textual accuracy on those stories improved, even though the text output tokens were never directly supervised during this tuning.
Key Results
- Concept Recovery: V-LENS successfully visualized the unnamed intermediate concept in over two-thirds of the reasoning questions across five different models.
- Pronoun Resolution: Before tuning, models correctly visualized pronoun referents only 2–11% of the time. After lens tuning, this skyrocketed to 86–94%.
- Textual Gains: In the Show-o2 model, purely visual supervision of object states increased the share of correct text answers from 36.3% to 49.6%.
- Zero-Shot Capability: V-LENS works "out of the box" for many models, requiring only basic layer statistics rather than expensive training of a separate "lens" or decoder.
Limitations and Future Work
- Generative Dependence: V-LENS is only as good as the model's image generator. If a model struggles to draw a specific object, V-LENS cannot visualize it.
- Abstract Concepts: The method is currently limited to concrete objects, colors, and visible states. It does not yet handle abstract ideas, numbers, or complex relations well.
- Computational Cost: Visualizing a single "thought" requires a full image generation pass, which can take anywhere from 9 to 110 seconds depending on the model and hardware.
- Future Directions: The authors suggest exploring how this "visual reasoning" pathway can be used to detect hallucinations or to provide more interpretable "Chain-of-Thought" reasoning where the model shows its work through images.
Summary updated