Permuting three hidden biases changes an exact Lipschitz constant from one to three, while every weight stays fixed.

Chen and Ren’s FLIP: Fast and Accurate Global Lipschitz Estimation for Large Feedforward Networks, first public December 2, accelerates SDP-based upper bounds through recursive structure and convex scalar subproblems. The following example separates solving a certificate accurately from recovering a function’s exact sensitivity.

Two networks with the same weights

Write \(\rho(t)=\max(t,0)\). For a scalar input define

\[f_b(x)=v^\top\rho(ux+b),\qquad u=(1,1,1)^\top,\quad v=(1,-2,2)^\top,\]

with coordinatewise activation. Choose

\[b_f=(0,-1,-2)^\top,\qquad b_g=(0,-2,-1)^\top.\]

The two functions are therefore

\[\begin{aligned} f(x)&=\rho(x)-2\rho(x-1)+2\rho(x-2),\\ g(x)&=\rho(x)-2\rho(x-2)+2\rho(x-1). \end{aligned}\]

For a scalar function \(h\), its global Lipschitz constant is the smallest \(L\) satisfying \(\vert h(x)-h(y)\vert\leq L\vert x-y\vert\) for every real pair \(x,y\).

Across the open intervals \((-\infty,0),(0,1),(1,2),(2,\infty)\), the slope lists are

\[f':(0,1,-1,1),\qquad g':(0,1,3,1).\]

Both functions are continuous. Splitting any input interval at the three breakpoints bounds its output difference by the largest absolute slope times its length. The bounds are attained: \(f(1)=1,f(2)=0\), while \(g(1)=1,g(2)=4\). Hence

\[\boxed{L_f=1,\qquad L_g=3.}\]

The change is entirely in the bias order. The product of layer spectral norms is identical:

\[L_{\rm product}=\Vert v^\top\Vert_2\Vert u\Vert_2 =3\sqrt3\approx5.196152.\]

Which gate patterns can actually occur?

Away from a breakpoint, let \(d_i\in\{0,1\}\) record whether hidden unit \(i\) is active. The derivative is \(v^\top d=d_1-2d_2+2d_3\).

The first network visits only

\[000\ \longrightarrow\ 100\ \longrightarrow\ 110\ \longrightarrow\ 111.\]

The second visits

\[000\ \longrightarrow\ 100\ \longrightarrow\ 101\ \longrightarrow\ 111.\]

In particular, \(d=(1,0,1)^\top\) gives slope three. For \(f\) this would require both \(x>2\) and \(x<1\), so it is impossible. For \(g\) it occurs throughout \(1<x<2\).

If the gates are instead allowed to vary independently over \([0,1]^3\), their weighted sum ranges from \(-2\) to \(3\). Thus the relaxed maximum absolute slope is exactly three. It is an exact bound for \(g\) and a factor-three overestimate for \(f\).

A neuronwise SDP certificate reaches three

The paper’s LipSDP theorem supplies a sufficient certificate using positive diagonal multipliers. For this one-hidden-layer example, its matrix is

\[M(L,T)= \begin{bmatrix} L^2&-u^\top T\\ -Tu&2T-vv^\top \end{bmatrix},\qquad T\succ0\text{ diagonal}.\]

Feasibility \(M(L,T)\succeq0\) certifies \(L\). The matrix contains the weights and omits the biases.

Let \(q=(1,0,1)^\top\). For any diagonal \(T\), evaluating the matrix quadratic form at \((1,q)\) gives

\[(1,q)^\top M(L,T)(1,q)=L^2-9.\]

The multiplier terms cancel because each \(q_i\) is zero or one. Every feasible certificate therefore has \(L\geq3\), including for the first network’s unrealizable gate pattern.

Now choose

\[T=\operatorname{diag}(3,6,6),\qquad R=2T-vv^\top= \begin{bmatrix} 5&2&-2\\ 2&8&4\\ -2&4&8 \end{bmatrix}.\]

The leading principal minors of \(R\) are \(5,36,144\), so \(R\succ0\). Also \(Rq=Tu=(3,6,6)^\top\) and \(q^\top Rq=9\). For every scalar \(s\) and vector \(z\in\mathbb R^3\),

\[(s,z)^\top M(3,T)(s,z) =(z-sq)^\top R(z-sq)\geq0.\]

This proves feasibility at three. Combined with the lower bound, the full diagonal SDP optimum is exactly \(L_{\rm neuron}=3\) for both networks.

Solve the scalar restriction analytically

Section 3.3 restricts the normalized layer variable to \(A=aI\). Apply the paper’s recursive form to our weights. There is one hidden layer, so the final subproblem’s mixing coefficient is zero.

Set \(B=uu^\top\). Its eigenvalues are \(3,0,0\), so feasibility requires \(a>3\). Since \(B^2=3B\),

\[\begin{aligned} C(a)&=\frac14\left[aI+B+B(aI-B)^{-1}B\right]\\ &=\frac a4 I+\frac{a}{4(a-3)}uu^\top. \end{aligned}\]

Using \(v^\top v=9\) and \(v^\top u=1\), the squared certificate becomes

\[J(a)=v^\top C(a)v =\frac a4\left(9+\frac1{a-3}\right),\qquad a>3.\]

It diverges at both ends of the feasible interval, and

\[J'(a)=\frac14\left(9-\frac3{(a-3)^2}\right),\qquad J''(a)=\frac3{2(a-3)^3}>0.\]

The unique minimizer and its certificate are

\[a_*=3+\frac1{\sqrt3},\qquad \min J=7+\frac{3\sqrt3}{2},\qquad L_{\rm layer}=\frac{3\sqrt3+1}{2}\approx3.098076.\]

This is the analytic optimum of the scalar subproblem. More accurate minimization within that family cannot lower it to three, much less to the first network’s true constant one.

For \(f\), the exact hierarchy is

\[L_f=1<L_{\rm neuron}=3 <L_{\rm layer}=\frac{3\sqrt3+1}{2} <L_{\rm product}=3\sqrt3.\]

All three numeric upper bounds also apply to \(g\), whose exact constant is three.

Research judgment

The first gap comes from allowing an activation pattern that the input and biases cannot realize. The next comes from replacing neuronwise multiplier freedom with one scalar per layer. The scalar problem above has no remaining minimization error at its analytic solution. These are distinct sources of looseness.

The paper’s SDP suboptimality bound compares solutions under the same parameterization. It does not identify the SDP optimum with the exact Lipschitz constant. The two bias settings show why that distinction matters even in a three-unit network.

For robustness or control applications, I would track an attained slope or input-pair witness alongside the upper certificate, and report which multiplier family was optimized. A large witness-to-certificate gap suggests investigating activation feasibility; it need not indicate an inadequate numerical solver. Faster certificate optimization remains useful, but it addresses a different part of the error budget.

This example uses scalar inputs and outputs, three ReLU units and a global domain. The finite slope enumeration makes exact constants accessible here. Larger networks need separate reasoning about feasible activation regions and numerical feasibility of their certificates.

Four panels compare bias order, exact slopes, a relaxed activation pattern and a common optimized scalar Lipschitz upper bound.

The comic was created with AI.