Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.Divide the work, then agree
Two teams each solve their half of a job their own way. A coordinator compares the results. Where they disagree, the coordinator sets a “penalty price” for disagreement and sends both teams back to redo their halves. After a few rounds the teams agree, and the agreed answer solves the whole job.
That’s ADMM. Each half is easy alone (a linear solve, a simple shrink), and the price makes the halves consistent.
OSQP, the QP solver used in many robot and drone MPC stacks, is ADMM. Large imaging and estimation problems, multi-robot mapping and federated learning use ADMM to split data or variables across processors or agents, communicating only small summaries.
- 1. ADMM's main idea is to…
- 2. Disagreement between the pieces is handled by…
- 3. OSQP, a popular MPC solver, is based on…
Level 1: Beginner
★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.Problem form
For example, the lasso becomes , , with the constraint .
Scaled-form ADMM (for x − z = 0)
Here is the running sum of disagreements (a scaled price), and is the penalty. For the lasso, the x-step is a ridge solve , factored once, and the z-step is soft-thresholding at .
- 1. In scaled ADMM, u accumulates…
- 2. For the lasso, the z-update is…
- 3. The x-update's matrix (AᵀA + ρI) can be factored…
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 45 minUndergraduate students and practising engineers.Where ADMM comes from
The augmented Lagrangian adds a quadratic penalty to the Lagrangian. The method of multipliers minimizes it jointly in , which is hard because the penalty couples them. ADMM minimizes over , then over (one Gauss–Seidel pass), then takes a dual ascent step . Scaling gives the form above.
Stopping and tuning
- Primal residual measures feasibility.
- Dual residual measures optimality.
- Stop when both are below tolerance.
- ρ trade-off: small ρ makes the primal residual decay slowly. Large ρ makes the dual residual slow. Adaptive rule: increase ρ if and decrease it if (rescaling accordingly).
- Convergence: for closed proper convex with a saddle point, ADMM converges for any at an ergodic rate, and linearly under strong convexity. It reaches modest accuracy fast, then improves slowly.
Consensus and sharing
Global consensus: s.t. . Each agent solves its own -subproblem with private data, then the -update is an average of . Only averages are communicated. This is the template for distributed estimation, multi-robot SLAM and federated learning.
- 1. The dual residual in ADMM (x = z) is…
- 2. If the primal residual is much larger than the dual, you should…
- 3. In consensus ADMM, the z-update is…
Level 3: Advanced
★★★★☆ Advanced⏱ 40 minGraduate level, with full derivations and proofs.Deriving the lasso updates
The x-step minimizes . Setting the gradient gives . The z-step minimizes , which is . ∎
Why consensus averages
The z-step minimizes (with ). That’s a sum of squared distances, minimized at the mean of . ∎ After the first iteration the average to zero, so is just the mean of the .
Optimality at convergence
If and , the fixed point satisfies and with , so . That’s the optimality condition of the original problem. The scaled dual converges to . ∎
Exercise 3.1: One x-update for f(x) = ½(x − 3)²
With , , : minimize , giving . In general, .
- 1. ADMM converges for convex f, g…
- 2. At convergence, ADMM's fixed point satisfies…
- 3. One x-update for f = ½(x − 3)², ρ = 1, z = 1, u = 0 gives x =
Level 4: Expert
★★★★★ Expert⏱ 40 minResearchers: original papers and open problems.Five robots, one map, no shared raw data
Five robots each observe a different subset of landmark coordinates through their own sensors. No single robot can solve for all 12 unknowns, since each robot’s local system is rank-deficient. With consensus ADMM, each robot solves a small local regularized least-squares problem, broadcasts its estimate, and receives the average. After a few hundred rounds all robots hold the centralized least-squares solution, even though no raw measurements were ever pooled. The same pattern runs distributed multi-robot SLAM and federated learning.
ADMM in AI, robotics and aerospace
- OSQP solves the QPs of MPC for drones, legged robots and autonomous cars, with warm starts and adaptive ρ (Stellato et al., 2020).
- Distributed multi-robot estimation and planning uses ADMM-based consensus (Choudhary et al., 2017, distributed pose-graph optimization; Halsted et al., 2021, survey).
- Large-scale imaging and signal processing, such as total-variation denoising and compressed sensing (Boyd et al., 2011).
- Federated learning: FedADMM-style methods train on data that stays on devices (Zhou and Li, 2023).
References
- S. Boyd, N. Parikh, E. Chu, B. Peleato, J. Eckstein (2011). “Distributed optimization and statistical learning via the alternating direction method of multipliers.” Foundations and Trends in Machine Learning, 3(1).
- D. Gabay, B. Mercier (1976). “A dual algorithm for the solution of nonlinear variational problems via finite element approximation.” Computers & Mathematics with Applications, 2(1).
- R. Glowinski, A. Marrocco (1975). “Sur l’approximation… par pénalisation-dualité d’une classe de problèmes de Dirichlet non linéaires.” RAIRO, 9.
- J. Eckstein, D. Bertsekas (1992). “On the Douglas–Rachford splitting method and the proximal point algorithm for maximal monotone operators.” Mathematical Programming, 55.
- B. He, X. Yuan (2012). “On the O(1/n) convergence rate of the Douglas–Rachford alternating direction method.” SIAM Journal on Numerical Analysis, 50(2).
- B. Stellato, G. Banjac, P. Goulart, A. Bemporad, S. Boyd (2020). “OSQP: an operator splitting solver for quadratic programs.” Mathematical Programming Computation, 12.
- S. Choudhary et al. (2017). “Distributed mapping with privacy and communication constraints: lightweight algorithms and object-based models.” IJRR, 36(12).
- T. Halsted, O. Shorinwa, J. Yu, M. Schwager (2021). “A survey of distributed optimization methods for multi-robot systems.” arXiv:2103.12840.
- B. O’Donoghue, E. Chu, N. Parikh, S. Boyd (2016). “Conic optimization via operator splitting and homogeneous self-dual embedding.” JOTA, 169.
- M. Hestenes (1969). “Multiplier and gradient methods.” JOTA, 4.