Solving Complex Manipulation Tasks with Model-Assisted Model-Free Reinforcement Learning

Jianshu Hu, Paul WengCoRL 2022

Abstract

In this paper, we propose a novel deep reinforcement learning approach for improving the sample efficiency of a model-free actor-critic method by using a learned model to encourage exploration. The proposed MAMF (Model-Assisted Model-Free) framework combines optimistic critic initialization with a dual-filtering system for imaginary transitions, achieving state-of-the-art performance on complex robotic manipulation tasks such as egg catching and pen spinning.

Introduction

Deep Reinforcement Learning (DRL) has immense potential for robotics, but it faces two major hurdles: sample efficiency and stability. Model-free methods, such as Twin Delayed Deep Deterministic Policy Gradient (TD3), are generally more stable but require millions of interactions with the environment to learn, which is impractical for real-world robots. Conversely, model-based methods are faster because they learn a "world model" to predict outcomes, but they often suffer from model bias—if the learned model is slightly inaccurate, the agent learns incorrect behaviors based on "hallucinated" physics.

This work introduces MAMF, a framework that seeks a middle ground: using a learned model to accelerate a model-free agent without letting model inaccuracies lead the agent astray. By allowing agents to "explore" inside a learned dynamics model, MAMF significantly boosts sample efficiency while maintaining the stability of model-free approaches.

Methodology

The MAMF framework builds upon the TD3 algorithm, introducing three key components to enhance exploration and efficiency:

  1. Optimistic Initialization: At the start of training, the "critic" (the component estimating future rewards) is initialized with a high bias. Following the "optimism in the face of uncertainty" principle, this encourages the agent to explore unknown actions under the assumption they might lead to high rewards.
  2. Imaginary Exploration: The agent utilizes a learned dynamics model to generate "imaginary transitions." By applying noisy actions to states from real experience, the agent can "practice" in a simulated environment, discovering high-value targets safely without risking real-world hardware crashes.
  3. Dual Filtering: To mitigate model bias, MAMF applies two filters to imaginary transitions before using them to update the critic:
  4. Quality Filter: Retains only transitions that predict a higher value than real transitions, focusing the agent on potentially superior strategies.
  5. Uncertainty Filter: Prioritizes transitions with high disagreement (uncertainty) between the two TD3 critics, forcing the agent to improve its estimates where it is most confused.

Experimental Evaluation

The researchers evaluated MAMF on standard MuJoCo benchmarks (HalfCheetah, Hopper, Walker) and the more challenging Dexterous Gym suite. These manipulation tasks involve complex, contact-rich interactions and high-dimensional action spaces that are notoriously difficult for standard RL agents.

Complex manipulation tasks in Dexterous Gym: (a) EggCatchUnderarm, (b) EggCatchOverarm, and (c) PenSpin.

Results and Discussion

MAMF outperformed standard TD3 and other model-assisted baselines (like MVE-TD3) across almost all tasks. Notably, in the difficult EggCatchUnderarm task, MAMF achieved higher final rewards with significantly lower variance, demonstrating improved stability across training runs. The agent reached high performance levels much faster than pure model-free methods, making it a more viable candidate for real-world robotics where every second of "on-robot" time is expensive.

Ablation studies revealed that the components of MAMF are synergistic; they work best in combination to overcome model bias. The authors hypothesize that the method's success stems from its ability to exploit "action independence" in complex tasks—helping the agent identify which parts of the action space are currently irrelevant to the outcome.

Conclusion and Future Work

While MAMF significantly improves sample efficiency in complex manipulation, some limitations remain. The high initialization of the critic currently relies on heuristics, and exploration strategies are limited to simple Gaussian noise. Future work will explore more sophisticated exploration methods, such as curiosity-driven strategies, and address the sim-to-real gap through techniques like domain randomization to transition these results to physical robotic hardware.

Summary updated

BibTeX
@inproceedings{hu2022solving,
  author = {Jianshu Hu and Paul Weng},
  title = {{Solving Complex Manipulation Tasks with Model-Assisted Model-Free Reinforcement Learning}},
  booktitle = {Conference on Robot Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=jtMs38Uzd1z},
}
Figure