Abstract
We describe an end-to-end generative approach for the segmentation and recognition of human activities. In this approach, a visual representation based on reduced Fisher Vectors is combined with a structured temporal model for recognition. We show that the statistical properties of Fisher Vectors make them an especially suitable front-end for generative models such as Gaussian mixtures. The system is evaluated for both the recognition of complex activities as well as their parsing into action units. Using a variety of video datasets ranging from human cooking activities to animal behaviors, our experiments demonstrate that the resulting architecture outperforms state-of-the-art approaches for larger datasets, i.e. when sufficient amount of data is available for training structured generative models.
Introduction
Traditional action recognition research has largely focused on identifying single actions within short, pre-trimmed video clips. However, real-world applications—such as automated kitchen monitoring or surveillance—require the analysis of long, unsegmented recordings where multiple sub-actions occur in sequence. While discriminative models like Support Vector Machines (SVMs) excel at classification in isolation, they often struggle to model the complex temporal "grammar" inherent in continuous activities.
This paper introduces an end-to-end generative framework that bridges the gap between powerful visual descriptors and robust temporal models. By combining Fisher Vector (FV) visual features with Hidden Markov Models (HMMs), the proposed approach can both segment and recognize complex human activities in long video streams. A key finding is that dimensionality reduction via Principal Component Analysis (PCA) transforms sparse Fisher Vectors into a near-normal distribution, making them exceptionally compatible with generative models.
Methodology
The proposed pipeline treats video recognition similarly to speech recognition, moving from local feature extraction to global sequence modeling:
- Feature Extraction: The system utilizes Improved Dense Trajectory Features (DTFs) to capture local motion and shape.
- Fisher Vector Encoding: These features are encoded into Fisher Vectors. While highly accurate, raw FVs are typically high-dimensional and sparse, which can lead to overfitting in generative models.
- Dimensionality Reduction: PCA is applied to reduce FVs to 64 dimensions. This step is critical not just for efficiency, but for reshaping the data distribution to be nearly Gaussian.
- Generative Modeling: Using the HMM ToolKit (HTK), each action unit is modeled by an HMM with Gaussian Mixture Models (GMMs).
- Inference: A context-free grammar defines valid action sequences, and the Viterbi algorithm is used to find the most probable path across the input video stream.
The Statistical Bridge: PCA and Normality
A major contribution of this work is identifying PCA as a statistical bridge. Generative models like HMMs typically assume that input data is low-dimensional and normally distributed. Standard visual features rarely meet these criteria. However, normality tests (Lilliefors and Jarque-Bera) conducted by the authors demonstrate that after PCA reduction, approximately 84.3% of the feature dimensions pass normality tests, compared to a mere 0.53% for original Fisher Vectors.
Experimental Results
The framework was evaluated across eight diverse datasets, including the massive Breakfast dataset (66.7 hours of cooking) and the CRIM13 dataset for rodent behavior.
Key findings include:
- Superior Segmentation: On the Breakfast dataset, the framework achieved a segmentation accuracy of 38.1%, representing a relative gain of approximately 32% over the previous state-of-the-art (28.8%).
- Scaling with Data: The paper identifies a "crossover point" where generative models begin to outperform discriminative ones. While SVMs may lead on small datasets, the HMM-based approach significantly outperforms them as data volume increases, better capturing the underlying syntax of activities.
- Cross-Domain Versatility: The system's success in both human cooking and animal behavior tasks suggests that the "visual speech" analogy is a powerful and generalizable abstraction for video analysis.
Conclusion
By aligning the statistical properties of visual features with the requirements of structured temporal models, this generative approach offers a robust solution for complex activity recognition. As video datasets continue to grow, these structured models are poised to become the dominant paradigm for parsing the continuous stream of human and animal behavior.
Summary updated