Graph-of-Mark: Spatial Reasoning via Visual Prompting (2026)
FreeOverlays scene graphs onto input images at the pixel level to model object relationships — up to +11 percentage points on VQA and localization across 4 datasets, zero-shot
About Graph-of-Mark: Spatial Reasoning via Visual Prompting (2026)
Graph-of-Mark (GoM) is the first pixel-level visual prompting technique for multimodal language models (MLMs) that overlays scene graphs onto input images to model object relationships for spatial reasoning tasks. Proposed as a training-free enhancement over methods like Set-of-Mark, GoM encodes relational information directly into the image by adding graph-based visual marks, improving the model's ability to interpret object positions and relative directions. Evaluated across three open-source MLMs and four datasets, GoM achieves consistent zero-shot improvements, boosting accuracy in visual question answering and localization by up to 11 percentage points. The method also supports auxiliary graph descriptions in the text prompt. The paper is presented at AAAI 2026.
Key Features
Pros & Cons
- Consistently improves zero-shot performance across multiple MLMs and datasets
- Up to 11 percentage points improvement on VQA and localization
- Training-free, easy to integrate with existing pre-trained MLMs
- First method to overlay scene graphs at pixel level for spatial reasoning
- Extensive ablations and analysis provided in the paper
- Requires pre-extracted scene graphs, which adds a preprocessing step
- Pixel-level overlays may introduce computational overhead compared to simpler marking techniques
- Evaluation limited to 4 datasets and 3 MLMs