Faster Linear Algebra for Distance Matrices
Not on the map. Why?
Abstract (arXiv)
The distance matrix of a dataset X of n points with respect to a distance function f represents all pairwise distances between points in X induced by f. Due to their wide applicability, distance matrices and related families of matrices have been the focus of many recent algorithmic works. We continue this line of research and take a broad view of algorithm design for distance matrices with the goal of designing fast algorithms, which are specifically tailored for distance matrices, for fundamental linear algebraic primitives. Our results include efficient algorithms for computing matrix-vector products for a wide class of distance matrices, such as the ℓ1 metric for which we get a linear runtime, as well as an Omega(n2) lower bound for any algorithm which computes a matrix-vector product for the ℓ∞ case, showing a separation between the ℓ1 and the ℓ∞ metrics. Our upper bound results, in conjunction with recent works on the matrix-vector query model, have many further downstream applications, including the fastest algorithm for computing a relative error low-rank approximation for the distance matrix induced by ℓ1 and ℓ22 functions and the fastest algorithm for computing an additive error low-rank approximation for the ℓ2 metric, in addition to applications for fast matrix multiplication among others. We also give algorithms for constructing distance matrices and show that one can construct an approximate ℓ2 distance matrix in time faster than the bound implied by the Johnson-Lindenstrauss lemma.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). First posted on arXiv 27 Oct 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 1; 2024: 3.
4 papers.
- 2024Expanding Sparse Tuning for Low Memory Usagecited by 10
- 2024Efficiently Computing Similarities to Private Datasetscited by 9
- 2023Constant Approximation for Individual Preference Stable Clusteringcited by 3
- 2024Fast Gradient Computation for Gromov-Wasserstein Distancecited by 2
- 2024Expanding Sparse Tuning for Low Memory Usage4 Nov 2024
- 2024Fast Gradient Computation for Gromov-Wasserstein Distance13 Apr 2024
- 2024Efficiently Computing Similarities to Private Datasets13 Mar 2024
- 2023Constant Approximation for Individual Preference Stable Clustering28 Sep 2023