Abstract
While individuals can often mask their emotions through facial expressions, the autonomic nervous system (ANS) provides a more honest, albeit hidden, account of mental state. This paper presents a non-intrusive multimodal system that combines remote photoplethysmography (r-PPG) and thermal imaging to detect cognitive stress and moral elevation. By fusing heart rate data and facial temperature maps, the proposed system achieves up to 87% accuracy, significantly outperforming single-sensor methods and demonstrating the potential for high-fidelity, remote physiological monitoring.
Introduction
In the realm of affective computing, the "poker face" remains a significant hurdle. Traditional emotion recognition systems rely heavily on overt visual cues—such as smiles, scowls, or raised eyebrows—which are easily manipulated or may be entirely absent during subtle mental shifts. To bypass these limitations, researchers are increasingly looking toward psychophysiological markers like heart rate (HR) and skin temperature, which are regulated by the autonomic nervous system and are difficult to suppress voluntarily.
Historically, measuring these markers required intrusive contact-based hardware, such as ECG chest straps or thermistors. While remote alternatives like r-PPG (which extracts HR from skin color changes in video) and thermal imaging exist, they are often plagued by noise from lighting and movement. This study introduces a robust, automated pipeline designed to bridge the accuracy gap by integrating these two remote modalities.
Methodology: The pyMMER Pipeline
The researchers developed pyMMER, a Python-based framework designed to automate the extraction of physiological features from dual-camera setups. The pipeline processes two distinct data streams:
- Remote Photoplethysmography (r-PPG): Utilizing standard video, the system identifies 70 facial landmarks via MediaPipe. It tracks the subtle "flushing" or blood volume pulse (BVP) across the skin to calculate HR and Heart Rate Variability (HRV) metrics, including SDNN and rMSSD.
- Thermal Imaging: Using a FLIR thermal camera, the system automatically maps 22 Regions of Interest (ROIs) on the face, such as the nose tip, forehead, and cheeks, to monitor minute temperature fluctuations.
Data Fusion and Analysis
The study compared two primary machine learning models—Support Vector Machines (SVM) and Random Forest (RF)—across two fusion strategies:
- Early Fusion: Raw features from both r-PPG and thermal sensors are combined into a single vector before model training.
- Late Fusion: Independent models are trained for each modality, with a final decision made via a "voting" system (Decision Tree).
To ensure transparency, the team employed SHAP (SHapley Additive exPlanations) to identify which physiological features most heavily influenced the models' predictions.
Experimental Design
The system was tested on a sample of 104 participants. To induce specific mental states, the researchers utilized two distinct protocols:
- Cognitive Stress: A 20-minute intensive questionnaire designed to maximize mental load.
- Moral Elevation: A film depicting acts of sacrifice (e.g., firefighters), intended to elicit a positive, "warm" emotional state known as moral elevation.
Ground truth for heart rate was established using a medical-grade ECG module (AD8232) to validate the accuracy of the remote r-PPG sensor.
Results and Discussion
The integration of r-PPG and thermal data yielded a substantial performance increase over single-modality baselines.
| Modality | Cognitive Stress Accuracy | Moral Elevation Accuracy |
|---|---|---|
| r-PPG Only (SVM) | 77% | 61% |
| Thermal Only (RF) | 79% | 78% |
| Early Fusion (RF) | 87% | 83% |
Key Insights
- The Superiority of Early Fusion: Early fusion outperformed late fusion, suggesting that the relationship between cardiovascular activity and thermoregulation is non-linear and deeply interconnected.
- Cardiovascular Dominance: SHAP analysis revealed that cardiovascular features derived from r-PPG were the most influential drivers in the fusion model, despite thermal imaging performing better as a standalone modality.
- Thermal Signatures of Stress: Contrary to the common belief that the nose always cools under stress, this study found that sustained cognitive attention led to temperature increases in the lips and cheeks. This suggests that different types of stressors produce unique thermal "fingerprints."
- The Challenge of Moral Elevation: Detecting moral elevation proved more difficult than detecting cognitive stress. As a "bittersweet" and subtle emotion, its physiological signature is less pronounced, representing a significant challenge for future affective computing models.
Limitations and Conclusion
While the results are promising, several practical hurdles remain. The "bangs and glasses" problem—where hair or eyewear obscures thermal ROIs—resulted in data loss for a portion of the sample. Additionally, the temporal lag between rapid heart rate changes and slower skin temperature shifts presents a synchronization challenge that current models do not fully address.
Despite these limitations, the study demonstrates that the fusion of r-PPG and thermal imaging provides a powerful, non-intrusive window into the human psyche. The r-PPG system’s 0.86 correlation with gold-standard ECG data confirms that remote physiological sensing is nearing the precision required for clinical and research-grade applications. Future work will likely explore transformer-based architectures to better manage the varying temporal dynamics of multimodal physiological data.
Summary updated