Journal of Cognitive Human-Computer Interaction cover
Journal of Cognitive Human-Computer Interaction

Online ISSN 2771-1463

Full Length Article

Volume 8 • Issue 1 • PP: 19–22 • 2024

Synergistic Fusion of ECG Signals for Advanced Heartbeat Classification in Health Monitoring

Mahmoud M. Ibrahim 1*
1Decision support department, Faculty of Computers and Informatics, Zagazig University, Zagazig 44519, Sharqiyah, Egypt
* Corresponding Author.
verified

Open Access & Copyright

© 2024 The Author(s). Published by ASPG. This article is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).

Abstract

This project focuses on healthcare diagnostics where it examines the problem of accurate heartbeat classification by merging Electrocardiogram (ECG) signals. ECG signals have such variability and complexity that it is hard to accurately detect various cardiac rhythms. That is why this research came up with an ensemble framework that combined recurrent neural networks (RNNs), and convolutional neural networks (CNNs) reinforced by group normalization (GN). By incorporating these techniques, the authors aimed to improve the stability and efficiency of RNNs with respect to temporal dependencies as well as CNN for spatial features. The ensemble model exhibited a greater accuracy in classifying different heartbeats after careful experimentation and analysis. During training, the inclusion of GN in the CNN part ensured its stability thereby promoting generalization of the model. This study shows that combining ECG signals is efficient and also highlights the necessity of specific normalization methods used to refine medical diagnostics.

Full Text

This HTML version is generated from the article PDF. The PDF remains the version of record.

1. INTRODUCTION

monitoring [6, 7, 8]. In this paper, we consider how such a combined synergy between ECG signals can lead to a more technically advanced system for heartbeat classification in health monitoring applications. This technique involves bringing together data from different ECG sources or modalities such as multi-lead ECG recordings and wearable devices thus aiming at extracting comprehensive information beyond that possible through individual signal analysis. Through this integration, the goal is to unlock a higher level of accuracy and robustness in discerning various cardiac rhythms, ultimately empowering healthcare practitioners with more refined diagnostic capabilities [9, 10].

An increasing number of healthcare systems have resorted to highly developed technologies in order to monitor and diagnose heart-related diseases [1]. The Electrocardiogram (ECG) signals are among the technologies that provide fundamental information about heart health since they are capable of showing intricate details regarding electrical activity within the heart. However, ECG signals interpretation and classification for heartbeat analysis is challenging due to their variation and complexity [2, 3, 4, 5]. Often, traditional methods do not succeed in making accurate distinctions between different types of heart rhythms; hence the need for new ways of classifying more precisely.

The landscape of healthcare diagnostics has been evolving with the advent of sophisticated signal processing techniques and machine learning algorithms. In this context, the amalgamation of ECG signals presents an intriguing avenue to ex-

Multiple ECG signals working together could be a revolution in terms of beat classification used for enhanced health plore [11, 12]. The integration of complementary information from disparate ECG sources allows for a more comprehensive understanding of cardiac activity. This paper embarks on an exploration of the methodologies involved in signal fusion, emphasizing the potential of this approach in optimizing heartbeat classification accuracy and reliability. By bridging the gap between different ECG modalities, the aim is to not only improve classification but also enable timely and precise intervention strategies in healthcare settings [5].

This research contributes to the ongoing discourse on the fusion of ECG signals for healthcare applications by presenting a comprehensive analysis of methodologies and their implications. The significance of this study lies in its potential to augment the existing paradigm of heartbeat classification, thereby enhancing health monitoring systems’ efficacy. Through a detailed investigation of signal fusion techniques, machine learning models, and their integration into healthcare frameworks, this paper aims to provide a roadmap for leveraging synergistic ECG signal fusion in advancing the accuracy and reliability of heartbeat classification for improved patient care and diagnostic precision.

2. METHODOLOGY

This section meticulously delineates the step-by-step methodology adopted to harness the synergistic potential inherent in fusing multiple ECG signals. In this section, the proposed model is constructed leveraging an ensemble framework combining Recurrent Neural Networks (RNNs) and Convolutional Neural Networks (CNNs), harnessing the unique strengths of each architecture to optimize heartbeat classification through synergistic ECG signal fusion.

The RNN component within the ensemble architecture is tailored to exploit temporal dependencies inherent in sequential ECG data. Specifically, Long Short-Term Memory (LSTM) or Gated Recurrent Unit (GRU) layers are employed within the RNN segment [13, 14, 15]. These specialized layers are adept at capturing long-range dependencies within sequential data by selectively retaining and updating information over time. By incorporating RNNs, the model effectively learns and encodes temporal patterns present in ECG signals, enabling it to discern nuanced changes and complex temporal relationships crucial for accurate heartbeat classification.

Listing 1. RNN module used for temporal ECG dependencies.

Figure

bidirectional=bidirectional, batch_first=True) def forward(self, input):

outputs, hidden_states = self.rnn_layer(input) return outputs, hidden_states

In contrast, the CNN component incorporates 1D convolutional layers alongside Group Normalization (GN) techniques. The addition of GN within the CNN architecture significantly contributes to stabilizing and accelerating the training process by normalizing the activations within convolutional layers. By grouping feature maps into different subsets or “groups” and normalizing them independently, GN effectively mitigates internal covariate shift, allowing for more stable and efficient training of the CNN. This normalization technique is particularly beneficial in the context of ECG signal processing within the CNN, aiding in the extraction of spatial features while enhancing the model’s robustness and generalization capabilities [13, 14, 15, 16].

Listing 2. CNN component with Group Normalization.

import torch import torch.nn as nn import torch.nn.functional as F class ConvGNPool(nn.Module):

def __init__(self, input_size, hidden_size, kernel_size):

super().__init__() self.conv = nn.Conv1d(in_channels=input_size, out_channels=hidden_size, kernel_size=kernel_size) self.batchnorm = nn.GroupNorm(num_groups=8, num_channels

=hidden_size) self.relu = nn.ReLU() self.maxpool = nn.MaxPool1d(kernel_size=2) def forward(self, x):

x = self.conv(x) x = self.batchnorm(x) x = self.relu(x) x = self.maxpool(x) return x class CNN(nn.Module):

def __init__(self, input_size=1, hid_size=256, kernel_size

=5, num_classes=5): super().__init__() self.conv1 = ConvGNPool(input_size, hid_size, kernel_size) self.conv2 = ConvGNPool(hid_size, hid_size // 2, kernel_size) self.conv3 = ConvGNPool(hid_size // 2, hid_size // 4, kernel_size) self.avgpool = nn.AdaptiveAvgPool1d((1)) self.fc = nn.Linear(in_features=hid_size // 4, out_features=num_classes) def forward(self, input):

x = self.conv1(input) x = self.conv2(x) x = self.conv3(x) x = self.avgpool(x) x = x.view(-1, x.size(1) * x.size(2)) x = F.softmax(self.fc(x), dim=1) return x

The ensemble architecture harmoniously integrates these distinct neural network paradigms, amalgamating the strengths of RNNs in capturing temporal dependencies and CNNs in extracting spatial features [9]. Through this synergistic fusion, the model achieves a more comprehensive understanding of the intricate information embedded in ECG signals, culminating in enhanced classification accuracy and robustness for healthcare applications. The collaborative nature of the RNN and CNN ensemble harnesses the complementary capabilities of both architectures, creating a powerful framework for accurate and nuanced heartbeat classification within health monitoring systems [10].

3. RESULTS AND DISCUSSION

This section serves as the vantage point to present and interpret the findings obtained through the application of integrated ECG signals in heartbeat classification. The empirical results elucidate the efficacy of the proposed fusion methodologies in enhancing the accuracy, robustness, and diagnostic precision of heartbeat classification within healthcare monitoring systems.

In Figure 1, the visual depiction of class distribution provides a compelling insight into the distribution patterns of various heartbeat classes derived from the synergistic fusion of ECG signals. This graphical representation encapsulates the relative frequencies or occurrences of distinct heartbeat classes within the dataset, offering a comprehensive overview of the dataset’s composition. The visualization showcases the disparities in class representation, unveiling potential imbalances or disparities among different cardiac rhythms. Such insights are pivotal in understanding the dataset’s composition and serve as a foundational step in guiding subsequent analyses and model development, ensuring a balanced and representative training set for accurate heartbeat classification in healthcare applications.

Figure 1. Class Distribution of Heartbeat Categories Derived from Synergistic Fusion of ECG Signals.
Figure 1. Class Distribution of Heartbeat Categories Derived from Synergistic Fusion of ECG Signals.

In Figure 2, the visualization of ECG signal samples for each distinct heartbeat class offers a comprehensive representation of the diverse cardiac rhythms captured through the synergistic fusion of ECG signals. Each subplot within the figure corresponds to a specific heartbeat class, showcasing characteristic ECG signal patterns unique to each class. This visualization allows for comparative analysis, enabling the observation of distinctive waveform morphologies, durations, amplitudes, and other pertinent features across different cardiac rhythms. Such visual representation aids in understanding the variations and nuances present within each class, providing a valuable insight into the complexity and diversity of ECG signals associated with different heartbeat categories. This detailed visualization is instrumental in refining the model’s ability to discern and classify varied cardiac rhythms accurately, thereby enhancing healthcare diagnostics and patient care.

Figure 2. ECG Signal Samples for Each Heartbeat Class.
Figure 2. ECG Signal Samples for Each Heartbeat Class.

Figure 3 shows the visualization of the classification report for the ensemble model. It provides a comprehensive assessment of the model’s performance across various metrics, offering a detailed breakdown of precision, recall, F1-score, and support for each heartbeat class. The report serves as a powerful diagnostic tool, enabling a granular evaluation of the model’s effectiveness in accurately classifying different cardiac rhythms derived from the synergistic fusion of ECG signals. Through this visualization, the model’s performance metrics are systematically displayed, allowing for a nuanced understanding of its strengths and areas for improvement in classification accuracy, sensitivity, and overall performance across different cardiac rhythms. By presenting class-specific metrics, including true positive rates, false positive rates, and support values, this report enables an in-depth assessment of the model’s ability to correctly classify diverse heartbeat categories. Such visualization aids in identifying potential areas of improvement, highlighting classes where the model excels or requires fine-tuning, thus guiding further enhancements in the classification framework for improved healthcare diagnostics.

Figure 3. Visualization of classification report for our ensemble model.
Figure 3. Visualization of classification report for our ensemble model.

4. CONCLUSION

This study presents a comprehensive exploration into the fusion of ECG signals through an ensemble framework, uniting Recurrent Neural Networks (RNNs) and Convolutional Neural Networks (CNNs) enhanced by Group Normalization (GN). The amalgamation of these diverse architectures harnesses the temporal dependencies and spatial features within ECG data, resulting in an advanced model for heartbeat classification in healthcare monitoring systems. Through meticulous experimentation and analysis, the efficacy of this synergistic approach in accurately discerning diverse cardiac rhythms has been demonstrated. The results showcase the model’s robustness and heightened accuracy, affirming its potential for precise heartbeat classification. Moreover, the integration of GN within the CNN component significantly contributes to stability and efficiency during training, further enhancing the model’s generalization capabilities. This work not only underscores the importance of integrating varied neural network paradigms but also highlights the pivotal role of specialized normalization techniques in refining healthcare diagnostics.

References

[1]    Ahmad, Z., Tabassum, A., Guan, L., & Khan, N. M. (2021). ECG heartbeat classification using multimodal fusion. IEEE Access, 9, 100615-100626.

[2]    Mastoi, Q. U. A., Wah, T. Y., Mohammed, M. A., Iqbal, U., Kadry, S., Majumdar, A., & Thinnukool, O. (2022). Novel DERMA fusion technique for ECG heartbeat classification. Life, 12(6), 842.

[3]    Ai, D., Yang, J., Wang, Z., Fan, J., Ai, C., & Wang, Y. (2015). Fast multi-scale feature fusion for ECG heartbeat classification. EURASIP Journal on Advances in Signal Processing, 2015(1), 1-11.

[4]    Golrizkhatami, Z., & Acan, A. (2018). ECG classification using three-level fusion of different feature descriptors. Expert Systems with Applications, 114, 54-64.

[5]    Huang, Y., Li, H., & Yu, X. (2021). A multiview feature fusion model for heartbeat classification. Physiological Measurement, 42(6), 065003.

[6]    Huang, Y., Li, H., & Yu, X. (2021). A multiview feature fusion model for heartbeat classification. Physiological Measurement, 42(6), 065003.

[7]    Zhang, X., Jiang, M., Wu, W., & de Albuquerque, V. H. C. (2021). Hybrid feature fusion for classification optimization of short ECG segment in IoT based intelligent healthcare system. Neural Computing and Applications, 1-15.

[8]    Arvanaghi, R., Daneshvar, S., Seyedarabi, H., & Goshvarpour, A. (2017). Fusion of ECG and ABP signals based on wavelet transform for cardiac arrhythmias classification. Computer methods and programs in biomedicine, 151, 71-78.

[9]    Arvanaghi, R., Daneshvar, S., Seyedarabi, H., & Goshvarpour, A. (2017). Fusion of ECG and ABP signals based on wavelet transform for cardiac arrhythmias classification. Computer methods and programs in biomedicine, 151, 71-78.

[10] Vijayakumar, T., Vinothkanna, R., & Duraipandian, M. (2021). Fusion based feature extraction analysis of ECG signal interpretation–a systematic approach. Journal of Artificial Intelligence, 3(01), 1-16.

[11] Zhang, J., Tian, J., Cao, Y., Yang, Y., & Xu, X. (2020). Deep time–frequency representation and progressive decision fusion for ECG classification. Knowledge-based systems, 190, 105402.

[12] Sinha, N., & Das, A. (2021, February). Analysis of ECG signal based on feature fusion and two-fold classification approach. In 2021 international conference on advances in electrical, computing, communication and sustainable technologies (ICAECT) (pp. 1-5). IEEE.

[13] Sinha, N., & Das, A. (2021, February). Analysis of ECG signal based on feature fusion and two-fold classification approach. In 2021 international conference on advances in electrical, computing, communication and sustainable technologies (ICAECT) (pp. 1-5). IEEE.

[14] Zhang, D., Chen, Y., Chen, Y., Ye, S., Cai, W., & Chen, M. (2021). An ECG heartbeat classification method based on deep convolutional neural network. Journal of Healthcare Engineering, 2021, 1-9.

[15] El-Douh, A. A., Lu, S., Abdelhafeez, A., & Aziz, A. S. (2023). Assessment the Health Sustainability using Neutrosophic MCDM Methodology: Case Study COVID-19. Sustainable Machine Intelligence Journal, 3, 1-1.‏

[16] Ye, C., Kumar, B. V., & Coimbra, M. T. (2012). Heartbeat classification using morphological and dynamic features of ECG signals. IEEE Transactions on Biomedical Engineering, 59(10), 2930-2941.

[17] Cui, J., Wang, L., He, X., De Albuquerque, V. H. C., AlQahtani, S. A., & Hassan, M. M. (2021). Deep learning-based multidimensional feature fusion for classification of ECG arrhythmia. Neural Computing and Applications, 1-15.

Continue Reading

View the full issue arrow_forward

Cite This Article

Choose your preferred format

format_quote
Ibrahim, Mahmoud M. “Synergistic Fusion of ECG Signals for Advanced Heartbeat Classification in Health Monitoring.” Journal of Cognitive Human-Computer Interaction, vol. 8, no. 1, 2024, pp. 19–22. https://doi.org/10.54216/JCHCI.080105.
Ibrahim, M. M. (2024). Synergistic Fusion of ECG Signals for Advanced Heartbeat Classification in Health Monitoring. Journal of Cognitive Human-Computer Interaction, 8(1), 19–22. https://doi.org/10.54216/JCHCI.080105
Ibrahim, Mahmoud M. “Synergistic Fusion of ECG Signals for Advanced Heartbeat Classification in Health Monitoring.” Journal of Cognitive Human-Computer Interaction 8, no. 1 (2024): 19–22. https://doi.org/10.54216/JCHCI.080105.
Ibrahim, M.M. (2024) ‘Synergistic Fusion of ECG Signals for Advanced Heartbeat Classification in Health Monitoring’, Journal of Cognitive Human-Computer Interaction, 8(1), pp. 19–22. Available at: https://doi.org/10.54216/JCHCI.080105.
Ibrahim MM. Synergistic Fusion of ECG Signals for Advanced Heartbeat Classification in Health Monitoring. Journal of Cognitive Human-Computer Interaction. 2024;8(1):19-22. doi:10.54216/JCHCI.080105
M. M. Ibrahim, “Synergistic Fusion of ECG Signals for Advanced Heartbeat Classification in Health Monitoring,” Journal of Cognitive Human-Computer Interaction, vol. 8, no. 1, pp. 19–22, 2024, doi: 10.54216/JCHCI.080105.
policy

Publisher's Note

The statements, opinions, and data presented in this article are solely those of the author(s) and do not necessarily represent those of ASPG, the journal, or its editors. ASPG and the editors disclaim responsibility for any harm arising from the use of any ideas, methods, instructions, or products described in this article, to the fullest extent permitted by applicable law.

Digital Archive Ready