Learning Motion-Robust Remote Photoplethysmography through Arbitrary Resolution Videos

Jianwei Li, Zitong Yu, Jingang Shi · DOI

Abstract

Remote photoplethysmography (rPPG) enables non-contact heart rate (HR) estimation from facial videos which gives significant convenience compared with traditional contact-based measurements. In the real-world long-term health monitoring scenario, the distance of the participants and their head movements usually vary by time, resulting in the inaccurate rPPG measurement due to the varying face resolution and complex motion artifacts. Different from the previous rPPG models designed for a constant distance between camera and participants, in this paper, we propose two plug-and-play blocks (i.e., physiological signal feature extraction block (PFE) and temporal face alignment block (TFA)) to alleviate the degradation of changing distance and head motion. On one side, guided with representative-area information, PFE adaptively encodes the arbitrary resolution facial frames to the fixed-resolution facial structure features. On the other side, leveraging the estimated optical flow, TFA is able to counteract the rPPG signal confusion caused by the head movement thus benefit the motion-robust rPPG signal recovery. Besides, we also train the model with a cross-resolution constraint using a two-stream dual-resolution framework, which further helps PFE learn resolution-robust facial rPPG features. Extensive experiments on three benchmark datasets (UBFC-rPPG, COHFACE and PURE) demonstrate the superior performance of the proposed method.

Introduction: The Real-World Challenge of rPPG

Remote photoplethysmography (rPPG) is a promising technology for non-contact physiological monitoring, extracting heart rate signals from subtle skin color variations in video. However, its transition from controlled laboratory environments to real-world applications faces two primary obstacles: varying camera-to-subject distance and significant head motion.

As subjects move, the spatial resolution of the face in the video frame fluctuates. Standard deep learning models typically resize these "arbitrary resolution" inputs to a fixed size, a process that often blurs the delicate pulse signals. Simultaneously, head movements—rotations, tilts, and translations—introduce massive motion noise that can easily overwhelm the tiny physiological signal.

Figure 1: (a) Illustration of varying face resolution and head movement over time. (b) Comparison of rPPG signals recovered by the baseline and the proposed TFA-PFE method against ground truth.

Methodology: PFE and TFA Blocks

To address these challenges, the authors introduce two "plug-and-play" modules designed to enhance existing rPPG backbones like PhysNet or PhysFormer.

Physiological Signal Feature Extraction (PFE)

The PFE block addresses resolution variability. Instead of naive resizing, it utilizes Representative Area Encoding (RAE). By calculating the scaling ratio between the input resolution and the model's internal feature map resolution, the PFE block provides the network with metadata about how much physical skin area each feature represents. This allows the model to adaptively encode facial structures while preserving the integrity of the pulse signal across different scales.

Temporal Face Alignment (TFA)

To combat motion artifacts, the TFA block employs a bidirectional alignment strategy. Using dense optical flow (via SPyNet), the block "warps" features from adjacent frames to align them with the current reference frame. Unlike landmark-based methods that fail during extreme rotations, this pixel-level warping ensures the model consistently tracks the same skin patches, effectively neutralizing the noise caused by head movement.

Cross-Resolution Consistency

The training process is further bolstered by a two-stream framework. By feeding the same video at two different resolutions and enforcing a Cross-Resolution Constraint ($L_{crc}$), the model is forced to learn features that are invariant to the scale of the input, focusing purely on the underlying physiological rhythm.

Experimental Results

The proposed TFA-PFE framework was evaluated on benchmark datasets including UBFC-rPPG, PURE, and COHFACE.

The results demonstrate a significant leap in performance. On the UBFC-rPPG dataset, the Mean Absolute Error (MAE) was reduced from a baseline of 2.95 bpm to just 0.76 bpm. The system's resilience to low resolution is particularly noteworthy; as shown in the figure below, while baseline models suffer catastrophic failure as face resolution drops, the TFA-PFE method maintains high accuracy even at resolutions as low as 32x32 pixels.

Figure 6: Mean Absolute Error (MAE) across varying face resolutions. The TFA-PFE method shows significantly higher stability compared to the baseline as resolution decreases.

In scenarios involving extreme head rotations (up to 80 degrees), the TFA block proved essential, reducing error by over 5 bpm compared to standard deep learning approaches.

Conclusion and Future Work

By introducing resolution-agnostic and motion-robust modules, this research provides a viable path for deploying rPPG in unconstrained environments. While the TFA block introduces some computational overhead due to its reliance on optical flow and residual processing, its "plug-and-play" nature allows it to upgrade existing architectures significantly. Future research will focus on optimizing these blocks for real-time performance on mobile and edge devices, ensuring that high-fidelity heart rate monitoring is accessible anywhere.

The code for this project is available at: https://github.com/LJW-GIT/Arbitrary_Resolution_rPPG

Summary updated

BibTeX
@inproceedings{li2023learning,
  author = {Jianwei Li and Zitong Yu and Jingang Shi},
  title = {{Learning Motion-Robust Remote Photoplethysmography through Arbitrary Resolution Videos}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i1.25217},
}
Figure