Unsupervised Activity Discovery and Characterization From Event-Streams

Rafay Hammid, Siddhartha Maddi, Amos Y. Johnson, Aaron F. Bobick, Irfan A. Essa, Charles Lee Isbell Jr.UAI 2005

TL;DR

This paper introduces a novel framework for unsupervised discovery and characterization of everyday activities from event streams. By representing activities as "bags of event n-grams," they can discover distinct activity classes using graph-theoretic methods (maximal cliques) and then characterize these classes by finding predictable event motifs using variable-memory Markov chains. This approach offers a more general and unsupervised way to understand complex human activities in various environments.

What Problem Does This Paper Address?

Understanding and analyzing human activities in dynamic environments (like a loading dock or a home) is crucial for applications ranging from surveillance to user assistance in ubiquitous computing. The core challenge is to automatically discover what constitutes different "activities" and how to describe them, without prior knowledge of what those activities are. Existing methods often rely on predefined grammars or require expert knowledge to label activities. This paper aims to bridge this gap by proposing an unsupervised approach to both discover activity classes and then characterize them with meaningful patterns.

Methods

The paper's core innovation lies in its representation of activities and the subsequent discovery and characterization methods:

  • Activity Representation: Activities are represented as "bags of event n-grams." Instead of relying on strict sequential grammars, this approach treats an activity like a document, where the "words" are sequences of events (n-grams). This allows for capturing the global structural information of an activity by analyzing local event statistics.
  • Activity Class Discovery: The problem of discovering activity classes is framed as a graph-theoretic problem. Each activity instance is a node in a graph, and the edge weight between two nodes is their similarity (calculated using a novel metric). Activity classes are then identified as "maximal cliques" in this edge-weighted graph. This means finding groups of activities that are highly similar to each other.
  • Activity Characterization (Motif Discovery): Once activity classes are discovered, the paper proposes a method to characterize them by finding "predictably recurrent event motifs." This is achieved by modeling each activity class as a variable-memory Markov chain (VMMC). The motifs are essentially the learned "memory elements" of these VMMCs that best predict events within a class while being distinct from other classes. This is framed as an optimization problem to maximize class-specific predictive power and minimize cross-class representation.

Datasets

The authors evaluated their framework on two distinct datasets:

  • Loading Dock Scenario: Video data collected from a retail bookstore's loading dock area over a month. This environment involved delivery vehicles, people, and packages. The event vocabulary for this scenario consisted of 61 events.
  • House Scenario: Data collected using 16 strain gauges deployed at various locations in a house. These sensors registered when a resident walked over them, providing a sequence of location-based events. The event vocabulary for this scenario consisted of 16 events.

Both datasets were manually annotated with event vocabularies.

Key Insights and Ideas

  • "Bag of n-grams" for Activities: Representing activities as bags of n-grams is a powerful abstraction. It allows for analyzing the global structure of an activity by looking at the frequency of event sequences, moving beyond rigid sequential models. This is analogous to how text documents are analyzed.
  • Maximal Cliques for Unsupervised Clustering: Framing activity class discovery as finding maximal cliques in a similarity graph is an elegant way to achieve unsupervised clustering. It naturally identifies groups of highly similar activities.
  • Motifs as Characterizations: Discovering motifs (predictable event sub-sequences) within activity classes provides a concise and interpretable way to characterize what makes an activity class unique. This is crucial for understanding and potentially classifying future activities.
  • Maximally Mutually Exclusive Motifs: The approach specifically aims to find motifs that are highly predictive of a particular class and minimally predictive of other classes, leading to more discriminative characterizations.

Key Results

  • Loading Dock: The framework discovered 7 activity classes from 150 instances, with 106 activities belonging to these classes. The discovered motifs effectively characterized these classes.
  • House: The framework discovered 5 activity classes from 151 instances, with 131 activities belonging to these classes.
  • Subjective Assessment: A user study with 7 participants showed that they could associate discovered motifs with their corresponding activity classes with 83% accuracy, significantly better than random chance. This suggests the discovered classes and motifs are human-interpretable.

Limitations and Future Work

  • Event Vocabulary Dependence: The performance of the system is dependent on the quality and comprehensiveness of the defined event vocabulary. For the House scenario, where events were simply locations, the discovered activity structures were less well-defined compared to the Loading Dock scenario with semantically richer events.
  • Computational Complexity: While approximations are used for finding maximal cliques, the combinatorial nature of graph problems can still be a challenge.
  • Future Work: The authors plan to use the discovered activity classes and motifs for online activity classification and to detect unusual activities. They also intend to conduct more extensive user studies to further validate the system's performance.

Summary updated

BibTeX
@inproceedings{hammid2005unsupervised,
  author = {Rafay Hammid and Siddhartha Maddi and Amos Y. Johnson and Aaron F. Bobick and Irfan A. Essa and Charles Lee Isbell Jr.},
  title = {{Unsupervised Activity Discovery and Characterization From Event-Streams}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2005},
  url = {https://openreview.net/forum?id=B7UxCkTPHA},
}
Figure