Polarity Sampling: Quality and Diversity Control of Pre-Trained Generative Networks via Singular Values
Ahmed Imtiaz Humayun, Randall Balestriero, Richard G. Baraniuk
Abstract
We present Polarity Sampling, a theoretically justified plug-and-play method for controlling the generation quality and diversity of any pre-trained deep generative network (DGN). Leveraging the fact that DGNs are, or can be ap-proximated by, continuous piecewise affine splines, we derive the analytical DGN output space distribution as a function of the product of the DGN's Jacobian singular values raised to a power p. We dub p the polarity param-eter and prove that p focuses the DGN sampling on the modes (p < 0) or anti-modes (p > 0) of the DGN output-space probability distribution. We demonstrate that nonzero polarity values achieve a better precision-recall (quality-diversity) Pareto frontier than standard methods, such as truncation, for a number of state-of-the-art DGNs. We also present quantitative and qualitative results on the improve-ment of overall generation quality (e.g., in terms of the Fréchet Inception Distance) for a number of state-of-the-art DGNs, including StyleGAN3, BigGAN-deep, NVAE, for different conditional and unconditional image generation tasks. In particular, Polarity Sampling redefines the state-of-the-art for StyleGAN2 on the FFHQ Dataset to FID 2.57, StyleGAN2 on the LSUN Car Dataset to FID 2.27 and Style-GAN3 on the AFHQv2 Dataset to FID 3.95. Colab Demo.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
11 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Self-Consuming Generative Models Go MAD cites Alias-Free Generative Adversarial Networks
- Self-Consuming Generative Models Go MAD cites Denoising Diffusion Probabilistic Models
- Unveiling the Latent Space Geometry of Push-Forward Generative Models cites NVAE: A Deep Hierarchical Variational Autoencoder
- Unveiling the Latent Space Geometry of Push-Forward Generative Models cites Alias-Free Generative Adversarial Networks
- Improved Denoising Diffusion Probabilistic Models cites NVAE: A Deep Hierarchical Variational Autoencoder
- Improved Denoising Diffusion Probabilistic Models cites Denoising Diffusion Probabilistic Models
- Debiasing Pretrained Generative Models by Uniformly Sampling Semantic Attributes cites Alias-Free Generative Adversarial Networks
- Debiasing Pretrained Generative Models by Uniformly Sampling Semantic Attributes cites Denoising Diffusion Probabilistic Models
- Diffusion Models Beat GANs on Image Synthesis cites NVAE: A Deep Hierarchical Variational Autoencoder
- Diffusion Models Beat GANs on Image Synthesis cites Improved Denoising Diffusion Probabilistic Models
- Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
Cited by top-tier papers11
- Self-Consuming Generative Models Go MADSina Alemohammad, Josue Casco-Rodriguez, Lorenzo Luzi, Ahmed Imtiaz Humayun et al.ICLR 2024 · 279 citations
- Deep Networks Always Grok and Here is WhyAhmed Imtiaz Humayun, Randall Balestriero, Richard G. BaraniukICML 2024 · 53 citations
- Characterizing Large Language Model Geometry Helps Solve Toxicity Detection and GenerationRandall Balestriero, Romain Cosentino, Sarath ShekkizharICML 2024 · 9 citations
- Debiasing Pretrained Generative Models by Uniformly Sampling Semantic AttributesWalter Gerych, Kevin Hickey, Luke Buquicchio, Kavin Chandrasekaran et al.NeurIPS 2023 · 4 citations
- Unveiling the Latent Space Geometry of Push-Forward Generative ModelsThibaut Issenhuth, Ugo Tanielian, Jérémie Mary, David PicardICML 2023 · 3 citations
Builds on14
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
- Improved Denoising Diffusion Probabilistic ModelsAlexander Quinn Nichol, Prafulla DhariwalICML 2021 · 5,234 citations
- Alias-Free Generative Adversarial NetworksTero Karras, Miika Aittala, Samuli Laine, Erik Härkönen et al.NeurIPS 2021 · 2,126 citations
- NVAE: A Deep Hierarchical Variational AutoencoderArash Vahdat, Jan KautzNeurIPS 2020 · 1,141 citations
Related papers
- MaGNET: Uniform Sampling from Deep Generative Network Manifolds Without RetrainingAhmed Imtiaz Humayun, Randall Balestriero, Richard G. BaraniukICLR 2022 · 34 citations
- Precision-Recall Divergence Optimization for Generative Modeling with GANs and Normalizing FlowsAlexandre Verine, Benjamin Négrevergne, Muni Sreenivas Pydi, Yann ChevaleyreNeurIPS 2023 · 13 citations
- Unsupervised K-modal styled content generationOmry Sendik, Dani Lischinski, Daniel Cohen-OrSIGGRAPH 2020 · 6 citations
- Analyzing and Improving the Image Quality of StyleGANTero Karras, Samuli Laine, Miika Aittala, Janne Hellsten et al.CVPR 2020
- CNN-Generated Images Are Surprisingly Easy to Spot... for NowSheng-Yu Wang, Oliver Wang, Richard Zhang, Andrew Owens et al.CVPR 2020
