Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

RhythmFormer: Extracting Patterned rPPG Signals based on Periodic Sparse Attention

About

Remote photoplethysmography (rPPG) is a non-contact method for detecting physiological signals based on facial videos, holding high potential in various applications. Due to the periodicity nature of rPPG signals, the long-range dependency capturing capacity of the transformer was assumed to be advantageous for such signals. However, existing methods have not conclusively demonstrated the superior performance of transformers over traditional convolutional neural networks. This may be attributed to the quadratic scaling exhibited by transformer with sequence length, resulting in coarse-grained feature extraction, which in turn affects robustness and generalization. To address that, this paper proposes a periodic sparse attention mechanism based on temporal attention sparsity induced by periodicity. A pre-attention stage is introduced before the conventional attention mechanism. This stage learns periodic patterns to filter out a large number of irrelevant attention computations, thus enabling fine-grained feature extraction. Moreover, to address the issue of fine-grained features being more susceptible to noise interference, a fusion stem is proposed to effectively guide self-attention towards rPPG features. It can be easily integrated into existing methods to enhance their performance. Extensive experiments show that the proposed method achieves state-of-the-art performance in both intra-dataset and cross-dataset evaluations. The codes are available at https://github.com/zizheng-guo/RhythmFormer.

Bochao Zou, Zizheng Guo, Jiansheng Chen, Junbao Zhuo, Weiran Huang, Huimin Ma• 2024

Related benchmarks

TaskDatasetResultRank
Pulse Rate EstimationUBFC-rPPG Intra-dataset
MAE (BPM)0.5
36
Heart Rate estimationPURE
MAE0.27
33
Pulse Rate EstimationPURE Intra-dataset
MAE (bpm)0.27
25
Pulse Rate EstimationMMPD
MAE3.07
22
Pulse Rate EstimationVIPL-HR Intra-dataset
MAE (BPM)4.51
21
Pulse Rate EstimationVIPL-HR
MAE (BPM)4.51
21
Pulse Rate EstimationUBFC-rPPG to PURE (test)
MAE (BPM)0.97
14
Pulse Rate EstimationPURE to UBFC-rPPG (test)
MAE (BPM)0.89
13
Pulse Rate EstimationPURE to MMPD (test)
MAE (BPM)8.98
12
Pulse Rate EstimationUBFC-rPPG to MMPD (test)
MAE (BPM)9.08
12
Showing 10 of 11 rows

Other info

Follow for update