Human Activity Learning and Segmentation using Partially Hidden Discriminative Models

Tran The Truyen, Hung Bui, Svetha Venkatesh

Abstract

Human activity recognition in smart environments typically requires extensive manual labeling of sensor data, creating a significant "labeling bottleneck." This paper proposes a semi-supervised framework utilizing partially hidden discriminative models, specifically Conditional Random Fields (CRFs) and Maximum Entropy Markov Models (MEMMs). By adapting these models to handle unlabeled segments via the Expectation-Maximization (EM) algorithm, the authors demonstrate superior performance and label efficiency compared to traditional generative approaches like Hidden Markov Models (HMMs).

Introduction

The proliferation of smart environments and video surveillance has led to an abundance of raw sensor data. However, translating this data into high-level semantic labels (e.g., "cooking," "eating") remains a challenge. Supervised learning, while effective, is hindered by the high cost of manual annotation. Traditional generative models like Hidden Markov Models (HMMs) can handle missing labels but often struggle with the complex, overlapping features characteristic of human activity due to restrictive independence assumptions.

This research addresses the labeling bottleneck by leveraging discriminative models. Unlike generative models that model the joint probability of observations and labels, discriminative models focus on the conditional probability of labels given observations. This allows for the integration of rich, non-independent features, making them better suited for complex activity recognition tasks.

Methodology: Partially Hidden Discriminative Models

The authors explore two primary discriminative architectures: Conditional Random Fields (CRFs) and Maximum Entropy Markov Models (MEMMs).

Comparison of graphical models: (a) MEMM, (b) CRF, and (c) PHMM. White nodes represent hidden states, grey nodes represent observed labels, and black nodes represent observations.

Model Architectures

  1. Conditional Random Fields (CRFs): These are undirected graphical models that directly model $p(y|x)$. They are particularly effective at capturing global dependencies and avoiding the "label bias" problem.
  2. Maximum Entropy Markov Models (MEMMs): These are directed models that are computationally efficient and suitable for online recognition, though they can be susceptible to label bias.

Handling Incomplete Data

To address the lack of full supervision, the models are treated as "partially hidden." The label sequence is partitioned into visible (manually labeled) and hidden (unlabeled) components. The Expectation-Maximization (EM) algorithm is employed to iteratively estimate model parameters by maximizing the marginal likelihood of the observed labels.

Feature Engineering and Context

A sliding window approach is used to capture temporal context. By incorporating features from a window of time (e.g., coordinates, velocity, and speed), the models can better distinguish between activities that appear similar in a single frame but differ in their temporal trajectory.

Experimental Setup

The models were evaluated using video surveillance data from a controlled kitchen and dining room environment ($4 \times 6m^2$).

The experimental environment layout showing landmarks (Stove, Fridge, etc.) and camera placements.

Participants performed three scenarios: SHORT_MEAL, HAVE_SNACK, and NORMAL_MEAL. The data consisted of 12 primitive activities defined by movements between six key landmarks (e.g., "Door to Cupboard"). A person's $(X, Y)$ coordinates were tracked across two camera views to provide the primary observation sequence.

Key Results and Discussion

The experimental results highlight several critical advantages of the proposed approach:

  • Performance Superiority: CRFs and MEMMs consistently outperformed the Partially Hidden Markov Model (PHMM) across various scenarios. This confirms that modeling the conditional distribution is more robust for activity segmentation than modeling the generative process of noisy sensor data.
  • Label Efficiency: CRFs demonstrated remarkable stability even with significant amounts of missing data. For instance, on the HAVE_SNACK dataset, the CRF maintained an F1-score above 90% with 50% of labels missing, and precision remained high even at 80% missingness. In contrast, the performance of the generative PHMM degraded much more rapidly.
  • CRF vs. MEMM: While both performed well, CRFs generally yielded better results than MEMMs. This suggests that the undirected nature of CRFs helps mitigate the label bias issues inherent in directed discriminative models like MEMMs.

Conclusion

This work demonstrates that partially hidden discriminative models offer a powerful solution for human activity recognition in semi-supervised settings. By focusing on the boundaries between activities and incorporating temporal context, these models significantly reduce the reliance on exhaustive manual labeling while maintaining high accuracy. Future work may involve exploring hierarchical structures to capture the nested nature of human behaviors and implementing more advanced feature selection techniques.

Summary updated

BibTeX
@misc{truyen2014human,
  author = {Tran The Truyen and Hung Bui and Svetha Venkatesh},
  title = {{Human Activity Learning and Segmentation using Partially Hidden Discriminative Models}},
  year = {2014},
  eprint = {1408.3081},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1408.3081},
}
Figure