ORIGINAL RESEARCH article

Front. Cardiovasc. Med.

Sec. General Cardiovascular Medicine

Reinforcement Learning-Guided Optimization of ECG Features for Enhanced Heart Disease Prediction using Stacked CNNs

  • Westlake University, Hangzhou, China

Article metrics

View details

616

Views

The final, formatted version of the article will be published soon.

Abstract

Accurate and timely heart disease diagnosis through intelligent ECG signal processing is essential to reducing death rates and improving patient quality of life. However, efficient feature extraction and development of sound classification models are an enormous challenge in this regard. To overcome these challenges, in this study, a novel method based on a combination of deep learning and reinforcement learning techniques is proposed. The proposed method performs the diagnosis process in four key steps: In the first step, the representation and extraction of ECG signal features are performed using three separate feature sets including Short-time Fourier transform (STFT), Gramian Angular Fields (GAF), and statistical feature set. In the second step, the STFT and GAF features are processed by Convolutional Neural Network (CNN) models to locally diagnose the condition by each of these models. The third phase includes reducing the statistical features using a new algorithm based on reinforcement learning approach to identify a set of features that are more relevant to the presence of the condition. Finally, in the fourth step, this selected set of features is merged with the diagnoses made by CNN models to perform the final diagnosis using a meta-learner based on the Multilayer Perceptron (MLP) structure. The proposed method, after careful evaluation on the MIT-BIH dataset with four target classes, achieved significant results. The results of this evaluation showed that the proposed method is capable of diagnosing heart diseases with very high accuracy, so that the Accuracy and F-measure reached 99.67% and 0.9958, respectively. The findings demonstrate the high efficiency of the suggested approach in extracting features related to heart diseases and their optimal use in the classification process.

Summary

Keywords

ECG signal processing, Heart, HeartDisease Diagnosis, reinforcement learning, stacked ensemble learning

Received

04 June 2025

Accepted

05 January 2026

Copyright

© 2026 Ma and Ding. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: XiaoWei Ding

Disclaimer

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

Outline

Share article

Article metrics