13. Lipschitz-by-Design Networks & Direct Parameterizations
Orthogonal and Cayley layers, SLL, Sandwich layers, Pauli's Cayley–Gramian CNNs and LipKernel, RENs, and the certified-robustness state of the art
This module assumes:
- LipSDP: slope restrictions, diagonal multipliers, and the network certificate (Module 12)
- Schur complements and congruence transformations (Module 2)
- Positive definiteness, matrix square roots, and Cholesky factors (Primer A)
- Singular values, spectral norms, and pseudoinverses (Primer A)
- Neural-network layers, activation derivatives, and backpropagation (Primer E)
- Incremental dissipativity, weighted gains, and composition (Module 2)
- Convolutions as FIR systems, pooling, and Roesser realizations (Module 12)
- Controllability Gramians and discrete-time Lyapunov equations (Primer D)
- Frequency response, Fourier representations, and signal-energy gains (Primer D)
- Classification margins and certified perturbation radii (Module 12)
Book contents · Apply this chapter to a real decision · Glossary
On a first pass, follow the links below and solve the Easy set before opening the research exercises. Try each question on paper; open its hint only when stuck, then compare your reasoning with the worked solution. Use Medium questions to connect the algebra and Hard questions to check the assumptions.
§1: certified parameter sets · §2: norm preservation and Cayley · §3: scalar SLL and Sandwich · §4: optional systems extension
Practice: 4 Easy · 4 Medium · 4 Hard · original research exercises. Check readiness or use the course study guide.
A scalar model of “by construction”
Suppose a scalar weight must obey $|w|\le1$. The free parameterization $w=\tanh\theta$ meets the constraint for every real $\theta$: training can move $\theta$ freely. It reaches only $(-1,1)$, so validity does not imply completeness at the boundary. In contrast, adding a penalty $\lambda w^2$ to a loss lets training trade a larger weight against a smaller loss; a finite penalty does not enforce $|w|\le1$.
The matrix constructions replace this interval fact by identities such as $Q^\top Q=I$ or $H=PP^\top\succeq0$. Before reading their formulas, check the dimensions, the domain of each inverse, and the set for which completeness is claimed. Matrix multiplication and transposes and Gram matrices and PSD factors supply the needed algebra.
Module 12 answered the analysis question: given the weights, LipSDP returns a certified Lipschitz bound, and constrained training (ADMM, barriers) can push it down. This module turns the question around and builds the certificate into the architecture: every weight is a function of free parameters (smooth in the Cayley-based constructions), chosen so that the Lipschitz certificate holds for every value of the free parameters in its stated domain. For a direct parameterization with domain $\mathbb R^N$, training is then unconstrained SGD (see Primer B), and every iterate, including the deployed one, is certified in exact arithmetic. The Cayley–Gramian construction below additionally requires nonsingular gain factors; approximate orthogonal updates need their numerical error included.
The algebra is small: a Schur complement turns a Lipschitz LMI into a norm bound, and a norm bound is met by construction with a matrix with orthonormal columns, which the Cayley transform produces from arbitrary matrices. The control-theoretic twist, due to Patricia Pauli and co-authors, is to treat convolutions as dynamical systems (with Dennis Gramlich and Frank Allgöwer), so that the storage matrix of their dissipativity certificate can be chosen as the inverse of a controllability Gramian (see Primer D) in closed form (with Ruigang Wang, Ian Manchester and Frank Allgöwer). The same ideas give recurrent models that are contracting by construction (RENs, R2DN), which Module 14 uses as certified controllers.
Lipschitz bound: $\operatorname{Lip}(f)$ is the smallest $\gamma$ with $\|f(x)-f(y)\|\le\gamma\|x-y\|$ for all $x,y$; "nonexpansive" means $\operatorname{Lip}\le1$. All constructions below that invert a gain assume $\gamma\gt0$ and $\rho\gt0$. The bound is written $\gamma$ in the Sandwich/LBDN and REN papers, $\rho$ in Pauli et al. (CDC 2023) and LipKernel; both are the bound itself (certificates contain $\gamma I$ or $X_0=\rho^2I$), whereas LipSDP's $\rho=L^2$ is the squared bound. No discount factor or information gain appears here, so $\gamma$ is free for this role.
Multipliers: Module 12's diagonal $T=\operatorname{diag}(\lambda_i)$ is called $\Lambda\succ0$ here (see Primer A), as in the papers; in SLL, $T$ is the diagonal matrix in $W^{\top}W\preceq T$ and the multiplier is $2T^{-1}$.
Clashes: in Section 3 and the walkthrough, $A_k,B_k$ are the blocks of a Cayley-generated matrix with orthonormal columns (Wang & Manchester); in Sections 4–5, $(A,B,C,D)$ are state-space matrices and the Cayley blocks are $U,V$ (Pauli). Layer gain matrices are $Q_i$ in Pauli et al. (CDC 2023) and $X_k$ in LipKernel; the REN IQC uses an unrelated $(Q,S,R)$ with $Q\preceq0$; $L$ counts hidden layers in Section 3 but is a Lipschitz constant in Section 6, and $L_i$ in Section 4 is a matrix square root. $X_k,Y_k$ are free Cayley parameters, but in the one-layer identity of Section 3 and Exercise 13.3, $U$ and $Y$ are the layer's input and output matrices (the paper's notation); $Q$ is also an orthogonal matrix (Section 2) and SLL's diagonal scaling (Section 3); in Section 5, $\alpha$ and $\bar\alpha$ are contraction rates, unrelated to the slope bound $\alpha=0$.
1. Constrain or Parameterize?
The training problem we would like to solve is
where $\mathcal L$ is the training loss, $\theta$ collects the trainable parameters and "s.t." means "subject to": a constrained optimization problem whose feasible points are the $\theta$ satisfying the constraint (see Primer B). Computing $\operatorname{Lip}(f_\theta)$ exactly is NP-hard already for two-layer ReLU networks (Virmaux & Scaman, NeurIPS 2018), so the constraint is always replaced by a certificate set $\Theta_{\rm cert}(\gamma)\subseteq\{\theta:\operatorname{Lip}(f_\theta)\le\gamma\}$, e.g. "there is a diagonal $\Lambda\succ0$ satisfying the LipSDP LMI" (Fazlyab et al., NeurIPS 2019; Module 12). There are three ways to live with that set.
- Constrain: optimize over $\Theta_{\rm cert}$ with ADMM (Pauli et al., L-CSS 2022), log-det barriers (Pauli et al., CDC 2022) or projections (Module 12). The set is not jointly convex in $(W,\Lambda)$; the substitution $\hat W=\Lambda W$ makes it an LMI, but every step still touches a semidefinite constraint. Normalized training times on the CDC 2022 toy example: 1 (nominal), 7.35 (projected), 78.72 (ADMM), 1.15–1.30 (barrier); Wang & Manchester report that barriers and projections become the bottleneck around $10^3$ neurons.Derivation — why $\hat W=\Lambda W$ gives an LMI
In the one-hidden-layer LMI of Section 3, $H=\begin{bmatrix}\gamma I&-W_0^{\top}\Lambda&0\\-\Lambda W_0&2\Lambda&-W_1^{\top}\\0&-W_1&\gamma I\end{bmatrix}\succeq0$, the only products of unknowns are $\Lambda W_0$ and $W_0^{\top}\Lambda$. With the new variable $\hat W_0=\Lambda W_0$ the off-diagonal blocks become $-\hat W_0^{\top},-\hat W_0,-W_1^{\top},-W_1$, so $H$ is affine in $(\hat W_0,\Lambda,W_1,\gamma)$: an LMI. The network is recovered as $W_0=\Lambda^{-1}\hat W_0$ ($\Lambda$ is positive diagonal, hence invertible). Only the constraint becomes convex; the training loss, written in the new variables, is still nonconvex.
- Regularize: penalize a differentiable bound, e.g. the loop-transformation bound LipLT with a margin regularizer (Fazlyab, Entesari, Roy & Chellappa, NeurIPS 2023). Cheap, but nothing forces the certified bound below a prescribed $\gamma$.Going deeper — what LipLT computes, and why a penalty is not a constraint
A bound routine returns a differentiable $U(\theta)\ge\operatorname{Lip}(f_\theta)$, and training minimizes $\mathcal L(f_\theta)+\lambda U(\theta)$ with $\lambda\ge0$ (or a margin loss built from $U$). For one hidden layer, $f(x)=W_1\varphi(W_0x+b_0)+b_1$ with slopes in $[0,1]$, the loop transformation splits $\varphi(t)=\tfrac t2+r(t)$: $r$ has slopes in $[-\tfrac12,\tfrac12]$, so it is $\tfrac12$-Lipschitz, and $f(x)=\tfrac12W_1W_0x+W_1r(W_0x+b_0)+\text{const}$. Bounding the two terms separately gives
$$\operatorname{Lip}(f)\le U=\tfrac12\|W_1W_0\|_2+\tfrac12\|W_1\|_2\|W_0\|_2\ \le\ \|W_1\|_2\|W_0\|_2 ,$$never worse than the product bound because the first term sees the combined direction of $W_1W_0$; deeper networks repeat the transformation layer by layer (Fazlyab et al., NeurIPS 2023). A finite $\lambda$ lets training trade a larger $U$ for a smaller loss, so nothing enforces $U(\theta)\le\gamma$.
- Parameterize: choose a smooth map whose image lies inside $\Theta_{\rm cert}(\gamma)$ and train over its unconstrained argument. This module.
Layer-wise versus network-wise certificates
The cheapest certificate multiplies layer bounds, $\operatorname{Lip}(f)\le\prod_k\|W_k\|$ for 1-Lipschitz activations (Module 12); making every layer 1-Lipschitz (Section 2) is the corresponding design principle. It ignores that the directions amplified by one layer need not be those amplified by the next. Network-level certificates such as LipSDP couple the layers through multipliers, and their parameterizations produce networks whose individual layers have norms well above 1 while the network is still $\gamma$-Lipschitz (Wang & Manchester, Remark C.2; see the explorer). LipKernel's Fig. 1 shows it geometrically: propagating ellipsoids through a two-layer network certifies bound 1 where propagating balls certifies almost 2.
Expressivity: why gradient norm has to be preserved
In words: backpropagation multiplies the gradient by $W_k^{\top}$ (norm at most 1) and by diagonal activation Jacobians with entries in $[0,1]$; to arrive with norm exactly 1, every unit that matters must sit on a slope-1 piece everywhere, so $f$ is affine. The norm bound makes each factor non-expansive; "elementwise and monotone" restricts the Jacobian to a diagonal with entries in $[0,1]$ (a sorting activation escapes because its Jacobian is a permutation). Hence a ReLU network with $\|W_k\|\le1$ cannot represent $|x|$ and can be too restrictive for Wasserstein critics, which optimize over all scalar 1-Lipschitz functions (Anil et al., ICML 2019). The remedy: weights may be taken orthonormal without changing the function (their Thm 2, under the unit-gradient hypothesis; stated below), and activations must be gradient-norm preserving: GroupSort sorts groups of pre-activations, and its group-size-2 case MaxMin maps $(a,b)\mapsto(\max(a,b),\min(a,b))$. With both, scalar-output networks approximate every 1-Lipschitz function (their Thm 3, below).
For probability distributions $\mu,\nu$ on $\mathbb R^n$ with finite mean distance from the origin, the Wasserstein-1 distance $\mathcal W_1(\mu,\nu)$ is the smallest expected travel distance $\mathbb E\|X-Y\|$ over all random pairs $(X,Y)$ with $X\sim\mu$, $Y\sim\nu$ (the cheapest way to move the mass of $\mu$ onto $\nu$). Kantorovich–Rubinstein duality turns this into a maximization over scalar functions, $\mathcal W_1(\mu,\nu)=\sup_{\operatorname{Lip}(f)\le1}\big(\mathbb E_\mu f-\mathbb E_\nu f\big)$, and a maximizing $f$ is called a critic. Example: point masses at $0$ and $2$ have $\mathcal W_1=2$, attained by $f(x)=-x$. A Wasserstein GAN learns the critic with a 1-Lipschitz network; if the network family cannot represent good critics (e.g. $|x|$-shaped ones), the estimated distance is too small. This is the application that motivated gradient-norm-preserving networks (Anil et al., ICML 2019).
In words: the family is dense in the 1-Lipschitz functions for the sup norm: one error bound for all inputs at once, reached by letting the network grow as $\varepsilon$ shrinks. It is approximation, not exact representation by a fixed architecture.
The table orders the approaches of this module by what holds for every parameter value; "layer" certificates make each layer 1-Lipschitz, "network" certificates couple layers through multipliers or gain matrices.
| Approach | What holds for every parameter value | Mechanism | Level | Main cost / limitation |
|---|---|---|---|---|
| Spectral normalization | $\|W\|\le1$ (only if $\sigma(W)$ is exact) | divide by a power-iteration estimate (see Primer A) | layer | loose product bound |
| Parseval networks | approximately $WW^{\top}=I$ (orthonormal rows) | retraction after each update | layer | no exact certificate |
| Cayley / Orthogon | $W$ orthogonal (no eigenvalue $-1$) | Cayley transform per FFT frequency (see Primer D) | layer | FFTs in every pass, inverses when the weights change; circular padding (see Primer E) |
| SOC | orthogonal up to truncation error | exponential of a skew-symmetric conv (see Primer D) | layer | error $\|J\|^k/k!$ |
| BCOP | orthogonal convolution | block products of projectors | layer | incomplete |
| AOL | $\|WD\|\le1$ | diagonal rescaling | layer | tight only near orthogonal $W$ |
| SLL | $W^{\top}W\preceq T$ in a residual layer (see Primer E) | analytic diagonal $T$ (Gershgorin) | layer | per-layer certificate, no coupling between layers |
| Sandwich (LBDN) | the full LipSDP LMI | Cayley blocks and $\Psi=\operatorname{diag}(e^d)$ | network | Fourier-domain convolutions |
| Cayley–Gramian, LipKernel | layer-wise dissipativity LMIs | Gramian, Cayley, Cholesky (see Primer A) | network | inverses at training time only |
| REN, R2DN | contraction and an incremental IQC | $H=X^{\top}X+\epsilon I$ read blockwise | dynamic | equilibrium solve, REN only (see Primer E) |
| LipNeXt | $W^{\top}W=I$ up to the truncation error of each update, reset by a polar retraction every epoch | optimization on the orthogonal manifold | layer | not a parameterization |
2. Spectral Normalization, Parseval, Cayley, SOC, AOL
The layer-wise route makes every affine layer 1-Lipschitz and uses $\operatorname{Lip}(g\circ h)\le\operatorname{Lip}(g)\operatorname{Lip}(h)$. A linear layer $x\mapsto Wx$ is 1-Lipschitz iff $\|W\|\le1$. It is gradient-norm preserving, i.e. backpropagation $g\mapsto W^{\top}g$ keeps $\|g\|$ for every $g$ (Li et al., NeurIPS 2019), iff $WW^{\top}=I$ (orthonormal rows); the forward map keeps every $\|x\|$ iff $W^{\top}W=I$ (orthonormal columns), and a square orthogonal $W$ does both. A tall $W$ with orthonormal columns has all singular values 1 but is not gradient-norm preserving: $W=(1,0)^{\top}$ sends $g=(0,1)^{\top}$ to $0$. The methods differ in how exactly and cheaply they enforce this, and whether they work for convolutions.
Spectral normalization and Parseval networks
Parseval networks keep a weight $W\in\mathbb R^{d_{\rm out}\times d_{\rm in}}$, $d_{\rm out}\le d_{\rm in}$, close to a Parseval tight frame, $WW^{\top}=I$ (orthonormal rows), with the Frobenius-norm regularizer $R_\beta(W)=\tfrac\beta4\|WW^{\top}-I\|_F^2$, whose gradient is $\beta(WW^{\top}-I)W$ (see Primer B), and take one unit gradient step on it after every main update: $W\leftarrow(1+\beta)W-\beta WW^{\top}W$ (Cisse et al., ICML 2017; the paper prints the penalty as $\tfrac\beta2\|W^{\top}W-I\|_2^2$, which does not have this gradient). In the SVD $W=U\Sigma V^{\top}$ this maps each singular value $s\mapsto(1+\beta)s-\beta s^3$, which has an attracting fixed point at $s=1$ for $0\lt\beta\lt1$ (see Primer D). The result is only approximately orthogonal, so there is no certificate without a post-hoc norm computation.
Gradient. With $E=WW^{\top}-I$ (symmetric), $R_\beta=\tfrac\beta4\operatorname{tr}(E^2)$, so $dR_\beta=\tfrac\beta2\operatorname{tr}(E\,dE)$ with $dE=dW\,W^{\top}+W\,dW^{\top}$ (see Primer B). Both terms equal $\operatorname{tr}\big((EW)^{\top}dW\big)$ by the cyclic property of the trace, hence $dR_\beta=\beta\operatorname{tr}\big((EW)^{\top}dW\big)$ and $\nabla R_\beta=\beta(WW^{\top}-I)W$.
Singular values. With the SVD $W=U\Sigma V^{\top}$, $WW^{\top}W=U\Sigma^3V^{\top}$, so the step $W-\nabla R_\beta=(1+\beta)W-\beta WW^{\top}W=U\big((1+\beta)\Sigma-\beta\Sigma^3\big)V^{\top}$ acts on each singular value by $g(s)=(1+\beta)s-\beta s^3$. Now $g(1)=1$ and $g'(1)=1+\beta-3\beta=1-2\beta$, and $|g'(1)|\lt1$ exactly when $0\lt\beta\lt1$: then iterates that start close to $1$ converge to $1$. This is a local statement, not convergence from arbitrary weights.
The Cayley transform
(i) $x^{\top}Ax$ equals its own transpose $x^{\top}A^{\top}x=-x^{\top}Ax$, so it is $0$ and $x^{\top}(I+A)x=\|x\|^2\gt0$ for $x\ne0$: the kernel of $I+A$ is trivial.
(ii) $I\pm A$ are polynomials in $A$, so they commute (see Primer A), and so do $I-A$ and $(I+A)^{-1}$. With $(I+A)^{\top}=I-A$ and $(I-A)^{\top}=I+A$: $$Q^{\top}Q=(I-A)^{-1}(I+A)(I-A)(I+A)^{-1}=(I-A)^{-1}(I-A)(I+A)(I+A)^{-1}=I .$$
(iii) If $Qv=-v$, $v\ne0$, put $w=(I+A)^{-1}v\ne0$: then $(I-A)w=-(I+A)w$, i.e. $2w=0$, a contradiction. Also $\det Q=\det\big((I+A)^{\top}\big)/\det(I+A)=1$.
(iv) $Q(I+A)=I-A$ is equivalent to $(I+Q)A=I-Q$, uniquely solvable exactly when $-1\notin\operatorname{spec}(Q)$, with solution $A=(I+Q)^{-1}(I-Q)=(I-Q)(I+Q)^{-1}$ (functions of $Q$ commute, as in (ii)). It is skew-symmetric: using $Q^{\top}=Q^{-1}$, $I-Q^{-1}=Q^{-1}(Q-I)$ and $(I+Q^{-1})^{-1}=(Q+I)^{-1}Q$, $$A^{\top}=(I-Q^{-1})(I+Q^{-1})^{-1}=Q^{-1}(Q-I)(Q+I)^{-1}Q=(Q-I)(Q+I)^{-1}=-A .\qquad\blacksquare$$
Two dimensions. For $A=\begin{bmatrix}0&a\\-a&0\end{bmatrix}$, $Q=\frac{1}{1+a^2}\begin{bmatrix}1-a^2&-2a\\2a&1-a^2\end{bmatrix}$, a rotation by $\theta=2\arctan a$ (put $a=\tan(\theta/2)$ in the double-angle formulas). As $a\to\pm\infty$ the angle tends to $\pm\pi$ without reaching it: $Q=-I$ is missing, and so are all reflections. Trockman & Kolter note that a fixed diagonal $\pm1$ factor recovers them, but that choice is discrete and cannot be learned by gradient descent. Explorer (a) below animates this. Rectangular version: for free $X\in\mathbb R^{n\times n}$, $Y\in\mathbb R^{m\times n}$ and $Z=X-X^{\top}+Y^{\top}Y$, the matrix $\big[(I+Z)^{-1}(I-Z);\,-2Y(I+Z)^{-1}\big]$ has orthonormal columns (walkthrough, Step 3). Pauli et al. write the same map as $U=(I+M)^{-1}(I-M)$, $V=2Z(I+M)^{-1}$ with $M=Y-Y^{\top}+Z^{\top}Z$; the sign of the lower block is irrelevant.
Cayley convolutions. The 2-D DFT block-diagonalizes a circular convolution with $c$ channels on $n\times n$ images, $\mathrm{FFT}(\mathrm{conv}_W(X))[:,i,j]=\tilde W[:,:,i,j]\,\tilde X[:,i,j]$, and transposes or inverts it frequency by frequency. Trockman & Kolter skew-symmetrize per frequency ($\tilde A=\tilde W-\tilde W^{*}$), apply the Cayley transform to each $c\times c$ block and return with an exactly real inverse FFT. Price: $n^2$ inverses of $c\times c$ matrices, $O(n^2c^3)$ operations (see Primer 0), per layer and training forward pass (with frozen weights the transformed blocks can be cached; see "Inference cost" below), circular padding only, strides emulated by invertible downsampling.
Complex matrices. For $z=a+\mathrm ib$ ($\mathrm i^2=-1$) the conjugate is $\bar z=a-\mathrm ib$ and $|z|^2=\bar zz=a^2+b^2$. For complex vectors and matrices the adjoint $M^{*}=\bar M^{\top}$ takes the place of the transpose, and $\|v\|_2^2=v^{*}v$. Hermitian ($M^{*}=M$), skew-Hermitian ($M^{*}=-M$) and unitary ($M^{*}M=I$) are the complex versions of symmetric, skew-symmetric and orthogonal; e.g. the $1\times1$ matrix $[\mathrm i]$ is skew-Hermitian and unitary. For skew-Hermitian $A$, the Cayley construction has invertible $I+A$, gives a unitary $Q$ with no eigenvalue $-1$, and is a bijection onto the unitary matrices with that exclusion, with ${}^{\top}$ replaced by ${}^{*}$. Here $|\det Q|=1$; the conclusion $\det Q=+1$ is specific to real skew-symmetric $A$ and need not hold over $\mathbb C$: $A=[\mathrm i]$ gives $Q=[-\mathrm i]$ (see Primer A).
Why frequency blocks. The unitary DFT $F$ ($F^{*}F=I$; Primer D) turns a circular convolution $C$, after grouping the $c$ channels of each frequency together, into $FCF^{*}=\operatorname{blkdiag}_\omega(\tilde W_\omega)$ with one $c\times c$ block per frequency $\omega=(i,j)$; the colons in the formula above select all channels. Hence $\|C\|_2=\max_\omega\|\tilde W_\omega\|_2$, and $C$ is orthogonal iff every block is unitary, which the Cayley transform of the skew-Hermitian $\tilde A_\omega$ guarantees. For a real filter the blocks come in conjugate pairs, $\tilde W_{-\omega}=\overline{\tilde W_\omega}$; skew-symmetrization and the Cayley transform preserve this pairing, so the inverse FFT returns a real layer. (The DFT is the change of coordinates, the FFT a fast algorithm for it; $O(n^2c^3)$ counts $n^2$ dense $c\times c$ solves at cubic cost each, a scaling statement, not a runtime.)
Invertible downsampling rearranges instead of deleting: in 1-D the even-indexed entries go to one channel and the odd-indexed entries to another; in 2-D the four parity classes of pixel positions become four channel groups. This permutes coordinates, so it preserves the Euclidean norm and is invertible; ordinary subsampling discards entries.
SOC and BCOP
For skew-symmetric $J$, $\exp(J)^{\top}\exp(J)=\exp(-J)\exp(J)=I$. Skew Orthogonal Convolutions build a filter whose Jacobian is skew-symmetric ($L=M-\mathrm{conv\_transpose}(M)$ for an arbitrary filter $M$, their Theorem 2) and apply the convolution exponential truncated after $k$ terms (Singla & Feizi, ICML 2021).
BCOP builds orthogonal convolutions as block convolutions of an orthogonal matrix with symmetric projectors, $W=H\,\Box\,[P_1\ \ I-P_1]\,\Box\cdots\Box\,[P_{K-1}\ \ I-P_{K-1}]$, $P_i=P_i^2=P_i^{\top}$ (1-D case; see the fact below). It also shows why such parameterizations are incomplete: 1-D orthogonal convolutions with kernel size $K$ and $n$ channels form $2(K-1)n+2$ connected components, while a continuous map from $\mathbb R^N$ reaches only one (Li et al., NeurIPS 2019): $\mathbb R^N$ is path-connected and continuous images of path-connected sets are path-connected, so a continuous parameterization cannot jump between components, however many parameters it has (see Primer 0; the simplest case is $O(1)=\{-1,1\}$, which no continuous map from $\mathbb R$ covers).
Proof: the two-tap filter $[P\ \ I-P]$ has frequency response $\hat P(\omega)=P+e^{-\mathrm i\omega}(I-P)$, and since $P(I-P)=0$, $$\hat P(\omega)^{*}\hat P(\omega)=\big(P+e^{\mathrm i\omega}(I-P)\big)\big(P+e^{-\mathrm i\omega}(I-P)\big)=P^2+(I-P)^2=I .$$ Composition multiplies frequency responses, and products of unitary matrices (and the constant $H$) are unitary, so by Parseval the composed filter preserves energy. In words: each projector splits the channels into two orthogonal subspaces and delays one of them, which cannot change the total energy. With zero padding and cropping the layer is only nonexpansive.
AOL: almost-orthogonal layers
With $M=P^{\top}P$ and $a_i=d_iv_i$, using $|a_i||a_j|\le\tfrac12(a_i^2+a_j^2)$ and the symmetry of $|M|$: $$v^{\top}DP^{\top}PDv=\sum_{i,j}M_{ij}a_ia_j\le\sum_{i,j}|M_{ij}|\,\frac{a_i^2+a_j^2}{2}=\sum_i\Big(\sum_j|M_{ij}|\Big)d_i^2v_i^2=\|v\|^2 .$$ If the columns of $P$ are orthogonal, $M$ is diagonal and every step is an equality. $\blacksquare$
AOL needs no inverse, FFT or iteration; for convolutions the rescaling is channel-wise, so the trained layer is an ordinary convolution, and the learned $PD$ ends up almost orthogonal (Prach & Lampert, ECCV 2022). Section 3 shows it is one analytic solution of a single matrix inequality.
The cost of orthogonality
Expressivity: 1-Lipschitz layers compose to networks whose true constant is often far below the certified 1. Wang & Manchester's toy regression of a discontinuous function (their Table 1) measures tightness as empirical lower bound over certified bound:
| Model | $\gamma=1$ | $\gamma=5$ | $\gamma=10$ |
|---|---|---|---|
| AOL | 77.2% | 45.2% | 47.9% |
| Orthogonal (Cayley) | 74.1% | 72.8% | 64.5% |
| SLL | 99.9% | 90.5% | 67.9% |
| Sandwich | 99.9% | 99.3% | 94.0% |
Inference cost: Fourier-domain layers recompute their per-frequency Cayley inverses whenever the weights change, i.e. in training. With frozen weights and a fixed image size the transformed blocks can be computed once and cached (Wang & Manchester's code does this in evaluation mode), so an inference pass needs FFTs, per-frequency matrix products and inverse FFTs but no inverses, and no image-size kernel has to be materialized. LipKernel (Section 4) reports standard-form kernels two to three orders of magnitude faster in its benchmark, which matters inside a feedback loop.
3. SLL and Sandwich Layers: LMIs Solved by Construction
Section 2 bounded weights. The two constructions here take a LipSDP-type LMI, which also involves the activation through its multiplier, and solve it analytically: SLL layer by layer for residual blocks, the Sandwich parameterization for the whole network.
One inequality behind SN, orthogonal layers, AOL and CPL
Statement 1 is one line: $\|g(x)-g(y)\|^2=(x-y)^{\top}T^{-1/2}W^{\top}WT^{-1/2}(x-y)\le\|x-y\|^2$. Every known 1-Lipschitz layer is a choice of $T$: SN is $T=\|W\|^2I$ in Statement 1; orthogonal layers are $T=I$ with $W^{\top}W=I$; AOL is $T=\operatorname{diag}\big(\sum_j|W^{\top}W|_{ij}\big)$, for which $T-W^{\top}W$ is diagonally dominant with nonnegative diagonal, hence PSD; CPL (Meunier et al. 2022) is the SN choice in Statement 2; SLL is Statement 2 with $T_{ii}=\sum_j|W^{\top}W|_{ij}\,q_j/q_i$ for learnable $q_i\gt0$ (e.g. $q_i=e^{r_i}$ with free $r_i$). Here $|W^{\top}W|_{ij}$ is the absolute value of the $(i,j)$ entry. Since $T_{ii}\ge(W^{\top}W)_{ii}=\|w_i\|^2$ for the $i$-th column $w_i$ of $W$, this $T$ is nonsingular unless a column of $W$ vanishes; adding a fixed $\epsilon\gt0$ to every $T_{ii}$ removes that exception and keeps $T\succeq W^{\top}W$, because $\epsilon I\succeq0$.
Step 1 (QC). For $h(x)=Hx+G\varphi(W^{\top}x+b)$ and two inputs, let $\Delta\varphi=\varphi(W^{\top}x+b)-\varphi(W^{\top}y+b)$ and $\Delta v=W^{\top}\Delta x$. Slope restriction gives $\Delta\varphi_i(\Delta v_i-\Delta\varphi_i)\ge0$ per channel; a conic combination with a diagonal $\Lambda\succeq0$ gives $2\Delta\varphi^{\top}\Lambda(W^{\top}\Delta x-\Delta\varphi)\ge0$ (Module 2).
Step 2 (S-procedure). Subtracting this nonnegative term, $$\begin{aligned}\|\Delta x\|^2-\|\Delta h\|^2&\ge\|\Delta x\|^2-\|H\Delta x+G\Delta\varphi\|^2-2\Delta\varphi^{\top}\Lambda(W^{\top}\Delta x-\Delta\varphi)\\&=\begin{bmatrix}\Delta x\\\Delta\varphi\end{bmatrix}^{\top}\begin{bmatrix}I-H^{\top}H&-H^{\top}G-W\Lambda\\-G^{\top}H-\Lambda W^{\top}&2\Lambda-G^{\top}G\end{bmatrix}\begin{bmatrix}\Delta x\\\Delta\varphi\end{bmatrix},\end{aligned}$$ so PSD of this matrix makes $h$ 1-Lipschitz (Theorem 4 of Araujo et al.; with $H=0$ it is one-layer LipSDP).
Step 3 (solve it). Choose $H=I$, $G=-2WT^{-1}$, $\Lambda=2T^{-1}$: the $(1,1)$ block is $0$, the off-diagonal block is $2WT^{-1}-2WT^{-1}=0$, and the $(2,2)$ block is $4T^{-1}(T-W^{\top}W)T^{-1}$, PSD iff $W^{\top}W\preceq T$ (congruence with $T^{-1}$). $\blacksquare$ The residual structure "uses up" the input block, so the certificate collapses to one inequality of the size of the layer width, which is why SLL scales.
Why: $T-QW^{\top}WQ^{-1}=Q(T-W^{\top}W)Q^{-1}$ is similar to the symmetric $T-W^{\top}W$ (a similarity $QMQ^{-1}$ keeps the eigenvalues themselves; a congruence $Q^{\top}MQ$ would keep only their signs), so it has the same real eigenvalues. Gershgorin's theorem puts every eigenvalue of a square matrix $M$ in one of the discs $|z-M_{ii}|\le\sum_{j\ne i}|M_{ij}|$; here the discs are centred at nonnegative diagonal entries with radii no larger than those entries, so the eigenvalues are $\ge0$. The $q_i$ are trained with the weights; $q_i\equiv1$ recovers AOL's choice of $T$, here used in the residual layer of Statement 2.
The Sandwich layer: a complete parameterization of LipSDP
Wang & Manchester consider $z_0=x$, $z_{k+1}=\varphi(W_kz_k+b_k)$ ($k=0,\dots,L-1$), $y=W_Lz_L+b_L$, with $W_k\in\mathbb R^{n_{k+1}\times n_k}$ and $\varphi$ piecewise differentiable and slope-restricted in $[0,1]$ (their Assumption 2.1), and write LipSDP with the bound $\gamma$ itself.
A block-bidiagonal factor $H=PP^{\top}$ automatically has the tridiagonal pattern; the difficulty is to make the middle diagonal blocks diagonal. Wang & Manchester build the blocks of $P$ as $\Psi_kA_k$ and $\Psi_kB_k$ with $[A_k^{\top};B_k^{\top}]$ from a Cayley transform, so that $A_kA_k^{\top}+B_kB_k^{\top}=I$ collapses each diagonal block to a diagonal matrix. Reading off the weights gives:
Multiplying blocks (see Primer A), a lower block-bidiagonal $P$ gives a block-tridiagonal $PP^{\top}$, the pattern of $H$: $$P=\begin{bmatrix}D_0&0&0\\E_1&D_1&0\\0&E_2&D_2\end{bmatrix},\qquad PP^{\top}=\begin{bmatrix}D_0D_0^{\top}&D_0E_1^{\top}&0\\E_1D_0^{\top}&E_1E_1^{\top}+D_1D_1^{\top}&D_1E_2^{\top}\\0&E_2D_1^{\top}&E_2E_2^{\top}+D_2D_2^{\top}\end{bmatrix}.$$ Take $D_0=\sqrt\gamma\,I$, $E_1=-\sqrt2\,\Psi_0B_0$, $D_1=\sqrt2\,\Psi_0A_0$. Then the first block is $\gamma I$, the block below it is $-\sqrt{2\gamma}\,\Psi_0B_0=-\Lambda_0W_0$ for the $W_0=\sqrt{2\gamma}\,\Psi_0^{-1}B_0$ of the theorem below (with $\Lambda_0=\Psi_0^2$), and the middle block is $2\Psi_0\big(B_0B_0^{\top}+A_0A_0^{\top}\big)\Psi_0=2\Psi_0^2=2\Lambda_0$: diagonal, exactly because the Cayley blocks satisfy $A_0A_0^{\top}+B_0B_0^{\top}=I$. The output layer's Cayley blocks fill the last row: $E_2=-\sqrt\gamma\,B_1$ and $D_2=\sqrt\gamma\,A_1$ give $E_2D_1^{\top}=-W_1$ and $E_2E_2^{\top}+D_2D_2^{\top}=\gamma I$. So $H=PP^{\top}\succeq0$ for every value of the free parameters (checked numerically for random draws).
The converse is constructive ($\Psi_k=\Lambda_k^{1/2}$, $B_k=\tfrac12\Psi_kW_k\Psi_{k-1}^{-1}A_{k-1}^{-\top}$, $A_k$ from a Cholesky factor of $I-B_kB_k^{\top}$ times an orthogonal matrix chosen to avoid eigenvalue $-1$, then the inverse Cayley map). This recursion is the nonsingular case: on the boundary of the LMI a block $A_{k-1}$ can be singular (for one hidden layer, $\gamma=\Lambda_0=1$, $W_0=\sqrt2$, $W_1=0$ gives $B_0=1$, $A_0=0$), and the paper's Appendix D.3 then replaces $A_{k-1}^{-\top}$ by the pseudoinverse $(A_{k-1}^{\top})^{+}$, or by $I$ when $A_{k-1}=0$, which forces $W_k=0$; its sufficiency proof uses the matching generalized Schur complements. (For a singular pivot block $C$, $\begin{bmatrix}C&B^{\top}\\B&E\end{bmatrix}\succeq0$ iff $C\succeq0$, $(I-CC^{+})B^{\top}=0$ and $E-BC^{+}B^{\top}\succeq0$; the middle range condition, which says that the coupling only acts in directions where $C$ has energy, is what a pseudoinverse alone would miss; see Primer A.) So completeness is relative to LipSDP: every network LipSDP can certify is reached, not every $\gamma$-Lipschitz network. With $h_k=\sqrt2A_{k-1}^{\top}\Psi_{k-1}z_k$ the network becomes a composition of identical modules with decoupled parameters:
The proof is one identity (Exercise 13.3): with $U=\sqrt2\Psi^{-1}B$, $Y=\sqrt2A^{\top}\Psi$ and $\Lambda=\Psi^2$, $2\Lambda-Y^{\top}Y-\Lambda UU^{\top}\Lambda=2\Psi(I-AA^{\top}-BB^{\top})\Psi=0$, so the certificate sits exactly on the boundary of the PSD cone. $\Psi$ reshapes each activation channel ($\Psi\varphi(\Psi^{-1}v+b)$ still has slopes in $[0,1]$), while $B$ and $A^{\top}$ are the input and output halves of one matrix with orthonormal columns, "sandwiching" the nonlinearity.
Compute it from the inside out: $B$ changes input coordinates, $\Psi^{-1}$ rescales the activation inputs, $\varphi$ acts coordinate by coordinate, $\Psi$ restores the scale, and $A^\top$ forms the output. The two factors $\sqrt2$ belong to the certificate identity and must be kept. For a scalar channel with zero bias and ReLU, positive $\Psi$ scaling commutes with ReLU, so the expression reduces to $2A\operatorname{ReLU}(Bx)$. If also $B\ge0$, this is $2AB\operatorname{ReLU}(x)$; the Medium practice set computes such an example.
For general activations or nonzero biases, do not cancel the diagonal scalings through the activation as if it were linear. The proof uses slope restrictions and the shared identity $AA^\top+BB^\top=I$, so $A$ and $B$ must come from the same construction.
Network-level coupling. $W_k$ depends on the parameters of layers $k$ and $k-1$ ("interlacing"). The paper's Proposition C.1 shows the network satisfies weighted layer-wise norm bounds whose product is at most $\gamma$, while the plain norms $\|W_k\|$ and their product can exceed 1 even for $\gamma=1$ (Remark C.2); on random draws we found products far above 1, and the explorer lets you find your own.
- Initialize free parameters $\theta=\{X_k,Y_k,d_k,b_k\}$ arbitrarily (no feasibility needed).
- For each minibatch:
- per layer: $Z_k=X_k-X_k^{\top}+Y_k^{\top}Y_k$; $A_k^{\top}=(I+Z_k)^{-1}(I-Z_k)$, $B_k^{\top}=-2Y_k(I+Z_k)^{-1}$; $\Psi_k=\operatorname{diag}(e^{d_k})$ // one linear solve per layer
- forward pass $h_0=\sqrt\gamma x$, sandwich layers, $y=\sqrt\gamma B_Lh_L+b_L$; loss $\mathcal L$
- backpropagate through the solves and take an SGD/Adam step on $\theta$ // no projection, no SDP
- Deploy: for dense layers compute the $W_k$ once; the network is $\gamma$-Lipschitz by Theorem 3.1.
"Backpropagate through the solves" needs only the derivative of the defining equation: if a layer computes $v$ from $Mv=r$, then $(dM)\,v+M\,dv=dr$, so $dv=M^{-1}\big(dr-(dM)\,v\big)$, one more solve with the same matrix (see Primer B). Standard automatic differentiation uses this rule for linear solves rather than differentiating the elimination steps.
Convolutions and results. Circular, unstrided convolutions are evaluated in the Fourier domain ($s(\lfloor s/2\rfloor+1)$ parallel inverses of $q\times q$ complex matrices for $q$ channels and $s\times s$ images). SLL was slightly better on CIFAR-10 with a much larger model (41M versus 3M parameters), Sandwich about 4% better on CIFAR-100 (48M versus 118M) and, with last-layer normalization, 33.4% clean / 24.7% certified (see Primer E) at $\varepsilon=36/255$ on Tiny-ImageNet with 39M parameters versus 32.1% / 23.0% for the 1.1B-parameter SLL X-Large as quoted there (Wang & Manchester, ICML 2023); the SLL paper's own table lists 23.2% certified.
4. Lipschitz-Bounded CNNs: Cayley–Gramian and LipKernel (Pauli et al.)
Convolutions are where LipSDP-style certificates get expensive: as dense layers they are Toeplitz matrices growing with the signal length, in the Fourier domain they need circular padding and an inverse per frequency. Pauli et al. take a systems-theory route: a convolution is a finite impulse response (FIR) filter, a linear state-space system whose state is a window of past inputs. Its certificate is a dissipation inequality with quadratic storage, and the LMI size depends on kernel size and channels only, not on the signal length (Pauli, Gramlich & Allgöwer, L4DC 2023; Module 12).
Convolutional layers as FIR systems
A 1-D convolutional layer with $c_{i-1}$ input channels, $c_i$ output channels and kernel size $\ell_i$ computes $w^i_k=\varphi\big(b_i+\sum_{j=0}^{\ell_i-1}K^i_j\,w^{i-1}_{k-j}\big)$, $K^i_j\in\mathbb R^{c_i\times c_{i-1}}$. With the state $x^i_k\in\mathbb R^{(\ell_i-1)c_{i-1}}$ holding the last $\ell_i-1$ inputs (Pauli et al. CDC 2023, eqs. (5)–(6)):
$A_i$ is a block shift, hence nilpotent ($A_i^{\ell_i-1}=0$), and all learnable kernel entries sit in $\hat C_i$.
Here $\mathbb S^{c}$ is the set of real symmetric $c\times c$ matrices, and $\|v\|^2_{Q}:=v^{\top}Qv$; this is a squared norm, and $\{v:\|v\|_Q\le1\}$ an ellipsoid, only when $Q\succ0$, which the construction below guarantees through $Q_i=L_i^{\top}L_i$. At the flattening step, $N$ is the number of spatial positions: stacking the channel vectors $u_1,\dots,u_N$ of the positions one after another, $I_N\otimes Q=\operatorname{blkdiag}(Q,\dots,Q)$ and $\operatorname{vec}(u)^{\top}(I_N\otimes Q)\operatorname{vec}(u)=\sum_{k=1}^Nu_k^{\top}Qu_k$ (see Primer A; another flattening order permutes this matrix).
Step 1. Run the layer on two inputs from zero initial state and take increments: $\Delta x_{k+1}=A\Delta x_k+B\Delta u_k$, $\Delta v_k=C\Delta x_k+D\Delta u_k$, $\Delta z_k=\varphi(v^a_k)-\varphi(v^b_k)$ (layer index dropped, $u=w^{i-1}$).
Step 2. Evaluate the LMI's quadratic form at $\xi_k=[\Delta x_k;\Delta u_k;\Delta z_k]$ and regroup: $$0\le\underbrace{\Delta x_k^{\top}P\Delta x_k-\Delta x_{k+1}^{\top}P\Delta x_{k+1}}_{V(\Delta x_k)-V(\Delta x_{k+1})}+\|\Delta u_k\|^2_{Q_{i-1}}-\|\Delta z_k\|^2_{Q_i}-2\Delta z_k^{\top}\Lambda(\Delta v_k-\Delta z_k).$$
Step 3. The last term is $\le0$ by the slope restriction, so $V(\Delta x_{k+1})-V(\Delta x_k)\le\|\Delta u_k\|^2_{Q_{i-1}}-\|\Delta z_k\|^2_{Q_i}$: incremental dissipativity with storage $V(\Delta x)=\Delta x^{\top}P\Delta x$ (Willems 1972; Module 2).
Step 4. Sum over $k$ with $\Delta x_0=0$, $V\ge0$: $\sum_k\|\Delta z_k\|^2_{Q_i}\le\sum_k\|\Delta u_k\|^2_{Q_{i-1}}$. The output weight $Q_i$ of layer $i$ is the input weight of layer $i+1$, so the chain telescopes from $Q_0=\tilde\rho^2I$ to the identity weight of the last layer. $\blacksquare$ $Q_i$ is a directional gain: the next layer only has to tolerate an ellipsoid of increments, not a ball, which is where network-level tightness comes from.
Fully connected layers use $W_i=\sqrt2\,\Gamma_i^{-1}V_i^{\top}L_{i-1}$, $L_i=\sqrt2\,U_i\Gamma_i$, $Q_i=L_i^{\top}L_i$, $\Lambda_i=\Gamma_i^{\top}\Gamma_i$, with $\Gamma_i=\operatorname{diag}(\gamma_i)$ and $[U_i;V_i]=\operatorname{Cayley}(Y_i,Z_i)$ (Thm 4): $U_i^{\top}U_i+V_i^{\top}V_i=I$, multiplied by $\sqrt2\,\Gamma_i$ on both sides, becomes $Q_i+\Lambda_iW_iQ_{i-1}^{-1}W_i^{\top}\Lambda_i=2\Lambda_i$, and a Schur complement gives the FC LMI. This is equivalent to the Sandwich parameterization (their Remark 6); what is new is the gain factor $L_i$, passed on to the next layer. Convolutions need one more idea because of the dynamics in the upper-left block.
Step 1: the storage matrix from a controllability Gramian
With $F_i:=\begin{bmatrix}P_i-A_i^{\top}P_iA_i&-A_i^{\top}P_iB_i\\-B_i^{\top}P_iA_i&Q_{i-1}-B_i^{\top}P_iB_i\end{bmatrix}$ the conv LMI reads $\begin{bmatrix}F_i&-\hat C_i^{\top}\Lambda_i\\-\Lambda_i\hat C_i&2\Lambda_i-Q_i\end{bmatrix}\succeq0$, the FC shape with $F_i$ in place of $Q_{i-1}$. We need $F_i\succ0$ for every parameter value.
Step 1. $X_i\succ0$ (the $k=0$ term contains $\varepsilon I$). For the Lyapunov identity write $R_i=B_iQ_{i-1}^{-1}B_i^{\top}+H_i^{\top}H_i+\varepsilon I$ and let $A_i^r=0$. Then $X_i=\sum_{k=0}^{r-1}A_i^kR_i(A_i^{\top})^k$ and $A_iX_iA_i^{\top}=\sum_{k=1}^{r}A_i^kR_i(A_i^{\top})^k$; subtracting, all terms cancel except $R_i$ (the $k=r$ term is zero), so $X_i-A_iX_iA_i^{\top}=R_i$. It is the only solution: the difference $D$ of two solutions satisfies $D=A_iDA_i^{\top}=\dots=A_i^rD(A_i^{\top})^r=0$. Hence $X_i-A_iX_iA_i^{\top}-B_iQ_{i-1}^{-1}B_i^{\top}=H_i^{\top}H_i+\varepsilon I\succ0$.
Step 2. By the Schur complement with respect to $\operatorname{diag}(X_i^{-1},Q_{i-1})\succ0$ (recall $Q_{i-1}=L_{i-1}^{\top}L_{i-1}\succ0$), this is equivalent to $\begin{bmatrix}X_i^{-1}&0&A_i^{\top}\\0&Q_{i-1}&B_i^{\top}\\A_i&B_i&X_i\end{bmatrix}\succ0$.
Step 3. Now take the Schur complement with respect to $X_i\succ0$ and put $P_i=X_i^{-1}$: $\ \operatorname{diag}(P_i,Q_{i-1})-[A_i\ \ B_i]^{\top}P_i[A_i\ \ B_i]=F_i\succ0$. $\blacksquare$
Why the Gramian. Solving a Lyapunov equation in every forward pass would be expensive and awkward to differentiate; for a nilpotent shift the solution is a finite sum of products, and the free $H_i$ lets training move the storage around.
Step 2: the kernel from a Cayley transform
Proof in one identity: with the multiplier $\Lambda_i=\Gamma_i^2$, the two terms of the Schur complement are $Q_i=L_i^{\top}L_i=2\Gamma_iU_i^{\top}U_i\Gamma_i$ and, because $L^F_iF_i^{-1}L_i^{F\top}=I$ for $F_i=L_i^{F\top}L^F_i$, $\Lambda_i\hat C_iF_i^{-1}\hat C_i^{\top}\Lambda_i=2\Gamma_iV_i^{\top}V_i\Gamma_i$. Multiplying $U_i^{\top}U_i+V_i^{\top}V_i=I$ by $\sqrt2\,\Gamma_i$ on both sides therefore gives $Q_i+\Lambda_i\hat C_iF_i^{-1}\hat C_i^{\top}\Lambda_i=2\Gamma_i^2=2\Lambda_i$, so $2\Lambda_i-Q_i-\Lambda_i\hat C_iF_i^{-1}\hat C_i^{\top}\Lambda_i=0$ and a Schur complement with respect to $F_i\succ0$ gives the LMI. Compare the sandwich layer: $\Psi$ became $\Gamma$, and the Cholesky factor of the Gramian-based $F_i$ plays the role of the input-side scaling.
- Input: gain factor $L_{i-1}$ of the previous layer ($L_0=\rho I$); free variables $Y_i,Z_i,H_i,\gamma_i,b_i$.
- $Q_{i-1}=L_{i-1}^{\top}L_{i-1}$; $\ X_i=\sum_{k=0}^{\ell_i-2}A_i^k(B_iQ_{i-1}^{-1}B_i^{\top}+H_i^{\top}H_i+\varepsilon I)(A_i^{\top})^k$; $\ P_i=X_i^{-1}$ // finite Gramian sum
- form $F_i$ and its Cholesky factor $L^F_i$; $\ [U_i;V_i]=\operatorname{Cayley}(Y_i,Z_i)$; $\ \hat C_i=\sqrt2\,\Gamma_i^{-1}V_i^{\top}L^F_i=[K^i_{\ell_i-1}\cdots K^i_1\ \ K^i_0]$
- $L_i=\sqrt2\,U_i\Gamma_i$ // directional gain handed to layer $i+1$
- apply an ordinary convolution with kernel $K^i$, bias $b_i$, activation and pooling
All sizes are set by $c_{i-1},c_i,\ell_i$; the signal length never enters. On the MIT-BIH arrhythmia ECG data (5 classes, mean of 5 CNNs) the Lipschitz-bounded CNNs reached 84.8%, 90.0% and 94.7% test accuracy for $\rho=5,10,50$ (certified bounds 4.99, 9.85, 45.3), against 94.9% for a vanilla CNN with bound 147 and 92.4% / 90.6% for L2-regularized CNNs (training loss plus a weight penalty $\lambda\sum_k\|W_k\|_F^2$) with bounds 45.7 / 33.9; they degraded more slowly under $\ell_2$ PGD attacks (projected gradient ascent on the loss over an $\ell_2$ ball around the input: a successful attack disproves robustness, a failed one certifies nothing; see Primer E) and could be trained at bounds where L2-regularized training failed (Pauli, Wang, Manchester & Allgöwer, CDC 2023).
LipKernel: 2-D convolutions parameterized in standard form
LipKernel extends the construction to 2-D and 1-D CNNs with pooling, strides, dilation and zero padding, with the goal $\|\mathrm{NN}_\theta(u_a)-\mathrm{NN}_\theta(u_b)\|_Q\le\|u_a-u_b\|_R$ ($(Q,R)$-Lipschitz; $Q=I$, $R=\rho^2I$ is $\rho$-Lipschitz, other choices weight input directions and output classes) (Pauli, Wang, Manchester & Allgöwer, Automatica 2026).
Each layer type has its own LMI: $\varphi\circ$conv (the $3\times3$ block LMI above with $X_{k-1},X_k$ for $Q_{i-1},Q_i$), pooling$\circ\varphi\circ$conv (the $(3,3)$ block becomes $2\Lambda-\rho_p^2X$ with pooling constant $\rho_p$; $X$ diagonal for max pooling), $\varphi\circ$FC, and the last layer $X_{l-1}-W_l^{\top}QW_l\succeq0$. A 2-D convolution is realized as a Roesser model with a horizontal and a vertical state, $$\begin{bmatrix}x_1[i+1,j]\\x_2[i,j+1]\end{bmatrix}=\begin{bmatrix}A_{11}&A_{12}\\A_{21}&A_{22}\end{bmatrix}\begin{bmatrix}x_1[i,j]\\x_2[i,j]\end{bmatrix}+\begin{bmatrix}B_1\\B_2\end{bmatrix}u[i,j],$$ $$y[i,j]=C_1x_1[i,j]+C_2x_2[i,j]+Du[i,j]+b,$$ where $A_{21}=0$, $A_{11},C_1,A_{22},B_2$ are fixed shift structures and the kernel blocks fill $A_{12},B_1,C_2,D$ (Pauli, Gramlich & Allgöwer, IFAC-PapersOnLine 2024; the 2-D Lur'e view of CNNs is Gramlich et al., Automatica 2026), with block-diagonal storage $P=\operatorname{blkdiag}(P_1,P_2)$. 2-D Lyapunov equations have no general solution, so LipKernel constructs one for this FIR structure: since $A_{21}=0$ the $x_2$ dynamics are decoupled, $P_2^{-1}$ is a nilpotent Gramian-type sum, and $P_1^{-1}$ a second sum absorbing the coupling through the now free $A_{12},B_1$ (Lemma 16). The remaining blocks $[C_2\ D]$ come from a Cayley transform (Theorem 18), where the needed $2\Gamma-C_1F_1^{-1}C_1^{\top}\succ0$ is secured by $\gamma_i=\epsilon+\delta_i^2+\tfrac12\sum_j|C_1F_1^{-1}C_1^{\top}|_{ij}\,q_j/q_i$: SLL's Gershgorin trick. After training, the bijection $(A,B,C,D)\leftrightarrow K$ returns an ordinary kernel.
Take the Roesser realization above (zero initial states) with $n_1$ horizontal and $n_2$ vertical state coordinates, $m$ input and $c$ output channels, and an elementwise activation slope-restricted in $[0,1]$. The shift blocks $A_{11}\in\mathbb R^{n_1\times n_1}$ and $A_{22}\in\mathbb R^{n_2\times n_2}$ (both nilpotent), $B_2$ and $C_1\in\mathbb R^{c\times n_1}$ are fixed by the realization; $A_{12}$ and $B_1$ are free kernel parameters, and $X_-\succ0$ is the gain matrix handed over by the previous layer. Put
For arbitrary square $H_i$ of sizes $n_i$ and $\epsilon>0$, compute the finite sums in this order:
Partition $F$ after its first $n_1$ coordinates, so $F_2$ has size $d=n_2+m$. With free $r,\delta\in\mathbb R^c$ and upper Cholesky factors ($L^{\top}L=$ the factored matrix), define
Then the following dissipation certificate holds:
Why it works: the two storage sums solve the two Lyapunov equations of the Roesser model one after the other ($x_2$ first, because $A_{21}=0$), and Schur complements turn them into $F\succ0$ (Lemma 16). The choice of $\Gamma$ makes $2\Gamma-M\succ0$ by SLL's scaled Gershgorin argument: with $D=\operatorname{diag}(1/q_i)$, row $i$ of the similar matrix $D(2\Gamma-M)D^{-1}$ has a diagonal entry that exceeds the sum of its absolute off-diagonal entries by at least $2\epsilon+2\delta_i^2\gt0$. Finally, $U^{\top}U+V^{\top}V=I$ makes the Schur complement of the certificate with respect to $F$ exactly zero, as in the 1-D proof (we checked the whole construction numerically on random data). Note $\Lambda=\Gamma^{-1}$ here, whereas the 1-D layer used $\Lambda=\Gamma^2$. The structural zeros of the realization must be kept, the bias is free, and $L$ must be invertible to hand $X$ to the next layer (Pauli et al., Automatica 2026).
Accuracy as reported on MNIST (32×32; 20 epochs; mean of three initializations; certified if the margin exceeds $\sqrt2\rho\varepsilon$):
| Architecture | Method | Cert. bound | Emp. lower bound | Clean | Cert. 36/255 | 72/255 | 108/255 |
|---|---|---|---|---|---|---|---|
| 2C2F | Vanilla | – | 221.7 | 99.0% | 0.0% | 0.0% | 0.0% |
| 2C2F | Orthogon | 1 | 0.960 | 94.6% | 92.9% | 91.0% | 88.3% |
| 2C2F | Sandwich | 1 | 0.914 | 97.3% | 96.3% | 95.2% | 93.8% |
| 2C2F | LipKernel | 1 | 0.952 | 96.6% | 95.6% | 94.3% | 92.6% |
| 2CP2F (avg. pool) | AOL | 1 | 0.926 | 88.7% | 85.5% | 81.7% | 77.2% |
| 2CP2F (avg. pool) | LipKernel | 1 | 0.759 | 91.7% | 88.0% | 83.1% | 77.3% |
LipKernel is slightly less expressive than Sandwich but more flexible and much faster at inference, and it beats Orthogon and AOL on clean accuracy.
5. Recurrent Equilibrium Networks and R2DN
For dynamic models (system identification, i.e. fitting a dynamical model to input–output data; observers, which estimate an unmeasured state; feedback policies) the model itself must be stable for every parameter value, including those SGD visits on the way. A recurrent equilibrium network (REN) is an LTI system in feedback with an implicit (equilibrium) layer (Revay, Wang & Manchester, IEEE TAC 2024; recurrent and equilibrium layers: Primer E):
with $\sigma$ elementwise, piecewise differentiable and slope-restricted in $[0,1]$ (Assumption 1). With $D_{11}$ strictly lower triangular the equilibrium is computed row by row (acyclic REN); a deep feedforward network is the case of block sub-diagonal $D_{11}$, so RENs contain the networks of Section 3, all stable LTI systems and previously known contracting RNNs.
Well-posedness is a property of the equation, not of a solver. Naive iteration $w^{k+1}=\sigma(D_{11}w^k+r)$ converges if, e.g., $\|D_{11}\|_2\le\kappa\lt1$: the map is then a $\kappa$-contraction ($\sigma$ is 1-Lipschitz), so $\|w^k-w^\ast\|\le\kappa^k\|w^0-w^\ast\|$ by Banach's fixed-point theorem (see Primer 0). The well-posedness condition does not imply this (scalar example: $D_{11}=-3$ is well-posed, yet for $\sigma(v)=v$ the iteration $w^{k+1}=-3w^k+r$ diverges), so for full $D_{11}$ the REN paper computes the equilibrium with a monotone operator-splitting method (Peaceman–Rachford) instead.
Why: take two trajectories with the same input, so $\Delta x_{t+1}=A\Delta x_t+B_1\Delta w_t$ and $\Delta v_t=C_1\Delta x_t+D_{11}\Delta w_t$. The quadratic form of the LMI matrix at $[\Delta x_t;\Delta w_t]$ equals $\bar\alpha^2|\Delta x_t|_P^2-|\Delta x_{t+1}|_P^2-2\Delta w_t^{\top}\Lambda(\Delta v_t-\Delta w_t)$, and the last term is $\le0$ by the diagonal incremental QC. The matrix is $\succeq\eta I$ for some $\eta\gt0$ (its smallest eigenvalue), so $|\Delta x_{t+1}|_P^2\le\bar\alpha^2|\Delta x_t|_P^2-\eta|\Delta x_t|^2\le\alpha^2|\Delta x_t|_P^2$ with $\alpha^2=\bar\alpha^2-\eta/\lambda_{\max}(P)$ (shrink $\eta$ if needed so that $\alpha\gt0$): an incremental Lyapunov function decreasing at a rate $\alpha\lt\bar\alpha$. Iterating and using $\lambda_{\min}(P)|z|^2\le|z|_P^2\le\lambda_{\max}(P)|z|^2$ gives $|\Delta x_t|\le\sqrt{\lambda_{\max}(P)/\lambda_{\min}(P)}\,\alpha^t|\Delta x_0|$: contraction with a constant $K$ that depends only on $P$, not on the initial states or the input.
From LMI to free parameters. The LMI is convex in $(P,\Lambda)$ for a fixed model but not jointly in the weights, so RENs use an implicit form with extra invertible $E$ and $\Lambda$, $Ex_{t+1}=Fx_t+\mathcal B_1w_t+\mathcal B_2u_t+\dots$ and $\Lambda v_t=\mathcal C_1x_t+\mathcal D_{11}w_t+\mathcal D_{12}u_t+\dots$ (so $A=E^{-1}F$, $C_1=\Lambda^{-1}\mathcal C_1$, and so on), in which contraction is an LMI $\mathcal H(\theta_{\rm cvx})\succ0$ jointly convex in weights, certificate and multiplier. The map $\theta_{\rm cvx}\mapsto\mathcal H$ is onto the positive definite cone and has an explicit right inverse, so writing $\mathcal H=X^{\top}X+\epsilon I$ with a free square $X$ and reading the model off its blocks gives a direct parameterization; for a fixed $\epsilon$ it reaches exactly the matrices $\mathcal H\succeq\epsilon I$, not every $\mathcal H\succ0$. Random free parameters give random contracting systems, a strictly larger family of stable echo state networks than previously known.
Choose the state size $n$, the equilibrium size $q$, $0\lt\bar\alpha\le1$, $\epsilon\gt0$ and free $X\in\mathbb R^{(2n+q)\times(2n+q)}$, $Y\in\mathbb R^{n\times n}$. Partition $\mathcal H=X^{\top}X+\epsilon I$ into blocks of sizes $(n,q,n)$, set
write $\mathcal H_{22}=\Phi-J-J^{\top}$ with $\Phi$ diagonal and $J$ strictly lower triangular (so $J_{ij}=-(\mathcal H_{22})_{ij}$ for $i\gt j$), and set $\Lambda=\tfrac12\Phi$, $\mathcal D_{11}=J$. By construction
The explicit REN has $A=E^{-1}F$, $B_1=E^{-1}\mathcal B_1$, $C_1=\Lambda^{-1}\mathcal C_1$ and the strictly lower triangular $D_{11}=\Lambda^{-1}\mathcal D_{11}$ (an acyclic REN); $B_2,C_2,D_{12},D_{21},D_{22}$ and the biases are free. Under Assumption 1 every such model is well-posed and contracting with some rate $\alpha\lt\bar\alpha$.
Proof sketch: $E+E^{\top}=\mathcal H_{11}+\mathcal P/\bar\alpha^2\succ0$, so $Ev=0$ forces $v^{\top}(E+E^{\top})v=0$, i.e. $v=0$: $E$ is invertible. Expanding $(\bar\alpha E-\mathcal P/\bar\alpha)^{\top}\mathcal P^{-1}(\bar\alpha E-\mathcal P/\bar\alpha)\succeq0$ gives $\bar\alpha^2E^{\top}\mathcal P^{-1}E\succeq E+E^{\top}-\mathcal P/\bar\alpha^2$, so the $(1,1)$ block may be replaced by $\bar\alpha^2E^{\top}\mathcal P^{-1}E$. A Schur complement with respect to $\mathcal P$ and the substitutions $F=EA$, $\mathcal B_1=EB_1$, $\mathcal C_1=\Lambda C_1$, $\mathcal D_{11}=\Lambda D_{11}$ turn the result into exactly the LMI of the contraction theorem above, with $P=E^{\top}\mathcal P^{-1}E$ (we also checked this numerically). For a full $D_{11}$ the paper takes $\Lambda=e^{\operatorname{diag}(g)}$ and $\mathcal D_{11}=\Lambda-\tfrac12(\mathcal H_{22}+Y_2-Y_2^{\top})$ with free $g,Y_2$ (Revay et al., TAC 2024).
For a prescribed $(Q,S,R)$ with $Q\preceq0$, the paper first chooses $D_{22}$ with $\mathcal R:=R+SD_{22}+D_{22}^{\top}S^{\top}+D_{22}^{\top}QD_{22}\succ0$ and then adds to $\mathcal H$ two positive semidefinite terms that pay for the input–output coupling (their (28)–(29)): with free $\mathcal B_2,C_2,\mathcal D_{12},D_{21}$, $\mathcal C_2=(D_{22}^{\top}Q+S)C_2$ and $\mathcal D_{21}=(D_{22}^{\top}Q+S)D_{21}-\mathcal D_{12}^{\top}$,
The blocks are recovered as in the theorem, plus $B_2=E^{-1}\mathcal B_2$ and $D_{12}=\Lambda^{-1}\mathcal D_{12}$; every such model is well-posed, contracting and satisfies the IQC (their Thm 3). For a Lipschitz bound $\gamma$ ($Q=-\tfrac1\gamma I$, $R=\gamma I$, $S=0$) the condition on $D_{22}$ reads $\gamma I-\tfrac1\gamma D_{22}^{\top}D_{22}\succ0$, i.e. $\|D_{22}\|\lt\gamma$, and the paper takes $D_{22}=\gamma N$ with a Cayley-type $N$ whose extra $\epsilon I$ makes it a strict contraction (their (31)–(32)). We checked numerically that this construction satisfies the robust LMI of Thm 1, part 2.
R2DN: removing the equilibrium solve
The implicit layer must be solved at every time step (e.g. by operator splitting), which is slow on GPUs for long sequences. R2DN (Barbara, Wang & Manchester, accepted to CDC 2026) replaces it by an explicit network, $w_t=\phi_g(C_1x_t+D_{12}u_t+b_v)$ with the same linear equations for $x_{t+1}$ and $y_t$, where $\phi_g$ is 1-Lipschitz for every value of its own parameters $g$, e.g. a stack of sandwich layers. The network enters the certificate only through $|\Delta w_t|\le|\Delta v_t|$, and the linear part is directly parameterized so that the interconnection is contracting and, if desired, $\gamma$-Lipschitz from $u$ to $y$ (their Prop. 1 covers general incremental IQCs; the direct parameterization of the Lipschitz case keeps $D_{22}=0$). Training and inference become up to an order of magnitude faster than for RENs with similar performance on system identification, observer design, feedback control and sequential image classification, scaling better with model size.
Let $\phi_g$ be 1-Lipschitz for every value of its parameters, $w_t=\phi_g(C_1x_t+D_{12}u_t+b_v)$ and $x_{t+1}=Ax_t+B_1w_t+B_2u_t+b_x$. If some $P\succ0$ and $0\lt\alpha\lt1$ satisfy
then two trajectories with the same input satisfy $|\Delta x_t|_P\le\alpha^t|\Delta x_0|_P$: the R2DN is contracting, and no implicit equation has to be solved.
Proof: with equal inputs, $\Delta x_{t+1}=A\Delta x_t+B_1\Delta w_t$ and $\Delta v_t=C_1\Delta x_t$, and the quadratic form of the matrix at $[\Delta x_t;\Delta w_t]$ equals $\alpha^2|\Delta x_t|_P^2-|\Delta x_{t+1}|_P^2-\big(|\Delta v_t|^2-|\Delta w_t|^2\big)$. The bracket is $\ge0$ because $|\Delta w_t|\le|\Delta v_t|$, so $|\Delta x_{t+1}|_P\le\alpha|\Delta x_t|_P$. $\blacksquare$ The condition says that the linear part, seen from $w$ to $v$, has incremental gain at most one, which is what an incremental small-gain argument with a 1-Lipschitz network needs (their Prop. 1); a 1-Lipschitz network alone guarantees nothing. R2DN parameterizes it like the REN above: $\mathcal H=X^{\top}X+\epsilon I+\operatorname{diag}(C_1^{\top}C_1,\mathcal B_1\mathcal B_1^{\top})$ with free $X,Y,\mathcal B_1,C_1$, $E=\tfrac12(\mathcal H_{11}+\mathcal H_{22}+Y-Y^{\top})$, $A=E^{-1}\mathcal H_{21}$, $B_1=E^{-1}\mathcal B_1$ (their (20)–(21)). A Lipschitz bound from $u$ to $y$ needs the extra blocks of their Section V-C (Barbara, Wang & Manchester, R2DN).
6. Certified Robust Accuracy: State of the Art 2026
For logits $f(x)\in\mathbb R^N$ and prediction $y=\arg\max_if_i(x)$, a Lipschitz certificate turns the margin into a radius: the deterministic guarantee type of Module 1.
Why $\sqrt2$: $f_y-f_j=(e_y-e_j)^{\top}f$, so $|\Delta(f_y-f_j)|\le\|e_y-e_j\|\,\|\Delta f\|\le\sqrt2L\|\delta\|$, and a label flip needs some margin to reach zero (Tsuzuku et al., NeurIPS 2018). Three conventions are in use: the global rule $M_f/(\sqrt2L)$ (BRONet, LipKernel); a constant $L_{yj}$ per logit difference (GloRo nets, Leino, Wang & Fredrikson, ICML 2021; LiResNet, Hu, Zou, Wang, Leino & Fredrikson, NeurIPS 2023), which for a 1-Lipschitz feature map and a linear last layer with rows $w_i$ can be $\|w_y-w_j\|$; and LipNeXt's decomposition into $N-1$ binary classifiers ("one-vs-rest" in the paper's words, which with $N-1$ classifiers we read as $f_y-f_j$), each certified with radius $|f_y-f_j|/K_j$ for a Lipschitz bound $K_j$, the overall radius being the minimum. The last two coincide when $K_j=L_{yj}$, and with a linear last layer $\|w_y-w_j\|$ is never worse than the $\sqrt2L$ rule based on the product certificate (Exercise 13.5).
Standard $\ell_2$ radii for images in $[0,1]$: $36/255\approx0.141$, $72/255\approx0.282$, $108/255\approx0.424$. CIFAR-10 certified robust accuracy (CRA) as tabulated by LipNeXt (Tables 1–2), no extra data unless marked:
| Model | Params | Clean | CRA 36/255 | 72/255 | 108/255 |
|---|---|---|---|---|---|
| Cayley Large (Trockman & Kolter 2021) | 21M | 74.6 | 61.4 | 46.4 | 32.1 |
| SOC-20 (Singla & Feizi 2021) | 27M | 76.3 | 62.6 | 48.7 | 36.0 |
| AOL Large (Prach & Lampert 2022) | 136M | 71.6 | 64.0 | 56.4 | 49.0 |
| SLL X-Large (Araujo et al. 2023) | 236M | 73.3 | 64.8 | 55.7 | 47.1 |
| LiResNet (Hu et al.) | 83M | 81.0 | 69.8 | 56.3 | 42.9 |
| BRONet (Lai et al. 2025) | 68M | 81.6 | 70.6 | 57.2 | 42.5 |
| LipNeXt L32W2048 (Hu, Hu & Fredrikson 2026) | 256M | 85.0 | 73.2 | 58.8 | 43.3 |
| BRO + diffusion-generated data | 68M | 87.2 | 78.3 | 67.4 | 54.5 |
| LipNeXt L32W2896 + generated data | 512M | 92.7 | 81.7 | 68.6 | 55.8 |
BRONet uses block-reflector orthogonal layers $W=I-2V(V^{\top}V)^{-1}V^{\top}$ for full-column-rank $V\in\mathbb R^{m\times n}$: symmetric, orthogonal, with $n$ eigenvalues $-1$ and $m-n$ eigenvalues $+1$ (precisely the eigenvalue the Cayley transform cannot produce), without iterative approximation (their Prop. 1). The reason: $P_V=V(V^{\top}V)^{-1}V^{\top}$ is the orthogonal projector onto the column space of $V$, $P_V^{\top}=P_V=P_V^2$, so $W^{\top}W=I-4P_V+4P_V^2=I$, $Wx=-x$ on the $n$-dimensional column space and $Wx=x$ on its orthogonal complement. BRONet also trains with a logit-annealing loss: for logits $z$, true class $t$ and $p=\operatorname{softmax}\big((z-\xi e_t)/T\big)$ (temperature $T$, offset $\xi$), $\mathcal L_{\rm LA}=-T(1-p_t)^{\beta}\log p_t$ (their eq. (8); this $\beta$ is unrelated to $\beta$-Abs below). The factor $(1-p_t)^{\beta}$ shrinks the loss of examples that are already classified with a large margin ($0.01$ for $p_t=0.9$, $\beta=2$), so capacity goes to the others; the loss only changes which network training finds, the certificate still comes from the orthogonal layers (Lai, Huang, Kung & Chen, ICML 2025).
LipNeXt drops parameterizations: orthogonal weights are updated directly on the orthogonal manifold by a manifold Adam whose exponential map is replaced by a norm-adaptive truncated Taylor series ("FastExp"); the small loss of orthogonality this causes is removed by a polar retraction (SVD) once per epoch, plus a Lookahead step taken in the tangent space. Convolutions are replaced by a spatial-shift module (each selected circular shift is a norm-preserving permutation), the activation $\beta$-Abs (absolute value on a fraction $\beta$ of the coordinates, identity on the rest) contains MinMax up to an orthogonal change of basis, and scale does the rest (Hu, Hu & Fredrikson, ICLR 2026). On ImageNet at $36/255$ its 2B-parameter model reaches 57.0% clean / 41.2% CRA without generated data, against 49.3% / 37.6% for BRONet (86M) and 45.6% / 35.0% for LiResNet (51M), and 41.0% / 22.4% at $\varepsilon=1$; BRONet with 2M generated images reaches 40.7% CRA, so this comparison mixes data regimes.
The square orthogonal matrices $\{W\in\mathbb R^{d\times d}:W^{\top}W=I\}$ form a curved surface in matrix space, a manifold. Differentiating $W(t)^{\top}W(t)=I$ along a curve on it gives $W^{\top}Z+Z^{\top}W=0$ for its velocity $Z=W'(0)$; these admissible directions form the tangent space at $W$ (at $W=I$ in two dimensions, $Z=\begin{bmatrix}0&-1\\1&0\end{bmatrix}$ starts a rotation). They are exactly the matrices $Z=WK$ with $K$ skew-symmetric, and the curve $W\exp(tK)$ never leaves the manifold, because $\exp(tK)^{\top}\exp(tK)=\exp(-tK)\exp(tK)=I$.
Manifold gradient descent keeps only the tangent part of the Euclidean gradient $G=\nabla f(W)$, which is $W\operatorname{skew}(W^{\top}G)$ with $\operatorname{skew}(M)=\tfrac12(M-M^{\top})$, and moves along $W\exp(-\eta\operatorname{skew}(W^{\top}G))$ for a step size $\eta$; manifold Adam uses Adam's rescaled skew-symmetric step instead. An update that leaves the manifold (e.g. through a truncated exponential) is pulled back by the polar retraction: if $\widetilde W=U\Sigma V^{\top}$ is an SVD, $UV^{\top}$ is the orthogonal matrix closest to $\widetilde W$ in the Frobenius norm. Lookahead returns every $k$ steps to the weight of $k$ steps earlier and moves half-way along the sum of the skew-symmetric steps taken since, which keeps the averaged weight on the manifold (Hu, Hu & Fredrikson, eqs. (2)–(5)). None of these names proves that the stored weights are orthogonal; the next fact says what the certificate can rely on.
Deterministic versus randomized-smoothing certificates
Randomized smoothing certifies a different object. With the base label classifier $C(x)=\arg\max_i f_i(x)$ (fixed tie-breaking) and a noise level $\sigma\gt0$, the smoothed classifier is $g(x)=\arg\max_c\mathbb P_{\varepsilon\sim\mathcal N(0,\sigma^2I)}(C(x+\varepsilon)=c)$, and its certificate is the theorem below (Cohen, Rosenfeld & Kolter, ICML 2019; see Module 15). With an off-the-shelf diffusion denoiser and a large pretrained classifier, Carlini et al. (ICLR 2023) report certified top-1 accuracy of 71.1% / 54.3% / 38.1% / 29.5% on ImageNet at $\ell_2$ radius 0.5 / 1.0 / 1.5 / 2.0 (best noise level per radius).
Let $C:\mathbb R^{n_0}\to\{1,\dots,N\}$ be any deterministic or random base classifier, $\sigma\gt0$, $\varepsilon\sim\mathcal N(0,\sigma^2I)$ and $g$ as above. If a class $A$ and a number $\underline{p_A}\gt\tfrac12$ satisfy $\mathbb P(C(x+\varepsilon)=A)\ge\underline{p_A}$, then
where $\Phi$ is the standard normal cumulative distribution function and $\Phi^{-1}$ its quantile function (see Primer C). The probability is unknown, so it is estimated: CERTIFY picks $A$ from a few pilot samples of $C(x+\varepsilon)$, computes $\underline{p_A}$ as a one-sided $(1-\alpha)$ Clopper–Pearson lower bound (see Primer C) from fresh samples ($10^4$ to $10^5$ in the table below), and abstains if $\underline{p_A}\le\tfrac12$. With probability at least $1-\alpha$ over this sampling, a returned class and radius are correct (Prop. 2).
In words: the only randomness in the guarantee is the Monte-Carlo estimate; on the good event it holds for every perturbation in the ball at once. The displayed radius is Cohen's $\tfrac\sigma2\big(\Phi^{-1}(\underline{p_A})-\Phi^{-1}(\overline{p_B})\big)$ with the runner-up bound $\overline{p_B}=1-\underline{p_A}$, since $\Phi^{-1}(1-p)=-\Phi^{-1}(p)$. Nothing is assumed about $C$, so a fixed denoiser $D$ applied before the classifier is covered by taking $C\circ D$ as the base classifier, with no Lipschitz bound on $D$: this is Carlini et al.'s diffusion denoised smoothing.
| Lipschitz by design (LipNeXt) | Diffusion denoised smoothing (Carlini et al.) | |
|---|---|---|
| Certified object | the deployed network $f$ | the smoothed classifier $g$, not $f$ |
| Guarantee | deterministic | with probability $\ge1-\alpha$ over the Monte-Carlo sampling |
| Cost per certified input | one forward pass | $N=10^4$ (ImageNet) or $10^5$ (CIFAR-10) noisy passes |
| ImageNet, radius 1.0 | 22.4% (2B model, no extra data) | 54.3% (BEiT-L, 552M diffusion model, pretraining data) |
| Where it wins | cost and certainty: one deterministic pass, real time, closed-loop analysis | certified accuracy: on ImageNet even its radius-0.5 number (71.1%) beats LipNeXt at $36/255\approx0.14$ (41.2%); large radii; offline certification |
- Completeness is relative: Sandwich is complete for LipSDP, not for $\gamma$-Lipschitz networks; the true constant lies between the empirical lower bound and the certified bound, so their ratio (0.76–0.96 in the MNIST table) bounds the remaining conservatism: the certified bound overestimates the true constant by at most a factor $1/0.76\approx1.3$ there.
- Clean accuracy: even LipNeXt trails unconstrained ImageNet models by a wide margin; expressive 1-Lipschitz architectures remain open.
- Beyond $\ell_2$ and classification: $\ell_\infty$ certificates from $\ell_2$ bounds lose a $\sqrt n$ factor (see Primer A); control needs Lipschitz bounds of dynamic, closed-loop maps (Modules 11 and 14).
- Speed versus accuracy: LipKernel gives standard-form convolutions with network-level certificates and zero padding, pooling and strides; LipNeXt shows that FFT-free orthogonal architectures scale. A certified CNN with both LipKernel's architectural flexibility and state-of-the-art accuracy has not been reported.
Walkthrough: Deriving the Sandwich Layer From the LMI
The central derivation of this module, for one hidden layer so that every block is visible: start from the LipSDP condition, turn it into a norm bound, satisfy the norm bound with Cayley factors, and read off the weights. The result is exactly Wang & Manchester's formula (8) for a single hidden layer, and the same three moves reappear in the Cayley–Gramian layers of Section 4. The Schur complement and congruence steps use only Module 2.
Interactive: Cayley Transform and a 1-Lipschitz Layer
Panel (a): the Cayley transform of $A=\begin{bmatrix}s&a\\-a&-s\end{bmatrix}$; for $s=0$, $A$ is skew-symmetric and $W=(I-A)(I+A)^{-1}$ is a rotation by $2\arctan a$, while any $s\ne0$ turns the unit circle into an ellipse. Panel (b): the 2-2-1 network $f(x)=W_1\,\mathrm{ReLU}(W_0x+b_0)$ of the walkthrough built from arbitrary free parameters (for $X_0$ only the skew part $X_0-X_0^{\top}$ enters the Cayley map, so the slider sets its entry $(X_0-X_0^{\top})_{12}$). On each region where the ReLU activation pattern $D=\operatorname{diag}(d_1,d_2)$, $d_i\in\{0,1\}$, is fixed, $f$ is affine with gradient $W_0^{\top}DW_1^{\top}$, so its exact Lipschitz constant is the largest of these gradient norms over the patterns that occur on open sets of inputs: all four when $W_0$ is invertible ($x\mapsto W_0x+b_0$ is then onto), those met along a line when $W_0$ has rank one (the code sorts the two kinks), one when $W_0=0$. The panel compares it with the largest ratio $|f(x)-f(x')|/\|x-x'\|$ over random input pairs, which can only underestimate it, and reports the smallest eigenvalue of the certificate $H(\gamma,\Lambda=\Psi^2)$: a floating-point check of the identity proved in the walkthrough, so values of order $-10^{-16}$ are round-off; the guarantee for all parameters is the proof, not this number. The comparison network skips the Cayley step: $W_0=\sqrt{2\gamma}\,\Psi^{-1}Y_0^{\top}$, $W_1=\sqrt{2\gamma}\,Y_1^{\top}\Psi$.
Things to try: push $d_1$ and $d_2$ apart. ReLU is positively homogeneous, so $\Psi\,\mathrm{ReLU}(\Psi^{-1}v+b_0)=\mathrm{ReLU}(v+\Psi b_0)$ and $f(x)=\sqrt{2\gamma}\,B_1A_0^{\top}\mathrm{ReLU}(\sqrt{2\gamma}\,B_0x+\Psi b_0)$: $\Psi$ only rescales the effective bias, and the pattern gradients $2\gamma B_1A_0^{\top}DB_0$ do not contain it. While $W_0$ is invertible all four patterns occur, so the exact constant does not move while $\|W_0\|\,\|W_1\|$ grows far beyond $\gamma$ (for singular $W_0$ the bias can change which patterns occur; for tanh, $\Psi$ would also reshape the activation). "Random free parameters" never breaks the certificate; the comparison network is much steeper.
From the mathematics to a real decision
Learning objectives
- Compose architectural bounds through preprocessing and physical output scaling.
- Recognize when a desired physical response is incompatible with a selected sensitivity budget.
- Carry approximation errors through a finite stack of nominally orthogonal layers.
A commissioning decision
The robot now uses a learned velocity correction based on enclosure temperature and wall distance. Normalize readings as $z_1=(T-40)/10$ and $z_2=(d-0.5)/0.1$, where temperature is in degrees Celsius and distance in metres. The deployed correction $u$ has units metres per second. The architect chooses
Here $Q$ is a two-by-two orthogonal matrix, $b$ is a dimensionless bias, and ReLU is coordinatewise. Assume exact orthogonality and exact real arithmetic for the first calculation. A later exercise revises that implementation assumption. Training may change $Q$, $q$, and $b$ while preserving these constraints. The structural promise concerns increments, so arbitrary bias does not change it.
Hardware calibration bounds temperature error by 0.2 degrees and distance error by 0.003 metres. The robot's safety layer allows at most $0.012\,\mathrm{m/s}$ change in this correction from sensor error. Assume both errors can occur simultaneously and in either direction. No statistical averaging of their magnitudes is allowed in this worst-case component requirement.
Worked decision, with its limits
Inspect one architecture instance. A Cayley construction with scalar parameter 0.5 can produce $Q=\left[\begin{smallmatrix}0.6&-0.8\\0.8&0.6\end{smallmatrix}\right]$. Its columns have unit norm and inner product zero, so $Q^\top Q=I$. Choosing $q=(1,0)$ is one admissible readout, though the following bound holds for every unit $q$ and every bias.
Compose the gain. Orthogonality preserves Euclidean norm. Coordinatewise ReLU is 1-Lipschitz, and the unit readout has operator norm 1. Therefore $|u(z)-u(\bar z)|\le0.3\|z-\bar z\|_2$ in metres per second. This argument applies to every pair of normalized inputs, without retraining or solving a new SDP after each admissible weight update.
Map the hardware box. The normalized errors satisfy $|\Delta z_1|\le0.02$ and $|\Delta z_2|\le0.03$. Their largest Euclidean norm is $r=\sqrt{0.02^2+0.03^2}\approx0.036056$. The resulting velocity change is at most $0.3r\approx0.010817\,\mathrm{m/s}$. This passes the $0.012\,\mathrm{m/s}$ budget with about $0.001183\,\mathrm{m/s}$ remaining.
Keep the promise narrow enough to be true. The gain bound says nothing about the absolute velocity correction: biases can make it large. A separate output limit or safety filter may be necessary. Likewise, the robot's plant can amplify a small input change over time. The architecture supplies one component inequality for that subsequent dynamical analysis, rather than a complete collision-avoidance proof.
The benefit of the design is predictable sensitivity throughout training. Its cost is a restriction on representable responses. An optimizer cannot fit a desired map whose increments exceed the imposed gain; treating that failure as merely poor optimization overlooks a mathematical incompatibility. B1 makes this tradeoff visible in physical units.
A tempting wrong approach
If a matrix has true norm 2 but a power-iteration estimate is 1.9, dividing by that estimate gives norm $20/19\gt1$. Four such layers can have product bound $(20/19)^4\approx1.227738$. The preceding sensor-error bound would then inflate to about $0.013280\,\mathrm{m/s}$ and fail. A numerical estimate close to the norm is useful for training, but a by-construction certificate must bound the implemented operation in the correct direction.
Transfer the argument
Exercise 13.B1 — Medium: Check whether the target response is expressible
On an open operating region the desired correction is $u_*(T,d)=0.04(T-40)+0.02(d-0.5)$, with coefficients carrying the units needed to produce metres per second. Can an exactly matching map on that region have normalized-input Lipschitz constant at most 0.3?
Review: Sensitivity constraints and expressivity.
Show hint
Rewrite the affine target in terms of $z_1,z_2$ and compute its gradient norm.
Show worked solution
Because $T-40=10z_1$ and $d-0.5=0.1z_2$, the target is $u_*(z)=0.4z_1+0.002z_2$. Its gradient norm is $\sqrt{0.4^2+0.002^2}\approx0.400005\,\mathrm{m/s}$ per normalized input unit. On an open region, increments in that gradient direction attain this slope, exceeding 0.3. Exact matching is impossible under the chosen budget. Options include reducing the target response or revisiting the downstream sensitivity allowance; changing the training loss cannot remove the contradiction.
Exercise 13.B2 — Hard: Reserve gain for approximate orthogonality
Replace the exact orthogonal stage by six stages. For each implemented matrix $\widehat Q_i$, an exact orthogonal $Q_i$ exists with $\|\widehat Q_i-Q_i\|_2\le0.002$; activations between stages remain 1-Lipschitz. Find an external scale sufficient to retain overall gain at most 0.3.
Review: Implemented orthogonal-layer bounds.
Show hint
Use the triangle inequality for each matrix norm and multiply the six stage bounds.
Show worked solution
Every implemented norm is at most $\|Q_i\|_2+0.002=1.002$. The stack gain is therefore at most $1.002^6\approx1.012060$. Choose $c\le0.3/(1.002^6)\approx0.296425\,\mathrm{m/s}$. Then $c\prod_i\|\widehat Q_i\|_2\le0.3$, restoring the earlier sensor-error budget. This is a sufficient worst-case allowance; errors need not align to attain it. It relies on the stated operator-error bounds, not merely small entrywise rounding errors or an informal claim that the matrices remain almost orthogonal.
Synthesis and bridge
Architectural constraints turn a certificate into a maintained design invariant, but only for the mathematical architecture and the implemented operations actually covered. Preprocessing and output scaling remain part of the end-to-end map. The target-gradient calculation provides a useful feasibility check before committing substantial training effort.
The next chapter places the neural module inside feedback. There the central question changes from how far a function output can move to whether repeated interaction with the physical plant converges, remains inside an operating set, or stays bounded under disturbances.
Exercises
Check one Cayley rotation and one scalar Sandwich layer without software. Explain the difference between a certificate valid for every parameter and a penalty that merely encourages a small norm.
If this is difficult, revisit the earlier prerequisite, work the Easy questions, and return to the linked section. You can postpone the advanced extensions while building confidence with the core certificate.
Graded practice: build the calculation, then audit the claim
These twelve new questions each include an independent hint and a fully worked solution. The difficulty measures the amount of reasoning, not the amount of notation. The original research exercises follow below.
Easy: read definitions and compute
Easy 1 — Normalize with the correct side of an estimate
$W=\operatorname{diag}(3,1)$ and a power method estimates its norm as $2.5$. Compute $\|W/2.5\|_2$. Instead divide by the Frobenius upper bound $\sqrt{10}$; what norm results?
Review if needed: Primer A: spectral norms and products; this module's relevant section.
Hint
The largest singular value of a positive diagonal matrix is its largest entry.
Worked solution
Step 1. The exact spectral norm is $3$. Dividing by $2.5$ gives norm $3/2.5=1.2$, so the stored layer is expansive.
Step 2. The Frobenius norm is $\sqrt{3^2+1^2}=\sqrt{10}\ge3$. Dividing by it gives spectral norm $3/\sqrt{10}\approx0.948683\le1$.
Step 3. A lower estimate is useful for monitoring, but a certified normalization denominator must be a proven upper bound (or the exact norm).
Easy 2 — A Cayley rotation by hand
For $A=\begin{bmatrix}0&1\\-1&0\end{bmatrix}$ compute $Q=(I-A)(I+A)^{-1}$ and $Q(3,-4)^\top$. Check the input and output norms.
Review if needed: Primer A: matrix arithmetic; this module's relevant section.
Hint
The inverse of $I+A$ is $\tfrac12\begin{bmatrix}1&-1\\1&1\end{bmatrix}$.
Worked solution
Step 1. Multiplying gives $Q=\begin{bmatrix}0&-1\\1&0\end{bmatrix}$. Its columns are orthonormal, so $Q^\top Q=I$.
Step 2. $Q(3,-4)^\top=(4,3)^\top$. Both norms are $\sqrt{3^2+4^2}=5$.
Step 3. This is a right-angle rotation. The skew-symmetric free matrix generated a norm-preserving weight by construction, without a norm penalty.
Easy 3 — Forward preservation and backward preservation
Let $W=(1,0)^\top$. Check $W^\top W$ and $WW^\top$. Does it preserve the norm of scalar inputs? Does it preserve every output-gradient norm under $g\mapsto W^\top g$?
Review if needed: Primer A: singular values and rectangular maps; this module's relevant section.
Hint
Test the backward map on $g=(0,2)^\top$.
Worked solution
Step 1. $W^\top W=[1]$, but $WW^\top=\operatorname{diag}(1,0)\ne I_2$. The matrix has orthonormal columns and lacks orthonormal rows.
Step 2. For a scalar $x$, $Wx=(x,0)^\top$, so $\|Wx\|=|x|$. Forward norms are preserved.
Step 3. For $g=(0,2)^\top$, $W^\top g=0$ while $\|g\|=2$. Backward preservation for every $g$ requires $WW^\top=I$, a different condition for rectangular matrices.
Easy 4 — Include input preprocessing in the radius
A logit network has certified bound $\gamma=0.8$ in normalized coordinates. Raw inputs are normalized with coordinate standard deviations $0.5$ and $0.25$. Find a raw-input bound and the strict Euclidean radius when the raw input has margin $0.4$.
Review if needed: Primer A: spectral norms and products; this module's relevant section.
Hint
The normalization matrix is $\operatorname{diag}(2,4)$; constants subtracted from inputs cancel in differences.
Worked solution
Step 1. The normalization map has spectral norm $4$. The composite raw-input logit map is therefore at most $4(0.8)=3.2$-Lipschitz.
Step 2. The standard logit-margin rule gives $r=0.4/(\sqrt2\cdot3.2)=1/(8\sqrt2)\approx0.0883883$.
Step 3. This certifies $\|\delta\|_2\lt r$ measured in raw input units. Using $0.8$ directly would claim a radius four times too large.
Medium: connect two or three steps
Medium 1 — An analytic AOL scaling
For $P=\begin{bmatrix}1&1\\0&1\end{bmatrix}$ form $T_{ii}=\sum_j|(P^\top P)_{ij}|$ and $D=T^{-1/2}$. Verify $\|PD\|_2\le1$ by computing the eigenvalues of $DP^\top PD$.
Review if needed: Primer A: quadratic forms and PSD order; this module's relevant section.
Hint
The Gram matrix is $\begin{bmatrix}1&1\\1&2\end{bmatrix}$, so the row sums are $2$ and $3$.
Worked solution
Step 1. $T=\operatorname{diag}(2,3)$ and $D=\operatorname{diag}(1/\sqrt2,1/\sqrt3)$. Thus $DP^\top PD=\begin{bmatrix}1/2&1/\sqrt6\\1/\sqrt6&2/3\end{bmatrix}$.
Step 2. This symmetric matrix has trace $7/6$ and determinant $1/6$. Its eigenvalues are $1$ and $1/6$, since these have the stated sum and product.
Step 3. The squared singular values of $PD$ are those eigenvalues, so $\|PD\|_2=1$. Equivalently $T-P^\top P=\begin{bmatrix}1&-1\\-1&1\end{bmatrix}\succeq0$ gives the certificate directly.
Medium 2 — A residual layer with a sharp condition
In scalar SLL let $W=2$, $b=0$, and $h(x)=x-2WT^{-1}\operatorname{ReLU}(W^\top x)$. Compare $T=4$ and $T=2$. Compute the piecewise slopes in each case.
Review if needed: Primer B: derivatives and directional slopes; this module's relevant section.
Hint
The sufficient condition is $T\ge W^\top W=4$.
Worked solution
Step 1. With $T=4$, the coefficient $2W/T=1$ gives $h(x)=x-\operatorname{ReLU}(2x)$. It equals $x$ on $x\le0$ and $-x$ on $x\ge0$, or $-|x|$.
Step 2. The slopes are $1$ and $-1$, so the map is exactly 1-Lipschitz. The certificate condition holds at equality.
Step 3. With $T=2$, $h(x)=x-2\operatorname{ReLU}(2x)$ has slopes $1$ and $-3$. Its Lipschitz constant is $3$. Invertibility and positivity of $T$ alone are insufficient; $T\ge W^\top W$ matters.
Medium 3 — A scalar sandwich and its multiplier
Use $A=3/5$, $B=4/5$, $\Psi=2$, $b=0$, and ReLU. Find the input coefficient $U=\sqrt2\Psi^{-1}B$, output coefficient $Y=\sqrt2A\Psi$, and exact layer gain. Check $2\Lambda-Y^2-\Lambda^2U^2$ for $\Lambda=4$ and for the mistaken $\Lambda=2$.
Review if needed: Primer A: quadratic forms and PSD order; this module's relevant section.
Hint
$A^2+B^2=1$. The positive scalar coefficients let you move them through ReLU.
Worked solution
Step 1. $U=2\sqrt2/5$ and $Y=6\sqrt2/5$. Thus $Y\operatorname{ReLU}(Ux)=(24/25)\operatorname{ReLU}(x)$, with exact gain $24/25=0.96$.
Step 2. The correct multiplier is $\Lambda=\Psi^2=4$. Here $U^2=8/25$, $Y^2=72/25$, and $8-72/25-16(8/25)=0$. This matches the boundary identity.
Step 3. For $\Lambda=2$, the same expression is $4-72/25-4(8/25)=-4/25$. The wrong multiplier fails this certificate although the layer itself remains 1-Lipschitz.
Medium 4 — A finite Gramian without an infinite sum
Let $A=\begin{bmatrix}0&1\\0&0\end{bmatrix}$ and $B=(0,1)^\top$. Compute $X=\sum_{k=0}^\infty A^kBB^\top(A^\top)^k$. Check $X=AXA^\top+BB^\top$ and whether $X^{-1}$ exists.
Review if needed: Primer D: realizations and controllability Gramians; this module's relevant section.
Hint
$A^2=0$, so only $k=0,1$ can contribute.
Worked solution
Step 1. $BB^\top=\operatorname{diag}(0,1)$ and $AB=(1,0)^\top$, so $ABB^\top A^\top=\operatorname{diag}(1,0)$. All later terms vanish and $X=I_2$.
Step 2. $AXA^\top=AA^\top=\operatorname{diag}(1,0)$; adding $BB^\top$ returns $I_2=X$. This is the discrete controllability-Gramian equation.
Step 3. $X$ is positive definite and invertible, with $X^{-1}=I_2$. Nilpotence makes the sum finite; controllability, visible from the independent columns $B,AB$, supplies positive definiteness.
Hard: combine calculations with assumptions
Hard 1 — Completeness depends on the certificate set
A direct parameterization reaches every network certified by a particular LMI at bound $1$. A network has true constant $1$ but the minimum bound from that LMI is $2$. Must the parameterization represent that network at bound $1$? Use $\operatorname{ReLU}(x)-\operatorname{ReLU}(-x)$ as the concrete case for diagonal LipSDP.
Review if needed: Module 12: the LipSDP certificate; this module's relevant section.
Hint
Distinguish the set of truly Lipschitz networks from the subset that the LMI can certify.
Worked solution
Step 1. Completeness says that the image equals the LMI certificate set. It does not say that the certificate set equals all networks with true constant at most $1$.
Step 2. The example computes $x$ and has exact constant $1$. Its weights also admit the independent all-active slope pattern, with slope $2$; diagonal LipSDP must cover that pattern and cannot return a bound below $2$.
Step 3. Therefore this weight representation is outside the LipSDP certificate set at bound $1$, and completeness does not require reaching it there. The same function may have another, simpler certified representation; completeness concerns the stated weight/certificate set.
Hard 2 — Coupled layers can have large ordinary norms
Take identity activations and weights $W_0=\operatorname{diag}(4,1/4)$, $W_1=\operatorname{diag}(1/4,4)$. Compute their norm product and the composite gain. Find $X_1$ so $W_0^\top X_1W_0=I$ and $W_1^\top W_1=X_1$.
Review if needed: Primer A: quadratic forms and PSD order; this module's relevant section.
Hint
The second layer reverses the first layer's directional scaling.
Worked solution
Step 1. Both spectral norms are $4$, so their product is $16$. Yet $W_1W_0=I$, and the composite gain is exactly $1$. Identity activation is slope-restricted in $[0,1]$.
Step 2. Set $X_1=\operatorname{diag}(1/16,16)$. Direct multiplication gives $W_0^\top X_1W_0=I$ and $W_1^\top W_1=X_1$.
Step 3. The intermediate weighted energy is therefore equal to input energy and output energy. This example explains why coupling directions through a certificate can prove gain $1$ while enforcing ordinary norm at most $1$ for each stored layer would exclude these weights.
Hard 3 — Carry a truncation factor through depth
For $K=\begin{bmatrix}0&-0.2\\0.2&0\end{bmatrix}$ deploy $S_2=I+K+K^2/2$ instead of $e^K$. Compute its exact norm and compare it with $1+0.2^3/6$. What bound follows for a composition of ten such layers and 1-Lipschitz activations?
Review if needed: Primer A: spectral norms and products; this module's relevant section.
Hint
$K^2=-0.04I$, so $S_2=0.98I+K$ and $S_2^\top S_2$ is diagonal.
Worked solution
Step 1. $S_2^\top S_2=(0.98^2+0.2^2)I=1.0004I$, so $\|S_2\|_2=\sqrt{1.0004}\approx1.00019998$, slightly above one.
Step 2. The skew-exponential remainder bound is $\|e^K-S_2\|_2\le0.2^3/6\approx0.00133333$. Since $e^K$ is orthogonal, $\|S_2\|_2\le1+0.2^3/6$. The rounded bound $\|S_2\|_2\le1.00133333$ is also valid here by the exact norm in Step 1.
Step 3. For ten layers the remainder-based product bound is $(1+0.2^3/6)^{10}\approx1.01341362$. Exact layer norms give $(\sqrt{1.0004})^{10}\approx1.00200160$. Intermediate activations can reduce the true gain, but calling the truncated network exactly 1-Lipschitz would be unjustified.
Hard 4 — Contraction time and a nonzero initial storage
A recurrent model satisfies $\|\Delta x_t\|_P\le0.8^t\|\Delta x_0\|_P$ for equal inputs. If the initial distance is $3$, find the first integer time at which this bound is at most $0.1$. Separately, a dissipativity certificate gives $\sum_t\|\Delta y_t\|^2\le V_0+4\sum_t\|\Delta u_t\|^2$. If $V_0=4$ and input energy is $9$, what output-energy bound follows?
Review if needed: Primer D: Lyapunov stability and invariant sets; this module's relevant section.
Hint
Take logarithms carefully: $\log0.8\lt0$. For the second question keep the initial storage term.
Worked solution
Step 1. $3(0.8)^t\le0.1$ is equivalent to $t\ge\log(1/30)/\log0.8\approx15.24$, so the first integer is $16$. Indeed the bounds at $15$ and $16$ are about $0.105553$ and $0.0844425$.
Step 2. The output energy is at most $4+4\cdot9=40$, giving output sequence norm at most $\sqrt{40}\approx6.32456$.
Step 3. The pure incremental gain rule $\|\Delta y\|_{\ell_2}\le2\|\Delta u\|_{\ell_2}=6$ requires zero initial storage (for example equal initial states). Contraction under equal inputs and a gain statement under differing inputs answer different questions.
Original research exercises
Continue here when the core calculations and the certificate assumptions are clear. Use the graded questions above as a warm-up; the original derivations below remain available in full.
Key Papers
| Paper | Venue | Contribution | Why read it |
|---|---|---|---|
| Wang & Manchester — Direct Parameterization of Lipschitz-Bounded Deep Networks | ICML 2023 | Sandwich layer; smooth map onto all LipSDP-certified feedforward networks; FFT convolutions. | The walkthrough; read the appendix proofs for the exact multiplier. |
| Araujo, Havens, Delattre, Allauzen & Hu — A Unified Algebraic Perspective on Lipschitz Neural Networks | ICLR 2023 | $W^{\top}W\preceq T$ unifies SN, orthogonal, AOL, CPL; SLL via Gershgorin. | Shortest bridge from LipSDP to layer design. |
| Pauli, Wang, Manchester & Allgöwer — Lipschitz-Bounded 1D Convolutional Neural Networks using the Cayley Transform and the Controllability Gramian | IEEE CDC 2023 | Direct parameterization of 1-D CNNs: Gramian storage, Cayley kernels. | Every step a Schur complement; the model for Section 4. |
| Pauli, Wang, Manchester & Allgöwer — LipKernel: Lipschitz-Bounded Convolutional Neural Networks via Dissipative Layers | Automatica 188, 2026 | Incrementally dissipative 2-D layers via Roesser models; kernels in standard form. | Reported inference 2–3 orders of magnitude faster than Fourier layers. |
| Revay, Wang & Manchester — Recurrent Equilibrium Networks: Flexible Dynamic Models With Guaranteed Stability and Robustness | IEEE TAC 69(5), 2024 | Contracting, IQC-robust recurrent models for every parameter value. | The dynamic counterpart; basis of certified policies. |
| Barbara, Wang & Manchester — R2DN: Scalable Parameterization of Contracting and Lipschitz Recurrent Deep Networks | CDC 2026 (accepted) | LTI system in feedback with a 1-Lipschitz DNN; no equilibrium solve. | Up to 10× faster than RENs, same guarantees. |
| Manchester, Wang & Barbara — Neural Networks in the Loop: Learning with Stability and Robustness Guarantees | Annu. Rev. Control Robot. Auton. Syst. 9, 2026 | Survey: IQC certificates plus direct parameterizations. | Best overview of this module and the next. |
| Trockman & Kolter — Orthogonalizing Convolutional Layers with the Cayley Transform | ICLR 2021 | Cayley transform per FFT frequency: orthogonal convolutions. | The Orthogon baseline and the FFT trick. |
| Anil, Lucas & Grosse — Sorting out Lipschitz function approximation | ICML 2019 | Gradient-norm preservation; GroupSort/MaxMin; universality. | Why norm-constrained ReLU nets are weak. |
| Prach & Lampert — Almost-Orthogonal Layers for Efficient General-Purpose Lipschitz Networks | ECCV 2022 | Diagonal rescaling makes any layer 1-Lipschitz. | Simplest certified layer. |
| Singla & Feizi — Skew Orthogonal Convolutions | ICML 2021 | Exponential of skew-symmetric convolutions with an error bound. | The exponential-map alternative. |
| Miyato, Kataoka, Koyama & Yoshida — Spectral Normalization for Generative Adversarial Networks | ICLR 2018 | Per-layer normalization by a power-iteration estimate. | The cheap baseline and its pitfalls. |
| Hu, Hu & Fredrikson — LipNeXt: Scaling up Lipschitz-based Certified Robustness to Billion-parameter Models | ICLR 2026 | Manifold-optimized orthogonal weights, spatial shifts, 1–2B parameters. | 2026 state of the art, deterministic $\ell_2$. |
| Lai, Huang, Kung & Chen — Enhancing Certified Robustness via Block Reflector Orthogonal Layers and Logit Annealing Loss | ICML 2025 | Block-reflector orthogonal layers; logit annealing loss. | Previous state of the art. |
| Carlini, Tramèr, Dvijotham, Rice, Sun & Kolter — (Certified!!) Adversarial Robustness for Free! | ICLR 2023 | Diffusion denoised smoothing with off-the-shelf models. | The probabilistic competitor at large radii. |