Source-Modality Monitoring in Vision-Language Models

Etha Tianze Hua, Tian Yun, Ellie Pavlick

TL;DR

Vision-Language Models (VLMs) must accurately track whether a piece of information originated from an image or a text string—a capability termed source-modality monitoring. By evaluating 11 modern VLMs on conflicting inputs, this paper demonstrates that modality tracking relies on a hybrid mechanism: models exploit both explicit structural tags and the inherent semantic properties of the data, with semantic signals dominating when the modalities are highly distinct.

What Problem Does This Paper Address?

As AI agents transition into fully multimodal assistants, they face a complex version of the classic cognitive science "binding problem." An effective agent needs to know not just what a piece of information is, but where it came from (e.g., "Did I see that laptop on the desk in the user's photo, or did they mention it in the chat text?").

While large language models are known to handle symbolic binding well (like assigning values to variables), it remains unclear how VLMs track input modalities. Do they rely entirely on explicit syntactic wrapper tokens (like <image> tags inserted by preprocessing pipelines), or do they naturally differentiate modalities based on the underlying distributional and semantic features of the data?

Methods

The authors design a clever framework to untangle syntactic cues from semantic ones:

  1. Target-Modality Retrieval Task: Models are fed deliberately mismatched image-caption pairs (e.g., an image of a three-wheeled motorcycle paired with the text caption "A picture of a person riding a horse"). The model is then explicitly prompted to answer questions about one specific target modality (e.g., "What does the image show?" vs. "What does the caption say?").
  2. Structural Perturbations: To test the necessity of syntax, the authors evaluate models under four marker conditions: Unperturbed, Arbitrary (replacing tags with nonsense words like Dax/Wug), Remove (deleting all markers), and Swap (exchanging the image and text tags).
  3. Mechanistic Interpretability: The authors apply three standard techniques to look under the hood:
  4. Linear Probing: To check if modality identity is linearly decodable right from the embedding layer.
  5. Activation Patching (Freeze-Remove): To see if marker tokens actively write modality information into downstream content tokens during contextualization layers.
  6. Representation Steering: Adding optimized vector deltas ($\delta$) to marker or content positions to see if they can causally force the model into source misattribution.
Figure 1: Example task instance.

Datasets

The authors constructed their evaluation sets by systematically sampling and pairing mismatched images and captions from two standard benchmarks:

  • MSCOCO 2017
  • Flickr30k

To guarantee a genuine semantic mismatch, they used a BERT-style sentence embedding model (all-mpnet-base-v2) to filter out any candidate captions that had a cosine similarity greater than 0.2 with the image's true ground-truth captions.

Key Insights and Ideas

  • Semantics Outweighs Pure Syntax: When explicit marker tokens are swapped (e.g., labeling the text as an image), the models do not completely reverse their answers. They continue to rely on the fact that image tokens inherently look like images and text tokens look like text, showing that distributional semantic signals are incredibly robust.
  • Asymmetry in Modality Tracking: VLMs are highly resilient at identifying image content even when all image tags are stripped away. However, they are far more dependent on symbolic markers to identify captions. This is because caption text looks distributionally identical to the surrounding prompt text, making it harder to isolate without structural boundaries.
  • The "Micromodality" Challenge: The specific words used in a prompt change how heavily a model relies on syntax. Models easily bind the word "text" to text tokens without needing markers. However, if the prompt asks about a "document," the model's performance plummets without explicit markers. This occurs because "documents" can naturally contain images, making them less distributionally distinct to the model.
Figure 3: Performance on purely symbolic retrieval tasks using arbitrary labels.

Key Results

  • Top Performers: State-of-the-art models like Gemma-3-12B and Qwen2.5-VL-32B achieved near-perfect selectivity scores (close to 1.0), demonstrating flawless source-modality monitoring despite conflicting inputs.
  • The Tag Advantage: Models trained with explicit special image wrapper tokens (indicated by $\star$ in the paper's figures) consistently outperformed older architectures that lacked them (like LLaVA-1.5).
Figure 2: Modality selectivity across 11 different vision-language models.
  • Causal Localization: Representation steering experiments revealed that adding learned delta vectors to early and middle layers could successfully drive selectivity down to -1.0 (complete, systematic misattribution). This proves that source-modality tracking is actively and causally processed in the early-to-mid stages of the network before fading in later layers.

Limitations and Future Work

While this paper provides a solid foundation for image-text tracking, real-world agentic workflows will require models to monitor much subtler boundaries. Future work must address "micromodalities"—distinguishing between abstract conversational boundaries that lack distinct distributional signatures, such as tracking whether a piece of information came from "yesterday's meeting transcript" versus "an email thread about dinner plans." Additionally, because image inputs span hundreds of tokens, perfectly isolating a clean, low-dimensional subspace for modality identity remains an engineering challenge.

Summary updated

BibTeX
@inproceedings{hua2026source,
  author = {Etha Tianze Hua and Tian Yun and Ellie Pavlick},
  title = {{Source-Modality Monitoring in Vision-Language Models}},
  booktitle = {COLM},
  year = {2026},
  url = {https://openreview.net/forum?id=PvJsyieQWz},
}
Figure