Vision-Language Models Create Cross-Modal Task Representations
Grace Luo, Trevor Darrell, Amir Bar
TL;DR
Autoregressive vision-language models (VLMs) can handle diverse tasks within a single architecture, but their internal task representations were opaque. The authors identify a shared, end-delimiter task vector that compresses task specifications across text, image, or instruction into a modality-agnostic representation, and they validate cross-modal transfer via cross-modal patching, often outperforming full-prompt baselines. They further show that task vectors can transfer from base LLMs to fine-tuned VLMs and can be derived from instructions alone, improving sample efficiency. These findings illuminate how VLMs compress, reuse, and align task information across modalities, with practical implications for cross-modal instruction, VQA, and interactive AI, while acknowledging limitations and the need for deeper theoretical grounding.
Abstract
Autoregressive vision-language models (VLMs) can handle many tasks within a single model, yet the representations that enable this capability remain opaque. We find that VLMs align conceptually equivalent inputs into a shared task vector, which is invariant to modality (text, image) and format (examples, instruction), and may simplify VLM processing. We measure this alignment via cross-modal transfer -- the ability of a task vector derived in one modality to trigger the correct generation in another -- on a range of tasks and model architectures. Although the task vector is highly compressed, we find that this single vector outperforms prompting the model with the full task information, unique to this cross-modal case. Furthermore, we show that task vectors can be transferred from a base language model to its fine-tuned vision-language counterpart, and that they can be derived solely from instructions without the need for examples. Taken together, our findings shed light on how VLMs internally process task information, and how they map different modalities into common semantic representations. Project page: https://vlm-cross-modal-reps.github.io.
