Skip to main content
QUICK REVIEW

[Paper Review] TransRPPG: Remote Photoplethysmography Transformer for 3D Mask Face Presentation Attack Detection

Zitong Yu, Xiaobai Li|arXiv (Cornell University)|Apr 15, 2021
Non-Invasive Vital Sign MonitoringEngineering37 references6 citations
TL;DR

This paper proposes TransRPPG, a lightweight vision transformer framework that automatically learns intrinsic rPPG-based liveness representations from facial and background multi-scale spatio-temporal maps for 3D mask face presentation attack detection. It achieves state-of-the-art performance with 98.77% AUC on cross-dataset testing using only 547K parameters and 763M FLOPs.

ABSTRACT

3D mask face presentation attack detection (PAD) plays a vital role in securing face recognition systems from emergent 3D mask attacks. Recently, remote photoplethysmography (rPPG) has been developed as an intrinsic liveness clue for 3D mask PAD without relying on the mask appearance. However, the rPPG features for 3D mask PAD are still needed expert knowledge to design manually, which limits its further progress in the deep learning and big data era. In this letter, we propose a pure rPPG transformer (TransRPPG) framework for learning intrinsic liveness representation efficiently. At first, rPPG-based multi-scale spatial-temporal maps (MSTmap) are constructed from facial skin and background regions. Then the transformer fully mines the global relationship within MSTmaps for liveness representation, and gives a binary prediction for 3D mask detection. Comprehensive experiments are conducted on two benchmark datasets to demonstrate the efficacy of the TransRPPG on both intra- and cross-dataset testings. Our TransRPPG is lightweight and efficient (with only 547K parameters and 763M FLOPs), which is promising for mobile-level applications.

Motivation & Objective

  • To address the limitation of hand-crafted rPPG features in 3D mask face presentation attack detection (PAD), which hinders progress in deep learning and big data environments.
  • To develop an end-to-end, data-driven rPPG representation learning framework that eliminates reliance on expert-designed features.
  • To explore the effectiveness of vision transformers in modeling global spatio-temporal relationships in rPPG signals for liveness detection.
  • To improve generalization and robustness in cross-dataset settings, especially under low-fidelity or high-fidelity 3D mask attack scenarios.
  • To design a lightweight architecture suitable for mobile-level deployment with minimal computational cost.

Proposed method

  • Construct multi-scale spatio-temporal maps (MSTmaps) from facial skin and background regions using raw color variance signals from multiple facial regions of interest (ROIs).
  • Use a two-branch vision transformer (shared weights) to extract rPPG and environmental features from MSTmaps, enabling disentangled learning of facial and background signals.
  • Apply patch-wise tokenization to MSTmaps with configurable spatial and temporal patch sizes (e.g., 3×30 with 1×15 overlap) for transformer input.
  • Leverage self-attention mechanisms in the vision transformer to model long-range dependencies and global relationships within MSTmaps for enhanced liveness representation.
  • Introduce two separate supervision heads and loss functions ($\mathcal{L}_{face}$ and $π_{bg}$) to guide feature learning from facial and background branches independently.
  • Refine the combined features via an additional transformer layer to produce a final binary prediction (bonafide vs. 3D mask attack).

Experimental results

Research questions

  • RQ1Can a pure transformer-based framework automatically learn effective rPPG features for 3D mask PAD without relying on hand-crafted signal processing?
  • RQ2How does the design of MSTmap input (spatial-temporal resolution, patch size, overlapping) affect the performance of the transformer in liveness detection?
  • RQ3What is the contribution of background region features to the overall detection performance, and does disentangled learning from face and background improve robustness?
  • RQ4How does the model generalize across datasets with varying data quality and attack fidelity, especially when training on limited data?
  • RQ5Can a lightweight transformer architecture achieve high accuracy with minimal parameters and FLOPs for mobile deployment?

Key findings

  • TransRPPG achieves 98.77% AUC on cross-dataset testing (MARsV2 → 3DMAD), demonstrating strong generalization capacity.
  • The model achieves 96.89% AUC on 10s video clips and 96.06% on 7s clips, indicating robustness even with shorter input sequences.
  • Performance drops below 90% AUC when video length is under 5s, highlighting limitations in time-constrained scenarios.
  • A patch size of 3×30 with 1×15 overlapping sampling yields the best performance, outperforming both smaller and larger configurations.
  • Shallow transformers (6 layers) with 92-dimensional embeddings achieve the highest AUC (98.77%), indicating depth is more critical than width.
  • Using a two-branch architecture with separate supervision for face and background MSTmaps improves AUC by nearly 2% compared to concatenated input, confirming the benefit of disentangled learning.

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.