NGD converges to less degenerate solutions than SGD

Moosa Saghir, N. R. Raghavendra, Zihe Liu, Evan Ryan Gunter
9/7/2024
cs.LGstat.ML

No official code found. Best implementation: cxtraa/ngd_with_slt (4 stars, last commit 2024-09-30).

Abstract

The number of free parameters, or dimension, of a model is a straightforward way to measure its complexity: a model with more parameters can encode more information. However, this is not an accurate measure of complexity: models capable of memorizing their training data often generalize well despite their high dimension. Effective dimension aims to more directly capture the complexity of a model by counting only the number of parameters required to represent the functionality of the model. Singular learning theory (SLT) proposes the learning coefficient $ λ$ as a more accurate measure of effective dimension. By describing the rate of increase of the volume of the region of parameter space around a local minimum with respect to loss, $ λ$ incorporates information from higher-order terms. We compare $ λ$ of models trained using natural gradient descent (NGD) and stochastic gradient descent (SGD), and find that those trained with NGD consistently have a higher effective dimension for both of our methods: the Hessian trace $ \text{Tr}(\mathbf{H}) $, and the estimate of the local learning coefficient (LLC) $ \hatλ(w^*) $.

View on arXivView PDF

Code Implementations(1)

cxtraa/ngd_with_sltCommunity100%

A research project in developmental interpretability that showed evidence for a singular learning theory (SLT) prediction - that NGD would converge to solutions with higher effective dimension than SGD.

40HTML, PythonJan 10, 20242 years ago

Similar Papers

Cite this paper

@article{saghir2024converges,
  title  = {NGD converges to less degenerate solutions than SGD},
  author = {Moosa Saghir and N. R. Raghavendra and Zihe Liu and Evan Ryan Gunter},
  year   = {2024},
  eprint = {2409.04913},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.04913v2}
}

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/2409.04913.svg)](https://codeofpaper.com/paper/2409.04913)

Discussion