Abstract
Echocardiography is the first-line diagnostic technique for heart diseases. Although artificial intelligence techniques have made great improvements in the analysis of echocardiography, the major limitations remain to be the built neural networks are normally adapted to a few diseases and specific equipment. Here, we present an end-to-end deep learning framework named AIEchoDx that differentiates four common cardiovascular diseases (Atrial Septal Defect, Dilated Cardiomyopathy, Hypertrophic Cardiomyopathy, prior Myocardial Infarction) from normal subjects with performance comparable to that of consensus of three senior cardiologists in AUCs (99.50% vs 99.26%, 98.75% vs 92.75%, 99.57% vs 97.21%, 98.52% vs 84.20%, and 98.70% vs 89.41%), respectively. Meanwhile, AIEchoDx accurately recognizes critical lesion regions of interest along with each disease by visualizing the decision-making process. Furthermore, our analysis indicates that heterogeneous diseases, like dilated cardiomyopathy, could be classified into two phenogroups with distinct clinical characteristics. Finally, AIEchoDx performs efficiently as an anomaly detection tool when applying handheld device-produced videos. Together, AIEchoDx provides a potential diagnostic assistant tool in either cart-based echocardiography equipment or handheld echocardiography device for primary and point-of-care medical personnel with high diagnostic performance, and the application of lesion region identification and heterogeneous disease phenogrouping, which may broaden the application of artificial intelligence in echocardiography.
Introduction
Echocardiography is the primary tool for diagnosing heart disease, but its effectiveness is highly dependent on the expertise of the operator and the interpreting physician. This creates a significant bottleneck in primary care and point-of-care settings where specialists are often unavailable. Existing AI tools for echocardiography frequently struggle with temporal dynamics, generalizability across different hardware (from high-end cart-based systems to handheld devices), and the "black box" problem, where clinicians cannot verify the anatomical basis for a model's diagnosis.
AIEchoDx, an end-to-end deep learning framework introduced in Scientific Reports, addresses these challenges. It automates the interpretation of echocardiography videos, providing robust diagnosis, lesion localization, and the discovery of disease subtypes.
Methods
The AIEchoDx framework utilizes a two-stage pipeline to process dynamic video data, specifically focusing on the Apical 4-chamber (A4c) view.
- Spatial Feature Extraction: A pre-trained Inception-V3 network, fine-tuned on over 124,000 echocardiogram frames, converts each video frame into a 2048-dimensional feature vector.
- Temporal Diagnostic Network: These vectors are processed by a custom 1D-Convolutional Neural Network (CNN). The researchers determined that a sequence of 45 frames—roughly one full heartbeat—provides the optimal balance for diagnostic accuracy.
- Explainability and Clustering: Class Activation Mapping (CAM) is used to highlight the heart regions the AI prioritizes during decision-making. For deeper phenotyping, PHATE and PCA were employed to visualize patient clustering.
The study utilized three primary datasets: an internal dataset of 1,807 videos from 1,276 patients (covering ASD, DCM, HCM, prior MI, and Normal controls), an external "real-world" dataset of 339 patients for generalizability testing, and a handheld dataset of 36 patients scanned with a Philips Lumify device.
Results
Expert-Level Diagnostic Performance
AIEchoDx achieved exceptional performance, with AUCs of 99.50% for ASD, 98.75% for DCM, 99.57% for HCM, and 98.52% for prior MI. In head-to-head comparisons, the AI significantly outperformed junior cardiologists and matched or slightly exceeded the consensus of three senior cardiologists with over 10 years of experience.
Motion and Explainability
The model’s performance plateaued at 45 frames, confirming its ability to learn wall-motion abnormalities and heart rhythms, similar to human interpretation. Using CAM, the model successfully localized lesions, such as the interatrial septum for ASD and the interventricular septum for HCM, fostering clinician trust through anatomical transparency.
Discovering Phenogroups and Anomaly Detection
Unsupervised analysis of DCM patients revealed two distinct phenogroups ("DCM-high" and "DCM-low") with statistically significant differences in clinical markers like ejection fraction and NT-proBNP levels. Furthermore, as a screening tool, the model identified 96.97% of abnormal cases, demonstrating its utility as an anomaly detector even on lower-resolution handheld devices.
Discussion and Conclusion
While AIEchoDx shows great promise, it currently relies on a single view (A4c) and is limited to four specific conditions. Future work will involve expanding the disease scope to include valvular diseases and congenital defects, as well as conducting large-scale prospective clinical trials.
In conclusion, AIEchoDx provides a high-performance diagnostic assistant tool suitable for both traditional and handheld echocardiography equipment. By identifying lesion regions and phenogrouping heterogeneous diseases, it broadens the potential for AI applications in cardiovascular medicine, particularly in primary and point-of-care settings.
Code Availability: https://github.com/superresolution/AIEchoDx
Summary updated