Skip to main content
QUICK REVIEW

[Paper Review] RhythmMamba: Fast, Lightweight, and Accurate Remote Physiological Measurement

Bochao Zou, Zizheng Guo|arXiv (Cornell University)|Apr 9, 2024
Non-Invasive Vital Sign MonitoringEngineering6 citations
TL;DR

RhythmMamba is an end-to-end Mamba-based model for remote photoplethysmography (rPPG) that efficiently extracts quasi-periodic signals from videos of arbitrary length, using multi-temporal Mamba and frequency-domain interactions to achieve state-of-the-art performance with lower complexity.

ABSTRACT

Remote photoplethysmography (rPPG) is a method for non-contact measurement of physiological signals from facial videos, holding great potential in various applications such as healthcare, affective computing, and anti-spoofing. Existing deep learning methods struggle to address two core issues of rPPG simultaneously: understanding the periodic pattern of rPPG among long contexts and addressing large spatiotemporal redundancy in video segments. These represent a trade-off between computational complexity and the ability to capture long-range dependencies. In this paper, we introduce RhythmMamba, a state space model-based method that captures long-range dependencies while maintaining linear complexity. By viewing rPPG as a time series task through the proposed frame stem, the periodic variations in pulse waves are modeled as state transitions. Additionally, we design multi-temporal constraint and frequency domain feed-forward, both aligned with the characteristics of rPPG time series, to improve the learning capacity of Mamba for rPPG signals. Extensive experiments show that RhythmMamba achieves state-of-the-art performance with 319% throughput and 23% peak GPU memory. The codes are available at https://github.com/zizheng-guo/RhythmMamba.

Motivation & Objective

  • Motivate non-contact physiological measurement (rPPG) from facial videos for healthcare, affective computing, and anti-spoofing.
  • Address the trade-off between computational efficiency and long-range temporal dependency in rPPG modeling.
  • Propose an end-to-end RhythmMamba framework that handles arbitrary video lengths without performance loss.

Proposed method

  • Introduce a frame stem that aggregates spatial information into token channels via diff-fusion, large-kernel convolutions, and self-attention.
  • Develop multi-temporal Mamba to process sequences of varying lengths within a single Mamba block, constraining long-sequence periodicity and short-sequence trends.
  • Incorporate a frequency-domain feed-forward to enable inter-channel interaction in the frequency domain, emphasizing quasi-periodic rPPG patterns.
  • Add a frame stem module (frame-level channel aggregation) to mitigate spatial information interference in temporal modeling.
  • Train with a loss that combines temporal correlation (negative Pearson) and frequency-domain constraints based on heart-rate PSD.
  • Demonstrate linear computational growth with video length, enabling arbitrary-length input handling.

Experimental results

Research questions

  • RQ1Can RhythmMamba accurately estimate rPPG from videos of arbitrary length without performance degradation?
  • RQ2Does multi-temporal Mamba effectively capture both long-range periodic patterns and short-term trends in rPPG signals?
  • RQ3Does frequency-domain channel interaction improve the discernment of heart-rate related periodic components in rPPG?
  • RQ4Is aggregating spatial information into channels via the frame stem beneficial for Mamba-based temporal learning in rPPG?

Key findings

  • RhythmMamba achieves state-of-the-art performance on intra-dataset evaluation (PURE, UBFC) and the challenging MMPD dataset with fewer parameters and lower MACs.
  • On MMPD, RhythmMamba delivers superior results (e.g., MAE 3.16, RMSE 7.27, MAPE 3.37, ρ 0.84, SNR 4.74) compared to several baselines.
  • Cross-dataset evaluation shows RhythmMamba generalizes well when trained on PURE/UBFC and tested on PURE, UBFC, and MMPD.
  • Ablation studies confirm the importance of the diff-fusion frame stem, large kernels, multi-temporal Mamba, and the frequency-domain FFN for performance gains.
  • RhythmMamba demonstrates linear inference cost with video length and can process ultra-long videos by segmenting and concatenating results.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.