[Paper Review] Graph-of-Mark: Promote Spatial Reasoning in Multimodal Language Models with Graph-Based Visual Prompting
Graph-of-Mark introduces pixel-level scene graphs over images to prompt multimodal language models, improving zero-shot spatial reasoning in VQA and referring expression tasks across open-source models.
Recent advances in training-free visual prompting, such as Set-of-Mark, have emerged as a promising direction for enhancing the grounding capabilities of multimodal language models (MLMs). These techniques operate by partitioning the input image into object regions and annotating them with marks, predominantly boxes with numeric identifiers, before feeding the augmented image to the MLM. However, these approaches treat marked objects as isolated entities, failing to capture the relationships between them. On these premises, we propose Graph-of-Mark (GoM), the first pixel-level visual prompting technique that overlays scene graphs onto the input image for spatial reasoning tasks. We evaluate GoM across 3 open-source MLMs and 4 different datasets, conducting extensive ablations on drawn components and investigating the impact of auxiliary graph descriptions in the text prompt. Our results demonstrate that GoM consistently improves the zero-shot capability of MLMs in interpreting object positions and relative directions, improving base accuracy in visual question answering and localization up to 11 percentage points.
Motivation & Objective
- Motivate improved spatial reasoning in multimodal language models (MLMs) beyond object-level prompts.
- Develop a training-free, pixel-level visual prompting method that encodes object relations directly into the image.
- Ensure compatibility with existing MLMs without architectural changes or retraining.
- Demonstrate robustness across multiple datasets, detectors, and MLM architectures.
Proposed method
- Construct a scene-graph annotated image I_SG by detecting objects and estimating pairwise spatial relations.
- Use an ensemble of open- and closed-vocabulary detectors to maximize object recall without training.
- Render scene graphs as visual marks (nodes for objects, edges for relations) over the image with unique IDs and optional relation labels.
- Compute 7 relation types (above, below, left_of, right_of, in_front_of, behind, near) with possible modifiers (touching, very_close, close) and depth cues from monocular depth estimation.
- Prompt MLMs with either visual SG alone or combined visual+text SG descriptions to guide reasoning without changing model parameters.
Experimental results
Research questions
- RQ1Can pixel-level graph-augmented prompts (GoM) improve zero-shot spatial reasoning in MLMs for VQA and REC tasks?
- RQ2What is the impact of including edge labels and numeric vs textual object IDs on performance?
- RQ3How does GoM compare to SoM and segmentation-only prompts across diverse MLMs and datasets?
- RQ4What is the trade-off between graph density (number of edges) and performance/noise in GoM?
Key findings
- GoM consistently improves zero-shot spatial reasoning across 3 open-source MLMs and 4 datasets for VQA and REC.
- GoM surpasses the performance of existing image prompting techniques like Set-of-Mark (SoM) and segmentation-only prompts.
- LlamaV-o1 11B achieves the highest absolute scores (e.g., 83.6 in VQA, 57.6 in REC) among evaluated models, with GoM providing notable gains for reasoning-capable models.
- Best results often occur with 3–10 objects and 4–16 relations, indicating a sweet spot for graph density.
- Combining visual SG with verbalized SG cues yields additional gains beyond visual cues alone.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.