Untrimmed Video Classification for Activity Detection: submission to ActivityNet Challenge

Gurkirt Singh, Fabio CuzzolinarXiv 2016

Overview

This paper presents a streamlined approach to temporal activity detection by treating untrimmed video classification as a foundational "stepping stone." By combining global video-level features with frame-level binary classification and dynamic programming, the authors developed a system that earned the runner-up prize in the 2016 ActivityNet Detection challenge.

The Challenge of Untrimmed Video

Most traditional human activity recognition research focuses on "trimmed" videos—short clips where a single action is already neatly isolated. However, real-world video is "untrimmed," containing long stretches of background noise, camera movement, and multiple different activities.

The challenge in untrimmed video is two-fold: Classification (identifying what is happening in the video) and Detection (identifying when exactly the activity starts and ends). This paper addresses the difficulty of accurately "trimming" these activities automatically, especially when frame-level data is noisy or ambiguous.

Proposed Three-Stage Pipeline

The authors propose a pipeline that leverages both global context and local temporal data:

  1. Global Classification: The system first predicts the top $k$ labels for the entire video. It uses three types of features: ImageNetShuffle (GoogLeNet CNN features), Motion Boundary Histogram (MBH) (improved trajectories), and C3D Features (spatio-temporal features). These are fused using a linear SVM to provide a global "best guess" of the activities present.
  2. Activity Proposal Generation: To find temporal boundaries, a Binary Random Forest (RF) classifier is trained on frame-level C3D features to distinguish activity from background.
  3. Optimization via Dynamic Programming (DP): Because frame-level predictions are often "jittery," the authors use DP to find optimal contiguous segments. The algorithm maximizes a score balancing prediction strength against a "smoothness" penalty.
  4. Final Scoring: Each temporal proposal is assigned a label from the global classification step and a final score combining internal consistency with global confidence.

Key Results

The proposed method showed significant improvements over the baseline provided by the ActivityNet organizers. On the validation set, the model achieved a Mean Average Precision (mAP) of 81.99%, nearly doubling the baseline of 42.50%.

Classification performance comparison on ActivityNet validation and testing sets.

Detection performance was also strong at higher overlap thresholds. At a Temporal Intersection over Union (TIoU) of 0.5, the proposed method achieved 34.47% mAP, compared to the baseline's 9.70%. These results secured the runner-up prize in the ActivityNet Detection Challenge 2016.

Limitations and Future Work

A specific failure mode occurs when the binary classifier produces high scores throughout the entire duration of a video. In such cases, the Dynamic Programming step fails to "trim" the instances, resulting in a single proposal that spans the whole video.

Example of a failure mode where the DP segmentation (green line) spans the entire video duration despite specific ground truth intervals (blue line).

This suggests the model can struggle to distinguish between back-to-back instances of the same activity or very "busy" videos. Future work may involve extending this approach to simultaneous detection and classification, moving toward a more integrated, real-time online activity detection system.

Summary updated

BibTeX
@misc{singh2016untrimmed,
  author = {Gurkirt Singh and Fabio Cuzzolin},
  title = {{Untrimmed Video Classification for Activity Detection: submission to ActivityNet Challenge}},
  year = {2016},
  eprint = {1607.01979},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1607.01979},
}
Figure