FLIP: Fast and Accurate Global Lipschitz Estimation for Large Feedforward Networks
Abstract
The Lipschitz constant of neural networks is widely used in robustness, control, generalization bounds, and training stability. As modern neural networks continue to scale, existing methods for Lipschitz estimation are either very time-consuming or overly loose. 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 form, and introduce a key theoretical result, bound backpropagation: 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 convex, 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 seconds. Our code is available at: https://github.com/hongboc616/FLIP.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI, math.OC
- Comments
- 23 pages, 8 figures, accepted at NeurIPS 2026 Oral
Related papers
Nonconvex Singular-Value Shrinkage for Low-Rank Image Denoising: Global Linear Convergence and Oracle Error Bounds
Shared title terminologycs.LGWenbin Wang, Jun Zhang, Yixin Yan et al.
Enhancing global subseasonal forecasts with the multi-clock generative model Rescene-S2S
Shared title terminologycs.LGMinjong Cheon
FirePFN: Fast In-Context Representation Encoding For Scaling Tabular PFNs
Shared title terminologycs.LGFelix Koch, Sasa Mladenovic, Marius Lindauer et al.
MedScope: Structured Clinical Optimization through Preference Estimation
Shared title terminologycs.LGAli Karkehabadi, Jamshid Hassanpour, Rayhaneh Shabani Nia et al.
GraphDDR: Divide-Distill-Route Framework for Large-Scale Graphs
Shared title terminologycs.LGMohit Meena, Yash Punjabi, Mahesh Chandran
Fast and Interpretable Sequence Classification through Lazy Rule Learning
Shared title terminologycs.LGPengju Li, Xinying Liu, Mudi Jiang et al.