Approximating the Exponential, the Lanczos Method and an \tilde{O}(m)-Time Spectral Algorithm for Balanced Separator

Lorenzo Orecchia, Sushant Sachdeva, Nisheeth K. Vishnoi

Spectral Algorithms, Balanced Graph Partitioning, Matrix Exponential, Lanczos Method, Uniform Approximation.

Introduction and Our Results

The Balanced Separator problem (BS) asks the following decision question: given an unweighted graph G=(V,E),G=(V,E), V=[n],∣E∣=m,V=[n],\left|E\right|=m, a constant balance parameter b∈(0,\nicefrac12],b\in(0,\nicefrac{{1}}{{2}}], and a target conductance value γ∈(0,1),\gamma\in(0,1), does GG have a bb-balanced cut SS such that ϕ(S)≤γ\phi(S)\leq\gamma? Here, the conductance of a cut (S,Sˉ)(S,\bar{S}) is defined to be ϕ(S)=def\nicefrac∣E(S,Sˉ)∣min⁡{vol(S),vol(S‾)},\phi(S)\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}\nicefrac{{|E(S,\bar{S})|}}{{\min\{{\mathsf{vol}}(S),{\mathsf{vol}}(\overline{S})\}}}, where vol(S){\mathsf{vol}}(S) is the sum of the degrees of the vertices in the set SS. Moreover, a cut (S,Sˉ)(S,\bar{S}) is bb-balanced if min⁡{vol(S),vol(Sˉ)}≥b⋅vol(V).\min\{{\mathsf{vol}}(S),{\mathsf{vol}}(\bar{S})\}\geq b\cdot\text{vol}(V). This is a classic NP-hard problem and a central object of study for the development of approximation algorithms, both in theory and in practice. On the theoretical side, BS has far reaching connections to spectral graph theory, the study of random walks and metric embeddings. In practice, algorithms for BS play a crucial role in the design of recursive algorithms , clustering and scientific computation .

At the core of our algorithm for BS, and more generally of most MMWU based algorithms, lies an algorithm to quickly compute exp⁡(−A)v\exp(-A)v for a PSD matrix AA and a unit vector v.v. It is sufficient to compute an approximation u,u, to exp⁡(−A)v,\exp(-A)v, in time which is as close as possible to tA.t_{A}. It can be shown that using about ∥A∥\|A\| terms in the Taylor series expansion of exp⁡(−A),\exp(-A), one can find a vector uu that approximates exp⁡(−A)v.\exp(-A)v. Hence, this method runs in time roughly O(tA⋅∥A∥).O(t_{A}\cdot\|A\|). In our application, and certain others , this dependence on the norm is prohibitively large. The following remarkable result was cited in Kale .

Let A⪰0A\succeq 0 and ε>0.\varepsilon>0. There is an algorithm that requires O(log⁡2\nicefrac1ε)O\left(\log^{2}\nicefrac{{1}}{{\varepsilon}}\right) iterations to find a vector uu such that ∥exp⁡(−A)v−u∥≤∥exp⁡(−A)∥ε,\left\lVert\exp(-A)v-u\right\rVert\leq\left\lVert\exp(-A)\right\rVert\varepsilon, for any unit vector vv. The time for every iteration is O(tA).{O}(t_{A}).

This hypothesis would suffice to prove Theorem 1.1. But, to the best of our knowledge, there is no known proof of this result. In fact, the source of this unproved hypothesis can be traced to a paper of Eshof and Hochbruck (EH) . EH suggest that one may use the Lanczos method (described later), and combine it with a rational approximation for e−xe^{-x} due to Saff, Schonhage and Varga , to reduce the computation of exp⁡(−A)v\exp(-A)v to a number of (I+αA)−1v(I+\alpha A)^{-1}v computations for some α>0.\alpha>0. Note that this is insufficient to prove the hypothesis above as there is no known way to compute (I+αA)−1v(I+\alpha A)^{-1}v in time O(tA).O(t_{A}). They note this and propose the use of iterative methods to do this computation. They also point out that this will only result in an approximate solution to (I+αA)−1v(I+\alpha A)^{-1}v and make no attempt to analyze the running time or the error of their method when the inverse computation is approximate. We believe that we are quite distant from proving the hypothesis for all PSD matrices and, moreover, that proving such a result may provide valuable insights into a fast (approximate) inversion method for symmetric PSD matrices, an extremely important open problem.

A significant part of this paper is devoted to a proof of the above hypothesis for a class of PSD matrices that turns out to be sufficient for the BS application. For the norm-independent, fast-approximate inverse computation, we appeal to the result of Spielman and Teng (also see improvements by Koutis, Miller and Peng ). The theorem we prove is the following.

In the symmetric PSD setting we also prove the following theorem which, for our application, gives a result comparable to Theorem 1.3.

Upper Bound. For every 0≤a<b,0\leq a<b, and 0<δ≤10<\delta\leq 1, there exists a polynomial p{p} that satisfies, sup⁡x∈[a,b]∣e−x−p(x)∣≤δ⋅e−a,\sup_{x\in[a,b]}|e^{-x}-{p}(x)|\leq\delta\cdot e^{-a}, and has degree O(max⁡{log⁡2\nicefrac1δ,(b−a)⋅log⁡\nicefrac1δ}⋅(log⁡\nicefrac1δ)2)O\left(\sqrt{\max\{\log^{2}\nicefrac{{1}}{{\delta}},(b-a)\cdot\log\nicefrac{{1}}{{\delta}}\}}\cdot\left(\log\nicefrac{{1}}{{\delta}}\right)^{2}\right).

Lower Bound. For every 0≤a<b0\leq a<b such that a+log⁡e4≤b,a+\log_{e}4\leq b, and δ∈(0,\nicefrac18],\delta\in(0,\nicefrac{{1}}{{8}}], any polynomial p(x)p(x) that approximates e−xe^{-x} uniformly over the interval [a,b][a,b] up to an error of δ⋅e−a,\delta\cdot e^{-a}, must have degree at least 12⋅b−a .\frac{1}{2}\cdot\sqrt{b-a}\ .

Organization of the Main Body of the Paper

In Section 3 we present a technical overview of our results and in Section 4 we discuss the open problems arising from our work. The main body of the paper follows after it and is divided into three sections, each of which have been written so that they can be read independently. Section 5 contains a complete description and all the proofs related to Theorem 1.1 and Theorem 3.1. Section 6 contains our results on computing the matrix exponential; in particular the proofs of Theorems 1.2, 1.4 and 3.2. Section 7 contains the proof of our structural results on approximating e−xe^{-x} and the proof of Theorem 1.5.

Technical Overview of Our Results

In this section, we provide an overview of Theorem 1.1. As pointed out in the introduction, our algorithm, BalSep, when combined with the matrix-exponential-vector algorithm in Theorem 1.4 results in a very simple and practical algorithm for BS. We record the theorem here for completeness and then move on to the overview of BalSep and its proof. The proof of this theorem appears in Section 5.4.

Before we explain our algorithm, it is useful to review the RLE algorithm. Recall that given G,γG,\gamma and b,b, the goal of the BS problem is to either certify that every bb-balanced cut in GG has conductance at least γ,\gamma, or produce a Ω(b)\Omega(b) balance cut in GG of conductance O(γ).O(\sqrt{\gamma}). RLE does this by applying LE iteratively to remove unbalanced cuts of conductance O(γ)O(\sqrt{\gamma}) from G.G. The iterations stop and the algorithm outputs a cut, when it either finds a (b/2)(b/2)-balanced cut of conductance O(γ)O(\sqrt{\gamma}) or the union of all unbalanced cuts found so far is (b/2)(b/2)-balanced. Otherwise, the algorithm terminates when the residual graph has spectral gap at least 2γ.2\gamma. In the latter case, any bb-balanced cut must have at least half of its volume lie within the final residual graph, and hence, has conductance at least γ\gamma in the original graph. Unfortunately, this algorithm may require Ω(n)\Omega(n) iterations in the worst case. For instance, this is true if the graph GG consists of Ω(n)\Omega(n) components loosely connected to an expander-like core through cuts of low conductance. This example highlights the weakness of the RLE approach: the second eigenvector of the Laplacian may only be correlated with one low-conductance cut and fail to capture at all even cuts of slightly larger conductance. This limitation makes it impossible for RLE to make significant progress at any iteration. We now proceed to show how to fix RLE and present our algorithm at a high level.

1.2 High-Level Idea of Our Algorithm

Rather than working with the vertex embedding given by the eigenvector, at iteration t,t, we will consider the multi-dimensional vector embedding represented by the transition probability matrix P(t)P^{(t)} of a certain random walk over the graph. We refer to this kind of walk as an Accelerated Heat Kernel Walk (AHK) and we describe it formally in Section 3.1.4. At each iteration t=1,2,…,t=1,2,\ldots, the current AHK walk is simulated for τ=\nicefraclog⁡nγ\tau=\nicefrac{{\log n}}{{\gamma}} time to obtain P(t).P^{(t)}. For any t,t, this choice of τ\tau ensures that the walk must mix across all cuts of conductance much larger than γ,\gamma, hence emphasizing cuts of the desired conductance in the embedding P(t).P^{(t)}. The embedding obtained in this way, can be seen as a weighted combination of multiple eigenvectors, with eigenvectors of low eigenvalue contributing more weight. Hence, the resulting embedding captures not only the cut corresponding to the second eigenvector, but also cuts associated with other eigenvectors of eigenvalue close to γ.\gamma. This enables our algorithm to potentially find many different low-conductance unbalanced cuts at once. Moreover, the random walk matrix is more stable than the eigenvector under small perturbations of the graph, making it possible to precisely quantify our progress from one iteration to the next as a function of the mixing of the current random walk. For technical reasons, we are unable to show that we make sufficient progress if we just remove the unbalanced cuts found, as in RLE. Instead, if we find a low-conductance unbalanced cut S(t)S^{(t)} at iteration t,t, we perform a soft removal, by modifying the current walk P(t)P^{(t)} to accelerate the convergence to stationarity on the set S(t).S^{(t)}. This ensures that a different cut is found using P(t+1)P^{(t+1)} in the next iteration. In particular, the AHK walks we consider throughout the execution of the algorithm will behave like the standard heat kernel on most of the graph, except on a small unbalanced subset of vertices, where their convergence will be accelerated. We now present our algorithm in more detail. We first recall some definitions.

1.3 Definitions

1.4 The AHK Random Walk and its Mixing

1.5 Our Algorithm and its Analysis

The algorithm proceeds as follows: At iteration t,t, it checks if the total deviation of P(t),P^{(t)}, i.e., Ψ(P(t),V),\Psi(P^{(t)},V), is sufficiently small (i.e., P(t)P^{(t)} is mixing). In this case, we can guarantee that no balanced cut of conductance less than γ\gamma exists in G.G. In more formal language, it appears below.

This result has a simple explanation in terms of the AHK random walk P(t).P^{(t)}. Notice that P(t)P^{(t)} is accelerated only on a small unbalanced set S.S. Hence, if a balanced cut of conductance less than γ\gamma existed, its convergence could not be greatly helped by the acceleration over S.S. Thus, if P(t)P^{(t)} is still mixing very well, no such balanced cut can exist. On the other hand, if P(t)P^{(t)} has high total deviation (i.e., the walk has not yet mixed), then, intuitively, some cut of low conductance exists in G.G. Formally, we show that, the embedding {vi(t)}i∈V\{v^{(t)}_{i}\}_{i\in V} has low quadratic form with respect to the Laplacian of G.G.

From an SDP-rounding perspective, this means that the embedding P(t)P^{(t)} can be used to recover a cut S(t)S^{(t)} of conductance O(γ),O(\sqrt{\gamma}), using the SDP-rounding techniques from OV. If S(t)S^{(t)} or ∪i=1tS(i)\cup_{i=1}^{t}S^{(i)} is Ω(b)\Omega(b)-balanced, then we output that cut and terminate. Otherwise, S(t)S^{(t)} is unbalanced. In this case, we accelerate the convergence from S(t)S^{(t)} in the current AHK walk by increasing (β(t))i(\beta^{(t)})_{i} for every i∈S(t)i\in S^{(t)} to give β(t+1),\beta^{(t+1)}, and using β(t+1)\beta^{(t+1)} to produce P(t+1)P^{(t+1)} and move on to the next iteration.

The analysis of our algorithm bounds the number of iterations by using the total deviation of P(t)P^{(t)} from stationarity as a potential function. Using the techniques of OV, it is possible to show that, whenever an unbalanced cut S(t)S^{(t)} is found, most of the deviation of P(t)P^{(t)} can be attributed to S(t).S^{(t)}. In words, we can think of S(t)S^{(t)} as the main reason why P(t)P^{(t)} is not mixing. Formally,

Moreover, we can show that accelerating the convergence of the walk from S(t)S^{(t)} has the effect of removing from P(t+1)P^{(t+1)} a large fraction of the deviation due to S(t).S^{(t)}. The proof is a simple application of the Golden-Thompson inequality and mirrors the main step in the MMWU analysis. Hence, we can show the total deviation of P(t+1)P^{(t+1)} is just a constant fraction of that of P(t).P^{(t)}.

1.6 Exponential Embeddings of Graph and Proof Ideas

2 Our Algorithms to Compute an Approximation to exp⁡(−A)​v𝐴𝑣\exp(-A)v

In this section, we give an overview of the algorithms in Theorem 1.2 and Theorem 1.4 and their proofs. The algorithm for Theorem 1.3 is very similar to the one for Theorem 1.2 and we give the details in Section 6.3.2. A few quick definitions: A matrix MM is called Upper Hessenberg if, (M)ij=0(M)_{ij}=0 for i>j+1.i>j+1. MM is called tridiagonal if Mij=0M_{ij}=0 for i>j+1i>j+1 and for j>i+1.j>i+1. Let λ1(M)\lambda_{1}(M) and λn(M)\lambda_{n}(M) denote the largest and smallest eigenvalues of MM respectively.

As we mention in the introduction, the matrices that we need to exponentiate for the BS algorithm are no longer sparse or SDD. Thus, Theorem 1.2 is insufficient for our application. Fortunately, the following theorem suffices and its proof is not very different from that of Theorem 1.2, which is explained below. Its proof appears in Section 6.4.

Recall from Section 3.1.4 that our algorithm for BS requires us to compute exp⁡(−A)v\exp(-A)v for a matrix AA of the form D−\nicefrac12(L+∑iβiL(Si))D−\nicefrac12,D^{-\nicefrac{{1}}{{2}}}(L+\sum_{i}\beta_{i}L(S_{i}))D^{-\nicefrac{{1}}{{2}}}, where βi≥0.\beta_{i}\geq 0. We first note that if we let Π=defI−\nicefrac12m⋅(D\nicefrac121)(D\nicefrac121)⊤,\Pi\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}I-\nicefrac{{1}}{{2m}}\cdot(D^{\nicefrac{{1}}{{2}}}{1})(D^{\nicefrac{{1}}{{2}}}{1})^{\top}, the projection onto the space orthogonal to \nicefrac12m⋅D\nicefrac121,\nicefrac{{1}}{{\sqrt{2m}}}\cdot D^{\nicefrac{{1}}{{2}}}{1}, then, for each i,i, D−\nicefrac12L(Si)D−\nicefrac12=Π(\nicefracdi2m⋅I+eiei⊤)Π.D^{-\nicefrac{{1}}{{2}}}L(S_{i})D^{-\nicefrac{{1}}{{2}}}=\Pi(\nicefrac{{d_{i}}}{{2m}}\cdot I+e_{i}e_{i}^{\top})\Pi. Since D\nicefrac121D^{\nicefrac{{1}}{{2}}}{1} is an eigenvector of D−\nicefrac12LD−\nicefrac12,D^{-\nicefrac{{1}}{{2}}}LD^{-\nicefrac{{1}}{{2}}}, we have, ΠD−\nicefrac12LD−\nicefrac12Π=D−\nicefrac12LD−\nicefrac12.\Pi D^{-\nicefrac{{1}}{{2}}}LD^{-\nicefrac{{1}}{{2}}}\Pi=D^{-\nicefrac{{1}}{{2}}}LD^{-\nicefrac{{1}}{{2}}}. Thus,

This is of the form ΠHMHΠ,\Pi HMH\Pi, where H=defD−\nicefrac12H\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}D^{-\nicefrac{{1}}{{2}}} is diagonal and MM is SDD. It is worth noting that since AA itself may be neither sparse nor SDD, we cannot apply the Spielman-Teng SDD solver to approximate (I+αA)−1.(I+\alpha A)^{-1}. The proof of the above theorem uses the Sherman-Morrison formula to extend the SDD solver to fit our requirement. Moreover, to obtain a version of Theorem 1.4 for such matrices, we do not have to do anything additional since multiplication by HH and Π\Pi take O(n)O(n) steps and hence, tAt_{A} is still O(mM+n).O(m_{M}+n). The details appear in Section 6.4. Finally, note that in our application, ∥HMH∥\|HMH\| is poly(n).{\rm poly}(n).

We now give an overview of the proofs of Theorem 1.2 and Theorem 1.4. First, we explain a general method known as the Lanczos method, which is pervasive in numerical linear algebra. We then show how suitable adaptations of this can be combined with (old and new) structural results in approximation theory to obtain our results.

Since exact computation of f(B)f(B) usually requires diagonalization of B,B, which could take as much as O(n3)O(n^{3}) time (see ), we seek an approximation to f(B)vf(B)v. The Lanczos method allows us to do exactly that: It looks for an approximation to f(B)vf(B)v of the form p(B)vp(B)v, where pp is a polynomial of small degree, say kk. Before we describe how, we note that it computes this approximation in roughly O((tB+n)k)O((t_{B}+n)k) time plus the time it takes to compute f(⋅)f(\cdot) on a (k+1)×(k+1)(k+1)\times(k+1) tridiagonal matrix, which can often be upper bounded by O(k2)O(k^{2}) (see ). Hence, the time is reduced to O((tB+n)k+k2).O((t_{B}+n)k+k^{2}). What one has lost in this process is accuracy: The candidate vector uu output by the Lanczos method, is now only an approximation to f(B)v.f(B)v. The quality of approximation, or ∥f(B)v−u∥,\|f(B)v-u\|, can be upper bounded by the uniform error of the best degree kk polynomial approximating ff in the interval [λn(B),λ1(B)].[\lambda_{n}(B),\lambda_{1}(B)]. Roughly, ∥f(B)v−u∥≈(min⁡pk∈Σksup⁡x∈[λ1(B),λn(B)]∣f(x)−pk(x)∣).\|f(B)v-u\|\approx(\min_{p_{k}\in\Sigma_{k}}\sup_{x\in[\lambda_{1}(B),\lambda_{n}(B)]}|f(x)-p_{k}(x)|). Here Σk\Sigma_{k} is the collection of all real polynomials of degree at most k.k. Surprisingly, one does not need to know the best polynomial and proving existence of good polynomials is sufficient. By increasing k,k, one can reduce this error and, indeed, if one lets k=n,k=n, there is no error. Thus, the task is reduced to proving existence of low degree polynomials that approximate ff within the error tolerable for the applications.

Computing the Best Polynomial Approximation.

Now, we describe in detail, the Lanczos method and how it achieves the error guarantee claimed above. Notice that for any polynomial pp of degree at most k,k, the vector p(B)vp(B)v lies in K=defSpan{v,Bv,…,Bkv}\mathcal{K}\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}{\mathsf{Span}}\{v,Bv,\ldots,B^{k}v\} – called the Krylov subspace. The Lanczos method iteratively creates an orthonormal basis {vi}i=0k\{v_{i}\}_{i=0}^{k} for K\mathcal{K}, such that ∀ i≤k, Span{v0,…,vi}=Span{v,…,Biv}.\forall\ i\leq k,\ {\mathsf{Span}}\{v_{0},\ldots,v_{i}\}={\mathsf{Span}}\{v,\ldots,B^{i}v\}. Let VkV_{k} be the n×(k+1)n\times(k+1) matrix with {vi}i=0k\{v_{i}\}_{i=0}^{k} as its columns. Thus, VkVk⊤V_{k}V_{k}^{\top} denotes the projection onto the Krylov subspace. We let TkT_{k} be the (k+1)×(k+1)(k+1)\times(k+1) matrix expressing BB as an operator restricted to K\mathcal{K} in the basis {vi}i=0k\{v_{i}\}_{i=0}^{k}, i.e., Tk=defVk⊤BVk.T_{k}\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}V_{k}^{\top}BV_{k}. Note that this is not just a change of basis, since vectors in K\mathcal{K} can be mapped by BB to vectors outside K\mathcal{K}. Now, since v,Bv∈Kv,Bv\in\mathcal{K}, we must have Bv=(VkVk⊤)B(VkVk⊤)v=Vk(Vk⊤BVk)Vk⊤v=VkTkVk⊤v.Bv=(V_{k}V^{\top}_{k})B(V_{k}V^{\top}_{k})v=V_{k}(V^{\top}_{k}BV_{k})V_{k}^{\top}v=V_{k}T_{k}V_{k}^{\top}v. Iterating this argument, we get that for all i≤ki\leq k, Biv=VkTkiVk⊤v,B^{i}v=V_{k}T_{k}^{i}V_{k}^{\top}v, and hence, by linearity, p(B)v=Vkp(Tk)Vk⊤v,p(B)v=V_{k}p(T_{k})V_{k}^{\top}v, for any polynomial pp of degree at most k.k.

Now, a natural approximation for f(B)vf(B)v is Vkf(Tk)Vk⊤vV_{k}f(T_{k})V_{k}^{\top}v. Writing rk(x)=deff(x)−pk(x),r_{k}(x)\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}f(x)-p_{k}(x), where pkp_{k} is any degree kk approximation to f(x)f(x), the error in the approximation is f(B)v−Vkf(Tk)Vk⊤v=rk(B)v−Vkrk(Tk)Vk⊤v,f(B)v-V_{k}f(T_{k})V_{k}^{\top}v=r_{k}(B)v-V_{k}r_{k}(T_{k})V_{k}^{\top}v, for any choice of pk.p_{k}. Hence, the norm of the error vector is at most (∥rk(B)∥+∥rk(Tk)∥)∥v∥,(\left\lVert r_{k}(B)\right\rVert+\left\lVert r_{k}(T_{k})\right\rVert)\left\lVert v\right\rVert, which is bounded by the value of rkr_{k} on the eigenvalues of BB (eigenvalues of TkT_{k} are a subset of eigenvalues of BB). More precisely, the norm of the error is bounded by 2∥v∥⋅max⁡λ∈Spectrum(B)∣f(λ)−pk(λ)∣.2\left\lVert v\right\rVert\cdot\max_{\lambda\in\text{Spectrum}(B)}|f(\lambda)-p_{k}(\lambda)|. Minimizing over pkp_{k} gives the error bound claimed above. Note that we do not explicitly need the approximating polynomial. It suffices to prove that there exists a degree kk polynomial that uniformly approximates ff well on an interval containing the spectrum of BB and Tk.T_{k}.

If we construct the basis iteratively as above, Bvj∈Span{v0,…,vj+1}Bv_{j}\in{\mathsf{Span}}\{v_{0},\ldots,v_{j+1}\} by construction, and if i>j+1,i>j+1, viv_{i} is orthogonal to this subspace and hence vi⊤(Bvj)=0v_{i}^{\top}(Bv_{j})=0. Thus, TkT_{k} is Upper Hessenberg. Moreover, if BB is symmetric, vj⊤(Bvi)=vi⊤(Bvj),v_{j}^{\top}(Bv_{i})=v_{i}^{\top}(Bv_{j}), and hence TkT_{k} is symmetric and tridiagonal. This means that while constructing the basis, at step i+1i+1, it needs to orthonormalize BviBv_{i} only w.r.t. vi−1v_{i-1} and viv_{i}. Thus the total time required is O((tB+n)k)O((t_{B}+n)k), plus the time required for the computation of f(Tk)f(T_{k}), which can typically be bounded by O(k2)O(k^{2}) for a tridiagonal matrix (using ). This completes an overview of the Lanczos method. The Lanczos procedure described in Figure 4 in the main body, implements the Lanczos method. We now move on to describing how we apply it to obtain our two algorithms.

Our Algorithm.

The starting point of the algorithm that underlies Theorem 1.2 is a rather surprising result by Saff, Schönhage and Varga (SSV) , which says that for any integer k,k, there exists a degree kk polynomial pk⋆p_{k}^{\star} such that, pk⋆((1+\nicefracxk)−1)p_{k}^{\star}((1+\nicefrac{{x}}{{k}})^{-1}) approximates e−xe^{-x} up to an error of O(k⋅2−k)O(k\cdot 2^{-k}) over the interval [0,∞)[0,\infty) (Theorem 6.8, Corollary 6.9). Then, to compute exp⁡(−A)v,\exp(-A)v, one could apply the Lanczos method with B=def(I+\nicefracAk)−1B\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}(I+\nicefrac{{A}}{{k}})^{-1} and f(x)=defek(1−\nicefrac1x).f(x)\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}e^{k(1-\nicefrac{{1}}{{x}})}. Essentially, this was the method suggested by Eshof and Hochbruck . The strong approximation guarantee of the SSV result along with the guarantee of the Lanczos method from the previous section, would imply that the order of the Krylov subspace for BB required would be roughly log⁡\nicefrac1δ,\log\nicefrac{{1}}{{\delta}}, and hence, independent of ∥A∥.\|A\|. The running time is then dominated by the computation Bv=(I+\nicefracAk)−1v.Bv=(I+\nicefrac{{A}}{{k}})^{-1}v.

EH note that the computation of exact matrix inverse is a costly operation (O(n3)O(n^{3}) time in general) and all known faster methods for inverse computation incur some error. They suggest using the Lanczos method with faster iterative methods, e.g. Conjugate Gradient, for computing the inverse (or rather the product of the inverse with a given vector) as a heuristic. They make no attempt to give a theoretical justification of why approximate computation suffices. Also note that, even if the computation was error-free, a method such as Conjugate Gradient will have running time which varies with \nicefracλ1(A)λn(A)\sqrt{\nicefrac{{\lambda_{1}(A)}}{{\lambda_{n}(A)}}} in general. Thus, the EH method falls substantially short of resolving the hypothesis mentioned in the introduction.

To be able to prove Theorem 1.2 using the SSV guarantee, we have to adapt the Lanczos method in several ways, and hence, deviate from the method suggested by EH: 1) EH construct TkT_{k} as a tridiagonal matrix as Lanczos method suggests, but since the computation is no longer exact, the basis {vi}i=0k\{v_{i}\}_{i=0}^{k} is no longer guaranteed to be orthonormal. As a result, the proofs of the Lanczos method break down. Our algorithm, instead, builds an orthonormal basis, which means that TkT_{k} becomes an Upper Hessenberg matrix instead of tridiagonal and we need to compute k2k^{2} dot products in order to compute Tk.T_{k}. 2) With TkT_{k} being asymmetric, several nice spectral properties are lost, e.g. real eigenvalues and an orthogonal set of eigenvectors. We overcome this fact by symmetrizing TkT_{k} to construct T^k=Tk+Tk⊤2\widehat{T}_{k}=\frac{T_{k}+T_{k}^{\top}}{2} and computing our approximation with T^k.\widehat{T}_{k}. This permits us to bound the quality of a polynomial approximation applied to T^k\widehat{T}_{k} by the behavior of the polynomial on the eigenvalues of T^k\widehat{T}_{k}. 3) Our analysis is based on the SSV approximation result, which is better than the variant proved and used by EH. Moreover, for their shifting technique, which is the source of the ∥exp⁡(−A)∥\left\lVert\exp(-A)\right\rVert factor in the hypothesis, the given proof in EH is incorrect and it is not clear if the given bound could be achieved even under exact computationEH show the existence of degree kk polynomials in (1+νx)−1(1+\nu x)^{-1} for any constant ν∈(0,1),\nu\in(0,1), that approximate e−xe^{-x} up to an error of exp⁡(\nicefrac12ν−Θ(k(ν−1−1))).\exp(\nicefrac{{1}}{{2\nu}}-\Theta(\sqrt{k(\nu^{-1}-1)})). In order to deduce the claimed hypothesis, it needs to be used for ν≈\nicefrac1λn(A),\nu\approx\nicefrac{{1}}{{\lambda_{n}(A)}}, in which case, there is a factor of eλn(A)e^{\lambda_{n}(A)} in the error, which could be huge.. 4) Most importantly, since AA is SDD, we are able to employ the Spielman-Teng solver (Theorem 6.10) to approximate (I+\nicefracAk)−1v(I+\nicefrac{{A}}{{k}})^{-1}v. This procedure, called ExpRational, has been described in Figure 5 in the main body.

Error Analysis.

To complete the proof of Theorem 1.2, we need to analyze the role of the error that creeps in due to approximate matrix inversion. The problem is that this error, generated in each iteration of the Krylov basis computation, propagates to the later steps. Thus, small errors in the inverse computation may lead to the basis VkV_{k} computed by our algorithm to be quite far from the kk-th order Krylov basis for B,v.B,v. We first show that, assuming the error in computing the inverse is small, T^k\widehat{T}_{k} can be used to approximate degree kk polynomials of B=(I+\nicefracAk)−1B=(I+\nicefrac{{A}}{{k}})^{-1} when restricted to the Krylov subspace, i.e. ∥p(B)v−Vkp(T^k)Vk⊤v∥⪅∥p∥1.\|p(B)v-V_{k}p(\widehat{T}_{k})V_{k}^{\top}v\|\lessapprox\left\lVert p\right\rVert_{1}. Here, if p=def∑i=0kai⋅xi,p\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}\sum_{i=0}^{k}a_{i}\cdot x^{i}, ∥p∥1=∑i≥0k∣ai∣.\left\lVert p\right\rVert_{1}=\sum_{i\geq 0}^{k}|a_{i}|. This is the most technical part of the error analysis and unfortunately, the only way we know of proving the error bound above is by tour de force. A part of this proof is to show that the spectrum of T^k\widehat{T}_{k} cannot shift far from the spectrum of B.B.

To bound the error in the candidate vector output by the algorithm, i.e. ∥f(B)v−Vkf(T^k)Vk⊤v∥,\|f(B)v-V_{k}f(\widehat{T}_{k})V_{k}^{\top}v\|, we start by expressing e−xe^{-x} as the sum of a degree kk-polynomial pkp_{k} in (1+\nicefracxk)−1(1+\nicefrac{{x}}{{k}})^{-1} and a remainder function rk.r_{k}. We use the analysis from the previous paragraph to upper bound the error in the polynomial part by ≈∥p∥1.\approx\left\lVert p\right\rVert_{1}. We bound the contribution of the remainder term to the error by bounding ∥rk(B)∥\left\lVert r_{k}(B)\right\rVert and ∥rk(T^k)∥.\|{r_{k}(\widehat{T}_{k})}\|. This step uses the fact that eigenvalues of rk(T^k)r_{k}(\widehat{T}_{k}) are {rk(λi)}i,\{r_{k}(\lambda_{i})\}_{i}, where {λi}i\{\lambda_{i}\}_{i} are eigenvalues of Tk^.\widehat{T_{k}}. This is the reason our algorithm symmetrizes TkT_{k} to T^k.\widehat{T}_{k}. To complete the error analysis, we use the polynomials pk⋆p_{k}^{\star} from SSV and bound ∥pk⋆∥1.\left\lVert p_{k}^{\star}\right\rVert_{1}. Even though we do not know pk⋆p_{k}^{\star} explicitly, we can bound its coefficients indirectly by writing it as an interpolation polynomial. All these issues make the error analysis highly technical. However, since the error analysis is crucial for our algorithms, a more illuminating proof is highly desirable.

In this section, we give a brief overview of the proof of Theorem 1.5. The details appear in Section 7 and can be read independently of the rest of the paper.

A straightforward approach to approximate e−xe^{-x} over [a,b][a,b] is by truncating its series expansion around a+b2.\frac{a+b}{2}. With a degree of the order of (b−a)+log⁡\nicefrac1δ,(b-a)+\log\nicefrac{{1}}{{\delta}}, these polynomials achieve an error of δ⋅e−\nicefrac(b+a)2\delta\cdot e^{-\nicefrac{{(b+a)}}{{2}}}, for any constant δ>0.\delta>0. This approach is equivalent to approximating eλe^{\lambda} over ,, for λ=def\nicefrac(b−a)2,\lambda\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}\nicefrac{{(b-a)}}{{2}}, by polynomials of degree O(λ+log⁡\nicefrac1δ).O(\lambda+\log\nicefrac{{1}}{{\delta}}). On the flip side, it is known that if λ\lambda is constant, the above result is optimal (see e.g. ). Instead of polynomials, one could consider approximations by rational functions, as in . However, the author in shows that, if both λ\lambda and the degree of the denominator of the rational function are constant, the required degree of the numerator is only an additive constant better than that for the polynomials. It might seem that the question of approximating the exponential has been settled and one cannot do much better. However, the result by SSV mentioned before, seems surprising in this light. The lower bound does not apply to their result, since the denominator of their rational function is unbounded. In a similar vein, we ask the following question: If we are looking for weaker error bounds, e.g. δ⋅e−a\delta\cdot e^{-a} instead of δ⋅e−\nicefrac(b+a)2\delta\cdot e^{-\nicefrac{{(b+a)}}{{2}}} (recall b>ab>a), can we improve on the degree bound of O((b−a)+log⁡\nicefrac1δ)O((b-a)+\log\nicefrac{{1}}{{\delta}})? Theorem 1.5 answers this question in the affirmative and gives a new upper bound and an almost matching lower bound. We give an overview of the proofs of both these results next.

Lower Bound.

Discussion and Open Problems

The main remaining open question regarding the design of spectral algorithms for BS is whether it is possible to obtain stronger certificates that no sparse balanced cuts exist, in nearly-linear time. This question is of practical importance in the construction of decompositions of the graph into induced graphs that are near-expanders, in nearly-linear time . OV show that their certificate, which is of the same form as that of BalSep, is stronger than the certificate of Spielman and Teng . In particular, our certificate can be used to produce decompositions into components that are guaranteed to be subsets of induced expanders in G.G. However, this form of certificate is still much weaker than that given by RLE, which actually outputs an induced expander of large volume.

With regards to approximating the Matrix exponential, a computation which plays an important role in SDP-based algorithms, random walks, numerical linear algebra and quantum computing, settling the hypothesis remains the main open question. Further, as noted earlier, the error analysis plays a crucial role in making Theorem 1.2 and, hence, Theorem 1.1 work, but its proof is rather long and difficult. A more illuminating proof of this would be highly desirable.

Another question is to close the gap between the upper and lower bounds on polynomial approximations to e−xe^{-x} over an interval [a,b][a,b] in Theorem 1.5.

The Algorithm for Balanced Separator

In this section we provide our spectral algorithm BalSep and prove Theorem 1.1. We also mention how Theorem 3.1 follows easily from the proof of Theorem 1.1 and Theorem 1.4. We first present the preliminaries for this section.

Special Graphs

We denote by KVK_{V} the complete graph with weight \nicefracdidj2m\nicefrac{{d_{i}d_{j}}}{{2m}} between every pair i,j∈V.i,j\in V. For i∈V,i\in V, SiS_{i} is the star graph rooted at ii, with edge weight of \nicefracdidj2m\nicefrac{{d_{i}d_{j}}}{{2m}} between ii and j,j, for all j∈V.j\in V.

Graph matrices.

Vector and Matrix Notation.

L(KV)=D−\nicefrac12m⋅D11⊤D=D\nicefrac12(I−\nicefrac12m⋅D\nicefrac1211D\nicefrac12)D\nicefrac12.L(K_{V})=D-\nicefrac{{1}}{{2m}}\cdot D{\bf 1}{\bf 1}^{\top}D=D^{\nicefrac{{1}}{{2}}}(I-\nicefrac{{1}}{{2m}}\cdot D^{\nicefrac{{1}}{{2}}}{\bf 1}{\bf 1}D^{\nicefrac{{1}}{{2}}})D^{\nicefrac{{1}}{{2}}}.

Embedding Notation.

∑i∈VdiRi∙X=∑i∈Vdi∥vi−vavg∥2=\nicefrac12m⋅∑i<jdjdi∥vi−vj∥2=L(KV)∙X.\sum_{i\in V}d_{i}R_{i}\bullet X=\sum_{i\in V}d_{i}\left\lVert v_{i}-v_{\mathsf{avg}}\right\rVert^{2}=\nicefrac{{1}}{{2m}}\cdot\sum_{i<j}d_{j}d_{i}\left\lVert v_{i}-v_{j}\right\rVert^{2}=L(K_{V})\bullet X.

2 AHK Random Walks

A useful matrix to study H(β)\mathcal{H}(\beta) will be D−1P2τ(β).D^{-1}P_{2\tau}(\beta). This matrix describes the probability distribution over the edges of GG and has the advantage of being symmetric and positive semidefinite:

D−\nicefrac12Pτ(β)D^{-\nicefrac{{1}}{{2}}}P_{\tau}(\beta) is a square root of D−1P2τ(β).D^{-1}P_{2\tau}(\beta).

Hence, D−1P2τ(β)D^{-1}P_{2\tau}(\beta) is the Gram matrix of the embedding given by the columns of its square root D−\nicefrac12Pτ(β).D^{-\nicefrac{{1}}{{2}}}P_{\tau}(\beta). This property will enable us to use geometric SDP techniques to analyze H(β).\mathcal{H}(\beta).

Mixing.

A fundamental quantity for our algorithm will be the total deviation from stationarity over a subset S⊆V.S\subseteq V. We will denote Ψ(Pt(β),S)=def∑i∈SΨ(Pt(β),i).\Psi(P_{t}(\beta),S)\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}\sum_{i\in S}\Psi(P_{t}(\beta),i). In particular, Ψ(Pτ(β),V)\Psi(P_{\tau}(\beta),V) will play the role of potential function in our algorithm. The following facts express these mixing quantities in the geometric language of the embedding corresponding to D−1P2τ(β).D^{-1}P_{2\tau}(\beta).

Ψ(Pτ(β),i)=diRi∙D−1P2τ(β).\Psi(P_{\tau}(\beta),i)=d_{i}R_{i}\bullet D^{-1}P_{2\tau}(\beta).

Proof: By Fact 5.3 and the definition of Ri:R_{i}:

The following is a consequence of Fact 5.2:

Ψ(Pτ(β),V)=∑i∈VdiRi∙D−1P2τ(β)=L(KV)∙D−1P2τ(β).\Psi(P_{\tau}(\beta),V)=\sum_{i\in V}d_{i}R_{i}\bullet D^{-1}P_{2\tau}(\beta)=L(K_{V})\bullet D^{-1}P_{2\tau}(\beta).

3 Algorithm Description

Our algorithm BalSep will call two subroutines FindCut and ExpV. FindCut is an SDP-rounding algorithm that uses random projections and radial sweeps to find a low-conductance cut, that is either cc-balanced, for some constant c=Ω(b)≤\nicefracb100c=\Omega(b)\leq\nicefrac{{b}}{{100}} defined in OV, or obeys a strong guarantee stated in Theorem 5.8. Such algorithm is implicit in and is described precisely in Section 5.7. ExpV is a generic algorithm that approximately computes products of the form Pτ(β)uP_{\tau}(\beta)u for unit vectors u.u. Expv can be chosen to be either the algorithm implied by Thereom 3.2, which makes use of the Spielman-Teng solver, or that in Theorem 1.4, which just applies the Lanczos method.

We are now ready to describe BalSep, which will output a cc-balanced cut of conductance O(γ)O(\sqrt{\gamma}) or the string NO, if it finds a certificate that no bb-balanced cut of conductance less than γ\gamma exists. BalSep can also fail and output the string Fail. We will show that this only happens with small probability. The algorithm BalSep is defined in Figure 1. The constants in this presentation are not optimized and are likely to be higher than what is necessary in practice. They can also be modified to obtain different trade-offs between the approximation guarantee and the output balance.

At iteration t=1,t=1, we have β(1)=0,\beta^{(1)}={\bf 0}, so that P(1)P^{(1)} is just the probability transition matrix of the heat kernel on GG for time τ.\tau. In general at iteration t,t, BalSep runs ExpV to compute O(log⁡n)O(\log n) random projections of P(t)P^{(t)} and constructs an approximation {vi(t)}i∈V\{v^{(t)}_{i}\}_{i\in V} to the embedding given by the columns of D−\nicefrac12P(t).D^{-\nicefrac{{1}}{{2}}}P^{(t)}. This approximate embedding has Gram matrix X(t).X^{(t)}.

In Step 2,2, BalSep computes L(KV)∙X(t),L(K_{V})\bullet X^{(t)}, which is an estimate of the total deviation Ψ(P(t),V)\Psi(P^{(t)},V) by Fact 5.5. If this deviation is small, the AHK walk P(t)P^{(t)} has mixed sufficiently over GG to yield a certificate that GG cannot have any bb-balanced cut of conductance less than γ.\gamma. This is shown in Lemma 5.6. If the AHK walk P(t)P^{(t)} has not mixed sufficiently, we can use FindCut to find a cut S(t)S^{(t)} of low conductance O(γ),O(\sqrt{\gamma}), which is an obstacle for mixing. If S(t)S^{(t)} is cc-balanced , we output it and terminate. Similarly, if S∪S(t)S\cup S^{(t)} is cc-balanced, as ϕ(S∪S(t))≤O(γ),\phi(S\cup S^{(t)})\leq O(\sqrt{\gamma}), we can also output S∪S(t)S\cup S^{(t)} and exit. Otherwise, S(t)S^{(t)} is unbalanced and is potentially preventing BalSep from detecting balanced cuts in G.G. We then proceed to modify the AHK walk, by increasing the values of β(t+1)\beta^{(t+1)} for the vertices in S(t).S^{(t)}. This change ensures that P(t+1)P^{(t+1)} mixes faster from the vertices in S(t)S^{(t)} and in particular mixes across S(t).S^{(t)}. In particular, this means that, at any given iteration t,t, the support of β(t)\beta^{(t)} is ∪r=1t−1S(r),\cup_{r=1}^{t-1}S^{(r)}, which is an unbalanced set.

The BalSep algorithm exactly parallels the RLE algorithm, introducing only two fundamental changes. First, we use the embedding given by the AHK random walk P(t)P^{(t)} in place of the eigenvector to find cuts in GG or in a residual graph. Secondly, rather than fully removing unbalanced low-conductance cuts from the graph, we modify β(t)\beta^{(t)} at every iteration t,t, so P(t+1)P^{(t+1)} at the next iteration mixes across the unbalanced cuts found so far.

4 Analysis

The analysis of BalSep is at heart a modification of the MMWU argument in OV, stated in a random-walk language. This modification allows us to deal with the different embedding used by BalSep at every iteration with respect to OV.

In this analysis, the quantity Ψ(P(t),V)\Psi(P^{(t)},V) plays the role of potential function. Recall that, from a random-walk point of view, Ψ(P(t),V)\Psi(P^{(t)},V) is the total deviation from stationarity of Pτ(β(t))P_{\tau}(\beta^{(t)}) over all vertices as starting points. We start by showing that if the potential function is small enough, we obtain a certificate that no bb-balanced cut of conductance at most γ\gamma exists. In the second step, we show that, if an unbalanced cut S(t)S^{(t)} of low conductance is found, the potential decreases by a constant fraction. Unless explicitly stated otherwise, all proofs are found in Section 5.5.

We argue that, if Ψ(P(t),V)\Psi(P^{(t)},V) is sufficiently small, it must be the case that GG has no bb-balanced cut of conductance less than γ.\gamma. A similar result is implicit in OV. This theorem has a simple explanation in terms of the AHK random walk P(t).P^{(t)}. Notice that P(t)P^{(t)} is accelerated only on a small unbalanced set S.S. Hence, if a balanced cut of conductance less than γ\gamma existed, its convergence could not be greatly helped by the acceleration over S.S. Then, if P(t)P^{(t)} is still mixing very well, no such balanced cut can exist.

Let S=∪i=1tS(i).S=\cup_{i=1}^{t}S^{(i)}. If Ψ(P(t),V)≤43n,\Psi(P^{(t)},V)\leq\frac{4}{3n}, and vol(S)≤c⋅2m≤\nicefracb100⋅2m{\mathsf{vol}}(S)\leq c\cdot 2m\leq\nicefrac{{b}}{{100}}\cdot 2m, then

Moreover, this implies that no bb-balanced cut of conductance less than γ\gamma exists in G.G.

The Deviation of an Unbalanced Cut.

In the next step, we show that, if the walk has not mixed sufficiently, w.h.p. the embedding {vi(t)}i∈V,\{v^{(t)}_{i}\}_{i\in V}, computed by BalSep, has low quadratic form with respect to the Laplacian of G.G. From a SDP-rounding perspective, this means that the embedding can be used to recover cuts of value close to γ.\gamma. This part of the analysis departs from that of OV, as we use our modified definition of the embedding.

If Ψ(P(t),V)≥1n,\Psi(P^{(t)},V)\geq\frac{1}{n}, then w.h.p. L∙X(t)≤O(γ)⋅L(KV)∙X(t).L\bullet X^{(t)}\leq O(\gamma)\cdot L(K_{V})\bullet X^{(t)}.

This guarantee on the embedding allows us to apply SDP-rounding techniques in the subroutine FindCut. The following result is implicit in . Its proof appears in Section 5.7 for completeness.

The following corollary is a simple consequence of Lemma 5.7 and Theorem 5.8:

At iteration tt of BalSep, if Ψ(P(t),V)≥1n\Psi(P^{(t)},V)\geq\frac{1}{n} and S(t)S^{(t)} is not cc-balanced, then w.h.p. Ψ(P(t),S)≥\nicefrac12⋅Ψ(P(t),V).\Psi(P^{(t)},S)\geq\nicefrac{{1}}{{2}}\cdot\Psi(P^{(t)},V).

In words, at the iteration tt of BalSep, the cut S(t)S^{(t)} must either be cc-balanced or be an unbalanced cut that contributes a large constant fraction of the total deviation of P(t)P^{(t)} from the stationary distribution. In this sense, S(t)S^{(t)} is the main reason for the failure of P(t)P^{(t)} to achieve better mixing. To eliminate this obstacle and drive the potential further down, P(t)P^{(t)} is updated to P(t+1)P^{(t+1)} by accelerating the convergence to stationary from all vertices in S(t).S^{(t)}. Formally, this is achieved by adding weighted stars rooted at all vertices over S(t)S^{(t)} to the transition-rate matrix of the AHK random walk P(t)P^{(t)}.

Potential Reduction.

The next theorem crucially exploits the stability of the process H(β(t))\mathcal{H}(\beta^{(t)}) and Corollary 5.9 to show that the potential decreases by a constant fraction at every iteration in which an unbalanced cut is found. More precisely, the theorem shows that accelerating the convergence from S(t)S^{(t)} at iteration tt of BalSep has the effect of eliminating at least a constant fraction of the total deviation due to S(t).S^{(t)}. The proof is a simple application of the Golden-Thompson inequality and mirrors the main step in the MMWU analysis.

At iteration tt of BalSep, if Ψ(P(t),V)≥1n\Psi(P^{(t)},V)\geq\frac{1}{n} and S(t)S^{(t)} is not cc-balanced, then w.h.p.

We are now ready to prove Theorem 1.1 and Theorem 3.1 by applying Lemma 5.10 to show that after O(log⁡n)O(\log n) iterations, the potential must be sufficiently low to yield the required certificate according to Lemma 5.6.

Proof: [Proof of Theorem 1.1] If BalSep outputs a cut SS in Step 44, by construction, we have that ϕ(S)≤O(γ)\phi(S)\leq O(\sqrt{\gamma}) and SS is Ω(b)\Omega(b)-balanced. Alternatively, at iteration t,t, if L(KV)∙X(t)≤\nicefrac1+εn,L(K_{V})\bullet X^{(t)}\leq\nicefrac{{1+\varepsilon}}{{n}}, we have by Lemma 5.18 that

Therefore, by Lemma 5.6, we have a certificate that no bb-balanced cut of conductance less than γ\gamma exists in G.G. Otherwise, we must have L(KV)∙X(t)≥\nicefrac1+εn,L(K_{V})\bullet X^{(t)}\geq\nicefrac{{1+\varepsilon}}{{n}}, which, by Lemma 5.18, implies that

Then, by Lemma 5.7 and Theorem 5.8, we have w.h.p. that FindCut does not fail and outputs a cut S(t)S^{(t)} with ϕ(S(t))≤O(γ).\phi(S^{(t)})\leq O(\sqrt{\gamma}). As BalSep has not terminated in Step 4,4, it must be the case that S(t)S^{(t)} is not cc-balanced and, by Theorem 5.10, we obtain that w.h.p. Ψ(P(t+1),V)≤\nicefrac56⋅Ψ(P(t),V).\Psi(P^{(t+1)},V)\leq\nicefrac{{5}}{{6}}\cdot\Psi(P^{(t)},V). Now,

Hence, after \nicefrac2log⁡nlog⁡(\nicefrac65)≤12log⁡n=T\nicefrac{{2\log n}}{{\log(\nicefrac{{6}}{{5}})}}\leq 12\log n=T iterations, w.h.p. we have that Ψ(P(T),V)≤\nicefrac1n\Psi(P^{(T)},V)\leq\nicefrac{{1}}{{n}} and, by Lemma 5.6, no bb-balanced cut of conductance less than γ\gamma exists.

We now consider the running time required by the algorithm at every iteration. In Step 1,1, we compute k=O(log⁡n),k=O(\log n), products of the form D−\nicefrac12P(t)u,D^{-\nicefrac{{1}}{{2}}}P^{(t)}u, where uu is an unit vector, using the ExpV algorithm based on the Spielman-Teng solver, given in Theorem 3.2. This application of Theorem 3.2 is explained in Section 3.2. By the definition of β(t),\beta^{(t)}, at iteration tt we have:

5 Proofs

In this section we provide the proofs from the Section 5. We start with some preliminaries.

Vector and Matrix Notation.

L⪯2⋅DL\preceq 2\cdot D and L(Si)⪯2⋅D.L(S_{i})\preceq 2\cdot D.

For all i∈V,i\in V, L(Si)=\nicefracdi2m⋅L(KV)+diRi.L(S_{i})=\nicefrac{{d_{i}}}{{2m}}\cdot L(K_{V})+d_{i}R_{i}. In particular, L(Si)⪰diRi.L(S_{i})\succeq d_{i}R_{i}.

Notation for BalSep.

The following are useful facts to record about C(t):C^{(t)}:

The vector D\nicefrac12D^{\nicefrac{{1}}{{2}}} is the eigenvector of C(t)C^{(t)} with smallest eigenvalue 0.0.

5.2 Useful Lemmata

Ψ(P(t),V)=L(KV)∙D−1P2τ(β(t))=Tr(e−2τC(t))−1.\Psi(P^{(t)},V)=L(K_{V})\bullet D^{-1}P_{2\tau}(\beta^{(t)})={\rm Tr}(e^{-2\tau C^{(t)}})-1.

Using Fact 5.1 and the cyclic property of the trace function, we obtain

Finally, by Fact 5.13, we must have that the right-hand side equals Tr(e−2τC(t))−1,{\rm Tr}(e^{-2\tau C^{(t)}})-1, as required.

The following lemma is a simple consequence of the convexity of e−x.e^{-x}. It is proved in .

5.3 Proof of Lemma 5.6

Let S=∪i=1tS(i)S=\cup_{i=1}^{t}S^{(i)} and set β=defβ(t).\beta\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}\beta^{(t)}. By Lemma 5.15, we have Tr(e−2τC(t))−1≤\nicefrac43n.{\rm Tr}(e^{-2\tau C^{(t)}})-1\leq\nicefrac{{4}}{{3n}}. Hence, λn−1(e−2τC(t))≤\nicefrac43n,\lambda_{n-1}(e^{-2\tau C^{(t)}})\leq\nicefrac{{4}}{{3n}}, which implies that, by taking logs,

which proves the first part of the Lemma.

For the second part, we start by noticing that, for i∈S,i\in S, βi(t)≤72γ⋅\nicefractT≤72γ.\beta^{(t)}_{i}\leq 72\gamma\cdot\nicefrac{{t}}{{T}}\leq 72\gamma. Now for any bb-balanced cut U,U, with vol(U)≤vol(Uˉ),{\mathsf{vol}}(U)\leq{\mathsf{vol}}(\bar{U}), consider the vector xUx_{U} defined as

Applying the guarantee of Equation 1, we obtain

As vol(S)≤\nicefracb100⋅2m≤\nicefracvol(U)100,{\mathsf{vol}}(S)\leq\nicefrac{{b}}{{100}}\cdot 2m\leq\nicefrac{{{\mathsf{vol}}(U)}}{{100}}, we have ϕ(U)≥γ.\phi(U)\geq\gamma.

5.4 Proof of Lemma 5.7

Proof: Consider L∙D−1P2τ(β(t))=L∙D−\nicefrac12e−2τC(t)D−\nicefrac12.L\bullet D^{-1}P_{2\tau}(\beta{{}^{(t)}})=L\bullet D^{-\nicefrac{{1}}{{2}}}e^{-2\tau C^{(t)}}D^{-\nicefrac{{1}}{{2}}}. Using the cyclic property of trace and the definition of C(t),C^{(t)}, we have that

We now consider the spectrum of C(t).C^{(t)}. By Fact 5.13, the smallest eigenvalue is 0.0. Let the remaining eigenvalues be λ2≤λ3≤⋯≤λn.\lambda_{2}\leq\lambda_{3}\leq\cdots\leq\lambda_{n}. Then, C(t)∙e−2τC(t)=∑i=2nλie−2τλi.C^{(t)}\bullet e^{-2\tau C^{(t)}}=\sum_{i=2}^{n}\lambda_{i}e^{-2\tau\lambda_{i}}. We will analyze these eigenvalues in two groups. For the first group, we consider eigenvalues smaller than 24γ24\gamma and use Lemma 5.15, together with the fact that γ≥\nicefrac1n2:\gamma\geq\nicefrac{{1}}{{n^{2}}}:

For the remaining eigenvalues, we have, by Lemma 5.14::

Now, we apply the Johnson-Lindenstrauss Lemma (Lemma 5.18) to both sides of this inequality to obtain:

5.5 Proof of Corollary 5.9

Proof: By Lemma 5.7 and Theorem 5.8, we have that S(t)S^{(t)} w.h.p. is either cc-balanced or ∑i∈S(t)diRi∙X(t)≥\nicefrac23⋅L(KV)∙X(t).\sum_{i\in S^{(t)}}d_{i}R_{i}\bullet X^{(t)}\geq\nicefrac{{2}}{{3}}\cdot L(K_{V})\bullet X^{(t)}. By Lemma 5.18 and as \nicefrac1+ε1−ε≤\nicefrac43,\nicefrac{{1+\varepsilon}}{{1-\varepsilon}}\leq\nicefrac{{4}}{{3}}, we have w.h.p.:

5.6 Proof of Theorem 5.10

Proof: By Lemma 5.15 and the Golden-Thompson inequality in Lemma 5.17:

We now apply Lemma 5.16 to the second term under trace. To do this we notice that ∑i∈S(t)L(Si)⪯2L(KV)⪯2D,\sum_{i\in S^{(t)}}L(S_{i})\preceq 2L(K_{V})\preceq 2D, so that

Applying the cyclic property of trace, we get

Next, we use Fact 5.12 to replace L(Si)L(S_{i}) by RiR_{i} and notice that 288⋅\nicefracτγT=2:288\cdot\nicefrac{{\tau\gamma}}{{T}}=2:

Then, we apply the definition of Ψ(P(t),S):\Psi(P^{(t)},S):

Finally, by Corollary 5.9, we know that w.h.p. Ψ(P(t),S(t))≥\nicefrac12⋅Ψ(P(t),V)\Psi(P^{(t)},S^{(t)})\geq\nicefrac{{1}}{{2}}\cdot\Psi(P^{(t)},V) and the required result follows.

6 SDP Interpretation

In this case, the MMWU uses Equation 2 to produce a candidate solution Y(t+1)Y^{(t+1)} with lower objective value. Otherwise, FindCut is run on the embedding corresponding to Y(t).Y^{(t)}. By Theorem 5.8, this yields either a cut of the required balance or a dual certificate that Y(t)Y^{(t)} is infeasible. This certificate has the form

and is used by the update to construct the next candidate Y(t+1).Y^{(t+1)}. The number of iterations necessary is determined by the width of the two possible updates described above. A simple calculation shows that the width of the update for Equation 2 is Θ(1),\Theta(1), while for Equation 3, it is only O(γ).O(\gamma). Hence, the overall width is Θ(1),\Theta(1), implying that O(\nicefraclog⁡nγ)O(\nicefrac{{\log n}}{{\gamma}}) iteration are necessary for the algorithm of OV to produce a dual certificate that the SDP is infeasible and therefore no bb-balanced cut of conductance γ\gamma exists.

Our modification of the update is based on changing the starting candidate solutions from Y(1)∝D−1Y^{(1)}\propto D^{-1} to X(1)∝D−\nicefrac12e−2τD−\nicefrac12LD−\nicefrac12D−\nicefrac12.X^{(1)}\propto D^{-\nicefrac{{1}}{{2}}}e^{-2\tau D^{-\nicefrac{{1}}{{2}}}LD^{-\nicefrac{{1}}{{2}}}}D^{-\nicefrac{{1}}{{2}}}. In Lemma 5.6 and Lemma 5.7, we show that this modification implies that all X(t)X^{(t)} must now have L∙X(t)≤O(γ)⋅L(KV)∙X(t)L\bullet X^{(t)}\leq O(\gamma)\cdot L(K_{V})\bullet X^{(t)} or else we find a dual certificate that the SDP is infeasible. This additional guarantee effectively allows us to bypass the update of Equation 2 and only work with updates of the form given in Equation 3. As a result, our width is now O(γ)O(\gamma) and we only require O(log⁡n)O(\log n) iterations.

Another way to interpret our result is that all possible τ≊\nicefraclog⁡nγ\tau\approxeq\nicefrac{{\log n}}{{\gamma}} updates of the form of Equation 2 in the algorithm of OV are regrouped into a single step, which is performed at the beginning of the algorithm.

7 The FindCut Subroutine

Most of the material in this Section appears in or in . We reproduce it here in the language of this paper for completeness. The constants in these proofs are not optimized.

Moreover, by the definitions it is clear that

Combining these two equations, we obtain the required statement.

The following is a variant of the sweep cut argument of Cheeger’s inequality , tailored to ensure that a constant fraction of the variance of the embedding is contained inside the output cut.

We will also need the following simple fact.

7.2 Roundable Embeddings and Projections

The following definition of roundable embedding captures the case in which a vector embedding of the vertices VV highlights a balanced cut of conductance close to α\alpha in G.G. Intuitively, in a roundable embedding, a constant fraction of the total variance is spread over a large set RR of vertices.

Given an embedding {vi}i∈V\{v_{i}\}_{i\in V} with Gram matrix X,X, denote by Ψ\Psi the total variance of the embedding: Ψ=defL(KV)∙X.\Psi\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}L(K_{V})\bullet X. Also, let R={i∈V:∥vi−vavg∥2≤32⋅\nicefrac(1−b)b⋅Ψ2m}.R=\{i\in V:\left\lVert v_{i}-v_{\mathsf{avg}}\right\rVert^{2}\leq 32\cdot\nicefrac{{(1-b)}}{{b}}\cdot\frac{\Psi}{2m}\}. For α>0,\alpha>0, we say that {vi}i∈V\{v_{i}\}_{i\in V} is roundable for (G,b,α)(G,b,\alpha) if:

A roundable embedding can be converted into a balanced cut of conductance O(α)O(\sqrt{\alpha}) by using a standard projection rounding, which is a simple extension of an argument already appearing in and . The rounding procedure ProjRound is described in Figure 2 for completeness. It is analyzed in and , where the following theorem is proved.

7.3 Description of FindCut

In this subsection we describe the subroutine FindCut and prove Theorem 5.8.

Proof: By Markov’s inequality, vol(Rˉ)≤\nicefracb(32⋅(1−b))⋅2m≤\nicefracb16⋅2m≤\nicefrac132⋅2m.{\mathsf{vol}}(\bar{R})\leq\nicefrac{{b}}{{(32\cdot(1-b))}}\cdot 2m\leq\nicefrac{{b}}{{16}}\cdot 2m\leq\nicefrac{{1}}{{32}}\cdot 2m. By assumption, Case 1 cannot take place. If Case 2 holds, then the embedding is roundable: by Theorem 5.23, ProjCut outputs an Ω(b)\Omega(b)-balanced cut CC with conductance O(α).O(\sqrt{\alpha}). If this is not the case, we are in Case 3.

We then have L(KR)≤\nicefracΨ128L(K_{R})\leq\nicefrac{{\Psi}}{{128}} and, by Fact 5.19:

It must be the case that Rˉ=Sg\bar{R}=S_{g} for some g∈[n],g\in[n], with g≤zg\leq z as vol(Sg)≤vol(Sz).{\mathsf{vol}}(S_{g})\leq{\mathsf{vol}}(S_{z}). Let k≤zk\leq z be the the vertex in R‾\overline{R} such that ∑j=1kdjrj2≥\nicefrac34⋅(1−\nicefrac5128)\sum_{j=1}^{k}d_{j}r_{j}^{2}\geq\nicefrac{{3}}{{4}}\cdot(1-\nicefrac{{5}}{{128}}) and ∑j=kgdjrj2≥\nicefrac14⋅(1−\nicefrac5128).\sum_{j=k}^{g}d_{j}r_{j}^{2}\geq\nicefrac{{1}}{{4}}\cdot(1-\nicefrac{{5}}{{128}}). By the definition of z,z, we have k≤g<zk\leq g<z and rz2≤\nicefrac4b⋅\nicefracΨ2m≤8⋅\nicefrac(1−b)b⋅\nicefracΨ2m.r_{z}^{2}\leq\nicefrac{{4}}{{b}}\cdot\nicefrac{{\Psi}}{{2m}}\leq 8\cdot\nicefrac{{(1-b)}}{{b}}\cdot\nicefrac{{\Psi}}{{2m}}. Hence, we have rz≤\nicefrac12⋅ri,r_{z}\leq\nicefrac{{1}}{{2}}\cdot r_{i}, for all i≥g.i\geq g. Define the vector xx as xi=def(ri−rz)x_{i}\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}(r_{i}-r_{z}) for i∈Szi\in S_{z} and ri=def0r_{i}\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}0 for i∉Sz.i\notin S_{z}. Notice that:

Hence we can now apply Lemma 5.20 to the vector \nicefrac1Ψ⋅x.\nicefrac{{1}}{{\Psi}}\cdot x. This shows that there exists a sweep cut ShS_{h} with z>h≥k,z>h\geq k, such that ϕ(Sh)≤40⋅γ.\phi(S_{h})\leq 40\cdot\sqrt{\gamma}. It also shows that C,C, as defined in Figure 3, must exist. Moreover, it must be the case that Sk⊆Sh⊆C.S_{k}\subseteq S_{h}\subseteq C. As h≥k,h\geq k, we have

Computing exp⁡(−A)​v𝐴𝑣\exp(-A)v

Algorithms for Theorem 1.2, 1.3 and 3.2.

Theorem 1.2, 1.3 and 3.2 are based on a common algorithm we describe, called ExpRational (see Figure 5), which requires a procedure InvertA{\mathsf{Invert}}_{A} with the following guarantee: given a vector y,y, a positive integer kk and ε1>0,\varepsilon_{1}>0, InvertA(y,k,ε1){\mathsf{Invert}}_{A}(y,k,\varepsilon_{1}) returns a vector u1u_{1} such that, ∥(I+\nicefracAk)−1y−u1∥≤ε1∥y∥.\left\lVert(I+\nicefrac{{A}}{{k}})^{-1}y-u_{1}\right\rVert\leq\varepsilon_{1}\left\lVert y\right\rVert. The algorithms for the two theorems differ only in their implementation of InvertA.{\mathsf{Invert}}_{A}. We prove the following theorem about ExpRational.

Given a symmetric p.s.d. matrix A⪰0A\succeq 0, a vector vv with ∥v∥=1,\left\lVert v\right\rVert=1, an error parameter 0<δ≤10<\delta\leq 1 and oracle access to InvertA,{\mathsf{Invert}}_{A}, for parameters k=defO(log⁡\nicefrac1δ)k\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}O(\log\nicefrac{{1}}{{\delta}}) and ε1=defexp⁡(−Θ(klog⁡k+log⁡(1+∥A∥))),\varepsilon_{1}\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}\exp(-\Theta(k\log k+\log(1+\left\lVert A\right\rVert))), ExpRational computes a vector uu such that ∥exp⁡(−A)v−u∥≤δ\left\lVert\exp(-A)v-u\right\rVert\leq\delta, in time O(TA,k,ε1inv⋅k+n⋅k2+k3),O(T^{\text{inv}}_{A,k,\varepsilon_{1}}\cdot k+n\cdot k^{2}+k^{3}), where TA,k,ε1invT^{\text{inv}}_{A,k,\varepsilon_{1}} is the time required by InvertA(⋅,k,ε1).{\mathsf{Invert}}_{A}(\cdot,k,\varepsilon_{1}).

The proof of this theorem appears in Section 6.5. Theorem 1.2 will follow from the above theorem by using the Spielman-Teng SDD solver to implement the InvertA{\mathsf{Invert}}_{A} procedure (See Section 6.3.1). For Theorem 3.2, we combine the SDD solver with the Sherman-Morrison formula (for matrix inverse with rank 1 updates) to implement the InvertA{\mathsf{Invert}}_{A} procedure (See Section 6.4).

Algorithm for Theorem 1.4.

The procedure and proof for Theorem 1.4 is based on the well-known Lanczos method. We give a description of the Lanczos method (e.g. see ) in Figure 4 and give a proof of a well known theorem about the method that permits us to extend polynomial approximations for a function ff over reals to approximating ff over matrices (Theorem 6.7). Combining our result on polynomials approximating e−xe^{-x} from the upper bound in Theorem 7.1 with the theorem about the Lanczos method, we give a proof of the following theorem that immediately implies Theorem 1.4.

Given a symmetric p.s.d. matrix AA, a vector vv with ∥v∥=1\left\lVert v\right\rVert=1 and a parameter 0<δ≤10<\delta\leq 1, for

and f(x)=e−x,f(x)=e^{-x}, the procedure Lanczos computes a vector uu such that ∥exp⁡(−A)v−u∥≤∥exp⁡(−A)∥δ.\left\lVert\exp(-A)v-u\right\rVert\leq\left\lVert\exp(-A)\right\rVert\delta. The time taken by Lanczos is O((n+tA)k+k2)O\left((n+t_{A})k+k^{2}\right).

Note the k3k^{3} term in the running time for Theorem 6.1 and the k2k^{2} term in the running time for Theorem 6.2. This is the time required for computing the eigendecomposition of a (k+1)×(k+1)(k+1)\times(k+1) symmetric matrix. While this process requires O(k3)O(k^{3}) time in general, as in Theorem 6.1; in case of Theorem 6.2, the matrix is tridiagonal and hence the time required is O(k2)O(k^{2}) (see ).

Organization.

We first describe the Lanczos method and prove some of its properties in Section 6.1. Then, we give descriptions of the Lanczos and the ExpRational procedures in Section 6.2. Assuming Theorem 6.1, we give proofs of Theorem 1.2 and Theorem 3.2 in Section 6.3.1 and Section 6.4 respectively by implementing the respective InvertA{\mathsf{Invert}}_{A} procedures. Finally, we give the error analysis for ExpRational and a proof for Theorem 6.1 in Section 6.5.

1 Lanczos Method – From Scalars to Matrices

For a given positive integer k,k, the Lanczos method looks for an approximation to f(B)vf(B)v of the form p(B)v,p(B)v, where pp is a polynomial of degree k.k. Note that for any polynomial pp of degree at most k,k, the vector p(B)vp(B)v is a linear combination of the vectors {v,Bv,…,Bkv}\{v,Bv,\ldots,B^{k}v\}. The span of these vectors is referred to as the Krylov Subspace and is defined below.

Given a matrix BB and a vector vv, the Krylov subspace of order kk, denoted by K(B,v,k)\mathcal{K}(B,v,k), is defined as the subspace that is spanned by the vectors {v,Bv,…,Bkv}\{v,Bv,\ldots,B^{k}v\}.

Note that any vector in K(B,v,k)\mathcal{K}(B,v,k) has to be of the form p(B)vp(B)v, where pp is some degree kk polynomial. The Lanczos method starts by generating an orthonormal basis for K(B,v,k)\mathcal{K}(B,v,k). Let v0,…,vkv_{0},\ldots,v_{k} be any orthonormal basis for K(B,v,k),\mathcal{K}(B,v,k), and let VkV_{k} be the n×(k+1)n\times(k+1) matrix with {vi}i=0k\{v_{i}\}_{i=0}^{k} as its columns. Thus, Vk⊤Vk=IkV_{k}^{\top}V_{k}=I_{k} and VkVk⊤V_{k}V_{k}^{\top} denotes the projection onto the subspace. Also, let TkT_{k} be the operator BB in the basis {vi}i=0k,\{v_{i}\}_{i=0}^{k}, restricted to this subspace, i.e., Tk=defVk⊤BVk.T_{k}\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}V_{k}^{\top}BV_{k}. Since, all the vectors v,Bv,…,Bkvv,Bv,\ldots,B^{k}v are in the subspace, any of these vectors (or a linear combination of them) can be obtained by applying TkT_{k} to vv (after a change of basis), instead of BB. The following lemma proves this formally.

Let VkV_{k} be the orthonormal basis, and TkT_{k} be the operator BB restricted to K(B,v,k)\mathcal{K}(B,v,k) where ∥v∥=1\left\lVert v\right\rVert=1, i.e., Tk=Vk⊤BVkT_{k}=V_{k}^{\top}BV_{k}. Let pp be a polynomial of degree at most kk. Then,

Proof: Recall that VkVk⊤V_{k}V_{k}^{\top} is the orthogonal projection onto the subspace K(B,v,k)\mathcal{K}(B,v,k). By linearity, it suffices to prove this when pp is xtx^{t} for t≤kt\leq k. This is true for t=0t=0 since VkVk⊤v=vV_{k}V_{k}^{\top}v=v. For any j≤kj\leq k, BjvB^{j}v lies in K(B,v,k),\mathcal{K}(B,v,k), thus, ∀ j≤k, VkVk⊤Bjv=Bjv.\forall\ j\leq k,\ V_{k}V_{k}^{\top}B^{j}v=B^{j}v. Hence,

The following lemma shows that Vkf(Tk)Vk⊤vV_{k}f(T_{k})V_{k}^{\top}v approximates f(B)vf(B)v as well as the best degree kk polynomial that uniformly approximates ff. The proof is based on the observation that if we express ff as a sum of any degree kk polynomial and an error function, the above lemma shows that the polynomial part is exactly computed in this approximation.

Proof: Let pkp_{k} be any degree kk polynomial. Let rk=deff−pkr_{k}\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}f-p_{k}. Then,

Minimizing over pkp_{k} gives us our lemma.

Observe that in order to compute this approximation, we do not need to know the polynomial explicitly. It suffices to prove that there exists a degree kk polynomial that uniformly approximates ff well on an interval containing the spectrum of BB and TkT_{k} (For exact computation, Λ(Tk)⊆Λ(B)\Lambda(T_{k})\subseteq\Lambda(B).) Moreover, if k≪nk\ll n, the computation has been reduced to a much smaller matrix. We now show that an orthonormal basis for the Krylov Subspace, Vk,V_{k}, can be computed quickly and then describe the Lanczos procedure.

In this section, we show that if we construct the basis {vi}i=0k\{v_{i}\}_{i=0}^{k} in a particular way, the matrix TkT_{k} has extra structure. In particular, if BB is symmetric, we show that TkT_{k} must be tridiagonal. This will help us speed up the construction of the basis.

Suppose we compute the orthonormal basis {vi}i=0k\{v_{i}\}_{i=0}^{k} iteratively, starting from v0=vv_{0}=v: For i=0,…,ki=0,\ldots,k, we compute BviBv_{i} and remove the components along the vectors {v0,…,vi}\{v_{0},\ldots,v_{i}\} to obtain a new vector that is orthogonal to the previous vectors. This vector, scaled to norm 1, is defined to be vi+1.v_{i+1}. These vectors, by construction, satisfy that for all i≤k,i\leq k, Span{v0,…,vi}=Span{v,Bv,…,Bkv}.{\mathsf{Span}}\{v_{0},\ldots,v_{i}\}={\mathsf{Span}}\{v,Bv,\ldots,B^{k}v\}. Note that (Tk)ij=vi⊤Bvj.(T_{k})_{ij}=v_{i}^{\top}Bv_{j}.

If we construct the basis iteratively as above, Bvj∈Span{v0,…,vj+1}Bv_{j}\in{\mathsf{Span}}\{v_{0},\ldots,v_{j+1}\} by construction, and if i>j+1,i>j+1, viv_{i} is orthogonal to this subspace and hence vi⊤(Bvj)=0v_{i}^{\top}(Bv_{j})=0. Thus, TkT_{k} is Upper Hessenberg, i.e., (Tk)ij=0(T_{k})_{ij}=0 for i>j+1i>j+1.

Moreover, if BB is symmetric, vj⊤(Bvi)=vi⊤(Bvj),v_{j}^{\top}(Bv_{i})=v_{i}^{\top}(Bv_{j}), and hence TkT_{k} is symmetric and tridiagonal. This means that at most three coefficients are non-zero in each row. Thus, while constructing the basis, at step i+1i+1, it needs to orthonormalize BviBv_{i} only w.r.t. vi−1v_{i-1} and viv_{i}. This fact is used for efficient computation of Tk.T_{k}. The algorithm Lanczos appears in Figure 4 and the following meta-theorem summarizes the main result regarding this method.

Given a symmetric p.s.d. matrix BB, a vector vv with ∥v∥=1,\left\lVert v\right\rVert=1, a function ff and a positive integer parameter kk as inputs, the procedure Lanczos computes a vector uu such that,

Here Σk\Sigma_{k} denotes the set of all degree kk polynomials and Λ(B)\Lambda(B) denotes the spectrum of BB. The time taken by Lanczos is O((n+tB)k+k2).O\left((n+t_{B})k+k^{2}\right).

Proof: The algorithm Lanczos implements the Lanczos method we’ve discussed here. The guarantee on uu follows from Lemma 6.6 and the fact that Λ(Tk)⊆Λ(B)\Lambda(T_{k})\subseteq\Lambda(B). We use the fact that (Tk)ij=vi⊤Bvj(T_{k})_{ij}=v_{i}^{\top}Bv_{j} and that TkT_{k} must be tridiagonal to reduce our work to just computing O(k)O(k) entries in Tk.T_{k}. The total running time is dominated by kk multiplications of BB with a vector, O(k)O(k) dot-products and the eigendecomposition of the tridiagonal matrix TkT_{k} to compute f(Tk)f(T_{k}) (which can be done in O(k2)O(k^{2}) time ), giving a total running time of O((n+tB)k+k2).O\left((n+t_{B})k+k^{2}\right).

2 Procedures for Approximating exp⁡(−A)​v𝐴𝑣\exp(-A)v.

Having introduced the Lanczos method, we describe the algorithms we use for approximating the matrix exponential.

Theorem 1.4 follows from Theorem 6.2, which is proved by combining Theorem 6.7 about the approximation guarantee of the Lanczos algorithm and Theorem 7.1 (a more precise version of Theorem 1.5) about polynomials approximating e−x.e^{-x}. We now give a proof of Theorem 6.2.

Proof: We are given a matrix A,A, a unit vector vv and an error parameter δ\delta. Let pλn(A),λ1(A),\nicefracδ2(x)p_{\lambda_{n}(A),\lambda_{1}(A),\nicefrac{{\delta}}{{2}}}(x) be the polynomial given by Theorem 7.1 and let kk be its degree. We know from the theorem that pλn(A),λ1(A),\nicefracδ2(x)p_{\lambda_{n}(A),\lambda_{1}(A),\nicefrac{{\delta}}{{2}}}(x) satisfies sup⁡x∈[λn(A),λ1(A)]∣e−x−pλn(A),λ1(A),\nicefracδ2(x)∣≤\nicefracδ2⋅e−λn(A)\sup_{x\in[\lambda_{n}(A),\lambda_{1}(A)]}|e^{-x}-{p}_{\lambda_{n}(A),\lambda_{1}(A),\nicefrac{{\delta}}{{2}}}(x)|\leq\nicefrac{{\delta}}{{2}}\cdot e^{-\lambda_{n}(A)}, and that its degree is,

Now, we run the Lanczos procedure with the matrix A,A, the vector v,v, function f(x)=e−xf(x)=e^{-x} and parameter kk as inputs, and output the vector uu returned by the procedure. In order to prove the error guarantee, we use Theorem 6.7 and bound the error using the polynomial pλn(A),λ1(A),\nicefracδ2.p_{\lambda_{n}(A),\lambda_{1}(A),\nicefrac{{\delta}}{{2}}}. Let r(x)=defexp⁡(−x)−pλn(A),λ1(A),\nicefracδ2(x)r(x)\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}\exp(-x)-p_{\lambda_{n}(A),\lambda_{1}(A),\nicefrac{{\delta}}{{2}}}(x). We get,

By Theorem 6.7, the total running time is O((n+tA)k+k2).O((n+t_{A})k+k^{2}).

2.2 The ExpRational Algorithm.

Now we move on to applying the Lanczos method in a way that was suggested as a heuristic by Eshof and Hochbruck . The starting point here, is the following result by Saff, Schonhage and Varga , that shows that simple rational functions provide uniform approximations to e−xe^{-x} over [0,∞)[0,\infty) where the error term decays exponentially with the degree. Asymptotically, this result is best possible, see .

There exists constants c1≥1c_{1}\geq 1 and k0k_{0} such that, for any integer k≥k0k\geq k_{0}, there exists a polynomial Pk(x)P_{k}(x) of degree k−1k-1 such that,

Note that the rational function given by the above lemma can be written as a polynomial in (1+\nicefracxk)−1(1+\nicefrac{{x}}{{k}})^{-1}. The following corollary makes this formal.

1𝑥𝑘1(1+\nicefrac{{x}}{{k}})^{-1}) There exists constants c1≥1c_{1}\geq 1 and k0k_{0} such that, for any integer k≥k0k\geq k_{0}, there exists a polynomial pk⋆(x)p_{k}^{\star}(x) of degree kk such that pk⋆(0)=0,p_{k}^{\star}(0)=0, and,

Proof: Define pk⋆p^{\star}_{k} as pk⋆(t)=deftk⋅Pk(\nicefrackt−k),p_{k}^{\star}(t)\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}t^{k}\cdot P_{k}\left(\nicefrac{{k}}{{t}}-k\right), where PkP_{k} is the polynomial from Theorem 6.8. Note that since PkP_{k} is a polynomial of degree k−1k-1, pk⋆p^{\star}_{k} is a polynomial of degree kk with the constant term being zero, i.e., pk⋆(0)=0p_{k}^{\star}(0)=0. Also, for any k≥k0k\geq k_{0},

The corollary above inspires the application of the Lanczos method to obtain the ExpRational algorithm that appears in Figure 5. We would like to work with the function f(x)=ek(1−\nicefrac1x)f(x)=e^{k(1-\nicefrac{{1}}{{x}})} and the matrix B=def(I+\nicefracAk)−1B\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}(I+\nicefrac{{A}}{{k}})^{-1} for some positive integer kk and use the Lanczos method to compute approximation to exp⁡(−A)v\exp(-A)v in the Krylov subspace K(B,v,k)\mathcal{K}(B,v,k), for small kk. This is equivalent to looking for uniform approximations to exp⁡(−y)\exp(-y) that are degree kk polynomials in (1+\nicefracyk)−1.(1+\nicefrac{{y}}{{k}})^{-1}.

Unfortunately, we can’t afford to exactly compute the vector (I+\nicefracAk)−1y(I+\nicefrac{{A}}{{k}})^{-1}y for a given vector yy. Instead, we will resort to a fast but error-prone solver, e.g. the Conjugate Gradient method and the Spielman-Teng SDD solver (Theorem 6.10). Since the computation is now approximate, the results for Lanczos method no longer apply. Dealing with the error poses a significant challenge as the Lanczos method is iterative and the error can propagate quite rapidly. A significant new and technical part of the paper is devoted to carrying out the error analysis in this setting. The details appear in Section 6.5.

Moreover, due to inexact computation, we can no longer assume BB is symmetric. Hence, we perform complete orthonormalization while computing the basis {vi}i=0k.\{v_{i}\}_{i=0}^{k}. We also define the symmetric matrix T^k=def\nicefrac12⋅(Tk⊤+Tk)\widehat{T}_{k}\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}\nicefrac{{1}}{{2}}\cdot(T_{k}^{\top}+T_{k}) and compute our approximation using this matrix. The complete procedure ExpRational, with the exception of specifying the choice of parameters, is described in Figure 5. We give a proof of Theorem 6.1 in Section 6.5.

3 Exponentiating PSD Matrices – Proofs of Theorem 1.2 and 3.2

In this section, we give a proof of Theorem 1.2 and Theorem 1.3, assuming Theorem 6.1. Our algorithms for these theorems are based on the combining the ExpRational algorithm with appropriate InvertA{\mathsf{Invert}}_{A} procedures.

For Theorem 1.2 about exponentiating SDD matrices, we implement the InvertA{\mathsf{Invert}}_{A} procedure using the Spielman-Teng SDD solver . Here, we state an improvement on the Spielman-Teng result by Koutis, Miller and Peng .

Given a system of linear equations Mx=bMx=b, where the matrix MM is SDD, and an error parameter ε>0\varepsilon>0, it is possible to obtain a vector uu that is an approximate solution to the system, in the sense that

Proof: We use the ExpRational procedure to approximate the exponential. We only need to describe how to implement the InvertA{\mathsf{Invert}}_{A} procedure for an SDD matrix AA. Recall that the procedure InvertA{\mathsf{Invert}}_{A}, given a vector y,y, a positive integer kk and real parameter ε1>0,\varepsilon_{1}>0, is supposed to return a vector u1u_{1} such that ∥(I+\nicefracAk)−1y−u1∥≤ε1∥y∥,\left\lVert(I+\nicefrac{{A}}{{k}})^{-1}y-u_{1}\right\rVert\leq\varepsilon_{1}\left\lVert y\right\rVert, in time TA,k,ε1inv.T^{\text{inv}}_{A,k,\varepsilon_{1}}. Also, observe that this is equivalent to approximately solving the linear system (I+\nicefracAk)z=y(I+\nicefrac{{A}}{{k}})z=y for the vector z.z.

If the matrix AA is SDD, (I+\nicefracAk)(I+\nicefrac{{A}}{{k}}) is also SDD, and hence, we can use the Spielman-Teng SDD solver to implement InvertA{\mathsf{Invert}}_{A}. We use Theorem 6.10 with inputs (I+\nicefracAk),(I+\nicefrac{{A}}{{k}}), the vector yy and error parameter ε1.\varepsilon_{1}. It returns a vector u1u_{1} such that,

which gives us ∥(I+\nicefracAk)−1y−u1∥≤ε1∥y∥\left\lVert(I+\nicefrac{{A}}{{k}})^{-1}y-u_{1}\right\rVert\leq\varepsilon_{1}\left\lVert y\right\rVert, as required for InvertA{\mathsf{Invert}}_{A}. Thus, Theorem 6.1 implies that the procedure ExpRational computes a vector uu approximating e−Ave^{-A}v, as desired.

3.2 General PSD Matrices – Proof of Theorem 1.3

For Theorem 1.3 about exponentiating general PSD matrices, we implement the InvertA{\mathsf{Invert}}_{A} procedure using the Conjugate Gradient method. We use the following theorem.

Given a system of linear equations Mx=bMx=b and an error parameter ε>0\varepsilon>0, it is possible to obtain a vector uu that is an approximate solution to the system, in the sense that

The time required for this computation is O(tMκ(M)log⁡\nicefrac1ε),O\left(t_{M}\sqrt{\kappa(M)}\log\nicefrac{{1}}{{\varepsilon}}\right), – where κ(M)\kappa(M) denotes the condition number of MM.

Proof: We use the ExpRational procedure to approximate the exponential. We run the Conjugate Gradient method with the on input (I+\nicefracAk),(I+\nicefrac{{A}}{{k}}), the vector yy and error parameter ε1.\varepsilon_{1}. The method returns a vector u1u_{1} with the same guarantee as the SDD solver. As in Theorem 1.2, this implies ∥(I+\nicefracAk)−1y−u1∥≤ε1∥y∥\left\lVert(I+\nicefrac{{A}}{{k}})^{-1}y-u_{1}\right\rVert\leq\varepsilon_{1}\left\lVert y\right\rVert, as required for InvertA{\mathsf{Invert}}_{A}. Thus, Theorem 6.1 implies that the procedure ExpRational computes a vector uu approximating e−Ave^{-A}v, as desired.

We can compute u1u_{1} in time TA,k,ε1inv=O(tA1+\nicefrac1k⋅λ1(A)1+\nicefrac1k⋅λn(A)log⁡\nicefrac1ε1)=O(tA1+∥A∥log⁡\nicefrac1ε1),T^{\text{inv}}_{A,k,\varepsilon_{1}}=O\left(t_{A}\sqrt{\frac{1+\nicefrac{{1}}{{k}}\cdot\lambda_{1}(A)}{1+\nicefrac{{1}}{{k}}\cdot\lambda_{n}(A)}}\log\nicefrac{{1}}{{\varepsilon_{1}}}\right)=O\left(t_{A}\sqrt{1+\left\lVert A\right\rVert}\log\nicefrac{{1}}{{\varepsilon_{1}}}\right), and hence from Theorem 6.1, the total running time is

where the tilde hides polynomial factors in log⁡log⁡n\log\log n and log⁡log⁡\nicefrac1δ\log\log\nicefrac{{1}}{{\delta}}.

4 Beyond SDD - Proof of Theorem 3.2

In this section, we give a proof of Theorem 3.2, which we restate below.

Proof: In order to prove this, we will use the ExpRational procedure. For A=ΠHMHΠ,A=\Pi HMH\Pi, Lemma 6.15 given below implements the required InvertA{\mathsf{Invert}}_{A} procedure. A proof of this lemma is given later in this section.

Assuming this lemma, we prove our theorem by combining this lemma with Theorem 6.1 about the ExpRational procedure, we get that we can compute the desired vector uu approximating e−Ave^{-A}v in total time

where the tilde hides polynomial factors in log⁡log⁡n\log\log n and log⁡log⁡\nicefrac1δ.\log\log\nicefrac{{1}}{{\delta}}.

In order to prove Lemma 6.15, we need to show how to approximate the inverse of a matrix of the form HMH,HMH, where HH is diagonal and MM is SDD. The following lemma achieves this.

Proof: Observe that (HMH)−1y=H−1M−1H−1y.(HMH)^{-1}y=H^{-1}M^{-1}H^{-1}y. Use the SDD solver (Theorem 6.10) with inputs M,M, vector H−1yH^{-1}y and parameter ε1\varepsilon_{1} to obtain a vector u1u_{1} such that,

Return the vector u=defH−1u1.u\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}H^{-1}u_{1}. We can bound the error in the output vector uu as follows,

Proof: We sketch the proof idea first. Using the fact that ww is an eigenvector of our matrix, we will split yy into two components – one along ww and one orthogonal. Along w,w, we can easily compute the component of the required vector. Among the orthogonal component, we will write our matrix as the sum of I+\nicefrac1k⋅HMHI+\nicefrac{{1}}{{k}}\cdot HMH and a rank one matrix, and use the Sherman-Morrison formula to express its inverse. Note that we can use Lemma 6.15 to compute the inverse of I+\nicefrac1k⋅HMH.I+\nicefrac{{1}}{{k}}\cdot HMH. The procedure is described in Figure 6 and the proof for the error analysis is given below.

Let M1=def\nicefrac1k⋅HMH.M_{1}\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}\nicefrac{{1}}{{k}}\cdot HMH. Then, I+\nicefrac1k⋅ΠHMHΠ=I+ΠM1Π.I+\nicefrac{{1}}{{k}}\cdot\Pi HMH\Pi=I+\Pi M_{1}\Pi. Without loss of generality, we will assume that ∥y∥=1\left\lVert y\right\rVert=1. Note that I+ΠM1Π≻0,I+\Pi M_{1}\Pi\succ 0, and hence is invertible. Let z=defy−(w⊤y)wz\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}y-(w^{\top}y)w. Thus, w⊤z=0.w^{\top}z=0. Since ww is an eigenvector of (I+ΠM1Π)(I+\Pi M_{1}\Pi) with eigenvalue 1, we get,

Let’s say t=def(I+ΠM1Π)−1zt\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}(I+\Pi M_{1}\Pi)^{-1}z. Then, t+ΠM1Πt=zt+\Pi M_{1}\Pi t=z. Left-multiplying by w⊤w^{\top}, we get, w⊤t=w⊤z=0.w^{\top}t=w^{\top}z=0. Thus, Πt=t,\Pi t=t, and hence (I+ΠM1)t=z(I+\Pi M_{1})t=z, or equivalently, t=(I+ΠM1)−1z.t=(I+\Pi M_{1})^{-1}z.

Since we can write I+M1=I+HMH=H(H−2+M)H,I+M_{1}=I+HMH=H(H^{-2}+M)H, we can use Lemma 6.16 to estimate (I+M1)−1z(I+M_{1})^{-1}z and (I+M1)−1w(I+M_{1})^{-1}w. Using Equation (6), the procedure for estimating (I+ΠM1Π)−1x(I+\Pi M_{1}\Pi)^{-1}x is described in Figure 6.

We need to upper bound the error in the above estimation procedure. From the assumption, we know that β1=(I+M1)−1z−e1,\beta_{1}=(I+M_{1})^{-1}z-e_{1}, where ∥e1∥(I+M1)≤ε16(1+∥M1∥)∥(I+M1)−1z∥(I+M1)\left\lVert e_{1}\right\rVert_{(I+M_{1})}\leq\frac{\varepsilon_{1}}{6(1+\left\lVert M_{1}\right\rVert)}\left\lVert(I+M_{1})^{-1}z\right\rVert_{(I+M_{1})}, and β2=(I+M1)−1x−e2,\beta_{2}=(I+M_{1})^{-1}x-e_{2}, where ,∥e2∥(I+M1)≤ε16(1+∥M1∥)∥(I+M1)−1w∥(I+M1).,\left\lVert e_{2}\right\rVert_{(I+M_{1})}\leq\frac{\varepsilon_{1}}{6(1+\left\lVert M_{1}\right\rVert)}\left\lVert(I+M_{1})^{-1}w\right\rVert_{(I+M_{1})}. Combining Equations (5) and (6) and subtracting Equation (7), we can write the error as,

Let us first bound the scalar terms. Note that ∥z∥≤∥y∥=1.\left\lVert z\right\rVert\leq\left\lVert y\right\rVert=1.

Similarly, w⊤M1e2≤\nicefracε16⋅.w^{\top}M_{1}e_{2}\leq\nicefrac{{\varepsilon_{1}}}{{6}}\cdot. Also, M1(I+M1)−1⪰0M_{1}(I+M_{1})^{-1}\succeq 0 and hence w⊤M1(I+M1)−1w≥0w^{\top}M_{1}(I+M_{1})^{-1}w\geq 0. Thus,

5 Error Analysis for ExpRational

In this section, we give the proof of Theorem 6.1, except for the proof of a few lemmas, which have been presented in the Section 6.5.1 for better readability.

At a very high-level, the proof follows the outline of the proof for Lanczos method. We first show that assuming the error in computing the inverse is small, T^k\widehat{T}_{k} can be used to approximate small powers of B=(I+\nicefracAk)−1B=(I+\nicefrac{{A}}{{k}})^{-1} when restricted to the Krylov subspace, i.e. for all i≤k,i\leq k, ∥Biv−VkT^kiVk⊤v∥⪅ε2,\|B^{i}v-V_{k}\widehat{T}^{i}_{k}V_{k}^{\top}v\|\lessapprox\varepsilon_{2}, for some small ε2.\varepsilon_{2}.. This implies that we can bound the error in approximating p((I+\nicefracAk)−1)p((I+\nicefrac{{A}}{{k}})^{-1}) using p(T^k)p(\widehat{T}_{k}), by ε2∥p∥1,\varepsilon_{2}\left\lVert p\right\rVert_{1}, where pp is a polynomial of degree at most k.k. This is the most technical part of the error analysis because we need to capture the propagation of error through the various iterations of the algorithm. We overcome this difficulty by expressing the final error as a sum of kk terms, with the ithi^{\text{th}} term expressing how much error is introduced in the final candidate vector because of the error in the inverse computation during the ithi^{\text{th}} iteration. Unfortunately, the only way we know of bounding each of these terms is by tour de force. A part of this proof is to show that the spectrum of T^k\widehat{T}_{k} cannot shift far from the spectrum of B.B.

Proof: For notational convenience, define B=def(I+\nicefracAk)−1.B\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}(I+\nicefrac{{A}}{{k}})^{-1}. Since the computation of BviBv_{i} is not exact in each iteration, the eigenvalues of T^k\widehat{T}_{k} need not be eigenvalues of BB. Also, Lemma 6.5 no longer holds, i.e., we can’t guarantee that VkT^kte1V_{k}\widehat{T}_{k}^{t}e_{1} is identical to Btv0.B^{t}v_{0}. However, we can prove the following lemma that proves bounds on the spectrum of T^k\widehat{T}_{k} and also bounds the norm of the difference between the vectors VkT^kte1V_{k}\widehat{T}_{k}^{t}e_{1} and Btv0.B^{t}v_{0}. This is the most important and technically challenging part of the proof.

The coefficient matrix T^k\widehat{T}_{k} generated satisfies the following:

The eigenvalues of T^k\widehat{T}_{k} lie in [(1+λ1(A)k)−1−ε1k+1,(1+λn(A)k)−1+ε1k+1].\left[\left(1+\frac{\lambda_{1}(A)}{k}\right)^{-1}-\varepsilon_{1}\sqrt{k+1},\left(1+\frac{\lambda_{n}(A)}{k}\right)^{-1}+\varepsilon_{1}\sqrt{k+1}\right].

For any t≤kt\leq k, if ε1≤ε2/(8(k+1)\nicefrac52)\varepsilon_{1}\leq\varepsilon_{2}/(8(k+1)^{\nicefrac{{5}}{{2}}}) and ε2≤1\varepsilon_{2}\leq 1, we have, ∥Btv0−VkT^kte1∥≤ε2 .\left\lVert B^{t}v_{0}-V_{k}\widehat{T}_{k}^{t}e_{1}\right\rVert\leq\varepsilon_{2}\ .

Here is an idea of the proof of the above lemma: Since, during every iteration of the algorithm, the computation of BviBv_{i} is approximate, we will express BVkBV_{k} in terms of TkT_{k} and an error matrix EE. This will allow us to express T^k\widehat{T}_{k} in terms of TkT_{k} and a different error matrix. The first part of the lemma will follow immediately from the guarantee of the InvertA{\mathsf{Invert}}_{A} procedure.

For the Second part, we first express BVk−VkT^kBV_{k}-V_{k}\widehat{T}_{k} in terms of the error matrices defined above. Using this, we can write the telescoping sum BtVk−VkT^kt=∑j=1tBt−j(BVk−VkT^k)T^kj−1.B^{t}V_{k}-V_{k}\widehat{T}^{t}_{k}=\sum_{j=1}^{t}B^{t-j}(BV_{k}-V_{k}\widehat{T}_{k})\widehat{T}^{j-1}_{k}. We use triangle inequality and a tour de force calculation to bound each term. A complete proof is included in Section 6.5.1.

For any polynomial pp of degree at most kk, if ε1≤ε2/(2(k+1)\nicefrac32)\varepsilon_{1}\leq\varepsilon_{2}/(2(k+1)^{\nicefrac{{3}}{{2}}}) and ε2≤1\varepsilon_{2}\leq 1,

Using this corollary, we can prove an analogue of Lemma 6.6, giving error bounds on the procedure in terms of degree kk polynomial approximations. The proof is very similar and is based on writing ff as a sum of a degree kk polynomial and an error function.

Let VkV_{k} be the ortho-normal basis and T^k\widehat{T}_{k} be the matrix of coefficients generated by ExpRational. Let ff be any function such that f(B)f(B) and f(Tk)f(T_{k}) are defined. Define rk(x)=deff(x)−p(x).r_{k}(x)\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}f(x)-p(x). Then,

In order to control the second error term in the above lemma, we need to bounds the eigenvalues of T^k\widehat{T}_{k}, which is provided by Lemma 6.18.

For our application, f(t)=fk(t)=defexp⁡(k⋅(1−\nicefrac1t))f(t)=f_{k}(t)\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}\exp\left(k\cdot\left(1-\nicefrac{{1}}{{t}}\right)\right) so that fk((1+\nicefracxk)−1)=exp⁡(−x)f_{k}((1+\nicefrac{{x}}{{k}})^{-1})=\exp(-x). This function is discontinuous at t=0t=0. Under exact computation of the inverse, the eigenvalues of T^k\widehat{T}_{k} would be the same as the eigenvalues of BB and hence would lie in (0,1](0,1]. Unfortunately, due to the errors, the eigenvalues of T^k\widehat{T}_{k} could be outside the interval. Since ff is discontinuous at 0, and goes to infinity for small negative values, in order to get a reasonable approximation to ff, we will ensure that the eigenvalues of T^k\widehat{T}_{k} are strictly positive, i.e., ε1k+1<(1+\nicefrac1k⋅λ1(A))−1\varepsilon_{1}\sqrt{k+1}<(1+\nicefrac{{1}}{{k}}\cdot\lambda_{1}(A))^{-1}.

Given a polynomial pp of degree kk such that p(0)=0p(0)=0 and

we must have ∥p∥1≤(2k)k+1.\left\lVert p\right\rVert_{1}\leq(2k)^{k+1}.

This lemma is proven by expressing pp as the interpolation polynomial on the values attained by pp at the k+1k+1 points 0,\nicefrac1k,…,\nicefrackk,0,\nicefrac{{1}}{{k}},\ldots,\nicefrac{{k}}{{k}}, which allows us to express the coefficients in terms of these values. We can bound these values, and hence, the coefficients, since we know that pp isn’t too far from the exponential function. A complete proof is included in Section 6.5.1.

Corollary 6.9 shows that pk⋆(t)p_{k}^{\star}(t) is a good uniform approximation to e−\nicefrackt+ke^{-\nicefrac{{k}}{{t}}+k} over the interval (0,1](0,1]. Since Λ(B)⊆(0,1],\Lambda(B)\subseteq(0,1], this will help us help us bound the second error term in Equation (8). Since T^k\widehat{T}_{k} can have eigenvalues larger that 1, we need to bound the error in approximating fk(t)f_{k}(t) by pk⋆(t)p_{k}^{\star}(t) over an interval (0,β],(0,\beta], where β≥1\beta\geq 1. The following lemma, gives us the required error bound. This proof for this lemma bounds the error over [1,β][1,\beta] by applying triangle inequality and bounding the change in fkf_{k} and pp over [1,β][1,\beta] separately.

For any β≥1\beta\geq 1, any degree kk polynomial pp satisfies,

We bound the final error using the polynomial pk⋆p_{k}^{\star} in Equation (8). We will use the above lemma for β=def1+ε1k+1\beta\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}1+\varepsilon_{1}\sqrt{k+1} and assume that ε1k+1<(1+\nicefrac1k⋅λ1(A))−1.\varepsilon_{1}\sqrt{k+1}<(1+\nicefrac{{1}}{{k}}\cdot\lambda_{1}(A))^{-1}.

Given δ<1\delta<1, we plug in the following parameters,

where k0,c1k_{0},c_{1} are the constants given by Corollary 6.9. Note that these parameters satisfy the condition ε1k+1<(1+\nicefrac1k⋅λ1(A))−1\varepsilon_{1}\sqrt{k+1}<(1+\nicefrac{{1}}{{k}}\cdot\lambda_{1}(A))^{-1}. Corollary 6.9 implies that pk⋆(0)=0p_{k}^{\star}(0)=0 and

where the last inequality uses δ≤1≤c1\delta\leq 1\leq c_{1} and log⁡2x≤x,∀x≥0\log_{2}x\leq x,\forall x\geq 0. Thus, we can use Lemma 6.21 to conclude that ∥pk⋆∥1≤(2k)k+1.\left\lVert p_{k}^{\star}\right\rVert_{1}\leq(2k)^{k+1}.

We can simplify the following expressions,

Thus the total error ∥u−exp⁡(−A)v∥=∥f(B)v0−Vkf(T^k)e1∥≤(2k)k+1⋅2ε2+ε2+\nicefracδ4≤δ\left\lVert u-\exp(-A)v\right\rVert=\left\lVert f(B)v_{0}-V_{k}f(\widehat{T}_{k})e_{1}\right\rVert\leq(2k)^{k+1}\cdot 2\varepsilon_{2}+\varepsilon_{2}+\nicefrac{{\delta}}{{4}}\leq\delta.

Running Time.

The running time for the procedure is dominated by kk calls to the InvertA{\mathsf{Invert}}_{A} procedure with parameters kk and ε1\varepsilon_{1}, computation of at most k2k^{2} dot-products and the exponentiation of T^k\widehat{T}_{k}. The exponentiation of T^k\widehat{T}_{k} can be done in time O(k3)O(k^{3}) . Thus the total running time is O(TA,k,ε1inv⋅k+n⋅k2+k3).O(T^{\text{inv}}_{A,k,\varepsilon_{1}}\cdot k+n\cdot k^{2}+k^{3}). This completes the proof of the Theorem 6.1.

5.1 Remaining Proofs

In this section, we give the remaining proofs in Section 6.5.

The coefficient matrix T^k\widehat{T}_{k} generated satisfies the following:

The eigenvalues of T^k\widehat{T}_{k} lie in the interval [(1+λ1(A)k)−1−ε1k+1,(1+λn(A)k)−1+ε1k+1].\left[\left(1+\frac{\lambda_{1}(A)}{k}\right)^{-1}-\varepsilon_{1}\sqrt{k+1},\left(1+\frac{\lambda_{n}(A)}{k}\right)^{-1}+\varepsilon_{1}\sqrt{k+1}\right].

For any t≤kt\leq k, if ε1≤ε2/(8(k+1)\nicefrac52)\varepsilon_{1}\leq\varepsilon_{2}/(8(k+1)^{\nicefrac{{5}}{{2}}}) and ε2≤1\varepsilon_{2}\leq 1, we have, ∥Btv0−VkT^kte1∥≤ε2 .\left\lVert B^{t}v_{0}-V_{k}\widehat{T}_{k}^{t}e_{1}\right\rVert\leq\varepsilon_{2}\ .

Proof: Given a vector y,y, a positive integer kk and real parameter ε1>0,\varepsilon_{1}>0, InvertA(y,k,ε1){\mathsf{Invert}}_{A}(y,k,\varepsilon_{1}) returns a vector u1u_{1} such that ∥By−u1∥≤ε1∥y∥,\left\lVert By-u_{1}\right\rVert\leq\varepsilon_{1}\left\lVert y\right\rVert, in time TA,k,ε1inv.T^{\text{inv}}_{A,k,\varepsilon_{1}}. Thus, for each ii, the vector wiw_{i} satisfies ∥Bvi−wi∥≤ε1∥vi∥=ε1.\|Bv_{i}-w_{i}\|\leq\varepsilon_{1}\left\lVert v_{i}\right\rVert=\varepsilon_{1}. Also define uiu_{i} as ui=defBvi−wiu_{i}\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}Bv_{i}-w_{i}. Thus, we get, ∥ui∥≤ε1\left\lVert u_{i}\right\rVert\leq\varepsilon_{1}. Let EE be the n×(k+1)n\times(k+1) matrix with its columns being u0,…,uku_{0},\ldots,u_{k}. We can write the following recurrence,

Multiplying both sides of Equation (10) by Vk⊤V_{k}^{\top}, we get Tk=Vk⊤BVk−Vk⊤ET_{k}=V_{k}^{\top}BV_{k}-V_{k}^{\top}E. This implies,

Define E1=def\nicefrac12⋅(Vk⊤E+E⊤Vk)E_{1}\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}\nicefrac{{1}}{{2}}\cdot(V_{k}^{\top}E+E^{\top}V_{k}). Thus, using Equation (11), T^k=Vk⊤BVk−E1\widehat{T}_{k}=V^{\top}_{k}BV_{k}-E_{1}. Let us first bound the norm of E1E_{1}.

Since T^k=Vk⊤BVk−E1\widehat{T}_{k}=V_{k}^{\top}BV_{k}-E_{1}. We have,

(We use λmax⁡\lambda_{\max} and λmin⁡\lambda_{\min} for the largest and smallest eigenvalues of T^k\widehat{T}_{k} respectively in order to avoid confusion since T^k\widehat{T}_{k} is a (k+1)×(k+1)(k+1)\times(k+1) matrix and not an n×nn\times n matrix.)

First, let us compute BVk−VkT^kBV_{k}-V_{k}\widehat{T}_{k}.

We can bound the first term in Equation (14) as follows.

The second term in Equation (14) can be bounded as follows.

Combining Equations (14),(15) and (16), we get,

For any polynomial pp of degree at most kk, if ε1≤ε2/(2(k+1)\nicefrac32)\varepsilon_{1}\leq\varepsilon_{2}/(2(k+1)^{\nicefrac{{3}}{{2}}}) and ε2≤1\varepsilon_{2}\leq 1,

Proof: Suppose p(x)p(x) is the polynomial ∑t=0kat⋅xt,\sum_{t=0}^{k}a_{t}\cdot x^{t},

where the last inequality follows from the previous lemma as ε2,ε1\varepsilon_{2},\varepsilon_{1} satisfy the required conditions.

Let VkV_{k} be the orthonormal basis and T^k\widehat{T}_{k} be the matrix of coefficients generated by the above procedure. Let ff be any function such that f(B)f(B) and f(Tk)f(T_{k}) are defined. Then,

Proof: Let pp be any degree kk polynomial. Let rk=deff−pr_{k}\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}f-p. We express ff as p+rkp+r_{k} and use the previous lemma to bound the error in approximating p(B)v0p(B)v_{0} by Vkf(T^k)e1.V_{k}f(\widehat{T}_{k})e_{1}.

Given a polynomial pp of degree kk such that p(0)=0p(0)=0 and

we must have ∥p∥1≤(2k)k+1.\left\lVert p\right\rVert_{1}\leq(2k)^{k+1}.

Proof: We know that p(0)=0.p(0)=0. Interpolating at the k+1k+1 points t=0,\nicefrac1k,\nicefrac2k,…,1,t=0,\nicefrac{{1}}{{k}},\nicefrac{{2}}{{k}},\ldots,1, we can use Lagrange’s interpolation formula to give,

The above identity is easily verified by evaluating the expression at the interpolation points and noting that it is a degree kk polynomial agreeing with pp at k+1k+1 points. Thus, if we were to write p(x)=∑l=1kal⋅xlp(x)=\sum_{l=1}^{k}a_{l}\cdot x^{l} (note that a0=0a_{0}=0), we can express the coefficients ala_{l} as follows.

Applying triangle inequality, and noting that p(t)p(t) is a 1-uniform approximation to e−\nicefrackt+ke^{-\nicefrac{{k}}{{t}}+k} for t∈(0,1],t\in(0,1], we get,

For any β≥1\beta\geq 1, any degree kk polynomial pp satisfies,

Proof: Given a degree kk polynomial pp that approximates fkf_{k} over (0,1],(0,1], we wish to bound the approximation error over (0,β](0,\beta] for β≥1\beta\geq 1. We will split the error bound over (0,1](0,1] and [1,β][1,\beta]. Since we know that fk(1)−p(1)f_{k}(1)-p(1) is small, we will bound the error over [1,β][1,\beta] by applying triangle inequality and bounding the change in fkf_{k} and pp over [1,β][1,\beta] separately.

Let β>0\beta>0. First, let us calculate sup⁡t∈[1,β]∣p(t)−fk(t)∣.\sup_{t\in[1,\beta]}|p(t)-f_{k}(t)|.

Now, we can bound the error over the whole interval as follows.

In this section, we discuss uniform approximations to e−xe^{-x} and prove give a proof of Theorem 1.5 that shows the existence of polynomials that approximate e−xe^{-x} uniformly over the interval [a,b],[a,b], whose degree grows as b−a\sqrt{b-a} and also gives a lower bound stating that this dependence is necessary. We restate a more precise version of the theorem here for completeness.

Upper Bound. For every 0≤a<b,0\leq a<b, and a given error parameter 0<δ≤10<\delta\leq 1, there exists a polynomial pa,b,δ{p}_{a,b,\delta} that satisfies,

and has degree O(max⁡{log⁡2\nicefrac1δ,(b−a)⋅log⁡\nicefrac1δ}⋅(log⁡\nicefrac1δ)⋅log⁡log⁡\nicefrac1δ)O\left(\sqrt{\max\{\log^{2}\nicefrac{{1}}{{\delta}},(b-a)\cdot\log\nicefrac{{1}}{{\delta}}\}}\cdot\left(\log\nicefrac{{1}}{{\delta}}\right)\cdot\log\log\nicefrac{{1}}{{\delta}}\right).

Lower Bound. For every 0≤a<b0\leq a<b such that a+log⁡e4≤b,a+\log_{e}4\leq b, and δ∈(0,\nicefrac18],\delta\in(0,\nicefrac{{1}}{{8}}], any polynomial p(x)p(x) that approximates e−xe^{-x} uniformly over the interval [a,b][a,b] up to an error of δ⋅e−a,\delta\cdot e^{-a}, must have degree at least 12⋅b−a .\frac{1}{2}\cdot\sqrt{b-a}\ .

We first discuss a few preliminaries (Section 7.1) and discuss relevant results that were already known and compare our result to the existing lower bounds (Section 7.2). Finally, we give a proof of the upper bound in Theorem 1.5 in Section 7.3 and of the lower bound in Section 7.4. Readers familiar with standard results in approximation theory can skip directly to the proofs in Section 7.3 and 7.4.

1 Preliminaries

Given an interval [a,b],[a,b], we are looking for low-degree polynomials (or rational functions) that approximate the function e−xe^{-x} in the sup⁡\sup norm over the interval.

A function gg is called a δ\delta-approximation to a function ff over an interval I,\mathcal{I}, if, sup⁡x∈I∣f(x)−g(x)∣≤δ\sup_{x\in\mathcal{I}}|f(x)-g(x)|\leq\delta.

Such approximations are known as uniform approximations in approximation theory and have been studied quite extensively. We will consider both finite and infinite intervals I\mathcal{I}.

2 Known Approximation Results and Discussion.

Approximating the exponential is a classic question in Approximation Theory, see e.g. . We ask the following question:

Question: Given δ≤1\delta\leq 1 and a<b,a<b, what is the smallest degree of a polynomial that is an δ⋅e−a\delta\cdot e^{-a}-approximation to e−xe^{-x} over the interval [a,b][a,b]?

This qustion has been studied in the following form: Given λ,\lambda, what is the best low degree polynomial (or rational function) approximation to eλxe^{\lambda x} over $$? In a sense, these questions are equivalent, as is shown by the following lemma, proved using a linear shift of variables. A proof is included in Section 7.5.

For any non-negative integer kk and ll and real numbers b>a,b>a,

Using the above lemma, we can translate the known results to our setting. As a starting point, we could approximate e−xe^{-x} by truncating the Taylor series expansion of the exponential. We state the approximation achieved in the following lemma. A proof is included in Section 7.5.

The degree kk polynomial obtained by truncating Taylor’s expansion of e−te^{-t} around the point \nicefracb+a2\nicefrac{{b+a}}{{2}} is a uniform approximation to e−te^{-t} on the interval [a,b][a,b] up to an error of

which is smaller than δ⋅e−b+a2\delta\cdot e^{-\frac{b+a}{2}} for k≥max⁡{e2(b−a)2,log⁡\nicefrac1δ}k\geq\max\{\frac{e^{2}(b-a)}{2},\log\nicefrac{{1}}{{\delta}}\}

A lower bound is known in the case where the size of the interval is fixed, i.e., b−a=O(1).b-a=O(1).

In essence, this theorem states that if the size of the interval is fixed, the polynomials obtained by truncating the Taylor series expansion achieve asymptotically the least error possible and hence, the best asymptotic degree for achieving a δ⋅e−b+a2\delta\cdot e^{-\frac{b+a}{2}}-approximation. In addition, Saff also shows that if, instead of polynomials, we allow rational functions where the degree of the denominator is a constant, the degree required for achieving a δ⋅e−b+a2\delta\cdot e^{-\frac{b+a}{2}}-approximation changes at most by a constant.

These results indicate that tight bounds on the answer to our question should be already known. In fact, at first thought, the optimality of the Taylor series polynomials seems to be in contradiction with our results. However, note the two important differences:

The error in our theorem is e−a⋅δ,e^{-a}\cdot\delta, whereas, the Taylor series approximation involves error e−b+a2⋅δ,e^{-\frac{b+a}{2}}\cdot\delta, which is smaller, and hence requires larger degree.

If the length of the interval [a,b][a,b] grows unbounded (as is the case for our applications to the Balanced Separator problem in the previous sections), the main advantage of using polynomials from Theorem 7.1 is the improvement in the degree from linear in (b−a)(b-a) to b−a.\sqrt{b-a}.

3 Proof of Upper Bound in Theorem 1.5

In this section, we use Theorem 6.8 by Saff, Schonhage and Varga , rather, more specifically, Corollary 6.9 to give a proof of the upper bound result in Theorem 1.5. We restate Corollary 6.9 for completeness.

There exists constants c1≥1c_{1}\geq 1 and k0k_{0} such that, for any integer k≥k0k\geq k_{0}, there exists a polynomial pk⋆(x)p_{k}^{\star}(x) of degree kk such that pk⋆(0)=0,p_{k}^{\star}(0)=0, and,

Our approach is to compose the polynomial pk⋆p_{k}^{\star} given by Corollary 7.7 with polynomials approximating (1+\nicefracxk)−1(1+\nicefrac{{x}}{{k}})^{-1} , to construct polynomials approximating e−xe^{-x}. We first show the existence of polynomials approximating x−1,x^{-1}, and from these polynomials, we will derive approximations to (1+\nicefracxk)−1.(1+\nicefrac{{x}}{{k}})^{-1}.

Our goal is to find a polynomial qq of degree k,k, that minimizes sup⁡x∈[a,b]∣q(x)−\nicefrac1x∣.\sup_{x\in[a,b]}|q(x)-\nicefrac{{1}}{{x}}|. We slightly modify this optimization to minimizing sup⁡x∈[a,b]∣x⋅q(x)−1∣.\sup_{x\in[a,b]}|x\cdot q(x)-1|. Note that x⋅q(x)−1x\cdot q(x)-1 is a polynomial of degree k+1k+1 which evaluates to −1-1 at x=0,x=0, and conversely every polynomial that evaluates to −1-1 at can be written as x⋅q(x)−1x\cdot q(x)-1 for some qq. So, this is equivalent to minimizing sup⁡x∈[a,b]∣q1(x)∣\sup_{x\in[a,b]}|q_{1}(x)|, for a degree k+1k+1 polynomial q1q_{1} such that q1(0)=−1q_{1}(0)=-1. By scaling and multiplying by −1-1, this is equivalent to finding a polynomial q2,q_{2}, that maximizes q2(0),q_{2}(0), subject to sup⁡x∈[a,b]∣q2(x)∣≤1\sup_{x\in[a,b]}|q_{2}(x)|\leq 1. If we shift and scale the interval [a,b][a,b] to $$, the optimal solution to this problem is known to be given by the well known Chebyshev polynomials. We put all these ideas together to prove the following lemma. A complete proof is included in Section 7.5.

For every ε>0\varepsilon>0, b>a>0b>a>0, there exists a polynomial qa,b,ε(x)q_{a,b,\varepsilon}(x) of degree ⌈ balog⁡2ε ⌉\left\lceil\,{\sqrt{\frac{b}{a}}\log\frac{2}{\varepsilon}}\,\right\rceil such that sup⁡x∈[a,b]∣x⋅qa,b,ε(x)−1∣≤ε.\sup_{x\in[a,b]}|x\cdot q_{a,b,\varepsilon}(x)-1|\leq\varepsilon.

As a simple corollary, we can approximate (1+\nicefracxk)−1,(1+\nicefrac{{x}}{{k}})^{-1}, or rather generally, (1+νx)−1(1+\nu x)^{-1} for some ν>0,\nu>0, by polynomials. A proof is included in Section 7.5.

1𝜈𝑥1(1+\nu x)^{-1}) For every ν>0,ε>0\nu>0,\varepsilon>0 and b>a≥0b>a\geq 0, there exists a polynomial qν,a,b,ε⋆(x)q^{\star}_{\nu,a,b,\varepsilon}(x) of degree ⌈ 1+νb1+νalog⁡2ε ⌉\left\lceil\,{\sqrt{\frac{1+\nu b}{1+\nu a}}\log\frac{2}{\varepsilon}}\,\right\rceil such that sup⁡x∈[a,b]∣(1+νx)⋅qν,a,b,ε⋆(x)−1∣≤ε.\sup_{x\in[a,b]}|(1+\nu x)\cdot q^{\star}_{\nu,a,b,\varepsilon}(x)-1|\leq\varepsilon.

The above corollary implies that the expression (1+νx)⋅q⋆(1+\nu x)\cdot q^{\star} is within 1±ε1\pm\varepsilon on [a,b][a,b]. If ε\varepsilon is small, for a small positive integer tt, [(1+νx)⋅q⋆]t[(1+\nu x)\cdot q^{\star}]^{t} should be at most 1±O(tε).1\pm O(t\varepsilon). The following lemma, proved using the binomial theorem proves this formally. A proof is included in Section 7.5.

1𝜈𝑥𝑡(1+\nu x)^{-t}) For all real ε>0\varepsilon>0, b>a≥0b>a\geq 0 and positive integer tt; if tε≤1t\varepsilon\leq 1, then,

where qν,a,b,ε⋆q^{\star}_{\nu,a,b,\varepsilon} is the polynomial given by Corollary 7.9.

Given a polynomial pp of degree kk such that p(0)=0p(0)=0 and

we must have ∥p∥1≤(2k)k+1.\left\lVert p\right\rVert_{1}\leq(2k)^{k+1}.

We can now analyze the error in approximating e−xe^{-x} by the polynomial pk⋆(q⋆)p_{k}^{\star}(q^{\star}) and give a proof for Theorem 1.5.

Proof: Given δ≤1\delta\leq 1, let k=max⁡{k0,log⁡2\nicefrac4c1δ+2log⁡2log⁡2\nicefrac4c1δ}=O(log⁡\nicefrac1δ),k=\max\{k_{0},\log_{2}\nicefrac{{4c_{1}}}{{\delta}}+2\log_{2}\log_{2}\nicefrac{{4c_{1}}}{{\delta}}\}=O\left(\log\nicefrac{{1}}{{\delta}}\right), where k0,c1k_{0},c_{1} are the constants given by Corollary 7.7. Moreover, pk⋆p_{k}^{\star} is the degree kk polynomial given by Corollary 7.7, which gives, pk⋆(0)=0,p_{k}^{\star}(0)=0, and,

where the last inequality uses δ≤1≤c1\delta\leq 1\leq c_{1} and log⁡2x≤x,∀x≥0\log_{2}x\leq x,\forall x\geq 0. Thus, we can use Lemma 7.12 to conclude that ∥pk⋆∥1≤(2k)k+1.\left\lVert p_{k}^{\star}\right\rVert_{1}\leq(2k)^{k+1}.

Let ν=def\nicefrac1k\nu\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}\nicefrac{{1}}{{k}}. Define ε\varepsilon as ε=defδ2(2k)k+2.\varepsilon\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}\frac{\delta}{2(2k)^{k+2}}. Let pa,b,δ(x)=defe−a⋅pk⋆(qν,0,b−a,ε⋆(x−a)),p_{a,b,\delta}(x)\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}e^{-a}\cdot p^{\star}_{k}\left(q^{\star}_{\nu,0,b-a,\varepsilon}(x-a)\right), where qν,0,b−a,ε⋆q^{\star}_{\nu,0,b-a,\varepsilon} is the polynomial of degree ⌈ 1+ν(b−a)log⁡2ε ⌉\left\lceil\,{\sqrt{1+\nu(b-a)}\log\frac{2}{\varepsilon}}\,\right\rceil given by Corollary 7.9. Observe that pa,b,δ(x)p_{a,b,\delta}(x) is a polynomial of degree that is the product of the degrees of pk⋆p_{k}^{\star} and qν,0,b−a,ε⋆q^{\star}_{\nu,0,b-a,\varepsilon}, i.e., k⌈ 1+ν(b−a)log⁡2ε ⌉k\left\lceil\,{\sqrt{1+\nu(b-a)}\log\frac{2}{\varepsilon}}\,\right\rceil. Also note that kε<1k\varepsilon<1 and hence we can use Lemma 7.10. We show that pa,b,δp_{a,b,\delta} is a uniform δ\delta-approximation to e−xe^{-x} on the interval [a,b].[a,b].

The degree of the polynomial pa,b,δp_{a,b,\delta} is

4 Proof of Lower Bound in Theorem 1.5

In this section, we will use the following well known theorem of Markov from approximation theory to give a proof of the lower bound result in Theorem 1.5.

The idea is to first use uniform approximation bound to bound the value of the polynomial within the interval of approximation. Next, we use the approximation bound and the Mean Value theorem to show that there must exist a point tt in the interval where ∣p′(t)∣|p^{\prime}(t)| is large. We plug both these bounds into Markov’s theorem to deduce our lower bound.

Proof: Suppose pp is a degree kk polynomial that is a uniform approximation to e−xe^{-x} over the interval [a,b][a,b] up to an error of δ⋅e−a\delta\cdot e^{-a}. For any x∈[a,b],x\in[a,b], this bounds the values pp can take at x.x. Since pp is a uniform approximation to e−xe^{-x} over [a,b][a,b] up to an error of δ⋅e−a,\delta\cdot e^{-a}, we know that for all x∈[a,b],x\in[a,b], e−x−δ⋅e−a≤p(x)≤e−x+δ⋅e−a.e^{-x}-\delta\cdot e^{-a}\leq p(x)\leq e^{-x}+\delta\cdot e^{-a}. Thus, max⁡x∈[a,b]p(x)≤e−a+δ⋅e−a\max_{x\in[a,b]}p(x)\leq e^{-a}+\delta\cdot e^{-a} and min⁡x∈[a,b]p(x)≥e−b−δ⋅e−a.\min_{x\in[a,b]}p(x)\geq e^{-b}-\delta\cdot e^{-a}.

Assume that δ≤\nicefrac18,\delta\leq\nicefrac{{1}}{{8}}, and b≥a+log⁡e4≥a+log⁡e\nicefrac2(1−4δ).b\geq a+\log_{e}4\geq a+\log_{e}\nicefrac{{2}}{{(1-4\delta).}} Applying the Mean Value theorem on the interval [a,a+log⁡e\nicefrac2(1−4δ)],[a,a+\log_{e}\nicefrac{{2}}{{(1-4\delta)}}], we know that there exists t∈[a,a+log⁡e\nicefrac2(1−4δ)],t\in[a,a+\log_{e}\nicefrac{{2}}{{(1-4\delta)}}], such that,

We plug this in Markov’s theorem (Theorem 7.13) stated above to deduce,

where the second inequality uses δ≤\nicefrac18.\delta\leq\nicefrac{{1}}{{8}}.

5 Remaining Proofs

For any non-negative integer kk and ll and real numbers b>a,b>a,

Proof: Using the substitution t=def(b+a)2−(b−a)2x,t\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}\frac{(b+a)}{2}-\frac{(b-a)}{2}x,

The degree kk polynomial obtained by truncating Taylor’s expansion of e−te^{-t} around the point \nicefracb+a2\nicefrac{{b+a}}{{2}} is a uniform approximation to e−te^{-t} on the interval [a,b][a,b] up to an error of

which is smaller than δ\delta for k≥max⁡{e2(b−a)2,log⁡\nicefrac1δ}k\geq\max\{\frac{e^{2}(b-a)}{2},\log\nicefrac{{1}}{{\delta}}\}

Proof: Let qk(t)q_{k}(t) be the degree kk Taylor approximation of the function e−te^{-t} around the point \nicefrac(b+a)2,\nicefrac{{(b+a)}}{{2}}, i.e., qk(t)=defe−(b+a)2∑i=0k1i!(t−(b+a)2)i.q_{k}(t)\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}e^{-\frac{(b+a)}{2}}\sum_{i=0}^{k}\frac{1}{i!}\left(t-\frac{(b+a)}{2}\right)^{i}.

Using the inequality i!>(ie)i,i!>\left(\frac{i}{e}\right)^{i}, for all i,i, and assuming k≥e2(b−a)2,k\geq\frac{e^{2}(b-a)}{2}, we get,

which is smaller than δ\delta for k≥log⁡\nicefrac1δk\geq\log\nicefrac{{1}}{{\delta}}.

For every ε>0\varepsilon>0, b>a>0b>a>0, there exists a polynomial qa,b,ε(x)q_{a,b,\varepsilon}(x) of degree ⌈ balog⁡2ε ⌉\left\lceil\,{\sqrt{\frac{b}{a}}\log\frac{2}{\varepsilon}}\,\right\rceil such that

Proof: If Tk+1(x)T_{k+1}(x) denotes the degree k+1k+1 Chebyshev polynomial, consider the function,

First, we need to prove that the above expression is a polynomial. Clearly 1−Tk+1(b+a−2xb−a)Tk+1(b+ab−a)1-\frac{T_{k+1}\left(\frac{b+a-2x}{b-a}\right)}{T_{k+1}\left(\frac{b+a}{b-a}\right)} is a polynomial and evaluates to 0 at x=0x=0. Thus, it must have xx as a factor. Thus qa,b,εq_{a,b,\varepsilon} is a polynomial of degree kk. Let κ=\nicefracba\kappa=\nicefrac{{b}}{{a}} and note that κ>1\kappa>1. Thus,

for k=⌈ κlog⁡2ε ⌉k=\left\lceil\,{\sqrt{\kappa}\log\frac{2}{\varepsilon}}\,\right\rceil. The first inequality follows from the fact that ∣Tk+1(x)∣≤1|T_{k+1}(x)|\leq 1 for all ∣x∣≤1|x|\leq 1.

For every ν>0,ε>0\nu>0,\varepsilon>0 and b>a≥0b>a\geq 0, there exists a polynomial qν,a,b,ε⋆(x)q^{\star}_{\nu,a,b,\varepsilon}(x) of degree ⌈ 1+νb1+νalog⁡2ε ⌉\left\lceil\,{\sqrt{\frac{1+\nu b}{1+\nu a}}\log\frac{2}{\varepsilon}}\,\right\rceil such that

Proof: Consider the polynomial qν,a,b,ε⋆(x)=defq1+νa,1+νb,ε(1+νx),q^{\star}_{\nu,a,b,\varepsilon}(x)\stackrel{{\scriptstyle\text{\tiny def}}}{{=}}q_{1+\nu a,1+\nu b,\varepsilon}\left(1+\nu x\right), where q1+νa,1+νb,εq_{1+\nu a,1+\nu b,\varepsilon} is given by the previous lemma.

Since 1+νx1+\nu x is a linear transformation, the degree of qν,a,b,ε⋆q^{\star}_{\nu,a,b,\varepsilon} is the same as that of q1+νa,1+νb,εq_{1+\nu a,1+\nu b,\varepsilon} , which is, ⌈ 1+νb1+νalog⁡2ε ⌉.\left\lceil\,{\sqrt{\frac{1+\nu b}{1+\nu a}}\log\frac{2}{\varepsilon}}\,\right\rceil.

For all real ε>0\varepsilon>0, b>a≥0b>a\geq 0 and positive integer tt; if tε≤1t\varepsilon\leq 1, then,

where qν,a,b,ε⋆q^{\star}_{\nu,a,b,\varepsilon} is the polynomial given by Corollary 7.9.

Proof: We write the expression (1+νx)⋅qν,a,b,ε⋆(x)(1+\nu x)\cdot q^{\star}_{\nu,a,b,\varepsilon}(x) as 1 plus an error term and then use the Binomial Theorem to expand the ttht^{\text{th}} power.

where the second last inequality uses ex≤1+x+x2e^{x}\leq 1+x+x^{2} for x∈.x\in. For x∈x\in, ex=∑i≥0xii!=1+x+x2(12!+x3!+…)≤1+x+x2(12+x22+x23+…)≤1+x+x2e^{x}=\sum_{i\geq 0}\frac{x^{i}}{i!}=1+x+x^{2}\left(\frac{1}{2!}+\frac{x}{3!}+\ldots\right)\leq 1+x+x^{2}\left(\frac{1}{2}+\frac{x}{2^{2}}+\frac{x}{2^{3}}+\ldots\right)\leq 1+x+x^{2}

References