Abstract
Video-based physiological signal estimation has been limited primarily to predicting episodic scores in windowed intervals. While these intermittent values are useful, they provide an incomplete picture of patients' physiological status and may lead to late detection of critical conditions. We propose a video Transformer for estimating instantaneous heart rate and respiration rate from face videos. Physiological signals are typically confounded by alignment errors in space and time. To overcome this, we formulated the loss in the frequency domain. We evaluated the method on the large scale Vision-for-Vitals (V4V) benchmark. It outperformed both shallow and deep learning based methods for instantaneous respiration rate estimation. In the case of heart-rate estimation, it achieved an instantaneous-MAE of 13.0 beats-per-minute.
Introduction
Remote photoplethysmography (rPPG) is a non-contact technique that extracts vital signs by observing subtle, pulse-driven color changes in human skin. Despite its potential, current video-based methods face two significant hurdles. First, most models rely on episodic evaluation, calculating average heart rates over large windows (e.g., 30 seconds). This smoothing effect obscures Heart Rate Variability (HRV) and delays the detection of acute physiological events. Second, temporal misalignment between video feeds and ground-truth sensors (like finger pulse oximeters) is common due to hardware synchronization issues and biological factors like Pulse-Transit Time—the delay as blood travels from the heart to peripheral body parts.
Methodology
To address these challenges, we propose a hybrid CNN-Transformer architecture optimized for continuous, per-frame monitoring.
Spatial-Temporal Architecture
The model utilizes a dual-branch CNN backbone. A spatial attention branch learns to isolate informative facial regions (e.g., cheeks and forehead) while ignoring backgrounds or occlusions like facial hair. Simultaneously, a motion branch processes normalized frame differences to capture the subtle color shifts caused by blood volume changes. These spatial features are then fed into a Transformer encoder. The self-attention mechanism is uniquely suited for modeling the periodic temporal dynamics of the blood volume pulse over long sequences ($N=100$ frames for heart rate and $N=1000$ for respiration).
Frequency-Domain Loss
To bypass the difficulties of time-domain alignment, we abandon standard Mean Squared Error (MSE) loss. Instead, we introduce a Maximum Cross-Correlation loss computed in the frequency domain. This approach trains the model to match the underlying frequency of the pulsatile signal, making it invariant to phase shifts (time delays) and amplitude differences that often plague peripheral sensor data.
Experimental Results
The model was evaluated on the Vision-for-Vitals (V4V) benchmark, which provides continuous blood pressure waveforms and frame-aligned heart and respiration rates for over 1,300 videos. Performance was measured using continuous Mean Absolute Error (cMAE) and continuous Root Mean Square Error (cRMSE).
| Metric | Heart Rate (HR) | Respiration Rate (RR) |
|---|---|---|
| cMAE | 13.0 bpm | 5.4 breaths/min |
| cRMSE | 18.8 bpm | 6.0 breaths/min |
The proposed Video Transformer outperformed traditional mathematical models (such as POS and ICA) and recent deep learning architectures like DeepPhys and TS-CAN. Qualitative analysis of the attention masks confirmed that the model successfully focuses on exposed skin while ignoring non-informative regions like eyeglasses.
Discussion and Conclusion
While achieving state-of-the-art results, the instantaneous MAE of 13.0 bpm underscores the inherent difficulty of per-frame estimation compared to windowed averages. Future work will focus on improving robustness in "in-the-wild" settings and extending the architecture to other vital signs, such as Oxygen Saturation (SpO2). By providing a continuous, instantaneous view of physiological status, this Transformer-based approach offers a significant step toward more responsive and accurate remote health monitoring.
Summary updated