[Paper Review] PhysFormer++: Facial Video-based Physiological Measurement with SlowFast Temporal Difference Transformer
This paper proposes PhysFormer and PhysFormer++, two end-to-end video transformer architectures for contactless physiological measurement from facial videos. By leveraging temporal difference transformers with global attention and a SlowFast dual-pathway design, the models enhance periodic rPPG signals and improve robustness to motion, illumination, and video degradation, achieving state-of-the-art performance on benchmark datasets without pretraining.
Remote photoplethysmography (rPPG), which aims at measuring heart activities and physiological signals from facial video without any contact, has great potential in many applications (e.g., remote healthcare and affective computing). Recent deep learning approaches focus on mining subtle rPPG clues using convolutional neural networks with limited spatio-temporal receptive fields, which neglect the long-range spatio-temporal perception and interaction for rPPG modeling. In this paper, we propose two end-to-end video transformer based architectures, namely PhysFormer and PhysFormer++, to adaptively aggregate both local and global spatio-temporal features for rPPG representation enhancement. As key modules in PhysFormer, the temporal difference transformers first enhance the quasi-periodic rPPG features with temporal difference guided global attention, and then refine the local spatio-temporal representation against interference. To better exploit the temporal contextual and periodic rPPG clues, we also extend the PhysFormer to the two-pathway SlowFast based PhysFormer++ with temporal difference periodic and cross-attention transformers. Furthermore, we propose the label distribution learning and a curriculum learning inspired dynamic constraint in frequency domain, which provide elaborate supervisions for PhysFormer and PhysFormer++ and alleviate overfitting. Comprehensive experiments are performed on four benchmark datasets to show our superior performance on both intra- and cross-dataset testings. Unlike most transformer networks needed pretraining from large-scale datasets, the proposed PhysFormer family can be easily trained from scratch on rPPG datasets, which makes it promising as a novel transformer baseline for the rPPG community.
Motivation & Objective
- To address the limitations of CNN-based rPPG models in capturing long-range spatio-temporal dependencies and periodic dynamics in facial video.
- To develop a transformer-based architecture that enhances quasi-periodic rPPG features using temporal difference-guided global attention.
- To improve robustness to head movement, video compression, and low-resolution inputs in real-world rPPG monitoring scenarios.
- To enable effective training from scratch without large-scale pretraining, establishing a new baseline for rPPG in the transformer era.
- To introduce novel supervision mechanisms—label distribution learning and frequency-domain curriculum learning—to stabilize training and reduce overfitting.
Proposed method
- The core architecture uses a temporal difference transformer that computes attention over local and global spatio-temporal features using temporal difference representations.
- The method introduces a novel temporal difference multi-head self-attention (TD-MHPSA) module that enhances periodic rPPG signals by focusing on relative intensity changes across frames.
- PhysFormer++ extends the model with a SlowFast dual-pathway design, where the 'slow' stream captures long-range context and the 'fast' stream models short-term dynamics, enabling better feature fusion.
- The model employs cross-attention and periodic-attention mechanisms to refine representations by emphasizing recurring patterns in rPPG signals.
- A frequency-domain curriculum learning loss is applied to progressively constrain the model to learn periodic patterns, improving generalization.
- Label distribution learning is used to supervise the model with soft targets, enhancing robustness and reducing overfitting.
Experimental results
Research questions
- RQ1Can a video transformer architecture effectively model long-range spatio-temporal dependencies in facial video for rPPG measurement?
- RQ2How does incorporating temporal difference features improve the modeling of quasi-periodic rPPG signals in end-to-end learning?
- RQ3To what extent does the SlowFast design enhance robustness to head movement and video degradation in rPPG estimation?
- RQ4Can the proposed method achieve state-of-the-art performance without pretraining on large-scale datasets?
- RQ5How effective are the proposed supervision mechanisms—label distribution learning and frequency-domain curriculum learning—in improving model generalization?
Key findings
- PhysFormer++ achieves an RMSE of 7.62 bpm on the VIPL-HR dataset when trained on 100% of the data, outperforming AutoHR (8.68 bpm) and PhysFormer (7.79 bpm).
- On the OBF dataset, PhysFormer++ maintains strong performance under high video compression (1000 kb/s), outperforming rPPGNet, especially at 500 kb/s.
- Under low-resolution conditions (16×16), PhysFormer++ achieves an RMSE of 9.58 bpm, demonstrating robustness to image degradation and long-distance monitoring scenarios.
- With only 10% of training data, PhysFormer++ achieves 13.92 bpm RMSE, showing competitive performance compared to data-hungry CNN baselines like AutoHR (15.77 bpm) under the same low-data regime.
- The proposed attention loss ($\mathcal{L}_{\text{atten}}$) leads to more periodic and regular attention maps, improving model stability and performance under motion corruption.
- Ablation studies confirm that both the temporal difference attention and the SlowFast design significantly improve performance, especially in cross-dataset and challenging real-world settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.