Skip to main content
QUICK REVIEW

[Paper Review] A Multigrid Method for Efficiently Training Video Models

Chao-Yuan Wu, Ross Girshick|arXiv (Cornell University)|Dec 2, 2019
Advanced Neural Network ApplicationsComputer Science30 references5 citations
TL;DR

This paper proposes a multigrid training method that accelerates video model training by dynamically varying mini-batch shapes across spatial-temporal resolutions using a grid schedule. It achieves a 4.5× speedup on Kinetics-400 with ResNet-50 SlowFast while improving accuracy by 0.8% absolute, outperforming baseline training across diverse models, datasets, and hardware setups without hyperparameter tuning.

ABSTRACT

Training competitive deep video models is an order of magnitude slower than training their counterpart image models. Slow training causes long research cycles, which hinders progress in video understanding research. Following standard practice for training image models, video model training assumes a fixed mini-batch shape: a specific number of clips, frames, and spatial size. However, what is the optimal shape? High resolution models perform well, but train slowly. Low resolution models train faster, but they are inaccurate. Inspired by multigrid methods in numerical optimization, we propose to use variable mini-batch shapes with different spatial-temporal resolutions that are varied according to a schedule. The different shapes arise from resampling the training data on multiple sampling grids. Training is accelerated by scaling up the mini-batch size and learning rate when shrinking the other dimensions. We empirically demonstrate a general and robust grid schedule that yields a significant out-of-the-box training speedup without a loss in accuracy for different models (I3D, non-local, SlowFast), datasets (Kinetics, Something-Something, Charades), and training settings (with and without pre-training, 128 GPUs or 1 GPU). As an illustrative example, the proposed multigrid method trains a ResNet-50 SlowFast network 4.5x faster (wall-clock time, same hardware) while also improving accuracy (+0.8% absolute) on Kinetics-400 compared to the baseline training method. Code is available online.

Motivation & Objective

  • To address the prohibitively long training times of deep video models, which hinder research progress and scalability.
  • To overcome the trade-off between training speed and accuracy inherent in fixed mini-batch shapes (e.g., high resolution for accuracy, low for speed).
  • To develop a simple, generalizable training strategy that accelerates training without sacrificing model performance.

Proposed method

  • The method uses variable mini-batch shapes—specifically, varying spatial and temporal resolutions—throughout training via resampling on multiple sampling grids.
  • It employs a grid schedule that starts with coarse (smaller T×H×W) and larger mini-batch sizes (B), gradually transitioning to finer (larger T×H×W) and smaller B as training progresses.
  • The approach leverages weight sharing in 3D CNNs, enabling models to generalize across multiple scales, similar to multigrid methods in numerical optimization.
  • It maintains standard learning rate schedules and hyperparameters, requiring no additional tuning or model modifications.
  • The method is implemented by modifying the data loader to resample clips on different grids, enabling efficient training on coarse grids early and fine grids later.
  • It supports both stepwise and cosine learning rate schedules and works across single-GPU and distributed (128-GPU) training settings.

Experimental results

Research questions

  • RQ1Can training speed be significantly accelerated in video models without sacrificing accuracy by varying input resolution and mini-batch size during training?
  • RQ2Does a coarse-to-fine grid scheduling strategy improve convergence speed and final accuracy compared to fixed-resolution training?
  • RQ3Is the multigrid training method robust across different models (e.g., I3D, SlowFast, non-local), datasets (Kinetics, Something-Something, Charades), and hardware configurations?
  • RQ4Can the method be applied without hyperparameter tuning or architectural changes, maintaining performance across diverse settings?
  • RQ5How does the choice of long-cycle design (multi-cycle vs. single-cycle) affect performance and generalization?

Key findings

  • The multigrid method achieved a 4.5× speedup in wall-clock time for training a ResNet-50 SlowFast network on Kinetics-400 while improving top-1 accuracy by 0.8% absolute.
  • On deeper R101-SlowFast, the method achieved a 4.4× speedup with a 0.5% absolute accuracy gain over the baseline.
  • The multi-cycle long-cycle design outperformed the single-cycle design, achieving 4.5× speedup and 76.4% top-1 accuracy, compared to 5.2× speedup but only 74.4% accuracy in the single-cycle variant.
  • With a cosine learning rate schedule, the method still achieved a 4.2–5.2× speedup and comparable accuracy to baseline, demonstrating robustness to LR schedule changes.
  • On test-time settings like 3-crop inference, multigrid-trained models achieved 78.1% top-1 accuracy on 256² crops, outperforming the baseline (77.2%) while training 5.5× faster.
  • The method generalized across datasets: it achieved consistent speedups and accuracy gains on Something-Something V2 and Charades without any retraining or tuning.

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.