cs.LGOct 30, 2026

Accurate and Auditable ECG Classification via Visibility Graph Neural Networks

Authors: Artur Xavier, Guilherme Henrique Gomes Evangelista, Aitazaz Khan, Antonio Luiz Pinho Ribeiro, Mohammed J. Zaki, Srinivasan Parthasarathy, Wagner Meira

Organizations: Department of Computer Science, Universidade Federal de Minas Gerais, Belo Horizonte, Minas Gerais, Brazil. · Department of Computer Science, Rensselaer Polytechnic Institute, Troy, New York, USA. · Department of Internal Medicine, School of Medicine, Universidade Federal de Minas Gerais, Belo Horizonte, Minas Gerais, Brazil. · Department of Computer Science and Engineering, The Ohio State University, Columbus, Ohio, USA.

Abstract

Physicians read electrocardiograms (ECGs) from waveform shape and timing, yet accurate deep-learning classifiers rarely show which waveform regions drive their predictions. We introduce LYNX-ECG, a graph neural network that represents each heartbeat as a sparse visibility graph of timestamped turning points. On CODE-Test, LYNX-ECG reaches a macro F1 score of 0.889, outperforming five baselines including the ECGFounder foundation model, while its graphs need about 14% of the storage of graphs built from every sample. Because each node maps to a specific ECG time, we can delete clinically defined waveform regions and alter beat timing to audit predictions. For conduction disorders, the clinically expected region was the strongest evidence in more than 90% of correct predictions. Bradycardia and tachycardia calls follow heart rate with conduction intervals held fixed, and atrial fibrillation calls vanish when beat-to-beat variation is removed. Sparse visibility graphs thus pair accurate ECG classification with clinically grounded, testable explanations.

Figures & tables

Appendix figures & tables5 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Domain Knowledge Based Temporal-Spatial Graph Convolution Network for ECG Recognition

    Jul 1, 2026Wenting Ma, Zhipeng Zhang, Xiaohang Yuan +6ElectrocardiographyElectrocardiogram Classification

  2. Diagnosing as Cardiologists Do: ECG Agents with Doctor-Grounded Priors for Clinical Reasoning Across Diseases and Populations

    Aug 10, 2026Hongxiang Gao, He-yang Xu, Yuwen Li +6ElectrocardiographyElectrocardiogram Classification

  3. IECG: Weakly-Supervised Interpretability-Enhancing Foundation Model for Electrocardiogram

    Oct 20, 2026Huynh Dang Nguyen, Trong-Thang Pham, Anh-Thuan Do +4Electrocardiogram Foundation ModelsElectrocardiogram Interpretation