paper-with-me

홈 › Papers

Large-Batch Training for LSTM and Beyond

2019-01-24 · Yang You, Jonathan Hseu, Chris Ying, James Demmel, Kurt Keutzer, Cho-Jui Hsieh

Large-batch training approaches have enabled researchers to utilize large-scale distributed processing and greatly accelerate deep-neural net (DNN) training. For example, by scaling the batch size from 256 to 32K, researchers have been able to reduce the training time of ResNet50 on ImageNet from 29 hours to 2.2 minutes (Ying et al., 2018). In this paper, we propose a new approach called linear-epoch gradual-warmup (LEGW) for better large-batch training. With LEGW, we are able to conduct large-batch training for both CNNs and RNNs with the Sqrt Scaling scheme. LEGW enables Sqrt Scaling scheme to be useful in practice and as a result we achieve much better results than the Linear Scaling learning rate scheme. For LSTM applications, we are able to scale the batch size by a factor of 64 without losing accuracy and without tuning the hyper-parameters. For CNN applications, LEGW is able to achieve the same accuracy even as we scale the batch size to 32K. LEGW works better than previous large-batch auto-tuning techniques. LEGW achieves a 5.3X average speedup over the baselines for four LSTM-based applications on the same hardware. We also provide some theoretical explanations for LEGW.

📄 PDF Abstract BibTeX arXiv:1901.08256

Code (1)

NUS-HPC-AI-Lab/LARS-ImageNet-PyTorch pytorch

Methods 이 논문이 사용한 방법론

Sigmoid Activation 설명 없음
Tanh Activation 설명 없음
LSTM An LSTM is a type of recurrent neural network that addresses the vanishing gradient problem in vanilla…

Similar Papers 제목 키워드 기반

A constrained recursion algorithm for batch normalization of tree-sturctured LSTM

2020-08-21 · Ruo Ando, Yoshiyasu Takefuji

Tree-structured LSTM is promising way to consider long-distance interaction over hierarchies. However, there have been few research efforts on the hyperparameter tuning of the construction and traversal of tree-structure…

Normalization Helps Training of Quantized LSTM

2019-12-01 · NeurIPS 2019 12 · Lu Hou, Jinhua Zhu, James Kwok, Fei Gao 외

The long-short-term memory (LSTM), though powerful, is memory and computa\x02tion expensive. To alleviate this problem, one approach is to compress its weights by quantization. However, existing quantization methods usua…

Quantization

Inefficiency of K-FAC for Large Batch Size Training

2019-03-14 · Linjian Ma, Gabe Montague, Jiayu Ye, Zhewei Yao 외

In stochastic optimization, using large batch sizes during training can leverage parallel resources to produce faster wall-clock training times per training epoch. However, for both training loss and testing error, recen…

Stochastic Optimization

A stepped sampling method for video detection using LSTM

2021-07-18 · Dengshan Li, Rujing Wang, Chengjun Xie

Artificial neural networks that simulate human achieves great successes. From the perspective of simulating human memory method, we propose a stepped sampler based on the "repeated input". We repeatedly inputted data to …

Echo: Compiler-based GPU Memory Footprint Reduction for LSTM RNN Training

2018-05-22 · Bojian Zheng, Abhishek Tiwari, Nandita Vijaykumar, Gennady Pekhimenko

The Long-Short-Term-Memory Recurrent Neural Networks (LSTM RNNs) are a popular class of machine learning models for analyzing sequential data. Their training on modern GPUs, however, is limited by the GPU memory capacity…

GPUMachine TranslationNMT