Disentangle Sample Size and Initialization Effect on Perfect Generalization for Single-Neuron Target
Jiajie Zhao, Zhiwei Bai, Yaoyu Zhang
TL;DR
This paper investigates how initialization scale and data sample size influence perfect generalization when recovering a single-neuron target with a two-layer network. It introduces the initial imbalance ratio and two sample-size thresholds—optimistic and separation—and provides both empirical and theoretical analyses of how these factors shape training dynamics under gradient flow. A key finding is that, under small initialization, the trajectory and convergence point are determined by the normalized initial imbalance vector $\frac{\mathbf{C}(\bm{\theta}_0)}{\|\mathbf{C}(\bm{\theta}_0)\|_2}$, with recovery behavior exhibiting phase transitions at the identified sample-size thresholds. The results extend to multi-neuron networks, where only a subset of neurons remains active, offering insights into generalization in overparameterized models. Overall, the work clarifies how initialization and data availability interact to yield perfect generalization in a simplified setting, providing a stepping stone toward understanding more complex target functions.
Abstract
Overparameterized models like deep neural networks have the intriguing ability to recover target functions with fewer sampled data points than parameters (see arXiv:2307.08921). To gain insights into this phenomenon, we concentrate on a single-neuron target recovery scenario, offering a systematic examination of how initialization and sample size influence the performance of two-layer neural networks. Our experiments reveal that a smaller initialization scale is associated with improved generalization, and we identify a critical quantity called the "initial imbalance ratio" that governs training dynamics and generalization under small initialization, supported by theoretical proofs. Additionally, we empirically delineate two critical thresholds in sample size--termed the "optimistic sample size" and the "separation sample size"--that align with the theoretical frameworks established by (see arXiv:2307.08921 and arXiv:2309.00508). Our results indicate a transition in the model's ability to recover the target function: below the optimistic sample size, recovery is unattainable; at the optimistic sample size, recovery becomes attainable albeit with a set of initialization of zero measure. Upon reaching the separation sample size, the set of initialization that can successfully recover the target function shifts from zero to positive measure. These insights, derived from a simplified context, provide a perspective on the intricate yet decipherable complexities of perfect generalization in overparameterized neural networks.
