A Primal-Dual Method for Optimal Control and Trajectory Generation in High-Dimensional Systems

Matthew R. Kirchner, Gary A. Hewer, Jérôme Darbon, Stanley J. Osher

TL;DR

This paper introduces a grid-free, primal-dual proximal splitting method to solve the Hamilton–Jacobi (HJ) equation for high-dimensional optimal control. By leveraging the generalized Hopf formula, the authors transform a complex partial differential equation (PDE) into a convex optimization problem that scales polynomially—rather than exponentially—with system dimensions, enabling real-time trajectory generation for systems with over 100 variables.

What Problem Does This Paper Address?

In control theory, the Hamilton–Jacobi equation is the "gold standard" for establishing optimal control policies. However, it suffers from the "curse of dimensionality." Traditional numerical solvers rely on discrete grids; as the number of state variables (dimensions) increases, the number of grid points grows exponentially. Consequently, these methods are usually limited to systems with fewer than four or five dimensions.

Furthermore, many real-world problems involve time-dependent Hamiltonians (where the system's "energy" or constraints change over time). Existing fast methods often struggle with these or require explicit gradients of the objective function, which aren't always available for non-smooth control problems.

Methods

The authors bypass the grid entirely by using the generalized Hopf formula, which provides a point-wise viscosity solution to the HJ equation.

  1. Optimization Reformulation: They transform the HJ PDE into an unconstrained convex optimization problem.
  2. Primal-Dual Proximal Splitting: They apply a primal-dual algorithm (specifically the Chambolle-Pock approach) to solve the Hopf formula. This method is particularly robust for "non-smooth" optimization—common in control problems where inputs are capped (e.g., a motor's maximum torque).
  3. Quadrature Integration: To handle time-varying systems, they approximate the Hamiltonian integral using a Riemann sum, which allows the problem to be structured as a "separable sum" of proximal operators.
  4. Parallelization: Because the proximal operators for each time step are independent, the algorithm can be massively parallelized on multi-core CPUs or FPGAs.
  5. Direct Trajectory Generation: They demonstrate that the optimal trajectory can be extracted directly from the gradient of the Hopf formula's solution, avoiding the need for a separate, secondary optimization step.

Datasets

As a theoretical and algorithmic paper in control engineering, it does not use standard "big data" sets. Instead, it evaluates the method on three benchmark control scenarios:

  • Double Integrator: A classic 2D physics problem (position and velocity) used to validate accuracy against known closed-form solutions.
  • Unscented Optimal Control: A 10D problem where the system must be robust to uncertainty in initial conditions.
  • High-Dimensional Scaling Test: Synthetic linear systems ranging from 30 to 120 dimensions to measure computational scaling.

Key Insights and Ideas

  • PDE to Optimization: The most powerful idea is that for a specific class of Hamiltonians, solving a PDE at a specific point doesn't require knowing the solution at every other point on a grid. You can just solve one optimization problem for the point you care about.
  • Polynomial Scaling: Unlike grid-based methods that explode exponentially, this method scales approximately quadratically ($O(d^2)$) with the dimension $d$. This makes 100+ dimensional control feasible on a standard laptop.
  • Robustness via Augmentation: By using the "Unscented Transform" (borrowed from Kalman filtering), they can treat uncertainty as extra dimensions. Because their method handles high dimensions so well, they can solve for a "mean" optimal control that is robust to random perturbations.

Key Results

  • Speed: For a 2D double integrator, the solution took roughly 2.1 milliseconds per point.
  • High-Dimensional Performance: In the scaling experiments, a 120-dimensional system was solved in approximately 12 milliseconds.
  • Empirical Complexity: The authors fitted a curve to their results, finding the computational time followed the formula $t \approx 2.38 \times 10^{-4}d^2 + 0.0414d + 2.598$. The extremely small quadratic coefficient highlights the efficiency of the primal-dual approach.
  • Robustness: In the unscented control example, the method reduced the number of "failed" trajectories (those missing the goal due to uncertainty) from 34% to just 5%.

Limitations and Future Work

  • Linear Dynamics: The current formulation focuses on linear state-space models. While many systems can be linearized, extending this to inherently non-linear dynamics remains a challenge.
  • Quadrature Accuracy: The use of a simple Riemann sum for integration is efficient but could be improved with more advanced methods like Simpson’s rule or pseudospectral approximations for higher precision.
  • Step Size: The algorithm currently uses fixed step sizes; the authors suggest that adaptive step sizes could further accelerate convergence.
  • State-Dependent Hamiltonians: Future work aims to tackle systems where the Hamiltonian depends directly on the state, which adds significant complexity to the Hopf formula.

Summary updated

BibTeX
@inproceedings{kirchner2018primal,
  author = {Matthew R. Kirchner and Gary A. Hewer and Jérôme Darbon and Stanley J. Osher},
  title = {{A Primal-Dual Method for Optimal Control and Trajectory Generation in High-Dimensional Systems}},
  booktitle = {CCTA},
  year = {2018},
  doi = {10.1109/ccta.2018.8511584},
}
Figure