DEV Community

Seyed Alireza Alhosseini
Seyed Alireza Alhosseini

Posted on

From DNA to the Cath Lab: AI in Cardiology, Through Real Cases

Most AI projects in cardiology solve one narrow problem: a model for ECG, one for CT, one for genetics. But the heart is a multi-layer system. The best results have come from combining layers and embedding models into real clinical workflows. This article walks from genetics to angiography, with specific cases and the engineering lesson from each.

1. The Genetic Layer: Baseline Risk and Variants

What a PRS is

A polygenic risk score (PRS) compresses the effect of thousands of small genetic variants into a single number. In high-risk groups, the risk of coronary artery disease is roughly 3 to 5 times higher. A review of 13 studies found that AI-optimized PRS models, by improving feature selection and handling high-dimensional data, can combine genetics with clinical data and biomarkers. mdpi

Case: different populations, different performance

In a study of 13,974 people of Indian ancestry, PRS models built on South Asian and Punjabi cohorts were compared with European-derived models, and performance depended on the ancestry of the training data. The engineering lesson: a genetic model built on one population does not transfer without local validation. For regions like the Caucasus and Iran, this is a genuine research opportunity. link.springer

Clinical limits

Current evidence supports the clinical validity of CAD PRS in select groups, but evidence that PRS-guided care improves outcomes is still limited.

Case: inherited cardiomyopathy

In cardiomyopathies, the core problem is variant classification. CardioVar is a machine learning framework that predicts the pathogenicity of cardiomyopathy-associated variants, designed to support expert interpretation. Recent Stanford work (November 2026) went a step further. Machine learning identified a set of functional measures of heart muscle, covering contraction, calcium handling and relaxation, that link a genetic change to disease severity. The question shifts from "is it pathogenic?" to "how severe will it be in this person?"

Case: genetics and atrial fibrillation

In patients with Graves' disease, AI predicted the risk of atrial fibrillation and heart failure. The results were published in JACC and the European Journal of Heart Failure. Atrial fibrillation is a major cause of stroke, so identifying high-risk patients before arrhythmia appears has preventive value.

2. The ECG Layer: The Cheapest Signal With the Most Information

The ECG is cheap, ubiquitous and digital, which makes it ideal for ML. AI-ECG has shown practical success in clinical trials for detecting left ventricular systolic dysfunction and predicting atrial fibrillation. A systematic review of randomized trials found ECG-based applications made up 6 of 11 studies (54.5%) and showed consistent benefits, including reduced mortality in hospitalized patients (HR 0.83).

Case: a young patient with acute heart failure

A young patient with no cardiac history presented with acute heart failure. An AI-ECG algorithm flagged the ECGs as showing low ejection fraction. Diagnosis and treatment started earlier, and at follow-up the ejection fraction had improved. The case shows AI can see patterns that are not obvious on the surface of the tracing.

Case: from model to pragmatic trial

Mayo Clinic runs multicenter pragmatic studies to test whether AI-ECG decision-support software raises diagnosis rates of LVEF ≤40% in routine visits. The question is not just model accuracy. It is whether use in real workflows leads to earlier diagnosis of heart failure. The design is a prospective cluster-randomized study.

Case: predicting HFpEF

An ECG-AI model was evaluated for predicting future HFpEF diagnosis using real-world data from a large integrated health system. This shows the ECG can be used not only to describe current status but to forecast disease trajectory.

3. The Cardiac Arrest Layer: Multimodal Models

Case: MAARS

MAARS targets hypertrophic cardiomyopathy. It combines electronic health records, imaging reports and contrast-enhanced MRI to predict arrhythmic sudden cardiac death. According to Johns Hopkins, its accuracy was 89%, and the AI reads patterns of heart scarring that clinicians cannot interpret directly. The clinical value is that ICD decisions could move from a simple criterion to a multimodal assessment.

Case: DEEP RISK

A multimodal model for arrhythmic risk combined late gadolinium enhancement MRI, ECG and clinical data. On 289 patients before ICD implantation it reached an AUROC of 0.84 and a sensitivity of 0.98. The paper emphasizes explainability: clinicians need to know which features drove the risk.

Case: a hidden signal in routine tests

A recent report describes AI trained on more than 440,000 Swedish ECGs that found a hidden warning sign in routine heart tests that could predict sudden cardiac death before it strikes. This is intriguing but still needs external validation and clinical trials.

Methodological warning

A systematic review of ML in sudden cardiac death prediction concluded that ML offers only incremental utility over traditional methods. A 2026 review also examined the clinical readiness and methodological rigor of AI in this area. A high AUROC alone is not enough. Calibration, external validation and clinical outcomes must be reported too.

4. The Imaging and Angiography Layer

Coronary CT

AI can automatically compute the coronary artery calcium score from CT, one of the strongest predictors of heart attack. Deep learning has also been studied for plaque and stenosis quantification on coronary CT angiography. Other models automatically segment coronary arteries from CT.

Case: grading stenosis

One model, trained on 383 angiographic images from 168 patients, graded stenosis severity into five categories (1–49%, 50–70%, 71–95%, 96–99% and total occlusion). The motivation is that variability and complexity in angiographic images make manual measurement inconsistent. The dataset is small, so this is a promising result, not clinical confirmation.

Case: real time during intervention

One system performs vessel classification and lesion measurement in real time, to support timely decisions during intervention. The engineering challenges are low latency, a usable interface during a procedure, and behavior on unusual images.

Regulatory status

As of early 2025, several AI tools in cardiology have received FDA clearance, including ECG interpretation, coronary calcium scoring and arrhythmia detection from wearables.

5. Stroke Emergency Cases and Engineering Lessons

Case: Viz LVO

Viz LVO uses a convolutional neural network to detect large-vessel occlusions on CTA and notifies the treatment team within minutes through a mobile app. In an evaluation of 1,167 scans, it detected 61 of 75 occlusions, with 81% sensitivity, 99% negative predictive value and 94% accuracy. The high NPV means that when the system sees no occlusion, a large occlusion is unlikely. But it missed about 19% of cases, so it does not replace radiologist review.

Case: seven hospitals

The Viz.AI algorithm was implemented at all 7 hospitals in a network, and its effect on transfer times at primary stroke centers was studied. In another study, automated LVO detection with secure messaging was activated at 4 comprehensive stroke centers in a randomized stepped design.

Case: Norway

In a Norwegian pilot study of EVT-treated patients, CT-to-puncture time was 152 minutes with active AI use, versus 179 minutes before AI and 182 minutes with AI installed but not actively used. However, the improvement in functional outcome was not significant.

Case: cerebral ischemia

In one report, AI processed perfusion images and highlighted early ischemia in the left middle cerebral artery territory and a proximal M1 occlusion.

Architecture lessons

  1. An alert must reach a specific role, not just a dashboard.
  2. Active use of the model in the care pathway matters more than installing it.
  3. Predictions should be explainable.
  4. Models must be validated across populations and sites.
  5. The final decision stays with the physician.
  6. Genetic and health data should be stored encrypted with minimal access.

Takeaway: the real value lies in integrating layers. The ECG is the cheap starting point, imaging and genetics add depth, and the workflow decides whether you have real impact. This article is educational and not a substitute for medical advice. If you have symptoms of a heart attack or stroke, call emergency services immediately.

About references: each claim is marked inline with its source ID, and I haven't added a separate reference list at the end. For publishing on DEV.TO, you can replace each ID with the matching article title and link.

Author :Seyed Alireza Alhosseini Almodarresieh
my site: https://almodarresieh.github.io/

Top comments (0)