LGCLMLMar 10, 2020

ReZero is All You Need: Fast Convergence at Large Depth

arXiv:2003.04887v2380 citations
AI Analysis

This addresses convergence difficulties in deep learning for researchers and practitioners, offering a simpler alternative to complex methods.

The paper tackles the problem of vanishing or exploding gradients in deep networks by introducing a simple gating mechanism for residual connections, which enables training thousands of fully connected layers with fast convergence and improves test performance on CIFAR-10, and accelerates convergence by 56% on enwiki8 for Transformers.

Deep networks often suffer from vanishing or exploding gradients due to inefficient signal propagation, leading to long training times or convergence difficulties. Various architecture designs, sophisticated residual-style networks, and initialization schemes have been shown to improve deep signal propagation. Recently, Pennington et al. used free probability theory to show that dynamical isometry plays an integral role in efficient deep learning. We show that the simplest architecture change of gating each residual connection using a single zero-initialized parameter satisfies initial dynamical isometry and outperforms more complex approaches. Although much simpler than its predecessors, this gate enables training thousands of fully connected layers with fast convergence and better test performance for ResNets trained on CIFAR-10. We apply this technique to language modeling and find that we can easily train 120-layer Transformers. When applied to 12 layer Transformers, it converges 56% faster on enwiki8.

Code Implementations13 repos

Data from Papers with Code (CC-BY-SA-4.0)

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes