Exploring the Promise and Limits of Real-Time Recurrent Learning

Kazuki Irie, Anand Gopalakrishnan, Jürgen Schmidhuber
5/30/2023
cs.LG

No official code found. Best implementation: IDSIA/rtrl-elstm (13 stars, PyTorch, last commit 2025-06-11).

Abstract

Real-time recurrent learning (RTRL) for sequence-processing recurrent neural networks (RNNs) offers certain conceptual advantages over backpropagation through time (BPTT). RTRL requires neither caching past activations nor truncating context, and enables online learning. However, RTRL's time and space complexity make it impractical. To overcome this problem, most recent work on RTRL focuses on approximation theories, while experiments are often limited to diagnostic settings. Here we explore the practical promise of RTRL in more realistic settings. We study actor-critic methods that combine RTRL and policy gradients, and test them in several subsets of DMLab-30, ProcGen, and Atari-2600 environments. On DMLab memory tasks, our system trained on fewer than 1.2 B environmental frames is competitive with or outperforms well-known IMPALA and R2D2 baselines trained on 10 B frames. To scale to such challenging tasks, we focus on certain well-known neural architectures with element-wise recurrence, allowing for tractable RTRL without approximation. Importantly, we also discuss rarely addressed limitations of RTRL in real-world applications, such as its complexity in the multi-layer case.

View on arXivView PDF

Code Implementations(1)

IDSIA/rtrl-elstmCommunity100%
PyTorch

Official repository for the paper "Exploring the Promise and Limits of Real-Time Recurrent Learning" (ICLR 2024)

133C++, ShellMay 29, 20231 years ago
actor-critic-methodsatarideepmind-labprocgenpytorch+5 more

Similar Papers

Cite this paper

@article{irie2023exploring,
  title  = {Exploring the Promise and Limits of Real-Time Recurrent Learning},
  author = {Kazuki Irie and Anand Gopalakrishnan and Jürgen Schmidhuber},
  year   = {2023},
  eprint = {2305.19044},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.19044v3},
  journal = {ICLR 2023 2023}
}

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/2305.19044.svg)](https://codeofpaper.com/paper/2305.19044)

Discussion