跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2608.07954 · v2

KGCache: Amortized Subgraph Retrieval for KG Reasoning with LLMs

首次提交 2026-08-08 14:36
版本更新 2026-11-21 06:17
雷达观测 2026-11-24 11:43
arXiv ↗PDF ↗

摘要

Large language models can answer knowledge-intensive questions more reliably when they are grounded with knowledge graphs, but systems such as Think-on-Graph and Reasoning-on-Graph repeatedly query the same graph neighborhoods across different questions. In this work, we study this repeated retrieval in Knowledge Graph Question Answering~(KGQA) workloads and propose KGCache, an in-memory cache for one-hop knowledge graph neighborhoods. KGCache is designed to be compatible with both iterative traversal (ToG) and one shot planning (RoG) KGQA paradigms. KGCache is placed between the KGQA engine and the backend serving the KG, so repeated entity requests can be served from cache instead of issuing new KG queries. We evaluate KGCache on WebQSP and CWQ using LRU, LFU, and a trace-aware Oracle policy. Our analysis shows that both datasets contain substantial entity reuse among starting entities and entities reached during traversal. We also explore semantic caching for similar queries, which shows additional hit-rate gains on WebQSP and needs further accuracy testing on CWQ. Entity caching accelerates KG retrieval by up to 1.91×1.91\times, while semantic-context caching achieves up to 1.08×1.08\times full-system speedup in the evaluated configurations, with each hit being up to 17.98×17.98\times faster. End-to-end gains are bounded by the share of runtime spent on KG retrieval, so caching is most beneficial when KG access is slow, e.g., with remote or large-scale KG backends.

作者备注:11 pages, 5 figures

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

本站首次收录为 v2,暂无更早版本可对照。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v2 · 2026-11-21 06:17 · 最新观测版本

KGCache: Amortized Subgraph Retrieval for KG Reasoning with LLMs

Large language models can answer knowledge-intensive questions more reliably when they are grounded with knowledge graphs, but systems such as Think-on-Graph and Reasoning-on-Graph repeatedly query the same graph neighborhoods across different questions. In this work, we study this repeated retrieval in Knowledge Graph Question Answering~(KGQA) workloads and propose KGCache, an in-memory cache for one-hop knowledge graph neighborhoods. KGCache is designed to be compatible with both iterative traversal (ToG) and one shot planning (RoG) KGQA paradigms. KGCache is placed between the KGQA engine and the backend serving the KG, so repeated entity requests can be served from cache instead of issuing new KG queries. We evaluate KGCache on WebQSP and CWQ using LRU, LFU, and a trace-aware Oracle policy. Our analysis shows that both datasets contain substantial entity reuse among starting entities and entities reached during traversal. We also explore semantic caching for similar queries, which shows additional hit-rate gains on WebQSP and needs further accuracy testing on CWQ. Entity caching accelerates KG retrieval by up to 1.91×1.91\times, while semantic-context caching achieves up to 1.08×1.08\times full-system speedup in the evaluated configurations, with each hit being up to 17.98×17.98\times faster. End-to-end gains are bounded by the share of runtime spent on KG retrieval, so caching is most beneficial when KG access is slow, e.g., with remote or large-scale KG backends.

查看此版本解读 →查看此版本原文 ↗