Confident Head Circumference Measurement from Ultrasound with Real-time Feedback for Sonographers

Samuel Budd, Matthew Sinclair, Bishesh Khanal, Jacqueline Matthew, David Lloyd, Alberto Gómez, Nicolas Toussaint, Emma C. Robinson, Bernhard Kainz

TL;DR

This paper introduces a probabilistic deep learning framework that automates fetal head circumference (HC) measurements while providing real-time confidence feedback to sonographers. By generating an ensemble of possible segmentations, the system can flag sub-optimal ultrasound views and provide upper and lower bounds for measurements, potentially reducing the high inter-observer variability common in prenatal screening.

What Problem Does This Paper Address?

Measuring fetal head circumference (HC) during mid-trimester ultrasound (18-22 weeks) is a critical biometric for monitoring healthy development. However, doing it manually is hard. It requires significant expertise to find the correct "standardized plane," and even expert sonographers often disagree on the exact placement of the measurement ellipse. This inter-observer variability can lead to low early-detection rates for fetal abnormalities.

While recent deep learning models have reached human-level performance in automating these measurements, they typically provide only a "point estimate"—a single number with no indication of how sure the model is. In a clinical setting, a model that confidently gives a wrong answer is dangerous. The authors aim to bridge this gap by creating a system that tells the operator: "I'm not sure about this view; try adjusting the probe."

Methods

The authors build upon a standard U-Net architecture but transform it into a probabilistic model to capture uncertainty. The process follows a clear pipeline:

  1. Segmentation: Instead of one mask, the model generates $N$ plausible segmentations for a single input image. They tested two methods for this: Monte-Carlo (MC) Dropout (randomly dropping weights during inference) and Probabilistic U-Nets (which use a conditional variational autoencoder to sample different hypotheses).
  2. Ellipse Fitting: For each of the $N$ segmentations, an ellipse is fitted to the contours.
  3. Aggregation: These $N$ ellipses are aggregated to produce a mean HC value, along with upper and lower confidence bounds.
  4. Variance Scoring: The authors propose four "variance scores" (metrics like ellipse parameter variance and mask entropy) to quantify the robustness of the measurement.
Fig. 1. Overview of our proposed method. We train a probabilistic model using the available training data. During inference we take N samples from our model, fit ellipses to each sample and aggregate these ellipses to extract a HC value and an upper and lower bound on that HC value. Various outputs of the pipeline are used to calculate different variance scores given a set of N samples. As a proof of concept we extract a threshold such that test cases whose variance score is outside the threshold are rejected, and inside are accepted.

This "variance score" acts as a quality control mechanism. If the score exceeds a certain threshold, the system can reject the image as sub-optimal, guiding the sonographer to find a better scan plane.

Datasets

The study utilized two primary sources of data:

  • Dataset A: A proprietary dataset of 2,724 2D ultrasound examinations from volunteers at 18-22 weeks gestation, labeled by 45 expert sonographers.
  • HC18 Challenge Dataset: A public dataset containing 1,334 2D ultrasound images of the standard HC measurement plane, each with a manual expert annotation.

All images were resampled to a consistent $320 \times 384$ pixel resolution for training and testing.

Key Insights and Ideas

  • Uncertainty as a Proxy for Quality: The most important "aha moment" is that the model's internal uncertainty (variance) correlates with the quality of the ultrasound view. When the skull signal is missing or the plane is off-center, the model produces widely varying segmentations, resulting in a high variance score.
  • Model-Compliance: The variance scores effectively measure "model-compliance"—how closely the current live view matches the distribution of high-quality images the model was trained on.
  • Real-time Guidance: By providing a "green check" or "red X" based on these scores, the system moves beyond simple automation to active operator guidance, which is crucial for improving consistency across different sonographers.

Key Results

The researchers found that their probabilistic approach maintains high accuracy while adding the benefit of confidence intervals:

  • Accuracy: The best-performing model (using MC Dropout) achieved a mean absolute difference of $1.81 \pm 1.65$ mm from the ground truth.
  • Confidence Bounds: With $N=1000$ samples, 50.4% of ground truth measurements fell entirely within the predicted upper and lower bounds. For the cases that fell outside, the average deviation from the margin was only $1.82 \pm 1.78$ mm.
  • Rejection Performance: As shown in the qualitative results, "high-performing" images (top row) show very tight confidence margins (pink area), while "low-performing" images (bottom row) show much wider margins, particularly in regions where the skull signal is weak.
Fig. 3. Results produced by our model. White line: Ground Truth, Orange dashed line: Mean of sampled ellipse parameters, Pink shaded area: Upper/lower bound range. Top row: High performing images. Bottom row: Low performing images. See Supplementary Material Figures 4 and 5 for more examples and a demo video demonstration.

Limitations and Future Work

While promising, the authors note that their "variance scores" are not a perfect representation of true model uncertainty; they are better described as measures of proximity to the training data.

Interestingly, the study found that aggregating multiple samples (mean/median) actually resulted in slightly lower performance than the best single-sample point-predictor. This suggests that the current fusion strategies for multiple segmentations could be improved. Future work will likely focus on exploring better ways to combine these samples, testing the system on anomalous fetal anatomy (pathologies), and refining the variance scores to better delineate "good" from "bad" views beyond the initial worst-case rejections.

Summary updated

BibTeX
@misc{budd2019confident,
  author = {Samuel Budd and Matthew Sinclair and Bishesh Khanal and Jacqueline Matthew and David Lloyd and Alberto Gómez and Nicolas Toussaint and Emma C. Robinson and Bernhard Kainz},
  title = {{Confident Head Circumference Measurement from Ultrasound with Real-time Feedback for Sonographers}},
  year = {2019},
  eprint = {1908.02582},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1908.02582},
}
Figure