Skip to main content
QUICK REVIEW

[Paper Review] MoViNets: Mobile Video Networks for Efficient Video Recognition

Dan Kondratyuk, Liangzhe Yuan|arXiv (Cornell University)|Mar 21, 2021
Human Pose and Action RecognitionComputer Science85 references17 citations
TL;DR

MoViNets introduce a family of efficient 3D convolutional neural networks for video recognition that achieve state-of-the-art accuracy with significantly reduced FLOPs and memory usage. By combining neural architecture search, a stream buffer for constant-memory online inference, and temporal ensembling, MoViNet-A5-Stream matches X3D-XL accuracy on Kinetics 600 while using 80% fewer FLOPs and 65% less memory.

ABSTRACT

We present Mobile Video Networks (MoViNets), a family of computation and memory efficient video networks that can operate on streaming video for online inference. 3D convolutional neural networks (CNNs) are accurate at video recognition but require large computation and memory budgets and do not support online inference, making them difficult to work on mobile devices. We propose a three-step approach to improve computational efficiency while substantially reducing the peak memory usage of 3D CNNs. First, we design a video network search space and employ neural architecture search to generate efficient and diverse 3D CNN architectures. Second, we introduce the Stream Buffer technique that decouples memory from video clip duration, allowing 3D CNNs to embed arbitrary-length streaming video sequences for both training and inference with a small constant memory footprint. Third, we propose a simple ensembling technique to improve accuracy further without sacrificing efficiency. These three progressive techniques allow MoViNets to achieve state-of-the-art accuracy and efficiency on the Kinetics, Moments in Time, and Charades video action recognition datasets. For instance, MoViNet-A5-Stream achieves the same accuracy as X3D-XL on Kinetics 600 while requiring 80% fewer FLOPs and 65% less memory. Code will be made available at https://github.com/tensorflow/models/tree/master/official/vision.

Motivation & Objective

  • Address the challenge of deploying accurate 3D CNNs on mobile devices due to high computation and memory demands.
  • Overcome the limitation of 3D CNNs in supporting online inference due to fixed, long-duration input requirements.
  • Bridge the gap between 2D CNNs (efficient but less accurate) and 3D CNNs (accurate but resource-intensive) for mobile video recognition.
  • Enable streaming video processing with minimal memory footprint while preserving long-range temporal dependencies.
  • Improve accuracy of efficient models without sacrificing computational or memory efficiency through a simple ensembling technique.

Proposed method

  • Design a dedicated MoViNet search space to enable neural architecture search (NAS) for optimal trade-offs between spatial, temporal, and spatiotemporal operations.
  • Introduce the Stream Buffer technique to decouple memory usage from video clip duration, enabling constant memory usage during inference and training by caching features at subclip boundaries.
  • Implement causally masked temporal operations (e.g., causal convolution, cumulative pooling) within the stream buffer to ensure only past frames influence predictions, enabling true online inference.
  • Apply positional encoding to temporal operations to maintain temporal context awareness in the causal setting.
  • Use temporal ensembling of independently trained streaming MoViNets to recover accuracy lost due to causal constraints, without increasing FLOPs or memory usage.
  • Train and evaluate MoViNets on multiple benchmarks including Kinetics 400, Kinetics 600, Moments in Time, Charades, and Something-Something V2 to validate generalization and efficiency.

Experimental results

Research questions

  • RQ1Can neural architecture search effectively discover efficient 3D CNN architectures that balance accuracy and computational cost for video recognition?
  • RQ2Can a stream buffer mechanism enable 3D CNNs to process arbitrarily long video streams with constant memory usage while preserving long-range temporal dependencies?
  • RQ3Does the use of causal operations in the stream buffer introduce a significant accuracy drop, and can it be mitigated without increasing resource usage?
  • RQ4Can temporal ensembling of streaming MoViNets restore accuracy lost due to causal modeling while maintaining the same efficiency profile?
  • RQ5To what extent can MoViNets outperform existing 2D and 3D video models in terms of accuracy, FLOPs, and memory usage across diverse video recognition benchmarks?

Key findings

  • MoViNet-A6 achieves 83.5% top-1 accuracy on Kinetics 600, which is 1.6% higher than X3D-XL, while requiring 60% fewer FLOPs.
  • MoViNet-A5-Stream achieves the same accuracy as X3D-XL on Kinetics 600 but uses 80% fewer FLOPs and 65% less memory.
  • The stream buffer reduces MoViNet-A5’s memory usage by 90% compared to standard 3D CNNs, enabling online inference with constant memory footprint.
  • The 1% accuracy drop from causal modeling is successfully recovered through temporal ensembling, achieving higher accuracy than single models at the same FLOP and memory budget.
  • MoViNet-A2 achieves 6% higher accuracy than MobileNetV3-large+TSM at the same FLOP level, demonstrating strong efficiency-accuracy trade-off.
  • The proposed methods enable MoViNets to support streaming video inference on mobile devices, making them suitable for real-time applications in mobile, IoT, and self-driving systems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.