Abstract
Large Vision Language Models (VLMs) havelong struggled with spatial reasoning tasks. Surprisingly, even simple spatial reasoning tasks,such as recognizing “under” or “behind” relationships between only two objects, pose significantchallenges for current VLMs. In this work, westudy the spatial reasoning challenge from thelens of mechanistic interpretability, diving intothe model’s internal states to examine the interactions between image and text tokens. By tracing attention distribution over the image throughout intermediate layers, we observe that successful spatial reasoning correlates strongly with themodel’s ability to align its attention distributionwith actual object locations, particularly differing between familiar and unfamiliar spatial relationships. Motivated by these findings, we propose ADAPTVIS based on inference-time confidence scores to sharpen the attention on highlyrelevant regions when confident, while smoothing and broadening the attention window to consider a wider context when confidence is lower.This training-free decoding method shows significant improvement (e.g., up to a 50 absolutepoint improvement) on spatial reasoning benchmarks such as WhatsUp and VSR with negligible cost. We make code and data publicly available for research purposes at https://github.com/shiqichen17/AdaptVis. © 2025 by the author(s).
| Original language | English |
|---|---|
| Title of host publication | Proceedings of the 42nd International Conference on Machine Learning |
| Editors | Aarti Singh, Maryam Fazel, Daniel Hsu |
| Publisher | ML Research Press |
| Pages | 9910-9932 |
| Publication status | Published - Jul 2025 |
| Event | 42nd International Conference on Machine Learning (ICML 2025) - Vancouver Convention Center, Vancouver, Canada Duration: 13 Jul 2025 → 19 Jul 2025 https://icml.cc/Conferences/2025 |
Publication series
| Name | Proceedings of Machine Learning Research |
|---|---|
| Volume | 267 |
| ISSN (Print) | 2640-3498 |
Conference
| Conference | 42nd International Conference on Machine Learning (ICML 2025) |
|---|---|
| Abbreviated title | ICML 2025 |
| Place | Canada |
| City | Vancouver |
| Period | 13/07/25 → 19/07/25 |
| Internet address |
Bibliographical note
Full text of this publication does not contain sufficient affiliation information. With consent from the author(s) concerned, the Research Unit(s) information for this record is based on the existing academic department affiliation of the author(s).Fingerprint
Dive into the research topics of 'Why Is Spatial Reasoning Hard for VLMs? An Attention Mechanism Perspective on Focus Areas'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver