Introduction
Density estimation is a fundamental task in statistics and machine learning, aiming to reconstruct the underlying probability distribution from a finite set of observations. Traditional methods like histograms are often limited by grid dependency, while Kernel Density Estimation (KDE) can suffer from bias introduced by the fixed shape of the chosen kernel. The Voronoi Density Estimator (VDE) offers a more adaptive alternative by partitioning the space into cells based on the local geometry of the data. However, VDE has historically been restricted to two or three dimensions due to the exponential growth of computational complexity in higher-dimensional spaces.
The Challenge of High Dimensions
The standard VDE defines the density at a point as inversely proportional to the volume of the Voronoi cell containing it. In high-dimensional spaces, two primary obstacles arise:
- Computational Complexity: Explicitly calculating the volume of a high-dimensional Voronoi polytope is computationally infeasible.
- Unbounded Cells: Cells on the periphery of a dataset often have infinite volume. While researchers have previously used bounding boxes to truncate these cells, this approach introduces significant bias in high dimensions.
Compactification: The CVDE Approach
To address these issues, the authors propose the Compactified Voronoi Density Estimator (CVDE). Instead of assuming a uniform density within each Voronoi cell, CVDE applies a kernel function (such as a Gaussian) centered at each data point. This "compactification" ensures that every cell—including those that would otherwise be infinite—has a finite, integrable measure.
By utilizing kernels, the CVDE eliminates the need for arbitrary bounding boxes and allows the estimator to capture sharper local features without the "oversmoothing" often seen in standard KDE. Unlike KDE, which sums contributions from all points, CVDE only considers the kernel of the closest generator, allowing for better local adaptivity.
Efficient Computation via Raycasting
A key contribution of this work is a method to estimate cell volumes without explicitly constructing the polytopes. The authors employ a raycasting algorithm combined with Monte Carlo spherical integration. By calculating the "directional radius" of a cell along a set of random vectors, the volume can be numerically approximated with high precision.
This approach, implemented in C++ and parallelized via OpenCL, makes Voronoi-based estimation practical for dimensions $n > 3$. The authors found that approximately 5,000 directions are sufficient for the volume estimation to stabilize, even in high-dimensional settings. To sample from the resulting density, they utilize a Hit-and-Run Markov Chain Monte Carlo (MCMC) approach.
Theoretical Convergence and Empirical Results
The paper provides a formal proof that the CVDE converges to the true underlying distribution. Notably, unlike KDE—which requires the kernel bandwidth to shrink toward zero as the sample size increases—CVDE can achieve convergence even with a fixed bandwidth.
Empirical evaluations were conducted on synthetic data, MNIST handwritten digits (projected to 10D), and Anuran frog call features (21D). In these tests, CVDE consistently outperformed both standard and adaptive KDE in terms of average log-likelihood. Visualizations demonstrated that while standard VDE in 10D produces samples that look like a uniform box due to edge bias, CVDE samples closely mirror the original data distribution.
Conclusion
The Compactified Voronoi Density Estimator represents a significant advancement in non-parametric density estimation. By overcoming the computational and boundary limitations of traditional Voronoi methods, CVDE provides a robust tool for high-dimensional data analysis. Future work may extend this framework to non-Euclidean Riemannian manifolds, further broadening its applicability to complex scientific datasets.
Summary updated