Skip to content
conftrace_
2024 NeurIPS NeurIPS 2024

Recurrent Reinforcement Learning with Memoroids

Memory models such as Recurrent Neural Networks (RNNs) and Transformers address Partially Observable Markov Decision Processes (POMDPs) by mapping trajectories to latent Markov states. Neither model scales particularly well to long sequences, especially compared to an emerging class of memory models called Linear Recurrent Models. We discover that the recurrent update of these models resembles a monoid, leading us to reformulate existing models using a novel monoid-based framework that we call memoroids. We revisit the traditional approach to batching in recurrent reinforcement learning, highlighting theoretical and empirical deficiencies. We leverage memoroids to propose a batching method that improves sample efficiency, increases the return, and simplifies the implementation of recurrent loss functions in reinforcement learning.

🌉 Interdisciplinary Bridge - Artificial Intelligence and Reinforcement Learning

More from NeurIPS 2024

All NeurIPS 2024 papers →