Search papers, labs, and topics across Lattice.
BayesNDE introduces a novel Bayesian generative modeling approach for neural density estimation, circumventing the need for invertible networks or Jacobian computations. By inferring sample-specific latent posteriors, it constructs adaptive proposals that efficiently focus computation on relevant density regions, enabling accurate estimation via bridge sampling. Empirical results on synthetic and real-world datasets demonstrate superior density value estimation, structural recovery, and anomaly detection performance over existing state-of-the-art methods.
Bayesian generative models can now estimate densities without invertible transformations, achieving state-of-the-art performance by adaptively focusing computation.
Density estimation is a fundamental problem in statistics and machine learning. In this work, we introduce BayesNDE, a neural density estimator based on Bayesian generative modeling. BayesNDE learns a Bayesian generative model and evaluates its density without requiring invertible networks or Jacobian-determinant computation. For each observation, it infers a sample-specific latent posterior to construct an adaptive proposal that focuses computation on regions contributing most to its density. Bridge sampling then combines samples from this proposal with separate posterior samples to estimate the density. Experiments on nonlinear and multimodal synthetic datasets show improved estimation of density values and better recovery of the density structure compared to the state-of-the-art neural density estimators. Applications to real-world datasets further demonstrate improved anomaly detection. Together, these results highlight BayesNDE as a flexible and effective neural density estimator, demonstrating how posterior inference can turn generative models into tools for density estimation. The code and tutorials are available at https://github.com/liuq-lab/BayesNDE.