Introduction
In the field of reinforcement learning (RL), most successful agents are trained within Markov Decision Processes (MDPs), where the current observation provides all necessary information for decision-making. However, real-world robotics often operates in Partially Observable MDPs (POMDPs). In these environments, agents must rely on memory to recall past events—such as the velocity of a hidden object or the status of a multi-stage sequence—to act correctly.
Furthermore, RL faces significant challenges in environments with sparse rewards. While Reinforcement Learning from Demonstrations (RLfD) can accelerate learning by providing a "head start," most existing RLfD methods assume full observability. This paper introduces READER (Recurrent Actor-Critic with Demonstration and Experience Replay), an algorithm designed to bridge this gap by enabling memory-dependent continuous control from human demonstrations.
The READER Framework
READER integrates several key architectural innovations to handle partial observability and sparse rewards:
- Recurrent Architecture: By utilizing Long Short-Term Memory (LSTM) units, the agent encodes the history of observations into a hidden state, effectively maintaining a memory of past interactions.
- Stochastic Recurrent Dueling Network (SRDN): This novel value network architecture separately estimates state values and action advantages, specifically adapted for recurrent processing to improve stability in continuous control.
- Dual Replay Buffers: The system maintains a "demonstration buffer" for human data and an "experience buffer" for self-exploration. This allows the agent to balance imitation with autonomous learning.
- Handling Unknown Policies: Since human demonstrator policies are unknown, READER employs a one-step $Q^0$ estimator for demonstration data while using Retrace($\lambda$) for its own experience, ensuring mathematically sound off-policy updates.
- Prioritized Episodic Replay: Instead of sampling individual time steps, READER samples entire episodes based on their "surprise" factor (TD-error), focusing the agent's attention on the most informative sequences.
Experimental Evaluation
The authors evaluated READER across three simulated tasks requiring memory: POMountainCarContinuous (where velocity is hidden), SequentialReach (reaching three targets in a specific, unindicated order), and SequentialTouch (a complex 3D humanoid task).
Key Findings and Results
Learning from Sub-optimal Demonstrations
A significant finding is that READER does not require expert-level demonstrations to succeed. In the Mountain Car task, an agent provided with a "clumsy" human demonstration (e.g., unnecessary circling) eventually learned a policy that outperformed the human. As shown in Figure 6(c), the agent's return surpassed the demonstration performance by extracting the underlying reward structure rather than blindly mimicking movements.
Sample Efficiency and Scaling
READER demonstrated superior sample efficiency compared to recurrent baselines like RDPGfD. In the POMountainCar task, pure RL agents failed to find the goal entirely, whereas READER reached near-optimal performance with just a single demonstration.
In more complex tasks like SequentialReach, the algorithm showed clear scaling benefits. Increasing the number of demonstrations from 1 to 64 significantly boosted the success rate, proving that READER effectively leverages larger datasets to solve long-horizon, memory-dependent tasks.
Conclusion
READER provides a robust framework for training RL agents in realistic, partially observable environments. By combining recurrent architectures with prioritized replay of both demonstrations and self-exploration, it overcomes the limitations of standard MDP-based RLfD. Future work may involve incorporating model-based RL to allow for "mental simulations," further reducing the need for physical interactions in sensitive real-world applications.
Summary updated