[Paper Review] K-Diag: Knowledge-enhanced Disease Diagnosis in Radiographic Imaging
K-Diag proposes a knowledge-enhanced framework for radiographic disease diagnosis by integrating medical knowledge graphs via contrastive learning and using learnable prompt vectors to adapt visual representations. It achieves state-of-the-art performance on long-tailed and zero-shot disease recognition, with AUC >0.600 on 79 out of 106 unseen radiographic findings in zero-shot evaluation.
In this paper, we consider the problem of disease diagnosis. Unlike the conventional learning paradigm that treats labels independently, we propose a knowledge-enhanced framework, that enables training visual representation with the guidance of medical domain knowledge. In particular, we make the following contributions: First, to explicitly incorporate experts' knowledge, we propose to learn a neural representation for the medical knowledge graph via contrastive learning, implicitly establishing relations between different medical concepts. Second, while training the visual encoder, we keep the parameters of the knowledge encoder frozen and propose to learn a set of prompt vectors for efficient adaptation. Third, we adopt a Transformer-based disease-query module for cross-model fusion, which naturally enables explainable diagnosis results via cross attention. To validate the effectiveness of our proposed framework, we conduct thorough experiments on three x-ray imaging datasets across different anatomy structures, showing our model is able to exploit the implicit relations between diseases/findings, thus is beneficial to the commonly encountered problem in the medical domain, namely, long-tailed and zero-shot recognition, which conventional methods either struggle or completely fail to realize.
Motivation & Objective
- To address the limitations of conventional supervised learning in medical imaging, which treats disease labels as independent and orthogonal, ignoring intrinsic semantic relationships.
- To improve generalization in long-tailed disease recognition by leveraging shared knowledge across related medical concepts.
- To enable zero-shot diagnosis of previously unseen diseases by injecting domain knowledge into the visual representation learning process.
- To develop an explainable diagnosis framework through cross-attention mechanisms between disease queries and visual features.
Proposed method
- A knowledge encoder is trained via contrastive learning on a medical knowledge graph to embed disease and finding concepts into a continuous, relation-aware space.
- The visual encoder is trained with frozen knowledge encoder parameters, while a learnable prompt vector module enables efficient adaptation to downstream tasks.
- A Transformer-based disease-query module performs cross-attention between disease names (queries) and visual features to generate explainable, attention-weighted predictions.
- The framework uses continuous label embeddings derived from the knowledge graph instead of one-hot vectors, enabling the model to exploit semantic relationships between pathologies.
- The model is trained end-to-end with a contrastive objective that aligns visual features with knowledge-embedded disease descriptions.
- The system supports both few-shot and zero-shot inference by directly encoding unseen disease names into the knowledge space during inference.

Experimental results
Research questions
- RQ1Can injecting medical domain knowledge into visual representation learning improve performance on long-tailed disease recognition in radiographic imaging?
- RQ2Can a knowledge-enhanced framework enable zero-shot diagnosis of diseases not seen during training?
- RQ3How does the use of continuous, knowledge-embedded label representations compare to one-hot encoding in capturing semantic relationships between diseases?
- RQ4To what extent can knowledge-enhanced models generalize across diverse anatomical structures and datasets with varying annotation granularities?
- RQ5Can the attention mechanism in the disease-query module provide interpretable insights into model predictions?
Key findings
- On three x-ray datasets, K-Diag improved AUC by 2.53% (ResNet) and 2.15% (ViT) compared to baseline models using one-hot labels.
- When training on a combined dataset of 11 public chest X-ray datasets, K-Diag achieved a 2.14% higher average AUC than the baseline, demonstrating better data utilization.
- In zero-shot evaluation on PadChest, K-Diag achieved an AUC of at least 0.600 on 79 out of 106 unseen radiographic findings, a result unattainable with conventional supervised learning.
- The model achieved an AUC of at least 0.800 on 14 findings and at least 0.700 on 46 findings in the zero-shot setting, indicating strong generalization to rare or novel pathologies.
- Adding class diversity (unseen diseases) without increasing target class data improved performance on all 11 datasets, especially on small datasets like GoogleNIH and SIIM-ACR.
- The ablation study confirmed that the knowledge encoder and prompt learning components are essential, with performance dropping significantly when either is removed.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.