[Paper Review] Deep Learning for Sampling from Arbitrary Probability Distributions.
This paper proposes a fully connected neural network that learns to map uniform random variables to samples from any known one-dimensional probability distribution by minimizing Jensen-Shannon divergence during training. The method achieves high sampling efficiency, supports both independent and correlated sampling, and generalizes to arbitrary distributions without analytical or numerical pre-processing, including a demonstrated two-dimensional extension.
This paper proposes a fully connected neural network model to map samples from a uniform distribution to samples of any explicitly known probability density function. During the training, the Jensen-Shannon divergence between the distribution of the model's output and the target distribution is minimized. We experimentally demonstrate that our model converges towards the desired state. It provides an alternative to existing sampling methods such as inversion sampling, rejection sampling, Gaussian mixture models and Markov-Chain-Monte-Carlo. Our model has high sampling efficiency and is easily applied to any probability distribution, without the need of further analytical or numerical calculations. It can produce correlated samples, such that the output distribution converges faster towards the target than for independent samples. But it is also able to produce independent samples, if single values are fed into the network and the input values are independent as well. We focus on one-dimensional sampling, but additionally illustrate a two-dimensional example with a target distribution of dependent variables.
Motivation & Objective
- To develop a neural network-based sampling method that bypasses traditional analytical or numerical techniques for arbitrary probability distributions.
- To enable high-efficiency sampling from any explicitly known probability density function using a single, trainable model.
- To support both independent and correlated sampling by design, improving convergence speed in Monte Carlo applications.
- To demonstrate applicability beyond one-dimensional distributions, including multivariate cases with dependent variables.
- To provide a plug-and-play alternative to inversion sampling, rejection sampling, MCMC, and GMM-based methods.
Proposed method
- A fully connected feedforward neural network is trained to transform input samples from a uniform distribution into samples matching a target probability density function.
- The training objective minimizes the Jensen-Shannon divergence between the model's output distribution and the target distribution.
- Backpropagation is used to update network weights based on the JS divergence loss, enabling end-to-end learning of the sampling transformation.
- Input noise is drawn independently from a uniform distribution, and the network learns a deterministic mapping to the desired distribution.
- The model can generate correlated samples by feeding structured or dependent inputs, or independent samples by using independent inputs.
- The method is extended to two dimensions by modeling joint distributions with dependent variables, demonstrating generalization beyond univariate cases.
Experimental results
Research questions
- RQ1Can a deep neural network effectively learn to sample from an arbitrary probability distribution without analytical inversion or rejection steps?
- RQ2How does the sampling efficiency and convergence speed compare between independent and correlated outputs in this framework?
- RQ3To what extent can the model generalize to multivariate distributions with dependent components?
- RQ4Does minimizing Jensen-Shannon divergence lead to stable and accurate distribution matching in practice?
- RQ5Can this approach serve as a scalable, universal alternative to established sampling techniques like MCMC or rejection sampling?
Key findings
- The model successfully learns to map uniform inputs to the target distribution, with training convergence observed in experiments.
- Sampling efficiency is high, as the method avoids iterative or rejection-based steps common in traditional sampling.
- The network can generate both correlated and independent samples, with correlated sampling enabling faster convergence in Monte Carlo estimation.
- The method generalizes to two-dimensional distributions with dependent variables, demonstrating scalability beyond univariate cases.
- No additional analytical or numerical calculations are required post-training, enabling direct application to any known probability density function.
- The approach provides a universal, differentiable, and trainable alternative to inversion, rejection, and MCMC sampling methods.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.