NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Reveals Invisible Structure in Low-Rank RNNs

Yoav Ger, Omri Barak

TL;DR

Two neural networks can produce identical outputs, exhibit the exact same internal activity, and still learn in radically different ways. By mathematically reducing high-dimensional Recurrent Neural Networks (RNNs) into a compact 10-dimensional system, the authors uncover "invisible" structural connections that stay completely silent during inference—yet secretly steer future learning and store memories of past training.

What Problem Does This Paper Address?

Both biological brains and artificial neural networks face a massive mismatch of scales: learning adjusts millions of microscopic synaptic weights, yet the resulting behaviors or outputs live in a much lower-dimensional space. Because so many different weight configurations produce the exact same behavior—a property known as degeneracy—working backward from a network’s function to its wiring is notoriously ill-posed.

To tame this complexity, computational neuroscientists often study low-rank RNNs, where the recurrent weight matrix is constrained to a low rank (e.g., the outer product of two vectors). In these models, high-dimensional neural activity collapses neatly into a few macroscopic "overlap" variables—essentially dot products measuring how aligned the input, recurrent, and readout weight vectors are. While this framework brilliantly explains static network computation, we haven't known how these overlaps evolve during learning. Can we track gradient descent directly in this compressed space?

Methods

The authors extend the low-rank framework from neural activity to gradient-descent learning dynamics, analyzing rank-1 continuous-time RNNs (both linear and nonlinear).

Instead of tracking $4N$ individual weights across $N$ neurons, they apply the chain rule to project gradient flow directly onto the scalar overlaps. Here is the catch: gradient descent in high-dimensional weight space does not equal naive gradient descent in low-dimensional overlap space. Instead, the high-dimensional geometry warps the learning trajectory via a preconditioning Gram matrix, $G(\theta)$.

Figure 1: (a) High-dimensional RNN in parameter θ-space (top): input x drives activity h through input weights m, recurrent connectivity W , and readout weights z to produce output y. For a low-rank RNN, the same input–output function is captured by an effective model described by a small set of scalar overlaps σ (bottom). (b) Schematic illustration of a learning trajectory in the loss landscape over the parameter θ (top, blue arrow) and its projection onto the loss landscape over the overlap σ via G(θ) (bottom, red arrow), highlighting how this mapping can alter the perceived trajectory. Crucially, the projected dynamics can differ from direct optimization in overlap space (black dashed arrow), reflecting structural constraints of the parameterization. (c) Concrete example of (b), showing the loss dynamics of training a low-rank linear RNN on a filter task. Optimization in parameter space (blue) and the corresponding overlap dynamics induced by G (red dashed) closely agree, whereas direct optimization in overlap space (black dashed) produces different dynamics.

When the authors calculate $G(\theta)$ explicitly, something remarkable pops out: the matrix depends on extra overlaps and vector norms that don't appear anywhere in the network's forward pass! By deriving the evolution of both sets of variables, they formulate a closed, 10-dimensional system of ordinary differential equations (ODEs). This system is exact for linear RNNs and asymptotically exact for nonlinear RNNs (using an error-function activation in the $N \to \infty$ Gaussian limit via Dynamical Mean-Field Theory).

Datasets

Rather than static benchmark datasets, the authors evaluate their theory on synthetic, continuous-time tasks standard in theoretical neuroscience:

  • Exponential Filter Task: Emulating a first-order exponential filter driven by white noise (including sequential A–B–A protocols with interleaved decay rates).
  • 1-Bit Flip-Flop Task: Maintaining a bistable internal memory state that flips only upon receiving brief, signed input pulses.
  • Stimulus Integration & Teacher Emulation: Used in a novel sequential history-decoding protocol (Task A or B $\to$ Task C) where "twin" networks learn distinct tasks before converging on a shared teacher-emulation task.

Key Insights and Ideas

  • Visible vs. Invisible Structure: Connectivity naturally splits into loss-visible overlaps (which fully dictate neural activity, output, and loss) and loss-invisible overlaps (vector norms and alignments that have zero impact on current behavior, but precondition how visible overlaps update during learning).
  • Perturbation-by-Learning: If two networks share identical visible overlaps, no amount of static recording or input-noise probing can tell them apart. However, turning on plasticity exposes their hidden differences immediately—making learning itself a non-invasive probe of silent circuit structure.
Figure 2: (a) Two RNNs parametrized with θ1 and θ2 share identical loss-visible σ (=) but differ in loss-invisible ˜σ (̸=) overlaps. (b) Initial values of all overlaps (blue: θ1, red: θ2) show identical visible components (top) but differences in the invisible components (bottom), including σmu and ||u||2. (c–d) Because the input–output function depends only on the visible set, their hidden activity (c) and outputs (d) are indistinguishable. (e) Input noise perturbations likewise fail to differentiate the networks. (f) Once learning is turned on, differences in connectivity are revealed in the recorded outputs. (g) These invisible differences also emerge in the learning trajectories: θ1 exhibits a transient plateau (blue) absent in θ2 (red). The theory accurately captures both learning dynamics.
  • Silent Synapses as History-Keepers: Because loss-invisible overlaps don't affect current task performance, they are free to act as hidden memory variables that record what a network learned in the past, even after it is retrained to perform an entirely new behavior.
  • Nonlinearity Unlocks Memory: In linear RNNs under pure gradient flow, an exact mathematical invariant locks invisible overlaps to initial conditions—meaning retraining a network on an old task erases all trace of intervening tasks. Breaking this symmetry (via label noise, Adam, or nonlinear activations, which pull three previously invisible overlaps into the visible set) frees the remaining invisible overlaps to encode training history.

Key Results

  • Exact Low-Dimensional Tracking: Integrating the 10D ODE system matches full $N$-dimensional gradient descent loss curves in both linear and nonlinear RNNs, whereas optimizing directly in overlap space without $G(\theta)$ yields qualitatively wrong trajectories and shifted plateaus.
  • Gaussianity Holds Up: In nonlinear flip-flop networks trained with small learning rates, parameter distributions remain tightly Gaussian at convergence (Q–Q plot correlation $r \ge 0.998$), validating the mean-field assumptions.
  • Robust History Decoding: After twin nonlinear networks are trained on either Task A or B and then converged onto a shared Task C, adding realistic observation noise ($\mathcal{N}(0, 0.1)$) drops a logistic-regression classifier using loss-visible overlaps to chance level (~0.5 accuracy), while decoding from loss-invisible overlaps remains near 1.0 cross-validation accuracy.

Limitations and Future Work

  • Rank Scaling: The math focuses on rank-1 networks; while higher ranks work in principle, the number of overlaps grows quadratically with rank, quickly complicating the ODEs.
  • Gaussian Fragility: In nonlinear RNNs, large learning rates or adaptive optimizers like Adam cause weights to drift away from Gaussian distributions, breaking the exact match between theory and simulation.
  • Purely Low-Rank Parameterization: The model trains low-rank factor vectors directly rather than an unconstrained $N \times N$ matrix $W$ or a low-rank matrix plus a full-rank random bulk—extensions the authors highlight as key next steps.

Summary updated

BibTeX
@inproceedings{ger2026learning,
  author = {Yoav Ger and Omri Barak},
  title = {{Learning Reveals Invisible Structure in Low-Rank RNNs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=UB2Xsj6ZZA},
}
Figure