Abstract
Medication errors pose a significant threat to patient safety, making pharmacist verification (PV) a critical, yet heavily burdened, final safeguard. The direct application of Large Language Models (LLMs) to this zero-tolerance domain is untenable due to their inherent factual unreliability, lack of traceability, and weakness in complex reasoning. To address these challenges, we introduce PharmGraph-Auditor, a novel system designed for safe and evidence-grounded prescription auditing. The core of our system is a trustworthy Hybrid Pharmaceutical Knowledge Base (HPKB), implemented under the Virtual Knowledge Graph (VKG) paradigm. This architecture strategically unifies a relational component for set constraint satisfaction and a graph component for topological reasoning via a rigorous mapping layer. To construct this HPKB, we propose the Iterative Schema Refinement (ISR) algorithm, a framework that enables the co-evolution of both graph and relational schemas from medical texts. For auditing, we introduce the KB-grounded Chain of Verification (CoV), a new reasoning paradigm that transforms the LLM from an unreliable generator into a transparent reasoning engine. CoV decomposes the audit task into a sequence of verifiable queries against the HPKB, generating hybrid query plans to retrieve evidence from the most appropriate data store. Experimental results demonstrate robust knowledge extraction capabilities and show promises of using PharmGraph-Auditor to enable pharmacists to achieve safer and faster prescription verification.
Abstract (translated)
药物错误对患者安全构成重大威胁,使得药师核验(PV)成为一项关键但负担沉重的最后一道防线。直接将大型语言模型(LLMs)应用于这种零容忍领域是不可行的,因为这些模型本身具有事实上的不准确性、缺乏可追溯性以及在复杂推理方面的弱点。为了解决这些问题,我们引入了PharmGraph-Auditor系统,这是一个旨在进行安全且基于证据的处方审计的新系统。我们的系统的核心是一个值得信赖的混合药物知识库(HPKB),该库是在虚拟知识图(VKG)范式下实现的。这种架构通过严格的映射层策略性地将用于集合约束满足的关联部分与用于拓扑推理的图形部分结合在一起。 为了构建这个HPKB,我们提出了迭代模式精炼(ISR)算法,这是一种框架,能够使图表和关系模式从医学文本中共同进化。对于审计任务,我们引入了基于知识库验证链(CoV)的新推理范式,该范式将LLM从一个不可靠的生成器转变为透明的推理引擎。CoV将审计任务分解为一系列针对HPKB的可验证查询序列,通过生成混合查询计划来检索来自最适当数据存储的证据。 实验结果表明了强大的知识提取能力,并展示了使用PharmGraph-Auditor使药师能够实现更安全和更快处方核验的巨大潜力。
URL
https://arxiv.org/abs/2603.10891