Resolve Domain Conflicts for Generalizable Remote Physiological Measurement

Weiyu Sun, Xinyu Zhang, Hao Lu, Ying Chen 0006, Yun Ge, Xiaolin Huang, Jie Yuan, Yingcong Chen

TL;DR

Remote photoplethysmography (rPPG)—measuring heart rate from video—often fails when moving from the lab to the real world because different datasets have conflicting timing delays and environmental noise. This paper introduces DOHA, a framework that resolves these "domain conflicts" by using phase-invariant self-similarity maps and a specialized gradient optimization strategy that prevents the model from overfitting to irrelevant attributes like lighting or head motion.

What Problem Does This Paper Address?

Estimating physiological signals (like heart rate) from facial video is incredibly useful for non-contact health monitoring, but it is notoriously "fragile." The rPPG signal is tiny—essentially subtle skin color changes—and is easily drowned out by "attribute noise" such as lighting shifts, skin types, and head movements.

To make models more robust, researchers usually train on multiple datasets. However, this creates Domain Conflicts:

  1. Label Conflict: There is often an unknown time delay (phase shift) between the "ground truth" contact sensor and the video. This delay varies between datasets due to hardware and between individuals due to Pulse Transit Time (the time it takes blood to travel from the heart to the face).
  2. Attribute Conflict: Models often take the "path of least resistance," learning to recognize specific lighting patterns or motion types instead of the actual heart rate signal. When gradients from different videos point in opposite directions, the model struggles to find a global solution.

Methods

The authors propose the DOmain-HArmonious (DOHA) framework, which attacks these conflicts with two main components:

  • Harmonious Phase Strategy (DOHA-HPS): Instead of forcing the model to predict a raw waveform that might be misaligned with the label, HPS transforms both into a self-similarity physiological map. This map represents how similar the signal at time $A$ is to time $B$. Because it only measures internal rhythm, it is mathematically invariant to phase delays while still preserving the periodic heart rate information.
  • Harmonious Hyperplane Optimization (DOHA-HHO): This is a two-step "gradient surgery" performed during training:
  • Global Gradient Harmony (GGH): It identifies "invalid" instances—videos so noisy they produce massive, outlier gradients—and temporarily ignores them so they don't derail the training.
  • Instance-wise Gradient Harmony (IGH): If two videos in a training batch have conflicting gradients (they want to move the model parameters in opposite directions), IGH projects the gradients onto a normal hyperplane. This ensures the model only updates based on the shared components (the rPPG signal) rather than the conflicting noise.

Datasets

The study utilizes three major rPPG benchmarks:

  • VIPL-HR: A large-scale dataset with 107 subjects, featuring yellow skin tones and diverse tasks (motion, low light, etc.).
  • UBFC-rPPG: 42 subjects, primarily white skin, recorded in more stable conditions.
  • PURE: 10 subjects performing six different tasks, including sitting still and various head rotations.

Key Insights and Ideas

  • Conflict is at the Instance Level: Most "Domain Generalization" methods treat an entire dataset as one domain. The authors argue that in rPPG, every single video is its own domain because lighting and motion are so specific to that moment.
  • Phase Invariance is Key: By moving from the "time domain" to a "self-similarity domain," the model stops being penalized for being a few milliseconds "off" from a ground-truth sensor that might have its own internal hardware delay.
  • Gradient Surgery for Stability: The finding that rPPG gradients are often negatively correlated (pointing in opposite directions) explains why standard deep learning models often fail to generalize; they are essentially "tearing" the model between different noise patterns.

Key Results

DOHA significantly outperformed existing state-of-the-art methods across multiple "unseen" scenarios (training on two datasets and testing on a third):

  • Generalization: When testing on the challenging VIPL-HR dataset (after training on others), DOHA achieved a Mean Absolute Error (MAE) of 6.98 bpm, compared to the baseline's 12.12 bpm.
  • Universality: DOHA is "plug-and-play." Adding it to existing models like PhysNet or DeepPhys consistently dropped their error rates (e.g., PhysNet MAE dropped from 10.43 to 7.33 on VIPL).
  • Robustness: Visualization of the parameter space showed that DOHA leads to a much "smoother" optimization, indicating it successfully ignored conflicting noise to find the underlying physiological signal.

Limitations and Future Work

  • Computational Cost: Performing instance-wise gradient surgery (IGH) and global queue monitoring (GGH) increases training time. The authors note that while inference is fast, the training stage is more resource-intensive than standard backpropagation.
  • Self-Similarity Inversion: While the self-similarity map is great for training, extracting the final heart rate requires a "Cardiac Information Inversion" step. The authors suggest that more robust methods for this inversion (like 2D spectrum analysis) could be explored in future work.
  • Dataset Diversity: While the paper covers yellow and white skin tones, further validation on a broader range of skin types (Fitzpatrick scale 4-6) would be necessary for true global generalizability.

Summary updated

BibTeX
@inproceedings{sun2023resolve,
  author = {Weiyu Sun and Xinyu Zhang and Hao Lu and Ying Chen and Yun Ge and Xiaolin Huang and Jie Yuan and Yingcong Chen},
  title = {{Resolve Domain Conflicts for Generalizable Remote Physiological Measurement}},
  booktitle = {ACM Multimedia},
  year = {2023},
  doi = {10.1145/3581783.3612265},
}
Figure