Skip to main content
QUICK REVIEW

[Paper Review] Bayesian Active Learning for Wearable Stress and Affect Detection

Abhijith Ragav, Gautham Krishna Gudur|arXiv (Cornell University)|Dec 4, 2020
Emotion and Mood RecognitionPsychology16 references7 citations
TL;DR

This paper proposes a Bayesian active learning framework for real-time wearable stress and affect detection using Monte Carlo dropout in a Bayesian Conv1D neural network. By leveraging uncertainty estimation via dropout inference and acquisition functions like Variation Ratios, the system achieves 90.38% accuracy with only 60% of the pool data labeled—comparable to full-data training—while maintaining low inference latency on a Raspberry Pi 2.

ABSTRACT

In the recent past, psychological stress has been increasingly observed in humans, and early detection is crucial to prevent health risks. Stress detection using on-device deep learning algorithms has been on the rise owing to advancements in pervasive computing. However, an important challenge that needs to be addressed is handling unlabeled data in real-time via suitable ground truthing techniques (like Active Learning), which should help establish affective states (labels) while also selecting only the most informative data points to query from an oracle. In this paper, we propose a framework with capabilities to represent model uncertainties through approximations in Bayesian Neural Networks using Monte-Carlo (MC) Dropout. This is combined with suitable acquisition functions for active learning. Empirical results on a popular stress and affect detection dataset experimented on a Raspberry Pi 2 indicate that our proposed framework achieves a considerable efficiency boost during inference, with a substantially low number of acquired pool points during active learning across various acquisition functions. Variation Ratios achieves an accuracy of 90.38% which is comparable to the maximum test accuracy achieved while training on about 40% lesser data.

Motivation & Objective

  • Address the challenge of labeling unlabeled physiological data in real-time wearable health monitoring systems.
  • Reduce the labeling burden on human oracles by selecting only the most informative data points for annotation.
  • Enable on-device deployment of uncertainty-aware deep learning models for continuous stress and affect detection.
  • Evaluate the effectiveness of Bayesian active learning with multiple acquisition functions in a mobile health context.
  • Demonstrate feasibility and efficiency of uncertainty-based active learning on low-power embedded devices like Raspberry Pi 2.

Proposed method

  • Employ Monte Carlo Dropout in a 1D-Convolutional Neural Network (Conv1D) to approximate posterior distributions and estimate predictive uncertainty.
  • Use Bayesian Neural Network (BNN) inference via T=10 stochastic forward passes to compute mean and variance of predictions.
  • Apply multiple acquisition functions—Max Entropy, BALD, Variation Ratios, and Random Sampling—to select the most uncertain data points from the unlabeled pool.
  • Deploy the model on a Raspberry Pi 2 for real-time inference and incremental learning with on-device active learning updates.
  • Pre-train the model on a server and transfer it to the embedded device, then perform incremental fine-tuning on acquired data with up to 10 epochs per acquisition window.
  • Use a dynamic acquisition adaptation factor η ∈ [0,1] to control the number of pool windows queried per iteration, simulating real-world data flow.

Experimental results

Research questions

  • RQ1Can Bayesian active learning with Monte Carlo dropout effectively reduce the number of labeled data points required for accurate stress and affect detection?
  • RQ2Which acquisition function—Max Entropy, BALD, Variation Ratios, or Random Sampling—yields the highest classification accuracy with minimal labeling effort?
  • RQ3How efficient is uncertainty-based active learning in terms of inference time and model update overhead on low-power embedded devices like Raspberry Pi 2?
  • RQ4To what extent can a Bayesian CNN achieve performance comparable to full-data training while using only a fraction of the labeled data?
  • RQ5Can on-device active learning with uncertainty estimation be practically deployed in real-time mobile health applications?

Key findings

  • The Variation Ratios acquisition function achieved 90.38% test accuracy using only 60% of the unlabeled pool data (η = 0.6), closely approaching the maximum accuracy of 91.92% achieved with full data (η = 1.0).
  • With η = 0.6, the system reduced the number of required labeling queries by 40% compared to full data labeling, while maintaining high performance.
  • The baseline accuracy without active learning was 79.12%, and all acquisition functions improved performance, with Variation Ratios showing the strongest gain.
  • On-device inference on Raspberry Pi 2 required approximately 5 seconds per acquisition cycle (10 stochastic forward passes), with an average of 0.5 seconds per forward pass.
  • The model size was approximately 115 kB, making it suitable for deployment on resource-constrained IoT devices.
  • The system demonstrated that uncertainty-aware active learning can significantly reduce labeling workload while maintaining high accuracy in real-time wearable affect detection.

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.