PaddingFlow: Improving Normalizing Flows with Padding-Dimensional Noise
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Generative Modeling | MNIST (test) | -- | 35 | |
| Generative Modeling | Omniglot (test) | -- | 8 | |
| Unconditional Density Estimation | MINIBOONE UCI (test) | Average CD24.5 | 5 | |
| Inverse Kinematics | Panda Manipulator 150,000 random IK problems (test) | Position Error (mm)5.96 | 3 | |
| Unconditional Density Estimation | Power UCI (test) | Average CD0.142 | 3 | |
| Unconditional Density Estimation | GAS UCI (test) | Average CD0.89 | 3 | |
| Generative Modeling | Frey Faces (test) | Cross Entropy1.67e+3 | 2 | |
| Generative Modeling | Caltech-101 Silhouettes (test) | Cross Entropy60.2 | 2 | |
| Unconditional Density Estimation | HEPMASS UCI (test) | Avg CD13.8 | 2 |