Reformulating the SDP into recursive form
The Lipschitz constant of a neural network serves applications in robustness verification, control, generalization analysis, and training stability. Classical estimation frames this as a semidefinite program (SDP), but existing SDP methods become impractical for large networks. The authors reformulate the SDP into an explicit recursive form that mirrors the layer-wise computation of feedforward networks. This reformulation exposes structural properties that were previously hidden beneath the general SDP formulation.
Backward bound propagation along the computation graph
A central theoretical contribution is bound backpropagation. The SDP objective admits upper and lower bounds that can be propagated backward through the recursive computation graph. Critically, each bound depends only on partial variables quantities available from earlier computations or earlier layers. This locality means backward propagation does not require complete information from downstream layers, which is essential to the method's efficiency.
Decomposing the SDP into one-dimensional subproblems
Using the bound backpropagation property, the original SDP is decomposed into a sequence of smaller subproblems. Each subproblem minimizes a combination of upper and lower bounds over the partial variables available at that stage. The authors prove that each such subproblem is one-dimensional containing a single optimization variable and convex. This structural property is what enables the subsequent fast solution.
Solving subproblems with the secant method
Because each subproblem is one-dimensional and convex, it can be solved without general-purpose SDP solvers. The authors employ the secant method, a root-finding algorithm that approximates the root using secant lines. For convex one-dimensional problems, the secant method converges superlinearly and does not require derivative information. This choice avoids the computational overhead of gradient computation while retaining fast convergence.
The FLIP algorithm and its complexity
The FLIP algorithm combines recursive bound propagation with secant-based subproblem solving. At each step, bounds are propagated backward, then a small convex subproblem is solved via the secant method. The complexity analysis shows that overall runtime scales nearly linearly with network size, in contrast to prior methods whose complexity grows polynomially or worse. This favorable scaling enables estimation of large networks.
Experimental results for large networks
Experiments evaluate FLIP on both randomly generated networks and networks trained for classification tasks. Compared to prior SDP-based and optimization-based methods, FLIP achieves orders-of-magnitude speedup. The estimated Lipschitz constants are substantially tighter closer to true values across all network sizes. For networks with 100 million parameters, FLIP produces the tightest known Lipschitz estimates and does so in seconds, whereas previous methods required hours or were too loose to be useful.
Scaling to 100M-parameter networks
The practical impact of FLIP is most evident when applied to modern large-scale networks. A 100M-parameter network, which would tax existing methods, is handled efficiently. The combination of recursive structure and one-dimensional subproblems means computation time grows manageably with width and depth. This opens the door to using Lipschitz estimation in practice for large models such as for robustness verification or training stability monitoring.
Read the paper on arXiv