Parsing video events with goal inference and intent prediction

Mingtao Pei, Yunde Jia, Song-Chun ZhuICCV 2011

Abstract

In this paper, we present an event parsing algorithm based on Stochastic Context Sensitive Grammar (SCSG) for understanding events, inferring the goal of agents, and predicting their plausible intended actions. The SCSG represents the hierarchical compositions of events and the temporal relations between the sub-events. The alphabets of the SCSG are atomic actions which are defined by the poses of agents and their interactions with objects in the scene. The temporal relations are used to distinguish events with similar structures, interpolate missing portions of events, and are learned from the training data. Our algorithm handles event insertion and multi-agent events, achieves globally optimal parsing solutions in a Bayesian framework, and improves atomic action detection through event contexts.

Introduction

Traditional activity recognition often relies on sequential models like Hidden Markov Models (HMMs) or Dynamic Bayesian Networks (DBNs). While these are effective for simple sequences, they struggle with the hierarchical nature of complex human activities and high-order temporal relationships. Furthermore, they often lack a "teleological" perspective—the ability to understand why an agent is performing an action.

This research introduces a framework for "parsing" video events using a Stochastic Context Sensitive Grammar (SCSG) represented as an And-Or Graph (AoG). By treating human actions as goal-directed behaviors, the system can recognize complex activities, infer underlying goals, and predict future moves, even amidst occlusions or interruptions.

Methodology: The And-Or Graph

The core of the approach is the SCSG, visualized as an And-Or Graph (AoG). This structure allows for a flexible, hierarchical representation of events.

The And-Or Graph (AoG) structure representing the hierarchical composition of events from atomic actions to sequential events.

In this graph:

  • And-nodes represent the chronological composition of sub-events (e.g., "Making Tea" requires picking up a cup AND walking to a dispenser).
  • Or-nodes represent alternative ways to complete a task, providing the flexibility to handle different styles or choices.
  • Leaf nodes are "atomic actions" defined by fluents.

Atomic Actions and Fluents

Atomic actions are the "alphabet" of the grammar. They are defined by fluents—time-varying properties of agents and their interactions with objects.

Examples of person poses (status of person) and object states (status of objects) that define the fluents for atomic actions.

Fluents include agent poses (e.g., "bend," "sit," "stretch") and object states (e.g., a phone being "on" or "off" the hook, a screen being "on" or "off"). By combining these low-level states with spatial relations like "touch" or "near," the system builds a robust vocabulary of actions.

Incremental Parsing and Feedback

The system uses a modified version of Earley’s Algorithm to parse video streams in real-time. It maintains multiple "parse graphs" (hypotheses) and employs a Bayesian framework to identify the most probable interpretation. A key innovation is the Top-Down Feedback loop: once a high-level event is recognized, that context is used to re-evaluate and "clean up" potentially noisy low-level atomic action detections.

Experimental Evaluation

The system was evaluated on a custom dataset featuring five indoor and outdoor locations (offices, labs, hallways, and vending machine areas). The dataset includes 60 minutes of training video and 50 minutes of testing video, covering 34 types of atomic actions and 12 high-level event categories.

Key Results

  • Event Recognition: The system achieved high accuracy, reaching 100% in Lab, Hallway, and Outdoor datasets, and 90.6% in the complex Office environment.
  • Goal and Intent Inference: In comparison with human subjects, the algorithm achieved 90% accuracy in goal inference and 87% in intent prediction.
  • Robustness: By assuming agents are rational and goal-oriented (the "teleological stance"), the system successfully recovered 27 out of 30 missing or occluded atomic actions using surrounding context.

Conclusion

The proposed SCSG framework provides a powerful method for hierarchical event understanding. While the current implementation relies on 2D data and some manual initialization for object detection, it demonstrates significant potential for real-world applications. Future work will explore integrating 3D data (e.g., from Kinect sensors) to improve pose estimation and automating the learning of grammar structures to reduce manual labor in defining complex activities.

Summary updated

BibTeX
@inproceedings{pei2011parsing,
  author = {Mingtao Pei and Yunde Jia and Song-Chun Zhu},
  title = {{Parsing video events with goal inference and intent prediction}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2011},
  url = {https://openreview.net/forum?id=HJ-1mZGOWH},
}
Figure