A Compositional Framework for Grounding Language Inference, Generation, and Acquisition in Video

Haonan Yu, N. Siddharth, Andrei Barbu, Jeffrey Mark Siskind

Introduction

Traditional action recognition in computer vision often simplifies complex human activities into single labels like "walking" or "cooking." However, human language describes a much richer world of actors, characteristics, and spatial relationships. This research, published in the Journal of Artificial Intelligence Research, introduces a unified framework that bridges the gap between raw video pixels and complex linguistic predicates. By treating sentences as compositional models, the system can perform three key tasks: identifying events (inference), describing clips (generation), and learning word meanings from scratch (acquisition).

The Sentence Tracker Framework

The core innovation is the Sentence Tracker, which integrates top-down linguistic knowledge with bottom-up visual data. Unlike traditional methods that track objects and then classify actions, this framework performs both tasks jointly to improve accuracy in cluttered scenes.

The Sentence Tracker architecture integrates linguistic models (lexicon, grammar) with visual processing (object detections, optical flow) to score video-sentence pairs.

The framework relies on several key components:

  1. Word Models as HMMs: Every word in the lexicon—nouns, verbs, adjectives, etc.—is represented as a Hidden Markov Model (HMM) or Finite State Machine (FSM). These models track physical features like velocity, distance, and color.
  2. Compositional Grammar: Using linguistic X-bar theory, the system parses sentences to create a "factorial HMM." This links individual word models based on their grammatical roles (e.g., agent vs. patient).
  3. Joint Optimization: The system uses a cross-product lattice and the Viterbi algorithm to find the most likely path through a video that satisfies both visual evidence and linguistic constraints.
  4. Language Acquisition: Using the EM algorithm, the system can learn HMM parameters for words from video-sentence pairs without manual object labeling, a process known as "cross-situational learning."

Experimental Evaluation

The framework was evaluated using two custom video corpora:

  • Corpus 1: 94 clips designed with "minimal pairs"—sentences differing by only one word (e.g., "quickly" vs. "slowly")—to test semantic sensitivity.
  • Corpus 2: 94 clips involving five object classes (backpack, chair, cone, etc.) used to train the system on 187 different sentences for language acquisition.

Results and Insights

The system demonstrated that language can effectively guide visual processing. For instance, if an object detector produces "ghost" detections or misidentifies an object, the sentence tracker can use linguistic constraints to rule out incorrect hypotheses and focus on relevant participants.

Tracking results for different sentences on the same video frames. The system uses linguistic cues to focus attention on the relevant participants and actions.

Key performance metrics include:

  • Language Inference: Correct tracks were produced for minimal pairs in 18 out of 25 cases, showing the system can "focus attention" based on a sentence.
  • Language Generation: The system achieved 94.68% accuracy in selecting the correct sentence from a fixed set and produced human-intelligible descriptions in open-ended tasks.
  • Language Acquisition: Learned word models were found to be functionally useful and significantly closer to ground truth than random models.

Conclusion and Future Directions

While successful in controlled environments, the framework faces challenges in scaling to "in-the-wild" video due to computational complexity and the vast variety of real-world objects. Future work will explore discriminative training and more complex graphical models like Conditional Random Fields (CRFs) to handle longer temporal dependencies and more diverse datasets.

Summary updated

BibTeX
@article{yu2015compositional,
  author = {Haonan Yu and N. Siddharth and Andrei Barbu and Jeffrey Mark Siskind},
  title = {{A Compositional Framework for Grounding Language Inference, Generation, and Acquisition in Video}},
  journal = {J. Artif. Intell. Res.},
  year = {2015},
  doi = {10.1613/jair.4556},
}
Figure