cs.LGApr 2, 2026

On the Role of Depth in the Expressivity of RNNs

Authors: Maude Lizaire, Michael Rizvi-Martel, Éric Dupuis, Guillaume Rabusseau

Organizations: Mila & DIRO, Université de Montréal · Independent · Mila & DIRO, CIFAR AI Chair, Université de Montréal

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. 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.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Random Recursive Models

    Sep 30, 2026Jama Hussein Mohamud, Mirco RavanelliEfficient Neural Network InferenceLLM Reasoning

  2. Why Are Linear RNNs More Parallelizable?

    Mar 4, 2026William Merrill, Hongjian Jiang, Yanhong Li +2Circuit ComplexityRecurrent Neural Networks