Low Rank Gradients and Where to Find Them

Rishi Sonthalia, Michael Murray, Guido Montufar

Introduction

Deep learning's ability to perform "feature learning"—automatically discovering relevant patterns in high-dimensional data—is central to its success. Theoretical research often characterizes this process by examining the low-rank structure of weight updates. If gradients are low-rank, the network focuses its learning on a few significant directions rather than updating weights in a high-dimensional, random fashion. While previous theories often assumed gradients were approximately rank-one, this paper demonstrates that they are generically rank-two, balancing the need to fit current errors with the need to adapt to the data's inherent structure.

The Spiked Data Model

Most existing theoretical frameworks rely on isotropic assumptions, treating data points as independent and identically distributed in a spherical manner. However, real-world data is typically anisotropic and ill-conditioned, featuring dominant directions or "spikes" amidst uneven noise.

To address this, the authors utilize a spiked data model. In this model, input data consists of a "bulk" (anisotropic noise with specific spectral decay) and a "spike" (a single dominant direction). By analyzing two-layer neural networks under Mean Field (MF) and Neural Tangent Kernel (NTK) regimes, the researchers can observe how these data characteristics influence gradient structure.

The Rank-Two Reality

The core theoretical contribution is the decomposition of the gradient ($G$) into three primary components:

  1. $S_1$ (Residue Spike): Aligned with the current error (residue) and the bulk data.
  2. $S_2$ (Data Spike): Aligned with the dominant direction (spike) of the input data.
  3. $S_{12}$ (Interpolant): A connecting term between the two.

The authors prove that the gradient's spectrum is dominated by these two distinct forces. This "dual influence" means the network simultaneously solves the specific task at hand (fitting the residue) while adapting to the underlying data distribution (following the spike).

Figure 1: Singular value spectrum of the gradient showing two dominant spikes ($S_1$ and $S_2$) rising above the noise floor.

Activation Functions as Filters

A surprising finding is the role of activation functions. Smooth functions like Tanh, Swish, and Softplus preserve the residue spike ($S_1$). In contrast, the widely used ReLU activation tends to suppress $S_1$, making ReLU networks naturally more "data-adaptive" and less sensitive to initial errors at the start of training.

Figure 3: Spectral evidence of the rank-two structure across different smooth activation functions (Tanh, Swish, Softplus) and loss functions.

Empirical Validation and Regularization

The paper validates these findings using synthetic spiked Gaussian data and real-world datasets like MNIST and CIFAR-10. In all cases, singular value plots—the "fingerprints" of the gradient—reveal two distinct spikes above the bulk noise.

Furthermore, the research explores how regularization acts as a tuning knob for these ranks:

  • Input Noise: Can re-introduce a suppressed residue spike.
  • Jacobian Penalties: Promote the data-aligned spike ($S_2$), encouraging sensitivity to the data's structure.

Conclusion

By moving beyond isotropic assumptions, this work uncovers a more nuanced rank-two structure in neural network gradients. This discovery provides a clearer picture of how networks balance task-specific learning with data adaptation. While currently focused on two-layer architectures, these insights offer a foundation for understanding feature learning in deeper, more complex models.

Summary updated

BibTeX
@inproceedings{sonthalia2025low,
  author = {Rishi Sonthalia and Michael Murray and Guido Montufar},
  title = {{Low Rank Gradients and Where to Find Them}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=de3kwOXQ9e},
}
Figure