Skip to main content
QUICK REVIEW

[Paper Review] Uncertainty Quantification for Deep Context-Aware Mobile Activity Recognition and Unknown Context Discovery

Zepeng Huo, Arash Pakbin|arXiv (Cornell University)|Mar 3, 2020
Context-Aware Activity Recognition SystemsComputer Science7 citations
TL;DR

This paper proposes an uncertainty-quantified, context-aware deep learning framework, the α-β network, that jointly models activity recognition and context discovery using maximum entropy-based uncertainty quantification (UQ). By integrating clustering-based pre-training and UQ, the model improves accuracy and F1-score by 10% on benchmark data and effectively detects unknown contexts, outperforming baseline models in both public and in-house noisy datasets.

ABSTRACT

Activity recognition in wearable computing faces two key challenges: i) activity characteristics may be context-dependent and change under different contexts or situations; ii) unknown contexts and activities may occur from time to time, requiring flexibility and adaptability of the algorithm. We develop a context-aware mixture of deep models termed the {\\alpha}-\\b{eta} network coupled with uncertainty quantification (UQ) based upon maximum entropy to enhance human activity recognition performance. We improve accuracy and F score by 10% by identifying high-level contexts in a data-driven way to guide model development. In order to ensure training stability, we have used a clustering-based pre-training in both public and in-house datasets, demonstrating improved accuracy through unknown context discovery.

Motivation & Objective

  • Address the challenge of context-dependent activity recognition in wearable systems where context definitions are often incomplete or dynamic.
  • Overcome the limitation of pre-defined contexts by enabling data-driven discovery of unknown contexts during inference.
  • Improve model robustness and generalization in real-world, noisy environments by quantifying prediction uncertainty.
  • Ensure training stability and prevent model collapse in mixture-of-experts architectures through clustering-based pre-training.
  • Demonstrate the framework’s efficacy on both public (UCI OPPORTUNITY) and in-house datasets with realistic sensor noise and confounded motion patterns.

Proposed method

  • Propose an α-β network architecture: the α network acts as a context detector, outputting a distribution over contexts via a gating mechanism.
  • The β network performs context-specific activity recognition, with a separate expert network for each identified context.
  • Apply maximum entropy learning (MEL) to quantify uncertainty across all model parameters, enabling detection of high-uncertainty, unknown contexts.
  • Integrate uncertainty quantification such that predictions are rejected when uncertainty exceeds a threshold, enhancing robustness.
  • Use clustering-based pre-training on public and in-house datasets to initialize the α network, improving convergence and preventing collapse into a single expert.
  • Leverage UQ to distinguish between known and unknown contexts: known contexts show concentrated predictive distributions, while unknown ones yield flat, uncertain outputs.

Experimental results

Research questions

  • RQ1Can a deep learning model jointly learn context-aware activity recognition and discover unknown contexts without relying on pre-defined context labels?
  • RQ2How does uncertainty quantification based on maximum entropy improve model robustness in detecting unknown or out-of-distribution contexts?
  • RQ3To what extent does clustering-based pre-training stabilize training and prevent model collapse in the α-β network architecture?
  • RQ4How does the proposed framework perform in real-world, noisy environments compared to standard baseline models?
  • RQ5Can the model effectively differentiate between known and unknown contexts using uncertainty scores alone?

Key findings

  • The α-β network with UQ improves activity recognition accuracy and F1-score by 10% compared to baseline models on the UCI OPPORTUNITY dataset.
  • Pre-training increases accuracy from 87% to 96% and F1 from 0.87 to 0.96, demonstrating its critical role in preventing model collapse.
  • On the in-house dataset, the α-β network achieves 84% accuracy and 0.86 F1-score, outperforming the baseline (80% accuracy, 0.80 F1-score) despite higher noise levels.
  • Unknown contexts are reliably detected via UQ: their predictive posterior distributions are flat and spread out, while known contexts show concentrated distributions.
  • When two contexts were removed and treated as unknown, the model still correctly identified them as high-uncertainty cases, confirming its ability to detect unseen contexts.
  • Pre-training is significantly more effective than regularization in stabilizing the α-β network, as regularization alone fails to maintain performance when initialization is poor.

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.