Papers
Topics
Authors
Recent
Assistant
AI Research Assistant
Well-researched responses based on relevant abstracts and paper content.
Custom Instructions Pro
Preferences or requirements that you'd like Emergent Mind to consider when generating responses.
Gemini 2.5 Flash
Gemini 2.5 Flash 178 tok/s
Gemini 2.5 Pro 50 tok/s Pro
GPT-5 Medium 38 tok/s Pro
GPT-5 High 40 tok/s Pro
GPT-4o 56 tok/s Pro
Kimi K2 191 tok/s Pro
GPT OSS 120B 445 tok/s Pro
Claude Sonnet 4.5 36 tok/s Pro
2000 character limit reached

Interior-Point Differential Dynamic Programming

Updated 9 November 2025
  • IPDDP is a class of algorithms that embed interior‐point techniques into Differential Dynamic Programming to directly handle nonlinear equality and inequality constraints.
  • It employs a backward–forward recursion with stagewise KKT systems and primal–dual Newton steps to achieve local quadratic convergence and maintain linear per-iteration complexity.
  • IPDDP is applied in robotics and trajectory optimization, offering robust, efficient solutions for contact-implicit and hybrid-dynamical systems relative to traditional solvers.

Interior-Point Differential Dynamic Programming (IPDDP) is a class of algorithms for solving discrete-time, finite-horizon optimal control problems with nonlinear equality and inequality constraints. By embedding primal–dual interior-point methodology within the Differential Dynamic Programming (DDP) framework, IPDDP realizes the benefits of second-order DDP efficiency while enforcing feasibility through barrier-augmented cost functions, slack variables, and primal–dual Newton steps. This approach is distinguished by its ability to directly handle state and control constraints, including contact-implicit or hybrid-dynamical systems, with local quadratic convergence and per-iteration complexity linear in the time horizon.

1. Mathematical Foundations

IPDDP addresses the nonlinear constrained optimal control problem: minx0,,xN,u0,,uN1    J(x,u)=k=0N1(xk,uk)+ϕ(xN) subject toxk+1=f(xk,uk),k=0N1, hk(xk,uk)=0,k=0N1, gk(xk,uk)0,k=0N1, x0=xˉ0.\begin{aligned} \min_{x_0,\ldots,x_N,\, u_0,\ldots,u_{N-1}} \;\; & J(x,u) = \sum_{k=0}^{N-1} \ell(x_k,u_k) + \phi(x_N) \ \textrm{subject to}\quad & x_{k+1} = f(x_k,u_k), \quad k=0\ldots N-1, \ & h_k(x_k,u_k) = 0,\quad k=0\ldots N-1, \ & g_k(x_k,u_k) \le 0,\quad k=0\ldots N-1, \ & x_0 = \bar{x}_0. \end{aligned} Here, \ell and ϕ\phi are the stage and terminal costs, ff is (possibly nonlinear) dynamics, hkh_k are equality constraints, and gkg_k are inequality constraints. Control and state variables are denoted xkRnx_k \in \mathbb{R}^n, ukRmu_k \in \mathbb{R}^m.

The constrained problem is converted to a series of unconstrained surrogates via log-barrier augmentation. For inequality constraints, slack variables sk>0s_k > 0 are introduced, yielding gk(xk,uk)+sk=0g_k(x_k,u_k) + s_k = 0, and a barrier term μilnsk,i-\mu \sum_i \ln s_{k,i} is added for barrier parameter μ>0\mu > 0. Equality constraints are handled through Lagrange multipliers. The algorithm solves a sequence of barrier problems that approach the Karush-Kuhn-Tucker (KKT) conditions of the original problem as μ0\mu \rightarrow 0 (Cao et al., 2021, Prabhu et al., 18 Sep 2024, Pavlov et al., 2020, Xu et al., 11 Apr 2025, Kim et al., 2022).

2. Algorithmic Structure and Primal–Dual Updates

The distinguishing algorithmic hallmark of IPDDP is its synthesis of DDP’s backward–forward second-order recursion with primal–dual Newton steps arising from the barrier-augmented Lagrangian. Each DDP sweep consists of:

  • Backward Pass: For each stage k=N1k=N-1 to $0$, the local Q-function is constructed as a quadratic expansion in deviations (δx,δu)(\delta x, \delta u) about a nominal trajectory. Incorporating the value function’s Taylor series and the augmented Lagrangian—including barrier and Lagrange terms—yields the required derivatives:

Qx=xB+fxVx,k+1, Qu=uB+fuVx,k+1, Quu=uuB+fuVxx,k+1fu+,\begin{aligned} Q_x &= \ell_x^B + f_x^\top V_{x,k+1}, \ Q_u &= \ell_u^B + f_u^\top V_{x,k+1}, \ Q_{uu} &= \ell_{uu}^B + f_u^\top V_{xx,k+1} f_u + \cdots, \end{aligned}

with “BB” denoting inclusion of barrier and dual terms.

  • Solving the Stagewise KKT System: The primal–dual step computes updates to uku_k (controls), sks_k (slacks), and multipliers for equality and inequality constraints by solving a symmetric indefinite linear system at each stage—the size is (m+c+k)×(m+c+k)(m+c+k)\times(m+c+k), where cc is the number of equality and kk of inequality constraints (Xu et al., 11 Apr 2025, Prabhu et al., 18 Sep 2024, Kim et al., 2022). For feasible-IPDDP, sk>0s_k > 0 and strict primal feasibility is maintained; infeasible-IPDDP admits transitory infeasibility but maintains sk,yk0s_k,\,y_k \gg 0 (where yky_k are dual slacks).
  • Forward Pass and Line-Search: The computed affine feedback policy for controls and slacks is applied via a forward rollout, updating the trajectory. Acceptance is determined using a merit function or IPOPT-style filter, testing both cost reduction and constraint violation improvement.
  • Barrier Parameter Update: Once the optimum for a given μ\mu is approached (when optimality and feasibility residuals fall below κμ\kappa\mu for some κ>1\kappa>1), μ\mu is reduced geometrically (μθμ\mu \leftarrow \theta \mu, typical θ=0.1\theta=0.1), and the process repeats until the KKT conditions for the original constrained problem are met (Cao et al., 2021, Pavlov et al., 2020, Xu et al., 11 Apr 2025, Prabhu et al., 18 Sep 2024).

3. Computational Complexity and Convergence

IPDDP exhibits per-iteration complexity of O(N(m+c)3)O(N(m+c)^3), dominated by NN factorizations of stagewise KKT matrices of size (m+c)(m+c) or (m+k)(m+k) coming from controls plus constraints. This preserves DDP’s favorable O(N)O(N) scaling with trajectory length. By contrast, general purpose direct solvers such as IPOPT scale cubically in the total trajectory dimension, yielding considerable performance advantage for long-horizon or high-dimensional problems (Xu et al., 11 Apr 2025, Cao et al., 2021). Empirically, convergence is typically achieved in a few to a few dozen iterations, with total wall-clock times of tens of milliseconds for N=100500N=100\sim500 on modern workstations (Prabhu et al., 18 Sep 2024, Pavlov et al., 2020, Cao et al., 2021).

Local quadratic convergence is established by showing that the stagewise DDP + Newton step constitutes a local Newton iteration on the perturbed KKT system. Under the linear independence constraint qualification (LICQ), boundedness of KKT system inverses, and strict complementarity, the iterates satisfy: w+wMww2,\|w^{+} - w^*\| \leq M \|w - w^*\|^2, for some norm and constant MM, up to step-size regularization and numerical precision (Xu et al., 11 Apr 2025, Pavlov et al., 2020).

4. Comparison with Other Constrained DDP Methods

IPDDP diverges fundamentally from active-set or augmented Lagrangian DDP extensions by continuously enforcing feasibility via interior-point penalties rather than combinatorial switching or penalty terms. Compared to classic CLDDP (Constrained LQR-DDP, e.g., with box-QP), IPDDP:

  • Handles general (nonlinear) equality and inequality constraints without recourse to solving many subproblems or managing constraint activity patterns.
  • Exhibits more predictable convergence properties—avoiding phenomena such as “staircase” progress or stagnation near the boundary, as observed with relaxed log-barrier DDP.
  • Accepts large primal-dual steps after each barrier reduction, in contrast to the shrinking steps required by standard log-barrier-only methods (Pavlov et al., 2020, Prabhu et al., 18 Sep 2024).

Tables from benchmarking studies demonstrate competitive or superior performance of IPDDP2 relative to IPOPT and AL–iLQR, especially on hard, hybrid, or contact-implicit problems:

Problem Method Iter Cost θ\theta^* (Violat.) Wall ms Solver ms
Car Obstacle Avoid. IPOPT 51 23.97 9e169\mathrm{e}{-16} 104 71
IPDDP2 73 19.26 3e163\mathrm{e}{-16} 97 78
Cartpole Swing-Up IPOPT 35 0.1253 4e124\mathrm{e}{-12} 30 20.5
IPDDP2 33 0.1253 3e163\mathrm{e}{-16} 13 11.6

Further, AL–iLQR methods can fail on complementarity/contact cases that IPDDP handles robustly due to perturbed primal–dual slackness (Xu et al., 11 Apr 2025).

5. Implementation Techniques and Practical Stabilization

Several recent implementations of IPDDP demonstrate the following best practices:

  • Preallocation of arrays for trajectories, derivatives, and multipliers for efficient memory access.
  • Use of symbolic differentiation tools (such as Symbolics.jl) to supply exact second derivatives for the cost, dynamics, and constraints (Xu et al., 11 Apr 2025).
  • Regularization of QuuQ_{uu} or enlarged KKT blocks via Levenberg–Marquardt diagonal shifts to guarantee positive definiteness and stable Cholesky/LDL factorizations (Prabhu et al., 18 Sep 2024, Kim et al., 2022).
  • IPOPT-style filter linesearch, where a trial iterate is accepted if either the cost reduction or constraint violation is improved relative to filter entries. Inertia correction of the KKT system via Bunch–Kaufman with rook pivoting ensures correct sign structure in indefiniteness (Xu et al., 11 Apr 2025).
  • Fraction-to-boundary rules restrict iterates to remain strictly in the feasible region, i.e., u+(1τ)uˉu^+ \geq (1-\tau)\bar u, s+(1τ)sˉs^+ \geq (1-\tau)\bar s for small τ\tau.
  • Efficient implementation yields wall times for problems with N=500N=500 and moderate control/state dimensions in the range of \sim10–50 ms per DDP sweep on standard CPUs (Cao et al., 2021, Prabhu et al., 18 Sep 2024).

6. Application Domains and Representative Experiments

IPDDP has been demonstrated on a range of robotic and process control benchmarks:

  • Differentially flat systems and trajectory generation: Smooth, segment-constrained polynomial trajectories for drone or vehicle path planning, where IPDDP is used to jointly optimize polynomial coefficients and segment times subject to box or polyhedral collision/actuator bounds (Cao et al., 2021).
  • Autonomous robotics: Collision-free planning for mobile robots and quadrotors, via hybrid MPPI-IPDDP approaches—first obtaining coarse exploratory trajectories and then performing local smoothing within a convex corridor using IPDDP (Kim et al., 2022).
  • Contact-implicit motion and hybrid systems: Robust trajectory optimization for acrobots or block-pushing systems with unilateral constraints and joint limit impulses, scenarios where AL–iLQR and general constrained DDP methods can fail or stagnate (Xu et al., 11 Apr 2025).
  • Classical control: Nonlinear and constrained problems such as inverted pendulum, continuously stirred tank reactors, and obstacle-avoidance for unicycle or car models. IPDDP converges within a few tens of DDP sweeps, with all constraints satisfied to within 10610^{-6} or tighter (Pavlov et al., 2020, Prabhu et al., 18 Sep 2024).

7. Extensions and Contemporary Directions

Recent developments focus on algorithmic generality, exploiting system structure, and robust globalization:

  • Structure-exploiting IPDDP2 enables fast solution of high-dimensional or contact-implicit robotic OCPs via specialized Julia implementations (InteriorPointDDP.jl), manipulating compact stagewise KKT systems rather than direct transcriptions (Xu et al., 11 Apr 2025).
  • Hybrid methods, such as MPPI-IPDDP, combine sampling-based exploration for nonconvex, high-dimensional space coverage with IPDDP for local trajectory refinement, yielding improved reliability and smoothness over pure sampling solvers (Kim et al., 2022).
  • Regularization and filter globalization strategies inspired by recent advances in interior-point NLP solvers (e.g., IPOPT) are critical for robustness on challenging problems and from infeasible or remote initializations (Kim et al., 2022, Xu et al., 11 Apr 2025).

A plausible implication is that IPDDP’s flexibility and efficiency make it a natural candidate for embedded, real-time, and contact-rich robotic control applications. These methods are now competitive alternatives to both classical sequential quadratic programming and augmented-Lagrangian-based DDP in academic and applied settings.

Forward Email Streamline Icon: https://streamlinehq.com

Follow Topic

Get notified by email when new papers are published related to Interior-Point Differential Dynamic Programming (IPDDP).