Skip to main content
medRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search

A Fast, Lightweight, and Generalizable Deep Neural Network for the Detection of Atrial Fibrillation

View ORCID ProfileHarshit Mishra, View ORCID ProfileFarhan Adam Mukadam, View ORCID ProfileNachiket Makwana, Pradyot Tiwari, K. Subramani, View ORCID ProfileK. V. S. Hari
doi: https://doi.org/10.1101/2025.11.13.25340129
Harshit Mishra
aGauze, India
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Harshit Mishra
Farhan Adam Mukadam
bDepartment of Electrical Communication Engineering, Indian Institute of Science, Bangalore, India
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Farhan Adam Mukadam
  • For correspondence: farhanm{at}iisc.ac.in
Nachiket Makwana
aGauze, India
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Nachiket Makwana
Pradyot Tiwari
cInterventional Cardiology Department, Waikato District Health Board, Hamilton, New Zealand
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
K. Subramani
dCritical Care Division, Christian Medical College, Vellore, India
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
K. V. S. Hari
bDepartment of Electrical Communication Engineering, Indian Institute of Science, Bangalore, India
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for K. V. S. Hari
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Data/Code
  • Preview PDF
Loading

Abstract

Atrial fibrillation (AFib) represents a critical diagnostic challenge in clinical cardiology, calling for automated detection systems capable of robust performance across diverse clinical environments. We present a computationally efficient deep neural network architecture for AFib detection that demonstrates exceptional generalizability despite training on a modest dataset. Our convolutional neural network, comprising 17 million parameters, was trained on 67,432 12-lead electrocardiograms and subsequently validated on over 1.1 million ECG recordings spanning six independent public datasets. On CPU, the model processes a 10-second ECG in 200 ms, enabling real-time inference capabilities.

Our model achieves state-of-the-art performance, with an average area under the receiver operating characteristic curve (AUROC) of 0.97, an average sensitivity of 0.83, and an average specificity of 0.96 across six external validation cohorts. These metrics rank among the highest reported in the literature, while preserving computational efficiency suitable for resource-constrained environments.

A key innovation of our approach is the implementation of channel-masking methodology, enabling seamless operation across variable lead configurations without model retraining. This flexibility allows deployment from single-lead ambulatory monitors to comprehensive 12-lead clinical systems using identical network weights. Gradient-based saliency analysis confirms the model’s attention to physiologically relevant features, particularly P-wave morphology and lead II characteristics, thereby enhancing clinical interpretability and trustworthiness.

Our findings also establish that a single, well-curated small training dataset can yield a compact yet highly generalizable AFib detection system suitable for deployment across diverse clinical settings, from critical care monitoring to ambulatory screening applications. The combination of robust cross-dataset performance, computational efficiency, and clinical interpretability positions this approach as a viable solution for largescale AFib diagnosis and monitoring programs.

Competing Interest Statement

The authors have declared no competing interest.

Funding Statement

This study did not receive any funding

Author Declarations

I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.

Yes

I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.

Yes

I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).

Yes

I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.

Yes

Footnotes

  • Email addresses: harshitmishra{at}gofynd.com (Harshit Mishra), nachiketmakwana{at}gofynd.com (Nachiket Makwana), drpradyot.tiwari{at}gmail.com. (Pradyot Tiwari), ksubramani9{at}hotmail.com (K. Subramani), hari{at}iisc.ac.in (K. V. S. Hari)

Data Availability

All data produced in the present work are contained in the manuscript

Copyright 
The copyright holder for this preprint is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. It is made available under a CC-BY-ND 4.0 International license.
Back to top
PreviousNext
Posted November 15, 2025.
Download PDF
Data/Code
Email

Thank you for your interest in spreading the word about medRxiv.

NOTE: Your email address is requested solely to identify you as the sender of this article.

Enter multiple addresses on separate lines or separate them with commas.
A Fast, Lightweight, and Generalizable Deep Neural Network for the Detection of Atrial Fibrillation
(Your Name) has forwarded a page to you from medRxiv
(Your Name) thought you would like to see this page from the medRxiv website.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Share
A Fast, Lightweight, and Generalizable Deep Neural Network for the Detection of Atrial Fibrillation
Harshit Mishra, Farhan Adam Mukadam, Nachiket Makwana, Pradyot Tiwari, K. Subramani, K. V. S. Hari
medRxiv 2025.11.13.25340129; doi: https://doi.org/10.1101/2025.11.13.25340129
Twitter logo Facebook logo LinkedIn logo Mendeley logo
Citation Tools
A Fast, Lightweight, and Generalizable Deep Neural Network for the Detection of Atrial Fibrillation
Harshit Mishra, Farhan Adam Mukadam, Nachiket Makwana, Pradyot Tiwari, K. Subramani, K. V. S. Hari
medRxiv 2025.11.13.25340129; doi: https://doi.org/10.1101/2025.11.13.25340129

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Subject Area

  • Health Informatics
Subject Areas
All Articles
  • Addiction Medicine (576)
  • Allergy and Immunology (867)
  • Anesthesia (306)
  • Cardiovascular Medicine (4480)
  • Dentistry and Oral Medicine (449)
  • Dermatology (385)
  • Emergency Medicine (614)
  • Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1528)
  • Epidemiology (15276)
  • Forensic Medicine (31)
  • Gastroenterology (1133)
  • Genetic and Genomic Medicine (6644)
  • Geriatric Medicine (671)
  • Health Economics (1006)
  • Health Informatics (4603)
  • Health Policy (1378)
  • Health Systems and Quality Improvement (1623)
  • Hematology (544)
  • HIV/AIDS (1275)
  • Infectious Diseases (except HIV/AIDS) (15960)
  • Intensive Care and Critical Care Medicine (1111)
  • Medical Education (626)
  • Medical Ethics (147)
  • Nephrology (674)
  • Neurology (6693)
  • Nursing (346)
  • Nutrition (1006)
  • Obstetrics and Gynecology (1152)
  • Occupational and Environmental Health (961)
  • Oncology (3369)
  • Ophthalmology (988)
  • Orthopedics (370)
  • Otolaryngology (421)
  • Pain Medicine (437)
  • Palliative Medicine (131)
  • Pathology (668)
  • Pediatrics (1703)
  • Pharmacology and Therapeutics (699)
  • Primary Care Research (717)
  • Psychiatry and Clinical Psychology (5494)
  • Public and Global Health (9285)
  • Radiology and Imaging (2223)
  • Rehabilitation Medicine and Physical Therapy (1375)
  • Respiratory Medicine (1201)
  • Rheumatology (598)
  • Sexual and Reproductive Health (720)
  • Sports Medicine (535)
  • Surgery (720)
  • Toxicology (100)
  • Transplantation (290)
  • Urology (267)