AI helps detect atrial fibrillation cheaply and reliably

A startling new study from Mayo Clinic shows that artificial intelligence (AI) can help pick up the earliest signs of the potentially fatal irregularity in heart rhythm called atrial fibrillation (AF) on electrocardiography (EKG)– even when the heart rhythm is perfectly normal at the time of testing.

This means that AI can help the physician detect asymptomatic AF in the recent past, or warn of AF that is about to happen. This could help treat such patients at the point of care, potentially avoiding a host of devastating complications like clots forming within the heart and then traveling to the brain or the lung. These traveling clots could cause strokes and lung embolism respectively. The outcome can be heart failure and even death.

Image Credit: Lightspring / Shutterstock
Image Credit: Lightspring / Shutterstock

In addition, this study improves the utility of EKG which is a very simple, inexpensive and widespread test used to look for heart disease related to many factors.

AF refers to an irregularity in heart rhythm which is due to a problem with the heart’s pacemaker. The pacemaker is a specialized area of heart muscle which is responsible for setting the heart’s normal rhythm. In some disease conditions, it becomes unpredictable, and the heart’s rhythm consequently goes crazy.

The problem with early AF is that it occurs for very short periods of time before spontaneously reverting to normal heart rhythm. This means that a patient who actually had AF may show a normal EKG during the standard 10 seconds of recording from 12 electrodes positioned strategically on the body. To circumvent this, one option is to monitor heart rhythm for a longer period of time, such as by using a loop recorder. This requires a more complicated procedure and pushes up the costs of diagnosis.
However, it is important to diagnose AF accurately and quickly, as the above-mentioned complications can follow untreated AF. Putting these patients on blood thinners can drastically reduce the risk of blood clots within the heart, according to senior author Paul Friedman.

The need to know if AF is present is important in the treatment of a stroke patient, for example. Some types of stroke such as those caused by a traveling clot must be treated with a blood thinner to prevent another stroke. On the other hand, Friedman explains, “For those without AF, using blood thinners increases the risk of bleeding without substantial benefit.”

This means that clinicians urgently need to know if AF is present or is likely to occur before prescribing blood thinners in these situations. They also cannot afford to spend time monitoring the heart for possibly prolonged periods of time to make this diagnosis.

The current study used 450,000 EKGs carried out on Mayo Clinic patients, retrieved from the over 7 million stored in its digital archives, to train AI on the very slight alterations that show the heart structure is different from normal, due to AF. These are such small changes that only AI can possibly scrutinize the EKG with sufficient minuteness and accuracy to pick them up.

The next step was to test the trained AI on over 130,000 EKGs from 36,000 live patients. The tested EKGs all showed normal heart rhythm, but about 3,000 patients had a history of at least one AF episode. Astonishingly and gratifyingly, the AI was able to pick up 90% of AF-positive patients using these ‘normal’ EKGs, using the subtle alterations it had already learnt to recognize as characteristic of AF.

Friedman admits to being surprised by the unexpected accuracy of this very cheap and ubiquitous screening tool. He predicts that if this study is confirmed, AI-guided EKGs could soon help doctors choose the right therapy for diseases related to AF even when the condition is asymptomatic.

Even better, the AI enabling technology is available on smartphones or watches, which means that it can be used by millions of users everywhere.

As Friedman points out, “An EKG will always show the heart's electrical activity at the time of the test, but this is like looking at the ocean now and being able to tell that there were big waves yesterday.” The AI-enabled EKG is unique in being able to obtain very significant data from the heart’s electrical signals which are invisible to the naked eye, yet are very visible to the trained AI.

Commentator Jeroan Hendricks of the University of Adelaide, Australia, says, “Rather than finding the needle in the haystack by prolonged monitoring, authors basically suggest that AI will be able to judge by looking at the haystack if it has a needle hidden in it.” This will cut down the number of patients who need to be tested for AF by prolonged monitoring methods, and immensely increase the benefit to patients with AF who require to be treated for the condition as a top priority.

The study was published in the journal The Lancet on August 1, 2019.


Malloy T. (2019). Mayo Clinic study shows AI could enable accurate, inexpensive screening for atrial fibrillation.

Journal reference:

Attia Z. I., et al., (2019). An artificial intelligence-enabled ECG algorithm for the identification of patients with atrial fibrillation during sinus rhythm: a retrospective analysis of outcome prediction. The Lancet.

Dr. Liji Thomas

Written by

Dr. Liji Thomas

Dr. Liji Thomas is an OB-GYN, who graduated from the Government Medical College, University of Calicut, Kerala, in 2001. Liji practiced as a full-time consultant in obstetrics/gynecology in a private hospital for a few years following her graduation. She has counseled hundreds of patients facing issues from pregnancy-related problems and infertility, and has been in charge of over 2,000 deliveries, striving always to achieve a normal delivery rather than operative.


Please use one of the following formats to cite this article in your essay, paper or report:

  • APA

    Thomas, Liji. (2019, August 06). AI helps detect atrial fibrillation cheaply and reliably. News-Medical. Retrieved on October 22, 2021 from

  • MLA

    Thomas, Liji. "AI helps detect atrial fibrillation cheaply and reliably". News-Medical. 22 October 2021. <>.

  • Chicago

    Thomas, Liji. "AI helps detect atrial fibrillation cheaply and reliably". News-Medical. (accessed October 22, 2021).

  • Harvard

    Thomas, Liji. 2019. AI helps detect atrial fibrillation cheaply and reliably. News-Medical, viewed 22 October 2021,


The opinions expressed here are the views of the writer and do not necessarily reflect the views and opinions of News Medical.
You might also like... ×
Experts review progress in using photobiomodulation therapy to treat diverse brain disorders