Fail-Visible Real-Time Heart Rate From Facial Video: A Backbone-Agnostic Reliability Layer, Cross-Backbone Fusion and Cross-Fitted Distillation

Chris TwomblyarXiv 2026

TL;DR

Camera-based heart-rate monitoring often breaks down when people turn their heads, and worse, most algorithms report bad estimates with the exact same confidence as good ones. This paper introduces a causal reliability layer that wraps around any heart-rate network, tempering weak predictions with past context and attaching a real-time OK, HOLD, or NO_PULSE flag. By fusing a large transformer with tiny, distilled patch networks, the system achieves a 1.92 beats-per-minute (bpm) error on head-turned views while catching most catastrophic errors as they happen.

What Problem Does This Paper Address?

Remote photoplethysmography (rPPG) estimates heart rate from standard video by detecting tiny, periodic color changes in facial skin caused by blood volume pulses. While promising for telemedicine and contactless monitoring, rPPG accuracy drops sharply under realistic conditions—especially head rotation and lateral (side) views.

The deeper issue is safety. Most rPPG models output a heart-rate number for every video window without indicating whether it can be trusted. For a clinical or consumer monitor, a wildly wrong reading presented with full confidence is a hazard. The authors aim to make rPPG fail-visible: every reading should carry a reliability flag computed strictly from current and past video, with zero look-ahead delay.

Methods

The authors combine three main ideas into a real-time pipeline (updating every 5 seconds on a 30-second sliding window):

Fig. 1. Architecture of the final system, combined F3. (a) Inference. Every 5 s, the most recent 30 s of video from one camera pass through the shared face front end to RhythmFormer v2 and three PX-KD2 patch networks. Their posteriors are pooled, and the causal layer filters the pooled posterior forward in time. The spread of the three PX-KD2 read-outs lowers the gain of unreliable windows and sets the flag. Symbols are defined in Sections IV-B and IV-C. (b) Offline training on the 261 non-reserved participants, including the selection of all settings in Stage 2. Tinted boxes with solid borders denote components introduced in this work, numbered by contribution (Section I), and gray dashed boxes denote components used as published.
  1. Causal Reliability Layer (New): A forward-only hidden Markov model (HMM) over 166 heart-rate bins (35 to 200 bpm). Instead of taking each window's prediction at face value, the layer tempers the network's output using a reliability signal (such as model disagreement). When the signal indicates low reliability, the emission flattens and the filter defers to the temporal prior from earlier windows. It also outputs a three-state flag: OK, HOLD (unreliable now, but an OK occurred within the last 30 s), or NO_PULSE (no OK in the last 30 s).
  2. Cross-Backbone Fusion (New): The system fuses two very different architectures using a log-linear opinion pool: RhythmFormer v2 (a 3.33-million-parameter transformer) and PX-KD2 (a pool of three tiny, 75,000-parameter patch networks).
  3. Cross-Fitted Distillation (New): To build fast, compact models (~17 ms per CPU update), the authors distill a 12-network teacher pool into single patch networks. Crucially, a teacher evaluated on its own training participants is almost always right, so its outputs there teach the student nothing about failure. To fix this, they use cross-fitting: training participants are split into halves and quarters so that every training window is labeled by teacher networks that never saw that participant.

Datasets

All training and evaluation used MCD-rPPG, a public dataset of 600 participants recorded simultaneously by three consumer cameras (one frontal, two lateral) at rest and after light exercise, alongside synchronized contact PPG (100 Hz) and ECG.

The authors partitioned the dataset by acquisition provenance before training any model:

  • Development (143 participants): Used for design and 5-fold cross-validation.
  • Inner 59 (118 participants): Held out for a Stage 1 one-shot test.
  • Reserved (339 participants): Withheld from the outset for the final Stage 3 one-shot test after retraining all networks on the 261 non-reserved participants.

Key Insights and Ideas

  • Two backbones rarely fail together: On side-camera views, only 5.3% of windows were missed by both raw backbones. Most windows missed by one backbone were read correctly by the other, showing that the pulse signal is still recoverable.
  • In-sample teachers hide failure: On its own training participants, the 12-network teacher pool was accurate on 99.1–99.7% of windows, compared to 91.4–94.4% on unseen participants. Cross-fitting is essential when distilling ensemble uncertainty.
  • The reliability layer helps deep nets, but hurts classical methods: Applying the layer to classical training-free methods (POS and CHROM) actually worsened their error, likely because their side-view spectra often peak at noise, causing the HMM tracker to lock onto spurious peaks.
  • Accuracy vs. flag quality trade-off: Fusion achieved the lowest error, but its reliability signal ranked large errors slightly worse (AUROC 0.82) than RhythmFormer v2 alone (AUROC 0.91)—partly because in 45% of the fused system's unflagged large errors, both backbones agreed on the wrong rate.

Key Results

On the 339-participant reserved test (primary endpoint: head-turned partial views, 60 to <100 bpm):

  • Overall accuracy: The fused headline system (Combined F3) achieved a person-averaged MAE of 1.92 bpm (compared to 10.87 bpm for raw CHROM). All eight pre-specified comparisons were statistically significant after Holm correction.
  • Layer & fusion gains: Adding the causal reliability layer cut RhythmFormer v2's primary error by 0.61 bpm (from 2.70 to 2.09 bpm), and cross-backbone fusion shaved off another 0.17 bpm.
Fig. 2. Effect of the reliability layer on two backbones (reserved 339, final networks). Person-macro MAE without the layer (open markers) and with it (filled markers) for RhythmFormer v2 (left) and one PX network (right, mean over three seeds). Numbers give the paired change and its 95% person bootstrap interval. The RhythmFormer change on the primary endpoint is the pre-specified comparison Q4, and all other changes are descriptive.
  • Speed vs. accuracy: Cross-fitted distillation improved a single 75k-parameter PX network by 0.18 bpm while running in 11–17 ms per 5-s update on four CPU threads—52× faster than RhythmFormer v2 (874 ms).
Fig. 3. Accuracy versus computational cost on reserved 339 (final systems). Primary-endpoint MAE against CPU time per 5-s update (median over updates in one run, four threads, face tracking excluded). Orange: PX-type systems. Blue: RhythmFormer v2 with the layer. Green: combined F3. 3 PX (T6s) denotes the earlier three-network system. POS with the layer lies outside the plotted range.
  • Fail-visible flagging: Unflagged ("silent") errors exceeding 20 bpm affected just 0.56% of Combined F3's windows (down from 2.94% for raw RhythmFormer v2).

Limitations and Future Work

  • Demographics and single dataset: All tests used MCD-rPPG. Because of the provenance split, the 339-participant final test included only young adults (ages 18–29), 81% of whom were women, and the dataset lacks skin-tone labels.
  • Rate and reference limits: Only 2.4% of reserved windows were below 60 bpm, and side views at ≥110 bpm included only 34 participants. Contact PPG references are also unreliable for irregular heart rhythms.
  • Reproducibility: The code, trained weights, and protocol locks are not publicly released due to commercial product development.
  • Future directions: Validating on older adults and diverse skin tones, and selecting the flag signal specifically for error-ranking rather than overall accuracy.

Summary updated

BibTeX
@misc{twombly2026fail,
  author = {Chris Twombly},
  title = {{Fail-Visible Real-Time Heart Rate From Facial Video: A Backbone-Agnostic Reliability Layer, Cross-Backbone Fusion and Cross-Fitted Distillation}},
  year = {2026},
  eprint = {2612.00063},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.00063},
}
Figure