Pub-AI: AI in Science

Latent Dynamics · 2018-11-12

Learning Latent Dynamics for Planning from Pixels

Danijar Hafner, Timothy Lillicrap, Ian Fischer, Ruben Villegas, David Ha, Honglak Lee, James Davidson

arXiv:1811.04551PDFProject page

Auto-summarized: this summary was generated by a language model from the paper’s text and has not been reviewed by an editor. Check the paper before relying on it. Benchmark numbers appear only after a human has verified them.

TL;DR

PlaNet learns a latent dynamics model from images and chooses actions by fast online planning in latent space, using a model with both deterministic and stochastic transition parts and a multi-step 'latent overshooting' training objective.

Why it matters

Showed that planning with a learned pixel-based model can solve continuous-control tasks with contact dynamics, partial observability and sparse rewards, reaching performance close to strong model-free agents with far fewer episodes. Its latent dynamics model is the same one Dreamer reuses.

Method

  • Recurrent state-space model: latent dynamics with a deterministic path and a stochastic path.
  • Latent overshooting: a variational objective that also trains multi-step predictions, in latent space only.
  • Acts by online planning in latent space; no policy network is learned.

Lineage

Abstract (from arXiv)

Planning has been very successful for control tasks with known environment dynamics. To leverage planning in unknown environments, the agent needs to learn the dynamics from interactions with the world. However, learning dynamics models that are accurate enough for planning has been a long-standing challenge, especially in image-based domains. We propose the Deep Planning Network (PlaNet), a purely model-based agent that learns the environment dynamics from images and chooses actions through fast online planning in latent space. To achieve high performance, the dynamics model must accurately predict the rewards ahead for multiple time steps. We approach this using a latent dynamics model with both deterministic and stochastic transition components. Moreover, we propose a multi-step variational inference objective that we name latent overshooting. Using only pixel observations, our agent solves continuous control tasks with contact dynamics, partial observability, and sparse rewards, which exceed the difficulty of tasks that were previously solved by planning with learned models. PlaNet uses substantially fewer episodes and reaches final performance close to and sometimes higher than strong model-free algorithms.

Related papers