Presented at AAAI-20, this research introduces Deterministic Value-Policy Gradients (DVPG), a hybrid reinforcement learning (RL) framework designed to bridge the gap between model-free and model-based methods for continuous control. By ensembling model-based deterministic value gradients with model-free policy gradients, DVPG addresses the high sample complexity typically associated with model-free methods while mitigating the bias inherent in finite-horizon model-based approaches.
The Challenge of Sample Efficiency
Deep Reinforcement Learning, particularly the Deep Deterministic Policy Gradient (DDPG) algorithm, has achieved significant success in continuous control tasks. However, as a model-free method, DDPG ignores the underlying transition logic of the environment, resulting in high sample complexity—often requiring millions of interactions for relatively simple tasks.
Conversely, model-based methods learn transition and reward models to compute "Value Gradients" via backpropagation. Historically, these methods have focused on finite horizons, leading to myopic and biased policies. Furthermore, theoretical foundations for deterministic value gradients in infinite-horizon settings with deterministic transitions were previously underdeveloped.
Methodology: The DVPG Framework
The authors propose two primary contributions to address these limitations:
- Theoretical Foundation: They prove the existence of deterministic value gradients in infinite-horizon settings under specific conditions (e.g., finite state visitation or specific discount factors) and derive a closed-form expression for these gradients.
- The DVPG Algorithm:
- DVG(k) Estimators: The framework defines a class of estimators where the gradient is "rolled out" through a learned model for $k$ steps.
- Temporal Difference Ensembling: Inspired by $TD(\lambda)$, the algorithm ensembles these gradients. It combines the model-free gradient ($k=0$) with various model-based rollouts ($k=1, 2, ...$) using a geometric decay weight $\lambda$.
- Bias-Variance Balancing: This ensemble approach leverages the efficiency of long model rollouts while using shorter rollouts or model-free components to mitigate the compounding errors of inaccurate learned models.
Key Insights and Ideas
- Infinite vs. Finite Horizon: The research demonstrates that an infinite-horizon perspective is crucial for complex tasks. In the HumanoidStandup environment, the infinite-horizon DVG significantly outperformed the finite-horizon version ($DVG_F$), suggesting that bootstrapping prevents short-sighted agent behavior.
- Unifying DDPG and DVG: A conceptual breakthrough is the realization that standard DDPG is a special case of this framework where the rollout length $k$ is zero.
- The Role of the Discount Factor ($\gamma$): Beyond discounting rewards, $\gamma$ controls the convergence of recursive gradient calculations. The authors identified $\gamma = 0.95$ as a "sweet spot" for balancing stability and foresight.
- Stability through Ensembling: While long rollouts (e.g., $k=5$) can become unstable due to propagated model errors, the ensembling technique in DVPG acts as a stabilizer, allowing the agent to benefit from model information without being led astray by inaccuracies.
Key Results
The researchers evaluated DVPG on the MuJoCo simulator across several benchmarks, including InvertedPendulum-v2, Hopper-v2, HalfCheetah-v2, and high-dimensional tasks like Humanoid-v2.
- Superior Sample Efficiency: Across all tasks, DVPG achieved higher rewards with fewer environment samples than DDPG and SVG(1).
- Performance in Complex Tasks: On the highly complex Humanoid-v2 task, DVPG achieved a return of approximately 1000, while the model-free DDPG struggled to reach 500 within the same timeframe.
- Robustness: In environments like Hopper-v2, where pure 5-step rollouts (DVG(5)) became unstable, the ensembled DVPG remained stable and achieved peak performance.
Limitations and Future Work
Despite its success, the algorithm introduces new hyperparameters, such as the ensemble weight $\lambda$, which may require tuning for different domains. Additionally, the current theory assumes deterministic transitions; extending this to the stochastic environments common in real-world robotics remains a key area for future research. The authors suggest that temporal difference gradient ensembling could potentially enhance other model-free algorithms beyond DDPG.
Summary updated