Fast Approximate Dynamic Programming for Input-Affine Dynamics

Mohamad Amin Sharifi Kolarijani, Peyman Mohajerin Esfahani

Abstract

Dynamic Programming (DP) is a fundamental tool for solving sequential decision-making problems, yet it is often hampered by the "curse of dimensionality" inherent in the Bellman equation. Specifically, the requirement to minimize over the input space at every state point leads to a computational complexity of $O(XU)$. This paper introduces Conjugate Dynamic Programming (CDP), a framework that utilizes the Legendre–Fenchel transform to bypass this bottleneck. By transforming the problem into a dual domain, the minimization operation is replaced by simple addition. For input-affine systems, the proposed algorithms reduce complexity to near-linear $O(X + U)$, offering significant speedups without substantial loss in control performance.

Introduction: The Bellman Bottleneck

Dynamic Programming (DP) is the gold standard for optimal control, providing a recursive way to find the optimal "cost-to-go" function. However, its practical application is limited by the need to solve a minimization problem over all possible control actions $u$ for every state $x$. In a discretized environment with $X$ state points and $U$ input points, a single DP iteration requires $O(XU)$ operations. As the resolution or dimensionality of the system grows, this quadratic scaling becomes computationally prohibitive—a phenomenon known as the "curse of dimensionality."

This research addresses this challenge for a specific but widely applicable class of systems: input-affine dynamics, where the control input enters the state transition equation linearly.

Methodology: Conjugate Dynamic Programming

The core innovation of this work is the Conjugate Dynamic Programming (CDP) framework. Instead of performing the standard minimization in the "primal" domain, the authors leverage the Legendre–Fenchel transform (convex conjugate) to shift the computation into a "dual" domain.

The mathematical insight is that the "infimal convolution"—the operation describing the DP minimization—is dual to simple addition in the conjugate domain. This is analogous to how the Fourier transform converts time-domain convolution into frequency-domain multiplication.

Operational duality in Conjugate Dynamic Programming (CDP) for general (a) and simplified (b) input-affine systems.

The paper details two primary numerical schemes:

  1. d-CDP (Algorithm 1): A general scheme for input-affine dynamics. It utilizes three conjugate transforms and a "Linear-time Legendre Transform" (LLT) to shift complexity from the input space $U$ to a dual state space $Y$.
  2. Modified d-CDP (Algorithm 2): A specialized version for problems with separable costs and state-independent input dynamics ($x^+ = f_s(x) + Bu$). This algorithm achieves the highest efficiency, reducing complexity to $O(X + U + Z)$, where $Z$ is the size of the dual grid.

Key Insights: Breaking the Coupling

The power of CDP lies in its ability to decouple the state and input spaces. In standard DP, every state must be compared against every possible input to find the minimum. CDP breaks this multiplicative coupling:

  • Minimization to Addition: The Bellman operator acts like a Fourier transform for "max-plus" algebra, turning a complex search into a point-wise addition.
  • Convex Envelopes: The CDP operator naturally computes the update for the convex envelope of the cost-to-go function. While this introduces a "duality gap" for non-convex problems, it enables the massive computational gains observed.

Results and Performance

Numerical experiments confirm the theoretical complexity gains. As the grid size $N$ increases, the running time for standard DP and the general d-CDP (Algorithm 1) scales quadratically ($O(N^2)$), while the Modified d-CDP (Algorithm 2) scales linearly ($O(N)$). For a grid size of $N = 41^2$, the Modified d-CDP was nearly 10x faster than the standard approach (187 seconds vs. 1790 seconds) while maintaining virtually identical control performance (average cost of 5.05 vs 5.09). Furthermore, the authors provide rigorous error bounds (Theorems 3.6 and 3.10) quantifying how dual space discretization affects approximation accuracy.

Conclusion and Future Directions

While CDP successfully breaks the multiplicative coupling between state and input spaces, it does not yet resolve the exponential growth associated with the dimension of the state space itself. Furthermore, the reliance on convexity means that for highly non-convex cost functions, the duality gap could lead to sub-optimal policies.

Future work may involve extending these techniques to broader classes of dynamics or exploring "Quantum DP" implementations, as the heavy reliance on conjugate transforms makes these algorithms prime candidates for quantum speedups.

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