Skip to main content
QUICK REVIEW

[Paper Review] Real-Time Monitoring of User Stress, Heart Rate and Heart Rate Variability on Mobile Devices

Peyman Bateni, Leonid Sigal|arXiv (Cornell University)|Oct 4, 2022
Emotion and Mood RecognitionPsychology5 citations
TL;DR

This paper presents the Beam AI SDK, a real-time, on-device solution for monitoring user stress, heart rate, and heart rate variability using only a smartphone’s selfie camera. By analyzing subtle facial color variations to extract pulse waves and applying the Baevsky Stress Index, the SDK achieves 99.2% accuracy in heart rate estimation and a 0.801 Pearson correlation for stress and HRV, outperforming existing methods with nearly twice the accuracy and lower error rates.

ABSTRACT

Stress is considered to be the epidemic of the 21st-century. Yet, mobile apps cannot directly evaluate the impact of their content and services on user stress. We introduce the Beam AI SDK to address this issue. Using our SDK, apps can monitor user stress through the selfie camera in real-time. Our technology extracts the user's pulse wave by analyzing subtle color variations across the skin regions of the user's face. The user's pulse wave is then used to determine stress (according to the Baevsky Stress Index), heart rate, and heart rate variability. We evaluate our technology on the UBFC dataset, the MMSE-HR dataset, and Beam AI's internal data. Our technology achieves 99.2%, 97.8% and 98.5% accuracy for heart rate estimation on each benchmark respectively, a nearly twice lower error rate than competing methods. We further demonstrate an average Pearson correlation of 0.801 in determining stress and heart rate variability, thus producing commercially useful readings to derive content decisions in apps. Our SDK is available for use at www.beamhealth.ai.

Motivation & Objective

  • To address the lack of real-time, accurate stress monitoring in mobile apps, especially given the rising global burden of stress-related disorders.
  • To overcome limitations of wearable-based stress monitoring, such as low adoption rates and restricted third-party access to biometric data.
  • To enable mobile applications to evaluate the physiological impact of their content and services using non-invasive, on-device sensing.
  • To develop a computationally efficient, privacy-preserving SDK that operates fully on-device without requiring additional hardware.
  • To validate the system’s accuracy and reliability across public benchmarks and real-world mobile recordings.

Proposed method

  • The system extracts the user’s pulse wave by analyzing subtle color variations in facial skin regions captured via the smartphone’s front-facing camera.
  • A proprietary peak detection algorithm processes the extracted pulse wave to compute inter-beat intervals, which are used to derive heart rate, heart rate variability (SDNN), and stress levels.
  • Stress is quantified using the Baevsky Stress Index, which is based on the variability of inter-beat intervals.
  • All processing is performed on-device, ensuring user data never leaves the device, and the SDK runs efficiently in the background during normal app usage.
  • The method is evaluated using three datasets: UBFC, MMSE-HR, and internal iPhone recordings, with gold-standard validation from Polar H10 chest straps and hand-verified pulse peaks.
  • Performance is measured using MAE, MAPE, RMSE, and Pearson correlation against ground truth for heart rate, HRV, and stress.

Experimental results

Research questions

  • RQ1Can a smartphone’s selfie camera accurately estimate heart rate in real-time without additional hardware?
  • RQ2Can the same camera-based approach reliably estimate heart rate variability and stress levels with high correlation to gold-standard measurements?
  • RQ3How does the proposed SDK compare in accuracy and error rate to existing remote photoplethysmography methods on public benchmarks?
  • RQ4To what extent can the SDK maintain performance in real-world, continuous monitoring scenarios on consumer mobile devices?
  • RQ5Can the system achieve commercially useful accuracy for content and service evaluation in mental health and wellness apps?

Key findings

  • The Beam AI SDK achieved 99.2% accuracy in heart rate estimation on the UBFC dataset, with a mean absolute error (MAE) of 0.65 bpm, significantly outperforming competing methods.
  • On the MMSE-HR dataset, the SDK achieved 97.8% accuracy and an MAE of 0.77 bpm, demonstrating robustness across diverse data.
  • In continuous monitoring on an iPhone 13, the SDK achieved a Pearson correlation of 0.801 with gold-standard readings from a Polar H10 chest strap for stress and HRV.
  • When evaluated on hand-verified pulse peaks from the UBFC dataset, the SDK achieved a stress estimation MAE of 0.973 and a correlation of 0.730, indicating strong alignment with clinical standards.
  • The SDK reduced the mean absolute error in heart rate estimation by nearly twice compared to state-of-the-art methods like EfficientPhys-T1 and TS-CAN.
  • The system demonstrated high computational efficiency and full on-device operation, ensuring privacy and enabling real-time background monitoring in mobile applications.

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.