betaFeedback

WorksComputer Science

Linear-Size Spectral Sparsification by Sign Descent

Abstract

Given an undirected graph with nn vertices, mm edges, and arbitrary positive weights, we construct a (1±ε)(1\pm\varepsilon)-spectral sparsifier with O(n/ε2)O(n/\varepsilon^2) edges. For every 0<ε<10<\varepsilon<1, the algorithm succeeds with high probability and runs in time O ⁣(n+ε−3[mlog⁡2n+nlog⁡3n (log⁡log⁡n)4]). O\!\left(n+\varepsilon^{-3}\bigl[m\log^2 n+n\log^3 n\,(\log\log n)^4\bigr]\right). In each phase we seek a reweighting that brings many edge weights to zero or twice their current value while keeping the relative change in every graph energy small. Reversing the weight changes preserves the error and exchanges deletion with doubling, so one choice deletes at least half the edges that reach an endpoint. We balance a smooth penalty for spectral error against a linear reward for alignment with independent random signs. Each step changes the free weights by a fixed fraction of their values at the start of the phase, with directions chosen from the estimated signs of the negative gradient. A weight stays fixed once it reaches an endpoint. We show that while few weights are fixed, the remaining edges admit a direction whose gain in reward exceeds its first-order spectral cost by a constant. The objective is bounded below, so this decrease forces a constant fraction of the weights to an endpoint. We repeat the partial coloring on the surviving edges, choosing the tolerances to keep the total relative error within ε\varepsilon.

Introduction

Let GG be a weighted undirected graph with Laplacian LGL_G. The energy of an assignment ff of real values to the vertices is

fTLGf=∑uv∈E(G)wuv(f(u)−f(v))2.f^\mathsf{T}L_Gf=\sum_{uv\in E(G)}w_{uv}(f(u)-f(v))^2.

A spectral sparsifier preserves this energy to small relative error for every ff using a reweighted subset of the edges.

Theorem 1. Let GG be an undirected graph with nn vertices, mm edges, and positive real weights. For every 0<ε<10 < \varepsilon< 1, a randomized algorithm returns, with high probability, a reweighted subgraph HH with O(n/ε2)O(n/\varepsilon^2) edges and (1−ε)LG⪯LH⪯(1+ε)LG(1-\varepsilon)L_G \preceq L_H \preceq(1+\varepsilon)L_G. Its worst-case running time is

O(n+ε−3[mlog⁡2n+nlog⁡3n(log⁡log⁡n)4]).O\left(n+\varepsilon^{-3}\left[m\log^2 n+n\log^3 n(\log\log n)^4\right]\right).

Removing edges in phases. A phase computes and applies one partial coloring of the current graph. Its goal is to delete a constant fraction of the edges while keeping the relative change in every graph energy small. If the phase starts with pp edges of weights wew_e, write the new weight of ee as (1+xe)we(1+x_e)w_e with xe∈[−1,1]x_e\in[-1,1]. The energy change on an assignment ff is ∑e=uvxewe(f(u)−f(v))2\sum_{e=uv}x_ew_e(f(u)-f(v))^2. It is linear in xx, so xx and −x-x have the same worst relative error. It therefore suffices to bring a constant fraction of the coordinates to either endpoint of [−1,1][-1,1]. One of xx and −x-x sets at least half of the corresponding weights to zero. We call such an xx a partial coloring.

The next phase starts from the new weights on the surviving edges. Let LL be the Laplacian before the first coloring phase. We measure the errors of all phases relative to LL, and their sum bounds the final relative error. Give the current phase a tolerance ρ\rho, meaning that its relative error may be O(ρ)O(\rho). The partial coloring below achieves this with ρ=Cn/p\rho= C\sqrt{n/p} for an absolute constant CC. Since pp decreases geometrically, the sum of these tolerances is within a constant factor of the last one. Stopping at O(n/ε2)O(n/\varepsilon^2) edges therefore gives total error O(ε)O(\varepsilon). In § 4 we give some phases a larger share of the budget so that they can take larger steps.

Choosing the weight changes. Let ΔL(x)\Delta L(x) be the change in the current Laplacian. On im⁡L\operatorname{im} L, define the normalized error matrix

H(x)=1ρL−1/2ΔL(x)L−1/2.H(x) = \frac{1}{\rho}L^{-1/2}\Delta L(x)L^{-1/2}.

By the Rayleigh quotient, ρ∥H(x)∥\rho\lVert H(x)\rVert is the largest absolute energy change relative to LL. Thus it suffices to keep ∥H(x)∥\lVert H(x)\rVert bounded by a constant.

To compare possible moves, we need a smooth measure of spectral error. The ℓ∞\ell_\infty-norm of 11 and the eigenvalues of HH is max⁡{1,∥H∥}\max\{1,\lVert H\rVert\}. For an even ℓ=Θ(log⁡n)\ell= \Theta(\log n) with n1/ℓ≤2n^{1/\ell} \le2, their ℓ\ell-norm N(H)=(1+Tr⁡Hℓ)1/ℓN(H)=(1+\operatorname{Tr}H^\ell)^{1/\ell} approximates this maximum within a constant factor. We use log⁡N(H)\log N(H) as the penalty, so the cost of a move depends on the ratio of the new norm to the old one. The original weights minimize this penalty, so we encourage movement toward the boundary by rewarding alignment with a random sign vector σ\sigma. This gives

F(x)=1ℓlog⁡(1+Tr⁡H(x)ℓ)−⟨σ,x⟩p.F(x)=\frac{1}{\ell}\log(1+\operatorname{Tr}H(x)^\ell)-\frac{\langle\sigma,x\rangle}{p}.

To bound the change in the penalty, let λi\lambda_i and λi′\lambda_i' be the eigenvalues of HH and H+EH+E, respectively, in increasing order. For every unit vector vv we have ∣v⊤Ev∣≤∥E∥\lvert v^\top Ev\rvert\le\lVert E\rVert, so the min–max principle gives ∣λi′−λi∣≤∥E∥\lvert\lambda_i'-\lambda_i\rvert\le\lVert E\rVert for each ii. By the triangle inequality for the ℓ\ell-norm,

∣N(H+E)−N(H)∣≤(∑i∣λi′−λi∣ℓ)1/ℓ≤n1/ℓ∥E∥≤2∥E∥.\lvert N(H+E)-N(H)\rvert\le\left(\sum_i\lvert\lambda_i'-\lambda_i\rvert^\ell\right)^{1/\ell}\le n^{1/\ell}\lVert E\rVert\le2\lVert E\rVert.

Both norms are at least one, and the derivative of log⁡\log is at most one on [1,∞)[1,\infty). Thus adding EE to HH changes the penalty by at most 2∥E∥2\lVert E\rVert.

Why many weights reach an endpoint. Start at x=0x=0. At each step we move the free coordinates a common distance and freeze any coordinate that reaches −1-1 or 11. The signs of the negative gradient minimize the directional derivative of FF over all directions supported on the free edges with entries in [−1,1][-1,1]. It therefore suffices to exhibit one such direction whose gain in reward exceeds its marginal spectral cost.

Following every target sign could incur large spectral error. For example, either sign on a bridge gives relative error one on its cut, regardless of the signs on the other edges. We show that a constant fraction of the target correlation is attainable at small spectral cost. With high probability over σ\sigma, for every sufficiently small frozen set there is a direction z∈{−1,0,1}pz\in\{-1,0,1\}^p supported on the free coordinates with ⟨σ,z⟩≥p/2\langle\sigma,z\rangle\ge p/2 and relative spectral error O(n/p)O(\sqrt{n/p}) (Lemma 3). We need the guarantee simultaneously for all small frozen sets because the frozen sets depend on σ\sigma and determine which coordinates freeze.

Moving from xx to x+tzx+tz for small t>0t>0 gains at least t/2t/2 in reward. The error matrix changes by tH(z)tH(z), so the penalty increases by at most 2t∥H(z)∥≤t/42t\lVert H(z)\rVert\le t/4 when ρ≥Cn/p\rho\ge C\sqrt{n/p} for a sufficiently large CC. Thus the directional derivative of FF along zz is at most −1/4-1/4, and the negative gradient signs give at least as much decrease. A sufficiently small step of length h=Θ(ρ2/log⁡n)h=\Theta(\rho^2/\log n) retains a constant fraction of this decrease. The objective starts at zero and is bounded below by −1-1, since the penalty is nonnegative and the reward is at most one. With exact signs the walk must therefore freeze a constant fraction of the coordinates within O(1/h)O(1/h) steps. At that point F≤0F\le0 also bounds the penalty by one, giving relative spectral error at most ερ\varepsilon\rho.

Estimating the edge derivatives. Let Ee=∂H/∂xeE_e=\partial H/\partial x_e. The update on edge ee compares the reward derivative σe/p\sigma_e/p with the marginal spectral cost Tr⁡(Hℓ−1Ee)/(1+Tr⁡Hℓ)\operatorname{Tr}(H^{\ell-1}E_e)/(1+\operatorname{Tr}H^\ell). All the numerators pair an edge matrix with the same power of HH. For an outer product uv⊤uv^\top, this is just Tr⁡(uv⊤Ee)=v⊤Eeu\operatorname{Tr}(uv^\top E_e)=v^\top E_eu. To choose the pair, draw a vector ξ\xi of independent uniform signs. For any matrix MM, E[ξ⊤Mξ]=Tr⁡M\mathbb{E}[\xi^\top M\xi]=\operatorname{Tr}M, since the off-diagonal terms have mean zero. Write ℓ=2k\ell=2k, so that Hℓ−1=Hk−1HkH^{\ell-1}=H^{k-1}H^k. Compute u=Hk−1ξu=H^{k-1}\xi and take one more product by HH to obtain v=Hkξv=H^k\xi. For every edge,

E[v⊤Eeu]=E[ξ⊤HkEeHk−1ξ]=Tr⁡(HkEeHk−1)=Tr⁡(Hℓ−1Ee).\mathbb{E}[v^\top E_eu]=\mathbb{E}[\xi^\top H^kE_eH^{k-1}\xi]=\operatorname{Tr}(H^kE_eH^{k-1})=\operatorname{Tr}(H^{\ell-1}E_e).

To evaluate these bilinear forms on the graph, write H(x)=RΔL(x)R⊤/ρH(x)=R\Delta L(x)R^{\top}/\rho. Taking R=L−1/2R=L^{-1/2} gives the exact normalization. In § 5 we approximate this normalization with a Laplacian solver. Let f=R⊤uf=R^{\top}u and g=R⊤vg=R^{\top}v be the corresponding vertex functions. Increasing xex_e by tt adds twetw_e to the weight of e=abe=ab. Applying the graph energy formula to this edge gives

v⊤Eeu=1ρg⊤∂ΔL(x)∂xef=weρ(f(a)−f(b))(g(a)−g(b)).v^{\top}E_eu=\frac{1}{\rho}g^{\top}\frac{\partial\Delta L(x)}{\partial x_e}f=\frac{w_e}{\rho}\bigl(f(a)-f(b)\bigr)\bigl(g(a)-g(b)\bigr).

One scan of the edges now gives every numerator estimate from ff and gg. The same trial estimates the common denominator by 1+∥v∥221+\lVert v\rVert_2^2, since ∥v∥22=ξ⊤Hℓξ\lVert v\rVert_2^2=\xi^{\top}H^{\ell}\xi. Consequently (σe/p)(1+∥v∥22)−v⊤Eeu(\sigma_e/p)(1+\lVert v\rVert_2^2)-v^{\top}E_eu has mean −(1+Tr⁡Hℓ)∂eF(x)-(1+\operatorname{Tr}H^{\ell})\partial_eF(x). In § 3.1 we estimate the sign of this mean on each free edge and bound the effect of sign errors on the decrease in FF.

Comparison with prior work. Spielman and Srivastava [7] sample edges independently with probabilities proportional to their weights times their effective resistances. This gives a nearly linear-time construction at the cost of an extra logarithm in size, with O(nlog⁡n/ε2)O(n\log n/\varepsilon^2) edges. Batson, Spielman, and Srivastava [1] first obtained O(n/ε2)O(n/\varepsilon^2) edges deterministically by adding one edge at a time between two spectral barriers. Lee and Sun [4] attained this size in nearly linear time by choosing batches of edges with a semidefinite packing program. In their work bound the factor δ−3\delta^{-3} for solving this program already contributes six powers of log⁡n\log n at their choice δ=ε/log⁡2n\delta=\varepsilon/\log^2 n, compared with three in Theorem 1 [4 Theorem 4.5 and proof of Lemma 3.7].

Lau, Wang, and Zhou [5] gave a deterministic polynomial-time discrepancy walk for the matrix partial-coloring theorem of Reis and Rothvoss [6]. Jambulapati, Reis, and Tian [2] obtain the same edge count by partial coloring. They use a bound on the Gaussian measure of an operator-norm ball to show that projecting a Gaussian target onto its intersection with the cube brings many coordinates to endpoints. Here an elementary argument with random signs supplies the partial coloring without using theorems from convex geometry. Up to iterated logarithms, their running time is O(mε−7/2log⁡4mlog⁡(1/ε))O(m\varepsilon^{-7/2}\log^4m\log(1/\varepsilon)). Our algorithm thus improves both the dependence on 1/ε1/\varepsilon and the logarithmic factors in the graph size.

Preliminaries

For symmetric matrices we write ⟨X,Y⟩=Tr⁡(XY)\langle X,Y\rangle=\operatorname{Tr}(XY) and X⪯YX\preceq Y when Y−XY-X is positive semidefinite (PSD). We use ∥⋅∥\lVert\cdot\rVert for the operator norm, ∥⋅∥F\lVert\cdot\rVert_F for the Frobenius norm, and ∣X∣|X| for the matrix obtained by taking absolute values of the eigenvalues of a symmetric XX. For S⪰0S\succeq0, write S†S^{\dagger} for its pseudoinverse and ΠS\Pi_S for the orthogonal projector onto im⁡S\operatorname{im}S.

Whitening. Suppose S=∑iBiS=\sum_iB_i is a sum of PSD matrices. Every BiB_i vanishes on ker⁡S\ker S, since for f∈ker⁡Sf\in\ker S the nonnegative terms f⊤Biff^{\top}B_if sum to zero. Multiplying each summand on both sides by S†1/2=(S†)1/2S^{\dagger1/2}=(S^{\dagger})^{1/2} gives matrices Ai=S†1/2BiS†1/2A_i=S^{\dagger1/2}B_iS^{\dagger1/2} with ∑iAi=ΠS\sum_iA_i=\Pi_S. This change of coordinates is called whitening. It turns relative error into an operator norm bound. Indeed, for T=∑ixiBiT=\sum_i x_iB_i we have

T=S1/2(∑ixiAi)S1/2,−ηS⪯T⪯ηS⟺∥∑ixiAi∥≤η.T=S^{1/2}\left(\sum_i x_iA_i\right)S^{1/2},\qquad -\eta S\preceq T\preceq\eta S \quad\Longleftrightarrow\quad \left\lVert\sum_i x_iA_i\right\rVert\le\eta.

Edge differences. Orient each edge e=abe=ab arbitrarily and put be=ea−ebb_e=e_a-e_b, where eae_a is the unit vector at aa. The weighted incidence matrix CC has rows ce⊤=webe⊤c_e^{\top}=\sqrt{w_e}b_e^{\top} and satisfies L=C⊤CL=C^{\top}C. Thus (Cf)e=we(f(a)−f(b))(Cf)_e=\sqrt{w_e}(f(a)-f(b)) for every vertex function ff.

Finding a partial coloring

Let A1,…,ApA_1,\ldots,A_p be PSD matrices with ∑iAi⪯I\sum_iA_i\preceq I, and write A(x)=∑ixiAi\mathcal{A}(x)=\sum_i x_iA_i. A change xx in the coefficients has matrix error A(x)\mathcal{A}(x). We want this error small and a constant fraction of x1,…,xpx_1,\ldots,x_p at endpoints of [−1,1][-1,1]. Such a vector is called a partial coloring. We choose a tolerance ρ\rho for this call and require ∥A(x)∥=O(ρ)\lVert\mathcal{A}(x)\rVert=O(\rho). A larger tolerance reduces the number of matrix products.

Theorem 2 (Partial coloring). Suppose A1,…,Ap⪰0A_1,\ldots,A_p \succeq0 are D×DD \times D matrices with ∑iAi⪯I\sum_i A_i \preceq I and rank⁡(∑iAi)≤d\operatorname{rank}(\sum_i A_i) \le d for some d≥1d \ge1. Let 64d/p≤ρ≤164\sqrt{d/p} \le\rho\le1. Choose an even integer ℓ≥4\ell\ge4 with d1/ℓ≤2d^{1/\ell} \le2. Except with probability e−ℓ+e−p/64e^{-\ell}+e^{-p/64}, a randomized algorithm returns y∈[−1,1]py \in[-1,1]^p satisfying

#{i:yi=−1}≥γp/2,∥A(y)∥≤e3ρ,\#\{i:y_i=-1\}\ge\gamma p/2,\qquad\lVert A(y)\rVert\le e^3\rho,

where γ>0\gamma>0 is an absolute constant. If a product by A(x)A(x) costs Tmv≥DT_{\mathrm{mv}}\ge D and computing all u⊤Aivu^\top A_i v for a given pair u,vu,v costs Tsc≥pT_{\mathrm{sc}}\ge p, the time on every run is

O(ρ−3(ℓ2Tmv+ℓTsc)).O\left(\rho^{-3}\left(\ell^2T_{\mathrm{mv}}+\ell T_{\mathrm{sc}}\right)\right).

The objective. Choose independent uniform signs σ1,…,σp\sigma_1,\ldots,\sigma_p and write σ=(σ1,…,σp)\sigma=(\sigma_1,\ldots,\sigma_p). Keep these signs fixed throughout the walk. For H=A(x)/ρH=A(x)/\rho, put

Z(H)=1+Tr⁡Hℓ,Φ(H)=log⁡Z(H)ℓ,F(x)=Φ(H)−⟨σ,x⟩p.Z(H)=1+\operatorname{Tr}H^\ell,\qquad\Phi(H)=\frac{\log Z(H)}{\ell},\qquad F(x)=\Phi(H)-\frac{\langle\sigma,x\rangle}{p}.

The quantity eΦ(H)e^{\Phi(H)} is the ℓ\ell-norm of 11 and the nonzero eigenvalues of HH, so it lies between max⁡{1,∥H∥}\max\{1,\lVert H\rVert\} and (d+1)1/ℓmax⁡{1,∥H∥}(d+1)^{1/\ell}\max\{1,\lVert H\rVert\}. The reward has absolute value at most one on the cube. Thus F(0)=0F(0)=0, F(x)≥−1F(x)\ge-1, and ∥A(x)∥=ρ∥H∥≤ρeF(x)+1\lVert A(x)\rVert=\rho\lVert H\rVert\le\rho e^{F(x)+1}.

Let S=∑iAiS=\sum_i A_i. If v∈ker⁡Sv\in\ker S, then 0=v⊤Sv=∑i∥Ai1/2v∥220=v^\top Sv=\sum_i\lVert A_i^{1/2}v\rVert_2^2, so each Aiv=0A_i v=0. Thus A(x)A(x) vanishes on ker⁡S\ker S for every xx. We take traces on im⁡S\operatorname{im}S, of dimension at most dd, with X0=IX^0=I on this space.

To bound the derivatives of the penalty, we compare lower trace powers with Tr⁡Xℓ\operatorname{Tr}X^\ell. Let λi\lambda_i be the eigenvalues of a symmetric XX on this space. For 0<j<ℓ0<j<\ell, Hölder’s inequality gives

Tr⁡∣X∣ℓ−j=∑i∣λi∣ℓ−j≤dj/ℓ(Tr⁡Xℓ)1−j/ℓ≤2jZ(X).(1)\operatorname{Tr}|X|^{\ell-j}=\sum_i|\lambda_i|^{\ell-j}\le d^{j/\ell}(\operatorname{Tr}X^\ell)^{1-j/\ell}\le2^jZ(X). \tag*{(1)}

The factor dj/ℓd^{j/\ell} is at most 2j2^j by the choice of ℓ\ell, and Z(X)=1+Tr⁡XℓZ(X)=1+\operatorname{Tr}X^\ell bounds the remaining factor. The same bound holds for j=0j=0 since Tr⁡Xℓ≤Z(X)\operatorname{Tr}X^\ell\le Z(X), and for j=ℓj=\ell since Tr⁡I≤d≤2ℓ\operatorname{Tr}I\le d\le2^\ell.

To differentiate a matrix power in a symmetric direction EE, apply the product rule to its jj factors,

dds(X+sE)j∣s=0=∑a+b=j−1XaEXb(j≥1).(2)\left.\frac{d}{ds}(X+sE)^j\right|_{s=0}=\sum_{a+b=j-1}X^aEX^b\qquad(j\ge1). \tag*{(2)}

For j=ℓj=\ell, all ℓ\ell terms have trace Tr⁡(Xℓ−1E)\operatorname{Tr}(X^{\ell-1}E). Differentiating Φ=ℓ−1log⁡Z\Phi=\ell^{-1}\log Z therefore gives

DΦ(X)[E]=Tr⁡(Xℓ−1E)Z(X),∣DΦ(X)[E]∣≤Tr⁡∣X∣ℓ−1Z(X)∥E∥≤2∥E∥.D\Phi(X)[E]=\frac{\operatorname{Tr}(X^{\ell-1}E)}{Z(X)},\qquad|D\Phi(X)[E]|\le\frac{\operatorname{Tr}|X|^{\ell-1}}{Z(X)}\lVert E\rVert\le2\lVert E\rVert.

The first inequality uses ∣v⊤Ev∣≤∥E∥|v^\top Ev|\le\lVert E\rVert on each unit eigenvector of XX, and the second uses (1).

A direction of decrease. While few coordinates have frozen, we need a direction on the remaining coordinates whose reward gain exceeds its spectral cost. The following lemma supplies such a direction for every sufficiently small frozen set.

Lemma 3. Let Ai⪰0A_i\succeq0, with ∑i=1pAi⪯I\sum_{i=1}^p A_i\preceq I of rank at most dd, and suppose p≥64dp\ge64d. With probability at least 1−e−p/641-e^{-p/64} over σ\sigma, for every J⊆[p]J\subseteq[p] of size at most γp\gamma p there is a vector z∈{−1,0,1}pz\in\{-1,0,1\}^p satisfying

zi=0(i∈J),⟨σ,z⟩≥p/2,∥A(z)∥≤8d/p.z_i=0\quad(i\in J),\qquad\langle\sigma,z\rangle\ge p/2,\qquad\lVert A(z)\rVert\le8\sqrt{d/p}.

We prove the lemma in § 3.2. Suppose its conclusion holds and JJ is the current frozen set, with ∣J∣<γp|J|<\gamma p. The sum of the absolute derivatives on the free coordinates is the greatest first-order decrease attainable in the [−1,1]p[-1,1]^p vanishing on JJ. The negative gradient signs attain this sum. To lower bound it, test the direction zz from the lemma, whose reward derivative is ⟨σ,z⟩/p\langle\sigma,z\rangle/p and whose penalty derivative is DΦ(H)[A(z)/ρ]D\Phi(H)[A(z)/\rho]. We obtain

∑i∉J∣∂iF(x)∣≥−⟨∇F(x),z⟩≥⟨σ,z⟩p−2∥A(z)∥ρ≥12−16ρdp≥14.(3)\sum_{i\notin J}|\partial_iF(x)|\ge-\langle\nabla F(x),z\rangle\ge\frac{\langle\sigma,z\rangle}{p}-\frac{2\lVert A(z)\rVert}{\rho}\ge\frac12-\frac{16}{\rho}\sqrt{\frac{d}{p}}\ge\frac14. \tag*{(3)}

The algorithm only needs to estimate the signs of the derivatives.

The walk. Let BB be the smallest power of two at least C/ρC/\rho, for a sufficiently large absolute constant CC. Start at x=0x=0 and take steps of length h=1/(ℓB2)h=1/(\ell B^2). At each step let Δi\Delta_i be the estimated sign of −∂iF(x)-\partial_iF(x) on free coordinates and zero on frozen ones, with either sign allowed at a tie. Move to x+hΔx+h\Delta and freeze every coordinate that reaches an endpoint. Since 1/h1/h is an integer, this grid walk stays in the cube. When at least γp\gamma p coordinates have frozen, return whichever of x,−xx,-x has more entries equal to −1-1. Report failure if this has not happened by step T=32/hT=32/h.

Progress in one step. At step tt, write xtx_t for the current point and Δt\Delta_t for the direction chosen by the walk. Let JtJ_t be the frozen set and let MtM_t contain the free coordinates on which Δt\Delta_t has the wrong sign. On each such coordinate the contribution to the directional derivative changes from −∣∂iF∣-|\partial_iF| to +∣∂iF∣+|\partial_iF|. Thus

⟨∇F(xt),Δt⟩=−∑i∉Jt∣∂iF(xt)∣+Lt,Lt=2∑i∈Mt∣∂iF(xt)∣.\langle\nabla F(x_t),\Delta_t\rangle=-\sum_{i\notin J_t}|\partial_iF(x_t)|+L_t,\qquad L_t=2\sum_{i\in M_t}|\partial_iF(x_t)|.

Set Lt=0L_t=0 after the walk stops.

To pass from the directional derivative to the change in FF, we use the trace bound

∣Tr⁡(XaEXbE)∣≤∥E∥2Tr⁡∣X∣a+b(a,b≥0)(4)|\operatorname{Tr}(X^aEX^bE)|\leq\|E\|^2\operatorname{Tr}|X|^{a+b}\qquad(a,b\geq0) \tag*{(4)}

for symmetric XX, EE and integer exponents. In an eigenbasis of XX the trace is ∑i,jλiaλjbEij2\sum_{i,j}\lambda_i^a\lambda_j^bE_{ij}^2. Write s=a+b>0s=a+b>0. Weighted AM–GM and the symmetry Eij=EjiE_{ij}=E_{ji} give

∑i,j∣λi∣a∣λj∣bEij2≤∑i,ja∣λi∣s+b∣λj∣ssEij2=∑i∣λi∣s(E2)ii.\sum_{i,j}|\lambda_i|^a|\lambda_j|^bE_{ij}^2\leq\sum_{i,j}\frac{a|\lambda_i|^s+b|\lambda_j|^s}{s}E_{ij}^2=\sum_i|\lambda_i|^s(E^2)_{ii}.

Now (E2)ii≤∥E∥2(E^2)_{ii}\leq\|E\|^2, which also proves the claim for a=b=0a=b=0.

Along Xs=X+sEX_s=X+sE, write z(s)=Z(Xs)z(s)=Z(X_s) and N(s)=Tr⁡(Xsℓ−1E)N(s)=\operatorname{Tr}(X_s^{\ell-1}E). By (2) and cyclicity, z′(s)=ℓN(s)z'(s)=\ell N(s), so ddsΦ(Xs)=N(s)/z(s)\frac{d}{ds}\Phi(X_s)=N(s)/z(s). Differentiating this quotient at s=0s=0 gives

D2Φ(X)[E,E]=N′(0)z(0)−N(0)z′(0)z(0)2=∑a+b=ℓ−2Tr⁡(XaEXbE)Z(X)−ℓ(Tr⁡(Xℓ−1E)Z(X))2.D^2\Phi(X)[E,E]=\frac{N'(0)}{z(0)}-\frac{N(0)z'(0)}{z(0)^2}=\frac{\sum_{a+b=\ell-2}\operatorname{Tr}(X^aEX^bE)}{Z(X)}-\ell\left(\frac{\operatorname{Tr}(X^{\ell-1}E)}{Z(X)}\right)^2.

The sum in N′(0)N'(0) comes from differentiating the ℓ−1\ell-1 factors of XsX_s in Tr⁡(Xsℓ−1E)\operatorname{Tr}(X_s^{\ell-1}E) using (2). Each of the ℓ−1\ell-1 trace terms is at most ∥E∥2Tr⁡∣X∣ℓ−2≤4∥E∥2Z(X)\|E\|^2\operatorname{Tr}|X|^{\ell-2}\leq4\|E\|^2Z(X) by (4) and (1). Thus the second derivative is at most 4(ℓ−1)∥E∥24(\ell-1)\|E\|^2 all along the step. Every ∥Δ∥∞≤1\|\Delta\|_\infty\leq1 satisfies −∑iAi⪯A(Δ)⪯∑iAi-\sum_iA_i\preceq A(\Delta)\preceq\sum_iA_i, and hence ∥A(Δ)∥≤1\|A(\Delta)\|\leq1. Taylor’s theorem along the step, with E=A(Δt)/ρE=A(\Delta_t)/\rho, now gives

F(xt+1)−F(xt)≤−h/4+hLt+2(ℓ−1)h2/ρ2≤−h/8+hLt.(5)F(x_{t+1})-F(x_t)\leq-h/4+hL_t+2(\ell-1)h^2/\rho^2\leq-h/8+hL_t. \tag*{(5)}

The linear term uses (3). The quadratic term is at most 2h/(ρB)2≤h/82h/(\rho B)^2\leq h/8 by the choice of hh and CC.

It suffices, therefore, to show ∑t<TLt≤T/16\sum_{t<T}L_t\leq T/16. Under this condition, summing (5) over any jj steps actually taken gives F(xj)≤−jh/8+hT/16=2−jh/8F(x_j)\leq-jh/8+hT/16=2-jh/8. Taking all TT steps would give F(xT)≤−2F(x_T)\leq-2, contradicting F≥−1F\geq-1. At stopping, F(x)≤2F(x)\leq2 gives ∥A(x)∥≤ρeF(x)+1≤e3ρ\|A(x)\|\leq\rho e^{F(x)+1}\leq e^3\rho. The choice between xx and −x-x preserves this bound and gives at least γp/2\gamma p/2 entries equal to −1-1.

Estimating the derivative signs

Fix the target σ\sigma and write X=A(x)/ρX=A(x)/\rho. Multiplying the negative gradient by the positive scalar ρZ(X)\rho Z(X) gives

si(X)=−ρZ(X)∂iF(x)=ρσipZ(X)−Tr⁡(AiXℓ−1).s_i(X)=-\rho Z(X)\partial_iF(x)=\frac{\rho\sigma_i}{p}Z(X)-\operatorname{Tr}(A_iX^{\ell-1}).

We estimate all entries of s(X)s(X) using the same random sign vector ξ∈RD\xi\in\mathbb{R}^D. With k=ℓ/2k=\ell/2, compute u=Xk−1ξu=X^{k-1}\xi and v=Xkξ=Xuv=X^k\xi=Xu. The probe is

Pi(X,ξ)=ρσip(1+∥v∥22)−uTAiv.(6)P_i(X,\xi)=\frac{\rho\sigma_i}{p}(1+\|v\|_2^2)-u^\mathsf{T}A_i v. \tag*{(6)}

Indeed, E[ξTMξ]=Tr⁡M\mathbb{E}[\xi^\mathsf{T}M\xi]=\operatorname{Tr}M gives E∥v∥22=Tr⁡Xℓ\mathbb{E}\|v\|_2^2=\operatorname{Tr}X^\ell and E[uTAiv]=Tr⁡(Xk−1AiXk)=Tr⁡(AiXℓ−1)\mathbb{E}[u^\mathsf{T}A_iv]=\operatorname{Tr}(X^{k-1}A_iX^k)=\operatorname{Tr}(A_iX^{\ell-1}). Thus EP(X,ξ)=s(X)\mathbb{E}P(X,\xi)=s(X). A probe uses kk matrix products and one evaluation of all the bilinear forms.

Maintaining the estimates. A wrong sign in an estimate s^i\widehat{s}_i entails ∣s^i−si(X)∣≥∣si(X)∣|\widehat{s}_i-s_i(X)|\geq|s_i(X)|. Summing over the wrong signs relates the error in s^\widehat{s} directly to the loss in the walk,

Lt=2∑i∈Mt∣si(X)∣ρZ(X)≤2∥s^−s(X)∥1ρZ(X).(7)L_t=2\sum_{i\in M_t}\frac{|s_i(X)|}{\rho Z(X)}\leq\frac{2\|\widehat{s}-s(X)\|_1}{\rho Z(X)}. \tag*{(7)}

Divide the walk into blocks of BB steps and let HtH_t be the matrix just before step tt of a block, 0≤t<B0\leq t<B. The value s(Ht)s(H_t) equals s(H0)s(H_0) plus the changes in ss over any partition of the first tt steps. Short intervals are cheap to estimate because the same random vector gives similar probes at their two endpoints. The estimation errors add along the partition, so we choose it to contain at most one interval of each dyadic length.

Let s^0\widehat{s}_0 be the average of B2B^2 independent probes at H0H_0. For t>0t>0 let bb be the largest power of two dividing tt. The last interval of the partition is [t−b,t][t-b,t]. Using qbq_b fresh sign vectors, set

s^t=s^t−b+1qb∑j=1qb(P(Ht,ξj)−P(Ht−b,ξj)),qb=⌈B1/2b3/2⌉.(8)\widehat{s}_t=\widehat{s}_{t-b}+\frac{1}{q_b}\sum_{j=1}^{q_b}\left(P(H_t,\xi_j)-P(H_{t-b},\xi_j)\right),\qquad q_b=\left\lceil B^{1/2}b^{3/2}\right\rceil. \tag*{(8)}

Use the signs of s^t\widehat{s}_t on the free coordinates. Both endpoints are fixed before the new probes are drawn, so the correction has conditional mean s(Ht)−s(Ht−b)s(H_t)-s(H_{t-b}). Subtracting bb clears the lowest nonzero bit of tt. Iterating therefore uses exactly the lengths in the binary expansion of tt.

How much a probe changes. Fix the history at the start of a block and put Z0=Z(H0)Z_0=Z(H_0). To use (7), first compare Z(Ht)Z(H_t) with Z0Z_0. Each step moves HH by at most h/ρh/\rho, so all its states lie in the ball ∥X−H0∥≤Bh/ρ\|X-H_0\|\leq Bh/\rho on the image of ∑iAi\sum_i A_i. For any XX in this ball, integrate ∣DΦ(W)[E]∣≤2∥E∥|D\Phi(W)[E]|\leq2\|E\| along the segment from H0H_0 to XX. Since log⁡Z=ℓΦ\log Z=\ell\Phi,

∣log⁡Z(X)−log⁡Z0∣≤2ℓBh/ρ=2/(ρB)≤log⁡2.(9)|\log Z(X)-\log Z_0|\leq2\ell Bh/\rho=2/(\rho B)\leq\log2. \tag*{(9)}

Thus Z0/2≤Z(X)≤2Z0Z_0/2\leq Z(X)\leq2Z_0. By (7), expected ℓ1\ell_1 error O(Z0/B)O(Z_0/B) then gives expected loss O(1/(ρB))=O(1/C)O(1/(\rho B))=O(1/C) per step.

For qq fresh sign vectors, write eq(X)=q−1∑j=1qP(X,ξj)−s(X)e_q(X)=q^{-1}\sum_{j=1}^q P(X,\xi_j)-s(X) for the error of the probe average at XX. To estimate the change s(Y)−s(X)s(Y)-s(X), average P(Y,ξj)−P(X,ξj)P(Y,\xi_j)-P(X,\xi_j) using the same vectors at both matrices. Subtracting the true change gives the correction error

1q∑j=1q(P(Y,ξj)−P(X,ξj))−(s(Y)−s(X))=eq(Y)−eq(X).\frac{1}{q}\sum_{j=1}^q\left(P(Y,\xi_j)-P(X,\xi_j)\right)-(s(Y)-s(X))=e_q(Y)-e_q(X).

Lemma 4. Let X,YX,Y be fixed symmetric matrices on im⁡(∑iAi)\operatorname{im}(\sum_i A_i), extended by zero on its orthogonal complement, with ∥X−H0∥,∥Y−H0∥≤Bh/ρ\|X-H_0\|,\|Y-H_0\|\leq Bh/\rho. For qq independent sign vectors,

E∥eq(X)∥1=O(Z0/q),(10)\mathbb{E}\|e_q(X)\|_1=O(Z_0/\sqrt{q}), \tag*{(10)}
E∥eq(Y)−eq(X)∥1=O(Z0ℓ∥Y−X∥/q).(11)\mathbb{E}\|e_q(Y)-e_q(X)\|_1=O(Z_0\ell\|Y-X\|/\sqrt{q}). \tag*{(11)}

Each coordinate Pi(W,ξ)P_i(W,\xi) is a constant plus a quadratic form:

Pi(W,ξ)=ρσip+ξTMi(W)ξ,Mi(W)=ρσipWℓ−Wk−1AiWk.P_i(W,\xi)=\frac{\rho\sigma_i}{p}+\xi^\mathsf{T}M_i(W)\xi,\qquad M_i(W)=\frac{\rho\sigma_i}{p}W^\ell-W^{k-1}A_iW^k.

Sharing ξ\xi makes the correction a trace estimate for Mi(Y)−Mi(X)M_i(Y)-M_i(X). We prove Lemma 4 at the end of the subsection.

Accuracy and work in one block. The B2B^2 probes at H0H_0 give expected error O(Z0/B)O(Z_0/B) by (10). For a correction spanning bb steps, put r=b/Br=b/B. Each of the bb steps changes HH by at most h/ρh/\rho, so the factor ℓ∥Y−X∥\ell\|Y-X\| in (11) satisfies

ℓ∥Ht−Ht−b∥≤ℓbh/ρ=r/(ρB)≤r.\ell\|H_t-H_{t-b}\|\leq\ell bh/\rho=r/(\rho B)\leq r.

Thus qq probe pairs give expected error O(Z0r/q)O(Z_0r/\sqrt{q}), conditional on the history just before the draw. This bound also holds conditional on the start of the block, since its right-hand side depends only on Z0Z_0 and the interval length.

A single estimate uses at most one correction of length bb. A full block computes B/(2b)B/(2b) of them, at the odd multiples b,3b,…,B−bb,3b,\ldots,B-b, for a total of q/rq/r probe evaluations at this length. If q=B2rβq=B^{2}r^{\beta}, the error bound O(Z0r/q)O(Z_{0}r/\sqrt{q}) and the work q/rq/r carry factors r1−β/2r^{1-\beta/2} and rβ−1r^{\beta-1}, respectively. Both powers are positive for 1<β<21<\beta<2, so both bounds sum geometrically over the dyadic lengths. Taking β=3/2\beta=3/2 and rounding up, as in (8), gives

expected error in one correction =O((Z0/B)r1/4)=O((Z_{0}/B)r^{1/4}),

evaluations for all corrections of this length ≤qb/r=O(B2r1/2)\le q_{b}/r=O(B^{2}r^{1/2}).

The rounding changes the work by at most a factor of two since B2r3/2≥1B^{2}r^{3/2}\ge1.

For a fixed tt, let ItI_t contain the right endpoints in its partition, and let δu\delta_u be the sampled correction ending at uu minus its conditional mean. If that correction spans an interval [u−b,u][u-b,u], its conditional mean is s(Hu)−s(Hu−b)s(H_u)-s(H_{u-b}). Adding these means over the partition telescopes to s(Ht)−s(H0)s(H_t)-s(H_0). Thus (8) expresses s^t\widehat{s}_t as the initial estimate plus this true change and the sum of the correction errors. Subtracting s(Ht)s(H_t) gives

s^t−s(Ht)=eB2(H0)+∑u∈Itδu.\widehat{s}_t-s(H_t)=e_{B^2}(H_0)+\sum_{u\in I_t}\delta_u.

Here ItI_t depends only on tt, even though the states at its endpoints depend on previous draws. Taking norms and using the conditional error bound once for each length in the partition gives

E[∥s^t−s(Ht)∥1∣start of block]≤O(Z0)B(1+∑a=1log⁡2B2−a/4)=O(Z0/B).(12)\mathbb{E}\bigl[\|\widehat{s}_t-s(H_t)\|_1\mid\text{start of block}\bigr]\le\frac{O(Z_0)}{B}\left(1+\sum_{a=1}^{\log_2 B}2^{-a/4}\right)=O(Z_0/B). \tag*{(12)}

For this calculation, a block that stops early can be completed at its last state with zero loss on the remaining steps. Summing the work bound over r=1/2,1/4,…,1/Br=1/2,1/4,\ldots,1/B gives O(B2)O(B^2) evaluations including the initial average. Only the coefficient vectors and estimates on the current chain need to be stored, in O(plog⁡B)O(p\log B) words beyond the space for a probe.

Total loss over the walk. By (7), (9), and (12),

E[Lt∣start of block]≤4ρZ0E[∥s^t−s(Ht)∥1∣start of block]=O(1/(ρB))≤1/64\mathbb{E}[L_t\mid\text{start of block}]\le\frac{4}{\rho Z_0}\mathbb{E}[\|\widehat{s}_t-s(H_t)\|_1\mid\text{start of block}]=O(1/(\rho B))\le1/64

for sufficiently large CC. The estimates within a block share probes, so we apply concentration to the average loss UjU_j in each block jj. Given the preceding blocks, EUj≤1/64\mathbb{E}U_j\le1/64. Also 0≤Uj≤6/ρ0\le U_j\le6/\rho on every run. Indeed, in any direction ∥Δ∥∞≤1\|\Delta\|_\infty\le1 the penalty derivative has magnitude at most 2/ρ2/\rho and the reward derivative at most one, giving Lt≤2∥∇F∥1≤2(2/ρ+1)≤6/ρL_t\le2\|\nabla F\|_1\le2(2/\rho+1)\le6/\rho.

There are N=T/B=32ℓBN=T/B=32\ell B blocks, counting zeros after stopping. Since ∑t<TLt=B∑jUj\sum_{t<T}L_t=B\sum_jU_j, the stopping argument after (5) requires ∑jUj≤N/16\sum_jU_j\le N/16. Since ey≤1+2ye^y\le1+2y on [0,1][0,1],

E[eρUj/6∣past blocks]≤1+ρ3E[Uj∣past blocks]≤eρ/192.\mathbb{E}[e^{\rho U_j/6}\mid\text{past blocks}]\le1+\frac{\rho}{3}\mathbb{E}[U_j\mid\text{past blocks}]\le e^{\rho/192}.

Successive conditioning gives Eexp⁡((ρ/6)∑jUj)≤eNρ/192\mathbb{E}\exp((\rho/6)\sum_jU_j)\le e^{N\rho/192}. Markov’s inequality at ∑jUj>N/16\sum_jU_j>N/16 therefore gives

P{∑t<TLt>T/16}≤e−Nρ/96eNρ/192=e−ℓρB/6≤e−ℓ.\mathbb{P}\left\{\sum_{t<T}L_t>T/16\right\}\le e^{-N\rho/96}e^{N\rho/192}=e^{-\ell\rho B/6}\le e^{-\ell}.

This holds for every fixed σ\sigma. Together with Lemma 3 and the stopping argument, it gives the partial coloring of Theorem 2 with failure probability at most e−ℓ+e−ρ/64e^{-\ell}+e^{-\rho/64}. The NN blocks use O(NB2)=O(ℓρ−3)O(NB^2)=O(\ell\rho^{-3}) probes, each costing O(ℓmv+Tsc)O(\ell_{\mathrm{mv}}+T_{\mathrm{sc}}).

Proof of Lemma 4. Write ci=ρσi/pc_i=\rho\sigma_i/p. At a matrix WW put U=Wk−1U=W^{k-1} and V=WkV=W^k. Then (6) reads

Pi(W,ξ)=ci+ξTMi(W)ξ,Mi(W)=ciVTV−UTAiV.P_i(W,\xi)=c_i+\xi^{\mathsf T}M_i(W)\xi,\qquad M_i(W)=c_iV^{\mathsf T}V-U^{\mathsf T}A_iV.

At XX the estimation error comes from ξTMi(X)ξ\xi^{\mathsf{T}}M_i(X)\xi. In a paired correction the constants cancel, and the corresponding quadratic form is ξT(Mi(Y)−Mi(X))ξ\xi^{\mathsf{T}}(M_i(Y)-M_i(X))\xi.

For a matrix MM, expand ξTMξ\xi^{\mathsf{T}}M\xi into diagonal and off-diagonal terms. Since ξa2=1\xi_a^2=1, the diagonal terms sum to Tr⁡M\operatorname{Tr} M. Pairing the two terms for each a<ba<b therefore gives

ξTMξ−Tr⁡M=∑a<b(Mab+Mba)ξaξb.\xi^{\mathsf{T}}M\xi-\operatorname{Tr} M=\sum_{a<b}(M_{ab}+M_{ba})\xi_a\xi_b.

Terms from distinct pairs are uncorrelated: their product contains an independent sign appearing only once, and so has expectation zero. Thus the variance is ∑a<b(Mab+Mba)2≤2∥M∥F2\sum_{a<b}(M_{ab}+M_{ba})^2\leq2\lVert M\rVert_F^2. Averaging qq independent copies divides the variance by qq. By Cauchy–Schwarz,

E∣1q∑j=1qξjTMξj−Tr⁡M∣≤(E∣1q∑j=1qξjTMξj−Tr⁡M∣2)1/2=(Var⁡(ξTMξ)q)1/2≤2q∥M∥F.(13)\mathbb{E}\left|\frac{1}{q}\sum_{j=1}^{q}\xi_j^{\mathsf{T}}M\xi_j-\operatorname{Tr} M\right| \leq\left(\mathbb{E}\left|\frac{1}{q}\sum_{j=1}^{q}\xi_j^{\mathsf{T}}M\xi_j-\operatorname{Tr} M\right|^2\right)^{1/2} =\left(\frac{\operatorname{Var}(\xi^{\mathsf{T}}M\xi)}{q}\right)^{1/2} \leq\sqrt{\frac{2}{q}}\lVert M\rVert_F. \tag*{(13)}

Summing (13) over ii, it remains to bound ∑i∥Mi(X)∥F\sum_i\lVert M_i(X)\rVert_F and ∑i∥Mi(Y)−Mi(X)∥F\sum_i\lVert M_i(Y)-M_i(X)\rVert_F. For any matrices U,VU,V of compatible dimensions,

∑i∥UTAiV∥F≤(∑i∥Ai1/2U∥F2)1/2(∑i∥Ai1/2V∥F2)1/2≤∥U∥F∥V∥F.(14)\sum_i\lVert U^{\mathsf{T}}A_iV\rVert_F \leq\left(\sum_i\lVert A_i^{1/2}U\rVert_F^2\right)^{1/2} \left(\sum_i\lVert A_i^{1/2}V\rVert_F^2\right)^{1/2} \leq\lVert U\rVert_F\lVert V\rVert_F. \tag*{(14)}

For the first inequality, factor AiA_i to obtain

∥UTAiV∥F=∥(Ai1/2U)T(Ai1/2V)∥F≤∥Ai1/2U∥F∥Ai1/2V∥F.\lVert U^{\mathsf{T}}A_iV\rVert_F =\lVert(A_i^{1/2}U)^{\mathsf{T}}(A_i^{1/2}V)\rVert_F \leq\lVert A_i^{1/2}U\rVert_F\lVert A_i^{1/2}V\rVert_F.

Summing over ii and applying Cauchy–Schwarz gives the stated bound. For the second, ∑i∥Ai1/2U∥F2=Tr⁡(UT(∑iAi)U)≤∥U∥F2\sum_i\lVert A_i^{1/2}U\rVert_F^2=\operatorname{Tr}(U^{\mathsf{T}}(\sum_iA_i)U)\leq\lVert U\rVert_F^2, and likewise for VV. For the other term in Mi(W)=ciVTV−UTAiVM_i(W)=c_iV^{\mathsf{T}}V-U^{\mathsf{T}}A_iV, the coefficients satisfy ∑i∣ci∣=ρ≤1\sum_i|c_i|=\rho\leq1. Thus

∑i∥ciVTV∥F≤ρ∥V∥F2.\sum_i\lVert c_iV^{\mathsf{T}}V\rVert_F\leq\rho\lVert V\rVert_F^2.

Together with (14), this reduces the bound on ∑i∥Mi(W)∥F\sum_i\lVert M_i(W)\rVert_F to bounds on the two powers U,VU,V.

For j=k−1,kj=k-1,k and W=X+s(Y−X)W=X+s(Y-X), 0≤s≤10\leq s\leq1, the segment lies in the same ball and (1) gives ∥Wj∥F2=Tr⁡∣W∣2j=O(Z0)\lVert W^j\rVert_F^2=\operatorname{Tr}|W|^{2j}=O(Z_0) because 2j∈{ℓ−2,ℓ}2j\in\{\ell-2,\ell\}. In particular ∑i∥Mi(X)∥F≤ρ∥V∥F2+∥U∥F∥V∥F=O(Z0)\sum_i\lVert M_i(X)\rVert_F\leq\rho\lVert V\rVert_F^2+\lVert U\rVert_F\lVert V\rVert_F=O(Z_0) at W=XW=X, proving (10).

For the difference, differentiate along the segment and put E=Y−XE=Y-X. Write U˙=dU/ds\dot{U}=dU/ds and V˙=dV/ds\dot{V}=dV/ds. By (2), the derivative of WjW^j is a sum of jj terms WaEWbW^aEW^b with a+b=j−1a+b=j-1. Each satisfies

∥WaEWb∥F2=Tr⁡(W2aEW2bE)≤∥E∥2Tr⁡∣W∣2j−2=O(∥E∥2Z0)\lVert W^aEW^b\rVert_F^2=\operatorname{Tr}(W^{2a}EW^{2b}E)\leq\lVert E\rVert^2\operatorname{Tr}|W|^{2j-2}=O(\lVert E\rVert^2Z_0)

by (4) and (1), since 2j−2∈{ℓ−4,ℓ−2}2j-2\in\{\ell-4,\ell-2\}. Thus U˙\dot{U} and V˙\dot{V} both have Frobenius norm O(ℓ∥E∥Z0)O(\ell\lVert E\rVert\sqrt{Z_0}). The product rule gives

ddsMi(W)=ci(V˙TV+VTV˙)−U˙TAiV−UTAiV˙.\frac{d}{ds}M_i(W)=c_i(\dot{V}^{\mathsf{T}}V+V^{\mathsf{T}}\dot{V})-\dot{U}^{\mathsf{T}}A_iV-U^{\mathsf{T}}A_i\dot{V}.

Each term has one differentiated factor and one of norm O(Z0)O(\sqrt{Z_0}). Summing with (14) and ∑i∣ci∣≤1\sum_i|c_i|\leq1 bounds ∑i∥ddsMi(W)∥F\sum_i\left\lVert\frac{d}{ds}M_i(W)\right\rVert_F by O(ℓ∥E∥Z0)O(\ell\lVert E\rVert Z_0). Integration from 00 to 11 gives the same bound for ∑i∥Mi(Y)−Mi(X)∥F\sum_i\lVert M_i(Y)-M_i(X)\rVert_F. Applying (13) proves (11). □

A signed direction on the free coordinates

The frozen set in Lemma 3 may depend on σ\sigma. Fix for now a set JJ with ∣J∣≤p/8|J|\leq p/8. We construct zz by accepting or skipping each sign outside JJ, setting zi=σiz_i=\sigma_i on acceptance and zi=0z_i=0 everywhere else. Its correlation ⟨σ,z⟩\langle\sigma,z\rangle counts the accepted signs. We aim for 3p/43p/4 acceptances in expectation while satisfying the norm bound on every outcome. The excess above p/2p/2 will let us make the correlation bound simultaneous over all small JJ.

Keeping the signed sum between two bounds. Put τ=4d/p≤1/2\tau= 4\sqrt{d/p} \le1/2. Just before index ii, let M=∑j<izjAjM = \sum_{j<i} z_j A_j be the signed sum and S=∑j<iAjS = \sum_{j<i} A_j the sum of all matrices inspected so far. We keep MM between −τ(I+S)-\tau(I+S) and τ(I+S)\tau(I+S), working on im⁡(∑iAi)\operatorname{im}(\sum_i A_i). This allows a final norm of at most 2τ=8d/p2\tau= 8\sqrt{d/p}, since ∑iAi⪯I\sum_i A_i \preceq I. Including AiA_i in SS increases the slack on each side by τAi\tau A_i, even when we skip its sign.

Let X+=τ(I+S)−MX_+ = \tau(I+S)-M and X−=τ(I+S)+MX_- = \tau(I+S)+M be the two slacks before index ii. Both start at τI\tau I. For either slack XX, the size of AiA_i relative to XX is ∥X−1/2AiX−1/2∥≤Tr⁡(AiX−1)\lVert X^{-1/2}A_iX^{-1/2}\rVert\le\operatorname{Tr}(A_iX^{-1}). Before exposing σi\sigma_i, accept ii if i∉Ji \notin J and

ai=Tr⁡(Ai(X+−1+X−−1))≤τ.a_i = \operatorname{Tr}\left(A_i\left(X_+^{-1}+X_-^{-1}\right)\right) \le\tau.

On acceptance set zi=σiz_i=\sigma_i, and otherwise set zi=0z_i=0. To count the skipped signs, suppose each expected inverse stays below its initial value τ−1I\tau^{-1}I. Then Eai≤(2/τ)Tr⁡Ai\mathbb{E}a_i \le(2/\tau)\operatorname{Tr}A_i. Each rejection outside JJ requires ai>τa_i>\tau, so Markov’s inequality gives

E#{i∉J:zi=0}≤1τ∑iEai≤2τ2Tr⁡∑iAi≤2dτ2=p8.\mathbb{E}\#\{i\notin J:z_i=0\}\le\frac{1}{\tau}\sum_i\mathbb{E}a_i\le\frac{2}{\tau^2}\operatorname{Tr}\sum_i A_i\le\frac{2d}{\tau^2}=\frac{p}{8}.

We verify the inverse bound together with positivity of the slacks. On rejection the extra slack τAi\tau A_i can only decrease either inverse. On acceptance, fix one of the slacks XX and write Q=X−1/2AiX−1/2Q=X^{-1/2}A_iX^{-1/2}. After including the target sign, the new slack is X1/2(I+τQ±Q)X1/2X^{1/2}(I+\tau Q\pm Q)X^{1/2} with either sign equally likely. Since QQ is PSD, each eigenvalue bb satisfies 0≤b≤Tr⁡Q≤ai≤τ≤1/20\le b\le\operatorname{Tr}Q\le a_i\le\tau\le1/2. On an eigenvector of QQ with eigenvalue bb, the two possible matrices I+τQ±QI+\tau Q\pm Q have eigenvalues 1+τb+b1+\tau b+b and 1+τb−b1+\tau b-b, both positive. Their inverses therefore have the reciprocal eigenvalues, and the average of the two inverses has eigenvalue

12(11+τb+b+11+τb−b)=(1+τb−b21+τb)−1≤1.\frac{1}{2}\left(\frac{1}{1+\tau b+b}+\frac{1}{1+\tau b-b}\right)=\left(1+\tau b-\frac{b^2}{1+\tau b}\right)^{-1}\le1.

Here τb≥b2/(1+τb)\tau b\ge b^2/(1+\tau b) because b≤τb\le\tau. Conjugating by X−1/2X^{-1/2} gives E[Xnew−1∣past]⪯X−1\mathbb{E}[X_{\mathrm{new}}^{-1}\mid\mathrm{past}]\preceq X^{-1}. Induction proves positivity and EX±−1⪯τ−1I\mathbb{E}X_{\pm}^{-1}\preceq\tau^{-1}I at every index. The count above now applies. At most p/8p/8 indices are excluded by JJ and at most p/8p/8 others are skipped in expectation. The expected correlation is therefore at least 3p/43p/4.

A direction for every small frozen set. For fixed JJ, let WJ(σ)W_J(\sigma) be the maximum of ⟨σ,z⟩\langle\sigma,z\rangle over all z∈{−1,0,1}pz\in\{-1,0,1\}^p vanishing on JJ with ∥A(z)∥≤2τ\lVert A(z)\rVert\le2\tau. The construction gives EWJ≥3p/4\mathbb{E}W_J\ge3p/4. The feasible set is independent of σ\sigma, and flipping one sign changes every candidate’s correlation by at most two. The maximum changes by at most two as well. McDiarmid’s inequality, applied to the pp independent signs with sensitivity 22 for each, therefore bounds a downward deviation of p/4p/4 by

P{WJ<p/2}≤P{WJ−EWJ≤−p/4}≤exp⁡(−2(p/4)2∑i=1p22)=e−p/32.\mathbb{P}\{W_J<p/2\}\le\mathbb{P}\{W_J-\mathbb{E}W_J\le-p/4\}\le\exp\left(-\frac{2(p/4)^2}{\sum_{i=1}^p2^2}\right)=e^{-p/32}.

Choose γ≤1/8\gamma\le1/8 so that γlog⁡(e/γ)≤1/64\gamma\log(e/\gamma)\le1/64. The number of eligible sets is at most ∑j≤γp(pj)≤γ−γp(1+γ)p≤(e/γ)γp≤ep/64\sum_{j\le\gamma p}\binom{p}{j}\le\gamma^{-\gamma p}(1+\gamma)^p\le(e/\gamma)^{\gamma p}\le e^{p/64}. A union bound shows that every such JJ has WJ≥p/2W_J\ge p/2 with probability at least 1−ep/64e−p/32=1−e−p/641-e^{p/64}e^{-p/32}=1-e^{-p/64}.

Iterating the partial coloring

One partial coloring removes a constant fraction of the summands while introducing a bounded matrix error. We repeat it on the surviving summands until only O(d/ε2)O(d/\varepsilon^2) remain. To obtain a relative error of at most ε\varepsilon, we measure every phase’s change against the same initial sum and keep their total within an error budget. Each phase also needs its input sum bounded by II, so the budget must preserve that condition throughout. Finally, larger phase tolerances make the coloring faster; we allocate the available error to control both the cost of scanning summands and the cost of the solver used in the graph algorithm.

Let S0=∑i=1m0AiS_0=\sum_{i=1}^{m_0}A_i, where Ai⪰0A_i\succeq0, rank⁡S0≤d\operatorname{rank}S_0\le d, and the nonzero eigenvalues of S0S_0 lie in [α,1/2][\alpha,1/2] for an absolute constant 0<α≤1/20<\alpha\le1/2. We will reweight these same summands in every phase. Keeping ∥S−S0∥≤αε\lVert S-S_0\rVert\le\alpha\varepsilon for every intermediate sum SS suffices for two reasons. First, SS vanishes on ker⁡S0\ker S_0 and S0⪰αΠS0S_0\succeq\alpha\Pi_{S_0}, so for all ff,

∣fT(S−S0)f∣≤αε∥ΠS0f∥22≤εfTS0f.(15)|f^\mathsf{T}(S-S_0)f|\le\alpha\varepsilon\lVert\Pi_{S_0}f\rVert_2^2\le\varepsilon f^\mathsf{T}S_0f. \tag*{(15)}

Second, ∥S∥≤1/2+αε≤1\lVert S\rVert\le1/2+\alpha\varepsilon\le1, as required for the next application of Theorem 2.

Start with weights wi=1w_i=1. In phase tt let St=∑iwiAiS_t=\sum_i w_iA_i and let ptp_t count the positive weights. Stop when pt≤C0d/ε2p_t\le C_0d/\varepsilon^2. Otherwise apply Theorem 2 to the positive-weight summands wiAiw_iA_i with tolerance ρt\rho_t chosen below, reporting failure if the call does. Given a coloring yy, multiply the corresponding weights by 1+yi1+y_i. At least γpt/2\gamma p_t/2 of these multipliers vanish. Since St+1−St=∑i:wi>0yiwiAiS_{t+1}-S_t=\sum_{i:w_i>0}y_iw_iA_i, we obtain

pt+1≤qpt,∥St+1−St∥≤ε3ρt,q=1−γ/2.(16)p_{t+1}\le qp_t,\qquad\lVert S_{t+1}-S_t\rVert\le\varepsilon^3\rho_t,\qquad q=1-\gamma/2. \tag*{(16)}

Every returned coloring gives the first inequality by the stopping rule. The second follows from its spectral guarantee on success. If m0>C0d/ε2m_0>C_0d/\varepsilon^2, let KK be the least integer such that m0qK≤C0d/ε2m_0q^K\le C_0d/\varepsilon^2. Since pt≤m0qtp_t\le m_0q^t, we make at most KK calls.

Choosing the tolerances. To keep ∥Sj+1−S0∥≤αε\lVert S_{j+1}-S_0\rVert\le\alpha\varepsilon, it suffices by (16) that ∑t=0jρt≤αε/e3\sum_{t=0}^{j}\rho_t\le\alpha\varepsilon/e^3. Each call to Theorem 2 requires ρt≥64d/pt\rho_t\ge64\sqrt{d/p_t}. We first check that these minimum tolerances fit within the total error budget, leaving room to increase them later. Each earlier term is at most a geometrically decaying multiple of the last one, so their sum up to any active phase jj is controlled by that last term. Indeed, pj≤qj−tptp_j\le q^{j-t}p_t and pj>C0d/ε2p_j>C_0d/\varepsilon^2 give

∑t=0jdpt≤dpj∑t=0jq(j−t)/2≤εC0(1−q).\sum_{t=0}^{j}\sqrt{\frac{d}{p_t}}\le\sqrt{\frac{d}{p_j}}\sum_{t=0}^{j}q^{(j-t)/2}\le\frac{\varepsilon}{\sqrt{C_0}(1-\sqrt q)}.

Choose C0C_0 large enough that the required tolerances use at most half the available error.

We spend the rest to reduce the work of the colorings. In the graph algorithm a matrix product scans ptp_t edges and applies a solver whose cost is independent of ptp_t. Both costs are multiplied by ρt−3\rho_t^{-3}. For the scans, adding a tolerance proportional to εat\varepsilon a_t bounds ptρt−3p_t\rho_t^{-3} by O(m0ε−3qt/at3)O(m_0\varepsilon^{-3}q^t/a_t^3), since pt≤m0qtp_t\le m_0q^t. Choosing at=qt/4a_t=q^{t/4} makes qt/at3=atq^t/a_t^3=a_t, so the same geometric series bounds both the added tolerance and the scan work. For the solver, an equal allowance proportional to ε/K\varepsilon/K suffices in every phase. Take

ρt=64dpt+εC1(qt/4+1K).(17)\rho_t=64\sqrt{\frac{d}{p_t}}+\frac{\varepsilon}{C_1}\left(q^{t/4}+\frac{1}{K}\right). \tag*{(17)}

The two allowances sum to at most (ε/C1)((1−q1/4)−1+1)(\varepsilon/C_1)((1-q^{1/4})^{-1}+1). Taking C1C_1 large enough therefore gives ∑t=0jρt≤αε/e3\sum_{t=0}^{j}\rho_t\le\alpha\varepsilon/e^3 for every prefix, and in particular ρt≤1\rho_t\le1. Induction using (16) now gives ∥Sj+1−S0∥≤αε\lVert S_{j+1}-S_0\rVert\le\alpha\varepsilon after every successful phase. This justifies each call and proves the final relative error bound.

The two allowances in (17) give the respective work bounds

∑tptρt−3≤(C1/ε)3m0∑t=0K−1qt/4=O(m0ε−3),\sum_t p_t\rho_t^{-3}\le(C_1/\varepsilon)^3m_0\sum_{t=0}^{K-1}q^{t/4}=O(m_0\varepsilon^{-3}),
∑tρt−3≤K(C1K/ε)3=O(K4ε−3).(18)\sum_t\rho_t^{-3}\le K(C_1K/\varepsilon)^3=O(K^4\varepsilon^{-3}). \tag*{(18)}

Sparsifying a graph

We apply § 4 with d=nd=n and accuracy ε/4\varepsilon/4, so the stopping threshold is 16C0n/ε216C_0n/\varepsilon^2 edges. Discard loops and combine each parallel class onto one representative in O(n+m)O(n+m) time. Return the graph if it meets the threshold.

Reducing the number of phases. To start within a factor O(log⁡n)O(\log n) of the desired edge count, first sample the input if it has more than nlog⁡n/ε2n\log n/\varepsilon^2 edges. Use the row-sampling routine of Lee, Peng, and Spielman [3 Lemma 9.4] with constant reduction parameter and accuracy ε/8\varepsilon/8. With high probability the sampled Laplacian LL satisfies

e−ε/8LG⪯L⪯eε/8LG.e^{-\varepsilon/8}L_G\preceq L\preceq e^{\varepsilon/8}L_G.

If sampling is unnecessary, take L=LGL=L_G. In either case LL uses m0=O(nlog⁡n/ε2)m_0=O(n\log n/\varepsilon^2) edges of the input. Return this graph if it meets the threshold. Otherwise (16) brings the edge count below the threshold within K=O(log⁡log⁡n)K=O(\log\log n) phases.

Normalizing the edge matrices. We seek a map RR such that S0=RLRTS_0 = RLR^{\mathsf{T}} has its positive eigenvalues between a constant and 1/21/2, as required by § 4. For the weighted incidence matrix CLC_L of LL, consider first the exact map R0=CLL†R_0 = C_L L^{\dagger}. Since CLTCL=LC_L^{\mathsf{T}}C_L = L, we have

R0TR0=L†,R0LR0T=CLL†CLT=Πim⁡CL.R_0^{\mathsf{T}}R_0 = L^{\dagger}, \qquad R_0 L R_0^{\mathsf{T}} = C_L L^{\dagger} C_L^{\mathsf{T}} = \Pi_{\operatorname{im} C_L}.

The first identity says that R0R_0 has the same effect on vector norms as L†/2L^{\dagger/2}, while the second says that its normalized edge matrices sum to a projector. This representation lets us use an approximate inverse in place of an inverse square root. Applying R0R_0, however, requires the exact inverse and a scan of the edges of LL. We instead use a Laplacian solver and the incidence matrix of a sparse graph to construct a map whose normalized sum has positive eigenvalues bounded above and below by constants, and which costs O(nlog⁡n)O(n\log n) to apply.

Apply the solver construction of Lee, Peng, and Spielman [3 Lemmas 9.4 and 9.7], choosing its recursion parameter to be a sufficiently large constant. With high probability, it gives a symmetric approximate inverse WW satisfying the first bound below. For the second bound, let DD be the incidence matrix of a constant-accuracy sample of the graph for LL, with O(nlog⁡n)O(n\log n) edges. We may use the sample constructed in the first step of the solver construction. If LL already has O(nlog⁡n)O(n\log n) edges, take D=CLD = C_L. With high probability these choices satisfy

13L†⪯W⪯3L†,12L⪯DTD⪯2L.(19)\frac{1}{3}L^{\dagger} \preceq W \preceq3L^{\dagger}, \qquad\frac{1}{2}L \preceq D^{\mathsf{T}}D \preceq2L. \tag*{(19)}

The solver has approximation factor ϵ<3\epsilon< 3. On a successful construction, applying WW takes O(nlog⁡n)O(n\log n) operations. We report failure if an application exceeds Csolnlog⁡nC_{\mathrm{sol}}n\log n operations, for a sufficiently large absolute constant CsolC_{\mathrm{sol}}. To make WW vanish on ker⁡L\ker L, subtract the mean on each connected component before applying the inverse, and again afterward.

Set R=DW/8R = DW/8 and S0=RLRTS_0 = RLR^{\mathsf{T}}. The factor 1/81/8 ensures the upper bound required in § 4. To verify both spectral bounds, put Q=L1/2WL1/2Q = L^{1/2}WL^{1/2}. The first bound in (19) gives 13I⪯Q⪯3I\frac{1}{3}I \preceq Q \preceq3I on im⁡L\operatorname{im} L. Applying the bounds on DTDD^{\mathsf{T}}D to WL1/2fWL^{1/2}f, for f∈im⁡Lf \in\operatorname{im} L, then gives

∥f∥21152≤∥Qf∥2128≤∥RL1/2f∥2≤∥Qf∥232≤9∥f∥232.\frac{\lVert f\rVert^2}{1152} \leq\frac{\lVert Qf\rVert^2}{128} \leq\lVert RL^{1/2}f\rVert^2 \leq\frac{\lVert Qf\rVert^2}{32} \leq\frac{9\lVert f\rVert^2}{32}.

Thus the squared singular values of RL1/2RL^{1/2} on im⁡L\operatorname{im} L lie in [1/1152,9/32][1/1152,9/32]. The map vanishes on ker⁡L\ker L, so the positive eigenvalues of S0=(RL1/2)(RL1/2)TS_0 = (RL^{1/2})(RL^{1/2})^{\mathsf{T}} lie in the same interval. We may therefore take α=1/1152\alpha= 1/1152.

The lower bound also makes RR injective on im⁡L\operatorname{im} L, since L1/2L^{1/2} maps that space onto itself. Moreover, RR vanishes on ker⁡L\ker L, so im⁡RT=im⁡L\operatorname{im} R^{\mathsf{T}} = \operatorname{im} L. Let L′L' be a reweighted Laplacian using edges of LL. Both vanish on ker⁡L\ker L, so it suffices to compare their action on im⁡L\operatorname{im} L. Every ff in this space has the form f=RTzf = R^{\mathsf{T}}z, and hence

fTL′f=zT(RL′RT)z,fTLf=zTS0z.f^{\mathsf{T}}L'f = z^{\mathsf{T}}(RL'R^{\mathsf{T}})z,\qquad f^{\mathsf{T}}Lf = z^{\mathsf{T}}S_0z.

The relative error guarantee for RL′RTRL'R^{\mathsf{T}} with respect to S0S_0 therefore gives the same guarantee for L′L' with respect to LL.

Computing a probe on the graph. Fix a phase starting with pp edges of weights wew_e and let CC have rows webeT\sqrt{w_e}b_e^{\mathsf{T}} for those edges. The normalized edge matrices are Be=we(Rbe)(Rbe)TB_e = w_e(Rb_e)(Rb_e)^{\mathsf{T}}, and their sum is S0S_0 of rank at most nn. For normalized vectors u,vu,v, set f=RTuf = R^{\mathsf{T}}u and g=RTvg = R^{\mathsf{T}}v. The entries of CfCf and CgCg are the weighted endpoint differences, so the bilinear forms and the matrix product in Theorem 2 are

uTBev=(Cf)e(Cg)e,H(x)u=ρ−1RCTdiag⁡(x)Cf.(20)u^{\mathsf{T}}B_ev = (Cf)_e(Cg)_e,\qquad H(x)u = \rho^{-1}RC^{\mathsf{T}}\operatorname{diag}(x)Cf. \tag*{(20)}

Once ff and gg are available, the first identity computes all edge forms in one scan. For the second, applying CC and CTC^{\mathsf{T}} costs O(p+n)O(p+n) in total. Multiplying by DD or DTD^{\mathsf{T}} costs O(nlog⁡n)O(n\log n) because DD is a weighted incidence matrix with O(nlog⁡n)O(n\log n) rows. Thus each multiplication by RR or RTR^{\mathsf{T}} costs O(nlog⁡n)O(n\log n), including one solver application. The normalized space has dimension equal to the number of rows of DD, so drawing ξ\xi and computing the squared norm in (6) also cost O(nlog⁡n)O(n\log n). Thus both operations in (20) cost O(p+nlog⁡n)O(p+n\log n).

Preprocessing time. On a graph with rr edges the solver construction takes O(rlog⁡n+nlog⁡2n)O(r \log n + n \log^{2} n) expected time by the proof of Lemma 9.7 of [3]. The same estimate holds for the initial sampling in their Lemma 9.4. That routine constructs an inverse on a sample and applies it O(log⁡n)O(\log n) times. An edge’s incidence vector lies in the row space of the sample’s incidence matrix exactly when its endpoints are in the same sampled component. Finding those components therefore tests row-space membership for all edges in O(r+n)O(r+n) time.

Fix a>0a>0. Apply the following retry procedure separately to the initial sampling routine and the solver construction. Cap each attempt at a sufficiently large constant times its expected work. By Markov’s inequality and the size guarantee, an attempt meets the time and size bounds with probability at least 1/21/2. Return the first output meeting both bounds, or report failure after s=⌈(a+2)log⁡2n⌉s=\lceil(a+2)\log_{2}n\rceil independent attempts. The chance of exhausting the attempts is at most 2−s2^{-s}. With sampling constants chosen for per-attempt error at most n−a−2n^{-a-2}, the chance of accepting an inaccurate output is at most sn−a−2sn^{-a-2}. Preprocessing thus costs O(mlog⁡2n+nlog⁡3n)O(m\log^{2}n+n\log^{3}n) on every run and succeeds with probability 1−O(n−a)1-O(n^{-a}).

Proof of Theorem 1. Take an even ℓ=Θ(log⁡n)\ell=\Theta(\log n) with constant large enough for the desired failure exponent. Conditional on successful preprocessing and all preceding colorings, Theorem 2 bounds the failure probability in phase tt by e−ℓ+e−pt/64e^{-\ell}+e^{-p_t/64}. We have pt>16C0n/ε2p_t>16C_0n/\varepsilon^2 in each of at most K=O(log⁡log⁡n)K=O(\log\log n) phases, so a union bound gives success with high probability. On success, § 4 and the energy identities above give a (1±ε/4)(1\pm\varepsilon/4) approximation to LL with at most 16C0n/ε216C_0n/\varepsilon^2 edges. Including the initial sampling changes the lower factor to (1−ε/4)e−ε/8≥(1−ε/4)(1−ε/8)≥1−ε(1-\varepsilon/4)e^{-\varepsilon/8}\ge(1-\varepsilon/4)(1-\varepsilon/8)\ge1-\varepsilon and the upper factor to (1+ε/4)eε/8≤(1+ε/4)2≤1+ε(1+\varepsilon/4)e^{\varepsilon/8}\le(1+\varepsilon/4)^2\le1+\varepsilon. By Theorem 2 and (20), a phase costs O(ρ(pt+nlog⁡n)log⁡2n)O(\rho(p_t+n\log n)\log^2 n). Summing the edge and solver costs by (18) gives total coloring time

O(ε−3log⁡2n[m0+nlog⁡nK4]).(21)O\left(\varepsilon^{-3}\log^2 n\left[m_0+n\log n K^4\right]\right). \tag*{(21)}

The step limit within a call and the bound on the surviving edge count hold on every run. Substituting m0≤mm_0\le m and K=O(log⁡log⁡n)K=O(\log\log n) and adding preprocessing proves the worst-case time bound.

Acknowledgments

The author thanks Jason Li for suggestions regarding the exposition of this paper.

AI methodology

The author presented an outline of the algorithm to GPT-6 Astra Pro, which assisted in developing some of the proofs and wrote up the resulting work. The author then used the same model to remove a factor of 1/ε1/\varepsilon from the running time and simplify the algorithm. The model also assisted in drafting and revising the exposition of this paper.

References

  1. [1][BSS12] Joshua Batson, Daniel A. Spielman, and Nikhil Srivastava. Twice-Ramanujan Sparsifiers. SIAM Journal on Computing, 41(6):1704–1721, 2012.
  2. [2][JRT24] Arun Jambulapati, Victor Reis, and Kevin Tian. Linear-Sized Sparsifiers via Near-Linear Time Discrepancy Theory. In Proceedings of the 2024 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 5169–5208, 2024.arxiv.org/abs/2305.08434
  3. [3][LPS15] Yin Tat Lee, Richard Peng, and Daniel A. Spielman. Sparsified Cholesky Solvers for SDD Linear Systems, 2015. arXiv:1506.08204v2.arxiv.org/abs/1506.08204
  4. [4][LS17] Yin Tat Lee and He Sun. An SDP-Based Algorithm for Linear-Sized Spectral Sparsification. In Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing (STOC), pages 678–687, 2017.arxiv.org/abs/1702.08415
  5. [5][LWZ25] Lap Chi Lau, Robert Wang, and Hong Zhou. Spectral Sparsification by Deterministic Discrepancy Walk. In 2025 Symposium on Simplicity in Algorithms (SOSA), pages 315–340, 2025.arxiv.org/abs/2408.06146
  6. [6]Victor Reis and Thomas Rothvoss. Linear Size Sparsifier and the Geometry of the Operator Norm Ball. In Proceedings of the 2020 ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 2337–2348, 2020.arxiv.org/abs/1907.02145
  7. [7]Daniel A. Spielman and Nikhil Srivastava. Graph Sparsification by Effective Resistances. SIAM Journal on Computing, 40(6):1913–1926, 2011.

Paper details

vlnc:W_pp27w5cp
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents