Abstract
Atrial fibrillation (AF) often escapes detection, given its frequent paroxysmal and asymptomatic presentation. Deep learning of transthoracic echocardiograms (TTEs), which have structural information, could help identify occult AF. We created a two-stage deep learning algorithm using a video-based convolutional neural network model that (1) distinguished whether TTEs were in sinus rhythm or AF and then (2) predicted which of the TTEs in sinus rhythm were in patients who had experienced AF within 90 days. Our model, trained on 111,319 TTE videos, distinguished TTEs in AF from those in sinus rhythm with high accuracy (AUC 0.96). Among TTEs in sinus rhythm, the model predicted the presence of concurrent paroxysmal AF (AUC 0.74). The model performed better than using clinical risk factors, TTE measurements, or standard risk scores. Deep learning using TTEs can predict patients with active or occult AF and could be used for opportunistic AF screening.
Introduction
Atrial fibrillation (AF) is a leading cause of stroke and heart failure, yet it is notoriously difficult to diagnose because it is often paroxysmal—meaning it comes and goes. A standard electrocardiogram (ECG) might miss it if the patient isn't having an episode at the exact moment of the test. This "occult" AF leaves many patients at risk without knowing it.
While TTEs (ultrasounds of the heart) are routinely used to check heart structure, they aren't typically used to diagnose rhythm issues. The authors hypothesized that AF causes subtle, chronic structural changes in the heart that a deep learning model could detect even when the heart is currently beating normally. This allows for "opportunistic screening," turning a routine structural heart scan into a powerful diagnostic tool for hidden arrhythmias.
The Two-Stage Deep Learning Pipeline
The research team built a two-stage deep learning pipeline using a video-based convolutional neural network (CNN). They employed an R2 + 1D architecture, which approximates 3D convolution by alternating 2D spatial convolutions (to see the heart's shape) and 1D temporal convolutions (to see how it moves over time).
The model focuses on the Parasternal Long-Axis (PLAX) view, a standard view in almost every echocardiogram. The pipeline operates in two stages:
- Stage 1: Distinguish if the TTE video shows active AF or normal sinus rhythm (NSR).
- Stage 2: For patients in NSR, predict if they had a documented AF episode within 90 days (identifying occult AF).
The model was trained on a primary cohort of 111,319 TTE videos from Cedars-Sinai Medical Center and validated on an external dataset of 10,203 TTEs from Stanford to test generalizability.
Key Results and Clinical Comparison
The model demonstrated high accuracy across both diagnostic tasks. For identifying active AF during the scan, it achieved an AUC of 0.96. For predicting occult AF in patients currently in normal rhythm, it achieved an AUC of 0.74.
Crucially, the deep learning model significantly outperformed traditional clinical risk-stratification tools. As shown in the comparison below, the model's performance was superior to the CHA₂DS₂-VASc score, clinical risk factors, and standard measurements like left atrial size. This suggests that the raw video data contains much richer information regarding past electrical disturbances than a handful of discrete clinical variables.
Performance remained stable across different demographics, including women (AUC 0.76) and patients over 65 (AUC 0.73). Additionally, an ensemble model combining TTE and ECG data performed better than using ECG data alone, proving that structural and electrical signals provide non-redundant information.
Limitations and Future Work
While promising, the model was trained on data from a single center, which may introduce bias. Furthermore, like many deep learning models, it remains a "black box"; while interpretability tools often point to the left atrium, the exact visual features used are not fully defined. Future work will focus on prospective clinical trials to determine if this AI-driven screening leads to earlier treatment and improved patient outcomes, potentially integrating the technology into handheld ultrasound devices for primary care use.
Summary updated