Saved in:
Bibliographic Details
Main Author: Han, Yankun
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2510.09423
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915544674861056
author Han, Yankun
author_facet Han, Yankun
contents Weight initialization governs signal propagation and gradient flow at the start of training. This paper offers a theory-grounded and empirically validated study across two regimes: compact ReLU multilayer perceptrons and GPT-2-style transformers. First, a logarithmic sweep of the initial standard deviation maps vanishing and exploding regimes and identifies a broad stability band with standard deviations between 1e-2 and 1e-1. Second, a controlled comparison shows that Kaiming (fan-in) initialization converges faster and more stably than Xavier under ReLU, consistent with variance-preserving theory. Third, in a from-scratch 12-layer GPT-2-style model, this paper tracks layerwise Q/K/V weight variance through pretraining and observe depth-dependent equilibration into narrow bands: shallow layers expand rapidly while deeper layers change more gradually. Together, these results connect classic initialization principles with modern transformer behavior and yield simple, practical recipes for robust training.
format Preprint
id arxiv_https___arxiv_org_abs_2510_09423
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Weight Initialization and Variance Dynamics in Deep Neural Networks and Large Language Models
Han, Yankun
Machine Learning
Weight initialization governs signal propagation and gradient flow at the start of training. This paper offers a theory-grounded and empirically validated study across two regimes: compact ReLU multilayer perceptrons and GPT-2-style transformers. First, a logarithmic sweep of the initial standard deviation maps vanishing and exploding regimes and identifies a broad stability band with standard deviations between 1e-2 and 1e-1. Second, a controlled comparison shows that Kaiming (fan-in) initialization converges faster and more stably than Xavier under ReLU, consistent with variance-preserving theory. Third, in a from-scratch 12-layer GPT-2-style model, this paper tracks layerwise Q/K/V weight variance through pretraining and observe depth-dependent equilibration into narrow bands: shallow layers expand rapidly while deeper layers change more gradually. Together, these results connect classic initialization principles with modern transformer behavior and yield simple, practical recipes for robust training.
title Weight Initialization and Variance Dynamics in Deep Neural Networks and Large Language Models
topic Machine Learning
url https://arxiv.org/abs/2510.09423