Atrial Septal Defect Detection in Children Based on Ultrasound Video Using Multiple Instances Learning

Yiman Liu, Qiming Huang, Xiaoxiang Han, Tongtong Liang, Zhifang Zhang, Lijun Chen, Jinfeng Wang, Angelos Stefanidis, Jionglong Su, Jiangang Chen, Qingli Li, Yuqi Zhang

TL;DR

Researchers have developed a deep learning system that uses Multiple Instance Learning (MIL) to detect Atrial Septal Defects (ASD) in children directly from ultrasound videos. By combining spatial frame features with temporal motion data, the model achieves an 89.33% AUC, outperforming both standard 3D networks and clinical experts in diagnostic accuracy.

What Problem Does This Paper Address?

Atrial Septal Defect (ASD) is one of the most common congenital heart defects, where a "hole" in the wall between the heart's upper chambers leads to abnormal blood flow. While Transthoracic Echocardiography (TTE) is the gold standard for diagnosis, it is inherently subjective. Accurate interpretation requires significant expertise, and in regions with a shortage of senior sonographers, diagnostic errors can reach up to 30%.

Technically, detecting ASD in video is challenging because the diagnostic "shunt" (the abnormal blood flow) may only appear in a few frames of a cardiac cycle. Standard 3D convolutional networks often struggle with this because ultrasound frames are highly redundant, leading to overfitting. This paper seeks to bridge the gap by creating a robust, automated video-level diagnosis system.

Methods

The authors propose a two-branch architecture based on Multiple Instance Learning (MIL). In this framework, a video is treated as a "bag" of frames, and the goal is to classify the bag based on the instances (frames) within it.

  1. Spatial Branch: Uses a ResNet18 backbone to extract features from individual frames. These features are then aggregated using Attention Pooling, which allows the model to learn which frames are most important for the diagnosis.
  2. Temporal Branch: Employs an r3D network (a 3D ResNet variant) to capture the motion dynamics of the color Doppler signals, which indicate blood flow direction and velocity.
  3. Novel Sampling Strategies:
    • Block Random Selection (BRS): During training, the video is divided into $N$ blocks, and one frame is randomly selected from each. This ensures the model sees a diverse range of the cardiac cycle and prevents it from overfitting on nearly identical adjacent frames.
  4. Maximal Agreement Decision (MAD): During testing, the model uses a "majority rule" approach across video blocks to refine the final prediction, mimicking a consensus among multiple experts.
Figure 3: The architecture of our proposed model for ASD detection. It contains two branches. One branch is employed to extract the spatial features of the video, while the other branch employs an r3D network to capture the temporal features of the video. These two features are then concatenated for final classification.

Datasets

The study utilized a private dataset from the Shanghai Children’s Medical Center, consisting of:

  • Main Cohort: 300 pediatric patients (150 ASD, 150 normal) providing 600 dynamic color Doppler videos.
  • Clinical Test Set: An additional 30 patients (15 ASD, 15 normal) used specifically to compare the model against human doctors.
  • Views: The researchers focused on two standard views: the subcostal view of the atrial septum (subAS) and the low parasternal four-chamber view (LPS4C).
Figure 1: Inclusion and exclusion criteria for the main cohort of this study

Key Insights and Ideas

  • Video-Level Context is King: This is the first study to classify ASD based on full video-level data rather than static images. This is crucial because the defect is a dynamic phenomenon tied to the heartbeat.
  • 2D + Attention > Pure 3D: The authors found that 2D-based models with attention mechanisms were superior to pure 3D models. They argue that because ultrasound frames are so similar, 3D convolutions are prone to "memorizing" noise rather than learning features.
  • Visualizing the "Why": Heatmaps generated by the model (Figure 5) confirm that it focuses primarily on the color Doppler signal areas—exactly where a human sonographer looks to find shunts.
  • Sampling Matters: The transition from random frame sampling to Block Random Selection significantly improved the robustness of the training process.
Frame selection strategies for training (BRS) and testing (MAD).

Key Results

The proposed model demonstrated strong performance across several metrics:

  • AUC: 89.33% ± 3.13
  • Accuracy: 84.95% ± 3.88
  • Sensitivity: 85.70% ± 4.91
  • F1 Score: 81.99% ± 5.30

In a direct comparison on the 30-case test set, the model achieved 83.33% accuracy, significantly outperforming both senior doctors (71.70%) and junior doctors (63.66%). While the doctors had a higher Negative Predictive Value (NPV), the model's higher Positive Predictive Value (PPV) suggests it is particularly effective at avoiding false positives.

Limitations and Future Work

The authors acknowledge four primary limitations:

  1. Limited Views: The model only uses two standard ultrasound views; incorporating non-standard views could improve coverage.
  2. Specific ASD Types: The dataset was limited to secundum ASD with left-to-right shunts. Other types of defects were not included.
  3. Data Volume: The study was single-centered with a relatively small sample size.
  4. NPV Gap: The model's ability to rule out ASD (NPV) was lower than that of human experts, which is a critical area for improvement before clinical deployment.

Future work will focus on multi-center data collection and expanding the model to recognize a wider variety of cardiac malformations.

Summary updated

Abstract

Purpose: Congenital heart defect (CHD) is the most common birth defect. Thoracic echocardiography (TTE) can provide sufficient cardiac structure information, evaluate hemodynamics and cardiac function, and is an effective method for atrial septal defect (ASD) examination. This paper aims to study a deep learning method based on cardiac ultrasound video to assist in ASD diagnosis. Materials and methods: We select two standard views of the atrial septum (subAS) and low parasternal four-compartment view (LPS4C) as the two views to identify ASD. We enlist data from 300 children patients as part of a double-blind experiment for five-fold cross-validation to verify the performance of our model. In addition, data from 30 children patients (15 positives and 15 negatives) are collected for clinician testing and compared to our model test results (these 30 samples do not participate in model training). We propose an echocardiography video-based atrial septal defect diagnosis system. In our model, we present a block random selection, maximal agreement decision and frame sampling strategy for training and testing respectively, resNet18 and r3D networks are used to extract the frame features and aggregate them to build a rich video-level representation. Results: We validate our model using our private dataset by five-cross validation. For ASD detection, we achieve 89.33 AUC, 84.95 accuracy, 85.70 sensitivity, 81.51 specificity and 81.99 F1 score. Conclusion: The proposed model is multiple instances learning-based deep learning model for video atrial septal defect detection which effectively improves ASD detection accuracy when compared to the performances of previous networks and clinical doctors.
BibTeX
@article{liu2023atrial,
  author = {Yiman Liu and Qiming Huang and Xiaoxiang Han and Tongtong Liang and Zhifang Zhang and Lijun Chen and Jinfeng Wang and Angelos Stefanidis and Jionglong Su and Jiangang Chen and Qingli Li and Yuqi Zhang},
  title = {{Atrial Septal Defect Detection in Children Based on Ultrasound Video Using Multiple Instances Learning}},
  journal = {J. Imaging Inform. Medicine},
  year = {2023},
  url = {https://openreview.net/forum?id=BU5iCh4S2w},
}
Figure