arXiv:2609.03663cs.CVSep 2026

Manuscript Offprint

arXiv:2609.03663

Cross-Dataset Transfer and Reliability of Explainable Artificial Intelligence for RhythmFormer Remote Photoplethysmography

Louis Chen, Torbjörn E. M. Nordling

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Background. Remote photoplethysmography estimates the cardiovascular pulse from facial video, and its explanations have rested on inspecting heatmaps rather than on quantitative evidence about where a model reads it. We quantified the explanations and asked whether such explanations transfer between datasets and track model performance.

Method. We trained eight condition-specific RhythmFormer models on NCKU-rPPG, recorded under three illumination levels, speaking, rotation, and cycling, estimated one heart rate per 5.12-second clip, and set them beside a UBFC-rPPG reproduction. Raw attention, rollout, attention flow, and Beyond Intuition were assessed by skin coverage and the Salience-guided Faithfulness Coefficient (SaCo).

Results. Beyond Intuition ranked highest on both datasets, at median coverage 0.789 and SaCo 0.837 on Static level 3 against 0.826 and 0.917 on UBFC-rPPG; lower ranks differed. Within one participant of one condition, neither measure was related to a clip's heart-rate error, waveform correlation, or signal-to-noise ratio on either dataset: 186 of the 252 coefficients fell below ∣ρ∣=0.10|\rho| = 0.10 and 28 reached p<0.05p < 0.05 against the 13 expected by chance. Across the eight scenarios only Beyond Intuition's coverage followed the three performance measures, at ρ=−0.43,+0.57\rho = -0.43, +0.57, and +0.43+0.43, while the attention-only methods' SaCo ran opposite to each. It failed at 40 lux alone, its median coverage falling to 0.180 and its median SaCo to −0.178-0.178, whereas motion degraded the estimates far more without such a drop.

Conclusions. Skin coverage and SaCo carry information complementary to the performance measures rather than a proxy for them: attributing to the skin does not guarantee an accurate estimate. What an attribution reveals about a condition is where the model looks rather than how faithfully its map is ordered.

Keywords: remote photoplethysmography; RhythmFormer; cross-dataset transfer; model reliability; attribution faithfulness; sparse attention; physiological signal estimation.

1 Introduction

Remote photoplethysmography (rPPG) recovers the cardiac pulse from ordinary facial video, but the pulse-induced skin-colour change is weak and easily confounded by illumination, camera

*Department of Mechanical Engineering, National Cheng Kung University, Tainan, Taiwan. ORCID: 0009-0001-8373-2295. Email: louis.chen@nordlinglab.org.

†Department of Mechanical Engineering, National Cheng Kung University, Tainan, Taiwan. ORCID: 0000-0003-4867-6707. Corresponding author: torbjorn.nordling@nordlinglab.org.

response, and motion. Public rPPG datasets span stationary recordings, deliberate head motion, speaking, exercise, and changes in illumination, but they differ markedly in camera characteristics, physiological references, sampling rates, and participant composition [1–5]. These differences make dataset adaptation a substantive part of model evaluation and a model trained on one dataset may not generalise to another, even if the datasets are similar in some respects [5, 6]. The best performing rPPG models are deep neural networks (DNNs) [7], but their complexity makes it difficult to understand how they work and whether they can be trusted [8]. In particular in clinical applications, it is important to know when a model's predictions are reliable and whether its explanations are faithful to the model's behaviour. The present study investigates whether explainable artificial intelligence (XAI) methods can provide insight into rPPG model behaviour and whether their explanations transfer across datasets and track model reliability.

RhythmFormer is a DNN demonstrated to perform well on some datasets. RhythmFormer uses a hierarchical Temporal Periodic Transformer with Periodic Sparse Attention to recover an rPPG waveform from facial video [9]. At the Nordling Lab at National Cheng Kung University (NCKU), we have collected a remote photoplethysmography (rPPG) multi-condition dataset, hereafter NCKU-rPPG, which includes eight scenarios with different illumination, motion, and speaking conditions. This is to overcome the limitations of existing datasets, like the widely used UBFC-rPPG dataset that we also used, and to provide a more comprehensive evaluation of rPPG models. We therefore investigated whether RhythmFormer explanations transfer across datasets and whether their faithfulness tracks model reliability. First, we compare explainable artificial intelligence (XAI) methods on Static level 3 and UBFC-rPPG, the NCKU-rPPG condition and the reference dataset whose recording settings and clip lengths are closest, to test whether attribution rankings and correlation structures recur. Second, we compare each method's median Salience-guided Faithfulness Coefficient across eight NCKU-rPPG scenarios with scenario-level mean absolute error, waveform Pearson correlation, and signal-to-noise ratio. The conversion, participant-independent split, and eight independently trained checkpoints provide the experimental basis for these comparisons, but the design supports descriptive transfer and reliability evidence rather than significance, causality, or cross-dataset generalisation claims.

References (79)