Guardado en:
Detalles Bibliográficos
Autores principales: Singh, Sidak Pal, He, Bobby, Hofmann, Thomas, Schölkopf, Bernhard
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:https://arxiv.org/abs/2403.07379
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866909229850296320
author Singh, Sidak Pal
He, Bobby
Hofmann, Thomas
Schölkopf, Bernhard
author_facet Singh, Sidak Pal
He, Bobby
Hofmann, Thomas
Schölkopf, Bernhard
contents We propose a fresh take on understanding the mechanisms of neural networks by analyzing the rich directional structure of optimization trajectories, represented by their pointwise parameters. Towards this end, we introduce some natural notions of the complexity of optimization trajectories, both qualitative and quantitative, which hallmark the directional nature of optimization in neural networks: when is there redundancy, and when exploration. We use them to reveal the inherent nuance and interplay involved between various optimization choices, such as momentum and weight decay. Further, the trajectory perspective helps us see the effect of scale on regularizing the directional nature of trajectories, and as a by-product, we also observe an intriguing heterogeneity of Q,K,V dynamics in the middle attention layers in LLMs and which is homogenized by scale. Importantly, we put the significant directional redundancy observed to the test by demonstrating that training only scalar batchnorm parameters some while into training matches the performance of training the entire network, which thus exhibits the potential of hybrid optimization schemes that are geared towards efficiency.
format Preprint
id arxiv_https___arxiv_org_abs_2403_07379
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Hallmarks of Optimization Trajectories in Neural Networks: Directional Exploration and Redundancy
Singh, Sidak Pal
He, Bobby
Hofmann, Thomas
Schölkopf, Bernhard
Machine Learning
Computation and Language
We propose a fresh take on understanding the mechanisms of neural networks by analyzing the rich directional structure of optimization trajectories, represented by their pointwise parameters. Towards this end, we introduce some natural notions of the complexity of optimization trajectories, both qualitative and quantitative, which hallmark the directional nature of optimization in neural networks: when is there redundancy, and when exploration. We use them to reveal the inherent nuance and interplay involved between various optimization choices, such as momentum and weight decay. Further, the trajectory perspective helps us see the effect of scale on regularizing the directional nature of trajectories, and as a by-product, we also observe an intriguing heterogeneity of Q,K,V dynamics in the middle attention layers in LLMs and which is homogenized by scale. Importantly, we put the significant directional redundancy observed to the test by demonstrating that training only scalar batchnorm parameters some while into training matches the performance of training the entire network, which thus exhibits the potential of hybrid optimization schemes that are geared towards efficiency.
title Hallmarks of Optimization Trajectories in Neural Networks: Directional Exploration and Redundancy
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2403.07379