Metaheuristic optimization for atrial fibrillation detection: feature extraction, selection, and hyperparameter tuning
Abstract
Atrial fibrillation (AF) detection from electrocardiogram (ECG) signals is crucial for early diagnosis and intervention. This study presents a multi-objective optimization approach for AF detection, focusing on feature extraction, selection, and neural network hyperparameter tuning. The methodology uses cross-validation during the training of the two concatenated ECG dataset features and simultaneously minimizes the error rate on the separate validation folds of each dataset and reduces the number of selected features, enhancing model generalization and efficiency. Particle swarm optimization (PSO), grey wolf optimization (GWO), and differential evolution (DE) algorithms were implemented to navigate this multi-objective space. While all three algorithms were explored, the final solution, demonstrating a superior trade-off between accuracy and feature reduction, was obtained using DE. This approach effectively identifies optimal feature subsets and neural network configurations, yielding a robust and compact AF detection model. The proposed approach has shown promising results, with the model achieving accuracies of 96.38% and 90.69%, and corresponding area under the curve (AUC) values of 0.99 and 0.96, for the first and second datasets, respectively, using 10 optimally selected features.
Keywords
Atrial fibrillation; Electrocardiogram signal; Feature extraction; Feature selection; Hyperparameter tuning; Metaheuristic optimization; Neural networks
Full Text:
PDFDOI: http://doi.org/10.11591/ijai.v15.i4.pp3878-3887
Refbacks
- There are currently no refbacks.
Copyright (c) 2026 Zaid Nouna, Hamid Bouyghf, Mohammed Nahid, Issa Sabiri

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
IAES International Journal of Artificial Intelligence (IJ-AI)
ISSN/e-ISSN 2089-4872/2252-8938
This journal is published by the Institute of Advanced Engineering and Science (IAES).