Lune

FOCS2020顶会

Kernel Density Estimation through Density Constrained Near Neighbor Search

Moses Charikar, Michael Kapralov, Navid Nouri, Paris Siminelakis

摘要

In this paper we revisit the kernel density estimation problem: given a kernel K(x, y) and a dataset of n points in high dimensional Euclidean space, prepare a data structure that can quickly output, given a query q, a (1+ǫ)-approximation to µ := 1 |P | p∈P K(p, q). First, we give a single data structure based on classical near neighbor search techniques that improves upon or essentially matches the query time and space complexity for all radial kernels considered in the literature so far. We then show how to improve both the query complexity and runtime by using recent advances in data-dependent near neighbor search.

We achieve our results by giving a new implementation of the natural importance sampling scheme. Unlike previous approaches, our algorithm first samples the dataset uniformly (considering a geometric sequence of sampling rates), and then uses existing approximate near neighbor search techniques on the resulting smaller dataset to retrieve the sampled points that lie at an appropriate distance from the query. We show that the resulting sampled dataset has strong geometric structure, making approximate near neighbor search return the required samples much more efficiently than for worst case datasets of the same size. As an example application, we show that this approach yields a data structure that achieves query time µ -(1+o(1))/4 and space complexity µ -(1+o(1)) for the Gaussian kernel. Our data dependent approach achieves query time µ -0.173-o(1) and space µ -(1+o(1)) for the Gaussian kernel. The data dependent analysis relies on new techniques for tracking the geometric structure of the input datasets in a recursive hashing process that we hope will be of interest in other applications in near neighbor search.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 20 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • The Fine-Grained Complexity of Gradient Computation for Training Large Language Models 引用了 Fast Attention Requires Bounded Entries
  • The Fine-Grained Complexity of Gradient Computation for Training Large Language Models 引用了 HyperAttention: Long-context Attention in Near-Linear Time
  • The Fine-Grained Complexity of Gradient Computation for Training Large Language Models 引用了 Algorithm and Hardness for Dynamic Attention Maintenance in Large Language Models
  • HyperAttention: Long-context Attention in Near-Linear Time 引用了 KDEformer: Accelerating Transformers via Kernel Density Estimation
  • HyperAttention: Long-context Attention in Near-Linear Time 引用了 Fast Attention Requires Bounded Entries
  • Algorithm and Hardness for Dynamic Attention Maintenance in Large Language Models 引用了 Fast Attention Requires Bounded Entries
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper20

  1. Fast Attention Requires Bounded EntriesJosh Alman, Zhao SongNeurIPS 2023 · 115 次引用
  2. HyperAttention: Long-context Attention in Near-Linear TimeInsu Han, Rajesh Jayaram, Amin Karbasi, Vahab Mirrokni 等ICLR 2024 · 104 次引用
  3. KDEformer: Accelerating Transformers via Kernel Density EstimationAmir Zandieh, Insu Han, Majid Daliri, Amin KarbasiICML 2023 · 55 次引用
  4. Algorithm and Hardness for Dynamic Attention Maintenance in Large Language ModelsJan van den Brand, Zhao Song, Tianyi ZhouICML 2024 · 35 次引用
  5. The Fine-Grained Complexity of Gradient Computation for Training Large Language ModelsJosh Alman, Zhao SongNeurIPS 2024 · 33 次引用

它引用的 Paper1

  1. Oblivious Sketching of High-Degree Polynomial KernelsThomas D. Ahle, Michael Kapralov, Jakob Bæk Tejs Knudsen, Rasmus Pagh 等SODA 2020 · 42 次引用

相关 Paper

  1. A Quasi-Monte Carlo Data Structure for Smooth Kernel EvaluationsMoses Charikar, Michael Kapralov, Erik WaingartenSODA 2024 · 2 次引用
  2. Statistical-Computational Trade-offs for Density EstimationAnders Aamand, Alexandr Andoni, Justin Y. Chen, Piotr Indyk 等NeurIPS 2024 · 2 次引用
  3. Dynamic Similarity Graph Construction with Kernel Density EstimationSteinar Laenen, Peter Macgregor, He SunICML 2025
  4. On Adaptive Distance EstimationYeshwanth Cherapanamjeri, Jelani NelsonNeurIPS 2020 · 34 次引用
  5. Data Structures for Density EstimationAnders Aamand, Alexandr Andoni, Justin Y. Chen, Piotr Indyk 等ICML 2023 · 6 次引用
黄昏的海面,两侧是细线勾勒的悬崖