IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0362129.html

Deep learning optimisation for cardiology: Neural Architecture Search-driven arrhythmia classification with electrocardiograms

Author

Listed:
  • Erik Vanegas Müller
  • Arese Joe-Oshodi
  • Abhirup Banerjee
  • Mauricio Villarroel

Abstract

Cardiovascular disease is the leading cause of death worldwide. Sudden cardiac death (SCD) accounts for roughly 50% of all cardiac deaths. The electrocardiogram (ECG) is widely used for diagnosing cardiac disease. However, the complexity of interpretation limits the ECG’s efficacy. Modern deep learning methods can assist clinicians in diagnosis. We applied Neural Architecture Search (NAS) to identify optimal deep learning architectures for classifying cardiac arrhythmias with ECGs. We applied the Differentiable Architecture Search strategy to an AutoFormer search and trained, validated, and tested the resulting model on the PhysioNet Challenge 2021 (PC21) dataset (n = 88,253 from three continents). We optimised hyperparameters on the NAS output, exploring input patch size, class weighting, and loss function. The PC21 metric and the area under the receiver operating characteristic curve (AUROC) are the performance metrics. The NAS converged towards minimal architectural configurations (embedding dimension: 384, depth: 4, self-attention heads: 4, MLP ratio: 1) with a validation and test PC21 metric of 0.66 (PC21 winner: 0.63). The NAS-created network achieved an AUROC of 0.97 and a PC21 metric of 0.72 during testing (PC21 winner: 0.69). We tested the PC21 winner architecture (1D-convolutional neural network with attention mechanism) without the attention mechanism and with the NAS-suggested architecture of 4 self-attention heads (instead of 8). The architecture without the attention mechanism performed similarly to the one with 8 self-attention heads (AUROC: 0.90, PC21 metric: 0.69). The architecture with 4 self-attention heads scored an AUROC of 0.91 and improved the PC21 metric to 0.71. The attention mechanism visualisation for two SCD-related arrhythmias (premature ventricular contractions and prolonged QT-interval) showed more clinically relevant attention for the 4-self-attention-head architectures. We interpret architectural simplicity as driving performance in arrhythmia classification. The self-attention mechanism can autonomously abstract clinical representations, simplifying clinical deployment by eliminating the need for an explicit feature-extraction pipeline.

Suggested Citation

  • Erik Vanegas Müller & Arese Joe-Oshodi & Abhirup Banerjee & Mauricio Villarroel, 2026. "Deep learning optimisation for cardiology: Neural Architecture Search-driven arrhythmia classification with electrocardiograms," PLOS ONE, Public Library of Science, vol. 21(11), pages 1-12, November.
  • Handle: RePEc:plo:pone00:0362129
    DOI: 10.1371/journal.pone.0362129
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0362129
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0362129&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0362129?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0362129. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.