Title: D-GAN: DIVERGENT GENERATIVE ADVERSARIAL AP-PROACH FOR POSITIVE-UNLABELED LEARNING AND COUNTER-EXAMPLES GENERATION Anonymous authors Paper under double-blind review

Abstract: Positive Unlabeled (PU) learning consists in learning to distinguish samples of our class of interest, the positive class, from the counter-examples, the negative class, by using positive labeled and unlabeled samples during the training. Recent approaches exploit the GANs abilities to address the PU learning problem by generating relevant counter-examples. In this paper, we propose a new GAN-based PU learning approach named Divergent-GAN (D-GAN). The key idea is to incorporate a standard Positive Unlabeled learning risk inside the GAN discriminator loss function. In this way, the discriminator asks the generator to converge towards the unlabeled samples distribution while diverging from the positive samples distribution. This enables the generator convergence towards the unlabeled counterexamples distribution without using prior knowledge, while keeping the standard adversarial GAN architecture. In addition, we discuss normalization techniques in the context of the proposed framework. Experimental results show that the proposed approach overcomes previous GAN-based PU learning methods issues, and it globally outperforms two-stage state of the art PU learning performances in terms of stability and prediction on both simple and complex image datasets.

1. INTRODUCTION:

Nowadays, the number of available labeled datasets dedicated to perception applications has considerably augmented (Russakovsky et al., 2015) , (Yu et al., 2015) , (Cordts et al., 2016) . However, when learning methods trained on these datasets are applied on real data, their performances are likely to deteriorate. Consequently, it is necessary to use a dataset specialized for the given target application. It turns out that it can be easy to get unlabeled data in some applications domains such as autonomous driving. Positive Unlabeled (PU) learning enables to use these unlabeled data such that they are combined with labeled samples of our class of interest: the positive class. The interest is that unlabeled data can contain relevant counter-examples: the negative samples. The difficulty is that unlabeled data can also contain a fraction π p of unlabeled positive samples. (Sansone et al., 2018) enumerates several learning problems which can be addressed in this way like the information retrieval and the One-vs-Rest task.

Several PU learning methods exist and some of them are adapted for image classification. They are generally classified into these two categories: -censoring PU learning, formalized by Elkan & Noto (2008) and recently improved by Northcutt et al. (2017) ; -case-control PU learning, introduced by Ward et al. (2009) , formalized by du Plessis et al. (2014) , and then consecutively improved by Du Plessis et al. (2015) and Kiryo et al. (2017) . However we focus our attention in this article on the recently proposed GAN-based PU approaches. So we classify PU learning approaches into the two following groups suggested by Kiryo et al. (2017) : one-stage and two-stage PU methods. Onestage ones such as the unbiased PU method (uPU) (Du Plessis et al., 2015) and the non-negative PU method (nnPU) (Kiryo et al., 2017) consist in training a classifier directly with the PU dataset. These methods have the advantage to need only one training of the classifier. But they require dataset prior knowledge and consequently uPU and nnPU need to be combined with an approach estimating the prior knowledge (Jain et al., 2016) , (Ramaswamy et al., 2016) , (Christoffel et al., 2016) . On the other hand, two-stage PU methods prepare during the first stage a PN dataset. For example, Rank Pruning method (RP) (Northcutt et al., 2017) realizes several consecutive trainings of a binary classifier. After each training, only the samples considered as the most confident are kept in order to substitute the unlabeled samples for the next training of the same classifier. RP achieves two-stage state of the art performances without prior knowledge, but with a high training computational cost and is limited in its prediction performances on complex image datasets like CIFAR-10.

Recently, a new subcategory of two-stage PU methods appeared: GAN-based PU methods. They address the PU learning challenge by producing, thanks to an adversarial training (Goodfellow et al., 2014) , relevant generated samples from a PU dataset during the first step. Then they are used to train a standard Positive Negative (PN) classifier during the second step. Existing GAN-based PU methods PGAN (Chiaroni et al., 2018) and GenPU (Hou et al., 2018) are presented and their issues are discussed in the next section 2. This article addresses these issues with a new GAN-based PU learning approach: the Divergent-GAN. Our contributions are the following:

• we propose to incorporate a PU learning risk inside the standard GAN (Goodfellow et al., 2014) discriminator loss function. The intuition behind is to have the generative model solving the PU learning problem formulated in the discriminator loss function. In this way the generator learns the distribution of the samples which are both unlabeled and not positive: the negative ones included in the unlabeled dataset; • (side contribution) we highlight a Batch Normalization (BN) (Ioffe & Szegedy, 2015) critical issue: A learning model which manipulates different minibatches distributions should not use BN. Alternative normalization techniques are discussed (section 3.2) and experimented (section 4.1) in the context of the proposed framework which manages positive, unlabeled and generated minibatches.

Thanks to this new framework, we address the previous GAN-based PU methods main issues: It reduces the overfitting problem of the PGAN method, and it learns the counter-examples distribution included in the unlabeled dataset without using prior knowledge while keeping a standard GAN architecture. Consequently, the D-GAN globally outperforms two-stage state of the art PU learning performances on simple MNIST and complex CIFAR-10 image datasets.

From a practical point of view, several previous PU methods benefits are combined in the proposed framework as listed in Table 1 . The D-GAN code is available at1 .

The article is structured as follow. Section 2 presents GAN-based PU learning approaches. Section 3 describes the proposed method. Section 4 presents the corresponding experimental results. Then in section 5, we finish by a conclusion where we also discuss perspectives.

2. RELATED WORK:

GAN-based PU learning approaches are a recent subcategory of two-stage PU methods, as proposed in PGAN (Chiaroni et al., 2018) and GenPU (Hou et al., 2018) . The interest of using GANs is double: GANs enable relevant data augmentation and they use high-level feature metrics to evaluate generated samples quality, thanks to the use of a discriminator. The generated samples replace the unlabeled ones by learning on the latter (Chiaroni et al., 2018) , or on both unlabeled and positive labeled ones as (Hou et al., 2018) during the first step. Both methods exploit GANs (Goodfellow et al., 2014) benefits, but they are not suitable under the same datasets conditions and the reasonings are different:

• GenPU method is based on the original GAN convergence (Goodfellow et al., 2014) , such that:

π P • p G P + (1 -π P ) • p G N - → p U

, with p G P the distribution of positive samples generated by the generator G P , p G N the distribution of the negative samples generated by G N , and p U the distribution of real unlabeled samples. The same idea can be expressed by using one single generator G N such that we replace the generated positive samples by the positive labeled samples initially present in a PU dataset. In practice, GenPU seems to be an interesting PU method on simple datasets when we own few positive labeled samples, and it generates relevant counter-examples. However, training adversarially five learning models instead of two to address standard PU learning challenge is not necessary and more computational demanding. Moreover, this amplifies the mode collapse issue, and GenPU training optimization functions need three additional hyper-parameters combined with prior knowledge. This is not practical.

• PGAN method is trained to converge towards the unlabeled dataset distribution during the first step. During the second step, it exploits GANs imperfections such that the generated distribution at the adversarial equilibrium is still separable from the unlabeled samples distribution by a classifier. It presents a relatively steadier behaviour and better prediction performances than the two-stage baseline RP method on the complex RGB image dataset CIFAR-10 without prior knowledge. However, it is less suitable for relatively simpler datasets like MNIST. The generated samples are all considered as negative samples by the classifier. But this is possible only if the generated samples distribution converges close enough towards the unlabeled samples distribution, while not matching with it. So if the PGAN first stage works as expected theoretically by Goodfellow et al. (2014) , then the PGAN classification second stage falls back into the initial PU learning problem. We highlight this first stage overfitting problem in figure 5(b) .

The proposed approach overcomes previous enumerated GAN-based PU methods issues, while merging their respective advandages to address the standard PU learning task. This is achieved with the novel reasoning presented in the next section. (Chiaroni et al., 2018) (Hou et al., 2018) (Northcutt et al., 2017) (Kiryo et al., 2017 ) (Du Plessis et al., 2015) No need of priori knowledge

× × × Practical PU framework × Simple PU dataset analysis × Complex PU dataset analysis × × Generation of relevant counter-examples × Noisy Labeled learning (section 6.3) × × × ×

3. PROPOSED METHOD:

This section starts by discussing some particularities of a standard PU learning risk (equation 1).

Then we propose to incorporate this risk into a generic GAN framework in order to guide the generator convergence towards the distribution of the negative samples included in the unlabeled dataset.

In addition, we discuss normalization techniques in the context of this framework which manipulates three different types of minibatches: positive, unlabeled and generated ones.

3.1. A DIVERGENT APPROACH FROM THE DISCRIMINATOR POINT OF VIEW:

The D-GAN intuition can be expressed as follow. The discriminator D addresses to the generator G the riddle: Show me what IS unlabeled AND NOT positive. It turns out that negative samples included in the unlabeled dataset are both unlabeled and not positive. Consequently G addresses this riddle by learning to show the negative samples distribution to D.

The Positive Unlabeled (PU) learning problem consists in trying to distinguish positive samples from negative samples by using a PU dataset. We start by detailing the expected PU functionality that we want to incorporate into the GAN discriminator loss function. Let X ∈ R m be the input random variable and Y ∈ {0, 1} its associated label. X can be a positive X P , negative X N or unlabeled X U sample which respectively follow the distributions p P = p(X|Y = 0), p N = p(X|Y = 1) and p U = (1 -π P ) • p N + π P • p P , with π P ∈ (0, 1) the unknown prior which represents the fraction of unlabeled positive samples included in the unlabeled dataset. Let D : R m → [0, 1] be the decision function which is then considered as the discriminator network of the proposed framework. We have l(ŷ, y) such that l : [0, 1] × [0, 1] → R is the arbitrary cost function with the predicted output ŷ of D for a given sample and the corresponding label y as inputs. D is trained with a PU risk R P U to predict the label value 1 for the unlabeled samples, and the label value 0 for the positive labeled ones. Given the composition of the unlabeled dataset, we develop R P U (D) such that:

EQUATION

We notice that negative samples are associated exclusively to the label value 1 for any π P value. Labeled and unlabeled positive samples follow the same distribution p P . So p P is associated to both contradictory labels 0 and 1. Consequently, as discussed in annexe section 6.1, we assume it is equivalent to associate the positive distribution p P with a unified intermediate label value δ ∈ (0, 1). So if we train D with the risk R P U , then D prediction concerning the unlabeled positive samples is shifted away from the label value 1. Thus D predicts the label value 1 exclusively for the negative samples.

Next, let us consider the decision function D as the discriminator of a generative adversarial network. We propose to incorporate the risk R P U into the value function of the original GAN model (Goodfellow et al., 2014) by adding the loss function term

EQUATION

with z the input random vector of the generative model G such that G(z) is a generated sample. z can follow a uniform or normal distribution. The equation 2 is justified intuitively as follow. Instead of asking to G to converge towards the distribution p U , we want that G learns to converge towards the distribution p N of negative samples. Thus we propose to replace the standard GAN task show me what is unlabeled by the task show me what is both unlabeled and not positive. This results in addressing directly the risk R P U to D such that L D is as follow:

EQUATION

with 0 the label associated to the samples G(z) generated by G. Let the cost function l used in the proposed D-GAN framework be the binary cross-entropy H such that l = -H. So:

EQUATION

We recall that the binary cross-entropy H is defined as below:

EQUATION

with Y the label associated to the D input X. Thus H(D(X), 1) = -log(D(X)) and H(D(X), 0) = -log(1 -D(X)). Consequently, L D can be developed as in the equation 2. This shows the incorporation of R P U risk (equation 1) inside the D-GAN discriminator loss function (equation 2).

On the other hand, the role of G during the adversarial training is to generate samples considered by D as 1. So, as suggested by Goodfellow et al. (2014) in practice, the training loss function

L G of G is such that L G (G, D) = E z∼pz [log(D(G(z)))].

We recall that exclusively the negative samples are considered as 1 by D thanks to the R P U risk, as shown previously. Consequently this justifies intuitively the G convergence towards the negative samples distribution p N . The corresponding implementation algorithm 1 of this first stage is presented in annexe 6.

Once the D-GAN training is finished, we can start the second step which consists in using a classifier C to distinguish fake generated samples x F N = G(z), which are ideally equivalent to the real negative samples, from real positive labeled samples as illustrated in figure 1 . The Divergent-GAN behaviour is only possible if the discriminator D associates the label value 1 exclusively with the negative samples distribution. Nonetheless, in the worst-case scenario where the discriminator D is not able to sufficiently encode the complexity of the boundary between positive and negative samples included in the unlabeled dataset, the D-GAN will behave like the PGAN, which is the best solution in this situation. This is observed experimentally in the section 4.

3.2. WITHOUT DISCRIMINATOR BATCH NORMALIZATION:

Nowadays, Batch Normalization (BN) (Ioffe & Szegedy, 2015) is considered as a relevant regularization technique commonly used in deep neural networks architectures. Its utility for GANs training has been highlighted by (Radford et al., 2015) for the DCGAN architecture in order to stabilize the adversarial training. Other variants like the Wasserstein-GAN (Arjovsky et al., 2017) or the Loss-Sensitive GAN (Qi, 2017) confirmed its interest. As developped in (Ioffe & Szegedy, 2015) , BN addresses issues like vanishing, exploding gradient problems, and the risk of getting stuck in a poor local minima. BN suggests to reduce the internal covariate shif t problem of the learning model. In this way, a higher learning rate can be used and it can improve significantly the training speed.

But BN regularizes the model, such that a training sample from a given minibatch is considered in conjunction with other examples of this minibatch. This is the consequence of estimating the mean and variance normalization parameters one time per minibatch, and then applying them on each minibatch sample. It turns out that it does not allow to link labeled positive samples to the unlabeled positive samples and to produce a gap between positive and negative samples, when positive samples x P and unlabeled samples x U are not in the same training minibatch. To counter this problem, we could imagine to apply BN on a unified minibatch which contains a fraction of each distribution x P , x U and x F . But the BN effect is influenced a lot by the content of the minibatch on which it is applied. So the fraction π P of positive samples included in x U will affect the batchnorm effect.

As illustrated experimentally in figure 4 , with BN, we observe that the classifier only learns to distinguish minibatches of positive samples from minibatches of unlabeled samples. On the contrary, without the use of BN, both distributions appear in the unlabeled minibatch from the discriminator output point of view. In other words, the negative samples can be distinguished from the positive samples without BN.

However, BN benefits in a more traditional training are not negligible, so we suggest to use another type of normalization which could replace BN role in a PU learning task. Layer Normalization (LN) (Ba et al., 2016) , is a frequently used technique with sequential networks as it can be applied for each sequential sample separately. With LN the normalization for a given sample is computed on its resulting output feature map layers and the mean and variance are computed separately for each sample of a minibatch. For this reason, we propose to apply LNs instead of BNs inside our discriminative model D. As we can observe in figure 4 , it allows the discriminator to keep the behaviour that interests us which is the ability to distinguish unlabeled negative samples to unlabeled positive samples. Additional qualitative experiments in annexe section 6 show that the LN can substitute BN inside the discriminative model structure to generate acceptable images.

The next section presents experimental results which demonstrate the good performance of the proposed approach.

4. EXPERIMENTAL RESULTS:

This section demonstrates experimentally the D-GAN abilities on simple and complex datasets:

We present qualitative results for the counter-example generation, the discriminator normalization effect, and quantitative results for the PU learning image classification task.

Experimental settings are as follow. Minibatches of labeled positive samples, unlabeled samples, and generated samples have the same size. The convolutional classifier C used2 in the subsection 4.2 is described in the PGAN article (Chiaroni et al., 2018) experiments. C is always trained during 20 epochs. We use the DCGAN (Radford et al., 2015) architecture for all the comparative experiments except for celebA and CIFAR-10 datasets where we respectively adapt the LS-GAN (Qi, 2017) and WGAN-GP (Gulrajani et al., 2017) variants to the D-GAN framework. The D-GAN uses LN instead of BN concerning D. Concerning the PU dataset initialization from a standard PN dataset, ρ is the fraction of the positive labeled samples of the initial PN dataset that we unlabel such that they are included into the unlabeled dataset. π P is the fraction that represents these unlabeled positive samples among the unlabeled dataset.

From a qualitative point of view, and on the contrary to the PGAN model, the D-GAN generates samples which are only similar to the counter-examples for diverse data types, as illustrated in figure 3 for a 2D point cloud dataset and in figure 2 for a real images dataset. In order to enable the proposed approach reproducibility, a D-GAN implemented version corresponding to the figure 2 results is available3 and is applied on the LSGAN model (Qi, 2017) . Our code includes also the method implementation, proposed by Chiaroni et al. (2018) , to establish a PU training dataset from a fully labeled dataset. 

4.2. DIVERGENT-GAN FOR POSITIVE UNLABELED LEARNING:

We compare the D-GAN accuracy prediction to GenPU on the table 2 for the simple One vs. One task with few positive labeled samples. The GenPU method presents better results for fewer labeled positive samples. The D-GAN presents Accuracy performances better than the GenPU method for one hundred of positive labeled samples after 40 epochs training iterations for the D-GAN counterexamples generation step. Moreover, it is interesting to observe that the proposed approach globally slightly outperforms nnPU and uPU methods without using prior knowledge.

Table 2 : Comparative results of Accuracy prediction performances on MNIST in a One vs. One mode. N P is the number of positive labeled samples, and N U is the number of unlabeled samples which mixes all the rest of positive and negative samples. GenPU, uPU and nnPU results come from (Hou et al., 2018) . Concerning the relatively more challenging One vs. Rest task, the D-GAN globally outperforms the PGAN and RP methods in terms of F1-Score predictions performances on the table 3 both on MNIST and CIFAR-10 datasets.

Moreover, the D-GAN demonstrates a steadier behaviour than PGAN against the overfitting problem as illustrated in figure 5(b) .

Table 3 : Comparative results of two-stage PU methods not using prior knowledge. These are the average F1-Score prediction performances in a One vs. Rest mode on MNIST and CIFAR-10 with respectively 35 Divergent-GAN epochs on MNIST and 275 Divergent-WGAN-GP epochs on CIFAR-10. PGAN and RP results come from (Chiaroni et al., 2018) . PNGAN represents a PN (PU when π P = 0) training such that the negative samples are replaced by WGAN generated ones. This highlights the GANs data augmentation effect on complex datasets like CIFAR-10. In figure 5 (a), without BN or LN, the D-GAN method gets a faster and better Accuracy prediction performance than the PGAN when both are trained under the same conditions. In figure 5 -It addresses the GenPU mode collapse issue by keeping the practical standard GANs architecture such that it is easily adaptable to recent GANs variants. A side contribution of this article is to identify a discriminator batch-normalization critical issue appearing when the discriminator manipulates multiple minibatches distributions.

We strongly believe that the proposed approach stability and prediction performances still have the potential to be improved by taking the best of the representation learning and PU learning domains. For example, recent promising GAN training approaches (Karras et al., 2018 ) not mandatorily using BN should be suitable to extend the proposed approach for large-scaled image datasets. In addition, premices of Noisy labeled learning results presented in annexe section 6.3 propose to extend the presented approach to a unified generative framework which could output relevant generated labeled samples even from a weak, noisy labeled or incremental dataset with varying fractions of unlabeled positive samples. 

6. ANNEXE:

The algorithm 1 is the implementation of the proposed approach. It includes the option for the noisy labeled learning task.

The table 4 details for each class the average F1-Score results presented in Table 3 .

The figure 9 presents the same minibatch generated as in the figure 2 , but in a larger size.

6.1. AN EXPERIMENTAL ANALYSIS OF THE RISK R P U:

If D does not overfit labeled and unlabeled positive samples, let δ ∈ (0, 1) be the label associated to all positive samples such that we propose the Positive Negative risk R P N (D, δ) = R P U (D). δ represents the intermediate label value equivalent of associating, in the risk R P U , both contradictory labels 0 and 1 respectively to labeled and unlabeled positive samples. We develop the risk R P N as follow:

EQUATION

As illustrated in figure 6 , in practice we can train D with the risk R P U to output a value ŷ close to δ when the input is a positive sample, and close to 1 when the input is a negative sample. We can observe that the global minimum of the approximated risk RP N (D, δ) corresponds to the global maximum of the distribution predicted by D in output for positive unlabeled samples. Moreover, the distribution of the negative samples is centered on the label associated to the unlabeled samples during the training, which coincides also with the equation 6 formulation. This illustrates experimentally that D predicts the label value 1 exclusively for the negative samples.

6.2. NEEDING PRIOR KNOWLEDGE MAY NOT BE SUITABLE FOR INCREMENTAL APPLICATIONS:

In the context of real learning applications like incremental learning (Craye et al., 2018) , (Hadsell et al., 2009) , the fraction π P of unlabeled positive samples can vary continuously at each new incremental unlabeled minibatch of samples to process. However, existing PU learning methods using prior knowledge, like uPU and nnPU implicitly do the assumption that the prior knowledge holds the same during all the training. A PU learning method which does not need prior knowledge as the D-GAN proposed approach could be extended to such real applications.

6.3. AN EXTENSION TO NOISY LABELED LEARNING AND FEW LABELED DATA RESSOURCES:

If a generative model in an adversarial training only converges towards the subdivision of a distribution which is considered as the closest to a given label from the discriminator point of view, then we can extend the proposed approach to the noisy labeled learning task. More precisely, the D-GAN architecture can be modified to include a generative model G P trained to generate fake positive samples. This is achieved by adding the loss function term E z∼pz [log(1 -D(G P (z)))] in the minimax value function. Furthermore, this extension also allows to manage problems where we only have few labeled positive samples. The positive generator G P will converge towards the distribution considered as the most positive, the closest to zero in our case, which includes also the unlabeled positive samples perceived by the discriminator at the same location that the labeled ones as illustrated in figure 6 (d) . We argue that it is indirectly the same phenomenon that allows the GenPU (Hou et al., 2018) ( 

EQUATION

:

The code will be publicly available after the anonymous reviewing period.

https : //github.com/tensorf low/tensorf low/blob/master/ tensorf low/examples/tutorials/mnist/mnist sof tmax.py

after the anonymous reviewing period

Figures and Tables:

Figure 1: Proposed Positive Unlabeled system: Divergent-GAN Learning model. x F N represents the fake generated samples which are similar to real negative samples x N . G is the generative model. D is the discriminator. C is the classifier used to perform the binary Positive-Negative (PN) classification.

Figure 2: This is a minibatch of fake negative images x F N generated, after 20 epochs iteration, with the D-GAN based on the Loss-Sensitive GAN (Qi, 2017) and by replacing BN with LN. The PU training dataset uses the celebA dataset images with settings ρ = 0.5, π P = 0.3 and "Male" the positive class chosen arbitrarily. The images size is cropped to 64*64*3. All generated samples are qualitatively relevant fake counter-examples.

Figure 5: Classifier test Accuracy evolution in function of the GAN epochs (first stage). 8 vs. Rest MNIST task, with ρ = 0.5 and π p = 0.5. (a) D-GAN and PGAN are trained without normalization layers. (b) D-GAN and PGAN are respectively trained with LN and BN inside the discriminator.

Figure 6: Link between the PN loss function suggested (equation 6) and the distribution of the discriminator output predictions for an unlabeled minibatch. For this experiement, l is the mean squared error (MSE) and D is a multi-layer perceptron. D has been trained to distinguish a 2D gaussian distribution to another one by using the risk R P U on a PU dataset. (a) Shows a set of 2D points considered as positive samples. (b) Shows a set of 2D points considered as unlabeled samples. Both curves in (c) and (d) have been normalized to get a better visualization. For (c), p Y (D(x U )) (in blue) represents the probability distribution of D predicted outputs for a minibatch of unlabeled samples, with π P = 0.5. RP N (D, δ) (in red) represents the PN risk computed in function of δ with the equation 6 on a minibatch of positive and negative labeled samples, once D is trained with R P U risk. (d) shows the same curves as in (c) but by giving in input a concatenation of an unlabeled minibatch with a positive labeled minibatch. Unlabeled and labeled positive samples provide a unified prediction output distribution.

Figure 7: D-GAN Noisy-labeled version functioning on sets of 2D points such that (a), (b), (c) and (d) are respectively sets of real noisy labeled positive (20 percents of noise), real noisy labeled negative (20 percents of noise), fake generated positive and fake generated negative samples. D, G and G P have a multilayer-perceptron structure. The generated samples only follow the ditribution of the well-labeled samples of the input sets.

Figure 8: Details of figure 4 Batch Normalization effect on discriminator output predictions on distinct Positive and Unlabeled minibatches. Settings are with positive class 8 and negative class 3 of MNIST dataset, with ρ = 0.5 and π P = 0.3. The results on the first row are done with BN, without on the second row, and with LN on the third row. The first column (a) is the mean D loss value estimated in function of training iterations. The second column (b) is the histogram distributions of output values predicted by D on the positive and unlabeled minibatches. The third column (c) is the histogram distribution of output values predicted by D on the positive minibatch. The fourth column (d) is the histogram distribution of output values predicted by D on the unlabeled minibatch. The axe in depth represents the training iteration axe on which the clearest histograms gradually correspond to the closest training iterations. Other alternative normalization techniques have been applied to GANs, such as weight normalization(Karras et al., 2018) or the Virtual Batch Normalization (VBN)(Salimans et al., 2016)  where they essentially mention the same problem for BN. However, VBN parameters strongly depend to their "reference batch" composition. This is a severe limitation if the fraction of unlabeled positive samples changes during the training, as it can happen for example in a real incremental learning application. Moreover, VBN in(Salimans et al.,  2016)  is only used in the generator, which is not what we are looking for. For PU learning task, BN is not a problem inside the generator structure.

Figure 9: Minibatch of counter-examples (women faces) generated after 20 epochs with the proposed D-GAN framework adapted to the LSGAN-GP variant. The D-GAN is applied on a PU celebA dataset (celebrity RGB images of size 64*64), with 30% of positive samples (men faces) among the unlabeled ones. We can visually observe that 100% of the generated samples follow the counter-examples (women faces) distribution. The LSGAN-GP code is available at: https : //github.com/maple -research -lab/lsgan -gp -alt.

Practical D-GAN proposed approach advantages.

Table content: <table><tr><td>Methods</td><td>D-GAN</td><td>PGAN</td><td>GenPU</td><td>RP</td><td>nnPU</td><td>uPU</td></tr><tr><td/><td>(proposed)</td><td/><td/><td/><td/><td/></tr></table>

Tim Salimans, Ian Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, and Xi Chen. Improved techniques for training gans. In Advances in Neural Information Processing Systems, pp. 2234-2242, 2016. Emanuele Sansone, Francesco GB De Natale, and Zhi-Hua Zhou. Efficient training for positive unlabeled learning. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2018. Gill Ward, Trevor Hastie, Simon Barry, Jane Elith, and John R. Leathwick. Presence-only data and the EM algorithm. Biometrics, 65(2):554-563, 2009. Fisher Yu, Yinda Zhang, Shuran Song, Ari Seff, and Jianxiong Xiao. LSUN: construction of a largescale image dataset using deep learning with humans in the loop. CoRR, abs/1506.03365, 2015. URL http://arxiv.org/abs/1506.03365.

Table content: <table/>

Comparative results of F1-Score prediction performances on MNIST and CIFAR-10 in a One vs. Rest mode with 20 classifier epochs.

Table content: <table><tr><td>One vs. Rest</td><td/><td>ref</td><td colspan="3">ρ = 0.5, πP = 0.1</td><td colspan="3">ρ = 0.5, πP = 0.3</td><td colspan="3">ρ = 0.5, πP = 0.5</td><td colspan="2">ρ = 0.5, πP = 0.7</td></tr><tr><td>Datasets</td><td>PN</td><td colspan="3">PNGAN D-GAN PGAN</td><td>RP</td><td colspan="2">D-GAN PGAN</td><td>RP</td><td colspan="2">D-GAN PGAN</td><td>RP</td><td colspan="2">D-GAN PGAN</td><td>RP</td></tr><tr><td>0</td><td>0.997</td><td>0.992</td><td>0.996</td><td colspan="2">0.974 0.992</td><td>0.994</td><td colspan="2">0.973 0.955</td><td>0.984</td><td colspan="2">0.973 0.991</td><td>0.965</td><td>0.902</td><td>0.88</td></tr><tr><td>1</td><td>0.998</td><td>0.993</td><td>0.995</td><td colspan="2">0.971 0.995</td><td>0.994</td><td colspan="2">0.979 0.996</td><td>0.988</td><td colspan="2">0.958 0.994</td><td>0.952</td><td>0.863 0.993</td></tr><tr><td>2</td><td>0.99</td><td>0.987</td><td>0.992</td><td colspan="2">0.972 0.975</td><td>0.99</td><td colspan="2">0.959 0.923</td><td>0.98</td><td colspan="2">0.947 0.936</td><td>0.892</td><td>0.914 0.987</td></tr><tr><td>3</td><td>0.996</td><td>0.996</td><td>0.993</td><td colspan="2">0.963 0.991</td><td>0.97</td><td colspan="2">0.953 0.991</td><td>0.957</td><td colspan="2">0.934 0.882</td><td>0.914</td><td>0.885 0.829</td></tr><tr><td>4</td><td>0.997</td><td>0.992</td><td>0.989</td><td colspan="2">0.964 0.972</td><td>0.989</td><td colspan="2">0.952 0.995</td><td>0.972</td><td colspan="2">0.945 0.933</td><td>0.923</td><td>0.914 0.977</td></tr><tr><td>5</td><td>0.993</td><td>0.981</td><td>0.988</td><td colspan="2">0.974 0.985</td><td>0.976</td><td>0.95</td><td>0.943</td><td>0.969</td><td>0.949</td><td>0.91</td><td>0.894</td><td>0.873 0.973</td></tr><tr><td>6</td><td>0.992</td><td>0.989</td><td>0.992</td><td colspan="2">0.962 0.928</td><td>0.99</td><td colspan="2">0.959 0.992</td><td>0.986</td><td colspan="2">0.971 0.993</td><td>0.961</td><td>0.944</td><td>0.99</td></tr><tr><td>7</td><td>0.995</td><td>0.99</td><td>0.982</td><td colspan="2">0.962 0.947</td><td>0.983</td><td>0.96</td><td>0.991</td><td>0.969</td><td colspan="2">0.926 0.988</td><td>0.918</td><td>0.737 0.979</td></tr><tr><td>8</td><td>0.995</td><td>0.985</td><td>0.985</td><td colspan="2">0.949 0.929</td><td>0.981</td><td colspan="2">0.941 0.982</td><td>0.966</td><td colspan="2">0.922 0.941</td><td>0.88</td><td>0.849 0.818</td></tr><tr><td>9</td><td>0.981</td><td>0.977</td><td>0.986</td><td colspan="2">0.959 0.954</td><td>0.972</td><td colspan="2">0.956 0.979</td><td>0.947</td><td colspan="2">0.939 0.941</td><td>0.921</td><td>0.865 0.904</td></tr><tr><td>AV GMNIST</td><td>0.993</td><td>0.988</td><td>0.99</td><td colspan="2">0.965 0.967</td><td>0.984</td><td colspan="2">0.958 0.975</td><td>0.972</td><td colspan="2">0.946 0.951</td><td>0.922</td><td>0.875 0.933</td></tr><tr><td>Plane</td><td>0.727</td><td>0.803</td><td>0.759</td><td colspan="2">0.818 0.669</td><td>0.749</td><td colspan="2">0.784 0.795</td><td>0.736</td><td colspan="2">0.758 0.743</td><td>0.715</td><td>0.731 0.718</td></tr><tr><td>Auto</td><td>0.78</td><td>0.865</td><td>0.766</td><td colspan="2">0.801 0.695</td><td>0.749</td><td colspan="2">0.737 0.829</td><td>0.793</td><td colspan="2">0.789 0.798</td><td>0.757</td><td>0.734 0.783</td></tr><tr><td>Bird</td><td>0.447</td><td>0.775</td><td>0.686</td><td>0.688</td><td>0.56</td><td>0.706</td><td>0.744</td><td>0.68</td><td>0.692</td><td colspan="2">0.694 0.644</td><td>0.68</td><td>0.688 0.542</td></tr><tr><td>Cat</td><td>0.5</td><td>0.698</td><td>0.695</td><td colspan="2">0.658 0.384</td><td>0.713</td><td colspan="2">0.722 0.651</td><td>0.707</td><td>0.718</td><td>0.67</td><td>0.712</td><td>0.69</td><td>0.698</td></tr><tr><td>Deer</td><td>0.698</td><td>0.8</td><td>0.768</td><td>0.68</td><td>0.605</td><td>0.681</td><td colspan="2">0.708 0.708</td><td>0.72</td><td>0.708</td><td>0.64</td><td>0.672</td><td>0.633 0.602</td></tr><tr><td>Dog</td><td>0.567</td><td>0.805</td><td>0.716</td><td colspan="2">0.632 0.539</td><td>0.68</td><td colspan="2">0.756 0.648</td><td>0.74</td><td colspan="2">0.746 0.733</td><td>0.704</td><td>0.678 0.712</td></tr><tr><td>Frog</td><td>0.691</td><td>0.812</td><td>0.758</td><td colspan="2">0.837 0.666</td><td>0.786</td><td colspan="2">0.793 0.794</td><td>0.78</td><td colspan="2">0.788 0.769</td><td>0.723</td><td>0.75</td><td>0.749</td></tr><tr><td>Horse</td><td>0.786</td><td>0.845</td><td>0.697</td><td colspan="2">0.693 0.653</td><td>0.685</td><td colspan="2">0.757 0.723</td><td>0.74</td><td colspan="2">0.751 0.759</td><td>0.713</td><td>0.675 0.711</td></tr><tr><td>Ship</td><td>0.832</td><td>0.879</td><td>0.851</td><td colspan="2">0.821 0.764</td><td>0.784</td><td colspan="2">0.809 0.831</td><td>0.797</td><td colspan="2">0.775 0.785</td><td>0.728</td><td>0.716 0.755</td></tr><tr><td>Truck</td><td>0.771</td><td>0.839</td><td>0.794</td><td colspan="2">0.822 0.685</td><td>0.741</td><td colspan="2">0.786 0.637</td><td>0.778</td><td colspan="2">0.754 0.617</td><td>0.732</td><td>0.724 0.564</td></tr><tr><td colspan="2">AV GCIFAR-10 0.680</td><td>0.812</td><td>0.749</td><td colspan="2">0.745 0.622</td><td>0.727</td><td colspan="2">0.760 0.730</td><td>0.749</td><td colspan="2">0.748 0.716</td><td>0.713</td><td>0.702 0.684</td></tr></table>

Peer review (iclr2019):
 [Summary] PU learning is the problem of learning a binary classifier given labelled data from the positive class and unlabelled data from both the classes. The authors propose a new GAN architecture in this paper called the Divergent Gan (DGAN) which they claim has the benefits of two previous GAN architectures proposed for PU learning: The GenPU method and the Positive-Gan architecture. The key-equation of the paper is (5) which essentially adds an additional loss term to the GAN objective to encourage the generator to generate samples from the negative class and not from the positive class. The proposed method is validated through experiments on CIFAR and MNIST. [Pros] 1. The problem of PU learning is interesting. 2. The experimental results on CIFAR/MNIST suggest that some method that the authors coded worked at par with existing methods. [Cons] 1. The quality of the writeup is quite bad and a large number of critical sentences are unclear. E.g. a. [From Abstract] It keeps the light adversarial architecture of the PGAN method, with **a better robustness counter the varying images complexity**, while simultaneously allowing the same functionalities as the GenPU method, like the generation of relevant counter-examples. b. Equation (3) and (4) which are unclear in defining R_{PN}(D, δ) c. Equation (6) which says log[1 - D(Xp)] = Yp log[D(Xp)] + (1-Yp) log[1-D(Xp)] which does not make any sense. d. The distinction between the true data distribution and the distribution hallucinated by the the generator is not maintained in the paper. In key places the authors mix one with the other such as the statement that supp(Pp (Xp )) ∩ supp(Pn (Xn )) → ∅ In short even after a careful reading it is not clear exactly what is the method that the authors are proposing. 2. Section 2.2 on noisy-label learning is only tangentially related to the paper and seems more like a space filler. 3. The experimental results in Table 4 and Table 3 do not compare to GenPU. Although the authors claim several times that the GenPU method is *onerous*, it is not clear why GenPU is so much more onerous in comparison to other GAN based methods which all require careful hyper-parameter tuning and expensive training. Furthermore the reference PN method performs worse than other PU learning methods which does not make sense. Because of this I am not quite convinced by the experiments.