Lune

NeurIPS2022Top-tier venue

Giga-scale Kernel Matrix-Vector Multiplication on GPU

Robert Hu, Siu Lun Chau, Dino Sejdinovic, Joan Glaunès

Abstract

Kernel matrix-vector multiplication (KMVM) is a foundational operation in machine learning and scientific computing. However, as KMVM tends to scale quadratically in both memory and time, applications are often limited by these computational constraints. In this paper, we propose a novel approximation procedure coined Faster-Fast and Free Memory Method (\fthreem\fthreem) to address these scaling issues of KMVM for tall (108∼10910^8\sim 10^9) and skinny (D≤7D\leq7) data. Extensive experiments demonstrate that \fthreem\fthreem has empirical linear time and memory complexity with a relative error of order 10−310^{-3} and can compute a full KMVM for a billion points in under a minute on a high-end GPU, leading to a significant speed-up in comparison to existing CPU methods. We demonstrate the utility of our procedure by applying it as a drop-in for the state-of-the-art GPU-based linear solver FALKON, improving speed 1.5-5.5 times at the cost of <1%<1\% drop in accuracy. We further demonstrate competitive results on Gaussian Process regression coupled with significant speedups on a variety of real-world datasets.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on2

  1. Kernel Methods Through the Roof: Handling Billions of Points EfficientlyGiacomo Meanti, Luigi Carratino, Lorenzo Rosasco, Alessandro RudiNeurIPS 2020 · 138 citations
  2. Faster Kernel Matrix Algebra via Density EstimationArturs Backurs, Piotr Indyk, Cameron Musco, Tal WagnerICML 2021 · 10 citations

Related papers

  1. KernelMatmul: Scaling Gaussian Processes to Large Time SeriesTilman Hoffbauer, Holger H. Hoos, Jakob BossekAAAI 2025
  2. Fast kernel methods: Sobolev, physics-informed, and additive modelsNathan Doumèche, Francis Bach, Gérard Biau, Claire BoyerICML 2026 · 1 citation
  3. Kernel Interpolation with Sparse GridsMohit Yadav, Daniel R. Sheldon, Cameron MuscoNeurIPS 2022 · 8 citations
  4. Fast Matrix Square Roots with Applications to Gaussian Processes and Bayesian OptimizationGeoff Pleiss, Martin Jankowiak, David Eriksson, Anil Damle et al.NeurIPS 2020 · 49 citations
  5. Fast Kronecker Matrix-Matrix Multiplication on GPUsAbhinav Jangda, Mohit YadavPPoPP 2024 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines