Cross- and Intra-image Prototypical Learning for Multi-label Disease Diagnosis and Interpretation

Chong Wang, Fengbei Liu, Yuanhong Chen, Helen Frazer, Gustavo Carneiro · DOI

Abstract

The Cross- and Intra-image Prototypical Learning (CIPL) framework addresses the interpretability gap in medical AI for multi-label disease diagnosis. By employing a novel co-attention mechanism to disentangle overlapping disease features and a dual-alignment strategy for robustness, CIPL achieves state-of-the-art performance on chest X-ray and fundus image benchmarks. The framework provides clinically meaningful visual evidence, effectively mimicking human case-based reasoning to move beyond "black box" predictions.

Introduction

Deep Neural Networks (DNNs) have shown immense potential in medical imaging, yet their lack of transparency remains a significant barrier to clinical adoption. Prototypical learning offers a path toward interpretability by identifying representative image patches (prototypes) that justify a model's prediction. However, in multi-label scenarios—where a single image may contain multiple pathologies such as a mass and an effusion—features often become "entangled," leading to noisy and unreliable prototypes that activate for the wrong reasons.

Conceptual comparison of (a) standard prototypical learning, (b) co-attention based learning, and (c) alignment-based learning.

The CIPL framework aims to disentangle these features, ensuring that learned prototypes are distinct and clinically relevant. It moves beyond isolated image analysis by leveraging relationships between images and enforcing consistency across different views of the same data, ensuring the model is consistent in how it reaches a prediction, not just what it predicts.

The CIPL Framework

The CIPL architecture integrates two core strategies to refine prototype learning and improve diagnostic reliability:

1. Cross-image Prototypical Learning

To address feature entanglement, CIPL utilizes a co-attention mechanism. When presented with a pair of images sharing a common disease label, the model calculates an affinity matrix to identify shared pathological features. By focusing on this "intersection" and suppressing unique or irrelevant features (noise) from other co-occurring diseases, the model can isolate pure prototypes for specific pathologies.

2. Intra-image Prototypical Learning

Robustness is ensured through a self-supervised alignment strategy. The model generates two augmented views of the same image and enforces consistency at two levels:

  • Interpretation Alignment: Ensures that the similarity maps (the spatial activation of prototypes) remain consistent across both views.
  • Prediction Alignment: Maintains consistent batch-level correlations between samples across views to stabilize the feature space.
Detailed overview of the CIPL framework, showing (a) the overall pipeline with EMA stabilization, (b) the structure of learned prototypes, and (c) the co-attention affinity matrix logic.

The framework typically employs a DenseNet-121 or ResNet-101 backbone, with an Exponential Moving Average (EMA) model used to stabilize the training of these alignments.

Datasets and Evaluation

The model was rigorously evaluated on three key benchmarks:

  • NIH ChestX-ray14: A large-scale dataset of 112,120 images with 14 labels, including a subset for testing weakly-supervised localization.
  • ODIR (Ocular Disease Intelligent Recognition): 10,000 color fundus images covering 8 ophthalmic categories.
  • Pediatric Chest X-ray: Used for validating performance in single-label contexts.

Results and Discussion

CIPL demonstrates superior performance in both diagnostic accuracy and interpretability:

  • Diagnostic Accuracy: Achieved a mean AUC of 0.828 on ChestX-ray14, outperforming standard black-box models and previous interpretable architectures like ProtoPNet.
  • Localization Precision: In weakly-supervised localization tasks (finding the disease region without explicit training), CIPL reached an accuracy of 0.78 (at IoU 0.1), significantly surpassing traditional Class Activation Map (CAM) methods.
  • Qualitative Interpretability: Visualizations confirm that CIPL learns "cleaner" prototypes. Unlike previous methods that might confuse visually similar pathologies (e.g., mass vs. effusion), CIPL's prototypes are highly specific to the target pathology's texture and appearance.

Conclusion

CIPL bridges the gap between high-performance deep learning and clinical interpretability. By mimicking case-based reasoning and disentangling multi-label features, it provides a more trustworthy tool for radiologists. While the model still faces challenges with extremely subtle lesions or visually overlapping classes like "mass" vs. "nodule," future work will focus on incorporating stricter geometric or anatomical priors to further refine prototype separation.

Summary updated

BibTeX
@article{wang2025cross,
  author = {Chong Wang and Fengbei Liu and Yuanhong Chen and Helen Frazer and Gustavo Carneiro},
  title = {{Cross- and Intra-image Prototypical Learning for Multi-label Disease Diagnosis and Interpretation}},
  journal = {IEEE Trans. Medical Imaging},
  year = {2025},
  doi = {10.1109/tmi.2025.3541830},
}
Figure