Behind the Scenes of Gradient Descent: A Trajectory Analysis via Basis Function Decomposition

Jianhao Ma, Lingjun Guo, Salar Fattahi
10/1/2022
cs.LG

Official code: jianhaoma/function-basis-decomposition (5 stars, Jupyter Notebook, MIT, last commit 2022-11-28).

Abstract

This work analyzes the solution trajectory of gradient-based algorithms via a novel basis function decomposition. We show that, although solution trajectories of gradient-based algorithms may vary depending on the learning task, they behave almost monotonically when projected onto an appropriate orthonormal function basis.

Show full abstract

Such projection gives rise to a basis function decomposition of the solution trajectory. Theoretically, we use our proposed basis function decomposition to establish the convergence of gradient descent (GD) on several representative learning tasks. In particular, we improve the convergence of GD on symmetric matrix factorization and provide a completely new convergence result for the orthogonal symmetric tensor decomposition. Empirically, we illustrate the promise of our proposed framework on realistic deep neural networks (DNNs) across different architectures, gradient-based solvers, and datasets. Our key finding is that gradient-based algorithms monotonically learn the coefficients of a particular orthonormal function basis of DNNs defined as the eigenvectors of the conjugate kernel after training. Our code is available at https://github.com/jianhaoma/function-basis-decomposition.

View on arXivView PDF

Code Implementations(1)

MIT

Formal implementation of ICLR paper "Behind the Scenes of Gradient Descent: A Trajectory Analysis via Basis Function Decomposition"

51Jupyter Notebook, PythonAug 12, 20224 years agoMIT

Similar Papers

Cite this paper

@article{ma2022behind,
  title  = {Behind the Scenes of Gradient Descent: A Trajectory Analysis via Basis Function Decomposition},
  author = {Jianhao Ma and Lingjun Guo and Salar Fattahi},
  year   = {2022},
  eprint = {2210.00346},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.00346}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.00346.svg)](https://codeofpaper.com/paper/2210.00346)

Discussion