The Impact of Anisotropic Covariance Structure on the Training Dynamics and Generalization Error of Linear Networks
Taishi Watanabe, Ryo Karakida, Jun-nosuke Teramae
TL;DR
This work studies how data anisotropy, modeled by a spiked covariance structure, shapes learning dynamics and generalization in a two-layer linear network trained for linear regression. By introducing a data-adapted basis, the authors show the training proceeds in two phases: an initial rapid growth along the input-output correlation direction, followed by a later adjustment along an orthogonal principal direction that captures additional structure. They derive an analytical generalization error in the high-dimensional regime, revealing that larger spike magnitude and stronger spike-target alignment can substantially reduce error, with explicit dependence on the alignment $A$ and spike magnitude $\rho$. Overall, the results provide a principled understanding of how anisotropic data structures influence learning trajectories and final performance, offering guidance for leveraging data structure in simple networks and informing analyses of more complex models.
Abstract
The success of deep neural networks largely depends on the statistical structure of the training data. While learning dynamics and generalization on isotropic data are well-established, the impact of pronounced anisotropy on these crucial aspects is not yet fully understood. We examine the impact of data anisotropy, represented by a spiked covariance structure, a canonical yet tractable model, on the learning dynamics and generalization error of a two-layer linear network in a linear regression setting. Our analysis reveals that the learning dynamics proceed in two distinct phases, governed initially by the input-output correlation and subsequently by other principal directions of the data structure. Furthermore, we derive an analytical expression for the generalization error, quantifying how the alignment of the spike structure of the data with the learning task improves performance. Our findings offer deep theoretical insights into how data anisotropy shapes the learning trajectory and final performance, providing a foundation for understanding complex interactions in more advanced network architectures.
