R2GenKG: Hierarchical Multi-modal Knowledge Graph for LLM-based Radiology Report Generation

Futian Wang, Yuhan Qiao, Xiao Wang, Fuling Wang, Yuxiang Zhang +1 more
8/5/2025
cs.CVcs.AIcs.LG

Official code: Event-AHU/Medical_Image_Analysis (243 stars, BSD-3-Clause, last commit 2026-02-27).

Abstract

X-ray medical report generation is one of the important applications of artificial intelligence in healthcare. With the support of large foundation models, the quality of medical report generation has significantly improved. However, challenges such as hallucination and weak disease diagnostic capability still persist. In this paper, we first construct a large-scale multi-modal medical knowledge graph (termed M3KG) based on the ground truth medical report using the GPT-4o. It contains 2477 entities, 3 kinds of relations, 37424 triples, and 6943 disease-aware vision tokens for the CheXpert Plus dataset. Then, we sample it to obtain multi-granularity semantic graphs and use an R-GCN encoder for feature extraction. For the input X-ray image, we adopt the Swin-Transformer to extract the vision features and interact with the knowledge using cross-attention. The vision tokens are fed into a Q-former and retrieved the disease-aware vision tokens using another cross-attention. Finally, we adopt the large language model to map the semantic knowledge graph, input X-ray image, and disease-aware vision tokens into language descriptions. Extensive experiments on multiple datasets fully validated the effectiveness of our proposed knowledge graph and X-ray report generation framework. The source code of this paper will be released on https://github.com/Event-AHU/Medical_Image_Analysis.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

Foundation models based medical image analysis

24318C, C++Dec 25, 20237 months agoBSD-3-Clause
context-sample-retrievalfoundation-modellarge-language-modelllmmae+8 more

Similar Papers

Cite this paper

@article{wang2025rgenkg,
  title  = {R2GenKG: Hierarchical Multi-modal Knowledge Graph for LLM-based Radiology Report Generation},
  author = {Futian Wang and Yuhan Qiao and Xiao Wang and Fuling Wang and Yuxiang Zhang and Dengdi Sun},
  year   = {2025},
  eprint = {2508.03426},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.03426v1}
}

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/2508.03426.svg)](https://codeofpaper.com/paper/2508.03426)

Discussion