Skip to main content
QUICK REVIEW

[论文解读] On the Effectiveness of Least Squares Generative Adversarial Networks

Xudong Mao, Qing Li|arXiv (Cornell University)|Dec 18, 2017
Generative Adversarial Networks and Image SynthesisComputer Science参考文献 42被引用 16
一句话总结

本文提出最小二乘生成对抗网络(LSGANs),将标准 GAN 中判别器和生成器的 Sigmoid 交叉熵损失替换为最小二乘损失。通过最小化皮尔逊 χ² 散度,LSGANs 缓解了梯度消失问题,从而实现了比标准 GAN 更稳定的训练过程和更高质量的图像生成效果,LSGANs-GP 在 101 层 ResNet 等复杂架构上的稳定性可与 WGANs-GP 相媲美。

ABSTRACT

Unsupervised learning with generative adversarial networks (GANs) has proven to be hugely successful. Regular GANs hypothesize the discriminator as a classifier with the sigmoid cross entropy loss function. However, we found that this loss function may lead to the vanishing gradients problem during the learning process. To overcome such a problem, we propose in this paper the Least Squares Generative Adversarial Networks (LSGANs) which adopt the least squares loss for both the discriminator and the generator. We show that minimizing the objective function of LSGAN yields minimizing the Pearson $χ^2$ divergence. We also show that the derived objective function that yields minimizing the Pearson $χ^2$ divergence performs better than the classical one of using least squares for classification. There are two benefits of LSGANs over regular GANs. First, LSGANs are able to generate higher quality images than regular GANs. Second, LSGANs perform more stably during the learning process. For evaluating the image quality, we conduct both qualitative and quantitative experiments, and the experimental results show that LSGANs can generate higher quality images than regular GANs. Furthermore, we evaluate the stability of LSGANs in two groups. One is to compare between LSGANs and regular GANs without gradient penalty. We conduct three experiments, including Gaussian mixture distribution, difficult architectures, and a newly proposed method --- datasets with small variability, to illustrate the stability of LSGANs. The other one is to compare between LSGANs with gradient penalty (LSGANs-GP) and WGANs with gradient penalty (WGANs-GP). The experimental results show that LSGANs-GP succeed in training for all the difficult architectures used in WGANs-GP, including 101-layer ResNet.

研究动机与目标

  • 解决标准 GAN 在生成器训练过程中出现的梯度消失问题。
  • 提升深度生成模型的训练稳定性和图像质量。
  • 探究最小化皮尔逊 χ² 散度是否能带来优于标准 GAN 目标函数的生成性能。
  • 评估 LSGANs 与带梯度惩罚的 LSGANs(LSGANs-GP)在复杂架构和数据集上的有效性。

提出的方法

  • 将标准 GAN 中判别器和生成器的 Sigmoid 交叉熵损失替换为最小二乘损失。
  • 制定目标函数以最小化真实数据分布与生成数据分布之间的皮尔逊 χ² 散度。
  • 采用超参数 c=30 和 λ=150 的梯度惩罚,对 LSGANs 进行改进(LSGANs-GP),遵循 WGAN-GP 的设置。
  • 使用包含 LeNet 类似判别器和三个转置卷积层的稳定架构,用于图像生成任务。
  • 在 MNIST、SVHN、LSUN 和数据可变性不同的合成数据集上,对 LSGANs 与 NS-GANs 和 WGANs-GP 进行训练与对比。
  • 通过 FID 分数、视觉质量以及在包括 101 层 ResNet 在内的多种架构上的训练动态,评估性能。

实验结果

研究问题

  • RQ1将标准 GAN 损失替换为最小二乘损失是否能提升训练稳定性和图像质量?
  • RQ2最小化皮尔逊 χ² 散度是否能带来优于最小化交叉熵或最小二乘损失的分类目标的生成性能?
  • RQ3在 101 层 ResNet 等复杂架构上,LSGANs-GP 与 WGANs-GP 在稳定性和性能上的表现如何比较?
  • RQ4通过数据增强提高数据集可变性,是否能增强 LSGANs 避免模式崩溃的能力?

主要发现

  • LSGANs 生成的图像质量优于标准 GAN,该结论在 MNIST、SVHN 和 LSUN 数据集上通过定性和定量评估均得到证实。
  • LSGANs 在所有三个数据集上均成功训练,包括 NS-GANs 失败的合成数字数据集,表明其鲁棒性更强且模式崩溃现象更少。
  • LSGANs-GP 在全部六个测试的复杂架构上成功训练,包括 101 层 ResNet,其稳定性与 WGANs-GP 相当。
  • LSGANs(-110) 参数方案收敛速度更快且 FID 分数更优,表明其训练动态更优越。
  • LSGANs 无梯度惩罚时可超越标准 GAN,但当其失败时,采用 c=30 和 λ=150 的 LSGANs-GP 提供了一种稳定且有效的替代方案。
  • 通过数据增强提高数据集可变性,可提升图像质量并有助于缓解 LSGANs 中的模式崩溃现象。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。