DDSB: An Unsupervised and Training-Free Method for Phase Detection in Echocardiography

Zhenyu Bu, Yang Liu, Jiayu Huo, Jingjing Peng, Kaini Wang, Guangquan Zhou, Rachel Sparks, Prokar Dasgupta, Alejandro Granados, Sébastien Ourselin

Abstract

Accurate identification of cardiac phases, specifically End-Diastole (ED) and End-Systole (ES), is fundamental to assessing cardiac function through echocardiography. While deep learning (DL) models have shown promise in automating this task, they typically require extensive labeled datasets and significant computational resources. This paper presents DDSB (Directional Distance to Segmentation Boundary), a novel unsupervised and training-free framework. By utilizing adaptive thresholding and multi-anchor directional distance measurements, DDSB achieves performance comparable to supervised state-of-the-art models while demonstrating superior generalization across diverse datasets. Our results on the CAMUS and Echo-dynamic benchmarks highlight the potential for robust, lightweight cardiac analysis in resource-constrained clinical environments.

Introduction

In clinical cardiology, the assessment of heart health relies heavily on the calculation of metrics such as the ejection fraction. These metrics require the precise identification of two key moments in the cardiac cycle: End-Diastole (ED), the point of maximum ventricular filling, and End-Systole (ES), the point of maximum contraction.

Traditionally, these frames are identified manually by clinicians, a process that is both time-consuming and subject to inter-observer variability. While supervised deep learning models have automated this process with high accuracy, they face two major hurdles: the "data bottleneck"—the need for thousands of expert-annotated frames—and high computational costs. Furthermore, traditional geometric methods often struggle with the inherent noise and artifacts found in ultrasound imaging. DDSB addresses these challenges by providing a robust, geometric approach that requires no training data and operates efficiently on standard hardware.

Methodology

The DDSB method is structured into three primary stages designed to extract cardiac phase information directly from raw ultrasound sequences.

1. Unsupervised Cavity Segmentation

To avoid the need for pre-trained neural networks, DDSB employs an adaptive thresholding algorithm. This step separates the dark blood-filled heart chamber from the surrounding lighter muscle tissue. To ensure the segmentation is clean, the method applies area-based filtering to eliminate "speckle noise"—random artifacts common in ultrasound—within the identified cavity.

2. Anchor Point Selection

Unlike traditional methods that might rely on a single centroid, DDSB uses a multi-anchor approach. Because the heart chamber is elongated and contracts non-uniformly, the algorithm partitions the cavity vertically. Multiple stable anchor points are selected across these partitions, ensuring that movement across the entire chamber is captured rather than just the motion of the center.

3. Temporal Expansion-Contraction Discriminator

This stage serves as the core of the DDSB framework. From each anchor point, the algorithm calculates the distance to the heart wall boundary in $k$ different directions (ranging from 72 to 360). By monitoring how these distances fluctuate across the video sequence, the system calculates a cumulative expansion rate. The ED and ES phases are identified as the mathematical extrema within these temporal sequences—where the heart reaches its maximum expansion and maximum contraction, respectively.

Experimental Results

The performance of DDSB was evaluated using two major public benchmarks: the CAMUS dataset (450 sequences) and the Echo-dynamic dataset (5,970 sequences). To test the robustness of the method, the researchers shuffled and flipped sequences in the CAMUS dataset to prevent the model from relying on temporal priors.

Accuracy and Generalization

On the CAMUS dataset, DDSB achieved a Mean Absolute Error (MAE) of 1.29 frames for ES detection. Remarkably, this unsupervised method outperformed several top-tier supervised deep learning models.

A critical finding was the method's ability to generalize. While supervised models often experience a significant drop in accuracy when tested on data from different hospitals or machines (domain shift), DDSB remained stable. Because it relies on the fundamental geometry of the heart's contraction rather than learned patterns, it is inherently more adaptable to new imaging environments.

Robustness Analysis

Ablation studies indicated that DDSB is highly stable regarding its hyperparameters. Increasing the number of measurement directions ($k$) from 72 to 360 resulted in negligible changes to the error rate, suggesting that the multi-directional approach effectively buffers against local segmentation errors.

Discussion and Conclusion

DDSB demonstrates that unsupervised methods can match or even exceed the performance of supervised models in specific medical imaging tasks. By bypassing the need for expensive GPUs and thousands of expert labels, DDSB offers a practical solution for real-time clinical use, especially in settings where data and computational power are limited.

While highly optimized supervised models still maintain a slight edge on very large, high-quality datasets like Echo-dynamic, the robustness and zero-training requirement of DDSB make it a compelling alternative. Future work will explore hybrid models that integrate DDSB’s geometric logic into deep learning architectures to provide a balance of raw predictive power and structural reliability.

Summary updated

BibTeX
@inproceedings{bu2024ddsb,
  author = {Zhenyu Bu and Yang Liu and Jiayu Huo and Jingjing Peng and Kaini Wang and Guangquan Zhou and Rachel Sparks and Prokar Dasgupta and Alejandro Granados and Sébastien Ourselin},
  title = {{DDSB: An Unsupervised and Training-Free Method for Phase Detection in Echocardiography}},
  booktitle = {MLMI @ MICCAI},
  year = {2024},
  doi = {10.1007/978-3-031-73284-3\_5},
}
Figure