[Paper Review] Recurrent Off-policy Baselines for Memory-based Continuous Control
This paper introduces recurrent off-policy deep reinforcement learning algorithms—RDPG, RTD3, and RSAC—by extending DDPG, TD3, and SAC to handle partially observable continuous control tasks using recurrent neural networks (RNNs) for memory-based temporal representation. RSAC emerges as the most reliable baseline, achieving near-optimal performance across diverse tasks, though systematic exploration remains challenging.
When the environment is partially observable (PO), a deep reinforcement learning (RL) agent must learn a suitable temporal representation of the entire history in addition to a strategy to control. This problem is not novel, and there have been model-free and model-based algorithms proposed for this problem. However, inspired by recent success in model-free image-based RL, we noticed the absence of a model-free baseline for history-based RL that (1) uses full history and (2) incorporates recent advances in off-policy continuous control. Therefore, we implement recurrent versions of DDPG, TD3, and SAC (RDPG, RTD3, and RSAC) in this work, evaluate them on short-term and long-term PO domains, and investigate key design choices. Our experiments show that RDPG and RTD3 can surprisingly fail on some domains and that RSAC is the most reliable, reaching near-optimal performance on nearly all domains. However, one task that requires systematic exploration still proved to be difficult, even for RSAC. These results show that model-free RL can learn good temporal representation using only reward signals; the primary difficulty seems to be computational cost and exploration. To facilitate future research, we have made our PyTorch implementation publicly available at https://github.com/zhihanyang2022/off-policy-continuous-control.
Motivation & Objective
- To close the gap in model-free, off-policy baselines for memory-based continuous control in partially observable environments.
- To implement and evaluate recurrent versions of DDPG, TD3, and SAC (RDPG, RTD3, RSAC) that utilize full observation-action history.
- To investigate key design choices such as shared recurrent representations and RNN architecture (LSTM, GRU, VRNN) in off-policy RL.
- To establish a reliable, publicly available implementation for future research in history-based deep RL.
- To assess the limitations of model-free RL in sparse-reward, systematically exploratory tasks despite strong performance on dense-reward domains.
Proposed method
- Extend DDPG, TD3, and SAC with recurrent neural networks (RNNs) to process full history $ h_t = \{o_{1:t}, a_{1:t-1}\} $, creating RDPG, RTD3, and RSAC.
- Adapt standard experience replay for recurrent agents by storing full histories and using RNN hidden states to maintain temporal context.
- Propose RSAC-Share: a shared recurrent encoder across actor and both critics, optimized only via critic losses to improve efficiency and representation quality.
- Use gradient-based backpropagation through time (BPTT) for end-to-end training of the RNN, actor, and critics.
- Compare different RNN types—LSTM, GRU, and VRNN—on performance and training stability in memory-based control tasks.
- Adopt insights from DrQ [21] to share a single CNN in image-based RL, applying similar principles to RNNs for parameter efficiency and representation learning.
Experimental results
Research questions
- RQ1Can off-policy deep RL algorithms with RNNs learn effective temporal representations from only sparse reward signals in partially observable environments?
- RQ2How do design choices such as shared recurrent representations and RNN architecture (LSTM vs. GRU vs. VRNN) affect learning stability and performance?
- RQ3Does sharing the recurrent encoder across actor and critics improve sample efficiency and performance, and what are the trade-offs in training dynamics?
- RQ4How do RDPG, RTD3, and RSAC compare in terms of reliability and asymptotic performance across short-term and long-term partially observable control tasks?
- RQ5What are the persistent challenges in model-free RL for POMDPs, particularly in tasks requiring systematic exploration with sparse rewards?
Key findings
- RSAC achieves near-optimal performance on nearly all tested partially observable continuous control domains, outperforming RDPG and RTD3.
- RDPG and RTD3 fail unexpectedly on certain tasks, indicating that value overestimation and policy collapse remain problematic even with off-policy algorithms.
- RSAC-Share, a variant with a shared recurrent encoder optimized only via critic losses, matches RSAC performance while halving RNN computation, reducing training time significantly.
- RSAC-Share exhibits higher correlation between the two critics' Q-values (due to shared representation), potentially reducing the effectiveness of clipped double Q-learning.
- RSAC-LSTM and RSAC-GRU achieve comparable asymptotic performance, while RSAC-VRNN underperforms significantly, likely due to vanishing/exploding gradient issues in long sequences.
- Despite strong performance on dense-reward tasks, all models struggle with a single task requiring systematic exploration, highlighting a persistent challenge in model-free RL for POMDPs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.