Bootstrapping Vision-language Models for Self-supervised Remote Physiological Measurement

Zijie Yue, Miaojing Shi, Hanli Wang, Shuai Ding, Qijun Chen, Shanlin Yang · OpenReview

Abstract

Facial video-based remote physiological measurement is a promising research area for detecting human vital signs (e.g., heart rate, respiration frequency) in a non-contact way. Conventional approaches are mostly supervised learning, requiring extensive collections of facial videos and synchronously recorded photoplethysmography (PPG) signals. To tackle it, self-supervised learning has recently gained attention; due to the lack of ground truth PPG signals, its performance is however limited. In this paper, we propose a novel self-supervised framework that successfully integrates the popular vision-language models (VLMs) into the remote physiological measurement task. Given a facial video, we first augment its positive and negative video samples with varying rPPG signal frequencies. Next, we introduce a frequency-oriented vision-text pair generation method by carefully creating contrastive spatio-temporal maps from positive and negative samples and designing proper text prompts to describe their relative ratios of signal frequencies. A pre-trained VLM is employed to extract features for these formed vision-text pairs and estimate rPPG signals thereafter. We develop a series of generative and contrastive learning mechanisms to optimize the VLM, including the text-guided visual map reconstruction task, the vision-text contrastive learning task, and the frequency contrastive and ranking task. Overall, our method for the first time adapts VLMs to digest and align the frequency-related knowledge in vision and text modalities. Extensive experiments on four benchmark datasets demonstrate that it significantly outperforms state-of-the-art self-supervised methods.

Introduction

Remote physiological measurement (rPPG) utilizes standard cameras to detect subtle, periodic color variations in human skin caused by the cardiac cycle. While this technology offers a non-invasive alternative to traditional contact-based sensors, the field has been dominated by supervised learning models. These models require large-scale datasets where facial videos are precisely synchronized with medical-grade ground truth signals, such as electrocardiograms (ECG). Collecting such data is costly, intrusive, and difficult to scale across diverse populations and environments.

Self-supervised learning (SSL) has emerged as a potential solution, aiming to learn physiological features without ground truth labels. However, existing SSL methods often struggle to capture the precise periodic nature of heart rates because they lack a strong "prior" or guidance on what constitutes a physiological signal versus environmental noise.

The VL-phys Framework

To address these limitations, we introduce VL-phys, a framework that leverages the temporal reasoning capabilities of pre-trained Vision-Language Models (VLMs) like CLIP or VindLU. The core innovation of VL-phys is the transformation of frequency estimation into a multi-modal alignment problem.

Overview of the VL-phys framework, illustrating how pre-trained vision-language models are adapted for remote physiological measurement through frequency-oriented vision-text pairs.

Frequency-Oriented Vision-Text Alignment

The framework operates by bootstrapping the latent temporal knowledge found in VLMs. For instance, a VLM pre-trained on general video data understands concepts like "the sky changing from gold to blue." VL-phys adapts this understanding to the domain of physiological signals.

The process begins with Frequency Augmentation. Given a raw facial video, a Learnable Frequency Augmentation (LFA) module creates "positive" samples (maintaining the original frequency) and "negative" samples (where the frequency is artificially shifted). These are then converted into Contrastive Spatio-Temporal Maps (C-STMaps)—2D representations that collapse video frames into a format highlighting color variations over time.

Detailed architecture of the VL-phys training pipeline, highlighting the Learnable Frequency Augmentation (LFA) module and the multi-task learning objectives.

Multi-Task Learning Objectives

The model is optimized through three primary tasks:

  1. Text-Guided Visual Reconstruction: The model is tasked with reconstructing masked portions of the visual map using frequency-oriented text prompts (e.g., "The frequency of the horizontal color variation on the left side is [ratio] times of that on the right side") as a guide. This forces the vision encoder to focus on subtle periodic pulses.
  2. Vision-Text Contrastive Alignment: This ensures that the visual features extracted from the STMaps align with the mathematical ratios described in the text prompts.
  3. Frequency Contrastive and Ranking: A unimodal loss that encourages the model to correctly rank different video samples based on their relative frequencies, helping it learn the underlying physics of periodicity.

Experimental Results

VL-phys was evaluated on four benchmark datasets: UBFC-rPPG, PURE, VIPL-HR, and MMVS. These datasets cover a wide range of conditions, including high-quality webcam footage, various physical activities (talking, head rotation), and challenging "in-the-wild" lighting and motion.

Performance and Robustness

The results demonstrate that VL-phys sets a new state-of-the-art for self-supervised rPPG. On the UBFC-rPPG dataset, it achieved a Mean Absolute Error (MAE) of 0.28 BPM, a significant improvement over previous self-supervised leaders like Contrast-Phys+ (0.64 BPM).

Furthermore, the model showed exceptional generalization in cross-dataset testing, indicating that it learns robust physiological features rather than dataset-specific artifacts. Beyond heart rate (HR), VL-phys also performed well in estimating Heart Rate Variability (HRV) and Respiration Frequency (RF).

Conclusion and Future Work

VL-phys demonstrates that VLMs can be effectively "bootstrapped" for specialized medical tasks by framing frequency estimation as a multi-modal alignment problem. By training on relative frequency ratios rather than absolute values, the model learns the fundamental nature of physiological signals in a completely self-supervised manner.

Despite its success, challenges remain. Heavy makeup can occasionally mask skin color variations, leading to missed signal peaks. Additionally, while the model is robust, extreme head movements still pose a challenge. Future research will focus on improving robustness to these factors and exploring model distillation to enable real-time performance on mobile devices.

Summary updated

Abstract

Facial video-based remote physiological measurement is a promising research area for detecting human vital signs (e.g., heart rate, respiration frequency) in a non-contact way. Conventional approaches are mostly supervised learning, requiring extensive collections of facial videos and synchronously recorded photoplethysmography (PPG) signals. To tackle it, self-supervised learning has recently gained attentions; due to the lack of ground truth PPG signals, its performance is however limited. In this paper, we propose a novel self-supervised framework that successfully integrates the popular vision-language models (VLMs) into the remote physiological measurement task. Given a facial video, we first augment its positive and negative video samples with varying rPPG signal frequencies. Next, we introduce a frequency-oriented vision-text pair generation method by carefully creating contrastive spatio-temporal maps from positive and negative samples and designing proper text prompts to describe their relative ratios of signal frequencies. A pre-trained VLM is employed to extract features for these formed vision-text pairs and estimate rPPG signals thereafter. We develop a series of generative and contrastive learning mechanisms to optimize the VLM, including the text-guided visual map reconstruction task, the vision-text contrastive learning task, and the frequency contrastive and ranking task. Overall, our method for the first time adapts VLMs to digest and align the frequency-related knowledge in vision and text modalities. Extensive experiments on four benchmark datasets demonstrate that it significantly outperforms state of the art self-supervised methods.
BibTeX
@misc{yue2024bootstrapping,
  author = {Zijie Yue and Miaojing Shi and Hanli Wang and Shuai Ding and Qijun Chen and Shanlin Yang},
  title = {{Bootstrapping Vision-language Models for Self-supervised Remote Physiological Measurement}},
  year = {2024},
  eprint = {2407.08507},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.08507},
}
Figure