Human Activity Learning and Segmentation using Partially Hidden Discriminative Models

Tran The Truyen, Hung Hai Bui, Svetha Venkatesh

TL;DR

This paper introduces a semi-supervised learning framework for human activity recognition and segmentation using partially hidden discriminative models like CRFs and MEMMs. By effectively leveraging both labeled and unlabeled data, their approach outperforms traditional generative models, especially when labeled data is scarce, offering a more practical solution for real-world applications.

What Problem Does This Paper Address?

Understanding human activities from sensor data is crucial for applications like smart environments and intelligent assistance. A major hurdle is the cost and effort associated with manually labeling large datasets, which is a requirement for traditional supervised learning methods, particularly those based on generative models like Hidden Markov Models (HMMs). While generative models learn the joint probability of observations and labels, discriminative models directly learn the conditional probability of labels given observations, which is often more suitable for prediction tasks. However, existing discriminative models typically require fully labeled data. This paper addresses the challenge of learning activity patterns effectively when a significant portion of the data is unlabeled, bridging the gap between the need for rich discriminative models and the practical limitations of data labeling.

Methods

The core contribution is the application of semi-supervised learning to partially hidden discriminative models. Instead of relying solely on fully labeled data, their method incorporates unlabeled data into the learning process. They focus on two discriminative models:

  • Conditional Random Fields (CRFs): These are undirected graphical models that directly model the conditional probability $p(y|x)$. The paper extends CRFs to handle partially hidden labels.
  • Maximum Entropy Markov Models (MEMMs): These are directed graphical models that also model $p(y|x)$ but in a local, sequential manner. The authors adapt MEMMs to a more general form and handle partially hidden labels.

The key novelty lies in adapting these discriminative models to work with partially hidden labels, meaning some activity labels in a sequence are known (visible) while others are unknown (hidden). This allows them to leverage unlabeled data for training. They also explore the use of contextual features by employing a sliding window over the observation sequence to capture temporal dependencies, which is crucial for activity recognition.

Datasets

The experiments were conducted on video surveillance data from a dining room and kitchen environment. The data was collected using two static cameras. They created three scenarios:

  • SHORT_MEAL: 12 training and 22 testing video sequences.
  • HAVE_SNACK: 15 training and 11 testing video sequences.
  • NORMAL_MEAL: 15 training and 11 testing video sequences.

The raw video data was processed to extract sequences of person coordinates. For training, these sequences were partially labeled, with the percentage of missing labels varying. The testing sequences provided the ground truth. No new benchmarks were introduced; rather, existing scenarios were used to evaluate the proposed models against established ones.

Key Insights and Ideas

  • Discriminative models shine with limited labels: The paper demonstrates that discriminative models (CRFs and MEMMs) are more robust than generative models (PHMMs) when a substantial portion of the data is unlabeled. This is because they can effectively utilize the unlabeled data to improve their understanding of the underlying activity patterns.
  • Context is king for activity recognition: Incorporating contextual information from the observation sequence (using a sliding window) significantly improves the performance of both CRFs and MEMMs. This highlights the importance of temporal dependencies in human activities.
  • CRFs offer superior performance: Across all tested scenarios and varying levels of missing labels, the CRFs consistently outperformed both MEMMs and the generative PHMMs. This suggests that their undirected structure and ability to model global dependencies are particularly beneficial for this task.
  • Semi-supervised learning is practical: The ability to perform well even with a high percentage of missing labels makes this approach highly practical for real-world applications where manual labeling is a bottleneck.

Key Results

The paper presents quantitative results in terms of precision, recall, and F1-score. Key findings include:

  • CRFs consistently outperform: In all three scenarios (SHORT_MEAL, HAVE_SNACK, NORMAL_MEAL), CRFs achieved the highest F1-scores, especially as the percentage of missing labels increased. For instance, in the SHORT_MEAL scenario, the CRF's F1-score remained high (around 70-80%) even when up to 80% of labels were missing, whereas other models dropped significantly.
  • Generative models struggle with missing labels: The partially hidden Markov models (PHMMs) were outperformed by the discriminative models, particularly when a large portion of labels were missing.
  • MEMMs show promise: While generally underperforming CRFs, MEMMs still offered better performance than HMMs, especially with sufficient training labels, and showed surprisingly good performance in the HAVE_SNACK dataset.
  • Contextual features boost performance: The experiments showed that using a sliding window of size s=5 for contextual features significantly improved model performance compared to a window of s=1.

Limitations and Future Work

  • Feature selection: The authors acknowledge that while contextual features are beneficial, they did not perform exhaustive searches for the best context size or implement feature selection mechanisms. This is an area for future work, as the number of features can scale rapidly with context size.
  • Learning speed: The learning curve for log-linear models like CRFs and MEMMs can be slow compared to traditional EM algorithms used in Bayesian networks. Investigating more efficient training algorithms is suggested.
  • Hierarchical structures: While the current models can represent high-level activities, the authors suggest that future work could explore hierarchical structures (e.g., Dynamic Conditional Random Fields, hierarchical models) to better represent complex activity semantics.
  • Generalization to non-interactive applications: The paper notes that generalizing their findings to non-interactive applications in a non-active learning fashion might be challenging.

Summary updated

BibTeX
@misc{truyen2014human,
  author = {Tran The Truyen and Hung Hai 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