Abstract
This study evaluates recurrent extensions of state-of-the-art off-policy reinforcement learning (RL) algorithms—DDPG, TD3, and SAC—for continuous control within partially observable environments. We demonstrate that Recurrent Soft Actor-Critic (RSAC) exhibits significant robustness, often matching the performance of agents with full state access by effectively learning temporal representations from reward signals alone.
Introduction
Standard deep RL algorithms typically assume "full observability," where the agent perceives the complete environment state at each timestep. However, real-world applications, particularly in robotics, are often partially observable (PO). In such scenarios, sensors may provide incomplete data (e.g., positions without velocities), or critical information like goal locations may only be available intermittently. To navigate these memory-based tasks, agents must integrate historical observations and actions to estimate the underlying state. While recurrence via RNNs is a known approach, there has been a lack of standardized baselines combining full-history memory with modern off-policy methods like TD3 and SAC.
Methodology
We implemented recurrent versions of three prominent algorithms: RDPG, RTD3, and RSAC. The primary architectural modification involves integrating a Long Short-Term Memory (LSTM) network into both the actor and critic components.
As illustrated in Figure 1, this enables the networks to process the entire history $h_t = \{o_{1:t}, a_{1:t-1}\}$ rather than a single observation. Key implementation details include:
- Backpropagation Through Time (BPTT): RNNs are trained end-to-end using gradients derived from standard RL loss terms.
- Episode-based Replay: The replay buffer stores complete episodes rather than individual transitions to facilitate the learning of long-term temporal dependencies.
- RSAC-Share: A novel variant where a single recurrent module is shared between the actor and critics, significantly reducing computational overhead.
Experimental Setup
The algorithms were benchmarked across three categories of partially observable domains:
- Sensor Integration: Modified Pendulum and Cartpole tasks where either position or velocity is hidden.
- Memory Tasks:
reacher-pomdp(goal shown only in the first frame) andwatermaze(finding an invisible platform). - Active Exploration: The
push-r-bumptask, where a robot must first scan for a target before interacting with it.
Results and Discussion
Our evaluation revealed several key insights:
- RSAC Robustness: RSAC consistently achieved near-optimal performance across most PO domains, effectively matching non-recurrent baselines that had full state access. Its success is attributed to entropy maximization, which prevents premature convergence and encourages the exploration necessary for the RNN to learn expressive representations.
- Brittleness of Deterministic Methods: RDPG and RTD3 proved surprisingly sensitive, failing even on simpler tasks like
pendulum-p. This highlights the instability of deterministic off-policy methods when combined with recurrence. - Representation Learning: Model-free RL can successfully learn complex temporal representations using only reward signals, without requiring explicit world models or auxiliary tasks.
- Efficiency: The RSAC-Share variant significantly improved training speed without substantial performance degradation, despite the increased correlation between critics.
Conclusion
While recurrent off-policy methods like RSAC provide a powerful baseline for memory-based control, challenges remain. All tested algorithms struggled with the push-r-bump task, indicating that memory alone does not solve the problem of systematic exploration in information-gathering tasks. Future research may benefit from exploring Transformers to better handle long-term dependencies and improve training efficiency through parallelization.
Summary updated