Graph Visualizations in Prompts for Knowledge Graph Question Answering
Luiz do Valle Miranda, Andreas L. Opdahl, Grzegorz J. Nalepa
Abstract
We study when and how multimodal input improves knowledge graph question answering (KGQA) in large vision--language models. Using a controlled evaluation over 1,500 WebQSP and CWQ questions and six VLMs within a fixed KGQA pipeline, we compare text-only prompting against text-plus-graph visualization at the per-question level and analyze performance changes as a function of reasoning complexity, model size, and image layout. Adding a graph image yields an average gain of 1.85 F1 points, driven by strong precision improvements on low-complexity questions (+4.65 F1). Mixed-effects and regression analyses show that these multimodal gains do not depend strongly on model scale, but are highly sensitive to graph layout: image-only settings sharply degrade performance, hierarchical Graphviz layouts outperform less organized renderings, and decomposing large subgraphs into separated paths yields the largest improvements. Taken together, the results indicate that visual prompting primarily aids KGQA by enhancing prediction precision in low-complexity contexts, provided that visual design respects cognitive and perceptual constraints. To optimize both accuracy and inference efficiency, we argue for adaptive visual prompting policies that selectively append diagrams to small, visually sparse subgraphs with well-structured layouts, avoiding unnecessary visual clutter and token overhead on complex queries. We conclude by relating these findings to a visual notation design theory, outlining how principled diagram encoding can guide future multimodal VLM prompting.
Create a lesson
Related papers
Similarity-Constrained Reweighting for Complex Query Answering on Knowledge Graphs
Shared title terminology · Daniel Daza, Alberto Bernardi, Luca Costabello et al.
Auditable Financial Knowledge Graphs: Schema-Driven Construction and Intrinsic Quality Evaluation
Shared title terminology · Samarth Sarin, Lovepreet Singh, Dhagash Mehta
DermKG: A Concept-Centric Knowledge Graph for Interpretable Skin Disease Diagnosis from Dermatological Morphology
Shared title terminology · Cheng Huang, Yanmei Li, Mao Lin
Rethinking Closed-Ended Medical VLM Evaluation: From Stable Wrongness to Counterfactual Answer Sensitivity
Shared title terminology · Qi Wu, Xiaoyu Liu, Ao Wang et al.
NoeVera: Can Knowledge Guide Experiments and Experiments Refine Knowledge?
Shared title terminology · Pinaki Prasad Guha Neogi, Spyros Mastorakis, Ankur Mallick et al.
When Wrong Answers Remain Unsettled: Failure Dynamics in Recurrent Reasoners
Shared title terminology · Jiucheng Zang, Congkai Peng, Yankai Wei