Command Palette
Search for a command to run...
PaddingFlow: Improving Normalizing Flows with Padding-Dimensional Noise
Qinglong Meng Chongkun Xia Xueqian Wang

Abstract
Normalizing flow is a generative modeling approach with efficient sampling. However, Flow-based models suffer two issues: 1) If the target distribution is manifold, due to the unmatch between the dimensions of the latent target distribution and the data distribution, flow-based models might perform badly. 2) Discrete data might make flow-based models collapse into a degenerate mixture of point masses. To sidestep such two issues, we propose PaddingFlow, a novel dequantization method, which improves normalizing flows with padding-dimensional noise. To implement PaddingFlow, only the dimension of normalizing flows needs to be modified. Thus, our method is easy to implement and computationally cheap. Moreover, the padding-dimensional noise is only added to the padding dimension, which means PaddingFlow can dequantize without changing data distributions. Implementing existing dequantization methods needs to change data distributions, which might degrade performance. We validate our method on the main benchmarks of unconditional density estimation, including five tabular datasets and four image datasets for Variational Autoencoder (VAE) models, and the Inverse Kinematics (IK) experiments which are conditional density estimation. The results show that PaddingFlow can perform better in all experiments in this paper, which means PaddingFlow is widely suitable for various tasks. The code is available at: https://github.com/AdamQLMeng/PaddingFlow.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| density-estimation-on-bsds300 | PaddingFlow | CD: 0.495 EMD: 0.0248 MMD-CD: 0.48 MMD-EMD: 0.0212 |
| density-estimation-on-caltech-101 | PaddingFlow | COV-L2: 98.7% MMD-L2: 17.9 |
| density-estimation-on-freyfaces | PaddingFlow | COV-L2: 100% MMD-L2: 0.621 |
| density-estimation-on-mnist | PaddingFlow | COV-L2: 100% MMD-L2: 11.0 |
| density-estimation-on-omniglot | PaddingFlow | COV-L2: 98.8% MMD-L2: 20.3 |
| density-estimation-on-uci-gas | PaddingFlow | CD: 0.89 EMD: 0.131 MMD-CD: 0.39 MMD-EMD: 0.121 |
| density-estimation-on-uci-hepmass | PaddingFlow | CD: 13.8 EMD: 0.161 MMD-CD: 13.7 MMD-EMD: 0.153 |
| density-estimation-on-uci-miniboone | PaddingFlow | CD: 24.5 EMD: 0.268 MMD-CD: 24.0 MMD-EMD: 0.255 |
| density-estimation-on-uci-power | PaddingFlow | CD: 0.142 EMD: 0.105 MMD-CD: 0.135 MMD-EMD: 0.098 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.