Skip to main content
QUICK REVIEW

[Paper Review] Prediction and Control with Temporal Segment Models

Nikhil Mishra, Pieter Abbeel|arXiv (Cornell University)|Mar 12, 2017
Gaussian Processes and Bayesian InferenceComputer Science21 references22 citations
TL;DR

This paper proposes a deep generative model that predicts entire future state trajectories over temporal segments, conditioned on past states, past actions, and planned future actions, using variational autoencoders with a latent action prior. The method enables stable, long-horizon predictions in complex, stochastic systems by modeling uncertainty holistically over segments, outperforming one-step models in trajectory optimization and model-based control tasks.

ABSTRACT

We introduce a method for learning the dynamics of complex nonlinear systems based on deep generative models over temporal segments of states and actions. Unlike dynamics models that operate over individual discrete timesteps, we learn the distribution over future state trajectories conditioned on past state, past action, and planned future action trajectories, as well as a latent prior over action trajectories. Our approach is based on convolutional autoregressive models and variational autoencoders. It makes stable and accurate predictions over long horizons for complex, stochastic systems, effectively expressing uncertainty and modeling the effects of collisions, sensory noise, and action delays. The learned dynamics model and action prior can be used for end-to-end, fully differentiable trajectory optimization and model-based policy optimization, which we use to evaluate the performance and sample-efficiency of our method.

Motivation & Objective

  • To address the instability and error accumulation in one-step dynamics models when predicting over long horizons.
  • To model uncertainty and complex interactions—such as collisions and sensory noise—holistically over entire temporal segments rather than individual timesteps.
  • To improve sample efficiency and generalization in model-based reinforcement learning by learning a latent prior over action trajectories consistent with the training data.
  • To enable end-to-end differentiable trajectory and policy optimization using a fully differentiable, generative dynamics model.
  • To demonstrate that segment-based modeling yields more accurate and robust predictions than standard one-step models in stochastic and nonlinear environments.

Proposed method

  • The method uses a variational autoencoder (VAE) to model the conditional distribution of future state trajectories given past states, past actions, and planned future actions.
  • It introduces a separate VAE to learn a latent prior over action segments, ensuring that optimized actions remain within the distribution of the training data.
  • The model is trained using a combination of reconstruction loss and KL divergence, enabling disentangled, meaningful latent representations that encode uncertainty.
  • The framework supports end-to-end backpropagation through both the dynamics model and the action prior, enabling differentiable trajectory optimization.
  • It leverages convolutional autoregressive networks to model temporal dependencies across state and action segments efficiently.
  • The approach explicitly conditions on future action sequences, allowing for predictive planning with uncertainty-aware state distributions.

Experimental results

Research questions

  • RQ1Can modeling entire future state trajectories over temporal segments improve long-horizon prediction accuracy compared to one-step models?
  • RQ2How does a latent action prior improve the consistency and performance of control policies in model-based reinforcement learning?
  • RQ3To what extent can a segment-based generative model capture uncertainty due to stochastic dynamics, collisions, and sensory noise?
  • RQ4Does the use of a latent action prior reduce the distributional shift between training and inference actions, improving real-world policy transfer?
  • RQ5Can this framework enable more sample-efficient and stable policy optimization in complex robotic environments?

Key findings

  • The proposed method achieves significantly more accurate long-horizon predictions than one-step models, particularly in environments with stochastic dynamics and collisions.
  • The model effectively captures uncertainty in state trajectories, such as deflection angles and post-collision motion, as shown in qualitative samples from the pushing environment.
  • The use of a latent action prior results in smoother, more realistic action sequences during optimization, avoiding the sharp, discontinuous actions that lead to poor real-world performance.
  • Trajectory optimization with the latent action prior yields higher rewards in the real environment, demonstrating reduced discrepancy between model predictions and true dynamics.
  • The model learns a meaningful latent space that expresses uncertainty—using the latent code to represent different plausible futures even in deterministic but complex systems.
  • The method enables end-to-end differentiable optimization for both trajectory and policy learning, demonstrating its utility in model-based reinforcement learning.

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.