Abstract
Recurrent neural networks (RNNs) frequently exhibit "dynamic collapse" during training, where high-dimensional hidden states settle into simple, low-dimensional patterns. We present KPFlow, a theoretical framework that decomposes gradient descent into distinct parameter ($K$) and temporal flow ($P$) operators. Our analysis reveals that the network's own architecture, specifically the low-rank nature of the $K$ operator, acts as a bottleneck that drives this simplicity bias. We validate this framework on neuroscience-inspired tasks, demonstrating how initial connectivity scales influence learning speed and representation dimensionality.
Introduction
A persistent observation in training recurrent systems like RNNs and Gated Recurrent Units (GRUs) is dynamic collapse. Despite their high-dimensional capacity, these models often converge to simple, low-dimensional solutions such as fixed-point attractors or rings. While this "simplicity bias" aids interpretability and generalization, a rigorous explanation for finite, non-linear models has been lacking. Existing theories, such as the Neural Tangent Kernel (NTK), primarily address the infinite-width limit, leaving a gap in our understanding of how specific recurrent architectures shape learning in practical settings.
The KPFlow Framework
The authors introduce the KPFlow decomposition, which formalizes the gradient flow—the change in hidden states during learning—as a product of three linear operators: $$\delta z = -[P \circ K \circ P^*](Err)$$
- The Parameter Operator ($K$): Analogous to the NTK for feed-forward networks, $K$ describes how weight changes translate into network tangents. Crucially, $K$ is proven to be a low-rank operator, restricting weight updates to a narrow subspace.
- The Linearized Flow Propagator ($P$): This operator characterizes how perturbations at one timepoint propagate through the trajectory, linking learning dynamics to Lyapunov stability and optimal control.
- Consensus SVD: To handle the computational demands of these large operators, a "matrix-free" Singular Value Decomposition (SVD) approach was developed to analyze massive datasets across trials and timepoints.
Experimental Validation
The framework was tested on several benchmarks:
- Memory-Pro Task: A classic spatial memory task requiring the reproduction of 2D coordinates after a delay.
- Multi-task Suite: Investigating representation sharing across tasks like Memory-Pro/Anti and Delay-Pro/Anti.
- Biophysical Models: Extension to Hodgkin-Huxley neuron models to demonstrate the framework's broad applicability.
Understanding Dynamic Collapse
The primary driver of dynamic collapse is the $K$-bottleneck. Because $K$ is low-rank, it filters out most of the error signal, forcing the network to learn within a highly constrained subspace. This collapse is a fundamental property of the architecture; even before training, the rank of $K$ is significantly lower than that of $P$.
Key findings include:
- Rank Disparity: In a 256-unit RNN, the $K$ operator's effective rank is often as low as ~7, while $P$ remains high-rank, confirming parameterization as the source of simplicity bias.
- Connectivity and Speed: Larger initial weights (higher connectivity scale $g$) increase the effective rank of $K$, widening the "bottleneck" and leading to faster convergence.
- Multi-task Alignment: An "Interference Matrix" derived from KPFlow can predict task-sharing patterns early in training, long before hidden state representations align.
Discussion and Future Directions
While KPFlow provides a robust analytical tool, several areas remain for future exploration. A rigorous derivation of why $P$ consistently maintains high rank is still needed. Additionally, applying this framework to massive models trained on complex, high-dimensional data (e.g., large language models) will test its scalability. Finally, the KPFlow perspective offers a path toward designing new optimization algorithms that explicitly manipulate the rank of $K$ to control the degree of dynamic collapse.
Summary updated