Flash-SD-KDE: Accelerating SD-KDE with Tensor Cores
Elliot Epstein, Rajat Vadiraj Dwaraknath, John Winnicki
NeurIPS page · Open on the map
Category: Causality, Privacy & Learning Theory › Conformal Calibration and Fairness · Type: new method · Keywords: score-debiased kernel density estimation, GPU acceleration, Tensor Cores, density estimation, large-scale KDE, matrix multiplication optimization
Summary
Flash-SD-KDE reorders SD-KDE computations to expose matrix-multiplication structure, enabling GPU Tensor Cores to accelerate score-debiased density estimation, achieving up to 47× speedup over prior GPU baselines and making million-sample estimation practical.
Explained to a 5-year-old
We have a way to count how many times things happen in a big group of data. Doing this accurately is hard because it takes a long time. We found a trick to rearrange the work so a special part of a computer can do it quickly. This makes the counting fast even when there are millions of items. Now we can do this counting in just a few seconds.
Explained to a 5-year-old, longer
Imagine you have a huge box of marbles and you want to know how many marbles look like each color. You could count them one by one, but that takes a very long time. A smarter way is to look at how the marbles are spread out and use a special math rule to guess the counts. This special rule works better than the old way, but it also needs a lot of computer work. The computer has to do many calculations that are similar to multiplying big numbers. By arranging the calculations in a certain order, a fast part of the computer called Tensor Cores can do them all at once. This makes the whole process much quicker. With this trick, the computer can finish counting for a million marbles in just a couple of seconds. Before this trick, it would have taken hours or days. The new method lets people use this accurate counting on big data sets they couldn't handle before. It helps scientists and engineers get fast, reliable answers without waiting for ages.
For a technical reader
The paper identifies a performance bottleneck in score-debiased kernel density estimation caused by empirical score calculations. By restructuring the algorithm to expose dense matrix multiplications, the authors leverage GPU Tensor Cores for massive parallel speedups. Experiments show up to 47× improvement over existing GPU implementations and 3,300× over scikit-learn’s reference KDE, enabling million-sample density estimation in seconds. This approach makes high-accuracy density estimation scalable for practical applications.
Problem
Score-debiased density estimation methods improve statistical accuracy but become prohibitively slow when applied to large datasets because they require costly empirical score computations.
Method
The approach reorders the computation to expose matrix-multiplication operations, allowing GPU Tensor Cores to accelerate the score-debiased density estimation. By leveraging this structure, the method achieves large speedups while preserving the statistical benefits of score-debiased estimation.
Results
The approach runs up to 47× faster than a strong baseline and 3,300× faster than scikit-learn's KDE on a 32k-sample problem, and processes a 1M-sample 16-D task with 131k queries in 2.3 seconds on a single GPU.
Contributions
The paper shows how reordering computations can expose matrix-multiplication structure, enabling GPU Tensor Core acceleration for score-debiased density estimation, and demonstrates speedups that make large-scale estimation feasible.
Practical relevance
The acceleration enables practical use of score-debiased density estimation on large datasets, opening new possibilities for statistical modeling at scale.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction