Innovations in neural architectures have fostered significant breakthroughs language modeling and computer vision. Unfortunately, novel architectures result in challenging hyper-parameter choices and training instability if network parameters are not properly initialized. A number of-specific initialization schemes have been proposed, but these are not always portable to new architectures. This paper presents, an automated and architecture agnostic method for initializing neural. GradInit is based on a simple heuristic; the norm of each network is adjusted so that a single step of SGD or Adam with prescribed results in the smallest possible loss value. This adjustment is by introducing a scalar multiplier variable in front of each parameter, and then optimizing these variables using a simple numerical scheme. accelerates the convergence and test performance of many convolutional, both with or without skip connections, and even without layers. It also improves the stability of the original architecture for machine translation, enabling training it without rate warmup using either Adam or SGD under a wide range of learning and momentum coefficients. Code is available at://github.com/zhuchen03/gradinit.
No takes yet. Share an insight, caveat, or question.
Zhu et al. (2021) studied this question.