Abstract
Approximate Bayesian Computation (ABC) is a powerful framework for inference in simulator-based models where likelihood functions are intractable. However, traditional ABC relies heavily on hand-crafted summary statistics, which can introduce bias or inefficiency. This paper introduces a more efficient and automated ABC approach using a Kullback-Leibler (KL) divergence estimator based on $k$-nearest neighbor density estimation. This method achieves a linearithmic time complexity of $O(n \log n)$, making it significantly more scalable than alternatives like Wasserstein distance or Maximum Mean Discrepancy (MMD). We demonstrate that the KL-based discrepancy provides state-of-the-art posterior accuracy across several benchmark models without requiring expert-designed summary statistics.
Introduction
In fields such as evolutionary biology and economics, researchers often employ complex simulators to model phenomena. While these models are generative, their likelihood functions—the probability of observing specific data given parameters—are often impossible to compute analytically. ABC addresses this by comparing simulated data to observed data. The primary challenge in ABC is defining a "discrepancy" measure that accurately captures the difference between datasets. Historically, this required manually selecting summary statistics, a process prone to human error and the "expert-intuition" bottleneck.
Methodology
The authors propose a KL divergence estimator derived from $k$-nearest neighbor (k-NN) density estimation. By treating observed and simulated data as samples from two distinct distributions, the method uses a 1-nearest neighbor approach to estimate the divergence. A key advantage of this approach is its computational efficiency; by utilizing $k$-d trees for nearest neighbor searches, the complexity is reduced to $O(n \log n)$. This is a substantial improvement over $O(n^2)$ or $O(n^3)$ scaling seen in other likelihood-free measures like MMD or Wasserstein distance. Furthermore, the paper establishes the asymptotic consistency of the resulting "quasi-posterior," ensuring it concentrates around true parameter values as data volume increases.
Experimental Evaluation
The method was tested on five benchmark models, including the Bivariate Gaussian Mixture Model and the M/G/1 Queuing Model. These models test the algorithm's ability to distinguish overlapping subpopulations and its sensitivity to parameter changes.
In the Bivariate Gaussian Mixture Model (Figure 1), the KL divergence method (panel a) demonstrates superior performance in identifying the true parameters compared to other discrepancies like Wasserstein distance (panel b) or Classification Accuracy (panel d). The KL-based posterior is more concentrated and correctly centered on the ground truth, indicated by the crosshairs.
Results and Discussion
The KL-based approach consistently produced higher-quality posteriors. In the M/G/1 queuing model, a standard benchmark for service times, the method yielded significantly tighter estimates.
As shown in Figure 3, the marginal posterior densities for the M/G/1 parameters ($\theta_1, \theta_2, \theta_3$) are much sharper for the KL method (dark blue) than for competing methods. This precision is achieved without the need for auxiliary models or manual summary statistic selection. Additionally, the $O(n \log n)$ complexity was empirically verified to provide significant speedups for large sample sizes, confirming the method's practicality for big-data applications.
Conclusion
By integrating the "spirit" of Maximum Likelihood Estimation into the likelihood-free world via KL divergence, the authors have provided a robust, automated, and scalable tool for ABC. While the method requires moderately large sample sizes for optimal performance, its ability to bypass expert-designed statistics while maintaining computational efficiency represents a significant advancement in Bayesian inference for complex simulators. Future work will focus on refining convergence rates for finite datasets and addressing potential biases in imbalanced sample sizes.
Summary updated