Poisson Flow Generative Models

Yilun Xu, Ziming Liu, Max Tegmark, Tommi S. Jaakkola

TL;DR

Poisson Flow Generative Models (PFGM) introduce a novel family of generative models inspired by the physics of electrostatics. By treating data points as electrical charges in an augmented $(N+1)$-dimensional space, PFGM achieves state-of-the-art image generation quality that matches diffusion models while offering a 10x to 20x speedup in sampling.

What Problem Does This Paper Address?

The field of generative AI has long been dominated by a trade-off between speed and quality. Generative Adversarial Networks (GANs) are fast but notoriously difficult to train and prone to mode collapse. Variational Autoencoders (VAEs) and standard Normalizing Flows are stable but often produce blurry or lower-quality samples.

Recently, Diffusion and Score-based models have set the gold standard for image quality. However, they are inherently slow because they rely on a stochastic (random) process requiring thousands of steps to "denoise" an image. While researchers have attempted to use deterministic Ordinary Differential Equation (ODE) samplers to accelerate them, these often suffer a significant drop in performance compared to their stochastic counterparts. PFGM aims to bridge this gap, providing the stability and high quality of diffusion models with the deterministic speed of a physics-based flow.

Methods

The core innovation of PFGM is the Poisson field. Imagine your data points (like images in a dataset) are positive electrical charges sitting on a flat flat hyperplane (the $z=0$ plane).

Overview of the Poisson Flow Generative Model, showing the augmented hemisphere and the forward/backward ODE process.
  1. Dimension Augmentation: The authors add an extra dimension, $z$, to the $N$-dimensional data. This step is crucial; without it, the electric field lines would all collapse into the center of the data distribution, leading to mode collapse.
  2. The Physics Metaphor: In this augmented $(N+1)$-dimensional space, the data "charges" create a high-dimensional electric field (the gradient of the solution to the Poisson equation). If you let these charges "flow" upward along the electric field lines, they naturally repel each other.
  3. The Mapping: The authors prove a remarkable mathematical property using Gauss's Law: as these charges move toward infinity ($z \to \infty$), their distribution on a giant hemisphere of radius $r$ becomes perfectly uniform.
  4. Learning and Sampling: To generate data, the model reverses this physical process. It learns to estimate the normalized electric field in the augmented space using a neural network. For sampling, it starts with a uniform distribution on a high-dimensional hemisphere and follows the "backward ODE" (the reverse electric field) until it hits the $z=0$ plane, where the samples manifest as realistic data.
Illustration of why dimension augmentation is necessary to prevent mode collapse, alongside the mathematical mapping using Gauss's Law.

Datasets

The authors evaluated PFGM on standard computer vision benchmarks to ensure a fair comparison with existing state-of-the-art (SOTA) models:

  • CIFAR-10: $32 \times 32$ images, used for rigorous quantitative benchmarking (FID and Inception Score).
  • CelebA: $64 \times 64$ face images.
  • LSUN Bedroom: High-resolution $256 \times 256$ images to demonstrate the model's scalability.

Key Insights and Ideas

  • The $z$-Dimension as an Anchor: In diffusion models, "time" is an abstract parameter. In PFGM, the extra dimension $z$ has a physical, geometric meaning. Sampling is "anchored"—it starts at a large $z$ and ends exactly when $z=0$, ensuring samples hit the unaugmented data manifold.
  • Architectural Robustness: One of the most surprising findings is that PFGM is much more "forgiving" than score-based models. It produces high-quality samples even on weaker neural network architectures (like NCSNv2) where other ODE-based samplers fail completely.
  • Error Tolerance: The authors hypothesize that because the relationship between the "time" variable ($z$) and the norm of the samples is less strictly correlated than in diffusion models, PFGM is more robust to estimation errors made by the neural network during the flow.

Key Results

  • SOTA Performance: On CIFAR-10, PFGM achieved an Inception Score of 9.68 and an FID of 2.35, setting a new record for the normalizing flow family.
  • Massive Speedup: PFGM performs on par with the best SDE-based diffusion models but is 10x to 20x faster at generating images.
  • Step-Size Robustness: Using the simple Euler method for sampling, PFGM remains stable even when the number of function evaluations (NFE) is reduced to as low as 10–100, whereas the quality of other models degrades much faster under similar constraints.

Limitations and Future Work

  • Numerical Stiffness: The electric field follows a power-law decay ($1/r^N$), which can make the math "stiff" or difficult to solve numerically as you get very close to the data points. The authors used rescaling to help, but more sophisticated numerical treatments could improve it further.
  • Near-Field Divergence: Like real-world physics, the field can become singular (infinite) exactly at the location of a point charge. The authors suggest that "renormalization"—a trick from theoretical physics—might be a way to make the Poisson field even better behaved in future iterations.
  • Likelihood vs. Quality: While PFGM is excellent at generating samples, its "bits-per-dimension" (a measure of how well it models the probability density) is slightly behind some specialized models, suggesting a trade-off that future work could address.

Summary updated

BibTeX
@inproceedings{xu2022poisson,
  author = {Yilun Xu and Ziming Liu and Max Tegmark and Tommi S. Jaakkola},
  title = {{Poisson Flow Generative Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=JwFx4Lzd7K},
}
Figure