On Solving Linear Systems in Sublinear Time
Abstract
We study sublinear algorithms that solve linear systems locally. In the classical version of this problem the input is a matrix and a vector in the range of , and the goal is to output satisfying . For the case when the matrix is symmetric diagonally dominant (SDD), the breakthrough algorithm of Spielman and Teng [STOC 2004] approximately solves this problem in near-linear time (in the input size which is the number of non-zeros in ), and subsequent papers have further simplified, improved, and generalized the algorithms for this setting.
Here we focus on computing one (or a few) coordinates of , which potentially allows for sublinear algorithms. Formally, given an index together with and as above, the goal is to output an approximation for , where is a fixed solution to .
Our results show that there is a qualitative gap between SDD matrices and the more general class of positive semidefinite (PSD) matrices. For SDD matrices, we develop an algorithm that approximates a single coordinate in time that is polylogarithmic in , provided that is sparse and has a small condition number (e.g., Laplacian of an expander graph). The approximation guarantee is additive for accuracy parameter . We further prove that the condition-number assumption is necessary and tight.
In contrast to the SDD matrices, we prove that for certain PSD matrices , the running time must be at least polynomial in . This holds even when one wants to obtain the same additive approximation, and has bounded sparsity and condition number.
1 Introduction
Solving linear systems is a fundamental problem in many areas. A basic version of the problem has as input a matrix and a vector , and the goal is to find such that . The fastest known algorithm for general is by a reduction to matrix multiplication, and takes time, where [Gal14] is the matrix multiplication exponent. When is sparse, one can do better (by applying the conjugate gradient method to the equivalent positive semidefinite (PSD) system , see for example [Spi10]), namely, time where is the number of non-zeros in . Note that this bound for exact solvers assumes exact arithmetic, and in practice, one seeks fast approximate solvers.
One interesting subclass of PSD matrices is that of symmetric diagonally dominant (SDD) matrices.11 1 A symmetric matrix is called SDD if for all . Many applications require solving linear systems in SDD matrices, and most notably their subclass of graph-Laplacian matrices, see e.g. [Spi10, Vis13, CKM+14]. Solving SDD linear systems received a lot of attention in the past decade after the breakthrough result by Spielman and Teng in 2004 [ST04], showing that a linear system in SDD matrix can be solved approximately in near-linear time , where and is an accuracy parameter. A series of improvements led to the state-of-the-art SDD solver of Cohen et al. [CKM+14] that runs in near-linear time . Recent improvements extend to connection Laplacians [KLP+16]. Obtaining similar results for all PSD matrices remains a major open question.
Motivated by fast linear-system solvers in alternative models, here we study which linear systems can be solved in sublinear time. We can hope for such sublinear times if only one (or a few) coordinates of the solution are sought. Formally, given a matrix , a vector , and an index , we want to approximate the coordinate of a solution to the linear system (assume for now the solution is unique), and we want the running time to be sublinear in .
Our main contribution is a qualitative separation between the class of SDD matrices and the larger class of PSD matrices, as follows. For well-conditioned SDD matrices , we develop a (randomized) algorithm that approximates a single coordinate fast — in time. In contrast, for some well-conditioned PSD (but not SDD) matrices , we show that the same task requires time. In addition, we justify the dependence on the condition number.
Our study is partly motivated by the advent of quantum algorithms that solve linear systems in sublinear time, which were introduced in [HHL09], and subsequently improved in [Amb12, CKS17], and meanwhile used for a number of (quantum) machine learning algorithms (see, e.g., the survey [DHM+18]). In particular, [HHL09] consider the system given: (1) oracle access to entries of (including fast access to the -th non-zero entry in the -th row), and (2) a fast black-box procedure to prepare a quantum state . Then, if the matrix has condition number , at most non-zeros per row/column, and , their quantum algorithm runs in time , and outputs a quantum state within -distance from . The runtime was later improved in [CKS17] to depend logarithmically on . (The original goal of [HHL09] was different — to output a “classical” value, a linear combination of — and for this goal the improved dependence on is not possible unless .) These quantum sublinear-time algorithms raise the question whether there are analogues classical algorithms for the same problems; for example, a very recent success story is a classical algorithm [Tan18] for a certain variant of recommendation systems, inspired by an earlier quantum algorithm [KP17]. Our lower bound precludes a classical analogue to the aforementioned linear-system solver, which works for all matrices and in particular for PSD ones.
Problem Formulation.
To formalize the problem, we need to address a common issue for linear systems — they may be underdetermined and thus have many solutions , which is a nuissance when solving for a single coordinate. We require that the algorithm approximates a single solution , in the sense that invoking the algorithm with different indices will output coordinates that are all consistent with one “global” solution. This formulation follows the concept of Local Computation Algorithms, see Section 1.3.
Formally, given a matrix , a vector in the range (column space) of , and an accuracy parameter , there exists satisfying , such that upon query the (randomized) algorithm outputs that satisfies
| (1) |
This guarantee corresponds (modulo amplification of the success probability) to finding a solution with . We remark that the guarantee in [ST04] is different, that where .
Basic Notation.
Given a (possibly edge-weighted) undirected graph , we assume for convenience . Its Laplacian is the matrix , where is the (weighted) adjacency matrix of , and is the diagonal matrix of (weighted) degrees in . It is well-known that all Laplacians are SDD matrices, which in turn are always PSD.
The sparsity of a matrix is the maximum number of non-zero entries in a single row/column. The condition number of a PSD matrix , denoted , is the ratio between its largest and smallest non-zero eigenvalues.22 2 Our definition is in line with the standard one, for a general matrix , which uses singular values instead of eigenvalues. If is singular, one could alternatively define , which would only make the problem simpler (it becomes easier to be linear in ), see e.g. [Spi10]. For example, for the Laplacian of a -regular graph , let denote its eigenvalues, then the condition number is . This follows from two well-known facts, that , and that if is connected ( is called the spectral gap). Throughout, denotes the spectral norm of a matrix , and denotes the Moore-Penrose pseudo-inverse of .33 3 For a PSD matrix , let its eigen-decomposition be , then the Moore-Penrose pseudo-inverse of is .
1.1 Our Results
Below we describe our results, which include both algorithms and lower bounds. First, we present a polylogarithmic-time algorithm for the simpler case of Laplacian matrices, and then we generalize it to all SDD matrices. We further prove two lower bounds, which show that our algorithms cannot be substantially improved to handle more general inputs or to run faster. The first lower bound shows that general PSD matrices require polynomial time, thereby showing a strong separation from the SDD case. The second one shows that our SDD algorithm’s dependence on the condition number is necessary and in fact near-tight.
Algorithm for Laplacian matrices.
We first present our simpler algorithm for linear systems in Laplacians with a bounded condition number.
Theorem 1.1 (Laplacian Solver, see Section 2).
There exists a randomized algorithm, that given input , where
- •
is a connected -regular graph given as an adjacency list,
- •
is in the range of (equivalently, orthogonal to the all-ones vector),
- •
, , and
- •
is an upper bound on the condition number ,
the algorithm outputs with the following guarantee. If satisfies then
and the algorithm runs in time , for suitable .
A few extensions of the theorem follow easily from our proof. First, if the algorithm is given also an upper bound on , then the expression for can be refined by replacing with . Second, we can improve the runtime to whenever the representation of allows to sample a uniformly random neighbor of a vertex in constant time. Third, the algorithm has an (essentially) cubic dependence on the condition number , which can be improved to quadratic if we allow a preprocessing of (or, equivalently if we only count the number of probes into ). Later we show that this quadratic dependence is near-optimal.
Algorithm for SDD matrices.
We further design an algorithm for SDD matrices with bounded condition number. The formal statement appears in Theorem 5.1 and is a natural generalization of Theorem 1.1 with two differences. One difference is that a natural solution to the system is , but our method requires to have normalized diagonal entries, and thus we aim at another solution , construed as follows. Define
| (2) |
then our linear system can be written as , which has a solution
| (3) |
that is expressed using the pseudo-inverse of , rather than of .
A second difference is that Theorem 5.1 makes no assumptions about the multiplicity of the eigenvalue of , e.g., if is a graph Laplacian, then the graph need not be connected. The assumptions needed to achieve a polylogarithmic time, beyond having a bounded condition number, are only that a random “neighbor” in the graph corresponding to can be sampled quickly, and that , which holds if has polynomially-bounded entries.
Lower Bound for PSD matrices.
Our first lower bound shows that the above guarantees cannot be obtained for a general PSD matrix, even if we are allowed to preprocess the matrix , and only count probes into . The proof employs a PSD matrix that is invertible (i.e., positive definite), in which case the linear system has a unique solution .
Theorem 1.2 (Lower Bound for PSD Systems, see Section 3).
For every large enough , there exists an invertible PSD matrix with uniformly bounded sparsity and condition number , and a distinguished index , with the following property. Every randomized algorithm that, given as input , outputs satisfying
where , must probe coordinates of (in the worst case).
Dependence on Condition Number.
The second lower bound shows that our SDD algorithm has a near-optimal dependence on the condition number of , even if we are allowed to preprocess the matrix S, and only count probes into . The lower bound holds even for Laplacian matrices.
Theorem 1.3 (Lower Bound for Laplacian Systems, see Section 4).
For every large enough and , there exist an unweighted graph with maximum degree and whose Laplacian has condition number , and an edge in , which satisfy the following. Every randomized algorithm that, given input in the range of , succeeds with probability to approximate within additive error for , where is any solution to , must probe coordinates of (in the worst case).
Applications.
An example application of our algorithmic results is computing the effective resistance between a pair of vertices in a graph (given , and as input). It is well known that the effective resistance, denoted , can be expressed as , where solves . The spectral-sparsification algorithm of Spielman and Srivastava [SS11] relies on a near-linear time algorithm (that they devise) for approximating the effective resistances of all edges in . For unweighted graphs, there is also a faster algorithm [Lee14] that runs in time , which is sublinear in the number of edges, and approximates effective resistances within a larger factor . In a -regular expander , the effective resistance between every two vertices is , and our algorithm in Theorem 1.1 can quickly compute an arbitrarily good approximation (factor ). Indeed, observe that we can use , hence the runtime is , independently of . The additive accuracy is ; in fact, each is the potential difference between and when a potential difference of is imposed between and , thus , and hence with high probability the output actually achieves a multiplicative guarantee .
1.2 Technical Outline
Algorithms.
Our basic technique relies on a classic idea of von Neumann and Ulam [FL50, Was52] for estimating a matrix inverse by a power series; see Section 1.3 for a discussion of related work. Our starting point is the identity
(Recall that denotes the spectral norm of a matrix .) Now given a Laplacian of a -regular graph , observe that , where is the adjacency matrix of . Assume for a moment that ; then by the above identity, , and the solution of the linear system would be . The point is that the summands decay exponentially because . Therefore, we can estimate using the first terms, i.e., , where is logarithmic (with base ). In order to compute each term , observe that is exactly the probability that a random walk of length starting at will end at vertex . Thus, if we perform a random walk of length starting at , and let be its (random) end vertex, then
If we perform several random walks (specifically, walk suffice), average the resulting ’s, and then multiply by , then with high probability, we will obtain a good approximation to .
As a matter of fact, we have a non-strict inequality , because of the all-ones vector . Nevertheless, we can still get a meaningful result if all eigenvalues of except for the largest one are smaller than (equivalently, the graph is connected). First, we get rid of any negative eigenvalues by the standard trick of considering instead of , which is equivalent to adding self-loops at every vertex. We may assume is orthogonal to (otherwise the linear system has no solution), hence the linear system has infinitely many solutions, and since is PSD, we can aim to estimate the specific solution by . Indeed, the idealized analysis above still applies by restricting all our calculations to the subspace orthogonal to . This is carried out in Theorem 1.1.
To generalize the above approach to SDD matrices, we face three issues. First, due to the irregularity of general SDD matrices, it is harder to properly define the equivalent random walk matrix. We resolve this by normalizing the SDD matrix into defined in (2), and solving the equivalent (normalized) system . Second, general SDD matrices can have positive off-diagonal elements, in constrast to the Laplacians. To address this, we interpret such entries as negative-weight edges, and employ random walks that “remember” the signs of the traversed edges. Third, diagonal elements may strictly dominate their row, which we address by terminating the random walk early with some positive probability.
Lower Bound: Polynomial Time for PSD Matrices.
We first discuss our lower bound for PSD matrices, which is one of the main contributions of our work. The goal is to exhibit a matrix for which estimating a coordinate of the solution requires probes into the input .
Without the sparsity constraint on , one can deduce such a lower bound via a reduction to the communication complexity of the Vector in Subspace Problem (VSP), in which Alice has an -dimensional subspace , Bob has a vector , and their goal is to determine whether or . The randomized communication complexity of this promise problem is between [KR11] and [Raz99] (while for quantum communication it is ). To reduce this problem to linear-system solvers, let be the projection operator onto the subspace , and set . Consider the system , and note that Alice knows and Bob has . It is easy to see that the unique solution is either or , depending on whether or . Alice and Bob could use a solver that makes few probes to , as follows. Bob would pick an index that maximizes (and thus also ), and send it to Alice. She would then apply the solver, receiving from Bob only a few entries of , to estimate within additive error , which suffices to distinguish the two cases. This matrix is PSD with condition number . However it is dense.
We thus revert to a different approach of proving it from basic principles. Our high-level idea is to take a -regular expander and assign its edges with signs () that are random but balanced everywhere (namely, at every vertex, the incident edges are split evenly between positive and negative). The signed adjacency matrix should have spectral norm , and then instead of the (signed) Laplacian , we consider , which is PSD with condition number , as well as invertible and sparse. Now following similar arguments as in our algorithm, we can write as a power series of the matrix , and express coordinate of the solution via where is the (random) end vertex of a random walk that starts at and its length is bounded by some (performed in the “signed” graph corresponding to ). Now if the graph around looks like a tree (e.g., it has high girth), then not-too-long walks are highly symmetric and easy to count. We now let be non-zero only at vertices at distance exactly from , and for these vertices is set to or at random but with a small bias towards one of the values. Some calculations show that , and consequently , will be according to our bias (with high probability), however discovering this via probes to is essentially the problem of learning a biased coin, which requires coin observations. An additional technical obstacle is to prove that the solution has a small -norm, so that we can argue that an -additive error to will not change its sign. Overall, we show we can set and , thus concluding that the algorithm must observe entries of .
It is instructive to ask where in the above argument is it crucial to have , because if it were also valid for , in which case the matrix is SDD, then it would contradict our own algorithm for SDD matrices. The answer is that is required to bound , specifically in the analysis that follows immediately after Eqn. (10).
Lower Bound: Quadratic Dependence on Condition Number.
We now outline the ideas to prove the lower bound even for Laplacian systems with condition number . First we note that it is relatively straight-forward to prove that a linear dependence on the condition number is necessary. Namely, consider a dumbbell graph (two 3-regular expanders connected by a bridge edge ), for which we need to estimate . For defined as , the value of will be non-zero iff vertices are on the opposite sides of the bridge. To determine the latter, one requires queries into . Since this graph has a condition number of , we obtain an lower bound.
The quadratic lower bound requires both a different graph and a different distribution over . We use the following graph with condition number : take two 3-regular expanders and connect them with edges (“bridge edges”). The vector will be dense and in particular it is either: 1) balanced, i.e., on each expander is zero, or 2) unbalanced, i.e., each is chosen with a bias towards on the first expander, and towards on the second one. Now, as above, it is simple to prove that on average over the bridge edges : 1) in the balanced case, the average of must be zero, and 2) in the unbalanced case, the average must be . However, the main challenge is that the actual values may differ from the average — e.g., even in the balanced case, each bridge edge will likely have non-zero value of . Nonetheless, we manage to prove an upper bound on the maximum value of over all edges (as in the previous lower bound, we need to bound as well). For the latter, we need to again analyze where is the endpoint of a random walk of some fixed length starting from in the graph . Since the vector is not symmetric over the graph , a direct analysis seems hard — instead we estimate via a coupling of such walks in with random walks in an expander, which is amenable to a direct analysis.
1.3 Related Work
The idea of approximating the inverse (for ) by random walks dates back to von Neumann and Ulam [FL50, Was52]. While we approximate each power by separate random walks of length and truncate the tail (powers above some ), their method employs random walks whose length is random and whose expectation gives exactly the infinite sum, achieved by assigning some probability to terminate the walk at each step, and weighting the contributions of the walks accordingly (to correct the expectation).
The idea of approximating a generalized inverse of by the truncated series on directions that are orthogonal to the all-ones vector was recently used by Doron, Le Gall, and Ta-Shma [DGT17] to show that can be approximated in probabilistic log-space. However, since they wanted to output explicitly, they could not ignore the all-ones direction and they needed to relate to by “peeling off” the all-ones direction, inverting using the infinite sum formula, and then adding back the all-ones direction.
The idea of estimating powers of a normalized adjacency matrix (or more generally, a stochastic matrix) by performing random walks is well known, and was used also in [DGT17] mentioned above, and in [DSTS17]. Chung and Simpson [CS15] used it in a context that is related to ours, of solving a Laplacian system but with a boundary condition, namely, a constraint that for all in the support of . Their algorithm solves for a subset of the coordinates , i.e., it approximates (the restriction of to coordinates in ) where solves under the boundary condition. They relate the solution to the Dirichlet heat-kernel PageRank vector, which in turn is related to an infinite power series of a transition matrix (specifically, to where is the transition matrix of the graph induced by , , and ), and their algorithm uses random walks to approximate the not-too-large powers of the transition matrix, proving that the remainder of the infinite sum is small enough.
Recently, Shyamkumar, Banerjee and Lofgren [SBL16] considered a related matrix-power problem, where the input is a matrix , a power , a vector , and an index , and the goal is to compute coordinate of . They devised for this problem a sublinear (in ) algorithm, under some bounded-norm conditions and assuming is uniformly random. Their algorithm relies, in part, on von Neumann and Ulam’s technique of computing matrix powers using random walks, but of prescribed length. It can be shown that approximately solving positive definite systems for a particular coordinate is reducible to the matrix-power problem.44 4 Let be a linear system where is positive definite. Let be the largest eigenvalue of . Let and . Consider the equivalent system . As the eigenvalues of are in , the eigenvalues of are in . Thus, the solution to the linear system is given by . Therefore, we can approximate by truncating the infinite sum at some and approximating each power by the algorithm for the matrix-power problem. However, in contrast to our results, their expected runtime is polynomial in the input size, namely , and holds only for a random .
Comparison with PageRank.
An example application of our results is computing quickly the PageRank (defined in [BP98]) of a single node in an undirected -regular graph. Recall that the PageRank vector of an -vertex graph with associated transition matrix is the solution to the linear system , where is a given parameter. In personalized PageRank, one replaces (the uniform distribution) with some , e.g., a standard basis vector. Equivalently, solves the system where is an SDD matrix with ’s on the diagonal. As all eigenvalues of are of magnitude at most 1 (recall is a transition matrix), all eigenvalues of are of magnitude at most , and the running time guaranteed by Theorem 5.1 is logarithmic (with base ).
Algorithms for the PageRank model were studied extensively. In particular, the sublinear algorithms of [BPP18] approximate the PageRank of a vertex using queries to an arbitrary graph, or using queries when the maximum degree is . Another example is the heavy-hitters algorithm of [BBCT14], which reports all vertices whose approximate PageRank exceeds a threshold in sublinear time , when PageRanks are viewed as probabilities and sum to . Other work explores connections to other graph problems, including for instances using PageRank algorithms to approximate effective resistances [CZ10], the PageRank vector itself, and computing sparse cuts [ACL07].
Local Algorithms.
Our algorithms in Theorems 1.1 and 5.1 are local in the sense that they query a small portion of their input, usually around the input vertex, when viewed as graph algorithms. Local algorithms for graph problems were studied in several contexts, like graph partitioning [ST04, AP09], Web analysis [CGS04, ABC+08], and distributed computing [Suo13]. Rubinfeld, Tamir, Vardi, and Xie [RTVX11] introduced a formal concept of Local Computation Algorithms that requires consistency between the local outputs of multiple executions (namely, these local outputs must all agree with a single global solution). As explained earlier, our problem formulation (1) follows this consistency requirement.
1.4 Future Work
One may study alternative ways of defining the problem of solving a linear system in sublinear time, in particular if the algorithm can access in a different way. For example, similarly to assumptions and guarantees in [Tan18], the goal may be to produce an -sample from the solution (i.e., report a random index in such that the probability of each coordinate is proportional to ) assuming oracle access to an -sampler from , i.e., use an -sampler for to construct an -sampler for . Another version of the problem may ask to produce heavy hitters in , assuming, say,55 5 This kind of oracle seems necessary even when . heavy hitters in (which may be useful for the PageRank application). We leave these extensions as interesting open questions, focusing here on the classical access mode to , via queries to its coordinates.
2 Laplacian Solver (for Regular Graphs)
In this section we prove Theorem 1.1. The ensuing description deals mostly with a slightly simplified scenario, where the algorithm is given not one but two vertices , and returns an approximation to with a slightly different error bound, see Theorem 2.5 for the precise statement. We will then explain the modifications required to prove Theorem 1.1 (which actually follows also from our more general Theorem 5.1).
Let be a connected -regular graph with adjacency matrix . Let the eigenvalues of be , and let their associated orthonormal eigenvectors be . Then , and we can write where is unitary and . For , let where is the -th standard basis vector. Then the Laplacian of is given by
Observe that does not depend on the orientation of each edge , and that is the smallest non-zero eigenvalue of . The Moore-Penrose pseudo-inverse of is
We assume henceforth that all eigenvalues of are non-negative. At the end of the proof, we will remove this assumption (by adding self-loops).
The idea behind the next fact is that , and has norm strictly smaller than one when operating on the subspace that is orthogonal to the all-ones vector, and hence, the formula for is applicable for the span of .
Fact 2.1.
For every that is orthogonal to the all-ones vector, .
Proof.
It suffices to prove the claim for each of as the fact will then follow by linearity. Fix . Then since ,
We now describe an algorithm that on input that is orthogonal to the all-ones vector, and two vertices , returns an approximation to , where solves . As is connected, the null space of is equal to span and hence is uniquely defined, and can be written as .
- 1.
Set
and .
- 2.
For do
- (a)
Perform independent random walks of length starting at , and let be the vertices at which the random walks ended. Independently, perform independent random walks of length starting at , and let be the vertices at which the random walks ended.
- (b)
Set .
- (a)
- 3.
Return .
Claim 2.2.
For that is orthogonal to the all-ones vector, .
Proof.
Using Fact 2.1,
and thus
We know that , so it remains to bound . Decomposing we get that and
Hence,
where the first equality is because the ’s are orthogonal. Altogether,
as claimed. ∎
Claim 2.3.
.
Proof.
Observe that is a probability vector over , and is exactly the probability that a random walk of length starting at will end at . Thus, for every and , we have
and similarly . By a union bound over Hoeffding bounds, with probability at least , for every , we have and . Recalling that , with probability at least we have , as claimed. ∎
Combining Claim 2.2 and Claim 2.3 we get that (with probability ) . Now, as solves , for every we have where is the set of neighbors , which implies that for some neighbor of , it holds that . Therefore, . We conclude that . We now turn to the running time of Algorithm 1, which is dominated by the time it takes to perform the random walks. There are random walks in total. The random walks do not need to be independent for different values of (as we applied a union bound over the different ), we can extend, at each iteration , the respective random walks constructed at iteration by an extra step in time (recall we assume is given as an adjacency list), obtaining a total runtime . To simplify the expression for , we need the following bound.
Fact 2.4.
For all , .
Proof.
We need to show that , or equivalently, , which is well known. ∎
Applying Fact 2.4 to , we have , and conclude the following.
Theorem 2.5.
Given an adjacency list of a -regular -vertex graph , a vector that is orthogonal to the all-ones vector, vertices , and scalars , , and , Algorithm 1 outputs satisfying
in time for .
Remark.
If we allow preprocessing of , the runtime of Algorithm 1 can be reduced to , as follows. At the preprocessing phase, compute for all powers . Then, instead of approximating for all powers , sample a uniform , and then, in time (because the probability vector is precomputed, see [Wal77]), sample based on the probability vector , and finally, output . The expectation of the output is . As for concentration, since the output is in , by the Hoeffding bound, many repetitions suffice to obtain (with constant probability) an approximation with additive error (as in Claim 2.3).
We still need to show how to remove the assumption that has no negative eigenvalues. Given an adjacency matrix which might have negative eigenvalues, consider the PSD matrix , which is the adjacency matrix of the -regular graph obtained from by adding self-loops to each vertex. Observe that and we can write , and thus, similarly to Fact 2.1, , for that is orthogonal to the all-ones vector. Therefore, if we use (which is PSD) to guide Algorithm 1’s random walks (i.e., at each step of a walk, with probability the walk stays put and with probability it moves to a uniform neighbor in ) and apply Claims 2.2 and 2.3 (which apply even when has self-loops), an estimate satisfying with high probability is obtained. When running Algorithm 1 on , the term evaluates to , thus, leaving the guarantee of Theorem 2.5 intact (up to constant factors).
Proof of Theorem 1.1.
The theorem follows by a simple modifications to the analysis above. Observe that the analysis in Claims 2.2 and 2.3 holds also when replacing by a lower bound on , which in turn is easy to derive from the upper bound given in the input and given as part of input . Similarly, can be replaced by an upper bound .
To handle one vertex instead of two vertices , ignore the part dealing with in Algorithm 1, and modify the analysis in the two aforementioned claims to use instead of . The error bound obtained from combining these lemmas is , but since each , we can bound the error by . ∎
3 Lower Bound for PSD Matrices
In this section we prove Theorem 1.2. The entire proof relies on a -regular -vertex graph , such that (i) its girth is ; and (ii) its adjacency matrix has eigenvalues that satisfy (this bound is somewhat arbitrary, chosen to simplify the exposition). We actually need such a graph to exist for infinitely many , with bounded uniformly (as grows). Such graphs are indeed known, for example the Ramanujan graphs constructed by Lubotzky, Philips and Sarnak [LPS88] and by Margulis [Mar88] for the case where is a prime, have eigenvalue upper bound and girth lower bound (see e.g. [HLW06]).
In what follows, let be a certain isomorphic copy of (i.e., obtained from by permuting the vertices, as explained below). It will be convenient to assume that and have the same vertex set, which we denote by , as then we can consider the multi-graph obtained by their edge union, denoted . Denoting the adjacency matrix of each by , the adjacency matrix of their edge union is simply . We can similarly view as the adjacency matrix of the same graph, except that now the edges are signed — those from are positive, and those from are negative.
The proof of the theorem will follow easily from the three propositions below. Proposition 3.1 provides combinatorial, girth-like, information about . Proposition 3.2 provides spectral information, like the condition number, about . These two propositions are proved by straightforward arguments, and the heart of the argument is in Proposition 3.3, that constructs a PSD linear system based on , in which the coordinates of the solution can be analyzed, showing that recovering a specific coordinate, even approximately, requires many probes to .
Proposition 3.1 (Proved in Section 3.2).
Let be as above and fix a vertex . Then there exists an isomorphic copy of (on the same vertex set), such that in their edge-union , the neighborhood of of radius is a -regular tree.
Proposition 3.2.
Let be the adjacency matrices described above, and let . Then , and the matrix is PSD with all its eigenvalues in the range . Thus, is invertible and has condition number .
Proof.
By the triangle inequality, . The eigenvalues of are in the range , and thus those of are in the range . ∎
Proposition 3.3 (Proved in Section 3.1).
Let the graphs be according to Proposition 3.1, let as above, and fix . Then every randomized algorithm that, with probability at least , approximates coordinate of within additive error at most , must probe entries from , even when restricted to that are supported only on vertices at distance from (in ).
We can now prove Theorem 1.2 using the above 3 propositions. Let ,,, and be as required for these propositions, and fix . Let and observe that it has the sparsity and condition number required for Theorem 1.2, and let the distinguished index be . Now consider a randomized algorithm that, given an input , estimates coordinate of , or in other words, coordinate of . We can then apply Proposition 3.3 and deduce that this algorithm must probe in
entries, which proves Theorem 1.2.
3.1 Proof of Proposition 3.3
Let be the set of vertices at distance exactly from in the edge-union graph . By the Proposition 3.1, we can view the radius- neighborhood of as a tree rooted at . In particular, for all we have . For each vertex , let be the value of entry in , i.e., the product of the signs along the unique length- walk from to in (i.e., the shortest path in ).
Now generate a random as follows. First pick an unknown (or random) “signal” ; then use it to choose for each , a random with a small bias (determined below) towards , i.e.,
Observe that , which means that has a small bias towards the signal . Finally, let all other entries be , i.e., for . Observe that and . We set the bias to be
| (4) |
for a sufficiently large constant . Notice that have fixed values known to the algorithm, hence observing (by probing this entry of ) is information-theoretically equivalent to observing .
The next lemma is standard and follows easily from Yao’s minimax principle, together with a bound on the total-variation distance between two Binomial distributions, with biases and ), see e.g. [Can15, Fact D.1.3] or [AJ06, Eqn. (2.15)].
Lemma 3.4.
Every randomized algorithm that, with probability at least for , recovers an unknown signal from , each set independently to or with bias , must probe at least entries of .
We proceed to analyze , aiming to show that it can be used to recover , namely, that with high probability . Later we will bound aiming to show a similar conclusion for . For convenience, denote , hence and
and since is symmetric, for every vertex (including ),
| (5) |
Each summand can be viewed as the summation, over all length- walks from vertex , of the coordinate corresponding to the walk’s end-vertex , multiplied by and by the product of the signs of along the walk. We can restrict the summation to walks ending at vertices , as otherwise .
Lemma 3.5.
For every vertex (including ),
Proof of Lemma 3.5.
Recall that by Proposition 3.1, the neighborhood of of radius is a tree, and view it as a tree rooted at . For a vertex in this tree, let be the set of all vertices that are descendants of ; for example, , and if the distance of from is greater than then . Define a random variable , whose expectation is
Lemma 3.6.
With probability at least ,
| (6) |
We remark that the constant is somewhat arbitrary but needed to make sure the righthand-side is positive even for (as ). In addition, applying (6) to yields, by our choice of the bias in (4),
| (7) |
Proof of Lemma 3.6.
Fix and . By Hoeffding’s inequality, for every ,
By a union bound over all ,
For all this series is decreasing geometrically, because grows at least by a factor of , and thus the sum is dominated by its first term. By choosing to be an appropriate constant, the first term (and the entire sum) can be made arbitrarily small. ∎
We assume henceforth that the event described in Lemma 3.6 occurs. Let be the set of all walks of length that start at and end (at some vertex) in , i.e., at distance exactly from . Define
We make two remarks. First, we can equivalently start the summation from , because for all . Second, the leading constant here is bigger than the used in Lemma 3.5, this is intentional and the slack be needed at the very end of the proof.
Lemma 3.7.
Proof of Lemma 3.7.
We would like to employ (5) and the interpretation of via walks of length . To this end, fix . Observe that , hence a walk of length from is entirely contained in the -regular tree formed by the neighborhood of of radius . Each such walk contributes the value at the walk’s end vertex , multiplied by all the signs seen along the walk. We make two observations. First, we can restrict attention to end vertices (and in particular ), because otherwise . Moreover, the same number of walks end at each , by symmetry. Second, the signs along a walk in a tree cancel, except for the signs on the shortest path between and (the start and end vertices), hence the product of these signs is exactly . By symmetry, the number of walks ending at each is the same, namely, , and thus
| (8) |
Assuming the event in Lemma 3.6 occurs, we have , and therefore (recall terms for have zero contribution)
Lemma 3.8.
If the event in Lemma 3.6 occurs, then
Proof.
Fix , and let us bound . Similarly to the proof of Lemma 3.7, we employ (5) and interpret via walks of length , which now start at vertex rather than at .
Let be the distance of from , i.e., . The case is easy, as follows. A walk of length from cannot end in (because the distance of the end vertex from is at least ), hence . Plugging this information and Lemma 3.5 into (5), we have
which proves the lemma in this case.
We thus assume henceforth . For each , let be the set of all length- walks that start at and end in . (The difference from is that the walks start at instead of .) Observe that such a walk (in ) is entirely contained in the -regular tree formed by the radius- neighborhood of , because the maximum distance from it can reach is . In addition, we claim that
| (9) |
Indeed, we can generate walks in by first walking from to any vertex in directly, i.e., along the unique shortest path, and then “imitating” a walk from , in the sense of executing it from instead of from . (Formally, view a walk in as a sequence in that determines which outgoing edge to traverse next, according to a fixed numbering of the incident edge, that reserves to the edge that gets us closer to , if one exists.) This yields walks that are all distinct and end in , hence these are distinct walks in .
Denote the shortest path from to by ; notice that these vertices are exactly the ancestors of when we view the neighborhood of as a tree rooted at . Now partition by letting each contain the walks in that visit but not , which means that is the farthest (from ) ancestor visited by the walk. For example, contains all walks in that visit , and contains all walks in that never visit and thus never visit (of course, for this cannot happen and thus ). The walks in all end in (recall this is the set of vertices in that are descendants of ), and by symmetry, the number of walks ending at each is the same, namely, , and thus similarly to (8),
Assuming the event in Lemma 3.6 occurs,
and thus
Recall that is an ancestor of , hence , and use (9) to obtain , and altogether we have
To simplify notation, define the quantity (notice it does not depend on )
| (10) |
We claim that . To prove this claim, we first easily bound one part . For the other part, observe that , and thus
where the last inequality is by our assumption , which implies , and by our choice of the bias in (4). Putting these bounds together proves the claim.
We can now complete the proof of Proposition 3.3. By Lemma 3.6, with probability at least the event described therein occurs. Assume this is the case and consider an estimate for that has additive error at most for . By Lemma 3.7 we have , and by Lemma 3.8 we have . Altogether
which implies that .
Now consider a randomized algorithm for estimating , and whose output satisfies the above additive bound with probability at least . We can use this estimation algorithm to recover the signal , by simply reporting the sign of its estimate, namely . This recovery does not require additional probes to , and by a union bound, it succeeds (in recovering with probability at least . But by Lemma 3.4, such a recovery algorithm, and in particular the algorithm for estimating , must probe in at least
entries, which proves Proposition 3.3.
3.2 Proof of Proposition 3.1
We prove Proposition 3.1 by the probabilistic method, namely, we let be a random isomorphic copy of , and argue that the desired property of holds with positive, in fact high, probability. The edge-union graph can be equivalently constructed as follows. Start with the fixed graph as above and a copy of it on a disjoint set of vertices, i.e., ; now draw a random perfect matching between and , and then contract every edge of . The rest of the proof considers the graph prior to the contraction. The idea is to expose the edges of gradually, and then by the principle of deferred decision, the remaining edges of form a random perfect matching between the yet unmatched vertices in and .
A walk in the edge-union graph can be viewed as a walk in the prior-to-contraction graph, except that moves along the matching are not counted as steps. Fixing a vertex and an integer , every length- walk starting at can be associated with a distinct sequence as follows. For each step , move from the current vertex (starting at ) along an edge represented by , where corresponds to an edge in , and corresponds to an edge in . To make it more precise, recall that is fixed, hence the edges of incident to each vertex in have a fixed ordering (say lexicographic), and can be associated with a distinct index from . (An edge may have different indices at and at .) The same applies also to , except that now the indices are from . Thus, each index represents a transition along an edge in , but if the current vertex is not in the “correct” graph, then the walk first moves along the matching (to cross between and ), and only then moves along the edge of . Observe that step in the walk does not exposes any edge of if both or both , where by convention .
For the neighborhood of of radius in to not be a -regular tree, obviously there must exist , whose corresponding walk is non-backtracking (i.e., no step moves along the same edge as step ) yet it is self-intersecting (i.e., at least one vertex is visited more than once). Our analysis employs another necessary condition, whose existence follows by identifying a cycle near in , and two successive edges in it that originate from different graphs (they must exists because each of and has high girth). Specifically, there must exist two sequences (walks) and of lengths , such that (i) , i.e., the last step of is in ; (ii) , i.e., the last step of is in ; (iii) the last vertex in the walk and that in are matched to each other by ; and (iv) these two last vertices were not visited by or matched to any earlier vertex in the two walks. Let denote the event that requirements (i)-(iv) are satisfied. Observe that and may have a common prefix, during which they will obviously visit the same vertices. For instance, a common prefix of length corresponds to having two parallel edges (originating from and ).
We now claim that for every fixed of length . To see this, follow the walks corresponding to and to , and expose the edges of incident to all visited vertices except for the last vertex in each walk. If requirement (iv) is already violated, then the probability of is . We may thus assume henceforth it is satisfied, which implies that after exposing at most edges of , the last vertex in each walk is still not matched by . If we now expose the edges of incident to the last vertex in each walk, the probability that these two vertices are matched to each other is at most , and the claimed bound follows.
Finally, by a union bound over all possible sequence pairs , the probability that the neighborhood of is not a -regular tree, is at most
This completes the proof of Proposition 3.1.
4 Square of Condition Number is Necessary
In this section, we prove Theorem 1.3. In particular, we show that there exist graphs for which one needs to query at least times where is nearly-quadratic in the condition number of the Laplacian .
We first describe the construction of the graph . Let be a 3-regular expander on nodes, indexed by a set , with girth . We build a graph as follows. Take two copies of , termed on vertices and on vertices . Then we pick nodes in , termed , and the equivalent nodes in (i.e., originating from the same nodes in ), and connect to via a matching . Let be the Laplacian of the resulting graph .
Lemma 4.1.
The condition number of is .
Proof.
We need to prove that, for any unit-norm orthogonal to all 1s, we have that as the largest eigenvalue is . We can decompose the Laplacian into 3 components, corresponding to and : . Similarly, decompose corresponding to vertices and . Let , and be minus on the coordinates. Similarly is plus on the coordinates. Then, we have that:
For the sake of contradiction, suppose that all three terms are for small . Then, using the fact is expander, , i.e., . Similarly . Also we have that:
where the last inequality uses triangle inequality.
Since , we also have that , and thus . Plugging into the above, we obtain that — a contradiction. ∎
To prove the lower bound on the number of probes into , we consider two distributions on that can be distinguished using an estimate to . Distinguishing these two distributions will require a large number of probes into , giving us a query lower bound for estimating .
We now describe these two distributions. Partition the graph into 4 parts, termed as follows: the vertices are split arbitrarily into 2 equal-size sets , and similarly with . Consider distinguishing the following two cases, where .
- Balanced:
-
For each coordinate pick randomly; for and pick randomly conditioned on the fact that (i.e., is fully balanced on ), and similarly for .
- Unbalanced:
-
For each , set to with probability and to with probability ; for , we similarly set randomly conditioned on (i.e., the bias is exactly the same in and ). For , we do the same but with bias .
Note that distinguishing the two cases with probability requires probing coordinates of (see Lemma 3.4). Now let us show how to distinguish the two cases by computing for some fixed edge , where is the solution to .
Lemma 4.2.
In the Balanced case, for any two vertices of , we have that with probability at least .
In the Unbalanced case, for any two vertices of , we have that with probability at least .
The lemma is the core of the argument and its proof is deferred to Section 4.1.
Lemma 4.3.
In the Unbalanced case, if we pick an edge at random, then with probability at least .
Proof.
Since with high probability, we have that . Since . Hence, if we pick a random , we have a probabity of at least that . ∎
Proof of Theorem 1.3, assuming Lemma 4.2.
The proof of the theorem follows immediately from the above two lemmas. In particular, for a random edge , in the balanced case, we have with probability. On the other hand, in the unbalanced case, we have . Hence we can distinguish the two distributions with probability at least as follows. Suppose the implicit constants from Lemma 4.3 are respectively . Then we estimate and if it’s , then output “balanced” with probability . If , then output “unbalanced”. This algorithm has probability of correctly distinguishing balanced vs unbalanced with probability at least (as long as is estimated correctly, which happens with probability at least after a standard amflication by taking the median of independent runs of the algorithm). On the other hand, any such algorithm must make at least coordinates of (see Lemma 3.4). ∎
4.1 Proof of Lemma 4.2
Proof of Lemma 4.2.
Consider the matrix to be the adjacency matrix of the graph , where each node not in the matching has a self-loop. Thus all nodes have degree . Then we have that , and hence , or . Furthermore, using this identity iteratively, we have:
Let . We take the solution such that and hence . Choosing ensures that . It is thus enough to compute .
Consider . Note that each term corresponds to a random walk of length (using matrix ).
Claim 4.4.
There is some and , such that for , and any node in , the following holds. In the balanced case:
In the unbalanced case:
Proof.
Note that corresponds to the following random walk on . We index the vertices of as where and depending whether it is in or . Then the random walk is equivalent to: with probability 1/4 we take a self-loop or jump into the component, and with probability we take a random step in the component. Thus, we can consider a graph to be the graph where each node has a self-loop, and thus degree . The variable does a random walk in , independently of , whereas does a more complex walk (depending on ). For the graph , for any starting vertex, the probability that the random walk hits a particular node in is at most . This is easy to note by observing that if is the spectral decomposition of the random walk matrix corresponding to with and , then .
Let be the probability that the random walk of length , starting at , stops at vertex . By the above analogy between random walk in vs random walk in , we have that .
We now use Bernstein inequality to argue about the concentration of . This is where the balanced and unbalanced case will differ. In the balanced case are essentially random , although there’s a minor dependence: each side is precisely balanced to 0. Hence we apply the inequality for each of the 4 parts of the graph. In each of the parts, the values are independent. Hence, over the 4 parts, we have that, for any :
We take , and then the probability becomes . In particular, we have that , and the claim follows for the balanced case.
In the unbalanced case, we can also consider the 4 parts . For each part , we define the random variable, depending on the bias the values of . Wlog, suppose the part has a bias (i.e., with probability ). Then define . Note that and . Applying Bernstein’s inequality similarly to before, we have that
There’s making the above probability . This finishes the unbalanced case. ∎
We now complete the proof of the lemma, for the balanced and unbalanced cases. In the balanced case, we use the claim to conclude that, by union bound, with probability at least ,
Since the same bound hold for , and since , we have that for .
For the unbalanced case, we have, by union bound, with probability at least :
Replacing completes the unbalanced case. ∎
5 An SDD Solver
In this section we prove the following theorem for solving linear systems in SDD matrices. To generalize from Laplacianss of regular graphs to SDD matrices, we face several issues as described in Section 1.2. We use the notation defined in (2)-(3).
Theorem 5.1 (SDD Solver).
There exists a randomized algorithm, that given input , where
- •
is an SDD matrix,
- •
is in the range of (equivalently, orthogonal to the kernel of ),
- •
, , and
- •
is an upper bound on the condition number ,
this algorithm outputs with the following guarantee. Suppose is the solution for given in (3), then
for suitable . The algorithm runs in time , where is the time to make a step in a random walk in the weighted graph formed by the non-zeros of .
Given an SDD matrix , we may assume that for every (as otherwise the entire -th row and column are zero and can be safely ignored). Recall , and define . Let (for intuition, this is the normalized adjacency matrix when is a Laplacian) and recall (the normalized Laplacian, respectively). For an eigenvalue of , let . Observe that ; recalling that is SDD, we conclude that . Moreover,
so . Observe that ; Since is SDD, we conclude that . Let be ’s eigenvalues with associated orthonormal eigenvectors (note that is symmetric). We can write where is unitary and . Note that , and that where by convention stands for . Let , , and . Let . Note that , and that the eigenvalues of are in . Let (the largest non-one eigenvalue of ). We now describe an algorithm that on input that is in the range of (equivalently, is orthogonal to the kernel of ), and , returns an approximation to , where is the solution for given in (3).
- 1.
Set and .
- 2.
For do
- (a)
Perform independent (lazy) random walks of length starting at , where in one step from vertex , the walk stays put with probability , moves to with probability , and terminates with the remaining probability.
For each walk , let be the vertex where the walk ended, and let be the product of the signs along the walk where stay-put steps have sign and others have . Formally, if the walk consists of then and if it terminated earlier then .
- (b)
Set .
- (a)
- 3.
Return .
We now prove that Algorithm 2 indeed provides a good approximation. Note that is orthogonal to iff is orthogonal to .
Claim 5.2.
For that is orthogonal to the kernel of ,
| (11) |
Proof.
Observe that
Thus, as is in the span of eigenvectors of with associated eigenvalues in , using the same idea as in Fact 2.1 we get that
and hence (recall )
Similarly to the proof of Claim 2.2, we now get that
∎
Claim 5.3.
With probability at least ,
Proof.
Recalling that , we can write
Hence (by induction), for every and , we have
By a union bound over Hoeffding bounds (as ), with probability at least , for every ,
which implies that
∎
Combining Claim 5.2 and Claim 5.3 we get that (with probability ) . Now, letting denote any solution to the system , for every we have
where the last inequality is because is SDD. Therefore, , and we conclude that (with probability ) for every solution to the system (and in particular for ). We now turn to the runtime of Algorithm 2, which is dominated by the time it takes to perform the random walks. There are random walks in total. Let be the time it takes to make a single step in the random walks of Algorithm 2 (it depends on the access method/representation of and/or its sparsity). The random walks do not need to be independent for different values of (as we applied a union bound over the different ), we can extend, at each iteration , the respective random walks constructed at iteration by an extra step in time , obtaining a total runtime . We conclude the following.
Theorem 5.4.
Given access to an SDD matrix , that is orthogonal to the kernel of , , , , and , with probability at least , Algorithm 2 outputs a value such that for every solution to the system (and in particular for ). Algorithm 2 runs in time where is the worst-case time to make a step in a random walk in the weighted graph formed by the non-zeros of , and .
Proof of Theorem 5.1.
Recall are the eigenvalues of , and that . Then the smallest non-zero eigenvalue of is . The largest eigenvalue of is where the lower bound is by the following argument (since all diagonal entries in are , and the off-diagonal entries contribute 0 in expectation)
Thus, . Using Fact 2.4 with , the expression above for becomes .
Acknowledgments
The authors thank anonymous reviewers for suggesting additional relevant references.
References
- [ABC+08] R. Andersen, C. Borgs, J. T. Chayes, J. E. Hopcroft, V. S. Mirrokni, and S. Teng. Local computation of PageRank contributions. Internet Mathematics, 5(1):23–45, 2008. doi:10.1080/15427951.2008.10129302.
- [ACL07] R. Andersen, F. R. K. Chung, and K. J. Lang. Using PageRank to locally partition a graph. Internet Mathematics, 4(1):35–64, 2007. doi:10.1080/15427951.2007.10129139.
- [AJ06] J. A. Adell and P. Jodrá. Exact Kolmogorov and total variation distances between some familiar discrete distributions. Journal of Inequalities and Applications, 2006(1):64307, 2006. doi:10.1155/JIA/2006/64307.
- [Amb12] A. Ambainis. Variable time amplitude amplification and quantum algorithms for linear algebra problems. In STACS’12 (29th Symposium on Theoretical Aspects of Computer Science), volume 14, pages 636–647. LIPIcs, 2012. doi:10.4230/LIPIcs.STACS.2012.636.
- [AP09] R. Andersen and Y. Peres. Finding sparse cuts locally using evolving sets. In Proceedings of the Forty-first Annual ACM Symposium on Theory of Computing, STOC ’09, pages 235–244. ACM, 2009. doi:10.1145/1536414.1536449.
- [BBCT14] C. Borgs, M. Brautbar, J. T. Chayes, and S. Teng. Multiscale matrix sampling and sublinear-time PageRank computation. Internet Mathematics, 10(1-2):20–48, 2014. doi:10.1080/15427951.2013.802752.
- [BP98] S. Brin and L. Page. The anatomy of a large-scale hypertextual web search engine. Computer Networks, 30(1-7):107–117, 1998. doi:10.1016/S0169-7552(98)00110-X.
- [BPP18] M. Bressan, E. Peserico, and L. Pretto. Brief announcement: On approximating PageRank locally with sublinear query complexity. In 30th on Symposium on Parallelism in Algorithms and Architectures, SPAA ’18, pages 87–89. ACM, 2018. arXiv:1404.1864, doi:10.1145/3210377.3210664.
- [Can15] C. L. Canonne. A survey on distribution testing: Your data is big. but is it blue? Electronic Colloquium on Computational Complexity (ECCC), 22:63, 2015. Available from: http://eccc.hpi-web.de/report/2015/063.
- [CGS04] Y.-Y. Chen, Q. Gan, and T. Suel. Local methods for estimating PageRank values. In Proceedings of the Thirteenth ACM International Conference on Information and Knowledge Management, CIKM ’04, pages 381–389. ACM, 2004. doi:10.1145/1031171.1031248.
- [CKM+14] M. B. Cohen, R. Kyng, G. L. Miller, J. W. Pachocki, R. Peng, A. B. Rao, and S. C. Xu. Solving SDD linear systems in nearly time. In Proceedings of the 46th Annual ACM Symposium on Theory of Computing, pages 343–352, 2014. doi:10.1145/2591796.2591833.
- [CKS17] A. Childs, R. Kothari, and R. Somma. Quantum algorithm for systems of linear equations with exponentially improved dependence on precision. SIAM Journal on Computing, 46(6):1920–1950, 2017. doi:10.1137/16M1087072.
- [CS15] F. Chung and O. Simpson. Solving local linear systems with boundary conditions using heat kernel PageRank. Internet Mathematics, 11(4-5):449–471, 2015. doi:10.1080/15427951.2015.1009522.
- [CZ10] F. Chung and W. Zhao. PageRank and Random Walks on Graphs, pages 43–62. Springer, 2010. doi:10.1007/978-3-642-13580-4_3.
- [DGT17] D. Doron, F. L. Gall, and A. Ta-Shma. Probabilistic logarithmic-space algorithms for Laplacian solvers. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, APPROX/RANDOM 2017, pages 41:1–41:20, 2017. doi:10.4230/LIPIcs.APPROX-RANDOM.2017.41.
- [DHM+18] D. Dervovic, M. Herbster, P. Mountney, S. Severini, N. Usher, and L. Wossnig. Quantum linear systems algorithms: a primer. CoRR, abs/1802.08227, 2018. arXiv:1802.08227.
- [DSTS17] D. Doron, A. Sarid, and A. Ta-Shma. On approximating the eigenvalues of stochastic matrices in probabilistic logspace. Comput. Complex., 26(2):393–420, June 2017. doi:10.1007/s00037-016-0150-y.
- [FL50] G. E. Forsythe and R. A. Leibler. Matrix inversion by a Monte Carlo method. Mathematics of Computation, 4(31):127–129, 1950. doi:10.1090/S0025-5718-1950-0038138-X.
- [Gal14] F. L. Gall. Powers of tensors and fast matrix multiplication. In International Symposium on Symbolic and Algebraic Computation, ISSAC ’14, pages 296–303, 2014. doi:10.1145/2608628.2608664.
- [HHL09] A. W. Harrow, A. Hassidim, and S. Lloyd. Quantum algorithm for linear systems of equations. Phys. Rev. Lett., 103:150502, Oct 2009. doi:10.1103/PhysRevLett.103.150502.
- [HLW06] S. Hoory, N. Linial, and A. Wigderson. Expander graphs and their applications. Bull. Amer. Math. Soc., 43(4):439–561, 2006. doi:10.1090/S0273-0979-06-01126-8.
- [KLP+16] R. Kyng, Y. T. Lee, R. Peng, S. Sachdeva, and D. A. Spielman. Sparsified Cholesky and multigrid solvers for connection Laplacians. In 48th Annual ACM Symposium on Theory of Computing, pages 842–850. ACM, 2016.
- [KP17] I. Kerenidis and A. Prakash. Quantum recommendation systems. In 8th Innovations in Theoretical Computer Science Conference (ITCS’ 17), volume 67 of Leibniz International Proceedings in Informatics (LIPIcs), pages 49:1–49:21. Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik, 2017. doi:10.4230/LIPIcs.ITCS.2017.49.
- [KR11] B. Klartag and O. Regev. Quantum one-way communication can be exponentially stronger than classical communication. In 43rd Annual ACM Symposium on Theory of Computing, STOC ’11, pages 31–40, 2011. doi:10.1145/1993636.1993642.
- [Lee14] Y. T. Lee. Probabilistic spectral sparsification in sublinear time. CoRR, abs/1401.0085, 2014. arXiv:1401.0085.
- [LPS88] A. Lubotzky, R. Phillips, and P. Sarnak. Ramanujan graphs. Combinatorica, 8(3):261–277, 1988. doi:10.1007/BF02126799.
- [Mar88] G. A. Margulis. Explicit group-theoretic constructions of combinatorial schemes and their applications in the construction of expanders and concentrators. Problemy Peredachi Informatsii, 24(1):51–60, 1988.
- [Raz99] R. Raz. Exponential separation of quantum and classical communication complexity. In 31st Annual ACM Symposium on Theory of Computing, STOC ’99, pages 358–367, 1999. doi:10.1145/301250.301343.
- [RTVX11] R. Rubinfeld, G. Tamir, S. Vardi, and N. Xie. Fast local computation algorithms. In Innovations in Computer Science - ICS 2010, pages 223–238, 2011. Available from: http://conference.iiis.tsinghua.edu.cn/ICS2011/content/papers/36.html.
- [SBL16] N. Shyamkumar, S. Banerjee, and P. Lofgren. Sublinear estimation of a single element in sparse linear systems. In 54th Annual Allerton Conference on Communication, Control, and Computing, Allerton 2016, pages 856–860, 2016. doi:10.1109/ALLERTON.2016.7852323.
- [Spi10] D. A. Spielman. Algorithms, graph theory, and linear equations in Laplacian matrices. In Proceedings of the International Congress of Mathematicians, volume 4, pages 2698–2722, 2010. doi:10.1142/9789814324359_0164.
- [SS11] D. A. Spielman and N. Srivastava. Graph sparsification by effective resistances. SIAM J. Comput., 40(6):1913–1926, December 2011. doi:10.1137/080734029.
- [ST04] D. A. Spielman and S.-H. Teng. Nearly-linear time algorithms for graph partitioning, graph sparsification, and solving linear systems. In 36th Annual ACM Symposium on Theory of Computing, pages 81–90. ACM, 2004. doi:10.1145/1007352.1007372.
- [Suo13] J. Suomela. Survey of local algorithms. ACM Comput. Surv., 45(2):24:1–24:40, March 2013. doi:10.1145/2431211.2431223.
- [Tan18] E. Tang. A quantum-inspired classical algorithm for recommendation systems. CoRR, abs/1807.04271, 2018. arXiv:1807.04271.
- [Vis13] N. K. Vishnoi. Lx = b. Foundations and Trends in Theoretical Computer Science, 8(1–2):1–141, 2013. doi:10.1561/0400000054.
- [Wal77] A. J. Walker. An efficient method for generating discrete random variables with general distributions. ACM Trans. Math. Softw., 3(3):253–256, 1977. doi:10.1145/355744.355749.
- [Was52] W. R. Wasow. A note on the inversion of matrices by random walks. Mathematical Tables and Other Aids to Computation, 6(38):78–81, 1952. doi:10.2307/2002546.