Automated Detection of Congenital Heart Disease in Fetal Ultrasound Screening

Jeremy Tan, Anselm Au, Qingjie Meng, Sandy FinesilverSmith, John M. Simpson, Daniel Rueckert, Reza Razavi, Thomas Day, David Lloyd, Bernhard Kainz

TL;DR

This paper introduces an automated pipeline to detect Congenital Heart Disease (CHD) in fetal ultrasound screenings, even when training data is scarce. By leveraging an auxiliary "view classification" task during training and using adversarial-style perturbations to filter out low-quality frames during inference, the model significantly improves diagnostic accuracy, boosting F1-scores up to 0.87 for healthy cases and 0.85 for CHD.

What Problem Does This Paper Address?

Congenital Heart Disease (CHD) is a leading cause of newborn mortality, responsible for over 47% of perinatal deaths from congenital abnormalities. While specialists can detect CHDs with over 98% sensitivity, a severe shortage of experts means that 96% of scans are performed by generalist sonographers. Consequently, real-world detection rates plummet to around 39%.

Deep learning could bridge this gap, but applying it to fetal ultrasound presents two major hurdles:

  1. Data Curation: Ultrasound videos contain mostly irrelevant anatomy. Extracting the specific "standard planes" needed for diagnosis is incredibly time-consuming. Furthermore, diseased hearts inherently deviate from standard anatomical definitions, making automated extraction unreliable.
  2. Low Data Regime: High-quality, expert-annotated datasets of rare cardiac conditions are exceptionally difficult to acquire.

The authors address these challenges by developing an automated pipeline that can accurately classify Hypoplastic Left Heart Syndrome (HLHS)—a severe form of CHD—using an uncurated dataset of just 100 patients.

Methods

The proposed workflow consists of two main stages: automated curation and pathology classification.

Fig. 1: Automated curation and classification pipeline.

1. Automated Curation

The pipeline first filters out non-diagnostic frames (like Doppler or split-view images) using basic color and histogram tests. It then uses a pre-trained standard plane detector (SonoNet) to automatically extract three key cardiac views: the 4-chamber heart (4CH), left ventricular outflow tract (LVOT), and right ventricular outflow tract (RVOT).

2. Multitask Learning & Feature Biasing

To prevent the model from simply memorizing patient-specific artifacts in the small dataset, the authors implement Multitask Learning. The network is trained to simultaneously predict the pathology (Healthy vs. HLHS) and the cardiac view (4CH vs. LVOT vs. RVOT). This auxiliary view-classification task forces the network to focus on robust, generalized cardiac structures. The loss function dynamically prioritizes harder CHD examples by scaling the weight of the view loss ($\lambda$).

3. Robust Inference via Cardiac-Preserving Perturbations

Automated curation inevitably lets some low-quality frames slip through, which introduces diagnostic noise. To combat this, the authors introduce a novel quality-control mechanism during inference. They use the gradient of the auxiliary view task to slightly perturb the input image. Crucially, these are cardiac-preserving perturbations—they alter the image background but leave the essential cardiac structures intact (as verified by the view predictor). If the model's CHD prediction changes when facing these minor background distortions, the prediction is deemed unreliable and discarded.

Datasets

The model was trained and evaluated on a dataset of 100 patients (39 healthy controls, 61 diagnosed with HLHS), collected as raw, unannotated ultrasound DICOM videos.

Table 1: Distribution of patients, clean cardiac frames, and different cardiac views.

To evaluate the pipeline's performance against human judgment, expert clinicians manually curated a subset (20% of patients), grading frames into high, medium, and low diagnostic quality.

Key Insights and Ideas

  • Auxiliary Tasks as Regularizers: In low-data regimes, deep networks easily overfit to irrelevant background details unique to specific patients. Forcing the network to also classify the anatomical view acts as an anchor, ensuring it learns actual cardiac anatomy.
  • Flipping Adversarial Attacks for Good: Instead of using adversarial perturbations to break a model, the authors use them to measure prediction stability. If a tiny, structure-preserving tweak changes the diagnosis, it's a clear signal that the model's prediction was based on background noise rather than clinical features.
  • Automated Quality Filtering: The robust inference mechanism successfully mimics expert clinical intuition. It automatically filters out poor-quality frames without requiring expensive, frame-by-frame manual annotations.

Key Results

Evaluating the model on uncurated data containing all frame qualities initially yielded a poor ROC-AUC of 0.75. However, introducing multitask learning and robust inference dramatically recovered performance.

Pathology classification results for different models.

When applying robust inference to filter out unreliable frames, the model achieved an ROC-AUC of 0.93, matching the performance achieved when humans manually selected only the highest-quality frames.

Fig. 3: ROC-AUC using different approaches of frame quality assessment. All methods improve upon regular inference (black). Cardiac-preserving perturba- tions stand out as being considerably better at removing unreliable predictions (green).

As shown above, cardiac-preserving perturbations (green line) consistently outperformed random noise or standard adversarial alterations at identifying and removing unreliable frames.

Limitations and Future Work

While promising, the study is limited by its small patient cohort (100 patients) and its focus on a single pathology (HLHS). Additionally, the standard plane detector used for curation was trained entirely on healthy hearts, meaning it might inadvertently discard highly deformed, pathologically relevant frames.

The authors note that incorporating temporal information (video sequences rather than still frames) and Doppler ultrasound imaging represents the logical next step toward a deployment-ready screening assistant.

Summary updated

BibTeX
@misc{tan2020automated,
  author = {Jeremy Tan and Anselm Au and Qingjie Meng and Sandy FinesilverSmith and John M. Simpson and Daniel Rueckert and Reza Razavi and Thomas Day and David Lloyd and Bernhard Kainz},
  title = {{Automated Detection of Congenital Heart Disease in Fetal Ultrasound Screening}},
  year = {2020},
  eprint = {2008.06966},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2008.06966},
}
Figure