It is well known that, for most datasets, the use of large-size minibatches for Stochastic Gradient Descent (SGD) typically leads to slow convergence and poor generalization. On the other hand, large minibatches are of great practical interest as they allow for a better exploitation of modern GPUs. Previous literature on the subject concentrated on how to adjust the main SGD parameters (in particular, the learning rate) when using large minibatches. In this work we introduce an additional feature, that we call minibatch persistency, that consists in reusing the same minibatch for K consecutive SGD iterations. The computational conjecture here is that a large minibatch contains a significant sample of the training set, so one can afford to slightly overfitting it without worsening generalization too much. The approach is intended to speedup SGD convergence, and also has the advantage of reducing the overhead related to data loading on the internal GPU memory. We present computational results on CIFAR-10 with an AlexNet architecture, showing that even small persistency values (K=2 or 5) already lead to a significantly faster convergence and to a comparable (or even better) generalization than the standard "disposable minibatch" approach (K=1), in particular when large minibatches are used. The lesson learned is that minibatch persistency can be a simple yet effective way to deal with large minibatches.
Beating SGD Saturation with Tail-Averaging and Minibatching
University of Stuttgart(斯图加特大学);Universitat Pompeu Fabra(庞培法布拉大学);Massachusetts Institute of Technology(麻省理工学院);Istituto Italiano di Tecnologia(意大利理工学院);Universita’ degli Studi di Genova(热那亚大学)
Minibatch vs Local SGD with Shuffling: Tight Convergence Bounds and Beyond
KAIST(韩国科学技术院);MIT(麻省理工学院)
在分布式学习中,局部SGD(也称为联邦平均)及其简单的基线小批量SGD是广泛研究的优化方法。这些方法的大多数现有的分析假设独立和无偏的梯度估计通过与替换抽样。相比之下,我们研究了基于洗牌的变体:minibatch和local Random Reshuffling,它们在没有替换的情况下绘制随机梯度,因此更接近实践。对于光滑函数满足Polyak-Jesojasiewicz条件,我们得到的收敛界(在大时代制度),这表明这些洗牌为基础的变种收敛速度比他们的替换同行。此外,我们证明了匹配下界表明我们的收敛性分析是紧的。最后,我们提出了一种算法修改称为同步洗牌,导致收敛速度快于我们的下限在近均匀设置。
SGD for Structured Nonconvex Functions: Learning Rates, Minibatching and Interpolation
LTCI, Télécom Paris, Institut Polytechnique de Paris(巴黎综合理工学院电信学院LTCI研究所);ENS Paris, CREST-ENSAE, CNRS(巴黎高等师范学院、CREST-ENSAE、法国国家科学研究中心);Mila and DIRO, Université de Montréal(蒙特利尔大学Mila研究所与计算机科学与运筹学系)
On the Power of Differentiable Learning versus PAC and SQ Learning
École polytechnique fédérale de Lausanne (EPFL)(洛桑联邦理工学院);Google Research(谷歌研究院);Hebrew University of Jerusalem (HUJI)(耶路撒冷希伯来大学);Massachusetts Institute of Technology (MIT)(麻省理工学院);Toyota Technological Institute at Chicago (TTIC)(芝加哥丰田理工学院)
Department of Computer and Information Sciences, University of Pennsylvania, Philadelphia, PA, U.S.A.(宾夕法尼亚大学计算机与信息科学系);Hal c o g lu Data Science Institute, University of California San Diego, San Diego, CA, U.S.A.(加州大学圣地亚哥分校Hal c o g lu数据科学研究所)
Why SGD is not Brownian Motion: A New Perspective on Stochastic Dynamics
Basic Research of Artificial Intelligence Laboratory (BRAIn Lab)(人工智能基础研究实验室(BRAIn Lab));Innopolis University(因诺普利斯大学);P.N. Lebedev Physical Institute of the Russian Academy of Sciences(俄罗斯科学院皮亚琴佐·列别杰夫物理研究所)
SGD with a Constant Large Learning Rate Can Converge to Local Maxima
The University of Tokyo(东京大学);ENS(巴黎高等师范学院);Université PSL(巴黎文理研究大学);CNRS(法国国家科学研究中心);Sorbonne Université(索邦大学);Université de Paris(巴黎大学);University of California, Berkeley(加州大学伯克利分校)
Aiming towards the minimizers: fast convergence of SGD for overparametrized problems
Halicioğlu Data Science Institute, University of California San Diego(加州大学圣地亚哥分校哈利乔格鲁数据科学研究所);University of Washington(华盛顿大学);Cornell University(康奈尔大学)
Experiments on Parallel Training of Deep Neural Network using Model Averaging
International Computer Science Institute(国际计算机科学研究所);University of California, Berkeley(加州大学伯克利分校);Nanyang Technological University(南洋理工大学)
在这项工作中,我们将模型平均应用于深度神经网络(DNN)的并行训练。以模型平均化的方式进行模型化。数据被分区并分发到不同的节点以进行本地模型更新,并且每隔几个小批进行跨节点的模型平均。我们使用多个GPU进行数据并行化,并使用消息传递接口(MPI)进行节点之间的通信,这使我们能够频繁地执行模型平均,而不会在通信上浪费太多时间。研究了自然梯度随机梯度下降(NG-SGD)和受限玻尔兹曼机(RBM)预训练在模型平均框架下并行训练的有效性,并根据不同的学习率调度、平均频率和小批量大小探索了最佳设置。结果表明,NG-SGD和RBM预训练有利于基于参数平均的模型训练。在300 h Switchboard数据集上,使用16个GPU实现了9.3倍的加速,使用32个GPU实现了17倍的加速,解码精度损失有限。
SGD Provably Prioritizes a Shortcut Spurious Feature in the XOR Model
H. Milton Stewart School of Industrial and Systems Engineering, Georgia Institute of Technology(霍华德·米尔顿·斯图尔特工业与系统工程学院,佐治亚理工学院);School of Electrical and Computer Engineering, Georgia Institute of Technology(电气与计算机工程学院,佐治亚理工学院)
Beyond Optimal Rates in Stochastic Optimization: Trajectory-Adaptive Stopping Rules
UC Berkeley(加州大学伯克利分校);Inria(法国国家信息与自动化研究所);École Normale Supérieure(巴黎高等师范学院);PSL Research University(巴黎文理研究大学);Department of Statistics, UC Berkeley(加州大学伯克利分校统计系)
Controlled Langevin Dynamics for Sampling of Feedforward Neural Networks Trained with Minibatches
Department of Physics, Università degli Studi di Milano(米兰大学物理系);Department of Computing Sciences(计算科学系);Bocconi Institute for Data Science(博科尼数据科学研究所);Analytics (BIDSA), Bocconi University(分析(BIDSA),博科尼大学)
Noise Balance and Stationary Distribution of Stochastic Gradient Descent
Research Laboratory of Electronics, Massachusetts Institute of Technology, 77 Massachusetts Ave, Cambridge, MA 02139, USA;Physics \& Informatics Laboratories, NTT Research, 940 Stewart Drive Sunnyvale, CA 94085, USA;Department of Physics, The University of Tokyo, 7-3-1 Hongo, Tokyo 113-0033, Japan;RIKEN Center for Emergent Matter Science (CEMS), Wako, Saitama 351-0198, Japan;Institute for Physics of Intelligence, The University of Tokyo, 7-3-1 Hongo, Tokyo 113-0033, Japan
Neural network learns low-dimensional polynomials with SGD near the information-theoretic limit
Princeton University(普林斯顿大学);University of California, Berkeley(加利福尼亚大学伯克利分校);RIKEN AIP(理化学研究所人工智能项目);University of Tokyo(东京大学);New York University(纽约大学);Flatiron Institute(弗拉蒂隆研究所)
Communication-Efficient Adaptive Batch Size Strategies for Distributed Local Gradient Methods
Perelman School of Medicine, University of Pennsylvania(宾夕法尼亚大学佩雷尔曼医学院);The University of Chicago Booth School of Business(芝加哥大学布斯商学院);Northwestern University(西北大学);University of Southern California Marshall School of Business(南加州大学马歇尔商学院)
SGD for Variational Inference: Tackling Unbounded Variance via Preconditioning and Dynamic Batching
MaLGa;DIBRIS Università degli Studi di Genova(DIBRIS基因瓦大学);Università degli Studi di Genova(基因瓦大学);DIMA Università degli Studi di Genova(DIMA基因瓦大学);IIT Università degli Studi di Genova(IIT基因瓦大学)