Skip to main content
Arquivos Brasileiros de Cardiologia logoLink to Arquivos Brasileiros de Cardiologia
editorial
. 2025 Aug 20;122(8):e20250405. [Article in Portuguese] doi: 10.36660/abc.20250405
View full-text in English

Aplicabilidade de Algoritmos de Aprendizado de Máquina no Diagnóstico de Arritmias – Quanto Tempo Até a Máquina Começar a nos Ensinar?

Marcelo Martins Pinto Filho 1,Correspondência:
PMCID: PMC12671721  PMID: 40990769

O eletrocardiograma (ECG), em uso clínico desde o início do século XX, continua sendo uma ferramenta adorada por cardiologistas, clínicos e estudantes de medicina. É indiscutivelmente o instrumento de cabeceira mais importante em cardiologia, essencial para o manejo de arritmias e síndromes isquêmicas agudas, além de orientar o tratamento eletrofisiológico. Ainda assim, os avanços na interpretação de eletrocardiografia foram modestos nos últimos cem anos. Os dispositivos tornaram-se mais portáteis, digitais e capazes de gravações mais longas, mas os princípios interpretativos fundamentais permanecem enraizados nos métodos do início do século XX. 1 Nos últimos anos, isso foi remodelado pelo surgimento de tecnologias computacionais, especialmente a inteligência artificial (IA). Ferramentas como redes neurais profundas (DNNs) e modelos de aprendizado de máquina (MLMs) estão possibilitando uma nova era na análise de ECG, a eletrocardiografia aprimorada por IA (ECG aprimorado por IA). 2

Nesta edição do ABC Cardiol, Guimarães do Nascimento et al. relatam uma revisão sistemática de estudos que avaliam a aplicabilidade do ECG com IA no diagnóstico de arritmias cardíacas. 3 Eles incluíram estudos de diferentes metodologias que abordaram o papel do ECG aprimorado por IA na detecção da síndrome do QT longo (SQTL) (um estudo), intervalo QT corrigido (QTc) (um estudo) e fibrilação atrial (FA) (onze estudos).

Para a detecção de SQTL oculta entre os tipos genéticos 1, 2 e 3, um modelo DNN superou a avaliação tradicional (baseada apenas no QTc) com uma AUC de 0,900 (IC de 95%, 0,876-0,925) versus 0,824 (IC de 95%, 0,79-0,858), respectivamente. O modelo também foi capaz de identificar corretamente o tipo genético com uma AUC de 0,863 (IC de 95%, 0,792-0,934) a 0,944 (IC de 95%, 0,918-0,970), dependendo do tipo genético. 4

No único estudo que avaliou o QTc per se , apenas a precisão da medição foi avaliada, com concordância razoável entre o QTc calculado por IA por um smartwatch e o ECG. 5 É importante destacar que a aferição automática do ECG é uma meta alcançada desde a década de 1970 com a implantação do software Glasgow e sua consolidação na década de 1980. 6 A novidade deste estudo reside em mostrar a precisão da medição em diferentes hardwares (o smartwatch) e a possibilidade de auto (ou contínua) medição do QTc.

Entre os artigos que avaliaram modelos de IA na detecção de FA, os métodos foram diversos; no entanto, no geral, os algoritmos de IA e os modelos DNN/ML demonstraram boa sensibilidade e especificidade. É importante destacar que esses estudos relataram a detecção de FA prevalente, com apenas um relatando a análise de ECG em participantes com ritmo sinusal para prever FA, resultando em desempenho modesto (AUM 0,64). 7 Entre as arritmias cardíacas, a FA tem ganhado particular interesse devido à sua relevância epidemiológica, à diversidade de opções de tratamento e à crescente variedade de estratégias de rastreamento. Embora os benefícios da detecção e do tratamento da FA subclínica ainda sejam discutíveis, 8 os benefícios do controle precoce do ritmo da FA clínica foram demonstrados. 9

Este estudo analisa como a IA está sendo aplicada à eletrocardiografia, particularmente na área de arritmias, apresentando desempenho comparável aos métodos tradicionais, e se espera um rápido progresso no curto prazo. No entanto, várias ressalvas devem ser consideradas. A revisão inclui estudos publicados apenas até 2022 e, dado o crescimento exponencial da pesquisa nessa área, estudos importantes podem ter sido perdidos. Por exemplo, em julho de 2023, Yuan et al. relataram o uso de uma rede neural convolucional (CNN) para prever FA a partir de 907.858 ECGs em seis centros de Assuntos de Veteranos, alcançando uma AUC de 0,86 e uma precisão de 0,78. 10 No mesmo ano, Hygreaal et al. usaram um modelo semelhante em 478.963 ECGs de derivação única de 14.831 adultos mais velhos, alcançando uma AUC de 0,80. 11 Além disso, Habineza et al. também usaram CNN para prever FA em 1.230.809 ECGs (AUC 0,845). 12 A validação externa dos resultados dos estudos primários também é um ponto preocupante, visto que a explicabilidade dos modelos de IA, em geral, não é satisfatória. A extração e a avaliação de dados de um único operador também levantam preocupações sobre viés de seleção.

Além da detecção de arritmia, o ECG aprimorado por IA é promissor para outras áreas, como a previsão de insuficiência cardíaca e resultados após eventos cardíacos agudos, o refinamento da estratificação de risco e a possibilidade de permitir relatórios automatizados sem a intervenção do cardiologista. 13 , 14 No entanto, com essa transformação, surge a necessidade de cautela. A validação científica deve preceder o uso clínico ou comercial generalizado, e questões éticas — como a responsabilização em caso de erro de IA — devem ser abordadas pelas comunidades científica e regulatória. 15 Ainda assim, a ascensão da IA mantém a eletrocardiografia tão inovadora e intrigante quanto era há mais de um século.

Footnotes

Minieditorial referente ao artigo: Aplicabilidade de Algoritmos de Machine Learning no Diagnóstico de Fibrilação Atrial e SQTL por Interpretação de Eletrocardiograma: Uma Revisão Sistemática

Referências

  • 1.Stracina T, Ronzhina M, Redina R, Novakova M. Golden Standard or Obsolete Method? Review of ECG Applications in Clinical and Experimental Context. Front Physiol . 2022;;13:867033–867033. doi: 10.3389/fphys.2022.867033. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Rafie N, Kashou AH, Noseworthy PA. ECG Interpretation: Clinical Relevance, Challenges, and Advances. Hearts . 2021;2(4):505113–505113. doi: 10.3390/hearts2040039. [DOI] [Google Scholar]
  • 3.Nascimento PCG, Martins MS, Improta-Caria AC, Aras R., Junior Applicability of Machine Learning Algorithms in Diagnosis of Atrial Fibrillation and LQTS by Electrocardiogram Interpretation: A Systematic Review. Arq Bras Cardiol . 2025;122(8):e20240843. doi: 10.36660/abc.20240843i. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Bos JM, Attia ZI, Albert DE, Noseworthy PA, Friedman PA, Ackerman MJ. Use of Artificial Intelligence and Deep Neural Networks in Evaluation of Patients with Electrocardiographically Concealed Long QT Syndrome from the Surface 12-Lead Electrocardiogram. JAMA Cardiol . 2021;6(5):532–538. doi: 10.1001/jamacardio.2020.7422. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Maille B, Wilkin M, Million M, Rességuier N, Franceschi F, Koutbi-Franceschi L, et al. Smartwatch Electrocardiogram and Artificial Intelligence for Assessing Cardiac-Rhythm Safety of Drug Therapy in the COVID-19 Pandemic. The QT-Logs Study. Int J Cardiol . 2021;331:333–339. doi: 10.1016/j.ijcard.2021.01.002. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Macfarlane PW, Kennedy J. Automated ECG interpretation – A Brief History from High Expectations to Deepest Networks. Hearts . 2021;2(4):433–438. doi: 10.3390/hearts2040034. [DOI] [Google Scholar]
  • 7.Yang HW, Hsiao CY, Peng YQ, Lin TY, Tsai LW, Lin C, et al. Identification of Patients with Potential Atrial Fibrillation during Sinus Rhythm Using Isolated P Wave Characteristics from 12-Lead ECGs. J Pers Med . 2022;12(10):1608–1608. doi: 10.3390/jpm12101608. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Winstén AK, Langén V, Airaksinen KEJ, Teppo K. Net Benefit of Anticoagulation in Subclinical Device-Detected Atrial Fibrillation. JAMA Netw Open . 2025;8(5):e258461. doi: 10.1001/jamanetworkopen.2025.8461. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Kirchhof P, Camm AJ, Goette A, Brandes A, Eckardt L, Elvan A, et al. Early Rhythm-Control Therapy in Patients with Atrial Fibrillation. N Engl J Med . 2020;383(14):1305–1316. doi: 10.1056/NEJMoa2019422. [DOI] [PubMed] [Google Scholar]
  • 10.Yuan N, Duffy G, Dhruva SS, Oesterle A, Pellegrini CN, Theurer J, et al. Deep Learning of Electrocardiograms in Sinus Rhythm from US Veterans to Predict Atrial Fibrillation. JAMA Cardiol . 2023;8(12):1131–1139. doi: 10.1001/jamacardio.2023.3701. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Hygrell T, Viberg F, Dahlberg E, Charlton PH, Gudmundsdottir KK, Mant J, et al. An Artificial Intelligence-Based Model for Prediction of Atrial Fibrillation from Single-Lead Sinus Rhythm Electrocardiograms Facilitating Screening. Europace . 2023;25(4):1332–1338. doi: 10.1093/europace/euad036. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Habineza T, Ribeiro AH, Gedon D, Behar JA, Ribeiro ALP, Schön TB. End-to-End Risk Prediction of Atrial Fibrillation from the 12-Lead ECG by Deep Neural Networks. J Electrocardiol . 2023;81:193–200. doi: 10.1016/j.jelectrocard.2023.09.011. [DOI] [PubMed] [Google Scholar]
  • 13.Ribeiro AH, Ribeiro MH, Paixão GMM, Oliveira DM, Gomes PR, Canazart JA, et al. Automatic Diagnosis of the 12-Lead ECG Using a Deep Neural Network. Nat Commun . 2020;11(1):1760–1760. doi: 10.1038/s41467-020-15432-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Santana WB, Jr, Pinto MM, Filho, Barreto SM, Foppa M, Giatti L, Khera R, et al. Use of Artificial Intelligence Applied to Electrocardiogram for Diagnosis of Left Ventricular Systolic Dysfunction. Arq Bras Cardiol . 2025;122(4):e20240740. doi: 10.36660/abc.20240740. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Khera R, Oikonomou EK, Nadkarni GN, Morley JR, Wiens J, Butte AJ, et al. Transforming Cardiovascular Care with Artificial Intelligence: From Discovery to Practice: JACC State-of-the-Art Review. J Am Coll Cardiol . 2024;84(1):97–114. doi: 10.1016/j.jacc.2024.05.003. [DOI] [PMC free article] [PubMed] [Google Scholar]
Arq Bras Cardiol. 2025 Aug 20;122(8):e20250405. [Article in English] doi: 10.36660/abc.20250405i

Applicability of Machine Learning Algorithms in the Diagnosis of Arrhythmias – How Long Until The Machine Starts Teaching Us?

Marcelo Martins Pinto Filho 1,Mailing Address:

The electrocardiogram (ECG), in clinical use since the early 1900s, remains a beloved tool for cardiologists, clinicians, and medical students. It is arguably the most important bedside instrument in cardiology, essential for managing arrhythmias and acute ischemic syndromes, as well as guiding electrophysiologic care. Still, advances in electrocardiography interpretation have been only modest in the last hundred years. Devices have become more portable, digital, and capable of longer recordings, but core interpretive principles remain rooted in early 20th-century methods. 1 In recent years, this has been reshaped by the rise of computational technologies, especially artificial intelligence (AI). Tools such as deep neural networks (DNNs) and machine learning models (MLMs) are enabling a new era in ECG analysis, the AI-enhanced electrocardiography (AI-enhanced ECG). 2

In this issue of the ABC Cardiol , Guimarães do Nascimento et al. report on a systematic review of studies evaluating the applicability of AI-enhanced ECG in the diagnosis of cardiac arrhythmias. 3 They included studies of different methodologies that addressed the role of AI-enhanced ECG in the detection of long-QT syndrome (LQTS) (one study), corrected QT interval (cQTi) (one study), and atrial fibrillation (AF) (eleven studies).

For the detection of concealed LQTS among genetic types 1, 2, and 3, a DNN model was able to outperform the traditional evaluation (based on QTc alone) with an AUC of 0.900 (95% CI, 0.876-0.925) versus 0.824 (95% CI, 0.79-0.858), respectively. The model was also able to correctly identify the genetic type with an AUC from 0,863 (95% CI, 0.792-0.934) to 0.944 (95% CI, 0.918-0.970), depending on the genetic type. 4

In the one study evaluating the cQTi per se , only measurement accuracy was evaluated, with fair agreement between AI-calculated cQTi by a smartwatch and the ECG. 5 It is important to highlight that automatic measurement of the ECG is a goal achieved since the 1970s with the implementation of Glasgow software and its consolidation in the 1980s. 6 The novelty of this study resides in showing the accuracy of measurement in different hardware (the smartwatch) and the possibility of self (or continuous) measurement of the cQTi.

Among the papers evaluating AI models in the detection of AF, the methods were diverse; however, overall, the AI algorithms and DNN/ML models demonstrated good sensitivity and specificity. It is important to highlight that these studies reported on the detection of prevalent AF, with only one reporting on ECG analysis in sinus rhythm participants to predict AF, resulting in modest performance (AUM 0.64). 7 Among cardiac arrhythmias, AF has gained particular interest due to its epidemiological relevance, diversity in treatment options, and the increasing variety of screening strategies. Although the benefits of detection and treatment of subclinical AF are still debatable, 8 the benefits of early rhythm control of clinical AF have been demonstrated. 9

This study reviews how AI is being applied to electrocardiography, particularly in the field of arrhythmias, showing comparable performance to traditional methods, and rapid progress is expected in the near term. However, several caveats must be considered. The review includes studies published only up to 2022 and given the exponential growth of research in this field, key studies may have been missed. For example, in July 2023, Yuan et al. reported using a convolutional neural network (CNN) to predict AF from 907,858 ECGs across six Veterans Affairs sites, achieving an AUC of 0.86 and an accuracy of 0.78. 10 That same year, Hygreaal et al. used a similar model on 478,963 single-lead ECGs from 14,831 older adults, achieving an AUC of 0.80. 11 Additionally, Habineza et al. also used CNN to predict AF in 1,230,809 ECGs (AUC 0.845). 12 External validation of the findings of the primary studies is also a point of concern since the explicability of the AI models, in general, is not satisfactory. Data extraction and evaluation from a single operator also raise concerns of selection bias.

Beyond arrhythmia detection, AI-enhanced ECG holds promise for other areas, such as predicting heart failure and outcomes after acute cardiac events, refining risk stratification, and potentially enabling automated reporting without cardiologist input. 13 , 14 However, with this transformation comes a need for caution. Scientific validation must precede widespread clinical or commercial use, and ethical questions — such as accountability in the event of AI error — must be addressed by the scientific and regulatory communities. 15 Still, the rise of AI keeps electrocardiography as innovative and intriguing as it was over a century ago.

Footnotes

Short Editorial related to the article: Applicability of Machine Learning Algorithms in Diagnosis of Atrial Fibrillation and LQTS by Electrocardiogram Interpretation: A Systematic Review


Articles from Arquivos Brasileiros de Cardiologia are provided here courtesy of Sociedade Brasileira de Cardiologia

RESOURCES