Introduction
A residual connection computes x l + 1 = x l + F l ( x l ) x_{l+1} = x_l + \mathcal{F}_l(x_l) x l + 1 = x l + F l ( x l ) . If we unroll this recursion, we get x L = x l + ∑ i = l L − 1 F i ( x i ) x_L = x_l + \sum_{i=l}^{L-1} \mathcal{F}_i(x_i) x L = x l + ∑ i = l L − 1 F i ( x i ) . Thus the signal of layer l l l reaches layer L L L without change, in the forward pass and in the backward pass. This is the identity-mapping property [25 ] .
Hyper-connections (HC) [62 ] widen the residual stream to n n n parallel streams. Each layer reads from the streams, writes to them, and mixes them with a learned n × n n \times n n × n matrix. An unconstrained mixer breaks the identity-mapping property: a product of mixers can amplify or attenuate the stream without bound. In runs with 27B parameters, Xie et al. [57 ] measure composite gains of order 10 3 10^3 1 0 3 , together with loss spikes.
Manifold-constrained hyper-connections (mHC) [57 ] correct this problem. They make each mixer a doubly stochastic matrix,
H l = SK ( exp W l ) , (1) H_l = \operatorname{SK}(\exp W_l), \tag*{(1)} H l = SK ( exp W l ) , (1)
where W l W_l W l is a matrix of logits and SK is a fixed number of Sinkhorn–Knopp normalization sweeps [52 ] . Doubly stochastic matrices are nonexpansive, and products of doubly stochastic matrices are doubly stochastic. The mHC design trains stably at scale with n = 4 n = 4 n = 4 , and DeepSeek-V4 uses it [19 ] . Many follow-ups replace the Sinkhorn loop [58 , 61 , 38 , 18 , 23 , 54 ] , measure how trained models use their streams [3 , 46 , 60 ] , or use orthogonal mixers [50 , 24 ] (Liu et al. 2026). These works are architectural or empirical, and the mHC paper contains no theorems.
Two observations of Xie et al. [57 ] need an explanation. First, the composite mixers over 30, 60, and 90 layers are almost uniform matrices (their Figure 8). Guo et al. [24 ] find that a composite of 24 trained mixers has numerical rank one. Second, the projection stops after 20 sweeps, and the composite backward gain drifts up to about 1.6 (their Figure 7). We explain both observations.
We also ask three general questions. What does the doubly stochastic constraint give? What does it cost? How does gradient descent on the logits move on the polytope?
Contributions. One quantity connects all our results: the second singular value σ 2 ( H ) \sigma_2(H) σ 2 ( H ) of a mixer H H H . It controls the propagation of signals, the speed of learning near the vertices, and the cost of the projection. Figure 1 shows the first two effects.
Figure 1. The three effects of the theory, all computed. (a) Four streams under one mHC mixer H = SK ( exp ( 4 A ) ) H = \operatorname{SK}(\exp(4A)) H = SK ( exp ( 4 A )) at every layer. The stream mean (dashed) does not change, and the differences decay inside the envelope σ 2 ( H ) ∥ x 0 ∥ \sigma_2(H)\lVert x_0\rVert σ 2 ( H ) ∥ x 0 ∥ of Theorem 3.2 . (b) The same start under the isometric mixer A ∈ O 1 ( n ) A \in\mathcal{O}_1(n) A ∈ O 1 ( n ) : the differences keep their norm (Proposition 7.1 ). (c) The Birkhoff polytope B 3 \mathcal{B}_3 B 3 under a linear map that sends the six permutations to a regular hexagon and J / n J/n J / n to its center. The loss ⟨ C , H ⟩ \langle C,H\rangle ⟨ C , H ⟩ has its minimum at I I I . From one start, the straight-through update reaches I I I by t = 8 t = 8 t = 8 (ε = 0.003 \varepsilon= 0.003 ε = 0.003 ). Logit gradient flow moves toward the vertex ( 1 2 ) (1\ 2) ( 1 2 ) and is near it at t = 8 t = 8 t = 8 ; it needs t ≈ 400 t \approx400 t ≈ 400 to reach ε = 0.001 \varepsilon= 0.001 ε = 0.001 at I I I (Theorems 5.3 and 5.4 ).
Two channels (Section 3). A doubly stochastic mixer splits the stream into its mean and its differences. On the mean, mHC is exactly a residual network (Theorem 3.1 ). On the differences, each layer contracts by σ 2 ( H ) ≤ 1 − n min i j H i j \sigma_2(H) \le1 - n \min_{ij} H_{ij} σ 2 ( H ) ≤ 1 − n min ij H ij (Theorem 3.2 ). Thus the extra width is a fading memory with a horizon of 1 / ( 1 − σ 2 ) 1/(1 - \sigma_2) 1/ ( 1 − σ 2 ) layers (Corollary 3.3). Among nonnegative mixers, only the permutations do not collapse (Proposition 3.4 ).
The Sinkhorn-logit chart (Section 4). The map W ↦ SK ( exp W ) W \mapsto\operatorname{SK}(\exp W) W ↦ SK ( exp W ) is a global chart of the positive doubly stochastic matrices, and its logit gradient is exactly the Fisher–Rao gradient (Lemma 4.2 ). Thus logit gradient flow follows a squared Fisher–Rao metric. The straight-through update is exactly entropic mirror descent, and also exactly Riemannian gradient descent with the Sinkhorn retraction (Theorem 4.3 ).
Vertex viscosity (§ 5 ). Under logit gradient flow, ∣ d d t log H i j ∣ ≤ 4 n 2 ∥ ∇ f ∥ ∞ ε ( H ) \left|\frac{\mathrm{d}}{\mathrm{d}t}\log H_{ij}\right| \le4n^2\lVert\nabla f\rVert_\infty\varepsilon(H) d t d log H ij ≤ 4 n 2 ∥ ∇ f ∥ ∞ ε ( H ) , where ε ( H ) \varepsilon(H) ε ( H ) is the distance to the nearest permutation (Theorem 5.3 ). Thus the flow approaches and leaves each vertex only at rate 1 / t 1/t 1/ t , for every C 1 C^1 C 1 loss. The Fisher–Rao flow moves at an exponential rate (Theorem 5.4 ). This lifts the known gap between softmax and natural policy gradient on the simplex ([40 , 35 ] ) to the Birkhoff polytope. The main tool is a sharp pointwise bound for weighted additive least-squares fits (Lemma 5.1 ).
Truncated Sinkhorn (§ 6 ). The local convergence factor of Sinkhorn–Knopp is σ 2 2 \sigma_2^2 σ 2 2 (Knight [32 ] ), the same quantity that sets the horizon. Thus a fixed budget of sweeps limits the horizon that mHC can project accurately. We bound the drift of the backward gain that the truncation causes (Proposition 6.2 ).
Isometric mixers (§ 7 ). The collapse-free mixers among the mean-preserving nonexpansive mixers form a group isomorphic to O ( n − 1 ) O(n-1) O ( n − 1 ) . We give its Riemannian geometry, and we state what full orthogonal mixing (Guo et al. [24 ] ) gives up.
§ 8 confirms the predicted rates numerically. Appendix § 16 gives structured proofs of all results.
Related work (more in Appendix § 11 ). Earlier work studies rank collapse in attention networks ([20 , 44 ] ). Our collapse results are deterministic, concern the stream dimension, and use both marginals of the mixer. Douik and Hassibi [21 ] introduce the Fisher–Rao geometry of positive doubly stochastic matrices and the Sinkhorn retraction. PermELearn (Helmbold and Warmuth [27 ] ) learns permutations by entropic mirror descent with Sinkhorn projections; see also Adams and Zemel [2 ] ; Mena et al. [41 ] . § 5 lifts two results from the simplex to the polytope. They are the rate gap between softmax and natural policy gradient ([40 , 35 ] ) and the replicator equation as a Fisher–Rao flow ([51 , 28 ] ).
Setting and notation
Hyper-connections. We follow Xie et al. [57 ] . The input of layer l l l is a stream x l ∈ R n × d x_l \in\mathbb{R}^{n \times d} x l ∈ R n × d , and its n n n rows are the streams. A layer with block F l : R 1 × d → R 1 × d \mathcal{F}_l : \mathbb{R}^{1 \times d} \to\mathbb{R}^{1 \times d} F l : R 1 × d → R 1 × d (attention or feed-forward) computes
x l + 1 = H l x l + ( h l p o s t ) ⊤ F l ( h l p r e x l ) . (2) x_{l+1} = H_l x_l + (h_l^{\mathrm{post}})^\top\mathcal{F}_l(h_l^{\mathrm{pre}} x_l). \tag*{(2)} x l + 1 = H l x l + ( h l post ) ⊤ F l ( h l pre x l ) . (2)
Here H l ∈ R n × n H_l \in\mathbb{R}^{n \times n} H l ∈ R n × n is the mixer (the matrix H l r e s \mathcal{H}_l^{\mathrm{res}} H l res of Xie et al. [57 ] ), h l p r e ∈ R 1 × n h_l^{\mathrm{pre}} \in\mathbb{R}^{1 \times n} h l pre ∈ R 1 × n is the read-out, and h l p o s t ∈ R 1 × n h_l^{\mathrm{post}} \in\mathbb{R}^{1 \times n} h l post ∈ R 1 × n is the write-in. The composite mixer is H L : l : = H L − 1 ⋯ H l H_{L:l} := H_{L-1} \cdots H_l H L : l := H L − 1 ⋯ H l , with H l : l : = I H_{l:l} := I H l : l := I .
In mHC, h l p r e ∈ ( 0 , 1 ) 1 × n h_l^{\mathrm{pre}} \in(0,1)^{1 \times n} h l pre ∈ ( 0 , 1 ) 1 × n and h l p o s t ∈ ( 0 , 2 ) 1 × n h_l^{\mathrm{post}} \in(0,2)^{1 \times n} h l post ∈ ( 0 , 2 ) 1 × n are outputs of sigmoids, and H l = SK ( exp W l ) H_l = \operatorname{SK}(\exp W_l) H l = SK ( exp W l ) . The logits W l W_l W l are the sum of a static bias and an input-dependent term. The map SK \operatorname{SK} SK alternately normalizes the columns and the rows, t max = 20 t_{\max}=20 t m a x = 20 times, and it stops after a row normalization. Thus H l 1 = 1 H_l\mathbf{1}=\mathbf{1} H l 1 = 1 holds exactly, and the column sums are approximately one. Our theory treats the logits as the variables; Remark 4.6 relates them to the trainable parameters. The term exact projection means t max = ∞ t_{\max}=\infty t m a x = ∞ , and § 6 studies the truncation.
Doubly stochastic matrices. Let n ≥ 2 n \ge2 n ≥ 2 . Let 1 ∈ R n \mathbf{1} \in\mathbb{R}^n 1 ∈ R n be the all-ones vector, let J : = 11 ⊤ J := \mathbf{1}\mathbf{1}^{\top} J := 1 1 ⊤ , and let Q : = I − J / n Q := I - J/n Q := I − J / n be the orthogonal projector onto 1 ⊥ \mathbf{1}^{\perp} 1 ⊥ . The Birkhoff polytope is
B n : = { H ∈ R n × n : H ≥ 0 , H 1 = 1 , H ⊤ 1 = 1 } . \mathcal{B}_n := \{H \in\mathbb{R}^{n \times n} : H \ge0,\ H\mathbf{1}=\mathbf{1},\ H^{\top}\mathbf{1}=\mathbf{1}\}. B n := { H ∈ R n × n : H ≥ 0 , H 1 = 1 , H ⊤ 1 = 1 } .
Its relative interior B n ∘ \mathcal{B}_n^\circ B n ∘ is the set of positive doubly stochastic matrices. We identify a permutation π \pi π of [ n ] [n] [ n ] with its matrix P π P_\pi P π , where ( P π ) i j = 1 (P_\pi)_{ij}=1 ( P π ) ij = 1 if j = π ( i ) j=\pi(i) j = π ( i ) and 0 0 0 otherwise. We write S n \mathfrak{S}_n S n for the set of permutation matrices. By the Birkhoff–von Neumann theorem, S n \mathfrak{S}_n S n is the set of vertices of B n \mathcal{B}_n B n ([12 ] ). We use three facts many times.
(F1) Every H ∈ B n H \in\mathcal{B}_n H ∈ B n satisfies ∥ H ∥ 2 ≤ 1 \lVert H\rVert_2 \le1 ∥ H ∥ 2 ≤ 1 .
(F2) Products of matrices in B n \mathcal{B}_n B n (in B n ∘ \mathcal{B}_n^\circ B n ∘ ) are in B n \mathcal{B}_n B n (in B n ∘ \mathcal{B}_n^\circ B n ∘ ).
(F3) Every H ∈ B n H \in\mathcal{B}_n H ∈ B n satisfies H J = J H = J HJ=JH=J H J = J H = J . Thus H H H commutes with Q Q Q , and H H H maps 1 ⊥ \mathbf{1}^{\perp} 1 ⊥ into 1 ⊥ \mathbf{1}^{\perp} 1 ⊥ .
For H ∈ B n H \in\mathcal{B}_n H ∈ B n we write δ ( H ) : = min i j H i j \delta(H):=\min_{ij}H_{ij} δ ( H ) := min ij H ij and σ 2 ( H ) : = ∥ H Q ∥ 2 \sigma_2(H):=\lVert HQ\rVert_2 σ 2 ( H ) := ∥ H Q ∥ 2 . By (F3), σ 2 ( H ) \sigma_2(H) σ 2 ( H ) is the second-largest singular value of H H H . The vertex proximity of H H H is
ε π ( H ) : = max i , j ≠ π ( i ) H i j , ε ( H ) : = min π ∈ S n ε π ( H ) . (3) \varepsilon_\pi(H) := \max_{i,\ j \ne\pi(i)} H_{ij}, \qquad\varepsilon(H) := \min_{\pi\in\mathfrak{S}_n} \varepsilon_\pi(H). \tag*{(3)} ε π ( H ) := i , j = π ( i ) max H ij , ε ( H ) := π ∈ S n min ε π ( H ) . (3)
It is the largest entry off the support of the nearest permutation. Thus ε ( H ) = 0 \varepsilon(H)=0 ε ( H ) = 0 if and only if H ∈ S n H \in\mathfrak{S}_n H ∈ S n . Also, ∣ H i j − ( P π ) i j ∣ ≤ ( n − 1 ) ε π ( H ) \lvert H_{ij}-(P_\pi)_{ij}\rvert\le(n-1)\varepsilon_\pi(H) ∣ H ij − ( P π ) ij ∣ ≤ ( n − 1 ) ε π ( H ) for all ( i , j ) (i,j) ( i , j ) .
Fisher–Rao geometry. Let T : = { ξ ∈ R n × n : ξ 1 = 0 , ξ ⊤ 1 = 0 } \mathcal{T}:=\{\xi\in\mathbb{R}^{n \times n}:\ \xi\mathbf{1}=0,\ \xi^{\top}\mathbf{1}=0\} T := { ξ ∈ R n × n : ξ 1 = 0 , ξ ⊤ 1 = 0 } and s : = { a 1 ⊤ + 1 b ⊤ : a , b ∈ R n } \mathfrak{s}:=\{a\mathbf{1}^{\top}+\mathbf{1}b^{\top}:a,b \in\mathbb{R}^n\} s := { a 1 ⊤ + 1 b ⊤ : a , b ∈ R n } . For the Frobenius inner product ⟨ ⋅ , ⋅ ⟩ \langle\cdot,\cdot\rangle ⟨ ⋅ , ⋅ ⟩ , we have s = T ⊥ \mathfrak{s}=\mathcal{T}^{\perp} s = T ⊥ , dim T = ( n − 1 ) 2 \dim\mathcal{T}=(n-1)^2 dim T = ( n − 1 ) 2 , and dim s = 2 n − 1 \dim\mathfrak{s}=2n-1 dim s = 2 n − 1 . The set B n ∘ \mathcal{B}_n^\circ B n ∘ is an open subset of the affine space J / n + T J/n+\mathcal{T} J / n + T . Thus B n ∘ \mathcal{B}_n^\circ B n ∘ is a manifold, and its tangent space is T \mathcal{T} T at every point. As Douik and Hassibi [21 ] do, we give B n ∘ \mathcal{B}_n^\circ B n ∘ the Fisher–Rao metric
g H ( ξ , ζ ) : = ∑ i j ξ i j ζ i j H i j = ⟨ ξ ⊘ H , ζ ⟩ , (4) g_H(\xi,\zeta):=\sum_{ij}\frac{\xi_{ij}\zeta_{ij}}{H_{ij}}=\langle\xi\oslash H,\zeta\rangle, \tag*{(4)} g H ( ξ , ζ ) := ij ∑ H ij ξ ij ζ ij = ⟨ ξ ⊘ H , ζ ⟩ , (4)
where ⊙ \odot ⊙ and ⊘ \oslash ⊘ are the entrywise product and quotient. The g H g_H g H -orthogonal complement of T \mathcal{T} T in R n × n \mathbb{R}^{n \times n} R n × n is H ⊙ s H\odot\mathfrak{s} H ⊙ s (Lemma E.1 ). Let Π H \Pi_H Π H be the g H g_H g H -orthogonal projection onto T \mathcal{T} T . Then
Π H ( ξ ) = ξ − H ⊙ ( a 1 ⊤ + 1 b ⊤ ) , \Pi_H(\xi)=\xi-H\odot(a\mathbf{1}^{\top}+\mathbf{1}b^{\top}), Π H ( ξ ) = ξ − H ⊙ ( a 1 ⊤ + 1 b ⊤ ) ,
where ( a , b ) (a,b) ( a , b ) solves
a i + ∑ j H i j b j = ∑ j ξ i j , b j + ∑ i H i j a i = ∑ i ξ i j . (5) a_i+\sum_j H_{ij}b_j=\sum_j \xi_{ij},\qquad b_j+\sum_i H_{ij}a_i=\sum_i \xi_{ij}. \tag*{(5)} a i + j ∑ H ij b j = j ∑ ξ ij , b j + i ∑ H ij a i = i ∑ ξ ij . (5)
Equivalently, a i + b j a_i+b_j a i + b j is the least-squares fit of ξ ⊘ H \xi\oslash H ξ ⊘ H by an additive model, with weights H i j H_{ij} H ij (Lemma E.2 ). § 5 depends on this fact. The Fisher–Rao gradient of a differentiable f : R n × n → R f:\mathbb{R}^{n\times n}\to\mathbb{R} f : R n × n → R is [21 ]
grad f ( H ) = Π H ( H ⊙ ∇ f ( H ) ) . (6) \operatorname{grad} f(H)=\Pi_H\left(H\odot\nabla f(H)\right). \tag*{(6)} grad f ( H ) = Π H ( H ⊙ ∇ f ( H ) ) . (6)
We write ∥ X ∥ ∞ : = max i j ∣ X i j ∣ \lVert X\rVert_{\infty}:=\max_{ij}|X_{ij}| ∥ X ∥ ∞ := max ij ∣ X ij ∣ and KL ( H ∥ K ) : = ∑ i j ( H i j log ( H i j / K i j ) − H i j + K i j ) \operatorname{KL}(H\mathbin\Vert K):=\sum_{ij}(H_{ij}\log(H_{ij}/K_{ij})-H_{ij}+K_{ij}) KL ( H ∥ K ) := ∑ ij ( H ij log ( H ij / K ij ) − H ij + K ij ) . Table 2 in Appendix § 11 lists the notation.
Table 2. Notation.
The mean channel and the difference channel
Every x ∈ R n × d x\in\mathbb{R}^{n\times d} x ∈ R n × d has a unique decomposition
x = 1 x ˉ ⊤ + x ⊥ , x ˉ : = 1 n x ⊤ 1 , x ⊥ : = Q x . (7) x=\mathbf{1}\bar{x}^{\top}+x^{\perp},\qquad\bar{x}:=\frac{1}{n}x^{\top}\mathbf{1},\qquad x^{\perp}:=Qx. \tag*{(7)} x = 1 x ˉ ⊤ + x ⊥ , x ˉ := n 1 x ⊤ 1 , x ⊥ := Q x . (7)
We call x ˉ ∈ R d \bar{x}\in\mathbb{R}^{d} x ˉ ∈ R d the stream mean and x ⊥ x^{\perp} x ⊥ the stream differences ; the rows of x ⊥ x^{\perp} x ⊥ sum to zero. The first theorem shows that a doubly stochastic mixer does not couple the two parts. On the mean, mHC is a residual network.
Theorem 3.1 (Two channels). Let H l ∈ B n H_l\in\mathcal{B}_n H l ∈ B n for all l l l . Let u l : = F l ( h l p r e x l ) u_l:=\mathcal{F}_l(h_l^{\mathrm{pre}}x_l) u l := F l ( h l pre x l ) be the block output, and let h ˉ l : = 1 n h l p o s t 1 \bar{h}_l:=\frac{1}{n}h_l^{\mathrm{post}}\mathbf{1} h ˉ l := n 1 h l post 1 . Then (2) is equivalent to the two recursions
x ˉ l + 1 ⊤ = x ˉ l ⊤ + h ˉ l u l , x l + 1 ⊥ = H l x l ⊥ + Q ( h l p o s t ⊤ ) u l . (8) \bar{x}_{l+1}^{\top}=\bar{x}_l^{\top}+\bar{h}_l u_l,\qquad x_{l+1}^{\perp}=H_lx_l^{\perp}+Q(h_l^{\mathrm{post}\top})u_l. \tag*{(8)} x ˉ l + 1 ⊤ = x ˉ l ⊤ + h ˉ l u l , x l + 1 ⊥ = H l x l ⊥ + Q ( h l post ⊤ ) u l . (8) The Jacobian of the residual path x l ↦ x L x_l\mapsto x_L x l ↦ x L , with all block outputs held fixed, is the map x ↦ H L : l x x\mapsto H_{L:l}x x ↦ H L : l x , and its adjoint is y ↦ H L : l ⊤ y y\mapsto H_{L:l}^{\top}y y ↦ H L : l ⊤ y . Both maps fix 1 \mathbf{1} 1 . Thus the gain of the mean channel is exactly one in both directions, for all mixers in B n \mathcal{B}_n B n .
The mean recursion is the residual network of He et al. [25 ] , with block outputs scaled by h ˉ l ∈ ( 0 , 2 ) \bar{h}_l\in(0,2) h ˉ l ∈ ( 0 , 2 ) . This is the exact content of the identity-mapping property that mHC restores. All other effects of the mixers stay in the difference channel. Guo et al. [24 ] observe the decomposition and the contraction of one layer. Our new content is the rate.
Theorem 3.2 (Contraction). (a) For every H ∈ B n H\in\mathcal{B}_n H ∈ B n , σ 2 ( H ) ≤ 1 − n δ ( H ) \sigma_2(H)\le1-n\delta(H) σ 2 ( H ) ≤ 1 − n δ ( H ) . Equality holds for H = ( 1 − t ) P π + t J / n H=(1-t)P_{\pi}+tJ/n H = ( 1 − t ) P π + t J / n , t ∈ [ 0 , 1 ] t\in[0,1] t ∈ [ 0 , 1 ] .
(b) For l < L l<L l < L , σ 2 ( H L : l ) ≤ ∏ i = l L − 1 σ 2 ( H i ) ≤ exp ( − n ∑ i = l L − 1 δ ( H i ) ) \sigma_2(H_{L:l})\le\prod_{i=l}^{L-1}\sigma_2(H_i)\le\exp\left(-n\sum_{i=l}^{L-1}\delta(H_i)\right) σ 2 ( H L : l ) ≤ ∏ i = l L − 1 σ 2 ( H i ) ≤ exp ( − n ∑ i = l L − 1 δ ( H i ) ) .
(c) max j k ∣ ( H L : l ) j k − 1 n ∣ ≤ σ 2 ( H L : l ) \max_{jk}\left|(H_{L:l})_{jk}-\frac{1}{n}\right|\le\sigma_2(H_{L:l}) max j k ( H L : l ) j k − n 1 ≤ σ 2 ( H L : l ) . Thus H L : l → J / n H_{L:l}\to J/n H L : l → J / n entrywise if ∑ i δ ( H i ) → ∞ \sum_i\delta(H_i)\to\infty ∑ i δ ( H i ) → ∞ .
(d) Let H = SK ( exp W ) H=\operatorname{SK}(\exp W) H = SK ( exp W ) with ∥ W ∥ ∞ ≤ M \lVert W\rVert_{\infty}\le M ∥ W ∥ ∞ ≤ M , for the exact projection or for any number of sweeps that ends with a row normalization. Then δ ( H ) ≥ e − 4 M / n \delta(H)\ge e^{-4M}/n δ ( H ) ≥ e − 4 M / n . For the exact projection, σ 2 ( H ) ≤ 1 − e − 4 M \sigma_2(H)\le1-e^{-4M} σ 2 ( H ) ≤ 1 − e − 4 M .
Proof sketch. Write H = n δ ( J / n ) + ( 1 − n δ ) R H=n\delta(J/n)+(1-n\delta)R H = n δ ( J / n ) + ( 1 − n δ ) R with R ∈ B n R\in\mathcal{B}_n R ∈ B n ; this is a Doeblin splitting. On 1 ⊥ \mathbf{1}^{\perp} 1 ⊥ the uniform part is zero, and R R R is nonexpansive by (F1). This gives (a). Products act on 1 ⊥ \mathbf{1}^{\perp} 1 ⊥ factor by factor, which gives (b). For (d), the column scalings have ratios at most e 2 M e^{2M} e 2 M . Thus two entries in one row differ by a factor of at most e 4 M e^{4M} e 4 M . Also, each row has an entry of at least 1 / n 1/n 1/ n .
Corollary 3.3 (Width as a fading memory). Let ρ i : = σ 2 ( H i ) \rho_i:=\sigma_2(H_i) ρ i := σ 2 ( H i ) and ρ L : l : = ∏ i = l L − 1 ρ i \rho_{L:l}:=\prod_{i=l}^{L-1}\rho_i ρ L : l := ∏ i = l L − 1 ρ i . Then for l < L l<L l < L ,
∥ x l ⊥ ∥ F ≤ ρ L : l ∥ x L ⊥ ∥ F + ∑ i = l L − 1 ρ L : i + 1 ∥ Q ( h i p o s t T ) ∥ 2 ∥ u i ∥ 2 . (9) \lVert x_l^{\perp}\rVert_F\leq\rho_{L:l}\lVert x_L^{\perp}\rVert_F+\sum_{i=l}^{L-1}\rho_{L:i+1}\lVert Q(h_i^{\mathrm{post}\mathsf{T}})\rVert_2\lVert u_i\rVert_2. \tag*{(9)} ∥ x l ⊥ ∥ F ≤ ρ L : l ∥ x L ⊥ ∥ F + i = l ∑ L − 1 ρ L : i + 1 ∥ Q ( h i post T ) ∥ 2 ∥ u i ∥ 2 . (9) For the backward map, ∥ Q H L : l T y ∥ F ≤ ρ L : l ∥ Q y ∥ F \lVert QH_{L:l}^{\mathsf{T}}y\rVert_F\leq\rho_{L:l}\lVert Qy\rVert_F ∥ Q H L : l T y ∥ F ≤ ρ L : l ∥ Q y ∥ F . If ρ i ≤ ρ < 1 \rho_i\leq\rho<1 ρ i ≤ ρ < 1 for all i i i , then ρ k ≤ e − k / τ \rho^k\leq e^{-k/\tau} ρ k ≤ e − k / τ with the horizon
τ : = 1 / ( 1 − ρ ) . (10) \tau:=1/(1-\rho). \tag*{(10)} τ := 1/ ( 1 − ρ ) . (10)
Thus an mHC network is a residual network on the stream mean, plus an ( n − 1 ) (n-1) ( n − 1 ) -dimensional memory of the last O ( τ ) O(\tau) O ( τ ) block outputs.
What this explains. In Figure 8 of Xie et al. [57 ] , the trained mixers of single layers have many entries between 0.05 and 0.5. But the composites over 30, 60, and 90 layers have all entries between about 0.17 and 0.35. Theorem 3.2 shows that this result is necessary. With n = 4 n=4 n = 4 and a minimum entry of δ = 0.02 \delta=0.02 δ = 0.02 per layer, σ 2 ( H 30 : 0 ) ≤ e − 2.4 < 0.091 \sigma_2(H_{30:0})\leq e^{-2.4}<0.091 σ 2 ( H 30 : 0 ) ≤ e − 2.4 < 0.091 , so each entry of the composite is within 0.091 of 1 / n 1/n 1/ n . Thus the early layers reach the late layers only through the stream mean.
Collapse-free mixers. HC arranges blocks in sequence or in parallel with 0/1 mixers, that is, with vertices of B n \mathcal{B}_n B n (Zhu et al. [62 ] ). An interior mixer is a convex combination of such arrangements, and by Theorem 3.2 their composites decay to the uniform average. We call a mixer A A A collapse-free if ∥ A x ∥ 2 = ∥ x ∥ 2 \lVert Ax\rVert_2=\lVert x\rVert_2 ∥ A x ∥ 2 = ∥ x ∥ 2 for all x ⊥ 1 x\perp\mathbf{1} x ⊥ 1 . The next result shows that, among nonnegative mixers, only the permutations are collapse-free. It also shows that the signed collapse-free mixers form an orthogonal group.
Proposition 3.4 (Rigidity). Let C n : = { A ∈ R n × n : A 1 = 1 , ∥ A ∥ 2 ≤ 1 } \mathcal{C}_n:=\{A\in\mathbb{R}^{n\times n}:A\mathbf{1}=\mathbf{1},\lVert A\rVert_2\leq1\} C n := { A ∈ R n × n : A 1 = 1 , ∥ A ∥ 2 ≤ 1 } and O 1 ( n ) : = { A ∈ C n : A T A = I } \mathcal{O}_1(n):=\{A\in\mathcal{C}_n:A^{\mathsf{T}}A=I\} O 1 ( n ) := { A ∈ C n : A T A = I } .
(a) Every A ∈ C n A\in\mathcal{C}_n A ∈ C n satisfies A T 1 = 1 A^{\mathsf{T}}\mathbf{1}=\mathbf{1} A T 1 = 1 , and A A A is collapse-free if and only if A ∈ O 1 ( n ) A\in\mathcal{O}_1(n) A ∈ O 1 ( n ) . Also, C n = conv O 1 ( n ) \mathcal{C}_n=\operatorname{conv}\mathcal{O}_1(n) C n = conv O 1 ( n ) and B n = C n ∩ R ≥ 0 n × n \mathcal{B}_n=\mathcal{C}_n\cap\mathbb{R}_{\geq0}^{n\times n} B n = C n ∩ R ≥ 0 n × n .
(b) B n ∩ O 1 ( n ) = S n \mathcal{B}_n\cap\mathcal{O}_1(n)=\mathfrak{S}_n B n ∩ O 1 ( n ) = S n .
(c) For H ∈ B n H\in\mathcal{B}_n H ∈ B n , σ 2 ( H ) = 1 \sigma_2(H)=1 σ 2 ( H ) = 1 if and only if H H H is partly decomposable. That is, there are sets R , S ⊂ [ n ] \mathcal{R},\mathcal{S}\subset[n] R , S ⊂ [ n ] with 0 < ∣ R ∣ = ∣ S ∣ < n 0<|\mathcal{R}|=|\mathcal{S}|<n 0 < ∣ R ∣ = ∣ S ∣ < n such that H i j = 0 H_{ij}=0 H ij = 0 if exactly one of i ∈ R i\in\mathcal{R} i ∈ R and j ∈ S j\in\mathcal{S} j ∈ S holds. In particular, σ 2 ( H ) < 1 \sigma_2(H)<1 σ 2 ( H ) < 1 for every H ∈ B n ∘ H\in\mathcal{B}_n^\circ H ∈ B n ∘ .
(d) Let H ∈ B n H\in\mathcal{B}_n H ∈ B n satisfy σ n ( H ) ≥ 1 − ϑ \sigma_n(H)\geq1-\vartheta σ n ( H ) ≥ 1 − ϑ with 4 n ϑ < 1 4n\vartheta<1 4 n ϑ < 1 . Then ϵ π ( H ) ≤ 4 n ϑ \epsilon_\pi(H)\leq4n\vartheta ϵ π ( H ) ≤ 4 n ϑ for some π ∈ S n \pi\in\mathfrak{S}_n π ∈ S n .
Guo et al. [24 ] also note part (b). By part (a), the collapse-free mixers in C n \mathcal{C}_n C n form the group O 1 ( n ) ≅ O ( n − 1 ) \mathcal{O}_1(n)\cong O(n-1) O 1 ( n ) ≅ O ( n − 1 ) (§ 7 ). The proposition gives a square of design spaces:
S n ⊂ O 1 ( n ) ≅ O ( n − 1 ) ∩ ∩ B n = conv S n ⊂ C n = conv O 1 ( n ) . \begin{aligned}
\mathfrak{S}_n &\subset\mathcal{O}_1(n)\cong O(n-1)\\
\cap\quad&\qquad\qquad\cap\\
\mathcal{B}_n=\operatorname{conv}\mathfrak{S}_n &\subset\mathcal{C}_n=\operatorname{conv}\mathcal{O}_1(n).
\end{aligned} S n ∩ B n = conv S n ⊂ O 1 ( n ) ≅ O ( n − 1 ) ∩ ⊂ C n = conv O 1 ( n ) .
The top row contains isometries (no collapse and no explosion), and the bottom row contains contractions (no explosion). Nonnegativity, the design principle of mHC, selects the left column, and unit gain in every direction selects the top row. The two meet only at the permutations. Thus, in the design space of mHC, “collapse-free” means “at a vertex”. Part (d) gives a quantitative version: a mixer that almost preserves all stream differences is near a vertex. Sections 4 and 5 show that the Sinkhorn-logit parameterization approaches the vertices only slowly.
The Sinkhorn-logit chart
Let Φ ( W ) : = SK ( exp W ) \Phi(W) := \operatorname{SK}(\exp W) Φ ( W ) := SK ( exp W ) denote the exact projection. By Sinkhorn’s theorem [52 ] , every positive matrix K K K has a unique doubly stochastic scaling D 1 K D 2 D_1 K D_2 D 1 K D 2 , with D 1 , D 2 D_1,D_2 D 1 , D 2 positive and diagonal. Thus Φ ( W ) = diag ( e α ) exp ( W ) diag ( e β ) \Phi(W) = \operatorname{diag}(e^\alpha)\exp(W)\operatorname{diag}(e^\beta) Φ ( W ) = diag ( e α ) exp ( W ) diag ( e β ) for some α , β ∈ R n \alpha,\beta\in\mathbb{R}^n α , β ∈ R n . These vectors are unique, up to a constant that we add to α \alpha α and subtract from β \beta β .
Lemma 4.1 (Global chart). The map Φ : R n × n → B n ∘ \Phi: \mathbb{R}^{n \times n} \to\mathcal{B}_n^\circ Φ : R n × n → B n ∘ is smooth and surjective, and Φ ( W ) = Φ ( W ′ ) \Phi(W) = \Phi(W') Φ ( W ) = Φ ( W ′ ) if and only if W − W ′ ∈ s W-W' \in\mathfrak{s} W − W ′ ∈ s . The restriction of Φ \Phi Φ to T \mathcal{T} T is a diffeomorphism onto B n ∘ \mathcal{B}_n^\circ B n ∘ , with inverse H ↦ Q ( log H ) Q H \mapsto Q(\log H)Q H ↦ Q ( log H ) Q . If W k ∈ T W_k \in\mathcal{T} W k ∈ T and Φ ( W k ) → P π \Phi(W_k) \to P_\pi Φ ( W k ) → P π , then ∥ W k ∥ ∞ → ∞ \lVert W_k \rVert_\infty\to\infty ∥ W k ∥ ∞ → ∞ .
The chart is natural for matrix scaling. The set B n ∘ \mathcal{B}_n^\circ B n ∘ is the quotient of the positive matrices by the scalings K ↦ D 1 K D 2 K \mapsto D_1KD_2 K ↦ D 1 K D 2 , and W ↦ W + s W \mapsto W+\mathfrak{s} W ↦ W + s is the same action in logarithmic coordinates. The next lemma identifies the gradient in logit space.
Lemma 4.2 (Differential of the chart). Let H = Φ ( W ) H=\Phi(W) H = Φ ( W ) , and define A H : R n × n → T A_H:\mathbb{R}^{n \times n}\to\mathcal{T} A H : R n × n → T by A H ( ξ ) : = Π H ( H ⊙ ξ ) A_H(\xi):=\Pi_H(H\odot\xi) A H ( ξ ) := Π H ( H ⊙ ξ ) .
(a) d Φ W ( V ) = A H ( V ) \mathrm{d}\Phi_W(V)=A_H(V) d Φ W ( V ) = A H ( V ) for every V ∈ R n × n V\in\mathbb{R}^{n \times n} V ∈ R n × n .
(b) A H A_H A H is self-adjoint and positive semidefinite, with kernel s \mathfrak{s} s . On T \mathcal{T} T it is the inverse of the Fisher–Rao metric tensor: g H ( ξ , ζ ) = ⟨ A H − 1 ξ , ζ ⟩ g_H(\xi,\zeta)=\langle A_H^{-1}\xi,\zeta\rangle g H ( ξ , ζ ) = ⟨ A H − 1 ξ , ζ ⟩ for ξ , ζ ∈ T \xi,\zeta\in\mathcal{T} ξ , ζ ∈ T .
(c) For every differentiable f f f ,
∇ W ( f ∘ Φ ) ( W ) = A H ( ∇ f ( H ) ) = grad f ( H ) . (11) \nabla_W(f\circ\Phi)(W)=A_H(\nabla f(H))=\operatorname{grad}f(H). \tag*{(11)} ∇ W ( f ∘ Φ ) ( W ) = A H ( ∇ f ( H )) = grad f ( H ) . (11)
Part (c) says that backpropagation through Sinkhorn computes exactly the Fisher–Rao gradient of Douik and Hassibi (2019). But the training step applies this matrix to W W W , not to H H H . Thus the step applies the inverse metric twice. The next theorem makes this statement precise. We write H ( k ) H^{(k)} H ( k ) for the k k k -th training iterate, to separate it from the mixer H l H_l H l of layer l l l .
Theorem 4.3 (Induced dynamics). Let f f f be C 1 C^1 C 1 , and let H ( t ) = Φ ( W ( t ) ) H(t)=\Phi(W(t)) H ( t ) = Φ ( W ( t )) .
(a) (Logit gradient flow.) If W ˙ = − ∇ W ( f ∘ Φ ) ( W ) \dot{W}=-\nabla_W(f\circ\Phi)(W) W ˙ = − ∇ W ( f ∘ Φ ) ( W ) , then H ˙ = − A H 2 ∇ f ( H ) \dot{H}=-A_H^2\nabla f(H) H ˙ = − A H 2 ∇ f ( H ) . This flow is the Riemannian gradient flow of f f f for the squared Fisher–Rao metric G H ( ξ , ζ ) : = ⟨ A H − 1 ξ , A H − 1 ζ ⟩ \mathcal{G}_H(\xi,\zeta):=\langle A_H^{-1}\xi,A_H^{-1}\zeta\rangle G H ( ξ , ζ ) := ⟨ A H − 1 ξ , A H − 1 ζ ⟩ on T \mathcal{T} T .
(b) (Straight-through flow.) If W ˙ = − ∇ f ( Φ ( W ) ) \dot{W}=-\nabla f(\Phi(W)) W ˙ = − ∇ f ( Φ ( W )) , then H ˙ = − grad f ( H ) \dot{H}=-\operatorname{grad}f(H) H ˙ = − grad f ( H ) . This flow is the Fisher–Rao gradient flow, and it is also the entropic mirror flow d d t log H ∈ − ∇ f ( H ) + s \frac{\mathrm{d}}{\mathrm{d}t}\log H\in-\nabla f(H)+\mathfrak{s} d t d log H ∈ − ∇ f ( H ) + s .
(c) (Three-way identity.) Let η > 0 \eta> 0 η > 0 , H ( k ) = Φ ( W ( k ) ) H^{(k)} = \Phi(W^{(k)}) H ( k ) = Φ ( W ( k ) ) , Γ ( k ) : = ∇ f ( H ( k ) ) \Gamma^{(k)} := \nabla f(H^{(k)}) Γ ( k ) := ∇ f ( H ( k ) ) , and W ( k + 1 ) = W ( k ) − η Γ ( k ) W^{(k+1)} = W^{(k)} - \eta\Gamma^{(k)} W ( k + 1 ) = W ( k ) − η Γ ( k ) . Then
H ( k + 1 ) = SK ( H ( k ) ⊙ e − η Γ ( k ) ) = arg min H ∈ B n { η ⟨ Γ ( k ) , H ⟩ + KL ( H ∥ H ( k ) ) } = R H ( k ) ( − η grad f ( H ( k ) ) ) , (12) \begin{aligned}
H^{(k+1)} &= \operatorname{SK}\left(H^{(k)} \odot e^{-\eta\Gamma^{(k)}}\right) \\
&= \underset{H \in\mathcal{B}_n}{\arg\min}\left\{\eta\langle\Gamma^{(k)},H\rangle+ \operatorname{KL}\left(H \mathbin\Vert H^{(k)}\right)\right\} \\
&= R_{H^{(k)}}\left(-\eta\operatorname{grad} f\left(H^{(k)}\right)\right), \tag*{(12)}
\end{aligned} H ( k + 1 ) = SK ( H ( k ) ⊙ e − η Γ ( k ) ) = H ∈ B n arg min { η ⟨ Γ ( k ) , H ⟩ + KL ( H ∥ H ( k ) ) } = R H ( k ) ( − η grad f ( H ( k ) ) ) , (12)
where R H ( ξ ) : = SK ( H ⊙ exp ( ξ ⊘ H ) ) R_H(\xi) := \operatorname{SK}\left(H \odot\exp\left(\xi\oslash H\right)\right) R H ( ξ ) := SK ( H ⊙ exp ( ξ ⊘ H ) ) is the Sinkhorn retraction of Douik and Hassibi [21 ] .
Thus one update is three methods. The first expression in (12) is an exponentiated-gradient step (Helmbold and Warmuth [27 ] ), and the second is an entropic mirror descent step (Beck and Teboulle [9 ] ). The third is a Riemannian gradient descent step on ( B n ∘ , g ) (\mathcal{B}_n^\circ,g) ( B n ∘ , g ) with a first-order retraction.
Proof sketch. Parts (a) and (b) follow from the chain rule and Lemma 4.2 . Part (c) depends on one fact: the Sinkhorn projection does not change under diagonal scalings, SK ( D 1 K D 2 ) = SK ( K ) \operatorname{SK}(D_1 K D_2) = \operatorname{SK}(K) SK ( D 1 K D 2 ) = SK ( K ) . Each of the three updates produces H ( k ) ⊙ e − η Γ ( k ) H^{(k)} \odot e^{-\eta\Gamma^{(k)}} H ( k ) ⊙ e − η Γ ( k ) up to such a scaling.
Remark 4.4 (The simplex as a check). For one row, that is, for the simplex with p = softmax ( w ) p = \operatorname{softmax}(w) p = softmax ( w ) , the analogue of A H A_H A H is A p = diag ( p ) − p p T A_p = \operatorname{diag}(p) - pp^\mathsf{T} A p = diag ( p ) − p p T , the inverse Fisher–Rao tensor. The straight-through flow w ˙ = − ∇ f ( p ) \dot{w} = -\nabla f(p) w ˙ = − ∇ f ( p ) gives p ˙ = − A p ∇ f ( p ) \dot{p} = -A_p\nabla f(p) p ˙ = − A p ∇ f ( p ) . This is the replicator equation, which is the Fisher–Rao gradient flow ([51 , 28 ] ). The exact logit flow gives p ˙ = − A p 2 ∇ f ( p ) \dot{p} = -A_p^2\nabla f(p) p ˙ = − A p 2 ∇ f ( p ) . Theorem 4.3 is the doubly stochastic version of this pair of flows. The gauge s \mathfrak{s} s takes the place of the single normalizing constant.
Remark 4.5 (Cost). mHC backpropagates through the Sinkhorn loop with a dedicated kernel (Xie et al., [57 ] , Sec. 4.3). By Theorem 4.3 (c), the straight-through update skips this backward pass, and it is not an approximation. It is exact entropic mirror descent, a natural-gradient method with its own convergence theory (Beck and Teboulle [9 ] ). Remark B.1 discusses the truncated projection.
Remark 4.6 (Dynamic logits). In mHC the logits are W = λ mat ( x ~ φ ) + b W = \lambda\operatorname{mat}(\tilde{x}\varphi) + b W = λ mat ( x ~ φ ) + b . Here λ ∈ R \lambda\in\mathbb{R} λ ∈ R , φ \varphi φ , and b b b are trainable, and x ~ ∈ R 1 × n d \tilde{x} \in\mathbb{R}^{1 \times nd} x ~ ∈ R 1 × n d is a normalized vector that depends on the input. For one input, gradient flow on b b b induces exactly W ˙ = − ∇ W ( f ∘ Φ ) \dot{W} = -\nabla_W(f \circ\Phi) W ˙ = − ∇ W ( f ∘ Φ ) . Gradient flow on φ \varphi φ induces W ˙ = − λ 2 ∥ x ~ ∥ 2 2 ∇ W ( f ∘ Φ ) \dot{W} = -\lambda^2\lVert\tilde{x}\rVert_2^2\nabla_W(f \circ\Phi) W ˙ = − λ 2 ∥ x ~ ∥ 2 2 ∇ W ( f ∘ Φ ) , the same flow at a different speed. For a batch, the update averages the logit gradients of the inputs with the Gram weights λ 2 ⟨ x ~ , x ~ ′ ⟩ \lambda^2\langle\tilde{x},\tilde{x}'\rangle λ 2 ⟨ x ~ , x ~ ′ ⟩ . Thus every statement about the logit flow holds input by input, up to this positive semidefinite weighting.
Vertex viscosity
By Proposition 3.4 a nonnegative mixer is collapse-free only at a vertex, and by Lemma 4.1 the vertices are at infinity in the logit chart. How fast can training move toward a vertex, or away from it? We compare the two flows of Theorem 4.3 : the logit gradient flow moves at a polynomial rate, and the Fisher–Rao flow moves at an exponential rate. On the simplex, earlier work shows this gap: softmax policy gradient converges at rate O ( 1 / t ) O(1/t) O ( 1/ t ) , and natural policy gradient converges linearly [40 , 35 ] . We lift the gap to B n \mathcal{B}_n B n , for every C 1 C^1 C 1 loss f f f and in both directions. Below, G G G is a bound on ∥ ∇ f ( H ( t ) ) ∥ ∞ \lVert\nabla f(H(t))\rVert_\infty ∥ ∇ f ( H ( t )) ∥ ∞ along the trajectory.
The mechanism is visible in (6) . By Lemma E.2 , grad f ( H ) = H ⊙ ( ∇ f ( H ) − m ) \operatorname{grad} f(H)=H\mathbin{\odot}(\nabla f(H)-m) grad f ( H ) = H ⊙ ( ∇ f ( H ) − m ) , where m = a 1 T + 1 b T m=a\mathbf{1}^{\mathsf{T}}+\mathbf{1}b^{\mathsf{T}} m = a 1 T + 1 b T is the weighted additive fit of ∇ f ( H ) \nabla f(H) ∇ f ( H ) . If m m m is bounded, then each entry of the gradient is proportional to the corresponding entry of H H H . On the simplex the fit is one number, the p p p -weighted mean of the gradient, and the bound is immediate. On B n \mathcal{B}_n B n the fit has 2 n − 1 2n-1 2 n − 1 parameters, and its weights can be very unbalanced. The next lemma gives the bound that we need.
Lemma 5.1 (Weighted additive fits). Let ω ∈ R > 0 n × n \omega\in\mathbb{R}_{>0}^{n\times n} ω ∈ R > 0 n × n and C ∈ R n × n C\in\mathbb{R}^{n\times n} C ∈ R n × n . The problem
min a , b ∈ R n ∑ i , j ω i j ( C i j − a i − b j ) 2 \min_{a,b\in\mathbb{R}^n}\sum_{i,j}\omega_{ij}(C_{ij}-a_i-b_j)^2 a , b ∈ R n min i , j ∑ ω ij ( C ij − a i − b j ) 2 has a minimizer, and its fitted values m i j : = a i + b j m_{ij}:=a_i+b_j m ij := a i + b j are unique. They satisfy
∥ m ∥ ∞ ≤ ( 2 n − 1 ) ∥ C ∥ ∞ . (13) \lVert m\rVert_\infty\leq(2n-1)\lVert C\rVert_\infty. \tag*{(13)} ∥ m ∥ ∞ ≤ ( 2 n − 1 ) ∥ C ∥ ∞ . (13) The constant 2 n − 1 2n-1 2 n − 1 is sharp.
Proof sketch. By the Cauchy–Binet formula and Cramer’s rule, a weighted least-squares solution is a convex combination of the solutions of the square subsystems [10 ] . For the additive model, the nonsingular square subsystems are the spanning trees of the complete bipartite graph K n , n K_{n,n} K n , n . On a tree, the fitted value of a cell is an alternating sum of data along a path with at most 2 n − 1 2n-1 2 n − 1 edges. A Hamiltonian path with data ± 1 \pm1 ± 1 shows that the bound is sharp. ■
Lemma 5.2 (Small gradients near vertices). Let H ∈ B n ∘ H\in\mathcal{B}_n^\circ H ∈ B n ∘ and G : = ∥ ∇ f ( H ) ∥ ∞ G:=\lVert\nabla f(H)\rVert_\infty G := ∥ ∇ f ( H ) ∥ ∞ . Then ∣ grad f ( H ) i j ∣ ≤ 2 n G H i j \lvert\operatorname{grad} f(H)_{ij}\rvert\leq2nG H_{ij} ∣ grad f ( H ) ij ∣ ≤ 2 n G H ij for all ( i , j ) (i,j) ( i , j ) , and ∥ grad f ( H ) ∥ ∞ ≤ 2 n ( n − 1 ) G ε ( H ) \lVert\operatorname{grad} f(H)\rVert_\infty\leq2n(n-1)G\,\varepsilon(H) ∥ grad f ( H ) ∥ ∞ ≤ 2 n ( n − 1 ) G ε ( H ) . Consequently, for every W W W and H = Φ ( W ) H=\Phi(W) H = Φ ( W ) ,
∥ ∇ W ( f ∘ Φ ) ( W ) ∥ ∞ ≤ 2 n ( n − 1 ) ∥ ∇ f ( H ) ∥ ∞ ε ( H ) . (14) \lVert\nabla_W(f\circ\Phi)(W)\rVert_\infty\leq2n(n-1)\lVert\nabla f(H)\rVert_\infty\,\varepsilon(H). \tag*{(14)} ∥ ∇ W ( f ∘ Φ ) ( W ) ∥ ∞ ≤ 2 n ( n − 1 ) ∥ ∇ f ( H ) ∥ ∞ ε ( H ) . (14)
The bound (14) is a property of the landscape, not of a dynamics. If Φ ( W k ) → P π \Phi(W_k)\to P_\pi Φ ( W k ) → P π , then the logit gradient of every loss goes to zero. Thus every vertex is an asymptotic critical point of f ∘ Φ f\circ\Phi f ∘ Φ , also if P π P_\pi P π does not minimize f f f .
Theorem 5.3 (Vertex viscosity of the logit flow). Let W ( t ) W(t) W ( t ) , t ∈ [ 0 , T ) t\in[0,T) t ∈ [ 0 , T ) , solve W ˙ = − ∇ W ( f ∘ Φ ) ( W ) \dot{W}=-\nabla_W(f\circ\Phi)(W) W ˙ = − ∇ W ( f ∘ Φ ) ( W ) , let H ( t ) = Φ ( W ( t ) ) H(t)=\Phi(W(t)) H ( t ) = Φ ( W ( t )) , and let G : = sup t < T ∥ ∇ f ( H ( t ) ) ∥ ∞ < ∞ G:=\sup_{t<T}\lVert\nabla f(H(t))\rVert_\infty<\infty G := sup t < T ∥ ∇ f ( H ( t )) ∥ ∞ < ∞ . Then for all i , j i,j i , j and t t t ,
∣ d d t log H i j ( t ) ∣ ≤ 4 n 3 G ε ( H ( t ) ) . (15) \left\lvert\frac{\mathrm{d}}{\mathrm{d}t}\log H_{ij}(t)\right\rvert\leq4n^3G\,\varepsilon(H(t)). \tag*{(15)} d t d log H ij ( t ) ≤ 4 n 3 G ε ( H ( t )) . (15)
Let ε 0 : = ε ( H ( 0 ) ) \varepsilon_0 := \varepsilon(H(0)) ε 0 := ε ( H ( 0 )) and c : = 4 n 3 G c := 4n^3G c := 4 n 3 G . Then
ε ( H ( t ) ) ≥ ε 0 1 + c ε 0 t for t < T , (16) \varepsilon(H(t)) \ge\frac{\varepsilon_0}{1+c\varepsilon_0t}\qquad\text{for }t<T, \tag*{(16)} ε ( H ( t )) ≥ 1 + c ε 0 t ε 0 for t < T , (16) ε ( H ( t ) ) ≤ ε 0 1 − c ε 0 t for t < T , t < 1 c ε 0 . (17) \varepsilon(H(t)) \le\frac{\varepsilon_0}{1-c\varepsilon_0t}\qquad\text{for }t<T,\ t<\frac{1}{c\varepsilon_0}. \tag*{(17)} ε ( H ( t )) ≤ 1 − c ε 0 t ε 0 for t < T , t < c ε 0 1 . (17) Thus the flow needs time at least ( 1 / ε − 1 / ε 0 ) / c (1/\varepsilon-1/\varepsilon_0)/c ( 1/ ε − 1/ ε 0 ) / c to reach a proximity ε < ε 0 \varepsilon<\varepsilon_0 ε < ε 0 , and time at least 1 / ( 2 c ε 0 ) 1/(2c\varepsilon_0) 1/ ( 2 c ε 0 ) to double the proximity.
Proof sketch. Along the flow, log H i j = W i j + α i + β j \log H_{ij}=W_{ij}+\alpha_i+\beta_j log H ij = W ij + α i + β j . The logit velocity W ˙ \dot{W} W ˙ is the Fisher–Rao gradient, so it is O ( ε ) O(\varepsilon) O ( ε ) by Lemma 5.2 . If we differentiate the marginal constraints, we see that α ˙ i + β ˙ j \dot{\alpha}_i+\dot{\beta}_j α ˙ i + β ˙ j is the weighted additive fit of − W ˙ -\dot{W} − W ˙ . Thus it is also O ( ε ) O(\varepsilon) O ( ε ) by Lemma 5.1 . The result is ∣ ε ˙ ∣ ≤ c ε 2 |\dot{\varepsilon}|\le c\varepsilon^2 ∣ ε ˙ ∣ ≤ c ε 2 , which we integrate with Dini derivatives because ε \varepsilon ε is only Lipschitz. ■
Theorem 5.4 (Exponential rate of the Fisher–Rao flow). Let H ( t ) H(t) H ( t ) solve H ˙ = − grad f ( H ) \dot{H}=-\operatorname{grad} f(H) H ˙ = − grad f ( H ) , and let G G G be as above. Then ∣ d d t log H i j ( t ) ∣ ≤ 2 n G \left|\frac{\mathrm{d}}{\mathrm{d}t}\log H_{ij}(t)\right|\le2nG d t d log H ij ( t ) ≤ 2 n G , and therefore
ε 0 e − 2 n G t ≤ ε ( H ( t ) ) ≤ ε 0 e 2 n G t . (18) \varepsilon_0e^{-2nGt}\le\varepsilon(H(t))\le\varepsilon_0e^{2nGt}. \tag*{(18)} ε 0 e − 2 n Gt ≤ ε ( H ( t )) ≤ ε 0 e 2 n Gt . (18) The loss f π ( H ) : = − ⟨ P π , H ⟩ f_\pi(H):=-\langle P_\pi,H\rangle f π ( H ) := − ⟨ P π , H ⟩ (thus G = 1 G=1 G = 1 ) attains the exponential rate: for every start H ( 0 ) = Φ ( W 0 ) H(0)=\Phi(W_0) H ( 0 ) = Φ ( W 0 ) ,
ε ( H ( t ) ) ≤ ( n − 1 ) n − 1 e 2 ∥ W 0 ∥ ∞ e − t for all t ≥ 0. (19) \varepsilon(H(t))\le(n-1)^{n-1}e^{2\|W_0\|_\infty}e^{-t}\qquad\text{for all }t\ge0. \tag*{(19)} ε ( H ( t )) ≤ ( n − 1 ) n − 1 e 2∥ W 0 ∥ ∞ e − t for all t ≥ 0. (19) For the same loss and start, the logit gradient flow satisfies (16) with c = 4 n 3 c=4n^3 c = 4 n 3 .
Proof sketch. Along the flow, H ( t ) H(t) H ( t ) is the scaling of exp ( W 0 ) ⊙ ( P π + e − t ( J − P π ) ) \exp(W_0)\odot(P_\pi+e^{-t}(J-P_\pi)) exp ( W 0 ) ⊙ ( P π + e − t ( J − P π )) . Thus each entry off π \pi π has a factor e − t e^{-t} e − t , and the scaling vectors could, in principle, cancel it. They cannot. A chain of entries off π \pi π , none of them small, closes into a cycle. The product of the entries of a cycle does not depend on the scaling, up to bounded factors. ■
For a linear loss with a unique optimal permutation, the Fisher–Rao trajectory is the entropic trajectory of the assignment linear program. This trajectory converges exponentially [15 ] . Theorem 5.4 is a self-contained case with explicit constants. For n = 2 n = 2 n = 2 both flows have closed forms, and the comparison becomes a pair of scalar equations.
Proposition 5.5 (Two streams). Let n = 2 n = 2 n = 2 and w : = W 11 + W 22 − W 12 − W 21 w := W_{11} + W_{22} - W_{12} - W_{21} w := W 11 + W 22 − W 12 − W 21 . Then Φ ( W ) = ( p q q p ) \Phi(W) = \begin{pmatrix} p & q \\ q & p \end{pmatrix} Φ ( W ) = ( p q q p ) with q = 1 − p q = 1 - p q = 1 − p and log p q = w 2 \log\frac{p}{q} = \frac{w}{2} log q p = 2 w , and q = ε ( Φ ( W ) ) q = \varepsilon(\Phi(W)) q = ε ( Φ ( W )) if p ≥ 1 2 p \ge\frac{1}{2} p ≥ 2 1 . For f ( H ) = ⟨ C , H ⟩ f(H) = \langle C,H\rangle f ( H ) = ⟨ C , H ⟩ , let Δ : = C 12 + C 21 − C 11 − C 22 \Delta:= C_{12} + C_{21} - C_{11} - C_{22} Δ := C 12 + C 21 − C 11 − C 22 ; thus Δ > 0 \Delta> 0 Δ > 0 means that I I I is the optimal vertex. Then
Fisher–Rao: w ˙ = Δ , q ˙ = − Δ 2 q ( 1 − q ) , logit: w ˙ = 2 Δ p q , q ˙ = − Δ q 2 ( 1 − q ) 2 . (20) \begin{aligned}
\text{Fisher--Rao:}\quad&\dot{w} = \Delta,\qquad\dot{q} = -\frac{\Delta}{2}q(1-q),\\
\text{logit:}\quad&\dot{w} = 2\Delta pq,\qquad\dot{q} = -\Delta q^{2}(1-q)^{2}. \tag*{(20)}
\end{aligned} Fisher–Rao: logit: w ˙ = Δ , q ˙ = − 2 Δ q ( 1 − q ) , w ˙ = 2Δ pq , q ˙ = − Δ q 2 ( 1 − q ) 2 . (20) For Δ < 0 \Delta< 0 Δ < 0 , the logit flow satisfies q ( t ) ≤ q 0 / ( 1 − ∣ Δ ∣ q 0 t ) q(t) \le q_0/(1 - |\Delta|q_0t) q ( t ) ≤ q 0 / ( 1 − ∣Δ∣ q 0 t ) .
Near the vertex (q → 0 q \to0 q → 0 ) the Fisher–Rao flow is exponential, q ˙ ≈ − Δ 2 q \dot{q} \approx-\frac{\Delta}{2}q q ˙ ≈ − 2 Δ q , and the logit flow is quadratic, q ˙ ≈ − Δ q 2 \dot{q} \approx-\Delta q^2 q ˙ ≈ − Δ q 2 , so q ( t ) ≈ 1 / ( Δ t ) q(t) \approx1/(\Delta t) q ( t ) ≈ 1/ ( Δ t ) . For Δ < 0 \Delta< 0 Δ < 0 the same equations describe the escape. The Fisher–Rao escape is logistic, and the logit flow needs time at least 1 / ( 2 ∣ Δ ∣ q 0 ) 1/(2|\Delta|q_0) 1/ ( 2∣Δ∣ q 0 ) to double q q q . Thus the exponent in Theorem 5.3 is sharp. We do not claim that the constant 4 n 3 4n^3 4 n 3 is sharp (Remark B.2). The next result converts Theorem 5.3 into a time cost of a long horizon.
Corollary 5.6 (The price of a long horizon). Let c 0 ∈ ( 0 , 1 ) c_0 \in(0,1) c 0 ∈ ( 0 , 1 ) . Assume that the residual path of an L L L -layer network preserves the difference channel up to the factor c 0 c_0 c 0 , that is, σ n ( H L : 0 ) ≥ c 0 \sigma_n(H_{L:0}) \ge c_0 σ n ( H L : 0 ) ≥ c 0 . Let ε ⋆ : = 8 n ( n − 1 ) log ( 1 / c 0 ) / L < 1 \varepsilon_\star:= 8n(n-1)\log(1/c_0)/L < 1 ε ⋆ := 8 n ( n − 1 ) log ( 1/ c 0 ) / L < 1 . Then at least half of the layers satisfy ε ( H l ) ≤ ε ⋆ \varepsilon(H_l) \le\varepsilon_\star ε ( H l ) ≤ ε ⋆ . From a common start ε 0 > ε ⋆ \varepsilon_0 > \varepsilon_\star ε 0 > ε ⋆ , the logit gradient flow needs time at least ( 1 / ε ⋆ − 1 / ε 0 ) / ( 4 n 3 G ) (1/\varepsilon_\star- 1/\varepsilon_0)/(4n^3G) ( 1/ ε ⋆ − 1/ ε 0 ) / ( 4 n 3 G ) to reach this configuration, which is linear in L L L . The corresponding lower bound for the Fisher–Rao flow, log ( ε 0 / ε ⋆ ) / ( 2 n G ) \log(\varepsilon_0/\varepsilon_\star)/(2nG) log ( ε 0 / ε ⋆ ) / ( 2 n G ) , grows only as log L \log L log L .
Thus a long memory is expensive for the logit parameterization in two ways. By Proposition 3.4 (d), at least half of the layers must be near a vertex. By Theorem 5.3 , gradient flow reaches such layers only after a time proportional to the depth.
Remark 5.7 (Adaptive optimizers). mHC trains with AdamW [31 ] , which divides each update by a running root-mean-square of the gradient coordinate. Near a vertex the logit gradient is O ( ε ) O(\varepsilon) O ( ε ) by (14) , but its running root-mean-square is also O ( ε ) O(\varepsilon) O ( ε ) . Thus the normalized update is O ( η ) O(\eta) O ( η ) , and Adam moves at an exponential rate (Figure 2 (b,Figure 2 c)). Theorem 5.3 is therefore a statement about gradient flow, gradient descent, and the landscape. The landscape is flat at every vertex for every loss, so every optimizer receives a gradient signal of size O ( ε ) O(\varepsilon) O ( ε ) . The collapse of § 3 and the budget limit of § 6 do not depend on the optimizer.
Figure 2. Numerical checks with n = 4 n = 4 n = 4 . (a) Second singular value of the composite of L L L projected random mixers (median of 30 draws), and the bound exp ( − n ∑ l δ ( H l ) ) \exp(-n\sum_l \delta(H_l)) exp ( − n ∑ l δ ( H l )) of Theorem 3.2 (b) (dotted). (b) Vertex proximity under three updates, from the uniform matrix. The dashed line is proportional to 1 / t 1/t 1/ t . (c) Time to leave the identity vertex, as a function of the initial proximity ε 0 \varepsilon_0 ε 0 . The dashed line is proportional to 1 / ε 0 1/\varepsilon_0 1/ ε 0 . (d) Sinkhorn sweeps that give a column-sum error of 10 − 3 10^{-3} 1 0 − 3 , as a function of the horizon τ \tau τ of the target.
Truncated Sinkhorn
mHC stops after t max = 20 t_{\max} = 20 t m a x = 20 sweeps, and Xie et al. [57 ] attribute the drift of the composite backward gain (up to about 1.6 over 60 layers) to this truncation. Several follow-ups remove the truncation (§ 1 ), but none of them measures its effect. We ask two questions. How large is the error of a truncated projection? How does this error grow with depth?
Fix K > 0 K > 0 K > 0 with Sinkhorn scaling H = diag ( μ ⋆ ) K diag ( ν ⋆ ) ∈ B n ∘ H = \operatorname{diag}(\mu^\star)K\operatorname{diag}(\nu^\star) \in\mathcal{B}_n^\circ H = diag ( μ ⋆ ) K diag ( ν ⋆ ) ∈ B n ∘ . We describe the iteration by its column scaling ν > 0 \nu> 0 ν > 0 . After a row normalization, the current matrix is diag ( μ ( ν ) ) K diag ( ν ) \operatorname{diag}(\mu(\nu))K\operatorname{diag}(\nu) diag ( μ ( ν )) K diag ( ν ) with μ ( ν ) : = 1 ⊘ ( K ν ) \mu(\nu) := 1 \oslash(K\nu) μ ( ν ) := 1 ⊘ ( K ν ) . One sweep (columns, then rows) maps ν \nu ν to
Ψ ( ν ) : = 1 ⊘ ( K T μ ( ν ) ) . (21) \Psi(\nu) := 1 \oslash(K^\mathsf{T}\mu(\nu)). \tag*{(21)} Ψ ( ν ) := 1 ⊘ ( K T μ ( ν )) . (21)
The fixed point is ν ⋆ \nu^\star ν ⋆ , and Ψ ( s ν ) = s Ψ ( ν ) \Psi(s\nu) = s\Psi(\nu) Ψ ( s ν ) = s Ψ ( ν ) for s > 0 s > 0 s > 0 .
Proposition 6.1 (Local convergence factor). Let ν = ν ⋆ ⊙ ( 1 + v ) \nu= \nu^\star\odot(1 + v) ν = ν ⋆ ⊙ ( 1 + v ) . Then
Ψ ( ν ) = ν ⋆ ⊙ ( 1 + H T H v + O ( ∥ v ∥ 2 ) ) , \Psi(\nu) = \nu^\star\odot(1 + H^\mathsf{T}Hv + O(\lVert v\rVert^2)), Ψ ( ν ) = ν ⋆ ⊙ ( 1 + H T H v + O (∥ v ∥ 2 )) , and the column sums of diag ( μ ( ν ) ) K diag ( ν ) \operatorname{diag}(\mu(\nu))K\operatorname{diag}(\nu) diag ( μ ( ν )) K diag ( ν ) are 1 + ( I − H T H ) v + O ( ∥ v ∥ 2 ) 1 + (I - H^\mathsf{T}H)v + O(\lVert v\rVert^2) 1 + ( I − H T H ) v + O (∥ v ∥ 2 ) . On 1 ⊥ 1^\perp 1 ⊥ the map H T H H^\mathsf{T}H H T H is symmetric with norm σ 2 ( H ) 2 \sigma_2(H)^2 σ 2 ( H ) 2 . Thus, in the linearized iteration v k = ( H T H ) k v 0 v_k = (H^\mathsf{T}H)^k v_0 v k = ( H T H ) k v 0 , the column-sum error r k : = ∥ ( I − H T H ) v k ∥ ∞ r_k := \lVert(I - H^\mathsf{T}H)v_k\rVert_\infty r k := ∥( I − H T H ) v k ∥ ∞ satisfies r k ≤ σ 2 ( H ) 2 k ∥ Q v 0 ∥ 2 r_k \le\sigma_2(H)^{2k}\lVert Qv_0\rVert_2 r k ≤ σ 2 ( H ) 2 k ∥ Q v 0 ∥ 2 . This bound is tight if Q v 0 Qv_0 Q v 0 has a component along a top singular vector of H Q HQ H Q (Knight [32 ] ). With the horizon τ = 1 / ( 1 − σ 2 ( H ) ) \tau= 1/(1 - \sigma_2(H)) τ = 1/ ( 1 − σ 2 ( H )) ,
e − 2 k / ( τ − 1 ) ≤ σ 2 ( H ) 2 k ≤ e − 2 k / τ . (22) e^{-2k/(\tau-1)} \le\sigma_2(H)^{2k} \le e^{-2k/\tau}. \tag*{(22)} e − 2 k / ( τ − 1 ) ≤ σ 2 ( H ) 2 k ≤ e − 2 k / τ . (22)
Thus one e e e -fold reduction of the error costs between ( τ − 1 ) / 2 (\tau- 1)/2 ( τ − 1 ) /2 and τ / 2 \tau/2 τ /2 sweeps. A long memory (Corollary 3.3) needs mixers with τ ≫ 1 \tau\gg1 τ ≫ 1 , and Sinkhorn projects exactly these mixers most slowly. The next result shows how the remaining errors grow with depth.
Proposition 6.2 (Drift of the backward gain). For l < L l < L l < L , let H l H_l H l be nonnegative and row-stochastic, with column sums in [ 1 − e l , 1 + e l ] [1 - e_l, 1 + e_l] [ 1 − e l , 1 + e l ] and e l ≤ 1 2 e_l \le\frac{1}{2} e l ≤ 2 1 . (Any number of sweeps that ends with a row normalization gives a nonnegative row-stochastic matrix.) Then H L : l 1 = 1 H_{L:l}1 = 1 H L : l 1 = 1 , every column sum of H L : l H_{L:l} H L : l is in [ e − 2 ∑ i e i , e 2 ∑ i e i ] [e^{-2\sum_i e_i},e^{2\sum_i e_i}] [ e − 2 ∑ i e i , e 2 ∑ i e i ] , and ∥ H L : l ∥ 2 ≤ e 2 ∑ i e i \lVert H_{L:l}\rVert_2 \le e^{2\sum_i e_i} ∥ H L : l ∥ 2 ≤ e 2 ∑ i e i .
Remark 6.3 (The budget limits the horizon). Let r 0 r_0 r 0 be the initial relative error of a layer, and let γ \gamma γ be a target for the accumulated error ∑ l e l \sum_l e_l ∑ l e l . Proposition 6.1 suggests that a layer with horizon τ l \tau_l τ l needs about τ l 2 log L r 0 γ \frac{\tau_l}{2}\log\frac{Lr_0}{\gamma} 2 τ l log γ L r 0 sweeps. Conversely, t max t_{\max} t m a x sweeps give the accuracy γ / L \gamma/L γ / L only to layers with τ l ≲ 2 t max / log ( L r 0 / γ ) \tau_l \lesssim2t_{\max}/\log(Lr_0/\gamma) τ l ≲ 2 t m a x / log ( L r 0 / γ ) . For mHC, t max = 20 t_{\max} = 20 t m a x = 20 , L = 60 L = 60 L = 60 , the observed drift 1.6 = e 0.47 1.6 = e^{0.47} 1.6 = e 0.47 gives γ ≈ 0.47 \gamma\approx0.47 γ ≈ 0.47 , and r 0 ≈ 1 r_0 \approx1 r 0 ≈ 1 ; thus the limit is τ ≲ 8 \tau\lesssim8 τ ≲ 8 layers. This is a heuristic scaling law, because Proposition 6.1 is asymptotic. Remark B.3 gives a worst-case bound in Hilbert’s projective metric.
Isometric mixers
Proposition 3.4 explains a pattern in recent follow-ups. A design that avoids collapse and keeps the gains bounded must give up nonnegativity, and such designs use orthogonal or spectrally constrained mixers (Sengupta et al. [50 ] ; Liu et al. (2026); Guo et al. [24 ] ). Let U ∈ R n × ( n − 1 ) U \in\mathbb{R}^{n\times(n-1)} U ∈ R n × ( n − 1 ) be an orthonormal basis of 1 ⊥ 1^\perp 1 ⊥ . Then
O 1 ( n ) = { J / n + U Z U T : Z ∈ O ( n − 1 ) } . (23) \mathcal{O}_1(n) = \{J/n + UZU^\mathsf{T} : Z \in O(n-1)\}. \tag*{(23)} O 1 ( n ) = { J / n + U Z U T : Z ∈ O ( n − 1 )} . (23)
Thus O 1 ( n ) \mathcal{O}_1(n) O 1 ( n ) is a compact Lie group isomorphic to O ( n − 1 ) O(n-1) O ( n − 1 ) . It has dimension ( n − 1 ) ( n − 2 ) / 2 (n-1)(n-2)/2 ( n − 1 ) ( n − 2 ) /2 , and it contains S n \mathfrak{S}_n S n .
Proposition 7.1 (Isometric mixers). Let H l ∈ O 1 ( n ) H_l \in\mathcal{O}_1(n) H l ∈ O 1 ( n ) for all l l l .
(a) The recursions (8) hold, and H L : l H_{L:l} H L : l preserves the norm of every stream difference. Thus the horizon is infinite.
(b) All singular values of the residual-path Jacobian are one, at every depth. This is dynamical isometry of the residual path [47 ] .
(c) For A ∈ O 1 ( n ) A \in\mathcal{O}_1(n) A ∈ O 1 ( n ) , T A O 1 ( n ) = { A Ω : Ω ⊤ = − Ω , Ω 1 = 0 } T_A\mathcal{O}_1(n)=\{A\Omega:\Omega^\top=-\Omega,\ \Omega\mathbf{1}=0\} T A O 1 ( n ) = { A Ω : Ω ⊤ = − Ω , Ω 1 = 0 } . For the Frobenius metric, the Riemannian gradient of f f f is A Q skew ( A ⊤ ∇ f ( A ) ) Q AQ\operatorname{skew}(A^\top\nabla f(A))Q A Q skew ( A ⊤ ∇ f ( A )) Q , with skew ( X ) : = 1 2 ( X − X ⊤ ) \operatorname{skew}(X):=\frac{1}{2}(X-X^\top) skew ( X ) := 2 1 ( X − X ⊤ ) . The Cayley map R A ( A Ω ) : = A ( I − 1 2 Ω ) − 1 ( I + 1 2 Ω ) R_A(A\Omega):=A(I-\frac{1}{2}\Omega)^{-1}(I+\frac{1}{2}\Omega) R A ( A Ω ) := A ( I − 2 1 Ω ) − 1 ( I + 2 1 Ω ) is a retraction on O 1 ( n ) \mathcal{O}_1(n) O 1 ( n ) .
Thus O 1 ( n ) \mathcal{O}_1(n) O 1 ( n ) has no boundary and no viscosity, a permutation is an ordinary point of the group, and the Cayley retraction needs only one linear solve. The cost is the loss of nonnegativity: the mixed stream is no longer a convex combination of the streams. The orthogonal mixers of Guo et al. [24 ] are in S O ( n ) SO(n) S O ( n ) and do not fix 1 \mathbf{1} 1 . Such a mixer couples the mean and the differences, so the mean is no longer a residual network with unit gain. The whole stream follows a rotated identity map instead: no norm is lost, but the mean reaches deep layers unchanged only up to a rotation. Guo et al. [24 ] give evidence that this coupling helps; Remark B.5 gives the details.
Numerical experiments
All experiments use n = 4 n=4 n = 4 streams, as mHC does. They compute exact projections to machine precision, with a Newton solve of the balancing equations that we check against long Sinkhorn runs. The experiments check rates, in minutes on a laptop CPU; they do not train models. Random logits are uniform on [ − M , M ] [-M,M] [ − M , M ] . Appendix § 13 gives larger figures and one more experiment.
Collapse (Figure 2(a)). The composite converges to J / n J/n J / n at a geometric rate for every logit scale M M M . The rate is faster than the bound of Theorem 3.2 (b), but it has the same form. For small M M M the bound is almost exact. At M = 4 M=4 M = 4 the factor per layer is about 0.55, which is a horizon of about two layers. Random sharp logits do not give long memories; only mixers near a permutation do.
Approach (Figure 2(b)). The loss is ⟨ C , H ⟩ \langle C,H\rangle ⟨ C , H ⟩ with C = J − I + 0.1 Ξ C=J-I+0.1\Xi C = J − I + 0.1Ξ , where Ξ \Xi Ξ has uniform entries on [ 0 , 1 ] [0,1] [ 0 , 1 ] , and the start is J / n J/n J / n . Under logit gradient descent with step 0.2, the proximity decays as 1 / t 1/t 1/ t , as (16) predicts. The log–log slope over the last two decades is − 1.05 -1.05 − 1.05 , and t ε ( H ( t ) ) ≈ 0.26 t\,\varepsilon(H(t))\approx0.26 t ε ( H ( t )) ≈ 0.26 at t = 3000 t=3000 t = 3000 . Under the straight-through update the proximity decays as e − c t e^{-ct} e − c t with a fitted c = 0.98 c=0.98 c = 0.98 , as (19) predicts for off-permutation costs near one.
Escape (Figure 2(c)). The loss prefers a transposition, and the start is near the identity. Over four decades of ϵ 0 \epsilon_0 ϵ 0 , the escape time of logit gradient descent grows as 0.65 / ϵ 0 0.65/\epsilon_0 0.65/ ϵ 0 (log–log slope 0.96), as (17) predicts. For the straight-through update it grows as 1.03 log ( 1 / ϵ 0 ) + 1.2 1.03\log(1/\epsilon_0)+1.2 1.03 log ( 1/ ϵ 0 ) + 1.2 . Adam on the logits (step 0.02) escapes in 1.4 to 3.3 time units over the same range, as Remark 5.7 predicts.
Sinkhorn budget (Figure 2 (d)). The targets are ( 1 − τ − 1 ) P π + τ − 1 J / n (1-\tau^{-1})P_\pi+\tau^{-1}J/n ( 1 − τ − 1 ) P π + τ − 1 J / n with horizon τ \tau τ , after random diagonal scalings. The number of sweeps for a column-sum error of 10 − 3 10^{-3} 1 0 − 3 grows linearly in the horizon, with a slope of about 1.5 sweeps per layer of horizon. A target with τ = 5 \tau=5 τ = 5 needs 13 sweeps, τ = 10 \tau=10 τ = 10 needs 23, and τ = 50 \tau=50 τ = 50 needs 81. With t max = 20 t_{\max}=20 t m a x = 20 , only targets with τ ≲ 7 \tau\lesssim7 τ ≲ 7 reach this accuracy, in agreement with Remark 6.3. The error curves follow the local law σ 2 2 k \sigma_2^{2k} σ 2 2 k from the first sweeps (Figure 6 ).
Figure 6. Truncated Sinkhorn and the horizon (Proposition 6.1 ). Left: column-sum error of the row-normalized iterate against the number of sweeps, for targets ( 1 − τ − 1 ) P π + τ − 1 J / n (1-\tau^{-1})P_{\pi}+\tau^{-1}J/n ( 1 − τ − 1 ) P π + τ − 1 J / n with horizon τ \tau τ and a 4-cycle π \pi π . Each run starts from a random diagonal scaling of the target (solid). The dotted lines show the local law ∝ σ 2 2 k \propto\sigma_2^{2k} ∝ σ 2 2 k , and the vertical line is t max = 20 t_{\max}=20 t m a x = 20 . Right: median number of sweeps (20 random scalings) for a column-sum error of 10 − 3 10^{-3} 1 0 − 3 , as a function of τ \tau τ .
Conclusion
The doubly stochastic constraint of mHC makes the stream mean a residual network with unit gain, for every mixer and every depth. The difference channel contracts by σ 2 \sigma_2 σ 2 per layer, so the extra width is a fading memory of O ( τ ) O(\tau) O ( τ ) layers. Logit gradient flow moves near the permutations only at rate 1 / t 1/t 1/ t , but the straight-through update moves at an exponential rate. Sinkhorn projects the mixers with a long horizon most slowly, so a fixed budget of sweeps limits the horizon. Appendix G discusses these results, their limits, and open problems.
AI use statement
In this work, we used generative AI tools to search the literature, to draft and check proofs, to write the code of the numerical experiments, and to edit the text, including the layout of the paper and the rewrite of the proofs in structured form. We checked the proofs of all results and the code of all experiments. We take responsibility for the final content of this work, including text, claims, or artifacts produced with the aid of generative AI.
P.-A. Absil, R. Mahony, and R. Sepulchre. Optimization Algorithms on Matrix Manifolds . Princeton University Press, 2008.
Ryan Prescott Adams and Richard S. Zemel. Ranking via Sinkhorn propagation . arXiv preprint arXiv:1106.1925 , 2011.
Ekaterina Alimaskina, Gleb Molodtsov, and Aleksandr Beznosikov. Analyzing stream collapse in hyper-connections: From diagnosis to mitigation . arXiv preprint arXiv:2606.03483 , 2026.
Jason Altschuler, Jonathan Weed, and Philippe Rigollet. Near-linear time approximation algorithms for optimal transport via Sinkhorn iteration . In Advances in Neural Information Processing Systems 30 , pages 1961–1971, 2017.
Shun-ichi Amari. Natural gradient works efficiently in learning . Neural Computation , 10(2):251–276, 1998. doi: 10.1162/089976698300017746.
Shun-ichi Amari and Hiroshi Nagaoka. Methods of Information Geometry , volume 191 of Translations of Mathematical Monographs . American Mathematical Society, 2000.
Martin Arjovsky, Amar Shah, and Yoshua Bengio. Unitary evolution recurrent neural networks . In Proceedings of the 33rd International Conference on Machine Learning (ICML) , volume 48 of Proceedings of Machine Learning Research , pages 1120–1128, 2016.
R. B. Bapat. Graphs and Matrices . Universitext. Springer, 2nd edition, 2014.
Roadmap
The appendix has seven parts. Table 1 lists them, and Figure 3 shows how the results depend on each other.
Table 1. Roadmap of the appendix.
Figure 3. Dependency graph of the results. An arrow from X to Y means that the proof of Y cites X. We omit an arrow if other arrows already give a path from X to Y. Bold frames mark the main results, and dashed frames mark the known results of Appendix D. A script (fig_dependency.py) builds the graph from the references in the structured proofs, so the graph and the proofs agree.
More related work and notation
More related work
Hyper-connections and their follow-ups. Hyper-connections [62 ] belong to a family of designs that widen or densify the residual stream [45 , 56 , 39 , 26 , 42 ] . mHC [57 ] constrains the mixer to the Birkhoff polytope. Its follow-ups replace the Sinkhorn loop by exact parameterizations of the polytope [58 , 61 , 38 , 18 , 23 ] or by an exact projection with implicit differentiation [54 ] . Other work measures how trained models use the streams [3 , 46 , 60 ] . Orthogonal and spectral-sphere designs [50 , 24 ] (Liu et al. 2026) give up nonnegativity. Implicit differentiation of the Sinkhorn fixed point, as in [50 ] ; [54 ] , computes the differential that Lemma 4.2 identifies geometrically.
Concurrent work. Guo et al. [24 ] appeared while we prepared this paper. They observe the two-channel decomposition and the contraction of a single layer. They also note that a doubly stochastic isometry is a permutation, and they identify the mean-preserving subgroup of S O ( n ) SO(n) S O ( n ) . Sections 3 and 7 and Remark B.5 credit these points. The rates of Theorem 3.2 and Corollary 3.3, Proposition 3.4 except part (b), and the results of Sections 4–6 do not appear in that work.
Signal propagation. Dong et al. [20 ] and Noci et al. [44 ] study signal propagation and rank collapse in deep attention networks. Biccari et al. [11 ] apply contraction coefficients of Dobrushin type to row-stochastic attention rollouts. Our collapse results are deterministic, concern the stream dimension, and use both marginals of the mixer in an essential way. Dynamical isometry ([47 ] ) is the property that Proposition 7.1(b) gives for isometric mixers.
Matrix scaling and its geometry. Matrix scaling and the Sinkhorn–Knopp algorithm have a large literature ([52 , 53 , 22 , 32 , 30 , 17 , 4 , 48 ] ). Douik and Hassibi [21 ] introduce the Fisher–Rao geometry of the positive doubly stochastic matrices and the Sinkhorn retraction. Yoshizawa [59 ] studies degeneracies of the Fisher metric at the boundary of the Birkhoff polytope from a different point of view. A separate line of work views the Sinkhorn iteration as mirror descent. Our object is different: the learning dynamics of logits through a Sinkhorn layer.
Learning permutations. PermELearn Helmbold and Warmuth, [27 ] learns permutations by entropic mirror descent, with Sinkhorn balancing as the Bregman projection. Adams and Zemel [2 ] and Mena et al. [41 ] learn permutations with Sinkhorn-normalized matrices. Liu [36 ] analyzes premature commitment to a vertex under annealed Sinkhorn.
Optimization. Sections 4 and 5 use four areas of optimization. They are mirror descent [43 , 9 ] , natural gradient [5 , 6 ] , the replicator equation as the Fisher–Rao flow on the simplex [51 , 28 ] , and the rates of softmax and natural policy gradient [40 , 35 ] . Orthogonal recurrent networks [7 ] and Riemannian optimization with orthogonality constraints [55 , 1 , 14 ] give the background of Section 7.
Notation
Additional results and remarks
Truncated projections
The constant in Theorem 5.3
A worst-case bound for truncated Sinkhorn
Isometric mixers
Proposition B.4 (Convergence on O 1 ( n ) \mathcal{O}_1(n) O 1 ( n ) ). Let f f f be twice continuously differentiable on a neighborhood of O 1 ( n ) \mathcal{O}_1(n) O 1 ( n ) , and write grad O f \operatorname{grad}_{\mathcal{O}} f grad O f for its Riemannian gradient on O 1 ( n ) \mathcal{O}_1(n) O 1 ( n ) (Proposition 7.1 (c)). For a sufficiently small constant step η \eta η , Riemannian gradient descent A ( k + 1 ) = R A ( k ) ( − η grad O f ( A ( k ) ) ) A^{(k+1)}=R_{A^{(k)}}(-\eta\operatorname{grad}_{\mathcal{O}} f(A^{(k)})) A ( k + 1 ) = R A ( k ) ( − η grad O f ( A ( k ) )) satisfies min k < N ∥ grad O f ( A ( k ) ) ∥ F = O ( N − 1 / 2 ) \min_{k<N}\lVert\operatorname{grad}_{\mathcal{O}}f(A^{(k)})\rVert_F=O(N^{-1/2}) min k < N ∥ grad O f ( A ( k ) ) ∥ F = O ( N − 1/2 ) ([14 Chapter 4] ).
Three properties separate O 1 ( n ) \mathcal{O}_1(n) O 1 ( n ) from the Sinkhorn-logit design on B n ∘ \mathcal{B}^{\circ}_n B n ∘ . First, O 1 ( n ) \mathcal{O}_1(n) O 1 ( n ) has no boundary, so it has no viscosity. A permutation is an ordinary point, and no loss is flat there for structural reasons (compare (14) ). Second, there is no projection loop: the Cayley retraction is one ( n − 1 ) × ( n − 1 ) (n-1)\times(n-1) ( n − 1 ) × ( n − 1 ) linear solve, so Section 6 does not apply. Third, the number of parameters is ( n − 1 ) ( n − 2 ) / 2 (n-1)(n-2)/2 ( n − 1 ) ( n − 2 ) /2 , not ( n − 1 ) 2 (n-1)^2 ( n − 1 ) 2 . The price is that entries of A A A can be negative. Then the ℓ 1 \ell_1 ℓ 1 row-sum diagnostic of Xie et al. [57 ] can exceed one, although every ℓ 2 \ell_2 ℓ 2 gain is one. The read-out and the write-in in mHC stay nonnegative.
Additional figures
All experiments use n = 4 n = 4 n = 4 and exact projections. A warm-started Newton solve of the balancing equations computes each projection, and long Sinkhorn runs check it (maximum difference 1.2 × 10 − 12 1.2 \times10^{-12} 1.2 × 1 0 − 12 ). The supplementary material contains the code. The script figs_appendix.py computes Figure 4 , Figure 6 , and Figure 7 . escape.py computes the escape times, figs.py computes the approach curves and the Sinkhorn budget, figs_main.py draws Figure 2 and Figure 5 , and fig_teaser.py computes and draws Figure 1 .
Figure 4. Collapse of composite mixers (Theorem 3.2 ). Left: σ 2 \sigma_2 σ 2 of the composite of independent projected random logits of scale M M M (median of 30 draws, solid), and the bound exp ( − n ∑ l δ ( H l ) ) \exp(-n\sum_l \delta(H_l)) exp ( − n ∑ l δ ( H l )) (dotted). Right: largest entrywise distance of the composite to J / n J/n J / n . Even for M = 4 M=4 M = 4 , the difference channel loses six orders of magnitude within 25 layers.
Figure 5. Vertex viscosity (Theorems 5.3 and 5.4 ). Left: vertex proximity for the loss ⟨ C , H ⟩ \langle C,H\rangle ⟨ C , H ⟩ , C = J − I + 0.1 Ξ C=J-I+0.1\,\Xi C = J − I + 0.1 Ξ , from the uniform matrix. The updates are exact logit gradient descent (step 0.2), Adam on the logits (step 0.02), and the straight-through update (step 0.2). The dashed line is proportional to 1 / t 1/t 1/ t . Right: time to leave the identity vertex for a transposition vertex, as a function of the initial proximity ε 0 \varepsilon_0 ε 0 , under the same three updates. The start is W = log ( 1 / ε 0 ) I W=\log(1/\varepsilon_0)I W = log ( 1/ ε 0 ) I , and the escape time is the first time at which every entry on the transposition is larger than 0.5 and every other entry is smaller than 0.25. The dashed line is proportional to 1 / ε 0 1/\varepsilon_0 1/ ε 0 .
Figure 7. Two channels (Theorem 3.1 and Proposition 7.1 ). Fraction of the energy of the residual-path signal H L : 0 x H_{L:0}x H L : 0 x in the difference channel, for a random Gaussian input x ∈ R 4 × 64 x \in\mathbb{R}^{4 \times64} x ∈ R 4 × 64 . The mixers are projected random logits (M = 1 , 3 M = 1, 3 M = 1 , 3 ) or random isometric mixers in O 1 ( n ) O_1(n) O 1 ( n ) (median of 10 draws). Under doubly stochastic mixing the energy of the differences decays geometrically. Under isometric mean-preserving mixing it stays constant, because every factor is an isometry of both channels.
Auxiliary results
This appendix collects the known results that the proofs use, in the form in which we use them. Nothing in this appendix is new.
Theorem D.1 (Birkhoff–von Neumann). B n = conv S n \mathcal{B}_n = \operatorname{conv}\mathfrak{S}_n B n = conv S n , and the permutation matrices are exactly the extreme points of B n \mathcal{B}_n B n ([12 ] ).
Theorem D.2 (Sinkhorn). Let K ∈ R n × n K \in\mathbb{R}^{n \times n} K ∈ R n × n have positive entries (Sinkhorn, [52 ] ; Sinkhorn and Knopp, [53 ] ).
(a) There are positive diagonal matrices D 1 , D 2 D_1,D_2 D 1 , D 2 such that D 1 K D 2 D_1KD_2 D 1 K D 2 is doubly stochastic. The matrix D 1 K D 2 D_1KD_2 D 1 K D 2 is unique, and the pair ( D 1 , D 2 ) (D_1,D_2) ( D 1 , D 2 ) is unique up to ( s D 1 , s − 1 D 2 ) (sD_1,s^{-1}D_2) ( s D 1 , s − 1 D 2 ) with s > 0 s>0 s > 0 .
(b) The alternating normalization of rows and columns, started at K K K , converges to D 1 K D 2 D_1KD_2 D 1 K D 2 .
Theorem D.3 (Perron–Frobenius). Let N ∈ R n × n N \in\mathbb{R}^{n \times n} N ∈ R n × n be nonnegative.
(a) If N N N is irreducible, then its spectral radius is a simple eigenvalue (Seneta, [49 ] ; Horn and Johnson, [29 ] ).
(b) If N N N is symmetric and reducible, then there is a nonempty proper subset S ⊂ [ n ] \mathcal{S} \subset[n] S ⊂ [ n ] with N j k = 0 N_{jk}=0 N j k = 0 for all j ∈ S j \in\mathcal{S} j ∈ S and k ∉ S k \notin\mathcal{S} k ∈ / S . (A matrix is reducible if a simultaneous permutation of its rows and columns gives a block upper triangular form. For a symmetric matrix the off-diagonal block is then zero.)
Theorem D.4 (Cauchy–Binet formula and Cramer’s rule). Let X , Y ∈ R m × p X,Y \in\mathbb{R}^{m \times p} X , Y ∈ R m × p with m ≥ p m \ge p m ≥ p , and let D = diag ( ω ) ∈ R m × m D=\operatorname{diag}(\omega) \in\mathbb{R}^{m \times m} D = diag ( ω ) ∈ R m × m . Then
det ( X T D Y ) = ∑ S ⊆ [ m ] ∣ S ∣ = p ω S det ( X S ) det ( Y S ) , ω S : = ∏ s ∈ S ω s . \det(X^{\mathsf{T}}DY)=\sum_{\substack{S\subseteq[m]\\ |S|=p}}\omega_S\det(X_S)\det(Y_S),\qquad\omega_S:=\prod_{s\in S}\omega_s. det ( X T D Y ) = S ⊆ [ m ] ∣ S ∣ = p ∑ ω S det ( X S ) det ( Y S ) , ω S := s ∈ S ∏ ω s . where X S X_S X S is the p × p p \times p p × p submatrix of X X X with the rows in S S S (Horn and Johnson, [29 ] ). If X ∈ R p × p X \in\mathbb{R}^{p \times p} X ∈ R p × p is nonsingular and X z = y Xz=y X z = y , then z r = det ( X ( r ) ) / det ( X ) z_r=\det(X^{(r)})/\det(X) z r = det ( X ( r ) ) / det ( X ) , where X ( r ) X^{(r)} X ( r ) is X X X with its r r r -th column replaced by y y y (Cramer’s rule).
Theorem D.5 (Spanning trees and incidence matrices). Let ( V , E ) (V,E) ( V , E ) be a connected graph, and give its edges arbitrary orientations. Let B ∈ R ∣ V ∣ × ∣ E ∣ B\in\mathbb{R}^{|V|\times|E|} B ∈ R ∣ V ∣ × ∣ E ∣ be the signed incidence matrix: B v e = + 1 B_{ve}=+1 B v e = + 1 if v v v is the head of e e e , B v e = − 1 B_{ve}=-1 B v e = − 1 if v v v is the tail of e e e , and B v e = 0 B_{ve}=0 B v e = 0 otherwise. Let B 0 B_0 B 0 be B B B with one row removed. For a set T ⊆ E T\subseteq E T ⊆ E of ∣ V ∣ − 1 |V|-1 ∣ V ∣ − 1 edges, the square submatrix of B 0 B_0 B 0 with the columns in T T T is nonsingular if and only if T T T is a spanning tree of the graph. In that case its determinant is ± 1 \pm1 ± 1 ([8 Chapter 2] ).
Lemma D.6 (Operator-norm ball). The closed unit ball of the operator norm on R m × m \mathbb{R}^{m\times m} R m × m is the convex hull of the orthogonal group O ( m ) O(m) O ( m ) .
Proof. ⟨1⟩1. conv O ( m ) O(m) O ( m ) is a subset of the ball.
Proof: Orthogonal matrices have norm one, and the ball is convex.
⟨1⟩2. Assume: ∥ B ∥ 2 ≤ 1 \lVert B\rVert_2\leq1 ∥ B ∥ 2 ≤ 1 . Prove: B ∈ conv O ( m ) B\in\operatorname{conv} O(m) B ∈ conv O ( m ) .
Proof: Write B = V Σ Z T B=V\Sigma Z^\mathsf{T} B = V Σ Z T with V , Z ∈ O ( m ) V,Z\in O(m) V , Z ∈ O ( m ) and Σ = diag ( σ 1 , … , σ m ) \Sigma=\operatorname{diag}(\sigma_1,\ldots,\sigma_m) Σ = diag ( σ 1 , … , σ m ) , σ i ∈ [ 0 , 1 ] \sigma_i\in[0,1] σ i ∈ [ 0 , 1 ] . For a sign vector s ∈ { ± 1 } m s\in\{\pm1\}^{m} s ∈ { ± 1 } m , let λ s ≔ ∏ i 1 + s i σ i 2 ≥ 0 \lambda_s\coloneqq\prod_i\frac{1+s_i\sigma_i}{2}\geq0 λ s : = ∏ i 2 1 + s i σ i ≥ 0 . Then ∑ s λ s = 1 \sum_s\lambda_s=1 ∑ s λ s = 1 and ∑ s λ s s i = σ i \sum_s\lambda_s s_i=\sigma_i ∑ s λ s s i = σ i for every i i i . Thus Σ = ∑ s λ s diag ( s ) \Sigma=\sum_s\lambda_s\operatorname{diag}(s) Σ = ∑ s λ s diag ( s ) , and B = ∑ s λ s V diag ( s ) Z T B=\sum_s\lambda_s V\operatorname{diag}(s)Z^\mathsf{T} B = ∑ s λ s V diag ( s ) Z T is a convex combination of orthogonal matrices.
⟨1⟩3. Q.E.D.
Proof: By ⟨1⟩1 and ⟨1⟩2.
Lemma D.7 (A norm inequality). For A ∈ R n × n A\in\mathbb{R}^{n\times n} A ∈ R n × n , ∥ A ∥ 2 2 ≤ ∥ A ∥ 1 ∥ A ∥ ∞ \lVert A\rVert_2^2\leq\lVert A\rVert_1\lVert A\rVert_\infty ∥ A ∥ 2 2 ≤ ∥ A ∥ 1 ∥ A ∥ ∞ , where ∥ A ∥ 1 \lVert A\rVert_1 ∥ A ∥ 1 is the largest absolute column sum and ∥ A ∥ ∞ \lVert A\rVert_\infty ∥ A ∥ ∞ is the largest absolute row sum ([29 Chapter 5] ).
Lemma D.8 (Cayley transform). Let Ω ∈ R n × n \Omega\in\mathbb{R}^{n \times n} Ω ∈ R n × n be skew-symmetric. Then I − 1 2 Ω I-\frac{1}{2}\Omega I − 2 1 Ω is invertible, the matrix C ( Ω ) : = ( I − 1 2 Ω ) − 1 ( I + 1 2 Ω ) C(\Omega):=(I-\frac{1}{2}\Omega)^{-1}(I+\frac{1}{2}\Omega) C ( Ω ) := ( I − 2 1 Ω ) − 1 ( I + 2 1 Ω ) is orthogonal, and Ω ↦ C ( Ω ) \Omega\mapsto C(\Omega) Ω ↦ C ( Ω ) is smooth with C ( 0 ) = I C(0)=I C ( 0 ) = I and d d t C ( t Ω ) ∣ t = 0 = Ω \left.\frac{\mathrm{d}}{\mathrm{d}t}C(t\Omega)\right|_{t=0}=\Omega d t d C ( t Ω ) t = 0 = Ω (Wen and Yin [55 ] ).
Theorem D.9 (Hilbert’s projective metric). Let K > 0 K>0 K > 0 , and let θ ( K ) : = max i , j , k , l K i k K j l / ( K j k K i l ) \theta(K):=\max_{i,j,k,l} K_{ik}K_{jl}/(K_{jk}K_{il}) θ ( K ) := max i , j , k , l K ik K j l / ( K j k K i l ) and κ ( K ) : = ( θ ( K ) − 1 ) / ( θ ( K ) + 1 ) \kappa(K):=(\sqrt{\theta(K)}-1)/(\sqrt{\theta(K)}+1) κ ( K ) := ( θ ( K ) − 1 ) / ( θ ( K ) + 1 ) . The map x ↦ K x x\mapsto Kx x ↦ K x multiplies Hilbert’s projective metric on the positive orthant by at most κ ( K ) \kappa(K) κ ( K ) (Birkhoff [13 ] ). Thus the Sinkhorn scaling vectors converge linearly in this metric, with a factor of at most κ ( K ) 2 \kappa(K)^2 κ ( K ) 2 per sweep (Franklin and Lorenz [22 ] ), (Peyré and Cuturi [48 ] , Theorems 4.1–4.2).
Theorem D.10 (Knight). Let K > 0 K>0 K > 0 have the doubly stochastic scaling H H H . The Sinkhorn–Knopp iteration converges linearly, with asymptotic rate σ 2 ( H ) 2 \sigma_2(H)^2 σ 2 ( H ) 2 per sweep (Knight [32 ] ); see also Idel [30 ] . Proposition 6.1 gives a self-contained derivation.
Preliminary lemmas
How to read the proofs. We write the proofs in the structured style of Lamport [33 , 34 ] . A proof is a list of numbered steps, and ⟨ k ⟩ j \langle k\rangle_j ⟨ k ⟩ j is the j j j -th step at level k k k . Each step states a claim, and a proof of the claim follows it. The proof of a step is a short paragraph or a list of steps at the next level. The last step of each list, q.e.d., proves the goal of the list from the earlier steps. Assume and Prove state the hypothesis and the goal of a step. Suffices reduces the current goal to a new goal. Let introduces a symbol. A reader who wants only the main idea can read the level-1 steps and skip their proofs.
Lemma E.1 (Gauge complement). Let H ∈ B n ∘ H \in\mathcal{B}_n^\circ H ∈ B n ∘ . (a) The g H g_H g H -orthogonal complement of T \mathcal{T} T in R n × n \mathbb{R}^{n \times n} R n × n is H ⊙ s H \odot\mathfrak{s} H ⊙ s , and R n × n = T ⊕ ( H ⊙ s ) \mathbb{R}^{n \times n} = \mathcal{T} \oplus(H \odot\mathfrak{s}) R n × n = T ⊕ ( H ⊙ s ) .
(b) For every ξ ∈ R n × n \xi\in\mathbb{R}^{n \times n} ξ ∈ R n × n , the affine space ξ + H ⊙ s \xi+ H \odot\mathfrak{s} ξ + H ⊙ s meets T \mathcal{T} T in exactly one point, namely Π H ( ξ ) \Pi_H(\xi) Π H ( ξ ) . This point is given by (5).
(c) ker Π H = H ⊙ s \ker\Pi_H = H \odot\mathfrak{s} ker Π H = H ⊙ s .
Proof. ⟨1⟩1. A matrix ξ \xi ξ is g H g_H g H -orthogonal to T \mathcal{T} T if and only if ξ ∈ H ⊙ s \xi\in H \odot\mathfrak{s} ξ ∈ H ⊙ s .
Proof: By (4), g H ( ξ , ζ ) = ⟨ ξ ⊘ H , ζ ⟩ g_H(\xi,\zeta) = \langle\xi\oslash H,\zeta\rangle g H ( ξ , ζ ) = ⟨ ξ ⊘ H , ζ ⟩ . Thus ξ \xi ξ is g H g_H g H -orthogonal to T \mathcal{T} T if and only if ξ ⊘ H ∈ T ⊥ = s \xi\oslash H \in\mathcal{T}^{\perp} = \mathfrak{s} ξ ⊘ H ∈ T ⊥ = s , that is, ξ ∈ H ⊙ s \xi\in H \odot\mathfrak{s} ξ ∈ H ⊙ s .
⟨1⟩2. R n × n = T ⊕ ( H ⊙ s ) \mathbb{R}^{n \times n} = \mathcal{T} \oplus(H \odot\mathfrak{s}) R n × n = T ⊕ ( H ⊙ s ) , and the sum is g H g_H g H -orthogonal.
Proof: The map s ↦ H ⊙ s s \mapsto H \odot s s ↦ H ⊙ s is injective because H > 0 H > 0 H > 0 . Thus dim ( H ⊙ s ) = dim s = 2 n − 1 \dim(H \odot\mathfrak{s}) = \dim\mathfrak{s} = 2n - 1 dim ( H ⊙ s ) = dim s = 2 n − 1 , and dim T + dim ( H ⊙ s ) = ( n − 1 ) 2 + 2 n − 1 = n 2 \dim\mathcal{T} + \dim(H \odot\mathfrak{s}) = (n - 1)^2 + 2n - 1 = n^2 dim T + dim ( H ⊙ s ) = ( n − 1 ) 2 + 2 n − 1 = n 2 . By ⟨1⟩1 the two subspaces are g H g_H g H -orthogonal, so they meet only in 0 0 0 .
⟨1⟩3. Let ξ ∈ R n × n \xi\in\mathbb{R}^{n \times n} ξ ∈ R n × n . Then Π H ( ξ ) = ξ − H ⊙ ( a 1 T + 1 b T ) \Pi_H(\xi) = \xi- H \odot(a1^{\mathsf{T}} + 1b^{\mathsf{T}}) Π H ( ξ ) = ξ − H ⊙ ( a 1 T + 1 b T ) , where ( a , b ) (a,b) ( a , b ) solves (5).
Proof: By ⟨1⟩2, ξ = Π H ( ξ ) + H ⊙ s \xi= \Pi_H(\xi) + H \odot s ξ = Π H ( ξ ) + H ⊙ s for a unique s = a 1 T + 1 b T ∈ s s = a1^{\mathsf{T}} + 1b^{\mathsf{T}} \in\mathfrak{s} s = a 1 T + 1 b T ∈ s . The condition Π H ( ξ ) ∈ T \Pi_H(\xi) \in\mathcal{T} Π H ( ξ ) ∈ T says that the row sums and the column sums of ξ − H ⊙ s \xi- H \odot s ξ − H ⊙ s are zero:
∑ j ξ i j − ∑ j H i j ( a i + b j ) = 0 , ∑ i ξ i j − ∑ i H i j ( a i + b j ) = 0. \sum_j \xi_{ij} - \sum_j H_{ij}(a_i + b_j) = 0,\qquad\sum_i \xi_{ij} - \sum_i H_{ij}(a_i + b_j) = 0. j ∑ ξ ij − j ∑ H ij ( a i + b j ) = 0 , i ∑ ξ ij − i ∑ H ij ( a i + b j ) = 0.
The rows and the columns of H H H sum to one, so these equations are (5).
⟨1⟩4. Q.E.D.
Proof: Steps ⟨1⟩1 and ⟨1⟩2 give (a). By ⟨1⟩2, the affine space ξ + H ⊙ s \xi+ H \odot\mathfrak{s} ξ + H ⊙ s meets T \mathcal{T} T in exactly one point, and by ⟨1⟩3 this point is Π H ( ξ ) \Pi_H(\xi) Π H ( ξ ) ; this gives (b). By ⟨1⟩2, Π H ( ξ ) = 0 \Pi_H(\xi) = 0 Π H ( ξ ) = 0 if and only if ξ ∈ H ⊙ s \xi\in H \odot\mathfrak{s} ξ ∈ H ⊙ s ; this gives (c).
■
Lemma E.2 (Balancing equations are normal equations). Let H ∈ B n ∘ H \in\mathcal{B}_n^\circ H ∈ B n ∘ , C ∈ R n × n C \in\mathbb{R}^{n \times n} C ∈ R n × n , and ( a , b ) ∈ R n × R n (a,b) \in\mathbb{R}^n \times\mathbb{R}^n ( a , b ) ∈ R n × R n . The following are equivalent.
(i) a i + ∑ j H i j b j = ∑ j H i j C i j a_i + \sum_j H_{ij}b_j = \sum_j H_{ij}C_{ij} a i + ∑ j H ij b j = ∑ j H ij C ij for all i i i , and b j + ∑ i H i j a i = ∑ i H i j C i j b_j + \sum_i H_{ij}a_i = \sum_i H_{ij}C_{ij} b j + ∑ i H ij a i = ∑ i H ij C ij for all j j j .
(ii) ( a , b ) (a,b) ( a , b ) minimizes F ( a , b ) : = ∑ i , j H i j ( C i j − a i − b j ) 2 F(a,b) := \sum_{i,j} H_{ij}(C_{ij}-a_i-b_j)^2 F ( a , b ) := ∑ i , j H ij ( C ij − a i − b j ) 2 .
Consequently Π H ( H ⊙ C ) = H ⊙ ( C − m ) \Pi_H(H \mathbin{\odot} C) = H \mathbin{\odot}(C-m) Π H ( H ⊙ C ) = H ⊙ ( C − m ) , where m = a 1 T + 1 b T m = a\mathbf{1}^{\mathsf{T}} + \mathbf{1}b^{\mathsf{T}} m = a 1 T + 1 b T is the weighted least-squares fit of C C C by an additive model with weights H H H .
Proof. ⟨1⟩1. The minimizers of F F F are exactly its stationary points.
Proof: F F F is a convex quadratic function of ( a , b ) (a,b) ( a , b ) .
⟨1⟩2. The stationary points of F F F are exactly the solutions of (i).
Proof: The partial derivatives of F F F are zero if and only if
∑ j H i j ( C i j − a i − b j ) = 0 ( i ∈ [ n ] ) , ∑ i H i j ( C i j − a i − b j ) = 0 ( j ∈ [ n ] ) . \sum_j H_{ij}(C_{ij}-a_i-b_j)=0 \quad(i \in[n]), \qquad\sum_i H_{ij}(C_{ij}-a_i-b_j)=0 \quad(j \in[n]). j ∑ H ij ( C ij − a i − b j ) = 0 ( i ∈ [ n ]) , i ∑ H ij ( C ij − a i − b j ) = 0 ( j ∈ [ n ]) .
Because ∑ j H i j = 1 = ∑ i H i j \sum_j H_{ij}=1=\sum_i H_{ij} ∑ j H ij = 1 = ∑ i H ij , these equations are the equations in (i).
⟨1⟩3. Q.E.D.
Proof: Steps ⟨1⟩1 and ⟨1⟩2 give the equivalence. The equations (i) are (5) with ξ = H ⊙ C \xi= H \mathbin{\odot} C ξ = H ⊙ C . Thus Lemma E.1(b) gives Π H ( H ⊙ C ) = H ⊙ C − H ⊙ m \Pi_H(H \mathbin{\odot} C) = H \mathbin{\odot} C - H \mathbin{\odot} m Π H ( H ⊙ C ) = H ⊙ C − H ⊙ m .
Lemma E.3 (Block structure). Let H ∈ B n H \in\mathcal{B}_n H ∈ B n , and let [ 1 / n , U ] [1/\sqrt{n}, U] [ 1/ n , U ] be an orthonormal basis of R n \mathbb{R}^n R n (U T U = I U^{\mathsf{T}}U=I U T U = I , U T 1 = 0 U^{\mathsf{T}}1=0 U T 1 = 0 ). Then H = J / n + Q H Q H=J/n+QHQ H = J / n + Q H Q , the subspaces R 1 \mathbb{R}1 R 1 and 1 ⊥ 1^\perp 1 ⊥ are invariant under H H H and H T H^{\mathsf{T}} H T , and in this basis
H = ( 1 0 0 U T H U ) . H=\begin{pmatrix} 1 & 0 \\ 0 & U^{\mathsf{T}}HU \end{pmatrix}. H = ( 1 0 0 U T H U ) . Thus the singular values of H H H are 1 1 1 and the singular values of U T H U U^{\mathsf{T}}HU U T H U . In particular σ 2 ( H ) = ∥ U T H U ∥ 2 \sigma_2(H)=\lVert U^{\mathsf{T}}HU\rVert_2 σ 2 ( H ) = ∥ U T H U ∥ 2 and ∣ det ( U T H U ) ∣ = ∏ i = 2 n σ i ( H ) \lvert\det(U^{\mathsf{T}}HU)\rvert=\prod_{i=2}^{n}\sigma_i(H) ∣ det ( U T H U )∣ = ∏ i = 2 n σ i ( H ) . The same statements hold for products of doubly stochastic matrices.
Proof. ⟨1⟩1. H = J / n + Q H Q H=J/n+QHQ H = J / n + Q H Q .
Proof: By (F3), H J = J HJ=J H J = J and H Q = Q H HQ=QH H Q = Q H . Thus H = H ( J / n + Q ) = J / n + H Q H=H(J/n+Q)=J/n+HQ H = H ( J / n + Q ) = J / n + H Q , and H Q = H Q 2 = Q H Q HQ=HQ^2=QHQ H Q = H Q 2 = Q H Q .
⟨1⟩2. R 1 \mathbb{R}1 R 1 and 1 ⊥ 1^\perp 1 ⊥ are invariant under H H H and H T H^{\mathsf{T}} H T .
Proof: H 1 = 1 H1=1 H 1 = 1 . For x ⊥ 1 x\perp1 x ⊥ 1 , ⟨ H x , 1 ⟩ = ⟨ x , H T 1 ⟩ = ⟨ x , 1 ⟩ = 0 \langle Hx,1\rangle=\langle x,H^{\mathsf{T}}1\rangle=\langle x,1\rangle=0 ⟨ H x , 1 ⟩ = ⟨ x , H T 1 ⟩ = ⟨ x , 1 ⟩ = 0 . The same argument applies to H T ∈ B n H^{\mathsf{T}}\in\mathcal{B}_n H T ∈ B n .
⟨1⟩3. The singular values of H H H are 1 1 1 and the singular values s 1 ≥ ⋯ ≥ s n − 1 s_1\ge\cdots\ge s_{n-1} s 1 ≥ ⋯ ≥ s n − 1 of U T H U U^{\mathsf{T}}HU U T H U , with σ k + 1 ( H ) = s k \sigma_{k+1}(H)=s_k σ k + 1 ( H ) = s k .
Proof: By ⟨1⟩2, H H H has the stated block form, and a block diagonal matrix has the singular values of its blocks. By (F1), s 1 ≤ ∥ H ∥ 2 ≤ 1 s_1\le\lVert H\rVert_2\le1 s 1 ≤ ∥ H ∥ 2 ≤ 1 , so the largest singular value is the block 1 1 1 .
⟨1⟩4. Q.E.D.
Proof: Steps ⟨1⟩1–⟨1⟩3 give all claims, because ∣ det ( U T H U ) ∣ = ∏ k s k \lvert\det(U^{\mathsf{T}}HU)\rvert=\prod_k s_k ∣ det ( U T H U )∣ = ∏ k s k . By (F2), products of doubly stochastic matrices are doubly stochastic.
Lemma E.4 (Monotonicity of the vertex proximity). Let H , H ′ ∈ R > 0 n × n H,H' \in\mathbb{R}^{n\times n}_{>0} H , H ′ ∈ R > 0 n × n and 0 < λ ≤ λ ′ 0 < \lambda\le\lambda' 0 < λ ≤ λ ′ satisfy λ H i j ≤ H i j ′ ≤ λ ′ H i j \lambda H_{ij} \le H'_{ij} \le\lambda' H_{ij} λ H ij ≤ H ij ′ ≤ λ ′ H ij for all ( i , j ) (i,j) ( i , j ) . Then λ ε π ( H ) ≤ ε π ( H ′ ) ≤ λ ′ ε π ( H ) \lambda\varepsilon_\pi(H) \le\varepsilon_\pi(H') \le\lambda' \varepsilon_\pi(H) λ ε π ( H ) ≤ ε π ( H ′ ) ≤ λ ′ ε π ( H ) for every π \pi π , and λ ε ( H ) ≤ ε ( H ′ ) ≤ λ ′ ε ( H ) \lambda\varepsilon(H) \le\varepsilon(H') \le\lambda' \varepsilon(H) λ ε ( H ) ≤ ε ( H ′ ) ≤ λ ′ ε ( H ) .
Proof. ⟨1⟩1. The claim holds for ε π \varepsilon_\pi ε π .
Proof: ε π \varepsilon_\pi ε π is the maximum of the entries on a fixed set of cells, and a maximum is monotone and positively homogeneous.
⟨1⟩2. Q.E.D.
Proof: ε = min π ε π \varepsilon= \min_\pi\varepsilon_\pi ε = min π ε π is a minimum of finitely many functions with the two properties of ⟨1⟩1, and a minimum keeps both properties.
Lemma E.5 (Dini comparison). Let ψ : [ 0 , T ) → R \psi: [0,T) \to\mathbb{R} ψ : [ 0 , T ) → R be continuous, let c ∈ R c \in\mathbb{R} c ∈ R , and assume that
D + ψ ( t ) : = lim sup h ↓ 0 ψ ( t + h ) − ψ ( t ) h ≤ c for every t ∈ [ 0 , T ) . D^+\psi(t) := \limsup_{h \downarrow0} \frac{\psi(t+h)-\psi(t)}{h} \le c \qquad\text{for every } t \in[0,T). D + ψ ( t ) := h ↓ 0 lim sup h ψ ( t + h ) − ψ ( t ) ≤ c for every t ∈ [ 0 , T ) . Then ψ ( t ) ≤ ψ ( 0 ) + c t \psi(t) \le\psi(0) + ct ψ ( t ) ≤ ψ ( 0 ) + c t for all t ∈ [ 0 , T ) t \in[0,T) t ∈ [ 0 , T ) .
Proof. ⟨1⟩1. Suffices: For every ν > 0 \nu> 0 ν > 0 , the function ψ ν ( t ) : = ψ ( t ) − ( c + ν ) t \psi_\nu(t) := \psi(t) - (c+\nu)t ψ ν ( t ) := ψ ( t ) − ( c + ν ) t is nonincreasing.
Proof: Then ψ ( t ) − ( c + ν ) t ≤ ψ ( 0 ) \psi(t) - (c+\nu)t \le\psi(0) ψ ( t ) − ( c + ν ) t ≤ ψ ( 0 ) for every ν > 0 \nu> 0 ν > 0 . Let ν ↓ 0 \nu\downarrow0 ν ↓ 0 .
⟨1⟩2. Assume: ν > 0 \nu> 0 ν > 0 , 0 ≤ t 0 < t 1 < T 0 \le t_0 < t_1 < T 0 ≤ t 0 < t 1 < T , and ψ ν ( t 1 ) > ψ ν ( t 0 ) \psi_\nu(t_1) > \psi_\nu(t_0) ψ ν ( t 1 ) > ψ ν ( t 0 ) . Prove: FALSE.
⟨2⟩1. Let: s : = sup { t ∈ [ t 0 , t 1 ] : ψ ν ( t ) ≤ ψ ν ( t 0 ) } s := \sup\{t \in[t_0,t_1] : \psi_\nu(t) \le\psi_\nu(t_0)\} s := sup { t ∈ [ t 0 , t 1 ] : ψ ν ( t ) ≤ ψ ν ( t 0 )} . Then s < t 1 s < t_1 s < t 1 , ψ ν ( s ) = ψ ν ( t 0 ) \psi_\nu(s) = \psi_\nu(t_0) ψ ν ( s ) = ψ ν ( t 0 ) , and ψ ν ( t ) > ψ ν ( t 0 ) \psi_\nu(t) > \psi_\nu(t_0) ψ ν ( t ) > ψ ν ( t 0 ) for all t ∈ ( s , t 1 ] t \in(s,t_1] t ∈ ( s , t 1 ] .
Proof: The set contains t 0 t_0 t 0 , so s s s exists. The set is closed because ψ ν \psi_\nu ψ ν is continuous, so ψ ν ( s ) ≤ ψ ν ( t 0 ) \psi_\nu(s) \le\psi_\nu(t_0) ψ ν ( s ) ≤ ψ ν ( t 0 ) . By the definition of s s s , ψ ν ( t ) > ψ ν ( t 0 ) \psi_\nu(t) > \psi_\nu(t_0) ψ ν ( t ) > ψ ν ( t 0 ) for t ∈ ( s , t 1 ] t \in(s,t_1] t ∈ ( s , t 1 ] . By continuity, ψ ν ( s ) ≥ ψ ν ( t 0 ) \psi_\nu(s) \ge\psi_\nu(t_0) ψ ν ( s ) ≥ ψ ν ( t 0 ) . Thus ψ ν ( s ) = ψ ν ( t 0 ) < ψ ν ( t 1 ) \psi_\nu(s) = \psi_\nu(t_0) < \psi_\nu(t_1) ψ ν ( s ) = ψ ν ( t 0 ) < ψ ν ( t 1 ) , and s < t 1 s < t_1 s < t 1 .
⟨2⟩2. D + ψ ν ( s ) ≥ 0 D^+\psi_\nu(s) \ge0 D + ψ ν ( s ) ≥ 0 .
Proof: By ⟨2⟩1, ( ψ ν ( s + h ) − ψ ν ( s ) ) / h > 0 (\psi_\nu(s+h)-\psi_\nu(s))/h > 0 ( ψ ν ( s + h ) − ψ ν ( s )) / h > 0 for 0 < h ≤ t 1 − s 0 < h \le t_1-s 0 < h ≤ t 1 − s .
⟨2⟩3. Q.E.D.
Proof: D + ψ ν = D + ψ − ( c + ν ) ≤ − ν < 0 D^+\psi_\nu= D^+\psi- (c+\nu) \le-\nu< 0 D + ψ ν = D + ψ − ( c + ν ) ≤ − ν < 0 everywhere. This contradicts ⟨2⟩2.
⟨1⟩3. Q.E.D.
Proof: By ⟨1⟩2, ψ ν ( t 1 ) ≤ ψ ν ( t 0 ) \psi_\nu(t_1) \le\psi_\nu(t_0) ψ ν ( t 1 ) ≤ ψ ν ( t 0 ) whenever t 0 < t 1 t_0 < t_1 t 0 < t 1 . Thus ⟨1⟩1 applies.
Proofs
Proofs for Section 3
Proof of Theorem 3.1. ⟨1⟩1. x ˉ l + 1 = x ˉ l + h ˉ l u l \bar{x}_{l+1} = \bar{x}_l + \bar{h}_l u_l x ˉ l + 1 = x ˉ l + h ˉ l u l .
Proof: Multiply (2) on the left by 1 n 1 T \frac{1}{n}\mathbf{1}^{\mathsf{T}} n 1 1 T . Because 1 T H l = 1 T \mathbf{1}^{\mathsf{T}}H_l = \mathbf{1}^{\mathsf{T}} 1 T H l = 1 T , we get 1 n 1 T H l x l = x ˉ l \frac{1}{n}\mathbf{1}^{\mathsf{T}}H_lx_l = \bar{x}_l n 1 1 T H l x l = x ˉ l and 1 n 1 T ( h l p o s t ) T u l = h ˉ l u l \frac{1}{n}\mathbf{1}^{\mathsf{T}}(h_l^{\mathrm{post}})^{\mathsf{T}}u_l = \bar{h}_l u_l n 1 1 T ( h l post ) T u l = h ˉ l u l . ⟨1⟩2. x l + 1 ⊥ = H l x l ⊥ + Q ( h l p o s t ) ⊤ u l x^\perp_{l+1}=H_lx^\perp_l+Q(h_l^{\mathrm{post}})^\top u_l x l + 1 ⊥ = H l x l ⊥ + Q ( h l post ) ⊤ u l .
Proof: Multiply (2) on the left by Q Q Q . By (F3), Q H l = H l Q QH_l=H_lQ Q H l = H l Q , so Q H l x l ⊥ = H l x l ⊥ QH_lx_l^\perp=H_lx_l^\perp Q H l x l ⊥ = H l x l ⊥ .
⟨1⟩3. The two recursions (8) determine (2) .
Proof: They determine x l + 1 = 1 x ˉ l + 1 + x l + 1 ⊥ x_{l+1}=1\bar{x}_{l+1}+x^\perp_{l+1} x l + 1 = 1 x ˉ l + 1 + x l + 1 ⊥ by (7) .
⟨1⟩4. For l < L l<L l < L ,
x ˉ L ⊤ = x ˉ l ⊤ + ∑ i = l L − 1 h ˉ i ⊤ u i , x L ⊥ = H L : l x l ⊥ + ∑ i = l L − 1 H L : i + 1 Q ( h i p o s t ) ⊤ u i . (25) \bar{x}_L^\top=\bar{x}_l^\top+\sum_{i=l}^{L-1}\bar{h}_i^\top u_i,\qquad x_L^\perp=H_{L:l}x_l^\perp+\sum_{i=l}^{L-1}H_{L:i+1}Q(h_i^{\mathrm{post}})^\top u_i. \tag*{(25)} x ˉ L ⊤ = x ˉ l ⊤ + i = l ∑ L − 1 h ˉ i ⊤ u i , x L ⊥ = H L : l x l ⊥ + i = l ∑ L − 1 H L : i + 1 Q ( h i post ) ⊤ u i . (25)
Proof: Induction on L L L , with ⟨1⟩1 and ⟨1⟩2.
⟨1⟩5. The residual-path Jacobian is x ↦ H L : l x x\mapsto H_{L:l}x x ↦ H L : l x , its adjoint is y ↦ H L : l ⊤ y y\mapsto H_{L:l}^\top y y ↦ H L : l ⊤ y , and both maps fix 1 1 1 .
Proof: Unroll (2) :
x L = H L : l x l + ∑ i = l L − 1 H L : i + 1 ( h i p o s t ) ⊤ u i . x_L=H_{L:l}x_l+\sum_{i=l}^{L-1}H_{L:i+1}(h_i^{\mathrm{post}})^\top u_i. x L = H L : l x l + i = l ∑ L − 1 H L : i + 1 ( h i post ) ⊤ u i .
With the block outputs u i u_i u i held fixed, this map is affine in x l x_l x l , and its linear part is x ↦ H L : l x x\mapsto H_{L:l}x x ↦ H L : l x . Its adjoint for the Frobenius inner product is y ↦ H L : l ⊤ y y\mapsto H_{L:l}^\top y y ↦ H L : l ⊤ y . By (F2), H L : l ∈ B n H_{L:l}\in\mathcal{B}_n H L : l ∈ B n , so H L : l 1 = 1 H_{L:l}1=1 H L : l 1 = 1 and H L : l ⊤ 1 = 1 H_{L:l}^\top1=1 H L : l ⊤ 1 = 1 .
⟨1⟩6. Q.E.D.
Proof: Steps ⟨1⟩1–⟨1⟩3 give the equivalence, and ⟨1⟩5 gives the statement about the Jacobian.
Proof of Theorem 3.2. ⟨1⟩1. For every H ∈ B n H\in\mathcal{B}_n H ∈ B n , σ 2 ( H ) ≤ 1 − n δ ( H ) \sigma_2(H)\le1-n\delta(H) σ 2 ( H ) ≤ 1 − n δ ( H ) .
⟨2⟩1. Let: δ : = δ ( H ) \delta:=\delta(H) δ := δ ( H ) . Case: n δ = 1 n\delta=1 n δ = 1 .
Proof: Every entry is at least 1 / n 1/n 1/ n , and every row sums to one. Thus H = J / n H=J/n H = J / n , and σ 2 ( H ) = ∥ J Q ∥ 2 / n = 0 = 1 − n δ \sigma_2(H)=\lVert JQ\rVert_2/n=0=1-n\delta σ 2 ( H ) = ∥ J Q ∥ 2 / n = 0 = 1 − n δ .
⟨2⟩2. Case: n δ < 1 n\delta<1 n δ < 1 . Let: R : = ( H − δ J ) / ( 1 − n δ ) R:=(H-\delta J)/(1-n\delta) R := ( H − δ J ) / ( 1 − n δ ) . Then R ∈ B n R\in\mathcal{B}_n R ∈ B n .
Proof: R ≥ 0 R\ge0 R ≥ 0 because H i j ≥ δ H_{ij}\ge\delta H ij ≥ δ . Each row sum and each column sum of R R R is ( 1 − n δ ) / ( 1 − n δ ) = 1 (1-n\delta)/(1-n\delta)=1 ( 1 − n δ ) / ( 1 − n δ ) = 1 .
⟨2⟩3. Case: n δ < 1 n\delta<1 n δ < 1 . Then ∥ H x ∥ 2 ≤ ( 1 − n δ ) ∥ x ∥ 2 \lVert Hx\rVert_2\le(1-n\delta)\lVert x\rVert_2 ∥ H x ∥ 2 ≤ ( 1 − n δ ) ∥ x ∥ 2 for every x ⊥ 1 x\perp1 x ⊥ 1 .
Proof: For x ⊥ 1 x\perp1 x ⊥ 1 we have J x = 0 Jx=0 J x = 0 . Thus H x = ( 1 − n δ ) R x + δ J x = ( 1 − n δ ) R x Hx=(1-n\delta)Rx+\delta Jx=(1-n\delta)Rx H x = ( 1 − n δ ) R x + δ J x = ( 1 − n δ ) R x , and ∥ R ∥ 2 ≤ 1 \lVert R\rVert_2\le1 ∥ R ∥ 2 ≤ 1 by ⟨2⟩2 and (F1).
⟨2⟩4. Q.E.D.
Proof: The two cases cover all H H H , because n δ ≤ 1 n\delta\le1 n δ ≤ 1 . In the second case, ⟨2⟩3 and σ 2 ( H ) = ∥ H Q ∥ 2 \sigma_2(H)=\lVert HQ\rVert_2 σ 2 ( H ) = ∥ H Q ∥ 2 give the claim.
⟨1⟩2. Equality holds for H = ( 1 − t ) P π + t J / n H=(1-t)P_\pi+tJ/n H = ( 1 − t ) P π + t J / n , t ∈ [ 0 , 1 ] t\in[0,1] t ∈ [ 0 , 1 ] .
Proof: The entries of H H H off π \pi π are t / n t/n t / n , and the entries on π \pi π are 1 − t + t / n ≥ t / n 1-t+t/n\ge t/n 1 − t + t / n ≥ t / n . Thus δ ( H ) = t / n \delta(H)=t/n δ ( H ) = t / n . For x ⊥ 1 x\perp1 x ⊥ 1 , H x = ( 1 − t ) P π x Hx=(1-t)P_\pi x H x = ( 1 − t ) P π x and ∥ P π x ∥ 2 = ∥ x ∥ 2 \lVert P_\pi x\rVert_2=\lVert x\rVert_2 ∥ P π x ∥ 2 = ∥ x ∥ 2 . Thus σ 2 ( H ) = 1 − t = 1 − n δ ( H ) \sigma_2(H)=1-t=1-n\delta(H) σ 2 ( H ) = 1 − t = 1 − n δ ( H ) .
⟨1⟩3. Part (b) holds.
Proof: By (F3), each H i H_i H i maps 1 ⊥ 1^\perp 1 ⊥ into 1 ⊥ 1^\perp 1 ⊥ , and on 1 ⊥ 1^\perp 1 ⊥ it has norm σ 2 ( H i ) \sigma_2(H_i) σ 2 ( H i ) . Thus ∥ H L : l x ∥ 2 ≤ ∏ i σ 2 ( H i ) ∥ x ∥ 2 \lVert H_{L:l}x\rVert_2\le\prod_i\sigma_2(H_i)\lVert x\rVert_2 ∥ H L : l x ∥ 2 ≤ ∏ i σ 2 ( H i ) ∥ x ∥ 2 for x ⊥ 1 x\perp1 x ⊥ 1 . Then ⟨1⟩1 and 1 − s ≤ e − s 1-s\le e^{-s} 1 − s ≤ e − s give the second inequality.
⟨1⟩4. Part (c) holds.
Proof: By (F2), H L : l ∈ B n H_{L:l} \in\mathcal{B}_n H L : l ∈ B n , so H L : l J = J H_{L:l}J = J H L : l J = J and H L : l − J / n = H L : l Q H_{L:l} - J/n = H_{L:l}Q H L : l − J / n = H L : l Q . For unit vectors e j , e k e_j,e_k e j , e k ,
∣ ( H L : l ) j k − 1 n ∣ = ∣ e j T H L : l Q e k ∣ ≤ ∥ H L : l Q ∥ 2 = σ 2 ( H L : l ) . \left|(H_{L:l})_{jk} - \frac{1}{n}\right| = \left|e_j^{\mathsf{T}}H_{L:l}Qe_k\right| \le\lVert H_{L:l}Q\rVert_2 = \sigma_2(H_{L:l}). ( H L : l ) j k − n 1 = e j T H L : l Q e k ≤ ∥ H L : l Q ∥ 2 = σ 2 ( H L : l ) .
The limit statement then follows from (b).
⟨1⟩5. Assume: H = SK ( exp W ) H = \operatorname{SK}(\exp W) H = SK ( exp W ) with ∥ W ∥ ∞ ≤ M \lVert W\rVert_\infty\le M ∥ W ∥ ∞ ≤ M , for the exact projection or for a truncated iteration that ends with a row normalization. Prove: δ ( H ) ≥ e − 4 M / n \delta(H) \ge e^{-4M}/n δ ( H ) ≥ e − 4 M / n .
⟨2⟩1. Let: K : = exp W K := \exp W K := exp W . Then H = diag ( μ ) K diag ( ν ) H = \operatorname{diag}(\mu)K\operatorname{diag}(\nu) H = diag ( μ ) K diag ( ν ) with μ , ν > 0 \mu,\nu> 0 μ , ν > 0 , and ν j = 1 / ∑ i μ i ′ K i j \nu_j = 1/\sum_i \mu'_iK_{ij} ν j = 1/ ∑ i μ i ′ K ij for some μ ′ > 0 \mu' > 0 μ ′ > 0 .
Proof: For the exact projection, the column sums of H H H are one, so this holds with μ ′ = μ \mu' = \mu μ ′ = μ . For a truncated iteration, the last column normalization sets ν \nu ν , and μ ′ \mu' μ ′ is the row scaling at that moment.
⟨2⟩2. ν j / ν k ≥ e − 2 M \nu_j/\nu_k \ge e^{-2M} ν j / ν k ≥ e − 2 M for all j , k j,k j , k .
Proof: Let s : = ∑ i μ i ′ s := \sum_i \mu'_i s := ∑ i μ i ′ . Because K i j ∈ [ e − M , e M ] K_{ij} \in[e^{-M},e^M] K ij ∈ [ e − M , e M ] , we have ∑ i μ i ′ K i j ∈ [ e − M s , e M s ] \sum_i \mu'_iK_{ij} \in[e^{-M}s,e^Ms] ∑ i μ i ′ K ij ∈ [ e − M s , e M s ] , so ν j ∈ [ e − M / s , e M / s ] \nu_j \in[e^{-M}/s,e^M/s] ν j ∈ [ e − M / s , e M / s ] by ⟨2⟩1.
⟨2⟩3. H i j / H i k ≥ e − 4 M H_{ij}/H_{ik} \ge e^{-4M} H ij / H ik ≥ e − 4 M for all i , j , k i,j,k i , j , k .
Proof: H i j / H i k = ( K i j / K i k ) ( ν j / ν k ) ≥ e − 2 M e − 2 M H_{ij}/H_{ik} = (K_{ij}/K_{ik})(\nu_j/\nu_k) \ge e^{-2M}e^{-2M} H ij / H ik = ( K ij / K ik ) ( ν j / ν k ) ≥ e − 2 M e − 2 M by ⟨2⟩2.
⟨2⟩4. Q.E.D.
Proof: Row i i i of H H H sums to one, so H i k ≥ 1 / n H_{ik} \ge1/n H ik ≥ 1/ n for some k k k . By ⟨2⟩3, H i j ≥ e − 4 M / n H_{ij} \ge e^{-4M}/n H ij ≥ e − 4 M / n for every j j j .
⟨1⟩6. For the exact projection, σ 2 ( H ) ≤ 1 − e − 4 M \sigma_2(H) \le1 - e^{-4M} σ 2 ( H ) ≤ 1 − e − 4 M .
Proof: For the exact projection H ∈ B n H \in\mathcal{B}_n H ∈ B n . Apply ⟨1⟩1 and ⟨1⟩5.
⟨1⟩7. Q.E.D.
Proof: Steps ⟨1⟩1 and ⟨1⟩2 give (a), ⟨1⟩3 gives (b), ⟨1⟩4 gives (c), and ⟨1⟩5 and ⟨1⟩6 give (d).
Proof of Corollary 3.3. ⟨1⟩1. ∥ H L : l x l ⊥ ∥ F ≤ ρ L : l ∥ x l ⊥ ∥ F \lVert H_{L:l}x_l^{\perp}\rVert_F \le\rho_{L:l}\lVert x_l^{\perp}\rVert_F ∥ H L : l x l ⊥ ∥ F ≤ ρ L : l ∥ x l ⊥ ∥ F .
Proof: Every column of x l ⊥ x_l^{\perp} x l ⊥ is in 1 ⊥ 1^\perp 1 ⊥ . Apply Theorem 3.2 (b) to each column.
⟨1⟩2. ∥ H L : i + 1 Q ( h i p o s t ) T u i ∥ F ≤ ρ L : i + 1 ∥ Q ( h i p o s t ) T ∥ 2 ∥ u i ∥ 2 \lVert H_{L:i+1}Q(h_i^{\mathrm{post}})^{\mathsf{T}}u_i\rVert_F \le\rho_{L:i+1}\lVert Q(h_i^{\mathrm{post}})^{\mathsf{T}}\rVert_2\lVert u_i\rVert_2 ∥ H L : i + 1 Q ( h i post ) T u i ∥ F ≤ ρ L : i + 1 ∥ Q ( h i post ) T ∥ 2 ∥ u i ∥ 2 .
Proof: The matrix Q ( h i p o s t ) T u i Q(h_i^{\mathrm{post}})^{\mathsf{T}}u_i Q ( h i post ) T u i has rank one, and its column space is spanned by the vector Q ( h i p o s t ) T ∈ 1 ⊥ Q(h_i^{\mathrm{post}})^{\mathsf{T}} \in1^\perp Q ( h i post ) T ∈ 1 ⊥ . Thus H L : i + 1 Q ( h i p o s t ) T u i = ( H L : i + 1 Q ( h i p o s t ) T ) u i H_{L:i+1}Q(h_i^{\mathrm{post}})^{\mathsf{T}}u_i = (H_{L:i+1}Q(h_i^{\mathrm{post}})^{\mathsf{T}})u_i H L : i + 1 Q ( h i post ) T u i = ( H L : i + 1 Q ( h i post ) T ) u i , and its Frobenius norm is ∥ H L : i + 1 Q ( h i p o s t ) T ∥ 2 ∥ u i ∥ 2 \lVert H_{L:i+1}Q(h_i^{\mathrm{post}})^{\mathsf{T}}\rVert_2\lVert u_i\rVert_2 ∥ H L : i + 1 Q ( h i post ) T ∥ 2 ∥ u i ∥ 2 . Apply Theorem 3.2 (b) to the vector Q ( h i p o s t ) T Q(h_i^{\mathrm{post}})^{\mathsf{T}} Q ( h i post ) T .
⟨1⟩3. The bound (9) holds.
Proof: Apply the triangle inequality to (25) , and use ⟨1⟩1 and ⟨1⟩2.
⟨1⟩4. ∥ Q H L : l T y ∥ F ≤ ρ L : l ∥ Q y ∥ F \lVert QH_{L:l}^{\mathsf{T}}y\rVert_F \le\rho_{L:l}\lVert Qy\rVert_F ∥ Q H L : l T y ∥ F ≤ ρ L : l ∥ Q y ∥ F .
Proof: By (F3), Q H L : l T = H L : l T Q QH_{L:l}^{\mathsf{T}} = H_{L:l}^{\mathsf{T}}Q Q H L : l T = H L : l T Q . Each H i T H_i^{\mathsf{T}} H i T is in B n \mathcal{B}_n B n and has σ 2 ( H i T ) = σ 2 ( H i ) \sigma_2(H_i^{\mathsf{T}}) = \sigma_2(H_i) σ 2 ( H i T ) = σ 2 ( H i ) . Apply Theorem 3.2 (b) to H L : l T = H l T ⋯ H L − 1 T H_{L:l}^{\mathsf{T}} = H_l^{\mathsf{T}}\cdots H_{L-1}^{\mathsf{T}} H L : l T = H l T ⋯ H L − 1 T and the columns of Q y Qy Q y .
⟨1⟩5. If ρ ∈ [ 0 , 1 ) \rho\in[0,1) ρ ∈ [ 0 , 1 ) and τ = 1 / ( 1 − ρ ) \tau= 1/(1-\rho) τ = 1/ ( 1 − ρ ) , then ρ k ≤ e − k / τ \rho^k \le e^{-k/\tau} ρ k ≤ e − k / τ .
Proof: log ρ ≤ ρ − 1 = − 1 / τ \log\rho\le\rho- 1 = -1/\tau log ρ ≤ ρ − 1 = − 1/ τ .
⟨1⟩6. Q.E.D.
Proof: By ⟨1⟩3–⟨1⟩5.
Proof of Proposition 3.4. ⟨1⟩1. Every A ∈ C n A \in\mathcal{C}_n A ∈ C n satisfies A T 1 = 1 A^{\mathsf{T}}1=1 A T 1 = 1 , and A A A maps 1 ⊥ 1^\perp 1 ⊥ into 1 ⊥ 1^\perp 1 ⊥ .
Proof: By the Cauchy–Schwarz inequality and ∥ A T ∥ 2 = ∥ A ∥ 2 ≤ 1 \lVert A^{\mathsf{T}}\rVert_2=\lVert A\rVert_2\le1 ∥ A T ∥ 2 = ∥ A ∥ 2 ≤ 1 ,
n = 1 T A 1 = ⟨ A T 1 , 1 ⟩ ≤ ∥ A T 1 ∥ 2 ∥ 1 ∥ 2 ≤ ∥ 1 ∥ 2 2 = n . n=1^{\mathsf{T}}A1=\langle A^{\mathsf{T}}1,1\rangle\le\lVert A^{\mathsf{T}}1\rVert_2\lVert1\rVert_2\le\lVert1\rVert_2^2=n. n = 1 T A 1 = ⟨ A T 1 , 1 ⟩ ≤ ∥ A T 1 ∥ 2 ∥ 1 ∥ 2 ≤ ∥ 1 ∥ 2 2 = n .
Thus both inequalities are equalities. Equality in the Cauchy–Schwarz inequality, together with ∥ A T 1 ∥ 2 = ∥ 1 ∥ 2 \lVert A^{\mathsf{T}}1\rVert_2=\lVert1\rVert_2 ∥ A T 1 ∥ 2 = ∥ 1 ∥ 2 , gives A T 1 = 1 A^{\mathsf{T}}1=1 A T 1 = 1 . For x ⊥ 1 x\perp1 x ⊥ 1 , ⟨ A x , 1 ⟩ = ⟨ x , A T 1 ⟩ = 0 \langle Ax,1\rangle=\langle x,A^{\mathsf{T}}1\rangle=0 ⟨ A x , 1 ⟩ = ⟨ x , A T 1 ⟩ = 0 .
⟨1⟩2. C n = { J / n + U B U T : B ∈ R ( n − 1 ) × ( n − 1 ) , ∥ B ∥ 2 ≤ 1 } \mathcal{C}_n=\{J/n+UBU^{\mathsf{T}}:B\in\mathbb{R}^{(n-1)\times(n-1)},\ \lVert B\rVert_2\le1\} C n = { J / n + U B U T : B ∈ R ( n − 1 ) × ( n − 1 ) , ∥ B ∥ 2 ≤ 1 } , where U U U is an orthonormal basis of 1 ⊥ 1^\perp 1 ⊥ .
Proof: Let A ∈ C n A\in\mathcal{C}_n A ∈ C n . By ⟨1⟩1, A A A preserves R 1 \mathbb{R}1 R 1 and 1 ⊥ 1^\perp 1 ⊥ , so A = J / n + U ( U T A U ) U T A=J/n+U(U^{\mathsf{T}}AU)U^{\mathsf{T}} A = J / n + U ( U T A U ) U T , and ∥ U T A U ∥ 2 ≤ ∥ A ∥ 2 ≤ 1 \lVert U^{\mathsf{T}}AU\rVert_2\le\lVert A\rVert_2\le1 ∥ U T A U ∥ 2 ≤ ∥ A ∥ 2 ≤ 1 . Conversely, J / n + U B U T J/n+UBU^{\mathsf{T}} J / n + U B U T fixes 1 1 1 , and it is block diagonal in the basis [ 1 / n , U ] [1/\sqrt{n},U] [ 1/ n , U ] with blocks 1 1 1 and B B B . Thus its norm is at most one.
⟨1⟩3. For Z ∈ R ( n − 1 ) × ( n − 1 ) Z\in\mathbb{R}^{(n-1)\times(n-1)} Z ∈ R ( n − 1 ) × ( n − 1 ) , the matrix J / n + U Z U T J/n+UZU^{\mathsf{T}} J / n + U Z U T is in O 1 ( n ) \mathcal{O}_1(n) O 1 ( n ) if and only if Z ∈ O ( n − 1 ) Z\in O(n-1) Z ∈ O ( n − 1 ) .
Proof: Because U T 1 = 0 U^{\mathsf{T}}1=0 U T 1 = 0 , we have ( J / n + U Z U T ) T ( J / n + U Z U T ) = J / n + U Z T Z U T (J/n+UZU^{\mathsf{T}})^{\mathsf{T}}(J/n+UZU^{\mathsf{T}})=J/n+UZ^{\mathsf{T}}ZU^{\mathsf{T}} ( J / n + U Z U T ) T ( J / n + U Z U T ) = J / n + U Z T Z U T . This matrix equals I = J / n + U U T I=J/n+UU^{\mathsf{T}} I = J / n + U U T if and only if Z T Z = I Z^{\mathsf{T}}Z=I Z T Z = I .
⟨1⟩4. An element A ∈ C n A\in\mathcal{C}_n A ∈ C n is collapse-free if and only if A ∈ O 1 ( n ) A\in\mathcal{O}_1(n) A ∈ O 1 ( n ) .
Proof: Write A = J / n + U B U T A=J/n+UBU^{\mathsf{T}} A = J / n + U B U T as in ⟨1⟩2. For x = U y ⊥ 1 x=Uy\perp1 x = U y ⊥ 1 , ∥ A x ∥ 2 = ∥ B y ∥ 2 \lVert Ax\rVert_2=\lVert By\rVert_2 ∥ A x ∥ 2 = ∥ B y ∥ 2 and ∥ x ∥ 2 = ∥ y ∥ 2 . T h u s \lVert x\rVert_2=\lVert y\rVert_2. Thus ∥ x ∥ 2 = ∥ y ∥ 2 . T h u s A$ is collapse-free if and only if B B B is orthogonal, that is, by ⟨1⟩3, if and only if A ∈ O 1 ( n ) A\in\mathcal{O}_1(n) A ∈ O 1 ( n ) .
⟨1⟩5. C n = conv O 1 ( n ) \mathcal{C}_n=\operatorname{conv}\mathcal{O}_1(n) C n = conv O 1 ( n ) .
Proof: The set C n \mathcal{C}_n C n is convex, and it contains O 1 ( n ) \mathcal{O}_1(n) O 1 ( n ) . Conversely, let A = J / n + U B U T ∈ C n A=J/n+UBU^{\mathsf{T}}\in\mathcal{C}_n A = J / n + U B U T ∈ C n . By Lemma D.6, B = ∑ s λ s Z s B=\sum_s\lambda_sZ_s B = ∑ s λ s Z s with Z s ∈ O ( n − 1 ) Z_s\in O(n-1) Z s ∈ O ( n − 1 ) , λ s ≥ 0 \lambda_s\ge0 λ s ≥ 0 , and ∑ s λ s = 1 \sum_s\lambda_s=1 ∑ s λ s = 1 . Thus A = ∑ s λ s ( J / n + U Z s U T ) A=\sum_s\lambda_s(J/n+UZ_sU^{\mathsf{T}}) A = ∑ s λ s ( J / n + U Z s U T ) , and each term is in O 1 ( n ) \mathcal{O}_1(n) O 1 ( n ) by ⟨1⟩3.
⟨1⟩6. B n = C n ∩ R ≥ 0 n × n \mathcal{B}_n=\mathcal{C}_n\cap\mathbb{R}_{\ge0}^{n\times n} B n = C n ∩ R ≥ 0 n × n .
Proof: By (F1), B n ⊂ C n \mathcal{B}_n\subset\mathcal{C}_n B n ⊂ C n . Conversely, if A ≥ 0 A\ge0 A ≥ 0 , A 1 = 1 A1=1 A 1 = 1 , and ∥ A ∥ 2 ≤ 1 \lVert A\rVert_2\le1 ∥ A ∥ 2 ≤ 1 , then A T 1 = 1 A^{\mathsf{T}}1=1 A T 1 = 1 by ⟨1⟩1, so A ∈ B n A\in\mathcal{B}_n A ∈ B n .
⟨1⟩7. B n ∩ O 1 ( n ) = S n \mathcal{B}_n\cap\mathcal{O}_1(n)=\mathfrak{S}_n B n ∩ O 1 ( n ) = S n .
Proof: Let A ∈ B n ∩ O 1 ( n ) A\in\mathcal{B}_n\cap\mathcal{O}_1(n) A ∈ B n ∩ O 1 ( n ) . Then ∥ A ∥ F 2 = tr ( A T A ) = n \lVert A\rVert_{\mathrm{F}}^2=\operatorname{tr}(A^{\mathsf{T}}A)=n ∥ A ∥ F 2 = tr ( A T A ) = n . Also 0 ≤ A i j ≤ 1 0\le A_{ij}\le1 0 ≤ A ij ≤ 1 , so ∑ i j A i j 2 ≤ ∑ i j A i j = n \sum_{ij}A_{ij}^2\le\sum_{ij}A_{ij}=n ∑ ij A ij 2 ≤ ∑ ij A ij = n , with equality if and only if every entry is 0 or 1. A doubly stochastic matrix with entries in { 0 , 1 } \{0,1\} { 0 , 1 } is a permutation matrix. Conversely, permutation matrices are orthogonal and doubly stochastic.
⟨1⟩8. For H ∈ B n H\in\mathcal{B}_n H ∈ B n , σ 2 ( H ) = 1 \sigma_2(H)=1 σ 2 ( H ) = 1 if and only if H H H is partly decomposable.
⟨2⟩1. If H H H is partly decomposable, then σ 2 ( H ) = 1 \sigma_2(H)=1 σ 2 ( H ) = 1 .
Proof: Let R , S \mathcal{R},\mathcal{S} R , S be as in the definition, and let k : = ∣ R ∣ = ∣ S ∣ k:=|\mathcal{R}|=|\mathcal{S}| k := ∣ R ∣ = ∣ S ∣ . Let x : = 1 S / k − 1 S c / ( n − k ) x:=1_{\mathcal{S}}/k-1_{\mathcal{S}^c}/(n-k) x := 1 S / k − 1 S c / ( n − k ) , so x ⊥ 1 x\perp1 x ⊥ 1 . For i ∈ R i\in\mathcal{R} i ∈ R , row i i i is supported in S \mathcal{S} S and sums to one, so ( H x ) i = 1 / k (Hx)_i=1/k ( H x ) i = 1/ k . For i ∉ R i\notin\mathcal{R} i ∈ / R , row i i i is supported in S c \mathcal{S}^c S c , so ( H x ) i = − 1 / ( n − k ) (Hx)_i=-1/(n-k) ( H x ) i = − 1/ ( n − k ) . Thus
∥ H x ∥ 2 2 = k k 2 + n − k ( n − k ) 2 = ∥ x ∥ 2 2 , \lVert Hx\rVert_2^2=\frac{k}{k^2}+\frac{n-k}{(n-k)^2}=\lVert x\rVert_2^2, ∥ H x ∥ 2 2 = k 2 k + ( n − k ) 2 n − k = ∥ x ∥ 2 2 ,
so σ 2 ( H ) ≥ 1 \sigma_2(H)\ge1 σ 2 ( H ) ≥ 1 , and σ 2 ( H ) ≤ 1 \sigma_2(H)\le1 σ 2 ( H ) ≤ 1 by (F1).
⟨2⟩2. If σ 2 ( H ) = 1 \sigma_2(H)=1 σ 2 ( H ) = 1 , then H H H is partly decomposable.
⟨3⟩1. There is x ⊥ 1 x \perp1 x ⊥ 1 , x ≠ 0 x \ne0 x = 0 , with H T H x = x H^{\mathsf{T}}Hx=x H T H x = x .
Proof: By compactness, there is a unit vector x ⊥ 1 x \perp1 x ⊥ 1 with ∥ H x ∥ 2 = 1 \lVert Hx\rVert_2=1 ∥ H x ∥ 2 = 1 . By (F1), I − H T H I-H^{\mathsf{T}}H I − H T H is positive semidefinite, and ⟨ ( I − H T H ) x , x ⟩ = 0 \langle(I-H^{\mathsf{T}}H)x,x\rangle=0 ⟨( I − H T H ) x , x ⟩ = 0 . Thus ( I − H T H ) x = 0 (I-H^{\mathsf{T}}H)x=0 ( I − H T H ) x = 0 .
⟨3⟩2. The matrix N : = H T H N:=H^{\mathsf{T}}H N := H T H is reducible.
Proof: N N N is symmetric, nonnegative, and doubly stochastic, so its spectral radius is 1 1 1 , with eigenvector 1 1 1 . By ⟨3⟩1, the eigenvalue 1 1 1 is not simple. By Theorem D.3 (a), N N N is not irreducible.
⟨3⟩3. There is a nonempty proper subset S ⊂ [ n ] \mathcal{S}\subset[n] S ⊂ [ n ] such that no row of H H H has entries in both S \mathcal{S} S and S c \mathcal{S}^{c} S c .
Proof: By ⟨3⟩2 and Theorem D.3 (b), there is a nonempty proper S \mathcal{S} S with N j k = ∑ i H i j H i k = 0 N_{jk}=\sum_i H_{ij}H_{ik}=0 N j k = ∑ i H ij H ik = 0 for j ∈ S j\in\mathcal{S} j ∈ S and k ∉ S k\notin\mathcal{S} k ∈ / S . All terms are nonnegative, so H i j H i k = 0 H_{ij}H_{ik}=0 H ij H ik = 0 for every i i i .
⟨3⟩4. Q.E.D.
Proof: Each row of H H H sums to one, so by ⟨3⟩3 it is supported either in S \mathcal{S} S or in S c \mathcal{S}^{c} S c . Let R \mathcal{R} R be the set of rows supported in S \mathcal{S} S . If we sum the columns in S \mathcal{S} S , we get
∣ S ∣ = ∑ j ∈ S ∑ i H i j = ∑ i ∈ R ∑ j ∈ S H i j = ∣ R ∣ . |\mathcal{S}|=\sum_{j\in\mathcal{S}}\sum_i H_{ij}=\sum_{i\in\mathcal{R}}\sum_{j\in\mathcal{S}}H_{ij}=|\mathcal{R}|. ∣ S ∣ = j ∈ S ∑ i ∑ H ij = i ∈ R ∑ j ∈ S ∑ H ij = ∣ R ∣.
Thus 0 < ∣ R ∣ = ∣ S ∣ < n 0<|\mathcal{R}|=|\mathcal{S}|<n 0 < ∣ R ∣ = ∣ S ∣ < n . By construction H i j = 0 H_{ij}=0 H ij = 0 if i ∈ R i\in\mathcal{R} i ∈ R and j ∉ S j\notin\mathcal{S} j ∈ / S , or if i ∉ R i\notin\mathcal{R} i ∈ / R and j ∈ S j\in\mathcal{S} j ∈ S .
⟨2⟩3. Q.E.D.
Proof: Steps ⟨2⟩1 and ⟨2⟩2 give the equivalence. A positive matrix is not partly decomposable, so σ 2 < 1 \sigma_2<1 σ 2 < 1 on B n ∘ \mathcal{B}_n^\circ B n ∘ .
⟨1⟩9. Assume: H ∈ B n H\in\mathcal{B}_n H ∈ B n , σ n ( H ) ≥ 1 − ϑ \sigma_n(H)\ge1-\vartheta σ n ( H ) ≥ 1 − ϑ , and 4 n ϑ < 1 4n\vartheta<1 4 n ϑ < 1 . Prove: ϵ π ( H ) ≤ 4 n ϑ \epsilon_\pi(H)\le4n\vartheta ϵ π ( H ) ≤ 4 n ϑ for some π \pi π .
⟨2⟩1.
∑ i j H i j ( 1 − H i j ) ≤ 2 n ϑ . \sum_{ij}H_{ij}(1-H_{ij})\le2n\vartheta. ij ∑ H ij ( 1 − H ij ) ≤ 2 n ϑ .
Proof: We have ∥ H ∥ F 2 = ∑ k σ k ( H ) 2 ≥ n ( 1 − ϑ ) 2 ≥ n ( 1 − 2 ϑ ) \lVert H\rVert_F^2=\sum_k\sigma_k(H)^2\ge n(1-\vartheta)^2\ge n(1-2\vartheta) ∥ H ∥ F 2 = ∑ k σ k ( H ) 2 ≥ n ( 1 − ϑ ) 2 ≥ n ( 1 − 2 ϑ ) . Also ∥ H ∥ F 2 = ∑ i j H i j − ∑ i j H i j ( 1 − H i j ) = n − ∑ i j H i j ( 1 − H i j ) \lVert H\rVert_F^2=\sum_{ij}H_{ij}-\sum_{ij}H_{ij}(1-H_{ij})=n-\sum_{ij}H_{ij}(1-H_{ij}) ∥ H ∥ F 2 = ∑ ij H ij − ∑ ij H ij ( 1 − H ij ) = n − ∑ ij H ij ( 1 − H ij ) .
⟨2⟩2. The entries with H i j ≤ 1 2 H_{ij}\le\frac12 H ij ≤ 2 1 have a sum of at most 4 n ϑ < 1 4n\vartheta<1 4 n ϑ < 1 .
Proof: These entries satisfy H i j ( 1 − H i j ) ≥ H i j / 2 H_{ij}(1-H_{ij})\ge H_{ij}/2 H ij ( 1 − H ij ) ≥ H ij /2 . Apply ⟨2⟩1.
⟨2⟩3. Each row and each column of H H H has exactly one entry larger than 1 2 \frac12 2 1 .
Proof: If a row has no such entry, then all its entries are counted in ⟨2⟩2, and their sum is 1 > 4 n ϑ 1>4n\vartheta 1 > 4 n ϑ . This is a contradiction. Two entries larger than 1 2 \frac12 2 1 cannot be in one row, because the row sums to one. The same arguments apply to columns.
⟨2⟩4. Let: π ( i ) \pi(i) π ( i ) be the column of the large entry of row i i i . Then π \pi π is a permutation.
Proof: If π ( i ) = π ( i ′ ) \pi(i)=\pi(i') π ( i ) = π ( i ′ ) with i ≠ i ′ i\ne i' i = i ′ , then column π ( i ) \pi(i) π ( i ) has two entries larger than 1 2 \frac12 2 1 . This contradicts ⟨2⟩3.
⟨2⟩5. Q.E.D.
Proof: By ⟨2⟩3, every entry off π \pi π is at most 1 2 \frac12 2 1 , so ⟨2⟩2 counts it. Thus ϵ π ( H ) ≤ 4 n ϑ \epsilon_\pi(H)\le4n\vartheta ϵ π ( H ) ≤ 4 n ϑ .
⟨1⟩10. Q.E.D.
Proof. Steps ⟨ 1 ⟩ 1 \langle1\rangle_1 ⟨ 1 ⟩ 1 , ⟨ 1 ⟩ 4 \langle1\rangle_4 ⟨ 1 ⟩ 4 , ⟨ 1 ⟩ 5 \langle1\rangle_5 ⟨ 1 ⟩ 5 , and ⟨ 1 ⟩ 6 \langle1\rangle_6 ⟨ 1 ⟩ 6 give (a); ⟨ 1 ⟩ 7 \langle1\rangle_7 ⟨ 1 ⟩ 7 gives (b); ⟨ 1 ⟩ 8 \langle1\rangle_8 ⟨ 1 ⟩ 8 gives (c); and ⟨ 1 ⟩ 9 \langle1\rangle_9 ⟨ 1 ⟩ 9 gives (d).
Proofs for Section 4
Proof of Lemma 4.1. ⟨ 1 ⟩ 1 \langle1\rangle_1 ⟨ 1 ⟩ 1 . Φ ( W ) = Φ ( W ′ ) \Phi(W) = \Phi(W') Φ ( W ) = Φ ( W ′ ) if and only if W − W ′ ∈ s W-W' \in\mathfrak{s} W − W ′ ∈ s .
Proof: If W ′ = W + a 1 T + 1 b T W' = W + a1^{\mathsf T} + 1b^{\mathsf T} W ′ = W + a 1 T + 1 b T , then exp W ′ = diag ( e a ) exp ( W ) diag ( e b ) \exp W' = \operatorname{diag}(e^a)\exp(W)\operatorname{diag}(e^b) exp W ′ = diag ( e a ) exp ( W ) diag ( e b ) . By the uniqueness in Theorem D.2 (a), this matrix has the same doubly stochastic scaling as exp W \exp W exp W . Conversely, if Φ ( W ) = Φ ( W ′ ) \Phi(W) = \Phi(W') Φ ( W ) = Φ ( W ′ ) , then diag ( e α ) e W diag ( e β ) = diag ( e α ′ ) e W ′ diag ( e β ′ ) \operatorname{diag}(e^\alpha)e^W\operatorname{diag}(e^\beta) = \operatorname{diag}(e^{\alpha'})e^{W'}\operatorname{diag}(e^{\beta'}) diag ( e α ) e W diag ( e β ) = diag ( e α ′ ) e W ′ diag ( e β ′ ) . The entrywise logarithm gives W − W ′ = ( α ′ − α ) 1 T + 1 ( β ′ − β ) T ∈ s W-W' = (\alpha'-\alpha)1^{\mathsf T} + 1(\beta'-\beta)^{\mathsf T} \in\mathfrak{s} W − W ′ = ( α ′ − α ) 1 T + 1 ( β ′ − β ) T ∈ s .
⟨ 1 ⟩ 2 \langle1\rangle_2 ⟨ 1 ⟩ 2 . Φ \Phi Φ is surjective onto B n ∘ \mathcal{B}_n^\circ B n ∘ .
Proof: For H ∈ B n ∘ H \in\mathcal{B}_n^\circ H ∈ B n ∘ , the matrix exp ( log H ) = H \exp(\log H) = H exp ( log H ) = H is doubly stochastic, so Φ ( log H ) = H \Phi(\log H) = H Φ ( log H ) = H .
⟨ 1 ⟩ 3 \langle1\rangle_3 ⟨ 1 ⟩ 3 . Φ \Phi Φ is smooth, and we can choose the scaling vectors α ( W ) , β ( W ) \alpha(W), \beta(W) α ( W ) , β ( W ) smoothly.
⟨ 2 ⟩ 1 \langle2\rangle_1 ⟨ 2 ⟩ 1 . Let: M ( W , α , β ) : = diag ( e α ) e W diag ( e β ) M(W,\alpha,\beta) := \operatorname{diag}(e^\alpha)e^W\operatorname{diag}(e^\beta) M ( W , α , β ) := diag ( e α ) e W diag ( e β ) and F ( W , α , β ) : = ( M 1 − 1 , M T 1 − 1 ) F(W,\alpha,\beta) := (M1-1,M^{\mathsf T}1-1) F ( W , α , β ) := ( M 1 − 1 , M T 1 − 1 ) . At a zero of F F F , the Jacobian of F F F with respect to ( α , β ) (\alpha,\beta) ( α , β ) is ( I H H T I ) \begin{pmatrix} I & H \\ H^{\mathsf T} & I \end{pmatrix} ( I H T H I ) , where H = M H=M H = M .
Proof: ∂ ( M 1 ) i / ∂ α k = ( M 1 ) i \partial(M1)_i/\partial\alpha_k = (M1)_i ∂ ( M 1 ) i / ∂ α k = ( M 1 ) i if k = i k=i k = i and 0 0 0 otherwise, and ∂ ( M 1 ) i / ∂ β j = M i j \partial(M1)_i/\partial\beta_j = M_{ij} ∂ ( M 1 ) i / ∂ β j = M ij . The column sums are similar. At a zero of F F F , M 1 = M T 1 = 1 M1=M^{\mathsf T}1=1 M 1 = M T 1 = 1 .
⟨ 2 ⟩ 2 \langle2\rangle_2 ⟨ 2 ⟩ 2 . The kernel of this Jacobian is the line { ( s 1 , − s 1 ) : s ∈ R } \{(s1,-s1):s\in\mathbb{R}\} {( s 1 , − s 1 ) : s ∈ R } .
Proof: A pair ( a , b ) (a,b) ( a , b ) in the kernel satisfies a = − H b a=-Hb a = − H b and b = − H T a = H T H b b=-H^{\mathsf T}a=H^{\mathsf T}Hb b = − H T a = H T H b . By Proposition 3.4 (c), σ 2 ( H ) < 1 \sigma_2(H)<1 σ 2 ( H ) < 1 , so the eigenvalue 1 1 1 of H T H H^{\mathsf T}H H T H is simple, with eigenvector 1 1 1 . Thus b = s 1 b=s1 b = s 1 and a = − s 1 a=-s1 a = − s 1 .
⟨ 2 ⟩ 3 \langle2\rangle_3 ⟨ 2 ⟩ 3 . On the slice { ∑ j β j = 0 } \{\sum_j\beta_j=0\} { ∑ j β j = 0 } , the Jacobian is a bijection onto the hyperplane E : = { ( r , c ) ∈ R 2 n : ∑ i r i = ∑ j c j } E:=\{(r,c)\in\mathbb{R}^{2n}:\sum_i r_i=\sum_j c_j\} E := {( r , c ) ∈ R 2 n : ∑ i r i = ∑ j c j } .
Proof: The total of the row sums of M M M equals the total of its column sums, so F F F takes values in E E E , and the Jacobian maps into E E E . The kernel line of ⟨ 2 ⟩ 2 \langle2\rangle_2 ⟨ 2 ⟩ 2 meets the slice only in 0 0 0 . Thus the Jacobian is injective on the slice, which has dimension 2 n − 1 = dim E 2n-1=\dim E 2 n − 1 = dim E .
⟨ 2 ⟩ 4 \langle2\rangle_4 ⟨ 2 ⟩ 4 . Q.E.D.
Proof: Apply the implicit function theorem to F : R n × n × ( R n × { ∑ j β j = 0 } ) → E F:\mathbb{R}^{n\times n}\times(\mathbb{R}^n\times\{\sum_j\beta_j=0\})\to E F : R n × n × ( R n × { ∑ j β j = 0 }) → E , with ⟨ 2 ⟩ 3 \langle2\rangle_3 ⟨ 2 ⟩ 3 . This gives smooth α ( W ) , β ( W ) \alpha(W),\beta(W) α ( W ) , β ( W ) , and thus Φ ( W ) = M ( W , α ( W ) , β ( W ) ) \Phi(W)=M(W,\alpha(W),\beta(W)) Φ ( W ) = M ( W , α ( W ) , β ( W )) is smooth.
⟨ 1 ⟩ 4 \langle1\rangle_4 ⟨ 1 ⟩ 4 . The Frobenius-orthogonal projection onto T \mathcal{T} T is ξ ↦ Q ξ Q \xi\mapsto Q\xi Q ξ ↦ Q ξ Q .
Proof: The matrix Q ξ Q Q\xi Q Q ξ Q has zero row sums and zero column sums. Also, ξ − Q ξ Q = 1 n J ξ + 1 n ξ J − 1 n 2 J ξ J \xi-Q\xi Q=\frac{1}{n}J\xi+\frac{1}{n}\xi J-\frac{1}{n^2}J\xi J ξ − Q ξ Q = n 1 J ξ + n 1 ξ J − n 2 1 J ξ J , and each of the three terms is in s = T ⊥ \mathfrak{s}=\mathcal{T}^{\perp} s = T ⊥ .
⟨ 1 ⟩ 5 \langle1\rangle_5 ⟨ 1 ⟩ 5 . Φ ∣ T \Phi|_{\mathcal{T}} Φ ∣ T is a diffeomorphism onto B n ∘ \mathcal{B}_n^\circ B n ∘ , with inverse H ↦ Q ( log H ) Q H\mapsto Q(\log H)Q H ↦ Q ( log H ) Q .
Proof: For W ∈ T W\in\mathcal{T} W ∈ T , log Φ ( W ) = W + α 1 T + 1 β T \log\Phi(W)=W+\alpha1^{\mathsf T}+1\beta^{\mathsf T} log Φ ( W ) = W + α 1 T + 1 β T . By ⟨ 1 ⟩ 4 \langle1\rangle_4 ⟨ 1 ⟩ 4 , Q ( log Φ ( W ) ) Q = Q W Q = W Q(\log\Phi(W))Q=QWQ=W Q ( log Φ ( W )) Q = Q W Q = W . For H ∈ B n ∘ H\in\mathcal{B}_n^\circ H ∈ B n ∘ , log H − Q ( log H ) Q ∈ s \log H-Q(\log H)Q\in\mathfrak{s} log H − Q ( log H ) Q ∈ s by ⟨ 1 ⟩ 4 \langle1\rangle_4 ⟨ 1 ⟩ 4 . Thus ⟨ 1 ⟩ 1 \langle1\rangle_1 ⟨ 1 ⟩ 1 and ⟨ 1 ⟩ 2 \langle1\rangle_2 ⟨ 1 ⟩ 2 give Φ ( Q ( log H ) Q ) = Φ ( log H ) = H \Phi(Q(\log H)Q)=\Phi(\log H)=H Φ ( Q ( log H ) Q ) = Φ ( log H ) = H . Both maps are smooth by ⟨ 1 ⟩ 3 \langle1\rangle_3 ⟨ 1 ⟩ 3 .
⟨ 1 ⟩ 6 \langle1\rangle_6 ⟨ 1 ⟩ 6 . If W k ∈ T W_k\in\mathcal{T} W k ∈ T and Φ ( W k ) → P π \Phi(W_k)\to P_\pi Φ ( W k ) → P π , then ∥ W k ∥ ∞ → ∞ \lVert W_k\rVert_\infty\to\infty ∥ W k ∥ ∞ → ∞ .
Proof: Assume the opposite. Then a subsequence satisfies ∥ W k ∥ ∞ ≤ M \lVert W_k\rVert_\infty\le M ∥ W k ∥ ∞ ≤ M for some M M M , and Theorem 3.2 (d) gives δ ( Φ ( W k ) ) ≥ e − 4 M / n \delta(\Phi(W_k))\ge e^{-4M/n} δ ( Φ ( W k )) ≥ e − 4 M / n on this subsequence. But P π P_\pi P π has zero entries because n ≥ 2 n\ge2 n ≥ 2 , so δ ( Φ ( W k ) ) → 0 \delta(\Phi(W_k))\to0 δ ( Φ ( W k )) → 0 . This is a contradiction.
⟨ 1 ⟩ 7 \langle1\rangle_7 ⟨ 1 ⟩ 7 . Q.E.D.
Proof. By ⟨1⟩1–⟨1⟩3, ⟨1⟩5, and ⟨1⟩6.
Proof of Lemma 4.2. ⟨1⟩1. d Φ W ( V ) = Π H ( H ⊙ V ) d\Phi_W(V)=\Pi_H(H\odot V) d Φ W ( V ) = Π H ( H ⊙ V ) .
⟨2⟩1. Let: H ( t ) : = Φ ( W + t V ) H(t):=\Phi(W+tV) H ( t ) := Φ ( W + t V ) . Then H ˙ ( 0 ) ∈ H ⊙ V + H ⊙ s \dot{H}(0)\in H\odot V+H\odot\mathfrak{s} H ˙ ( 0 ) ∈ H ⊙ V + H ⊙ s .
Proof. By Lemma 4.1 (step ⟨1⟩3 of its proof), log H ( t ) = W + t V + α ( t ) 1 ⊤ + 1 β ( t ) ⊤ \log H(t)=W+tV+\alpha(t)1^\top+1\beta(t)^\top log H ( t ) = W + t V + α ( t ) 1 ⊤ + 1 β ( t ) ⊤ with smooth α , β \alpha,\beta α , β . Differentiate at t = 0 t=0 t = 0 : H ˙ ( 0 ) = H ⊙ ( V + α ˙ 1 ⊤ + 1 β ˙ ⊤ ) \dot{H}(0)=H\odot(V+\dot{\alpha}1^\top+1\dot{\beta}^\top) H ˙ ( 0 ) = H ⊙ ( V + α ˙ 1 ⊤ + 1 β ˙ ⊤ ) .
⟨2⟩2. H ˙ ( 0 ) ∈ T \dot{H}(0)\in\mathcal{T} H ˙ ( 0 ) ∈ T .
Proof. H ( t ) ∈ B n H(t)\in\mathcal{B}_n H ( t ) ∈ B n for all t t t , so the row sums and the column sums of H ˙ ( 0 ) \dot{H}(0) H ˙ ( 0 ) are zero.
⟨2⟩3. Q.E.D.
Proof. By Lemma E.1(b), the only point of H ⊙ V + H ⊙ s H\odot V+H\odot\mathfrak{s} H ⊙ V + H ⊙ s in T \mathcal{T} T is Π H ( H ⊙ V ) \Pi_H(H\odot V) Π H ( H ⊙ V ) .
⟨1⟩2. g H ( ζ , H ⊙ θ ) = ⟨ ζ , θ ⟩ g_H(\zeta,H\odot\theta)=\langle\zeta,\theta\rangle g H ( ζ , H ⊙ θ ) = ⟨ ζ , θ ⟩ for all ζ , θ ∈ R n × n \zeta,\theta\in\mathbb{R}^{n\times n} ζ , θ ∈ R n × n .
Proof. ∑ i j ζ i j H i j θ i j / H i j = ⟨ ζ , θ ⟩ \sum_{ij}\zeta_{ij}H_{ij}\theta_{ij}/H_{ij}=\langle\zeta,\theta\rangle ∑ ij ζ ij H ij θ ij / H ij = ⟨ ζ , θ ⟩ .
⟨1⟩3. A H A_H A H is self-adjoint.
Proof. Let ξ , ζ ∈ R n × n \xi,\zeta\in\mathbb{R}^{n\times n} ξ , ζ ∈ R n × n , and write ζ = ζ T + ζ s \zeta=\zeta_{\mathcal{T}}+\zeta_{\mathfrak{s}} ζ = ζ T + ζ s with ζ T ∈ T \zeta_{\mathcal{T}}\in\mathcal{T} ζ T ∈ T and ζ s ∈ s \zeta_{\mathfrak{s}}\in\mathfrak{s} ζ s ∈ s . We use three facts: A H ξ ∈ T A_H\xi\in\mathcal{T} A H ξ ∈ T , step ⟨1⟩2, and the g H g_H g H -self-adjointness of the g H g_H g H -orthogonal projection Π H \Pi_H Π H . Then
⟨ A H ξ , ζ ⟩ = ⟨ A H ξ , ζ T ⟩ = g H ( Π H ( H ⊙ ξ ) , H ⊙ ζ T ) = g H ( H ⊙ ξ , Π H ( H ⊙ ζ T ) ) = ⟨ ξ , Π H ( H ⊙ ζ T ) ⟩ = ⟨ ξ , Π H ( H ⊙ ζ ) ⟩ = ⟨ ξ , A H ζ ⟩ . \begin{aligned}
\langle A_H\xi,\zeta\rangle
&=\langle A_H\xi,\zeta_{\mathcal{T}}\rangle
=g_H\bigl(\Pi_H(H\odot\xi),H\odot\zeta_{\mathcal{T}}\bigr)\\
&=g_H\bigl(H\odot\xi,\Pi_H(H\odot\zeta_{\mathcal{T}})\bigr)
=\langle\xi,\Pi_H(H\odot\zeta_{\mathcal{T}})\rangle\\
&=\langle\xi,\Pi_H(H\odot\zeta)\rangle
=\langle\xi,A_H\zeta\rangle.
\end{aligned} ⟨ A H ξ , ζ ⟩ = ⟨ A H ξ , ζ T ⟩ = g H ( Π H ( H ⊙ ξ ) , H ⊙ ζ T ) = g H ( H ⊙ ξ , Π H ( H ⊙ ζ T ) ) = ⟨ ξ , Π H ( H ⊙ ζ T )⟩ = ⟨ ξ , Π H ( H ⊙ ζ )⟩ = ⟨ ξ , A H ζ ⟩ .
The fifth equality holds because H ⊙ ζ s ∈ ker Π H H\odot\zeta_{\mathfrak{s}}\in\ker\Pi_H H ⊙ ζ s ∈ ker Π H (Lemma E.1(c)).
⟨1⟩4. A H A_H A H is positive semidefinite, with kernel s \mathfrak{s} s .
Proof. By ⟨1⟩2 and because Π H \Pi_H Π H is a g H g_H g H -orthogonal projection,
⟨ A H ξ , ξ ⟩ = g H ( Π H ( H ⊙ ξ ) , H ⊙ ξ ) = g H ( Π H ( H ⊙ ξ ) , Π H ( H ⊙ ξ ) ) ≥ 0. \langle A_H\xi,\xi\rangle
=g_H\bigl(\Pi_H(H\odot\xi),H\odot\xi\bigr)
=g_H\bigl(\Pi_H(H\odot\xi),\Pi_H(H\odot\xi)\bigr)\ge0. ⟨ A H ξ , ξ ⟩ = g H ( Π H ( H ⊙ ξ ) , H ⊙ ξ ) = g H ( Π H ( H ⊙ ξ ) , Π H ( H ⊙ ξ ) ) ≥ 0.
Equality holds if and only if H ⊙ ξ ∈ ker Π H = H ⊙ s H\odot\xi\in\ker\Pi_H=H\odot\mathfrak{s} H ⊙ ξ ∈ ker Π H = H ⊙ s , that is, ξ ∈ s \xi\in\mathfrak{s} ξ ∈ s .
⟨1⟩5. The restriction A H ∣ T A_H|_{\mathcal{T}} A H ∣ T is a positive definite bijection of T \mathcal{T} T , and g H ( ξ , ζ ) = ⟨ A H ∣ T − 1 ξ , ζ ⟩ g_H(\xi,\zeta)=\langle A_H|_{\mathcal{T}}^{-1}\xi,\zeta\rangle g H ( ξ , ζ ) = ⟨ A H ∣ T − 1 ξ , ζ ⟩ for ξ , ζ ∈ T \xi,\zeta\in\mathcal{T} ξ , ζ ∈ T .
Proof. A H A_H A H maps into T \mathcal{T} T , and T ∩ s = { 0 } \mathcal{T}\cap\mathfrak{s}=\{0\} T ∩ s = { 0 } . Thus A H ∣ T A_H|_{\mathcal{T}} A H ∣ T is injective by ⟨1⟩4, hence bijective and positive definite. Let ξ ∈ T \xi\in\mathcal{T} ξ ∈ T and θ : = A H ∣ T − 1 ξ \theta:=A_H|_{\mathcal{T}}^{-1}\xi θ := A H ∣ T − 1 ξ , so Π H ( H ⊙ θ ) = ξ \Pi_H(H\odot\theta)=\xi Π H ( H ⊙ θ ) = ξ . By Lemma E.1(b), H ⊙ θ = ξ + H ⊙ s H\odot\theta=\xi+H\odot s H ⊙ θ = ξ + H ⊙ s with s ∈ s s\in\mathfrak{s} s ∈ s , that is, θ = ξ ⊘ H + s \theta=\xi\oslash H+s θ = ξ ⊘ H + s . For ζ ∈ T \zeta\in\mathcal{T} ζ ∈ T , ⟨ θ , ζ ⟩ = ⟨ ξ ⊘ H , ζ ⟩ + ⟨ s , ζ ⟩ = g H ( ξ , ζ ) + 0 \langle\theta,\zeta\rangle=\langle\xi\oslash H,\zeta\rangle+\langle s,\zeta\rangle=g_H(\xi,\zeta)+0 ⟨ θ , ζ ⟩ = ⟨ ξ ⊘ H , ζ ⟩ + ⟨ s , ζ ⟩ = g H ( ξ , ζ ) + 0 .
⟨1⟩6. ∇ W ( f ∘ Φ ) ( W ) = A H ( ∇ f ( H ) ) = grad f ( H ) \nabla_W(f\circ\Phi)(W)=A_H(\nabla f(H))=\operatorname{grad}f(H) ∇ W ( f ∘ Φ ) ( W ) = A H ( ∇ f ( H )) = grad f ( H ) .
Proof. By the chain rule, ⟨1⟩1, and ⟨1⟩3, ∇ W ( f ∘ Φ ) = ( d Φ W ) ∗ ∇ f ( H ) = A H ∇ f ( H ) \nabla_W(f\circ\Phi)=(d\Phi_W)^*\nabla f(H)=A_H\nabla f(H) ∇ W ( f ∘ Φ ) = ( d Φ W ) ∗ ∇ f ( H ) = A H ∇ f ( H ) . By (6) , A H ∇ f ( H ) = Π H ( H ⊙ ∇ f ( H ) ) = grad f ( H ) A_H\nabla f(H)=\Pi_H(H\odot\nabla f(H))=\operatorname{grad}f(H) A H ∇ f ( H ) = Π H ( H ⊙ ∇ f ( H )) = grad f ( H ) .
⟨1⟩7. Q.E.D.
Proof. Step ⟨1⟩1 gives (a), ⟨1⟩3–⟨1⟩5 give (b), and ⟨1⟩6 gives (c).
Proof of Theorem 4.3. ⟨1⟩1. Let: B : = A H ∣ T B:=A_H|_{\mathcal{T}} B := A H ∣ T , the positive definite endomorphism of T \mathcal{T} T of Lemma 4.2(b). Then A H ξ = B ( Q ξ Q ) A_H\xi=B(Q\xi Q) A H ξ = B ( Q ξ Q ) for every ξ \xi ξ .
Proof. A H A_H A H is zero on s = T ⊥ \mathfrak{s}=\mathcal{T}^{\perp} s = T ⊥ , and ξ ↦ Q ξ Q \xi\mapsto Q\xi Q ξ ↦ Q ξ Q is the Frobenius projection onto T \mathcal{T} T (Lemma 4.1, step ⟨1⟩4).
⟨1⟩2. Under the logit gradient flow, H ˙ = − A H 2 ∇ f ( H ) = − A H grad f ( H ) \dot{H}=-A_H^2\nabla f(H)=-A_H\operatorname{grad}f(H) H ˙ = − A H 2 ∇ f ( H ) = − A H grad f ( H ) .
Proof. By Lemma 4.2 (c), W ˙ = − A H ∇ f ( H ) \dot{W}=-A_H\nabla f(H) W ˙ = − A H ∇ f ( H ) . By Lemma 4.2 (a), H ˙ = d Φ W ( W ˙ ) = A H W ˙ \dot{H}=\mathrm{d}\Phi_W(\dot{W})=A_H\dot{W} H ˙ = d Φ W ( W ˙ ) = A H W ˙ .
⟨1⟩3. The logit gradient flow is the gradient flow of f f f for G \mathcal{G} G .
Proof. The G \mathcal{G} G -gradient of f f f at H H H is the ξ ∈ T \xi\in\mathcal{T} ξ ∈ T with G H ( ξ , ζ ) = ⟨ ∇ f ( H ) , ζ ⟩ \mathcal{G}_H(\xi,\zeta)=\langle\nabla f(H),\zeta\rangle G H ( ξ , ζ ) = ⟨ ∇ f ( H ) , ζ ⟩ for all ζ ∈ T \zeta\in\mathcal{T} ζ ∈ T . Because G H ( ξ , ζ ) = ⟨ B − 2 ξ , ζ ⟩ \mathcal{G}_H(\xi,\zeta)=\langle B^{-2}\xi,\zeta\rangle G H ( ξ , ζ ) = ⟨ B − 2 ξ , ζ ⟩ , this condition says B − 2 ξ = Q ∇ f ( H ) Q B^{-2}\xi=Q\nabla f(H)Q B − 2 ξ = Q ∇ f ( H ) Q , that is, ξ = B 2 Q ∇ f ( H ) Q = A H 2 ∇ f ( H ) \xi=B^2Q\nabla f(H)Q=A_H^2\nabla f(H) ξ = B 2 Q ∇ f ( H ) Q = A H 2 ∇ f ( H ) by ⟨1⟩1. Thus ⟨1⟩2 says H ˙ = − ξ \dot{H}=-\xi H ˙ = − ξ . The tensor B B B depends smoothly on H H H and is positive definite, so G \mathcal{G} G is a Riemannian metric on B n ∘ \mathcal{B}_n^\circ B n ∘ .
⟨1⟩4. Under the straight-through flow, H ˙ = − grad f ( H ) \dot{H}=-\operatorname{grad}f(H) H ˙ = − grad f ( H ) , and this flow is the entropic mirror flow.
Proof. By Lemma 4.2 (a) and (c), H ˙ = A H ( − ∇ f ( H ) ) = − grad f ( H ) \dot{H}=A_H(-\nabla f(H))=-\operatorname{grad}f(H) H ˙ = A H ( − ∇ f ( H )) = − grad f ( H ) . The entropic mirror flow on B n \mathcal{B}_n B n has the mirror map log H \log H log H , and it reads d d t log H = − ∇ f ( H ) + s \frac{\mathrm{d}}{\mathrm{d}t}\log H=-\nabla f(H)+s d t d log H = − ∇ f ( H ) + s , where s ∈ s s\in\mathfrak{s} s ∈ s keeps H H H in B n \mathcal{B}_n B n . Thus H ˙ = H ⊙ ( − ∇ f ( H ) + s ) ∈ T \dot{H}=H\odot(-\nabla f(H)+s)\in\mathcal{T} H ˙ = H ⊙ ( − ∇ f ( H ) + s ) ∈ T . By Lemma E.1 (b), the only such vector is − Π H ( H ⊙ ∇ f ( H ) ) = − grad f ( H ) -\Pi_H(H\odot\nabla f(H))=-\operatorname{grad}f(H) − Π H ( H ⊙ ∇ f ( H )) = − grad f ( H ) .
⟨1⟩5. SK ( D 1 K D 2 ) = SK ( K ) \operatorname{SK}(D_1KD_2)=\operatorname{SK}(K) SK ( D 1 K D 2 ) = SK ( K ) for all positive diagonal D 1 , D 2 D_1,D_2 D 1 , D 2 and all K > 0 K>0 K > 0 .
Proof. If D ′ D' D ′ is doubly stochastic, then so is ( D 1 ′ D 1 − 1 ) ( D 1 K D 2 ) ( D 2 − 1 D 2 ′ ) (D'_1D_1^{-1})(D_1KD_2)(D_2^{-1}D'_2) ( D 1 ′ D 1 − 1 ) ( D 1 K D 2 ) ( D 2 − 1 D 2 ′ ) . Apply the uniqueness in Theorem D.2 (a).
⟨1⟩6. Φ ( W ( k ) − η ∇ f ( H ( k ) ) ) = SK ( H ( k ) ⊙ e − η ∇ f ( H ( k ) ) ) \Phi(W^{(k)}-\eta\nabla f(H^{(k)}))=\operatorname{SK}(H^{(k)}\odot e^{-\eta\nabla f(H^{(k)})}) Φ ( W ( k ) − η ∇ f ( H ( k ) )) = SK ( H ( k ) ⊙ e − η ∇ f ( H ( k ) ) ) .
Proof. Write H ( k ) = diag ( e − α ) exp ( W ( k ) ) diag ( e − β ) H^{(k)}=\operatorname{diag}(e^{-\alpha})\exp(W^{(k)})\operatorname{diag}(e^{-\beta}) H ( k ) = diag ( e − α ) exp ( W ( k ) ) diag ( e − β ) and Γ : = ∇ f ( H ( k ) ) \Gamma:=\nabla f(H^{(k)}) Γ := ∇ f ( H ( k ) ) . Then exp ( W ( k ) − η Γ ) = diag ( e − α ) ( H ( k ) ⊙ e − η Γ ) diag ( e − β ) \exp(W^{(k)}-\eta\Gamma)=\operatorname{diag}(e^{-\alpha})(H^{(k)}\odot e^{-\eta\Gamma})\operatorname{diag}(e^{-\beta}) exp ( W ( k ) − η Γ ) = diag ( e − α ) ( H ( k ) ⊙ e − η Γ ) diag ( e − β ) . Apply ⟨1⟩5.
⟨1⟩7. The minimizer of η ⟨ Γ , H ⟩ + KL ( H ∥ H ( k ) ) \eta\langle\Gamma,H\rangle+\operatorname{KL}(H\mathbin\Vert H^{(k)}) η ⟨ Γ , H ⟩ + KL ( H ∥ H ( k ) ) over B n \mathcal{B}_n B n is SK ( K ) \operatorname{SK}(K) SK ( K ) , where K : = H ( k ) ⊙ e − η Γ K:=H^{(k)}\odot e^{-\eta\Gamma} K := H ( k ) ⊙ e − η Γ .
⟨2⟩1. On B n \mathcal{B}_n B n , η ⟨ Γ , H ⟩ + KL ( H ∥ H ( k ) ) = KL ( H ∥ K ) + c o n s t \eta\langle\Gamma,H\rangle+\operatorname{KL}(H\mathbin\Vert H^{(k)})=\operatorname{KL}(H\mathbin\Vert K)+\mathrm{const} η ⟨ Γ , H ⟩ + KL ( H ∥ H ( k ) ) = KL ( H ∥ K ) + const .
Proof. Both sides equal ∑ i j H i j log ( H i j / K i j ) \sum_{ij}H_{ij}\log(H_{ij}/K_{ij}) ∑ ij H ij log ( H ij / K ij ) plus a constant, because ∑ i j H i j = n \sum_{ij}H_{ij}=n ∑ ij H ij = n on B n \mathcal{B}_n B n .
⟨2⟩2. The function H ↦ KL ( H ∥ K ) H\mapsto\operatorname{KL}(H\mathbin\Vert K) H ↦ KL ( H ∥ K ) has a unique minimizer on B n \mathcal{B}_n B n .
Proof. It is continuous and strictly convex on the compact convex set B n \mathcal{B}_n B n .
⟨2⟩3. The minimizer is in B n ∘ \mathcal{B}_n^\circ B n ∘ .
Proof. Let H ∈ B n H\in\mathcal{B}_n H ∈ B n with H i j = 0 H_{ij}=0 H ij = 0 . Choose a permutation π ′ \pi' π ′ with π ′ ( i ) = j \pi'(i)=j π ′ ( i ) = j , and move along ( 1 − s ) H + s P π ′ (1-s)H+sP_{\pi'} ( 1 − s ) H + s P π ′ , s ∈ [ 0 , 1 ] s\in[0,1] s ∈ [ 0 , 1 ] . Each cell that is zero in H H H and one in P π ′ P_{\pi'} P π ′ changes the objective by s log s + O ( s ) s\log s+O(s) s log s + O ( s ) . Each other cell changes it by O ( s ) O(s) O ( s ) . Thus the objective decreases for small s > 0 s>0 s > 0 , and H H H is not a minimizer.
⟨2⟩4. Q.E.D.
Proof. At the interior minimizer, the Lagrange conditions for the marginal constraints give log H i j − log K i j = a i + b j \log H_{ij}-\log K_{ij}=a_i+b_j log H ij − log K ij = a i + b j , that is, H = diag ( e a ) K diag ( e b ) H=\operatorname{diag}(e^a)K\operatorname{diag}(e^b) H = diag ( e a ) K diag ( e b ) (Csiszár [16 ] ). This matrix is doubly stochastic, so it is SK ( K ) \operatorname{SK}(K) SK ( K ) .
⟨1⟩8. R H ( k ) ( − η grad f ( H ( k ) ) ) = SK ( K ) R_{H^{(k)}}(-\eta\operatorname{grad}f(H^{(k)}))=\operatorname{SK}(K) R H ( k ) ( − η grad f ( H ( k ) )) = SK ( K ) .
Proof. By Lemma E.2 , grad f ( H ( k ) ) = H ( k ) ⊙ ( Γ − m ) \operatorname{grad}f(H^{(k)})=H^{(k)}\odot(\Gamma-m) grad f ( H ( k ) ) = H ( k ) ⊙ ( Γ − m ) with m = a 1 T + 1 b T ∈ s m=a\mathbf{1}^{\mathsf{T}}+\mathbf{1}b^{\mathsf{T}}\in\mathfrak{s} m = a 1 T + 1 b T ∈ s . Thus
H ( k ) ⊙ exp ( − η grad f ( H ( k ) ) ⊘ H ( k ) ) = H ( k ) ⊙ e − η Γ ⊙ e η m = diag ( e η a ) K diag ( e η b ) . H^{(k)}\odot\exp\left(-\eta\operatorname{grad}f(H^{(k)})\oslash H^{(k)}\right)=H^{(k)}\odot e^{-\eta\Gamma}\odot e^{\eta m}=\operatorname{diag}(e^{\eta a})K\operatorname{diag}(e^{\eta b}). H ( k ) ⊙ exp ( − η grad f ( H ( k ) ) ⊘ H ( k ) ) = H ( k ) ⊙ e − η Γ ⊙ e η m = diag ( e η a ) K diag ( e η b ) .
Apply ⟨1⟩5.
⟨1⟩9. R R R is a first-order retraction on B n ∘ \mathcal{B}_n^\circ B n ∘ .
Proof. R H ( t ξ ) = Φ ( log H + t ξ ⊙ H ) R_H(t\xi)=\Phi(\log H+t\,\xi\odot H) R H ( t ξ ) = Φ ( log H + t ξ ⊙ H ) is smooth in ( H , ξ ) (H,\xi) ( H , ξ ) by Lemma 4.1 , and it equals Φ ( log H ) = H \Phi(\log H)=H Φ ( log H ) = H at t = 0 t=0 t = 0 . By Lemma 4.2 (a), its derivative at t = 0 t=0 t = 0 is Π H ( H ⊙ ( ξ ⊘ H ) ) = Π H ( ξ ) = ξ \Pi_H(H\odot(\xi\oslash H))=\Pi_H(\xi)=\xi Π H ( H ⊙ ( ξ ⊘ H )) = Π H ( ξ ) = ξ for ξ ∈ T \xi\in\mathcal{T} ξ ∈ T .
⟨1⟩10. Q.E.D.
Proof: Steps ⟨1⟩2 and ⟨1⟩3 give (a), ⟨1⟩4 gives (b), and ⟨1⟩6–⟨1⟩9 give (c).
Proofs for Section 5
Proof of Lemma 5.1. ⟨1⟩1. Let: z : = ( a 1 , … , a n , b 1 , … , b n − 1 ) ∈ R 2 n − 1 z:=(a_1,\ldots,a_n,b_1,\ldots,b_{n-1})\in\mathbb{R}^{2n-1} z := ( a 1 , … , a n , b 1 , … , b n − 1 ) ∈ R 2 n − 1 , with the gauge b n : = 0 b_n:=0 b n := 0 . Let: X ∈ R n 2 × ( 2 n − 1 ) X\in\mathbb{R}^{n^2\times(2n-1)} X ∈ R n 2 × ( 2 n − 1 ) be the design matrix: the row of the cell ( i , j ) (i,j) ( i , j ) has the entry 1 1 1 in the columns of a i a_i a i and b j b_j b j (only in the column of a i a_i a i if j = n j=n j = n ), and 0 0 0 elsewhere. Let: y : = vec C y:=\operatorname{vec} C y := vec C and D : = diag ( ω ) D:=\operatorname{diag}(\omega) D := diag ( ω ) . Then ( X z ) i j = a i + b j (Xz)_{ij}=a_i+b_j ( X z ) ij = a i + b j , and the problem is min z ∥ D 1 / 2 ( y − X z ) ∥ 2 2 \min_z\lVert D^{1/2}(y-Xz)\rVert_2^2 min z ∥ D 1/2 ( y − X z ) ∥ 2 2 .
Proof: By the definitions. The gauge b n = 0 b_n=0 b n = 0 does not change the set of fitted values, because ( a + s 1 , b − s 1 ) (a+s\mathbf{1},b-s\mathbf{1}) ( a + s 1 , b − s 1 ) and ( a , b ) (a,b) ( a , b ) have the same fitted values.
⟨1⟩2. X X X has full column rank. Thus the minimizer z ⋆ = ( X T D X ) − 1 X T D y z^\star=(X^\mathsf{T}DX)^{-1}X^\mathsf{T}Dy z ⋆ = ( X T D X ) − 1 X T D y is unique, and the fitted values m = X z ⋆ m=Xz^\star m = X z ⋆ are unique.
Proof: If X z = 0 Xz=0 X z = 0 , then a i = − b j a_i=-b_j a i = − b j for all i , j i,j i , j , so all b j b_j b j are equal. Thus b = 0 b=0 b = 0 (because b n = 0 b_n=0 b n = 0 ), and a = 0 a=0 a = 0 .
⟨1⟩3. z ⋆ = ∑ S λ S z S z^\star=\sum_S\lambda_S z_S z ⋆ = ∑ S λ S z S , where S S S ranges over the ( 2 n − 1 ) (2n-1) ( 2 n − 1 ) -element sets of cells with det X S ≠ 0 \det X_S\ne0 det X S = 0 , z S z_S z S solves X S z = y S X_Sz=y_S X S z = y S , and
λ S = ω S det ( X S ) 2 ∑ S ′ ω S ′ det ( X S ′ ) 2 ≥ 0 , ∑ S λ S = 1. (26) \lambda_S=\frac{\omega_S\det(X_S)^2}{\sum_{S'}\omega_{S'}\det(X_{S'})^2}\ge0,\qquad\sum_S\lambda_S=1. \tag*{(26)} λ S = ∑ S ′ ω S ′ det ( X S ′ ) 2 ω S det ( X S ) 2 ≥ 0 , S ∑ λ S = 1. (26)
⟨2⟩1. z r ⋆ = det ( X T D X ( r ) ) / det ( X T D X ) z_r^\star=\det(X^\mathsf{T}DX^{(r)})/\det(X^\mathsf{T}DX) z r ⋆ = det ( X T D X ( r ) ) / det ( X T D X ) , where X ( r ) X^{(r)} X ( r ) is X X X with its r r r -th column replaced by y y y .
Proof: By Cramer’s rule (Theorem D.4 ), z r ⋆ = det ( N r ) / det ( X T D X ) z_r^\star=\det(N_r)/\det(X^\mathsf{T}DX) z r ⋆ = det ( N r ) / det ( X T D X ) , where N r N_r N r is X T D X X^\mathsf{T}DX X T D X with its r r r -th column replaced by X T D y X^\mathsf{T}Dy X T D y . This column is the r r r -th column of X T D X ( r ) X^\mathsf{T}DX^{(r)} X T D X ( r ) , and the other columns agree, so N r = X T D X ( r ) N_r=X^\mathsf{T}DX^{(r)} N r = X T D X ( r ) .
⟨2⟩2. det ( X T D X ( r ) ) = ∑ S ω S det ( X S ) det ( X S ( r ) ) \det(X^\mathsf{T}DX^{(r)})=\sum_S\omega_S\det(X_S)\det(X_S^{(r)}) det ( X T D X ( r ) ) = ∑ S ω S det ( X S ) det ( X S ( r ) ) and det ( X T D X ) = ∑ S ω S det ( X S ) 2 \det(X^\mathsf{T}DX)=\sum_S\omega_S\det(X_S)^2 det ( X T D X ) = ∑ S ω S det ( X S ) 2 .
Proof: The Cauchy–Binet formula (Theorem D.4 ).
⟨2⟩3. Q.E.D.
Proof: For S S S with det X S ≠ 0 \det X_S\ne0 det X S = 0 , Cramer’s rule for X S z = y S X_Sz=y_S X S z = y S gives ( z S ) r = det ( X S ( r ) ) / det ( X S ) (z_S)_r=\det(X_S^{(r)})/\det(X_S) ( z S ) r = det ( X S ( r ) ) / det ( X S ) . Insert this into ⟨2⟩2, and divide as in ⟨2⟩1. (A representation of this kind is classical; see Ben-Tal and Teboulle [10 ] .)
⟨1⟩4. det X S ≠ 0 \det X_S\ne0 det X S = 0 if and only if the cells of S S S form a spanning tree of the complete bipartite graph K n , n K_{n,n} K n , n .
Proof: View each cell ( i , j ) (i,j) ( i , j ) as the edge between the row vertex i i i and the column vertex j j j of K n , n K_{n,n} K n , n . This graph is connected and has 2 n 2n 2 n vertices. If we multiply the b b b -columns of X X X by − 1 -1 − 1 , then X T X^\mathsf{T} X T becomes the signed incidence matrix of K n , n K_{n,n} K n , n (edges oriented from rows to columns), without the row of the vertex b n b_n b n . This change multiplies each det X S \det X_S det X S by ± 1 \pm1 ± 1 . Apply Theorem D.5 .
⟨1⟩5. For every spanning tree S S S and every cell ( i , j ) (i,j) ( i , j ) , ∣ ( X z S ) i j ∣ ≤ ( 2 n − 1 ) ∥ C ∥ ∞ \lvert(Xz_S)_{ij}\rvert\le(2n-1)\lVert C\rVert_\infty ∣( X z S ) ij ∣ ≤ ( 2 n − 1 ) ∥ C ∥ ∞ .
Proof: The unique path in S S S from the row vertex i i i to the column vertex j j j alternates between rows and columns: i = i 0 i=i_0 i = i 0 , j 1 j_1 j 1 , i 1 i_1 i 1 , j 2 j_2 j 2 , … \ldots … , i k i_k i k , j k + 1 = j j_{k+1}=j j k + 1 = j . Its edges are the cells ( i r , j r + 1 ) (i_r,j_{r+1}) ( i r , j r + 1 ) for 0 ≤ r ≤ k 0\le r\le k 0 ≤ r ≤ k and ( i r , j r ) (i_r,j_r) ( i r , j r ) for 1 ≤ r ≤ k 1\le r\le k 1 ≤ r ≤ k , and all of them are in S S S . Because z S z_S z S interpolates C C C on S S S , a telescoping sum gives
a i + b j = ∑ r = 0 k ( a i r + b j r + 1 ) − ∑ r = 1 k ( a i r + b j r ) = ∑ r = 0 k C i r j r + 1 − ∑ r = 1 k C i r j r . (27) a_i+b_j=\sum_{r=0}^{k}(a_{i_r}+b_{j_{r+1}})-\sum_{r=1}^{k}(a_{i_r}+b_{j_r})=\sum_{r=0}^{k}C_{i_rj_{r+1}}-\sum_{r=1}^{k}C_{i_rj_r}. \tag*{(27)} a i + b j = r = 0 ∑ k ( a i r + b j r + 1 ) − r = 1 ∑ k ( a i r + b j r ) = r = 0 ∑ k C i r j r + 1 − r = 1 ∑ k C i r j r . (27)
This is a signed sum of 2 k + 1 2k+1 2 k + 1 entries of C C C . A path in a tree with 2 n 2n 2 n vertices has at most 2 n − 1 2n-1 2 n − 1 edges, so 2 k + 1 ≤ 2 n − 1 2k+1\le2n-1 2 k + 1 ≤ 2 n − 1 .
⟨1⟩6. ∥ m ∥ ∞ ≤ ( 2 n − 1 ) ∥ C ∥ ∞ \lVert m\rVert_\infty\le(2n-1)\lVert C\rVert_\infty ∥ m ∥ ∞ ≤ ( 2 n − 1 ) ∥ C ∥ ∞ .
Proof: By ⟨1⟩3 and ⟨1⟩4, m = X z ⋆ = ∑ S λ S X z S m=Xz^\star=\sum_S\lambda_S Xz_S m = X z ⋆ = ∑ S λ S X z S is a convex combination over spanning trees. Apply ⟨1⟩5.
⟨1⟩7. The constant 2 n − 1 2n-1 2 n − 1 cannot be made smaller.
Proof: Let S 0 S_0 S 0 be the Hamiltonian path r 1 , c 1 , r 2 , c 2 , … , r n , c n r_1,c_1,r_2,c_2,\ldots,r_n,c_n r 1 , c 1 , r 2 , c 2 , … , r n , c n through the row vertices r k r_k r k and the column vertices c k c_k c k . Its cells are ( r k , c k ) (r_k,c_k) ( r k , c k ) for 1 ≤ k ≤ n 1\le k\le n 1 ≤ k ≤ n and ( r k , c k − 1 ) (r_k,c_{k-1}) ( r k , c k − 1 ) for 2 ≤ k ≤ n 2\le k\le n 2 ≤ k ≤ n ; it is a spanning tree with 2 n − 1 2n-1 2 n − 1 cells. Let C = + 1 C=+1 C = + 1 on the cells ( r k , c k ) (r_k,c_k) ( r k , c k ) , C = − 1 C=-1 C = − 1 on the cells ( r k , c k − 1 ) (r_k,c_{k-1}) ( r k , c k − 1 ) , and C = 0 C=0 C = 0 elsewhere, so ∥ C ∥ ∞ = 1 \lVert C\rVert_\infty=1 ∥ C ∥ ∞ = 1 . Let ω = 1 \omega=1 ω = 1 on S 0 S_0 S 0 and ω = ν \omega=\nu ω = ν elsewhere. Every spanning tree other than S 0 S_0 S 0 has a cell of weight ν \nu ν , and det ( X S ) 2 = 1 \det(X_S)^2=1 det ( X S ) 2 = 1 for every tree. Thus λ S 0 → 1 \lambda_{S_0}\to1 λ S 0 → 1 in (26) as ν → 0 \nu\to0 ν → 0 , and m → X z S 0 m\to Xz_{S_0} m → X z S 0 . By (27) , the fitted value of z S 0 z_{S_0} z S 0 at the cell ( r 1 , c n ) (r_1,c_n) ( r 1 , c n ) is the alternating sum along the whole path, n ⋅ ( + 1 ) − ( n − 1 ) ⋅ ( − 1 ) = 2 n − 1 n\cdot(+1)-(n-1)\cdot(-1)=2n-1 n ⋅ ( + 1 ) − ( n − 1 ) ⋅ ( − 1 ) = 2 n − 1 .
⟨1⟩8. Q.E.D.
Proof: Step ⟨1⟩2 gives existence and uniqueness, ⟨1⟩6 gives (13) , and ⟨1⟩7 gives sharpness.
Proof of Lemma 5.2. ⟨1⟩1. grad f ( H ) = H ⊙ ( ∇ f ( H ) − m ) \operatorname{grad}f(H)=H\odot(\nabla f(H)-m) grad f ( H ) = H ⊙ ( ∇ f ( H ) − m ) with ∥ m ∥ ∞ ≤ ( 2 n − 1 ) G \lVert m\rVert_\infty\le(2n-1)G ∥ m ∥ ∞ ≤ ( 2 n − 1 ) G .
Proof: By (6) and Lemma E.2, m m m is the weighted additive fit of ∇ f ( H ) \nabla f(H) ∇ f ( H ) with weights H H H . Apply Lemma 5.1 with ω = H \omega=H ω = H and C = ∇ f ( H ) C=\nabla f(H) C = ∇ f ( H ) .
⟨1⟩2. ∣ grad f ( H ) i j ∣ ≤ 2 n G H i j \lvert\operatorname{grad}f(H)_{ij}\rvert\le2nG H_{ij} ∣ grad f ( H ) ij ∣ ≤ 2 n G H ij for all ( i , j ) (i,j) ( i , j ) .
Proof: By ⟨1⟩1, ∣ grad f ( H ) i j ∣ ≤ H i j ( ∣ ∂ i j f ( H ) ∣ + ∣ m i j ∣ ) ≤ H i j ( G + ( 2 n − 1 ) G ) \lvert\operatorname{grad}f(H)_{ij}\rvert\le H_{ij}(\lvert\partial_{ij}f(H)\rvert+\lvert m_{ij}\rvert)\le H_{ij}(G+(2n-1)G) ∣ grad f ( H ) ij ∣ ≤ H ij (∣ ∂ ij f ( H )∣ + ∣ m ij ∣) ≤ H ij ( G + ( 2 n − 1 ) G ) .
⟨1⟩3. For every π \pi π , ∥ grad f ( H ) ∥ ∞ ≤ 2 n ( n − 1 ) G ε π ( H ) \lVert\operatorname{grad}f(H)\rVert_\infty\le2n(n-1)G\varepsilon_\pi(H) ∥ grad f ( H ) ∥ ∞ ≤ 2 n ( n − 1 ) G ε π ( H ) .
⟨2⟩1. The bound holds for each cell off π \pi π .
Proof: For j ≠ π ( i ) j\ne\pi(i) j = π ( i ) , H i j ≤ ε π ( H ) H_{ij}\le\varepsilon_\pi(H) H ij ≤ ε π ( H ) . Apply ⟨1⟩2, and use 1 ≤ n − 1 1\le n-1 1 ≤ n − 1 .
⟨2⟩2. The bound holds for each cell on π \pi π .
Proof: grad f ( H ) ∈ T \operatorname{grad}f(H)\in\mathcal{T} grad f ( H ) ∈ T has zero row sums. By ⟨1⟩2,
∣ grad f ( H ) i π ( i ) ∣ = ∣ ∑ j ≠ π ( i ) grad f ( H ) i j ∣ ≤ 2 n G ∑ j ≠ π ( i ) H i j ≤ 2 n ( n − 1 ) G ε π ( H ) . \left\lvert\operatorname{grad}f(H)_{i\pi(i)}\right\rvert=\left\lvert\sum_{j\ne\pi(i)}\operatorname{grad}f(H)_{ij}\right\rvert\le2nG\sum_{j\ne\pi(i)}H_{ij}\le2n(n-1)G\varepsilon_\pi(H). grad f ( H ) iπ ( i ) = j = π ( i ) ∑ grad f ( H ) ij ≤ 2 n G j = π ( i ) ∑ H ij ≤ 2 n ( n − 1 ) G ε π ( H ) .
⟨2⟩3. Q.E.D.
Proof: By ⟨2⟩1 and ⟨2⟩2.
⟨1⟩4. The bound (14) holds.
Proof: Minimize ⟨1⟩3 over π \pi π , and apply the result at H = Φ ( W ) H=\Phi(W) H = Φ ( W ) . By Lemma 4.2(c), the left-hand side of (14) is ∥ grad f ( Φ ( W ) ) ∥ ∞ \lVert\operatorname{grad}f(\Phi(W))\rVert_\infty ∥ grad f ( Φ ( W )) ∥ ∞ .
⟨1⟩5. Q.E.D.
Proof: By ⟨1⟩2–⟨1⟩4.
Proof of Theorem 5.3. ⟨1⟩1. d d t log H i j = W ˙ i j + α ˙ i + β ˙ j \frac{\mathrm{d}}{\mathrm{d}t}\log H_{ij}=\dot{W}_{ij}+\dot{\alpha}_i+\dot{\beta}_j d t d log H ij = W ˙ ij + α ˙ i + β ˙ j , where α ( t ) , β ( t ) \alpha(t),\beta(t) α ( t ) , β ( t ) are the smooth scaling vectors of Lemma 4.1.
Proof: H ( t ) = diag ( e α ( t ) ) exp ( W ( t ) ) diag ( e β ( t ) ) H(t)=\operatorname{diag}(e^{\alpha(t)})\exp(W(t))\operatorname{diag}(e^{\beta(t)}) H ( t ) = diag ( e α ( t ) ) exp ( W ( t )) diag ( e β ( t ) ) , so log H i j = W i j + α i + β j \log H_{ij}=W_{ij}+\alpha_i+\beta_j log H ij = W ij + α i + β j .
⟨1⟩2. ∣ α ˙ i + β ˙ j ∣ ≤ ( 2 n − 1 ) ∥ W ˙ ∥ ∞ |\dot{\alpha}_i+\dot{\beta}_j|\leq(2n-1)\lVert\dot{W}\rVert_\infty ∣ α ˙ i + β ˙ j ∣ ≤ ( 2 n − 1 ) ∥ W ˙ ∥ ∞ for all ( i , j ) (i,j) ( i , j ) .
Proof: Differentiate the constraints ∑ j H i j = 1 \sum_j H_{ij}=1 ∑ j H ij = 1 and ∑ i H i j = 1 \sum_i H_{ij}=1 ∑ i H ij = 1 , and use ⟨1⟩1:
∑ j H i j ( W ˙ i j + α ˙ i + β ˙ j ) = 0 ( i ∈ [ n ] ) , ∑ i H i j ( W ˙ i j + α ˙ i + β ˙ j ) = 0 ( j ∈ [ n ] ) . \sum_j H_{ij}(\dot{W}_{ij}+\dot{\alpha}_i+\dot{\beta}_j)=0\quad(i\in[n]),\qquad\sum_i H_{ij}(\dot{W}_{ij}+\dot{\alpha}_i+\dot{\beta}_j)=0\quad(j\in[n]). j ∑ H ij ( W ˙ ij + α ˙ i + β ˙ j ) = 0 ( i ∈ [ n ]) , i ∑ H ij ( W ˙ ij + α ˙ i + β ˙ j ) = 0 ( j ∈ [ n ]) .
By Lemma E.2 with C = − W ˙ C=-\dot{W} C = − W ˙ , the pair ( α ˙ , β ˙ ) (\dot{\alpha},\dot{\beta}) ( α ˙ , β ˙ ) gives the weighted additive fit of − W ˙ -\dot{W} − W ˙ with weights H H H . Apply Lemma 5.1.
⟨1⟩3. ∥ W ˙ ∥ ∞ ≤ 2 n ( n − 1 ) G ε ( H ) \lVert\dot{W}\rVert_\infty\leq2n(n-1)G\,\varepsilon(H) ∥ W ˙ ∥ ∞ ≤ 2 n ( n − 1 ) G ε ( H ) .
Proof: By Lemma 4.2(c), W ˙ = − grad f ( H ) \dot{W}=-\operatorname{grad} f(H) W ˙ = − grad f ( H ) . Apply Lemma 5.2.
⟨1⟩4. The bound (15) holds.
Proof: By ⟨1⟩1–⟨1⟩3, ∣ d d t log H i j ∣ ≤ 2 n ∥ W ˙ ∥ ∞ ≤ 4 n 2 ( n − 1 ) G ε ( H ) ≤ 4 n 3 G ε ( H ) |\frac{\mathrm{d}}{\mathrm{d}t}\log H_{ij}|\leq2n\lVert\dot{W}\rVert_\infty\leq4n^2(n-1)G\,\varepsilon(H)\leq4n^3G\,\varepsilon(H) ∣ d t d log H ij ∣ ≤ 2 n ∥ W ˙ ∥ ∞ ≤ 4 n 2 ( n − 1 ) G ε ( H ) ≤ 4 n 3 G ε ( H ) .
⟨1⟩5. Let: ϕ ( t ) : = ε ( H ( t ) ) \phi(t):=\varepsilon(H(t)) ϕ ( t ) := ε ( H ( t )) and c : = 4 n 3 G c:=4n^3G c := 4 n 3 G . Then ϕ \phi ϕ is positive and continuous, and for 0 ≤ t < t + h < T 0\leq t<t+h<T 0 ≤ t < t + h < T ,
ϕ ( t ) e − c ∫ t t + h ϕ ≤ ϕ ( t + h ) ≤ ϕ ( t ) e c ∫ t t + h ϕ . (28) \phi(t)e^{-c\int_t^{t+h}\phi}\leq\phi(t+h)\leq\phi(t)e^{c\int_t^{t+h}\phi}. \tag*{(28)} ϕ ( t ) e − c ∫ t t + h ϕ ≤ ϕ ( t + h ) ≤ ϕ ( t ) e c ∫ t t + h ϕ . (28)
Proof: H ( t ) > 0 H(t)>0 H ( t ) > 0 , so ϕ > 0 \phi>0 ϕ > 0 ; and ϕ \phi ϕ is continuous because ε \varepsilon ε is a minimum of maxima of entries. Integrate (15) over [ t , t + h ] [t,t+h] [ t , t + h ] :
H i j ( t ) e − c ∫ t t + h ϕ ≤ H i j ( t + h ) ≤ H i j ( t ) e c ∫ t t + h ϕ for every cell. H_{ij}(t)e^{-c\int_t^{t+h}\phi}\leq H_{ij}(t+h)\leq H_{ij}(t)e^{c\int_t^{t+h}\phi}\quad\text{for every cell.} H ij ( t ) e − c ∫ t t + h ϕ ≤ H ij ( t + h ) ≤ H ij ( t ) e c ∫ t t + h ϕ for every cell.
The two factors are the same for all cells, so Lemma E.4 applies.
⟨1⟩6. D + ϕ ( t ) : = lim inf h ↓ 0 ϕ ( t + h ) − ϕ ( t ) h ≥ − c ϕ ( t ) 2 D^+\phi(t):=\liminf_{h\downarrow0}\frac{\phi(t+h)-\phi(t)}{h}\geq-c\phi(t)^2 D + ϕ ( t ) := lim inf h ↓ 0 h ϕ ( t + h ) − ϕ ( t ) ≥ − c ϕ ( t ) 2 and D + ϕ ( t ) ≤ c ϕ ( t ) 2 D^+\phi(t)\leq c\phi(t)^2 D + ϕ ( t ) ≤ c ϕ ( t ) 2 .
Proof: By continuity, ∫ t t + h ϕ = h ϕ ( t ) + o ( h ) \int_t^{t+h}\phi=h\phi(t)+o(h) ∫ t t + h ϕ = h ϕ ( t ) + o ( h ) as h ↓ 0 h\downarrow0 h ↓ 0 . Insert this into (28) .
⟨1⟩7. The approach bound (16) holds.
Proof: Let ψ : = 1 / ϕ \psi:=1/\phi ψ := 1/ ϕ . Then D + ψ ( t ) = − D + ϕ ( t ) / ϕ ( t ) 2 ≤ c D^+\psi(t)=-D^+\phi(t)/\phi(t)^2\leq c D + ψ ( t ) = − D + ϕ ( t ) / ϕ ( t ) 2 ≤ c by ⟨1⟩6. Lemma E.5 gives 1 / ϕ ( t ) ≤ 1 / ϕ ( 0 ) + c t 1/\phi(t)\leq1/\phi(0)+ct 1/ ϕ ( t ) ≤ 1/ ϕ ( 0 ) + c t .
⟨1⟩8. The escape bound (17) holds.
Proof: Let χ : = − 1 / ϕ \chi:=-1/\phi χ := − 1/ ϕ . Then D + χ ( t ) = D + ϕ ( t ) / ϕ ( t ) 2 ≤ c D^+\chi(t)=D^+\phi(t)/\phi(t)^2\leq c D + χ ( t ) = D + ϕ ( t ) / ϕ ( t ) 2 ≤ c by ⟨1⟩6. Lemma E.5 gives 1 / ϕ ( t ) ≥ 1 / ϕ ( 0 ) − c t 1/\phi(t)\geq1/\phi(0)-ct 1/ ϕ ( t ) ≥ 1/ ϕ ( 0 ) − c t , which is positive for t < 1 / ( c ϕ ( 0 ) ) t<1/(c\phi(0)) t < 1/ ( c ϕ ( 0 )) .
⟨1⟩9. Q.E.D.
Proof: Steps ⟨1⟩4, ⟨1⟩7, and ⟨1⟩8 give the three bounds. If ϕ ( t ) ≤ ε \phi(t)\leq\varepsilon ϕ ( t ) ≤ ε , then (16) gives t ≥ ( 1 / ε − 1 / ε 0 ) / c t\geq(1/\varepsilon-1/\varepsilon_0)/c t ≥ ( 1/ ε − 1/ ε 0 ) / c . If ϕ ( t ) ≥ 2 ε 0 \phi(t)\geq2\varepsilon_0 ϕ ( t ) ≥ 2 ε 0 , then (17) gives t ≥ 1 / ( 2 c ε 0 ) t\geq1/(2c\varepsilon_0) t ≥ 1/ ( 2 c ε 0 ) .
Proof of Theorem 5.4. ⟨1⟩1. ∣ d d t log H i j ∣ ≤ 2 n G |\frac{\mathrm{d}}{\mathrm{d}t}\log H_{ij}|\leq2nG ∣ d t d log H ij ∣ ≤ 2 n G , and (18) holds. Proof. By Lemma 5.2 (step ⟨ 1 ⟩ 1 \langle1\rangle1 ⟨ 1 ⟩ 1 of its proof), H ˙ = − H ⊙ ( ∇ f ( H ) − m ) \dot{H}=-H\odot(\nabla f(H)-m) H ˙ = − H ⊙ ( ∇ f ( H ) − m ) with ∥ m ∥ ∞ ≤ ( 2 n − 1 ) G \lVert m\rVert_\infty\le(2n-1)G ∥ m ∥ ∞ ≤ ( 2 n − 1 ) G . Thus ∣ d d t log H i j ∣ = ∣ ∂ i j f − m i j ∣ ≤ 2 n G \left|\frac{\mathrm{d}}{\mathrm{d}t}\log H_{ij}\right|=|\partial_{ij}f-m_{ij}|\le2nG d t d log H ij = ∣ ∂ ij f − m ij ∣ ≤ 2 n G . Integrate, and apply Lemma E.4 with the factors e ± 2 n G t e^{\pm2nGt} e ± 2 n Gt .
⟨ 1 ⟩ 2 \langle1\rangle2 ⟨ 1 ⟩ 2 . For f π f_\pi f π , H ( t ) H(t) H ( t ) is the doubly stochastic scaling of K ( t ) : = exp ( W 0 ) ⊙ ( P π + e − t ( J − P π ) ) K^{(t)}:=\exp(W_0)\odot(P_\pi+e^{-t}(J-P_\pi)) K ( t ) := exp ( W 0 ) ⊙ ( P π + e − t ( J − P π )) .
Proof. ∇ f π = − P π \nabla f_\pi=-P_\pi ∇ f π = − P π . By Theorem 4.3 (b), Φ ( W 0 + t P π ) \Phi(W_0+tP_\pi) Φ ( W 0 + t P π ) solves the Fisher–Rao flow, and the solution is unique, so H ( t ) = Φ ( W 0 + t P π ) H(t)=\Phi(W_0+tP_\pi) H ( t ) = Φ ( W 0 + t P π ) . Also exp ( W 0 + t P π ) = e t K ( t ) \exp(W_0+tP_\pi)=e^tK^{(t)} exp ( W 0 + t P π ) = e t K ( t ) , and a positive multiple does not change the scaling.
⟨ 1 ⟩ 3 \langle1\rangle3 ⟨ 1 ⟩ 3 . Let: H ( t ) = diag ( μ ) K ( t ) diag ( ν ) H(t)=\operatorname{diag}(\mu)K^{(t)}\operatorname{diag}(\nu) H ( t ) = diag ( μ ) K ( t ) diag ( ν ) with μ , ν > 0 \mu,\nu>0 μ , ν > 0 . Then μ i ν π ( i ) ≤ e ∥ W 0 ∥ ∞ \mu_i\nu_{\pi(i)}\le e^{\lVert W_0\rVert_\infty} μ i ν π ( i ) ≤ e ∥ W 0 ∥ ∞ for all i i i .
Proof. H i π ( i ) = μ i e ( W 0 ) i π ( i ) ν π ( i ) ≤ 1 H_{i\pi(i)}=\mu_i e^{(W_0)_{i\pi(i)}}\nu_{\pi(i)}\le1 H iπ ( i ) = μ i e ( W 0 ) iπ ( i ) ν π ( i ) ≤ 1 .
⟨ 1 ⟩ 4. \langle1\rangle4. ⟨ 1 ⟩ 4. Let: t ≥ 0 t\ge0 t ≥ 0 and ε ˉ : = ε π ( H ( t ) ) \bar{\varepsilon}:=\varepsilon_\pi(H(t)) ε ˉ := ε π ( H ( t )) . There are rows i 0 , … , i n i_0,\ldots,i_n i 0 , … , i n and columns j 0 , … , j n j_0,\ldots,j_n j 0 , … , j n with j r ≠ π ( i r ) j_r\ne\pi(i_r) j r = π ( i r ) , H i r j r ≥ ε ˉ / ( n − 1 ) H_{i_rj_r}\ge\bar{\varepsilon}/(n-1) H i r j r ≥ ε ˉ / ( n − 1 ) , and π ( i r + 1 ) = j r \pi(i_{r+1})=j_r π ( i r + 1 ) = j r .
⟨ 2 ⟩ 1 \langle2\rangle1 ⟨ 2 ⟩ 1 . The claim holds for r = 0 r=0 r = 0 .
Proof. Choose a cell ( i 0 , j 0 ) (i_0,j_0) ( i 0 , j 0 ) off π \pi π where ε ˉ \bar{\varepsilon} ε ˉ is attained.
⟨ 2 ⟩ 2 \langle2\rangle2 ⟨ 2 ⟩ 2 . Assume: the claim for r r r . Prove: the claim for r + 1 r+1 r + 1 .
Proof. Let i r + 1 : = π − 1 ( j r ) i_{r+1}:=\pi^{-1}(j_r) i r + 1 := π − 1 ( j r ) . Column j r j_r j r sums to one and contains the entry H i r j r ≥ ε ˉ / ( n − 1 ) r H_{i_rj_r}\ge\bar{\varepsilon}/(n-1)^r H i r j r ≥ ε ˉ / ( n − 1 ) r off π \pi π , so H i r + 1 j r ≤ 1 − ε ˉ / ( n − 1 ) r H_{i_{r+1}j_r}\le1-\bar{\varepsilon}/(n-1)^r H i r + 1 j r ≤ 1 − ε ˉ / ( n − 1 ) r . Row i r + 1 i_{r+1} i r + 1 sums to one, so its n − 1 n-1 n − 1 entries off π \pi π have a sum of at least ε ˉ / ( n − 1 ) r \bar{\varepsilon}/(n-1)^r ε ˉ / ( n − 1 ) r . One of them, at a column j r + 1 ≠ π ( i r + 1 ) j_{r+1}\ne\pi(i_{r+1}) j r + 1 = π ( i r + 1 ) , is at least ε ˉ / ( n − 1 ) r + 1 \bar{\varepsilon}/(n-1)^{r+1} ε ˉ / ( n − 1 ) r + 1 .
⟨ 2 ⟩ 3 \langle2\rangle3 ⟨ 2 ⟩ 3 . Q.E.D.
Proof. Induction on r r r .
⟨ 1 ⟩ 5 \langle1\rangle5 ⟨ 1 ⟩ 5 . There are a < b ≤ n a<b\le n a < b ≤ n with i a = i b i_a=i_b i a = i b . Let: k : = b − a k:=b-a k := b − a . Then k ≥ 2 k\ge2 k ≥ 2 , and H i r j r ≥ ε ˉ / ( n − 1 ) n − 1 H_{i_rj_r}\ge\bar{\varepsilon}/(n-1)^{n-1} H i r j r ≥ ε ˉ / ( n − 1 ) n − 1 for a ≤ r < b a\le r<b a ≤ r < b .
Proof. There are n + 1 n+1 n + 1 rows i 0 , … , i n i_0,\ldots,i_n i 0 , … , i n but only n n n distinct rows. Also i r + 1 ≠ i r i_{r+1}\ne i_r i r + 1 = i r , because π ( i r + 1 ) = j r ≠ π ( i r ) \pi(i_{r+1})=j_r\ne\pi(i_r) π ( i r + 1 ) = j r = π ( i r ) ; thus k ≥ 2 k\ge2 k ≥ 2 . For r < b ≤ n r<b\le n r < b ≤ n , ( n − 1 ) r ≤ ( n − 1 ) n − 1 (n-1)^r\le(n-1)^{n-1} ( n − 1 ) r ≤ ( n − 1 ) n − 1 .
⟨ 1 ⟩ 6 \langle1\rangle6 ⟨ 1 ⟩ 6 . ∏ r = a b − 1 H i r j r ≤ ( e 2 ∥ W 0 ∥ ∞ e − t ) k \prod_{r=a}^{b-1}H_{i_rj_r}\le(e^{2\lVert W_0\rVert_\infty}e^{-t})^k ∏ r = a b − 1 H i r j r ≤ ( e 2 ∥ W 0 ∥ ∞ e − t ) k .
Proof. Every cell ( i r , j r ) (i_r,j_r) ( i r , j r ) is off π \pi π , so H i r j r = μ i r e ( W 0 ) i r j r e − t ν j r H_{i_rj_r}=\mu_{i_r}e^{(W_0)_{i_rj_r}}e^{-t}\nu_{j_r} H i r j r = μ i r e ( W 0 ) i r j r e − t ν j r with j r = π ( i r + 1 ) j_r=\pi(i_{r+1}) j r = π ( i r + 1 ) . Because i b = i a i_b=i_a i b = i a , the multisets { π ( i r + 1 ) } a ≤ r < b \{\pi(i_{r+1})\}_{a\le r<b} { π ( i r + 1 ) } a ≤ r < b and { π ( i r ) } a ≤ r < b \{\pi(i_r)\}_{a\le r<b} { π ( i r ) } a ≤ r < b are equal. Thus ∏ r μ i r ν j r = ∏ r μ i r ν π ( i r ) ≤ e k ∥ W 0 ∥ ∞ \prod_r\mu_{i_r}\nu_{j_r}=\prod_r\mu_{i_r}\nu_{\pi(i_r)}\le e^{k\lVert W_0\rVert_\infty} ∏ r μ i r ν j r = ∏ r μ i r ν π ( i r ) ≤ e k ∥ W 0 ∥ ∞ by ⟨ 1 ⟩ 3 \langle1\rangle3 ⟨ 1 ⟩ 3 . Also ∏ r e ( W 0 ) i r j r ≤ e k ∥ W 0 ∥ ∞ \prod_r e^{(W_0)_{i_rj_r}}\le e^{k\lVert W_0\rVert_\infty} ∏ r e ( W 0 ) i r j r ≤ e k ∥ W 0 ∥ ∞ .
⟨ 1 ⟩ 7 \langle1\rangle7 ⟨ 1 ⟩ 7 . The bound (19) holds.
Proof. By ⟨ 1 ⟩ 5 \langle1\rangle5 ⟨ 1 ⟩ 5 and ⟨ 1 ⟩ 6 \langle1\rangle6 ⟨ 1 ⟩ 6 , ( ε ˉ / ( n − 1 ) n − 1 ) k ≤ ( e 2 ∥ W 0 ∥ ∞ e − t ) k (\bar{\varepsilon}/(n-1)^{n-1})^k\le(e^{2\lVert W_0\rVert_\infty}e^{-t})^k ( ε ˉ / ( n − 1 ) n − 1 ) k ≤ ( e 2 ∥ W 0 ∥ ∞ e − t ) k . Take the k k k -th root, and use ε ( H ( t ) ) ≤ ε ˉ \varepsilon(H(t))\le\bar{\varepsilon} ε ( H ( t )) ≤ ε ˉ .
⟨ 1 ⟩ 8 \langle1\rangle8 ⟨ 1 ⟩ 8 . Q.E.D.
Proof. Steps ⟨ 1 ⟩ 1 \langle1\rangle1 ⟨ 1 ⟩ 1 and ⟨ 1 ⟩ 7 \langle1\rangle7 ⟨ 1 ⟩ 7 give the first two claims. For the logit gradient flow, apply Theorem 5.3 with G = ∥ P π ∥ ∞ = 1 G=\lVert P_\pi\rVert_\infty=1 G = ∥ P π ∥ ∞ = 1 .
Proof of Proposition 5.5. ⟨ 1 ⟩ 1 \langle1\rangle1 ⟨ 1 ⟩ 1 . Φ ( W ) = ( p q q p ) \Phi(W)=\begin{pmatrix}p&q\\q&p\end{pmatrix} Φ ( W ) = ( p q q p ) with log p q = w 2 \log\frac{p}{q}=\frac{w}{2} log q p = 2 w , and T = R E \mathcal{T}=\mathbb{R}E T = R E with E : = ( 1 − 1 − 1 1 ) E:=\begin{pmatrix}1&-1\\-1&1\end{pmatrix} E := ( 1 − 1 − 1 1 ) .
Proof. Every 2 × 2 2\times2 2 × 2 doubly stochastic matrix has this form. The cross-ratio H 11 H 22 / ( H 12 H 21 ) H_{11}H_{22}/(H_{12}H_{21}) H 11 H 22 / ( H 12 H 21 ) does not change under diagonal scalings, and it equals e w e^w e w for exp W \exp W exp W . Thus p 2 / q 2 = e w p^2/q^2=e^w p 2 / q 2 = e w . Also w = ⟨ W , E ⟩ w=\langle W,E\rangle w = ⟨ W , E ⟩ .
⟨ 1 ⟩ 2 \langle1\rangle2 ⟨ 1 ⟩ 2 . Under the Fisher–Rao flow, w ˙ = Δ \dot{w}=\Delta w ˙ = Δ . Proof: The straight-through flow is W ˙ = − C \dot{W}=-C W ˙ = − C , so w ˙ = − ⟨ C , E ⟩ = Δ \dot{w}=-\langle C,E\rangle=\Delta w ˙ = − ⟨ C , E ⟩ = Δ .
⟨1⟩3. Under the logit gradient flow, w ˙ = 2 Δ p q \dot{w}=2\Delta pq w ˙ = 2Δ pq .
Proof: By Lemma 4.2(c), W ˙ = − Π H ( H ∘ C ) = − λ E \dot{W}=-\Pi_H(H\circ C)=-\lambda E W ˙ = − Π H ( H ∘ C ) = − λ E , where
λ = g H ( H ∘ C , E ) g H ( E , E ) = ⟨ C , E ⟩ 2 / p + 2 / q = − Δ 2 p q . \lambda=\frac{g_H(H\circ C,E)}{g_H(E,E)}=\frac{\langle C,E\rangle}{2/p+2/q}=-\frac{\Delta}{2}pq. λ = g H ( E , E ) g H ( H ∘ C , E ) = 2/ p + 2/ q ⟨ C , E ⟩ = − 2 Δ pq .
Thus w ˙ = ⟨ W ˙ , E ⟩ = − 4 λ = 2 Δ p q \dot{w}=\langle\dot{W},E\rangle=-4\lambda=2\Delta pq w ˙ = ⟨ W ˙ , E ⟩ = − 4 λ = 2Δ pq .
⟨1⟩4. The equations (20) for q q q hold.
Proof: q = 1 / ( 1 + e w / 2 ) q=1/(1+e^{w/2}) q = 1/ ( 1 + e w /2 ) , so q ˙ = − 1 2 p q w ˙ \dot{q}=-\frac{1}{2}pq\dot{w} q ˙ = − 2 1 pq w ˙ . Insert ⟨1⟩2 and ⟨1⟩3.
⟨1⟩5. For Δ < 0 \Delta<0 Δ < 0 , the logit escape satisfies q ( t ) ≤ q 0 / ( 1 − ∣ Δ ∣ q 0 t ) q(t)\le q_0/(1-|\Delta|q_0t) q ( t ) ≤ q 0 / ( 1 − ∣Δ∣ q 0 t ) .
Proof: By ⟨1⟩4, q ˙ = ∣ Δ ∣ q 2 ( 1 − q ) 2 ≤ ∣ Δ ∣ q 2 \dot{q}=|\Delta|q^2(1-q)^2\le|\Delta|q^2 q ˙ = ∣Δ∣ q 2 ( 1 − q ) 2 ≤ ∣Δ∣ q 2 , so d d t ( − 1 / q ) ≤ ∣ Δ ∣ \frac{d}{dt}(-1/q)\le|\Delta| d t d ( − 1/ q ) ≤ ∣Δ∣ . Integrate.
⟨1⟩6. Q.E.D.
Proof: Steps ⟨1⟩1–⟨1⟩5 give all claims. For Δ < 0 \Delta<0 Δ < 0 the Fisher–Rao equation q ˙ = ∣ Δ ∣ 2 q ( 1 − q ) \dot{q}=\frac{|\Delta|}{2}q(1-q) q ˙ = 2 ∣Δ∣ q ( 1 − q ) is the logistic equation.
Proof of Corollary 5.6. ⟨1⟩1. ∏ l < L σ n ( H l ) ≥ c 0 n − 1 \prod_{l<L}\sigma_n(H_l)\ge c_0^{n-1} ∏ l < L σ n ( H l ) ≥ c 0 n − 1
Proof: By Lemma E.3, ∣ det ( U T H l U ) ∣ = ∏ k ≥ 2 σ k ( H l ) ≤ σ n ( H l ) |\det(U^\mathsf{T}H_lU)|=\prod_{k\ge2}\sigma_k(H_l)\le\sigma_n(H_l) ∣ det ( U T H l U ) ∣ = ∏ k ≥ 2 σ k ( H l ) ≤ σ n ( H l ) , because all singular values are in [ 0 , 1 ] [0,1] [ 0 , 1 ] . Also ∣ det ( U T H L : 0 U ) ∣ ≥ σ n ( H L : 0 ) n − 1 ≥ c 0 n − 1 |\det(U^\mathsf{T}H_{L:0}U)|\ge\sigma_n(H_{L:0})^{n-1}\ge c_0^{n-1} ∣ det ( U T H L : 0 U ) ∣ ≥ σ n ( H L : 0 ) n − 1 ≥ c 0 n − 1 . The subspace 1 ⊥ \mathbf{1}^{\perp} 1 ⊥ is invariant under every H l H_l H l , so the determinant on 1 ⊥ \mathbf{1}^{\perp} 1 ⊥ is multiplicative: det ( U T H L : 0 U ) = ∏ l det ( U T H l U ) \det(U^\mathsf{T}H_{L:0}U)=\prod_l\det(U^\mathsf{T}H_lU) det ( U T H L : 0 U ) = ∏ l det ( U T H l U ) .
⟨1⟩2. At least half of the layers satisfy ϑ l : = 1 − σ n ( H l ) ≤ 2 ( n − 1 ) log ( 1 / c 0 ) / L \vartheta_l:=1-\sigma_n(H_l)\le2(n-1)\log(1/c_0)/L ϑ l := 1 − σ n ( H l ) ≤ 2 ( n − 1 ) log ( 1/ c 0 ) / L .
Proof: Because 1 − s ≤ log ( 1 / s ) 1-s\le\log(1/s) 1 − s ≤ log ( 1/ s ) for s ∈ ( 0 , 1 ] s\in(0,1] s ∈ ( 0 , 1 ] , ⟨1⟩1 gives ∑ l ϑ l ≤ ∑ l log ( 1 / σ n ( H l ) ) ≤ ( n − 1 ) log ( 1 / c 0 ) \sum_l\vartheta_l\le\sum_l\log(1/\sigma_n(H_l))\le(n-1)\log(1/c_0) ∑ l ϑ l ≤ ∑ l log ( 1/ σ n ( H l )) ≤ ( n − 1 ) log ( 1/ c 0 ) . Apply Markov’s inequality.
⟨1⟩3. These layers satisfy ε ( H l ) ≤ ε ⋆ \varepsilon(H_l)\le\varepsilon_\star ε ( H l ) ≤ ε ⋆ .
Proof: For them, 4 n ϑ l ≤ 8 n ( n − 1 ) log ( 1 / c 0 ) / L < 1 4n\vartheta_l\le8n(n-1)\log(1/c_0)/L<1 4 n ϑ l ≤ 8 n ( n − 1 ) log ( 1/ c 0 ) / L < 1 . Proposition 3.4(d) gives ε ( H l ) ≤ 4 n ϑ l ≤ ε ⋆ \varepsilon(H_l)\le4n\vartheta_l\le\varepsilon_\star ε ( H l ) ≤ 4 n ϑ l ≤ ε ⋆ .
⟨1⟩4. Q.E.D.
Proof: Step ⟨1⟩3 gives the first claim. Solve ε ⋆ ≥ ε 0 / ( 1 + c ε 0 t ) \varepsilon_\star\ge\varepsilon_0/(1+c\varepsilon_0t) ε ⋆ ≥ ε 0 / ( 1 + c ε 0 t ) for t t t in (16) for the first time bound. The bound (18) gives the second time bound, and Theorem 5.4 shows that logarithmic time is possible.
Proofs for Section 6
Proof of Proposition 6.1. ⟨1⟩1. K i j ν j ⋆ / ( K ν ⋆ ) i = H i j K_{ij}\nu_j^\star/(K\nu^\star)_i=H_{ij} K ij ν j ⋆ / ( K ν ⋆ ) i = H ij and μ i ⋆ K i j / ( K T μ ⋆ ) j = H i j \mu_i^\star K_{ij}/(K^\mathsf{T}\mu^\star)_j=H_{ij} μ i ⋆ K ij / ( K T μ ⋆ ) j = H ij .
Proof: At the fixed point, μ ⋆ = 1 ⊘ ( K ν ⋆ ) \mu^\star=\mathbf{1}\oslash(K\nu^\star) μ ⋆ = 1 ⊘ ( K ν ⋆ ) and ν ⋆ = 1 ⊘ ( K T μ ⋆ ) \nu^\star=\mathbf{1}\oslash(K^\mathsf{T}\mu^\star) ν ⋆ = 1 ⊘ ( K T μ ⋆ ) , and H i j = μ i ⋆ K i j ν j ⋆ H_{ij}=\mu_i^\star K_{ij}\nu_j^\star H ij = μ i ⋆ K ij ν j ⋆ .
⟨1⟩2. With ν = ν ⋆ ∘ ( 1 + v ) \nu=\nu^\star\circ(1+v) ν = ν ⋆ ∘ ( 1 + v ) , μ ( ν ) i = μ i ⋆ ( 1 − ( H v ) i + O ( ∥ v ∥ 2 ) ) \mu(\nu)_i=\mu_i^\star(1-(Hv)_i+O(\lVert v\rVert^2)) μ ( ν ) i = μ i ⋆ ( 1 − ( H v ) i + O (∥ v ∥ 2 )) .
Proof: By the first identity of ⟨1⟩1, ( K ν ) i = ( K ν ⋆ ) i ( 1 + ( H v ) i ) (K\nu)_i=(K\nu^\star)_i(1+(Hv)_i) ( K ν ) i = ( K ν ⋆ ) i ( 1 + ( H v ) i ) . Take the reciprocal.
⟨1⟩3. Ψ ( ν ) = ν ⋆ ∘ ( 1 + H T H v + O ( ∥ v ∥ 2 ) ) \Psi(\nu)=\nu^\star\circ(1+H^\mathsf{T}Hv+O(\lVert v\rVert^2)) Ψ ( ν ) = ν ⋆ ∘ ( 1 + H T H v + O (∥ v ∥ 2 )) , and the column sums of diag ( μ ( ν ) ) K diag ( ν ) \operatorname{diag}(\mu(\nu))K\operatorname{diag}(\nu) diag ( μ ( ν )) K diag ( ν ) are 1 + ( I − H T H ) v + O ( ∥ v ∥ 2 ) 1+(I-H^\mathsf{T}H)v+O(\lVert v\rVert^2) 1 + ( I − H T H ) v + O (∥ v ∥ 2 ) .
Proof: By ⟨1⟩2 and the second identity of ⟨1⟩1, ( K T μ ( ν ) ) j = ( K T μ ⋆ ) j ( 1 − ( H T H v ) j + O ( ∥ v ∥ 2 ) ) (K^\mathsf{T}\mu(\nu))_j=(K^\mathsf{T}\mu^\star)_j(1-(H^\mathsf{T}Hv)_j+O(\lVert v\rVert^2)) ( K T μ ( ν ) ) j = ( K T μ ⋆ ) j ( 1 − ( H T H v ) j + O (∥ v ∥ 2 )) . Take the reciprocal for Ψ \Psi Ψ . The column sums are ( K T μ ( ν ) ) j ν j = ( 1 − ( H T H v ) j ) ( 1 + v j ) + (K^\mathsf{T}\mu(\nu))_j\nu_j=(1-(H^\mathsf{T}Hv)_j)(1+v_j)+ ( K T μ ( ν ) ) j ν j = ( 1 − ( H T H v ) j ) ( 1 + v j ) + O ( ∥ v ∥ 2 ) O(\lVert v\rVert^2) O (∥ v ∥ 2 ) .
⟨1⟩4. H T H H^{\mathsf{T}}H H T H is symmetric and positive semidefinite, H T H 1 = 1 H^{\mathsf{T}}H\mathbf{1}=\mathbf{1} H T H 1 = 1 , and on 1 ⊥ \mathbf{1}^{\perp} 1 ⊥ its eigenvalues are σ k ( H ) 2 ∈ [ 0 , σ 2 ( H ) 2 ] \sigma_k(H)^2\in[0,\sigma_2(H)^2] σ k ( H ) 2 ∈ [ 0 , σ 2 ( H ) 2 ] , k ≥ 2 k\ge2 k ≥ 2 , with σ 2 ( H ) < 1 \sigma_2(H)<1 σ 2 ( H ) < 1 .
Proof: Lemma E.3 and Proposition 3.4(c).
⟨1⟩5. r k ≤ σ 2 ( H ) 2 k ∥ Q v 0 ∥ 2 r_k\le\sigma_2(H)^{2k}\lVert Qv_0\rVert_2 r k ≤ σ 2 ( H ) 2 k ∥ Q v 0 ∥ 2 .
Proof: Write v 0 = 1 n ( 1 T v 0 ) 1 + Q v 0 v_0=\frac{1}{n}(\mathbf{1}^{\mathsf{T}}v_0)\mathbf{1}+Qv_0 v 0 = n 1 ( 1 T v 0 ) 1 + Q v 0 . By ⟨1⟩4, ( I − H T H ) 1 = 0 (I-H^{\mathsf{T}}H)\mathbf{1}=0 ( I − H T H ) 1 = 0 , so ( I − H T H ) ( H T H ) k v 0 = ( I − H T H ) ( H T H ) k Q v 0 (I-H^{\mathsf{T}}H)(H^{\mathsf{T}}H)^kv_0=(I-H^{\mathsf{T}}H)(H^{\mathsf{T}}H)^kQv_0 ( I − H T H ) ( H T H ) k v 0 = ( I − H T H ) ( H T H ) k Q v 0 . On 1 ⊥ \mathbf{1}^{\perp} 1 ⊥ , ∥ I − H T H ∥ 2 ≤ 1 \lVert I-H^{\mathsf{T}}H\rVert_2\le1 ∥ I − H T H ∥ 2 ≤ 1 and ∥ ( H T H ) k ∥ 2 = σ 2 ( H ) 2 k \lVert(H^{\mathsf{T}}H)^k\rVert_2=\sigma_2(H)^{2k} ∥( H T H ) k ∥ 2 = σ 2 ( H ) 2 k . Finally ∥ ⋅ ∥ ∞ ≤ ∥ ⋅ ∥ 2 \lVert\cdot\rVert_{\infty}\le\lVert\cdot\rVert_2 ∥ ⋅ ∥ ∞ ≤ ∥ ⋅ ∥ 2 .
⟨1⟩6. If Q v 0 Qv_0 Q v 0 has a component w ≠ 0 w\ne0 w = 0 in the eigenspace of H T H H^{\mathsf{T}}H H T H for σ 2 ( H ) 2 \sigma_2(H)^2 σ 2 ( H ) 2 , then r k ≥ ( 1 − σ 2 ( H ) 2 ) σ 2 ( H ) 2 k ∥ w ∥ 2 / n r_k\ge(1-\sigma_2(H)^2)\sigma_2(H)^{2k}\lVert w\rVert_2/\sqrt{n} r k ≥ ( 1 − σ 2 ( H ) 2 ) σ 2 ( H ) 2 k ∥ w ∥ 2 / n .
Proof: The component of ( I − H T H ) ( H T H ) k v 0 (I-H^{\mathsf{T}}H)(H^{\mathsf{T}}H)^kv_0 ( I − H T H ) ( H T H ) k v 0 in this eigenspace is ( 1 − σ 2 2 ) σ 2 2 k w (1-\sigma_2^2)\sigma_2^{2k}w ( 1 − σ 2 2 ) σ 2 2 k w . An orthogonal projection does not increase the norm, and ∥ ⋅ ∥ ∞ ≥ ∥ ⋅ ∥ 2 / n \lVert\cdot\rVert_{\infty}\ge\lVert\cdot\rVert_2/\sqrt{n} ∥ ⋅ ∥ ∞ ≥ ∥ ⋅ ∥ 2 / n .
⟨1⟩7. The bounds (22) hold.
Proof: Write σ 2 = 1 − 1 / τ \sigma_2=1-1/\tau σ 2 = 1 − 1/ τ , and use − s 1 − s ≤ log ( 1 − s ) ≤ − s -\frac{s}{1-s}\le\log(1-s)\le-s − 1 − s s ≤ log ( 1 − s ) ≤ − s for s = 1 / τ ∈ ( 0 , 1 ) s=1/\tau\in(0,1) s = 1/ τ ∈ ( 0 , 1 ) .
⟨1⟩8. Q.E.D.
Proof: By ⟨1⟩3–⟨1⟩7.
Proof of Proposition 6.2. ⟨1⟩1. H L : l 1 = 1 H_{L:l}\mathbf{1}=\mathbf{1} H L : l 1 = 1 .
Proof: A product of row-stochastic matrices is row-stochastic.
⟨1⟩2. Every column sum of H L : l H_{L:l} H L : l is in [ ∏ i ( 1 − e i ) , ∏ i ( 1 + e i ) ] \left[\prod_i(1-e_i),\prod_i(1+e_i)\right] [ ∏ i ( 1 − e i ) , ∏ i ( 1 + e i ) ] .
Proof: Let A , B ≥ 0 A,B\ge0 A , B ≥ 0 have column sums in [ 1 − e A , 1 + e A ] [1-e_A,1+e_A] [ 1 − e A , 1 + e A ] and [ 1 − e B , 1 + e B ] [1-e_B,1+e_B] [ 1 − e B , 1 + e B ] . Then, entrywise,
( 1 − e A ) ( 1 − e B ) 1 T ≤ ( 1 − e A ) 1 T B ≤ 1 T A B = ( 1 T A ) B ≤ ( 1 + e A ) 1 T B ≤ ( 1 + e A ) ( 1 + e B ) 1 T . (1-e_A)(1-e_B)\mathbf{1}^{\mathsf{T}}\le(1-e_A)\mathbf{1}^{\mathsf{T}}B\le\mathbf{1}^{\mathsf{T}}AB=(\mathbf{1}^{\mathsf{T}}A)B\le(1+e_A)\mathbf{1}^{\mathsf{T}}B\le(1+e_A)(1+e_B)\mathbf{1}^{\mathsf{T}}. ( 1 − e A ) ( 1 − e B ) 1 T ≤ ( 1 − e A ) 1 T B ≤ 1 T A B = ( 1 T A ) B ≤ ( 1 + e A ) 1 T B ≤ ( 1 + e A ) ( 1 + e B ) 1 T .
Induction over the factors gives the claim.
⟨1⟩3. ∏ i ( 1 + e i ) ≤ e ∑ i e i \prod_i(1+e_i)\le e^{\sum_i e_i} ∏ i ( 1 + e i ) ≤ e ∑ i e i and ∏ i ( 1 − e i ) ≥ e − 2 ∑ i e i \prod_i(1-e_i)\ge e^{-2\sum_i e_i} ∏ i ( 1 − e i ) ≥ e − 2 ∑ i e i .
Proof: log ( 1 + s ) ≤ s \log(1+s)\le s log ( 1 + s ) ≤ s , and log ( 1 − s ) ≥ − 2 s \log(1-s)\ge-2s log ( 1 − s ) ≥ − 2 s for s ∈ [ 0 , 1 2 ] s\in[0,\frac{1}{2}] s ∈ [ 0 , 2 1 ] .
⟨1⟩4. ∥ H L : l ∥ 2 ≤ e 1 2 ∑ i e i \lVert H_{L:l}\rVert_2\le e^{\frac{1}{2}\sum_i e_i} ∥ H L : l ∥ 2 ≤ e 2 1 ∑ i e i .
Proof: By Lemma D.7, ∥ H i ∥ 2 2 ≤ ∥ H i ∥ 1 ∥ H i ∥ ∞ ≤ ( 1 + e i ) ⋅ 1 \lVert H_i\rVert_2^2\le\lVert H_i\rVert_1\lVert H_i\rVert_{\infty}\le(1+e_i)\cdot1 ∥ H i ∥ 2 2 ≤ ∥ H i ∥ 1 ∥ H i ∥ ∞ ≤ ( 1 + e i ) ⋅ 1 . The operator norm is submultiplicative, and 1 + e i ≤ e e i 1+e_i\le e^{e_i} 1 + e i ≤ e e i .
⟨1⟩5. Q.E.D.
Proof: By ⟨1⟩1–⟨1⟩4.
Proofs for Section 7 and Appendix B
Proof of Proposition 7.1 and of (23) . ⟨1⟩1. (23) holds, and O 1 ( n ) \mathcal{O}_1(n) O 1 ( n ) is a compact Lie group isomorphic to O ( n − 1 ) O(n-1) O ( n − 1 ) .
Proof: By Proposition 3.4 (steps ⟨1⟩2 and ⟨1⟩3 of its proof), O 1 ( n ) = { J / n + U Z U T : Z ∈ O ( n − 1 ) } \mathcal{O}_1(n)=\{J/n+UZU^{\mathsf{T}}:Z\in O(n-1)\} O 1 ( n ) = { J / n + U Z U T : Z ∈ O ( n − 1 )} . The map Z ↦ J / n + U Z U T Z\mapsto J/n+UZU^{\mathsf{T}} Z ↦ J / n + U Z U T is an injective group homomorphism, because ( J / n + U Z U T ) ( J / n + U Z ′ U T ) = J / n + U Z Z ′ U T (J/n+UZU^{\mathsf{T}})(J/n+UZ'U^{\mathsf{T}})=J/n+UZZ'U^{\mathsf{T}} ( J / n + U Z U T ) ( J / n + U Z ′ U T ) = J / n + U Z Z ′ U T , and it is smooth with a smooth inverse A ↦ U T A U A\mapsto U^{\mathsf{T}}AU A ↦ U T A U . ⟨ 1 ⟩ 2 \langle1\rangle2 ⟨ 1 ⟩ 2 . H L : l ∈ O 1 ( n ) H_{L:l} \in\mathcal{O}_1(n) H L : l ∈ O 1 ( n ) .
Proof: O 1 ( n ) \mathcal{O}_1(n) O 1 ( n ) is a group by ⟨ 1 ⟩ 1 \langle1\rangle1 ⟨ 1 ⟩ 1 .
⟨ 1 ⟩ 3 \langle1\rangle3 ⟨ 1 ⟩ 3 . Part (a) holds.
Proof: Elements of O 1 ( n ) \mathcal{O}_1(n) O 1 ( n ) satisfy A 1 = 1 A1 = 1 A 1 = 1 and A T 1 = A T A 1 = 1 A^{\mathsf{T}}1 = A^{\mathsf{T}}A1 = 1 A T 1 = A T A 1 = 1 . The proof of Theorem 3.1 uses only these two identities. By ⟨ 1 ⟩ 2 \langle1\rangle2 ⟨ 1 ⟩ 2 , each H L : i + 1 H_{L:i+1} H L : i + 1 is orthogonal, so it preserves Frobenius norms.
⟨ 1 ⟩ 4 \langle1\rangle4 ⟨ 1 ⟩ 4 . Part (b) holds.
Proof: By Theorem 3.1 , the Jacobian is x ↦ H L : l x x \mapsto H_{L:l}x x ↦ H L : l x . All singular values of an orthogonal matrix, and of this map, are one.
⟨ 1 ⟩ 5 \langle1\rangle5 ⟨ 1 ⟩ 5 . T A O 1 ( n ) = { A Ω : Ω T = − Ω , Ω 1 = 0 } T_A\mathcal{O}_1(n) = \{A\Omega: \Omega^{\mathsf{T}} = -\Omega, \Omega1 = 0\} T A O 1 ( n ) = { A Ω : Ω T = − Ω , Ω1 = 0 } .
Proof: Write A = J / n + U Z U T A = J/n + UZU^{\mathsf{T}} A = J / n + U Z U T . Then T Z O ( n − 1 ) = { Z Ω ′ : Ω ′ skew } T_ZO(n - 1) = \{Z\Omega' : \Omega'\ \text{skew}\} T Z O ( n − 1 ) = { Z Ω ′ : Ω ′ skew } , so T A O 1 ( n ) = { U Z Ω ′ U T } T_A\mathcal{O}_1(n) = \{UZ\Omega'U^{\mathsf{T}}\} T A O 1 ( n ) = { U Z Ω ′ U T } . Because J U = 0 JU = 0 J U = 0 , A ( U Ω ′ U T ) = U Z Ω ′ U T A(U\Omega'U^{\mathsf{T}}) = UZ\Omega'U^{\mathsf{T}} A ( U Ω ′ U T ) = U Z Ω ′ U T . Also, { U Ω ′ U T : Ω ′ skew } \{U\Omega'U^{\mathsf{T}} : \Omega'\ \text{skew}\} { U Ω ′ U T : Ω ′ skew } is the set of skew Ω \Omega Ω with Ω = Q Ω Q \Omega= Q\Omega Q Ω = Q Ω Q , that is, with Ω 1 = 0 \Omega1 = 0 Ω1 = 0 .
⟨ 1 ⟩ 6 \langle1\rangle6 ⟨ 1 ⟩ 6 . The Riemannian gradient of f f f for the Frobenius metric is A Q skew ( A T ∇ f ( A ) ) Q AQ\operatorname{skew}(A^{\mathsf{T}}\nabla f(A))Q A Q skew ( A T ∇ f ( A )) Q .
Proof: Let o : = { Ω skew : Ω 1 = 0 } \mathfrak{o} := \{\Omega\ \text{skew} : \Omega1 = 0\} o := { Ω skew : Ω1 = 0 } . Because A A A is orthogonal, ⟨ A Ω 1 , A Ω 2 ⟩ = ⟨ Ω 1 , Ω 2 ⟩ \langle A\Omega_1,A\Omega_2\rangle= \langle\Omega_1,\Omega_2\rangle ⟨ A Ω 1 , A Ω 2 ⟩ = ⟨ Ω 1 , Ω 2 ⟩ , so the orthogonal projection of ∇ f ( A ) \nabla f(A) ∇ f ( A ) onto T A O 1 ( n ) = A o T_A\mathcal{O}_1(n) = A\mathfrak{o} T A O 1 ( n ) = A o is A Π o ( A T ∇ f ( A ) ) A\Pi_{\mathfrak{o}}(A^{\mathsf{T}}\nabla f(A)) A Π o ( A T ∇ f ( A )) . The maps X ↦ skew ( X ) X \mapsto\operatorname{skew}(X) X ↦ skew ( X ) and X ↦ Q X Q X \mapsto QXQ X ↦ QX Q are commuting orthogonal projections, because skew ( Q X Q ) = Q skew ( X ) Q \operatorname{skew}(QXQ) = Q\operatorname{skew}(X)Q skew ( QX Q ) = Q skew ( X ) Q . Thus their product X ↦ Q skew ( X ) Q X \mapsto Q\operatorname{skew}(X)Q X ↦ Q skew ( X ) Q is the orthogonal projection onto the intersection of their ranges, which is o \mathfrak{o} o .
⟨ 1 ⟩ 7 \langle1\rangle7 ⟨ 1 ⟩ 7 . The Cayley map is a retraction on O 1 ( n ) \mathcal{O}_1(n) O 1 ( n ) .
Proof: By Lemma D.8, R A ( A Ω ) = A C ( Ω ) R_A(A\Omega) = AC(\Omega) R A ( A Ω ) = A C ( Ω ) is smooth and orthogonal, R A ( 0 ) = A R_A(0) = A R A ( 0 ) = A , and d d t R A ( t A Ω ) ∣ t = 0 = A Ω \left.\frac{\mathrm{d}}{\mathrm{d}t}R_A(tA\Omega)\right|_{t=0} = A\Omega d t d R A ( t A Ω ) t = 0 = A Ω . Because Ω 1 = 0 \Omega1 = 0 Ω1 = 0 , ( I + 1 2 Ω ) 1 = 1 (I + \frac{1}{2}\Omega)1 = 1 ( I + 2 1 Ω ) 1 = 1 and ( I − 1 2 Ω ) − 1 1 = 1 (I - \frac{1}{2}\Omega)^{-1}1 = 1 ( I − 2 1 Ω ) − 1 1 = 1 . Thus C ( Ω ) 1 = 1 C(\Omega)1 = 1 C ( Ω ) 1 = 1 , and R A ( A Ω ) 1 = A 1 = 1 R_A(A\Omega)1 = A1 = 1 R A ( A Ω ) 1 = A 1 = 1 , so R A ( A Ω ) ∈ O 1 ( n ) R_A(A\Omega) \in\mathcal{O}_1(n) R A ( A Ω ) ∈ O 1 ( n ) .
⟨ 1 ⟩ 8 \langle1\rangle8 ⟨ 1 ⟩ 8 . Q.E.D.
Proof: By ⟨ 1 ⟩ 1 \langle1\rangle1 ⟨ 1 ⟩ 1 –⟨ 1 ⟩ 7 \langle1\rangle7 ⟨ 1 ⟩ 7 ; Proposition 3.4(b) gives S n ⊂ O 1 ( n ) \mathfrak{S}_n \subset\mathcal{O}_1(n) S n ⊂ O 1 ( n ) .
Proof of Proposition B.4. ⟨ 1 ⟩ 1 \langle1\rangle1 ⟨ 1 ⟩ 1 . The pullbacks f ∘ R A f \circ R_A f ∘ R A have Hessians that are bounded on a neighborhood of the origin, uniformly in A ∈ O 1 ( n ) A \in\mathcal{O}_1(n) A ∈ O 1 ( n ) .
Proof: O 1 ( n ) \mathcal{O}_1(n) O 1 ( n ) is compact, the Cayley retraction R R R of Proposition 7.1(c) is smooth, and f f f is twice continuously differentiable near O 1 ( n ) \mathcal{O}_1(n) O 1 ( n ) .
⟨ 1 ⟩ 2 \langle1\rangle2 ⟨ 1 ⟩ 2 . Q.E.D.
Proof: Let Λ \Lambda Λ be the bound of ⟨ 1 ⟩ 1 \langle1\rangle1 ⟨ 1 ⟩ 1 . The standard analysis of Riemannian gradient descent with a constant step at most 1 / Λ 1/\Lambda 1/Λ gives min k < N ∥ grad O f ( A ( k ) ) ∥ F 2 ≤ 2 Λ ( f ( A ( 0 ) ) − min f ) / N \min_{k<N}\left\|\operatorname{grad}_{\mathcal{O}} f(A^{(k)})\right\|_F^2 \leq2\Lambda(f(A^{(0)})-\min f)/N min k < N grad O f ( A ( k ) ) F 2 ≤ 2Λ ( f ( A ( 0 ) ) − min f ) / N ([14 Chapter 4] ).
Discussion
What the theory says about mHC
The doubly stochastic constraint gives one property, and it gives this property completely. The stream mean propagates through a residual network with unit gain, for every mixer and every depth. All other effects of the mixers stay in the difference channel, where the mixers contract. Thus the extra width of mHC is a short memory of O ( τ ) O(\tau) O ( τ ) layers on top of a standard residual stream. The measurements of Xie et al. [57 ] ; Alimaskina et al. [3 ] ; Zhao et al. [60 ] ; Guo et al. [24 ] agree with this prediction.
The Sinkhorn-logit chart puts the collapse-free mixers at infinity, and logit gradient flow moves toward them only at rate 1 / t 1/t 1/ t . The straight-through update is exact mirror descent, it moves at an exponential rate, and it needs no backward pass through Sinkhorn. Mixers with a long horizon are also the mixers that Sinkhorn projects most slowly. For a trained model, two cheap diagnostics follow: σ 2 ( H l ) \sigma_2(H_l) σ 2 ( H l ) gives the horizon of layer l l l , and the final column-sum error bounds the drift of the backward gain (Proposition 6.2 ). Table 3 compares the four ways to move a mixer that we study.
Table 3. Four ways to move a residual mixer, and what the theory says about each.
Limits
The theory does not say if a long horizon helps language modeling. It shows only that the Birkhoff design cannot have one at moderate budgets. Fast commitment to a vertex can also be premature (Liu, 2026), and adaptive optimizers already reduce the viscosity (Remark 5.7). Our results on input-dependent logits hold input by input (Remark 4.6).
Open problems
Adaptive dynamics on the polytope. Theorem 5.3 is about gradient flow. A rate theorem for Adam-type dynamics through the Sinkhorn chart would show how much viscosity remains
in the regime in which mHC trains. The sign-descent analyses of adaptive methods are a possible start.
Escape rates. Theorem 5.4 shows that the Fisher–Rao flow can approach a vertex at an exponential rate, for one loss. For n > 2 n > 2 n > 2 , two questions are open: a matching result for escape, and a characterization of the losses that attain the exponential rate. The second question is the analogue of the reduced-cost gap of linear programming.
Random products. Theorem 3.2 is a worst-case bound. The input-dependent mixers of mHC give a product of random doubly stochastic matrices. Its Lyapunov exponent on 1 ⊥ 1^{\perp} 1 ⊥ is the natural definition of the effective horizon. The theory of Furstenberg and Kesten can give it in terms of the distribution of σ 2 \sigma_2 σ 2 .
Exact parameterizations. Each exact parameterization of B n \mathcal{B}_n B n ([58 , 61 , 38 , 18 , 23 ] ), and the exact projection with implicit differentiation ([54 ] ), induces a metric on B n ∘ \mathcal{B}_n^\circ B n ∘ through the analogue of Lemma 4.2 . A computation of these metrics near the vertices would extend § 5 to the whole family.
Isometric designs. By Proposition 3.4 , a smooth collapse-free design must allow negative entries, as the orthogonal and spectral-sphere designs do ([50 , 24 ] (Liu et al. 2026)). The subgroup O 1 ( n ) \mathcal{O}_1(n) O 1 ( n ) keeps the residual identity on the mean exactly. The full orthogonal group trades it for a coupling of mean and differences. It is an empirical question which inductive bias is better. The evidence of Guo et al. [24 ] currently favors the full group.