[论文解读] Your GAN is Secretly an Energy-based Model and You Should use Discriminator Driven Latent Sampling
本文提出判别器驱动潜在采样(DDLS),通过将判别器的logit分数用作能量函数,重新加权生成器的隐式密度,从而提升GAN生成样本的质量。通过在潜在空间中执行Langevin MCMC,DDLS在无需额外训练或参数的情况下提升了样本质量,在预训练的SN-GAN上于CIFAR-10上实现了9.09的全新SOTA Inception Score。
We show that the sum of the implicit generator log-density $\log p_g$ of a GAN with the logit score of the discriminator defines an energy function which yields the true data density when the generator is imperfect but the discriminator is optimal, thus making it possible to improve on the typical generator (with implicit density $p_g$). To make that practical, we show that sampling from this modified density can be achieved by sampling in latent space according to an energy-based model induced by the sum of the latent prior log-density and the discriminator output score. This can be achieved by running a Langevin MCMC in latent space and then applying the generator function, which we call Discriminator Driven Latent Sampling~(DDLS). We show that DDLS is highly efficient compared to previous methods which work in the high-dimensional pixel space and can be applied to improve on previously trained GANs of many types. We evaluate DDLS on both synthetic and real-world datasets qualitatively and quantitatively. On CIFAR-10, DDLS substantially improves the Inception Score of an off-the-shelf pre-trained SN-GAN~\citep{sngan} from $8.22$ to $9.09$ which is even comparable to the class-conditional BigGAN~\citep{biggan} model. This achieves a new state-of-the-art in unconditional image synthesis setting without introducing extra parameters or additional training.
研究动机与目标
- 解决尽管判别器最优,但生成器不完美导致GAN生成次优样本的局限性。
- 开发一种实用方法,在不重新训练或增加参数的情况下提升预训练GAN的样本质量。
- 证明生成器对数密度与判别器logit之和构成一个有效的能量函数,可用于采样。
提出的方法
- 本文指出,当判别器最优时,生成器对数密度与判别器logit分数之和可构成一个近似真实数据密度的能量函数。
- 构建一个结合先验对数密度与判别器输出的潜在空间能量基模型,通过Langevin MCMC实现高效采样。
- DDLS在潜在空间中使用该能量函数执行MCMC采样,然后将采样结果通过生成器映射为改进的图像。
- 该方法避免在高维像素空间中采样,相比先前的能量基方法更具计算效率。
- 利用判别器分数作为数据似然的代理,实现无需显式密度估计的基于分数的优化。
- 该方法与模型无关,适用于任何预训练GAN,仅需在推理阶段进行潜在空间采样。
实验结果
研究问题
- RQ1是否可利用判别器输出定义一个有意义的能量函数以改进生成器样本?
- RQ2是否可能在不重新训练生成器的情况下,于潜在空间中从优化后的能量基分布中采样?
- RQ3DDLS在样本质量和计算效率方面与现有方法相比如何?
- RQ4DDLS是否可在无需额外训练的情况下实现无条件图像生成基准的SOTA性能?
- RQ5该方法是否在不同GAN架构和数据集上具有泛化能力?
主要发现
- DDLS将预训练SN-GAN在CIFAR-10上的Inception Score从8.22提升至9.09,实现了无条件图像生成的全新SOTA。
- 该提升完全不依赖于生成器的额外训练或参数更新。
- 该方法计算高效,仅在潜在空间中操作,而非高维像素空间,显著降低计算成本。
- DDLS适用于多种GAN类型,在合成数据集和真实世界数据集上均表现出一致的定性和定量提升。
- 该方法表明,GAN通过判别器隐式定义了一个能量函数,从而实现对生成样本的合理优化。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。