Deep learning-based detection of intravenous contrast in computed tomography scans

Zezhong Ye, Jack M. Qian, Ahmed Hosny, Roman Zeleznik, Deborah Plana, Jirapat Likitlersuang, Zhongyi Zhang, Raymond H. Mak, Hugo J. W. L. Aerts, Benjamin H. KannarXiv 2021 · arXiv

TL;DR

This paper introduces a deep learning model that accurately and efficiently detects intravenous (IV) contrast in CT scans, a crucial but often poorly documented piece of information for medical imaging analysis. The model achieves near-perfect performance on head and neck and lung CT scans, paving the way for automated data curation and quality control in large-scale imaging studies.

What Problem Does This Paper Address?

Accurately identifying whether intravenous (IV) contrast was used during a CT scan is fundamental for many medical imaging analyses, from model development to clinical research. However, this information is frequently missing or incorrect in the DICOM metadata, requiring time-consuming and labor-intensive manual review by expert clinicians. This manual process is a significant bottleneck for large-scale studies and the deployment of AI algorithms in healthcare. The authors aim to automate this process by developing a reliable deep learning model for IV contrast detection.

Methods

The core of this work is a Convolutional Neural Network (CNN) based deep learning platform. The authors explored several established CNN architectures, including ResNet101V2, InceptionV3, and EfficientNetB4, as well as a simple custom CNN. They employed a transfer learning approach, leveraging pre-trained weights from ImageNet for the EfficientNetB4 model. The models were trained on image slices and then evaluated at both the image and patient levels. For patient-level evaluation, image slice predictions were aggregated. The key innovation lies in the application of these advanced deep learning techniques to the specific problem of IV contrast detection in CT scans, demonstrating its effectiveness across different anatomical regions.

Datasets

The study utilized several large, publicly available, de-identified CT scan datasets:

  • Head and Neck (HN) Cancer Datasets:
    • PMH cohort (n=558)
    • CHUM cohort (n=61) & CHUS cohort (n=101)
    • MDACC cohort (n=603)
    • Total HN scans used for training and internal validation: 1,979 scans (33,264 images for training, 14,256 for internal validation).
  • Additional HN scans from MDACC (n=595, 39,270 images) were used for independent external validation.
  • Chest CT Datasets:
    • Harvard-RT cohort (n=262)
    • RTOG-0617 cohort (n=402)
    • The Harvard-RT cohort was used to fine-tune the HN model for chest CT (n=209 for fine-tuning, n=53 for internal validation).
  • The RTOG-0617 cohort (n=402, 28,140 images) was used for external validation of the fine-tuned model.

Key Insights and Ideas

  • Metadata is Unreliable: The study confirms that DICOM metadata for IV contrast is frequently missing or erroneous, with over 70% of scans in their study exhibiting such issues. This highlights the critical need for automated solutions.
  • Transfer Learning is Effective: A model initially developed for head and neck CT scans could be successfully fine-tuned and applied to chest CT scans, demonstrating the generalizability of the approach.
  • Deep Learning Outperforms Metadata: The deep learning model achieved significantly higher AUC values for contrast detection compared to relying on the available DICOM metadata.
  • Biological Relevance: Gradient-weighted class activation maps (Grad-CAM) showed that the model focused on anatomical regions consistent with biological expectations (e.g., blood vessels) for contrast enhancement, suggesting the model is learning meaningful patterns.

Key Results

  • High Performance: The EfficientNetB4 model achieved near-perfect performance across various validation sets.
  • For head and neck CT scans, patient-level AUCs were 0.996 (internal validation) and 1.0 (external validation).
  • For chest CT scans, the fine-tuned model achieved an AUC of 1.0 (internal validation) and 0.980 (external validation).
  • Efficiency: The algorithm generated predictions at a rate of 0.91 seconds per scan on a GPU, a significant improvement over the ~20 seconds per scan for manual review by clinicians.
  • Robustness: The model demonstrated robustness across different institutions, scanner models, slice thicknesses, and spatial resolutions.
  • Metadata vs. Model: For internal validation, the metadata yielded an AUC of 0.185, while the model achieved 0.988. For external validation, metadata AUC was 0.598, compared to the model's 0.976.

Limitations and Future Work

  • 2D Architectures: The study was limited to 2D CNN architectures. The authors acknowledge that 3D CNN models, while more complex and computationally intensive, could be explored in future work.
  • Uncaptured Confounders: Datasets from different institutions might contain uncaptured confounders. The authors recommend users perform small local tests before large-scale implementation.
  • Other Anatomies: While the model performed well on head/neck and chest, its performance on other anatomical regions (e.g., abdomen, pelvis) was outside the scope of this study. Future work will involve extrapolating the model to these regions.
  • Artifacts: While the model generally handled artifacts well, severe metal streak artifacts were identified as a cause of failure in a few cases.
  • Faint Contrast: A small number of scans with faint contrast were incorrectly predicted as non-contrast, with probability scores close to the 0.5 threshold.

Summary updated

BibTeX
@misc{ye2021deep,
  author = {Zezhong Ye and Jack M. Qian and Ahmed Hosny and Roman Zeleznik and Deborah Plana and Jirapat Likitlersuang and Zhongyi Zhang and Raymond H. Mak and Hugo J. W. L. Aerts and Benjamin H. Kann},
  title = {{Deep learning-based detection of intravenous contrast in computed tomography scans}},
  year = {2021},
  eprint = {2110.08424},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.08424},
}
Figure