Melola Discovery

← Melola Discovery

Open access Journal SINTA 1

Comparative analysis of unidirectional and bidirectional RNNs for ECG arrhythmia detection using augmented MIT-BIH data

Bulletin of Electrical Engineering and Informatics · Vol. 15 No. 1 (2026) · pp. 712–722

DOI
10.11591/eei.v15i1.10893
ISSN
2089-3191, 2302-9285
Published
2026-02-01
Publisher
Institute of Advanced Engineering and Science (IAES)
Language
en
License
creativecommons.org/licenses/by-sa/4.0/

Abstract

Accurate classification of electrocardiogram (ECG) signals is essential for early arrhythmia detection. This study compares the performance of unidirectional and bidirectional recurrent neural networks (RNN), specifically gated recurrent unit (GRU)-based architectures, for classifying ECG beats as normal or arrhythmic. ECG data were sourced from the MIT-BIH Arrhythmia Database using the WFDB toolkit. Each beat was segmented into a 128-sample window centered on the R-peak and labeled into two classes. To address severe class imbalance (6,279 normal vs. 43 arrhythmic beats), data augmentation techniques—jittering and scaling—were applied, resulting in a balanced dataset. Both models were trained under identical conditions, with evaluation based on accuracy, precision, recall, F1-score, and other statistical metrics. The unidirectional RNN achieved poor recall (9.0%) despite high precision, yielding an overall accuracy of 54.0%. In contrast, the bidirectional RNN significantly outperformed, achieving 98.17% accuracy, 98.39% precision, 97.92% recall, and a 98.16% F1-score. The results demonstrate that bidirectional temporal modeling provides substantial improvements in ECG classification, especially for detecting minority class arrhythmias. This study highlights the importance of both data augmentation and model architecture in developing effective deep learning solutions for real-time ECG analysis and clinical diagnostics.

Keywords

Collaboration network of the authors

6 authors · 9 co-authorship links · 5 across different organisations

Hover or tap a name to highlight its co-authors. Double-click to open the author's page.

  • Easwari Engineering College
  • Saveetha University
  • Villa College
  • Centre Universitaire de Mila
  • Affiliation unknown
  • Different organisations
  • Same organisation
  • Affiliation unknown
  • Thicker line = more joint articles · bigger circle = more articles
Show as table
Co-authorOrganisationJoint articles
Vengadeshwaran VeluCentre Universitaire de Mila2
S. KavithaEaswari Engineering College1
Chinthamani B.Easwari Engineering College1
Balasubramanian Suresh Chander KapaliAffiliation unknown1

Affiliations come from OpenAlex; journal OAI-PMH metadata carries none. Authors without an OpenAlex ID are matched by name, which can merge or split people.

Metadata source: OpenAlex API (jurnal SINTA, ADR 0048) https://openalex.org/S2765016208, first harvested 19 Nov 2026, last seen 29 Nov 2026.
Original metadata (oai_dc)
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"><dc:title xml:lang="en">Comparative analysis of unidirectional and bidirectional RNNs for ECG arrhythmia detection using augmented MIT-BIH data</dc:title><dc:creator>Sabura Banu Urundai Meeran</dc:creator><dc:creator>Nafeena Abdul Munaf</dc:creator><dc:subject>ECG arrhythmia detection</dc:subject><dc:subject>bidirectional recurrent neural network</dc:subject><dc:subject>gated recurrent unit</dc:subject><dc:subject>MIT-BIH arrhythmia database</dc:subject><dc:subject>data augmentation</dc:subject><dc:subject>class imbalance</dc:subject><dc:subject>ECG beat classification</dc:subject><dc:subject>real-time ECG analysis</dc:subject><dc:description xml:lang="en">Accurate classification of electrocardiogram (ECG) signals is essential for early arrhythmia detection. This study compares the performance of unidirectional and bidirectional recurrent neural networks (RNN), specifically gated recurrent unit (GRU)-based architectures, for classifying ECG beats as normal or arrhythmic. ECG data were sourced from the MIT-BIH Arrhythmia Database using the WFDB toolkit. Each beat was segmented into a 128-sample window centered on the R-peak and labeled into two classes. To address severe class imbalance (6,279 normal vs. 43 arrhythmic beats), data augmentation techniques—jittering and scaling—were applied, resulting in a balanced dataset. Both models were trained under identical conditions, with evaluation based on accuracy, precision, recall, F1-score, and other statistical metrics. The unidirectional RNN achieved poor recall (9.0%) despite high precision, yielding an overall accuracy of 54.0%. In contrast, the bidirectional RNN significantly outperformed, achieving 98.17% accuracy, 98.39% precision, 97.92% recall, and a 98.16% F1-score. The results demonstrate that bidirectional temporal modeling provides substantial improvements in ECG classification, especially for detecting minority class arrhythmias. This study highlights the importance of both data augmentation and model architecture in developing effective deep learning solutions for real-time ECG analysis and clinical diagnostics.</dc:description><dc:publisher>Institute of Advanced Engineering and Science (IAES)</dc:publisher><dc:date>2026-02-01</dc:date><dc:type>info:eu-repo/semantics/article</dc:type><dc:format>application/pdf</dc:format><dc:identifier>https://doi.org/10.11591/eei.v15i1.10893</dc:identifier><dc:identifier>10.11591/eei.v15i1.10893</dc:identifier><dc:source>Bulletin of Electrical Engineering and Informatics; Vol 15 No 1 (2026); 712-722</dc:source><dc:source>2089-3191</dc:source><dc:source>2302-9285</dc:source><dc:language>en</dc:language><dc:relation>https://beei.org/index.php/EEI/article/download/10893/4595</dc:relation><dc:rights>https://creativecommons.org/licenses/by-sa/4.0/</dc:rights></oai_dc:dc>