Optimization Algorithm Design via Electric Circuits
Stephen P. Boyd, Tetiana Parshakova, Ernest K. Ryu, Jaewook J. Suh
TL;DR
This work presents a framework that designs convex optimization algorithms by mapping continuous-time RLC circuit dynamics to optimization problems and then automatically discretizing them to obtain provably convergent discrete-time methods. The approach unifies circuit theory and optimization, using interconnects (static and dynamic) coupled to the subdifferential operator $oldsymbol{ abla f}$ to encode optimality conditions, and leverages the Performance Estimation Problem to guarantee dissipativity in discretizations. It recovers classical algorithms such as Nesterov acceleration, decentralized ADMM, and PG-EXTRA, while enabling the automated discovery of new methods (e.g., DADMM+C) with convergence proofs and empirical speedups. The methodology is supported by an open-source pipeline for automatic discretization and demonstrates robust performance on decentralized problems, suggesting broad applicability to distributed optimization and beyond.
Abstract
We present a novel methodology for convex optimization algorithm design using ideas from electric RLC circuits. Given an optimization problem, the first stage of the methodology is to design an appropriate electric circuit whose continuous-time dynamics converge to the solution of the optimization problem at hand. Then, the second stage is an automated, computer-assisted discretization of the continuous-time dynamics, yielding a provably convergent discrete-time algorithm. Our methodology recovers many classical (distributed) optimization algorithms and enables users to quickly design and explore a wide range of new algorithms with convergence guarantees.
