arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.16755cs.CV
收藏

Stochastic Backpropagation:一种视频模型训练的内存有效策略

Stochastic Backpropagation: A Memory Efficient Strategy for Training Video Models

AWS AI Labs(AWS人工智能实验室);UNC Chapel Hill(北卡罗来纳大学教堂山分校)

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

摘要:

我们提出了一种名为随机反向传播(SBP)的内存高效方法,用于在视频上训练深度神经网络。它是基于这样的发现,即来自反向传播的不完全执行的梯度仍然可以以最小的准确性损失有效地训练模型,这归因于视频的高冗余。SBP保留所有前向路径,但在每个训练步骤中随机且独立地移除每个网络层的后向路径。它通过消除缓存与丢弃的反向路径对应的激活值的需要来降低GPU内存成本,其数量可以通过可调整的保持比率来控制。实验表明,SBP可以应用于视频任务的各种模型,节省高达80.0%的GPU内存和10%的训练加速,动作识别和时间动作检测的准确率下降不到1%。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑