TL;DR
This paper introduces KID-PPG, a novel deep learning approach that significantly improves heart rate estimation from smartwatch PPG signals by integrating expert medical and signal processing knowledge. By combining adaptive motion artifact removal, probabilistic inference for degradation assessment, and data augmentation, KID-PPG achieves state-of-the-art accuracy, outperforming existing methods.
What Problem Does This Paper Address?
Extracting accurate heart rate (HR) from photoplethysmography (PPG) signals, commonly used in smartwatches, is notoriously difficult due to motion artifacts (MA). These artifacts, caused by the wearer's movement, can severely distort the PPG signal, making it hard to distinguish the true blood volume pulse (BVP) from noise. While deep learning (DL) models have shown promise, they often treat HR estimation as a purely data-driven task, neglecting valuable prior knowledge from the medical and signal processing communities. This leads to several shortcomings: DL models struggle to effectively separate MA from BVP, they can be misled by out-of-distribution HR samples (e.g., very high HRs), and they fail to recognize when the PPG signal is so degraded that HR estimation is impossible.
Methods
KID-PPG tackles these issues by incorporating three key knowledge-informed mechanisms:
- Adaptive Linear Filtering for Motion Artifact Removal: Instead of relying solely on the DL model to learn MA removal, KID-PPG first employs an adaptive linear filter (implemented as a two-layer convolutional network) to explicitly disentangle the BVP signal from MA. This filter uses accelerometer data as a reference and is trained unsupervised using an adaptive filter loss function. This pre-processing step ensures that the subsequent DL model receives a cleaner PPG signal, reducing the burden on the DL architecture.
- Guided Probabilistic Inference for Degradation Assessment: KID-PPG moves beyond point estimates of HR to a probabilistic approach. It models HR as a probability distribution, allowing it to quantify uncertainty. This is crucial for identifying when the PPG signal is too degraded for reliable HR estimation. The model also incorporates a guided probabilistic training strategy that leverages BVP morphology knowledge to prevent the model from inferring HR from corrupted signals, thereby improving the robustness of its error classifier.
- Data Augmentation for High HR Samples: To address the challenge of limited high HR samples in datasets, KID-PPG uses data augmentation. It synthetically generates realistic PPG waveforms corresponding to higher heart rates, effectively expanding the training data's HR range. This helps the model generalize better to scenarios with elevated heart rates.
Datasets
The primary dataset used for training and evaluation is the PPGDalia dataset. This dataset contains synchronized ECG and wrist-worn PPG and acceleration recordings from 15 subjects during various daily life activities.
The paper also mentions validating a pre-trained model on the WESAD dataset, which comprises recordings from 15 subjects undergoing activities that evoke different stress levels.
Key Insights and Ideas
- Prior Knowledge is Crucial: The paper strongly advocates for integrating domain-specific knowledge (medical, signal processing) into DL models, demonstrating that this can significantly outperform purely data-driven approaches.
- Explicit MA Separation is Key: Pre-processing PPG signals with an explicit motion artifact removal filter, informed by physics (e.g., accelerometer data), is more effective than expecting a DL model to learn this complex separation implicitly.
- Uncertainty Matters: Moving from point estimates to probabilistic HR estimation allows models to signal when they are uncertain, which is vital for identifying unreliable HR readings due to signal degradation.
- Guided Training Improves Robustness: Guiding the probabilistic model to focus on BVP morphology during training helps prevent it from learning spurious correlations and improves its ability to identify untrustworthy samples.
- High HR Augmentation Has Trade-offs: While augmenting for high HR samples improves performance in some cases, it can also lead to increased errors on severely degraded samples if not combined with robust uncertainty estimation.
Key Results
KID-PPG achieved a mean absolute error (MAE) of 2.85 beats per minute (BPM) on the PPGDalia dataset, outperforming existing reproducible methods. The paper highlights that the adaptive filtering step alone significantly reduced MAE compared to using DL models directly. The probabilistic nature of KID-PPG also allowed it to selectively retain samples with high BVP information, improving overall accuracy.
Limitations and Future Work
The authors acknowledge that the assumption of stationarity for the adaptive filter ($f_{mix}$) might not hold in all real-world scenarios, suggesting that identifying when $f_{mix}$ needs to be updated through activity/context recognition modules is a promising future direction. They also suggest exploring alternative approaches for generating synthetic MA-affected PPG samples and further investigating MA degradation assessment. The paper also points out that while KID-PPG significantly reduces errors, some subjects (S8 and S9) consistently exhibit high MAE due to severe BVP corruption, underscoring the need for robust probabilistic HR estimators and error classifiers.
Summary updated