Lune

CVPR2022Top-tier venue

Stochastic Backpropagation: A Memory Efficient Strategy for Training Video Models

Feng Cheng, Mingze Xu, Yuanjun Xiong, Hao Chen, Xinyu Li, Wei Li, Wei Xia

Abstract

We propose a memory efficient method, named Stochastic Backpropagation (SBP), for training deep neural networks on videos. It is based on the finding that gradients from incomplete execution for backpropagation can still effectively train the models with minimal accuracy loss, which attributes to the high redundancy of video. SBP keeps all forward paths but randomly and independently removes the backward paths for each network layer in each training step. It reduces the GPU memory cost by eliminating the need to cache activation values corresponding to the dropped backward paths, whose amount can be controlled by an adjustable keep-ratio. Experiments show that SBP can be applied to a wide range of models for video tasks, leading to up to 80.0% GPU memory saving and 10% training speedup with less than 1% accuracy drop on action recognition and temporal action detection.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • ViViT: A Video Vision Transformer cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • ViViT: A Video Vision Transformer cites Is Space-Time Attention All You Need for Video Understanding?
  • VATT: Transformers for Multimodal Self-Supervised Learning from Raw Video, Audio and Text cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • VATT: Transformers for Multimodal Self-Supervised Learning from Raw Video, Audio and Text cites Is Space-Time Attention All You Need for Video Understanding?
  • E2E-LOAD: End-to-End Long-form Online Action Detection cites ViViT: A Video Vision Transformer
  • E2E-LOAD: End-to-End Long-form Online Action Detection cites Is Space-Time Attention All You Need for Video Understanding?
  • Is Space-Time Attention All You Need for Video Understanding? cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • An In-depth Study of Stochastic Backpropagation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • To Adapt or Not to Adapt? Real-Time Adaptation for Semantic Segmentation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • End-to-End Temporal Action Detection with 1B Parameters Across 1000 Frames cites BMN: Boundary-Matching Network for Temporal Action Proposal Generation
  • End-to-End Temporal Action Detection with 1B Parameters Across 1000 Frames cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. End-to-End Temporal Action Detection with 1B Parameters Across 1000 FramesShuming Liu, Chen-Lin Zhang, Chen Zhao, Bernard GhanemCVPR 2024 · 35 citations
  2. To Adapt or Not to Adapt? Real-Time Adaptation for Semantic SegmentationMarc Botet Colomer, Pier Luigi Dovesi, Theodoros Panagiotakopoulos, Joao Frederico Carvalho et al.ICCV 2023 · 19 citations
  3. E2E-LOAD: End-to-End Long-form Online Action DetectionShuqiang Cao, Weixin Luo, Bairui Wang, Wei Zhang et al.ICCV 2023 · 12 citations
  4. Uncovering the Unseen: Discover Hidden Intentions by Micro-Behavior Graph ReasoningZhuo Zhou, Wenxuan Liu, Danni Xu, Zheng Wang et al.ACM MM 2023 · 9 citations
  5. An In-depth Study of Stochastic BackpropagationJun Fang, Mingze Xu, Hao Chen, Bing Shuai et al.NeurIPS 2022 · 2 citations

Builds on18

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. ViViT: A Video Vision TransformerAnurag Arnab, Mostafa Dehghani, Georg Heigold, Chen Sun et al.ICCV 2021 · 2,947 citations
  3. Is Space-Time Attention All You Need for Video Understanding?Gedas Bertasius, Heng Wang, Lorenzo TorresaniICML 2021 · 2,927 citations
  4. VATT: Transformers for Multimodal Self-Supervised Learning from Raw Video, Audio and TextHassan Akbari, Liangzhe Yuan, Rui Qian, Wei-Hong Chuang et al.NeurIPS 2021 · 782 citations
  5. BMN: Boundary-Matching Network for Temporal Action Proposal GenerationTianwei Lin, Xiao Liu, Xin Li, Errui Ding et al.ICCV 2019 · 709 citations

Related papers

  1. Sideways: Depth-Parallel Training of Video ModelsMateusz Malinowski, Grzegorz Swirszcz, João Carreira, Viorica PatrauceanCVPR 2020
  2. Skip-Convolutions for Efficient Video ProcessingAmirhossein Habibian, Davide Abati, Taco S. Cohen, Babak Ehteshami BejnordiCVPR 2021
  3. ReSprop: Reuse Sparsified BackpropagationNegar Goli, Tor M. AamodtCVPR 2020
  4. Gradient Forward-Propagation for Large-Scale Temporal Video ModellingMateusz Malinowski, Dimitrios Vytiniotis, Grzegorz Swirszcz, Viorica Patraucean et al.CVPR 2021
  5. DropIT: Dropping Intermediate Tensors for Memory-Efficient DNN TrainingJoya Chen, Kai Xu, Yuhui Wang, Yifei Cheng et al.ICLR 2023 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines