cs.CVMay 17, 2026

Attention-Guided Fusion of 1D and 2D CNNs for Robust ECG-Based Biometric Recognition

Authors: AriouaIslameddineBenzaouiAmirZeroualAbdelhafidHouamLotfi

Organizations: aPIMIS Laboratory, Electronics and Telecommunications Department, Université du 8 Mai 1945, Guelma, Algeria · bElectrical Engineering Department, University of 20 August 1955, Skikda, Algeria · cDepartment of Electrical Engineering, Faculty of Science and Applied Sciences, Larbi Ben M’hidi University, Algeria. · dDepartment of Electronics and Communications, University of Larbi Tebessi, Tebessa, Algeria

Abstract

Electrocardiogram (ECG)-based biometric recognition has emerged as a promising solution for secure authentication and liveness detection. However, most existing methods rely on unimodal deep learning architectures that independently process either one-dimensional (1D) temporal signals or two-dimensional (2D) time-frequency representations, limiting robustness and generalization. To address this issue, this paper proposes a hybrid framework integrating 1D and 2D convolutional neural networks (CNNs) within a unified end-to-end architecture. The 1D branch extracts temporal and morphological features from raw ECG signals, while the 2D branch captures discriminative spectral information from time-frequency representations. An attention-guided fusion mechanism dynamically weights both modalities according to input characteristics, overcoming the limitations of conventional static fusion strategies. The framework was evaluated on three benchmark datasets (ECG-ID, MIT-BIH, and PTB), including healthy subjects and patients with cardiac pathologies, achieving identification accuracies of 99.56%, 100.00%, and 99.89%, respectively. To assess long-term biometric permanence, experiments were also conducted on the multi-session Heartprint dataset spanning ten years. The proposed approach achieved same-session accuracies of 98.54% (S1), 99.09% (S2), 94.93% (S3R), and 96.08% (S3L), while cross-session evaluations reached 56.33% (S1-S2) and 53.27% (S2-S3R), demonstrating the ability to capture stable biometric signatures over time. The optimal configuration combines InceptionTime for 1D processing, ResNet-34 for 2D analysis, and attention-based fusion. Ablation studies confirm that the proposed attention mechanism consistently outperforms conventional fusion approaches. Overall, the proposed framework provides a robust, scalable, and high-performance solution for ECG biometric recognition.

Explore similar work

CardsList
  1. From ECG Signals to Representative-Morphology Heatmaps for Biometric Recognition

    Sep 23, 2026Athanasios Angelakis, Marta Gomez-Barrero