Skip to main content
QUICK REVIEW

[论文解读] KG-Rank: Enhancing Large Language Models for Medical QA with Knowledge Graphs and Ranking Techniques

Rui Yang, Haoran Liu|arXiv (Cornell University)|Mar 9, 2024
Topic ModelingComputer Science被引用 5
一句话总结

KG-Rank 通过从 UMLS 检索一跳 KG 三元组、用多种策略对它们进行排序/再排序,并生成具有更高事实性的长文本答案来增强基于 LLM 的医疗问答。它还通过基于 DBpedia 的检索显示了开放领域的提升。

ABSTRACT

Large language models (LLMs) have demonstrated impressive generative capabilities with the potential to innovate in medicine. However, the application of LLMs in real clinical settings remains challenging due to the lack of factual consistency in the generated content. In this work, we develop an augmented LLM framework, KG-Rank, which leverages a medical knowledge graph (KG) along with ranking and re-ranking techniques, to improve the factuality of long-form question answering (QA) in the medical domain. Specifically, when receiving a question, KG-Rank automatically identifies medical entities within the question and retrieves the related triples from the medical KG to gather factual information. Subsequently, KG-Rank innovatively applies multiple ranking techniques to refine the ordering of these triples, providing more relevant and precise information for LLM inference. To the best of our knowledge, KG-Rank is the first application of KG combined with ranking models in medical QA specifically for generating long answers. Evaluation on four selected medical QA datasets demonstrates that KG-Rank achieves an improvement of over 18% in ROUGE-L score. Additionally, we extend KG-Rank to open domains, including law, business, music, and history, where it realizes a 14% improvement in ROUGE-L score, indicating the effectiveness and great potential of KG-Rank.

研究动机与目标

  • 通过整合结构化的医学知识来提升基于 LLM 的医疗问答的事实准确性与可靠性。
  • 提出 KG-Rank,在进行 LLM 推理以生成长文本答案之前检索并对知识图谱三元组进行排序。
  • 开发并比较多种排序策略(相似度、答案扩展、MMR)以及重排序步骤,以提升事实性并降低噪声。
  • 在四个医疗问答数据集上验证有效性,并将该方法扩展到开放域问答。

提出的方法

  • 定义外部 KG 为 G=(V,E),以 UMLS 作为主要的医学知识图谱。
  • 使用 Medical NER Prompt 从问题中提取医学实体并映射到 KG 实体。
  • 从 UMLS 检索与问题相关实体的一跳关系,并用 UmlsBERT 编码三元组。
  • 应用三种排序方法(Similarity Ranking、Answer Expansion Ranking、MMR Ranking)来选择相关三元组。
  • 使用医学 cross-encoder 对排名结果进行重排序,以最终确定 top-p 三元组。
  • 将任务提示和 top-p 三元组输入到一个 LLM(GPT-4 或其他 LLM 变体),以生成最终的自由文本答案。
  • 通过在 Mintaka 将 UMLS 替换为 DBpedia,将框架扩展到开放域问答,并用标准指标进行评估。

实验结果

研究问题

  • RQ1是否将医学知识图谱与排序技术结合,能够提升基于 LLM 的医疗长答案的事实性与有用性?
  • RQ2排序策略是否能有效过滤噪声并突出 KG 三元组中对医疗问答关键的信息?
  • RQ3在开放域问答中,KG-Rank 的表现与医疗域相比如何?
  • RQ4再排序与医学 cross-encoders 对最终答案质量有何影响?

主要发现

  • KG-Rank 在四个医疗问答数据集的零-shot 设置中在 ROUGE-L 上提高超过 18%。
  • 在开放域问答中,KG-Rank 实现约 14% 的 ROUGE-L 提升。
  • RR(重排序)方法特别提升 ExpertQA-Bio、ExpertQA-Med 与 MedicationQA 的结果。
  • GPT-4 在零-shot 与排序设置下始终优于 LLaMA2-13b。
  • 基于 MedCPT 的重排序模型在医疗问答重排序阶段优于 Cohere。
  • 将 Mintaka(DBpedia)的开放域扩展将准确率从 60.40% 提升至 61.90%。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。