Abstract
In spite of finite dimension ReLU neural networks being a consistent factor behind recent deep learning successes, a theory of feature learning in these models remains elusive. Currently, insightful theories still rely on assumptions including the linearity of the network computations, unstructured input data and architectural constraints such as infinite width or a single hidden layer. To begin to address this gap we establish an equivalence between ReLU networks and Gated Deep Linear Networks, and use their greater tractability to derive dynamics of learning. We then consider multiple variants of a core task reminiscent of multi-task learning or contextual control which requires both feature learning and nonlinearity. We make explicit that, for these tasks, the ReLU networks possess an inductive bias towards latent representations which are not strictly modular or disentangled but are still highly structured and reusable between contexts. This effect is amplified with the addition of more contexts and hidden layers. Thus, we take a step towards a theory of feature learning in finite ReLU networks and shed light on how structured mixed-selective latent representations can emerge due to a bias for node-reuse and learning speed.
Introduction
Despite the ubiquity of ReLU neural networks in modern deep learning, a comprehensive theory of their feature learning dynamics remains elusive. Existing theoretical frameworks often rely on simplifying assumptions, such as network linearity, unstructured data, or infinite-width limits (e.g., the Neural Tangent Kernel regime). These "lazy learning" models fail to capture how finite-width networks develop structured internal representations. This paper addresses this gap by establishing a mathematical equivalence between ReLU networks and Gated Deep Linear Networks (GDLNs), deriving learning dynamics that reveal an inherent inductive bias toward structured mixed selectivity.
Methodology: From ReLU to GDLNs
The authors bridge the gap between tractability and non-linearity by introducing Rectified Linear Networks (ReLNs). They demonstrate that a ReLU network can be viewed as a subset of Gated Deep Linear Networks (GDLNs), where the ReLU activation functions act as "gates" that activate or deactivate specific linear pathways based on the input.
By treating the network as a collection of gated linear pathways, the authors apply a "neural race" framework. In this view, different functional modules within the network compete to learn; the module that reduces the loss most rapidly becomes the dominant representation. Because GDLNs are piecewise linear, exact differential equations for learning dynamics can be derived, allowing for precise predictions of the network's trajectory during training.
The Neural Race and the Bias for Speed
A central finding is that ReLU networks do not merely find any valid solution; they are biased toward the fastest one. This "haste" favors pathways that provide the steepest initial reduction in error. This drive for efficiency leads to structured mixed selectivity, where neurons learn to be active across multiple contexts. Reusing nodes is often the most efficient strategy for the optimizer, explaining why perfect modularity is rarely observed in practice.
The authors illustrate this using a "Transition XOR Task," a 3D dataset that is linearly separable in one dimension but possesses an XOR structure in others.
As shown in Figure 2, the theory predicts an exact mathematical transition point (Δ = √2/3) where the network switches from a simple linear strategy to a complex non-linear XOR strategy. Notably, networks adopt non-linear strategies well before the problem becomes strictly non-linearly separable, driven by the speed of loss reduction.
Empirical Validation and Latent Dynamics
The proposed ReLN theory shows exceptional alignment with simulated ReLU networks. Analytical loss trajectories match actual training curves, and Multi-dimensional Scaling (MDS) reveals that the internal latent representations of both models are nearly identical throughout training.
In contextual semantic tasks, where networks must learn features across different domains (e.g., visual vs. functional), the authors prove that mixed selectivity is the unique winner of the neural race. This effect is further amplified by increasing network depth or task complexity, as deeper layers provide more opportunities for node reuse.
Conclusion and Future Directions
This work provides a step toward a mechanistic understanding of feature learning in finite ReLU networks. By showing that structured mixed selectivity emerges from a bias for learning speed, the authors shed light on the internal representations of modern AI. Future work may extend this framework to meta-learning and the study of polysemanticity, offering potential insights into AI safety and interpretability.
Summary updated