[논문 리뷰] KG-Rank: Enhancing Large Language Models for Medical QA with Knowledge Graphs and Ranking Techniques
KG-Rank는 UMLS에서 한 홉 KG 트리플을 검색하고, 이를 여러 전략으로 랭킹/재랭킹하며, 사실성을 강화한 장문형 답변을 생성합니다. 또한 DBpedia 기반 검색을 통해 오픈 도메인 이점을 보여줍니다.
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 기반의 의학 QA의 사실성 및 신뢰성을 향상시키려는 동기를 제시한다.
- LLM 추론 전에 지식 그래프 트리플을 검색하고 랭킹하기 위해 KG-Rank를 제안하여 장문 답변을 생성한다.
- 유사도 랭킹, 답변 확장 랭킹, MMR 랭킹 등 여러 랭킹 전략과 재랭킹 단계를 개발하고 비교하여 사실성 향상과 노이즈 감소를 도모한다.
- 네 가지 의학 QA 데이터셋에서 효과를 시연하고 이 접근법을 오픈 도메인 QA로 확장한다.
제안 방법
- 외부 KG를 G=(V,E)로 정의하고 UMLS를 주요 의학 KG로 사용한다.
- 질문에서 의학 엔티티를 추출하고 KG 엔티티로 매핑하기 위해 Medical NER 프롬프트를 사용한다.
- 질문 관련 엔티티의 한 홉(relations) 관계를 UMLS에서 검색하고 UmlsBERT로 트리플을 인코딩한다.
- 세 가지 랭킹 방법(Similarity Ranking, Answer Expansion Ranking, MMR Ranking)을 적용하여 관련 트리플을 선택한다.
- 상위 p개의 트리플을 확정하기 위해 의학 크로스 인코더로 재랭킹을 수행한다.
- 작업 프롬프트와 상위-p 트리플을 LLM(GPT-4 또는 LLM 변형)에 입력하여 최종 자유 텍스트 답변을 생성한다.
- Mintaka에서 UMLS를 DBpedia로 교체하여 오픈 도메인 QA로 프레임워크를 확장하고 표준 지표로 평가한다.
실험 결과
연구 질문
- RQ1의학 지식 그래프를 랭킹 기술과 통합하면 LLM의 장문 의학 QA의 사실성과 유용성이 향상될 수 있는가?
- RQ2랭킹 전략이 KG 트리플에서 노이즈를 효과적으로 걸러내고 핵심 정보를 강조하는가?
- RQ3의학 도메인과 비교하여 오픈 도메인 QA에서 KG-Rank의 성능은 어떠한가?
- RQ4재랭킹과 의학 크로스 인코더가 최종 답변 품질에 미치는 영향은 무엇인가?
주요 결과
- KG-Rank는 네 가지 의학 QA 데이터셋에서 제로샷 설정 시 ROUGE-L을 18% 이상 향상시킨다.
- 오픈 도메인 QA에서 KG-Rank는 약 14%의 ROUGE-L 향상을 달성한다.
- RR(재랭킹) 방법은 특히 ExpertQA-Bio, ExpertQA-Med, 및 MedicationQA 결과를 향상시킨다.
- GPT-4는 제로샷 및 랭킹 설정에서 LLaMA2-13b를 지속적으로 능가한다.
- MedCPT 기반 재랭킹 모델이 의학 QA 재랭킹 단계에서 Cohere를 능가한다.
- Mintaka(DBpedia)로의 오픈 도메인 확장은 정확도를 60.40%에서 61.90%로 향상시켰다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.