A dynamical systems theory of reward-modulated learning in linear recurrent networks

NeurIPS 2026
†dimitra.maoutsa@gmail.com

Abstract

We study how recurrence shapes sparse-reward learning in linear recurrent networks trained with a linearised REINFORCE rule in a high-dimensional teacher–student setting. We show that learning is governed by the temporal responses of the student and teacher, which determine the joint Gaussian statistics of their trajectories. Recurrence introduces temporal correlations, making the probability of receiving a reward a Gaussian persistence problem. We characterise its exponential decay with episode length through the dominant eigenvalue of a transfer operator, and show that recurrence can either increase or decrease reward availability depending on the alignment of temporal responses. These changes in trajectory statistics can accelerate or delay escape from sparse-reward plateaus, while in a reward-limited regime plateau-escape times grow exponentially with episode length. Our results provide a quantitative theory of how recurrent connectivity and sparse reward interact during learning.

Overview of contributions

Contribution overview

TL;DR

We provide a theory for reward-driven learning in linear recurrent neural networks within a teacher-student setting.

How does recurrent connectivity shape learning from rewards when a task requires an entire sequence of correct actions for success?

We study this question in linear recurrent networks trained with a linearised REINFORCE rule in a teacher–student setting. The student receives a reward only when its decisions agree with the teacher’s decisions at every time step within an episode. The very presence of recurrent connections introduces temporal dependences between decisions, thereby changing the probability of success of a learning episode.

[ - put schematic from video - ]

Here,

Teacher-student reward-driven learning

We view the in recurrent neural networks in a teacher-student setting in terms of the persitence probability of a correlated Gaussian process (that of the joint output pre-activations). Rewarded episodes result from the continual agreement between teacher and student, i.e. from trials where the joint output Gaussian process remains within the agreement orthants ((+,+) or (-,-)).

Reward requires agreement throughout the episode

Both teacher and student see the same inputs at every time step, but process them throgh different connectivity to generate decisions. Instead of considering the hard-sign binary decisions of each network, we focus at the output pre-activations, λt\lambda_t and νt\nu_t, i.e. the values before the sign operation of the network readout. For the two networks to agree, the pre-activations are sufficient to have the same sign, i.e. to fall within the first or third quadrant in the λt−νt\lambda_t - \nu_t space. Thus to secure a successful episode the joint output trajectory of the teacher-student pair has to remain within this agreement region, and change decision signs in tandem.

A killed transfer operator

Since success requires the joint teacher-student trajectory to remain within the agreement region, we can compute the success probability by emplying a Feynman-Kac style operator for discrete time process that kills trajectories that hit the bounderies of the agreement regions at decision time steps. This amounts to introducing a so called killed Transfer operator whose eigenspectrum reveals and in particular its dominant eigenvalue, reveals the long-time behaviour of trajectories described by this killed process.

Learning updates concentrate in few collective directions

The presence of the single readout enforces a shared subspace structure to the learning fileds of the input weights WxW_x and recurrent weights WhW_h. We find that the instantaneous learning updates have a shared sub-space structure, where the left factor of the instantaneous update is confined within a Krylov like subspace spanning the iterative application of the recurrent connectivity matrix to the readout KT(Wh,c)=span{c,Wh⊤c,…,(Wh⊤)T−1c}.\mathcal{K}_T(W_h,\mathbf{c}) =\text{span}\{\mathbf{c},W_h^\top\mathbf{c},\ldots,(W_h^\top)^{T-1}\mathbf{c}\}. Thus the column-space of the learning field lies within KT\mathcal{K}_T, col[Fx Fh]⊆KT(Wh,c)\text{col}[F_x\, F_h] \subseteq \mathcal{K}_T(W_h,\mathbf{c}), whose dimensionality is limited by the duration of the episode and size of recurrent network, dim⁡KT≤min⁡(T,Nh)\dim\mathcal{K}_T\leq\min(T,N_h).

This motivates a reduced representation of the learning dynamics in what we call the projected shared-subspace model which is inspired by the diagonal structure of spectrally aligned networks learning with gradient minimising objectives introduced mainly by Saxe et al. and the low-rank networks describing collective interactions within the network introduced by Mastrogiuseppe et al. Here, the development of network connectivity deviates from both low-dimensional descriptions, but the instantaneous learning updates, at least for the settings we consider and given the aforementioned readout constraint, are rank deficient.

The same behavioural output at initialisation can lead to different learning trajectories

The success probability of the

Learning dynamics phase plots for different input-output gains

Video

Wide visual

%I constrained the maximum width of the text column to make sure it’s readable even when the screen is wide. But images and other visuals should “break out” and take up more %horizontal space: for this, try wrapping them in the Wide component.

Photo of two running dogs, lossily compressed using the DiffC algorithm

Figure with caption

Wrap a visual in a Figure component to add a caption.

Photo of two running dogs, lossily compressed using the DiffC algorithm
Summary of contributions of the RL-lRNN paper.

Comparison slider

Use the Comparison component to compare two visuals with an interactive slider.

Photo of two running dogs, lossily compressed using the DiffC algorithm
True photo of two dogs running side-by-side in shallow water

Tab panels

Tab panels are a great way to display a labeled collection of related visuals without taking up too much space.

A carousel is another useful pattern for a collection of visuals that don’t necessarily have meaningful labels.

Two columns

Use the two columns component to display two columns of content. In this example, the first column contains a YouTube video embed and the second column contains an interactive 3D model viewer. By default, they display side by side, but if the screen is narrow enough (for example, on mobile), they’re arranged vertically.

LaTeX\LaTeX

You can also add LaTeX\LaTeX formulas, rendered during the build process using KaTeX\KaTeX so they’re quick to load for visitors of your project page. You can write them inline, like this: a2+b2=c2a^2 + b^2 = c^2. Or, you can write them as a block:

∫abf(x)dx\int_a^b f(x) dx

Citation

If you copy your bibliography into ./bibliography.bib, you can cite papers using their BibTeX keys, and they’ll be automatically formatted and included in the bibliography section at the end. For example: (Vaswani et al., 2017). Note that these citations are distinct from footnotes1, which show up in a separate section if you use them.

Table

Add simple tables using GitHub Flavored Markdown syntax:

ModelAccuracyF1 scoreTraining time (hours)
BERT-base0.890.874.5
RoBERTa-large0.920.917.2
DistilBERT0.860.842.1
XLNet0.900.896.8

BibTeX citation

Displaying the BibTeX entry for your paper in a code block makes it easy to copy and paste.

@misc{roman2024academic,
author = "{Roman Hauksson}",
title = "Academic Project Page Template",
year = "2024",
howpublished = "\url{https://research-template.roman.technology}",
}

Bibliography

Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., & Polosukhin, I. (2017). Attention is All You Need. Advances in Neural Information Processing Systems, 30, 5998–6008. https://proceedings.neurips.cc/paper/2017/file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf

Footnotes

  1. On the web, they should really be called “endnotes”, since each page constitutes a full document. ↩