English

Gradient descent aligns the layers of deep linear networks

Machine Learning 2019-02-26 v2 Optimization and Control Machine Learning

Abstract

This paper establishes risk convergence and asymptotic weight matrix alignment --- a form of implicit regularization --- of gradient flow and gradient descent when applied to deep linear networks on linearly separable data. In more detail, for gradient flow applied to strictly decreasing loss functions (with similar results for gradient descent with particular decreasing step sizes): (i) the risk converges to 0; (ii) the normalized i-th weight matrix asymptotically equals its rank-1 approximation uiviu_iv_i^{\top}; (iii) these rank-1 matrices are aligned across layers, meaning vi+1ui1|v_{i+1}^{\top}u_i|\to1. In the case of the logistic loss (binary cross entropy), more can be said: the linear function induced by the network --- the product of its weight matrices --- converges to the same direction as the maximum margin solution. This last property was identified in prior work, but only under assumptions on gradient descent which here are implied by the alignment phenomenon.

Keywords

Cite

@article{arxiv.1810.02032,
  title  = {Gradient descent aligns the layers of deep linear networks},
  author = {Ziwei Ji and Matus Telgarsky},
  journal= {arXiv preprint arXiv:1810.02032},
  year   = {2019}
}
R2 v1 2026-06-23T04:28:00.868Z