Solving Tall Dense Linear Programs in Nearly Linear Time

Jan van den Brand, Yin Tat Lee, Aaron Sidford, Zhao Song

Introduction

is one of the most fundamental and well-studied problems in computer science and optimization. Developing faster algorithms for (1.1) has been the subject of decades of extensive research and the pursuit of faster linear programming methods has lead to numerous algorithmic advances and the advent of fundamental optimization techniques, e.g. simplex methods [Dan51], ellipsoid methods [Kha80], and interior-point methods (IPMs) [Kar84].

With this IPM in hand, the problem of achieving our desired running time reduces to implementing this IPM efficiently. This problem is that of maintaining multiplicative approximations to vectors (the current iterates), leverage scores (a measure of importance of the rows under local rescaling), and the inverse of matrix (the system one needs to solve to take a step of the IPM) under small perturbations. While variants of vector maintenance have been considered recently [CLS19, LSZ19, Bra20] and inverse maintenance is well-studied historically [Kar84, NN89, Vai89a, NN91, LS14, LS15, CLS19, LSZ19, LS19, Bra20], none of these methods can be immediately applied in our setting where we cannot afford to pay too much in terms of nn each iteration.

Our second contribution is to show that these data-structure problems can be solved efficiently. A key technique we use to overcome these issues is heavy-hitters sketching. We show that it is possible to apply a heavy hitters sketch (in particular [KNPW11, Pag13]) to the iterates of the method such that we can efficiently find changes in the coordinates. This involves carefully sketching groups of updates and dynamically modifying the induced data-structure. These sketches only work against non-adaptive adversaries, and therefore care is need to ensure that the sketch is used only to save time and not affect the progression of the overall IPM in a way that break this non-adaptive assumption. To achieve this we use the sketches to propose short-lists of possible changes which we then filter to ensure that the output of the datastructure is deterministic (up to a low probability failure event). Coupling this technique with known Johnson-Lindestrauss sketches yields our leverage score maintenance data structure and adapting and simplifying previous inverse maintenance techniques yields our inverse maintenance data structure. We believe this technique of sketching the central path is powerful and may find further applications.

See [Ren88, LS14] on the discussion on converting such an approximate solution to an exact solution. For integral A,b,c\mathbf{A},b,c, it suffices to pick δ=2−O(L)\delta=2^{-O(L)} to get an exact solution where L=log⁡(1+dmax⁡+∥c∥∞+∥b∥∞)L=\log(1+d_{\max}+\|c\|_{\infty}+\|b\|_{\infty}) is the bit complexity and dmax⁡d_{\max} is the largest absolute value of the determinant of a square sub-matrix of A\mathbf{A}. For many combinatorial problems L=O(log⁡(n+∥b∥∞+∥c∥∞))L=O(\log(n+\|b\|_{\infty}+\|c\|_{\infty})).

2 Previous Work

Linear programming has been the subject of extensive research for decades and it is impossible to completely cover to this impressive line of work in this short introduction. Here we cover results particularly relevant to our approach. For more detailed coverage of prior-work see, e.g. [NN94, Ye11].

IPMs: The first proof of a polynomial time IPM was due to Karmarkar in [Kar84]. After multiple running time improvements [Kar84, NN89, Vai89a, NN91] the current fastest IPMs are the aforementioned results of [LS19] and [CLS19]. Beyond these results, excitingly the work of [CLS19] was recently extended to obtain comparable running time improvements for solving arbitrary empirical risk minimization problems (ERM) [LSZ19] and was recently simplified and de-randomized by van den Brand [Bra20]. These works consider variants of the vector maintenance problem and our work is inspired in part by them. Our IPM leverages the barrier from [LS19] in a new way, that enables the application of robustness techniques from [LS19, CLS19, Bra20] and new techniques for handling approximately feasible points.

Leverage Scores and Lewis Weights: Leverage scores [SS11, Mah11, LMP13, CLM+15] (and more broadly Lewis weights [Lew78, BLM89, CP15, LS19]) are fundamental notions of importance of rows of a matrix with numerous applications. In this paper we introduce a natural online problem for maintaining multiplicative approximations to leverage scores and we show how to solve this problem efficiently. Though we are unaware of this problem being studied previously, we know that in the special case of leverage scores induced by graph problems, which are known as effective resistances, there are dynamic algorithms for maintaining them, e.g [DGGP19]. However, these algorithms seem tailored to graph structure and it is unclear how to apply them in our setting. Further, there are streaming algorithms for variants of this problem [AGM13, KLM+17, KNST20], however their running time is too large for our purposes.

Overview of Approach

We first give a quick introduction to primal-dual path IPMs, review the central path from [LS19] and from it derive the central path that our method is based on, and explain our new IPM.

The Lewis Weight Barrier and Beyond

where W=Diag(w)\mathbf{W}=\mathbf{Diag}(w). In the special case when p=2p=2,

is known as the leverage scores of the rows of A\mathbf{A} and is a fundamental object for dimension reduction and solving linear systems [SS11, Mah11, LMP13, NW14, Woo14, CLM+15, SWZ19].

Formally, in this paper we consider the following regularized-variant of this centrality measure:

Our Robust Primal-Dual Method:

The main guarantees of this new IPM are given by Theorem 5 (Section 4.1) and proven in Section 5 and Section B. This theorem formalizes the above discussion and quantifies how much the iterates, leverage scores, and Hessian can change in each iteration. These bounds are key to obtaining an efficient method that can maintain multiplicative approximations to these quantities.

2 Heavy Hitters, Congestion Detection, and Sketching the Central Path

We treat each of these problems as a self contained data-structure problem, the first we call the vector maintenance problem, the second we call the leverage score maintenance problem, and the third has been previously studied (albeit different variants) and is called the inverse maintenance problem. For each problem we build efficient solutions by combining techniques form the sketching literature (e.g. heavy hitters sketches and Johnson-Lindenstrauss sketches) and careful potential functions and tools for dealing with sparse and low rank approximations. (Further work is also needed to maintain the gradient of a potential used to measure proximity to the central path (Section D) and this is discussed in the appendix.)

In the remainder of this overview, we briefly survey how we solve each of these problems. A common issue that needs to addressed in solving each problem is that of hiding randomness and dealing with adversarial input. Each data-structure uses sampling and sketching techniques to improve running times. While these techniques are powerful and succeed with high probability, they only work against an oblivious adversary, i.e. one which provides input that does not depend on the randomness of the data structure. However, the output of our data-structures are used to take steps along the central path and provide the next input, so care needs to be taken to argue that the output of the data structure, as used by the method, doesn’t somehow leak information about the randomness of the sketches and samples into the next input. A key contribution of our work is showing how to overcome this issue in each case.

So far we only explained how we can detect large changes in y(t)y^{(t)} that occur within a single iteration. However, it could be that some entry changes slowly over several iterations. It is easy to extend our heavy hitter technique to also detect these slower changes. The idea is that we not just detect changes within one iteration (i.e. yi(t)̸≈ϵ/2yi(t−1)y_{i}^{(t)}\not\approx_{\epsilon/2}y_{i}^{(t-1)}) but also changes within any power of two (i.e. yi(t)̸≈ϵ/2yi(t−2i)y_{i}^{(t)}\not\approx_{\epsilon/2}y_{i}^{(t-2^{i})}for i=1,...,log⁡ti=1,...,\log t). To make sure that this does not become too slow, we only check every 2i2^{i} iterations if there was a large change within the past 2i2^{i} iterations. One can prove that this is enough to also detect slowly changing entries.

Leverage Score Maintenance:

Inverse Maintenance:

Fortunately, we note that we do not need a sparsifier that satisfies both conditions at all time. Therefore, our final data structure has two ways to output the inverse of the sparsifier. The sparsifier that works only against oblivious adversary is used in implementing the Newton steps and the sparsifier that is slowly changing is used to compute the sketch MJ\mathbf{M}\mathbf{J} used in the leverage score maintenance problem mentioned above.

Preliminaries

Here we discuss varied notation we use throughout the paper. We adopt similar notation to [LS14] and some of the explanations here are copied directly form this work.

Approximations: We use x≈ϵyx\approx_{\epsilon}y to denote that exp⁡(−ϵ)y≤x≤exp⁡(ϵ)y\exp(-\epsilon)y\leq x\leq\exp(\epsilon)y and A≈ϵB\mathbf{A}\approx_{\epsilon}\mathbf{B} to denote that exp⁡(−ϵ)B⪯A⪯exp⁡(ϵ)B\exp(-\epsilon)\mathbf{B}\preceq\mathbf{A}\preceq\exp(\epsilon)\mathbf{B}.

Linear Programming Algorithm

The proof for Theorem 1 uses four intermediate results, which we formally state in the next Sections 4.1, to 4.4. Each of these intermediate results is self-contained and analyzed in its own section, Sections 5 to 8 correspondingly. In this section we show how these results can be combined to obtain Theorem 1. The first result is a new, improved IPM as outlined in Section 2.1. The exact statement is given in Section 4.1 and its analysis can be found in Section 5 and Section B. Here we give a rough summary to motivate the other three results used by our linear programming algorithm.

(ii) In Section 4.3 we present a data-structure that can main approximate leverage scores, required by the IPM. Its correctness is proven in Section 7.

With this we have all tools available for proving the main result Theorem 1. In Section 4.5 we show how to combine all these tools to obtain the fast linear programming algorithm.

Furthermore, throughout Algorithm 1, we have

xs≈4ϵμ⋅τ(x,s)xs\approx_{4\epsilon}\mu\cdot\tau(x,s) for some μ\mu where (x,s)(x,s) is immediate points in the algorithms

Note that the complexity of Theorem 5 depends on the cost of implementing Lines 1, 1, 1, and 1 of Algorithm 1, as well as the cost of Algorithm 10. Here Lines 1, 1 and 1 ask us to maintain an approximation of the primal dual solution pair (x,s)(x,s). A data-structure for this task is presented in Section 4.2. Additionally, to compute Lines 1 and 1, we must have access to an approximate inverse of A⊤S‾−1X‾A\mathbf{A}^{\top}\overline{\mathbf{S}}^{-1}\overline{\mathbf{X}}\mathbf{A} (see Line 1). The task of maintaining this inverse will be performed by the data-structure presented in Section 4.4. At last, consider Line 1. To implement this line, we must have an approximation of the leverage scores τ(x,s)\tau(x,s). In Section 4.3, we present a data-structure that can efficiently maintain such an approximation.

To help us analyze the cost of Algorithm 10, we prove the following in Section B.

2 Vector Data Structure

To maintain an approximation of x(t)x^{(t)}, we can then use the data-structure for maintaining an approximation of y(t)y^{(t)} by choosing

Likewise, we can maintain an approximation of s(t)s^{(t)} by a slightly different choice of parameters. The exact result, which we prove in Section 6, is the following Theorem 8:

There exists a Monte-Carlo data-structure (Algorithm 6), that works against an adaptive adversary, with the following procedures:

3 Leverage Score Maintenance

The IPM of Theorem 5, requires approximate leverage scores of some matrix of the form GA\mathbf{G}\mathbf{A}, where G\mathbf{G} is a diagonal matrix (see Line 1 of Algorithm 1, where G=(X‾/S‾)1/2\mathbf{G}=(\overline{\mathbf{X}}/\overline{\mathbf{S}})^{1/2}) . Here the matrix G\mathbf{G} changes slowly from one iteration of the IPM to the next one, which allows us to create a data-structure that can maintain the scores more efficiently than recomputing them from scratch every time G\mathbf{G} changes. In Section 7 we prove the following result for maintaining leverage scores:

There exists a Monte-Carlo data-structure (Algorithm 7), that works against an adaptive adversary, with the following procedures:

where TΨT_{\Psi} is the time required to multiply a vector with Ψ(t)\Psi^{(t)} (i.e. in case it is given implicitly via a data structure).

4 Inverse Maintenance

The amortized time per call of Update is O(n+ϵ−2⋅(dω−12+d2)⋅log⁡3/2(n))O(n+\epsilon^{-2}\cdot(d^{\omega-\frac{1}{2}}+d^{2})\cdot\log^{3/2}(n)).

The time per call of Solve is O(n+δ−2⋅d2⋅log⁡2(n/δ))O(n+\delta^{-2}\cdot d^{2}\cdot\log^{2}(n/\delta)).

Theorem 10 holds even if the input ww and τ~\widetilde{\tau} of the algorithm depends on the output of Solve. Furthermore, we have

5 Linear Programming Algorithm

Moving along these two paths of the first and second phase is performed via the IPM of Algorithm 1 (Section 4.1, Theorem 5). Note that Algorithm 1 does not specify in Line 1 how to obtain the approximate solution pair (x‾,s‾)(\overline{x},\overline{s}), so we must implement this step on our own. Likewise, we must specify how to efficiently compute the steps in Lines 1 and 1. These implementations can be found in the second part of Algorithm 2. The high-level idea is to use the data-structures presented in Section 4.2 to 4.4.

To illustrate, consider Line 1 of Algorithm 1, which computes

for W‾=X‾S‾\overline{\mathbf{W}}=\overline{\mathbf{X}}\overline{\mathbf{S}} and Q=S‾−1/2X‾1/2AH−1A⊤X‾1/2S‾−1/2\mathbf{Q}=\overline{\mathbf{S}}^{-1/2}\overline{\mathbf{X}}^{1/2}\mathbf{A}\mathbf{H}^{-1}\mathbf{A}^{\top}\overline{\mathbf{X}}^{1/2}\overline{\mathbf{S}}^{-1/2} for H≈ϵA⊤S‾−1X‾A\mathbf{H}\approx_{\epsilon}\mathbf{A}^{\top}\overline{\mathbf{S}}^{-1}\overline{\mathbf{X}}\mathbf{A}. We split this task into three parts: (i) compute r:=A⊤X‾1/2S‾−1/2W‾1/2hr:=\mathbf{A}^{\top}\overline{\mathbf{X}}^{1/2}\overline{\mathbf{S}}^{-1/2}\overline{\mathbf{W}}^{1/2}h, (ii) compute v:=H−1rv:=\mathbf{H}^{-1}r, and (iii) compute (1−2α)S‾W‾−1/2S‾−1/2X‾1/2Av=(1−2α)Av(1-2\alpha)\overline{\mathbf{S}}\overline{\mathbf{W}}^{-1/2}\overline{\mathbf{S}}^{-1/2}\overline{\mathbf{X}}^{1/2}\mathbf{A}v=(1-2\alpha)\mathbf{A}v. Part (i), the vector rr, can be maintained efficiently, because we maintain the approximate solutions x‾\overline{x}, s‾\overline{s} (thus also w‾\overline{w}) and vector hh, (by Algorithm 12, Theorem 59, of Section D) in such a way, that per iteration only few entries change on average. Part (ii) is solved by the inverse maintenance data-structure of Section 4.4 (Theorem 10). The last part (iii) is solved implicitly by the data-structure of Section 4.2 (Theorem 8), which is also used to obtain the approximate solutions x‾,s‾\overline{x},\overline{s} in Line 1 of Algorithm 1. We additionally run the data-structure of Section 4.3 (Theorem 9) in parallel, to maintain an approximation of the leverage scores, which allows us to find the approximation v‾\overline{v} required in Line 1. These modifications to Algorithm 1 are given in the second part of Algorithm 2.

The following theorem shows how to reduce solving any bounded linear program to solving a linear program with a non-degenerate constrain matrix and an explicit initial primal and dual interior point. This theorem is proven in Appendix C.

Consider linear program min⁡A⊤x=b,x≥0c⊤x\min_{\mathbf{A}^{\top}x=b,x\geq 0}c^{\top}x with nn variables and dd constraints. Assume that 1. Diameter of the polytope : For any x≥0x\geq 0 with A⊤x=b\mathbf{A}^{\top}x=b, we have that ∥x∥2≤R\|x\|_{2}\leq R. 2. Lipschitz constant of the linear program : ∥c∥2≤L\|c\|_{2}\leq L. 3. The constraint matrix A\mathbf{A} is non-degenerate.

For any δ∈(0,1]\delta\in(0,1], the modified linear program min⁡A‾⊤x‾=b‾,x‾≥0c‾⊤x‾\min_{\overline{\mathbf{A}}^{\top}\overline{x}=\overline{b},\overline{x}\geq 0}\overline{c}^{\top}\overline{x} with

As outlined before, the initial points given in Theorem 12 do not satisfy

Similarly, we have T(v)i2/p≥e−∣1−2p∣αT(w)i2/pT(v)_{i}^{2/p}\geq e^{-|1-\frac{2}{p}|\alpha}T(w)_{i}^{2/p}. Taking p/2p/2 power of both sides, we have

Hence, T(v)≈∣p/2−1∣αT(w)T(v)\approx_{|p/2-1|\alpha}T(w).

Consequently, let w0=η1w_{0}=\eta 1 and consider the algorithm wk+1=T(wk)w_{k+1}=T(w_{k}). Since η>0\eta>0 we have that

Now, we first prove the correctness of the Algorithm 2.

Algorithm 2 outputs xx such that w.h.p. in nn

We define the primal dual point (x,s)(x,s) via the formula of lines 1 and 1. We start by showing that our implementation of Algorithm 1 in Algorithm 2 satisfies all required conditions, i.e. that we can apply Theorem 5. Throughout this proof, states hold only w.h.p. and therefore the restatement of this is often omitted for brevity.

We first show that throughout Centering, we have the invariant above, assuming the input parameter τi(init)\tau_{i}^{\text{(init)}} satisfied τi(init)≈γ/4σ(S−1/2−αX1/2−αA)+dn1\tau_{i}^{\text{(init)}}\approx_{\gamma/4}\sigma(\mathbf{S}^{-1/2-\alpha}\mathbf{X}^{1/2-\alpha}\mathbf{A})+\frac{d}{n}1. Theorem 8 shows that x(tmp)≈γ/8xx^{\text{(tmp)}}\approx_{\gamma/8}x and s(tmp)≈γ/8ss^{\text{(tmp)}}\approx_{\gamma/8}s (Line 3 and 3). Then, by the update rule (Line 3 and 3), we have that x(tmp)≈γ/8x‾x^{\text{(tmp)}}\approx_{\gamma/8}\overline{x} and s(tmp)≈γ/8s‾s^{\text{(tmp)}}\approx_{\gamma/8}\overline{s}. Hence, we have the desired approximation for x‾\overline{x} and s‾\overline{s}.

Ψ(α)≈γ/(512log⁡n)(A⊤S−1−2αX1−2αA)−1\Psi^{(\alpha)}\approx_{\gamma/(512\log n)}(\mathbf{A}^{\top}\mathbf{S}^{-1-2\alpha}\mathbf{X}^{1-2\alpha}\mathbf{A})^{-1} (Line 2) and

(Line 2 and Line 3). Again, by update rule (Line 3), we have the desired approximation for τ‾\overline{\tau}.

Invariant: x​s≈μ⋅τ⁡(x,s)xs\approx\mu\cdot\tau(x,s):

Initially, x=1x=1 due to the reduction (Lemma 12), μ=1\mu=1 and s≈ϵσ(S−1/2−αA)+dn1s\approx_{\epsilon}\sigma(\mathbf{S}^{-1/2-\alpha}\mathbf{A})+\frac{d}{n}1 (Line 2). Hence, xs≈ϵμ⋅(σ(S−1/2−αX1/2−αA)+dn1)xs\approx_{\epsilon}\mu\cdot(\sigma(\mathbf{S}^{-1/2-\alpha}\mathbf{X}^{1/2-\alpha}\mathbf{A})+\frac{d}{n}1) initially.

First, we bound the denominator. We have that sx≈1/2μτsx\approx_{1/2}\mu\tau, so for all i∈[n]i\in[n] we have

where we used ∥x∥∞≤O(n)\|x\|_{\infty}\leq O(n) by Lemma 12 as we ensure xx is sufficiently close to feasible for the modified linear program by Theorem 5. For the numerator, we note that ∥c∥∞≤1\|c\|_{\infty}\leq 1 for the modified linear program and ∥c(tmp)∥∞=∥s∥∞≤3\|c^{\text{(tmp)}}\|_{\infty}=\|s\|_{\infty}\leq 3 for the ss computed by Theorem 13 in Line 2.again by the definition of ss (Line 2) and the modified A\mathbf{A} and yy. Hence, we have that

for any constant cc by choosing the constant in the O(⋅)O(\cdot) in Line 2 appropriately. Thus xs≈2ϵμ⋅τ(x,s)xs\approx_{2\epsilon}\mu\cdot\tau(x,s) and τ‾≈γ/4σ(S−1/2−αX1/2−αA)+dn1\overline{\tau}\approx_{\gamma/4}\sigma(\mathbf{S}^{-1/2-\alpha}\mathbf{X}^{1/2-\alpha}\mathbf{A})+\frac{d}{n}1, so when we call Centering in Line 2, we again obtain xs≈ϵμ⋅τ(x,s)xs\approx_{\epsilon}\mu\cdot\tau(x,s).

Conclusion:

Before the algorithm ends, we have xs≈1/4μτxs\approx_{1/4}\mu\tau. In Line 2, we reduce Φb:=∥A⊤x−b∥(A⊤XS−1A)−12\Phi_{b}:=\|\mathbf{A}^{\top}x-b\|_{(\mathbf{A}^{\top}\mathbf{X}\mathbf{S}^{-1}\mathbf{A})^{-1}}^{2} to some small enough Φb=O(δ/n2)\Phi_{b}=O(\delta/n^{2}). By Corollary 56 this does not move the vector xx too much, i.e. we still have x⋅s≈1/2μ⋅τ(x,s)x\cdot s\approx_{1/2}\mu\cdot\tau(x,s). Hence, by the choice of the new μ\mu in Line 2, Lemma 12 shows that we can output a point x^\widehat{x} with the desired properties. ∎ Finally, we analyze the cost of the Algorithm 2.

Algorithm 2 takes O((nd+d3)log⁡O(1)nlog⁡(n/δ))O((nd+d^{3})\log^{O(1)}n\log(n/\delta)) time with high probability in nn.

Number of iterations:

Cost of DInverseD_{\textsc{Inverse}}:

Cost of DLeverageD_{\textsc{Leverage}}:

By Lemma 11, the total movement of the projection matrix is

where KK is the number of steps and w=S−1−2αx1−2αw=\mathbf{S}^{-1-2\alpha}x^{1-2\alpha}. Then, Theorem 9 shows that the total cost is O(ndK2⋅d)=O(nK2)=O(ndlog⁡2(1/δ))O(\frac{n}{d}K^{2}\cdot d)=O(nK^{2})=O(nd\log^{2}(1/\delta)).

Cost of DMatVec(x)D_{\textsc{MatVec}}^{(x)} and DMatVec(s)D_{\textsc{MatVec}}^{(s)}:

Cost of maintaining 𝐀⊤​𝐗¯​h\mathbf{A}^{\top}\overline{\mathbf{X}}h (DGradientD_{\text{Gradient}}):

Cost of implementing MaintainFeasibility (Algorithm 10):

Removing the extra log⁡(1/δ)\log(1/\delta) term:

We note that all the extra log⁡(1/δ\log(1/\delta) terms are due to running the data structures for dlog⁡(1/δ)\sqrt{d}\log(1/\delta) steps. However, we can we reinitialize the data structures every d\sqrt{d} iterations. This decreases the KK dependence from K2K^{2} to KdK\sqrt{d}.

Independence and Adaptive Adversaries:

Randomized data-structures often can not handle inputs that depend on outputs of the previous iteration. For example Theorem 10 is such a case, where the input to Update is not allowed to depend on the output of any previous calls to Update. In our Algorithm 2 the input to the data-structures inherently depends on their previous output, so here we want to verify that this does not cause any issues.

Robust Primal Dual LS-Path Following

Similar to previous papers [CLS19, LSZ19, Bra20] our algorithms measure progress or the quality of this approximation by

To update our points and improve the potential we consider attempting to move ww in some direction hh suggested by ∇Φ(v)\nabla\Phi(v). To do so we solve for δs,δx,δy\delta_{s},\delta_{x},\delta_{y} satisfying the following

where W‾=X‾S‾\overline{\mathbf{W}}=\overline{\mathbf{X}}\overline{\mathbf{S}}. Solving this system of equations, we have

Note that, since we use H\mathbf{H} and Q\mathbf{Q} (rather than a true orthogonal projection) it is not necessarily the case that A⊤δx=0\mathbf{A}^{\top}\delta_{x}=0. Consequently, we will need to take further steps to control this error and this is analyzed in Section B.

Much of the remaining analysis is bounding the effect of such a step and leveraging this analysis to tune ϕ\phi and hh. In Section 5.1 we bound the change in the point when we take a Newton step, in Section 5.2 we bound the effect of a Newton step on centrality for arbitrary Φ\Phi, and in Section 5.3 we analyze the particular structure of Φ\Phi and use this to prove Theorem 1.

Next, we relate leverage scores of the projection matrix P(S−1/2X1/2A)\mathbf{P}(\mathbf{S}^{-1/2}\mathbf{X}^{1/2}\mathbf{A}) considered in taking a Newton step to the leverage scores used to measure centrality, i.e. σ(S−1/2−αX1/2−αA)\sigma(\mathbf{S}^{-1/2-\alpha}\mathbf{X}^{1/2-\alpha}\mathbf{A}).

For (μ,ϵ)(\mu,\epsilon)-centered point (x,s)(x,s) with ϵ∈[0,1/80)\epsilon\in[0,1/80) we have

By assumption w=Xsw=\mathbf{X}s satisfies w≈ϵμ[σ(S−1/2−αX1/2−αA)+dn]w\approx_{\epsilon}\mu[\sigma(\mathbf{S}^{-1/2-\alpha}\mathbf{X}^{1/2-\alpha}\mathbf{A})+\frac{d}{n}]. Since leverage scores lie between 00 and 11, this implies e−ϵdn≤μ−1w≤eϵ2e^{-\epsilon}\frac{d}{n}\leq\mu^{-1}w\leq e^{\epsilon}2. Consequently e−αϵ2−αI⪯μαW−α⪯eαϵ(dn)−αIe^{-\alpha\epsilon}2^{-\alpha}\mathbf{I}\preceq\mu^{\alpha}\mathbf{W}^{-\alpha}\preceq e^{\alpha\epsilon}(\frac{d}{n})^{-\alpha}\mathbf{I} and since α=1/(4log⁡(4n/d))\alpha=1/(4\log(4n/d)) we have that entrywise

The result then follows from the assumption ϵ≤1/80\epsilon\leq 1/80. ∎

Leveraging Lemma 19 we obtain the following bounds on Q\mathbf{Q} and W‾−1/2QW‾1/2h\overline{\mathbf{W}}^{-1/2}\mathbf{Q}\overline{\mathbf{W}}^{1/2}h for Newton directions.

Since H≈ϵA⊤S‾−1X‾A\mathbf{H}\approx_{\epsilon}\mathbf{A}^{\top}\overline{\mathbf{S}}^{-1}\overline{\mathbf{X}}\mathbf{A}, we have H−1⪯eϵ(A⊤S‾−1X‾A)−1\mathbf{H}^{-1}\preceq e^{\epsilon}(\mathbf{A}^{\top}\overline{\mathbf{S}}^{-1}\overline{\mathbf{X}}\mathbf{A})^{-1} and

Since Q\mathbf{Q} is PSD this implies ∥Q∥2≤eϵ\|\mathbf{Q}\|_{2}\leq e^{\epsilon} and since w‾≈2ϵw\overline{w}\approx_{2\epsilon}w and w≈ϵμτw\approx_{\epsilon}\mu\tau this implies

Similarly, we have 0⪯Q⪯eϵI0\preceq\mathbf{Q}\preceq e^{\epsilon}\mathbf{I} and hence ∥I−Q∥2≤1\|\mathbf{I}-\mathbf{Q}\|_{2}\leq 1 (using that ϵ≤1/80\epsilon\leq 1/80). Therefore, we have

Further, by Cauchy Schwarz and Q=Q1/2Q1/2\mathbf{Q}=\mathbf{Q}^{1/2}\mathbf{Q}^{1/2} we have

Since Q⪯eϵI\mathbf{Q}\preceq e^{\epsilon}\mathbf{I} we have

Further, by Q⪯eϵP(S‾−1/2X‾1/2)⪯e3ϵP(S−1/2X1/2)\mathbf{Q}\preceq e^{\epsilon}\mathbf{P}(\overline{\mathbf{S}}^{-1/2}\overline{\mathbf{X}}^{1/2})\preceq e^{3\epsilon}\mathbf{P}(\mathbf{S}^{-1/2}\mathbf{X}^{1/2}) and Lemma 19 we have that

Combining these and using ϵ≤1/80\epsilon\leq 1/80 yields the desired bounds. ∎

Leveraging Lemma 19 we obtain the following bounds on the multiplicative stability of Newton directions.

Note that S−1δs=(1−2α)S−1S‾W‾−1/2QW‾1/2h\mathbf{S}^{-1}\delta_{s}=(1-2\alpha)\mathbf{S}^{-1}\overline{\mathbf{S}}\overline{\mathbf{W}}^{-1/2}\mathbf{Q}\overline{\mathbf{W}}^{1/2}h. Since s≈ϵs‾s\approx_{\epsilon}\overline{s} and w‾≈2ϵw\overline{w}\approx_{2\epsilon}w the bounds on ∥S−1δs∥τ\|\mathbf{S}^{-1}\delta_{s}\|_{\tau} and ∥S−1δs∥∞\|\mathbf{S}^{-1}\delta_{s}\|_{\infty} follow immediately from Lemma 18 and Lemma 20.

Similarly, X−1δx=(1+2α)X−1X‾W‾−1/2(I−Q)W‾1/2h\mathbf{X}^{-1}\delta_{x}=(1+2\alpha)\mathbf{X}^{-1}\overline{\mathbf{X}}\overline{\mathbf{W}}^{-1/2}(\mathbf{I}-\mathbf{Q})\overline{\mathbf{W}}^{1/2}h. Since x‾≈ϵx\overline{x}\approx_{\epsilon}x and w‾≈2ϵw\overline{w}\approx_{2\epsilon}w, we have ∥X−1X‾h∥τ≤eϵ∥h∥τ\|\mathbf{X}^{-1}\overline{\mathbf{X}}h\|_{\tau}\leq e^{\epsilon}\|h\|_{\tau} and ∥X−1X‾h∥∞≤eϵ∥h∥∞\|\mathbf{X}^{-1}\overline{\mathbf{X}}h\|_{\infty}\leq e^{\epsilon}\|h\|_{\infty}. The bounds on ∥X−1δx∥τ\|\mathbf{X}^{-1}\delta_{x}\|_{\tau} and ∥X−1δx∥∞\|\mathbf{X}^{-1}\delta_{x}\|_{\infty} follow by triangle inequality and the same derivation as for ∥S−1δs∥τ\|\mathbf{S}^{-1}\delta_{s}\|_{\tau} and ∥S−1δs∥∞\|\mathbf{S}^{-1}\delta_{s}\|_{\infty}. ∎

2 Newton Step Progress

Here we analyze the effect of a Newton step from a (μ,ϵ)(\mu,\epsilon) centered point on the potential Φ(x,s,μ)\Phi(x,s,\mu). We show that up to some additive error on hh in the appropriate mixed norm the potential decreases by ∇Φ(v)⊤h\nabla\Phi(v)^{\top}h. The main result of this section is the following.

where [∇Φ(v′)]i[\nabla\Phi(v^{\prime})]_{i} is the derivative of ϕ\phi at (v′)i(v^{\prime})_{i} for all i∈[n]i\in[n].

We prove this theorem in multiple steps. First, in Lemma 23 we directly compute the change in the potential function by chain rule and mean value theorem. Then, in Lemma 24 and Lemma 25 we bound the terms in this change of potential formula and use this to provide a formula for the approximate the change in the potential in Lemma 26. Finally, in Lemma 26 we bound this approximate change and use this to prove Theorem 22.

In the setting of Theorem 22 for all t∈t\in let xt=x+tδxx_{t}=x+t\delta_{x} and st=s+tδss_{t}=s+t\delta_{s}. Then for some t∗t_{*}, we have that

By the mean value theorem, there is t∈t\in such that

and Lemma 45 combined with chain rule implies that

The result then follows by the definition of δs\delta_{s} and δx\delta_{x}. ∎

On the other hand, we know that 0⪯Λt⪯Σt⪯Tt\boldsymbol{0}\preceq\boldsymbol{\Lambda}_{t}\preceq\boldsymbol{\Sigma}_{t}\preceq\mathbf{T}_{t} by Lemma 44 and that σt≤τt\sigma_{t}\leq\tau_{t}. Consequently, 0⪯Tt−1/2ΛtTt−1/2⪯I\boldsymbol{0}\preceq\mathbf{T}_{t}^{-1/2}\boldsymbol{\Lambda}_{t}\mathbf{T}_{t}^{-1/2}\preceq\mathbf{I} and Lemma 18 yields

Since for all c∈c\in we have min⁡{∥y∥∞,∥y∥τt}≤c∥y∥∞+(1−c)∥y∥τt\min\{\|y\|_{\infty},\|y\|_{\tau_{t}}\}\leq c\|y\|_{\infty}+(1-c)\|y\|_{\tau_{t}} and max⁡{1−β,β}≤1−β\max\{1-\beta,\beta\}\leq 1-\beta as β≤1/2\beta\leq 1/2 combining (5.1) and (5.2) yields that for all c∈c\in it is the case that

Next, since by assumptions w0≈ϵμ⋅τ0w_{0}\approx_{\epsilon}\mu\cdot\tau_{0} and w‾≈2ϵw0\overline{w}\approx_{2\epsilon}w_{0} we have that w‾≈6ϵμ⋅τt\overline{w}\approx_{6\epsilon}\mu\cdot\tau_{t} and therefore the above implies

In the setting of Lemma 23 there is a matrix Et\mathbf{E}_{t} with ∥Et∥τt+∞≤1000ϵ\|\mathbf{E}_{t}\|_{\tau_{t}+\infty}\leq 1000\epsilon such that

By Lemma 25, xt≈32ϵx0x_{t}\approx_{\frac{3}{2}\epsilon}x_{0}, st≈32ϵs0s_{t}\approx_{\frac{3}{2}\epsilon}s_{0}, and τt≈3ϵτ0\tau_{t}\approx_{3\epsilon}\tau_{0}. By definition of an ϵ\epsilon-Newton direction this further implies that xt≈52ϵx‾x_{t}\approx_{\frac{5}{2}\epsilon}\overline{x} and st≈52ϵs‾s_{t}\approx_{\frac{5}{2}\epsilon}\overline{s}. Further, this implies that wt≈3ϵw0w_{t}\approx_{3\epsilon}w_{0} and since w0≈ϵμ⋅τ0w_{0}\approx_{\epsilon}\mu\cdot\tau_{0} by definition of (μ,ϵ)(\mu,\epsilon)-centered this implies that wt≈7ϵμ⋅τtw_{t}\approx_{7\epsilon}\mu\cdot\tau_{t}. Consequently, Fact 18, Lemma 46, and ϵ<1/80\epsilon<1/80 implies

Further, ∥W‾−1/2QW‾1/2∥τt+∞≤2\|\overline{\mathbf{W}}^{-1/2}\mathbf{Q}\overline{\mathbf{W}}^{1/2}\|_{\tau_{t}+\infty}\leq 2 by Lemma 25 with β=0\beta=0 and ∥Tt−1Λt∥τt+∞≤2\|\mathbf{T}_{t}^{-1}\boldsymbol{\Lambda}_{t}\|_{\tau_{t}+\infty}\leq 2 by Lemma 24 with β=0\beta=0. Combining these facts and applying Lemma 18 we have that there are Ets\mathbf{E}_{t}^{s} and Etx\mathbf{E}_{t}^{x} with ∥Ets∥τt+∞≤500ϵ\|\mathbf{E}_{t}^{s}\|_{\tau_{t}+\infty}\leq 500\epsilon and ∥Etx∥τt+∞≤500ϵ\|\mathbf{E}_{t}^{x}\|_{\tau_{t}+\infty}\leq 500\epsilon with

In the setting of Lemma 26 we have ∥Jt−Et−I∥τt+∞≤1−α\|\mathbf{J}_{t}-\mathbf{E}_{t}-\mathbf{I}\|_{\tau_{t}+\infty}\leq 1-\alpha.

Lemma 26 implies that for β=2α(1−4α2)−1\beta=2\alpha(1-4\alpha^{2})^{-1}

Further, Lemma 24 and α∈(0,1/5)\alpha\in(0,1/5) implies that β∈[0,1/2]\beta\in[0,1/2] and therefore

We now have everything we need to prove the main theorem.

where by Lemma 26 and Lemma 26 we know that for some matrix Et∗\mathbf{E}_{t_{*}} with ∥Et∗∥τt∗+∞≤1000ϵ\|\mathbf{E}_{t_{*}}\|_{\tau_{t_{*}}+\infty}\leq 1000\epsilon it holds that ∥Jt∗−Et∗−I∥τt∗+∞≤1−α\|\mathbf{J}_{t_{*}}-\mathbf{E}_{t_{*}}-\mathbf{I}\|_{\tau_{t_{*}}+\infty}\leq 1-\alpha. Hence, we have Jt∗h=h+e\mathbf{J}_{t_{*}}h=h+e where

Lemma 21 implies that xt≈32ϵx0x_{t}\approx_{\frac{3}{2}\epsilon}x_{0}, st≈32ϵs0s_{t}\approx_{\frac{3}{2}\epsilon}s_{0}, and τt≈3ϵτ0\tau_{t}\approx_{3\epsilon}\tau_{0}. Consequently, wt≈3ϵww_{t}\approx_{3\epsilon}w and vt∗≈6ϵμW−1τv_{t_{*}}\approx_{6\epsilon}\mu\mathbf{W}^{-1}\tau. The definition of (μ,ϵ)(\mu,\epsilon)-centered implies that ∥μW−1τ−1∥∞≤ϵ\|\mu\mathbf{W}^{-1}\tau-1\|_{\infty}\leq\epsilon and therefore ∥vt∗−μW−1τ∥∞≤10ϵ\|v_{t_{*}}-\mu\mathbf{W}^{-1}\tau\|_{\infty}\leq 10\epsilon. The bound on ∥e∥τt∗+∞\|e\|_{\tau_{t_{*}}+\infty} follows from (5.5) and ∥h∥τ∗+∞≤(1+5ϵ)∥h∥τ+∞\|h\|_{\tau_{*}+\infty}\leq(1+5\epsilon)\|h\|_{\tau+\infty}. ∎

3 Following the Central Path

Here we use the particular structure of Φ\Phi to analyze the effect of Newton steps and changing μ\mu on centrality. First we state the following lemma about the potential function from [LS19]. Then we use it to analyze the effect of centering for one step, Lemma 31, and we conclude the section by proving a simplified variant of Theorem 5.

When τ\tau is clear from context we also write v♭v^{\flat} for v♭(τ)v^{\flat(\tau)}.

Here we provide a general lemma bounding how much Φ\Phi can increase for a step of bounded size in the mixed norm.

where in the second line we applied (5.8) of Lemma 28 as tδ≤1/(5λ)t\delta\leq 1/(5\lambda). ∎

Further, since ∥X−1δx∥∞≤ϵ≤1/(100)\|\mathbf{X}^{-1}\delta_{x}\|_{\infty}\leq\epsilon\leq 1/(100) we have that

Now, the proof of Lemma 24 shows that ∥(1−2α)Tt−1Λt−I∥τt+∞≤2\|\left(1-2\alpha\right)\mathbf{T}_{t}^{-1}\boldsymbol{\Lambda}_{t}-\mathbf{I}\|_{\tau_{t}+\infty}\leq 2 and that ∥X−1δx∥∞≤ϵ≤1/100\|\mathbf{X}^{-1}\delta_{x}\|_{\infty}\leq\epsilon\leq 1/100 and (x0,s)(x_{0},s) is (μ,ϵ)(\mu,\epsilon)-centered shows that ∥μWt−1Tt∥τt+∞≤2\|\mu\mathbf{W}_{t}^{-1}\mathbf{T}_{t}\|_{\tau_{t}+\infty}\leq 2 and ∥Xt−1X0∥τt+∞≤2\|\mathbf{X}_{t}^{-1}\mathbf{X}_{0}\|_{\tau_{t}+\infty}\leq 2. Combining yields the result. ∎

where we used (5.7), ∥v‾−v′∥∞≤∥v‾−v∥∞+∥v−v′∥∞≤11γ\|\overline{v}-v^{\prime}\|_{\infty}\leq\|\overline{v}-v\|_{\infty}+\|v-v^{\prime}\|_{\infty}\leq 11\gamma and Theorem 22. Since γ≤α50λ\gamma\leq\frac{\alpha}{50\lambda} and ϵ≤α4000\epsilon\leq\frac{\alpha}{4000}, (5.8) implies that

Further ∥τ1∥1=2d\|\tau_{1}\|_{1}=2d and ∥v2∥∞≤2\|v_{2}\|_{\infty}\leq 2 imply that

Using the bounds on δμ\delta_{\mu} and ∥X−1ex∥τ1+∞≤γα2−15\|\mathbf{X}^{-1}e_{x}\|_{\tau_{1}+\infty}\leq\gamma\alpha 2^{-15} this implies that ∥v3−v1∥τ1+∞≤γα2−10\|v_{3}-v_{1}\|_{\tau_{1}+\infty}\leq\gamma\alpha 2^{-10}. Consequently, applying Lemma 29 yields

where in the second line we applied Lemma 28 and ∥v−v1∥∞≤10λ\|v-v_{1}\|_{\infty}\leq 10\lambda. Combining with (5.9) yields

Finally, for any vector uu, we have \|u\|_{*}\geq\left\langle u,\frac{\alpha\text{\cdotsign}(u)}{40\sqrt{d}}\right\rangle=\frac{\alpha}{40\sqrt{d}}\|u\|_{1} as

and combining yields the desired result. ∎

Furthermore, during the algorithm 1, we have

xs≈4ϵμ⋅τ(x,s)xs\approx_{4\epsilon}\mu\cdot\tau(x,s) for some μ\mu where (x,s)(x,s) is immediate points in the algorithms

Initially, we have Φ(v)≤2n⋅e3ϵλ\Phi(v)\leq 2n\cdot e^{3\epsilon\lambda} because of x(init)s(init)≈2ϵμ(init)⋅τ(x(init),s(init))x^{\textrm{(init)}}s^{\textrm{(init)}}\approx_{2\epsilon}\mu^{\textrm{(init)}}\cdot\tau(x^{\textrm{(init)}},s^{\textrm{(init)}}) and (5.6) of Lemma 28.

We proceed to show that in each iteration Φ(v)≤min⁡{2n⋅e3ϵλ,216ndα−2}\Phi(v)\leq\min\{2n\cdot e^{3\epsilon\lambda},2^{16}n\sqrt{d}\alpha^{-2}\}. Note that, by Lemma 28 in any iteration this holds, this implies that ∥v−1∥∞≤1λlog⁡(Φ(v))\|v-1\|_{\infty}\leq\frac{1}{\lambda}\log\left(\Phi(v)\right). Since λ=2ϵlog⁡(216nd/α2)≥2ϵlog⁡(2n)\lambda=\frac{2}{\epsilon}\log(2^{16}n\sqrt{d}/\alpha^{2})\geq\frac{2}{\epsilon}\log(2n) this implies that ∥v−1∥∞≤3.5ϵ\|v-1\|_{\infty}\leq 3.5\epsilon which by the choice of ϵ\epsilon implies that x,sx,s is (μ,4ϵ)(\mu,4\epsilon) centered. Further, Lemma 31 and the design of the algorithm then imply that if Φ(v)≥216ndα−2\Phi(v)\geq 2^{16}n\sqrt{d}\alpha^{-2} in this iteration, then

Now recall that α=1/(4log⁡(4n/d))≥1/(28n)\alpha=1/(4\log(4n/d))\geq 1/(2^{8}n) and consequently as d≤nd\leq n we have

Consequently, the reasoning in the preceding paragraph implies that in each step μ\mu is moved closer to μ(target)\mu^{\textrm{(target)}} by a 1−γα215d=1−Ω(ϵαlog⁡(n)d)1-\frac{\gamma\alpha}{2^{15}\sqrt{d}}=1-\Omega(\frac{\epsilon\alpha}{\log(n)\sqrt{d}}) multiplicative factor. Hence, it takes O(dlog⁡(n)ϵαlog⁡(μ(target)μ(init)))O(\frac{\sqrt{d}\log(n)}{\epsilon\alpha}\log(\frac{\mu^{\textrm{(target)}}}{\mu^{\textrm{(init)}}})) iterations to arrive μ(target)\mu^{\textrm{(target)}}. Further, (5.10) shows that it takes O(dlog⁡(n)/α3)O(\sqrt{d}\log(n)/\alpha^{3}) iterations to decrease Φ\Phi to 216nd/α22^{16}n\sqrt{d}/\alpha^{2}. Hence, in total, it takes

iterations for the algorithm to terminate. Further, when the algorithm terminates, we have that x(final)s(final)≈ϵμ(target)⋅τ(x(final),s(final))x^{(\textrm{final})}s^{(\textrm{final})}\approx_{\epsilon}\mu^{\textrm{(target)}}\cdot\tau(x^{(\textrm{final})},s^{(\textrm{final})}) because Φ≤216ndα−2\Phi\leq 2^{16}n\sqrt{d}\alpha^{-2}, λ=2ϵ−1log⁡(216ndα−2)\lambda=2\epsilon^{-1}\log(2^{16}n\sqrt{d}\alpha^{-2}) and (5.6).

Finally, the bounds on the movement of xx, ss, follow from Lemma 21, the condition ∥X−1ex∥τ+∞≤γα220\|\mathbf{X}^{-1}e_{x}\|_{\tau+\infty}\leq\frac{\gamma\alpha}{2^{20}}, and the choice of γ\gamma. The movement of τ\tau follows from Lemma 14 in [LS15]. ∎

Vector Maintenance

Here we show how to preprocess any matrix A\mathbf{A}, such that we can build a data structure which supports quickly computing the large entries of the product GAh\mathbf{G}\mathbf{A}h for changing diagonal G\mathbf{G}.

There exists a Monte-Carlo data-structure (Algorithm 4), that works against an adaptive adversary, with the following procedures:

for G=Diag(g)\mathbf{G}=\mathbf{Diag}(g) in time O(∥GAh∥2⋅ε−2⋅dlog⁡3n)O(\|\mathbf{G}\mathbf{A}h\|^{2}\cdot\varepsilon^{-2}\cdot d\log^{3}n).

Scale(i,ui,u): Sets gi←ug_{i}\leftarrow u in O(dlog⁡4n)O(d\log^{4}n) time.

Johnson-Lindenstrauss lemma is a famous result about low-distortion embeddings of points from high-dimensional into low-dimension Eculidean space. It was named after William B. Johnson and Joram Lindenstrauss [JL84]. The most classical matrix that gives the property is random Gaussian matrix, it is known that several other matrices also suffice to show the guarantees, e.g. FastJL[AC06], SparseJL[KN14], Count-Sketch matrix [CCFC02, TZ12], subsampled randomized Hadamard/Fourier transform [LDFU13].

It is worth to mention that JL lemma is tight up to some constant factor, i.e., there exists a set of points of size nn that needs dimension Ω(ϵ−2log⁡n)\Omega(\epsilon^{-2}\log n) in order to preserve the distances between all pairs of points [LN17].

Our proof of Lemma 33 is through the analysis of Algorithm 4 which works as follows. The data-structure creates log⁡2n\log_{2}n sketching matrices Φ1,...,Φlog⁡2n\Phi_{1},...,\Phi_{\log_{2}n} according to Lemma 34, where each Φj\Phi_{j} is constructed for ε=2−j.\varepsilon=2^{-j}.The data-structure then maintains the matrices Mj=ΦjGA\mathbf{M}_{j}=\Phi_{j}\mathbf{G}\mathbf{A}, whenever G\mathbf{G} is changed by calling Scale. Whenever \textscQuery(h,ε)\textsc{Query}(h,\varepsilon) is called, the data-structure estimates ∥GAh∥2\|\mathbf{G}\mathbf{A}h\|_{2} via a Johnson-Lindenstrass matrix, and then pick the smallest jj, for which Mjh=ΦjGAh\mathbf{M}_{j}h=\Phi_{j}\mathbf{G}\mathbf{A}h is guaranteed to find all ii with ∣(GAh)i∣>ε|(\mathbf{G}\mathbf{A}h)_{i}|>\varepsilon, i.e. where Φj\Phi_{j} was initialized for ε′=2−j≈∥GAh∥2\varepsilon^{\prime}=2^{-j}\approx\|\mathbf{G}\mathbf{A}h\|_{2}. To make sure that the algorithm works against an adaptive adversary, we compute these entries (GAh)i(\mathbf{G}\mathbf{A}h)_{i} exactly and output only those entries whose absolute value is at least ε\varepsilon (as we might also detect a few ii for which the entry is smaller).

We now give a formal proof, that this data-structure is correct.

Queries:

Now, If r/ϵ≥nr/\epsilon\geq\sqrt{n} then ∥GAh∥2/ϵ≥n/2\|\mathbf{G}\mathbf{A}h\|_{2}/\epsilon\geq\sqrt{n}/2 and O(nd)O(nd) time is within the O(∥GAh∥2⋅ε−2⋅dlog⁡3n)O(\|\mathbf{G}\mathbf{A}h\|^{2}\cdot\varepsilon^{-2}\cdot d\log^{3}n) time-budget for the query. Hence, the algorithm simply outputs the vector by direct calculations, which takes O(nd)O(nd) time.

Otherwise, the algorithm uses Lemma 34 to find a list of indices LL which contains all ii such that ∣(GAh)i∣≥2−j∥GAh∥2|(\mathbf{G}\mathbf{A}h)_{i}|\geq 2^{-j}\|\mathbf{G}\mathbf{A}h\|_{2} with probability at least 9/109/10. Since j=1+⌈log⁡2(r/ϵ)⌉j=1+\left\lceil\log_{2}(r/\epsilon)\right\rceil and r≤2∥GAh∥2r\leq 2\|\mathbf{G}\mathbf{A}h\|_{2}, the heavy hitters algorithm outputs all ii such that ∣(GAh)i∣≥ϵ|(\mathbf{G}\mathbf{A}h)_{i}|\geq\epsilon. Hence, the vector vv that we output is correct.

To bound the runtime, note that we find the list LL by first computing y:=ΦjGAh=Mjhy:=\mathbf{\Phi}_{j}\mathbf{G}\mathbf{A}h=\mathbf{M}_{j}h in O(mjd)=O((4jlog⁡2n)d)O(m_{j}d)=O((4^{j}\log^{2}n)d) time. Then, we use Lemma 34 to decode the list in time O(4jlog⁡2n)O(4^{j}\log^{2}n) time. Hence, in total, it takes O(∥GAh∥22ε−2⋅dlog⁡2n)O(\|\mathbf{G}\mathbf{A}h\|_{2}^{2}\varepsilon^{-2}\cdot d\log^{2}n).

Scaling:

When we set gi=ug_{i}=u, i.e by adding u−giu-g_{i} to entry gig_{i}, then the product ΦjGA\mathbf{\Phi}_{j}\mathbf{G}\mathbf{A} changes by adding the outer product ((u−gi)⋅Φj1i)(1i⊤GA)((u-g_{i})\cdot\mathbf{\Phi}_{j}1_{i})(1_{i}^{\top}\mathbf{G}\mathbf{A}). This outer product can be computed in O(dlog⁡2n)O(d\log^{2}n) time, because each column of Φj\mathbf{\Phi}_{j} has only O(log⁡2n)O(\log^{2}n) non-zero entries. Since there are O(log⁡n)O(\log n) many jj, the total time is O(dlog⁡3n)O(d\log^{3}n). ∎

2 Maintaining Accumulated Sum

There exists a Monte-Carlo data-structure (Algorithm 5), that works against an adaptive adversary, with the following procedures:

Scale(i,ui,u): Sets gi=ug_{i}=u in O(dlog⁡4n)O(d\log^{4}n) amortized time.

MarkExact(ii): Marks the ii-th row to be calculated exactly in the next call to Query in O(dlog⁡4n)O(d\log^{4}n) amortized time.

\textscComputeExact(i)\textsc{ComputeExact}(i): Let w=∑k∈[t]G(k)Ah(k)w=\sum_{k\in[t]}\mathbf{G}^{(k)}\mathbf{A}h^{(k)} be the vector approximated by the last call to Query.Then \textscComputeExact(i)\textsc{ComputeExact}(i) returns wiw_{i} in O(d)O(d) amortized time.

Finally, the cost of Query mainly consists of the following: (1) computation of sums in Line 5, (2) the calculation on indices in FF (i.e. calling ComputeExact), (3) the call of D.\textscQuery,D.\textsc{Query}, and finally (4) the calls to D.\textscScaleD.\textsc{Scale}.

The cost of (1) is bounded by O(td)O(td), which we charge as amortized cost to Update. The cost of (2) is bounded by O(∣F∣d)O(|F|d), which we charge to the amortized cost of Scale and MarkExact. The cost of (3) is exactly the runtime we claimed due to Lemma 33 since we zero out some of the rows using scale (Line 5) which causes the (I−F)(\mathbf{I}-\mathbf{F}) term in the complexity.. The cost of (4) is bounded by O(∣F∣)O(|F|) times the cost of D.\textscScaleD.\textsc{Scale}. We charge this cost to the Scale and MarkExact procedure of the current data structure.

We now prove that the output of Query is correct. Let vv be the output of the algorithm. The algorithm Query consists of two parts. From Line 5 to 5, we calculate vv on indices in FF. From Line 5 to 5, we calculate vv on indices in FcF^{c}.

For any i∉Fi\notin F, we note that gig_{i} is never changed. Hence, we have

and therefore we can re-write the ii-th entry of ∑k∈[t](G(k)−G(0))Ah(k)\sum_{k\in[t]}\left(\mathbf{G}^{(k)}-\mathbf{G}^{(0)}\right)\mathbf{A}h^{(k)} as

By the definition of hˉ(k)\bar{h}^{(k)} this is precisely what is computed in Line 5.

3 Vector Maintenance Algorithm and Analysis

We note that this assumption is satisfied for our interior point method. If this assumption is violated, we can detect it easily by Lemma 33 and propagate this change through the data-structure with small amortized cost. However, this would make the data structure have more special cases and make the code more difficult to read.

To analyze this data structure, recall that

and let y(t)y^{(t)} be the output of the algorithm at iteration tt. Our goal is to prove that the x(t)≈ϵy(t)x^{(t)}\approx_{\epsilon}y^{(t)}. We prove this by induction.We assume x(s)≈ϵy(s)x^{(s)}\approx_{\epsilon}y^{(s)} for all s<ts<t and proceed to prove this is also true for s=ts=t.

for all ii. (Note that the sum on the left is using t′t^{\prime} for its indices while the error bound on the right uses x(t)x^{(t)}.)

Correctness of xx:

ComputeExact:

Complexity:

The runtime of initialization and ComputeExact are that of Lemma 36, but increased by an O(log⁡n)O(\log n) factor, as we run that many instances of these data-structures.

Adaptive Adversaries:

The algorithm works against adaptive adversaries, because the data structures of Lemma 36 work against adaptive adversaries. ∎

Leverage Score Maintenance

The IPM presented in this work requires approximate leverage scores of a matrix of the form GA\mathbf{G}\mathbf{A}, where G\mathbf{G} is a non-negative diagonal matrix that changes slowly from one iteration to the next. Here we provide a data-structure which exploits this stability to maintain the leverage scores of this matrix more efficiently than recomputing them from scratch every time G\mathbf{G} changes. Formally, we provide Algorithm 7 and show it proves the following theorem on maintaining leverage scores:

The high-level idea for obtaining this data-structure is that when G\mathbf{G} changes slowly, the leverage scores of GA\mathbf{G}\mathbf{A} change slowly as well. Thus not too many leverage scores must be recomputed per iteration, when we are interested in some (1+ε)(1+\varepsilon)-approximation, as the previously computed values are still a valid approximation. The task of maintaining a valid approximation can thus be split into two parts: (i) for some small set JJ, quickly compute the jj-th leverage score for j∈Jj\in J, and (ii) detect which leverage scores should be recomputed, i.e. which leverage scores have changed enough so their previously computed value is no longer a valid approximation.

This section is structured according to the two tasks, (i) and (ii). In Section 7.1 we show how to solve (i), i.e. quickly compute a small number of leverage scores. In Section 7.2 we then show how to solve (ii) by showing how to detect which leverage scores have changed significantly and must be recomputed. The last Section 7.3 then combines these two results to prove Theorem 9.

Before we proceed to prove (i) and (ii), we first give a more accurate outline of how the algorithm of Theorem 9 works. An important observation is, that by standard dimension reduction tricks, a large part of Theorem 9 can be obtained by reduction to the vector data-structures of Section 6. Note that the ii-th leverage score of G(t)A\mathbf{G}^{(t)}\mathbf{A} is

There exists a Monte-Carlo data-structure, that holds against an adaptive adversary, with the following procedures:

where F∈{0,1}n×n\mathbf{F}\in\{0,1\}^{n\times n} is a 00-11 diagonal matrix with Fii=1\mathbf{F}_{ii}=1 if and only if i∈Fi\in F in time

Scale(i,ui,u): Sets gi←ug_{i}\leftarrow u in O(dlog⁡4n)O(d\log^{4}n) time.

The algorithm is directly obtained from Lemma 33. Let H,F,ϵ\mathbf{H},F,\epsilon be the input to Query and let DD be an instance of Lemma 33. We perform D.\textscScale(i,0)D.\textsc{Scale}(i,0) for all i∈Fi\in F, so the data-structure DD represents (I−F)GA(\mathbf{I}-\mathbf{F})\mathbf{G}\mathbf{A}. We then obtain V\mathbf{V} by setting the ii-th column of V\mathbf{V} to the result of D.\textscQuery(Hei,ϵ)D.\textsc{Query}(\mathbf{H}e_{i},\epsilon) for i=1,...,bi=1,...,b. Afterward, we call D.\textscScaleD.\textsc{Scale} again, to revert back to the previous scaling. The correctness and the time complexity of this new data-structure follow from Lemma 33. ∎

Now that we have Corollary 37, we can outline how we obtain Theorem 9 from it. Given a matrix Ψ≈(A⊤(G(t))2A)−1\Psi\approx(\mathbf{A}^{\top}(\mathbf{G}^{(t)})^{2}\mathbf{A})^{-1}, it is easy to compute individual leverage scores (see Section 7.1, Lemma 38). However, such computation requires nearly linear work, which is quite slow for our purposes, and therefore we do not want to recompute every leverage score every time G(t)\mathbf{G}^{(t)} changes a bit. Instead, we use Corollary 37 to detect which scores have changed a lot. This is done in Section 7.2, Lemma 39 and Lemma s40. The idea is that, if ∥1i⊤G(t)A(A⊤(G(t))2A)−1A⊤G(t)∥2\|1_{i}^{\top}\mathbf{G}^{(t)}\mathbf{A}(\mathbf{A}^{\top}(\mathbf{G}^{(t)})^{2}\mathbf{A})^{-1}\mathbf{A}^{\top}\mathbf{G}^{(t)}\|_{2} and ∥1i⊤G(k)A(A⊤(G(k))2A)−1A⊤G(k)∥2\|1_{i}^{\top}\mathbf{G}^{(k)}\mathbf{A}(\mathbf{A}^{\top}(\mathbf{G}^{(k)})^{2}\mathbf{A})^{-1}\mathbf{A}^{\top}\mathbf{G}^{(k)}\|_{2} differ substantially, for some k<tk<t, then

should be quite large as well for some JL-matrix R\mathbf{R}, i.e. something we can detect via Corollary 37.

We start our proof of Theorem 9 by showing how to quickly compute a small set of leverage scores. This corresponds to the function EstimateScore in Algorithm 7.

For the other case, at Line 7, we sample row ii with probability at least Θ(1)log⁡nδ2τ~i(t)≥Θ(1)log⁡nδ2σ(G(t)A)i\Theta(1)\frac{\log n}{\delta^{2}}\widetilde{\tau}_{i}^{(t)}\geq\Theta(1)\frac{\log n}{\delta^{2}}\sigma(\mathbf{G}^{(t)}\mathbf{A})_{i} (using the assumption on τ~i(t)\widetilde{\tau}_{i}^{(t)}). Hence, the leverage score sampling guarantee shows that A⊤G~2A≈δ/4A⊤(G(t))2A\mathbf{A}^{\top}\widetilde{\mathbf{G}}^{2}\mathbf{A}\approx_{\delta/4}\mathbf{A}^{\top}(\mathbf{G}^{(t)})^{2}\mathbf{A} by choosing large enough constant in the Θ(1)\Theta(1) factor in the probability. Hence, by the same argument as above, we have the result.

2 Detecting Leverage Scores Change

Now that we know how to quickly compute a small set of leverage scores, we must figure out which scores to compute. We only want to recompute the scores, that have changed substantially within some time-span. More accurately, we want to show that FindIndices (Algorithm 7) does indeed find all indices that changed a lot. The proof is split into two parts: We first show that we can detect large changes that happen within a sequence of updates of length 2i2^{i} in Lemma 39. We then extend the result to all large leverage score changes in Lemma 40.

Consider an execution of Line 7 (Algorithm 7) at iteration tt. Suppose Ψ(t)≈ϵ/12log⁡n(A⊤(G(t))2A)−1\Psi^{(t)}\approx_{\epsilon/12\log n}(\mathbf{A}^{\top}(\mathbf{G}^{(t)})^{2}\mathbf{A})^{-1} and Ψ(t−2i)≈ϵ/36log⁡n(A⊤(G(t−2i))2A)−1\Psi^{(t-2^{i})}\approx_{\epsilon/36\log n}(\mathbf{A}^{\top}(\mathbf{G}^{(t-2^{i})})^{2}\mathbf{A})^{-1}. Then j∈Jj\in J w.h.p. in nn if

Further, the set JJ remains the same w.h.p. in nn if we replace Line 7 by Ji←[n]J_{i}\leftarrow[n].

First, we prove that for any j∈[n]j\in[n] with

we have j∈Jij\in J_{i} (see Line 7). To do this, consider any j∉Jij\notin J_{i}, i.e. jj is not in FiF_{i} and not picked by the function D.\textscQueryD.\textsc{Query}. By Line 7 and Corollary 37, jj not picked by the function D.\textscQueryD.\textsc{Query} implies that

where the second inequality follows from JL (Lemma 35)and the choice of R\mathbf{R}. By the definition of ≈\approx and that ϵΨ\epsilon_{\Psi} is small enough, we have

and similarly the fact that ∥ej⊤G(t−2i)AΨ(t−2i)AG(t−2i))∥22≈ϵ/(18log⁡n)σ(G(t−2i)A)j\|e_{j}^{\top}\mathbf{G}^{(t-2^{i})}\mathbf{A}\Psi^{(t-2^{i})}\mathbf{A}\mathbf{G}^{(t-2^{i})})\|_{2}^{2}\approx_{\epsilon/(18\log n)}\sigma(\mathbf{G}^{(t-2^{i})}\mathbf{A})_{j}, we have

Using ϵΨ=ϵ144log⁡ndnb\epsilon_{\Psi}=\frac{\epsilon}{144\log n}\sqrt{\frac{d}{nb}}, we showed that j∉Jij\notin J_{i} implies (7.2) is false. This proves the claim that for any jj such that (7.2) holds, we have that j∈Jij\in J_{i}.

The previous lemma only showed how to detect leverage scores that changed within some time-span of length 2i2^{i}, we now show that this is enough to detect all changes, no matter if they happen slowly (over some long time-span) or radically (within one iteration), or something in-between.

Under the assumption of Lemma 38 and Lemma 39 let J(t)J^{(t)} be the output of FindIndices (Algorithm 7) at tt-th iteration and

Then, we have that J∗(t)⊂J(t)J^{*(t)}\subset J^{(t)} w.h.p. in nn.

for z=0,1,⋯ ,u−1z=0,1,\cdots,u-1. Since there are only 2log⁡n2\log n steps, (7.3) shows that

because τ~\widetilde{\tau} has not been updated and that Lemma 38 shows

for the last update. Combining (7.4), (7.5) and (7.6), we see that τ~j(t)≈ϵσ(G(t)A)j+dn\widetilde{\tau}^{(t)}_{j}\approx_{\epsilon}\sigma(\mathbf{G}^{(t)}\mathbf{A})_{j}+\frac{d}{n} and hence j∉J∗(t)j\notin J^{*(t)}. This shows that j∉J(t)j\notin J^{(t)} implies j∉J∗(t)j\notin J^{*(t)}. Hence, J∗(t)⊂J(t)J^{*(t)}\subset J^{(t)}. ∎

3 Leverage Score Maintenance

We can now combine the previous results Lemma 38, Lemma�39 and Lemma 40 to show that Algorithm 7 yields a proof of Theorem

We prove this statement by induction. At the start of the algorithm the vector τ~(0)\widetilde{\tau}{}^{(0)} is a good enough approximation of the shifted leverage scores because of Lemma 38. We are left with proving that with each call to Query, τ~(t)\widetilde{\tau}{}^{(t)} is updated appropriately.

By the induction, we have that τ~(t−1)≈εσ(G(t−1)A)+dn\widetilde{\tau}{}^{(t-1)}\approx_{\varepsilon}\sigma(\mathbf{G}^{(t-1)}\mathbf{A})+\frac{d}{n}. Furthermore, we know that g(t)≈1/16g(t−1)g^{(t)}\approx_{1/16}g^{(t-1)}. Hence, we have σ(G(t)A)≈1/4σ(G(t−1)A)\sigma(\mathbf{G}^{(t)}\mathbf{A})\approx_{1/4}\sigma(\mathbf{G}^{(t-1)}\mathbf{A}). Using ϵ∈[0,1/4]\epsilon\in[0,1/4], we have that τ~(t−1)≈εσ(G(t)A)+dn\widetilde{\tau}{}^{(t-1)}\approx_{\varepsilon}\sigma(\mathbf{G}^{(t)}\mathbf{A})+\frac{d}{n}. Hence, the τ~(t−1)\widetilde{\tau}{}^{(t-1)} is a good enough approximation and satisfies the assumption of Lemma 38 and hence the assumption of Lemma 40. Lemma 40 shows that \textscFindIndices()\textsc{FindIndices}() finds all indices that is ϵ\epsilon far away from the shifted leverage score. Lemma 38 then shows that those τ~\widetilde{\tau} will be correctly updated. Hence, all τ~\widetilde{\tau} is at most ϵ\epsilon far away from the target. This finishes the induction. ∎

The correctness for the approximation ratio of Theorem 9 was already proven in Lemma 41. Here we bound the time complexity and prove that the data-structure works against an adaptive adversary.

To bound the complexity, we first bound how many leverage scores the data structure estimate, namely the size of JJ.

Size of all JJ:

where we used Johnson Lindenstrauss lemma 35 at the end. Now, summing up over log⁡T\log T scales and using that we restart every O(n)O(n) iterations, we have

For the second term in (7.7), we bound it simply by O(log⁡n)⋅∑t=1T∥g(t)−g(t−1)∥0O(\log n)\cdot\sum_{t=1}^{T}\|g^{(t)}-g^{(t-1)}\|_{0}. Hence, the sum of the size of all JJ is bounded by

Complexity

The cost of Query is dominated by the cost of EstimateScore, the cost of computing Ψ(t)B(t)\Psi^{(t)}\mathbf{B}^{(t)} and the cost of D.Query. Lemma 38 shows that the total cost of EstimateScore is bounded by

The cost of computing Ψ(t)B(t)\Psi^{(t)}\mathbf{B}^{(t)} is simply O(TΨlog⁡n)O(T_{\Psi}\log n) because by assumption we can multiply Ψ(t)\Psi^{(t)} with a vector in TΨT_{\Psi} time, and B(t)\mathbf{B}^{(t)} is a d×O(log⁡n)d\times O(\log n) matrix. Finally, by Corollary 37, the total cost of D.Query is bounded by

Simplify the term by the similar calculation on bounding ∣J∣|J|, we have

Combining (7.9) and (7.10) and using (7.8) and δ=ϵ6log⁡n\delta=\frac{\epsilon}{6\log n}, we have the total cost bounded by

We charge the first term to Initalize and the last term to Scale. This completes the proof for the time complexity. ∎

Inverse Maintenance with Leverage Score Hints

To handle this issue of changing V\mathbf{V}, [LS15] resampled rows of A\mathbf{A} only when the corresponding leverage score changed signficantly. With this trick, the diagonal matrix V\mathbf{V} changes slowly enough to maintain. However, this approach only works if the input of the algorithm is independent on the output. In [LS15], this issue was addressed by using the maintained inverse as a pre-conditioner to solve linear systems in A⊤WA\mathbf{A}^{\top}\mathbf{W}\mathbf{A} to high precision and then added noise to the output. However, we cannot afford to read the whole matrix A\mathbf{A} each step and therefore need to modify this technique.

To avoid reading the entire matrix A\mathbf{A}, we instead make further use of the given given leverage score to sample the matrix A⊤UA≈A⊤WA\mathbf{A}^{\top}\mathbf{U}\mathbf{A}\approx\mathbf{A}^{\top}\mathbf{W}\mathbf{A}. Instead of solving A⊤WAx=b\mathbf{A}^{\top}\mathbf{W}\mathbf{A}x=b, we use the maintained inverse (A⊤VA)−1(\mathbf{A}^{\top}\mathbf{V}\mathbf{A})^{-1} as a pre-conditioner to solve A⊤UAx=b\mathbf{A}^{\top}\mathbf{U}\mathbf{A}x=b. By solving A⊤UAx=b\mathbf{A}^{\top}\mathbf{U}\mathbf{A}x=b very accurately and by adding a small amount of noise, we can hide any information about V\mathbf{V}. This is formalized by Algorithm 8 (and its second half Algorithm 9).

Using 78M⪯M(i)⪯87M\frac{7}{8}\mathbf{M}\preceq\mathbf{M}^{(i)}\preceq\frac{8}{7}\mathbf{M}, we have

where we used that 78M−1⪯N(i)⪯87M−1\frac{7}{8}\mathbf{M}^{-1}\preceq\mathbf{N}^{(i)}\preceq\frac{8}{7}\mathbf{M}^{-1} at the end. Using (1−ϵ)M≺M(k)≺(1+ϵ)M(1-\epsilon)\mathbf{M}\prec\mathbf{M}^{(k)}\prec(1+\epsilon)\mathbf{M}, we have

Next we provide a general stability lemma about solving linear systems and then use this to prove Theorem 10 and Theorem 11. This lemma is mainly for convenience purpose as the vector maintenance and leverage score maintenance assume we solve the linear system Hy=b\mathbf{H}y=b by some y=Ψby=\Psi b where Ψ≈H−1\Psi\approx\mathbf{H}^{-1}. The following lemma shows that this definition is same as ∥y−H−1b∥H\|y-\mathbf{H}^{-1}b\|_{\mathbf{H}} is small compared to ∥b∥H−1\|b\|_{\mathbf{H}^{-1}}.

Hence, we have (H+Δ)y=b+v−v=b(\mathbf{H}+\Delta)y=b+v-v=b. Hence, we have y=(H+Δ)−1by=(\mathbf{H}+\Delta)^{-1}b if H+Δ≻0\mathbf{H}+\Delta\succ 0. In fact, we now prove that H+Δ≈20ϵH\mathbf{H}+\Delta\approx_{20\epsilon}\mathbf{H}.

First, we note that ∥v∥H−1≤12∥b∥H−1\|v\|_{\mathbf{H}^{-1}}\leq\frac{1}{2}\|b\|_{\mathbf{H}^{-1}} and hence ∥v∥H−1∥b+v∥H−1≤2∥v∥H−1∥b∥H−1≤2ϵ\frac{\|v\|_{\mathbf{H}^{-1}}}{\|b+v\|_{\mathbf{H}^{-1}}}\leq\frac{2\|v\|_{\mathbf{H}^{-1}}}{\|b\|_{\mathbf{H}^{-1}}}\leq 2\epsilon. Hence, we have

Similarly, we have H−1/2ΔH−1/2⪰−10ϵ⋅I\mathbf{H}^{-1/2}\Delta\mathbf{H}^{-1/2}\succeq-10\epsilon\cdot\mathbf{I}. Hence, we have H+Δ≈20ϵH\mathbf{H}+\Delta\approx_{20\epsilon}\mathbf{H}. ∎

We now have all tools available to prove Theorem 10.

Since the input w~(i)≈w(i)\widetilde{w}^{(i)}\approx w^{(i)} of the algorithm is independent to the output of the algorithm in the previous iterations, every constraint i∈[n]i\in[n] has Θ(τi(w)ϵ−2γ)\Theta(\tau_{i}(w)\epsilon^{-2}\gamma) probability of being picked into A⊤VA\mathbf{A}^{\top}\mathbf{V}\mathbf{A}. Therefore, the expected number of rank changes in Line 8 of \textscUpdate(w~)\textsc{Update}(\widetilde{w}) is given by

Next, we note that the denominator of yi∗(j)y_{i}^{*(j)} never changed between jij_{i} and bb. Hence, yi∗(j+1)−yi∗(j)y_{i}^{*(j+1)}-y_{i}^{*(j)} is exactly equals to the relative change of ww or τ\tau. Hence, we have

The cost of Solve is clear from the description.

For the correctness of Solve, assume for now that Ψ\Psi in Line 9 satisfies Ψ−1=(1±1/8)A⊤W‾A\Psi^{-1}=(1\pm 1/8)\mathbf{A}^{\top}\overline{\mathbf{W}}\mathbf{A} and that y(0)y^{(0)} is a good approximation of the solution with

(This is shown in the proof of Lemma 11.) So Lemma 42 shows that the final result yy satisfies

Finally, Lemma 43 shows that we can view the output of the algorithm as Ψb\Psi b for some spectral approximation Ψ≈δA⊤W‾A\Psi\approx_{\delta}\mathbf{A}^{\top}\mathbf{\overline{\mathbf{W}}}\mathbf{A}. ∎

w.h.p. in nn where we used that U1/2A(A⊤UA)−1A⊤U1/2\mathbf{U}^{1/2}\mathbf{A}(\mathbf{A}^{\top}\mathbf{U}\mathbf{A})^{-1}\mathbf{A}^{\top}\mathbf{U}^{1/2} is a rank dd orthogonal projection matrix and η∼N(0,In)\eta\sim N(0,\mathbf{I}_{n}). By choosing small enough c3c_{3}, we have

By picking small enough c3c_{3}, Lemma 43 shows that we have y=(Ψ\textscSolve−1+Δ)−1by=(\Psi_{\textsc{Solve}}^{-1}+\Delta)^{-1}b for Ψ\textscSolve−1+Δ≈δ/2Ψ\textscSolve−1≈δA⊤W‾A\Psi_{\textsc{Solve}}^{-1}+\Delta\approx_{\delta/2}\Psi_{\textsc{Solve}}^{-1}\approx_{\delta}\mathbf{A}^{\top}\overline{\mathbf{W}}\mathbf{A}.

where we used Ψ(k+1)⪯98Ψ(k)\Psi^{(k+1)}\preceq\frac{9}{8}\Psi^{(k)} and W(k+1)⪯98W(k)\mathbf{W}^{(k+1)}\preceq\frac{9}{8}\mathbf{W}^{(k)} in the first inequality.

where we used Hs−1⪯98(A⊤W(k)A)−1\mathbf{H}_{s}^{-1}\preceq\frac{9}{8}(\mathbf{A}^{\top}\mathbf{W}^{(k)}\mathbf{A})^{-1} at the end. Note that

where we used the fact ∑j∈[n](P(k))i,j2=σi(k)\sum_{j\in[n]}(\mathbf{P}^{(k)})_{i,j}^{2}=\sigma_{i}^{(k)} for all ii. Finally, we note that by the choice of the indices to update, we have

Open Problems

Acknowledgements

We thank Sébastien Bubeck, Ofer Dekel, Jerry Li, Ilya Razenshteyn, and Microsoft Research for facilitating conversations between and hosting researchers involved in this collaboration. We thank Vasileios Nakos, Jelani Nelson, and Zhengyu Wang for very helpful discussions about sparse recovery literature. We thank Jonathan Kelner, Richard Peng, and Sam Chiu-wai Wong for helpful conversations. This project has received funding from the European Research Council (ERC) under the European Unions Horizon 2020 research and innovation programme under grant agreement No 715672. This project was supported in part by NSF awards CCF-1749609, CCF-1740551, DMS-1839116, CCF-1844855, and Microsoft Research Faculty Fellowship. This project was supported in part by Special Year on Optimization, Statistics, and Theoretical Machine Learning (being led by Sanjeev Arora) at Institute for Advanced Study.

References

Appendix A Misc Technical Lemmas

Here we state various technical lemmas from prior work that we use throughout our paper.

where W=Diag(w)\mathbf{W}=\mathbf{Diag}(w), Δ=Diag(h/w)\Delta=\mathbf{Diag}(h/w), and Dwf(w)[h]D_{w}f(w)[h] denote the directional derivative of ff with respect to ww in direction hh. In particular, we have that

The next lemma gives a variety of frequently used relationships between different types of multiplicative approximations.

Further, if for ϵ∈(0,1/2)\epsilon\in(0,1/2) and either

then a≈ϵ+ϵ2ba\approx_{\epsilon+\epsilon^{2}}b.

These follow near immediately by Taylor expansion.

Here we provide some helpful expectation bounds. This lemma just shows that the relative change of a matrix in Frobenius norm can be bounded by the change in the projection Schur product norm.

The following lemma (coupled with the one above) shows that we can leverage score sample to have small change in Frobenius norm.

or pi<1p_{i}<1 and pi=k⋅τi≥k⋅σip_{i}=k\cdot\tau_{i}\geq k\cdot\sigma_{i} in which case

Combining these facts and leveraging that P(2)⪯Σ\mathbf{P}^{(2)}\preceq\boldsymbol{\Sigma} (Lemma 44) then yields the result. ∎

Appendix B Maintaining Near Feasibility

Given some infeasible xx we can obtain a feasible x′x^{\prime} via

We show in Lemma 55 that these xx and x′x^{\prime} are close multiplicatively

Here we prove that throughout the algorithm, we maintain Φb≤ζϵ2log⁡6n\Phi_{b}\leq\frac{\zeta\epsilon^{2}}{\log^{6}n}, where ϵ\epsilon is the parameter of Theorem 5 and ζ>0\zeta>0 is a sufficiently small constant.

Since H≈ϵHA⊤S‾−1X‾A\mathbf{H}\approx_{\epsilon_{H}}\mathbf{A}^{\top}\overline{\mathbf{S}}^{-1}\overline{\mathbf{X}}\mathbf{A}, we have ∥M−I∥2=O(ϵH)\|\mathbf{M}-\mathbf{I}\|_{2}=O(\epsilon_{H}). Further (Q′)−1=(A⊤X′S′−1A)−1≈O(1)(A⊤X‾S‾−1A)−1=(Q‾)−1(\mathbf{Q}^{\prime})^{-1}=(\mathbf{A}^{\top}\mathbf{X}^{\prime}\mathbf{S}^{\prime-1}\mathbf{A})^{-1}\approx_{O(1)}(\mathbf{A}^{\top}\overline{\mathbf{X}}\overline{\mathbf{S}}^{-1}\mathbf{A})^{-1}=(\overline{\mathbf{Q}})^{-1}, hence, we have

where the third step follows from definition of matrix M\mathbf{M}, the forth step follows from ∥Au∥2≤∥A∥2⋅∥u∥2\|\mathbf{A}u\|_{2}\leq\|\mathbf{A}\|_{2}\cdot\|u\|_{2} the fifth step follows from ∥M−I∥2=O(ϵH)\|\mathbf{M}-\mathbf{I}\|_{2}=O(\epsilon_{H}). Hence, we have

where the last step follows from properties of projection matrices. As X‾s‾≈1μτ‾\overline{\mathbf{X}}\overline{s}\approx_{1}\mu\overline{\tau} and τ‾≈1τ(x‾,s‾)\overline{\tau}\approx_{1}\tau(\overline{x},\overline{s}) the result follows. ∎

B.2 Increase of Infeasibility Due to x′x^{\prime} and s′s^{\prime}

where aia_{i} is the ii-th row of A\mathbf{A} and

where the third step follows from Cauchy-Schwarz.

Using that x′≈1xx^{\prime}\approx_{1}x, X′s′≈1μτ‾\mathbf{X}^{\prime}s^{\prime}\approx_{1}\mu\overline{\tau}, and τ‾≈1τ(x′,s′)\overline{\tau}\approx_{1}\tau(x^{\prime},s^{\prime}), we have

where the last step follows from pi=τ‾i/ϵbp_{i}=\overline{\tau}_{i}/\epsilon_{b} (implied by pi<1p_{i}<1). Further, as in this case, we have

where the second step follows from pi∈p_{i}\in, and the last step follows from τ‾i=piϵb\overline{\tau}_{i}=p_{i}\epsilon_{b} as we only consider pi<1p_{i}<1. Using x′≈1xx^{\prime}\approx_{1}x and X′s′≈1μτ‾\mathbf{X}^{\prime}s^{\prime}\approx_{1}\mu\overline{\tau} this implies

Using (B.4) and (B.5), Bernstein inequality shows

where the third step follows from (B.6), and the last step follows from ∑i∈[d]λi2=∥M∥F2\sum_{i\in[d]}\lambda_{i}^{2}=\|\mathbf{M}\|_{F}^{2} ∎

For x≈0.1x′x\approx_{0.1}x^{\prime} and s≈0.1s′s\approx_{0.1}s^{\prime}, we can generate H2\mathbf{H}_{2} and H4\mathbf{H}_{4} with properties as defined in Algorithm 10 in such a way that

The statement for ∥Q′−1/2H2Q′−1/2∥F2\|\mathbf{Q}^{\prime-1/2}\mathbf{H}_{2}\mathbf{Q}^{\prime-1/2}\|_{F}^{2} follows directly from Lemma 47 and Lemma 48 when we perform the same leverage score sampling on both A⊤XS−1A\mathbf{A}^{\top}\mathbf{X}\mathbf{S}{}^{-1}\mathbf{A} and A⊤(XX′)12(SS′)−12A\mathbf{A}^{\top}(\mathbf{X}\mathbf{X}^{\prime}){}^{\frac{1}{2}}(\mathbf{S}\mathbf{S}^{\prime}){}^{-\frac{1}{2}}\mathbf{A} (i.e. both matrices sample the same entries of their diagonal).

For the other statement, we let D=X′S′−1\mathbf{D}=\mathbf{X}^{\prime}\mathbf{S}^{\prime-1} and Δ=XS−1−X′S′−1\Delta=\mathbf{X}\mathbf{S}^{-1}-\mathbf{X}^{\prime}\mathbf{S}^{\prime-1}. By the assumption, we have max⁡i∣Dii−1Δii∣≤14\max_{i}|\mathbf{D}_{ii}^{-1}\Delta_{ii}|\leq\frac{1}{4}. By Taylor expansion, we have

Since M(i)\mathbf{M}^{(i)}, N(i)\mathbf{N}^{(i)} are independent, we have

where we used that ∥∑i=1XAi∥F2≤(∑i=1X∥Ai∥F)2≤(∑k=1X(23)k)⋅(∑i=1X(32)k∥Ai∥F2)\|\sum_{i=1}^{X}\mathbf{A}_{i}\|_{F}^{2}\leq(\sum_{i=1}^{X}\|\mathbf{A}_{i}\|_{F})^{2}\leq(\sum_{k=1}^{X}(\frac{2}{3})^{k})\cdot(\sum_{i=1}^{X}(\frac{3}{2})^{k}\|\mathbf{A}_{i}\|_{F}^{2}).

Using that ∥Y−1M(i)Y−1∥2≤eϵH/4\|\mathbf{Y}^{-1}\mathbf{M}^{(i)}\mathbf{Y}^{-1}\|_{2}\leq e^{\epsilon_{H}/4} and ∥YN(i)Y∥2≤eϵH/4max⁡i∣Dii−1Δii∣≤eϵH/4\|\mathbf{Y}\mathbf{N}^{(i)}\mathbf{Y}\|_{2}\leq e^{\epsilon_{H}/4}\max_{i}|\mathbf{D}_{ii}^{-1}\Delta_{ii}|\leq e^{\epsilon_{H}/4} as x≈0.1x′x\approx_{0.1}x^{\prime} and s≈0.1s′s\approx_{0.1}s^{\prime}. Using ϵH≤110\epsilon_{H}\leq\frac{1}{10}, we have that ∥Y−1M(i)Y−1∥2≤e1/40\|\mathbf{Y}^{-1}\mathbf{M}^{(i)}\mathbf{Y}^{-1}\|_{2}\leq e^{1/40} and ∥YN(i)Y∥2≤e1/40⋅14\|\mathbf{Y}\mathbf{N}^{(i)}\mathbf{Y}\|_{2}\leq e^{1/40}\cdot\frac{1}{4}. Hence, we have

Finally, Lemma 47 and Lemma 48 shows that

where the first step follows from definition of Φb\Phi_{b} (see (B.1)), the second step follows from (B.7), the third step follows from property of a projection matrix, the last step follows from definition of Φb\Phi_{b} (see (B.1)).

For the first term in (B.8), and δb=b−A⊤x\delta_{b}=b-\mathbf{A}^{\top}x we have

where we used Lemma 50. In summary this means the first term in (B.8) can be bounded via

with probability 1−ρ1-\rho. Using the definition of H2\mathbf{H}_{2} and Lemma 51, we have

Similarly, we have the same bound for ∥δλ(2)∥Q′2\|\delta_{\lambda}^{(2)}\|_{\mathbf{Q}^{\prime}}^{2}. Putting these two into (B.10) gives the result.

where the first step follows from definition of δx\delta_{x}, the fifth step follows from xs≈μτ(x,s)xs\approx\mu\tau(x,s), the sixth step follows from the definition of leverage scores, and the last step follows from our previously proven bound on ∥δλ∥AX‾S‾−1A\|\delta_{\lambda}\|_{\mathbf{A}\overline{\mathbf{X}}\overline{\mathbf{S}}^{-1}\mathbf{A}} and Lemma 19 to bound σ(x,s)≤τ(x,s)\sigma(x,s)\leq\tau(x,s). ∎

B.3 Improving Infeasibility

From Section B.1 and B.2, we see that Φb\Phi_{b} increases slowly over time. Here we show in Lemma 53, that over d/log⁡6n\sqrt{d}/\log^{6}n iterations of the IPM, the potential Φb\Phi_{b} changes only by a constant factor. Intuitively, this can be seen by the IPM calling MaintainFeasibility (Algorithm 11) which in turn calls Algorithm 10. The previous subsection showed that each call to Algorithm 10 increases Φb\Phi_{b} by only a small amount. As seen in Line 11 of Algorithm 11, after d/log⁡6n\sqrt{d}/\log^{6}n iterations we decrease the potential again. Lemma 54 shows that Line 11 does indeed decrease the potential Φb\Phi_{b}sufficiently.

Consider T≤d/log⁡6nT\leq\sqrt{d}/\log^{6}n iterations of the algorithm 1 and let x(k),s(k)x^{(k)},s^{(k)} be the input to the kk-th call to Algorithm 10. Suppose that Φb(x(1),x(1),s(1),μ(1))≤ζϵ2log⁡6n\Phi_{b}(x^{(1)},x^{(1)},s^{(1)},\mu^{(1)})\leq\frac{\zeta\epsilon^{2}}{\log^{6}n}, μ(k+1)=(1−ϵμd)μ(k),∀k∈[T]\mu^{(k+1)}=(1-\frac{\epsilon_{\mu}}{\sqrt{d}})\mu^{(k)},\forall k\in[T] and ϵb≤cζϵ2dlog⁡2n\epsilon_{b}\leq\frac{c\zeta\epsilon^{2}}{\sqrt{d}\log^{2}n}, ϵH≤cζϵd1/4\epsilon_{H}\leq\frac{c\zeta\epsilon}{d^{1/4}} for some small enough constants ζ,c>0\zeta,c>0, where ϵb\epsilon_{b} is the accuracy parameter used in Lemma 50. Suppose that we update xx using an unbiased linear system solver with accuracy ϵH\epsilon_{H} as defined in Lemma 49 during the algorithm 1. Assume further

Let δx(k)\delta_{x}^{(k)} be the vector δx\delta_{x} as defined in Algorithm 10, when we currently perform the kk-th call to that function. Then we have that

where the first step follows from Lemma 49, the second step follows from Lemma 52, the third step follows from μ(k+1)≤(1−ϵμd−1/2μ(k))\mu^{(k+1)}\leq(1-\epsilon_{\mu}d^{-1/2}\mu^{(k)}) and ∥ln⁡x(k)−ln⁡x(k−1)∥τ(x(k),s(k))+∥ln⁡s(k)−ln⁡s(k−1)∥τ(x(k),s(k))≤0.1\|\ln x^{(k)}-\ln x^{(k-1)}\|_{\tau(x^{(k)},s^{(k)})}+\|\ln s^{(k)}-\ln s^{(k-1)}\|_{\tau(x^{(k)},s^{(k)})}\leq 0.1, the fourth step follows from the step of the IPM with ∥h∥τ2=O(1)\|h\|_{\tau}^{2}=O(1).

Let Φ(k)=Φb(x(k),x(k−1),s(k−1),μ(k))\Phi^{(k)}=\Phi_{b}(x^{(k)},x^{(k-1)},s^{(k-1)},\mu^{(k)}). Let

Note that Ψ(k)≥1/9\Psi^{(k)}\geq 1/9 for k≤d/log⁡6nk\leq\sqrt{d}/\log^{6}n (since Φ(k)≥0\Phi^{(k)}\geq 0) and further there exists some c′=O(c)c^{\prime}=O(c) such that

We want to construct a supermartingale, so we want that this expectation is less than Ψ(k)\Psi^{(k)}. This is the case if

so let us analyze which other conditions are required to satisfy this inequality. For now assume that Ψ(k)≤1\Psi^{(k)}\leq 1, and k≤dlog⁡6nk\leq\frac{\sqrt{d}}{\log^{6}n}, then

So if we choose cc small enough such that 2ϵμ+c′ϵ2ζ≤1/1002\epsilon_{\mu}+c^{\prime}\epsilon^{2}\zeta\leq 1/100 (note that ϵμ≪1/16000\epsilon_{\mu}\ll 1/16000 by Theorem 5) and Φ(k)≤9ζϵ2log⁡6n\Phi^{(k)}\leq\frac{9\zeta\epsilon^{2}}{\log^{6}n}, then

Hence, for k≤d/log⁡6n=Tk\leq\sqrt{d}/\log^{6}n=T we have that min⁡{Ψ(k),1}\min\Big\{\Psi^{(k)},1\Big\} is a non-negative supermartingale.

By Ville’s maximal inequality [Vil39] for supermartingales, we have that

where the second step follows from Φ(1)≤14\Phi^{(1)}\leq\frac{1}{4}. Hence, max⁡k∈[T]Ψ(k)≤12\max_{k\in[T]}\Psi^{(k)}\leq\frac{1}{2} with probability at least 12\frac{1}{2}. Under this event, we have for small enough cc that

Now, to move A⊤x−b\mathbf{A}^{\top}x-b closer to 00, we solve the equation

with δb=b−A⊤x\delta_{b}=b-\mathbf{A}^{\top}x. This gives the formula

Using H≈ϵHA⊤XS−1A\mathbf{H}\approx_{\epsilon_{H}}\mathbf{A}^{\top}\mathbf{X}\mathbf{S}^{-1}\mathbf{A}, we have

where the last step follows from e2ϵH≤1+3ϵHe^{2\epsilon_{H}}\leq 1+3\epsilon_{H} and e−ϵH≥1−ϵHe^{-\epsilon_{H}}\geq 1-\epsilon_{H} for ϵH∈(0,1/20]\epsilon_{H}\in(0,1/20].

Here we show that the correction step of Lemma 54 does not change the solution xx by much, provided that Φb\Phi_{b} is small.

For the bound on ∥X−1δx∥∞\|\mathbf{X}{}^{-1}\delta_{x}\|_{\infty} consider the following

where at the end we used σ(X1/2S−1/2A)≤σ(X1/2−αS−1/2−αA)≤τ(x,s)\sigma(\mathbf{X}^{1/2}\mathbf{S}^{-1/2}\mathbf{A})\leq\sigma(\mathbf{X}^{1/2-\alpha}\mathbf{S}^{-1/2-\alpha}\mathbf{A})\leq\tau(x,s) via Lemma 19 and xs≈μτxs\approx\mu\tau. The last term can be bounded by

Thus in summary we have ∥X−1δx∥∞≤O(1)⋅Φb(x^,x,s,μ)\|\mathbf{X}{}^{-1}\delta_{x}\|_{\infty}\leq O(1)\cdot\sqrt{\Phi_{b}(\widehat{x},x,s,\mu)}. For the ∥⋅∥τ\|\cdot\|_{\tau}norm we have because of xs=μτxs=\mu\tau, and the definition of Φb\Phi_{b} that

To obtain the final solution of our LP, Φb=Ω(1/log⁡6n)\Phi_{b}=\Omega(1/\log^{6}n) is still too large. Here we show that iterative application of Lemma 54 yields a very accuracte solution.

There exists some small enough ζ=O(1)\zeta=O(1), such that given a primal dual pair (x,s)(x,s) with Φb(x,x,s,μ)≤4ζϵlog⁡n\Phi_{b}(x,x,s,\mu)\leq\frac{4\zeta\epsilon}{\log n} and xs≈1/4μτ(x,s)xs\approx_{1/4}\mu\tau(x,s) and any δ>\delta>0, we can compute an x′x^{\prime} with

This follows by repeatedly applying Lemma 54 for small enough ϵH=O(1)\epsilon_{H}=O(1). We need O(log⁡δ−1)O(\log\delta^{-1}) repetitions to decrease Φb(x′,x,s,μ)\Phi_{b}(x^{\prime},x,s,\mu) down to cδc\delta for some small enough c=O(1)c=O(1). Note that by Lemma 55 the total movement is bounded by O(Φb1/2(x,x,s,μ))=O(1)O\left(\Phi_{b}^{1/2}(x,x,s,\mu)\right)=O(1) as the movement per iteration is exponentially decaying. At last, going from Φb1/2(x′,x,s,μ)\Phi_{b}^{1/2}(x^{\prime},x,s,\mu) to Φb1/2(x′,x′,s,μ)\Phi_{b}^{1/2}(x^{\prime},x^{\prime},s,\mu) increases the potential by at most some O(1)O(1) factor given that xx and x′x^{\prime} differ by at most a constant factor. Thus for small enough c=O(1)c=O(1) we have Φb1/2(x′,x,s,μ)≤δ\Phi_{b}^{1/2}(x^{\prime},x,s,\mu)\leq\delta. Likewise we have x′s≈1/2μτ(x′,s)x^{\prime}s\approx_{1/2}\mu\tau(x^{\prime},s) when the constant factor difference between xx and x′x^{\prime} is small enough which can be guaranteed by choosing small enough ζ>0\zeta>0. ∎

Throughout the IPM we move xx several times. First, we perform the classic IPM step and then we perform the corrective steps of Algorithm 10 and 11. Note that by Lemma 52 the extra movement of xx depends on how much xx moved in the previous iteration. Here we show that this does not create an amplifying feedback loop, i.e. as long as Φb≤5ζϵ2/log⁡6n\Phi_{b}\leq 5\zeta\epsilon^{2}/\log^{6}n, the total movement ∥X−1(x−x′)∥τ+∞\|\mathbf{X}^{-1}(x-x^{\prime})\|_{\tau+\infty} is always bounded by ϵ2\frac{\epsilon}{2}. By induction over the number of iterations Lemma 52 and Lemma 57 then imply that we always have Φb≤5ζϵ2/log⁡6n\Phi_{b}\leq 5\zeta\epsilon^{2}/\log^{6}n and ∥X−1(x−x′)∥τ+∞≤ϵ/2\|\mathbf{X}^{-1}(x-x^{\prime})\|_{\tau+\infty}\leq\epsilon/2.

For some small enough constants ζ,c>0\zeta,c>0 let ϵb≤cζϵ2dlog⁡2n\epsilon_{b}\leq\frac{c\zeta\epsilon^{2}}{\sqrt{d}\log^{2}n}, ϵH≤cζϵd1/4log⁡3n\epsilon_{H}\leq\frac{c\zeta\epsilon}{d^{1/4}\log^{3}n} in MaintainFeasibility and let ϵ\epsilon be the parameter of Theorem 5. Let x(k),s(k)x^{(k)},s^{(k)} the inputs of the kk-th call to MaintainFeasibility. Assume

for all k′<kk^{\prime}<k, then we have with high probability

Theorem 32 yields the bound (B.12) if the extra movement exe_{x} caused by MaintainFeasibility satisfies ∥X−1ex∥τ+∞≤γα220\|\mathbf{X}^{-1}e_{x}\|_{\tau+\infty}\leq\frac{\gamma\alpha}{2^{20}}.

by Lemma 52 and Lemma 55. These can be bounded as follows

where we use γα=Ω(ϵ/log⁡3n)\gamma\alpha=\Omega(\epsilon/\log^{3}n). ∎

Note that, when ignoring feasibility, Theorem 5 was proven as Theorem 32. So we are only left with showing that Φb\Phi_{b} stays small and that the condition of Theorem 32 is true, i.e. that the extra movement exe_{x} of xx by calling MaintainFeasibility in Algorithm 1 satisfies

On one hand, the latter claim was proven in Lemma 57, assuming the infeasibility potential Φb\Phi_{b} is small. On the other hand, Lemma 53 shows that Φb\Phi_{b} does not change more than a multiplicative factor within d/log⁡6n\sqrt{d}/\log^{6}n iterations as long as xx and ss do not change to much in each iteration. Thus by induction we have that Φb\Phi_{b} is small and that xx and ss do not change much. After d/log⁡6n\sqrt{d}/\log^{6}n iterations the potential is decreased again by Lemma 54, so Φb(x,x,s,μ)\Phi_{b}(x,x,s,\mu) stays small even after dlog⁡6n\sqrt{d}\log^{6}n iterations.

At last, note that during the last iteration of the IPM, we can apply Lemma 54 once more to reduce

We are left with analyzing the complexity of Algorithm 11.

We choose two accuracy parameters as follows:

Thus the total additional amortized cost is

Appendix C Constructing the Initial Point

Here we want to prove Lemma 12 which is used to quickly find an initial point for our IPM. Lemma 12 is an extension of the following known reduction. We modify this reduction so that we no longer require our final solution to be feasible.

Consider a linear program min⁡A⊤x=b,x≥0c⊤x\min_{\mathbf{A}^{\top}x=b,x\geq 0}c^{\top}x with nn variables and dd constraints. Assume that 1. Diameter of the polytope : For any x≥0x\geq 0 with A⊤x=b\mathbf{A}^{\top}x=b, we have that ∥x∥2≤R\|x\|_{2}\leq R. 2. Lipschitz constant of the linear program : ∥c∥2≤L\|c\|_{2}\leq L.

For any δ∈(0,1]\delta\in(0,1], the modified linear program min⁡A‾⊤x‾=b‾,x‾≥0c‾⊤x‾\min_{\overline{\mathbf{A}}^{\top}\overline{x}=\overline{b},\overline{x}\geq 0}\overline{c}^{\top}\overline{x} with

as desired. Consequently, if we take this new LP as input to our reduction we only need to decrease δ\delta by a factor of 22 more than before to obtain the same result. So for now assume ∥A⊤1n−b∥∞≥0.5(∥A∥F+∥b∥/R)\|\mathbf{A}^{\top}1_{n}-b\|_{\infty}\geq 0.5(\|\mathbf{A}\|_{F}+\|b\|/R).

By choosing ii to be the maximizer of the absolute value of the denominator we have

where in the second step we used that ∥x‾1:n′∥2≤∑j∈[n]x‾j′≤n+1\|\overline{x}^{\prime}_{1:n}\|_{2}\leq\sum_{j\in[n]}\overline{x}^{\prime}_{j}\leq n+1 and in the third step we used the assumption that ∥A⊤1n−b/R∥∞≥0.5(∥A∥F+∥b∥2/R)\|\mathbf{A}^{\top}1_{n}-b/R\|_{\infty}\geq 0.5(\|\mathbf{A}\|_{F}+\|b\|_{2}/R). Thus in summary we have ∥x‾′∥∞=O(n)\|\overline{x}^{\prime}\|_{\infty}=O(n) and ∥x‾∥∞≤(1+O(Φb))⋅O(n)\|\overline{x}\|_{\infty}\leq(1+O(\Phi_{b}))\cdot O(n) by (C.1). This concludes the proof on ∥x‾∥∞\|\overline{x}\|_{\infty} and we are left with proving the last claim of Theorem 12.

For our feasible solution (x‾′,y‾,s‾)(\overline{x}^{\prime},\overline{y},\overline{s}) we can bound the duality gap as follows

The impact of the last error term can be bounded by

We are left with proving the bound on ∥A⊤x^−b∥2\|\mathbf{A}^{\top}\widehat{x}-b\|_{2}. For this note that

where in the last step we used that xx and x′x^{\prime} differ by an 1±O(Φb)=O(1)1\pm O(\sqrt{\Phi_{b}})=O(1) factor. We already argued ∥x′∥∞=O(n)\|x^{\prime}\|_{\infty}=O(n) and we have x′s≥0.5τμx^{\prime}s\geq 0.5\tau\mu, so

With the previous bounds on xx this leads to

Now, we bound the term ∥b−A⊤1n∥2∣θ−θ′∣\|b-\mathbf{A}^{\top}1_{n}\|_{2}|\theta-\theta^{\prime}| in (C.2). Since we know that ∣θ∣|\theta| and ∣θ′∣|\theta^{\prime}| are bounded by O(nδ)O(n\delta) (this is proven in [CLS19] where they proved Lemma 58), we have the bound

Putting (C.3) and (C.4) into (C.2), we have

Appendix D Gradient Maintenance

In this section we provide a data structure for efficiently maintaining ∇Φ(v‾)♭\nabla\Phi(\overline{v})^{\flat} and A⊤X∇Φ(v‾)♭\mathbf{A}^{\top}\mathbf{X}\nabla\Phi(\overline{v})^{\flat} in our IPM, i.e. Algorithm 1.

There exists a deterministic data-structure that supports the following operations

\textscUpdate(i,a,b,c)\textsc{Update}(i,a,b,c): Sets vi=av_{i}=a, τi=b\tau_{i}=b and xi=cx_{i}=c in O(d)O(d) time. The data-structure assumes 0.5≤v≤20.5\leq v\leq 2 and d/n≤τ≤2d/n\leq\tau\leq 2.

We start by explaining the algorithm and analyzing its complexity. Afterwards we prove the correctness.

During queries the data-structure computes the following: Define ϕ(x):=λ(exp⁡(λ(x−1))−exp⁡(−λ(x−1)))=(∇Φ(x))i\phi(x):=\lambda(\exp(\lambda(x-1))-\exp(-\lambda(x-1)))=(\nabla\Phi(x))_{i}, then we apply Algorithm 8 from [LS19] to compute

Complexity:

Correctness:

For the given vector vv, we can split vv into groups by grouping the entries to multiples of ϵ/2\epsilon/2. By assumption we have 0.5≤v≤20.5\leq v\leq 2, so we have at most O(1/ϵ)O(1/\epsilon) many groups. By rounding down vv on each of these groups we obtain

which satisfies ∥v‾−v∥∞≤ϵ/2\|\overline{v}-v\|_{\infty}\leq\epsilon/2. For notational simplicity define

then v‾=(0.5+kϵ/2)∑kv‾(k)\overline{v}=(0.5+k\epsilon/2)\sum_{k}\overline{v}^{(k)} and for ϕ(x):=λ(exp⁡(λ(x−1))−exp⁡(−λ(x−1)))=(∇Φ(x))i\phi(x):=\lambda(\exp(\lambda(x-1))-\exp(-\lambda(x-1)))=(\nabla\Phi(x))_{i} we have

Next we split [n][n] into O(ϵ−1log⁡(n/d))O(\epsilon^{-1}\log(n/d)) many groups based on multiplicative approximations of τ\tau, in other words we have that

Next, Algorithm 8 from [LS19] shows how to compute scalars s(k,l)s^{(k,l)} in O(nlog⁡n)O(n\log n) time with

Note that there is ∥v‾′−v‾∥∞≤ϵ/λ\|\overline{v}^{\prime}-\overline{v}\|_{\infty}\leq\epsilon/\lambda with