FLIP: Fast and Accurate Global Lipschitz Estimation for Large Feedforward Networks
Chen & Ren in Scaling & theory
Can a tight Lipschitz bound scale to 100M parameters?
FLIP: Fast and Accurate Global Lipschitz Estimation for Large Feedforward Networks
Fast or tight: the scaling trade-off
In the 2-norm, the global Lipschitz constant bounds output change per unit input change. Multiplying layer spectral norms is cheap, but ignores cross-layer interactions and can be very loose.
LipSDP couples layers for a tighter upper bound, but interior-point cost scales as O(KSDPl4n4) for depth l, width n.
FLIP starts by making the SDP's layerwise structure explicit.
Turn one large SDP into a layerwise recursion
Schur complements turn LipSDP's block matrix into a layerwise recursion. The state Ci passes forward; the final spectral norm is the SDP objective.
- Ci
- Matrix state passed from one layer to the next
- Ai
- Positive diagonal decision variable for layer i
- Bi−1
- Previous state transformed by the preceding layer's weights
Bounds travel backward through the recursion
- 1
Start from the output
At the output, the objective is ∥WlClWl⊤∥2; through the recursion, every layer's choice can affect it.
- 2
Bound downstream choices
Analytic upper and lower bounds push from later layers backward, each depending only on a prefix of the Ai variables.
- 3
Blend the two bounds
FLIP balances their spectral scales into a relaxed objective, then solves one layer's subproblem at a time.
- 4
Track the remaining gap
For the same parameterization and nonzero Ωi, a theorem bounds FLIP's excess over LipSDP by accumulated sandwich gaps.
From convexity to a secant step
- 1
Scalarize the decision
Although the recursive theory allows diagonal Ai, FLIP's SubSolver uses Ai=aI, the LipSDP-Layer setting.
- 2
Use one-dimensional convexity
With incoming B fixed, the relaxed objective is convex on the feasible interval a>λmax(B).
- 3
Bracket the minimum
Monotone subgradients bracket the minimum; secant steps solve it, with bisection from the boundary when η=0.
- 4
Keep the cost low
For width n and output d, total cost is O(ln3+Kld3); the paper gives K=O(log(1/ε)), near naive complexity.
Faster and tighter than ECLipsE at 100M scale
Randomly initialized width-1000, depth-100 network (100M parameters; output 20); shown methods ran on CPU. Speedup versus ECLipsE.
The trade-off holds across depth

Random width-1000 networks (depth 2-100): left plots log runtime, right log estimated bound, both vs depth. FLIP is near naive speed and among the tightest; SeqLip fails to converge and LipDiff hits OOM at scale.
The same method meets trained networks

SVHN-trained width-1000 ReLU nets (depth 2-60). Left: log runtime vs depth; right: log estimated bound. FLIP remains fast and tight. ECLipsE fails at greater depth; trained nets may violate its stronger assumptions.
The estimate has a defined scope
Upper bound, not exact
The certificate assumes activation secant slopes in [0,1]; FLIP returns an upper bound, not the NP-hard exact constant.
Layerwise scalar restriction
The recursion allows diagonal Ai, but FLIP's SubSolver uses Ai=aI, the LipSDP-Layer parameterization.
Partitioned SDP comparisons
At width 1000, LipSDP-layer and LipSDP-neuron baselines use three-layer blocks due to solver limits; these are partitioned variants.
Feedforward scope
The paper covers classical feedforward networks; pooling, CNN, and residual-network extensions are future work.
Why it matters
- Bound backpropagation turns LipSDP's joint objective into sequential layerwise choices, with an a-posteriori bound on remaining suboptimality.
- Use FLIP for fast global upper-bound estimates on large feedforward nets when scalar layerwise multipliers are acceptable.
- Whether bound propagation extends to pooling layers and residual networks remains an open architectural test.
10 slides, 3 min
2 days ago