ZHANGYUXUAN-zR commited on
Commit
5066adb
·
verified ·
1 Parent(s): 1270834

Add files using upload-large-folder tool

Browse files
parse/train/B1Yy1BxCZ/B1Yy1BxCZ.md ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # DON’T DECAY THE LEARNING RATE, INCREASE THE BATCH SIZE
2
+
3
+ Samuel L. Smith∗, Pieter-Jan Kindermans∗, Chris Ying & Quoc V. Le Google Brain {slsmith, pikinder, chrisying, qvl}@google.com
4
+
5
+ # ABSTRACT
6
+
7
+ It is common practice to decay the learning rate. Here we show one can usually obtain the same learning curve on both training and test sets by instead increasing the batch size during training. This procedure is successful for stochastic gradient descent (SGD), SGD with momentum, Nesterov momentum, and Adam. It reaches equivalent test accuracies after the same number of training epochs, but with fewer parameter updates, leading to greater parallelism and shorter training times. We can further reduce the number of parameter updates by increasing the learning rate $\epsilon$ and scaling the batch size $B \propto \epsilon$ . Finally, one can increase the momentum coefficient $m$ and scale $B \propto 1 / ( 1 - m )$ , although this tends to slightly reduce the test accuracy. Crucially, our techniques allow us to repurpose existing training schedules for large batch training with no hyper-parameter tuning. We train ResNet-50 on ImageNet to $7 6 . 1 \%$ validation accuracy in under 30 minutes.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ Stochastic gradient descent (SGD) remains the dominant optimization algorithm of deep learning. However while SGD finds minima that generalize well (Zhang et al., 2016; Wilson et al., 2017), each parameter update only takes a small step towards the objective. Increasing interest has focused on large batch training (Goyal et al., 2017; Hoffer et al., 2017; You et al., 2017a), in an attempt to increase the step size and reduce the number of parameter updates required to train a model. Large batches can be parallelized across many machines, reducing training time. Unfortunately, when we increase the batch size the test set accuracy often falls (Keskar et al., 2016; Goyal et al., 2017).
12
+
13
+ To understand this surprising observation, Smith & Le (2017) argued one should interpret SGD as integrating a stochastic differential equation. They showed that the scale of random fluctuations in the SGD dynamics, $\begin{array} { r } { g = \epsilon ( \frac { N } { B } - 1 ) } \end{array}$ , where $\epsilon$ is the learning rate, $N$ training set size and $B$ batch size. Furthermore, they found that there is an optimum fluctuation scale $g$ which maximizes the test set accuracy (at constant learning rate), and this introduces an optimal batch size proportional to the learning rate when $B \ll N$ . Goyal et al. (2017) already observed this scaling rule empirically and exploited it to train ResNet-50 to $7 6 . 3 \%$ ImageNet validation accuracy in one hour. Here we show,
14
+
15
+ When one decays the learning rate, one simultaneously decays the scale of random fluctuations $g$ in the SGD dynamics. Decaying the learning rate is simulated annealing. We propose an alternative procedure; instead of decaying the learning rate, we increase the batch size during training. This strategy achieves near-identical model performance on the test set with the same number of training epochs but significantly fewer parameter updates. Our proposal does not require any fine-tuning as we follow pre-existing training schedules; when the learning rate drops by a factor of $\alpha$ , we instead increase the batch size by $\alpha$ . • As shown previously, we can further reduce the number of parameter updates by increasing the learning rate and scaling $B \propto \epsilon$ . One can also increase the momentum coefficient and scale $B \propto \mathrm { \bar { 1 } } / ( 1 - m )$ , although this slightly reduces the test accuracy. We train InceptionResNet-V2 on ImageNet in under 2500 parameter updates, using batches of 65536 images, and reach a validation set accuracy of $7 7 \%$ . We also replicate the setup of Goyal et al. (2017) on TPU and train ResNet-50 on ImageNet to $7 6 . 1 \%$ accuracy in under 30 minutes.
16
+
17
+ We note that a number of recent works have discussed increasing the batch size during training (Friedlander & Schmidt, 2012; Byrd et al., 2012; Balles et al., 2016; Bottou et al., 2016; De et al., 2017), but to our knowledge no paper has shown empirically that increasing the batch size and decaying the learning rate are quantitatively equivalent. A key contribution of our work is to demonstrate that decaying learning rate schedules can be directly converted into increasing batch size schedules, and vice versa; providing a straightforward pathway towards large batch training.
18
+
19
+ In section 2 we discuss the convergence criteria for SGD in strongly convex minima, in section 3 we interpret decaying learning rates as simulated annealing, and in section 4 we discuss the difficulties of training with large momentum coefficients. Finally in section 5 we present conclusive experimental evidence that the empirical benefits of decaying learning rates in deep learning can be obtained by instead increasing the batch size during training. We exploit this observation and other tricks to achieve efficient large batch training on CIFAR-10 and ImageNet.
20
+
21
+ # 2 STOCHASTIC GRADIENT DESCENT AND CONVEX OPTIMIZATION
22
+
23
+ SGD is a computationally-efficient alternative to full-batch training, but it introduces noise into the gradient, which can obstruct optimization. It is often stated that to reach the minimum of a strongly convex function we should decay the learning rate, such that (Robbins & Monro, 1951):
24
+
25
+ $$
26
+ \begin{array} { l } { { \displaystyle \sum _ { i = 1 } ^ { \infty } \epsilon _ { i } = \infty } , \ ~ } \\ { { \displaystyle \sum _ { i = 1 } ^ { \infty } \epsilon _ { i } ^ { 2 } < \infty } . } \end{array}
27
+ $$
28
+
29
+ $\epsilon _ { i }$ denotes the learning rate at the $i ^ { t h }$ gradient update. Intuitively, equation 1 ensures we can reach the minimum, no matter how far away our parameters are initialized, while equation 2 ensures that the learning rate decays sufficiently quickly that we converge to the minimum, rather than bouncing around it due to gradient noise (Welling & Teh, 2011). However, although these equations appear to imply that the learning rate must decay during training, equation 2 holds only if the batch size is constant.1 To consider how to proceed when the batch size can vary, we follow recent work by Smith & Le (2017) and interpret SGD as integrating the stochastic differential equation below,
30
+
31
+ $$
32
+ \frac { d \omega } { d t } = - \frac { d C } { d \omega } + \eta ( t )
33
+ $$
34
+
35
+ $C$ represents the cost function (summed over all training examples), and $\omega$ represents the parameters, which evolve in continuous “time” $t$ towards their final values. Meanwhile $\eta ( t )$ represents Gaussian random noise, which models the consequences of estimating the gradient on a mini-batch. They showed that the mean $\langle \eta ( t ) \rangle = 0$ and variance $\langle \eta ( t ) \eta ( t ^ { \prime } ) \rangle = \bar { g } F ( \omega \bar { ) } \delta ( t - t ^ { \prime } )$ , where $F ( \omega )$ describes the covariances in gradient fluctuations between different parameters. They also proved that the “noise scale” $g = \check { \epsilon } ( \frac { N } { B } - 1 )$ , where $\epsilon$ is the learning rate, $N$ the training set size and $B$ the batch size. This noise scale controls the magnitude of the random fluctuations in the training dynamics.
36
+
37
+ Usually $B \ll N$ , and so we may approximate $g \approx \epsilon N / B$ . When we decay the learning rate, the noise scale falls, enabling us to converge to the minimum of the cost function (this is the origin of equation 2 above). However we can achieve the same reduction in noise scale at constant learning rate by increasing the batch size. The main contribution of this work is to show that it is possible to make efficient use of vast training batches, if one increases the batch size during training at constant learning rate until $B \sim N / 1 0$ . After this point, we revert to the use of decaying learning rates.
38
+
39
+ # 3 SIMULATED ANNEALING AND THE GENERALIZATION GAP
40
+
41
+ To the surprise of many researchers, it is now increasingly accepted that small batch training often generalizes better to the test set than large batch training. This “generalization gap” was explored extensively by Keskar et al. (2016). Smith & Le (2017) observed an optimal batch size $B _ { o p t }$ which maximized the test set accuracy at constant learning rate. They argued that this optimal batch size arises when the noise scale $g \approx \epsilon N / B$ is also optimal, and supported this claim by demonstrating empirically that $B _ { o p t } \propto \epsilon N$ . Earlier, Goyal et al. (2017) exploited a linear scaling rule between batch size and learning rate to train ResNet-50 on ImageNet in one hour with batches of 8192 images.
42
+
43
+ These results indicate that gradient noise can be beneficial, especially in non-convex optimization. It has been proposed that noise helps SGD escape “sharp minima” which generalize poorly (Hochreiter & Schmidhuber, 1997; Chaudhari et al., 2016; Keskar et al., 2016; Smith & Le, 2017). Given these results, it is unclear to the present authors whether equations 1 and 2 are relevant in deep learning. Supporting this view, we note that most researchers employ early stopping (Prechelt, 1998), whereby we intentionally prevent the network from reaching a minimum. Nonetheless, decaying learning rates are empirically successful. To understand this, we note that introducing random fluctuations whose scale falls during training is also a well established technique in non-convex optimization; simulated annealing. The initial noisy optimization phase allows us to explore a larger fraction of the parameter space without becoming trapped in local minima. Once we have located a promising region of parameter space, we reduce the noise to fine-tune the parameters.
44
+
45
+ Finally, we note that this interpretation may explain why conventional learning rate decay schedules like square roots or exponential decay have become less popular in deep learning in recent years. Increasingly, researchers favor sharper decay schedules like cosine decay (Loshchilov & Hutter, 2016) or step-function drops (Zagoruyko & Komodakis, 2016). To interpret this shift, we note that it is well known in the physical sciences that slowly annealing the temperature (noise scale) helps the system to converge to the global minimum, which may be sharp. Meanwhile annealing the temperature in a series of discrete steps can trap the system in a “robust” minimum whose cost may be higher but whose curvature is lower. We suspect a similar intuition may hold in deep learning.
46
+
47
+ # 4 THE EFFECTIVE LEARNING RATE AND THE ACCUMULATION VARIABLE
48
+
49
+ Many researchers no longer use vanilla SGD, instead preferring SGD with momentum. Smith & Le (2017) extended their analysis of SGD to include momentum, and found that the “noise scale”,
50
+
51
+ $$
52
+ \begin{array} { l c l } { { g } } & { { = } } & { { \displaystyle \frac { \epsilon } { 1 - m } \left( \frac { N } { B } - 1 \right) } } \\ { { } } & { { \approx } } & { { \displaystyle \frac { \epsilon N } { B ( 1 - m ) } } } \end{array}
53
+ $$
54
+
55
+ This reduces to the noise scale of vanilla SGD when the momentum coefficient $m 0$ . Intuitively, $\epsilon _ { e f f } = \epsilon / ( 1 - m )$ is the effective learning rate. They proposed to reduce the number of parameter updates required to train a model by increasing the learning rate and momentum coefficient, while simultaneously scaling $B \propto \epsilon / ( 1 - \dot { m } )$ . We find that increasing the learning rate and scaling $B \propto \epsilon$ performs well. However increasing the momentum coefficient while scaling $B \propto 1 / ( 1 { - } m )$ slightly reduces the test accuracy. To analyze this observation, consider the momentum update equations,
56
+
57
+ $$
58
+ \begin{array} { r c l } { { \Delta A } } & { { = } } & { { \displaystyle - ( 1 - m ) A + \frac { d \hat { C } } { d \omega } , } } \\ { { \Delta \omega } } & { { = } } & { { \displaystyle - A \epsilon . } } \end{array}
59
+ $$
60
+
61
+ $A$ is the “accumulation”, while $\textstyle { \frac { d { \hat { C } } } { d \omega } }$ is the mean gradient per training example, estimated on a batch of size $B$ . In Appendix A we analyze the growth of the accumulation at the start of training. This variable tracks the exponentially decaying average of gradient estimates, but initially it is initialized to zero. We find that the accumulation grows in exponentially towards its steady state value over a “timescale” of approximately $B / ( N ( 1 - m ) )$ training epochs. During this time, the magnitude of the parameter updates $\Delta \omega$ is suppressed, reducing the rate of convergence. Consequently when training at high momentum one must introduce additional epochs to allow the dynamics to catch up.
62
+
63
+ Furthermore, when we increase the momentum coefficient we increase the timescale required for the accumulation to forget old gradients (this timescale is also $\sim B / ( N ( 1 - m ) ) )$ . Once this timescale becomes several epochs long, the accumulation cannot adapt to changes in the loss landscape, impeding training. This is likely to be particularly problematic at points where the noise scale decays. Kingma & Ba (2014) proposed initialization bias correction, whereby the learning rate is increased at early times to compensate the suppressed initial value of the accumulation. However when the batch size is large, we found that this often causes instabilities during the early stages of training. We note that Goyal et al. (2017) recommended a reduced learning rate for the first few epochs.
64
+
65
+ ![](images/d73e9d1b93ba4ecd119509faab8c9b7cdeaf08ddb27d075ef3af2902d684bb22.jpg)
66
+ Figure 1: Schedules for the learning rate (a) and batch size (b), as a function of training epochs.
67
+
68
+ # 5 EXPERIMENTS
69
+
70
+ In section 5.1, we demonstrate that decreasing the learning rate and increasing the batch size during training are equivalent. In section 5.2, we show we can further reduce the number of parameter updates by increasing the effective learning rate and scaling the batch size. In section 5.3 we apply our insights to train Inception-ResNet-V2 on ImageNet, using vast batches of up to 65536 images. Finally in section 5.4, we train ResNet-50 to $7 6 . 1 \%$ ImageNet validation accuracy within 30 minutes.
71
+
72
+ # 5.1 SIMULATED ANNEALING IN A WIDE RESNET
73
+
74
+ Our first experiments are performed on CIFAR-10, using a “16-4” wide ResNet architecture, following the implementation of Zagoruyko & Komodakis (2016). We use ghost batch norm (Hoffer et al., 2017), with a ghost batch size of 128. This ensures the mean gradient is independent of batch size, as required by the analysis of Smith & Le (2017). To demonstrate the equivalence between decreasing the learning rate and increasing the batch size, we consider three different training schedules, as shown in figure 1. “Decaying learning rate” follows the original implementation; the batch size is constant, while the learning rate repeatedly decays by a factor of 5 at a sequence of “steps”. “Hybrid” holds the learning rate constant at the first step, instead increasing the batch size by a factor of 5. However after this first step, the batch size is constant and the learning rate decays by a factor of 5 at each subsequent step. This schedule mimics how one might proceed if hardware imposes a limit on the maximum achievable batch size. In “Increasing batch size”, we hold the learning rate constant throughout training, and increase the batch size by a factor of 5 at every step.
75
+
76
+ ![](images/10712532c719889b00b97e1900e4a985e7027240568ad59f36fa0e9db74b3ab5.jpg)
77
+ Figure 2: Wide ResNet on CIFAR10. Training set cross-entropy, evaluated as a function of the number of training epochs (a), or the number of parameter updates (b). The three learning curves are identical, but increasing the batch size reduces the number of parameter updates required.
78
+
79
+ ![](images/bce387343d0b4db0706d44ce469bbda419b4177e4c1bc6cbf7ab713d9de09ad9.jpg)
80
+ Figure 3: Wide ResNet on CIFAR10. Test accuracy during training, for SGD with momentum (a), and Nesterov momentum (b). In both cases, all three schedules track each other extremely closely.
81
+
82
+ If the learning rate itself must decay during training, then these schedules should show different learning curves (as a function of the number of training epochs) and reach different final test set accuracies. Meanwhile if it is the noise scale which should decay, all three schedules should be indistinguishable. We plot the evolution of the training set cross entropy in figure 2a, where we train using SGD with momentum and a momentum parameter of 0.9. The three training curves are almost identical, despite showing marked drops as we pass through the first two steps (where the noise scale is reduced). These results suggest that it is the noise scale which is relevant, not the learning rate.
83
+
84
+ To emphasize the potential benefits of increasing the batch size, we replot the training cross-entropy in figure 2b, but as a function of the number of parameter updates rather than the number of epochs. While all three schedules match up to the first “step”, after this point increasing the batch size dramatically reduces the number of parameter updates required to train the model. Finally, to confirm that our alternative learning schedules generalize equally well to the test set, in figure 3a we exhibit the test set accuracy, as a function of the number of epochs (so each curve can be directly compared). Once again, the three schedules are almost identical. We conclude that we can achieve all of the benefits of decaying the learning rate in these experiments by instead increasing the batch size.
85
+
86
+ We present additional results to establish that our proposal holds for a range of optimizers, all using the schedules presented in figure 1. In figure 3b, we present the test set accuracy, when training with Nesterov momentum (Nesterov, 1983) and momentum parameter 0.9, observing three nearidentical curves. In figure 4a, we repeat the same experiment with vanilla SGD, again obtaining three highly similar curves (In this case, there is no clear benefit of decaying the learning rate after the first step). Finally in figure 4b we repeat the experiment with Adam (Kingma & Ba, 2014). We use the default parameter settings of TensorFlow, such that the initial base learning rate here was $1 0 ^ { - 3 }$ , $\beta _ { 1 } = 0 . 9$ and $\beta _ { 2 } = 0 . 9 9 9$ . Thus the learning rate schedule is obtained by dividing figure 1a by $1 0 ^ { - 2 }$ . Remarkably, even here the three curves closely track each other.
87
+
88
+ ![](images/7a3acd8374c49c6588ad4299f4f686aea4cd7e6380eeafef62505f220d4db08d.jpg)
89
+ Figure 4: Wide ResNet on CIFAR10. The test set accuracy during training, for vanilla SGD (a) and Adam (b). Once again, all three schedules result in equivalent test set performance.
90
+
91
+ ![](images/c64a2841b91e74b589c9428e7b9c5d898581eba4bce547a7d1df97c63fe6ca1b.jpg)
92
+ Figure 5: Wide ResNet on CIFAR10. Test accuracy as a function of the number of parameter updates. “Increasing batch size” replaces learning rate decay by batch size increases. “Increased initial learning rate” additionally increases the initial learning rate from 0.1 to 0.5. Finally “Increased momentum coefficient” also increases the momentum coefficient from 0.9 to 0.98.
93
+
94
+ # 5.2 INCREASING THE EFFECTIVE LEARNING RATE
95
+
96
+ We now focus on our secondary objective; minimizing the number of parameter updates required to train a model. As shown above, the first step is to replace decaying learning rates by increasing batch sizes. We show here that we can also increase the effective learning rate $\epsilon _ { e f f } = \dot { \epsilon } / ( 1 - m \bar { ) }$ at the start of training, while scaling the initial batch size $B \propto \epsilon _ { e f f }$ . All experiments are conducted using SGD with momentum. There are 50000 images in the CIFAR-10 training set, and since the scaling rules only hold when $B \ll N$ , we decided to set a maximum batch size $B _ { m a x } = 5 1 2 0$ .
97
+
98
+ We consider four training schedules, all of which decay the noise scale by a factor of five in a series of three steps. “Original training schedule” follows the implementation of Zagoruyko & Komodakis (2016), using an initial learning rate of 0.1 which decays by a factor of 5 at each step, a momentum coefficient of 0.9, and a batch size of 128. “Increasing batch size” also uses a learning rate of 0.1, initial batch size of 128 and momentum coefficient of 0.9, but the batch size increases by a factor of 5 at each step. These schedules are identical to “Decaying learning rate” and “Increasing batch size” in section 5.1 above. “Increased initial learning rate” also uses increasing batch sizes during training, but additionally uses an initial learning rate of 0.5 and an initial batch size of 640. Finally “Increased momentum coefficient” combines increasing batch sizes during training and the increased initial learning rate of 0.5, with an increased momentum coefficient of 0.98, and an initial batch size of 3200. Note that we only increase the batch size until it reaches $B _ { m a x }$ , after this point we achieve subsequent decays in noise scale by decreasing the learning rate. We emphasize that, as in the previous section, all four schedules require the same number of training epochs.
99
+
100
+ We plot the evolution of the test set accuracy in figure 5, as a function of the number of parameter updates. Our implementation of the original training schedule requires ${ \sim } 8 0 0 0 0$ updates, and reaches a final test accuracy of $9 4 . 3 \%$ (the original paper reports $9 5 \%$ accuracy, which we have not been able to replicate). “Increasing batch size” requires ${ \sim } 2 9 0 0 0$ updates, reaching a final accuracy of $9 4 . 4 \%$ . “Increased initial learning rate” requires under 6500 updates, reaching a final accuracy of $9 4 . 5 \%$ . Finally, “Increased momentum coefficient” requires less than 2500 parameter updates, but reaches a lower test accuracy of $9 3 . 3 \%$ . Across five additional training runs for each schedule, the median accuracies were $9 4 . { \dot { 3 } } \%$ , $9 4 . 2 \%$ , $9 4 . 2 \%$ and $9 3 . 5 \%$ respectively. We discussed a potential explanation for the performance drop when training with large momentum coefficients in section 4. We provide additional results in appendix B, varying the initial learning rate between 0.1 and 3.2 while holding the batch size constant. We find that the test accuracy falls for initial learning rates larger than ${ \sim } 0 . 4$ .
101
+
102
+ ![](images/cb239d8eb35e89fd6feec9cab05500db53c771189fe3662bafbba1dd4318c3fa.jpg)
103
+ Figure 6: Inception-ResNet-V2 on ImageNet. Increasing the batch size during training achieves similar results to decaying the learning rate, but it reduces the number of parameter updates from just over 14000 to below 6000. We run each experiment twice to illustrate the variance.
104
+
105
+ # 5.3 TRAINING IMAGENET IN 2500 PARAMETER UPDATES
106
+
107
+ We now apply our insights to reduce the number of parameter updates required to train ImageNet. Goyal et al. (2017) trained a ResNet-50 on ImageNet in one hour, reaching $7 6 . 3 \%$ validation accuracy. To achieve this, they used batches of 8192, with an initial learning rate of 3.2 and a momentum coefficient of 0.9. They completed 90 training epochs, decaying the learning rate by a factor of ten at the 30th, 60th and 80th epoch. ImageNet contains around 1.28 million images, so this corresponds to ${ \sim } 1 4 0 0 0$ parameter updates. They also introduced a warm-up phase at the start of training, in which the learning rate and batch size was gradually increased.
108
+
109
+ We also train for 90 epochs and follow the same schedule, decaying the noise scale by a factor of ten at the 30th, 60th and 80th epoch. However we did not include a warm-up phase. To set a stronger baseline, we replaced ResNet-50 by Inception-ResNet-V2 (Szegedy et al., 2017). Initially we used a ghost batch size of 32. In figure 6, we train with a learning rate of 3.0 and a momentum coefficient of 0.9. The initial batch size was 8192. For “Decaying learning rate”, we hold the batch size fixed and decay the learning rate, while in “Increasing batch size” we increase the batch size to 81920 at the first step, but decay the learning rate at the following two steps. We repeat each schedule twice, and find that all four runs exhibit a very similar evolution of the test set accuracy during training. The final accuracies of the two “Decaying learning rate” runs are $7 8 . 7 \%$ and $7 7 . 8 \%$ , while the final accuracy of the two “Increasing batch size” runs are $7 8 . 1 \%$ and $7 6 . 8 \%$ . Although there is a slight drop, the difference in final test accuracies is similar to the variance between training runs. Increasing the batch size reduces the number of parameter updates during training from just over 14000 to below 6000. Note that the training curves appear unusually noisy because we reduced the number of test set evaluations to reduce the model training time.
110
+
111
+ Goyal et al. (2017) already increased the learning rate close to its maximum stable value. To further reduce the number of parameter updates we must increase the momentum coefficient. We introduce a maximum batch size, $B _ { m a x } = \dot { 2 } ^ { 1 6 } = 6 5 5 3 6$ . This ensures $B \ll N$ , and it also improved the stability of our distributed training. We also increased the ghost batch size to 64, matching the batch size of our GPUs and reducing the training time. We compare three different schedules, all of which have the same base schedule, decaying the noise scale by a factor of ten at the 30th, 60th and 80th epoch. We use an initial learning rate of 3 throughout. “Momentum $0 . 9 ^ { \ast }$ uses an initial batch size of 8192, “Momentum $0 . 9 7 5 ^ { \cdot }$ uses an initial batch size of 16384, and “Momentum $0 . 9 8 7 5 '$ uses an initial batch size of 32768. For all schedules, we decay the noise scale by increasing the batch size until reaching $B _ { m a x }$ , and then decay the learning rate. We plot the test set accuracy in figure 7. “Momentum $0 . 9 ^ { \prime }$ achieves a final accuracy of $7 8 . 8 \%$ in just under 6000 updates. We performed two runs of “Momentum $0 . 9 5 '$ , achieving final accuracies of $7 8 . 1 \%$ and $7 7 . { \bar { 8 \% } }$ in under 3500 updates. Finally “Momentum $0 . 9 7 5 ^ { \cdot }$ achieves final accuracies of $7 7 . 5 \%$ and $7 6 . 8 \%$ in under 2500 updates.
112
+
113
+ ![](images/ad6507b3ef16598af644328b400200847039dd87899409b9b70d11fb2ff2895c.jpg)
114
+ Figure 7: Inception-ResNet-V2 on ImageNet. Increasing the momentum parameter reduces the number of parameter updates required, but it also leads to a small drop in final test accuracy.
115
+
116
+ # 5.4 TRAINING IMAGENET IN 30 MINUTES
117
+
118
+ To confirm that increasing the batch size during training can reduce model training times, we replicated the set-up described by Goyal et al. (2017) on a half TPU pod, comprising 256 tensorcores (Jouppi et al., 2017). Using tensorFlow, we first train ResNet-50 for 90 epochs to $7 6 . 1 \%$ validation set accuracy in under 45 minutes, utilising batches of 8192 images. To utilise the full TPU pod, we then increase the batch size after the first 30 epochs to 16384 images, and achieve the same validation accuracy of $7 6 . 1 \%$ in under 30 minutes. The last 60 epochs and the first 30 epochs both take just under 15 minutes, demonstrating near-perfect scaling efficiency across the pod, such that the number of parameter updates provides a meaningful measure of the training time. To our knowledge, this is the first procedure which has reduced the training time of Goyal et al. (2017) without sacrificing final validation accuracy (You et al., 2017b; Akiba et al., 2017). By contrast, doubling the initial learning rate and using batches of 16384 images throughout training achieves a lower validation set accuracy of $7 5 . 0 \%$ in 22 minutes, demonstrating that increasing the batch size during training is crucial to the performance gains above. These results show that the ideas presented in this paper will become increasingly important as new hardware for large-batch training becomes available.
119
+
120
+ # 6 RELATED WORK
121
+
122
+ This paper extends the analysis of SGD in Smith & Le (2017) to include decaying learning rates. Mandt et al. (2017) also interpreted SGD as a stochastic differential equation, in order to discuss how SGD could be modified to perform approximate Bayesian posterior sampling. However they state that their analysis holds only in the neighborhood of a minimum, while Keskar et al. (2016) showed that the beneficial effects of noise are most pronounced at the start of training. Li et al. (2017) proposed the use of control theory to set the learning rate and momentum coefficient.
123
+
124
+ Goyal et al. (2017) observed a linear scaling rule between batch size and learning rate, $B \propto \epsilon$ and used this rule to reduce the time required to train ResNet-50 on ImageNet to one hour. To our knowledge, this scaling rule was fist adopted by Krizhevsky (2014). Bottou et al. (2016) (section 4.2) demonstrated that SGD converges to strongly convex minima in similar numbers of training√ epochs if $B \propto \epsilon$ . Hoffer et al. (2017) proposed an alternative scaling rule, $B \propto \sqrt { \epsilon }$ .
125
+
126
+ You et al. (2017a) proposed Layer-wise Adaptive Rate Scaling (LARS), which applies different learning rates to different parameters in the network, and used it to train ImageNet in 14 minutes (You et al., 2017b), albeit to a lower final accuracy of $7 4 . 9 \%$ . K-FAC (Martens & Grosse, 2015) is also gaining popularity as an efficient alternative to SGD. Wilson et al. (2017) argued that adaptive optimization methods tend to generalize less well than SGD and SGD with momentum (although they did not include K-FAC in their study), while our work reduces the gap in convergence speed. Asynchronous-SGD is another popular strategy, which enables the use of multiple GPUs even when batch sizes are small (Recht et al., 2011; Dean et al., 2012). We do not consider asynchronous-SGD in this work, since the scaling rules enabled us to use batch sizes on the order of the training set size.
127
+
128
+ # 7 CONCLUSIONS
129
+
130
+ We can often achieve the benefits of decaying the learning rate by instead increasing the batch size during training. We support this claim with experiments on CIFAR-10 and ImageNet, and with a range of optimizers including SGD, Momentum and Adam. Our findings enable the efficient use of vast batch sizes, significantly reducing the number of parameter updates required to train a model. This has the potential to dramatically reduce model training times. We further increase the batch size $B$ by increasing the learning rate $\epsilon$ and momentum parameter $m$ , while scaling $B \propto \epsilon / ( 1 - m )$ . Combining these strategies, we train Inception-ResNet-V2 on ImageNet to $7 7 \%$ validation accuracy in under 2500 parameter updates, using batches of 65536 images. We also exploit increasing batch sizes to train ResNet-50 to $7 6 . 1 \%$ ImageNet validation set accuracy on TPU in under 30 minutes. Most strikingly, we achieve this without any hyper-parameter tuning, since our scaling rules enable us to directly convert existing hyper-parameter choices from the literature for large batch training.
131
+
132
+ # ACKNOWLEDGMENTS
133
+
134
+ We thank Prajit Ramachandran, Gabriel Bender, Matthew Johnson and Martin Abadi for helpful discussions. We also thank Vijay Vasudevan, Brennan Saeta, Jonathan Hseu, Bjarke Roune and the rest of the TPU team for technical support.
135
+
136
+ # REFERENCES
137
+
138
+ Takuya Akiba, Shuji Suzuki, and Keisuke Fukuda. Extremely large minibatch sgd: Training resnet50 on imagenet in 15 minutes. arXiv preprint arXiv:1711.04325, 2017.
139
+
140
+ Lukas Balles, Javier Romero, and Philipp Hennig. Coupling adaptive batch sizes with learning rates. arXiv preprint arXiv:1612.05086, 2016.
141
+
142
+ Leon Bottou, Frank E Curtis, and Jorge Nocedal. Optimization methods for large-scale machine ´ learning. arXiv preprint arXiv:1606.04838, 2016.
143
+
144
+ Richard H Byrd, Gillian M Chin, Jorge Nocedal, and Yuchen Wu. Sample size selection in optimization methods for machine learning. Mathematical programming, 134(1):127–155, 2012.
145
+
146
+ Pratik Chaudhari, Anna Choromanska, Stefano Soatto, and Yann LeCun. Entropy-SGD: Biasing gradient descent into wide valleys. arXiv preprint arXiv:1611.01838, 2016.
147
+
148
+ Soham De, Abhay Yadav, David Jacobs, and Tom Goldstein. Automated inference with adaptive batches. In Artificial Intelligence and Statistics, pp. 1504–1513, 2017.
149
+
150
+ Jeffrey Dean, Greg Corrado, Rajat Monga, Kai Chen, Matthieu Devin, Mark Mao, Andrew Senior, Paul Tucker, Ke Yang, Quoc V Le, et al. Large scale distributed deep networks. In Advances in neural information processing systems, pp. 1223–1231, 2012.
151
+
152
+ Michael P Friedlander and Mark Schmidt. Hybrid deterministic-stochastic methods for data fitting. SIAM Journal on Scientific Computing, 34(3):A1380–A1405, 2012.
153
+
154
+ Priya Goyal, Piotr Dollar, Ross Girshick, Pieter Noordhuis, Lukasz Wesolowski, Aapo Kyrola, An-´ drew Tulloch, Yangqing Jia, and Kaiming He. Accurate, large minibatch SGD: Training imagenet in 1 hour. arXiv preprint arXiv:1706.02677, 2017.
155
+
156
+ Sepp Hochreiter and Jurgen Schmidhuber. Flat minima. ¨ Neural Computation, 9(1):1–42, 1997.
157
+
158
+ Elad Hoffer, Itay Hubara, and Daniel Soudry. Train longer, generalize better: closing the generalization gap in large batch training of neural networks. arXiv preprint arXiv:1705.08741, 2017.
159
+
160
+ Norman P Jouppi, Cliff Young, Nishant Patil, David Patterson, Gaurav Agrawal, Raminder Bajwa, Sarah Bates, Suresh Bhatia, Nan Boden, Al Borchers, et al. In-datacenter performance analysis of a tensor processing unit. In Proceedings of the 44th Annual International Symposium on Computer Architecture, pp. 1–12. ACM, 2017.
161
+
162
+ Nitish Shirish Keskar, Dheevatsa Mudigere, Jorge Nocedal, Mikhail Smelyanskiy, and Ping Tak Peter Tang. On large-batch training for deep learning: Generalization gap and sharp minima. arXiv preprint arXiv:1609.04836, 2016.
163
+
164
+ Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
165
+
166
+ Alex Krizhevsky. One weird trick for parallelizing convolutional neural networks. arXiv preprint arXiv:1404.5997, 2014.
167
+
168
+ Qianxiao Li, Cheng Tai, and E Weinan. Stochastic modified equations and adaptive stochastic gradient algorithms. arXiv preprint arXiv:1511.06251, 2017.
169
+
170
+ Ilya Loshchilov and Frank Hutter. SGDR: stochastic gradient descent with restarts. arXiv preprint arXiv:1608.03983, 2016.
171
+
172
+ Stephan Mandt, Matthew D Hoffman, and David M Blei. Stochastic gradient descent as approximate bayesian inference. arXiv preprint arXiv:1704.04289, 2017.
173
+
174
+ James Martens and Roger Grosse. Optimizing neural networks with kronecker-factored approximate curvature. In International Conference on Machine Learning, pp. 2408–2417, 2015.
175
+
176
+ Yurii Nesterov. A method of solving a convex programming problem with convergence rate o (1/k2). In Soviet Mathematics Doklady, volume 27, pp. 372–376, 1983.
177
+
178
+ Lutz Prechelt. Early stopping-but when? Neural Networks: Tricks of the trade, pp. 553–553, 1998.
179
+
180
+ Benjamin Recht, Christopher Re, Stephen Wright, and Feng Niu. Hogwild: A lock-free approach to parallelizing stochastic gradient descent. In Advances in neural information processing systems, pp. 693–701, 2011.
181
+
182
+ Herbert Robbins and Sutton Monro. A stochastic approximation method. The annals of mathematical statistics, pp. 400–407, 1951.
183
+
184
+ Samuel L. Smith and Quoc V. Le. A bayesian perspective on generalization and stochastic gradient descent. arXiv preprint arXiv:1710.06451, 2017.
185
+
186
+ Christian Szegedy, Sergey Ioffe, Vincent Vanhoucke, and Alexander A Alemi. Inception-v4, Inception-ResNet and the impact of residual connections on learning. In AAAI, pp. 4278–4284, 2017.
187
+
188
+ Max Welling and Yee W Teh. Bayesian learning via stochastic gradient langevin dynamics. In Proceedings of the 28th International Conference on Machine Learning (ICML-11), pp. 681–688, 2011.
189
+
190
+ Ashia C Wilson, Rebecca Roelofs, Mitchell Stern, Nathan Srebro, and Benjamin Recht. The marginal value of adaptive gradient methods in machine learning. arXiv preprint arXiv:1705.08292, 2017.
191
+
192
+ Yang You, Igor Gitman, and Boris Ginsburg. Scaling SGD batch size to 32k for imagenet training. arXiv preprint arXiv:1708.03888, 2017a.
193
+
194
+ Yang You, Zhao Zhang, C Hsieh, James Demmel, and Kurt Keutzer. Imagenet training in minutes. CoRR, abs/1709.05011, 2017b.
195
+
196
+ Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. arXiv preprint arXiv:1605.07146, 2016.
197
+
198
+ Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. arXiv preprint arXiv:1611.03530, 2016.
199
+
200
+ # A THE GROWTH OF THE ACCUMULATION AT THE START OF TRAINING
201
+
202
+ The update equations for SGD with momentum,
203
+
204
+ $$
205
+ \begin{array} { r c l } { { \Delta A } } & { { = } } & { { \displaystyle - ( 1 - m ) A + \frac { d \hat { C } } { d \omega } , } } \\ { { \Delta \omega } } & { { = } } & { { \displaystyle - A \epsilon . } } \end{array}
206
+ $$
207
+
208
+ $A$ is the “accumulation” variable, whil e dCˆdω is the mean gradient per training example, estimated on a batch of size $B$ . We initialize the accumulation to zero, and it takes a number of updates for the magnitude of the accumulation to “grow in”. During this time, the size of the parameter updates $\Delta \omega$ is suppressed, reducing the effective learning rate. We can model the growth of the accumulation by assuming that the gradient at the start of training is approximately constant, such that $\begin{array} { r } { \frac { d \hat { C } } { d \omega } \approx G } \end{array}$ . Consequently the accumulation integrates an underlying differential equation,
209
+
210
+ $$
211
+ \frac { d A } { d s } = - ( 1 - m ) A + G .
212
+ $$
213
+
214
+ The variable tial equation $s$ describes thas solution, ates performed.. We note that $A ( 0 ) = 0$ s differen-to obtain, $\begin{array} { r } { A = \frac { G } { 1 - m } ( \bar { 1 } - e ^ { - ( 1 - m \bar { ) } s } ) } \end{array}$ $s = ( N / B ) N _ { e p o c h s }$
215
+
216
+ $$
217
+ A = \frac { G } { 1 - m } \left( 1 - e ^ { - ( 1 - m ) ( N / B ) N _ { e p o c h s } } \right) .
218
+ $$
219
+
220
+ $N _ { e p o c h s }$ denotes the number of training epochs performed. The accumulation variable grows in exponentially, and consequently we can estimate the effective number of “lost” training epochs,
221
+
222
+ $$
223
+ \begin{array} { l l l } { { N _ { l o s t } } } & { { = } } & { { \displaystyle \int _ { 0 } ^ { \infty } e ^ { - ( 1 - m ) ( N / B ) N _ { e p o c h s } } d N _ { e p o c h s } } } \\ { { } } & { { = } } & { { \displaystyle \frac { B } { N ( 1 - m ) } } } \end{array}
224
+ $$
225
+
226
+ Since the batch size $B \propto \epsilon / ( 1 - m )$ , we find $N _ { l o s t } \propto \epsilon / ( N ( 1 - m ) ^ { 2 } )$ . We must either introduce additional training epochs to compensate, or ensure that the number of lost training epochs is negligible, when compared to the total number of training epochs performed before the decaying the noise scale. Note that $N _ { l o s t }$ rises most rapidly when one increases the momentum coefficient.
227
+
228
+ # B INCREASING THE INITIAL LEARNING RATE
229
+
230
+ We exhibit the test accuracy of our “16-4” wide ResNet implementation on CIFAR10 in figure 8, as a function of the initial learning rate. For learning rate $\epsilon = 0 . 1$ , the batch size $B = 1 2 8$ is constant throughout training. This matches the “Original training schedule” of section 5.2 of the main text. When we increase the learning rate we scale $B \propto \epsilon$ and perform the same number of training epochs.
231
+
232
+ ![](images/9e086cf53c37c244b47c6603c379a2f2d2d15c0ec310600622b1d600f9e73651.jpg)
233
+
234
+ Figure 8: Wide ResNet on CIFAR10. We can only increase the initial learning rate to $\sim 0 . 4$ before the final test accuracy starts to fall. Each point provided represents the median of five runs.
parse/train/B1Yy1BxCZ/B1Yy1BxCZ_content_list.json ADDED
@@ -0,0 +1,1253 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "DON’T DECAY THE LEARNING RATE, INCREASE THE BATCH SIZE ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 174,
8
+ 98,
9
+ 624,
10
+ 146
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Samuel L. Smith∗, Pieter-Jan Kindermans∗, Chris Ying & Quoc V. Le Google Brain {slsmith, pikinder, chrisying, qvl}@google.com ",
17
+ "bbox": [
18
+ 183,
19
+ 170,
20
+ 661,
21
+ 213
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 250,
32
+ 544,
33
+ 263
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "It is common practice to decay the learning rate. Here we show one can usually obtain the same learning curve on both training and test sets by instead increasing the batch size during training. This procedure is successful for stochastic gradient descent (SGD), SGD with momentum, Nesterov momentum, and Adam. It reaches equivalent test accuracies after the same number of training epochs, but with fewer parameter updates, leading to greater parallelism and shorter training times. We can further reduce the number of parameter updates by increasing the learning rate $\\epsilon$ and scaling the batch size $B \\propto \\epsilon$ . Finally, one can increase the momentum coefficient $m$ and scale $B \\propto 1 / ( 1 - m )$ , although this tends to slightly reduce the test accuracy. Crucially, our techniques allow us to repurpose existing training schedules for large batch training with no hyper-parameter tuning. We train ResNet-50 on ImageNet to $7 6 . 1 \\%$ validation accuracy in under 30 minutes. ",
40
+ "bbox": [
41
+ 233,
42
+ 280,
43
+ 764,
44
+ 445
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 472,
55
+ 336,
56
+ 487
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Stochastic gradient descent (SGD) remains the dominant optimization algorithm of deep learning. However while SGD finds minima that generalize well (Zhang et al., 2016; Wilson et al., 2017), each parameter update only takes a small step towards the objective. Increasing interest has focused on large batch training (Goyal et al., 2017; Hoffer et al., 2017; You et al., 2017a), in an attempt to increase the step size and reduce the number of parameter updates required to train a model. Large batches can be parallelized across many machines, reducing training time. Unfortunately, when we increase the batch size the test set accuracy often falls (Keskar et al., 2016; Goyal et al., 2017). ",
63
+ "bbox": [
64
+ 174,
65
+ 502,
66
+ 825,
67
+ 599
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "To understand this surprising observation, Smith & Le (2017) argued one should interpret SGD as integrating a stochastic differential equation. They showed that the scale of random fluctuations in the SGD dynamics, $\\begin{array} { r } { g = \\epsilon ( \\frac { N } { B } - 1 ) } \\end{array}$ , where $\\epsilon$ is the learning rate, $N$ training set size and $B$ batch size. Furthermore, they found that there is an optimum fluctuation scale $g$ which maximizes the test set accuracy (at constant learning rate), and this introduces an optimal batch size proportional to the learning rate when $B \\ll N$ . Goyal et al. (2017) already observed this scaling rule empirically and exploited it to train ResNet-50 to $7 6 . 3 \\%$ ImageNet validation accuracy in one hour. Here we show, ",
74
+ "bbox": [
75
+ 174,
76
+ 607,
77
+ 825,
78
+ 704
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "When one decays the learning rate, one simultaneously decays the scale of random fluctuations $g$ in the SGD dynamics. Decaying the learning rate is simulated annealing. We propose an alternative procedure; instead of decaying the learning rate, we increase the batch size during training. This strategy achieves near-identical model performance on the test set with the same number of training epochs but significantly fewer parameter updates. Our proposal does not require any fine-tuning as we follow pre-existing training schedules; when the learning rate drops by a factor of $\\alpha$ , we instead increase the batch size by $\\alpha$ . • As shown previously, we can further reduce the number of parameter updates by increasing the learning rate and scaling $B \\propto \\epsilon$ . One can also increase the momentum coefficient and scale $B \\propto \\mathrm { \\bar { 1 } } / ( 1 - m )$ , although this slightly reduces the test accuracy. We train InceptionResNet-V2 on ImageNet in under 2500 parameter updates, using batches of 65536 images, and reach a validation set accuracy of $7 7 \\%$ . We also replicate the setup of Goyal et al. (2017) on TPU and train ResNet-50 on ImageNet to $7 6 . 1 \\%$ accuracy in under 30 minutes. ",
85
+ "bbox": [
86
+ 215,
87
+ 717,
88
+ 825,
89
+ 902
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "We note that a number of recent works have discussed increasing the batch size during training (Friedlander & Schmidt, 2012; Byrd et al., 2012; Balles et al., 2016; Bottou et al., 2016; De et al., 2017), but to our knowledge no paper has shown empirically that increasing the batch size and decaying the learning rate are quantitatively equivalent. A key contribution of our work is to demonstrate that decaying learning rate schedules can be directly converted into increasing batch size schedules, and vice versa; providing a straightforward pathway towards large batch training. ",
96
+ "bbox": [
97
+ 174,
98
+ 103,
99
+ 825,
100
+ 188
101
+ ],
102
+ "page_idx": 1
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "In section 2 we discuss the convergence criteria for SGD in strongly convex minima, in section 3 we interpret decaying learning rates as simulated annealing, and in section 4 we discuss the difficulties of training with large momentum coefficients. Finally in section 5 we present conclusive experimental evidence that the empirical benefits of decaying learning rates in deep learning can be obtained by instead increasing the batch size during training. We exploit this observation and other tricks to achieve efficient large batch training on CIFAR-10 and ImageNet. ",
107
+ "bbox": [
108
+ 174,
109
+ 194,
110
+ 825,
111
+ 279
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "2 STOCHASTIC GRADIENT DESCENT AND CONVEX OPTIMIZATION ",
118
+ "text_level": 1,
119
+ "bbox": [
120
+ 174,
121
+ 299,
122
+ 732,
123
+ 314
124
+ ],
125
+ "page_idx": 1
126
+ },
127
+ {
128
+ "type": "text",
129
+ "text": "SGD is a computationally-efficient alternative to full-batch training, but it introduces noise into the gradient, which can obstruct optimization. It is often stated that to reach the minimum of a strongly convex function we should decay the learning rate, such that (Robbins & Monro, 1951): ",
130
+ "bbox": [
131
+ 174,
132
+ 329,
133
+ 825,
134
+ 371
135
+ ],
136
+ "page_idx": 1
137
+ },
138
+ {
139
+ "type": "equation",
140
+ "img_path": "images/1a145d1c632879dca4c6839a4a349ceb29332416420eb03277f7e2c705110957.jpg",
141
+ "text": "$$\n\\begin{array} { l } { { \\displaystyle \\sum _ { i = 1 } ^ { \\infty } \\epsilon _ { i } = \\infty } , \\ ~ } \\\\ { { \\displaystyle \\sum _ { i = 1 } ^ { \\infty } \\epsilon _ { i } ^ { 2 } < \\infty } . } \\end{array}\n$$",
142
+ "text_format": "latex",
143
+ "bbox": [
144
+ 470,
145
+ 376,
146
+ 557,
147
+ 460
148
+ ],
149
+ "page_idx": 1
150
+ },
151
+ {
152
+ "type": "text",
153
+ "text": "$\\epsilon _ { i }$ denotes the learning rate at the $i ^ { t h }$ gradient update. Intuitively, equation 1 ensures we can reach the minimum, no matter how far away our parameters are initialized, while equation 2 ensures that the learning rate decays sufficiently quickly that we converge to the minimum, rather than bouncing around it due to gradient noise (Welling & Teh, 2011). However, although these equations appear to imply that the learning rate must decay during training, equation 2 holds only if the batch size is constant.1 To consider how to proceed when the batch size can vary, we follow recent work by Smith & Le (2017) and interpret SGD as integrating the stochastic differential equation below, ",
154
+ "bbox": [
155
+ 173,
156
+ 465,
157
+ 825,
158
+ 565
159
+ ],
160
+ "page_idx": 1
161
+ },
162
+ {
163
+ "type": "equation",
164
+ "img_path": "images/d91550ac72560fadf01037568a99e7979516dd1f47ff2ad57701938131d02281.jpg",
165
+ "text": "$$\n\\frac { d \\omega } { d t } = - \\frac { d C } { d \\omega } + \\eta ( t )\n$$",
166
+ "text_format": "latex",
167
+ "bbox": [
168
+ 431,
169
+ 569,
170
+ 566,
171
+ 601
172
+ ],
173
+ "page_idx": 1
174
+ },
175
+ {
176
+ "type": "text",
177
+ "text": "$C$ represents the cost function (summed over all training examples), and $\\omega$ represents the parameters, which evolve in continuous “time” $t$ towards their final values. Meanwhile $\\eta ( t )$ represents Gaussian random noise, which models the consequences of estimating the gradient on a mini-batch. They showed that the mean $\\langle \\eta ( t ) \\rangle = 0$ and variance $\\langle \\eta ( t ) \\eta ( t ^ { \\prime } ) \\rangle = \\bar { g } F ( \\omega \\bar { ) } \\delta ( t - t ^ { \\prime } )$ , where $F ( \\omega )$ describes the covariances in gradient fluctuations between different parameters. They also proved that the “noise scale” $g = \\check { \\epsilon } ( \\frac { N } { B } - 1 )$ , where $\\epsilon$ is the learning rate, $N$ the training set size and $B$ the batch size. This noise scale controls the magnitude of the random fluctuations in the training dynamics. ",
178
+ "bbox": [
179
+ 173,
180
+ 604,
181
+ 825,
182
+ 703
183
+ ],
184
+ "page_idx": 1
185
+ },
186
+ {
187
+ "type": "text",
188
+ "text": "Usually $B \\ll N$ , and so we may approximate $g \\approx \\epsilon N / B$ . When we decay the learning rate, the noise scale falls, enabling us to converge to the minimum of the cost function (this is the origin of equation 2 above). However we can achieve the same reduction in noise scale at constant learning rate by increasing the batch size. The main contribution of this work is to show that it is possible to make efficient use of vast training batches, if one increases the batch size during training at constant learning rate until $B \\sim N / 1 0$ . After this point, we revert to the use of decaying learning rates. ",
189
+ "bbox": [
190
+ 174,
191
+ 708,
192
+ 825,
193
+ 792
194
+ ],
195
+ "page_idx": 1
196
+ },
197
+ {
198
+ "type": "text",
199
+ "text": "3 SIMULATED ANNEALING AND THE GENERALIZATION GAP ",
200
+ "text_level": 1,
201
+ "bbox": [
202
+ 176,
203
+ 814,
204
+ 683,
205
+ 829
206
+ ],
207
+ "page_idx": 1
208
+ },
209
+ {
210
+ "type": "text",
211
+ "text": "To the surprise of many researchers, it is now increasingly accepted that small batch training often generalizes better to the test set than large batch training. This “generalization gap” was explored extensively by Keskar et al. (2016). Smith & Le (2017) observed an optimal batch size $B _ { o p t }$ which maximized the test set accuracy at constant learning rate. They argued that this optimal batch size arises when the noise scale $g \\approx \\epsilon N / B$ is also optimal, and supported this claim by demonstrating empirically that $B _ { o p t } \\propto \\epsilon N$ . Earlier, Goyal et al. (2017) exploited a linear scaling rule between batch size and learning rate to train ResNet-50 on ImageNet in one hour with batches of 8192 images. ",
212
+ "bbox": [
213
+ 176,
214
+ 843,
215
+ 825,
216
+ 901
217
+ ],
218
+ "page_idx": 1
219
+ },
220
+ {
221
+ "type": "text",
222
+ "text": "",
223
+ "bbox": [
224
+ 174,
225
+ 103,
226
+ 823,
227
+ 146
228
+ ],
229
+ "page_idx": 2
230
+ },
231
+ {
232
+ "type": "text",
233
+ "text": "These results indicate that gradient noise can be beneficial, especially in non-convex optimization. It has been proposed that noise helps SGD escape “sharp minima” which generalize poorly (Hochreiter & Schmidhuber, 1997; Chaudhari et al., 2016; Keskar et al., 2016; Smith & Le, 2017). Given these results, it is unclear to the present authors whether equations 1 and 2 are relevant in deep learning. Supporting this view, we note that most researchers employ early stopping (Prechelt, 1998), whereby we intentionally prevent the network from reaching a minimum. Nonetheless, decaying learning rates are empirically successful. To understand this, we note that introducing random fluctuations whose scale falls during training is also a well established technique in non-convex optimization; simulated annealing. The initial noisy optimization phase allows us to explore a larger fraction of the parameter space without becoming trapped in local minima. Once we have located a promising region of parameter space, we reduce the noise to fine-tune the parameters. ",
234
+ "bbox": [
235
+ 174,
236
+ 152,
237
+ 825,
238
+ 305
239
+ ],
240
+ "page_idx": 2
241
+ },
242
+ {
243
+ "type": "text",
244
+ "text": "Finally, we note that this interpretation may explain why conventional learning rate decay schedules like square roots or exponential decay have become less popular in deep learning in recent years. Increasingly, researchers favor sharper decay schedules like cosine decay (Loshchilov & Hutter, 2016) or step-function drops (Zagoruyko & Komodakis, 2016). To interpret this shift, we note that it is well known in the physical sciences that slowly annealing the temperature (noise scale) helps the system to converge to the global minimum, which may be sharp. Meanwhile annealing the temperature in a series of discrete steps can trap the system in a “robust” minimum whose cost may be higher but whose curvature is lower. We suspect a similar intuition may hold in deep learning. ",
245
+ "bbox": [
246
+ 174,
247
+ 311,
248
+ 825,
249
+ 424
250
+ ],
251
+ "page_idx": 2
252
+ },
253
+ {
254
+ "type": "text",
255
+ "text": "4 THE EFFECTIVE LEARNING RATE AND THE ACCUMULATION VARIABLE ",
256
+ "text_level": 1,
257
+ "bbox": [
258
+ 173,
259
+ 444,
260
+ 787,
261
+ 459
262
+ ],
263
+ "page_idx": 2
264
+ },
265
+ {
266
+ "type": "text",
267
+ "text": "Many researchers no longer use vanilla SGD, instead preferring SGD with momentum. Smith & Le (2017) extended their analysis of SGD to include momentum, and found that the “noise scale”, ",
268
+ "bbox": [
269
+ 173,
270
+ 473,
271
+ 828,
272
+ 501
273
+ ],
274
+ "page_idx": 2
275
+ },
276
+ {
277
+ "type": "equation",
278
+ "img_path": "images/2061980b80c73a23788c4f0f052e50021e305a8ac873908583a5cb527323aed6.jpg",
279
+ "text": "$$\n\\begin{array} { l c l } { { g } } & { { = } } & { { \\displaystyle \\frac { \\epsilon } { 1 - m } \\left( \\frac { N } { B } - 1 \\right) } } \\\\ { { } } & { { \\approx } } & { { \\displaystyle \\frac { \\epsilon N } { B ( 1 - m ) } } } \\end{array}\n$$",
280
+ "text_format": "latex",
281
+ "bbox": [
282
+ 406,
283
+ 502,
284
+ 586,
285
+ 571
286
+ ],
287
+ "page_idx": 2
288
+ },
289
+ {
290
+ "type": "text",
291
+ "text": "This reduces to the noise scale of vanilla SGD when the momentum coefficient $m 0$ . Intuitively, $\\epsilon _ { e f f } = \\epsilon / ( 1 - m )$ is the effective learning rate. They proposed to reduce the number of parameter updates required to train a model by increasing the learning rate and momentum coefficient, while simultaneously scaling $B \\propto \\epsilon / ( 1 - \\dot { m } )$ . We find that increasing the learning rate and scaling $B \\propto \\epsilon$ performs well. However increasing the momentum coefficient while scaling $B \\propto 1 / ( 1 { - } m )$ slightly reduces the test accuracy. To analyze this observation, consider the momentum update equations, ",
292
+ "bbox": [
293
+ 173,
294
+ 570,
295
+ 825,
296
+ 654
297
+ ],
298
+ "page_idx": 2
299
+ },
300
+ {
301
+ "type": "equation",
302
+ "img_path": "images/a82d02789a4ef4e5423827702a331dc2372175e209b339b5a0222cc40f8f3c3d.jpg",
303
+ "text": "$$\n\\begin{array} { r c l } { { \\Delta A } } & { { = } } & { { \\displaystyle - ( 1 - m ) A + \\frac { d \\hat { C } } { d \\omega } , } } \\\\ { { \\Delta \\omega } } & { { = } } & { { \\displaystyle - A \\epsilon . } } \\end{array}\n$$",
304
+ "text_format": "latex",
305
+ "bbox": [
306
+ 393,
307
+ 655,
308
+ 598,
309
+ 705
310
+ ],
311
+ "page_idx": 2
312
+ },
313
+ {
314
+ "type": "text",
315
+ "text": "$A$ is the “accumulation”, while $\\textstyle { \\frac { d { \\hat { C } } } { d \\omega } }$ is the mean gradient per training example, estimated on a batch of size $B$ . In Appendix A we analyze the growth of the accumulation at the start of training. This variable tracks the exponentially decaying average of gradient estimates, but initially it is initialized to zero. We find that the accumulation grows in exponentially towards its steady state value over a “timescale” of approximately $B / ( N ( 1 - m ) )$ training epochs. During this time, the magnitude of the parameter updates $\\Delta \\omega$ is suppressed, reducing the rate of convergence. Consequently when training at high momentum one must introduce additional epochs to allow the dynamics to catch up. ",
316
+ "bbox": [
317
+ 174,
318
+ 705,
319
+ 825,
320
+ 806
321
+ ],
322
+ "page_idx": 2
323
+ },
324
+ {
325
+ "type": "text",
326
+ "text": "Furthermore, when we increase the momentum coefficient we increase the timescale required for the accumulation to forget old gradients (this timescale is also $\\sim B / ( N ( 1 - m ) ) )$ . Once this timescale becomes several epochs long, the accumulation cannot adapt to changes in the loss landscape, impeding training. This is likely to be particularly problematic at points where the noise scale decays. Kingma & Ba (2014) proposed initialization bias correction, whereby the learning rate is increased at early times to compensate the suppressed initial value of the accumulation. However when the batch size is large, we found that this often causes instabilities during the early stages of training. We note that Goyal et al. (2017) recommended a reduced learning rate for the first few epochs. ",
327
+ "bbox": [
328
+ 174,
329
+ 811,
330
+ 825,
331
+ 924
332
+ ],
333
+ "page_idx": 2
334
+ },
335
+ {
336
+ "type": "image",
337
+ "img_path": "images/d73e9d1b93ba4ecd119509faab8c9b7cdeaf08ddb27d075ef3af2902d684bb22.jpg",
338
+ "image_caption": [
339
+ "Figure 1: Schedules for the learning rate (a) and batch size (b), as a function of training epochs. "
340
+ ],
341
+ "image_footnote": [],
342
+ "bbox": [
343
+ 189,
344
+ 116,
345
+ 807,
346
+ 291
347
+ ],
348
+ "page_idx": 3
349
+ },
350
+ {
351
+ "type": "text",
352
+ "text": "5 EXPERIMENTS ",
353
+ "text_level": 1,
354
+ "bbox": [
355
+ 176,
356
+ 340,
357
+ 326,
358
+ 357
359
+ ],
360
+ "page_idx": 3
361
+ },
362
+ {
363
+ "type": "text",
364
+ "text": "In section 5.1, we demonstrate that decreasing the learning rate and increasing the batch size during training are equivalent. In section 5.2, we show we can further reduce the number of parameter updates by increasing the effective learning rate and scaling the batch size. In section 5.3 we apply our insights to train Inception-ResNet-V2 on ImageNet, using vast batches of up to 65536 images. Finally in section 5.4, we train ResNet-50 to $7 6 . 1 \\%$ ImageNet validation accuracy within 30 minutes. ",
365
+ "bbox": [
366
+ 174,
367
+ 372,
368
+ 825,
369
+ 441
370
+ ],
371
+ "page_idx": 3
372
+ },
373
+ {
374
+ "type": "text",
375
+ "text": "5.1 SIMULATED ANNEALING IN A WIDE RESNET ",
376
+ "text_level": 1,
377
+ "bbox": [
378
+ 174,
379
+ 458,
380
+ 524,
381
+ 473
382
+ ],
383
+ "page_idx": 3
384
+ },
385
+ {
386
+ "type": "text",
387
+ "text": "Our first experiments are performed on CIFAR-10, using a “16-4” wide ResNet architecture, following the implementation of Zagoruyko & Komodakis (2016). We use ghost batch norm (Hoffer et al., 2017), with a ghost batch size of 128. This ensures the mean gradient is independent of batch size, as required by the analysis of Smith & Le (2017). To demonstrate the equivalence between decreasing the learning rate and increasing the batch size, we consider three different training schedules, as shown in figure 1. “Decaying learning rate” follows the original implementation; the batch size is constant, while the learning rate repeatedly decays by a factor of 5 at a sequence of “steps”. “Hybrid” holds the learning rate constant at the first step, instead increasing the batch size by a factor of 5. However after this first step, the batch size is constant and the learning rate decays by a factor of 5 at each subsequent step. This schedule mimics how one might proceed if hardware imposes a limit on the maximum achievable batch size. In “Increasing batch size”, we hold the learning rate constant throughout training, and increase the batch size by a factor of 5 at every step. ",
388
+ "bbox": [
389
+ 173,
390
+ 484,
391
+ 825,
392
+ 651
393
+ ],
394
+ "page_idx": 3
395
+ },
396
+ {
397
+ "type": "image",
398
+ "img_path": "images/10712532c719889b00b97e1900e4a985e7027240568ad59f36fa0e9db74b3ab5.jpg",
399
+ "image_caption": [
400
+ "Figure 2: Wide ResNet on CIFAR10. Training set cross-entropy, evaluated as a function of the number of training epochs (a), or the number of parameter updates (b). The three learning curves are identical, but increasing the batch size reduces the number of parameter updates required. "
401
+ ],
402
+ "image_footnote": [],
403
+ "bbox": [
404
+ 189,
405
+ 686,
406
+ 805,
407
+ 867
408
+ ],
409
+ "page_idx": 3
410
+ },
411
+ {
412
+ "type": "image",
413
+ "img_path": "images/bce387343d0b4db0706d44ce469bbda419b4177e4c1bc6cbf7ab713d9de09ad9.jpg",
414
+ "image_caption": [
415
+ "Figure 3: Wide ResNet on CIFAR10. Test accuracy during training, for SGD with momentum (a), and Nesterov momentum (b). In both cases, all three schedules track each other extremely closely. "
416
+ ],
417
+ "image_footnote": [],
418
+ "bbox": [
419
+ 191,
420
+ 118,
421
+ 805,
422
+ 292
423
+ ],
424
+ "page_idx": 4
425
+ },
426
+ {
427
+ "type": "text",
428
+ "text": "If the learning rate itself must decay during training, then these schedules should show different learning curves (as a function of the number of training epochs) and reach different final test set accuracies. Meanwhile if it is the noise scale which should decay, all three schedules should be indistinguishable. We plot the evolution of the training set cross entropy in figure 2a, where we train using SGD with momentum and a momentum parameter of 0.9. The three training curves are almost identical, despite showing marked drops as we pass through the first two steps (where the noise scale is reduced). These results suggest that it is the noise scale which is relevant, not the learning rate. ",
429
+ "bbox": [
430
+ 174,
431
+ 359,
432
+ 825,
433
+ 457
434
+ ],
435
+ "page_idx": 4
436
+ },
437
+ {
438
+ "type": "text",
439
+ "text": "To emphasize the potential benefits of increasing the batch size, we replot the training cross-entropy in figure 2b, but as a function of the number of parameter updates rather than the number of epochs. While all three schedules match up to the first “step”, after this point increasing the batch size dramatically reduces the number of parameter updates required to train the model. Finally, to confirm that our alternative learning schedules generalize equally well to the test set, in figure 3a we exhibit the test set accuracy, as a function of the number of epochs (so each curve can be directly compared). Once again, the three schedules are almost identical. We conclude that we can achieve all of the benefits of decaying the learning rate in these experiments by instead increasing the batch size. ",
440
+ "bbox": [
441
+ 173,
442
+ 463,
443
+ 825,
444
+ 575
445
+ ],
446
+ "page_idx": 4
447
+ },
448
+ {
449
+ "type": "text",
450
+ "text": "We present additional results to establish that our proposal holds for a range of optimizers, all using the schedules presented in figure 1. In figure 3b, we present the test set accuracy, when training with Nesterov momentum (Nesterov, 1983) and momentum parameter 0.9, observing three nearidentical curves. In figure 4a, we repeat the same experiment with vanilla SGD, again obtaining three highly similar curves (In this case, there is no clear benefit of decaying the learning rate after the first step). Finally in figure 4b we repeat the experiment with Adam (Kingma & Ba, 2014). We use the default parameter settings of TensorFlow, such that the initial base learning rate here was $1 0 ^ { - 3 }$ , $\\beta _ { 1 } = 0 . 9$ and $\\beta _ { 2 } = 0 . 9 9 9$ . Thus the learning rate schedule is obtained by dividing figure 1a by $1 0 ^ { - 2 }$ . Remarkably, even here the three curves closely track each other. ",
451
+ "bbox": [
452
+ 174,
453
+ 582,
454
+ 825,
455
+ 666
456
+ ],
457
+ "page_idx": 4
458
+ },
459
+ {
460
+ "type": "image",
461
+ "img_path": "images/7a3acd8374c49c6588ad4299f4f686aea4cd7e6380eeafef62505f220d4db08d.jpg",
462
+ "image_caption": [
463
+ "Figure 4: Wide ResNet on CIFAR10. The test set accuracy during training, for vanilla SGD (a) and Adam (b). Once again, all three schedules result in equivalent test set performance. "
464
+ ],
465
+ "image_footnote": [],
466
+ "bbox": [
467
+ 191,
468
+ 707,
469
+ 805,
470
+ 881
471
+ ],
472
+ "page_idx": 4
473
+ },
474
+ {
475
+ "type": "image",
476
+ "img_path": "images/c64a2841b91e74b589c9428e7b9c5d898581eba4bce547a7d1df97c63fe6ca1b.jpg",
477
+ "image_caption": [
478
+ "Figure 5: Wide ResNet on CIFAR10. Test accuracy as a function of the number of parameter updates. “Increasing batch size” replaces learning rate decay by batch size increases. “Increased initial learning rate” additionally increases the initial learning rate from 0.1 to 0.5. Finally “Increased momentum coefficient” also increases the momentum coefficient from 0.9 to 0.98. "
479
+ ],
480
+ "image_footnote": [],
481
+ "bbox": [
482
+ 305,
483
+ 98,
484
+ 686,
485
+ 306
486
+ ],
487
+ "page_idx": 5
488
+ },
489
+ {
490
+ "type": "text",
491
+ "text": "",
492
+ "bbox": [
493
+ 176,
494
+ 405,
495
+ 825,
496
+ 448
497
+ ],
498
+ "page_idx": 5
499
+ },
500
+ {
501
+ "type": "text",
502
+ "text": "5.2 INCREASING THE EFFECTIVE LEARNING RATE ",
503
+ "text_level": 1,
504
+ "bbox": [
505
+ 178,
506
+ 467,
507
+ 529,
508
+ 481
509
+ ],
510
+ "page_idx": 5
511
+ },
512
+ {
513
+ "type": "text",
514
+ "text": "We now focus on our secondary objective; minimizing the number of parameter updates required to train a model. As shown above, the first step is to replace decaying learning rates by increasing batch sizes. We show here that we can also increase the effective learning rate $\\epsilon _ { e f f } = \\dot { \\epsilon } / ( 1 - m \\bar { ) }$ at the start of training, while scaling the initial batch size $B \\propto \\epsilon _ { e f f }$ . All experiments are conducted using SGD with momentum. There are 50000 images in the CIFAR-10 training set, and since the scaling rules only hold when $B \\ll N$ , we decided to set a maximum batch size $B _ { m a x } = 5 1 2 0$ . ",
515
+ "bbox": [
516
+ 174,
517
+ 492,
518
+ 825,
519
+ 577
520
+ ],
521
+ "page_idx": 5
522
+ },
523
+ {
524
+ "type": "text",
525
+ "text": "We consider four training schedules, all of which decay the noise scale by a factor of five in a series of three steps. “Original training schedule” follows the implementation of Zagoruyko & Komodakis (2016), using an initial learning rate of 0.1 which decays by a factor of 5 at each step, a momentum coefficient of 0.9, and a batch size of 128. “Increasing batch size” also uses a learning rate of 0.1, initial batch size of 128 and momentum coefficient of 0.9, but the batch size increases by a factor of 5 at each step. These schedules are identical to “Decaying learning rate” and “Increasing batch size” in section 5.1 above. “Increased initial learning rate” also uses increasing batch sizes during training, but additionally uses an initial learning rate of 0.5 and an initial batch size of 640. Finally “Increased momentum coefficient” combines increasing batch sizes during training and the increased initial learning rate of 0.5, with an increased momentum coefficient of 0.98, and an initial batch size of 3200. Note that we only increase the batch size until it reaches $B _ { m a x }$ , after this point we achieve subsequent decays in noise scale by decreasing the learning rate. We emphasize that, as in the previous section, all four schedules require the same number of training epochs. ",
526
+ "bbox": [
527
+ 174,
528
+ 583,
529
+ 825,
530
+ 763
531
+ ],
532
+ "page_idx": 5
533
+ },
534
+ {
535
+ "type": "text",
536
+ "text": "We plot the evolution of the test set accuracy in figure 5, as a function of the number of parameter updates. Our implementation of the original training schedule requires ${ \\sim } 8 0 0 0 0$ updates, and reaches a final test accuracy of $9 4 . 3 \\%$ (the original paper reports $9 5 \\%$ accuracy, which we have not been able to replicate). “Increasing batch size” requires ${ \\sim } 2 9 0 0 0$ updates, reaching a final accuracy of $9 4 . 4 \\%$ . “Increased initial learning rate” requires under 6500 updates, reaching a final accuracy of $9 4 . 5 \\%$ . Finally, “Increased momentum coefficient” requires less than 2500 parameter updates, but reaches a lower test accuracy of $9 3 . 3 \\%$ . Across five additional training runs for each schedule, the median accuracies were $9 4 . { \\dot { 3 } } \\%$ , $9 4 . 2 \\%$ , $9 4 . 2 \\%$ and $9 3 . 5 \\%$ respectively. We discussed a potential explanation for the performance drop when training with large momentum coefficients in section 4. We provide additional results in appendix B, varying the initial learning rate between 0.1 and 3.2 while holding the batch size constant. We find that the test accuracy falls for initial learning rates larger than ${ \\sim } 0 . 4$ . ",
537
+ "bbox": [
538
+ 174,
539
+ 771,
540
+ 825,
541
+ 924
542
+ ],
543
+ "page_idx": 5
544
+ },
545
+ {
546
+ "type": "image",
547
+ "img_path": "images/cb239d8eb35e89fd6feec9cab05500db53c771189fe3662bafbba1dd4318c3fa.jpg",
548
+ "image_caption": [
549
+ "Figure 6: Inception-ResNet-V2 on ImageNet. Increasing the batch size during training achieves similar results to decaying the learning rate, but it reduces the number of parameter updates from just over 14000 to below 6000. We run each experiment twice to illustrate the variance. "
550
+ ],
551
+ "image_footnote": [],
552
+ "bbox": [
553
+ 189,
554
+ 112,
555
+ 805,
556
+ 294
557
+ ],
558
+ "page_idx": 6
559
+ },
560
+ {
561
+ "type": "text",
562
+ "text": "5.3 TRAINING IMAGENET IN 2500 PARAMETER UPDATES ",
563
+ "text_level": 1,
564
+ "bbox": [
565
+ 173,
566
+ 400,
567
+ 583,
568
+ 414
569
+ ],
570
+ "page_idx": 6
571
+ },
572
+ {
573
+ "type": "text",
574
+ "text": "We now apply our insights to reduce the number of parameter updates required to train ImageNet. Goyal et al. (2017) trained a ResNet-50 on ImageNet in one hour, reaching $7 6 . 3 \\%$ validation accuracy. To achieve this, they used batches of 8192, with an initial learning rate of 3.2 and a momentum coefficient of 0.9. They completed 90 training epochs, decaying the learning rate by a factor of ten at the 30th, 60th and 80th epoch. ImageNet contains around 1.28 million images, so this corresponds to ${ \\sim } 1 4 0 0 0$ parameter updates. They also introduced a warm-up phase at the start of training, in which the learning rate and batch size was gradually increased. ",
575
+ "bbox": [
576
+ 174,
577
+ 438,
578
+ 825,
579
+ 535
580
+ ],
581
+ "page_idx": 6
582
+ },
583
+ {
584
+ "type": "text",
585
+ "text": "We also train for 90 epochs and follow the same schedule, decaying the noise scale by a factor of ten at the 30th, 60th and 80th epoch. However we did not include a warm-up phase. To set a stronger baseline, we replaced ResNet-50 by Inception-ResNet-V2 (Szegedy et al., 2017). Initially we used a ghost batch size of 32. In figure 6, we train with a learning rate of 3.0 and a momentum coefficient of 0.9. The initial batch size was 8192. For “Decaying learning rate”, we hold the batch size fixed and decay the learning rate, while in “Increasing batch size” we increase the batch size to 81920 at the first step, but decay the learning rate at the following two steps. We repeat each schedule twice, and find that all four runs exhibit a very similar evolution of the test set accuracy during training. The final accuracies of the two “Decaying learning rate” runs are $7 8 . 7 \\%$ and $7 7 . 8 \\%$ , while the final accuracy of the two “Increasing batch size” runs are $7 8 . 1 \\%$ and $7 6 . 8 \\%$ . Although there is a slight drop, the difference in final test accuracies is similar to the variance between training runs. Increasing the batch size reduces the number of parameter updates during training from just over 14000 to below 6000. Note that the training curves appear unusually noisy because we reduced the number of test set evaluations to reduce the model training time. ",
586
+ "bbox": [
587
+ 174,
588
+ 541,
589
+ 825,
590
+ 736
591
+ ],
592
+ "page_idx": 6
593
+ },
594
+ {
595
+ "type": "text",
596
+ "text": "Goyal et al. (2017) already increased the learning rate close to its maximum stable value. To further reduce the number of parameter updates we must increase the momentum coefficient. We introduce a maximum batch size, $B _ { m a x } = \\dot { 2 } ^ { 1 6 } = 6 5 5 3 6$ . This ensures $B \\ll N$ , and it also improved the stability of our distributed training. We also increased the ghost batch size to 64, matching the batch size of our GPUs and reducing the training time. We compare three different schedules, all of which have the same base schedule, decaying the noise scale by a factor of ten at the 30th, 60th and 80th epoch. We use an initial learning rate of 3 throughout. “Momentum $0 . 9 ^ { \\ast }$ uses an initial batch size of 8192, “Momentum $0 . 9 7 5 ^ { \\cdot }$ uses an initial batch size of 16384, and “Momentum $0 . 9 8 7 5 '$ uses an initial batch size of 32768. For all schedules, we decay the noise scale by increasing the batch size until reaching $B _ { m a x }$ , and then decay the learning rate. We plot the test set accuracy in figure 7. “Momentum $0 . 9 ^ { \\prime }$ achieves a final accuracy of $7 8 . 8 \\%$ in just under 6000 updates. We performed two runs of “Momentum $0 . 9 5 '$ , achieving final accuracies of $7 8 . 1 \\%$ and $7 7 . { \\bar { 8 \\% } }$ in under 3500 updates. Finally “Momentum $0 . 9 7 5 ^ { \\cdot }$ achieves final accuracies of $7 7 . 5 \\%$ and $7 6 . 8 \\%$ in under 2500 updates. ",
597
+ "bbox": [
598
+ 174,
599
+ 743,
600
+ 825,
601
+ 922
602
+ ],
603
+ "page_idx": 6
604
+ },
605
+ {
606
+ "type": "image",
607
+ "img_path": "images/ad6507b3ef16598af644328b400200847039dd87899409b9b70d11fb2ff2895c.jpg",
608
+ "image_caption": [
609
+ "Figure 7: Inception-ResNet-V2 on ImageNet. Increasing the momentum parameter reduces the number of parameter updates required, but it also leads to a small drop in final test accuracy. "
610
+ ],
611
+ "image_footnote": [],
612
+ "bbox": [
613
+ 191,
614
+ 107,
615
+ 802,
616
+ 290
617
+ ],
618
+ "page_idx": 7
619
+ },
620
+ {
621
+ "type": "text",
622
+ "text": "5.4 TRAINING IMAGENET IN 30 MINUTES ",
623
+ "text_level": 1,
624
+ "bbox": [
625
+ 176,
626
+ 357,
627
+ 475,
628
+ 371
629
+ ],
630
+ "page_idx": 7
631
+ },
632
+ {
633
+ "type": "text",
634
+ "text": "To confirm that increasing the batch size during training can reduce model training times, we replicated the set-up described by Goyal et al. (2017) on a half TPU pod, comprising 256 tensorcores (Jouppi et al., 2017). Using tensorFlow, we first train ResNet-50 for 90 epochs to $7 6 . 1 \\%$ validation set accuracy in under 45 minutes, utilising batches of 8192 images. To utilise the full TPU pod, we then increase the batch size after the first 30 epochs to 16384 images, and achieve the same validation accuracy of $7 6 . 1 \\%$ in under 30 minutes. The last 60 epochs and the first 30 epochs both take just under 15 minutes, demonstrating near-perfect scaling efficiency across the pod, such that the number of parameter updates provides a meaningful measure of the training time. To our knowledge, this is the first procedure which has reduced the training time of Goyal et al. (2017) without sacrificing final validation accuracy (You et al., 2017b; Akiba et al., 2017). By contrast, doubling the initial learning rate and using batches of 16384 images throughout training achieves a lower validation set accuracy of $7 5 . 0 \\%$ in 22 minutes, demonstrating that increasing the batch size during training is crucial to the performance gains above. These results show that the ideas presented in this paper will become increasingly important as new hardware for large-batch training becomes available. ",
635
+ "bbox": [
636
+ 174,
637
+ 383,
638
+ 825,
639
+ 577
640
+ ],
641
+ "page_idx": 7
642
+ },
643
+ {
644
+ "type": "text",
645
+ "text": "6 RELATED WORK ",
646
+ "text_level": 1,
647
+ "bbox": [
648
+ 176,
649
+ 599,
650
+ 341,
651
+ 614
652
+ ],
653
+ "page_idx": 7
654
+ },
655
+ {
656
+ "type": "text",
657
+ "text": "This paper extends the analysis of SGD in Smith & Le (2017) to include decaying learning rates. Mandt et al. (2017) also interpreted SGD as a stochastic differential equation, in order to discuss how SGD could be modified to perform approximate Bayesian posterior sampling. However they state that their analysis holds only in the neighborhood of a minimum, while Keskar et al. (2016) showed that the beneficial effects of noise are most pronounced at the start of training. Li et al. (2017) proposed the use of control theory to set the learning rate and momentum coefficient. ",
658
+ "bbox": [
659
+ 174,
660
+ 631,
661
+ 823,
662
+ 715
663
+ ],
664
+ "page_idx": 7
665
+ },
666
+ {
667
+ "type": "text",
668
+ "text": "Goyal et al. (2017) observed a linear scaling rule between batch size and learning rate, $B \\propto \\epsilon$ and used this rule to reduce the time required to train ResNet-50 on ImageNet to one hour. To our knowledge, this scaling rule was fist adopted by Krizhevsky (2014). Bottou et al. (2016) (section 4.2) demonstrated that SGD converges to strongly convex minima in similar numbers of training√ epochs if $B \\propto \\epsilon$ . Hoffer et al. (2017) proposed an alternative scaling rule, $B \\propto \\sqrt { \\epsilon }$ . ",
669
+ "bbox": [
670
+ 174,
671
+ 722,
672
+ 823,
673
+ 791
674
+ ],
675
+ "page_idx": 7
676
+ },
677
+ {
678
+ "type": "text",
679
+ "text": "You et al. (2017a) proposed Layer-wise Adaptive Rate Scaling (LARS), which applies different learning rates to different parameters in the network, and used it to train ImageNet in 14 minutes (You et al., 2017b), albeit to a lower final accuracy of $7 4 . 9 \\%$ . K-FAC (Martens & Grosse, 2015) is also gaining popularity as an efficient alternative to SGD. Wilson et al. (2017) argued that adaptive optimization methods tend to generalize less well than SGD and SGD with momentum (although they did not include K-FAC in their study), while our work reduces the gap in convergence speed. Asynchronous-SGD is another popular strategy, which enables the use of multiple GPUs even when batch sizes are small (Recht et al., 2011; Dean et al., 2012). We do not consider asynchronous-SGD in this work, since the scaling rules enabled us to use batch sizes on the order of the training set size. ",
680
+ "bbox": [
681
+ 174,
682
+ 797,
683
+ 825,
684
+ 924
685
+ ],
686
+ "page_idx": 7
687
+ },
688
+ {
689
+ "type": "text",
690
+ "text": "7 CONCLUSIONS ",
691
+ "text_level": 1,
692
+ "bbox": [
693
+ 176,
694
+ 102,
695
+ 328,
696
+ 117
697
+ ],
698
+ "page_idx": 8
699
+ },
700
+ {
701
+ "type": "text",
702
+ "text": "We can often achieve the benefits of decaying the learning rate by instead increasing the batch size during training. We support this claim with experiments on CIFAR-10 and ImageNet, and with a range of optimizers including SGD, Momentum and Adam. Our findings enable the efficient use of vast batch sizes, significantly reducing the number of parameter updates required to train a model. This has the potential to dramatically reduce model training times. We further increase the batch size $B$ by increasing the learning rate $\\epsilon$ and momentum parameter $m$ , while scaling $B \\propto \\epsilon / ( 1 - m )$ . Combining these strategies, we train Inception-ResNet-V2 on ImageNet to $7 7 \\%$ validation accuracy in under 2500 parameter updates, using batches of 65536 images. We also exploit increasing batch sizes to train ResNet-50 to $7 6 . 1 \\%$ ImageNet validation set accuracy on TPU in under 30 minutes. Most strikingly, we achieve this without any hyper-parameter tuning, since our scaling rules enable us to directly convert existing hyper-parameter choices from the literature for large batch training. ",
703
+ "bbox": [
704
+ 174,
705
+ 133,
706
+ 825,
707
+ 286
708
+ ],
709
+ "page_idx": 8
710
+ },
711
+ {
712
+ "type": "text",
713
+ "text": "ACKNOWLEDGMENTS ",
714
+ "text_level": 1,
715
+ "bbox": [
716
+ 176,
717
+ 304,
718
+ 326,
719
+ 318
720
+ ],
721
+ "page_idx": 8
722
+ },
723
+ {
724
+ "type": "text",
725
+ "text": "We thank Prajit Ramachandran, Gabriel Bender, Matthew Johnson and Martin Abadi for helpful discussions. We also thank Vijay Vasudevan, Brennan Saeta, Jonathan Hseu, Bjarke Roune and the rest of the TPU team for technical support. ",
726
+ "bbox": [
727
+ 176,
728
+ 328,
729
+ 823,
730
+ 371
731
+ ],
732
+ "page_idx": 8
733
+ },
734
+ {
735
+ "type": "text",
736
+ "text": "REFERENCES ",
737
+ "text_level": 1,
738
+ "bbox": [
739
+ 176,
740
+ 393,
741
+ 285,
742
+ 407
743
+ ],
744
+ "page_idx": 8
745
+ },
746
+ {
747
+ "type": "text",
748
+ "text": "Takuya Akiba, Shuji Suzuki, and Keisuke Fukuda. Extremely large minibatch sgd: Training resnet50 on imagenet in 15 minutes. arXiv preprint arXiv:1711.04325, 2017. ",
749
+ "bbox": [
750
+ 174,
751
+ 416,
752
+ 821,
753
+ 445
754
+ ],
755
+ "page_idx": 8
756
+ },
757
+ {
758
+ "type": "text",
759
+ "text": "Lukas Balles, Javier Romero, and Philipp Hennig. Coupling adaptive batch sizes with learning rates. arXiv preprint arXiv:1612.05086, 2016. ",
760
+ "bbox": [
761
+ 173,
762
+ 455,
763
+ 821,
764
+ 484
765
+ ],
766
+ "page_idx": 8
767
+ },
768
+ {
769
+ "type": "text",
770
+ "text": "Leon Bottou, Frank E Curtis, and Jorge Nocedal. Optimization methods for large-scale machine ´ learning. arXiv preprint arXiv:1606.04838, 2016. ",
771
+ "bbox": [
772
+ 174,
773
+ 494,
774
+ 821,
775
+ 525
776
+ ],
777
+ "page_idx": 8
778
+ },
779
+ {
780
+ "type": "text",
781
+ "text": "Richard H Byrd, Gillian M Chin, Jorge Nocedal, and Yuchen Wu. Sample size selection in optimization methods for machine learning. Mathematical programming, 134(1):127–155, 2012. ",
782
+ "bbox": [
783
+ 173,
784
+ 535,
785
+ 821,
786
+ 564
787
+ ],
788
+ "page_idx": 8
789
+ },
790
+ {
791
+ "type": "text",
792
+ "text": "Pratik Chaudhari, Anna Choromanska, Stefano Soatto, and Yann LeCun. Entropy-SGD: Biasing gradient descent into wide valleys. arXiv preprint arXiv:1611.01838, 2016. ",
793
+ "bbox": [
794
+ 173,
795
+ 575,
796
+ 823,
797
+ 604
798
+ ],
799
+ "page_idx": 8
800
+ },
801
+ {
802
+ "type": "text",
803
+ "text": "Soham De, Abhay Yadav, David Jacobs, and Tom Goldstein. Automated inference with adaptive batches. In Artificial Intelligence and Statistics, pp. 1504–1513, 2017. ",
804
+ "bbox": [
805
+ 171,
806
+ 614,
807
+ 823,
808
+ 645
809
+ ],
810
+ "page_idx": 8
811
+ },
812
+ {
813
+ "type": "text",
814
+ "text": "Jeffrey Dean, Greg Corrado, Rajat Monga, Kai Chen, Matthieu Devin, Mark Mao, Andrew Senior, Paul Tucker, Ke Yang, Quoc V Le, et al. Large scale distributed deep networks. In Advances in neural information processing systems, pp. 1223–1231, 2012. ",
815
+ "bbox": [
816
+ 176,
817
+ 654,
818
+ 823,
819
+ 698
820
+ ],
821
+ "page_idx": 8
822
+ },
823
+ {
824
+ "type": "text",
825
+ "text": "Michael P Friedlander and Mark Schmidt. Hybrid deterministic-stochastic methods for data fitting. SIAM Journal on Scientific Computing, 34(3):A1380–A1405, 2012. ",
826
+ "bbox": [
827
+ 174,
828
+ 708,
829
+ 821,
830
+ 738
831
+ ],
832
+ "page_idx": 8
833
+ },
834
+ {
835
+ "type": "text",
836
+ "text": "Priya Goyal, Piotr Dollar, Ross Girshick, Pieter Noordhuis, Lukasz Wesolowski, Aapo Kyrola, An-´ drew Tulloch, Yangqing Jia, and Kaiming He. Accurate, large minibatch SGD: Training imagenet in 1 hour. arXiv preprint arXiv:1706.02677, 2017. ",
837
+ "bbox": [
838
+ 176,
839
+ 748,
840
+ 821,
841
+ 791
842
+ ],
843
+ "page_idx": 8
844
+ },
845
+ {
846
+ "type": "text",
847
+ "text": "Sepp Hochreiter and Jurgen Schmidhuber. Flat minima. ¨ Neural Computation, 9(1):1–42, 1997. ",
848
+ "bbox": [
849
+ 173,
850
+ 801,
851
+ 797,
852
+ 818
853
+ ],
854
+ "page_idx": 8
855
+ },
856
+ {
857
+ "type": "text",
858
+ "text": "Elad Hoffer, Itay Hubara, and Daniel Soudry. Train longer, generalize better: closing the generalization gap in large batch training of neural networks. arXiv preprint arXiv:1705.08741, 2017. ",
859
+ "bbox": [
860
+ 171,
861
+ 828,
862
+ 821,
863
+ 857
864
+ ],
865
+ "page_idx": 8
866
+ },
867
+ {
868
+ "type": "text",
869
+ "text": "Norman P Jouppi, Cliff Young, Nishant Patil, David Patterson, Gaurav Agrawal, Raminder Bajwa, Sarah Bates, Suresh Bhatia, Nan Boden, Al Borchers, et al. In-datacenter performance analysis of a tensor processing unit. In Proceedings of the 44th Annual International Symposium on Computer Architecture, pp. 1–12. ACM, 2017. ",
870
+ "bbox": [
871
+ 176,
872
+ 867,
873
+ 825,
874
+ 922
875
+ ],
876
+ "page_idx": 8
877
+ },
878
+ {
879
+ "type": "text",
880
+ "text": "Nitish Shirish Keskar, Dheevatsa Mudigere, Jorge Nocedal, Mikhail Smelyanskiy, and Ping Tak Peter Tang. On large-batch training for deep learning: Generalization gap and sharp minima. arXiv preprint arXiv:1609.04836, 2016. ",
881
+ "bbox": [
882
+ 176,
883
+ 103,
884
+ 823,
885
+ 146
886
+ ],
887
+ "page_idx": 9
888
+ },
889
+ {
890
+ "type": "text",
891
+ "text": "Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. ",
892
+ "bbox": [
893
+ 173,
894
+ 157,
895
+ 821,
896
+ 186
897
+ ],
898
+ "page_idx": 9
899
+ },
900
+ {
901
+ "type": "text",
902
+ "text": "Alex Krizhevsky. One weird trick for parallelizing convolutional neural networks. arXiv preprint arXiv:1404.5997, 2014. ",
903
+ "bbox": [
904
+ 173,
905
+ 198,
906
+ 823,
907
+ 227
908
+ ],
909
+ "page_idx": 9
910
+ },
911
+ {
912
+ "type": "text",
913
+ "text": "Qianxiao Li, Cheng Tai, and E Weinan. Stochastic modified equations and adaptive stochastic gradient algorithms. arXiv preprint arXiv:1511.06251, 2017. ",
914
+ "bbox": [
915
+ 169,
916
+ 238,
917
+ 825,
918
+ 268
919
+ ],
920
+ "page_idx": 9
921
+ },
922
+ {
923
+ "type": "text",
924
+ "text": "Ilya Loshchilov and Frank Hutter. SGDR: stochastic gradient descent with restarts. arXiv preprint arXiv:1608.03983, 2016. ",
925
+ "bbox": [
926
+ 173,
927
+ 279,
928
+ 823,
929
+ 308
930
+ ],
931
+ "page_idx": 9
932
+ },
933
+ {
934
+ "type": "text",
935
+ "text": "Stephan Mandt, Matthew D Hoffman, and David M Blei. Stochastic gradient descent as approximate bayesian inference. arXiv preprint arXiv:1704.04289, 2017. ",
936
+ "bbox": [
937
+ 173,
938
+ 319,
939
+ 823,
940
+ 349
941
+ ],
942
+ "page_idx": 9
943
+ },
944
+ {
945
+ "type": "text",
946
+ "text": "James Martens and Roger Grosse. Optimizing neural networks with kronecker-factored approximate curvature. In International Conference on Machine Learning, pp. 2408–2417, 2015. ",
947
+ "bbox": [
948
+ 171,
949
+ 359,
950
+ 823,
951
+ 390
952
+ ],
953
+ "page_idx": 9
954
+ },
955
+ {
956
+ "type": "text",
957
+ "text": "Yurii Nesterov. A method of solving a convex programming problem with convergence rate o (1/k2). In Soviet Mathematics Doklady, volume 27, pp. 372–376, 1983. ",
958
+ "bbox": [
959
+ 173,
960
+ 400,
961
+ 820,
962
+ 430
963
+ ],
964
+ "page_idx": 9
965
+ },
966
+ {
967
+ "type": "text",
968
+ "text": "Lutz Prechelt. Early stopping-but when? Neural Networks: Tricks of the trade, pp. 553–553, 1998. ",
969
+ "bbox": [
970
+ 173,
971
+ 440,
972
+ 823,
973
+ 457
974
+ ],
975
+ "page_idx": 9
976
+ },
977
+ {
978
+ "type": "text",
979
+ "text": "Benjamin Recht, Christopher Re, Stephen Wright, and Feng Niu. Hogwild: A lock-free approach to parallelizing stochastic gradient descent. In Advances in neural information processing systems, pp. 693–701, 2011. ",
980
+ "bbox": [
981
+ 173,
982
+ 467,
983
+ 823,
984
+ 511
985
+ ],
986
+ "page_idx": 9
987
+ },
988
+ {
989
+ "type": "text",
990
+ "text": "Herbert Robbins and Sutton Monro. A stochastic approximation method. The annals of mathematical statistics, pp. 400–407, 1951. ",
991
+ "bbox": [
992
+ 173,
993
+ 522,
994
+ 821,
995
+ 551
996
+ ],
997
+ "page_idx": 9
998
+ },
999
+ {
1000
+ "type": "text",
1001
+ "text": "Samuel L. Smith and Quoc V. Le. A bayesian perspective on generalization and stochastic gradient descent. arXiv preprint arXiv:1710.06451, 2017. ",
1002
+ "bbox": [
1003
+ 173,
1004
+ 563,
1005
+ 823,
1006
+ 592
1007
+ ],
1008
+ "page_idx": 9
1009
+ },
1010
+ {
1011
+ "type": "text",
1012
+ "text": "Christian Szegedy, Sergey Ioffe, Vincent Vanhoucke, and Alexander A Alemi. Inception-v4, Inception-ResNet and the impact of residual connections on learning. In AAAI, pp. 4278–4284, 2017. ",
1013
+ "bbox": [
1014
+ 174,
1015
+ 603,
1016
+ 823,
1017
+ 646
1018
+ ],
1019
+ "page_idx": 9
1020
+ },
1021
+ {
1022
+ "type": "text",
1023
+ "text": "Max Welling and Yee W Teh. Bayesian learning via stochastic gradient langevin dynamics. In Proceedings of the 28th International Conference on Machine Learning (ICML-11), pp. 681–688, 2011. ",
1024
+ "bbox": [
1025
+ 173,
1026
+ 656,
1027
+ 825,
1028
+ 700
1029
+ ],
1030
+ "page_idx": 9
1031
+ },
1032
+ {
1033
+ "type": "text",
1034
+ "text": "Ashia C Wilson, Rebecca Roelofs, Mitchell Stern, Nathan Srebro, and Benjamin Recht. The marginal value of adaptive gradient methods in machine learning. arXiv preprint arXiv:1705.08292, 2017. ",
1035
+ "bbox": [
1036
+ 174,
1037
+ 712,
1038
+ 826,
1039
+ 755
1040
+ ],
1041
+ "page_idx": 9
1042
+ },
1043
+ {
1044
+ "type": "text",
1045
+ "text": "Yang You, Igor Gitman, and Boris Ginsburg. Scaling SGD batch size to 32k for imagenet training. arXiv preprint arXiv:1708.03888, 2017a. ",
1046
+ "bbox": [
1047
+ 169,
1048
+ 765,
1049
+ 823,
1050
+ 795
1051
+ ],
1052
+ "page_idx": 9
1053
+ },
1054
+ {
1055
+ "type": "text",
1056
+ "text": "Yang You, Zhao Zhang, C Hsieh, James Demmel, and Kurt Keutzer. Imagenet training in minutes. CoRR, abs/1709.05011, 2017b. ",
1057
+ "bbox": [
1058
+ 174,
1059
+ 806,
1060
+ 823,
1061
+ 835
1062
+ ],
1063
+ "page_idx": 9
1064
+ },
1065
+ {
1066
+ "type": "text",
1067
+ "text": "Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. arXiv preprint arXiv:1605.07146, 2016. ",
1068
+ "bbox": [
1069
+ 174,
1070
+ 847,
1071
+ 825,
1072
+ 876
1073
+ ],
1074
+ "page_idx": 9
1075
+ },
1076
+ {
1077
+ "type": "text",
1078
+ "text": "Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. arXiv preprint arXiv:1611.03530, 2016. ",
1079
+ "bbox": [
1080
+ 173,
1081
+ 887,
1082
+ 825,
1083
+ 917
1084
+ ],
1085
+ "page_idx": 9
1086
+ },
1087
+ {
1088
+ "type": "text",
1089
+ "text": "A THE GROWTH OF THE ACCUMULATION AT THE START OF TRAINING ",
1090
+ "text_level": 1,
1091
+ "bbox": [
1092
+ 171,
1093
+ 102,
1094
+ 766,
1095
+ 118
1096
+ ],
1097
+ "page_idx": 10
1098
+ },
1099
+ {
1100
+ "type": "text",
1101
+ "text": "The update equations for SGD with momentum, ",
1102
+ "bbox": [
1103
+ 173,
1104
+ 133,
1105
+ 491,
1106
+ 148
1107
+ ],
1108
+ "page_idx": 10
1109
+ },
1110
+ {
1111
+ "type": "equation",
1112
+ "img_path": "images/f990ad3e1c255572f2f5f205f706a47f79b94f0b4f418e79d156af9957276871.jpg",
1113
+ "text": "$$\n\\begin{array} { r c l } { { \\Delta A } } & { { = } } & { { \\displaystyle - ( 1 - m ) A + \\frac { d \\hat { C } } { d \\omega } , } } \\\\ { { \\Delta \\omega } } & { { = } } & { { \\displaystyle - A \\epsilon . } } \\end{array}\n$$",
1114
+ "text_format": "latex",
1115
+ "bbox": [
1116
+ 395,
1117
+ 154,
1118
+ 599,
1119
+ 205
1120
+ ],
1121
+ "page_idx": 10
1122
+ },
1123
+ {
1124
+ "type": "text",
1125
+ "text": "$A$ is the “accumulation” variable, whil e dCˆdω is the mean gradient per training example, estimated on a batch of size $B$ . We initialize the accumulation to zero, and it takes a number of updates for the magnitude of the accumulation to “grow in”. During this time, the size of the parameter updates $\\Delta \\omega$ is suppressed, reducing the effective learning rate. We can model the growth of the accumulation by assuming that the gradient at the start of training is approximately constant, such that $\\begin{array} { r } { \\frac { d \\hat { C } } { d \\omega } \\approx G } \\end{array}$ . Consequently the accumulation integrates an underlying differential equation, ",
1126
+ "bbox": [
1127
+ 173,
1128
+ 212,
1129
+ 825,
1130
+ 303
1131
+ ],
1132
+ "page_idx": 10
1133
+ },
1134
+ {
1135
+ "type": "equation",
1136
+ "img_path": "images/746a291308bfd44c2703dfdd1145472a95f001b8296927d820dd97582806c19d.jpg",
1137
+ "text": "$$\n\\frac { d A } { d s } = - ( 1 - m ) A + G .\n$$",
1138
+ "text_format": "latex",
1139
+ "bbox": [
1140
+ 415,
1141
+ 308,
1142
+ 583,
1143
+ 339
1144
+ ],
1145
+ "page_idx": 10
1146
+ },
1147
+ {
1148
+ "type": "text",
1149
+ "text": "The variable tial equation $s$ describes thas solution, ates performed.. We note that $A ( 0 ) = 0$ s differen-to obtain, $\\begin{array} { r } { A = \\frac { G } { 1 - m } ( \\bar { 1 } - e ^ { - ( 1 - m \\bar { ) } s } ) } \\end{array}$ $s = ( N / B ) N _ { e p o c h s }$ ",
1150
+ "bbox": [
1151
+ 174,
1152
+ 345,
1153
+ 825,
1154
+ 378
1155
+ ],
1156
+ "page_idx": 10
1157
+ },
1158
+ {
1159
+ "type": "equation",
1160
+ "img_path": "images/80897e34f0b3f9f2105038d84a34d54449a248fc88cb5ff74aa7ad0bbf2a168a.jpg",
1161
+ "text": "$$\nA = \\frac { G } { 1 - m } \\left( 1 - e ^ { - ( 1 - m ) ( N / B ) N _ { e p o c h s } } \\right) .\n$$",
1162
+ "text_format": "latex",
1163
+ "bbox": [
1164
+ 357,
1165
+ 383,
1166
+ 640,
1167
+ 416
1168
+ ],
1169
+ "page_idx": 10
1170
+ },
1171
+ {
1172
+ "type": "text",
1173
+ "text": "$N _ { e p o c h s }$ denotes the number of training epochs performed. The accumulation variable grows in exponentially, and consequently we can estimate the effective number of “lost” training epochs, ",
1174
+ "bbox": [
1175
+ 174,
1176
+ 417,
1177
+ 823,
1178
+ 446
1179
+ ],
1180
+ "page_idx": 10
1181
+ },
1182
+ {
1183
+ "type": "equation",
1184
+ "img_path": "images/93f65e89d97fa83f8d9f3be27575103a93ac218d20fc98a18106e1e3bff6baaa.jpg",
1185
+ "text": "$$\n\\begin{array} { l l l } { { N _ { l o s t } } } & { { = } } & { { \\displaystyle \\int _ { 0 } ^ { \\infty } e ^ { - ( 1 - m ) ( N / B ) N _ { e p o c h s } } d N _ { e p o c h s } } } \\\\ { { } } & { { = } } & { { \\displaystyle \\frac { B } { N ( 1 - m ) } } } \\end{array}\n$$",
1186
+ "text_format": "latex",
1187
+ "bbox": [
1188
+ 338,
1189
+ 452,
1190
+ 658,
1191
+ 522
1192
+ ],
1193
+ "page_idx": 10
1194
+ },
1195
+ {
1196
+ "type": "text",
1197
+ "text": "Since the batch size $B \\propto \\epsilon / ( 1 - m )$ , we find $N _ { l o s t } \\propto \\epsilon / ( N ( 1 - m ) ^ { 2 } )$ . We must either introduce additional training epochs to compensate, or ensure that the number of lost training epochs is negligible, when compared to the total number of training epochs performed before the decaying the noise scale. Note that $N _ { l o s t }$ rises most rapidly when one increases the momentum coefficient. ",
1198
+ "bbox": [
1199
+ 173,
1200
+ 526,
1201
+ 826,
1202
+ 585
1203
+ ],
1204
+ "page_idx": 10
1205
+ },
1206
+ {
1207
+ "type": "text",
1208
+ "text": "B INCREASING THE INITIAL LEARNING RATE ",
1209
+ "text_level": 1,
1210
+ "bbox": [
1211
+ 174,
1212
+ 604,
1213
+ 563,
1214
+ 621
1215
+ ],
1216
+ "page_idx": 10
1217
+ },
1218
+ {
1219
+ "type": "text",
1220
+ "text": "We exhibit the test accuracy of our “16-4” wide ResNet implementation on CIFAR10 in figure 8, as a function of the initial learning rate. For learning rate $\\epsilon = 0 . 1$ , the batch size $B = 1 2 8$ is constant throughout training. This matches the “Original training schedule” of section 5.2 of the main text. When we increase the learning rate we scale $B \\propto \\epsilon$ and perform the same number of training epochs. ",
1221
+ "bbox": [
1222
+ 173,
1223
+ 635,
1224
+ 826,
1225
+ 693
1226
+ ],
1227
+ "page_idx": 10
1228
+ },
1229
+ {
1230
+ "type": "image",
1231
+ "img_path": "images/9e086cf53c37c244b47c6603c379a2f2d2d15c0ec310600622b1d600f9e73651.jpg",
1232
+ "image_caption": [],
1233
+ "image_footnote": [],
1234
+ "bbox": [
1235
+ 352,
1236
+ 722,
1237
+ 643,
1238
+ 876
1239
+ ],
1240
+ "page_idx": 10
1241
+ },
1242
+ {
1243
+ "type": "text",
1244
+ "text": "Figure 8: Wide ResNet on CIFAR10. We can only increase the initial learning rate to $\\sim 0 . 4$ before the final test accuracy starts to fall. Each point provided represents the median of five runs. ",
1245
+ "bbox": [
1246
+ 171,
1247
+ 892,
1248
+ 825,
1249
+ 921
1250
+ ],
1251
+ "page_idx": 10
1252
+ }
1253
+ ]
parse/train/B1Yy1BxCZ/B1Yy1BxCZ_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/B1Yy1BxCZ/B1Yy1BxCZ_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/BJe7h34YDS/BJe7h34YDS.md ADDED
@@ -0,0 +1,554 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # UNDERSTANDING AND STABILIZING GANS’ TRAINING DYNAMICS WITH CONTROL THEORY
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ Generative adversarial networks (GANs) have made significant progress on realistic image generation but often suffer from instability during the training process. Most previous analyses mainly focus on the equilibrium that GANs achieve, whereas a gap exists between such theoretical analyses and practical implementations, where it is the training dynamics that play a vital role in the convergence and stability of GANs. In this paper, we directly model the dynamics of GANs and adopt the control theory to understand and stabilize it. Specifically, we interpret the training process of various GANs as certain types of dynamics in a unified perspective of control theory, which enables us to model the stability and convergence easily. Borrowed from control theory, we adopt the widely-used negative feedback control to stabilize the training dynamics, which can be considered as an $L 2$ regularization on the output of the discriminator. We empirically verify our method on both synthetic data and natural image datasets. The results demonstrate that our method can efficiently stabilize the dynamics and converge to better results.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ Generative adversarial networks (GANs) (Goodfellow et al., 2014) have shown promise in generating realistic natural images (Brock et al., 2018) and facilitating unsupervised and semi-supervised learning (Chen et al., 2016; Li et al., 2017; Donahue & Simonyan, 2019). In GANs, an implicit generator $( G )$ is defined by mapping a noise distribution to the data space. Since no density function is defined for the implicit generator, a discriminator $( D )$ is introduced to estimate the density ratio between the data distribution $p _ { D }$ and the generating distribution $p _ { G }$ by telling the real samples from fake ones. $G$ aims to recover the data distribution by maximizing this ratio. This framework is formulated as a minimax optimization problem, which can be solved by optimizing $G$ and $D$ alternately. In practice, however, GANs can be extremely sensitive to hyperparameters (Lucic et al., 2018; Radford et al., 2015), and oscillations are often observed (Liang et al., 2018; Chavdarova & Fleuret, 2018), thereby suffering from the instability of training (Goodfellow, 2016).
12
+
13
+ There are some theoretical analyses aiming to understand and stabilize the training process of GANs, such as designing different objective functions using other statistical divergences (Nowozin et al., 2016; Nguyen et al., 2017; Du et al., 2018; Mao et al., 2017), and introducing auxiliary regularization terms (Gulrajani et al., 2017; Arjovsky et al., 2017). However, there is a gap between the theoretical analyses and practical implementations: most of previous work assumes that (1) $D$ achieves optimal when training $G$ (Goodfellow et al., 2014; Arjovsky et al., 2017; Gulrajani et al., 2017; Nowozin et al., 2016); and (2) the optimal $D$ is a smooth function of $G$ (Metz et al., 2016). These two assumptions are violated in most practical cases. First, GANs are optimized by alternating between $k$ steps of optimizing $D$ and one step of optimizing $G$ , where $k$ generally takes 1 or 5. It results in a sub-optimal $D$ , especially in the early stage of the training process. Second, $D$ is constant w.r.t. $G$ when $G$ is optimized, which results in missing gradients and an unstable training process (Metz et al., 2016).
14
+
15
+ Instead, to ensure practical convergence, it is the training dynamics of both $G$ and $D$ , i.e., how $G$ (or $D$ ) changes given current $G$ and $D$ during the training process, that should be considered, where the previous two assumptions are no more required. There are some methods that focus on the dynamics of the parameters. Mescheder et al. (2017) and Nagarajan $\&$ Kolter (2017) propose to model the dynamics of the parameters using the vector field defined by its gradients. In such cases, the local convergence and stability are fully determined by the eigenvalues of the Jacobian matrix. Mescheder et al. (2018) further propose a regularization term to stabilize GANs by adjusting the eigenvalues of the Jacobian matrix. Gidel et al. (2018) analyze the effect of momentum and propose to stabilize GANs using negative momentum. In these methods, the Jacobian matrix is the key to understand and stabilize the dynamics, whose calculation is, however, computationally expensive. It largely impedes us to generalize this analysis to complex models such as neural networks (LeCun et al., 2015).
16
+
17
+ In this paper, we argue that modeling the dynamics in the function space is more convenient for convergence analysis. Specifically, we directly model $G$ and $D$ as two dynamics whose output is considered as a signal of time $t$ , i.e., representing the output of $G$ and $D$ as $G ( t , z )$ and $\bar { D ( t , x ) }$ respectively. The control theory (Kailath, 1980) provides a powerful tool to understand them and analyze their stability. Specifically, differential equations can be used to denote the dynamics, e.g., the dyncurrent micsand $G$ can be denoted as y applying Laplaci $\begin{array} { r } { \frac { d G ( t , z ) } { d t } = f ( G , D ) } \end{array}$ , which represents how Widder, 2015) to the diff $G$ changes givenntial equations, $G$ $D$
18
+ the dynamics can be represented as a transfer function, and then the stability and convergence can be easily modeled (Kailath, 1980) as introduced in Sec. 2.
19
+
20
+ Under the above perspective of control theory, we unify the dynamics of $G$ and $D$ as certain dynamics that are well-studied in control theory for various GANs, including Standard GAN (SGAN), WGAN and LSGAN (Mao et al., 2017), as illustrated in Sec. 3 and Appendix A. Specifically, the training process of GANs can be considered as a dynamic whose output is determined by its intrinsic properties (i.e., the objective function of $G$ and $D$ ) and its input (i.e., the data distribution). Within the proposed framework, a variety of existing methods (Mao et al., 2017; Mescheder et al., 2018; Gidel et al., 2018) can be considered as certain controller which is widely used in control theory as discussed in Sec. 4.1 and Appendix C. It is worth noting that through control theory, the stability of GANs can be easily inferred from the transfer function, instead of analyzing the complicated Jacobian matrix of the dynamics. The proposed framework provides a promising direction that can further benefit the training dynamics of GANs using advanced control methods. To verify it, we propose to use the widely adopted controlling method, the negative feedback (NF) control (Åström & Hägglund, 1995), to stabilize GANs. What’s more, when applying NF to stable models, the performance can still be improved. The proposed NF acts as a regularization term which penalizes the $L 2$ norm of the output of $D$ as we described in Sec. 4. NF is verified on the toy data such as Dirac GAN as well as the natural images such as CIFAR10 (Krizhevsky et al., 2009). The results demonstrate that our method can successfully stabilize the dynamics of GANs and outperform the baseline significantly.
21
+
22
+ # 2 PRELIMINARY
23
+
24
+ In this section, we provide the background and preliminary about Laplacian transformation (LT) and control theory. LT is a powerful tool to present an ordinary differential equation (ODE) as a rational fraction. Since most dynamics can be represented as an ODE, LT can largely simplify the analysis of stability by merely analyzing the properties of the rational fraction.
25
+
26
+ # 2.1 LAPLACIAN TRANSFORMATION
27
+
28
+ Laplacian transformation (LT) (Widder, 2015) can be considered as an extension of Fourier transformation (FT), which transforms a signal, i.e., a function of time, to a function of complex variables. Formally, the transformation and its inversion are given by:
29
+
30
+ $$
31
+ \mathcal { F } ( f ) ( s ) = \int _ { 0 } ^ { \infty } f ( t ) e ^ { - s t } d t , \mathcal { F } ^ { - 1 } ( F ) ( t ) = \frac { 1 } { 2 \pi i } \int _ { c - \infty i } ^ { c + \infty i } e ^ { s t } F ( s ) d s ,
32
+ $$
33
+
34
+ where $f$ is a signal that is represented as a function over time $t$ , $c$ is a constant that ensures $F ( s ) \leq \infty$ . $s \in \mathbb { C }$ is a complex number, i.e., $s = \sigma + \omega i$ with real numbers $\sigma$ and $\omega$ and for each $s \in \mathbb { C }$ , $F ( s )$ denotes the components of certain frequency in the original signal $f$ similar to FT.
35
+
36
+ With LT, the integration and derivation can be presented as a single operator, which is given by:
37
+
38
+ $$
39
+ \mathcal { F } ( \frac { d f ( t ) } { d t } ) = s \mathcal { F } ( f ) , \mathcal { F } ( \int _ { 0 } ^ { t } f ( u ) d u ) = \frac { 1 } { s } \mathcal { F } ( f ) .
40
+ $$
41
+
42
+ With this property, an ODE can be converted to an algebraic equation by substituting derivation as an operator $s$ . A simple example is illustrated as follows:
43
+
44
+ $$
45
+ { \frac { d ^ { 2 } x } { d t ^ { 2 } } } = - x + u s ^ { 2 } X = - X + U ,
46
+ $$
47
+
48
+ ![](images/8dfe1255c4491ac79d5d9479cb6c47c8751b713d799ffb40acc1082dbae45a98.jpg)
49
+ Figure 1: The diagram representations of the inputs and dynamics after LT. Left: the original diagram of the spring dynamic in Eqn. (3). Right: the diagram of a classical controlled dynamic with feedback $H _ { b }$ and controller $H _ { c }$ .
50
+
51
+ where $u$ and $x$ are the input and output signal correspondingly and $U$ and $X$ are their Laplacian transformation. This ODE can represent a spring dynamic, whose acceleration $\textstyle { \frac { d ^ { 2 } x } { d t ^ { 2 } } }$ depends on the input $u$ and the current position $x$ according to Hooke’s law. In this case, the ODE can be solved by simply applying the inverse Laplacian transformation to $\begin{array} { r } { X = \frac { 1 } { s ^ { 2 } + 1 } U = H _ { f } ( s ) U ( s ) } \end{array}$ . Here $\begin{array} { r } { H _ { f } ( s ) = \frac { 1 } { s ^ { 2 } + 1 } } \end{array}$ is the transfer function of this dynamic which can also be represented as a diagram illustrated in Fig. 1. Since the input signal can be considered as summation of infinity Dirac signal at different positions, i.e., $\begin{array} { r } { f ( t ) = \overset { \cdot } { \boldsymbol { \int } } f ( \bar { u ( \boldsymbol { \theta } ) } \delta ( t - u ) d u } \end{array}$ where $\delta$ denotes the Dirac delta function (Dirac, 1981), we only need to analyze the output of the dynamics for Dirac signal whose LT is constant, i.e., $\mathcal { F } ( \delta ) = 1$ . Therefore, the transfer function represents the intrinsic properties of the dynamics.
52
+
53
+ # 2.2 CONTROL THEORY AND NEGATIVE FEEDBACK
54
+
55
+ Given a dynamic, or equivalently a transfer function, the stability can be analyzed according to the roots of the denominator of the transfer function, e.g., $s ^ { 2 } + 1 = \mathrm { { \dot { 0 } } }$ for Eqn. (3). The roots are called the poles of the dynamics. Specifically, if all poles’ real parts are negative, the dynamic is stable; if there are poles which are pure imaginary numbers, the dynamic will oscillate; if there is at least one pole with positive real parts, the dynamic will diverge (Kailath, 1980). In the above example, the poles of the dynamic are $0 \pm i$ , which indicates that the object will oscillate around the original.
56
+
57
+ For those unstable dynamics, we need to stabilize it by adjusting the poles of the dynamics. One of the most commonly adopted methods here is introducing negative feedback with an auxiliary controller (Kailath, 1980). The diagram is illustrated in Fig. 1 (right). The $H _ { b } ( s )$ denotes the transfer function of feedback and $H _ { c } ( s )$ denotes the transfer function of controller.
58
+
59
+ In this setting, the dynamic takes the error (i.e., $E ( s ) = U ( s ) - H _ { b } ( s ) X ( s ) )$ rather than $U ( s )$ as input, resulting the fact that the transfer function of the whole controlled dynamic is given by:
60
+
61
+ $$
62
+ E ( s ) = U ( s ) - H _ { b } ( s ) X ( s ) , X ( s ) = H _ { c } ( s ) H _ { f } ( s ) E ( s ) \to X = { \frac { H _ { c } ( s ) H _ { f } ( s ) } { 1 + H _ { c } ( s ) H _ { f } ( s ) H _ { b } ( s ) } } U ,
63
+ $$
64
+
65
+ which provides us an approach to adjust the poles of an unstable dynamic. For most cases, simply adopting the negative feedback, i.e., let $H _ { b } = H _ { c } = 1$ , is enough to stabilize a dynamic. In the following, we provide the dynamics of GANs in the perspective of control theory and introduce the negative feedback control to stabilize the training process of GANs.
66
+
67
+ # 3 UNIFYING THE DYNAMICS OF GANS IN CONTROL THEORY
68
+
69
+ In this section, we provide a novel perspective on the dynamic of GANs. Unlike previous methods that mainly focus on the dynamics of the parameters, we directly model the output of two dynamics $G$ and $D$ in the function space. In this part, we mainly focus on the Dirac GAN as in Mescheder et al. (2018) and unregularized WGAN. This method can be extended to other GANs easily, as we illustrated in Appendix A.
70
+
71
+ To model the dynamics of GANs, we first denote the output of $G$ and $D$ as a function with respect to time $t$ , which is also known as a signal, i.e., $D = D ( t , x )$ and $G = G ( t , z )$ . Then the training process can be represented as a dynamic using an ODE, and the equilibrium is equivalent to the final value of the dynamics (Oppenheim et al., 1998), i.e., the output of the dynamics with $t \to \infty$ .
72
+
73
+ # 3.1 THE DYNAMICS OF DIRAC GAN
74
+
75
+ In Dirac GAN, the data distribution is defined as $p _ { D } ( x ) = \delta _ { c } ( x ) = \delta ( x - c )$ which is the density of an idealized point mass at point $c$ . The generator distribution is defined as $p _ { G } ( x ) = \delta _ { \theta } ( x )$ , where $\theta$ is the learnable parameter of $G$ . In this case, we use $G ( t ) = G ( t , z )$ for simplicity as its output does
76
+
77
+ ![](images/ffcb1e69378a3a3d5782e69967cbbd256632849fabeed55367e1addd1ffeb755.jpg)
78
+ Figure 2: The diagram block of Dirac GAN and unregularized WGAN. Left: Dirac GAN, Right: unregularized WGAN.
79
+
80
+ not depend on $z$ . The discriminator is a simple linear function $D ( t , x ) = \phi ( t ) \times x$ . Therefore, the minimax optimization problem of Dirac GAN is formulated as:
81
+
82
+ $$
83
+ \operatorname* { m i n } _ { G } \operatorname* { m a x } _ { D } \mathbb { E } _ { p _ { D } } [ \phi x ] - \mathbb { E } _ { p _ { G } } [ \phi x ] = c \phi - \theta \phi .
84
+ $$
85
+
86
+ For the discriminator, the objective function is given by: $\begin{array} { r } { \operatorname* { m a x } _ { \phi } U ( D ) = c \phi - \theta \phi } \end{array}$ , which indicates that the dynamics of $D$ can be formulated as:
87
+
88
+ $$
89
+ \frac { \partial U ( D ) } { \partial \phi } = c - \theta \frac { d \phi ( t ) } { d t } = c - \theta \frac { \partial D ( t , x ) } { \partial t } = x \times ( c - \theta ) , \forall x .
90
+ $$
91
+
92
+ By considering $c - \theta$ as the error signal, i.e., $e = c - \theta$ , the dynamics of the discriminator can be modeled as an integral part $\begin{array} { r } { D ( t , x ) = x \int _ { 0 } ^ { t } c - G ( t ) d t } \end{array}$ . By applying LT to the dynamic, we have:
93
+
94
+ $$
95
+ \mathcal { F } ( D ( t , x ) ) = \frac { x \mathcal { F } ( e ) } { s } = \frac { x } { s } E ( s ) , \forall x ,
96
+ $$
97
+
98
+ where we consider the dynamics of $D$ at each $x$ . For the generator, the objective function is given by $\operatorname* { m a x } _ { G } U ( G ) = \theta \phi$ . Therefore the dynamics of $\mathbf { G }$ can be formulated as:
99
+
100
+ $$
101
+ { \frac { \partial U ( G ) } { \partial \theta } } = \phi \to { \frac { d \theta ( t ) } { d t } } = \phi \to { \frac { \partial G ( t ) } { \partial t } } = { \frac { \partial D ( t , x ) } { \partial x } } .
102
+ $$
103
+
104
+ Since $\begin{array} { r } { D ( t , x ) = x \int _ { 0 } ^ { t } c - G ( t ) d t } \end{array}$ , we have ∂D(t,x)∂x = R t0 c − G(t)dt. We therefore combine the x part in $D$ ’s dynamic and the the partial derivation in $G$ into an identity mapping. Then $D$ can be considered as an integral dynamic and its transfer function is given by $\begin{array} { r } { H _ { D } ( s ) = \frac { 1 } { s } } \end{array}$ . Further, the generator also integrate the output of $D$ , which is also $\textstyle { \frac { 1 } { s } }$ .
105
+
106
+ Hence, the block diagram of the Dirac GAN is illustrated in the left panel of Fig. 2. As we can see, $D$ takes the difference between the real sample and fake sample, i.e., $c - \theta$ as input, and output the integration of the input signal. The generator takes $D$ ’s output as input and output the generator distribution which is the integration of $D$ ’s output.
107
+
108
+ Remark 1. When treating $G$ and $D$ as dynamics, the both the inputs and outputs of the dynamics are functions over $t$ . For example, the input of $D$ is $p _ { D } ( t , x ) - p _ { G } ( \bar { t } , x )$ and the output is $D ( t , x )$ .
109
+
110
+ # 3.2 THE DYNAMICS OF WGAN
111
+
112
+ In this subsection, we further model the dynamics of WGAN (Arjovsky et al., 2017) without Lipschitz continuity constraints in the function space. In this case, we consider the nonparametric setting, where $D$ is a piece-wise linear function, $G$ is a mapping from the noise space to the data space, and both of them are of infinite capacity. This analysis can be extended to other variants of GANs easily.
113
+
114
+ In the general case, the objective function of $D$ is given by:
115
+
116
+ $$
117
+ \operatorname* { m a x } _ { D } U ( D ) = \mathbb { E } _ { p _ { D } } [ D ( x ) ] - \mathbb { E } _ { p _ { G } } [ D ( x ) ] = \int ( p _ { D } ( x ) - p _ { G } ( x ) ) D ( x ) d x .
118
+ $$
119
+
120
+ According to the calculus of variations (Gelfand et al., 2000), the gradient of $U ( D )$ with respect to the function $D$ , and the dynamic of $D$ are given by:
121
+
122
+ $$
123
+ \frac { \partial U ( D ) } { \partial D } = p _ { D } - p _ { G } \frac { d D ( t , x ) } { d t } = p _ { D } ( x ) - p _ { G } ( x ) .
124
+ $$
125
+
126
+ Since the input signal is $p _ { D } - p _ { G }$ , the dynamics of WGAN is similar to that of the Dirac GAN, whose transfer function can be denoted as $\begin{array} { r } { H _ { D } ( s ) = \frac { 1 } { s } } \end{array}$ .
127
+
128
+ For the generator, the objective function and its dynamics are given by:
129
+
130
+ $$
131
+ \operatorname* { m a x } _ { G } U ( G ) = \mathbb { E } _ { p _ { z } ( z ) } [ D ( G ( z ) ) ] = \int p _ { z } ( z ) D ( G ( z ) ) d z \frac { \partial U ( G ) } { \partial G } = p _ { z } ( z ) \frac { \partial D ( G ( z ) ) } { \partial G ( z ) } , \forall z .
132
+ $$
133
+
134
+ It is worth noting that compared to Dirac GAN, this integral is taken in the function space, i.e., $G ( t +$ $\begin{array} { r } { \delta _ { t } , z ) = G ( t , z ) + \delta _ { t } p _ { z } ( z ) \frac { \partial D ( G ( z ) ) } { \partial G ( z ) } } \end{array}$ ) ∂D(G(z))∂G(z) . Besides, the generator distribution pG is not a Dirac distribution, resulting in that another operation, which converts the generated samples to the distribution, should be added after $G$ to make the model consistent. The diagram blocks of WGAN is illustrated in Fig. 2 (right). Compared to Dirac-GAN, another two operations are introduced to the framework. We further provide the dynamics of other GANs, including standard GAN proposed by Goodfellow et al. (2014) and Least-Square GAN proposed by Mao et al. (2017) in Appendix A.
135
+
136
+ Remark 2. We only consider the unregularized WGAN to simplify the analysis. Note that the dynamics of $D$ follows Eqn. (10) at least locally around the equilibrium where updating $D$ according to Eqn. (10) will not violate the Lipschitz constraints. Formally proof is given in Appendix D.
137
+
138
+ Remark 3. Here we model the dynamics of $G$ and $D$ in the functional space, which is more convenient for the following stability analysis and designing controllers. In practice, we update the models in the parameter space to approximate the dynamics in Eqn. (10) and Eqn. (11).
139
+
140
+ # 4 UNDERSTANDING AND STABILIZING GANS WITH NEGATIVE FEEDBACK
141
+
142
+ In this section, we first provide the stability analysis of GANs from the perspective of control theory. Besides, many previous methods can be interpreted in this perspective, and we use the momentum as an example. Other further examples are given in Appendix C. We further propose to stabilize the dynamics of GANs using the negative feedback controlling methods, and an example of another controller is given in Appendix B.
143
+
144
+ # 4.1 STABILITY
145
+
146
+ In the dynamics of GANs, we argue that it is dominated by the two integral dynamics of $G$ and $D$ . Therefore, we ignore the two non-linear operations in GANs in the following analysis. Since both $\mathbf { G }$ and D can be considered as integral parts, we can formulate the transfer function of $G$ and $D$ as $\begin{array} { r } { H _ { G } = H _ { D } = \frac { 1 } { s } } \end{array}$ . According to Eqn. (4), the transfer function of WGAN is given by:
147
+
148
+ $$
149
+ H ( s ) = \frac { H _ { D } } { 1 + H _ { D } H _ { G } } = \frac { 1 / s } { 1 + 1 / s ^ { 2 } } = \frac { s } { 1 + s ^ { 2 } } .
150
+ $$
151
+
152
+ It is worth noting that the poles of the transfer function of the whole dynamic are $0 \pm i$ , which indicates that the output will oscillate around the equilibrium rather than converge to 0. This result is also consistent with the analysis in (Mescheder et al., 2018). This perspective can also partially explain why larger learning rates or adopting multiple update steps for $D$ , where the transfer function of $D$ can be approximated by $\frac { k } { s }$ with $k > 1$ , cannot provide a principle solution for stabilizing GANs. In this case, the poles of the dynamics are adjusted to $0 \pm \sqrt { k } i$ which is still an oscillation dynamics.
153
+
154
+ # 4.1.1 THE AFFECT OF MOMENTUM
155
+
156
+ Our method can also provide stability analysis for other practical techniques used in training GANs. In this part, we use the momentum as an example. Gidel et al. (2018) provide some theoretical analysis of momentum in training GANs, which is formulated in the parameter space. In the following, we re-analyze the momentum in the function space under the perspective of control theory.
157
+
158
+ The momentum method (Qian, 1999) achieves great success in training deep neural networks. Previous methods such as SGD with momentum can help neural networks to escape from local optima. Its theoretical formulation is given by:
159
+
160
+ $$
161
+ \tilde { { \boldsymbol { \theta } } } _ { t + 1 } = \beta \tilde { { \boldsymbol { \theta } } } _ { t } + ( 1 - \beta ) \nabla { \boldsymbol { \theta } } _ { t } , { \boldsymbol { \theta } } _ { t + 1 } = { \boldsymbol { \theta } } _ { t } + \eta \tilde { { \boldsymbol { \theta } } } _ { t + 1 } .
162
+ $$
163
+
164
+ The $\beta$ is the coefficient for the exponential decay of the gradients, which generally takes 0.9. However, things changed when it comes to training GANs. DCGAN (Radford et al., 2015) recommends a smaller momentum with $\beta = 0 . 5$ . Furthermore, recent state-of-the-art models (Mescheder et al., 2018; Brock et al., 2018; Gulrajani et al., 2017) just remove the momentum.
165
+
166
+ (a) The diagram of GANs with negative feedback.
167
+
168
+ ![](images/afe9f7db83eafc0d8df03b8305eb414165e39fd93c036c945b12bf6b4d18176e.jpg)
169
+ Figure 3: The diagram and its corresponding dynamics of GANs using negative feedback.
170
+
171
+ ![](images/6972e57326476d6a60ce84bbf76f764ae97b071a66fc39d204d3adedc3dcec84.jpg)
172
+ (b) The dynamics of GANs with negative feedback.
173
+
174
+ # Algorithm 1 Negative Feedback GAN
175
+
176
+ 1: Input: Buffer size $N _ { b }$ , feedback coefficient $\lambda$ , batch size $N$ , initialized $\theta$ and $\phi$ , learning rate $\eta$ .
177
+ 2: Initialize $B _ { r }$ and $B _ { f }$ for real samples and fake samples respectively.
178
+ 3: repeat
179
+ 4: Sample a batch of $\{ x _ { r } \} \sim p _ { D }$ , $\{ x _ { f } \} \sim p _ { G }$ of $N$ samples.
180
+ 5: Update $B _ { r }$ with $\{ x _ { r } \}$ . Update $B _ { f }$ with $\{ x _ { f } \}$ .
181
+ 6: Sample a batch of $x _ { r } ^ { \prime } \sim B _ { r }$ , $x _ { f } ^ { \prime } \sim B _ { f }$ of $N$ samples respectively.
182
+ 7: Estimate the objective of D:
183
+ $\begin{array} { r } { U ( D ) = \frac { 1 } { N } [ \sum _ { x \in \{ x _ { r } \} } ^ { \prime } D ( x ) - \sum _ { x \in \{ x _ { f } \} } D ( x ) ] - \frac { \lambda } { 2 N } [ \sum _ { x \in \{ x _ { r } ^ { \prime } \} } D ^ { 2 } ( x ) + \sum _ { x \in \{ x _ { f } ^ { \prime } \} } D ^ { 2 } ( x ) ] . } \end{array}$
184
+ 8: Update $\phi$ to maximize $U ( D )$ with learning rate $\eta$ .
185
+ 9: Estimate the objective of G: U (G) = 1N Px∈{x } .
186
+ 10: Update $\theta$ to maximize $U ( G )$ with learning rate $\eta$ .
187
+
188
+ 11: until Convergence
189
+
190
+ In control theory, the momentum is equivalent to adding an exponential decay to the input of the dynamics (An et al., 2018), and the LT of an exponential decay dynamic is 1s+τ . τ > 0 denotes the decay coefficient which depends on $\beta$ . Therefore, the transfer function of the $D$ with momentum is $\begin{array} { r } { H _ { m D } ( s ) = \frac { 1 } { s ( s + \tau ) } } \end{array}$ , and the transfer function of the WGAN with momentum is given by:
191
+
192
+ $$
193
+ H ( s ) = \frac { H _ { m D } } { 1 + H _ { m D } H _ { G } } = \frac { 1 / ( s ( s + \tau ) ) } { 1 + 1 / ( s ^ { 2 } ( s + \tau ) ) } = \frac { s } { s ^ { 3 } + \tau s ^ { 2 } + 1 } .
194
+ $$
195
+
196
+ By letting $( s + a ) ( s + b ) ( s + c ) = s ^ { 3 } + \tau s ^ { 2 } + 1$ , we have that $a + b + c = \tau > 0$ , which indicates that there are at least one pole of this dynamic whose real part is larger than 0, indicating the instability of the dynamics for GANs with momentum.
197
+
198
+ # 4.2 STABILIZE GANS
199
+
200
+ According to the above analysis, for both the unregularized WGAN and the GAN with momentum, the equilibrium point (i.e., $p _ { G } = p _ { D }$ ) is not a stable point. In the following, we propose to stabilize GANs using negative feedback control, which is the most widely-used method in control theory.
201
+
202
+ In this setting, we set $H _ { N F } = \lambda$ which is the transfer function of the negative feedback for $D$ . After applying the negative feedback to $D$ , The diagram of the controlled dynamics is given in Fig. 3 (a). According to Eqn. (4), the transfer function of $D$ and the whole dynamic can be represented as:
203
+
204
+ $$
205
+ H _ { D } ^ { \prime } ( s ) = \frac { 1 / s } { 1 + \lambda / s } = \frac { 1 } { s + \lambda } H ( s ) = \frac { H _ { D } ^ { \prime } ( s ) } { 1 + H _ { D } ^ { \prime } ( s ) H _ { G } ( s ) } = \frac { s } { s ^ { 2 } + \lambda s + 1 } .
206
+ $$
207
+
208
+ Therefore, for a positive and small $\lambda$ , the real part of the two poles are $- \frac { \lambda } { 2 } < 0$ , which indicates that the dynamic is stable. The dynamics of the Dirac GAN using different $\bar { \lambda }$ is illustrated in Fig. 3 (b). As we can see, when no feedback is applied (i.e., $\lambda = 0$ ), the dynamic will oscillate around the equilibrium. Applying negative feedback can significant improve the stability of the dynamics.
209
+
210
+ # 4.2.1 PRACTICAL IMPLEMENTATION
211
+
212
+ The most direct way to add negative feed is to introduce a regularization term $\begin{array} { r } { R _ { D } = \frac { \lambda } { 2 } \int D ^ { 2 } ( x ) d x } \end{array}$ to the objective function of $D$ . However, directly integrating over the input space is computationally infeasible. Instead, we give an approximation to $R _ { D }$ . We assume that the area where $| D ( x ) |$ is large mainly concentrates on its training samples, i.e., previous samples used to train $D$ . Therefore, we keep two buffers $B _ { r }$ and $B _ { f }$ of size $N _ { b }$ to store the old real samples and fake samples, respectively. Then $R _ { D }$ is evaluated on these two buffers to regularize $D$ , and the two buffers are updated with replacement at each step. The training procedure is illustrated in Alg. 1. In the following, we use NF-GAN $( \cdot )$ to denote our proposed method with the hyperparameters $\lambda / 2$ denoted in the parentheses.
213
+
214
+ ![](images/599d8cde6cddb5e4d156f249749ca729ac1f21b923ef992f8b0c50abf6ef97d0.jpg)
215
+ Figure 4: The learning curve of baselines and our proposed methods. Left: The Inception Score of CIFAR10. Right: The FID score for CelebA. We plot the curve with respect to time for better representation of the computational cost and convergence speed.
216
+
217
+ # 5 RELATED WORK
218
+
219
+ GANs are known for its unstable training process. Radford et al. (2015) provide several practical techniques to stabilize the training, such as designing suitable architecture of neural networks and the hyperparameters selection. The Unrolled GAN (Metz et al., 2016) proposes to make $D$ as a function of $G$ by unrolling the training process of the discriminator where the gap between the theoretical analysis and implementation can be reduced. Arjovsky et al. (2017) provide a theoretical analysis of the gradient vanishing problem and further propose to optimize GANs using Wasserstein distance. Gulrajani et al. (2017) use the gradient penalty to ensure the Lipschitz continuity in discriminator, which is required by WGAN. However, GANs still suffer from instability in the training process.
220
+
221
+ Besides, there is some work that directly focuses on the stability of the training process. Except for the works mentioned in Sec. 1, Peng et al. (2019) also directly model the dynamics of the parameters and adjust the update rules to stabilize GANs. Gidel et al. (2016) propose to find the saddle point of the optimization problem using Frank-Wolfe algorithms. Feizi et al. (2017) also use the control theory to model the stability of GANs, while the dynamics of GANs are not explicitly captured. Balduzzi et al. (2018) decompose dynamics into the oscillating and non-oscillating behaviour and model training dynamics as finding stable fixed points. However, none of them only can generalize their methods to complex datasets such as natural images.
222
+
223
+ # 6 EXPERIMENTS
224
+
225
+ In this section, we empirically verify our proposed method on the widely-adopted CIFAR10 (Krizhevsky et al., 2009) and CelebA (Liu et al., 2015) datasets. We denote the regularization proposed in Mescheder et al. (2018) as Reg-GAN, which is the direct baseline of our method. Besides, we also apply NF-GAN to SN-GAN (Miyato et al., 2018) and provide a significant improvement to the state-of-the-art method. For fair comparisons, our implementation mainly follows the officially released code for Reg-GAN and SN-GAN, respectively. More details about the experimental setting and further results on a synthetic dataset can be found in Appendix B. The code is provided here.
226
+
227
+ # 6.1 COMPARISON TO REG-GAN
228
+
229
+ We first compare our proposed method with RegGAN. Since for large datasets, the non-linearity cannot be ignored, which results in the gap between the simulation of Dirac GAN and our methods. A small $\lambda / 2$ , such as 0.01 which is suitable for Dirac GAN is not enough for stabilize the large models. We therefore select the coefficient $\lambda / 2$ among $\{ 1 , 2 , 5 , 1 0 , 1 5 , 2 0 \}$ . In this part, we only report representative results. Though our analysis mainly focuses on the WGAN framework, NF can also easily generalize to SGAN whose stability can also be improved and NF-SGANs with different coefficient $\lambda / 2$ are evaluated.
230
+
231
+ Table 1: The FID Score (top) and Inception Score (bottom) on CIFAR10. The results reported here are the best results over the training process. The results of IS are averages over 3 runs.
232
+
233
+ <table><tr><td rowspan=1 colspan=2>Regularization</td><td rowspan=1 colspan=2>WGAN</td><td rowspan=1 colspan=1>SGAN</td></tr><tr><td rowspan=1 colspan=2>No regularizationReg-GANGradient Penalty</td><td rowspan=1 colspan=2>105.2130.4328.20</td><td rowspan=1 colspan=1>28.5128.391</td></tr><tr><td rowspan=1 colspan=2>NF-GAN(2) (ours)NF-GAN(5) (ours)NF-GAN(10)(ours)</td><td rowspan=1 colspan=2>21.9022.3121.19</td><td rowspan=1 colspan=1>22.3521.6123.34</td></tr><tr><td rowspan=2 colspan=1>Objective</td><td rowspan=2 colspan=2>SN-GAN</td><td></td><td></td></tr><tr><td rowspan=1 colspan=2>NF-SN-GAN</td></tr><tr><td rowspan=1 colspan=1>WGANHinge</td><td rowspan=1 colspan=2>3.298.22 ± .05</td><td rowspan=1 colspan=2>8.28± .098.45 ± .11</td></tr></table>
234
+
235
+ We use the Inception Score (IS) (Salimans et al., 2016) to evaluate the image quality on CIFAR10 and FID score (Gulrajani et al., 2017) on both CIFAR10 and CelebA. The quantitative results are given in Table 1 and the learning curve is reported in Fig. 4. Our method gives an improvement to the FID and IS for both WGAN and SGAN. Specifically, for unregularized methods, the models demonstrate the unstable training process and finally diverge away from the data distribution. Compared with Reg-GAN, our method maintains stability and provides better convergence results, as also shown in Table 1 (top). Besides, our method is more computationally efficient, since regularizing the output of $D$ needs less computation compared to regularizing $| | \frac { \partial D ( x ) } { \partial x } | |$ and this gap is significant for large dataset. Specifically, on Geforce 1080Ti, our method can conduct approximate $1 2 / 8$ iterations per second of training for CIFAR10/CelebA, whereas Reg-GAN can only conduct $1 0 / 4$ iterations per second. What’s more, our method is robust to the choice of the hyperparameter $\lambda$ . We present the generated images in Fig. 5 and Fig. 6.
236
+
237
+ ![](images/61e72dfd4b8fb7bc75bc4fda19c0458074406662d30deab1e79096c639f7b815.jpg)
238
+
239
+ ![](images/41994638029140ddb5227fa3cefe48b5bd673831567a9d9992c3a35c25422620.jpg)
240
+ Figure 5: The generated results of CIFAR10 dataset. From left to right: WGAN-GP, Reg-WGAN, NF-WGAN(5), NF-SGAN(5)
241
+ Figure 6: The generated results of CelebA dataset. From left to right: WGAN-GP, Reg-WGAN, NF-WGAN(15), NF-SGAN(15).
242
+
243
+ # 6.2 COMPARISON TO SN-GAN
244
+
245
+ We further apply NF-GAN to the SN-GAN’s architecture. With stability guaranteed, our proposed method can further help SN-GAN to address the potentially unstable issue and converge to better final results, as illustrated in Table 1 (bottom). We manually select $\lambda / 2 \in \{ 0 . 0 1 , 0 . 1 , 1 \}$ and finally adopt $\lambda / 2 = 0 . 1$ . Though SN-GAN provides an elegant normalization method to ensure the Lipschitz continuity, SN-GAN with WGAN loss still cannot converge to the data distribution and provide unreasonable results, which verifies with our stability analysis. Instead, the hinge loss, as introduced Eqn. (16)&(17) in Miyato et al. (2018), is used to stabilize SN-GAN but no theoretical guarantee is provided. In contrast, NF-GAN can successfully regularize SN-GAN with WGAN loss and provide better results to previous state-of-the-art results. What’s more, NF-GAN can also benefit SN-GAN with Hinge loss and provide a significant improvement the IS of CIFAR-10.
246
+
247
+ # 7 CONCLUSION
248
+
249
+ In this paper, we propose a novel perspective to analyze the dynamics of GANs. Instead of focusing on the equilibrium, we directly model the dynamics of the discriminator and the generator during the training process. Using Laplacian transformation and control theory, the stability can be easily understood according to the poles of the dynamics. Various methods can be motivated from this perspective, and we verify it with the widely used negative feedback control. The empirical results demonstrate that our method can successfully stabilize GANs and provide better convergence results.
250
+
251
+ Negative feedback shows promise results, but further analysis is required for better results. For one thing, our analysis mainly focuses on the continuous cases, where the practical implementation optimizes both $G$ and $D$ in discrete time steps, where the $Z$ -transformation provides better tools for discrete-time dynamics. For another, two approximations are made: using the update in the parameter space to approximate the dynamics and ignore two non-linear operations in GANs. Recent analyses of GANs on the functional spaces (Johnson $\&$ Zhang, 2018) provides a promising solution to solve the first approximation and modern control theory and non-linear control methods (Khalil, 2002) can be adopted to solve the second one. Indeed, our method does not provide a perfect solution to GANs’ dynamics. It does provide a novel perspective to understand and stabilize GANs.
252
+
253
+ # REFERENCES
254
+
255
+ Wangpeng An, Haoqian Wang, Qingyun Sun, Jun Xu, Qionghai Dai, and Lei Zhang. A pid controller approach for stochastic optimization of deep networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 8522–8531, 2018.
256
+
257
+ Martin Arjovsky, Soumith Chintala, and Léon Bottou. Wasserstein generative adversarial networks. In International conference on machine learning, pp. 214–223, 2017.
258
+
259
+ Karl Johan Åström and Tore Hägglund. PID controllers: theory, design, and tuning, volume 2. Instrument society of America Research Triangle Park, NC, 1995.
260
+
261
+ David Balduzzi, Sebastien Racaniere, James Martens, Jakob Foerster, Karl Tuyls, and Thore Graepel. The mechanics of n-player differentiable games. arXiv preprint arXiv:1802.05642, 2018.
262
+
263
+ Andrew Brock, Jeff Donahue, and Karen Simonyan. Large scale gan training for high fidelity natural image synthesis. arXiv preprint arXiv:1809.11096, 2018.
264
+
265
+ Tatjana Chavdarova and François Fleuret. Sgan: An alternative training of generative adversarial networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 9407–9415, 2018.
266
+
267
+ Xi Chen, Yan Duan, Rein Houthooft, John Schulman, Ilya Sutskever, and Pieter Abbeel. Infogan: Interpretable representation learning by information maximizing generative adversarial nets. In Advances in neural information processing systems, pp. 2172–2180, 2016.
268
+
269
+ Paul Adrien Maurice Dirac. The principles of quantum mechanics. Number 27. Oxford university press, 1981.
270
+
271
+ Jeff Donahue and Karen Simonyan. Large scale adversarial representation learning. arXiv preprint arXiv:1907.02544, 2019.
272
+
273
+ Chao Du, Kun Xu, Chongxuan Li, Jun Zhu, and Bo Zhang. Learning implicit generative models by teaching explicit ones. arXiv preprint arXiv:1807.03870, 2018.
274
+
275
+ Soheil Feizi, Farzan Farnia, Tony Ginart, and David Tse. Understanding gans: the lqg setting. arXiv preprint arXiv:1710.10793, 2017.
276
+
277
+ Izrail Moiseevitch Gelfand, Richard A Silverman, et al. Calculus of variations. Courier Corporation, 2000.
278
+
279
+ Gauthier Gidel, Tony Jebara, and Simon Lacoste-Julien. Frank-wolfe algorithms for saddle point problems. arXiv preprint arXiv:1610.07797, 2016.
280
+
281
+ Gauthier Gidel, Reyhane Askari Hemmat, Mohammad Pezeshki, Remi Lepriol, Gabriel Huang, Simon Lacoste-Julien, and Ioannis Mitliagkas. Negative momentum for improved game dynamics. arXiv preprint arXiv:1807.04740, 2018.
282
+
283
+ Xavier Glorot, Antoine Bordes, and Yoshua Bengio. Deep sparse rectifier neural networks. In Proceedings of the fourteenth international conference on artificial intelligence and statistics, pp. 315–323, 2011.
284
+
285
+ Ian Goodfellow. Nips 2016 tutorial: Generative adversarial networks. arXiv preprint arXiv:1701.00160, 2016.
286
+
287
+ Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in neural information processing systems, pp. 2672–2680, 2014.
288
+
289
+ Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron C Courville. Improved training of wasserstein gans. In Advances in neural information processing systems, pp. 5767–5777, 2017.
290
+
291
+ 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, pp. 770–778, 2016.
292
+
293
+ Geoffrey Hinton, Nitish Srivastava, and Kevin Swersky. Neural networks for machine learning lecture 6a overview of mini-batch gradient descent. Cited on, 14:8, 2012.
294
+
295
+ Rie Johnson and Tong Zhang. Composite functional gradient learning of generative adversarial models. arXiv preprint arXiv:1801.06309, 2018.
296
+
297
+ Thomas Kailath. Linear systems, volume 156. Prentice-Hall Englewood Cliffs, NJ, 1980.
298
+
299
+ Hassan K Khalil. Nonlinear systems. Upper Saddle River, 2002.
300
+
301
+ Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. Technical report, Citeseer, 2009.
302
+
303
+ Yann LeCun, Yoshua Bengio, and Geoffrey Hinton. Deep learning. nature, 521(7553):436, 2015.
304
+
305
+ Chongxuan Li, Taufik Xu, Jun Zhu, and Bo Zhang. Triple generative adversarial nets. In Advances in neural information processing systems, pp. 4088–4098, 2017.
306
+
307
+ Kevin J Liang, Chunyuan Li, Guoyin Wang, and Lawrence Carin. Generative adversarial network training is a continual learning problem. arXiv preprint arXiv:1811.11083, 2018.
308
+
309
+ Ziwei Liu, Ping Luo, Xiaogang Wang, and Xiaoou Tang. Deep learning face attributes in the wild. In Proceedings of International Conference on Computer Vision (ICCV), December 2015.
310
+
311
+ Mario Lucic, Karol Kurach, Marcin Michalski, Sylvain Gelly, and Olivier Bousquet. Are gans created equal? a large-scale study. In Advances in neural information processing systems, pp. 700–709, 2018.
312
+
313
+ Xudong Mao, Qing Li, Haoran Xie, Raymond YK Lau, Zhen Wang, and Stephen Paul Smolley. Least squares generative adversarial networks. In Proceedings of the IEEE International Conference on Computer Vision, pp. 2794–2802, 2017.
314
+
315
+ Lars Mescheder, Sebastian Nowozin, and Andreas Geiger. The numerics of gans. In Advances in Neural Information Processing Systems, pp. 1825–1835, 2017.
316
+
317
+ Lars Mescheder, Andreas Geiger, and Sebastian Nowozin. Which training methods for gans do actually converge? arXiv preprint arXiv:1801.04406, 2018.
318
+
319
+ Luke Metz, Ben Poole, David Pfau, and Jascha Sohl-Dickstein. Unrolled generative adversarial networks. ArXiv, abs/1611.02163, 2016.
320
+
321
+ Takeru Miyato, Toshiki Kataoka, Masanori Koyama, and Yuichi Yoshida. Spectral normalization for generative adversarial networks. arXiv preprint arXiv:1802.05957, 2018.
322
+
323
+ Vaishnavh Nagarajan and J Zico Kolter. Gradient descent gan optimization is locally stable. In Advances in Neural Information Processing Systems, pp. 5585–5595, 2017.
324
+
325
+ Tu Nguyen, Trung Le, Hung Vu, and Dinh Phung. Dual discriminator generative adversarial nets. In Advances in Neural Information Processing Systems, pp. 2670–2680, 2017.
326
+
327
+ Sebastian Nowozin, Botond Cseke, and Ryota Tomioka. f-gan: Training generative neural samplers using variational divergence minimization. In Advances in neural information processing systems, pp. 271–279, 2016.
328
+
329
+ Alan V Oppenheim, Alan S Willsky, and S Hamid Nawab. Señales y sistemas. Pearson Educación, 1998.
330
+
331
+ Wei Peng, Yuhong Dai, Hui Zhang, and Lizhi Cheng. Training gans with centripetal acceleration. arXiv preprint arXiv:1902.08949, 2019.
332
+
333
+ Ning Qian. On the momentum term in gradient descent learning algorithms. Neural networks, 12(1): 145–151, 1999.
334
+
335
+ Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. arXiv preprint arXiv:1511.06434, 2015.
336
+
337
+ Tim Salimans, Ian Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, and Xi Chen. Improved techniques for training gans. In Advances in neural information processing systems, pp. 2234–2242, 2016.
338
+
339
+ David Vernon Widder. Laplace transform (PMS-6). Princeton university press, 2015.
340
+
341
+ # A GANS AND THEIR CORRESPONDING DYNAMICS
342
+
343
+ In this section, we provide an illustration for different kinds of GANs and their corresponding dynamics.
344
+
345
+ # A.1 VANILLA GAN AND NON-SATURATION GAN
346
+
347
+ The GANs proposed by (Goodfellow et al., 2014) are formulated as follows: $\displaystyle { \operatorname* { m i n } _ { G } \operatorname* { m a x } _ { D } \mathbb { E } _ { p _ { D } } [ \log \sigma ( D ( x ) ) ] + \mathbb { E } _ { p _ { G } } [ \log ( 1 - \sigma ( D ( x ) ) ) ] } .$
348
+
349
+ Therefore, the objective function and the corresponding dynamics of $D$ are given by:
350
+
351
+ • The objective function:
352
+
353
+ $$
354
+ \begin{array} { l } { \displaystyle { \operatorname* { m a x } _ { D } U ( D ) = \mathbb { E } _ { p _ { D } } \lbrack \log \sigma ( D ( x ) ) \rbrack + \mathbb { E } _ { p _ { G } } \lbrack \log ( 1 - \sigma ( D ( x ) ) ) \rbrack } } \\ { \displaystyle { \quad \quad = \int p _ { D } ( x ) \log \frac { 1 } { 1 + \exp ( - D ( x ) ) + p _ { G } ( x ) \log \frac { \exp ( - D ( x ) ) } { 1 + \exp ( - D ( x ) ) } } d x } } \\ { \displaystyle { \quad = - \int p _ { D } ( x ) \log ( 1 + \exp ( - D ( x ) ) ) + p _ { G } ( x ) \log ( 1 + \exp ( D ( x ) ) ) d x . } } \end{array}
355
+ $$
356
+
357
+ • Given current $G$ , the gradient of $U ( D )$ with respect to $D$ at certain $x$ is given by:
358
+
359
+ $$
360
+ \begin{array} { l } { \displaystyle \frac { \partial U ( D ) } { d D ( x ) } = p _ { D } \frac { \exp ( - D ( x ) ) } { 1 + \exp ( - D ( x ) ) } - p _ { G } \frac { \exp ( D ( x ) ) } { 1 + \exp ( D ( x ) ) } } \\ { \displaystyle = p _ { D } ( 1 - \sigma ( D ( x ) ) ) - p _ { G } \sigma ( D ( x ) ) } \\ { \displaystyle \frac { d D _ { t } ( x ) } { d t } = \frac { \partial U ( D ( x ) ) } { d D ( x ) } = p _ { D } ( 1 - \sigma ( D ( x ) ) ) - p _ { G } \sigma ( D ( x ) ) . } \end{array}
361
+ $$
362
+
363
+ The objective function and the corresponding dynamics of $G$ are given by:
364
+
365
+ • The objective function:
366
+
367
+ $$
368
+ \begin{array} { l } { \displaystyle { \operatorname* { m i n } _ { G } \ U ( G ) = \mathbb { E } _ { p _ { G } } [ \log ( 1 - \sigma ( D ( x ) ) ) ] = \mathbb { E } _ { p _ { z } } [ \log ( 1 - \sigma ( D ( G ( z ) ) ) ) ] } } \\ { \displaystyle { \quad \quad = \int p _ { z } ( z ) \log \frac { \exp ( - D ( G ( z ) ) ) } { 1 + \exp ( - D ( G ( z ) ) ) } d z } } \\ { \displaystyle { \quad = - 1 \times \int p _ { z } ( z ) \log ( 1 + \exp ( D ( G ( z ) ) ) ) d z . } } \end{array}
369
+ $$
370
+
371
+ • Since $G$ is optimized using reparameterization, we rewrite $G ( z )$ as $x _ { z }$ for simplicity. Given current $D$ , the gradient of $U ( G )$ w.r.t. $G$ at a certain $z$ is given by:
372
+
373
+ $$
374
+ \begin{array} { c } { { \displaystyle { \frac { \partial U ( G ) } { \partial x _ { z } } = - 1 \times p ( z ) \frac { \exp ( D ( x _ { z } ) ) } { 1 + \exp ( D ( x _ { z } ) ) } \frac { \partial D ( x _ { z } ) } { \partial x _ { z } } = - 1 \times p ( z ) \sigma ( D ( x _ { z } ) ) \frac { \partial D ( x _ { z } ) } { \partial x _ { z } } } } } \\ { { \displaystyle { \frac { d G _ { t } ( z ) } { d t } = p ( z ) \sigma ( D ( x _ { z } ) ) \frac { \partial D ( x _ { z } ) } { \partial x _ { z } } } } } \end{array}
375
+ $$
376
+
377
+ For a well-trained $D$ , which can successfully tell real samples from generated samples with high confidence, i.e., $D ( x _ { z } ) \approx 0$ for all $z$ , the gradient for $\mathbf { G }$ will tend to zero almost everywhere, which will result in gradient vanishing. This analysis is consistent with previous literature (Johnson & Zhang, 2018; Arjovsky et al., 2017).
378
+
379
+ For non-saturation GAN, the objective function and dynamics of $G$ are given by:
380
+
381
+ • The objective is given by:
382
+
383
+ $$
384
+ \begin{array} { r l } { \displaystyle { \operatorname* { m a x } _ { G } } \ U ( G ) = } & { \ } \\ & { \ = \int p _ { z } ( z ) \log \sigma ( D ( x ) ) ] = \mathbb { E } _ { p _ { z } } [ \log \sigma ( D ( G ( z ) ) ) ] } \\ & { \ = \int p _ { z } ( z ) \log \frac { \exp ( D ( G ( z ) ) ) } { 1 + \exp ( D ( G ( z ) ) ) } d z } \\ & { \ = \int p _ { z } ( z ) ( D ( G ( z ) ) - \log ( 1 + \exp ( D ( G ( z ) ) ) ) ) } \end{array}
385
+ $$
386
+
387
+ • We rewrite $G ( z )$ as $x _ { z }$ and provide the gradient of $U ( G )$ w.r.t. $x _ { z }$ as follows:
388
+
389
+ $$
390
+ \begin{array} { c l c r } { \displaystyle { \frac { \partial U ( G ) } { \partial x _ { z } } = p _ { z } ( z ) ( 1 - \frac { \exp ( D ( x _ { z } ) ) } { 1 + \exp ( D ( x _ { z } ) ) } ) \frac { \partial D ( x _ { z } ) } { \partial x _ { z } } } } \\ { \displaystyle { = p _ { z } ( z ) ( 1 - \sigma ( D ( x _ { z } ) ) ) \frac { \partial D ( x _ { z } ) } { \partial x _ { z } } } } \\ { \displaystyle { \frac { d G _ { t } ( z ) } { d t } = p ( z ) ( 1 - \sigma ( D ( x _ { z } ) ) ) \frac { \partial D ( x _ { z } ) } { \partial x _ { z } } } } \end{array}
391
+ $$
392
+
393
+ # A.2 LEAST-SQUARE GAN
394
+
395
+ (Mao et al., 2017) propose to use the least square loss to train both the discriminator and the generator. The objective for the $D$ and $G$ are selected differently according to its theoretical analysis. Specifically, the objective function of $D$ and $G$ are given by:
396
+
397
+ $$
398
+ \begin{array} { l } { \displaystyle \operatorname* { m i n } _ { D } U ( D ) = \frac { 1 } { 2 } \mathbb { E } _ { p _ { D } } [ ( D ( x ) - 1 ) ^ { 2 } ] + \frac { 1 } { 2 } \mathbb { E } _ { p _ { G } } [ ( D ( x ) ) ^ { 2 } ] ; } \\ { \displaystyle \operatorname* { m i n } _ { G } U ( G ) = \frac { 1 } { 2 } \mathbb { E } _ { p _ { z } } [ ( D ( G ( z ) ) - 1 ) ^ { 2 } ] . } \end{array}
399
+ $$
400
+
401
+ Therefore, the dynamics of the $D$ and $G$ are given by:
402
+
403
+ • The dynamic of $D$ :
404
+
405
+ $$
406
+ \begin{array} { l } { { \displaystyle { \frac { \partial { \cal U } ( D ) } { \partial D ( x ) } = \frac { 1 } { 2 } \frac { \partial } { \partial D ( x ) } ( p _ { D } ( D ( x ) - 1 ) ^ { 2 } + p _ { G } D ( x ) ^ { 2 } ) } } \ ~ } \\ { { \displaystyle ~ = p _ { D } ( D ( x ) - 1 ) + p _ { G } D ( x ) . } } \end{array}
407
+ $$
408
+
409
+ • The dynamic of $G$ :
410
+
411
+ $$
412
+ \begin{array} { r } { \displaystyle \frac { \partial U ( G ) } { \partial x _ { z } } = p _ { z } ( D ( x _ { z } ) - 1 ) \frac { \partial D ( x _ { z } ) } { \partial x _ { z } } } \\ { \displaystyle \frac { d G _ { t } ( z ) } { d t } = p _ { z } ( z ) ( 1 - D ( x _ { z } ) ) \frac { \partial D ( x _ { z } ) } { \partial x _ { z } } } \end{array}
413
+ $$
414
+
415
+ It is worth noting that if the $G$ is fixed, the dynamics of $D$ can be considered as an exponential decay which is the same as the $D$ with negative feedback control. However, since $G$ is changing during the training process, the dynamics of $D$ is actually coupling with the dynamics of $G$ , which generally results in the unstable dynamics (Kailath, 1980). The experimental results on CIFAR10 also verify this argument. It also explains why we use two buffers of old samples to approximate the regularization term instead of directly regularizing the output of $D$ using current samples.
416
+
417
+ # B FURTHER EXPERIMENTAL RESULTS
418
+
419
+ # B.1 DETAILED EXPERIMENTAL SETTINGS
420
+
421
+ In this paper, we mainly focus on the stability of the training dynamics of GANs, and therefore directly compare our proposed method NF-GAN with the vanilla SGAN/WGAN and the most direct baseline Reg-GAN. We use the resnet (He et al., 2016) for both the generator and the discriminator following Mescheder et al. (2018) and adopt the ReLU activation (Glorot et al., 2011). The batch size is 64, and the buffer size is set to 100 times of the batch size for all settings. We use rmsprop (Hinton et al., 2012) optimizer with learning rate as 0.0001 and $\alpha = 0 . 9 9$ for all models.
422
+
423
+ Note that we make the following two modifications to the original implementation of Reg-GAN, which results in a more challenging setting to the stability. First, in the original Reg-GAN, a coefficient 0.1 is introduced to the residual connection of the ResNet for both G and D. Specifically, $h _ { L + 1 } = h _ { L } + 0 . 1 * f _ { L } ( h _ { L } )$ where $f _ { L }$ is the transformation defined in the $L$ -th layer and $h _ { L }$ is the output of $L - 1$ -th layer as well as the input of the $L$ -th layer. We instead remove the coefficient and just use the regular ResNet, i.e., $h _ { L + 1 } = h _ { L } + f _ { L } ( h _ { L } )$ . Second, for both G and D, we use the ReLU activation, rather than leaky ReLU. The above two modifications make the training of GANs more difficult, which explains why the reported results are not consistent with the scores in the original paper. In this more challenging setting, our method still outperforms the Reg-GAN. Specifically, the inception score of Reg-GAN is below 6.0 in this difficult setting and about 6.5 in the original setting. In contrast, both NF-WGAN and NF-SGAN achieve more than 6.7 in this difficult setting.
424
+
425
+ ![](images/55c36b01233c431a3c352d3c65f88dfc2345023efbdffc3c69eff7f00cf83270.jpg)
426
+ Figure 7: The generated samples for mixture of gaussian distribution. The red points demonstrate the location of data distribution and the blue points are generated samples. Each distribution is plotted using kernel density estimation with 50,000 samples.
427
+
428
+ # B.2 SYNTHETIC DATA
429
+
430
+ In this section, we evaluate our proposed method on a mixture of Gaussian on the two dimensions. The data distribution consists of 8 2D isotropic Gaussian distributions arranged in a ring, where the radius of the ring is 1, and the deviation of each component Gaussian distribution is 0.05. For the coefficient $\lambda / 2$ , we follow the theoretical analysis and set it among $\lambda / 2 \in \{ 0 . 0 1 , 0 . 0 5 , 0 . 1 \}$ . We adopt two-layer MLPs for both the generator and the discriminator whose hidden units are 128 and 512 respectively. The batch size is is 512 and other settings just follow the Reg-GAN.
431
+
432
+ The generated results are illustrated in Fig. 7 and we further provide the dynamics of the generator distribution in Fig. 8 in Fig. 8. As we can see, the unregularized WGAN and SGAN suffer from severe model collapse problem and cannot cover the whole data distribution. Besides, the oscillation can be observed during the training process of WGAN: the generator distribution oscillates among the modes of data distribution. Our method can successfully cover all modes compared to the WGAN and SGAN and is comparable to Reg-GAN.
433
+
434
+ # B.3 FURTHER CONTROL METHOD: PD CONTROLLER
435
+
436
+ Besides negative feedback, the most commonly used controller is the PID controller, which consists of three parts: the partial (P), integration (I) and derivation (D). Specifically, the PID controller takes the error signal as input, and output the summation of the above three parts, whose formal definition is defined as follows:
437
+
438
+ $$
439
+ c ( t ) = K _ { p } e ( t ) + K _ { i } \int _ { u = 0 } ^ { t } e ( u ) d u + K _ { d } \frac { d e ( t ) } { d t } H _ { c } ( s ) = \frac { K _ { p } s + K _ { i } + K _ { d } s ^ { 2 } } s .
440
+ $$
441
+
442
+ $K _ { p }$ , $K _ { i }$ , $K _ { d }$ denotes the corresponding coefficients for PID controller. $e ( t )$ denotes the error signal and $c$ is the output of the controller, which is also the actual input of the dynamic. Generally, the I part can reduce the static error, and the $\mathbf { D }$ part can make the dynamic stable and accelerate the convergence.
443
+
444
+ The PID controller is introduced to adjust the poles of the dynamic. Since the static error, i.e., the difference between the stable point and targeted point, is zero, the integral part is not necessary, and we only employ the PD controller in the following. By letting $H _ { c } ( s ) = p + d s$ , where $p$ and $d$ is the corresponding coefficient for the $\mathrm { P }$ and $\mathrm { D }$ part, the transfer function of the whole dynamic is given by:
445
+
446
+ $$
447
+ H ( s ) = { \frac { H _ { c } ( s ) H _ { D } ( s ) } { 1 + H _ { c } ( s ) H _ { G } ( s ) H _ { D } ( s ) } } = { \frac { s ( p + d s ) } { s ^ { 2 } + d s + p } } .
448
+ $$
449
+
450
+ As we can see, given positive $p$ and $d$ , the PD controller can successfully adjust the real parts poles of the dynamic to negative. In the following analysis and implementation, we fix $p = 1$ for simplicity.
451
+
452
+ ![](images/9adddbc1680ad314464ee90a0b8cef8d1b05a9879882fc77fc21e5a9a7c4a53d.jpg)
453
+ Figure 8: The training dynamics of various GANs on synthetic data.
454
+
455
+ ![](images/a33371a06709624792bd66f7eabb7475f6514def0a01be62b48f4605fc6c67fb.jpg)
456
+ Figure 9: The diagram and its corresponding dynamics of GANs using PD controller.
457
+
458
+ ![](images/d908ad221af39206090e6689fc1cffc8b7c611c073cba77695c58f0a951b2ba1.jpg)
459
+ Figure 10: The generated results of PD controller with $d = 5$ .
460
+
461
+ ![](images/4612fa6bc58fed2514be3e971cb5df72bb279d72742455935b4bca7d93ab55dd.jpg)
462
+ Figure 11: The diagram of previous methods. Left: the diagram of Reg-GAN which takes the $\textstyle | | { \frac { \partial D } { \partial x } } | |$ as regularization. Right: the diagram of negative momentum together with weight decay.
463
+
464
+ The dynamics of Dirac GANs using PD controller is given in Fig. 9 (b). With a PD controller, the dynamic can be successfully stabilized. For general GAN, the objective of $D$ at time $t$ is given by:
465
+
466
+ $$
467
+ \begin{array} { r l r } & { } & { U ( D , t ) = \mathbb { E } _ { p _ { D } ( t , x ) } [ D ( x ) ] - \mathbb { E } _ { p _ { G } ( t , x ) } [ D ( x ) ] + } \\ & { } & { \lambda \{ \mathbb { E } _ { p _ { D } ( t , x ) } [ D ( x ) ] - \mathbb { E } _ { p _ { G } ( t , x ) } [ D ( x ) ] - \mathbb { E } _ { p _ { D } ( t - \delta t , x ) } [ D ( x ) ] + \mathbb { E } _ { p _ { G } ( t - \delta t , x ) } [ D ( x ) ] \} . } \end{array}
468
+ $$
469
+
470
+ The regularization is actually minimizing the loss of $D$ in the current step as well as maximizing the loss of $\mathrm { D }$ for previous step.
471
+
472
+ # B.3.1 EXPERIMENTAL RESULTS
473
+
474
+ The results of the synthetic data are illustrated in Fig. 10. WGAN with PD controller can successfully cover the whole data distribution and be stable at the equilibrium.
475
+
476
+ However, we fail to generalize PD controller to the natural image dataset such as CIFAR10. We argue that the main reason is the overshooting for the dynamics of $D$ , as illustrated in Fig. 9 (b), where the $D$ gives a large derivation from the equilibrium at the beginning. Because of the highly-nonlinearity in neural networks, this overshooting will result in unexpected behavior of neural networks. In contrast, for the negative feedback, the overshooting is much smaller, which enables it to generalize to the non-linear neural networks.
477
+
478
+ # C UNIFYING PREVIOUS METHODS IN CONTROL THEORY
479
+
480
+ In this section, we also provide some analysis that interprets previous methods in the perspective of control theory.
481
+
482
+ # C.1 REG-GAN
483
+
484
+ Mescheder et al. (2018) propose a regularization which is added on $D$ ’s gradient of $x$ , i.e., $R _ { d } ( x ) =$ $| | \frac { \partial D ( x ) } { \partial x } | | _ { 2 } ^ { 2 }$ . Therefore, it can be considered as an other form of negative feedback, which is illustrated
485
+
486
+ Compare to our analysis, Reg-GAN provides more accurate modeling of the dynamics and directly regularizes on the input of the dynamic of $G$ . Therefore, Reg-GAN can also successfully stabilize the dynamic of GANs, which is consistent with our experimental results. Compared to Reg-GAN, our method is more computationally efficient.
487
+
488
+ # C.2 WEIGHT DECAY AND NEGATIVE MOMENTUM
489
+
490
+ Gidel et al. (2018) analyze the effect of momentum in the training of GANs, and we already interpret this analysis in the context of control theory. Besides, the authors also propose to use the negative
491
+
492
+ momentum to stabilize GANs, which is illustrated as follows:
493
+
494
+ $$
495
+ W _ { t + 1 } = W _ { t } + \eta \nabla W + \lambda ( W _ { t } - W _ { t - 1 } ) .
496
+ $$
497
+
498
+ Together with weight decay, the controlled dynamics of $W$ is given:
499
+
500
+ $$
501
+ W _ { t + 1 } = W _ { t } + \eta \nabla W + \lambda _ { 1 } ( W _ { t } - W _ { t - 1 } ) - \lambda _ { 2 } W _ { t } .
502
+ $$
503
+
504
+ In this setting, Eqn. (21) is equivalent to the PD controller with negative feedback in the parameter space whose diagram can be illustrated in Fig. 11. The $\lambda _ { 1 } ( W _ { t } - W _ { t - 1 } )$ denotes the $\mathrm { D }$ part and $\lambda _ { 2 } W _ { t }$ denotes the $\mathrm { \bf P }$ part.
505
+
506
+ # D LOCAL APPROXIMATION TO THE REGULARIZED DYNAMICS
507
+
508
+ In this section, we prove that around the equilibrium, the dynamics of regularized $D$ with Lipschitz constraint is equivalent to the unregularized $D$ as in Eqn. (10). Since the updating direction of $D$ is the gradient of $D$ in the functional space, we only need to prove that updating $D$ according to Eqn. (10) will not violate the Lipschitz constraints, at least locally around the equilibrium. Here we make the following assumptions:
509
+
510
+ 1. Both $p _ { D } ( x )$ and $p _ { G } ( t , x )$ are $C ^ { 1 }$ -smooth: $\textstyle { \frac { d p ( x ) } { d x } }$ exists and is continuous for $p _ { D }$ and $p _ { G } ( t , x ) , \forall t$ .
511
+ 2. $p ( x ) 0$ and $\textstyle { \frac { d p ( x ) } { d x } } \to 0$ when $x \to 0$ for $p _ { D }$ and $p _ { G } ( t , x ) , \forall t$ .
512
+ 3. There exists an $M$ such that $| { \frac { d p ( x ) } { d x } } | _ { 2 } < M$ for $p _ { D }$ and $p _ { G } ( t , x ) , \forall t$ .
513
+
514
+ The above assumptions are satisfied for most probability density functions.
515
+
516
+ The distance in the function space is defined as $\begin{array} { r } { d ( p _ { 1 } , p _ { 2 } ) = \operatorname* { s u p } _ { x \in \mathbb { R } ^ { n } } | p _ { 1 } ( x ) - p _ { 2 } ( x ) | } \end{array}$ which always exists because of the 2-nd conditions above. We define ΩL = {p(x)|p(x) ∈ C1, | dp(x)dx | and $B ( \epsilon ) = \{ p ( x ) | p ( x ) \in C ^ { 1 } , \operatorname* { s u p } _ { x } | p ( x ) | < \epsilon \}$ . Then we have the follow theorem:
517
+
518
+ Theorem 1. There exists $\delta > 0$ , such that $\forall D ( x ) \in \Omega _ { 0 . 5 }$ , we have $D ( x ) + \delta ( p _ { D } ( x ) - p _ { G } ( x ) ) \in \Omega _ { 1 }$
519
+
520
+ Proof. By denoting $D ^ { \prime } ( x ) = D ( x ) + \delta ( p _ { D } ( x ) - p _ { G } ( x ) )$ , We have:
521
+
522
+ $$
523
+ \frac { d ( D ( x ) + \delta ( p _ { D } ( x ) - p _ { G } ( x ) ) ) } { d x } = \frac { d D ( x ) } { d x } + \delta ( \frac { p _ { D } ( x ) } { d x } - \frac { p _ { G } ( x ) } { d x } ) .
524
+ $$
525
+
526
+ Therefore, we have
527
+
528
+ $$
529
+ \begin{array} { l } { \displaystyle | \frac { d ( D ( x ) + \delta ( p _ { D } ( x ) - p _ { G } ( x ) ) ) } { d x } | _ { 2 } \leq | \frac { d D ( x ) } { d x } | _ { 2 } + \delta ( | \frac { p _ { D } ( x ) } { d x } | _ { 2 } + | \frac { p _ { G } ( x ) } { d x } ) | _ { 2 } } \\ { \leq 0 . 5 + \delta ( M + M ) . } \end{array}
530
+ $$
531
+
532
+ By letting $\begin{array} { r } { \delta = \frac { 1 } { 4 M } } \end{array}$ , we have $| \frac { d ( D ^ { \prime } ) } { d x } | _ { 2 } \leq 0 . 7 5$ . Therefore we have $D ^ { \prime } ( x ) \in \Omega _ { 1 }$ .
533
+
534
+ The above theorem indicates that when $D ( x )$ is sufficient close to the equilibrium, then the dynamics of $D$ still follows Eqn. (10).
535
+
536
+ # E CONNECTION TO REGULARIZATION ON JACOBIAN MATRIX
537
+
538
+ In this paper, we mainly analyze our proposed method in the functional space, including stability analysis and controller designing. Instead, our proposed method can also be interpreted as certain regularization terms on the Jacobian matrix of the training dynamics. Below we provide a formal demonstration.
539
+
540
+ First, we denote the equilibrium of $G$ and $D$ in the functional space as $( \theta ^ { * } , \phi ^ { * } )$ , where $p _ { G } ( x ; \theta ^ { * } ) =$ $p _ { D } ( x )$ and $D ( x ; \phi ^ { * } ) \bar { = } 0$ for all $x$ . Therefore, we have that $\phi ^ { * }$ is also a global minimum point of the regularization term $\begin{array} { r } { L ( D ) = \int D ^ { 2 } ( x ) d x } \end{array}$ . Then we have ∂2L(D) 0.
541
+
542
+ We denote $U ( D , G )$ as the objective function of the minimax optimization problem in WGAN without NF regularization. Then the Jacobian matrix of the training dynamic can be denoted as:
543
+
544
+ $$
545
+ \begin{array} { r } { J = \left( \begin{array} { c c } { \frac { \partial ^ { 2 } U ( D , G ) } { \partial \phi ^ { 2 } } } & { \frac { \partial ^ { 2 } U ( D , G ) } { \partial \phi \partial \theta } } \\ { \frac { \partial ^ { 2 } U ( D , G ) } { \partial \theta \partial \phi } } & { \frac { \partial ^ { 2 } U ( D , G ) } { \partial \theta ^ { 2 } } } \end{array} \right) . } \end{array}
546
+ $$
547
+
548
+ Because of the linearity of the derivation, the training dynamics of the WGAN with NF regularization is denoted as:
549
+
550
+ $$
551
+ \begin{array} { r } { J ^ { \prime } = J - J _ { L } = J - \left( \begin{array} { c c } { \frac { \partial ^ { 2 } L ( D ) } { \partial \phi ^ { 2 } } } & { \mathbf { 0 } } \\ { \mathbf { 0 } } & { \mathbf { 0 } } \end{array} \right) , } \end{array}
552
+ $$
553
+
554
+ where we abuse the 0 to denote the zero matrix with certain size to match the size of $J$ . Since ∂2L(D)∂φ2  0, we have −JL  0. Therefore, the NF regularization introduces a negative semi-definite matrix to the original Jacobian matrix, which is helpful to stabilize the training dynamics of GANs.
parse/train/BJe7h34YDS/BJe7h34YDS_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/BJe7h34YDS/BJe7h34YDS_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/BJe7h34YDS/BJe7h34YDS_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/Kai3KkCOCp/Kai3KkCOCp.md ADDED
@@ -0,0 +1,390 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # One-to-many Approach for Improving Super-Resolution
2
+
3
+ Anonymous Author(s)
4
+ Affiliation
5
+ Address
6
+ email
7
+
8
+ # Abstract
9
+
10
+ Super-resolution (SR) is a one-to-many task with multiple possible solutions. However, previous works were not concerned about this characteristic. For a oneto-many pipeline, the generator should be able to generate multiple estimates of the reconstruction, and not be penalized for generating similar and equally realistic images. To achieve this, we propose adding weighted pixel-wise noise after every Residual-in-Residual Dense Block (RRDB) to enable the generator to generate various images. We modify the strict content loss to not penalize the stochastic variation in reconstructed images as long as it has consistent content. Additionally, we observe that there are out-of-focus regions in the DIV2K, DIV8K datasets that provide unhelpful guidelines. We filter blurry regions in the training data using the method of [10]. Finally, we modify the discriminator to receive the lowresolution image as a reference image along with the target image to provide better feedback to the generator. Using our proposed methods, we were able to improve the performance of ESRGAN in $\times 4$ perceptual SR and achieve the state-of-the-art LPIPS score in $\times 1 6$ perceptual extreme SR.
11
+
12
+ # 16 1 Introduction
13
+
14
+ 17 Super-resolution is the task of recovering a high-resolution (HR) image from a low-resolution (LR)
15
+ 18 image. Recent works have achieved significant performance in SR using deep convolutional neural
16
+ 19 network (CNN) based approaches. Some of them exploit strict content loss as the training objective
17
+ 20 for super-resolution and propose various network architectures to improve the PSNR score. However,
18
+ 21 these methods often result in overly smooth images and have poor perceptual quality [6]. Another
19
+ 22 branch of works focuses on improving perceptual quality with perceptual training methods [1,6,7].
20
+ 23 These methods employ generative adversarial networks (GAN) and perceptual loss functions to drive
21
+ 24 the network’s output towards the natural image manifold of possible HR images. We assess an1d
22
+ 25 further improve the perceptual quality of these works.
23
+ 26 Because super-resolution is a one-to-many problem with multiple possible reconstructions for one
24
+ 27 image, methods based on strict content loss often lead to predicting the average of possible reconstruc
25
+ 28 tions[6]. Perceptual-driven solutions utilize perceptual and adversarial loss, which both don’t penalize
26
+ 29 the generator for generating equally realistic images with stochastic variance. However, we discover
27
+ 30 two incomplete aspects in the current perceptual SR pipeline. First, although the above-mentioned
28
+ 31 losses don’t penalize stochastic variation, the final loss is mixed with the strict content loss which
29
+ 32 strictly penalizes these variations. Second, the generator doesn’t have the ability to generate multiple
30
+ 33 estimates of the image despite a one-to-many problem. To implement such a one-to-many pipeline,
31
+ 34 we provide the generator with pixel-wise noise and improve the content loss so it doesn’t restrict the
32
+ 35 variation in the image while ensuring the consistency of the content.
33
+
34
+ 36 The key contributions of our work can be described as follows:
35
+
36
+ • We propose a weaker content loss that does not penalize generating high-frequency detail and stochastic variation in the image.
37
+ • We enable the generator to generate diverse outputs by adding scaled pixel-wise noise after each RRDB block.
38
+ • We filter blurry regions in the training data using Laplacian activation[10].
39
+ • We additionally provide the LR image to the discriminator to give better gradient feedback to the generator.
40
+
41
+ # 44 2 Related work
42
+
43
+ 45 Since the pioneering work of SRCNN[9], many works have exploited the pixel-wise loss and PSNR
44
+ 46 oriented training objectives to learn the end-to-end mapping from LR to HR images. We denote
45
+ 47 such pixel-wise losses as the strict content loss. Many network architectures and techniques were
46
+ 48 experimented with to improve the complexity of such networks. Deeper network architectures[17],
47
+ 49 residual networks[6], channel attention[18], and techniques to remove batch normalization[19] were
48
+ 50 introduced. Although these works achieved state-of-the-art SR performance in the peak signal-to
49
+ 51 noise ratio (PSNR) metric, they often produce overly smooth images.
50
+ 52 To improve the perceptual image quality of SR, SRGAN [6] proposes perceptual loss and GAN-based
51
+ 53 training. The perceptual loss is measured using intermediate activations of the VGG-19 network and
52
+ 54 a discriminator is used for the adversarial training process. Enhanced SRGAN (ESRGAN) further
53
+ 55 improves SRGAN by modifying the generator architecture with Residual in Residual Dense Block
54
+ 56 (RRDB), the Relativistic GAN [16] loss, and improving the perceptual loss. Such methods were
55
+ 57 superior to PSNR-oriented methods at generating photo-realistic SR images with sharp details, achiev
56
+ 58 ing high perceptual scores. However, we could still often find unpleasant artifacts and problematic
57
+ 59 textures in the reconstructions of ESRGAN. Such cases are exemplified in Figure 4.
58
+ 60 Traditional metrics for assessing image quality such as PSNR and SSIM (Structural Similarity Index
59
+ 61 Measure) fail to coincide with human perception[4]. The PSNR score is calculated based on the
60
+ 62 pixel-wise MSE, so methods that minimize pixel-wise differences tend to achieve high PSNR scores
61
+ 63 [9]. However, the PSNR-oriented solutions fail at generating high-frequency details and often drive
62
+ 64 the reconstruction towards the average of possible solutions, producing overly smooth images[6]. The
63
+ 65 learned perceptual image patch similarity (LPIPS) score[4] was proposed to measure the perceptual
64
+ 66 quality on various computer vision tasks. According to [2], the LPIPS score reliably coincides with
65
+ 67 human perception for assessing super-resolved images. We use the LPIPS score as an indicator of
66
+ 68 perceptual image quality in our experiments.
67
+ 69 CycleGAN[8] is a pipeline for image-to-image translation with unpaired images using generative
68
+ 70 adversarial nets and cycle loss. CycleGAN consists of 2 generators $G _ { 1 } , G _ { 2 }$ , and 2 discriminators
69
+ 71 $D _ { 1 } , D _ { 2 }$ , where $G _ { 1 }$ and $G _ { 2 }$ each translate the input image in a cycling manner. The generators are
70
+ 72 trained to minimize the adversarial loss and cycle loss $| | \bar { G } _ { 2 } ( G _ { 1 } ( \bar { x } ) ) - \bar { x } | | _ { 1 }$ between the input image
71
+ 73 and cycled image. We were able to design a loss based on the cycle loss to reliably measure the
72
+ 74 content consistency without such a complicated design.
73
+
74
+ # 75 3 Method
75
+
76
+ 76 We design a one-to-many approach for perceptual super-resolution by modifying the generator and the
77
+ 77 training objective. We also describe additional modifications to the training process and discriminator
78
+ 78 to improve the perceptual quality of SR.
79
+
80
+ # 3.1 Cycle consistency loss
81
+
82
+ 80 Most works on perceptual super-resolution[1, 6, 7] combine the content loss, adversarial loss (GAN
83
+ 81 loss), and perceptual loss for the training objective as in Equation 1. Although the strict content
84
+ 82 loss and adversarial loss are fundamentally disagreeing objectives, relying exclusively on either loss
85
+ 83 each has significant issues. The strict content loss guides the network output to be exactly consistent
86
+ 84 with the HR image, guiding the network to learn the mean of possible reconstructions and thus
87
+ 85 tends to give overly-smoothed results. Although the GAN framework is a powerful method for
88
+ 86 photo-realistic image generation, adversarial learning is highly unstable, and while the adversarial
89
+ 87 loss and perceptual loss guide the network to be perceptually convincing, they don’t enforce the
90
+ 88 content of the super-resolved image to be consistent with the low-resolution image.
91
+
92
+ ![](images/5f90468a9ff0b9cfbc11281c309a3a4cf86bef35fe571f45672f0724d203820f.jpg)
93
+ Figure 1: An overview of our method. The cycle consistency loss is measured by comparing the LR image with the downsampled SR image. The discriminator is provided with the target image and a reference image generated by bicubic-upsampling the LR image.
94
+
95
+ $$
96
+ L _ { T o t a l } = L _ { p e r c e p } + \lambda L _ { G A N } + \eta L _ { 1 }
97
+ $$
98
+
99
+ 89 We regard simply trading off these disagreeing losses as an incomplete objective for super-resolution
100
+ 90 since the mixing of such losses will obstruct the optimization of either loss. An improved training
101
+ 91 objective must be GAN-oriented while ensuring consistent content of the image. That is, there needs
102
+ 92 a content loss that doesn’t hamper the generation of images with high-frequency details.
103
+ 93 We propose a soft content loss inspired by the cycle loss of CycleGAN[8] to ensure the output of
104
+ 94 the generator to be consistent with the low-resolution image while not disturbing the generation of
105
+ 95 high-frequency information.
106
+ 96 We view the super-resolution problem as an image-to-image translation task between the LR and HR
107
+ 97 image space and apply the CycleGAN framework. To simplify the problem, we exploit our prior
108
+ 98 knowledge on $G _ { 2 } : H R - > L R$ . We can denote the downsampling operation as $f$ and set $G _ { 2 }$ to
109
+ 99 be $f$ instead of learning it. Consequently, our pipeline doesn’t require learning $D _ { 2 }$ which is a tool
110
+ 100 for learning $G _ { 2 }$ . This leaves only $G _ { 1 }$ and $D _ { 1 }$ to be learned. We can write the cycle consistency loss
111
+ 101 as Equation 2. This loss won’t penalize generating high-frequency details in any way while the SR
112
+ 102 image remains consistent with the LR image. Finally, we can conclude our generator loss as Equation
113
+ 103 3.
114
+
115
+ $$
116
+ L _ { c y c } ( G _ { 1 } ) = | | f ( G _ { 1 } ( L R ) ) - L R | | _ { 1 }
117
+ $$
118
+
119
+ $$
120
+ L _ { T o t a l } ( G _ { 1 } ) = L _ { c y c } ( G _ { 1 } ) + \lambda L _ { G A N } ( G _ { 1 } , D _ { 1 } ) + \eta L _ { p e r c e p }
121
+ $$
122
+
123
+ # 104 3.2 Providing scaled Gaussian noise to the generator
124
+
125
+ 105 For the generator to be capable of generating more than one solution given a single image, it must
126
+ 106 receive and apply random information. The variation between super-resolved images will mostly
127
+ 107 be stochastic variation in high-frequency textures. StyleGAN[3] achieves stochastic variation in
128
+ 108 images by adding pixel-wise Gaussian noise to the output of each layer in the generator. We adopt
129
+ 109 this method and add the noise after every RRDB layer in the generator.
130
+ 110 However, the sensitivity and the desired magnitude of noise would differ for each channel. Adding
131
+ 111 the same noise directly after every layer could rather harm the ability of the generator. For example, a
132
+ 112 channel that detects edges would be seriously harmed by the noise. The sensitivity will also depend on
133
+ 113 the depth of the network. To mitigate such possible issues, we allow each channel to learn the desired
134
+ 114 magnitude of the noise. Specifically, before adding the noise to the output of each layer, we multiply
135
+ 115 the noise with a channel-wise scaling factor. The scaling factor is learned concurrently with the
136
+ 116 network parameters. We observe that the desired magnitude differs along the network depending on
137
+ 117 the position of the layer. This shows that our method effectively implements a one-to-many generator
138
+ 118 for super-resolution. The early layers seem to be focusing more on extracting the feature of the image,
139
+ 119 while the final layers preferred the noise to be scaled before being applied to the reconstruction.
140
+ 120 Details are illustrated in Figure 2. The noise is not applied at evaluation.
141
+
142
+ ![](images/1e3c823f21bfc1f901341939547cf91481685756bdee3aed3434cd2a7666db6d.jpg)
143
+ Figure 2: Boxplot of the scaling factors against the position of the layer in the network. The desired magnitude of noise increases in deeper layers, while the final layers have smaller scaling factors. The sensitivity to random noise varies for each layer and channel.
144
+
145
+ # 21 3.3 Reference image for the discriminator
146
+
147
+ 122 Traditionally, the discriminator network receives a single image and is trained to classify whether the
148
+ 123 given image is real or a generated image. This setting will provide the generator with gradients to
149
+ 124 "any natural image" instead of towards the corresponding HR image. In an extreme example, the
150
+ 125 traditional discriminator won’t penalize the generator for generating completely different but equally
151
+ 126 realistic images from an LR image. Although this is unlikely due to the existence of other content
152
+ 127 and perceptual losses, the gradient feedback given by the discriminator is sub-optimal for the task of
153
+ 128 super-resolution.
154
+ 129 As a solution, we provide the low-resolution image as a reference along with the target image to the
155
+ 130 discriminator. This enables the discriminator to learn more important features for discriminating
156
+ 131 the generated image and provide better gradient feedback according to the LR image. For details,
157
+ 132 refer to Figure 1. We upsample the LR image to the same size as the HR image and concatenate
158
+ 133 them, feeding a tensor of shape $( H , W , 6 )$ to the discriminator. Despite its simplicity, conditioning
159
+ 134 the discriminator on the input is a crucial modification for training such a supervised problem with
160
+ 135 GAN-oriented losses.
161
+
162
+ # 136 3.4 Blur detection
163
+
164
+ 137 We recognized that there are often severely blurry regions in the images from the DIV2K[14] and
165
+ 138 DIV8K[15] datasets. Although the authors of [15] argue that the data was collected by "paying special
166
+ 139 attention to image quality", there were many scenes with out-of-focus backgrounds. These blurry
167
+ 140 regions might plague the generator to learn to generate such blurry patches. Blurry backgrounds are
168
+ 141 often indistinguishable from finer objects based only on the LR image. Though some might argue
169
+ 142 that the blurry backgrounds must also be learned, we were able to achieve finer detail and higher
170
+ 143 LPIPS score by detecting and removing blurry patches from both datasets.
171
+ 144 We propose to detect and remove blurry patches before the network is trained on those patches.
172
+ 145 There are various methods for blur detection e.g. algorithmic methods and deep-learning-based
173
+ 146 approaches[11, 12]. However, most deep-learning-based works focus on predicting pixel-wise blur
174
+ 147 maps of the image, which wouldn’t be suited for our needs. Mostly, the algorithmic method of [10]
175
+ 148 was successful at reliably detecting blurry patches as can be observed in Figure 3. We measure the
176
+ 149 variance of the Laplacian activation of the patch and consider patches with variance of under 100 as
177
+ 150 blurry patches. The algorithm detects $2 8 . 8 \%$ blurry patches in a sample of 16,000 randomly cropped
178
+ 151 patches of size $9 6 \times 9 6$ from the DIV2K dataset and $4 8 . 9 \%$ of patches in a sample of 140,000 patches
179
+ 152 from the DIV8K dataset.
180
+
181
+ ![](images/5b3c8f92720e92734d7bbff6c27ce08971f0c5ca993ec1d559aa6ae4a040373b.jpg)
182
+ Figure 3: Randomly selected samples of the blur detection algorithm tested on image 0031 from the DIV8K dataset. The top two rows are the patches classified as clear and the bottom rows are blurry patches. Regions that are clear in the image (person, pole) are correctly considered as clear patches by the detection algorithm.
183
+
184
+ # 153 4 Experiments
185
+
186
+ 154 We conduct experiments to evaluate the effectiveness of our proposed techniques in $\times 4$ and $\times 1 6$
187
+ 155 resolution and compare them with the baseline ESRGAN. We first experiment the effects of blur
188
+ 156 detection, then we perform an ablation study of our proposed training methods to evaluate their
189
+ 157 effectiveness. Implementation detail and training logs can be found on GitHub1. All our experiments
190
+ 158 were performed on a single Tesla T4 or Tesla K80 GPU on Google Colaboratory.
191
+ 159 We observed that a large portion of the training was used for loading high-resolution images, despite
192
+ 160 most of the images not being used. As an implementation detail to improve training speed significantly,
193
+ 161 we extract multiple patches and save them in a buffer while training instead of extracting only a single
194
+ 162 patch after loading the image. We randomly pick images from the buffer for training and discard the
195
+ 163 selected patches from the buffer. In all of our experiments, we extract 128 patches from each image
196
+ 164 and create a buffer of 1024 patches.
197
+
198
+ # 4.1 $\times 4$ super-resolution
199
+
200
+ # 4.1.1 Training details
201
+
202
+ 167 We employ the ESRGAN network architecture with 23 RRDB blocks and most of its training
203
+ 168 configurations for the baseline of our experiments on $\times 4$ super-resolution. The training process is
204
+ 169 divided into two stages. We first pretrain the PSNR-oriented models then train the ESRGAN-based
205
+ 170 models.
206
+ 71 The PSNR-oriented models are trained with the L1 loss with a batch size of 16 for 500K iterations.
207
+ 72 We apply learning rate decay with an initial learning rate of $2 \times 1 0 ^ { - 4 }$ , decayed by a factor of 2
208
+ 73 every $2 0 0 k$ iterations. We initialize the GAN-based model with the PSNR-oriented model. We
209
+ 74 initialize the learning rate with $1 \times 1 0 ^ { - 4 }$ for both $G _ { 1 }$ and $D _ { 1 }$ , decaying the learning rate by a factor
210
+ 75 of 2 at $[ 5 0 k , 1 0 0 k , 2 0 0 k , 3 0 0 k ]$ iterations. For optimization, we use the Adam optimizer for both
211
+ 76 pretrained networks and GAN-based models, with $\beta _ { 1 } = 0 . 9$ and $\beta _ { 2 } = 0 . 9 9$ . The learning rate decay
212
+ 77 schedule corresponds to the one proposed by ESRGAN. We implement our models and methods with
213
+ 78 the Tensorflow framework. The loss function is scaled with $\eta = 1 0$ and $\lambda = 5 \times 1 0 ^ { - 3 }$ , which is
214
+ 79 equivalent to the training configuration of ESRGAN used in the PIRM-SR challenge. This is slightly
215
+ 80 different from the configuration used in the released model trained with $\eta = 1 0 ^ { - 2 }$ .
216
+ 181 All of our networks are trained exclusively on the DIV2K dataset[14], while the original ESRGAN
217
+ 182 was trained with DIV2K, Flickr2K, and OST datasets combined. We obtained the LR images by
218
+ 183 downsampling the HR images with MATLAB bicubic interpolation. We compare the effects of our
219
+ 184 methods on LPIPS, PSNR, and SSIM scores on the Set5, Set14, BSD100, and Urban100 datasets.
220
+ 185 Scores evaluated on the Set5 and Set14 datasets are obtained by averaging the final 5 checkpoints,
221
+ 186 each recorded at [480k, 485k, 490k, $4 9 5 k$ , $5 0 0 k ]$ iterations.
222
+
223
+ Table 1: LPIPS, PSNR, SSIM scores of various configurations for $\times 4$ .
224
+
225
+ <table><tr><td>Methods</td><td>Set5 (LPIPS /PSNR/SSIM)</td><td>Set14</td><td>BSD100</td><td>Urban100</td></tr><tr><td>Pretrained (a)</td><td>0.1341/30.3603/0.8679</td><td>0.2223/26.7608/0.7525</td><td>0.2705/27.2264/0.7461</td><td>0.1761/24.8770/0.7764</td></tr><tr><td>+Blur detection (b)</td><td>0.1327 /30.4582/0.7525</td><td>0.2229 /26.8448 /0.7547</td><td>0.2684 /27.2545 /0.7473</td><td>0.1744/25.0816 /0.7821</td></tr><tr><td>ESRGAN (Official)</td><td>0.0597/28.4362/0.8145</td><td>0.1129/23.4729/0.6276</td><td>0.1285/23.3657/0.6108</td><td>0.1025/22.7912/0.7058</td></tr><tr><td>ESRGAN (c)</td><td>0.0538/27.9285/0.7968</td><td>0.1117/24.5264/0.6602</td><td>0.1256/24.6554/0.6447</td><td>0.1026/23.2829/0.7137</td></tr><tr><td>+refGAN (d)</td><td>0.0536 /27.9871/0.8014</td><td>0.1157 /24.4505 /0.6611</td><td>0.1275 /24.5896 /0.6470</td><td>0.1027 /23.0496 /0.7103</td></tr><tr><td>+Add noise (e)</td><td>0.04998/28.23/0.8081</td><td>0.1104 /24.48/0.6626</td><td>0.1209 /24.8439 /0.6577</td><td>0.1007 /23.2204 /0.7203</td></tr><tr><td>+Cycle loss (f)</td><td>0.0524/28.1322/0.8033</td><td>0.1082 /24.5802/0.6634</td><td>0.1264/24.6180 /0.6468</td><td>0.1015 /23.1363 /0.7103</td></tr><tr><td>-Perceptual loss (g)</td><td>0.2690 / 23.4608 /0.6312</td><td>0.2727 /22.2703 /0.5685</td><td>0.2985 /24.1648 /0.5859</td><td>0.2411 /20.8169 /0.6244</td></tr></table>
226
+
227
+ # 4.1.2 Ablation study
228
+
229
+ 188
230
+ 189
231
+ 190
232
+ 191
233
+ 192
234
+ 193
235
+ 194
236
+ 195
237
+ 196
238
+ 197
239
+ 198
240
+ 199
241
+ 200
242
+ 201
243
+
244
+ To study the effects of our proposed methods, we perform an ablation study of our proposed method. We enable our proposed methods one by one and list the resulting scores in Table 1. Each training configuration was fully trained with the original training configurations. We provide the saved model and configuration files to reproduce our results in our project repository. We also list the results of the official ESRGAN for fair comparison. The improvements from the official results and the result from configuration(c) is because the $\eta$ value is different from the official model. First, blur detection is experimented with in configuration(b) and improves the LPIPS score for all benchmarks. We train our baseline ESRGAN in configuration(c) and get reasonable results. By applying the technique of Section 3.3 in configuration(d), we slightly harm the network in terms of the LPIPS score. However, providing conditional information to the discriminator is crucial for learning such a supervised problem with adversarial learning. Our method of directly concatenating the reference image in the input is not optimal. The low-resolution image could be applied through SPADE[20] or alternative spatial transformation methods for improvements. Applying scaled noise shows large improvements as experimented in configuration(e).
245
+
246
+ 202 The cycle consistency loss applied in configuration(f) shows neutral and slightly negative effects
247
+ 203 on the LPIPS score. The reason for this is mostly because of the incompetent GAN framework
248
+ 204 lacking the training techniques of modern GAN literature. Our statement is stated by the failure of
249
+ 205 configuration(g) where the GAN framework alone is responsible for learning the super-resolution
250
+ 206 process. The GAN framework of ESRGAN is incapable of lead the training process and thus
251
+ 207 the image quality wasn’t improved when we gave more responsibility to the adversarial loss in
252
+ 208 configuration(f). However, coupled with improved GAN techniques in further research, the cycle
253
+ 209 consistency content loss will further enhance the image quality.
254
+
255
+ # 4.2 $\times 1 6$ super-resolution
256
+
257
+ # 4.2.1 Training details
258
+
259
+ 12 We employ the RFB-ESRGAN of [21] as the baseline for our experiments on $\times 1 6$ super-resolution.
260
+ 13 The RFB-ESRGAN proposes an architecture using Receptive Field Blocks(RFB) and Residual of
261
+ 14 Receptive Field Dense Block(RRFDB), each as an alternative for convolution and RRDB blocks. The
262
+ 15 RFB-ESRGAN uses less memory compared to methods that manipulate the image in the intermediate
263
+ 16 $\times 4$ resolution[22] and this allowed larger batch size in our environment. We employ the RFB
264
+ 17 ESRGAN network architecture with 16 RRDB blocks and 8 RRFDB blocks for the baseline of our
265
+ 18 experiments on $\times 1 6$ super-resolution.
266
+ 219 The model is first trained with the L1 loss for 100K iterations with an initial learning rate $2 \times 1 0 ^ { - 4 }$
267
+ 220 decayed by a factor of two every $2 . 5 \times 1 0 ^ { 5 }$ iteration. The GAN-based model is initialized with the
268
+ 221 pretrained model and is trained for 200K iterations, which is shorter than the original 400K iterations.
269
+ 222 Additionally, the batch size is decreased from 16 to 4 and we therefore approximately scale the
270
+ 223 initial learning rate of $1 0 ^ { - 4 }$ to $2 \times 1 0 ^ { - 5 }$ by a factor of 5. The learning rate is decayed at $[ 5 0 k , 1 0 0 k ]$
271
+ 4 iterations. We don’t use model ensemble to further stabilize the network. All other models and
272
+ 25 hyperparameter configurations are equal. We train the network on the DIV8K dataset[15], while the
273
+ 26 original network was trained with additional datasets including DIV2K, Flicker2K, OST dataset. The
274
+ 27 first 1,400 images of DIV8K are used as training data and the rest 100 validation images are used for
275
+ 28 evaluation.
276
+
277
+ Table 2: LPIPS, PSNR scores for various configurations for $\times 1 6$ super-resolution.
278
+
279
+ <table><tr><td rowspan=1 colspan=1>Methods</td><td rowspan=1 colspan=1>DIV8K validation</td></tr><tr><td rowspan=1 colspan=1>Pretrained (a)+Blur detection (b)</td><td rowspan=1 colspan=1>0.4664/30.36030.4603 / 25.53</td></tr><tr><td rowspan=1 colspan=1>RFB-ESRGAN(official)</td><td rowspan=1 colspan=1>0.345 /24.03</td></tr><tr><td rowspan=1 colspan=1>Baseline RFB-ESRGAN (c)Ours w/o cycle-loss (d)Ours w/ cycle-loss (e)</td><td rowspan=1 colspan=1>0.356/24.780.321 / 23.950.323 / 23.49</td></tr></table>
280
+
281
+ # 4.2.2 Ablation study
282
+
283
+ The PSNR-oriented method is improved using blur detection in configuration(b). Our GAN-baed model of configuration(c) achieves worse performance compared the the results reported in [21] because of the lighter training configurations. We were able to make significant improvements in the LPIPS score from the baseline RFB-ESRGAN using our proposed methods in configuration(d). We apply all of our proposed methods except the cycle consistency loss in configuration(d). We also train the model with cycle consistency loss and get similar results in configuration(e). We were able to make such improvements using much lighter training configurations with only half iteration steps, $\times 4$ smaller batch size, and without model ensemble. The results are described in Table 2.
284
+
285
+ # 238 5 Conclusion
286
+
287
+ 239 We proposed a one-to-many approach for super-resolution and achieve improved perceptual quality
288
+ 240 and better LPIPS score from the baseline ESRGAN configuration and achieve the state-of-art LPIPS
289
+ 241 score in $\mathbf { \boldsymbol { x } } 1 6$ perceptual super-resolution. We provide scaled pixel-wise to the generator to allow
290
+ 242 stochastic variation in the reconstructed image and implement a generator capable of a one-to-many
291
+ 243 pipeline. We also address the limitations of mixing the strict content loss with perceptual losses and
292
+ 244 propose an alternative based on the cycle loss. Our newly modified loss will ensure the consistency
293
+ 245 of the content while not penalizing high-frequency detail. Additionally, we further propose more
294
+ 246 techniques such as blur detection using Laplacian activation and redesign the discriminator input by
295
+ 247 providing a reference image to further improve the perceptual quality of $\times 4$ and $\times 1 6$ super-resolution.
296
+ 248 However, the GAN framework from ESRGAN was incompetent to guide the training on its own.
297
+ 249 Modern GAN training techniques could be applied to further improve the GAN framework used
298
+ 250 in super-resolution. Our proposed loss function will become more effective as a content loss when
299
+ 251 coupled with a robust GAN framework since it will reduce constraints in generating high-frequency
300
+ 252 detail. Such improvements are left for future work.
301
+ 254 [1] Wang, Xintao, et al. "Esrgan: Enhanced super-resolution generative adversarial networks." Proceedings of
302
+ 255 the European Conference on Computer Vision (ECCV) Workshops. 2018.
303
+ 256 [2] Zhang, Kai, Shuhang Gu, and Radu Timofte. "Ntire 2020 challenge on perceptual extreme super-resolution:
304
+ 257 Methods and results." Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition
305
+ 258 Workshops. 2020.
306
+ 259 [3] Karras, Tero, Samuli Laine, and Timo Aila. "A style-based generator architecture for generative adversarial
307
+ 260 networks." Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2019.
308
+ 261 [4] Zhang, Richard, et al. "The unreasonable effectiveness of deep features as a perceptual metric." Proceedings
309
+ 262 of the IEEE conference on computer vision and pattern recognition. 2018.
310
+ 263 [5] Jo, Younghyun, Sejong Yang, and Seon Joo Kim. "Investigating loss functions for extreme super-resolution."
311
+ 264 Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops. 2020.
312
+ 265 [6] Ledig, Christian, et al. "Photo-realistic single image super-resolution using a generative adversarial network."
313
+ 266 Proceedings of the IEEE conference on computer vision and pattern recognition. 2017.
314
+ 267 [7] Sajjadi, Mehdi SM, Bernhard Scholkopf, and Michael Hirsch. "Enhancenet: Single image super-resolution
315
+ 268 through automated texture synthesis." Proceedings of the IEEE International Conference on Computer Vision.
316
+ 269 2017.
317
+ 270 [8] Zhu, Jun-Yan, et al. "Unpaired image-to-image translation using cycle-consistent adversarial networks."
318
+ 271 Proceedings of the IEEE international conference on computer vision. 2017.
319
+ 272 [9] Dong, Chao, et al. "Image super-resolution using deep convolutional networks." IEEE transactions on pattern
320
+ 273 analysis and machine intelligence 38.2 (2015): 295-307.
321
+ 274 [10] Bansal, Raghav, Gaurav Raj, and Tanupriya Choudhury. "Blur image detection using Laplacian operator
322
+ 275 and Open-CV." 2016 International Conference System Modeling & Advancement in Research Trends (SMART).
323
+ 276 IEEE, 2016.
324
+ 277 [11] Tang, Chang, et al. "Defusionnet: Defocus blur detection via recurrently fusing and refining multi-scale
325
+ 278 deep features." Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2019.
326
+ 279 [12] Wang, Xuewei, et al. "Accurate and fast blur detection using a pyramid M-Shaped deep neural network."
327
+ 280 IEEE Access 7 (2019): 86611-86624.
328
+ 281 [13] Yuan, Yuan, et al. "Unsupervised image super-resolution using cycle-in-cycle generative adversarial
329
+ 282 networks." Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops. 2018.
330
+ 283 [14] Agustsson, Eirikur, and Radu Timofte. "Ntire 2017 challenge on single image super-resolution: Dataset and
331
+ 284 study." Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops. 2017.
332
+ 285 [15] Gu, Shuhang, et al. "Div8k: Diverse 8k resolution image dataset." 2019 IEEE/CVF International Conference
333
+ 286 on Computer Vision Workshop (ICCVW). IEEE, 2019.
334
+ 287 [16] Jolicoeur-Martineau, Alexia. "The relativistic discriminator: a key element missing from standard GAN."
335
+ 288 arXiv preprint arXiv:1807.00734 (2018).
336
+ 289 [17] Kim, Jiwon, Jung Kwon Lee, and Kyoung Mu Lee. "Accurate image super-resolution using very deep
337
+ 290 convolutional networks." Proceedings of the IEEE conference on computer vision and pattern recognition. 2016.
338
+ 291 [18] Zhang, Yulun, et al. "Image super-resolution using very deep residual channel attention networks."
339
+ 292 Proceedings of the European conference on computer vision (ECCV). 2018.
340
+ 293 [19] Lim, Bee, et al. "Enhanced deep residual networks for single image super-resolution." Proceedings of the
341
+ 294 IEEE conference on computer vision and pattern recognition workshops. 2017.
342
+ 295 [20] Park, Taesung, et al. "Semantic image synthesis with spatially-adaptive normalization." Proceedings of the
343
+ 296 IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2019.
344
+ 297 [21] Shang, Taizhang, et al. "Perceptual extreme super-resolution network with receptive field block." Proceed
345
+ 298 ings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops. 2020.
346
+ 299 [22] Jo, Younghyun, Sejong Yang, and Seon Joo Kim. "Investigating loss functions for extreme super-resolution."
347
+ 300 Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops. 2020.
348
+
349
+ ![](images/1a6d0d9b88734d4ca44353bccc5cbf928b82be5e1b229157482c43899b74b8e8.jpg)
350
+ Figure 4: Qualitative comparison of our methods with the official ESRGAN. We compare the poorly reconstructed outputs of ESRGAN from BSD100 and Urban100 datasets with our proposed model trained with configuration(f). Our method produces sharp textures and more realistic structures compared to the baseline ESRGAN, although it also fails to accurately reconstruct human faces.
351
+
352
+ # Checklist
353
+
354
+ The checklist follows the references. Please read the checklist guidelines carefully for information on how to answer these questions. For each question, change the default [TODO] to [Yes] , [No] , or [N/A] . You are strongly encouraged to include a justification to your answer, either by referencing the appropriate section of your paper or providing a brief inline description. For example:
355
+
356
+ • Did you include the license to the code and datasets? [Yes] See Section 2. • Did you include the license to the code and datasets? [No] The code and the data are proprietary. • Did you include the license to the code and datasets? [N/A]
357
+
358
+ Please do not modify the questions and only use the provided macros for your answers. Note that the Checklist section does not count towards the page limit. In your paper, please delete this instructions block and only keep the Checklist section heading above along with the questions/answers below.
359
+
360
+ 1. For all authors...
361
+
362
+ (a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] The focus of our paper is on the proposal of a one-to-many pipeline for super-resolution.
363
+ (b) Did you describe the limitations of your work? [Yes] The GAN framework used in our work was weak despite the successes of modern GANs.
364
+ (c) Did you discuss any potential negative societal impacts of your work? [No]
365
+ (d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes]
366
+
367
+ 2. If you are including theoretical results...
368
+
369
+ (a) Did you state the full set of assumptions of all theoretical results? [N/A] (b) Did you include complete proofs of all theoretical results? [N/A]
370
+
371
+ 3. If you ran experiments...
372
+
373
+ (a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] As mentioned in the paper, all the code and training configurations are available at https://github.com/krenerd/ultimate-sr.
374
+ (b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes]
375
+ (c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [No] There was hardware limitations for repeating our work multiple times, however the ablation study sufficiently described improvements of our methods.
376
+ (d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] All our experiments were executed on Google COLAB with a single Tesla T4 or Tesla K80 GPU.
377
+
378
+ If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
379
+
380
+ (a) If your work uses existing assets, did you cite the creators? [Yes] The DIV2K and DIV8K dataset was used and cited.
381
+ (b) Did you mention the license of the assets? [N/A]
382
+ (c) Did you include any new assets either in the supplemental material or as a URL? [N/A]
383
+ (d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [Yes] The DIV2K dataset was used for the baseline ESRGAN, which was compared with our methods and the DIV8K dataset was used for the RFB-ESRGAN.
384
+ (e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [No]
385
+
386
+ 5. If you used crowdsourcing or conducted research with human subjects...
387
+
388
+ (a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
389
+ (b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A]
390
+ (c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A]
parse/train/Kai3KkCOCp/Kai3KkCOCp_content_list.json ADDED
@@ -0,0 +1,921 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "One-to-many Approach for Improving Super-Resolution ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 264,
8
+ 122,
9
+ 735,
10
+ 172
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Anonymous Author(s) \nAffiliation \nAddress \nemail ",
17
+ "bbox": [
18
+ 423,
19
+ 226,
20
+ 580,
21
+ 281
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Abstract ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 462,
31
+ 318,
32
+ 535,
33
+ 334
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Super-resolution (SR) is a one-to-many task with multiple possible solutions. However, previous works were not concerned about this characteristic. For a oneto-many pipeline, the generator should be able to generate multiple estimates of the reconstruction, and not be penalized for generating similar and equally realistic images. To achieve this, we propose adding weighted pixel-wise noise after every Residual-in-Residual Dense Block (RRDB) to enable the generator to generate various images. We modify the strict content loss to not penalize the stochastic variation in reconstructed images as long as it has consistent content. Additionally, we observe that there are out-of-focus regions in the DIV2K, DIV8K datasets that provide unhelpful guidelines. We filter blurry regions in the training data using the method of [10]. Finally, we modify the discriminator to receive the lowresolution image as a reference image along with the target image to provide better feedback to the generator. Using our proposed methods, we were able to improve the performance of ESRGAN in $\\times 4$ perceptual SR and achieve the state-of-the-art LPIPS score in $\\times 1 6$ perceptual extreme SR. ",
40
+ "bbox": [
41
+ 148,
42
+ 348,
43
+ 766,
44
+ 556
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "16 1 Introduction ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 148,
54
+ 580,
55
+ 312,
56
+ 598
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "17 Super-resolution is the task of recovering a high-resolution (HR) image from a low-resolution (LR) \n18 image. Recent works have achieved significant performance in SR using deep convolutional neural \n19 network (CNN) based approaches. Some of them exploit strict content loss as the training objective \n20 for super-resolution and propose various network architectures to improve the PSNR score. However, \n21 these methods often result in overly smooth images and have poor perceptual quality [6]. Another \n22 branch of works focuses on improving perceptual quality with perceptual training methods [1,6,7]. \n23 These methods employ generative adversarial networks (GAN) and perceptual loss functions to drive \n24 the network’s output towards the natural image manifold of possible HR images. We assess an1d \n25 further improve the perceptual quality of these works. \n26 Because super-resolution is a one-to-many problem with multiple possible reconstructions for one \n27 image, methods based on strict content loss often lead to predicting the average of possible reconstruc \n28 tions[6]. Perceptual-driven solutions utilize perceptual and adversarial loss, which both don’t penalize \n29 the generator for generating equally realistic images with stochastic variance. However, we discover \n30 two incomplete aspects in the current perceptual SR pipeline. First, although the above-mentioned \n31 losses don’t penalize stochastic variation, the final loss is mixed with the strict content loss which \n32 strictly penalizes these variations. Second, the generator doesn’t have the ability to generate multiple \n33 estimates of the image despite a one-to-many problem. To implement such a one-to-many pipeline, \n34 we provide the generator with pixel-wise noise and improve the content loss so it doesn’t restrict the \n35 variation in the image while ensuring the consistency of the content. ",
63
+ "bbox": [
64
+ 147,
65
+ 612,
66
+ 825,
67
+ 736
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "",
74
+ "bbox": [
75
+ 147,
76
+ 742,
77
+ 825,
78
+ 881
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "36 The key contributions of our work can be described as follows: ",
85
+ "bbox": [
86
+ 147,
87
+ 887,
88
+ 584,
89
+ 901
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "• We propose a weaker content loss that does not penalize generating high-frequency detail and stochastic variation in the image. \n• We enable the generator to generate diverse outputs by adding scaled pixel-wise noise after each RRDB block. \n• We filter blurry regions in the training data using Laplacian activation[10]. \n• We additionally provide the LR image to the discriminator to give better gradient feedback to the generator. ",
96
+ "bbox": [
97
+ 181,
98
+ 90,
99
+ 826,
100
+ 207
101
+ ],
102
+ "page_idx": 1
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "44 2 Related work ",
107
+ "text_level": 1,
108
+ "bbox": [
109
+ 148,
110
+ 224,
111
+ 316,
112
+ 242
113
+ ],
114
+ "page_idx": 1
115
+ },
116
+ {
117
+ "type": "text",
118
+ "text": "45 Since the pioneering work of SRCNN[9], many works have exploited the pixel-wise loss and PSNR \n46 oriented training objectives to learn the end-to-end mapping from LR to HR images. We denote \n47 such pixel-wise losses as the strict content loss. Many network architectures and techniques were \n48 experimented with to improve the complexity of such networks. Deeper network architectures[17], \n49 residual networks[6], channel attention[18], and techniques to remove batch normalization[19] were \n50 introduced. Although these works achieved state-of-the-art SR performance in the peak signal-to \n51 noise ratio (PSNR) metric, they often produce overly smooth images. \n52 To improve the perceptual image quality of SR, SRGAN [6] proposes perceptual loss and GAN-based \n53 training. The perceptual loss is measured using intermediate activations of the VGG-19 network and \n54 a discriminator is used for the adversarial training process. Enhanced SRGAN (ESRGAN) further \n55 improves SRGAN by modifying the generator architecture with Residual in Residual Dense Block \n56 (RRDB), the Relativistic GAN [16] loss, and improving the perceptual loss. Such methods were \n57 superior to PSNR-oriented methods at generating photo-realistic SR images with sharp details, achiev \n58 ing high perceptual scores. However, we could still often find unpleasant artifacts and problematic \n59 textures in the reconstructions of ESRGAN. Such cases are exemplified in Figure 4. \n60 Traditional metrics for assessing image quality such as PSNR and SSIM (Structural Similarity Index \n61 Measure) fail to coincide with human perception[4]. The PSNR score is calculated based on the \n62 pixel-wise MSE, so methods that minimize pixel-wise differences tend to achieve high PSNR scores \n63 [9]. However, the PSNR-oriented solutions fail at generating high-frequency details and often drive \n64 the reconstruction towards the average of possible solutions, producing overly smooth images[6]. The \n65 learned perceptual image patch similarity (LPIPS) score[4] was proposed to measure the perceptual \n66 quality on various computer vision tasks. According to [2], the LPIPS score reliably coincides with \n67 human perception for assessing super-resolved images. We use the LPIPS score as an indicator of \n68 perceptual image quality in our experiments. \n69 CycleGAN[8] is a pipeline for image-to-image translation with unpaired images using generative \n70 adversarial nets and cycle loss. CycleGAN consists of 2 generators $G _ { 1 } , G _ { 2 }$ , and 2 discriminators \n71 $D _ { 1 } , D _ { 2 }$ , where $G _ { 1 }$ and $G _ { 2 }$ each translate the input image in a cycling manner. The generators are \n72 trained to minimize the adversarial loss and cycle loss $| | \\bar { G } _ { 2 } ( G _ { 1 } ( \\bar { x } ) ) - \\bar { x } | | _ { 1 }$ between the input image \n73 and cycled image. We were able to design a loss based on the cycle loss to reliably measure the \n74 content consistency without such a complicated design. ",
119
+ "bbox": [
120
+ 147,
121
+ 257,
122
+ 825,
123
+ 354
124
+ ],
125
+ "page_idx": 1
126
+ },
127
+ {
128
+ "type": "text",
129
+ "text": "",
130
+ "bbox": [
131
+ 145,
132
+ 361,
133
+ 825,
134
+ 472
135
+ ],
136
+ "page_idx": 1
137
+ },
138
+ {
139
+ "type": "text",
140
+ "text": "",
141
+ "bbox": [
142
+ 147,
143
+ 477,
144
+ 825,
145
+ 602
146
+ ],
147
+ "page_idx": 1
148
+ },
149
+ {
150
+ "type": "text",
151
+ "text": "",
152
+ "bbox": [
153
+ 147,
154
+ 608,
155
+ 825,
156
+ 691
157
+ ],
158
+ "page_idx": 1
159
+ },
160
+ {
161
+ "type": "text",
162
+ "text": "75 3 Method ",
163
+ "text_level": 1,
164
+ "bbox": [
165
+ 156,
166
+ 712,
167
+ 269,
168
+ 728
169
+ ],
170
+ "page_idx": 1
171
+ },
172
+ {
173
+ "type": "text",
174
+ "text": "76 We design a one-to-many approach for perceptual super-resolution by modifying the generator and the \n77 training objective. We also describe additional modifications to the training process and discriminator \n78 to improve the perceptual quality of SR. ",
175
+ "bbox": [
176
+ 148,
177
+ 743,
178
+ 825,
179
+ 785
180
+ ],
181
+ "page_idx": 1
182
+ },
183
+ {
184
+ "type": "text",
185
+ "text": "3.1 Cycle consistency loss ",
186
+ "text_level": 1,
187
+ "bbox": [
188
+ 165,
189
+ 803,
190
+ 364,
191
+ 816
192
+ ],
193
+ "page_idx": 1
194
+ },
195
+ {
196
+ "type": "text",
197
+ "text": "80 Most works on perceptual super-resolution[1, 6, 7] combine the content loss, adversarial loss (GAN \n81 loss), and perceptual loss for the training objective as in Equation 1. Although the strict content \n82 loss and adversarial loss are fundamentally disagreeing objectives, relying exclusively on either loss \n83 each has significant issues. The strict content loss guides the network output to be exactly consistent \n84 with the HR image, guiding the network to learn the mean of possible reconstructions and thus \n85 tends to give overly-smoothed results. Although the GAN framework is a powerful method for \n86 photo-realistic image generation, adversarial learning is highly unstable, and while the adversarial \n87 loss and perceptual loss guide the network to be perceptually convincing, they don’t enforce the \n88 content of the super-resolved image to be consistent with the low-resolution image. ",
198
+ "bbox": [
199
+ 148,
200
+ 828,
201
+ 823,
202
+ 911
203
+ ],
204
+ "page_idx": 1
205
+ },
206
+ {
207
+ "type": "image",
208
+ "img_path": "images/5f90468a9ff0b9cfbc11281c309a3a4cf86bef35fe571f45672f0724d203820f.jpg",
209
+ "image_caption": [
210
+ "Figure 1: An overview of our method. The cycle consistency loss is measured by comparing the LR image with the downsampled SR image. The discriminator is provided with the target image and a reference image generated by bicubic-upsampling the LR image. "
211
+ ],
212
+ "image_footnote": [],
213
+ "bbox": [
214
+ 179,
215
+ 93,
216
+ 818,
217
+ 250
218
+ ],
219
+ "page_idx": 2
220
+ },
221
+ {
222
+ "type": "text",
223
+ "text": "",
224
+ "bbox": [
225
+ 147,
226
+ 333,
227
+ 825,
228
+ 376
229
+ ],
230
+ "page_idx": 2
231
+ },
232
+ {
233
+ "type": "equation",
234
+ "img_path": "images/150bd2ce25f5e6d8dd8533718f7494eade3e3811cf36eefee1dacf8296e548b5.jpg",
235
+ "text": "$$\nL _ { T o t a l } = L _ { p e r c e p } + \\lambda L _ { G A N } + \\eta L _ { 1 }\n$$",
236
+ "text_format": "latex",
237
+ "bbox": [
238
+ 379,
239
+ 396,
240
+ 619,
241
+ 412
242
+ ],
243
+ "page_idx": 2
244
+ },
245
+ {
246
+ "type": "text",
247
+ "text": "89 We regard simply trading off these disagreeing losses as an incomplete objective for super-resolution \n90 since the mixing of such losses will obstruct the optimization of either loss. An improved training \n91 objective must be GAN-oriented while ensuring consistent content of the image. That is, there needs \n92 a content loss that doesn’t hamper the generation of images with high-frequency details. \n93 We propose a soft content loss inspired by the cycle loss of CycleGAN[8] to ensure the output of \n94 the generator to be consistent with the low-resolution image while not disturbing the generation of \n95 high-frequency information. \n96 We view the super-resolution problem as an image-to-image translation task between the LR and HR \n97 image space and apply the CycleGAN framework. To simplify the problem, we exploit our prior \n98 knowledge on $G _ { 2 } : H R - > L R$ . We can denote the downsampling operation as $f$ and set $G _ { 2 }$ to \n99 be $f$ instead of learning it. Consequently, our pipeline doesn’t require learning $D _ { 2 }$ which is a tool \n100 for learning $G _ { 2 }$ . This leaves only $G _ { 1 }$ and $D _ { 1 }$ to be learned. We can write the cycle consistency loss \n101 as Equation 2. This loss won’t penalize generating high-frequency details in any way while the SR \n102 image remains consistent with the LR image. Finally, we can conclude our generator loss as Equation \n103 3. ",
248
+ "bbox": [
249
+ 147,
250
+ 422,
251
+ 825,
252
+ 479
253
+ ],
254
+ "page_idx": 2
255
+ },
256
+ {
257
+ "type": "text",
258
+ "text": "",
259
+ "bbox": [
260
+ 147,
261
+ 486,
262
+ 825,
263
+ 527
264
+ ],
265
+ "page_idx": 2
266
+ },
267
+ {
268
+ "type": "text",
269
+ "text": "",
270
+ "bbox": [
271
+ 143,
272
+ 534,
273
+ 825,
274
+ 645
275
+ ],
276
+ "page_idx": 2
277
+ },
278
+ {
279
+ "type": "equation",
280
+ "img_path": "images/9c92e7ca9020f5d1341a0659b6e00126ea64ecc4f73148ba84b1ba518668429a.jpg",
281
+ "text": "$$\nL _ { c y c } ( G _ { 1 } ) = | | f ( G _ { 1 } ( L R ) ) - L R | | _ { 1 }\n$$",
282
+ "text_format": "latex",
283
+ "bbox": [
284
+ 379,
285
+ 665,
286
+ 617,
287
+ 683
288
+ ],
289
+ "page_idx": 2
290
+ },
291
+ {
292
+ "type": "equation",
293
+ "img_path": "images/96c60541a39583fb6f17bf5625dfdafa2c511708f3a39304a39995cf698e4cca.jpg",
294
+ "text": "$$\nL _ { T o t a l } ( G _ { 1 } ) = L _ { c y c } ( G _ { 1 } ) + \\lambda L _ { G A N } ( G _ { 1 } , D _ { 1 } ) + \\eta L _ { p e r c e p }\n$$",
295
+ "text_format": "latex",
296
+ "bbox": [
297
+ 308,
298
+ 707,
299
+ 687,
300
+ 724
301
+ ],
302
+ "page_idx": 2
303
+ },
304
+ {
305
+ "type": "text",
306
+ "text": "104 3.2 Providing scaled Gaussian noise to the generator ",
307
+ "text_level": 1,
308
+ "bbox": [
309
+ 143,
310
+ 739,
311
+ 550,
312
+ 756
313
+ ],
314
+ "page_idx": 2
315
+ },
316
+ {
317
+ "type": "text",
318
+ "text": "105 For the generator to be capable of generating more than one solution given a single image, it must \n106 receive and apply random information. The variation between super-resolved images will mostly \n107 be stochastic variation in high-frequency textures. StyleGAN[3] achieves stochastic variation in \n108 images by adding pixel-wise Gaussian noise to the output of each layer in the generator. We adopt \n109 this method and add the noise after every RRDB layer in the generator. \n110 However, the sensitivity and the desired magnitude of noise would differ for each channel. Adding \n111 the same noise directly after every layer could rather harm the ability of the generator. For example, a \n112 channel that detects edges would be seriously harmed by the noise. The sensitivity will also depend on \n113 the depth of the network. To mitigate such possible issues, we allow each channel to learn the desired \n114 magnitude of the noise. Specifically, before adding the noise to the output of each layer, we multiply \n115 the noise with a channel-wise scaling factor. The scaling factor is learned concurrently with the \n116 network parameters. We observe that the desired magnitude differs along the network depending on \n117 the position of the layer. This shows that our method effectively implements a one-to-many generator \n118 for super-resolution. The early layers seem to be focusing more on extracting the feature of the image, \n119 while the final layers preferred the noise to be scaled before being applied to the reconstruction. \n120 Details are illustrated in Figure 2. The noise is not applied at evaluation. ",
319
+ "bbox": [
320
+ 140,
321
+ 766,
322
+ 825,
323
+ 835
324
+ ],
325
+ "page_idx": 2
326
+ },
327
+ {
328
+ "type": "text",
329
+ "text": "",
330
+ "bbox": [
331
+ 142,
332
+ 842,
333
+ 825,
334
+ 911
335
+ ],
336
+ "page_idx": 2
337
+ },
338
+ {
339
+ "type": "image",
340
+ "img_path": "images/1e3c823f21bfc1f901341939547cf91481685756bdee3aed3434cd2a7666db6d.jpg",
341
+ "image_caption": [
342
+ "Figure 2: Boxplot of the scaling factors against the position of the layer in the network. The desired magnitude of noise increases in deeper layers, while the final layers have smaller scaling factors. The sensitivity to random noise varies for each layer and channel. "
343
+ ],
344
+ "image_footnote": [],
345
+ "bbox": [
346
+ 176,
347
+ 90,
348
+ 823,
349
+ 262
350
+ ],
351
+ "page_idx": 3
352
+ },
353
+ {
354
+ "type": "text",
355
+ "text": "",
356
+ "bbox": [
357
+ 142,
358
+ 349,
359
+ 825,
360
+ 434
361
+ ],
362
+ "page_idx": 3
363
+ },
364
+ {
365
+ "type": "text",
366
+ "text": "21 3.3 Reference image for the discriminator ",
367
+ "text_level": 1,
368
+ "bbox": [
369
+ 156,
370
+ 452,
371
+ 477,
372
+ 467
373
+ ],
374
+ "page_idx": 3
375
+ },
376
+ {
377
+ "type": "text",
378
+ "text": "122 Traditionally, the discriminator network receives a single image and is trained to classify whether the \n123 given image is real or a generated image. This setting will provide the generator with gradients to \n124 \"any natural image\" instead of towards the corresponding HR image. In an extreme example, the \n125 traditional discriminator won’t penalize the generator for generating completely different but equally \n126 realistic images from an LR image. Although this is unlikely due to the existence of other content \n127 and perceptual losses, the gradient feedback given by the discriminator is sub-optimal for the task of \n128 super-resolution. \n129 As a solution, we provide the low-resolution image as a reference along with the target image to the \n130 discriminator. This enables the discriminator to learn more important features for discriminating \n131 the generated image and provide better gradient feedback according to the LR image. For details, \n132 refer to Figure 1. We upsample the LR image to the same size as the HR image and concatenate \n133 them, feeding a tensor of shape $( H , W , 6 )$ to the discriminator. Despite its simplicity, conditioning \n134 the discriminator on the input is a crucial modification for training such a supervised problem with \n135 GAN-oriented losses. ",
379
+ "bbox": [
380
+ 142,
381
+ 478,
382
+ 825,
383
+ 575
384
+ ],
385
+ "page_idx": 3
386
+ },
387
+ {
388
+ "type": "text",
389
+ "text": "",
390
+ "bbox": [
391
+ 140,
392
+ 582,
393
+ 825,
394
+ 679
395
+ ],
396
+ "page_idx": 3
397
+ },
398
+ {
399
+ "type": "text",
400
+ "text": "136 3.4 Blur detection ",
401
+ "text_level": 1,
402
+ "bbox": [
403
+ 145,
404
+ 698,
405
+ 312,
406
+ 712
407
+ ],
408
+ "page_idx": 3
409
+ },
410
+ {
411
+ "type": "text",
412
+ "text": "137 We recognized that there are often severely blurry regions in the images from the DIV2K[14] and \n138 DIV8K[15] datasets. Although the authors of [15] argue that the data was collected by \"paying special \n139 attention to image quality\", there were many scenes with out-of-focus backgrounds. These blurry \n140 regions might plague the generator to learn to generate such blurry patches. Blurry backgrounds are \n141 often indistinguishable from finer objects based only on the LR image. Though some might argue \n142 that the blurry backgrounds must also be learned, we were able to achieve finer detail and higher \n143 LPIPS score by detecting and removing blurry patches from both datasets. \n144 We propose to detect and remove blurry patches before the network is trained on those patches. \n145 There are various methods for blur detection e.g. algorithmic methods and deep-learning-based \n146 approaches[11, 12]. However, most deep-learning-based works focus on predicting pixel-wise blur \n147 maps of the image, which wouldn’t be suited for our needs. Mostly, the algorithmic method of [10] \n148 was successful at reliably detecting blurry patches as can be observed in Figure 3. We measure the \n149 variance of the Laplacian activation of the patch and consider patches with variance of under 100 as \n150 blurry patches. The algorithm detects $2 8 . 8 \\%$ blurry patches in a sample of 16,000 randomly cropped \n151 patches of size $9 6 \\times 9 6$ from the DIV2K dataset and $4 8 . 9 \\%$ of patches in a sample of 140,000 patches \n152 from the DIV8K dataset. ",
413
+ "bbox": [
414
+ 140,
415
+ 724,
416
+ 825,
417
+ 821
418
+ ],
419
+ "page_idx": 3
420
+ },
421
+ {
422
+ "type": "text",
423
+ "text": "",
424
+ "bbox": [
425
+ 142,
426
+ 828,
427
+ 825,
428
+ 911
429
+ ],
430
+ "page_idx": 3
431
+ },
432
+ {
433
+ "type": "image",
434
+ "img_path": "images/5b3c8f92720e92734d7bbff6c27ce08971f0c5ca993ec1d559aa6ae4a040373b.jpg",
435
+ "image_caption": [
436
+ "Figure 3: Randomly selected samples of the blur detection algorithm tested on image 0031 from the DIV8K dataset. The top two rows are the patches classified as clear and the bottom rows are blurry patches. Regions that are clear in the image (person, pole) are correctly considered as clear patches by the detection algorithm. "
437
+ ],
438
+ "image_footnote": [],
439
+ "bbox": [
440
+ 176,
441
+ 88,
442
+ 821,
443
+ 238
444
+ ],
445
+ "page_idx": 4
446
+ },
447
+ {
448
+ "type": "text",
449
+ "text": "",
450
+ "bbox": [
451
+ 143,
452
+ 333,
453
+ 825,
454
+ 376
455
+ ],
456
+ "page_idx": 4
457
+ },
458
+ {
459
+ "type": "text",
460
+ "text": "153 4 Experiments ",
461
+ "text_level": 1,
462
+ "bbox": [
463
+ 145,
464
+ 395,
465
+ 312,
466
+ 412
467
+ ],
468
+ "page_idx": 4
469
+ },
470
+ {
471
+ "type": "text",
472
+ "text": "154 We conduct experiments to evaluate the effectiveness of our proposed techniques in $\\times 4$ and $\\times 1 6$ \n155 resolution and compare them with the baseline ESRGAN. We first experiment the effects of blur \n156 detection, then we perform an ablation study of our proposed training methods to evaluate their \n157 effectiveness. Implementation detail and training logs can be found on GitHub1. All our experiments \n158 were performed on a single Tesla T4 or Tesla K80 GPU on Google Colaboratory. \n159 We observed that a large portion of the training was used for loading high-resolution images, despite \n160 most of the images not being used. As an implementation detail to improve training speed significantly, \n161 we extract multiple patches and save them in a buffer while training instead of extracting only a single \n162 patch after loading the image. We randomly pick images from the buffer for training and discard the \n163 selected patches from the buffer. In all of our experiments, we extract 128 patches from each image \n164 and create a buffer of 1024 patches. ",
473
+ "bbox": [
474
+ 142,
475
+ 426,
476
+ 825,
477
+ 496
478
+ ],
479
+ "page_idx": 4
480
+ },
481
+ {
482
+ "type": "text",
483
+ "text": "",
484
+ "bbox": [
485
+ 142,
486
+ 502,
487
+ 825,
488
+ 585
489
+ ],
490
+ "page_idx": 4
491
+ },
492
+ {
493
+ "type": "text",
494
+ "text": "4.1 $\\times 4$ super-resolution ",
495
+ "text_level": 1,
496
+ "bbox": [
497
+ 171,
498
+ 603,
499
+ 349,
500
+ 617
501
+ ],
502
+ "page_idx": 4
503
+ },
504
+ {
505
+ "type": "text",
506
+ "text": "4.1.1 Training details ",
507
+ "text_level": 1,
508
+ "bbox": [
509
+ 174,
510
+ 627,
511
+ 334,
512
+ 642
513
+ ],
514
+ "page_idx": 4
515
+ },
516
+ {
517
+ "type": "text",
518
+ "text": "167 We employ the ESRGAN network architecture with 23 RRDB blocks and most of its training \n168 configurations for the baseline of our experiments on $\\times 4$ super-resolution. The training process is \n169 divided into two stages. We first pretrain the PSNR-oriented models then train the ESRGAN-based \n170 models. \n71 The PSNR-oriented models are trained with the L1 loss with a batch size of 16 for 500K iterations. \n72 We apply learning rate decay with an initial learning rate of $2 \\times 1 0 ^ { - 4 }$ , decayed by a factor of 2 \n73 every $2 0 0 k$ iterations. We initialize the GAN-based model with the PSNR-oriented model. We \n74 initialize the learning rate with $1 \\times 1 0 ^ { - 4 }$ for both $G _ { 1 }$ and $D _ { 1 }$ , decaying the learning rate by a factor \n75 of 2 at $[ 5 0 k , 1 0 0 k , 2 0 0 k , 3 0 0 k ]$ iterations. For optimization, we use the Adam optimizer for both \n76 pretrained networks and GAN-based models, with $\\beta _ { 1 } = 0 . 9$ and $\\beta _ { 2 } = 0 . 9 9$ . The learning rate decay \n77 schedule corresponds to the one proposed by ESRGAN. We implement our models and methods with \n78 the Tensorflow framework. The loss function is scaled with $\\eta = 1 0$ and $\\lambda = 5 \\times 1 0 ^ { - 3 }$ , which is \n79 equivalent to the training configuration of ESRGAN used in the PIRM-SR challenge. This is slightly \n80 different from the configuration used in the released model trained with $\\eta = 1 0 ^ { - 2 }$ . \n181 All of our networks are trained exclusively on the DIV2K dataset[14], while the original ESRGAN \n182 was trained with DIV2K, Flickr2K, and OST datasets combined. We obtained the LR images by \n183 downsampling the HR images with MATLAB bicubic interpolation. We compare the effects of our \n184 methods on LPIPS, PSNR, and SSIM scores on the Set5, Set14, BSD100, and Urban100 datasets. \n185 Scores evaluated on the Set5 and Set14 datasets are obtained by averaging the final 5 checkpoints, \n186 each recorded at [480k, 485k, 490k, $4 9 5 k$ , $5 0 0 k ]$ iterations. ",
519
+ "bbox": [
520
+ 142,
521
+ 651,
522
+ 825,
523
+ 707
524
+ ],
525
+ "page_idx": 4
526
+ },
527
+ {
528
+ "type": "text",
529
+ "text": "",
530
+ "bbox": [
531
+ 151,
532
+ 713,
533
+ 825,
534
+ 852
535
+ ],
536
+ "page_idx": 4
537
+ },
538
+ {
539
+ "type": "text",
540
+ "text": "",
541
+ "bbox": [
542
+ 147,
543
+ 858,
544
+ 825,
545
+ 887
546
+ ],
547
+ "page_idx": 4
548
+ },
549
+ {
550
+ "type": "table",
551
+ "img_path": "images/16b124caef429a31e05dfb0e0e9d80d10d5aa3fb4fd8af81f45eb6e901241415.jpg",
552
+ "table_caption": [
553
+ "Table 1: LPIPS, PSNR, SSIM scores of various configurations for $\\times 4$ . "
554
+ ],
555
+ "table_footnote": [],
556
+ "table_body": "<table><tr><td>Methods</td><td>Set5 (LPIPS /PSNR/SSIM)</td><td>Set14</td><td>BSD100</td><td>Urban100</td></tr><tr><td>Pretrained (a)</td><td>0.1341/30.3603/0.8679</td><td>0.2223/26.7608/0.7525</td><td>0.2705/27.2264/0.7461</td><td>0.1761/24.8770/0.7764</td></tr><tr><td>+Blur detection (b)</td><td>0.1327 /30.4582/0.7525</td><td>0.2229 /26.8448 /0.7547</td><td>0.2684 /27.2545 /0.7473</td><td>0.1744/25.0816 /0.7821</td></tr><tr><td>ESRGAN (Official)</td><td>0.0597/28.4362/0.8145</td><td>0.1129/23.4729/0.6276</td><td>0.1285/23.3657/0.6108</td><td>0.1025/22.7912/0.7058</td></tr><tr><td>ESRGAN (c)</td><td>0.0538/27.9285/0.7968</td><td>0.1117/24.5264/0.6602</td><td>0.1256/24.6554/0.6447</td><td>0.1026/23.2829/0.7137</td></tr><tr><td>+refGAN (d)</td><td>0.0536 /27.9871/0.8014</td><td>0.1157 /24.4505 /0.6611</td><td>0.1275 /24.5896 /0.6470</td><td>0.1027 /23.0496 /0.7103</td></tr><tr><td>+Add noise (e)</td><td>0.04998/28.23/0.8081</td><td>0.1104 /24.48/0.6626</td><td>0.1209 /24.8439 /0.6577</td><td>0.1007 /23.2204 /0.7203</td></tr><tr><td>+Cycle loss (f)</td><td>0.0524/28.1322/0.8033</td><td>0.1082 /24.5802/0.6634</td><td>0.1264/24.6180 /0.6468</td><td>0.1015 /23.1363 /0.7103</td></tr><tr><td>-Perceptual loss (g)</td><td>0.2690 / 23.4608 /0.6312</td><td>0.2727 /22.2703 /0.5685</td><td>0.2985 /24.1648 /0.5859</td><td>0.2411 /20.8169 /0.6244</td></tr></table>",
557
+ "bbox": [
558
+ 173,
559
+ 109,
560
+ 821,
561
+ 243
562
+ ],
563
+ "page_idx": 5
564
+ },
565
+ {
566
+ "type": "text",
567
+ "text": "",
568
+ "bbox": [
569
+ 145,
570
+ 268,
571
+ 826,
572
+ 325
573
+ ],
574
+ "page_idx": 5
575
+ },
576
+ {
577
+ "type": "text",
578
+ "text": "4.1.2 Ablation study ",
579
+ "text_level": 1,
580
+ "bbox": [
581
+ 173,
582
+ 339,
583
+ 328,
584
+ 353
585
+ ],
586
+ "page_idx": 5
587
+ },
588
+ {
589
+ "type": "text",
590
+ "text": "188 \n189 \n190 \n191 \n192 \n193 \n194 \n195 \n196 \n197 \n198 \n199 \n200 \n201 ",
591
+ "bbox": [
592
+ 140,
593
+ 359,
594
+ 163,
595
+ 556
596
+ ],
597
+ "page_idx": 5
598
+ },
599
+ {
600
+ "type": "text",
601
+ "text": "To study the effects of our proposed methods, we perform an ablation study of our proposed method. We enable our proposed methods one by one and list the resulting scores in Table 1. Each training configuration was fully trained with the original training configurations. We provide the saved model and configuration files to reproduce our results in our project repository. We also list the results of the official ESRGAN for fair comparison. The improvements from the official results and the result from configuration(c) is because the $\\eta$ value is different from the official model. First, blur detection is experimented with in configuration(b) and improves the LPIPS score for all benchmarks. We train our baseline ESRGAN in configuration(c) and get reasonable results. By applying the technique of Section 3.3 in configuration(d), we slightly harm the network in terms of the LPIPS score. However, providing conditional information to the discriminator is crucial for learning such a supervised problem with adversarial learning. Our method of directly concatenating the reference image in the input is not optimal. The low-resolution image could be applied through SPADE[20] or alternative spatial transformation methods for improvements. Applying scaled noise shows large improvements as experimented in configuration(e). ",
602
+ "bbox": [
603
+ 171,
604
+ 363,
605
+ 825,
606
+ 556
607
+ ],
608
+ "page_idx": 5
609
+ },
610
+ {
611
+ "type": "text",
612
+ "text": "202 The cycle consistency loss applied in configuration(f) shows neutral and slightly negative effects \n203 on the LPIPS score. The reason for this is mostly because of the incompetent GAN framework \n204 lacking the training techniques of modern GAN literature. Our statement is stated by the failure of \n205 configuration(g) where the GAN framework alone is responsible for learning the super-resolution \n206 process. The GAN framework of ESRGAN is incapable of lead the training process and thus \n207 the image quality wasn’t improved when we gave more responsibility to the adversarial loss in \n208 configuration(f). However, coupled with improved GAN techniques in further research, the cycle \n209 consistency content loss will further enhance the image quality. ",
613
+ "bbox": [
614
+ 143,
615
+ 563,
616
+ 825,
617
+ 674
618
+ ],
619
+ "page_idx": 5
620
+ },
621
+ {
622
+ "type": "text",
623
+ "text": "4.2 $\\times 1 6$ super-resolution ",
624
+ "text_level": 1,
625
+ "bbox": [
626
+ 176,
627
+ 689,
628
+ 357,
629
+ 704
630
+ ],
631
+ "page_idx": 5
632
+ },
633
+ {
634
+ "type": "text",
635
+ "text": "4.2.1 Training details ",
636
+ "text_level": 1,
637
+ "bbox": [
638
+ 176,
639
+ 715,
640
+ 334,
641
+ 729
642
+ ],
643
+ "page_idx": 5
644
+ },
645
+ {
646
+ "type": "text",
647
+ "text": "12 We employ the RFB-ESRGAN of [21] as the baseline for our experiments on $\\times 1 6$ super-resolution. \n13 The RFB-ESRGAN proposes an architecture using Receptive Field Blocks(RFB) and Residual of \n14 Receptive Field Dense Block(RRFDB), each as an alternative for convolution and RRDB blocks. The \n15 RFB-ESRGAN uses less memory compared to methods that manipulate the image in the intermediate \n16 $\\times 4$ resolution[22] and this allowed larger batch size in our environment. We employ the RFB \n17 ESRGAN network architecture with 16 RRDB blocks and 8 RRFDB blocks for the baseline of our \n18 experiments on $\\times 1 6$ super-resolution. \n219 The model is first trained with the L1 loss for 100K iterations with an initial learning rate $2 \\times 1 0 ^ { - 4 }$ \n220 decayed by a factor of two every $2 . 5 \\times 1 0 ^ { 5 }$ iteration. The GAN-based model is initialized with the \n221 pretrained model and is trained for 200K iterations, which is shorter than the original 400K iterations. \n222 Additionally, the batch size is decreased from 16 to 4 and we therefore approximately scale the \n223 initial learning rate of $1 0 ^ { - 4 }$ to $2 \\times 1 0 ^ { - 5 }$ by a factor of 5. The learning rate is decayed at $[ 5 0 k , 1 0 0 k ]$ \n4 iterations. We don’t use model ensemble to further stabilize the network. All other models and \n25 hyperparameter configurations are equal. We train the network on the DIV8K dataset[15], while the \n26 original network was trained with additional datasets including DIV2K, Flicker2K, OST dataset. The \n27 first 1,400 images of DIV8K are used as training data and the rest 100 validation images are used for \n28 evaluation. ",
648
+ "bbox": [
649
+ 155,
650
+ 738,
651
+ 825,
652
+ 835
653
+ ],
654
+ "page_idx": 5
655
+ },
656
+ {
657
+ "type": "text",
658
+ "text": "",
659
+ "bbox": [
660
+ 140,
661
+ 842,
662
+ 825,
663
+ 911
664
+ ],
665
+ "page_idx": 5
666
+ },
667
+ {
668
+ "type": "table",
669
+ "img_path": "images/30375bd0f21b0d85053cfe381f963510376d0d695b2f6c82eef2150948722a9a.jpg",
670
+ "table_caption": [
671
+ "Table 2: LPIPS, PSNR scores for various configurations for $\\times 1 6$ super-resolution. "
672
+ ],
673
+ "table_footnote": [],
674
+ "table_body": "<table><tr><td rowspan=1 colspan=1>Methods</td><td rowspan=1 colspan=1>DIV8K validation</td></tr><tr><td rowspan=1 colspan=1>Pretrained (a)+Blur detection (b)</td><td rowspan=1 colspan=1>0.4664/30.36030.4603 / 25.53</td></tr><tr><td rowspan=1 colspan=1>RFB-ESRGAN(official)</td><td rowspan=1 colspan=1>0.345 /24.03</td></tr><tr><td rowspan=1 colspan=1>Baseline RFB-ESRGAN (c)Ours w/o cycle-loss (d)Ours w/ cycle-loss (e)</td><td rowspan=1 colspan=1>0.356/24.780.321 / 23.950.323 / 23.49</td></tr></table>",
675
+ "bbox": [
676
+ 320,
677
+ 108,
678
+ 668,
679
+ 233
680
+ ],
681
+ "page_idx": 6
682
+ },
683
+ {
684
+ "type": "text",
685
+ "text": "",
686
+ "bbox": [
687
+ 155,
688
+ 257,
689
+ 825,
690
+ 328
691
+ ],
692
+ "page_idx": 6
693
+ },
694
+ {
695
+ "type": "text",
696
+ "text": "4.2.2 Ablation study ",
697
+ "text_level": 1,
698
+ "bbox": [
699
+ 173,
700
+ 342,
701
+ 328,
702
+ 357
703
+ ],
704
+ "page_idx": 6
705
+ },
706
+ {
707
+ "type": "text",
708
+ "text": "The PSNR-oriented method is improved using blur detection in configuration(b). Our GAN-baed model of configuration(c) achieves worse performance compared the the results reported in [21] because of the lighter training configurations. We were able to make significant improvements in the LPIPS score from the baseline RFB-ESRGAN using our proposed methods in configuration(d). We apply all of our proposed methods except the cycle consistency loss in configuration(d). We also train the model with cycle consistency loss and get similar results in configuration(e). We were able to make such improvements using much lighter training configurations with only half iteration steps, $\\times 4$ smaller batch size, and without model ensemble. The results are described in Table 2. ",
709
+ "bbox": [
710
+ 171,
711
+ 366,
712
+ 825,
713
+ 477
714
+ ],
715
+ "page_idx": 6
716
+ },
717
+ {
718
+ "type": "text",
719
+ "text": "238 5 Conclusion ",
720
+ "text_level": 1,
721
+ "bbox": [
722
+ 151,
723
+ 496,
724
+ 299,
725
+ 512
726
+ ],
727
+ "page_idx": 6
728
+ },
729
+ {
730
+ "type": "text",
731
+ "text": "239 We proposed a one-to-many approach for super-resolution and achieve improved perceptual quality \n240 and better LPIPS score from the baseline ESRGAN configuration and achieve the state-of-art LPIPS \n241 score in $\\mathbf { \\boldsymbol { x } } 1 6$ perceptual super-resolution. We provide scaled pixel-wise to the generator to allow \n242 stochastic variation in the reconstructed image and implement a generator capable of a one-to-many \n243 pipeline. We also address the limitations of mixing the strict content loss with perceptual losses and \n244 propose an alternative based on the cycle loss. Our newly modified loss will ensure the consistency \n245 of the content while not penalizing high-frequency detail. Additionally, we further propose more \n246 techniques such as blur detection using Laplacian activation and redesign the discriminator input by \n247 providing a reference image to further improve the perceptual quality of $\\times 4$ and $\\times 1 6$ super-resolution. \n248 However, the GAN framework from ESRGAN was incompetent to guide the training on its own. \n249 Modern GAN training techniques could be applied to further improve the GAN framework used \n250 in super-resolution. Our proposed loss function will become more effective as a content loss when \n251 coupled with a robust GAN framework since it will reduce constraints in generating high-frequency \n252 detail. Such improvements are left for future work. \n254 [1] Wang, Xintao, et al. \"Esrgan: Enhanced super-resolution generative adversarial networks.\" Proceedings of \n255 the European Conference on Computer Vision (ECCV) Workshops. 2018. \n256 [2] Zhang, Kai, Shuhang Gu, and Radu Timofte. \"Ntire 2020 challenge on perceptual extreme super-resolution: \n257 Methods and results.\" Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition \n258 Workshops. 2020. \n259 [3] Karras, Tero, Samuli Laine, and Timo Aila. \"A style-based generator architecture for generative adversarial \n260 networks.\" Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2019. \n261 [4] Zhang, Richard, et al. \"The unreasonable effectiveness of deep features as a perceptual metric.\" Proceedings \n262 of the IEEE conference on computer vision and pattern recognition. 2018. \n263 [5] Jo, Younghyun, Sejong Yang, and Seon Joo Kim. \"Investigating loss functions for extreme super-resolution.\" \n264 Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops. 2020. \n265 [6] Ledig, Christian, et al. \"Photo-realistic single image super-resolution using a generative adversarial network.\" \n266 Proceedings of the IEEE conference on computer vision and pattern recognition. 2017. \n267 [7] Sajjadi, Mehdi SM, Bernhard Scholkopf, and Michael Hirsch. \"Enhancenet: Single image super-resolution \n268 through automated texture synthesis.\" Proceedings of the IEEE International Conference on Computer Vision. \n269 2017. \n270 [8] Zhu, Jun-Yan, et al. \"Unpaired image-to-image translation using cycle-consistent adversarial networks.\" \n271 Proceedings of the IEEE international conference on computer vision. 2017. \n272 [9] Dong, Chao, et al. \"Image super-resolution using deep convolutional networks.\" IEEE transactions on pattern \n273 analysis and machine intelligence 38.2 (2015): 295-307. \n274 [10] Bansal, Raghav, Gaurav Raj, and Tanupriya Choudhury. \"Blur image detection using Laplacian operator \n275 and Open-CV.\" 2016 International Conference System Modeling & Advancement in Research Trends (SMART). \n276 IEEE, 2016. \n277 [11] Tang, Chang, et al. \"Defusionnet: Defocus blur detection via recurrently fusing and refining multi-scale \n278 deep features.\" Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2019. \n279 [12] Wang, Xuewei, et al. \"Accurate and fast blur detection using a pyramid M-Shaped deep neural network.\" \n280 IEEE Access 7 (2019): 86611-86624. \n281 [13] Yuan, Yuan, et al. \"Unsupervised image super-resolution using cycle-in-cycle generative adversarial \n282 networks.\" Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops. 2018. \n283 [14] Agustsson, Eirikur, and Radu Timofte. \"Ntire 2017 challenge on single image super-resolution: Dataset and \n284 study.\" Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops. 2017. \n285 [15] Gu, Shuhang, et al. \"Div8k: Diverse 8k resolution image dataset.\" 2019 IEEE/CVF International Conference \n286 on Computer Vision Workshop (ICCVW). IEEE, 2019. \n287 [16] Jolicoeur-Martineau, Alexia. \"The relativistic discriminator: a key element missing from standard GAN.\" \n288 arXiv preprint arXiv:1807.00734 (2018). \n289 [17] Kim, Jiwon, Jung Kwon Lee, and Kyoung Mu Lee. \"Accurate image super-resolution using very deep \n290 convolutional networks.\" Proceedings of the IEEE conference on computer vision and pattern recognition. 2016. \n291 [18] Zhang, Yulun, et al. \"Image super-resolution using very deep residual channel attention networks.\" \n292 Proceedings of the European conference on computer vision (ECCV). 2018. \n293 [19] Lim, Bee, et al. \"Enhanced deep residual networks for single image super-resolution.\" Proceedings of the \n294 IEEE conference on computer vision and pattern recognition workshops. 2017. \n295 [20] Park, Taesung, et al. \"Semantic image synthesis with spatially-adaptive normalization.\" Proceedings of the \n296 IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2019. \n297 [21] Shang, Taizhang, et al. \"Perceptual extreme super-resolution network with receptive field block.\" Proceed \n298 ings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops. 2020. \n299 [22] Jo, Younghyun, Sejong Yang, and Seon Joo Kim. \"Investigating loss functions for extreme super-resolution.\" \n300 Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops. 2020. ",
732
+ "bbox": [
733
+ 140,
734
+ 527,
735
+ 825,
736
+ 722
737
+ ],
738
+ "page_idx": 6
739
+ },
740
+ {
741
+ "type": "image",
742
+ "img_path": "images/1a6d0d9b88734d4ca44353bccc5cbf928b82be5e1b229157482c43899b74b8e8.jpg",
743
+ "image_caption": [
744
+ "Figure 4: Qualitative comparison of our methods with the official ESRGAN. We compare the poorly reconstructed outputs of ESRGAN from BSD100 and Urban100 datasets with our proposed model trained with configuration(f). Our method produces sharp textures and more realistic structures compared to the baseline ESRGAN, although it also fails to accurately reconstruct human faces. "
745
+ ],
746
+ "image_footnote": [],
747
+ "bbox": [
748
+ 173,
749
+ 142,
750
+ 926,
751
+ 795
752
+ ],
753
+ "page_idx": 7
754
+ },
755
+ {
756
+ "type": "text",
757
+ "text": "",
758
+ "bbox": [
759
+ 143,
760
+ 147,
761
+ 828,
762
+ 916
763
+ ],
764
+ "page_idx": 8
765
+ },
766
+ {
767
+ "type": "text",
768
+ "text": "Checklist ",
769
+ "text_level": 1,
770
+ "bbox": [
771
+ 142,
772
+ 89,
773
+ 254,
774
+ 106
775
+ ],
776
+ "page_idx": 9
777
+ },
778
+ {
779
+ "type": "text",
780
+ "text": "The checklist follows the references. Please read the checklist guidelines carefully for information on how to answer these questions. For each question, change the default [TODO] to [Yes] , [No] , or [N/A] . You are strongly encouraged to include a justification to your answer, either by referencing the appropriate section of your paper or providing a brief inline description. For example: ",
781
+ "bbox": [
782
+ 158,
783
+ 119,
784
+ 825,
785
+ 170
786
+ ],
787
+ "page_idx": 9
788
+ },
789
+ {
790
+ "type": "text",
791
+ "text": "• Did you include the license to the code and datasets? [Yes] See Section 2. • Did you include the license to the code and datasets? [No] The code and the data are proprietary. • Did you include the license to the code and datasets? [N/A] ",
792
+ "bbox": [
793
+ 217,
794
+ 181,
795
+ 803,
796
+ 231
797
+ ],
798
+ "page_idx": 9
799
+ },
800
+ {
801
+ "type": "text",
802
+ "text": "Please do not modify the questions and only use the provided macros for your answers. Note that the Checklist section does not count towards the page limit. In your paper, please delete this instructions block and only keep the Checklist section heading above along with the questions/answers below. ",
803
+ "bbox": [
804
+ 158,
805
+ 241,
806
+ 826,
807
+ 280
808
+ ],
809
+ "page_idx": 9
810
+ },
811
+ {
812
+ "type": "text",
813
+ "text": "1. For all authors... ",
814
+ "bbox": [
815
+ 214,
816
+ 292,
817
+ 330,
818
+ 305
819
+ ],
820
+ "page_idx": 9
821
+ },
822
+ {
823
+ "type": "text",
824
+ "text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] The focus of our paper is on the proposal of a one-to-many pipeline for super-resolution. \n(b) Did you describe the limitations of your work? [Yes] The GAN framework used in our work was weak despite the successes of modern GANs. \n(c) Did you discuss any potential negative societal impacts of your work? [No] \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
825
+ "bbox": [
826
+ 240,
827
+ 310,
828
+ 825,
829
+ 406
830
+ ],
831
+ "page_idx": 9
832
+ },
833
+ {
834
+ "type": "text",
835
+ "text": "2. If you are including theoretical results... ",
836
+ "bbox": [
837
+ 214,
838
+ 411,
839
+ 467,
840
+ 424
841
+ ],
842
+ "page_idx": 9
843
+ },
844
+ {
845
+ "type": "text",
846
+ "text": "(a) Did you state the full set of assumptions of all theoretical results? [N/A] (b) Did you include complete proofs of all theoretical results? [N/A] ",
847
+ "bbox": [
848
+ 240,
849
+ 428,
850
+ 691,
851
+ 457
852
+ ],
853
+ "page_idx": 9
854
+ },
855
+ {
856
+ "type": "text",
857
+ "text": "3. If you ran experiments... ",
858
+ "bbox": [
859
+ 214,
860
+ 462,
861
+ 377,
862
+ 474
863
+ ],
864
+ "page_idx": 9
865
+ },
866
+ {
867
+ "type": "text",
868
+ "text": "(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] As mentioned in the paper, all the code and training configurations are available at https://github.com/krenerd/ultimate-sr. \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [No] There was hardware limitations for repeating our work multiple times, however the ablation study sufficiently described improvements of our methods. \n(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] All our experiments were executed on Google COLAB with a single Tesla T4 or Tesla K80 GPU. ",
869
+ "bbox": [
870
+ 240,
871
+ 479,
872
+ 825,
873
+ 625
874
+ ],
875
+ "page_idx": 9
876
+ },
877
+ {
878
+ "type": "text",
879
+ "text": "If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
880
+ "bbox": [
881
+ 227,
882
+ 630,
883
+ 764,
884
+ 643
885
+ ],
886
+ "page_idx": 9
887
+ },
888
+ {
889
+ "type": "text",
890
+ "text": "(a) If your work uses existing assets, did you cite the creators? [Yes] The DIV2K and DIV8K dataset was used and cited. \n(b) Did you mention the license of the assets? [N/A] \n(c) Did you include any new assets either in the supplemental material or as a URL? [N/A] \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [Yes] The DIV2K dataset was used for the baseline ESRGAN, which was compared with our methods and the DIV8K dataset was used for the RFB-ESRGAN. \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [No] ",
891
+ "bbox": [
892
+ 240,
893
+ 647,
894
+ 825,
895
+ 771
896
+ ],
897
+ "page_idx": 9
898
+ },
899
+ {
900
+ "type": "text",
901
+ "text": "5. If you used crowdsourcing or conducted research with human subjects... ",
902
+ "bbox": [
903
+ 212,
904
+ 776,
905
+ 658,
906
+ 789
907
+ ],
908
+ "page_idx": 9
909
+ },
910
+ {
911
+ "type": "text",
912
+ "text": "(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A] \n(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A] \n(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A] ",
913
+ "bbox": [
914
+ 240,
915
+ 792,
916
+ 825,
917
+ 875
918
+ ],
919
+ "page_idx": 9
920
+ }
921
+ ]
parse/train/Kai3KkCOCp/Kai3KkCOCp_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/Kai3KkCOCp/Kai3KkCOCp_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/SyfdsjA9FX/SyfdsjA9FX.md ADDED
@@ -0,0 +1,299 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # LIVE FACE DE-IDENTIFICATION IN VIDEO
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ We propose a method for face de-identification that enables fully automatic video modification at high frame rates. The goal is to maximally decorrelate the identity, while having the perception (pose, illumination and expression) fixed. We achieve this by a novel feed forward encoder-decoder network architecture that is conditioned on the high-level representation of a person’s facial image. The network is global, in the sense that it does not need to be retrained for a given video or for a given identity, and it creates natural-looking image sequences with little distortion in time.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ In consumer image and video applications, the face has a unique importance that stands out from all other objects. For example, face recognition (detection followed by identification) is perhaps much more widely applicable than any other object recognition (categorization, detection, or instance identification) in consumer images. Similarly, putting aside image processing operators that are applied to the entire frame, face filters remain the most popular filters for consumer video. Since face technology is both useful and impactful, it also raises many ethical concerns. Face recognition can lead to loss of privacy and face replacement technology may be misused to create misleading videos.
12
+
13
+ In this work, we focus on a video de-identification, which is a video filtering application that both requires a technological leap over the current state-of-the-art and is benign in nature. This application requires the creation of a video of a similar looking person, such that the perceived identity is changed. This allows, for example, the user to leave a natural-looking video message in a public forum in an anonymous way that would presumably prevent face recognition technology from recognizing them.
14
+
15
+ The problem of video de-identification is a challenging computational task. The video needs to be modified in a seamless way, without causing flickering or other visual artifacts and distortions, such that the identity is changed, while all other factors remain identical. These factors include pose and expression, occlusion, illumination and shadow, and their dynamics.
16
+
17
+ In order to tackle these challenges, we introduce a novel encoder-decoder architecture. To the latent space, we concatenate the activations of the representation layer of a network trained to perform face recognition. The loss terms separate between low- and mid-level perceptual terms and high-level terms. The former are used to tie the output image to the input video frame, while the latter is used to obtain the desired modification. Additional losses include reconstruction losses, edge losses, and an adversarial loss. The network outputs both an image and a mask, which are used, in tandem, to reconstruct the output frame.
18
+
19
+ In contrast to the literature methods, which are limited to still images and often swap the image’s face with a dataset face, our method handles video and generates de novo faces. Our experiments show convincing performance for unconstrained videos, producing natural looking videos. The person in those videos has a similar appearance to the original person. However, a state-of-the-art face-recognition network fails to identify the person. A similar experiment, shows that humans cannot identify the generated face, even without time constraints.
20
+
21
+ # 2 PREVIOUS WORK
22
+
23
+ Faces have been modeled by computer graphics systems for a long time. In machine learning, faces have been one of the key benchmarks for GAN-based generative models (Goodfellow et al.,
24
+
25
+ Table 1: A comparison to literature de-identification methods. †The face is swapped with an average of a few dataset faces.
26
+
27
+ <table><tr><td></td><td>(Newton, &#x27;05)</td><td>(Gross, &#x27;08)</td><td>(Samarzija, &#x27;14)</td><td>(Jourabloo, &#x27;15)</td><td>(Wu, &#x27;18)</td><td>Our</td></tr><tr><td>Preserves expression</td><td></td><td>1</td><td>1</td><td>1</td><td>=</td><td>+</td></tr><tr><td>Preserves pose</td><td></td><td>+</td><td>+</td><td></td><td>=</td><td>+</td></tr><tr><td>Generates new faces</td><td></td><td>+</td><td>1</td><td>+</td><td>+</td><td>+</td></tr><tr><td>Demonstrated on video</td><td></td><td>1</td><td></td><td>1</td><td></td><td>+</td></tr><tr><td>Demonstrated on a diverse dataset (gender, ethnicity, age, etc.)</td><td></td><td>+</td><td></td><td>+</td><td></td><td>+</td></tr></table>
28
+
29
+ 2014; Radford et al., 2015; Salimans et al., 2016) since their inception. Recently, high resolution natural looking faces were generated by training both the generator and the discriminator of the GAN progressively, starting with shallower networks and lower resolutions and enlarging these gradually (Karras et al., 2018).
30
+
31
+ Conditional generation of faces has been a key task in various unsupervised domain translation contributions, where the task is to learn to map, e.g., a person without eyewear to a person with eyeglasses, without seeing matching samples from the two domains (Kim et al., 2017; Yi et al., 2017; Benaim & Wolf, 2017; Liu et al., 2017). For more distant domain mapping, such as mapping between a face image and the matching computer graphics avatar, additional supervision in the form of a face descriptor network was used (Taigman et al., 2017). Our work uses these face descriptors in order to distance the identity of the output from that of the input.
32
+
33
+ As far as we know, our work is the first de-identification work to present results on videos. In still images, several methods have been previously suggested. Earlier work implemented different types of image distortions for face de-identification (Newton et al., 2005b; Gross et al., 2008), while more recent works rely on techniques for selecting distant faces (Samarzija & Ribaric, 2014) or averaging/fusing faces from pre-existing datasets Newton et al. (2005a); Jourabloo et al. (2015). The experiments conducted by the aforementioned techniques are restricted, in most cases to lowresolution, black and white results. Although it is possible to create eye-pleasing results, they are not robust to different poses, illuminations and facial structures, making them inadequate for video generation. The use of GANs for face de-identification has been suggested in the work of Wu et al. (2018). However, the experiments were restricted to a homogeneous dataset, with no apparent expression preservation within the results. See Tab. 1 for a comparative view of the literature.
34
+
35
+ The current literature on de-identification often involves face swapping (our method does not). Face swapping, i.e., the replacement of a person’s face in an image with another person’s face, has been an active research topic for some time, starting with the influential work of (Blanz et al., 2004; Bitouk et al., 2008). Recent contributions have shown a great deal of robustness to the source image as well as for the properties of the image, from which the target face is taken (Kemelmacher-Shlizerman, 2016; Nirkin et al., 2017). While these classical face swapping methods work in the pixel space and copy the expression of the target image, recent deep-learning based work swap the identity, while maintaining the other aspects of the source image (Korshunova et al., 2017). In comparison to our work, (Korshunova et al., 2017) requires training a new network for every target person, the transferred expression does not show subtleties (which would be critical, e.g., for a speaking person), and the results are not as natural as ours. These limitations are probably a result of capturing the appearance of the target by restricting the output to be similar, patch by patch, to a collection of patches from the target person. Moreover, (Korshunova et al., 2017) is limited to stills and was not demonstrated on video.
36
+
37
+ The face swapping (FS) project (Faceswap, 2017) is an unpublished work that replaces faces in video in a way that can be very convincing, given suitable inputs. Unlike our network, the FS is retrained for every pair of source-video and target-video persons. The input to the FS system, during training, is two large sets of images, one from each identity. Typically, in order to obtain good results, thousands of images from each individual with a significant variability in pose, expression, and illumination are used. In many cases, a large subset of the images of the source person are taken from the video that is going to be converted. In addition, FS often fails, and in order to obtain a convincing output, the person in the source video and the target person need to have similar facial structure. These limitations make it unsuitable for de-identification purposes.
38
+
39
+ ![](images/09a71ca4c372f6c19354d086b6fd71813ac67b60350864254ed771aae2076d7d.jpg)
40
+ Figure 1: (a) The architecture of our network. For conditioning, a pre-trained face recognition network is used. (b) An illustration of the multi-image perceptual loss used, which employs two replicas of the same face recognition network.
41
+
42
+ Like ours, the FS method is based on an encoder-decoder architecture, where both an image and output mask are produced. A few technical novelties of FS are shared with our work. Most notably is the way in which augmentation is performed in order to train a more semantic encoder-decoder network. During training of FS, the input image is modified by rotating or scaling it, before it is fed to the encoder. The image that the decoder outputs is compared to the undistorted image. Another common property is that the GAN variant used employs virtual examples created using the mixup technique (Zhang et al., 2017). In addition, in order to maintain the pose and expression, which are considered low- or mid-level features in face descriptors (orthogonal to the identity) FS employs a perceptual loss (Johnson et al., 2016; Ulyanov et al., 2016a) that is based on the layers of a face-recognition network.
43
+
44
+ # 3 METHOD
45
+
46
+ Our architecture is based on an adversarial autoencoder (Makhzani et al., 2015), coupled with a trained face-classifier. By concatenating the autoencoder’s latent space with the face-classifier representation layer, we achieve a rich latent space, embedding both identity and expression information. The network is trained in a counter-factual way, i.e., the output differs from the input in key aspects, as dictated by the conditioning. The generation task is, therefore, highly semantic, and the loss required to capture its success cannot be a conventional reconstruction loss.
47
+
48
+ For the task of de-identification, we employ a target image, which is any image of the person in the video. The method then distances the face descriptors of the output video from those of the target image. The target image does not need to be based on a frame from the input video. This contributes to the applicability of the method, allowing it to be applied to live videos. In our experiments, we do not use an input frame in order to show the generality of the approach. To encode the target image, we use a pre-trained face classifier ResNet-50 network by He et al. (2016b), trained over the VGGFace2 dataset of Cao et al. (2017).
49
+
50
+ The process during test time is similar to the steps taken in the face swapping literature and involves the following steps: (a) A square bounding box is extracted using a face detector, we employ dlib (King, 2009). (b) Multiple facial points are detected. In our implementation we use the 68 points provided by dlib. (c) A transformation matrix is extracted, using an estimated similarity transformation (scale, rotation and translation) to an averaged face. (d) The estimated transformation is applied to the input face. (e) The transformed face is passed to our network, together with the representation of the target image, obtaining both an output image and a mask. (f) The output image and mask are projected back, using the inverse of the similarity transformation. (g) We generate an output frame by linearly mixing, per pixel, the input and the network’s transformed output image, according to the weights of the transformed mask. (h) The outcome is merged into the original frame, in the region defined by the convex hull of the facial points.
51
+
52
+ Training is performed on image datasets and not on video. At training time, we perform the following steps: (a) The face image is distorted and augmented. This is done by applying random scaling, rotation and elastic deformation. (b) The distorted image is fed into the network, together with the representation of a target image. During training, we select the same image, undistorted. (c) A linear combination of the masked output (computed as in step (g) above) and the undistorted input is fed to the discriminator. This is the mixup technique (Zhang et al., 2017) discussed below. (d) Losses are applied on the network’s mask and image output, as well as to the masked output, as detailed below.
53
+
54
+ Note that there is a discrepancy between how the network is trained and how it is applied. Not only that we do not make any explicit effort to train on videos, the target images are selected in a different way. During training, we extract the identity from the training image itself and not from an independent target image. The method is still able to generalize to perform the actual application on unconstrained videos.
55
+
56
+ # 3.1 NETWORK ARCHITECTURE
57
+
58
+ The architecture is illustrated in Fig. 1(a). The encoder is composed of a convolutional layer, followed by five strided, depth-wise separable (Chollet, 2017) convolutions with instance normalization (Ulyanov et al., 2016b). Subsequently, a single fully connected layer is employed, and the target face representation is concatenated. The decoder is composed of a fully connected layer, followed by a lattice of upscale and residual (He et al., 2016a) blocks, terminated with a tanh activated convolution for the output image, and a sigmoid activated convolution for the mask output. Each upscale block is comprised of a 2D convolution with twice the number of filters than the input channel size. Following an instance normalization and a LReLU (He et al., 2015) activation, the activations are re-ordered such that the width and height are doubled, while the channel size is halved. Each residual block input is summed with the output of a Conv2D-LReLU-Conv2D chain.
59
+
60
+ A low-capacity Unet connection (Ronneberger et al., 2015) is employed $( 3 2 \mathrm { x } 3 2 \mathrm { x } 1 )$ ), thus relieving the autoencoder’s bottleneck, allowing a stronger focus on the encoding of transfer-related information. The connection size does not exceed the bottleneck size (1024) and due to the distortion of the input image, a collapse into a simple reconstructing autoencoder in early training stages is averted.
61
+
62
+ The discriminator consists of four strided convolutions with LReLU activations, with instance normalization applied on all but the first one. A sigmoid activated convolution yields a single output.
63
+
64
+ # 3.2 TRAINING AND THE LOSSES USED
65
+
66
+ For training all networks, except for the GAN’s discriminator $D$ , we use a compound loss $\mathcal { L }$ , which is a weighted sum of multiple parts:
67
+
68
+ $$
69
+ \begin{array} { r l } & { \mathcal { L } = \alpha _ { 0 } \mathcal { L } _ { G } + \alpha _ { 1 } \mathcal { L } _ { R } ^ { r a w } + \alpha _ { 1 } \mathcal { L } _ { R } ^ { m a s k e d } + \alpha _ { 2 } \mathcal { L } _ { x } ^ { r a w } + \alpha _ { 2 } \mathcal { L } _ { y } ^ { r a w } + \alpha _ { 2 } \mathcal { L } _ { x } ^ { m a s k e d } + \alpha _ { 2 } \mathcal { L } _ { y } ^ { m a s k e d } } \\ & { \qquad + \alpha _ { 3 } \mathcal { L } _ { p } ^ { r a w } + \alpha _ { 3 } \mathcal { L } _ { p } ^ { m a s k e d } + \alpha _ { 4 } \mathcal { L } ^ { m } + \alpha _ { 5 } \mathcal { L } _ { x } ^ { m } + \alpha _ { 5 } \mathcal { L } _ { y } ^ { m } , } \end{array}
70
+ $$
71
+
72
+ where the de $\mathcal { L } _ { G }$ ier enerator’s loss, and the version $\mathcal { L } _ { R } ^ { r a w }$ and app $\mathcal { L } _ { R } ^ { m a s k e d }$ are recomasking n, ses fand he output image ofare reconstruction $z ^ { r a w }$ $z ^ { m a s k e d }$ $\mathcal { L } _ { x } ^ { * }$ $\mathcal { L } _ { y } ^ { * }$ losses applied to the spatial images derivatives, $\mathcal { L } _ { p } ^ { * }$ are the perceptual losses, and $\mathcal { L } _ { * } ^ { m }$ are regularization losses on the mask. The perceptual loss terms are the only terms that differ between the two applications. The discriminator network is trained using its own loss $\mathcal { L } _ { D }$ . Throughout our experiments, we employ $\alpha _ { 0 } = \alpha _ { 1 } = \alpha _ { 2 } = \alpha _ { 3 } = 0 . 5 , \alpha _ { 4 } = 3 \cdot 1 0 ^ { - 3 } , \alpha _ { 5 } = 1 0 ^ { - 2 } .$ .
73
+
74
+ To maintain realistic looking generator outputs, adversarial loss is imposed with a convex combination of example pairs (known as mixup) (Zhang et al., 2017) over a Least Square GAN (Mao et al., 2017)
75
+
76
+ loss:
77
+
78
+ $$
79
+ \begin{array} { r } { \mathcal { L } _ { D } = \Vert D ( \delta _ { m x } ) - \lambda _ { \beta } \Im \Vert _ { 2 } ^ { 2 } \qquad \mathcal { L } _ { G } = \alpha _ { 0 } \Vert D ( \delta _ { m x } ) - ( 1 - \lambda _ { \beta } ) \Im \Vert _ { 2 } ^ { 2 } } \end{array}
80
+ $$
81
+
82
+ While, $\delta _ { m x } = \lambda _ { \beta } { \cdot } x + ( 1 { - } \lambda _ { \beta } ) z ^ { m a s k e d }$ and $\lambda _ { \beta }$ is sampled out of a Beta distribution $\lambda _ { \beta } \sim B e t a ( \alpha , \alpha )$ $x$ is the undistorted input “real” sample and $z ^ { m a s k e d }$ is the post masking generated sample. A value of $\alpha = 0 . 2$ is used throughout the experiments.
83
+
84
+ Additional losses are exercised to both retain source-to-output similarity, yet drive a perceptible transformation. Several losses are distributed equally between the raw and masked outputs, imposing constraints on both. An L1 reconstruction loss is used to enforce pixel-level similarity:
85
+
86
+ $$
87
+ \mathcal { L } _ { R } ^ { r a w } = \alpha _ { 1 } \| z ^ { r a w } - x \| _ { 1 } \qquad \mathcal { L } _ { R } ^ { m a s k e d } = \alpha _ { 1 } \| z ^ { m a s k e d } - x \| _ { 1 }
88
+ $$
89
+
90
+ where $z ^ { r a w }$ is the output image itself. This results in a non-trivial constraint, as the encoder input image is distorted. An edge-preserving loss is used to constrain pixel-level derivative differences in both the $x$ and $y$ image axes. Calculated as the absolute difference between the source and output derivatives in each axis direction for both the raw and masked outputs:
91
+
92
+ $$
93
+ \begin{array} { r l r } { \mathcal { L } _ { x } ^ { r a w } = \alpha _ { 2 } \| z _ { x } ^ { \prime } - x _ { x } ^ { \prime } \| _ { 1 } } & { } & { \qquad \mathcal { L } _ { y } ^ { r a w } = \alpha _ { 2 } \| z _ { y } ^ { \prime } - x _ { y } ^ { \prime } \| _ { 1 } } \\ { \mathcal { L } _ { x } ^ { m a s k e d } = \alpha _ { 2 } \| z _ { x } ^ { \prime } - x _ { x } ^ { \prime } \| _ { 1 } } & { } & { \qquad \mathcal { L } _ { y } ^ { m a s k e d } = \alpha _ { 2 } \| z _ { y } ^ { \prime } - x _ { y } ^ { \prime } \| _ { 1 } } \end{array}
94
+ $$
95
+
96
+ where $x _ { x } ^ { \prime }$ is the derivative of the undistorted input image $x$ along the $x$ axis.
97
+
98
+ Additional losses are applied to the blending mask $m$ , where 0 indicates that the value of this pixel would be taken from the input image $x , 1$ indicates taking the value from $z ^ { r a w }$ , and intermediate values indicate linear mixing. We would like the mask to be both minimal and smooth and, therefore, employ the following losses:
99
+
100
+ $$
101
+ \begin{array} { r } { \mathcal { L } ^ { m } = \| m \| _ { 1 } \qquad \mathcal { L } _ { x } ^ { m } = \| m _ { x } ^ { \prime } \| _ { 1 } \qquad \mathcal { L } _ { y } ^ { m } = \| m _ { y } ^ { \prime } \| _ { 1 } } \end{array}
102
+ $$
103
+
104
+ where $m _ { x } ^ { \prime }$ and $m _ { y } ^ { \prime }$ are the spatial derivatives of the mask.
105
+
106
+ # 3.2.1 A MULTI-IMAGE PERCEPTUAL LOSS
107
+
108
+ A new variant of the perceptual loss (Johnson et al., 2016) is employed to maintain source expression, pose and lighting conditions, while capturing the target identity essence. This is achieved by employing a perceptual loss between the undistorted source and generated output on several low-tomedium abstraction layers, while constraining the high abstraction layer perceptual loss between the target and generated output.
109
+
110
+ Let $a _ { n \times n } ^ { r }$ be the activations of an $n \times n$ spatial block within the face classifier network for image $r$ where in our case $r$ can be either the input image $x$ , the application dependent target image $t$ , the raw output $z ^ { r a w }$ , or the masked output $z ^ { m \bar { a } s k e d }$ .
111
+
112
+ We consider the spatial activations maps of size $1 1 2 \times 1 1 2 , 5 6 \times 5 6 , 2 8 \times 2 8$ and $7 \times 7$ , as well as the representation layer of size $1 \times 1$ . The lower layers (larger maps) are used to enforce similarity to the input image $x$ , while the $7 \times 7$ layer is used to enforce similarity to $t$ , and the $1 \times 1$ feature vector is used to enforce dissimilarity to the target image.
113
+
114
+ Let us define $\ell _ { n \times n } ^ { r _ { 1 } , r _ { 2 } } = c _ { n } \| a _ { r _ { 1 } , n \times n } - a _ { r _ { 2 } , n \times n } \| _ { 1 }$ , where $c _ { n }$ is a normalizing constant, corresponding to the size of the spatial activation map.
115
+
116
+ The perceptual loss is given by:
117
+
118
+ $$
119
+ \mathcal { L } _ { p } ^ { c } = \ell _ { 1 1 2 \times 1 1 2 } ^ { x , z ^ { c } } + \ell _ { 5 6 \times 5 6 } ^ { x , z ^ { c } } + \ell _ { 2 8 \times 2 8 } ^ { x , z ^ { c } } + \ell _ { 7 \times 7 } ^ { t , z ^ { c } } - \lambda \ell _ { 1 \times 1 } ^ { t , z }
120
+ $$
121
+
122
+ for $c$ that is either raw or masked, and where $\lambda > 0$ is a hyperparameter, which determines the distance of the generated face’s high level features from those of the target image.
123
+
124
+ The application of the multi-image perceptual loss during training is depicted in Fig. 1(b). During training, the target is the source and there is only one input image. The resulting image has the texture, pose and expression of the source, but the face is modified to distance the identity, as can be seen in Fig. 2. Note that we call it multi-image perceptual loss, since its aim is to minimize the analog error term during inference (generalization error). However, as a training loss, it is only applied during train, where it receives a pair of images, similarly to other perceptual losses.
125
+
126
+ Table 2: User study. (a) Success rate in user identification of a real video from a modified one. Closer to $50 \%$ is better. (b) The confusion matrix in identifying the five persons for the real images (control). (c) The confusion matrix for identifying based on the de-identified images.
127
+
128
+ ![](images/e06c8965266f781dc1ba18274f00e49d23341b7e1f5fccd8735611010c81be19.jpg)
129
+
130
+ At inference time, the network is fed an input frame and a target image. The target image is transmitted through the face classifier, resulting in a target feature vector, which, in turn, is concatenated to the latent embedding space. Due to the way the network is trained, the decoder will drive the output image away from the target feature vector.
131
+
132
+ # 4 EXPERIMENTS
133
+
134
+ Training is done using the Adam (Kingma & Ba, 2016) optimizer, with the learning rate set to $1 0 ^ { - 4 }$ , $\beta _ { 1 } = 0 . 5$ , and $\beta _ { 2 } = 0 . 9 9$ . At each training iteration, a batch of 32 images is randomly selected and augmented. We initialize all convolutional weights using a random normal distribution, with a mean of 0 and a standard deviation of 0.02. Bias weights are not used. The decoder includes LReLU activations with $\alpha = 0 . 2$ for residual blocks and $\alpha = 0 . 1$ otherwise. The network was trained on a union of LFW (Huang et al.), CelebA (Liu et al., 2015) and PubFig (Kumar et al., 2009), totaling 260,000 images, the vast majority from CelebA. The identity information is not used during training. The model was trained for $2 3 0 \mathrm { k }$ iterations with a gradual increasing strength of the hyperparameter $\lambda$ , ranging from $\lambda = 1 \cdot 1 0 ^ { - 7 }$ to $\lambda = 2 \cdot 1 0 ^ { - 6 }$ , in four steps. Without this gradual increase, the naturalness of the generated face is diminished.
135
+
136
+ Sample results are shown in Fig. 3. In each pair of frames, we show the original frame, the target frame from which the identity was extracted, and the modified (output) frame. As can be seen, our method produces natural looking images that match the input frame. Identity is indeed modified, while the other aspects of the frame are maintained.
137
+
138
+ The supplementary media available at anonymous-deid-iclr2019submission.github. io contains sample videos, with significant motion, pose, expression and illumination changes, to which our method was applied. It is evident that the method can deal with videos, without causing motion- or instability-based distortions. This is despite being strictly based on per-frame analysis.
139
+
140
+ To test the naturalness of the approach, we tested the ability of humans to discriminate between videos that were modified to those that were not. The human observers $n = 2 0$ ) were fully aware of the type of manipulation that the images had undergone. Still, the human performance is close to random with an average success rate of $5 3 . 6 \%$ $( \mathrm { S D } { = } 1 3 . 0 \%$ ), see Tab. 2)(a). In order to avoid a decision based on a familiar face, this was evaluated on a non-celebrity dataset created specifically for this purpose, which contained 10 videos (samples are attached as supplementary).
141
+
142
+ Another user study tested how identifiable the resulting images were. We considered images of five persons from a TV show and collected two sets of images: gallery and source. The source images were modified by our method using the same images also as target. As can be seen in the confusion matrix of Tab. 2(b) the users had no problem identifying the correct gallery image based on the source images. However, as Tab. 2(c) shows, post de-identification the answers had little correlation with the true identity, as desired.
143
+
144
+ In order to automatically quantify the performance of de-identification, we applied state-of-the-art face-recognition networks. Namely, the LResNet34E-IR and LResNet50E-IR networks of ArcFace (Deng et al., 2018). These networks were selected both for their performance and for the difference between these networks and the VGGFace 2 network, used as part of our network, in both training set and loss.
145
+
146
+ The results of the automatic identification are presented in Tab. 3. Identification is performed out of the 54,000 persons in the ArcFace verification set. The table reports the rank of the true person out of all persons, when sorting the softmax probabilities that the face recognition network produces. The ranking of the true identity in the original video shows an excellent recognition capability, with most of the frames identifying the correct person as the top-1 result. For the de-identified frames, despite the large similarity between the original and the modified frames (Fig. 3), the rank is typically in the thousands.
147
+
148
+ To emphasize the ability of identity-distancing, while maintaining pixel-space similarity, we compare our method to the work of Samarzija & Ribaric (2014). While that method relies on finding a dissimilar identity within a given dataset, ours is single-image dependent, in the sense that it does not rely on other images within a dataset. It is, therefore, resilient to different poses, expressions, lighting conditions and face structures. Given the figures provided by Samarzija & Ribaric (2014), we compare our generated outputs (Fig. 4) by high-level perceptual distance from the source face, taking into account pixel-level similarity (Fig. 4). A comparison of the distance between the original and de-identified image for the two methods (Fig. 4(e)) reveals that our method results in lower pixel differences but with face descriptor distances that are as high.
149
+
150
+ A comparison with the work of Wu et al. (2018) is given in Fig. 5. Our results are at least as good as the literature ones, despite us having to run on the cropped faces extracted from the paper’s PDF. Although Wu et al. (2018) presents visually pleasing results, unlike our work, they do not maintain low-level and medium-level features, including mouth expression and facial hair. Note that this previous work presents results on low-resolution black and white images only, with no pose variance.
151
+
152
+ To further demonstrate the robustness of our methods, we applied the technique to the images of the very difficult inputs from (Phillips et al., 2011), as copied directly from the sample figure there. As can be seen in Fig. 6, our method can deal with very challenging illuminations.
153
+
154
+ To demonstrate the control of the hyperparameter $\lambda$ over the identity distance, we provide a sequence of generated images, where each trained model is identical, apart from the strength of $\lambda$ . The incremental shift in identity can be seen in Fig. 7.
155
+
156
+ An ablation analysis is shown in Fig. 8. The various options include: a no-mask option, a partial adversarial loss that applies only to the masked output and not to the raw output, training without the gradual increase of $\lambda$ , and an attempt to incorporate an additional output with a lower resolution to be taken into account, as part of the compound loss.
157
+
158
+ A numerical analysis of the ablation analysis with the same options is given in Fig. 9. Each method is evaluated along two axis of comparison between the input image and the output image: on the $\cdot$ -axis we show the difference in appearance as measured by the L1 norm between the images; the y-axis shows the difference in ID, as computed by the L1 norm between the VGGFace2 representation of the two images. The plots show mean results obtained for our method (marked (b) to match Fig. 8) and the various ablation methods (marked (c)–(g)). As can be seen, our method maintains image similarity and also has a larger difference in ID than any other method with the exception of the method marked as (c). This is expected, since this variant is the mask-less one, which does not blend in the original image. Variant (f) is considerably more similar to the original image on both axis, since the de-ID performed is very weak with this variant.
159
+
160
+ For many applications, one would require a higher resolution face recognition. The supplementary video, for example, might look blurry at times, despite the share output of the generator due to the limited resolution. In order to overcome it, we trained a high-resolution (256x256) model that is obtained similarly with the following distinctions: (a) The decoder architecture is simplified and enlarged to be a lattice of 6x(Upscale block $- >$ Residual block), (b) The batch size is set to 64, and (c) The model is trained for 80k iterations.
161
+
162
+ Training the second model, the resolution is improved, as can be seen in the supplementary video, while the de-identification affect remains as large, as can be seen in Tab. 4.
163
+
164
+ ![](images/0e3ebad31c3c505a9d1cf2a9f1fb15ac8565618313b62bf108d2b11addb33d79.jpg)
165
+ Figure 2: Training the de-identification network. Shown, in each pair, are the source (left) and output (right) images. During training (but not during test), the target image used is the same as the source one and the output maintains the low-level features of the source and distances the high-level features from it.
166
+
167
+ ![](images/4f173221cf7521283ea603371fcf720438795e18adbbb057f53cde934feacff7.jpg)
168
+ Figure 3: Sample results for de-identification (zoom). Triplets of source frame, converted frame and target are shown. The modified frame looks similar but the identity is completely different.
169
+
170
+ # 5 CONCLUSIONS
171
+
172
+ The appearance of a face is hard to model. For example, computer graphics animations avoid realistic faces in order to stay out of the uncanny valley. The recent GAN technology can create realistic high resolution (frontal) facial images, given a latent space vector $z$ . However, the domain of faces is not completely covered: the recent generators suffer from both mode collapse and mode canceling, and for many face images $I$ , one cannot find a latent vector $z$ , such that a modern generator $G$ would generate $G ( z ) = I$ .
173
+
174
+ In this work, we employ an encoder-decoder architecture, which avoids the mode canceling pitfalls. However, unlike latent-space generators, not every mid-network activation leads to the generation of a valid face downstream. Despite this shortcoming, we show that an encoder-decoder architecture is flexible enough to support multiple conditional generation tasks.
175
+
176
+ ![](images/d6c312dd09e472ef8bde12136c30555bedbd344d2e3d91041110102de34739d0.jpg)
177
+ Figure 4: Comparison with the work of Samarzija & Ribaric (2014) (taken from that paper’s sample image). (a) Original image (also used for the target of our method). (b) Our generated output. (c) Result of (Samarzija & Ribaric, 2014). (d) Target used by Samarzija & Ribaric (2014). (e) A comparison of the distance between the original and de-identified image for the two methods. Our method results in lower pixel differences but with face descriptor distances that are as high or higher.
178
+
179
+ ![](images/cde0bb3f7689ab057a1fad8105129397ee99c7ddb75456642946e47e0964430c.jpg)
180
+ Figure 5: Comparison with Wu et al. (2018) (taken from that paper’s sample image). Row 1 - Original images. Row 2 - results of Wu et al. (2018). Row 3 - Our generated outputs. The previous work does not maintain expression, pose, and facial hair.
181
+
182
+ ![](images/9dac4c72d6dca88f421a2a83c9d58debee754fbc03cfad1fc7fbfb6b118a0093.jpg)
183
+ Figure 6: De-Identification applied to the examples labeled as very challenging in the NIST Face Recognition Challenge (Phillips et al., 2011) (taken from that paper’s sample image, images are zoomed in).
184
+
185
+ ![](images/548c8642bfcc85c58c9fbd42a1f2d94ab362c548e1712b0f9281d61411139847.jpg)
186
+ Figure 7: A sequence of images, generated with an incrementally (left-to-right) growing $\lambda$ . The gradual identity shift can be observed. (a) Source. (b) $\lambda = - 2 \cdot 1 0 ^ { - 7 }$ . (c) $\lambda = - 5 \cdot 1 0 ^ { - 7 }$ . (d) $\bar { \lambda } = - 1 \cdot 1 0 ^ { - 6 }$ . (e) $\lambda = - 2 \cdot 1 0 ^ { - 6 }$ .
187
+
188
+ ![](images/45f81cba93d7c9ea76ecf8c672358c5baaa512310ed0d313dd639c18dcd3c98c.jpg)
189
+ Figure 8: An ablation study. (a) Source image. (b) Our result. (c) No mask. Bad face edge, artifacts near the mouth, glasses occlusion handled poorly. (d) Adversarial loss on masked output only. Artifacts around the right eye, green stripes near the mouth. (e) No gradual $\lambda$ strength in training. Collapse into unnatural blurred face. (f) Additional lower resolution output for the compound loss. Weak de-id, checkerboard pattern near the nose, artifacts on the nose, between eyebrows and when handling occlusions. (g) Weak $\lambda$ and adversarial loss on masked output only. Weak de-id, artifacts near the eyes and eyebrows.
190
+
191
+ ![](images/e2126ed05914800d9264af2ecb12e94c77deb5d71e6c2c749bf684b67c5066fc.jpg)
192
+ Figure 9: Quantitative ablation study results: for our method – marked as (b) – and the various variants in columns (c)–(g) of Fig. 8 we measure the mean pixel-level distance and the mean ID distance (as evaluated by the differences in the last layer of the VGGFace2 classifier), both in L1. The first should be low, while the second should be high. As can be seen in the results, the model we use (b) is very high in the ID distance, while considerably low in the pixel-level distance. The raw (unmasked) model (c) achieves an even higher ID distance, but this is anticipated, since it is not blended with the source image.
193
+
194
+ Table 3: Ranking of the true identity out of a dataset of 54,000 persons ( $S \mathrm { D } { = } \ S$ Standard Deviation). Evaluation is performed on the pre-trained LResNet34E-IR / LResNet50E-IR ArcFace networks.
195
+
196
+ <table><tr><td></td><td colspan="4">LResNet34E-IR</td><td colspan="4">LResNet50E-IR</td></tr><tr><td>Person</td><td colspan="2">Original frames</td><td colspan="2">De-Identified frames</td><td colspan="2">Original frames</td><td colspan="2">De-Identified frames</td></tr><tr><td></td><td>Me- dian</td><td>Mean ±SD</td><td>Me- dian</td><td>Mean ±SD</td><td>Me- dian</td><td>Mean ±SD</td><td>Me- dian</td><td>Mean ±SD</td></tr><tr><td>Simone Biles</td><td>1</td><td>6±91</td><td>1298</td><td>2038.7±2167</td><td>1</td><td>3±50</td><td>1730</td><td>2400.6±2142</td></tr><tr><td>Billy Corgan</td><td>1</td><td>147.4±615</td><td>3891</td><td>4112.6±2569</td><td>1</td><td>95.6±313</td><td>3156</td><td>3456.3±2601</td></tr><tr><td>Selena Gomez</td><td>1</td><td>1±0</td><td>2653</td><td>3017.7±1873</td><td>1</td><td>1±0</td><td>2256</td><td>2704±1873</td></tr><tr><td>Scarlett Johansson</td><td>1</td><td>1.3±4</td><td>9191</td><td>8146.6±2953</td><td>1</td><td>3.8±38.6</td><td>9012</td><td>7753.5±3112</td></tr><tr><td>Steven Yeun</td><td>1</td><td>1.1±1</td><td>7923</td><td>6115.4±4060</td><td>1</td><td>1.02±0.6</td><td>5806</td><td>4976.2±3167</td></tr><tr><td>Sarah J.Parker</td><td>1</td><td>1±0</td><td>980</td><td>1770.5±1787</td><td>1</td><td>1±0</td><td>679</td><td>1069.3±1096</td></tr><tr><td>Average</td><td>1</td><td>26</td><td>4322</td><td>4200</td><td>1</td><td>17</td><td>3773</td><td>3726</td></tr></table>
197
+
198
+ Table 4: Ranking results for the high resolution model. Show is the ranking of the true identity out of a dataset of 54,000 persons ( $\mathrm { S D } { = } 1$ Standard Deviation). Evaluation is performed on the pre-trained LResNet50E-IR ArcFace network.
199
+
200
+ <table><tr><td rowspan="2">Person</td><td colspan="2">Original frames</td><td colspan="2">De-Id 256x256 frames</td></tr><tr><td>Median</td><td>Mean ±SD</td><td>Median</td><td>Mean 士SD</td></tr><tr><td>Simone Biles</td><td>1</td><td>3±50</td><td>1725</td><td>2223±1814</td></tr><tr><td>Billy Corgan</td><td>1</td><td>95.6±313</td><td>901</td><td>1334±1518</td></tr><tr><td>Selena Gomez</td><td>1</td><td>1±0</td><td>8058</td><td>8110±2186</td></tr><tr><td>Scarlett Johansson</td><td>1</td><td>3.8±38.6</td><td>4493</td><td>4830±2544</td></tr><tr><td>Steven Yeun</td><td>1</td><td>1.02±0.6</td><td>1069</td><td>1814±2544</td></tr><tr><td>Sarah J.Parker</td><td>1</td><td>1±0</td><td>408</td><td>620±665</td></tr><tr><td>Average</td><td>1</td><td>17</td><td>2776</td><td>3155</td></tr></table>
201
+
202
+ # REFERENCES
203
+
204
+ Sagie Benaim and Lior Wolf. One-sided unsupervised domain mapping. In NIPS, 2017.
205
+
206
+ Dmitri Bitouk, Neeraj Kumar, Samreen Dhillon, Peter Belhumeur, and Shree K. Nayar. Face swapping: Automatically replacing faces in photographs. In SIGGRAPH, 2008.
207
+
208
+ Volker Blanz, Kristina Scherbaum, Thomas Vetter, and Hans-Peter Seidel. Exchanging faces in images. In Computer Graphics Forum, volume 23, pp. 669–676. Wiley Online Library, 2004.
209
+
210
+ Qiong Cao, Li Shen, Weidi Xie, Omkar M Parkhi, and Andrew Zisserman. Vggface2: A dataset for recognising faces across pose and age. arXiv preprint arXiv:1710.08092, 2017.
211
+
212
+ Francois Chollet. Xception: Deep learning with depthwise separable convolutions. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1251–1258, 2017.
213
+
214
+ Jiankang Deng, Jia Guo, and Stefanos Zafeiriou. Arcface: Additive angular margin loss for deep face recognition. arXiv preprint arXiv:1801.07698, 2018.
215
+
216
+ Faceswap. Github project, https://github.com/deepfakes/faceswap. 2017.
217
+
218
+ Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In NIPS. 2014.
219
+
220
+ R. Gross, L. Sweeney, F. de la Torre, and S. Baker. Semi-supervised learning of multi-factor models for face de-identification. In 2008 IEEE Conference on Computer Vision and Pattern Recognition, 2008.
221
+
222
+ Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. In ICCV, 2015.
223
+
224
+ Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, 2016a.
225
+
226
+ Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, 2016b.
227
+
228
+ Gary B Huang, Manu Ramesh, Tamara Berg, and Erik Learned-Miller. Labeled faces in the wild: A database for studying face recognition in unconstrained environments. Technical report.
229
+
230
+ Justin Johnson, Alexandre Alahi, and Li Fei-Fei. Perceptual losses for real-time style transfer and super-resolution. In ECCV, 2016.
231
+
232
+ Amin Jourabloo, Xi Yin, and Xiaoming Liu. Attribute preserved face deidentification. In In ICB, 2015.
233
+
234
+ Tero Karras, Timo Aila, Samuli Laine, and Jaakko Lehtinen. Progressive growing of gans for improved quality, stability, and variation. In ICLR, 2018.
235
+
236
+ Ira Kemelmacher-Shlizerman. Transfiguring portraits. ACM Trans. Graph., 35(4), 2016.
237
+
238
+ Taeksoo Kim, Moonsu Cha, Hyunsoo Kim, Jungkwon Lee, and Jiwon Kim. Learning to discover cross-domain relations with generative adversarial networks. arXiv preprint arXiv:1703.05192, 2017.
239
+
240
+ Davis E King. Dlib-ml: A machine learning toolkit. Journal of Machine Learning Research, 10(Jul): 1755–1758, 2009.
241
+
242
+ D.P. Kingma and J. Ba. Adam: A method for stochastic optimization. In ICLR, 2016.
243
+
244
+ Iryna Korshunova, Wenzhe Shi, Joni Dambre, and Lucas Theis. Fast face-swap using convolutional neural networks. In The IEEE International Conference on Computer Vision, 2017.
245
+
246
+ Neeraj Kumar, Alexander C Berg, Peter N Belhumeur, and Shree K Nayar. Attribute and simile classifiers for face verification. In CVPR, 2009.
247
+
248
+ Ming-Yu Liu, Thomas Breuel, and Jan Kautz. Unsupervised image-to-image translation networks. In NIPS. 2017.
249
+
250
+ Ziwei Liu, Ping Luo, Xiaogang Wang, and Xiaoou Tang. Deep learning face attributes in the wild. In ICCV, 2015.
251
+
252
+ Alireza Makhzani, Jonathon Shlens, Navdeep Jaitly, Ian Goodfellow, and Brendan Frey. Adversarial autoencoders. arXiv preprint arXiv:1511.05644, 2015.
253
+
254
+ Xudong Mao, Qing Li, Haoran Xie, Raymond YK Lau, Zhen Wang, and Stephen Paul Smolley. Least squares generative adversarial networks. In ICCV, 2017.
255
+
256
+ E. M. Newton, L. Sweeney, and B. Malin. Preserving privacy by de-identifying face images. IEEE Transactions on Knowledge and Data Engineering, 17(2):232–243, 2005a.
257
+
258
+ Elaine M Newton, Latanya Sweeney, and Bradley Malin. Preserving privacy by de-identifying face images. IEEE transactions on Knowledge and Data Engineering, 17(2):232–243, 2005b.
259
+
260
+ Yuval Nirkin, Iacopo Masi, Anh Tuan Tran, Tal Hassner, and Gerard Medioni. On face segmentation, face swapping, and face perception. arXiv preprint arXiv:1704.06729, 2017.
261
+
262
+ P Jonathon Phillips, J Ross Beveridge, Bruce A Draper, Geof Givens, Alice J O’Toole, David S Bolme, Joseph Dunlop, Yui Man Lui, Hassan Sahibzada, and Samuel Weimer. An introduction to the good, the bad, & the ugly face recognition challenge problem. In Automatic Face & Gesture Recognition, 2011.
263
+
264
+ Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. arXiv preprint arXiv:1511.06434, 2015.
265
+
266
+ O. Ronneberger, P.Fischer, and T. Brox. U-net: Convolutional networks for biomedical image segmentation. In Medical Image Computing and Computer-Assisted Intervention (MICCAI), 2015.
267
+
268
+ Tim Salimans, Ian J. Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, and Xi Chen. Improved techniques for training gans. arXiv preprint arXiv:1606.03498, 2016.
269
+
270
+ B. Samarzija and S. Ribaric. An approach to the de-identification of faces in different poses. In 2014 37th International Convention on Information and Communication Technology, Electronics and Microelectronics (MIPRO), 2014.
271
+
272
+ Yaniv Taigman, Adam Polyak, and Lior Wolf. Unsupervised cross-domain image generation. In International Conference on Learning Representations (ICLR), 2017.
273
+
274
+ Dmitry Ulyanov, Vadim Lebedev, Victor Lempitsky, et al. Texture networks: Feed-forward synthesis of textures and stylized images. In ICML, 2016a.
275
+
276
+ Dmitry Ulyanov, Andrea Vedaldi, and Victor Lempitsky. Instance normalization: The missing ingredient for fast stylization. arXiv preprint arXiv:1607.08022, 2016b.
277
+
278
+ Yifan Wu, Fan Yang, and Haibin Ling. Privacy-protective-gan for face de-identification. arXiv preprint arXiv:1806.08906, 2018.
279
+
280
+ Zili Yi, Hao Zhang, Ping Tan, and Minglun Gong. DualGAN: Unsupervised dual learning for image-to-image translation. arXiv preprint arXiv:1704.02510, 2017.
281
+
282
+ Hongyi Zhang, Moustapha Cisse, Yann N Dauphin, and David Lopez-Paz. mixup: Beyond empirical risk minimization. arXiv preprint arXiv:1710.09412, 2017.
283
+
284
+ # A DE-IDENTIFICATION USER STUDY
285
+
286
+ We attach the images as they were presented in the second user study. The users were asked to identify either the images on the 2nd row or the images on the 3rd row based on the gallery images in the first row. The users were shown all images at once, were given unlimited time, and were asked to perform the task as accurately as they could.
287
+
288
+ ![](images/912707ef41b2eb6339c11c67b6b7dfcf1e4defd08ec260040b233bab52e2350d.jpg)
289
+ Figure 10: The images from the user study. Each column is a different individual. The first row are the gallery images, i.e, the album images the users were asked to select the identity from. The second row is the input image. The third row is the output of our method, i.e., the de-identified version of the second row.
290
+
291
+ # B DE-IDENTIFICATION RESULTS WITHOUT THE ZOOM
292
+
293
+ For completeness, we append the original sized results, where no zoom-in was applied.
294
+
295
+ ![](images/761f5e7f493f2216135aec638325f69e419eead4b074764a6b190fe4a109ab06.jpg)
296
+ Figure 11: Same as Fig. 3 but without the zoom.
297
+
298
+ ![](images/bf2bc1b11ced7e4e56dadca2b9ca0eda3cee05e427e2b07c30580d1690f0c8eb.jpg)
299
+ Figure 12: Same as Fig. 6 but without the zoom.
parse/train/SyfdsjA9FX/SyfdsjA9FX_content_list.json ADDED
@@ -0,0 +1,1597 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "LIVE FACE DE-IDENTIFICATION IN VIDEO ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 98,
9
+ 679,
10
+ 121
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Anonymous authors Paper under double-blind review ",
17
+ "bbox": [
18
+ 183,
19
+ 145,
20
+ 398,
21
+ 172
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 210,
32
+ 544,
33
+ 226
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "We propose a method for face de-identification that enables fully automatic video modification at high frame rates. The goal is to maximally decorrelate the identity, while having the perception (pose, illumination and expression) fixed. We achieve this by a novel feed forward encoder-decoder network architecture that is conditioned on the high-level representation of a person’s facial image. The network is global, in the sense that it does not need to be retrained for a given video or for a given identity, and it creates natural-looking image sequences with little distortion in time. ",
40
+ "bbox": [
41
+ 232,
42
+ 241,
43
+ 766,
44
+ 352
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 380,
55
+ 336,
56
+ 395
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "In consumer image and video applications, the face has a unique importance that stands out from all other objects. For example, face recognition (detection followed by identification) is perhaps much more widely applicable than any other object recognition (categorization, detection, or instance identification) in consumer images. Similarly, putting aside image processing operators that are applied to the entire frame, face filters remain the most popular filters for consumer video. Since face technology is both useful and impactful, it also raises many ethical concerns. Face recognition can lead to loss of privacy and face replacement technology may be misused to create misleading videos. ",
63
+ "bbox": [
64
+ 174,
65
+ 411,
66
+ 825,
67
+ 508
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "In this work, we focus on a video de-identification, which is a video filtering application that both requires a technological leap over the current state-of-the-art and is benign in nature. This application requires the creation of a video of a similar looking person, such that the perceived identity is changed. This allows, for example, the user to leave a natural-looking video message in a public forum in an anonymous way that would presumably prevent face recognition technology from recognizing them. ",
74
+ "bbox": [
75
+ 174,
76
+ 515,
77
+ 825,
78
+ 585
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "The problem of video de-identification is a challenging computational task. The video needs to be modified in a seamless way, without causing flickering or other visual artifacts and distortions, such that the identity is changed, while all other factors remain identical. These factors include pose and expression, occlusion, illumination and shadow, and their dynamics. ",
85
+ "bbox": [
86
+ 174,
87
+ 592,
88
+ 825,
89
+ 648
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "In order to tackle these challenges, we introduce a novel encoder-decoder architecture. To the latent space, we concatenate the activations of the representation layer of a network trained to perform face recognition. The loss terms separate between low- and mid-level perceptual terms and high-level terms. The former are used to tie the output image to the input video frame, while the latter is used to obtain the desired modification. Additional losses include reconstruction losses, edge losses, and an adversarial loss. The network outputs both an image and a mask, which are used, in tandem, to reconstruct the output frame. ",
96
+ "bbox": [
97
+ 174,
98
+ 655,
99
+ 825,
100
+ 752
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "In contrast to the literature methods, which are limited to still images and often swap the image’s face with a dataset face, our method handles video and generates de novo faces. Our experiments show convincing performance for unconstrained videos, producing natural looking videos. The person in those videos has a similar appearance to the original person. However, a state-of-the-art face-recognition network fails to identify the person. A similar experiment, shows that humans cannot identify the generated face, even without time constraints. ",
107
+ "bbox": [
108
+ 174,
109
+ 760,
110
+ 825,
111
+ 843
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "2 PREVIOUS WORK ",
118
+ "text_level": 1,
119
+ "bbox": [
120
+ 176,
121
+ 863,
122
+ 351,
123
+ 880
124
+ ],
125
+ "page_idx": 0
126
+ },
127
+ {
128
+ "type": "text",
129
+ "text": "Faces have been modeled by computer graphics systems for a long time. In machine learning, faces have been one of the key benchmarks for GAN-based generative models (Goodfellow et al., ",
130
+ "bbox": [
131
+ 174,
132
+ 895,
133
+ 825,
134
+ 924
135
+ ],
136
+ "page_idx": 0
137
+ },
138
+ {
139
+ "type": "table",
140
+ "img_path": "images/f1288151b8cc5df9fb1d07b9f5d45788afe92727490ed3323c5c921747b83de7.jpg",
141
+ "table_caption": [
142
+ "Table 1: A comparison to literature de-identification methods. †The face is swapped with an average of a few dataset faces. "
143
+ ],
144
+ "table_footnote": [],
145
+ "table_body": "<table><tr><td></td><td>(Newton, &#x27;05)</td><td>(Gross, &#x27;08)</td><td>(Samarzija, &#x27;14)</td><td>(Jourabloo, &#x27;15)</td><td>(Wu, &#x27;18)</td><td>Our</td></tr><tr><td>Preserves expression</td><td></td><td>1</td><td>1</td><td>1</td><td>=</td><td>+</td></tr><tr><td>Preserves pose</td><td></td><td>+</td><td>+</td><td></td><td>=</td><td>+</td></tr><tr><td>Generates new faces</td><td></td><td>+</td><td>1</td><td>+</td><td>+</td><td>+</td></tr><tr><td>Demonstrated on video</td><td></td><td>1</td><td></td><td>1</td><td></td><td>+</td></tr><tr><td>Demonstrated on a diverse dataset (gender, ethnicity, age, etc.)</td><td></td><td>+</td><td></td><td>+</td><td></td><td>+</td></tr></table>",
146
+ "bbox": [
147
+ 178,
148
+ 145,
149
+ 818,
150
+ 273
151
+ ],
152
+ "page_idx": 1
153
+ },
154
+ {
155
+ "type": "text",
156
+ "text": "2014; Radford et al., 2015; Salimans et al., 2016) since their inception. Recently, high resolution natural looking faces were generated by training both the generator and the discriminator of the GAN progressively, starting with shallower networks and lower resolutions and enlarging these gradually (Karras et al., 2018). ",
157
+ "bbox": [
158
+ 174,
159
+ 311,
160
+ 825,
161
+ 367
162
+ ],
163
+ "page_idx": 1
164
+ },
165
+ {
166
+ "type": "text",
167
+ "text": "Conditional generation of faces has been a key task in various unsupervised domain translation contributions, where the task is to learn to map, e.g., a person without eyewear to a person with eyeglasses, without seeing matching samples from the two domains (Kim et al., 2017; Yi et al., 2017; Benaim & Wolf, 2017; Liu et al., 2017). For more distant domain mapping, such as mapping between a face image and the matching computer graphics avatar, additional supervision in the form of a face descriptor network was used (Taigman et al., 2017). Our work uses these face descriptors in order to distance the identity of the output from that of the input. ",
168
+ "bbox": [
169
+ 173,
170
+ 375,
171
+ 825,
172
+ 472
173
+ ],
174
+ "page_idx": 1
175
+ },
176
+ {
177
+ "type": "text",
178
+ "text": "As far as we know, our work is the first de-identification work to present results on videos. In still images, several methods have been previously suggested. Earlier work implemented different types of image distortions for face de-identification (Newton et al., 2005b; Gross et al., 2008), while more recent works rely on techniques for selecting distant faces (Samarzija & Ribaric, 2014) or averaging/fusing faces from pre-existing datasets Newton et al. (2005a); Jourabloo et al. (2015). The experiments conducted by the aforementioned techniques are restricted, in most cases to lowresolution, black and white results. Although it is possible to create eye-pleasing results, they are not robust to different poses, illuminations and facial structures, making them inadequate for video generation. The use of GANs for face de-identification has been suggested in the work of Wu et al. (2018). However, the experiments were restricted to a homogeneous dataset, with no apparent expression preservation within the results. See Tab. 1 for a comparative view of the literature. ",
179
+ "bbox": [
180
+ 174,
181
+ 479,
182
+ 825,
183
+ 632
184
+ ],
185
+ "page_idx": 1
186
+ },
187
+ {
188
+ "type": "text",
189
+ "text": "The current literature on de-identification often involves face swapping (our method does not). Face swapping, i.e., the replacement of a person’s face in an image with another person’s face, has been an active research topic for some time, starting with the influential work of (Blanz et al., 2004; Bitouk et al., 2008). Recent contributions have shown a great deal of robustness to the source image as well as for the properties of the image, from which the target face is taken (Kemelmacher-Shlizerman, 2016; Nirkin et al., 2017). While these classical face swapping methods work in the pixel space and copy the expression of the target image, recent deep-learning based work swap the identity, while maintaining the other aspects of the source image (Korshunova et al., 2017). In comparison to our work, (Korshunova et al., 2017) requires training a new network for every target person, the transferred expression does not show subtleties (which would be critical, e.g., for a speaking person), and the results are not as natural as ours. These limitations are probably a result of capturing the appearance of the target by restricting the output to be similar, patch by patch, to a collection of patches from the target person. Moreover, (Korshunova et al., 2017) is limited to stills and was not demonstrated on video. ",
190
+ "bbox": [
191
+ 174,
192
+ 638,
193
+ 826,
194
+ 833
195
+ ],
196
+ "page_idx": 1
197
+ },
198
+ {
199
+ "type": "text",
200
+ "text": "The face swapping (FS) project (Faceswap, 2017) is an unpublished work that replaces faces in video in a way that can be very convincing, given suitable inputs. Unlike our network, the FS is retrained for every pair of source-video and target-video persons. The input to the FS system, during training, is two large sets of images, one from each identity. Typically, in order to obtain good results, thousands of images from each individual with a significant variability in pose, expression, and illumination are used. In many cases, a large subset of the images of the source person are taken from the video that is going to be converted. In addition, FS often fails, and in order to obtain a convincing output, the person in the source video and the target person need to have similar facial structure. These limitations make it unsuitable for de-identification purposes. ",
201
+ "bbox": [
202
+ 174,
203
+ 840,
204
+ 825,
205
+ 924
206
+ ],
207
+ "page_idx": 1
208
+ },
209
+ {
210
+ "type": "image",
211
+ "img_path": "images/09a71ca4c372f6c19354d086b6fd71813ac67b60350864254ed771aae2076d7d.jpg",
212
+ "image_caption": [
213
+ "Figure 1: (a) The architecture of our network. For conditioning, a pre-trained face recognition network is used. (b) An illustration of the multi-image perceptual loss used, which employs two replicas of the same face recognition network. "
214
+ ],
215
+ "image_footnote": [],
216
+ "bbox": [
217
+ 187,
218
+ 102,
219
+ 826,
220
+ 354
221
+ ],
222
+ "page_idx": 2
223
+ },
224
+ {
225
+ "type": "text",
226
+ "text": "",
227
+ "bbox": [
228
+ 174,
229
+ 433,
230
+ 825,
231
+ 476
232
+ ],
233
+ "page_idx": 2
234
+ },
235
+ {
236
+ "type": "text",
237
+ "text": "Like ours, the FS method is based on an encoder-decoder architecture, where both an image and output mask are produced. A few technical novelties of FS are shared with our work. Most notably is the way in which augmentation is performed in order to train a more semantic encoder-decoder network. During training of FS, the input image is modified by rotating or scaling it, before it is fed to the encoder. The image that the decoder outputs is compared to the undistorted image. Another common property is that the GAN variant used employs virtual examples created using the mixup technique (Zhang et al., 2017). In addition, in order to maintain the pose and expression, which are considered low- or mid-level features in face descriptors (orthogonal to the identity) FS employs a perceptual loss (Johnson et al., 2016; Ulyanov et al., 2016a) that is based on the layers of a face-recognition network. ",
238
+ "bbox": [
239
+ 173,
240
+ 482,
241
+ 825,
242
+ 621
243
+ ],
244
+ "page_idx": 2
245
+ },
246
+ {
247
+ "type": "text",
248
+ "text": "3 METHOD ",
249
+ "text_level": 1,
250
+ "bbox": [
251
+ 176,
252
+ 641,
253
+ 281,
254
+ 657
255
+ ],
256
+ "page_idx": 2
257
+ },
258
+ {
259
+ "type": "text",
260
+ "text": "Our architecture is based on an adversarial autoencoder (Makhzani et al., 2015), coupled with a trained face-classifier. By concatenating the autoencoder’s latent space with the face-classifier representation layer, we achieve a rich latent space, embedding both identity and expression information. The network is trained in a counter-factual way, i.e., the output differs from the input in key aspects, as dictated by the conditioning. The generation task is, therefore, highly semantic, and the loss required to capture its success cannot be a conventional reconstruction loss. ",
261
+ "bbox": [
262
+ 174,
263
+ 672,
264
+ 825,
265
+ 756
266
+ ],
267
+ "page_idx": 2
268
+ },
269
+ {
270
+ "type": "text",
271
+ "text": "For the task of de-identification, we employ a target image, which is any image of the person in the video. The method then distances the face descriptors of the output video from those of the target image. The target image does not need to be based on a frame from the input video. This contributes to the applicability of the method, allowing it to be applied to live videos. In our experiments, we do not use an input frame in order to show the generality of the approach. To encode the target image, we use a pre-trained face classifier ResNet-50 network by He et al. (2016b), trained over the VGGFace2 dataset of Cao et al. (2017). ",
272
+ "bbox": [
273
+ 174,
274
+ 763,
275
+ 825,
276
+ 861
277
+ ],
278
+ "page_idx": 2
279
+ },
280
+ {
281
+ "type": "text",
282
+ "text": "The process during test time is similar to the steps taken in the face swapping literature and involves the following steps: (a) A square bounding box is extracted using a face detector, we employ dlib (King, 2009). (b) Multiple facial points are detected. In our implementation we use the 68 points provided by dlib. (c) A transformation matrix is extracted, using an estimated similarity transformation (scale, rotation and translation) to an averaged face. (d) The estimated transformation is applied to the input face. (e) The transformed face is passed to our network, together with the representation of the target image, obtaining both an output image and a mask. (f) The output image and mask are projected back, using the inverse of the similarity transformation. (g) We generate an output frame by linearly mixing, per pixel, the input and the network’s transformed output image, according to the weights of the transformed mask. (h) The outcome is merged into the original frame, in the region defined by the convex hull of the facial points. ",
283
+ "bbox": [
284
+ 174,
285
+ 867,
286
+ 823,
287
+ 924
288
+ ],
289
+ "page_idx": 2
290
+ },
291
+ {
292
+ "type": "text",
293
+ "text": "",
294
+ "bbox": [
295
+ 174,
296
+ 103,
297
+ 825,
298
+ 202
299
+ ],
300
+ "page_idx": 3
301
+ },
302
+ {
303
+ "type": "text",
304
+ "text": "Training is performed on image datasets and not on video. At training time, we perform the following steps: (a) The face image is distorted and augmented. This is done by applying random scaling, rotation and elastic deformation. (b) The distorted image is fed into the network, together with the representation of a target image. During training, we select the same image, undistorted. (c) A linear combination of the masked output (computed as in step (g) above) and the undistorted input is fed to the discriminator. This is the mixup technique (Zhang et al., 2017) discussed below. (d) Losses are applied on the network’s mask and image output, as well as to the masked output, as detailed below. ",
305
+ "bbox": [
306
+ 174,
307
+ 208,
308
+ 825,
309
+ 306
310
+ ],
311
+ "page_idx": 3
312
+ },
313
+ {
314
+ "type": "text",
315
+ "text": "Note that there is a discrepancy between how the network is trained and how it is applied. Not only that we do not make any explicit effort to train on videos, the target images are selected in a different way. During training, we extract the identity from the training image itself and not from an independent target image. The method is still able to generalize to perform the actual application on unconstrained videos. ",
316
+ "bbox": [
317
+ 174,
318
+ 311,
319
+ 825,
320
+ 382
321
+ ],
322
+ "page_idx": 3
323
+ },
324
+ {
325
+ "type": "text",
326
+ "text": "3.1 NETWORK ARCHITECTURE ",
327
+ "text_level": 1,
328
+ "bbox": [
329
+ 176,
330
+ 400,
331
+ 400,
332
+ 415
333
+ ],
334
+ "page_idx": 3
335
+ },
336
+ {
337
+ "type": "text",
338
+ "text": "The architecture is illustrated in Fig. 1(a). The encoder is composed of a convolutional layer, followed by five strided, depth-wise separable (Chollet, 2017) convolutions with instance normalization (Ulyanov et al., 2016b). Subsequently, a single fully connected layer is employed, and the target face representation is concatenated. The decoder is composed of a fully connected layer, followed by a lattice of upscale and residual (He et al., 2016a) blocks, terminated with a tanh activated convolution for the output image, and a sigmoid activated convolution for the mask output. Each upscale block is comprised of a 2D convolution with twice the number of filters than the input channel size. Following an instance normalization and a LReLU (He et al., 2015) activation, the activations are re-ordered such that the width and height are doubled, while the channel size is halved. Each residual block input is summed with the output of a Conv2D-LReLU-Conv2D chain. ",
339
+ "bbox": [
340
+ 173,
341
+ 426,
342
+ 825,
343
+ 565
344
+ ],
345
+ "page_idx": 3
346
+ },
347
+ {
348
+ "type": "text",
349
+ "text": "A low-capacity Unet connection (Ronneberger et al., 2015) is employed $( 3 2 \\mathrm { x } 3 2 \\mathrm { x } 1 )$ ), thus relieving the autoencoder’s bottleneck, allowing a stronger focus on the encoding of transfer-related information. The connection size does not exceed the bottleneck size (1024) and due to the distortion of the input image, a collapse into a simple reconstructing autoencoder in early training stages is averted. ",
350
+ "bbox": [
351
+ 174,
352
+ 573,
353
+ 825,
354
+ 630
355
+ ],
356
+ "page_idx": 3
357
+ },
358
+ {
359
+ "type": "text",
360
+ "text": "The discriminator consists of four strided convolutions with LReLU activations, with instance normalization applied on all but the first one. A sigmoid activated convolution yields a single output. ",
361
+ "bbox": [
362
+ 176,
363
+ 636,
364
+ 825,
365
+ 664
366
+ ],
367
+ "page_idx": 3
368
+ },
369
+ {
370
+ "type": "text",
371
+ "text": "3.2 TRAINING AND THE LOSSES USED ",
372
+ "text_level": 1,
373
+ "bbox": [
374
+ 176,
375
+ 681,
376
+ 454,
377
+ 696
378
+ ],
379
+ "page_idx": 3
380
+ },
381
+ {
382
+ "type": "text",
383
+ "text": "For training all networks, except for the GAN’s discriminator $D$ , we use a compound loss $\\mathcal { L }$ , which is a weighted sum of multiple parts: ",
384
+ "bbox": [
385
+ 173,
386
+ 708,
387
+ 825,
388
+ 737
389
+ ],
390
+ "page_idx": 3
391
+ },
392
+ {
393
+ "type": "equation",
394
+ "img_path": "images/b529045e40d41ac826bcddec58cdabd3f3f6a4996d4d1a32037fca1722308a56.jpg",
395
+ "text": "$$\n\\begin{array} { r l } & { \\mathcal { L } = \\alpha _ { 0 } \\mathcal { L } _ { G } + \\alpha _ { 1 } \\mathcal { L } _ { R } ^ { r a w } + \\alpha _ { 1 } \\mathcal { L } _ { R } ^ { m a s k e d } + \\alpha _ { 2 } \\mathcal { L } _ { x } ^ { r a w } + \\alpha _ { 2 } \\mathcal { L } _ { y } ^ { r a w } + \\alpha _ { 2 } \\mathcal { L } _ { x } ^ { m a s k e d } + \\alpha _ { 2 } \\mathcal { L } _ { y } ^ { m a s k e d } } \\\\ & { \\qquad + \\alpha _ { 3 } \\mathcal { L } _ { p } ^ { r a w } + \\alpha _ { 3 } \\mathcal { L } _ { p } ^ { m a s k e d } + \\alpha _ { 4 } \\mathcal { L } ^ { m } + \\alpha _ { 5 } \\mathcal { L } _ { x } ^ { m } + \\alpha _ { 5 } \\mathcal { L } _ { y } ^ { m } , } \\end{array}\n$$",
396
+ "text_format": "latex",
397
+ "bbox": [
398
+ 210,
399
+ 742,
400
+ 787,
401
+ 789
402
+ ],
403
+ "page_idx": 3
404
+ },
405
+ {
406
+ "type": "text",
407
+ "text": "where the de $\\mathcal { L } _ { G }$ ier enerator’s loss, and the version $\\mathcal { L } _ { R } ^ { r a w }$ and app $\\mathcal { L } _ { R } ^ { m a s k e d }$ are recomasking n, ses fand he output image ofare reconstruction $z ^ { r a w }$ $z ^ { m a s k e d }$ $\\mathcal { L } _ { x } ^ { * }$ $\\mathcal { L } _ { y } ^ { * }$ losses applied to the spatial images derivatives, $\\mathcal { L } _ { p } ^ { * }$ are the perceptual losses, and $\\mathcal { L } _ { * } ^ { m }$ are regularization losses on the mask. The perceptual loss terms are the only terms that differ between the two applications. The discriminator network is trained using its own loss $\\mathcal { L } _ { D }$ . Throughout our experiments, we employ $\\alpha _ { 0 } = \\alpha _ { 1 } = \\alpha _ { 2 } = \\alpha _ { 3 } = 0 . 5 , \\alpha _ { 4 } = 3 \\cdot 1 0 ^ { - 3 } , \\alpha _ { 5 } = 1 0 ^ { - 2 } .$ . ",
408
+ "bbox": [
409
+ 174,
410
+ 801,
411
+ 825,
412
+ 890
413
+ ],
414
+ "page_idx": 3
415
+ },
416
+ {
417
+ "type": "text",
418
+ "text": "To maintain realistic looking generator outputs, adversarial loss is imposed with a convex combination of example pairs (known as mixup) (Zhang et al., 2017) over a Least Square GAN (Mao et al., 2017) ",
419
+ "bbox": [
420
+ 173,
421
+ 895,
422
+ 825,
423
+ 924
424
+ ],
425
+ "page_idx": 3
426
+ },
427
+ {
428
+ "type": "text",
429
+ "text": "loss: ",
430
+ "bbox": [
431
+ 173,
432
+ 104,
433
+ 205,
434
+ 117
435
+ ],
436
+ "page_idx": 4
437
+ },
438
+ {
439
+ "type": "equation",
440
+ "img_path": "images/c4c6e7ebcb8b663760ef5a635439be1a345e5fc0f90e02f30f24386264a7a6ad.jpg",
441
+ "text": "$$\n\\begin{array} { r } { \\mathcal { L } _ { D } = \\Vert D ( \\delta _ { m x } ) - \\lambda _ { \\beta } \\Im \\Vert _ { 2 } ^ { 2 } \\qquad \\mathcal { L } _ { G } = \\alpha _ { 0 } \\Vert D ( \\delta _ { m x } ) - ( 1 - \\lambda _ { \\beta } ) \\Im \\Vert _ { 2 } ^ { 2 } } \\end{array}\n$$",
442
+ "text_format": "latex",
443
+ "bbox": [
444
+ 256,
445
+ 121,
446
+ 741,
447
+ 141
448
+ ],
449
+ "page_idx": 4
450
+ },
451
+ {
452
+ "type": "text",
453
+ "text": "While, $\\delta _ { m x } = \\lambda _ { \\beta } { \\cdot } x + ( 1 { - } \\lambda _ { \\beta } ) z ^ { m a s k e d }$ and $\\lambda _ { \\beta }$ is sampled out of a Beta distribution $\\lambda _ { \\beta } \\sim B e t a ( \\alpha , \\alpha )$ $x$ is the undistorted input “real” sample and $z ^ { m a s k e d }$ is the post masking generated sample. A value of $\\alpha = 0 . 2$ is used throughout the experiments. ",
454
+ "bbox": [
455
+ 173,
456
+ 147,
457
+ 825,
458
+ 191
459
+ ],
460
+ "page_idx": 4
461
+ },
462
+ {
463
+ "type": "text",
464
+ "text": "Additional losses are exercised to both retain source-to-output similarity, yet drive a perceptible transformation. Several losses are distributed equally between the raw and masked outputs, imposing constraints on both. An L1 reconstruction loss is used to enforce pixel-level similarity: ",
465
+ "bbox": [
466
+ 173,
467
+ 199,
468
+ 825,
469
+ 241
470
+ ],
471
+ "page_idx": 4
472
+ },
473
+ {
474
+ "type": "equation",
475
+ "img_path": "images/596d80def30b67deab30df615cc0a41e8473de868a3961e377ed6744d409d4eb.jpg",
476
+ "text": "$$\n\\mathcal { L } _ { R } ^ { r a w } = \\alpha _ { 1 } \\| z ^ { r a w } - x \\| _ { 1 } \\qquad \\mathcal { L } _ { R } ^ { m a s k e d } = \\alpha _ { 1 } \\| z ^ { m a s k e d } - x \\| _ { 1 }\n$$",
477
+ "text_format": "latex",
478
+ "bbox": [
479
+ 267,
480
+ 246,
481
+ 730,
482
+ 265
483
+ ],
484
+ "page_idx": 4
485
+ },
486
+ {
487
+ "type": "text",
488
+ "text": "where $z ^ { r a w }$ is the output image itself. This results in a non-trivial constraint, as the encoder input image is distorted. An edge-preserving loss is used to constrain pixel-level derivative differences in both the $x$ and $y$ image axes. Calculated as the absolute difference between the source and output derivatives in each axis direction for both the raw and masked outputs: ",
489
+ "bbox": [
490
+ 173,
491
+ 268,
492
+ 825,
493
+ 325
494
+ ],
495
+ "page_idx": 4
496
+ },
497
+ {
498
+ "type": "equation",
499
+ "img_path": "images/78c607d543335221c91fecd3ee90fbd2fc15e2a5889bfa612c9ba24539beff41.jpg",
500
+ "text": "$$\n\\begin{array} { r l r } { \\mathcal { L } _ { x } ^ { r a w } = \\alpha _ { 2 } \\| z _ { x } ^ { \\prime } - x _ { x } ^ { \\prime } \\| _ { 1 } } & { } & { \\qquad \\mathcal { L } _ { y } ^ { r a w } = \\alpha _ { 2 } \\| z _ { y } ^ { \\prime } - x _ { y } ^ { \\prime } \\| _ { 1 } } \\\\ { \\mathcal { L } _ { x } ^ { m a s k e d } = \\alpha _ { 2 } \\| z _ { x } ^ { \\prime } - x _ { x } ^ { \\prime } \\| _ { 1 } } & { } & { \\qquad \\mathcal { L } _ { y } ^ { m a s k e d } = \\alpha _ { 2 } \\| z _ { y } ^ { \\prime } - x _ { y } ^ { \\prime } \\| _ { 1 } } \\end{array}\n$$",
501
+ "text_format": "latex",
502
+ "bbox": [
503
+ 272,
504
+ 329,
505
+ 723,
506
+ 373
507
+ ],
508
+ "page_idx": 4
509
+ },
510
+ {
511
+ "type": "text",
512
+ "text": "where $x _ { x } ^ { \\prime }$ is the derivative of the undistorted input image $x$ along the $x$ axis. ",
513
+ "bbox": [
514
+ 174,
515
+ 376,
516
+ 669,
517
+ 391
518
+ ],
519
+ "page_idx": 4
520
+ },
521
+ {
522
+ "type": "text",
523
+ "text": "Additional losses are applied to the blending mask $m$ , where 0 indicates that the value of this pixel would be taken from the input image $x , 1$ indicates taking the value from $z ^ { r a w }$ , and intermediate values indicate linear mixing. We would like the mask to be both minimal and smooth and, therefore, employ the following losses: ",
524
+ "bbox": [
525
+ 173,
526
+ 397,
527
+ 826,
528
+ 454
529
+ ],
530
+ "page_idx": 4
531
+ },
532
+ {
533
+ "type": "equation",
534
+ "img_path": "images/ac59edd4a08ca912da9b0bbd6025ec7dfe1e4fc536b163c2b3f5633f6672033a.jpg",
535
+ "text": "$$\n\\begin{array} { r } { \\mathcal { L } ^ { m } = \\| m \\| _ { 1 } \\qquad \\mathcal { L } _ { x } ^ { m } = \\| m _ { x } ^ { \\prime } \\| _ { 1 } \\qquad \\mathcal { L } _ { y } ^ { m } = \\| m _ { y } ^ { \\prime } \\| _ { 1 } } \\end{array}\n$$",
536
+ "text_format": "latex",
537
+ "bbox": [
538
+ 267,
539
+ 458,
540
+ 728,
541
+ 477
542
+ ],
543
+ "page_idx": 4
544
+ },
545
+ {
546
+ "type": "text",
547
+ "text": "where $m _ { x } ^ { \\prime }$ and $m _ { y } ^ { \\prime }$ are the spatial derivatives of the mask. ",
548
+ "bbox": [
549
+ 173,
550
+ 482,
551
+ 549,
552
+ 498
553
+ ],
554
+ "page_idx": 4
555
+ },
556
+ {
557
+ "type": "text",
558
+ "text": "3.2.1 A MULTI-IMAGE PERCEPTUAL LOSS ",
559
+ "text_level": 1,
560
+ "bbox": [
561
+ 174,
562
+ 512,
563
+ 483,
564
+ 526
565
+ ],
566
+ "page_idx": 4
567
+ },
568
+ {
569
+ "type": "text",
570
+ "text": "A new variant of the perceptual loss (Johnson et al., 2016) is employed to maintain source expression, pose and lighting conditions, while capturing the target identity essence. This is achieved by employing a perceptual loss between the undistorted source and generated output on several low-tomedium abstraction layers, while constraining the high abstraction layer perceptual loss between the target and generated output. ",
571
+ "bbox": [
572
+ 174,
573
+ 535,
574
+ 826,
575
+ 607
576
+ ],
577
+ "page_idx": 4
578
+ },
579
+ {
580
+ "type": "text",
581
+ "text": "Let $a _ { n \\times n } ^ { r }$ be the activations of an $n \\times n$ spatial block within the face classifier network for image $r$ where in our case $r$ can be either the input image $x$ , the application dependent target image $t$ , the raw output $z ^ { r a w }$ , or the masked output $z ^ { m \\bar { a } s k e d }$ . ",
582
+ "bbox": [
583
+ 173,
584
+ 613,
585
+ 825,
586
+ 655
587
+ ],
588
+ "page_idx": 4
589
+ },
590
+ {
591
+ "type": "text",
592
+ "text": "We consider the spatial activations maps of size $1 1 2 \\times 1 1 2 , 5 6 \\times 5 6 , 2 8 \\times 2 8$ and $7 \\times 7$ , as well as the representation layer of size $1 \\times 1$ . The lower layers (larger maps) are used to enforce similarity to the input image $x$ , while the $7 \\times 7$ layer is used to enforce similarity to $t$ , and the $1 \\times 1$ feature vector is used to enforce dissimilarity to the target image. ",
593
+ "bbox": [
594
+ 174,
595
+ 661,
596
+ 825,
597
+ 718
598
+ ],
599
+ "page_idx": 4
600
+ },
601
+ {
602
+ "type": "text",
603
+ "text": "Let us define $\\ell _ { n \\times n } ^ { r _ { 1 } , r _ { 2 } } = c _ { n } \\| a _ { r _ { 1 } , n \\times n } - a _ { r _ { 2 } , n \\times n } \\| _ { 1 }$ , where $c _ { n }$ is a normalizing constant, corresponding to the size of the spatial activation map. ",
604
+ "bbox": [
605
+ 176,
606
+ 724,
607
+ 821,
608
+ 753
609
+ ],
610
+ "page_idx": 4
611
+ },
612
+ {
613
+ "type": "text",
614
+ "text": "The perceptual loss is given by: ",
615
+ "bbox": [
616
+ 174,
617
+ 761,
618
+ 382,
619
+ 775
620
+ ],
621
+ "page_idx": 4
622
+ },
623
+ {
624
+ "type": "equation",
625
+ "img_path": "images/64a2cb7e6b77bb9ed3811da4278d30333c60f259b2443ca12e137e31d92617aa.jpg",
626
+ "text": "$$\n\\mathcal { L } _ { p } ^ { c } = \\ell _ { 1 1 2 \\times 1 1 2 } ^ { x , z ^ { c } } + \\ell _ { 5 6 \\times 5 6 } ^ { x , z ^ { c } } + \\ell _ { 2 8 \\times 2 8 } ^ { x , z ^ { c } } + \\ell _ { 7 \\times 7 } ^ { t , z ^ { c } } - \\lambda \\ell _ { 1 \\times 1 } ^ { t , z }\n$$",
627
+ "text_format": "latex",
628
+ "bbox": [
629
+ 328,
630
+ 780,
631
+ 668,
632
+ 801
633
+ ],
634
+ "page_idx": 4
635
+ },
636
+ {
637
+ "type": "text",
638
+ "text": "for $c$ that is either raw or masked, and where $\\lambda > 0$ is a hyperparameter, which determines the distance of the generated face’s high level features from those of the target image. ",
639
+ "bbox": [
640
+ 173,
641
+ 805,
642
+ 821,
643
+ 833
644
+ ],
645
+ "page_idx": 4
646
+ },
647
+ {
648
+ "type": "text",
649
+ "text": "The application of the multi-image perceptual loss during training is depicted in Fig. 1(b). During training, the target is the source and there is only one input image. The resulting image has the texture, pose and expression of the source, but the face is modified to distance the identity, as can be seen in Fig. 2. Note that we call it multi-image perceptual loss, since its aim is to minimize the analog error term during inference (generalization error). However, as a training loss, it is only applied during train, where it receives a pair of images, similarly to other perceptual losses. ",
650
+ "bbox": [
651
+ 173,
652
+ 839,
653
+ 826,
654
+ 924
655
+ ],
656
+ "page_idx": 4
657
+ },
658
+ {
659
+ "type": "table",
660
+ "img_path": "",
661
+ "table_caption": [
662
+ "Table 2: User study. (a) Success rate in user identification of a real video from a modified one. Closer to $50 \\%$ is better. (b) The confusion matrix in identifying the five persons for the real images (control). (c) The confusion matrix for identifying based on the de-identified images. "
663
+ ],
664
+ "table_footnote": [],
665
+ "page_idx": 5
666
+ },
667
+ {
668
+ "type": "image",
669
+ "img_path": "images/e06c8965266f781dc1ba18274f00e49d23341b7e1f5fccd8735611010c81be19.jpg",
670
+ "image_caption": [],
671
+ "image_footnote": [],
672
+ "bbox": [
673
+ 181,
674
+ 156,
675
+ 823,
676
+ 337
677
+ ],
678
+ "page_idx": 5
679
+ },
680
+ {
681
+ "type": "text",
682
+ "text": "At inference time, the network is fed an input frame and a target image. The target image is transmitted through the face classifier, resulting in a target feature vector, which, in turn, is concatenated to the latent embedding space. Due to the way the network is trained, the decoder will drive the output image away from the target feature vector. ",
683
+ "bbox": [
684
+ 173,
685
+ 364,
686
+ 825,
687
+ 420
688
+ ],
689
+ "page_idx": 5
690
+ },
691
+ {
692
+ "type": "text",
693
+ "text": "4 EXPERIMENTS ",
694
+ "text_level": 1,
695
+ "bbox": [
696
+ 174,
697
+ 444,
698
+ 326,
699
+ 460
700
+ ],
701
+ "page_idx": 5
702
+ },
703
+ {
704
+ "type": "text",
705
+ "text": "Training is done using the Adam (Kingma & Ba, 2016) optimizer, with the learning rate set to $1 0 ^ { - 4 }$ , $\\beta _ { 1 } = 0 . 5$ , and $\\beta _ { 2 } = 0 . 9 9$ . At each training iteration, a batch of 32 images is randomly selected and augmented. We initialize all convolutional weights using a random normal distribution, with a mean of 0 and a standard deviation of 0.02. Bias weights are not used. The decoder includes LReLU activations with $\\alpha = 0 . 2$ for residual blocks and $\\alpha = 0 . 1$ otherwise. The network was trained on a union of LFW (Huang et al.), CelebA (Liu et al., 2015) and PubFig (Kumar et al., 2009), totaling 260,000 images, the vast majority from CelebA. The identity information is not used during training. The model was trained for $2 3 0 \\mathrm { k }$ iterations with a gradual increasing strength of the hyperparameter $\\lambda$ , ranging from $\\lambda = 1 \\cdot 1 0 ^ { - 7 }$ to $\\lambda = 2 \\cdot 1 0 ^ { - 6 }$ , in four steps. Without this gradual increase, the naturalness of the generated face is diminished. ",
706
+ "bbox": [
707
+ 173,
708
+ 477,
709
+ 825,
710
+ 617
711
+ ],
712
+ "page_idx": 5
713
+ },
714
+ {
715
+ "type": "text",
716
+ "text": "Sample results are shown in Fig. 3. In each pair of frames, we show the original frame, the target frame from which the identity was extracted, and the modified (output) frame. As can be seen, our method produces natural looking images that match the input frame. Identity is indeed modified, while the other aspects of the frame are maintained. ",
717
+ "bbox": [
718
+ 174,
719
+ 623,
720
+ 825,
721
+ 679
722
+ ],
723
+ "page_idx": 5
724
+ },
725
+ {
726
+ "type": "text",
727
+ "text": "The supplementary media available at anonymous-deid-iclr2019submission.github. io contains sample videos, with significant motion, pose, expression and illumination changes, to which our method was applied. It is evident that the method can deal with videos, without causing motion- or instability-based distortions. This is despite being strictly based on per-frame analysis. ",
728
+ "bbox": [
729
+ 174,
730
+ 688,
731
+ 826,
732
+ 742
733
+ ],
734
+ "page_idx": 5
735
+ },
736
+ {
737
+ "type": "text",
738
+ "text": "To test the naturalness of the approach, we tested the ability of humans to discriminate between videos that were modified to those that were not. The human observers $n = 2 0$ ) were fully aware of the type of manipulation that the images had undergone. Still, the human performance is close to random with an average success rate of $5 3 . 6 \\%$ $( \\mathrm { S D } { = } 1 3 . 0 \\%$ ), see Tab. 2)(a). In order to avoid a decision based on a familiar face, this was evaluated on a non-celebrity dataset created specifically for this purpose, which contained 10 videos (samples are attached as supplementary). ",
739
+ "bbox": [
740
+ 173,
741
+ 750,
742
+ 825,
743
+ 833
744
+ ],
745
+ "page_idx": 5
746
+ },
747
+ {
748
+ "type": "text",
749
+ "text": "Another user study tested how identifiable the resulting images were. We considered images of five persons from a TV show and collected two sets of images: gallery and source. The source images were modified by our method using the same images also as target. As can be seen in the confusion matrix of Tab. 2(b) the users had no problem identifying the correct gallery image based on the source images. However, as Tab. 2(c) shows, post de-identification the answers had little correlation with the true identity, as desired. ",
750
+ "bbox": [
751
+ 174,
752
+ 840,
753
+ 825,
754
+ 924
755
+ ],
756
+ "page_idx": 5
757
+ },
758
+ {
759
+ "type": "text",
760
+ "text": "In order to automatically quantify the performance of de-identification, we applied state-of-the-art face-recognition networks. Namely, the LResNet34E-IR and LResNet50E-IR networks of ArcFace (Deng et al., 2018). These networks were selected both for their performance and for the difference between these networks and the VGGFace 2 network, used as part of our network, in both training set and loss. ",
761
+ "bbox": [
762
+ 174,
763
+ 103,
764
+ 825,
765
+ 172
766
+ ],
767
+ "page_idx": 6
768
+ },
769
+ {
770
+ "type": "text",
771
+ "text": "The results of the automatic identification are presented in Tab. 3. Identification is performed out of the 54,000 persons in the ArcFace verification set. The table reports the rank of the true person out of all persons, when sorting the softmax probabilities that the face recognition network produces. The ranking of the true identity in the original video shows an excellent recognition capability, with most of the frames identifying the correct person as the top-1 result. For the de-identified frames, despite the large similarity between the original and the modified frames (Fig. 3), the rank is typically in the thousands. ",
772
+ "bbox": [
773
+ 173,
774
+ 180,
775
+ 825,
776
+ 277
777
+ ],
778
+ "page_idx": 6
779
+ },
780
+ {
781
+ "type": "text",
782
+ "text": "To emphasize the ability of identity-distancing, while maintaining pixel-space similarity, we compare our method to the work of Samarzija & Ribaric (2014). While that method relies on finding a dissimilar identity within a given dataset, ours is single-image dependent, in the sense that it does not rely on other images within a dataset. It is, therefore, resilient to different poses, expressions, lighting conditions and face structures. Given the figures provided by Samarzija & Ribaric (2014), we compare our generated outputs (Fig. 4) by high-level perceptual distance from the source face, taking into account pixel-level similarity (Fig. 4). A comparison of the distance between the original and de-identified image for the two methods (Fig. 4(e)) reveals that our method results in lower pixel differences but with face descriptor distances that are as high. ",
783
+ "bbox": [
784
+ 174,
785
+ 285,
786
+ 825,
787
+ 410
788
+ ],
789
+ "page_idx": 6
790
+ },
791
+ {
792
+ "type": "text",
793
+ "text": "A comparison with the work of Wu et al. (2018) is given in Fig. 5. Our results are at least as good as the literature ones, despite us having to run on the cropped faces extracted from the paper’s PDF. Although Wu et al. (2018) presents visually pleasing results, unlike our work, they do not maintain low-level and medium-level features, including mouth expression and facial hair. Note that this previous work presents results on low-resolution black and white images only, with no pose variance. ",
794
+ "bbox": [
795
+ 174,
796
+ 416,
797
+ 825,
798
+ 487
799
+ ],
800
+ "page_idx": 6
801
+ },
802
+ {
803
+ "type": "text",
804
+ "text": "To further demonstrate the robustness of our methods, we applied the technique to the images of the very difficult inputs from (Phillips et al., 2011), as copied directly from the sample figure there. As can be seen in Fig. 6, our method can deal with very challenging illuminations. ",
805
+ "bbox": [
806
+ 174,
807
+ 494,
808
+ 825,
809
+ 536
810
+ ],
811
+ "page_idx": 6
812
+ },
813
+ {
814
+ "type": "text",
815
+ "text": "To demonstrate the control of the hyperparameter $\\lambda$ over the identity distance, we provide a sequence of generated images, where each trained model is identical, apart from the strength of $\\lambda$ . The incremental shift in identity can be seen in Fig. 7. ",
816
+ "bbox": [
817
+ 174,
818
+ 542,
819
+ 825,
820
+ 585
821
+ ],
822
+ "page_idx": 6
823
+ },
824
+ {
825
+ "type": "text",
826
+ "text": "An ablation analysis is shown in Fig. 8. The various options include: a no-mask option, a partial adversarial loss that applies only to the masked output and not to the raw output, training without the gradual increase of $\\lambda$ , and an attempt to incorporate an additional output with a lower resolution to be taken into account, as part of the compound loss. ",
827
+ "bbox": [
828
+ 174,
829
+ 592,
830
+ 825,
831
+ 647
832
+ ],
833
+ "page_idx": 6
834
+ },
835
+ {
836
+ "type": "text",
837
+ "text": "A numerical analysis of the ablation analysis with the same options is given in Fig. 9. Each method is evaluated along two axis of comparison between the input image and the output image: on the $\\cdot$ -axis we show the difference in appearance as measured by the L1 norm between the images; the y-axis shows the difference in ID, as computed by the L1 norm between the VGGFace2 representation of the two images. The plots show mean results obtained for our method (marked (b) to match Fig. 8) and the various ablation methods (marked (c)–(g)). As can be seen, our method maintains image similarity and also has a larger difference in ID than any other method with the exception of the method marked as (c). This is expected, since this variant is the mask-less one, which does not blend in the original image. Variant (f) is considerably more similar to the original image on both axis, since the de-ID performed is very weak with this variant. ",
838
+ "bbox": [
839
+ 173,
840
+ 655,
841
+ 825,
842
+ 794
843
+ ],
844
+ "page_idx": 6
845
+ },
846
+ {
847
+ "type": "text",
848
+ "text": "For many applications, one would require a higher resolution face recognition. The supplementary video, for example, might look blurry at times, despite the share output of the generator due to the limited resolution. In order to overcome it, we trained a high-resolution (256x256) model that is obtained similarly with the following distinctions: (a) The decoder architecture is simplified and enlarged to be a lattice of 6x(Upscale block $- >$ Residual block), (b) The batch size is set to 64, and (c) The model is trained for 80k iterations. ",
849
+ "bbox": [
850
+ 173,
851
+ 800,
852
+ 825,
853
+ 883
854
+ ],
855
+ "page_idx": 6
856
+ },
857
+ {
858
+ "type": "text",
859
+ "text": "Training the second model, the resolution is improved, as can be seen in the supplementary video, while the de-identification affect remains as large, as can be seen in Tab. 4. ",
860
+ "bbox": [
861
+ 173,
862
+ 891,
863
+ 825,
864
+ 920
865
+ ],
866
+ "page_idx": 6
867
+ },
868
+ {
869
+ "type": "image",
870
+ "img_path": "images/0e3ebad31c3c505a9d1cf2a9f1fb15ac8565618313b62bf108d2b11addb33d79.jpg",
871
+ "image_caption": [
872
+ "Figure 2: Training the de-identification network. Shown, in each pair, are the source (left) and output (right) images. During training (but not during test), the target image used is the same as the source one and the output maintains the low-level features of the source and distances the high-level features from it. "
873
+ ],
874
+ "image_footnote": [],
875
+ "bbox": [
876
+ 174,
877
+ 102,
878
+ 823,
879
+ 290
880
+ ],
881
+ "page_idx": 7
882
+ },
883
+ {
884
+ "type": "image",
885
+ "img_path": "images/4f173221cf7521283ea603371fcf720438795e18adbbb057f53cde934feacff7.jpg",
886
+ "image_caption": [
887
+ "Figure 3: Sample results for de-identification (zoom). Triplets of source frame, converted frame and target are shown. The modified frame looks similar but the identity is completely different. "
888
+ ],
889
+ "image_footnote": [],
890
+ "bbox": [
891
+ 173,
892
+ 372,
893
+ 823,
894
+ 623
895
+ ],
896
+ "page_idx": 7
897
+ },
898
+ {
899
+ "type": "text",
900
+ "text": "5 CONCLUSIONS ",
901
+ "text_level": 1,
902
+ "bbox": [
903
+ 176,
904
+ 690,
905
+ 328,
906
+ 707
907
+ ],
908
+ "page_idx": 7
909
+ },
910
+ {
911
+ "type": "text",
912
+ "text": "The appearance of a face is hard to model. For example, computer graphics animations avoid realistic faces in order to stay out of the uncanny valley. The recent GAN technology can create realistic high resolution (frontal) facial images, given a latent space vector $z$ . However, the domain of faces is not completely covered: the recent generators suffer from both mode collapse and mode canceling, and for many face images $I$ , one cannot find a latent vector $z$ , such that a modern generator $G$ would generate $G ( z ) = I$ . ",
913
+ "bbox": [
914
+ 173,
915
+ 722,
916
+ 825,
917
+ 806
918
+ ],
919
+ "page_idx": 7
920
+ },
921
+ {
922
+ "type": "text",
923
+ "text": "In this work, we employ an encoder-decoder architecture, which avoids the mode canceling pitfalls. However, unlike latent-space generators, not every mid-network activation leads to the generation of a valid face downstream. Despite this shortcoming, we show that an encoder-decoder architecture is flexible enough to support multiple conditional generation tasks. ",
924
+ "bbox": [
925
+ 174,
926
+ 813,
927
+ 825,
928
+ 869
929
+ ],
930
+ "page_idx": 7
931
+ },
932
+ {
933
+ "type": "image",
934
+ "img_path": "images/d6c312dd09e472ef8bde12136c30555bedbd344d2e3d91041110102de34739d0.jpg",
935
+ "image_caption": [
936
+ "Figure 4: Comparison with the work of Samarzija & Ribaric (2014) (taken from that paper’s sample image). (a) Original image (also used for the target of our method). (b) Our generated output. (c) Result of (Samarzija & Ribaric, 2014). (d) Target used by Samarzija & Ribaric (2014). (e) A comparison of the distance between the original and de-identified image for the two methods. Our method results in lower pixel differences but with face descriptor distances that are as high or higher. "
937
+ ],
938
+ "image_footnote": [],
939
+ "bbox": [
940
+ 183,
941
+ 138,
942
+ 810,
943
+ 398
944
+ ],
945
+ "page_idx": 8
946
+ },
947
+ {
948
+ "type": "image",
949
+ "img_path": "images/cde0bb3f7689ab057a1fad8105129397ee99c7ddb75456642946e47e0964430c.jpg",
950
+ "image_caption": [
951
+ "Figure 5: Comparison with Wu et al. (2018) (taken from that paper’s sample image). Row 1 - Original images. Row 2 - results of Wu et al. (2018). Row 3 - Our generated outputs. The previous work does not maintain expression, pose, and facial hair. "
952
+ ],
953
+ "image_footnote": [],
954
+ "bbox": [
955
+ 269,
956
+ 564,
957
+ 727,
958
+ 825
959
+ ],
960
+ "page_idx": 8
961
+ },
962
+ {
963
+ "type": "image",
964
+ "img_path": "images/9dac4c72d6dca88f421a2a83c9d58debee754fbc03cfad1fc7fbfb6b118a0093.jpg",
965
+ "image_caption": [
966
+ "Figure 6: De-Identification applied to the examples labeled as very challenging in the NIST Face Recognition Challenge (Phillips et al., 2011) (taken from that paper’s sample image, images are zoomed in). "
967
+ ],
968
+ "image_footnote": [],
969
+ "bbox": [
970
+ 176,
971
+ 117,
972
+ 825,
973
+ 315
974
+ ],
975
+ "page_idx": 9
976
+ },
977
+ {
978
+ "type": "image",
979
+ "img_path": "images/548c8642bfcc85c58c9fbd42a1f2d94ab362c548e1712b0f9281d61411139847.jpg",
980
+ "image_caption": [
981
+ "Figure 7: A sequence of images, generated with an incrementally (left-to-right) growing $\\lambda$ . The gradual identity shift can be observed. (a) Source. (b) $\\lambda = - 2 \\cdot 1 0 ^ { - 7 }$ . (c) $\\lambda = - 5 \\cdot 1 0 ^ { - 7 }$ . (d) $\\bar { \\lambda } = - 1 \\cdot 1 0 ^ { - 6 }$ . (e) $\\lambda = - 2 \\cdot 1 0 ^ { - 6 }$ . "
982
+ ],
983
+ "image_footnote": [],
984
+ "bbox": [
985
+ 194,
986
+ 411,
987
+ 810,
988
+ 520
989
+ ],
990
+ "page_idx": 9
991
+ },
992
+ {
993
+ "type": "image",
994
+ "img_path": "images/45f81cba93d7c9ea76ecf8c672358c5baaa512310ed0d313dd639c18dcd3c98c.jpg",
995
+ "image_caption": [
996
+ "Figure 8: An ablation study. (a) Source image. (b) Our result. (c) No mask. Bad face edge, artifacts near the mouth, glasses occlusion handled poorly. (d) Adversarial loss on masked output only. Artifacts around the right eye, green stripes near the mouth. (e) No gradual $\\lambda$ strength in training. Collapse into unnatural blurred face. (f) Additional lower resolution output for the compound loss. Weak de-id, checkerboard pattern near the nose, artifacts on the nose, between eyebrows and when handling occlusions. (g) Weak $\\lambda$ and adversarial loss on masked output only. Weak de-id, artifacts near the eyes and eyebrows. "
997
+ ],
998
+ "image_footnote": [],
999
+ "bbox": [
1000
+ 184,
1001
+ 613,
1002
+ 823,
1003
+ 796
1004
+ ],
1005
+ "page_idx": 9
1006
+ },
1007
+ {
1008
+ "type": "image",
1009
+ "img_path": "images/e2126ed05914800d9264af2ecb12e94c77deb5d71e6c2c749bf684b67c5066fc.jpg",
1010
+ "image_caption": [
1011
+ "Figure 9: Quantitative ablation study results: for our method – marked as (b) – and the various variants in columns (c)–(g) of Fig. 8 we measure the mean pixel-level distance and the mean ID distance (as evaluated by the differences in the last layer of the VGGFace2 classifier), both in L1. The first should be low, while the second should be high. As can be seen in the results, the model we use (b) is very high in the ID distance, while considerably low in the pixel-level distance. The raw (unmasked) model (c) achieves an even higher ID distance, but this is anticipated, since it is not blended with the source image. "
1012
+ ],
1013
+ "image_footnote": [],
1014
+ "bbox": [
1015
+ 207,
1016
+ 103,
1017
+ 785,
1018
+ 376
1019
+ ],
1020
+ "page_idx": 10
1021
+ },
1022
+ {
1023
+ "type": "table",
1024
+ "img_path": "images/16e450ae2e530c03bd40ceb3dbf427011722b5c013a02d8efb65d6abbe53fc27.jpg",
1025
+ "table_caption": [
1026
+ "Table 3: Ranking of the true identity out of a dataset of 54,000 persons ( $S \\mathrm { D } { = } \\ S$ Standard Deviation). Evaluation is performed on the pre-trained LResNet34E-IR / LResNet50E-IR ArcFace networks. "
1027
+ ],
1028
+ "table_footnote": [],
1029
+ "table_body": "<table><tr><td></td><td colspan=\"4\">LResNet34E-IR</td><td colspan=\"4\">LResNet50E-IR</td></tr><tr><td>Person</td><td colspan=\"2\">Original frames</td><td colspan=\"2\">De-Identified frames</td><td colspan=\"2\">Original frames</td><td colspan=\"2\">De-Identified frames</td></tr><tr><td></td><td>Me- dian</td><td>Mean ±SD</td><td>Me- dian</td><td>Mean ±SD</td><td>Me- dian</td><td>Mean ±SD</td><td>Me- dian</td><td>Mean ±SD</td></tr><tr><td>Simone Biles</td><td>1</td><td>6±91</td><td>1298</td><td>2038.7±2167</td><td>1</td><td>3±50</td><td>1730</td><td>2400.6±2142</td></tr><tr><td>Billy Corgan</td><td>1</td><td>147.4±615</td><td>3891</td><td>4112.6±2569</td><td>1</td><td>95.6±313</td><td>3156</td><td>3456.3±2601</td></tr><tr><td>Selena Gomez</td><td>1</td><td>1±0</td><td>2653</td><td>3017.7±1873</td><td>1</td><td>1±0</td><td>2256</td><td>2704±1873</td></tr><tr><td>Scarlett Johansson</td><td>1</td><td>1.3±4</td><td>9191</td><td>8146.6±2953</td><td>1</td><td>3.8±38.6</td><td>9012</td><td>7753.5±3112</td></tr><tr><td>Steven Yeun</td><td>1</td><td>1.1±1</td><td>7923</td><td>6115.4±4060</td><td>1</td><td>1.02±0.6</td><td>5806</td><td>4976.2±3167</td></tr><tr><td>Sarah J.Parker</td><td>1</td><td>1±0</td><td>980</td><td>1770.5±1787</td><td>1</td><td>1±0</td><td>679</td><td>1069.3±1096</td></tr><tr><td>Average</td><td>1</td><td>26</td><td>4322</td><td>4200</td><td>1</td><td>17</td><td>3773</td><td>3726</td></tr></table>",
1030
+ "bbox": [
1031
+ 173,
1032
+ 535,
1033
+ 856,
1034
+ 708
1035
+ ],
1036
+ "page_idx": 10
1037
+ },
1038
+ {
1039
+ "type": "table",
1040
+ "img_path": "images/89cedd6f2d510cf4c925a6520c152bae135528948e697223301656e09752757e.jpg",
1041
+ "table_caption": [
1042
+ "Table 4: Ranking results for the high resolution model. Show is the ranking of the true identity out of a dataset of 54,000 persons ( $\\mathrm { S D } { = } 1$ Standard Deviation). Evaluation is performed on the pre-trained LResNet50E-IR ArcFace network. "
1043
+ ],
1044
+ "table_footnote": [],
1045
+ "table_body": "<table><tr><td rowspan=\"2\">Person</td><td colspan=\"2\">Original frames</td><td colspan=\"2\">De-Id 256x256 frames</td></tr><tr><td>Median</td><td>Mean ±SD</td><td>Median</td><td>Mean 士SD</td></tr><tr><td>Simone Biles</td><td>1</td><td>3±50</td><td>1725</td><td>2223±1814</td></tr><tr><td>Billy Corgan</td><td>1</td><td>95.6±313</td><td>901</td><td>1334±1518</td></tr><tr><td>Selena Gomez</td><td>1</td><td>1±0</td><td>8058</td><td>8110±2186</td></tr><tr><td>Scarlett Johansson</td><td>1</td><td>3.8±38.6</td><td>4493</td><td>4830±2544</td></tr><tr><td>Steven Yeun</td><td>1</td><td>1.02±0.6</td><td>1069</td><td>1814±2544</td></tr><tr><td>Sarah J.Parker</td><td>1</td><td>1±0</td><td>408</td><td>620±665</td></tr><tr><td>Average</td><td>1</td><td>17</td><td>2776</td><td>3155</td></tr></table>",
1046
+ "bbox": [
1047
+ 281,
1048
+ 768,
1049
+ 712,
1050
+ 921
1051
+ ],
1052
+ "page_idx": 10
1053
+ },
1054
+ {
1055
+ "type": "text",
1056
+ "text": "REFERENCES ",
1057
+ "text_level": 1,
1058
+ "bbox": [
1059
+ 174,
1060
+ 102,
1061
+ 287,
1062
+ 118
1063
+ ],
1064
+ "page_idx": 11
1065
+ },
1066
+ {
1067
+ "type": "text",
1068
+ "text": "Sagie Benaim and Lior Wolf. One-sided unsupervised domain mapping. In NIPS, 2017. ",
1069
+ "bbox": [
1070
+ 173,
1071
+ 126,
1072
+ 750,
1073
+ 141
1074
+ ],
1075
+ "page_idx": 11
1076
+ },
1077
+ {
1078
+ "type": "text",
1079
+ "text": "Dmitri Bitouk, Neeraj Kumar, Samreen Dhillon, Peter Belhumeur, and Shree K. Nayar. Face swapping: Automatically replacing faces in photographs. In SIGGRAPH, 2008. ",
1080
+ "bbox": [
1081
+ 174,
1082
+ 148,
1083
+ 823,
1084
+ 179
1085
+ ],
1086
+ "page_idx": 11
1087
+ },
1088
+ {
1089
+ "type": "text",
1090
+ "text": "Volker Blanz, Kristina Scherbaum, Thomas Vetter, and Hans-Peter Seidel. Exchanging faces in images. In Computer Graphics Forum, volume 23, pp. 669–676. Wiley Online Library, 2004. ",
1091
+ "bbox": [
1092
+ 174,
1093
+ 188,
1094
+ 823,
1095
+ 217
1096
+ ],
1097
+ "page_idx": 11
1098
+ },
1099
+ {
1100
+ "type": "text",
1101
+ "text": "Qiong Cao, Li Shen, Weidi Xie, Omkar M Parkhi, and Andrew Zisserman. Vggface2: A dataset for recognising faces across pose and age. arXiv preprint arXiv:1710.08092, 2017. ",
1102
+ "bbox": [
1103
+ 173,
1104
+ 224,
1105
+ 823,
1106
+ 256
1107
+ ],
1108
+ "page_idx": 11
1109
+ },
1110
+ {
1111
+ "type": "text",
1112
+ "text": "Francois Chollet. Xception: Deep learning with depthwise separable convolutions. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1251–1258, 2017. ",
1113
+ "bbox": [
1114
+ 173,
1115
+ 263,
1116
+ 825,
1117
+ 292
1118
+ ],
1119
+ "page_idx": 11
1120
+ },
1121
+ {
1122
+ "type": "text",
1123
+ "text": "Jiankang Deng, Jia Guo, and Stefanos Zafeiriou. Arcface: Additive angular margin loss for deep face recognition. arXiv preprint arXiv:1801.07698, 2018. ",
1124
+ "bbox": [
1125
+ 173,
1126
+ 301,
1127
+ 825,
1128
+ 330
1129
+ ],
1130
+ "page_idx": 11
1131
+ },
1132
+ {
1133
+ "type": "text",
1134
+ "text": "Faceswap. Github project, https://github.com/deepfakes/faceswap. 2017. ",
1135
+ "bbox": [
1136
+ 173,
1137
+ 338,
1138
+ 653,
1139
+ 356
1140
+ ],
1141
+ "page_idx": 11
1142
+ },
1143
+ {
1144
+ "type": "text",
1145
+ "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. 2014. ",
1146
+ "bbox": [
1147
+ 173,
1148
+ 363,
1149
+ 825,
1150
+ 392
1151
+ ],
1152
+ "page_idx": 11
1153
+ },
1154
+ {
1155
+ "type": "text",
1156
+ "text": "R. Gross, L. Sweeney, F. de la Torre, and S. Baker. Semi-supervised learning of multi-factor models for face de-identification. In 2008 IEEE Conference on Computer Vision and Pattern Recognition, 2008. ",
1157
+ "bbox": [
1158
+ 176,
1159
+ 401,
1160
+ 825,
1161
+ 444
1162
+ ],
1163
+ "page_idx": 11
1164
+ },
1165
+ {
1166
+ "type": "text",
1167
+ "text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. In ICCV, 2015. ",
1168
+ "bbox": [
1169
+ 171,
1170
+ 453,
1171
+ 825,
1172
+ 483
1173
+ ],
1174
+ "page_idx": 11
1175
+ },
1176
+ {
1177
+ "type": "text",
1178
+ "text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, 2016a. ",
1179
+ "bbox": [
1180
+ 173,
1181
+ 491,
1182
+ 823,
1183
+ 520
1184
+ ],
1185
+ "page_idx": 11
1186
+ },
1187
+ {
1188
+ "type": "text",
1189
+ "text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, 2016b. ",
1190
+ "bbox": [
1191
+ 173,
1192
+ 529,
1193
+ 823,
1194
+ 558
1195
+ ],
1196
+ "page_idx": 11
1197
+ },
1198
+ {
1199
+ "type": "text",
1200
+ "text": "Gary B Huang, Manu Ramesh, Tamara Berg, and Erik Learned-Miller. Labeled faces in the wild: A database for studying face recognition in unconstrained environments. Technical report. ",
1201
+ "bbox": [
1202
+ 171,
1203
+ 568,
1204
+ 825,
1205
+ 597
1206
+ ],
1207
+ "page_idx": 11
1208
+ },
1209
+ {
1210
+ "type": "text",
1211
+ "text": "Justin Johnson, Alexandre Alahi, and Li Fei-Fei. Perceptual losses for real-time style transfer and super-resolution. In ECCV, 2016. ",
1212
+ "bbox": [
1213
+ 173,
1214
+ 604,
1215
+ 823,
1216
+ 635
1217
+ ],
1218
+ "page_idx": 11
1219
+ },
1220
+ {
1221
+ "type": "text",
1222
+ "text": "Amin Jourabloo, Xi Yin, and Xiaoming Liu. Attribute preserved face deidentification. In In ICB, 2015. ",
1223
+ "bbox": [
1224
+ 173,
1225
+ 642,
1226
+ 825,
1227
+ 672
1228
+ ],
1229
+ "page_idx": 11
1230
+ },
1231
+ {
1232
+ "type": "text",
1233
+ "text": "Tero Karras, Timo Aila, Samuli Laine, and Jaakko Lehtinen. Progressive growing of gans for improved quality, stability, and variation. In ICLR, 2018. ",
1234
+ "bbox": [
1235
+ 171,
1236
+ 681,
1237
+ 825,
1238
+ 710
1239
+ ],
1240
+ "page_idx": 11
1241
+ },
1242
+ {
1243
+ "type": "text",
1244
+ "text": "Ira Kemelmacher-Shlizerman. Transfiguring portraits. ACM Trans. Graph., 35(4), 2016. ",
1245
+ "bbox": [
1246
+ 169,
1247
+ 718,
1248
+ 754,
1249
+ 734
1250
+ ],
1251
+ "page_idx": 11
1252
+ },
1253
+ {
1254
+ "type": "text",
1255
+ "text": "Taeksoo Kim, Moonsu Cha, Hyunsoo Kim, Jungkwon Lee, and Jiwon Kim. Learning to discover cross-domain relations with generative adversarial networks. arXiv preprint arXiv:1703.05192, 2017. ",
1256
+ "bbox": [
1257
+ 174,
1258
+ 742,
1259
+ 828,
1260
+ 785
1261
+ ],
1262
+ "page_idx": 11
1263
+ },
1264
+ {
1265
+ "type": "text",
1266
+ "text": "Davis E King. Dlib-ml: A machine learning toolkit. Journal of Machine Learning Research, 10(Jul): 1755–1758, 2009. ",
1267
+ "bbox": [
1268
+ 173,
1269
+ 795,
1270
+ 825,
1271
+ 824
1272
+ ],
1273
+ "page_idx": 11
1274
+ },
1275
+ {
1276
+ "type": "text",
1277
+ "text": "D.P. Kingma and J. Ba. Adam: A method for stochastic optimization. In ICLR, 2016. ",
1278
+ "bbox": [
1279
+ 174,
1280
+ 832,
1281
+ 735,
1282
+ 848
1283
+ ],
1284
+ "page_idx": 11
1285
+ },
1286
+ {
1287
+ "type": "text",
1288
+ "text": "Iryna Korshunova, Wenzhe Shi, Joni Dambre, and Lucas Theis. Fast face-swap using convolutional neural networks. In The IEEE International Conference on Computer Vision, 2017. ",
1289
+ "bbox": [
1290
+ 174,
1291
+ 856,
1292
+ 821,
1293
+ 886
1294
+ ],
1295
+ "page_idx": 11
1296
+ },
1297
+ {
1298
+ "type": "text",
1299
+ "text": "Neeraj Kumar, Alexander C Berg, Peter N Belhumeur, and Shree K Nayar. Attribute and simile classifiers for face verification. In CVPR, 2009. ",
1300
+ "bbox": [
1301
+ 174,
1302
+ 895,
1303
+ 821,
1304
+ 924
1305
+ ],
1306
+ "page_idx": 11
1307
+ },
1308
+ {
1309
+ "type": "text",
1310
+ "text": "Ming-Yu Liu, Thomas Breuel, and Jan Kautz. Unsupervised image-to-image translation networks. In NIPS. 2017. ",
1311
+ "bbox": [
1312
+ 171,
1313
+ 103,
1314
+ 825,
1315
+ 133
1316
+ ],
1317
+ "page_idx": 12
1318
+ },
1319
+ {
1320
+ "type": "text",
1321
+ "text": "Ziwei Liu, Ping Luo, Xiaogang Wang, and Xiaoou Tang. Deep learning face attributes in the wild. In ICCV, 2015. ",
1322
+ "bbox": [
1323
+ 173,
1324
+ 140,
1325
+ 823,
1326
+ 171
1327
+ ],
1328
+ "page_idx": 12
1329
+ },
1330
+ {
1331
+ "type": "text",
1332
+ "text": "Alireza Makhzani, Jonathon Shlens, Navdeep Jaitly, Ian Goodfellow, and Brendan Frey. Adversarial autoencoders. arXiv preprint arXiv:1511.05644, 2015. ",
1333
+ "bbox": [
1334
+ 173,
1335
+ 178,
1336
+ 823,
1337
+ 208
1338
+ ],
1339
+ "page_idx": 12
1340
+ },
1341
+ {
1342
+ "type": "text",
1343
+ "text": "Xudong Mao, Qing Li, Haoran Xie, Raymond YK Lau, Zhen Wang, and Stephen Paul Smolley. Least squares generative adversarial networks. In ICCV, 2017. ",
1344
+ "bbox": [
1345
+ 173,
1346
+ 215,
1347
+ 823,
1348
+ 246
1349
+ ],
1350
+ "page_idx": 12
1351
+ },
1352
+ {
1353
+ "type": "text",
1354
+ "text": "E. M. Newton, L. Sweeney, and B. Malin. Preserving privacy by de-identifying face images. IEEE Transactions on Knowledge and Data Engineering, 17(2):232–243, 2005a. ",
1355
+ "bbox": [
1356
+ 173,
1357
+ 253,
1358
+ 823,
1359
+ 284
1360
+ ],
1361
+ "page_idx": 12
1362
+ },
1363
+ {
1364
+ "type": "text",
1365
+ "text": "Elaine M Newton, Latanya Sweeney, and Bradley Malin. Preserving privacy by de-identifying face images. IEEE transactions on Knowledge and Data Engineering, 17(2):232–243, 2005b. ",
1366
+ "bbox": [
1367
+ 173,
1368
+ 291,
1369
+ 823,
1370
+ 321
1371
+ ],
1372
+ "page_idx": 12
1373
+ },
1374
+ {
1375
+ "type": "text",
1376
+ "text": "Yuval Nirkin, Iacopo Masi, Anh Tuan Tran, Tal Hassner, and Gerard Medioni. On face segmentation, face swapping, and face perception. arXiv preprint arXiv:1704.06729, 2017. ",
1377
+ "bbox": [
1378
+ 171,
1379
+ 329,
1380
+ 823,
1381
+ 359
1382
+ ],
1383
+ "page_idx": 12
1384
+ },
1385
+ {
1386
+ "type": "text",
1387
+ "text": "P Jonathon Phillips, J Ross Beveridge, Bruce A Draper, Geof Givens, Alice J O’Toole, David S Bolme, Joseph Dunlop, Yui Man Lui, Hassan Sahibzada, and Samuel Weimer. An introduction to the good, the bad, & the ugly face recognition challenge problem. In Automatic Face & Gesture Recognition, 2011. ",
1388
+ "bbox": [
1389
+ 173,
1390
+ 367,
1391
+ 823,
1392
+ 424
1393
+ ],
1394
+ "page_idx": 12
1395
+ },
1396
+ {
1397
+ "type": "text",
1398
+ "text": "Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. arXiv preprint arXiv:1511.06434, 2015. ",
1399
+ "bbox": [
1400
+ 173,
1401
+ 433,
1402
+ 820,
1403
+ 463
1404
+ ],
1405
+ "page_idx": 12
1406
+ },
1407
+ {
1408
+ "type": "text",
1409
+ "text": "O. Ronneberger, P.Fischer, and T. Brox. U-net: Convolutional networks for biomedical image segmentation. In Medical Image Computing and Computer-Assisted Intervention (MICCAI), 2015. ",
1410
+ "bbox": [
1411
+ 174,
1412
+ 469,
1413
+ 823,
1414
+ 501
1415
+ ],
1416
+ "page_idx": 12
1417
+ },
1418
+ {
1419
+ "type": "text",
1420
+ "text": "Tim Salimans, Ian J. Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, and Xi Chen. Improved techniques for training gans. arXiv preprint arXiv:1606.03498, 2016. ",
1421
+ "bbox": [
1422
+ 173,
1423
+ 507,
1424
+ 823,
1425
+ 539
1426
+ ],
1427
+ "page_idx": 12
1428
+ },
1429
+ {
1430
+ "type": "text",
1431
+ "text": "B. Samarzija and S. Ribaric. An approach to the de-identification of faces in different poses. In 2014 37th International Convention on Information and Communication Technology, Electronics and Microelectronics (MIPRO), 2014. ",
1432
+ "bbox": [
1433
+ 174,
1434
+ 545,
1435
+ 823,
1436
+ 589
1437
+ ],
1438
+ "page_idx": 12
1439
+ },
1440
+ {
1441
+ "type": "text",
1442
+ "text": "Yaniv Taigman, Adam Polyak, and Lior Wolf. Unsupervised cross-domain image generation. In International Conference on Learning Representations (ICLR), 2017. ",
1443
+ "bbox": [
1444
+ 173,
1445
+ 597,
1446
+ 823,
1447
+ 627
1448
+ ],
1449
+ "page_idx": 12
1450
+ },
1451
+ {
1452
+ "type": "text",
1453
+ "text": "Dmitry Ulyanov, Vadim Lebedev, Victor Lempitsky, et al. Texture networks: Feed-forward synthesis of textures and stylized images. In ICML, 2016a. ",
1454
+ "bbox": [
1455
+ 174,
1456
+ 636,
1457
+ 823,
1458
+ 665
1459
+ ],
1460
+ "page_idx": 12
1461
+ },
1462
+ {
1463
+ "type": "text",
1464
+ "text": "Dmitry Ulyanov, Andrea Vedaldi, and Victor Lempitsky. Instance normalization: The missing ingredient for fast stylization. arXiv preprint arXiv:1607.08022, 2016b. ",
1465
+ "bbox": [
1466
+ 173,
1467
+ 672,
1468
+ 823,
1469
+ 703
1470
+ ],
1471
+ "page_idx": 12
1472
+ },
1473
+ {
1474
+ "type": "text",
1475
+ "text": "Yifan Wu, Fan Yang, and Haibin Ling. Privacy-protective-gan for face de-identification. arXiv preprint arXiv:1806.08906, 2018. ",
1476
+ "bbox": [
1477
+ 174,
1478
+ 710,
1479
+ 823,
1480
+ 739
1481
+ ],
1482
+ "page_idx": 12
1483
+ },
1484
+ {
1485
+ "type": "text",
1486
+ "text": "Zili Yi, Hao Zhang, Ping Tan, and Minglun Gong. DualGAN: Unsupervised dual learning for image-to-image translation. arXiv preprint arXiv:1704.02510, 2017. ",
1487
+ "bbox": [
1488
+ 173,
1489
+ 748,
1490
+ 825,
1491
+ 779
1492
+ ],
1493
+ "page_idx": 12
1494
+ },
1495
+ {
1496
+ "type": "text",
1497
+ "text": "Hongyi Zhang, Moustapha Cisse, Yann N Dauphin, and David Lopez-Paz. mixup: Beyond empirical risk minimization. arXiv preprint arXiv:1710.09412, 2017. ",
1498
+ "bbox": [
1499
+ 173,
1500
+ 786,
1501
+ 825,
1502
+ 815
1503
+ ],
1504
+ "page_idx": 12
1505
+ },
1506
+ {
1507
+ "type": "text",
1508
+ "text": "A DE-IDENTIFICATION USER STUDY ",
1509
+ "text_level": 1,
1510
+ "bbox": [
1511
+ 176,
1512
+ 102,
1513
+ 495,
1514
+ 118
1515
+ ],
1516
+ "page_idx": 13
1517
+ },
1518
+ {
1519
+ "type": "text",
1520
+ "text": "We attach the images as they were presented in the second user study. The users were asked to identify either the images on the 2nd row or the images on the 3rd row based on the gallery images in the first row. The users were shown all images at once, were given unlimited time, and were asked to perform the task as accurately as they could. ",
1521
+ "bbox": [
1522
+ 174,
1523
+ 133,
1524
+ 826,
1525
+ 189
1526
+ ],
1527
+ "page_idx": 13
1528
+ },
1529
+ {
1530
+ "type": "image",
1531
+ "img_path": "images/912707ef41b2eb6339c11c67b6b7dfcf1e4defd08ec260040b233bab52e2350d.jpg",
1532
+ "image_caption": [
1533
+ "Figure 10: The images from the user study. Each column is a different individual. The first row are the gallery images, i.e, the album images the users were asked to select the identity from. The second row is the input image. The third row is the output of our method, i.e., the de-identified version of the second row. "
1534
+ ],
1535
+ "image_footnote": [],
1536
+ "bbox": [
1537
+ 207,
1538
+ 203,
1539
+ 794,
1540
+ 472
1541
+ ],
1542
+ "page_idx": 13
1543
+ },
1544
+ {
1545
+ "type": "text",
1546
+ "text": "B DE-IDENTIFICATION RESULTS WITHOUT THE ZOOM ",
1547
+ "text_level": 1,
1548
+ "bbox": [
1549
+ 176,
1550
+ 568,
1551
+ 643,
1552
+ 584
1553
+ ],
1554
+ "page_idx": 13
1555
+ },
1556
+ {
1557
+ "type": "text",
1558
+ "text": "For completeness, we append the original sized results, where no zoom-in was applied. ",
1559
+ "bbox": [
1560
+ 173,
1561
+ 598,
1562
+ 741,
1563
+ 614
1564
+ ],
1565
+ "page_idx": 13
1566
+ },
1567
+ {
1568
+ "type": "image",
1569
+ "img_path": "images/761f5e7f493f2216135aec638325f69e419eead4b074764a6b190fe4a109ab06.jpg",
1570
+ "image_caption": [
1571
+ "Figure 11: Same as Fig. 3 but without the zoom. "
1572
+ ],
1573
+ "image_footnote": [],
1574
+ "bbox": [
1575
+ 174,
1576
+ 646,
1577
+ 825,
1578
+ 829
1579
+ ],
1580
+ "page_idx": 13
1581
+ },
1582
+ {
1583
+ "type": "image",
1584
+ "img_path": "images/bf2bc1b11ced7e4e56dadca2b9ca0eda3cee05e427e2b07c30580d1690f0c8eb.jpg",
1585
+ "image_caption": [
1586
+ "Figure 12: Same as Fig. 6 but without the zoom. "
1587
+ ],
1588
+ "image_footnote": [],
1589
+ "bbox": [
1590
+ 176,
1591
+ 383,
1592
+ 825,
1593
+ 609
1594
+ ],
1595
+ "page_idx": 14
1596
+ }
1597
+ ]
parse/train/SyfdsjA9FX/SyfdsjA9FX_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/SyfdsjA9FX/SyfdsjA9FX_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/aHK-onEhYRg/aHK-onEhYRg.md ADDED
@@ -0,0 +1,322 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # On Success and Simplicity: A Second Look at Transferable Targeted Attacks
2
+
3
+ Zhengyu Zhao, Zhuoran Liu, Martha Larson Radboud University {z.zhao,z.liu,m.larson}@cs.ru.nl
4
+
5
+ # Abstract
6
+
7
+ Achieving transferability of targeted attacks is reputed to be remarkably difficult. The current state of the art has resorted to resource-intensive solutions that necessitate training model(s) for each target class with additional data. In our investigation, we find, however, that simple transferable attacks which require neither model training nor additional data can achieve surprisingly strong targeted transferability. This insight has been overlooked until now, mainly because the widespread practice of attacking with only few iterations has largely limited the attack convergence to optimal targeted transferability. In particular, we, for the first time, identify that a very simple logit loss can largely surpass the commonly adopted crossentropy loss, and yield even better results than the resource-intensive state of the art. Our analysis spans a variety of transfer scenarios, especially including three new, realistic scenarios: an ensemble transfer scenario with little model similarity, a worse-case scenario with low-ranked target classes, and also a real-world attack on the Google Cloud Vision API. Results in these new transfer scenarios demonstrate that the commonly adopted, easy scenarios cannot fully reveal the actual strength of different attacks and may cause misleading comparative results. We also show the usefulness of the simple logit loss for generating targeted universal adversarial perturbations in a data-free manner. Overall, the aim of our analysis is to inspire a more meaningful evaluation on targeted transferability. Code is available at https://github.com/ZhengyuZhao/Targeted-Tansfer.
8
+
9
+ # 1 Introduction
10
+
11
+ Deep neural networks have achieved remarkable performance in various machine learning tasks, but are known to be vulnerable to adversarial attacks [1]. A key property of adversarial attacks that makes them critical in realistic, black-box scenarios is their transferability [2, 3]. Current work on adversarial transferability has achieved great success for non-targeted attacks [4–12], while several initial attempts [3, 4, 13] at targeted transferability have shown its extreme difficulty. Targeted transferability is known to be much more challenging and worth exploring since it can raise more critical concerns by fooling models into predicting a chosen, highly dangerous target class.
12
+
13
+ However, so far state-of-the-art results can only be secured by resource-intensive transferable attacks [14–16]. Specifically, the FDA approach [14, 15] is based on modeling layer-wise feature distributions by training target-class-specific auxiliary classifiers on large-scale labeled data, and then optimizing adversarial perturbations using these auxiliary classifiers from across the deep feature space. The TTP approach [16] is based on training target-class-specific Generative Adversarial Networks (GANs) through global and local distribution matching, and then using the trained generator to directly generate perturbations on any given input image.
14
+
15
+ In this paper, we take a second, thorough look at current research on targeted transferability. Our main contribution is the finding that simple transferable attacks [4, 6, 8] that require neither model training nor additional data can actually achieve surprisingly strong targeted transferability. We argue that this insight has been overlooked mainly because current research has unreasonably restricted the attack convergence by only using a small number of iterations (see detailed discussion in Section 3). Another key contribution of our work is, for the first time, demonstrating the general superiority of a very simple logit loss, which even outperforms the resource-intensive state of the art.
16
+
17
+ In order to validate the general effectiveness of simple transferable attacks, in Section 4.1, we conduct extensive experiments in a wide range of transfer scenarios. We test the commonly adopted single-model and ensemble transfer scenarios, but also introduce three new scenarios that are more challenging and realistic: an ensemble transfer scenario with little model similarity, a worse-case scenario with low-ranked target classes, and also a real-world attack on the Google Cloud Vision API. Experimental results in these new scenarios suggest that evaluation in only the commonly adopted, easy scenarios cannot reveal the actual strength of different attacks, and may cause misleading comparative results. Additional experiments in Section 4.2 have shown the better performance of the simple transferable attacks than the state-of-the-art resource-intensive approaches. Finally, in Section 4.3, inspired by the observation that the generated perturbations themselves reflect specific target semantics, we use the simple Logit attack to generate targeted Universal Adversarial Perturbations (UAPs) in a data-free manner. In contrast, recent advances in targeted UAPs [16–19] have inevitably relied on large-scale optimization over additional data.
18
+
19
+ Overall, we hope our analysis of the weakness of commonly adopted attack settings and transfer scenarios will inspire a more meaningful evaluation on targeted transferability.
20
+
21
+ # 2 Related Work
22
+
23
+ In this section, we review existing simple transferable attacks (Section 2.1), and also recent resourceintensive transferable attacks (Section 2.2). Finally, we discuss related work on generating universal adversarial perturbations.
24
+
25
+ # 2.1 Simple Transferable Attacks
26
+
27
+ We refer to transferable attacks that require neither model training nor additional data, but only use iterative optimization on a single (original) image as simple transferable attacks. Simple transferable attacks have been extensively studied in the non-targeted case [4–12], and also attempted in the targeted case [3, 4, 20]. These attacks are commonly built up on the well-known Iterative-Fast Gradient Sign Method (I-FGSM) [21, 22], which can be formulated as:
28
+
29
+ $$
30
+ \begin{array} { r } { \pmb { x } _ { 0 } ^ { \prime } = \pmb { x } , \pmb { x } _ { i + 1 } ^ { \prime } = \pmb { x } _ { i } ^ { \prime } - \alpha \cdot \mathrm { s i g n } ( \nabla _ { \pmb { x } } J ( \pmb { x } _ { i } ^ { \prime } , y _ { t } ) ) , } \end{array}
31
+ $$
32
+
33
+ where $\pmb { x } _ { i } ^ { \prime }$ denotes the perturbed image in the $i$ -th iteration, and $y _ { t }$ is the target class label. In order to ensure the imperceptibility, the added perturbations are restricted with respect to some $L _ { p }$ distance, i.e., satisfying $\| { \pmb x } ^ { \prime } - { \pmb x } \| _ { p } \overset { \cdot } { \le } \epsilon$ . Current transferable attack methods have commonly adopted the $L _ { \infty }$ distance, but can also be easily adapted to the $L _ { 2 }$ distance based on an $L _ { 2 }$ normalization [23].
34
+
35
+ For the loss function $J ( \cdot , \cdot )$ , most simple transferable attacks have adopted the Cross-Entropy (CE) loss. However, the CE loss has been recently shown to be insufficient in the targeted case due to its decreasing gradient problem [20]. To address this problem, the authors in [20] have proposed the $\mathbf { P 0 + T r i p }$ loss, in which the Poincare distance was used to adapt the gradients’ magnitude: ´
36
+
37
+ $$
38
+ L _ { P o } = d ( { \pmb u } , { \pmb v } ) = \mathrm { a r c c o s h } ( 1 + \delta ( { \pmb u } , { \pmb v } ) ) ,
39
+ $$
40
+
41
+ $$
42
+ \delta ( \pmb { u } , \pmb { v } ) = \frac { 2 \cdot \| \pmb { u } - \pmb { v } \| _ { 2 } ^ { 2 } } { ( 1 - \| \pmb { u } \| _ { 2 } ^ { 2 } ) ( 1 - \| \pmb { v } \| _ { 2 } ^ { 2 } ) } , \pmb { u } = \frac { l ( \pmb { x } ^ { \prime } ) } { \| l ( \pmb { x } ^ { \prime } ) \| } , \pmb { v } = \operatorname* { m a x } \{ \pmb { v } - \pmb { \xi } , 0 \} ,
43
+ $$
44
+
45
+ where $\textbf { \em u }$ is the normalized logit vector and $\pmb { v }$ is the one-hot vector with respect to the target class. $\xi = 1 0 ^ { - 5 }$ is a small constant to ensure numerical stability. The following triplet loss is also integrated for pushing the image away from the original class while pulling it into the target class:
46
+
47
+ $$
48
+ L _ { T r i p } = [ D ( l ( \pmb { x } ^ { \prime } ) , y _ { t } ) - D ( l ( \pmb { x } ^ { \prime } ) , y _ { o } ) + \gamma ] _ { + } , D ( l ( \pmb { x } ^ { \prime } ) , y ) = 1 - \frac { \| l ( \pmb { x } ^ { \prime } ) \cdot \pmb { y } \| _ { 1 } } { \| l ( \pmb { x } ^ { \prime } ) \| _ { 2 } \| y \| _ { 2 } } .
49
+ $$
50
+
51
+ The overall loss function is then formulated as $L _ { P o + T r i p } = L _ { P o } + \lambda L _ { T r i p }$ . Note that in the original work, ${ \mathrm { P o } } { + } { \mathrm { T r i p } }$ was evaluated in the commonly adopted, easy ensemble transfer scenario, which only involves models with similar architectures.
52
+
53
+ In addition to devising new loss functions, there are other transfer methods [4, 6, 8, 9] developed based on the assumption that preventing the attack optimization from overfitting to the specific source model can improve transferability. Such transfer methods can be easily plugged into different attacks without modifications, in contrast to the above methods that need to apply new attack loss functions. In this paper, we consider three [4, 6, 8] of such transfer methods that have been widely used in the literature, as described in the following text.
54
+
55
+ Momentum Iterative-FGSM (MI-FGSM) [4] integrates a momentum term, which accumulates previous gradients in order to achieve more stable update directions. It can be expressed as:
56
+
57
+ $$
58
+ { \bf \mathcal { G } } _ { i + 1 } = \mu \cdot { \bf g } _ { i } + \frac { \nabla _ { x } J ( { \pmb x } _ { i } ^ { \prime } , y _ { t } ) } { \| \nabla _ { \pmb x } J ( { \pmb x } _ { i } ^ { \prime } , y _ { t } ) \| _ { 1 } } , ~ { \pmb x } _ { i + 1 } ^ { \prime } = { \pmb x } _ { i } ^ { \prime } - \alpha \cdot \mathrm { ~ \mathrm { s i g n } } ( { \pmb g } _ { i } ) ,
59
+ $$
60
+
61
+ where $\mathbf { \pmb { g } } _ { i }$ is the accumulated gradients at the $i$ -th iteration, and $\mu$ is a decay factor. Another similar technique that instead uses the Nesterov accelerated gradient was explored in [9].
62
+
63
+ Translation Invariant-FGSM (TI-FGSM) [6] randomly translates the input image during attack optimization in order to prevent the attack from overfitting to the specific source model. This approach is inspired by the data augmentation techniques used for preventing overfitting in normal model training. Instead of calculating gradients for multiple translated images separately, the authors have proposed an approximate solution to accelerate the implementation. It is achieved by directly computing locally smoothed gradients on the original image via convolution with a kernel:
64
+
65
+ $$
66
+ \pmb { x } _ { i + 1 } ^ { \prime } = \pmb { x } _ { i } ^ { \prime } - \alpha \cdot \mathrm { s i g n } ( W * \nabla _ { \pmb { x } } J ( \pmb { x } _ { i } ^ { \prime } , y _ { t } ) ) ,
67
+ $$
68
+
69
+ where $W$ is the convolution kernel used for smoothing. TI-FGSM was originally designed for boosting transferability with adversarially-trained models as target models and has been recently shown that a smaller kernel size should be used when transferring to normally-trained models [12].
70
+
71
+ Diverse Input-FGSM (DI-FGSM) [8] follows a similar idea to TI-FGSM, but applies random resizing and padding for data augmentation. Another important difference is that DI-FGSM randomizes augmentation parameters over iterations rather than fixing them as in TI-FGSM. The attack optimization of DI-FGSM can be formulated as:
72
+
73
+ $$
74
+ \pmb { x } _ { i + 1 } ^ { \prime } = \pmb { x } _ { i } ^ { \prime } - \alpha \cdot \mathrm { s i g n } \big ( \nabla _ { \pmb { x } } J ( T ( \pmb { x } _ { i } ^ { \prime } , p ) , y _ { t } ) \big ) ,
75
+ $$
76
+
77
+ where the stochastic transformation $T ( \pmb { x } _ { i } ^ { \prime } , p )$ is implemented with probability $p$ at each iteration. In Section 4.1, we demonstrate that simple transfer attacks with these three transfer methods can actually achieve surprisingly strong targeted transferability in a wide range of transfer scenarios.
78
+
79
+ # 2.2 Resource-Intensive Transferable Attacks
80
+
81
+ Due to the broad consensus that achieving targeted transferability is extremely difficult, recent researchers have resorted to resource-intensive approaches that require training target-class-specific models on large-scale additional data. Specifically, the Feature Distribution Attack (FDA) [14] follows the same attack pipeline as the above simple transferable attacks, but requires auxiliary classifiers that have been trained on additional labeled data as part of the source model. Each auxiliary classifier is a small, binary, one-versus-all classifier trained for a specific target class at a specific layer. That is to say, the number of auxiliary classifiers is the number of layers that are probed multiplied by the number of target classes that are required to model [14]. The attack loss function of FDA can be formulated as:
82
+
83
+ $$
84
+ L _ { F D A } = J ( \mathcal { F } _ { l } ( \pmb { x } ^ { \prime } ) , y _ { t } ) - \eta \frac { \| \mathcal { F } _ { l } ( \pmb { x } ^ { \prime } ) - \mathcal { F } _ { l } ( \pmb { x } ) \| _ { 2 } } { \| \mathcal { F } _ { l } ( \pmb { x } ) \| _ { 2 } } ,
85
+ $$
86
+
87
+ where each auxiliary classifiers $F _ { l } ( \cdot )$ can model the probability that a feature map at layer $l$ is from a specific target class $y _ { t }$ . $\mathbf { F D A } ^ { ( N ) } \mathbf { + x e n t }$ [15] extends FDA by aggregating features from $L$ layers and also incorporating the cross-entropy loss $H ( \cdot , \cdot )$ of the original network $\mathcal F ( \cdot )$ . The loss function of $\mathrm { F D A } ^ { ( N ) } -$ +xent can be expressed as:
88
+
89
+ $$
90
+ L _ { F D A ^ { ( N ) } + x e n t } = \sum _ { l \in L } \lambda _ { l } ( L _ { F D A } + \gamma H ( \mathcal { F } ( \pmb { x } ^ { \prime } ) , y _ { t } ) ) , \mathrm { ~ w h e r e ~ } \sum _ { l \in L } \lambda _ { l } = 1 .
91
+ $$
92
+
93
+ Very recently, TTP [16] has achieved state-of-the-art targeted transferability by directly generating perturbations using target-class-specific GANs that have been trained via matching the distributions of perturbations and a specific target class both globally and locally. Specifically, the global distribution matching is achieved by minimizing the Kullback Leibler (KL) divergence, and the local distribution matching is by enforcing the neighbourhood similarity. In order to further boost the performance, data augmentation techniques, such as image rotation, crop resize, horizontal flip, color jittering and gray-scale transformation, have been applied during model training. We refer the readers to [16] for more technical details of TTP.
94
+
95
+ These two transferable attacks, $\mathrm { F D A } ^ { ( N ) } +$ xent and TTP, are resource intensive due to the use of largescale model training and additional data. However, in Section 4.2, we show that simple transferable attacks, which require neither model training nor additional data, can actually achieve even better performance than them.
96
+
97
+ # 2.3 Universal Adversarial Perturbations
98
+
99
+ Previous research has shown the existence of Universal Adversarial Perturbations (UAPs), i.e., a single image perturbation vector that fools a classifier on multiple images [24]. UAPs have been extensively studied for non-targeted attacks [24–28], but also explored in the more challenging, targeted case [17–19]. Although recent studies have shown comparable performance of using reconstructed class impressions [25] or proxy datasets [18] to original training data, large-scale optimization over image data is still necessary for most existing methods. Differently, a data-free approach [26] has been proposed for non-targeted UAPs by iteratively optimizing randomly-initialized perturbations with an objective of disrupting the intermediate features of the model at multiple layers. However, this approach cannot be applied to targeted UAPs because targeted perturbations aim at a specific direction but not random disruption as in the non-targeted case. To bridge this gap, in Section 4.3, we demonstrate how the simple Logit attack can be used to generate targeted UAPs in a data-free manner.
100
+
101
+ # 3 New Insights into Simple Transferable Attacks
102
+
103
+ In this section, we revisit simple transferable targeted attacks, and provide new insights into them. Specifically, we demonstrate that simple transferable attacks that are based on existing transfer methods (TI-, MI-, and DI-FGSM) need more iterations to converge, and attacking with a simple logit loss can yield much better results than the commonly adopted Cross-Entropy (CE) loss.
104
+
105
+ # 3.1 Existing Transfer Methods with More Iterations Yield Good Results
106
+
107
+ Existing attempts have concluded that using simple transferable attacks to achieve targeted transferability is extremely difficult [3, 4, 13–15]. However, these attempts have been limited to the MI transfer method. Here, we tested all the three transfer methods. As can be seen form Figure 1, integrating all the three transfer methods leads to the best performance. In particular, we find that using only DI can actually yield substantial targeted transferability, while using only TI or MI makes little difference to the original poor targeted transferability. The fact that DI outperforms TI may be explained by the fact that DI randomizes the image augmentation parameters over iterations rather than fixing them as in TI. In this way, the gradients towards the target class become more generic and so avoid overfitting to the white-box source model. MI is essentially different from DI and TI because it can only stabilize update directions but not serve to achieve more accurate gradient directions towards a specific (target) class.
108
+
109
+ As we have pointed out in Section 1, common practice of generating transferable targeted perturbations [13–15, 20] has limited the attack optimization to few iterations (typically $\leq 2 0$ ). This is somewhat understandable given that extensive research on non-targeted transferability has done the same. However, as can be seen from Figure 1, targeted attacks actually require much more iterations to converge to optimal transferability, in contrast to the fast convergence of non-targeted attacks. This implies that evaluating the targeted transferability under only few iterations is problematic. On the one hand, comparing different optimization processes that have not converged is not meaningful and may cause misleading comparisons (see evidence in Section 4.1). This observation is consistent with the evaluation suggestion in [29] that restricting the number of iterations without verifying the attack convergence is one of the common pitfalls in evaluating adversarial robustness. Several advanced defenses have been defeated by simply increasing the number of iterations [30]. On the other hand, considering the realistic threat model, it is not meaningful to artificially restrict the computational power of a practical attack (e.g., to fewer than several thousand attack iterations) [31].
110
+
111
+ ![](images/fca3998a05bc361aeb1a80acdda333e959d92ecde001d361628249fa2a53dc0c.jpg)
112
+ Figure 1: Transfer success rates of simple transferable attacks using CE or logit loss in the non-targeted and targeted scenarios.
113
+
114
+ ![](images/e2c049957a94f6a754c65e1915a056f2b2266017247f535e6e9e8ad04ee22485.jpg)
115
+ Figure 2: White-box (wb) and black-box (bb) attack performance in terms of the predicted confidence (left, higher is better) and ranking (right, lower is better) of the target class.
116
+
117
+ # 3.2 A Simple yet Strong Logit Attack
118
+
119
+ Existing simple transferable attacks have commonly adopted the Cross-Entropy (CE) loss. However, as pointed out in [20], during the attack optimization, the CE loss will cause the gradient to decrease and tend to vanish as the number of iterations is increased. To address this problem, the ${ \mathrm { P o } } { + } { \mathrm { T r i p } }$ loss [20] takes a very aggressive strategy by arbitrarily reversing the decrease of the gradient, i.e., gradually increasing the magnitude of the gradients over iterations. However, we argue that this operation has led to too large step size, and as a result cause the attack optimization to overshoot the minima. Our results in Section 4.1 support this argument by showing that $\mathrm { P o + }$ Trip even yielded worse results than CE in the ensemble transfer scenario with diverse model architectures, since the loss surface is relatively non-smooth.
120
+
121
+ Here, for the loss function, we eliminate the final softmax function used in the CE loss and just backpropagate the gradients from the logit output:
122
+
123
+ $$
124
+ L _ { L o g i t } = - l _ { t } ( { \bf r } ^ { \prime } ) ,
125
+ $$
126
+
127
+ where $l _ { t } ( \cdot )$ denotes the logit output with respect to the target class. Although the idea of attacking logits is not new, its superior performance in targeted transferability has not been recognized so far. We also find that using the well-known logit-based loss, C&W [32], yields consistently worse results (see detailed comparisons in Appendix A). Another logit loss that is similar to the C&W loss has also been adopted by [18], but in the task of generating UAPs with large-scale data.
128
+
129
+ Below, we show that this logit loss leads to stronger gradients than the CE loss. As can be observed from Equation 10, the gradient of the CE loss with respect to the target logit input, $z _ { t }$ , will monotonically decrease as the probability of the target class, $p _ { t }$ , increases during attack optimization. In addition, due to the use of the softmax function, $p _ { t }$ will quickly reach 1, and as a result the gradient tends to vanish. This phenomenon makes the attack hard to improve even with more iterations applied. Differently, as shown by Equation 11, the gradient of the logit loss equals a constant. In this way, the attack can keep improving as the number of iterations is increased. In Appendix B, we provide further comparisons on the trends of loss/gradient magnitude and the target logit value over iterations, which show that the logit loss leads to better results than both CE and ${ \mathrm { P o } } { + } { \mathrm { T r i p } }$ .
130
+
131
+ $$
132
+ \begin{array} { c } { { { \cal L } _ { C E } = - 1 \cdot \log ( p _ { t } ) = - \log ( { \displaystyle \frac { e ^ { z _ { t } } } { \sum e ^ { z _ { j } } } } ) = - z _ { t } + \log ( \sum _ { } e ^ { z _ { j } } ) , } } \\ { { { \cal \frac { \partial L _ { C E } } { \partial z _ { t } } } = - 1 + { \displaystyle \frac { \partial \log ( \sum e ^ { z _ { j } } ) } { \partial e ^ { z _ { t } } } } \cdot { \displaystyle \frac { \partial e ^ { z _ { t } } } { \partial z _ { t } } } = - 1 + { \displaystyle \frac { e ^ { z _ { t } } } { \sum e ^ { z _ { j } } } } = - 1 + p _ { t } . } } \end{array}
133
+ $$
134
+
135
+ $$
136
+ L _ { L o g i t } = - z _ { t } , \frac { \partial L _ { L o g i t } } { \partial z _ { t } } = - 1 .
137
+ $$
138
+
139
+ Table 1: Targeted transfer success rates $( \% )$ in the single-model transfer scenario. We consider three attacks with different loss functions: cross-entropy (CE), Poincare distance with Triplet loss ´ $( { \mathrm { P o } } + { \mathrm { T r i p } } )$ [20], and the logit loss. Results with 20/100/300 iterations are reported.
140
+
141
+ <table><tr><td rowspan="2">Attack</td><td colspan="3">Source Model: Res50</td><td colspan="3">Source Model: Dense121</td></tr><tr><td>→Dense121</td><td>→VGG16</td><td>→Inc-v3</td><td>→Res50</td><td>→VGG16</td><td>→Inc-v3</td></tr><tr><td>CE</td><td>26.9/39.4/42.6</td><td>17.3/27.3/30.4</td><td>2.4/3.8/4.1</td><td>13.1/17.3/19.4</td><td>7.7/10.8/10.9</td><td>1.9/3.3/3.5</td></tr><tr><td>Po+Trip</td><td>26.7/53.0/54.7</td><td>18.8/34.2/34.4</td><td>2.9/6.0/5.9</td><td>10.1/14.7/14.7</td><td>6.7/8.3/7.7</td><td>2.1/3.0/2.7</td></tr><tr><td>Logit</td><td>29.3/63.3/72.5</td><td>24.0/55.7/62.7</td><td>3.0/7.2/9.4</td><td>17.2/39.7/43.7</td><td>13.5/35.3/38.7</td><td>2.7/6.9/7.6</td></tr><tr><td rowspan="2">Attack</td><td colspan="3">Source Model: VGG16</td><td colspan="3">Source Model: Inc-v3</td></tr><tr><td>→Res50</td><td>→Dense121</td><td>→Inc-v3</td><td>→Res50</td><td>→Dense121</td><td>→VGG16</td></tr><tr><td>CE</td><td>0.7/0.4/0.6</td><td>0.5/0.3/0.1</td><td>0/0.1/0</td><td>0.6/2.1/2.4</td><td>0.8/2.5/2.9</td><td>0.7/1.6/2.0</td></tr><tr><td>Po+Trip</td><td>0.6/0.8/0.5</td><td>0.6/0.6/0.7</td><td>0.2/0.1/0.1</td><td>0.6/2.0/2.5</td><td>0.8/3.1/3.3</td><td>0.5/2.1/2.0</td></tr><tr><td>Logit</td><td>3.3/8.7/11.2</td><td>3.6/11.7/13.2</td><td>0.2/0.7/0.9</td><td>0.8/1.6/2.9</td><td>1.2/2.8/5.3</td><td>0.7/2.2/3.7</td></tr></table>
142
+
143
+ # 4 Experimental Evidence on Simple Transferable Attacks
144
+
145
+ In this section, we provide experimental evidence to show the general effectiveness of simple transferable attacks. Firstly, in Section 4.1, we evaluate the simple transferable attacks in a variety of transfer scenarios, including single-model transfer, ensemble transfer (easy and challenging scenarios), a worse-case scenario with low-ranked target classes, and a real-world attack on the Google Cloud Vision API. Then, in Section 4.2, we compare the simple transferable attacks with two state-of-the-art resource-intensive transferable attacks, $\mathrm { F D A } ^ { ( N ) } { + } \mathrm { x e n i }$ [15] and TTP [16]. Finally, in Section 4.3, we apply the Logit attack to achieving targeted UAPs in a data-free manner.
146
+
147
+ Following recent work [14–16, 20], we focus on targeted transferability of ImageNet-like images, which is known to be much more difficult than other data sets (e.g, MNIST and CIFAR-10) with smaller-size images and fewer classes. Specifically, we used the 1000 images from the development set of the ImageNet-Compatible Dataset1, which was introduced along with the NIPS 2017 Competition on Adversarial Attacks and Defenses. All these images are associated with 1000 ImageNet class labels and cropped to $2 9 9 \times 2 9 9$ before use. Our experiments were run on an NVIDIA Tesla P100 GPU with 12GB of memory.
148
+
149
+ # 4.1 Simple Transferable Attacks in Various Transfer Scenarios
150
+
151
+ We tested three different attack losses: CE, ${ \mathrm { P o + T r i p } }$ [20] and Logit. All attacks used TI, MI, and DI with optimal hyperparameters provided in their original work. Specifically, $\| \mathbf { W } \| _ { 1 } = 5$ was used for ‘TI’ as suggested by [12]. For each image, we used the target label that was officially specified in the dataset. If not mentioned specifically, all attacks were run with 300 iterations to ensure convergence. When being executed with a batch size of 20, the optimization process took about three seconds per image. A moderate step size of 2 was used for all attacks, and the results were shown to be not sensitive to the setting of step size (see evidence in Appendix C). We considered four diverse classifier architectures: ResNet [33], DenseNet [34], VGGNet [35], and Inception [36]. Following the common practice, the perturbations were restricted by $L _ { \infty }$ norm with $\epsilon = 1 6$ .
152
+
153
+ Single-model transfer. Table 1 reports the targeted transferability when transferring between each pair of different model architectures. As can be seen, the logit loss outperformed CE and ${ \mathrm { P o } } { + } { \mathrm { T r i p } }$ by a large margin in almost all cases. When comparing different model architectures, we can find that the attacks achieved lower performance when transferring from the VGGNet16 or Inception-v3 than from ResNet50 or DenseNet121. This is consistent with the observations in [14, 15] and may be explained by the fact that skip connections in ResNet50 and DenseNet121 boosts transferability [37]. Another finding is that when using Inception-v3 as the target model, the transfer success rates were always low. This might be explained by the heavily engineered nature of the Inception architecture, i.e., the Inception architecture has multiple-size convolution and two auxiliary classifiers.
154
+
155
+ Table 2: Targeted transfer success rates $( \% )$ in the commonly adopted, easy ensemble transfer scenario, where the hold-out target model (denoted by $\cdot \underline { { \cdot } }$ ) and the ensemble models share similar architectures. Results with 20/100 iterations are reported.
156
+
157
+ <table><tr><td>Attack</td><td>-Inc-v3</td><td>-Inc-v4</td><td>-IncRes-v2</td><td>-Res50</td><td>-Res101</td><td>-Res152</td><td>Average</td></tr><tr><td>CE</td><td>48.8/85.3</td><td>47.2/83.3</td><td>47.5/83.9</td><td>50.9/89.8</td><td>58.5/93.2</td><td>56.7/90.7</td><td>51.6/87.7</td></tr><tr><td>Po+Trip</td><td>59.3/84.4</td><td>55.0/82.4</td><td>51.4/80.8</td><td>56.9/85.0</td><td>60.5/87.9</td><td>57.6/85.7</td><td>56.8/84.4</td></tr><tr><td>Logit</td><td>56.4/85.5</td><td>52.9/85.8</td><td>54.4/85.1</td><td>57.5/90.0</td><td>64.4/91.4</td><td>61.3/90.8</td><td>57.8/88.1</td></tr></table>
158
+
159
+ ![](images/fdd5ac90f4750155748fa1b30949e95ff900d67c18e964d24e5a9e0a6a8ee7a4.jpg)
160
+ Figure 3: Targeted transfer success rates $( \% )$ in our challenging ensemble transfer scenario, where each hold-out target model shares no similar architecture with the source models used for ensemble.
161
+
162
+ Ensemble transfer in both easy and challenging scenarios. A common approach to further boosting transferability is to generate perturbations on an ensemble of white-box source models. Following the common practice, we simply assigned equal weights to all the source models. We first look at the commonly adopted ensemble transfer scenario [4, 6, 20, 38] in which each hold-out target model shares a similar architecture with some of the white-box ensemble models. As can be seen from Table 2, the transfer success rates of all three attacks have got saturated when given enough iterations to converge. As a result, this transfer scenario could not fully reveal the actual strength of different attacks. We can also observe that ${ \mathrm { P o } } { + } { \mathrm { T r i p } }$ performed better than the CE loss only when the attack optimization is unreasonably restricted to 20 iterations, but became even worse with enough iterations. This finding suggests that evaluating different attacks under only few iterations may cause misleading comparative results.
163
+
164
+ We next considered a more challenging transfer scenario with no architectural overlap between the source ensemble models and the target model, in order to fully reveal the potential of different attacks. This scenario is also more realistic since it is hard for an attacker to know the specific architecture of a real-world target mode. Figure 3 shows that in this scenario, the Logit largely outperformed CE and ${ \mathrm { P o } } { + } { \mathrm { T r i p } }$ . In addition, the results of both CE and Logit were substantially improved over the single-model transfer results reported in Table 1. However, ${ \mathrm { P o } } { + } { \mathrm { T r i p } }$ performed even worst in some cases maybe because its use of arbitrarily increasing the gradient magnitude has caused the optimization to overshoot the minima in this ensemble transfer scenario where the loss surface is relatively non-smooth due to the model diversity. Note that as in the single transfer scenario, transferring to Inception-v3 is still the most difficult.
165
+
166
+ Table 3: Targeted transfer success rates $( \% )$ when varying the target from the high-ranked class to low.
167
+
168
+ <table><tr><td>Attack</td><td>2nd</td><td>10th</td><td>200th</td><td>500th</td><td>800th</td><td>1000th</td></tr><tr><td>CE</td><td>89.9</td><td>76.7</td><td>49.7</td><td>43.1</td><td>37.0</td><td>25.1</td></tr><tr><td>Po+Trip</td><td>82.6</td><td>77.6</td><td>58.4</td><td>53.6</td><td>49.1</td><td>38.2</td></tr><tr><td>Logit</td><td>83.8</td><td>81.3</td><td>75.0</td><td>71.0</td><td>65.1</td><td>52.8</td></tr></table>
169
+
170
+ A worse-case transfer scenario with lowranked target classes. In conventional security studies, a comprehensive evaluation commonly involves a range of attack scenarios with varied difficulty. Existing work on white-box adversarial attacks [32, 21, 23, 38] has also looked at different cases with varied difficulty regarding the ranking position of the target class in the prediction list of the original image.
171
+
172
+ Specifically, in the best case, the targeted success is basically equal to non-targeted success, i.e., an attack is regarded to be successful as long as it can succeed on any arbitrary target other than the original class. In the average case, the target class is randomly specified, while in the worst case, the target is specified as the lowest-ranked/least-likely class.
173
+
174
+ ![](images/38b602e565fc865a9d8cfba5c4abadd7750ba6e392a528b19f1cb12a999c026c.jpg)
175
+ Figure 4: Successful targeted adversarial images on Google Cloud Vision generated by the Logit attack with ensemble transfer. More examples can be found in Appendix D.
176
+
177
+ Table 4: Non-targeted and targeted transfer success rates $( \% )$ of different attacks on Google Cloud Vision.
178
+
179
+ <table><tr><td></td><td>CE</td><td>Po+Trip</td><td>Logit</td></tr><tr><td>Targeted</td><td>7</td><td>8</td><td>18</td></tr><tr><td>Non-targeted</td><td>51</td><td>44</td><td>51</td></tr></table>
180
+
181
+ However, to the best of our knowledge, current evaluation of transfer-based attacks has been limited to the best and average cases. To address this limitation, we consider a worse-case transfer scenario by varying the target from the highest-ranked class gradually to the lowest one. As can be seen from Table 3, there exists a non-negligible correlation between the ranking position of the target class and the targeted transferability. More specifically, it becomes increasingly difficult as the target moves down the prediction list. We can also observe that the results with higher-ranked targets might not reveal the actual strength of different attacks as in the more realistic, worse cases with lower-ranked targets. In particular, only looking the best case with the highest-ranked target may lead to a misleading conclusion that CE leads to the most effective attack. This finding suggests that a more meaningful evaluation on targeted transferability should further increase difficulty beyond the current best and average cases.
182
+
183
+ Transfer-based attacks on Google Cloud Vision. Most existing work on fooling real-world computer vision systems has been focused on the query-based attacks, where a large number of queries are required [39–41]. Although several recent studies have also explored real-world transfer-based attacks, they were limited to face recognition and the non-targeted attacks [42–44]. In contrast, we applied the simple transferable attacks in the more challenging, targeted case on a more generallyused image recognition system, the Google Cloud Vision API. Specifically, we used the targeted adversarial images generated on the ensemble of all four diverse source models with 300 iterations.
184
+
185
+ The API predicts a list of semantic labels along with confidence scores. Specifically, only the top classes with confidence no lower than $5 0 \%$ are returned, and at most 10 classes are shown. Note that the confidence score here is not a probability (which would sum to one). We measured both the targeted and non-targeted transferability. Since all returned labels are with relatively high confidence $( \geq 5 0 \% )$ ), we do not limit our measure of success rates to only top-1 class. Instead, for non-targeted success, we measured whether or not the ground-truth class appeared in the returned list, while for targeted success, whether or not the target class appeared. Due to the fact that the semantic label set predicted by the API does not exactly correspond to the 1000 ImageNet classes, we treated semantically similar classes as the same class.
186
+
187
+ Table 4 reports the results averaged over 100 images that originally yield correct predictions. As can be seen, in general, achieving targeted transfer success is much more difficult than non-targeted success. In particular, the Logit attack achieved the best targeted transferability, with quasi-imperceptible perturbations shown in Figure 4. Our results reveal the potential vulnerability of Google Cloud Vision against simple transfer-based attacks, which require no query interaction.
188
+
189
+ # 4.2 Simple vs. Resource-Intensive Transferable Attacks
190
+
191
+ In this subsection, we compared simple transferable attacks with state-of-the-art resource-intensive approaches, TTP [16] and FDA(N)+xent [15], which necessitate training target-class-specific models on additional data.
192
+
193
+ Compared with TTP. We compared the Logit attack with the state-of-the-art TTP, which is based on training target-class-specific GANs on additional data. We tested both Logit and TTP on our dataset following the “10-Targets (all-source)” setting in [16]. We chose ResNet50 as the white-box model in the single-model transfer scenario and an ensemble of $\mathrm { R e s N e t } \{ 1 8 , 5 0 , 1 0 1 , 1 5 2 \}$ in the ensemble transfer scenario. DenseNet121 and VGG16 bn are tested as the target models. Note that the same knowledge of the white-box model is available to both attacks but it is leveraged in different ways.
194
+
195
+ Specifically, for the Logit attack, the white-box model is used as a source model for iterative attack optimization, while for TTP, it is used as a discriminator during training the GANs.
196
+
197
+ As shown in Table 5, under the commonly adopted $\epsilon = 1 6$ , the Logit attack can achieve comparable results to TTP in all cases. Specifically, we can observe that the model ensemble is more helpful to Logit than for TTP. This might be because even with the single model as the discriminator, TTP can learn good enough features of target semantics by training with the objective of matching the perturbation and target class distributions with large-scale data. The clearer target semantics learned by TTP can be confirmed by comparing the unbounded perturbations achieved by TTP (e.g., Figure 3 in [16]) with those by the Logit shown in Figure 5.
198
+
199
+ Table 5: Targeted transfer success rates $( \% )$ of Logit vs. TTP in single-model and ensemble transfer scenarios under two norm bounds.
200
+
201
+ <table><tr><td>Bound</td><td>Attack</td><td>D121</td><td>V16</td><td>D121-ens</td><td>V16-ens</td></tr><tr><td rowspan="2">e= 16</td><td>TTP</td><td>79.6</td><td>78.6</td><td>92.9</td><td>89.6</td></tr><tr><td>Logit</td><td>75.9</td><td>72.5</td><td>99.4</td><td>97.7</td></tr><tr><td rowspan="2">e=8</td><td>TTP</td><td>37.5</td><td>46.7</td><td>63.2</td><td>66.2</td></tr><tr><td>Logit</td><td>44.5</td><td>46.8</td><td>92.6</td><td>87.0</td></tr></table>
202
+
203
+ This fact that TTP perturbations heavily rely on semantic patterns of the target class might cause TTP to degrade under lower norm bounds. To validate this assumption, we further compared Logit and TTP under $\epsilon = 8$ . As expected, the Logit attack consistently surpassed TTP, especially with a very large margin in the ensemble transfer scenario. The different comparing results for the two perturbation sizes also suggest that comparing attacks only under a single perturbation size may not reveal their characteristics.
204
+
205
+ Table 6: Targeted transfer success rates $( \% )$ of unbounded adversarial images by different attacks with the same iteration budget.
206
+
207
+ <table><tr><td></td><td>FDA(4) +xent</td><td>CE</td><td>Po+Trip</td><td>Logit</td></tr><tr><td>Res50-→Dense121</td><td>65.8</td><td>69.3</td><td>88.1</td><td>84.1</td></tr><tr><td>Res50→VGG16</td><td>48.1</td><td>54.1</td><td>67.8</td><td>74.2</td></tr></table>
208
+
209
+ ![](images/d0c0f928a7bbb988714c9d633bdb653be7f458932d6324a2cba9b55e81b07fd1.jpg)
210
+ Figure 5: Unbounded adversarial examples that reflect target semantics. More examples can be found in Appendix E.
211
+
212
+ Compared with FDA(N)+xent. We compared the three simple transferable attacks (CE, ${ \mathrm { P o } } { + } { \mathrm { T r i p } }$ and Logit) with $\mathrm { F D A } ^ { ( N ) }$ +xent on generating unbounded adversarial images, in consistence with “distal transfer” in $[ 1 5 ] ^ { 2 }$ . Specifically, the adversarial perturbations were initialized as random Gaussian noise and allowed to be as large as possible. Although such unbounded adversarial images may not be practically compelling, they can provide better isolated indication on transferability by eliminating the dependency on the source images and the bound restrictions. The results were averaged over 4000 image examples, each of which was optimized towards a random target class. As suggested by [15], the MI transfer method was removed since it empirically harms the performance in this unbounded case.
213
+
214
+ Table 6 shows that all the three simple transferable attacks achieved stronger targeted transferability than $\mathrm { F D A } ^ { ( N ) } \mathrm { + x e n t }$ . As can be seen from Figure 5, the unbounded adversarial perturbations can somehow reflect the target semantics. This finding suggests that achieving targeted transferability relies on robust, semantic features [45] that are expected to be learned by various models and also understood by humans. In this way, achieving targeted transferability is fundamentally different from non-targeted transferability, for which attacking non-robust features is known to be sufficient [45]. It is also worth noting that in practical scenarios with small norm bounds, the semantically-aligned perturbations would not be expected to change human judgements.
215
+
216
+ # 4.3 Simple Logit Attack for Targeted UAPs in a Data-Free Manner
217
+
218
+ The above observation that the perturbations can reflect certain target semantics motivates us to apply the Logit attack to achieving targeted Universal Adversarial Perturbations (UAPs), which can drive multiple original images into a specific target class. Existing attempts at achieving targeted UAPs have mainly relied on large-scale optimization over additional data [17–19]. However, the simple Logit attack can be easily extended to generate targeted UAPs in a data-free manner. The only difference from the above transferable Logit attack is that here a mean image (all pixel values set as 0.5 out of [0,1]) is used as the original image.
219
+
220
+ Table 7: Success rates $( \% )$ of targeted UAPs generated by CE and Logit attacks for different models.
221
+
222
+ <table><tr><td>Attack</td><td>Inc-v3</td><td>Res50</td><td>Dense121</td><td>VGG16</td></tr><tr><td>CE</td><td>2.6</td><td>9.2</td><td>8.7</td><td>20.1</td></tr><tr><td>Logit</td><td>4.7</td><td>22.8</td><td>21.8</td><td>65.9</td></tr></table>
223
+
224
+ ![](images/a965d24ae8b97cf0eca96389dc830cba0f3a40618f1425879de5ff1b25bee39a.jpg)
225
+ Figure 6: UAPs $\epsilon = 1 6$ , VGG16) with different classes using CE and Logit. More examples can be found in Appendix F.
226
+
227
+ In our experiment, for each target class, we generated a single targeted UAP vector $\epsilon = 1 6$ ) with 300 iterations and applied it to all 1000 images in our dataset. Table 7 reports the results averaged over all the 1000 ImageNet classes. As can be seen, the logit loss can yield substantial success, remarkably outperforming the CE loss. This can be confirmed by Figure 6, which shows the Logit attack can yield more semantically-aligned perturbations than CE. This observation also supports the claim from [18] that universal perturbations contain dominant features, and images act like noise with respect to perturbations.
228
+
229
+ # 5 Conclusion and Outlook
230
+
231
+ In this paper, we have demonstrated that achieving targeted transferability is not as difficult as current work concludes. Specifically, we find that simple transferable attacks can actually achieve surprisingly strong targeted transferability when given enough iterations for convergence. We have validated the effectiveness of simple transferable attacks in a wide range of transfer scenarios, including three newly-introduced challenging scenarios. These challenging scenarios have better revealed the actual strength of different attacks. In particular, we demonstrate that a very simple Logit attack is superior in all transfer scenarios, achieving even better results than the state-of-the-art resource-intensive approaches. We also show the potential usefulness of the Logit attack for generating targeted universal adversarial perturbations in a data-free manner. Overall, we hope our findings will inspire future research to conduct a more meaningful evaluation on targeted transferability. Our future work will focus on studying why different model architectures yield different transferability. In particular, the very low success rates when targeting Inception-v3 should be explored. Moving forward, there needs to be a more comprehensive discussion on the resource consumption of different attacks from multiple aspects, such as training and inference time, hardware resources, and data size.
232
+
233
+ Strong transferability can obviously benefit black-box applications of adversarial images for social good, such as protecting user privacy [42, 43, 46–48]. In addition, it will also motivate the community to design stronger defenses given our finding that even simple attacks can generate highly transferable adversarial images. It remains a possibility that our methodology may be misused by malicious actors to break legitimate systems. However, we firmly believe that the help that our paper can provide to researchers significantly outweighs the help that it may provide an actual malicious actor.
234
+
235
+ # Acknowledgments
236
+
237
+ This work was carried out on the Dutch national e-infrastructure with the support of SURF Cooperative.
238
+
239
+ # References
240
+
241
+ [1] Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. In ICLR, 2014.
242
+ [2] Ian Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. In ICLR, 2015.
243
+ [3] Yanpei Liu, Xinyun Chen, Chang Liu, and Dawn Song. Delving into transferable adversarial examples and black-box attacks. In ICLR, 2017.
244
+ [4] Yinpeng Dong, Fangzhou Liao, Tianyu Pang, Hang Su, Jun Zhu, Xiaolin Hu, and Jianguo Li. Boosting adversarial attacks with momentum. In CVPR, 2018.
245
+ [5] Wen Zhou, Xin Hou, Yongjun Chen, Mengyun Tang, Xiangqi Huang, Xiang Gan, and Yong Yang. Transferable adversarial perturbations. In ECCV, 2018.
246
+ [6] Yinpeng Dong, Tianyu Pang, Hang Su, and Jun Zhu. Evading defenses to transferable adversarial examples by translation-invariant attacks. In CVPR, 2019.
247
+ [7] Qian Huang, Isay Katsman, Horace He, Zeqi Gu, Serge Belongie, and Ser-Nam Lim. Enhancing adversarial example transferability with an intermediate level attack. In ICCV, 2019.
248
+ [8] Cihang Xie, Zhishuai Zhang, Yuyin Zhou, Song Bai, Jianyu Wang, Zhou Ren, and Alan L Yuille. Improving transferability of adversarial examples with input diversity. In CVPR, 2019.
249
+ [9] Jiadong Lin, Chuanbiao Song, Kun He, Liwei Wang, and John E Hopcroft. Nesterov accelerated gradient and scale invariance for adversarial attacks. In ICLR, 2020.
250
+ [10] Yingwei Li, Song Bai, Yuyin Zhou, Cihang Xie, Zhishuai Zhang, and Alan L Yuille. Learning transferable adversarial examples via ghost networks. In AAAI, 2020.
251
+ [11] Weibin Wu, Yuxin Su, Xixian Chen, Shenglin Zhao, Irwin King, Michael R Lyu, and Yu-Wing Tai. Boosting the transferability of adversarial samples via attention. In CVPR, 2020.
252
+ [12] Lianli Gao, Qilong Zhang, Jingkuan Song, Xianglong Liu, and Heng Tao Shen. Patch-wise attack for fooling deep neural network. In ECCV, 2020.
253
+ [13] Nathan Inkawhich, Wei Wen, Hai Helen Li, and Yiran Chen. Feature space perturbations yield more transferable adversarial examples. In CVPR, 2019.
254
+ [14] Nathan Inkawhich, Kevin Liang, Lawrence Carin, and Yiran Chen. Transferable perturbations of deep feature distributions. In ICLR, 2020.
255
+ [15] Nathan Inkawhich, Kevin J Liang, Binghui Wang, Matthew Inkawhich, Lawrence Carin, and Yiran Chen. Perturbing across the feature hierarchy to improve standard and strict blackbox attack transferability. In NeurIPS, 2020.
256
+ [16] Muzammal Naseer, Salman Khan, Munawar Hayat, Fahad Shahbaz Khan, and Fatih Porikli. On generating transferable targeted perturbations. In ICCV, 2021.
257
+ [17] Omid Poursaeed, Isay Katsman, Bicheng Gao, and Serge Belongie. Generative adversarial perturbations. In CVPR, 2018.
258
+ [18] Chaoning Zhang, Philipp Benz, Tooba Imtiaz, and In So Kweon. Understanding adversarial examples from the mutual influence of images and perturbations. In CVPR, 2020.
259
+ [19] Philipp Benz, Chaoning Zhang, Tooba Imtiaz, and In So Kweon. Double targeted universal adversarial perturbations. In ACCV, 2020.
260
+ [20] Maosen Li, Cheng Deng, Tengjiao Li, Junchi Yan, Xinbo Gao, and Heng Huang. Towards transferable targeted attack. In CVPR, 2020.
261
+ [21] Alexey Kurakin, Ian Goodfellow, and Samy Bengio. Adversarial examples in the physical world. In ICLR, 2017.
262
+ [22] Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. In ICLR, 2018.
263
+ [23] Jer´ ome Rony, Luiz G. Hafemann, Luiz S. Oliveira, Ismail Ben Ayed, Robert Sabourin, and Eric ˆ Granger. Decoupling direction and norm for efficient gradient-based $L _ { 2 }$ adversarial attacks and defenses. In CVPR, 2019.
264
+ [24] Seyed-Mohsen Moosavi-Dezfooli, Alhussein Fawzi, Omar Fawzi, and Pascal Frossard. Universal adversarial perturbations. In CVPR, 2017.
265
+ [25] Konda Reddy Mopuri, Phani Krishna Uppala, and R Venkatesh Babu. Ask, acquire, and attack: Data-free UAP generation using class impressions. In ECCV, 2018.
266
+ [26] Konda Reddy Mopuri, Aditya Ganeshan, and R Venkatesh Babu. Generalizable data-free objective for crafting universal adversarial perturbations. IEEE TPAMI, 41(10):2452–2465, 2018.
267
+ [27] Muzammal Naseer, Salman H Khan, Harris Khan, Fahad Shahbaz Khan, and Fatih Porikli. Cross-domain transferability of adversarial perturbations. In NeurIPS, 2019.
268
+ [28] Yingwei Li, Song Bai, Cihang Xie, Zhenyu Liao, Xiaohui Shen, and Alan L Yuille. Regional homogeneity: Towards learning transferable universal adversarial perturbations against defenses. In ECCV, 2020.
269
+ [29] Nicholas Carlini, Anish Athalye, Nicolas Papernot, Wieland Brendel, Jonas Rauber, Dimitris Tsipras, Ian Goodfellow, Aleksander Madry, and Alexey Kurakin. On evaluating adversarial robustness. In arXiv preprint arXiv:1902.06705, 2019.
270
+ [30] Florian Tramer, Nicholas Carlini, Wieland Brendel, and Aleksander Madry. On adaptive attacks to adversarial example defenses. In NeurIPS, 2020.
271
+ [31] Anish Athalye, Nicholas Carlini, and David Wagner. Obfuscated gradients give a false sense of security: Circumventing defenses to adversarial examples. In ICML, 2018.
272
+ [32] Nicholas Carlini and David Wagner. Towards evaluating the robustness of neural networks. In IEEE S&P, 2017.
273
+ [33] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, 2016.
274
+ [34] Gao Huang, Zhuang Liu, Laurens Van Der Maaten, and Kilian Q Weinberger. Densely connected convolutional networks. In CVPR, 2017.
275
+ [35] Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In ICLR, 2015.
276
+ [36] Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jon Shlens, and Zbigniew Wojna. Rethinking the inception architecture for computer vision. In CVPR, 2016.
277
+ [37] Dongxian Wu, Yisen Wang, Shu-Tao Xia, James Bailey, and Xingjun Ma. Skip connections matter: On the transferability of adversarial examples generated with resnets. In ICLR, 2020.
278
+ [38] Florian Tramer, Alexey Kurakin, Nicolas Papernot, Ian Goodfellow, Dan Boneh, and Patrick \` McDaniel. Ensemble adversarial training: Attacks and defenses. In ICLR, 2018.
279
+ [39] Pin-Yu Chen, Huan Zhang, Yash Sharma, Jinfeng Yi, and Cho-Jui Hsieh. Zoo: Zeroth order optimization based black-box attacks to deep neural networks without training substitute models. In AISec, 2017.
280
+ [40] Wieland Brendel, Jonas Rauber, and Matthias Bethge. Decision-based adversarial attacks: Reliable attacks against black-box machine learning models. In ICLR, 2018.
281
+ [41] Andrew Ilyas, Logan Engstrom, Anish Athalye, and Jessy Lin. Black-box adversarial attacks with limited queries and information. In ICML, 2018.
282
+ [42] Valeriia Cherepanova, Micah Goldblum, Harrison Foley, Shiyuan Duan, John Dickerson, Gavin Taylor, and Tom Goldstein. LowKey: Leveraging adversarial attacks to protect social media users from facial recognition. In ICLR, 2021.
283
+ [43] Arezoo Rajabi, Rakesh B Bobba, Mike Rosulek, Charles Wright, and Wu-chi Feng. On the (im) practicality of adversarial perturbation for image privacy. PoPETs, 2021.
284
+ [44] Shawn Shan, Emily Wenger, Jiayun Zhang, Huiying Li, Haitao Zheng, and Ben Y Zhao. Fawkes: Protecting privacy against unauthorized deep learning models. In USENIX Security, 2020.
285
+ [45] Andrew Ilyas, Shibani Santurkar, Dimitris Tsipras, Logan Engstrom, Brandon Tran, and Aleksander Madry. Adversarial examples are not bugs, they are features. In NeurIPS, 2019.
286
+ [46] Martha Larson, Zhuoran Liu, Simon Brugman, and Zhengyu Zhao. Pixel privacy: Increasing image appeal while blocking automatic inference of sensitive scene information. In MediaEval Multimedia Benchmark Workshop, 2018.
287
+ [47] Zhuoran Liu, Zhengyu Zhao, and Martha Larson. Who’s afraid of adversarial queries? the impact of image modifications on content-based image retrieval. In ICMR, 2019.
288
+ [48] Seong Joon Oh, Mario Fritz, and Bernt Schiele. Adversarial image perturbation for privacy protection a game theory perspective. In ICCV, 2017.
289
+
290
+ # Checklist
291
+
292
+ 1. For all authors...
293
+
294
+ (a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes]
295
+ (b) Did you describe the limitations of your work? [Yes] We described the limitation in the first sentence of the final section.
296
+ (c) Did you discuss any potential negative societal impacts of your work? [Yes] We discuss them at the end of the final section.
297
+ (d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes]
298
+
299
+ 2. If you are including theoretical results...
300
+
301
+ (a) Did you state the full set of assumptions of all theoretical results? [N/A] (b) Did you include complete proofs of all theoretical results? [N/A]
302
+
303
+ 3. If you ran experiments...
304
+
305
+ (a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] The code (including instructions and a link to data we have used) has been submitted as the supplemental material.
306
+ (b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] Our experiments did not involve any model training, but all the algorithm details were specified.
307
+ (c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [No] We fixed the random seed for all the experiments. Now the main randomness comes from the $p$ in the existing method, DI (see Eq. 6). We confirm that it has little impact on the results.
308
+ (d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] We mentioned the run time of the attacks and our hardware settings in Section 4.
309
+
310
+ 4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
311
+
312
+ (a) If your work uses existing assets, did you cite the creators? [Yes] In Section 4.
313
+ (b) Did you mention the license of the assets? [Yes] In a footnote of Section 4.
314
+ (c) Did you include any new assets either in the supplemental material or as a URL? [N/A] We did not use any new assets.
315
+ (d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [Yes] In the same footnote as above.
316
+ (e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [Yes] In the same footnote as above.
317
+
318
+ 5. If you used crowdsourcing or conducted research with human subjects...
319
+
320
+ (a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
321
+ (b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A]
322
+ (c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A]
parse/train/aHK-onEhYRg/aHK-onEhYRg_content_list.json ADDED
@@ -0,0 +1,1401 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "On Success and Simplicity: A Second Look at Transferable Targeted Attacks ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 204,
8
+ 122,
9
+ 795,
10
+ 172
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Zhengyu Zhao, Zhuoran Liu, Martha Larson Radboud University {z.zhao,z.liu,m.larson}@cs.ru.nl ",
17
+ "bbox": [
18
+ 339,
19
+ 226,
20
+ 656,
21
+ 268
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Abstract ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 462,
31
+ 303,
32
+ 535,
33
+ 320
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Achieving transferability of targeted attacks is reputed to be remarkably difficult. The current state of the art has resorted to resource-intensive solutions that necessitate training model(s) for each target class with additional data. In our investigation, we find, however, that simple transferable attacks which require neither model training nor additional data can achieve surprisingly strong targeted transferability. This insight has been overlooked until now, mainly because the widespread practice of attacking with only few iterations has largely limited the attack convergence to optimal targeted transferability. In particular, we, for the first time, identify that a very simple logit loss can largely surpass the commonly adopted crossentropy loss, and yield even better results than the resource-intensive state of the art. Our analysis spans a variety of transfer scenarios, especially including three new, realistic scenarios: an ensemble transfer scenario with little model similarity, a worse-case scenario with low-ranked target classes, and also a real-world attack on the Google Cloud Vision API. Results in these new transfer scenarios demonstrate that the commonly adopted, easy scenarios cannot fully reveal the actual strength of different attacks and may cause misleading comparative results. We also show the usefulness of the simple logit loss for generating targeted universal adversarial perturbations in a data-free manner. Overall, the aim of our analysis is to inspire a more meaningful evaluation on targeted transferability. Code is available at https://github.com/ZhengyuZhao/Targeted-Tansfer. ",
40
+ "bbox": [
41
+ 232,
42
+ 334,
43
+ 766,
44
+ 611
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 Introduction ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 174,
54
+ 635,
55
+ 310,
56
+ 652
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Deep neural networks have achieved remarkable performance in various machine learning tasks, but are known to be vulnerable to adversarial attacks [1]. A key property of adversarial attacks that makes them critical in realistic, black-box scenarios is their transferability [2, 3]. Current work on adversarial transferability has achieved great success for non-targeted attacks [4–12], while several initial attempts [3, 4, 13] at targeted transferability have shown its extreme difficulty. Targeted transferability is known to be much more challenging and worth exploring since it can raise more critical concerns by fooling models into predicting a chosen, highly dangerous target class. ",
63
+ "bbox": [
64
+ 174,
65
+ 666,
66
+ 825,
67
+ 763
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "However, so far state-of-the-art results can only be secured by resource-intensive transferable attacks [14–16]. Specifically, the FDA approach [14, 15] is based on modeling layer-wise feature distributions by training target-class-specific auxiliary classifiers on large-scale labeled data, and then optimizing adversarial perturbations using these auxiliary classifiers from across the deep feature space. The TTP approach [16] is based on training target-class-specific Generative Adversarial Networks (GANs) through global and local distribution matching, and then using the trained generator to directly generate perturbations on any given input image. ",
74
+ "bbox": [
75
+ 174,
76
+ 770,
77
+ 825,
78
+ 867
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "In this paper, we take a second, thorough look at current research on targeted transferability. Our main contribution is the finding that simple transferable attacks [4, 6, 8] that require neither model training nor additional data can actually achieve surprisingly strong targeted transferability. We argue that this insight has been overlooked mainly because current research has unreasonably restricted the attack convergence by only using a small number of iterations (see detailed discussion in Section 3). Another key contribution of our work is, for the first time, demonstrating the general superiority of a very simple logit loss, which even outperforms the resource-intensive state of the art. ",
85
+ "bbox": [
86
+ 174,
87
+ 873,
88
+ 823,
89
+ 901
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "",
96
+ "bbox": [
97
+ 174,
98
+ 90,
99
+ 825,
100
+ 160
101
+ ],
102
+ "page_idx": 1
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "In order to validate the general effectiveness of simple transferable attacks, in Section 4.1, we conduct extensive experiments in a wide range of transfer scenarios. We test the commonly adopted single-model and ensemble transfer scenarios, but also introduce three new scenarios that are more challenging and realistic: an ensemble transfer scenario with little model similarity, a worse-case scenario with low-ranked target classes, and also a real-world attack on the Google Cloud Vision API. Experimental results in these new scenarios suggest that evaluation in only the commonly adopted, easy scenarios cannot reveal the actual strength of different attacks, and may cause misleading comparative results. Additional experiments in Section 4.2 have shown the better performance of the simple transferable attacks than the state-of-the-art resource-intensive approaches. Finally, in Section 4.3, inspired by the observation that the generated perturbations themselves reflect specific target semantics, we use the simple Logit attack to generate targeted Universal Adversarial Perturbations (UAPs) in a data-free manner. In contrast, recent advances in targeted UAPs [16–19] have inevitably relied on large-scale optimization over additional data. ",
107
+ "bbox": [
108
+ 173,
109
+ 166,
110
+ 826,
111
+ 347
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "Overall, we hope our analysis of the weakness of commonly adopted attack settings and transfer scenarios will inspire a more meaningful evaluation on targeted transferability. ",
118
+ "bbox": [
119
+ 173,
120
+ 353,
121
+ 823,
122
+ 381
123
+ ],
124
+ "page_idx": 1
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "2 Related Work ",
129
+ "text_level": 1,
130
+ "bbox": [
131
+ 174,
132
+ 400,
133
+ 323,
134
+ 417
135
+ ],
136
+ "page_idx": 1
137
+ },
138
+ {
139
+ "type": "text",
140
+ "text": "In this section, we review existing simple transferable attacks (Section 2.1), and also recent resourceintensive transferable attacks (Section 2.2). Finally, we discuss related work on generating universal adversarial perturbations. ",
141
+ "bbox": [
142
+ 174,
143
+ 430,
144
+ 825,
145
+ 473
146
+ ],
147
+ "page_idx": 1
148
+ },
149
+ {
150
+ "type": "text",
151
+ "text": "2.1 Simple Transferable Attacks ",
152
+ "text_level": 1,
153
+ "bbox": [
154
+ 176,
155
+ 488,
156
+ 411,
157
+ 503
158
+ ],
159
+ "page_idx": 1
160
+ },
161
+ {
162
+ "type": "text",
163
+ "text": "We refer to transferable attacks that require neither model training nor additional data, but only use iterative optimization on a single (original) image as simple transferable attacks. Simple transferable attacks have been extensively studied in the non-targeted case [4–12], and also attempted in the targeted case [3, 4, 20]. These attacks are commonly built up on the well-known Iterative-Fast Gradient Sign Method (I-FGSM) [21, 22], which can be formulated as: ",
164
+ "bbox": [
165
+ 173,
166
+ 513,
167
+ 825,
168
+ 583
169
+ ],
170
+ "page_idx": 1
171
+ },
172
+ {
173
+ "type": "equation",
174
+ "img_path": "images/be31c403a64489b9e2a812ef51e3f62dd12d1bfb1450f1a815d587025f69605f.jpg",
175
+ "text": "$$\n\\begin{array} { r } { \\pmb { x } _ { 0 } ^ { \\prime } = \\pmb { x } , \\pmb { x } _ { i + 1 } ^ { \\prime } = \\pmb { x } _ { i } ^ { \\prime } - \\alpha \\cdot \\mathrm { s i g n } ( \\nabla _ { \\pmb { x } } J ( \\pmb { x } _ { i } ^ { \\prime } , y _ { t } ) ) , } \\end{array}\n$$",
176
+ "text_format": "latex",
177
+ "bbox": [
178
+ 341,
179
+ 587,
180
+ 655,
181
+ 606
182
+ ],
183
+ "page_idx": 1
184
+ },
185
+ {
186
+ "type": "text",
187
+ "text": "where $\\pmb { x } _ { i } ^ { \\prime }$ denotes the perturbed image in the $i$ -th iteration, and $y _ { t }$ is the target class label. In order to ensure the imperceptibility, the added perturbations are restricted with respect to some $L _ { p }$ distance, i.e., satisfying $\\| { \\pmb x } ^ { \\prime } - { \\pmb x } \\| _ { p } \\overset { \\cdot } { \\le } \\epsilon$ . Current transferable attack methods have commonly adopted the $L _ { \\infty }$ distance, but can also be easily adapted to the $L _ { 2 }$ distance based on an $L _ { 2 }$ normalization [23]. ",
188
+ "bbox": [
189
+ 173,
190
+ 608,
191
+ 825,
192
+ 664
193
+ ],
194
+ "page_idx": 1
195
+ },
196
+ {
197
+ "type": "text",
198
+ "text": "For the loss function $J ( \\cdot , \\cdot )$ , most simple transferable attacks have adopted the Cross-Entropy (CE) loss. However, the CE loss has been recently shown to be insufficient in the targeted case due to its decreasing gradient problem [20]. To address this problem, the authors in [20] have proposed the $\\mathbf { P 0 + T r i p }$ loss, in which the Poincare distance was used to adapt the gradients’ magnitude: ´ ",
199
+ "bbox": [
200
+ 174,
201
+ 670,
202
+ 825,
203
+ 726
204
+ ],
205
+ "page_idx": 1
206
+ },
207
+ {
208
+ "type": "equation",
209
+ "img_path": "images/1a63edf3047001234b651c2fd749e5e711eb6782c4000d4850d9642be953b52b.jpg",
210
+ "text": "$$\nL _ { P o } = d ( { \\pmb u } , { \\pmb v } ) = \\mathrm { a r c c o s h } ( 1 + \\delta ( { \\pmb u } , { \\pmb v } ) ) ,\n$$",
211
+ "text_format": "latex",
212
+ "bbox": [
213
+ 362,
214
+ 729,
215
+ 632,
216
+ 747
217
+ ],
218
+ "page_idx": 1
219
+ },
220
+ {
221
+ "type": "equation",
222
+ "img_path": "images/750e5f32e76c5d7e618d3436108f46c447a57e6e3d930cced8f706ceb19faeae.jpg",
223
+ "text": "$$\n\\delta ( \\pmb { u } , \\pmb { v } ) = \\frac { 2 \\cdot \\| \\pmb { u } - \\pmb { v } \\| _ { 2 } ^ { 2 } } { ( 1 - \\| \\pmb { u } \\| _ { 2 } ^ { 2 } ) ( 1 - \\| \\pmb { v } \\| _ { 2 } ^ { 2 } ) } , \\pmb { u } = \\frac { l ( \\pmb { x } ^ { \\prime } ) } { \\| l ( \\pmb { x } ^ { \\prime } ) \\| } , \\pmb { v } = \\operatorname* { m a x } \\{ \\pmb { v } - \\pmb { \\xi } , 0 \\} ,\n$$",
224
+ "text_format": "latex",
225
+ "bbox": [
226
+ 263,
227
+ 750,
228
+ 733,
229
+ 784
230
+ ],
231
+ "page_idx": 1
232
+ },
233
+ {
234
+ "type": "text",
235
+ "text": "where $\\textbf { \\em u }$ is the normalized logit vector and $\\pmb { v }$ is the one-hot vector with respect to the target class. $\\xi = 1 0 ^ { - 5 }$ is a small constant to ensure numerical stability. The following triplet loss is also integrated for pushing the image away from the original class while pulling it into the target class: ",
236
+ "bbox": [
237
+ 174,
238
+ 786,
239
+ 823,
240
+ 829
241
+ ],
242
+ "page_idx": 1
243
+ },
244
+ {
245
+ "type": "equation",
246
+ "img_path": "images/4cbfad03931f33334e8e905bcae743a5427a8248ecbf8fc3466c644e23d25fbf.jpg",
247
+ "text": "$$\nL _ { T r i p } = [ D ( l ( \\pmb { x } ^ { \\prime } ) , y _ { t } ) - D ( l ( \\pmb { x } ^ { \\prime } ) , y _ { o } ) + \\gamma ] _ { + } , D ( l ( \\pmb { x } ^ { \\prime } ) , y ) = 1 - \\frac { \\| l ( \\pmb { x } ^ { \\prime } ) \\cdot \\pmb { y } \\| _ { 1 } } { \\| l ( \\pmb { x } ^ { \\prime } ) \\| _ { 2 } \\| y \\| _ { 2 } } .\n$$",
248
+ "text_format": "latex",
249
+ "bbox": [
250
+ 233,
251
+ 832,
252
+ 764,
253
+ 866
254
+ ],
255
+ "page_idx": 1
256
+ },
257
+ {
258
+ "type": "text",
259
+ "text": "The overall loss function is then formulated as $L _ { P o + T r i p } = L _ { P o } + \\lambda L _ { T r i p }$ . Note that in the original work, ${ \\mathrm { P o } } { + } { \\mathrm { T r i p } }$ was evaluated in the commonly adopted, easy ensemble transfer scenario, which only involves models with similar architectures. ",
260
+ "bbox": [
261
+ 174,
262
+ 869,
263
+ 823,
264
+ 911
265
+ ],
266
+ "page_idx": 1
267
+ },
268
+ {
269
+ "type": "text",
270
+ "text": "In addition to devising new loss functions, there are other transfer methods [4, 6, 8, 9] developed based on the assumption that preventing the attack optimization from overfitting to the specific source model can improve transferability. Such transfer methods can be easily plugged into different attacks without modifications, in contrast to the above methods that need to apply new attack loss functions. In this paper, we consider three [4, 6, 8] of such transfer methods that have been widely used in the literature, as described in the following text. ",
271
+ "bbox": [
272
+ 173,
273
+ 90,
274
+ 826,
275
+ 175
276
+ ],
277
+ "page_idx": 2
278
+ },
279
+ {
280
+ "type": "text",
281
+ "text": "Momentum Iterative-FGSM (MI-FGSM) [4] integrates a momentum term, which accumulates previous gradients in order to achieve more stable update directions. It can be expressed as: ",
282
+ "bbox": [
283
+ 173,
284
+ 180,
285
+ 823,
286
+ 209
287
+ ],
288
+ "page_idx": 2
289
+ },
290
+ {
291
+ "type": "equation",
292
+ "img_path": "images/c9f3d54775f55c28cd3b312babeefa1fd943313ea9b1b16aaf40260f8fbf98f3.jpg",
293
+ "text": "$$\n{ \\bf \\mathcal { G } } _ { i + 1 } = \\mu \\cdot { \\bf g } _ { i } + \\frac { \\nabla _ { x } J ( { \\pmb x } _ { i } ^ { \\prime } , y _ { t } ) } { \\| \\nabla _ { \\pmb x } J ( { \\pmb x } _ { i } ^ { \\prime } , y _ { t } ) \\| _ { 1 } } , ~ { \\pmb x } _ { i + 1 } ^ { \\prime } = { \\pmb x } _ { i } ^ { \\prime } - \\alpha \\cdot \\mathrm { ~ \\mathrm { s i g n } } ( { \\pmb g } _ { i } ) ,\n$$",
294
+ "text_format": "latex",
295
+ "bbox": [
296
+ 292,
297
+ 214,
298
+ 704,
299
+ 250
300
+ ],
301
+ "page_idx": 2
302
+ },
303
+ {
304
+ "type": "text",
305
+ "text": "where $\\mathbf { \\pmb { g } } _ { i }$ is the accumulated gradients at the $i$ -th iteration, and $\\mu$ is a decay factor. Another similar technique that instead uses the Nesterov accelerated gradient was explored in [9]. ",
306
+ "bbox": [
307
+ 173,
308
+ 253,
309
+ 823,
310
+ 282
311
+ ],
312
+ "page_idx": 2
313
+ },
314
+ {
315
+ "type": "text",
316
+ "text": "Translation Invariant-FGSM (TI-FGSM) [6] randomly translates the input image during attack optimization in order to prevent the attack from overfitting to the specific source model. This approach is inspired by the data augmentation techniques used for preventing overfitting in normal model training. Instead of calculating gradients for multiple translated images separately, the authors have proposed an approximate solution to accelerate the implementation. It is achieved by directly computing locally smoothed gradients on the original image via convolution with a kernel: ",
317
+ "bbox": [
318
+ 173,
319
+ 287,
320
+ 825,
321
+ 372
322
+ ],
323
+ "page_idx": 2
324
+ },
325
+ {
326
+ "type": "equation",
327
+ "img_path": "images/7d6c6d01d0d89cb2bab15cba4916abac3106ced39d1ce1b36b6af7ab0294e130.jpg",
328
+ "text": "$$\n\\pmb { x } _ { i + 1 } ^ { \\prime } = \\pmb { x } _ { i } ^ { \\prime } - \\alpha \\cdot \\mathrm { s i g n } ( W * \\nabla _ { \\pmb { x } } J ( \\pmb { x } _ { i } ^ { \\prime } , y _ { t } ) ) ,\n$$",
329
+ "text_format": "latex",
330
+ "bbox": [
331
+ 356,
332
+ 377,
333
+ 640,
334
+ 395
335
+ ],
336
+ "page_idx": 2
337
+ },
338
+ {
339
+ "type": "text",
340
+ "text": "where $W$ is the convolution kernel used for smoothing. TI-FGSM was originally designed for boosting transferability with adversarially-trained models as target models and has been recently shown that a smaller kernel size should be used when transferring to normally-trained models [12]. ",
341
+ "bbox": [
342
+ 173,
343
+ 400,
344
+ 826,
345
+ 443
346
+ ],
347
+ "page_idx": 2
348
+ },
349
+ {
350
+ "type": "text",
351
+ "text": "Diverse Input-FGSM (DI-FGSM) [8] follows a similar idea to TI-FGSM, but applies random resizing and padding for data augmentation. Another important difference is that DI-FGSM randomizes augmentation parameters over iterations rather than fixing them as in TI-FGSM. The attack optimization of DI-FGSM can be formulated as: ",
352
+ "bbox": [
353
+ 173,
354
+ 446,
355
+ 825,
356
+ 503
357
+ ],
358
+ "page_idx": 2
359
+ },
360
+ {
361
+ "type": "equation",
362
+ "img_path": "images/77e09dab4aa6d52e63ab767f46b1b432ffadd71bf73b2a23ecd3ca3806aa3162.jpg",
363
+ "text": "$$\n\\pmb { x } _ { i + 1 } ^ { \\prime } = \\pmb { x } _ { i } ^ { \\prime } - \\alpha \\cdot \\mathrm { s i g n } \\big ( \\nabla _ { \\pmb { x } } J ( T ( \\pmb { x } _ { i } ^ { \\prime } , p ) , y _ { t } ) \\big ) ,\n$$",
364
+ "text_format": "latex",
365
+ "bbox": [
366
+ 354,
367
+ 508,
368
+ 642,
369
+ 527
370
+ ],
371
+ "page_idx": 2
372
+ },
373
+ {
374
+ "type": "text",
375
+ "text": "where the stochastic transformation $T ( \\pmb { x } _ { i } ^ { \\prime } , p )$ is implemented with probability $p$ at each iteration. In Section 4.1, we demonstrate that simple transfer attacks with these three transfer methods can actually achieve surprisingly strong targeted transferability in a wide range of transfer scenarios. ",
376
+ "bbox": [
377
+ 174,
378
+ 531,
379
+ 825,
380
+ 575
381
+ ],
382
+ "page_idx": 2
383
+ },
384
+ {
385
+ "type": "text",
386
+ "text": "2.2 Resource-Intensive Transferable Attacks ",
387
+ "text_level": 1,
388
+ "bbox": [
389
+ 174,
390
+ 589,
391
+ 496,
392
+ 606
393
+ ],
394
+ "page_idx": 2
395
+ },
396
+ {
397
+ "type": "text",
398
+ "text": "Due to the broad consensus that achieving targeted transferability is extremely difficult, recent researchers have resorted to resource-intensive approaches that require training target-class-specific models on large-scale additional data. Specifically, the Feature Distribution Attack (FDA) [14] follows the same attack pipeline as the above simple transferable attacks, but requires auxiliary classifiers that have been trained on additional labeled data as part of the source model. Each auxiliary classifier is a small, binary, one-versus-all classifier trained for a specific target class at a specific layer. That is to say, the number of auxiliary classifiers is the number of layers that are probed multiplied by the number of target classes that are required to model [14]. The attack loss function of FDA can be formulated as: ",
399
+ "bbox": [
400
+ 173,
401
+ 614,
402
+ 826,
403
+ 739
404
+ ],
405
+ "page_idx": 2
406
+ },
407
+ {
408
+ "type": "equation",
409
+ "img_path": "images/f4923c7f8e58b2b0b9c480dbd21e10f0319e9edb4ee14496f9a47698bf5c20de.jpg",
410
+ "text": "$$\nL _ { F D A } = J ( \\mathcal { F } _ { l } ( \\pmb { x } ^ { \\prime } ) , y _ { t } ) - \\eta \\frac { \\| \\mathcal { F } _ { l } ( \\pmb { x } ^ { \\prime } ) - \\mathcal { F } _ { l } ( \\pmb { x } ) \\| _ { 2 } } { \\| \\mathcal { F } _ { l } ( \\pmb { x } ) \\| _ { 2 } } ,\n$$",
411
+ "text_format": "latex",
412
+ "bbox": [
413
+ 338,
414
+ 736,
415
+ 660,
416
+ 770
417
+ ],
418
+ "page_idx": 2
419
+ },
420
+ {
421
+ "type": "text",
422
+ "text": "where each auxiliary classifiers $F _ { l } ( \\cdot )$ can model the probability that a feature map at layer $l$ is from a specific target class $y _ { t }$ . $\\mathbf { F D A } ^ { ( N ) } \\mathbf { + x e n t }$ [15] extends FDA by aggregating features from $L$ layers and also incorporating the cross-entropy loss $H ( \\cdot , \\cdot )$ of the original network $\\mathcal F ( \\cdot )$ . The loss function of $\\mathrm { F D A } ^ { ( N ) } -$ +xent can be expressed as: ",
423
+ "bbox": [
424
+ 173,
425
+ 772,
426
+ 825,
427
+ 832
428
+ ],
429
+ "page_idx": 2
430
+ },
431
+ {
432
+ "type": "equation",
433
+ "img_path": "images/56188fac2b1edf6e52c58ef3002fbb7eab3150b14eb0cffad847eec9e5b7c9cf.jpg",
434
+ "text": "$$\nL _ { F D A ^ { ( N ) } + x e n t } = \\sum _ { l \\in L } \\lambda _ { l } ( L _ { F D A } + \\gamma H ( \\mathcal { F } ( \\pmb { x } ^ { \\prime } ) , y _ { t } ) ) , \\mathrm { ~ w h e r e ~ } \\sum _ { l \\in L } \\lambda _ { l } = 1 .\n$$",
435
+ "text_format": "latex",
436
+ "bbox": [
437
+ 261,
438
+ 837,
439
+ 735,
440
+ 871
441
+ ],
442
+ "page_idx": 2
443
+ },
444
+ {
445
+ "type": "text",
446
+ "text": "Very recently, TTP [16] has achieved state-of-the-art targeted transferability by directly generating perturbations using target-class-specific GANs that have been trained via matching the distributions of perturbations and a specific target class both globally and locally. Specifically, the global distribution matching is achieved by minimizing the Kullback Leibler (KL) divergence, and the local distribution matching is by enforcing the neighbourhood similarity. In order to further boost the performance, data augmentation techniques, such as image rotation, crop resize, horizontal flip, color jittering and gray-scale transformation, have been applied during model training. We refer the readers to [16] for more technical details of TTP. ",
447
+ "bbox": [
448
+ 174,
449
+ 882,
450
+ 823,
451
+ 912
452
+ ],
453
+ "page_idx": 2
454
+ },
455
+ {
456
+ "type": "text",
457
+ "text": "",
458
+ "bbox": [
459
+ 174,
460
+ 90,
461
+ 825,
462
+ 174
463
+ ],
464
+ "page_idx": 3
465
+ },
466
+ {
467
+ "type": "text",
468
+ "text": "These two transferable attacks, $\\mathrm { F D A } ^ { ( N ) } +$ xent and TTP, are resource intensive due to the use of largescale model training and additional data. However, in Section 4.2, we show that simple transferable attacks, which require neither model training nor additional data, can actually achieve even better performance than them. ",
469
+ "bbox": [
470
+ 176,
471
+ 180,
472
+ 825,
473
+ 236
474
+ ],
475
+ "page_idx": 3
476
+ },
477
+ {
478
+ "type": "text",
479
+ "text": "2.3 Universal Adversarial Perturbations ",
480
+ "text_level": 1,
481
+ "bbox": [
482
+ 176,
483
+ 255,
484
+ 465,
485
+ 270
486
+ ],
487
+ "page_idx": 3
488
+ },
489
+ {
490
+ "type": "text",
491
+ "text": "Previous research has shown the existence of Universal Adversarial Perturbations (UAPs), i.e., a single image perturbation vector that fools a classifier on multiple images [24]. UAPs have been extensively studied for non-targeted attacks [24–28], but also explored in the more challenging, targeted case [17–19]. Although recent studies have shown comparable performance of using reconstructed class impressions [25] or proxy datasets [18] to original training data, large-scale optimization over image data is still necessary for most existing methods. Differently, a data-free approach [26] has been proposed for non-targeted UAPs by iteratively optimizing randomly-initialized perturbations with an objective of disrupting the intermediate features of the model at multiple layers. However, this approach cannot be applied to targeted UAPs because targeted perturbations aim at a specific direction but not random disruption as in the non-targeted case. To bridge this gap, in Section 4.3, we demonstrate how the simple Logit attack can be used to generate targeted UAPs in a data-free manner. ",
492
+ "bbox": [
493
+ 174,
494
+ 281,
495
+ 825,
496
+ 446
497
+ ],
498
+ "page_idx": 3
499
+ },
500
+ {
501
+ "type": "text",
502
+ "text": "3 New Insights into Simple Transferable Attacks ",
503
+ "text_level": 1,
504
+ "bbox": [
505
+ 174,
506
+ 468,
507
+ 594,
508
+ 486
509
+ ],
510
+ "page_idx": 3
511
+ },
512
+ {
513
+ "type": "text",
514
+ "text": "In this section, we revisit simple transferable targeted attacks, and provide new insights into them. Specifically, we demonstrate that simple transferable attacks that are based on existing transfer methods (TI-, MI-, and DI-FGSM) need more iterations to converge, and attacking with a simple logit loss can yield much better results than the commonly adopted Cross-Entropy (CE) loss. ",
515
+ "bbox": [
516
+ 174,
517
+ 501,
518
+ 825,
519
+ 556
520
+ ],
521
+ "page_idx": 3
522
+ },
523
+ {
524
+ "type": "text",
525
+ "text": "3.1 Existing Transfer Methods with More Iterations Yield Good Results ",
526
+ "text_level": 1,
527
+ "bbox": [
528
+ 174,
529
+ 574,
530
+ 684,
531
+ 589
532
+ ],
533
+ "page_idx": 3
534
+ },
535
+ {
536
+ "type": "text",
537
+ "text": "Existing attempts have concluded that using simple transferable attacks to achieve targeted transferability is extremely difficult [3, 4, 13–15]. However, these attempts have been limited to the MI transfer method. Here, we tested all the three transfer methods. As can be seen form Figure 1, integrating all the three transfer methods leads to the best performance. In particular, we find that using only DI can actually yield substantial targeted transferability, while using only TI or MI makes little difference to the original poor targeted transferability. The fact that DI outperforms TI may be explained by the fact that DI randomizes the image augmentation parameters over iterations rather than fixing them as in TI. In this way, the gradients towards the target class become more generic and so avoid overfitting to the white-box source model. MI is essentially different from DI and TI because it can only stabilize update directions but not serve to achieve more accurate gradient directions towards a specific (target) class. ",
538
+ "bbox": [
539
+ 174,
540
+ 599,
541
+ 825,
542
+ 752
543
+ ],
544
+ "page_idx": 3
545
+ },
546
+ {
547
+ "type": "text",
548
+ "text": "As we have pointed out in Section 1, common practice of generating transferable targeted perturbations [13–15, 20] has limited the attack optimization to few iterations (typically $\\leq 2 0$ ). This is somewhat understandable given that extensive research on non-targeted transferability has done the same. However, as can be seen from Figure 1, targeted attacks actually require much more iterations to converge to optimal transferability, in contrast to the fast convergence of non-targeted attacks. This implies that evaluating the targeted transferability under only few iterations is problematic. On the one hand, comparing different optimization processes that have not converged is not meaningful and may cause misleading comparisons (see evidence in Section 4.1). This observation is consistent with the evaluation suggestion in [29] that restricting the number of iterations without verifying the attack convergence is one of the common pitfalls in evaluating adversarial robustness. Several advanced defenses have been defeated by simply increasing the number of iterations [30]. On the other hand, considering the realistic threat model, it is not meaningful to artificially restrict the computational power of a practical attack (e.g., to fewer than several thousand attack iterations) [31]. ",
549
+ "bbox": [
550
+ 174,
551
+ 760,
552
+ 825,
553
+ 911
554
+ ],
555
+ "page_idx": 3
556
+ },
557
+ {
558
+ "type": "image",
559
+ "img_path": "images/fca3998a05bc361aeb1a80acdda333e959d92ecde001d361628249fa2a53dc0c.jpg",
560
+ "image_caption": [
561
+ "Figure 1: Transfer success rates of simple transferable attacks using CE or logit loss in the non-targeted and targeted scenarios. "
562
+ ],
563
+ "image_footnote": [],
564
+ "bbox": [
565
+ 179,
566
+ 104,
567
+ 429,
568
+ 252
569
+ ],
570
+ "page_idx": 4
571
+ },
572
+ {
573
+ "type": "image",
574
+ "img_path": "images/e2c049957a94f6a754c65e1915a056f2b2266017247f535e6e9e8ad04ee22485.jpg",
575
+ "image_caption": [
576
+ "Figure 2: White-box (wb) and black-box (bb) attack performance in terms of the predicted confidence (left, higher is better) and ranking (right, lower is better) of the target class. "
577
+ ],
578
+ "image_footnote": [],
579
+ "bbox": [
580
+ 464,
581
+ 107,
582
+ 805,
583
+ 222
584
+ ],
585
+ "page_idx": 4
586
+ },
587
+ {
588
+ "type": "text",
589
+ "text": "",
590
+ "bbox": [
591
+ 174,
592
+ 311,
593
+ 823,
594
+ 339
595
+ ],
596
+ "page_idx": 4
597
+ },
598
+ {
599
+ "type": "text",
600
+ "text": "3.2 A Simple yet Strong Logit Attack ",
601
+ "text_level": 1,
602
+ "bbox": [
603
+ 176,
604
+ 358,
605
+ 444,
606
+ 373
607
+ ],
608
+ "page_idx": 4
609
+ },
610
+ {
611
+ "type": "text",
612
+ "text": "Existing simple transferable attacks have commonly adopted the Cross-Entropy (CE) loss. However, as pointed out in [20], during the attack optimization, the CE loss will cause the gradient to decrease and tend to vanish as the number of iterations is increased. To address this problem, the ${ \\mathrm { P o } } { + } { \\mathrm { T r i p } }$ loss [20] takes a very aggressive strategy by arbitrarily reversing the decrease of the gradient, i.e., gradually increasing the magnitude of the gradients over iterations. However, we argue that this operation has led to too large step size, and as a result cause the attack optimization to overshoot the minima. Our results in Section 4.1 support this argument by showing that $\\mathrm { P o + }$ Trip even yielded worse results than CE in the ensemble transfer scenario with diverse model architectures, since the loss surface is relatively non-smooth. ",
613
+ "bbox": [
614
+ 173,
615
+ 383,
616
+ 825,
617
+ 510
618
+ ],
619
+ "page_idx": 4
620
+ },
621
+ {
622
+ "type": "text",
623
+ "text": "Here, for the loss function, we eliminate the final softmax function used in the CE loss and just backpropagate the gradients from the logit output: ",
624
+ "bbox": [
625
+ 173,
626
+ 515,
627
+ 823,
628
+ 545
629
+ ],
630
+ "page_idx": 4
631
+ },
632
+ {
633
+ "type": "equation",
634
+ "img_path": "images/33897c3e9b788b67c3c21c812c403cd8d3917f0a4a85d72585f0464eb553e382.jpg",
635
+ "text": "$$\nL _ { L o g i t } = - l _ { t } ( { \\bf r } ^ { \\prime } ) ,\n$$",
636
+ "text_format": "latex",
637
+ "bbox": [
638
+ 436,
639
+ 553,
640
+ 560,
641
+ 570
642
+ ],
643
+ "page_idx": 4
644
+ },
645
+ {
646
+ "type": "text",
647
+ "text": "where $l _ { t } ( \\cdot )$ denotes the logit output with respect to the target class. Although the idea of attacking logits is not new, its superior performance in targeted transferability has not been recognized so far. We also find that using the well-known logit-based loss, C&W [32], yields consistently worse results (see detailed comparisons in Appendix A). Another logit loss that is similar to the C&W loss has also been adopted by [18], but in the task of generating UAPs with large-scale data. ",
648
+ "bbox": [
649
+ 173,
650
+ 579,
651
+ 825,
652
+ 650
653
+ ],
654
+ "page_idx": 4
655
+ },
656
+ {
657
+ "type": "text",
658
+ "text": "Below, we show that this logit loss leads to stronger gradients than the CE loss. As can be observed from Equation 10, the gradient of the CE loss with respect to the target logit input, $z _ { t }$ , will monotonically decrease as the probability of the target class, $p _ { t }$ , increases during attack optimization. In addition, due to the use of the softmax function, $p _ { t }$ will quickly reach 1, and as a result the gradient tends to vanish. This phenomenon makes the attack hard to improve even with more iterations applied. Differently, as shown by Equation 11, the gradient of the logit loss equals a constant. In this way, the attack can keep improving as the number of iterations is increased. In Appendix B, we provide further comparisons on the trends of loss/gradient magnitude and the target logit value over iterations, which show that the logit loss leads to better results than both CE and ${ \\mathrm { P o } } { + } { \\mathrm { T r i p } }$ . ",
659
+ "bbox": [
660
+ 173,
661
+ 655,
662
+ 826,
663
+ 780
664
+ ],
665
+ "page_idx": 4
666
+ },
667
+ {
668
+ "type": "equation",
669
+ "img_path": "images/e2f52929761654b615d40bfbb9a7265e3cfe8acfdc5a926404ecd2f3fa360022.jpg",
670
+ "text": "$$\n\\begin{array} { c } { { { \\cal L } _ { C E } = - 1 \\cdot \\log ( p _ { t } ) = - \\log ( { \\displaystyle \\frac { e ^ { z _ { t } } } { \\sum e ^ { z _ { j } } } } ) = - z _ { t } + \\log ( \\sum _ { } e ^ { z _ { j } } ) , } } \\\\ { { { \\cal \\frac { \\partial L _ { C E } } { \\partial z _ { t } } } = - 1 + { \\displaystyle \\frac { \\partial \\log ( \\sum e ^ { z _ { j } } ) } { \\partial e ^ { z _ { t } } } } \\cdot { \\displaystyle \\frac { \\partial e ^ { z _ { t } } } { \\partial z _ { t } } } = - 1 + { \\displaystyle \\frac { e ^ { z _ { t } } } { \\sum e ^ { z _ { j } } } } = - 1 + p _ { t } . } } \\end{array}\n$$",
671
+ "text_format": "latex",
672
+ "bbox": [
673
+ 281,
674
+ 799,
675
+ 717,
676
+ 869
677
+ ],
678
+ "page_idx": 4
679
+ },
680
+ {
681
+ "type": "equation",
682
+ "img_path": "images/144ea0a28bc0d891cb0a7747bd387f6c935a23d1861053ca4178afeba89782cf.jpg",
683
+ "text": "$$\nL _ { L o g i t } = - z _ { t } , \\frac { \\partial L _ { L o g i t } } { \\partial z _ { t } } = - 1 .\n$$",
684
+ "text_format": "latex",
685
+ "bbox": [
686
+ 393,
687
+ 883,
688
+ 604,
689
+ 915
690
+ ],
691
+ "page_idx": 4
692
+ },
693
+ {
694
+ "type": "table",
695
+ "img_path": "images/9608ea412586a4f98a57cb476ebf0dc47ef6bfda71601d95752fceef5a0bda36.jpg",
696
+ "table_caption": [
697
+ "Table 1: Targeted transfer success rates $( \\% )$ in the single-model transfer scenario. We consider three attacks with different loss functions: cross-entropy (CE), Poincare distance with Triplet loss ´ $( { \\mathrm { P o } } + { \\mathrm { T r i p } } )$ [20], and the logit loss. Results with 20/100/300 iterations are reported. "
698
+ ],
699
+ "table_footnote": [],
700
+ "table_body": "<table><tr><td rowspan=\"2\">Attack</td><td colspan=\"3\">Source Model: Res50</td><td colspan=\"3\">Source Model: Dense121</td></tr><tr><td>→Dense121</td><td>→VGG16</td><td>→Inc-v3</td><td>→Res50</td><td>→VGG16</td><td>→Inc-v3</td></tr><tr><td>CE</td><td>26.9/39.4/42.6</td><td>17.3/27.3/30.4</td><td>2.4/3.8/4.1</td><td>13.1/17.3/19.4</td><td>7.7/10.8/10.9</td><td>1.9/3.3/3.5</td></tr><tr><td>Po+Trip</td><td>26.7/53.0/54.7</td><td>18.8/34.2/34.4</td><td>2.9/6.0/5.9</td><td>10.1/14.7/14.7</td><td>6.7/8.3/7.7</td><td>2.1/3.0/2.7</td></tr><tr><td>Logit</td><td>29.3/63.3/72.5</td><td>24.0/55.7/62.7</td><td>3.0/7.2/9.4</td><td>17.2/39.7/43.7</td><td>13.5/35.3/38.7</td><td>2.7/6.9/7.6</td></tr><tr><td rowspan=\"2\">Attack</td><td colspan=\"3\">Source Model: VGG16</td><td colspan=\"3\">Source Model: Inc-v3</td></tr><tr><td>→Res50</td><td>→Dense121</td><td>→Inc-v3</td><td>→Res50</td><td>→Dense121</td><td>→VGG16</td></tr><tr><td>CE</td><td>0.7/0.4/0.6</td><td>0.5/0.3/0.1</td><td>0/0.1/0</td><td>0.6/2.1/2.4</td><td>0.8/2.5/2.9</td><td>0.7/1.6/2.0</td></tr><tr><td>Po+Trip</td><td>0.6/0.8/0.5</td><td>0.6/0.6/0.7</td><td>0.2/0.1/0.1</td><td>0.6/2.0/2.5</td><td>0.8/3.1/3.3</td><td>0.5/2.1/2.0</td></tr><tr><td>Logit</td><td>3.3/8.7/11.2</td><td>3.6/11.7/13.2</td><td>0.2/0.7/0.9</td><td>0.8/1.6/2.9</td><td>1.2/2.8/5.3</td><td>0.7/2.2/3.7</td></tr></table>",
701
+ "bbox": [
702
+ 176,
703
+ 145,
704
+ 823,
705
+ 297
706
+ ],
707
+ "page_idx": 5
708
+ },
709
+ {
710
+ "type": "text",
711
+ "text": "4 Experimental Evidence on Simple Transferable Attacks ",
712
+ "text_level": 1,
713
+ "bbox": [
714
+ 176,
715
+ 330,
716
+ 669,
717
+ 348
718
+ ],
719
+ "page_idx": 5
720
+ },
721
+ {
722
+ "type": "text",
723
+ "text": "In this section, we provide experimental evidence to show the general effectiveness of simple transferable attacks. Firstly, in Section 4.1, we evaluate the simple transferable attacks in a variety of transfer scenarios, including single-model transfer, ensemble transfer (easy and challenging scenarios), a worse-case scenario with low-ranked target classes, and a real-world attack on the Google Cloud Vision API. Then, in Section 4.2, we compare the simple transferable attacks with two state-of-the-art resource-intensive transferable attacks, $\\mathrm { F D A } ^ { ( N ) } { + } \\mathrm { x e n i }$ [15] and TTP [16]. Finally, in Section 4.3, we apply the Logit attack to achieving targeted UAPs in a data-free manner. ",
724
+ "bbox": [
725
+ 174,
726
+ 364,
727
+ 825,
728
+ 463
729
+ ],
730
+ "page_idx": 5
731
+ },
732
+ {
733
+ "type": "text",
734
+ "text": "Following recent work [14–16, 20], we focus on targeted transferability of ImageNet-like images, which is known to be much more difficult than other data sets (e.g, MNIST and CIFAR-10) with smaller-size images and fewer classes. Specifically, we used the 1000 images from the development set of the ImageNet-Compatible Dataset1, which was introduced along with the NIPS 2017 Competition on Adversarial Attacks and Defenses. All these images are associated with 1000 ImageNet class labels and cropped to $2 9 9 \\times 2 9 9$ before use. Our experiments were run on an NVIDIA Tesla P100 GPU with 12GB of memory. ",
735
+ "bbox": [
736
+ 174,
737
+ 469,
738
+ 825,
739
+ 566
740
+ ],
741
+ "page_idx": 5
742
+ },
743
+ {
744
+ "type": "text",
745
+ "text": "4.1 Simple Transferable Attacks in Various Transfer Scenarios ",
746
+ "text_level": 1,
747
+ "bbox": [
748
+ 174,
749
+ 585,
750
+ 622,
751
+ 601
752
+ ],
753
+ "page_idx": 5
754
+ },
755
+ {
756
+ "type": "text",
757
+ "text": "We tested three different attack losses: CE, ${ \\mathrm { P o + T r i p } }$ [20] and Logit. All attacks used TI, MI, and DI with optimal hyperparameters provided in their original work. Specifically, $\\| \\mathbf { W } \\| _ { 1 } = 5$ was used for ‘TI’ as suggested by [12]. For each image, we used the target label that was officially specified in the dataset. If not mentioned specifically, all attacks were run with 300 iterations to ensure convergence. When being executed with a batch size of 20, the optimization process took about three seconds per image. A moderate step size of 2 was used for all attacks, and the results were shown to be not sensitive to the setting of step size (see evidence in Appendix C). We considered four diverse classifier architectures: ResNet [33], DenseNet [34], VGGNet [35], and Inception [36]. Following the common practice, the perturbations were restricted by $L _ { \\infty }$ norm with $\\epsilon = 1 6$ . ",
758
+ "bbox": [
759
+ 173,
760
+ 612,
761
+ 825,
762
+ 738
763
+ ],
764
+ "page_idx": 5
765
+ },
766
+ {
767
+ "type": "text",
768
+ "text": "Single-model transfer. Table 1 reports the targeted transferability when transferring between each pair of different model architectures. As can be seen, the logit loss outperformed CE and ${ \\mathrm { P o } } { + } { \\mathrm { T r i p } }$ by a large margin in almost all cases. When comparing different model architectures, we can find that the attacks achieved lower performance when transferring from the VGGNet16 or Inception-v3 than from ResNet50 or DenseNet121. This is consistent with the observations in [14, 15] and may be explained by the fact that skip connections in ResNet50 and DenseNet121 boosts transferability [37]. Another finding is that when using Inception-v3 as the target model, the transfer success rates were always low. This might be explained by the heavily engineered nature of the Inception architecture, i.e., the Inception architecture has multiple-size convolution and two auxiliary classifiers. ",
769
+ "bbox": [
770
+ 173,
771
+ 743,
772
+ 825,
773
+ 868
774
+ ],
775
+ "page_idx": 5
776
+ },
777
+ {
778
+ "type": "table",
779
+ "img_path": "images/10d3892245a3347e4e01b2873ff7b232614f9afa3ad38c44c108d5af850625b1.jpg",
780
+ "table_caption": [
781
+ "Table 2: Targeted transfer success rates $( \\% )$ in the commonly adopted, easy ensemble transfer scenario, where the hold-out target model (denoted by $\\cdot \\underline { { \\cdot } }$ ) and the ensemble models share similar architectures. Results with 20/100 iterations are reported. "
782
+ ],
783
+ "table_footnote": [],
784
+ "table_body": "<table><tr><td>Attack</td><td>-Inc-v3</td><td>-Inc-v4</td><td>-IncRes-v2</td><td>-Res50</td><td>-Res101</td><td>-Res152</td><td>Average</td></tr><tr><td>CE</td><td>48.8/85.3</td><td>47.2/83.3</td><td>47.5/83.9</td><td>50.9/89.8</td><td>58.5/93.2</td><td>56.7/90.7</td><td>51.6/87.7</td></tr><tr><td>Po+Trip</td><td>59.3/84.4</td><td>55.0/82.4</td><td>51.4/80.8</td><td>56.9/85.0</td><td>60.5/87.9</td><td>57.6/85.7</td><td>56.8/84.4</td></tr><tr><td>Logit</td><td>56.4/85.5</td><td>52.9/85.8</td><td>54.4/85.1</td><td>57.5/90.0</td><td>64.4/91.4</td><td>61.3/90.8</td><td>57.8/88.1</td></tr></table>",
785
+ "bbox": [
786
+ 176,
787
+ 145,
788
+ 820,
789
+ 217
790
+ ],
791
+ "page_idx": 6
792
+ },
793
+ {
794
+ "type": "image",
795
+ "img_path": "images/fdd5ac90f4750155748fa1b30949e95ff900d67c18e964d24e5a9e0a6a8ee7a4.jpg",
796
+ "image_caption": [
797
+ "Figure 3: Targeted transfer success rates $( \\% )$ in our challenging ensemble transfer scenario, where each hold-out target model shares no similar architecture with the source models used for ensemble. "
798
+ ],
799
+ "image_footnote": [],
800
+ "bbox": [
801
+ 178,
802
+ 239,
803
+ 820,
804
+ 348
805
+ ],
806
+ "page_idx": 6
807
+ },
808
+ {
809
+ "type": "text",
810
+ "text": "Ensemble transfer in both easy and challenging scenarios. A common approach to further boosting transferability is to generate perturbations on an ensemble of white-box source models. Following the common practice, we simply assigned equal weights to all the source models. We first look at the commonly adopted ensemble transfer scenario [4, 6, 20, 38] in which each hold-out target model shares a similar architecture with some of the white-box ensemble models. As can be seen from Table 2, the transfer success rates of all three attacks have got saturated when given enough iterations to converge. As a result, this transfer scenario could not fully reveal the actual strength of different attacks. We can also observe that ${ \\mathrm { P o } } { + } { \\mathrm { T r i p } }$ performed better than the CE loss only when the attack optimization is unreasonably restricted to 20 iterations, but became even worse with enough iterations. This finding suggests that evaluating different attacks under only few iterations may cause misleading comparative results. ",
811
+ "bbox": [
812
+ 174,
813
+ 414,
814
+ 825,
815
+ 565
816
+ ],
817
+ "page_idx": 6
818
+ },
819
+ {
820
+ "type": "text",
821
+ "text": "We next considered a more challenging transfer scenario with no architectural overlap between the source ensemble models and the target model, in order to fully reveal the potential of different attacks. This scenario is also more realistic since it is hard for an attacker to know the specific architecture of a real-world target mode. Figure 3 shows that in this scenario, the Logit largely outperformed CE and ${ \\mathrm { P o } } { + } { \\mathrm { T r i p } }$ . In addition, the results of both CE and Logit were substantially improved over the single-model transfer results reported in Table 1. However, ${ \\mathrm { P o } } { + } { \\mathrm { T r i p } }$ performed even worst in some cases maybe because its use of arbitrarily increasing the gradient magnitude has caused the optimization to overshoot the minima in this ensemble transfer scenario where the loss surface is relatively non-smooth due to the model diversity. Note that as in the single transfer scenario, transferring to Inception-v3 is still the most difficult. ",
822
+ "bbox": [
823
+ 173,
824
+ 573,
825
+ 825,
826
+ 712
827
+ ],
828
+ "page_idx": 6
829
+ },
830
+ {
831
+ "type": "table",
832
+ "img_path": "images/721353a77d0bfde3286cebeecd1ce4b30bd8994f1b50321bc89a3b554b566c56.jpg",
833
+ "table_caption": [
834
+ "Table 3: Targeted transfer success rates $( \\% )$ when varying the target from the high-ranked class to low. "
835
+ ],
836
+ "table_footnote": [],
837
+ "table_body": "<table><tr><td>Attack</td><td>2nd</td><td>10th</td><td>200th</td><td>500th</td><td>800th</td><td>1000th</td></tr><tr><td>CE</td><td>89.9</td><td>76.7</td><td>49.7</td><td>43.1</td><td>37.0</td><td>25.1</td></tr><tr><td>Po+Trip</td><td>82.6</td><td>77.6</td><td>58.4</td><td>53.6</td><td>49.1</td><td>38.2</td></tr><tr><td>Logit</td><td>83.8</td><td>81.3</td><td>75.0</td><td>71.0</td><td>65.1</td><td>52.8</td></tr></table>",
838
+ "bbox": [
839
+ 467,
840
+ 771,
841
+ 821,
842
+ 833
843
+ ],
844
+ "page_idx": 6
845
+ },
846
+ {
847
+ "type": "text",
848
+ "text": "A worse-case transfer scenario with lowranked target classes. In conventional security studies, a comprehensive evaluation commonly involves a range of attack scenarios with varied difficulty. Existing work on white-box adversarial attacks [32, 21, 23, 38] has also looked at different cases with varied difficulty regarding the ranking position of the target class in the prediction list of the original image. ",
849
+ "bbox": [
850
+ 173,
851
+ 718,
852
+ 454,
853
+ 856
854
+ ],
855
+ "page_idx": 6
856
+ },
857
+ {
858
+ "type": "text",
859
+ "text": "Specifically, in the best case, the targeted success is basically equal to non-targeted success, i.e., an attack is regarded to be successful as long as it can succeed on any arbitrary target other than the original class. In the average case, the target class is randomly specified, while in the worst case, the target is specified as the lowest-ranked/least-likely class. ",
860
+ "bbox": [
861
+ 176,
862
+ 857,
863
+ 825,
864
+ 911
865
+ ],
866
+ "page_idx": 6
867
+ },
868
+ {
869
+ "type": "image",
870
+ "img_path": "images/38b602e565fc865a9d8cfba5c4abadd7750ba6e392a528b19f1cb12a999c026c.jpg",
871
+ "image_caption": [
872
+ "Figure 4: Successful targeted adversarial images on Google Cloud Vision generated by the Logit attack with ensemble transfer. More examples can be found in Appendix D. "
873
+ ],
874
+ "image_footnote": [],
875
+ "bbox": [
876
+ 173,
877
+ 87,
878
+ 563,
879
+ 175
880
+ ],
881
+ "page_idx": 7
882
+ },
883
+ {
884
+ "type": "table",
885
+ "img_path": "images/2b5ee2edb9bfaf454baed1249a625ce0099fbb06d0510bec79b55f40990489ef.jpg",
886
+ "table_caption": [
887
+ "Table 4: Non-targeted and targeted transfer success rates $( \\% )$ of different attacks on Google Cloud Vision. "
888
+ ],
889
+ "table_footnote": [],
890
+ "table_body": "<table><tr><td></td><td>CE</td><td>Po+Trip</td><td>Logit</td></tr><tr><td>Targeted</td><td>7</td><td>8</td><td>18</td></tr><tr><td>Non-targeted</td><td>51</td><td>44</td><td>51</td></tr></table>",
891
+ "bbox": [
892
+ 583,
893
+ 156,
894
+ 821,
895
+ 207
896
+ ],
897
+ "page_idx": 7
898
+ },
899
+ {
900
+ "type": "text",
901
+ "text": "However, to the best of our knowledge, current evaluation of transfer-based attacks has been limited to the best and average cases. To address this limitation, we consider a worse-case transfer scenario by varying the target from the highest-ranked class gradually to the lowest one. As can be seen from Table 3, there exists a non-negligible correlation between the ranking position of the target class and the targeted transferability. More specifically, it becomes increasingly difficult as the target moves down the prediction list. We can also observe that the results with higher-ranked targets might not reveal the actual strength of different attacks as in the more realistic, worse cases with lower-ranked targets. In particular, only looking the best case with the highest-ranked target may lead to a misleading conclusion that CE leads to the most effective attack. This finding suggests that a more meaningful evaluation on targeted transferability should further increase difficulty beyond the current best and average cases. ",
902
+ "bbox": [
903
+ 174,
904
+ 260,
905
+ 825,
906
+ 412
907
+ ],
908
+ "page_idx": 7
909
+ },
910
+ {
911
+ "type": "text",
912
+ "text": "Transfer-based attacks on Google Cloud Vision. Most existing work on fooling real-world computer vision systems has been focused on the query-based attacks, where a large number of queries are required [39–41]. Although several recent studies have also explored real-world transfer-based attacks, they were limited to face recognition and the non-targeted attacks [42–44]. In contrast, we applied the simple transferable attacks in the more challenging, targeted case on a more generallyused image recognition system, the Google Cloud Vision API. Specifically, we used the targeted adversarial images generated on the ensemble of all four diverse source models with 300 iterations. ",
913
+ "bbox": [
914
+ 174,
915
+ 419,
916
+ 825,
917
+ 516
918
+ ],
919
+ "page_idx": 7
920
+ },
921
+ {
922
+ "type": "text",
923
+ "text": "The API predicts a list of semantic labels along with confidence scores. Specifically, only the top classes with confidence no lower than $5 0 \\%$ are returned, and at most 10 classes are shown. Note that the confidence score here is not a probability (which would sum to one). We measured both the targeted and non-targeted transferability. Since all returned labels are with relatively high confidence $( \\geq 5 0 \\% )$ ), we do not limit our measure of success rates to only top-1 class. Instead, for non-targeted success, we measured whether or not the ground-truth class appeared in the returned list, while for targeted success, whether or not the target class appeared. Due to the fact that the semantic label set predicted by the API does not exactly correspond to the 1000 ImageNet classes, we treated semantically similar classes as the same class. ",
924
+ "bbox": [
925
+ 173,
926
+ 522,
927
+ 825,
928
+ 647
929
+ ],
930
+ "page_idx": 7
931
+ },
932
+ {
933
+ "type": "text",
934
+ "text": "Table 4 reports the results averaged over 100 images that originally yield correct predictions. As can be seen, in general, achieving targeted transfer success is much more difficult than non-targeted success. In particular, the Logit attack achieved the best targeted transferability, with quasi-imperceptible perturbations shown in Figure 4. Our results reveal the potential vulnerability of Google Cloud Vision against simple transfer-based attacks, which require no query interaction. ",
935
+ "bbox": [
936
+ 174,
937
+ 654,
938
+ 825,
939
+ 723
940
+ ],
941
+ "page_idx": 7
942
+ },
943
+ {
944
+ "type": "text",
945
+ "text": "4.2 Simple vs. Resource-Intensive Transferable Attacks ",
946
+ "text_level": 1,
947
+ "bbox": [
948
+ 173,
949
+ 748,
950
+ 571,
951
+ 763
952
+ ],
953
+ "page_idx": 7
954
+ },
955
+ {
956
+ "type": "text",
957
+ "text": "In this subsection, we compared simple transferable attacks with state-of-the-art resource-intensive approaches, TTP [16] and FDA(N)+xent [15], which necessitate training target-class-specific models on additional data. ",
958
+ "bbox": [
959
+ 176,
960
+ 777,
961
+ 821,
962
+ 821
963
+ ],
964
+ "page_idx": 7
965
+ },
966
+ {
967
+ "type": "text",
968
+ "text": "Compared with TTP. We compared the Logit attack with the state-of-the-art TTP, which is based on training target-class-specific GANs on additional data. We tested both Logit and TTP on our dataset following the “10-Targets (all-source)” setting in [16]. We chose ResNet50 as the white-box model in the single-model transfer scenario and an ensemble of $\\mathrm { R e s N e t } \\{ 1 8 , 5 0 , 1 0 1 , 1 5 2 \\}$ in the ensemble transfer scenario. DenseNet121 and VGG16 bn are tested as the target models. Note that the same knowledge of the white-box model is available to both attacks but it is leveraged in different ways. ",
969
+ "bbox": [
970
+ 174,
971
+ 828,
972
+ 825,
973
+ 911
974
+ ],
975
+ "page_idx": 7
976
+ },
977
+ {
978
+ "type": "text",
979
+ "text": "Specifically, for the Logit attack, the white-box model is used as a source model for iterative attack optimization, while for TTP, it is used as a discriminator during training the GANs. ",
980
+ "bbox": [
981
+ 171,
982
+ 92,
983
+ 823,
984
+ 119
985
+ ],
986
+ "page_idx": 8
987
+ },
988
+ {
989
+ "type": "text",
990
+ "text": "As shown in Table 5, under the commonly adopted $\\epsilon = 1 6$ , the Logit attack can achieve comparable results to TTP in all cases. Specifically, we can observe that the model ensemble is more helpful to Logit than for TTP. This might be because even with the single model as the discriminator, TTP can learn good enough features of target semantics by training with the objective of matching the perturbation and target class distributions with large-scale data. The clearer target semantics learned by TTP can be confirmed by comparing the unbounded perturbations achieved by TTP (e.g., Figure 3 in [16]) with those by the Logit shown in Figure 5. ",
991
+ "bbox": [
992
+ 174,
993
+ 126,
994
+ 485,
995
+ 291
996
+ ],
997
+ "page_idx": 8
998
+ },
999
+ {
1000
+ "type": "table",
1001
+ "img_path": "images/0c3b7293737e512839ffa02751933ba8cf4619297a516d2d25ac0cf2064aff82.jpg",
1002
+ "table_caption": [
1003
+ "Table 5: Targeted transfer success rates $( \\% )$ of Logit vs. TTP in single-model and ensemble transfer scenarios under two norm bounds. "
1004
+ ],
1005
+ "table_footnote": [],
1006
+ "table_body": "<table><tr><td>Bound</td><td>Attack</td><td>D121</td><td>V16</td><td>D121-ens</td><td>V16-ens</td></tr><tr><td rowspan=\"2\">e= 16</td><td>TTP</td><td>79.6</td><td>78.6</td><td>92.9</td><td>89.6</td></tr><tr><td>Logit</td><td>75.9</td><td>72.5</td><td>99.4</td><td>97.7</td></tr><tr><td rowspan=\"2\">e=8</td><td>TTP</td><td>37.5</td><td>46.7</td><td>63.2</td><td>66.2</td></tr><tr><td>Logit</td><td>44.5</td><td>46.8</td><td>92.6</td><td>87.0</td></tr></table>",
1007
+ "bbox": [
1008
+ 500,
1009
+ 193,
1010
+ 821,
1011
+ 270
1012
+ ],
1013
+ "page_idx": 8
1014
+ },
1015
+ {
1016
+ "type": "text",
1017
+ "text": "",
1018
+ "bbox": [
1019
+ 169,
1020
+ 291,
1021
+ 772,
1022
+ 306
1023
+ ],
1024
+ "page_idx": 8
1025
+ },
1026
+ {
1027
+ "type": "text",
1028
+ "text": "This fact that TTP perturbations heavily rely on semantic patterns of the target class might cause TTP to degrade under lower norm bounds. To validate this assumption, we further compared Logit and TTP under $\\epsilon = 8$ . As expected, the Logit attack consistently surpassed TTP, especially with a very large margin in the ensemble transfer scenario. The different comparing results for the two perturbation sizes also suggest that comparing attacks only under a single perturbation size may not reveal their characteristics. ",
1029
+ "bbox": [
1030
+ 174,
1031
+ 311,
1032
+ 825,
1033
+ 395
1034
+ ],
1035
+ "page_idx": 8
1036
+ },
1037
+ {
1038
+ "type": "table",
1039
+ "img_path": "images/1e59a2e2c59015f4dbfbfc7da463c3388bb2665a393071bf30a79aa45ee7c0f4.jpg",
1040
+ "table_caption": [
1041
+ "Table 6: Targeted transfer success rates $( \\% )$ of unbounded adversarial images by different attacks with the same iteration budget. "
1042
+ ],
1043
+ "table_footnote": [],
1044
+ "table_body": "<table><tr><td></td><td>FDA(4) +xent</td><td>CE</td><td>Po+Trip</td><td>Logit</td></tr><tr><td>Res50-→Dense121</td><td>65.8</td><td>69.3</td><td>88.1</td><td>84.1</td></tr><tr><td>Res50→VGG16</td><td>48.1</td><td>54.1</td><td>67.8</td><td>74.2</td></tr></table>",
1045
+ "bbox": [
1046
+ 176,
1047
+ 467,
1048
+ 496,
1049
+ 529
1050
+ ],
1051
+ "page_idx": 8
1052
+ },
1053
+ {
1054
+ "type": "image",
1055
+ "img_path": "images/d0c0f928a7bbb988714c9d633bdb653be7f458932d6324a2cba9b55e81b07fd1.jpg",
1056
+ "image_caption": [
1057
+ "Figure 5: Unbounded adversarial examples that reflect target semantics. More examples can be found in Appendix E. "
1058
+ ],
1059
+ "image_footnote": [],
1060
+ "bbox": [
1061
+ 529,
1062
+ 404,
1063
+ 821,
1064
+ 489
1065
+ ],
1066
+ "page_idx": 8
1067
+ },
1068
+ {
1069
+ "type": "text",
1070
+ "text": "Compared with FDA(N)+xent. We compared the three simple transferable attacks (CE, ${ \\mathrm { P o } } { + } { \\mathrm { T r i p } }$ and Logit) with $\\mathrm { F D A } ^ { ( N ) }$ +xent on generating unbounded adversarial images, in consistence with “distal transfer” in $[ 1 5 ] ^ { 2 }$ . Specifically, the adversarial perturbations were initialized as random Gaussian noise and allowed to be as large as possible. Although such unbounded adversarial images may not be practically compelling, they can provide better isolated indication on transferability by eliminating the dependency on the source images and the bound restrictions. The results were averaged over 4000 image examples, each of which was optimized towards a random target class. As suggested by [15], the MI transfer method was removed since it empirically harms the performance in this unbounded case. ",
1071
+ "bbox": [
1072
+ 173,
1073
+ 545,
1074
+ 825,
1075
+ 671
1076
+ ],
1077
+ "page_idx": 8
1078
+ },
1079
+ {
1080
+ "type": "text",
1081
+ "text": "Table 6 shows that all the three simple transferable attacks achieved stronger targeted transferability than $\\mathrm { F D A } ^ { ( N ) } \\mathrm { + x e n t }$ . As can be seen from Figure 5, the unbounded adversarial perturbations can somehow reflect the target semantics. This finding suggests that achieving targeted transferability relies on robust, semantic features [45] that are expected to be learned by various models and also understood by humans. In this way, achieving targeted transferability is fundamentally different from non-targeted transferability, for which attacking non-robust features is known to be sufficient [45]. It is also worth noting that in practical scenarios with small norm bounds, the semantically-aligned perturbations would not be expected to change human judgements. ",
1082
+ "bbox": [
1083
+ 173,
1084
+ 678,
1085
+ 825,
1086
+ 791
1087
+ ],
1088
+ "page_idx": 8
1089
+ },
1090
+ {
1091
+ "type": "text",
1092
+ "text": "4.3 Simple Logit Attack for Targeted UAPs in a Data-Free Manner ",
1093
+ "text_level": 1,
1094
+ "bbox": [
1095
+ 176,
1096
+ 806,
1097
+ 650,
1098
+ 821
1099
+ ],
1100
+ "page_idx": 8
1101
+ },
1102
+ {
1103
+ "type": "text",
1104
+ "text": "The above observation that the perturbations can reflect certain target semantics motivates us to apply the Logit attack to achieving targeted Universal Adversarial Perturbations (UAPs), which can drive multiple original images into a specific target class. Existing attempts at achieving targeted UAPs have mainly relied on large-scale optimization over additional data [17–19]. However, the simple Logit attack can be easily extended to generate targeted UAPs in a data-free manner. The only difference from the above transferable Logit attack is that here a mean image (all pixel values set as 0.5 out of [0,1]) is used as the original image. ",
1105
+ "bbox": [
1106
+ 174,
1107
+ 832,
1108
+ 823,
1109
+ 887
1110
+ ],
1111
+ "page_idx": 8
1112
+ },
1113
+ {
1114
+ "type": "table",
1115
+ "img_path": "images/45114acf407a882ce07a2bb8bf4c51f360dfb27de75f9d833520195ae23a0216.jpg",
1116
+ "table_caption": [
1117
+ "Table 7: Success rates $( \\% )$ of targeted UAPs generated by CE and Logit attacks for different models. "
1118
+ ],
1119
+ "table_footnote": [],
1120
+ "table_body": "<table><tr><td>Attack</td><td>Inc-v3</td><td>Res50</td><td>Dense121</td><td>VGG16</td></tr><tr><td>CE</td><td>2.6</td><td>9.2</td><td>8.7</td><td>20.1</td></tr><tr><td>Logit</td><td>4.7</td><td>22.8</td><td>21.8</td><td>65.9</td></tr></table>",
1121
+ "bbox": [
1122
+ 176,
1123
+ 190,
1124
+ 465,
1125
+ 239
1126
+ ],
1127
+ "page_idx": 9
1128
+ },
1129
+ {
1130
+ "type": "image",
1131
+ "img_path": "images/a965d24ae8b97cf0eca96389dc830cba0f3a40618f1425879de5ff1b25bee39a.jpg",
1132
+ "image_caption": [
1133
+ "Figure 6: UAPs $\\epsilon = 1 6$ , VGG16) with different classes using CE and Logit. More examples can be found in Appendix F. "
1134
+ ],
1135
+ "image_footnote": [],
1136
+ "bbox": [
1137
+ 529,
1138
+ 88,
1139
+ 821,
1140
+ 241
1141
+ ],
1142
+ "page_idx": 9
1143
+ },
1144
+ {
1145
+ "type": "text",
1146
+ "text": "",
1147
+ "bbox": [
1148
+ 174,
1149
+ 318,
1150
+ 825,
1151
+ 361
1152
+ ],
1153
+ "page_idx": 9
1154
+ },
1155
+ {
1156
+ "type": "text",
1157
+ "text": "In our experiment, for each target class, we generated a single targeted UAP vector $\\epsilon = 1 6$ ) with 300 iterations and applied it to all 1000 images in our dataset. Table 7 reports the results averaged over all the 1000 ImageNet classes. As can be seen, the logit loss can yield substantial success, remarkably outperforming the CE loss. This can be confirmed by Figure 6, which shows the Logit attack can yield more semantically-aligned perturbations than CE. This observation also supports the claim from [18] that universal perturbations contain dominant features, and images act like noise with respect to perturbations. ",
1158
+ "bbox": [
1159
+ 174,
1160
+ 366,
1161
+ 825,
1162
+ 463
1163
+ ],
1164
+ "page_idx": 9
1165
+ },
1166
+ {
1167
+ "type": "text",
1168
+ "text": "5 Conclusion and Outlook ",
1169
+ "text_level": 1,
1170
+ "bbox": [
1171
+ 176,
1172
+ 483,
1173
+ 408,
1174
+ 500
1175
+ ],
1176
+ "page_idx": 9
1177
+ },
1178
+ {
1179
+ "type": "text",
1180
+ "text": "In this paper, we have demonstrated that achieving targeted transferability is not as difficult as current work concludes. Specifically, we find that simple transferable attacks can actually achieve surprisingly strong targeted transferability when given enough iterations for convergence. We have validated the effectiveness of simple transferable attacks in a wide range of transfer scenarios, including three newly-introduced challenging scenarios. These challenging scenarios have better revealed the actual strength of different attacks. In particular, we demonstrate that a very simple Logit attack is superior in all transfer scenarios, achieving even better results than the state-of-the-art resource-intensive approaches. We also show the potential usefulness of the Logit attack for generating targeted universal adversarial perturbations in a data-free manner. Overall, we hope our findings will inspire future research to conduct a more meaningful evaluation on targeted transferability. Our future work will focus on studying why different model architectures yield different transferability. In particular, the very low success rates when targeting Inception-v3 should be explored. Moving forward, there needs to be a more comprehensive discussion on the resource consumption of different attacks from multiple aspects, such as training and inference time, hardware resources, and data size. ",
1181
+ "bbox": [
1182
+ 174,
1183
+ 513,
1184
+ 825,
1185
+ 707
1186
+ ],
1187
+ "page_idx": 9
1188
+ },
1189
+ {
1190
+ "type": "text",
1191
+ "text": "Strong transferability can obviously benefit black-box applications of adversarial images for social good, such as protecting user privacy [42, 43, 46–48]. In addition, it will also motivate the community to design stronger defenses given our finding that even simple attacks can generate highly transferable adversarial images. It remains a possibility that our methodology may be misused by malicious actors to break legitimate systems. However, we firmly believe that the help that our paper can provide to researchers significantly outweighs the help that it may provide an actual malicious actor. ",
1192
+ "bbox": [
1193
+ 174,
1194
+ 713,
1195
+ 825,
1196
+ 797
1197
+ ],
1198
+ "page_idx": 9
1199
+ },
1200
+ {
1201
+ "type": "text",
1202
+ "text": "Acknowledgments ",
1203
+ "text_level": 1,
1204
+ "bbox": [
1205
+ 176,
1206
+ 816,
1207
+ 328,
1208
+ 833
1209
+ ],
1210
+ "page_idx": 9
1211
+ },
1212
+ {
1213
+ "type": "text",
1214
+ "text": "This work was carried out on the Dutch national e-infrastructure with the support of SURF Cooperative. ",
1215
+ "bbox": [
1216
+ 173,
1217
+ 848,
1218
+ 825,
1219
+ 876
1220
+ ],
1221
+ "page_idx": 9
1222
+ },
1223
+ {
1224
+ "type": "text",
1225
+ "text": "References ",
1226
+ "text_level": 1,
1227
+ "bbox": [
1228
+ 174,
1229
+ 90,
1230
+ 267,
1231
+ 106
1232
+ ],
1233
+ "page_idx": 10
1234
+ },
1235
+ {
1236
+ "type": "text",
1237
+ "text": "[1] Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. In ICLR, 2014. \n[2] Ian Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. In ICLR, 2015. \n[3] Yanpei Liu, Xinyun Chen, Chang Liu, and Dawn Song. Delving into transferable adversarial examples and black-box attacks. In ICLR, 2017. \n[4] Yinpeng Dong, Fangzhou Liao, Tianyu Pang, Hang Su, Jun Zhu, Xiaolin Hu, and Jianguo Li. Boosting adversarial attacks with momentum. In CVPR, 2018. \n[5] Wen Zhou, Xin Hou, Yongjun Chen, Mengyun Tang, Xiangqi Huang, Xiang Gan, and Yong Yang. Transferable adversarial perturbations. In ECCV, 2018. \n[6] Yinpeng Dong, Tianyu Pang, Hang Su, and Jun Zhu. Evading defenses to transferable adversarial examples by translation-invariant attacks. In CVPR, 2019. \n[7] Qian Huang, Isay Katsman, Horace He, Zeqi Gu, Serge Belongie, and Ser-Nam Lim. Enhancing adversarial example transferability with an intermediate level attack. In ICCV, 2019. \n[8] Cihang Xie, Zhishuai Zhang, Yuyin Zhou, Song Bai, Jianyu Wang, Zhou Ren, and Alan L Yuille. Improving transferability of adversarial examples with input diversity. In CVPR, 2019. \n[9] Jiadong Lin, Chuanbiao Song, Kun He, Liwei Wang, and John E Hopcroft. Nesterov accelerated gradient and scale invariance for adversarial attacks. In ICLR, 2020. \n[10] Yingwei Li, Song Bai, Yuyin Zhou, Cihang Xie, Zhishuai Zhang, and Alan L Yuille. Learning transferable adversarial examples via ghost networks. In AAAI, 2020. \n[11] Weibin Wu, Yuxin Su, Xixian Chen, Shenglin Zhao, Irwin King, Michael R Lyu, and Yu-Wing Tai. Boosting the transferability of adversarial samples via attention. In CVPR, 2020. \n[12] Lianli Gao, Qilong Zhang, Jingkuan Song, Xianglong Liu, and Heng Tao Shen. Patch-wise attack for fooling deep neural network. In ECCV, 2020. \n[13] Nathan Inkawhich, Wei Wen, Hai Helen Li, and Yiran Chen. Feature space perturbations yield more transferable adversarial examples. In CVPR, 2019. \n[14] Nathan Inkawhich, Kevin Liang, Lawrence Carin, and Yiran Chen. Transferable perturbations of deep feature distributions. In ICLR, 2020. \n[15] Nathan Inkawhich, Kevin J Liang, Binghui Wang, Matthew Inkawhich, Lawrence Carin, and Yiran Chen. Perturbing across the feature hierarchy to improve standard and strict blackbox attack transferability. In NeurIPS, 2020. \n[16] Muzammal Naseer, Salman Khan, Munawar Hayat, Fahad Shahbaz Khan, and Fatih Porikli. On generating transferable targeted perturbations. In ICCV, 2021. \n[17] Omid Poursaeed, Isay Katsman, Bicheng Gao, and Serge Belongie. Generative adversarial perturbations. In CVPR, 2018. \n[18] Chaoning Zhang, Philipp Benz, Tooba Imtiaz, and In So Kweon. Understanding adversarial examples from the mutual influence of images and perturbations. In CVPR, 2020. \n[19] Philipp Benz, Chaoning Zhang, Tooba Imtiaz, and In So Kweon. Double targeted universal adversarial perturbations. In ACCV, 2020. \n[20] Maosen Li, Cheng Deng, Tengjiao Li, Junchi Yan, Xinbo Gao, and Heng Huang. Towards transferable targeted attack. In CVPR, 2020. \n[21] Alexey Kurakin, Ian Goodfellow, and Samy Bengio. Adversarial examples in the physical world. In ICLR, 2017. \n[22] Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. In ICLR, 2018. \n[23] Jer´ ome Rony, Luiz G. Hafemann, Luiz S. Oliveira, Ismail Ben Ayed, Robert Sabourin, and Eric ˆ Granger. Decoupling direction and norm for efficient gradient-based $L _ { 2 }$ adversarial attacks and defenses. In CVPR, 2019. \n[24] Seyed-Mohsen Moosavi-Dezfooli, Alhussein Fawzi, Omar Fawzi, and Pascal Frossard. Universal adversarial perturbations. In CVPR, 2017. \n[25] Konda Reddy Mopuri, Phani Krishna Uppala, and R Venkatesh Babu. Ask, acquire, and attack: Data-free UAP generation using class impressions. In ECCV, 2018. \n[26] Konda Reddy Mopuri, Aditya Ganeshan, and R Venkatesh Babu. Generalizable data-free objective for crafting universal adversarial perturbations. IEEE TPAMI, 41(10):2452–2465, 2018. \n[27] Muzammal Naseer, Salman H Khan, Harris Khan, Fahad Shahbaz Khan, and Fatih Porikli. Cross-domain transferability of adversarial perturbations. In NeurIPS, 2019. \n[28] Yingwei Li, Song Bai, Cihang Xie, Zhenyu Liao, Xiaohui Shen, and Alan L Yuille. Regional homogeneity: Towards learning transferable universal adversarial perturbations against defenses. In ECCV, 2020. \n[29] Nicholas Carlini, Anish Athalye, Nicolas Papernot, Wieland Brendel, Jonas Rauber, Dimitris Tsipras, Ian Goodfellow, Aleksander Madry, and Alexey Kurakin. On evaluating adversarial robustness. In arXiv preprint arXiv:1902.06705, 2019. \n[30] Florian Tramer, Nicholas Carlini, Wieland Brendel, and Aleksander Madry. On adaptive attacks to adversarial example defenses. In NeurIPS, 2020. \n[31] Anish Athalye, Nicholas Carlini, and David Wagner. Obfuscated gradients give a false sense of security: Circumventing defenses to adversarial examples. In ICML, 2018. \n[32] Nicholas Carlini and David Wagner. Towards evaluating the robustness of neural networks. In IEEE S&P, 2017. \n[33] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, 2016. \n[34] Gao Huang, Zhuang Liu, Laurens Van Der Maaten, and Kilian Q Weinberger. Densely connected convolutional networks. In CVPR, 2017. \n[35] Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In ICLR, 2015. \n[36] Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jon Shlens, and Zbigniew Wojna. Rethinking the inception architecture for computer vision. In CVPR, 2016. \n[37] Dongxian Wu, Yisen Wang, Shu-Tao Xia, James Bailey, and Xingjun Ma. Skip connections matter: On the transferability of adversarial examples generated with resnets. In ICLR, 2020. \n[38] Florian Tramer, Alexey Kurakin, Nicolas Papernot, Ian Goodfellow, Dan Boneh, and Patrick \\` McDaniel. Ensemble adversarial training: Attacks and defenses. In ICLR, 2018. \n[39] Pin-Yu Chen, Huan Zhang, Yash Sharma, Jinfeng Yi, and Cho-Jui Hsieh. Zoo: Zeroth order optimization based black-box attacks to deep neural networks without training substitute models. In AISec, 2017. \n[40] Wieland Brendel, Jonas Rauber, and Matthias Bethge. Decision-based adversarial attacks: Reliable attacks against black-box machine learning models. In ICLR, 2018. \n[41] Andrew Ilyas, Logan Engstrom, Anish Athalye, and Jessy Lin. Black-box adversarial attacks with limited queries and information. In ICML, 2018. \n[42] Valeriia Cherepanova, Micah Goldblum, Harrison Foley, Shiyuan Duan, John Dickerson, Gavin Taylor, and Tom Goldstein. LowKey: Leveraging adversarial attacks to protect social media users from facial recognition. In ICLR, 2021. \n[43] Arezoo Rajabi, Rakesh B Bobba, Mike Rosulek, Charles Wright, and Wu-chi Feng. On the (im) practicality of adversarial perturbation for image privacy. PoPETs, 2021. \n[44] Shawn Shan, Emily Wenger, Jiayun Zhang, Huiying Li, Haitao Zheng, and Ben Y Zhao. Fawkes: Protecting privacy against unauthorized deep learning models. In USENIX Security, 2020. \n[45] Andrew Ilyas, Shibani Santurkar, Dimitris Tsipras, Logan Engstrom, Brandon Tran, and Aleksander Madry. Adversarial examples are not bugs, they are features. In NeurIPS, 2019. \n[46] Martha Larson, Zhuoran Liu, Simon Brugman, and Zhengyu Zhao. Pixel privacy: Increasing image appeal while blocking automatic inference of sensitive scene information. In MediaEval Multimedia Benchmark Workshop, 2018. \n[47] Zhuoran Liu, Zhengyu Zhao, and Martha Larson. Who’s afraid of adversarial queries? the impact of image modifications on content-based image retrieval. In ICMR, 2019. \n[48] Seong Joon Oh, Mario Fritz, and Bernt Schiele. Adversarial image perturbation for privacy protection a game theory perspective. In ICCV, 2017. ",
1238
+ "bbox": [
1239
+ 171,
1240
+ 95,
1241
+ 828,
1242
+ 916
1243
+ ],
1244
+ "page_idx": 10
1245
+ },
1246
+ {
1247
+ "type": "text",
1248
+ "text": "",
1249
+ "bbox": [
1250
+ 171,
1251
+ 61,
1252
+ 828,
1253
+ 917
1254
+ ],
1255
+ "page_idx": 11
1256
+ },
1257
+ {
1258
+ "type": "text",
1259
+ "text": "",
1260
+ "bbox": [
1261
+ 171,
1262
+ 90,
1263
+ 828,
1264
+ 381
1265
+ ],
1266
+ "page_idx": 12
1267
+ },
1268
+ {
1269
+ "type": "text",
1270
+ "text": "Checklist ",
1271
+ "text_level": 1,
1272
+ "bbox": [
1273
+ 174,
1274
+ 407,
1275
+ 254,
1276
+ 424
1277
+ ],
1278
+ "page_idx": 12
1279
+ },
1280
+ {
1281
+ "type": "text",
1282
+ "text": "1. For all authors... ",
1283
+ "bbox": [
1284
+ 214,
1285
+ 435,
1286
+ 339,
1287
+ 449
1288
+ ],
1289
+ "page_idx": 12
1290
+ },
1291
+ {
1292
+ "type": "text",
1293
+ "text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] \n(b) Did you describe the limitations of your work? [Yes] We described the limitation in the first sentence of the final section. \n(c) Did you discuss any potential negative societal impacts of your work? [Yes] We discuss them at the end of the final section. \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
1294
+ "bbox": [
1295
+ 238,
1296
+ 455,
1297
+ 825,
1298
+ 574
1299
+ ],
1300
+ "page_idx": 12
1301
+ },
1302
+ {
1303
+ "type": "text",
1304
+ "text": "2. If you are including theoretical results... ",
1305
+ "bbox": [
1306
+ 214,
1307
+ 579,
1308
+ 493,
1309
+ 593
1310
+ ],
1311
+ "page_idx": 12
1312
+ },
1313
+ {
1314
+ "type": "text",
1315
+ "text": "(a) Did you state the full set of assumptions of all theoretical results? [N/A] (b) Did you include complete proofs of all theoretical results? [N/A] ",
1316
+ "bbox": [
1317
+ 238,
1318
+ 598,
1319
+ 738,
1320
+ 630
1321
+ ],
1322
+ "page_idx": 12
1323
+ },
1324
+ {
1325
+ "type": "text",
1326
+ "text": "3. If you ran experiments... ",
1327
+ "bbox": [
1328
+ 212,
1329
+ 635,
1330
+ 393,
1331
+ 648
1332
+ ],
1333
+ "page_idx": 12
1334
+ },
1335
+ {
1336
+ "type": "text",
1337
+ "text": "(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] The code (including instructions and a link to data we have used) has been submitted as the supplemental material. \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] Our experiments did not involve any model training, but all the algorithm details were specified. \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [No] We fixed the random seed for all the experiments. Now the main randomness comes from the $p$ in the existing method, DI (see Eq. 6). We confirm that it has little impact on the results. \n(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] We mentioned the run time of the attacks and our hardware settings in Section 4. ",
1338
+ "bbox": [
1339
+ 238,
1340
+ 655,
1341
+ 825,
1342
+ 856
1343
+ ],
1344
+ "page_idx": 12
1345
+ },
1346
+ {
1347
+ "type": "text",
1348
+ "text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
1349
+ "bbox": [
1350
+ 209,
1351
+ 861,
1352
+ 823,
1353
+ 876
1354
+ ],
1355
+ "page_idx": 12
1356
+ },
1357
+ {
1358
+ "type": "text",
1359
+ "text": "(a) If your work uses existing assets, did you cite the creators? [Yes] In Section 4. \n(b) Did you mention the license of the assets? [Yes] In a footnote of Section 4. \n(c) Did you include any new assets either in the supplemental material or as a URL? [N/A] We did not use any new assets. \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [Yes] In the same footnote as above. \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [Yes] In the same footnote as above. ",
1360
+ "bbox": [
1361
+ 236,
1362
+ 881,
1363
+ 779,
1364
+ 911
1365
+ ],
1366
+ "page_idx": 12
1367
+ },
1368
+ {
1369
+ "type": "text",
1370
+ "text": "",
1371
+ "bbox": [
1372
+ 238,
1373
+ 92,
1374
+ 825,
1375
+ 179
1376
+ ],
1377
+ "page_idx": 13
1378
+ },
1379
+ {
1380
+ "type": "text",
1381
+ "text": "5. If you used crowdsourcing or conducted research with human subjects... ",
1382
+ "bbox": [
1383
+ 214,
1384
+ 184,
1385
+ 705,
1386
+ 199
1387
+ ],
1388
+ "page_idx": 13
1389
+ },
1390
+ {
1391
+ "type": "text",
1392
+ "text": "(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A] \n(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A] \n(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A] ",
1393
+ "bbox": [
1394
+ 238,
1395
+ 203,
1396
+ 825,
1397
+ 292
1398
+ ],
1399
+ "page_idx": 13
1400
+ }
1401
+ ]
parse/train/aHK-onEhYRg/aHK-onEhYRg_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/aHK-onEhYRg/aHK-onEhYRg_model.json ADDED
The diff for this file is too large to render. See raw diff