You are currently viewing a new version of our website. To view the old version click .
Computation
  • This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
  • Article
  • Open Access

22 November 2025

Improved PPG Peak Detection Using a Hybrid DWT-CNN-LSTM Architecture with a Temporal Attention Mechanism

Institute of Robotics, Bulgarian Academy of Science, 1113 Sofia, Bulgaria
Computation2025, 13(12), 273;https://doi.org/10.3390/computation13120273 
(registering DOI)
This article belongs to the Section Computational Engineering

Abstract

This study proposes an enhanced deep learning framework for accurate detection of P-peaks in noisy photoplethysmographic (PPG) signals, utilizing a hybrid architecture that integrates wavelet-based analysis with neural network components. The P-peak detection task is formulated as a binary classification problem, where the model learns to identify the presence of a peak at each time step within fixed-length input windows. A temporal attention mechanism is incorporated to dynamically focus on the most informative regions of the signal, improving both localization and robustness. The proposed architecture combines Discrete Wavelet Transform (DWT) for multiscale signal decomposition, Convolutional Neural Networks (CNNs) for morphological feature extraction, and Long Short-Term Memory (LSTM) networks for capturing temporal dependencies. A temporal attention layer is introduced after the recurrent layers to enhance focus on time steps with the highest predictive value. An evaluation was conducted on 30 model variants, exploring different combinations of input types, decomposition levels, and activation functions. The best-performing model—Type30, which includes DWT (3 levels), CNN, LSTM, and attention—achieves an accuracy of 0.918, precision of 0.932, recall of 0.957, and F1-score of 0.923. The findings demonstrate that attention-enhanced hybrid architectures are particularly effective in handling signal variability and noise, making them highly suitable for real-world applications in wearable PPG monitoring, digital twins for Heart Rate Variability (HRV), and intelligent health systems.

Article Metrics

Citations

Article Access Statistics

Article metric data becomes available approximately 24 hours after publication online.