Resource Efficient 3D Convolutional Neural Networks

Okan Köpüklü, Neslihan Kose, Ahmet Gunduz, Gerhard RigollWorkshops @ ICCV 2019

Abstract

Recently, convolutional neural networks with 3D kernels (3D CNNs) have been very popular in computer vision community as a result of their superior ability of extracting spatio-temporal features within video frames compared to 2D CNNs. Although there has been great advances recently to build resource efficient 2D CNN architectures considering memory and power budget, there is hardly any similar resource efficient architectures for 3D CNNs. In this paper, we have converted various well-known resource efficient 2D CNNs to 3D CNNs and evaluated their performance on three major benchmarks in terms of classification accuracy for different complexity levels. We have experimented on (1) Kinetics-600 dataset to inspect their capacity to learn, (2) Jester dataset to inspect their ability to capture motion patterns, and (3) UCF-101 to inspect the applicability of transfer learning. We have evaluated the run-time performance of each model on a single Titan XP GPU and a Jetson TX2 embedded system. The results of this study show that these models can be utilized for different types of real-world applications since they provide real-time performance with considerable accuracies and memory usage. Our analysis on different complexity levels shows that the resource efficient 3D CNNs should not be designed too shallow or narrow in order to save complexity. The codes and pretrained models used in this work are publicly available.

Introduction

While 2D Convolutional Neural Networks (CNNs) have become incredibly efficient for image tasks, video recognition remains a computational heavyweight. To capture "spatio-temporal" features—the way objects move over time—researchers typically use 3D CNNs. However, standard 3D architectures (like I3D or C3D) are massive, often requiring tens or hundreds of billions of floating-point operations (FLOPs). This makes them nearly impossible to run on "edge" devices like robots, drones, or smartphones, which have strict power and memory budgets. This paper addresses this gap by systematically creating a suite of resource-efficient 3D counterparts to popular "lite" 2D models.

Methodology

The authors converted five well-known, resource-efficient 2D architectures into 3D versions by expanding 2D kernels (e.g., $3 \times 3$) into 3D kernels (e.g., $3 \times 3 \times 3$). The models were designed to handle a standard input of 16-frame video clips at $112 \times 112$ resolution.

Key architectures include:

  • 3D-SqueezeNet: Uses "Fire blocks" to squeeze and then expand channels.
  • 3D-MobileNetV1: Employs depthwise separable convolutions to factorize standard 3D convolutions.
  • 3D-MobileNetV2: Introduces inverted residuals and linear bottlenecks (see Figure 1).
  • 3D-ShuffleNetV1: Uses pointwise group convolutions and "channel shuffling".
  • 3D-ShuffleNetV2: An evolution of V1 that optimizes for actual runtime speed rather than just FLOP count (see Figure 2).
3D-MobileNetV2 inverted residual block
3D-ShuffleNetV2 blocks for stride 1 and 2

Experimental Setup

The models were evaluated on three distinct benchmarks to test different capabilities:

  • Kinetics-600: Used to measure the "learning capacity" of the models across 600 human action classes.
  • Jester: A hand gesture dataset used specifically to evaluate how well the models capture complex motion patterns.
  • UCF-101: A classic action recognition dataset used to test the "transfer learning" ability of the models after pre-training on Kinetics-600.

Runtime performance was evaluated on both a high-end Titan XP GPU and an Nvidia Jetson TX2 embedded system.

Results and Discussion

The study reveals several critical insights for resource-efficient 3D CNN design:

  • Complexity Sweet Spot: Architectures should not be made too shallow or narrow; deeper models like ShuffleNetV2 and MobileNetV2 generally outperformed shallower ones like SqueezeNet.
  • Efficiency Metrics: FLOP count does not always correlate with speed. 3D-SqueezeNet, despite higher FLOPs, runs fast on GPUs due to optimized standard convolutions. Conversely, 3D-ShuffleNetV2 (0.25x) reached 82 clips per second on the Jetson TX2.
  • Performance vs. Size: 3D-MobileNetV2 (1.0x) outperformed the much larger ResNet-101 on the Jester dataset (94.59% vs 94.10%) while being roughly 20 times more efficient in terms of parameters and FLOPs.
  • Transfer Learning: Models pre-trained on Kinetics-600 transferred effectively to UCF-101, demonstrating robust feature generalization.

Conclusion

This work demonstrates that lightweight 3D CNNs can achieve real-time performance on embedded systems while maintaining competitive accuracy. Future work may explore multi-modal inputs (e.g., Optical Flow), variable frame rates, and hardware-specific optimizations to further improve efficiency for edge deployment.

Summary updated

BibTeX
@inproceedings{kopuklu2019resource,
  author = {Okan Köpüklü and Neslihan Kose and Ahmet Gunduz and Gerhard Rigoll},
  title = {{Resource Efficient 3D Convolutional Neural Networks}},
  booktitle = {Workshops @ ICCV},
  year = {2019},
  url = {https://openreview.net/forum?id=FTkx6K8rzf7},
}
Figure