Datasets:
Add files using upload-large-folder tool
Browse files- parse/train/1AoMhc_9jER/1AoMhc_9jER.md +352 -0
- parse/train/1AoMhc_9jER/1AoMhc_9jER_content_list.json +1931 -0
- parse/train/1AoMhc_9jER/1AoMhc_9jER_middle.json +0 -0
- parse/train/1AoMhc_9jER/1AoMhc_9jER_model.json +0 -0
- parse/train/H1ldNoC9tX/H1ldNoC9tX.md +519 -0
- parse/train/H1ldNoC9tX/H1ldNoC9tX_content_list.json +0 -0
- parse/train/H1ldNoC9tX/H1ldNoC9tX_middle.json +0 -0
- parse/train/H1ldNoC9tX/H1ldNoC9tX_model.json +0 -0
- parse/train/HJMN-xWC-/HJMN-xWC-.md +237 -0
- parse/train/HJMN-xWC-/HJMN-xWC-_content_list.json +1326 -0
- parse/train/HJMN-xWC-/HJMN-xWC-_middle.json +0 -0
- parse/train/HJMN-xWC-/HJMN-xWC-_model.json +0 -0
- parse/train/HkcdHtqlx/HkcdHtqlx.md +317 -0
- parse/train/HkcdHtqlx/HkcdHtqlx_content_list.json +1538 -0
- parse/train/HknbyQbC-/HknbyQbC-.md +359 -0
- parse/train/HknbyQbC-/HknbyQbC-_content_list.json +1901 -0
- parse/train/HknbyQbC-/HknbyQbC-_middle.json +0 -0
- parse/train/HknbyQbC-/HknbyQbC-_model.json +0 -0
- parse/train/rkl6As0cF7/rkl6As0cF7_content_list.json +0 -0
- parse/train/rkl6As0cF7/rkl6As0cF7_middle.json +0 -0
parse/train/1AoMhc_9jER/1AoMhc_9jER.md
ADDED
|
@@ -0,0 +1,352 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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@mail.ustc.edu.cn, tianlong.chen@utexas.edu
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Deep generative adversarial networks (GANs) have gained growing popularity in numerous scenarios, while usually suffer from high parameter complexities for resource-constrained real-world applications. However, the compression of GANs has less been explored. A few works show that heuristically applying compression techniques normally leads to unsatisfactory results, due to the notorious training instability of GANs. In parallel, the lottery ticket hypothesis shows prevailing success on discriminative models, in locating sparse matching subnetworks capable of training in isolation to full model performance. In this work, we for the first time study the existence of such trainable matching subnetworks in deep GANs. For a range of GANs, we certainly find matching subnetworks at $6 7 \% - 7 4 \%$ sparsity. We observe that with or without pruning discriminator has a minor effect on the existence and quality of matching subnetworks, while the initialization weights used in the discriminator plays a significant role. We then show the powerful transferability of these subnetworks to unseen tasks. Furthermore, extensive experimental results demonstrate that our found subnetworks substantially outperform previous state-of-the-art GAN compression approaches in both image generation (e.g. SNGAN) and image-to-image translation GANs (e.g. CycleGAN). Codes available at https://github.com/VITA-Group/GAN-LTH.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Generative adversarial networks (GANs) have been successfully applied to many fields like image translation (Jing et al., 2019; Isola et al., 2017; Liu & Tuzel, 2016; Shrivastava et al., 2017; Zhu et al., 2017) and image generation (Miyato et al., 2018; Radford et al., 2016; Gulrajani et al., 2017; Arjovsky et al., 2017). However, they are often heavily parameterized and often require intensive calculation at the training and inference phase. Network compressing techniques (LeCun et al., 1990; Wang et al., 2019; 2020b; Li et al., 2020) can be of help at inference by reducing the number of parameters or usage of memory; nonetheless, they can not save computational burden at no cost. Although they strive to maintain the performance after compressing the model, a non-negligible drop in generative capacity is usually observed. A question is raised:
|
| 12 |
+
|
| 13 |
+
Is there any way to compress a GAN model while preserving or even improving its performance?
|
| 14 |
+
|
| 15 |
+
The lottery ticket hypothesis (LTH) (Frankle & Carbin, 2019) provides positive answers with matching subnetworks (Chen et al., 2020b). It states that there exist matching subnetworks in dense models that can be trained to reach a comparable test accuracy to the full model within similar training iterations. The hypothesis has successfully shown its success in various fields (Yu et al., 2020; Renda et al., 2020; Chen et al., 2020b), and its property has been studied widely (Malach et al., 2020; Pensia et al., 2020; Elesedy et al., 2020). However, it is never introduced to GANs, and therefore the presence of matching subnetworks in generative adversarial networks still remains mysterious.
|
| 16 |
+
|
| 17 |
+
To address this gap in the literature, we investigate the lottery ticket hypothesis in GANs. One most critical challenge of extending LTH in GANs emerges: how to deal with the discriminator while compressing the generator, including (i) whether prunes the discriminator simultaneously and (ii) what initialization should be adopted by discriminators during the re-training? Previous GAN compression methods (Shu et al., 2019; Wang et al., 2019; Li et al., 2020; Wang et al., 2020b) prune the generator model only since they aim at reducing parameters in the inference stage. The effect of pruning the discriminator has never been studied by these works, which is unnecessary for them but possibly essential in finding matching subnetworks. It is because that finding matching subnetworks involves re-training the whole GAN network, in which an imbalance in generative and discriminative power could result in degraded training results. For the same reason, the disequilibrium between initialization used in generators and discriminators incurs severe training instability and unsatisfactory results.
|
| 18 |
+
|
| 19 |
+
Another attractive property of LTH is the powerful transferability of located matching subnetworks. Although it has been well studied in discriminative models (Mehta, 2019; Morcos et al., 2019; Chen et al., 2020b), an in-depth understanding of transfer learning in GAN tickets is still missing. In this work, we not only show whether the sparse matching subnetworks in GANs can transfer across multiple datasets but also study what initialization benefits more to the transferability.
|
| 20 |
+
|
| 21 |
+
To convert parameter efficiency of LTH into the advantage of computational saving, we also utilize channel pruning (He et al., 2017) to find the structural matching subnetworks of GANs, which enjoys the bonus of accelerated training and inference. Our contributions can be summarized in the following four aspects:
|
| 22 |
+
|
| 23 |
+
• Using unstructured magnitude pruning, we identify matching subnetworks at $74 \%$ sparsity in SNGAN (Miyato et al., 2018) and $67 \%$ in CycleGAN (Zhu et al., 2017). The matching subnetworks in GANs exist no matter whether pruning discriminators, while the initialization weights used in the discriminator are crucial.
|
| 24 |
+
• We show that the matching subnetworks found by iterative magnitude pruning outperform subnetworks extracted by randomly pruning and random initialization in terms of extreme sparsity and performance. To fully exploit the trained discriminator, we using the dense discriminator as a distillation source and further improve the quality of winning tickets.
|
| 25 |
+
• We demonstrate that the found subnetworks in GANs transfer well across diverse generative tasks.
|
| 26 |
+
• The matching subnetworks found by channel pruning surpass previous state-of-the-art GAN compression methods (i.e., GAN Slimming (Wang et al., 2020b)) in both efficiency and performance.
|
| 27 |
+
|
| 28 |
+
# 2 RELATED WORK
|
| 29 |
+
|
| 30 |
+
GAN Compression Generative adversarial networks (GANs) have succeeded in computer vision fields, for example, image generation and translation. One significant drawback of the generative models is the high computational cost of the models’ complex structure. A wide range of neural network compression techniques has been applied to generative models to address this problem. There are several categories of compression techniques, including pruning (removing some parameters), quantization (reducing the bit width), and distillation. Shu et al. (2019) proposed a channel pruning method for CycleGAN by using a co-evolution algorithm. Wang et al. (2019) proposed a quantization method for GANs based on the EM algorithm. Li et al. (2020) used a distillation method to transfer knowledge of the dense to the compressed model. Recently Wang et al. (2020b) proposed a GAN compression framework, GAN slimming, that integrated the above three mainstream compression techniques into a unified form. Previous works on GAN pruning usually aim at finding a sparse structure of the trained generator model for faster inference speed, while we are focusing on finding trainable structures of GANs following the lottery ticket hypothesis. Moreover, in existing GAN compression methods, only the generator is pruned, which could undermine the performance of re-training since the left-out discriminator may have a stronger computational ability than the pruned generator and therefore cause a degraded result due to the imparity of these two models.
|
| 31 |
+
|
| 32 |
+
The Lottery Ticket Hypothesis The lottery ticket hypothesis (LTH) (Frankle & Carbin, 2019) claims the existence of sparse, separate trainable sub-networks in a dense network. These subnetworks are capable of reaching comparable or even better performance than full dense model, which has been evidenced in various fields, such as image classification (Frankle & Carbin, 2019; Liu et al., 2019; Wang et al., 2020a; Evci et al., 2019; Frankle et al., 2020; Savarese et al., 2020; Yin et al., 2020; You et al., 2020; Ma et al., 2021; Chen et al., 2020a), natural language processing (Gale et al., 2019; Chen et al., 2020b), reinforcement learning (Yu et al., 2020), lifelong learning (Chen et al., 2021b), graph neural networks (Chen et al., 2021a), and adversarial robustness (Cosentino et al., 2019). Most works of LTH use unstructured weight magnitude pruning (Han et al., 2016; Frankle &
|
| 33 |
+
|
| 34 |
+
Carbin, 2019) to find the matching subnetworks, and the channel pruning is also adopted in a recent work (You et al., 2020). In order to scale up LTH to larger networks and datasets, the “late rewinding” technique is proposed by Frankle et al. (2019); Renda et al. (2020). Mehta (2019); Morcos et al. (2019); Desai et al. (2019) are the pioneers to study the transferability of found subnetworks. However, all previous works focus on discriminative models. In this paper, we extend LTH to GANs and reveal unique findings of GAN tickets.
|
| 35 |
+
|
| 36 |
+
# 3 PRELIMINARIES
|
| 37 |
+
|
| 38 |
+
In this section, we describe our pruning algorithms and list related experimental settings.
|
| 39 |
+
|
| 40 |
+
Backbone Networks We use two GANs in our experiments in Section 4: SNGAN (Miyato et al., 2018) and CycleGAN (Zhu et al., 2017)). SNGAN with ResNet (He et al., 2016) is one of the most popular noise-to-image GAN network and has strong performance on several datasets like CIFAR10. CycleGAN is a popular and well-studied image-to-image GAN network that also performs well on several benchmarks. For SNGAN, let $g ( \mathbf { z } ; \pmb { \theta } _ { g } )$ be the output of the generator network $\mathcal { G }$ with parameters $\theta _ { g }$ and a latent variable $\textbf { z } \in \mathbb { R } ^ { | | z | | _ { 0 } }$ and $d ( \mathbf { x } ; \pmb { \theta } _ { d } )$ be the output of the discriminator network $\mathcal { D }$ with parameters $\theta _ { d }$ and input example $\mathbf { x }$ . For CycleGAN which is composed of two generator-discriminator pairs, we use $g ( \mathbf { x } ; \pmb { \theta } _ { g } )$ and $\theta _ { g }$ again to represent the output and the weights of the two generators where $\mathbf { x } = ( \mathbf { x } _ { 1 } , \mathbf { x } _ { 2 } )$ indicates a pair of input examples. The same modification can be done for the two discriminators in CycleGAN.
|
| 41 |
+
|
| 42 |
+
Datasets For image-to-image experiments, we use a widely-used benchmark horse2zebra (Zhu et al., 2017) for model training. As for noise-to-image experiments, we use CIFAR-10 (Krizhevsky et al., 2009) as the benchmark. For the transfer study, the experiments are conducted on CIFAR-10 and STL-10 (Coates et al., 2011). For better transferring, we resize the image in STL-10 to $3 2 \times 3 2$ .
|
| 43 |
+
|
| 44 |
+
Subnetworks For a network $f ( \cdot ; \pmb \theta )$ parameterized by $\pmb \theta$ , a subnetwork is defined as $f ( \cdot ; m \odot \pmb { \theta } )$ , where $m \in \{ 0 , 1 \} ^ { \| \theta \| _ { 0 } }$ is a pruning mask for $\pmb { \theta } \in \mathbb { R } ^ { | | \theta | | _ { 0 } }$ and $\odot$ is the element-wise product. For GANs, two separate masks, $\mathbf { \nabla } m _ { d }$ and $m _ { g }$ , are needed for both the generator and the discriminator. Consequently, a subnetwork of GANs is consistent of: a sparse generator $g ( \cdot ; m _ { g } \odot \theta _ { g } )$ and a sparse discriminator $d ( \cdot ; m _ { d } \odot \theta _ { d } )$ .
|
| 45 |
+
|
| 46 |
+
Let $\pmb { \theta _ { 0 } }$ be the initialization weights of model $f$ and $\theta _ { t }$ be the weights at training step $t$ . Following Frankle et al. (2019), we define a matching network as a subnetwork $f ( \cdot ; m \odot \pmb \theta )$ , where $\pmb { \theta }$ is initialized with $\theta _ { t }$ , that can reach the comparable performance to the full network within a similar training iterations when trained in isolation; a winning ticket is defined as a matching subnetwork where $t = 0$ , i.e. $\pmb \theta$ initialized with $\pmb { \theta } _ { 0 }$ .
|
| 47 |
+
|
| 48 |
+
Finding subnetworks Finding GAN subnetworks is to find two masks $m _ { g }$ and $\mathbf { \nabla } m _ { d }$ for the generator and the discriminator. We use both an unstructured magnitude method, i.e. the iterative magnitude pruning (IMP), and a structured pruning method, i.e. the channel pruning (He et al., 2017), to generate the masks.
|
| 49 |
+
|
| 50 |
+
For unstructured pruning, we follow the following steps. After we finish training the full GAN model for $N$ iterations, we prune the weights with the lowest magnitude globally (Han et al., 2016) to obtain masks $\pmb { m } = ( m _ { g } , m _ { d } )$ , where the position of a remaining weight in $_ { \mathbf { \nabla } } \mathbf { m }$ is marked as one, and the position of a pruned weight is marked as zero. The weights of the sparse generator and the sparse discriminator are then reset to the initial weights of the full network. Previous works have shown that the iterative magnitude pruning (IMP) method is better than the one-shot pruning method. So rather than pruning the network only once to reach the desired sparsity, we prune a certain amount of non-zero parameters and re-train the network several times to meet the requirement. Details of this algorithm are in Appendix A1.1, Algorithm 1.
|
| 51 |
+
|
| 52 |
+
As for channel pruning, the first step is to train the full model as well. Besides using a normal loss function $\mathcal { L } _ { \mathrm { G A N } }$ , we follow Liu et al. (2017) to apply a $\ell _ { 1 }$ -norm on the trainable scale parameters $\gamma$ in the normalization layers to encourage channel-level sparsity: $\mathcal { L } _ { \mathrm { c p } } = | | \gamma | | _ { 1 }$ . To prevent the compressed network behave severely differently with the original large network, we introduce a distillation loss as Wang et al. (2020b) did: $\mathcal { L } _ { \mathrm { d i s t } } = \mathbb { E } _ { \mathbf { z } } [ \mathrm { d i s t } ( g ( \bar { \mathbf { z } } ; \theta _ { g } ) , g ( \mathbf { z } ; m _ { g } \odot \pmb { \theta } _ { g } ) ) ]$ . We train the
|
| 53 |
+
|
| 54 |
+
GAN network with these two additional losses for $N _ { 1 }$ epochs and get the sparse networks $g ( \cdot ; m _ { g } \odot$ $\theta _ { g , \mathrm { ~ \tiny ~ ~ } }$ ) and $d ( \cdot ; m _ { d } \odot \theta _ { g } )$ . Details of this algorithm are in Appendix A1.1, Algorithm 2.
|
| 55 |
+
|
| 56 |
+
Evaluation of subnetworks After obtaining the subnetworks $g ( \cdot ; \theta _ { g } \odot m _ { g } )$ and $d ( \cdot ; \pmb { \theta } _ { d } \odot \pmb { m } _ { d } )$ , we test whether the subnetworks are matching or not. We reset the weights to a specific step $i$ , and train the subnetworks for $N$ iterations and evaluate them using two specific metrics, Inception Score (Salimans et al., 2016) and Frechet Inception Distance (Heusel et al., 2017). ´
|
| 57 |
+
|
| 58 |
+
Other Pruning Methods We compare the size and the performance of subnetworks found by IMP with subnetworks found by other techniques that aim at compressing the network after training to reduce computational costs at inference. We use a benchmark pruning approach named Standard Pruning (Chen et al., 2020b; Han et al., 2016), which iteratively prune the $20 \%$ of lowest magnitude weights, and train the network for another $N$ iterations without any rewinding, and repeat until we have reached the target sparsity.
|
| 59 |
+
|
| 60 |
+
In order to verify that the statement of iterative magnitude pruning is better than one-shot pruning, we compare $\mathrm { I M P _ { G } }$ and $\mathrm { I M P _ { G D } }$ with their one-shot counterparts. Additionally, we compare IMP with some randomly pruning techniques to prove the effectiveness of IMP. They are: 1) Randomly Pruning: Randomly generate a sparsity mask $m ^ { \prime }$ . 2) Random Tickets: Rewinding the weights to another initialization $\theta _ { \mathbf { 0 } } ^ { \prime }$ .
|
| 61 |
+
|
| 62 |
+
# 4 THE EXISTENCE OF WINNING TICKETS IN GAN
|
| 63 |
+
|
| 64 |
+
In this section, we will validate the existence of winning tickets in GANs with initialization $\theta _ { 0 } : =$ $( \theta _ { g _ { 0 } } , \theta _ { d _ { 0 } } )$ . Specifically, we will empirically prove several important properties of the tickets by authenticating the following four claims:
|
| 65 |
+
|
| 66 |
+
Claim $I$ : Iterative Magnitude Pruning (IMP) finds winning tickets in GANs, $g ( \cdot ; m _ { g } \odot \theta _ { g _ { 0 } } )$ and $d ( \cdot ; m _ { d } \odot \theta _ { d _ { 0 } } )$ . Channel pruning is also able to find winning tickets as well.
|
| 67 |
+
|
| 68 |
+
Claim 2: Whether pruning the discriminator $\mathcal { D }$ does not change the existence of winning tickets. It is the initialization used in $\mathcal { D }$ that matters. Moreover, pruning the discriminator has a slight boost of matching networks in terms of extreme sparsity and performance.
|
| 69 |
+
|
| 70 |
+
Claim 3: IMP finds winning tickets at sparsity where some other pruning methods (randomly pruning, one-shot magnitude pruning, and random tickets) are not matching.
|
| 71 |
+
|
| 72 |
+
Claim 4: The late rewinding technique (Frankle et al., 2019) helps. Matching subnetworks that are initialized to $\theta _ { i }$ , i.e., $i$ steps from $\pmb { \theta _ { 0 } }$ , can outperform those initialized to $\pmb { \theta _ { 0 } }$ . Moreover, matching subnetworks that are late rewound can be trained to match the performance of standard pruning.
|
| 73 |
+
|
| 74 |
+
Claim 1: Are there winning tickets in GANs? To answer this question, we first conduct experiments on SNGAN by pruning the generator only in the following steps: 1) Run IMP to get sequential sparsity masks $( m _ { d _ { i } } , m _ { g _ { i } } )$ of sparsity $s _ { i } \bar { \% }$ remaining weights; 2) Apply the masks to the GAN and reset the weights of the subnetworks to the same random initialization $\theta _ { \mathbf { 0 } } ; 3 )$ Train models to evaluate whether they are winning tickets. 1 We set $s _ { i } \% = ( 1 - 0 . 8 ^ { i } ) \times 1 0 0 \%$ , which we use for all the experiments that involve iteratively pruning hereinafter. The number of training epochs for subnetworks is identical to that of training the full models.
|
| 75 |
+
|
| 76 |
+
Figure 1 verifies the existence of winning tickets in SNGAN and CycleGAN. We are able to find winning tickets by iterative pruning the generators at the highest sparsity, around $74 \%$ in SNGAN, and around $67 \%$ in CycleGAN, where the FID scores of these subnetworks successfully match the FID scores of the full network respectively. The confidence interval also suggests that the winning tickets at some sparsities are statistically significantly better than the full model.
|
| 77 |
+
|
| 78 |
+
To show that channel pruning can find winning tickets as well, we extract several subnetworks from the trained full SNGAN and CycleGAN by varying $\rho$ in Algorithm 2. We define the channel-pruned model’s sparsity as the ratio of MFLOPs between the sparse model and the full model.
|
| 79 |
+
|
| 80 |
+

|
| 81 |
+
Figure 1: The Frechet Inception Distance (FID) curve of subnetworks of SNGAN (left) and CycleGAN (right) ´ generated by iterative magnitude pruning (IMP) on CIFAR-10 and horse2zebra. The dashed line indicates the FID score of the full model on CIFAR-10 and horse2zebra. The $9 5 \%$ confidence interval of 5 runs is reported.
|
| 82 |
+
|
| 83 |
+
We can confirm that winning tickets can also be found by channel pruning (CP). CP is able to find winning tickets in SNGAN at sparsity around $34 \%$ . We will analyze it more carefully in Section 7.
|
| 84 |
+
|
| 85 |
+

|
| 86 |
+
Figure 2: Visualization by sampling and interpolation of SNGAN Winning Tickets found by IMP. Sparsity of best winning tickets : $4 8 . 8 0 \%$ . Extreme sparsity of matching subnetworks: $7 3 . 7 9 \%$ .
|
| 87 |
+
|
| 88 |
+

|
| 89 |
+
Figure 3: Visualization of CycleGAN Winning Tickets found by IMP. Sparsity of best winning tickets : $5 9 . 0 4 \%$ . Extreme sparsity of matching subnetworks: $6 7 . 2 4 \%$ . Left: visualization results on horse2zebra. Right: visualization results on zebra2horse.
|
| 90 |
+
|
| 91 |
+
Claim 2: Does the treatment of the discriminator affect the existence of winning tickets? Previous works of GAN pruning did not analyze the effect of pruning the discriminator. To study the effect, we compare two different iterative pruning settings: 1) Prune the generator only $\left( \mathrm { I M P _ { G } } \right)$ and 2) Prune both the generator and the discriminator iteratively $( \mathrm { I M P _ { G D } } )$ . Both the generator and the discriminator are reset to the same random initialization $\pmb { \theta _ { 0 } }$ after the masks are obtained.
|
| 92 |
+
|
| 93 |
+
The FID scores of the two experiments are shown in Figure 4. The graph suggests that the two settings share similar patterns: the minimal FID of $\mathrm { I M P _ { G } }$ is 14.19, and the minimal FID of $\mathrm { I M P _ { G D } }$ is 14.59. The difference between these two best FID is only 0.4, showing a slight difference in generative power. The FID curve of $\mathrm { I M P _ { G } }$ lies below that of $\mathrm { I M P _ { G D } }$ at low sparsity but lies above at high sparsity, indicating that pruning the discriminator produces slightly better performance when the percent of remaining weights is small. The extreme sparsity where $\mathrm { I M P _ { G D } }$ can match the performance of the full model is $7 3 . 8 \%$ . In contrast, $\mathrm { I M P _ { G } }$ can only match no sparser than $6 7 . 2 \%$ , demonstrating that pruning the discriminator can also push the frontier of extreme sparsity where the pruned models are still able to match.
|
| 94 |
+
|
| 95 |
+
In addition, we study the effects of different initialization for the sparse discriminator. We compare different weights loading methods when applying the iterative magnitude pruning process: 1) Reset the weights of generator to $\theta _ { g _ { 0 } }$ and reset the weights of discriminator to $\theta _ { d _ { 0 } }$ , which is identical to $\mathrm { I M P _ { G } }$ ; 2) Reset the weights of generator to $\theta _ { g _ { 0 } }$ and fine-tune the discriminator, which we will call $\mathrm { I M P _ { G } ^ { F } }$ . Figure 4 shows that resetting both the weights to $\pmb { \theta _ { 0 } }$ produces a much better result than only resetting the generator. The discriminator $\mathcal { D }$ without resetting its weights is too strong for the generator $\mathcal { G }$ with initial weights $\theta _ { g _ { 0 } }$ that will lead to degraded performance. In summary, different initialization of the discriminator will significantly influence the existence and quality of winning tickets in GAN models.
|
| 96 |
+
|
| 97 |
+

|
| 98 |
+
Figure 4: The FID score of Left: The FID score of best subnetworks generated by two different pruning settings: $\mathrm { I M P _ { G } }$ and $\mathrm { I M P } _ { \mathrm { G D } }$ . Right: The FID score of best subnetworks generated by two different pruning settings: $\mathrm { I M P _ { G } }$ and $\mathrm { I M P _ { G } ^ { F } }$ . $\mathrm { I M P _ { G } }$ : iteratively prune and reset the generator. $\mathrm { I M P } _ { \mathrm { G D } }$ : iteratively prune and reset the generator and the discriminator. $\mathrm { I M P _ { G } ^ { \tilde { \mathrm { F } } } }$ : iteratively prune and reset the generator, and iteratively prune but not reset the discriminator.
|
| 99 |
+
|
| 100 |
+
A follow-up question arises from the previous observations: is there any way to use the weights of the dense discriminator, as the direct usage of the dense weights yields inferior results? One possible way is to use it as a “teacher” and transfer the knowledge to pruned discriminator using a consistency loss. Formally speaking, an additional regularization term is used when training the whole network:
|
| 101 |
+
|
| 102 |
+
$$
|
| 103 |
+
\mathcal { L } _ { \mathrm { K D } } ( \mathbf { x } ; \pmb { \theta } _ { d } , m _ { d } ) = \mathbb { E } _ { \mathbf { x } } [ \mathrm { K L } _ { \mathrm { D i v } } ( d ( \mathbf { x } ; m _ { d } \odot \pmb { \theta } _ { d } ) , d ( \mathbf { x } ; \pmb { \theta } _ { d _ { 1 } } ) ) ]
|
| 104 |
+
$$
|
| 105 |
+
|
| 106 |
+
where $\mathrm { K L } _ { \mathrm { D i v } }$ denotes the KL-Divergence. We name the iterative pruning method with this additional regularization $\mathrm { I M P _ { G D } ^ { K D } }$ .
|
| 107 |
+
|
| 108 |
+
Figure 5 shows the result of pruning method IMPKD compared to the previous two pruning methods we proposed, $\mathrm { I M P _ { G } }$ and $\mathrm { I M P _ { G D } }$ . $\mathrm { I M P _ { G D } ^ { K D } }$ is capable of finding winning tickets at sparsity around $70 \%$ , outperforming $\mathrm { I M P _ { G } }$ , and showing comparable results to $\mathrm { I M P _ { G D } }$ regarding the extreme sparsity. The FID curve of setting $\mathrm { \tilde { I M P } _ { G D } ^ { K D } }$ is further mostly located below the curve of $\mathrm { \Delta I M P _ { G D } }$ , demonstrating a stronger generative ability than $\mathrm { I M P _ { G D } }$ . It suggests transferring knowledge from the full discriminator benefits to find the winning tickets.
|
| 109 |
+
|
| 110 |
+

|
| 111 |
+
Figure 5: The FID curve of best subnetworks generated by three different pruning methods: $\mathrm { I M P G }$ , $\mathrm { I M P } _ { \mathrm { G D } }$ and $\mathrm { I M P _ { G D } ^ { K D } }$ . $\mathrm { I M P _ { G D } ^ { K D } }$ : iteratively prune and reset both the generator and the discriminator, and train them with the KD regularization.
|
| 112 |
+
|
| 113 |
+
Claim 3: Can IMP find matching subnetworks sparser than other pruning methods? Previous works claim that both a specific sparsity mask and a specific initialization are necessary for finding winning tickets (Frankle & Carbin, 2019), and iterative magnitude pruning is better than one-shot pruning. To extend such a statement in the context of GANs, we compare IMP with several other benchmarks, randomly pruning (RP), one-shot magnitude pruning (OMP), and random tickets (RT), to see if IMP can find matching networks at higher sparsity.
|
| 114 |
+
|
| 115 |
+

|
| 116 |
+
Figure 6: FID curves: $\mathrm { O M P G }$ , $\mathrm { I M P G }$ , ${ \mathrm { O M P } } _ { \mathrm { G D } }$ and $\mathrm { I M P } _ { \mathrm { G D } }$ . $\mathrm { O M P _ { G } }$ : one-shot prune the generator. ${ \mathrm { O M P } } _ { \mathrm { G P } }$ : one-shot prune generator/discriminator.
|
| 117 |
+
|
| 118 |
+
<table><tr><td>Method</td><td>FIDBest (Sparsity)</td><td>FIDExtreme (Sparsity)</td></tr><tr><td>No Pruning</td><td>15.69 (0.0%)</td><td>1</td></tr><tr><td>IMPG</td><td>14.19 (20.0%)</td><td>15.58 (67.2%)</td></tr><tr><td>IMPGD</td><td>14.59 (59.0%)</td><td>15.53 (73.8%)</td></tr><tr><td>OMPG</td><td>14.36 (36.0%)</td><td>15.33 (59.0%)</td></tr><tr><td>OMPGD</td><td>14.52 (20.0%)</td><td>15.69 (48.8%)</td></tr></table>
|
| 119 |
+
|
| 120 |
+
Table 1: The extreme sparsity of the matching networks and the FID score of best subnetworks, found by iterative pruning and one-shot pruning. $\mathrm { O M P G }$ : one-shot prune the generator. ${ \mathrm { O M P } } _ { \mathrm { G P } }$ : one-shot prune generator/discriminator.
|
| 121 |
+
|
| 122 |
+
Figure 6 and Table 1 show that iterative magnitude pruning outperforms one-shot magnitude pruning no matter pruning the discriminator or not. IMP finds winning tickets at higher sparsity $( 6 7 . 2 3 \%$ and $7 3 . 7 9 \%$ , respectively) than one-shot pruning $( 5 9 . 0 0 \%$ and $4 8 . 8 0 \%$ , respectively). The minimal FID score of subnetworks found by IMP is smaller than that of subnetworks found by OMP as well. This observation defends the statement that pruning iteratively is superior compared to one-shot pruning.
|
| 123 |
+
|
| 124 |
+
We also list the minimal FID scores and extreme sparsity of matching networks for other pruning methods in Figure 7 and Table 2. It can be seen that IMP finds winning tickets at sparsity where some other pruning methods, randomly pruning and random initialization, cannot match. Since $\mathrm { I M P _ { G } }$ shows the best overall result, we authenticate the previous statement that both the specific sparsity mask and the specific initialization are essential for finding winning tickets.
|
| 125 |
+
|
| 126 |
+

|
| 127 |
+
Figure 7: The FID curve of best subnetworks generated by three different pruning settings: $\mathrm { I M P G }$ , RP, and RT. RP: iteratively randomly prune the generator. RT: iteratively prune the generator but reset the weights randomly.
|
| 128 |
+
|
| 129 |
+
Table 2: The FID score of best subnetworks and the extreme sparsity of matching networks found by Random Pruning, Random Rickets, and iterative magnitude pruning.
|
| 130 |
+
|
| 131 |
+
<table><tr><td>Method</td><td>FIDBest (Sparsity)</td><td>FIDExtreme (Sparsity)</td></tr><tr><td>No Pruning</td><td>15.69 (0.0%)</td><td></td></tr><tr><td>IMPG</td><td>14.19 (20.0%)</td><td>15.58 (67.2%)</td></tr><tr><td>Random Pruning</td><td>14.57 (20.0%)</td><td>15.60 (36.0%)</td></tr><tr><td>Random Tickets</td><td>14.28 (36.0%)</td><td>15.33 (59.0%)</td></tr></table>
|
| 132 |
+
|
| 133 |
+
Claim 4: Does rewinding improve performance? In previous paragraphs, we show that we are able to find winning tickets in both SNGAN and CycleGAN. However, these subnetworks cannot match the performance of the original network at extremely high sparsity, while the subnetworks found by standard pruning can (Table 3). To find matching subnetworks at such high sparsity, we adopt the rewinding paradigm: after the masks are obtained, the weights of the model are rewound to $\theta _ { i }$ , the weights after $i$ steps of training, rather than reset to the same random initialization $\pmb { \theta _ { 0 } }$ . It was pointed out by Renda et al. (2020) that subnetworks found by IMP and rewound early in training can be trained to achieve the same accuracy at the same sparsity as subnetworks found by the standard pruning, providing a possibility that rewinding can also help GAN subnetworks.
|
| 134 |
+
|
| 135 |
+
We choose different rewinding settings: $5 \%$ , $10 \%$ , and $20 \%$ of the whole training epochs. The results are shown in Table 3. We observe that rewinding can significantly increase the extreme sparsity of matching networks. Rewinding to even only $5 \%$ of the training process can raise the extreme sparsity from $6 7 . 2 3 \%$ to $8 6 . 2 6 \%$ , and rewinding to $20 \%$ can match the performance of standard pruning. We also compare the FID score of subnetworks found at $89 \%$ sparsity. Rewind to $2 0 \%$ of the training
|
| 136 |
+
|
| 137 |
+
Table 3: Rewinding results. $\mathrm { S _ { E x t r e m e } }$ : Extreme sparsity where matching subnetworks exist. $\mathrm { F I D } _ { \mathrm { B e s t } }$ : The minimal FID score of all subnetworks. $\mathrm { F I D } _ { 8 9 \% }$ : The FID score of subnetworks at $8 9 \%$ sparsity.
|
| 138 |
+
|
| 139 |
+
<table><tr><td>Setting of rewinding</td><td>SExtreme</td><td>FIDBest</td><td>FID89%</td></tr><tr><td>Rewind 0%</td><td>67.23%</td><td>14.20</td><td>19.60</td></tr><tr><td>Rewind 5%</td><td>86.26%</td><td>13.96</td><td>15.82</td></tr><tr><td>Rewind 10%</td><td>86.26%</td><td>14.43</td><td>15.63</td></tr><tr><td>Rewind 20%</td><td>89.26%</td><td>14.82</td><td>15.29</td></tr><tr><td>Standard Pruning</td><td>89.26%</td><td>14.18</td><td>15.22</td></tr></table>
|
| 140 |
+
|
| 141 |
+
process can match the performance of standard pruning at $89 \%$ sparsity, and other late rewinding settings can match the performance of the full model. This suggests that late rewinding techniques can greatly contribute to matching subnetworks with higher sparsity.
|
| 142 |
+
|
| 143 |
+
Summary Extensive experiments are conducted to examine the existence of matching subnetworks in generative adversarial models. We confirmed that there were matching subnetworks at high sparsities, and both the sparsity mask and the initialization matter for finding winning tickets. We also studied the effect of pruning the discriminator and demonstrate that pruning the discriminator can slightly boost the performance regarding the extreme sparsity and the minimal FID. We proposed a method to utilize the weights of the dense discriminator model to boost the performance further. We also compare IMP with different pruning methods, showing that IMP is superior to random tickets and random pruning. In addition, late rewinding can match the performance of standard pruning, which again shows consistency with previous works.
|
| 144 |
+
|
| 145 |
+
# 5 THE TRANSFER LEARNING OF GAN MATCHING NETWORKS
|
| 146 |
+
|
| 147 |
+
In the previous section, we confirm the presence of winning tickets in GANs. In this section, we will study the transferability of winning tickets. Existing works (Mehta, 2019) show that the matching networks in discriminative models can transfer across tasks. Here we evaluate this claim in GANs.
|
| 148 |
+
|
| 149 |
+
To investigate the transferability, we propose three transfer experiments from CIFAR-10 to STL-10 on SNGAN. We first identify matching subnetworks $g ( \cdot , m _ { g } \odot \theta )$ and $d ( \cdot , m _ { d } \odot \pmb \theta )$ on CIFAR10, and then train and evaluate the subnetworks on STL-10. To assess whether the same random initialization $\pmb { \theta _ { 0 } }$ is needed for transferring, we test three different weights loading method: 1) reset the weights to $\theta _ { 0 } ; 2 )$ reset the weights to another initialization $\theta _ { \mathbf { 0 } } ^ { \prime }$ ; 3) rewind the weights to $\theta _ { N }$ . We train the network on STL-10 using the same hyper-parameters as on CIFAR-10. It is noteworthy that the hyper-parameters setting might not be optimal for the target task, yet it is fair to compare different transferring settings.
|
| 150 |
+
|
| 151 |
+
Table 4: Results of late rewinding experiments. $\pmb { \theta _ { 0 } }$ : train the target model from the same random initialization as the source model; $\theta _ { r }$ : train from random initialization; $\pmb { \theta } _ { \mathbf { B } \mathbf { e s t } }$ : train from the weights of trained source model. Baseline: full model trained on STL-10.
|
| 152 |
+
|
| 153 |
+
<table><tr><td>Model</td><td>Baseline</td><td>IMPg (S = 67.23%)</td><td></td><td>IMPGD (S = 73.79%)</td><td>IMPKB</td><td>(S= 73.79%)</td></tr><tr><td>Metrics</td><td>FIDBest</td><td>FIDBest</td><td>Matching?</td><td>FIDBest</td><td>Matching?</td><td>FIDBest Matching?</td></tr><tr><td>0</td><td></td><td>116.7</td><td>√</td><td>121.8</td><td>× 120.1</td><td>×</td></tr><tr><td>0r</td><td>115.3</td><td>119.2</td><td>×</td><td>113.1 √</td><td>115.5</td><td>√</td></tr><tr><td>0Best</td><td></td><td>204.7</td><td>×</td><td>163.0 ×</td><td>179.1</td><td>×</td></tr></table>
|
| 154 |
+
|
| 155 |
+
The FID score of different settings is shown in Table 4. Subnetworks initialized by $\theta _ { 0 }$ and using masks generated by $\mathrm { I M P _ { G } }$ can be trained to achieve comparable results to the baseline model. Surprisingly, random re-initialization ${ \pmb \theta } _ { \mathbf { 0 } } ^ { \prime }$ shows better transferability than using the same initialization $\pmb { \theta _ { 0 } }$ in our transfer settings and outperforms the full model trained on STL-10, indicating that the combination of $\pmb { \theta _ { 0 } }$ and the mask generated by $\mathrm { I M P } _ { \mathrm { G D } }$ is more focused on the source dataset and consequently has lower transferability.
|
| 156 |
+
|
| 157 |
+
Summary In this section, we tested the transferability of IMP subnetworks. Transferring from $\pmb { \theta _ { 0 } }$ and $\theta _ { r }$ both produce matching results on the target dataset, STL-10. $\pmb { \theta _ { 0 } }$ works better with masks generated by $\mathrm { I M P _ { G } }$ while the masks generated by $\mathrm { I M P _ { G D } }$ prefer a different initialization $\theta _ { r }$ . Given that $\mathrm { I M P _ { G D } }$ performs better on CIFAR-10, it is reasonable that the same initialization $\pmb { \theta _ { 0 } }$ has lower transferability when using masks from $\mathrm { I M P _ { G D } }$ .
|
| 158 |
+
|
| 159 |
+
# 6 EXPERIMENTS ON OTHER GAN MODELS AND OTHER DATASETS
|
| 160 |
+
|
| 161 |
+
We conducted experiments on DCGAN (Radford et al., 2016), WGAN-GP (Gulrajani et al., 2017), ACGAN (Odena et al., 2017), GGAN (Lim & Ye, 2017), DiffAugGAN (Zhao et al., 2020a), ProjGAN (Miyato & Koyama, 2018), SAGAN (Zhang et al., 2019), as well as a NAS-based GAN, AutoGAN (Gong et al., 2019). We use CIFAR-10 and Tiny ImageNet (Wu et al., 2017) as our benchmark datasets.
|
| 162 |
+
|
| 163 |
+
Table 5 and 6 consistently verify that the existence of winning tickets in diverse GAN architectures in spite of the different extreme sparsities, showing that the lottery ticket hypothesis can be generalized to various GAN models.
|
| 164 |
+
|
| 165 |
+
# 7 EFFICIENCY OF GAN WINNING TICKETS
|
| 166 |
+
|
| 167 |
+
Unlike the unstructured magnitude pruning method, channel pruning can reduce the number of parameters in GANs. Therefore, winning tickets found by channel pruning are more efficient than the original model regarding computational cost. To fully exploit the advantage of subnetworks founded by structural pruning, we further compare our prune-and-train pipeline with a state-of-the-art GAN compression framework (Wang et al., 2020b). The pipeline is described as follows: after extracting the sparse structure generated by channel pruning, we reset the model weights to the same random initialization $\pmb { \theta _ { 0 } }$ and then train for the same number of epochs as the dense model used.
|
| 168 |
+
|
| 169 |
+
Table 5: Results on other GAN models on CIFAR-10. $\mathrm { F I D } _ { \mathrm { F u l l } }$ : FID score of the full model. $\mathrm { F I D } _ { \mathrm { B e s t } }$ : The minimal FID score of all subnetworks. $\mathrm { F I D } _ { \mathrm { E x t r e m e } }$ : The FID score of matching networks at extreme sparsity level. AutoGAN-A/B/C are three representative GAN architectures represented in the official repository (https://github.com/VITA-Group/AutoGAN)
|
| 170 |
+
|
| 171 |
+
<table><tr><td>Model</td><td>Benchmark</td><td>FIDFull (Sparsity)</td><td>FIDBest (Sparsity)</td><td>SExtreme (Sparsity)</td></tr><tr><td>DCGAN (Radford et al., 2016)</td><td>CIFAR-10</td><td>57.39 (0%)</td><td>49.31 (20.0%)</td><td>54.48 (67.2%)</td></tr><tr><td>WGAN-GP(Gulrajani et al., 2017)</td><td>CIFAR-10</td><td>19.23 (0%)</td><td>16.77 (36.0%)</td><td>17.28 (73.8%)</td></tr><tr><td>ACGAN (Odena et al.,2017)</td><td>CIFAR-10</td><td>39.26 (0%)</td><td>31.45 (36.0%)</td><td>38.95 (79.0%)</td></tr><tr><td>GGAN(Lim & Ye,2017)</td><td>CIFAR-10</td><td>38.50 (0%)</td><td>33.42 (20.0%)</td><td>36.67 (48.8%)</td></tr><tr><td>ProjGAN (Miyato & Koyama,2018)</td><td>CIFAR-10</td><td>31.47 (0%)</td><td>28.19 (20.0%)</td><td>31.31 (67.2%)</td></tr><tr><td>SAGAN (Zhang et al.,2019)</td><td>CIFAR-10</td><td>14.73 (0%)</td><td>13.57 (20.0%)</td><td>14.68 (48.8%)</td></tr><tr><td>AutoGAN(A) (Gong et al.,2019)</td><td>CIFAR-10</td><td>14.38 (0%)</td><td>14.04 (36.0%)</td><td>14.04 (36.0%)</td></tr><tr><td>AutoGAN(B) (Gong et al., 2019)</td><td>CIFAR-10</td><td>14.62 (0%)</td><td>13.16 (20.0%)</td><td>14.20 (36.0%)</td></tr><tr><td>AutoGAN(C) (Gong et al.,2019)</td><td>CIFAR-10</td><td>13.61 (0%)</td><td>13.41 (48.8%)</td><td>13.41 (48.8%)</td></tr><tr><td>DiffAugGAN (Zhao et al., 2020b)</td><td>CIFAR-10</td><td>8.23 (0%)</td><td>8.05 (48.8%)</td><td>8.05 (48.8%)</td></tr></table>
|
| 172 |
+
|
| 173 |
+
Table 6: Results on other GAN models on Tiny ImageNet. $\mathrm { F I D } _ { \mathrm { F u l l } }$ : FID score of the full model. $\mathrm { F I D } _ { \mathrm { B e s t } }$ : The minimal FID score of all subnetworks. $\mathrm { F I D } _ { \mathrm { E x t r e m e } }$ : The FID score of matching networks at extreme sparsity level.
|
| 174 |
+
|
| 175 |
+
<table><tr><td>Model</td><td>Benchmark</td><td>FIDFull (Sparsity)</td><td>FIDBest (Sparsity)|SExtreme (Sparsity)</td><td></td></tr><tr><td>DCGAN (Radford et al., 2016)</td><td>Tiny ImageNet</td><td>121.35 (0%)</td><td>78.51 (36.0%)</td><td>114.00 (67.2%)</td></tr><tr><td>WGAN-GP(Gulrajani et al.,2017)</td><td>Tiny ImageNet</td><td>211.77 (0%)</td><td>194.72 (48.8%)</td><td>200.22 (67.2%)</td></tr></table>
|
| 176 |
+
|
| 177 |
+
We can see from Figure 8 that subnetworks are founded by the channel pruning method at about $67 \%$ sparsity, which provides a new path for winning tickets other than magnitude pruning. The matching networks at $6 7 . 7 \%$ outperform GS-32 regarding Inception Score by 0.25; the subnetworks at about $2 9 \%$ sparsity can outperform GS-32 by 0.20, setting up a new benchmark for GAN compressions.
|
| 178 |
+
|
| 179 |
+
# 8 CONCLUSION
|
| 180 |
+
|
| 181 |
+
In this paper, the lottery ticket hypothesis has been extended to GANs. We successfully identify winning tickets in GANs, which are separately trainable to match the full dense GAN performance. Pruning the discriminator, which is rarely studied before, had only slight effects on the ticket finding process, while the initialization used in the discriminator is essential. We also demonstrate that the winning tickets found can transfer across diverse tasks. Moreover, we provide a new way of finding winning tickets that alter the structure of models. Channel pruning is able to extract matching subnetworks from a dense model that can outperform the current state-of-the-art GAN compression after resetting the weights and re-training.
|
| 182 |
+
|
| 183 |
+

|
| 184 |
+
Figure 8: Relationship between the best IS score of SNGAN subnetworks generated by channel pruning and the percent of remaining weights. GS-32: GAN Slimming without quantization (Wang et al., 2020b). Full Model: Full model trained on CIFAR-10.
|
| 185 |
+
|
| 186 |
+
# ACKNOWLEDGEMENT
|
| 187 |
+
|
| 188 |
+
Zhenyu Zhang is supported by the National Natural Science Foundation of China under grand No.U19B2044.
|
| 189 |
+
|
| 190 |
+
# REFERENCES
|
| 191 |
+
|
| 192 |
+
Martin Arjovsky, Soumith Chintala, and Leon Bottou. Wasserstein generative adversarial networks. ´ In Proceedings of the 34th International Conference on Machine Learning, 2017.
|
| 193 |
+
|
| 194 |
+
Tianlong Chen, Jonathan Frankle, Shiyu Chang, Sijia Liu, Yang Zhang, Michael Carbin, and Zhangyang Wang. The lottery tickets hypothesis for supervised and self-supervised pre-training in computer vision models. arXiv, abs/2012.06908, 2020a.
|
| 195 |
+
|
| 196 |
+
Tianlong Chen, Jonathan Frankle, Shiyu Chang, Sijia Liu, Yang Zhang, Zhangyang Wang, and Michael Carbin. The lottery ticket hypothesis for pre-trained bert networks. arXiv, abs/2007.12223, 2020b.
|
| 197 |
+
|
| 198 |
+
Tianlong Chen, Yongduo Sui, Xuxi Chen, Aston Zhang, and Zhangyang Wang. A unified lottery ticket hypothesis for graph neural networks, 2021a.
|
| 199 |
+
|
| 200 |
+
Tianlong Chen, Zhenyu Zhang, Sijia Liu, Shiyu Chang, and Zhangyang Wang. Long live the lottery: The existence of winning tickets in lifelong learning. In International Conference on Learning Representations, 2021b.
|
| 201 |
+
|
| 202 |
+
Adam Coates, Andrew Y. Ng, and Honglak Lee. An analysis of single-layer networks in unsupervised feature learning. In Proceedings of the 14th International Conference on Artificial Intelligence and Statistics, 2011.
|
| 203 |
+
|
| 204 |
+
Justin Cosentino, Federico Zaiter, Dan Pei, and Jun Zhu. The search for sparse, robust neural networks. arXiv, abs/1912.02386, 2019.
|
| 205 |
+
|
| 206 |
+
Shrey Desai, Hongyuan Zhan, and Ahmed Aly. Evaluating lottery tickets under distributional shifts. In Proceedings of the 2nd Workshop on Deep Learning Approaches for Low-Resource NLP, 2019.
|
| 207 |
+
|
| 208 |
+
Bryn Elesedy, Varun Kanade, and Y. Teh. Lottery tickets in linear models: An analysis of iterative magnitude pruning. arXiv, abs/2007.08243, 2020.
|
| 209 |
+
|
| 210 |
+
Utku Evci, Fabian Pedregosa, Aidan Gomez, and Erich Elsen. The difficulty of training sparse neural networks. arXiv, abs/1906.10732, 2019.
|
| 211 |
+
|
| 212 |
+
Jonathan Frankle and Michael Carbin. The lottery ticket hypothesis: Finding sparse, trainable neural networks. In 7th International Conference on Learning Representations, 2019.
|
| 213 |
+
|
| 214 |
+
Jonathan Frankle, Gintare Karolina Dziugaite, Daniel M. Roy, and Michael Carbin. Linear mode connectivity and the lottery ticket hypothesis. arXiv, abs/1912.05671, 2019.
|
| 215 |
+
|
| 216 |
+
Jonathan Frankle, David J. Schwab, and Ari S. Morcos. The early phase of neural network training. In 8th International Conference on Learning Representations, 2020.
|
| 217 |
+
|
| 218 |
+
Trevor Gale, Erich Elsen, and Sara Hooker. The state of sparsity in deep neural networks. arXiv, abs/1902.09574, 2019.
|
| 219 |
+
|
| 220 |
+
Xinyu Gong, Shiyu Chang, Yifan Jiang, and Zhangyang Wang. Autogan: Neural architecture search for generative adversarial networks. In Proceedings of the IEEE International Conference on Computer Vision, 2019.
|
| 221 |
+
|
| 222 |
+
Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron Courville. Improved training of wasserstein gans. In Advances in Neural Information Processing Systems 30, 2017.
|
| 223 |
+
|
| 224 |
+
Song Han, Huizi Mao, and William J. Dally. Deep compression: Compressing deep neural networks with pruning, trained quantization and huffman coding. In 4th International Conference on Learning Representations, 2016.
|
| 225 |
+
|
| 226 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2016.
|
| 227 |
+
|
| 228 |
+
Yihui He, Xiangyu Zhang, and Jian Sun. Channel pruning for accelerating very deep neural networks. In Proceedings of the IEEE International Conference on Computer Vision, 2017.
|
| 229 |
+
|
| 230 |
+
Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a local nash equilibrium, 2017.
|
| 231 |
+
|
| 232 |
+
Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A. Efros. Image-to-image translation with conditional adversarial networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2017.
|
| 233 |
+
|
| 234 |
+
Yongcheng Jing, Yezhou Yang, Zunlei Feng, Jingwen Ye, Yizhou Yu, and Mingli Song. Neural style transfer: A review. IEEE Transactions on Visualization and Computer Graphics, 2019.
|
| 235 |
+
|
| 236 |
+
Alex Krizhevsky et al. Learning multiple layers of features from tiny images. 2009.
|
| 237 |
+
|
| 238 |
+
Yann LeCun, John S. Denker, and Sara A. Solla. Optimal brain damage. In Advances in Neural Information Processing Systems 2, 1990.
|
| 239 |
+
|
| 240 |
+
Muyang Li, Ji Lin, Yaoyao Ding, Zhijian Liu, Jun-Yan Zhu, and Song Han. Gan compression: Efficient architectures for interactive conditional gans. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2020.
|
| 241 |
+
|
| 242 |
+
Jae Hyun Lim and Jong Chul Ye. Geometric gan. abs/1705.02894, 2017.
|
| 243 |
+
|
| 244 |
+
Ming-Yu Liu and Oncel Tuzel. Coupled generative adversarial networks. In Advances in Neural Information Processing Systems 29, 2016.
|
| 245 |
+
|
| 246 |
+
Zhuang Liu, Jianguo Li, Zhiqiang Shen, Gao Huang, Shoumeng Yan, and Changshui Zhang. Learning efficient convolutional networks through network slimming. In Proceedings of the IEEE International Conference on Computer Vision, 2017.
|
| 247 |
+
|
| 248 |
+
Zhuang Liu, Mingjie Sun, Tinghui Zhou, Gao Huang, and Trevor Darrell. Rethinking the value of network pruning. In 7th International Conference on Learning Representations, 2019.
|
| 249 |
+
|
| 250 |
+
Haoyu Ma, Tianlong Chen, Ting-Kuei Hu, Chenyu You, Xiaohui Xie, and Zhangyang Wang. Good students play big lottery better. arXiv, abs/2101.03255, 2021.
|
| 251 |
+
|
| 252 |
+
Eran Malach, Gilad Yehudai, Shai Shalev-Shwartz, and Ohad Shamir. Proving the lottery ticket hypothesis: Pruning is all you need. arXiv, abs/2002.00585, 2020.
|
| 253 |
+
|
| 254 |
+
Rahul Mehta. Sparse transfer learning via winning lottery tickets. arXiv, abs/1905.07785, 2019.
|
| 255 |
+
|
| 256 |
+
Takeru Miyato and Masanori Koyama. cgans with projection discriminator. In 6th International Conference on Learning Representations, 2018.
|
| 257 |
+
|
| 258 |
+
Takeru Miyato, Toshiki Kataoka, Masanori Koyama, and Yuichi Yoshida. Spectral Normalization for Generative Adversarial Networks. In 6th International Conference on Learning Representations, 2018.
|
| 259 |
+
|
| 260 |
+
Ari Morcos, Haonan Yu, Michela Paganini, and Yuandong Tian. One ticket to win them all: generalizing lottery ticket initializations across datasets and optimizers. In Advances in Neural Information Processing Systems 32, 2019.
|
| 261 |
+
|
| 262 |
+
Augustus Odena, Christopher Olah, and Jonathon Shlens. Conditional image synthesis with auxiliary classifier gans. In Proceedings of the 34th International Conference on Machine Learning, 2017.
|
| 263 |
+
|
| 264 |
+
Ankit Pensia, Shashank Rajput, Alliot Nagle, Harit Vishwakarma, and Dimitris Papailiopoulos. Optimal lottery tickets via subsetsum: Logarithmic over-parameterization is sufficient. In Advances in Neural Information Processing Systems 33 pre-proceedings, 2020.
|
| 265 |
+
|
| 266 |
+
Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. In 4th International Conference on Learning Representations, 2016.
|
| 267 |
+
|
| 268 |
+
Alex Renda, Jonathan Frankle, and Michael Carbin. Comparing rewinding and fine-tuning in neural network pruning. In 8th International Conference on Learning Representations, 2020.
|
| 269 |
+
|
| 270 |
+
Mehdi SM Sajjadi, Olivier Bachem, Mario Lucic, Olivier Bousquet, and Sylvain Gelly. Assessing generative models via precision and recall. In Advances in Neural Information Processing Systems 31, 2018.
|
| 271 |
+
|
| 272 |
+
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 29, 2016.
|
| 273 |
+
|
| 274 |
+
Pedro Savarese, Hugo Silva, and Michael Maire. Winning the lottery with continuous sparsification. In Advances in Neural Information Processing Systems 33 pre-proceedings, 2020.
|
| 275 |
+
|
| 276 |
+
Ashish Shrivastava, Tomas Pfister, Oncel Tuzel, Josh Susskind, Wenda Wang, and Russ Webb. Learning from simulated and unsupervised images through adversarial training. In Proceedings of IEEE Conference on Computer Vision and Pattern Recognition, 2017.
|
| 277 |
+
|
| 278 |
+
Han Shu, Yunhe Wang, Xu Jia, Kai Han, Hanting Chen, Chunjing Xu, Qi Tian, and Chang Xu. Coevolutionary compression for unpaired image translation. In Proceedings of IEEE International Conference on Computer Vision, 2019.
|
| 279 |
+
|
| 280 |
+
Chaoqi Wang, Guodong Zhang, and Roger Grosse. Picking winning tickets before training by preserving gradient flow. In 8th International Conference on Learning Representations, 2020a.
|
| 281 |
+
|
| 282 |
+
Haotao Wang, Shupeng Gui, Haichuan Yang, Ji Liu, and Zhangyang Wang. Gan slimming: All-inone gan compression by a unified optimization framework. In Proceedings of the 16th European Conference on Computer Vision, 2020b.
|
| 283 |
+
|
| 284 |
+
Peiqi Wang, Dongsheng Wang, Yu Ji, Xinfeng Xie, Haoxuan Song, XuXin Liu, Yongqiang Lyu, and Yuan Xie. Qgan: Quantized generative adversarial networks. abs/1901.08263, 2019.
|
| 285 |
+
|
| 286 |
+
Jiayu Wu, Qixiang Zhang, and Guoxi Xu. Tiny imagenet challenge. Technical report, 2017.
|
| 287 |
+
|
| 288 |
+
Shihui Yin, Kyu-Hyoun Kim, Jinwook Oh, Naigang Wang, Mauricio Serrano, Jae-Sun Seo, and Jungwook Choi. The sooner the better: Investigating structure of early winning lottery tickets, 2020.
|
| 289 |
+
|
| 290 |
+
Haoran You, Chaojian Li, Pengfei Xu, Yonggan Fu, Yue Wang, Xiaohan Chen, Richard G. Baraniuk, Zhangyang Wang, and Yingyan Lin. Drawing early-bird tickets: Toward more efficient training of deep networks. In 8th International Conference on Learning Representations, 2020.
|
| 291 |
+
|
| 292 |
+
Haonan Yu, Sergey Edunov, Yuandong Tian, and Ari S. Morcos. Playing the lottery with rewards and multiple languages: lottery tickets in rl and nlp. In 8th International Conference on Learning Representations, 2020.
|
| 293 |
+
|
| 294 |
+
Han Zhang, Ian J. Goodfellow, Dimitris N. Metaxas, and Augustus Odena. Self-attention generative adversarial networks. In Proceedings of the 36th International Conference on Machine Learning, 2019.
|
| 295 |
+
|
| 296 |
+
Shengyu Zhao, Zhijian Liu, Ji Lin, Jun-Yan Zhu, and Song Han. Differentiable augmentation for data-efficient gan training. In 34th Conference on Neural Information Processing Systems, 2020a.
|
| 297 |
+
|
| 298 |
+
Shengyu Zhao, Zhijian Liu, Ji Lin, Jun-Yan Zhu, and Song Han. Differentiable augmentation for data-efficient gan training. In Advances in Neural Information Processing Systems 33 preproceedings, 2020b.
|
| 299 |
+
|
| 300 |
+
Jun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A. Efros. Unpaired image-to-image translation using cycle-consistent adversarial networks. In Proceedings of the IEEE International Conference on Computer Vision, 2017.
|
| 301 |
+
|
| 302 |
+
# A1 MORE TECHNICAL DETAILS
|
| 303 |
+
|
| 304 |
+
# A1.1 ALGORITHMS
|
| 305 |
+
|
| 306 |
+
In this section, we describe the details of the algorithm we used in finding lottery tickets. Two distinct pruning methods are used in Algorithm 1 and Algorithm 2.
|
| 307 |
+
|
| 308 |
+
<table><tr><td>Model</td><td>F8</td><td>F1/8</td></tr><tr><td>Full Model</td><td>0.971</td><td>0.974</td></tr><tr><td>Best Winning Tickets</td><td>0.977</td><td>0.977</td></tr><tr><td>Extreme Winning Tickets</td><td>0.974</td><td>0.971</td></tr></table>
|
| 309 |
+
|
| 310 |
+

|
| 311 |
+
Figure A9: The curve of precision and recall of SNGANs under different sparsities. baseline: Full model. best: Best winning tickets (Sparsity: $4 8 . 8 0 \%$ ). extreme: Extreme winning tickets (Sparsity: $7 3 . 7 9 \%$ ).
|
| 312 |
+
|
| 313 |
+
Table A7: The $\mathrm { F } _ { 8 }$ and $\mathrm { F _ { 1 / 8 } }$ score of the full network, best subnetworks and the matching networks at extreme sparsity. We used the official codes to calculate recall, precision, $\mathrm { F } _ { 8 }$ and $\mathrm { F _ { 1 / 8 } }$ .
|
| 314 |
+
|
| 315 |
+
# A2 MORE EXPERIMENTS RESULTS AND ANALYSIS
|
| 316 |
+
|
| 317 |
+
We will provide extra experiments results and analysis in this section.
|
| 318 |
+
|
| 319 |
+
# A2.1 MORE VISUALIZATION OF IMP WINNING TICKETS
|
| 320 |
+
|
| 321 |
+
We also conducted experiments to find winning tickets in CycleGAN on dataset winter2summer (Zhu et al., 2017). We observed similar patterns and found matching networks at $7 9 . 0 2 \%$ sparsity. We randomly sample four images from the dataset and show the translated images in Figure A10, Figure A11, and Figure A12. The winning tickets of CycleGAN can generate comparable visual quality to the full model under all cases.
|
| 322 |
+
|
| 323 |
+

|
| 324 |
+
Figure A10: Visualization of CycleGAN Winning Tickets found by IMP on summer2winter. Sparsity of best winning tickets: $5 9 . 0 4 \%$ . Extreme sparsity of matching subnetworks: $7 9 . 0 2 \%$ . Left: visualization results of task summer2winter. Right: visualization results of task winter2summer.
|
| 325 |
+
|
| 326 |
+
# A2.2 EXTRA METRICS FOR EVALUATING SNGAN
|
| 327 |
+
|
| 328 |
+
We also evaluate the quality of images generated by SNGAN using precision and recall Sajjadi et al. (2018). The results are shown in Table A7 and Figure A9. The results show that the best winning tickets have higher $\mathrm { F _ { 8 } }$ and $\mathrm { F _ { 1 / 8 } }$ compared to the full model, and the extreme winning tickets have on-par performance.
|
| 329 |
+
|
| 330 |
+

|
| 331 |
+
Figure A11: Extra visualization of CycleGAN Winning Tickets found by IMP on horse2zebra. Sparsity of best winning tickets : $5 9 . 0 4 \%$ . Extreme sparsity of matching subnetworks: $6 7 . 2 4 \%$ .
|
| 332 |
+
|
| 333 |
+

|
| 334 |
+
Figure A12: Extra visualization of CycleGAN Winning Tickets found by IMP on summer2winter. Sparsity of best winning tickets : $5 9 . 0 4 \%$ . Extreme sparsity of matching subnetworks: $7 9 . 0 2 \%$ .
|
| 335 |
+
|
| 336 |
+

|
| 337 |
+
Figure A13: Relationship between the best IS score of SNGAN subnetworks generated by channel pruning and the percent of remaining model size. GS-32: GAN Slimming without quantization (Wang et al., 2020b). Full Model: Full model trained on CIFAR-10.
|
| 338 |
+
|
| 339 |
+

|
| 340 |
+
Figure A14: Relationship between the best FID score of CycleGAN subnetworks generated by channel pruning and the percent of remaining weights. GS-32: GAN Slimming without quantization (Wang et al., 2020b). Full Model: Full un-pruned CycleGAN trained on horse2zebra.
|
| 341 |
+
|
| 342 |
+
# A2.3 CHANNEL PRUNING FOR SNGAN
|
| 343 |
+
|
| 344 |
+
We study the relationship between the Inception Score and the remaining model size, i.e. the ratio between the size of a channel-pruned model and its original model. The results are plotted in Figure A13. A similar conclusion can be drawn from the graph that matching networks exist, and at the same sparsity, the matching networks can be trained to outperform the current state-of-the-art GAN compression framework.
|
| 345 |
+
|
| 346 |
+
# A2.4 CHANNEL PRUNING FOR CYCLEGAN
|
| 347 |
+
|
| 348 |
+
We also conducted experiments on CycleGAN using channel pruning. The task we choose is horseto-zebra, i.e., we prune each of the two generators separately, which is aligned with SNGAN, which has only one generator. We prove that channel pruning is also capable of finding winning tickets in CycleGAN in Figure A14. Moreover, at extreme sparsity, the sparse subnetwork that we obtain can be trained to reach slightly better results than the current state-of-the-art GAN compression framework without quantization.
|
| 349 |
+
|
| 350 |
+
<table><tr><td>Algorithm 1: Finding winning tickets by Iterative Magnitude Pruning</td></tr><tr><td>Input: The desired sparsity s Output: A sparse GAN g(- mg 0g)</td></tr><tr><td>and d(·; md 0d) 1 Set mg = 1 ∈ Rg llo and</td></tr><tr><td>md =1∈ Rl0dollo. 2 Set 0go := initial weights of the generator model, 0do := initial weights</td></tr><tr><td>of the discriminator model. 3 Iteration i= 0</td></tr><tr><td>4 while the sparsity of mg < s do Train the generator g(*; mg ? 0go) 5</td></tr><tr><td>and the discriminator d( ; md ? 0dg) for N epochs to get parameters 0gN and 0dN</td></tr><tr><td>6 if pruning the discriminator then Prune 2O% of the parameters in 7</td></tr><tr><td>Na and Odn, creating two mask m'g and m':</td></tr><tr><td>8 else Prune 2O% of the parameters in 9</td></tr><tr><td>0 gN, creating a mask m'. m' remains1 ∈ Rdo llo. 10 end</td></tr></table>
|
| 351 |
+
|
| 352 |
+
<table><tr><td>Algorithm 2: Finding winning tickets by Channel Pruning Input:A threshold ρ of importance score,</td></tr><tr><td>number of steps for training N Output: A sparse GAN g(:; mg 0go) and d(-; md ③ 0do)</td></tr><tr><td>1 Randomly initialize Yg for every normalization layers in generator G and Yd for discriminator D. γ = (Yg, Yd) 2 Set 0go := initial weights of the generator</td></tr><tr><td>model, 0do := initial weights of the discriminator model. 3i=0</td></tr><tr><td>4 whilei<N do Compute masks md from Yd and mg 5 from Yg: Compute Lcp, LGAN and Ldist: 6</td></tr><tr><td>Update 0g and 0d by training the 7 generator g(-; mg ?0g) and the</td></tr><tr><td></td></tr><tr><td>discriminator d(·; md 0d) for one step. Update γ: γ ← proxρn(γ -n∀γLcp), 8 where proxx(𝑥)= sgn(x)①max(|𝑥|-λ·1,0) 9 i←i+1 10 end</td></tr></table>
|
parse/train/1AoMhc_9jER/1AoMhc_9jER_content_list.json
ADDED
|
@@ -0,0 +1,1931 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
683,
|
| 10 |
+
122
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Xuxi Chen1\\*, Zhenyu Zhang1\\*, Yongduo $\\mathbf { S u i ^ { 1 } }$ , Tianlong Chen2 1University of Science and Technology of China, 2University of Texas at Austin {chanyh,zzy19969,syd2019}@mail.ustc.edu.cn, tianlong.chen@utexas.edu ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
143,
|
| 20 |
+
781,
|
| 21 |
+
188
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
224,
|
| 32 |
+
544,
|
| 33 |
+
239
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Deep generative adversarial networks (GANs) have gained growing popularity in numerous scenarios, while usually suffer from high parameter complexities for resource-constrained real-world applications. However, the compression of GANs has less been explored. A few works show that heuristically applying compression techniques normally leads to unsatisfactory results, due to the notorious training instability of GANs. In parallel, the lottery ticket hypothesis shows prevailing success on discriminative models, in locating sparse matching subnetworks capable of training in isolation to full model performance. In this work, we for the first time study the existence of such trainable matching subnetworks in deep GANs. For a range of GANs, we certainly find matching subnetworks at $6 7 \\% - 7 4 \\%$ sparsity. We observe that with or without pruning discriminator has a minor effect on the existence and quality of matching subnetworks, while the initialization weights used in the discriminator plays a significant role. We then show the powerful transferability of these subnetworks to unseen tasks. Furthermore, extensive experimental results demonstrate that our found subnetworks substantially outperform previous state-of-the-art GAN compression approaches in both image generation (e.g. SNGAN) and image-to-image translation GANs (e.g. CycleGAN). Codes available at https://github.com/VITA-Group/GAN-LTH. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
256,
|
| 43 |
+
764,
|
| 44 |
+
503
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
536,
|
| 55 |
+
336,
|
| 56 |
+
553
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Generative adversarial networks (GANs) have been successfully applied to many fields like image translation (Jing et al., 2019; Isola et al., 2017; Liu & Tuzel, 2016; Shrivastava et al., 2017; Zhu et al., 2017) and image generation (Miyato et al., 2018; Radford et al., 2016; Gulrajani et al., 2017; Arjovsky et al., 2017). However, they are often heavily parameterized and often require intensive calculation at the training and inference phase. Network compressing techniques (LeCun et al., 1990; Wang et al., 2019; 2020b; Li et al., 2020) can be of help at inference by reducing the number of parameters or usage of memory; nonetheless, they can not save computational burden at no cost. Although they strive to maintain the performance after compressing the model, a non-negligible drop in generative capacity is usually observed. A question is raised: ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
560,
|
| 66 |
+
825,
|
| 67 |
+
685
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Is there any way to compress a GAN model while preserving or even improving its performance? ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
176,
|
| 76 |
+
693,
|
| 77 |
+
807,
|
| 78 |
+
707
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "The lottery ticket hypothesis (LTH) (Frankle & Carbin, 2019) provides positive answers with matching subnetworks (Chen et al., 2020b). It states that there exist matching subnetworks in dense models that can be trained to reach a comparable test accuracy to the full model within similar training iterations. The hypothesis has successfully shown its success in various fields (Yu et al., 2020; Renda et al., 2020; Chen et al., 2020b), and its property has been studied widely (Malach et al., 2020; Pensia et al., 2020; Elesedy et al., 2020). However, it is never introduced to GANs, and therefore the presence of matching subnetworks in generative adversarial networks still remains mysterious. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
713,
|
| 88 |
+
823,
|
| 89 |
+
811
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "To address this gap in the literature, we investigate the lottery ticket hypothesis in GANs. One most critical challenge of extending LTH in GANs emerges: how to deal with the discriminator while compressing the generator, including (i) whether prunes the discriminator simultaneously and (ii) what initialization should be adopted by discriminators during the re-training? Previous GAN compression methods (Shu et al., 2019; Wang et al., 2019; Li et al., 2020; Wang et al., 2020b) prune the generator model only since they aim at reducing parameters in the inference stage. The effect of pruning the discriminator has never been studied by these works, which is unnecessary for them but possibly essential in finding matching subnetworks. It is because that finding matching subnetworks involves re-training the whole GAN network, in which an imbalance in generative and discriminative power could result in degraded training results. For the same reason, the disequilibrium between initialization used in generators and discriminators incurs severe training instability and unsatisfactory results. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
818,
|
| 99 |
+
825,
|
| 100 |
+
902
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
103,
|
| 110 |
+
823,
|
| 111 |
+
188
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Another attractive property of LTH is the powerful transferability of located matching subnetworks. Although it has been well studied in discriminative models (Mehta, 2019; Morcos et al., 2019; Chen et al., 2020b), an in-depth understanding of transfer learning in GAN tickets is still missing. In this work, we not only show whether the sparse matching subnetworks in GANs can transfer across multiple datasets but also study what initialization benefits more to the transferability. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
194,
|
| 121 |
+
825,
|
| 122 |
+
263
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "To convert parameter efficiency of LTH into the advantage of computational saving, we also utilize channel pruning (He et al., 2017) to find the structural matching subnetworks of GANs, which enjoys the bonus of accelerated training and inference. Our contributions can be summarized in the following four aspects: ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
174,
|
| 131 |
+
271,
|
| 132 |
+
825,
|
| 133 |
+
327
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "• Using unstructured magnitude pruning, we identify matching subnetworks at $74 \\%$ sparsity in SNGAN (Miyato et al., 2018) and $67 \\%$ in CycleGAN (Zhu et al., 2017). The matching subnetworks in GANs exist no matter whether pruning discriminators, while the initialization weights used in the discriminator are crucial. \n• We show that the matching subnetworks found by iterative magnitude pruning outperform subnetworks extracted by randomly pruning and random initialization in terms of extreme sparsity and performance. To fully exploit the trained discriminator, we using the dense discriminator as a distillation source and further improve the quality of winning tickets. \n• We demonstrate that the found subnetworks in GANs transfer well across diverse generative tasks. \n• The matching subnetworks found by channel pruning surpass previous state-of-the-art GAN compression methods (i.e., GAN Slimming (Wang et al., 2020b)) in both efficiency and performance. ",
|
| 140 |
+
"bbox": [
|
| 141 |
+
173,
|
| 142 |
+
340,
|
| 143 |
+
826,
|
| 144 |
+
510
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 1
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "text",
|
| 150 |
+
"text": "2 RELATED WORK ",
|
| 151 |
+
"text_level": 1,
|
| 152 |
+
"bbox": [
|
| 153 |
+
176,
|
| 154 |
+
529,
|
| 155 |
+
344,
|
| 156 |
+
545
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 1
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "GAN Compression Generative adversarial networks (GANs) have succeeded in computer vision fields, for example, image generation and translation. One significant drawback of the generative models is the high computational cost of the models’ complex structure. A wide range of neural network compression techniques has been applied to generative models to address this problem. There are several categories of compression techniques, including pruning (removing some parameters), quantization (reducing the bit width), and distillation. Shu et al. (2019) proposed a channel pruning method for CycleGAN by using a co-evolution algorithm. Wang et al. (2019) proposed a quantization method for GANs based on the EM algorithm. Li et al. (2020) used a distillation method to transfer knowledge of the dense to the compressed model. Recently Wang et al. (2020b) proposed a GAN compression framework, GAN slimming, that integrated the above three mainstream compression techniques into a unified form. Previous works on GAN pruning usually aim at finding a sparse structure of the trained generator model for faster inference speed, while we are focusing on finding trainable structures of GANs following the lottery ticket hypothesis. Moreover, in existing GAN compression methods, only the generator is pruned, which could undermine the performance of re-training since the left-out discriminator may have a stronger computational ability than the pruned generator and therefore cause a degraded result due to the imparity of these two models. ",
|
| 163 |
+
"bbox": [
|
| 164 |
+
173,
|
| 165 |
+
560,
|
| 166 |
+
825,
|
| 167 |
+
782
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 1
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "text",
|
| 173 |
+
"text": "The Lottery Ticket Hypothesis The lottery ticket hypothesis (LTH) (Frankle & Carbin, 2019) claims the existence of sparse, separate trainable sub-networks in a dense network. These subnetworks are capable of reaching comparable or even better performance than full dense model, which has been evidenced in various fields, such as image classification (Frankle & Carbin, 2019; Liu et al., 2019; Wang et al., 2020a; Evci et al., 2019; Frankle et al., 2020; Savarese et al., 2020; Yin et al., 2020; You et al., 2020; Ma et al., 2021; Chen et al., 2020a), natural language processing (Gale et al., 2019; Chen et al., 2020b), reinforcement learning (Yu et al., 2020), lifelong learning (Chen et al., 2021b), graph neural networks (Chen et al., 2021a), and adversarial robustness (Cosentino et al., 2019). Most works of LTH use unstructured weight magnitude pruning (Han et al., 2016; Frankle & ",
|
| 174 |
+
"bbox": [
|
| 175 |
+
173,
|
| 176 |
+
797,
|
| 177 |
+
825,
|
| 178 |
+
924
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 1
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "text",
|
| 184 |
+
"text": "Carbin, 2019) to find the matching subnetworks, and the channel pruning is also adopted in a recent work (You et al., 2020). In order to scale up LTH to larger networks and datasets, the “late rewinding” technique is proposed by Frankle et al. (2019); Renda et al. (2020). Mehta (2019); Morcos et al. (2019); Desai et al. (2019) are the pioneers to study the transferability of found subnetworks. However, all previous works focus on discriminative models. In this paper, we extend LTH to GANs and reveal unique findings of GAN tickets. ",
|
| 185 |
+
"bbox": [
|
| 186 |
+
174,
|
| 187 |
+
103,
|
| 188 |
+
825,
|
| 189 |
+
188
|
| 190 |
+
],
|
| 191 |
+
"page_idx": 2
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"type": "text",
|
| 195 |
+
"text": "3 PRELIMINARIES ",
|
| 196 |
+
"text_level": 1,
|
| 197 |
+
"bbox": [
|
| 198 |
+
176,
|
| 199 |
+
207,
|
| 200 |
+
339,
|
| 201 |
+
223
|
| 202 |
+
],
|
| 203 |
+
"page_idx": 2
|
| 204 |
+
},
|
| 205 |
+
{
|
| 206 |
+
"type": "text",
|
| 207 |
+
"text": "In this section, we describe our pruning algorithms and list related experimental settings. ",
|
| 208 |
+
"bbox": [
|
| 209 |
+
173,
|
| 210 |
+
238,
|
| 211 |
+
753,
|
| 212 |
+
253
|
| 213 |
+
],
|
| 214 |
+
"page_idx": 2
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"type": "text",
|
| 218 |
+
"text": "Backbone Networks We use two GANs in our experiments in Section 4: SNGAN (Miyato et al., 2018) and CycleGAN (Zhu et al., 2017)). SNGAN with ResNet (He et al., 2016) is one of the most popular noise-to-image GAN network and has strong performance on several datasets like CIFAR10. CycleGAN is a popular and well-studied image-to-image GAN network that also performs well on several benchmarks. For SNGAN, let $g ( \\mathbf { z } ; \\pmb { \\theta } _ { g } )$ be the output of the generator network $\\mathcal { G }$ with parameters $\\theta _ { g }$ and a latent variable $\\textbf { z } \\in \\mathbb { R } ^ { | | z | | _ { 0 } }$ and $d ( \\mathbf { x } ; \\pmb { \\theta } _ { d } )$ be the output of the discriminator network $\\mathcal { D }$ with parameters $\\theta _ { d }$ and input example $\\mathbf { x }$ . For CycleGAN which is composed of two generator-discriminator pairs, we use $g ( \\mathbf { x } ; \\pmb { \\theta } _ { g } )$ and $\\theta _ { g }$ again to represent the output and the weights of the two generators where $\\mathbf { x } = ( \\mathbf { x } _ { 1 } , \\mathbf { x } _ { 2 } )$ indicates a pair of input examples. The same modification can be done for the two discriminators in CycleGAN. ",
|
| 219 |
+
"bbox": [
|
| 220 |
+
174,
|
| 221 |
+
267,
|
| 222 |
+
825,
|
| 223 |
+
409
|
| 224 |
+
],
|
| 225 |
+
"page_idx": 2
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"type": "text",
|
| 229 |
+
"text": "Datasets For image-to-image experiments, we use a widely-used benchmark horse2zebra (Zhu et al., 2017) for model training. As for noise-to-image experiments, we use CIFAR-10 (Krizhevsky et al., 2009) as the benchmark. For the transfer study, the experiments are conducted on CIFAR-10 and STL-10 (Coates et al., 2011). For better transferring, we resize the image in STL-10 to $3 2 \\times 3 2$ . ",
|
| 230 |
+
"bbox": [
|
| 231 |
+
174,
|
| 232 |
+
424,
|
| 233 |
+
825,
|
| 234 |
+
481
|
| 235 |
+
],
|
| 236 |
+
"page_idx": 2
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"type": "text",
|
| 240 |
+
"text": "Subnetworks For a network $f ( \\cdot ; \\pmb \\theta )$ parameterized by $\\pmb \\theta$ , a subnetwork is defined as $f ( \\cdot ; m \\odot \\pmb { \\theta } )$ , where $m \\in \\{ 0 , 1 \\} ^ { \\| \\theta \\| _ { 0 } }$ is a pruning mask for $\\pmb { \\theta } \\in \\mathbb { R } ^ { | | \\theta | | _ { 0 } }$ and $\\odot$ is the element-wise product. For GANs, two separate masks, $\\mathbf { \\nabla } m _ { d }$ and $m _ { g }$ , are needed for both the generator and the discriminator. Consequently, a subnetwork of GANs is consistent of: a sparse generator $g ( \\cdot ; m _ { g } \\odot \\theta _ { g } )$ and a sparse discriminator $d ( \\cdot ; m _ { d } \\odot \\theta _ { d } )$ . ",
|
| 241 |
+
"bbox": [
|
| 242 |
+
174,
|
| 243 |
+
494,
|
| 244 |
+
825,
|
| 245 |
+
568
|
| 246 |
+
],
|
| 247 |
+
"page_idx": 2
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"type": "text",
|
| 251 |
+
"text": "Let $\\pmb { \\theta _ { 0 } }$ be the initialization weights of model $f$ and $\\theta _ { t }$ be the weights at training step $t$ . Following Frankle et al. (2019), we define a matching network as a subnetwork $f ( \\cdot ; m \\odot \\pmb \\theta )$ , where $\\pmb { \\theta }$ is initialized with $\\theta _ { t }$ , that can reach the comparable performance to the full network within a similar training iterations when trained in isolation; a winning ticket is defined as a matching subnetwork where $t = 0$ , i.e. $\\pmb \\theta$ initialized with $\\pmb { \\theta } _ { 0 }$ . ",
|
| 252 |
+
"bbox": [
|
| 253 |
+
174,
|
| 254 |
+
574,
|
| 255 |
+
825,
|
| 256 |
+
643
|
| 257 |
+
],
|
| 258 |
+
"page_idx": 2
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"type": "text",
|
| 262 |
+
"text": "Finding subnetworks Finding GAN subnetworks is to find two masks $m _ { g }$ and $\\mathbf { \\nabla } m _ { d }$ for the generator and the discriminator. We use both an unstructured magnitude method, i.e. the iterative magnitude pruning (IMP), and a structured pruning method, i.e. the channel pruning (He et al., 2017), to generate the masks. ",
|
| 263 |
+
"bbox": [
|
| 264 |
+
174,
|
| 265 |
+
659,
|
| 266 |
+
823,
|
| 267 |
+
714
|
| 268 |
+
],
|
| 269 |
+
"page_idx": 2
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "text",
|
| 273 |
+
"text": "For unstructured pruning, we follow the following steps. After we finish training the full GAN model for $N$ iterations, we prune the weights with the lowest magnitude globally (Han et al., 2016) to obtain masks $\\pmb { m } = ( m _ { g } , m _ { d } )$ , where the position of a remaining weight in $_ { \\mathbf { \\nabla } } \\mathbf { m }$ is marked as one, and the position of a pruned weight is marked as zero. The weights of the sparse generator and the sparse discriminator are then reset to the initial weights of the full network. Previous works have shown that the iterative magnitude pruning (IMP) method is better than the one-shot pruning method. So rather than pruning the network only once to reach the desired sparsity, we prune a certain amount of non-zero parameters and re-train the network several times to meet the requirement. Details of this algorithm are in Appendix A1.1, Algorithm 1. ",
|
| 274 |
+
"bbox": [
|
| 275 |
+
174,
|
| 276 |
+
722,
|
| 277 |
+
825,
|
| 278 |
+
847
|
| 279 |
+
],
|
| 280 |
+
"page_idx": 2
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"type": "text",
|
| 284 |
+
"text": "As for channel pruning, the first step is to train the full model as well. Besides using a normal loss function $\\mathcal { L } _ { \\mathrm { G A N } }$ , we follow Liu et al. (2017) to apply a $\\ell _ { 1 }$ -norm on the trainable scale parameters $\\gamma$ in the normalization layers to encourage channel-level sparsity: $\\mathcal { L } _ { \\mathrm { c p } } = | | \\gamma | | _ { 1 }$ . To prevent the compressed network behave severely differently with the original large network, we introduce a distillation loss as Wang et al. (2020b) did: $\\mathcal { L } _ { \\mathrm { d i s t } } = \\mathbb { E } _ { \\mathbf { z } } [ \\mathrm { d i s t } ( g ( \\bar { \\mathbf { z } } ; \\theta _ { g } ) , g ( \\mathbf { z } ; m _ { g } \\odot \\pmb { \\theta } _ { g } ) ) ]$ . We train the ",
|
| 285 |
+
"bbox": [
|
| 286 |
+
174,
|
| 287 |
+
854,
|
| 288 |
+
823,
|
| 289 |
+
925
|
| 290 |
+
],
|
| 291 |
+
"page_idx": 2
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"type": "text",
|
| 295 |
+
"text": "GAN network with these two additional losses for $N _ { 1 }$ epochs and get the sparse networks $g ( \\cdot ; m _ { g } \\odot$ $\\theta _ { g , \\mathrm { ~ \\tiny ~ ~ } }$ ) and $d ( \\cdot ; m _ { d } \\odot \\theta _ { g } )$ . Details of this algorithm are in Appendix A1.1, Algorithm 2. ",
|
| 296 |
+
"bbox": [
|
| 297 |
+
173,
|
| 298 |
+
103,
|
| 299 |
+
823,
|
| 300 |
+
132
|
| 301 |
+
],
|
| 302 |
+
"page_idx": 3
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"type": "text",
|
| 306 |
+
"text": "Evaluation of subnetworks After obtaining the subnetworks $g ( \\cdot ; \\theta _ { g } \\odot m _ { g } )$ and $d ( \\cdot ; \\pmb { \\theta } _ { d } \\odot \\pmb { m } _ { d } )$ , we test whether the subnetworks are matching or not. We reset the weights to a specific step $i$ , and train the subnetworks for $N$ iterations and evaluate them using two specific metrics, Inception Score (Salimans et al., 2016) and Frechet Inception Distance (Heusel et al., 2017). ´ ",
|
| 307 |
+
"bbox": [
|
| 308 |
+
174,
|
| 309 |
+
150,
|
| 310 |
+
825,
|
| 311 |
+
205
|
| 312 |
+
],
|
| 313 |
+
"page_idx": 3
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"type": "text",
|
| 317 |
+
"text": "Other Pruning Methods We compare the size and the performance of subnetworks found by IMP with subnetworks found by other techniques that aim at compressing the network after training to reduce computational costs at inference. We use a benchmark pruning approach named Standard Pruning (Chen et al., 2020b; Han et al., 2016), which iteratively prune the $20 \\%$ of lowest magnitude weights, and train the network for another $N$ iterations without any rewinding, and repeat until we have reached the target sparsity. ",
|
| 318 |
+
"bbox": [
|
| 319 |
+
173,
|
| 320 |
+
224,
|
| 321 |
+
825,
|
| 322 |
+
309
|
| 323 |
+
],
|
| 324 |
+
"page_idx": 3
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"type": "text",
|
| 328 |
+
"text": "In order to verify that the statement of iterative magnitude pruning is better than one-shot pruning, we compare $\\mathrm { I M P _ { G } }$ and $\\mathrm { I M P _ { G D } }$ with their one-shot counterparts. Additionally, we compare IMP with some randomly pruning techniques to prove the effectiveness of IMP. They are: 1) Randomly Pruning: Randomly generate a sparsity mask $m ^ { \\prime }$ . 2) Random Tickets: Rewinding the weights to another initialization $\\theta _ { \\mathbf { 0 } } ^ { \\prime }$ . ",
|
| 329 |
+
"bbox": [
|
| 330 |
+
174,
|
| 331 |
+
315,
|
| 332 |
+
825,
|
| 333 |
+
386
|
| 334 |
+
],
|
| 335 |
+
"page_idx": 3
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"type": "text",
|
| 339 |
+
"text": "4 THE EXISTENCE OF WINNING TICKETS IN GAN ",
|
| 340 |
+
"text_level": 1,
|
| 341 |
+
"bbox": [
|
| 342 |
+
174,
|
| 343 |
+
409,
|
| 344 |
+
607,
|
| 345 |
+
424
|
| 346 |
+
],
|
| 347 |
+
"page_idx": 3
|
| 348 |
+
},
|
| 349 |
+
{
|
| 350 |
+
"type": "text",
|
| 351 |
+
"text": "In this section, we will validate the existence of winning tickets in GANs with initialization $\\theta _ { 0 } : =$ $( \\theta _ { g _ { 0 } } , \\theta _ { d _ { 0 } } )$ . Specifically, we will empirically prove several important properties of the tickets by authenticating the following four claims: ",
|
| 352 |
+
"bbox": [
|
| 353 |
+
176,
|
| 354 |
+
441,
|
| 355 |
+
823,
|
| 356 |
+
483
|
| 357 |
+
],
|
| 358 |
+
"page_idx": 3
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"type": "text",
|
| 362 |
+
"text": "Claim $I$ : Iterative Magnitude Pruning (IMP) finds winning tickets in GANs, $g ( \\cdot ; m _ { g } \\odot \\theta _ { g _ { 0 } } )$ and $d ( \\cdot ; m _ { d } \\odot \\theta _ { d _ { 0 } } )$ . Channel pruning is also able to find winning tickets as well. ",
|
| 363 |
+
"bbox": [
|
| 364 |
+
171,
|
| 365 |
+
491,
|
| 366 |
+
823,
|
| 367 |
+
520
|
| 368 |
+
],
|
| 369 |
+
"page_idx": 3
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"type": "text",
|
| 373 |
+
"text": "Claim 2: Whether pruning the discriminator $\\mathcal { D }$ does not change the existence of winning tickets. It is the initialization used in $\\mathcal { D }$ that matters. Moreover, pruning the discriminator has a slight boost of matching networks in terms of extreme sparsity and performance. ",
|
| 374 |
+
"bbox": [
|
| 375 |
+
176,
|
| 376 |
+
526,
|
| 377 |
+
821,
|
| 378 |
+
569
|
| 379 |
+
],
|
| 380 |
+
"page_idx": 3
|
| 381 |
+
},
|
| 382 |
+
{
|
| 383 |
+
"type": "text",
|
| 384 |
+
"text": "Claim 3: IMP finds winning tickets at sparsity where some other pruning methods (randomly pruning, one-shot magnitude pruning, and random tickets) are not matching. ",
|
| 385 |
+
"bbox": [
|
| 386 |
+
173,
|
| 387 |
+
575,
|
| 388 |
+
820,
|
| 389 |
+
603
|
| 390 |
+
],
|
| 391 |
+
"page_idx": 3
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"type": "text",
|
| 395 |
+
"text": "Claim 4: The late rewinding technique (Frankle et al., 2019) helps. Matching subnetworks that are initialized to $\\theta _ { i }$ , i.e., $i$ steps from $\\pmb { \\theta _ { 0 } }$ , can outperform those initialized to $\\pmb { \\theta _ { 0 } }$ . Moreover, matching subnetworks that are late rewound can be trained to match the performance of standard pruning. ",
|
| 396 |
+
"bbox": [
|
| 397 |
+
174,
|
| 398 |
+
609,
|
| 399 |
+
825,
|
| 400 |
+
652
|
| 401 |
+
],
|
| 402 |
+
"page_idx": 3
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"type": "text",
|
| 406 |
+
"text": "Claim 1: Are there winning tickets in GANs? To answer this question, we first conduct experiments on SNGAN by pruning the generator only in the following steps: 1) Run IMP to get sequential sparsity masks $( m _ { d _ { i } } , m _ { g _ { i } } )$ of sparsity $s _ { i } \\bar { \\% }$ remaining weights; 2) Apply the masks to the GAN and reset the weights of the subnetworks to the same random initialization $\\theta _ { \\mathbf { 0 } } ; 3 )$ Train models to evaluate whether they are winning tickets. 1 We set $s _ { i } \\% = ( 1 - 0 . 8 ^ { i } ) \\times 1 0 0 \\%$ , which we use for all the experiments that involve iteratively pruning hereinafter. The number of training epochs for subnetworks is identical to that of training the full models. ",
|
| 407 |
+
"bbox": [
|
| 408 |
+
174,
|
| 409 |
+
670,
|
| 410 |
+
825,
|
| 411 |
+
768
|
| 412 |
+
],
|
| 413 |
+
"page_idx": 3
|
| 414 |
+
},
|
| 415 |
+
{
|
| 416 |
+
"type": "text",
|
| 417 |
+
"text": "Figure 1 verifies the existence of winning tickets in SNGAN and CycleGAN. We are able to find winning tickets by iterative pruning the generators at the highest sparsity, around $74 \\%$ in SNGAN, and around $67 \\%$ in CycleGAN, where the FID scores of these subnetworks successfully match the FID scores of the full network respectively. The confidence interval also suggests that the winning tickets at some sparsities are statistically significantly better than the full model. ",
|
| 418 |
+
"bbox": [
|
| 419 |
+
174,
|
| 420 |
+
775,
|
| 421 |
+
825,
|
| 422 |
+
845
|
| 423 |
+
],
|
| 424 |
+
"page_idx": 3
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"type": "text",
|
| 428 |
+
"text": "To show that channel pruning can find winning tickets as well, we extract several subnetworks from the trained full SNGAN and CycleGAN by varying $\\rho$ in Algorithm 2. We define the channel-pruned model’s sparsity as the ratio of MFLOPs between the sparse model and the full model. ",
|
| 429 |
+
"bbox": [
|
| 430 |
+
178,
|
| 431 |
+
852,
|
| 432 |
+
821,
|
| 433 |
+
895
|
| 434 |
+
],
|
| 435 |
+
"page_idx": 3
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"type": "image",
|
| 439 |
+
"img_path": "images/7513d5cd63eac48aa4d57f06bcfa222e824d83221d800f1918c160f8bd993b4a.jpg",
|
| 440 |
+
"image_caption": [
|
| 441 |
+
"Figure 1: The Frechet Inception Distance (FID) curve of subnetworks of SNGAN (left) and CycleGAN (right) ´ generated by iterative magnitude pruning (IMP) on CIFAR-10 and horse2zebra. The dashed line indicates the FID score of the full model on CIFAR-10 and horse2zebra. The $9 5 \\%$ confidence interval of 5 runs is reported. "
|
| 442 |
+
],
|
| 443 |
+
"image_footnote": [],
|
| 444 |
+
"bbox": [
|
| 445 |
+
173,
|
| 446 |
+
99,
|
| 447 |
+
821,
|
| 448 |
+
226
|
| 449 |
+
],
|
| 450 |
+
"page_idx": 4
|
| 451 |
+
},
|
| 452 |
+
{
|
| 453 |
+
"type": "text",
|
| 454 |
+
"text": "We can confirm that winning tickets can also be found by channel pruning (CP). CP is able to find winning tickets in SNGAN at sparsity around $34 \\%$ . We will analyze it more carefully in Section 7. ",
|
| 455 |
+
"bbox": [
|
| 456 |
+
174,
|
| 457 |
+
285,
|
| 458 |
+
823,
|
| 459 |
+
313
|
| 460 |
+
],
|
| 461 |
+
"page_idx": 4
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"type": "image",
|
| 465 |
+
"img_path": "images/8911baf780540c2c3bb95561086c246e134ffe27ca1dfbd17bf48521ae5c5f05.jpg",
|
| 466 |
+
"image_caption": [
|
| 467 |
+
"Figure 2: Visualization by sampling and interpolation of SNGAN Winning Tickets found by IMP. Sparsity of best winning tickets : $4 8 . 8 0 \\%$ . Extreme sparsity of matching subnetworks: $7 3 . 7 9 \\%$ . "
|
| 468 |
+
],
|
| 469 |
+
"image_footnote": [],
|
| 470 |
+
"bbox": [
|
| 471 |
+
176,
|
| 472 |
+
325,
|
| 473 |
+
823,
|
| 474 |
+
421
|
| 475 |
+
],
|
| 476 |
+
"page_idx": 4
|
| 477 |
+
},
|
| 478 |
+
{
|
| 479 |
+
"type": "image",
|
| 480 |
+
"img_path": "images/58e0acd15a2f5c11aa5a7559feab903e95dea4d4079e86d4039c325cf35e41dd.jpg",
|
| 481 |
+
"image_caption": [
|
| 482 |
+
"Figure 3: Visualization of CycleGAN Winning Tickets found by IMP. Sparsity of best winning tickets : $5 9 . 0 4 \\%$ . Extreme sparsity of matching subnetworks: $6 7 . 2 4 \\%$ . Left: visualization results on horse2zebra. Right: visualization results on zebra2horse. "
|
| 483 |
+
],
|
| 484 |
+
"image_footnote": [],
|
| 485 |
+
"bbox": [
|
| 486 |
+
174,
|
| 487 |
+
455,
|
| 488 |
+
821,
|
| 489 |
+
595
|
| 490 |
+
],
|
| 491 |
+
"page_idx": 4
|
| 492 |
+
},
|
| 493 |
+
{
|
| 494 |
+
"type": "text",
|
| 495 |
+
"text": "Claim 2: Does the treatment of the discriminator affect the existence of winning tickets? Previous works of GAN pruning did not analyze the effect of pruning the discriminator. To study the effect, we compare two different iterative pruning settings: 1) Prune the generator only $\\left( \\mathrm { I M P _ { G } } \\right)$ and 2) Prune both the generator and the discriminator iteratively $( \\mathrm { I M P _ { G D } } )$ . Both the generator and the discriminator are reset to the same random initialization $\\pmb { \\theta _ { 0 } }$ after the masks are obtained. ",
|
| 496 |
+
"bbox": [
|
| 497 |
+
174,
|
| 498 |
+
643,
|
| 499 |
+
825,
|
| 500 |
+
713
|
| 501 |
+
],
|
| 502 |
+
"page_idx": 4
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"type": "text",
|
| 506 |
+
"text": "The FID scores of the two experiments are shown in Figure 4. The graph suggests that the two settings share similar patterns: the minimal FID of $\\mathrm { I M P _ { G } }$ is 14.19, and the minimal FID of $\\mathrm { I M P _ { G D } }$ is 14.59. The difference between these two best FID is only 0.4, showing a slight difference in generative power. The FID curve of $\\mathrm { I M P _ { G } }$ lies below that of $\\mathrm { I M P _ { G D } }$ at low sparsity but lies above at high sparsity, indicating that pruning the discriminator produces slightly better performance when the percent of remaining weights is small. The extreme sparsity where $\\mathrm { I M P _ { G D } }$ can match the performance of the full model is $7 3 . 8 \\%$ . In contrast, $\\mathrm { I M P _ { G } }$ can only match no sparser than $6 7 . 2 \\%$ , demonstrating that pruning the discriminator can also push the frontier of extreme sparsity where the pruned models are still able to match. ",
|
| 507 |
+
"bbox": [
|
| 508 |
+
173,
|
| 509 |
+
720,
|
| 510 |
+
825,
|
| 511 |
+
844
|
| 512 |
+
],
|
| 513 |
+
"page_idx": 4
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"type": "text",
|
| 517 |
+
"text": "In addition, we study the effects of different initialization for the sparse discriminator. We compare different weights loading methods when applying the iterative magnitude pruning process: 1) Reset the weights of generator to $\\theta _ { g _ { 0 } }$ and reset the weights of discriminator to $\\theta _ { d _ { 0 } }$ , which is identical to $\\mathrm { I M P _ { G } }$ ; 2) Reset the weights of generator to $\\theta _ { g _ { 0 } }$ and fine-tune the discriminator, which we will call $\\mathrm { I M P _ { G } ^ { F } }$ . Figure 4 shows that resetting both the weights to $\\pmb { \\theta _ { 0 } }$ produces a much better result than only resetting the generator. The discriminator $\\mathcal { D }$ without resetting its weights is too strong for the generator $\\mathcal { G }$ with initial weights $\\theta _ { g _ { 0 } }$ that will lead to degraded performance. In summary, different initialization of the discriminator will significantly influence the existence and quality of winning tickets in GAN models. ",
|
| 518 |
+
"bbox": [
|
| 519 |
+
174,
|
| 520 |
+
852,
|
| 521 |
+
823,
|
| 522 |
+
924
|
| 523 |
+
],
|
| 524 |
+
"page_idx": 4
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"type": "text",
|
| 528 |
+
"text": "",
|
| 529 |
+
"bbox": [
|
| 530 |
+
173,
|
| 531 |
+
103,
|
| 532 |
+
825,
|
| 533 |
+
159
|
| 534 |
+
],
|
| 535 |
+
"page_idx": 5
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"type": "image",
|
| 539 |
+
"img_path": "images/66ed5eab2be7c87a44dd7ec54916199d028c93910d2e62b9e9fe26aa369272b9.jpg",
|
| 540 |
+
"image_caption": [
|
| 541 |
+
"Figure 4: The FID score of Left: The FID score of best subnetworks generated by two different pruning settings: $\\mathrm { I M P _ { G } }$ and $\\mathrm { I M P } _ { \\mathrm { G D } }$ . Right: The FID score of best subnetworks generated by two different pruning settings: $\\mathrm { I M P _ { G } }$ and $\\mathrm { I M P _ { G } ^ { F } }$ . $\\mathrm { I M P _ { G } }$ : iteratively prune and reset the generator. $\\mathrm { I M P } _ { \\mathrm { G D } }$ : iteratively prune and reset the generator and the discriminator. $\\mathrm { I M P _ { G } ^ { \\tilde { \\mathrm { F } } } }$ : iteratively prune and reset the generator, and iteratively prune but not reset the discriminator. "
|
| 542 |
+
],
|
| 543 |
+
"image_footnote": [],
|
| 544 |
+
"bbox": [
|
| 545 |
+
173,
|
| 546 |
+
170,
|
| 547 |
+
823,
|
| 548 |
+
295
|
| 549 |
+
],
|
| 550 |
+
"page_idx": 5
|
| 551 |
+
},
|
| 552 |
+
{
|
| 553 |
+
"type": "text",
|
| 554 |
+
"text": "A follow-up question arises from the previous observations: is there any way to use the weights of the dense discriminator, as the direct usage of the dense weights yields inferior results? One possible way is to use it as a “teacher” and transfer the knowledge to pruned discriminator using a consistency loss. Formally speaking, an additional regularization term is used when training the whole network: ",
|
| 555 |
+
"bbox": [
|
| 556 |
+
173,
|
| 557 |
+
367,
|
| 558 |
+
825,
|
| 559 |
+
424
|
| 560 |
+
],
|
| 561 |
+
"page_idx": 5
|
| 562 |
+
},
|
| 563 |
+
{
|
| 564 |
+
"type": "equation",
|
| 565 |
+
"img_path": "images/02c677da7ca9d5b3f17e58706bc6bf16bfa4e74b1d2d36b3809a680a405a082f.jpg",
|
| 566 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { K D } } ( \\mathbf { x } ; \\pmb { \\theta } _ { d } , m _ { d } ) = \\mathbb { E } _ { \\mathbf { x } } [ \\mathrm { K L } _ { \\mathrm { D i v } } ( d ( \\mathbf { x } ; m _ { d } \\odot \\pmb { \\theta } _ { d } ) , d ( \\mathbf { x } ; \\pmb { \\theta } _ { d _ { 1 } } ) ) ]\n$$",
|
| 567 |
+
"text_format": "latex",
|
| 568 |
+
"bbox": [
|
| 569 |
+
299,
|
| 570 |
+
430,
|
| 571 |
+
696,
|
| 572 |
+
448
|
| 573 |
+
],
|
| 574 |
+
"page_idx": 5
|
| 575 |
+
},
|
| 576 |
+
{
|
| 577 |
+
"type": "text",
|
| 578 |
+
"text": "where $\\mathrm { K L } _ { \\mathrm { D i v } }$ denotes the KL-Divergence. We name the iterative pruning method with this additional regularization $\\mathrm { I M P _ { G D } ^ { K D } }$ . ",
|
| 579 |
+
"bbox": [
|
| 580 |
+
174,
|
| 581 |
+
454,
|
| 582 |
+
820,
|
| 583 |
+
482
|
| 584 |
+
],
|
| 585 |
+
"page_idx": 5
|
| 586 |
+
},
|
| 587 |
+
{
|
| 588 |
+
"type": "text",
|
| 589 |
+
"text": "Figure 5 shows the result of pruning method IMPKD compared to the previous two pruning methods we proposed, $\\mathrm { I M P _ { G } }$ and $\\mathrm { I M P _ { G D } }$ . $\\mathrm { I M P _ { G D } ^ { K D } }$ is capable of finding winning tickets at sparsity around $70 \\%$ , outperforming $\\mathrm { I M P _ { G } }$ , and showing comparable results to $\\mathrm { I M P _ { G D } }$ regarding the extreme sparsity. The FID curve of setting $\\mathrm { \\tilde { I M P } _ { G D } ^ { K D } }$ is further mostly located below the curve of $\\mathrm { \\Delta I M P _ { G D } }$ , demonstrating a stronger generative ability than $\\mathrm { I M P _ { G D } }$ . It suggests transferring knowledge from the full discriminator benefits to find the winning tickets. ",
|
| 590 |
+
"bbox": [
|
| 591 |
+
174,
|
| 592 |
+
489,
|
| 593 |
+
483,
|
| 594 |
+
656
|
| 595 |
+
],
|
| 596 |
+
"page_idx": 5
|
| 597 |
+
},
|
| 598 |
+
{
|
| 599 |
+
"type": "image",
|
| 600 |
+
"img_path": "images/a8b60e4bcd678fb4f89a4ccc93e2d320ddc699b7352edcc9c2574225e0eddc94.jpg",
|
| 601 |
+
"image_caption": [
|
| 602 |
+
"Figure 5: The FID curve of best subnetworks generated by three different pruning methods: $\\mathrm { I M P G }$ , $\\mathrm { I M P } _ { \\mathrm { G D } }$ and $\\mathrm { I M P _ { G D } ^ { K D } }$ . $\\mathrm { I M P _ { G D } ^ { K D } }$ : iteratively prune and reset both the generator and the discriminator, and train them with the KD regularization. "
|
| 603 |
+
],
|
| 604 |
+
"image_footnote": [],
|
| 605 |
+
"bbox": [
|
| 606 |
+
498,
|
| 607 |
+
481,
|
| 608 |
+
820,
|
| 609 |
+
603
|
| 610 |
+
],
|
| 611 |
+
"page_idx": 5
|
| 612 |
+
},
|
| 613 |
+
{
|
| 614 |
+
"type": "text",
|
| 615 |
+
"text": "Claim 3: Can IMP find matching subnetworks sparser than other pruning methods? Previous works claim that both a specific sparsity mask and a specific initialization are necessary for finding winning tickets (Frankle & Carbin, 2019), and iterative magnitude pruning is better than one-shot pruning. To extend such a statement in the context of GANs, we compare IMP with several other benchmarks, randomly pruning (RP), one-shot magnitude pruning (OMP), and random tickets (RT), to see if IMP can find matching networks at higher sparsity. ",
|
| 616 |
+
"bbox": [
|
| 617 |
+
173,
|
| 618 |
+
671,
|
| 619 |
+
825,
|
| 620 |
+
756
|
| 621 |
+
],
|
| 622 |
+
"page_idx": 5
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"type": "image",
|
| 626 |
+
"img_path": "images/8d085d6300af245b69cf6781c1d9e225b046161a0b431dbf111e4009fc915ef9.jpg",
|
| 627 |
+
"image_caption": [
|
| 628 |
+
"Figure 6: FID curves: $\\mathrm { O M P G }$ , $\\mathrm { I M P G }$ , ${ \\mathrm { O M P } } _ { \\mathrm { G D } }$ and $\\mathrm { I M P } _ { \\mathrm { G D } }$ . $\\mathrm { O M P _ { G } }$ : one-shot prune the generator. ${ \\mathrm { O M P } } _ { \\mathrm { G P } }$ : one-shot prune generator/discriminator. "
|
| 629 |
+
],
|
| 630 |
+
"image_footnote": [],
|
| 631 |
+
"bbox": [
|
| 632 |
+
187,
|
| 633 |
+
768,
|
| 634 |
+
472,
|
| 635 |
+
877
|
| 636 |
+
],
|
| 637 |
+
"page_idx": 5
|
| 638 |
+
},
|
| 639 |
+
{
|
| 640 |
+
"type": "table",
|
| 641 |
+
"img_path": "images/011bb3b912541cfa66d114361ae5efe1fabddf9251fb6590ca16d30a2b6ee5ca.jpg",
|
| 642 |
+
"table_caption": [],
|
| 643 |
+
"table_footnote": [],
|
| 644 |
+
"table_body": "<table><tr><td>Method</td><td>FIDBest (Sparsity)</td><td>FIDExtreme (Sparsity)</td></tr><tr><td>No Pruning</td><td>15.69 (0.0%)</td><td>1</td></tr><tr><td>IMPG</td><td>14.19 (20.0%)</td><td>15.58 (67.2%)</td></tr><tr><td>IMPGD</td><td>14.59 (59.0%)</td><td>15.53 (73.8%)</td></tr><tr><td>OMPG</td><td>14.36 (36.0%)</td><td>15.33 (59.0%)</td></tr><tr><td>OMPGD</td><td>14.52 (20.0%)</td><td>15.69 (48.8%)</td></tr></table>",
|
| 645 |
+
"bbox": [
|
| 646 |
+
517,
|
| 647 |
+
767,
|
| 648 |
+
810,
|
| 649 |
+
843
|
| 650 |
+
],
|
| 651 |
+
"page_idx": 5
|
| 652 |
+
},
|
| 653 |
+
{
|
| 654 |
+
"type": "text",
|
| 655 |
+
"text": "Table 1: The extreme sparsity of the matching networks and the FID score of best subnetworks, found by iterative pruning and one-shot pruning. $\\mathrm { O M P G }$ : one-shot prune the generator. ${ \\mathrm { O M P } } _ { \\mathrm { G P } }$ : one-shot prune generator/discriminator. ",
|
| 656 |
+
"bbox": [
|
| 657 |
+
504,
|
| 658 |
+
847,
|
| 659 |
+
825,
|
| 660 |
+
911
|
| 661 |
+
],
|
| 662 |
+
"page_idx": 5
|
| 663 |
+
},
|
| 664 |
+
{
|
| 665 |
+
"type": "text",
|
| 666 |
+
"text": "Figure 6 and Table 1 show that iterative magnitude pruning outperforms one-shot magnitude pruning no matter pruning the discriminator or not. IMP finds winning tickets at higher sparsity $( 6 7 . 2 3 \\%$ and $7 3 . 7 9 \\%$ , respectively) than one-shot pruning $( 5 9 . 0 0 \\%$ and $4 8 . 8 0 \\%$ , respectively). The minimal FID score of subnetworks found by IMP is smaller than that of subnetworks found by OMP as well. This observation defends the statement that pruning iteratively is superior compared to one-shot pruning. ",
|
| 667 |
+
"bbox": [
|
| 668 |
+
173,
|
| 669 |
+
103,
|
| 670 |
+
823,
|
| 671 |
+
174
|
| 672 |
+
],
|
| 673 |
+
"page_idx": 6
|
| 674 |
+
},
|
| 675 |
+
{
|
| 676 |
+
"type": "text",
|
| 677 |
+
"text": "We also list the minimal FID scores and extreme sparsity of matching networks for other pruning methods in Figure 7 and Table 2. It can be seen that IMP finds winning tickets at sparsity where some other pruning methods, randomly pruning and random initialization, cannot match. Since $\\mathrm { I M P _ { G } }$ shows the best overall result, we authenticate the previous statement that both the specific sparsity mask and the specific initialization are essential for finding winning tickets. ",
|
| 678 |
+
"bbox": [
|
| 679 |
+
173,
|
| 680 |
+
180,
|
| 681 |
+
825,
|
| 682 |
+
251
|
| 683 |
+
],
|
| 684 |
+
"page_idx": 6
|
| 685 |
+
},
|
| 686 |
+
{
|
| 687 |
+
"type": "image",
|
| 688 |
+
"img_path": "images/459ef32da8d72453aabd929c181e761be23bb6bb14cfc391573cf4c04ab0f836.jpg",
|
| 689 |
+
"image_caption": [
|
| 690 |
+
"Figure 7: The FID curve of best subnetworks generated by three different pruning settings: $\\mathrm { I M P G }$ , RP, and RT. RP: iteratively randomly prune the generator. RT: iteratively prune the generator but reset the weights randomly. "
|
| 691 |
+
],
|
| 692 |
+
"image_footnote": [],
|
| 693 |
+
"bbox": [
|
| 694 |
+
174,
|
| 695 |
+
266,
|
| 696 |
+
490,
|
| 697 |
+
386
|
| 698 |
+
],
|
| 699 |
+
"page_idx": 6
|
| 700 |
+
},
|
| 701 |
+
{
|
| 702 |
+
"type": "table",
|
| 703 |
+
"img_path": "images/50f76ecae07df30927fb8e48164cd099a2c41f6d7fef9e4bcd12eefbc2694e11.jpg",
|
| 704 |
+
"table_caption": [
|
| 705 |
+
"Table 2: The FID score of best subnetworks and the extreme sparsity of matching networks found by Random Pruning, Random Rickets, and iterative magnitude pruning. "
|
| 706 |
+
],
|
| 707 |
+
"table_footnote": [],
|
| 708 |
+
"table_body": "<table><tr><td>Method</td><td>FIDBest (Sparsity)</td><td>FIDExtreme (Sparsity)</td></tr><tr><td>No Pruning</td><td>15.69 (0.0%)</td><td></td></tr><tr><td>IMPG</td><td>14.19 (20.0%)</td><td>15.58 (67.2%)</td></tr><tr><td>Random Pruning</td><td>14.57 (20.0%)</td><td>15.60 (36.0%)</td></tr><tr><td>Random Tickets</td><td>14.28 (36.0%)</td><td>15.33 (59.0%)</td></tr></table>",
|
| 709 |
+
"bbox": [
|
| 710 |
+
508,
|
| 711 |
+
265,
|
| 712 |
+
818,
|
| 713 |
+
329
|
| 714 |
+
],
|
| 715 |
+
"page_idx": 6
|
| 716 |
+
},
|
| 717 |
+
{
|
| 718 |
+
"type": "text",
|
| 719 |
+
"text": "Claim 4: Does rewinding improve performance? In previous paragraphs, we show that we are able to find winning tickets in both SNGAN and CycleGAN. However, these subnetworks cannot match the performance of the original network at extremely high sparsity, while the subnetworks found by standard pruning can (Table 3). To find matching subnetworks at such high sparsity, we adopt the rewinding paradigm: after the masks are obtained, the weights of the model are rewound to $\\theta _ { i }$ , the weights after $i$ steps of training, rather than reset to the same random initialization $\\pmb { \\theta _ { 0 } }$ . It was pointed out by Renda et al. (2020) that subnetworks found by IMP and rewound early in training can be trained to achieve the same accuracy at the same sparsity as subnetworks found by the standard pruning, providing a possibility that rewinding can also help GAN subnetworks. ",
|
| 720 |
+
"bbox": [
|
| 721 |
+
173,
|
| 722 |
+
467,
|
| 723 |
+
825,
|
| 724 |
+
592
|
| 725 |
+
],
|
| 726 |
+
"page_idx": 6
|
| 727 |
+
},
|
| 728 |
+
{
|
| 729 |
+
"type": "text",
|
| 730 |
+
"text": "We choose different rewinding settings: $5 \\%$ , $10 \\%$ , and $20 \\%$ of the whole training epochs. The results are shown in Table 3. We observe that rewinding can significantly increase the extreme sparsity of matching networks. Rewinding to even only $5 \\%$ of the training process can raise the extreme sparsity from $6 7 . 2 3 \\%$ to $8 6 . 2 6 \\%$ , and rewinding to $20 \\%$ can match the performance of standard pruning. We also compare the FID score of subnetworks found at $89 \\%$ sparsity. Rewind to $2 0 \\%$ of the training ",
|
| 731 |
+
"bbox": [
|
| 732 |
+
174,
|
| 733 |
+
599,
|
| 734 |
+
483,
|
| 735 |
+
751
|
| 736 |
+
],
|
| 737 |
+
"page_idx": 6
|
| 738 |
+
},
|
| 739 |
+
{
|
| 740 |
+
"type": "table",
|
| 741 |
+
"img_path": "images/e1b8650df3dd36bdc689e9f7afdc27d1cf97725a759b3fdde7ee8b76d1da53ed.jpg",
|
| 742 |
+
"table_caption": [
|
| 743 |
+
"Table 3: Rewinding results. $\\mathrm { S _ { E x t r e m e } }$ : Extreme sparsity where matching subnetworks exist. $\\mathrm { F I D } _ { \\mathrm { B e s t } }$ : The minimal FID score of all subnetworks. $\\mathrm { F I D } _ { 8 9 \\% }$ : The FID score of subnetworks at $8 9 \\%$ sparsity. "
|
| 744 |
+
],
|
| 745 |
+
"table_footnote": [],
|
| 746 |
+
"table_body": "<table><tr><td>Setting of rewinding</td><td>SExtreme</td><td>FIDBest</td><td>FID89%</td></tr><tr><td>Rewind 0%</td><td>67.23%</td><td>14.20</td><td>19.60</td></tr><tr><td>Rewind 5%</td><td>86.26%</td><td>13.96</td><td>15.82</td></tr><tr><td>Rewind 10%</td><td>86.26%</td><td>14.43</td><td>15.63</td></tr><tr><td>Rewind 20%</td><td>89.26%</td><td>14.82</td><td>15.29</td></tr><tr><td>Standard Pruning</td><td>89.26%</td><td>14.18</td><td>15.22</td></tr></table>",
|
| 747 |
+
"bbox": [
|
| 748 |
+
498,
|
| 749 |
+
655,
|
| 750 |
+
823,
|
| 751 |
+
743
|
| 752 |
+
],
|
| 753 |
+
"page_idx": 6
|
| 754 |
+
},
|
| 755 |
+
{
|
| 756 |
+
"type": "text",
|
| 757 |
+
"text": "process can match the performance of standard pruning at $89 \\%$ sparsity, and other late rewinding settings can match the performance of the full model. This suggests that late rewinding techniques can greatly contribute to matching subnetworks with higher sparsity. ",
|
| 758 |
+
"bbox": [
|
| 759 |
+
176,
|
| 760 |
+
752,
|
| 761 |
+
821,
|
| 762 |
+
794
|
| 763 |
+
],
|
| 764 |
+
"page_idx": 6
|
| 765 |
+
},
|
| 766 |
+
{
|
| 767 |
+
"type": "text",
|
| 768 |
+
"text": "Summary Extensive experiments are conducted to examine the existence of matching subnetworks in generative adversarial models. We confirmed that there were matching subnetworks at high sparsities, and both the sparsity mask and the initialization matter for finding winning tickets. We also studied the effect of pruning the discriminator and demonstrate that pruning the discriminator can slightly boost the performance regarding the extreme sparsity and the minimal FID. We proposed a method to utilize the weights of the dense discriminator model to boost the performance further. We also compare IMP with different pruning methods, showing that IMP is superior to random tickets and random pruning. In addition, late rewinding can match the performance of standard pruning, which again shows consistency with previous works. ",
|
| 769 |
+
"bbox": [
|
| 770 |
+
173,
|
| 771 |
+
803,
|
| 772 |
+
825,
|
| 773 |
+
929
|
| 774 |
+
],
|
| 775 |
+
"page_idx": 6
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"type": "text",
|
| 779 |
+
"text": "5 THE TRANSFER LEARNING OF GAN MATCHING NETWORKS ",
|
| 780 |
+
"text_level": 1,
|
| 781 |
+
"bbox": [
|
| 782 |
+
173,
|
| 783 |
+
102,
|
| 784 |
+
697,
|
| 785 |
+
118
|
| 786 |
+
],
|
| 787 |
+
"page_idx": 7
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"type": "text",
|
| 791 |
+
"text": "In the previous section, we confirm the presence of winning tickets in GANs. In this section, we will study the transferability of winning tickets. Existing works (Mehta, 2019) show that the matching networks in discriminative models can transfer across tasks. Here we evaluate this claim in GANs. ",
|
| 792 |
+
"bbox": [
|
| 793 |
+
176,
|
| 794 |
+
127,
|
| 795 |
+
820,
|
| 796 |
+
169
|
| 797 |
+
],
|
| 798 |
+
"page_idx": 7
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"type": "text",
|
| 802 |
+
"text": "To investigate the transferability, we propose three transfer experiments from CIFAR-10 to STL-10 on SNGAN. We first identify matching subnetworks $g ( \\cdot , m _ { g } \\odot \\theta )$ and $d ( \\cdot , m _ { d } \\odot \\pmb \\theta )$ on CIFAR10, and then train and evaluate the subnetworks on STL-10. To assess whether the same random initialization $\\pmb { \\theta _ { 0 } }$ is needed for transferring, we test three different weights loading method: 1) reset the weights to $\\theta _ { 0 } ; 2 )$ reset the weights to another initialization $\\theta _ { \\mathbf { 0 } } ^ { \\prime }$ ; 3) rewind the weights to $\\theta _ { N }$ . We train the network on STL-10 using the same hyper-parameters as on CIFAR-10. It is noteworthy that the hyper-parameters setting might not be optimal for the target task, yet it is fair to compare different transferring settings. ",
|
| 803 |
+
"bbox": [
|
| 804 |
+
174,
|
| 805 |
+
176,
|
| 806 |
+
825,
|
| 807 |
+
287
|
| 808 |
+
],
|
| 809 |
+
"page_idx": 7
|
| 810 |
+
},
|
| 811 |
+
{
|
| 812 |
+
"type": "table",
|
| 813 |
+
"img_path": "images/d273131fff1630d39da7f3289b49472b24839e964b94c3ceeba8221f6621ac6b.jpg",
|
| 814 |
+
"table_caption": [
|
| 815 |
+
"Table 4: Results of late rewinding experiments. $\\pmb { \\theta _ { 0 } }$ : train the target model from the same random initialization as the source model; $\\theta _ { r }$ : train from random initialization; $\\pmb { \\theta } _ { \\mathbf { B } \\mathbf { e s t } }$ : train from the weights of trained source model. Baseline: full model trained on STL-10. "
|
| 816 |
+
],
|
| 817 |
+
"table_footnote": [],
|
| 818 |
+
"table_body": "<table><tr><td>Model</td><td>Baseline</td><td>IMPg (S = 67.23%)</td><td></td><td>IMPGD (S = 73.79%)</td><td>IMPKB</td><td>(S= 73.79%)</td></tr><tr><td>Metrics</td><td>FIDBest</td><td>FIDBest</td><td>Matching?</td><td>FIDBest</td><td>Matching?</td><td>FIDBest Matching?</td></tr><tr><td>0</td><td></td><td>116.7</td><td>√</td><td>121.8</td><td>× 120.1</td><td>×</td></tr><tr><td>0r</td><td>115.3</td><td>119.2</td><td>×</td><td>113.1 √</td><td>115.5</td><td>√</td></tr><tr><td>0Best</td><td></td><td>204.7</td><td>×</td><td>163.0 ×</td><td>179.1</td><td>×</td></tr></table>",
|
| 819 |
+
"bbox": [
|
| 820 |
+
176,
|
| 821 |
+
330,
|
| 822 |
+
825,
|
| 823 |
+
420
|
| 824 |
+
],
|
| 825 |
+
"page_idx": 7
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"type": "text",
|
| 829 |
+
"text": "The FID score of different settings is shown in Table 4. Subnetworks initialized by $\\theta _ { 0 }$ and using masks generated by $\\mathrm { I M P _ { G } }$ can be trained to achieve comparable results to the baseline model. Surprisingly, random re-initialization ${ \\pmb \\theta } _ { \\mathbf { 0 } } ^ { \\prime }$ shows better transferability than using the same initialization $\\pmb { \\theta _ { 0 } }$ in our transfer settings and outperforms the full model trained on STL-10, indicating that the combination of $\\pmb { \\theta _ { 0 } }$ and the mask generated by $\\mathrm { I M P } _ { \\mathrm { G D } }$ is more focused on the source dataset and consequently has lower transferability. ",
|
| 830 |
+
"bbox": [
|
| 831 |
+
173,
|
| 832 |
+
429,
|
| 833 |
+
825,
|
| 834 |
+
513
|
| 835 |
+
],
|
| 836 |
+
"page_idx": 7
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"type": "text",
|
| 840 |
+
"text": "Summary In this section, we tested the transferability of IMP subnetworks. Transferring from $\\pmb { \\theta _ { 0 } }$ and $\\theta _ { r }$ both produce matching results on the target dataset, STL-10. $\\pmb { \\theta _ { 0 } }$ works better with masks generated by $\\mathrm { I M P _ { G } }$ while the masks generated by $\\mathrm { I M P _ { G D } }$ prefer a different initialization $\\theta _ { r }$ . Given that $\\mathrm { I M P _ { G D } }$ performs better on CIFAR-10, it is reasonable that the same initialization $\\pmb { \\theta _ { 0 } }$ has lower transferability when using masks from $\\mathrm { I M P _ { G D } }$ . ",
|
| 841 |
+
"bbox": [
|
| 842 |
+
174,
|
| 843 |
+
529,
|
| 844 |
+
825,
|
| 845 |
+
599
|
| 846 |
+
],
|
| 847 |
+
"page_idx": 7
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"type": "text",
|
| 851 |
+
"text": "6 EXPERIMENTS ON OTHER GAN MODELS AND OTHER DATASETS ",
|
| 852 |
+
"text_level": 1,
|
| 853 |
+
"bbox": [
|
| 854 |
+
176,
|
| 855 |
+
621,
|
| 856 |
+
732,
|
| 857 |
+
637
|
| 858 |
+
],
|
| 859 |
+
"page_idx": 7
|
| 860 |
+
},
|
| 861 |
+
{
|
| 862 |
+
"type": "text",
|
| 863 |
+
"text": "We conducted experiments on DCGAN (Radford et al., 2016), WGAN-GP (Gulrajani et al., 2017), ACGAN (Odena et al., 2017), GGAN (Lim & Ye, 2017), DiffAugGAN (Zhao et al., 2020a), ProjGAN (Miyato & Koyama, 2018), SAGAN (Zhang et al., 2019), as well as a NAS-based GAN, AutoGAN (Gong et al., 2019). We use CIFAR-10 and Tiny ImageNet (Wu et al., 2017) as our benchmark datasets. ",
|
| 864 |
+
"bbox": [
|
| 865 |
+
174,
|
| 866 |
+
652,
|
| 867 |
+
825,
|
| 868 |
+
723
|
| 869 |
+
],
|
| 870 |
+
"page_idx": 7
|
| 871 |
+
},
|
| 872 |
+
{
|
| 873 |
+
"type": "text",
|
| 874 |
+
"text": "Table 5 and 6 consistently verify that the existence of winning tickets in diverse GAN architectures in spite of the different extreme sparsities, showing that the lottery ticket hypothesis can be generalized to various GAN models. ",
|
| 875 |
+
"bbox": [
|
| 876 |
+
176,
|
| 877 |
+
729,
|
| 878 |
+
823,
|
| 879 |
+
772
|
| 880 |
+
],
|
| 881 |
+
"page_idx": 7
|
| 882 |
+
},
|
| 883 |
+
{
|
| 884 |
+
"type": "text",
|
| 885 |
+
"text": "7 EFFICIENCY OF GAN WINNING TICKETS ",
|
| 886 |
+
"text_level": 1,
|
| 887 |
+
"bbox": [
|
| 888 |
+
176,
|
| 889 |
+
792,
|
| 890 |
+
547,
|
| 891 |
+
810
|
| 892 |
+
],
|
| 893 |
+
"page_idx": 7
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"type": "text",
|
| 897 |
+
"text": "Unlike the unstructured magnitude pruning method, channel pruning can reduce the number of parameters in GANs. Therefore, winning tickets found by channel pruning are more efficient than the original model regarding computational cost. To fully exploit the advantage of subnetworks founded by structural pruning, we further compare our prune-and-train pipeline with a state-of-the-art GAN compression framework (Wang et al., 2020b). The pipeline is described as follows: after extracting the sparse structure generated by channel pruning, we reset the model weights to the same random initialization $\\pmb { \\theta _ { 0 } }$ and then train for the same number of epochs as the dense model used. ",
|
| 898 |
+
"bbox": [
|
| 899 |
+
174,
|
| 900 |
+
825,
|
| 901 |
+
825,
|
| 902 |
+
924
|
| 903 |
+
],
|
| 904 |
+
"page_idx": 7
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "table",
|
| 908 |
+
"img_path": "images/2c784b08bd4738f2ea9340ef3ba60cc282ce2184148e87721093125a9f245637.jpg",
|
| 909 |
+
"table_caption": [
|
| 910 |
+
"Table 5: Results on other GAN models on CIFAR-10. $\\mathrm { F I D } _ { \\mathrm { F u l l } }$ : FID score of the full model. $\\mathrm { F I D } _ { \\mathrm { B e s t } }$ : The minimal FID score of all subnetworks. $\\mathrm { F I D } _ { \\mathrm { E x t r e m e } }$ : The FID score of matching networks at extreme sparsity level. AutoGAN-A/B/C are three representative GAN architectures represented in the official repository (https://github.com/VITA-Group/AutoGAN) "
|
| 911 |
+
],
|
| 912 |
+
"table_footnote": [],
|
| 913 |
+
"table_body": "<table><tr><td>Model</td><td>Benchmark</td><td>FIDFull (Sparsity)</td><td>FIDBest (Sparsity)</td><td>SExtreme (Sparsity)</td></tr><tr><td>DCGAN (Radford et al., 2016)</td><td>CIFAR-10</td><td>57.39 (0%)</td><td>49.31 (20.0%)</td><td>54.48 (67.2%)</td></tr><tr><td>WGAN-GP(Gulrajani et al., 2017)</td><td>CIFAR-10</td><td>19.23 (0%)</td><td>16.77 (36.0%)</td><td>17.28 (73.8%)</td></tr><tr><td>ACGAN (Odena et al.,2017)</td><td>CIFAR-10</td><td>39.26 (0%)</td><td>31.45 (36.0%)</td><td>38.95 (79.0%)</td></tr><tr><td>GGAN(Lim & Ye,2017)</td><td>CIFAR-10</td><td>38.50 (0%)</td><td>33.42 (20.0%)</td><td>36.67 (48.8%)</td></tr><tr><td>ProjGAN (Miyato & Koyama,2018)</td><td>CIFAR-10</td><td>31.47 (0%)</td><td>28.19 (20.0%)</td><td>31.31 (67.2%)</td></tr><tr><td>SAGAN (Zhang et al.,2019)</td><td>CIFAR-10</td><td>14.73 (0%)</td><td>13.57 (20.0%)</td><td>14.68 (48.8%)</td></tr><tr><td>AutoGAN(A) (Gong et al.,2019)</td><td>CIFAR-10</td><td>14.38 (0%)</td><td>14.04 (36.0%)</td><td>14.04 (36.0%)</td></tr><tr><td>AutoGAN(B) (Gong et al., 2019)</td><td>CIFAR-10</td><td>14.62 (0%)</td><td>13.16 (20.0%)</td><td>14.20 (36.0%)</td></tr><tr><td>AutoGAN(C) (Gong et al.,2019)</td><td>CIFAR-10</td><td>13.61 (0%)</td><td>13.41 (48.8%)</td><td>13.41 (48.8%)</td></tr><tr><td>DiffAugGAN (Zhao et al., 2020b)</td><td>CIFAR-10</td><td>8.23 (0%)</td><td>8.05 (48.8%)</td><td>8.05 (48.8%)</td></tr></table>",
|
| 914 |
+
"bbox": [
|
| 915 |
+
176,
|
| 916 |
+
169,
|
| 917 |
+
825,
|
| 918 |
+
318
|
| 919 |
+
],
|
| 920 |
+
"page_idx": 8
|
| 921 |
+
},
|
| 922 |
+
{
|
| 923 |
+
"type": "table",
|
| 924 |
+
"img_path": "images/4d10f2ea84e490dbee3e49e7444c7cb9421d550f260fd0030d6ac1d80fd68cab.jpg",
|
| 925 |
+
"table_caption": [
|
| 926 |
+
"Table 6: Results on other GAN models on Tiny ImageNet. $\\mathrm { F I D } _ { \\mathrm { F u l l } }$ : FID score of the full model. $\\mathrm { F I D } _ { \\mathrm { B e s t } }$ : The minimal FID score of all subnetworks. $\\mathrm { F I D } _ { \\mathrm { E x t r e m e } }$ : The FID score of matching networks at extreme sparsity level. "
|
| 927 |
+
],
|
| 928 |
+
"table_footnote": [],
|
| 929 |
+
"table_body": "<table><tr><td>Model</td><td>Benchmark</td><td>FIDFull (Sparsity)</td><td>FIDBest (Sparsity)|SExtreme (Sparsity)</td><td></td></tr><tr><td>DCGAN (Radford et al., 2016)</td><td>Tiny ImageNet</td><td>121.35 (0%)</td><td>78.51 (36.0%)</td><td>114.00 (67.2%)</td></tr><tr><td>WGAN-GP(Gulrajani et al.,2017)</td><td>Tiny ImageNet</td><td>211.77 (0%)</td><td>194.72 (48.8%)</td><td>200.22 (67.2%)</td></tr></table>",
|
| 930 |
+
"bbox": [
|
| 931 |
+
176,
|
| 932 |
+
396,
|
| 933 |
+
825,
|
| 934 |
+
441
|
| 935 |
+
],
|
| 936 |
+
"page_idx": 8
|
| 937 |
+
},
|
| 938 |
+
{
|
| 939 |
+
"type": "text",
|
| 940 |
+
"text": "We can see from Figure 8 that subnetworks are founded by the channel pruning method at about $67 \\%$ sparsity, which provides a new path for winning tickets other than magnitude pruning. The matching networks at $6 7 . 7 \\%$ outperform GS-32 regarding Inception Score by 0.25; the subnetworks at about $2 9 \\%$ sparsity can outperform GS-32 by 0.20, setting up a new benchmark for GAN compressions. ",
|
| 941 |
+
"bbox": [
|
| 942 |
+
174,
|
| 943 |
+
478,
|
| 944 |
+
825,
|
| 945 |
+
535
|
| 946 |
+
],
|
| 947 |
+
"page_idx": 8
|
| 948 |
+
},
|
| 949 |
+
{
|
| 950 |
+
"type": "text",
|
| 951 |
+
"text": "8 CONCLUSION ",
|
| 952 |
+
"text_level": 1,
|
| 953 |
+
"bbox": [
|
| 954 |
+
176,
|
| 955 |
+
565,
|
| 956 |
+
318,
|
| 957 |
+
580
|
| 958 |
+
],
|
| 959 |
+
"page_idx": 8
|
| 960 |
+
},
|
| 961 |
+
{
|
| 962 |
+
"type": "text",
|
| 963 |
+
"text": "In this paper, the lottery ticket hypothesis has been extended to GANs. We successfully identify winning tickets in GANs, which are separately trainable to match the full dense GAN performance. Pruning the discriminator, which is rarely studied before, had only slight effects on the ticket finding process, while the initialization used in the discriminator is essential. We also demonstrate that the winning tickets found can transfer across diverse tasks. Moreover, we provide a new way of finding winning tickets that alter the structure of models. Channel pruning is able to extract matching subnetworks from a dense model that can outperform the current state-of-the-art GAN compression after resetting the weights and re-training. ",
|
| 964 |
+
"bbox": [
|
| 965 |
+
174,
|
| 966 |
+
602,
|
| 967 |
+
483,
|
| 968 |
+
823
|
| 969 |
+
],
|
| 970 |
+
"page_idx": 8
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"type": "image",
|
| 974 |
+
"img_path": "images/46aff1e9d2922bac930f9ce3e210cba2f3eb0ea47700daac3ace1446a848b52f.jpg",
|
| 975 |
+
"image_caption": [
|
| 976 |
+
"Figure 8: Relationship between the best IS score of SNGAN subnetworks generated by channel pruning and the percent of remaining weights. GS-32: GAN Slimming without quantization (Wang et al., 2020b). Full Model: Full model trained on CIFAR-10. "
|
| 977 |
+
],
|
| 978 |
+
"image_footnote": [],
|
| 979 |
+
"bbox": [
|
| 980 |
+
500,
|
| 981 |
+
618,
|
| 982 |
+
820,
|
| 983 |
+
742
|
| 984 |
+
],
|
| 985 |
+
"page_idx": 8
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"type": "text",
|
| 989 |
+
"text": "ACKNOWLEDGEMENT ",
|
| 990 |
+
"text_level": 1,
|
| 991 |
+
"bbox": [
|
| 992 |
+
176,
|
| 993 |
+
858,
|
| 994 |
+
356,
|
| 995 |
+
871
|
| 996 |
+
],
|
| 997 |
+
"page_idx": 8
|
| 998 |
+
},
|
| 999 |
+
{
|
| 1000 |
+
"type": "text",
|
| 1001 |
+
"text": "Zhenyu Zhang is supported by the National Natural Science Foundation of China under grand No.U19B2044. ",
|
| 1002 |
+
"bbox": [
|
| 1003 |
+
173,
|
| 1004 |
+
895,
|
| 1005 |
+
823,
|
| 1006 |
+
922
|
| 1007 |
+
],
|
| 1008 |
+
"page_idx": 8
|
| 1009 |
+
},
|
| 1010 |
+
{
|
| 1011 |
+
"type": "text",
|
| 1012 |
+
"text": "REFERENCES ",
|
| 1013 |
+
"text_level": 1,
|
| 1014 |
+
"bbox": [
|
| 1015 |
+
176,
|
| 1016 |
+
102,
|
| 1017 |
+
287,
|
| 1018 |
+
118
|
| 1019 |
+
],
|
| 1020 |
+
"page_idx": 9
|
| 1021 |
+
},
|
| 1022 |
+
{
|
| 1023 |
+
"type": "text",
|
| 1024 |
+
"text": "Martin Arjovsky, Soumith Chintala, and Leon Bottou. Wasserstein generative adversarial networks. ´ In Proceedings of the 34th International Conference on Machine Learning, 2017. ",
|
| 1025 |
+
"bbox": [
|
| 1026 |
+
171,
|
| 1027 |
+
126,
|
| 1028 |
+
823,
|
| 1029 |
+
155
|
| 1030 |
+
],
|
| 1031 |
+
"page_idx": 9
|
| 1032 |
+
},
|
| 1033 |
+
{
|
| 1034 |
+
"type": "text",
|
| 1035 |
+
"text": "Tianlong Chen, Jonathan Frankle, Shiyu Chang, Sijia Liu, Yang Zhang, Michael Carbin, and Zhangyang Wang. The lottery tickets hypothesis for supervised and self-supervised pre-training in computer vision models. arXiv, abs/2012.06908, 2020a. ",
|
| 1036 |
+
"bbox": [
|
| 1037 |
+
176,
|
| 1038 |
+
164,
|
| 1039 |
+
823,
|
| 1040 |
+
208
|
| 1041 |
+
],
|
| 1042 |
+
"page_idx": 9
|
| 1043 |
+
},
|
| 1044 |
+
{
|
| 1045 |
+
"type": "text",
|
| 1046 |
+
"text": "Tianlong Chen, Jonathan Frankle, Shiyu Chang, Sijia Liu, Yang Zhang, Zhangyang Wang, and Michael Carbin. The lottery ticket hypothesis for pre-trained bert networks. arXiv, abs/2007.12223, 2020b. ",
|
| 1047 |
+
"bbox": [
|
| 1048 |
+
174,
|
| 1049 |
+
217,
|
| 1050 |
+
823,
|
| 1051 |
+
260
|
| 1052 |
+
],
|
| 1053 |
+
"page_idx": 9
|
| 1054 |
+
},
|
| 1055 |
+
{
|
| 1056 |
+
"type": "text",
|
| 1057 |
+
"text": "Tianlong Chen, Yongduo Sui, Xuxi Chen, Aston Zhang, and Zhangyang Wang. A unified lottery ticket hypothesis for graph neural networks, 2021a. ",
|
| 1058 |
+
"bbox": [
|
| 1059 |
+
173,
|
| 1060 |
+
268,
|
| 1061 |
+
821,
|
| 1062 |
+
299
|
| 1063 |
+
],
|
| 1064 |
+
"page_idx": 9
|
| 1065 |
+
},
|
| 1066 |
+
{
|
| 1067 |
+
"type": "text",
|
| 1068 |
+
"text": "Tianlong Chen, Zhenyu Zhang, Sijia Liu, Shiyu Chang, and Zhangyang Wang. Long live the lottery: The existence of winning tickets in lifelong learning. In International Conference on Learning Representations, 2021b. ",
|
| 1069 |
+
"bbox": [
|
| 1070 |
+
174,
|
| 1071 |
+
308,
|
| 1072 |
+
825,
|
| 1073 |
+
352
|
| 1074 |
+
],
|
| 1075 |
+
"page_idx": 9
|
| 1076 |
+
},
|
| 1077 |
+
{
|
| 1078 |
+
"type": "text",
|
| 1079 |
+
"text": "Adam Coates, Andrew Y. Ng, and Honglak Lee. An analysis of single-layer networks in unsupervised feature learning. In Proceedings of the 14th International Conference on Artificial Intelligence and Statistics, 2011. ",
|
| 1080 |
+
"bbox": [
|
| 1081 |
+
174,
|
| 1082 |
+
361,
|
| 1083 |
+
825,
|
| 1084 |
+
404
|
| 1085 |
+
],
|
| 1086 |
+
"page_idx": 9
|
| 1087 |
+
},
|
| 1088 |
+
{
|
| 1089 |
+
"type": "text",
|
| 1090 |
+
"text": "Justin Cosentino, Federico Zaiter, Dan Pei, and Jun Zhu. The search for sparse, robust neural networks. arXiv, abs/1912.02386, 2019. ",
|
| 1091 |
+
"bbox": [
|
| 1092 |
+
168,
|
| 1093 |
+
412,
|
| 1094 |
+
825,
|
| 1095 |
+
443
|
| 1096 |
+
],
|
| 1097 |
+
"page_idx": 9
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"type": "text",
|
| 1101 |
+
"text": "Shrey Desai, Hongyuan Zhan, and Ahmed Aly. Evaluating lottery tickets under distributional shifts. In Proceedings of the 2nd Workshop on Deep Learning Approaches for Low-Resource NLP, 2019. ",
|
| 1102 |
+
"bbox": [
|
| 1103 |
+
169,
|
| 1104 |
+
452,
|
| 1105 |
+
823,
|
| 1106 |
+
482
|
| 1107 |
+
],
|
| 1108 |
+
"page_idx": 9
|
| 1109 |
+
},
|
| 1110 |
+
{
|
| 1111 |
+
"type": "text",
|
| 1112 |
+
"text": "Bryn Elesedy, Varun Kanade, and Y. Teh. Lottery tickets in linear models: An analysis of iterative magnitude pruning. arXiv, abs/2007.08243, 2020. ",
|
| 1113 |
+
"bbox": [
|
| 1114 |
+
171,
|
| 1115 |
+
491,
|
| 1116 |
+
823,
|
| 1117 |
+
520
|
| 1118 |
+
],
|
| 1119 |
+
"page_idx": 9
|
| 1120 |
+
},
|
| 1121 |
+
{
|
| 1122 |
+
"type": "text",
|
| 1123 |
+
"text": "Utku Evci, Fabian Pedregosa, Aidan Gomez, and Erich Elsen. The difficulty of training sparse neural networks. arXiv, abs/1906.10732, 2019. ",
|
| 1124 |
+
"bbox": [
|
| 1125 |
+
171,
|
| 1126 |
+
530,
|
| 1127 |
+
823,
|
| 1128 |
+
559
|
| 1129 |
+
],
|
| 1130 |
+
"page_idx": 9
|
| 1131 |
+
},
|
| 1132 |
+
{
|
| 1133 |
+
"type": "text",
|
| 1134 |
+
"text": "Jonathan Frankle and Michael Carbin. The lottery ticket hypothesis: Finding sparse, trainable neural networks. In 7th International Conference on Learning Representations, 2019. ",
|
| 1135 |
+
"bbox": [
|
| 1136 |
+
171,
|
| 1137 |
+
568,
|
| 1138 |
+
823,
|
| 1139 |
+
598
|
| 1140 |
+
],
|
| 1141 |
+
"page_idx": 9
|
| 1142 |
+
},
|
| 1143 |
+
{
|
| 1144 |
+
"type": "text",
|
| 1145 |
+
"text": "Jonathan Frankle, Gintare Karolina Dziugaite, Daniel M. Roy, and Michael Carbin. Linear mode connectivity and the lottery ticket hypothesis. arXiv, abs/1912.05671, 2019. ",
|
| 1146 |
+
"bbox": [
|
| 1147 |
+
173,
|
| 1148 |
+
607,
|
| 1149 |
+
823,
|
| 1150 |
+
636
|
| 1151 |
+
],
|
| 1152 |
+
"page_idx": 9
|
| 1153 |
+
},
|
| 1154 |
+
{
|
| 1155 |
+
"type": "text",
|
| 1156 |
+
"text": "Jonathan Frankle, David J. Schwab, and Ari S. Morcos. The early phase of neural network training. In 8th International Conference on Learning Representations, 2020. ",
|
| 1157 |
+
"bbox": [
|
| 1158 |
+
173,
|
| 1159 |
+
645,
|
| 1160 |
+
821,
|
| 1161 |
+
675
|
| 1162 |
+
],
|
| 1163 |
+
"page_idx": 9
|
| 1164 |
+
},
|
| 1165 |
+
{
|
| 1166 |
+
"type": "text",
|
| 1167 |
+
"text": "Trevor Gale, Erich Elsen, and Sara Hooker. The state of sparsity in deep neural networks. arXiv, abs/1902.09574, 2019. ",
|
| 1168 |
+
"bbox": [
|
| 1169 |
+
173,
|
| 1170 |
+
684,
|
| 1171 |
+
823,
|
| 1172 |
+
714
|
| 1173 |
+
],
|
| 1174 |
+
"page_idx": 9
|
| 1175 |
+
},
|
| 1176 |
+
{
|
| 1177 |
+
"type": "text",
|
| 1178 |
+
"text": "Xinyu Gong, Shiyu Chang, Yifan Jiang, and Zhangyang Wang. Autogan: Neural architecture search for generative adversarial networks. In Proceedings of the IEEE International Conference on Computer Vision, 2019. ",
|
| 1179 |
+
"bbox": [
|
| 1180 |
+
173,
|
| 1181 |
+
723,
|
| 1182 |
+
825,
|
| 1183 |
+
766
|
| 1184 |
+
],
|
| 1185 |
+
"page_idx": 9
|
| 1186 |
+
},
|
| 1187 |
+
{
|
| 1188 |
+
"type": "text",
|
| 1189 |
+
"text": "Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron Courville. Improved training of wasserstein gans. In Advances in Neural Information Processing Systems 30, 2017. ",
|
| 1190 |
+
"bbox": [
|
| 1191 |
+
173,
|
| 1192 |
+
775,
|
| 1193 |
+
823,
|
| 1194 |
+
819
|
| 1195 |
+
],
|
| 1196 |
+
"page_idx": 9
|
| 1197 |
+
},
|
| 1198 |
+
{
|
| 1199 |
+
"type": "text",
|
| 1200 |
+
"text": "Song Han, Huizi Mao, and William J. Dally. Deep compression: Compressing deep neural networks with pruning, trained quantization and huffman coding. In 4th International Conference on Learning Representations, 2016. ",
|
| 1201 |
+
"bbox": [
|
| 1202 |
+
173,
|
| 1203 |
+
829,
|
| 1204 |
+
823,
|
| 1205 |
+
871
|
| 1206 |
+
],
|
| 1207 |
+
"page_idx": 9
|
| 1208 |
+
},
|
| 1209 |
+
{
|
| 1210 |
+
"type": "text",
|
| 1211 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2016. ",
|
| 1212 |
+
"bbox": [
|
| 1213 |
+
176,
|
| 1214 |
+
881,
|
| 1215 |
+
823,
|
| 1216 |
+
922
|
| 1217 |
+
],
|
| 1218 |
+
"page_idx": 9
|
| 1219 |
+
},
|
| 1220 |
+
{
|
| 1221 |
+
"type": "text",
|
| 1222 |
+
"text": "Yihui He, Xiangyu Zhang, and Jian Sun. Channel pruning for accelerating very deep neural networks. In Proceedings of the IEEE International Conference on Computer Vision, 2017. ",
|
| 1223 |
+
"bbox": [
|
| 1224 |
+
173,
|
| 1225 |
+
103,
|
| 1226 |
+
821,
|
| 1227 |
+
132
|
| 1228 |
+
],
|
| 1229 |
+
"page_idx": 10
|
| 1230 |
+
},
|
| 1231 |
+
{
|
| 1232 |
+
"type": "text",
|
| 1233 |
+
"text": "Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a local nash equilibrium, 2017. ",
|
| 1234 |
+
"bbox": [
|
| 1235 |
+
174,
|
| 1236 |
+
141,
|
| 1237 |
+
821,
|
| 1238 |
+
170
|
| 1239 |
+
],
|
| 1240 |
+
"page_idx": 10
|
| 1241 |
+
},
|
| 1242 |
+
{
|
| 1243 |
+
"type": "text",
|
| 1244 |
+
"text": "Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A. Efros. Image-to-image translation with conditional adversarial networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2017. ",
|
| 1245 |
+
"bbox": [
|
| 1246 |
+
178,
|
| 1247 |
+
179,
|
| 1248 |
+
823,
|
| 1249 |
+
222
|
| 1250 |
+
],
|
| 1251 |
+
"page_idx": 10
|
| 1252 |
+
},
|
| 1253 |
+
{
|
| 1254 |
+
"type": "text",
|
| 1255 |
+
"text": "Yongcheng Jing, Yezhou Yang, Zunlei Feng, Jingwen Ye, Yizhou Yu, and Mingli Song. Neural style transfer: A review. IEEE Transactions on Visualization and Computer Graphics, 2019. ",
|
| 1256 |
+
"bbox": [
|
| 1257 |
+
173,
|
| 1258 |
+
231,
|
| 1259 |
+
823,
|
| 1260 |
+
261
|
| 1261 |
+
],
|
| 1262 |
+
"page_idx": 10
|
| 1263 |
+
},
|
| 1264 |
+
{
|
| 1265 |
+
"type": "text",
|
| 1266 |
+
"text": "Alex Krizhevsky et al. Learning multiple layers of features from tiny images. 2009. ",
|
| 1267 |
+
"bbox": [
|
| 1268 |
+
173,
|
| 1269 |
+
268,
|
| 1270 |
+
723,
|
| 1271 |
+
285
|
| 1272 |
+
],
|
| 1273 |
+
"page_idx": 10
|
| 1274 |
+
},
|
| 1275 |
+
{
|
| 1276 |
+
"type": "text",
|
| 1277 |
+
"text": "Yann LeCun, John S. Denker, and Sara A. Solla. Optimal brain damage. In Advances in Neural Information Processing Systems 2, 1990. ",
|
| 1278 |
+
"bbox": [
|
| 1279 |
+
173,
|
| 1280 |
+
292,
|
| 1281 |
+
823,
|
| 1282 |
+
323
|
| 1283 |
+
],
|
| 1284 |
+
"page_idx": 10
|
| 1285 |
+
},
|
| 1286 |
+
{
|
| 1287 |
+
"type": "text",
|
| 1288 |
+
"text": "Muyang Li, Ji Lin, Yaoyao Ding, Zhijian Liu, Jun-Yan Zhu, and Song Han. Gan compression: Efficient architectures for interactive conditional gans. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2020. ",
|
| 1289 |
+
"bbox": [
|
| 1290 |
+
173,
|
| 1291 |
+
330,
|
| 1292 |
+
825,
|
| 1293 |
+
375
|
| 1294 |
+
],
|
| 1295 |
+
"page_idx": 10
|
| 1296 |
+
},
|
| 1297 |
+
{
|
| 1298 |
+
"type": "text",
|
| 1299 |
+
"text": "Jae Hyun Lim and Jong Chul Ye. Geometric gan. abs/1705.02894, 2017. ",
|
| 1300 |
+
"bbox": [
|
| 1301 |
+
173,
|
| 1302 |
+
382,
|
| 1303 |
+
653,
|
| 1304 |
+
398
|
| 1305 |
+
],
|
| 1306 |
+
"page_idx": 10
|
| 1307 |
+
},
|
| 1308 |
+
{
|
| 1309 |
+
"type": "text",
|
| 1310 |
+
"text": "Ming-Yu Liu and Oncel Tuzel. Coupled generative adversarial networks. In Advances in Neural Information Processing Systems 29, 2016. ",
|
| 1311 |
+
"bbox": [
|
| 1312 |
+
174,
|
| 1313 |
+
407,
|
| 1314 |
+
820,
|
| 1315 |
+
436
|
| 1316 |
+
],
|
| 1317 |
+
"page_idx": 10
|
| 1318 |
+
},
|
| 1319 |
+
{
|
| 1320 |
+
"type": "text",
|
| 1321 |
+
"text": "Zhuang Liu, Jianguo Li, Zhiqiang Shen, Gao Huang, Shoumeng Yan, and Changshui Zhang. Learning efficient convolutional networks through network slimming. In Proceedings of the IEEE International Conference on Computer Vision, 2017. ",
|
| 1322 |
+
"bbox": [
|
| 1323 |
+
173,
|
| 1324 |
+
445,
|
| 1325 |
+
826,
|
| 1326 |
+
488
|
| 1327 |
+
],
|
| 1328 |
+
"page_idx": 10
|
| 1329 |
+
},
|
| 1330 |
+
{
|
| 1331 |
+
"type": "text",
|
| 1332 |
+
"text": "Zhuang Liu, Mingjie Sun, Tinghui Zhou, Gao Huang, and Trevor Darrell. Rethinking the value of network pruning. In 7th International Conference on Learning Representations, 2019. ",
|
| 1333 |
+
"bbox": [
|
| 1334 |
+
173,
|
| 1335 |
+
497,
|
| 1336 |
+
825,
|
| 1337 |
+
526
|
| 1338 |
+
],
|
| 1339 |
+
"page_idx": 10
|
| 1340 |
+
},
|
| 1341 |
+
{
|
| 1342 |
+
"type": "text",
|
| 1343 |
+
"text": "Haoyu Ma, Tianlong Chen, Ting-Kuei Hu, Chenyu You, Xiaohui Xie, and Zhangyang Wang. Good students play big lottery better. arXiv, abs/2101.03255, 2021. ",
|
| 1344 |
+
"bbox": [
|
| 1345 |
+
174,
|
| 1346 |
+
535,
|
| 1347 |
+
823,
|
| 1348 |
+
564
|
| 1349 |
+
],
|
| 1350 |
+
"page_idx": 10
|
| 1351 |
+
},
|
| 1352 |
+
{
|
| 1353 |
+
"type": "text",
|
| 1354 |
+
"text": "Eran Malach, Gilad Yehudai, Shai Shalev-Shwartz, and Ohad Shamir. Proving the lottery ticket hypothesis: Pruning is all you need. arXiv, abs/2002.00585, 2020. ",
|
| 1355 |
+
"bbox": [
|
| 1356 |
+
173,
|
| 1357 |
+
573,
|
| 1358 |
+
820,
|
| 1359 |
+
603
|
| 1360 |
+
],
|
| 1361 |
+
"page_idx": 10
|
| 1362 |
+
},
|
| 1363 |
+
{
|
| 1364 |
+
"type": "text",
|
| 1365 |
+
"text": "Rahul Mehta. Sparse transfer learning via winning lottery tickets. arXiv, abs/1905.07785, 2019. ",
|
| 1366 |
+
"bbox": [
|
| 1367 |
+
173,
|
| 1368 |
+
611,
|
| 1369 |
+
803,
|
| 1370 |
+
627
|
| 1371 |
+
],
|
| 1372 |
+
"page_idx": 10
|
| 1373 |
+
},
|
| 1374 |
+
{
|
| 1375 |
+
"type": "text",
|
| 1376 |
+
"text": "Takeru Miyato and Masanori Koyama. cgans with projection discriminator. In 6th International Conference on Learning Representations, 2018. ",
|
| 1377 |
+
"bbox": [
|
| 1378 |
+
173,
|
| 1379 |
+
636,
|
| 1380 |
+
821,
|
| 1381 |
+
665
|
| 1382 |
+
],
|
| 1383 |
+
"page_idx": 10
|
| 1384 |
+
},
|
| 1385 |
+
{
|
| 1386 |
+
"type": "text",
|
| 1387 |
+
"text": "Takeru Miyato, Toshiki Kataoka, Masanori Koyama, and Yuichi Yoshida. Spectral Normalization for Generative Adversarial Networks. In 6th International Conference on Learning Representations, 2018. ",
|
| 1388 |
+
"bbox": [
|
| 1389 |
+
173,
|
| 1390 |
+
672,
|
| 1391 |
+
825,
|
| 1392 |
+
715
|
| 1393 |
+
],
|
| 1394 |
+
"page_idx": 10
|
| 1395 |
+
},
|
| 1396 |
+
{
|
| 1397 |
+
"type": "text",
|
| 1398 |
+
"text": "Ari Morcos, Haonan Yu, Michela Paganini, and Yuandong Tian. One ticket to win them all: generalizing lottery ticket initializations across datasets and optimizers. In Advances in Neural Information Processing Systems 32, 2019. ",
|
| 1399 |
+
"bbox": [
|
| 1400 |
+
173,
|
| 1401 |
+
724,
|
| 1402 |
+
821,
|
| 1403 |
+
768
|
| 1404 |
+
],
|
| 1405 |
+
"page_idx": 10
|
| 1406 |
+
},
|
| 1407 |
+
{
|
| 1408 |
+
"type": "text",
|
| 1409 |
+
"text": "Augustus Odena, Christopher Olah, and Jonathon Shlens. Conditional image synthesis with auxiliary classifier gans. In Proceedings of the 34th International Conference on Machine Learning, 2017. ",
|
| 1410 |
+
"bbox": [
|
| 1411 |
+
174,
|
| 1412 |
+
776,
|
| 1413 |
+
823,
|
| 1414 |
+
820
|
| 1415 |
+
],
|
| 1416 |
+
"page_idx": 10
|
| 1417 |
+
},
|
| 1418 |
+
{
|
| 1419 |
+
"type": "text",
|
| 1420 |
+
"text": "Ankit Pensia, Shashank Rajput, Alliot Nagle, Harit Vishwakarma, and Dimitris Papailiopoulos. Optimal lottery tickets via subsetsum: Logarithmic over-parameterization is sufficient. In Advances in Neural Information Processing Systems 33 pre-proceedings, 2020. ",
|
| 1421 |
+
"bbox": [
|
| 1422 |
+
174,
|
| 1423 |
+
829,
|
| 1424 |
+
823,
|
| 1425 |
+
872
|
| 1426 |
+
],
|
| 1427 |
+
"page_idx": 10
|
| 1428 |
+
},
|
| 1429 |
+
{
|
| 1430 |
+
"type": "text",
|
| 1431 |
+
"text": "Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. In 4th International Conference on Learning Representations, 2016. ",
|
| 1432 |
+
"bbox": [
|
| 1433 |
+
176,
|
| 1434 |
+
881,
|
| 1435 |
+
823,
|
| 1436 |
+
924
|
| 1437 |
+
],
|
| 1438 |
+
"page_idx": 10
|
| 1439 |
+
},
|
| 1440 |
+
{
|
| 1441 |
+
"type": "text",
|
| 1442 |
+
"text": "Alex Renda, Jonathan Frankle, and Michael Carbin. Comparing rewinding and fine-tuning in neural network pruning. In 8th International Conference on Learning Representations, 2020. ",
|
| 1443 |
+
"bbox": [
|
| 1444 |
+
171,
|
| 1445 |
+
103,
|
| 1446 |
+
823,
|
| 1447 |
+
132
|
| 1448 |
+
],
|
| 1449 |
+
"page_idx": 11
|
| 1450 |
+
},
|
| 1451 |
+
{
|
| 1452 |
+
"type": "text",
|
| 1453 |
+
"text": "Mehdi SM Sajjadi, Olivier Bachem, Mario Lucic, Olivier Bousquet, and Sylvain Gelly. Assessing generative models via precision and recall. In Advances in Neural Information Processing Systems 31, 2018. ",
|
| 1454 |
+
"bbox": [
|
| 1455 |
+
173,
|
| 1456 |
+
140,
|
| 1457 |
+
821,
|
| 1458 |
+
184
|
| 1459 |
+
],
|
| 1460 |
+
"page_idx": 11
|
| 1461 |
+
},
|
| 1462 |
+
{
|
| 1463 |
+
"type": "text",
|
| 1464 |
+
"text": "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 29, 2016. ",
|
| 1465 |
+
"bbox": [
|
| 1466 |
+
173,
|
| 1467 |
+
193,
|
| 1468 |
+
823,
|
| 1469 |
+
234
|
| 1470 |
+
],
|
| 1471 |
+
"page_idx": 11
|
| 1472 |
+
},
|
| 1473 |
+
{
|
| 1474 |
+
"type": "text",
|
| 1475 |
+
"text": "Pedro Savarese, Hugo Silva, and Michael Maire. Winning the lottery with continuous sparsification. In Advances in Neural Information Processing Systems 33 pre-proceedings, 2020. ",
|
| 1476 |
+
"bbox": [
|
| 1477 |
+
171,
|
| 1478 |
+
243,
|
| 1479 |
+
820,
|
| 1480 |
+
273
|
| 1481 |
+
],
|
| 1482 |
+
"page_idx": 11
|
| 1483 |
+
},
|
| 1484 |
+
{
|
| 1485 |
+
"type": "text",
|
| 1486 |
+
"text": "Ashish Shrivastava, Tomas Pfister, Oncel Tuzel, Josh Susskind, Wenda Wang, and Russ Webb. Learning from simulated and unsupervised images through adversarial training. In Proceedings of IEEE Conference on Computer Vision and Pattern Recognition, 2017. ",
|
| 1487 |
+
"bbox": [
|
| 1488 |
+
173,
|
| 1489 |
+
281,
|
| 1490 |
+
826,
|
| 1491 |
+
325
|
| 1492 |
+
],
|
| 1493 |
+
"page_idx": 11
|
| 1494 |
+
},
|
| 1495 |
+
{
|
| 1496 |
+
"type": "text",
|
| 1497 |
+
"text": "Han Shu, Yunhe Wang, Xu Jia, Kai Han, Hanting Chen, Chunjing Xu, Qi Tian, and Chang Xu. Coevolutionary compression for unpaired image translation. In Proceedings of IEEE International Conference on Computer Vision, 2019. ",
|
| 1498 |
+
"bbox": [
|
| 1499 |
+
173,
|
| 1500 |
+
333,
|
| 1501 |
+
825,
|
| 1502 |
+
376
|
| 1503 |
+
],
|
| 1504 |
+
"page_idx": 11
|
| 1505 |
+
},
|
| 1506 |
+
{
|
| 1507 |
+
"type": "text",
|
| 1508 |
+
"text": "Chaoqi Wang, Guodong Zhang, and Roger Grosse. Picking winning tickets before training by preserving gradient flow. In 8th International Conference on Learning Representations, 2020a. ",
|
| 1509 |
+
"bbox": [
|
| 1510 |
+
173,
|
| 1511 |
+
385,
|
| 1512 |
+
823,
|
| 1513 |
+
414
|
| 1514 |
+
],
|
| 1515 |
+
"page_idx": 11
|
| 1516 |
+
},
|
| 1517 |
+
{
|
| 1518 |
+
"type": "text",
|
| 1519 |
+
"text": "Haotao Wang, Shupeng Gui, Haichuan Yang, Ji Liu, and Zhangyang Wang. Gan slimming: All-inone gan compression by a unified optimization framework. In Proceedings of the 16th European Conference on Computer Vision, 2020b. ",
|
| 1520 |
+
"bbox": [
|
| 1521 |
+
173,
|
| 1522 |
+
422,
|
| 1523 |
+
826,
|
| 1524 |
+
465
|
| 1525 |
+
],
|
| 1526 |
+
"page_idx": 11
|
| 1527 |
+
},
|
| 1528 |
+
{
|
| 1529 |
+
"type": "text",
|
| 1530 |
+
"text": "Peiqi Wang, Dongsheng Wang, Yu Ji, Xinfeng Xie, Haoxuan Song, XuXin Liu, Yongqiang Lyu, and Yuan Xie. Qgan: Quantized generative adversarial networks. abs/1901.08263, 2019. ",
|
| 1531 |
+
"bbox": [
|
| 1532 |
+
173,
|
| 1533 |
+
473,
|
| 1534 |
+
823,
|
| 1535 |
+
503
|
| 1536 |
+
],
|
| 1537 |
+
"page_idx": 11
|
| 1538 |
+
},
|
| 1539 |
+
{
|
| 1540 |
+
"type": "text",
|
| 1541 |
+
"text": "Jiayu Wu, Qixiang Zhang, and Guoxi Xu. Tiny imagenet challenge. Technical report, 2017. ",
|
| 1542 |
+
"bbox": [
|
| 1543 |
+
169,
|
| 1544 |
+
511,
|
| 1545 |
+
774,
|
| 1546 |
+
527
|
| 1547 |
+
],
|
| 1548 |
+
"page_idx": 11
|
| 1549 |
+
},
|
| 1550 |
+
{
|
| 1551 |
+
"type": "text",
|
| 1552 |
+
"text": "Shihui Yin, Kyu-Hyoun Kim, Jinwook Oh, Naigang Wang, Mauricio Serrano, Jae-Sun Seo, and Jungwook Choi. The sooner the better: Investigating structure of early winning lottery tickets, 2020. ",
|
| 1553 |
+
"bbox": [
|
| 1554 |
+
174,
|
| 1555 |
+
535,
|
| 1556 |
+
826,
|
| 1557 |
+
578
|
| 1558 |
+
],
|
| 1559 |
+
"page_idx": 11
|
| 1560 |
+
},
|
| 1561 |
+
{
|
| 1562 |
+
"type": "text",
|
| 1563 |
+
"text": "Haoran You, Chaojian Li, Pengfei Xu, Yonggan Fu, Yue Wang, Xiaohan Chen, Richard G. Baraniuk, Zhangyang Wang, and Yingyan Lin. Drawing early-bird tickets: Toward more efficient training of deep networks. In 8th International Conference on Learning Representations, 2020. ",
|
| 1564 |
+
"bbox": [
|
| 1565 |
+
173,
|
| 1566 |
+
587,
|
| 1567 |
+
825,
|
| 1568 |
+
631
|
| 1569 |
+
],
|
| 1570 |
+
"page_idx": 11
|
| 1571 |
+
},
|
| 1572 |
+
{
|
| 1573 |
+
"type": "text",
|
| 1574 |
+
"text": "Haonan Yu, Sergey Edunov, Yuandong Tian, and Ari S. Morcos. Playing the lottery with rewards and multiple languages: lottery tickets in rl and nlp. In 8th International Conference on Learning Representations, 2020. ",
|
| 1575 |
+
"bbox": [
|
| 1576 |
+
173,
|
| 1577 |
+
638,
|
| 1578 |
+
823,
|
| 1579 |
+
681
|
| 1580 |
+
],
|
| 1581 |
+
"page_idx": 11
|
| 1582 |
+
},
|
| 1583 |
+
{
|
| 1584 |
+
"type": "text",
|
| 1585 |
+
"text": "Han Zhang, Ian J. Goodfellow, Dimitris N. Metaxas, and Augustus Odena. Self-attention generative adversarial networks. In Proceedings of the 36th International Conference on Machine Learning, 2019. ",
|
| 1586 |
+
"bbox": [
|
| 1587 |
+
173,
|
| 1588 |
+
690,
|
| 1589 |
+
825,
|
| 1590 |
+
733
|
| 1591 |
+
],
|
| 1592 |
+
"page_idx": 11
|
| 1593 |
+
},
|
| 1594 |
+
{
|
| 1595 |
+
"type": "text",
|
| 1596 |
+
"text": "Shengyu Zhao, Zhijian Liu, Ji Lin, Jun-Yan Zhu, and Song Han. Differentiable augmentation for data-efficient gan training. In 34th Conference on Neural Information Processing Systems, 2020a. ",
|
| 1597 |
+
"bbox": [
|
| 1598 |
+
171,
|
| 1599 |
+
742,
|
| 1600 |
+
823,
|
| 1601 |
+
771
|
| 1602 |
+
],
|
| 1603 |
+
"page_idx": 11
|
| 1604 |
+
},
|
| 1605 |
+
{
|
| 1606 |
+
"type": "text",
|
| 1607 |
+
"text": "Shengyu Zhao, Zhijian Liu, Ji Lin, Jun-Yan Zhu, and Song Han. Differentiable augmentation for data-efficient gan training. In Advances in Neural Information Processing Systems 33 preproceedings, 2020b. ",
|
| 1608 |
+
"bbox": [
|
| 1609 |
+
173,
|
| 1610 |
+
780,
|
| 1611 |
+
823,
|
| 1612 |
+
823
|
| 1613 |
+
],
|
| 1614 |
+
"page_idx": 11
|
| 1615 |
+
},
|
| 1616 |
+
{
|
| 1617 |
+
"type": "text",
|
| 1618 |
+
"text": "Jun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A. Efros. Unpaired image-to-image translation using cycle-consistent adversarial networks. In Proceedings of the IEEE International Conference on Computer Vision, 2017. ",
|
| 1619 |
+
"bbox": [
|
| 1620 |
+
173,
|
| 1621 |
+
832,
|
| 1622 |
+
825,
|
| 1623 |
+
875
|
| 1624 |
+
],
|
| 1625 |
+
"page_idx": 11
|
| 1626 |
+
},
|
| 1627 |
+
{
|
| 1628 |
+
"type": "text",
|
| 1629 |
+
"text": "A1 MORE TECHNICAL DETAILS ",
|
| 1630 |
+
"text_level": 1,
|
| 1631 |
+
"bbox": [
|
| 1632 |
+
176,
|
| 1633 |
+
102,
|
| 1634 |
+
457,
|
| 1635 |
+
118
|
| 1636 |
+
],
|
| 1637 |
+
"page_idx": 12
|
| 1638 |
+
},
|
| 1639 |
+
{
|
| 1640 |
+
"type": "text",
|
| 1641 |
+
"text": "A1.1 ALGORITHMS ",
|
| 1642 |
+
"text_level": 1,
|
| 1643 |
+
"bbox": [
|
| 1644 |
+
174,
|
| 1645 |
+
133,
|
| 1646 |
+
323,
|
| 1647 |
+
148
|
| 1648 |
+
],
|
| 1649 |
+
"page_idx": 12
|
| 1650 |
+
},
|
| 1651 |
+
{
|
| 1652 |
+
"type": "text",
|
| 1653 |
+
"text": "In this section, we describe the details of the algorithm we used in finding lottery tickets. Two distinct pruning methods are used in Algorithm 1 and Algorithm 2. ",
|
| 1654 |
+
"bbox": [
|
| 1655 |
+
174,
|
| 1656 |
+
159,
|
| 1657 |
+
825,
|
| 1658 |
+
188
|
| 1659 |
+
],
|
| 1660 |
+
"page_idx": 12
|
| 1661 |
+
},
|
| 1662 |
+
{
|
| 1663 |
+
"type": "table",
|
| 1664 |
+
"img_path": "images/7ef6d45655a54445869cf77881accc2e4db9e575575ddb321ae49c4e0496c1cb.jpg",
|
| 1665 |
+
"table_caption": [],
|
| 1666 |
+
"table_footnote": [],
|
| 1667 |
+
"table_body": "<table><tr><td>Model</td><td>F8</td><td>F1/8</td></tr><tr><td>Full Model</td><td>0.971</td><td>0.974</td></tr><tr><td>Best Winning Tickets</td><td>0.977</td><td>0.977</td></tr><tr><td>Extreme Winning Tickets</td><td>0.974</td><td>0.971</td></tr></table>",
|
| 1668 |
+
"bbox": [
|
| 1669 |
+
509,
|
| 1670 |
+
210,
|
| 1671 |
+
813,
|
| 1672 |
+
281
|
| 1673 |
+
],
|
| 1674 |
+
"page_idx": 12
|
| 1675 |
+
},
|
| 1676 |
+
{
|
| 1677 |
+
"type": "image",
|
| 1678 |
+
"img_path": "images/d3f50733c9ff213e215e08b8f571fd038bc11685be71b72a50c143e2f15bc01f.jpg",
|
| 1679 |
+
"image_caption": [
|
| 1680 |
+
"Figure A9: The curve of precision and recall of SNGANs under different sparsities. baseline: Full model. best: Best winning tickets (Sparsity: $4 8 . 8 0 \\%$ ). extreme: Extreme winning tickets (Sparsity: $7 3 . 7 9 \\%$ ). "
|
| 1681 |
+
],
|
| 1682 |
+
"image_footnote": [],
|
| 1683 |
+
"bbox": [
|
| 1684 |
+
181,
|
| 1685 |
+
204,
|
| 1686 |
+
482,
|
| 1687 |
+
340
|
| 1688 |
+
],
|
| 1689 |
+
"page_idx": 12
|
| 1690 |
+
},
|
| 1691 |
+
{
|
| 1692 |
+
"type": "text",
|
| 1693 |
+
"text": "Table A7: The $\\mathrm { F } _ { 8 }$ and $\\mathrm { F _ { 1 / 8 } }$ score of the full network, best subnetworks and the matching networks at extreme sparsity. We used the official codes to calculate recall, precision, $\\mathrm { F } _ { 8 }$ and $\\mathrm { F _ { 1 / 8 } }$ . ",
|
| 1694 |
+
"bbox": [
|
| 1695 |
+
504,
|
| 1696 |
+
313,
|
| 1697 |
+
823,
|
| 1698 |
+
368
|
| 1699 |
+
],
|
| 1700 |
+
"page_idx": 12
|
| 1701 |
+
},
|
| 1702 |
+
{
|
| 1703 |
+
"type": "text",
|
| 1704 |
+
"text": "A2 MORE EXPERIMENTS RESULTS AND ANALYSIS ",
|
| 1705 |
+
"text_level": 1,
|
| 1706 |
+
"bbox": [
|
| 1707 |
+
174,
|
| 1708 |
+
424,
|
| 1709 |
+
612,
|
| 1710 |
+
440
|
| 1711 |
+
],
|
| 1712 |
+
"page_idx": 12
|
| 1713 |
+
},
|
| 1714 |
+
{
|
| 1715 |
+
"type": "text",
|
| 1716 |
+
"text": "We will provide extra experiments results and analysis in this section. ",
|
| 1717 |
+
"bbox": [
|
| 1718 |
+
176,
|
| 1719 |
+
457,
|
| 1720 |
+
629,
|
| 1721 |
+
470
|
| 1722 |
+
],
|
| 1723 |
+
"page_idx": 12
|
| 1724 |
+
},
|
| 1725 |
+
{
|
| 1726 |
+
"type": "text",
|
| 1727 |
+
"text": "A2.1 MORE VISUALIZATION OF IMP WINNING TICKETS ",
|
| 1728 |
+
"text_level": 1,
|
| 1729 |
+
"bbox": [
|
| 1730 |
+
174,
|
| 1731 |
+
488,
|
| 1732 |
+
578,
|
| 1733 |
+
502
|
| 1734 |
+
],
|
| 1735 |
+
"page_idx": 12
|
| 1736 |
+
},
|
| 1737 |
+
{
|
| 1738 |
+
"type": "text",
|
| 1739 |
+
"text": "We also conducted experiments to find winning tickets in CycleGAN on dataset winter2summer (Zhu et al., 2017). We observed similar patterns and found matching networks at $7 9 . 0 2 \\%$ sparsity. We randomly sample four images from the dataset and show the translated images in Figure A10, Figure A11, and Figure A12. The winning tickets of CycleGAN can generate comparable visual quality to the full model under all cases. ",
|
| 1740 |
+
"bbox": [
|
| 1741 |
+
173,
|
| 1742 |
+
513,
|
| 1743 |
+
825,
|
| 1744 |
+
583
|
| 1745 |
+
],
|
| 1746 |
+
"page_idx": 12
|
| 1747 |
+
},
|
| 1748 |
+
{
|
| 1749 |
+
"type": "image",
|
| 1750 |
+
"img_path": "images/a4a7cd1df085f55ab9c026cb42d9ca927154695ca8510814ca18dd8991c93ff1.jpg",
|
| 1751 |
+
"image_caption": [
|
| 1752 |
+
"Figure A10: Visualization of CycleGAN Winning Tickets found by IMP on summer2winter. Sparsity of best winning tickets: $5 9 . 0 4 \\%$ . Extreme sparsity of matching subnetworks: $7 9 . 0 2 \\%$ . Left: visualization results of task summer2winter. Right: visualization results of task winter2summer. "
|
| 1753 |
+
],
|
| 1754 |
+
"image_footnote": [],
|
| 1755 |
+
"bbox": [
|
| 1756 |
+
174,
|
| 1757 |
+
597,
|
| 1758 |
+
821,
|
| 1759 |
+
738
|
| 1760 |
+
],
|
| 1761 |
+
"page_idx": 12
|
| 1762 |
+
},
|
| 1763 |
+
{
|
| 1764 |
+
"type": "text",
|
| 1765 |
+
"text": "A2.2 EXTRA METRICS FOR EVALUATING SNGAN ",
|
| 1766 |
+
"text_level": 1,
|
| 1767 |
+
"bbox": [
|
| 1768 |
+
174,
|
| 1769 |
+
833,
|
| 1770 |
+
537,
|
| 1771 |
+
848
|
| 1772 |
+
],
|
| 1773 |
+
"page_idx": 12
|
| 1774 |
+
},
|
| 1775 |
+
{
|
| 1776 |
+
"type": "text",
|
| 1777 |
+
"text": "We also evaluate the quality of images generated by SNGAN using precision and recall Sajjadi et al. (2018). The results are shown in Table A7 and Figure A9. The results show that the best winning tickets have higher $\\mathrm { F _ { 8 } }$ and $\\mathrm { F _ { 1 / 8 } }$ compared to the full model, and the extreme winning tickets have on-par performance. ",
|
| 1778 |
+
"bbox": [
|
| 1779 |
+
174,
|
| 1780 |
+
859,
|
| 1781 |
+
825,
|
| 1782 |
+
916
|
| 1783 |
+
],
|
| 1784 |
+
"page_idx": 12
|
| 1785 |
+
},
|
| 1786 |
+
{
|
| 1787 |
+
"type": "image",
|
| 1788 |
+
"img_path": "images/9c051b9b4a45c22ea552b6f3e653ce2126427bed0b801be34f7105798ecd2d7d.jpg",
|
| 1789 |
+
"image_caption": [
|
| 1790 |
+
"Figure A11: Extra visualization of CycleGAN Winning Tickets found by IMP on horse2zebra. Sparsity of best winning tickets : $5 9 . 0 4 \\%$ . Extreme sparsity of matching subnetworks: $6 7 . 2 4 \\%$ . "
|
| 1791 |
+
],
|
| 1792 |
+
"image_footnote": [],
|
| 1793 |
+
"bbox": [
|
| 1794 |
+
173,
|
| 1795 |
+
99,
|
| 1796 |
+
820,
|
| 1797 |
+
242
|
| 1798 |
+
],
|
| 1799 |
+
"page_idx": 13
|
| 1800 |
+
},
|
| 1801 |
+
{
|
| 1802 |
+
"type": "image",
|
| 1803 |
+
"img_path": "images/2a47c17dde15327013127d3e523874a5ff24da9dfa9dc6259a8443ef29c8c9a3.jpg",
|
| 1804 |
+
"image_caption": [
|
| 1805 |
+
"Figure A12: Extra visualization of CycleGAN Winning Tickets found by IMP on summer2winter. Sparsity of best winning tickets : $5 9 . 0 4 \\%$ . Extreme sparsity of matching subnetworks: $7 9 . 0 2 \\%$ . "
|
| 1806 |
+
],
|
| 1807 |
+
"image_footnote": [],
|
| 1808 |
+
"bbox": [
|
| 1809 |
+
174,
|
| 1810 |
+
272,
|
| 1811 |
+
821,
|
| 1812 |
+
412
|
| 1813 |
+
],
|
| 1814 |
+
"page_idx": 13
|
| 1815 |
+
},
|
| 1816 |
+
{
|
| 1817 |
+
"type": "image",
|
| 1818 |
+
"img_path": "images/28a3242fa0eb244811de40579e0a15a3304f07ebcd1c07f6f4b5f06da441b30e.jpg",
|
| 1819 |
+
"image_caption": [
|
| 1820 |
+
"Figure A13: Relationship between the best IS score of SNGAN subnetworks generated by channel pruning and the percent of remaining model size. GS-32: GAN Slimming without quantization (Wang et al., 2020b). Full Model: Full model trained on CIFAR-10. "
|
| 1821 |
+
],
|
| 1822 |
+
"image_footnote": [],
|
| 1823 |
+
"bbox": [
|
| 1824 |
+
174,
|
| 1825 |
+
455,
|
| 1826 |
+
490,
|
| 1827 |
+
577
|
| 1828 |
+
],
|
| 1829 |
+
"page_idx": 13
|
| 1830 |
+
},
|
| 1831 |
+
{
|
| 1832 |
+
"type": "image",
|
| 1833 |
+
"img_path": "images/862d8474dad0d7cec22aa65a73af92677ffbb75e0aaba0af4e37d7d5b0d8ddfa.jpg",
|
| 1834 |
+
"image_caption": [
|
| 1835 |
+
"Figure A14: Relationship between the best FID score of CycleGAN subnetworks generated by channel pruning and the percent of remaining weights. GS-32: GAN Slimming without quantization (Wang et al., 2020b). Full Model: Full un-pruned CycleGAN trained on horse2zebra. "
|
| 1836 |
+
],
|
| 1837 |
+
"image_footnote": [],
|
| 1838 |
+
"bbox": [
|
| 1839 |
+
506,
|
| 1840 |
+
455,
|
| 1841 |
+
820,
|
| 1842 |
+
577
|
| 1843 |
+
],
|
| 1844 |
+
"page_idx": 13
|
| 1845 |
+
},
|
| 1846 |
+
{
|
| 1847 |
+
"type": "text",
|
| 1848 |
+
"text": "A2.3 CHANNEL PRUNING FOR SNGAN ",
|
| 1849 |
+
"text_level": 1,
|
| 1850 |
+
"bbox": [
|
| 1851 |
+
176,
|
| 1852 |
+
722,
|
| 1853 |
+
462,
|
| 1854 |
+
736
|
| 1855 |
+
],
|
| 1856 |
+
"page_idx": 13
|
| 1857 |
+
},
|
| 1858 |
+
{
|
| 1859 |
+
"type": "text",
|
| 1860 |
+
"text": "We study the relationship between the Inception Score and the remaining model size, i.e. the ratio between the size of a channel-pruned model and its original model. The results are plotted in Figure A13. A similar conclusion can be drawn from the graph that matching networks exist, and at the same sparsity, the matching networks can be trained to outperform the current state-of-the-art GAN compression framework. ",
|
| 1861 |
+
"bbox": [
|
| 1862 |
+
174,
|
| 1863 |
+
750,
|
| 1864 |
+
825,
|
| 1865 |
+
819
|
| 1866 |
+
],
|
| 1867 |
+
"page_idx": 13
|
| 1868 |
+
},
|
| 1869 |
+
{
|
| 1870 |
+
"type": "text",
|
| 1871 |
+
"text": "A2.4 CHANNEL PRUNING FOR CYCLEGAN ",
|
| 1872 |
+
"text_level": 1,
|
| 1873 |
+
"bbox": [
|
| 1874 |
+
176,
|
| 1875 |
+
840,
|
| 1876 |
+
488,
|
| 1877 |
+
854
|
| 1878 |
+
],
|
| 1879 |
+
"page_idx": 13
|
| 1880 |
+
},
|
| 1881 |
+
{
|
| 1882 |
+
"type": "text",
|
| 1883 |
+
"text": "We also conducted experiments on CycleGAN using channel pruning. The task we choose is horseto-zebra, i.e., we prune each of the two generators separately, which is aligned with SNGAN, which has only one generator. We prove that channel pruning is also capable of finding winning tickets in CycleGAN in Figure A14. Moreover, at extreme sparsity, the sparse subnetwork that we obtain can be trained to reach slightly better results than the current state-of-the-art GAN compression framework without quantization. ",
|
| 1884 |
+
"bbox": [
|
| 1885 |
+
174,
|
| 1886 |
+
867,
|
| 1887 |
+
823,
|
| 1888 |
+
924
|
| 1889 |
+
],
|
| 1890 |
+
"page_idx": 13
|
| 1891 |
+
},
|
| 1892 |
+
{
|
| 1893 |
+
"type": "text",
|
| 1894 |
+
"text": "",
|
| 1895 |
+
"bbox": [
|
| 1896 |
+
169,
|
| 1897 |
+
103,
|
| 1898 |
+
825,
|
| 1899 |
+
132
|
| 1900 |
+
],
|
| 1901 |
+
"page_idx": 14
|
| 1902 |
+
},
|
| 1903 |
+
{
|
| 1904 |
+
"type": "table",
|
| 1905 |
+
"img_path": "images/4676628cb625cdf839d7a5917c971c066112bc510f8e99cc71a9ba03efcadca0.jpg",
|
| 1906 |
+
"table_caption": [],
|
| 1907 |
+
"table_footnote": [],
|
| 1908 |
+
"table_body": "<table><tr><td>Algorithm 1: Finding winning tickets by Iterative Magnitude Pruning</td></tr><tr><td>Input: The desired sparsity s Output: A sparse GAN g(- mg 0g)</td></tr><tr><td>and d(·; md 0d) 1 Set mg = 1 ∈ Rg llo and</td></tr><tr><td>md =1∈ Rl0dollo. 2 Set 0go := initial weights of the generator model, 0do := initial weights</td></tr><tr><td>of the discriminator model. 3 Iteration i= 0</td></tr><tr><td>4 while the sparsity of mg < s do Train the generator g(*; mg ? 0go) 5</td></tr><tr><td>and the discriminator d( ; md ? 0dg) for N epochs to get parameters 0gN and 0dN</td></tr><tr><td>6 if pruning the discriminator then Prune 2O% of the parameters in 7</td></tr><tr><td>Na and Odn, creating two mask m'g and m':</td></tr><tr><td>8 else Prune 2O% of the parameters in 9</td></tr><tr><td>0 gN, creating a mask m'. m' remains1 ∈ Rdo llo. 10 end</td></tr></table>",
|
| 1909 |
+
"bbox": [
|
| 1910 |
+
158,
|
| 1911 |
+
146,
|
| 1912 |
+
460,
|
| 1913 |
+
564
|
| 1914 |
+
],
|
| 1915 |
+
"page_idx": 14
|
| 1916 |
+
},
|
| 1917 |
+
{
|
| 1918 |
+
"type": "table",
|
| 1919 |
+
"img_path": "images/1c985d1d0a879b886ecaa8275e1811a1f13f7739b6cc5b10005dce2ec9fc7ff7.jpg",
|
| 1920 |
+
"table_caption": [],
|
| 1921 |
+
"table_footnote": [],
|
| 1922 |
+
"table_body": "<table><tr><td>Algorithm 2: Finding winning tickets by Channel Pruning Input:A threshold ρ of importance score,</td></tr><tr><td>number of steps for training N Output: A sparse GAN g(:; mg 0go) and d(-; md ③ 0do)</td></tr><tr><td>1 Randomly initialize Yg for every normalization layers in generator G and Yd for discriminator D. γ = (Yg, Yd) 2 Set 0go := initial weights of the generator</td></tr><tr><td>model, 0do := initial weights of the discriminator model. 3i=0</td></tr><tr><td>4 whilei<N do Compute masks md from Yd and mg 5 from Yg: Compute Lcp, LGAN and Ldist: 6</td></tr><tr><td>Update 0g and 0d by training the 7 generator g(-; mg ?0g) and the</td></tr><tr><td></td></tr><tr><td>discriminator d(·; md 0d) for one step. Update γ: γ ← proxρn(γ -n∀γLcp), 8 where proxx(𝑥)= sgn(x)①max(|𝑥|-λ·1,0) 9 i←i+1 10 end</td></tr></table>",
|
| 1923 |
+
"bbox": [
|
| 1924 |
+
490,
|
| 1925 |
+
148,
|
| 1926 |
+
825,
|
| 1927 |
+
545
|
| 1928 |
+
],
|
| 1929 |
+
"page_idx": 14
|
| 1930 |
+
}
|
| 1931 |
+
]
|
parse/train/1AoMhc_9jER/1AoMhc_9jER_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/1AoMhc_9jER/1AoMhc_9jER_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/H1ldNoC9tX/H1ldNoC9tX.md
ADDED
|
@@ -0,0 +1,519 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CLASSIFICATION FROM POSITIVE, UNLABELED AND BIASED NEGATIVE DATA
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Positive-unlabeled (PU) learning addresses the problem of learning a binary classifier from positive (P) and unlabeled (U) data. It is often applied to situations where negative (N) data are difficult to be fully labeled. However, collecting a non-representative $\mathbf { N }$ set that contains only a small portion of all possible N data can be much easier in many practical situations. This paper studies a novel classification framework which incorporates such biased N (bN) data in PU learning. The fact that the training N data are biased also makes our work very different from those of standard semi-supervised learning. We provide an empirical risk minimization-based method to address this PUbN classification problem. Our approach can be regarded as a variant of traditional example-reweighting algorithms, with the weight of each example computed through a preliminary step that draws inspiration from PU learning. We also derive an estimation error bound for the proposed method. Experimental results demonstrate the effectiveness of our algorithm in not only PUbN learning scenarios but also ordinary PU leaning scenarios on several benchmark datasets.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
In conventional binary classification, examples are labeled as either positive (P) or negative (N), and we train a classifier on these labeled examples. On the contrary, positive-unlabeled (PU) learning addresses the problem of learning a classifier from P and unlabeled (U) data, without need of explicitly identifying N data (Elkan & Noto, 2008; Ward et al., 2009).
|
| 12 |
+
|
| 13 |
+
PU learning finds its usefulness in many real-world problems. For example, in one-class remote sensing classification (Li et al., 2011), we seek to extract a specific land-cover class from an image. While it is easy to label examples of this specific land-cover class of interest, examples not belonging to this class are too diverse to be exhaustively annotated. The same problem arises in text classification, as it is difficult or even impossible to compile a set of N samples that provides a comprehensive characterization of everything that is not in the P class (Liu et al., 2003; Fung et al., 2006). Besides, PU learning has also been applied to other domains such as outlier detection (Hido et al., 2008; Scott & Blanchard, 2009), medical diagnosis (Zuluaga et al., 2011), or time series classification (Nguyen et al., 2011).
|
| 14 |
+
|
| 15 |
+
By carefully examining the above examples, we find out that the most difficult step is often to collect a fully representative N set, whereas only labeling a small portion of all possible N data is relatively easy. Therefore, in this paper, we propose to study the problem of learning from P, U and biased N (bN) data, which we name PUbN learning hereinafter. We suppose that in addition to $\mathrm { \bf P }$ and U data, we also gather a set of bN samples, governed by a distribution distinct from the true $\mathbf { N }$ distribution. As described previously, this can be viewed as an extension of PU learning, but such bias may also occur naturally in some real-world scenarios. For instance, let us presume that we would like to judge whether a subject is affected by a particular disease based on the result of a physical examination. While the data collected from the patients represent rather well the $\mathrm { \bf P }$ distribution, healthy subjects that request the examination are in general highly biased with respect to the whole healthy subject population.
|
| 16 |
+
|
| 17 |
+
We are not the first to be interested in learning with bN data. In fact, both Li et al. (2010) and Fei & Liu (2015) attempted to solve similar problems in the context of text classification. Li et al. (2010) simply discarded negative samples and performed ordinary PU classification. It was also mentioned in the paper that bN data could be harmful. Fei & Liu (2015) adapted another strategy. The authors considered even gathering unbiased U data is difficult and learned the classifier from only $\mathrm { \bf P }$ and bN data. However, their method is specific to text classification because it relies on the use of effective similarity measures to evaluate similarity between documents. Therefore, our work differs from these two in that the classifier is trained simultaneously on P, U and bN data, without resorting to domain-specific knowledge. The presence of U data allows us to address the problem from a statistical viewpoint, and thus the proposed method can be applied to any PUbN learning problem in principle.
|
| 18 |
+
|
| 19 |
+
In this paper, we develop an empirical risk minimization-based algorithm that combines both PU learning and importance weighting to solve the PUbN classification problem, We first estimate the probability that an example is sampled into the P or the bN set. Based on this estimate, we regard bN and U data as N examples with instance-dependent weights. In particular, we assign larger weights to U examples that we believe to appear less often in the $\mathrm { \bf P }$ and bN sets. P data are treated as $\mathrm { \bf P }$ examples with unity weight but also as $_ \mathrm { N }$ examples with usually small or zero weight whose actual value depends on the same estimate.
|
| 20 |
+
|
| 21 |
+
The contributions of the paper are three-fold:
|
| 22 |
+
|
| 23 |
+
1. We formulate the PUbN learning problem as an extension of PU learning and propose an empirical risk minimization-based method to address the problem. We also theoretically establish an estimation error bound for the proposed method.
|
| 24 |
+
2. We experimentally demonstrate that the classification performance can be effectively improved thanks to the use of bN data during training. In other words, PUbN learning yields better performance than PU learning.
|
| 25 |
+
3. Our method can be easily adapted to ordinary PU learning. Experimentally we show that the resulting algorithm allows us to obtain new state-of-the-art results on several PU learning tasks.
|
| 26 |
+
|
| 27 |
+
Relation with Semi-supervised Learning With P, N and U data available for training, our problem setup may seem similar to that of semi-supervised learning (Chapelle et al., 2010; Oliver et al., 2018). Nonetheless, in our case, N data are biased and often represent only a small portion of the whole N distribution. Therefore, most of the existing methods designed for the latter cannot be directly applied to the PUbN classification problem. Furthermore, our focus is on deducing a risk estimator using the three sets of data, whereas in semi-supervised learning the main concern is often how U data can be utilized for regularization (Grandvalet & Bengio, 2005; Belkin et al., 2006; Laine & Aila, 2017; Miyato et al., 2016). The two should be compatible and we believe adding such regularization to our algorithm can be beneficial in many cases.
|
| 28 |
+
|
| 29 |
+
Relation with Dataset Shift PUbN learning can also be viewed as a special case of dataset shift1 (Quionero-Candela et al., 2009) if we consider that $\mathrm { \bf P }$ and bN data are drawn from the training distribution while U data are drawn from the test distribution. Covariate shift (Shimodaira, 2000; Sugiyama & Kawanabe, 2012) is another special case of dataset shift that has been studied intensively. In the covariate shift problem setting, training and test distributions have the same class conditional distribution and only differ in the marginal distribution of the independent variable. One popular approach to tackle this problem is to reweight each training example according to the ratio of the test density to the training density (Huang et al., 2007; Sugiyama et al., 2008). Nevertheless, simply training a classifier on a reweighted version of the labeled set is not sufficient in our case since there may be examples with zero probability to be labeled. It is also important to notice that the problem of PUbN learning is intrinsically different from that of covariate shift and neither of the two is a special case of the other.
|
| 30 |
+
|
| 31 |
+
# 2 PROBLEM SETTING
|
| 32 |
+
|
| 33 |
+
In this section, we briefly review the formulations of PN, PU and PNU classification and introduce the problem of learning from P, U and bN data.
|
| 34 |
+
|
| 35 |
+
# 2.1 STANDARD BINARY CLASSIFICATION
|
| 36 |
+
|
| 37 |
+
Let $\pmb { x } \in \mathbb { R } ^ { d }$ and $y \in \{ + 1 , - 1 \}$ be random variables following an unknown probability distribution with density $p ( { \pmb x } , { \pmb y } )$ . Let $g : \bar { \mathbb { R } ^ { d } } \mathbb { R }$ be an arbitrary decision function for binary classification and $\ell : \mathbb { R } \to \mathbb { R } _ { + }$ be a loss function of margin $y g ( { \pmb x } )$ that usually takes a small value for a large margin. The goal of binary classification is to find $g$ that minimizes the classification risk:
|
| 38 |
+
|
| 39 |
+
$$
|
| 40 |
+
R ( g ) = \mathbb { E } _ { ( \pmb { x } , y ) \sim p ( \pmb { x } , y ) } [ \ell ( y g ( \pmb { x } ) ) ] ,
|
| 41 |
+
$$
|
| 42 |
+
|
| 43 |
+
where $\mathbb { E } _ { ( \pmb { x } , y ) \sim p ( \pmb { x } , y ) } [ \cdot ]$ denotes the expectation over the joint distribution $p ( { \pmb x } , { \pmb y } )$ . When we care about classification accuracy, $\ell$ is the zero-one loss $\ell _ { 0 1 } ( z ) = ( 1 - \mathrm { s i g n } ( z ) ) / 2$ . However, for ease of optimization, $\ell _ { 0 1 }$ is often substituted with a surrogate loss such as the sigmoid loss $\ell _ { \mathrm { s i g } } ( z ) =$ $1 / ( 1 + \exp ( z ) )$ or the logistic loss $\ell _ { \mathrm { l o g } } ( z ) = \ln ( 1 + \exp ( - z ) )$ during learning.
|
| 44 |
+
|
| 45 |
+
In standard supervised learning scenarios (PN classification), we are given $\mathrm { \bf P }$ and N data that are sampled independently from $p ( \pmb { x } \mid \pmb { y } = + 1 )$ and $p ( \pmb { x } \mid \pmb { y } = - 1 )$ as $\mathbf { \mathcal { X } } _ { \mathrm { P } } = \{ \mathbf { x } _ { i } ^ { \mathrm { P } } \} _ { i = 1 } ^ { n _ { \mathrm { P } } }$ and $\mathcal { X } _ { \mathrm { N } } ~ =$ $\{ \pmb { x } _ { i } ^ { \mathrm { N } } \} _ { i = 1 } ^ { n _ { \mathrm { N } } }$ . Let us denote by $R _ { \mathrm { P } } ^ { + } ( g ) = \mathbb { E } _ { x \sim p ( x | y = + 1 ) } [ \ell ( g ( \pmb { x } ) ) ]$ , $R _ { \mathrm { N } } ^ { - } ( g ) = \mathbb { E } _ { { \pmb x } \sim p ( { \pmb x } | y = - 1 ) } [ \ell ( - g ( { \pmb x } ) ) ]$ partial risks and $\pi = p ( y = 1 )$ the $\mathrm { \bf P }$ prior. We have the equality $R ( g ) = \pi R _ { \mathrm { P } } ^ { + } ( g ) + ( 1 - \pi ) R _ { \mathrm { N } } ^ { - } ( g )$ . The classification risk (1) can then be empirically approximated from data by
|
| 46 |
+
|
| 47 |
+
$$
|
| 48 |
+
\hat { R } _ { \mathrm { P N } } ( g ) = \pi \hat { R } _ { \mathrm { P } } ^ { + } ( g ) + ( 1 - \pi ) \hat { R } _ { \mathrm { N } } ^ { - } ( g ) ,
|
| 49 |
+
$$
|
| 50 |
+
|
| 51 |
+
where $\begin{array} { r } { \hat { R } _ { \mathrm { P } } ^ { + } ( g ) = \frac { 1 } { n _ { \mathrm { P } } } \sum _ { i = 1 } ^ { n _ { \mathrm { P } } } \ell ( g ( \pmb { x } _ { i } ^ { \mathrm { P } } ) ) } \end{array}$ and $\begin{array} { r } { \hat { R } _ { \mathrm { N } } ^ { - } ( g ) = \frac { 1 } { n _ { \mathrm { N } } } \sum _ { i = 1 } ^ { n _ { \mathrm { N } } } \ell ( - g ( \mathbf { x } _ { i } ^ { \mathrm { N } } ) ) } \end{array}$ . By minimizing $\hat { R } _ { \mathrm { P N } } ( g )$ we obtain the ordinary empirical risk minimizer $\hat { g } _ { \mathrm { P N } }$ .
|
| 52 |
+
|
| 53 |
+
# 2.2 PU CLASSIFICATION
|
| 54 |
+
|
| 55 |
+
In PU classification, instead of $_ \mathrm { N }$ data $\mathcal { X } _ { \mathrm { N } }$ we have only access to $\mathcal { X } _ { \mathrm { U } } = \{ x _ { i } ^ { \mathrm { U } } \} _ { i = 1 } ^ { n _ { \mathrm { U } } } \sim p ( \pmb { x } )$ a set of U samples drawn from the marginal density . Several effective algorithms have been designed to address this problem. Liu et al. (2002) proposed the S-EM approach that first identifies reliable N data in the $\mathrm { U }$ set and then runs the Expectation-Maximization (EM) algorithm to build the final classifier. The biased support vector machine (Biased SVM) introduced in Liu et al. (2003) regards U samples as $\mathbf { N }$ samples with smaller weights. Mordelet & Vert (2014) solved the PU problem by aggregating classifiers trained to discriminate $\mathrm { \bf P }$ data from a small random subsample of $\mathrm { U }$ data.
|
| 56 |
+
|
| 57 |
+
More recently, attention has been paid on the unbiased risk estimator proposed in du Plessis et al. (2014) and du Plessis et al. (2015). The key idea is to use the following equality:
|
| 58 |
+
|
| 59 |
+
$$
|
| 60 |
+
( 1 - \pi ) R _ { \mathrm { N } } ^ { - } ( g ) = R _ { \mathrm { U } } ^ { - } ( g ) - \pi R _ { \mathrm { P } } ^ { - } ( g ) ,
|
| 61 |
+
$$
|
| 62 |
+
|
| 63 |
+
where $R _ { \mathrm { U } } ^ { - } ( g ) = \mathbb { E } _ { x \sim p ( \mathbf { x } ) } [ \ell ( - g ( \pmb { x } ) ) ]$ and $R _ { \mathrm { P } } ^ { - } ( g ) = \mathbb { E } _ { x \sim p ( x | y = + 1 ) } [ \ell ( - g ( \pmb { x } ) ) ]$ . This equality is acquired by exploiting the fact $p ( \pmb { x } ) = \pi p ( \pmb { x } \mid y = + 1 ) + ( 1 - \pi ) p ( \pmb { x } \mid y = - 1 )$ . As a result, we can approximate the classification risk (1) by
|
| 64 |
+
|
| 65 |
+
$$
|
| 66 |
+
\hat { R } _ { \mathrm { P U } } ( g ) = \pi \hat { R } _ { \mathrm { P } } ^ { + } ( g ) - \pi \hat { R } _ { \mathrm { P } } ^ { - } ( g ) + \hat { R } _ { \mathrm { U } } ^ { - } ( g ) ,
|
| 67 |
+
$$
|
| 68 |
+
|
| 69 |
+
where $\begin{array} { r } { \hat { R } _ { \mathrm { P } } ^ { - } ( g ) \ = \ \frac { 1 } { n _ { \mathrm { P } } } \sum _ { i = 1 } ^ { n _ { \mathrm { P } } } \ell ( - g ( \mathbf { x } _ { i } ^ { \mathrm { P } } ) ) } \end{array}$ and $\begin{array} { r } { \hat { R } _ { \mathrm { U } } ^ { - } ( g ) \ = \ \frac { 1 } { n _ { \mathrm { U } } } \sum _ { i = 1 } ^ { n _ { \mathrm { U } } } \ell ( - g ( \mathbf { x } _ { i } ^ { \mathrm { U } } ) ) } \end{array}$ . We then minimize $\hat { R } _ { \mathrm { P U } } ( g )$ to obtain another empirical risk minimizer $\hat { g } _ { \mathrm { { P U } } }$ . Note that as the loss is always positive, the classification risk (1) that $\hat { R } _ { \mathrm { P U } } ( g )$ approximates is also positive. However, Kiryo et al. (2017) pointed out that when the model of $g$ is too flexible, that is, when the function class $\mathcal { G }$ is too large, $\hat { R } _ { \mathrm { P U } } ( \hat { g } _ { \mathrm { P U } } )$ indeed goes negative and the model seriously overfits the training data. To alleviate overfitting, the authors observed that $R _ { \mathrm { U } } ^ { - } ( g ) - \pi R _ { \mathrm { P } } ^ { - } ( g ) = ( 1 - \pi ) R _ { \mathrm { N } } ^ { - } ( g ) \geq 0$ and proposed the non-negative risk estimator for PU learning:
|
| 70 |
+
|
| 71 |
+
$$
|
| 72 |
+
\tilde { R } _ { \mathrm { P U } } ( g ) = \pi \hat { R } _ { \mathrm { P } } ^ { + } ( g ) + \operatorname* { m a x } \{ 0 , \hat { R } _ { \mathrm { U } } ^ { - } ( g ) - \pi \hat { R } _ { \mathrm { P } } ^ { - } ( g ) \} .
|
| 73 |
+
$$
|
| 74 |
+
|
| 75 |
+
In terms of implementation, stochastic optimization was used and when $r = \hat { R } _ { \mathrm { U } } ^ { - } ( g ) - \pi \hat { R } _ { \mathrm { P } } ^ { - } ( g )$ becomes negative for a mini-batch, they performed a step of gradient ascent along $\nabla r$ to make the mini-batch less overfitted.
|
| 76 |
+
|
| 77 |
+
# 2.3 PNU CLASSIFICATION
|
| 78 |
+
|
| 79 |
+
In semi-supervised learning (PNU classification), P, N and U data are all available. An abundance of works have been dedicated to solving this problem. Here we in particular introduce the PNU risk estimator proposed in Sakai et al. (2017). By directly leveraging U data for risk estimation, it is the most comparable to our method. The PNU risk is simply defined as a linear combination of PN and PU/NU risks. Let us just consider the case where PN and PU risks are combined, then for some $\gamma \in [ 0 , 1 ]$ , the PNU risk estimator is expressed as
|
| 80 |
+
|
| 81 |
+
$$
|
| 82 |
+
\begin{array} { r l } & { \hat { R } _ { \mathrm { P N U } } ^ { \gamma } ( g ) = \gamma \hat { R } _ { \mathrm { P N } } ( g ) + ( 1 - \gamma ) \hat { R } _ { \mathrm { P U } } ( g ) } \\ & { \qquad = \pi \hat { R } _ { \mathrm { P } } ^ { + } ( g ) + \gamma ( 1 - \pi ) \hat { R } _ { \mathrm { N } } ^ { - } ( g ) + ( 1 - \gamma ) ( \hat { R } _ { \mathrm { U } } ^ { - } ( g ) - \pi \hat { R } _ { \mathrm { P } } ^ { - } ( g ) ) . } \end{array}
|
| 83 |
+
$$
|
| 84 |
+
|
| 85 |
+
We can again consider the non-negative correction by forcing the term $\gamma ( 1 - \pi ) \hat { R } _ { \mathrm { N } } ^ { - } ( g ) + ( 1 -$ $\gamma ) ( \hat { R } _ { \mathrm { U } } ^ { - } ( g ) - \pi \hat { R } _ { \mathrm { P } } ^ { - } ( g ) )$ to be non-negative. In the rest of the paper, we refer to the resulting algorithm as non-negative PNU (nnPNU) learning (see Appendix D.4 for an alternative definition of nnPNU and the corresponding results).
|
| 86 |
+
|
| 87 |
+
# 2.4 PUBN CLASSIFICATION
|
| 88 |
+
|
| 89 |
+
In this paper, we study the problem of PUbN learning. It differs from usual semi-supervised learning in the fact that labeled $\mathbf { N }$ data are not fully representative of the underlying $_ \mathrm { N }$ distribution $p ( \pmb { x } \mid \pmb { y } =$ $^ { - 1 ) }$ . To take this point into account, we introduce a latent random variable $s$ and consider the joint distribution $p ( { \pmb x } , { \pmb y } , s )$ with constraint $p ( s = + 1 \mid x , y = + 1 ) = 1$ . Equivalently, $p ( y = { \bar { - 1 } } \ |$ $\pmb { x } , s = - 1 ) = 1$ . Let $\rho = p ( y = - 1 , s = + 1 )$ . Both $\pi$ and $\rho$ are assumed known throughout the paper. In practice they often need to be estimated from data (Jain et al., 2016; Ramaswamy et al., 2016; du Plessis et al., 2017). In place of ordinary $\mathbf { N }$ data we collect a set of bN samples
|
| 90 |
+
|
| 91 |
+
$$
|
| 92 |
+
\begin{array} { r } { \mathcal { X } _ { \mathrm { b N } } = \{ \pmb { x } _ { i } ^ { \mathrm { b N } } \} _ { i = 1 } ^ { n _ { \mathrm { b N } } } \sim p ( \pmb { x } | y = - 1 , s = + 1 ) . } \end{array}
|
| 93 |
+
$$
|
| 94 |
+
|
| 95 |
+
The goal remains the same: we would like to minimize the classification risk (1).
|
| 96 |
+
|
| 97 |
+
# 3 METHOD
|
| 98 |
+
|
| 99 |
+
In this section, we propose a risk estimator for PUbN classification and establish an estimation error bound for the proposed method. Finally we show how our method can be applied to PU learning as a special case when no bN data are available.
|
| 100 |
+
|
| 101 |
+
# 3.1 RISK ESTIMATOR
|
| 102 |
+
|
| 103 |
+
Let $R _ { \mathrm { b N } } ^ { - } ( g ) = \mathbb { E } _ { x \sim p ( x | y = - 1 , s = + 1 ) } [ \ell ( - g ( \pmb { x } ) ) ]$ and $R _ { s = - 1 } ^ { - } ( g ) = \mathbb { E } _ { x \sim p ( \pmb { x } | s = - 1 ) } [ \ell ( - g ( \pmb { x } ) ) ]$ . Since p( ${ \pmb x } ) = p ( { \pmb x } , y = + 1 ) + p ( { \pmb x } , y = - 1 , { \pmb s } = + 1 ) + p ( { \pmb x } , { \pmb s } = - 1 )$ , we have
|
| 104 |
+
|
| 105 |
+
$$
|
| 106 |
+
R ( g ) = \pi R _ { \mathrm { p } } ^ { + } ( g ) + \rho R _ { \mathrm { b N } } ^ { - } ( g ) + ( 1 - \pi - \rho ) R _ { s = - 1 } ^ { - } ( g ) .
|
| 107 |
+
$$
|
| 108 |
+
|
| 109 |
+
The firswriting $\begin{array} { r } { \hat { R } _ { \mathrm { P } } ^ { + } ( g ) = \frac { 1 } { n _ { \mathrm { P } } } \sum _ { i = 1 } ^ { n _ { \mathrm { P } } } \ell ( g ( \pmb { x } _ { i } ^ { \mathrm { P } } ) ) } \end{array}$ side and $\begin{array} { r } { \hat { R } _ { \mathrm { b N } } ^ { - } ( g ) = \frac { 1 } { n _ { \mathrm { b N } } } \sum _ { i = 1 } ^ { n _ { \mathrm { b N } } } \ell ( - g ( \mathbf { x } _ { i } ^ { \mathrm { b N } } ) ) } \end{array}$ ed directly from data by. We therefore focus on the third term $\bar { R } _ { s = - 1 } ^ { - } ( g ) : = ( 1 - \pi - \rho ) R _ { s = - 1 } ^ { - } ( g )$ . Our approach is mainly based on the following theorem. We relegate all proofs to the appendix.
|
| 110 |
+
|
| 111 |
+
Theorem 1. Let $\sigma ( { \pmb x } ) = p ( s = + 1 \mid { \pmb x } )$ . For all $\eta \in [ 0 , 1 ]$ and $h : \mathbb { R } ^ { d } [ 0 , 1 ]$ satisfying the condition $h ( { \pmb x } ) > \eta \Rightarrow \sigma ( { \pmb x } ) > 0$ , the risk $\bar { R } _ { s = - 1 } ^ { - } ( g )$ can be expressed as
|
| 112 |
+
|
| 113 |
+
$$
|
| 114 |
+
\begin{array} { r l } & { \bar { R } _ { s = - 1 } ^ { - } ( g ) = \mathbb { E } _ { { \pmb x } \sim p ( { \pmb x } ) } [ \mathbb { 1 } _ { h ( { \pmb x } ) \leq \eta } \ell ( - g ( { \pmb x } ) ) ( 1 - \sigma ( { \pmb x } ) ) ] } \\ & { \qquad + \pi \mathbb { E } _ { { \pmb x } \sim p ( { \pmb x } \mid y = + 1 ) } \left[ \mathbb { 1 } _ { h ( { \pmb x } ) > \eta } \ell ( - g ( { \pmb x } ) ) \frac { 1 - \sigma ( { \pmb x } ) } { \sigma ( { \pmb x } ) } \right] } \\ & { \qquad + \rho \mathbb { E } _ { { \pmb x } \sim p ( { \pmb x } \mid s = + 1 , y = - 1 ) } \left[ \mathbb { 1 } _ { h ( { \pmb x } ) > \eta } \ell ( - g ( { \pmb x } ) ) \frac { 1 - \sigma ( { \pmb x } ) } { \sigma ( { \pmb x } ) } \right] . } \end{array}
|
| 115 |
+
$$
|
| 116 |
+
|
| 117 |
+
In the theorem, $\bar { R } _ { s = - 1 } ^ { - } ( g )$ is decomposed into three terms, and when the expectation is substituted with the average over training samples, these three terms are approximated respectively using data from $\mathcal { X } _ { \mathrm { U } } , \mathcal { X } _ { \mathrm { P } }$ and $\mathcal { X } _ { \mathrm { b N } }$ . The choice of $h$ and $\eta$ is thus very crucial because it determines what each of the three terms tries to capture in practice. Ideally, we would like $h$ to be an approximation of $\sigma$ . Then, for $_ { \textbf { \em x } }$ such that $h ( { \pmb x } )$ is close to 1, $\sigma ( { \pmb x } )$ is close to 1, so the last two terms on the righthand side of the equation can be reasonably evaluated using $\mathcal { X } _ { \mathrm { P } }$ and $\mathcal { X } _ { \mathrm { b N } }$ (i.e., samples drawn from $p ( { \pmb x } \mid s = + 1 )$ ). On the contrary, if $h ( { \pmb x } )$ is small, $\sigma ( { \pmb x } )$ is small and such samples can be hardly found in $\mathcal { X } _ { \mathrm { P } }$ or $\mathcal { X } _ { \mathrm { b N } }$ . Consequently the first term appeared in the decomposition is approximated with the help of $\mathcal { X } _ { \mathrm { U } }$ . Finally, in the empirical risk minimization paradigm, $\eta$ becomes a hyperparameter that controls how important U data is against $\mathrm { \bf P }$ and bN data when we evaluate $\bar { R } _ { s = - 1 } ^ { - } ( \bar { g } )$ . The larger $\eta$ is, the more attention we would pay to $\mathrm { U }$ data.
|
| 118 |
+
|
| 119 |
+
One may be curious about why we do not simply approximate the whole risk using only $\mathrm { U }$ samples, that is, set $\eta$ to 1. There are two main reasons. On one hand, if we have a very small U set, which means $n _ { \mathrm { U } } ~ \ll ~ n _ { \mathrm { P } }$ and $n _ { \mathrm { U } } ~ \ll ~ n _ { \mathrm { b N } }$ , approximating a part of the risk with labeled samples should help us reduce the estimation error. This may seem unrealistic but sometimes unbiased $\mathrm { U }$ samples can also be difficult to collect (Ishida et al., 2018). On the other hand, more importantly, we have empirically observed that when the model of $g$ is highly flexible, even a sample regarded as $\mathbf { N }$ with small weight gets classified as $\mathbf { N }$ in the latter stage of training and performance of the resulting classifier can thus be severely degraded. Introducing $\eta$ alleviates this problem by avoiding treating all $\mathrm { U }$ data as $\mathbf { N }$ samples.
|
| 120 |
+
|
| 121 |
+
As $\sigma$ is not available in reality, we propose to replace $\sigma$ by its estimate $\hat { \sigma }$ in (6). We further substitute $h$ with the same estimate and obtain the following expression:
|
| 122 |
+
|
| 123 |
+
$$
|
| 124 |
+
\begin{array} { r l } & { \bar { R } _ { s = - 1 , \eta , \hat { \sigma } } ^ { - } ( g ) = \mathbb { E } _ { { \pmb x } \sim p ( { \pmb x } ) } [ \mathbb { 1 } _ { \hat { \sigma } ( { \pmb x } ) \leq \eta } \ell ( - g ( { \pmb x } ) ) ( 1 - \hat { \sigma } ( { \pmb x } ) ) ] } \\ & { \qquad + \pi \mathbb { E } _ { { \pmb x } \sim p ( { \pmb x } \mid { \pmb y } = + 1 ) } \left[ \mathbb { 1 } _ { \hat { \sigma } ( { \pmb x } ) > \eta } \ell ( - g ( { \pmb x } ) ) \frac { 1 - \hat { \sigma } ( { \pmb x } ) } { \hat { \sigma } ( { \pmb x } ) } \right] } \\ & { \qquad + \rho \mathbb { E } _ { { \pmb x } \sim p ( { \pmb x } \mid { s = + 1 , \pmb y } = - 1 ) } \left[ \mathbb { 1 } _ { \hat { \sigma } ( { \pmb x } ) > \eta } \ell ( - g ( { \pmb x } ) ) \frac { 1 - \hat { \sigma } ( { \pmb x } ) } { \hat { \sigma } ( { \pmb x } ) } \right] . } \end{array}
|
| 125 |
+
$$
|
| 126 |
+
|
| 127 |
+
We notice that $\bar { R } _ { s = - 1 , \eta , \hat { \sigma } }$ depends both on $\eta$ and $\hat { \sigma }$ . It can be directly approximated from data by
|
| 128 |
+
|
| 129 |
+
$$
|
| 130 |
+
\begin{array} { r l } & { \hat { R } _ { s = - 1 , \eta , \hat { \sigma } } ( g ) = \displaystyle \frac { 1 } { n _ { \mathrm { U } } } \sum _ { i = 1 } ^ { n _ { \mathrm { U } } } \Big [ \mathbb { 1 } _ { \hat { \sigma } ( \mathbf { x } _ { i } ^ { \mathrm { U } } ) \leq \eta } \ell ( - g ( \mathbf { x } _ { i } ^ { \mathrm { U } } ) ) ( 1 - \hat { \sigma } ( \mathbf { x } _ { i } ^ { \mathrm { U } } ) ) \Big ] } \\ & { \quad \quad \quad \quad \quad + \displaystyle \frac { \pi } { n _ { \mathrm { P } } } \sum _ { i = 1 } ^ { n _ { \mathrm { P } } } \bigg [ \mathbb { 1 } _ { \hat { \sigma } ( \mathbf { x } _ { i } ^ { \mathrm { P } } ) > \eta } \ell ( - g ( \mathbf { x } _ { i } ^ { \mathrm { P } } ) ) \frac { 1 - \hat { \sigma } ( \mathbf { x } _ { i } ^ { \mathrm { P } } ) } { \hat { \sigma } ( \mathbf { x } _ { i } ^ { \mathrm { P } } ) } \bigg ] } \\ & { \quad \quad \quad \quad \quad + \displaystyle \frac { \rho } { n _ { \mathrm { b N } } } \sum _ { i = 1 } ^ { n _ { \mathrm { b N } } } \bigg [ \mathbb { 1 } _ { \hat { \sigma } ( \mathbf { x } _ { i } ^ { \mathrm { b N } } ) > \eta } \ell ( - g ( \mathbf { x } _ { i } ^ { \mathrm { b N } } ) ) \frac { 1 - \hat { \sigma } ( \mathbf { x } _ { i } ^ { \mathrm { b N } } ) } { \hat { \sigma } ( \mathbf { x } _ { i } ^ { \mathrm { b N } } ) } ) \bigg ] . } \end{array}
|
| 131 |
+
$$
|
| 132 |
+
|
| 133 |
+
We are now able to derive the empirical version of Equation (5) as
|
| 134 |
+
|
| 135 |
+
$$
|
| 136 |
+
\begin{array} { r } { \hat { R } _ { \mathrm { P U b N } , \eta , \hat { \sigma } } ( g ) = \pi \hat { R } _ { \mathrm { P } } ^ { + } ( g ) + \rho \hat { R } _ { \mathrm { b N } } ^ { - } ( g ) + \hat { \bar { R } } _ { s = - 1 , \eta , \hat { \sigma } } ^ { - } ( g ) . } \end{array}
|
| 137 |
+
$$
|
| 138 |
+
|
| 139 |
+
Estimating $\sigma$ If we regard $s$ as a class label, the problem of estimating $\sigma$ is then equivalent to training a probabilistic classifier separating the classes with $s = + 1$ and $s = - 1$ . Observing that ( $\begin{array} { r } { \pi + \bar { \rho } ) \mathbb { E } _ { \alpha \sim p ( x | s = + 1 ) } ^ { - } [ \ell ( \epsilon g ( x ) ) ] = \bar { \pi } \mathbb { E } _ { \alpha \sim p ( x | y = + 1 ) } [ \ell ( \epsilon g ( x ) ) ] + \rho \mathbb { E } _ { \alpha \sim p ( x | y = - 1 , s = + 1 ) } [ \ell ( \epsilon g ( x ) ) ] } \end{array}$ for $\epsilon \in \{ + 1 , - 1 \}$ , it is straightforward to apply nnPU learning with availability of $\mathcal { X } _ { \mathrm { P } }$ , $\mathcal { X } _ { \mathrm { b N } }$ and $\mathcal { X } _ { \mathrm { U } }$ to minimize $\mathbb { E } _ { ( \pmb { x } , s ) \sim p ( \pmb { x } , s ) } [ \ell ( s g ( \pmb { x } ) ) ]$ . In other words, here we regard $\mathcal { X } _ { \mathrm { P } }$ and $\mathcal { X } _ { \mathrm { b N } }$ as $\mathrm { \bf P }$ and $\mathcal { X } _ { \mathrm { U } }$ as U, and attempt to solve a PU learning problem by applying nnPU. Since we are interested in the classposterior probabilities, we minimize the risk with respect to the logistic loss and apply the sigmoid function to the output of the model to get $\hat { \sigma } ( { \pmb x } )$ . However, the above risk estimator accepts any reasonable $\hat { \sigma }$ and we are not limited to using nnPU for computing $\hat { \sigma }$ . For example, the least-squares fitting approach proposed in Kanamori et al. (2009) for direct density ratio estimation can also be adapted to solving the problem.
|
| 140 |
+
|
| 141 |
+
# 3.2 ESTIMATION ERROR BOUND
|
| 142 |
+
|
| 143 |
+
Here we establish an estimation error bound for the proposed method. Let $\mathcal { G }$ be the function class from which we find a function. The Rademacher complexity of $\mathcal { G }$ for the samples of size $n$ drawn from $q ( { \pmb x } )$ is defined as
|
| 144 |
+
|
| 145 |
+
$$
|
| 146 |
+
\mathfrak { R } _ { n , q } ( \mathcal { G } ) = \mathbb { E } _ { \mathcal { X } \sim q ^ { n } } \mathbb { E } _ { \theta } \left[ \operatorname* { s u p } _ { g \in \mathcal { G } } \frac { 1 } { n } \sum _ { x _ { i } \in \mathcal { X } } \theta _ { i } g ( \pmb { x } _ { i } ) \right] ,
|
| 147 |
+
$$
|
| 148 |
+
|
| 149 |
+
where $\mathcal { X } ~ = ~ \{ \pmb { x } _ { 1 } , \ldots , \pmb { x } _ { n } \}$ and $\theta ~ = ~ \{ \theta _ { 1 } , \ldots , \theta _ { n } \}$ with each $\mathbf { \Delta } _ { \mathbf { \mathcal { X } } _ { i } }$ drawn from $q ( { \pmb x } )$ and $\theta _ { i }$ as a Rademacher variable (Mohri et al., 2012). In the following we will assume that $\mathfrak { R } _ { n , q } ( \mathcal { G } )$ vanishes asymptotically as $n \to \infty$ . This holds for most of the common choices of $\mathcal { G }$ if proper regularization is considered (Bartlett & Mendelson, 2002; Golowich et al., 2018). Assume additionally the existence of $C _ { g } > 0$ such that $\mathrm { s u p } _ { g \in { \mathcal { G } } } \| g \| _ { \infty } \leq C _ { g }$ as well as $C _ { \ell } > 0$ such that $\begin{array} { r } { \operatorname* { s u p } _ { | z | \leq C _ { g } } \hat { \ell } ( z ) \leq C _ { \ell } } \end{array}$ . We also assume that $\ell$ is Lipschitz continuous on the interval $[ - C _ { g } , C _ { g } ]$ with a Lipschitz constant $L _ { \ell }$ .
|
| 150 |
+
|
| 151 |
+
Theorem 2. Let $\begin{array} { r l r } { g ^ { * } } & { { } = } & { \arg \operatorname* { m i n } _ { g \in { \mathcal G } } R ( g ) } \end{array}$ be the true risk minimizer and $\begin{array} { r l } { \hat { g } _ { \mathrm { P U b N } , \eta , \hat { \sigma } } } & { { } = } \end{array}$ a $\begin{array} { r } { \operatorname { r g m i n } _ { g \in \mathcal { G } } \hat { R } _ { \mathrm { P U b N } , \eta , \hat { \sigma } } ( g ) } \end{array}$ be the PUbN empirical risk minimizer. We suppose that $\hat { \sigma }$ is a fixed function independent of data used to compute $\hat { R } _ { \mathrm { P U b N } , \eta , \hat { \sigma } } ( g )$ and $\eta \in ( 0 , 1 ]$ . Denote by $p _ { \mathrm { P } } ( { \pmb x } ) = p ( { \pmb x } \mid$ $y = + 1$ ) and $p _ { \mathrm { b N } } ( { \pmb x } ) = p ( { \pmb x } \mid y = - 1 , s = + 1 )$ the $P$ and bN marginals. Let $\zeta = p ( \boldsymbol { \hat { \sigma } } ( \pmb { x } ) \leq \eta )$ and $\epsilon = \mathbb { E } _ { { \pmb x } \sim p ( { \pmb x } ) } [ | \hat { \sigma } ( { \pmb x } ) - \sigma ( { \pmb x } ) | ^ { 2 } ]$ . Then for any $\delta > 0$ , with probability at least $1 - \delta$ ,
|
| 152 |
+
|
| 153 |
+
$$
|
| 154 |
+
\begin{array} { r l } & { R ( \hat { g } _ { \mathrm { P U b N } , \eta , \hat { \sigma } } ) - R ( g ^ { * } ) } \\ & { \quad \le 4 L _ { l } \mathfrak R _ { n _ { \mathrm { U } } , p } ( \mathcal { G } ) + \frac { 4 \pi L _ { l } } \eta \mathfrak R _ { n _ { \mathrm { P } } , p _ { \mathrm { P } } } ( \mathcal { G } ) + \frac { 4 \rho L _ { l } } \eta \mathfrak R _ { n _ { \mathrm { b N } } , p _ { \mathrm { b N } } } ( \mathcal { G } ) } \\ & { \qquad + 2 C _ { l } \sqrt { \frac { \ln ( 6 / \delta ) } { 2 n _ { \mathrm { U } } } } + \frac { 2 \pi C _ { l } } \eta \sqrt { \frac { \ln ( 6 / \delta ) } { 2 n _ { \mathrm { P } } } } + \frac { 2 \rho C _ { l } } \eta \sqrt { \frac { \ln ( 6 / \delta ) } { 2 n _ { \mathrm { b N } } } } + 2 C _ { l } \sqrt { \zeta } \epsilon + \frac { 2 C _ { l } } \eta \sqrt { ( 1 - \zeta ) } \epsilon . } \end{array}
|
| 155 |
+
$$
|
| 156 |
+
|
| 157 |
+
Theorem 2 shows that as $n _ { \mathrm { P } } \infty$ , $n _ { \mathrm { b N } } \infty$ and $n _ { \mathrm { U } } \infty$ , we have $R ( \hat { g } _ { \mathrm { P U b N } , \eta , \hat { \sigma } } ) - R ( g ^ { * } ) $ $2 C _ { l } \sqrt { \zeta \epsilon } + 2 ( C _ { l } / \eta ) \sqrt { ( 1 - \zeta ) \epsilon }$ . Furthermore, if there is $C _ { \mathcal { G } } ~ > ~ 0$ such that $\Re _ { n , q } ( { \mathcal { G } } ) \leq C \varsigma / \sqrt { n }$ 2, the convergence rate is $\mathcal { O } _ { p } ( 1 / \sqrt { n _ { \mathrm { P } } } + 1 / \sqrt { n _ { \mathrm { b N } } } + 1 / \sqrt { n _ { \mathrm { U } } } )$ , where $\mathcal { O } _ { p }$ denotes the order in probability. As for $\epsilon$ , knowing that $\hat { \sigma }$ is also estimated from data in practice 3, apparently its value depends on both the estimation algorithm and the number of samples that are involved in the estimation process. For example, in our approach we applied nnPU with the logistic loss to obtain $\hat { \sigma }$ , so the excess risk can be written as $\mathbb { E } _ { { \pmb x } \sim p ( { \pmb x } ) } \mathrm { K L } ( { \bf \bar { \sigma } } ( { \pmb x } ) | | { \hat { \sigma } } ( { \pmb x } ) )$ , where by abuse of notation $\operatorname { K L } ( p | | q ) = p \ln ( p / q ) + ( 1 - p ) \ln ( ( 1 - p ) / ( 1 - q ) )$ denotes the KL divergence between two Bernouilli distributions with parameters respectively $p$ and $q$ . It is known that $\epsilon = \mathbb { E } _ { { \pmb x } \sim p ( { \pmb x } ) } [ | \hat { \sigma } ( { \pmb x } ) - \sigma ( { \pmb x } ) | ^ { 2 } ] \leq$ $( 1 / 2 ) \mathbb { E } _ { \pmb { x } \sim p ( \pmb { x } ) } \mathrm { K L } ( \sigma ( \pmb { x } ) | | \hat { \sigma } ( \pmb { x } ) )$ (Zhang, 2004). The excess risk itself can be decomposed into the sum of the estimation error and the approximation error. Kiryo et al. (2017) showed that under mild assumptions the estimation error part converges to zero when the sample size increases to infinity in nnPU learning. It is however impossible to get rid of the approximation error part which is fixed once we fix the function class $\mathcal { G }$ . To circumvent this problem, we can either resort to kernel-based methods with universal kernels (Zhang, 2004) or simply enlarge the function class when we get more samples.
|
| 158 |
+
|
| 159 |
+
# 3.3 PU LEARNING REVISITED
|
| 160 |
+
|
| 161 |
+
In PU learning scenarios, we only have $\mathrm { \bf P }$ and $\mathrm { U }$ data and bN data are not available. Nevertheless, if we let $y$ play the role of $s$ and ignore all the terms related to bN data, our algorithm is naturally applicable to PU learning. Let us name the resulting algorithm PUbN\N, then
|
| 162 |
+
|
| 163 |
+
$$
|
| 164 |
+
\hat { R } _ { \mathrm { P U b N } \setminus \mathbb { N } , \eta , \hat { \sigma } } ( g ) = \pi \hat { R } _ { \mathrm { P } } ^ { + } ( g ) + \hat { \bar { R } } _ { y = - 1 , \eta , \hat { \sigma } } ^ { - } ( g ) ,
|
| 165 |
+
$$
|
| 166 |
+
|
| 167 |
+
where $\hat { \sigma }$ is an estimate of $p ( y = + 1 \mid x )$ and
|
| 168 |
+
|
| 169 |
+
$$
|
| 170 |
+
\begin{array} { r } { \bar { R } _ { y = - 1 , \eta , \hat { \sigma } } ^ { - } ( g ) = \mathbb { E } _ { x \sim p ( x ) } \bigl [ \mathbb { I } _ { \hat { \sigma } ( x ) \leq \eta } \ell ( - g ( \pmb { x } ) ) ( 1 - \hat { \sigma } ( \pmb { x } ) ) \bigr ] + \pi \mathbb { E } _ { x \sim p ( x \mid y = + 1 ) } \left[ \mathbb { I } _ { \hat { \sigma } ( \pmb { x } ) > \eta } \ell ( - g ( \pmb { x } ) ) \frac { 1 - \hat { \sigma } ( \pmb { x } ) } { \hat { \sigma } ( \pmb { x } ) } \right] . } \end{array}
|
| 171 |
+
$$
|
| 172 |
+
|
| 173 |
+
PUbN\N can be viewed as a variant of the traditional two-step approach in PU learning which first identifies possible $\mathbf { N }$ data in $\mathrm { U }$ data and then perform ordinary PN classification to distinguish P data from the identified $_ \mathrm { N }$ data. However, being based on state-of-the-art nnPU learning, our method is more promising than other similar algorithms. Moreover, by explicitly considering the posterior $p ( y = \bar { + } 1 \mid x )$ , we attempt to correct the bias induced by the fact of only taking into account confident negative samples. The benefit of using an unbiased risk estimator is that the resulting algorithm is always statistically consistent, i.e., the estimation error converges in probability to zero as the number of samples grows to infinity.
|
| 174 |
+
|
| 175 |
+
# 4 EXPERIMENTS
|
| 176 |
+
|
| 177 |
+
In this section, we experimentally investigate the proposed method and compare its performance against several baseline methods.
|
| 178 |
+
|
| 179 |
+
# 4.1 BASIC SETUP
|
| 180 |
+
|
| 181 |
+
We focus on training neural networks with stochastic optimization. For simplicity, in an experiment, $\hat { \sigma }$ and $g$ always use the same model and are trained for the same number of epochs. All models are learned using AMSGrad (Reddi et al., 2018) as the optimizer and the logistic loss as the surrogate loss unless otherwise specified. To determine the value of $\eta$ , we introduce another hyperparameter $\tau$ and choose $\eta$ such that $\# \{ x \in \mathcal { X } _ { \mathrm { U } } \mid \hat { \sigma } ( x ) \leq \eta \} = \tau ( 1 - \pi - \rho ) n _ { \mathrm { U } }$ . In all the experiments, an additional validation set, equally composed of P, U and bN data, is sampled for both hyperparameter tuning and choosing the model parameters with the lowest validation loss among those obtained after every epoch. Regarding the computation of the validation loss, we use the PU risk estimator (2) with the sigmoid loss for $g$ and an empirical approximation of $\mathbb { E } _ { { \pmb x } \sim p ( { \pmb x } ) } [ | \hat { \sigma } ( { \pmb x } ) - \sigma ( { \pmb x } ) | ^ { 2 } ] - \mathbb { E } _ { { \pmb x } \sim p ( { \pmb x } ) } [ \sigma ( { \pmb x } ) ^ { 2 } ]$ for $\hat { \sigma }$ (see Appendix B).
|
| 182 |
+
|
| 183 |
+
# 4.2 EFFECTIVENESS OF THE ALGORITHM
|
| 184 |
+
|
| 185 |
+
We assess the performance of the proposed method on three benchmark datasets: MNIST, CIFAR-10 and 20 Newsgroups. Experimental details are given in Appendix C. In particular, since all the three datasets are originally designed for multiclass classification, we group different categories together to form a binary classification problem.
|
| 186 |
+
|
| 187 |
+
Baselines. When $\mathcal { X } _ { \mathrm { b N } }$ is given, two baseline methods are considered. The first one is nnPNU adapted from (4). In the second method, named as $\mathrm { P U } \to \mathrm { P N }$ , we train two binary classifiers: one is learned with nnPU while we regard $s$ as the class label, and the other is learned from $\mathcal { X } _ { \mathrm { P } }$ and $\mathcal { X } _ { \mathrm { b N } }$ to separate $\mathrm { \bf P }$ samples from bN samples. A sample is classified in the $\mathrm { \bf P }$ class only if it is so classified by the two classifiers. When $\mathcal { X } _ { \mathrm { b N } }$ is not available, nnPU is compared with the proposed PUbN\N.
|
| 188 |
+
|
| 189 |
+
Sampling bN Data To sample $\mathcal { X } _ { \mathrm { b N } }$ , we suppose that the bias of N data is caused by a latent prior probability change (Sugiyama & Storkey, 2007; Hu et al., 2018) in the $\mathbf { N }$ class. Let $z \in \mathcal { Z } : =$
|
| 190 |
+
|
| 191 |
+
Table 1: Mean and standard deviation of misclassification rates over 10 trials for MNIST, CIFAR-10 and 20 Newsgroups under different choices of $\mathrm { \bf P }$ class and bN data sampling strategies. For a same learning task, different methods are compared using the same 10 random samplings. Underlines denote that with the use of bN data the method leads to an improvement of performance according to the $5 \%$ t-test. Boldface indicates the best method in each task.
|
| 192 |
+
|
| 193 |
+
† Biased N data uniformly sampled from the indicated latent categories.
|
| 194 |
+
|
| 195 |
+
⋆ Probabilities that a sample of $\mathcal { X } _ { \mathrm { b N } }$ belongs to the latent categories [1, 3, 5, 7, 9] / [bird, cat, deer, dog, frog, horse] / [sci., soc., talk.] are [0.03, 0.15, 0.3, 0.02, 0.5] / [0.1, 0.02, 0.2, 0.08, 0.2, 0.4] / [0.1, 0.5, 0.4].
|
| 196 |
+
|
| 197 |
+
<table><tr><td>Dataset</td><td>P</td><td>biased N</td><td>p</td><td>nnPU/nnPNU</td><td>PUbN(\N)</td><td>PU→PN</td></tr><tr><td rowspan="3">MNIST</td><td rowspan="3">2,4,6,8,10</td><td>Not given</td><td>NA</td><td>5.76 ± 1.04</td><td>4.64±0.62</td><td>NA</td></tr><tr><td>1,3,5</td><td>0.3</td><td>5.33 ± 0.97</td><td>4.05 ± 0.27</td><td>4.00 ±0.30</td></tr><tr><td>9>5>others *</td><td>0.2</td><td>4.60 ± 0.65</td><td>3.91 ± 0.66</td><td>3.77 ± 0.31</td></tr><tr><td rowspan="3">CIFAR-10</td><td rowspan="3">Airplane, automobile, ship, truck</td><td>Not given</td><td>NA</td><td>12.02 ± 0.65</td><td>10.70 ± 0.57</td><td>NA</td></tr><tr><td>Cat, dog, horse † Horse > deer</td><td>0.3</td><td>10.25 ± 0.38</td><td>9.71 ± 0.51</td><td>10.37 ± 0.65</td></tr><tr><td>= frog > others *</td><td>0.25</td><td>9.98 ± 0.53</td><td>9.92 ±0.42</td><td>10.17 ± 0.35</td></tr><tr><td rowspan="3">CIFAR-10</td><td rowspan="3">Cat, deer, dog, horse</td><td>Not given</td><td>NA</td><td>23.78 ± 1.04</td><td>21.13 ±0.90</td><td>NA</td></tr><tr><td>Bird,frogt</td><td>0.2</td><td>22.00 ± 0.53</td><td>18.83± 0.71</td><td>19.88 ± 0.62</td></tr><tr><td>Car, truck t</td><td>0.2</td><td>22.00±0.74</td><td>20.19 ± 1.06</td><td>21.83 ± 1.36</td></tr><tr><td rowspan="4">20 Newsgroups</td><td rowspan="4">alt., comp., misc., rec.</td><td>Not given</td><td>NA</td><td>14.67 ± 0.87</td><td>13.30 ± 0.53</td><td>NA</td></tr><tr><td>sci.t</td><td>0.21</td><td>14.69 ± 0.46</td><td>13.10±0.90</td><td>13.58 ± 0.97</td></tr><tr><td>talk.t</td><td>0.17</td><td>14.38 ± 0.74</td><td>12.61 ± 0.75</td><td>13.76 ± 0.66</td></tr><tr><td>soc. > talk. > sci.*</td><td>0.1</td><td>14.41 ± 0.76</td><td>12.18± 0.59</td><td>12.92 ± 0.51</td></tr></table>
|
| 198 |
+
|
| 199 |
+
$\{ 1 , \ldots , S \}$ be some latent variable which we call a latent category, where $S$ is a constant. It is assumed
|
| 200 |
+
|
| 201 |
+
$$
|
| 202 |
+
\begin{array} { c } { { p ( { \pmb x } \mid z , y = - 1 ) = p ( { \pmb x } \mid z , y = - 1 , s = + 1 ) , } } \\ { { p ( z \mid y = - 1 ) \not = p ( z \mid y = - 1 , s = + 1 ) . } } \end{array}
|
| 203 |
+
$$
|
| 204 |
+
|
| 205 |
+
In the experiments, the latent categories are the original class labels of the datasets. Concrete definitions of $\mathcal { X } _ { \mathrm { b N } }$ with experimental results are summarized in Table 1.
|
| 206 |
+
|
| 207 |
+
Results. Overall, our proposed method consistently achieves the best or comparable performance in all the scenarios, including those of standard PU learning. Additionally, using bN data can effectively help improving classification performance. However, the choice of algorithm is essential. Both nnPNU and the naive $\mathrm { P U } \to \mathrm { P N }$ are able to leverage bN data to enhance classification accuracy in only relatively few tasks. In the contrast, the proposed PUbN successfully reduce the misclassification error most of the time.
|
| 208 |
+
|
| 209 |
+
Clearly, the performance gain that we can benefit from the availability of bN data is case-dependent. On CIFAR-10, the greatest improvement is achieved when we regard mammals (i.e. cat, deer, dog and horse) as $\mathrm { \bf P }$ class and drawn samples from latent categories bird and frog as labeled negative data. This is not surprising because birds and frogs are more similar to mammals than vehicles, which makes the classification harder specifically for samples from these two latent categories. By explicitly labeling these samples as $_ \mathrm { N }$ data, we allow the classifier to make better predictions for these difficult samples.
|
| 210 |
+
|
| 211 |
+
# 4.3 THE PRESENCE OF BN DATA HELPS: AN ILLUSTRATION
|
| 212 |
+
|
| 213 |
+
Through experiments we have demonstrated that the presence of bN data effectively helps learning a better classifier. Here we would like to provide some intuition for the reason behind this. Let us consider the MNIST learning task where $\mathcal { X } _ { \mathrm { b N } }$ is uniformly sampled from the latent categories 1, 3 and 5. We project the representations learned by the classifier (i.e., the activation values of the last layer of the neural network) into a 2D plane using PCA for both nnPU and PUbN algorithms.
|
| 214 |
+
|
| 215 |
+

|
| 216 |
+
Figure 1: PCA embeddings of the representations learned by the nnPU and PUbN classifiers for 500 samples from the test set in the MNIST learning task where $\mathcal { X } _ { \mathrm { b n } }$ is uniformly sampled from latent categories 1, 3 and 5.
|
| 217 |
+
|
| 218 |
+
The results are shown in Figure 1. Since for both nnPU and PUbN classifiers, the first two principal components account around $90 \%$ of variance, we believe that this figure depicts fairly well the learned representations. Thanks to the use of bN data, in the high-level feature space 1, 3, 5 and P data are further pushed away when we employ the proposed PUbN learning algorithm, and we are always able to separate 7, 9 from P to some extent. This explains the better performance which is achieved by PUbN learning and the benefit of incorporating bN data into the learning process.
|
| 219 |
+
|
| 220 |
+
# 5 CONCLUSION
|
| 221 |
+
|
| 222 |
+
This paper studied the PUbN classification problem, where a binary classifier is trained on P, U and bN data. The proposed method is a two-step approach inspired from both PU learning and importance weighting. The key idea is to attribute appropriate weights to each example to evaluate the classification risk using the three sets of data. We theoretically established an estimation error bound for the proposed risk estimator and experimentally showed that our approach successfully leveraged bN data to improve the classification performance on several real-world datasets. A variant of our algorithm was able to achieve state-of-the-art results in PU learning.
|
| 223 |
+
|
| 224 |
+
# REFERENCES
|
| 225 |
+
|
| 226 |
+
P. L. Bartlett and S. Mendelson. Rademacher and gaussian complexities: Risk bounds and structural results. Journal of Machine Learning Research, 3(Nov):463–482, 2002.
|
| 227 |
+
M. Belkin, P. Niyogi, and V. Sindhwani. Manifold regularization: A geometric framework for learning from labeled and unlabeled examples. Journal of Machine Learning Research, 7(Nov): 2399–2434, 2006.
|
| 228 |
+
O. Chapelle, B. Schlkopf, and A. Zien. Semi-Supervised Learning. The MIT Press, 1st edition, 2010.
|
| 229 |
+
M. du Plessis, G. Niu, and M. Sugiyama. Convex formulation for learning from positive and unlabeled data. In International Conference on Machine Learning (ICML), pp. 1386–1394, 2015.
|
| 230 |
+
M. C. du Plessis, G. Niu, and M. Sugiyama. Analysis of learning from positive and unlabeled data. In Advances in Neural Information Processing Systems (NIPS), pp. 703–711, 2014.
|
| 231 |
+
M. C. du Plessis, G. Niu, and M. Sugiyama. Class-prior estimation for learning from positive and unlabeled data. Maching Learning, 106(4):463–492, April 2017. ISSN 0885-6125.
|
| 232 |
+
C. Elkan and K. Noto. Learning classifiers from only positive and unlabeled data. In KDD, 2008.
|
| 233 |
+
G. Fei and B. Liu. Social media text classification under negative covariate shift. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pp. 2347–2356, 2015.
|
| 234 |
+
|
| 235 |
+
G. P. C. Fung, J. X. Yu, H. Lu, and P. S. Yu. Text classification without negative examples revisit. IEEE transactions on Knowledge and Data Engineering, 18(1):6–20, 2006.
|
| 236 |
+
|
| 237 |
+
N. Golowich, A. Rakhlin, and O. Shamir. Size-independent sample complexity of neural networks. In Conference On Learning Theory, pp. 297–299, 2018.
|
| 238 |
+
|
| 239 |
+
Y. Grandvalet and Y. Bengio. Semi-supervised learning by entropy minimization. In Advances in Neural Information Processing Systems (NIPS), pp. 529–536, 2005.
|
| 240 |
+
|
| 241 |
+
K. He, X. Zhang, S. Ren, and J. Sun. Identity mappings in deep residual networks. In European Conference on Computer Vision (ECCV), pp. 630–645. Springer, 2016.
|
| 242 |
+
|
| 243 |
+
J. J. Heckman. Sample selection bias as a specification error. Econometrica, 47(1):153–161, 1979.
|
| 244 |
+
|
| 245 |
+
S. Hido, Y. Tsuboi, H. Kashima, M. Sugiyama, and T. Kanamori. Inlier-based outlier detection via direct density ratio estimation. In Proceedings of IEEE International Conference on Data Mining (ICDM), pp. 223–232. IEEE, 2008.
|
| 246 |
+
|
| 247 |
+
W. Hu, G. Niu, I. Sato, and M. Sugiyama. Does distributionally robust supervised learning give robust classifiers? In International Conference on Machine Learning (ICML), pp. 2034–2042, 2018.
|
| 248 |
+
|
| 249 |
+
J. Huang, A. Gretton, K. M. Borgwardt, B. Scholkopf, and A. J. Smola. Correcting sample selection ¨ bias by unlabeled data. In Advances in Neural Information Processing Systems (NIPS), pp. 601– 608, 2007.
|
| 250 |
+
|
| 251 |
+
T. Ishida, G. Niu, and M. Sugiyama. Binary classification from positive-confidence data. arXiv preprint arXiv:1710.07138, 2018.
|
| 252 |
+
|
| 253 |
+
S. Jain, M. White, and P. Radivojac. Estimating the class prior and posterior from noisy positives and unlabeled data. In Advances in Neural Information Processing Systems (NIPS), pp. 2693–2701, 2016.
|
| 254 |
+
|
| 255 |
+
T. Kanamori, S. Hido, and M. Sugiyama. A least-squares approach to direct importance estimation. Journal of Machine Learning Research, 10:1391–1445, 2009.
|
| 256 |
+
|
| 257 |
+
R. Kiryo, G. Niu, M. C. du Plessis, and M. Sugiyama. Positive-unlabeled learning with non-negative risk estimator. In Advances in Neural Information Processing Systems (NIPS), pp. 1675–1685, 2017.
|
| 258 |
+
|
| 259 |
+
S. Laine and T. Aila. Temporal ensembling for semi-supervised learning. In International Conference on Learning Representations (ICLR), 2017.
|
| 260 |
+
|
| 261 |
+
W. Li, Q. Guo, and C. Elkan. A positive and unlabeled learning algorithm for one-class classification of remote-sensing data. IEEE Transactions on Geoscience and Remote Sensing, 49(2):717–725, 2011.
|
| 262 |
+
|
| 263 |
+
X.-L. Li, B. Liu, and S.-K. Ng. Negative training data can be harmful to text classification. In Proceedings of the 2010 Conference on Empirical Methods in Natural Language Processing, pp. 218–228, 2010.
|
| 264 |
+
|
| 265 |
+
B. Liu, W. S. Lee, P. S. Yu, and X. Li. Partially supervised classification of text documents. In International Conference on Machine Learning (ICML), volume 2, pp. 387–394, 2002.
|
| 266 |
+
|
| 267 |
+
B. Liu, Y. Dai, X. Li, W. S. Lee, and P. S. Yu. Building text classifiers using positive and unlabeled examples. In Proceedings of IEEE International Conference on Data Mining (ICDM), pp. 179– 186. IEEE, 2003.
|
| 268 |
+
|
| 269 |
+
T. Miyato, S.-i. Maeda, M. Koyama, K. Nakae, and S. Ishii. Distributional smoothing with virtual adversairal training. In International Conference on Learning Representations (ICLR), 2016.
|
| 270 |
+
|
| 271 |
+
M. Mohri, A. Rostamizadeh, and A. Talwalkar. Foundations of machine learning. MIT press, 2012.
|
| 272 |
+
|
| 273 |
+
F. Mordelet and J.-P. Vert. A bagging svm to learn from positive and unlabeled examples. Pattern Recognition Letters, 37:201–209, 2014.
|
| 274 |
+
|
| 275 |
+
M. N. Nguyen, X.-L. Li, and S.-K. Ng. Positive unlabeled leaning for time series classification. In IJCAI, volume 11, pp. 1421–1426, 2011.
|
| 276 |
+
A. Oliver, A. Odena, C. Raffel, E. D. Cubuk, and I. J. Goodfellow. Realistic evaluation of deep semi-supervised learning algorithms. arXiv preprint arXiv:1804.09170, 2018.
|
| 277 |
+
M. E. Peters, M. Neumann, M. Iyyer, M. Gardner, C. Clark, K. Lee, and L. Zettlemoyer. Deep contextualized word representations. In Proc. of NAACL, 2018.
|
| 278 |
+
J. Quionero-Candela, M. Sugiyama, A. Schwaighofer, and N. D. Lawrence. Dataset shift in machine learning. 2009.
|
| 279 |
+
H. Ramaswamy, C. Scott, and A. Tewari. Mixture proportion estimation via kernel embeddings of distributions. In International Conference on Machine Learning (ICML), pp. 2052–2060, 2016.
|
| 280 |
+
S. J. Reddi, S. Kale, and S. Kumar. On the convergence of adam and beyond. In International Conference on Learning Representations (ICLR), 2018.
|
| 281 |
+
A. Ruckl ¨ e, S. Eger, M. Peyrard, and I. Gurevych. Concatenated -mean word embeddings as universal ´ cross-lingual sentence representations. arXiv preprint arXiv:1803.01400, 2018.
|
| 282 |
+
T. Sakai, M. C. d. du Plessis, G. Niu, and M. Sugiyama. Semi-supervised classification based on classification from positive and unlabeled data. In International Conference on Machine Learning (ICML), volume 70, pp. 2998–3006, 2017.
|
| 283 |
+
C. Scott and G. Blanchard. Novelty detection: Unlabeled data definitely help. In Artificial Intelligence and Statistics, pp. 464–471, 2009.
|
| 284 |
+
S. Shalev-Shwartz and S. Ben-David. Understanding Machine Learning: From Theory to Algorithms. Cambridge University Press, 2014.
|
| 285 |
+
H. Shimodaira. Improving predictive inference under covariate shift by weighting the log-likelihood function. Journal of statistical planning and inference, 90(2):227–244, 2000.
|
| 286 |
+
M. Sugiyama and M. Kawanabe. Machine Learning in Non-Stationary Environments: Introduction to Covariate Shift Adaptation. MIT Press, Cambridge, Massachusetts, USA, 2012.
|
| 287 |
+
M. Sugiyama and A. J. Storkey. Mixture regression for covariate shift. In Advances in Neural Information Processing Systems (NIPS), pp. 1337–1344, 2007.
|
| 288 |
+
M. Sugiyama, S. Nakajima, H. Kashima, P. V. Buenau, and M. Kawanabe. Direct importance estimation with model selection and its application to covariate shift adaptation. In Advances in Neural Information Processing Systems (NIPS), pp. 1433–1440, 2008.
|
| 289 |
+
G. A. Ward, T. J. Hastie, S. T. Barry, J. Elith, and J. R. Leathwick. Presence-only data and the em algorithm. Biometrics, 65 2:554–63, 2009.
|
| 290 |
+
B. Zadrozny. Learning and evaluating classifiers under sample selection bias. In International Conference on Machine learning (ICML), pp. 903–910, 2004.
|
| 291 |
+
T. Zhang. Statistical behavior and consistency of classification methods based on convex risk minimization. Annals of Statistics, pp. 56–85, 2004.
|
| 292 |
+
M. Zuluaga, D. Hush, E. J F Delgado Leyton, M. Hernandez Hoyos, and M. Orkisz. Learning from only positive and unlabeled data to detect lesions in vascular ct images. In Medical image computing and computer-assisted intervention – MICCAI 2011, volume LNCS 6893, pp. 9–16, 2011.
|
| 293 |
+
|
| 294 |
+
APPENDIX
|
| 295 |
+
|
| 296 |
+
A PROOFS
|
| 297 |
+
|
| 298 |
+
# A.1 PROOF OF THEOREM 1
|
| 299 |
+
|
| 300 |
+
We notice that $( 1 - \pi - \rho ) p ( { \pmb x } \mid s = - 1 ) = p ( { \pmb x } , s = - 1 )$ and that when $h ( \pmb { x } ) > \eta$ , we have $p ( s = + 1 \mid \pmb { x } ) = \sigma ( \pmb { x } ) > 0$ , which allows us to write $p ( s = - 1 \mid x ) = ( p ( s = - 1 \mid x ) / p ( s =$ $+ 1 \mid { \pmb x } ) ) p ( s = + 1 \mid { \pmb x } )$ . We can thus decompose $\bar { R } _ { s = - 1 } ^ { - } ( \bar { g } )$ as following:
|
| 301 |
+
|
| 302 |
+
$$
|
| 303 |
+
\begin{array} { r l } { { \bar { R } _ { s = - 1 } ^ { - } ( g ) = \int \ell ( - g ( x ) ) p ( x , s = - 1 ) d x } } \\ & { = \int 1 _ { h ( x ) \leq \eta } \ell ( - g ( x ) ) p ( x , s = - 1 ) d x } \\ & { \quad + \int 1 _ { h ( x ) > \eta } \ell ( - g ( x ) ) p ( x , s = - 1 ) d x } \\ & { = \int 1 _ { h ( x ) \leq \eta } \ell ( - g ( x ) ) \frac { p ( x , s = - 1 ) } { p ( x ) } p ( x ) d x } \\ & { \quad + \int 1 _ { h ( x ) > \eta } \ell ( - g ( x ) ) \frac { p ( x , s = - 1 ) } { p ( x , s = + 1 ) } p ( x , s = + 1 ) d x . } \end{array}
|
| 304 |
+
$$
|
| 305 |
+
|
| 306 |
+
By writing $p ( { \pmb x } , s = - 1 ) = p ( s = - 1 \mid { \pmb x } ) p ( { \pmb x } ) = ( 1 - \sigma ( { \pmb x } ) ) p ( { \pmb x } )$ and $p ( \pmb { x } , s = + 1 ) = p ( s =$ $+ 1 \mid x ) p ( x ) = \sigma ( { \pmb x } ) p ( { \pmb x } )$ , we have
|
| 307 |
+
|
| 308 |
+
$$
|
| 309 |
+
\begin{array} { l } { \displaystyle \bar { R } _ { s = - 1 } ^ { - } ( g ) = \int \mathbb { 1 } _ { h ( \pmb { x } ) \leq \eta } \ell ( - g ( \pmb { x } ) ) ( 1 - \sigma ( \pmb { x } ) ) p ( \pmb { x } ) d x } \\ { \displaystyle \qquad + \int \mathbb { 1 } _ { h ( \pmb { x } ) > \eta } \ell ( - g ( \pmb { x } ) ) \frac { 1 - \sigma ( \pmb { x } ) } { \sigma ( \pmb { x } ) } p ( \pmb { x } , s = + 1 ) d x . } \end{array}
|
| 310 |
+
$$
|
| 311 |
+
|
| 312 |
+
We obtain Equation (6) after replacing $p ( \pmb { x } , s = + 1 )$ by $\pi p ( x \mid y = + 1 ) + \rho p ( x \mid y = - 1 , s = + 1 )$ .
|
| 313 |
+
|
| 314 |
+
# A.2 PROOF OF THEOREM 2
|
| 315 |
+
|
| 316 |
+
For $\hat { \sigma }$ and $\eta$ given, let us define
|
| 317 |
+
|
| 318 |
+
$$
|
| 319 |
+
R _ { \mathrm { P U b N } , \eta , \hat { \sigma } } ( g ) = \pi R _ { \mathrm { P } } ^ { + } ( g ) + \rho R _ { \mathrm { b N } } ^ { - } ( g ) + \bar { R } _ { s = - 1 , \eta , \hat { \sigma } } ^ { - } ( g ) .
|
| 320 |
+
$$
|
| 321 |
+
|
| 322 |
+
The following lemma establishes the uniform deviation bound from $\hat { R } _ { \mathrm { P U b N } , \eta , \hat { \sigma } }$ to $R _ { \mathrm { P U b N } , \eta , \hat { \sigma } }$
|
| 323 |
+
|
| 324 |
+
Lemma 1. Let $\hat { \sigma } : \mathbb { R } ^ { d } [ 0 , 1 ]$ be a fixed function independent of data used to compute $\hat { R } _ { \mathrm { P U b N } , \eta , \hat { \sigma } }$ and $\eta \in ( 0 , 1 ]$ . For any $\delta > 0$ , with probability at least $1 - \delta$ ,
|
| 325 |
+
|
| 326 |
+
$$
|
| 327 |
+
\begin{array} { l } { \displaystyle \operatorname* { s u p } _ { g \in \mathcal { G } } \vert \hat { R } _ { \mathrm { P U b N } , \eta , \hat { \sigma } } ^ { - } ( g ) - R _ { \mathrm { P U b N } , \eta , \hat { \sigma } } ( g ) \vert } \\ { \displaystyle \quad \leq 2 L _ { l } \mathfrak { R } _ { n _ { \mathrm { U } } , p } ( \mathcal { G } ) + \frac { 2 \pi L _ { l } } { \eta } \mathfrak { R } _ { n _ { \mathrm { P } } , p _ { \mathrm { P } } } ( \mathcal { G } ) + \frac { 2 \rho L _ { l } } { \eta } \mathfrak { R } _ { n _ { \mathrm { b N } } , p _ { \mathrm { b N } } } ( \mathcal { G } ) } \\ { \displaystyle \quad + C _ { l } \sqrt { \frac { \ln ( 6 / \delta ) } { 2 n _ { \mathrm { U } } } } + \frac { \pi C _ { l } } { \eta } \sqrt { \frac { \ln ( 6 / \delta ) } { 2 n _ { \mathrm { P } } } } + \frac { \rho C _ { l } } { \eta } \sqrt { \frac { \ln ( 6 / \delta ) } { 2 n _ { \mathrm { b N } } } } . } \end{array}
|
| 328 |
+
$$
|
| 329 |
+
|
| 330 |
+
Proof. For ease of notation, let
|
| 331 |
+
|
| 332 |
+
$$
|
| 333 |
+
R _ { \mathrm { P } } ( g ) = \mathbb { E } _ { { \pmb x } \sim p _ { \mathrm { P } } ( { \pmb x } ) } \left[ \ell ( g ( { \pmb x } ) ) + \mathbb { 1 } _ { \hat { \sigma } ( { \pmb x } ) > \eta } \ell ( - g ( { \pmb x } ) ) \frac { 1 - \hat { \sigma } ( { \pmb x } ) } { \hat { \sigma } ( { \pmb x } ) } \right] ,
|
| 334 |
+
$$
|
| 335 |
+
|
| 336 |
+
$$
|
| 337 |
+
R _ { \mathrm { b N } } ( g ) = \mathbb { E } _ { { \pmb x } \sim p _ { \mathrm { b N } } ( \pmb x ) } \left[ \ell ( - g ( { \pmb x } ) ) ( 1 + \mathbb { 1 } _ { \hat { \sigma } ( { \pmb x } ) > \eta } \frac { 1 - \hat { \sigma } ( { \pmb x } ) } { \hat { \sigma } ( { \pmb x } ) } ) \right] ,
|
| 338 |
+
$$
|
| 339 |
+
|
| 340 |
+
$$
|
| 341 |
+
R _ { \mathrm { U } } ( g ) = \mathbb { E } _ { { \pmb x } \sim p ( { \pmb x } ) } \left[ \mathbb { 1 } _ { \hat { \pmb \sigma } ( { \pmb x } ) \leq \eta } \ell ( - g ( { \pmb x } ) ) ( 1 - \hat { \pmb \sigma } ( { \pmb x } ) ) \right] ,
|
| 342 |
+
$$
|
| 343 |
+
|
| 344 |
+
$$
|
| 345 |
+
\hat { R } _ { \mathrm { P } } ( g ) = \frac { 1 } { n _ { \mathrm { P } } } \sum _ { i = 1 } ^ { n _ { \mathrm { P } } } \left[ \ell ( g ( \pmb { x } _ { i } ^ { \mathrm { P } } ) ) + \mathbb { 1 } _ { \hat { \sigma } ( \pmb { x } _ { i } ^ { \mathrm { P } } ) > \eta } \ell ( - g ( \pmb { x } _ { i } ^ { \mathrm { P } } ) ) \frac { 1 - \hat { \sigma } ( \pmb { x } _ { i } ^ { \mathrm { P } } ) } { \hat { \sigma } ( \pmb { x } _ { i } ^ { \mathrm { P } } ) } \right] ,
|
| 346 |
+
$$
|
| 347 |
+
|
| 348 |
+
$$
|
| 349 |
+
\hat { R } _ { \mathrm { b N } } ( g ) = \frac { 1 } { n _ { \mathrm { b N } } } \sum _ { i = 1 } ^ { n _ { \mathrm { b N } } } \left[ \ell ( - g ( \boldsymbol x _ { i } ^ { \mathrm { b N } } ) ) ( 1 + \mathbb I _ { \hat { \sigma } ( \boldsymbol x _ { i } ^ { \mathrm { b N } } ) > \eta } \frac { 1 - \hat { \sigma } ( \boldsymbol x _ { i } ^ { \mathrm { b N } } ) } { \hat { \sigma } ( \boldsymbol x _ { i } ^ { \mathrm { b N } } ) } ) \right] ,
|
| 350 |
+
$$
|
| 351 |
+
|
| 352 |
+
$$
|
| 353 |
+
\hat { R } _ { \mathrm { U } } ( g ) = \frac { 1 } { n _ { \mathrm { U } } } \sum _ { i = 1 } ^ { n _ { \mathrm { U } } } \left[ \mathbb { 1 } _ { \hat { \sigma } ( \mathbf { x } _ { i } ^ { \mathrm { U } } ) \leq \eta } \ell ( - g ( \mathbf { x } _ { i } ^ { \mathrm { U } } ) ) ( 1 - \hat { \sigma } ( \mathbf { x } _ { i } ^ { \mathrm { U } } ) ) \right] .
|
| 354 |
+
$$
|
| 355 |
+
|
| 356 |
+
From the sub-additivity of the supremum operator, we have
|
| 357 |
+
|
| 358 |
+
$$
|
| 359 |
+
\begin{array} { r l } { { \operatorname* { s u p } _ { g \in \mathcal { G } } | \hat { R } _ { \mathrm { P U b N } , \eta , \hat { \sigma } } ^ { - } ( g ) - R _ { \mathrm { P U b N } , \eta , \hat { \sigma } } ( g ) | } \quad } & { } \\ & { \leq \pi \operatorname* { s u p } _ { g \in \mathcal { G } } | \hat { R } _ { \mathrm { P } } ( g ) - R _ { \mathrm { P } } ( g ) | + \rho \operatorname* { s u p } _ { g \in \mathcal { G } } | \hat { R } _ { \mathrm { b N } } ( g ) - R _ { \mathrm { b N } } ( g ) | + \operatorname* { s u p } _ { g \in \mathcal { G } } | \hat { R } _ { \mathrm { U } } ( g ) - R _ { \mathrm { U } } ( g ) | . } \end{array}
|
| 360 |
+
$$
|
| 361 |
+
|
| 362 |
+
As a consequence, to conclude the proof, it suffices to prove that with probability at least $1 - \delta / 3$ , the following bounds hold separately:
|
| 363 |
+
|
| 364 |
+
$$
|
| 365 |
+
\begin{array} { r l r } { \displaystyle \operatorname* { s u p } _ { g \in \mathcal { G } } \vert \hat { R } _ { \mathrm { P } } ( g ) - R _ { \mathrm { P } } ( g ) \vert \le \frac { 2 L _ { l } } { \eta } \mathfrak { R } _ { n _ { \mathrm { P } } , p _ { \mathrm { P } } } ( \mathcal { G } ) + \frac { C _ { l } } { \eta } \sqrt { \frac { \ln ( 6 / \delta ) } { 2 n _ { \mathrm { P } } } } , } & \\ { \displaystyle \operatorname* { s u p } _ { g \in \mathcal { G } } \vert \hat { R } _ { \mathfrak { h } \mathrm { N } } ( g ) - R _ { \mathfrak { h } \mathrm { N } } ( g ) \vert \le \frac { 2 L _ { l } } { \eta } \mathfrak { R } _ { n _ { \mathrm { b N } } , p _ { \mathrm { b N } } } ( \mathcal { G } ) + \frac { C _ { l } } { \eta } \sqrt { \frac { \ln ( 6 / \delta ) } { 2 n _ { \mathrm { b N } } } } , } & \\ { \displaystyle \operatorname* { s u p } _ { g \in \mathcal { G } } \vert \hat { R } _ { \mathrm { U } } ( g ) - R _ { \mathrm { U } } ( g ) \vert \le 2 L _ { l } \mathfrak { R } _ { n _ { \mathrm { U } } , p } ( \mathcal { G } ) + C _ { l } \sqrt { \frac { \ln ( 6 / \delta ) } { 2 n _ { \mathrm { U } } } } . } & \end{array}
|
| 366 |
+
$$
|
| 367 |
+
|
| 368 |
+
Below we prove (8). (9) and (10) are proven similarly.
|
| 369 |
+
|
| 370 |
+
Let $\phi _ { \pmb { x } } : \mathbb { R } \mathbb { R } _ { + }$ be the function defined by $\phi _ { \pmb { x } } : z \mapsto \ell ( z ) + \mathbb { 1 } _ { \hat { \sigma } ( \pmb { x } ) > \eta } \ell ( - z ) ( ( 1 - \hat { \sigma } ( \pmb { x } ) ) / \hat { \sigma } ( \pmb { x } ) )$ . For $\pmb { x } \in \mathbb { R } ^ { d } , g \in \mathcal { G }$ , since $\ell ( g ( \pmb { x } ) ) \in [ 0 , C _ { l } ]$ , $\ell ( - g ( \pmb { x } ) ) \in [ 0 , C _ { l } ]$ and $\mathbb { 1 } _ { \hat { \sigma } ( \pmb { x } ) > \eta } ( ( 1 - \hat { \sigma } ( \pmb { x } ) ) / \hat { \sigma } ( \pmb { x } ) ) \in$ $[ 0 , ( 1 - \eta ) / \eta ]$ , we always have $\phi _ { \pmb { x } } ( g ( \pmb { x } ) ) \in [ 0 , C _ { l } / \eta ]$ . Following the proof of Theorem 3.1 in Mohri et al. (2012), it is then straightforward to show that with probability at least $1 - \delta / 3$ , it holds that
|
| 371 |
+
|
| 372 |
+
$$
|
| 373 |
+
\operatorname* { s u p } _ { g \in \mathcal { G } } | \hat { R } _ { \mathrm { P } } ( g ) - R _ { \mathrm { P } } ( g ) | \leq 2 \mathbb { E } _ { \mathcal { X } _ { \mathrm { P } } \sim p _ { \mathrm { P } } ^ { n _ { \mathrm { P } } } } \mathbb { E } _ { \theta } \left[ \operatorname* { s u p } _ { g \in \mathcal { G } } \frac { 1 } { n _ { \mathrm { P } } } \sum _ { i = 1 } ^ { n _ { \mathrm { P } } } \theta _ { i } \phi _ { { \pmb x } _ { i } } ( g ( { \pmb x } _ { i } ) ) \right] + \frac { C _ { l } } { \eta } \sqrt { \frac { \ln ( 6 / \delta ) } { 2 n _ { \mathrm { P } } } } ,
|
| 374 |
+
$$
|
| 375 |
+
|
| 376 |
+
where $\boldsymbol { \theta } = \{ \theta _ { 1 } , \ldots , \theta _ { n _ { \mathrm { P } } } \}$ and each $\theta _ { i }$ is a Rademacher variable.
|
| 377 |
+
|
| 378 |
+
Also notice that for all $_ { \textbf { \em x } }$ , $\phi _ { \pmb { x } }$ is a $( L _ { l } / \eta )$ -Lipschitz function on the interval $[ - C _ { g } , C _ { g } ]$ . By using a modified version of Talagrad’s concentration lemma (specifically, Lemma 26.9 in Shalev-Shwartz & Ben-David (2014)), we can show that, when the set $\mathcal { X } _ { \mathrm { P } }$ is fixed, we have
|
| 379 |
+
|
| 380 |
+
$$
|
| 381 |
+
\mathbb { E } _ { \theta } \left[ \operatorname* { s u p } _ { g \in \mathcal { G } } \frac { 1 } { n _ { \mathrm { P } } } \sum _ { i = 1 } ^ { n _ { \mathrm { P } } } \theta _ { i } \phi _ { { \pmb x } _ { i } } ( g ( { \pmb x } _ { i } ) ) \right] \le \frac { L _ { l } } { \eta } \mathbb { E } _ { \theta } \left[ \operatorname* { s u p } _ { g \in \mathcal { G } } \frac { 1 } { n _ { \mathrm { P } } } \sum _ { i = 1 } ^ { n _ { \mathrm { P } } } \theta _ { i } g ( \pmb x _ { i } ) \right] .
|
| 382 |
+
$$
|
| 383 |
+
|
| 384 |
+
After taking expectation over $\mathcal { X } _ { \mathrm { P } } \sim p _ { \mathrm { P } } ^ { n _ { \mathrm { p } } }$ , we obtain the Equation (8).
|
| 385 |
+
|
| 386 |
+
However, what we really want to minimize is the true risk $R ( g )$ . Therefore, we also need to bound the difference between $R _ { \mathrm { P U b N } , \eta , \hat { \sigma } } ( g )$ and $R ( g )$ , or equivalently, the difference between $\bar { R } _ { s = - 1 , \eta , \hat { \sigma } } ^ { - } ( g )$ and $\bar { R } _ { s = - 1 } ^ { - } ( g )$ .
|
| 387 |
+
|
| 388 |
+
Lemma 2. Let $\hat { \sigma } : \mathbb { R } ^ { d } [ 0 , 1 ]$ , $\eta \in ( 0 , 1 ]$ , $\zeta = p ( \hat { \sigma } \leq \eta )$ and $\epsilon = \mathbb { E } _ { { \pmb x } \sim p ( { \pmb x } ) } [ | \hat { \sigma } ( { \pmb x } ) - \sigma ( { \pmb x } ) | ^ { 2 } ]$ . For all $g \in { \mathcal { G } }$ , it holds that
|
| 389 |
+
|
| 390 |
+
$$
|
| 391 |
+
| \bar { R } _ { s = - 1 , \eta , \hat { \sigma } } ^ { - } ( g ) - \bar { R } _ { s = - 1 } ^ { - } ( g ) | \leq C _ { l } \sqrt { \zeta \epsilon } + \frac { C _ { l } } { \eta } \sqrt { ( 1 - \zeta ) \epsilon } .
|
| 392 |
+
$$
|
| 393 |
+
|
| 394 |
+
Proof. One one hand, we have
|
| 395 |
+
|
| 396 |
+
$$
|
| 397 |
+
\begin{array} { r } { \bar { R } _ { s = - 1 } ^ { - } ( g ) = \underbrace { \int \mathbb { 1 } _ { \hat { \sigma } ( \pmb { x } ) \leq \eta } \ell ( - g ( \pmb { x } ) ) ( 1 - \sigma ( \pmb { x } ) ) p ( \pmb { x } ) d \pmb { x } } _ { A _ { 1 } } } \\ { + \underbrace { \int \mathbb { 1 } _ { \hat { \sigma } ( \pmb { x } ) > \eta } \ell ( - g ( \pmb { x } ) ) ( 1 - \sigma ( \pmb { x } ) ) p ( \pmb { x } ) d \pmb { x } } _ { B _ { 1 } } . } \end{array}
|
| 398 |
+
$$
|
| 399 |
+
|
| 400 |
+
On the other hand, we can express $\bar { R } _ { s = - 1 , \eta , \hat { \sigma } } ^ { - } ( g )$ as
|
| 401 |
+
|
| 402 |
+
$$
|
| 403 |
+
\begin{array} { r l } & { \bar { R } _ { s = - 1 , \eta , \hat { \sigma } } ^ { - } ( g ) = \displaystyle \int \mathbb { 1 } _ { \hat { \sigma } ( \mathbf x ) \leq \eta } \ell ( - g ( \mathbf x ) ) ( 1 - \hat { \sigma } ( \mathbf x ) ) p ( \mathbf x ) d x } \\ & { \quad \quad \quad \quad + \displaystyle \int \mathbb { 1 } _ { \hat { \sigma } ( \mathbf x ) > \eta } \ell ( - g ( \mathbf x ) ) \frac { 1 - \hat { \sigma } ( \mathbf x ) } { \hat { \sigma } ( \mathbf x ) } p ( \mathbf x , s = + 1 ) d x . } \\ & { \quad \quad \quad \quad = \displaystyle \int \mathbb { 1 } _ { \hat { \sigma } ( \mathbf x ) \leq \eta } \ell ( - g ( \mathbf x ) ) ( 1 - \hat { \sigma } ( \mathbf x ) ) p ( \mathbf x ) d x } \\ & { \quad \quad \quad \quad + \displaystyle \int \mathbb { 1 } _ { \hat { \sigma } ( \mathbf x ) > \eta } \ell ( - g ( \mathbf x ) ) ( 1 - \hat { \sigma } ( \mathbf x ) ) \frac { \sigma ( \mathbf x ) } { \hat { \sigma } ( \mathbf x ) } p ( \mathbf x ) d x . } \end{array}
|
| 404 |
+
$$
|
| 405 |
+
|
| 406 |
+
The last equality follows from the fact $p ( { \pmb x } , s \ = \ + 1 ) \ = \ \sigma ( { \pmb x } ) p ( { \pmb x } )$ . As $\vert \bar { R } _ { s = - 1 , \eta , \hat { \sigma } } ^ { - } ( g ) ~ -$ $\bar { R } _ { s = - 1 } ^ { - } ( g ) | \leq | A _ { 1 } - A _ { 2 } | + | B _ { 1 } - B _ { 2 } |$ , it is sufficient to derive bounds for $\left| A _ { 1 } - A _ { 2 } \right|$ and $\left| B _ { 1 } - B _ { 2 } \right|$ separately. For $\left| B _ { 1 } - B _ { 2 } \right|$ , we write
|
| 407 |
+
|
| 408 |
+
$$
|
| 409 |
+
\begin{array} { l } { \displaystyle | B _ { 1 } - B _ { 2 } | \le \int \mathbb { 1 } _ { \hat { \sigma } ( { \pmb x } ) > \eta } \ell ( - g ( { \pmb x } ) ) \frac { \hat { \sigma } ( { \pmb x } ) - \sigma ( { \pmb x } ) | } { \hat { \sigma } ( { \pmb x } ) } p ( { \pmb x } ) d { \pmb x } } \\ { \displaystyle \qquad \le \frac { C _ { l } } { \eta } \int \mathbb { 1 } _ { \hat { \sigma } ( { \pmb x } ) > \eta } | \hat { \sigma } ( { \pmb x } ) - \sigma ( { \pmb x } ) | p ( { \pmb x } ) d { \pmb x } } \\ { \displaystyle \qquad \le \frac { C _ { l } } { \eta } \left( \int \mathbb { 1 } _ { \hat { \sigma } ( { \pmb x } ) > \eta } ^ { 2 } p ( { \pmb x } ) d { \ b x } \right) ^ { \frac { 1 } { 2 } } \left( \int | \hat { \sigma } ( { \pmb x } ) - \sigma ( { \pmb x } ) | ^ { 2 } p ( { \pmb x } ) d { \ b x } \right) ^ { \frac { 1 } { 2 } } } \\ { \displaystyle \qquad = \frac { C _ { l } } { \eta } \sqrt { ( 1 - \zeta ) \epsilon } } \end{array}
|
| 410 |
+
$$
|
| 411 |
+
|
| 412 |
+
From the second to the third line we use the Cauchy-Schwarz inequality. $| A _ { 1 } - A _ { 2 } | \le C _ { l } \sqrt { \zeta \epsilon }$ can be proven similarly, which concludes the proof. □
|
| 413 |
+
|
| 414 |
+
Combining lemma 1 and lemma 2, we know that with probability at least $1 - \delta$ , the following holds:
|
| 415 |
+
|
| 416 |
+
$$
|
| 417 |
+
\begin{array} { r l } & { \underset { g \in \mathcal { G } } { \operatorname* { s u p } } | \hat { R } _ { \mathrm { P U b N } , \eta , \hat { \sigma } } ^ { - } ( g ) - R ( g ) | } \\ & { \leq 2 L _ { l } \mathfrak { R } _ { n _ { \mathrm { U } } , p } ( \mathcal { G } ) + \frac { 2 \pi L _ { l } } { \eta } \mathfrak { R } _ { n _ { \mathrm { P } } , p _ { \mathrm { P } } } ( \mathcal { G } ) + \frac { 2 \rho L _ { l } } { \eta } \mathfrak { R } _ { n _ { \mathrm { b N } } , p _ { \mathrm { b N } } } ( \mathcal { G } ) } \\ & { \quad + C _ { l } \sqrt { \frac { \ln ( 6 / \delta ) } { 2 n _ { \mathrm { U } } } } + \frac { \pi C _ { l } } { \eta } \sqrt { \frac { \ln ( 6 / \delta ) } { 2 n _ { \mathrm { P } } } } + \frac { \rho C _ { l } } { \eta } \sqrt { \frac { \ln ( 6 / \delta ) } { 2 n _ { \mathrm { b N } } } } + C _ { l } \sqrt { \zeta \epsilon } + \frac { C _ { l } } { \eta } \sqrt { ( 1 - \zeta ) \epsilon } . } \end{array}
|
| 418 |
+
$$
|
| 419 |
+
|
| 420 |
+
Finally, with probability at least $1 - \delta$ ,
|
| 421 |
+
|
| 422 |
+
$$
|
| 423 |
+
\begin{array} { r l } & { R ( \hat { g } \mathrm { P r u N } _ { , \eta , \delta } ) - R ( g ^ { * } ) } \\ & { \quad = ( R ( \hat { g } _ { \mathrm { P U W N } , \eta , \delta } ) - \hat { R } _ { \mathrm { P U B N } , \eta , \delta } ^ { - 1 } ( \hat { g } _ { \mathrm { P U W N } , \eta , \delta } ) ) } \\ & { \quad \quad + ( \hat { R } _ { \mathrm { P U B N } , \eta , \delta } ^ { - 1 } ( \hat { g } _ { \mathrm { P U W N } , \eta , \delta } ) - \hat { R } _ { \mathrm { P U B N } , \eta , \delta } ^ { - 1 } ( g ^ { * } ) ) + ( \hat { R } _ { \mathrm { P U B N } , \eta , \delta } ^ { - 1 } ( g ^ { * } ) - R ( g ^ { * } ) ) } \\ & { \quad \le \operatorname* { s u p } _ { \delta \in \widetilde { G } } \left| \hat { R } _ { \mathrm { P U B N } , \eta , \delta } ^ { - 1 } ( g ) - R ( g ) \right| + 0 + \operatorname* { s u p } _ { \delta \in \widetilde { G } } \left| \hat { R } _ { \mathrm { P U B N } , \eta , \delta } ^ { - 1 } ( g ) - R ( g ) \right| } \\ & { \quad \le 4 L _ { L } \mathfrak { P r } _ { \Omega , \eta , \delta } ( g ) + \frac { 4 \pi L } { \eta } _ { \mathfrak { R } _ { \eta } , \eta , \mathrm { P r } , \eta } ( g ) + \frac { 4 \mu L } { \eta } _ { \mathcal { I } } \mathfrak { P r } _ { \mathfrak { R U N } , \eta , \mathrm { P r } , \eta } ( g ) } \\ & { \quad \quad + 2 C _ { L } \sqrt { \frac { \ln ( 6 / \delta ) } { 2 \eta _ { \mathfrak { I U } } } } + \frac { 2 \pi C _ { L } } { \eta } \sqrt { \frac { \ln ( 6 / \delta ) } { 2 \eta _ { \mathfrak { p } } } } + \frac { 2 \mu C _ { L } } { \eta } \sqrt { \frac { \ln ( 6 / \delta ) } { 2 \eta _ { \mathfrak { p } } } } + 2 C _ { L } \sqrt { \zeta _ { \epsilon } } + \frac { 2 C _ { L } } { \eta } \sqrt { ( 1 - \zeta ) \epsilon } . } \end{array}
|
| 424 |
+
$$
|
| 425 |
+
|
| 426 |
+
The first inequality uses the definition of $\hat { g } _ { \mathrm { P U b N } , \eta , \hat { \sigma } }$ .
|
| 427 |
+
|
| 428 |
+
# B VALIDATION LOSS FOR ESTIMATION OF $\sigma$
|
| 429 |
+
|
| 430 |
+
In terms of validation we want to choose the model for $\hat { \sigma }$ such that $J _ { 0 } ( \widehat { \sigma } ) = \mathbb { E } _ { \pmb { x } \sim p ( \pmb { x } ) } [ | \widehat { \sigma } ( \pmb { x } ) - \sigma ( \pmb { x } ) | ^ { 2 } ]$ is minimized. Since $\sigma ( { \pmb x } ) p ( { \pmb x } ) = p ( { \pmb x } , s = + 1 )$ , we have
|
| 431 |
+
|
| 432 |
+
$$
|
| 433 |
+
\begin{array} { l } { { \displaystyle { J _ { 0 } ( \hat { \sigma } ) = \int ( \hat { \sigma } ( { \pmb x } ) - \sigma ( { \pmb x } ) ) ^ { 2 } p ( { \pmb x } ) d x } } } \\ { { \displaystyle ~ = \int \hat { \sigma } ( { \pmb x } ) ^ { 2 } p ( { \pmb x } ) d x - 2 \int \hat { \sigma } ( { \pmb x } ) p ( { \pmb x } , s = + 1 ) d x + \int \sigma ( { \pmb x } ) ^ { 2 } p ( { \pmb x } ) d x . } } \end{array}
|
| 434 |
+
$$
|
| 435 |
+
|
| 436 |
+
The last term does not depend on $\hat { \sigma }$ and can be ignored if we want to identify $\hat { \sigma }$ achieving the smallest $J ( \hat { \sigma } )$ . We denote by $J ( \hat { \sigma } )$ the sum of the first two terms. The middle term can be further expanded using
|
| 437 |
+
|
| 438 |
+
$$
|
| 439 |
+
\int { \hat { \sigma } } ( x ) p ( \mathbf { x } , s = + 1 ) d x = \pi \int { \hat { \sigma } } ( x ) p ( \mathbf { x } \mid y = + 1 ) d x + \rho \int { \hat { \sigma } } ( \mathbf { x } ) p ( \mathbf { x } \mid y = - 1 , s = + 1 ) d x .
|
| 440 |
+
$$
|
| 441 |
+
|
| 442 |
+
The validation loss of an estimation $\hat { \sigma }$ is then defined as
|
| 443 |
+
|
| 444 |
+
$$
|
| 445 |
+
\hat { J } ( \hat { \sigma } ) = \frac { 1 } { n _ { \mathrm { U } } } \sum _ { i = 1 } ^ { n _ { \mathrm { U } } } \hat { \sigma } ( \pmb { x } _ { i } ^ { \mathrm { U } } ) ^ { 2 } - \frac { 2 \pi } { n _ { \mathrm { P } } } \sum _ { i = 1 } ^ { n _ { \mathrm { P } } } \hat { \sigma } ( \pmb { x } _ { i } ^ { \mathrm { P } } ) - \frac { 2 \rho } { n _ { \mathrm { b N } } } \sum _ { i = 1 } ^ { n _ { \mathrm { b N } } } \hat { \sigma } ( \pmb { x } _ { i } ^ { \mathrm { b N } } ) .
|
| 446 |
+
$$
|
| 447 |
+
|
| 448 |
+
It is also possible to minimize this value directly to acquire $\hat { \sigma }$ . In our experiments we decide to learn $\hat { \sigma }$ by nnPU for a better comparison between different methods.
|
| 449 |
+
|
| 450 |
+
# C DETAILED EXPERIMENTAL SETTING
|
| 451 |
+
|
| 452 |
+
# C.1 FROM MULTICLASS TO BINARY CLASS
|
| 453 |
+
|
| 454 |
+
In the experiments we work on multiclass classification datasets. Therefore it is necessary to define the $\mathrm { \bf P }$ and $\mathbf { N }$ classes ourselves. MNIST is processed in such a way that pair numbers 0, 2, 4, 6, 8 form the P class and impair numbers 1, 3, 5, 7, 9 form the N class. Accordingly, $\pi = 0 . 4 9$ . For CIFAR-10, we consider two definitions of the P class. The first one corresponds to a quite natural task that aims to distinguish vehicles from animals. Airplane, automobile, ship and truck are therefore defined to be the $\mathrm { \bf P }$ class while the $\mathbf { N }$ class is formed by bird, cat, deer, dog, frog and horse. For the sake of diversity, we also study another task in which we attempt to distinguish the mammals from the non-mammals. The $\mathrm { \bf P }$ class is then formed by cat, deer, dog, and horse while the N class consists of the other six classes. We have $\pi = 0 . 4$ in the two cases. As for 20 Newsgroups, alt., comp., misc. and rec. make up the $\mathrm { \bf P }$ class whereas sci., soc. and talk. make up the N class. This gives $\pi = 0 . 5 6$ .
|
| 455 |
+
|
| 456 |
+
# C.2 TRAINING, VALIDATION AND TEST SET
|
| 457 |
+
|
| 458 |
+
For the three datasets, we use the standard test examples as a held-out test set. The test set size is thus of 10000 for MNIST and CIFAR-10, and 7528 for 20 Newsgroups. Regarding the training set, we sample 500, 500 and 6000 P, bN and U training examples for MNIST and 20 Newsgroups, and 1000, 1000 and $1 0 0 0 0 \mathrm { P } ,$ bN and U training examples for CIFAR-10. The validation set is always five times smaller than the training set.
|
| 459 |
+
|
| 460 |
+
# C.3 20 NEWSGROUPS PREPROCESSING
|
| 461 |
+
|
| 462 |
+
The original 20 Newsgroups dataset contains raw text data and needs to be preprocessed into text feature vectors for classification. In our experiments we borrow the pre-trained ELMo word embedding (Peters et al., 2018) from https://allennlp.org/elmo. The used 5.5B model was, according to the website, trained on a dataset of 5.5B tokens consisting of Wikipedia (1.9B) and all of the monolingual news crawl data from WMT 2008-2012 (3.6B). For each word, we concatenate the features from the three layers of the ELMo model, and for each document, as suggested in Ruckl ¨ e et al. ´ (2018), we concatenate the average, minimum, and maximum computed along the word dimension. This results in a 9216-dimensional feature vector for a single document.
|
| 463 |
+
|
| 464 |
+
# C.4 MODELS AND HYPERPARAMETERS
|
| 465 |
+
|
| 466 |
+
MNIST For MNIST, we use a standard ConvNet with ReLU. This model contains two 5x5 convolutional layers and one fully-connected layer, with each convolutional layer followed by a $2 \mathrm { x } 2 \mathrm { m a x }$ pooling. The channel sizes are 5-10-40. The model is trained for 100 epochs with a weight decay of $\mathrm { \dot { 1 } 0 ^ { - 4 } }$ . Each minibatch is made up of 10 P, 10 bN (if available) and $1 2 0 \mathrm { U }$ samples. The learning rate $\alpha \in \{ 1 0 ^ { - 2 } , 1 0 ^ { - 3 } \}$ and $\tau \in \{ 0 . 5 , 0 . 7 , 0 . 9 \}$ , $\gamma \in \{ 0 . 1 , 0 . 3 , 0 . 5 , 0 . 7 , 0 . 9 \}$ are selected with validation data.
|
| 467 |
+
|
| 468 |
+
CIFAR-10 For CIFAR-10, we train PreAct ResNet-18 (He et al., 2016) for 200 epochs and the learning rate is divided by 10 after 80 epochs and 120 epochs. This is a common practice and similar adjustment can be found in He et al. (2016). The weight decay is set to $1 0 ^ { - 4 }$ . The minibatch size is $1 / 1 0 0$ of the number of training samples, and the initial learning rate is chosen from $\lbrace 1 0 ^ { - 2 } , 1 0 ^ { - 3 } \rbrace$ . We also have $\tau \in \{ 0 . 5 , 0 . 7 , 0 . 9 \}$ and $\gamma \in \{ 0 . 1 , 0 . 3 , 0 . 5 , 0 . 7 , 0 . 9 \}$ .
|
| 469 |
+
|
| 470 |
+
20 Newsgroups For 20 Newsgroups, with the extracted features, we simply train a multilayer perceptron with two hidden layers of 300 neurons for 50 epochs. We use basically the same hyperparameters as for MNIST except that the learning rate $\alpha$ is selected from $\{ 5 \cdot 1 0 ^ { - 3 } , 1 0 ^ { - 3 } , 5 \cdot \mathrm { i } \mathrm { \dot { 0 } ^ { - 4 } } \}$ .
|
| 471 |
+
|
| 472 |
+
# D ADDITIONAL EXPERIMENTS
|
| 473 |
+
|
| 474 |
+
# D.1 WHY DOES PUBN\N OUTPERFORM NNPU ?
|
| 475 |
+
|
| 476 |
+
Our method, specifically designed for PUbN learning, naturally outperforms other baseline methods in this problem. Nonetheless, Table 1 equally shows that the proposed method when applied to PU learning, achieves significantly better performance than the state-of-the-art nnPU algorithm. Here we numerically investigate the reason behind this phenomenon.
|
| 477 |
+
|
| 478 |
+
Besides nnPU and PUbN\N, we compare with unbiased PU (uPU) learning (2). Both uPU and nnPU are learned with the sigmoid loss, learning rate $1 0 ^ { - 3 }$ for MNIST, initial learning rate $1 0 ^ { - 4 }$ for CIFAR-10, and learning rate $\mathrm { \bar { 1 0 } ^ { - 4 } }$ for 20 Newsgroups. This is because uPU learning is unstable with the logistic loss. The other parts of the experiments remain unchanged. On the test sets we compute the false positive rates, false negative rates and misclassification errors for the three methods and plot them in Figure 2. We first notice that PUbN\N still outperforms nnPU trained with the sigmoid loss. In fact, the final performance of the nnPU classifier does not change much when we replace the logistic loss with the sigmoid loss.
|
| 479 |
+
|
| 480 |
+

|
| 481 |
+
Figure 2: Comparison of uPU, nnPU and PUbN\N over the four PU learning tasks. For each task, means and standard deviations are computed based on the same 10 random samplings. Dashed lines indicate the corresponding values of the final classifiers (recall that at the end we select the model with the lowest validation loss out of all epochs).
|
| 482 |
+
|
| 483 |
+
In Kiryo et al. (2017), the authors observed that uPU overfits training data with the risk going to negative. In other words, a large portion of U samples are classified to the N class. This is confirmed in our experiments by an increase of false negative rate and decrease of false positive rate. nnPU remedies the problem by introducing the non-negative risk estimator (3). While the non-negative correction successfully prevents false negative rate from going up, it also causes more $_ \mathrm { N }$ samples to be classified as P compared to uPU. However, since the gain in terms of false negative rate is enormous, at the end nnPU achieves a lower misclassification error. By further identifying possible N samples after nnPU learning, we expect that our algorithm can yield lower false positive rate than nnPU without misclassifying too many $\mathrm { \bf P }$ samples as $_ \mathrm { N }$ as in the case of uPU. Figure 2 suggests that this is effectively the case. In particular, we observe that on MNIST, our method achieves the same false positive rate than uPU whereas its false negative rate is comparable to nnPU.
|
| 484 |
+
|
| 485 |
+
# D.2 INFLUENCE OF $\eta$ AND $\rho$
|
| 486 |
+
|
| 487 |
+
In the proposed algorithm we introduce $\eta$ to control how $\bar { R } _ { s = - 1 } ( g )$ is approximated from data and assume that $\rho = p ( y = - 1 , s = + 1 )$ is given. Here we conduct experiments to see how our method is affected by these two factors. To assess the influence of $\eta$ , from Table 1 we pick four learning tasks and we choose $\tau$ from $\{ 0 . 5 , 0 . 7 , 0 . 9 , 2 \}$ while all the other hyperparameters are fixed. Similarly to simulate the case where $\rho$ is misspecified, we replace it by $\rho ^ { \dagger } \mathbf { \bar { \rho } } \in \mathbf { \bar { \{ 0 . 8 \rho , \rho , 1 . 2 \rho \} } }$ in our learning method and run experiments with all hyperparameters being fixed to a certain value. However, we still use the true $\rho$ to compute $\eta$ from $\tau$ to ensure that we always use the same number of $\mathrm { U }$ samples in the second step of the algorithm independent of the choice of $\rho ^ { \prime }$ .
|
| 488 |
+
|
| 489 |
+
The results are reported in Table 2 and Table 3. We can see that the performance of the algorithm is sensitive to the choice of $\tau$ . With larger value of $\tau$ , more $\mathrm { U }$ data are treated as $\mathbf { N }$ data in PUbN learning, and consequently it often leads to higher false negative rate and lower false positive rate. The trade-off between these two measures is a classic problem in binary classification. In particular, when $\tau = 2$ , a lot more U samples are involved in the computation of the PUbN risk (7), but this does not allow the classifier to achieve a better performance. We also observe that there is a positive correlation between the misclassification rate and the validation loss, which confirms that the optimal value of $\eta$ can be chosen without need of unbiased $\mathbf { N }$ data.
|
| 490 |
+
|
| 491 |
+
Table 3 shows that in general slight misspecification of $\rho$ does not cause obvious degradation of the classification performance. In fact, misspecification of $\rho$ mainly affect the weights of each sample when we compute $\hat { R } _ { \mathrm { P U b N } , \eta , \hat { \sigma } }$ (due to the direct presence of $\rho$ in (7) and influence on estimating $\sigma _ { \cdot }$ ). However, as long as the variation of these weights remain in a reasonable range, the learning algorithm should yield classifiers with similar performances.
|
| 492 |
+
|
| 493 |
+
# D.3 ESTIMATING $\sigma$ FROM SEPARATE DATA
|
| 494 |
+
|
| 495 |
+
Theorem 2 suggests that $\hat { \sigma }$ should be independent from the data used to compute $\hat { R } _ { \mathrm { P U b N } , \eta , \hat { \sigma } }$ . Therefore, here we investigate the performance of our algorithm when $\hat { \sigma }$ and $g$ are optimized using different sets of data. We sample two training sets and two validation sets in such a way that they are all disjoint. The size of a single training set and a single validation set is as indicated in Appendix C.2, except for 20 Newsgroups we reduce the number of examples in a single set by half. We then use different pairs of training and validation sets to learn $\hat { \sigma }$ and $g$ . For 20 Newsgroups we also conduct standard experiments where $\hat { \sigma }$ and $g$ are learned on the same data, whereas for MNIST and CIFAR-10 we resort to Table 1.
|
| 496 |
+
|
| 497 |
+
The results are presented in Table 4. Estimating $\sigma$ from separate data does not seem to benefit much the final classification performance, despite the fact that it requires collecting twice more samples. In fact, $\hat { \bar { \cal R } } _ { s = - 1 , \eta , \hat { \sigma } } ^ { - } ( g )$ is a good approximation of $\bar { R } _ { s = - 1 , \eta , \hat { \sigma } } ^ { - } ( g )$ as long as the function $\hat { \sigma }$ is smooth enough and does not possess abrupt changes between data points. With the use of non-negative correction, validation data and L2 regularization, the resulting $\hat { \sigma }$ does not overfit training data so this should always be the case. As a consequence, even if $\hat { \sigma }$ and $g$ are learned on the same data, we are still able to achieve small generalization error with sufficient number of samples.
|
| 498 |
+
|
| 499 |
+
# D.4 ALTERNATIVE DEFINITION OF NNPNU
|
| 500 |
+
|
| 501 |
+
In subsection 2.3, we define the nnPNU algorithm by forcing the estimator of the whole $_ \mathrm { N }$ partial risk to be positive. However, notice that the term $\gamma ( 1 - \pi ) \hat { R } _ { \mathrm { N } } ^ { - } ( g )$ is always positive and the chances are that including it simply makes non-negative correction weaker and is thus harmful to the final classification performance. Therefore, here we consider an alternative definition of nnPNU where we only force the term $( 1 - \gamma ) ( \hat { R } _ { \mathrm { U } } ^ { - } ( g ) - \pi \hat { R } _ { \mathrm { P } } ^ { - } ( g ) )$ to be positive. We plug the resulting algorithm in the experiments of subsection 4.2 and summarize the results in Table 5 in which we denote the alternative version of nnPNU by $\mathrm { n n P U + P N }$ since it uses the same non-negative correction as nnPU. The table indicates that neither of the two definitions of nnPNU consistently outperforms the other.
|
| 502 |
+
|
| 503 |
+
Table 2: Results on four different PUbN learning tasks when we vary the value of $\tau$ (and accordingly, $\eta$ ). Reported are means of false positive rates (FPR), false negative rates (FNR), misclassification rates (Error), and validation losses (VLoss) over 10 trials.
|
| 504 |
+
|
| 505 |
+
<table><tr><td>Dataset</td><td>P</td><td>biased N</td><td>T</td><td>FPR</td><td>FNR</td><td>Error</td><td>VLosS</td></tr><tr><td rowspan="4">MNIST</td><td rowspan="4">2,4,6,8,10</td><td rowspan="4">1,3,5</td><td>0.5</td><td>4.79</td><td>4.32</td><td>4.56</td><td>10.11</td></tr><tr><td>0.7</td><td>3.32</td><td>4.81</td><td>4.05</td><td>9.15</td></tr><tr><td>0.9</td><td>3.29</td><td>4.40</td><td>3.83</td><td>9.30</td></tr><tr><td>2</td><td>3.38</td><td>5.32</td><td>4.33</td><td>10.68</td></tr><tr><td rowspan="4">CIFAR-10</td><td rowspan="4">Airplane, automobile, ship, truck</td><td rowspan="4">Horse > deer = frog > others</td><td>0.5</td><td>8.31</td><td>12.35</td><td>9.92</td><td>12.50</td></tr><tr><td>0.7</td><td>8.23</td><td>13.15</td><td>10.20</td><td>12.62</td></tr><tr><td>0.9</td><td>7.54</td><td>14.68</td><td>10.40</td><td>13.08</td></tr><tr><td>2</td><td>6.23</td><td>20.29</td><td>11.85</td><td>13.64</td></tr><tr><td rowspan="4">CIFAR-10</td><td rowspan="4">Cat, deer, dog, horse</td><td rowspan="4">Bird, frog</td><td>0.5</td><td>14.45</td><td>27.57</td><td>19.70</td><td>22.08</td></tr><tr><td>0.7</td><td>13.20</td><td>27.27</td><td>18.83</td><td>20.72</td></tr><tr><td>0.9</td><td>13.00</td><td>32.61</td><td>20.84</td><td>23.78</td></tr><tr><td>2</td><td>11.67</td><td>31.49</td><td>19.60</td><td>22.52</td></tr><tr><td rowspan="4">20 Newsgroups</td><td rowspan="4">alt., comp., misc., rec.</td><td rowspan="4">soc.> talk.> sci.</td><td>0.5</td><td>11.28</td><td>12.90</td><td>12.18</td><td>16.04</td></tr><tr><td>0.7</td><td>11.40</td><td>13.58</td><td>12.62</td><td>16.64</td></tr><tr><td>0.9</td><td>10.09</td><td>16.70</td><td>13.79</td><td>16.90</td></tr><tr><td>2</td><td>10.34</td><td>20.55</td><td>16.06</td><td>20.99</td></tr></table>
|
| 506 |
+
|
| 507 |
+
Table 3: Mean and standard deviation of misclassification rates over 10 trials on different PUbN learning tasks when we replace $\rho$ by $\rho ^ { \prime } \in \{ 0 . 8 \rho , \rho , 1 . 2 \rho \}$ . Underlines indicate significant degradation of performance according to the $5 \%$ t-test.
|
| 508 |
+
|
| 509 |
+
<table><tr><td rowspan="2">Dataset</td><td rowspan="2">P</td><td rowspan="2">biased N</td><td colspan="3">p/p</td></tr><tr><td>0.8</td><td>1</td><td>1.2</td></tr><tr><td rowspan="2">MNIST</td><td rowspan="2">2,4,6,8,10</td><td>1,3,5</td><td>4.10 ± 0.39</td><td>4.05 ± 0.27</td><td>4.14 ± 0.45</td></tr><tr><td>9 >5>others</td><td>3.85 ± 0.55</td><td>3.91 ± 0.66</td><td>3.94± 0.54</td></tr><tr><td rowspan="2">CIFAR-10</td><td rowspan="2">Airplane, automobile, ship, truck</td><td>Cat, dog, horse</td><td>10.23 ± 0.59</td><td>9.71 ± 0.51</td><td>10.32 ± 0.57</td></tr><tr><td>Horse V deer = frog > others</td><td>10.18 ± 0.40</td><td>9.92 ± 0.42</td><td>10.05 ± 0.59</td></tr><tr><td rowspan="2">CIFAR-10</td><td rowspan="2">Cat, deer, dog, horse</td><td>Bird, frog</td><td>18.94 ± 0.50</td><td>18.83 ± 0.71</td><td>19.06 ± 0.80</td></tr><tr><td>Car, truck</td><td>20.39 ± 1.24</td><td>20.19 ± 1.06</td><td>19.92 ± 0.89</td></tr><tr><td rowspan="3">20 Newsgroups</td><td rowspan="3">alt., comp., misc., rec.</td><td>sci.</td><td>13.49 ± 0.61</td><td>13.10 ±0.90</td><td>13.31 ± 1.05</td></tr><tr><td>talk.</td><td>12.64 ± 0.69</td><td>12.61 ± 0.75</td><td>13.77 ± 0.85</td></tr><tr><td>soc. > talk.> sci.</td><td>12.90 ± 0.79</td><td>12.18 ± 0.59</td><td>12.74 ± 0.35</td></tr></table>
|
| 510 |
+
|
| 511 |
+
It also ensures that there is always a clear superiority of our proposed PUbN algorithm compared to nnPNU despite its possible variant that is considered here.
|
| 512 |
+
|
| 513 |
+
Table 4: Mean and standard deviation of misclassification rates over 10 trials on different PUbN learning tasks with $\hat { \sigma }$ and $g$ trained using either the same or different sets of data.
|
| 514 |
+
|
| 515 |
+
<table><tr><td rowspan="2">Dataset</td><td rowspan="2">P</td><td rowspan="2">biased N</td><td colspan="2">Data for and g</td></tr><tr><td>Same</td><td>Different</td></tr><tr><td>MNIST</td><td>2,4,6,8,10</td><td>1,3,5 9 >5>others</td><td>4.05 ± 0.27 3.91 ± 0.66</td><td>3.71 ± 0.45 4.06 ± 0.36</td></tr><tr><td>CIFAR-10</td><td>Airplane, automobile, ship, truck</td><td>Cat, dog, horse Horse V deer = frog > others</td><td>9.71 ± 0.51 9.92 ± 0.42</td><td>10.00 ± 0.51 9.66 ± 0.46</td></tr><tr><td>CIFAR-10</td><td>Cat, deer, dog, horse</td><td>Bird, frog Car, truck</td><td>18.83 ± 0.71 20.19 ± 1.06</td><td>18.52 ± 0.70</td></tr><tr><td>20 Newsgroups</td><td>alt., comp., misc., rec.</td><td>sci. talk. soc. > talk. > sci.</td><td>15.61 ± 1.50 17.14 ± 1.87</td><td>19.98 ± 0.93 16.60 ± 2.38 15.80 ± 0.95</td></tr></table>
|
| 516 |
+
|
| 517 |
+
Table 5: Mean and standard deviation of misclassification rates over 10 trials on different PUbN learning tasks for the two possible definitions of the nnPNU algorithm.
|
| 518 |
+
|
| 519 |
+
<table><tr><td>Dataset</td><td>P</td><td>biased N</td><td>nnPNU</td><td>nnPU + PN</td></tr><tr><td>MNIST</td><td>2,4,6, 8, 10</td><td>1,3,5 9 >5> others</td><td>5.33 ± 0.97 4.60 ± 0.65</td><td>5.68± 0.78 5.10 ± 1.54</td></tr><tr><td>CIFAR-10</td><td>Airplane, automobile, ship, truck</td><td>Cat, dog, horse Horse V deer = frog > others</td><td>10.25 ± 0.38 9.98 ± 0.53</td><td>10.87 ± 0.62 10.77 ± 0.65</td></tr><tr><td>CIFAR-10</td><td>Cat, deer, dog, horse</td><td>Bird, frog Car, truck</td><td>22.00 ± 0.53 22.00 ± 0.74</td><td>21.41 ± 1.01 21.80 ± 0.74</td></tr><tr><td>20 Newsgroups</td><td>alt., comp., misc., rec.</td><td>sci. talk. soc. > talk.> sci.</td><td>14.69 ± 0.46 14.38 ± 0.74 14.41 ± 0.70</td><td>14.50 ± 1.32 14.71 ± 1.01 13.66 ± 0.72</td></tr></table>
|
parse/train/H1ldNoC9tX/H1ldNoC9tX_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/H1ldNoC9tX/H1ldNoC9tX_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/H1ldNoC9tX/H1ldNoC9tX_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HJMN-xWC-/HJMN-xWC-.md
ADDED
|
@@ -0,0 +1,237 @@
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# LEARNING PARSIMONIOUS DEEP FEED-FORWARD NETWORKS
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Convolutional neural networks and recurrent neural networks are designed with network structures well suited to the nature of spacial and sequential data respectively. However, the structure of standard feed-forward neural networks (FNNs) is simply a stack of fully connected layers, regardless of the feature correlations in data. In addition, the number of layers and the number of neurons are manually tuned on validation data, which is time-consuming and may lead to suboptimal networks. In this paper, we propose an unsupervised structure learning method for learning parsimonious deep FNNs. Our method determines the number of layers, the number of neurons at each layer, and the sparse connectivity between adjacent layers automatically from data. The resulting models are called Backbone-Skippath Neural Networks (BSNNs). Experiments on 17 tasks show that, in comparison with FNNs, BSNNs can achieve better or comparable classification performance with much fewer parameters. The interpretability of BSNNs is also shown to be better than that of FNNs.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Deep neural networks have made breakthroughs in all kinds of machine learning tasks (LeCun et al., 2015; Hinton et al., 2012a; Mikolov et al., 2011), specifically with convolutional neural networks (CNNs) for tasks with spacial data (Krizhevsky et al., 2012) and recurrent neural networks (RNNs) for tasks with sequential data (Sutskever et al., 2014). One of the key reasons for the effectiveness of CNNs and RNNs is the well-designed network structures together with the parameter sharing schemes. For example, in the convolution layers of CNNs, each neuron is connected to a local region in the input volume instead of all the input neurons. Besides, the neurons in the same channel share the same set of weights. This design utilizes the local and “stationary” properties of spacial data and consequently forms effective feature extractors. In addition, it also prevents CNNs from having an exploding number of parameters when the networks become deeper and deeper.
|
| 12 |
+
|
| 13 |
+
However, in practice, there are also many data which are neither spacial nor sequential, and hence the only applicable neural networks are the standard feed-forward neural networks (FNNs). In contrast to CNN and RNN, FNN’s network structure is simple. It consists of multiple layers of neurons and each layer is fully connected to the next layer up, without considering any correlations in data or among neurons. The network structure has two main shortcomings. The first is that, there can be high connection redundancies. As the number of layers and the number of neuron at each layer increase, the number of parameters increases quickly, which can cause severe overfitting. The other shortcoming is that, ignoring all the correlations existing in data weakens the model’s strength (as a feature extractor) and hurts the model’s interpretability.
|
| 14 |
+
|
| 15 |
+
We are interested in learning parsimonious deep feed-forward neural networks. The goal is to learn FNNs which contain as few parameters as possible. Parsimonious FNNs are desirable for several reasons. Firstly, fewer parameters can ease overfitting. Secondly, parsimonious FNNs require less storage and computation than FNNs, which makes it possible to be run on devices like mobile phones. Lastly, parsimonious FNNs can have very flexible and different structures from each other depending on the specific tasks and data. This would help the models fit the data well and also have good interpretability. In general, it is desirable to solve a problem using the simplest model possible because it implies a good understanding of the problem.
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
Figure 1: Model structure of Backbone-Skippath Neural Network. The wide layers with sparse connections $( x - h _ { 1 } , h _ { 1 } - h _ { 2 } )$ form the Backbone path. The narrow fully-connected layers $( x - h _ { 3 }$ , $h _ { 1 } - h _ { 3 }$ , $h _ { 2 } - h _ { 3 } )$ are the Skip-paths. The number of units at $h _ { 3 }$ is relatively smaller than that at $x$ , $h _ { 1 }$ and $h _ { 2 }$ .
|
| 19 |
+
|
| 20 |
+
Learning parsimonious FNNs is challenging mainly because we need to determine the sparse connectivity between layers. Network pruning is a potential way to achieve this. However, it requires to start from a network which is much larger than necessary for the task at hand. This can cause a lot of computations wasted on those useless connections. In addition, network pruning is not able to learn the number of units and number of layers.
|
| 21 |
+
|
| 22 |
+
In this paper, we assume that data are generated by a sparse probabilistic model with multiple layers of latent variables, and view the feed-forward network to be built as a way to approximate the relationships between the observed variables and the top-level latent variables in the probabilistic model. The level 1 latent variables induce correlations among the observed variables. Therefore, it is possible to determine them by analysing how the observed variables are correlated. Similarly, by analysing how the level 1 latent variables are correlated, we can determine the level 2 latent variables, and so on. We empirically show that our method can significantly reduce the number of parameters in FNNs, and the resulting model still achieves better or comparable results than FNNs in 17 classification tasks.
|
| 23 |
+
|
| 24 |
+
# 2 RELATED WORKS
|
| 25 |
+
|
| 26 |
+
Network Structure Learning One early attempt to learn network structure for FNNs is the approach based on constructive algorithms (Ash, 1989; Bello, 1992; Kwok & Yeung, 1997). These algorithms start from a small network and gradually add new neurons to the network until some stopping criterion are met (e.g. no more performance gain is observed). They require manuallydesigned strategies to decide how to connect new neurons to the existing network. Besides, each time when new neurons are introduced, the network needs to be retrained completely or partially. Lately, Adams et al. (2010) proposes to learn the structure of deep belief networks by using cascading Indian buffet process, which is very time-consuming. In Chen et al. (2017b), the authors propose a structure learning method, based on hierarchical latent tree analysis (Liu et al., 2014; Chen et al., 2016; 2017a), for RBM-like models. The method automatically determines the number of hidden units and the sparse connections between layers. However, it is not tested on deep models and in supervised learning tasks. Recently, reinforcement learning (Baker et al., 2017; Zoph & Le, 2017) and genetic algorithms (Real et al., 2017; Xie & Yuille, 2017) are also applied to learning complex structures for CNNs. Generally, these methods require tens of thousands of full training runs before giving a feasible network structure, which is prohibitive for many applications.
|
| 27 |
+
|
| 28 |
+
Network Pruning In contrast to constructive algorithms, network pruning starts from a large network and prune connections or neurons to achieve structure learning. Optimal Brain Damage (Cun et al., 1990) and Optimal Brain Surgeon (Hassibi et al., 1993) prune connections based on the Hessian matrix of the loss function. Recently, Han et al. (2015) proposes to conduct pruning by iteratively pruning connections with absolute weight value smaller than a threshold and retraining the network. One drawback of the method is that the retraining process is time-consuming. Guo et al. (2016) proposes Dynamic Network Surgery which conducts parameter learning and connection pruning simultaneously and avoids the retraining process. Moreover, it also allows mistakenly pruned connections to be rebuilt in subsequent training. Similar to connection pruning, neurons pruning methods are proposed and tested in Srinivas & Babu (2015); Li et al. (2017). The main drawback of all these pruning methods is that, they require to start from a network which is larger than necessary for the task at hand. This causes some wasted computations on the useless connections or neurons. In addition, the number of layers is still set manually instead of learned from data.
|
| 29 |
+
|
| 30 |
+
# 3 METHODS
|
| 31 |
+
|
| 32 |
+
In this section, we present a method for learning parsimonious deep FNNs. The method is called Parsimonious Structure Analysis (PSA). PSA learns a model which contains two parts as shown in Figure 1. The first is the main part of the model, called the Backbone. It is a wide, deep but sparse feed-forward path in the network. The second part is the Skip-paths. It consists of multiple narrow paths, each of which is a fully-connected layer. We call the resulting model Backbone-Skippath Neural Network (BSNN). We will introduce how PSA learns the Backbone and the Skip-paths in Section 3.1 and Section 3.2 respectively.
|
| 33 |
+
|
| 34 |
+
# 3.1 LEARNING THE BACKBONE
|
| 35 |
+
|
| 36 |
+
Structure learning for neural networks is challenging since generally the features in data do not always have apparent relationships as the units in convolutional networks. In a convolutional layer, units in a feature map are only connected to a group of units strongly correlated in the spacial dimension at the layer below. This significantly reduces the number of parameters in CNNs and is essential if we want to learn a very sparse structure. The same intuition can be applied to general data other than images in feed-forward neural networks. A hidden unit, detecting one particular feature such as co-occurrence pattern, should only be connected to a group of units that are strongly correlated in the layer below. However, unlike CNNs where the spatial correlation is apparent, the correlations of units in feed-forward neural networks are not easy to discover. In PSA, we propose to apply Hierarchical Latent Tree Analysis (HLTA) (Liu et al., 2014; Chen et al., 2016; 2017a) to identify the co-occurrence patterns among units and construct hidden units to explain the co-occurrence patterns.
|
| 37 |
+
|
| 38 |
+
# 3.1.1 LEARNING A TWO-LAYER STRUCTURE
|
| 39 |
+
|
| 40 |
+
PSA treats the input features as a set of isolated random variables as in Figure 3(a). Although no apparent spacial or sequential relationships exist among the variables, PSA seeks to discover the correlations among the variables and groups the highly correlated ones together. It starts from finding two most correlated variables to form one group and keeps expanding the group if necessary. Let $S$ denotes the set of observed variables which haven’t been included into any variable groups.
|
| 41 |
+
|
| 42 |
+

|
| 43 |
+
Figure 2: Example: (a) The best model with one latent variable for five observed variables. (b) The best model with two latent variables for five observed variables.
|
| 44 |
+
|
| 45 |
+

|
| 46 |
+
Figure 3: The structure learning steps of PSA. Black circles represent observed variables while white circles represent latent variables. (a) A set of observed variables. (b) Partitions the observed variables into groups. (c) Introduces a latent variable for each group and link the latent variables up as a Chow-Liu tree. (d) Converts the latent variables at layer 1 into observed variables and repeat the previous process on them. (e) Stacks the layer 2 latent variables on the top previous model.
|
| 47 |
+
|
| 48 |
+
PSA firstly computes the mutual information between each pair of observed variables. Then it picks the pair in $S$ with the highest mutual information and uses them as the seeds of a new variable group $G$ . New variables from $S$ are then added to $G$ one by one in descending order of their mutual information with variables already in $G$ . Each time when a new variable is added into $G$ , PSA builds two models $\mathcal { M } _ { 1 }$ and $\mathcal { M } _ { 2 }$ ) with $G$ as the observed variables. The two models are the best models with one single latent variable and two latent variables respectively, as shown in Figure 2. PSA computes the BIC scores of the two models and tests whether the following condition is met:
|
| 49 |
+
|
| 50 |
+
$$
|
| 51 |
+
B I C ( \mathcal { M } _ { 2 } | D ) - B I C ( \mathcal { M } _ { 1 } | D ) \leq \delta ,
|
| 52 |
+
$$
|
| 53 |
+
|
| 54 |
+
where $D$ is the dataset and $\delta$ is a threshold which is usually set at 3 (Chen et al., 2017a). When the condition is met, the two latent variable model $\mathcal { M } _ { 2 }$ is not significantly better than the one latent variable model $\mathcal { M } _ { 1 }$ . Correlations among variables in $\mathbf { G }$ are still well modeled using a single latent variable. Then PSA keeps on adding new variables to $G$ . If the test fails, PSA takes the subtree in $\mathcal { M } _ { 2 }$ which doesn’t contain the newly added variable and identifies the observed variables in it as a finalized variable group. The group is then removed from $S$ . And the above process is repeated on $S$ until all the variables in $S$ are partitioned into disjoint groups. An efficient algorithm progressive EM (Chen et al., 2016) is used to estimate the parameters in $\mathcal { M } _ { 1 }$ and $\mathcal { M } _ { 2 }$ .
|
| 55 |
+
|
| 56 |
+
As shown in Figure 2(b), after the above process, all the observed variables are partitioned into disjoint groups such that the variables in each group are strongly correlated and their correlations can be explained using a single latent variables. Then PSA introduces a latent variable for each group and computes the mutual information among the latent variables. After that, it links up the latent variables to form a Chow-Liu tree (Chow & Liu, 1968). The result is a latent tree model (Pearl, 1988; Zhang, 2004), as shown in Figure 2(c). Parameter estimation for the model is done using the EM algorithm. Since the model is tree-structured, EM is efficient in this process.
|
| 57 |
+
|
| 58 |
+

|
| 59 |
+
Figure 4: Expanding the tree structure for the Backbone path: A three-layer structure is first learned (left). New connections are added to all the layers according to empirical conditional mutual information (middle). The connections between variables at the top layer are removed and the structure is finalized (right).
|
| 60 |
+
|
| 61 |
+
# 3.1.2 LEARNING A DEEP STRUCTURE
|
| 62 |
+
|
| 63 |
+
While the above procedure gives us a one-layer network, we seek to build deep model to capture the long-range correlations among variables. We perform the construction of deep structure in a layerwise manner. Using the obtained one-layer model, PSA converts the latent variables into observed ones through data completion. With this, another layer of latent variables can be learned in the same manner as the first layer by grouping the first-layer latent variables and linking up the groups, as in Figure 2(d). Then the two models can be stacked up to form a three-layer network, with the latent variables in the higher layer capturing longer-range correlations of the observed variables. This procedure can be recursively conducted to build deep hierarchy until the number of variables at the top layer falls below a threshold $K$ . And it results in a hierarchical latent tree model (Liu et al., 2014; Chen et al., 2016; 2017a).
|
| 64 |
+
|
| 65 |
+
# 3.1.3 EXPANDING TREE STRUCTURE
|
| 66 |
+
|
| 67 |
+
While the above deep structure captures the most important correlations among the observed variables, the tree structure might cause underfitting for discovering non-trivial correlations. Thus we introduce additional links to model the salient interactions that are not captured by the tree model. For each latent variable $V _ { l }$ at level $l$ , PSA considers adding connections to link it to more nodes at level $l - 1$ . To do so, PSA considers how closely $V _ { l }$ is related to each node $V _ { l - 1 }$ at level $l - 1$ given the parent variable $Z$ of $V _ { l - 1 }$ . The strength of correlation is measured using the conditional mutual information:
|
| 68 |
+
|
| 69 |
+
$$
|
| 70 |
+
I ( V _ { l } , V _ { l - 1 } | Z ) .
|
| 71 |
+
$$
|
| 72 |
+
|
| 73 |
+
The top $N$ nodes with the highest $I ( V _ { l } , V _ { l - 1 } | Z )$ are then connected to $V _ { l }$ . After expanding the connections for all the layers, PSA removes the links among the variables at the top layer and uses the resulting structure for the Backbone. The process of expanding tree structure is illustrated in Figure 4.
|
| 74 |
+
|
| 75 |
+
# 3.2 SKIP-PATHS
|
| 76 |
+
|
| 77 |
+
Although the Backbone path is deep and wide, its sparsity can easily lead to model which cannot capture global features. For example, suppose there is an essential feature which is correlated to all the input features. When the Backbone path is very sparse, even after multiple layers of projections, it is still unlikely that there will be a feature in the model which is projected from all the input features.
|
| 78 |
+
|
| 79 |
+
To tackle the above problem, we introduce Skip-paths to our BSNN. Figure 1 shows the whole model structure of BSNN. The path from $x$ to $h _ { 2 }$ illustrates the Backbone path whose sparse structure is learned using the method we propose. To complement the the model’s power of extracting features, narrow Skip-paths $( x - h _ { 3 } , h _ { 1 } - h _ { 3 } , h _ { 2 } - h _ { 3 } )$ are added to the model. The Skip-paths take all the feature layers in the Backbone as input and compress them to layers with a small number of units through fully-connected projections.
|
| 80 |
+
|
| 81 |
+
Table 1: Statistics of all the datasets.
|
| 82 |
+
|
| 83 |
+
<table><tr><td>Dataset</td><td>Task</td><td>Classes</td><td>Training Samples</td><td>Validation Samples</td><td>Test Samples</td></tr><tr><td>Tox21</td><td>Toxicity prediction</td><td>2</td><td>6,901~ 9,154</td><td>500</td><td>516~ 622</td></tr><tr><td>Yelp Review Full</td><td>Sentiment prediction</td><td>5</td><td>640,000</td><td>10,000</td><td>50,000</td></tr><tr><td>DBPedia</td><td>Topic classification</td><td>14</td><td>549,990</td><td>10,010</td><td>70.000</td></tr><tr><td>Sogou News</td><td>Topic classification</td><td>5</td><td>440,000</td><td>10,000</td><td>60,000</td></tr><tr><td>Yahoo!Answer</td><td>Topic classification</td><td>10</td><td>1,390,000</td><td>10,000</td><td>60.000</td></tr><tr><td>AG's News</td><td>Topic classification</td><td>4</td><td>110,000</td><td>10,000</td><td>7,600</td></tr></table>
|
| 84 |
+
|
| 85 |
+
# 3.3 BUILDING BSNN
|
| 86 |
+
|
| 87 |
+
After the structure for the Backbone path and the Skip-paths are determined, a classification layer or regression layer can then be added to the top of all the paths, utilizing all the features extracted. The network can then be trained using back-propagation algorithms as in normal neural networks.
|
| 88 |
+
|
| 89 |
+
# 4 EXPERIMENTS
|
| 90 |
+
|
| 91 |
+
In experiment, we evaluate our method in 17 classification tasks. We consider applications where the data is neither spacial nor sequential. Unlike CNNs or RNNs where the structure is designed to exploit spatial or sequential correlation, few effort has been put to learn the structure of feedfoward neural networks, which have highly redudant parameters and is prone to overfit. Our proposed method learns the structure of feedforward neural network from data. It significantly reduces the model complexity and parameters while achieving better or comparable classification performance, and leads to models which are more interpretable.
|
| 92 |
+
|
| 93 |
+
# 4.1 DATASETS
|
| 94 |
+
|
| 95 |
+
Table 1 gives a summary of all the datasets used in the experiment. We choose 12 tasks for chemical compounds classification and 5 tasks for text classification. All the datasets are published by previous researchers and are available to the public.
|
| 96 |
+
|
| 97 |
+
Tox21 challenge dataset. 1 There are about 12,000 environmental chemical compounds in the dataset, each represented as its chemical structure. The tasks are to predict 12 different toxic effects for the chemical compounds. We treat them as 12 binary classification tasks. We filter out sparse features which are present in fewer than $5 \%$ compounds, and rescale the remaining 1,644 features to zero mean and unit variance. The dataset contains a training set and a test set, and we randomly sample 500 compounds from training data to build the validation set. All the experiments are run for three times and we report the average AUC together with the standard deviations.
|
| 98 |
+
|
| 99 |
+
Text classification datasets. 2 We use 5 text classification datasets from Zhang et al. (2015). After removing stop words, the top 10,000 frequent words in each dataset are selected as the vocabulary respectively and each document is represented as bag-of-words over the vocabulary. The validation set is randomly sampled from the original training samples. We run all the experiments for three times and report the average classification accuracies with the standard deviations.
|
| 100 |
+
|
| 101 |
+
Table 2: Hyper-parameters for the structure of FNNs.
|
| 102 |
+
|
| 103 |
+
<table><tr><td>Hyper-parameter</td><td>Values considered</td></tr><tr><td>Number ofhiddenunits</td><td>{512,1024,2048}</td></tr><tr><td>Number of hidden layers</td><td>{1,2,3,4}</td></tr><tr><td>Network shape</td><td>{Rectangle, Conic}</td></tr></table>
|
| 104 |
+
|
| 105 |
+
# 4.2 EXPERIMENT SETUP
|
| 106 |
+
|
| 107 |
+
We compare our model with standard feed-forward neural networks (FNNs) and sparse neural networks whose weak connections are pruned (Pruned FNNs) in the 17 classification tasks. The models involved in the experiment are as follows:
|
| 108 |
+
|
| 109 |
+
• BSNN: Backbone-Skippath Neural Network is the resulting model of our method PSA. For all the tasks, we keep only $5 \%$ of the connections in the Backbone path and limit the number of units in the narrow Skip-paths to 100. FNN: Feed-forward Neural Network is a standard fully-connected neural network. It is mainly composed of linear layers and activation functions. Each hidden unit is connected to all neurons in the previous layer. Information flows from low layers to high layers in a feed-forward manner. Pruned FNN: Pruned Feed-forward Neural Network is trained by using the method proposed in Han et al. (2015). We Firstly train a fully-connected FNN from scratch, and then prune out the weak connections with small absolute weight values. The pruned network is then retrained from the initial training phase by keeping the surviving weight parameters.
|
| 110 |
+
|
| 111 |
+
We learn the structure of BSNNs using PSA. The number of layers, the number of hidden units in each layer and the sparse connections between adjacent layers are automatically determined. After structure learning, we train the sparse model from scratch by random initialization of weights. As for FNNs, we treat the number of hidden units and number of layers as hyper-parameters of network and determine the best structure by grid-search over all the combinations using validation data. Table 2 shows the space of network structures considered. Following the method in Klambauer et al. (2017) , both “rectangle ” and “conic” network shapes are tested. In FNNs with rectangle shape, all the hidden layers have constant number of units. FNNs with conic shape start with the given number of hidden units and decrease it layer by layer in a geometric progression manner towards the output layer. For Pruned FNNs, we take the best FNNs as the initial model and perform pruning as in Han et al. (2015). The pruned model is then retrained for final model.
|
| 112 |
+
|
| 113 |
+
We implement all the experiments using PyTroch3 which is a flexible deep learning framework. We use ReLUs (Nair & Hinton, 2010; Glorot et al., 2011) as the non-linear activation functions in all the networks. Dropout (Hinton et al., 2012b; Srivastava et al., 2014) with rate 0.5 is applied after each non-linear projection. We use Adam (Kingma & Ba, 2014) as the optimizer to optimize the training objective function. During training, we select models by monitoring validation loss. Codes will be released after the paper is accepted to the conference.
|
| 114 |
+
|
| 115 |
+
# 4.3 RESULTS
|
| 116 |
+
|
| 117 |
+
# 4.3.1 BSNNS VS FNNS
|
| 118 |
+
|
| 119 |
+
Table 3 shows the classification results of BSNNs and FNNs on Tox21 dataset. The structures of FNNs are tuned individually for each task. It is clear that BSNNs achieve better AUC scores on 10 out of the 12 classification tasks. Even when it is not better, the average AUC value of BSNNs, e.g. on task SR.MMP, is also very close to that of FNNs. More importantly, BSNNs always contain much fewer parameters than FNNs, with the ratios of parameter number ranging from $7 \%$ to $4 0 . 1 1 \%$ .
|
| 120 |
+
|
| 121 |
+
Table 4 shows the results of BSNNs and FNNs over the 5 text classification tasks. Although BSNNs contain much fewer parameters than FNNs, BSNNs still achieve higher classification accuracy in the first two tasks, and comparable accuracy in the remaining tasks. Note that the ratios of parameter number ranges from $6 . 2 5 \%$ to $3 2 . 0 7 \%$ . This again confirms that our method learns good parsimonious deep models which can achieve high classification performance with much fewer parameters than standard FNNs.
|
| 122 |
+
|
| 123 |
+
Table 3: Comparison between BSNNs and FNNs on $\mathrm { T o x } 2 1$ challenge dataset. The structures of FNNs are chosen by using validation data. Each experiment is run for three times.
|
| 124 |
+
|
| 125 |
+
<table><tr><td></td><td colspan="2">BSNNs</td><td colspan="2">FNNs</td></tr><tr><td></td><td colspan="3">Parameter#/</td><td></td></tr><tr><td>Task</td><td>AUC</td><td>Ratio W.r.t FNNs</td><td>AUC</td><td>Parameter #</td></tr><tr><td>NR.AhR</td><td>0.8930± 0.0014</td><td>338K/ 37.08%</td><td>0.8843 ± 0.0030</td><td>912K</td></tr><tr><td>NR.AR</td><td>0.7316 ± 0.0245</td><td>338K/ 20.05%</td><td>0.6629 ± 0.0155</td><td>1.69M</td></tr><tr><td>NR.AR.LBD</td><td>0.7827 ± 0.0200</td><td>338K/ 20.05%</td><td>0.7216 ± 0.0245</td><td>1.69M</td></tr><tr><td>NR.Aromatase</td><td>0.7854 ± 0.0098</td><td>338K/ 40.11%</td><td>0.7834 ± 0.0046</td><td>843K</td></tr><tr><td>NR.ER</td><td>0.7804 ± 0.0042</td><td>338K/ 12.36%</td><td>0.7671 ± 0.0090</td><td>2.73M</td></tr><tr><td>NR.ER.LBD</td><td>0.7772 ± 0.0088</td><td>338K/ 20.75%</td><td>0.8145 ± 0.0035</td><td>1.63M</td></tr><tr><td>NR.PPAR.gamma</td><td>0.8232 ± 0.0019</td><td>338K/ 39.38%</td><td>0.8024 ± 0.0098</td><td>858K</td></tr><tr><td>SR.ARE</td><td>0.7877 ± 0.0036</td><td>338K/ 7.00%</td><td>0.7809 ± 0.0092</td><td>4.83M</td></tr><tr><td>SR.ATAD5</td><td>0.8188 ± 0.0085</td><td>338K/ 40.11%</td><td>0.7980 ± 0.0014</td><td>843K</td></tr><tr><td>SR.HSE</td><td>0.8330 ± 0.0053</td><td>338K/ 30.59%</td><td>0.8318 ± 0.0047</td><td>1.10M</td></tr><tr><td>SR.MMP</td><td>0.9249 ± 0.0014</td><td>338K/ 20.05%</td><td>0.9253 ± 0.0038</td><td>1.69M</td></tr><tr><td>SR.p53</td><td>0.8425 ± 0.0023</td><td>338K/ 40.11%</td><td>0.8401 ± 0.0049</td><td>843K</td></tr><tr><td>Average</td><td>0.8150 ± 0.0038</td><td>27.30%</td><td>0.8010± 0.0017</td><td></td></tr></table>
|
| 126 |
+
|
| 127 |
+
Table 4: Comparison between BSNNs and FNNs on 5 text classification datasets. The structures of FNNs are chosen by using validation data. Each experiment is run for three times.
|
| 128 |
+
|
| 129 |
+
<table><tr><td></td><td colspan="3">BSNNs</td><td colspan="2">FNNs</td></tr><tr><td>Task</td><td></td><td>Parameter#/</td><td></td><td></td><td></td></tr><tr><td>Yelp Review Full</td><td>Accuracy 59.14% ± 0.06%</td><td>Ratio w.r.t FNNs</td><td>32.07%</td><td>Accuracy</td><td>Parameter #</td></tr><tr><td>DBPedia</td><td>98.11% ± 0.03%</td><td>1.73M/ 1.78M /</td><td>17.13%</td><td>59.13% ± 0.14% 97.99% ± 0.04%</td><td>5.38M 10.36M</td></tr><tr><td>Sogou News</td><td>96.09% ± 0.06%</td><td>1.84M /</td><td>13.77%</td><td>96.12% ± 0.06%</td><td>13.39M</td></tr><tr><td>Yahoo!Answer</td><td>71.42% ± 0.06%</td><td>1.69M /</td><td>31.42%</td><td>71.84% ± 0.07 %</td><td></td></tr><tr><td>AG's News</td><td>91.39% ± 0.03%</td><td>1.81M /</td><td>6.25%</td><td>91.61% ± 0.01%</td><td>5.39M 28.88M</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>
|
| 130 |
+
|
| 131 |
+
# 4.3.2 CONTRIBUTION OF THE BACKBONE
|
| 132 |
+
|
| 133 |
+
Table 5: Comparison between BSNNs and BSNNs with only the backbone path. Tox21 Average corresponds to the result averaged over the 12 tasks in Tox21 dataset. Each experiment is run for three times.
|
| 134 |
+
|
| 135 |
+
<table><tr><td></td><td>BSNNs</td><td colspan="3">Backbone Path in BSNNs</td></tr><tr><td></td><td></td><td></td><td>Parameterratio</td><td>Parameterratio</td></tr><tr><td>Task Tox21 Average</td><td>AUC/Accuracy</td><td>AUC/Accuracy</td><td>w.r.t BSNNs</td><td>w.r.t FNNs</td></tr><tr><td>Yelp Review Full</td><td>0.8150± 0.0038 59.14% ± 0.06%</td><td>0.7839± 0.0076 58.63% ± 0.13%</td><td>30.47% 35.47%</td><td>8.32% 11.38%</td></tr><tr><td>DBPedia</td><td>98.11% ± 0.03%</td><td></td><td>36.67%</td><td></td></tr><tr><td>Sogou News</td><td>96.09% ± 0.06%</td><td>97.91% ± 0.04%</td><td>38.63%</td><td>6.28%</td></tr><tr><td>Yahoo!Answer</td><td>71.42% ± 0.06%</td><td>95.67% ± 0.04%</td><td>34.39%</td><td>5.32%</td></tr><tr><td>AG's News</td><td></td><td>69.95% ± 0.08%</td><td></td><td>10.80%</td></tr><tr><td></td><td>91.39% ± 0.03%</td><td>91.33% ± 0.03%</td><td>37.55%</td><td>2.35%</td></tr></table>
|
| 136 |
+
|
| 137 |
+
To validate our assumption that the backbone path in BSNNs captures most of the information in data and acts as a main part of the model, we remove the narrow skip-paths in BSNNs and train the model to test its performance in classification tasks. Table 5 shows the results. As we can see from the results, the backbone path alone already achieves AUC scores or accuracies which are only slightly worse than BSNNs. Note that the number of parameters in the sparse path is even much smaller than BSNNs. Compared with FNNs, the number of parameters is only $2 \%$ $11 \%$ , significantly smaller than that of FNNs. However, without the backbone, the performance of the model will be significantly worse due to the insufficient capability of the other narrow path. The results not only show the importance of the backbone path in BSNNs, but also shows that our structure learning method in the backbone path is effective enough.
|
| 138 |
+
|
| 139 |
+
Table 6: AUC scores of BSNNs, BSNN-FCs and Pruned FNNs on Tox21 dataset. For each task, better result between BSNNs and BSNN-FCs is underlined, while better result between BSNNs and Pruned FNNs is bold.
|
| 140 |
+
|
| 141 |
+
<table><tr><td>Task</td><td>BSNNs</td><td>BSNN-FCs</td><td>Pruned FNNs</td></tr><tr><td>NR.AhR</td><td>0.8930± 0.0014</td><td>0.8910±0.0014</td><td>0.8845 ± 0.0047</td></tr><tr><td>NR.AR</td><td>0.7316 ± 0.0245</td><td>0.6780 ± 0.0252</td><td>0.6660 ± 0.0206</td></tr><tr><td>NR.AR.LBD</td><td>0.7827 ± 0.0200</td><td>0.7796 ± 0.0136</td><td>0.7475 ± 0.0356</td></tr><tr><td>NR.Aromatase</td><td>0.7854 ± 0.0098</td><td>0.7757 ± 0.0124</td><td>0.7782 ± 0.0069</td></tr><tr><td>NR.ER</td><td>0.7804 士 0.0042</td><td>0.7693 ± 0.0049</td><td>0.7767 ± 0.0059</td></tr><tr><td>NR.ER.LBD</td><td>0.7772 士 0.0088</td><td>0.7970 ± 0.0057</td><td>0.8054 ± 0.0071</td></tr><tr><td>NR.PPAR.gamma</td><td>0.8232 士 0.0019</td><td>0.8136 ±0.0032</td><td>0.7803 ± 0.0045</td></tr><tr><td>SR.ARE</td><td>0.7877 士 0.0036</td><td>0.7771 士 0.0058</td><td>0.7812 ± 0.0024</td></tr><tr><td>SR.ATAD5</td><td>0.8188 士 0.0085</td><td>0.8162 士 :0.0062</td><td>0.7924 ± 0.0051</td></tr><tr><td>SR.HSE</td><td>0.8330 ± 0.0053</td><td>0.8453 土 0.0072</td><td>0.8308 ± 0.0103</td></tr><tr><td>SR.MMP</td><td>0.9249 ± 0.0014</td><td>0.9219 ±0.0004</td><td>0.9262 ± 0.0036</td></tr><tr><td>SR.p53</td><td>0.8425 ± 0.0023</td><td>0.8194± :0.0010</td><td>0.8278 ± 0.0090</td></tr><tr><td></td><td></td><td></td><td></td></tr><tr><td>Average</td><td>0.8150± 0.0038</td><td>0.8070± 0.0002</td><td>0.7998 ± 0.0034</td></tr></table>
|
| 142 |
+
|
| 143 |
+
# 4.3.3 EFFECTIVENESS OF OUR STRUCTURE LEARNING
|
| 144 |
+
|
| 145 |
+
To further show the effectiveness of our structure learning method, we introduce a new model called BSNN-FC. For each specific task, the structure of BSNN-FC is completely the same as that of BSNN, except that the layers in the sparse Backbone path are changed to fully-connected layers. We train BSNN-FC for all the tasks in Tox21 dataset and the results are shown in Table 6. From the table we can see that, although BSNN keeps only $5 \%$ of the connections in the sparse path, it gives classification results which are very similar to that of BSNN-FC. It shows that our structure learning method successfully removes the useless connections in BSNN-FC.
|
| 146 |
+
|
| 147 |
+
We also compare BSNNs with Pruned FNNs whose weak connections are pruned using the method in Han et al. (2015). We start from the fully pretrained FNNs reported in Table 3, and prune the connections with the smallest absolute weight values. After pruning, the number of remaining parameters in each FNN is the same as that in the corresponding BSNN for the same task. The comparison between BSNNs and pruned FNNs is shown in Table 6. Again BSNNs give higher AUC scores than pruned FNNs in 10 of the 12 classification tasks.
|
| 148 |
+
|
| 149 |
+
# 4.3.4 INTERPRETABILITY
|
| 150 |
+
|
| 151 |
+
Next we compare the interpretability of BSNNs with FNNs and Pruned FNNs on the text datasets. Here is how we interpret hidden units. We feed the data to the networks and do forward propagation to get the values of the hidden units corresponding to each data sample. Then for each hidden unit, we sort the words in descending order of the correlations between the words and the hidden unit. The top 10 words with the highest correlations are chosen to characterize the hidden unit. Following Chen et al. (2017b), we measure the interpretability of a hidden unit by considering how similar pairs of words in the top-10 list are. The similarity between two words is determined using a word2vec model (Mikolov et al., 2013a;b) trained on part of the Google News datasets, where each word is mapped to a high dimensional vector. The similarity between two words is defined as the cosine similarity of the two corresponding vectors. High similarity suggests that the two words appear in similar contexts. The interpretability score of a hidden unit is defined as the compactness of its characterizing words and is computed as the average similarity of all pairs of words. The interpretability score of a model is defined as the average of interpretability scores of all hidden units.
|
| 152 |
+
|
| 153 |
+
Table 7: Interpretability scores of BSNNS, FNNs and Pruned FNNs on different datasets
|
| 154 |
+
|
| 155 |
+
<table><tr><td>Task</td><td>BSNNs</td><td>FNNs</td><td>Pruned FNNs</td></tr><tr><td>Yelp Review Full</td><td>0.1632</td><td>0.1117</td><td>0.1</td></tr><tr><td>DBPedia</td><td>0.0609</td><td>0.0497</td><td>0.0553</td></tr><tr><td>Yahoo!Answer</td><td>0.1729</td><td>0.1632</td><td>0.1553</td></tr><tr><td>AG's News</td><td>0.0531</td><td>0.0595</td><td>0.0561</td></tr></table>
|
| 156 |
+
|
| 157 |
+
Table 8: Qualitative interpretability results of hidden units in BSNNs. Each line corresponds to one hidden unit.
|
| 158 |
+
|
| 159 |
+
<table><tr><td>Task</td><td>BSNNs</td></tr><tr><td>Yelp Review Full</td><td>tastelessunseasoned flavorlessblandlacked paprika panko crusts unagi crumb vindaloo tortas spicey wink drapes</td></tr><tr><td>DBPedia</td><td>album songwriting chet saxophone thrash hurling backstroke badminton skier outfelder journalists hardcover editors reprinted republished</td></tr><tr><td>Yahoo!Answer</td><td>harddrive antispyware wifi mcafee routers javascript linux tcp linksys laptops romantic dating foreplay flirt boyfriend</td></tr><tr><td>AG's News</td><td>mozilla mainframe designs collaborate microprocessors republicans prosecutor argument jfk protesters noted furious harsh concessions apologizes</td></tr></table>
|
| 160 |
+
|
| 161 |
+
Table 7 reports the interpretability scores of BSNNs, FNNs and Pruned FNNs for different datasets. Sogounews dataset is not included in the experiment since its vocabulary are Chinese pingyin characters and most of them do not appear in the Google News word2vec model. We measure the interpretability scores by considering the top-layer hidden units. For the fair of comparison, all models have approximately the same number of top-layer hidden units. As it can be seen that BSNNs significantly outperform the FNNs and Pruned FNNs in most cases and is comparable if not better, showing superior coherency and compactness in the characterizations of the hidden units and thus better model interpretability. Pruned FNNs, on the other hand, reduce the interpretability of FNNs with the pruning strategy. Table 8 shows the qualitative interpretability results by presenting the characterization words of hidden units with high interpretability scores in BSNNs. The hidden units are very meaningful for different datasets. For example, in Yelp Review dataset, the first hidden unit represents negative opinions on food with words “tasteless” and“flavorless”; the second hidden unit is more related to food like “paprika”, “crust” and “unagi”. In DBPedia, the first hidden unit is found out to have closer relationship with music, while the second one is more closely related to sport. Similar phenomena can be found in the rest of the table. This shows that the proposed BSNNs, with the statistical property, have better model interpretability and make a step further towards understandable deep learning models.
|
| 162 |
+
|
| 163 |
+
# 5 CONCLUSIONS
|
| 164 |
+
|
| 165 |
+
Structure learning for deep neural network is a challenging and interesting research problem. We have proposed an unsupervised structure learning method which utilizes the correlation information in data for learning parsimonious deep feed-forward networks. In comparison with standard FNN, although the resulting model of our method contains much fewer parameters, it achieves better or comparable classification performance in all kinds of tasks. Our method is also shown to learn models with better interpretability, which is also an important problem in deep learning. In the future, we will generalize our method to other networks like RNNs and CNNs.
|
| 166 |
+
|
| 167 |
+
# REFERENCES
|
| 168 |
+
|
| 169 |
+
Ryan Prescott Adams, Hanna M Wallach, and Zoubin Ghahramani. Learning the structure of deep sparse graphical models. In AISTATS, 2010.
|
| 170 |
+
|
| 171 |
+
Timur Ash. Dynamic node creation in backpropagation networks. Connection science, 1(4):365– 375, 1989.
|
| 172 |
+
|
| 173 |
+
Bowen Baker, Otkrist Gupta, Nikhil Naik, and Ramesh Raskar. Designing neural network architectures using reinforcement learning. In ICLR, 2017.
|
| 174 |
+
|
| 175 |
+
Martin G Bello. Enhanced training algorithms, and integrated training/architecture selection for multilayer perceptron networks. IEEE Transactions on Neural networks, 3(6):864–875, 1992.
|
| 176 |
+
|
| 177 |
+
Peixian Chen, Nevin L Zhang, Leonard KM Poon, and Zhourong Chen. Progressive em for latent tree models and hierarchical topic detection. In AAAI, 2016.
|
| 178 |
+
|
| 179 |
+
Peixian Chen, Nevin L Zhang, Tengfei Liu, Leonard KM Poon, Zhourong Chen, and Farhan Khawar. Latent tree models for hierarchical topic detection. Artificial Intelligence, 250:105–124, 2017a.
|
| 180 |
+
|
| 181 |
+
Zhourong Chen, Nevin L Zhang, Dit-Yan Yeung, and Peixian Chen. Sparse boltzmann machines with structure learning as applied to text analysis. In AAAI, 2017b.
|
| 182 |
+
|
| 183 |
+
C Chow and Cong Liu. Approximating discrete probability distributions with dependence trees. IEEE transactions on Information Theory, 14(3):462–467, 1968.
|
| 184 |
+
|
| 185 |
+
Yann Le Cun, John S. Denker, and Sara A. Solla. Optimal brain damage. In NIPS, 1990.
|
| 186 |
+
|
| 187 |
+
Xavier Glorot, Antoine Bordes, and Yoshua Bengio. Deep sparse rectifier neural networks. In AISTATS, 2011.
|
| 188 |
+
|
| 189 |
+
Yiwen Guo, Anbang Yao, and Yurong Chen. Dynamic network surgery for efficient dnns. In NIPS, 2016.
|
| 190 |
+
|
| 191 |
+
Song Han, Jeff Pool, John Tran, and William Dally. Learning both weights and connections for efficient neural network. In NIPS, 2015.
|
| 192 |
+
|
| 193 |
+
Babak Hassibi, David G. Stork, and Stork Crc. Ricoh. Com. Second order derivatives for network pruning: Optimal brain surgeon. In NIPS, 1993.
|
| 194 |
+
|
| 195 |
+
Geoffrey E Hinton, Li Deng, Dong Yu, George E Dahl, Abdel-rahman Mohamed, Navdeep Jaitly, Andrew Senior, Vincent Vanhoucke, Patrick Nguyen, Tara N Sainath, et al. Deep neural networks for acoustic modeling in speech recognition: The shared views of four research groups. IEEE Signal Processing Magazine, 29(6):82–97, 2012a.
|
| 196 |
+
|
| 197 |
+
Geoffrey E Hinton, Nitish Srivastava, Alex Krizhevsky, Ilya Sutskever, and Ruslan R Salakhutdinov. Improving neural networks by preventing co-adaptation of feature detectors. arXiv preprint arXiv:1207.0580, 2012b.
|
| 198 |
+
|
| 199 |
+
Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 200 |
+
|
| 201 |
+
Gunter Klambauer, Thomas Unterthiner, Andreas Mayr, and Sepp Hochreiter. Self-normalizing ¨ neural networks. In NIPS, 2017.
|
| 202 |
+
|
| 203 |
+
Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In NIPS, 2012.
|
| 204 |
+
|
| 205 |
+
Tin-Yau Kwok and Dit-Yan Yeung. Constructive algorithms for structure learning in feedforward neural networks for regression problems. IEEE Transactions on Neural Networks, 8(3):630–645, 1997.
|
| 206 |
+
|
| 207 |
+
Yann LeCun, Yoshua Bengio, and Geoffrey Hinton. Deep learning. Nature, 521(7553):436–444, 2015.
|
| 208 |
+
|
| 209 |
+
Hao Li, Asim Kadav, Igor Durdanovic, Hanan Samet, and Hans Peter Graf. Pruning filters for efficient convnets. In ICLR, 2017.
|
| 210 |
+
|
| 211 |
+
Tengfei Liu, Nevin L. Zhang, and Peixian Chen. Hierarchical latent tree analysis for topic detection. In ECML/PKDD, 2014.
|
| 212 |
+
|
| 213 |
+
Toma´s Mikolov, Anoop Deoras, Daniel Povey, Luk ˇ a´s Burget, and Jan ˇ Cernock ˇ y. Strategies for \` training large scale neural network language models. In IEEE Workshop on Automatic Speech Recognition and Understanding, pp. 196–201, 2011.
|
| 214 |
+
|
| 215 |
+
Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. Efficient estimation of word representations in vector space. In International Conference on Learning Representations Workshops, 2013a.
|
| 216 |
+
|
| 217 |
+
Tomas Mikolov, Ilya Sutskever, Kai Chen, Gregory S. Corrado, and Jeffrey Dean. Distributed representations of words and phrases and their compositionality. In NIPS, 2013b.
|
| 218 |
+
|
| 219 |
+
Vinod Nair and Geoffrey E Hinton. Rectified linear units improve restricted boltzmann machines. In ICML, 2010.
|
| 220 |
+
|
| 221 |
+
Judea Pearl. Probabilistic Reasoning in Intelligent Systems: Networks of Plausible Inference. Morgan Kaufmann Publishers Inc., San Francisco, CA, USA, 1988. ISBN 0-934613-73-7.
|
| 222 |
+
|
| 223 |
+
Esteban Real, Sherry Moore, Andrew Selle, Saurabh Saxena, Yutaka Leon Suematsu, Quoc Le, and Alex Kurakin. Large-scale evolution of image classifiers. In ICML, 2017.
|
| 224 |
+
|
| 225 |
+
Suraj Srinivas and R. Venkatesh Babu. Data-free parameter pruning for deep neural networks. In Proceedings of the British Machine Vision Conference, 2015.
|
| 226 |
+
|
| 227 |
+
Nitish Srivastava, Geoffrey E Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: a simple way to prevent neural networks from overfitting. Journal of machine learning research, 15(1):1929–1958, 2014.
|
| 228 |
+
|
| 229 |
+
Ilya Sutskever, Oriol Vinyals, and Quoc V Le. Sequence to sequence learning with neural networks. In NIPS, 2014.
|
| 230 |
+
|
| 231 |
+
Lingxi Xie and Alan Yuille. Genetic cnn. arXiv preprint arXiv:1703.01513, 2017.
|
| 232 |
+
|
| 233 |
+
Nevin L Zhang. Hierarchical latent class models for cluster analysis. Journal of Machine Learning Research, 5(6):697–723, 2004.
|
| 234 |
+
|
| 235 |
+
Xiang Zhang, Junbo Zhao, and Yann LeCun. Character-level convolutional networks for text classification. In NIPS, 2015.
|
| 236 |
+
|
| 237 |
+
Barret Zoph and Quoc V Le. Neural architecture search with reinforcement learning. In ICLR, 2017.
|
parse/train/HJMN-xWC-/HJMN-xWC-_content_list.json
ADDED
|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| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
170,
|
| 20 |
+
400,
|
| 21 |
+
198
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
234,
|
| 32 |
+
544,
|
| 33 |
+
250
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Convolutional neural networks and recurrent neural networks are designed with network structures well suited to the nature of spacial and sequential data respectively. However, the structure of standard feed-forward neural networks (FNNs) is simply a stack of fully connected layers, regardless of the feature correlations in data. In addition, the number of layers and the number of neurons are manually tuned on validation data, which is time-consuming and may lead to suboptimal networks. In this paper, we propose an unsupervised structure learning method for learning parsimonious deep FNNs. Our method determines the number of layers, the number of neurons at each layer, and the sparse connectivity between adjacent layers automatically from data. The resulting models are called Backbone-Skippath Neural Networks (BSNNs). Experiments on 17 tasks show that, in comparison with FNNs, BSNNs can achieve better or comparable classification performance with much fewer parameters. The interpretability of BSNNs is also shown to be better than that of FNNs. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
270,
|
| 43 |
+
764,
|
| 44 |
+
463
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
500,
|
| 55 |
+
336,
|
| 56 |
+
515
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Deep neural networks have made breakthroughs in all kinds of machine learning tasks (LeCun et al., 2015; Hinton et al., 2012a; Mikolov et al., 2011), specifically with convolutional neural networks (CNNs) for tasks with spacial data (Krizhevsky et al., 2012) and recurrent neural networks (RNNs) for tasks with sequential data (Sutskever et al., 2014). One of the key reasons for the effectiveness of CNNs and RNNs is the well-designed network structures together with the parameter sharing schemes. For example, in the convolution layers of CNNs, each neuron is connected to a local region in the input volume instead of all the input neurons. Besides, the neurons in the same channel share the same set of weights. This design utilizes the local and “stationary” properties of spacial data and consequently forms effective feature extractors. In addition, it also prevents CNNs from having an exploding number of parameters when the networks become deeper and deeper. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
534,
|
| 66 |
+
825,
|
| 67 |
+
674
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "However, in practice, there are also many data which are neither spacial nor sequential, and hence the only applicable neural networks are the standard feed-forward neural networks (FNNs). In contrast to CNN and RNN, FNN’s network structure is simple. It consists of multiple layers of neurons and each layer is fully connected to the next layer up, without considering any correlations in data or among neurons. The network structure has two main shortcomings. The first is that, there can be high connection redundancies. As the number of layers and the number of neuron at each layer increase, the number of parameters increases quickly, which can cause severe overfitting. The other shortcoming is that, ignoring all the correlations existing in data weakens the model’s strength (as a feature extractor) and hurts the model’s interpretability. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
680,
|
| 77 |
+
825,
|
| 78 |
+
805
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "We are interested in learning parsimonious deep feed-forward neural networks. The goal is to learn FNNs which contain as few parameters as possible. Parsimonious FNNs are desirable for several reasons. Firstly, fewer parameters can ease overfitting. Secondly, parsimonious FNNs require less storage and computation than FNNs, which makes it possible to be run on devices like mobile phones. Lastly, parsimonious FNNs can have very flexible and different structures from each other depending on the specific tasks and data. This would help the models fit the data well and also have good interpretability. In general, it is desirable to solve a problem using the simplest model possible because it implies a good understanding of the problem. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
813,
|
| 88 |
+
823,
|
| 89 |
+
924
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "image",
|
| 95 |
+
"img_path": "images/333a9c4fb5cf8f596a69bdbdee6d7260ec7ae00c48fb7d378637c2ab79ff8d0c.jpg",
|
| 96 |
+
"image_caption": [
|
| 97 |
+
"Figure 1: Model structure of Backbone-Skippath Neural Network. The wide layers with sparse connections $( x - h _ { 1 } , h _ { 1 } - h _ { 2 } )$ form the Backbone path. The narrow fully-connected layers $( x - h _ { 3 }$ , $h _ { 1 } - h _ { 3 }$ , $h _ { 2 } - h _ { 3 } )$ are the Skip-paths. The number of units at $h _ { 3 }$ is relatively smaller than that at $x$ , $h _ { 1 }$ and $h _ { 2 }$ . "
|
| 98 |
+
],
|
| 99 |
+
"image_footnote": [],
|
| 100 |
+
"bbox": [
|
| 101 |
+
292,
|
| 102 |
+
99,
|
| 103 |
+
709,
|
| 104 |
+
337
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "Learning parsimonious FNNs is challenging mainly because we need to determine the sparse connectivity between layers. Network pruning is a potential way to achieve this. However, it requires to start from a network which is much larger than necessary for the task at hand. This can cause a lot of computations wasted on those useless connections. In addition, network pruning is not able to learn the number of units and number of layers. ",
|
| 111 |
+
"bbox": [
|
| 112 |
+
174,
|
| 113 |
+
448,
|
| 114 |
+
825,
|
| 115 |
+
518
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "In this paper, we assume that data are generated by a sparse probabilistic model with multiple layers of latent variables, and view the feed-forward network to be built as a way to approximate the relationships between the observed variables and the top-level latent variables in the probabilistic model. The level 1 latent variables induce correlations among the observed variables. Therefore, it is possible to determine them by analysing how the observed variables are correlated. Similarly, by analysing how the level 1 latent variables are correlated, we can determine the level 2 latent variables, and so on. We empirically show that our method can significantly reduce the number of parameters in FNNs, and the resulting model still achieves better or comparable results than FNNs in 17 classification tasks. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
173,
|
| 124 |
+
525,
|
| 125 |
+
825,
|
| 126 |
+
650
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "2 RELATED WORKS ",
|
| 133 |
+
"text_level": 1,
|
| 134 |
+
"bbox": [
|
| 135 |
+
176,
|
| 136 |
+
679,
|
| 137 |
+
354,
|
| 138 |
+
695
|
| 139 |
+
],
|
| 140 |
+
"page_idx": 1
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"type": "text",
|
| 144 |
+
"text": "Network Structure Learning One early attempt to learn network structure for FNNs is the approach based on constructive algorithms (Ash, 1989; Bello, 1992; Kwok & Yeung, 1997). These algorithms start from a small network and gradually add new neurons to the network until some stopping criterion are met (e.g. no more performance gain is observed). They require manuallydesigned strategies to decide how to connect new neurons to the existing network. Besides, each time when new neurons are introduced, the network needs to be retrained completely or partially. Lately, Adams et al. (2010) proposes to learn the structure of deep belief networks by using cascading Indian buffet process, which is very time-consuming. In Chen et al. (2017b), the authors propose a structure learning method, based on hierarchical latent tree analysis (Liu et al., 2014; Chen et al., 2016; 2017a), for RBM-like models. The method automatically determines the number of hidden units and the sparse connections between layers. However, it is not tested on deep models and in supervised learning tasks. Recently, reinforcement learning (Baker et al., 2017; Zoph & Le, 2017) and genetic algorithms (Real et al., 2017; Xie & Yuille, 2017) are also applied to learning complex structures for CNNs. Generally, these methods require tens of thousands of full training runs before giving a feasible network structure, which is prohibitive for many applications. ",
|
| 145 |
+
"bbox": [
|
| 146 |
+
173,
|
| 147 |
+
715,
|
| 148 |
+
825,
|
| 149 |
+
924
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "text",
|
| 155 |
+
"text": "Network Pruning In contrast to constructive algorithms, network pruning starts from a large network and prune connections or neurons to achieve structure learning. Optimal Brain Damage (Cun et al., 1990) and Optimal Brain Surgeon (Hassibi et al., 1993) prune connections based on the Hessian matrix of the loss function. Recently, Han et al. (2015) proposes to conduct pruning by iteratively pruning connections with absolute weight value smaller than a threshold and retraining the network. One drawback of the method is that the retraining process is time-consuming. Guo et al. (2016) proposes Dynamic Network Surgery which conducts parameter learning and connection pruning simultaneously and avoids the retraining process. Moreover, it also allows mistakenly pruned connections to be rebuilt in subsequent training. Similar to connection pruning, neurons pruning methods are proposed and tested in Srinivas & Babu (2015); Li et al. (2017). The main drawback of all these pruning methods is that, they require to start from a network which is larger than necessary for the task at hand. This causes some wasted computations on the useless connections or neurons. In addition, the number of layers is still set manually instead of learned from data. ",
|
| 156 |
+
"bbox": [
|
| 157 |
+
174,
|
| 158 |
+
103,
|
| 159 |
+
823,
|
| 160 |
+
297
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 2
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "3 METHODS ",
|
| 167 |
+
"text_level": 1,
|
| 168 |
+
"bbox": [
|
| 169 |
+
174,
|
| 170 |
+
318,
|
| 171 |
+
290,
|
| 172 |
+
335
|
| 173 |
+
],
|
| 174 |
+
"page_idx": 2
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"type": "text",
|
| 178 |
+
"text": "In this section, we present a method for learning parsimonious deep FNNs. The method is called Parsimonious Structure Analysis (PSA). PSA learns a model which contains two parts as shown in Figure 1. The first is the main part of the model, called the Backbone. It is a wide, deep but sparse feed-forward path in the network. The second part is the Skip-paths. It consists of multiple narrow paths, each of which is a fully-connected layer. We call the resulting model Backbone-Skippath Neural Network (BSNN). We will introduce how PSA learns the Backbone and the Skip-paths in Section 3.1 and Section 3.2 respectively. ",
|
| 179 |
+
"bbox": [
|
| 180 |
+
174,
|
| 181 |
+
349,
|
| 182 |
+
825,
|
| 183 |
+
448
|
| 184 |
+
],
|
| 185 |
+
"page_idx": 2
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"type": "text",
|
| 189 |
+
"text": "3.1 LEARNING THE BACKBONE ",
|
| 190 |
+
"text_level": 1,
|
| 191 |
+
"bbox": [
|
| 192 |
+
176,
|
| 193 |
+
465,
|
| 194 |
+
405,
|
| 195 |
+
479
|
| 196 |
+
],
|
| 197 |
+
"page_idx": 2
|
| 198 |
+
},
|
| 199 |
+
{
|
| 200 |
+
"type": "text",
|
| 201 |
+
"text": "Structure learning for neural networks is challenging since generally the features in data do not always have apparent relationships as the units in convolutional networks. In a convolutional layer, units in a feature map are only connected to a group of units strongly correlated in the spacial dimension at the layer below. This significantly reduces the number of parameters in CNNs and is essential if we want to learn a very sparse structure. The same intuition can be applied to general data other than images in feed-forward neural networks. A hidden unit, detecting one particular feature such as co-occurrence pattern, should only be connected to a group of units that are strongly correlated in the layer below. However, unlike CNNs where the spatial correlation is apparent, the correlations of units in feed-forward neural networks are not easy to discover. In PSA, we propose to apply Hierarchical Latent Tree Analysis (HLTA) (Liu et al., 2014; Chen et al., 2016; 2017a) to identify the co-occurrence patterns among units and construct hidden units to explain the co-occurrence patterns. ",
|
| 202 |
+
"bbox": [
|
| 203 |
+
174,
|
| 204 |
+
492,
|
| 205 |
+
825,
|
| 206 |
+
659
|
| 207 |
+
],
|
| 208 |
+
"page_idx": 2
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"type": "text",
|
| 212 |
+
"text": "3.1.1 LEARNING A TWO-LAYER STRUCTURE ",
|
| 213 |
+
"text_level": 1,
|
| 214 |
+
"bbox": [
|
| 215 |
+
174,
|
| 216 |
+
674,
|
| 217 |
+
495,
|
| 218 |
+
688
|
| 219 |
+
],
|
| 220 |
+
"page_idx": 2
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"type": "text",
|
| 224 |
+
"text": "PSA treats the input features as a set of isolated random variables as in Figure 3(a). Although no apparent spacial or sequential relationships exist among the variables, PSA seeks to discover the correlations among the variables and groups the highly correlated ones together. It starts from finding two most correlated variables to form one group and keeps expanding the group if necessary. Let $S$ denotes the set of observed variables which haven’t been included into any variable groups. ",
|
| 225 |
+
"bbox": [
|
| 226 |
+
173,
|
| 227 |
+
699,
|
| 228 |
+
825,
|
| 229 |
+
768
|
| 230 |
+
],
|
| 231 |
+
"page_idx": 2
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"type": "image",
|
| 235 |
+
"img_path": "images/b90b7261dcbb1cd8991ccd4cc59a9bf00375b867b45504166123254c9987295e.jpg",
|
| 236 |
+
"image_caption": [
|
| 237 |
+
"Figure 2: Example: (a) The best model with one latent variable for five observed variables. (b) The best model with two latent variables for five observed variables. "
|
| 238 |
+
],
|
| 239 |
+
"image_footnote": [],
|
| 240 |
+
"bbox": [
|
| 241 |
+
313,
|
| 242 |
+
792,
|
| 243 |
+
681,
|
| 244 |
+
871
|
| 245 |
+
],
|
| 246 |
+
"page_idx": 2
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"type": "image",
|
| 250 |
+
"img_path": "images/af2b0fbfa98ce86a5194cc77219ca1cc12f14dbfa0f6baa3ee868b062112e634.jpg",
|
| 251 |
+
"image_caption": [
|
| 252 |
+
"Figure 3: The structure learning steps of PSA. Black circles represent observed variables while white circles represent latent variables. (a) A set of observed variables. (b) Partitions the observed variables into groups. (c) Introduces a latent variable for each group and link the latent variables up as a Chow-Liu tree. (d) Converts the latent variables at layer 1 into observed variables and repeat the previous process on them. (e) Stacks the layer 2 latent variables on the top previous model. "
|
| 253 |
+
],
|
| 254 |
+
"image_footnote": [],
|
| 255 |
+
"bbox": [
|
| 256 |
+
312,
|
| 257 |
+
98,
|
| 258 |
+
686,
|
| 259 |
+
508
|
| 260 |
+
],
|
| 261 |
+
"page_idx": 3
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"type": "text",
|
| 265 |
+
"text": "PSA firstly computes the mutual information between each pair of observed variables. Then it picks the pair in $S$ with the highest mutual information and uses them as the seeds of a new variable group $G$ . New variables from $S$ are then added to $G$ one by one in descending order of their mutual information with variables already in $G$ . Each time when a new variable is added into $G$ , PSA builds two models $\\mathcal { M } _ { 1 }$ and $\\mathcal { M } _ { 2 }$ ) with $G$ as the observed variables. The two models are the best models with one single latent variable and two latent variables respectively, as shown in Figure 2. PSA computes the BIC scores of the two models and tests whether the following condition is met: ",
|
| 266 |
+
"bbox": [
|
| 267 |
+
173,
|
| 268 |
+
621,
|
| 269 |
+
825,
|
| 270 |
+
719
|
| 271 |
+
],
|
| 272 |
+
"page_idx": 3
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"type": "equation",
|
| 276 |
+
"img_path": "images/6549e666debe5b54b4f4cdaf15c305e8205669d9edc88ead5a99bee2f9751250.jpg",
|
| 277 |
+
"text": "$$\nB I C ( \\mathcal { M } _ { 2 } | D ) - B I C ( \\mathcal { M } _ { 1 } | D ) \\leq \\delta ,\n$$",
|
| 278 |
+
"text_format": "latex",
|
| 279 |
+
"bbox": [
|
| 280 |
+
377,
|
| 281 |
+
726,
|
| 282 |
+
619,
|
| 283 |
+
743
|
| 284 |
+
],
|
| 285 |
+
"page_idx": 3
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"type": "text",
|
| 289 |
+
"text": "where $D$ is the dataset and $\\delta$ is a threshold which is usually set at 3 (Chen et al., 2017a). When the condition is met, the two latent variable model $\\mathcal { M } _ { 2 }$ is not significantly better than the one latent variable model $\\mathcal { M } _ { 1 }$ . Correlations among variables in $\\mathbf { G }$ are still well modeled using a single latent variable. Then PSA keeps on adding new variables to $G$ . If the test fails, PSA takes the subtree in $\\mathcal { M } _ { 2 }$ which doesn’t contain the newly added variable and identifies the observed variables in it as a finalized variable group. The group is then removed from $S$ . And the above process is repeated on $S$ until all the variables in $S$ are partitioned into disjoint groups. An efficient algorithm progressive EM (Chen et al., 2016) is used to estimate the parameters in $\\mathcal { M } _ { 1 }$ and $\\mathcal { M } _ { 2 }$ . ",
|
| 290 |
+
"bbox": [
|
| 291 |
+
173,
|
| 292 |
+
748,
|
| 293 |
+
825,
|
| 294 |
+
861
|
| 295 |
+
],
|
| 296 |
+
"page_idx": 3
|
| 297 |
+
},
|
| 298 |
+
{
|
| 299 |
+
"type": "text",
|
| 300 |
+
"text": "As shown in Figure 2(b), after the above process, all the observed variables are partitioned into disjoint groups such that the variables in each group are strongly correlated and their correlations can be explained using a single latent variables. Then PSA introduces a latent variable for each group and computes the mutual information among the latent variables. After that, it links up the latent variables to form a Chow-Liu tree (Chow & Liu, 1968). The result is a latent tree model (Pearl, 1988; Zhang, 2004), as shown in Figure 2(c). Parameter estimation for the model is done using the EM algorithm. Since the model is tree-structured, EM is efficient in this process. ",
|
| 301 |
+
"bbox": [
|
| 302 |
+
174,
|
| 303 |
+
867,
|
| 304 |
+
823,
|
| 305 |
+
924
|
| 306 |
+
],
|
| 307 |
+
"page_idx": 3
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"type": "image",
|
| 311 |
+
"img_path": "images/fee4c49cd7403a11a15dde2a7df33190ba7cb78e6c98a466dde56e925944bf34.jpg",
|
| 312 |
+
"image_caption": [
|
| 313 |
+
"Figure 4: Expanding the tree structure for the Backbone path: A three-layer structure is first learned (left). New connections are added to all the layers according to empirical conditional mutual information (middle). The connections between variables at the top layer are removed and the structure is finalized (right). "
|
| 314 |
+
],
|
| 315 |
+
"image_footnote": [],
|
| 316 |
+
"bbox": [
|
| 317 |
+
166,
|
| 318 |
+
118,
|
| 319 |
+
813,
|
| 320 |
+
188
|
| 321 |
+
],
|
| 322 |
+
"page_idx": 4
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"type": "text",
|
| 326 |
+
"text": "",
|
| 327 |
+
"bbox": [
|
| 328 |
+
174,
|
| 329 |
+
303,
|
| 330 |
+
823,
|
| 331 |
+
345
|
| 332 |
+
],
|
| 333 |
+
"page_idx": 4
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "text",
|
| 337 |
+
"text": "3.1.2 LEARNING A DEEP STRUCTURE ",
|
| 338 |
+
"text_level": 1,
|
| 339 |
+
"bbox": [
|
| 340 |
+
176,
|
| 341 |
+
362,
|
| 342 |
+
447,
|
| 343 |
+
377
|
| 344 |
+
],
|
| 345 |
+
"page_idx": 4
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"type": "text",
|
| 349 |
+
"text": "While the above procedure gives us a one-layer network, we seek to build deep model to capture the long-range correlations among variables. We perform the construction of deep structure in a layerwise manner. Using the obtained one-layer model, PSA converts the latent variables into observed ones through data completion. With this, another layer of latent variables can be learned in the same manner as the first layer by grouping the first-layer latent variables and linking up the groups, as in Figure 2(d). Then the two models can be stacked up to form a three-layer network, with the latent variables in the higher layer capturing longer-range correlations of the observed variables. This procedure can be recursively conducted to build deep hierarchy until the number of variables at the top layer falls below a threshold $K$ . And it results in a hierarchical latent tree model (Liu et al., 2014; Chen et al., 2016; 2017a). ",
|
| 350 |
+
"bbox": [
|
| 351 |
+
173,
|
| 352 |
+
387,
|
| 353 |
+
825,
|
| 354 |
+
526
|
| 355 |
+
],
|
| 356 |
+
"page_idx": 4
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"type": "text",
|
| 360 |
+
"text": "3.1.3 EXPANDING TREE STRUCTURE ",
|
| 361 |
+
"text_level": 1,
|
| 362 |
+
"bbox": [
|
| 363 |
+
176,
|
| 364 |
+
544,
|
| 365 |
+
442,
|
| 366 |
+
558
|
| 367 |
+
],
|
| 368 |
+
"page_idx": 4
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "text",
|
| 372 |
+
"text": "While the above deep structure captures the most important correlations among the observed variables, the tree structure might cause underfitting for discovering non-trivial correlations. Thus we introduce additional links to model the salient interactions that are not captured by the tree model. For each latent variable $V _ { l }$ at level $l$ , PSA considers adding connections to link it to more nodes at level $l - 1$ . To do so, PSA considers how closely $V _ { l }$ is related to each node $V _ { l - 1 }$ at level $l - 1$ given the parent variable $Z$ of $V _ { l - 1 }$ . The strength of correlation is measured using the conditional mutual information: ",
|
| 373 |
+
"bbox": [
|
| 374 |
+
173,
|
| 375 |
+
569,
|
| 376 |
+
825,
|
| 377 |
+
666
|
| 378 |
+
],
|
| 379 |
+
"page_idx": 4
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "equation",
|
| 383 |
+
"img_path": "images/0785c4bef9cf5e059b3d9855f2ef454e8b7c1d947e4b81cbdab84b3f7f10b5f4.jpg",
|
| 384 |
+
"text": "$$\nI ( V _ { l } , V _ { l - 1 } | Z ) .\n$$",
|
| 385 |
+
"text_format": "latex",
|
| 386 |
+
"bbox": [
|
| 387 |
+
449,
|
| 388 |
+
666,
|
| 389 |
+
549,
|
| 390 |
+
684
|
| 391 |
+
],
|
| 392 |
+
"page_idx": 4
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"type": "text",
|
| 396 |
+
"text": "The top $N$ nodes with the highest $I ( V _ { l } , V _ { l - 1 } | Z )$ are then connected to $V _ { l }$ . After expanding the connections for all the layers, PSA removes the links among the variables at the top layer and uses the resulting structure for the Backbone. The process of expanding tree structure is illustrated in Figure 4. ",
|
| 397 |
+
"bbox": [
|
| 398 |
+
174,
|
| 399 |
+
689,
|
| 400 |
+
825,
|
| 401 |
+
746
|
| 402 |
+
],
|
| 403 |
+
"page_idx": 4
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"type": "text",
|
| 407 |
+
"text": "3.2 SKIP-PATHS ",
|
| 408 |
+
"text_level": 1,
|
| 409 |
+
"bbox": [
|
| 410 |
+
174,
|
| 411 |
+
765,
|
| 412 |
+
295,
|
| 413 |
+
779
|
| 414 |
+
],
|
| 415 |
+
"page_idx": 4
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"type": "text",
|
| 419 |
+
"text": "Although the Backbone path is deep and wide, its sparsity can easily lead to model which cannot capture global features. For example, suppose there is an essential feature which is correlated to all the input features. When the Backbone path is very sparse, even after multiple layers of projections, it is still unlikely that there will be a feature in the model which is projected from all the input features. ",
|
| 420 |
+
"bbox": [
|
| 421 |
+
174,
|
| 422 |
+
790,
|
| 423 |
+
825,
|
| 424 |
+
861
|
| 425 |
+
],
|
| 426 |
+
"page_idx": 4
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"type": "text",
|
| 430 |
+
"text": "To tackle the above problem, we introduce Skip-paths to our BSNN. Figure 1 shows the whole model structure of BSNN. The path from $x$ to $h _ { 2 }$ illustrates the Backbone path whose sparse structure is learned using the method we propose. To complement the the model’s power of extracting features, narrow Skip-paths $( x - h _ { 3 } , h _ { 1 } - h _ { 3 } , h _ { 2 } - h _ { 3 } )$ are added to the model. The Skip-paths take all the feature layers in the Backbone as input and compress them to layers with a small number of units through fully-connected projections. ",
|
| 431 |
+
"bbox": [
|
| 432 |
+
174,
|
| 433 |
+
867,
|
| 434 |
+
825,
|
| 435 |
+
924
|
| 436 |
+
],
|
| 437 |
+
"page_idx": 4
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"type": "table",
|
| 441 |
+
"img_path": "images/2e7cad3d180a7d9e7aa9f1a89deab091cff10184235de007f7eeb5829e94fb98.jpg",
|
| 442 |
+
"table_caption": [
|
| 443 |
+
"Table 1: Statistics of all the datasets. "
|
| 444 |
+
],
|
| 445 |
+
"table_footnote": [],
|
| 446 |
+
"table_body": "<table><tr><td>Dataset</td><td>Task</td><td>Classes</td><td>Training Samples</td><td>Validation Samples</td><td>Test Samples</td></tr><tr><td>Tox21</td><td>Toxicity prediction</td><td>2</td><td>6,901~ 9,154</td><td>500</td><td>516~ 622</td></tr><tr><td>Yelp Review Full</td><td>Sentiment prediction</td><td>5</td><td>640,000</td><td>10,000</td><td>50,000</td></tr><tr><td>DBPedia</td><td>Topic classification</td><td>14</td><td>549,990</td><td>10,010</td><td>70.000</td></tr><tr><td>Sogou News</td><td>Topic classification</td><td>5</td><td>440,000</td><td>10,000</td><td>60,000</td></tr><tr><td>Yahoo!Answer</td><td>Topic classification</td><td>10</td><td>1,390,000</td><td>10,000</td><td>60.000</td></tr><tr><td>AG's News</td><td>Topic classification</td><td>4</td><td>110,000</td><td>10,000</td><td>7,600</td></tr></table>",
|
| 447 |
+
"bbox": [
|
| 448 |
+
176,
|
| 449 |
+
130,
|
| 450 |
+
823,
|
| 451 |
+
246
|
| 452 |
+
],
|
| 453 |
+
"page_idx": 5
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"type": "text",
|
| 457 |
+
"text": "",
|
| 458 |
+
"bbox": [
|
| 459 |
+
174,
|
| 460 |
+
281,
|
| 461 |
+
823,
|
| 462 |
+
309
|
| 463 |
+
],
|
| 464 |
+
"page_idx": 5
|
| 465 |
+
},
|
| 466 |
+
{
|
| 467 |
+
"type": "text",
|
| 468 |
+
"text": "3.3 BUILDING BSNN ",
|
| 469 |
+
"text_level": 1,
|
| 470 |
+
"bbox": [
|
| 471 |
+
176,
|
| 472 |
+
333,
|
| 473 |
+
338,
|
| 474 |
+
348
|
| 475 |
+
],
|
| 476 |
+
"page_idx": 5
|
| 477 |
+
},
|
| 478 |
+
{
|
| 479 |
+
"type": "text",
|
| 480 |
+
"text": "After the structure for the Backbone path and the Skip-paths are determined, a classification layer or regression layer can then be added to the top of all the paths, utilizing all the features extracted. The network can then be trained using back-propagation algorithms as in normal neural networks. ",
|
| 481 |
+
"bbox": [
|
| 482 |
+
176,
|
| 483 |
+
363,
|
| 484 |
+
825,
|
| 485 |
+
405
|
| 486 |
+
],
|
| 487 |
+
"page_idx": 5
|
| 488 |
+
},
|
| 489 |
+
{
|
| 490 |
+
"type": "text",
|
| 491 |
+
"text": "4 EXPERIMENTS ",
|
| 492 |
+
"text_level": 1,
|
| 493 |
+
"bbox": [
|
| 494 |
+
176,
|
| 495 |
+
433,
|
| 496 |
+
326,
|
| 497 |
+
448
|
| 498 |
+
],
|
| 499 |
+
"page_idx": 5
|
| 500 |
+
},
|
| 501 |
+
{
|
| 502 |
+
"type": "text",
|
| 503 |
+
"text": "In experiment, we evaluate our method in 17 classification tasks. We consider applications where the data is neither spacial nor sequential. Unlike CNNs or RNNs where the structure is designed to exploit spatial or sequential correlation, few effort has been put to learn the structure of feedfoward neural networks, which have highly redudant parameters and is prone to overfit. Our proposed method learns the structure of feedforward neural network from data. It significantly reduces the model complexity and parameters while achieving better or comparable classification performance, and leads to models which are more interpretable. ",
|
| 504 |
+
"bbox": [
|
| 505 |
+
174,
|
| 506 |
+
468,
|
| 507 |
+
825,
|
| 508 |
+
565
|
| 509 |
+
],
|
| 510 |
+
"page_idx": 5
|
| 511 |
+
},
|
| 512 |
+
{
|
| 513 |
+
"type": "text",
|
| 514 |
+
"text": "4.1 DATASETS ",
|
| 515 |
+
"text_level": 1,
|
| 516 |
+
"bbox": [
|
| 517 |
+
174,
|
| 518 |
+
590,
|
| 519 |
+
287,
|
| 520 |
+
604
|
| 521 |
+
],
|
| 522 |
+
"page_idx": 5
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"type": "text",
|
| 526 |
+
"text": "Table 1 gives a summary of all the datasets used in the experiment. We choose 12 tasks for chemical compounds classification and 5 tasks for text classification. All the datasets are published by previous researchers and are available to the public. ",
|
| 527 |
+
"bbox": [
|
| 528 |
+
174,
|
| 529 |
+
618,
|
| 530 |
+
823,
|
| 531 |
+
660
|
| 532 |
+
],
|
| 533 |
+
"page_idx": 5
|
| 534 |
+
},
|
| 535 |
+
{
|
| 536 |
+
"type": "text",
|
| 537 |
+
"text": "Tox21 challenge dataset. 1 There are about 12,000 environmental chemical compounds in the dataset, each represented as its chemical structure. The tasks are to predict 12 different toxic effects for the chemical compounds. We treat them as 12 binary classification tasks. We filter out sparse features which are present in fewer than $5 \\%$ compounds, and rescale the remaining 1,644 features to zero mean and unit variance. The dataset contains a training set and a test set, and we randomly sample 500 compounds from training data to build the validation set. All the experiments are run for three times and we report the average AUC together with the standard deviations. ",
|
| 538 |
+
"bbox": [
|
| 539 |
+
174,
|
| 540 |
+
683,
|
| 541 |
+
825,
|
| 542 |
+
781
|
| 543 |
+
],
|
| 544 |
+
"page_idx": 5
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"type": "text",
|
| 548 |
+
"text": "Text classification datasets. 2 We use 5 text classification datasets from Zhang et al. (2015). After removing stop words, the top 10,000 frequent words in each dataset are selected as the vocabulary respectively and each document is represented as bag-of-words over the vocabulary. The validation set is randomly sampled from the original training samples. We run all the experiments for three times and report the average classification accuracies with the standard deviations. ",
|
| 549 |
+
"bbox": [
|
| 550 |
+
174,
|
| 551 |
+
803,
|
| 552 |
+
823,
|
| 553 |
+
872
|
| 554 |
+
],
|
| 555 |
+
"page_idx": 5
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"type": "table",
|
| 559 |
+
"img_path": "images/8723225d3ef8da221ab0fb1fa7033585ef91ef255a8fa29b0bc8749d82b2fdf0.jpg",
|
| 560 |
+
"table_caption": [
|
| 561 |
+
"Table 2: Hyper-parameters for the structure of FNNs. "
|
| 562 |
+
],
|
| 563 |
+
"table_footnote": [],
|
| 564 |
+
"table_body": "<table><tr><td>Hyper-parameter</td><td>Values considered</td></tr><tr><td>Number ofhiddenunits</td><td>{512,1024,2048}</td></tr><tr><td>Number of hidden layers</td><td>{1,2,3,4}</td></tr><tr><td>Network shape</td><td>{Rectangle, Conic}</td></tr></table>",
|
| 565 |
+
"bbox": [
|
| 566 |
+
331,
|
| 567 |
+
131,
|
| 568 |
+
665,
|
| 569 |
+
190
|
| 570 |
+
],
|
| 571 |
+
"page_idx": 6
|
| 572 |
+
},
|
| 573 |
+
{
|
| 574 |
+
"type": "text",
|
| 575 |
+
"text": "4.2 EXPERIMENT SETUP ",
|
| 576 |
+
"text_level": 1,
|
| 577 |
+
"bbox": [
|
| 578 |
+
174,
|
| 579 |
+
223,
|
| 580 |
+
357,
|
| 581 |
+
237
|
| 582 |
+
],
|
| 583 |
+
"page_idx": 6
|
| 584 |
+
},
|
| 585 |
+
{
|
| 586 |
+
"type": "text",
|
| 587 |
+
"text": "We compare our model with standard feed-forward neural networks (FNNs) and sparse neural networks whose weak connections are pruned (Pruned FNNs) in the 17 classification tasks. The models involved in the experiment are as follows: ",
|
| 588 |
+
"bbox": [
|
| 589 |
+
176,
|
| 590 |
+
250,
|
| 591 |
+
823,
|
| 592 |
+
291
|
| 593 |
+
],
|
| 594 |
+
"page_idx": 6
|
| 595 |
+
},
|
| 596 |
+
{
|
| 597 |
+
"type": "text",
|
| 598 |
+
"text": "• BSNN: Backbone-Skippath Neural Network is the resulting model of our method PSA. For all the tasks, we keep only $5 \\%$ of the connections in the Backbone path and limit the number of units in the narrow Skip-paths to 100. FNN: Feed-forward Neural Network is a standard fully-connected neural network. It is mainly composed of linear layers and activation functions. Each hidden unit is connected to all neurons in the previous layer. Information flows from low layers to high layers in a feed-forward manner. Pruned FNN: Pruned Feed-forward Neural Network is trained by using the method proposed in Han et al. (2015). We Firstly train a fully-connected FNN from scratch, and then prune out the weak connections with small absolute weight values. The pruned network is then retrained from the initial training phase by keeping the surviving weight parameters. ",
|
| 599 |
+
"bbox": [
|
| 600 |
+
215,
|
| 601 |
+
304,
|
| 602 |
+
825,
|
| 603 |
+
468
|
| 604 |
+
],
|
| 605 |
+
"page_idx": 6
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"type": "text",
|
| 609 |
+
"text": "We learn the structure of BSNNs using PSA. The number of layers, the number of hidden units in each layer and the sparse connections between adjacent layers are automatically determined. After structure learning, we train the sparse model from scratch by random initialization of weights. As for FNNs, we treat the number of hidden units and number of layers as hyper-parameters of network and determine the best structure by grid-search over all the combinations using validation data. Table 2 shows the space of network structures considered. Following the method in Klambauer et al. (2017) , both “rectangle ” and “conic” network shapes are tested. In FNNs with rectangle shape, all the hidden layers have constant number of units. FNNs with conic shape start with the given number of hidden units and decrease it layer by layer in a geometric progression manner towards the output layer. For Pruned FNNs, we take the best FNNs as the initial model and perform pruning as in Han et al. (2015). The pruned model is then retrained for final model. ",
|
| 610 |
+
"bbox": [
|
| 611 |
+
173,
|
| 612 |
+
481,
|
| 613 |
+
825,
|
| 614 |
+
633
|
| 615 |
+
],
|
| 616 |
+
"page_idx": 6
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"type": "text",
|
| 620 |
+
"text": "We implement all the experiments using PyTroch3 which is a flexible deep learning framework. We use ReLUs (Nair & Hinton, 2010; Glorot et al., 2011) as the non-linear activation functions in all the networks. Dropout (Hinton et al., 2012b; Srivastava et al., 2014) with rate 0.5 is applied after each non-linear projection. We use Adam (Kingma & Ba, 2014) as the optimizer to optimize the training objective function. During training, we select models by monitoring validation loss. Codes will be released after the paper is accepted to the conference. ",
|
| 621 |
+
"bbox": [
|
| 622 |
+
174,
|
| 623 |
+
640,
|
| 624 |
+
825,
|
| 625 |
+
723
|
| 626 |
+
],
|
| 627 |
+
"page_idx": 6
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "text",
|
| 631 |
+
"text": "4.3 RESULTS ",
|
| 632 |
+
"text_level": 1,
|
| 633 |
+
"bbox": [
|
| 634 |
+
174,
|
| 635 |
+
742,
|
| 636 |
+
277,
|
| 637 |
+
756
|
| 638 |
+
],
|
| 639 |
+
"page_idx": 6
|
| 640 |
+
},
|
| 641 |
+
{
|
| 642 |
+
"type": "text",
|
| 643 |
+
"text": "4.3.1 BSNNS VS FNNS ",
|
| 644 |
+
"text_level": 1,
|
| 645 |
+
"bbox": [
|
| 646 |
+
176,
|
| 647 |
+
767,
|
| 648 |
+
352,
|
| 649 |
+
782
|
| 650 |
+
],
|
| 651 |
+
"page_idx": 6
|
| 652 |
+
},
|
| 653 |
+
{
|
| 654 |
+
"type": "text",
|
| 655 |
+
"text": "Table 3 shows the classification results of BSNNs and FNNs on Tox21 dataset. The structures of FNNs are tuned individually for each task. It is clear that BSNNs achieve better AUC scores on 10 out of the 12 classification tasks. Even when it is not better, the average AUC value of BSNNs, e.g. on task SR.MMP, is also very close to that of FNNs. More importantly, BSNNs always contain much fewer parameters than FNNs, with the ratios of parameter number ranging from $7 \\%$ to $4 0 . 1 1 \\%$ . ",
|
| 656 |
+
"bbox": [
|
| 657 |
+
174,
|
| 658 |
+
792,
|
| 659 |
+
825,
|
| 660 |
+
863
|
| 661 |
+
],
|
| 662 |
+
"page_idx": 6
|
| 663 |
+
},
|
| 664 |
+
{
|
| 665 |
+
"type": "text",
|
| 666 |
+
"text": "Table 4 shows the results of BSNNs and FNNs over the 5 text classification tasks. Although BSNNs contain much fewer parameters than FNNs, BSNNs still achieve higher classification accuracy in the first two tasks, and comparable accuracy in the remaining tasks. Note that the ratios of parameter number ranges from $6 . 2 5 \\%$ to $3 2 . 0 7 \\%$ . This again confirms that our method learns good parsimonious deep models which can achieve high classification performance with much fewer parameters than standard FNNs. ",
|
| 667 |
+
"bbox": [
|
| 668 |
+
176,
|
| 669 |
+
869,
|
| 670 |
+
823,
|
| 671 |
+
898
|
| 672 |
+
],
|
| 673 |
+
"page_idx": 6
|
| 674 |
+
},
|
| 675 |
+
{
|
| 676 |
+
"type": "table",
|
| 677 |
+
"img_path": "images/3994f291cb7012f619e48fa0433fb91477d0d775feff0c0a89a41bf9c87b8189.jpg",
|
| 678 |
+
"table_caption": [
|
| 679 |
+
"Table 3: Comparison between BSNNs and FNNs on $\\mathrm { T o x } 2 1$ challenge dataset. The structures of FNNs are chosen by using validation data. Each experiment is run for three times. "
|
| 680 |
+
],
|
| 681 |
+
"table_footnote": [],
|
| 682 |
+
"table_body": "<table><tr><td></td><td colspan=\"2\">BSNNs</td><td colspan=\"2\">FNNs</td></tr><tr><td></td><td colspan=\"3\">Parameter#/</td><td></td></tr><tr><td>Task</td><td>AUC</td><td>Ratio W.r.t FNNs</td><td>AUC</td><td>Parameter #</td></tr><tr><td>NR.AhR</td><td>0.8930± 0.0014</td><td>338K/ 37.08%</td><td>0.8843 ± 0.0030</td><td>912K</td></tr><tr><td>NR.AR</td><td>0.7316 ± 0.0245</td><td>338K/ 20.05%</td><td>0.6629 ± 0.0155</td><td>1.69M</td></tr><tr><td>NR.AR.LBD</td><td>0.7827 ± 0.0200</td><td>338K/ 20.05%</td><td>0.7216 ± 0.0245</td><td>1.69M</td></tr><tr><td>NR.Aromatase</td><td>0.7854 ± 0.0098</td><td>338K/ 40.11%</td><td>0.7834 ± 0.0046</td><td>843K</td></tr><tr><td>NR.ER</td><td>0.7804 ± 0.0042</td><td>338K/ 12.36%</td><td>0.7671 ± 0.0090</td><td>2.73M</td></tr><tr><td>NR.ER.LBD</td><td>0.7772 ± 0.0088</td><td>338K/ 20.75%</td><td>0.8145 ± 0.0035</td><td>1.63M</td></tr><tr><td>NR.PPAR.gamma</td><td>0.8232 ± 0.0019</td><td>338K/ 39.38%</td><td>0.8024 ± 0.0098</td><td>858K</td></tr><tr><td>SR.ARE</td><td>0.7877 ± 0.0036</td><td>338K/ 7.00%</td><td>0.7809 ± 0.0092</td><td>4.83M</td></tr><tr><td>SR.ATAD5</td><td>0.8188 ± 0.0085</td><td>338K/ 40.11%</td><td>0.7980 ± 0.0014</td><td>843K</td></tr><tr><td>SR.HSE</td><td>0.8330 ± 0.0053</td><td>338K/ 30.59%</td><td>0.8318 ± 0.0047</td><td>1.10M</td></tr><tr><td>SR.MMP</td><td>0.9249 ± 0.0014</td><td>338K/ 20.05%</td><td>0.9253 ± 0.0038</td><td>1.69M</td></tr><tr><td>SR.p53</td><td>0.8425 ± 0.0023</td><td>338K/ 40.11%</td><td>0.8401 ± 0.0049</td><td>843K</td></tr><tr><td>Average</td><td>0.8150 ± 0.0038</td><td>27.30%</td><td>0.8010± 0.0017</td><td></td></tr></table>",
|
| 683 |
+
"bbox": [
|
| 684 |
+
179,
|
| 685 |
+
145,
|
| 686 |
+
818,
|
| 687 |
+
372
|
| 688 |
+
],
|
| 689 |
+
"page_idx": 7
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"type": "table",
|
| 693 |
+
"img_path": "images/cf2921ff83f18239f5ac8d2966e2c0dfdfa8baaa5e6db1bc11c1a76ce6e5ae4c.jpg",
|
| 694 |
+
"table_caption": [
|
| 695 |
+
"Table 4: Comparison between BSNNs and FNNs on 5 text classification datasets. The structures of FNNs are chosen by using validation data. Each experiment is run for three times. "
|
| 696 |
+
],
|
| 697 |
+
"table_footnote": [],
|
| 698 |
+
"table_body": "<table><tr><td></td><td colspan=\"3\">BSNNs</td><td colspan=\"2\">FNNs</td></tr><tr><td>Task</td><td></td><td>Parameter#/</td><td></td><td></td><td></td></tr><tr><td>Yelp Review Full</td><td>Accuracy 59.14% ± 0.06%</td><td>Ratio w.r.t FNNs</td><td>32.07%</td><td>Accuracy</td><td>Parameter #</td></tr><tr><td>DBPedia</td><td>98.11% ± 0.03%</td><td>1.73M/ 1.78M /</td><td>17.13%</td><td>59.13% ± 0.14% 97.99% ± 0.04%</td><td>5.38M 10.36M</td></tr><tr><td>Sogou News</td><td>96.09% ± 0.06%</td><td>1.84M /</td><td>13.77%</td><td>96.12% ± 0.06%</td><td>13.39M</td></tr><tr><td>Yahoo!Answer</td><td>71.42% ± 0.06%</td><td>1.69M /</td><td>31.42%</td><td>71.84% ± 0.07 %</td><td></td></tr><tr><td>AG's News</td><td>91.39% ± 0.03%</td><td>1.81M /</td><td>6.25%</td><td>91.61% ± 0.01%</td><td>5.39M 28.88M</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>",
|
| 699 |
+
"bbox": [
|
| 700 |
+
173,
|
| 701 |
+
444,
|
| 702 |
+
825,
|
| 703 |
+
561
|
| 704 |
+
],
|
| 705 |
+
"page_idx": 7
|
| 706 |
+
},
|
| 707 |
+
{
|
| 708 |
+
"type": "text",
|
| 709 |
+
"text": "",
|
| 710 |
+
"bbox": [
|
| 711 |
+
174,
|
| 712 |
+
590,
|
| 713 |
+
825,
|
| 714 |
+
646
|
| 715 |
+
],
|
| 716 |
+
"page_idx": 7
|
| 717 |
+
},
|
| 718 |
+
{
|
| 719 |
+
"type": "text",
|
| 720 |
+
"text": "4.3.2 CONTRIBUTION OF THE BACKBONE ",
|
| 721 |
+
"text_level": 1,
|
| 722 |
+
"bbox": [
|
| 723 |
+
176,
|
| 724 |
+
661,
|
| 725 |
+
475,
|
| 726 |
+
676
|
| 727 |
+
],
|
| 728 |
+
"page_idx": 7
|
| 729 |
+
},
|
| 730 |
+
{
|
| 731 |
+
"type": "table",
|
| 732 |
+
"img_path": "images/ae462a69b977c69b17cbd318d9dd4116db9f80b58cfd8eb07abef5d2469bc618.jpg",
|
| 733 |
+
"table_caption": [
|
| 734 |
+
"Table 5: Comparison between BSNNs and BSNNs with only the backbone path. Tox21 Average corresponds to the result averaged over the 12 tasks in Tox21 dataset. Each experiment is run for three times. "
|
| 735 |
+
],
|
| 736 |
+
"table_footnote": [],
|
| 737 |
+
"table_body": "<table><tr><td></td><td>BSNNs</td><td colspan=\"3\">Backbone Path in BSNNs</td></tr><tr><td></td><td></td><td></td><td>Parameterratio</td><td>Parameterratio</td></tr><tr><td>Task Tox21 Average</td><td>AUC/Accuracy</td><td>AUC/Accuracy</td><td>w.r.t BSNNs</td><td>w.r.t FNNs</td></tr><tr><td>Yelp Review Full</td><td>0.8150± 0.0038 59.14% ± 0.06%</td><td>0.7839± 0.0076 58.63% ± 0.13%</td><td>30.47% 35.47%</td><td>8.32% 11.38%</td></tr><tr><td>DBPedia</td><td>98.11% ± 0.03%</td><td></td><td>36.67%</td><td></td></tr><tr><td>Sogou News</td><td>96.09% ± 0.06%</td><td>97.91% ± 0.04%</td><td>38.63%</td><td>6.28%</td></tr><tr><td>Yahoo!Answer</td><td>71.42% ± 0.06%</td><td>95.67% ± 0.04%</td><td>34.39%</td><td>5.32%</td></tr><tr><td>AG's News</td><td></td><td>69.95% ± 0.08%</td><td></td><td>10.80%</td></tr><tr><td></td><td>91.39% ± 0.03%</td><td>91.33% ± 0.03%</td><td>37.55%</td><td>2.35%</td></tr></table>",
|
| 738 |
+
"bbox": [
|
| 739 |
+
178,
|
| 740 |
+
744,
|
| 741 |
+
821,
|
| 742 |
+
875
|
| 743 |
+
],
|
| 744 |
+
"page_idx": 7
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "text",
|
| 748 |
+
"text": "To validate our assumption that the backbone path in BSNNs captures most of the information in data and acts as a main part of the model, we remove the narrow skip-paths in BSNNs and train the model to test its performance in classification tasks. Table 5 shows the results. As we can see from the results, the backbone path alone already achieves AUC scores or accuracies which are only slightly worse than BSNNs. Note that the number of parameters in the sparse path is even much smaller than BSNNs. Compared with FNNs, the number of parameters is only $2 \\%$ $11 \\%$ , significantly smaller than that of FNNs. However, without the backbone, the performance of the model will be significantly worse due to the insufficient capability of the other narrow path. The results not only show the importance of the backbone path in BSNNs, but also shows that our structure learning method in the backbone path is effective enough. ",
|
| 749 |
+
"bbox": [
|
| 750 |
+
173,
|
| 751 |
+
895,
|
| 752 |
+
825,
|
| 753 |
+
924
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 7
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "text",
|
| 759 |
+
"text": "",
|
| 760 |
+
"bbox": [
|
| 761 |
+
174,
|
| 762 |
+
103,
|
| 763 |
+
825,
|
| 764 |
+
215
|
| 765 |
+
],
|
| 766 |
+
"page_idx": 8
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "table",
|
| 770 |
+
"img_path": "images/c20e3fc5eea7c0b8bf58f212aaa759e7482d1585dfaa07e29486232484d70675.jpg",
|
| 771 |
+
"table_caption": [
|
| 772 |
+
"Table 6: AUC scores of BSNNs, BSNN-FCs and Pruned FNNs on Tox21 dataset. For each task, better result between BSNNs and BSNN-FCs is underlined, while better result between BSNNs and Pruned FNNs is bold. "
|
| 773 |
+
],
|
| 774 |
+
"table_footnote": [],
|
| 775 |
+
"table_body": "<table><tr><td>Task</td><td>BSNNs</td><td>BSNN-FCs</td><td>Pruned FNNs</td></tr><tr><td>NR.AhR</td><td>0.8930± 0.0014</td><td>0.8910±0.0014</td><td>0.8845 ± 0.0047</td></tr><tr><td>NR.AR</td><td>0.7316 ± 0.0245</td><td>0.6780 ± 0.0252</td><td>0.6660 ± 0.0206</td></tr><tr><td>NR.AR.LBD</td><td>0.7827 ± 0.0200</td><td>0.7796 ± 0.0136</td><td>0.7475 ± 0.0356</td></tr><tr><td>NR.Aromatase</td><td>0.7854 ± 0.0098</td><td>0.7757 ± 0.0124</td><td>0.7782 ± 0.0069</td></tr><tr><td>NR.ER</td><td>0.7804 士 0.0042</td><td>0.7693 ± 0.0049</td><td>0.7767 ± 0.0059</td></tr><tr><td>NR.ER.LBD</td><td>0.7772 士 0.0088</td><td>0.7970 ± 0.0057</td><td>0.8054 ± 0.0071</td></tr><tr><td>NR.PPAR.gamma</td><td>0.8232 士 0.0019</td><td>0.8136 ±0.0032</td><td>0.7803 ± 0.0045</td></tr><tr><td>SR.ARE</td><td>0.7877 士 0.0036</td><td>0.7771 士 0.0058</td><td>0.7812 ± 0.0024</td></tr><tr><td>SR.ATAD5</td><td>0.8188 士 0.0085</td><td>0.8162 士 :0.0062</td><td>0.7924 ± 0.0051</td></tr><tr><td>SR.HSE</td><td>0.8330 ± 0.0053</td><td>0.8453 土 0.0072</td><td>0.8308 ± 0.0103</td></tr><tr><td>SR.MMP</td><td>0.9249 ± 0.0014</td><td>0.9219 ±0.0004</td><td>0.9262 ± 0.0036</td></tr><tr><td>SR.p53</td><td>0.8425 ± 0.0023</td><td>0.8194± :0.0010</td><td>0.8278 ± 0.0090</td></tr><tr><td></td><td></td><td></td><td></td></tr><tr><td>Average</td><td>0.8150± 0.0038</td><td>0.8070± 0.0002</td><td>0.7998 ± 0.0034</td></tr></table>",
|
| 776 |
+
"bbox": [
|
| 777 |
+
232,
|
| 778 |
+
285,
|
| 779 |
+
764,
|
| 780 |
+
497
|
| 781 |
+
],
|
| 782 |
+
"page_idx": 8
|
| 783 |
+
},
|
| 784 |
+
{
|
| 785 |
+
"type": "text",
|
| 786 |
+
"text": "4.3.3 EFFECTIVENESS OF OUR STRUCTURE LEARNING ",
|
| 787 |
+
"text_level": 1,
|
| 788 |
+
"bbox": [
|
| 789 |
+
173,
|
| 790 |
+
530,
|
| 791 |
+
568,
|
| 792 |
+
544
|
| 793 |
+
],
|
| 794 |
+
"page_idx": 8
|
| 795 |
+
},
|
| 796 |
+
{
|
| 797 |
+
"type": "text",
|
| 798 |
+
"text": "To further show the effectiveness of our structure learning method, we introduce a new model called BSNN-FC. For each specific task, the structure of BSNN-FC is completely the same as that of BSNN, except that the layers in the sparse Backbone path are changed to fully-connected layers. We train BSNN-FC for all the tasks in Tox21 dataset and the results are shown in Table 6. From the table we can see that, although BSNN keeps only $5 \\%$ of the connections in the sparse path, it gives classification results which are very similar to that of BSNN-FC. It shows that our structure learning method successfully removes the useless connections in BSNN-FC. ",
|
| 799 |
+
"bbox": [
|
| 800 |
+
174,
|
| 801 |
+
554,
|
| 802 |
+
825,
|
| 803 |
+
651
|
| 804 |
+
],
|
| 805 |
+
"page_idx": 8
|
| 806 |
+
},
|
| 807 |
+
{
|
| 808 |
+
"type": "text",
|
| 809 |
+
"text": "We also compare BSNNs with Pruned FNNs whose weak connections are pruned using the method in Han et al. (2015). We start from the fully pretrained FNNs reported in Table 3, and prune the connections with the smallest absolute weight values. After pruning, the number of remaining parameters in each FNN is the same as that in the corresponding BSNN for the same task. The comparison between BSNNs and pruned FNNs is shown in Table 6. Again BSNNs give higher AUC scores than pruned FNNs in 10 of the 12 classification tasks. ",
|
| 810 |
+
"bbox": [
|
| 811 |
+
174,
|
| 812 |
+
659,
|
| 813 |
+
825,
|
| 814 |
+
742
|
| 815 |
+
],
|
| 816 |
+
"page_idx": 8
|
| 817 |
+
},
|
| 818 |
+
{
|
| 819 |
+
"type": "text",
|
| 820 |
+
"text": "4.3.4 INTERPRETABILITY ",
|
| 821 |
+
"text_level": 1,
|
| 822 |
+
"bbox": [
|
| 823 |
+
176,
|
| 824 |
+
760,
|
| 825 |
+
362,
|
| 826 |
+
773
|
| 827 |
+
],
|
| 828 |
+
"page_idx": 8
|
| 829 |
+
},
|
| 830 |
+
{
|
| 831 |
+
"type": "text",
|
| 832 |
+
"text": "Next we compare the interpretability of BSNNs with FNNs and Pruned FNNs on the text datasets. Here is how we interpret hidden units. We feed the data to the networks and do forward propagation to get the values of the hidden units corresponding to each data sample. Then for each hidden unit, we sort the words in descending order of the correlations between the words and the hidden unit. The top 10 words with the highest correlations are chosen to characterize the hidden unit. Following Chen et al. (2017b), we measure the interpretability of a hidden unit by considering how similar pairs of words in the top-10 list are. The similarity between two words is determined using a word2vec model (Mikolov et al., 2013a;b) trained on part of the Google News datasets, where each word is mapped to a high dimensional vector. The similarity between two words is defined as the cosine similarity of the two corresponding vectors. High similarity suggests that the two words appear in similar contexts. The interpretability score of a hidden unit is defined as the compactness of its characterizing words and is computed as the average similarity of all pairs of words. The interpretability score of a model is defined as the average of interpretability scores of all hidden units. ",
|
| 833 |
+
"bbox": [
|
| 834 |
+
174,
|
| 835 |
+
784,
|
| 836 |
+
825,
|
| 837 |
+
924
|
| 838 |
+
],
|
| 839 |
+
"page_idx": 8
|
| 840 |
+
},
|
| 841 |
+
{
|
| 842 |
+
"type": "table",
|
| 843 |
+
"img_path": "images/d410d0c4de1ed568462aa35d5b9b7d0938e5382c58f83ba0e9c84bb70cf52be3.jpg",
|
| 844 |
+
"table_caption": [
|
| 845 |
+
"Table 7: Interpretability scores of BSNNS, FNNs and Pruned FNNs on different datasets "
|
| 846 |
+
],
|
| 847 |
+
"table_footnote": [],
|
| 848 |
+
"table_body": "<table><tr><td>Task</td><td>BSNNs</td><td>FNNs</td><td>Pruned FNNs</td></tr><tr><td>Yelp Review Full</td><td>0.1632</td><td>0.1117</td><td>0.1</td></tr><tr><td>DBPedia</td><td>0.0609</td><td>0.0497</td><td>0.0553</td></tr><tr><td>Yahoo!Answer</td><td>0.1729</td><td>0.1632</td><td>0.1553</td></tr><tr><td>AG's News</td><td>0.0531</td><td>0.0595</td><td>0.0561</td></tr></table>",
|
| 849 |
+
"bbox": [
|
| 850 |
+
308,
|
| 851 |
+
131,
|
| 852 |
+
686,
|
| 853 |
+
204
|
| 854 |
+
],
|
| 855 |
+
"page_idx": 9
|
| 856 |
+
},
|
| 857 |
+
{
|
| 858 |
+
"type": "table",
|
| 859 |
+
"img_path": "images/07bc66a7b444c59232b9786f355b25db69b65ead74b85b06b84cbab9bdd0c6b3.jpg",
|
| 860 |
+
"table_caption": [
|
| 861 |
+
"Table 8: Qualitative interpretability results of hidden units in BSNNs. Each line corresponds to one hidden unit. "
|
| 862 |
+
],
|
| 863 |
+
"table_footnote": [],
|
| 864 |
+
"table_body": "<table><tr><td>Task</td><td>BSNNs</td></tr><tr><td>Yelp Review Full</td><td>tastelessunseasoned flavorlessblandlacked paprika panko crusts unagi crumb vindaloo tortas spicey wink drapes</td></tr><tr><td>DBPedia</td><td>album songwriting chet saxophone thrash hurling backstroke badminton skier outfelder journalists hardcover editors reprinted republished</td></tr><tr><td>Yahoo!Answer</td><td>harddrive antispyware wifi mcafee routers javascript linux tcp linksys laptops romantic dating foreplay flirt boyfriend</td></tr><tr><td>AG's News</td><td>mozilla mainframe designs collaborate microprocessors republicans prosecutor argument jfk protesters noted furious harsh concessions apologizes</td></tr></table>",
|
| 865 |
+
"bbox": [
|
| 866 |
+
238,
|
| 867 |
+
272,
|
| 868 |
+
759,
|
| 869 |
+
457
|
| 870 |
+
],
|
| 871 |
+
"page_idx": 9
|
| 872 |
+
},
|
| 873 |
+
{
|
| 874 |
+
"type": "text",
|
| 875 |
+
"text": "",
|
| 876 |
+
"bbox": [
|
| 877 |
+
174,
|
| 878 |
+
493,
|
| 879 |
+
825,
|
| 880 |
+
549
|
| 881 |
+
],
|
| 882 |
+
"page_idx": 9
|
| 883 |
+
},
|
| 884 |
+
{
|
| 885 |
+
"type": "text",
|
| 886 |
+
"text": "Table 7 reports the interpretability scores of BSNNs, FNNs and Pruned FNNs for different datasets. Sogounews dataset is not included in the experiment since its vocabulary are Chinese pingyin characters and most of them do not appear in the Google News word2vec model. We measure the interpretability scores by considering the top-layer hidden units. For the fair of comparison, all models have approximately the same number of top-layer hidden units. As it can be seen that BSNNs significantly outperform the FNNs and Pruned FNNs in most cases and is comparable if not better, showing superior coherency and compactness in the characterizations of the hidden units and thus better model interpretability. Pruned FNNs, on the other hand, reduce the interpretability of FNNs with the pruning strategy. Table 8 shows the qualitative interpretability results by presenting the characterization words of hidden units with high interpretability scores in BSNNs. The hidden units are very meaningful for different datasets. For example, in Yelp Review dataset, the first hidden unit represents negative opinions on food with words “tasteless” and“flavorless”; the second hidden unit is more related to food like “paprika”, “crust” and “unagi”. In DBPedia, the first hidden unit is found out to have closer relationship with music, while the second one is more closely related to sport. Similar phenomena can be found in the rest of the table. This shows that the proposed BSNNs, with the statistical property, have better model interpretability and make a step further towards understandable deep learning models. ",
|
| 887 |
+
"bbox": [
|
| 888 |
+
174,
|
| 889 |
+
556,
|
| 890 |
+
825,
|
| 891 |
+
792
|
| 892 |
+
],
|
| 893 |
+
"page_idx": 9
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"type": "text",
|
| 897 |
+
"text": "5 CONCLUSIONS ",
|
| 898 |
+
"text_level": 1,
|
| 899 |
+
"bbox": [
|
| 900 |
+
176,
|
| 901 |
+
819,
|
| 902 |
+
328,
|
| 903 |
+
835
|
| 904 |
+
],
|
| 905 |
+
"page_idx": 9
|
| 906 |
+
},
|
| 907 |
+
{
|
| 908 |
+
"type": "text",
|
| 909 |
+
"text": "Structure learning for deep neural network is a challenging and interesting research problem. We have proposed an unsupervised structure learning method which utilizes the correlation information in data for learning parsimonious deep feed-forward networks. In comparison with standard FNN, although the resulting model of our method contains much fewer parameters, it achieves better or comparable classification performance in all kinds of tasks. Our method is also shown to learn models with better interpretability, which is also an important problem in deep learning. In the future, we will generalize our method to other networks like RNNs and CNNs. ",
|
| 910 |
+
"bbox": [
|
| 911 |
+
174,
|
| 912 |
+
854,
|
| 913 |
+
823,
|
| 914 |
+
922
|
| 915 |
+
],
|
| 916 |
+
"page_idx": 9
|
| 917 |
+
},
|
| 918 |
+
{
|
| 919 |
+
"type": "text",
|
| 920 |
+
"text": "",
|
| 921 |
+
"bbox": [
|
| 922 |
+
171,
|
| 923 |
+
103,
|
| 924 |
+
823,
|
| 925 |
+
132
|
| 926 |
+
],
|
| 927 |
+
"page_idx": 10
|
| 928 |
+
},
|
| 929 |
+
{
|
| 930 |
+
"type": "text",
|
| 931 |
+
"text": "REFERENCES ",
|
| 932 |
+
"text_level": 1,
|
| 933 |
+
"bbox": [
|
| 934 |
+
174,
|
| 935 |
+
154,
|
| 936 |
+
287,
|
| 937 |
+
167
|
| 938 |
+
],
|
| 939 |
+
"page_idx": 10
|
| 940 |
+
},
|
| 941 |
+
{
|
| 942 |
+
"type": "text",
|
| 943 |
+
"text": "Ryan Prescott Adams, Hanna M Wallach, and Zoubin Ghahramani. Learning the structure of deep sparse graphical models. In AISTATS, 2010. ",
|
| 944 |
+
"bbox": [
|
| 945 |
+
174,
|
| 946 |
+
176,
|
| 947 |
+
825,
|
| 948 |
+
205
|
| 949 |
+
],
|
| 950 |
+
"page_idx": 10
|
| 951 |
+
},
|
| 952 |
+
{
|
| 953 |
+
"type": "text",
|
| 954 |
+
"text": "Timur Ash. Dynamic node creation in backpropagation networks. Connection science, 1(4):365– 375, 1989. ",
|
| 955 |
+
"bbox": [
|
| 956 |
+
173,
|
| 957 |
+
213,
|
| 958 |
+
825,
|
| 959 |
+
242
|
| 960 |
+
],
|
| 961 |
+
"page_idx": 10
|
| 962 |
+
},
|
| 963 |
+
{
|
| 964 |
+
"type": "text",
|
| 965 |
+
"text": "Bowen Baker, Otkrist Gupta, Nikhil Naik, and Ramesh Raskar. Designing neural network architectures using reinforcement learning. In ICLR, 2017. ",
|
| 966 |
+
"bbox": [
|
| 967 |
+
173,
|
| 968 |
+
251,
|
| 969 |
+
823,
|
| 970 |
+
280
|
| 971 |
+
],
|
| 972 |
+
"page_idx": 10
|
| 973 |
+
},
|
| 974 |
+
{
|
| 975 |
+
"type": "text",
|
| 976 |
+
"text": "Martin G Bello. Enhanced training algorithms, and integrated training/architecture selection for multilayer perceptron networks. IEEE Transactions on Neural networks, 3(6):864–875, 1992. ",
|
| 977 |
+
"bbox": [
|
| 978 |
+
173,
|
| 979 |
+
289,
|
| 980 |
+
823,
|
| 981 |
+
319
|
| 982 |
+
],
|
| 983 |
+
"page_idx": 10
|
| 984 |
+
},
|
| 985 |
+
{
|
| 986 |
+
"type": "text",
|
| 987 |
+
"text": "Peixian Chen, Nevin L Zhang, Leonard KM Poon, and Zhourong Chen. Progressive em for latent tree models and hierarchical topic detection. In AAAI, 2016. ",
|
| 988 |
+
"bbox": [
|
| 989 |
+
171,
|
| 990 |
+
327,
|
| 991 |
+
823,
|
| 992 |
+
356
|
| 993 |
+
],
|
| 994 |
+
"page_idx": 10
|
| 995 |
+
},
|
| 996 |
+
{
|
| 997 |
+
"type": "text",
|
| 998 |
+
"text": "Peixian Chen, Nevin L Zhang, Tengfei Liu, Leonard KM Poon, Zhourong Chen, and Farhan Khawar. Latent tree models for hierarchical topic detection. Artificial Intelligence, 250:105–124, 2017a. ",
|
| 999 |
+
"bbox": [
|
| 1000 |
+
174,
|
| 1001 |
+
363,
|
| 1002 |
+
821,
|
| 1003 |
+
393
|
| 1004 |
+
],
|
| 1005 |
+
"page_idx": 10
|
| 1006 |
+
},
|
| 1007 |
+
{
|
| 1008 |
+
"type": "text",
|
| 1009 |
+
"text": "Zhourong Chen, Nevin L Zhang, Dit-Yan Yeung, and Peixian Chen. Sparse boltzmann machines with structure learning as applied to text analysis. In AAAI, 2017b. ",
|
| 1010 |
+
"bbox": [
|
| 1011 |
+
173,
|
| 1012 |
+
401,
|
| 1013 |
+
821,
|
| 1014 |
+
431
|
| 1015 |
+
],
|
| 1016 |
+
"page_idx": 10
|
| 1017 |
+
},
|
| 1018 |
+
{
|
| 1019 |
+
"type": "text",
|
| 1020 |
+
"text": "C Chow and Cong Liu. Approximating discrete probability distributions with dependence trees. IEEE transactions on Information Theory, 14(3):462–467, 1968. ",
|
| 1021 |
+
"bbox": [
|
| 1022 |
+
173,
|
| 1023 |
+
439,
|
| 1024 |
+
821,
|
| 1025 |
+
468
|
| 1026 |
+
],
|
| 1027 |
+
"page_idx": 10
|
| 1028 |
+
},
|
| 1029 |
+
{
|
| 1030 |
+
"type": "text",
|
| 1031 |
+
"text": "Yann Le Cun, John S. Denker, and Sara A. Solla. Optimal brain damage. In NIPS, 1990. ",
|
| 1032 |
+
"bbox": [
|
| 1033 |
+
169,
|
| 1034 |
+
477,
|
| 1035 |
+
756,
|
| 1036 |
+
492
|
| 1037 |
+
],
|
| 1038 |
+
"page_idx": 10
|
| 1039 |
+
},
|
| 1040 |
+
{
|
| 1041 |
+
"type": "text",
|
| 1042 |
+
"text": "Xavier Glorot, Antoine Bordes, and Yoshua Bengio. Deep sparse rectifier neural networks. In AISTATS, 2011. ",
|
| 1043 |
+
"bbox": [
|
| 1044 |
+
173,
|
| 1045 |
+
501,
|
| 1046 |
+
825,
|
| 1047 |
+
530
|
| 1048 |
+
],
|
| 1049 |
+
"page_idx": 10
|
| 1050 |
+
},
|
| 1051 |
+
{
|
| 1052 |
+
"type": "text",
|
| 1053 |
+
"text": "Yiwen Guo, Anbang Yao, and Yurong Chen. Dynamic network surgery for efficient dnns. In NIPS, 2016. ",
|
| 1054 |
+
"bbox": [
|
| 1055 |
+
173,
|
| 1056 |
+
539,
|
| 1057 |
+
823,
|
| 1058 |
+
568
|
| 1059 |
+
],
|
| 1060 |
+
"page_idx": 10
|
| 1061 |
+
},
|
| 1062 |
+
{
|
| 1063 |
+
"type": "text",
|
| 1064 |
+
"text": "Song Han, Jeff Pool, John Tran, and William Dally. Learning both weights and connections for efficient neural network. In NIPS, 2015. ",
|
| 1065 |
+
"bbox": [
|
| 1066 |
+
173,
|
| 1067 |
+
575,
|
| 1068 |
+
825,
|
| 1069 |
+
606
|
| 1070 |
+
],
|
| 1071 |
+
"page_idx": 10
|
| 1072 |
+
},
|
| 1073 |
+
{
|
| 1074 |
+
"type": "text",
|
| 1075 |
+
"text": "Babak Hassibi, David G. Stork, and Stork Crc. Ricoh. Com. Second order derivatives for network pruning: Optimal brain surgeon. In NIPS, 1993. ",
|
| 1076 |
+
"bbox": [
|
| 1077 |
+
173,
|
| 1078 |
+
613,
|
| 1079 |
+
825,
|
| 1080 |
+
643
|
| 1081 |
+
],
|
| 1082 |
+
"page_idx": 10
|
| 1083 |
+
},
|
| 1084 |
+
{
|
| 1085 |
+
"type": "text",
|
| 1086 |
+
"text": "Geoffrey E Hinton, Li Deng, Dong Yu, George E Dahl, Abdel-rahman Mohamed, Navdeep Jaitly, Andrew Senior, Vincent Vanhoucke, Patrick Nguyen, Tara N Sainath, et al. Deep neural networks for acoustic modeling in speech recognition: The shared views of four research groups. IEEE Signal Processing Magazine, 29(6):82–97, 2012a. ",
|
| 1087 |
+
"bbox": [
|
| 1088 |
+
173,
|
| 1089 |
+
651,
|
| 1090 |
+
825,
|
| 1091 |
+
708
|
| 1092 |
+
],
|
| 1093 |
+
"page_idx": 10
|
| 1094 |
+
},
|
| 1095 |
+
{
|
| 1096 |
+
"type": "text",
|
| 1097 |
+
"text": "Geoffrey E Hinton, Nitish Srivastava, Alex Krizhevsky, Ilya Sutskever, and Ruslan R Salakhutdinov. Improving neural networks by preventing co-adaptation of feature detectors. arXiv preprint arXiv:1207.0580, 2012b. ",
|
| 1098 |
+
"bbox": [
|
| 1099 |
+
173,
|
| 1100 |
+
717,
|
| 1101 |
+
825,
|
| 1102 |
+
760
|
| 1103 |
+
],
|
| 1104 |
+
"page_idx": 10
|
| 1105 |
+
},
|
| 1106 |
+
{
|
| 1107 |
+
"type": "text",
|
| 1108 |
+
"text": "Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. ",
|
| 1109 |
+
"bbox": [
|
| 1110 |
+
171,
|
| 1111 |
+
768,
|
| 1112 |
+
823,
|
| 1113 |
+
797
|
| 1114 |
+
],
|
| 1115 |
+
"page_idx": 10
|
| 1116 |
+
},
|
| 1117 |
+
{
|
| 1118 |
+
"type": "text",
|
| 1119 |
+
"text": "Gunter Klambauer, Thomas Unterthiner, Andreas Mayr, and Sepp Hochreiter. Self-normalizing ¨ neural networks. In NIPS, 2017. ",
|
| 1120 |
+
"bbox": [
|
| 1121 |
+
173,
|
| 1122 |
+
806,
|
| 1123 |
+
823,
|
| 1124 |
+
835
|
| 1125 |
+
],
|
| 1126 |
+
"page_idx": 10
|
| 1127 |
+
},
|
| 1128 |
+
{
|
| 1129 |
+
"type": "text",
|
| 1130 |
+
"text": "Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In NIPS, 2012. ",
|
| 1131 |
+
"bbox": [
|
| 1132 |
+
173,
|
| 1133 |
+
843,
|
| 1134 |
+
823,
|
| 1135 |
+
872
|
| 1136 |
+
],
|
| 1137 |
+
"page_idx": 10
|
| 1138 |
+
},
|
| 1139 |
+
{
|
| 1140 |
+
"type": "text",
|
| 1141 |
+
"text": "Tin-Yau Kwok and Dit-Yan Yeung. Constructive algorithms for structure learning in feedforward neural networks for regression problems. IEEE Transactions on Neural Networks, 8(3):630–645, 1997. ",
|
| 1142 |
+
"bbox": [
|
| 1143 |
+
176,
|
| 1144 |
+
882,
|
| 1145 |
+
823,
|
| 1146 |
+
922
|
| 1147 |
+
],
|
| 1148 |
+
"page_idx": 10
|
| 1149 |
+
},
|
| 1150 |
+
{
|
| 1151 |
+
"type": "text",
|
| 1152 |
+
"text": "Yann LeCun, Yoshua Bengio, and Geoffrey Hinton. Deep learning. Nature, 521(7553):436–444, 2015. ",
|
| 1153 |
+
"bbox": [
|
| 1154 |
+
173,
|
| 1155 |
+
103,
|
| 1156 |
+
823,
|
| 1157 |
+
133
|
| 1158 |
+
],
|
| 1159 |
+
"page_idx": 11
|
| 1160 |
+
},
|
| 1161 |
+
{
|
| 1162 |
+
"type": "text",
|
| 1163 |
+
"text": "Hao Li, Asim Kadav, Igor Durdanovic, Hanan Samet, and Hans Peter Graf. Pruning filters for efficient convnets. In ICLR, 2017. ",
|
| 1164 |
+
"bbox": [
|
| 1165 |
+
171,
|
| 1166 |
+
140,
|
| 1167 |
+
823,
|
| 1168 |
+
170
|
| 1169 |
+
],
|
| 1170 |
+
"page_idx": 11
|
| 1171 |
+
},
|
| 1172 |
+
{
|
| 1173 |
+
"type": "text",
|
| 1174 |
+
"text": "Tengfei Liu, Nevin L. Zhang, and Peixian Chen. Hierarchical latent tree analysis for topic detection. In ECML/PKDD, 2014. ",
|
| 1175 |
+
"bbox": [
|
| 1176 |
+
173,
|
| 1177 |
+
178,
|
| 1178 |
+
823,
|
| 1179 |
+
208
|
| 1180 |
+
],
|
| 1181 |
+
"page_idx": 11
|
| 1182 |
+
},
|
| 1183 |
+
{
|
| 1184 |
+
"type": "text",
|
| 1185 |
+
"text": "Toma´s Mikolov, Anoop Deoras, Daniel Povey, Luk ˇ a´s Burget, and Jan ˇ Cernock ˇ y. Strategies for \\` training large scale neural network language models. In IEEE Workshop on Automatic Speech Recognition and Understanding, pp. 196–201, 2011. ",
|
| 1186 |
+
"bbox": [
|
| 1187 |
+
176,
|
| 1188 |
+
215,
|
| 1189 |
+
823,
|
| 1190 |
+
260
|
| 1191 |
+
],
|
| 1192 |
+
"page_idx": 11
|
| 1193 |
+
},
|
| 1194 |
+
{
|
| 1195 |
+
"type": "text",
|
| 1196 |
+
"text": "Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. Efficient estimation of word representations in vector space. In International Conference on Learning Representations Workshops, 2013a. ",
|
| 1197 |
+
"bbox": [
|
| 1198 |
+
176,
|
| 1199 |
+
267,
|
| 1200 |
+
821,
|
| 1201 |
+
310
|
| 1202 |
+
],
|
| 1203 |
+
"page_idx": 11
|
| 1204 |
+
},
|
| 1205 |
+
{
|
| 1206 |
+
"type": "text",
|
| 1207 |
+
"text": "Tomas Mikolov, Ilya Sutskever, Kai Chen, Gregory S. Corrado, and Jeffrey Dean. Distributed representations of words and phrases and their compositionality. In NIPS, 2013b. ",
|
| 1208 |
+
"bbox": [
|
| 1209 |
+
173,
|
| 1210 |
+
319,
|
| 1211 |
+
820,
|
| 1212 |
+
349
|
| 1213 |
+
],
|
| 1214 |
+
"page_idx": 11
|
| 1215 |
+
},
|
| 1216 |
+
{
|
| 1217 |
+
"type": "text",
|
| 1218 |
+
"text": "Vinod Nair and Geoffrey E Hinton. Rectified linear units improve restricted boltzmann machines. In ICML, 2010. ",
|
| 1219 |
+
"bbox": [
|
| 1220 |
+
176,
|
| 1221 |
+
357,
|
| 1222 |
+
820,
|
| 1223 |
+
387
|
| 1224 |
+
],
|
| 1225 |
+
"page_idx": 11
|
| 1226 |
+
},
|
| 1227 |
+
{
|
| 1228 |
+
"type": "text",
|
| 1229 |
+
"text": "Judea Pearl. Probabilistic Reasoning in Intelligent Systems: Networks of Plausible Inference. Morgan Kaufmann Publishers Inc., San Francisco, CA, USA, 1988. ISBN 0-934613-73-7. ",
|
| 1230 |
+
"bbox": [
|
| 1231 |
+
173,
|
| 1232 |
+
395,
|
| 1233 |
+
823,
|
| 1234 |
+
425
|
| 1235 |
+
],
|
| 1236 |
+
"page_idx": 11
|
| 1237 |
+
},
|
| 1238 |
+
{
|
| 1239 |
+
"type": "text",
|
| 1240 |
+
"text": "Esteban Real, Sherry Moore, Andrew Selle, Saurabh Saxena, Yutaka Leon Suematsu, Quoc Le, and Alex Kurakin. Large-scale evolution of image classifiers. In ICML, 2017. ",
|
| 1241 |
+
"bbox": [
|
| 1242 |
+
174,
|
| 1243 |
+
433,
|
| 1244 |
+
821,
|
| 1245 |
+
463
|
| 1246 |
+
],
|
| 1247 |
+
"page_idx": 11
|
| 1248 |
+
},
|
| 1249 |
+
{
|
| 1250 |
+
"type": "text",
|
| 1251 |
+
"text": "Suraj Srinivas and R. Venkatesh Babu. Data-free parameter pruning for deep neural networks. In Proceedings of the British Machine Vision Conference, 2015. ",
|
| 1252 |
+
"bbox": [
|
| 1253 |
+
173,
|
| 1254 |
+
469,
|
| 1255 |
+
823,
|
| 1256 |
+
501
|
| 1257 |
+
],
|
| 1258 |
+
"page_idx": 11
|
| 1259 |
+
},
|
| 1260 |
+
{
|
| 1261 |
+
"type": "text",
|
| 1262 |
+
"text": "Nitish Srivastava, Geoffrey E Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: a simple way to prevent neural networks from overfitting. Journal of machine learning research, 15(1):1929–1958, 2014. ",
|
| 1263 |
+
"bbox": [
|
| 1264 |
+
174,
|
| 1265 |
+
507,
|
| 1266 |
+
823,
|
| 1267 |
+
551
|
| 1268 |
+
],
|
| 1269 |
+
"page_idx": 11
|
| 1270 |
+
},
|
| 1271 |
+
{
|
| 1272 |
+
"type": "text",
|
| 1273 |
+
"text": "Ilya Sutskever, Oriol Vinyals, and Quoc V Le. Sequence to sequence learning with neural networks. In NIPS, 2014. ",
|
| 1274 |
+
"bbox": [
|
| 1275 |
+
174,
|
| 1276 |
+
559,
|
| 1277 |
+
821,
|
| 1278 |
+
589
|
| 1279 |
+
],
|
| 1280 |
+
"page_idx": 11
|
| 1281 |
+
},
|
| 1282 |
+
{
|
| 1283 |
+
"type": "text",
|
| 1284 |
+
"text": "Lingxi Xie and Alan Yuille. Genetic cnn. arXiv preprint arXiv:1703.01513, 2017. ",
|
| 1285 |
+
"bbox": [
|
| 1286 |
+
173,
|
| 1287 |
+
597,
|
| 1288 |
+
715,
|
| 1289 |
+
613
|
| 1290 |
+
],
|
| 1291 |
+
"page_idx": 11
|
| 1292 |
+
},
|
| 1293 |
+
{
|
| 1294 |
+
"type": "text",
|
| 1295 |
+
"text": "Nevin L Zhang. Hierarchical latent class models for cluster analysis. Journal of Machine Learning Research, 5(6):697–723, 2004. ",
|
| 1296 |
+
"bbox": [
|
| 1297 |
+
173,
|
| 1298 |
+
621,
|
| 1299 |
+
820,
|
| 1300 |
+
651
|
| 1301 |
+
],
|
| 1302 |
+
"page_idx": 11
|
| 1303 |
+
},
|
| 1304 |
+
{
|
| 1305 |
+
"type": "text",
|
| 1306 |
+
"text": "Xiang Zhang, Junbo Zhao, and Yann LeCun. Character-level convolutional networks for text classification. In NIPS, 2015. ",
|
| 1307 |
+
"bbox": [
|
| 1308 |
+
173,
|
| 1309 |
+
659,
|
| 1310 |
+
821,
|
| 1311 |
+
689
|
| 1312 |
+
],
|
| 1313 |
+
"page_idx": 11
|
| 1314 |
+
},
|
| 1315 |
+
{
|
| 1316 |
+
"type": "text",
|
| 1317 |
+
"text": "Barret Zoph and Quoc V Le. Neural architecture search with reinforcement learning. In ICLR, 2017. ",
|
| 1318 |
+
"bbox": [
|
| 1319 |
+
169,
|
| 1320 |
+
696,
|
| 1321 |
+
821,
|
| 1322 |
+
713
|
| 1323 |
+
],
|
| 1324 |
+
"page_idx": 11
|
| 1325 |
+
}
|
| 1326 |
+
]
|
parse/train/HJMN-xWC-/HJMN-xWC-_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HJMN-xWC-/HJMN-xWC-_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HkcdHtqlx/HkcdHtqlx.md
ADDED
|
@@ -0,0 +1,317 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# GATED-ATTENTION READERS FOR TEXT COMPREHENSION
|
| 2 |
+
|
| 3 |
+
Bhuwan Dhingra∗, Hanxiao Liu∗, Zhilin Yang, William W. Cohen & Ruslan Salakhutdinov
|
| 4 |
+
|
| 5 |
+
School of Computer Science
|
| 6 |
+
Carnegie Mellon University
|
| 7 |
+
{bdhingra,hanxiaol,zhiliny,wcohen,rsalakhu}@cs.cmu.edu
|
| 8 |
+
|
| 9 |
+
# ABSTRACT
|
| 10 |
+
|
| 11 |
+
In this paper we study the problem of answering cloze-style questions over documents. Our model, the Gated-Attention (GA) Reader, integrates a multi-hop architecture with a novel attention mechanism, which is based on multiplicative interactions between the query embedding and the intermediate states of a recurrent neural network document reader. This enables the reader to build query-specific representations of tokens in the document for accurate answer selection. The GA Reader obtains state-of-the-art results on three benchmarks for this task–the CNN & Daily Mail news stories and the Who Did What dataset. The effectiveness of multiplicative interaction is demonstrated by an ablation study, and by comparing to alternative compositional operators for implementing the gated-attention.
|
| 12 |
+
|
| 13 |
+
# 1 INTRODUCTION
|
| 14 |
+
|
| 15 |
+
A recent trend to measure progress towards machine reading is to test a system’s ability to answer questions about a document it has to comprehend. Towards this end, several large-scale datasets of cloze-style questions over a context document have been introduced recently, which allow the training of supervised machine learning systems (Hermann et al., 2015; Hill et al., 2015; Onishi et al., 2016). Such datasets can be easily constructed automatically and the unambiguous nature of their queries provides an objective benchmark to measure a system’s performance at text comprehension.
|
| 16 |
+
|
| 17 |
+
Deep learning models have recently been shown to outperform traditional shallow approaches on text comprehension tasks (Hermann et al., 2015). The success of many recent models can be attributed primarily to two factors: (1) Multi-hop architectures allow a (Weston et al., 2014; Sordoni et al., 2016; Shen et al., 2016), model to scan the document and the question iteratively for multiple passes. (2) Attention mechanisms, (Weston et al., 2014; Chen et al., 2016; Hermann et al., 2015) borrowed from the machine translation literature (Bahdanau et al., 2014), allow the model to focus on appropriate subparts of the context document. Intuitively, the multi-hop architecture allows the reader to incrementally refine token representations, and the attention mechanism re-weights different parts in the document according to their relevance to the query.
|
| 18 |
+
|
| 19 |
+
The effectiveness of multi-hop reasoning and attentions have been explored orthogonally so far in the literature. In this paper, we focus on combining both in a complementary manner, by designing a novel attention mechanism which gates the evolving token representations across hops. More specifically, unlike existing models where the query attention is applied either token-wise (Hermann et al., 2015; Kadlec et al., 2016; Chen et al., 2016; Hill et al., 2015) or sentence-wise (Weston et al., 2014; Sukhbaatar et al., 2015) to allow weighted aggregation, the Gated-Attention (GA) module proposed in this work allows the query to directly interact with each dimension of the token embeddings at the semantic-level, and is applied layer-wise as information filters during the multi-hop representation learning process. Such a fine-grained attention enables our model to learn conditional token representations with respect to the given question, leading to accurate answer selections.
|
| 20 |
+
|
| 21 |
+
We show in our experiments that the proposed GA reader, despite its relative simplicity, consistently improves over a variety of strong baselines on three benchmark datasets1. Our key contribution, the GA module, provides a significant improvement when the dataset size is large. Qualitatively, visualization of the attentions at intermediate layers of the GA reader shows that in each layer the GA reader attends to distinct salient aspects of the query which help in determining the answer.
|
| 22 |
+
|
| 23 |
+
# 2 RELATED WORK
|
| 24 |
+
|
| 25 |
+
The cloze-style QA task involves tuples of the form $( d , q , a , \mathcal { C } )$ , where $d$ is a document (context), $q$ is a query over the contents of $d$ , in which a phrase is replaced with a placeholder, and $a$ is the answer to $q$ , which comes from a set of candidates $\mathcal { C }$ . In this work we consider datasets where each candidate $c \in { \mathcal { C } }$ has at least one token which also appears in the document. The task can then be described as: given a document-query pair $( d , q )$ , find $a \in { \mathcal { C } }$ which answers $q$ . Below we provide an overview of representative neural network architectures which have been applied to this problem.
|
| 26 |
+
|
| 27 |
+
LSTMs with Attention: Several architectures introduced in (Hermann et al., 2015) employ LSTM units to compute a combined document-query representation $g ( d , q )$ , which is used to rank the candidate answers. Their techniques include the DeepLSTM Reader which performs a single forward pass through the concatenated (document, query) pair to obtain $g ( d , q )$ ; the Attentive Reader which first computes a document vector $d ( q )$ by a weighted aggregation of words according to attentions based on $q$ , and then combines $d ( q )$ and $q$ to obtain their joint representation $g ( d ( q ) , q )$ ; and the Impatient Reader where the document representation is built incrementally. The architecture of the Attentive Reader has been simplified recently in Stanford Attentive Reader, where shallower recurrent units were used with a bilinear form for the query-document attention (Chen et al., 2016).
|
| 28 |
+
|
| 29 |
+
Attention Sum: The Attention-Sum (AS) Reader (Kadlec et al., 2016) uses two bi-directional GRU networks (Cho et al., 2014) to encode both $d$ and $q$ into vectors, similar to Stanford AR. A probability distribution over the entities in $d$ is obtained by computing dot products between $q$ and the entity embeddings and taking a softmax. An aggregation scheme named pointer-sum attention is further applied to sum the probabilities of the same entity, so that frequent entities the document will be favored compared to rare ones. Building on the AS Reader, the Attention-over-Attention (AoA) Reader (Cui et al., 2016) introduces a two-way attention mechanism where the query and the document are mutually attentive to each other.
|
| 30 |
+
|
| 31 |
+
Mulit-hop Architectures: Memory Networks (MemNets) were proposed in (Weston et al., 2014), where each sentence in the document is encoded to a memory by aggregating nearby words. Attention over the memory slots given the query is used to compute an overall memory and to renew the query representation over multiple iterations, allowing certain types of reasoning over the salient facts in the memory and the query. Neural Semantic Encoders (NSE) (Munkhdalai & Yu, 2016a) extended MemNets by introducing a write operation which can evolve the memory over time during the course of reading. Iterative reasoning has been found effective in several more recent models, including the Iterative Attentive Reader (Sordoni et al., 2016) and ReasoNet (Shen et al., 2016). The latter allows a dynamic number of reasoning steps and is trained with reinforcement learning.
|
| 32 |
+
|
| 33 |
+
Other related works include Dynamic Entity Representation network (DER) (Kobayashi et al., 2016), which builds dynamic representations of the candidate answers while reading the document, and accumulates the information about an entity by max-pooling. EpiReader (Trischler et al., 2016) consists of two networks, where one proposes a small set of candidate answers, and the other reranks the proposed candidates conditioned on the query and the context. (Bajgar et al., 2016) showed a $10 \%$ improvement on the CBT corpus (Hill et al., 2015) by training the AS Reader on an augmented training set of about 14 million examples, making a case for community to exploit data abundance. The focus of this paper, however, is on designing models which exploit the available data efficiently.
|
| 34 |
+
|
| 35 |
+
# 3 GATED-ATTENTION READER
|
| 36 |
+
|
| 37 |
+
# 3.1 MOTIVATION
|
| 38 |
+
|
| 39 |
+
Our proposed GA readers perform multiple hops over the document (context), similar to the Memory Networks architecture (Sukhbaatar et al., 2015). Multi-hop architectures mimic the multi-step comprehension process of human readers, and have shown promising results in several recent models for text comprehension (Sordoni et al., 2016; Kumar et al., 2015; Shen et al., 2016). The contextual representations in GA readers, namely the embeddings of words in the document, are iteratively refined across hops until reaching a final attention-sum module (Kadlec et al., 2016) which maps the contextual representations in the last hop to a probability distribution over candidate answers.
|
| 40 |
+
|
| 41 |
+
The attention mechanism has been introduced recently to model human focus, leading to significant improvement in machine translation and image captioning (Bahdanau et al., 2014; Mnih et al., 2014). In reading comprehension tasks, ideally, the semantic meanings carried by the contextual embeddings should be aware of the query across hops. As an example, human readers are able to keep the question in mind during multiple passes of reading, to successively mask away information irrelevant to the query. However, existing neural network readers are restricted to either attend to tokens (Hermann et al., 2015; Chen et al., 2016) or entire sentences (Weston et al., 2014), with the assumption that certain sub-parts of the document are more important than others. In contrast, we propose a finer-grained model which attends to components of the semantic representation being built up by the GRU. The new attention mechanism, called gated-attention, is implemented based on multiplicative interactions between the query and the contextual embeddings, and is applied per hop to act as fine-grained information filters during the multi-step reasoning. The filters weigh individual components of the vector representation of each token in the document separately.
|
| 42 |
+
|
| 43 |
+
The design of gated-attention layers is motivated by the effectiveness of multiplicative interaction among vector-space representations, e.g., in various types of recurrent units (Hochreiter & Schmidhuber, 1997; Wu et al., 2016) and in relational learning (Yang et al., 2014; Kiros et al., 2014). While other types of compositional operators are possible, such as concatenation or addition (Mitchell & Lapata, 2008), we find that multiplication has strong empirical performance (section 4.4). Intuitively, multiplicative interaction $e \odot q$ between two word embeddings $e$ and $q$ adjusts the semantic meaning of $e$ towards $q$ , keeping the compositionality of the original embeddings preserved.2
|
| 44 |
+
|
| 45 |
+
# 3.2 MODEL DETAILS
|
| 46 |
+
|
| 47 |
+
Several components of the model use a Gated Recurrent Unit (GRU) (Cho et al., 2014) which maps an input sequence $X = [ x _ { 1 } , x _ { 2 } , \dots , x _ { T } ]$ to an ouput sequence $H = [ h _ { 1 } , h _ { 2 } , \ldots , h _ { T } ]$ as follows:
|
| 48 |
+
|
| 49 |
+
$$
|
| 50 |
+
\begin{array} { r l } & { { \boldsymbol r } _ { t } = \sigma ( { \boldsymbol W } _ { r } { \boldsymbol x } _ { t } + { \boldsymbol U } _ { r } h _ { t - 1 } + b _ { r } ) , } \\ & { \boldsymbol z _ { t } = \sigma ( { \boldsymbol W } _ { z } { \boldsymbol x } _ { t } + { \boldsymbol U } _ { z } h _ { t - 1 } + b _ { z } ) , } \\ & { \tilde { \boldsymbol h } _ { t } = \operatorname { t a n h } ( { \boldsymbol W } _ { h } { \boldsymbol x } _ { t } + { \boldsymbol U } _ { h } ( r _ { t } \odot h _ { t - 1 } ) + b _ { h } ) , } \\ & { \boldsymbol h _ { t } = ( 1 - z _ { t } ) \odot h _ { t - 1 } + z _ { t } \odot \tilde { \boldsymbol h } _ { t } . } \end{array}
|
| 51 |
+
$$
|
| 52 |
+
|
| 53 |
+
where $\odot$ denotes the Hadamard product or the element-wise multiplication. $r _ { t }$ and $z _ { t }$ are called the reset and update gates respectively, and $\tilde { h } _ { t }$ the candidate output. A Bi-directional GRU (BiGRU) processes the sequence in both forward and backward directions to produce two sequences $[ h _ { 1 } ^ { f } , h _ { 2 } ^ { f } , \ldots , h _ { T } ^ { f } ]$ and $[ h _ { 1 } ^ { b } , h _ { 2 } ^ { b } , \ldots , h _ { T } ^ { b } ]$ , which are concatenated at the output
|
| 54 |
+
|
| 55 |
+
$$
|
| 56 |
+
\overleftrightarrow { \mathrm { G R U } } ( X ) = [ h _ { 1 } ^ { f } \| h _ { T } ^ { b } , \dots , h _ { T } ^ { f } \| h _ { 1 } ^ { b } ]
|
| 57 |
+
$$
|
| 58 |
+
|
| 59 |
+
where ${ \stackrel { \longleftrightarrow } { \operatorname { G R U } } } ( X )$ denotes the full output of the Bi-GRU obtained by concatenating each forward state $h _ { i } ^ { f }$ and backward state $h _ { T - i + 1 } ^ { b }$ at time-step $i$ given the input $X$ . Note ${ \stackrel { \longleftrightarrow } { \operatorname { G R U } } } ( X )$ is a matrix in $\mathbb { R } ^ { 2 n _ { h } \times T }$ where $n _ { h }$ stands for the number of hidden units in GRU.
|
| 60 |
+
|
| 61 |
+
Let $X ^ { ( 0 ) } = [ x _ { 1 } ^ { ( 0 ) } , x _ { 2 } ^ { ( 0 ) } , \dots x _ { | D | } ^ { ( 0 ) } ]$ denote the token embeddings of the document, which are also inputs at layer 1 for the document reader below, and $Y = [ y _ { 1 } , y _ { 2 } , \dots y _ { | Q | } ]$ denote the token embeddings of the query. Here $| D |$ and $| Q |$ denote the document and query lengths respectively.
|
| 62 |
+
|
| 63 |
+
# 3.2.1 MULTI-HOP ARCHITECTURE
|
| 64 |
+
|
| 65 |
+
Figure 1 illustrates the Gated-Attention (GA) reader. The model reads the document and the query over $K$ horizontal layers, where layer $k$ receives the contextual embeddings $X ^ { ( k - 1 ) }$ of the document from the previous layer. The document embeddings are transformed by taking the full output of a document Bi-GRU (indicated in blue in Figure 1):
|
| 66 |
+
|
| 67 |
+
$$
|
| 68 |
+
\frac { D ^ { ( k ) } = \overset { \longleftrightarrow } { \mathrm { G R U } } _ { D } ^ { ( k ) } \left( X ^ { ( k - 1 ) } \right) } { \mathrm { \Lambda } ^ { 2 } e _ { 1 } \odot q + e _ { 2 } \odot q = \left( e _ { 1 } + e _ { 2 } \right) \odot q , \forall e _ { 1 } , e _ { 2 } . }
|
| 69 |
+
$$
|
| 70 |
+
|
| 71 |
+

|
| 72 |
+
Figure 1: Gated-Attention Reader. Dashed lines represent dropout connections.
|
| 73 |
+
|
| 74 |
+
At the same time, a layer-specific query representation is computed as the full output of a separate query Bi-GRU (indicated in green in Figure 1):
|
| 75 |
+
|
| 76 |
+
$$
|
| 77 |
+
Q ^ { ( k ) } = \overleftrightarrow { \mathrm { G R U } } _ { Q } ^ { ( k ) } ( Y )
|
| 78 |
+
$$
|
| 79 |
+
|
| 80 |
+
Next, Gated-Attention is applied to $D ^ { ( k ) }$ and $Q ^ { ( k ) }$ to compute inputs for the next layer $X ^ { ( k ) }$ .
|
| 81 |
+
|
| 82 |
+
$$
|
| 83 |
+
X ^ { ( k ) } = \mathrm { G A } ( D ^ { ( k ) } , Q ^ { ( k ) } )
|
| 84 |
+
$$
|
| 85 |
+
|
| 86 |
+
where GA is defined in the following subsection.
|
| 87 |
+
|
| 88 |
+
# 3.2.2 GATED-ATTENTION MODULE
|
| 89 |
+
|
| 90 |
+
For brevity, let us drop the superscript $k$ in this subsection as we are focusing on a particular layer. For each token $d _ { i }$ in $D$ , the GA module forms a token-specific representation of the query $\tilde { q } _ { i }$ using soft attention, and then multiplies the query representation element-wise with the document token representation. Specifically, for $i = 1 , \ldots , | D |$ :
|
| 91 |
+
|
| 92 |
+
$$
|
| 93 |
+
\begin{array} { r l } & { \alpha _ { i } = \operatorname { s o f t m a x } ( Q ^ { \top } d _ { i } ) } \\ & { { \tilde { q } } _ { i } = Q \alpha _ { i } } \\ & { x _ { i } = d _ { i } \odot { \tilde { q } } _ { i } } \end{array}
|
| 94 |
+
$$
|
| 95 |
+
|
| 96 |
+
In equation (6) we use the multiplication operator to model the interactions between $d _ { i }$ and $\tilde { q } _ { i }$ . In the experiments section, we also report results for other choices of gating functions, including addition $x _ { i } = d _ { i } + \tilde { q } _ { i }$ and concatenation $x _ { i } = d _ { i } \| \tilde { q } _ { i }$ .
|
| 97 |
+
|
| 98 |
+
# 3.2.3 ANSWER PREDICTION
|
| 99 |
+
|
| 100 |
+
Let q(\` $q _ { \ell } ^ { ( K ) } = q _ { \ell } ^ { f } \| q _ { T - \ell + 1 } ^ { b }$ be an intermediate output of the final layer query Bi-GRU at the location $\ell$ of the cloze token in the query, and $D ^ { ( K ) } = \overleftrightarrow { \mathrm { G R U } } _ { D } ^ { ( K ) } ( X ^ { ( K - 1 ) } )$ be the full output of final layer document Bi-GRU. To obtain the probability that a particular token in the document answers the query, we take an inner-product between these two, and pass through a softmax layer:
|
| 101 |
+
|
| 102 |
+
$$
|
| 103 |
+
s = \mathrm { s o f t m a x } ( ( q _ { \ell } ^ { ( K ) } ) ^ { T } D ^ { ( K ) } )
|
| 104 |
+
$$
|
| 105 |
+
|
| 106 |
+
where vector $s$ defines a probability distribution over the $| D |$ tokens in the document. The probability of a particular candidate $c \in { \mathcal { C } }$ as being the answer is then computed by aggregating the probabilities of all document tokens which appear in $c$ and renormalizing over the candidates:
|
| 107 |
+
|
| 108 |
+
$$
|
| 109 |
+
\operatorname* { P r } ( c | d , q ) \propto \sum _ { i \in \mathbb { I } ( c , d ) } s _ { i }
|
| 110 |
+
$$
|
| 111 |
+
|
| 112 |
+
Table 1: Dataset statistics.
|
| 113 |
+
|
| 114 |
+
<table><tr><td></td><td>CNN</td><td>Daily Mail</td><td>CBT-NE</td><td>CBT-CN</td><td> WDW-Strict</td><td>WDW-Relaxed</td></tr><tr><td># train</td><td>380,298</td><td>879,450</td><td>108,719</td><td>120,769</td><td>127,786</td><td>185,978</td></tr><tr><td># validation</td><td>3,924</td><td>64,835</td><td>2.000</td><td>2,000</td><td>10,000</td><td>10,000</td></tr><tr><td>#test</td><td>3,198</td><td>53,182</td><td>2,500</td><td>2.500</td><td>10,000</td><td>10,000</td></tr><tr><td># vocab</td><td>118,497</td><td>208.045</td><td>53,063</td><td>53,185</td><td>347,406</td><td>308,602</td></tr><tr><td>max doc length</td><td>2,000</td><td>2,000</td><td>1,338</td><td>1,338</td><td>3,085</td><td>3,085</td></tr></table>
|
| 115 |
+
|
| 116 |
+
where $\mathbb { I } ( c , d )$ is the set of positions where a token in $c$ appears in the document $d$ . This aggregation operation is the same as the pointer sum attention applied in the AS Reader (Kadlec et al., 2016).
|
| 117 |
+
|
| 118 |
+
Finally, the candidate with maximum probability is selected as the predicted answer:
|
| 119 |
+
|
| 120 |
+
$$
|
| 121 |
+
a ^ { * } = \mathrm { a r g m a x } _ { c \in { \mathcal C } } ~ \operatorname* { P r } ( c | d , q ) .
|
| 122 |
+
$$
|
| 123 |
+
|
| 124 |
+
During the training phase, model parameters of the GA reader are updated w.r.t. a cross-entropy loss between the predicted probabilities and the true answers.
|
| 125 |
+
|
| 126 |
+
# 3.2.4 FURTHER ENHANCEMENTS
|
| 127 |
+
|
| 128 |
+
Character-level Embeddings: Given a token $w$ from the document or query, its vector space representation is computed as $x = L ( w ) | | C ( w )$ . $L ( w )$ retrieves the word-embedding for $w$ from a lookup table $L \in \mathbb { R } ^ { | V | \times n _ { l } }$ , whose rows hold a vector for each unique token in the vocabulary. We also utilize a character composition model $C ( w )$ which generates an orthographic embedding of the token. Such embeddings have been previously shown to be helpful for tasks like Named Entity Recognition (Yang et al., 2016) and dealing with OOV tokens at test time (Dhingra et al., 2016). The embedding $C ( w )$ is generated by taking the final outputs $z _ { n _ { c } } ^ { f }$ and $z _ { n _ { c } } ^ { b }$ of a Bi-GRU applied to embeddings from a lookup table of characters in the token, and applying a linear transformation:
|
| 129 |
+
|
| 130 |
+
$$
|
| 131 |
+
\begin{array} { r } { z = z _ { n _ { c } } ^ { f } \vert \vert z _ { n _ { c } } ^ { b } } \\ { C ( w ) = W z + b } \end{array}
|
| 132 |
+
$$
|
| 133 |
+
|
| 134 |
+
Question Evidence Common Word Feature (qe-comm): (Li et al., 2016) recently proposed a simple token level indicator feature which significantly boosts reading comprehension performance in some cases. For each token in the document we construct a one-hot vector $f _ { i } \in \{ 0 , 1 \bar \} ^ { 2 }$ indicating whether that token is present in the query or not. It can be incorporated into the GA reader by assigning a feature lookup table $F \in \bar { \mathbb { R } ^ { n _ { F } \times 2 } }$ (we use $n _ { F } = 2 $ ), taking the feature embedding $e _ { i } = f _ { i } ^ { \underline { { { T } } } } F$ and appending it to the inputs of the last layer document BiGRU as, $x _ { i } ^ { ( K ) } \| f _ { i }$ for all $i$ . We conducted several experiments both with and without this feature and observed some interesting trends, which are discussed below. Henceforth, we refer to this feature as the qe-comm feature or just feature.
|
| 135 |
+
|
| 136 |
+
# 4 EXPERIMENTS AND RESULTS
|
| 137 |
+
|
| 138 |
+
# 4.1 DATASETS
|
| 139 |
+
|
| 140 |
+
We evaluate the GA reader on five large-scale datasets recently proposed in the literature. The first two, CNN and Daily Mail news stories3 consist of articles from the popular CNN and Daily Mail websites (Hermann et al., 2015). A query over each article is formed by removing an entity from the short summary which follows the article. Further, entities within each article were anonymized to make the task purely a comprehension one. N-gram statistics, for instance, computed over the entire corpus are no longer useful in such an anonymized corpus.
|
| 141 |
+
|
| 142 |
+
The next two datasets are formed from two different subsets of the Children’s Book Test (CBT)4 (Hill et al., 2015). Documents consist of 20 contiguous sentences from the body of a popular children’s book, and queries are formed by deleting a token from the $2 1 ^ { \mathrm { s t } }$ sentence. We only focus on subsets where the deleted token is either a common noun (CN) or named entity (NE) since simple language models already give human-level performance on the other types (cf. (Hill et al., 2015)).
|
| 143 |
+
|
| 144 |
+
Table 2: Hyperparameter settings for each dataset. $\dim ( )$ indicates hidden state size of GRU.
|
| 145 |
+
|
| 146 |
+
<table><tr><td>Hyperparameter</td><td>CNN</td><td>Daily Mail</td><td>CBT-NE</td><td>CBT-CN</td><td>WDW-Strict</td><td>WDW-Relaxed</td></tr><tr><td>Dropout</td><td>0.2</td><td>0.1</td><td>0.4</td><td>0.4</td><td>0.3</td><td>0.3</td></tr><tr><td>dim(GRU*)</td><td>256</td><td>256</td><td>128</td><td>128</td><td>128</td><td>128</td></tr></table>
|
| 147 |
+
|
| 148 |
+
The final dataset we evaluate on is Who Did What5 (WDW) (Onishi et al., 2016), constructed from the LDC English Gigaword newswire corpus. First, article pairs which appeared around the same time and with overlapping entities are chosen, and then one article forms the document and a cloze query is constructed from the other. Missing tokens are always person named entities. Questions which are easily answered by simple baselines are filtered out, to make the task more challenging. There are two versions of the training set—a small but focused “Strict” version and a large but noisy “Relaxed” version. We report results on both settings which share the same validation and test sets. Statistics of all the datasets used in our experiments are summarized in Table 1.
|
| 149 |
+
|
| 150 |
+
# 4.2 IMPLEMENTATION DETAILS
|
| 151 |
+
|
| 152 |
+
Our model was implemented using the Theano (Theano Development Team, 2016) and Lasagne6 Python libraries. We used stochastic gradient descent with ADAM updates for optimization, which combines classical momentum and adaptive gradients (Kingma & Ba, 2014). The batch size was 32 and the initial learning rate was $5 \times 1 0 ^ { - 4 }$ which was halved every epoch after the second epoch. The same setting is applied to all models and datasets. We also used gradient clipping with a threshold of 10 to stabilize GRU training (Pascanu et al., 2012). We set the number of layers $K$ to be 3 for all experiments, and provide further analysis below. The number of hidden units for the character GRU was set to 50. The remaining two hyperparameters—size of document and query GRUs, and dropout rate—were tuned on the validation set, and their optimal values are shown in Table 2. In general, the optimal GRU size increases and the dropout rate decreases as the corpus size increases.
|
| 153 |
+
|
| 154 |
+
The word lookup table was initialized with $1 0 0 d$ GloVe vectors7 (Pennington et al., 2014) and OOV tokens at test time were assigned unique random vectors. We empirically observed that initializing with pre-trained embeddings gives higher performance compared to random initialization for all datasets. Furthermore, for smaller datasets (WDW and CBT) we found that fixing these embeddings to their pretrained values led to higher test performance, possibly since it avoids overfitting. We do not use the character composition model for CNN and Daily Mail, since entities (and hence candidate answers) are anonymized to generic tokens in these datasets. For other datasets the character lookup table was randomly initialized with $2 5 d$ vectors. All other parameters were initialized to their default values as specified in the Lasagne library.
|
| 155 |
+
|
| 156 |
+
# 4.3 PERFORMANCE COMPARISON
|
| 157 |
+
|
| 158 |
+
Tables 3 and 5 show a comparison of the performance of GA Reader with previously published results on WDW and CNN, Daily Mail, CBT datasets respectively. The numbers reported for GA Reader are for single best models, though we compare to both ensembles and single models from prior work. GA Reader-- refers to an earlier version of the model, unpublished but described in a preprint, with the following differences—(1) it does not utilize token-specific attentions within the GA module, as described in equation (5), (2) it does not use a character composition model, (3) it is initialized with word embeddings pretrained on the corpus itself rather than GloVe. A detailed analysis of these differences is studied in the next section. Here we present 4 variants of the latest GA Reader, using combinations of whether the qe-comm feature is used (+feature) or not, and whether the word lookup table $L ( w )$ is updated during training or fixed to its initial value.
|
| 159 |
+
|
| 160 |
+
Interestingly, we observe that feature engineering leads to significant improvements for WDW and CBT datasets, but not for CNN and Daily Mail datasets. We note that anonymization of the latter datasets means that there is already some feature engineering (it adds hints about whether a token is an entity), and these are much larger than the other four. In machine learning it is common to see the effect of feature engineering diminish with increasing data size. Similarly, fixing the word
|
| 161 |
+
|
| 162 |
+
Table 3: Validation/Test accuracy $( \% )$ on WDW dataset for both “Strict” and “Relaxed” settings. Results marked with $^ \dagger$ are cf previously published works.
|
| 163 |
+
|
| 164 |
+
<table><tr><td rowspan="2">Model</td><td colspan="2">Strict</td><td colspan="2">Relaxed</td></tr><tr><td>Val</td><td>Test</td><td>Val</td><td>Test</td></tr><tr><td>Human †</td><td></td><td>84</td><td></td><td>/</td></tr><tr><td>Attentive Reader t AS Reader †</td><td></td><td>53 57</td><td></td><td>55 59</td></tr><tr><td>Stanford AR † NSE +</td><td>66.5</td><td>64 66.2</td><td>67.0</td><td>65 66.7</td></tr><tr><td>GA-- t</td><td>1</td><td>57</td><td>1</td><td>60.0</td></tr><tr><td>GA (update L(w))</td><td>67.8</td><td>67.0</td><td>67.0</td><td>66.6</td></tr><tr><td>GA (fix L(ω))</td><td>68.3</td><td>68.0</td><td></td><td>69.1</td></tr><tr><td></td><td></td><td></td><td>69.6</td><td></td></tr><tr><td>GA (+feature, update L(w))</td><td>70.1</td><td>69.5</td><td>70.9</td><td>71.0</td></tr><tr><td>GA (+feature, fix L(w))</td><td>71.6</td><td>71.2</td><td>72.6</td><td>72.6</td></tr></table>
|
| 165 |
+
|
| 166 |
+
Table 4: Top: Performance of different gating functions. Bottom: Effect of varying the number of hops $K$ . Results on WDW dataset without using the qe-comm feature and with fixed $L ( w )$ .
|
| 167 |
+
|
| 168 |
+
<table><tr><td rowspan=2 colspan=1>Gating Function</td><td rowspan=1 colspan=2> Accuracy</td></tr><tr><td rowspan=1 colspan=1>Val</td><td rowspan=1 colspan=1>Test</td></tr><tr><td rowspan=2 colspan=1>SumConcatenateMultiply</td><td rowspan=2 colspan=1>64.964.468.3</td><td rowspan=1 colspan=1>64.5</td></tr><tr><td rowspan=1 colspan=1>63.768.0</td></tr><tr><td rowspan=1 colspan=1>K</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1></td></tr><tr><td rowspan=2 colspan=1>1 (AS) t234</td><td rowspan=2 colspan=1>65.668.368.3</td><td rowspan=1 colspan=1>5765.668.0</td></tr><tr><td rowspan=1 colspan=1>68.2</td></tr></table>
|
| 169 |
+
|
| 170 |
+
Table 5: Validation/Test accuracy $( \% )$ on CNN, Daily Mail and CBT. Results marked with $^ \dagger$ are cf previously published works. Results marked with $^ \ddag$ were obtained by training on a larger training set. Best performance on standard training sets is in bold, and on larger training sets in italics.
|
| 171 |
+
|
| 172 |
+
<table><tr><td rowspan="2">Model</td><td colspan="2">CNN</td><td colspan="2">Daily Mail</td><td colspan="2">CBT-NE</td><td colspan="2">CBT-CN</td></tr><tr><td>Val</td><td>Test Val</td><td>Test</td><td>Val</td><td>Test</td><td>Val</td><td></td><td>Test</td></tr><tr><td>Humans (query) †</td><td></td><td></td><td></td><td></td><td>一</td><td>52.0</td><td>1</td><td>64.4</td></tr><tr><td>Humans (context + query) +</td><td>1</td><td>1</td><td>1</td><td>1 一</td><td>1 51.2</td><td>81.6 41.8</td><td>1 62.6</td><td>81.6 56.0</td></tr><tr><td>LSTMs (context + query) t</td><td>1 55.0</td><td>1 57.0</td><td>1 63.3</td><td>62.2</td><td>1</td><td>1</td><td></td><td></td></tr><tr><td>Deep LSTM Reader t Attentive Reader †</td><td>61.6</td><td>63.0</td><td>70.5</td><td>69.0</td><td>1</td><td>1</td><td>1 1</td><td>1 1</td></tr><tr><td>Impatient Reader +</td><td>61.8</td><td>63.8</td><td>69.0</td><td>68.0</td><td>1</td><td>1</td><td>1</td><td>1</td></tr><tr><td>MemNets †</td><td>63.4</td><td>66.8</td><td></td><td></td><td>70.4</td><td>66.6</td><td>64.2</td><td>63.0</td></tr><tr><td>AS Reader †</td><td>68.6</td><td>69.5</td><td>75.0</td><td>73.9</td><td>73.8</td><td>68.6</td><td>68.8</td><td>63.4</td></tr><tr><td>DER Network †</td><td>71.3</td><td>72.9</td><td></td><td>1</td><td></td><td></td><td></td><td></td></tr><tr><td>Stanford AR (relabeling) t</td><td>73.8</td><td>73.6</td><td>1 77.6</td><td>76.6</td><td>1</td><td>1 1</td><td>1</td><td>1</td></tr><tr><td>Iterative Attentive Reader †</td><td>72.6</td><td>73.3</td><td></td><td></td><td>75.2</td><td>68.6</td><td>1 72.1</td><td>1 69.2</td></tr><tr><td></td><td>73.4</td><td>74.0</td><td>1</td><td>1</td><td>75.3</td><td>69.7</td><td></td><td></td></tr><tr><td>EpiReader †</td><td>73.1</td><td>74.4</td><td>1</td><td>1</td><td></td><td></td><td>71.5</td><td>67.4</td></tr><tr><td>AoA Reader †</td><td></td><td>74.7</td><td></td><td>76.6</td><td>77.8</td><td>72.0</td><td>72.2</td><td>69.4</td></tr><tr><td>ReasoNet † NSE †</td><td>72.9</td><td></td><td>77.6</td><td></td><td>1 78.2</td><td>1 73.2</td><td>1</td><td>1</td></tr><tr><td></td><td>1</td><td>1</td><td>1</td><td>1</td><td></td><td></td><td>74.3</td><td>71.9</td></tr><tr><td>MemNets (ensemble) † AS Reader (ensemble) t</td><td>66.2 73.9</td><td>69.4 75.4</td><td></td><td>77.7</td><td>一</td><td></td><td>1</td><td>1</td></tr><tr><td></td><td></td><td></td><td>78.7</td><td>79.2</td><td>76.2</td><td>71.0</td><td>71.1</td><td>68.9</td></tr><tr><td>Stanford AR (relabeling,ensemble) †</td><td>77.2</td><td>77.6</td><td>80.2</td><td></td><td>一</td><td>1</td><td>1</td><td>1</td></tr><tr><td>Iterative Attentive Reader (ensemble) †</td><td>75.2</td><td>76.1</td><td>1</td><td>1</td><td>76.9</td><td>72.0</td><td>74.1</td><td>71.0</td></tr><tr><td>EpiReader (ensemble) †</td><td>1</td><td>1</td><td>1</td><td>1</td><td>76.6</td><td>71.8</td><td>73.6</td><td>70.6</td></tr><tr><td>AS Reader (+BookTest) † ‡</td><td>1</td><td>一</td><td>1</td><td>一</td><td>80.5</td><td>76.2</td><td>83.2</td><td>80.8</td></tr><tr><td>AS Reader (+BookTest,ensemble) † ‡</td><td>1</td><td>一</td><td>1</td><td>1</td><td>82.3</td><td>78.4</td><td>85.7</td><td>83.7</td></tr><tr><td>GA--</td><td>73.0</td><td>73.8</td><td>76.7</td><td>75.7</td><td>74.9</td><td>69.0</td><td>69.0</td><td>63.9</td></tr><tr><td>GA (update L(w))</td><td>77.9</td><td>77.9</td><td>81.5</td><td>80.9</td><td>76.7</td><td>70.1</td><td>69.8</td><td>67.3</td></tr><tr><td>GA (fix L(w))</td><td>77.9</td><td>77.8</td><td>80.4</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td>77.3</td><td>76.9</td><td></td><td>79.6</td><td>77.2</td><td>71.4</td><td>71.6</td><td>68.0</td></tr><tr><td>GA (+feature, update L(w))</td><td>76.7</td><td>77.4</td><td>80.7</td><td>80.0 79.3</td><td>77.2</td><td>73.3 74.9</td><td>73.0 74.4</td><td>69.8</td></tr><tr><td>GA (+feature, fix L(w))</td><td></td><td></td><td>80.0</td><td></td><td>78.5</td><td></td><td></td><td>70.7</td></tr></table>
|
| 173 |
+
|
| 174 |
+

|
| 175 |
+
Figure 2: Performance in accuracy with and without the Gated-Attention module over different amounts of training data. $p$ -values for an exact one-sided Mcnemar’s test are given inside the parentheses for each setting.
|
| 176 |
+
|
| 177 |
+
embeddings provides an improvement for the WDW and CBT, but not for CNN and Daily Mail.
|
| 178 |
+
This is not surprising given that the latter datasets are larger and less prone to overfitting.
|
| 179 |
+
|
| 180 |
+
Comparing with prior work, on the WDW dataset the basic version of the GA Reader outperforms all previously published models when trained on the Strict setting. By adding the qe-comm feature the performance increases by $3 . 2 \%$ and $3 . 5 \%$ on the Strict and Relaxed settings respectively to set a new state of the art on this dataset. On the CNN and Daily Mail datasets the GA Reader leads to an improvement of $3 . 2 \%$ and $4 . 3 \%$ respectively over the best previous single models. They also outperform previous ensemble models, setting a new state of that art for both datasets. For CBT-NE, GA Reader with the qe-comm feature outperforms all previous single and ensemble models except the AS Reader trained on the much larger BookTest Corpus (Bajgar et al., 2016). Lastly, on CBTCN the GA Reader with the qe-comm feature outperforms all previously published single models except the NSE, and AS Reader trained on a larger corpus.
|
| 181 |
+
|
| 182 |
+
# 4.4 GA READER ANALYSIS
|
| 183 |
+
|
| 184 |
+
In this section we do an ablation study to see the effect of Gated Attention. We compare the GA Reader as described here to a model which is exactly the same in all aspects, except that it passes document embeddings $D ^ { ( k ) }$ in each layer directly to the inputs of the next layer without using the GA module. In other words $X ^ { ( k ) } = D ^ { ( k ) }$ for all $k > 0$ . This model ends up using only one query GRU at the output layer for selecting the answer from the document. We compare these two variants both with and without the qe-comm feature on CNN and WDW datasets for three subsets of the training data - $50 \%$ , $7 5 \%$ and $100 \%$ . Test set accuracies for these settings are shown in Figure 2. On CNN when tested without feature engineering, we observe that GA provides a significant boost in performance compared to without GA. When tested with the feature it still gives an improvement, but the improvement is significant only with $100 \%$ training data. On WDW-Strict, which is a third of the size of CNN, without the feature we see an improvement when using GA versus without using GA, which becomes significant as the training set size increases. When tested with the feature on WDW, for a small data size without GA does better than with GA, but as the dataset size increases they become equivalent. We conclude that Gated Attention provides a boost in the absence of feature engineering, or as the training set size increases.
|
| 185 |
+
|
| 186 |
+
Next we look at the question of how to gate intermediate document reader states from the query, i.e. what operation to use in equation 6. Table 4 (top) shows the performance on WDW dataset for three common choices – sum $( x = d + q )$ ), concatenate $( x = d \lVert q )$ and multiply $( x = d \odot q )$ . Empirically we find that element-wise multiplication does significantly better than the other two, which justifies our motivation to “filter” out document features which are irrelevant to the query.
|
| 187 |
+
|
| 188 |
+
At the bottom of Table 4 we show the effect of varying the number of hops $K$ of the GA Reader on the final performance. We note that for $K = 1$ , our model is equivalent to the AS Reader without any GA modules. We see a steep and steady rise in accuracy as the number of hops is increased from $K = 1$ to $K = 3$ , which remains constant beyond that. This is a fairly common trend in machine learning as model complexity is increased, however we note that a multi-hop architecture is important to achieve a high performance for this task, and provide further evidence for this in the next section.
|
| 189 |
+
|
| 190 |
+

|
| 191 |
+
Figure 3: Layer-wise attention visualization of GA Reader trained on WDW-Strict. See text for details.
|
| 192 |
+
DOCjapaesei avetompilatdaiefdfisdsi nsotolsafee entblamedll ncialifelieedosoald new global financial regulatory standardsat the london summit.
|
| 193 |
+
QRYbegupsicilaoadi <end> ANS:timothy geithner
|
| 194 |
+
|
| 195 |
+
Lastly, we perform an ablation study for the three components of the GA Reader which were absent in the preprint version (GA Reader--). Table 6 shows accuracy on WDW by removing one component at a time. The steepest reduction is observed when we replace pretrained GloVe vectors with those pretrained on the corpus itself. GloVe vectors were trained on a large corpus of about 6 billion tokens (Pennington et al., 2014), and provide an important source of prior knowledge for the model. We note here that the strongest baseline on WDW, NSE (Munkhdalai & Yu, 2016b), also uses pretrained GloVe vectors, hence the comparison is fair in that respect. Next, we observe a substantial drop when removing token-specific attentions over the query in the GA module, which allow gating indi
|
| 196 |
+
|
| 197 |
+
Table 6: Ablation study on WDW dataset, without using the qe-comm feature and with fixed $L ( w )$ . Results marked with $^ \dagger$ are cf Onishi et al. (2016).
|
| 198 |
+
|
| 199 |
+
<table><tr><td rowspan=1 colspan=1>Model</td><td rowspan=1 colspan=2>AccuracyVal Test</td></tr><tr><td rowspan=2 colspan=1>GA-char-token-attentions (eq. 5)-glove,+corpus</td><td rowspan=1 colspan=1>68.366.9</td><td rowspan=1 colspan=1>68.066.9</td></tr><tr><td rowspan=1 colspan=1>65.764.0</td><td rowspan=1 colspan=1>65.062.5</td></tr><tr><td rowspan=1 colspan=1>GA--t</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>57</td></tr></table>
|
| 200 |
+
|
| 201 |
+
vidual tokens in the document only by parts of the query relevant to that token rather than the overall query representation. Finally, removing the character embeddings, which were only used for WDW and CBT datasets, leads to a reduction of about $1 \%$ in the performance.
|
| 202 |
+
|
| 203 |
+
# 4.5 ATTENTION VISUALIZATION
|
| 204 |
+
|
| 205 |
+
To gain an insight into the reading process employed by the model we analyzed the attention distributions at intermediate layers of the reader. Figure 3 shows an example from the validation set of WDW dataset (several more are in the Appendix). In each figure, the left and middle plots visualize attention over the query (equation 5) for candidates in the document after layers $1 \ \& \ 2$ respectively. The right plot shows attention over candidates in the document of cloze placeholder (XXX) in the query at the final layer. The full document, query and correct answer are shown at the bottom.
|
| 206 |
+
|
| 207 |
+
A generic pattern observed in these examples is that in intermediate layers, candidates in the document (shown along rows) tend to pick out salient tokens in the query which provide clues about the cloze, and in the final layer the candidate with the highest match with these tokens is selected as the answer. In Figure 3 there is a high attention of the correct answer on financial regulatory standards in the first layer, and on us president in the second layer. The incorrect answer, in contrast, only attends to one of these aspects, and hence receives a lower score in the final layer despite the n-gram overlap it has with the cloze token in the query. Importantly, different layers tend to focus on different tokens in the query, which supports the hypothesis that the multi-hop architecture of GA Reader is able to combine distinct pieces of information to answer the query.
|
| 208 |
+
|
| 209 |
+
# 5 CONCLUSION
|
| 210 |
+
|
| 211 |
+
We presented the Gated-Attention reader for answering cloze-style questions over documents. The GA reader features a novel multiplicative gating mechanism, combined with a multi-hop architecture. Our model achieves state-of-the-art performance on several large-scale benchmark datasets with more than $4 \%$ improvements over competitive baselines. Our model design is backed up by an ablation study showing statistically significant improvements of using Gated Attention as information filters. We also showed empirically that multiplicative gating is superior to addition and concatenation operations for implementing gated-attentions, though a theoretical justification remains part of future research goals. Analysis of document and query attentions in intermediate layers of the reader further reveals that the model iteratively attends to different aspects of the query to arrive at the final answer. In this paper we have focused on text comprehension, but we believe that the Gated-Attention mechanism may benefit other tasks as well where multiple sources of information interact. Concurrent to our work (Chu et al., 2016) have also shown the effectiveness of GA Readers on the LAMBADA dataset (Paperno et al., 2016) for language modeling.
|
| 212 |
+
|
| 213 |
+
# REFERENCES
|
| 214 |
+
|
| 215 |
+
Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. arXiv preprint arXiv:1409.0473, 2014.
|
| 216 |
+
Ondrej Bajgar, Rudolf Kadlec, and Jan Kleindienst. Embracing data abundance: Booktest dataset for reading comprehension. arXiv preprint arXiv:1610.00956, 2016.
|
| 217 |
+
Danqi Chen, Jason Bolton, and Christopher D Manning. A thorough examination of the cnn/daily mail reading comprehension task. arXiv preprint arXiv:1606.02858, 2016.
|
| 218 |
+
Kyunghyun Cho, Bart Van Merrienboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Hol- ¨ ger Schwenk, and Yoshua Bengio. Learning phrase representations using rnn encoder-decoder for statistical machine translation. arXiv preprint arXiv:1406.1078, 2014.
|
| 219 |
+
Zewei Chu, Hai Wang, Kevin Gimpel, and David McAllester. Broad context language modeling as reading comprehension. arXiv preprint arXiv:1610.08431, 2016.
|
| 220 |
+
Yiming Cui, Zhipeng Chen, Si Wei, Shijin Wang, Ting Liu, and Guoping Hu. Attention-overattention neural networks for reading comprehension. arXiv preprint arXiv:1607.04423, 2016.
|
| 221 |
+
Bhuwan Dhingra, Zhong Zhou, Dylan Fitzpatrick, Michael Muehl, and William W Cohen. Tweet2vec: Character-based distributed representations for social media. ACL, 2016.
|
| 222 |
+
Karl Moritz Hermann, Tomas Kocisky, Edward Grefenstette, Lasse Espeholt, Will Kay, Mustafa Suleyman, and Phil Blunsom. Teaching machines to read and comprehend. In Advances in Neural Information Processing Systems, pp. 1684–1692, 2015.
|
| 223 |
+
Felix Hill, Antoine Bordes, Sumit Chopra, and Jason Weston. The goldilocks principle: Reading children’s books with explicit memory representations. arXiv preprint arXiv:1511.02301, 2015.
|
| 224 |
+
Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, 9(8): 1735–1780, 1997.
|
| 225 |
+
Rudolf Kadlec, Martin Schmid, Ondrej Bajgar, and Jan Kleindienst. Text understanding with the attention sum reader network. arXiv preprint arXiv:1603.01547, 2016.
|
| 226 |
+
Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 227 |
+
Ryan Kiros, Richard Zemel, and Ruslan R Salakhutdinov. A multiplicative model for learning distributed text-based attribute representations. In Advances in Neural Information Processing Systems, pp. 2348–2356, 2014.
|
| 228 |
+
Sosuke Kobayashi, Ran Tian, Naoaki Okazaki, and Kentaro Inui. Dynamic entity representations with max-pooling improves machine reading. In NAACL-HLT, 2016.
|
| 229 |
+
|
| 230 |
+
Ankit Kumar, Ozan Irsoy, Jonathan Su, James Bradbury, Robert English, Brian Pierce, Peter Ondruska, Ishaan Gulrajani, and Richard Socher. Ask me anything: Dynamic memory networks for natural language processing. arXiv preprint arXiv:1506.07285, 2015.
|
| 231 |
+
|
| 232 |
+
Peng Li, Wei Li, Zhengyan He, Xuguang Wang, Ying Cao, Jie Zhou, and Wei Xu. Dataset and neural recurrent sequence labeling model for open-domain factoid question answering. arXiv preprint arXiv:1607.06275, 2016.
|
| 233 |
+
|
| 234 |
+
Jeff Mitchell and Mirella Lapata. Vector-based models of semantic composition. In ACL, pp. 236– 244, 2008.
|
| 235 |
+
|
| 236 |
+
Volodymyr Mnih, Nicolas Heess, Alex Graves, et al. Recurrent models of visual attention. In Advances in Neural Information Processing Systems, pp. 2204–2212, 2014.
|
| 237 |
+
|
| 238 |
+
Tsendsuren Munkhdalai and Hong Yu. Neural semantic encoders. arXiv preprint arXiv:1607.04315, 2016a.
|
| 239 |
+
|
| 240 |
+
Tsendsuren Munkhdalai and Hong Yu. Reasoning with memory augmented neural networks for language comprehension. arXiv preprint arXiv:1610.06454, 2016b.
|
| 241 |
+
|
| 242 |
+
Takeshi Onishi, Hai Wang, Mohit Bansal, Kevin Gimpel, and David McAllester. Who did what: A large-scale person-centered cloze dataset. EMNLP, 2016.
|
| 243 |
+
|
| 244 |
+
Denis Paperno, German Kruszewski, Angeliki Lazaridou, Quan Ngoc Pham, Raffaella Bernardi, ´ Sandro Pezzelle, Marco Baroni, Gemma Boleda, and Raquel Fernandez. The lambada dataset: ´ Word prediction requiring a broad discourse context. arXiv preprint arXiv:1606.06031, 2016.
|
| 245 |
+
|
| 246 |
+
Razvan Pascanu, Tomas Mikolov, and Yoshua Bengio. On the difficulty of training recurrent neural networks. arXiv preprint arXiv:1211.5063, 2012.
|
| 247 |
+
|
| 248 |
+
Jeffrey Pennington, Richard Socher, and Christopher D. Manning. Glove: Global vectors for word representation. In Empirical Methods in Natural Language Processing (EMNLP), pp. 1532–1543, 2014. URL http://www.aclweb.org/anthology/D14-1162.
|
| 249 |
+
|
| 250 |
+
Yelong Shen, Po-Sen Huang, Jianfeng Gao, and Weizhu Chen. Reasonet: Learning to stop reading in machine comprehension. arXiv preprint arXiv:1609.05284, 2016.
|
| 251 |
+
|
| 252 |
+
Alessandro Sordoni, Phillip Bachman, and Yoshua Bengio. Iterative alternating neural attention for machine reading. arXiv preprint arXiv:1606.02245, 2016.
|
| 253 |
+
|
| 254 |
+
Sainbayar Sukhbaatar, Jason Weston, Rob Fergus, et al. End-to-end memory networks. In Advances in Neural Information Processing Systems, pp. 2431–2439, 2015.
|
| 255 |
+
|
| 256 |
+
Theano Development Team. Theano: A Python framework for fast computation of mathematical expressions. arXiv e-prints, abs/1605.02688, May 2016. URL http://arxiv.org/abs/ 1605.02688.
|
| 257 |
+
|
| 258 |
+
Adam Trischler, Zheng Ye, Xingdi Yuan, and Kaheer Suleman. Natural language comprehension with the epireader. arXiv preprint arXiv:1606.02270, 2016.
|
| 259 |
+
|
| 260 |
+
Jason Weston, Sumit Chopra, and Antoine Bordes. Memory networks. arXiv preprint arXiv:1410.3916, 2014.
|
| 261 |
+
|
| 262 |
+
Yuhuai Wu, Saizheng Zhang, Ying Zhang, Yoshua Bengio, and Ruslan Salakhutdinov. On multiplicative integration with recurrent neural networks. arXiv preprint arXiv:1606.06630, 2016.
|
| 263 |
+
|
| 264 |
+
Bishan Yang, Wen-tau Yih, Xiaodong He, Jianfeng Gao, and Li Deng. Learning multi-relational semantics using neural-embedding models. arXiv preprint arXiv:1411.4072, 2014.
|
| 265 |
+
|
| 266 |
+
Zhilin Yang, Ruslan Salakhutdinov, and William Cohen. Multi-task cross-lingual sequence tagging from scratch. arXiv preprint arXiv:1603.06270, 2016.
|
| 267 |
+
|
| 268 |
+
# A ATTENTION PLOTS
|
| 269 |
+
|
| 270 |
+

|
| 271 |
+
Figure 4: Layer-wise attention visualization of GA Reader trained on WDW-Strict. See text for details.
|
| 272 |
+
|
| 273 |
+

|
| 274 |
+
DOC:resultsundfrothe(uro)5(\$97tptudodcourtevetataaisssports(edisite $) :$ singl efinalmij ulian knowle,austria and robert lindstedt,sweden(1),6-4,6-3.
|
| 275 |
+
QRY:<beg> france 's michael llodra beat his compatriot and doubles partner XXX.<end> ANS: julien benneteau
|
| 276 |
+
|
| 277 |
+
DOC:englandatsatdilo gonedayerdalod'sadfiealfdebo treelyosiveoineioodidespaewastaltersic pontingsoaieettieddtfiris forkshiessil ybodisfocusdeidtheseitseetfaideino sstringprospeast sdees lot'shappenedtomeinthelast sixmonths.ifthechancecomes-ryan'sgotaniggle,butidon'tthinkit $\cdot _ { \mathsf { S } }$ too bad -i've just got toput inadecen tpeforncentsddetb can get the nod."
|
| 278 |
+
|
| 279 |
+
QRY:<beg>yrksowdaldd‘soteatdfdamstrd> ANS:ryan sidebottom
|
| 280 |
+
|
| 281 |
+

|
| 282 |
+
Figure 5: Layer-wise attention visualization of GA Reader trained on WDW-Strict. See text for details.
|
| 283 |
+
DOC:usseeaitotitee"tt twaswhatitsotindssfiisteoaditteifis uxuryotelinrliausresidetdeiuriofeet ythattheistdooittotiad ouldworktogddseprofedtitttserelaoil togetherdgutodetset sianword.doyou thinkwegot it $? ^ { n }$ clintonaskedlavrov.yougotitwrong,"herespondedas theyboth laughed.it shouldbe'perezagrouzka‘(t e thattous"lsaeaatastaedrasdo k.
|
| 284 |
+
|
| 285 |
+

|
| 286 |
+
QRY:<beg>usecrearyfstatehilaryinonmeetsXXofiddsesidseissureteywillotoveromealldifereesed> ANS:sergei lavrov
|
| 287 |
+
DOC: illinois governor arrested on corruption charges chicago,dec.9( xinhua $textsc { -- } u . s .$ federal prosecutors on tuesday arrested illinois governor rod blagojevich a nhischiefofdsds ingtoeoeateatcntsittacifoaaitsfdelfoo alsochargdimia tabout6sp ansaid he did not know the development.
|
| 288 |
+
|
| 289 |
+
QRY:<beg>rescddf $" { \mathsf { s } }$ senate seat
|
| 290 |
+
.<end>
|
| 291 |
+
ANS: rod blagojevich
|
| 292 |
+
QRY: ${ \tt { < b e g > } }$ europeancmmissocejemaroaldxprssthu’appnt"taffisiua
|
| 293 |
+
,an aide said.<end>
|
| 294 |
+
ANS:vladimirputin
|
| 295 |
+
|
| 296 |
+

|
| 297 |
+
Figure 6: Layer-wise attention visualization of GA Reader trained on WDW-Strict. See text for details.
|
| 298 |
+
DC:europealpldttcffirosr threaerosteos ingdisapomettcfaturafoeodedtlitsifoei barososteitheondtcsfotispac rdingtoisidutiaettpdstso ukraianouteostart hcausesdatsl iistlsteetacsi moshenkoprteodasorotilo wednesdayamidapricingdisputewithukranethecutoffleftanumberofeuropeancountriesinlackofheatinggasamidfrezingeather
|
| 299 |
+
|
| 300 |
+

|
| 301 |
+
|
| 302 |
+
DC:presidftabliil eetecti eepeteti wseportetlipsaorucftfoe subectofurtatetei thepalestinll cess between israel and palestine.this has been abbas'third oficial visit to france since 2007.
|
| 303 |
+
|
| 304 |
+
QRYbeg
|
| 305 |
+
reconsideringa freeze.<end>
|
| 306 |
+
ANS:benjaminnetanyahu
|
| 307 |
+
|
| 308 |
+

|
| 309 |
+
Figure 7: Layer-wise attention visualization of GA Reader trained on WDW-Strict. See text for details.
|
| 310 |
+
DC:iftheredooid intinge evenofthmrrididldidfdt losnddadrdebarsidoidth d,bytakingolndaingosdeableutiacesideo'sltiveilloko
|
| 311 |
+
|
| 312 |
+

|
| 313 |
+
ORYbi from Xxx.<end> ANS: lionel messi
|
| 314 |
+
|
| 315 |
+
DOC:dinarafetsedtfidtoebf forcederorscadlastli)afi teroftwotiampaaiodtrilduedfa eadowsece he u.s.openand has won one grand slam match.she never has defeated anyone ranked better than 47th.
|
| 316 |
+
|
| 317 |
+
QRYbeg>rbilrstiffsdi same wayXXX did in 20o0.<end>
|
parse/train/HkcdHtqlx/HkcdHtqlx_content_list.json
ADDED
|
@@ -0,0 +1,1538 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
| 9 |
+
589,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Bhuwan Dhingra∗, Hanxiao Liu∗, Zhilin Yang, William W. Cohen & Ruslan Salakhutdinov ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
170,
|
| 20 |
+
810,
|
| 21 |
+
185
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "School of Computer Science \nCarnegie Mellon University \n{bdhingra,hanxiaol,zhiliny,wcohen,rsalakhu}@cs.cmu.edu ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
184,
|
| 30 |
+
186,
|
| 31 |
+
715,
|
| 32 |
+
226
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "ABSTRACT ",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
454,
|
| 42 |
+
262,
|
| 43 |
+
544,
|
| 44 |
+
277
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "In this paper we study the problem of answering cloze-style questions over documents. Our model, the Gated-Attention (GA) Reader, integrates a multi-hop architecture with a novel attention mechanism, which is based on multiplicative interactions between the query embedding and the intermediate states of a recurrent neural network document reader. This enables the reader to build query-specific representations of tokens in the document for accurate answer selection. The GA Reader obtains state-of-the-art results on three benchmarks for this task–the CNN & Daily Mail news stories and the Who Did What dataset. The effectiveness of multiplicative interaction is demonstrated by an ablation study, and by comparing to alternative compositional operators for implementing the gated-attention. ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
233,
|
| 53 |
+
294,
|
| 54 |
+
764,
|
| 55 |
+
433
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 INTRODUCTION ",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
176,
|
| 65 |
+
459,
|
| 66 |
+
336,
|
| 67 |
+
474
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "A recent trend to measure progress towards machine reading is to test a system’s ability to answer questions about a document it has to comprehend. Towards this end, several large-scale datasets of cloze-style questions over a context document have been introduced recently, which allow the training of supervised machine learning systems (Hermann et al., 2015; Hill et al., 2015; Onishi et al., 2016). Such datasets can be easily constructed automatically and the unambiguous nature of their queries provides an objective benchmark to measure a system’s performance at text comprehension. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
491,
|
| 77 |
+
825,
|
| 78 |
+
574
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Deep learning models have recently been shown to outperform traditional shallow approaches on text comprehension tasks (Hermann et al., 2015). The success of many recent models can be attributed primarily to two factors: (1) Multi-hop architectures allow a (Weston et al., 2014; Sordoni et al., 2016; Shen et al., 2016), model to scan the document and the question iteratively for multiple passes. (2) Attention mechanisms, (Weston et al., 2014; Chen et al., 2016; Hermann et al., 2015) borrowed from the machine translation literature (Bahdanau et al., 2014), allow the model to focus on appropriate subparts of the context document. Intuitively, the multi-hop architecture allows the reader to incrementally refine token representations, and the attention mechanism re-weights different parts in the document according to their relevance to the query. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
582,
|
| 88 |
+
825,
|
| 89 |
+
707
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "The effectiveness of multi-hop reasoning and attentions have been explored orthogonally so far in the literature. In this paper, we focus on combining both in a complementary manner, by designing a novel attention mechanism which gates the evolving token representations across hops. More specifically, unlike existing models where the query attention is applied either token-wise (Hermann et al., 2015; Kadlec et al., 2016; Chen et al., 2016; Hill et al., 2015) or sentence-wise (Weston et al., 2014; Sukhbaatar et al., 2015) to allow weighted aggregation, the Gated-Attention (GA) module proposed in this work allows the query to directly interact with each dimension of the token embeddings at the semantic-level, and is applied layer-wise as information filters during the multi-hop representation learning process. Such a fine-grained attention enables our model to learn conditional token representations with respect to the given question, leading to accurate answer selections. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
173,
|
| 98 |
+
713,
|
| 99 |
+
825,
|
| 100 |
+
852
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "We show in our experiments that the proposed GA reader, despite its relative simplicity, consistently improves over a variety of strong baselines on three benchmark datasets1. Our key contribution, the GA module, provides a significant improvement when the dataset size is large. Qualitatively, visualization of the attentions at intermediate layers of the GA reader shows that in each layer the GA reader attends to distinct salient aspects of the query which help in determining the answer. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
176,
|
| 109 |
+
859,
|
| 110 |
+
823,
|
| 111 |
+
887
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
103,
|
| 121 |
+
823,
|
| 122 |
+
146
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "2 RELATED WORK ",
|
| 129 |
+
"text_level": 1,
|
| 130 |
+
"bbox": [
|
| 131 |
+
176,
|
| 132 |
+
165,
|
| 133 |
+
344,
|
| 134 |
+
181
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "The cloze-style QA task involves tuples of the form $( d , q , a , \\mathcal { C } )$ , where $d$ is a document (context), $q$ is a query over the contents of $d$ , in which a phrase is replaced with a placeholder, and $a$ is the answer to $q$ , which comes from a set of candidates $\\mathcal { C }$ . In this work we consider datasets where each candidate $c \\in { \\mathcal { C } }$ has at least one token which also appears in the document. The task can then be described as: given a document-query pair $( d , q )$ , find $a \\in { \\mathcal { C } }$ which answers $q$ . Below we provide an overview of representative neural network architectures which have been applied to this problem. ",
|
| 141 |
+
"bbox": [
|
| 142 |
+
174,
|
| 143 |
+
196,
|
| 144 |
+
825,
|
| 145 |
+
280
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "LSTMs with Attention: Several architectures introduced in (Hermann et al., 2015) employ LSTM units to compute a combined document-query representation $g ( d , q )$ , which is used to rank the candidate answers. Their techniques include the DeepLSTM Reader which performs a single forward pass through the concatenated (document, query) pair to obtain $g ( d , q )$ ; the Attentive Reader which first computes a document vector $d ( q )$ by a weighted aggregation of words according to attentions based on $q$ , and then combines $d ( q )$ and $q$ to obtain their joint representation $g ( d ( q ) , q )$ ; and the Impatient Reader where the document representation is built incrementally. The architecture of the Attentive Reader has been simplified recently in Stanford Attentive Reader, where shallower recurrent units were used with a bilinear form for the query-document attention (Chen et al., 2016). ",
|
| 152 |
+
"bbox": [
|
| 153 |
+
173,
|
| 154 |
+
287,
|
| 155 |
+
825,
|
| 156 |
+
412
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 1
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "Attention Sum: The Attention-Sum (AS) Reader (Kadlec et al., 2016) uses two bi-directional GRU networks (Cho et al., 2014) to encode both $d$ and $q$ into vectors, similar to Stanford AR. A probability distribution over the entities in $d$ is obtained by computing dot products between $q$ and the entity embeddings and taking a softmax. An aggregation scheme named pointer-sum attention is further applied to sum the probabilities of the same entity, so that frequent entities the document will be favored compared to rare ones. Building on the AS Reader, the Attention-over-Attention (AoA) Reader (Cui et al., 2016) introduces a two-way attention mechanism where the query and the document are mutually attentive to each other. ",
|
| 163 |
+
"bbox": [
|
| 164 |
+
174,
|
| 165 |
+
419,
|
| 166 |
+
825,
|
| 167 |
+
531
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 1
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "text",
|
| 173 |
+
"text": "Mulit-hop Architectures: Memory Networks (MemNets) were proposed in (Weston et al., 2014), where each sentence in the document is encoded to a memory by aggregating nearby words. Attention over the memory slots given the query is used to compute an overall memory and to renew the query representation over multiple iterations, allowing certain types of reasoning over the salient facts in the memory and the query. Neural Semantic Encoders (NSE) (Munkhdalai & Yu, 2016a) extended MemNets by introducing a write operation which can evolve the memory over time during the course of reading. Iterative reasoning has been found effective in several more recent models, including the Iterative Attentive Reader (Sordoni et al., 2016) and ReasoNet (Shen et al., 2016). The latter allows a dynamic number of reasoning steps and is trained with reinforcement learning. ",
|
| 174 |
+
"bbox": [
|
| 175 |
+
174,
|
| 176 |
+
537,
|
| 177 |
+
825,
|
| 178 |
+
662
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 1
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "text",
|
| 184 |
+
"text": "Other related works include Dynamic Entity Representation network (DER) (Kobayashi et al., 2016), which builds dynamic representations of the candidate answers while reading the document, and accumulates the information about an entity by max-pooling. EpiReader (Trischler et al., 2016) consists of two networks, where one proposes a small set of candidate answers, and the other reranks the proposed candidates conditioned on the query and the context. (Bajgar et al., 2016) showed a $10 \\%$ improvement on the CBT corpus (Hill et al., 2015) by training the AS Reader on an augmented training set of about 14 million examples, making a case for community to exploit data abundance. The focus of this paper, however, is on designing models which exploit the available data efficiently. ",
|
| 185 |
+
"bbox": [
|
| 186 |
+
174,
|
| 187 |
+
670,
|
| 188 |
+
825,
|
| 189 |
+
781
|
| 190 |
+
],
|
| 191 |
+
"page_idx": 1
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"type": "text",
|
| 195 |
+
"text": "3 GATED-ATTENTION READER ",
|
| 196 |
+
"text_level": 1,
|
| 197 |
+
"bbox": [
|
| 198 |
+
176,
|
| 199 |
+
801,
|
| 200 |
+
444,
|
| 201 |
+
818
|
| 202 |
+
],
|
| 203 |
+
"page_idx": 1
|
| 204 |
+
},
|
| 205 |
+
{
|
| 206 |
+
"type": "text",
|
| 207 |
+
"text": "3.1 MOTIVATION ",
|
| 208 |
+
"text_level": 1,
|
| 209 |
+
"bbox": [
|
| 210 |
+
174,
|
| 211 |
+
828,
|
| 212 |
+
305,
|
| 213 |
+
843
|
| 214 |
+
],
|
| 215 |
+
"page_idx": 1
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"type": "text",
|
| 219 |
+
"text": "Our proposed GA readers perform multiple hops over the document (context), similar to the Memory Networks architecture (Sukhbaatar et al., 2015). Multi-hop architectures mimic the multi-step comprehension process of human readers, and have shown promising results in several recent models for text comprehension (Sordoni et al., 2016; Kumar et al., 2015; Shen et al., 2016). The contextual representations in GA readers, namely the embeddings of words in the document, are iteratively refined across hops until reaching a final attention-sum module (Kadlec et al., 2016) which maps the contextual representations in the last hop to a probability distribution over candidate answers. ",
|
| 220 |
+
"bbox": [
|
| 221 |
+
174,
|
| 222 |
+
854,
|
| 223 |
+
823,
|
| 224 |
+
924
|
| 225 |
+
],
|
| 226 |
+
"page_idx": 1
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"type": "text",
|
| 230 |
+
"text": "",
|
| 231 |
+
"bbox": [
|
| 232 |
+
173,
|
| 233 |
+
103,
|
| 234 |
+
823,
|
| 235 |
+
132
|
| 236 |
+
],
|
| 237 |
+
"page_idx": 2
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"type": "text",
|
| 241 |
+
"text": "The attention mechanism has been introduced recently to model human focus, leading to significant improvement in machine translation and image captioning (Bahdanau et al., 2014; Mnih et al., 2014). In reading comprehension tasks, ideally, the semantic meanings carried by the contextual embeddings should be aware of the query across hops. As an example, human readers are able to keep the question in mind during multiple passes of reading, to successively mask away information irrelevant to the query. However, existing neural network readers are restricted to either attend to tokens (Hermann et al., 2015; Chen et al., 2016) or entire sentences (Weston et al., 2014), with the assumption that certain sub-parts of the document are more important than others. In contrast, we propose a finer-grained model which attends to components of the semantic representation being built up by the GRU. The new attention mechanism, called gated-attention, is implemented based on multiplicative interactions between the query and the contextual embeddings, and is applied per hop to act as fine-grained information filters during the multi-step reasoning. The filters weigh individual components of the vector representation of each token in the document separately. ",
|
| 242 |
+
"bbox": [
|
| 243 |
+
173,
|
| 244 |
+
138,
|
| 245 |
+
825,
|
| 246 |
+
319
|
| 247 |
+
],
|
| 248 |
+
"page_idx": 2
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"type": "text",
|
| 252 |
+
"text": "The design of gated-attention layers is motivated by the effectiveness of multiplicative interaction among vector-space representations, e.g., in various types of recurrent units (Hochreiter & Schmidhuber, 1997; Wu et al., 2016) and in relational learning (Yang et al., 2014; Kiros et al., 2014). While other types of compositional operators are possible, such as concatenation or addition (Mitchell & Lapata, 2008), we find that multiplication has strong empirical performance (section 4.4). Intuitively, multiplicative interaction $e \\odot q$ between two word embeddings $e$ and $q$ adjusts the semantic meaning of $e$ towards $q$ , keeping the compositionality of the original embeddings preserved.2 ",
|
| 253 |
+
"bbox": [
|
| 254 |
+
174,
|
| 255 |
+
325,
|
| 256 |
+
825,
|
| 257 |
+
425
|
| 258 |
+
],
|
| 259 |
+
"page_idx": 2
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"type": "text",
|
| 263 |
+
"text": "3.2 MODEL DETAILS ",
|
| 264 |
+
"text_level": 1,
|
| 265 |
+
"bbox": [
|
| 266 |
+
176,
|
| 267 |
+
439,
|
| 268 |
+
334,
|
| 269 |
+
454
|
| 270 |
+
],
|
| 271 |
+
"page_idx": 2
|
| 272 |
+
},
|
| 273 |
+
{
|
| 274 |
+
"type": "text",
|
| 275 |
+
"text": "Several components of the model use a Gated Recurrent Unit (GRU) (Cho et al., 2014) which maps an input sequence $X = [ x _ { 1 } , x _ { 2 } , \\dots , x _ { T } ]$ to an ouput sequence $H = [ h _ { 1 } , h _ { 2 } , \\ldots , h _ { T } ]$ as follows: ",
|
| 276 |
+
"bbox": [
|
| 277 |
+
174,
|
| 278 |
+
465,
|
| 279 |
+
823,
|
| 280 |
+
496
|
| 281 |
+
],
|
| 282 |
+
"page_idx": 2
|
| 283 |
+
},
|
| 284 |
+
{
|
| 285 |
+
"type": "equation",
|
| 286 |
+
"img_path": "images/7ab077682cd17a2abf295546afe2abaaef7529cda1cb4524672eb1cc5deca749.jpg",
|
| 287 |
+
"text": "$$\n\\begin{array} { r l } & { { \\boldsymbol r } _ { t } = \\sigma ( { \\boldsymbol W } _ { r } { \\boldsymbol x } _ { t } + { \\boldsymbol U } _ { r } h _ { t - 1 } + b _ { r } ) , } \\\\ & { \\boldsymbol z _ { t } = \\sigma ( { \\boldsymbol W } _ { z } { \\boldsymbol x } _ { t } + { \\boldsymbol U } _ { z } h _ { t - 1 } + b _ { z } ) , } \\\\ & { \\tilde { \\boldsymbol h } _ { t } = \\operatorname { t a n h } ( { \\boldsymbol W } _ { h } { \\boldsymbol x } _ { t } + { \\boldsymbol U } _ { h } ( r _ { t } \\odot h _ { t - 1 } ) + b _ { h } ) , } \\\\ & { \\boldsymbol h _ { t } = ( 1 - z _ { t } ) \\odot h _ { t - 1 } + z _ { t } \\odot \\tilde { \\boldsymbol h } _ { t } . } \\end{array}\n$$",
|
| 288 |
+
"text_format": "latex",
|
| 289 |
+
"bbox": [
|
| 290 |
+
357,
|
| 291 |
+
496,
|
| 292 |
+
637,
|
| 293 |
+
574
|
| 294 |
+
],
|
| 295 |
+
"page_idx": 2
|
| 296 |
+
},
|
| 297 |
+
{
|
| 298 |
+
"type": "text",
|
| 299 |
+
"text": "where $\\odot$ denotes the Hadamard product or the element-wise multiplication. $r _ { t }$ and $z _ { t }$ are called the reset and update gates respectively, and $\\tilde { h } _ { t }$ the candidate output. A Bi-directional GRU (BiGRU) processes the sequence in both forward and backward directions to produce two sequences $[ h _ { 1 } ^ { f } , h _ { 2 } ^ { f } , \\ldots , h _ { T } ^ { f } ]$ and $[ h _ { 1 } ^ { b } , h _ { 2 } ^ { b } , \\ldots , h _ { T } ^ { b } ]$ , which are concatenated at the output ",
|
| 300 |
+
"bbox": [
|
| 301 |
+
173,
|
| 302 |
+
575,
|
| 303 |
+
825,
|
| 304 |
+
637
|
| 305 |
+
],
|
| 306 |
+
"page_idx": 2
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"type": "equation",
|
| 310 |
+
"img_path": "images/c9e6cffd31ee768f3afe20d86a979e13799c875a4295968e158a609b01669b96.jpg",
|
| 311 |
+
"text": "$$\n\\overleftrightarrow { \\mathrm { G R U } } ( X ) = [ h _ { 1 } ^ { f } \\| h _ { T } ^ { b } , \\dots , h _ { T } ^ { f } \\| h _ { 1 } ^ { b } ]\n$$",
|
| 312 |
+
"text_format": "latex",
|
| 313 |
+
"bbox": [
|
| 314 |
+
387,
|
| 315 |
+
638,
|
| 316 |
+
614,
|
| 317 |
+
662
|
| 318 |
+
],
|
| 319 |
+
"page_idx": 2
|
| 320 |
+
},
|
| 321 |
+
{
|
| 322 |
+
"type": "text",
|
| 323 |
+
"text": "where ${ \\stackrel { \\longleftrightarrow } { \\operatorname { G R U } } } ( X )$ denotes the full output of the Bi-GRU obtained by concatenating each forward state $h _ { i } ^ { f }$ and backward state $h _ { T - i + 1 } ^ { b }$ at time-step $i$ given the input $X$ . Note ${ \\stackrel { \\longleftrightarrow } { \\operatorname { G R U } } } ( X )$ is a matrix in $\\mathbb { R } ^ { 2 n _ { h } \\times T }$ where $n _ { h }$ stands for the number of hidden units in GRU. ",
|
| 324 |
+
"bbox": [
|
| 325 |
+
173,
|
| 326 |
+
667,
|
| 327 |
+
825,
|
| 328 |
+
722
|
| 329 |
+
],
|
| 330 |
+
"page_idx": 2
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"type": "text",
|
| 334 |
+
"text": "Let $X ^ { ( 0 ) } = [ x _ { 1 } ^ { ( 0 ) } , x _ { 2 } ^ { ( 0 ) } , \\dots x _ { | D | } ^ { ( 0 ) } ]$ denote the token embeddings of the document, which are also inputs at layer 1 for the document reader below, and $Y = [ y _ { 1 } , y _ { 2 } , \\dots y _ { | Q | } ]$ denote the token embeddings of the query. Here $| D |$ and $| Q |$ denote the document and query lengths respectively. ",
|
| 335 |
+
"bbox": [
|
| 336 |
+
174,
|
| 337 |
+
727,
|
| 338 |
+
825,
|
| 339 |
+
779
|
| 340 |
+
],
|
| 341 |
+
"page_idx": 2
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"type": "text",
|
| 345 |
+
"text": "3.2.1 MULTI-HOP ARCHITECTURE ",
|
| 346 |
+
"text_level": 1,
|
| 347 |
+
"bbox": [
|
| 348 |
+
176,
|
| 349 |
+
791,
|
| 350 |
+
429,
|
| 351 |
+
808
|
| 352 |
+
],
|
| 353 |
+
"page_idx": 2
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"type": "text",
|
| 357 |
+
"text": "Figure 1 illustrates the Gated-Attention (GA) reader. The model reads the document and the query over $K$ horizontal layers, where layer $k$ receives the contextual embeddings $X ^ { ( k - 1 ) }$ of the document from the previous layer. The document embeddings are transformed by taking the full output of a document Bi-GRU (indicated in blue in Figure 1): ",
|
| 358 |
+
"bbox": [
|
| 359 |
+
173,
|
| 360 |
+
815,
|
| 361 |
+
825,
|
| 362 |
+
875
|
| 363 |
+
],
|
| 364 |
+
"page_idx": 2
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"type": "equation",
|
| 368 |
+
"img_path": "images/8145691757d79379de83cd81cc9763893a1441c372960fa2122f5ef65623cbc7.jpg",
|
| 369 |
+
"text": "$$\n\\frac { D ^ { ( k ) } = \\overset { \\longleftrightarrow } { \\mathrm { G R U } } _ { D } ^ { ( k ) } \\left( X ^ { ( k - 1 ) } \\right) } { \\mathrm { \\Lambda } ^ { 2 } e _ { 1 } \\odot q + e _ { 2 } \\odot q = \\left( e _ { 1 } + e _ { 2 } \\right) \\odot q , \\forall e _ { 1 } , e _ { 2 } . }\n$$",
|
| 370 |
+
"text_format": "latex",
|
| 371 |
+
"bbox": [
|
| 372 |
+
191,
|
| 373 |
+
876,
|
| 374 |
+
598,
|
| 375 |
+
926
|
| 376 |
+
],
|
| 377 |
+
"page_idx": 2
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"type": "image",
|
| 381 |
+
"img_path": "images/798d2ce30dc9cfc27adf2a52fc6e853076cd73ff93e13b9c2c3ceaf20c05ce09.jpg",
|
| 382 |
+
"image_caption": [
|
| 383 |
+
"Figure 1: Gated-Attention Reader. Dashed lines represent dropout connections. "
|
| 384 |
+
],
|
| 385 |
+
"image_footnote": [],
|
| 386 |
+
"bbox": [
|
| 387 |
+
186,
|
| 388 |
+
131,
|
| 389 |
+
825,
|
| 390 |
+
338
|
| 391 |
+
],
|
| 392 |
+
"page_idx": 3
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"type": "text",
|
| 396 |
+
"text": "At the same time, a layer-specific query representation is computed as the full output of a separate query Bi-GRU (indicated in green in Figure 1): ",
|
| 397 |
+
"bbox": [
|
| 398 |
+
174,
|
| 399 |
+
375,
|
| 400 |
+
825,
|
| 401 |
+
404
|
| 402 |
+
],
|
| 403 |
+
"page_idx": 3
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"type": "equation",
|
| 407 |
+
"img_path": "images/560bc3e01b8457e79ec71e033a4cffb0ee040ae59c8b030fc99cd1e3cca5fb0d.jpg",
|
| 408 |
+
"text": "$$\nQ ^ { ( k ) } = \\overleftrightarrow { \\mathrm { G R U } } _ { Q } ^ { ( k ) } ( Y )\n$$",
|
| 409 |
+
"text_format": "latex",
|
| 410 |
+
"bbox": [
|
| 411 |
+
429,
|
| 412 |
+
406,
|
| 413 |
+
568,
|
| 414 |
+
435
|
| 415 |
+
],
|
| 416 |
+
"page_idx": 3
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"type": "text",
|
| 420 |
+
"text": "Next, Gated-Attention is applied to $D ^ { ( k ) }$ and $Q ^ { ( k ) }$ to compute inputs for the next layer $X ^ { ( k ) }$ . ",
|
| 421 |
+
"bbox": [
|
| 422 |
+
171,
|
| 423 |
+
446,
|
| 424 |
+
781,
|
| 425 |
+
465
|
| 426 |
+
],
|
| 427 |
+
"page_idx": 3
|
| 428 |
+
},
|
| 429 |
+
{
|
| 430 |
+
"type": "equation",
|
| 431 |
+
"img_path": "images/8f54f5fba34f9af15d66dbfe399f025a829f1a3b10719bf0032f511fb67acac9.jpg",
|
| 432 |
+
"text": "$$\nX ^ { ( k ) } = \\mathrm { G A } ( D ^ { ( k ) } , Q ^ { ( k ) } )\n$$",
|
| 433 |
+
"text_format": "latex",
|
| 434 |
+
"bbox": [
|
| 435 |
+
415,
|
| 436 |
+
468,
|
| 437 |
+
583,
|
| 438 |
+
488
|
| 439 |
+
],
|
| 440 |
+
"page_idx": 3
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"type": "text",
|
| 444 |
+
"text": "where GA is defined in the following subsection. ",
|
| 445 |
+
"bbox": [
|
| 446 |
+
174,
|
| 447 |
+
492,
|
| 448 |
+
495,
|
| 449 |
+
507
|
| 450 |
+
],
|
| 451 |
+
"page_idx": 3
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"type": "text",
|
| 455 |
+
"text": "3.2.2 GATED-ATTENTION MODULE ",
|
| 456 |
+
"text_level": 1,
|
| 457 |
+
"bbox": [
|
| 458 |
+
176,
|
| 459 |
+
522,
|
| 460 |
+
433,
|
| 461 |
+
536
|
| 462 |
+
],
|
| 463 |
+
"page_idx": 3
|
| 464 |
+
},
|
| 465 |
+
{
|
| 466 |
+
"type": "text",
|
| 467 |
+
"text": "For brevity, let us drop the superscript $k$ in this subsection as we are focusing on a particular layer. For each token $d _ { i }$ in $D$ , the GA module forms a token-specific representation of the query $\\tilde { q } _ { i }$ using soft attention, and then multiplies the query representation element-wise with the document token representation. Specifically, for $i = 1 , \\ldots , | D |$ : ",
|
| 468 |
+
"bbox": [
|
| 469 |
+
173,
|
| 470 |
+
546,
|
| 471 |
+
825,
|
| 472 |
+
603
|
| 473 |
+
],
|
| 474 |
+
"page_idx": 3
|
| 475 |
+
},
|
| 476 |
+
{
|
| 477 |
+
"type": "equation",
|
| 478 |
+
"img_path": "images/6058a8e3fcd31c66ccf0de7b6580497f1c84da3d6e3eed26a8550c7a5901c77e.jpg",
|
| 479 |
+
"text": "$$\n\\begin{array} { r l } & { \\alpha _ { i } = \\operatorname { s o f t m a x } ( Q ^ { \\top } d _ { i } ) } \\\\ & { { \\tilde { q } } _ { i } = Q \\alpha _ { i } } \\\\ & { x _ { i } = d _ { i } \\odot { \\tilde { q } } _ { i } } \\end{array}\n$$",
|
| 480 |
+
"text_format": "latex",
|
| 481 |
+
"bbox": [
|
| 482 |
+
426,
|
| 483 |
+
607,
|
| 484 |
+
571,
|
| 485 |
+
664
|
| 486 |
+
],
|
| 487 |
+
"page_idx": 3
|
| 488 |
+
},
|
| 489 |
+
{
|
| 490 |
+
"type": "text",
|
| 491 |
+
"text": "In equation (6) we use the multiplication operator to model the interactions between $d _ { i }$ and $\\tilde { q } _ { i }$ . In the experiments section, we also report results for other choices of gating functions, including addition $x _ { i } = d _ { i } + \\tilde { q } _ { i }$ and concatenation $x _ { i } = d _ { i } \\| \\tilde { q } _ { i }$ . ",
|
| 492 |
+
"bbox": [
|
| 493 |
+
173,
|
| 494 |
+
666,
|
| 495 |
+
825,
|
| 496 |
+
709
|
| 497 |
+
],
|
| 498 |
+
"page_idx": 3
|
| 499 |
+
},
|
| 500 |
+
{
|
| 501 |
+
"type": "text",
|
| 502 |
+
"text": "3.2.3 ANSWER PREDICTION ",
|
| 503 |
+
"text_level": 1,
|
| 504 |
+
"bbox": [
|
| 505 |
+
174,
|
| 506 |
+
723,
|
| 507 |
+
383,
|
| 508 |
+
738
|
| 509 |
+
],
|
| 510 |
+
"page_idx": 3
|
| 511 |
+
},
|
| 512 |
+
{
|
| 513 |
+
"type": "text",
|
| 514 |
+
"text": "Let q(\\` $q _ { \\ell } ^ { ( K ) } = q _ { \\ell } ^ { f } \\| q _ { T - \\ell + 1 } ^ { b }$ be an intermediate output of the final layer query Bi-GRU at the location $\\ell$ of the cloze token in the query, and $D ^ { ( K ) } = \\overleftrightarrow { \\mathrm { G R U } } _ { D } ^ { ( K ) } ( X ^ { ( K - 1 ) } )$ be the full output of final layer document Bi-GRU. To obtain the probability that a particular token in the document answers the query, we take an inner-product between these two, and pass through a softmax layer: ",
|
| 515 |
+
"bbox": [
|
| 516 |
+
173,
|
| 517 |
+
746,
|
| 518 |
+
825,
|
| 519 |
+
815
|
| 520 |
+
],
|
| 521 |
+
"page_idx": 3
|
| 522 |
+
},
|
| 523 |
+
{
|
| 524 |
+
"type": "equation",
|
| 525 |
+
"img_path": "images/ad453698fe367be79470cd90b29d2ffe598bcb260d411e19036db352174bf749.jpg",
|
| 526 |
+
"text": "$$\ns = \\mathrm { s o f t m a x } ( ( q _ { \\ell } ^ { ( K ) } ) ^ { T } D ^ { ( K ) } )\n$$",
|
| 527 |
+
"text_format": "latex",
|
| 528 |
+
"bbox": [
|
| 529 |
+
403,
|
| 530 |
+
819,
|
| 531 |
+
593,
|
| 532 |
+
840
|
| 533 |
+
],
|
| 534 |
+
"page_idx": 3
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"type": "text",
|
| 538 |
+
"text": "where vector $s$ defines a probability distribution over the $| D |$ tokens in the document. The probability of a particular candidate $c \\in { \\mathcal { C } }$ as being the answer is then computed by aggregating the probabilities of all document tokens which appear in $c$ and renormalizing over the candidates: ",
|
| 539 |
+
"bbox": [
|
| 540 |
+
174,
|
| 541 |
+
844,
|
| 542 |
+
825,
|
| 543 |
+
887
|
| 544 |
+
],
|
| 545 |
+
"page_idx": 3
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"type": "equation",
|
| 549 |
+
"img_path": "images/f6df165432197c22260c247857f199b5192694cfd467593d6cfbc110e4b40376.jpg",
|
| 550 |
+
"text": "$$\n\\operatorname* { P r } ( c | d , q ) \\propto \\sum _ { i \\in \\mathbb { I } ( c , d ) } s _ { i }\n$$",
|
| 551 |
+
"text_format": "latex",
|
| 552 |
+
"bbox": [
|
| 553 |
+
424,
|
| 554 |
+
892,
|
| 555 |
+
575,
|
| 556 |
+
928
|
| 557 |
+
],
|
| 558 |
+
"page_idx": 3
|
| 559 |
+
},
|
| 560 |
+
{
|
| 561 |
+
"type": "table",
|
| 562 |
+
"img_path": "images/5cb1903c97b0eb166ebc89a2195965aa59c37a6d372ddf9b783d1923e1b098e4.jpg",
|
| 563 |
+
"table_caption": [
|
| 564 |
+
"Table 1: Dataset statistics. "
|
| 565 |
+
],
|
| 566 |
+
"table_footnote": [],
|
| 567 |
+
"table_body": "<table><tr><td></td><td>CNN</td><td>Daily Mail</td><td>CBT-NE</td><td>CBT-CN</td><td> WDW-Strict</td><td>WDW-Relaxed</td></tr><tr><td># train</td><td>380,298</td><td>879,450</td><td>108,719</td><td>120,769</td><td>127,786</td><td>185,978</td></tr><tr><td># validation</td><td>3,924</td><td>64,835</td><td>2.000</td><td>2,000</td><td>10,000</td><td>10,000</td></tr><tr><td>#test</td><td>3,198</td><td>53,182</td><td>2,500</td><td>2.500</td><td>10,000</td><td>10,000</td></tr><tr><td># vocab</td><td>118,497</td><td>208.045</td><td>53,063</td><td>53,185</td><td>347,406</td><td>308,602</td></tr><tr><td>max doc length</td><td>2,000</td><td>2,000</td><td>1,338</td><td>1,338</td><td>3,085</td><td>3,085</td></tr></table>",
|
| 568 |
+
"bbox": [
|
| 569 |
+
194,
|
| 570 |
+
121,
|
| 571 |
+
805,
|
| 572 |
+
214
|
| 573 |
+
],
|
| 574 |
+
"page_idx": 4
|
| 575 |
+
},
|
| 576 |
+
{
|
| 577 |
+
"type": "text",
|
| 578 |
+
"text": "where $\\mathbb { I } ( c , d )$ is the set of positions where a token in $c$ appears in the document $d$ . This aggregation operation is the same as the pointer sum attention applied in the AS Reader (Kadlec et al., 2016). ",
|
| 579 |
+
"bbox": [
|
| 580 |
+
176,
|
| 581 |
+
239,
|
| 582 |
+
823,
|
| 583 |
+
268
|
| 584 |
+
],
|
| 585 |
+
"page_idx": 4
|
| 586 |
+
},
|
| 587 |
+
{
|
| 588 |
+
"type": "text",
|
| 589 |
+
"text": "Finally, the candidate with maximum probability is selected as the predicted answer: ",
|
| 590 |
+
"bbox": [
|
| 591 |
+
174,
|
| 592 |
+
275,
|
| 593 |
+
728,
|
| 594 |
+
290
|
| 595 |
+
],
|
| 596 |
+
"page_idx": 4
|
| 597 |
+
},
|
| 598 |
+
{
|
| 599 |
+
"type": "equation",
|
| 600 |
+
"img_path": "images/cb527552d76b8a5d42d2da8cf5a6fad030e1078dea0d482d7b4bf5b017356f61.jpg",
|
| 601 |
+
"text": "$$\na ^ { * } = \\mathrm { a r g m a x } _ { c \\in { \\mathcal C } } ~ \\operatorname* { P r } ( c | d , q ) .\n$$",
|
| 602 |
+
"text_format": "latex",
|
| 603 |
+
"bbox": [
|
| 604 |
+
398,
|
| 605 |
+
296,
|
| 606 |
+
598,
|
| 607 |
+
314
|
| 608 |
+
],
|
| 609 |
+
"page_idx": 4
|
| 610 |
+
},
|
| 611 |
+
{
|
| 612 |
+
"type": "text",
|
| 613 |
+
"text": "During the training phase, model parameters of the GA reader are updated w.r.t. a cross-entropy loss between the predicted probabilities and the true answers. ",
|
| 614 |
+
"bbox": [
|
| 615 |
+
176,
|
| 616 |
+
328,
|
| 617 |
+
823,
|
| 618 |
+
356
|
| 619 |
+
],
|
| 620 |
+
"page_idx": 4
|
| 621 |
+
},
|
| 622 |
+
{
|
| 623 |
+
"type": "text",
|
| 624 |
+
"text": "3.2.4 FURTHER ENHANCEMENTS ",
|
| 625 |
+
"text_level": 1,
|
| 626 |
+
"bbox": [
|
| 627 |
+
176,
|
| 628 |
+
367,
|
| 629 |
+
416,
|
| 630 |
+
382
|
| 631 |
+
],
|
| 632 |
+
"page_idx": 4
|
| 633 |
+
},
|
| 634 |
+
{
|
| 635 |
+
"type": "text",
|
| 636 |
+
"text": "Character-level Embeddings: Given a token $w$ from the document or query, its vector space representation is computed as $x = L ( w ) | | C ( w )$ . $L ( w )$ retrieves the word-embedding for $w$ from a lookup table $L \\in \\mathbb { R } ^ { | V | \\times n _ { l } }$ , whose rows hold a vector for each unique token in the vocabulary. We also utilize a character composition model $C ( w )$ which generates an orthographic embedding of the token. Such embeddings have been previously shown to be helpful for tasks like Named Entity Recognition (Yang et al., 2016) and dealing with OOV tokens at test time (Dhingra et al., 2016). The embedding $C ( w )$ is generated by taking the final outputs $z _ { n _ { c } } ^ { f }$ and $z _ { n _ { c } } ^ { b }$ of a Bi-GRU applied to embeddings from a lookup table of characters in the token, and applying a linear transformation: ",
|
| 637 |
+
"bbox": [
|
| 638 |
+
173,
|
| 639 |
+
391,
|
| 640 |
+
825,
|
| 641 |
+
506
|
| 642 |
+
],
|
| 643 |
+
"page_idx": 4
|
| 644 |
+
},
|
| 645 |
+
{
|
| 646 |
+
"type": "equation",
|
| 647 |
+
"img_path": "images/cbb576ff26673f40b54fb9e23034dbe135c1de823313120fffeb74528d761a6f.jpg",
|
| 648 |
+
"text": "$$\n\\begin{array} { r } { z = z _ { n _ { c } } ^ { f } \\vert \\vert z _ { n _ { c } } ^ { b } } \\\\ { C ( w ) = W z + b } \\end{array}\n$$",
|
| 649 |
+
"text_format": "latex",
|
| 650 |
+
"bbox": [
|
| 651 |
+
441,
|
| 652 |
+
511,
|
| 653 |
+
558,
|
| 654 |
+
551
|
| 655 |
+
],
|
| 656 |
+
"page_idx": 4
|
| 657 |
+
},
|
| 658 |
+
{
|
| 659 |
+
"type": "text",
|
| 660 |
+
"text": "Question Evidence Common Word Feature (qe-comm): (Li et al., 2016) recently proposed a simple token level indicator feature which significantly boosts reading comprehension performance in some cases. For each token in the document we construct a one-hot vector $f _ { i } \\in \\{ 0 , 1 \\bar \\} ^ { 2 }$ indicating whether that token is present in the query or not. It can be incorporated into the GA reader by assigning a feature lookup table $F \\in \\bar { \\mathbb { R } ^ { n _ { F } \\times 2 } }$ (we use $n _ { F } = 2 $ ), taking the feature embedding $e _ { i } = f _ { i } ^ { \\underline { { { T } } } } F$ and appending it to the inputs of the last layer document BiGRU as, $x _ { i } ^ { ( K ) } \\| f _ { i }$ for all $i$ . We conducted several experiments both with and without this feature and observed some interesting trends, which are discussed below. Henceforth, we refer to this feature as the qe-comm feature or just feature. ",
|
| 661 |
+
"bbox": [
|
| 662 |
+
173,
|
| 663 |
+
564,
|
| 664 |
+
826,
|
| 665 |
+
680
|
| 666 |
+
],
|
| 667 |
+
"page_idx": 4
|
| 668 |
+
},
|
| 669 |
+
{
|
| 670 |
+
"type": "text",
|
| 671 |
+
"text": "4 EXPERIMENTS AND RESULTS ",
|
| 672 |
+
"text_level": 1,
|
| 673 |
+
"bbox": [
|
| 674 |
+
176,
|
| 675 |
+
700,
|
| 676 |
+
447,
|
| 677 |
+
715
|
| 678 |
+
],
|
| 679 |
+
"page_idx": 4
|
| 680 |
+
},
|
| 681 |
+
{
|
| 682 |
+
"type": "text",
|
| 683 |
+
"text": "4.1 DATASETS ",
|
| 684 |
+
"text_level": 1,
|
| 685 |
+
"bbox": [
|
| 686 |
+
174,
|
| 687 |
+
727,
|
| 688 |
+
287,
|
| 689 |
+
742
|
| 690 |
+
],
|
| 691 |
+
"page_idx": 4
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"type": "text",
|
| 695 |
+
"text": "We evaluate the GA reader on five large-scale datasets recently proposed in the literature. The first two, CNN and Daily Mail news stories3 consist of articles from the popular CNN and Daily Mail websites (Hermann et al., 2015). A query over each article is formed by removing an entity from the short summary which follows the article. Further, entities within each article were anonymized to make the task purely a comprehension one. N-gram statistics, for instance, computed over the entire corpus are no longer useful in such an anonymized corpus. ",
|
| 696 |
+
"bbox": [
|
| 697 |
+
174,
|
| 698 |
+
752,
|
| 699 |
+
825,
|
| 700 |
+
838
|
| 701 |
+
],
|
| 702 |
+
"page_idx": 4
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "text",
|
| 706 |
+
"text": "The next two datasets are formed from two different subsets of the Children’s Book Test (CBT)4 (Hill et al., 2015). Documents consist of 20 contiguous sentences from the body of a popular children’s book, and queries are formed by deleting a token from the $2 1 ^ { \\mathrm { s t } }$ sentence. We only focus on subsets where the deleted token is either a common noun (CN) or named entity (NE) since simple language models already give human-level performance on the other types (cf. (Hill et al., 2015)). ",
|
| 707 |
+
"bbox": [
|
| 708 |
+
174,
|
| 709 |
+
844,
|
| 710 |
+
825,
|
| 711 |
+
887
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 4
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "table",
|
| 717 |
+
"img_path": "images/2aba0440ee9c9fc07e6f1f710ae7b62244a349a0cd7d00d76acbfb75f5119d5e.jpg",
|
| 718 |
+
"table_caption": [
|
| 719 |
+
"Table 2: Hyperparameter settings for each dataset. $\\dim ( )$ indicates hidden state size of GRU. "
|
| 720 |
+
],
|
| 721 |
+
"table_footnote": [],
|
| 722 |
+
"table_body": "<table><tr><td>Hyperparameter</td><td>CNN</td><td>Daily Mail</td><td>CBT-NE</td><td>CBT-CN</td><td>WDW-Strict</td><td>WDW-Relaxed</td></tr><tr><td>Dropout</td><td>0.2</td><td>0.1</td><td>0.4</td><td>0.4</td><td>0.3</td><td>0.3</td></tr><tr><td>dim(GRU*)</td><td>256</td><td>256</td><td>128</td><td>128</td><td>128</td><td>128</td></tr></table>",
|
| 723 |
+
"bbox": [
|
| 724 |
+
194,
|
| 725 |
+
121,
|
| 726 |
+
803,
|
| 727 |
+
183
|
| 728 |
+
],
|
| 729 |
+
"page_idx": 5
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"type": "text",
|
| 733 |
+
"text": "",
|
| 734 |
+
"bbox": [
|
| 735 |
+
174,
|
| 736 |
+
205,
|
| 737 |
+
823,
|
| 738 |
+
234
|
| 739 |
+
],
|
| 740 |
+
"page_idx": 5
|
| 741 |
+
},
|
| 742 |
+
{
|
| 743 |
+
"type": "text",
|
| 744 |
+
"text": "The final dataset we evaluate on is Who Did What5 (WDW) (Onishi et al., 2016), constructed from the LDC English Gigaword newswire corpus. First, article pairs which appeared around the same time and with overlapping entities are chosen, and then one article forms the document and a cloze query is constructed from the other. Missing tokens are always person named entities. Questions which are easily answered by simple baselines are filtered out, to make the task more challenging. There are two versions of the training set—a small but focused “Strict” version and a large but noisy “Relaxed” version. We report results on both settings which share the same validation and test sets. Statistics of all the datasets used in our experiments are summarized in Table 1. ",
|
| 745 |
+
"bbox": [
|
| 746 |
+
174,
|
| 747 |
+
241,
|
| 748 |
+
825,
|
| 749 |
+
353
|
| 750 |
+
],
|
| 751 |
+
"page_idx": 5
|
| 752 |
+
},
|
| 753 |
+
{
|
| 754 |
+
"type": "text",
|
| 755 |
+
"text": "4.2 IMPLEMENTATION DETAILS ",
|
| 756 |
+
"text_level": 1,
|
| 757 |
+
"bbox": [
|
| 758 |
+
176,
|
| 759 |
+
364,
|
| 760 |
+
405,
|
| 761 |
+
378
|
| 762 |
+
],
|
| 763 |
+
"page_idx": 5
|
| 764 |
+
},
|
| 765 |
+
{
|
| 766 |
+
"type": "text",
|
| 767 |
+
"text": "Our model was implemented using the Theano (Theano Development Team, 2016) and Lasagne6 Python libraries. We used stochastic gradient descent with ADAM updates for optimization, which combines classical momentum and adaptive gradients (Kingma & Ba, 2014). The batch size was 32 and the initial learning rate was $5 \\times 1 0 ^ { - 4 }$ which was halved every epoch after the second epoch. The same setting is applied to all models and datasets. We also used gradient clipping with a threshold of 10 to stabilize GRU training (Pascanu et al., 2012). We set the number of layers $K$ to be 3 for all experiments, and provide further analysis below. The number of hidden units for the character GRU was set to 50. The remaining two hyperparameters—size of document and query GRUs, and dropout rate—were tuned on the validation set, and their optimal values are shown in Table 2. In general, the optimal GRU size increases and the dropout rate decreases as the corpus size increases. ",
|
| 768 |
+
"bbox": [
|
| 769 |
+
173,
|
| 770 |
+
390,
|
| 771 |
+
825,
|
| 772 |
+
530
|
| 773 |
+
],
|
| 774 |
+
"page_idx": 5
|
| 775 |
+
},
|
| 776 |
+
{
|
| 777 |
+
"type": "text",
|
| 778 |
+
"text": "The word lookup table was initialized with $1 0 0 d$ GloVe vectors7 (Pennington et al., 2014) and OOV tokens at test time were assigned unique random vectors. We empirically observed that initializing with pre-trained embeddings gives higher performance compared to random initialization for all datasets. Furthermore, for smaller datasets (WDW and CBT) we found that fixing these embeddings to their pretrained values led to higher test performance, possibly since it avoids overfitting. We do not use the character composition model for CNN and Daily Mail, since entities (and hence candidate answers) are anonymized to generic tokens in these datasets. For other datasets the character lookup table was randomly initialized with $2 5 d$ vectors. All other parameters were initialized to their default values as specified in the Lasagne library. ",
|
| 779 |
+
"bbox": [
|
| 780 |
+
174,
|
| 781 |
+
536,
|
| 782 |
+
825,
|
| 783 |
+
661
|
| 784 |
+
],
|
| 785 |
+
"page_idx": 5
|
| 786 |
+
},
|
| 787 |
+
{
|
| 788 |
+
"type": "text",
|
| 789 |
+
"text": "4.3 PERFORMANCE COMPARISON ",
|
| 790 |
+
"text_level": 1,
|
| 791 |
+
"bbox": [
|
| 792 |
+
176,
|
| 793 |
+
674,
|
| 794 |
+
419,
|
| 795 |
+
688
|
| 796 |
+
],
|
| 797 |
+
"page_idx": 5
|
| 798 |
+
},
|
| 799 |
+
{
|
| 800 |
+
"type": "text",
|
| 801 |
+
"text": "Tables 3 and 5 show a comparison of the performance of GA Reader with previously published results on WDW and CNN, Daily Mail, CBT datasets respectively. The numbers reported for GA Reader are for single best models, though we compare to both ensembles and single models from prior work. GA Reader-- refers to an earlier version of the model, unpublished but described in a preprint, with the following differences—(1) it does not utilize token-specific attentions within the GA module, as described in equation (5), (2) it does not use a character composition model, (3) it is initialized with word embeddings pretrained on the corpus itself rather than GloVe. A detailed analysis of these differences is studied in the next section. Here we present 4 variants of the latest GA Reader, using combinations of whether the qe-comm feature is used (+feature) or not, and whether the word lookup table $L ( w )$ is updated during training or fixed to its initial value. ",
|
| 802 |
+
"bbox": [
|
| 803 |
+
174,
|
| 804 |
+
699,
|
| 805 |
+
825,
|
| 806 |
+
839
|
| 807 |
+
],
|
| 808 |
+
"page_idx": 5
|
| 809 |
+
},
|
| 810 |
+
{
|
| 811 |
+
"type": "text",
|
| 812 |
+
"text": "Interestingly, we observe that feature engineering leads to significant improvements for WDW and CBT datasets, but not for CNN and Daily Mail datasets. We note that anonymization of the latter datasets means that there is already some feature engineering (it adds hints about whether a token is an entity), and these are much larger than the other four. In machine learning it is common to see the effect of feature engineering diminish with increasing data size. Similarly, fixing the word ",
|
| 813 |
+
"bbox": [
|
| 814 |
+
174,
|
| 815 |
+
845,
|
| 816 |
+
823,
|
| 817 |
+
875
|
| 818 |
+
],
|
| 819 |
+
"page_idx": 5
|
| 820 |
+
},
|
| 821 |
+
{
|
| 822 |
+
"type": "table",
|
| 823 |
+
"img_path": "images/8198bc019b168a5dbd2a087c9482cd3bfeed2cd3c9cc2c1f1912be0ebbb84435.jpg",
|
| 824 |
+
"table_caption": [
|
| 825 |
+
"Table 3: Validation/Test accuracy $( \\% )$ on WDW dataset for both “Strict” and “Relaxed” settings. Results marked with $^ \\dagger$ are cf previously published works. "
|
| 826 |
+
],
|
| 827 |
+
"table_footnote": [],
|
| 828 |
+
"table_body": "<table><tr><td rowspan=\"2\">Model</td><td colspan=\"2\">Strict</td><td colspan=\"2\">Relaxed</td></tr><tr><td>Val</td><td>Test</td><td>Val</td><td>Test</td></tr><tr><td>Human †</td><td></td><td>84</td><td></td><td>/</td></tr><tr><td>Attentive Reader t AS Reader †</td><td></td><td>53 57</td><td></td><td>55 59</td></tr><tr><td>Stanford AR † NSE +</td><td>66.5</td><td>64 66.2</td><td>67.0</td><td>65 66.7</td></tr><tr><td>GA-- t</td><td>1</td><td>57</td><td>1</td><td>60.0</td></tr><tr><td>GA (update L(w))</td><td>67.8</td><td>67.0</td><td>67.0</td><td>66.6</td></tr><tr><td>GA (fix L(ω))</td><td>68.3</td><td>68.0</td><td></td><td>69.1</td></tr><tr><td></td><td></td><td></td><td>69.6</td><td></td></tr><tr><td>GA (+feature, update L(w))</td><td>70.1</td><td>69.5</td><td>70.9</td><td>71.0</td></tr><tr><td>GA (+feature, fix L(w))</td><td>71.6</td><td>71.2</td><td>72.6</td><td>72.6</td></tr></table>",
|
| 829 |
+
"bbox": [
|
| 830 |
+
173,
|
| 831 |
+
147,
|
| 832 |
+
573,
|
| 833 |
+
347
|
| 834 |
+
],
|
| 835 |
+
"page_idx": 6
|
| 836 |
+
},
|
| 837 |
+
{
|
| 838 |
+
"type": "table",
|
| 839 |
+
"img_path": "images/df029c3c44954f5b749eb63e2ea8e7651dc51f83bf5f06aab72a2b6b074b0cdc.jpg",
|
| 840 |
+
"table_caption": [
|
| 841 |
+
"Table 4: Top: Performance of different gating functions. Bottom: Effect of varying the number of hops $K$ . Results on WDW dataset without using the qe-comm feature and with fixed $L ( w )$ . "
|
| 842 |
+
],
|
| 843 |
+
"table_footnote": [],
|
| 844 |
+
"table_body": "<table><tr><td rowspan=2 colspan=1>Gating Function</td><td rowspan=1 colspan=2> Accuracy</td></tr><tr><td rowspan=1 colspan=1>Val</td><td rowspan=1 colspan=1>Test</td></tr><tr><td rowspan=2 colspan=1>SumConcatenateMultiply</td><td rowspan=2 colspan=1>64.964.468.3</td><td rowspan=1 colspan=1>64.5</td></tr><tr><td rowspan=1 colspan=1>63.768.0</td></tr><tr><td rowspan=1 colspan=1>K</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1></td></tr><tr><td rowspan=2 colspan=1>1 (AS) t234</td><td rowspan=2 colspan=1>65.668.368.3</td><td rowspan=1 colspan=1>5765.668.0</td></tr><tr><td rowspan=1 colspan=1>68.2</td></tr></table>",
|
| 845 |
+
"bbox": [
|
| 846 |
+
591,
|
| 847 |
+
172,
|
| 848 |
+
810,
|
| 849 |
+
347
|
| 850 |
+
],
|
| 851 |
+
"page_idx": 6
|
| 852 |
+
},
|
| 853 |
+
{
|
| 854 |
+
"type": "table",
|
| 855 |
+
"img_path": "images/71e4a478c127dc0c6f3384f61e07d386aac6714ecf99d0ec58cb92b9d5223b8b.jpg",
|
| 856 |
+
"table_caption": [
|
| 857 |
+
"Table 5: Validation/Test accuracy $( \\% )$ on CNN, Daily Mail and CBT. Results marked with $^ \\dagger$ are cf previously published works. Results marked with $^ \\ddag$ were obtained by training on a larger training set. Best performance on standard training sets is in bold, and on larger training sets in italics. "
|
| 858 |
+
],
|
| 859 |
+
"table_footnote": [],
|
| 860 |
+
"table_body": "<table><tr><td rowspan=\"2\">Model</td><td colspan=\"2\">CNN</td><td colspan=\"2\">Daily Mail</td><td colspan=\"2\">CBT-NE</td><td colspan=\"2\">CBT-CN</td></tr><tr><td>Val</td><td>Test Val</td><td>Test</td><td>Val</td><td>Test</td><td>Val</td><td></td><td>Test</td></tr><tr><td>Humans (query) †</td><td></td><td></td><td></td><td></td><td>一</td><td>52.0</td><td>1</td><td>64.4</td></tr><tr><td>Humans (context + query) +</td><td>1</td><td>1</td><td>1</td><td>1 一</td><td>1 51.2</td><td>81.6 41.8</td><td>1 62.6</td><td>81.6 56.0</td></tr><tr><td>LSTMs (context + query) t</td><td>1 55.0</td><td>1 57.0</td><td>1 63.3</td><td>62.2</td><td>1</td><td>1</td><td></td><td></td></tr><tr><td>Deep LSTM Reader t Attentive Reader †</td><td>61.6</td><td>63.0</td><td>70.5</td><td>69.0</td><td>1</td><td>1</td><td>1 1</td><td>1 1</td></tr><tr><td>Impatient Reader +</td><td>61.8</td><td>63.8</td><td>69.0</td><td>68.0</td><td>1</td><td>1</td><td>1</td><td>1</td></tr><tr><td>MemNets †</td><td>63.4</td><td>66.8</td><td></td><td></td><td>70.4</td><td>66.6</td><td>64.2</td><td>63.0</td></tr><tr><td>AS Reader †</td><td>68.6</td><td>69.5</td><td>75.0</td><td>73.9</td><td>73.8</td><td>68.6</td><td>68.8</td><td>63.4</td></tr><tr><td>DER Network †</td><td>71.3</td><td>72.9</td><td></td><td>1</td><td></td><td></td><td></td><td></td></tr><tr><td>Stanford AR (relabeling) t</td><td>73.8</td><td>73.6</td><td>1 77.6</td><td>76.6</td><td>1</td><td>1 1</td><td>1</td><td>1</td></tr><tr><td>Iterative Attentive Reader †</td><td>72.6</td><td>73.3</td><td></td><td></td><td>75.2</td><td>68.6</td><td>1 72.1</td><td>1 69.2</td></tr><tr><td></td><td>73.4</td><td>74.0</td><td>1</td><td>1</td><td>75.3</td><td>69.7</td><td></td><td></td></tr><tr><td>EpiReader †</td><td>73.1</td><td>74.4</td><td>1</td><td>1</td><td></td><td></td><td>71.5</td><td>67.4</td></tr><tr><td>AoA Reader †</td><td></td><td>74.7</td><td></td><td>76.6</td><td>77.8</td><td>72.0</td><td>72.2</td><td>69.4</td></tr><tr><td>ReasoNet † NSE †</td><td>72.9</td><td></td><td>77.6</td><td></td><td>1 78.2</td><td>1 73.2</td><td>1</td><td>1</td></tr><tr><td></td><td>1</td><td>1</td><td>1</td><td>1</td><td></td><td></td><td>74.3</td><td>71.9</td></tr><tr><td>MemNets (ensemble) † AS Reader (ensemble) t</td><td>66.2 73.9</td><td>69.4 75.4</td><td></td><td>77.7</td><td>一</td><td></td><td>1</td><td>1</td></tr><tr><td></td><td></td><td></td><td>78.7</td><td>79.2</td><td>76.2</td><td>71.0</td><td>71.1</td><td>68.9</td></tr><tr><td>Stanford AR (relabeling,ensemble) †</td><td>77.2</td><td>77.6</td><td>80.2</td><td></td><td>一</td><td>1</td><td>1</td><td>1</td></tr><tr><td>Iterative Attentive Reader (ensemble) †</td><td>75.2</td><td>76.1</td><td>1</td><td>1</td><td>76.9</td><td>72.0</td><td>74.1</td><td>71.0</td></tr><tr><td>EpiReader (ensemble) †</td><td>1</td><td>1</td><td>1</td><td>1</td><td>76.6</td><td>71.8</td><td>73.6</td><td>70.6</td></tr><tr><td>AS Reader (+BookTest) † ‡</td><td>1</td><td>一</td><td>1</td><td>一</td><td>80.5</td><td>76.2</td><td>83.2</td><td>80.8</td></tr><tr><td>AS Reader (+BookTest,ensemble) † ‡</td><td>1</td><td>一</td><td>1</td><td>1</td><td>82.3</td><td>78.4</td><td>85.7</td><td>83.7</td></tr><tr><td>GA--</td><td>73.0</td><td>73.8</td><td>76.7</td><td>75.7</td><td>74.9</td><td>69.0</td><td>69.0</td><td>63.9</td></tr><tr><td>GA (update L(w))</td><td>77.9</td><td>77.9</td><td>81.5</td><td>80.9</td><td>76.7</td><td>70.1</td><td>69.8</td><td>67.3</td></tr><tr><td>GA (fix L(w))</td><td>77.9</td><td>77.8</td><td>80.4</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td>77.3</td><td>76.9</td><td></td><td>79.6</td><td>77.2</td><td>71.4</td><td>71.6</td><td>68.0</td></tr><tr><td>GA (+feature, update L(w))</td><td>76.7</td><td>77.4</td><td>80.7</td><td>80.0 79.3</td><td>77.2</td><td>73.3 74.9</td><td>73.0 74.4</td><td>69.8</td></tr><tr><td>GA (+feature, fix L(w))</td><td></td><td></td><td>80.0</td><td></td><td>78.5</td><td></td><td></td><td>70.7</td></tr></table>",
|
| 861 |
+
"bbox": [
|
| 862 |
+
173,
|
| 863 |
+
395,
|
| 864 |
+
821,
|
| 865 |
+
842
|
| 866 |
+
],
|
| 867 |
+
"page_idx": 6
|
| 868 |
+
},
|
| 869 |
+
{
|
| 870 |
+
"type": "text",
|
| 871 |
+
"text": "",
|
| 872 |
+
"bbox": [
|
| 873 |
+
174,
|
| 874 |
+
882,
|
| 875 |
+
825,
|
| 876 |
+
924
|
| 877 |
+
],
|
| 878 |
+
"page_idx": 6
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"type": "image",
|
| 882 |
+
"img_path": "images/22ee30a141039c16bafb5ce3cf871edadd5cd3505e0c1b36fdae035d42bfa778.jpg",
|
| 883 |
+
"image_caption": [
|
| 884 |
+
"Figure 2: Performance in accuracy with and without the Gated-Attention module over different amounts of training data. $p$ -values for an exact one-sided Mcnemar’s test are given inside the parentheses for each setting. "
|
| 885 |
+
],
|
| 886 |
+
"image_footnote": [],
|
| 887 |
+
"bbox": [
|
| 888 |
+
178,
|
| 889 |
+
138,
|
| 890 |
+
823,
|
| 891 |
+
285
|
| 892 |
+
],
|
| 893 |
+
"page_idx": 7
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"type": "text",
|
| 897 |
+
"text": "embeddings provides an improvement for the WDW and CBT, but not for CNN and Daily Mail. \nThis is not surprising given that the latter datasets are larger and less prone to overfitting. ",
|
| 898 |
+
"bbox": [
|
| 899 |
+
173,
|
| 900 |
+
315,
|
| 901 |
+
821,
|
| 902 |
+
343
|
| 903 |
+
],
|
| 904 |
+
"page_idx": 7
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "text",
|
| 908 |
+
"text": "Comparing with prior work, on the WDW dataset the basic version of the GA Reader outperforms all previously published models when trained on the Strict setting. By adding the qe-comm feature the performance increases by $3 . 2 \\%$ and $3 . 5 \\%$ on the Strict and Relaxed settings respectively to set a new state of the art on this dataset. On the CNN and Daily Mail datasets the GA Reader leads to an improvement of $3 . 2 \\%$ and $4 . 3 \\%$ respectively over the best previous single models. They also outperform previous ensemble models, setting a new state of that art for both datasets. For CBT-NE, GA Reader with the qe-comm feature outperforms all previous single and ensemble models except the AS Reader trained on the much larger BookTest Corpus (Bajgar et al., 2016). Lastly, on CBTCN the GA Reader with the qe-comm feature outperforms all previously published single models except the NSE, and AS Reader trained on a larger corpus. ",
|
| 909 |
+
"bbox": [
|
| 910 |
+
173,
|
| 911 |
+
349,
|
| 912 |
+
825,
|
| 913 |
+
489
|
| 914 |
+
],
|
| 915 |
+
"page_idx": 7
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"type": "text",
|
| 919 |
+
"text": "4.4 GA READER ANALYSIS ",
|
| 920 |
+
"text_level": 1,
|
| 921 |
+
"bbox": [
|
| 922 |
+
176,
|
| 923 |
+
503,
|
| 924 |
+
379,
|
| 925 |
+
517
|
| 926 |
+
],
|
| 927 |
+
"page_idx": 7
|
| 928 |
+
},
|
| 929 |
+
{
|
| 930 |
+
"type": "text",
|
| 931 |
+
"text": "In this section we do an ablation study to see the effect of Gated Attention. We compare the GA Reader as described here to a model which is exactly the same in all aspects, except that it passes document embeddings $D ^ { ( k ) }$ in each layer directly to the inputs of the next layer without using the GA module. In other words $X ^ { ( k ) } = D ^ { ( k ) }$ for all $k > 0$ . This model ends up using only one query GRU at the output layer for selecting the answer from the document. We compare these two variants both with and without the qe-comm feature on CNN and WDW datasets for three subsets of the training data - $50 \\%$ , $7 5 \\%$ and $100 \\%$ . Test set accuracies for these settings are shown in Figure 2. On CNN when tested without feature engineering, we observe that GA provides a significant boost in performance compared to without GA. When tested with the feature it still gives an improvement, but the improvement is significant only with $100 \\%$ training data. On WDW-Strict, which is a third of the size of CNN, without the feature we see an improvement when using GA versus without using GA, which becomes significant as the training set size increases. When tested with the feature on WDW, for a small data size without GA does better than with GA, but as the dataset size increases they become equivalent. We conclude that Gated Attention provides a boost in the absence of feature engineering, or as the training set size increases. ",
|
| 932 |
+
"bbox": [
|
| 933 |
+
173,
|
| 934 |
+
531,
|
| 935 |
+
825,
|
| 936 |
+
742
|
| 937 |
+
],
|
| 938 |
+
"page_idx": 7
|
| 939 |
+
},
|
| 940 |
+
{
|
| 941 |
+
"type": "text",
|
| 942 |
+
"text": "Next we look at the question of how to gate intermediate document reader states from the query, i.e. what operation to use in equation 6. Table 4 (top) shows the performance on WDW dataset for three common choices – sum $( x = d + q )$ ), concatenate $( x = d \\lVert q )$ and multiply $( x = d \\odot q )$ . Empirically we find that element-wise multiplication does significantly better than the other two, which justifies our motivation to “filter” out document features which are irrelevant to the query. ",
|
| 943 |
+
"bbox": [
|
| 944 |
+
174,
|
| 945 |
+
750,
|
| 946 |
+
825,
|
| 947 |
+
819
|
| 948 |
+
],
|
| 949 |
+
"page_idx": 7
|
| 950 |
+
},
|
| 951 |
+
{
|
| 952 |
+
"type": "text",
|
| 953 |
+
"text": "At the bottom of Table 4 we show the effect of varying the number of hops $K$ of the GA Reader on the final performance. We note that for $K = 1$ , our model is equivalent to the AS Reader without any GA modules. We see a steep and steady rise in accuracy as the number of hops is increased from $K = 1$ to $K = 3$ , which remains constant beyond that. This is a fairly common trend in machine learning as model complexity is increased, however we note that a multi-hop architecture is important to achieve a high performance for this task, and provide further evidence for this in the next section. ",
|
| 954 |
+
"bbox": [
|
| 955 |
+
174,
|
| 956 |
+
825,
|
| 957 |
+
825,
|
| 958 |
+
924
|
| 959 |
+
],
|
| 960 |
+
"page_idx": 7
|
| 961 |
+
},
|
| 962 |
+
{
|
| 963 |
+
"type": "image",
|
| 964 |
+
"img_path": "images/6f8e9d096218e2ae030199722811c00bc1d2d924d84eb2352c9a940674bfe3d1.jpg",
|
| 965 |
+
"image_caption": [
|
| 966 |
+
"Figure 3: Layer-wise attention visualization of GA Reader trained on WDW-Strict. See text for details. ",
|
| 967 |
+
"DOCjapaesei avetompilatdaiefdfisdsi nsotolsafee entblamedll ncialifelieedosoald new global financial regulatory standardsat the london summit. ",
|
| 968 |
+
"QRYbegupsicilaoadi <end> ANS:timothy geithner "
|
| 969 |
+
],
|
| 970 |
+
"image_footnote": [],
|
| 971 |
+
"bbox": [
|
| 972 |
+
186,
|
| 973 |
+
131,
|
| 974 |
+
826,
|
| 975 |
+
321
|
| 976 |
+
],
|
| 977 |
+
"page_idx": 8
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"type": "text",
|
| 981 |
+
"text": "Lastly, we perform an ablation study for the three components of the GA Reader which were absent in the preprint version (GA Reader--). Table 6 shows accuracy on WDW by removing one component at a time. The steepest reduction is observed when we replace pretrained GloVe vectors with those pretrained on the corpus itself. GloVe vectors were trained on a large corpus of about 6 billion tokens (Pennington et al., 2014), and provide an important source of prior knowledge for the model. We note here that the strongest baseline on WDW, NSE (Munkhdalai & Yu, 2016b), also uses pretrained GloVe vectors, hence the comparison is fair in that respect. Next, we observe a substantial drop when removing token-specific attentions over the query in the GA module, which allow gating indi",
|
| 982 |
+
"bbox": [
|
| 983 |
+
174,
|
| 984 |
+
415,
|
| 985 |
+
529,
|
| 986 |
+
622
|
| 987 |
+
],
|
| 988 |
+
"page_idx": 8
|
| 989 |
+
},
|
| 990 |
+
{
|
| 991 |
+
"type": "text",
|
| 992 |
+
"text": "Table 6: Ablation study on WDW dataset, without using the qe-comm feature and with fixed $L ( w )$ . Results marked with $^ \\dagger$ are cf Onishi et al. (2016). ",
|
| 993 |
+
"bbox": [
|
| 994 |
+
544,
|
| 995 |
+
417,
|
| 996 |
+
823,
|
| 997 |
+
468
|
| 998 |
+
],
|
| 999 |
+
"page_idx": 8
|
| 1000 |
+
},
|
| 1001 |
+
{
|
| 1002 |
+
"type": "table",
|
| 1003 |
+
"img_path": "images/521628dd9d1aa56795daea2f9219bb405ebf6351e5b95c141f7e293f063aede4.jpg",
|
| 1004 |
+
"table_caption": [],
|
| 1005 |
+
"table_footnote": [],
|
| 1006 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Model</td><td rowspan=1 colspan=2>AccuracyVal Test</td></tr><tr><td rowspan=2 colspan=1>GA-char-token-attentions (eq. 5)-glove,+corpus</td><td rowspan=1 colspan=1>68.366.9</td><td rowspan=1 colspan=1>68.066.9</td></tr><tr><td rowspan=1 colspan=1>65.764.0</td><td rowspan=1 colspan=1>65.062.5</td></tr><tr><td rowspan=1 colspan=1>GA--t</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>57</td></tr></table>",
|
| 1007 |
+
"bbox": [
|
| 1008 |
+
542,
|
| 1009 |
+
476,
|
| 1010 |
+
825,
|
| 1011 |
+
601
|
| 1012 |
+
],
|
| 1013 |
+
"page_idx": 8
|
| 1014 |
+
},
|
| 1015 |
+
{
|
| 1016 |
+
"type": "text",
|
| 1017 |
+
"text": "vidual tokens in the document only by parts of the query relevant to that token rather than the overall query representation. Finally, removing the character embeddings, which were only used for WDW and CBT datasets, leads to a reduction of about $1 \\%$ in the performance. ",
|
| 1018 |
+
"bbox": [
|
| 1019 |
+
174,
|
| 1020 |
+
623,
|
| 1021 |
+
825,
|
| 1022 |
+
664
|
| 1023 |
+
],
|
| 1024 |
+
"page_idx": 8
|
| 1025 |
+
},
|
| 1026 |
+
{
|
| 1027 |
+
"type": "text",
|
| 1028 |
+
"text": "4.5 ATTENTION VISUALIZATION ",
|
| 1029 |
+
"text_level": 1,
|
| 1030 |
+
"bbox": [
|
| 1031 |
+
176,
|
| 1032 |
+
680,
|
| 1033 |
+
411,
|
| 1034 |
+
694
|
| 1035 |
+
],
|
| 1036 |
+
"page_idx": 8
|
| 1037 |
+
},
|
| 1038 |
+
{
|
| 1039 |
+
"type": "text",
|
| 1040 |
+
"text": "To gain an insight into the reading process employed by the model we analyzed the attention distributions at intermediate layers of the reader. Figure 3 shows an example from the validation set of WDW dataset (several more are in the Appendix). In each figure, the left and middle plots visualize attention over the query (equation 5) for candidates in the document after layers $1 \\ \\& \\ 2$ respectively. The right plot shows attention over candidates in the document of cloze placeholder (XXX) in the query at the final layer. The full document, query and correct answer are shown at the bottom. ",
|
| 1041 |
+
"bbox": [
|
| 1042 |
+
174,
|
| 1043 |
+
708,
|
| 1044 |
+
825,
|
| 1045 |
+
791
|
| 1046 |
+
],
|
| 1047 |
+
"page_idx": 8
|
| 1048 |
+
},
|
| 1049 |
+
{
|
| 1050 |
+
"type": "text",
|
| 1051 |
+
"text": "A generic pattern observed in these examples is that in intermediate layers, candidates in the document (shown along rows) tend to pick out salient tokens in the query which provide clues about the cloze, and in the final layer the candidate with the highest match with these tokens is selected as the answer. In Figure 3 there is a high attention of the correct answer on financial regulatory standards in the first layer, and on us president in the second layer. The incorrect answer, in contrast, only attends to one of these aspects, and hence receives a lower score in the final layer despite the n-gram overlap it has with the cloze token in the query. Importantly, different layers tend to focus on different tokens in the query, which supports the hypothesis that the multi-hop architecture of GA Reader is able to combine distinct pieces of information to answer the query. ",
|
| 1052 |
+
"bbox": [
|
| 1053 |
+
174,
|
| 1054 |
+
799,
|
| 1055 |
+
825,
|
| 1056 |
+
924
|
| 1057 |
+
],
|
| 1058 |
+
"page_idx": 8
|
| 1059 |
+
},
|
| 1060 |
+
{
|
| 1061 |
+
"type": "text",
|
| 1062 |
+
"text": "5 CONCLUSION ",
|
| 1063 |
+
"text_level": 1,
|
| 1064 |
+
"bbox": [
|
| 1065 |
+
176,
|
| 1066 |
+
102,
|
| 1067 |
+
318,
|
| 1068 |
+
117
|
| 1069 |
+
],
|
| 1070 |
+
"page_idx": 9
|
| 1071 |
+
},
|
| 1072 |
+
{
|
| 1073 |
+
"type": "text",
|
| 1074 |
+
"text": "We presented the Gated-Attention reader for answering cloze-style questions over documents. The GA reader features a novel multiplicative gating mechanism, combined with a multi-hop architecture. Our model achieves state-of-the-art performance on several large-scale benchmark datasets with more than $4 \\%$ improvements over competitive baselines. Our model design is backed up by an ablation study showing statistically significant improvements of using Gated Attention as information filters. We also showed empirically that multiplicative gating is superior to addition and concatenation operations for implementing gated-attentions, though a theoretical justification remains part of future research goals. Analysis of document and query attentions in intermediate layers of the reader further reveals that the model iteratively attends to different aspects of the query to arrive at the final answer. In this paper we have focused on text comprehension, but we believe that the Gated-Attention mechanism may benefit other tasks as well where multiple sources of information interact. Concurrent to our work (Chu et al., 2016) have also shown the effectiveness of GA Readers on the LAMBADA dataset (Paperno et al., 2016) for language modeling. ",
|
| 1075 |
+
"bbox": [
|
| 1076 |
+
173,
|
| 1077 |
+
133,
|
| 1078 |
+
825,
|
| 1079 |
+
314
|
| 1080 |
+
],
|
| 1081 |
+
"page_idx": 9
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"type": "text",
|
| 1085 |
+
"text": "REFERENCES ",
|
| 1086 |
+
"text_level": 1,
|
| 1087 |
+
"bbox": [
|
| 1088 |
+
176,
|
| 1089 |
+
335,
|
| 1090 |
+
285,
|
| 1091 |
+
351
|
| 1092 |
+
],
|
| 1093 |
+
"page_idx": 9
|
| 1094 |
+
},
|
| 1095 |
+
{
|
| 1096 |
+
"type": "text",
|
| 1097 |
+
"text": "Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. arXiv preprint arXiv:1409.0473, 2014. \nOndrej Bajgar, Rudolf Kadlec, and Jan Kleindienst. Embracing data abundance: Booktest dataset for reading comprehension. arXiv preprint arXiv:1610.00956, 2016. \nDanqi Chen, Jason Bolton, and Christopher D Manning. A thorough examination of the cnn/daily mail reading comprehension task. arXiv preprint arXiv:1606.02858, 2016. \nKyunghyun Cho, Bart Van Merrienboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Hol- ¨ ger Schwenk, and Yoshua Bengio. Learning phrase representations using rnn encoder-decoder for statistical machine translation. arXiv preprint arXiv:1406.1078, 2014. \nZewei Chu, Hai Wang, Kevin Gimpel, and David McAllester. Broad context language modeling as reading comprehension. arXiv preprint arXiv:1610.08431, 2016. \nYiming Cui, Zhipeng Chen, Si Wei, Shijin Wang, Ting Liu, and Guoping Hu. Attention-overattention neural networks for reading comprehension. arXiv preprint arXiv:1607.04423, 2016. \nBhuwan Dhingra, Zhong Zhou, Dylan Fitzpatrick, Michael Muehl, and William W Cohen. Tweet2vec: Character-based distributed representations for social media. ACL, 2016. \nKarl Moritz Hermann, Tomas Kocisky, Edward Grefenstette, Lasse Espeholt, Will Kay, Mustafa Suleyman, and Phil Blunsom. Teaching machines to read and comprehend. In Advances in Neural Information Processing Systems, pp. 1684–1692, 2015. \nFelix Hill, Antoine Bordes, Sumit Chopra, and Jason Weston. The goldilocks principle: Reading children’s books with explicit memory representations. arXiv preprint arXiv:1511.02301, 2015. \nSepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, 9(8): 1735–1780, 1997. \nRudolf Kadlec, Martin Schmid, Ondrej Bajgar, and Jan Kleindienst. Text understanding with the attention sum reader network. arXiv preprint arXiv:1603.01547, 2016. \nDiederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. \nRyan Kiros, Richard Zemel, and Ruslan R Salakhutdinov. A multiplicative model for learning distributed text-based attribute representations. In Advances in Neural Information Processing Systems, pp. 2348–2356, 2014. \nSosuke Kobayashi, Ran Tian, Naoaki Okazaki, and Kentaro Inui. Dynamic entity representations with max-pooling improves machine reading. In NAACL-HLT, 2016. ",
|
| 1098 |
+
"bbox": [
|
| 1099 |
+
171,
|
| 1100 |
+
358,
|
| 1101 |
+
826,
|
| 1102 |
+
924
|
| 1103 |
+
],
|
| 1104 |
+
"page_idx": 9
|
| 1105 |
+
},
|
| 1106 |
+
{
|
| 1107 |
+
"type": "text",
|
| 1108 |
+
"text": "Ankit Kumar, Ozan Irsoy, Jonathan Su, James Bradbury, Robert English, Brian Pierce, Peter Ondruska, Ishaan Gulrajani, and Richard Socher. Ask me anything: Dynamic memory networks for natural language processing. arXiv preprint arXiv:1506.07285, 2015. ",
|
| 1109 |
+
"bbox": [
|
| 1110 |
+
176,
|
| 1111 |
+
103,
|
| 1112 |
+
823,
|
| 1113 |
+
146
|
| 1114 |
+
],
|
| 1115 |
+
"page_idx": 10
|
| 1116 |
+
},
|
| 1117 |
+
{
|
| 1118 |
+
"type": "text",
|
| 1119 |
+
"text": "Peng Li, Wei Li, Zhengyan He, Xuguang Wang, Ying Cao, Jie Zhou, and Wei Xu. Dataset and neural recurrent sequence labeling model for open-domain factoid question answering. arXiv preprint arXiv:1607.06275, 2016. ",
|
| 1120 |
+
"bbox": [
|
| 1121 |
+
174,
|
| 1122 |
+
155,
|
| 1123 |
+
821,
|
| 1124 |
+
196
|
| 1125 |
+
],
|
| 1126 |
+
"page_idx": 10
|
| 1127 |
+
},
|
| 1128 |
+
{
|
| 1129 |
+
"type": "text",
|
| 1130 |
+
"text": "Jeff Mitchell and Mirella Lapata. Vector-based models of semantic composition. In ACL, pp. 236– 244, 2008. ",
|
| 1131 |
+
"bbox": [
|
| 1132 |
+
173,
|
| 1133 |
+
205,
|
| 1134 |
+
821,
|
| 1135 |
+
236
|
| 1136 |
+
],
|
| 1137 |
+
"page_idx": 10
|
| 1138 |
+
},
|
| 1139 |
+
{
|
| 1140 |
+
"type": "text",
|
| 1141 |
+
"text": "Volodymyr Mnih, Nicolas Heess, Alex Graves, et al. Recurrent models of visual attention. In Advances in Neural Information Processing Systems, pp. 2204–2212, 2014. ",
|
| 1142 |
+
"bbox": [
|
| 1143 |
+
174,
|
| 1144 |
+
243,
|
| 1145 |
+
823,
|
| 1146 |
+
273
|
| 1147 |
+
],
|
| 1148 |
+
"page_idx": 10
|
| 1149 |
+
},
|
| 1150 |
+
{
|
| 1151 |
+
"type": "text",
|
| 1152 |
+
"text": "Tsendsuren Munkhdalai and Hong Yu. Neural semantic encoders. arXiv preprint arXiv:1607.04315, 2016a. ",
|
| 1153 |
+
"bbox": [
|
| 1154 |
+
174,
|
| 1155 |
+
281,
|
| 1156 |
+
821,
|
| 1157 |
+
310
|
| 1158 |
+
],
|
| 1159 |
+
"page_idx": 10
|
| 1160 |
+
},
|
| 1161 |
+
{
|
| 1162 |
+
"type": "text",
|
| 1163 |
+
"text": "Tsendsuren Munkhdalai and Hong Yu. Reasoning with memory augmented neural networks for language comprehension. arXiv preprint arXiv:1610.06454, 2016b. ",
|
| 1164 |
+
"bbox": [
|
| 1165 |
+
174,
|
| 1166 |
+
319,
|
| 1167 |
+
821,
|
| 1168 |
+
349
|
| 1169 |
+
],
|
| 1170 |
+
"page_idx": 10
|
| 1171 |
+
},
|
| 1172 |
+
{
|
| 1173 |
+
"type": "text",
|
| 1174 |
+
"text": "Takeshi Onishi, Hai Wang, Mohit Bansal, Kevin Gimpel, and David McAllester. Who did what: A large-scale person-centered cloze dataset. EMNLP, 2016. ",
|
| 1175 |
+
"bbox": [
|
| 1176 |
+
173,
|
| 1177 |
+
357,
|
| 1178 |
+
821,
|
| 1179 |
+
387
|
| 1180 |
+
],
|
| 1181 |
+
"page_idx": 10
|
| 1182 |
+
},
|
| 1183 |
+
{
|
| 1184 |
+
"type": "text",
|
| 1185 |
+
"text": "Denis Paperno, German Kruszewski, Angeliki Lazaridou, Quan Ngoc Pham, Raffaella Bernardi, ´ Sandro Pezzelle, Marco Baroni, Gemma Boleda, and Raquel Fernandez. The lambada dataset: ´ Word prediction requiring a broad discourse context. arXiv preprint arXiv:1606.06031, 2016. ",
|
| 1186 |
+
"bbox": [
|
| 1187 |
+
176,
|
| 1188 |
+
395,
|
| 1189 |
+
823,
|
| 1190 |
+
438
|
| 1191 |
+
],
|
| 1192 |
+
"page_idx": 10
|
| 1193 |
+
},
|
| 1194 |
+
{
|
| 1195 |
+
"type": "text",
|
| 1196 |
+
"text": "Razvan Pascanu, Tomas Mikolov, and Yoshua Bengio. On the difficulty of training recurrent neural networks. arXiv preprint arXiv:1211.5063, 2012. ",
|
| 1197 |
+
"bbox": [
|
| 1198 |
+
173,
|
| 1199 |
+
446,
|
| 1200 |
+
821,
|
| 1201 |
+
476
|
| 1202 |
+
],
|
| 1203 |
+
"page_idx": 10
|
| 1204 |
+
},
|
| 1205 |
+
{
|
| 1206 |
+
"type": "text",
|
| 1207 |
+
"text": "Jeffrey Pennington, Richard Socher, and Christopher D. Manning. Glove: Global vectors for word representation. In Empirical Methods in Natural Language Processing (EMNLP), pp. 1532–1543, 2014. URL http://www.aclweb.org/anthology/D14-1162. ",
|
| 1208 |
+
"bbox": [
|
| 1209 |
+
174,
|
| 1210 |
+
484,
|
| 1211 |
+
823,
|
| 1212 |
+
527
|
| 1213 |
+
],
|
| 1214 |
+
"page_idx": 10
|
| 1215 |
+
},
|
| 1216 |
+
{
|
| 1217 |
+
"type": "text",
|
| 1218 |
+
"text": "Yelong Shen, Po-Sen Huang, Jianfeng Gao, and Weizhu Chen. Reasonet: Learning to stop reading in machine comprehension. arXiv preprint arXiv:1609.05284, 2016. ",
|
| 1219 |
+
"bbox": [
|
| 1220 |
+
176,
|
| 1221 |
+
535,
|
| 1222 |
+
823,
|
| 1223 |
+
565
|
| 1224 |
+
],
|
| 1225 |
+
"page_idx": 10
|
| 1226 |
+
},
|
| 1227 |
+
{
|
| 1228 |
+
"type": "text",
|
| 1229 |
+
"text": "Alessandro Sordoni, Phillip Bachman, and Yoshua Bengio. Iterative alternating neural attention for machine reading. arXiv preprint arXiv:1606.02245, 2016. ",
|
| 1230 |
+
"bbox": [
|
| 1231 |
+
173,
|
| 1232 |
+
574,
|
| 1233 |
+
823,
|
| 1234 |
+
603
|
| 1235 |
+
],
|
| 1236 |
+
"page_idx": 10
|
| 1237 |
+
},
|
| 1238 |
+
{
|
| 1239 |
+
"type": "text",
|
| 1240 |
+
"text": "Sainbayar Sukhbaatar, Jason Weston, Rob Fergus, et al. End-to-end memory networks. In Advances in Neural Information Processing Systems, pp. 2431–2439, 2015. ",
|
| 1241 |
+
"bbox": [
|
| 1242 |
+
174,
|
| 1243 |
+
611,
|
| 1244 |
+
823,
|
| 1245 |
+
641
|
| 1246 |
+
],
|
| 1247 |
+
"page_idx": 10
|
| 1248 |
+
},
|
| 1249 |
+
{
|
| 1250 |
+
"type": "text",
|
| 1251 |
+
"text": "Theano Development Team. Theano: A Python framework for fast computation of mathematical expressions. arXiv e-prints, abs/1605.02688, May 2016. URL http://arxiv.org/abs/ 1605.02688. ",
|
| 1252 |
+
"bbox": [
|
| 1253 |
+
173,
|
| 1254 |
+
648,
|
| 1255 |
+
823,
|
| 1256 |
+
691
|
| 1257 |
+
],
|
| 1258 |
+
"page_idx": 10
|
| 1259 |
+
},
|
| 1260 |
+
{
|
| 1261 |
+
"type": "text",
|
| 1262 |
+
"text": "Adam Trischler, Zheng Ye, Xingdi Yuan, and Kaheer Suleman. Natural language comprehension with the epireader. arXiv preprint arXiv:1606.02270, 2016. ",
|
| 1263 |
+
"bbox": [
|
| 1264 |
+
169,
|
| 1265 |
+
700,
|
| 1266 |
+
825,
|
| 1267 |
+
729
|
| 1268 |
+
],
|
| 1269 |
+
"page_idx": 10
|
| 1270 |
+
},
|
| 1271 |
+
{
|
| 1272 |
+
"type": "text",
|
| 1273 |
+
"text": "Jason Weston, Sumit Chopra, and Antoine Bordes. Memory networks. arXiv preprint arXiv:1410.3916, 2014. ",
|
| 1274 |
+
"bbox": [
|
| 1275 |
+
174,
|
| 1276 |
+
738,
|
| 1277 |
+
825,
|
| 1278 |
+
767
|
| 1279 |
+
],
|
| 1280 |
+
"page_idx": 10
|
| 1281 |
+
},
|
| 1282 |
+
{
|
| 1283 |
+
"type": "text",
|
| 1284 |
+
"text": "Yuhuai Wu, Saizheng Zhang, Ying Zhang, Yoshua Bengio, and Ruslan Salakhutdinov. On multiplicative integration with recurrent neural networks. arXiv preprint arXiv:1606.06630, 2016. ",
|
| 1285 |
+
"bbox": [
|
| 1286 |
+
171,
|
| 1287 |
+
776,
|
| 1288 |
+
823,
|
| 1289 |
+
806
|
| 1290 |
+
],
|
| 1291 |
+
"page_idx": 10
|
| 1292 |
+
},
|
| 1293 |
+
{
|
| 1294 |
+
"type": "text",
|
| 1295 |
+
"text": "Bishan Yang, Wen-tau Yih, Xiaodong He, Jianfeng Gao, and Li Deng. Learning multi-relational semantics using neural-embedding models. arXiv preprint arXiv:1411.4072, 2014. ",
|
| 1296 |
+
"bbox": [
|
| 1297 |
+
173,
|
| 1298 |
+
814,
|
| 1299 |
+
821,
|
| 1300 |
+
843
|
| 1301 |
+
],
|
| 1302 |
+
"page_idx": 10
|
| 1303 |
+
},
|
| 1304 |
+
{
|
| 1305 |
+
"type": "text",
|
| 1306 |
+
"text": "Zhilin Yang, Ruslan Salakhutdinov, and William Cohen. Multi-task cross-lingual sequence tagging from scratch. arXiv preprint arXiv:1603.06270, 2016. ",
|
| 1307 |
+
"bbox": [
|
| 1308 |
+
173,
|
| 1309 |
+
852,
|
| 1310 |
+
823,
|
| 1311 |
+
881
|
| 1312 |
+
],
|
| 1313 |
+
"page_idx": 10
|
| 1314 |
+
},
|
| 1315 |
+
{
|
| 1316 |
+
"type": "text",
|
| 1317 |
+
"text": "A ATTENTION PLOTS ",
|
| 1318 |
+
"text_level": 1,
|
| 1319 |
+
"bbox": [
|
| 1320 |
+
176,
|
| 1321 |
+
102,
|
| 1322 |
+
367,
|
| 1323 |
+
117
|
| 1324 |
+
],
|
| 1325 |
+
"page_idx": 11
|
| 1326 |
+
},
|
| 1327 |
+
{
|
| 1328 |
+
"type": "image",
|
| 1329 |
+
"img_path": "images/adf33e0be85832bf009f0ec63c93c9014820a80ea3d60d4742ea55f938febdf7.jpg",
|
| 1330 |
+
"image_caption": [
|
| 1331 |
+
"Figure 4: Layer-wise attention visualization of GA Reader trained on WDW-Strict. See text for details. "
|
| 1332 |
+
],
|
| 1333 |
+
"image_footnote": [],
|
| 1334 |
+
"bbox": [
|
| 1335 |
+
181,
|
| 1336 |
+
166,
|
| 1337 |
+
828,
|
| 1338 |
+
364
|
| 1339 |
+
],
|
| 1340 |
+
"page_idx": 11
|
| 1341 |
+
},
|
| 1342 |
+
{
|
| 1343 |
+
"type": "image",
|
| 1344 |
+
"img_path": "images/cefbea117fe6dc7325aeb7af5004d024973c73342c74371ee5b5f5407fcaa704.jpg",
|
| 1345 |
+
"image_caption": [
|
| 1346 |
+
"DOC:resultsundfrothe(uro)5(\\$97tptudodcourtevetataaisssports(edisite $) :$ singl efinalmij ulian knowle,austria and robert lindstedt,sweden(1),6-4,6-3. ",
|
| 1347 |
+
"QRY:<beg> france 's michael llodra beat his compatriot and doubles partner XXX.<end> ANS: julien benneteau "
|
| 1348 |
+
],
|
| 1349 |
+
"image_footnote": [],
|
| 1350 |
+
"bbox": [
|
| 1351 |
+
179,
|
| 1352 |
+
439,
|
| 1353 |
+
826,
|
| 1354 |
+
602
|
| 1355 |
+
],
|
| 1356 |
+
"page_idx": 11
|
| 1357 |
+
},
|
| 1358 |
+
{
|
| 1359 |
+
"type": "text",
|
| 1360 |
+
"text": "DOC:englandatsatdilo gonedayerdalod'sadfiealfdebo treelyosiveoineioodidespaewastaltersic pontingsoaieettieddtfiris forkshiessil ybodisfocusdeidtheseitseetfaideino sstringprospeast sdees lot'shappenedtomeinthelast sixmonths.ifthechancecomes-ryan'sgotaniggle,butidon'tthinkit $\\cdot _ { \\mathsf { S } }$ too bad -i've just got toput inadecen tpeforncentsddetb can get the nod.\" ",
|
| 1361 |
+
"bbox": [
|
| 1362 |
+
176,
|
| 1363 |
+
604,
|
| 1364 |
+
812,
|
| 1365 |
+
684
|
| 1366 |
+
],
|
| 1367 |
+
"page_idx": 11
|
| 1368 |
+
},
|
| 1369 |
+
{
|
| 1370 |
+
"type": "text",
|
| 1371 |
+
"text": "QRY:<beg>yrksowdaldd‘soteatdfdamstrd> ANS:ryan sidebottom ",
|
| 1372 |
+
"bbox": [
|
| 1373 |
+
174,
|
| 1374 |
+
689,
|
| 1375 |
+
781,
|
| 1376 |
+
705
|
| 1377 |
+
],
|
| 1378 |
+
"page_idx": 11
|
| 1379 |
+
},
|
| 1380 |
+
{
|
| 1381 |
+
"type": "image",
|
| 1382 |
+
"img_path": "images/ca73735c6ab32c366436c7abe9bdeb033fd3a9d8084fc1d20cfa1ecfa5ef3327.jpg",
|
| 1383 |
+
"image_caption": [
|
| 1384 |
+
"Figure 5: Layer-wise attention visualization of GA Reader trained on WDW-Strict. See text for details. ",
|
| 1385 |
+
"DOC:usseeaitotitee\"tt twaswhatitsotindssfiisteoaditteifis uxuryotelinrliausresidetdeiuriofeet ythattheistdooittotiad ouldworktogddseprofedtitttserelaoil togetherdgutodetset sianword.doyou thinkwegot it $? ^ { n }$ clintonaskedlavrov.yougotitwrong,\"herespondedas theyboth laughed.it shouldbe'perezagrouzka‘(t e thattous\"lsaeaatastaedrasdo k. "
|
| 1386 |
+
],
|
| 1387 |
+
"image_footnote": [],
|
| 1388 |
+
"bbox": [
|
| 1389 |
+
184,
|
| 1390 |
+
257,
|
| 1391 |
+
826,
|
| 1392 |
+
431
|
| 1393 |
+
],
|
| 1394 |
+
"page_idx": 12
|
| 1395 |
+
},
|
| 1396 |
+
{
|
| 1397 |
+
"type": "image",
|
| 1398 |
+
"img_path": "images/24b87083c88cfb287c692bad420caadb8c78c69d4a10b21a28e88f405531d122.jpg",
|
| 1399 |
+
"image_caption": [
|
| 1400 |
+
"QRY:<beg>usecrearyfstatehilaryinonmeetsXXofiddsesidseissureteywillotoveromealldifereesed> ANS:sergei lavrov ",
|
| 1401 |
+
"DOC: illinois governor arrested on corruption charges chicago,dec.9( xinhua $textsc { -- } u . s .$ federal prosecutors on tuesday arrested illinois governor rod blagojevich a nhischiefofdsds ingtoeoeateatcntsittacifoaaitsfdelfoo alsochargdimia tabout6sp ansaid he did not know the development. "
|
| 1402 |
+
],
|
| 1403 |
+
"image_footnote": [],
|
| 1404 |
+
"bbox": [
|
| 1405 |
+
178,
|
| 1406 |
+
530,
|
| 1407 |
+
813,
|
| 1408 |
+
719
|
| 1409 |
+
],
|
| 1410 |
+
"page_idx": 12
|
| 1411 |
+
},
|
| 1412 |
+
{
|
| 1413 |
+
"type": "text",
|
| 1414 |
+
"text": "QRY:<beg>rescddf $\" { \\mathsf { s } }$ senate seat \n.<end> \nANS: rod blagojevich \nQRY: ${ \\tt { < b e g > } }$ europeancmmissocejemaroaldxprssthu’appnt\"taffisiua \n,an aide said.<end> \nANS:vladimirputin ",
|
| 1415 |
+
"bbox": [
|
| 1416 |
+
179,
|
| 1417 |
+
768,
|
| 1418 |
+
820,
|
| 1419 |
+
790
|
| 1420 |
+
],
|
| 1421 |
+
"page_idx": 12
|
| 1422 |
+
},
|
| 1423 |
+
{
|
| 1424 |
+
"type": "image",
|
| 1425 |
+
"img_path": "images/f08ba88bc4fe942a603910024c19103ce309f3443aae883fdfaf9abc9e874962.jpg",
|
| 1426 |
+
"image_caption": [
|
| 1427 |
+
"Figure 6: Layer-wise attention visualization of GA Reader trained on WDW-Strict. See text for details. ",
|
| 1428 |
+
"DC:europealpldttcffirosr threaerosteos ingdisapomettcfaturafoeodedtlitsifoei barososteitheondtcsfotispac rdingtoisidutiaettpdstso ukraianouteostart hcausesdatsl iistlsteetacsi moshenkoprteodasorotilo wednesdayamidapricingdisputewithukranethecutoffleftanumberofeuropeancountriesinlackofheatinggasamidfrezingeather "
|
| 1429 |
+
],
|
| 1430 |
+
"image_footnote": [],
|
| 1431 |
+
"bbox": [
|
| 1432 |
+
181,
|
| 1433 |
+
257,
|
| 1434 |
+
826,
|
| 1435 |
+
422
|
| 1436 |
+
],
|
| 1437 |
+
"page_idx": 13
|
| 1438 |
+
},
|
| 1439 |
+
{
|
| 1440 |
+
"type": "text",
|
| 1441 |
+
"text": "",
|
| 1442 |
+
"bbox": [
|
| 1443 |
+
176,
|
| 1444 |
+
501,
|
| 1445 |
+
820,
|
| 1446 |
+
518
|
| 1447 |
+
],
|
| 1448 |
+
"page_idx": 13
|
| 1449 |
+
},
|
| 1450 |
+
{
|
| 1451 |
+
"type": "image",
|
| 1452 |
+
"img_path": "images/3d252657462e0a42705ed2845cb58b6b1654fe004341e86a994dc6d08466176e.jpg",
|
| 1453 |
+
"image_caption": [],
|
| 1454 |
+
"image_footnote": [],
|
| 1455 |
+
"bbox": [
|
| 1456 |
+
179,
|
| 1457 |
+
530,
|
| 1458 |
+
818,
|
| 1459 |
+
707
|
| 1460 |
+
],
|
| 1461 |
+
"page_idx": 13
|
| 1462 |
+
},
|
| 1463 |
+
{
|
| 1464 |
+
"type": "text",
|
| 1465 |
+
"text": "DC:presidftabliil eetecti eepeteti wseportetlipsaorucftfoe subectofurtatetei thepalestinll cess between israel and palestine.this has been abbas'third oficial visit to france since 2007. ",
|
| 1466 |
+
"bbox": [
|
| 1467 |
+
178,
|
| 1468 |
+
713,
|
| 1469 |
+
812,
|
| 1470 |
+
763
|
| 1471 |
+
],
|
| 1472 |
+
"page_idx": 13
|
| 1473 |
+
},
|
| 1474 |
+
{
|
| 1475 |
+
"type": "text",
|
| 1476 |
+
"text": "QRYbeg \nreconsideringa freeze.<end> \nANS:benjaminnetanyahu ",
|
| 1477 |
+
"bbox": [
|
| 1478 |
+
176,
|
| 1479 |
+
770,
|
| 1480 |
+
821,
|
| 1481 |
+
789
|
| 1482 |
+
],
|
| 1483 |
+
"page_idx": 13
|
| 1484 |
+
},
|
| 1485 |
+
{
|
| 1486 |
+
"type": "image",
|
| 1487 |
+
"img_path": "images/f9ae4c27f3f191602816b9263ac6237a0097fa3ec21c84536266f1c656b6d025.jpg",
|
| 1488 |
+
"image_caption": [
|
| 1489 |
+
"Figure 7: Layer-wise attention visualization of GA Reader trained on WDW-Strict. See text for details. ",
|
| 1490 |
+
"DC:iftheredooid intinge evenofthmrrididldidfdt losnddadrdebarsidoidth d,bytakingolndaingosdeableutiacesideo'sltiveilloko "
|
| 1491 |
+
],
|
| 1492 |
+
"image_footnote": [],
|
| 1493 |
+
"bbox": [
|
| 1494 |
+
184,
|
| 1495 |
+
260,
|
| 1496 |
+
812,
|
| 1497 |
+
450
|
| 1498 |
+
],
|
| 1499 |
+
"page_idx": 14
|
| 1500 |
+
},
|
| 1501 |
+
{
|
| 1502 |
+
"type": "image",
|
| 1503 |
+
"img_path": "images/d1691bec6ae8d76535f606c73cfd5ad5b2a7fbf2c39f4aa66ae03343812da35f.jpg",
|
| 1504 |
+
"image_caption": [
|
| 1505 |
+
"ORYbi from Xxx.<end> ANS: lionel messi "
|
| 1506 |
+
],
|
| 1507 |
+
"image_footnote": [],
|
| 1508 |
+
"bbox": [
|
| 1509 |
+
179,
|
| 1510 |
+
525,
|
| 1511 |
+
826,
|
| 1512 |
+
712
|
| 1513 |
+
],
|
| 1514 |
+
"page_idx": 14
|
| 1515 |
+
},
|
| 1516 |
+
{
|
| 1517 |
+
"type": "text",
|
| 1518 |
+
"text": "DOC:dinarafetsedtfidtoebf forcederorscadlastli)afi teroftwotiampaaiodtrilduedfa eadowsece he u.s.openand has won one grand slam match.she never has defeated anyone ranked better than 47th. ",
|
| 1519 |
+
"bbox": [
|
| 1520 |
+
181,
|
| 1521 |
+
726,
|
| 1522 |
+
815,
|
| 1523 |
+
762
|
| 1524 |
+
],
|
| 1525 |
+
"page_idx": 14
|
| 1526 |
+
},
|
| 1527 |
+
{
|
| 1528 |
+
"type": "text",
|
| 1529 |
+
"text": "QRYbeg>rbilrstiffsdi same wayXXX did in 20o0.<end> ",
|
| 1530 |
+
"bbox": [
|
| 1531 |
+
179,
|
| 1532 |
+
767,
|
| 1533 |
+
800,
|
| 1534 |
+
784
|
| 1535 |
+
],
|
| 1536 |
+
"page_idx": 14
|
| 1537 |
+
}
|
| 1538 |
+
]
|
parse/train/HknbyQbC-/HknbyQbC-.md
ADDED
|
@@ -0,0 +1,359 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# GENERATING ADVERSARIAL EXAMPLES WITH ADVERSARIAL NETWORKS
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Deep neural networks (DNNs) have been found to be vulnerable to adversarial examples resulting from adding small-magnitude perturbations to inputs. Such adversarial examples can mislead DNNs to produce adversary-selected results. Different attack strategies have been proposed to generate adversarial examples, but how to produce them with high perceptual quality and more efficiently requires more research efforts. In this paper, we propose AdvGAN to generate adversarial examples with generative adversarial networks (GANs), which can learn and approximate the distribution of original instances. For AdvGAN, once the generator is trained, it can generate adversarial perturbations efficiently for any instance, so as to potentially accelerate adversarial training as defenses. We apply AdvGAN in both semi-whitebox and black-box attack settings. In semi-whitebox attacks, there is no need to access the original target model after the generator is trained, in contrast to traditional white-box attacks. In black-box attacks, we dynamically train a distilled model for the black-box model and optimize the generator accordingly. Adversarial examples generated by AdvGAN on different target models have high attack success rate under state-of-the-art defenses compared to other attacks. Our attack has placed the first with $9 2 . 7 6 \%$ accuracy on a public MNIST black-box attack challenge (M ˛adry et al., 2017b).
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Deep Neural Networks (DNNs) have achieved great successes in a variety of applications ranging from image recognition (Krizhevsky et al., 2012; He et al., 2016) to speech processing (Hinton et al., 2012) and from robotics training (Levine et al., 2016) to medical diagnostics (Ciresan et al., 2012). However, recent work has demonstrated that DNNs are vulnerable to adversarial perturbations (Szegedy et al., 2014; Goodfellow et al., 2015). An adversary can add small-magnitude perturbations to inputs and generate adversarial examples to mislead DNNs. Such maliciously perturbed instances can cause the learning system to misclassify them into either a maliciously-chosen target class (in a targeted attack) or classes that are different from the ground truth (in an untargeted attack). Different algorithms have been proposed for generating such adversarial examples, such as the fast gradient sign method (FGSM) (Goodfellow et al., 2015) and optimization-based methods (Opt.) (Carlini & Wagner, 2017a; Liu et al., 2017).
|
| 12 |
+
|
| 13 |
+
Most of the the current attack algorithms (Carlini & Wagner, 2017a; Liu et al., 2017) rely on optimization schemes with simple pixel space metrics, such as $L _ { \infty }$ distance from a benign image, to encourage visual realism. To generate more perceptually realistic adversarial examples, in this paper, we propose to train a feed-forward network to generate perturbations such that the resulting example must be realistic according to a discriminator network. We apply generative adversarial networks (GANs) (Goodfellow et al., 2014) to produce adversarial examples in both the semi-whitebox and black-box settings. As conditional GANs are capable of producing high-quality images (Isola et al., 2017), we apply a similar paradigm to produce perceptually realistic adversarial instances. We name our method AdvGAN.
|
| 14 |
+
|
| 15 |
+
Note that in the previous white-box attacks, such as FGSM and optimization methods, the adversary needs to have white-box access to the architecture and parameters of the model all the time. However, by deploying AdvGAN, once the feed-forward network is trained, it can instantly produce adversarial perturbations for any input instances without requiring access to the model itself anymore. We name this attack setting semi-whitebox.
|
| 16 |
+
|
| 17 |
+
To evaluate the effectiveness of our attack strategy AdvGAN, we first generate adversarial instances based on AdvGAN and other attack strategies on different target models. We then apply the stateof-the-art defenses to defend against these generated adversarial examples (Goodfellow et al., 2015; Tramèr et al., 2017a; M ˛adry et al., 2017a). We evaluate these attack strategies in both semi-whitebox and black-box settings. We show that adversarial examples generated by AdvGAN can achieve a high attack success rate, potentially due to the fact that these adversarial instances appear closer to real instances compared to other recent attack strategies.
|
| 18 |
+
|
| 19 |
+
Our contributions are listed as follows.
|
| 20 |
+
|
| 21 |
+
• Different from the previous optimization-based methods, we train a conditional adversarial network to directly produce adversarial examples, which are both perceptually realistic and achieve state-of-the-art attack success rate against different target models. • We show that AdvGAN can attack black-box models by training a distilled model. We propose to dynamically train the distilled model with query information and achieve high black-box attack success rate and targeted black-box attack, which is difficult to achieve for transferability-based black-box attacks. We use the state-of-the-art defense methods to defend against adversarial examples and show that AdvGAN achieves much higher attack success rate under current defenses. We apply AdvGAN on M ˛adry et al.’s MNIST challenge (2017a) and achieve $8 8 . 9 3 \%$ accuracy on the published robust model in the semi-whitebox setting and $9 2 . 7 6 \%$ in the blackbox setting, which wins the top position in the challenge (M ˛adry et al., 2017b).
|
| 22 |
+
|
| 23 |
+
# 2 RELATED WORK
|
| 24 |
+
|
| 25 |
+
Here we review recent work on adversarial examples and generative adversarial networks.
|
| 26 |
+
|
| 27 |
+
Adversarial Examples A number of attack strategies to generate adversarial examples have been proposed in the white-box setting, where the adversary has full access to the classifier (Szegedy et al., 2014; Goodfellow et al., 2015; Carlini & Wagner, 2017a; Moosavi-Dezfooli et al., 2015; Papernot et al., 2016; Biggio et al., 2013; Kurakin et al., 2016). Goodfellow et al. propose the fast gradient sign method (FGSM), which applies a first-order approximation of the loss function to construct adversarial samples. Formally, given an instance $x$ , an adversary generates adversarial example $x _ { A } = x + \eta$ with $L _ { \infty }$ constraints in the untargeted attack setting as $\eta = \epsilon \cdot \mathrm { s i g n } ( \nabla _ { x } \ell _ { f } ( x , y ) )$ , where $\ell _ { f } ( \cdot )$ is the cross-entropy loss used to train the neural network $f$ , and $y$ represents the ground truth of $x$ . Optimization based methods have also been proposed to optimize adversarial perturbation for targeted attacks while satisfying certain constraints (Carlini & Wagner, 2017a; Liu et al., 2017). Its goal is to minimize the objective function as $| | \eta | | + \lambda \ell _ { f } ( x _ { A } , y )$ , where $| | \cdot | |$ is an appropriately chosen norm function. However, the optimization process is slow and can only optimize perturbation for one specific instance each time. In contrast, our feed-forward network can produce perturbation for any instance. It achieves higher attack success rate against different defenses and performs much faster than the current attack algorithms.
|
| 28 |
+
|
| 29 |
+
Independently from our work, feed-forward networks have been applied to generate adversarial perturbation (Baluja & Fischer, 2017). However, Baluja & Fischer combine the re-ranking loss and an $L _ { 2 }$ norm loss, aiming to constrain the generated adversarial instance to be close to the original one in terms of $L _ { 2 }$ ; while we apply a deep neural network as a discriminator to help distinguish the instance with other real images to encourage the perceptual quality of the generated adversarial examples.
|
| 30 |
+
|
| 31 |
+
Black-box Attacks Current learning systems usually do not allow white-box accesses against the model for security reasons. Therefore, there is a great need for black-box attacks analysis. Most of the black-box attack strategies are based on the transferability phenomenon (Papernot et al., 2017), where an adversary can train a local model first and generate adversarial examples against it, hoping the same adversarial examples will also be able to attack the other models. Many learning systems allow query accesses to the model. However, there is little work that can leverage query-based access to target models to construct adversarial samples and move beyond transferability. Papernot et al. (2017) proposed to train a local substitute model with queries to the target model to generate adversarial samples, but this strategy still relies on transferability. In contrast, we show that the proposed AdvGAN can perform black-box attacks without depending on transferability.
|
| 32 |
+
|
| 33 |
+

|
| 34 |
+
Figure 1: Overview of AdvGAN
|
| 35 |
+
|
| 36 |
+
Generative Adversarial Networks (GANs) (Goodfellow et al., 2014) have achieved visually appealing results in both image generation (Radford et al., 2015; Gulrajani et al., 2017; Berthelot et al., 2017) and manipulation (Zhu et al., 2016) settings. Recently, image-to-image conditional GANs have further improved the quality of synthesis results (Isola et al., 2017; Zhu et al., 2017). We adopt a similar adversarial loss and image-to-image network architecture to learn the mapping from an original image to a perturbed output such that the perturbed image cannot be distinguished from real images in the original class. Different from prior work, we aim to produce output results that are not only visually realistic but also able to mislead target learning models.
|
| 37 |
+
|
| 38 |
+
# 3 GENERATING ADVERSARIAL EXAMPLES WITH ADVERSARIAL NETWORKS
|
| 39 |
+
|
| 40 |
+
# 3.1 PROBLEM DEFINITION
|
| 41 |
+
|
| 42 |
+
Let ${ \mathcal { X } } \subseteq { \mathcal { R } } ^ { n }$ be the feature space, with $n$ the number of features. Suppose that $( x _ { i } , y _ { i } )$ is the ith instance within the training set, which is comprised of feature vectors $x _ { i } \in \mathcal X$ , generated according to some unknown distribution $x _ { i } \sim \mathcal { P } _ { \mathrm { d a t a } }$ , and $y _ { i } ~ \in ~ \mathcal { V }$ the corresponding true class labels. The learning system aims to learn a classifier $f : \mathcal { X } \mathcal { Y }$ from the domain $\mathcal { X }$ to the set of classification outputs $\mathcal { V }$ , where $| \mathcal { V } |$ denotes the number of possible classification outputs. Given an instance $x$ , the goal of an adversary is to generate adversarial example $x _ { A }$ , which is classified as $f ( x _ { A } ) \neq y$ (untargeted attack), where $y$ denotes the true label; or $f ( x _ { A } ) = t$ (targeted attack) where $t$ is the target class. $x _ { A }$ should also be close to the original instance $x$ in terms of $L _ { 2 }$ or other distance metric.
|
| 43 |
+
|
| 44 |
+
# 3.2 ADVGAN FRAMEWORK
|
| 45 |
+
|
| 46 |
+
Figure 1 illustrates the overall architecture of AdvGAN, which mainly consists of three parts: a generator $\mathcal { G }$ , a discriminator $\mathcal { D }$ , and the target neural network $f$ . Here the generator $\mathcal { G }$ takes the original instance $x$ as its input and generates a perturbation $\mathcal G ( x )$ . Then $x + \mathcal { G } ( x )$ will be sent to the discriminator $\mathcal { D }$ , which is used to distinguish the generated data and the original instance $x$ . The goal of $\mathcal { D }$ is to encourage that the generated instance is indistinguishable with the data from its original class. To fulfill the goal of fooling a learning model, we first perform the white-box attack, where the target model is $f$ in this case. $f$ takes $x + \mathcal { G } ( x )$ as its input and outputs its loss $\mathcal { L } _ { a d v }$ , which represents the distance between the prediction and the target class $t$ (targeted attack), or the opposite of the distance between the prediction and the ground truth class (untargeted attack).
|
| 47 |
+
|
| 48 |
+
The adversarial loss (Goodfellow et al., 2014) can be written as: 1
|
| 49 |
+
|
| 50 |
+
$$
|
| 51 |
+
\mathcal { L } _ { \mathrm { G A N } } = \mathbb { E } _ { x } \log \mathcal { D } ( x ) + \mathbb { E } _ { x } \log ( 1 - \mathcal { D } ( x + \mathcal { G } ( x ) ) ) .
|
| 52 |
+
$$
|
| 53 |
+
|
| 54 |
+
Here, the discriminator $\mathcal { D }$ aims to distinguish the perturbed data $x + \mathcal { G } ( x )$ from the original data $x$ . 2 Note that the real data is sampled from the true class, so as to encourage that the generated instances are close to data from the original class.
|
| 55 |
+
|
| 56 |
+
The loss for fooling the target model $f$ in a targeted attack is:
|
| 57 |
+
|
| 58 |
+
$$
|
| 59 |
+
\mathcal { L } _ { \mathrm { a d v } } ^ { f } = \mathbb { E } _ { x } \ell _ { f } ( x + \mathcal { G } ( x ) , t ) ,
|
| 60 |
+
$$
|
| 61 |
+
|
| 62 |
+
where origin $t$ is the t model get cl. The nd lo $\ell _ { f }$ denotes the loss function (e.g., cross-entropy loss) used to train t encourages the perturbed image to be misclassified as target class . $f$ $\mathcal { L } _ { a d v } ^ { f }$ $t$ Here we can also perform the untargeted attack by maximizing the distance between the prediction and the ground truth, but we will focus on the targeted attack in the rest of the paper.
|
| 63 |
+
|
| 64 |
+
To bound the magnitude of the perturbation, which is a common practice in prior work (Carlini & Wagner, $2 0 1 7 \mathrm { a }$ ; Liu et al., 2017; Bartlett & Wegkamp, 2008), we add a soft hinge loss on the $L _ { 2 }$ norm as
|
| 65 |
+
|
| 66 |
+
$$
|
| 67 |
+
\mathcal { L } _ { \mathrm { h i n g e } } = \mathbb { E } _ { x } \operatorname* { m a x } ( 0 , \| \mathcal { G } ( x ) \| _ { 2 } - c ) ,
|
| 68 |
+
$$
|
| 69 |
+
|
| 70 |
+
where $c$ denotes a user-specified bound. This can also stabilize the GAN’s training, as shown in Isola et al. (2017). Finally, our full objective can be expressed as
|
| 71 |
+
|
| 72 |
+
$$
|
| 73 |
+
\mathcal { L } = \mathcal { L } _ { \mathrm { a d v } } ^ { f } + \alpha \mathcal { L } _ { \mathrm { G A N } } + \beta \mathcal { L } _ { \mathrm { h i n g e } } ,
|
| 74 |
+
$$
|
| 75 |
+
|
| 76 |
+
where $\alpha$ and $\beta$ control the relative importance of each objective. Note that ${ \mathcal { L } } _ { \mathrm { G A N } }$ here is used to encourage the perturbed data to appear similar to the original data $x$ , while $\mathcal { L } _ { \mathrm { a d v } } ^ { f }$ is leveraged to generate adversarial examples, optimizing for the high attack success rate. We obtain our $\mathcal { G }$ and $\mathcal { D }$ by solving the minmax game arg $\operatorname* { m i n } _ { \mathcal { G } } \operatorname* { m a x } _ { \mathcal { D } } \mathcal { L }$ .
|
| 77 |
+
|
| 78 |
+
# 3.3 BLACK-BOX ATTACKS WITH ADVERSARIAL NETWORKS
|
| 79 |
+
|
| 80 |
+
Static Distillation For black-box attack, we assume adversaries have no prior knowledge of training data or the model itself. In our experiments in Section 4, we randomly draw data that is disjoint from the training data of the black-box model to distill it, since we assume the adversaries have no prior knowledge about the training data or the model. To achieve black-box attacks, we first build a distilled network $f$ based on the output of the black-box model $b$ (Hinton et al., 2015). Once we obtain the distilled network $f$ , we carry out the same attack strategy as described in the white-box setting (see Equation (4)). Here, we minimize the following network distillation objective:
|
| 81 |
+
|
| 82 |
+
$$
|
| 83 |
+
\arg \operatorname* { m i n } _ { \boldsymbol { f } } \mathbb { E } _ { \boldsymbol { x } } \mathcal { H } ( \boldsymbol { f } ( \boldsymbol { x } ) , \boldsymbol { b } ( \boldsymbol { x } ) ) ,
|
| 84 |
+
$$
|
| 85 |
+
|
| 86 |
+
where $f ( x )$ and $b ( x )$ denote the output from the distilled model and black-box model respectively for the given training image $x$ , and $\mathcal { H }$ denotes the commonly used cross-entropy loss. By optimizing the objective over all the training images, we can obtain a model $f$ which behaves very close to the black-box model $b$ . We then carry out the attack on the distilled network.
|
| 87 |
+
|
| 88 |
+
Note that unlike training the discriminator $\mathcal { D }$ , where we only use the real data from the original class to encourage that the generated instance is close to its original class, here we train the distilled model with data from all classes.
|
| 89 |
+
|
| 90 |
+
Dynamic Distillation Only training the distilled model with all the pristine training data is not enough, since it is unclear how close the black-box and distilled model perform on the generated adversarial examples, which have not appeared in the training set before. Here we propose an alternative minimization approach to dynamically make queries and train the distilled model $f$ and our generator $\mathcal { G }$ jointly. We perform the following two steps in each iteration. During iteration $i$ :
|
| 91 |
+
|
| 92 |
+
Table 1: Comparison with the state-of-the-art attack methods. Run time is measured for generating 1,000 adversarial instances during test time. Opt. represents the optimization based method, and Trans. denotes black-box attacks based on transferability.
|
| 93 |
+
|
| 94 |
+
<table><tr><td></td><td>FGSM</td><td>Opt.</td><td>Trans.</td><td>AdvGAN</td></tr><tr><td>Run time</td><td>0.06s</td><td>>3h</td><td>1</td><td><0.01s</td></tr><tr><td>Targeted Attack</td><td>√</td><td>√</td><td>Ens.</td><td>√</td></tr><tr><td>Black-box Attack</td><td></td><td></td><td>√</td><td><</td></tr></table>
|
| 95 |
+
|
| 96 |
+
1. Update $\mathcal { G } _ { i }$ given a fixed network $f _ { i - 1 }$ : We follow the white-box setting (see Equation 4) and train the generator and discriminator based on a previously distilled model $f _ { i - 1 }$ . We initialize the weights $\mathcal { G } _ { i }$ as $\mathcal { G } _ { i - 1 }$ .
|
| 97 |
+
|
| 98 |
+
$$
|
| 99 |
+
\mathcal { G } _ { i } , D _ { i } = \arg \operatorname* { m i n } _ { \mathcal { G } } \operatorname* { m a x } _ { \mathcal { D } } \mathcal { L } _ { \mathrm { a d v } } ^ { f _ { i - 1 } } + \alpha \mathcal { L } _ { \mathrm { G A N } } + \beta \mathcal { L } _ { \mathrm { h i n g e } }
|
| 100 |
+
$$
|
| 101 |
+
|
| 102 |
+
2. Update $f _ { i }$ given a fixed generator $\mathcal { G } _ { i }$ : First, we use $f _ { i - 1 }$ to initialize $f _ { i }$ . Then, given the generated adversarial examples $x + \mathcal { G } _ { i } ( x )$ from $\mathcal { G } _ { i }$ , the distilled model $f _ { i }$ will be updated based on the set of new query results for the generated adversarial examples against the black-box model, as well as the original training images.
|
| 103 |
+
|
| 104 |
+
$$
|
| 105 |
+
f _ { i } = \arg \operatorname* { m i n } _ { f } \mathbb { E } _ { x } \mathcal { H } ( f ( x ) , b ( x ) ) + \mathbb { E } _ { x } \mathcal { H } ( f ( x + \mathcal { G } _ { i } ( x ) ) , b ( x + \mathcal { G } _ { i } ( x ) ) ) ,
|
| 106 |
+
$$
|
| 107 |
+
|
| 108 |
+
where we use both the original images $x$ and the newly generated adversarial examples $x + s \mathcal { G } _ { i } ( x )$ to update $f$ .
|
| 109 |
+
|
| 110 |
+
In the experiment section, we compare the performance of both the static and dynamic distillation approaches and observe that simultaneously updating $\mathcal { G }$ and $f$ produces higher attack performance. See Table 2 for more details.
|
| 111 |
+
|
| 112 |
+
# 4 EXPERIMENTAL RESULTS
|
| 113 |
+
|
| 114 |
+
In this section, we first evaluate AdvGAN for both semi-whitebox and black-box settings on MNIST (LeCun & Cortes, 1998) and CIFAR-10 (Krizhevsky et al., 2014). We also perform a semi-whitebox attack on the ImageNet dataset(Deng et al., 2009). We then apply AdvGAN to generate adversarial examples on different target models and test the attack success rate for them under the state-of-theart defenses and show that our method can achieve higher attack success rates compared to other existing attack strategies. We generate all adversarial examples for different attack methods based on the under $L _ { \infty }$ bound of 0.3 on MNIST and 8 on CIFAR-10, for a fair comparison.
|
| 115 |
+
|
| 116 |
+
In general, as shown in Table 1, AdvGAN has several advantages over other white-box and blackbox attacks. For instance, regarding computation efficiency, AdvGAN performs much faster than others even including the efficient FGSM, although AdvGAN needs extra training time to train the generator. All these strategies can perform targeted attack except transferability based attack, although the ensemble strategy can help to improve. Besides, FGSM and optimization methods can only perform white-box attack, while AdvGAN is able to attack in semi-whitebox setting.
|
| 117 |
+
|
| 118 |
+
Implementation Details Our code and models will be available upon publication. We adopt a similar architecture from image-to-image translation literature (Isola et al., 2017; Zhu et al., 2017). In particular, we use the architecture of generator $\mathcal { G }$ from Johnson et al. (2016), and our discriminator $\mathcal { D }$ ’s architecture is similar to model C for MNIST and ResNet-32 for CIFAR-10. We apply the loss in Carlini & Wagner (2017c) as our loss $\begin{array} { r } { \mathcal { L } _ { a d v } ^ { f } = \operatorname* { m a x } ( \operatorname* { m a x } _ { i \neq t } f ( x _ { A } ) _ { i } - f ( x _ { A } ) _ { t } , \kappa ) } \end{array}$ , where $t$ is the represents the target network in the semi-whitebox setting and the distilled model in the black-box setting. We set the confidence $\kappa = 0$ for both Opt. and AdvGAN. We use Adam as our solver (Kingma & Ba, 2014), with a batch size of 128 and a learning rate of 0.001. For GANs training, we use the least squares objective proposed by LSGAN (Mao et al., 2016), as it has been shown to produce better results with more stable training.
|
| 119 |
+
|
| 120 |
+
Table 2: Accuracy of different models on pristine data, and the attack success rate of adversarial examples generated against different models by AdvGAN on MNIST and CIFAR-10. p: pristine test data; w: semi-whitebox attack; b-D: black-box attack with dynamic distillation strategy; b-S: black-box attack with static distillation strategy.
|
| 121 |
+
|
| 122 |
+
<table><tr><td>Model</td><td>MNIST A B</td><td>C</td><td>ResNet-32</td><td>CIFAR-10 Wide ResNet-34</td></tr><tr><td>Accuracy (p)</td><td>98.97% 99.17%</td><td>99.09%</td><td>92.41%</td><td>95.01%</td></tr><tr><td>Attack Success Rate (w)</td><td>97.9% 97.1%</td><td>98.3%</td><td>94.71%</td><td>99.30%</td></tr><tr><td>Attack Success Rate (b-D)</td><td>93.4% 90.1%</td><td>94.02%</td><td>78.47 %</td><td>81.81%</td></tr><tr><td>Attack Success Rate (b-S)</td><td>30.7% 66.63%</td><td>87.3%</td><td>10.3%</td><td>13.3%</td></tr></table>
|
| 123 |
+
|
| 124 |
+
Models Used in the Experiments For MNIST, in all of our experiments, we generate adversarial examples for three models whose architectures are shown in Appendix A. Models A and B are used in Tramèr et al. (2017b), which represent different architectures. Model C is the target network architecture used in (Carlini & Wagner, 2017a) for evaluating optimization based strategy. For CIFAR-10, we select ResNet-32 and Wide ResNet-34 (He et al., 2016; Zagoruyko & Komodakis, 2016) for our experiments. Specifically, we use a 32-layer ResNet implemented in TensorFlow3 and Wide ResNet derived from the variant of “w32-10 wide.”4 We show the classification accuracy of pristine MNIST and CIFAR-10 test data (p) and attack success rate of adversarial examples generated by AdvGAN on different models in Table 2.
|
| 125 |
+
|
| 126 |
+
# 4.1 ADVGAN IN SEMI-WHITEBOX SETTING
|
| 127 |
+
|
| 128 |
+
First, we apply different architectures for the target model $f$ as listed in Appendix A for MNIST and with ResNet and Wide ResNet for CIFAR-10. We first apply AdvGAN to perform semi-whitebox attack against each model on MNIST dataset. From the performance of semi-whitebox attack (Attack Rate (w)) in Table 2, we can see that AdvGAN is able to generate adversarial instances to attack all models with high attack success rate.
|
| 129 |
+
|
| 130 |
+
We also generate adversarial examples from the same original instance $x$ , targeting other different classes, as shown in Figures 2. In the semi-whitebox setting on MNIST (a)-(c), we can see that the generated adversarial examples for different models appear close to the ground truth/pristine images (lying on the diagonal of the matrix). Figure 2 (d)-(f) show the generated adversarial examples on MNIST in black-box setting. These adversarial examples generated by AdvGAN can successfully fool the black-box model and be misclassified as the target class shown on the top. The original images are shown on the diagonal. We also generate adversarial examples based on random original images, and results are shown in Appendix C.
|
| 131 |
+
|
| 132 |
+
In addition, we analyze the attack success rate based on different loss functions on MNIST. Under the same bounded perturbations (0.3), if we replace the full loss function in (4) with $\mathcal { L } = | | \mathcal { G } ( \boldsymbol { x } ) | | _ { 2 } +$ $\mathcal { L } _ { \mathrm { a d v } } ^ { f }$ , which is similar to the objective used in Baluja & Fischer (2017), the attack success rate becomes $8 6 . 2 \%$ . If we replace the loss function with $\begin{array} { r } { \mathcal { L } = \mathcal { L } _ { \mathrm { h i n g e } } + \mathcal { L } _ { \mathrm { a d v } } ^ { f } } \end{array}$ , the attack success rate is $9 1 . 1 \%$ , compared to that of AdvGAN, $9 8 . 3 \%$ .
|
| 133 |
+
|
| 134 |
+
Similarly, on CIFAR-10, we apply the same semi-whitebox attack for ResNet and Wide ResNet based on AdvGAN, and Figure 3(a) shows some adversarial examples, which are perceptually realistic. We show adversarial examples for the same original instance targeting different other classes. It is clear that with different targets, the adversarial examples keep similar visual quality compared to the pristine instances on the diagonal.
|
| 135 |
+
|
| 136 |
+
We also apply AdvGAN to generate adversarial examples on the ImageNet as shown in Figure 4 with $L _ { \infty }$ bound as 8. The added perturbation is unnoticeable while all the adversarial instances are misclassified into other target classes with high confidence.
|
| 137 |
+
|
| 138 |
+

|
| 139 |
+
Figure 2: Adversarial examples generated from the same original image to different targets by AdvGAN on MNIST with semi-whitebox attack, (a), (b), and (c), and black-box attack, (c), (d), and (e). On the diagonal, the original images are shown.
|
| 140 |
+
|
| 141 |
+
# 4.2 ADVGAN IN BLACK-BOX SETTING
|
| 142 |
+
|
| 143 |
+
In this section, we evaluate the performance of AdvGAN for the black-box attack. Our black-box attack here is based on the dynamic distillation strategy. We construct a local model to distill model $f$ , and we select the architecture of Model C as our local model. Note that we randomly select a subset of instances disjoint from the training data of AdvGAN to train the local model; that is, we assume the adversaries do not have any prior knowledge of the training data or the model itself. With the dynamic distillation strategy, the adversarial examples generated by AdvGAN achieve an attack success rate, above $9 0 \%$ for MNIST and $8 0 \%$ for CIFAR-10, compared to $3 0 \%$ and $1 0 \%$ with the static distillation approach, as shown in Table 2.
|
| 144 |
+
|
| 145 |
+
We apply AdvGAN to generate adversarial examples for the same instance targeting different classes on MNIST and randomly select some instances to show in Figure 2 (d)-(f). By comparing with the pristine instances on the diagonal, we can see that these adversarial instances can achieve high perceptual quality as the original digits. Specifically, the original digit is somewhat highlighted by adversarial perturbations, which implies a type of perceptually realistic manipulation. Figure 3 (b) shows similar results for adversarial examples generated on CIFAR-10. These adversarial instances appear photo-realistic compared with the original ones on the diagonal. We show additional results in Appendix C.
|
| 146 |
+
|
| 147 |
+
# 4.3 ATTACK EFFECTIVENESS UNDER DEFENSES
|
| 148 |
+
|
| 149 |
+
Facing different types of attack strategies, various defenses have been provided. Among them, different types of adversarial training methods are the most effective. Goodfellow et al. (2015) first propose adversarial training as an effective way to improve the robustness of DNNs, and Tramèr et al. (2017a) extend it to ensemble adversarial learning. M ˛adry et al. (2017a) have also proposed robust networks against adversarial examples based on well-defined adversaries. Given the fact that AdvGAN strives to generate adversarial instances from the underlying true data distribution, it can essentially produce more photo-realistic adversarial perturbations compared with other attack strategies. Thus, AdvGAN could have a higher chance to produce adversarial examples that are resilient under different defense methods. In this section, we quantitatively evaluate this property for AdvGAN compared with other attack strategies.
|
| 150 |
+
|
| 151 |
+

|
| 152 |
+
Figure 3: Adversarial examples generated by AdvGAN on CIFAR-10 for (a) semi-whitebox attack and (b) black-box attack. Image from each class is perturbed to other different classes. On the diagonal, the original images are shown. The corresponding perturbations (amplified by $1 0 \times$ ) are shown in (c) and (d).
|
| 153 |
+
|
| 154 |
+
Threat Model As shown in the literature, most of the current defense strategies are not robust when attacking against them (Carlini & Wagner, 2017b; He et al., 2017). Here we consider a weaker threat model, where the adversary is not aware of the defenses and directly tries to attack the original learning model, which is also the first threat model analyzed in Carlini & Wagner (2017b). In this case, if an adversary can still successfully attack the model, it implies the robustness of the attack strategy. Under this setting, we first apply different attack methods to generate adversarial examples based on the original model without being aware of any defense. Then we apply different defenses to directly defend against these adversarial instances.
|
| 155 |
+
|
| 156 |
+

|
| 157 |
+
Figure 4: Adversarial examples (a) generated by AdvGAN on ImageNet in the semi-whitebox setting, which are classified as (from left to right) poodle, ambulance, basketball, and electric guitar. Corresponding perturbations are visualized in (b).
|
| 158 |
+
|
| 159 |
+
Semi-whitebox Attack First, we consider the semi-whitebox attack setting, where the adversary has white-box access to the model architecture as well as the parameters. Here, we replace $f$ in Figure 1 with our model A, B, and C, respectively. As a result, adversarial examples will be generated against different models. We use three adversarial training defenses to train different models for each model architecture: standard FGSM adversarial training (Adv.) (Goodfellow et al., 2015), ensemble adversarial training (Ensemble) (Tramèr et al., 2017b), and iterative training (Iter. Adv.) (M ˛adry et al., 2017a).5 We evaluate the effectiveness of these attacks against these defended models. In Table 3, we show that the attack success rate of adversarial examples generated by AdvGAN on different models is higher than those of the fast gradient sign method (FGSM) and optimization methods (Opt.) (Carlini & Wagner, 2017a).
|
| 160 |
+
|
| 161 |
+
Black-box Attack For AdvGAN, we use model B as the black-box model and train a distilled model to perform black-box attack against model B and report the attack success rate in Table 4. For the black-box attack comparison purpose, transferability based attack is applied for FGSM and optimization-based methods (Opt.). We use FGSM and optimization-based methods (Opt.) to attack model A on MNIST, and we use these adversarial examples to test on model B and report the corresponding classification accuracy. We can see that the adversarial examples generated by the black-box AdvGAN consistently achieve much higher attack success rate compared with other attack methods. For CIFAR-10, we use ResNet as black-box model and train a distilled model to perform black-box attack against ResNet. To evaluate black-box attack for optimization method and FGSM, we use adversarial examples generated by attacking Wide ResNet and test them on ResNet to report black-box attack results for these two methods.
|
| 162 |
+
|
| 163 |
+
In addition, we apply AdvGAN to the MNIST challenge (M ˛adry et al., 2017b). Among all the methods, for white-box attack we achieve $8 8 . 9 3 \%$ accuracy on the published local model as shown in Table 5. For the reported black-box attack, we achieved the accuracy as $9 2 . 7 6 \%$ , outperforming all other state-of-the-art attack strategies.
|
| 164 |
+
|
| 165 |
+
Table 3: Attack success rate of adversarial examples generated by AdvGAN in semi-whitebox setting, and other white-box attacks under defenses on MNIST and CIFAR-10.
|
| 166 |
+
|
| 167 |
+
<table><tr><td>Data</td><td>Model</td><td>Defense</td><td>FGSM</td><td>Opt.</td><td>AdvGAN</td></tr><tr><td rowspan="4">MNIST</td><td>A</td><td>Adv. Ensemble</td><td>4.3% 1.6%</td><td>4.6% 4.2%</td><td>8.0% 6.3%</td></tr><tr><td>B</td><td>Iter.Adv. Adv. Ensemble</td><td>4.4% 6.0% 2.7%</td><td>2.96% 4.5%</td><td>5.6% 7.2%</td></tr><tr><td></td><td>Iter.Adv. Adv.</td><td>9.0% 2.7%</td><td>3.18% 3.0% 2.95%</td><td>5.8% 6.6%</td></tr><tr><td>C</td><td>Ensemble Iter.Adv.</td><td>1.6% 1.6%</td><td>2.2% 1.9%</td><td>18.7% 13.5% 12.6%</td></tr><tr><td rowspan="2">CIFAR</td><td>ResNet</td><td>Adv. Ensemble. Iter.Adv</td><td>13.10% 10.00% 22.8%</td><td>11.9% 10.3% 21.4%</td><td>16.03% 14.32 % 29.47 %</td></tr><tr><td>WideResNet</td><td>Adv. Ensemble Iter.Adv.</td><td>5.04% 4.65% 14.9%</td><td>7.61% 8.43% 13.90%</td><td>14.26% 13.94 % 20.75%</td></tr></table>
|
| 168 |
+
|
| 169 |
+
Table 4: Attack success rate of adversarial examples generated by different black-box adversarial strategies under defenses on MNIST and CIFAR-10
|
| 170 |
+
|
| 171 |
+
<table><tr><td></td><td colspan="3">MNIST</td><td colspan="3">CIFAR-10</td></tr><tr><td>Defense</td><td>FGSM</td><td>Opt.</td><td>AdvGAN</td><td>FGSM</td><td>Opt.</td><td>AdvGAN</td></tr><tr><td>Adv.</td><td>3.1%</td><td>3.5%</td><td>11.5%</td><td>13.58%</td><td>10.8%</td><td>15.96%</td></tr><tr><td>Ensemble</td><td>2.5%</td><td>3.4%</td><td>10.3%</td><td>10.49%</td><td>9.6%</td><td>12.47 %</td></tr><tr><td>Iterative Adv.</td><td>2.4%</td><td>2.5%</td><td>12.2%</td><td>22.96%</td><td>21.70%</td><td>24.28%</td></tr></table>
|
| 172 |
+
|
| 173 |
+
Table 5: Accuracy of the MadryLab public model under different attacks in white-box setting. The AdvGAN here achieved the best performance.
|
| 174 |
+
|
| 175 |
+
<table><tr><td>Method</td><td>Accuracy (xent loss)</td><td>Accuracy (cw loss)</td></tr><tr><td>FGSM</td><td>95.23%</td><td>96.29%</td></tr><tr><td>PGD</td><td>93.66%</td><td>93.79%</td></tr><tr><td>Opt</td><td>1</td><td>91.69%</td></tr><tr><td>AdvGAN</td><td>1</td><td>88.93%</td></tr></table>
|
| 176 |
+
|
| 177 |
+
# 4.4 ADVERSARIAL PERTURBATION ANALYSIS.
|
| 178 |
+
|
| 179 |
+
To understand the adversarial perturbation pattern better, we plot out corresponding perturbations (amplified by a factor of 10) for CIFAR-10 in Figure 3 (c) and (d) and ImageNet in Figure 4 (b). From the visualization of perturbation, it shows that the perturbations do not resemble anything in particular about the original image or the target class. Although training AdvGAN exposes it to realistic instances, the perturbations it generates do not simply interpolate towards an example of the target class.
|
| 180 |
+
|
| 181 |
+
# 4.5 HIGH RESOLUTION ADVERSARIAL EXAMPLES ANALYSIS
|
| 182 |
+
|
| 183 |
+
To evaluate AdvGAN’s ability to generate high resolution adversarial examples, we generate the high resolution adversarial examples for Inception_v3 and quantify their attack success rate and perceptual realism.
|
| 184 |
+
|
| 185 |
+
Experiment settings. In the following experiments, we select toy poodle as our target label for all images. We select 100 benign images from the DEV set of the NIPS 2017 targeted adversarial attack competition.6 This competition provided a dataset compatible with ImageNet. We generate adversarial examples $2 9 9 \times 2 9 9$ pixels) under an $L _ { \infty }$ perturbation bound of 0.01 (pixels values are in the range $\in \ [ 0 , 1 ] )$ for the Inception_v3 model, whose input size is $2 9 9 \times 2 9 9$ . The details of architectures for generator and discriminator we used are listed in Appendix D.
|
| 186 |
+
|
| 187 |
+
Table 6: Parameters of generated high resolution adversarial examples
|
| 188 |
+
|
| 189 |
+
<table><tr><td>Dateset</td><td>Model</td><td>Target Label</td><td>Resolution</td><td>Loo bound</td><td>Attack Success Rate</td></tr><tr><td>ImageNet</td><td>Inception_v3</td><td>toy poodle</td><td>299×299</td><td>0.01</td><td>100%</td></tr></table>
|
| 190 |
+
|
| 191 |
+
In Figure 8 in the appendix, we show the original images on the left with the correct label, and we show adversarial examples generated by AdvGAN on the right with the target label.
|
| 192 |
+
|
| 193 |
+
Human Perceptual Study. We validate the realism of AdvGAN’s adversarial examples with a user study on Amazon Mechanical Turk (AMT). We use 100 pairs of original images and adversarial examples (generated as described above) and ask workers to choose which image of a pair is more visually realistic.
|
| 194 |
+
|
| 195 |
+
Our study follows a protocol from Zhang et al. (2016) and Isola et al. (2017), where a worker is shown a pair of images for 2 seconds, then the worker has unlimited time to choose. We limit each worker to at most 20 of these tasks. We collected 500 choices, about 5 per pair of images, from 50 workers on AMT.
|
| 196 |
+
|
| 197 |
+
The AdvGAN examples were chosen as more realistic than the original image in $4 9 . 4 \% \pm 1 . 9 6 \%$ of the tasks (random guessing would result in about $5 0 \%$ ). This result show that these high-resolution AdvGAN adversarial examples are about as realistic as benign images.
|
| 198 |
+
|
| 199 |
+
# 5 CONCLUSION
|
| 200 |
+
|
| 201 |
+
In this paper, we propose AdvGAN to generate adversarial examples using generative adversarial networks (GANs). In our AdvGAN framework, once trained, the feed-forward generator can produce adversarial perturbations efficiently. It can also perform both semi-whitebox and black-box attacks with high attack success rate. In addition, when we apply AdvGAN to generate adversarial instances on different models without knowledge of the defenses in place, the generated adversarial examples can attack the state-of-the-art defenses with higher attack success rate than examples generated by the competing methods. This property makes AdvGAN a promising candidate for improving adversarial training defense methods. The generated adversarial examples produced by AdvGAN preserve high perceptual quality due to GANs’ distribution approximation property.
|
| 202 |
+
|
| 203 |
+
# REFERENCES
|
| 204 |
+
|
| 205 |
+
Shumeet Baluja and Ian Fischer. Adversarial transformation networks: Learning to generate adversarial examples. arXiv preprint arXiv:1703.09387, 2017.
|
| 206 |
+
|
| 207 |
+
Peter L Bartlett and Marten H Wegkamp. Classification with a reject option using a hinge loss. JMLR, 9(Aug):1823–1840, 2008.
|
| 208 |
+
|
| 209 |
+
David Berthelot, Tom Schumm, and Luke Metz. Began: Boundary equilibrium generative adversarial networks. arXiv preprint arXiv:1703.10717, 2017.
|
| 210 |
+
|
| 211 |
+
Battista Biggio, Igino Corona, Davide Maiorca, Blaine Nelson, Nedim Šrndic, Pavel Laskov, Gior- ´ gio Giacinto, and Fabio Roli. Evasion attacks against machine learning at test time. In Joint European Conference on Machine Learning and Knowledge Discovery in Databases, pp. 387– 402. Springer, 2013.
|
| 212 |
+
|
| 213 |
+
Nicholas Carlini and David Wagner. Towards evaluating the robustness of neural networks. In IEEE Symposium on Security and Privacy, 2017, 2017a.
|
| 214 |
+
|
| 215 |
+
Nicholas Carlini and David Wagner. Adversarial examples are not easily detected: Bypassing ten detection methods. arXiv preprint arXiv:1705.07263, 2017b.
|
| 216 |
+
|
| 217 |
+
Nicholas Carlini and David Wagner. Towards evaluating the robustness of neural networks. In Security and Privacy (SP), 2017 IEEE Symposium on, pp. 39–57. IEEE, 2017c.
|
| 218 |
+
|
| 219 |
+
Dan Ciresan, Alessandro Giusti, Luca M Gambardella, and Jürgen Schmidhuber. Deep neural networks segment neuronal membranes in electron microscopy images. In NIPS, pp. 2843–2851, 2012.
|
| 220 |
+
|
| 221 |
+
Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In CVPR, pp. 248–255. IEEE, 2009.
|
| 222 |
+
|
| 223 |
+
Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In NIPS, pp. 2672–2680, 2014.
|
| 224 |
+
|
| 225 |
+
Ian Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. In ICLR, 2015.
|
| 226 |
+
|
| 227 |
+
Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron Courville. Improved training of wasserstein gans. In NIPS, 2017.
|
| 228 |
+
|
| 229 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, pp. 770–778, 2016.
|
| 230 |
+
|
| 231 |
+
Warren He, James Wei, Xinyun Chen, Nicholas Carlini, and Dawn Song. Adversarial example defenses: Ensembles of weak defenses are not strong. arXiv preprint arXiv:1706.04701, 2017.
|
| 232 |
+
|
| 233 |
+
Geoffrey Hinton, Li Deng, Dong Yu, George E Dahl, Abdel-rahman Mohamed, Navdeep Jaitly, Andrew Senior, Vincent Vanhoucke, Patrick Nguyen, Tara N Sainath, et al. Deep neural networks for acoustic modeling in speech recognition: The shared views of four research groups. IEEE Signal Processing Magazine, 29(6):82–97, 2012.
|
| 234 |
+
|
| 235 |
+
Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015.
|
| 236 |
+
|
| 237 |
+
Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A Efros. Image-to-image translation with conditional adversarial networks. CVPR, 2017.
|
| 238 |
+
|
| 239 |
+
Justin Johnson, Alexandre Alahi, and Li Fei-Fei. Perceptual losses for real-time style transfer and super-resolution. In ECCV, pp. 694–711. Springer, 2016.
|
| 240 |
+
|
| 241 |
+
Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 242 |
+
|
| 243 |
+
Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. ImageNet classification with deep convolutional neural networks. In NIPS, pp. 1097–1105, 2012.
|
| 244 |
+
|
| 245 |
+
Alex Krizhevsky, Vinod Nair, and Geoffrey Hinton. The cifar-10 dataset. online: http://www. cs. toronto. edu/kriz/cifar. html, 2014.
|
| 246 |
+
|
| 247 |
+
Alexey Kurakin, Ian Goodfellow, and Samy Bengio. Adversarial examples in the physical world. arXiv preprint arXiv:1607.02533, 2016.
|
| 248 |
+
|
| 249 |
+
Yann LeCun and Corrina Cortes. The MNIST database of handwritten digits. 1998.
|
| 250 |
+
|
| 251 |
+
Sergey Levine, Chelsea Finn, Trevor Darrell, and Pieter Abbeel. End-to-end training of deep visuo motor policies. JMLR, 17(39):1–40, 2016.
|
| 252 |
+
|
| 253 |
+
Yanpei Liu, Xinyun Chen, Chang Liu, and Dawn Song. Delving into transferable adversarial examples and black-box attacks. In ICLR, 2017.
|
| 254 |
+
|
| 255 |
+
Xudong Mao, Qing Li, Haoran Xie, Raymond YK Lau, Zhen Wang, and Stephen Paul Smolley. Least squares generative adversarial networks. arXiv preprint ArXiv:1611.04076, 2016.
|
| 256 |
+
|
| 257 |
+
Seyed-Mohsen Moosavi-Dezfooli, Alhussein Fawzi, and Pascal Frossard. Deepfool: a simple and accurate method to fool deep neural networks. arXiv preprint arXiv:1511.04599, 2015.
|
| 258 |
+
|
| 259 |
+
Aleksander M ˛adry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. arXiv:1706.06083 [cs, stat], June 2017a.
|
| 260 |
+
|
| 261 |
+
Aleksander M ˛adry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu, 2017b. URL https://github.com/MadryLab/mnist_challenge.
|
| 262 |
+
|
| 263 |
+
Nicolas Papernot, Patrick McDaniel, Somesh Jha, Matt Fredrikson, Z Berkay Celik, and Ananthram Swami. The limitations of deep learning in adversarial settings. In 2016 IEEE European Symposium on Security and Privacy (EuroS&P), pp. 372–387. IEEE, 2016.
|
| 264 |
+
|
| 265 |
+
Nicolas Papernot, Patrick McDaniel, Ian Goodfellow, Somesh Jha, Z Berkay Celik, and Ananthram Swami. Practical black-box attacks against deep learning systems using adversarial examples. In Proceedings of the 2017 ACM Asia Conference on Computer and Communications Security, 2017.
|
| 266 |
+
|
| 267 |
+
Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. arXiv preprint arXiv:1511.06434, 2015.
|
| 268 |
+
|
| 269 |
+
Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. In ICLR, 2014.
|
| 270 |
+
|
| 271 |
+
Florian Tramèr, Alexey Kurakin, Nicolas Papernot, Dan Boneh, and Patrick McDaniel. Ensemble adversarial training: Attacks and defenses. arXiv preprint arXiv:1705.07204, 2017a.
|
| 272 |
+
|
| 273 |
+
Florian Tramèr, Nicolas Papernot, Ian Goodfellow, Dan Boneh, and Patrick McDaniel. The space of transferable adversarial examples. arXiv preprint arXiv:1704.03453, 2017b.
|
| 274 |
+
|
| 275 |
+
Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. arXiv preprint arXiv:1605.07146, 2016.
|
| 276 |
+
|
| 277 |
+
Richard Zhang, Phillip Isola, and Alexei A Efros. Colorful image colorization. In European Conference on Computer Vision, pp. 649–666. Springer, 2016.
|
| 278 |
+
|
| 279 |
+
Jun-Yan Zhu, Philipp Krähenbühl, Eli Shechtman, and Alexei A Efros. Generative visual manipulation on the natural image manifold. In ECCV, pp. 597–613. Springer, 2016.
|
| 280 |
+
|
| 281 |
+
Jun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A Efros. Unpaired image-to-image translation using cycle-consistent adversarial networks. ICCV, 2017.
|
| 282 |
+
|
| 283 |
+
# A ARCHITECTURE OF MODELS
|
| 284 |
+
|
| 285 |
+
Table 7: Model architectures for the MNIST
|
| 286 |
+
|
| 287 |
+
<table><tr><td>A</td><td>B</td><td>C</td></tr><tr><td>Conv(64,5,5)+Relu</td><td>Conv(64,8,8)+Relu</td><td>Conv(32,3,3)+Relu</td></tr><tr><td>Conv(64,5,5)+Relu</td><td>Dropout(0.2)</td><td>Conv(32,3,3)+Relu</td></tr><tr><td>Dropout(0.25)</td><td>Conv(128,6,6)+Relu</td><td>MaxPooling(2,2)</td></tr><tr><td>FC(128)+Relu</td><td>Conv(128,5,5)+Relu</td><td>Conv(64,3,3)+Relu</td></tr><tr><td>Dropout(0.5)</td><td>Dropout(0.5)</td><td>Conv(64,3,3)+Relu</td></tr><tr><td>FC(10)+Softmax</td><td>FC(10)+Softma</td><td>MaxPooling(2,2) FC(200)+Relu</td></tr></table>
|
| 288 |
+
|
| 289 |
+
# B NETWORK ARCHITECTURES
|
| 290 |
+
|
| 291 |
+
Generator architecture We follow the naming rules used in Johnson et al. (2016)’s Github repository7 as well as Zhu et al. (2017) . Let $\mathrm { c } 3 \mathrm { s } 1 \mathrm { - } \mathrm { k }$ denotes $3 \times 3$ Convolution-InstanceNorm-ReLU layer with $\mathbf { k }$ filter and stride 1. Rk means residual block that contains two $3 \times 3$ convolution layers with the same numbers of filters. dk denotes the $3 \times 3$ Convolution-InstanceNorm-ReLU layer with $\mathbf { k }$ filters and stride 2. uk denotes a $3 \times 3$ fractional-strided-ConvolutionInstanceNorm-ReLU layer with $\mathbf { k }$ filters, and stride $\textstyle { \frac { 1 } { 2 } }$ . .
|
| 292 |
+
|
| 293 |
+
The generator structures consists of: $\mathbf { \Delta } _ { \mathbf { C } } 3 \mathbf { s } 1 - 8$ , d16, d32, $\tt { r 3 2 }$ , $\tt { r 3 2 }$ , r32, r32, u16, u8, c3s1-3
|
| 294 |
+
|
| 295 |
+
Discriminator architecture We use CNNs as our discriminator network (Radford et al., 2015). Let Ck denote a $4 \times 4$ Convolution-InstanceNorm-LeakyReLU layer with k filters and stride 2. After the last conv layer, we apply a FC layer to produce a 1 dimensional output. We do not use InstanceNorm for the first C8 layer. We use leaky ReLUs with slope 0.2.
|
| 296 |
+
|
| 297 |
+
The discriminator architecture is: C8, C16, C32, FC
|
| 298 |
+
|
| 299 |
+
# C ADDITIONAL ADVERSARIAL EXAMPLES
|
| 300 |
+
|
| 301 |
+

|
| 302 |
+
Figure 5: Adversarial examples generated by AdvGAN on MNIST against different models in the semi-whitebox setting. Here the adversarial examples are randomly sampled corresponding to different original images.
|
| 303 |
+
|
| 304 |
+

|
| 305 |
+
Figure 6: Adversarial examples generated by AdvGAN on MNIST against different models in the black-box setting. Here the adversarial examples are randomly sampled corresponding to different original images.
|
| 306 |
+
|
| 307 |
+

|
| 308 |
+
Figure 7: Adversarial examples generated by AdvGAN on CIFAR-10. Here the adversarial examples are randomly sampled corresponding to different original images.
|
| 309 |
+
|
| 310 |
+
Table 8: Comparisons of perturbations generated by AdvGAN and the state-of-the-art algorithms on MNIST and CIFAR-10. We report the mean value of perturbation amount as “mean” and attack success rate as “prob.”
|
| 311 |
+
|
| 312 |
+
<table><tr><td rowspan="3">Method</td><td colspan="6">MNIST</td><td colspan="4">CIFAR-10</td></tr><tr><td colspan="2">A</td><td colspan="2">B</td><td colspan="2">C</td><td colspan="2">ResNet-32</td><td colspan="2">Wide ResNet-34</td></tr><tr><td>mean</td><td>prob</td><td>mean</td><td>prob</td><td>mean</td><td>prob</td><td>mean</td><td>prob</td><td>mean</td><td>prob</td></tr><tr><td>AdvGAN</td><td>0.149</td><td>98%</td><td>0.157</td><td>97%</td><td>0.144</td><td>98%</td><td>0.025</td><td>95%</td><td>0.024</td><td>99%</td></tr><tr><td>Cw</td><td>0.089</td><td>99%</td><td>0.100</td><td>99%</td><td>0.070</td><td>100%</td><td>0.023</td><td>100%</td><td>0.020</td><td>98%</td></tr><tr><td>FGSM</td><td>0.202</td><td>55%</td><td>0.193</td><td>49%</td><td>0.192</td><td>18%</td><td>0.0301</td><td>23%</td><td>0.031</td><td>26%</td></tr></table>
|
| 313 |
+
|
| 314 |
+
# D HIGH RESOLUTION ADVERSARIAL EXAMPLES FOR AN IMAGENET-COMPATIBLE SET
|
| 315 |
+
|
| 316 |
+
The structure of generator for ImageNet consists of:
|
| 317 |
+
c7s1-8, d16, d32, d64, d64, d64, d64, r64, r64, r64, r64, u64,
|
| 318 |
+
u64, u64, u64, u32, u16, u8, c7s1-3
|
| 319 |
+
|
| 320 |
+
The architecture of discriminator for ImageNet is: C8, C16, C32, FC
|
| 321 |
+
|
| 322 |
+

|
| 323 |
+
|
| 324 |
+

|
| 325 |
+
(a) Benign image (labeled as dung beetle)
|
| 326 |
+
|
| 327 |
+

|
| 328 |
+
(c) Benign image (labeled as vase)
|
| 329 |
+
(e) Benign image (labeled as bottlecap)
|
| 330 |
+
|
| 331 |
+

|
| 332 |
+
|
| 333 |
+

|
| 334 |
+
(b) Adversarial image (labeled as toy poodle)
|
| 335 |
+
|
| 336 |
+

|
| 337 |
+
(d) Adversarial image (labeled as toy poodle)
|
| 338 |
+
(f) Adversarial image (labeled as toy poodle)
|
| 339 |
+
|
| 340 |
+

|
| 341 |
+
|
| 342 |
+

|
| 343 |
+
(g) Benign image (labeled as folding chair)
|
| 344 |
+
|
| 345 |
+

|
| 346 |
+
(i) Benign image (labeled as yurt)
|
| 347 |
+
(k) Benign image (labeled as buckeye)
|
| 348 |
+
|
| 349 |
+

|
| 350 |
+
|
| 351 |
+

|
| 352 |
+
(h) Adversarial image (labeled as toy poodle)
|
| 353 |
+
|
| 354 |
+

|
| 355 |
+
(j) Adversarial image (labeled as toy poodle)
|
| 356 |
+
(l) Adversarial image (labeled as toy poodle)
|
| 357 |
+
|
| 358 |
+

|
| 359 |
+
Figure 8: Examples from an ImageNet-compatible set. Left: original image; right: adversaria image generated by AdvGAN against Inception_v3.
|
parse/train/HknbyQbC-/HknbyQbC-_content_list.json
ADDED
|
@@ -0,0 +1,1901 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "GENERATING ADVERSARIAL EXAMPLES WITH ADVERSARIAL NETWORKS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
99,
|
| 9 |
+
821,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
170,
|
| 20 |
+
398,
|
| 21 |
+
198
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
234,
|
| 32 |
+
544,
|
| 33 |
+
250
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Deep neural networks (DNNs) have been found to be vulnerable to adversarial examples resulting from adding small-magnitude perturbations to inputs. Such adversarial examples can mislead DNNs to produce adversary-selected results. Different attack strategies have been proposed to generate adversarial examples, but how to produce them with high perceptual quality and more efficiently requires more research efforts. In this paper, we propose AdvGAN to generate adversarial examples with generative adversarial networks (GANs), which can learn and approximate the distribution of original instances. For AdvGAN, once the generator is trained, it can generate adversarial perturbations efficiently for any instance, so as to potentially accelerate adversarial training as defenses. We apply AdvGAN in both semi-whitebox and black-box attack settings. In semi-whitebox attacks, there is no need to access the original target model after the generator is trained, in contrast to traditional white-box attacks. In black-box attacks, we dynamically train a distilled model for the black-box model and optimize the generator accordingly. Adversarial examples generated by AdvGAN on different target models have high attack success rate under state-of-the-art defenses compared to other attacks. Our attack has placed the first with $9 2 . 7 6 \\%$ accuracy on a public MNIST black-box attack challenge (M ˛adry et al., 2017b). ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
270,
|
| 43 |
+
764,
|
| 44 |
+
518
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
555,
|
| 55 |
+
334,
|
| 56 |
+
570
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Deep Neural Networks (DNNs) have achieved great successes in a variety of applications ranging from image recognition (Krizhevsky et al., 2012; He et al., 2016) to speech processing (Hinton et al., 2012) and from robotics training (Levine et al., 2016) to medical diagnostics (Ciresan et al., 2012). However, recent work has demonstrated that DNNs are vulnerable to adversarial perturbations (Szegedy et al., 2014; Goodfellow et al., 2015). An adversary can add small-magnitude perturbations to inputs and generate adversarial examples to mislead DNNs. Such maliciously perturbed instances can cause the learning system to misclassify them into either a maliciously-chosen target class (in a targeted attack) or classes that are different from the ground truth (in an untargeted attack). Different algorithms have been proposed for generating such adversarial examples, such as the fast gradient sign method (FGSM) (Goodfellow et al., 2015) and optimization-based methods (Opt.) (Carlini & Wagner, 2017a; Liu et al., 2017). ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
589,
|
| 66 |
+
825,
|
| 67 |
+
742
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Most of the the current attack algorithms (Carlini & Wagner, 2017a; Liu et al., 2017) rely on optimization schemes with simple pixel space metrics, such as $L _ { \\infty }$ distance from a benign image, to encourage visual realism. To generate more perceptually realistic adversarial examples, in this paper, we propose to train a feed-forward network to generate perturbations such that the resulting example must be realistic according to a discriminator network. We apply generative adversarial networks (GANs) (Goodfellow et al., 2014) to produce adversarial examples in both the semi-whitebox and black-box settings. As conditional GANs are capable of producing high-quality images (Isola et al., 2017), we apply a similar paradigm to produce perceptually realistic adversarial instances. We name our method AdvGAN. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
750,
|
| 77 |
+
825,
|
| 78 |
+
875
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Note that in the previous white-box attacks, such as FGSM and optimization methods, the adversary needs to have white-box access to the architecture and parameters of the model all the time. However, by deploying AdvGAN, once the feed-forward network is trained, it can instantly produce adversarial perturbations for any input instances without requiring access to the model itself anymore. We name this attack setting semi-whitebox. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
176,
|
| 87 |
+
882,
|
| 88 |
+
823,
|
| 89 |
+
922
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "",
|
| 96 |
+
"bbox": [
|
| 97 |
+
173,
|
| 98 |
+
103,
|
| 99 |
+
823,
|
| 100 |
+
132
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "To evaluate the effectiveness of our attack strategy AdvGAN, we first generate adversarial instances based on AdvGAN and other attack strategies on different target models. We then apply the stateof-the-art defenses to defend against these generated adversarial examples (Goodfellow et al., 2015; Tramèr et al., 2017a; M ˛adry et al., 2017a). We evaluate these attack strategies in both semi-whitebox and black-box settings. We show that adversarial examples generated by AdvGAN can achieve a high attack success rate, potentially due to the fact that these adversarial instances appear closer to real instances compared to other recent attack strategies. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
138,
|
| 110 |
+
825,
|
| 111 |
+
236
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Our contributions are listed as follows. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
176,
|
| 120 |
+
243,
|
| 121 |
+
428,
|
| 122 |
+
257
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "• Different from the previous optimization-based methods, we train a conditional adversarial network to directly produce adversarial examples, which are both perceptually realistic and achieve state-of-the-art attack success rate against different target models. • We show that AdvGAN can attack black-box models by training a distilled model. We propose to dynamically train the distilled model with query information and achieve high black-box attack success rate and targeted black-box attack, which is difficult to achieve for transferability-based black-box attacks. We use the state-of-the-art defense methods to defend against adversarial examples and show that AdvGAN achieves much higher attack success rate under current defenses. We apply AdvGAN on M ˛adry et al.’s MNIST challenge (2017a) and achieve $8 8 . 9 3 \\%$ accuracy on the published robust model in the semi-whitebox setting and $9 2 . 7 6 \\%$ in the blackbox setting, which wins the top position in the challenge (M ˛adry et al., 2017b). ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
215,
|
| 131 |
+
268,
|
| 132 |
+
825,
|
| 133 |
+
449
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "2 RELATED WORK ",
|
| 140 |
+
"text_level": 1,
|
| 141 |
+
"bbox": [
|
| 142 |
+
176,
|
| 143 |
+
468,
|
| 144 |
+
344,
|
| 145 |
+
484
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "Here we review recent work on adversarial examples and generative adversarial networks. ",
|
| 152 |
+
"bbox": [
|
| 153 |
+
171,
|
| 154 |
+
498,
|
| 155 |
+
761,
|
| 156 |
+
513
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 1
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "Adversarial Examples A number of attack strategies to generate adversarial examples have been proposed in the white-box setting, where the adversary has full access to the classifier (Szegedy et al., 2014; Goodfellow et al., 2015; Carlini & Wagner, 2017a; Moosavi-Dezfooli et al., 2015; Papernot et al., 2016; Biggio et al., 2013; Kurakin et al., 2016). Goodfellow et al. propose the fast gradient sign method (FGSM), which applies a first-order approximation of the loss function to construct adversarial samples. Formally, given an instance $x$ , an adversary generates adversarial example $x _ { A } = x + \\eta$ with $L _ { \\infty }$ constraints in the untargeted attack setting as $\\eta = \\epsilon \\cdot \\mathrm { s i g n } ( \\nabla _ { x } \\ell _ { f } ( x , y ) )$ , where $\\ell _ { f } ( \\cdot )$ is the cross-entropy loss used to train the neural network $f$ , and $y$ represents the ground truth of $x$ . Optimization based methods have also been proposed to optimize adversarial perturbation for targeted attacks while satisfying certain constraints (Carlini & Wagner, 2017a; Liu et al., 2017). Its goal is to minimize the objective function as $| | \\eta | | + \\lambda \\ell _ { f } ( x _ { A } , y )$ , where $| | \\cdot | |$ is an appropriately chosen norm function. However, the optimization process is slow and can only optimize perturbation for one specific instance each time. In contrast, our feed-forward network can produce perturbation for any instance. It achieves higher attack success rate against different defenses and performs much faster than the current attack algorithms. ",
|
| 163 |
+
"bbox": [
|
| 164 |
+
173,
|
| 165 |
+
520,
|
| 166 |
+
825,
|
| 167 |
+
728
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 1
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "text",
|
| 173 |
+
"text": "Independently from our work, feed-forward networks have been applied to generate adversarial perturbation (Baluja & Fischer, 2017). However, Baluja & Fischer combine the re-ranking loss and an $L _ { 2 }$ norm loss, aiming to constrain the generated adversarial instance to be close to the original one in terms of $L _ { 2 }$ ; while we apply a deep neural network as a discriminator to help distinguish the instance with other real images to encourage the perceptual quality of the generated adversarial examples. ",
|
| 174 |
+
"bbox": [
|
| 175 |
+
174,
|
| 176 |
+
734,
|
| 177 |
+
825,
|
| 178 |
+
819
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 1
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "text",
|
| 184 |
+
"text": "Black-box Attacks Current learning systems usually do not allow white-box accesses against the model for security reasons. Therefore, there is a great need for black-box attacks analysis. Most of the black-box attack strategies are based on the transferability phenomenon (Papernot et al., 2017), where an adversary can train a local model first and generate adversarial examples against it, hoping the same adversarial examples will also be able to attack the other models. Many learning systems allow query accesses to the model. However, there is little work that can leverage query-based access to target models to construct adversarial samples and move beyond transferability. Papernot et al. (2017) proposed to train a local substitute model with queries to the target model to generate adversarial samples, but this strategy still relies on transferability. In contrast, we show that the proposed AdvGAN can perform black-box attacks without depending on transferability. ",
|
| 185 |
+
"bbox": [
|
| 186 |
+
174,
|
| 187 |
+
827,
|
| 188 |
+
825,
|
| 189 |
+
924
|
| 190 |
+
],
|
| 191 |
+
"page_idx": 1
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"type": "image",
|
| 195 |
+
"img_path": "images/962027a6b691cc62b440a07546f5c99eb4c6a04c47fbbbe54c1dfb515202872c.jpg",
|
| 196 |
+
"image_caption": [
|
| 197 |
+
"Figure 1: Overview of AdvGAN "
|
| 198 |
+
],
|
| 199 |
+
"image_footnote": [],
|
| 200 |
+
"bbox": [
|
| 201 |
+
205,
|
| 202 |
+
103,
|
| 203 |
+
794,
|
| 204 |
+
294
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 2
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "text",
|
| 210 |
+
"text": "",
|
| 211 |
+
"bbox": [
|
| 212 |
+
176,
|
| 213 |
+
356,
|
| 214 |
+
821,
|
| 215 |
+
397
|
| 216 |
+
],
|
| 217 |
+
"page_idx": 2
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"type": "text",
|
| 221 |
+
"text": "Generative Adversarial Networks (GANs) (Goodfellow et al., 2014) have achieved visually appealing results in both image generation (Radford et al., 2015; Gulrajani et al., 2017; Berthelot et al., 2017) and manipulation (Zhu et al., 2016) settings. Recently, image-to-image conditional GANs have further improved the quality of synthesis results (Isola et al., 2017; Zhu et al., 2017). We adopt a similar adversarial loss and image-to-image network architecture to learn the mapping from an original image to a perturbed output such that the perturbed image cannot be distinguished from real images in the original class. Different from prior work, we aim to produce output results that are not only visually realistic but also able to mislead target learning models. ",
|
| 222 |
+
"bbox": [
|
| 223 |
+
173,
|
| 224 |
+
404,
|
| 225 |
+
825,
|
| 226 |
+
516
|
| 227 |
+
],
|
| 228 |
+
"page_idx": 2
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"type": "text",
|
| 232 |
+
"text": "3 GENERATING ADVERSARIAL EXAMPLES WITH ADVERSARIAL NETWORKS ",
|
| 233 |
+
"text_level": 1,
|
| 234 |
+
"bbox": [
|
| 235 |
+
176,
|
| 236 |
+
546,
|
| 237 |
+
821,
|
| 238 |
+
563
|
| 239 |
+
],
|
| 240 |
+
"page_idx": 2
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"type": "text",
|
| 244 |
+
"text": "3.1 PROBLEM DEFINITION ",
|
| 245 |
+
"text_level": 1,
|
| 246 |
+
"bbox": [
|
| 247 |
+
176,
|
| 248 |
+
584,
|
| 249 |
+
370,
|
| 250 |
+
599
|
| 251 |
+
],
|
| 252 |
+
"page_idx": 2
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"type": "text",
|
| 256 |
+
"text": "Let ${ \\mathcal { X } } \\subseteq { \\mathcal { R } } ^ { n }$ be the feature space, with $n$ the number of features. Suppose that $( x _ { i } , y _ { i } )$ is the ith instance within the training set, which is comprised of feature vectors $x _ { i } \\in \\mathcal X$ , generated according to some unknown distribution $x _ { i } \\sim \\mathcal { P } _ { \\mathrm { d a t a } }$ , and $y _ { i } ~ \\in ~ \\mathcal { V }$ the corresponding true class labels. The learning system aims to learn a classifier $f : \\mathcal { X } \\mathcal { Y }$ from the domain $\\mathcal { X }$ to the set of classification outputs $\\mathcal { V }$ , where $| \\mathcal { V } |$ denotes the number of possible classification outputs. Given an instance $x$ , the goal of an adversary is to generate adversarial example $x _ { A }$ , which is classified as $f ( x _ { A } ) \\neq y$ (untargeted attack), where $y$ denotes the true label; or $f ( x _ { A } ) = t$ (targeted attack) where $t$ is the target class. $x _ { A }$ should also be close to the original instance $x$ in terms of $L _ { 2 }$ or other distance metric. ",
|
| 257 |
+
"bbox": [
|
| 258 |
+
173,
|
| 259 |
+
614,
|
| 260 |
+
825,
|
| 261 |
+
739
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 2
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "text",
|
| 267 |
+
"text": "3.2 ADVGAN FRAMEWORK ",
|
| 268 |
+
"text_level": 1,
|
| 269 |
+
"bbox": [
|
| 270 |
+
176,
|
| 271 |
+
768,
|
| 272 |
+
382,
|
| 273 |
+
782
|
| 274 |
+
],
|
| 275 |
+
"page_idx": 2
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"type": "text",
|
| 279 |
+
"text": "Figure 1 illustrates the overall architecture of AdvGAN, which mainly consists of three parts: a generator $\\mathcal { G }$ , a discriminator $\\mathcal { D }$ , and the target neural network $f$ . Here the generator $\\mathcal { G }$ takes the original instance $x$ as its input and generates a perturbation $\\mathcal G ( x )$ . Then $x + \\mathcal { G } ( x )$ will be sent to the discriminator $\\mathcal { D }$ , which is used to distinguish the generated data and the original instance $x$ . The goal of $\\mathcal { D }$ is to encourage that the generated instance is indistinguishable with the data from its original class. To fulfill the goal of fooling a learning model, we first perform the white-box attack, where the target model is $f$ in this case. $f$ takes $x + \\mathcal { G } ( x )$ as its input and outputs its loss $\\mathcal { L } _ { a d v }$ , which represents the distance between the prediction and the target class $t$ (targeted attack), or the opposite of the distance between the prediction and the ground truth class (untargeted attack). ",
|
| 280 |
+
"bbox": [
|
| 281 |
+
173,
|
| 282 |
+
797,
|
| 283 |
+
825,
|
| 284 |
+
924
|
| 285 |
+
],
|
| 286 |
+
"page_idx": 2
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"type": "text",
|
| 290 |
+
"text": "The adversarial loss (Goodfellow et al., 2014) can be written as: 1 ",
|
| 291 |
+
"bbox": [
|
| 292 |
+
173,
|
| 293 |
+
102,
|
| 294 |
+
602,
|
| 295 |
+
118
|
| 296 |
+
],
|
| 297 |
+
"page_idx": 3
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"type": "equation",
|
| 301 |
+
"img_path": "images/4fc1decc30b0a133039532e5cbc884c734d2b8971c60565e92eb657f1f068b18.jpg",
|
| 302 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { G A N } } = \\mathbb { E } _ { x } \\log \\mathcal { D } ( x ) + \\mathbb { E } _ { x } \\log ( 1 - \\mathcal { D } ( x + \\mathcal { G } ( x ) ) ) .\n$$",
|
| 303 |
+
"text_format": "latex",
|
| 304 |
+
"bbox": [
|
| 305 |
+
328,
|
| 306 |
+
126,
|
| 307 |
+
668,
|
| 308 |
+
143
|
| 309 |
+
],
|
| 310 |
+
"page_idx": 3
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"type": "text",
|
| 314 |
+
"text": "Here, the discriminator $\\mathcal { D }$ aims to distinguish the perturbed data $x + \\mathcal { G } ( x )$ from the original data $x$ . 2 Note that the real data is sampled from the true class, so as to encourage that the generated instances are close to data from the original class. ",
|
| 315 |
+
"bbox": [
|
| 316 |
+
176,
|
| 317 |
+
151,
|
| 318 |
+
825,
|
| 319 |
+
194
|
| 320 |
+
],
|
| 321 |
+
"page_idx": 3
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"type": "text",
|
| 325 |
+
"text": "The loss for fooling the target model $f$ in a targeted attack is: ",
|
| 326 |
+
"bbox": [
|
| 327 |
+
173,
|
| 328 |
+
200,
|
| 329 |
+
576,
|
| 330 |
+
215
|
| 331 |
+
],
|
| 332 |
+
"page_idx": 3
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"type": "equation",
|
| 336 |
+
"img_path": "images/6fb52c30b683a0fbf336af6fe86dd7f00e8812b103fdcb79258364256e7e57ab.jpg",
|
| 337 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { a d v } } ^ { f } = \\mathbb { E } _ { x } \\ell _ { f } ( x + \\mathcal { G } ( x ) , t ) ,\n$$",
|
| 338 |
+
"text_format": "latex",
|
| 339 |
+
"bbox": [
|
| 340 |
+
408,
|
| 341 |
+
223,
|
| 342 |
+
588,
|
| 343 |
+
244
|
| 344 |
+
],
|
| 345 |
+
"page_idx": 3
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"type": "text",
|
| 349 |
+
"text": "where origin $t$ is the t model get cl. The nd lo $\\ell _ { f }$ denotes the loss function (e.g., cross-entropy loss) used to train t encourages the perturbed image to be misclassified as target class . $f$ $\\mathcal { L } _ { a d v } ^ { f }$ $t$ Here we can also perform the untargeted attack by maximizing the distance between the prediction and the ground truth, but we will focus on the targeted attack in the rest of the paper. ",
|
| 350 |
+
"bbox": [
|
| 351 |
+
173,
|
| 352 |
+
251,
|
| 353 |
+
825,
|
| 354 |
+
311
|
| 355 |
+
],
|
| 356 |
+
"page_idx": 3
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"type": "text",
|
| 360 |
+
"text": "To bound the magnitude of the perturbation, which is a common practice in prior work (Carlini & Wagner, $2 0 1 7 \\mathrm { a }$ ; Liu et al., 2017; Bartlett & Wegkamp, 2008), we add a soft hinge loss on the $L _ { 2 }$ norm as ",
|
| 361 |
+
"bbox": [
|
| 362 |
+
176,
|
| 363 |
+
318,
|
| 364 |
+
825,
|
| 365 |
+
359
|
| 366 |
+
],
|
| 367 |
+
"page_idx": 3
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"type": "equation",
|
| 371 |
+
"img_path": "images/3edc6249ab67305cbb82f3812ac3e19f40e5c7640bbb01e0e2e3634be6385c57.jpg",
|
| 372 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { h i n g e } } = \\mathbb { E } _ { x } \\operatorname* { m a x } ( 0 , \\| \\mathcal { G } ( x ) \\| _ { 2 } - c ) ,\n$$",
|
| 373 |
+
"text_format": "latex",
|
| 374 |
+
"bbox": [
|
| 375 |
+
382,
|
| 376 |
+
361,
|
| 377 |
+
614,
|
| 378 |
+
378
|
| 379 |
+
],
|
| 380 |
+
"page_idx": 3
|
| 381 |
+
},
|
| 382 |
+
{
|
| 383 |
+
"type": "text",
|
| 384 |
+
"text": "where $c$ denotes a user-specified bound. This can also stabilize the GAN’s training, as shown in Isola et al. (2017). Finally, our full objective can be expressed as ",
|
| 385 |
+
"bbox": [
|
| 386 |
+
174,
|
| 387 |
+
382,
|
| 388 |
+
823,
|
| 389 |
+
411
|
| 390 |
+
],
|
| 391 |
+
"page_idx": 3
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"type": "equation",
|
| 395 |
+
"img_path": "images/6ccfa7a4bc87012b92cc2db0f839dd59e9521efa08c80e97b2d9647dd84a2d88.jpg",
|
| 396 |
+
"text": "$$\n\\mathcal { L } = \\mathcal { L } _ { \\mathrm { a d v } } ^ { f } + \\alpha \\mathcal { L } _ { \\mathrm { G A N } } + \\beta \\mathcal { L } _ { \\mathrm { h i n g e } } ,\n$$",
|
| 397 |
+
"text_format": "latex",
|
| 398 |
+
"bbox": [
|
| 399 |
+
397,
|
| 400 |
+
419,
|
| 401 |
+
599,
|
| 402 |
+
440
|
| 403 |
+
],
|
| 404 |
+
"page_idx": 3
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"type": "text",
|
| 408 |
+
"text": "where $\\alpha$ and $\\beta$ control the relative importance of each objective. Note that ${ \\mathcal { L } } _ { \\mathrm { G A N } }$ here is used to encourage the perturbed data to appear similar to the original data $x$ , while $\\mathcal { L } _ { \\mathrm { a d v } } ^ { f }$ is leveraged to generate adversarial examples, optimizing for the high attack success rate. We obtain our $\\mathcal { G }$ and $\\mathcal { D }$ by solving the minmax game arg $\\operatorname* { m i n } _ { \\mathcal { G } } \\operatorname* { m a x } _ { \\mathcal { D } } \\mathcal { L }$ . ",
|
| 409 |
+
"bbox": [
|
| 410 |
+
173,
|
| 411 |
+
446,
|
| 412 |
+
825,
|
| 413 |
+
506
|
| 414 |
+
],
|
| 415 |
+
"page_idx": 3
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"type": "text",
|
| 419 |
+
"text": "3.3 BLACK-BOX ATTACKS WITH ADVERSARIAL NETWORKS ",
|
| 420 |
+
"text_level": 1,
|
| 421 |
+
"bbox": [
|
| 422 |
+
174,
|
| 423 |
+
525,
|
| 424 |
+
602,
|
| 425 |
+
540
|
| 426 |
+
],
|
| 427 |
+
"page_idx": 3
|
| 428 |
+
},
|
| 429 |
+
{
|
| 430 |
+
"type": "text",
|
| 431 |
+
"text": "Static Distillation For black-box attack, we assume adversaries have no prior knowledge of training data or the model itself. In our experiments in Section 4, we randomly draw data that is disjoint from the training data of the black-box model to distill it, since we assume the adversaries have no prior knowledge about the training data or the model. To achieve black-box attacks, we first build a distilled network $f$ based on the output of the black-box model $b$ (Hinton et al., 2015). Once we obtain the distilled network $f$ , we carry out the same attack strategy as described in the white-box setting (see Equation (4)). Here, we minimize the following network distillation objective: ",
|
| 432 |
+
"bbox": [
|
| 433 |
+
173,
|
| 434 |
+
550,
|
| 435 |
+
825,
|
| 436 |
+
650
|
| 437 |
+
],
|
| 438 |
+
"page_idx": 3
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"type": "equation",
|
| 442 |
+
"img_path": "images/8030dfa2afcd1a8cbc1a4ff77cd661f577b0145e5b6cb1fb7dfddb6de2030bed.jpg",
|
| 443 |
+
"text": "$$\n\\arg \\operatorname* { m i n } _ { \\boldsymbol { f } } \\mathbb { E } _ { \\boldsymbol { x } } \\mathcal { H } ( \\boldsymbol { f } ( \\boldsymbol { x } ) , \\boldsymbol { b } ( \\boldsymbol { x } ) ) ,\n$$",
|
| 444 |
+
"text_format": "latex",
|
| 445 |
+
"bbox": [
|
| 446 |
+
406,
|
| 447 |
+
656,
|
| 448 |
+
589,
|
| 449 |
+
681
|
| 450 |
+
],
|
| 451 |
+
"page_idx": 3
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"type": "text",
|
| 455 |
+
"text": "where $f ( x )$ and $b ( x )$ denote the output from the distilled model and black-box model respectively for the given training image $x$ , and $\\mathcal { H }$ denotes the commonly used cross-entropy loss. By optimizing the objective over all the training images, we can obtain a model $f$ which behaves very close to the black-box model $b$ . We then carry out the attack on the distilled network. ",
|
| 456 |
+
"bbox": [
|
| 457 |
+
173,
|
| 458 |
+
690,
|
| 459 |
+
825,
|
| 460 |
+
747
|
| 461 |
+
],
|
| 462 |
+
"page_idx": 3
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"type": "text",
|
| 466 |
+
"text": "Note that unlike training the discriminator $\\mathcal { D }$ , where we only use the real data from the original class to encourage that the generated instance is close to its original class, here we train the distilled model with data from all classes. ",
|
| 467 |
+
"bbox": [
|
| 468 |
+
174,
|
| 469 |
+
753,
|
| 470 |
+
823,
|
| 471 |
+
796
|
| 472 |
+
],
|
| 473 |
+
"page_idx": 3
|
| 474 |
+
},
|
| 475 |
+
{
|
| 476 |
+
"type": "text",
|
| 477 |
+
"text": "Dynamic Distillation Only training the distilled model with all the pristine training data is not enough, since it is unclear how close the black-box and distilled model perform on the generated adversarial examples, which have not appeared in the training set before. Here we propose an alternative minimization approach to dynamically make queries and train the distilled model $f$ and our generator $\\mathcal { G }$ jointly. We perform the following two steps in each iteration. During iteration $i$ : ",
|
| 478 |
+
"bbox": [
|
| 479 |
+
173,
|
| 480 |
+
813,
|
| 481 |
+
825,
|
| 482 |
+
883
|
| 483 |
+
],
|
| 484 |
+
"page_idx": 3
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"type": "table",
|
| 488 |
+
"img_path": "images/7cfe05b493a85242f8766bc1698958a88dd3cadcfd6a87bd3911f18b1719ab6c.jpg",
|
| 489 |
+
"table_caption": [
|
| 490 |
+
"Table 1: Comparison with the state-of-the-art attack methods. Run time is measured for generating 1,000 adversarial instances during test time. Opt. represents the optimization based method, and Trans. denotes black-box attacks based on transferability. "
|
| 491 |
+
],
|
| 492 |
+
"table_footnote": [],
|
| 493 |
+
"table_body": "<table><tr><td></td><td>FGSM</td><td>Opt.</td><td>Trans.</td><td>AdvGAN</td></tr><tr><td>Run time</td><td>0.06s</td><td>>3h</td><td>1</td><td><0.01s</td></tr><tr><td>Targeted Attack</td><td>√</td><td>√</td><td>Ens.</td><td>√</td></tr><tr><td>Black-box Attack</td><td></td><td></td><td>√</td><td><</td></tr></table>",
|
| 494 |
+
"bbox": [
|
| 495 |
+
302,
|
| 496 |
+
154,
|
| 497 |
+
696,
|
| 498 |
+
224
|
| 499 |
+
],
|
| 500 |
+
"page_idx": 4
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "text",
|
| 504 |
+
"text": "1. Update $\\mathcal { G } _ { i }$ given a fixed network $f _ { i - 1 }$ : We follow the white-box setting (see Equation 4) and train the generator and discriminator based on a previously distilled model $f _ { i - 1 }$ . We initialize the weights $\\mathcal { G } _ { i }$ as $\\mathcal { G } _ { i - 1 }$ . ",
|
| 505 |
+
"bbox": [
|
| 506 |
+
215,
|
| 507 |
+
251,
|
| 508 |
+
821,
|
| 509 |
+
294
|
| 510 |
+
],
|
| 511 |
+
"page_idx": 4
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "equation",
|
| 515 |
+
"img_path": "images/6aab68a8ea5e398adec3b23ea4db79ae3db8b47567aa33cdb790ae9b11d2fa10.jpg",
|
| 516 |
+
"text": "$$\n\\mathcal { G } _ { i } , D _ { i } = \\arg \\operatorname* { m i n } _ { \\mathcal { G } } \\operatorname* { m a x } _ { \\mathcal { D } } \\mathcal { L } _ { \\mathrm { a d v } } ^ { f _ { i - 1 } } + \\alpha \\mathcal { L } _ { \\mathrm { G A N } } + \\beta \\mathcal { L } _ { \\mathrm { h i n g e } }\n$$",
|
| 517 |
+
"text_format": "latex",
|
| 518 |
+
"bbox": [
|
| 519 |
+
362,
|
| 520 |
+
303,
|
| 521 |
+
692,
|
| 522 |
+
329
|
| 523 |
+
],
|
| 524 |
+
"page_idx": 4
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"type": "text",
|
| 528 |
+
"text": "2. Update $f _ { i }$ given a fixed generator $\\mathcal { G } _ { i }$ : First, we use $f _ { i - 1 }$ to initialize $f _ { i }$ . Then, given the generated adversarial examples $x + \\mathcal { G } _ { i } ( x )$ from $\\mathcal { G } _ { i }$ , the distilled model $f _ { i }$ will be updated based on the set of new query results for the generated adversarial examples against the black-box model, as well as the original training images. ",
|
| 529 |
+
"bbox": [
|
| 530 |
+
214,
|
| 531 |
+
342,
|
| 532 |
+
825,
|
| 533 |
+
398
|
| 534 |
+
],
|
| 535 |
+
"page_idx": 4
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"type": "equation",
|
| 539 |
+
"img_path": "images/5adbb8333e34ea2099d6319076528ff3f201ec963ad00be9e23011ff35153948.jpg",
|
| 540 |
+
"text": "$$\nf _ { i } = \\arg \\operatorname* { m i n } _ { f } \\mathbb { E } _ { x } \\mathcal { H } ( f ( x ) , b ( x ) ) + \\mathbb { E } _ { x } \\mathcal { H } ( f ( x + \\mathcal { G } _ { i } ( x ) ) , b ( x + \\mathcal { G } _ { i } ( x ) ) ) ,\n$$",
|
| 541 |
+
"text_format": "latex",
|
| 542 |
+
"bbox": [
|
| 543 |
+
297,
|
| 544 |
+
416,
|
| 545 |
+
756,
|
| 546 |
+
440
|
| 547 |
+
],
|
| 548 |
+
"page_idx": 4
|
| 549 |
+
},
|
| 550 |
+
{
|
| 551 |
+
"type": "text",
|
| 552 |
+
"text": "where we use both the original images $x$ and the newly generated adversarial examples $x + s \\mathcal { G } _ { i } ( x )$ to update $f$ . ",
|
| 553 |
+
"bbox": [
|
| 554 |
+
228,
|
| 555 |
+
446,
|
| 556 |
+
825,
|
| 557 |
+
476
|
| 558 |
+
],
|
| 559 |
+
"page_idx": 4
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"type": "text",
|
| 563 |
+
"text": "In the experiment section, we compare the performance of both the static and dynamic distillation approaches and observe that simultaneously updating $\\mathcal { G }$ and $f$ produces higher attack performance. See Table 2 for more details. ",
|
| 564 |
+
"bbox": [
|
| 565 |
+
176,
|
| 566 |
+
489,
|
| 567 |
+
825,
|
| 568 |
+
531
|
| 569 |
+
],
|
| 570 |
+
"page_idx": 4
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"type": "text",
|
| 574 |
+
"text": "4 EXPERIMENTAL RESULTS ",
|
| 575 |
+
"text_level": 1,
|
| 576 |
+
"bbox": [
|
| 577 |
+
176,
|
| 578 |
+
554,
|
| 579 |
+
419,
|
| 580 |
+
570
|
| 581 |
+
],
|
| 582 |
+
"page_idx": 4
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"type": "text",
|
| 586 |
+
"text": "In this section, we first evaluate AdvGAN for both semi-whitebox and black-box settings on MNIST (LeCun & Cortes, 1998) and CIFAR-10 (Krizhevsky et al., 2014). We also perform a semi-whitebox attack on the ImageNet dataset(Deng et al., 2009). We then apply AdvGAN to generate adversarial examples on different target models and test the attack success rate for them under the state-of-theart defenses and show that our method can achieve higher attack success rates compared to other existing attack strategies. We generate all adversarial examples for different attack methods based on the under $L _ { \\infty }$ bound of 0.3 on MNIST and 8 on CIFAR-10, for a fair comparison. ",
|
| 587 |
+
"bbox": [
|
| 588 |
+
173,
|
| 589 |
+
587,
|
| 590 |
+
825,
|
| 591 |
+
685
|
| 592 |
+
],
|
| 593 |
+
"page_idx": 4
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"type": "text",
|
| 597 |
+
"text": "In general, as shown in Table 1, AdvGAN has several advantages over other white-box and blackbox attacks. For instance, regarding computation efficiency, AdvGAN performs much faster than others even including the efficient FGSM, although AdvGAN needs extra training time to train the generator. All these strategies can perform targeted attack except transferability based attack, although the ensemble strategy can help to improve. Besides, FGSM and optimization methods can only perform white-box attack, while AdvGAN is able to attack in semi-whitebox setting. ",
|
| 598 |
+
"bbox": [
|
| 599 |
+
173,
|
| 600 |
+
691,
|
| 601 |
+
825,
|
| 602 |
+
775
|
| 603 |
+
],
|
| 604 |
+
"page_idx": 4
|
| 605 |
+
},
|
| 606 |
+
{
|
| 607 |
+
"type": "text",
|
| 608 |
+
"text": "Implementation Details Our code and models will be available upon publication. We adopt a similar architecture from image-to-image translation literature (Isola et al., 2017; Zhu et al., 2017). In particular, we use the architecture of generator $\\mathcal { G }$ from Johnson et al. (2016), and our discriminator $\\mathcal { D }$ ’s architecture is similar to model C for MNIST and ResNet-32 for CIFAR-10. We apply the loss in Carlini & Wagner (2017c) as our loss $\\begin{array} { r } { \\mathcal { L } _ { a d v } ^ { f } = \\operatorname* { m a x } ( \\operatorname* { m a x } _ { i \\neq t } f ( x _ { A } ) _ { i } - f ( x _ { A } ) _ { t } , \\kappa ) } \\end{array}$ , where $t$ is the represents the target network in the semi-whitebox setting and the distilled model in the black-box setting. We set the confidence $\\kappa = 0$ for both Opt. and AdvGAN. We use Adam as our solver (Kingma & Ba, 2014), with a batch size of 128 and a learning rate of 0.001. For GANs training, we use the least squares objective proposed by LSGAN (Mao et al., 2016), as it has been shown to produce better results with more stable training. ",
|
| 609 |
+
"bbox": [
|
| 610 |
+
173,
|
| 611 |
+
781,
|
| 612 |
+
825,
|
| 613 |
+
924
|
| 614 |
+
],
|
| 615 |
+
"page_idx": 4
|
| 616 |
+
},
|
| 617 |
+
{
|
| 618 |
+
"type": "table",
|
| 619 |
+
"img_path": "images/05aae1264e475df90a3c9ea69f276a41844806e036fe5a9bed8715fe195bd177.jpg",
|
| 620 |
+
"table_caption": [
|
| 621 |
+
"Table 2: Accuracy of different models on pristine data, and the attack success rate of adversarial examples generated against different models by AdvGAN on MNIST and CIFAR-10. p: pristine test data; w: semi-whitebox attack; b-D: black-box attack with dynamic distillation strategy; b-S: black-box attack with static distillation strategy. "
|
| 622 |
+
],
|
| 623 |
+
"table_footnote": [],
|
| 624 |
+
"table_body": "<table><tr><td>Model</td><td>MNIST A B</td><td>C</td><td>ResNet-32</td><td>CIFAR-10 Wide ResNet-34</td></tr><tr><td>Accuracy (p)</td><td>98.97% 99.17%</td><td>99.09%</td><td>92.41%</td><td>95.01%</td></tr><tr><td>Attack Success Rate (w)</td><td>97.9% 97.1%</td><td>98.3%</td><td>94.71%</td><td>99.30%</td></tr><tr><td>Attack Success Rate (b-D)</td><td>93.4% 90.1%</td><td>94.02%</td><td>78.47 %</td><td>81.81%</td></tr><tr><td>Attack Success Rate (b-S)</td><td>30.7% 66.63%</td><td>87.3%</td><td>10.3%</td><td>13.3%</td></tr></table>",
|
| 625 |
+
"bbox": [
|
| 626 |
+
210,
|
| 627 |
+
169,
|
| 628 |
+
784,
|
| 629 |
+
262
|
| 630 |
+
],
|
| 631 |
+
"page_idx": 5
|
| 632 |
+
},
|
| 633 |
+
{
|
| 634 |
+
"type": "text",
|
| 635 |
+
"text": "Models Used in the Experiments For MNIST, in all of our experiments, we generate adversarial examples for three models whose architectures are shown in Appendix A. Models A and B are used in Tramèr et al. (2017b), which represent different architectures. Model C is the target network architecture used in (Carlini & Wagner, 2017a) for evaluating optimization based strategy. For CIFAR-10, we select ResNet-32 and Wide ResNet-34 (He et al., 2016; Zagoruyko & Komodakis, 2016) for our experiments. Specifically, we use a 32-layer ResNet implemented in TensorFlow3 and Wide ResNet derived from the variant of “w32-10 wide.”4 We show the classification accuracy of pristine MNIST and CIFAR-10 test data (p) and attack success rate of adversarial examples generated by AdvGAN on different models in Table 2. ",
|
| 636 |
+
"bbox": [
|
| 637 |
+
173,
|
| 638 |
+
295,
|
| 639 |
+
825,
|
| 640 |
+
420
|
| 641 |
+
],
|
| 642 |
+
"page_idx": 5
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"type": "text",
|
| 646 |
+
"text": "4.1 ADVGAN IN SEMI-WHITEBOX SETTING ",
|
| 647 |
+
"text_level": 1,
|
| 648 |
+
"bbox": [
|
| 649 |
+
176,
|
| 650 |
+
445,
|
| 651 |
+
488,
|
| 652 |
+
460
|
| 653 |
+
],
|
| 654 |
+
"page_idx": 5
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"type": "text",
|
| 658 |
+
"text": "First, we apply different architectures for the target model $f$ as listed in Appendix A for MNIST and with ResNet and Wide ResNet for CIFAR-10. We first apply AdvGAN to perform semi-whitebox attack against each model on MNIST dataset. From the performance of semi-whitebox attack (Attack Rate (w)) in Table 2, we can see that AdvGAN is able to generate adversarial instances to attack all models with high attack success rate. ",
|
| 659 |
+
"bbox": [
|
| 660 |
+
174,
|
| 661 |
+
474,
|
| 662 |
+
825,
|
| 663 |
+
545
|
| 664 |
+
],
|
| 665 |
+
"page_idx": 5
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"type": "text",
|
| 669 |
+
"text": "We also generate adversarial examples from the same original instance $x$ , targeting other different classes, as shown in Figures 2. In the semi-whitebox setting on MNIST (a)-(c), we can see that the generated adversarial examples for different models appear close to the ground truth/pristine images (lying on the diagonal of the matrix). Figure 2 (d)-(f) show the generated adversarial examples on MNIST in black-box setting. These adversarial examples generated by AdvGAN can successfully fool the black-box model and be misclassified as the target class shown on the top. The original images are shown on the diagonal. We also generate adversarial examples based on random original images, and results are shown in Appendix C. ",
|
| 670 |
+
"bbox": [
|
| 671 |
+
173,
|
| 672 |
+
551,
|
| 673 |
+
825,
|
| 674 |
+
662
|
| 675 |
+
],
|
| 676 |
+
"page_idx": 5
|
| 677 |
+
},
|
| 678 |
+
{
|
| 679 |
+
"type": "text",
|
| 680 |
+
"text": "In addition, we analyze the attack success rate based on different loss functions on MNIST. Under the same bounded perturbations (0.3), if we replace the full loss function in (4) with $\\mathcal { L } = | | \\mathcal { G } ( \\boldsymbol { x } ) | | _ { 2 } +$ $\\mathcal { L } _ { \\mathrm { a d v } } ^ { f }$ , which is similar to the objective used in Baluja & Fischer (2017), the attack success rate becomes $8 6 . 2 \\%$ . If we replace the loss function with $\\begin{array} { r } { \\mathcal { L } = \\mathcal { L } _ { \\mathrm { h i n g e } } + \\mathcal { L } _ { \\mathrm { a d v } } ^ { f } } \\end{array}$ , the attack success rate is $9 1 . 1 \\%$ , compared to that of AdvGAN, $9 8 . 3 \\%$ . ",
|
| 681 |
+
"bbox": [
|
| 682 |
+
174,
|
| 683 |
+
670,
|
| 684 |
+
825,
|
| 685 |
+
746
|
| 686 |
+
],
|
| 687 |
+
"page_idx": 5
|
| 688 |
+
},
|
| 689 |
+
{
|
| 690 |
+
"type": "text",
|
| 691 |
+
"text": "Similarly, on CIFAR-10, we apply the same semi-whitebox attack for ResNet and Wide ResNet based on AdvGAN, and Figure 3(a) shows some adversarial examples, which are perceptually realistic. We show adversarial examples for the same original instance targeting different other classes. It is clear that with different targets, the adversarial examples keep similar visual quality compared to the pristine instances on the diagonal. ",
|
| 692 |
+
"bbox": [
|
| 693 |
+
174,
|
| 694 |
+
752,
|
| 695 |
+
825,
|
| 696 |
+
823
|
| 697 |
+
],
|
| 698 |
+
"page_idx": 5
|
| 699 |
+
},
|
| 700 |
+
{
|
| 701 |
+
"type": "text",
|
| 702 |
+
"text": "We also apply AdvGAN to generate adversarial examples on the ImageNet as shown in Figure 4 with $L _ { \\infty }$ bound as 8. The added perturbation is unnoticeable while all the adversarial instances are misclassified into other target classes with high confidence. ",
|
| 703 |
+
"bbox": [
|
| 704 |
+
176,
|
| 705 |
+
829,
|
| 706 |
+
823,
|
| 707 |
+
872
|
| 708 |
+
],
|
| 709 |
+
"page_idx": 5
|
| 710 |
+
},
|
| 711 |
+
{
|
| 712 |
+
"type": "image",
|
| 713 |
+
"img_path": "images/682afc908e1ede58b1cf160920b1c8236d341ba7e9d24b4538484ada1a44cea0.jpg",
|
| 714 |
+
"image_caption": [
|
| 715 |
+
"Figure 2: Adversarial examples generated from the same original image to different targets by AdvGAN on MNIST with semi-whitebox attack, (a), (b), and (c), and black-box attack, (c), (d), and (e). On the diagonal, the original images are shown. "
|
| 716 |
+
],
|
| 717 |
+
"image_footnote": [],
|
| 718 |
+
"bbox": [
|
| 719 |
+
183,
|
| 720 |
+
98,
|
| 721 |
+
815,
|
| 722 |
+
489
|
| 723 |
+
],
|
| 724 |
+
"page_idx": 6
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "text",
|
| 728 |
+
"text": "4.2 ADVGAN IN BLACK-BOX SETTING ",
|
| 729 |
+
"text_level": 1,
|
| 730 |
+
"bbox": [
|
| 731 |
+
178,
|
| 732 |
+
575,
|
| 733 |
+
459,
|
| 734 |
+
589
|
| 735 |
+
],
|
| 736 |
+
"page_idx": 6
|
| 737 |
+
},
|
| 738 |
+
{
|
| 739 |
+
"type": "text",
|
| 740 |
+
"text": "In this section, we evaluate the performance of AdvGAN for the black-box attack. Our black-box attack here is based on the dynamic distillation strategy. We construct a local model to distill model $f$ , and we select the architecture of Model C as our local model. Note that we randomly select a subset of instances disjoint from the training data of AdvGAN to train the local model; that is, we assume the adversaries do not have any prior knowledge of the training data or the model itself. With the dynamic distillation strategy, the adversarial examples generated by AdvGAN achieve an attack success rate, above $9 0 \\%$ for MNIST and $8 0 \\%$ for CIFAR-10, compared to $3 0 \\%$ and $1 0 \\%$ with the static distillation approach, as shown in Table 2. ",
|
| 741 |
+
"bbox": [
|
| 742 |
+
174,
|
| 743 |
+
602,
|
| 744 |
+
825,
|
| 745 |
+
713
|
| 746 |
+
],
|
| 747 |
+
"page_idx": 6
|
| 748 |
+
},
|
| 749 |
+
{
|
| 750 |
+
"type": "text",
|
| 751 |
+
"text": "We apply AdvGAN to generate adversarial examples for the same instance targeting different classes on MNIST and randomly select some instances to show in Figure 2 (d)-(f). By comparing with the pristine instances on the diagonal, we can see that these adversarial instances can achieve high perceptual quality as the original digits. Specifically, the original digit is somewhat highlighted by adversarial perturbations, which implies a type of perceptually realistic manipulation. Figure 3 (b) shows similar results for adversarial examples generated on CIFAR-10. These adversarial instances appear photo-realistic compared with the original ones on the diagonal. We show additional results in Appendix C. ",
|
| 752 |
+
"bbox": [
|
| 753 |
+
174,
|
| 754 |
+
720,
|
| 755 |
+
825,
|
| 756 |
+
832
|
| 757 |
+
],
|
| 758 |
+
"page_idx": 6
|
| 759 |
+
},
|
| 760 |
+
{
|
| 761 |
+
"type": "text",
|
| 762 |
+
"text": "4.3 ATTACK EFFECTIVENESS UNDER DEFENSES ",
|
| 763 |
+
"text_level": 1,
|
| 764 |
+
"bbox": [
|
| 765 |
+
178,
|
| 766 |
+
853,
|
| 767 |
+
519,
|
| 768 |
+
867
|
| 769 |
+
],
|
| 770 |
+
"page_idx": 6
|
| 771 |
+
},
|
| 772 |
+
{
|
| 773 |
+
"type": "text",
|
| 774 |
+
"text": "Facing different types of attack strategies, various defenses have been provided. Among them, different types of adversarial training methods are the most effective. Goodfellow et al. (2015) first propose adversarial training as an effective way to improve the robustness of DNNs, and Tramèr et al. (2017a) extend it to ensemble adversarial learning. M ˛adry et al. (2017a) have also proposed robust networks against adversarial examples based on well-defined adversaries. Given the fact that AdvGAN strives to generate adversarial instances from the underlying true data distribution, it can essentially produce more photo-realistic adversarial perturbations compared with other attack strategies. Thus, AdvGAN could have a higher chance to produce adversarial examples that are resilient under different defense methods. In this section, we quantitatively evaluate this property for AdvGAN compared with other attack strategies. ",
|
| 775 |
+
"bbox": [
|
| 776 |
+
174,
|
| 777 |
+
882,
|
| 778 |
+
823,
|
| 779 |
+
924
|
| 780 |
+
],
|
| 781 |
+
"page_idx": 6
|
| 782 |
+
},
|
| 783 |
+
{
|
| 784 |
+
"type": "image",
|
| 785 |
+
"img_path": "images/4ed73940ec085e1c29093ce0e17afda0492ab15f317029fccb34c22d69c061ae.jpg",
|
| 786 |
+
"image_caption": [
|
| 787 |
+
"Figure 3: Adversarial examples generated by AdvGAN on CIFAR-10 for (a) semi-whitebox attack and (b) black-box attack. Image from each class is perturbed to other different classes. On the diagonal, the original images are shown. The corresponding perturbations (amplified by $1 0 \\times$ ) are shown in (c) and (d). "
|
| 788 |
+
],
|
| 789 |
+
"image_footnote": [],
|
| 790 |
+
"bbox": [
|
| 791 |
+
178,
|
| 792 |
+
103,
|
| 793 |
+
823,
|
| 794 |
+
636
|
| 795 |
+
],
|
| 796 |
+
"page_idx": 7
|
| 797 |
+
},
|
| 798 |
+
{
|
| 799 |
+
"type": "text",
|
| 800 |
+
"text": "",
|
| 801 |
+
"bbox": [
|
| 802 |
+
173,
|
| 803 |
+
727,
|
| 804 |
+
825,
|
| 805 |
+
825
|
| 806 |
+
],
|
| 807 |
+
"page_idx": 7
|
| 808 |
+
},
|
| 809 |
+
{
|
| 810 |
+
"type": "text",
|
| 811 |
+
"text": "Threat Model As shown in the literature, most of the current defense strategies are not robust when attacking against them (Carlini & Wagner, 2017b; He et al., 2017). Here we consider a weaker threat model, where the adversary is not aware of the defenses and directly tries to attack the original learning model, which is also the first threat model analyzed in Carlini & Wagner (2017b). In this case, if an adversary can still successfully attack the model, it implies the robustness of the attack strategy. Under this setting, we first apply different attack methods to generate adversarial examples based on the original model without being aware of any defense. Then we apply different defenses to directly defend against these adversarial instances. ",
|
| 812 |
+
"bbox": [
|
| 813 |
+
174,
|
| 814 |
+
840,
|
| 815 |
+
825,
|
| 816 |
+
924
|
| 817 |
+
],
|
| 818 |
+
"page_idx": 7
|
| 819 |
+
},
|
| 820 |
+
{
|
| 821 |
+
"type": "image",
|
| 822 |
+
"img_path": "images/b8b9cc18178e63fab14c1b03eec87c7d7cb01efcaad9010d7e693bc9b3473c5f.jpg",
|
| 823 |
+
"image_caption": [
|
| 824 |
+
"Figure 4: Adversarial examples (a) generated by AdvGAN on ImageNet in the semi-whitebox setting, which are classified as (from left to right) poodle, ambulance, basketball, and electric guitar. Corresponding perturbations are visualized in (b). "
|
| 825 |
+
],
|
| 826 |
+
"image_footnote": [],
|
| 827 |
+
"bbox": [
|
| 828 |
+
178,
|
| 829 |
+
103,
|
| 830 |
+
818,
|
| 831 |
+
366
|
| 832 |
+
],
|
| 833 |
+
"page_idx": 8
|
| 834 |
+
},
|
| 835 |
+
{
|
| 836 |
+
"type": "text",
|
| 837 |
+
"text": "",
|
| 838 |
+
"bbox": [
|
| 839 |
+
173,
|
| 840 |
+
453,
|
| 841 |
+
823,
|
| 842 |
+
481
|
| 843 |
+
],
|
| 844 |
+
"page_idx": 8
|
| 845 |
+
},
|
| 846 |
+
{
|
| 847 |
+
"type": "text",
|
| 848 |
+
"text": "Semi-whitebox Attack First, we consider the semi-whitebox attack setting, where the adversary has white-box access to the model architecture as well as the parameters. Here, we replace $f$ in Figure 1 with our model A, B, and C, respectively. As a result, adversarial examples will be generated against different models. We use three adversarial training defenses to train different models for each model architecture: standard FGSM adversarial training (Adv.) (Goodfellow et al., 2015), ensemble adversarial training (Ensemble) (Tramèr et al., 2017b), and iterative training (Iter. Adv.) (M ˛adry et al., 2017a).5 We evaluate the effectiveness of these attacks against these defended models. In Table 3, we show that the attack success rate of adversarial examples generated by AdvGAN on different models is higher than those of the fast gradient sign method (FGSM) and optimization methods (Opt.) (Carlini & Wagner, 2017a). ",
|
| 849 |
+
"bbox": [
|
| 850 |
+
173,
|
| 851 |
+
502,
|
| 852 |
+
825,
|
| 853 |
+
641
|
| 854 |
+
],
|
| 855 |
+
"page_idx": 8
|
| 856 |
+
},
|
| 857 |
+
{
|
| 858 |
+
"type": "text",
|
| 859 |
+
"text": "Black-box Attack For AdvGAN, we use model B as the black-box model and train a distilled model to perform black-box attack against model B and report the attack success rate in Table 4. For the black-box attack comparison purpose, transferability based attack is applied for FGSM and optimization-based methods (Opt.). We use FGSM and optimization-based methods (Opt.) to attack model A on MNIST, and we use these adversarial examples to test on model B and report the corresponding classification accuracy. We can see that the adversarial examples generated by the black-box AdvGAN consistently achieve much higher attack success rate compared with other attack methods. For CIFAR-10, we use ResNet as black-box model and train a distilled model to perform black-box attack against ResNet. To evaluate black-box attack for optimization method and FGSM, we use adversarial examples generated by attacking Wide ResNet and test them on ResNet to report black-box attack results for these two methods. ",
|
| 860 |
+
"bbox": [
|
| 861 |
+
174,
|
| 862 |
+
648,
|
| 863 |
+
825,
|
| 864 |
+
801
|
| 865 |
+
],
|
| 866 |
+
"page_idx": 8
|
| 867 |
+
},
|
| 868 |
+
{
|
| 869 |
+
"type": "text",
|
| 870 |
+
"text": "In addition, we apply AdvGAN to the MNIST challenge (M ˛adry et al., 2017b). Among all the methods, for white-box attack we achieve $8 8 . 9 3 \\%$ accuracy on the published local model as shown in Table 5. For the reported black-box attack, we achieved the accuracy as $9 2 . 7 6 \\%$ , outperforming all other state-of-the-art attack strategies. ",
|
| 871 |
+
"bbox": [
|
| 872 |
+
174,
|
| 873 |
+
808,
|
| 874 |
+
825,
|
| 875 |
+
864
|
| 876 |
+
],
|
| 877 |
+
"page_idx": 8
|
| 878 |
+
},
|
| 879 |
+
{
|
| 880 |
+
"type": "table",
|
| 881 |
+
"img_path": "images/a81ce36ab9ad5aee695377d88ec856a94f149ca70da9a1c02575b1f5d6332422.jpg",
|
| 882 |
+
"table_caption": [
|
| 883 |
+
"Table 3: Attack success rate of adversarial examples generated by AdvGAN in semi-whitebox setting, and other white-box attacks under defenses on MNIST and CIFAR-10. "
|
| 884 |
+
],
|
| 885 |
+
"table_footnote": [],
|
| 886 |
+
"table_body": "<table><tr><td>Data</td><td>Model</td><td>Defense</td><td>FGSM</td><td>Opt.</td><td>AdvGAN</td></tr><tr><td rowspan=\"4\">MNIST</td><td>A</td><td>Adv. Ensemble</td><td>4.3% 1.6%</td><td>4.6% 4.2%</td><td>8.0% 6.3%</td></tr><tr><td>B</td><td>Iter.Adv. Adv. Ensemble</td><td>4.4% 6.0% 2.7%</td><td>2.96% 4.5%</td><td>5.6% 7.2%</td></tr><tr><td></td><td>Iter.Adv. Adv.</td><td>9.0% 2.7%</td><td>3.18% 3.0% 2.95%</td><td>5.8% 6.6%</td></tr><tr><td>C</td><td>Ensemble Iter.Adv.</td><td>1.6% 1.6%</td><td>2.2% 1.9%</td><td>18.7% 13.5% 12.6%</td></tr><tr><td rowspan=\"2\">CIFAR</td><td>ResNet</td><td>Adv. Ensemble. Iter.Adv</td><td>13.10% 10.00% 22.8%</td><td>11.9% 10.3% 21.4%</td><td>16.03% 14.32 % 29.47 %</td></tr><tr><td>WideResNet</td><td>Adv. Ensemble Iter.Adv.</td><td>5.04% 4.65% 14.9%</td><td>7.61% 8.43% 13.90%</td><td>14.26% 13.94 % 20.75%</td></tr></table>",
|
| 887 |
+
"bbox": [
|
| 888 |
+
251,
|
| 889 |
+
141,
|
| 890 |
+
745,
|
| 891 |
+
376
|
| 892 |
+
],
|
| 893 |
+
"page_idx": 9
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"type": "table",
|
| 897 |
+
"img_path": "images/ffaefcf80c6828ace5b541c7e98baeb4b45a5ceb719b4e64afc962a1c57ab234.jpg",
|
| 898 |
+
"table_caption": [
|
| 899 |
+
"Table 4: Attack success rate of adversarial examples generated by different black-box adversarial strategies under defenses on MNIST and CIFAR-10 "
|
| 900 |
+
],
|
| 901 |
+
"table_footnote": [],
|
| 902 |
+
"table_body": "<table><tr><td></td><td colspan=\"3\">MNIST</td><td colspan=\"3\">CIFAR-10</td></tr><tr><td>Defense</td><td>FGSM</td><td>Opt.</td><td>AdvGAN</td><td>FGSM</td><td>Opt.</td><td>AdvGAN</td></tr><tr><td>Adv.</td><td>3.1%</td><td>3.5%</td><td>11.5%</td><td>13.58%</td><td>10.8%</td><td>15.96%</td></tr><tr><td>Ensemble</td><td>2.5%</td><td>3.4%</td><td>10.3%</td><td>10.49%</td><td>9.6%</td><td>12.47 %</td></tr><tr><td>Iterative Adv.</td><td>2.4%</td><td>2.5%</td><td>12.2%</td><td>22.96%</td><td>21.70%</td><td>24.28%</td></tr></table>",
|
| 903 |
+
"bbox": [
|
| 904 |
+
230,
|
| 905 |
+
433,
|
| 906 |
+
766,
|
| 907 |
+
516
|
| 908 |
+
],
|
| 909 |
+
"page_idx": 9
|
| 910 |
+
},
|
| 911 |
+
{
|
| 912 |
+
"type": "table",
|
| 913 |
+
"img_path": "images/229aeb68910cece2ba896517d5f9fbbaf42daf5efbe1716582f1873057ab13e1.jpg",
|
| 914 |
+
"table_caption": [
|
| 915 |
+
"Table 5: Accuracy of the MadryLab public model under different attacks in white-box setting. The AdvGAN here achieved the best performance. "
|
| 916 |
+
],
|
| 917 |
+
"table_footnote": [],
|
| 918 |
+
"table_body": "<table><tr><td>Method</td><td>Accuracy (xent loss)</td><td>Accuracy (cw loss)</td></tr><tr><td>FGSM</td><td>95.23%</td><td>96.29%</td></tr><tr><td>PGD</td><td>93.66%</td><td>93.79%</td></tr><tr><td>Opt</td><td>1</td><td>91.69%</td></tr><tr><td>AdvGAN</td><td>1</td><td>88.93%</td></tr></table>",
|
| 919 |
+
"bbox": [
|
| 920 |
+
305,
|
| 921 |
+
571,
|
| 922 |
+
691,
|
| 923 |
+
656
|
| 924 |
+
],
|
| 925 |
+
"page_idx": 9
|
| 926 |
+
},
|
| 927 |
+
{
|
| 928 |
+
"type": "text",
|
| 929 |
+
"text": "4.4 ADVERSARIAL PERTURBATION ANALYSIS. ",
|
| 930 |
+
"text_level": 1,
|
| 931 |
+
"bbox": [
|
| 932 |
+
174,
|
| 933 |
+
685,
|
| 934 |
+
509,
|
| 935 |
+
699
|
| 936 |
+
],
|
| 937 |
+
"page_idx": 9
|
| 938 |
+
},
|
| 939 |
+
{
|
| 940 |
+
"type": "text",
|
| 941 |
+
"text": "To understand the adversarial perturbation pattern better, we plot out corresponding perturbations (amplified by a factor of 10) for CIFAR-10 in Figure 3 (c) and (d) and ImageNet in Figure 4 (b). From the visualization of perturbation, it shows that the perturbations do not resemble anything in particular about the original image or the target class. Although training AdvGAN exposes it to realistic instances, the perturbations it generates do not simply interpolate towards an example of the target class. ",
|
| 942 |
+
"bbox": [
|
| 943 |
+
173,
|
| 944 |
+
713,
|
| 945 |
+
825,
|
| 946 |
+
796
|
| 947 |
+
],
|
| 948 |
+
"page_idx": 9
|
| 949 |
+
},
|
| 950 |
+
{
|
| 951 |
+
"type": "text",
|
| 952 |
+
"text": "4.5 HIGH RESOLUTION ADVERSARIAL EXAMPLES ANALYSIS ",
|
| 953 |
+
"text_level": 1,
|
| 954 |
+
"bbox": [
|
| 955 |
+
174,
|
| 956 |
+
819,
|
| 957 |
+
612,
|
| 958 |
+
833
|
| 959 |
+
],
|
| 960 |
+
"page_idx": 9
|
| 961 |
+
},
|
| 962 |
+
{
|
| 963 |
+
"type": "text",
|
| 964 |
+
"text": "To evaluate AdvGAN’s ability to generate high resolution adversarial examples, we generate the high resolution adversarial examples for Inception_v3 and quantify their attack success rate and perceptual realism. ",
|
| 965 |
+
"bbox": [
|
| 966 |
+
174,
|
| 967 |
+
845,
|
| 968 |
+
825,
|
| 969 |
+
888
|
| 970 |
+
],
|
| 971 |
+
"page_idx": 9
|
| 972 |
+
},
|
| 973 |
+
{
|
| 974 |
+
"type": "text",
|
| 975 |
+
"text": "Experiment settings. In the following experiments, we select toy poodle as our target label for all images. We select 100 benign images from the DEV set of the NIPS 2017 targeted adversarial attack competition.6 This competition provided a dataset compatible with ImageNet. We generate adversarial examples $2 9 9 \\times 2 9 9$ pixels) under an $L _ { \\infty }$ perturbation bound of 0.01 (pixels values are in the range $\\in \\ [ 0 , 1 ] )$ for the Inception_v3 model, whose input size is $2 9 9 \\times 2 9 9$ . The details of architectures for generator and discriminator we used are listed in Appendix D. ",
|
| 976 |
+
"bbox": [
|
| 977 |
+
174,
|
| 978 |
+
895,
|
| 979 |
+
821,
|
| 980 |
+
924
|
| 981 |
+
],
|
| 982 |
+
"page_idx": 9
|
| 983 |
+
},
|
| 984 |
+
{
|
| 985 |
+
"type": "text",
|
| 986 |
+
"text": "",
|
| 987 |
+
"bbox": [
|
| 988 |
+
174,
|
| 989 |
+
103,
|
| 990 |
+
825,
|
| 991 |
+
160
|
| 992 |
+
],
|
| 993 |
+
"page_idx": 10
|
| 994 |
+
},
|
| 995 |
+
{
|
| 996 |
+
"type": "table",
|
| 997 |
+
"img_path": "images/37846b8fd635c424d6c64e6d649f2c986f968d7f8480533f8d4655e8f29f21e8.jpg",
|
| 998 |
+
"table_caption": [
|
| 999 |
+
"Table 6: Parameters of generated high resolution adversarial examples "
|
| 1000 |
+
],
|
| 1001 |
+
"table_footnote": [],
|
| 1002 |
+
"table_body": "<table><tr><td>Dateset</td><td>Model</td><td>Target Label</td><td>Resolution</td><td>Loo bound</td><td>Attack Success Rate</td></tr><tr><td>ImageNet</td><td>Inception_v3</td><td>toy poodle</td><td>299×299</td><td>0.01</td><td>100%</td></tr></table>",
|
| 1003 |
+
"bbox": [
|
| 1004 |
+
184,
|
| 1005 |
+
196,
|
| 1006 |
+
813,
|
| 1007 |
+
242
|
| 1008 |
+
],
|
| 1009 |
+
"page_idx": 10
|
| 1010 |
+
},
|
| 1011 |
+
{
|
| 1012 |
+
"type": "text",
|
| 1013 |
+
"text": "In Figure 8 in the appendix, we show the original images on the left with the correct label, and we show adversarial examples generated by AdvGAN on the right with the target label. ",
|
| 1014 |
+
"bbox": [
|
| 1015 |
+
171,
|
| 1016 |
+
256,
|
| 1017 |
+
823,
|
| 1018 |
+
284
|
| 1019 |
+
],
|
| 1020 |
+
"page_idx": 10
|
| 1021 |
+
},
|
| 1022 |
+
{
|
| 1023 |
+
"type": "text",
|
| 1024 |
+
"text": "Human Perceptual Study. We validate the realism of AdvGAN’s adversarial examples with a user study on Amazon Mechanical Turk (AMT). We use 100 pairs of original images and adversarial examples (generated as described above) and ask workers to choose which image of a pair is more visually realistic. ",
|
| 1025 |
+
"bbox": [
|
| 1026 |
+
174,
|
| 1027 |
+
297,
|
| 1028 |
+
825,
|
| 1029 |
+
354
|
| 1030 |
+
],
|
| 1031 |
+
"page_idx": 10
|
| 1032 |
+
},
|
| 1033 |
+
{
|
| 1034 |
+
"type": "text",
|
| 1035 |
+
"text": "Our study follows a protocol from Zhang et al. (2016) and Isola et al. (2017), where a worker is shown a pair of images for 2 seconds, then the worker has unlimited time to choose. We limit each worker to at most 20 of these tasks. We collected 500 choices, about 5 per pair of images, from 50 workers on AMT. ",
|
| 1036 |
+
"bbox": [
|
| 1037 |
+
174,
|
| 1038 |
+
361,
|
| 1039 |
+
825,
|
| 1040 |
+
416
|
| 1041 |
+
],
|
| 1042 |
+
"page_idx": 10
|
| 1043 |
+
},
|
| 1044 |
+
{
|
| 1045 |
+
"type": "text",
|
| 1046 |
+
"text": "The AdvGAN examples were chosen as more realistic than the original image in $4 9 . 4 \\% \\pm 1 . 9 6 \\%$ of the tasks (random guessing would result in about $5 0 \\%$ ). This result show that these high-resolution AdvGAN adversarial examples are about as realistic as benign images. ",
|
| 1047 |
+
"bbox": [
|
| 1048 |
+
174,
|
| 1049 |
+
424,
|
| 1050 |
+
825,
|
| 1051 |
+
465
|
| 1052 |
+
],
|
| 1053 |
+
"page_idx": 10
|
| 1054 |
+
},
|
| 1055 |
+
{
|
| 1056 |
+
"type": "text",
|
| 1057 |
+
"text": "5 CONCLUSION ",
|
| 1058 |
+
"text_level": 1,
|
| 1059 |
+
"bbox": [
|
| 1060 |
+
176,
|
| 1061 |
+
486,
|
| 1062 |
+
318,
|
| 1063 |
+
502
|
| 1064 |
+
],
|
| 1065 |
+
"page_idx": 10
|
| 1066 |
+
},
|
| 1067 |
+
{
|
| 1068 |
+
"type": "text",
|
| 1069 |
+
"text": "In this paper, we propose AdvGAN to generate adversarial examples using generative adversarial networks (GANs). In our AdvGAN framework, once trained, the feed-forward generator can produce adversarial perturbations efficiently. It can also perform both semi-whitebox and black-box attacks with high attack success rate. In addition, when we apply AdvGAN to generate adversarial instances on different models without knowledge of the defenses in place, the generated adversarial examples can attack the state-of-the-art defenses with higher attack success rate than examples generated by the competing methods. This property makes AdvGAN a promising candidate for improving adversarial training defense methods. The generated adversarial examples produced by AdvGAN preserve high perceptual quality due to GANs’ distribution approximation property. ",
|
| 1070 |
+
"bbox": [
|
| 1071 |
+
174,
|
| 1072 |
+
517,
|
| 1073 |
+
825,
|
| 1074 |
+
642
|
| 1075 |
+
],
|
| 1076 |
+
"page_idx": 10
|
| 1077 |
+
},
|
| 1078 |
+
{
|
| 1079 |
+
"type": "text",
|
| 1080 |
+
"text": "REFERENCES ",
|
| 1081 |
+
"text_level": 1,
|
| 1082 |
+
"bbox": [
|
| 1083 |
+
174,
|
| 1084 |
+
662,
|
| 1085 |
+
285,
|
| 1086 |
+
678
|
| 1087 |
+
],
|
| 1088 |
+
"page_idx": 10
|
| 1089 |
+
},
|
| 1090 |
+
{
|
| 1091 |
+
"type": "text",
|
| 1092 |
+
"text": "Shumeet Baluja and Ian Fischer. Adversarial transformation networks: Learning to generate adversarial examples. arXiv preprint arXiv:1703.09387, 2017. ",
|
| 1093 |
+
"bbox": [
|
| 1094 |
+
173,
|
| 1095 |
+
685,
|
| 1096 |
+
821,
|
| 1097 |
+
713
|
| 1098 |
+
],
|
| 1099 |
+
"page_idx": 10
|
| 1100 |
+
},
|
| 1101 |
+
{
|
| 1102 |
+
"type": "text",
|
| 1103 |
+
"text": "Peter L Bartlett and Marten H Wegkamp. Classification with a reject option using a hinge loss. JMLR, 9(Aug):1823–1840, 2008. ",
|
| 1104 |
+
"bbox": [
|
| 1105 |
+
173,
|
| 1106 |
+
720,
|
| 1107 |
+
820,
|
| 1108 |
+
751
|
| 1109 |
+
],
|
| 1110 |
+
"page_idx": 10
|
| 1111 |
+
},
|
| 1112 |
+
{
|
| 1113 |
+
"type": "text",
|
| 1114 |
+
"text": "David Berthelot, Tom Schumm, and Luke Metz. Began: Boundary equilibrium generative adversarial networks. arXiv preprint arXiv:1703.10717, 2017. ",
|
| 1115 |
+
"bbox": [
|
| 1116 |
+
173,
|
| 1117 |
+
757,
|
| 1118 |
+
820,
|
| 1119 |
+
787
|
| 1120 |
+
],
|
| 1121 |
+
"page_idx": 10
|
| 1122 |
+
},
|
| 1123 |
+
{
|
| 1124 |
+
"type": "text",
|
| 1125 |
+
"text": "Battista Biggio, Igino Corona, Davide Maiorca, Blaine Nelson, Nedim Šrndic, Pavel Laskov, Gior- ´ gio Giacinto, and Fabio Roli. Evasion attacks against machine learning at test time. In Joint European Conference on Machine Learning and Knowledge Discovery in Databases, pp. 387– 402. Springer, 2013. ",
|
| 1126 |
+
"bbox": [
|
| 1127 |
+
176,
|
| 1128 |
+
795,
|
| 1129 |
+
823,
|
| 1130 |
+
852
|
| 1131 |
+
],
|
| 1132 |
+
"page_idx": 10
|
| 1133 |
+
},
|
| 1134 |
+
{
|
| 1135 |
+
"type": "text",
|
| 1136 |
+
"text": "Nicholas Carlini and David Wagner. Towards evaluating the robustness of neural networks. In IEEE Symposium on Security and Privacy, 2017, 2017a. ",
|
| 1137 |
+
"bbox": [
|
| 1138 |
+
178,
|
| 1139 |
+
861,
|
| 1140 |
+
820,
|
| 1141 |
+
888
|
| 1142 |
+
],
|
| 1143 |
+
"page_idx": 10
|
| 1144 |
+
},
|
| 1145 |
+
{
|
| 1146 |
+
"type": "text",
|
| 1147 |
+
"text": "Nicholas Carlini and David Wagner. Adversarial examples are not easily detected: Bypassing ten detection methods. arXiv preprint arXiv:1705.07263, 2017b. ",
|
| 1148 |
+
"bbox": [
|
| 1149 |
+
171,
|
| 1150 |
+
103,
|
| 1151 |
+
823,
|
| 1152 |
+
132
|
| 1153 |
+
],
|
| 1154 |
+
"page_idx": 11
|
| 1155 |
+
},
|
| 1156 |
+
{
|
| 1157 |
+
"type": "text",
|
| 1158 |
+
"text": "Nicholas Carlini and David Wagner. Towards evaluating the robustness of neural networks. In Security and Privacy (SP), 2017 IEEE Symposium on, pp. 39–57. IEEE, 2017c. ",
|
| 1159 |
+
"bbox": [
|
| 1160 |
+
173,
|
| 1161 |
+
141,
|
| 1162 |
+
823,
|
| 1163 |
+
170
|
| 1164 |
+
],
|
| 1165 |
+
"page_idx": 11
|
| 1166 |
+
},
|
| 1167 |
+
{
|
| 1168 |
+
"type": "text",
|
| 1169 |
+
"text": "Dan Ciresan, Alessandro Giusti, Luca M Gambardella, and Jürgen Schmidhuber. Deep neural networks segment neuronal membranes in electron microscopy images. In NIPS, pp. 2843–2851, 2012. ",
|
| 1170 |
+
"bbox": [
|
| 1171 |
+
176,
|
| 1172 |
+
178,
|
| 1173 |
+
821,
|
| 1174 |
+
222
|
| 1175 |
+
],
|
| 1176 |
+
"page_idx": 11
|
| 1177 |
+
},
|
| 1178 |
+
{
|
| 1179 |
+
"type": "text",
|
| 1180 |
+
"text": "Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In CVPR, pp. 248–255. IEEE, 2009. ",
|
| 1181 |
+
"bbox": [
|
| 1182 |
+
171,
|
| 1183 |
+
229,
|
| 1184 |
+
823,
|
| 1185 |
+
258
|
| 1186 |
+
],
|
| 1187 |
+
"page_idx": 11
|
| 1188 |
+
},
|
| 1189 |
+
{
|
| 1190 |
+
"type": "text",
|
| 1191 |
+
"text": "Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In NIPS, pp. 2672–2680, 2014. ",
|
| 1192 |
+
"bbox": [
|
| 1193 |
+
174,
|
| 1194 |
+
267,
|
| 1195 |
+
823,
|
| 1196 |
+
310
|
| 1197 |
+
],
|
| 1198 |
+
"page_idx": 11
|
| 1199 |
+
},
|
| 1200 |
+
{
|
| 1201 |
+
"type": "text",
|
| 1202 |
+
"text": "Ian Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. In ICLR, 2015. ",
|
| 1203 |
+
"bbox": [
|
| 1204 |
+
171,
|
| 1205 |
+
318,
|
| 1206 |
+
825,
|
| 1207 |
+
348
|
| 1208 |
+
],
|
| 1209 |
+
"page_idx": 11
|
| 1210 |
+
},
|
| 1211 |
+
{
|
| 1212 |
+
"type": "text",
|
| 1213 |
+
"text": "Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron Courville. Improved training of wasserstein gans. In NIPS, 2017. ",
|
| 1214 |
+
"bbox": [
|
| 1215 |
+
174,
|
| 1216 |
+
356,
|
| 1217 |
+
820,
|
| 1218 |
+
386
|
| 1219 |
+
],
|
| 1220 |
+
"page_idx": 11
|
| 1221 |
+
},
|
| 1222 |
+
{
|
| 1223 |
+
"type": "text",
|
| 1224 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, pp. 770–778, 2016. ",
|
| 1225 |
+
"bbox": [
|
| 1226 |
+
173,
|
| 1227 |
+
393,
|
| 1228 |
+
821,
|
| 1229 |
+
422
|
| 1230 |
+
],
|
| 1231 |
+
"page_idx": 11
|
| 1232 |
+
},
|
| 1233 |
+
{
|
| 1234 |
+
"type": "text",
|
| 1235 |
+
"text": "Warren He, James Wei, Xinyun Chen, Nicholas Carlini, and Dawn Song. Adversarial example defenses: Ensembles of weak defenses are not strong. arXiv preprint arXiv:1706.04701, 2017. ",
|
| 1236 |
+
"bbox": [
|
| 1237 |
+
173,
|
| 1238 |
+
430,
|
| 1239 |
+
820,
|
| 1240 |
+
460
|
| 1241 |
+
],
|
| 1242 |
+
"page_idx": 11
|
| 1243 |
+
},
|
| 1244 |
+
{
|
| 1245 |
+
"type": "text",
|
| 1246 |
+
"text": "Geoffrey Hinton, Li Deng, Dong Yu, George E Dahl, Abdel-rahman Mohamed, Navdeep Jaitly, Andrew Senior, Vincent Vanhoucke, Patrick Nguyen, Tara N Sainath, et al. Deep neural networks for acoustic modeling in speech recognition: The shared views of four research groups. IEEE Signal Processing Magazine, 29(6):82–97, 2012. ",
|
| 1247 |
+
"bbox": [
|
| 1248 |
+
173,
|
| 1249 |
+
468,
|
| 1250 |
+
825,
|
| 1251 |
+
525
|
| 1252 |
+
],
|
| 1253 |
+
"page_idx": 11
|
| 1254 |
+
},
|
| 1255 |
+
{
|
| 1256 |
+
"type": "text",
|
| 1257 |
+
"text": "Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015. ",
|
| 1258 |
+
"bbox": [
|
| 1259 |
+
174,
|
| 1260 |
+
534,
|
| 1261 |
+
821,
|
| 1262 |
+
563
|
| 1263 |
+
],
|
| 1264 |
+
"page_idx": 11
|
| 1265 |
+
},
|
| 1266 |
+
{
|
| 1267 |
+
"type": "text",
|
| 1268 |
+
"text": "Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A Efros. Image-to-image translation with conditional adversarial networks. CVPR, 2017. ",
|
| 1269 |
+
"bbox": [
|
| 1270 |
+
173,
|
| 1271 |
+
570,
|
| 1272 |
+
823,
|
| 1273 |
+
601
|
| 1274 |
+
],
|
| 1275 |
+
"page_idx": 11
|
| 1276 |
+
},
|
| 1277 |
+
{
|
| 1278 |
+
"type": "text",
|
| 1279 |
+
"text": "Justin Johnson, Alexandre Alahi, and Li Fei-Fei. Perceptual losses for real-time style transfer and super-resolution. In ECCV, pp. 694–711. Springer, 2016. ",
|
| 1280 |
+
"bbox": [
|
| 1281 |
+
173,
|
| 1282 |
+
608,
|
| 1283 |
+
823,
|
| 1284 |
+
638
|
| 1285 |
+
],
|
| 1286 |
+
"page_idx": 11
|
| 1287 |
+
},
|
| 1288 |
+
{
|
| 1289 |
+
"type": "text",
|
| 1290 |
+
"text": "Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. ",
|
| 1291 |
+
"bbox": [
|
| 1292 |
+
174,
|
| 1293 |
+
646,
|
| 1294 |
+
823,
|
| 1295 |
+
675
|
| 1296 |
+
],
|
| 1297 |
+
"page_idx": 11
|
| 1298 |
+
},
|
| 1299 |
+
{
|
| 1300 |
+
"type": "text",
|
| 1301 |
+
"text": "Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. ImageNet classification with deep convolutional neural networks. In NIPS, pp. 1097–1105, 2012. ",
|
| 1302 |
+
"bbox": [
|
| 1303 |
+
173,
|
| 1304 |
+
683,
|
| 1305 |
+
823,
|
| 1306 |
+
713
|
| 1307 |
+
],
|
| 1308 |
+
"page_idx": 11
|
| 1309 |
+
},
|
| 1310 |
+
{
|
| 1311 |
+
"type": "text",
|
| 1312 |
+
"text": "Alex Krizhevsky, Vinod Nair, and Geoffrey Hinton. The cifar-10 dataset. online: http://www. cs. toronto. edu/kriz/cifar. html, 2014. ",
|
| 1313 |
+
"bbox": [
|
| 1314 |
+
173,
|
| 1315 |
+
720,
|
| 1316 |
+
821,
|
| 1317 |
+
751
|
| 1318 |
+
],
|
| 1319 |
+
"page_idx": 11
|
| 1320 |
+
},
|
| 1321 |
+
{
|
| 1322 |
+
"type": "text",
|
| 1323 |
+
"text": "Alexey Kurakin, Ian Goodfellow, and Samy Bengio. Adversarial examples in the physical world. arXiv preprint arXiv:1607.02533, 2016. ",
|
| 1324 |
+
"bbox": [
|
| 1325 |
+
173,
|
| 1326 |
+
758,
|
| 1327 |
+
821,
|
| 1328 |
+
787
|
| 1329 |
+
],
|
| 1330 |
+
"page_idx": 11
|
| 1331 |
+
},
|
| 1332 |
+
{
|
| 1333 |
+
"type": "text",
|
| 1334 |
+
"text": "Yann LeCun and Corrina Cortes. The MNIST database of handwritten digits. 1998. ",
|
| 1335 |
+
"bbox": [
|
| 1336 |
+
174,
|
| 1337 |
+
796,
|
| 1338 |
+
725,
|
| 1339 |
+
813
|
| 1340 |
+
],
|
| 1341 |
+
"page_idx": 11
|
| 1342 |
+
},
|
| 1343 |
+
{
|
| 1344 |
+
"type": "text",
|
| 1345 |
+
"text": "Sergey Levine, Chelsea Finn, Trevor Darrell, and Pieter Abbeel. End-to-end training of deep visuo motor policies. JMLR, 17(39):1–40, 2016. ",
|
| 1346 |
+
"bbox": [
|
| 1347 |
+
173,
|
| 1348 |
+
820,
|
| 1349 |
+
818,
|
| 1350 |
+
849
|
| 1351 |
+
],
|
| 1352 |
+
"page_idx": 11
|
| 1353 |
+
},
|
| 1354 |
+
{
|
| 1355 |
+
"type": "text",
|
| 1356 |
+
"text": "Yanpei Liu, Xinyun Chen, Chang Liu, and Dawn Song. Delving into transferable adversarial examples and black-box attacks. In ICLR, 2017. ",
|
| 1357 |
+
"bbox": [
|
| 1358 |
+
176,
|
| 1359 |
+
857,
|
| 1360 |
+
820,
|
| 1361 |
+
887
|
| 1362 |
+
],
|
| 1363 |
+
"page_idx": 11
|
| 1364 |
+
},
|
| 1365 |
+
{
|
| 1366 |
+
"type": "text",
|
| 1367 |
+
"text": "Xudong Mao, Qing Li, Haoran Xie, Raymond YK Lau, Zhen Wang, and Stephen Paul Smolley. Least squares generative adversarial networks. arXiv preprint ArXiv:1611.04076, 2016. ",
|
| 1368 |
+
"bbox": [
|
| 1369 |
+
176,
|
| 1370 |
+
895,
|
| 1371 |
+
820,
|
| 1372 |
+
924
|
| 1373 |
+
],
|
| 1374 |
+
"page_idx": 11
|
| 1375 |
+
},
|
| 1376 |
+
{
|
| 1377 |
+
"type": "text",
|
| 1378 |
+
"text": "Seyed-Mohsen Moosavi-Dezfooli, Alhussein Fawzi, and Pascal Frossard. Deepfool: a simple and accurate method to fool deep neural networks. arXiv preprint arXiv:1511.04599, 2015. ",
|
| 1379 |
+
"bbox": [
|
| 1380 |
+
171,
|
| 1381 |
+
103,
|
| 1382 |
+
825,
|
| 1383 |
+
132
|
| 1384 |
+
],
|
| 1385 |
+
"page_idx": 12
|
| 1386 |
+
},
|
| 1387 |
+
{
|
| 1388 |
+
"type": "text",
|
| 1389 |
+
"text": "Aleksander M ˛adry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. arXiv:1706.06083 [cs, stat], June 2017a. ",
|
| 1390 |
+
"bbox": [
|
| 1391 |
+
176,
|
| 1392 |
+
140,
|
| 1393 |
+
821,
|
| 1394 |
+
184
|
| 1395 |
+
],
|
| 1396 |
+
"page_idx": 12
|
| 1397 |
+
},
|
| 1398 |
+
{
|
| 1399 |
+
"type": "text",
|
| 1400 |
+
"text": "Aleksander M ˛adry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu, 2017b. URL https://github.com/MadryLab/mnist_challenge. ",
|
| 1401 |
+
"bbox": [
|
| 1402 |
+
173,
|
| 1403 |
+
193,
|
| 1404 |
+
823,
|
| 1405 |
+
222
|
| 1406 |
+
],
|
| 1407 |
+
"page_idx": 12
|
| 1408 |
+
},
|
| 1409 |
+
{
|
| 1410 |
+
"type": "text",
|
| 1411 |
+
"text": "Nicolas Papernot, Patrick McDaniel, Somesh Jha, Matt Fredrikson, Z Berkay Celik, and Ananthram Swami. The limitations of deep learning in adversarial settings. In 2016 IEEE European Symposium on Security and Privacy (EuroS&P), pp. 372–387. IEEE, 2016. ",
|
| 1412 |
+
"bbox": [
|
| 1413 |
+
176,
|
| 1414 |
+
231,
|
| 1415 |
+
823,
|
| 1416 |
+
273
|
| 1417 |
+
],
|
| 1418 |
+
"page_idx": 12
|
| 1419 |
+
},
|
| 1420 |
+
{
|
| 1421 |
+
"type": "text",
|
| 1422 |
+
"text": "Nicolas Papernot, Patrick McDaniel, Ian Goodfellow, Somesh Jha, Z Berkay Celik, and Ananthram Swami. Practical black-box attacks against deep learning systems using adversarial examples. In Proceedings of the 2017 ACM Asia Conference on Computer and Communications Security, 2017. ",
|
| 1423 |
+
"bbox": [
|
| 1424 |
+
174,
|
| 1425 |
+
281,
|
| 1426 |
+
825,
|
| 1427 |
+
338
|
| 1428 |
+
],
|
| 1429 |
+
"page_idx": 12
|
| 1430 |
+
},
|
| 1431 |
+
{
|
| 1432 |
+
"type": "text",
|
| 1433 |
+
"text": "Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. arXiv preprint arXiv:1511.06434, 2015. ",
|
| 1434 |
+
"bbox": [
|
| 1435 |
+
174,
|
| 1436 |
+
347,
|
| 1437 |
+
823,
|
| 1438 |
+
376
|
| 1439 |
+
],
|
| 1440 |
+
"page_idx": 12
|
| 1441 |
+
},
|
| 1442 |
+
{
|
| 1443 |
+
"type": "text",
|
| 1444 |
+
"text": "Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. In ICLR, 2014. ",
|
| 1445 |
+
"bbox": [
|
| 1446 |
+
174,
|
| 1447 |
+
385,
|
| 1448 |
+
823,
|
| 1449 |
+
414
|
| 1450 |
+
],
|
| 1451 |
+
"page_idx": 12
|
| 1452 |
+
},
|
| 1453 |
+
{
|
| 1454 |
+
"type": "text",
|
| 1455 |
+
"text": "Florian Tramèr, Alexey Kurakin, Nicolas Papernot, Dan Boneh, and Patrick McDaniel. Ensemble adversarial training: Attacks and defenses. arXiv preprint arXiv:1705.07204, 2017a. ",
|
| 1456 |
+
"bbox": [
|
| 1457 |
+
174,
|
| 1458 |
+
422,
|
| 1459 |
+
823,
|
| 1460 |
+
452
|
| 1461 |
+
],
|
| 1462 |
+
"page_idx": 12
|
| 1463 |
+
},
|
| 1464 |
+
{
|
| 1465 |
+
"type": "text",
|
| 1466 |
+
"text": "Florian Tramèr, Nicolas Papernot, Ian Goodfellow, Dan Boneh, and Patrick McDaniel. The space of transferable adversarial examples. arXiv preprint arXiv:1704.03453, 2017b. ",
|
| 1467 |
+
"bbox": [
|
| 1468 |
+
173,
|
| 1469 |
+
460,
|
| 1470 |
+
821,
|
| 1471 |
+
489
|
| 1472 |
+
],
|
| 1473 |
+
"page_idx": 12
|
| 1474 |
+
},
|
| 1475 |
+
{
|
| 1476 |
+
"type": "text",
|
| 1477 |
+
"text": "Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. arXiv preprint arXiv:1605.07146, 2016. ",
|
| 1478 |
+
"bbox": [
|
| 1479 |
+
174,
|
| 1480 |
+
498,
|
| 1481 |
+
825,
|
| 1482 |
+
526
|
| 1483 |
+
],
|
| 1484 |
+
"page_idx": 12
|
| 1485 |
+
},
|
| 1486 |
+
{
|
| 1487 |
+
"type": "text",
|
| 1488 |
+
"text": "Richard Zhang, Phillip Isola, and Alexei A Efros. Colorful image colorization. In European Conference on Computer Vision, pp. 649–666. Springer, 2016. ",
|
| 1489 |
+
"bbox": [
|
| 1490 |
+
173,
|
| 1491 |
+
536,
|
| 1492 |
+
823,
|
| 1493 |
+
565
|
| 1494 |
+
],
|
| 1495 |
+
"page_idx": 12
|
| 1496 |
+
},
|
| 1497 |
+
{
|
| 1498 |
+
"type": "text",
|
| 1499 |
+
"text": "Jun-Yan Zhu, Philipp Krähenbühl, Eli Shechtman, and Alexei A Efros. Generative visual manipulation on the natural image manifold. In ECCV, pp. 597–613. Springer, 2016. ",
|
| 1500 |
+
"bbox": [
|
| 1501 |
+
173,
|
| 1502 |
+
574,
|
| 1503 |
+
823,
|
| 1504 |
+
603
|
| 1505 |
+
],
|
| 1506 |
+
"page_idx": 12
|
| 1507 |
+
},
|
| 1508 |
+
{
|
| 1509 |
+
"type": "text",
|
| 1510 |
+
"text": "Jun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A Efros. Unpaired image-to-image translation using cycle-consistent adversarial networks. ICCV, 2017. ",
|
| 1511 |
+
"bbox": [
|
| 1512 |
+
173,
|
| 1513 |
+
611,
|
| 1514 |
+
823,
|
| 1515 |
+
641
|
| 1516 |
+
],
|
| 1517 |
+
"page_idx": 12
|
| 1518 |
+
},
|
| 1519 |
+
{
|
| 1520 |
+
"type": "text",
|
| 1521 |
+
"text": "A ARCHITECTURE OF MODELS ",
|
| 1522 |
+
"text_level": 1,
|
| 1523 |
+
"bbox": [
|
| 1524 |
+
178,
|
| 1525 |
+
102,
|
| 1526 |
+
449,
|
| 1527 |
+
118
|
| 1528 |
+
],
|
| 1529 |
+
"page_idx": 13
|
| 1530 |
+
},
|
| 1531 |
+
{
|
| 1532 |
+
"type": "table",
|
| 1533 |
+
"img_path": "images/9f02610ba9ab6c092d475e01b96ed2d24617be86a93bc447a23f0ea1ab53805a.jpg",
|
| 1534 |
+
"table_caption": [
|
| 1535 |
+
"Table 7: Model architectures for the MNIST "
|
| 1536 |
+
],
|
| 1537 |
+
"table_footnote": [],
|
| 1538 |
+
"table_body": "<table><tr><td>A</td><td>B</td><td>C</td></tr><tr><td>Conv(64,5,5)+Relu</td><td>Conv(64,8,8)+Relu</td><td>Conv(32,3,3)+Relu</td></tr><tr><td>Conv(64,5,5)+Relu</td><td>Dropout(0.2)</td><td>Conv(32,3,3)+Relu</td></tr><tr><td>Dropout(0.25)</td><td>Conv(128,6,6)+Relu</td><td>MaxPooling(2,2)</td></tr><tr><td>FC(128)+Relu</td><td>Conv(128,5,5)+Relu</td><td>Conv(64,3,3)+Relu</td></tr><tr><td>Dropout(0.5)</td><td>Dropout(0.5)</td><td>Conv(64,3,3)+Relu</td></tr><tr><td>FC(10)+Softmax</td><td>FC(10)+Softma</td><td>MaxPooling(2,2) FC(200)+Relu</td></tr></table>",
|
| 1539 |
+
"bbox": [
|
| 1540 |
+
302,
|
| 1541 |
+
164,
|
| 1542 |
+
687,
|
| 1543 |
+
291
|
| 1544 |
+
],
|
| 1545 |
+
"page_idx": 13
|
| 1546 |
+
},
|
| 1547 |
+
{
|
| 1548 |
+
"type": "text",
|
| 1549 |
+
"text": "B NETWORK ARCHITECTURES ",
|
| 1550 |
+
"text_level": 1,
|
| 1551 |
+
"bbox": [
|
| 1552 |
+
176,
|
| 1553 |
+
321,
|
| 1554 |
+
444,
|
| 1555 |
+
338
|
| 1556 |
+
],
|
| 1557 |
+
"page_idx": 13
|
| 1558 |
+
},
|
| 1559 |
+
{
|
| 1560 |
+
"type": "text",
|
| 1561 |
+
"text": "Generator architecture We follow the naming rules used in Johnson et al. (2016)’s Github repository7 as well as Zhu et al. (2017) . Let $\\mathrm { c } 3 \\mathrm { s } 1 \\mathrm { - } \\mathrm { k }$ denotes $3 \\times 3$ Convolution-InstanceNorm-ReLU layer with $\\mathbf { k }$ filter and stride 1. Rk means residual block that contains two $3 \\times 3$ convolution layers with the same numbers of filters. dk denotes the $3 \\times 3$ Convolution-InstanceNorm-ReLU layer with $\\mathbf { k }$ filters and stride 2. uk denotes a $3 \\times 3$ fractional-strided-ConvolutionInstanceNorm-ReLU layer with $\\mathbf { k }$ filters, and stride $\\textstyle { \\frac { 1 } { 2 } }$ . . ",
|
| 1562 |
+
"bbox": [
|
| 1563 |
+
173,
|
| 1564 |
+
353,
|
| 1565 |
+
825,
|
| 1566 |
+
439
|
| 1567 |
+
],
|
| 1568 |
+
"page_idx": 13
|
| 1569 |
+
},
|
| 1570 |
+
{
|
| 1571 |
+
"type": "text",
|
| 1572 |
+
"text": "The generator structures consists of: $\\mathbf { \\Delta } _ { \\mathbf { C } } 3 \\mathbf { s } 1 - 8$ , d16, d32, $\\tt { r 3 2 }$ , $\\tt { r 3 2 }$ , r32, r32, u16, u8, c3s1-3 ",
|
| 1573 |
+
"bbox": [
|
| 1574 |
+
174,
|
| 1575 |
+
445,
|
| 1576 |
+
694,
|
| 1577 |
+
473
|
| 1578 |
+
],
|
| 1579 |
+
"page_idx": 13
|
| 1580 |
+
},
|
| 1581 |
+
{
|
| 1582 |
+
"type": "text",
|
| 1583 |
+
"text": "Discriminator architecture We use CNNs as our discriminator network (Radford et al., 2015). Let Ck denote a $4 \\times 4$ Convolution-InstanceNorm-LeakyReLU layer with k filters and stride 2. After the last conv layer, we apply a FC layer to produce a 1 dimensional output. We do not use InstanceNorm for the first C8 layer. We use leaky ReLUs with slope 0.2. ",
|
| 1584 |
+
"bbox": [
|
| 1585 |
+
174,
|
| 1586 |
+
479,
|
| 1587 |
+
825,
|
| 1588 |
+
536
|
| 1589 |
+
],
|
| 1590 |
+
"page_idx": 13
|
| 1591 |
+
},
|
| 1592 |
+
{
|
| 1593 |
+
"type": "text",
|
| 1594 |
+
"text": "The discriminator architecture is: C8, C16, C32, FC ",
|
| 1595 |
+
"bbox": [
|
| 1596 |
+
174,
|
| 1597 |
+
542,
|
| 1598 |
+
392,
|
| 1599 |
+
571
|
| 1600 |
+
],
|
| 1601 |
+
"page_idx": 13
|
| 1602 |
+
},
|
| 1603 |
+
{
|
| 1604 |
+
"type": "text",
|
| 1605 |
+
"text": "C ADDITIONAL ADVERSARIAL EXAMPLES ",
|
| 1606 |
+
"text_level": 1,
|
| 1607 |
+
"bbox": [
|
| 1608 |
+
174,
|
| 1609 |
+
592,
|
| 1610 |
+
544,
|
| 1611 |
+
608
|
| 1612 |
+
],
|
| 1613 |
+
"page_idx": 13
|
| 1614 |
+
},
|
| 1615 |
+
{
|
| 1616 |
+
"type": "image",
|
| 1617 |
+
"img_path": "images/3d6603f8f30a10bd160872a041fd3503c880598dbe2986db5e5b61e2ae7cd2b2.jpg",
|
| 1618 |
+
"image_caption": [
|
| 1619 |
+
"Figure 5: Adversarial examples generated by AdvGAN on MNIST against different models in the semi-whitebox setting. Here the adversarial examples are randomly sampled corresponding to different original images. "
|
| 1620 |
+
],
|
| 1621 |
+
"image_footnote": [],
|
| 1622 |
+
"bbox": [
|
| 1623 |
+
181,
|
| 1624 |
+
623,
|
| 1625 |
+
815,
|
| 1626 |
+
837
|
| 1627 |
+
],
|
| 1628 |
+
"page_idx": 13
|
| 1629 |
+
},
|
| 1630 |
+
{
|
| 1631 |
+
"type": "image",
|
| 1632 |
+
"img_path": "images/83cf82e9646715d4fc96e4169e9001270b630eccde2bc6b3d2b4caa276f39bd1.jpg",
|
| 1633 |
+
"image_caption": [
|
| 1634 |
+
"Figure 6: Adversarial examples generated by AdvGAN on MNIST against different models in the black-box setting. Here the adversarial examples are randomly sampled corresponding to different original images. "
|
| 1635 |
+
],
|
| 1636 |
+
"image_footnote": [],
|
| 1637 |
+
"bbox": [
|
| 1638 |
+
181,
|
| 1639 |
+
101,
|
| 1640 |
+
815,
|
| 1641 |
+
281
|
| 1642 |
+
],
|
| 1643 |
+
"page_idx": 14
|
| 1644 |
+
},
|
| 1645 |
+
{
|
| 1646 |
+
"type": "image",
|
| 1647 |
+
"img_path": "images/7db0ea2139df48b84ff791fe02289dfc63411c037ad9016c7dc98191287ad5fb.jpg",
|
| 1648 |
+
"image_caption": [
|
| 1649 |
+
"Figure 7: Adversarial examples generated by AdvGAN on CIFAR-10. Here the adversarial examples are randomly sampled corresponding to different original images. "
|
| 1650 |
+
],
|
| 1651 |
+
"image_footnote": [],
|
| 1652 |
+
"bbox": [
|
| 1653 |
+
204,
|
| 1654 |
+
353,
|
| 1655 |
+
794,
|
| 1656 |
+
598
|
| 1657 |
+
],
|
| 1658 |
+
"page_idx": 14
|
| 1659 |
+
},
|
| 1660 |
+
{
|
| 1661 |
+
"type": "table",
|
| 1662 |
+
"img_path": "images/56a047c178b40e6d8d351d20b2d66609411ca8b02636a82d77650d130d2bffd1.jpg",
|
| 1663 |
+
"table_caption": [
|
| 1664 |
+
"Table 8: Comparisons of perturbations generated by AdvGAN and the state-of-the-art algorithms on MNIST and CIFAR-10. We report the mean value of perturbation amount as “mean” and attack success rate as “prob.” "
|
| 1665 |
+
],
|
| 1666 |
+
"table_footnote": [],
|
| 1667 |
+
"table_body": "<table><tr><td rowspan=\"3\">Method</td><td colspan=\"6\">MNIST</td><td colspan=\"4\">CIFAR-10</td></tr><tr><td colspan=\"2\">A</td><td colspan=\"2\">B</td><td colspan=\"2\">C</td><td colspan=\"2\">ResNet-32</td><td colspan=\"2\">Wide ResNet-34</td></tr><tr><td>mean</td><td>prob</td><td>mean</td><td>prob</td><td>mean</td><td>prob</td><td>mean</td><td>prob</td><td>mean</td><td>prob</td></tr><tr><td>AdvGAN</td><td>0.149</td><td>98%</td><td>0.157</td><td>97%</td><td>0.144</td><td>98%</td><td>0.025</td><td>95%</td><td>0.024</td><td>99%</td></tr><tr><td>Cw</td><td>0.089</td><td>99%</td><td>0.100</td><td>99%</td><td>0.070</td><td>100%</td><td>0.023</td><td>100%</td><td>0.020</td><td>98%</td></tr><tr><td>FGSM</td><td>0.202</td><td>55%</td><td>0.193</td><td>49%</td><td>0.192</td><td>18%</td><td>0.0301</td><td>23%</td><td>0.031</td><td>26%</td></tr></table>",
|
| 1668 |
+
"bbox": [
|
| 1669 |
+
173,
|
| 1670 |
+
708,
|
| 1671 |
+
838,
|
| 1672 |
+
805
|
| 1673 |
+
],
|
| 1674 |
+
"page_idx": 14
|
| 1675 |
+
},
|
| 1676 |
+
{
|
| 1677 |
+
"type": "text",
|
| 1678 |
+
"text": "D HIGH RESOLUTION ADVERSARIAL EXAMPLES FOR AN IMAGENET-COMPATIBLE SET ",
|
| 1679 |
+
"text_level": 1,
|
| 1680 |
+
"bbox": [
|
| 1681 |
+
174,
|
| 1682 |
+
830,
|
| 1683 |
+
666,
|
| 1684 |
+
864
|
| 1685 |
+
],
|
| 1686 |
+
"page_idx": 14
|
| 1687 |
+
},
|
| 1688 |
+
{
|
| 1689 |
+
"type": "text",
|
| 1690 |
+
"text": "The structure of generator for ImageNet consists of: \nc7s1-8, d16, d32, d64, d64, d64, d64, r64, r64, r64, r64, u64, \nu64, u64, u64, u32, u16, u8, c7s1-3 ",
|
| 1691 |
+
"bbox": [
|
| 1692 |
+
174,
|
| 1693 |
+
882,
|
| 1694 |
+
779,
|
| 1695 |
+
924
|
| 1696 |
+
],
|
| 1697 |
+
"page_idx": 14
|
| 1698 |
+
},
|
| 1699 |
+
{
|
| 1700 |
+
"type": "text",
|
| 1701 |
+
"text": "The architecture of discriminator for ImageNet is: C8, C16, C32, FC ",
|
| 1702 |
+
"bbox": [
|
| 1703 |
+
173,
|
| 1704 |
+
103,
|
| 1705 |
+
503,
|
| 1706 |
+
132
|
| 1707 |
+
],
|
| 1708 |
+
"page_idx": 15
|
| 1709 |
+
},
|
| 1710 |
+
{
|
| 1711 |
+
"type": "image",
|
| 1712 |
+
"img_path": "images/9730668c51e1158dadda4590219f0f491bbbd60e3cc4294952b9291bb01bcaa0.jpg",
|
| 1713 |
+
"image_caption": [],
|
| 1714 |
+
"image_footnote": [],
|
| 1715 |
+
"bbox": [
|
| 1716 |
+
179,
|
| 1717 |
+
111,
|
| 1718 |
+
496,
|
| 1719 |
+
357
|
| 1720 |
+
],
|
| 1721 |
+
"page_idx": 16
|
| 1722 |
+
},
|
| 1723 |
+
{
|
| 1724 |
+
"type": "image",
|
| 1725 |
+
"img_path": "images/25b492d9080fb93b0b223db6e44aec1e9ecd53f13d3f9a71ba9f7fcd1998ac4f.jpg",
|
| 1726 |
+
"image_caption": [
|
| 1727 |
+
"(a) Benign image (labeled as dung beetle) "
|
| 1728 |
+
],
|
| 1729 |
+
"image_footnote": [],
|
| 1730 |
+
"bbox": [
|
| 1731 |
+
179,
|
| 1732 |
+
380,
|
| 1733 |
+
436,
|
| 1734 |
+
625
|
| 1735 |
+
],
|
| 1736 |
+
"page_idx": 16
|
| 1737 |
+
},
|
| 1738 |
+
{
|
| 1739 |
+
"type": "image",
|
| 1740 |
+
"img_path": "images/23d88a112b1223fecfb5fd2eb94392f68017091a4e7c9631858e8a5bd52ec39e.jpg",
|
| 1741 |
+
"image_caption": [
|
| 1742 |
+
"(c) Benign image (labeled as vase) ",
|
| 1743 |
+
"(e) Benign image (labeled as bottlecap) "
|
| 1744 |
+
],
|
| 1745 |
+
"image_footnote": [],
|
| 1746 |
+
"bbox": [
|
| 1747 |
+
179,
|
| 1748 |
+
643,
|
| 1749 |
+
496,
|
| 1750 |
+
890
|
| 1751 |
+
],
|
| 1752 |
+
"page_idx": 16
|
| 1753 |
+
},
|
| 1754 |
+
{
|
| 1755 |
+
"type": "image",
|
| 1756 |
+
"img_path": "images/a830a3d1f73ac0064b9f8e20b96ba7263591a779f3a70a8014b5beb10954573f.jpg",
|
| 1757 |
+
"image_caption": [],
|
| 1758 |
+
"image_footnote": [],
|
| 1759 |
+
"bbox": [
|
| 1760 |
+
500,
|
| 1761 |
+
111,
|
| 1762 |
+
818,
|
| 1763 |
+
357
|
| 1764 |
+
],
|
| 1765 |
+
"page_idx": 16
|
| 1766 |
+
},
|
| 1767 |
+
{
|
| 1768 |
+
"type": "image",
|
| 1769 |
+
"img_path": "images/bdaa26e2e524bf217f22362e92d77f074649cbd63e9e742d6786776de01d9641.jpg",
|
| 1770 |
+
"image_caption": [
|
| 1771 |
+
"(b) Adversarial image (labeled as toy poodle) "
|
| 1772 |
+
],
|
| 1773 |
+
"image_footnote": [],
|
| 1774 |
+
"bbox": [
|
| 1775 |
+
500,
|
| 1776 |
+
380,
|
| 1777 |
+
756,
|
| 1778 |
+
623
|
| 1779 |
+
],
|
| 1780 |
+
"page_idx": 16
|
| 1781 |
+
},
|
| 1782 |
+
{
|
| 1783 |
+
"type": "image",
|
| 1784 |
+
"img_path": "images/df73bfbea9a160a3e15af046424cabbd90c2ef43c112f54cf76aa831759163a1.jpg",
|
| 1785 |
+
"image_caption": [
|
| 1786 |
+
"(d) Adversarial image (labeled as toy poodle) ",
|
| 1787 |
+
"(f) Adversarial image (labeled as toy poodle) "
|
| 1788 |
+
],
|
| 1789 |
+
"image_footnote": [],
|
| 1790 |
+
"bbox": [
|
| 1791 |
+
500,
|
| 1792 |
+
645,
|
| 1793 |
+
818,
|
| 1794 |
+
890
|
| 1795 |
+
],
|
| 1796 |
+
"page_idx": 16
|
| 1797 |
+
},
|
| 1798 |
+
{
|
| 1799 |
+
"type": "image",
|
| 1800 |
+
"img_path": "images/e4040e1bd945975b1fb1b0396236238e0307e1ee64a1c146e47a79c43a7e851c.jpg",
|
| 1801 |
+
"image_caption": [],
|
| 1802 |
+
"image_footnote": [],
|
| 1803 |
+
"bbox": [
|
| 1804 |
+
179,
|
| 1805 |
+
112,
|
| 1806 |
+
498,
|
| 1807 |
+
357
|
| 1808 |
+
],
|
| 1809 |
+
"page_idx": 17
|
| 1810 |
+
},
|
| 1811 |
+
{
|
| 1812 |
+
"type": "image",
|
| 1813 |
+
"img_path": "images/85f72c189c85c3510417d4c0c8e68340f952613b6decc91ca3610644e34a8abb.jpg",
|
| 1814 |
+
"image_caption": [
|
| 1815 |
+
"(g) Benign image (labeled as folding chair) "
|
| 1816 |
+
],
|
| 1817 |
+
"image_footnote": [],
|
| 1818 |
+
"bbox": [
|
| 1819 |
+
179,
|
| 1820 |
+
378,
|
| 1821 |
+
498,
|
| 1822 |
+
625
|
| 1823 |
+
],
|
| 1824 |
+
"page_idx": 17
|
| 1825 |
+
},
|
| 1826 |
+
{
|
| 1827 |
+
"type": "image",
|
| 1828 |
+
"img_path": "images/155da9e4c49eafd0bf0d6a0e252d1064a6c2d71babb8f44c410bd725bdea2f29.jpg",
|
| 1829 |
+
"image_caption": [
|
| 1830 |
+
"(i) Benign image (labeled as yurt) ",
|
| 1831 |
+
"(k) Benign image (labeled as buckeye) "
|
| 1832 |
+
],
|
| 1833 |
+
"image_footnote": [],
|
| 1834 |
+
"bbox": [
|
| 1835 |
+
179,
|
| 1836 |
+
643,
|
| 1837 |
+
496,
|
| 1838 |
+
890
|
| 1839 |
+
],
|
| 1840 |
+
"page_idx": 17
|
| 1841 |
+
},
|
| 1842 |
+
{
|
| 1843 |
+
"type": "image",
|
| 1844 |
+
"img_path": "images/268f722d5667e7f6f26b6e2183dd439775b42309f58c3bcd9d7b5c48b88911ba.jpg",
|
| 1845 |
+
"image_caption": [],
|
| 1846 |
+
"image_footnote": [],
|
| 1847 |
+
"bbox": [
|
| 1848 |
+
500,
|
| 1849 |
+
112,
|
| 1850 |
+
816,
|
| 1851 |
+
357
|
| 1852 |
+
],
|
| 1853 |
+
"page_idx": 17
|
| 1854 |
+
},
|
| 1855 |
+
{
|
| 1856 |
+
"type": "image",
|
| 1857 |
+
"img_path": "images/3e542907348d217b0bfc04a996a47ea7c12df9e0b87749d6d4bdd01a2a6a21ab.jpg",
|
| 1858 |
+
"image_caption": [
|
| 1859 |
+
"(h) Adversarial image (labeled as toy poodle) "
|
| 1860 |
+
],
|
| 1861 |
+
"image_footnote": [],
|
| 1862 |
+
"bbox": [
|
| 1863 |
+
500,
|
| 1864 |
+
378,
|
| 1865 |
+
818,
|
| 1866 |
+
625
|
| 1867 |
+
],
|
| 1868 |
+
"page_idx": 17
|
| 1869 |
+
},
|
| 1870 |
+
{
|
| 1871 |
+
"type": "image",
|
| 1872 |
+
"img_path": "images/e661b5da4fcf41026d84f88d729ace61ece3e5352ae16dcc1ca74695244076ac.jpg",
|
| 1873 |
+
"image_caption": [
|
| 1874 |
+
"(j) Adversarial image (labeled as toy poodle) ",
|
| 1875 |
+
"(l) Adversarial image (labeled as toy poodle) "
|
| 1876 |
+
],
|
| 1877 |
+
"image_footnote": [],
|
| 1878 |
+
"bbox": [
|
| 1879 |
+
500,
|
| 1880 |
+
645,
|
| 1881 |
+
818,
|
| 1882 |
+
890
|
| 1883 |
+
],
|
| 1884 |
+
"page_idx": 17
|
| 1885 |
+
},
|
| 1886 |
+
{
|
| 1887 |
+
"type": "image",
|
| 1888 |
+
"img_path": "images/88b4ed4a959209e8d4d00935dc495b3a24290fedf63e1b9723792abbc8fbb5b3.jpg",
|
| 1889 |
+
"image_caption": [
|
| 1890 |
+
"Figure 8: Examples from an ImageNet-compatible set. Left: original image; right: adversaria image generated by AdvGAN against Inception_v3. "
|
| 1891 |
+
],
|
| 1892 |
+
"image_footnote": [],
|
| 1893 |
+
"bbox": [
|
| 1894 |
+
178,
|
| 1895 |
+
42,
|
| 1896 |
+
821,
|
| 1897 |
+
916
|
| 1898 |
+
],
|
| 1899 |
+
"page_idx": 18
|
| 1900 |
+
}
|
| 1901 |
+
]
|
parse/train/HknbyQbC-/HknbyQbC-_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HknbyQbC-/HknbyQbC-_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rkl6As0cF7/rkl6As0cF7_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rkl6As0cF7/rkl6As0cF7_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|