Abstract
Deep Reinforcement Learning (RL) often struggles with exploration in environments with sparse rewards. This paper introduces a hybrid approach that combines the model-free Deep Deterministic Policy Gradient (DDPG) algorithm with a model-based latent trajectory optimizer. Instead of relying on undirected random noise, the agent plans short-term exploratory paths in a learned latent space using a dynamics model and a gradient-based optimizer. This "informed" exploration allows the agent to discover successful strategies more efficiently. Evaluations on the DeepMind Control Suite and a real-world Baxter robot task show that the proposed method significantly outperforms standard DDPG in both learning speed and final success rates.
Introduction
Standard deterministic RL algorithms like DDPG typically rely on adding random noise (e.g., Gaussian or Ornstein-Uhlenbeck noise) to actions to encourage exploration. However, such "jittering" is highly inefficient for complex tasks where rewards are sparse, such as robotic peg-in-hole insertion. In these scenarios, random movements are unlikely to reach the goal state. This research addresses the need for proactive, informed exploration where the agent leverages its current world model to search for high-reward trajectories.
Methods
The proposed architecture integrates three core components to facilitate efficient exploration:
- Latent Image Embedding: High-dimensional visual input is mapped into a low-dimensional latent space using Time-Contrastive Networks (TCN). This ensures that states close in time are represented closely in the embedding, providing a manageable state space.
- Latent Dynamics Model: A neural network is trained to predict the next latent state given the current state and action, allowing the agent to simulate future outcomes.
- Trajectory Optimization: Rather than adding random noise, the agent uses the dynamics model to "unroll" potential trajectories several steps into the future. A gradient-based optimizer (L-BFGS) then adjusts these future actions to maximize the expected reward based on the current critic's evaluation.
This symbiosis allows the model-free agent to provide a "sense of value" (the critic), while the model-based planner uses that value to guide exploration. As the critic improves, the exploration becomes increasingly targeted.
Experimental Setup
The algorithm was evaluated on two primary benchmarks:
- DeepMind Control Suite (Cheetah): A simulation task requiring a bipedal agent to learn running behaviors directly from pixel data.
- Real-World Baxter Robot: A physical task where a robot must insert a suspended blue cylinder into a tube. This task features complex swinging dynamics and highly sparse rewards.
Key Results
The optimized exploration strategy demonstrated clear advantages over traditional methods. In the Cheetah simulation, the agent reached higher cumulative rewards significantly faster than standard DDPG with OU noise.
On the real-world Baxter robot, the proposed method achieved a 93.2% success rate with a 1-step planning horizon, a substantial improvement over the 75.2% success rate of the baseline DDPG. Interestingly, the researchers found that shorter planning horizons (1–3 steps) were often more effective than longer ones (e.g., 15 steps), as errors in the learned dynamics model tend to accumulate and lead to "hallucinated" rewards.
Discussion and Future Work
While effective, the method's performance is heavily dependent on the accuracy of the latent dynamics model. Inaccurate models can lead to suboptimal or risky exploration. Additionally, the computational cost of running an optimizer like L-BFGS within the training loop is higher than simple noise injection. Future research will focus on incorporating safety constraints and curiosity-driven novelty into the optimizer, as well as exploring probabilistic dynamics models to better account for environmental uncertainty.
Summary updated