196

Algorithms and Hardness for Linear Algebra on Geometric Graphs

Abstract

For a function K:Rd×RdR0\mathsf{K} : \mathbb{R}^{d} \times \mathbb{R}^{d} \to \mathbb{R}_{\geq 0}, and a set P={x1,,xn}RdP = \{ x_1, \ldots, x_n\} \subset \mathbb{R}^d of nn points, the K\mathsf{K} graph GPG_P of PP is the complete graph on nn nodes where the weight between nodes ii and jj is given by K(xi,xj)\mathsf{K}(x_i, x_j). In this paper, we initiate the study of when efficient spectral graph theory is possible on these graphs. We investigate whether or not it is possible to solve the following problems in n1+o(1)n^{1+o(1)} time for a K\mathsf{K}-graph GPG_P when d<no(1)d < n^{o(1)}: \bullet Multiply a given vector by the adjacency matrix or Laplacian matrix of GPG_P \bullet Find a spectral sparsifier of GPG_P \bullet Solve a Laplacian system in GPG_P's Laplacian matrix For each of these problems, we consider all functions of the form K(u,v)=f(uv22)\mathsf{K}(u,v) = f(\|u-v\|_2^2) for a function f:RRf:\mathbb{R} \rightarrow \mathbb{R}. We provide algorithms and comparable hardness results for many such K\mathsf{K}, including the Gaussian kernel, Neural tangent kernels, and more. For example, in dimension d=Ω(logn)d = \Omega(\log n), we show that there is a parameter associated with the function ff for which low parameter values imply n1+o(1)n^{1+o(1)} time algorithms for all three of these problems and high parameter values imply the nonexistence of subquadratic time algorithms assuming Strong Exponential Time Hypothesis (SETH\mathsf{SETH}), given natural assumptions on ff. As part of our results, we also show that the exponential dependence on the dimension dd in the celebrated fast multipole method of Greengard and Rokhlin cannot be improved, assuming SETH\mathsf{SETH}, for a broad class of functions ff. To the best of our knowledge, this is the first formal limitation proven about fast multipole methods.

View on arXiv
Comments on this paper