Read the paper
FLIP: Fast and Accurate Global Lipschitz Estimation for Large Feedforward Networks
on GitHub
FLIP decomposes the standard Lipschitz SDP into one-dimensional convex subproblems solved by the secant method. On 100M-parameter networks it reports bounds in seconds that are orders of magnitude tighter and faster than prior methods.
| Method | Time(s) | Lipschitz Bound | Comparison |
| FLIP (Ours) | 2.69 | 234.3 | fast and accurate |
| Naive Upper | 2.18 | fast but extremely loose | |
| ECLipsE-fast Xu and Sivaranjani (2024) | 43.17 | slower, looser | |
| ECLipsE Xu and Sivaranjani (2024) | 19249 | 323.6 | slower, slightly looser |
| LipSDP-layer Fazlyab et al. (2019) | 11814 | slower, much looser | |
| LipSDP-neuron Fazlyab et al. (2019) | 81554 | slower, much looser | |
| SeqLip Virmaux and Scaman (2018) | – | – | non-convergence for large-scale networks |
| LipDiff Wang et al. (2024) | – | – | CUDA OOM for large-scale networks |
Going deeper

Imagine you run a chain of post offices. A parcel enters the first office and gets re-sorted at every stop until it reaches the last one. You want to know the worst case: how much can the parcel's label change from start to finish? Checking every possible journey through every office at once takes far too long.
The old approach stacked all the offices into one giant ledger and asked a single heavy optimiser to solve it. This paper notices that the ledger has a chain structure: each office only talks to its neighbours. So it peels the problem from the last office backward, writing down the best and worst the remaining offices could do. Each office then has just one dial to turn, and turning it is quick.
The result is like auditing one office at a time instead of the whole chain at once. For a chain with 100 million sorting rules the audit finishes in under three seconds, where the old ledger method would take hours—and the answer is at least as tight.
The abstract, word for word, with the seven densest phrases unpacked.
The Lipschitz constant of neural networks is widely used in robustness, control, generalization bounds, and training stability1. As modern neural networks continue to scale, existing methods for Lipschitz estimation are either very time-consuming or overly loose2. In this work, we focus on both fast and accurate Lipschitz estimation for large feedforward neural networks. We first reformulate the well-known semidefinite program (SDP) framework into an explicit recursive form3, and introduce a key theoretical result, bound backpropagation4: the SDP objective has upper and lower bounds that can be propagated backward along the recursive computation graph and depend only on partial variables. Leveraging this property, we decompose the original SDP into a sequence of small subproblems, each minimizing a combination of upper and lower bounds over partial variables. We prove that each subproblem is one-dimensional and convex5, enabling fast solution via the secant method. Finally, we present the full FLIP algorithm and its complexity, yielding fast and tight Lipschitz estimation for large feedforward networks. Experiments on both randomly generated and trained networks show that FLIP improves speed and tightness by several orders of magnitude over prior methods, giving the tightest Lipschitz estimates for 100M-parameter networks in seconds6. Our code is available at: https://github.com/hongboc616/FLIP7.
Two lines of work converge: tightening Lipschitz bounds via SDPs, and scaling those SDPs to large networks.
Read four parts, in this order.
Skip Appendices A–C if you trust the proofs; skip Section 2 if you know LipSDP.
If the bounds are looser than claimed or the theory has a gap, look here.
Let be a fixed nonzero positive semidefinite matrix and variable be a diagonal matrix satisfying . Define , the following properties hold:
Upper bound:
For any matrix , lower bound: .
Let and denote the objective values attained by LipSDP and FLIP, respectively, under the same parameterization, with FLIP producing intermediate results . Define the sandwich gap , as long as for all , we have
where minimize over the feasible set with the preceding result .
In this subsection, we focus on solving the subproblems in (9) and derive the complexity of FLIP. We first simplify the notation by letting η:=γ(1-(1/4)l-i)∈[0,1). Moreover, we further assume A=aI for some scalar a∈R, corresponding to the LipSDP-Layer setting Fazlyab et al. (2019).
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
This work was conducted as independent research, with all associated expenses personally covered by the author Hongbo Chen. No external funding was received, and the authors declare no competing financial interests.
More latest news
Read all