Interpretable ECG classification
Deep learning on 12-lead ECG images, a phone app for medical staff, and explanations a physician can check against the trace.
Technion · MSc, supervised by Assaf Schuster · npj Digital Medicine, 2025 (opens in a new tab)
Background
Most cardiac conditions are diagnosed by reading a 12-lead electrocardiogram. An expert cardiologist knows the trace. The person who records it, or the clinician who first sees the patient, often does not, and it can be hours before a specialist reads the test.
At the Technion I worked on automatic reading of 12-lead ECG images, including photographs from a phone rather than a clean scan. I led a student group that put the model in a smartphone app, Medpic, meant to assist medical staff. It was not a replacement for a cardiologist. The aim was a faster first read, especially for conditions that need an immediate response.
The app
A clinician records a short video of the printed ECG. The video goes to a server, the relevant frames are selected, and a neural network reads them. A result comes back in under ten seconds. Past readings stay on the phone, with an image that marks the parts of the trace the network weighed most heavily.
What it reported
The app covered 23 cardiac conditions. On the evaluation used for the project, each of those conditions had an accuracy of 85% or higher. A new condition took on the order of a few hundred example images before the model could pick it up. Reducing that number, without giving up accuracy, was an open question in the project.
Clinical use
The app was used by physicians in hospitals under a clinical trial approved by the Helsinki committee. The trial was a way to collect new traces and to see how the model behaved on data it had not been trained on.
The paper
The interpretability method is a pixel-level reading of the classifier’s Jacobian: how much each pixel moves the decision, including evidence for the absence of a condition. It was tested on scanned ECGs and on photos taken with a mobile camera in clinic. Three electrophysiologists agreed closely with the highlights for premature ventricular contractions and atrial flutter.
Gliner, Levy, Tsutsui, Rav Acha, Schliamser, Schuster, and Yaniv, “Clinically meaningful interpretability of an AI model for ECG classification,” npj Digital Medicine 8, article 109, 2025. DOI 10.1038/s41746-025-01467-8 (opens in a new tab).