Solving Systems of Linear Equations: Locally and Asynchronously.

Christina Lee, Asuman Ozdaglar, Devavrat Shah

arXiv (Cornell University) · 2014 · 12 citations · 0 references

Full text

Open access

Concepts

Abstract

We consider approximating a single component of the solution to a system of linear equations $Ax = b$, where $A$ is an invertible real matrix and $b \in \mathbb{R}^n$. If $A$ is either diagonally dominant or positive definite, we can equivalently solve for $x_i$ in $x = Gx + z$ for some $G$ and $z$ such that spectral radius $\rho(G) < 1$. Existing algorithms either focus on computing the full vector $x$ or use Monte Carlo methods to estimate a component $x_i$ under the condition $\|G\|_{\infty} < 1$. We consider the setting where $n$ is large, yet $G$ is sparse, i.e., each row has at most $d$ nonzero entries. We present synchronous and asynchronous randomized variants of a local algorithm which relies on the Neumann series characterization of the component $x_i$, and allows us to limit the sparsity of the vectors involved in the computation, leading to improved convergence rates. Both variants of our algorithm produce an estimate $\hat{x}_i$ such that $|\hat{x}_i - x_i| \leq \epsilon \|x\|_2$, and we provide convergence guarantees when $\|G\|_2 < 1$. We prove that the synchronous local algorithm uses at most $O(\min(d \epsilon^{\ln(d)/\ln(\|G\|_2)}, dn\ln(\epsilon)/\ln(\|G\|_2)))$ multiplications. The asynchronous local algorithm adaptively samples one coordinate to update among the nonzero coordinates of the current iterate in each time step. We prove with high probability that the error contracts by a time varying factor in each step, guaranteeing that the algorithm converges to the correct solution. With probability at least $1 - \delta$, the asynchronous randomized algorithm uses at most $O(\min(d (\epsilon \sqrt{\delta/5})^{-d/(1-\|G\|_2)}, -dn \ln (\epsilon \sqrt{\delta})/(1-\|G\|_2)))$ multiplications. Thus our algorithms obtain an approximation for $x_i$ in constant time with respect to the size of the matrix when $d = O(1)$ and $1/(1-\|G\|_2) = O(1)$ as a function of $n$.