LLaVA Needs More Knowledge: Retrieval Augmented Natural Language Generation with Knowledge Graph for Explaining Thoracic Pathologies

Ameer Hamza, Abdullah, Yong Hyun Ahn, Sungyoung Lee, Seong Tae Kim
10/7/2024
cs.CV

No official code found. Best implementation: ailab-kyunghee/KG-LLaVA (9 stars, Apache-2.0, last commit 2025-04-08).

Abstract

Generating Natural Language Explanations (NLEs) for model predictions on medical images, particularly those depicting thoracic pathologies, remains a critical and challenging task. Existing methodologies often struggle due to general models' insufficient domain-specific medical knowledge and privacy concerns associated with retrieval-based augmentation techniques. To address these issues, we propose a novel Vision-Language framework augmented with a Knowledge Graph (KG)-based datastore, which enhances the model's understanding by incorporating additional domain-specific medical knowledge essential for generating accurate and informative NLEs. Our framework employs a KG-based retrieval mechanism that not only improves the precision of the generated explanations but also preserves data privacy by avoiding direct data retrieval. The KG datastore is designed as a plug-and-play module, allowing for seamless integration with various model architectures. We introduce and evaluate three distinct frameworks within this paradigm: KG-LLaVA, which integrates the pre-trained LLaVA model with KG-RAG; Med-XPT, a custom framework combining MedCLIP, a transformer-based projector, and GPT-2; and Bio-LLaVA, which adapts LLaVA by incorporating the Bio-ViT-L vision model. These frameworks are validated on the MIMIC-NLE dataset, where they achieve state-of-the-art results, underscoring the effectiveness of KG augmentation in generating high-quality NLEs for thoracic pathologies.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Official implementation of "LLaVA Needs More Knowledge: Retrieval-Augmented NLG with Knowledge Graph for Explaining Thoracic Pathologies" (AAAI 2025). This repo provides the KG-LLaVA framework, integrating KG-based Retrieval-Augmented Generation (KG-RAG) with Vision-Language Models to generate NLEs for medical imaging.

90CSS, HTMLDec 18, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{hamza2024llava,
  title  = {LLaVA Needs More Knowledge: Retrieval Augmented Natural Language Generation with Knowledge Graph for Explaining Thoracic Pathologies},
  author = {Ameer Hamza and Abdullah and Yong Hyun Ahn and Sungyoung Lee and Seong Tae Kim},
  year   = {2024},
  eprint = {2410.04749},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.04749v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.04749.svg)](https://codeofpaper.com/paper/2410.04749)

Discussion