Large-Scale Video Classification with Convolutional Neural Networks

Andrej Karpathy, George Toderici, Sanketh Shetty, Thomas Leung, Rahul Sukthankar, L. Fei-FeiCVPR 2014

Abstract

Convolutional Neural Networks (CNNs) have revolutionized image recognition, but their application to large-scale video classification remains a significant challenge. This paper presents an extensive empirical evaluation of CNNs on a new dataset of 1 million YouTube videos across 487 classes (Sports-1M). We explore various temporal fusion strategies and propose a multiresolution, foveated architecture that accelerates training by 2-4x. Our findings reveal that while spatio-temporal networks outperform feature-based baselines, single-frame models are surprisingly competitive. Furthermore, we demonstrate that features learned on large-scale video data generalize effectively to smaller datasets like UCF-101.

Introduction

By 2014, CNNs had established dominance in static image tasks, yet video classification lagged behind, relying primarily on hand-crafted features. The primary obstacles were the lack of massive video datasets and the computational complexity of processing temporal information. This work addresses these gaps by introducing the Sports-1M dataset and investigating how to best extend CNN connectivity into the time domain.

Methods

Temporal Fusion Strategies

A key question in video classification is how to integrate information across multiple frames. We evaluated four distinct connectivity patterns to determine the optimal balance between spatial and temporal feature extraction.

Four temporal fusion strategies for video CNNs.
  • Single-Frame: Processes individual frames independently, serving as a baseline.
  • Early Fusion: Merges temporal information at the first layer using filters that span multiple frames.
  • Late Fusion: Employs two separate streams processing frames at a distance, merging only at the fully connected layers.
  • Slow Fusion: Hierarchically integrates temporal information, allowing deeper layers to capture increasingly global motion patterns.

Multiresolution Architecture

To manage the high computational cost of video data, we introduced a "foveated" architecture. This dual-stream system processes two versions of the input simultaneously: a low-resolution "context stream" covering the entire frame and a high-resolution "fovea stream" focusing on the center. This approach significantly reduces the input dimensionality, leading to a 2-4x speedup in training without substantial loss in accuracy, leveraging the natural camera bias toward centered action.

The multiresolution architecture with fovea and context streams.

Results and Discussion

Our experiments on the Sports-1M dataset showed that the Slow Fusion model achieved the highest performance (60.9% Top-1 accuracy). However, the Single-Frame model performed remarkably well at 59.3%, suggesting that static visual context (e.g., the appearance of a field or equipment) provides a strong signal for many video categories, often overshadowing complex motion dynamics.

The most significant impact of this work is in the realm of transfer learning. By pre-training on Sports-1M and fine-tuning on the smaller UCF-101 dataset, we achieved a state-of-the-art accuracy of 65.4%, compared to a 43.9% baseline. This confirms that large-scale video pre-training is a viable path for improving performance on specialized video tasks where data is scarce.

Conclusion

This study provides a foundational framework for large-scale video classification using CNNs. While complex motion features proved difficult to capture compared to static context, the introduction of the Sports-1M dataset and the success of transfer learning established a new paradigm for the field, moving beyond hand-crafted features toward end-to-end deep learning for video.

Summary updated

BibTeX
@inproceedings{karpathy2014large,
  author = {Andrej Karpathy and George Toderici and Sanketh Shetty and Thomas Leung and Rahul Sukthankar and L. Fei-Fei},
  title = {{Large-Scale Video Classification with Convolutional Neural Networks}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2014},
  url = {https://openreview.net/forum?id=SkZssp-OWS},
}
Figure