Currently submitted to: JMIR Cardio
Date Submitted: Jan 29, 2026
Open Peer Review Period: Feb 3, 2026 - Mar 31, 2026
(closed for review but you can still tweet)
NOTE: This is an unreviewed Preprint
Warning: This is a unreviewed preprint (What is a preprint?). Readers are warned that the document has not been peer-reviewed by expert/patient reviewers or an academic editor, may contain misleading claims, and is likely to undergo changes before final publication, if accepted, or may have been rejected/withdrawn (a note "no longer under consideration" will appear above).
Peer review me: Readers with interest and expertise are encouraged to sign up as peer-reviewer, if the paper is within an open peer-review period (in this case, a "Peer Review Me" button to sign up as reviewer is displayed above). All preprints currently open for review are listed here. Outside of the formal open peer-review period we encourage you to tweet about the preprint.
Citation: Please cite this preprint only for review purposes or for grant applications and CVs (if you are the author).
Final version: If our system detects a final peer-reviewed "version of record" (VoR) published in any journal, a link to that VoR will appear below. Readers are then encourage to cite the VoR instead of this preprint.
Settings: If you are the author, you can login and change the preprint display settings, but the preprint URL/DOI is supposed to be stable and citable, so it should not be removed once posted.
Submit: To post your own preprint, simply submit to any JMIR journal, and choose the appropriate settings to expose your submitted version as preprint.
Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.
Automated Pattern Recognition in Cardiological Conditions: A Case Study on Shockable Rhythm Detection
ABSTRACT
Automated detection of shockable cardiac rhythms plays a critical role in improving patient outcomes during sudden cardiac arrest. Conventional automated external defibrillators (AEDs) rely on handcrafted feature engineering, limiting adaptability. This study explores a deep learning-based approach combining Residual Neural Networks (ResNets), ECG spectrogram representations, and block-based evaluation to enhance shockable rhythm detection. Additionally, expert reannotation of misclassified cases refines model performance and highlights inconsistencies in database labels, which can pose challenges for short-segment-based learning approaches. Four public arrhythmia databases (MIT-BIH Arrhythmia, Creighton Ventricular Tachycardia, MIT-BIH Ventricular Arrhythmia, and American Heart Association) were used to develop and optimize the ResNet32 model. A balanced dataset of 60,340 augmented segments was generated for training. The model classifies ECG rhythms using blocks of three consecutive 3-second segments, providing a shock decision over a 9-second window. Performance was evaluated via leave-one-subject-out cross-validation on the original dataset, consisting of 19,802 blocks (2,495 shockable). The model achieved 99.68% accuracy, 99.63% sensitivity, and 99.69% specificity. After expert cardiologist review of misclassified blocks, where 73% of annotations differed from database labels, performance improved to 99.92%, 99.76%, and 99.87%, respectively. The block-based approach reduces false positives from transient rhythms, aligns with clinical assessment practices, and mitigates annotation inconsistencies. While introducing a brief detection delay (up to 9 seconds), it ensures decision reliability and mirrors real-world AED use, where rhythm persistence is evaluated before delivering a shock. Future applications include real-world mobile deployment, generating standardized ECG databases, and detecting other cardiac conditions such as QT prolongation and electrolyte imbalances.
Citation
Request queued. Please wait while the file is being generated. It may take some time.
Copyright
© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.