An end-to-end generative framework for video segmentation and recognition

Hilde Kuehne, Juergen Gall, Thomas Serre

TL;DR

This paper introduces a novel end-to-end generative framework for video segmentation and recognition that combines reduced Fisher Vectors with structured temporal models (specifically HMMs and context-free grammars). The proposed method significantly outperforms state-of-the-art approaches on large-scale, complex activity datasets, demonstrating the power of generative models when sufficient training data is available.

What Problem Does This Paper Address?

The field of action recognition in videos is moving beyond simple, single-action clips towards understanding complex, long-duration activities that involve sequences of goals and sub-goals. Traditional approaches often rely on unstructured models that process entire video clips holistically, which struggle to capture the intricate temporal dependencies of real-world activities. While some methods use sliding windows to segment videos, they have primarily been tested on small datasets. The authors highlight a gap in adapting mature structured temporal models, like those used in speech recognition, to the domain of human activity analysis, largely due to the historical scarcity of large, annotated video datasets. This paper aims to bridge this gap by proposing a generative framework that can effectively model complex human behaviors and their temporal structure.

Methods

The core of the proposed framework lies in its novel approach to feature representation and its integration with structured temporal models.

  • Reduced Fisher Vectors (FVs): The authors leverage Fisher Vectors, a powerful visual representation known for their discriminative capabilities. Crucially, they propose a method to create reduced FVs. This involves using a Gaussian Mixture Model (GMM) to model local feature descriptors and then computing gradients. The resulting FV representation is then dimensionally reduced using Principal Component Analysis (PCA). This reduction is key because it makes the FVs more amenable to generative models like GMMs, which can struggle with high-dimensional and sparse data. The paper demonstrates that PCA-reduced FVs exhibit better normality properties, which is beneficial for HMMs.
  • Structured Temporal Models: The system employs a combination of Hidden Markov Models (HMMs) and context-free grammars. Each HMM is trained to model individual "action units" (e.g., "pour oil," "stir egg"). A context-free grammar is then learned to define the valid sequences of these action units, capturing the higher-level temporal structure of complex activities. This allows the system to not only recognize activities but also segment them into their constituent parts.
  • Generative Recognition Pipeline: The overall pipeline involves computing Dense Trajectory Features (DTFs), reducing their dimensionality, computing FVs for each frame, further reducing FV dimensionality with PCA, and then training HMMs for action units. During recognition, the HMMs are combined with the learned grammar, and the Viterbi algorithm is used to find the most probable sequence of action units.

Datasets

The paper evaluates its approach on a variety of complex activity datasets, including:

  • ADL [14]
  • Olympics [16]
  • ToyAssembly [32]
  • CMU-MMAC [29]
  • MPIICooking [23]
  • 50Salads [30]
  • Breakfast [12]
  • CRIM13 [2]

The authors note that for some datasets (ADL, Olympics), no prior segmentation benchmarks were available. They also highlight that for the CRIM13 dataset, their evaluation used side-view videos, aligning with previous benchmark reports.

Key Insights and Ideas

  • PCA-Reduced FVs are Crucial for Generative Models: The paper strongly suggests that while FVs are powerful, their high dimensionality and sparsity can be a bottleneck for generative models. PCA-based dimension reduction significantly improves the normality of the feature distributions, making them a much better fit for GMMs within HMMs.
  • Generative Models Shine with Sufficient Data: The results consistently show that the proposed generative framework, when trained on larger datasets, outperforms discriminative approaches. This challenges the common perception that discriminative models are always superior and highlights the potential of generative models in scenarios with ample training data.
  • Structured Temporal Models are Well-Suited for Complex Activities: The combination of HMMs for action units and context-free grammars for sequencing effectively models the hierarchical and temporal nature of human activities, leading to improved segmentation and recognition accuracy.
  • Normality Matters for HMMs: The paper provides empirical evidence that the normality of input features is indeed beneficial for the performance of HMMs, a common assumption in speech recognition that is validated here for video analysis.

Key Results

  • Segmentation: The proposed system significantly outperforms state-of-the-art methods on large datasets, achieving up to a 27.5% improvement in segmentation accuracy on the BF dataset.
  • Activity Classification: For datasets with sufficient training samples (e.g., Breakfast), the system outperforms state-of-the-art methods. For smaller datasets, it performs comparably or slightly below.
  • Feature Impact: Replacing HOGHOF features with DTFs improved overall system accuracy by 10-14%. Reduced FVs improved accuracy by ~20% for HOGHOF and ~30% for DT compared to baseline [12].
  • SVM vs. HTK: SVM-based classification, even with full FV representations, performed significantly worse (20-30% lower accuracy) than the proposed HTK-based generative system using identical features.

Limitations and Future Work

  • Dataset Size Dependency: The paper acknowledges that the proposed system's performance is dependent on the availability of sufficient training data. For smaller datasets, it does not always outperform state-of-the-art methods.
  • Future Work: The authors suggest that as datasets continue to grow in size, structured generative models are likely to become even more dominant, outperforming the state-of-the-art in various computer vision tasks. While not explicitly detailed, the success of this framework opens avenues for exploring more complex grammars, richer feature representations, and potentially multi-modal integration.

Summary updated

BibTeX
@inproceedings{kuehne2015end,
  author = {Hilde Kuehne and Juergen Gall and Thomas Serre},
  title = {{An end-to-end generative framework for video segmentation and recognition}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2015},
  url = {https://openreview.net/forum?id=VlLFKQvmgRc6},
}
Figure