Real-Time Recurrent Learning using Trace Units in Reinforcement Learning

Esraa Elelimy, Adam White, Michael Bowling, Martha White
9/2/2024
cs.LGcs.AI

No official code found. Best implementation: esraaelelimy/rtus (13 stars, MIT, last commit 2026-03-20).

Abstract

Recurrent Neural Networks (RNNs) are used to learn representations in partially observable environments. For agents that learn online and continually interact with the environment, it is desirable to train RNNs with real-time recurrent learning (RTRL); unfortunately, RTRL is prohibitively expensive for standard RNNs. A promising direction is to use linear recurrent architectures (LRUs), where dense recurrent weights are replaced with a complex-valued diagonal, making RTRL efficient. In this work, we build on these insights to provide a lightweight but effective approach for training RNNs in online RL. We introduce Recurrent Trace Units (RTUs), a small modification on LRUs that we nonetheless find to have significant performance benefits over LRUs when trained with RTRL. We find RTUs significantly outperform other recurrent architectures across several partially observable environments while using significantly less computation.

View on arXivView PDF

Code Implementations(1)

esraaelelimy/rtusCommunity100%
MIT

Real-Time RTUs

133PythonOct 25, 20247 months agoMIT

Similar Papers

Cite this paper

@article{elelimy2024realtime,
  title  = {Real-Time Recurrent Learning using Trace Units in Reinforcement Learning},
  author = {Esraa Elelimy and Adam White and Michael Bowling and Martha White},
  year   = {2024},
  eprint = {2409.01449},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2409.01449},
  url    = {http://arxiv.org/abs/2409.01449v2},
  journal = {NEURIPS 2024 2024}
}

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

Discussion