TL;DR
This paper introduces I-AI, a novel system that decodes radiologists' focus during chest X-ray (CXR) diagnosis by not only identifying where they look but also how intensely. By integrating eye-tracking data with a vision-language model, I-AI generates interpretable heatmaps that allow for more accurate and controlled diagnoses, effectively masking out irrelevant image areas.
What Problem Does This Paper Address?
Current AI systems for medical image analysis, particularly in CXR diagnosis, often function as "black boxes." While they can achieve high accuracy in detecting abnormalities, they struggle to explain why they make a certain prediction. Existing interpretability methods, like Class Activation Mapping (CAM), can highlight areas of interest but often rely on unreliable correlations within the image, potentially leading to misinterpretations (e.g., using the diaphragm to diagnose cardiomegaly). Furthermore, these methods typically only address where a radiologist looks, neglecting the crucial aspects of how long they focus on specific areas and what findings they ultimately diagnose. This lack of insight into the radiologist's cognitive process limits the AI's ability to truly assist and build trust with medical professionals.
Methods
The core of the I-AI framework is a controllable and interpretable pipeline that integrates multiple modalities. It leverages a pre-trained vision-language model, BiomedCLIP, for both visual and textual encoding.
- Anatomic-Driven Adapter: This component takes a CXR image and an "anatomical prompt" (e.g., "Diagnosis of left lung") to guide the model's attention. It processes image patches through multiple transformer layers and fusion blocks, incorporating text embeddings to refine its understanding. A key innovation here is a learnable "scaling vector" that allows the model to dynamically re-weight features, ensuring that different anatomical parts contribute appropriately to the final output.
- Intensity Decoder: This module takes the output from the adapter and generates an "intensity heatmap." This heatmap aims to mimic the radiologist's gaze patterns, capturing not just location but also the intensity of their focus.
- Classifier: Using the generated heatmap, I-AI effectively "masks out" irrelevant parts of the CXR image. This focused image representation is then fed into a visual encoder (also from BiomedCLIP) and a classifier to predict the final diagnosis. This masking step is crucial for preventing the model from relying on spurious correlations.
The system is trained using a combination of losses: an L2 loss for the heatmap, and binary cross-entropy and dice loss for mask-related predictions.
Datasets
The primary dataset used is REFLACX, which contains eye-gaze data from radiologists analyzing CXR images, captured at high sensitivity (1000Hz). Crucially, REFLACX does not provide pre-computed gaze maps for specific anatomical parts. To address this, the authors:
- Manually annotated the REFLACX data to create disease-level gaze heatmap ground truths.
- Finetuned SAMed (a segmentation model) on EGD-CXR data to generate anatomical masks for the lungs and mediastinum, which were then manually corrected.
- Developed a semi-automatic approach to filter fixation sequences based on keywords in the provided transcripts and anatomical segmentation masks, ensuring that only relevant gaze points contribute to the ground truth heatmap.
The data was split into four settings for training and evaluation: Cardiomegaly (C), Left Lung (L), Right Lung (R), and a merged set (M).
Key Insights and Ideas
- Intensity Matters: The paper strongly argues that the intensity of a radiologist's gaze is as important as the location. By capturing this, I-AI can better mimic the diagnostic process.
- Masking is Key for Interpretability: Explicitly masking out irrelevant image regions based on the generated heatmap significantly improves the reliability of the AI's predictions and prevents it from learning spurious correlations.
- Controllability via Prompts: The use of anatomical prompts allows users to guide the AI's focus, making the system more controllable and tailored to specific diagnostic tasks.
- Vision-Language Models are Powerful: Leveraging pre-trained models like BiomedCLIP provides a strong foundation for both visual understanding and text-based control, reducing the need for extensive training from scratch.
Key Results
- Superior Heatmap Generation: I-AI's generated heatmaps are visually the closest match to ground truth gaze heatmaps compared to state-of-the-art CAM methods and Karargyris et al. [17].
- Improved Localization: I-AI achieves a high foreground IoU (fgIoU) of 37.27% and a background IoU (bgIoU) of 92.44%, outperforming most competitors in distinguishing relevant from irrelevant areas.
- Accurate Classification: Despite using only a portion of the image guided by its heatmap, I-AI achieves the highest classification accuracy of 76.86%, demonstrating that focusing on relevant areas does not harm, and may even enhance, performance.
- Robustness Across Settings: The model shows consistent performance across different diagnostic settings (C, L, R, M), indicating its generalizability.
Limitations and Future Work
- Manual Annotation Effort: Creating the ground truth heatmaps required significant manual annotation by expert radiologists, which can be time-consuming and expensive.
- Dataset Size for Cardiomegaly: The paper notes that Cardiomegaly was the only category with over 300 samples after annotation, suggesting potential data imbalance for other conditions.
- Future Work: The authors suggest that their approach can be extended to other medical imaging modalities and that further research could explore more sophisticated fusion mechanisms or attention strategies. The success of using only a portion of the image also opens avenues for more efficient AI models.
Summary updated