Fast Approximate Dynamic Programming for Input-Affine Dynamics

Mohamad Amin Sharifi Kolarijani, Peyman Mohajerin Esfahani

Abstract

Dynamic Programming (DP) is often computationally prohibitive for continuous control problems due to the need for exhaustive action-space searches. This paper introduces a "Conjugate DP" (CDP) approach that utilizes the Legendre-Fenchel transform to convert costly optimization steps into simple additions in a dual mathematical space. For input-affine systems, this method reduces computational complexity from quadratic to linear, significantly accelerating the calculation of optimal control policies.

Introduction

Dynamic Programming remains the gold standard for optimal control, yet it suffers from the "curse of dimensionality." When state and action spaces are discretized into grids of size $X$ and $U$ respectively, standard value iteration requires $O(X \times U)$ evaluations. This research addresses this bottleneck for systems with input-affine dynamics—where the next state depends linearly on the control input—by bypassing the exhaustive search over the action space.

The Conjugate DP Framework

The authors propose shifting the optimization from the "primal" domain to a "dual" domain. In the primal domain, the DP minimization step resembles an infimal convolution. By applying the Legendre-Fenchel transform (convex conjugate), this convolution is transformed into a point-wise addition in the dual space. This is mathematically analogous to how a Fourier transform simplifies standard convolution into multiplication.

Commutative diagrams for the general Conjugate DP (a) and the modified version for separable costs (b).

Two primary algorithmic paths are developed:

  1. d-CDP (Discrete Conjugate DP): This algorithm transforms the minimization over the input space $U$ into an addition in a dual state space $Y$. Utilizing the Linear-time Legendre Transform (LLT), the complexity drops to $O(X \times Y)$.
  2. Modified d-CDP: For systems with separable costs (state cost + input cost) and state-independent input dynamics, the authors use approximate discrete conjugation and multilinear interpolation (LERP) to decouple state and input computations entirely, reaching $O(X + U)$ complexity.
Summary of notation and definitions used in the Conjugate DP framework.

Empirical Validation

The algorithms were tested on several synthetic control environments, including a 2D linear system, an epidemic vaccination model (SIR), and a noisy inverted pendulum.

  • Computational Speedup: In the noisy inverted pendulum task, the standard DP algorithm required 281.2 seconds. The proposed d-CDP algorithm solved the same problem in just 9.3 seconds.
  • Resolution Improvements: On a 2D linear system, the modified d-CDP allowed for a significantly finer grid ($41^2$ points) in the same time standard DP took to solve a coarse grid ($11^2$ points), without sacrificing policy quality.

Limitations and Future Work

While the scaling rate improves from multiplicative to additive, the absolute grid sizes still grow exponentially with the number of dimensions. Additionally, the fast LLT algorithm requires grid-like discretizations, which may not suit all state-space geometries. Future work may involve combining this framework with Quantum Legendre-Fenchel transforms or higher-order piece-wise quadratic approximations to further reduce errors.

Conclusion

By leveraging conjugate duality, the Conjugate DP framework provides a mathematically elegant and computationally efficient alternative to traditional DP. For input-affine systems, the transition to linear-time complexity offers a viable path toward solving higher-resolution optimal control problems that were previously computationally intractable.

Summary updated

BibTeX
@article{kolarijani2023fast,
  author = {Mohamad Amin Sharifi Kolarijani and Peyman Mohajerin Esfahani},
  title = {{Fast Approximate Dynamic Programming for Input-Affine Dynamics}},
  journal = {IEEE Trans. Automatic Control},
  year = {2023},
  doi = {10.1109/tac.2022.3232637},
}
Figure