NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Deterministic Trajectory Optimization through Probabilistic Optimal Control

Mohammad Mahmoudi Filabadi, Tom Lefebvre, Guillaume CrevecoeurarXiv 2024 · DOI

Abstract

Trajectory optimization (TO) is a fundamental component of modern robotics, yet traditional methods often struggle with highly nonlinear systems and the requirement for manual hyperparameter tuning. This paper introduces a framework that treats deterministic TO as a Maximum Likelihood Estimation (MLE) problem solved via the Expectation-Maximization (EM) algorithm. By integrating sigma-point methods, the authors derive two gradient-free algorithms—SP-PDP and SP-BSC—that automatically balance exploration and exploitation. These methods demonstrate improved convergence speed and numerical stability over standard Differential Dynamic Programming (DDP) variants across several benchmarks, including a 6-DoF industrial manipulator.

Introduction

In robotics, trajectory optimization involves finding a sequence of control inputs that move a system from an initial state to a goal while minimizing a predefined cost function. Differential Dynamic Programming (DDP) and its variants are widely used for this purpose. However, DDP typically requires the computation of first- and second-order derivatives of the system dynamics and cost functions. In complex, "stiff," or non-invertible systems, these calculations can be computationally prohibitive or numerically unstable.

Recent research has explored "derivative-free" DDP, which uses sample points (sigma points) to approximate system behavior. A significant challenge in these methods is the manual selection of exploration noise (covariance). Incorrect tuning leads to either premature convergence to local minima or a failure to converge. This work addresses these issues by framing control as a probabilistic inference problem, providing a principled way to automate exploration.

Probabilistic Optimal Control Framework

The core contribution of this work is the bridge between deterministic control and Probabilistic Optimal Control (POC). The authors transform the deterministic cost into a "risk-sensitive" exponential cost, allowing the control problem to be viewed as an inference task.

Graphical model of the trajectory optimization problem formulated as probabilistic inference.

As shown in the graphical model above, the state $x_t$ and control $u_t$ are treated as variables in a hidden Markov model, where the "observations" $\mathcal{O}_t$ represent the event of being optimal. The goal is to find the control sequence that maximizes the likelihood of these optimality observations. This MLE problem is solved using the Expectation-Maximization (EM) algorithm:

  1. E-Step (Inference): Estimate the posterior density of the trajectory given the costs.
  2. M-Step (Learning): Update the control policy to minimize the Kullback-Leibler (KL) divergence between the current policy and the estimated posterior.

Derivative-Free Implementation

To avoid the need for analytical gradients, the framework utilizes sigma-point integration techniques, such as the Unscented Transform and Fourier-Hermite series. These methods approximate nonlinear dynamics by propagating a small set of strategically chosen sample points through the system.

The authors derive two specific algorithms:

  • Sigma-Point Probabilistic Dynamic Programming (SP-PDP): Utilizes a standard backward-pass for value function estimation followed by a forward-pass for trajectory rollout.
  • Sigma-Point Bayesian Smoothing Control (SP-BSC): Employs a forward-filtering, backward-smoothing architecture. Notably, SP-BSC allows the policy to begin updating during the forward pass, leading to significant computational gains.

Experimental Results

The algorithms were evaluated on three benchmarks of increasing complexity: a pendulum swing-up, a cart-pole swing-up, and a 6-DoF industrial robot motion planning task.

Performance and Efficiency

In the 6-DoF robot experiment, SP-BSC demonstrated a dramatic improvement in computational efficiency. While the baseline sigma-point DDP (SP-DP) required approximately 32.5 seconds per iteration, SP-BSC achieved the same update in just 1.9 seconds. Furthermore, the probabilistic framework showed superior convergence rates, reaching lower cost values faster than traditional methods.

Automatic Exploration and Robustness

A key advantage of the EM-based approach is the automatic tuning of the policy covariance. The algorithm starts with a large search space to explore the environment and naturally shrinks the covariance as it converges on an optimal path. This intrinsic regularization prevents the "wild" updates that often cause numerical instability in standard DDP.

Conclusion

By reframing trajectory optimization as probabilistic inference, this research provides a robust, derivative-free framework for robotic motion planning. The resulting SP-PDP and SP-BSC algorithms eliminate the need for manual noise tuning and offer significant speedups for high-dimensional systems. Future work will focus on incorporating hard constraints and extending the framework to real-time Model Predictive Control (MPC) on physical hardware.

Summary updated

BibTeX
@misc{filabadi2024deterministic,
  author = {Mohammad Mahmoudi Filabadi and Tom Lefebvre and Guillaume Crevecoeur},
  title = {{Deterministic Trajectory Optimization through Probabilistic Optimal Control}},
  year = {2024},
  eprint = {2407.13316},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.13316},
}
Figure