Remote Heart Rate Monitoring in Smart Environments From Videos With Self-Supervised Pretraining

Divij Gupta, Ali Etemad · DOI

TL;DR

This paper introduces a self-supervised learning approach for remote heart rate (rPPG) estimation from videos, significantly reducing the need for large, labeled datasets. By leveraging contrastive learning and carefully selected facial regions, their method achieves state-of-the-art performance and demonstrates robustness, making it more practical for real-world smart environments.

What Problem Does This Paper Address?

Estimating physiological signals like heart rate (HR) from videos, known as remote photoplethysmography (rPPG), holds immense potential for non-contact health monitoring in smart environments. However, existing deep learning methods for rPPG heavily rely on extensive labeled datasets for training. Acquiring such datasets is costly and time-consuming, limiting the widespread adoption of these technologies. This paper tackles this challenge by proposing a self-supervised learning framework that learns robust rPPG estimation models with significantly less reliance on labeled data.

Methods

The core of the proposed method is a two-stage approach:

  1. Self-supervised Contrastive Pre-training: This stage uses unlabeled facial videos to train a 3D convolutional encoder. The key idea is to learn meaningful representations by maximizing the similarity between different augmented views of the same video clip (positive pairs) while minimizing similarity with views from different clips (negative pairs). They employ a combination of spatial (rotation, crop, flip) and temporal (shuffle, reorder, reverse) augmentations to create these diverse views. Crucially, they focus on specific facial regions (forehead and cheeks) as Regions of Interest (RoI) for rPPG estimation. This not only enhances robustness by capturing stronger physiological signals but also improves privacy by not processing the entire face.
  2. Supervised Fine-tuning: After pre-training, the encoder's weights are used to initialize a model that is then fine-tuned on a smaller, labeled dataset (video clips paired with ground-truth PPG signals). They use a smooth L1 loss for fine-tuning, which combines L1 and L2 losses to handle varying signal differences effectively. Notably, they leverage intermediate embeddings from the final four convolutional layers, not just the last layer, for improved representation learning.

Datasets

The authors evaluated their method on two publicly available datasets:

  • COHFACE: Contains 160 facial videos from 40 subjects under natural and studio lighting conditions. Videos are 640x480 pixels at 20 fps.
  • PURE: Consists of 60 facial videos from 10 subjects performing various movements (talking, head translation/rotation). Videos are 640x480 pixels at 30 fps.

For experiments, they used a standard train-test split for COHFACE (24/16 subjects) and a 6-4 split for PURE. They also utilized a compressed MPEG-4 version of the PURE dataset to assess robustness to compression artifacts.

Key Insights and Ideas

  • Self-supervised learning is a viable alternative: The paper strongly demonstrates that self-supervised contrastive pre-training can significantly reduce the reliance on labeled data for rPPG estimation, achieving performance comparable to or exceeding supervised methods trained on much larger datasets.
  • RoI selection matters: Focusing on specific facial regions like the forehead and cheeks, rather than the entire face, not only improves rPPG signal quality but also offers a privacy-preserving advantage.
  • Augmentations are crucial: The choice and combination of spatial and temporal augmentations play a significant role in the effectiveness of the self-supervised pre-training stage.
  • Negative pairs are beneficial: Including negative pairs in the contrastive learning objective generally leads to better performance, as it helps the model learn to distinguish subtle differences in physiological signals.
  • 3D convolutions are preferred: For rPPG estimation, 3D convolutional encoders appear to be more effective than (2+1)D convolutions, likely because the subtle color variations are sensitive to the combined spatio-temporal information.

Key Results

  • The proposed self-supervised method achieves state-of-the-art or near state-of-the-art results on both COHFACE and PURE datasets, outperforming many prior works across MAE, RMSE, and correlation metrics.
  • On the PURE (MPEG-4) dataset, their method shows robustness to compression artifacts, achieving superior results compared to other works.
  • When trained with reduced labeled data (50% and 25%), the self-supervised approach exhibits significantly better robustness, suffering smaller performance drops compared to fully supervised baselines.
  • Even with 25% of the labels, their method achieves results better than many prior works using 100% of the labels.

Limitations and Future Work

  • Facial Region Sensitivity: While the forehead and cheeks are generally good RoIs, performance can vary. The forehead, in particular, can be affected by hair, wrinkles, and other artifacts.
  • Bias and Fairness: The paper acknowledges that rPPG performance can be influenced by factors like age, skin complexion, makeup, and cultural characteristics. Future work could focus on mitigating these biases to ensure fairness across diverse demographic groups.
  • Clinical Relevance: While rPPG is promising, ECG remains the gold standard for cardiac monitoring. Future research could explore datasets with both PPG and ECG signals to validate the clinical relevance of estimated rPPG signals.
  • Augmentation Exploration: Further research can explore a wider range of augmentations and their combinations.
  • Model Enhancements: Incorporating attention mechanisms into the encoder and exploring alternative loss functions for regression tasks are suggested avenues for improvement.

Summary updated

BibTeX
@article{gupta2024remote,
  author = {Divij Gupta and Ali Etemad},
  title = {{Remote Heart Rate Monitoring in Smart Environments From Videos With Self-Supervised Pretraining}},
  journal = {IEEE Internet of Things Journal},
  year = {2024},
  doi = {10.1109/jiot.2023.3327623},
}
Figure