Greed is Good: A Unifying Perspective on Guided Generation
About
Training-free guided generation is a widely used and powerful technique that allows the end user to exert further control over the generative process of flow/diffusion models. Generally speaking, two families of techniques have emerged for solving this problem for gradient-based guidance: namely, posterior guidance (i.e., guidance via projecting the current sample to the target distribution via the target prediction model) and end-to-end guidance (i.e., guidance by performing backpropagation throughout the entire ODE solve). In this work, we show that these two seemingly separate families can actually be unified by looking at posterior guidance as a greedy strategy of end-to-end guidance. We explore the theoretical connections between these two families and provide an in-depth theoretical of these two techniques relative to the continuous ideal gradients. Motivated by this analysis we then show a method for interpolating between these two families enabling a trade-off between compute and accuracy of the guidance gradients. We then validate this work on several inverse image problems and property-guided molecular generation.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| 4x super-resolution | FFHQ 256x256 | PSNR27.98 | 61 | |
| Gaussian deblur | FFHQ 256 x 256 | LPIPS0.181 | 40 | |
| Nonlinear Deblur | FFHQ 256 x 256 | LPIPS0.327 | 27 | |
| Motion Deblur | FFHQ 256x256 | LPIPS0.203 | 25 | |
| Phase Retrieval | FFHQ 256 x 256 | LPIPS0.595 | 23 | |
| Inpaint (random) | FFHQ 256 x 256 | PSNR31.03 | 21 | |
| Inpaint (box) | FFHQ 256 x 256 | PSNR24.08 | 18 | |
| HDR | FFHQ 256 x 256 | LPIPS0.16 | 17 | |
| Gaussian Deblurring | FFHQ 100 (val) | PSNR28.36 | 5 | |
| Inpaint (random) | FFHQ 100 (val) | PSNR31.03 | 5 |