Generative Adversarial Nets 阅读笔记

《generative adversarial nets》的解读以及实现 一 论文解读 1.1论文基本信息 《Generative Adversarial Nets》是Ian J.Goodfellow发表在NIPS 2014上的一篇论文,也是GANs的开山之作。NIPS(NeurIPS),全称神经信息处理系统大会(Conference and Workshop on Neural Information Processing Systems),是一个关于机器学习和计算神经科学的国际会议。该会议固定在每年的12月举行,由NIPS基金会主办。NIPS是机器学习领域... 阅读详情

论文重要内容节选

1 Introduction

The promise of deep learning is to discover rich, hierarchical models that represent probability distributions over the kinds of data encountered in artificial intelligence applications, such as natural images, audio waveforms containing speech, and symbols in natural language corpora.

深度学习的目的是发现富的、分层的模型来表示所有在人工智能程序中出现数据的一个概率分布,像自然图像、音频波谱、自然语言符号。

So far, the most striking successes in deep learning have involved discriminative models, usually those that map a high-dimensional, rich sensory input to a class label.

深度学习最成功的地方,在于它其中的鉴别模型,通常用于将一个高维的、富感官的输入映射到一个分类标签。

These striking successes have primarily been based on the and dropout algorithms, using piecewise linear units which have a particularly well-behaved gradient .

这些最成功的地方主要是基于反向传播算法和 dropout 算法,其中通常使用具有很好梯度性质的分段线性单元。

Deep generative models have had less of an impact, due to the difficulty of approximating many intractable probabilistic computations that arise in maximum likelihood estimation and related strategies, and due to difficulty of leveraging the benefits of piecewise linear units in the generative context. We propose a new generative model estimation procedure that sidesteps these difficulties.

对比上面的深度鉴别网络,深度生成模型没有很大的影响力,因为其难以近似很多在最大似然估计和相关策略中出现的棘手的概率计算,还因为难以在生成上下文的时候利用分段线性单元的优点。所以提出了新的生成模型估计方法来避免这些困难问题。

In the proposed adversarial nets framework, the generative model is pitted against an adversary: a discriminative model that learns to determine whether a sample is from the model distribution or the data distribution.

在提出的对抗网络架构中,生成模型用于代表一个攻击者:一个鉴别模型应该学会分别这个样本是来自样本分布(model distribution)还是来自数据分布(data distribution)。

The generative model can be thought of as analogous to a team of counterfeiters, trying to produce fake currency and use it without detection, while the discriminative model is analogous to the police, trying to detect the counterfeit currency. Competition in this game drives both teams to improve their methods until the counterfeits are indistinguishable from the genuine articles.

生成模型可以被认为一群造假者,试图生成虚假的货币而且使用它不需要检测,而鉴别模型则可以认为是警察,用于检测假币。在这个博弈中的对抗,将会提高造假币的方法直到假币无法和真品中分辨出来。

This framework can yield specific training algorithms for many kinds of model and optimization algorithm. In this article, we explore the special case when the generative model generates samples by passing random noise through a multilayer perceptron, and the discriminative model is also a multilayer perceptron.

…这篇文章中我们探讨一个特殊的案例,生成模型通过随机噪声和多层感知机来生成样本,鉴别模型同样也是多次感知机。

We refer to this special case as adversarial nets. In this case, we can train both models using only the highly successful backpropagation and dropout algorithms and sample from the generative model using only forward propagation. No approximate inference or Markov chains are necessary.

…我们同时训练两个模型,仅仅只使用很成功的反向传播算法和 dropout 算法,然后样本来自生成模型,也仅仅使用前向传播算法。马尔可夫链和近似推理是不需要的。

2 Related work

An alternative to directed graphical models with latent variables are undirected graphical models with latent variables, such as restricted Boltzmann machines (RBMs), deep Boltzmann machines (DBMs) and their numerous variants. The interactions within such models are represented as the product of unnormalized potential functions, normalized by a global summation/integration over all states of the random variables.

具有潜在变量的有向图模型的替代方案是具有潜在变量的无向图模型,如受限的玻尔兹曼机(RBMs),深度玻尔兹曼机(DBMs)和它的多种变种(PS:受限玻尔兹曼机可以看作是只有两层结构的神经网络,而深度玻尔兹曼机则是多个受限玻尔兹曼机的结合)。模型中的交互可以被认为是未归一化的势函数的乘积,并通过一个对全局所有状态的求和/积分来归一化。

This quantity (the partition function) and its gradient are intractable for all but the most trivial instances, although they can be estimated by Markov chain Monte Carlo (MCMC) methods. Mixing poses a significant problem for learning algorithms that rely on MCMC.

这些量(配分函数)和它的梯度对于但是不重要的实例来说是棘手的,尽管它们可以通过 MCMC 估算。对于那些依赖 MCMC 的学习算法来说,mixing poses(怎么翻译)是一个很重要的问题。

Deep belief networks (DBNs) are hybrid models containing a single undirected layer and several directed layers. While a fast approximate layer-wise training criterion exists, DBNs incur the computational difficulties associated with both undirected and directed models.

深度信念网络(DBNs)是一个混合模型,包含了一个无向层和多个有向层。当使用一个快速逐层近似的标准训练时,DBNs 将会同时在无向和有向模型上产生计算困难。

Alternative criteria that do not approximate or bound the log-likelihood have also been proposed, such as score matching and noise-contrastive estimation (NCE). Both of these require the learned probability density to be analytically specified up to a normalization constant. Note that in many interesting generative models with several layers of latent variables (such as DBNs and DBMs), it is not even possible to derive a tractable unnormalized probability density. Some models such as denoising auto-encoders and contractive autoencoders have learning rules very similar to score matching applied to RBMs.

替代的标准不需要近似(do not approximate)或者使用对数近似边界(bound the log-likelihood)的方法也被提出了,比如分数匹配(score matching)和噪声对比估计(NCE)。它们两个都需要一个已知的概率密度来分析指定的一个归一化常量。注意,在很多有趣的有很多层隐变量的生成模型中(如 DBNs 和 DBMs),是不可能给出一个易于处理的非归一化的概率密度的。一些模型诸如去噪自动编码器(denoising autoen-coders)和收缩自动编码器(contractive autoencoders)会学习规则非常相似于分数匹配的 RBMs。

In NCE, as in this work, a discriminative training criterion is employed to fit a generative model. However, rather than fitting a separate discriminative model, the generative model itself is used to discriminate generated data from samples a fixed noise distribution. Because NCE uses a fixed noise distribution, learning slows dramatically after the model has learned even an approximately correct distribution over a small subset of the observed variables.

在 NCE 中,每一个鉴别训练标准都对应一个生成模型。然而,与其适应每一个不同的鉴别模型,生成模型自己被用于鉴别来自样本混合了噪声分布的生成数据。因为 NCE 使用了混合噪声分布,在模型在一个可观测变量的一小部分上得到一个近似正确的分布之后,学习会突然变得很慢。

Finally, some techniques do not involve defining a probability distribution explicitly, but rather train a generative machine to draw samples from the desired distribution. This approach has the advantage that such machines can be designed to be trained by back-propagation. Prominent recent work in this area includes the generative stochastic network (GSN) framework, which extends generalized denoising auto-encoders: both can be seen as defining a parameterized Markov chain, i.e., one learns the parameters of a machine that performs one step of a generative Markov chain.

最后,一些技术没有参与定义一个明确的概率分布,而是训练一个生成器来生成一个想要分布的样本。本文提出的方法对于上述的机器有优势,包括设计可以通过反向传播来训练。在这个区域最近杰出部分工作的包括生成随机网络(GSN)架构,扩展了正则噪声自动编码器,可以被认为是定义了一个参数化的马尔可夫链,通过执行一步的生成马尔可夫链来学习机器的参数。

Compared to GSNs, the adversarial nets framework does not require a Markov chain for sampling. Because adversarial nets do not require feedback loops during generation, they are better able to leverage piecewise linear units, which improve the performance of backpropagation but have problems with unbounded activation when used in a feedback loop. More recent examples of training
a generative machine by back-propagating into it include recent work on auto-encoding variational Bayes and stochastic backpropagation.

对比 GSNs,对抗网络框架在采样的时候不需要马尔可夫链。因为对抗网络在生成的时候不需要回馈循环,这样可以更好的利用分段线性单元的特性,这些分段线性单元将会提高反向传播的性能,当使用回馈循环时候,无限激活会产生很多的问题。最近很多通过反向传播训练生成器的例子都包含了自动编码的贝叶斯变种和随机反向传播。

3 Adversarial nets

The adversarial modeling framework is most straightforward to apply when the models are both multilayer perceptrons. To learn the generator’s distribution pgp_gpg​ over data xxx, we define a prior on input noise variables pz(z)p_z(z)pz​(z), then represent a mapping to data space as G(z;θg)G(z; \theta_g)G(z;θg​), where GGG is a differentiable function represented by a multilayer perceptron with parameters θg\theta_gθg​.

对抗模型架构简单易行,当模型都是多层感知机的时候。为了学习到关于数据 xxx 的生成器的分布 pgp_gpg​,我们定义一个先验在输入噪声变量 pz(z)p_z(z)pz​(z) 上,其中 GGG 是被参数 θg\theta_gθg​ 表示的多层感知器的一个可微方程(这个 GGG 从上文中理解就是将噪声映射到一个数据空间的函数,即将噪声转换成一个数据如图片)。

We also define a second multilayer perceptron D(x;θd)D(x; \theta_d)D(x;θd​) that outputs a single scalar. D(x)D(x)D(x) represents the probability that xxx came from the data rather than pgp_gpg​. We train DDD to maximize the probability of assigning the correct label to both training examples and samples from GGG.

我们同时定义第二个多层感知器 D(x;θd)D(x; \theta_d)D(x;θd​),这个东西只会输出单个的标量值,代表了 xxx 是来自数据还是生成器的分布 pgp_gpg​ 的概率。我们训练这个 DDD 来同时最大化训练数据正常标签和来自 GGG 的样本正确标签的概率(这个 DDD 是来鉴别 GGG 生成的数据)。

We simultaneously train GGG to minimize log⁡(1−D(G(z)))\log(1 − D(G(z)))log(1−D(G(z))):
In other words, DDD and GGG play the following two-player minimax game with value function V(G,D)V(G, D)V(G,D):
minG maxDV(D,G)=Ex∼pdata(x)[log⁡D(x)]+Ez∼pz(z)[log⁡(1−D(G(z)))]\underset{G}{min}\,\underset{D}{max}V(D, G)=E_{x\sim p_{data}(x)}[\log D(x)]+E_{z\sim p_z(z)}[\log(1 − D(G(z)))]Gmin​Dmax​V(D,G)=Ex∼pdata​(x)​[logD(x)]+Ez∼pz​(z)​[log(1−D(G(z)))]

同时训练 GGG 来最小化 log⁡(1−D(G(z)))\log(1 − D(G(z)))log(1−D(G(z))) 这个值:
换句话说,GGG 和 DDD 是在玩如下的两个选手的最小最大游戏:

minG maxDV(D,G)=minG maxDEx∼pdata(x)[log⁡D(x)]+minG maxDEz∼pz(z)[log⁡(1−D(G(z)))]\underset{G}{min}\,\underset{D}{max}V(D, G)=\underset{G}{min}\,\underset{D}{max}E_{x\sim p_{data}(x)}[\log D(x)]+\underset{G}{min}\,\underset{D}{max}E_{z\sim p_z(z)}[\log(1 − D(G(z)))]Gmin​Dmax​V(D,G)=Gmin​Dmax​Ex∼pdata​(x)​[logD(x)]+Gmin​Dmax​Ez∼pz​(z)​[log(1−D(G(z)))]

minG maxDEx∼pdata(x)[log⁡D(x)]=maxDEx∼pdata(x)[log⁡D(x)]\underset{G}{min}\,\underset{D}{max}E_{x\sim p_{data}(x)}[\log D(x)]=\underset{D}{max}E_{x\sim p_{data}(x)}[\log D(x)]Gmin​Dmax​Ex∼pdata​(x)​[logD(x)]=Dmax​Ex∼pdata​(x)​[logD(x)]

minG maxDEz∼pz(z)[log⁡(1−D(G(z)))]\underset{G}{min}\,\underset{D}{max}E_{z\sim p_z(z)}[\log(1 − D(G(z)))]Gmin​Dmax​Ez∼pz​(z)​[log(1−D(G(z)))]

这个等式,先看第一个 Ex∼pdata(x)E_{x\sim p_{data}(x)}Ex∼pdata​(x)​,这个期望的意义在于让鉴别器鉴别从真实数据分布中选出的值 xxx 正确的概率最大。
而第二个 Ez∼pz(z)E_{z\sim p_z(z)}Ez∼pz​(z)​ 这个期望的意义在于让 鉴别器 DDD 鉴别从生成器 GGG 中生成的数据的成功概率的概率足够小,因为 maxD[1−D(G(Z))]\underset{D}{max}[1-D(G(Z))]Dmax​[1−D(G(Z))] 要大,那么 D(G(Z))D(G(Z))D(G(Z)) 就得小,同时限制这个 GGG 的范围要最小,让 GGG 尽量小一些。
这个数学公式的意义就在于,让 DDD 当输入为真实数据的时候,输出概率最大,输入为生成数据的时候,输出概率最小。

In the next section, we present a theoretical analysis of adversarial nets, essentially showing that the training criterion allows one to recover the data generating distribution as GGG and DDD are given enough capacity, i.e., in the non-parametric limit.

下一章中,我们提供了一个对抗网络的理论分析,本质上表明,当 GGG 和 DDD 有足够容量的时候,训练标准将允许恢复数据生成分布。

See Figure 1 for a less formal, more pedagogical explanation of the approach. In practice, we must implement the game using an iterative, numerical approach. Optimizing DDD to completion in the inner loop of training is computationally prohibitive, and on finite datasets would result in overfitting.

在实践中,我们必须使用迭代和数值方法来实现这个博弈过程。在内部训练循环中完成优化 DDD 在计算上是禁止的,同时在有限数据集上可能导致过拟合。

Instead, we alternate between kkk steps of optimizing DDD and one step of optimizing GGG. This results in DDD being maintained near its optimal solution, so long as GGG changes slowly enough.

相反,我们在优化 GGG 的 kkk 步和优化 DDD 的一步之间交替。这导致 DDD 保持在其最佳解决方案附近,只要 GGG 变化足够慢。

This strategy is analogous to the way that SML/PCD training maintains samples from a Markov chain from one learning step to the next in order to avoid burning in a Markov chain as part of the inner loop of learning. The procedure is formally presented in Algorithm 1.

这种策略类似于 SML/PCD 训练从一个学习步骤到下一个学习步骤维护来自马尔可夫链的样本的方式,以避免作为学习内部循环的一部分在马尔可夫链中燃烧。

In practice, equation 1 may not provide sufficient gradient for GGG to learn well. Early in learning, when GGG is poor, DDD can reject samples with high confidence because they are clearly different from the training data. In this case, log⁡(1−D(G(z)))\log (1 − D(G(z)))log(1−D(G(z))) saturates. Rather than training GGG to minimize log⁡(1−D(G(z)))\log (1 − D(G(z)))log(1−D(G(z))) we can train GGG to maximize log⁡D(G(z))\log D(G(z))logD(G(z)). This objective function results in the same fixed point of the dynamics of GGG and DDD but provides much stronger gradients early in learning.

在实践中,等式1可能不会为 GGG 提供足够的梯度来很好的学习。在学习的早期,当 GGG 很弱的时候,DDD 可以高置信度地拒绝样本,因为其和训练数据明显的不同。这种情况下,log⁡(1−D(G(z)))\log (1 − D(G(z)))log(1−D(G(z))) 是饱和的。与其训练 GGG 来最小化 log⁡(1−D(G(z)))\log (1 − D(G(z)))log(1−D(G(z))) 我们可以训练 GGG 来最大化 log⁡D(G(z))\log D(G(z))logD(G(z))。这个目标函数导致 GGG 和 DDD 的动态相同的固定点,但在学习早期提供了更强的梯度。

Figure 1
Figure 1: Generative adversarial nets are trained by simultaneously updating the discriminative distribution (DDD, blue, dashed line) so that it discriminates between samples from the data generating distribution (black, dotted line) pxp_xpx​ from those of the generative distribution pg(G)p_g(G)pg​(G) (green, solid line). The lower horizontal line is the domain from which zzz is sampled, in this case uniformly. The horizontal line above is part of the domain of xxx. The upward arrows show how the mapping x=G(z)x = G(z)x=G(z) imposes the non-uniform distribution pgp_gpg​ on transformed samples. GGG contracts in regions of high density and expands in regions of low density of pgp_gpg​. (a) Consider an adversarial pair near convergence: pgp_gpg​ is similar to pdatap_{data}pdata​ and DDD is a partially accurate classifier. (b) In the inner loop of the algorithm DDD is trained to discriminate samples from data, converging to D∗(x)=pdata(x)pdata(x)+pg(x)D^∗(x) = \frac{p_{data}(x)}{p_{data}(x)+p_g(x)}D∗(x)=pdata​(x)+pg​(x)pdata​(x)​. (c) After an update to GGG, gradient of DDD has guided G(z)G(z)G(z) to flow to regions that are more likely to be classified as data. (d) After several steps of training, if GGG and DDD have enough capacity, they will reach a point at which both cannot improve because pg=pdatap_g = p_{data}pg​=pdata​. The discriminator is unable to differentiate between the two distributions, i.e. D(x)=12D(x) = \frac12D(x)=21​.

图像1:生成对抗网络被训练的同时更新鉴别分布(蓝线)鉴别来自真实数据生成分布的样本(黑线) pxp_xpx​ 和来自生成分布(绿线) pG(x)p_G(x)pG​(x) 的数据。底下黑色的水平线是对 zzz 采样的域。上面的水平线则是 xxx 的一部分域。向上的箭头显示的是映射 x=G(z)x=G(z)x=G(z) 强加非均匀分布 pgp_gpg​ 到转换样本上。GGG 在 pgp_gpg​ 高密度区域收缩,低密度区域扩张。(a)考虑一个接近收敛的对抗:此时 pgp_gpg​ 和 pdatap_{data}pdata​ 是相似的,而 DDD 是一个部分准确的分类器。(b)在算法 DDD 的内部循环来训练鉴别器鉴别来自真实数据的样本,收敛于 D∗(x)D^*(x)D∗(x) 这里。(c)在更新 GGG 之后,DDD 的梯度将会指引 G(z)G(z)G(z) 落在最可能被分类为真实数据的区域。(d)在经过几步的训练之后,如果 GGG 和 DDD 有足够的容量,它们将会达到一个点,这个点不再能够提高因为此时 pgp_gpg​ 已经等于 pdatap_{data}pdata​ 了。此时这个鉴别器将不在能够分辨出两个分布,即 D(x)=12D(x)=\frac 12D(x)=21​。

4 Theoretical Results

The generator GGG implicitly defines a probability distribution pgp_gpg​ as the distribution of the samples G(z)G(z)G(z) obtained when z∼pzz\sim p_zz∼pz​. Therefore, we would like Algorithm 1 to converge to a good estimator of pdatap_{data}pdata​, if given enough capacity and training time. The results of this section are done in a non-parametric setting, e.g. we represent a model with infinite capacity by studying convergence in the space of probability density functions.

生成器 GGG 隐式的定义了一个概率分布 pgp_gpg​ 来作为样本 G(z)G(z)G(z) 的分布当 z∼pzz\sim p_zz∼pz​ 的时候。因此,我们在算法1中可以收敛于一个对于 pdatap_{data}pdata​ 好的估计器,如果有足够的容量和训练时间。本章的结果是在非参数设置中完成的。我们通过研究概率密度函数空间中的收敛性来表示具有无限容量的模型。

We will show in section 4.1 that this minimax game has a global optimum for pg=pdatap_g=p_{data}pg​=pdata​. We will then show in section 4.2 that Algorithm 1 optimizes Eq 1, thus obtaining the desired result.

这个最小最大的博弈过程有个全局的优化目标就是让 pg=pdatap_g=p_{data}pg​=pdata​。

Algorithm 1

小批量随机梯度下降训练用于生成对抗网络,kkk 是一个超参数,其中在实验中使用 k=1k=1k=1 作为一个最简单易行的选项。
整个算法有个大的迭代次数(这个算法是先更新鉴别器,再更新生成器),简单来说,就是:

  1. 从生成模型中得到 mmm 个样本;
  2. 从真实数据模型中获得 mmm 个样本;
  3. 之后用这些个样本计算损失函数的梯度;
  4. 然后通过提高其随机梯度来更新鉴别器(这一步代表了下面等式的前半部分的目标);
    minG maxDV(D,G)=maxDEx∼pdata(x)[log⁡D(x)]+minG maxDEz∼pz(z)[log⁡(1−D(G(z)))]\underset{G}{min}\,\underset{D}{max}V(D, G)=\underset{D}{max}E_{x\sim p_{data}(x)}[\log D(x)]+\underset{G}{min}\,\underset{D}{max}E_{z\sim p_z(z)}[\log(1 − D(G(z)))]Gmin​Dmax​V(D,G)=Dmax​Ex∼pdata​(x)​[logD(x)]+Gmin​Dmax​Ez∼pz​(z)​[log(1−D(G(z)))]
  5. 上面1-4步循环 kkk 次;
  6. 再从生成模型中获得 mmm 个噪声样本;
  7. 之后根据这新的 mmm 个噪声样本,通过降低其随机梯度来更新生成器(这一步对应了上面说到的先暂时的让 D(x)D(x)D(x) 最大,然后固定 D(x)D(x)D(x),之后再来更新 G(z)G(z)G(z) 这个过程,也就是这两个优化目标,不是同时优化而是分批次的优化,先让 DDD 走 kkk 步,然后再让 GGG 走 111 步,然后循环)。

4.1 Global Optimality of pg=pdatap_g = p_{data}pg​=pdata​

We first consider the optimal discriminator DDD for any given generator GGG.
Proposition 1. For GGG fixed, the optimal discriminator DDD is
DG∗(x)=pdata(x)pdata(x)+pg(x)D^*_G(x)=\frac{p_{data}(x)}{p_{data}(x)+p_g(x)}DG∗​(x)=pdata​(x)+pg​(x)pdata​(x)​

GGG 固定了,然后优化 DDD(这个优化目标就是 pdata(x)=pg(x)p_{data}(x)=p_g(x)pdata​(x)=pg​(x),如果达到完美相等了,最终 DG∗(x)=12D^*_G(x)=\frac 12DG∗​(x)=21​,于是我们的优化目标就是让这个值要接近 12\frac 1221​)。

之后的证明过程就是在证明在任意给出 GGG 的情况下, V(G,D)V(G, D)V(G,D) 在 DG∗(x)D^*_G(x)DG∗​(x) 处取得最大值,DG∗(x)D^*_G(x)DG∗​(x) 就是上面那个等式。

Theorem 1. The global minimum of the virtual training criterion C(G)C(G)C(G) is achieved if and only if pg=pdatap_g = p_{data}pg​=pdata​. At that point, C(G)C(G)C(G) achieves the value −log⁡4−\log 4−log4.

其中 C(G)=maxDV(G,D)C(G)=\underset{D}{max}V(G, D)C(G)=Dmax​V(G,D)。

定理1。全局关于虚拟训练标准 C(G)C(G)C(G) 达到最小时,当且仅当 pg=pdatap_g=p_{data}pg​=pdata​ 时。同时在这个点上 C(G)C(G)C(G) 达到值 −log⁡4-\log 4−log4(然后接下来的都是关于这个定理的证明我们就不管了)。

4.2 Convergence of Algorithm 1

Proposition 2. If GGG and DDD have enough capacity, and at each step of Algorithm 1, the discriminator is allowed to reach its optimum given GGG, and pgp_gpg​ is updated so as to improve the criterion

Ex∼pdata[log⁡DG∗(x)]+Ex∼pg[log⁡(1−DG∗(x)]\mathbb{E}_{x\sim p_{data}}[\log D^*_G(x)]+\mathbb{E}_{x\sim p_g}[\log (1-D^*_G(x)]Ex∼pdata​​[logDG∗​(x)]+Ex∼pg​​[log(1−DG∗​(x)]

then pgp_gpg​ converges to pdatap_{data}pdata​

定理2。如果 GGG 和 DDD 有足够的容量,而且在算法1的每一步中,鉴别器都被允许在给定 GGG 的情况下达到最优值,并更新 pgp_gpg​ 以改进下式标准
Ex∼pdata[log⁡DG∗(x)]+Ex∼pg[log⁡(1−DG∗(x)]\mathbb{E}_{x\sim p_{data}}[\log D^*_G(x)]+\mathbb{E}_{x\sim p_g}[\log (1-D^*_G(x)]Ex∼pdata​​[logDG∗​(x)]+Ex∼pg​​[log(1−DG∗​(x)]
之后 pgp_gpg​ 将收敛到 pdatap_{data}pdata​(之后的内容都是在证明这个结论就不详说了)

In practice, adversarial nets represent a limited family of pgp_gpg​ distributions via the function G(z;θg)G(z; \theta_g)G(z;θg​), and we optimize θg\theta_gθg​ rather than pgp_gpg​ itself. Using a multilayer perceptron to define GGG introduces multiple critical points in parameter space. However, the excellent performance of multilayer perceptrons in practice suggests that they are a reasonable model to use despite their lack of theoretical guarantees.

在实践中,对抗网络只表示一个 pgp_gpg​ 有限的家族分布,通过方程 G(z;θg)G(z; \theta_g)G(z;θg​),之后我们优化 θg\theta_gθg​ 而不是 pgp_gpg​(这句话的大概意思就是我们用 G(z;θg)∼pgG(z; \theta_g)\sim p_gG(z;θg​)∼pg​ 来近似表示 pgp_gpg​,之后我们只需优化生成网络的参数 θg\theta_gθg​ 就完事,而不在需要去优化 pgp_gpg​ 本身,因为 G(z;θg)G(z; \theta_g)G(z;θg​) 只是 pgp_gpg​ 的一个很小的子集,优化 θg\theta_gθg​ 比优化 pgp_gpg​ 简单)。使用一个多层感知机来定义 GGG 在参数空间引入多个临界点。因为多层感知机在实践中性能的优越性,所以采用多层感知机是一个合理的模型,而它们的缺点也只是缺乏理论的保证。

5 Experiments

We trained adversarial nets an a range of datasets including MNIST, the Toronto Face Database (TFD), and CIFAR-10. The generator nets used a mixture of rectifier linear activations and sigmoid activations, while the discriminator net used maxout activations. Dropout was applied in training the discriminator net. While our theoretical framework permits the use of dropout and other noise at intermediate layers of the generator, we used noise as the input to only the bottommost layer of the generator network.

训练用到了 MNIST,TFD 和 CIFAR-10 这三个数据集。然后生成器用到一个混合的线性整流器和 sigmoid 激活函数,而鉴别网络用的是 maxout 激活函数。同时在训练鉴别器中还使用了 dropout 方法。理论上框架允许使用 dropout 和其他噪声在生成器的中间层,但是这里仅使用噪声在生成器的最低层作为输入。

We estimate probability of the test set data under pgp_gpg​ by fitting a Gaussian Parzen window to the samples generated with GGG and reporting the log-likelihood under this distribution. The σ\sigmaσ parameter of the Gaussians was obtained by cross validation on the validation set.

我们通过将 Gaussian Parzen 窗口拟合到使用 GGG 生成的样本并报告此分布下的对数似然来估计测试集数据在 pgp_gpg​ 下的概率。然后 Gaussian 分布的 σ\sigmaσ 参数通过在验证数据集上的交叉验证来获得。

This procedure was introduced in Breuleux et al. and used for various generative models for which the exact likelihood is not tractable. Results are reported in Table 1. This method of estimating the likelihood has somewhat high variance and does not perform well in high dimensional spaces but it is the best method available to our knowledge. Advances in generative models that can sample but not estimate likelihood directly motivate further research into how to evaluate such models.

这种处理方式被用于很多生成模型,因为其准确的似然不好被驾驭。这种估计似然的方法存在一些高的方差和在高维空间性能不是很好,但是这是已知最好的方法。生成模型的优势可以采样但是不会对直接估计似然做进一步的研究。

In Figures 2 and 3 we show samples drawn from the generator net after training. While we make no claim that these samples are better than samples generated by existing methods, we believe that these samples are at least competitive with the better generative models in the literature and highlight the potential of the adversarial framework.

图2和图3显示的是来自生成网络在训练之后生成的图片,这些生成样本比其他生成模型生成的样本还要好。

Figure 2
Figure 2: Visualization of samples from the model. Rightmost column shows the nearest training example of the neighboring sample, in order to demonstrate that the model has not memorized the training set. Samples are fair random draws, not cherry-picked. Unlike most other visualizations of deep generative models, these images show actual samples from the model distributions, not conditional means given samples of hidden units. Moreover, these samples are uncorrelated because the sampling process does not depend on Markov chain mixing. a) MNIST b) TFD c) CIFAR-10 (fully connected model) d) CIFAR-10 (convolutional discriminator and “deconvolutional” generator)

前面五列都是生成样本,而最右边黄色框那一列,则是的是相邻样本最近的一个训练样本(一个是生成的一个是用于训练的)。为了保证模型不会记忆任何训练数据,样本是公平随机的画出,而不是特意挑选的。不像大多数的生成模型可视化,这些图片显示来自模型分布实际的样本。这些样本不相关是因为样本处理不依赖于马尔可夫链。

Figure 3
Figure 3: Digits obtained by linearly interpolating between coordinates in zzz space of the full model.

通过在完整模型的 zzz 空间中的坐标之间进行线性插值获得的数字(不懂)。

6 Advantages and disadvantages

This new framework comes with advantages and disadvantages relative to previous modeling frameworks. The disadvantages are primarily that there is no explicit representation of pg(x)p_g(x)pg​(x), and that DDD must be synchronized well with GGG during training (in particular, GGG must not be trained too much without updating DDD, in order to avoid “the Helvetica scenario” in which GGG collapses too many values of zzz to the same value of xxx to have enough diversity to model pdatap_{data}pdata​), much as the negative chains of a Boltzmann machine must be kept up to date between learning steps. The advantages are that Markov chains are never needed, only backprop is used to obtain gradients, no inference is needed during learning, and a wide variety of functions can be incorporated into the model. Table 2 summarizes the comparison of generative adversarial nets with other generative modeling approaches.

新的架构带来了前人模型未具有的一些优势和劣势。劣势最重要的是没有一个关于 pg(x)p_g(x)pg​(x) 的表达式,而且 DDD 必须和 GGG 同步得很好在训练中(特别的,相较于更新 DDD,GGG 不能训练得太多,为了避免 the Helvetica scenario 也就是其中 GGG 将过多的 zzz 值折叠为相同的 xxx 值,从而有足够的多样性来建模 pdatap_{data}pdata​),这有点像波尔兹曼机。而优势则是不再需要马尔科夫链,仅仅使用反向传播来获得梯度,不再需要推理在学习的过程中,同时广泛的函数种类可以被合并在模型中。

The aforementioned advantages are primarily computational. Adversarial models may also gain some statistical advantage from the generator network not being updated directly with data examples, but only with gradients flowing through the discriminator. This means that components of the input are not copied directly into the generator’s parameters. Another advantage of adversarial networks is that they can represent very sharp, even degenerate distributions, while methods based on Markov chains require that the distribution be somewhat blurry in order for the chains to be able to mix between modes.

前述的优势最主要的是计算性。对抗模型也许也许会从生成网络中获得一些数据样本中没有的统计优势,仅仅是梯度流过鉴别器。这意味着这些输入的组件不是直接复制进去生成器的参数中。其他的优势关于对抗网络的还有他们可以表示非常尖锐而且退化的分布,而其他基于马尔科夫链则要求这些分布有点模糊以便链能在模型之间混合。

论文的研究背景

1. 本论文解决什么问题?(能否通过一个示例来说明拟解决的问题)

本篇论文主要提出了一个包含生成网络和鉴别网络的对抗网络来训练深度生成模型,从而避免以前单独深度生成网络中存在的最大似然估计和相关策略出现的棘手概率计算问题。

2. 关于该问题,目前的相关工作有哪些?这些相关工作有何优缺点?(综述相关工作)

相关工作主要有受限的玻尔兹曼机(RBMs),深度玻尔兹曼机(DBMs)和它的多种变种,还有深度信念网络(DBNs)和分数匹配(score matching)和噪声对比估计(NCE)和生成随机网络(GSN)架构。

其中玻尔兹曼机(RBMs),深度玻尔兹曼机(DBMs)和它的多种变种的优点文中没说,但是缺点是对上述模型的梯度求导比较困难,虽然可以通过 MCMC 来完成。

深度信念网络(DBNs)优点文中也未说明,缺点是当使用一个快速逐层近似的标准训练时,DBNs 将会同时在无向和有向模型上产生计算困难。

分数匹配(score matching)和噪声对比估计(NCE)优点文中也未说明,缺点是需要一个已学习的概率密度来分析指定的一个归一化常量,但是很多情况下是不可能给出一个易于处理的非归一化的概率密度的。 在NCE 中,每一个鉴别训练标准都对应一个生成模型,无法很好的做到自适应,且需要一个已知的概率密度来分析指定的一个归一化常量,这通常是不容易给出的,而且在模型在一个可观测变量的一小部分上得到一个近似正确的分布之后,学习会突然变得很慢。

生成随机网络(GSN)架构优点文章也未说明,缺点是使用了马尔科夫链(Markov chain)和回馈循环(feedback loops),无法很好的利用分段线性单元特性,在使用回馈循环的时候,分段线性单元会存在激活失去约束的情况。

论文的主要研究内容

1. 针对已有工作的不足之处,本文提出了什么方法?(该方法为何有效?)该方法的基本思路是什么?主要创新点在哪?

提出了对抗网络的思想来训练生成器。因为该方法并不求解出一个显式的数学表达式来表示生成模型,而是通过深度神经网络的方法来模拟逼近一个真实分布,通过对抗网络来训练生成模型,从而使其更好的贴合真实数据,在这种无法求出确切数学表达式的情况下,使用深度神经网络更具优势。创新点就是不再要求生成模型求解出一个显式的数学表达式,而是通过深度神经网络来模拟这个数学表达式。

2. 阐述本文提出方法的技术细节

关于本文提出的方法的技术细节就是算法1中的迭代过程,简单来说如下所示:
Algorithm 1
小批量随机梯度下降训练用于生成对抗网络,kkk 是一个超参数,其中在实验中使用 k=1k=1k=1 作为一个最简单易行的选项。
整个算法有个大的迭代次数(这个算法是先更新鉴别器,再更新生成器),简单来说,就是:

  1. 从生成模型中得到 mmm 个样本;
  2. 从真实数据模型中获得 mmm 个样本;
  3. 之后用这些个样本计算损失函数的梯度;
  4. 然后通过提高其随机梯度来更新鉴别器(这一步代表了下面等式的前半部分的目标);
    minG maxDV(D,G)=maxDEx∼pdata(x)[log⁡D(x)]+minG maxDEz∼pz(z)[log⁡(1−D(G(z)))]\underset{G}{min}\,\underset{D}{max}V(D, G)=\underset{D}{max}E_{x\sim p_{data}(x)}[\log D(x)]+\underset{G}{min}\,\underset{D}{max}E_{z\sim p_z(z)}[\log(1 − D(G(z)))]Gmin​Dmax​V(D,G)=Dmax​Ex∼pdata​(x)​[logD(x)]+Gmin​Dmax​Ez∼pz​(z)​[log(1−D(G(z)))]
  5. 上面1-4步循环 kkk 次;
  6. 再从生成模型中获得 mmm 个噪声样本;
  7. 之后根据这新的 mmm 个噪声样本,通过降低其随机梯度来更新生成器(这一步对应了上面说到的先暂时的让 D(x)D(x)D(x) 最大,然后固定 D(x)D(x)D(x),之后再来更新 G(z)G(z)G(z) 这个过程,也就是这两个优化目标,不是同时优化而是分批次的优化,先让 DDD 走 kkk 步,然后再让 GGG 走 111 步,然后循环)。

论文的实验结果

1. 阐述本文的实验内容

实验采用了 MNIST,TFB 和 CIFAR-10 数据集,以下为实验结果。

In Figures 2 and 3 we show samples drawn from the generator net after training. While we make no claim that these samples are better than samples generated by existing methods, we believe that these samples are at least competitive with the better generative models in the literature and highlight the potential of the adversarial framework.

图2和图3显示的是来自生成网络在训练之后生成的图片,这些生成样本比其他生成模型生成的样本还要好。

Figure 2
Figure 2: Visualization of samples from the model. Rightmost column shows the nearest training example of the neighboring sample, in order to demonstrate that the model has not memorized the training set. Samples are fair random draws, not cherry-picked. Unlike most other visualizations of deep generative models, these images show actual samples from the model distributions, not conditional means given samples of hidden units. Moreover, these samples are uncorrelated because the sampling process does not depend on Markov chain mixing. a) MNIST b) TFD c) CIFAR-10 (fully connected model) d) CIFAR-10 (convolutional discriminator and “deconvolutional” generator)

前面五列都是生成样本,而最右边黄色框那一列,则是的是相邻样本最近的一个训练样本(一个是生成的一个是用于训练的)。为了保证模型不会记忆任何训练数据,样本是公平随机的画出,而不是特意挑选的。不像大多数的生成模型可视化,这些图片显示来自模型分布实际的样本。这些样本不相关是因为样本处理不依赖于马尔可夫链。

Figure 3
Figure 3: Digits obtained by linearly interpolating between coordinates in zzz space of the full model.

通过在完整模型的 zzz 空间中的坐标之间进行线性插值获得的数字(不懂)。

2. 本文方法的有效性是如何通过实验进行验证的?

对比生成出来图片的和其他生成模型之间,可以明显发现本文提出的模型具有更好的生成质量。

论文存在的不足之处

1. 通过阅读此论文,你能否找到本文工作存在的不足之处?

The disadvantages are primarily that there is no explicit representation of pg(x)p_g(x)pg​(x), and that DDD must be synchronized well with GGG during training (in particular, GGG must not be trained too much without updating DDD, in order to avoid “the Helvetica scenario” in which GGG collapses too many values of zzz to the same value of xxx to have enough diversity to model pdatap_{data}pdata​), much as the negative chains of a Boltzmann machine must be kept up to date between learning steps.

劣势最重要的是没有一个关于 pg(x)p_g(x)pg​(x) 的表达式,而且 DDD 必须和 GGG 同步得很好在训练中(特别的,相较于更新 DDD,GGG 不能训练得太多,为了避免 the Helvetica scenario 也就是其中 GGG 将过多的 zzz 值折叠为相同的 xxx 值,从而有足够的多样性来建模 pdatap_{data}pdata​),这有点像波尔兹曼机。

不足之处个人认为是 DDD 和 GGG 的训练没有一个自适应的过程,还是得依靠经验来调整 DDD 和 GGG 之间的协调。

2. 试阐述解决这些不足之处的基本思路?

无…

论文解析八: GAN:Generative Adversarial Nets(生成对抗网络) 文章提出了一个新的framework(framework通常是一个比较大的模型)用来估计生成模型,通过对抗的过程,同时会训练两个模型**生成模型G:**用来抓取整个数据的分布(生成模型就是要对整个数据的分布进行建模,使得能够生成各种分布,这里的分布就是指的生成图片、文字或者电影等,在统计学中,整个世界是通过采样不同的分布来得到的,所以如果想要生成东西,就应该抓取整个数据的分布)**辨别模型D:**用来估计样本到底是从真正的数据生成出来的还是来自生成模型生成出来的。 阅读详情

相关推荐

论文阅读——《Generative Adversarial Nets》

论文阅读之 Generative Adversarial Nets Summary Goodfellow 的这篇paper发布于2014年,提出了一种新的模型——生成对抗模型。这个模型其实就是训练两个相互对抗的网络,一个是训练一个生成器(Generator),另一个是训练一个判别器(Descriminator)。 这两个网络是相互对抗的,生成器的目的是尽量产生接近真实图片的生成图片,其衡量标准就是...

zh20166666的博客 6621

重读经典:《Generative Adversarial Nets》

GAN论文逐段精读【论文精读】 GAN论文链接:https://arxiv.org/abs/1406.2661

10点43的博客 1万+

Generative Adversarial Nets论文阅读笔记

这篇博客用于记录Generative Adversarial Nets这篇论文的阅读与理解。对于这篇论文,第一感觉就是数学推导很多,于是下载了一些其他有关GAN的论文,发现GAN系列的论文的一大特点就是基本都是数学推导,因此,第一眼看上去还是比较抵触的,不过还是硬着头皮看了下来。 废话不多说,下面就介绍GAN的基本原理。 一.摘要 摘要部分主要说明了,作者通过一个对抗训练过程来估计生成模型,...

yy2050645的博客 1079

论文 Generative Adversarial Nets ( GAN ) 学习笔记

1. 模型的提出 在深度学习中,我们希望寻找到一种模型能够在学习大量已有数据后,生成符合自然图片、声音的概率分布(probability distributions),即通过机器产生出以假乱真的图片、声音信号。到目前为止,我们在判别模型(discriminative model)领域已经取得了良好的效果,能够将高维的原始信息转换为类别信息。然而,在生成模型(generative model)领域中...

qq_39546227的博客 297

(3万字深度解析)Kaggle《房价预测:高级回归技巧》详解复现攻略

在这篇教程式文章中,我们从零开始完成了 Kaggle《房价预测:高级回归技巧》比赛的复现工作,涵盖了数据预处理、特征工程、模型训练、调优、解释和融合的完整流程。深入理解数据:阅读数据描述,结合常识对每个特征作出合理处理(如缺失值填充’None’表示无此设施 、异常值剔除 等)。对目标和偏态特征进行对数变换,使分布更平滑,从而更好满足模型假设并提升准确度。特征工程:我们创造了总面积、总浴室等新特征,整合信息提高模型可学习性。

qq_38334677的博客 1782

SAP采购申请详述;以及采购计划协议/交货计划行

SAP采购申请详述;以及采购计划协议/交货计划行

saplakes的博客 4353

【阅读笔记】Generative Adversarial Nets

GAN 是一个通过对抗过程来估计生成模型的框架。我们同事训练两个模型:a generative model G 来你和数据的概率分布,a discriminative model D来判断数据来自真实数据还是生成数据。训练是一个两人游戏的最大最小化过程,G最大化D判断错误的概率, D最大化判断正确的概率。在任意的函数空间内,G和D的解唯一存在,此时G完全你和训练数据的分布,D的的结果永远为1/2。当G和D被定义为multi-perceptrons时,可通过反向传播训练。

SrdLaplace的博客 864

NVIDIA显卡在Linux下的功率限制问题:RTX 3060 Laptop的解决方案与避坑指南

本文针对NVIDIA RTX 3060 Laptop显卡在Linux系统下遭遇功率限制的问题,提供了详细的诊断与解决方案。通过使用nvidia-smi工具监控显卡状态,并重点介绍了通过升级驱动、启用nvidia-powerd服务来激活Dynamic Boost 2.0功能,从而安全、智能地解锁额外显卡功率,有效提升性能。

weixin_29290947的博客 658

[GAN] Generative Adversarial Nets阅读笔记

1、目的 通过对抗过程(G最大化D犯错的概率),模拟生成模型。 理想情况下,存在最佳解:G可以还原训练数据的分布,D预测值始终为1/2。 【通俗解释】G是假币制造团伙,D是公安机关;G的目标是使假币越来越逼真,D的目标是鉴别假币;通过双方势力的对抗学习,彼此最终都会得到提升。 2、网络结构 1)生成模型G a)捕获数据分布 b)输入随机噪声,符合一...

sinat_30618203的博客 392

一文读懂:CAN总线Bus-Off的触发条件与自动恢复机制

本文详细解析CAN总线Bus-Off状态的触发条件与自动恢复机制。根据ISO 11898-1标准,当发送错误计数器(TEC)超过255时节点进入Bus-Off状态,并通过检测128次总线空闲条件实现自动恢复。文章结合实战案例,探讨硬件故障、软件配置及电磁干扰等常见触发场景,并提供快慢恢复策略与调试方法,帮助工程师快速定位并解决CAN网络故障。

rgv234567的博客 372

±10V ADC 输入电路的高共模差分输入电压

这篇文章分析了±10V ADC输入电路的设计需求与挑战,重点讨论了高共模差分输入电压的处理方案。文章首先明确了设计目标,即安全转换±10V差分信号并保持信号完整性,同时克服高共模电压、阻抗匹配和噪声优化等难点。随后详细比较了仪表放大器和差分放大器的性能特点,并提出了器件选型理论。在信号链架构部分,文章通过公式推导阐述了增益设置、共模抑制设计和输入阻抗匹配等关键技术。此外,还建立了噪声源模型,提出了噪声优化措施。最后,文章总结了设计验证方法,并扩展了在工业保护和生物电信号采集等场景的应用。该设计强调根据具体应

泛红尘的博客 1967

Generative Adversarial Nets 论文阅读笔记

Paper: Generative Adversarial Nets Author: Ian J. Goodfellow et al. Publication: 2014, NIPS 文章目录1 背景2 创新点3 核心方法4 理论推导4.1 训练算法4.2 全局优化的结束:$p_g=p_{data}$命题1: 当G是确定的时候,最优的判别器是:定理1: 当且仅当 $p_g=p_{data}$ 时...

四个菜 1624

PCB模块化设计24——DCDC电源模块PCB布局布线设计规范

PCB模块化设计24——DCDC电源模块PCB布局布线设计规范

qq_31444421的博客 2万+

Generative Adversarial Nets阅读笔记

本文背景 深度学习通过学习各种数据的概率分布来生成高层次化的模型,在自然图像、语音处理、自然语言中方面都有应用。目前,深度学习中应用最成功的是判别模型,而深度生成模型由于在最大似然估计等一些棘手的概率计算,并未获得很大的成功。 提出方法 GAN模型的基本结构包括两个网络结构——生成模型Generator和判别模型Discriminator,G网络尽可能生成满足正样本分布的假样本,D网络则尽可...

lu_7_boy的博客 509

RAG面试内容整理-7. 多轮问答与上下文拼接策略

在对话式的RAG应用中,多轮问答需要处理上下文相关性问题:用户的提问往往依赖于之前的对话内容。为正确理解用户每一轮的问题,系统需要保留和传递对话历史信息。

不务正业的猿 382

华为OD机试:查找接口成功率最优时间段 (C/C++/Py/Java/JS/GO)

华为OD机试双机位C卷 查找接口成功率最优时间段,提供C语言、Java、C++、Python、Go、JavaScript源码实现,并提供完整思路讲解。

qq_45776114的博客 4699

Conditional Generative Adversarial Nets 论文阅读笔记

1 背景和挑战 GAN的提出解决了生成模型在概率计算方面的困难。 普通的GAN无法控制数据生成的模式问题,因为其直接从随机的数据分布中寻找映射关系,太过自由。 当下的分类问题难以解决输出类别多的情况,且大多属于一对一的分类,需要解决一对多的情形。 2 方法 将对于模式判别有帮助的其他信息或是标签,即 y 合并入输入一同交给GAN学习。 ...

四个菜 599

怀旧版电脑GBC模拟器

再现原版GBC掌机的界面,电脑运行连游戏界面都一样大小,很怀旧,很真实,(英文版)强烈推荐,很小的文件,很难才找到的。

GAN初探(论文Generative Adversarial Nets阅读笔记)

GAN初探(论文Generative Adversarial Nets阅读笔记)证明最终收敛于pG=pdatap_G=p_{data}pG​=pdata​证明上述算法流程就等同于对(1)式进行优化实验代码(参考[https://gitee.com/xiaonaw/PyTorch-GAN/blob/master/implementations/gan/gan.py](https://gitee.co...

qq_40746182的博客 580

ssm框架搭建

这个是一个在idea上成功跑起来的ssm框架项目,保存在这里方便以后使用直接下载

VB摄像头监控

该VB模块可对摄像头捕获的画面进行录像等,可在创建的窗口进行控制

Generative Adversarial Nets (GAN) 阅读笔记

Generative Adversarial Nets 生成对抗网络的出现所引起的影响,不用我多说,想必大家也都知道了.我也是最近几天才看完这篇文章(汗,我这科研速度),把自己的一些理解分享给大家.一 Abstract   作者提出了一个网络结构, 该结构包含两个模型, 一个是生成模型, 另一个是辨别模型. 这两个模型的存在就是一个相互促进或者说是互怼的过程. 二 Introduction  顾名思

Silence的博客 2343

廖雪峰Python教程[完整版]

廖雪峰的python教程整理的,已经排好版了,而且还是完整的,适合小白

GAN_Generative Adversarial Nets_阅读笔记

概述: GAN的组成:生成模型G和判别模型D。 D用于评估样本来自原样本集而非G生成的概率。G:造假者,尽量使自己的产品以假乱真;D:警察,负责甄别产品真伪。 GAN可以解决的问题:可以从样本集中生成新的样本,可以学到样本的分布。 理想情况下GAN可以达到的效果:生成模型学到的样本分布与原样本集中样本分布完全一致,从而D得到的概率保持0.5。G的产品能够以假乱真,D无法区分了。 对抗网络

mist1_的博客 401

SeqGAN: Sequence Generative Adversarial Nets with Policy Gradient 阅读笔记

GAN应用到文本生成的两个问题: (1)GAN常用于连续的数据,而文本生成是离散的数据。(待补充说明) (2)GAN只能为完整的序列给出分数,而我们需要衡量不完整序列的分数。 本文模型: (1)利用了强化学习: state:目前的已经生成的字符; action:下一个生成的字符; (2)利用了GAN:使用分辨器评估序列的分数,且引导生成器的训练。 (3)利用了Monte Carlo(MC)来评估state-action值。 序列生成对抗网络 GθG_θGθ​:参数为θ的生成器; Y1:TY_{1:T}Y1:

qq_41500948的博客 346

论文-阅读翻译+笔记-Generative Adversarial Nets

摘要我们提出了一个通过对抗过程估计生成模型的新框架,在新框架中我们同时训练两个模型:一个用来捕获数据分布的生成模型G,和一个用来估计样本来自训练数据而不是G的概率的判别模型D,G的训练过程是最大化D产生错误的概率。这个框架相当于一个极小化极大的双方博弈。在任意函数G 和D 的空间中存在唯一的解,其中G恢复训练数据分布,并且D处处都等于1212。 在G和D 由多层感知器定义的情况下,整个系统可以用反...

塞北战斗民族的博客 2697

论文阅读笔记(四十六):Generative Adversarial Nets

Abstract We propose a new framework for estimating generative models via an adversarial process, in which we simultaneously train two models: a generative model G that captures the data distribution,...

sunshine_010的博客 2497

【论文阅读】Generative Adversarial Nets

GAN,maxout激活函数,KL散度,JS散度

qq_34222839的博客 1279

Generative Adversarial Nets论文笔记+代码解析

前面在Generative Adversarial Nets(译)一文中对2014年Ian J. Goodfellow这位大牛关于GAN的文章进行了全文的翻译,在翻译的过程中,遇到的不少的问题,也有一些自己的理解,在这里本人对这篇文章与大家进行交流,并对在TensorFlow上GAN的实现源码进行解析。 论文地址:Generative Adversarial Networks 源码地址

小时候贼聪明 2万+

文献阅读—GAIN:Missing Data Imputation using Generative Adversarial Nets

文章提出了一种填补缺失数据的算法—GAIN。生成器G观测一些真实数据,并用真实数据预测确实数据,输出完整的数据;判别器D试图去判断完整的数据中,哪些是观测到的真实值,哪些是填补的值。给D提供一些额外的提示信息,保证G可以学习期望的分布。提示向量向D透露了原始数据的部分信息。在多个数据集上测试了算法,算法效果较好。 一.引言 1.缺失数据可以分成三类: MCAR:完全随机缺失,数据的缺失不依赖于任何不完全变量和完全变量。 MAR:随机缺失,数据的缺失不是完全随机的,依赖...

u011036984的博客 6387
上一篇: orico磁盘阵列怎么样?别买就对了,反正我是服了
下一篇: Unsupervisd Reprsentation Learning With Deep Convolutional Generative Adversarial Networks 阅读笔记
isinstance
博客等级 码龄11年 222粉丝 99原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址