Generalized Adjoint Method
Andrew Zheng, Adam R. Stinchcombe
TL;DR
The paper extends the adjoint method to optimization problems with complex, non-holomorphic cost and constraint functions by leveraging CR-calculus. It derives a general gradient formula under equality constraints, shows how to solve for the necessary sensitivities via constraint differentials, and presents a Lagrangian formulation that yields the same results in a unified framework. Through holomorphic and non-holomorphic examples, including a 1D Helmholtz inverse problem, the method demonstrates accurate gradient computation and practical efficiency gains over finite differences. The work enables robust gradient-based optimization for complex-valued problems in electromagnetism, signal processing, and PDE-constrained settings, where traditional real-variable reformulations are suboptimal. Potential extensions include Hessians, higher-order derivatives, and automatic differentiation strategies tailored to non-holomorphic CR-calculus.
Abstract
The adjoint method is an efficient way to numerically compute gradients in optimization problems with constraints, but is only formulated to differentiable cost and constraint functions on real variables. With the introduction of complex variables, which occur often in many inverse problems in electromagnetism and signal processing problems, both the cost and constraint can become non-holomorphic and hence non-differentiable in the standard definitions. Using the notion of CR-calculus, a generalized adjoint method is introduced that can compute the direction of steepest ascent for the cost function while enforcing the constraint even if both are non-holomorphic.
