English

A Dynamic Low-Rank Fast Gaussian Transform

Data Structures and Algorithms 2024-02-07 v2

Abstract

The \emph{Fast Gaussian Transform} (FGT) enables subquadratic-time multiplication of an n×nn\times n Gaussian kernel matrix Ki,j=exp(xixj22)\mathsf{K}_{i,j}= \exp ( - \| x_i - x_j \|_2^2 ) with an arbitrary vector hRnh \in \mathbb{R}^n, where x1,,xnRdx_1,\dots, x_n \in \mathbb{R}^d are a set of \emph{fixed} source points. This kernel plays a central role in machine learning and random feature maps. Nevertheless, in most modern data analysis applications, datasets are dynamically changing (yet often have low rank), and recomputing the FGT from scratch in (kernel-based) algorithms incurs a major computational overhead (n\gtrsim n time for a single source update Rd\in \mathbb{R}^d). These applications motivate a \emph{dynamic FGT} algorithm, which maintains a dynamic set of sources under \emph{kernel-density estimation} (KDE) queries in \emph{sublinear time} while retaining Mat-Vec multiplication accuracy and speed. Assuming the dynamic data-points xix_i lie in a (possibly changing) kk-dimensional subspace (kdk\leq d), our main result is an efficient dynamic FGT algorithm, supporting the following operations in logO(k)(n/ε)\log^{O(k)}(n/\varepsilon) time: (1) Adding or deleting a source point, and (2) Estimating the ``kernel-density'' of a query point with respect to sources with ε\varepsilon additive accuracy. The core of the algorithm is a dynamic data structure for maintaining the \emph{projected} ``interaction rank'' between source and target boxes, decoupled into finite truncation of Taylor and Hermite expansions.

Keywords

Cite

@article{arxiv.2202.12329,
  title  = {A Dynamic Low-Rank Fast Gaussian Transform},
  author = {Baihe Huang and Zhao Song and Omri Weinstein and Junze Yin and Hengjie Zhang and Ruizhe Zhang},
  journal= {arXiv preprint arXiv:2202.12329},
  year   = {2024}
}
R2 v1 2026-06-24T09:52:58.355Z