Differential Dynamic Programming, iLQR, HDDP and Sensitivity-Based Methods
Author: Tianjiang Shuo
Website: https://cislunarspace.cn
Definition
Differential Dynamic Programming (DDP) and the iterative Linear Quadratic Regulator (iLQR) are trajectory optimization algorithms: a Taylor expansion of the dynamics and cost is built around a nominal trajectory , and a forward pass evaluates the trajectory while a backward sweep solves stage-wise local quadratic subproblems, iteratively refining the control correction until convergence. They reduce Bellman's dynamic programming from a high-dimensional state space to a one-dimensional recursion along the trajectory, and are the main alternative to direct collocation for continuous low-thrust optimal control (Mayne 1966; Jacobson & Mayne 1970; Todorov & Li 2005).
Cislunar implementations include HDDP (Hybrid DDP, Lantoine & Russell 2012; Aziz et al. 2019), AL-iLQR (Augmented Lagrangian iLQR, Cuevas del Valle et al. 2022), and MDDP (Multiple-shooting DDP, Pellegrini & Russell). These algorithms solve low-thrust transfers between DRO ↔ DRO, Lyapunov ↔ Lyapunov, and Halo ↔ Halo in the CR3BP.
Algorithm Structure: Forward + Backward
Discretize the trajectory into stages with transition and cost
Forward pass: with the current control guess , integrate the dynamics to obtain and accumulate cost.
Backward sweep: propagate Taylor coefficients of the value function backward from the terminal time. DDP keeps second order (including ); iLQR uses only first order (replacing by and dropping second-order dynamics derivatives). Each stage yields the local quadratic subproblem
with solution (the first term is an open-loop correction, the second a time-varying feedback gain). The difference between iLQR and DDP lies in how is computed: iLQR does not evaluate second-order dynamics derivatives such as , which is lighter in implementation.
Convergence criteria: feasibility (constraint residual ) plus optimality (gradient norm ), typically , (Aziz et al. 2019).
HDDP: Augmented Lagrangian + Trust Region
Standard DDP handles only unconstrained, fixed-endpoint problems. HDDP (Lantoine & Russell) adjoins terminal constraints with both Lagrange multipliers and a quadratic penalty, forming the augmented Lagrangian
with penalty matrix . Multipliers are updated externally as ; is held constant (unlike the classical practice of growing the penalty), and tuned by hand based on iteration progress.
To prevent divergence from oversized updates, HDDP enforces a trust region at every stage, turning each subproblem into a trust-region quadratic program (TRQP). The scaling matrix shapes the trust region; when components of the control vary widely in magnitude (e.g. thrust magnitude vs angles) a non-identity is essential (Lantoine & Russell 2012 suggest several scaling strategies).
AL-iLQR: Constrained First-Order Variant
AL-iLQR (Cuevas del Valle et al. 2022) grafts an augmented Lagrangian outer loop onto the first-order iLQR framework, handling equality and inequality constraints and supporting mixed impulsive and continuous-thrust missions. It is cheaper than HDDP but slightly weaker in convergence.
Sensitivity Tools: the Foundation of DDP/iLQR
The backward sweep is fundamentally a propagation of the sensitivities (gradient and Hessian) of the cost with respect to controls. Several related concepts merged into this entry:
Sensitivity Matrix. The partial derivative matrix of the state with respect to design variables (initial conditions, controls, parameters). For two-point boundary value problems such as Lambert's, higher-order sensitivity matrices of output with respect to input can be estimated numerically with few samples via non-product quadrature such as the Conjugate Unscented Transform (Hall & Singla 2020), and used for uncertainty propagation, reachable-set computation, and as a surrogate model of the original problem.
Minimum-Norm Update. In differential correction, when the number of target state components is smaller than the control degrees of freedom (underdetermined), the pseudoinverse gives the minimum- correction, equivalent to an instantaneous LQR with , . This is a common low-energy correction strategy for libration-point station-keeping and targeting (Shimane et al. 2025).
Subgradient Method. Used to update dual variables (Lagrange multipliers) in constrained optimization when the dual function is non-differentiable; the next iterate takes a subgradient direction to narrow the duality gap. It alternates with the augmented Lagrangian step in HDDP/AL-iLQR and is also used in sequential convex optimization and dual decomposition.
Surrogate Model. A low-cost polynomial (e.g. polynomial chaos expansion PCE, APCE), Gaussian process, or neural network that approximates an expensive high-fidelity model. Hall & Singla (2020) use HOSM polynomial coefficients to surrogate a Lambert solver for fast PDF propagation of the uncertain Lambert problem; Duan et al. (2025) use APCE to surrogate the multi-revolution Lambert solver.
Engineering Notes (CR3BP Low-Thrust Optimization)
- Spherical control variables + trust-region scaling. Aziz et al. (2019) parameterize thrust by magnitude and angles (see Control Parametrization) and normalize the trust region: magnitude by , angles with larger bounds. When becomes collinear with velocity and the RSW frame is degenerate, switch to Cartesian components.
- Phasing to isolate flybys. A single-phase HDDP typically fails after a close lunar flyby because sensitivity explodes; using one phase per flyby localizes the effect, the key trick for CR3BP transfers.
- Mass leak against singularity. On coast arcs with , makes singular; introduce a mass leak (a small constant inside the thrust-magnitude norm).
- Poor initial guess. HDDP has weak global search; in practice, the initial guess comes from invariant manifold tiling or shape-based methods.
- Second-order vs first-order. DDP/HDDP retains second-order dynamics derivatives (more accurate, more expensive, narrower convergence basin); iLQR/AL-iLQR uses only first order (cheaper, needs more iterations). HDDP is usually more stable under CR3BP nonlinearity.
Related Concepts
- Control Parametrization
- Shape-Based Method
- Gooding's Method and Lambert Solvers
- Co-state Variables
- Pontryagin Minimum Principle
- Multiple-Shooting DDP (MDDP)
- Invariant Manifold
References
- Mayne, D. Q., 1966, "A second-order gradient method for determining optimal trajectories of non-linear discrete-time systems" (the founding DDP paper).
- Jacobson, D. H., Mayne, D. Q., 1970, Differential Dynamic Programming (the systematic monograph on DDP).
- Todorov, E., Li, W., 2005, "A generalized iterative LQG method for locally-optimal feedback control of constrained nonlinear stochastic systems" (the modern form of iLQR).
- Lantoine, G., Russell, R. P., 2012, "A hybrid differential dynamic programming algorithm for constrained optimal control problems" (HDDP).
- Aziz, J. D., Scheeres, D. J., Lantoine, G., 2019, "Hybrid Differential Dynamic Programming in the Circular Restricted Three-Body Problem," JGCD, DOI: 10.2514/1.G003617 (engineering details of HDDP in the CR3BP: multiphase formulation, trust-region scaling, spherical control variables).
- Pellegrini, E., Russell, R. P., 2017+ (the MDDP multiple-shooting line of work).
- Cuevas del Valle, A. A., et al., 2022 (the AL-iLQR algorithm, augmented Lagrangian + iLQR for mixed impulsive and continuous thrust).
- Hall, Z., Singla, P., 2020, "Higher-order sensitivity matrix method for probabilistic solution to uncertain Lambert problem and reachability set problem," Celest. Mech. Dyn. Astron. (HOSM, CUT, surrogate Lambert solver).
- Duan, J., et al., 2025, "Adaptive polynomial chaos expansion method for uncertain multiple-revolution Lambert problem" (APCE surrogate model).
- Shimane, D., et al., 2025 (minimum-norm update for low-energy orbital correction).
