Abstract: In this paper, we examine the problem of internet video categorization. Specifically, we explore the representation of a video as a "bag of words" using various combinations of spatial and temporal descriptors. The descriptors incorporate both spatial and temporal gradients as well as optical flow information. We achieve state-of-the-art results on a standard human activity recognition database and demonstrate promising category recognition performance on two new databases of approximately 1000 and 1500 online user-submitted videos.
Introduction
In 2008, video recognition research primarily focused on "activity recognition"—identifying specific human actions like walking or waving in highly controlled environments with static backgrounds. However, the explosion of user-submitted content on sites like YouTube presented a much harder challenge: "Internet video category recognition."
Internet videos are inherently unconstrained, originating from cellphones, webcams, and professional broadcasts. They include animation, varying lighting, and shaky camera work. This research sought to determine if techniques used for lab-based activity recognition could scale to these diverse categories (e.g., "comedy," "travel," or "basketball") and which specific visual features are most effective for the task.
Methods
The authors adopted a Bag-of-Words (BoW) approach, a technique borrowed from text processing. Just as a document can be represented by the frequency of certain words, a video can be represented by a histogram of "visual words."
The pipeline involves:
- Interest Point Detection: Finding "interesting" parts of the video. They tested three types: Spatio-Temporal (ST) points where there is significant change in both space and time; Temporal (T) points based on global motion magnitude; and Spatial (S) points (Difference of Gaussian) detected in individual frames.
- Feature Description: Describing the area around those points using SIFT for spatial points and variations of Space-Time Gradients and Optical Flow Histograms for moving points.
- Vocabulary Building: Using k-means clustering to turn descriptors into a fixed "vocabulary" of 600 visual words.
- Classification: Comparing the resulting histograms using 1-Nearest Neighbor and Centroid-based classification with a $\chi^2$ distance metric.
Datasets
The study utilized three distinct datasets to provide a comprehensive evaluation:
- KTH Human Motion Database: The "gold standard" at the time, containing 598 videos of 6 actions in controlled settings.
- General Video Dataset: A new dataset introduced by the authors, consisting of 1,483 popular videos across 15 categories (e.g., animals, blogs, technology) from an online sharing site.
- Sports Video Dataset: Another new dataset featuring 967 videos across 10 different sports (e.g., baseball, karate, surfing).
Key Insights and Results
- Appearance vs. Motion: For the Sports dataset, pure appearance (SIFT) outperformed motion-based features. This is likely because sports often have highly structured, consistent environments (e.g., a green soccer pitch) that make appearance a stronger category cue than specific movements.
- The Power of Concatenation: Simply "stacking" different types of features (e.g., space-time gradients with optical flow) consistently boosted performance by 4–5%, suggesting that different descriptors capture mutually beneficial information.
- Motion Over Time: A novel optical flow descriptor emphasizing how motion changes over time proved particularly effective for general video categories.
- Performance Benchmarks: The authors achieved an accuracy of 87.3% on the KTH dataset, surpassing previous benchmarks. On the "General" dataset, combining features raised recognition performance by 5.1% over the best individual feature. While the "General" dataset proved significantly harder than KTH (with accuracies in the 20-30% range), the proposed methods still performed far better than random chance.
Conclusion
Many failures in categorization were due to the semantic ambiguity of user-submitted tags. Future work should explore larger vocabularies, more advanced fusion methods for motion and appearance, and techniques robust to the label noise often found in crowdsourced internet data.
Summary updated