量子知识图谱:建模依赖上下文的三元组有效性
Quantum Knowledge Graph: Modeling Context-Dependent Triplet Validity
AI总结:
本文提出量子知识图谱(QKG),通过将三元组有效性建模为上下文特定函数,提升医疗问答中事实适用性的判断,实验表明QKG在结合上下文匹配时显著提升验证效果。
摘要:
知识图谱(KGs)日益被用于支持大语言模型(LLM)推理,但标准三元组基于KGs将每个关系视为全局有效。在许多情况下,是否将关系视为证据取决于上下文。因此,我们将三元组有效性建模为三元组特定的上下文函数,并将其称为量子知识图谱(QKG)。我们通过医疗领域中的糖尿病中心PrimeKG子图实例化QKG,其中68,651个上下文敏感的关系进一步注释为患者组特定的约束。我们在一个基于KG的MedReason子集上评估了它,包含2,788个问题。使用Haiku-4.5作为推理器和验证器,KG支持的验证显著优于无验证器基线(+0.61个百分点),而QKG结合上下文匹配获得最大收益,优于无上下文匹配的KG验证(+0.79个百分点)和无验证器基线(+1.40个百分点;配对McNemar检验,所有p<0.05)。在更强的验证器(Qwen-3.6-Plus)下,QKG相对于无验证器基线的收益从+1.40个百分点增长到+5.96个百分点;上下文匹配的差距在原始集上不显著(p=0.73),但在调整知识泄漏和可疑问题后成为边缘显著(p=0.05),与基准金牌顶而非QKG限制一致。总体而言,结果支持了KG在LLM基于临床推理中的价值不仅在于存储医学相关事实,还在于表示这些事实是否适用于特定患者情境。为可重复性和进一步研究,我们发布了经过整理的QKG数据集和源代码。
英文摘要:
Knowledge graphs (KGs) are increasingly used to support large lan guage model (LLM) reasoning, but standard triplet-based KGs treat each relation as globally valid. In many settings, whether a relation should count as evidence depends on the context. We therefore formulate triplet validity as a triplet-specific function of context and refer to this formulation as a Quantum Knowledge Graph (QKG). We instantiate QKG in medicine using a diabetes-centered PrimeKG subgraph, whose 68,651 context-sensitive relations are further annotated with patient-group-specific constraints. We evaluate it in a reasoner--validator pipeline for medical question answering on a KG-grounded subset of MedReason containing 2,788 questions. With Haiku-4.5 as both the Reasoner and the Validator, KG-backed validation significantly improves over a no-validator baseline ($+0.61$ pp), and QKG with context matching yields the largest gain, outperforming both KG validation without context matching ($+0.79$ pp) and the no-validator baseline ($+1.40$ pp; paired McNemar, all $p<0.05$). Under a stronger validator (Qwen-3.6-Plus), the raw QKG gain over the no-validator baseline grows from $+1.40$ pp to $+5.96$ pp; the context-matching gap is non-significant ($p=0.73$) on the raw set but becomes borderline significant ($p=0.05$) after adjustment for knowledge leakage and suspicious questions, consistent with a benchmark-gold ceiling rather than a QKG limitation. Taken together, the results support the view that the value of a KG in LLM-based clinical reasoning lies not merely in storing medically related facts, but in representing whether those facts are applicable to the specific patient context. For reproducibility and further research, we release the curated QKG datasets and source code.\footnote{https://github.com/HKAI-Sci/QKG}
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。