基础知识指南

生成对抗网络

Generative adversarial networks train a generator against a discriminator.

听听这个指南AI叙述 · ~3 min

在本页3 分钟阅读
  1. 概述
  2. 深入探讨
  3. 现实世界的实施
  4. 生成对抗网络的未来
  5. 付诸实践
  6. 不断探索
  7. 常见问题

概述

The generator produces synthetic samples while the discriminator learns to distinguish generated samples from training examples; successful learning is not guaranteed by this competition.

深入探讨

Ian Goodfellow and colleagues introduced the GAN framework in 2014. In the original unconditional formulation, a generator maps sampled latent noise into synthetic data. A discriminator receives real training examples and generated samples, learning to distinguish their origins. The generator receives gradients through the discriminator and aims to make its outputs harder to distinguish. This original setup should not be generalized into a claim that every GAN generator is forbidden from receiving real images. Conditional and image-to-image formulations can provide other inputs: the pix2pix research, for example, learns mappings from input images to target images with paired training data. Practical GAN training can be difficult. Mode collapse describes inadequate variety when a generator concentrates on a limited range of outputs; realistic individual samples do not establish that the intended distribution is represented. The original theoretical analysis describes an ideal distribution-matching equilibrium. When the generator distribution matches the data distribution, the optimal discriminator assigns probability one-half to either origin. That result depends on the theoretical setup and does not guarantee convergence of a finite trained system. Conditioning adds another distinction. In the conditional GAN formulation by Mirza and Osindero, information such as a class label can be supplied to both generator and discriminator. It specifies the condition being modeled, while the generated content can still vary. A conventional feed-forward generator can produce a sample in one forward evaluation, but comparisons of latency or quality with another model must identify the actual architecture and workload.

现实世界的实施

Studying an unconditional generator that maps sampled latent noise into images.

Training a conditional GAN with class information supplied to both networks.

Using paired input and target images in an image-to-image translation experiment.

Comparing the diversity of generated samples with the intended data distribution.

生成对抗网络的未来

Adversarial objectives can be investigated alongside other generative approaches for particular tasks. Evaluation should measure both sample quality and variety, and explain the data and conditioning used. A one-pass generator can be compared with an iterative sampler on a specified device and output size, while neither the network family nor the number of evaluations alone establishes universal speed or quality superiority. Research can examine training behavior and conditional control without treating plausible samples as proof of faithful distribution coverage.

付诸实践

为什么这很重要

  • 更清晰的判决. 它可以帮助您将清晰的技术声明与营销语言分开。
  • 成本与预算. 在花费金钱或时间之前,您可以提出更好的实施问题。
  • 团队与工作流程. 具有共同理解的团队可以做出更好的产品、政策和学习决策。

留意

  • 不同的团队可能会以不同的方式使用同一术语,因此请尽早定义范围。
  • 基准测试可能看起来很强大,但实际性能却参差不齐。
  • 忽视数据质量和评估计划通常会产生脆弱的结果。

后续步骤

  1. 从您需要的结果的简单语言定义开始。
  2. 在测试之前选择一种成功指标和一种失败条件。
  3. 使用代表性数据运行小型试点,而不是完善的演示集。
  4. 记录生成对抗网络在哪些方面有帮助以及在哪些方面更简单的方法更好。

不断探索

免费通讯

获取每日AI简报

每个工作日早晨提供三条经过验证的AI故事,使用简明英文撰写。永久免费,无广告。

每个工作日发送一封邮件。一键退订。我们永不出售或分享您的地址。

测试一下自己

Take the Generative Adversarial Networks quiz

每个答案即时反馈,课程通过后可获得可验证ID的可分享证书。

开始测验

支持免费AI教育。AI Understanding是一家501(c)(3)非营利组织——无广告,无付费墙,永不收费。 捐款

常见问题

什么是生成对抗网络?

Generative adversarial networks train a generator against a discriminator. The generator produces synthetic samples while the discriminator learns to distinguish generated samples from training examples; successful learning is not guaranteed by this competition.

GAN 中的两个竞争网络是什么?

GAN 将生成器(生成假样本)与鉴别器配对,鉴别器试图区分生成器的假数据和真实数据。

In the original unconditional GAN formulation, what input does the generator transform into a sample?

The original unconditional generator maps a sampled latent variable into generated data; conditional variants can receive additional inputs.

What adversarial learning signal can reach a GAN generator through its discriminator?

Differentiating through the discriminator supplies a generator learning signal; other inputs and losses are possible in later GAN variants.

什么是 GAN 中的“模式崩溃”?

当生成器发现一些可以欺骗鉴别器的输出并继续生成它们,从而失去多样性时,就会发生模式崩溃。

Which researchers introduced the GAN framework in the 2014 paper?

The original paper lists Goodfellow and coauthors and was submitted in 2014.