Ludwig-Maximilians-Universität
Analyzing training dynamics of deep neural networks: insights and limitations of the neural tangent kernel regime
Abstract
dc:description.abstractThe widespread use of Deep Neural Networks (DNNs) in various application has underscored their effectiveness, yet the fundamental principles behind their success largely remain elusive. Despite being highly overparametrized, DNNs often exhibit effective generalization, defying predictions of classical statistical learning theory. Moreover, theoretical analysis of DNNs' training falls outside of the scope of classical convex optimization theory, since DNNs' loss landscapes are highly non-convex. Addressing these challenges requires novel approaches to studying DNNs' training dynamics. The introduction of the Neural Tangent Kernel (NTK) in Jacot et al. (2018) has been a significant step forward in this direction, as it greatly simplified the analysis of DNNs' dynamics in the infinite-width limit, where DNNs enter the so-called NTK regime under certain conditions. This regime has played a pivotal role in recent theoretical analyses of DNNs' generalization and convergence. While the NTK regime allows to completely describe the infinite-width limit of DNNs, it cannot capture all the properties of realistic finite-width DNNs' training dynamics. Thus, the objective of this thesis is to determine possibilities and limitations of the NTK regime for advancing the theory of deep learning. The first part of the thesis, comprising two papers, focuses on the limitations of the NTK regime for the analysis of fully-connected DNNs. Namely, our contributions demonstrate that whether a network is in the NTK regime depends on the hyperparameters of random initialization and the network’s depth-to-width ratio. Our results indicate the importance of the three phases of initialization, identified in Poole et al. (2016): ordered, chaotic, and the edge of chaos (EOC). We derive exact expressions for the NTK dispersion in the infinite-depth-and-width limit in all three phases, and conclude that the NTK variability grows exponentially with depth at the EOC and in the chaotic phase but not in the ordered phase. Additionally, we show that the NTK of deep networks may stay constant during training only in the ordered phase. Our contributions also include large-scale numerical experiments, which fully support the theoretical findings. The second part of the thesis introduces a novel approach to analyze DNNs' training dynamics based on the NTK block-structure assumption. This assumption is motivated by the NTK alignment phenomenon, where the NTK of finite-width DNNs aligns with the target function during training. For classification DNNs, this alignment gives rise to an approximate block-structure in the kernel matrix, where the correlations between samples from the same class are stronger than between samples from different classes. We employ the NTK block-structure assumption to analyze the dynamics of DNNs trained with mean squared (MSE) loss at the end of training. Namely, we derive the dynamics equations, break the dynamics into interpretable phases, and identify a dynamics invariant. Our analysis reveals that a prominent empirical phenomenon called Neural Collapse (NC) occurs in certain fixed points of this dynamics, and provides necessary conditions for convergence to NC. We provide large-scale numerical experiments on three common DNN architectures and three benchmark datasets to support our theory.
Degree
thesis:*- Level thesis:degree_level
- thesis.doctoral
- Department thesis:degree_department
- Fakultät für Mathematik, Informatik und Statistik
- Grantor dc:publisher
- Ludwig-Maximilians-Universität
- Year
- 2024
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Seleznova, Mariia
- Advisor dc:contributor.advisor
-
- Kutyniok, Gitta
Rights
dc:rights.accessrights- Statement dc:rights.accessrights
-
- free
- Language dc:language.dcterms_iso639_2
- eng