
An Efficient and Continuous Voronoi Density Estimator
compute in high dimensions. Although this has been re-
cently attenuated by proposing Monte Carlo approxima-
tions (Polianskii et al. 2022), VDE falls behind methods
such as KDE in terms of computational complexity. Sec-
ond, VDE (together with its generalized version from Po-
lianskii et al. 2022 deemed CVDE) is highly discontin-
uous on the boundaries of Voronoi cells. The estimated
PDF consequently suffers from large variance and instabil-
ity with respect to the dataset. This is again in contrast to
KDE, which is continuous in its ambient space.
In this work, we propose a novel non-parametric den-
sity estimator deemed Radial Voronoi Density Estimator
(RVDE) which addresses the above challenges. Similarly
to VDE, RVDE integrates to a constant on Voronoi cells
and thus shares its local geometric advantages and conver-
gence properties. In contrast to VDE, RVDE is continuous
and computable in linear time with respect to the dataset
size. The central idea behind RVDE is to define the PDF
radially from the datapoints so that the (conic) integral over
the ray cast in the corresponding Voronoi cell is constant
(see Figure 1). This is achieved via a ‘radial bandwidth’
which is defined implicitly by an integral equation. Intu-
itively, the radial approach reduces the high-dimensional
geometric challenge of defining a Voronoi-based estima-
tor to a one-dimensional problem. This avoids the expen-
sive volume computations of the original VDE and guar-
antees continuity because of the fundamental properties of
Voronoi tessellations. Another important aspect of RVDE
is its geometric distribution of modes. We show that the
modes either coincide with the datapoints or lie along the
edges of the Gabriel graph (Gabriel et al. 1969) depending
on a hyperparameter analogous to the bandwidth in KDE.
We compare RVDE with CVDE, KDE and the adaptive
version of the latter in a series of experiments. RVDE out-
performs the baselines in terms of the quality of the esti-
mated density on a variety of datasets. Moreover, it runs
significantly faster and with lower sampling variance com-
pared to CVDE. This empirically confirms that the geomet-
ric and continuity properties of RVDE translate into bene-
fits for the estimated density in a computationally efficient
manner. We provide an implementation of RVDE (together
with baselines and experiments) in C++ at a publicly avail-
able repository 1. The code is parallelized via the OpenCL
framework and comes with a Python interface. In summary
our contributions include:
• A novel density estimator (RVDE) based on the geom-
etry of Voronoi tessellations which is continuous and
computationally efficient.
• A complete study of the modes of RVDE and their
geometric distribution.
1https://github.com/giovanni-marchetti/
rvde
• An empirical investigation comparing RVDE to KDE
(together with its adaptive version) and previously
studied VDEs.
2 RELATED WORK
2.1 Non-parametric Density Estimation
Non-parametric methods for density estimation trace back
to the introduction of histograms (Pearson 1894). His-
tograms have been extended by considering bin geometries
beyond the canonical rectangular one, for example triangu-
lar (Scott 1988) and hexagonal (Carr et al. 1992) geome-
tries. Another popular density estimator is KDE, first dis-
cussed by Rosenblatt 1956 and Parzen 1962. The estimated
density is a mixture of copies of a priorly chosen distribu-
tion (‘kernel’) centered at the datapoints. KDE has been
extended to the multivariate case (Izenman 1991; Dehnad
1987) and has seen improvements such as bandwidth se-
lection methods (Marron 1987; Wand et al. 1994) and al-
gorithms for adaptive bandwidths (Wang et al. 2007; Walt
et al. 2017). Applications of KDE include estimation of
traffic incidents (Xie et al. 2008), of archaeological data
(Baxter et al. 1997) and of wind speed (Bo et al. 2017) to
name a few. As discussed in Section 1, both KDE and his-
tograms suffer from lack of geometric adaptiveness due to
the choice of prior local geometries.
Another class of non-parametric methods are the orthog-
onal density estimators (Vannucci 1995; Masry 1997).
Those consist of choosing a discretized orthonormal basis
of functions and computing the coefficients of the ground-
truth density via Monte-Carlo integration over the dataset.
When the basis is the Fourier one, the estimator is referred
to as ‘wavelet estimator’. The core drawback is that orthog-
onal density estimators do not scale efficiently to higher
dimensions. When considering canonical tensor product
bases the complexity grows exponentially w.r.t. the dimen-
sionality (Walter 1995), making the estimator unfeasible to
compute.
2.2 Voronoi Density Estimators
The first Voronoi Density Estimator (VDE) has been pi-
oneered by Ord 1978. The estimated density relies on
Voronoi tessellations in order to achieve local geometric
adaptiveness. This is the main advantage of VDE over
methods such as KDE. The original VDE has seen appli-
cations to real-world densities such as neurons in the brain
(Duyckaerts et al. 1994), photons (Ebeling et al. 1993)
and stars in a galaxy (Vavilova et al. 2021). However, the
method is not immediately extendable to high-dimensional
spaces because of unfeasible computational complexity of
volumes and abundance of unbounded Voronoi cells. This
has been only recently amended by Polianskii et al. 2022
by introducing approximate numerical algorithms and by