cd /news/artificial-intelligence/viskg-lm-compiling-knowledge-graphs-… · home topics artificial-intelligence article
[ARTICLE · art-133329] src=arxiv.org ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

VisKG-LM: Compiling Knowledge Graphs into Visual Memory for Multiple-Choice Question Answering

VisKG-LM, a new method detailed in arXiv paper 2609.19158v1, compiles retrieved knowledge graphs once offline into cached images that a language model reads as read-only visual memory, decoupling graph encoding from language reasoning. On the test sets of CommonsenseQA, OpenBookQA, and MedQA-USMLE, VisKG-LM improves over GreaseLM by 1.2, 0.8, and 4.3 points respectively, and gains 4.2, 6.5, and 5.1 points over a matched text-only control receiving the identical Relation-Labeled Paths. The method matches or surpasses GraphVis, a 7B vision-language model, with only about 400M online parameters.

by read1 min views1 publishedSep 18, 2026

arXiv:2609.19158v1 Announce Type: new Abstract: Knowledge graphs are usually integrated into question answering by encoding a retrieved subgraph with a graph neural network and fusing it with the language model in the online inference path. The same subgraph is therefore re-encoded from scratch every time a pair is scored, across training epochs, seeds, and evaluation runs, even though the knowledge graph never changes. We ask whether the retrieved knowledge graphs can instead be compiled once, offline, and then accessed as read-only memory. VisKG-LM shows that it can, by decoupling graph encoding from language reasoning. It serializes each retrieved candidate-specific subgraph as Relation-Labeled Paths and renders the result as an image whose two-dimensional layout preserves the branching structure of the paths. Each image is encoded once, offline, and cached for reuse. At inference, the language model contextualizes the question and candidate from text alone, and only its final layer consults the cached visual memory, reading both its global layout and its local relational detail. The graph information thus enters only after the text has been understood. On the test sets of CommonsenseQA, OpenBookQA, and MedQA-USMLE, VisKG-LMimproves over GreaseLM by $1.2$, $0.8$, and $4.3$ points, respectively, while matching or surpassing GraphVis, a $7$B vision-language model, with only about $400$M online parameters. Against a matched text-only control that receives the identical Relation-Labeled Paths, it gains $4.2$, $6.5$, and $5.1$ points across the three benchmarks. These gains show that the complete visual-memory interface adds value beyond path textualization alone and support compiled visual memory as an alternative to online graph propagation.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @viskg-lm 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/viskg-lm-compiling-k…] indexed:0 read:1min 2026-09-18 ·