Action Recognition with Image Based CNN Features

Mahdyar Ravanbakhsh, Hossein Mousavi, Mohammad Rastegari, Vittorio Murino, Larry S. DavisarXiv 2015

Abstract

This paper presents a novel framework for action recognition that leverages pre-trained, image-based Convolutional Neural Networks (CNNs) to capture temporal dynamics. By defining "CNN flow" as the difference between high-level feature vectors of consecutive frames and organizing these into a hierarchical pyramid, the method effectively models both coarse and fine-grained motion. The approach incorporates binary key-frame selection via Locality Sensitive Hashing (LSH) for computational efficiency. Experimental results on KTH, UCF Sport, and UCF-11 datasets demonstrate that this hierarchical representation significantly outperforms traditional handcrafted features, achieving state-of-the-art accuracy without the need for computationally expensive 3D video networks.

Introduction

While Convolutional Neural Networks (CNNs) have revolutionized image recognition, extending their success to the video domain remains challenging. Traditional approaches often rely on 3D architectures or massive amounts of labeled video data, both of which are computationally expensive. A common baseline involves using the output of the last fully connected layer (e.g., the fc7 layer) as a generic feature. However, these features are inherently static; they describe the content of a frame but fail to capture the temporal variations essential for distinguishing complex actions like "diving" from "falling." This research proposes a method to leverage efficient, image-trained models to understand complex, multi-stage human actions through a dynamic "Pyramid of CNN Flows."

Methodology

The proposed system follows a multi-stage pipeline designed to transform static image features into a robust temporal representation.

Overview of the proposed action recognition pipeline from video frames to predicted labels.

CNN Flow and Key-frame Selection

Rather than operating on raw pixels, the method analyzes the fc7 features of video frames. "CNN flow" is defined as the vector subtraction between the features of two frames, capturing the semantic shift in a scene over time. To manage high-frame-rate video and reduce redundancy, the authors employ Locality Sensitive Hashing (LSH) to convert these high-dimensional features into short binary codes. Key-frames are selected only when these binary bits change, indicating significant semantic movement.

Hierarchical Pyramid of Flows

Actions are typically composed of distinct sub-actions. To capture this structure, the authors build a binary tree where the top level represents the motion of an entire video snippet, and lower levels represent motion in progressively smaller temporal segments.

The hierarchical structure of CNN flows, illustrating how sub-actions are captured at different levels of the pyramid.

As shown in Figure 2, this hierarchy allows the model to relate coarse global movements to fine-grained local details, such as the specific phase of a golf swing.

Classification

The final video features are aggregated using a "Bag of Snippets" approach. A dictionary of hierarchical temporal features is created, and a Support Vector Machine (SVM) is utilized to classify the final action based on the resulting histogram.

Experimental Results

The researchers evaluated the "Pyramid of CNN Flows" on three benchmark datasets:

  • KTH: 600 videos of 6 basic actions (walking, boxing, etc.).
  • UCF Sport: 150 videos of 10 sports actions (diving, golf swinging, kicking).
  • UCF-11 (YouTube Action): 1,600 videos with significant variations in camera motion and lighting.

The proposed method consistently outperformed state-of-the-art handcrafted features, such as Dense Trajectories. On the KTH dataset, the model achieved 95.6% accuracy, a substantial improvement over the 74.5% baseline. Performance on UCF Sport and UCF-11 reached 97.8% and 89.5%, respectively. Notably, increasing the hierarchy depth up to four levels consistently improved performance, validating the importance of capturing multi-scale temporal information.

Discussion and Conclusion

The primary innovation of this work is the realization that subtracting high-level feature vectors serves as a semantic version of optical flow, ignoring pixel-level noise to focus on changing meaning. The hierarchical structure provides a powerful way to model the temporal evolution of actions.

However, the method has limitations. The use of simple linear subtraction for "CNN flow" may not capture all temporal nuances, and the system remains dependent on the quality of the underlying pre-trained image CNN (e.g., AlexNet). Future work could explore more complex temporal modeling or integrate this hierarchical approach with modern deep learning architectures to handle even longer and more complex activities.

Summary updated

BibTeX
@misc{ravanbakhsh2015action,
  author = {Mahdyar Ravanbakhsh and Hossein Mousavi and Mohammad Rastegari and Vittorio Murino and Larry S. Davis},
  title = {{Action Recognition with Image Based CNN Features}},
  year = {2015},
  eprint = {1512.03980},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1512.03980},
}
Figure