Artificial intelligence-enhanced electrocardiogram analysis for identifying cardiac autonomic neuropathy in patients with diabetes

Diabetes Obes Metab. 2024 Jul;26(7):2624-2633. doi: 10.1111/dom.15578. Epub 2024 Apr 11.

Abstract

Aim: To develop and employ machine learning (ML) algorithms to analyse electrocardiograms (ECGs) for the diagnosis of cardiac autonomic neuropathy (CAN).

Materials and methods: We used motif and discord extraction techniques, alongside long short-term memory networks, to analyse 12-lead, 10-s ECG tracings to detect CAN in patients with diabetes. The performance of these methods with the support vector machine classification model was evaluated using 10-fold cross validation with the following metrics: accuracy, precision, recall, F1 score, and area under the receiver-operating characteristic curve (AUC).

Results: Among 205 patients (mean age 54 ± 17 years, 54% female), 100 were diagnosed with CAN, including 38 with definite or severe CAN (dsCAN) and 62 with early CAN (eCAN). The best model performance for dsCAN classification was achieved using both motifs and discords, with an accuracy of 0.92, an F1 score of 0.92, a recall at 0.94, a precision of 0.91, and an excellent AUC of 0.93 (95% confidence interval [CI] 0.91-0.94). For the detection of any stage of CAN, the approach combining motifs and discords yielded the best results, with an accuracy of 0.65, F1 score of 0.68, a recall of 0.75, a precision of 0.68, and an AUC of 0.68 (95% CI 0.54-0.81).

Conclusion: Our study highlights the potential of using ML techniques, particularly motifs and discords, to effectively detect dsCAN in patients with diabetes. This approach could be applied in large-scale screening of CAN, particularly to identify definite/severe CAN where cardiovascular risk factor modification may be initiated.

Keywords: autonomic neuropathy; deep learning; diabetes complications; discord; electrocardiogram; machine learning; motif.

MeSH terms

  • Adult
  • Aged
  • Algorithms
  • Artificial Intelligence*
  • Autonomic Nervous System Diseases / diagnosis
  • Autonomic Nervous System Diseases / physiopathology
  • Diabetic Cardiomyopathies / diagnosis
  • Diabetic Neuropathies* / diagnosis
  • Diabetic Neuropathies* / physiopathology
  • Electrocardiography* / methods
  • Female
  • Humans
  • Machine Learning
  • Male
  • Middle Aged
  • Support Vector Machine