Deep learning AI may identify atrial fibrillation from a normal rhythm ECG
An artificial intelligence (AI) model has been found to identify patients with intermittent atrial fibrillation even when performed during normal rhythm using a quick and non-invasive 10 second test, compared to current tests which can take weeks to years. Although early and requiring further research before implementation, the findings could aid doctors investigating unexplained strokes or heart failure, enabling appropriate treatment.
Researchers have trained an artificial intelligence model to detect the signature of atrial fibrillation in 10-second electrocardiograms (ECG) taken from patients in normal rhythm. The study, involving almost 181,000 patients and published in The Lancet, is the first to use deep learning to identify patients with potentially undetected atrial fibrillation and had an overall accuracy of 83%. The technology finds signals in the ECG that might be invisible to the human eye, but contain important information about the presence of atrial fibrillation.
Atrial fibrillation is estimated to affect 2.7-6.1 million people in the United States, and is associated with increased risk of stroke, heart failure and mortality. It is difficult to detect on a single ECG because patients' hearts can go in and out of this abnormal rhythm, so atrial fibrillation often goes undiagnosed.
Dr. Paul Friedman, Chair of the Department of Cardiovascular Medicine, Mayo Clinic, USA says: "Applying an AI model to the ECG permits detection of atrial fibrillation even if not present at the time the ECG is recorded. It is like looking at the ocean now and being able to tell that there were big waves yesterday."
He notes: "Currently, the AI has been trained using ECGs in people who needed clinical investigations, but not people with unexplained stroke nor the overall population, and so we are not yet sure how it would perform at diagnosing these groups. However, the ability to test quickly and inexpensively with a non-invasive and widely available test might one day help identify undiagnosed atrial fibrillation and guide important treatment, preventing stroke and other serious illness."
After an unexplained stroke, it is important to accurately detect atrial fibrillation so that patients with it are given anticoagulation treatment to reduce the risk of recurring stroke, and other patients (who may be harmed by this treatment) are not. Currently, detection in this situation requires monitoring for weeks to years, sometimes with an implanted device, potentially leaving patients at risk of recurrent stroke as current methods do not always accurately detect atrial fibrillation, or take too long.
Hearts with atrial fibrillation develop structural changes, such as chamber enlargement. Before those changes are visible to standard imaging techniques such as echocardiograms, there is likely fibrosis (scarring) of the heart associated with atrial fibrillation. Additionally, the presence of atrial fibrillation may temporarily modify the electrical properties of the heart muscle, even after it has ended.
The researchers set out to train a neural network—a class of deep learning AI—to recognise subtle differences in a standard ECG that are presumed to be due to these changes, although neural networks are "black boxes" and the specific findings that drives their observations are not known. The authors used ECGs of cardiac rhythm acquired from almost 181,000 patients (around 650,000 ECG scans) between December 1993 and July 2017, dividing the data into patients who were either positive or negative for atrial fibrillation.
ECG data was assigned into three groups: training, internal validation and testing datasets with 70% in the training group, 10% in validation and optimisation, and 20% in the testing group (454,789 ECGs from 126,526 patients in the training dataset, 64,340 ECGs from 18,116 patients in the validation dataset and 130,802 ECGs from 36,280 patients in the testing dataset).
The AI performed well at identifying the presence of atrial fibrillation: testing on the first cardiac ECG output from each patient, the accuracy was 79% (for a single scan), and when using multiple ECGs for the same patient the accuracy improved to 83%. Further research is needed to confirm the performance on specific populations, such as patients with unexplained stroke (embolic stroke of undetermined source—ESUS), or heart failure.
The authors of the study also speculate that it may one day be possible to use this technology as a point-of-care diagnostic test in the doctor's surgery to screen high-risk groups. Screening people with hypertension, diabetes, or age over 65 years for atrial fibrillation could help avoid ill health, however, current detection methods are costly and identify few patients. In addition, this screening currently requires wearing a large and uncomfortable heart monitor for days or weeks.
Dr. Xiaoxi Yao, a study co-investigator from Mayo Clinic, USA, says: "It is possible that our algorithm could be used on low-cost, widely available technologies, including smartphones, however, this will require more research before widespread application."
The authors note several limitations and further research before their work reaches clinics. The population studied may have higher prevalence of atrial fibrillation compared to the general population. The AI has therefore been trained to retrospectively classify clinically indicated ECGs more than for prediction in healthy patients, or those with unexplained stroke, and may need calibration before widespread application to screening of a broader, healthy population.
Patients were considered negative for atrial fibrillation if they did not have verified diagnosis, but there were likely some patients who had been undiagnosed and labelled erroneously, so the AI may have identified what previous testing had not. On the other hand, some of the false-positive patients identified by the AI as having a history of atrial fibrillation (despite being classified as negative by a human) might actually have had undiagnosed atrial fibrillation. Since the AI is only as good as the data it is trained against there could be errors in the interpretation when the test is applied to other populations, such as a individuals without an indicated ECG.
In a linked Comment, Dr. Jeroen Hendriks of the University of Adelaide and Royal Adelaide Hospital, Adelaide, Australia, says: "In summary, Attia and colleagues are to be congratulated for their innovative approach and the thorough development and local validation of the AI-enabled ECG. Given that AI algorithms have recently reached cardiologist level in diagnostic performance this AI-ECG interpretation is ground-breaking in creating an algorithm to reveal the likelihood of atrial fibrillation in ECGs showing sinus rhythm."