atlas

Research map / Architectures and efficiency / RNNs and normalization

DiLQR: Differentiable Iterative Linear Quadratic Regulator via Implicit Differentiation

ICML 2025 · Architectures and efficiency › RNNs and normalization · approach: Differentiable optimization layers

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes DiLQR, which differentiates through the fixed point of iLQR via implicit differentiation, giving analytical gradients with constant backward cost in iteration count, and evaluates on pendulum/cartpole imitation and system identification.

Problem

Differentiating through iLQR by unrolling its iterations is memory- and time-costly and scales poorly with iterations and horizon, and prior differentiable-LQR methods (e.g., DiffMPC) treat the last-layer input as constant, yielding inexact gradients.

Approach

Treats the iLQR output as a fixed point (X*, U*) = (F(X*,U*,θ), G(X*,U*,θ)) and applies implicit differentiation to get closed-form Jacobians dX*/dθ and dU*/dθ, so backward cost is independent of iteration count; the method also accounts for the dependence of the linearization on the trajectory, unlike DiffMPC.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use implicit differentiation instead of unrolled AutoDiffiLQR backward pass · Pendulum, horizon 10, 300 iterationsbackward computation time: 8.57 seconds -> 0.067 seconds; 128x speedupHelped
Use implicit differentiation instead of unrolled AutoDiffiLQR backward pass · Pendulum, horizon 10, 50 iterationsbackward computation time: 1.41 seconds -> 0.067 seconds; 21x speedupHelped
Learn dynamics with DiLQR.dx instead of an LSTM neural network policyImitation learning · Pendulum, train=100imitation loss: 10^6xHelped
Learn dynamics with DiLQR.dx instead of an LSTM neural network policyImitation learning · CartPole, train=100imitation loss: 10^4Helped
Use DiLQR.cost instead of DiffMPC.costCartPole cost learning · CartPolemodel loss: 32%Helped
Use DiLQR.dx instead of DiffMPC.dxCartPole dynamics learning · CartPole, train=50final model loss: 41% lower final errorHelped
Use DiLQR.dx instead of DiffMPC.dxCartPole dynamics learning · CartPole, train=100final model lossMixed
Use DiLQR.dx instead of DiffMPC.dxCartPole dynamics learning · CartPole, train=100bad-value ratio: 16.85% -> 2.76%Helped
Remove the forward algorithm (ablation)DiLQR · Pendulum, varying horizonscomputation timeHurt
Disable parallelization (ablation)DiLQR · Pendulum, varying horizonscomputation timeHurt
Disable parallelization (ablation)DiLQR · Pendulum, horizon 30computation timeMixed
Remove sparsity exploitation (ablation)DiLQR · Pendulum, varying horizonscomputation timeNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: iLQR expert trajectories on pendulum and cartpole

Benchmarks: Pendulum CartPole

Metrics: backward computation time imitation test loss model loss MSE bad-value ratio image prediction error

Baselines: Neural network policy (LSTM) SysId DiffMPC SafePDP IDOC AutoDiff unrolled iLQR

Builds on: iLQR DiffMPC implicit differentiation SafePDP IDOC

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy