From Drop-off to Recovery: A Mechanistic Analysis of Segmentation in MLLMs
Organizations: Technical University of Munich · Helmholtz Munich · Munich Center for Machine Learning (MCML)
Abstract
Multimodal Large Language Models (MLLMs) are increasingly applied to pixel-level vision tasks, yet their intrinsic capacity for spatial understanding remains poorly understood. We investigate segmentation capacity through a layerwise linear probing evaluation across the entire MLLM pipeline: vision encoder, adapter, and LLM. We further conduct an intervention based attention knockout analysis to test whether cross-token attention progressively refines visual representations, and an evaluation of bidirectional attention among image tokens on spatial consistency. Our analysis reveals that the adapter introduces a segmentation representation drop-off, but LLM layers progressively recover through attention-mediated refinement, where correctly classified tokens steer misclassified neighbors toward the correct label. At early image token positions, this recovery is bounded by causal attention, which bidirectional attention among image tokens alleviates. These findings provide a mechanistic account of how MLLMs process visual information for segmentation, informing the design of future segmentation-capable models.
Figures & tables
| Vision Encoder | Attention | GQA | MMB | MME P | MME C | MMMU | POPE | SQA I | TextVQA | VizWiz |
|---|---|---|---|---|---|---|---|---|---|---|
| CLIP ViT-L/14 | Causal | 62.6 | 66.4 | 1483 | 284 | 35.3 | 86.8 | 68.7 | 46.9 | 56.0 |
| Bidirectional | 62.7 | 65.5 | 1538 | 288 | 36.2 | 86.9 | 69.7 | 47.0 | 57.5 | |
| DINOv2 ViT-L/14 | Causal | 62.1 | 57.7 | 1304 | 324 | 34.6 | 87.2 | 66.1 | 14.0 | 51.4 |
| Bidirectional | 60.5 | 55.3 | 1247 | 326 | 32.4 | 85.1 | 66.3 | 13.7 | 45.8 | |
| SigLIP SO400M/14 | Causal | 61.1 | 63.7 | 1414 | 275 | 34.7 | 84.4 | 70.4 | 50.2 | 58.2 |
| Bidirectional | 62.1 | 66.9 | 1402 | 298 | 34.9 | 84.8 | 70.7 | 53.6 | 53.3 |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Encoder | Attention | Adapter | Peak LLM | Recovery | |
|---|---|---|---|---|---|
| CLIP ViT-L/14@336 | Causal | 33.22 | 40.74 | 6.36 | 7.52 |
| Bidirectional | 32.68 | 41.16 | 6.78 | 8.48 | |
| DINOv2 Large | Causal | 42.90 | 44.50 | 1.08 | 1.60 |
| Bidirectional | 40.47 | 44.82 | 0.76 | 4.35 | |
| SigLIP SO400M/14 | Causal | 31.44 | 35.39 | 3.31 | 3.95 |
| Bidirectional | 32.39 | 41.26 | 2.56 | 8.87 |
| Causal | Bidirectional | % Impr. | ||
|---|---|---|---|---|
| Patch 0 | 0.6195 | 0.7630 | 0.1435 | 23.2% |
| Patch 1 | 0.6851 | 0.7933 | 0.1082 | 15.8% |
| Patch 2 | 0.7069 | 0.7931 | 0.0862 | 12.2% |
Multimodal Large Language Models
Multimodal large language models combine language models with image, video, audio, and other inputs for grounded understanding and generation.
See all 1,069 papers