Abstract
Generating accurate and coherent medical reports from images like chest X-rays remains a significant challenge in medical AI. Unlike standard image captioning, medical reports require precise clinical terminology and structured narratives. This paper introduces KERP (Knowledge-Driven Encode, Retrieve, Paraphrase), a framework that mimics the professional workflow of radiologists. By utilizing a novel Graph Transformer (GTR) to bridge visual features with structured medical knowledge, KERP detects abnormalities, retrieves relevant templates, and paraphrases them into high-quality reports. Experimental results on benchmark datasets demonstrate that KERP achieves state-of-the-art performance in both clinical accuracy and natural language generation.
Introduction
Medical report generation is a complex task that goes beyond simple object detection. A radiologist's report is a semantically dense narrative that follows strict clinical protocols. Current deep learning models often struggle with two primary issues: a lack of structured medical knowledge leading to "visual grounding gaps" (factually incorrect findings) and the difficulty of generating long-form, coherent narratives.
To address these, the researchers propose a workflow-inspired approach: identify abnormalities, refer to standard reporting templates, and customize those templates for the specific patient case.
The KERP Framework
The core of the proposed system is the KERP pipeline, which breaks down the generation process into three distinct stages: Encode, Retrieve, and Paraphrase.
1. Encode: Building the Abnormality Graph
A CNN first extracts visual features from the input images. These features are then processed by a Graph Transformer (GTR) to populate a structured Abnormality Graph. Each node in this graph represents a common clinical finding (e.g., "pleural effusion," "cardiomegaly"). For the IU X-Ray dataset, the graph consists of 80 such nodes. This step ensures the model's output is grounded in explicit medical findings rather than just statistical word correlations.
2. Retrieve: Template Selection
Based on the detected abnormalities and their confidence scores in the graph, the system retrieves a sequence of text templates from a pre-compiled database. This mimics how radiologists often use standard phrases for common findings, ensuring consistency and professional terminology.
3. Paraphrase: Narrative Generation
A final GTR module takes the retrieved templates and the specific visual context to "paraphrase" the text. This stage adjusts the language to reflect the nuances of the current case (e.g., specifying the severity or location of an abnormality) and ensures the final report flows naturally as a single narrative.
The Graph Transformer (GTR)
The GTR is the architectural backbone of KERP. It is designed to transform information between different domains (e.g., image pixels to graph nodes). It utilizes Source Attention for inter-graph message passing and Self Attention for intra-graph modeling, allowing the model to capture correlations between different medical conditions (e.g., how "lung opacity" might relate to "effusion").
Evaluation and Results
The model was evaluated on the IU X-Ray (7,470 images) and CX-CHR (45,598 images) datasets. KERP demonstrated superior performance across multiple dimensions:
- Clinical Accuracy: KERP achieved a significant improvement in Abnormality Classification AUC (0.686) compared to standard DenseNet baselines (0.612), indicating that the structured graph approach enhances the model's diagnostic capabilities.
- Language Quality: On the IU X-Ray dataset, KERP reached a BLEU-4 score of 0.162, outperforming previous state-of-the-art models.
- Human Preference: In blind evaluations, human experts preferred KERP-generated reports 57.4% of the time over competing models.
Conclusion
By integrating structured medical knowledge through the Graph Transformer and mimicking the radiological workflow, KERP provides a robust solution for automated medical report generation. While currently limited by a fixed abnormality vocabulary and template database, the framework represents a significant step toward AI systems that can "see" and "reason" like medical professionals. Future work may involve expanding the abnormality graph and applying the GTR architecture to other complex multi-domain tasks.
Summary updated