Skip to main content
QUICK REVIEW

[Paper Review] Neural Network Dynamics for Model-Based Deep Reinforcement Learning with Model-Free Fine-Tuning

Anusha Nagabandi, Gregory Kahn|arXiv (Cornell University)|Aug 8, 2017
Reinforcement Learning in RoboticsComputer Science5 citations
TL;DR

This paper proposes a hybrid model-based and model-free reinforcement learning approach that uses a neural network dynamics model trained on just 700,000 random action steps to enable fast, sample-efficient policy learning for locomotion tasks. By initializing a model-free learner with the model-based policy, the method achieves 3–5× sample efficiency gains on MuJoCo benchmarks like swimmer, cheetah, hopper, and ant, while enabling real-time trajectory following with minimal data.

ABSTRACT

Model-free deep reinforcement learning algorithms have been shown to be capable of learning a wide range of robotic skills, but typically require a very large number of samples to achieve good performance. Model-based algorithms, in principle, can provide for much more efficient learning, but have proven difficult to extend to expressive, high-capacity models such as deep neural networks. In this work, we demonstrate that medium-sized neural network models can in fact be combined with model predictive control (MPC) to achieve excellent sample complexity in a model-based reinforcement learning algorithm, producing stable and plausible gaits to accomplish various complex locomotion tasks. We also propose using deep neural network dynamics models to initialize a model-free learner, in order to combine the sample efficiency of model-based approaches with the high task-specific performance of model-free methods. We empirically demonstrate on MuJoCo locomotion tasks that our pure model-based approach trained on just random action data can follow arbitrary trajectories with excellent sample efficiency, and that our hybrid algorithm can accelerate model-free learning on high-speed benchmark tasks, achieving sample efficiency gains of 3-5x on swimmer, cheetah, hopper, and ant agents. Videos can be found at https://sites.google.com/view/mbmf

Motivation & Objective

  • To address the high sample complexity of pure model-free deep reinforcement learning in robotic control.
  • To enable sample-efficient learning in complex, high-dimensional locomotion tasks using neural network dynamics models.
  • To combine the sample efficiency of model-based learning with the high asymptotic performance of model-free methods.
  • To demonstrate feasibility of real-world deployment by training dynamics models on minimal, off-policy data.
  • To provide a practical, data-efficient method for learning robust locomotion gaits in simulation and real-world scenarios.

Proposed method

  • A multi-layer feedforward neural network is trained to model the environment dynamics using only random action rollouts collected off-policy.
  • Model predictive control (MPC) with random-shooting is used at inference time to generate control actions based on the learned dynamics model.
  • The model-based policy is used to initialize a model-free policy via supervised pre-training on rollouts generated by the MPC controller.
  • The initialized policy is then fine-tuned using model-free reinforcement learning (e.g., policy gradients) to improve final performance.
  • Data aggregation techniques are applied during training to improve generalization and stability of the dynamics model.
  • The method is evaluated on MuJoCo locomotion benchmarks including swimmer, half-cheetah, hopper, and ant.

Experimental results

Research questions

  • RQ1Can a neural network dynamics model trained on random, off-policy data enable effective model-based control for complex locomotion tasks?
  • RQ2How does the sample efficiency of the proposed model-based approach compare to pure model-free methods in high-dimensional control tasks?
  • RQ3Can a model-based policy effectively initialize a model-free learner to accelerate convergence while maintaining high final performance?
  • RQ4What design choices—such as data aggregation and MPC formulation—most significantly impact the performance of neural network dynamics models in model-based RL?
  • RQ5To what extent can a single dynamics model be reused across multiple trajectory-following tasks without retraining?

Key findings

  • The model-based approach alone achieved effective gait learning in less than four hours of random action data (7e5 steps), enabling trajectory following across diverse tasks.
  • The hybrid Mb-Mf method achieved 3–5× sample efficiency gains over pure model-free learning on swimmer, cheetah, hopper, and ant agents in MuJoCo benchmarks.
  • For the ant agent, the model-based approach reached a stable walking gait using only 14% of the data required by a pure model-free method.
  • The dynamics model trained on random data was able to generalize to arbitrary trajectory-following tasks at test time without retraining.
  • The model-based controller alone could learn stable gaits quickly, but performance plateaued due to model bias, which was overcome by fine-tuning with model-free methods.
  • The method demonstrated practical feasibility for real-world robotic deployment due to its low data requirements and ability to learn from off-policy rollouts.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.