arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.01035cs.CVcs.LG
收藏

有分类器和无分类器的cGANs的统一视图

A Unified View of cGANs with and without Classifiers

National Taiwan University(台湾大学);Google Cloud AI(谷歌云人工智能)

Si-An Chen, Chun-Liang Li, Hsuan-Tien Lin

摘要:

条件生成对抗网络(cGAN)是允许从类条件分布中采样的隐式生成模型。现有的cGAN基于各种不同的鉴别器设计和训练目标。在早期的作品中,一个流行的设计是在训练过程中包含一个分类器,假设好的分类器可以帮助消除用错误的类生成的样本。然而,在cGAN中包含分类器通常会带来一个副作用,即只生成易于分类的样本。最近,一些代表性的cGAN避免了这个缺点,在没有分类器的情况下达到了最先进的性能。不知何故,分类器是否可以复活以设计更好的cGAN仍然没有答案。在这项工作中,我们证明了分类器可以被适当地利用来改进cGAN。我们首先使用联合概率分布的分解来连接cGAN的目标和分类作为一个统一的框架。该框架以及参数化分布的经典能量模型,以原则性的方式证明了cGAN分类器的使用。它解释了几种流行的cGAN变体,如ACGAN,ProjGAN和ContragAN,作为具有不同近似水平的特殊情况,这提供了一个统一的视图,并为理解cGAN带来了新的见解。实验结果表明,受所提出的框架启发的设计在多个基准数据集上的性能优于最先进的cGAN,特别是在最具挑战性的ImageNet上。该代码可在https://github.com/sian-chen/PyTorch-ECGAN上获得。

英文摘要:

Conditional Generative Adversarial Networks (cGANs) are implicit generative models which allow to sample from class-conditional distributions. Existing cGANs are based on a wide range of different discriminator designs and training objectives. One popular design in earlier works is to include a classifier during training with the assumption that good classifiers can help eliminate samples generated with wrong classes. Nevertheless, including classifiers in cGANs often comes with a side effect of only generating easy-to-classify samples. Recently, some representative cGANs avoid the shortcoming and reach state-of-the-art performance without having classifiers. Somehow it remains unanswered whether the classifiers can be resurrected to design better cGANs. In this work, we demonstrate that classifiers can be properly leveraged to improve cGANs. We start by using the decomposition of the joint probability distribution to connect the goals of cGANs and classification as a unified framework. The framework, along with a classic energy model to parameterize distributions, justifies the use of classifiers for cGANs in a principled manner. It explains several popular cGAN variants, such as ACGAN, ProjGAN, and ContraGAN, as special cases with different levels of approximations, which provides a unified view and brings new insights to understanding cGANs. Experimental results demonstrate that the design inspired by the proposed framework outperforms state-of-the-art cGANs on multiple benchmark datasets, especially on the most challenging ImageNet. The code is available at https://github.com/sian-chen/PyTorch-ECGAN.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑