Efficient Feature Extraction, Encoding, and Classification for Action Recognition

Vadim Kantorov, Ivan LaptevCVPR 2014

Introduction

In 2014, action recognition research faced a significant hurdle: computational efficiency. While state-of-the-art (SOTA) methods were achieving high accuracy, they were prohibitively slow, often processing only 1–2 frames per second (fps). This bottleneck primarily stemmed from the heavy reliance on Dense Optical Flow (OF), which accounted for over 60% of total computation time. This paper introduces a high-speed pipeline that achieves a two-order-of-magnitude speedup (up to 168 fps) by repurposing "virtually free" motion vectors from compressed video (MPEG flow) instead of calculating expensive dense optical flow.

Leveraging Compressed Motion Vectors

The core innovation lies in the use of MPEG Flow Features. Video compression standards like MPEG-4 or H.264 already calculate motion vectors to store video efficiently. By extracting these pre-existing vectors, the authors eliminate the need for redundant optical flow calculations.

Visual comparison of MPEG flow against standard optical flow methods across various movie scenes.

While MPEG flow is sparse and lower resolution than traditional OF, it is sufficient for capturing human action. To improve the spatial resolution of these sparse vectors, the authors employ bilinear interpolation within a grid-based framework.

The extraction process involves taking sparse MPEG flow vectors and using interpolation to create a more refined motion field within 16x16x5 pixel grid cells.

The authors adapted standard descriptors—Histogram of Optical Flow (HOF) and Motion Boundary Histograms (MBH)—to work with this sparse data. A key insight is that "good enough" motion data is often better than "perfect" data when the latter comes at an extreme computational cost. The noise inherent in MPEG flow does not significantly degrade the performance of high-level action classifiers.

Efficient Encoding and Classification

Beyond feature extraction, the authors optimized the encoding and classification stages. Traditionally, features were quantized into "visual words" and classified using non-linear Support Vector Machines (SVMs). This pipeline was replaced with Fisher Vector (FV) encoding, which enables the use of fast linear classifiers. This shift significantly reduces the time required for both feature assignment and final classification. To further accelerate the process, the authors utilized kd-forests for approximate nearest neighbor search, speeding up feature assignment by 5x without a loss in accuracy.

Experimental Results

The proposed method was validated on several benchmarks, including Hollywood-2, UCF50, and HMDB51. The results demonstrated a massive leap in efficiency:

  • Speed: The system reached 168 fps on a single CPU core, a 140x increase over the Dense Trajectories (DT) baseline (1.2 fps).
  • Accuracy: On the Hollywood-2 dataset, the method achieved 56.2% mAP. While this is slightly lower than the 60.0% mAP of the DT baseline, the trade-off is highly favorable for real-world applications requiring real-time processing.
  • Peak Performance: Using a subset of descriptors, the pipeline reached speeds of 347 fps, making it possible to process massive video archives in a fraction of their actual playtime.

Conclusion

This work demonstrates that high-fidelity motion estimation is not a prerequisite for effective action recognition. By utilizing pre-computed motion vectors from video codecs and adopting efficient encoding schemes, it is possible to achieve near-SOTA accuracy at speeds suitable for real-time applications and large-scale video analysis. Future work may involve combining these efficient features with more advanced spatial-temporal models to further bridge the accuracy gap.

Summary updated

BibTeX
@inproceedings{kantorov2014efficient,
  author = {Vadim Kantorov and Ivan Laptev},
  title = {{Efficient Feature Extraction, Encoding, and Classification for Action Recognition}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2014},
  doi = {10.1109/cvpr.2014.332},
}
Figure