Deep learning to estimate gestational age from blind ultrasound sweeps of the gravid abdomen

Teeranan Pokaprakarn, Juan Carlos Prieto, Joan T. Price, Margaret P. Kasaro, Ntazana Sindano, Hina Shah, Marc Peterson, Mutinta M. Akapelwa, Filson M. Kapilya, Yuri V. Sebastião, William Goodnight, Elizabeth M. Stringer, Bethany L. Freeman, Lina Montoya, H. Benjamin, Dwight J. Rouse, Stephen R. Cole, Bellington Vwalika, Michael R. Kosorok, Jeffrey S. A. StringermedRxiv 2021

Abstract

Background: Ultrasound is indispensable to gestational age estimation, and thus to quality obstetric care, yet high equipment cost and need for trained sonographers limit its use in low-resource settings. Methods: From September 2018 through June 2021, we recruited 4,695 pregnant volunteers in North Carolina and Zambia and obtained blind ultrasound sweeps (cineloops) of the gravid abdomen alongside standard fetal biometry. We trained a neural network to estimate gestational age from the sweeps and, in three test sets, assessed performance of the model and biometry against previously established gestational age. Results: In our main test set, model mean absolute error (MAE) was 3.9 days (standard error [SE] 0.12) vs. 4.7 days (SE 0.15) for biometry (difference -0.8 days; 95% CI -1.1, -0.5; p<0.001). Results were similar in North Carolina (difference -0.6 days, 95% CI -0.9, -0.2) and Zambia (−1.0 days, 95% CI -1.5, -0.5). Findings were supported in the test set of women who conceived by in vitro fertilization (model MAE 2.8 days [SE 0.28] vs. 3.6 days [SE 0.53] for biometry; difference -0.8 days, 95% CI -1.7, 0.2), and in the set of women from whom sweeps were collected by untrained users with low-cost, battery-powered devices (model MAE 4.9 days [SE 0.29] vs. 5.4 days [SE 0.28] for biometry; difference -0.6, 95% CI -1.3, 0.1). Conclusions: Our model estimated gestational age more accurately from blindly obtained ultrasound sweeps than did trained sonographers performing fetal biometry. These results presage a future where all pregnant people – not just those in rich countries – can access the diagnostic benefits of sonography.

Introduction

Accurate gestational age (GA) estimation is the cornerstone of quality obstetric care, allowing clinicians to monitor fetal growth, identify complications, and time deliveries safely. While ultrasound is the gold standard for this, it faces two major hurdles in low-resource settings: the high cost of equipment and the scarcity of trained sonographers who can perform complex "biometry" (measuring specific fetal structures like the head or femur). In many parts of the world, clinicians still rely on the Last Menstrual Period (LMP), which is notoriously unreliable. This paper seeks to "democratize" obstetric ultrasound by replacing the need for expert hand-eye coordination with a deep learning model that can interpret simple, unguided video sweeps of the abdomen.

Methods

The researchers launched the Fetal Age Machine Learning Initiative (FAMLI), collecting data from sites in North Carolina, USA, and Lusaka, Zambia. The core innovation is the use of "blind sweeps": free-hand, 10-second "cineloops" (video clips) across the gravid abdomen. Unlike standard sonography, where a technician hunts for a specific cross-section of a fetal limb or organ, these sweeps are performed in a standardized pattern (cranio-caudal and lateral) without needing to see the fetus on screen.

Figure 1: Flowchart illustrating the creation of training and testing datasets from 4,695 participants.

The team trained an end-to-end neural network to take these raw cineloops as input and output a gestational age estimate. The study utilized a massive, diverse dataset containing over 109,000 blind sweeps and 21 million individual image frames. Data was collected using both high-end commercial machines and the Butterfly iQ, a low-cost, battery-powered portable transducer.

Results

In the Main Test Set, the model achieved a Mean Absolute Error (MAE) of 3.9 days, significantly better than the 4.7 days achieved by expert biometry (p < 0.001). In this set, 86% of the model’s estimates were within 7 days of the ground truth, compared to 77% for expert biometry.

One of the most significant findings involved the Novice Test Set, where sweeps were collected by untrained users with low-cost devices.

Figure 3: Comparison of model error, biometry error, and LMP error in the novice test set.

As shown in Figure 3, when untrained users collected the sweeps, the model’s MAE was 4.9 days. While slightly higher than expert-collected sweeps, it was vastly superior to LMP-based dating, which had an MAE of 17.4 days. The model performed well across both geographical locations and all three trimesters, though the advantage over biometry was most pronounced in the third trimester. This suggests that manual biometry—which relies on a human choosing a single "best" frame—may be more prone to error than an AI that integrates data from across an entire video sweep.

Discussion and Conclusion

While the model currently focuses on gestational age estimation and tends to underestimate age after 37 weeks, its performance demonstrates the potential for AI to overcome the training and equipment barriers inherent in traditional sonography. Future work will focus on expanding the model's diagnostic scope to include screening for twins or fetal anomalies and optimizing it to run locally on mobile devices. These results suggest a future where the diagnostic benefits of sonography are accessible to all pregnant people, regardless of their proximity to specialized medical centers.

Summary updated

BibTeX
@misc{pokaprakarn2021deep,
  author = {Teeranan Pokaprakarn and Juan Carlos Prieto and Joan T. Price and Margaret P. Kasaro and Ntazana Sindano and Hina Shah and Marc Peterson and Mutinta M. Akapelwa and Filson M. Kapilya and Yuri V. Sebastião and William Goodnight and Elizabeth M. Stringer and Bethany L. Freeman and Lina Montoya and H. Benjamin and Dwight J. Rouse and Stephen R. Cole and Bellington Vwalika and Michael R. Kosorok and Jeffrey S. A. Stringer},
  title = {{Deep learning to estimate gestational age from blind ultrasound sweeps of the gravid abdomen}},
  year = {2021},
  doi = {10.1101/2021.11.22.21265452},
  howpublished = {medRxiv},
}
Figure