Skip to main content
QUICK REVIEW

[Paper Review] From Pixels to Torques: Policy Learning with Deep Dynamical Models

Niklas Wahlström, Thomas B. Schön|arXiv (Cornell University)|Feb 8, 2015
Reinforcement Learning in RoboticsComputer Science33 references79 citations
TL;DR

This paper proposes a data-efficient, model-based reinforcement learning algorithm that learns closed-loop control policies directly from pixel observations using a deep dynamical model (DDM). The DDM jointly learns a low-dimensional image embedding via deep autoencoders and a predictive transition model in the latent space, enabling accurate long-term trajectory predictions. These predictions are used by an adaptive model predictive controller (MPC) to generate optimal torques in real time, achieving near-optimal performance in just 15 trials—demonstrating a significant step toward end-to-end autonomous learning from pixels to torques.

ABSTRACT

Data-efficient learning in continuous state-action spaces using very high-dimensional observations remains a key challenge in developing fully autonomous systems. In this paper, we consider one instance of this challenge, the pixels to torques problem, where an agent must learn a closed-loop control policy from pixel information only. We introduce a data-efficient, model-based reinforcement learning algorithm that learns such a closed-loop policy directly from pixel information. The key ingredient is a deep dynamical model that uses deep auto-encoders to learn a low-dimensional embedding of images jointly with a predictive model in this low-dimensional feature space. Joint learning ensures that not only static but also dynamic properties of the data are accounted for. This is crucial for long-term predictions, which lie at the core of the adaptive model predictive control strategy that we use for closed-loop control. Compared to state-of-the-art reinforcement learning methods for continuous states and actions, our approach learns quickly, scales to high-dimensional state spaces and is an important step toward fully autonomous learning from pixels to torques.

Motivation & Objective

  • To address the challenge of data-inefficient policy learning in continuous state-action spaces when only high-dimensional pixel observations are available.
  • To close the perception-action-learning loop autonomously, without relying on engineered or low-dimensional state representations.
  • To develop a scalable, model-based RL framework that learns from raw images and enables fast, adaptive control via long-horizon predictions.
  • To achieve high sample efficiency in real-world robotic control tasks, minimizing the number of costly trials.

Proposed method

  • A deep dynamical model (DDM) is trained end-to-end to jointly learn a low-dimensional feature representation of images via a deep autoencoder and a predictive transition model in the latent space.
  • The encoder maps high-dimensional pixel inputs to a compact latent representation (z_t), while the decoder reconstructs the input image, minimizing reconstruction error.
  • The predictive model in the latent space forecasts future states using a multi-layer feedforward neural network, trained to minimize prediction error over long horizons.
  • An adaptive model predictive control (MPC) strategy uses the DDM’s predictions to compute optimal control actions (torques) online, without value function estimation.
  • The DDM is trained using a joint objective that balances both reconstruction and prediction errors, ensuring the latent space captures dynamic as well as static data properties.
  • The system operates in a closed-loop manner: after each trial, the DDM is retrained with all collected data, including the reference image, to improve future predictions and control performance.

Experimental results

Research questions

  • RQ1Can a joint learning framework for representation and dynamics in a low-dimensional latent space enable data-efficient policy learning from raw pixel inputs?
  • RQ2How well can a deep dynamical model with joint feature and prediction learning generalize to long-horizon predictions in high-dimensional observation spaces?
  • RQ3Does MPC based on such a DDM outperform value-based or separate feature-dynamics learning approaches in sample efficiency and control performance?
  • RQ4Can the method achieve near-optimal control performance in continuous robotic control tasks with minimal interaction trials, even without access to ground-truth state information?
  • RQ5What is the impact of joint vs. separate learning of autoencoder and predictive models on long-term prediction accuracy and control success?

Key findings

  • The proposed DDM+MPC method achieved a success rate of nearly 90% after 15 trials (1,500 image frames), demonstrating strong data efficiency in the pendulum control task.
  • The method outperformed PILCO when using 2D autoencoder features, which failed due to poor dynamic modeling—highlighting the importance of joint learning of representation and dynamics.
  • PILCO with 20D PCA features and 2D autoencoder features failed consistently, while the DDM+MPC method succeeded, indicating that joint optimization of representation and dynamics is crucial for long-term prediction.
  • The DDM learned a circular structure in the latent space that enabled simple, accurate modeling of dynamic behavior, which would not have emerged from separate training of autoencoder and predictor.
  • The method scaled effectively to high-dimensional observations and enabled real-time online control with minimal computational overhead during policy execution.
  • The approach achieved near-optimal performance comparable to a PILCO baseline using ground-truth 2D state (ϕ, ˙ϕ), despite relying solely on pixel inputs and no state information.

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.