Faster Linear Algebra for Distance Matrices
Piotr Indyk, Sandeep Silwal
Abstract
The distance matrix of a dataset of points with respect to a distance function represents all pairwise distances between points in induced by . 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 metric for which we get a linear runtime, as well as an lower bound for any algorithm which computes a matrix-vector product for the case, showing a separation between the 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 and functions and the fastest algorithm for computing an additive error low-rank approximation for the 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 distance matrix in time faster than the bound implied by the Johnson-Lindenstrauss lemma.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers6
- Expanding Sparse Tuning for Low Memory UsageShufan Shen, Junshu Sun, Xiangyang Ji, Qingming Huang et al.NeurIPS 2024 · 12 citations
- Efficiently Computing Similarities to Private DatasetsArturs Backurs, Zinan Lin, Sepideh Mahabadi, Sandeep Silwal et al.ICLR 2024 · 9 citations
- Constant Approximation for Individual Preference Stable ClusteringAnders Aamand, Justin Y. Chen, Allen Liu, Sandeep Silwal et al.NeurIPS 2023 · 6 citations
- Data-free Neural Representation Compression with Riemannian Neural DynamicsZhengqi Pei, Anran Zhang, Shuhui Wang, Xiangyang Ji et al.ICML 2024 · 5 citations
- Dynamics-inspired Neuromorphic Visual Representation LearningZhengqi Pei, Shuhui WangICML 2023 · 5 citations
Builds on9
- A Refined Laser Method and Faster Matrix MultiplicationJosh Alman, Virginia Vassilevska WilliamsSODA 2021 · 275 citations
- Fast Sketching of Polynomial Kernels of Polynomial DegreeZhao Song, David P. Woodruff, Zheng Yu, Lichen ZhangICML 2021 · 48 citations
- Oblivious Sketching of High-Degree Polynomial KernelsThomas D. Ahle, Michael Kapralov, Jakob Bæk Tejs Knudsen, Rasmus Pagh et al.SODA 2020 · 42 citations
- Quantum algorithms for graph problems with cut queriesTroy Lee, Miklos Santha, Shengyu ZhangSODA 2021 · 11 citations
- Faster Kernel Matrix Algebra via Density EstimationArturs Backurs, Piotr Indyk, Cameron Musco, Tal WagnerICML 2021 · 10 citations
Related papers
- Robust and Sample Optimal Algorithms for PSD Low Rank ApproximationAinesh Bakshi, Nadiia Chepurko, David P. WoodruffFOCS 2020 · 4 citations
- Fast Distance Oracles for Any Symmetric NormYichuan Deng, Zhao Song, Omri Weinstein, Ruizhe ZhangNeurIPS 2022 · 10 citations
- Approximate Euclidean lengths and distances beyond Johnson-LindenstraussAleksandros Sobczyk, Mathieu LuisierNeurIPS 2022 · 3 citations
- The Fast Johnson-Lindenstrauss Transform Is Even FasterOra Nova Fandina, Mikael Møller Høgsgaard, Kasper Green LarsenICML 2023 · 7 citations
- Tight Pair Query Lower Bounds for Matching and Earth Mover's DistanceAmir Azarmehr, Soheil Behnezhad, Mohammad Roghani, Aviad RubinsteinFOCS 2025 · 2 citations
