Why is reading a 24-hour ECG hard?
An electrocardiogram (ECG) records the heart's electrical activity. When it is worn for long periods with a small device, called ambulatory, it produces a huge amount of data to review, and automatic reading software sometimes gets it wrong.
There are many rhythm problems (arrhythmias) to tell apart. Digital ECGs are now widely available, which opens the way for programs able to learn how to analyse them.
The authors recall that computerised ECG interpretation already plays an important role in clinicians' work, but that its accuracy and capacity to handle large volumes can still improve.
What did the researchers do?
They built a deep neural network, a program that learns straight from the signals, with no hand-written rules. It had to sort 12 rhythm classes using 91,232 single-lead ECGs from 53,549 patients who wore an ambulatory recording device.
To test it, they used an independent dataset whose diagnoses had been set by a committee of board-certified cardiologists who reached agreement among themselves.
In plain terms, each recording is a long line of heartbeats. The program looks at the whole line and decides, for each stretch, which of the 12 rhythm types it is and it was never given a hand-made rule for any of them.
What do the results show?
On the test, the neural network's area under the ROC curve (a score where 1 is perfect) averaged 0.97. The F1 score, which combines the ability to catch cases with the reliability of alerts, was 0.837 for the program, against 0.780 for the average cardiologist.
When the program's specificity is fixed at the average cardiologist level, its sensitivity beats the cardiologists for every rhythm class. In other words, at the same false-alarm rate, it catches more.
This comparison is rigorous: the reference was a committee of practising cardiologists who agree among themselves, and the test was independent of the training data.
Key figures
- 91,232ECGs from 53,549 patients used to train the neural network
- 0.97average area under the ROC curve (1 = perfect) against the cardiologist committee
- 0.837 vs 0.780average F1 score of the program against cardiologists
What could this change for patients?
If these results are confirmed in clinics, the authors think the approach could cut errors in automated ECG readings and make expert review more efficient, by sorting or prioritising the most urgent problems.
For the patient, the hope is faster review of long recordings, with the at-risk cases looked at first.
Another benefit: the program can sort a broad range of different rhythms, not just one or two well-known problems, which addresses a limit of earlier work.
What are the limits?
The authors themselves state that this performance still needs confirming in real clinical settings. The recordings came from one type of device, with a single lead.
The program is a reading aid: the cardiologist makes the diagnosis and decides on care.
Wearing a heart monitor: keep your notes, with Mima
This AI sorts heart rhythms from ECGs worn continuously, but it is still research. Your cardiologist reads your trace. If such tools arrive, reviewing could become faster.
If you wear a monitor, Mima helps you note what you feel, such as palpitations or tiredness, and when it happens. You arrive at the appointment with a clear picture and your question: "Do these moments match what my trace shows?"
Frequently asked questions
Can AI read an electrocardiogram?
In this study, a neural network sorted 12 types of heart rhythm with an average score better than the cardiologists tested. The authors stress the need for confirmation in clinics.
What is an arrhythmia?
It is a heart rhythm problem: the heart beats too fast, too slowly or unevenly. There are many types, some more serious than others.
What is the F1 score?
It is a mark between 0 and 1 that combines two things: catching true cases and avoiding false alarms. The closer to 1, the better.
Does this replace the cardiologist?
No. The authors talk about helping to sort or prioritise urgent cases so experts can review them more efficiently.
The original study
Hannun AY, Rajpurkar P, Haghpanahi M, et al. “Cardiologist-level arrhythmia detection and classification in ambulatory electrocardiograms using a deep neural network.” Nature Medicine, 7 January 2019. DOI : 10.1038/s41591-018-0268-3
Read the full study in Nature MedicineThis article summarises a scientific study and is not medical advice.