[论文解读] Improving MMD-GAN Training with Repulsive Loss Function
本研究为 MMD-GAN 判别器引入一个排斥损失以主动学习真实数据之间的差异,并引入一个有界核以稳定训练,在不增加额外计算的情况下提升跨基准的无监督图像生成。
Generative adversarial nets (GANs) are widely used to learn the data sampling process and their performance may heavily depend on the loss functions, given a limited computational budget. This study revisits MMD-GAN that uses the maximum mean discrepancy (MMD) as the loss function for GAN and makes two contributions. First, we argue that the existing MMD loss function may discourage the learning of fine details in data as it attempts to contract the discriminator outputs of real data. To address this issue, we propose a repulsive loss function to actively learn the difference among the real data by simply rearranging the terms in MMD. Second, inspired by the hinge loss, we propose a bounded Gaussian kernel to stabilize the training of MMD-GAN with the repulsive loss function. The proposed methods are applied to the unsupervised image generation tasks on CIFAR-10, STL-10, CelebA, and LSUN bedroom datasets. Results show that the repulsive loss function significantly improves over the MMD loss at no additional computational cost and outperforms other representative loss functions. The proposed methods achieve an FID score of 16.21 on the CIFAR-10 dataset using a single DCGAN network and spectral normalization.
研究动机与目标
- 在使用 MMD 作为损失时,动机是通过解决判别器如何处理真实数据来改进 GAN 的训练。
- 提出一个排斥损失用于判别器,以主动区分真实数据样本。
- 通过有界核和谱归一化来稳定 MMD-GAN 的训练。
- 在 CIFAR-10、STL-10、CelebA 和 LSUN-bedroom 上使用单一核展示经验改进。
- 提供对判别器学习到的稳定性与定性表示的分析。
提出的方法
- 将 MMD-GAN 的训练重新解释为判别器输出的吸引(组内收缩)和排斥(组间分离)。
- 提出一个排斥损失 LD,λ = λ EPX[kD(x, x')] − (λ − 1) EPX,PG[kD(x, y)] − EPG[kD(y, y')],涵盖吸引(λ<0)和排斥(λ≥0)两种范式。
- 在 MMD-GAN 中使用单一核,并引入有界高斯(RBF-B)核以防止判别器饱和。
- 通过广义幂迭代应用谱归一化,以稳定判别器的 Lipschitz 约束。
- 在四个数据集上进行高斯核(MMD-rbf)、有理二次核(MMD-rq)和新排斥损失(MMD-rep)的实验。
- 使用 Inception Score(IS)、Fréchet Inception Distance(FID)和 MS-SSIM 进行评估,并与非饱和损失和 hinge 损失进行比较。
实验结果
研究问题
- RQ1相较于现有的基于 MMD 的损失,MMD-GAN 判别器的排斥损失是否能提升生成图像质量?
- RQ2在不增加计算成本的前提下,使用有界核和谱归一化是否能改善 MMD-GAN 的训练稳定性?
- RQ3在 MMD-GAN 性能中,使用单一核与多核组合的影响是什么?
- RQ4排斥损失如何影响判别器学习到的真实数据表示?
主要发现
- 排斥损失(MMD-rep)在基准数据集上显著优于吸引损失(MMD-rbf/rq)。
- 在使用排斥损失时,单一核优于多核设置,表明核饱和是一个问题。
- RBF-B 核在配合排斥损失时稳定了 MMD-GAN 的训练,在多种配置下实现更好的性能。
- 排斥损失在判别器空间的同类内部分离更好(如 t-SNE 可视化所示),并为生成器提供有意义的梯度。
- 尽管存在潜在的不稳定性,但在合适的正则化(RBF-B)和谱归一化下,带排斥损失的 MMD-GAN 取得了强的定量结果。
- 与非饱和损失和 hinge 损失相比,在报道的指标下,MMD-rep 和 MMD-rep-b 在 CIFAR-10、STL-10、CelebA 和 LSUN-bedroom 上表现更优。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。