HyperAIHyperAI

Command Palette

Search for a command to run...

敵対的生成ネットワーク

Ian J. Goodfellow Jean Pouget-Abadie Mehdi Mirza Bing Xu David Warde-Farley Sherjil Ozair Aaron Courville Yoshua Bengio

概要

本論文は、敵対的プロセスを通じて生成モデルを推定するための新しいフレームワークを提案する。本手法では、データ分布を捉える生成モデルGと、サンプルがGからではなく訓練データ由来である確率を推定する判別モデルDの2つのモデルを同時に訓練する。Gの訓練手順は、Dが誤りをおす確率を最大化することである。本フレームワークはミニマックス二人ゲームに対応し、任意の関数GおよびDの空間において唯一の解が存在し、Gは訓練データ分布を回復し、Dはすべての点で1に等しくなる。GとDが多層パーセプトロンによって定義される場合、全系はバックプロパゲーションにより訓練可能である。訓練中およびサンプル生成中にマルコフ連鎖やアンロールされた近似推論ネットワークは不要である。生成サンプルの定性的・定量的評価により、本フレームワークの有効性を実証する。

One-sentence Summary

Researchers at Université de Montréal propose Generative Adversarial Nets, a framework that simultaneously trains a generative model G and a discriminative model DDD via a minimax two-player game, enabling data distribution estimation without Markov chains or approximate inference networks.

Key Contributions

  • The paper introduces generative adversarial networks, which jointly train a generator G to capture the data distribution and a discriminator D to estimate whether a sample came from the training data or from G. The generator is trained to maximize the probability that D misclassifies generated samples.
  • The method formulates generative modeling as a minimax two-player game rather than a likelihood-based objective, with a unique solution where G recovers the training distribution and D equals 1 everywhere. When G and D are multilayer perceptrons, the full system can be trained with backpropagation without Markov chains or unrolled approximate inference networks during training or sample generation.
  • Experiments evaluate the framework through qualitative and quantitative assessment of generated samples, supporting its potential for learning generative models.

Introduction

Deep learning has produced strong models for discriminative tasks, where a system maps complex sensory inputs such as images or audio to labels, but generative modeling has lagged because it requires hard probabilistic computations that are difficult to optimize. Prior approaches often depended on intractable likelihoods, approximate inference, Markov chains, or special density evaluations, which made training large deep generative models unstable or inefficient. The authors leverage an adversarial training game in which a generator produces samples and a discriminator learns to distinguish them from real data. Their main contribution is a framework that trains both networks using standard backpropagation and dropout, avoiding approximate inference and Markov chains while enabling scalable generative modeling.

Method

The adversarial modeling framework is built from two differentiable multilayer perceptrons trained through a two-player minimax optimization. The generator G(z;θg)G(\boldsymbol{z};\theta_g)G(z;θg​) maps noise variables z∼pz\boldsymbol{z}\sim p_{\boldsymbol{z}}z∼pz​ into the data space, thereby implicitly inducing a model distribution pgp_gpg​. The discriminator D(x;θd)D(\boldsymbol{x};\theta_d)D(x;θd​) outputs a scalar score interpreted as the probability that an input x\boldsymbol{x}x came from the real data distribution pdatap_{\mathrm{data}}pdata​ rather than from the generator. The training objective for these two components is:

min⁡Gmax⁡DV(D,G)=Ex∼pdata(x)[log⁡D(x)]+Ez∼pz(z)[log⁡(1−D(G(z)))].\min_{G}\max_{D} V(D,G)=\mathbb{E}_{\boldsymbol{x}\sim p_{\mathrm{data}}(\boldsymbol{x})}[\log D(\boldsymbol{x})]+\mathbb{E}_{\boldsymbol{z}\sim p_{\boldsymbol{z}}(\boldsymbol{z})}[\log(1-D(G(\boldsymbol{z})))].Gmin​Dmax​V(D,G)=Ex∼pdata​(x)​[logD(x)]+Ez∼pz​(z)​[log(1−D(G(z)))].

Here, DDD is trained to maximize the log-probability of assigning correct labels to real samples and generated samples, while GGG is trained to fool DDD by minimizing log⁡(1−D(G(z)))\log(1-D(G(\boldsymbol{z})))log(1−D(G(z))). Equivalently, the generator pushes its sample distribution closer to the data distribution by reducing the discriminator’s confidence that generated samples are fake.

The optimization process can be understood as a coupling between a mapping from noise to data and a learned density-ratio estimator. Refer to the framework diagram:

In this view, samples from a simple noise prior are transformed by GGG into data-like samples. The mapping GGG expands in regions that should receive more probability mass and contracts in regions that should receive less. Meanwhile, DDD adapts to separate the generated distribution pgp_gpg​ from the true data distribution pdatap_{\mathrm{data}}pdata​. As training proceeds, GGG follows the gradient supplied by DDD, moving generated samples toward regions that are more likely to be classified as real.

In practice, the discriminator is not optimized to full convergence in every inner loop. Fully solving the inner optimization is computationally expensive and can cause overfitting on finite datasets. Instead, training alternates between kkk discriminator updates and one generator update. This keeps DDD close to its optimal solution for the current generator, provided that GGG changes slowly enough. The update schedule is therefore coupled: the generator depends on informative gradients from DDD, while DDD must track the changing distribution of generated samples.

The objective in the standard minimax formulation can be weak for early-stage training. When GGG is poor, DDD can reject generated samples with very high confidence, causing the term log⁡(1−D(G(z)))\log(1-D(G(\boldsymbol{z})))log(1−D(G(z))) to saturate and producing small gradients for the generator. To avoid this, the authors modify the generator objective to maximize log⁡D(G(z))\log D(G(\boldsymbol{z}))logD(G(z)) instead. This revised loss has the same fixed point under the joint dynamics of GGG and DDD, but it provides much stronger gradient signals early in training.

Theoretical analysis explains why this adversarial objective targets the data distribution. For a fixed generator, the optimal discriminator has the closed form:

DG∗(x)=pdata(x)pdata(x)+pg(x).D_G^*(\boldsymbol{x})=\frac{p_{\mathrm{data}}(\boldsymbol{x})}{p_{\mathrm{data}}(\boldsymbol{x})+p_g(\boldsymbol{x})}.DG∗​(x)=pdata​(x)+pg​(x)pdata​(x)​.

This means that DDD effectively estimates the posterior probability that a sample originated from real data versus generated data. Substituting this optimal discriminator back into the objective yields a quantity that can be expressed using the Jensen-Shannon divergence between pdatap_{\mathrm{data}}pdata​ and pgp_gpg​:

C(G)=−log⁡(4)+2JSD⁡(pdata∥pg).C(G)=-\log(4)+2\operatorname{JSD}(p_{\mathrm{data}}\|p_g).C(G)=−log(4)+2JSD(pdata​∥pg​).

Because the Jensen-Shannon divergence is nonnegative and equals zero only when the two distributions match, the global optimum of the idealized objective occurs when pg=pdatap_g=p_{\mathrm{data}}pg​=pdata​. In the nonparametric setting, this explains why the method can recover the data generating distribution when the model class has sufficient capacity and updates are made in a controlled way.

Practically, the method does not require an explicit density model for pgp_gpg​, Markov chain sampling, or inference during learning. Gradients are obtained through backpropagation through the discriminator, which allows flexible differentiable components to be used for both GGG and DDD. The main training design choice is synchronization between the two networks: DDD must remain close to optimal as GGG changes, while GGG must avoid collapsing too quickly to a limited subset of generated samples.

Experiment

The evaluation combines theoretical analysis with image-based experiments. The theory validates that the minimax objective has a global optimum when the generator matches the data distribution and that an idealized optimization procedure can converge to this optimum under strong assumptions. Empirically, adversarial networks trained on image datasets produce samples that are judged to be competitive, indicating that the framework can learn useful generative behavior despite the approximate nature of likelihood estimation.

The results compare estimated log-likelihoods of several generative models on MNIST and TFD using a Parzen window-based procedure. Adversarial nets achieve the best estimated performance on MNIST and remain competitive on TFD, where stacked CAE gives the strongest reported estimate. The comparison suggests that adversarial training produces samples with estimated likelihoods that are at least competitive with existing generative models, though the evaluation method is noted to have high variance. Adversarial nets obtain the highest estimated MNIST log-likelihood among the compared models. On TFD, adversarial nets perform close to the best model, while stacked CAE gives the strongest reported estimate. The likelihood values are estimated using Parzen windows, a procedure noted to have high variance and limited reliability in high dimensions.

Experiments evaluate multiple generative models on MNIST and TFD by estimating log-likelihoods with a Parzen window-based procedure. The results indicate that adversarial nets achieve the strongest estimated likelihood on MNIST and remain competitive on TFD, where stacked CAE obtains the best reported estimate. Overall, adversarial training yields samples with likelihood estimates comparable to existing generative models, though the evaluation is affected by high variance and limited reliability.


AIでAIを構築

アイデアからローンチまで — 無料のAIコーディング支援、すぐに使える環境、最高のGPU価格でAI開発を加速。

AI コーディング補助
すぐに使える GPU
最適な料金体系

HyperAI Newsletters

最新情報を購読する
北京時間 毎週月曜日の午前9時 に、その週の最新情報をメールでお届けします
メール配信サービスは MailChimp によって提供されています