Human Activity Recognition based on Dynamic Spatio-Temporal Relations

Zhenyu Liu, Yaqiang Yao, Yan Liu, Yuening Zhu, Zhenchao Tao, Lei Wang, Yuhong FengarXiv 2020

Introduction

Recognizing human activity in video sequences remains a significant challenge in computer vision. Unlike simple object identification, activity is inherently dynamic and hierarchical. For instance, a complex activity like "microwaving food" is composed of a sequence of sub-actions: opening the door, placing food, closing the door, and setting the timer.

Traditional methods often rely on low-level pixel data or precise 3D joint coordinates. However, these quantitative measures are highly sensitive to sensor noise, jitter, and variations in camera angles. This paper introduces a robust framework for Human Activity Recognition (HAR) that shifts the focus from exact coordinates to qualitative spatio-temporal relations. By modeling activities as sequences of simpler sub-actions and utilizing Discrete Hidden Markov Models (HMMs), the proposed approach achieves state-of-the-art results even in unstructured environments where action timing is unknown.

Methodology

The proposed pipeline transitions from raw sensor data to high-level qualitative reasoning through several distinct stages.

The multi-stage pipeline for Human Activity Recognition, from graph construction to HMM learning.

Qualitative Spatio-Temporal Graphs (QSTG)

At the core of the representation is the Qualitative Spatio-Temporal Graph. Instead of tracking exact distances, the model records relative spatial relations between body parts and objects, such as "overlapping," "discrete," or "part of." A key innovation in this work is the addition of directional relations—determining if a hand is above or to the left of an object—using a 45-degree binning system. This qualitative approach makes the system significantly more resilient to the noise common in depth sensors like the Microsoft Kinect.

Hierarchical Body Decomposition and Automatic Partitioning

To reduce ambiguity, the model decomposes the human skeleton into two primary segments: the Upper Body (head, neck, hands) and the Lower Body (hip, torso, feet). This allows the system to simultaneously capture local interactions, such as a hand reaching for a cup, and global postures. Furthermore, the system automatically partitions long video sequences into fragments whenever a significant change in spatial relations is detected, eliminating the need for manual temporal labeling.

Bag-of-Cell-Graphs (BoCG) and HMM Learning

To process these complex graphs, the researchers developed the "Bag-of-Cell-Graphs" (BoCG) technique. Similar to the "Bag-of-Words" approach in natural language processing, this method converts graphs into histograms that are then clustered into a "vocabulary" of actions. Finally, a Discrete Hidden Markov Model (HMM) learns the underlying "grammar" of the activity, predicting high-level goals based on the sequence of visual "words."

Key Insights

Illustration of directional binning (c), hierarchical body layers (d), and the resulting spatio-temporal graph structure (e).
  • Directional Context is Crucial: The most significant performance gain resulted from integrating directional relations. Knowing a hand is merely "near" a bowl is insufficient; knowing it is "above" the bowl is essential for identifying actions like pouring.
  • Qualitative Resilience: By using "fuzzy" relations rather than exact millimeter coordinates, the model maintains stability despite the inherent jitter of depth sensors.
  • Hierarchical Focus: Breaking the body into segments prevents the model from being distracted by irrelevant movements. For activities like "taking medicine," upper body movements are prioritized over lower body posture.

Experimental Results

The framework was evaluated on the Cornell Activity Dataset (CAD-120), which consists of 120 RGB-D videos featuring 10 high-level daily activities (e.g., Making Cereal, Cleaning Objects) performed by four different subjects.

  • Accuracy: The method, dubbed DSTR (Dynamic Spatio-Temporal Relations), achieved 93.3% accuracy using ground-truth tracking data.
  • Automation Robustness: When using noisy, automatically extracted object tracks, the model still maintained an impressive 89.2% accuracy.
  • Unstructured Performance: In realistic scenarios where the timing of sub-actions was not pre-labeled, DSTR outperformed previous benchmarks by over 10%.

Limitations and Future Work

While effective, the model currently relies on 3D skeleton joints, which typically requires depth-sensing hardware. Future work will explore adapting the QSTG framework for standard 2D video as pose estimation technology improves. Additionally, while the model excels at person-object interactions, the authors aim to extend the framework to handle "solo" activities (like yoga) and complex multi-person interactions.

Summary updated

BibTeX
@misc{liu2020human,
  author = {Zhenyu Liu and Yaqiang Yao and Yan Liu and Yuening Zhu and Zhenchao Tao and Lei Wang and Yuhong Feng},
  title = {{Human Activity Recognition based on Dynamic Spatio-Temporal Relations}},
  year = {2020},
  eprint = {2006.16132},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.16132},
}
Figure