On the Role of Depth in the Expressivity of RNNs

Maude Lizaire, Michael Rizvi-Martel, Éric Dupuis, Guillaume Rabusseau
4/2/2026
cs.LG

No official code found. Best implementation: MaudeLiz/Role_of_Depth_in_RNNs (0 stars, Python, CC0-1.0, last commit 2026-02-13).

Abstract

The benefits of depth in feedforward neural networks are well known: composing multiple layers of linear transformations with nonlinear activations enables complex computations. While similar effects are expected in recurrent neural networks (RNNs), it remains unclear how depth interacts with recurrence to shape expressive power.

Show full abstract

Here, we formally show that depth increases RNNs' memory capacity efficiently with respect to the number of parameters, thus enhancing expressivity both by enabling more complex input transformations and improving the retention of past information. We broaden our analysis to 2RNNs, a generalization of RNNs with multiplicative interactions between inputs and hidden states. Unlike RNNs, which remain linear without nonlinear activations, 2RNNs perform polynomial transformations whose maximal degree grows with depth. We further show that multiplicative interactions cannot, in general, be replaced by layerwise nonlinearities. Finally, we validate these insights empirically on synthetic and real-world tasks.

View on arXivView PDF

Code Implementations(1)

CC0-1.0

Implementation of the paper : "On the Role of Depth in the Expressivity of RNNs"

00Python, ShellFeb 13, 20269 months agoCC0-1.0

Similar Papers

Cite this paper

@article{lizaire2026role,
  title  = {On the Role of Depth in the Expressivity of RNNs},
  author = {Maude Lizaire and Michael Rizvi-Martel and Éric Dupuis and Guillaume Rabusseau},
  year   = {2026},
  eprint = {2604.02201},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.02201v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.02201.svg)](https://codeofpaper.com/paper/2604.02201)

Discussion