# Fast Kernel Density Estimation with Density Matrices and Random Fourier Features

arXiv: https://arxiv.org/abs/2208.01206 · HTML: https://mlsanity.com/paper/2208.01206/

## Key facts

- Cited by 2 papers in the map (data through 14 Oct 2026).
- Builds on 6 of its 29 references that are in the map.
- First posted on arXiv 2 Aug 2022.

## Builds on (most cited first, 6 of 6)

- [Variational Inference with Normalizing Flows](https://mlsanity.com/paper/1505.05770/) (2015)
- [Masked Autoregressive Flow for Density Estimation](https://mlsanity.com/paper/1705.07057/) (2017)
- [Learning with Density Matrices and Random Features](https://mlsanity.com/paper/2102.04394/) (2021)
- [Kernel density estimation based sampling for imbalanced class distribution](https://mlsanity.com/paper/1910.07842/) (2019)
- [Quantum Adaptive Fourier Features for Neural Density Estimation](https://mlsanity.com/paper/2208.00564/) (2022)
- [Quantum-Classical Machine learning by Hybrid Tensor Networks](https://mlsanity.com/paper/2005.09428/) (2020)

## Built on by (most cited first, 2 of 2)

- [MEMO-QCD: Quantum Density Estimation through Memetic Optimisation for Quantum Circuit Design](https://mlsanity.com/paper/2406.08591/) (2024)
- [Defining Operational Conditions for Safety-Critical AI-Based Systems from Data](https://mlsanity.com/paper/2601.22118/) (2026)

## Abstract (arXiv)

Kernel density estimation (KDE) is one of the most widely used nonparametric density estimation methods. The fact that it is a memory-based method, i.e., it uses the entire training data set for prediction, makes it unsuitable for most current big data applications. Several strategies, such as tree-based or hashing-based estimators, have been proposed to improve the efficiency of the kernel density estimation method. The novel density kernel density estimation method (DMKDE) uses density matrices, a quantum mechanical formalism, and random Fourier features, an explicit kernel approximation, to produce density estimates. This method has its roots in the KDE and can be considered as an approximation method, without its memory-based restriction. In this paper, we systematically evaluate the novel DMKDE algorithm and compare it with other state-of-the-art fast procedures for approximating the kernel density estimation method on different synthetic data sets. Our experimental results show that DMKDE is on par with its competitors for computing density estimates and advantages are shown when performed on high-dimensional data. We have made all the code available as an open source software repository.
