Same Task, Different Circuits: Disentangling Modality-Specific Mechanisms in VLMs
Yaniv Nikankin, Dana Arad, Yossi Gandelsman, Yonatan Belinkov
TL;DR
This work investigates why Vision-Language Models underperform on visual analogs of textual tasks by analyzing modality-specific model circuits. It defines circuits as minimal subgraphs and uses causal attribution patching to discover and evaluate them, revealing largely disjoint data-processing components across vision and language, with query and generation components largely functionally equivalent. The authors demonstrate that data processing differences drive the accuracy gap, while query/answer processing remain shared, enabling a test-time intervention called back-patching that injects deeper, text-aligned visual representations into earlier layers. Across three VLMs and five tasks, back-patching yields an average accuracy boost of about 4.6 percentage points and closes roughly 32% of the visual-textual performance gap, suggesting a training-free path to improved multi-modal performance. The findings emphasize the value of understanding modality-specific circuits and point to targeted inference-time modifications as a practical route to reducing cross-modal gaps in VLMs.
Abstract
Vision-Language models (VLMs) show impressive abilities to answer questions on visual inputs (e.g., counting objects in an image), yet demonstrate higher accuracies when performing an analogous task on text (e.g., counting words in a text). We investigate this accuracy gap by identifying and comparing the \textit{circuits} - the task-specific computational sub-graphs - in different modalities. We show that while circuits are largely disjoint between modalities, they implement relatively similar functionalities: the differences lie primarily in processing modality-specific data positions (an image or a text sequence). Zooming in on the image data representations, we observe they become aligned with the higher-performing analogous textual representations only towards later layers, too late in processing to effectively influence subsequent positions. To overcome this, we patch the representations of visual data tokens from later layers back into earlier layers. In experiments with multiple tasks and models, this simple intervention closes a third of the performance gap between the modalities, on average. Our analysis sheds light on the multi-modal performance gap in VLMs and suggests a training-free approach for reducing it.
