An End-to-end Contrastive Deep-learning Framework for Remote Physiological Signal Measurement

Bingjie Wu, Menghan Zhou, Wei Liu, Xingyao Wang, Xingjian Zheng, Yiping Xie, Chaoqi Luo, Liangli ZhenRePSS @ IJCAI 2024

Introduction

Remote photoplethysmography (rPPG) is a non-invasive technique for measuring physiological signals, such as heart rate (HR), by detecting subtle skin color variations in facial videos using standard cameras. While promising for telemedicine and driver monitoring, deep learning models for rPPG typically require vast amounts of labeled data—videos perfectly synchronized with medical-grade physiological sensors. Collecting such data is expensive and difficult to scale. This paper introduces RankContrast, a self-supervised framework designed to overcome this data bottleneck by learning physiological features from unlabeled video data.

Methodology: The RankContrast Framework

The authors propose a two-stage training pipeline: self-supervised pre-training followed by supervised fine-tuning.

Self-Supervised Pre-training

The core innovation is the RankContrast module, which leverages the periodic nature of rPPG signals through video resampling. By artificially speeding up (downsampling) or slowing down (upsampling) video clips, the model creates relative heart rate labels without external sensors.

  • Ranking Loss: The model is trained to recognize relative changes in frequency (e.g., identifying that a downsampled clip has a higher HR than the original).
  • Contrastive Loss: The model learns to "attract" features from the same video (temporal shifts) and "resist" features from resampled or different videos.
The RankContrast pre-training stage uses video resampling to create relative heart rate labels, optimized via ranking and contrastive losses.

The framework utilizes a modified PhysNet-large backbone, a 3D-CNN designed to capture the complex spatiotemporal features inherent in skin color changes.

Supervised Fine-tuning

Following pre-training on large unlabeled datasets—including the proprietary VSIGN dataset—the model is refined using smaller labeled sets. A key design choice is formulating heart rate estimation as a classification problem (mapping HR to 141 discrete classes) rather than a simple regression, which improves model stability against noise and outliers.

Experimental Results

The framework was evaluated on several benchmarks, most notably the 3rd Vision-based Remote Physiological Signal Sensing (RePSS) Challenge.

Challenge Performance

RankContrast, submitted under the team name "Face AI," secured 1st place in Track 1 of the 3rd RePSS Challenge. It achieved a Root Mean Squared Error (RMSE) of 8.50693, significantly outperforming other competing solutions.

Leaderboard of the 3rd RePSS Challenge showing the proposed RankContrast method (Face AI) in first place.

Self-Supervised Benchmarking

When compared strictly against other self-supervised methods on the VIPL-HR-V2 dataset, RankContrast improved the RMSE by a margin of 7.81 compared to previous state-of-the-art methods like Contrast-Phys. This demonstrates that the ranking loss is a powerful addition to standard contrastive learning for physiological signal measurement.

Conclusion

RankContrast demonstrates that self-supervised learning, specifically through ranking and contrastive objectives, can effectively mitigate the need for large labeled rPPG datasets. While environmental factors like complex backgrounds and subject motion remain hurdles for real-world application, this framework sets a new benchmark for remote physiological sensing accuracy.

Summary updated

BibTeX
@inproceedings{wu2024end,
  author = {Bingjie Wu and Menghan Zhou and Wei Liu and Xingyao Wang and Xingjian Zheng and Yiping Xie and Chaoqi Luo and Liangli Zhen},
  title = {{An End-to-end Contrastive Deep-learning Framework for Remote Physiological Signal Measurement}},
  booktitle = {RePSS @ IJCAI},
  year = {2024},
}
Figure