# Bounded KRnet and its applications to density estimation and approximation

arXiv: https://arxiv.org/abs/2305.09063 · HTML: https://mlsanity.com/paper/2305.09063/

## Key facts

- Cited by 7 papers in the map (data through 14 Oct 2026).
- Builds on 26 of its 55 references that are in the map.
- First posted on arXiv 15 May 2023.

## Builds on (most cited first, 26 of 26)

- [Adam: A Method for Stochastic Optimization](https://mlsanity.com/paper/1412.6980/) (2014)
- [Density estimation using Real NVP](https://mlsanity.com/paper/1605.08803/) (2016)
- [Glow: Generative Flow with Invertible 1x1 Convolutions](https://mlsanity.com/paper/1807.03039/) (2018)
- [NICE: Non-linear Independent Components Estimation](https://mlsanity.com/paper/1410.8516/) (2014)
- [Masked Autoregressive Flow for Density Estimation](https://mlsanity.com/paper/1705.07057/) (2017)
- [Improving Variational Inference with Inverse Autoregressive Flow](https://mlsanity.com/paper/1606.04934/) (2016)
- [Neural Spline Flows](https://mlsanity.com/paper/1906.04032/) (2019)
- [The Deep Ritz method: A deep learning-based numerical algorithm for solving variational problems](https://mlsanity.com/paper/1710.00211/) (2017)
- [Flow++: Improving Flow-Based Generative Models with Variational Dequantization and Architecture Design](https://mlsanity.com/paper/1902.00275/) (2019)
- [Neural Importance Sampling](https://mlsanity.com/paper/1808.03856/) (2018)
- [Physics-Informed Generative Adversarial Networks for Stochastic Differential Equations](https://mlsanity.com/paper/1811.02033/) (2018)
- [Adversarial Uncertainty Quantification in Physics-Informed Neural Networks](https://mlsanity.com/paper/1811.04026/) (2018)
- [A Tutorial on Kernel Density Estimation and Recent Advances](https://mlsanity.com/paper/1704.03924/) (2017)
- [Coupling-based Invertible Neural Networks Are Universal Diffeomorphism Approximators](https://mlsanity.com/paper/2006.11469/) (2020)
- [DAS-PINNs: A deep adaptive sampling method for solving high-dimensional partial differential equations](https://mlsanity.com/paper/2112.14038/) (2021)
- [On the representation and learning of monotone triangular transport maps](https://mlsanity.com/paper/2009.10303/) (2020)
- [PFNN: A Penalty-Free Neural Network Method for Solving a Class of Second-Order Boundary-Value Problems on Complex Geometries](https://mlsanity.com/paper/2004.06490/) (2020)
- [Cubic-Spline Flows](https://mlsanity.com/paper/1906.02145/) (2019)
- [Normalizing field flows: Solving forward and inverse stochastic differential equations using physics-informed flow models](https://mlsanity.com/paper/2108.12956/) (2021)
- [Adaptive deep density approximation for Fokker-Planck equations](https://mlsanity.com/paper/2103.11181/) (2021)
- [On minimax density estimation via measure transport](https://mlsanity.com/paper/2207.10231/) (2022)
- [Solving time dependent Fokker-Planck equations via temporal normalizing flow](https://mlsanity.com/paper/2112.14012/) (2021)
- [Trend to Equilibrium for the Kinetic Fokker-Planck Equation via the Neural Network Approach](https://mlsanity.com/paper/1911.09843/) (2019)
- [VAE-KRnet and its applications to variational Bayes](https://mlsanity.com/paper/2006.16431/) (2020)
- [Augmented KRnet for density estimation and approximation](https://mlsanity.com/paper/2105.12866/) (2021)
- [Adaptive deep density approximation for fractional Fokker-Planck equations](https://mlsanity.com/paper/2210.14402/) (2022)

## Built on by (most cited first, 7 of 7)

- [Adversarial Adaptive Sampling: Unify PINN and Optimal Transport for the Approximation of PDEs](https://mlsanity.com/paper/2305.18702/) (2023)
- [Estimating Committor Functions via Deep Adaptive Sampling on Rare Transition Paths](https://mlsanity.com/paper/2501.15522/) (2025)
- [A friendly introduction to triangular transport](https://mlsanity.com/paper/2503.21673/) (2025)
- [A hybrid FEM-PINN method for time-dependent partial differential equations](https://mlsanity.com/paper/2409.02810/) (2024)
- [Integral regularization PINNs for evolution equations](https://mlsanity.com/paper/2503.23729/) (2025)
- [Adaptive importance sampling for Deep Ritz](https://mlsanity.com/paper/2310.17185/) (2023)
- [A transition-density-based operator learning method for Fokker-Planck equations with various initial conditions](https://mlsanity.com/paper/2606.09434/) (2026)

## Abstract (arXiv)

In this paper, we develop an invertible mapping, called B-KRnet, on a bounded domain and apply it to density estimation/approximation for data or the solutions of PDEs such as the Fokker-Planck equation and the Keller-Segel equation. Similar to KRnet, B-KRnet consists of a series of coupling layers with progressively fewer active transformation dimensions, inspired by the triangular structure of the Knothe-Rosenblatt (KR) rearrangement. The main difference between B-KRnet and KRnet is that B-KRnet is defined on a hypercube while KRnet is defined on the whole space, in other words, a new mechanism is introduced in B-KRnet to maintain the exact invertibility. Using B-KRnet as a transport map, we obtain an explicit probability density function (PDF) model that corresponds to the pushforward of a base (uniform) distribution on the hypercube. It can be directly applied to density estimation when only data are available. By coupling KRnet and B-KRnet, we define a deep generative model on a high-dimensional domain where some dimensions are bounded and other dimensions are unbounded. A typical case is the solution of the stationary kinetic Fokker-Planck equation, which is a PDF of position and momentum. Based on B-KRnet, we develop an adaptive learning approach to approximate partial differential equations whose solutions are PDFs or can be treated as PDFs. A variety of numerical experiments is presented to demonstrate the effectiveness of B-KRnet.
