Skip to main content
QUICK REVIEW

[Paper 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 Science5 citations
TL;DR

KG-Rank augments LLM-based medical QA by retrieving one-hop KG triplets from UMLS, ranking/re-ranking them with multiple strategies, and generating long-form answers with enhanced factuality. It also shows open-domain gains via DBpedia-based retrieval.

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.

Motivation & Objective

  • Motivate improving factual accuracy and reliability of LLM-based medical QA by integrating structured medical knowledge.
  • Propose KG-Rank to retrieve and rank knowledge graph triplets before LLM inference for long-form answers.
  • Develop and compare multiple ranking strategies (similarity, answer expansion, MMR) and a re-ranking step to enhance factuality and reduce noise.
  • Demonstrate effectiveness on four medical QA datasets and extend the approach to open-domain QA.

Proposed method

  • Define external KG as G=(V,E) using UMLS as the primary medical KG.
  • Extract medical entities from questions using a Medical NER Prompt and map to KG entities.
  • Retrieve one-hop relations for Q-related entities from UMLS and encode triplets with UmlsBERT.
  • Apply three ranking methods (Similarity Ranking, Answer Expansion Ranking, MMR Ranking) to select relevant triplets.
  • Perform re-ranking with a medical cross-encoder to finalize the top-p triplets.
  • Input the task prompt and top-p triplets to an LLM (GPT-4 or LLM variants) to generate the final free-text answer.
  • Extend the framework to open-domain QA by replacing UMLS with DBpedia in Mintaka and evaluate using standard metrics.

Experimental results

Research questions

  • RQ1Can integrating a medical knowledge graph with ranking techniques improve factuality and usefulness of long-answer medical QA from LLMs?
  • RQ2Do ranking strategies effectively filter noise and highlight key information in KG triplets for medical QA?
  • RQ3How does KG-Rank perform on open-domain QA compared to medical domains?
  • RQ4What is the impact of re-ranking and medical cross-encoders on final answer quality?

Key findings

  • KG-Rank yields over 18% improvement in ROUGE-L on four medical QA datasets in zero-shot settings.
  • In open-domain QA, KG-Rank achieves about a 14% ROUGE-L improvement.
  • RR (re-ranking) method particularly boosts ExpertQA-Bio, ExpertQA-Med, and MedicationQA results.
  • GPT-4 consistently outperforms LLaMA2-13b across zero-shot and ranking settings.
  • MedCPT-based re-ranking models outperform Cohere in the medical QA re-ranking stage.
  • Open-domain extension to Mintaka (DBpedia) improved accuracy from 60.40% to 61.90%.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.