TL;DR
Instead of training external classifiers to figure out what a Large Vision-Language Model (LVLM) sees in an image, this paper turns the model's own language decoder into a linear probe using a first-order Taylor expansion. With just a handful of unlabeled images and a simple text prompt, Decoder-as-a-Probe (DaP) translates raw visual embeddings into human-readable words and lets you surgically edit what the model perceives—like turning a yellow New York taxi bright pink in the model's "mind's eye" without changing a single pixel.
What Problem Does This Paper Address?
Inside deep neural networks, high-level concepts—like "yellow," "metallic," or "taxi"—tend to be encoded as straight-line directions in representation space (the Linear Representation Hypothesis). Finding these directions lets us read what a model perceives and steer its behavior.
Traditionally, researchers find these directions using linear probing: freezing the network and training a separate linear classifier on thousands of labeled examples. For LVLMs (where a vision encoder feeds image tokens into an LLM decoder), classical probing has three headaches:
- Data hunger: You need massive labeled datasets for every single concept you want to find.
- Closed-world: A color probe trained on "blue" and "red" knows nothing about "yellow."
- Correlation vs. causation: Just because an external probe can read a concept from the embeddings doesn't mean the LVLM actually uses that direction to make decisions.
Meanwhile, training-free "lens" methods (which project visual tokens directly onto the LLM's text vocabulary) mostly just shout out the main object's name rather than decomposing specific attributes like texture or activity.
Methods
The authors start from a deceptively simple realization: an LVLM’s decoder is already a classifier whose classes are every word in its vocabulary, and it already knows how to extract attributes from visual tokens when asked a question.
To turn this nonlinear decoder into a clean linear probe, DaP fixes a question prompt $\pi$ (e.g., "Which word best describes the color of this object?") and takes a first-order Taylor expansion of the decoder with respect to the visual tokens.
- Spatial & Image Averaging: Because an object spans multiple image patches, DaP averages the visual tokens inside an object mask and computes the Jacobian matrix $J_\pi$ (at the penultimate layer to avoid noisy "neural collapse" effects). Averaging this Jacobian across just 1 to 16 anchor images yields a clean linear operator that maps visual tokens directly into a space aligned with the LLM's vocabulary unembedding matrix $W_U$.
- The Bias Gate: Linearization introduces a strong prior bias toward common words or other languages. Simply deleting the bias causes out-of-category words to leak in (like predicting "taxi" when asked for a color). DaP solves this elegantly by zeroing out the bias in the score, while using it as a binary top-$k$ gate to restrict answers to the relevant attribute subspace (e.g., keeping only color words).
- Steering: Because DaP maps directly to the vocabulary, you can steer the model's perception by nudging visual tokens along the vector $J_\pi^\top(w_{\text{target}} - w_{\text{source}})$—subtracting "driving" and adding "parked" right in the visual input space.
Datasets
The authors evaluate DaP (applied to Qwen3-VL-4B) using the Visual Attributes in the Wild (VAW) dataset, built on Visual Genome. VAW features 261k cropped object instances annotated with bounding boxes, object names, and 620 attributes grouped into categories like Colors, Materials, Shapes, and Activities. No new datasets are introduced, though the authors also generate synthetic morphing sequences (e.g., yellow-to-red, standing-to-lying) to study representational geometry.
Key Insights and Ideas
- Prompt-programmable lenses: Unlike standard vocabulary lenses that yield noisy or multilingual object names, changing DaP's prompt lets you slice the exact same visual patch along different conceptual subspaces—asking one patch for its color ("blue") and its material ("cloth").
- Zero-shot generalization to unseen concepts: Because DaP maps into the LLM's entire vocabulary dictionary rather than fixed classifier heads, estimating the "color" Jacobian on just four colors immediately unlocks directions for unseen colors like "pink" or "silver."
- Visual representations remain continuous: Language is discrete, so one might expect LVLM training to squash visual embeddings into discrete buckets. By projecting synthetic morphing images onto DaP directions, the authors show that visual concepts form smooth, continuous straight-line trajectories between extremes.
- Induced rationalization: When the authors steer a moving taxi to be perceived as "parked" without removing its "blurry" concept direction, the LVLM notices the contradiction and hallucinates an excuse—claiming the parked car has motion blur suggesting it "recently stopped."
Key Results
- Probing: Even at 1-shot, DaP outperforms 16-shot trained ridge-regression probes and Nearest Centroid Classifiers across all attribute types (e.g., 69.3% vs. 55.0% on seen Colors). On 1,313 unseen object names, 16-shot DaP reaches 24.3% top-1 accuracy—more than double Emb-Lens (10.6%) and approaching the full nonlinear LVLM's 28.5%.
- Steering: DaP is dramatically more data-efficient at steering. With 16 shots (and even 1 shot), DaP outperforms probes trained on 256x more images (at steering strength $\alpha=1$, 16-shot DaP hits 83.5% steering success on seen Colors vs. 57.0% for a 256-shot probe). It is also the only tested method capable of steering toward unseen concepts (e.g., 42.3% success on unseen Materials vs. 1.5% for Emb-Lens).
- Surgical specificity: When steering attributes at matched success rates, DaP accidentally alters the perceived object name 4x less often than trained linear probes (4.7% vs. 16.8%).
Limitations and Future Work
- Compute overhead at fitting: Computing the full Jacobian for open-vocabulary verbalization requires heavy backward passes (~185 seconds per image on a Tesla V100, though closed yes/no probing takes just 0.37s).
- Single-token limit: Open-vocabulary DaP only decodes concepts represented by a single token, though closed yes/no DaP handles multi-token phrases like "riding a horse."
- Rare concepts & multi-steering: Probing rare attributes outside major categories still requires positive example images during estimation, and steering 4+ attributes simultaneously makes outputs sensitive to prompt phrasing.
- Security implications & future directions: The authors warn that DaP's clean gradients make white-box adversarial pixel attacks much cheaper and stealthier (withholding attack code accordingly). Looking ahead, they envision DaP as a plug-and-play tool for hallucination mitigation, safety monitoring, and instruction tuning.
Summary updated