RhythmFormer: Extracting Patterned rPPG Signals based on Periodic Sparse Attention

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zou, Bochao, Guo, Zizheng, Chen, Jiansheng, Zhuo, Junbao, Huang, Weiran, Ma, Huimin
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909502593302528
author Zou, Bochao
Guo, Zizheng
Chen, Jiansheng
Zhuo, Junbao
Huang, Weiran
Ma, Huimin
author_facet Zou, Bochao
Guo, Zizheng
Chen, Jiansheng
Zhuo, Junbao
Huang, Weiran
Ma, Huimin
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2402_12788
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle RhythmFormer: Extracting Patterned rPPG Signals based on Periodic Sparse Attention
Zou, Bochao
Guo, Zizheng
Chen, Jiansheng
Zhuo, Junbao
Huang, Weiran
Ma, Huimin
Computer Vision and Pattern Recognition
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.
title RhythmFormer: Extracting Patterned rPPG Signals based on Periodic Sparse Attention
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2402.12788