Download presentation
Presentation is loading. Please wait.
1
On Solving Linear Systems in Sublinear Time
Alexandr Andoni, Columbia University Robert Krauthgamer, Weizmann Institute Yosef Pogrow, Weizmann Institute ο Google WOLA 2019 TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAA
2
Solving Linear Systems
Input: π΄β β πΓπ and πβ β π Output: vector π₯ that solves π΄π₯=π Many algorithms, different variants: Matrix π΄ is sparse, Laplacian, PSD etc. Bounded precision (solution π₯ is approximate) vs. exact arithmetic Significant progress: Linear system in Laplacian matrix πΏ πΊ can be solved approximately in near-linear time π (nnz πΏ πΊ β
log 1 π ) [Spielman-Tengβ04, β¦, Cohen-Kyng-Miller-Pachocky-Peng-Rao-Xuβ14] Our focus: Sublinear running time On Solving Linear Systems in Sublinear Time
3
Sublinear-Time Solver
Input: π΄β β πΓπ , πβ β π (also π>0) and πβ[π] Output: approximate coordinate π₯ π from (any) solution π₯ β to π΄π₯=π Accuracy bound π₯ β π₯ β β β€π π₯ β β Formal requirement: There is a solution π₯ β to the system, such that βπβ π , Pr π₯ π β π₯ π β β€ π π₯ β β β₯ 3 4 Follows framework of Local Computation Algorithms (LCA), previously used for graph problems [Rubinfeld-Tamir-Vardi-Xieβ10] On Solving Linear Systems in Sublinear Time
4
On Solving Linear Systems in Sublinear Time
Motivation Fast quantum algorithms for solving linear systems and for machine learning problems [Harrow-Hassidim-Lloydβ09, β¦] Can we match their performance classically? Recent success story: quantum ο classical algorithm [Tangβ18] New direction in sublinear-time algorithms βLocalβ computation in numerical problems Compare computational models (representation, preprocessing), accuracy guarantees, input families (e.g., Laplacian vs. PSD) Known quantum algorithms have modeling requirements (e.g., quantum encoding of π) On Solving Linear Systems in Sublinear Time
5
Algorithm for Laplacians
Informally: Can solve Laplacian systems of bounded-degree expander in polylog(n) time Key limitations: sparsity and condition number Notation: πΏ πΊ =π·βπ΄ is the Laplacian matrix of graph πΊ πΏ πΊ + is its Moore-Penrose pseudo-inverse Theorem 1: Suppose the input is a π-regular π-vertex graph πΊ, together with its condition number π
>0, πβ β π , π’β π and π>0. Our algorithm computes π₯ π’ ββ such that for π₯ β = πΏ πΊ + π, βπ’β π , Pr π₯ π’ β π₯ π’ β β€ π π₯ β β β₯ 3 4 , and runs in time π (π π β2 π 3 ) for π = π (π
log π ). More inputs? Faster? On Solving Linear Systems in Sublinear Time
6
On Solving Linear Systems in Sublinear Time
Some Extensions Can replace π with π 0 Example: Effective resistance can be approximate (in expanders) in constant running time! π
eff (π’,π£)= π π’ β π π£ π πΏ πΊ + ( π π’ β π π£ ) Improved running time if Graph πΊ is preprocessed One can sample a neighbor in πΊ, or Extends to Symmetric Diagonally Dominant (SDD) matrix π π
is condition number of π· β1/2 π π· β1/2 On Solving Linear Systems in Sublinear Time
7
Lower Bound for PSD Systems
Informally: Solving βsimilarβ PSD systems requires polynomial time Similar = bounded condition number and sparsity Even if the matrix can be preprocessed Theorem 2: For certain invertible PSD matrices π, with bounded sparsity π and condition number π
, every randomized algorithm must query π Ξ©(1/ π 2 ) coordinates of the input π. Here, the output is π₯ π’ ββ for a fixed π’β π , required to satisfy βπ’β π , Pr π₯ π’ β π₯ π’ β β€ π₯ β β β₯ 3 4 , for π₯ β = π β1 π. In particular, π may be preprocessed On Solving Linear Systems in Sublinear Time
8
Dependence on Condition Number
Informally: Quadratic dependence on π
is necessary Our algorithmic bound O ( π
3 ) is near-optimal, esp. when matrix π can be preprocessed Theorem 3: For certain graphs πΊ of maximum degree 4 and any condition number π
>0, every randomized algorithm (for πΏ πΊ ) with accuracy π= 1 log π must probe Ξ© ( π
2 ) coordinates of the input π. Again, the output is π₯ π’ ββ for a fixed π’β π , required to satisfy βπ’β π , Pr π₯ π’ β π₯ π’ β β€ 1 log π π₯ β β β₯ 3 4 , for π₯ β = πΏ πΊ + π. In particular, πΊ may be preprocessed On Solving Linear Systems in Sublinear Time
9
Algorithmic Techniques
Famous Monte-Carlo method of von Neumann and Ulam: Write matrix inverse by power series β π <1, πΌβπ β1 = π‘β₯0 π π‘ then estimate it by random walks (in π) with unbiased expectation Inverting a Laplacian πΏ πΊ =ππΌβπ΄ corresponds to summing walks in πΊ For us: view π π’ π π‘β₯0 π΄ π‘ π as sum over all walks, estimate it by sampling (random walks) Need to control: number of walks and their length Large powers π‘> π‘ β contribute relatively little (by condition number) Estimate truncated series (π‘β€ π‘ β ) by short random walks (by Chebyshevβs inequality) On Solving Linear Systems in Sublinear Time
10
Related Work β All Algorithmic
Similar techniques were used before in related contexts but under different assumptions, models and analyses: Probabilistic log-space algorithms for approximating πΏ πΊ + [Doron-Le Gall-Ta-Shmaβ17] Asks for entire matrix, uses many long random walks (independent of π
) Local solver for Laplacian systems with boundary conditions [Chung-Simpsonβ15] Solver relies on a different power series and random walks Local solver for PSD systems [Shyamkumar-Banerjee-Lofgrenβ16] Polynomial time nnz π 2/3 under assumptions like bounded matrix norm and random π’β π Local solver for Pagerank [Bressan-Peserico-Prettoβ18, Borgs-Brautbar-Chayes-Tengβ14] Polynomial time O( π 2/3 ) and O( nd 1/2 ) for certain matrices (non-symmetric but by definition are diagonally-dominant) On Solving Linear Systems in Sublinear Time
11
Lower Bound Techniques
PSD lower bound: Take Laplacian of 2π-regular expander but with: high girth, edges signed Β±1 at random, and π( π ) on the diagonal (PSD but not Laplacian) The graph looks like a tree locally Up to radius Ξ log π around π’ Set π π€ =Β±1 for π€ at distance π, and 0 otherwise Signs have small bias πΏβ π βπ/2 Recovering it requires reading Ξ©( πΏ β2 ) entries Using inversion formula, π₯ π’ β average of π π€ βs Condition number lower bound: Take two 3-regular expanders connected by a matching of size π/π
Let π π€ =Β±1 with slight bias inside each expander π’ π π π€ =0 π π€ =Β±1 π π€ =0 On Solving Linear Systems in Sublinear Time
12
On Solving Linear Systems in Sublinear Time
Further Questions Accuracy guarantees Different norms? Condition number of π instead of π· β1/2 π π· β1/2 ? Other representations (input/output models)? Access the input π via random sampling? Sample from the output π₯? Other numerical problems? Thank You! On Solving Linear Systems in Sublinear Time
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.