# FLIP: Fast and Accurate Global Lipschitz Estimation for Large Feedforward Networks

> FLIP turns LipSDP's Lipschitz-bound optimization into sequential convex scalar subproblems using backward-propagated bounds. On a random 100M-parameter network, it reported an upper bound of 234.3 in 2.69 seconds; ECLipsE gave 323.6 in 19,249 seconds.

- arXiv: https://arxiv.org/abs/2612.04353
- Authors: Hongbo Chen, Zihao Ren
- Published: 2026-12-03
- Topic: Scaling & theory
- Visual carousel: https://instaxiv.com/p/2612.04353
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## Can a tight Lipschitz bound scale to 100M parameters?

**2.69 s** Random 100M-param runtime vs ECLipsE: 19249 s

## Fast or tight: the scaling trade-off

**Cheap layerwise product:** 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.

**Coupled SDP:** LipSDP couples layers for a tighter upper bound, but interior-point cost scales as $O(K_{\rm SDP}l^4n^4)$ for depth $l$, width $n$.

FLIP starts by making the SDP's layerwise structure explicit.

## Turn one large SDP into a layerwise recursion

$$
\begin{gathered} C_0=I,\quad \violet{B_{i-1}}=W_{i-1}\cyan{C_{i-1}}W_{i-1}^{\top},\\ C_i=\frac{1}{4}\left(A_i+\violet{B_{i-1}}+\violet{B_{i-1}}(A_i-\violet{B_{i-1}})^{-1}\violet{B_{i-1}}\right),\\ A_i-\violet{B_{i-1}}\succ0,\quad L^2=\|W_l C_l W_l^{\top}\|_2 \end{gathered}
$$

Schur complements turn LipSDP's block matrix into a layerwise recursion. The state $C_i$ passes forward; the final spectral norm is the SDP objective.

- $C_i$: Matrix state passed from one layer to the next
- $A_i$: Positive diagonal decision variable for layer i
- $B_{i-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 $\|W_lC_lW_l^\top\|_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 $A_i$ 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 $\Omega_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 $A_i$, FLIP's SubSolver uses $A_i=aI$, the LipSDP-Layer setting.
2. **Use one-dimensional convexity**: With incoming $B$ fixed, the relaxed objective is convex on the feasible interval $a>\lambda_{\max}(B)$.
3. **Bracket the minimum**: Monotone subgradients bracket the minimum; secant steps solve it, with bisection from the boundary when $\eta=0$.
4. **Keep the cost low**: For width $n$ and output $d$, total cost is $O(l n^3+K l d^3)$; the paper gives $K=O(\log(1/\varepsilon))$, near naive complexity.

## Faster and tighter than ECLipsE at 100M scale

| Method | Time (s) | Lipschitz bound |
| --- | --- | --- |
| Naive Upper | 2.18 | 1.47×10^17 |
| ECLipsE-fast | 43.17 | 2.21×10^6 |
| ECLipsE | 19249 | 323.6 |
| **FLIP (Ours) (7150× faster)** | **2.69** | **234.3** |

_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

![Figure 4](https://cdn.instaxiv.com/figures/2612.04353/figure4.webp)

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. (Figure 4)

## The same method meets trained networks

![Figure 5](https://cdn.instaxiv.com/figures/2612.04353/figure5.webp)

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. (Figure 5)

## 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 $A_i$, but FLIP's SubSolver uses $A_i=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.

Best used when: Use it for global upper bounds on large feedforward nets when the scalar, layerwise parameterization fits the question.

## Key takeaways

- 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.

## Links

- arXiv: https://arxiv.org/abs/2612.04353
- PDF: https://arxiv.org/pdf/2612.04353
- Code: https://github.com/hongboc616/FLIP

## Citation

```bibtex
@article{chen2026flip,
  title   = {FLIP: Fast and Accurate Global Lipschitz Estimation for Large Feedforward Networks},
  author  = {Chen, Hongbo and Ren, Zihao},
  journal = {arXiv preprint arXiv:2612.04353},
  year    = {2026},
  url     = {https://arxiv.org/abs/2612.04353}
}
```
