Title: HOW WELL DO WGANS ESTIMATE THE WASSER

Abstract: Generative modelling is often cast as minimizing a similarity measure between a data distribution and a model distribution. Recently, a popular choice for the similarity measure has been the Wasserstein metric, which can be expressed in the Kantorovich duality formulation as the optimum difference of the expected values of a potential function under the real data distribution and the model hypothesis. In practice, the potential is approximated with a neural network and is called the discriminator. Duality constraints on the function class of the discriminator are enforced approximately, and the expectations are estimated from samples. This gives at least three sources of errors: the approximated discriminator and constraints, the estimation of the expectation value, and the optimization required to find the optimal potential. In this work, we study how well the methods, that are used in generative adversarial networks to approximate the Wasserstein metric, perform. We consider, in particular, the c-transform formulation, which eliminates the need to enforce the constraints explicitly. We demonstrate that the c-transform allows for a more accurate estimation of the true Wasserstein metric from samples, but surprisingly, does not perform the best in the generative setting.

1. INTRODUCTION:

Recently, optimal transport (OT) has become increasingly prevalent in computer vision and machine learning, as it allows for robust comparison of structured data that can be cast as probability measures, e.g., images, point clouds and empirical distributions (Rubner et al., 2000; Lai & Zhao, 2014) , or more general measures (Gangbo et al., 2019) . Key properties of OT include its non-singular behavior, when comparing measures with disjoint supports, and the fact that OT inspired objectives can be seen as lifting similarity measures between samples to similarity measures between probability measures. This is in stark contrast to the more traditional information theoretical divergences, which rely on only comparing the difference in mass assignment. Additionally, when the cost function c is related to a distance function d by c(x, y) = d p (x, y), p ≥ 1, the OT formulation defines the so called Wasserstein metric, which is a distance on the space of probability measures, i.e. a symmetric and positive definite function that satisfies the triangle inequality. Despite its success, scaling OT to big data applications has not been without challenges, since it suffers from the curse of dimensionality (Dudley, 1969; Weed & Bach, 2017) . However, significant computational advancements have been made recently, for which a summary is given by Peyré et al. (2019) . Notably, the entropic regularization of OT introduced by Cuturi (2013) preserves the geometrical structure endowed by the Wasserstein spaces and provides an efficient way to approximate optimal transport between measures.

Generative modelling, where generators are trained for sampling from given data distributions, is a popular application of OT. In this field, generative adversarial networks (GANs) by Goodfellow et al. (2014) have attracted substantial interest, particularly due to their success in generating photorealistic images (Karras et al., 2017) . The original GAN formulation minimizes the Jensen-Shannon divergence between a model distribution and the data distribution, which suffers from unstable training. Wasserstein GANs (WGANs) (Arjovsky et al., 2017) minimize the 1-Wasserstein distance over the l 2 -metric, instead, resulting in more robust training.

The main challenge in WGANs is estimating the Wasserstein metric, consisting of estimating expected values of the discriminator from samples (drawn from a model distribution and a given data distribution), and optimizing the discriminator to maximize an expression of these expected values. The discriminators are functions from the sample space to the real line, that have different interpretations in different GAN variations. The main technical issue is that the discriminators have to satisfy specific conditions, such as being 1-Lipschitz in the 1-Wasserstein case. In the original paper, this was enforced by clipping the weights of the discriminator to lie inside some small box, which, however, proved to be inefficient. The Gradient penalty WGAN (WGAN-GP) (Gulrajani et al., 2017) was more successful at this, by enforcing the constraint through a gradient norm penalization. Another notable improvement was given by the consistency term WGAN (CT-WGAN) (Wei et al., 2018) , which penalizes diverging from 1-Lipschitzness directly. Other derivative work of the WGAN include different OT inspired similarity measures between distributions, such as the sliced Wasserstein distance (Deshpande et al., 2018) , the Sinkhorn divergence (Genevay et al., 2018) and the Wasserstein divergence (Wu et al., 2018) . Another line of work studies how to incorporate more general ground cost functions than the l 2 -metric (Adler & Lunz, 2018; Mallasto et al., 2019; Dukler et al., 2019) .

Recent works have studied the convergence of estimates of the Wasserstein distance between two probability distributions, both in the case of continuous (Klein et al., 2017) and finite (Sommerfeld & Munk, 2018; Sommerfeld, 2017) sample spaces. The decay rate of the approximation error of estimating the true distance with minibatches of size N is of order O(N -1/d ) for the Wasserstein distances, where d is the dimension of the sample space (Weed & Bach, 2017) . Entropic regularized optimal transport has more favorable sample complexity of order O(1/ √ N ) for suitable choices of regularization strength (see Genevay et al. 2019 and also Feydy et al. 2018; Mena & Weed 2019) . For this reason, entropic relaxation of the 1-Wasserstein distance is also considered in this work.

Contribution.:

In this work, we study the efficiency and stability of computing the Wasserstein metric through its dual formulation under different schemes presented in the WGAN literature. We present a detailed discussion on how the different approaches arise and differ from each other qualitatively, and finally measure the differences in performance quantitatively. This is done by quantifying how much the estimates differ from accurately computed ground truth values between subsets of commonly used datasets. Finally, we measure how well the distance is approximated during the training of a generative model. This results in a surprising observation; the method best approximating the Wasserstein distance does not produce the best looking images in the generative setting.

2. OPTIMAL TRANSPORT:

In this section, we recall essential formulations of optimal transport to fix notation. Probabilistic Notions. Let (X , d X ) and (Y, d Y ) be Polish spaces, i.e., complete and separable metric spaces, denote by P(X ) the set of probability measures on X , and let f : X → Y be a measurable map. Then, given a probability measure µ ∈ P(X ), we write f # µ for the push-forward of µ with respect to f , given by f # µ(A) = µ(f -1 (A)) for any measurable A ⊆ Y. Intuitively speaking, if ξ is a random variable with law µ, then f (ξ) has law f # µ. Then, given ν ∈ P(Y), we define

EQUATION

where π i denotes the projection onto the i th marginal. An element γ ∈ ADM(µ, ν) is called an admissible plan and defines a joint probability between µ and ν.

Optimal Transport Problem. Given a continuous and lower-bounded cost function c : X × Y → R, the optimal transport problem between probability measures µ ∈ P(X ) and ν ∈ P(Y) is defined as

EQUATION

where

E µ [f ] = X f (x)dµ(x)

is the expectation of a measurable function f with respect to µ.

Note that (2) defines a constrained linear program, and thus admits a dual formulation. From the perspective of WGANs, the dual is more important than the primal formulation, as it can be approximated using discriminator neural networks. Denote by

L 1 (µ) = {f : X → R | E µ [f ] < ∞}

the set of measurable functions of µ that have finite expectations under µ, and by ADM(c) the set of admissible pairs (ϕ, ψ) that satisfy

ϕ(x) + ψ(y) ≤ c(x, y), ∀(x, y) ∈ X × Y, ϕ ∈ L 1 (µ), ψ ∈ L 1 (ν).

(3) Then, the following duality holds (Peyré et al., 2019, Sec. 4 )

EQUATION

)

When the supremum is attained, the optimal ϕ * , ψ * in (4) are called Kantorovich potentials, which, in particular, satisfy ϕ * (x) + ψ * (y) = c(x, y) for any (x, y) ∈ Supp(γ * ), where γ * solves (2). Given ϕ, we can obtain an admissable ψ satisfying (4) through the c-transform of ϕ,

EQUATION

so that (ϕ, ϕ c ) ∈ ADM(c) for any ϕ ∈ L 1 (µ). Moreover, the Kantorovich potentials satisfy ψ = ϕ c , and therefore (4) can be written as (Villani, 2008, Thm. 5.9 )

EQUATION

In other words, the ADM(c) constraint can be enforced with the c-transform, and reduces the optimization in (6) to be carried out over a single function.

Wasserstein Metric. Consider the case when X = Y and c(x, y) = d p X (x, y), p ≥ 1, where we refer to d X as the ground metric. Then, the optimal transport problem (2) defines the p-Wasserstein

EQUATION

of probability measures with finite p-moments. It can be shown that (P p d X (X ), W p ) forms a complete, separable metric space (Villani, 2008, Sec. 6, Thm 6.16 ).

Entropy Relaxed Optimal Transport. We can relax (2) by imposing entropic penalization introduced by Cuturi (2013) . Recall the definition of the Kullback-Leibler (KL) divergence from ν to µ as

EQUATION

where we assume that µ, ν are absolutely continuous with respect to the Lebesgue measure χ on X with densities p µ , p ν , respectively. Using the KL-divergence as penalization, the entropy relaxed optimal transport is defined as

EQUATION

where > 0 defines the magnitude of the penalization, and µ ⊗ ν denotes the independent joint distribution of µ and ν. We remark that when → 0, any minimizing sequence (γ ) >0 solving (9) converges to a minimizer of (2), and in particular, OT c (µ, ν) → OT c (µ, ν).

Analogously to (4), the entropy relaxed optimal transport admits the following dual formulation (Peyré et al., 2019; Feydy et al., 2018; Di Marino & Gerolin, 2019 )

EQUATION

where (ϕ⊕ψ)(x, y) = ϕ(x)+ψ(y). In contrast to (4), this is an unconstrained optimization problem, where the entropic penalization can be seen as a smooth relaxation of the constraint.

As shown by Feydy et al. (2018); Di Marino & Gerolin (2019) , a similar approach to (6) for computing the Kantorovich potentials can be taken in the entropic case, by generalizing the c-transform. Let

EQUATION

As → 0, ϕ (c, ) (y) → ϕ c (y), making the (c, )-transform consistent with the c-transform. Analogously to (6), one can show under mild assumptions on the cost c (Di Marino & Gerolin, 2019) , that

EQUATION

)

Sinkhorn Divergence. Since the functional OT c fails to be positive-definite (e.g. OT c (µ, µ) = 0), it is convenient to introduce the (p, )-Sinkhorn divergence S p with parameter > 0, given by

EQUATION

)

where the terms

OT d p X (µ, µ) 1 p and OT d p X (ν, ν) 1 p

are added to avoid bias, as in general

OT d p X (µ, µ) 1 p = 0.

The Sinkhorn divergence was introduced by Genevay et al. ( 2018), and has the following properties: (i) it metrizes weak convergence in the space of probability measures; (ii) it interpolates between maximum mean discrepancy (MMD), as → ∞, and the p-Wasserstein metric, as → 0. For more about the Sinkhorn divergence, see Feydy et al. (2018) .

3. GENERATIVE ADVERSARIAL NETWORKS:

Generative Adversarial Networks (GANs) are popular for learning to sample from distributions. The idea behind GANs can be summarized as follows: given a source distribution µ s ∈ P(R ns ), we want to push it forward by a parametrized generator g ω : R ns → R nt , so that a chosen similarity measure ρ between the pushforward distribution and the target distribution µ t ∈ P(R nt ) is minimized. Usually the target distribution is only accessible in form of a dataset of samples, and one considers an 'empirical' version of the distributions. Note that n s n t is chosen, which is justified by the manifold hypothesis. This objective can be expressed as

EQUATION

)

The similarity ρ is commonly estimated with a discriminator ϕ ω : R nt → R, parametrized by ω, whose role will become apparent below.

The vanilla GAN (Goodfellow et al., 2014) minimizes an approximation to the Jensen-Shannon (JS) divergence between the push-forward and target, given by

EQUATION

for probability measures µ and ν. The discriminator ϕ ω is restricted to take values between 0 and 1, assigning a probability to whether a point lies in µ or ν. It can be shown (Goodfellow et al., 2014) , that at optimality the JS-divergence is recovered in (15), if optimized over all possible functions. Substituting µ = µ t and ν = (g ω ) # µ s in (15) yields the minimax objective for the vanilla GAN

EQUATION

)

As mentioned above, in practice one considers empirical versions of the distributions so that the expectations are replaced by sample averages.

The Wasserstein GANs (WGANs) (Arjovsky et al., 2017) minimize an approximation to the 1-Wasserstein metric over the l 2 ground metric, instead. The reason why the p = 1 Wasserstein case is considered is motivated by a special property of the c-transform of 1-Lipschitz functions, when c = d for any metric d: if f is 1-Lipschitz, then f c = -f (Villani, 2008, Sec. 5) . It can also be shown, that a Kantorovich potential ϕ * solving the dual problem ( 6) is 1-Lipschitz when c = d, and therefore the WGAN minimax objective can be written as

EQUATION

)

In the WGAN case, there is no restriction on the range of ϕ ω as opposed to the GAN case above.

The assumptions above require enforcing ϕ ω to be 1-Lipschitz. This poses a main implementational difficulty in the WGAN formulation, and has been subjected to a considerable amount of research.

In this work, we will investigate the original approach by weight clipping (Arjovsky et al., 2017) and the popular approach by gradient norm penalties for the discriminator (Gulrajani et al., 2017) . We furthermore consider a more direct approach that computes the c-transform over minibatches (Mallasto et al., 2019) , avoiding the need to ensure Lipschitzness. We also discuss an entropic relaxation approach through (c, )-transforms over minibatches, introduced by Genevay et al. ( 2016). In the original work, the discriminator ϕ ω is expressed as a sum of kernel functions, however, in this work we will consider multi-layer perceptrons (MLPs), as we do with the other methods we consider.

3.1. ESTIMATING THE 1-WASSERSTEIN METRIC:

In the experimental section, we will consider four ways to estimate the 1-Wasserstein distance between two measures µ and ν, these being the weight clipping (WC), gradient penalty (GP), c-transform and (c, )-transform methods. To this end, we now discuss how these estimates are computed in practice by sampling minibatches of size N from µ and ν, yielding {x i } N i=1 and {y i } N i=1 , respectively, at each training iteration. Then, with each method, the distance is estimated by maximizing a model specific expression that relates to the dual formulation of the 1-Wasserstein distance in (6) over the minibatches. In practice, this maximization is carried out via gradient ascent or one of its variants, such as Adam (Kingma & Ba, 2014) or RMSprop (Tieleman & Hinton, 2012) .

Weight clipping (WC). The vanilla WGAN enforces K-Lipschitzness of the discriminator at each iteration by forcing the weights W k of the neural network to lie inside some box -ξ ≤ W k ≤ ξ, considered coordinate-wise, for some small ξ > 0 (ξ = 0.01 in the original work). Here k stands for the k th layer in the neural network. Then, the identity for the c-transform (with c = d) of 1-Lipschitz maps is used, and so (17) can be written as

EQUATION

)

Gradient penalty (GP). The weight clipping is omitted in WGAN-GP, by noticing that the 1-Lipschitz condition implies that ∇ x ϕ ω (x) ≤ 1 holds for x almost surely under µ and ν. This condition can be enforced through the penalization term E x∼χ max (0, 1 -∇ x ϕ ω (x) )

2 , where χ is some reference measure, proposed to be the uniform distribution between pairs of points of the minibatches by Gulrajani et al. (2017) . The authors remarked that in practice it suffices to enforce ∇ x ϕ ω (x) = 1, and thus the objective can be written as

EQUATION

)

where λ is the magnitude of the penalization, which was chosen to be λ = 10 in the original paper, and {z i } M i=1 are samples from χ. c-transform. Enforcing 1-Lipschitzness has the benefit of reducing the computational cost of the c-transform, but the enforcement introduces an additional cost, which in the gradient penalty case is substantial. The ADM(c) constraint can be taken into account directly, as done in (q, p)-WGANs (Mallasto et al., 2019) , by directly computing the c-transform over the minibatches as

EQUATION

where c = d 2 in the 1-Wasserstein case. This amounts to the relatively cheap operation of computing the row minima of the matrix A ij = c(x j , y i ) -ϕ ω (x j ). The original paper proposes to include penalization terms to enforce the discriminator constraints, however, this is unnecessary as the c-transform enforces the constraints. Therefore, the objective can be written as

EQUATION

(c, )-transform. As discussed in Section 2, entropic relaxation applied to W 1 results in the (1, )-Sinkhorn divergence S 1 , which satisfies S 1 → W 1 as → 0. Then, S 1 can be viewed as a smooth approximation to W 1 . The benefits of this approach are that ϕ ω is not required to satisfy the ADM(c) constraint, and the resulting transport plan is smoother, providing robustness towards noisy samples.

The expression (13) for S 1 consists of three terms, where each results from solving an entropy relaxed optimal transport problem. As stated by Feydy et al. (2018, Sec. 3.1) , the terms OT 1 (µ, µ) and OT 1 (ν, ν) are straight-forward to compute, and tend to converge within couple of iterations of the symmetric Sinkhorn-Knopp algorithm. For efficiency, we approximate these terms with one Sinkhorn-Knopp iteration. The discriminator is employed in approximating OT 1 (µ, ν), which is done by computing the (c, )-transform defined in (11) over the minibatches

EQUATION

)

and so we write the objective (12) for the discriminator as

EQUATION

)

4 EXPERIMENTS We now study how efficiently the four methods presented in Section 3.1 estimate the 1-Wasserstein metric. The experiments use the MNIST (LeCun et al., 1998) , CIFAR-10 (Krizhevsky et al., 2009) , and CelebA (Liu et al., 2015) datasets. On these datasets, we focus on two tasks: approximation and stability. By approximation we mean how well the minibatch-wise distance between two measures can be computed, and by stability how well these minibatch-wise distances relate to the 1-Wasserstein distance between the two full measures.

Implementation. In the approximation task, we model the discriminator as either (i) a simple multilayer perceptron (MLP) with two hidden layers of width 128 and ReLU activations, and a linear output, or (ii) a convolutional neural network architecture (CNN) used in DCGAN (Radford et al., 2015) . In the stability task we use the simpler MLPs for computational efficiency. The discriminator is trained by optimizing the objective function using stochastic or batch gradient ascent. For the gradient penalty method, we use the Adam optimizer with learning rate 10 -4 and beta values (0, 0.9). For weight clipping we use RMSprop with learning rate 5 × 10 -5 as specified in the original paper by Arjovsky et al. (2017) . 

Note that this is a subjective error based on the POT estimate that can also err, and not absolute error.

In practice POT is rather accurate, and we found this to make only a small difference (see Figure 2 with the ground truth and estimated distances visualized). The weight clipping and the gradient penalty methods might also return a higher value than POT, but in this case it is not guaranteed that the discriminators are admissible, meaning that the constraints of the maximization objective would not be satisfied. In the case of the c-transform, the discriminators are always admissible. However, the POT package's ot.emd (used to compute the 1-Wasserstein distance ground truth) does not utilize the dual formulation for computing the optimal transport distance, and therefore we cannot argue in the same way as in the (c, )-transform case. As the Sinkhorn divergence (13) consists of three terms that are each maximized, we measure the error as the sum of the errors given in (24) of each term.

Approximation. We divide the datasets into two, forming the two measures µ and ν, between which the distance is approximated, and train the discriminators on 500 training minibatches µ k ⊂ µ and ν k ⊂ ν, k = 1, ..., 500, of size 64. See Section 3.1 for how the discriminator objectives. Then, without training the discriminators further, we sample another 100 evaluation minibatches µ l ⊂ µ and ν l ⊂ ν, l = 1, ..., 100, and use the discriminators to approximate the minibatch-wise distance between each µ l and ν l . This approximation will then be compared to the ground-truth minibatchwise distance computed by POT. We run this experiment 20 times, initializing the networks again each time, and report the average error in Table 1 . Note that the discriminators are not updated for the last 100 iterations. Results for a toy example between two Gaussians are presented in Fig. 1 .

review as a conference paper at ICLR 2020 As Table 1 shows, the c-transform approximates the minibatch-wise 1-Wasserstein distance far better than weight clipping or gradient penalty, and (c, )-transform does even better at approximating the 1-Sinkhorn divergence. The low errors in this case are due to the (c, )-transform outperforming the POT library, which results in an error of 0 on many iterations, which also explains why the error variance is so high in the = 1 case.

Stability. We train the discriminators for 500 iterations on small datasets of size 512, that form subsets of the datasets mentioned above. We train with two minibatch sizes N = 64 and N = 512. We then compare how the resulting discriminators estimate the minibatch-wise and total distances, that is, the evaluation minibatches are of size M = 64 and M = 512. Letting Ψ Method be the objective presented in 3.1 for a given method, we train the discriminator by maximizing Ψ Method (φ, µ N , ν N ), and finally compare Ψ Method (φ, µ M , ν M ) for different M . The results are presented in Table 2 . An experiment on CIFAR10 was carried out to illustrate how the distance estimate between the full measures behaves when trained minibatch-wise, which is included in Appendix A.

The ground truth values computed using POT are also included, but are not of the main interest in this experiment. The focus is on observing how different batch-sizes on training and evaluation affect the resulting distance. For the c-transform and (c, )-transform, the results varies depending on whether the distances are evaluated minibatch-wise or on the full datasets. On the other hand, for the gradient penalty and weight clip methods, the training batch-size has more effect on the result, but the minibatch-wise and full evaluations are comparable. WGAN training. Finally, we measure how the different methods fare when training a Wasserstein GAN. For this, we use the architecture from DCGAN (Radford et al., 2015) to learn a generative model on the CelebA dataset. During this training, we compute the POT ground truth distance between presented minibatches, and compare these to the estimated distances given by the discriminators. This is carried out for a total of 5 × 10 4 generator iterations, each of which is accompanied by 5 discriminator iterations. For (c, )and c-transform the discriminators are evaluated on the fake samples, which gave similar results to evaluating on the real samples. The results are presented in Fig. 2 . The results clearly show how the (c, )-transform and c-transform estimate the Wasserstein distances at each iteration better than gradient penalty or weight clipping. However, the resulting images are blurry and look like averages of clusters of faces. The best quality images are produced by the gradient penalty method, whereas weight clipping does not yet converge to anything meaningful. We include the same experiment ran with the simpler MLP architecture for the discriminator, while the generator still is based on DCAN, in Appendix B.

5. DISCUSSION:

Based on the experiments, (c, )-transform and c-transform are more accurate at computing the minibatch distance and estimating the batch distance than the gradient penalty and weight clipping methods. However, despite the lower performance of the latter methods, in the generative setting they produce more unique and compelling samples than the former. This raises the question, whether the exact 1-Wasserstein distance between batches is the quantity that should be considered in generative modelling, or not. On the other hand, an interesting direction is to study regularization strategies in conjunction with the (c, )and c-transforms to improve generative modelling with less training.

The results of Table 2 indicate that the entropic relaxation provides stability under different training schemes, endorsing theoretical results implying more favorable sample complexity in the entropic case. In contrast to what one could hypothetise, the blurriness in Fig. 2 seems not to be produced by the entropic relaxation, but the c-transform scheme.

Finally, it is interesting to see how the gradient penalty method performs so well in the generative setting, when based on our experiments, it is not able to approximate the 1-Wasserstein distance so well. What is it, then, that makes it such a good objective in the generative case? 

B APPENDIX: WGAN TRAINING WITH MLP:

We repeat the WGAN training experiment with the simpler MLP architecture (see Section 4) for the discriminators. The distance estimates at each iteration are given in Fig. 4 , and generated samples in Fig. 5 .

The training process for (c, )and c-transforms is more unstable with the MLP, as notable in the sudden jumps in the true distance between minibatches. This seems to be caused when the discriminator underestimates the distance. The fluctuation between estimated distances is much higher in the gradient penalty and weight clipping cases, but the decrease in the true distance between minibatches is still consistent. Notice how the fluctuation decreases considerably when we use a ConvNet architecture for the gradient penalty method in Fig. 2 . 

:

Python Optimal Transport, https://pot.readthedocs.io/.

Figures and Tables:

Figure 1: Estimating the distance between two standard 2-dimensional Gaussian distributions that have been shifted by ±[1, 1].

Finally, for the c-transform and the (c, )-transform, we use RMSprop with learning rate 10 -4 . The estimated distances d est obtained from the optimization are compared to ground truth values d ground computed by POT 1 . The (c, )-transform might improve on the POT estimates when d est > d ground , as both values result from maximizing the same unconstrained quantity. This discrepancy cannot be viewed as error, which we quantify as err(d est , d ground ) = max(0, d ground -d est ).

Stability. The discriminators are trained using two training batch sizes, N = 64 and N = 512. Then, the distances between the measures are estimated, by evaluating the discriminators on the full measures (of size M = 512), or by evaluating minibatch-wise with batch size M = 64. Presented here are the distances approximated by each way of training the discriminators.

Figure 2: Approximating the minibatch-wise distances while training a generator. Left: generated faces after 5 × 10 4 generator iterations. Right: True and estimated log-distances between sampled batches. The large values of GP and WC can be attributed to the fact that they are susceptible to failure in enforcing the Lipschitz constraints on the discriminator.

Figure 3: Stability. While training the discriminators on minibatches, taken from two measures consisting of 512 samples from CIFAR10, we also report the estimated distance between the full measures.

Figure4: Repeating the experiment presented in Fig.2, but with the simpler MLP architecture for the discriminator. Presented here are the estimated batchwise distances at each iteration against the ground truth.

Figure 5: Repeating the experiment presented in Fig. 2, but with the simpler MLP architecture for the discriminator. Presented here are generated samples after 5 × 10 4 iterations.

Approximation. For each method, the discriminators are trained 20 times for 500 iterations on minibatches of size 64 drawn without replacement, after which training is stopped and the error between the ground truth and the estimate are computed.

Table content: <table><tr><td>MLP</td><td>MNIST</td><td/><td colspan="2">CIFAR10</td><td>CelebA</td></tr><tr><td>WC</td><td>14.98 ± 0.32</td><td/><td colspan="2">27.26 ± 0.61</td><td>48.65 ± 1.29</td></tr><tr><td>GP</td><td>14.89 ± 0.38</td><td/><td colspan="2">27.14 ± 0.87</td><td>48.00 ± 2.88</td></tr><tr><td>c-transform</td><td>0.82 ± 0.16</td><td/><td colspan="2">1.53 ± 0.29</td><td>2.84 ± 0.49</td></tr><tr><td>(c, 0.1)-transform</td><td>0.43 ± 0.17</td><td/><td colspan="2">1.29 ± 0.48</td><td>2.52 ± 1.28</td></tr><tr><td>(c, 1)-transform</td><td colspan="4">(1.12 ± 4.76) × 10 -10 (0.26 ± 5.97) × 10 -4</td><td>0.04 ± 0.26</td></tr><tr><td>ConvNet</td><td>MNIST</td><td/><td colspan="2">CIFAR10</td><td>CelebA</td></tr><tr><td>WC</td><td>20.73 ± 18.59</td><td/><td colspan="2">27.28 ± 0.63</td><td>48.72 ± 1.33</td></tr><tr><td>GP</td><td>14.78 ± 0.54</td><td/><td colspan="2">25.20 ± 24.32</td><td>96.19 ± 77.90</td></tr><tr><td>c-transform</td><td>0.79 ± 0.16</td><td/><td colspan="2">1.00 ± 0.26</td><td>2.11 ± 0.46</td></tr><tr><td>(c, 0.1)-transform</td><td>0.42 ± 0.17</td><td/><td colspan="2">0.60 ± 0.41</td><td>1.74 ± 1.13</td></tr><tr><td>(c, 1)-transform</td><td colspan="2">(0.23 ± 1.90) × 10 -8</td><td colspan="2">(0.40 ± 3.60) × 10 -13</td><td>0.02 ± 0.17</td></tr><tr><td>MNIST</td><td>(c, 1)-transform</td><td colspan="2">c-transform</td><td>GP</td><td>WC</td></tr><tr><td>N = 512, M = 64</td><td>17.20 ± 0.16</td><td colspan="2">13.87 ± 0.23</td><td>4.25 ± 0.49</td><td>2.10 ± 0.26</td></tr><tr><td colspan="2">N = 512, M = 512 16.95</td><td colspan="2">12.64</td><td>4.21</td><td>2.03</td></tr><tr><td>N = 64, M = 64</td><td>17.45 ± 0.06</td><td colspan="2">14.12 ± 0.13</td><td>1.54 ± 0.25</td><td>1.12 ± 0.13</td></tr><tr><td>N = 64, M = 512</td><td>16.76</td><td>11.4</td><td/><td>1.49</td><td>1.08</td></tr><tr><td>Ground truth</td><td>14.22</td><td colspan="2">12.65</td><td>12.65</td><td>12.65</td></tr><tr><td>CIFAR10</td><td>(c, 1)-transform</td><td colspan="2">c-transform</td><td>GP</td><td>WC</td></tr><tr><td>N = 512, M = 64</td><td>29.98 ± 0.28</td><td colspan="3">26.44 ± 0.25 11.04 ± 1.16</td><td>3.85 ± 0.67</td></tr><tr><td colspan="2">N = 512, M = 512 29.41</td><td colspan="2">24.77</td><td>11.10</td><td>4.00</td></tr><tr><td>N = 64, M = 64</td><td>29.67 ± 0.41</td><td colspan="2">26.21 ± 0.40</td><td>3.25 ± 0.53</td><td>2.19 ± 0.23</td></tr><tr><td>N = 64, M = 512</td><td>29.18</td><td colspan="2">24.16</td><td>3.59</td><td>2.34</td></tr><tr><td>Ground truth</td><td>26.10</td><td colspan="2">24.78</td><td>24.78</td><td>24.78</td></tr><tr><td>CelebA</td><td>(c, 1)-transform</td><td colspan="2">c-transform</td><td>GP</td><td>WC</td></tr><tr><td>N = 512, M = 64</td><td>50.55 ± 0.86</td><td colspan="4">46.56 ± 0.89 28.07 ± 10.61 19.18 ± 73.86</td></tr><tr><td colspan="2">N = 512, M = 512 48.42</td><td colspan="2">43.06</td><td>28.17</td><td>20.93</td></tr><tr><td>N = 64, M = 64</td><td>50.80 ± 0.91</td><td colspan="3">46.83 ± 0.86 10.24 ± 7.31</td><td>13.98 ± 39.54</td></tr><tr><td>N = 64, M = 512</td><td>47.60</td><td colspan="2">41.80</td><td>10.10</td><td>15.20</td></tr><tr><td>Ground truth</td><td>43.74</td><td colspan="2">43.07</td><td>43.07</td><td>43.07</td></tr></table>

Peer review (iclr2020):
The paper empirically evaluates different variants of WGAN (with weight clipping, gradient penalty, c-transform, and the generalized c-transform under entropy relaxation). The experiments, mainly performed over three datasets (MNIST, CIFAR10, CelebA), are designed to evaluate how well the Wasserstein distance is approximated, how much these approximations depend on batch sizes, and how good are the obtained generative models. I find the presentation of the different background work and models to be excellent, especially for someone who*s not expert on WGANs like me. However, they may want to check the writing, like the sentence just after (17) or the penalization term between (18) and (19). The contributions of the paper are experimental. The authors argue that they obtain a surprising observation, which is that *the method best approximating the Wasserstein distance does not produce the best looking images in the generative setting *. However, the goodness of the approximation is measured with (24), which the authors called *subjective error*. I think the authors may want to comment more on this measure, which seems to favor the different transforms. Also, the quality of the generative models seems to strongly depend on the architectures used in WGAN. The authors* conclusions are based on DCGAN. However, the results obtained with simple MLP and presented in the appendix have not the same clear distinction as with DCGAN. Overall, although I liked the presentation very much, I feel the experimental results may be a bit too light for a publication in a venue such as ICLR.