Pi-PE: A Pipeline for Pulmonary Embolism Detection using Sparsely Annotated 3D CT Images

Deepta Rajan, David Beymer, Shafiqul Abedin, Ehsan Degan

TL;DR

This paper introduces Pi-PE, a novel two-stage pipeline for detecting pulmonary embolisms (PE) in 3D CT scans. It achieves state-of-the-art performance without requiring dense, slice-by-slice annotations, relying instead on sparse annotations and a computationally efficient architecture. This significantly reduces the annotation burden, making AI-driven PE detection more practical for clinical use.

What Problem Does This Paper Address?

Pulmonary embolisms (PE) are a major cause of cardiac-related mortality, and early detection is crucial for effective treatment. Diagnosing PE from CT scans is challenging due to the varied appearance of emboli and the sheer volume of data in a 3D CT study, making manual analysis time-consuming and error-prone. While AI, particularly deep learning, shows promise, existing methods often require "dense annotations" – detailed, slice-by-slice labeling of every PE instance. Acquiring such detailed annotations for large datasets is a significant bottleneck, hindering the development and deployment of robust PE detection systems. This paper aims to overcome this annotation challenge by developing an accurate and efficient PE detection pipeline that works with much sparser annotations.

Methods

The Pi-PE pipeline consists of two stages:

  • Stage 1: Candidate Mask Generation: This stage uses a "context-augmented U-Net" (CA U-Net) to generate segmentation masks that highlight regions likely to contain PE. The novelty here is the "context augmentation," where the U-Net processes not just a single slice but a stack of 9 neighboring slices (the target slice plus 4 above and 4 below). This allows the model to leverage spatial context from adjacent slices, improving the quality of the generated masks. The output is a probability map for each pixel indicating its likelihood of being a PE candidate.
  • Stage 2: Pulmonary Embolism Detection: This stage takes the masked CT volumes from Stage 1 and performs the final PE detection. It treats each 3D CT volume as a "bag of instances," where each instance is a 2D slice. A key component is a Conv-LSTM (Convolutional Long Short-Term Memory) network, which acts as an "instance-level feature extractor." This Conv-LSTM is designed to capture spatio-temporal correlations across slices, producing more meaningful features than processing each slice independently. These instance-level features are then aggregated using a Multiple Instance Learning (MIL) approach to produce a bag-level prediction (i.e., whether the entire CT scan contains a PE). The paper explores different aggregation strategies, including max pooling, mean pooling, and a learnable self-attention module.

Datasets

The authors used a custom, large-scale, multi-hospital chest CT dataset. This dataset includes:

  • 1,874 PE-positive and 718 PE-negative anonymized, contrast-enhanced chest CT studies.
  • The dataset represents variations across over 100 imaging centers and different imaging protocols (PE and CTA).
  • Crucially, the annotations are sparse, meaning emboli are only contoured on slices approximately 10mm apart, leaving many unannotated slices in between. This contrasts with existing PE detection research that often relies on dense annotations.

Key Insights and Ideas

  • Sparse Annotations are Sufficient: The most significant insight is that a high-performing PE detection system can be built using only sparsely annotated data, drastically reducing the annotation effort and cost.
  • Context Augmentation for Segmentation: Processing neighboring slices together in Stage 1 significantly improves the quality of candidate region segmentation masks.
  • Conv-LSTM for Instance Features: Using a Conv-LSTM in Stage 2 effectively captures inter-slice dependencies, leading to more robust feature extraction compared to treating slices independently.
  • Max Pooling as an Effective Aggregator: Surprisingly, simple max pooling for feature aggregation in the MIL framework performed as well as, or better than, more complex learnable attention mechanisms. This suggests that the Conv-LSTM already encodes sufficient relational information.
  • Focal Loss for Imbalanced Data: The use of Focal Loss, a technique designed for imbalanced datasets, significantly improved generalization performance compared to standard Binary Cross-Entropy loss.

Key Results

  • The Pi-PE pipeline achieved state-of-the-art performance on their challenging dataset.
  • Validation Set: An AUC score of 0.94 for all PE types.
  • Test Set: An AUC score of 0.85 for high-severity PEs.
  • The model uses significantly fewer parameters (3,168,116) compared to prior state-of-the-art models like PENet (28,398,705).
  • The pipeline demonstrated robustness to variations in CT convolution kernels, maintaining a consistent AUC of 0.78.
  • Performance was better for high-severity PEs (AUC 0.85) compared to low-severity PEs (AUC 0.70), which are inherently harder to detect.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that detecting low-severity PEs (subsegmental and segmental) is more challenging than high-severity ones.
  • While the dataset is large and multi-hospital, it's still a custom dataset, and generalization to entirely unseen datasets might require further validation.
  • The paper mentions that the Conv-LSTM model is computationally more intensive than simpler CNNs, though it's still more efficient than full 3D CNNs.
  • Future Work:
    • The authors suggest that their empirical study provides guidelines for designing generalizable pipelines, implying further exploration of architectural choices and training strategies.
  • While not explicitly stated as future work, the success with sparse annotations opens doors for applying similar strategies to other medical imaging tasks where dense annotations are a bottleneck.

Summary updated

Abstract

Pulmonary embolisms (PE) are known to be one of the leading causes for cardiac-related mortality. Due to inherent variabilities in how PE manifests and the cumbersome nature of manual diagnosis, there is growing interest in leveraging AI tools for detecting PE. In this paper, we build a two-stage detection pipeline that is accurate, computationally efficient, robust to variations in PE types and kernels used for CT reconstruction, and most importantly, does not require dense annotations. Given the challenges in acquiring expert annotations in large-scale datasets, our approach produces state-of-the-art results with very sparse emboli contours (at 10mm slice spacing), while using models with significantly lower number of parameters. We achieve AUC scores of 0.94 on the validation set and 0.85 on the test set of highly severe PEs. Using a large, real-world dataset characterized by complex PE types and patients from multiple hospitals, we present an elaborate empirical study and provide guidelines for designing highly generalizable pipelines.
BibTeX
@inproceedings{rajan2019pi,
  author = {Deepta Rajan and David Beymer and Shafiqul Abedin and Ehsan Degan},
  title = {{Pi-PE: A Pipeline for Pulmonary Embolism Detection using Sparsely Annotated 3D CT Images}},
  booktitle = {ML4H @ NeurIPS},
  year = {2019},
  url = {https://openreview.net/forum?id=8OdwUWQFU6D},
}
Figure