Low-Rank Learning by Design: the Role of Network Architecture and Activation Linearity in Gradient Rank Collapse
Bradley T. Baker, Barak A. Pearlmutter, Robyn Miller, Vince D. Calhoun, Sergey M. Plis
TL;DR
This work provides a theory-first investigation into gradient rank dynamics in deep neural networks, arguing that architectural choices such as bottlenecks, parameter tying, and activation linearity deterministically bound gradient rank throughout training, extending beyond terminal Neural Collapse. Using reverse-mode auto-differentiation as the analytical core, the authors derive explicit bounds for linear networks and extend them to recurrent and convolutional architectures, as well as Leaky-ReLU nonlinearities, accompanied by practical bounds for numerical rank via Hadamard-product inequalities. The contributions include exact gradient-rank bounds for linear networks, extensions to RNNs and CNNs with shared parameters, a bound on Leaky-ReLU singular-value contributions, and thorough empirical verification on synthetic and real-world datasets showing how design choices constrain learning dynamics. The findings have practical implications for deep learning engineering, offering design guidelines (e.g., bottlenecks, sequence length, activation linearity) and informing distributed training approaches that rely on low-rank gradient decompositions, while laying groundwork for future studies connecting gradient rank dynamics to Neural Collapse and training performance.
Abstract
Our understanding of learning dynamics of deep neural networks (DNNs) remains incomplete. Recent research has begun to uncover the mathematical principles underlying these networks, including the phenomenon of "Neural Collapse", where linear classifiers within DNNs converge to specific geometrical structures during late-stage training. However, the role of geometric constraints in learning extends beyond this terminal phase. For instance, gradients in fully-connected layers naturally develop a low-rank structure due to the accumulation of rank-one outer products over a training batch. Despite the attention given to methods that exploit this structure for memory saving or regularization, the emergence of low-rank learning as an inherent aspect of certain DNN architectures has been under-explored. In this paper, we conduct a comprehensive study of gradient rank in DNNs, examining how architectural choices and structure of the data effect gradient rank bounds. Our theoretical analysis provides these bounds for training fully-connected, recurrent, and convolutional neural networks. We also demonstrate, both theoretically and empirically, how design choices like activation function linearity, bottleneck layer introduction, convolutional stride, and sequence truncation influence these bounds. Our findings not only contribute to the understanding of learning dynamics in DNNs, but also provide practical guidance for deep learning engineers to make informed design decisions.
