ZHANGYUXUAN-zR commited on
Commit
3e0508c
·
verified ·
1 Parent(s): 371b6c4

Add files using upload-large-folder tool

Browse files
parse/train/AHOs7Sm5H7R/AHOs7Sm5H7R_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/AHOs7Sm5H7R/AHOs7Sm5H7R_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/HJxJ2h4tPr/HJxJ2h4tPr.md ADDED
@@ -0,0 +1,375 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # HIGHRES-NET: MULTI-FRAME SUPER-RESOLUTION BY RECURSIVE FUSION
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ Generative deep learning has sparked a new wave of Super-Resolution (SR) algorithms that enhance single images with impressive aesthetic results, albeit with imaginary details. Multi-frame Super-Resolution (MFSR) offers a more grounded approach to the ill-posed problem, by conditioning on multiple low-resolution views. This is important for satellite monitoring of human impact on the planet – from deforestation, to human rights violations – that depend on reliable imagery. To this end, we present HighRes-net, the first deep learning approach to MFSR that learns its sub-tasks in an end-to-end fashion: (i) co-registration, (ii) fusion, (iii) up-sampling, and (iv) registration-at-the-loss. Co-registration of low-res views is learned implicitly through a reference-frame channel, with no explicit registration mechanism. We learn a global fusion operator that is applied recursively on an arbitrary number of low-res pairs. We introduce a registered loss, by learning to align the SR output to a ground-truth through ShiftNet. We show that by learning deep representations of multiple views, we can super-resolve low-resolution signals and enhance Earth observation data at scale. Our approach recently topped the European Space Agency’s MFSR competition on real-world satellite imagery.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ Multiple low-resolution images collectively contain more information than any individual lowresolution image, due to minor geometric displacements, e.g. shifts, rotations, atmospheric turbulence, and instrument noise. Multi-Frame Super-Resolution (MFSR) (Tsai, 1984) aims to reconstruct hidden high-resolution details from multiple low-resolution views of the same scene. Single Image Super-Resolution (SISR), as a special case of MFSR, has attracted much attention in the computer vision, machine learning and deep learning communities in the last 5 years, with neural networks learning complex image priors to upsample and interpolate images (Xu et al., 2014; Srivastava et al., 2015; He et al., 2016). However, in the meantime not much work has explored the learning of representations for the more general problem of MFSR to address the additional challenges of co-registration and fusion of multiple low-resolution images.
12
+
13
+ This paper explores how Multi-Frame Super-Resolution (MFSR) can benefit from recent advances in learning representations with neural networks. To the best of our knowledge, this work is the first to introduce a deep-learning approach that solves the co-registration, fusion and registration-at-theloss problems in an end-to-end learning framework.
14
+
15
+ Prompting this line of research is the increasing drive towards planetary-scale Earth observation to monitor the environment and human rights violations. Such observation can be used to inform policy, achieve accountability and direct on-the-ground action, e.g. within the framework of the Sustainable Development Goals (Jensen & Campbell, 2019).
16
+
17
+ Nomenclature Registration is the problem of estimating the relative geometric differences between two images (e.g. due to shifts, rotations, deformations). Fusion, in the MFSR context, is the problem of mapping multiple low-res representations into a single representation. By coregistration, we mean the problem of registering all low-resolution views to improve their fusion. By registration-at-the-loss, we mean the problem of registering the super-resolved reconstruction to the high-resolution ground-truth prior to computing the loss. This gives rise to the notion of a registered loss.
18
+
19
+ Co-registration of multiple images is required for longitudinal studies of land change and environmental degradation. The fusion of multiple images is key to exploiting cheap, high-revisit-frequency satellite imagery, but of low-resolution, moving away from the analysis of infrequent and expensive high-resolution images. Finally, beyond fusion itself, super-resolved generation is required throughout the technical stack: both for labeling, but also for human oversight (Drexler, 2019) demanded by legal context (Harris et al., 2018).
20
+
21
+ # Summary of contributions
22
+
23
+ • HighRes-net: We propose a deep architecture that learns to fuse an arbitrary number of lowresolution frames with implicit co-registration through a reference-frame channel.
24
+ • ShiftNet: Inspired by HomographyNet (DeTone et al., 2016), we define a model that learns to register and align the super-resolved output of HighRes-net, using ground-truth high-resolution frames as supervision. This registration-at-the-loss mechanism enables more accurate feedback from the loss function into the fusion model, when comparing a super-resolved output to a ground truth high resolution image. Otherwise, a MFSR model would naturally yield blurry outputs to compensate for the lack of registration, to correct for sub-pixel shifts and account for misalignments in the loss.
25
+ • By combining the two components above, we contribute the first architecture to learn fusion and registration end-to-end.
26
+ • We test and compare our approach to several baselines on real-world imagery from the PROBA-V satellite of ESA. Our performance has topped the Kelvins competition on MFSR, organized by the Advanced Concepts Team of ESA (Martens et al. ¨ , 2019) (see section 5).
27
+
28
+ ![](images/57f84aa8ae2163a66792c1b839d4633dbbc9d02c4c6432e1c23677304399db54.jpg)
29
+ Figure 1: HighRes-net combines many low-resolution images (300 meters/pixel) into one image of superior resolution. The same site shot in high-resolution $( { 1 0 0 } \mathrm { { m } / { p i x } ) }$ is also shown for reference. Source of low-res and high-res: imgset1087 and imgset0285 of PROBA-V dataset, see section 5.
30
+
31
+ The rest of the paper is divided as follows: in Section 2, we discuss related work on SISR and MFSR; Section 3 outlines HighRes-net and section 4 presents ShiftNet, a differentiable registration component that drives our registered loss mechanism during end-to-end training. We present our results in section 5, and in Section 6 we discuss some opportunities for and limitations and risks of super-resolution.
32
+
33
+ # 2 BACKGROUND
34
+
35
+ # 2.1 MULTI-FRAME SUPER-RESOLUTION
36
+
37
+ How much detail can we resolve in the digital sample of some natural phenomenon? Nyquist (1928) observed that it depends on the instrument’s sampling rate and the oscillation frequency of the underlying natural signal. Shannon (1949) built a sampling theory that explained Nyquist’s observations when the sampling rate is constant (uniform sampling) and determined the conditions of aliasing in a sample. Figure 2 illustrates this phenomenon.
38
+
39
+ ![](images/19931371c44718352413422be81c54ee05750a8e418aac479f81249e3b2d120f.jpg)
40
+ high-resolutioDFT magnitude F fHR Figure 2: Top: A chirp harmonic oscillator $\sin \left( 2 \pi \omega ( t ) t \right)$ equency 1 kHz DFT magnitudeF fLR , with instantaneous frequency $\omega ( t )$ . Left: The shape of the high-resolution sample resembles the underlying chirp signal. Right: Close to $t = 1$ , the apparent −400 −200 0 200 400 frequency (Hz) −100 −50 0 50 100 frequency (Hz)frequency of the low-resolution sample does not match that of the chirp. This is an example of aliasing (shown 0.0 0.2 0.4 0.6 0.8 1.0 t (sec) with red at its most extreme), and it happens when the sampling rate falls below the Nyquist rate, $s _ { N } = 2 \cdot s _ { B }$ , where $s _ { B }$ is the highest non-zero frequency of the signal.
41
+
42
+ − − frequency (Hz) Sampling at high-resolution (left) maintains the frequency of the chirp signal (top). Sampling at a lower resolution (right), this apparent chirped frequency is lost due to aliasing, which means that the lower-resolution sample has a fundamentally smaller capacity for resolving the information of the natural signal, and a higher sampling rate can resolve more information.
43
+
44
+ Shannon’s sampling theory has since been generalized for multiple interleaved sampling frames (Papoulis, 1977; Marks, 2012). One result of the generalized sampling theory is that we can go beyond the Nyquist limit of any individual uniform sample by interleaving several uniform samples taken concurrently. When an image is down-sampled to a lower resolution, its high-frequency details are lost permanently and cannot be recovered from any image in isolation. However, by combining multiple low-resolution images, it becomes possible to recover the original scene at a higher resolution.
45
+
46
+ Moreover, different low-resolution samples may be sampled at different phases, such that the same high-resolution frequency information will be packed with a phase shift. As a consequence, when multiple low-resolution samples are available, the fundamental challenge of MFSR is de-aliasing, i.e. disentangling the high-frequency components (Tsai, 1984).
47
+
48
+ The first work on MSFR (Tsai, 1984) considered the reconstruction of a high-resolution image as a fusion of co-registered low-resolution images in the Fourier domain. With proper registration and fusion (Irani & Peleg, 1991; Fitzpatrick et al., 2000; Capel & Zisserman, 2001), a composite super-resolved image can reveal some of the original high-frequency detail that would not have been accessible from single low-resolution image. In this work, we introduce HighRes-Net, which aims to provide an end-to-end deep learning framework for MFSR settings.
49
+
50
+ Relation to Video and Stereo Super-Resolution While there are obvious similarities to Video SR (Tao et al., 2017; Sajjadi et al., 2018; Yan et al., 2019; Wang et al., 2019b) and Stereo SR (Wang et al., 2019d) (Wang et al., 2019a), the setting of this work differs in several ways: HighResnet learns to super-resolve sets and not sequences of low-res views. Video SR relies on motion estimation from a sequence of observations. Also, prediction at time $t = T$ relies on predictions at $t < T$ (autoregressive approach). Whereas in our case, we predict a single image from an unordered set of low-res inputs. Also, the low-res views are multi-temporal (taken at different times).
51
+
52
+ Video SR methods assume that the input is a temporal sequence of frames. Motion or optical flow can be estimated to super-resolve the sequences of frames. In this work, we do not assume low-res inputs to be ordered in time. Our training input is a set of low-res views with unknown timestamps and our target output is a single image — not another sequence.
53
+
54
+ # 2.2 A PROBABILISTIC APPROACH
55
+
56
+ In addition to aliasing, MFSR deals with random processes like noise, blur, geometric distortions – all contributing to random low-resolution images. Traditionally, MFSR methods assume a-priori knowledge of the data generating motion model, blur kernel, noise level and degradation process; see for example, Pickup et al. (2006). Given multiple low-resolution images, the challenge of MFSR is to reconstruct a plausible image of higher-resolution that could have generated the observed lowresolution images. Optimization methods aim to improve an initial guess by minimizing an error between simulated and observed low-resolution images. These methods traditionally model the additive noise $\epsilon$ and prior knowledge about natural images explicitly, to constrain the parameter search space and derive objective functions, using e.g. Total Variation (Chan & Wong, 1998; Farsiu et al., 2004), Tikhonov regularization (Nguyen et al., 2001) or Huber potential (Pickup et al., 2006) to define appropriate constraints on images.
57
+
58
+ ![](images/60f3e8ff55b1438a0126fff317ac8933a2245b72bfd38df5a060692c6d6872ef.jpg)
59
+ Figure 3: Schematic of the full processing pipeline, trained end-to-end. At test time, only HighRes-net is used. (a) HighRes-net: In the Encode stage, an arbitrary number of LR views are paired with the reference low-res image (the median low-res in this work). Each LR view–reference pair is encoded into a view-specific latent representation. The LR encodings are fused recursively into a single global encoding. In the Decode stage, the global representation is upsampled by a certain zoom factor $\times 3$ in this work). Finally, the superresolved image is reconstructed by combining all channels of the upsampled global encoding. (b) Registered loss: Generally, the reconstructed SR will be shifted with respect to the ground-truth HR. ShiftNet learns to estimate the $( \Delta x , \Delta y )$ shift that improves the loss. Lanczos resampling: $( \Delta x , \Delta y )$ define two 1D shifting Lanczos kernels that translate the SR by a separable convolution.
60
+
61
+ In some situations, the image degradation process is complex or not available, motivating the development of nonparametric strategies. Patch-based methods learn to form high-resolution images directly from low-resolution patches, e.g. with $\mathbf { k }$ -nearest neighbor search (Freeman et al., 2002; Chang et al., 2004), sparse coding and sparse dictionary methods (Yang et al., 2010; Zeyde et al., 2010; Kim & Kwon, 2010)). The latter represents images in an over-complete basis and allows for sharing a prior across multiple sites.
62
+
63
+ In this work, we are particularly interested in super-resolving satellite imagery. Much of the recent work in Super-Resolution has focused on SISR for natural images. For instance, Dong et al. (2014) showed that training a CNN for super-resolution is equivalent to sparse coding and dictionary based approaches. Kim et al. (2016) proposed an approach to SISR using recursion to increase the receptive field of a model while maintaining capacity by sharing weights. Many more networks and learning strategies have recently been introduced for SISR and image deblurring. Benchmarks for SISR (Timofte et al., 2018), differ mainly in their upscaling method, network design, learning strategies, etc. We refer the reader to (Wang et al., 2019d) for a more comprehensive review.
64
+
65
+ Few deep-learning approaches have considered the more general MFSR setting and attempted to address it in an end-to-end learning framework. Reecently, Kawulok et al. (2019) proposed a shiftand-add method and suggested “including image registration” in the learning process as future work.
66
+
67
+ In the following sections, we describe our approach to solving both aspects of the registration problem – co-registration and registration-at-the-loss – in a memory-efficient manner.
68
+
69
+ # 3 HIGHRES-NET: MFSR BY RECURSIVE FUSION
70
+
71
+ In this section, we present HighRes-net, a neural network for multi-frame super-resolution inside a single spectral band (greyscale images), using joint co-registration and fusion of multiple lowresolution views in an end-to-end learning framework. From a high-level, HighRes-net consists of an encoder-decoder architecture and can be trained by stochastic gradient descent using highresolution ground truth as supervision, as shown in Figure 3.
72
+
73
+ Notation We denote by $\theta$ the parameters of HighRes-net trained for a given upscaling factor $\gamma$ . $L R _ { v , i } \ \in \ \mathbb { R } ^ { C \times W \times H }$ is one of a set of $K$ low-resolution views from the same site $v$ , where $C$ , $W$ and $H$ are the number of input channels, width and height of $L R _ { v , i }$ , respectively. We denote by $S R _ { v } ^ { \theta } = F _ { \theta } ^ { \gamma } \left( L R _ { v , 1 } . \right.$ , . . . , $L R _ { v , K } )$ , the output of HighRes-net and by $H R _ { v } \in \mathbb R ^ { C \times \gamma W \times \gamma H }$ a ground truth high-resolution image. We denote by $[ T _ { 1 } , T _ { 2 } ]$ the concatenation of two images channelwise. In the following we supress the index $v$ over sites for clarity.
74
+
75
+ HighRes-Net consists of three main steps: (1) encoding, which learns relevant features associated with each low-resolution view, (2) fusion, which merges relevant information from views within the same scene, and (3) decoding, which proposes a high-resolution reconstruction from the fused summary.
76
+
77
+ # 3.1 ENCODE, FUSE, DECODE
78
+
79
+ Embed, Encode The core assumption of MFSR is that the low-resolution image set contains collectively more information than any single low-resolution image alone, due to differences in photometric or spatial coverage for instance. However, the redundant low frequency information in multiple views can hinder the training and test performance of a MFSR model. We thus compute a reference image ref as a shared representation for multiple low-resolution views $\left( L R _ { i } \right) _ { i = 1 } ^ { K }$ and embed each image jointly with ref. This highlights differences across the multiple views (Sanchez et al., 2019), and potentially allows HighRes-net to focus on difficult high-frequency features such as crop boundaries and rivers during super-resolution. The shared representation or reference image intuitively serves as an anchor for implicitly aligning and denoising multiple views in deeper layers. We refer to this mechanism as implicit $c o$ -registration.
80
+
81
+ HighRes-net’s embedding layer $\operatorname { e m b } _ { \theta }$ consists of a convolutional layer and two residual blocks with PReLu activations (He et al., 2015) and is shared across all views. The embedded hidden states $s _ { i } ^ { 0 }$ are computed in parallel as follows:
82
+
83
+ $$
84
+ \begin{array} { r l } & { r e f ( c , i , j ) = \operatorname * { m e d i a n } \left( L R _ { 1 } ( c , i , j ) , \mathrm { ~ } \ldots , \mathrm { ~ } L R _ { K } ( c , i , j ) \right) , \mathrm { s u c h ~ t h a t } r e f \in \mathbb { R } ^ { C \times W \times H } } \\ & { \qquad \quad s _ { i } ^ { 0 } = \operatorname { e m b } _ { \theta } \left( \left[ L R _ { i } , \mathrm { ~ } r e f \right] \right) \in \mathbb { R } ^ { C _ { h } \times W \times H } , } \end{array}
85
+ $$
86
+
87
+ where $C _ { h }$ denotes the channels of the hidden state.
88
+
89
+ The imageset is padded if the number of low-res views $K ^ { \prime }$ is not a power of 2: we pad the set with dummy zero-valued views, such that the new size of the imageset $K$ is the next power of 2. See Algorithm 1, line 1.
90
+
91
+ Fuse The embedded hidden states $s _ { i } ^ { 0 }$ are then fused recursively, halving by two the number of low-resolution states at each fusion step $t$ , as shown in Figure 4. Given a pair of hidden states $s _ { i } ^ { t } , s _ { j } ^ { t }$ HighRes-net computes a new representation:
92
+
93
+ $$
94
+ \begin{array} { r l } & { \left[ { \tilde { s } } _ { i } ^ { t } , \ { \tilde { s } } _ { j } ^ { t } \right] = \left[ s _ { i } ^ { t } , \ s _ { j } ^ { t } \right] + g _ { \theta } \left( \left[ s _ { i } ^ { t } , \ s _ { j } ^ { t } \right] \right) \in \mathbb { R } ^ { 2 C _ { h } \times W \times H } } \\ & { \quad \quad s _ { i } ^ { t + 1 } = s _ { i } ^ { t } + \alpha _ { j } f _ { \theta } \left( \tilde { s } _ { i } ^ { t } , \ { \tilde { s } } _ { j } ^ { t } \right) \in \mathbb { R } ^ { C _ { h } \times W \times H } , } \end{array}
95
+ $$
96
+
97
+ where $\tilde { s } _ { i } ^ { t } , ~ \tilde { s } _ { j } ^ { t }$ are intermediate representations; $g _ { \theta }$ is a shared-representation within an inner residual block (equation 3); $f _ { \theta }$ is a fusion block, and $\alpha _ { j }$ is 0 if the $j$ -th low-resolution view is part of the padding, and 1 otherwise. $f _ { \theta }$ squashes $2 C _ { h }$ input channels into $C _ { h }$ channels and consists of a $( \mathrm { c o n v } 2 \mathrm { d } \mathrm { + } \mathrm { P r e L u } )$ . Intuitively, gθ aligns the two representations and it consists of two $\mathrm { \ c o n v { 2 d } + }$ PreLU) layers.
98
+
99
+ The blocks $\left( f _ { \theta } , g _ { \theta } \right)$ are shared across all pairs and depths, giving it the flexibility to deal with variable size inputs and significantly reduce the number of parameters to learn.
100
+
101
+ Upscale and Decode After $T = \log _ { 2 } K$ fusion layers, the final low-resolution encoded state $s _ { i } ^ { T }$ contains information from all $K$ input views. Any information of a spatial location that was initially missing from $L R _ { i }$ , is now encoded implicitly in $s _ { i } ^ { T }$ . $T$ is called the depth of HighRes-net. Only then, $s _ { i } ^ { T }$ is upsampled with a deconvolutional layer ( $\mathrm { { X u } }$ et al., 2014) to a higher-resolution space $s _ { H R } ^ { T } \in \dot { \mathbb { R } } ^ { C _ { h } \times \gamma W \times \gamma H }$ . The hidden high-resolution encoded state $s _ { H R } ^ { T }$ is eventually convolved with a $1 \times 1$ 2D kernel to produce a final super-resolved image $S R ^ { \theta } \in \bar { \mathbb { R } ^ { C \times \gamma W \times \gamma H } }$ .
102
+
103
+ ![](images/2da5cd799cda4ada5a8f1231723d647c1af6bd186e40b14a471878e403e09943.jpg)
104
+ Figure 4: HighRes-net’s global fusion operator consists of a co-registration $g _ { \theta }$ and a fusion $f _ { \theta }$ block which aligns and combines two representations into a single representation.
105
+
106
+ The overall architecture of HighRes-net is summarized in Figure 3(a) and the pseudocode for the forward pass is given in Algorithm 1.
107
+
108
+ # Algorithm 1: HighRes-net forward pass
109
+
110
+ <table><tr><td>Input: low-res views LR1 ...LRk&#x27;</td></tr><tr><td>1 (LR1...LRK,α1...αk)← pad(LR1...LRκ&#x27;) // pad inputs to next power of 2</td></tr><tr><td>2 s ← encode(LRi) // parallelized across 1...K</td></tr><tr><td></td></tr><tr><td>3 T←log2K // fusion depth 4k←K</td></tr><tr><td>5 fort = 1...Tdo</td></tr><tr><td>6 fori = 1...k/2do t-1</td></tr><tr><td>st← fuse s-i, 7 Qk-i) // fuse encoded views 8 k=k/2</td></tr><tr><td>9 SR ← decode(sT)</td></tr><tr><td>Output: super-resolved view SR</td></tr></table>
111
+
112
+ # 4 REGISTRATION MATTERS
113
+
114
+ Co-registration matters for fusion. HighRes-net learns to implicity co-register multiple lowresolution views $L R _ { i }$ and fuse them into a single super resolved image $S R _ { \theta }$ .
115
+
116
+ A more explicit registration-at-the-loss can also be used for measuring similarity metrics and distances between $S R _ { \theta }$ and $H R$ . Indeed, training HighRes-Net alone, by minimizing a reconstruction error such as the mean-squared error between $S R _ { \theta }$ and $H R$ , leads to blurry outputs, since the neural network has to compensate for pixel and sub-pixel misalignments between its output $S R _ { \theta }$ and $H R$ .
117
+
118
+ Here, we present ShiftNet-Lanczos, a neural network that can be paired with HighRes-net to account for pixel and sub-pixel shifts in the loss, as depicted in Figure 3(b). Our ablation study A.2 and qualitative visual analysis suggest that this strategy helps HighRes-net learn to super-resolve and leads to clearly improved results.
119
+
120
+ # 4.1 SHIFTNET-LANCZOS
121
+
122
+ ShiftNet learns to align a pair of images with sub-pixel translations. ShiftNet registers pairs of images by predicting two parameters defining a global translation. Once a sub-pixel translation is found for a given pair of images, it is applied through a Lanczos shift kernel to align the images.
123
+
124
+ ShiftNet The architecture of ShiftNet is adapted from HomographyNet (DeTone et al., 2016). Translations are a special case of homographies. In this sense, ShiftNet is simply a special case of HomographyNet, predicting 2 shift parameters instead of 8 homography parameters. See Appendix A.3, for details on the architecture of ShiftNet.
125
+
126
+ Algorithm 2: Sub-pixel registered loss through ShiftNet-Lanczos
127
+
128
+ <table><tr><td>Input: SRθ, HR</td><td>// super-resolved view, high-resolution ground-truth</td></tr><tr><td>1 (△x,△y)← ShiftNet (SRe,HR)</td><td>// register SR to HR</td></tr><tr><td>2 κ△ ← LanczosShiftKernel(△)</td><td>// 1D Lanczos kernels for x and y sub-pixel shifts</td></tr><tr><td>3 SRθ,△ ← SRθ * K△x * K△y</td><td>// 2D sub-pixel shift by separable 1D convolutions</td></tr><tr><td></td><td>// sub-pixel registered loss</td></tr><tr><td>4 lθ,△ ← loss(SRθ,△,HR) Output: lθ,△</td><td></td></tr></table>
129
+
130
+ One major difference from HomographyNet is the way we train ShiftNet: In (DeTone et al., 2016), HomographyNet is trained on synthetically transformed data, supervised with ground-truth homography matrices. In our setting, ShiftNet is trained to cooperate with HighRes-net, towards the common goal of MFSR (see section Objective function below).
131
+
132
+ Lanczos shift & interpolation kernel To shift and align an image by a sub-pixel amount, it must be convolved with a filter that shifts for the integer parts and interpolates for the fractional parts of the translation. Standard options for interpolation include the nearest-neighbor, sinc, bilinear, bicubic, and Lanczos filters (Turkowski, 1990). The sinc filter has an infinite support as opposed to any digital signal, so in practice it produces ringing or ripple artifacts — an example of the Gibbs phenomenon. The nearest-neighbor and bilinear filters do not induce ringing, but strongly attenuate the higher-frequency components (over-smoothing), and can even alias the image. The Lanczos filter reduces the ringing significantly by using only a finite part of the since (up to a few lobes from the origin). Experimentally, we found the Lanczos filter to perform the best.
133
+
134
+ Objective function In our setting, registration benefits super-resolution. HighRes-net receives more informative gradient signals when its output is aligned with the ground truth high-resolution image. Conversely, super-resolution benefits registration, since good features are key to align images (Clement et al., 2018). We thus trained HighRes-Net and ShiftNet-Lanczos in a cooperative setting, where both neural networks work together to minimize an objective function, as opposed to an adversarial setting where a generator tries to fool a discriminator. HighRes-net infers a latent superresolved variable and ShiftNet maximises its similarity to a ground truth high-resolution image with sub-pixel shifts.
135
+
136
+ By predicting and applying sub-pixel translations in a differentiable way, our approach for registration and super-resolution can be combined in an end-to-end learning framework. Shift-Net predicts a sub-pixel shift $\Delta$ from a pair of high-resolution images. The predicted transformation is applied with Lanczos interpolation to align the two images at a pixel level. ShiftNet and HighRes-Net are trained jointly to minimize a common loss function, using backpropagation and stochastic gradient descent. Our objective function is composed of a registered reconstruction loss computed as in Algorithm 2. In our case, we used the corrected clear PSNR metric (cPSNR), chosen by ESA, which is a variant of the mean squared error, designed to correct for brightness and clouds in satellite images (Martens et al. ¨ , 2019), but the proposed architecture is decoupled from the choice of loss.
137
+
138
+ See Algorithm 4 for the pseudo-code for computing the alignment loss $\ell _ { \theta , \Delta }$ . We further regularize the L2 norm of ShiftNet’s ouput with a hyperparameter $\lambda$ and our final joint objective is given by:
139
+
140
+ $$
141
+ L _ { \theta , \Delta } ( S R _ { \theta } , H R ) = \ell _ { \theta , \Delta } + \lambda | | \Delta | | _ { 2 } .
142
+ $$
143
+
144
+ # 5 EXPERIMENTS AND RESULTS
145
+
146
+ Prior SR work has focused on super-resolving low-res images that are artificially generated by simple bilinear down-sampling, (Bulat et al., 2018) The PROBA-V satellite has separate cameras onboard for capturing high-res / low-res pairs. As far as we know, the PROBA-V dataset is the first publicly available dataset for MFSR that contains naturally occurring low-res and high-res pairs. This is in contrast to most of the work in SR (SISR, MFSR, Video SR, Stereo SR) that synthetically down-sample high-res images and frames (Wang et al., 2019c; Nah et al., 2019). Methods that are trained on artificially downscaled datasets fail to produce good results when applied to real-world low-resolution, low quality images (Shocher et al., 2018). For this reason, we experiment only on PROBA-V, a dataset that does not suffer from biases induced by artificial down-sampling.
147
+
148
+ # 5.1 PROBA-V KELVIN DATASET
149
+
150
+ The performance of our method is illustrated with satellite imagery from the Kelvin competition, organized by ESA’s Advanced Concept Team (ACT).
151
+
152
+ The Proba-V Kelvin dataset (Martens et al. ¨ , 2019) contains 1450 scenes (RED and NIR spectral bands) from 74 hand-selected Earth regions around the globe at different points in time. The scenes are split into 1160 scenes for training and 290 scenes for testing. Each data-point consists of exactly one $1 0 0 \mathrm { m }$ resolution image as $3 8 4 \times 3 8 4$ grey-scale pixel images (HR) and several $3 0 0 \mathrm { m }$ resolution images from the same scene as $1 2 8 \times 1 2 8$ grey-scale pixel images (LR), spaced days apart. We refer the reader to the Proba-V manual (Wolters et al., 2014) for further details on image acquisition.
153
+
154
+ Each scene comes with at least 9 low-res views, and an average of 19. Each view comes with a noisy quality map. The quality map is a binary map, that indicates concealed pixels due to volatile features, such as clouds, cloud shadows, ice, water and snow. The sum of clear pixels (1s in the binary mask) is defined as the clearance of a low-res view. These incidental and noisy features can change fundamental aspects of the image, such as the contrast, brightness, illumination and landscape features. We use the clearance scores to randomly sample from the imageset of low-res views, such that views with higher clearance are more likely to be selected. This strategy helps to prevent overfitting. See Appendix A.4 for more details.
155
+
156
+ Working with missing or noisy values A quality map can be used as a binary mask to indicate noisy or occluded pixels, due to clouds, snow, or other volatile objects. Such a mask can be fed as an additional input channel in the respective low-res view, in the same fashion as thereference frame. When missing value masks are available, neural networks can learn which parts of the input are anomalous, noisy, or missing, when provided with such binary masks (see e.g. Che et al. (2018)). In satellite applications where clouds masks are not available, other segmentation methods would be in order to infer such masks as a preprocessing step (e.g. Long et al. (2015)). In the case of the PROBA-V dataset, we get improved results when we make no use of the masks provided. Instead we use the masks only to inform the sampling scheme within the low-res imageset to prevent overfitting.
157
+
158
+ # 5.2 EXPERIMENTS
159
+
160
+ Across all experiments, we used the same hyperparameters, reported in Appendix A.1. By default, each imageset is padded to 32 views for training and testing, unless specified otherwise. Our pytorch implementation requires less than 9h of training on a single NVIDIA V100 GPU. At test time, superresolving an imageset of size $1 2 8 \mathrm { x } 1 2 8$ by a factor of 3, takes less than 0.2 seconds. Our code is made available on github1.
161
+
162
+ We evaluated different models on ESA’s Kelvin competition. Our best model, HighRes-Net trained jointly with shiftNet-Lanczos, scored consistently at the top of the public and final leaderboard, see Table 1. In the following, we discuss several baselines and report our experiments.
163
+
164
+ # 5.3 COMPARISONS
165
+
166
+ • ESA baseline upsamples each low-resolution view separately with bicubic up-sampling and averages those of maximum clearance.
167
+ • SRResNet (Ledig et al., 2017) is a deep learning SISR baseline.
168
+ SRResNet- $1 +$ shiftNet was trained with ShiftNet.
169
+ • SRResNet- $^ { 6 + }$ shiftNet differs from the previous model during test time only. It independently upsamples 6 low-resolution views with SRResNet-1, co-registers the super-resolved images using shiftNet, and averages the 6 aligned super-resolved images into a final prediction.
170
+ ACT baseline (Martens et al. ¨ , 2019) is a Convolutional Neural Network with five fixed channels for the five clearest low-resolution views.
171
+ DeepSUM baseline (Molini et al., 2019) can be seen as a variant of SRResNet- $\cdot 6 +$ shiftNet. Multiple low-res views are independently upsampled, then co-registered and fused into a single image.
172
+ • HighRes-net $^ +$ shiftNet are described in sections 3 and 4. Upsampling is done in the last step as opposed to (Molini et al., 2019).
173
+ • Ensemble An ensemble of two trained (HighRes-net $^ +$ shiftNet) models, one with ${ \mathrm { K } } { = } 1 6$ and one with ${ \mathrm { K } } { = } 3 2$ input views, whose outputs are averaged.
174
+
175
+ # 5.4 ESA KELVIN LEADERBOARD
176
+
177
+ The Kelvin competition used the corrected clear PSNR (cPSNR) quality metric as the standardized measure of performance. The cPSNR is a variant of the Peak Signal to Noise Ratio (PSNR) used to compensate for pixel-shifts and brightness bias. We refer the reader to (Martens et al. ¨ , 2019) for the motivation and derivation of this quality metric. The cPSNR metric is normalized by the score of the ESA baseline algorithm so that a score smaller than 1 means “better than the baseline” and lower is better. We also use it as our training objective with sub-pixel registration (see also section 3(b) on ShiftNet).
178
+
179
+ Table 1: Public and final leaderboard scores for the ESA’s Kelvin competition. Lower score means a better reconstruction.
180
+
181
+ <table><tr><td>Method</td><td>Public score</td><td>Final score</td></tr><tr><td>SRResNet (Ledig et al., 2017)</td><td>1.0095</td><td>1.0084</td></tr><tr><td>ESA baseline</td><td>1.0000</td><td>1.0000</td></tr><tr><td>SRResNet-1+ shiftNet</td><td>1.0002</td><td>0.9995</td></tr><tr><td>ACT baseline (Märtens et al., 2019)</td><td>0.9874</td><td>0.9879</td></tr><tr><td>SRResNet-6+ shiftNet</td><td>0.9808</td><td>0.9794</td></tr><tr><td>HighRes-net + shiftNet (ours)</td><td>0.9496</td><td>0.9488</td></tr><tr><td>HighRes-net+ shiftNet Ensemble (ours)</td><td>0.94738</td><td>0.94774</td></tr><tr><td>DeepSUM (Molini et al., 2019)</td><td>0.94884</td><td>0.94744</td></tr></table>
182
+
183
+ # 5.4.1 ABLATION STUDY
184
+
185
+ We further ran an ablation study on the available labeled data (1450 image sets), split in $9 0 \% / \ 1 0 \%$ for training and testing. Our results suggest that more low-resolution views benefit the reconstruction error, plateuing after 16 views, see Appendix A.2. Another finding is that registration matters for MFSR, both in co-registering low-res views, and registering-at-the-loss, see Appendix A.3. Finally, selecting the $k$ clearest views for fusion can lead to ovefitting. One remedy is to randomly sample the views with a bias for clearance, see A.4.
186
+
187
+ # 6 DISCUSSION
188
+
189
+ # 6.1 THE IMPORTANCE OF GROUNDED DETAILS
190
+
191
+ The PROBA-V satellite (Dierckx et al., 2014) was launched by ESA to monitor Earth’s vegetation growth, water resources and agriculture. As a form of data fusion and enrichment, multi-frame super-resolution could enhance the vision of such satellites for scientific and monitoring applications (Carlson & Ripley, 1997; Pettorelli et al., 2005). More broadly, satellite imagery can help NGOs and non-profits monitor the environment and human rights (Cornebise et al., 2018; Helber et al., 2018; Rudner et al., 2019; Rolnick et al., 2019) at scale, from space, ultimately contributing to the UN sustainable development goals. Low-resolution imagery is cheap or sometimes free, and it is frequently updated. However, with the addition of fake or imaginary details, such enhancement wouldn’t be valuable as scientific, legal, or forensic evidence.
192
+
193
+ # 6.2 FUTURE WORK
194
+
195
+ Registration matters at the loss stage but also at the fusion stage. The latter is not explicit in our model and the reason why and how it works is less understood. Learning to sample a reference frame and learning to fuse multiple representations with attention could also be a promising approach to extend HighRes-net.
196
+
197
+ Ensuring authenticity of detail is a major challenge and quantifying uncertainty of super-resolved images is an important line of future work for real world applications. Along this line of research, the question of how to evaluate a super-resolved image is important for downstream tasks and, more generally, similarity metrics remain an open question for many computer visions tasks (Bruna et al., 2015; Johnson et al., 2016; Isola et al., 2017; Ledig et al., 2017).
198
+
199
+ # 6.3 CONCLUSION
200
+
201
+ In this paper, we presented HighRes-net – the first deep learning approach to multi-frame superresolution that learns typical sub-tasks of MFSR in an end-to-end fashion: (i) co-registration, (ii) fusion, (iii) up-sampling, and (iv) registration-at-the-loss.
202
+
203
+ It recursively fuses a variable number of low-resolution views by learning a global fusion operator. The overall fusion also aligns all low-resolution views with an implicit co-registration mechanism through the reference channel. We also introduced ShiftNet-Lanczos, a network that learns to register and align the super-resolved output of HighRes-net with a high-resolution ground-truth.
204
+
205
+ Registration is important both to align multiple low-resolution inputs (co-registration) and to compute similarity metrics between shifted signals. Our experiments suggest that an end-to-end cooperative setting (HighRes-net $^ +$ ShiftNet-Lanczos) helps with training and test performance. By design, our approach is fast to train, faster to test, and low in terms of memory-footprint by doing the bulk of the computational work (co-registration $^ +$ fusion) on multiple images while maintaining their low-resolution height & width.
206
+
207
+ There is an ongoing proliferation of low-resolution yet high-revisit low-cost satellite imagery, but they often lack the detailed information of expensive high-resolution imagery. We believe MFSR can raise its potential to NGOs and non-profits that contribute to the UN Sunstainable Development Goals.
208
+
209
+ # REFERENCES
210
+
211
+ Joan Bruna, Pablo Sprechmann, and Yann LeCun. Super-resolution with deep convolutional sufficient statistics. arXiv preprint arXiv:1511.05666, 2015.
212
+
213
+ Adrian Bulat, Jing Yang, and Georgios Tzimiropoulos. To learn image super-resolution, use a gan to learn how to do image degradation first. In Proceedings of the European Conference on Computer Vision (ECCV), pp. 185–200, 2018.
214
+
215
+ David Capel and Andrew Zisserman. Super-resolution from multiple views using learnt image models. In Proceedings of the 2001 IEEE Computer Society Conference on Computer Vision and Pattern Recognition. CVPR 2001, volume 2, pp. II–II. IEEE, 2001.
216
+
217
+ Toby N Carlson and David A Ripley. On the relation between ndvi, fractional vegetation cover, and leaf area index. Remote sensing of Environment, 62(3):241–252, 1997.
218
+
219
+ Tony F Chan and Chiu-Kwong Wong. Total variation blind deconvolution. IEEE transactions on Image Processing, 7(3):370–375, 1998.
220
+
221
+ Hong Chang, Dit-Yan Yeung, and Yimin Xiong. Super-resolution through neighbor embedding. In Proceedings of the 2004 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, 2004. CVPR 2004., volume 1, pp. I–I. IEEE, 2004.
222
+
223
+ Zhengping Che, Sanjay Purushotham, Kyunghyun Cho, David Sontag, and Yan Liu. Recurrent neural networks for multivariate time series with missing values. Scientific reports, 8(1):6085, 2018.
224
+
225
+ Colin B Clement, Matthew Bierbaum, and James P Sethna. Image registration and super resolution from first principles. arXiv preprint arXiv:1809.05583, 2018.
226
+
227
+ Julien Cornebise, Daniel Worrall, Micah Farfour, and Milena Marin. Witnessing atrocities: Quantifying villages destruction in darfur with crowdsourcing and transfer learning. In AI for Social Good NIPS2018 Workshop, Montreal, Canada ´ , 2018.
228
+
229
+ Daniel DeTone, Tomasz Malisiewicz, and Andrew Rabinovich. Deep image homography estimation. arXiv preprint arXiv:1606.03798, 2016.
230
+
231
+ Wouter Dierckx, Sindy Sterckx, Iskander Benhadj, Stefan Livens, Geert Duhoux, Tanja Van Achteren, Michael Francois, Karim Mellab, and Gilbert Saint. Proba-v mission for global vegetation monitoring: standard products and image quality. International Journal of Remote Sensing, 35(7):2589–2614, 2014.
232
+
233
+ Chao Dong, Chen Change Loy, Kaiming He, and Xiaoou Tang. Learning a deep convolutional network for image super-resolution. In European conference on computer vision, pp. 184–199. Springer, 2014.
234
+
235
+ K Eric Drexler. Reframing superintelligence: Comprehensive ai services as general intelligence, 2019.
236
+
237
+ Sina Farsiu, M Dirk Robinson, Michael Elad, and Peyman Milanfar. Fast and robust multiframe super resolution. IEEE transactions on image processing, 13(10):1327–1344, 2004.
238
+
239
+ J Michael Fitzpatrick, Derek LG Hill, Calvin R Maurer, et al. Image registration. Handbook of medical imaging, 2:447–513, 2000.
240
+
241
+ William T Freeman, Thouis R Jones, and Egon C Pasztor. Example-based super-resolution. IEEE Computer graphics and Applications, 22(2):56–65, 2002.
242
+
243
+ Theresa L. Harris, Jonathan Drake, Jessica M. Wyndham, Susan R. Wolfinbarger, Stephen D. Lott, and Michael Lerner. Geospatial evidence in international human rights litigation: Technical and legal considerations. Technical report, AAAS Scientific Responsibility, Human Rights and Law Program, 2018.
244
+
245
+ Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpassing humanlevel performance on imagenet classification. In Proceedings of the 2015 IEEE International Conference on Computer Vision (ICCV), ICCV ’15, pp. 1026–1034, Washington, DC, USA, 2015. IEEE Computer Society. ISBN 978-1-4673-8391-2. doi: 10.1109/ICCV.2015.123. URL http://dx.doi.org/10.1109/ ICCV.2015.123.
246
+
247
+ 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.
248
+
249
+ Patrick Helber, Bradley Gram-Hansen, Indhu Varatharajan, Faiza Azam, Alejandro Coca-Castro, Veronika Kopackova, and Piotr Bilinski. Mapping informal settlements in developing countries with multi-resolution, multi-spectral data. arXiv preprint arXiv:1812.00812, 2018.
250
+
251
+ Michal Irani and Shmuel Peleg. Improving resolution by image registration. CVGIP: Graphical models and image processing, 53(3):231–239, 1991.
252
+
253
+ Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A Efros. Image-to-image translation with conditional adversarial networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 1125–1134, 2017.
254
+
255
+ David Jensen and Jillian Campbell. The promise and peril of a digital ecosystem for the planet, September 2019. URL https://medium.com/@davidedjensen 99356/building-a-digitalecosystem-for-the-planet-557c41225dc2. [Online; posted 11-September-2019].
256
+
257
+ Justin Johnson, Alexandre Alahi, and Li Fei-Fei. Perceptual losses for real-time style transfer and superresolution. In European conference on computer vision, pp. 694–711. Springer, 2016.
258
+
259
+ Michal Kawulok, Pawel Benecki, Krzysztof Hrynczenko, Daniel Kostrzewa, Szymon Piechaczek, Jakub Nalepa, and Bogdan Smolka. Deep learning for fast super-resolution reconstruction from multiple images. In Real-Time Image Processing and Deep Learning 2019, volume 10996, pp. 109960B. International Society for Optics and Photonics, 2019.
260
+
261
+ Jiwon Kim, Jung Kwon Lee, and Kyoung Mu Lee. Deeply-recursive convolutional network for image superresolution. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 1637– 1645, 2016.
262
+
263
+ Kwang In Kim and Younghee Kwon. Single-image super-resolution using sparse regression and natural image prior. IEEE transactions on pattern analysis and machine intelligence, 32(6):1127–1133, 2010.
264
+
265
+ Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
266
+
267
+ Christian Ledig, Lucas Theis, Ferenc Huszar, Jose Caballero, Andrew Cunningham, Alejandro Acosta, Andrew ´ Aitken, Alykhan Tejani, Johannes Totz, Zehan Wang, et al. Photo-realistic single image super-resolution using a generative adversarial network. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 4681–4690, 2017.
268
+
269
+ Jonathan Long, Evan Shelhamer, and Trevor Darrell. Fully convolutional networks for semantic segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 3431–3440, 2015.
270
+
271
+ Robert J II Marks. Introduction to Shannon sampling and interpolation theory. Springer Science & Business Media, 2012.
272
+
273
+ Marcus Martens, Dario Izzo, Andrej Krzic, and Dani ¨ el Cox. Super-resolution of proba-v images using convo-¨ lutional neural networks. Astrodynamics, 3(4):387–402, Dec 2019.
274
+
275
+ Andrea Bordone Molini, Diego Valsesia, Giulia Fracastoro, and Enrico Magli. Deepsum: Deep neural network for super-resolution of unregistered multitemporal images. arXiv preprint arXiv:1907.06490, 2019.
276
+
277
+ Seungjun Nah, Radu Timofte, Sungyong Baik, Seokil Hong, Gyeongsik Moon, Sanghyun Son, and Kyoung Mu Lee. Ntire 2019 challenge on video deblurring: Methods and results. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pp. 0–0, 2019.
278
+
279
+ Nhat Nguyen, Peyman Milanfar, and Gene Golub. A computationally efficient superresolution image reconstruction algorithm. IEEE transactions on image processing, 10(4):573–583, 2001.
280
+
281
+ Harry Nyquist. Certain topics in telegraph transmission theory. Transactions of the American Institute of Electrical Engineers, 47(2):617–644, 1928.
282
+
283
+ Athanasios Papoulis. Generalized sampling expansion. IEEE transactions on circuits and systems, 24(11): 652–654, 1977.
284
+
285
+ Nathalie Pettorelli, Jon Olav Vik, Atle Mysterud, Jean-Michel Gaillard, Compton J Tucker, and Nils Chr Stenseth. Using the satellite-derived ndvi to assess ecological responses to environmental change. Trends in ecology & evolution, 20(9):503–510, 2005.
286
+
287
+ Lyndsey C Pickup, Stephen J Roberts, and Andrew Zisserman. Optimizing and learning for super-resolution. In BMVC, volume 9, pp. 4–7. Citeseer, 2006.
288
+
289
+ David Rolnick, Priya L Donti, Lynn H Kaack, Kelly Kochanski, Alexandre Lacoste, Kris Sankaran, Andrew Slavin Ross, Nikola Milojevic-Dupont, Natasha Jaques, Anna Waldman-Brown, et al. Tackling climate change with machine learning. arXiv preprint arXiv:1906.05433, 2019.
290
+
291
+ Tim GJ Rudner, Marc Rußwurm, Jakub Fil, Ramona Pelich, Benjamin Bischke, Veronika Kopackov ˇ a, and ´ Piotr Bilinski. Multi3net: Segmenting flooded buildings via fusion of multiresolution, multisensor, and ´ multitemporal satellite imagery. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pp. 702–709, 2019.
292
+ Mehdi SM Sajjadi, Raviteja Vemulapalli, and Matthew Brown. Frame-recurrent video super-resolution. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 6626–6634, 2018.
293
+ Eduardo Sanchez, Mathieu Serrurier, and Mathias Ortner. Learning disentangled representations of satellite image time series. arXiv preprint arXiv:1903.08863, 2019.
294
+ Claude Elwood Shannon. Communication in the presence of noise. Proceedings of the IRE, 37(1):10–21, 1949.
295
+ Assaf Shocher, Nadav Cohen, and Michal Irani. zero-shot super-resolution using deep internal learning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 3118–3126, 2018.
296
+ Rupesh Kumar Srivastava, Klaus Greff, and Jurgen Schmidhuber. Highway networks. ¨ arXiv preprint arXiv:1505.00387, 2015.
297
+ Xin Tao, Hongyun Gao, Renjie Liao, Jue Wang, and Jiaya Jia. Detail-revealing deep video super-resolution. In Proceedings of the IEEE International Conference on Computer Vision, pp. 4472–4480, 2017.
298
+ Radu Timofte, Shuhang Gu, Jiqing Wu, Luc Van Gool, Lei Zhang, Ming-Hsuan Yang, Muhammad Haris, et al. Ntire 2018 challenge on single image super-resolution: Methods and results. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, June 2018.
299
+ RY Tsai. Multiple frame image restoration and registration. Advances in Computer Vision and Image Processing, 1:1715–1984, 1984.
300
+ Ken Turkowski. Filters for common resampling tasks. In Graphics gems, pp. 147–165. Academic Press Professional, Inc., 1990.
301
+ Oriol Vinyals, Samy Bengio, and Manjunath Kudlur. Order matters: Sequence to sequence for sets. arXiv preprint arXiv:1511.06391, 2015.
302
+ Longguang Wang, Yingqian Wang, Zhengfa Liang, Zaiping Lin, Jungang Yang, Wei An, and Yulan Guo. Learning parallax attention for stereo image super-resolution. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 12250–12259, 2019a.
303
+ Xintao Wang, Kelvin CK Chan, Ke Yu, Chao Dong, and Chen Change Loy. Edvr: Video restoration with enhanced deformable convolutional networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pp. 0–0, 2019b.
304
+ Yingqian Wang, Longguang Wang, Jungang Yang, Wei An, and Yulan Guo. Flickr1024: A large-scale dataset for stereo image super-resolution. In Proceedings of the IEEE International Conference on Computer Vision Workshops, pp. 0–0, 2019c.
305
+ Zhihao Wang, Jian Chen, and Steven CH Hoi. Deep learning for image super-resolution: A survey. arXiv preprint arXiv:1902.06068, 2019d.
306
+ Erwin Wolters, Wouter Dierckx, J Dries, and Else Swinnen. Proba-v products user manual. VITO. http://probav. vgt. vito. be/sites/default/files/Product User Manual. pdf, 2014.
307
+ Li Xu, Jimmy SJ Ren, Ce Liu, and Jiaya Jia. Deep convolutional neural network for image deconvolution. In Advances in Neural Information Processing Systems, pp. 1790–1798, 2014.
308
+ Bo Yan, Chuming Lin, and Weimin Tan. Frame and feature-context video super-resolution. arXiv preprint arXiv:1909.13057, 2019.
309
+ Jianchao Yang, John Wright, Thomas S Huang, and Yi Ma. Image super-resolution via sparse representation. IEEE transactions on image processing, 19(11):2861–2873, 2010.
310
+ Roman Zeyde, Michael Elad, and Matan Protter. On single image scale-up using sparse-representations. In International conference on curves and surfaces, pp. 711–730. Springer, 2010.
311
+
312
+ # A APPENDIX
313
+
314
+ # A.1 EXPERIMENTAL DETAILS
315
+
316
+ We trained our models on low-resolution patches of size 64x64. HighRes-net’s architecture is reported in Table 3. We denote by Conv2d(in, out, k, s, p) a conv2D layer with in and out input/output channels, kernel of size $^ { ( \mathrm { k } , \mathrm { k } ) }$ , stride (s,s) and padding p. We used the ADAM optimizer (Kingma & Ba, 2014) with default hyperparameters and trained our models on batches of size 32, for 400 epochs, using $90 \%$ of the data for training and $10 \%$ for validation. Our learning rate is initialized to 0.0007, decayed by a factor of 0.97 if the validation loss plateaus for more than 2 epochs. For the regularization of shiftNet, we employed $\lambda = 0 . 0 0 0 0 0 1$ .
317
+
318
+ Table 2: ResidualBlock(h) architecture
319
+
320
+ <table><tr><td>layerO layer1 layer2 layer3</td><td>Conv2d(in=h,out=h,k3,s1,p1) PReLU Conv2d(in=h,out=h,k3,s1, p1) PReLU</td></tr></table>
321
+
322
+ Table 3: HRNet architecture
323
+
324
+ <table><tr><td>Step</td><td>Layers</td><td>Number of params</td></tr><tr><td rowspan="4">encode</td><td>Conv2d(in=2, out=64,k3,s1, p1)</td><td>1216</td></tr><tr><td>PReLU</td><td>1</td></tr><tr><td>ResidualBlock(64)</td><td>73858</td></tr><tr><td>ResidualBlock(64)</td><td>73858</td></tr><tr><td rowspan="3">fuse</td><td>Conv2d(in=64,out=64,k3,s1, p1)</td><td>36928</td></tr><tr><td>ResidualBlock(128) Conv2d(in=128, out=64,k3, s1, p1)</td><td>295170</td></tr><tr><td>PReLU</td><td>73792 1</td></tr><tr><td rowspan="2">decode</td><td>ConvTranspose2d(in=64,out=64,k3, s1) PreLU</td><td>36928</td></tr><tr><td>Conv2d(in=64,out=1,k1, s1)</td><td>1 65</td></tr><tr><td>residual (optional)</td><td>Upsample(scale_factor=3.0, mode=bicubic)</td><td>0</td></tr><tr><td></td><td></td><td>591818 (total)</td></tr></table>
325
+
326
+ Thanks to weight sharing, HighRes-net super-resolves scenes with 32 views in 5 recursive steps, while requiring less than 600K parameters. ShiftNet has more than 34M parameters (34187648) but is dropped during test time. We report GPU memory requirements in table 4 for reproducibility purposes.
327
+
328
+ Table 4: GPU memory requirements to train HighRes-net $^ +$ ShiftNet on patches of size $6 4 \mathrm { x 6 4 }$ with batches of size 32, and a variable number of low-resolution frames.
329
+
330
+ <table><tr><td># views GPU memory (GB)</td><td>32 27</td><td>16 15</td><td>4 6</td></tr></table>
331
+
332
+ # A.2 HOW MANY FRAMES DO YOU NEED?
333
+
334
+ We trained and tested HighRes-net with ShiftNet using 1 to 32 frames. With a single image, our approach performs worse than the ESA baseline. Doubling the number of frames significantly improves both our training and validation scores. After 16 frames, our model’s performance stops increasing as show in Figure 5.
335
+
336
+ ![](images/4e7d47197ce6d9c764083126f46b2e6c722419fc57fa52c2620e750025708518.jpg)
337
+ Figure 5: Public leaderboard scores vs. nviews for HighRes-net $^ +$ ShiftNet. Lower is better.
338
+
339
+ # A.3 REGISTRATION MATTERS
340
+
341
+ Registered loss The only explicit registration that we perform is at the loss stage, to allow the model partial credit for a solution. This solution can be enhanced but otherwise mis-registered wrt to the ground truth. We trained our base model HighRes-net without ShiftNet-Lanczos and observed a drop in performance as shown in Table 5. Registration matters and aligning outputs with targets helps HighRes-net generate sharper outputs and achieve competitive results.
342
+
343
+ Table 5: Registration matters: Train and validation scores for HighResNet trained with and without ShiftNet-Lanczos. Lower is better.
344
+
345
+ <table><tr><td rowspan=1 colspan=1>HighRes-net +</td><td rowspan=1 colspan=1>train score</td><td rowspan=1 colspan=1>test score</td></tr><tr><td rowspan=1 colspan=1>w/o registrationShiftNet +Lanczos</td><td rowspan=1 colspan=1>0.96160.9501</td><td rowspan=1 colspan=1>0.96710.9532</td></tr></table>
346
+
347
+ Implicit co-registration The traditional practice in MFSR is to explicitly co-register the LR views prior to super-resolution (Tsai, 1984; Molini et al., 2019). The knowledge of sub-pixel missalignments tells an algorithm what pieces of information to fuse from each LR image for any pixel in the SR output. Contrary to the conventional practice in MFSR, we propose implicit co-registeration by pairing LR views with a reference frame a.k.a. anchor. In this sense, we never explicitly compute the relative shifts between any LR pair. Instead, we simply stack each view with a chosen reference frame as an additional channel to the input. We call this strategy implicit co-registration, We found this strategy to be effective in the following ablation study which addresses the impact of the choice of a reference frame aka anchor.
348
+
349
+ We observe the median reference is the most effective in terms of train and test score. We suspect the median performs better than the mean because the median is more robust to outliers and can help denoise the LR views. Interestingly, training and testing without a shared reference performed worse than the ESA baseline. This shows that co-registration (implicit or explicit) matters. This can be due to the fact that the model lacks information to align and fuse the multiple views.
350
+
351
+ ShiftNet architecture ShitNet has 8 layers of (conv2D $^ +$ BatchNorm2d $^ +$ ReLU). Layer 2, 4 and 6 are followed by MaxPool2d. The final output is flattened to a vector $x$ of size 32768. Then, we compute a vector of size 1024, $x = \operatorname { R e L U } ( \operatorname { f c 1 } ( \operatorname { d r o p o u t } ( x ) ) )$ . The final shift prediction is $\operatorname { f c } 2 ( x )$ of size 2. The bulk of the parameters come from fc1, with $3 2 7 6 8 \times 1 0 2 4$ weights. These alone, account for $9 9 \%$ of ShiftNet’s parameters. Adding a MaxPool2d on top of layer 3, 5, 7 or 8 halves the parameters of ShiftNet.
352
+
353
+ Table 6: Train and validation scores for HighRes-net $^ +$ ShiftNet-Lanczos trained and tested with different references as input. Lower is better.
354
+
355
+ <table><tr><td>Reference</td><td>train score</td><td>test score</td></tr><tr><td>None (no co-registration)</td><td>1.0131</td><td>1.0088</td></tr><tr><td>Mean of 9 LRs</td><td>0.9636</td><td>0.9690</td></tr><tr><td>Median or 9 LRs (base)</td><td>0.9501</td><td>0.9532</td></tr></table>
356
+
357
+ # A.4 TOWARDS PERMUTATION INVARIANCE
358
+
359
+ A desirable property of a fusion model acting on an un-ordered set of images, is permutationinvariance: the output of the model should be invariant to the order in which the LR views are fused. An easy approach to encourage permutation invariant neural networks is to randomly shuffle the inputs at training time before feeding them to a model (Vinyals et al., 2015).
360
+
361
+ In addition to randomization, we still want to give more importance to clear LR views (with high clearance score), which can be done by sorting them by clearance. A good trade-off between uniform sampling and deterministic sorting by clearance, is to sample $k$ LR views without replacement and with a bias towards higher clearance:
362
+
363
+ $$
364
+ p ( i \mid C _ { 1 } , \ldots , C _ { k } ) = { \frac { e ^ { \beta C _ { i } } } { \sum _ { j = 1 } ^ { k } e ^ { \beta C _ { j } } } } ,
365
+ $$
366
+
367
+ where $k$ is the total number of LR views, $C _ { i }$ is the clearance score of $\mathrm { L R } _ { i }$ and $\beta$ regulates the bias towards higher clearance scores,
368
+
369
+ When $\beta = 0$ , this sampling strategy corresponds to uniform sampling and when $\beta = + i n f$ , this corresponds to picking the $\mathbf { k }$ -clearest views in a deterministic way. Our default model was trained with $\beta = 5 0$ and our experiments are reported in Table 7.
370
+
371
+ Table 7: Validation scores vs. nviews for HighRes-net $^ +$ ShiftNet. Lower is better.
372
+
373
+ <table><tr><td rowspan=1 colspan=1>Sampling strategy</td><td rowspan=1 colspan=1>train score</td><td rowspan=1 colspan=1>test score</td></tr><tr><td rowspan=1 colspan=1>β=∞ (k-clearest)β = 0 (uniform-k)β= 50 (base)</td><td rowspan=1 colspan=1>0.93860.96380.9501</td><td rowspan=1 colspan=1>0.96870.96750.9532</td></tr></table>
374
+
375
+ From Table 7, $\beta = \infty$ reaches best training score and worst testing score. For $\beta = 5 0$ and $\beta = 0$ , the train/test gap is much more reduced. This suggests that the deterministic strategy is overfitting and randomness prevents overfitting (diversity matters). On the other hand, $\beta = 5 0$ performs significantly better than $\beta = 0$ suggesting that biasing a model towards higher clearances could be beneficial i.e., clouds matter too.
parse/train/HJxJ2h4tPr/HJxJ2h4tPr_content_list.json ADDED
@@ -0,0 +1,1916 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "HIGHRES-NET: MULTI-FRAME SUPER-RESOLUTION BY RECURSIVE FUSION ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 98,
9
+ 823,
10
+ 146
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Anonymous authors Paper under double-blind review ",
17
+ "bbox": [
18
+ 183,
19
+ 171,
20
+ 398,
21
+ 198
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 236,
32
+ 544,
33
+ 251
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Generative deep learning has sparked a new wave of Super-Resolution (SR) algorithms that enhance single images with impressive aesthetic results, albeit with imaginary details. Multi-frame Super-Resolution (MFSR) offers a more grounded approach to the ill-posed problem, by conditioning on multiple low-resolution views. This is important for satellite monitoring of human impact on the planet – from deforestation, to human rights violations – that depend on reliable imagery. To this end, we present HighRes-net, the first deep learning approach to MFSR that learns its sub-tasks in an end-to-end fashion: (i) co-registration, (ii) fusion, (iii) up-sampling, and (iv) registration-at-the-loss. Co-registration of low-res views is learned implicitly through a reference-frame channel, with no explicit registration mechanism. We learn a global fusion operator that is applied recursively on an arbitrary number of low-res pairs. We introduce a registered loss, by learning to align the SR output to a ground-truth through ShiftNet. We show that by learning deep representations of multiple views, we can super-resolve low-resolution signals and enhance Earth observation data at scale. Our approach recently topped the European Space Agency’s MFSR competition on real-world satellite imagery. ",
40
+ "bbox": [
41
+ 232,
42
+ 268,
43
+ 764,
44
+ 505
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 536,
55
+ 334,
56
+ 553
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Multiple low-resolution images collectively contain more information than any individual lowresolution image, due to minor geometric displacements, e.g. shifts, rotations, atmospheric turbulence, and instrument noise. Multi-Frame Super-Resolution (MFSR) (Tsai, 1984) aims to reconstruct hidden high-resolution details from multiple low-resolution views of the same scene. Single Image Super-Resolution (SISR), as a special case of MFSR, has attracted much attention in the computer vision, machine learning and deep learning communities in the last 5 years, with neural networks learning complex image priors to upsample and interpolate images (Xu et al., 2014; Srivastava et al., 2015; He et al., 2016). However, in the meantime not much work has explored the learning of representations for the more general problem of MFSR to address the additional challenges of co-registration and fusion of multiple low-resolution images. ",
63
+ "bbox": [
64
+ 174,
65
+ 570,
66
+ 825,
67
+ 709
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "This paper explores how Multi-Frame Super-Resolution (MFSR) can benefit from recent advances in learning representations with neural networks. To the best of our knowledge, this work is the first to introduce a deep-learning approach that solves the co-registration, fusion and registration-at-theloss problems in an end-to-end learning framework. ",
74
+ "bbox": [
75
+ 174,
76
+ 717,
77
+ 823,
78
+ 772
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "Prompting this line of research is the increasing drive towards planetary-scale Earth observation to monitor the environment and human rights violations. Such observation can be used to inform policy, achieve accountability and direct on-the-ground action, e.g. within the framework of the Sustainable Development Goals (Jensen & Campbell, 2019). ",
85
+ "bbox": [
86
+ 174,
87
+ 779,
88
+ 823,
89
+ 835
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "Nomenclature Registration is the problem of estimating the relative geometric differences between two images (e.g. due to shifts, rotations, deformations). Fusion, in the MFSR context, is the problem of mapping multiple low-res representations into a single representation. By coregistration, we mean the problem of registering all low-resolution views to improve their fusion. By registration-at-the-loss, we mean the problem of registering the super-resolved reconstruction to the high-resolution ground-truth prior to computing the loss. This gives rise to the notion of a registered loss. ",
96
+ "bbox": [
97
+ 176,
98
+ 854,
99
+ 823,
100
+ 924
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "",
107
+ "bbox": [
108
+ 173,
109
+ 103,
110
+ 823,
111
+ 132
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "Co-registration of multiple images is required for longitudinal studies of land change and environmental degradation. The fusion of multiple images is key to exploiting cheap, high-revisit-frequency satellite imagery, but of low-resolution, moving away from the analysis of infrequent and expensive high-resolution images. Finally, beyond fusion itself, super-resolved generation is required throughout the technical stack: both for labeling, but also for human oversight (Drexler, 2019) demanded by legal context (Harris et al., 2018). ",
118
+ "bbox": [
119
+ 173,
120
+ 138,
121
+ 825,
122
+ 222
123
+ ],
124
+ "page_idx": 1
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "Summary of contributions ",
129
+ "text_level": 1,
130
+ "bbox": [
131
+ 174,
132
+ 241,
133
+ 357,
134
+ 255
135
+ ],
136
+ "page_idx": 1
137
+ },
138
+ {
139
+ "type": "text",
140
+ "text": "• HighRes-net: We propose a deep architecture that learns to fuse an arbitrary number of lowresolution frames with implicit co-registration through a reference-frame channel. \n• ShiftNet: Inspired by HomographyNet (DeTone et al., 2016), we define a model that learns to register and align the super-resolved output of HighRes-net, using ground-truth high-resolution frames as supervision. This registration-at-the-loss mechanism enables more accurate feedback from the loss function into the fusion model, when comparing a super-resolved output to a ground truth high resolution image. Otherwise, a MFSR model would naturally yield blurry outputs to compensate for the lack of registration, to correct for sub-pixel shifts and account for misalignments in the loss. \n• By combining the two components above, we contribute the first architecture to learn fusion and registration end-to-end. \n• We test and compare our approach to several baselines on real-world imagery from the PROBA-V satellite of ESA. Our performance has topped the Kelvins competition on MFSR, organized by the Advanced Concepts Team of ESA (Martens et al. ¨ , 2019) (see section 5). ",
141
+ "bbox": [
142
+ 173,
143
+ 266,
144
+ 825,
145
+ 473
146
+ ],
147
+ "page_idx": 1
148
+ },
149
+ {
150
+ "type": "image",
151
+ "img_path": "images/57f84aa8ae2163a66792c1b839d4633dbbc9d02c4c6432e1c23677304399db54.jpg",
152
+ "image_caption": [
153
+ "Figure 1: HighRes-net combines many low-resolution images (300 meters/pixel) into one image of superior resolution. The same site shot in high-resolution $( { 1 0 0 } \\mathrm { { m } / { p i x } ) }$ is also shown for reference. Source of low-res and high-res: imgset1087 and imgset0285 of PROBA-V dataset, see section 5. "
154
+ ],
155
+ "image_footnote": [],
156
+ "bbox": [
157
+ 178,
158
+ 494,
159
+ 821,
160
+ 626
161
+ ],
162
+ "page_idx": 1
163
+ },
164
+ {
165
+ "type": "text",
166
+ "text": "The rest of the paper is divided as follows: in Section 2, we discuss related work on SISR and MFSR; Section 3 outlines HighRes-net and section 4 presents ShiftNet, a differentiable registration component that drives our registered loss mechanism during end-to-end training. We present our results in section 5, and in Section 6 we discuss some opportunities for and limitations and risks of super-resolution. ",
167
+ "bbox": [
168
+ 174,
169
+ 702,
170
+ 825,
171
+ 770
172
+ ],
173
+ "page_idx": 1
174
+ },
175
+ {
176
+ "type": "text",
177
+ "text": "2 BACKGROUND ",
178
+ "text_level": 1,
179
+ "bbox": [
180
+ 176,
181
+ 792,
182
+ 326,
183
+ 810
184
+ ],
185
+ "page_idx": 1
186
+ },
187
+ {
188
+ "type": "text",
189
+ "text": "2.1 MULTI-FRAME SUPER-RESOLUTION ",
190
+ "text_level": 1,
191
+ "bbox": [
192
+ 178,
193
+ 827,
194
+ 460,
195
+ 840
196
+ ],
197
+ "page_idx": 1
198
+ },
199
+ {
200
+ "type": "text",
201
+ "text": "How much detail can we resolve in the digital sample of some natural phenomenon? Nyquist (1928) observed that it depends on the instrument’s sampling rate and the oscillation frequency of the underlying natural signal. Shannon (1949) built a sampling theory that explained Nyquist’s observations when the sampling rate is constant (uniform sampling) and determined the conditions of aliasing in a sample. Figure 2 illustrates this phenomenon. ",
202
+ "bbox": [
203
+ 174,
204
+ 854,
205
+ 823,
206
+ 924
207
+ ],
208
+ "page_idx": 1
209
+ },
210
+ {
211
+ "type": "image",
212
+ "img_path": "images/19931371c44718352413422be81c54ee05750a8e418aac479f81249e3b2d120f.jpg",
213
+ "image_caption": [
214
+ "high-resolutioDFT magnitude F fHR Figure 2: Top: A chirp harmonic oscillator $\\sin \\left( 2 \\pi \\omega ( t ) t \\right)$ equency 1 kHz DFT magnitudeF fLR , with instantaneous frequency $\\omega ( t )$ . Left: The shape of the high-resolution sample resembles the underlying chirp signal. Right: Close to $t = 1$ , the apparent −400 −200 0 200 400 frequency (Hz) −100 −50 0 50 100 frequency (Hz)frequency of the low-resolution sample does not match that of the chirp. This is an example of aliasing (shown 0.0 0.2 0.4 0.6 0.8 1.0 t (sec) with red at its most extreme), and it happens when the sampling rate falls below the Nyquist rate, $s _ { N } = 2 \\cdot s _ { B }$ , where $s _ { B }$ is the highest non-zero frequency of the signal. "
215
+ ],
216
+ "image_footnote": [],
217
+ "bbox": [
218
+ 174,
219
+ 97,
220
+ 823,
221
+ 185
222
+ ],
223
+ "page_idx": 2
224
+ },
225
+ {
226
+ "type": "text",
227
+ "text": "− − frequency (Hz) Sampling at high-resolution (left) maintains the frequency of the chirp signal (top). Sampling at a lower resolution (right), this apparent chirped frequency is lost due to aliasing, which means that the lower-resolution sample has a fundamentally smaller capacity for resolving the information of the natural signal, and a higher sampling rate can resolve more information. ",
228
+ "bbox": [
229
+ 174,
230
+ 290,
231
+ 825,
232
+ 345
233
+ ],
234
+ "page_idx": 2
235
+ },
236
+ {
237
+ "type": "text",
238
+ "text": "Shannon’s sampling theory has since been generalized for multiple interleaved sampling frames (Papoulis, 1977; Marks, 2012). One result of the generalized sampling theory is that we can go beyond the Nyquist limit of any individual uniform sample by interleaving several uniform samples taken concurrently. When an image is down-sampled to a lower resolution, its high-frequency details are lost permanently and cannot be recovered from any image in isolation. However, by combining multiple low-resolution images, it becomes possible to recover the original scene at a higher resolution. ",
239
+ "bbox": [
240
+ 174,
241
+ 353,
242
+ 825,
243
+ 450
244
+ ],
245
+ "page_idx": 2
246
+ },
247
+ {
248
+ "type": "text",
249
+ "text": "Moreover, different low-resolution samples may be sampled at different phases, such that the same high-resolution frequency information will be packed with a phase shift. As a consequence, when multiple low-resolution samples are available, the fundamental challenge of MFSR is de-aliasing, i.e. disentangling the high-frequency components (Tsai, 1984). ",
250
+ "bbox": [
251
+ 174,
252
+ 458,
253
+ 825,
254
+ 513
255
+ ],
256
+ "page_idx": 2
257
+ },
258
+ {
259
+ "type": "text",
260
+ "text": "The first work on MSFR (Tsai, 1984) considered the reconstruction of a high-resolution image as a fusion of co-registered low-resolution images in the Fourier domain. With proper registration and fusion (Irani & Peleg, 1991; Fitzpatrick et al., 2000; Capel & Zisserman, 2001), a composite super-resolved image can reveal some of the original high-frequency detail that would not have been accessible from single low-resolution image. In this work, we introduce HighRes-Net, which aims to provide an end-to-end deep learning framework for MFSR settings. ",
261
+ "bbox": [
262
+ 174,
263
+ 520,
264
+ 825,
265
+ 604
266
+ ],
267
+ "page_idx": 2
268
+ },
269
+ {
270
+ "type": "text",
271
+ "text": "Relation to Video and Stereo Super-Resolution While there are obvious similarities to Video SR (Tao et al., 2017; Sajjadi et al., 2018; Yan et al., 2019; Wang et al., 2019b) and Stereo SR (Wang et al., 2019d) (Wang et al., 2019a), the setting of this work differs in several ways: HighResnet learns to super-resolve sets and not sequences of low-res views. Video SR relies on motion estimation from a sequence of observations. Also, prediction at time $t = T$ relies on predictions at $t < T$ (autoregressive approach). Whereas in our case, we predict a single image from an unordered set of low-res inputs. Also, the low-res views are multi-temporal (taken at different times). ",
272
+ "bbox": [
273
+ 174,
274
+ 621,
275
+ 825,
276
+ 718
277
+ ],
278
+ "page_idx": 2
279
+ },
280
+ {
281
+ "type": "text",
282
+ "text": "Video SR methods assume that the input is a temporal sequence of frames. Motion or optical flow can be estimated to super-resolve the sequences of frames. In this work, we do not assume low-res inputs to be ordered in time. Our training input is a set of low-res views with unknown timestamps and our target output is a single image — not another sequence. ",
283
+ "bbox": [
284
+ 174,
285
+ 726,
286
+ 823,
287
+ 781
288
+ ],
289
+ "page_idx": 2
290
+ },
291
+ {
292
+ "type": "text",
293
+ "text": "2.2 A PROBABILISTIC APPROACH ",
294
+ "text_level": 1,
295
+ "bbox": [
296
+ 176,
297
+ 800,
298
+ 416,
299
+ 814
300
+ ],
301
+ "page_idx": 2
302
+ },
303
+ {
304
+ "type": "text",
305
+ "text": "In addition to aliasing, MFSR deals with random processes like noise, blur, geometric distortions – all contributing to random low-resolution images. Traditionally, MFSR methods assume a-priori knowledge of the data generating motion model, blur kernel, noise level and degradation process; see for example, Pickup et al. (2006). Given multiple low-resolution images, the challenge of MFSR is to reconstruct a plausible image of higher-resolution that could have generated the observed lowresolution images. Optimization methods aim to improve an initial guess by minimizing an error between simulated and observed low-resolution images. These methods traditionally model the additive noise $\\epsilon$ and prior knowledge about natural images explicitly, to constrain the parameter search space and derive objective functions, using e.g. Total Variation (Chan & Wong, 1998; Farsiu et al., 2004), Tikhonov regularization (Nguyen et al., 2001) or Huber potential (Pickup et al., 2006) to define appropriate constraints on images. ",
306
+ "bbox": [
307
+ 174,
308
+ 825,
309
+ 823,
310
+ 924
311
+ ],
312
+ "page_idx": 2
313
+ },
314
+ {
315
+ "type": "image",
316
+ "img_path": "images/60f3e8ff55b1438a0126fff317ac8933a2245b72bfd38df5a060692c6d6872ef.jpg",
317
+ "image_caption": [
318
+ "Figure 3: Schematic of the full processing pipeline, trained end-to-end. At test time, only HighRes-net is used. (a) HighRes-net: In the Encode stage, an arbitrary number of LR views are paired with the reference low-res image (the median low-res in this work). Each LR view–reference pair is encoded into a view-specific latent representation. The LR encodings are fused recursively into a single global encoding. In the Decode stage, the global representation is upsampled by a certain zoom factor $\\times 3$ in this work). Finally, the superresolved image is reconstructed by combining all channels of the upsampled global encoding. (b) Registered loss: Generally, the reconstructed SR will be shifted with respect to the ground-truth HR. ShiftNet learns to estimate the $( \\Delta x , \\Delta y )$ shift that improves the loss. Lanczos resampling: $( \\Delta x , \\Delta y )$ define two 1D shifting Lanczos kernels that translate the SR by a separable convolution. "
319
+ ],
320
+ "image_footnote": [],
321
+ "bbox": [
322
+ 178,
323
+ 99,
324
+ 810,
325
+ 297
326
+ ],
327
+ "page_idx": 3
328
+ },
329
+ {
330
+ "type": "text",
331
+ "text": "",
332
+ "bbox": [
333
+ 174,
334
+ 453,
335
+ 825,
336
+ 510
337
+ ],
338
+ "page_idx": 3
339
+ },
340
+ {
341
+ "type": "text",
342
+ "text": "In some situations, the image degradation process is complex or not available, motivating the development of nonparametric strategies. Patch-based methods learn to form high-resolution images directly from low-resolution patches, e.g. with $\\mathbf { k }$ -nearest neighbor search (Freeman et al., 2002; Chang et al., 2004), sparse coding and sparse dictionary methods (Yang et al., 2010; Zeyde et al., 2010; Kim & Kwon, 2010)). The latter represents images in an over-complete basis and allows for sharing a prior across multiple sites. ",
343
+ "bbox": [
344
+ 174,
345
+ 516,
346
+ 825,
347
+ 599
348
+ ],
349
+ "page_idx": 3
350
+ },
351
+ {
352
+ "type": "text",
353
+ "text": "In this work, we are particularly interested in super-resolving satellite imagery. Much of the recent work in Super-Resolution has focused on SISR for natural images. For instance, Dong et al. (2014) showed that training a CNN for super-resolution is equivalent to sparse coding and dictionary based approaches. Kim et al. (2016) proposed an approach to SISR using recursion to increase the receptive field of a model while maintaining capacity by sharing weights. Many more networks and learning strategies have recently been introduced for SISR and image deblurring. Benchmarks for SISR (Timofte et al., 2018), differ mainly in their upscaling method, network design, learning strategies, etc. We refer the reader to (Wang et al., 2019d) for a more comprehensive review. ",
354
+ "bbox": [
355
+ 174,
356
+ 607,
357
+ 823,
358
+ 718
359
+ ],
360
+ "page_idx": 3
361
+ },
362
+ {
363
+ "type": "text",
364
+ "text": "Few deep-learning approaches have considered the more general MFSR setting and attempted to address it in an end-to-end learning framework. Reecently, Kawulok et al. (2019) proposed a shiftand-add method and suggested “including image registration” in the learning process as future work. ",
365
+ "bbox": [
366
+ 174,
367
+ 724,
368
+ 825,
369
+ 767
370
+ ],
371
+ "page_idx": 3
372
+ },
373
+ {
374
+ "type": "text",
375
+ "text": "In the following sections, we describe our approach to solving both aspects of the registration problem – co-registration and registration-at-the-loss – in a memory-efficient manner. ",
376
+ "bbox": [
377
+ 174,
378
+ 773,
379
+ 821,
380
+ 803
381
+ ],
382
+ "page_idx": 3
383
+ },
384
+ {
385
+ "type": "text",
386
+ "text": "3 HIGHRES-NET: MFSR BY RECURSIVE FUSION ",
387
+ "text_level": 1,
388
+ "bbox": [
389
+ 174,
390
+ 821,
391
+ 591,
392
+ 838
393
+ ],
394
+ "page_idx": 3
395
+ },
396
+ {
397
+ "type": "text",
398
+ "text": "In this section, we present HighRes-net, a neural network for multi-frame super-resolution inside a single spectral band (greyscale images), using joint co-registration and fusion of multiple lowresolution views in an end-to-end learning framework. From a high-level, HighRes-net consists of an encoder-decoder architecture and can be trained by stochastic gradient descent using highresolution ground truth as supervision, as shown in Figure 3. ",
399
+ "bbox": [
400
+ 174,
401
+ 853,
402
+ 823,
403
+ 924
404
+ ],
405
+ "page_idx": 3
406
+ },
407
+ {
408
+ "type": "text",
409
+ "text": "Notation We denote by $\\theta$ the parameters of HighRes-net trained for a given upscaling factor $\\gamma$ . $L R _ { v , i } \\ \\in \\ \\mathbb { R } ^ { C \\times W \\times H }$ is one of a set of $K$ low-resolution views from the same site $v$ , where $C$ , $W$ and $H$ are the number of input channels, width and height of $L R _ { v , i }$ , respectively. We denote by $S R _ { v } ^ { \\theta } = F _ { \\theta } ^ { \\gamma } \\left( L R _ { v , 1 } . \\right.$ , . . . , $L R _ { v , K } )$ , the output of HighRes-net and by $H R _ { v } \\in \\mathbb R ^ { C \\times \\gamma W \\times \\gamma H }$ a ground truth high-resolution image. We denote by $[ T _ { 1 } , T _ { 2 } ]$ the concatenation of two images channelwise. In the following we supress the index $v$ over sites for clarity. ",
410
+ "bbox": [
411
+ 174,
412
+ 103,
413
+ 825,
414
+ 189
415
+ ],
416
+ "page_idx": 4
417
+ },
418
+ {
419
+ "type": "text",
420
+ "text": "HighRes-Net consists of three main steps: (1) encoding, which learns relevant features associated with each low-resolution view, (2) fusion, which merges relevant information from views within the same scene, and (3) decoding, which proposes a high-resolution reconstruction from the fused summary. ",
421
+ "bbox": [
422
+ 174,
423
+ 195,
424
+ 825,
425
+ 252
426
+ ],
427
+ "page_idx": 4
428
+ },
429
+ {
430
+ "type": "text",
431
+ "text": "3.1 ENCODE, FUSE, DECODE ",
432
+ "text_level": 1,
433
+ "bbox": [
434
+ 176,
435
+ 268,
436
+ 390,
437
+ 284
438
+ ],
439
+ "page_idx": 4
440
+ },
441
+ {
442
+ "type": "text",
443
+ "text": "Embed, Encode The core assumption of MFSR is that the low-resolution image set contains collectively more information than any single low-resolution image alone, due to differences in photometric or spatial coverage for instance. However, the redundant low frequency information in multiple views can hinder the training and test performance of a MFSR model. We thus compute a reference image ref as a shared representation for multiple low-resolution views $\\left( L R _ { i } \\right) _ { i = 1 } ^ { K }$ and embed each image jointly with ref. This highlights differences across the multiple views (Sanchez et al., 2019), and potentially allows HighRes-net to focus on difficult high-frequency features such as crop boundaries and rivers during super-resolution. The shared representation or reference image intuitively serves as an anchor for implicitly aligning and denoising multiple views in deeper layers. We refer to this mechanism as implicit $c o$ -registration. ",
444
+ "bbox": [
445
+ 173,
446
+ 294,
447
+ 825,
448
+ 438
449
+ ],
450
+ "page_idx": 4
451
+ },
452
+ {
453
+ "type": "text",
454
+ "text": "HighRes-net’s embedding layer $\\operatorname { e m b } _ { \\theta }$ consists of a convolutional layer and two residual blocks with PReLu activations (He et al., 2015) and is shared across all views. The embedded hidden states $s _ { i } ^ { 0 }$ are computed in parallel as follows: ",
455
+ "bbox": [
456
+ 176,
457
+ 444,
458
+ 823,
459
+ 486
460
+ ],
461
+ "page_idx": 4
462
+ },
463
+ {
464
+ "type": "equation",
465
+ "img_path": "images/9020e4a398a8ebd3e620f80c19ec9d9355ab348701c6bba98dde4baa4477a335.jpg",
466
+ "text": "$$\n\\begin{array} { r l } & { r e f ( c , i , j ) = \\operatorname * { m e d i a n } \\left( L R _ { 1 } ( c , i , j ) , \\mathrm { ~ } \\ldots , \\mathrm { ~ } L R _ { K } ( c , i , j ) \\right) , \\mathrm { s u c h ~ t h a t } r e f \\in \\mathbb { R } ^ { C \\times W \\times H } } \\\\ & { \\qquad \\quad s _ { i } ^ { 0 } = \\operatorname { e m b } _ { \\theta } \\left( \\left[ L R _ { i } , \\mathrm { ~ } r e f \\right] \\right) \\in \\mathbb { R } ^ { C _ { h } \\times W \\times H } , } \\end{array}\n$$",
467
+ "text_format": "latex",
468
+ "bbox": [
469
+ 212,
470
+ 492,
471
+ 784,
472
+ 534
473
+ ],
474
+ "page_idx": 4
475
+ },
476
+ {
477
+ "type": "text",
478
+ "text": "where $C _ { h }$ denotes the channels of the hidden state. ",
479
+ "bbox": [
480
+ 174,
481
+ 537,
482
+ 506,
483
+ 553
484
+ ],
485
+ "page_idx": 4
486
+ },
487
+ {
488
+ "type": "text",
489
+ "text": "The imageset is padded if the number of low-res views $K ^ { \\prime }$ is not a power of 2: we pad the set with dummy zero-valued views, such that the new size of the imageset $K$ is the next power of 2. See Algorithm 1, line 1. ",
490
+ "bbox": [
491
+ 174,
492
+ 559,
493
+ 825,
494
+ 602
495
+ ],
496
+ "page_idx": 4
497
+ },
498
+ {
499
+ "type": "text",
500
+ "text": "Fuse The embedded hidden states $s _ { i } ^ { 0 }$ are then fused recursively, halving by two the number of low-resolution states at each fusion step $t$ , as shown in Figure 4. Given a pair of hidden states $s _ { i } ^ { t } , s _ { j } ^ { t }$ HighRes-net computes a new representation: ",
501
+ "bbox": [
502
+ 176,
503
+ 617,
504
+ 823,
505
+ 660
506
+ ],
507
+ "page_idx": 4
508
+ },
509
+ {
510
+ "type": "equation",
511
+ "img_path": "images/1ee78e5fd328025558e3207514a155258a77812f75ef2a2b36a1ca1246c1d9f4.jpg",
512
+ "text": "$$\n\\begin{array} { r l } & { \\left[ { \\tilde { s } } _ { i } ^ { t } , \\ { \\tilde { s } } _ { j } ^ { t } \\right] = \\left[ s _ { i } ^ { t } , \\ s _ { j } ^ { t } \\right] + g _ { \\theta } \\left( \\left[ s _ { i } ^ { t } , \\ s _ { j } ^ { t } \\right] \\right) \\in \\mathbb { R } ^ { 2 C _ { h } \\times W \\times H } } \\\\ & { \\quad \\quad s _ { i } ^ { t + 1 } = s _ { i } ^ { t } + \\alpha _ { j } f _ { \\theta } \\left( \\tilde { s } _ { i } ^ { t } , \\ { \\tilde { s } } _ { j } ^ { t } \\right) \\in \\mathbb { R } ^ { C _ { h } \\times W \\times H } , } \\end{array}\n$$",
513
+ "text_format": "latex",
514
+ "bbox": [
515
+ 330,
516
+ 665,
517
+ 668,
518
+ 710
519
+ ],
520
+ "page_idx": 4
521
+ },
522
+ {
523
+ "type": "text",
524
+ "text": "where $\\tilde { s } _ { i } ^ { t } , ~ \\tilde { s } _ { j } ^ { t }$ are intermediate representations; $g _ { \\theta }$ is a shared-representation within an inner residual block (equation 3); $f _ { \\theta }$ is a fusion block, and $\\alpha _ { j }$ is 0 if the $j$ -th low-resolution view is part of the padding, and 1 otherwise. $f _ { \\theta }$ squashes $2 C _ { h }$ input channels into $C _ { h }$ channels and consists of a $( \\mathrm { c o n v } 2 \\mathrm { d } \\mathrm { + } \\mathrm { P r e L u } )$ . Intuitively, gθ aligns the two representations and it consists of two $\\mathrm { \\ c o n v { 2 d } + }$ PreLU) layers. ",
525
+ "bbox": [
526
+ 174,
527
+ 715,
528
+ 825,
529
+ 785
530
+ ],
531
+ "page_idx": 4
532
+ },
533
+ {
534
+ "type": "text",
535
+ "text": "The blocks $\\left( f _ { \\theta } , g _ { \\theta } \\right)$ are shared across all pairs and depths, giving it the flexibility to deal with variable size inputs and significantly reduce the number of parameters to learn. ",
536
+ "bbox": [
537
+ 173,
538
+ 791,
539
+ 823,
540
+ 820
541
+ ],
542
+ "page_idx": 4
543
+ },
544
+ {
545
+ "type": "text",
546
+ "text": "Upscale and Decode After $T = \\log _ { 2 } K$ fusion layers, the final low-resolution encoded state $s _ { i } ^ { T }$ contains information from all $K$ input views. Any information of a spatial location that was initially missing from $L R _ { i }$ , is now encoded implicitly in $s _ { i } ^ { T }$ . $T$ is called the depth of HighRes-net. Only then, $s _ { i } ^ { T }$ is upsampled with a deconvolutional layer ( $\\mathrm { { X u } }$ et al., 2014) to a higher-resolution space $s _ { H R } ^ { T } \\in \\dot { \\mathbb { R } } ^ { C _ { h } \\times \\gamma W \\times \\gamma H }$ . The hidden high-resolution encoded state $s _ { H R } ^ { T }$ is eventually convolved with a $1 \\times 1$ 2D kernel to produce a final super-resolved image $S R ^ { \\theta } \\in \\bar { \\mathbb { R } ^ { C \\times \\gamma W \\times \\gamma H } }$ . ",
547
+ "bbox": [
548
+ 173,
549
+ 835,
550
+ 825,
551
+ 924
552
+ ],
553
+ "page_idx": 4
554
+ },
555
+ {
556
+ "type": "image",
557
+ "img_path": "images/2da5cd799cda4ada5a8f1231723d647c1af6bd186e40b14a471878e403e09943.jpg",
558
+ "image_caption": [
559
+ "Figure 4: HighRes-net’s global fusion operator consists of a co-registration $g _ { \\theta }$ and a fusion $f _ { \\theta }$ block which aligns and combines two representations into a single representation. "
560
+ ],
561
+ "image_footnote": [],
562
+ "bbox": [
563
+ 228,
564
+ 101,
565
+ 774,
566
+ 198
567
+ ],
568
+ "page_idx": 5
569
+ },
570
+ {
571
+ "type": "text",
572
+ "text": "The overall architecture of HighRes-net is summarized in Figure 3(a) and the pseudocode for the forward pass is given in Algorithm 1. ",
573
+ "bbox": [
574
+ 174,
575
+ 273,
576
+ 823,
577
+ 303
578
+ ],
579
+ "page_idx": 5
580
+ },
581
+ {
582
+ "type": "text",
583
+ "text": "Algorithm 1: HighRes-net forward pass ",
584
+ "text_level": 1,
585
+ "bbox": [
586
+ 176,
587
+ 324,
588
+ 441,
589
+ 339
590
+ ],
591
+ "page_idx": 5
592
+ },
593
+ {
594
+ "type": "table",
595
+ "img_path": "images/3a651b4ba44461cfd44f5d6a812803492ae264099b545f3454214425f1050396.jpg",
596
+ "table_caption": [],
597
+ "table_footnote": [],
598
+ "table_body": "<table><tr><td>Input: low-res views LR1 ...LRk&#x27;</td></tr><tr><td>1 (LR1...LRK,α1...αk)← pad(LR1...LRκ&#x27;) // pad inputs to next power of 2</td></tr><tr><td>2 s ← encode(LRi) // parallelized across 1...K</td></tr><tr><td></td></tr><tr><td>3 T←log2K // fusion depth 4k←K</td></tr><tr><td>5 fort = 1...Tdo</td></tr><tr><td>6 fori = 1...k/2do t-1</td></tr><tr><td>st← fuse s-i, 7 Qk-i) // fuse encoded views 8 k=k/2</td></tr><tr><td>9 SR ← decode(sT)</td></tr><tr><td>Output: super-resolved view SR</td></tr></table>",
599
+ "bbox": [
600
+ 176,
601
+ 343,
602
+ 813,
603
+ 527
604
+ ],
605
+ "page_idx": 5
606
+ },
607
+ {
608
+ "type": "text",
609
+ "text": "4 REGISTRATION MATTERS ",
610
+ "text_level": 1,
611
+ "bbox": [
612
+ 176,
613
+ 574,
614
+ 415,
615
+ 589
616
+ ],
617
+ "page_idx": 5
618
+ },
619
+ {
620
+ "type": "text",
621
+ "text": "Co-registration matters for fusion. HighRes-net learns to implicity co-register multiple lowresolution views $L R _ { i }$ and fuse them into a single super resolved image $S R _ { \\theta }$ . ",
622
+ "bbox": [
623
+ 173,
624
+ 606,
625
+ 821,
626
+ 635
627
+ ],
628
+ "page_idx": 5
629
+ },
630
+ {
631
+ "type": "text",
632
+ "text": "A more explicit registration-at-the-loss can also be used for measuring similarity metrics and distances between $S R _ { \\theta }$ and $H R$ . Indeed, training HighRes-Net alone, by minimizing a reconstruction error such as the mean-squared error between $S R _ { \\theta }$ and $H R$ , leads to blurry outputs, since the neural network has to compensate for pixel and sub-pixel misalignments between its output $S R _ { \\theta }$ and $H R$ . ",
633
+ "bbox": [
634
+ 174,
635
+ 641,
636
+ 825,
637
+ 698
638
+ ],
639
+ "page_idx": 5
640
+ },
641
+ {
642
+ "type": "text",
643
+ "text": "Here, we present ShiftNet-Lanczos, a neural network that can be paired with HighRes-net to account for pixel and sub-pixel shifts in the loss, as depicted in Figure 3(b). Our ablation study A.2 and qualitative visual analysis suggest that this strategy helps HighRes-net learn to super-resolve and leads to clearly improved results. ",
644
+ "bbox": [
645
+ 174,
646
+ 704,
647
+ 825,
648
+ 760
649
+ ],
650
+ "page_idx": 5
651
+ },
652
+ {
653
+ "type": "text",
654
+ "text": "4.1 SHIFTNET-LANCZOS ",
655
+ "text_level": 1,
656
+ "bbox": [
657
+ 174,
658
+ 780,
659
+ 359,
660
+ 795
661
+ ],
662
+ "page_idx": 5
663
+ },
664
+ {
665
+ "type": "text",
666
+ "text": "ShiftNet learns to align a pair of images with sub-pixel translations. ShiftNet registers pairs of images by predicting two parameters defining a global translation. Once a sub-pixel translation is found for a given pair of images, it is applied through a Lanczos shift kernel to align the images. ",
667
+ "bbox": [
668
+ 174,
669
+ 808,
670
+ 825,
671
+ 849
672
+ ],
673
+ "page_idx": 5
674
+ },
675
+ {
676
+ "type": "text",
677
+ "text": "ShiftNet The architecture of ShiftNet is adapted from HomographyNet (DeTone et al., 2016). Translations are a special case of homographies. In this sense, ShiftNet is simply a special case of HomographyNet, predicting 2 shift parameters instead of 8 homography parameters. See Appendix A.3, for details on the architecture of ShiftNet. ",
678
+ "bbox": [
679
+ 174,
680
+ 867,
681
+ 825,
682
+ 924
683
+ ],
684
+ "page_idx": 5
685
+ },
686
+ {
687
+ "type": "table",
688
+ "img_path": "images/73db354f5cca89b2ceab5bb8dbfcdfada06bbe9e32ed16efbff32b443321d3ad.jpg",
689
+ "table_caption": [
690
+ "Algorithm 2: Sub-pixel registered loss through ShiftNet-Lanczos "
691
+ ],
692
+ "table_footnote": [],
693
+ "table_body": "<table><tr><td>Input: SRθ, HR</td><td>// super-resolved view, high-resolution ground-truth</td></tr><tr><td>1 (△x,△y)← ShiftNet (SRe,HR)</td><td>// register SR to HR</td></tr><tr><td>2 κ△ ← LanczosShiftKernel(△)</td><td>// 1D Lanczos kernels for x and y sub-pixel shifts</td></tr><tr><td>3 SRθ,△ ← SRθ * K△x * K△y</td><td>// 2D sub-pixel shift by separable 1D convolutions</td></tr><tr><td></td><td>// sub-pixel registered loss</td></tr><tr><td>4 lθ,△ ← loss(SRθ,△,HR) Output: lθ,△</td><td></td></tr></table>",
694
+ "bbox": [
695
+ 178,
696
+ 127,
697
+ 815,
698
+ 243
699
+ ],
700
+ "page_idx": 6
701
+ },
702
+ {
703
+ "type": "text",
704
+ "text": "One major difference from HomographyNet is the way we train ShiftNet: In (DeTone et al., 2016), HomographyNet is trained on synthetically transformed data, supervised with ground-truth homography matrices. In our setting, ShiftNet is trained to cooperate with HighRes-net, towards the common goal of MFSR (see section Objective function below). ",
705
+ "bbox": [
706
+ 173,
707
+ 273,
708
+ 825,
709
+ 330
710
+ ],
711
+ "page_idx": 6
712
+ },
713
+ {
714
+ "type": "text",
715
+ "text": "Lanczos shift & interpolation kernel To shift and align an image by a sub-pixel amount, it must be convolved with a filter that shifts for the integer parts and interpolates for the fractional parts of the translation. Standard options for interpolation include the nearest-neighbor, sinc, bilinear, bicubic, and Lanczos filters (Turkowski, 1990). The sinc filter has an infinite support as opposed to any digital signal, so in practice it produces ringing or ripple artifacts — an example of the Gibbs phenomenon. The nearest-neighbor and bilinear filters do not induce ringing, but strongly attenuate the higher-frequency components (over-smoothing), and can even alias the image. The Lanczos filter reduces the ringing significantly by using only a finite part of the since (up to a few lobes from the origin). Experimentally, we found the Lanczos filter to perform the best. ",
716
+ "bbox": [
717
+ 173,
718
+ 344,
719
+ 825,
720
+ 472
721
+ ],
722
+ "page_idx": 6
723
+ },
724
+ {
725
+ "type": "text",
726
+ "text": "Objective function In our setting, registration benefits super-resolution. HighRes-net receives more informative gradient signals when its output is aligned with the ground truth high-resolution image. Conversely, super-resolution benefits registration, since good features are key to align images (Clement et al., 2018). We thus trained HighRes-Net and ShiftNet-Lanczos in a cooperative setting, where both neural networks work together to minimize an objective function, as opposed to an adversarial setting where a generator tries to fool a discriminator. HighRes-net infers a latent superresolved variable and ShiftNet maximises its similarity to a ground truth high-resolution image with sub-pixel shifts. ",
727
+ "bbox": [
728
+ 173,
729
+ 486,
730
+ 825,
731
+ 598
732
+ ],
733
+ "page_idx": 6
734
+ },
735
+ {
736
+ "type": "text",
737
+ "text": "By predicting and applying sub-pixel translations in a differentiable way, our approach for registration and super-resolution can be combined in an end-to-end learning framework. Shift-Net predicts a sub-pixel shift $\\Delta$ from a pair of high-resolution images. The predicted transformation is applied with Lanczos interpolation to align the two images at a pixel level. ShiftNet and HighRes-Net are trained jointly to minimize a common loss function, using backpropagation and stochastic gradient descent. Our objective function is composed of a registered reconstruction loss computed as in Algorithm 2. In our case, we used the corrected clear PSNR metric (cPSNR), chosen by ESA, which is a variant of the mean squared error, designed to correct for brightness and clouds in satellite images (Martens et al. ¨ , 2019), but the proposed architecture is decoupled from the choice of loss. ",
738
+ "bbox": [
739
+ 173,
740
+ 604,
741
+ 825,
742
+ 729
743
+ ],
744
+ "page_idx": 6
745
+ },
746
+ {
747
+ "type": "text",
748
+ "text": "See Algorithm 4 for the pseudo-code for computing the alignment loss $\\ell _ { \\theta , \\Delta }$ . We further regularize the L2 norm of ShiftNet’s ouput with a hyperparameter $\\lambda$ and our final joint objective is given by: ",
749
+ "bbox": [
750
+ 173,
751
+ 737,
752
+ 823,
753
+ 765
754
+ ],
755
+ "page_idx": 6
756
+ },
757
+ {
758
+ "type": "equation",
759
+ "img_path": "images/16a704395ed4a96b1e11cfa0ee1c73f0a2b92f9301a48fa677ebc29e1c8bb36e.jpg",
760
+ "text": "$$\nL _ { \\theta , \\Delta } ( S R _ { \\theta } , H R ) = \\ell _ { \\theta , \\Delta } + \\lambda | | \\Delta | | _ { 2 } .\n$$",
761
+ "text_format": "latex",
762
+ "bbox": [
763
+ 379,
764
+ 772,
765
+ 619,
766
+ 790
767
+ ],
768
+ "page_idx": 6
769
+ },
770
+ {
771
+ "type": "text",
772
+ "text": "5 EXPERIMENTS AND RESULTS ",
773
+ "text_level": 1,
774
+ "bbox": [
775
+ 176,
776
+ 809,
777
+ 446,
778
+ 824
779
+ ],
780
+ "page_idx": 6
781
+ },
782
+ {
783
+ "type": "text",
784
+ "text": "Prior SR work has focused on super-resolving low-res images that are artificially generated by simple bilinear down-sampling, (Bulat et al., 2018) The PROBA-V satellite has separate cameras onboard for capturing high-res / low-res pairs. As far as we know, the PROBA-V dataset is the first publicly available dataset for MFSR that contains naturally occurring low-res and high-res pairs. This is in contrast to most of the work in SR (SISR, MFSR, Video SR, Stereo SR) that synthetically down-sample high-res images and frames (Wang et al., 2019c; Nah et al., 2019). Methods that are trained on artificially downscaled datasets fail to produce good results when applied to real-world low-resolution, low quality images (Shocher et al., 2018). For this reason, we experiment only on PROBA-V, a dataset that does not suffer from biases induced by artificial down-sampling. ",
785
+ "bbox": [
786
+ 173,
787
+ 839,
788
+ 825,
789
+ 924
790
+ ],
791
+ "page_idx": 6
792
+ },
793
+ {
794
+ "type": "text",
795
+ "text": "",
796
+ "bbox": [
797
+ 176,
798
+ 103,
799
+ 823,
800
+ 146
801
+ ],
802
+ "page_idx": 7
803
+ },
804
+ {
805
+ "type": "text",
806
+ "text": "5.1 PROBA-V KELVIN DATASET ",
807
+ "text_level": 1,
808
+ "bbox": [
809
+ 176,
810
+ 162,
811
+ 405,
812
+ 176
813
+ ],
814
+ "page_idx": 7
815
+ },
816
+ {
817
+ "type": "text",
818
+ "text": "The performance of our method is illustrated with satellite imagery from the Kelvin competition, organized by ESA’s Advanced Concept Team (ACT). ",
819
+ "bbox": [
820
+ 171,
821
+ 188,
822
+ 823,
823
+ 217
824
+ ],
825
+ "page_idx": 7
826
+ },
827
+ {
828
+ "type": "text",
829
+ "text": "The Proba-V Kelvin dataset (Martens et al. ¨ , 2019) contains 1450 scenes (RED and NIR spectral bands) from 74 hand-selected Earth regions around the globe at different points in time. The scenes are split into 1160 scenes for training and 290 scenes for testing. Each data-point consists of exactly one $1 0 0 \\mathrm { m }$ resolution image as $3 8 4 \\times 3 8 4$ grey-scale pixel images (HR) and several $3 0 0 \\mathrm { m }$ resolution images from the same scene as $1 2 8 \\times 1 2 8$ grey-scale pixel images (LR), spaced days apart. We refer the reader to the Proba-V manual (Wolters et al., 2014) for further details on image acquisition. ",
830
+ "bbox": [
831
+ 174,
832
+ 223,
833
+ 823,
834
+ 308
835
+ ],
836
+ "page_idx": 7
837
+ },
838
+ {
839
+ "type": "text",
840
+ "text": "Each scene comes with at least 9 low-res views, and an average of 19. Each view comes with a noisy quality map. The quality map is a binary map, that indicates concealed pixels due to volatile features, such as clouds, cloud shadows, ice, water and snow. The sum of clear pixels (1s in the binary mask) is defined as the clearance of a low-res view. These incidental and noisy features can change fundamental aspects of the image, such as the contrast, brightness, illumination and landscape features. We use the clearance scores to randomly sample from the imageset of low-res views, such that views with higher clearance are more likely to be selected. This strategy helps to prevent overfitting. See Appendix A.4 for more details. ",
841
+ "bbox": [
842
+ 174,
843
+ 314,
844
+ 825,
845
+ 426
846
+ ],
847
+ "page_idx": 7
848
+ },
849
+ {
850
+ "type": "text",
851
+ "text": "Working with missing or noisy values A quality map can be used as a binary mask to indicate noisy or occluded pixels, due to clouds, snow, or other volatile objects. Such a mask can be fed as an additional input channel in the respective low-res view, in the same fashion as thereference frame. When missing value masks are available, neural networks can learn which parts of the input are anomalous, noisy, or missing, when provided with such binary masks (see e.g. Che et al. (2018)). In satellite applications where clouds masks are not available, other segmentation methods would be in order to infer such masks as a preprocessing step (e.g. Long et al. (2015)). In the case of the PROBA-V dataset, we get improved results when we make no use of the masks provided. Instead we use the masks only to inform the sampling scheme within the low-res imageset to prevent overfitting. ",
852
+ "bbox": [
853
+ 174,
854
+ 441,
855
+ 825,
856
+ 566
857
+ ],
858
+ "page_idx": 7
859
+ },
860
+ {
861
+ "type": "text",
862
+ "text": "5.2 EXPERIMENTS ",
863
+ "text_level": 1,
864
+ "bbox": [
865
+ 176,
866
+ 583,
867
+ 315,
868
+ 598
869
+ ],
870
+ "page_idx": 7
871
+ },
872
+ {
873
+ "type": "text",
874
+ "text": "Across all experiments, we used the same hyperparameters, reported in Appendix A.1. By default, each imageset is padded to 32 views for training and testing, unless specified otherwise. Our pytorch implementation requires less than 9h of training on a single NVIDIA V100 GPU. At test time, superresolving an imageset of size $1 2 8 \\mathrm { x } 1 2 8$ by a factor of 3, takes less than 0.2 seconds. Our code is made available on github1. ",
875
+ "bbox": [
876
+ 174,
877
+ 609,
878
+ 825,
879
+ 679
880
+ ],
881
+ "page_idx": 7
882
+ },
883
+ {
884
+ "type": "text",
885
+ "text": "We evaluated different models on ESA’s Kelvin competition. Our best model, HighRes-Net trained jointly with shiftNet-Lanczos, scored consistently at the top of the public and final leaderboard, see Table 1. In the following, we discuss several baselines and report our experiments. ",
886
+ "bbox": [
887
+ 174,
888
+ 685,
889
+ 825,
890
+ 728
891
+ ],
892
+ "page_idx": 7
893
+ },
894
+ {
895
+ "type": "text",
896
+ "text": "5.3 COMPARISONS ",
897
+ "text_level": 1,
898
+ "bbox": [
899
+ 174,
900
+ 746,
901
+ 316,
902
+ 760
903
+ ],
904
+ "page_idx": 7
905
+ },
906
+ {
907
+ "type": "text",
908
+ "text": "• ESA baseline upsamples each low-resolution view separately with bicubic up-sampling and averages those of maximum clearance. \n• SRResNet (Ledig et al., 2017) is a deep learning SISR baseline. \nSRResNet- $1 +$ shiftNet was trained with ShiftNet. \n• SRResNet- $^ { 6 + }$ shiftNet differs from the previous model during test time only. It independently upsamples 6 low-resolution views with SRResNet-1, co-registers the super-resolved images using shiftNet, and averages the 6 aligned super-resolved images into a final prediction. \nACT baseline (Martens et al. ¨ , 2019) is a Convolutional Neural Network with five fixed channels for the five clearest low-resolution views. \nDeepSUM baseline (Molini et al., 2019) can be seen as a variant of SRResNet- $\\cdot 6 +$ shiftNet. Multiple low-res views are independently upsampled, then co-registered and fused into a single image. \n• HighRes-net $^ +$ shiftNet are described in sections 3 and 4. Upsampling is done in the last step as opposed to (Molini et al., 2019). \n• Ensemble An ensemble of two trained (HighRes-net $^ +$ shiftNet) models, one with ${ \\mathrm { K } } { = } 1 6$ and one with ${ \\mathrm { K } } { = } 3 2$ input views, whose outputs are averaged. ",
909
+ "bbox": [
910
+ 173,
911
+ 767,
912
+ 825,
913
+ 902
914
+ ],
915
+ "page_idx": 7
916
+ },
917
+ {
918
+ "type": "text",
919
+ "text": "",
920
+ "bbox": [
921
+ 174,
922
+ 103,
923
+ 825,
924
+ 191
925
+ ],
926
+ "page_idx": 8
927
+ },
928
+ {
929
+ "type": "text",
930
+ "text": "5.4 ESA KELVIN LEADERBOARD ",
931
+ "text_level": 1,
932
+ "bbox": [
933
+ 176,
934
+ 208,
935
+ 415,
936
+ 222
937
+ ],
938
+ "page_idx": 8
939
+ },
940
+ {
941
+ "type": "text",
942
+ "text": "The Kelvin competition used the corrected clear PSNR (cPSNR) quality metric as the standardized measure of performance. The cPSNR is a variant of the Peak Signal to Noise Ratio (PSNR) used to compensate for pixel-shifts and brightness bias. We refer the reader to (Martens et al. ¨ , 2019) for the motivation and derivation of this quality metric. The cPSNR metric is normalized by the score of the ESA baseline algorithm so that a score smaller than 1 means “better than the baseline” and lower is better. We also use it as our training objective with sub-pixel registration (see also section 3(b) on ShiftNet). ",
943
+ "bbox": [
944
+ 174,
945
+ 233,
946
+ 825,
947
+ 332
948
+ ],
949
+ "page_idx": 8
950
+ },
951
+ {
952
+ "type": "table",
953
+ "img_path": "images/04649dbc99fb9940f454d04feca04dbe00fd9a6dfadc14377f69db9b33a22593.jpg",
954
+ "table_caption": [
955
+ "Table 1: Public and final leaderboard scores for the ESA’s Kelvin competition. Lower score means a better reconstruction. "
956
+ ],
957
+ "table_footnote": [],
958
+ "table_body": "<table><tr><td>Method</td><td>Public score</td><td>Final score</td></tr><tr><td>SRResNet (Ledig et al., 2017)</td><td>1.0095</td><td>1.0084</td></tr><tr><td>ESA baseline</td><td>1.0000</td><td>1.0000</td></tr><tr><td>SRResNet-1+ shiftNet</td><td>1.0002</td><td>0.9995</td></tr><tr><td>ACT baseline (Märtens et al., 2019)</td><td>0.9874</td><td>0.9879</td></tr><tr><td>SRResNet-6+ shiftNet</td><td>0.9808</td><td>0.9794</td></tr><tr><td>HighRes-net + shiftNet (ours)</td><td>0.9496</td><td>0.9488</td></tr><tr><td>HighRes-net+ shiftNet Ensemble (ours)</td><td>0.94738</td><td>0.94774</td></tr><tr><td>DeepSUM (Molini et al., 2019)</td><td>0.94884</td><td>0.94744</td></tr></table>",
959
+ "bbox": [
960
+ 258,
961
+ 385,
962
+ 738,
963
+ 517
964
+ ],
965
+ "page_idx": 8
966
+ },
967
+ {
968
+ "type": "text",
969
+ "text": "5.4.1 ABLATION STUDY",
970
+ "text_level": 1,
971
+ "bbox": [
972
+ 174,
973
+ 544,
974
+ 352,
975
+ 558
976
+ ],
977
+ "page_idx": 8
978
+ },
979
+ {
980
+ "type": "text",
981
+ "text": "We further ran an ablation study on the available labeled data (1450 image sets), split in $9 0 \\% / \\ 1 0 \\%$ for training and testing. Our results suggest that more low-resolution views benefit the reconstruction error, plateuing after 16 views, see Appendix A.2. Another finding is that registration matters for MFSR, both in co-registering low-res views, and registering-at-the-loss, see Appendix A.3. Finally, selecting the $k$ clearest views for fusion can lead to ovefitting. One remedy is to randomly sample the views with a bias for clearance, see A.4. ",
982
+ "bbox": [
983
+ 173,
984
+ 568,
985
+ 825,
986
+ 651
987
+ ],
988
+ "page_idx": 8
989
+ },
990
+ {
991
+ "type": "text",
992
+ "text": "6 DISCUSSION ",
993
+ "text_level": 1,
994
+ "bbox": [
995
+ 174,
996
+ 671,
997
+ 310,
998
+ 688
999
+ ],
1000
+ "page_idx": 8
1001
+ },
1002
+ {
1003
+ "type": "text",
1004
+ "text": "6.1 THE IMPORTANCE OF GROUNDED DETAILS ",
1005
+ "text_level": 1,
1006
+ "bbox": [
1007
+ 174,
1008
+ 702,
1009
+ 508,
1010
+ 715
1011
+ ],
1012
+ "page_idx": 8
1013
+ },
1014
+ {
1015
+ "type": "text",
1016
+ "text": "The PROBA-V satellite (Dierckx et al., 2014) was launched by ESA to monitor Earth’s vegetation growth, water resources and agriculture. As a form of data fusion and enrichment, multi-frame super-resolution could enhance the vision of such satellites for scientific and monitoring applications (Carlson & Ripley, 1997; Pettorelli et al., 2005). More broadly, satellite imagery can help NGOs and non-profits monitor the environment and human rights (Cornebise et al., 2018; Helber et al., 2018; Rudner et al., 2019; Rolnick et al., 2019) at scale, from space, ultimately contributing to the UN sustainable development goals. Low-resolution imagery is cheap or sometimes free, and it is frequently updated. However, with the addition of fake or imaginary details, such enhancement wouldn’t be valuable as scientific, legal, or forensic evidence. ",
1017
+ "bbox": [
1018
+ 174,
1019
+ 727,
1020
+ 825,
1021
+ 853
1022
+ ],
1023
+ "page_idx": 8
1024
+ },
1025
+ {
1026
+ "type": "text",
1027
+ "text": "6.2 FUTURE WORK ",
1028
+ "text_level": 1,
1029
+ "bbox": [
1030
+ 174,
1031
+ 869,
1032
+ 318,
1033
+ 883
1034
+ ],
1035
+ "page_idx": 8
1036
+ },
1037
+ {
1038
+ "type": "text",
1039
+ "text": "Registration matters at the loss stage but also at the fusion stage. The latter is not explicit in our model and the reason why and how it works is less understood. Learning to sample a reference frame and learning to fuse multiple representations with attention could also be a promising approach to extend HighRes-net. ",
1040
+ "bbox": [
1041
+ 174,
1042
+ 895,
1043
+ 823,
1044
+ 924
1045
+ ],
1046
+ "page_idx": 8
1047
+ },
1048
+ {
1049
+ "type": "text",
1050
+ "text": "",
1051
+ "bbox": [
1052
+ 173,
1053
+ 103,
1054
+ 823,
1055
+ 132
1056
+ ],
1057
+ "page_idx": 9
1058
+ },
1059
+ {
1060
+ "type": "text",
1061
+ "text": "Ensuring authenticity of detail is a major challenge and quantifying uncertainty of super-resolved images is an important line of future work for real world applications. Along this line of research, the question of how to evaluate a super-resolved image is important for downstream tasks and, more generally, similarity metrics remain an open question for many computer visions tasks (Bruna et al., 2015; Johnson et al., 2016; Isola et al., 2017; Ledig et al., 2017). ",
1062
+ "bbox": [
1063
+ 174,
1064
+ 138,
1065
+ 825,
1066
+ 208
1067
+ ],
1068
+ "page_idx": 9
1069
+ },
1070
+ {
1071
+ "type": "text",
1072
+ "text": "6.3 CONCLUSION ",
1073
+ "text_level": 1,
1074
+ "bbox": [
1075
+ 174,
1076
+ 226,
1077
+ 308,
1078
+ 239
1079
+ ],
1080
+ "page_idx": 9
1081
+ },
1082
+ {
1083
+ "type": "text",
1084
+ "text": "In this paper, we presented HighRes-net – the first deep learning approach to multi-frame superresolution that learns typical sub-tasks of MFSR in an end-to-end fashion: (i) co-registration, (ii) fusion, (iii) up-sampling, and (iv) registration-at-the-loss. ",
1085
+ "bbox": [
1086
+ 174,
1087
+ 252,
1088
+ 825,
1089
+ 294
1090
+ ],
1091
+ "page_idx": 9
1092
+ },
1093
+ {
1094
+ "type": "text",
1095
+ "text": "It recursively fuses a variable number of low-resolution views by learning a global fusion operator. The overall fusion also aligns all low-resolution views with an implicit co-registration mechanism through the reference channel. We also introduced ShiftNet-Lanczos, a network that learns to register and align the super-resolved output of HighRes-net with a high-resolution ground-truth. ",
1096
+ "bbox": [
1097
+ 174,
1098
+ 301,
1099
+ 823,
1100
+ 356
1101
+ ],
1102
+ "page_idx": 9
1103
+ },
1104
+ {
1105
+ "type": "text",
1106
+ "text": "Registration is important both to align multiple low-resolution inputs (co-registration) and to compute similarity metrics between shifted signals. Our experiments suggest that an end-to-end cooperative setting (HighRes-net $^ +$ ShiftNet-Lanczos) helps with training and test performance. By design, our approach is fast to train, faster to test, and low in terms of memory-footprint by doing the bulk of the computational work (co-registration $^ +$ fusion) on multiple images while maintaining their low-resolution height & width. ",
1107
+ "bbox": [
1108
+ 174,
1109
+ 363,
1110
+ 823,
1111
+ 446
1112
+ ],
1113
+ "page_idx": 9
1114
+ },
1115
+ {
1116
+ "type": "text",
1117
+ "text": "There is an ongoing proliferation of low-resolution yet high-revisit low-cost satellite imagery, but they often lack the detailed information of expensive high-resolution imagery. We believe MFSR can raise its potential to NGOs and non-profits that contribute to the UN Sunstainable Development Goals. ",
1118
+ "bbox": [
1119
+ 174,
1120
+ 454,
1121
+ 825,
1122
+ 510
1123
+ ],
1124
+ "page_idx": 9
1125
+ },
1126
+ {
1127
+ "type": "text",
1128
+ "text": "REFERENCES ",
1129
+ "text_level": 1,
1130
+ "bbox": [
1131
+ 174,
1132
+ 103,
1133
+ 287,
1134
+ 117
1135
+ ],
1136
+ "page_idx": 10
1137
+ },
1138
+ {
1139
+ "type": "text",
1140
+ "text": "Joan Bruna, Pablo Sprechmann, and Yann LeCun. Super-resolution with deep convolutional sufficient statistics. arXiv preprint arXiv:1511.05666, 2015. ",
1141
+ "bbox": [
1142
+ 173,
1143
+ 125,
1144
+ 823,
1145
+ 151
1146
+ ],
1147
+ "page_idx": 10
1148
+ },
1149
+ {
1150
+ "type": "text",
1151
+ "text": "Adrian Bulat, Jing Yang, and Georgios Tzimiropoulos. To learn image super-resolution, use a gan to learn how to do image degradation first. In Proceedings of the European Conference on Computer Vision (ECCV), pp. 185–200, 2018. ",
1152
+ "bbox": [
1153
+ 173,
1154
+ 159,
1155
+ 823,
1156
+ 198
1157
+ ],
1158
+ "page_idx": 10
1159
+ },
1160
+ {
1161
+ "type": "text",
1162
+ "text": "David Capel and Andrew Zisserman. Super-resolution from multiple views using learnt image models. In Proceedings of the 2001 IEEE Computer Society Conference on Computer Vision and Pattern Recognition. CVPR 2001, volume 2, pp. II–II. IEEE, 2001. ",
1163
+ "bbox": [
1164
+ 174,
1165
+ 207,
1166
+ 823,
1167
+ 246
1168
+ ],
1169
+ "page_idx": 10
1170
+ },
1171
+ {
1172
+ "type": "text",
1173
+ "text": "Toby N Carlson and David A Ripley. On the relation between ndvi, fractional vegetation cover, and leaf area index. Remote sensing of Environment, 62(3):241–252, 1997. ",
1174
+ "bbox": [
1175
+ 171,
1176
+ 253,
1177
+ 823,
1178
+ 280
1179
+ ],
1180
+ "page_idx": 10
1181
+ },
1182
+ {
1183
+ "type": "text",
1184
+ "text": "Tony F Chan and Chiu-Kwong Wong. Total variation blind deconvolution. IEEE transactions on Image Processing, 7(3):370–375, 1998. ",
1185
+ "bbox": [
1186
+ 173,
1187
+ 287,
1188
+ 823,
1189
+ 315
1190
+ ],
1191
+ "page_idx": 10
1192
+ },
1193
+ {
1194
+ "type": "text",
1195
+ "text": "Hong Chang, Dit-Yan Yeung, and Yimin Xiong. Super-resolution through neighbor embedding. In Proceedings of the 2004 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, 2004. CVPR 2004., volume 1, pp. I–I. IEEE, 2004. ",
1196
+ "bbox": [
1197
+ 173,
1198
+ 321,
1199
+ 825,
1200
+ 362
1201
+ ],
1202
+ "page_idx": 10
1203
+ },
1204
+ {
1205
+ "type": "text",
1206
+ "text": "Zhengping Che, Sanjay Purushotham, Kyunghyun Cho, David Sontag, and Yan Liu. Recurrent neural networks for multivariate time series with missing values. Scientific reports, 8(1):6085, 2018. ",
1207
+ "bbox": [
1208
+ 171,
1209
+ 369,
1210
+ 823,
1211
+ 397
1212
+ ],
1213
+ "page_idx": 10
1214
+ },
1215
+ {
1216
+ "type": "text",
1217
+ "text": "Colin B Clement, Matthew Bierbaum, and James P Sethna. Image registration and super resolution from first principles. arXiv preprint arXiv:1809.05583, 2018. ",
1218
+ "bbox": [
1219
+ 171,
1220
+ 405,
1221
+ 823,
1222
+ 433
1223
+ ],
1224
+ "page_idx": 10
1225
+ },
1226
+ {
1227
+ "type": "text",
1228
+ "text": "Julien Cornebise, Daniel Worrall, Micah Farfour, and Milena Marin. Witnessing atrocities: Quantifying villages destruction in darfur with crowdsourcing and transfer learning. In AI for Social Good NIPS2018 Workshop, Montreal, Canada ´ , 2018. ",
1229
+ "bbox": [
1230
+ 173,
1231
+ 439,
1232
+ 823,
1233
+ 479
1234
+ ],
1235
+ "page_idx": 10
1236
+ },
1237
+ {
1238
+ "type": "text",
1239
+ "text": "Daniel DeTone, Tomasz Malisiewicz, and Andrew Rabinovich. Deep image homography estimation. arXiv preprint arXiv:1606.03798, 2016. ",
1240
+ "bbox": [
1241
+ 173,
1242
+ 486,
1243
+ 823,
1244
+ 513
1245
+ ],
1246
+ "page_idx": 10
1247
+ },
1248
+ {
1249
+ "type": "text",
1250
+ "text": "Wouter Dierckx, Sindy Sterckx, Iskander Benhadj, Stefan Livens, Geert Duhoux, Tanja Van Achteren, Michael Francois, Karim Mellab, and Gilbert Saint. Proba-v mission for global vegetation monitoring: standard products and image quality. International Journal of Remote Sensing, 35(7):2589–2614, 2014. ",
1251
+ "bbox": [
1252
+ 174,
1253
+ 521,
1254
+ 821,
1255
+ 561
1256
+ ],
1257
+ "page_idx": 10
1258
+ },
1259
+ {
1260
+ "type": "text",
1261
+ "text": "Chao Dong, Chen Change Loy, Kaiming He, and Xiaoou Tang. Learning a deep convolutional network for image super-resolution. In European conference on computer vision, pp. 184–199. Springer, 2014. ",
1262
+ "bbox": [
1263
+ 173,
1264
+ 569,
1265
+ 823,
1266
+ 597
1267
+ ],
1268
+ "page_idx": 10
1269
+ },
1270
+ {
1271
+ "type": "text",
1272
+ "text": "K Eric Drexler. Reframing superintelligence: Comprehensive ai services as general intelligence, 2019. ",
1273
+ "bbox": [
1274
+ 176,
1275
+ 603,
1276
+ 782,
1277
+ 618
1278
+ ],
1279
+ "page_idx": 10
1280
+ },
1281
+ {
1282
+ "type": "text",
1283
+ "text": "Sina Farsiu, M Dirk Robinson, Michael Elad, and Peyman Milanfar. Fast and robust multiframe super resolution. IEEE transactions on image processing, 13(10):1327–1344, 2004. ",
1284
+ "bbox": [
1285
+ 173,
1286
+ 626,
1287
+ 821,
1288
+ 654
1289
+ ],
1290
+ "page_idx": 10
1291
+ },
1292
+ {
1293
+ "type": "text",
1294
+ "text": "J Michael Fitzpatrick, Derek LG Hill, Calvin R Maurer, et al. Image registration. Handbook of medical imaging, 2:447–513, 2000. ",
1295
+ "bbox": [
1296
+ 173,
1297
+ 660,
1298
+ 823,
1299
+ 688
1300
+ ],
1301
+ "page_idx": 10
1302
+ },
1303
+ {
1304
+ "type": "text",
1305
+ "text": "William T Freeman, Thouis R Jones, and Egon C Pasztor. Example-based super-resolution. IEEE Computer graphics and Applications, 22(2):56–65, 2002. ",
1306
+ "bbox": [
1307
+ 171,
1308
+ 695,
1309
+ 823,
1310
+ 722
1311
+ ],
1312
+ "page_idx": 10
1313
+ },
1314
+ {
1315
+ "type": "text",
1316
+ "text": "Theresa L. Harris, Jonathan Drake, Jessica M. Wyndham, Susan R. Wolfinbarger, Stephen D. Lott, and Michael Lerner. Geospatial evidence in international human rights litigation: Technical and legal considerations. Technical report, AAAS Scientific Responsibility, Human Rights and Law Program, 2018. ",
1317
+ "bbox": [
1318
+ 176,
1319
+ 729,
1320
+ 823,
1321
+ 770
1322
+ ],
1323
+ "page_idx": 10
1324
+ },
1325
+ {
1326
+ "type": "text",
1327
+ "text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpassing humanlevel performance on imagenet classification. In Proceedings of the 2015 IEEE International Conference on Computer Vision (ICCV), ICCV ’15, pp. 1026–1034, Washington, DC, USA, 2015. IEEE Computer Society. ISBN 978-1-4673-8391-2. doi: 10.1109/ICCV.2015.123. URL http://dx.doi.org/10.1109/ ICCV.2015.123. ",
1328
+ "bbox": [
1329
+ 173,
1330
+ 777,
1331
+ 825,
1332
+ 842
1333
+ ],
1334
+ "page_idx": 10
1335
+ },
1336
+ {
1337
+ "type": "text",
1338
+ "text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770–778, 2016. ",
1339
+ "bbox": [
1340
+ 174,
1341
+ 849,
1342
+ 823,
1343
+ 877
1344
+ ],
1345
+ "page_idx": 10
1346
+ },
1347
+ {
1348
+ "type": "text",
1349
+ "text": "Patrick Helber, Bradley Gram-Hansen, Indhu Varatharajan, Faiza Azam, Alejandro Coca-Castro, Veronika Kopackova, and Piotr Bilinski. Mapping informal settlements in developing countries with multi-resolution, multi-spectral data. arXiv preprint arXiv:1812.00812, 2018. ",
1350
+ "bbox": [
1351
+ 176,
1352
+ 885,
1353
+ 821,
1354
+ 924
1355
+ ],
1356
+ "page_idx": 10
1357
+ },
1358
+ {
1359
+ "type": "text",
1360
+ "text": "Michal Irani and Shmuel Peleg. Improving resolution by image registration. CVGIP: Graphical models and image processing, 53(3):231–239, 1991. ",
1361
+ "bbox": [
1362
+ 173,
1363
+ 104,
1364
+ 823,
1365
+ 131
1366
+ ],
1367
+ "page_idx": 11
1368
+ },
1369
+ {
1370
+ "type": "text",
1371
+ "text": "Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A Efros. Image-to-image translation with conditional adversarial networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 1125–1134, 2017. ",
1372
+ "bbox": [
1373
+ 174,
1374
+ 138,
1375
+ 821,
1376
+ 179
1377
+ ],
1378
+ "page_idx": 11
1379
+ },
1380
+ {
1381
+ "type": "text",
1382
+ "text": "David Jensen and Jillian Campbell. The promise and peril of a digital ecosystem for the planet, September 2019. URL https://medium.com/@davidedjensen 99356/building-a-digitalecosystem-for-the-planet-557c41225dc2. [Online; posted 11-September-2019]. ",
1383
+ "bbox": [
1384
+ 174,
1385
+ 186,
1386
+ 823,
1387
+ 227
1388
+ ],
1389
+ "page_idx": 11
1390
+ },
1391
+ {
1392
+ "type": "text",
1393
+ "text": "Justin Johnson, Alexandre Alahi, and Li Fei-Fei. Perceptual losses for real-time style transfer and superresolution. In European conference on computer vision, pp. 694–711. Springer, 2016. ",
1394
+ "bbox": [
1395
+ 174,
1396
+ 234,
1397
+ 820,
1398
+ 262
1399
+ ],
1400
+ "page_idx": 11
1401
+ },
1402
+ {
1403
+ "type": "text",
1404
+ "text": "Michal Kawulok, Pawel Benecki, Krzysztof Hrynczenko, Daniel Kostrzewa, Szymon Piechaczek, Jakub Nalepa, and Bogdan Smolka. Deep learning for fast super-resolution reconstruction from multiple images. In Real-Time Image Processing and Deep Learning 2019, volume 10996, pp. 109960B. International Society for Optics and Photonics, 2019. ",
1405
+ "bbox": [
1406
+ 173,
1407
+ 268,
1408
+ 825,
1409
+ 320
1410
+ ],
1411
+ "page_idx": 11
1412
+ },
1413
+ {
1414
+ "type": "text",
1415
+ "text": "Jiwon Kim, Jung Kwon Lee, and Kyoung Mu Lee. Deeply-recursive convolutional network for image superresolution. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 1637– 1645, 2016. ",
1416
+ "bbox": [
1417
+ 174,
1418
+ 330,
1419
+ 821,
1420
+ 369
1421
+ ],
1422
+ "page_idx": 11
1423
+ },
1424
+ {
1425
+ "type": "text",
1426
+ "text": "Kwang In Kim and Younghee Kwon. Single-image super-resolution using sparse regression and natural image prior. IEEE transactions on pattern analysis and machine intelligence, 32(6):1127–1133, 2010. ",
1427
+ "bbox": [
1428
+ 171,
1429
+ 377,
1430
+ 823,
1431
+ 405
1432
+ ],
1433
+ "page_idx": 11
1434
+ },
1435
+ {
1436
+ "type": "text",
1437
+ "text": "Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. ",
1438
+ "bbox": [
1439
+ 173,
1440
+ 412,
1441
+ 821,
1442
+ 439
1443
+ ],
1444
+ "page_idx": 11
1445
+ },
1446
+ {
1447
+ "type": "text",
1448
+ "text": "Christian Ledig, Lucas Theis, Ferenc Huszar, Jose Caballero, Andrew Cunningham, Alejandro Acosta, Andrew ´ Aitken, Alykhan Tejani, Johannes Totz, Zehan Wang, et al. Photo-realistic single image super-resolution using a generative adversarial network. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 4681–4690, 2017. ",
1449
+ "bbox": [
1450
+ 173,
1451
+ 448,
1452
+ 825,
1453
+ 500
1454
+ ],
1455
+ "page_idx": 11
1456
+ },
1457
+ {
1458
+ "type": "text",
1459
+ "text": "Jonathan Long, Evan Shelhamer, and Trevor Darrell. Fully convolutional networks for semantic segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 3431–3440, 2015. ",
1460
+ "bbox": [
1461
+ 173,
1462
+ 507,
1463
+ 820,
1464
+ 535
1465
+ ],
1466
+ "page_idx": 11
1467
+ },
1468
+ {
1469
+ "type": "text",
1470
+ "text": "Robert J II Marks. Introduction to Shannon sampling and interpolation theory. Springer Science & Business Media, 2012. ",
1471
+ "bbox": [
1472
+ 173,
1473
+ 542,
1474
+ 821,
1475
+ 570
1476
+ ],
1477
+ "page_idx": 11
1478
+ },
1479
+ {
1480
+ "type": "text",
1481
+ "text": "Marcus Martens, Dario Izzo, Andrej Krzic, and Dani ¨ el Cox. Super-resolution of proba-v images using convo-¨ lutional neural networks. Astrodynamics, 3(4):387–402, Dec 2019. ",
1482
+ "bbox": [
1483
+ 173,
1484
+ 578,
1485
+ 821,
1486
+ 606
1487
+ ],
1488
+ "page_idx": 11
1489
+ },
1490
+ {
1491
+ "type": "text",
1492
+ "text": "Andrea Bordone Molini, Diego Valsesia, Giulia Fracastoro, and Enrico Magli. Deepsum: Deep neural network for super-resolution of unregistered multitemporal images. arXiv preprint arXiv:1907.06490, 2019. ",
1493
+ "bbox": [
1494
+ 171,
1495
+ 613,
1496
+ 823,
1497
+ 641
1498
+ ],
1499
+ "page_idx": 11
1500
+ },
1501
+ {
1502
+ "type": "text",
1503
+ "text": "Seungjun Nah, Radu Timofte, Sungyong Baik, Seokil Hong, Gyeongsik Moon, Sanghyun Son, and Kyoung Mu Lee. Ntire 2019 challenge on video deblurring: Methods and results. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pp. 0–0, 2019. ",
1504
+ "bbox": [
1505
+ 176,
1506
+ 648,
1507
+ 825,
1508
+ 688
1509
+ ],
1510
+ "page_idx": 11
1511
+ },
1512
+ {
1513
+ "type": "text",
1514
+ "text": "Nhat Nguyen, Peyman Milanfar, and Gene Golub. A computationally efficient superresolution image reconstruction algorithm. IEEE transactions on image processing, 10(4):573–583, 2001. ",
1515
+ "bbox": [
1516
+ 173,
1517
+ 695,
1518
+ 821,
1519
+ 723
1520
+ ],
1521
+ "page_idx": 11
1522
+ },
1523
+ {
1524
+ "type": "text",
1525
+ "text": "Harry Nyquist. Certain topics in telegraph transmission theory. Transactions of the American Institute of Electrical Engineers, 47(2):617–644, 1928. ",
1526
+ "bbox": [
1527
+ 173,
1528
+ 731,
1529
+ 823,
1530
+ 758
1531
+ ],
1532
+ "page_idx": 11
1533
+ },
1534
+ {
1535
+ "type": "text",
1536
+ "text": "Athanasios Papoulis. Generalized sampling expansion. IEEE transactions on circuits and systems, 24(11): 652–654, 1977. ",
1537
+ "bbox": [
1538
+ 171,
1539
+ 766,
1540
+ 823,
1541
+ 794
1542
+ ],
1543
+ "page_idx": 11
1544
+ },
1545
+ {
1546
+ "type": "text",
1547
+ "text": "Nathalie Pettorelli, Jon Olav Vik, Atle Mysterud, Jean-Michel Gaillard, Compton J Tucker, and Nils Chr Stenseth. Using the satellite-derived ndvi to assess ecological responses to environmental change. Trends in ecology & evolution, 20(9):503–510, 2005. ",
1548
+ "bbox": [
1549
+ 173,
1550
+ 801,
1551
+ 825,
1552
+ 842
1553
+ ],
1554
+ "page_idx": 11
1555
+ },
1556
+ {
1557
+ "type": "text",
1558
+ "text": "Lyndsey C Pickup, Stephen J Roberts, and Andrew Zisserman. Optimizing and learning for super-resolution. In BMVC, volume 9, pp. 4–7. Citeseer, 2006. ",
1559
+ "bbox": [
1560
+ 173,
1561
+ 849,
1562
+ 823,
1563
+ 876
1564
+ ],
1565
+ "page_idx": 11
1566
+ },
1567
+ {
1568
+ "type": "text",
1569
+ "text": "David Rolnick, Priya L Donti, Lynn H Kaack, Kelly Kochanski, Alexandre Lacoste, Kris Sankaran, Andrew Slavin Ross, Nikola Milojevic-Dupont, Natasha Jaques, Anna Waldman-Brown, et al. Tackling climate change with machine learning. arXiv preprint arXiv:1906.05433, 2019. ",
1570
+ "bbox": [
1571
+ 174,
1572
+ 885,
1573
+ 823,
1574
+ 924
1575
+ ],
1576
+ "page_idx": 11
1577
+ },
1578
+ {
1579
+ "type": "text",
1580
+ "text": "Tim GJ Rudner, Marc Rußwurm, Jakub Fil, Ramona Pelich, Benjamin Bischke, Veronika Kopackov ˇ a, and ´ Piotr Bilinski. Multi3net: Segmenting flooded buildings via fusion of multiresolution, multisensor, and ´ multitemporal satellite imagery. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pp. 702–709, 2019. \nMehdi SM Sajjadi, Raviteja Vemulapalli, and Matthew Brown. Frame-recurrent video super-resolution. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 6626–6634, 2018. \nEduardo Sanchez, Mathieu Serrurier, and Mathias Ortner. Learning disentangled representations of satellite image time series. arXiv preprint arXiv:1903.08863, 2019. \nClaude Elwood Shannon. Communication in the presence of noise. Proceedings of the IRE, 37(1):10–21, 1949. \nAssaf Shocher, Nadav Cohen, and Michal Irani. zero-shot super-resolution using deep internal learning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 3118–3126, 2018. \nRupesh Kumar Srivastava, Klaus Greff, and Jurgen Schmidhuber. Highway networks. ¨ arXiv preprint arXiv:1505.00387, 2015. \nXin Tao, Hongyun Gao, Renjie Liao, Jue Wang, and Jiaya Jia. Detail-revealing deep video super-resolution. In Proceedings of the IEEE International Conference on Computer Vision, pp. 4472–4480, 2017. \nRadu Timofte, Shuhang Gu, Jiqing Wu, Luc Van Gool, Lei Zhang, Ming-Hsuan Yang, Muhammad Haris, et al. Ntire 2018 challenge on single image super-resolution: Methods and results. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, June 2018. \nRY Tsai. Multiple frame image restoration and registration. Advances in Computer Vision and Image Processing, 1:1715–1984, 1984. \nKen Turkowski. Filters for common resampling tasks. In Graphics gems, pp. 147–165. Academic Press Professional, Inc., 1990. \nOriol Vinyals, Samy Bengio, and Manjunath Kudlur. Order matters: Sequence to sequence for sets. arXiv preprint arXiv:1511.06391, 2015. \nLongguang Wang, Yingqian Wang, Zhengfa Liang, Zaiping Lin, Jungang Yang, Wei An, and Yulan Guo. Learning parallax attention for stereo image super-resolution. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 12250–12259, 2019a. \nXintao Wang, Kelvin CK Chan, Ke Yu, Chao Dong, and Chen Change Loy. Edvr: Video restoration with enhanced deformable convolutional networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pp. 0–0, 2019b. \nYingqian Wang, Longguang Wang, Jungang Yang, Wei An, and Yulan Guo. Flickr1024: A large-scale dataset for stereo image super-resolution. In Proceedings of the IEEE International Conference on Computer Vision Workshops, pp. 0–0, 2019c. \nZhihao Wang, Jian Chen, and Steven CH Hoi. Deep learning for image super-resolution: A survey. arXiv preprint arXiv:1902.06068, 2019d. \nErwin Wolters, Wouter Dierckx, J Dries, and Else Swinnen. Proba-v products user manual. VITO. http://probav. vgt. vito. be/sites/default/files/Product User Manual. pdf, 2014. \nLi Xu, Jimmy SJ Ren, Ce Liu, and Jiaya Jia. Deep convolutional neural network for image deconvolution. In Advances in Neural Information Processing Systems, pp. 1790–1798, 2014. \nBo Yan, Chuming Lin, and Weimin Tan. Frame and feature-context video super-resolution. arXiv preprint arXiv:1909.13057, 2019. \nJianchao Yang, John Wright, Thomas S Huang, and Yi Ma. Image super-resolution via sparse representation. IEEE transactions on image processing, 19(11):2861–2873, 2010. \nRoman Zeyde, Michael Elad, and Matan Protter. On single image scale-up using sparse-representations. In International conference on curves and surfaces, pp. 711–730. Springer, 2010. ",
1581
+ "bbox": [
1582
+ 169,
1583
+ 46,
1584
+ 826,
1585
+ 871
1586
+ ],
1587
+ "page_idx": 12
1588
+ },
1589
+ {
1590
+ "type": "text",
1591
+ "text": "A APPENDIX ",
1592
+ "text_level": 1,
1593
+ "bbox": [
1594
+ 176,
1595
+ 102,
1596
+ 297,
1597
+ 117
1598
+ ],
1599
+ "page_idx": 13
1600
+ },
1601
+ {
1602
+ "type": "text",
1603
+ "text": "A.1 EXPERIMENTAL DETAILS ",
1604
+ "text_level": 1,
1605
+ "bbox": [
1606
+ 176,
1607
+ 136,
1608
+ 392,
1609
+ 150
1610
+ ],
1611
+ "page_idx": 13
1612
+ },
1613
+ {
1614
+ "type": "text",
1615
+ "text": "We trained our models on low-resolution patches of size 64x64. HighRes-net’s architecture is reported in Table 3. We denote by Conv2d(in, out, k, s, p) a conv2D layer with in and out input/output channels, kernel of size $^ { ( \\mathrm { k } , \\mathrm { k } ) }$ , stride (s,s) and padding p. We used the ADAM optimizer (Kingma & Ba, 2014) with default hyperparameters and trained our models on batches of size 32, for 400 epochs, using $90 \\%$ of the data for training and $10 \\%$ for validation. Our learning rate is initialized to 0.0007, decayed by a factor of 0.97 if the validation loss plateaus for more than 2 epochs. For the regularization of shiftNet, we employed $\\lambda = 0 . 0 0 0 0 0 1$ . ",
1616
+ "bbox": [
1617
+ 173,
1618
+ 162,
1619
+ 825,
1620
+ 261
1621
+ ],
1622
+ "page_idx": 13
1623
+ },
1624
+ {
1625
+ "type": "table",
1626
+ "img_path": "images/4de2709200fc00f79982266fabf2b69c50ae789c5911e307baef5e9600f92147.jpg",
1627
+ "table_caption": [
1628
+ "Table 2: ResidualBlock(h) architecture "
1629
+ ],
1630
+ "table_footnote": [],
1631
+ "table_body": "<table><tr><td>layerO layer1 layer2 layer3</td><td>Conv2d(in=h,out=h,k3,s1,p1) PReLU Conv2d(in=h,out=h,k3,s1, p1) PReLU</td></tr></table>",
1632
+ "bbox": [
1633
+ 351,
1634
+ 308,
1635
+ 642,
1636
+ 367
1637
+ ],
1638
+ "page_idx": 13
1639
+ },
1640
+ {
1641
+ "type": "table",
1642
+ "img_path": "images/c9896517ee6be3b35ddd7e40eff49deb890d10b177f8d3f7e827674ea5502567.jpg",
1643
+ "table_caption": [
1644
+ "Table 3: HRNet architecture "
1645
+ ],
1646
+ "table_footnote": [],
1647
+ "table_body": "<table><tr><td>Step</td><td>Layers</td><td>Number of params</td></tr><tr><td rowspan=\"4\">encode</td><td>Conv2d(in=2, out=64,k3,s1, p1)</td><td>1216</td></tr><tr><td>PReLU</td><td>1</td></tr><tr><td>ResidualBlock(64)</td><td>73858</td></tr><tr><td>ResidualBlock(64)</td><td>73858</td></tr><tr><td rowspan=\"3\">fuse</td><td>Conv2d(in=64,out=64,k3,s1, p1)</td><td>36928</td></tr><tr><td>ResidualBlock(128) Conv2d(in=128, out=64,k3, s1, p1)</td><td>295170</td></tr><tr><td>PReLU</td><td>73792 1</td></tr><tr><td rowspan=\"2\">decode</td><td>ConvTranspose2d(in=64,out=64,k3, s1) PreLU</td><td>36928</td></tr><tr><td>Conv2d(in=64,out=1,k1, s1)</td><td>1 65</td></tr><tr><td>residual (optional)</td><td>Upsample(scale_factor=3.0, mode=bicubic)</td><td>0</td></tr><tr><td></td><td></td><td>591818 (total)</td></tr></table>",
1648
+ "bbox": [
1649
+ 202,
1650
+ 430,
1651
+ 790,
1652
+ 630
1653
+ ],
1654
+ "page_idx": 13
1655
+ },
1656
+ {
1657
+ "type": "text",
1658
+ "text": "Thanks to weight sharing, HighRes-net super-resolves scenes with 32 views in 5 recursive steps, while requiring less than 600K parameters. ShiftNet has more than 34M parameters (34187648) but is dropped during test time. We report GPU memory requirements in table 4 for reproducibility purposes. ",
1659
+ "bbox": [
1660
+ 173,
1661
+ 654,
1662
+ 825,
1663
+ 710
1664
+ ],
1665
+ "page_idx": 13
1666
+ },
1667
+ {
1668
+ "type": "table",
1669
+ "img_path": "images/e2c3913a584c31f81d2fd3c9402b563b508f376ee52b55020a4e7e1d2fa5cc16.jpg",
1670
+ "table_caption": [
1671
+ "Table 4: GPU memory requirements to train HighRes-net $^ +$ ShiftNet on patches of size $6 4 \\mathrm { x 6 4 }$ with batches of size 32, and a variable number of low-resolution frames. "
1672
+ ],
1673
+ "table_footnote": [],
1674
+ "table_body": "<table><tr><td># views GPU memory (GB)</td><td>32 27</td><td>16 15</td><td>4 6</td></tr></table>",
1675
+ "bbox": [
1676
+ 370,
1677
+ 771,
1678
+ 622,
1679
+ 803
1680
+ ],
1681
+ "page_idx": 13
1682
+ },
1683
+ {
1684
+ "type": "text",
1685
+ "text": "A.2 HOW MANY FRAMES DO YOU NEED? ",
1686
+ "text_level": 1,
1687
+ "bbox": [
1688
+ 176,
1689
+ 840,
1690
+ 468,
1691
+ 854
1692
+ ],
1693
+ "page_idx": 13
1694
+ },
1695
+ {
1696
+ "type": "text",
1697
+ "text": "We trained and tested HighRes-net with ShiftNet using 1 to 32 frames. With a single image, our approach performs worse than the ESA baseline. Doubling the number of frames significantly improves both our training and validation scores. After 16 frames, our model’s performance stops increasing as show in Figure 5. ",
1698
+ "bbox": [
1699
+ 174,
1700
+ 867,
1701
+ 825,
1702
+ 924
1703
+ ],
1704
+ "page_idx": 13
1705
+ },
1706
+ {
1707
+ "type": "image",
1708
+ "img_path": "images/4e7d47197ce6d9c764083126f46b2e6c722419fc57fa52c2620e750025708518.jpg",
1709
+ "image_caption": [
1710
+ "Figure 5: Public leaderboard scores vs. nviews for HighRes-net $^ +$ ShiftNet. Lower is better. "
1711
+ ],
1712
+ "image_footnote": [],
1713
+ "bbox": [
1714
+ 250,
1715
+ 130,
1716
+ 710,
1717
+ 366
1718
+ ],
1719
+ "page_idx": 14
1720
+ },
1721
+ {
1722
+ "type": "text",
1723
+ "text": "A.3 REGISTRATION MATTERS ",
1724
+ "text_level": 1,
1725
+ "bbox": [
1726
+ 176,
1727
+ 431,
1728
+ 393,
1729
+ 445
1730
+ ],
1731
+ "page_idx": 14
1732
+ },
1733
+ {
1734
+ "type": "text",
1735
+ "text": "Registered loss The only explicit registration that we perform is at the loss stage, to allow the model partial credit for a solution. This solution can be enhanced but otherwise mis-registered wrt to the ground truth. We trained our base model HighRes-net without ShiftNet-Lanczos and observed a drop in performance as shown in Table 5. Registration matters and aligning outputs with targets helps HighRes-net generate sharper outputs and achieve competitive results. ",
1736
+ "bbox": [
1737
+ 173,
1738
+ 458,
1739
+ 825,
1740
+ 529
1741
+ ],
1742
+ "page_idx": 14
1743
+ },
1744
+ {
1745
+ "type": "table",
1746
+ "img_path": "images/b799ce6179239f999ab6906c6b772c25053b5a6a655f79b2a381ff854794120b.jpg",
1747
+ "table_caption": [
1748
+ "Table 5: Registration matters: Train and validation scores for HighResNet trained with and without ShiftNet-Lanczos. Lower is better. "
1749
+ ],
1750
+ "table_footnote": [],
1751
+ "table_body": "<table><tr><td rowspan=1 colspan=1>HighRes-net +</td><td rowspan=1 colspan=1>train score</td><td rowspan=1 colspan=1>test score</td></tr><tr><td rowspan=1 colspan=1>w/o registrationShiftNet +Lanczos</td><td rowspan=1 colspan=1>0.96160.9501</td><td rowspan=1 colspan=1>0.96710.9532</td></tr></table>",
1752
+ "bbox": [
1753
+ 336,
1754
+ 584,
1755
+ 656,
1756
+ 632
1757
+ ],
1758
+ "page_idx": 14
1759
+ },
1760
+ {
1761
+ "type": "text",
1762
+ "text": "Implicit co-registration The traditional practice in MFSR is to explicitly co-register the LR views prior to super-resolution (Tsai, 1984; Molini et al., 2019). The knowledge of sub-pixel missalignments tells an algorithm what pieces of information to fuse from each LR image for any pixel in the SR output. Contrary to the conventional practice in MFSR, we propose implicit co-registeration by pairing LR views with a reference frame a.k.a. anchor. In this sense, we never explicitly compute the relative shifts between any LR pair. Instead, we simply stack each view with a chosen reference frame as an additional channel to the input. We call this strategy implicit co-registration, We found this strategy to be effective in the following ablation study which addresses the impact of the choice of a reference frame aka anchor. ",
1763
+ "bbox": [
1764
+ 173,
1765
+ 662,
1766
+ 825,
1767
+ 789
1768
+ ],
1769
+ "page_idx": 14
1770
+ },
1771
+ {
1772
+ "type": "text",
1773
+ "text": "We observe the median reference is the most effective in terms of train and test score. We suspect the median performs better than the mean because the median is more robust to outliers and can help denoise the LR views. Interestingly, training and testing without a shared reference performed worse than the ESA baseline. This shows that co-registration (implicit or explicit) matters. This can be due to the fact that the model lacks information to align and fuse the multiple views. ",
1774
+ "bbox": [
1775
+ 174,
1776
+ 795,
1777
+ 825,
1778
+ 866
1779
+ ],
1780
+ "page_idx": 14
1781
+ },
1782
+ {
1783
+ "type": "text",
1784
+ "text": "ShiftNet architecture ShitNet has 8 layers of (conv2D $^ +$ BatchNorm2d $^ +$ ReLU). Layer 2, 4 and 6 are followed by MaxPool2d. The final output is flattened to a vector $x$ of size 32768. Then, we compute a vector of size 1024, $x = \\operatorname { R e L U } ( \\operatorname { f c 1 } ( \\operatorname { d r o p o u t } ( x ) ) )$ . The final shift prediction is $\\operatorname { f c } 2 ( x )$ of size 2. The bulk of the parameters come from fc1, with $3 2 7 6 8 \\times 1 0 2 4$ weights. These alone, account for $9 9 \\%$ of ShiftNet’s parameters. Adding a MaxPool2d on top of layer 3, 5, 7 or 8 halves the parameters of ShiftNet. ",
1785
+ "bbox": [
1786
+ 176,
1787
+ 882,
1788
+ 823,
1789
+ 924
1790
+ ],
1791
+ "page_idx": 14
1792
+ },
1793
+ {
1794
+ "type": "table",
1795
+ "img_path": "images/e34ef22d47b6abe39350fb248512db98eb12f7a133cd766c6efb84bd92e5b6de.jpg",
1796
+ "table_caption": [
1797
+ "Table 6: Train and validation scores for HighRes-net $^ +$ ShiftNet-Lanczos trained and tested with different references as input. Lower is better. "
1798
+ ],
1799
+ "table_footnote": [],
1800
+ "table_body": "<table><tr><td>Reference</td><td>train score</td><td>test score</td></tr><tr><td>None (no co-registration)</td><td>1.0131</td><td>1.0088</td></tr><tr><td>Mean of 9 LRs</td><td>0.9636</td><td>0.9690</td></tr><tr><td>Median or 9 LRs (base)</td><td>0.9501</td><td>0.9532</td></tr></table>",
1801
+ "bbox": [
1802
+ 316,
1803
+ 146,
1804
+ 676,
1805
+ 208
1806
+ ],
1807
+ "page_idx": 15
1808
+ },
1809
+ {
1810
+ "type": "text",
1811
+ "text": "",
1812
+ "bbox": [
1813
+ 176,
1814
+ 239,
1815
+ 825,
1816
+ 281
1817
+ ],
1818
+ "page_idx": 15
1819
+ },
1820
+ {
1821
+ "type": "text",
1822
+ "text": "A.4 TOWARDS PERMUTATION INVARIANCE ",
1823
+ "text_level": 1,
1824
+ "bbox": [
1825
+ 176,
1826
+ 299,
1827
+ 483,
1828
+ 314
1829
+ ],
1830
+ "page_idx": 15
1831
+ },
1832
+ {
1833
+ "type": "text",
1834
+ "text": "A desirable property of a fusion model acting on an un-ordered set of images, is permutationinvariance: the output of the model should be invariant to the order in which the LR views are fused. An easy approach to encourage permutation invariant neural networks is to randomly shuffle the inputs at training time before feeding them to a model (Vinyals et al., 2015). ",
1835
+ "bbox": [
1836
+ 173,
1837
+ 324,
1838
+ 825,
1839
+ 381
1840
+ ],
1841
+ "page_idx": 15
1842
+ },
1843
+ {
1844
+ "type": "text",
1845
+ "text": "In addition to randomization, we still want to give more importance to clear LR views (with high clearance score), which can be done by sorting them by clearance. A good trade-off between uniform sampling and deterministic sorting by clearance, is to sample $k$ LR views without replacement and with a bias towards higher clearance: ",
1846
+ "bbox": [
1847
+ 173,
1848
+ 387,
1849
+ 825,
1850
+ 444
1851
+ ],
1852
+ "page_idx": 15
1853
+ },
1854
+ {
1855
+ "type": "equation",
1856
+ "img_path": "images/f22302f460a37dccd5e6d9a56e46c37cf1d97dfc628c747bcbb5338b53a78061.jpg",
1857
+ "text": "$$\np ( i \\mid C _ { 1 } , \\ldots , C _ { k } ) = { \\frac { e ^ { \\beta C _ { i } } } { \\sum _ { j = 1 } ^ { k } e ^ { \\beta C _ { j } } } } ,\n$$",
1858
+ "text_format": "latex",
1859
+ "bbox": [
1860
+ 387,
1861
+ 460,
1862
+ 609,
1863
+ 501
1864
+ ],
1865
+ "page_idx": 15
1866
+ },
1867
+ {
1868
+ "type": "text",
1869
+ "text": "where $k$ is the total number of LR views, $C _ { i }$ is the clearance score of $\\mathrm { L R } _ { i }$ and $\\beta$ regulates the bias towards higher clearance scores, ",
1870
+ "bbox": [
1871
+ 174,
1872
+ 502,
1873
+ 823,
1874
+ 531
1875
+ ],
1876
+ "page_idx": 15
1877
+ },
1878
+ {
1879
+ "type": "text",
1880
+ "text": "When $\\beta = 0$ , this sampling strategy corresponds to uniform sampling and when $\\beta = + i n f$ , this corresponds to picking the $\\mathbf { k }$ -clearest views in a deterministic way. Our default model was trained with $\\beta = 5 0$ and our experiments are reported in Table 7. ",
1881
+ "bbox": [
1882
+ 174,
1883
+ 537,
1884
+ 825,
1885
+ 580
1886
+ ],
1887
+ "page_idx": 15
1888
+ },
1889
+ {
1890
+ "type": "table",
1891
+ "img_path": "images/1f935f0a8710cf7a6091c56e394b7f96f75384097f08c6476da1e2d1a5fbb760.jpg",
1892
+ "table_caption": [
1893
+ "Table 7: Validation scores vs. nviews for HighRes-net $^ +$ ShiftNet. Lower is better. "
1894
+ ],
1895
+ "table_footnote": [],
1896
+ "table_body": "<table><tr><td rowspan=1 colspan=1>Sampling strategy</td><td rowspan=1 colspan=1>train score</td><td rowspan=1 colspan=1>test score</td></tr><tr><td rowspan=1 colspan=1>β=∞ (k-clearest)β = 0 (uniform-k)β= 50 (base)</td><td rowspan=1 colspan=1>0.93860.96380.9501</td><td rowspan=1 colspan=1>0.96870.96750.9532</td></tr></table>",
1897
+ "bbox": [
1898
+ 338,
1899
+ 625,
1900
+ 655,
1901
+ 686
1902
+ ],
1903
+ "page_idx": 15
1904
+ },
1905
+ {
1906
+ "type": "text",
1907
+ "text": "From Table 7, $\\beta = \\infty$ reaches best training score and worst testing score. For $\\beta = 5 0$ and $\\beta = 0$ , the train/test gap is much more reduced. This suggests that the deterministic strategy is overfitting and randomness prevents overfitting (diversity matters). On the other hand, $\\beta = 5 0$ performs significantly better than $\\beta = 0$ suggesting that biasing a model towards higher clearances could be beneficial i.e., clouds matter too. ",
1908
+ "bbox": [
1909
+ 173,
1910
+ 707,
1911
+ 825,
1912
+ 777
1913
+ ],
1914
+ "page_idx": 15
1915
+ }
1916
+ ]
parse/train/HJxJ2h4tPr/HJxJ2h4tPr_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/HJxJ2h4tPr/HJxJ2h4tPr_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/_89s8ViNwwj/_89s8ViNwwj.md ADDED
@@ -0,0 +1,269 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Parameterized Knowledge Transfer for Personalized Federated Learning
2
+
3
+ Jie Zhang1, Song $\mathbf { G u o } ^ { 1 , * }$ , Xiaosong $\mathbf { M } \mathbf { a } ^ { 1 }$ , Haozhao Wang2, Wencao $\mathbf { X } \mathbf { u } ^ { 1 }$ , and Feijie $\mathbf { W } \mathbf { u } ^ { 1 }$
4
+
5
+ 1Department of Computing, The Hong Kong Polytechnic University 2Department of Computer Science and Technology, HUST {jieaa.zhang,harli.wu}@connect.polyu.hk, hz_wang@hust.edu.cn, {song.guo,xiaosma,wenchao.xu}@polyu.edu.hk
6
+
7
+ # Abstract
8
+
9
+ In recent years, personalized federated learning (pFL) has attracted increasing attention for its potential in dealing with statistical heterogeneity among clients. However, the state-of-the-art pFL methods rely on model parameters aggregation at the server side, which require all models to have the same structure and size, and thus limits the application for more heterogeneous scenarios. To deal with such model constraints, we exploit the potentials of heterogeneous model settings and propose a novel training framework to employ personalized models for different clients. Specifically, we formulate the aggregation procedure in original pFL into a personalized group knowledge transfer training algorithm, namely, KT-pFL, which enables each client to maintain a personalized soft prediction at the server side to guide the others’ local training. KT-pFL updates the personalized soft prediction of each client by a linear combination of all local soft predictions using a knowledge coefficient matrix, which can adaptively reinforce the collaboration among clients who own similar data distribution. Furthermore, to quantify the contributions of each client to others’ personalized training, the knowledge coefficient matrix is parameterized so that it can be trained simultaneously with the models. The knowledge coefficient matrix and the model parameters are alternatively updated in each round following the gradient descent way. Extensive experiments on various datasets (EMNIST, Fashion_MNIST, CIFAR-10) are conducted under different settings (heterogeneous models and data distributions). It is demonstrated that the proposed framework is the first federated learning paradigm that realizes personalized model training via parameterized group knowledge transfer while achieving significant performance gain comparing with state-of-the-art algorithms.
10
+
11
+ # 1 Introduction
12
+
13
+ Federated Learning (FL) [1] has emerged as an efficient paradigm to collaboratively train a shared machine learning model among multiple clients without directly accessing their private data. By periodically aggregating parameters from the clients for global model updating, it can converge to high accuracy and strong generalization. FL has shown its capability to protect user privacy while there remains a crucial challenge that significantly degrades the learning performance, i.e., statistic heterogeneity in users’ local datasets. Given the Non-Independent and Identically Distributed (Non-IID) user data, the trained global model often cannot be generalized well over each client [2–5].
14
+
15
+ To deal with the above issues, employing personalized models appears to be an effective solution in FL, i.e., personalized federated learning (pFL). Recent works regarding pFL include regularizationbased methods [6–8] (i.e., pFedMe [6], L2SGD [7], FedAMP [8]), meta-learning-based Per-FedAvg [9] and cluster-based IFCA [10, 11]. However, in order to aggregate the parameters from all clients, it is inevitable for them to have identical model structure and size. Such constraints would prevent status quo pFL methods from further application in practical scenarios, where clients are often willing to own unique models, i.e., with customized neural architectures to adapt to heterogeneous capacities in computation, communication and storage space, etc. Motivated by the paradigm of Knowledge Distillation (KD) [12–16] that knowledge can be transferred from a neural network to another via exchanging soft predictions instead of using the whole model parameters, KD-based FL training methods have been studied [12, 14–19] to collaboratively train heterogeneous models in a privacy-preserving way. However, these works have neglected the further personalization requirement of FL clients, which can be well satisfied via the personalized knowledge transfer for heterogeneous FL users.
16
+
17
+ In this paper, we seek to develop a novel training framework that can accommodate heterogeneous model structures for each client and achieve personalized knowledge transfer in each FL training round. To this end, we formulate the aggregation phase in FL to a personalized group knowledge transfer training algorithm dubbed KT-pFL, whose main idea is to allow each client to maintain a personalized soft prediction at the server that can be updated by a linear combination of all clients’ local soft predictions using a knowledge coefficient matrix. The principle of doing so is to reinforce the collaboration between clients with similar data distributions. Furthermore, to quantify the contribution of each client to other’s personalized soft prediction, we parameterize the knowledge coefficient matrix so that it can be trained simultaneously with the models following an alternating way in each iteration round.
18
+
19
+ We show that KT-pFL not only breaks down the barriers of homogeneous model restriction, which requires to transfer the entire parameters set in each round, whose data volume is much larger than that of the soft prediction, but also improves the training efficiency by using a parameterized update mechanism. Experimental results on different datasets and models show that our method can significantly improve the training efficiency and reduce the communication overhead. Our contributions are:
20
+
21
+ • To the best of our knowledge, this paper is the first to study the personalized knowledge transfer in FL. We propose a novel training framework, namely, KT-pFL, that maintains a personalized soft prediction for each client in the server to transfer knowledge among all clients. • To encourage clients with similar data distribution to collaborate with each other during the training process, we propose the ‘knowledge coefficient matrix’ to identify the contribution from one client to others’ local training. To show the efficiency of the parameterized method, we compared KT-pFL with two non-parameterized learning methods, i.e., TopK-pFL and Sim-pFL, which calculate the knowledge coefficient matrix on the cosine similarity between different model parameters. • We provide theoretical performance guarantee for KT-pFL and conduct extensive experiments over various deep learning models and datasets. The efficiency superiority of KT-pFL is demonstrated by comparing our proposed training framework with traditional pFL methods.
22
+
23
+ # 2 Related Work
24
+
25
+ Personalized FL with Homogeneous Models. Recently, various approaches have been proposed to realize personalized FL with homogeneous local model structure, which can be categorized into three types according to the number of global models applied in the server, i.e., single global model, multiple global models and no global model.
26
+
27
+ single global model type is a close variety of conventional FL, e.g., FedAvg [1], that combine global model optimization process with additional local model customization, and consist of four different kinds of approaches: local fine-tuning [20–23], regularization (e.g., pFedMe [6], L2SGD [7, 24], Ditto [25]), hybrid local and global models [11, 26, 27] and meta learning [9, 28]. All of these pFL methods apply a single global model, and thus limit the customized level of the local model at the client side. Therefore, some researchers [8, 10, 11] propose to train multiple global models at the server, where clients are clustered into several groups according to their similarity and different models are trained for each group. FedAMP [8] and FedFomo [29] can be regarded as special cases of the clustered-based method that each client owns a personalized global model at the server side. As a contrast, some literature waive the global model to deal with the heterogeneity problem [30, 31], such as multi-task learning based (i.e., MOCHA [31]) and hypernetwork-based framework (i.e.,
28
+
29
+ FedHN [30]). However, all these methods require aggregating the model parameters from the clients, who have to apply identical model structure and size, which hinders further personalization, e.g., employing personalized model architectures for heterogeneous clients is not feasible.
30
+
31
+ Heterogeneous FL and Knowledge Distillation. To enable heterogeneous model architectures in FL, Diao et al. [32] propose to upload a different subset of global model to the server for aggregation with the objective to produce a single global inference model. Another way of personalization is to use Knowledge Distillation (KD) in heterogeneous FL systems ([12, 14, 15, 17–19, 33, 34]). The principle is to aggregate local soft-predictions instead of local model parameters in the server, whereby each client can update the local model to approach the averaged global predictions. As KD is independent with model structure, some literature [13, 16] are proposed to take advantage of such independence to implement personalized FL with heterogeneous models at client sides. For example, Li et al. [13] propose FedMD to perform ensemble distillation for each client to learn well-personalized models. Different from FedMD that exchanging soft-predictions between the clients and the server, FedDF [16] first aggregates local model parameters for model averaging at the server side. Then, the averaged global models can be updated by performing knowledge transfer from all received (heterogeneous) client models.
32
+
33
+ To sum up, most of these schemes construct an ensembling teacher by simply averaging the teachers’ soft predictions, or by heuristically combining the output of the teacher models, which are far away from producing optimal combination of teachers. In our framework, KD is used in a more efficient way that the weights of the clients’ soft predictions are updated together with the model parameters during every FL training iteration.
34
+
35
+ # 3 Problem Formulation
36
+
37
+ We aim to collaboratively train personalized models for a set of clients applying different model structures in FL. Consider supervised learning whose goal is to learn a function that maps every input data to the correct class out of $\mathcal { C }$ possible options. We assume that there are $N$ clients, and each client $n$ can only access to his private dataset $\mathbf { \widetilde { D } } _ { n } : = \{ x _ { i } ^ { n } , y _ { i } \}$ , where $x _ { i }$ is the $i$ -th input data sample, $y _ { i }$ is the corresponding label of $x _ { i }$ , $y _ { i } \in \{ 1 , 2 , \cdots , \dot { C } \}$ . The number of data samples in dataset $\mathbb { D } _ { n }$ is denoted by $D _ { n }$ . $\mathbb { D } = \{ \mathbb { D } _ { 1 } , \mathbb { D } _ { 2 } , \cdot \cdot \cdot , \mathbb { D } _ { N } \}$ , $\begin{array} { r } { D = \sum _ { n = 1 } ^ { N } D _ { n } } \end{array}$ . In conventional $\mathrm { F L }$ , the goal of the learning system is to learn a global model w that minimizes the total empirical loss over the entire dataset $\mathbb { D }$ :
38
+
39
+ $$
40
+ \underset { \mathbf { w } } { \mathop { \operatorname* { m i n } } } \mathcal { L } ( \mathbf { w } ) : = \sum _ { n = 1 } ^ { N } \frac { D _ { n } } { D } \mathcal { L } _ { n } ( \mathbf { w } ) , \mathrm { ~ w h e r e ~ } \mathcal { L } _ { n } ( \mathbf { w } ) = \frac { 1 } { D _ { n } } \sum _ { i = 1 } ^ { D _ { n } } \mathcal { L } _ { C E } ( \mathbf { w } ; x _ { i } , y _ { i } ) ,
41
+ $$
42
+
43
+ where $\mathcal { L } _ { n } ( \mathbf { w } )$ is the $n$ -th client’s local loss function that measures the local empirical risk over the private dataset $\mathbb { D } _ { n }$ and $\mathcal { L } _ { C E }$ is the cross-entropy loss function that measures the difference between the predicted values and the ground truth labels.
44
+
45
+ However, this formulation requires all local clients to have a unified model structure, which cannot be extended to more general cases where each client applies a unique model. Therefore, we need to reformulate the above optimization problem to break the barrier of homogeneous model structure. Besides, given the Non-IID clients’ datasets, it is inappropriate to just minimize the total empirical loss (i.e., $\begin{array} { r } { \operatorname* { m i n } _ { \mathbf { w } ^ { 1 } , \cdots , \mathbf { w } ^ { N } } \mathcal { L } ( \mathbf { w } ^ { 1 } , \cdots , \mathbf { w } ^ { N } ) : = \sum _ { n = 1 } ^ { N } \frac { D _ { n } } { D } \bar { L } _ { n } ( \mathbf { w } ^ { n } ) ) } \end{array}$ . To that end, we propose the following training framework:
46
+
47
+ Definition 3.1. Let $s ( \mathbf { w } ^ { n } , \hat { x } )$ denote the collaborative knowledge from client $n$ , and $\hat { x }$ denote a data sample from a public dataset $\mathbb { D } _ { r }$ that all clients can access to. Define the personalized loss function of client $n$ as
48
+
49
+ $$
50
+ \mathcal { L } _ { p e r , n } ( \mathbf { w } ^ { n } ) : = \mathcal { L } _ { n } ( \mathbf { w } ^ { n } ) + \lambda \sum _ { \hat { x } \in \mathbb { D } _ { r } } \mathcal { L } _ { K L } \left( \sum _ { m = 1 } ^ { N } c _ { m n } \cdot s ( \mathbf { w } ^ { m } , \hat { x } ) , s ( \mathbf { w } ^ { n } , \hat { x } ) \right) ,
51
+ $$
52
+
53
+ where $\lambda > 0$ is a hyper-parameters, $\mathcal { L } _ { K L }$ stands for Kullback–Leibler (KL) Divergence function and is added to the loss function to transfer personalized knowledge from a teacher to another. $c _ { m n }$ is the knowledge coefficient which is used to estimate the contribution from client $m$ to $n$ . The second term in (2) allows each client to build his own personalized aggregated knowledge in the server and enhance the collaboration effect between clients with large c. The concept of collaborative knowledge can either refer to soft predictions or model parameters depending on the definition in different situations. For example, $s ( \mathbf { w } ^ { n } , \hat { x } )$ can be deemed to be a soft prediction of the client $n$ , which are calculated with the softmax of logits $z ^ { n }$ , i.e., $\begin{array} { r } { s ( \mathbf { w } ^ { n } , \hat { x } ) = \frac { \exp ( z _ { c } ^ { n } / T ) } { \sum _ { c = 1 } ^ { C } \exp ( z _ { c } ^ { n } / T ) } } \end{array}$ , logits $z ^ { n }$ is the output of the last fully connected layer on client $n$ ’s model, $T$ is the temperature hyperparameter of the softmax function.
54
+
55
+ ![](images/d660a020c4cc893c460788d8aac599c2ab7f9b98990ecfe742760411704b1e9e.jpg)
56
+ Figure 1: Illustration of the KT-pFL framework. The workflow includes 6 steps: $\textcircled{1}$ local training on private data; $\textcircled{2}$ , $\textcircled{3}$ each client outputs the local soft prediction on public data and sends it to the server; $\textcircled{4}$ the server calculates each client’s personalized soft prediction via a linear combination of local soft predictions and knowledge coefficient matrix; $\textcircled{5}$ each client downloads the personalized soft prediction to perform distillation phase; $\textcircled{6}$ the server updates the knowledge coefficient matrix.
57
+
58
+ Definition 3.2. We define $\mathbf { c } \in \mathbb { R } ^ { N \times N }$ as the knowledge coefficient matrix:
59
+
60
+ $$
61
+ \mathbf { c } = \left. \begin{array} { c c c c } { c _ { 1 1 } } & { c _ { 1 2 } } & { \cdots } & { c _ { 1 N } } \\ { c _ { 2 1 } } & { c _ { 2 2 } } & { \cdots } & { c _ { 2 N } } \\ { \vdots } & { \vdots } & { \ddots } & { \vdots } \\ { c _ { N 1 } } & { c _ { N 2 } } & { \cdots } & { c _ { N N } } \end{array} \right. .
62
+ $$
63
+
64
+ Our objective is to minimize
65
+
66
+ $$
67
+ \operatorname* { m i n } _ { \mathbf { w } , \mathbf { c } } \mathcal { L } ( \mathbf { w } , \mathbf { c } ) : = \sum _ { n = 1 } ^ { N } \frac { D _ { n } } { D } \mathcal { L } _ { p e r , n } ( \mathbf { w } ^ { n } ) + \rho \| \mathbf { c } - \frac { \mathbf { 1 } } { N } \| ^ { 2 } ,
68
+ $$
69
+
70
+ where $\mathbf { w } = [ \mathbf { w } ^ { 1 } , \cdots , \mathbf { w } ^ { N } ] \in \mathbb { R } ^ { \sum _ { n = 1 } ^ { N } d _ { n } }$ is the concatenated vector of all weights, $d _ { n }$ represents the dimensions of model parameter $\mathbf { w } ^ { n }$ . $\mathbf { 1 } \in \mathbb { R } ^ { n ^ { 2 } }$ is the identity matrix whose elements are all equal to 1. The second term in (4) is a regularization term that ensures generalization ability of the whole learning system. Without the regularization term, a client with a completely different data distribution tends to set large values of the knowledge coefficient (i.e., equal to 1), and no collaboration will be conducted during training in this case. $\rho$ is a regularization parameter that is larger than 0.
71
+
72
+ # 4 KT-pFL Algorithm
73
+
74
+ In this section, we introduce the proposed KT-pFL algorithm, where the local model parameters and knowledge coefficient matrix are updated alternatively. To enable personalized knowledge transfer in FL, we train personalized models locally according to the related collaborative knowledge. Insert (2) into (4), and we can design an alternating optimization approach to solve (4), that in each round we fix either w or c by turns, and optimize the unfixed one following an alternating way until a convergence point is reached.
75
+
76
+ Update w: In each communication round, we first fix c and optimize (train) w for several epochs locally. In this case, updating w depends on both the private data (i.e., $\mathcal { L } _ { C E }$ on $\mathbb { D } _ { n } , n \in [ 1 , \cdots , N ] )$ , that can only be accessed by the corresponding client, and the public data (i.e., $\mathcal { L } _ { K L }$ on $\mathbb { D } _ { r }$ ), which is accessible for all clients. We propose a two-stage updating framework for w:
77
+
78
+ # Algorithm 1 KT-pFL Algorithm
79
+
80
+ Input: $\mathbb { D }$ , $\mathbb { D } _ { r }$ , $\eta _ { 1 } , \eta _ { 2 } , \eta _ { 3 }$ and $T$
81
+ Output: $\mathbf { w } = [ \mathbf { w } ^ { 1 } , \cdots , \mathbf { w } ^ { N } ]$
82
+ 1: Initialize $\mathbf { w } _ { 0 }$ and $\mathbf { c } _ { 0 }$
83
+ 2: procedure SERVER-SIDE OPTIMIZATION
84
+ 3: Distribute $\mathbf { w } _ { 0 }$ and $\mathbf { c } _ { 0 }$ to each client
85
+ 4: for each communication round $t \in \{ 1 , 2 , . . . , T \}$ do
86
+ 5: for each client $n$ in parallel do
87
+ 6: $\mathbf { w } _ { t + 1 } ^ { n } C l i e n t L o c a l U p d a t e ( n , \mathbf { w } _ { t } ^ { n } , \mathbf { c } _ { t , n } )$
88
+ 7: Update knowledge coefficient matrix c via (7)
89
+ 8: Distribute $\mathbf { c } _ { t + 1 }$ to all clients
90
+ 9: procedure CLIENTLOCALUPDATE $\mathbf { \Delta } _ { : } ( n , \mathbf { w } _ { t } ^ { n } , \mathbf { c } _ { t , n } )$
91
+ 10: Client $n$ receives $\mathbf { w } _ { t } ^ { n }$ and $\mathbf { c } _ { n }$ from the server
92
+ 11: for each local epoch $i$ from 1 to $E$ do
93
+ 12: for mini-batch $\xi _ { t } \subseteq \mathbb { D } _ { n }$ do
94
+ 13: Local Training: update model parameters on private data via (5)
95
+ 14: for each distillation step $j$ from 1 to $R$ do
96
+ 15: for mini-batch $\xi _ { r , t } \subseteq \mathbb { D } _ { r }$ do
97
+ 16: Distillation: update model parameters on public data via (6)
98
+ return local parameters $\mathbf { w } _ { t + 1 } ^ { n }$
99
+
100
+ • Local Training: Train w on each client’s private data by applying a gradient descent step:
101
+
102
+ $$
103
+ \begin{array} { r } { \mathbf { w } ^ { n } \mathbf { w } ^ { n } - \eta _ { 1 } \nabla _ { \mathbf { w } ^ { n } } \mathcal { L } _ { n } ( \mathbf { w } ^ { n } ; \boldsymbol { \xi } _ { n } ) , } \end{array}
104
+ $$
105
+
106
+ where $\xi _ { n }$ denotes the mini-batch of data $\mathbb { D } _ { n }$ used in local training, $\eta _ { 1 }$ is the learning rate.
107
+
108
+ • Distillation: Transfer knowledge from personalized soft prediction to each local client based on public dataset:
109
+
110
+ $$
111
+ \mathbf { w } ^ { n } \mathbf { w } ^ { n } - \eta _ { 2 } \nabla _ { \mathbf { w } ^ { n } } \mathcal { L } _ { K L } ( \sum _ { m = 1 } ^ { N } \mathbf { c } _ { m } ^ { * , T } \cdot s ( \mathbf { w } ^ { m } , \boldsymbol { \xi } _ { r } ) , s ( \mathbf { w } ^ { n } , \boldsymbol { \xi } _ { r } ) ) ,
112
+ $$
113
+
114
+ where $\xi _ { r }$ denotes the mini-batch of public data $\mathbb { D } _ { r }$ , and $\eta _ { 2 }$ is the learning rate. c ∗m $\mathrm { ~ \bf ~ c ~ } _ { m } ^ { * } =$ $[ c _ { m 1 } , c _ { m 2 } , \cdots , c _ { m N } ]$ is the knowledge coefficient vector for client $m$ , which can be found in $m$ -th row of $\mathbf { c }$ . Note that all collaborative knowledge and knowledge coefficient matrix are required to obtain the personalized soft prediction in this stage, which can be collected in the server.
115
+
116
+ Update c: After updating w locally for several epochs, we turn to fix w and update $\mathbf { c }$ in the server.
117
+
118
+ $$
119
+ \mathbf { c } \gets \mathbf { c } - \eta _ { 3 } \lambda \sum _ { n = 1 } ^ { N } \frac { D _ { n } } { D } \nabla _ { \mathbf { c } } \mathcal { L } _ { K L } \left( \sum _ { m = 1 } ^ { N } \mathbf { c } _ { m } \cdot s ( \mathbf { w } ^ { m , * } , \boldsymbol { \xi } _ { r } ) , s ( \mathbf { w } ^ { n , * } , \boldsymbol { \xi } _ { r } ) \right) - 2 \eta _ { 3 } \rho ( \mathbf { c } - \frac { 1 } { N } ) ,
120
+ $$
121
+
122
+ where $\eta _ { 3 }$ is the learning rate for updating c.
123
+
124
+ Algorithm 1 demonstrates the proposed KT-pFL algorithm and the idea behind it is shown in Figure 1. In every communication round of training, the clients use local SGD to train several epochs based on the private data and then send the collaborative knowledge (e.g., soft predictions on public data) to the server. When the server receives the collaborative knowledge from each client, it aggregates them to form the personalized soft predictions according to the knowledge coefficient matrix. The server then sends back the personalized soft prediction to each client to perform local distillation. The clients then iterate for multiple steps over public dataset 2. After that, the knowledge coefficient matrix is updated in the server while fixing the model parameters w.
125
+
126
+ Performance Guarantee. Theorem 4.1 provides the performance analysis of the personalized model when each client owns Non-IID data. Detailed description and derivations are deferred to Appendix A.
127
+
128
+ Theorem 4.1. Denote the n-th local distribution and its empirical distribution by $\mathcal { D } _ { n }$ and $\hat { \mathcal { D } } _ { n }$ respectively, and the hypothesis $h \in \mathcal H$ trained on $\hat { \mathcal { D } } _ { n }$ by $h _ { \hat { \mathcal { D } } _ { n } }$ . There always exist $c _ { m , n } ^ { * } , m = 1 , \ldots , N ,$ uch that the expected loss of the personalized ensemble model for the dais not larger than that of the single model only trained with local data: $\mathcal { D } _ { n }$ $n$ $\begin{array} { r } { \mathcal { L } _ { \mathcal { D } _ { n } } ( \sum _ { m = 1 } ^ { N } c _ { m , n } ^ { * } h _ { \hat { D } _ { m } } ) ^ { } \leq } \end{array}$ $\mathcal { L } _ { D _ { n } } ( h _ { \hat { D } _ { n } } )$ . Besides, there exist some problems where the personalized ensemble model is strictly better, i.e., $\begin{array} { r } { \mathcal { L } _ { \mathcal { D } _ { n } } ( \sum _ { m = 1 } ^ { N } c _ { m , n } ^ { * } h _ { \hat { \mathcal { D } } _ { m } } ) < \mathcal { L } _ { \mathcal { D } _ { n } } ( h _ { \hat { \mathcal { D } } _ { n } } ) , } \end{array}$ .
129
+
130
+ Theorem 4.1 indicates that the performance of the personalized ensemble model under some suitable coefficient matrices is better than that of the model only trained on its local private data, which theoretically demonstrates the necessity of the parameterized personalization. However, it is challenging to find such matrices due to the complexity and diversity of machine learning models and data distributions. In this paper, our designed algorithm KT-pFL can find the desired coefficient matrix in a gradient descent manner, hence achieving the performance boost. Besides, we have the similar claim for the relationship between the personalized ensemble model and average ensemble model.
131
+
132
+ Remark 4.1. There always exist $c _ { m , n } ^ { * } , m = 1 , \ldots , N$ , such that the expected loss of the personalized ensemble model for the data distribution $\mathcal { D } _ { n }$ of client $n$ is not larger than that of the average ensemble model: $\begin{array} { r } { \ L \dot { \mathcal L } _ { \mathcal D _ { n } } ( \sum _ { m = 1 } ^ { N } c _ { m , n } ^ { * } h _ { \hat { \mathcal D } _ { m } } ) \leq { \mathcal L } _ { \mathcal D _ { n } } ( \frac { 1 } { N } \sum _ { m = 1 } ^ { N } h _ { \hat { \mathcal D } _ { m } } ) } \end{array}$ . Besides, there exist some problems where the personalized ensemble model is strictly better, i.e., $\begin{array} { r } { \mathcal { L } _ { \mathcal { D } _ { n } } ( \sum _ { m = 1 } ^ { N } c _ { m , n } ^ { * } h _ { \hat { D } _ { m } } ) ^ { } < } \end{array}$ $\begin{array} { r } { \mathcal { L } _ { \mathcal { D } _ { n } } \big ( \frac { 1 } { N } \sum _ { m = 1 } ^ { N } h _ { \hat { \mathcal { D } } _ { m } } \big ) } \end{array}$ .
133
+
134
+ # 5 Evaluations
135
+
136
+ # 5.1 Experimental Setup
137
+
138
+ Task and Datasets We evaluate our proposed training framework on three different image classification tasks: EMNIST [35], Fashion_MNIST [36] and CIFAR-10 [37]. For each dataset, we apply two different Non-IID data settings: 1) each client only contains two classes of samples; 2) each client contains all classes of samples, while the number of samples for each class is different from that of a different client. All datasets are split randomly with $7 5 \%$ and $2 5 \%$ for training and testing, respectively. The testing data on each client has the same distribution with its training data. For all methods, we record the average test accuracy of all local models for evaluation.
139
+
140
+ Model Structure: Four different lightweight model structures including LeNet [38], AlexNet [39], ResNet-18 [40], and ShuffleNetV2 [41] are adopted in our experiments. Our pFL system has 20 clients, who are assigned with four different model structures, i.e., five clients per model.
141
+
142
+ Baselines: Although KT-pFL is designed for effective personalized federated learning, it can be applied to both heterogeneous and homogeneous model cases. We first conduct experiments on heterogeneous systems where the neural architecture of the local models are different among clients. We compare the performance of KT-pFL to the non-personalized distillation-based methods: FedMD [13], FedDF [16] and the personalized distillation-based method pFedDF3 and other simple versions of KT-pFL including Sim-pFL and TopK-pFL. Sim-pFL calculates the knowledge coefficient by using cosine similarity between two local soft predictions. Instead of combining the knowledge from all clients, TopK-pFL obtains the personalized soft predictions only from $K$ clients4 who have higher value of cosine similarity.
143
+
144
+ To demonstrate the generalization and effectiveness of our proposed training framework, we further compare KT-pFL to FedAvg [1] and state-of-the-art pFL methods including Per-Fedavg [9], FedavgLocal FT[23], pFedMe [6], FedAMP [8], FedFomo[29] and FedHN[30] under the homogeneous model setting. Note that Per-FedAvg is a MAML-based method which aims to optimize the one-step gradient update for its personalized model. pFedMe and FedAMP are two regularized-based methods. The former one obtains personalized models by controlling the distance between local model and global model, while the later one facilitates the collaboration of clients with similar data distribution.
145
+
146
+ Implementation The experiments are implemented in PyTorch. We simulate a set of clients and a centralized server on one deep learning workstation (i.e., Intel(R) Core(TM) i9-9900KF CPU $@$ 3.6GHz with one NVIDIA GeForce RTX 2080Ti GPU).
147
+
148
+ ![](images/74af6526f3592c8b260ec54e74a7327e932c5a1ed7046ae4b72d1e54771f20d9.jpg)
149
+ Figure 2: Performance comparison of FedMD, FedDF, pFedDF, TopK-pFD, Sim-pFD, and KT-pFL in average test accuracy on three datasets (Non-IID case 1: each client contains all labels).
150
+
151
+ ![](images/6a57aa1bb45a428a65357e2d48250d3b650620ead399beba7a9a58475c028e0b.jpg)
152
+ Figure 3: Performance comparison of FedMD, FedDF, pFedDF, TopK-pFD, Sim-pFD, and KT-pFL in average test accuracy on three datasets (Non-IID case 2: each client contains only two labels).
153
+
154
+ # 5.2 Results
155
+
156
+ Subject to space constraints, we only report the most important experimental results in this section. Please refer to Appendix B for the details of different Non-IID data settings on EMNIST, Fashion_MNIST and CIFAR10, the implementation details and the hyperparameter settings of all the methods, and also extra results about the convergence and robustness analysis. In our experiments, we run each experiment multiple times and record the average results.
157
+
158
+ Table 1: The comparison of final test accuracy $( \% )$ on different datasets with heterogeneous models (i.e., Lenet, AlexNet, ResNet-18 and ShuffleNetV2).
159
+
160
+ <table><tr><td rowspan="2">Method</td><td colspan="2">EMNIST</td><td colspan="2">Fashion_MNIST</td><td colspan="2">CIFAR-10</td></tr><tr><td>Non-IID_1</td><td>Non-IID_2</td><td>Non-IID_1</td><td>Non-IID_2</td><td>Non-IID_1</td><td>Non-IID_2</td></tr><tr><td>FedMD [13]</td><td>71.37</td><td>70.15</td><td>68.02</td><td>66.10</td><td>39.14</td><td>35.56</td></tr><tr><td>FedDF[16]</td><td>71.92</td><td>72.79</td><td>70.32</td><td>70.83</td><td>40.19</td><td>37.81</td></tr><tr><td>pFedDF</td><td>78.59</td><td>75.72</td><td>72.69</td><td>73.45</td><td>42.83</td><td>39.54</td></tr><tr><td>Sim-pFD</td><td>82.72</td><td>74.42</td><td>72.82</td><td>72.71</td><td>42.50</td><td>39.90</td></tr><tr><td>TopK-pFD</td><td>83.00</td><td>73.91</td><td>72.24</td><td>73.39</td><td>42.58</td><td>39.34</td></tr><tr><td>KT-pFL</td><td>84.65</td><td>76.30</td><td>75.48</td><td>75.60</td><td>43.82</td><td>41.04</td></tr></table>
161
+
162
+ # 5.2.1 Performance Comparison
163
+
164
+ Heterogeneous FL. For all the methods and all the data settings, the batch size on private data and public data are 128 and 256, respectively, the number of local epochs is 20 and the distillation steps is 1 in each communication round of pFL training. Unless mentioned, otherwise the public data used for EMNIST and Fashion_MNIST is MNIST, and the public data used for CIFAR-10 is CIFAR-100. the size of public data used in each communication round is 3000, the learning rate is set to 0.01 for EMNIST and Fashion_MNIST, and 0.02 for CIFAR-10.
165
+
166
+ Figure 2 and 3 show the curves of the average test accuracy during the training process on four different models with three datasets, which include the results of FedMD, FedDF, pFedDF, Sim-pFL,
167
+
168
+ ![](images/1942cb395f74e84ecf698ebc6c71d40acecfbfd316ff33397347abd9661434af.jpg)
169
+ Figure 4: Performance comparison of FedAvg, Per-Fedavg, Fedavg-Local FT, pFedMe, FedAMP, FedFomo, FedHN and KT-pFL in average test accuracy on three datasets. The Non-IID data setting: each client contains all labels. 20 clients with homogeneous models: CNN [1]. Learning rate: 0.005.
170
+
171
+ Table 2: The comparison of final test accuracy $( \% )$ on different datasets with different number of homogeneous models (i.e., the same CNN architecture as [1]). For large-scale FL system with 100 clients, we set the client sampling rate as 0.1.
172
+
173
+ <table><tr><td rowspan="2">Method</td><td colspan="2">EMNIST</td><td colspan="2">Fashion_MNIST</td><td colspan="2">CIFAR-10</td></tr><tr><td>20 clients</td><td>100 clients</td><td>20 clients</td><td>100 clients</td><td>20 clients</td><td>100 clients</td></tr><tr><td>Fedavg [1]</td><td>85.86</td><td>76.84</td><td>80.69</td><td>72.36</td><td>51.94</td><td>43.56</td></tr><tr><td>Per-Fedavg [9]</td><td>86.16</td><td>82.87</td><td>85.91</td><td>77.93</td><td>55.61</td><td>49.82</td></tr><tr><td>Fedavg-Local FT[23]</td><td>86.59</td><td>84.55</td><td>90.17</td><td>80.93</td><td>42.88</td><td>50.91</td></tr><tr><td>pFedMe [6]</td><td>84.26</td><td>86.14</td><td>90.97</td><td>84.02</td><td>62.79</td><td>52.46</td></tr><tr><td>FedAMP[8]</td><td>88.51</td><td>85.63</td><td>90.79</td><td>84.72</td><td>60.75</td><td>51.26</td></tr><tr><td>FedFomo [29]</td><td>92.58</td><td>90.08</td><td>88.33</td><td>87.76</td><td>63.11</td><td>55.73</td></tr><tr><td>pFedHN[30]</td><td>94.27</td><td>92.21</td><td>92.22</td><td>89.14</td><td>65.31</td><td>57.38</td></tr><tr><td>KT-pFL</td><td>94.40</td><td>92.50</td><td>93.93</td><td>90.37</td><td>66.96</td><td>58.29</td></tr></table>
174
+
175
+ TopK-pFL and KT-pFL. We also summarize the final average test accuracy in Table 1. In two cases of Non-IID settings, KT-pFL obtains comparable or even better accuracy performance than others. The performances of FedMD, FedDF, pFedDF are worse than the other three methods. The reason is that taking the global aggregation of all local soft predictions trained on the Non-IID data from different clients produces only one global soft prediction, which cannot be well adapted to each client. The other two personalized methods, i.e., Sim-pFL and TopK-pFL, achieve comparably performance on most of cases with pFedDF. Our proposed method KT-pFL has the best performance, because each client can adaptively aggregate all local soft predictions to form a personalized one instead of being restricted to a global soft prediction.
176
+
177
+ Homogeneous FL. Apart from heterogeneous system, we further extend KT-pFL to homogeneous model setting. To conduct fair comparison with baselines, we exchange model parameters with the server to perform knowledge transfer. Specifically, each client maintains a personalized global model at the server side and each personalized global model is aggregated by a linear combination of local model parameters and knowledge coefficient matrix (Appendix C). In this case, we compare the performance of homogeneous-version of KT-pFL with FedAvg, Per-Fedavg, Fedavg-Local FT, pFedMe, FedAMP, FedFomo and FedHN. Figure 4 and Table 2 show the curve of the average test accuracy during training and the final average test accuracy on three different datasets, respectively. For all datasets, KT-pFL dominates the other seven methods on average test accuracy with less variance. Besides, the concept of FedAMP and FedFomo is similar with our proposed method KT-pFL. The difference is that the weights for each local model during personalized aggregation phase are updated in a gradient descent manner in KT-pFL.
178
+
179
+ To verify the efficiency of KT-pFL on large-scale FL system, we conduct experiments on 100 clients and apply the same client selection mechanism as other baselines. Specifically, in KT-pFL, only partial of elements in the knowledge coefficient matrix c will be updated in each communication round on large-scale FL systems. From the results in Table 2, it is obvious that our proposed method can work well both on small-scale and large-scale FL systems.
180
+
181
+ Table 3: The comparison of final test accuracy on different setting of local epochs $E$ and distillation steps $R$ .
182
+
183
+ <table><tr><td rowspan="2">Dataset</td><td colspan="4"># Local epochs (E)</td><td colspan="4"># Distillation steps (R)</td></tr><tr><td>5</td><td>10</td><td>15</td><td>20</td><td>1</td><td>2</td><td>3</td><td>5</td></tr><tr><td>EMNIST (%)</td><td>90.15</td><td>92.76</td><td>91.03</td><td>90.15</td><td>91.76</td><td>91.40</td><td>91.18</td><td>91.54</td></tr><tr><td>Fashion_MNIST (%)</td><td>88.73</td><td>89.14</td><td>88.58</td><td>89.42</td><td>89.14</td><td>89.90</td><td>89.07</td><td>88.08</td></tr><tr><td>CIFAR-10 (%)</td><td>58.30</td><td>59.38</td><td>59.34</td><td>59.24</td><td>59.24</td><td>57.99</td><td>59.22</td><td>58.91</td></tr></table>
184
+
185
+ Table 4: The comparison of final test accuracy on different setting of regularization parameter $\rho$
186
+
187
+ <table><tr><td rowspan="2">Dataset</td><td colspan="4"># Regularization parameter p</td></tr><tr><td>0.1</td><td>0.3</td><td>0.5</td><td>0.7</td></tr><tr><td>EMNIST (%)</td><td>90.96</td><td>90.66</td><td>90.88</td><td>91.76</td></tr><tr><td>Fashion_MNIST (%)</td><td>89.49</td><td>89.30</td><td>89.56</td><td>89.14</td></tr><tr><td>CIFAR-10 (%)</td><td>59.08</td><td>58.52</td><td>59.56</td><td>58.40</td></tr></table>
188
+
189
+ # 5.2.2 Effect of hyperparameters
190
+
191
+ To understand how different hyperparameters such as $E$ , $R$ , $\rho$ , and $\left| \mathbb { D } _ { r } \right|$ can affect the training performance of KT-pFL in different settings, we conduct various experiments on three datasets with η1 = η2 = η3 = 0.01.
192
+
193
+ Effect of Local Epochs $E$ . To reduce communication overhead, the server tends to allow clients to have more local computation steps, which can lead to less global updates and thus faster convergence. Therefore, we monitor the behavior of KT-pFL using a number of values of $E$ , whose results are given in Table 3. The results show that larger values of $E$ can benefit the convergence of the personalized models. There is, nevertheless, a trade-off between the computations and communications, i.e., while larger $E$ requires more computations at local clients, smaller $E$ needs more global communication rounds to converge. To do such trade-off, we fix $E = 2 0$ and evaluate the effect of other hyperparameters accordingly.
194
+
195
+ Effect of Distillation Steps $R$ . As the performance of the knowledge transfer is directly related to the number of distillation steps $R$ , we compare the performance of KT-pFL under different setting of distillation steps (e.g., $R = 1 , 2 , 3 , 5$ ). The number of local epochs is set to 20. The results show that larger value of $R$ cannot always lead to better performance, which means a moderate number of the distillation steps is necessary to approach to the optimal performance.
196
+
197
+ Effect of $\rho$ . As mentioned in Eq (4), $\rho$ is the regularization term to do the trade-off between personalization ability and generalization ability. For example, larger value of $\rho$ means that the knowledge coefficient of each local soft prediction should approach to $\scriptstyle { \frac { 1 } { N } }$ , and thus more generalization ability should be guaranteed. Table 4 shows the results of $\mathrm { K T - p F L }$ with different value of $\rho$ . In most settings, a significantly large value of $\rho$ will hurt the performance of KT-pFL.
198
+
199
+ Table 5: Performance of KT-pFL under different setting of public dataset (Task: Fashion_MNIST; Unlabeled Open Dataset: divided from Fashion_MNIST).
200
+
201
+ <table><tr><td>Public dataset</td><td>Test Accuracy</td></tr><tr><td>MNIST</td><td>89.14 (± 0.15)</td></tr><tr><td>EMNIST</td><td>88.76(± 0.21)</td></tr><tr><td>Unlabeled Open Dataset</td><td>89.03 (± 0.11)</td></tr></table>
202
+
203
+ Effect of different public dataset. Besides, we compare the performance of our proposed method on different public datasets (Table 5). From the experimental results, we can observe that different settings of the public dataset have little effect on the training performance.
204
+
205
+ Effect of $\left| \mathbb { D } _ { r } \right|$ . Table 6 demonstrates the effect of public data size $\left| \mathbb { D } _ { r } \right|$ used in local distillation phase. When the size of the public data is increased, KT-pFL has higher average test accuracy. However, very large $\left| \mathbb { D } _ { r } \right|$ will not only slow down the convergence of KT-pFL but also incur higher computation time at the clients. During the experiments, the value of $\left| \mathbb { D } _ { r } \right|$ is configured to 3000.
206
+
207
+ Table 6: The comparison of final test accuracy on different setting of the public data size $\left| \mathbb { D } _ { r } \right|$ .
208
+
209
+ <table><tr><td rowspan="2">Dataset</td><td colspan="6"># Size of public data (IDrl)</td></tr><tr><td>10</td><td>100</td><td>500</td><td>1000</td><td>3000</td><td>5000</td></tr><tr><td>EMNIST (%)</td><td>56.19</td><td>73.44</td><td>91.25</td><td>91.47</td><td>91.66</td><td>91.32</td></tr><tr><td>Fashion_MNIST (%)</td><td>50.80</td><td>67.43</td><td>88.08</td><td>89.40</td><td>89.50</td><td>89.14</td></tr><tr><td>CIFAR-10 (%)</td><td>39.08</td><td>47.70</td><td>58.93</td><td>58.79</td><td>58.91</td><td>58.40</td></tr></table>
210
+
211
+ # 5.2.3 Efficiency Evaluation
212
+
213
+ To evaluate the communication overhead, we record three aspects information: Data (batch size used in distillation phase), Param (model parameters) and Soft Prediction without using data compression techniques. The results are shown in Figure 5. Compared with conventional parameter-based pFL methods, the communication overhead on soft prediction-based KT-pFL is far less than Conv-pFL.
214
+
215
+ ![](images/bc13c78aa8e4f23da5348d1de234aed7c4a4c7e3ae05e8fbb2ece64067909405.jpg)
216
+ Figure 5: Communication Efficiency (X-axis units: MBytes) on three datasets. KL-pFL: soft prediction-based personalized federated learning; Conv-pFL: conventional parameter-based personalized federated learning. (20 models, 30 communication rounds for all datasets. In this experiment, the public dataset is stored on the server.)
217
+
218
+ # Broader Impact
219
+
220
+ FL has been emerged as new paradigm to collaboratively train models among multiple clients in a privacy-preserving manner. Due to the diversity of users (e.g., statistical and systematic heterogeneity, etc.), applying personalization in FL is essential for future trend. Our method KT-pFL not only breaks the barriers of homogeneous model constraint, which can significantly reduce the communication overhead during training, but also improves the training efficiency via a parameterized update mechanism without additional computation overhead at the client side. This research has the potential to enable various devices to cooperatively train ML tasks based on customized neural network architectures.
221
+
222
+ # Acknowledgements
223
+
224
+ This research was supported by the funding from Hong Kong RGC Research Impact Fund (RIF) with the Project No. R5060-19, General Research Fund (GRF) with the Project No. 152221/19E and 15220320/20E, the National Natural Science Foundation of China (61872310), and Shenzhen Science and Technology Innovation Commission (R2020A045).
225
+
226
+ # References
227
+
228
+ [1] Brendan McMahan, Eider Moore, Daniel Ramage, Seth Hampson, and Blaise Agüera y Arcas. Communication-efficient learning of deep networks from decentralized data. In Proceedings of the 20th International Conference on Artificial Intelligence and Statistics, AISTATS, 2017.
229
+
230
+ [2] Tian Li, Anit Kumar Sahu, Manzil Zaheer, Maziar Sanjabi, Ameet Talwalkar, and Virginia Smith. Federated optimization in heterogeneous networks. In Proceedings of Machine Learning and Systems, MLSys, 2020.
231
+ [3] Mehryar Mohri, Gary Sivek, and Ananda Theertha Suresh. Agnostic federated learning. In Proceedings of International Conference on Machine Learning, ICML, pages 4615–4625, 2019.
232
+ [4] Sai Praneeth Karimireddy, Satyen Kale, Mehryar Mohri, Sashank Reddi, Sebastian Stich, and Ananda Theertha Suresh. Scaffold: Stochastic controlled averaging for federated learning. In Proceedings of International Conference on Machine Learning, ICML, pages 5132–5143, 2020.
233
+ [5] Tian Li, Maziar Sanjabi, Ahmad Beirami, and Virginia Smith. Fair resource allocation in federated learning. In Proceedings of 8th International Conference on Learning Representations, ICLR, 2020.
234
+ [6] Canh T. Dinh, Nguyen H. Tran, and Tuan Dung Nguyen. Personalized federated learning with moreau envelopes. In Proceedings of Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems, NeurIPS, 2020.
235
+ [7] Filip Hanzely and Peter Richtárik. Federated learning of a mixture of global and local models. arXiv preprint arXiv:2002.05516, 2020.
236
+ [8] Yutao Huang, Lingyang Chu, Zirui Zhou, Lanjun Wang, Jiangchuan Liu, Jian Pei, and Yong Zhang. Personalized cross-silo federated learning on non-iid data. In Proceedings of the AAAI Conference on Artificial Intelligence, AAAI, 2021.
237
+ [9] Alireza Fallah, Aryan Mokhtari, and Asuman E. Ozdaglar. Personalized federated learning with theoretical guarantees: A model-agnostic meta-learning approach. In Proceedings of Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems, NeurIPS, 2020.
238
+ [10] Avishek Ghosh, Jichan Chung, Dong Yin, and Kannan Ramchandran. An efficient framework for clustered federated learning. In Proceedings of Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems, NeurIPS, 2020.
239
+ [11] Yishay Mansour, Mehryar Mohri, Jae Ro, and Ananda Theertha Suresh. Three approaches for personalization with applications to federated learning. arXiv preprint arXiv:2002.10619, 2020.
240
+ [12] Eunjeong Jeong, Seungeun Oh, Hyesung Kim, Jihong Park, Mehdi Bennis, and Seong-Lyun Kim. Communication-efficient on-device machine learning: Federated distillation and augmentation under non-iid private data. arXiv preprint arXiv:1811.11479, 2018.
241
+ [13] Daliang Li and Junpu Wang. FedMD: Heterogenous federated learning via model distillation. arXiv, oct 2019.
242
+ [14] Hongyan Chang, Virat Shejwalkar, Reza Shokri, and Amir Houmansadr. Cronus: Robust and heterogeneous collaborative learning with black-box knowledge transfer. arXiv preprint arXiv:1912.11279, 2019.
243
+ [15] Sohei Itahara, Takayuki Nishio, Yusuke Koda, Masahiro Morikura, and Koji Yamamoto. Distillation-based semi-supervised federated learning for communication-efficient collaborative training with non-iid private data. arXiv preprint arXiv:2008.06180, 2020.
244
+ [16] Tao Lin, Lingjing Kong, Sebastian U. Stich, and Martin Jaggi. Ensemble distillation for robust model fusion in federated learning. In Proceedings of Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems, NeurIPS, 2020.
245
+ [17] Hong-You Chen and Wei-Lun Chao. Fedbe: Making bayesian model ensemble applicable to federated learning. In 9th International Conference on Learning Representations, ICLR 2021, Virtual Event, Austria, May 3-7, 2021. OpenReview.net, 2021.
246
+ [18] Yanlin Zhou, George Pu, Xiyao Ma, Xiaolin Li, and Dapeng Wu. Distilled one-shot federated learning. CoRR, abs/2009.07999, 2020.
247
+ [19] Lichao Sun and Lingjuan Lyu. Federated model distillation with noise-free differential privacy. In Zhi-Hua Zhou, editor, Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, IJCAI 2021, pages 1563–1570. ijcai.org, 2021.
248
+ [20] Kangkang Wang, Rajiv Mathews, Chloé Kiddon, Hubert Eichner, Françoise Beaufays, and Daniel Ramage. Federated evaluation of on-device personalization. arXiv preprint arXiv:1910.10252, 2019.
249
+ [21] Johannes Schneider and Michail Vlachos. Personalization of deep learning. arXiv preprint arXiv:1909.02803, 2019.
250
+ [22] Manoj Ghuhan Arivazhagan, Vinay Aggarwal, Aaditya Kumar Singh, and Sunav Choudhary. Federated learning with personalization layers. arXiv preprint arXiv:1912.00818, 2019.
251
+ [23] Tao Yu, Eugene Bagdasaryan, and Vitaly Shmatikov. Salvaging federated learning by local adaptation. CoRR, abs/2002.04758, 2020.
252
+ [24] Filip Hanzely, Slavomír Hanzely, Samuel Horváth, and Peter Richtárik. Lower bounds and optimal algorithms for personalized federated learning. In Proceedings of Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems, NeurIPS, 2020.
253
+ [25] Tian Li, Shengyuan Hu, Ahmad Beirami, and Virginia Smith. Ditto: Fair and robust federated learning through personalization. In International Conference on Machine Learning, pages 6357–6368. PMLR, 2021.
254
+ [26] Yuyang Deng, Mohammad Mahdi Kamani, and Mehrdad Mahdavi. Adaptive personalized federated learning. arXiv preprint arXiv:2003.13461, 2020.
255
+ [27] Matthias Reisser, Christos Louizos, Efstratios Gavves, and Max Welling. Federated mixture of experts. arXiv preprint arXiv:2107.06724, 2021.
256
+ [28] Yihan Jiang, Jakub Konecnˇ y, Keith Rush, and Sreeram Kannan. Improving federated learning \` personalization via model agnostic meta learning. arXiv preprint arXiv:1909.12488, 2019.
257
+ [29] Michael Zhang, Karan Sapra, Sanja Fidler, Serena Yeung, and Jose M. Alvarez. Personalized federated learning with first order model optimization. In 9th International Conference on Learning Representations, ICLR 2021. OpenReview.net, 2021.
258
+ [30] Aviv Shamsian, Aviv Navon, Ethan Fetaya, and Gal Chechik. Personalized federated learning using hypernetworks. In Marina Meila and Tong Zhang, editors, Proceedings of the 38th International Conference on Machine Learning, ICML 2021, volume 139, pages 9489–9502. PMLR, 2021.
259
+ [31] Virginia Smith, Chao-Kai Chiang, Maziar Sanjabi, and Ameet S. Talwalkar. Federated multitask learning. In Proceedings of Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems, NeurIPS, 2017.
260
+ [32] Enmao Diao, Jie Ding, and Vahid Tarokh. Heterofl: Computation and communication efficient federated learning for heterogeneous clients. In 9th International Conference on Learning Representations, ICLR 2021. OpenReview.net, 2021.
261
+ [33] Neel Guha, Ameet Talwalkar, and Virginia Smith. One-shot federated learning. CoRR, abs/1902.11175, 2019.
262
+ [34] Chaoyang He, Salman Avestimehr, and Murali Annavaram. Group knowledge transfer: Collaborative training of large cnns on the edge. arXiv preprint arXiv:2007.14513, 2020.
263
+ [35] Gregory Cohen, Saeed Afshar, Jonathan Tapson, and André van Schaik. EMNIST: extending MNIST to handwritten letters. In Proceedings of 2017 International Joint Conference on Neural Networks, IJCNN, 2017.
264
+ [36] Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017.
265
+ [37] Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. 2009.
266
+ [38] Yann LeCun, Léon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998.
267
+ [39] Alex Krizhevsky, Ilya Sutskever, and Geoffrey E. Hinton. Imagenet classification with deep convolutional neural networks. In Proceedings of Advances in Neural Information Processing Systems 25: 26th Annual Conference on Neural Information Processing Systems, NeurIPS, pages 1106–1114, 2012.
268
+ [40] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR, pages 770–778, 2016.
269
+ [41] Ningning Ma, Xiangyu Zhang, Hai-Tao Zheng, and Jian Sun. Shufflenet v2: Practical guidelines for efficient cnn architecture design. In Proceedings of the European conference on computer vision, ECCV, pages 116–131, 2018.
parse/train/_89s8ViNwwj/_89s8ViNwwj_content_list.json ADDED
@@ -0,0 +1,1149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Parameterized Knowledge Transfer for Personalized Federated Learning ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 183,
8
+ 122,
9
+ 816,
10
+ 172
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Jie Zhang1, Song $\\mathbf { G u o } ^ { 1 , * }$ , Xiaosong $\\mathbf { M } \\mathbf { a } ^ { 1 }$ , Haozhao Wang2, Wencao $\\mathbf { X } \\mathbf { u } ^ { 1 }$ , and Feijie $\\mathbf { W } \\mathbf { u } ^ { 1 }$ ",
17
+ "bbox": [
18
+ 189,
19
+ 224,
20
+ 803,
21
+ 241
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "1Department of Computing, The Hong Kong Polytechnic University 2Department of Computer Science and Technology, HUST {jieaa.zhang,harli.wu}@connect.polyu.hk, hz_wang@hust.edu.cn, {song.guo,xiaosma,wenchao.xu}@polyu.edu.hk ",
28
+ "bbox": [
29
+ 243,
30
+ 242,
31
+ 756,
32
+ 297
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "Abstract ",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 462,
42
+ 333,
43
+ 535,
44
+ 349
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "In recent years, personalized federated learning (pFL) has attracted increasing attention for its potential in dealing with statistical heterogeneity among clients. However, the state-of-the-art pFL methods rely on model parameters aggregation at the server side, which require all models to have the same structure and size, and thus limits the application for more heterogeneous scenarios. To deal with such model constraints, we exploit the potentials of heterogeneous model settings and propose a novel training framework to employ personalized models for different clients. Specifically, we formulate the aggregation procedure in original pFL into a personalized group knowledge transfer training algorithm, namely, KT-pFL, which enables each client to maintain a personalized soft prediction at the server side to guide the others’ local training. KT-pFL updates the personalized soft prediction of each client by a linear combination of all local soft predictions using a knowledge coefficient matrix, which can adaptively reinforce the collaboration among clients who own similar data distribution. Furthermore, to quantify the contributions of each client to others’ personalized training, the knowledge coefficient matrix is parameterized so that it can be trained simultaneously with the models. The knowledge coefficient matrix and the model parameters are alternatively updated in each round following the gradient descent way. Extensive experiments on various datasets (EMNIST, Fashion_MNIST, CIFAR-10) are conducted under different settings (heterogeneous models and data distributions). It is demonstrated that the proposed framework is the first federated learning paradigm that realizes personalized model training via parameterized group knowledge transfer while achieving significant performance gain comparing with state-of-the-art algorithms. ",
51
+ "bbox": [
52
+ 232,
53
+ 363,
54
+ 764,
55
+ 680
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1 Introduction ",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 174,
65
+ 704,
66
+ 310,
67
+ 722
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Federated Learning (FL) [1] has emerged as an efficient paradigm to collaboratively train a shared machine learning model among multiple clients without directly accessing their private data. By periodically aggregating parameters from the clients for global model updating, it can converge to high accuracy and strong generalization. FL has shown its capability to protect user privacy while there remains a crucial challenge that significantly degrades the learning performance, i.e., statistic heterogeneity in users’ local datasets. Given the Non-Independent and Identically Distributed (Non-IID) user data, the trained global model often cannot be generalized well over each client [2–5]. ",
74
+ "bbox": [
75
+ 174,
76
+ 736,
77
+ 825,
78
+ 833
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "To deal with the above issues, employing personalized models appears to be an effective solution in FL, i.e., personalized federated learning (pFL). Recent works regarding pFL include regularizationbased methods [6–8] (i.e., pFedMe [6], L2SGD [7], FedAMP [8]), meta-learning-based Per-FedAvg [9] and cluster-based IFCA [10, 11]. However, in order to aggregate the parameters from all clients, it is inevitable for them to have identical model structure and size. Such constraints would prevent status quo pFL methods from further application in practical scenarios, where clients are often willing to own unique models, i.e., with customized neural architectures to adapt to heterogeneous capacities in computation, communication and storage space, etc. Motivated by the paradigm of Knowledge Distillation (KD) [12–16] that knowledge can be transferred from a neural network to another via exchanging soft predictions instead of using the whole model parameters, KD-based FL training methods have been studied [12, 14–19] to collaboratively train heterogeneous models in a privacy-preserving way. However, these works have neglected the further personalization requirement of FL clients, which can be well satisfied via the personalized knowledge transfer for heterogeneous FL users. ",
85
+ "bbox": [
86
+ 176,
87
+ 838,
88
+ 821,
89
+ 881
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "",
96
+ "bbox": [
97
+ 174,
98
+ 92,
99
+ 825,
100
+ 242
101
+ ],
102
+ "page_idx": 1
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "In this paper, we seek to develop a novel training framework that can accommodate heterogeneous model structures for each client and achieve personalized knowledge transfer in each FL training round. To this end, we formulate the aggregation phase in FL to a personalized group knowledge transfer training algorithm dubbed KT-pFL, whose main idea is to allow each client to maintain a personalized soft prediction at the server that can be updated by a linear combination of all clients’ local soft predictions using a knowledge coefficient matrix. The principle of doing so is to reinforce the collaboration between clients with similar data distributions. Furthermore, to quantify the contribution of each client to other’s personalized soft prediction, we parameterize the knowledge coefficient matrix so that it can be trained simultaneously with the models following an alternating way in each iteration round. ",
107
+ "bbox": [
108
+ 174,
109
+ 250,
110
+ 825,
111
+ 387
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "We show that KT-pFL not only breaks down the barriers of homogeneous model restriction, which requires to transfer the entire parameters set in each round, whose data volume is much larger than that of the soft prediction, but also improves the training efficiency by using a parameterized update mechanism. Experimental results on different datasets and models show that our method can significantly improve the training efficiency and reduce the communication overhead. Our contributions are: ",
118
+ "bbox": [
119
+ 174,
120
+ 393,
121
+ 825,
122
+ 477
123
+ ],
124
+ "page_idx": 1
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "• To the best of our knowledge, this paper is the first to study the personalized knowledge transfer in FL. We propose a novel training framework, namely, KT-pFL, that maintains a personalized soft prediction for each client in the server to transfer knowledge among all clients. • To encourage clients with similar data distribution to collaborate with each other during the training process, we propose the ‘knowledge coefficient matrix’ to identify the contribution from one client to others’ local training. To show the efficiency of the parameterized method, we compared KT-pFL with two non-parameterized learning methods, i.e., TopK-pFL and Sim-pFL, which calculate the knowledge coefficient matrix on the cosine similarity between different model parameters. • We provide theoretical performance guarantee for KT-pFL and conduct extensive experiments over various deep learning models and datasets. The efficiency superiority of KT-pFL is demonstrated by comparing our proposed training framework with traditional pFL methods. ",
129
+ "bbox": [
130
+ 173,
131
+ 484,
132
+ 826,
133
+ 636
134
+ ],
135
+ "page_idx": 1
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "2 Related Work ",
140
+ "text_level": 1,
141
+ "bbox": [
142
+ 174,
143
+ 661,
144
+ 321,
145
+ 679
146
+ ],
147
+ "page_idx": 1
148
+ },
149
+ {
150
+ "type": "text",
151
+ "text": "Personalized FL with Homogeneous Models. Recently, various approaches have been proposed to realize personalized FL with homogeneous local model structure, which can be categorized into three types according to the number of global models applied in the server, i.e., single global model, multiple global models and no global model. ",
152
+ "bbox": [
153
+ 174,
154
+ 696,
155
+ 825,
156
+ 752
157
+ ],
158
+ "page_idx": 1
159
+ },
160
+ {
161
+ "type": "text",
162
+ "text": "single global model type is a close variety of conventional FL, e.g., FedAvg [1], that combine global model optimization process with additional local model customization, and consist of four different kinds of approaches: local fine-tuning [20–23], regularization (e.g., pFedMe [6], L2SGD [7, 24], Ditto [25]), hybrid local and global models [11, 26, 27] and meta learning [9, 28]. All of these pFL methods apply a single global model, and thus limit the customized level of the local model at the client side. Therefore, some researchers [8, 10, 11] propose to train multiple global models at the server, where clients are clustered into several groups according to their similarity and different models are trained for each group. FedAMP [8] and FedFomo [29] can be regarded as special cases of the clustered-based method that each client owns a personalized global model at the server side. As a contrast, some literature waive the global model to deal with the heterogeneity problem [30, 31], such as multi-task learning based (i.e., MOCHA [31]) and hypernetwork-based framework (i.e., ",
163
+ "bbox": [
164
+ 174,
165
+ 758,
166
+ 825,
167
+ 911
168
+ ],
169
+ "page_idx": 1
170
+ },
171
+ {
172
+ "type": "text",
173
+ "text": "FedHN [30]). However, all these methods require aggregating the model parameters from the clients, who have to apply identical model structure and size, which hinders further personalization, e.g., employing personalized model architectures for heterogeneous clients is not feasible. ",
174
+ "bbox": [
175
+ 174,
176
+ 90,
177
+ 825,
178
+ 133
179
+ ],
180
+ "page_idx": 2
181
+ },
182
+ {
183
+ "type": "text",
184
+ "text": "Heterogeneous FL and Knowledge Distillation. To enable heterogeneous model architectures in FL, Diao et al. [32] propose to upload a different subset of global model to the server for aggregation with the objective to produce a single global inference model. Another way of personalization is to use Knowledge Distillation (KD) in heterogeneous FL systems ([12, 14, 15, 17–19, 33, 34]). The principle is to aggregate local soft-predictions instead of local model parameters in the server, whereby each client can update the local model to approach the averaged global predictions. As KD is independent with model structure, some literature [13, 16] are proposed to take advantage of such independence to implement personalized FL with heterogeneous models at client sides. For example, Li et al. [13] propose FedMD to perform ensemble distillation for each client to learn well-personalized models. Different from FedMD that exchanging soft-predictions between the clients and the server, FedDF [16] first aggregates local model parameters for model averaging at the server side. Then, the averaged global models can be updated by performing knowledge transfer from all received (heterogeneous) client models. ",
185
+ "bbox": [
186
+ 173,
187
+ 138,
188
+ 826,
189
+ 319
190
+ ],
191
+ "page_idx": 2
192
+ },
193
+ {
194
+ "type": "text",
195
+ "text": "To sum up, most of these schemes construct an ensembling teacher by simply averaging the teachers’ soft predictions, or by heuristically combining the output of the teacher models, which are far away from producing optimal combination of teachers. In our framework, KD is used in a more efficient way that the weights of the clients’ soft predictions are updated together with the model parameters during every FL training iteration. ",
196
+ "bbox": [
197
+ 173,
198
+ 325,
199
+ 825,
200
+ 395
201
+ ],
202
+ "page_idx": 2
203
+ },
204
+ {
205
+ "type": "text",
206
+ "text": "3 Problem Formulation ",
207
+ "text_level": 1,
208
+ "bbox": [
209
+ 174,
210
+ 414,
211
+ 387,
212
+ 431
213
+ ],
214
+ "page_idx": 2
215
+ },
216
+ {
217
+ "type": "text",
218
+ "text": "We aim to collaboratively train personalized models for a set of clients applying different model structures in FL. Consider supervised learning whose goal is to learn a function that maps every input data to the correct class out of $\\mathcal { C }$ possible options. We assume that there are $N$ clients, and each client $n$ can only access to his private dataset $\\mathbf { \\widetilde { D } } _ { n } : = \\{ x _ { i } ^ { n } , y _ { i } \\}$ , where $x _ { i }$ is the $i$ -th input data sample, $y _ { i }$ is the corresponding label of $x _ { i }$ , $y _ { i } \\in \\{ 1 , 2 , \\cdots , \\dot { C } \\}$ . The number of data samples in dataset $\\mathbb { D } _ { n }$ is denoted by $D _ { n }$ . $\\mathbb { D } = \\{ \\mathbb { D } _ { 1 } , \\mathbb { D } _ { 2 } , \\cdot \\cdot \\cdot , \\mathbb { D } _ { N } \\}$ , $\\begin{array} { r } { D = \\sum _ { n = 1 } ^ { N } D _ { n } } \\end{array}$ . In conventional $\\mathrm { F L }$ , the goal of the learning system is to learn a global model w that minimizes the total empirical loss over the entire dataset $\\mathbb { D }$ : ",
219
+ "bbox": [
220
+ 173,
221
+ 444,
222
+ 826,
223
+ 559
224
+ ],
225
+ "page_idx": 2
226
+ },
227
+ {
228
+ "type": "equation",
229
+ "img_path": "images/aa5e51535d9091dfbb7900157c5f26809a599de1346200aeac92d5daaf12b484.jpg",
230
+ "text": "$$\n\\underset { \\mathbf { w } } { \\mathop { \\operatorname* { m i n } } } \\mathcal { L } ( \\mathbf { w } ) : = \\sum _ { n = 1 } ^ { N } \\frac { D _ { n } } { D } \\mathcal { L } _ { n } ( \\mathbf { w } ) , \\mathrm { ~ w h e r e ~ } \\mathcal { L } _ { n } ( \\mathbf { w } ) = \\frac { 1 } { D _ { n } } \\sum _ { i = 1 } ^ { D _ { n } } \\mathcal { L } _ { C E } ( \\mathbf { w } ; x _ { i } , y _ { i } ) ,\n$$",
231
+ "text_format": "latex",
232
+ "bbox": [
233
+ 256,
234
+ 561,
235
+ 738,
236
+ 606
237
+ ],
238
+ "page_idx": 2
239
+ },
240
+ {
241
+ "type": "text",
242
+ "text": "where $\\mathcal { L } _ { n } ( \\mathbf { w } )$ is the $n$ -th client’s local loss function that measures the local empirical risk over the private dataset $\\mathbb { D } _ { n }$ and $\\mathcal { L } _ { C E }$ is the cross-entropy loss function that measures the difference between the predicted values and the ground truth labels. ",
243
+ "bbox": [
244
+ 174,
245
+ 609,
246
+ 823,
247
+ 652
248
+ ],
249
+ "page_idx": 2
250
+ },
251
+ {
252
+ "type": "text",
253
+ "text": "However, this formulation requires all local clients to have a unified model structure, which cannot be extended to more general cases where each client applies a unique model. Therefore, we need to reformulate the above optimization problem to break the barrier of homogeneous model structure. Besides, given the Non-IID clients’ datasets, it is inappropriate to just minimize the total empirical loss (i.e., $\\begin{array} { r } { \\operatorname* { m i n } _ { \\mathbf { w } ^ { 1 } , \\cdots , \\mathbf { w } ^ { N } } \\mathcal { L } ( \\mathbf { w } ^ { 1 } , \\cdots , \\mathbf { w } ^ { N } ) : = \\sum _ { n = 1 } ^ { N } \\frac { D _ { n } } { D } \\bar { L } _ { n } ( \\mathbf { w } ^ { n } ) ) } \\end{array}$ . To that end, we propose the following training framework: ",
254
+ "bbox": [
255
+ 173,
256
+ 657,
257
+ 825,
258
+ 744
259
+ ],
260
+ "page_idx": 2
261
+ },
262
+ {
263
+ "type": "text",
264
+ "text": "Definition 3.1. Let $s ( \\mathbf { w } ^ { n } , \\hat { x } )$ denote the collaborative knowledge from client $n$ , and $\\hat { x }$ denote a data sample from a public dataset $\\mathbb { D } _ { r }$ that all clients can access to. Define the personalized loss function of client $n$ as ",
265
+ "bbox": [
266
+ 174,
267
+ 747,
268
+ 825,
269
+ 790
270
+ ],
271
+ "page_idx": 2
272
+ },
273
+ {
274
+ "type": "equation",
275
+ "img_path": "images/6dad1b5c5449f5bede2081b88fe38d63aeb5916ec6d42f33b8df520e39ce3154.jpg",
276
+ "text": "$$\n\\mathcal { L } _ { p e r , n } ( \\mathbf { w } ^ { n } ) : = \\mathcal { L } _ { n } ( \\mathbf { w } ^ { n } ) + \\lambda \\sum _ { \\hat { x } \\in \\mathbb { D } _ { r } } \\mathcal { L } _ { K L } \\left( \\sum _ { m = 1 } ^ { N } c _ { m n } \\cdot s ( \\mathbf { w } ^ { m } , \\hat { x } ) , s ( \\mathbf { w } ^ { n } , \\hat { x } ) \\right) ,\n$$",
277
+ "text_format": "latex",
278
+ "bbox": [
279
+ 250,
280
+ 792,
281
+ 745,
282
+ 837
283
+ ],
284
+ "page_idx": 2
285
+ },
286
+ {
287
+ "type": "text",
288
+ "text": "where $\\lambda > 0$ is a hyper-parameters, $\\mathcal { L } _ { K L }$ stands for Kullback–Leibler (KL) Divergence function and is added to the loss function to transfer personalized knowledge from a teacher to another. $c _ { m n }$ is the knowledge coefficient which is used to estimate the contribution from client $m$ to $n$ . The second term in (2) allows each client to build his own personalized aggregated knowledge in the server and enhance the collaboration effect between clients with large c. The concept of collaborative knowledge can either refer to soft predictions or model parameters depending on the definition in different situations. For example, $s ( \\mathbf { w } ^ { n } , \\hat { x } )$ can be deemed to be a soft prediction of the client $n$ , which are calculated with the softmax of logits $z ^ { n }$ , i.e., $\\begin{array} { r } { s ( \\mathbf { w } ^ { n } , \\hat { x } ) = \\frac { \\exp ( z _ { c } ^ { n } / T ) } { \\sum _ { c = 1 } ^ { C } \\exp ( z _ { c } ^ { n } / T ) } } \\end{array}$ , logits $z ^ { n }$ is the output of the last fully connected layer on client $n$ ’s model, $T$ is the temperature hyperparameter of the softmax function. ",
289
+ "bbox": [
290
+ 173,
291
+ 842,
292
+ 825,
293
+ 911
294
+ ],
295
+ "page_idx": 2
296
+ },
297
+ {
298
+ "type": "image",
299
+ "img_path": "images/d660a020c4cc893c460788d8aac599c2ab7f9b98990ecfe742760411704b1e9e.jpg",
300
+ "image_caption": [
301
+ "Figure 1: Illustration of the KT-pFL framework. The workflow includes 6 steps: $\\textcircled{1}$ local training on private data; $\\textcircled{2}$ , $\\textcircled{3}$ each client outputs the local soft prediction on public data and sends it to the server; $\\textcircled{4}$ the server calculates each client��s personalized soft prediction via a linear combination of local soft predictions and knowledge coefficient matrix; $\\textcircled{5}$ each client downloads the personalized soft prediction to perform distillation phase; $\\textcircled{6}$ the server updates the knowledge coefficient matrix. "
302
+ ],
303
+ "image_footnote": [],
304
+ "bbox": [
305
+ 184,
306
+ 88,
307
+ 812,
308
+ 256
309
+ ],
310
+ "page_idx": 3
311
+ },
312
+ {
313
+ "type": "text",
314
+ "text": "",
315
+ "bbox": [
316
+ 173,
317
+ 357,
318
+ 826,
319
+ 435
320
+ ],
321
+ "page_idx": 3
322
+ },
323
+ {
324
+ "type": "text",
325
+ "text": "Definition 3.2. We define $\\mathbf { c } \\in \\mathbb { R } ^ { N \\times N }$ as the knowledge coefficient matrix: ",
326
+ "bbox": [
327
+ 174,
328
+ 439,
329
+ 661,
330
+ 455
331
+ ],
332
+ "page_idx": 3
333
+ },
334
+ {
335
+ "type": "equation",
336
+ "img_path": "images/e440efd1e386297335fa8fdce15133cd94f5648af5c98ae9dda3183d08b37bed.jpg",
337
+ "text": "$$\n\\mathbf { c } = \\left. \\begin{array} { c c c c } { c _ { 1 1 } } & { c _ { 1 2 } } & { \\cdots } & { c _ { 1 N } } \\\\ { c _ { 2 1 } } & { c _ { 2 2 } } & { \\cdots } & { c _ { 2 N } } \\\\ { \\vdots } & { \\vdots } & { \\ddots } & { \\vdots } \\\\ { c _ { N 1 } } & { c _ { N 2 } } & { \\cdots } & { c _ { N N } } \\end{array} \\right. .\n$$",
338
+ "text_format": "latex",
339
+ "bbox": [
340
+ 387,
341
+ 465,
342
+ 609,
343
+ 532
344
+ ],
345
+ "page_idx": 3
346
+ },
347
+ {
348
+ "type": "text",
349
+ "text": "Our objective is to minimize ",
350
+ "bbox": [
351
+ 173,
352
+ 541,
353
+ 362,
354
+ 555
355
+ ],
356
+ "page_idx": 3
357
+ },
358
+ {
359
+ "type": "equation",
360
+ "img_path": "images/70cfcbe05619bc003624726758fbaf2e9a022995c390a2657c3488a94ff429b2.jpg",
361
+ "text": "$$\n\\operatorname* { m i n } _ { \\mathbf { w } , \\mathbf { c } } \\mathcal { L } ( \\mathbf { w } , \\mathbf { c } ) : = \\sum _ { n = 1 } ^ { N } \\frac { D _ { n } } { D } \\mathcal { L } _ { p e r , n } ( \\mathbf { w } ^ { n } ) + \\rho \\| \\mathbf { c } - \\frac { \\mathbf { 1 } } { N } \\| ^ { 2 } ,\n$$",
362
+ "text_format": "latex",
363
+ "bbox": [
364
+ 323,
365
+ 564,
366
+ 671,
367
+ 607
368
+ ],
369
+ "page_idx": 3
370
+ },
371
+ {
372
+ "type": "text",
373
+ "text": "where $\\mathbf { w } = [ \\mathbf { w } ^ { 1 } , \\cdots , \\mathbf { w } ^ { N } ] \\in \\mathbb { R } ^ { \\sum _ { n = 1 } ^ { N } d _ { n } }$ is the concatenated vector of all weights, $d _ { n }$ represents the dimensions of model parameter $\\mathbf { w } ^ { n }$ . $\\mathbf { 1 } \\in \\mathbb { R } ^ { n ^ { 2 } }$ is the identity matrix whose elements are all equal to 1. The second term in (4) is a regularization term that ensures generalization ability of the whole learning system. Without the regularization term, a client with a completely different data distribution tends to set large values of the knowledge coefficient (i.e., equal to 1), and no collaboration will be conducted during training in this case. $\\rho$ is a regularization parameter that is larger than 0. ",
374
+ "bbox": [
375
+ 173,
376
+ 616,
377
+ 826,
378
+ 707
379
+ ],
380
+ "page_idx": 3
381
+ },
382
+ {
383
+ "type": "text",
384
+ "text": "4 KT-pFL Algorithm ",
385
+ "text_level": 1,
386
+ "bbox": [
387
+ 174,
388
+ 733,
389
+ 366,
390
+ 751
391
+ ],
392
+ "page_idx": 3
393
+ },
394
+ {
395
+ "type": "text",
396
+ "text": "In this section, we introduce the proposed KT-pFL algorithm, where the local model parameters and knowledge coefficient matrix are updated alternatively. To enable personalized knowledge transfer in FL, we train personalized models locally according to the related collaborative knowledge. Insert (2) into (4), and we can design an alternating optimization approach to solve (4), that in each round we fix either w or c by turns, and optimize the unfixed one following an alternating way until a convergence point is reached. ",
397
+ "bbox": [
398
+ 173,
399
+ 765,
400
+ 825,
401
+ 849
402
+ ],
403
+ "page_idx": 3
404
+ },
405
+ {
406
+ "type": "text",
407
+ "text": "Update w: In each communication round, we first fix c and optimize (train) w for several epochs locally. In this case, updating w depends on both the private data (i.e., $\\mathcal { L } _ { C E }$ on $\\mathbb { D } _ { n } , n \\in [ 1 , \\cdots , N ] )$ , that can only be accessed by the corresponding client, and the public data (i.e., $\\mathcal { L } _ { K L }$ on $\\mathbb { D } _ { r }$ ), which is accessible for all clients. We propose a two-stage updating framework for w: ",
408
+ "bbox": [
409
+ 174,
410
+ 856,
411
+ 825,
412
+ 911
413
+ ],
414
+ "page_idx": 3
415
+ },
416
+ {
417
+ "type": "text",
418
+ "text": "Algorithm 1 KT-pFL Algorithm ",
419
+ "text_level": 1,
420
+ "bbox": [
421
+ 174,
422
+ 90,
423
+ 390,
424
+ 106
425
+ ],
426
+ "page_idx": 4
427
+ },
428
+ {
429
+ "type": "text",
430
+ "text": "Input: $\\mathbb { D }$ , $\\mathbb { D } _ { r }$ , $\\eta _ { 1 } , \\eta _ { 2 } , \\eta _ { 3 }$ and $T$ \nOutput: $\\mathbf { w } = [ \\mathbf { w } ^ { 1 } , \\cdots , \\mathbf { w } ^ { N } ]$ \n1: Initialize $\\mathbf { w } _ { 0 }$ and $\\mathbf { c } _ { 0 }$ \n2: procedure SERVER-SIDE OPTIMIZATION \n3: Distribute $\\mathbf { w } _ { 0 }$ and $\\mathbf { c } _ { 0 }$ to each client \n4: for each communication round $t \\in \\{ 1 , 2 , . . . , T \\}$ do \n5: for each client $n$ in parallel do \n6: $\\mathbf { w } _ { t + 1 } ^ { n } C l i e n t L o c a l U p d a t e ( n , \\mathbf { w } _ { t } ^ { n } , \\mathbf { c } _ { t , n } )$ \n7: Update knowledge coefficient matrix c via (7) \n8: Distribute $\\mathbf { c } _ { t + 1 }$ to all clients \n9: procedure CLIENTLOCALUPDATE $\\mathbf { \\Delta } _ { : } ( n , \\mathbf { w } _ { t } ^ { n } , \\mathbf { c } _ { t , n } )$ \n10: Client $n$ receives $\\mathbf { w } _ { t } ^ { n }$ and $\\mathbf { c } _ { n }$ from the server \n11: for each local epoch $i$ from 1 to $E$ do \n12: for mini-batch $\\xi _ { t } \\subseteq \\mathbb { D } _ { n }$ do \n13: Local Training: update model parameters on private data via (5) \n14: for each distillation step $j$ from 1 to $R$ do \n15: for mini-batch $\\xi _ { r , t } \\subseteq \\mathbb { D } _ { r }$ do \n16: Distillation: update model parameters on public data via (6) \nreturn local parameters $\\mathbf { w } _ { t + 1 } ^ { n }$ ",
431
+ "bbox": [
432
+ 178,
433
+ 108,
434
+ 705,
435
+ 381
436
+ ],
437
+ "page_idx": 4
438
+ },
439
+ {
440
+ "type": "text",
441
+ "text": "• Local Training: Train w on each client’s private data by applying a gradient descent step: ",
442
+ "bbox": [
443
+ 173,
444
+ 409,
445
+ 771,
446
+ 424
447
+ ],
448
+ "page_idx": 4
449
+ },
450
+ {
451
+ "type": "equation",
452
+ "img_path": "images/b0c7bf7041855e94cfb6cbd5f80cce399d13a091bf5fa682267b57fdfcf0e726.jpg",
453
+ "text": "$$\n\\begin{array} { r } { \\mathbf { w } ^ { n } \\mathbf { w } ^ { n } - \\eta _ { 1 } \\nabla _ { \\mathbf { w } ^ { n } } \\mathcal { L } _ { n } ( \\mathbf { w } ^ { n } ; \\boldsymbol { \\xi } _ { n } ) , } \\end{array}\n$$",
454
+ "text_format": "latex",
455
+ "bbox": [
456
+ 392,
457
+ 429,
458
+ 617,
459
+ 445
460
+ ],
461
+ "page_idx": 4
462
+ },
463
+ {
464
+ "type": "text",
465
+ "text": "where $\\xi _ { n }$ denotes the mini-batch of data $\\mathbb { D } _ { n }$ used in local training, $\\eta _ { 1 }$ is the learning rate. ",
466
+ "bbox": [
467
+ 183,
468
+ 450,
469
+ 769,
470
+ 465
471
+ ],
472
+ "page_idx": 4
473
+ },
474
+ {
475
+ "type": "text",
476
+ "text": "• Distillation: Transfer knowledge from personalized soft prediction to each local client based on public dataset: ",
477
+ "bbox": [
478
+ 173,
479
+ 468,
480
+ 826,
481
+ 497
482
+ ],
483
+ "page_idx": 4
484
+ },
485
+ {
486
+ "type": "equation",
487
+ "img_path": "images/a268301261f72a998089e3e56c593254d40a2ebf6f2507f38711c13f1284bc29.jpg",
488
+ "text": "$$\n\\mathbf { w } ^ { n } \\mathbf { w } ^ { n } - \\eta _ { 2 } \\nabla _ { \\mathbf { w } ^ { n } } \\mathcal { L } _ { K L } ( \\sum _ { m = 1 } ^ { N } \\mathbf { c } _ { m } ^ { * , T } \\cdot s ( \\mathbf { w } ^ { m } , \\boldsymbol { \\xi } _ { r } ) , s ( \\mathbf { w } ^ { n } , \\boldsymbol { \\xi } _ { r } ) ) ,\n$$",
489
+ "text_format": "latex",
490
+ "bbox": [
491
+ 294,
492
+ 502,
493
+ 717,
494
+ 545
495
+ ],
496
+ "page_idx": 4
497
+ },
498
+ {
499
+ "type": "text",
500
+ "text": "where $\\xi _ { r }$ denotes the mini-batch of public data $\\mathbb { D } _ { r }$ , and $\\eta _ { 2 }$ is the learning rate. c ∗m $\\mathrm { ~ \\bf ~ c ~ } _ { m } ^ { * } =$ $[ c _ { m 1 } , c _ { m 2 } , \\cdots , c _ { m N } ]$ is the knowledge coefficient vector for client $m$ , which can be found in $m$ -th row of $\\mathbf { c }$ . Note that all collaborative knowledge and knowledge coefficient matrix are required to obtain the personalized soft prediction in this stage, which can be collected in the server. ",
501
+ "bbox": [
502
+ 184,
503
+ 549,
504
+ 825,
505
+ 604
506
+ ],
507
+ "page_idx": 4
508
+ },
509
+ {
510
+ "type": "text",
511
+ "text": "Update c: After updating w locally for several epochs, we turn to fix w and update $\\mathbf { c }$ in the server. ",
512
+ "bbox": [
513
+ 174,
514
+ 606,
515
+ 820,
516
+ 619
517
+ ],
518
+ "page_idx": 4
519
+ },
520
+ {
521
+ "type": "equation",
522
+ "img_path": "images/550ff9693ace039723b2be5f91e5d150324f039b2b159a52b3ad8f0b41099d43.jpg",
523
+ "text": "$$\n\\mathbf { c } \\gets \\mathbf { c } - \\eta _ { 3 } \\lambda \\sum _ { n = 1 } ^ { N } \\frac { D _ { n } } { D } \\nabla _ { \\mathbf { c } } \\mathcal { L } _ { K L } \\left( \\sum _ { m = 1 } ^ { N } \\mathbf { c } _ { m } \\cdot s ( \\mathbf { w } ^ { m , * } , \\boldsymbol { \\xi } _ { r } ) , s ( \\mathbf { w } ^ { n , * } , \\boldsymbol { \\xi } _ { r } ) \\right) - 2 \\eta _ { 3 } \\rho ( \\mathbf { c } - \\frac { 1 } { N } ) ,\n$$",
524
+ "text_format": "latex",
525
+ "bbox": [
526
+ 214,
527
+ 625,
528
+ 782,
529
+ 669
530
+ ],
531
+ "page_idx": 4
532
+ },
533
+ {
534
+ "type": "text",
535
+ "text": "where $\\eta _ { 3 }$ is the learning rate for updating c. ",
536
+ "bbox": [
537
+ 174,
538
+ 671,
539
+ 459,
540
+ 686
541
+ ],
542
+ "page_idx": 4
543
+ },
544
+ {
545
+ "type": "text",
546
+ "text": "Algorithm 1 demonstrates the proposed KT-pFL algorithm and the idea behind it is shown in Figure 1. In every communication round of training, the clients use local SGD to train several epochs based on the private data and then send the collaborative knowledge (e.g., soft predictions on public data) to the server. When the server receives the collaborative knowledge from each client, it aggregates them to form the personalized soft predictions according to the knowledge coefficient matrix. The server then sends back the personalized soft prediction to each client to perform local distillation. The clients then iterate for multiple steps over public dataset 2. After that, the knowledge coefficient matrix is updated in the server while fixing the model parameters w. ",
547
+ "bbox": [
548
+ 173,
549
+ 691,
550
+ 826,
551
+ 804
552
+ ],
553
+ "page_idx": 4
554
+ },
555
+ {
556
+ "type": "text",
557
+ "text": "Performance Guarantee. Theorem 4.1 provides the performance analysis of the personalized model when each client owns Non-IID data. Detailed description and derivations are deferred to Appendix A. ",
558
+ "bbox": [
559
+ 174,
560
+ 809,
561
+ 826,
562
+ 852
563
+ ],
564
+ "page_idx": 4
565
+ },
566
+ {
567
+ "type": "text",
568
+ "text": "Theorem 4.1. Denote the n-th local distribution and its empirical distribution by $\\mathcal { D } _ { n }$ and $\\hat { \\mathcal { D } } _ { n }$ respectively, and the hypothesis $h \\in \\mathcal H$ trained on $\\hat { \\mathcal { D } } _ { n }$ by $h _ { \\hat { \\mathcal { D } } _ { n } }$ . There always exist $c _ { m , n } ^ { * } , m = 1 , \\ldots , N ,$ uch that the expected loss of the personalized ensemble model for the dais not larger than that of the single model only trained with local data: $\\mathcal { D } _ { n }$ $n$ $\\begin{array} { r } { \\mathcal { L } _ { \\mathcal { D } _ { n } } ( \\sum _ { m = 1 } ^ { N } c _ { m , n } ^ { * } h _ { \\hat { D } _ { m } } ) ^ { } \\leq } \\end{array}$ $\\mathcal { L } _ { D _ { n } } ( h _ { \\hat { D } _ { n } } )$ . Besides, there exist some problems where the personalized ensemble model is strictly better, i.e., $\\begin{array} { r } { \\mathcal { L } _ { \\mathcal { D } _ { n } } ( \\sum _ { m = 1 } ^ { N } c _ { m , n } ^ { * } h _ { \\hat { \\mathcal { D } } _ { m } } ) < \\mathcal { L } _ { \\mathcal { D } _ { n } } ( h _ { \\hat { \\mathcal { D } } _ { n } } ) , } \\end{array}$ . ",
569
+ "bbox": [
570
+ 176,
571
+ 856,
572
+ 823,
573
+ 887
574
+ ],
575
+ "page_idx": 4
576
+ },
577
+ {
578
+ "type": "text",
579
+ "text": "",
580
+ "bbox": [
581
+ 173,
582
+ 90,
583
+ 825,
584
+ 160
585
+ ],
586
+ "page_idx": 5
587
+ },
588
+ {
589
+ "type": "text",
590
+ "text": "Theorem 4.1 indicates that the performance of the personalized ensemble model under some suitable coefficient matrices is better than that of the model only trained on its local private data, which theoretically demonstrates the necessity of the parameterized personalization. However, it is challenging to find such matrices due to the complexity and diversity of machine learning models and data distributions. In this paper, our designed algorithm KT-pFL can find the desired coefficient matrix in a gradient descent manner, hence achieving the performance boost. Besides, we have the similar claim for the relationship between the personalized ensemble model and average ensemble model. ",
591
+ "bbox": [
592
+ 173,
593
+ 169,
594
+ 825,
595
+ 267
596
+ ],
597
+ "page_idx": 5
598
+ },
599
+ {
600
+ "type": "text",
601
+ "text": "Remark 4.1. There always exist $c _ { m , n } ^ { * } , m = 1 , \\ldots , N$ , such that the expected loss of the personalized ensemble model for the data distribution $\\mathcal { D } _ { n }$ of client $n$ is not larger than that of the average ensemble model: $\\begin{array} { r } { \\ L \\dot { \\mathcal L } _ { \\mathcal D _ { n } } ( \\sum _ { m = 1 } ^ { N } c _ { m , n } ^ { * } h _ { \\hat { \\mathcal D } _ { m } } ) \\leq { \\mathcal L } _ { \\mathcal D _ { n } } ( \\frac { 1 } { N } \\sum _ { m = 1 } ^ { N } h _ { \\hat { \\mathcal D } _ { m } } ) } \\end{array}$ . Besides, there exist some problems where the personalized ensemble model is strictly better, i.e., $\\begin{array} { r } { \\mathcal { L } _ { \\mathcal { D } _ { n } } ( \\sum _ { m = 1 } ^ { N } c _ { m , n } ^ { * } h _ { \\hat { D } _ { m } } ) ^ { } < } \\end{array}$ $\\begin{array} { r } { \\mathcal { L } _ { \\mathcal { D } _ { n } } \\big ( \\frac { 1 } { N } \\sum _ { m = 1 } ^ { N } h _ { \\hat { \\mathcal { D } } _ { m } } \\big ) } \\end{array}$ . ",
602
+ "bbox": [
603
+ 173,
604
+ 271,
605
+ 825,
606
+ 358
607
+ ],
608
+ "page_idx": 5
609
+ },
610
+ {
611
+ "type": "text",
612
+ "text": "5 Evaluations ",
613
+ "text_level": 1,
614
+ "bbox": [
615
+ 174,
616
+ 375,
617
+ 303,
618
+ 391
619
+ ],
620
+ "page_idx": 5
621
+ },
622
+ {
623
+ "type": "text",
624
+ "text": "5.1 Experimental Setup ",
625
+ "text_level": 1,
626
+ "bbox": [
627
+ 174,
628
+ 405,
629
+ 351,
630
+ 420
631
+ ],
632
+ "page_idx": 5
633
+ },
634
+ {
635
+ "type": "text",
636
+ "text": "Task and Datasets We evaluate our proposed training framework on three different image classification tasks: EMNIST [35], Fashion_MNIST [36] and CIFAR-10 [37]. For each dataset, we apply two different Non-IID data settings: 1) each client only contains two classes of samples; 2) each client contains all classes of samples, while the number of samples for each class is different from that of a different client. All datasets are split randomly with $7 5 \\%$ and $2 5 \\%$ for training and testing, respectively. The testing data on each client has the same distribution with its training data. For all methods, we record the average test accuracy of all local models for evaluation. ",
637
+ "bbox": [
638
+ 173,
639
+ 431,
640
+ 825,
641
+ 529
642
+ ],
643
+ "page_idx": 5
644
+ },
645
+ {
646
+ "type": "text",
647
+ "text": "Model Structure: Four different lightweight model structures including LeNet [38], AlexNet [39], ResNet-18 [40], and ShuffleNetV2 [41] are adopted in our experiments. Our pFL system has 20 clients, who are assigned with four different model structures, i.e., five clients per model. ",
648
+ "bbox": [
649
+ 174,
650
+ 535,
651
+ 825,
652
+ 577
653
+ ],
654
+ "page_idx": 5
655
+ },
656
+ {
657
+ "type": "text",
658
+ "text": "Baselines: Although KT-pFL is designed for effective personalized federated learning, it can be applied to both heterogeneous and homogeneous model cases. We first conduct experiments on heterogeneous systems where the neural architecture of the local models are different among clients. We compare the performance of KT-pFL to the non-personalized distillation-based methods: FedMD [13], FedDF [16] and the personalized distillation-based method pFedDF3 and other simple versions of KT-pFL including Sim-pFL and TopK-pFL. Sim-pFL calculates the knowledge coefficient by using cosine similarity between two local soft predictions. Instead of combining the knowledge from all clients, TopK-pFL obtains the personalized soft predictions only from $K$ clients4 who have higher value of cosine similarity. ",
659
+ "bbox": [
660
+ 173,
661
+ 583,
662
+ 825,
663
+ 708
664
+ ],
665
+ "page_idx": 5
666
+ },
667
+ {
668
+ "type": "text",
669
+ "text": "To demonstrate the generalization and effectiveness of our proposed training framework, we further compare KT-pFL to FedAvg [1] and state-of-the-art pFL methods including Per-Fedavg [9], FedavgLocal FT[23], pFedMe [6], FedAMP [8], FedFomo[29] and FedHN[30] under the homogeneous model setting. Note that Per-FedAvg is a MAML-based method which aims to optimize the one-step gradient update for its personalized model. pFedMe and FedAMP are two regularized-based methods. The former one obtains personalized models by controlling the distance between local model and global model, while the later one facilitates the collaboration of clients with similar data distribution. ",
670
+ "bbox": [
671
+ 173,
672
+ 714,
673
+ 826,
674
+ 811
675
+ ],
676
+ "page_idx": 5
677
+ },
678
+ {
679
+ "type": "text",
680
+ "text": "Implementation The experiments are implemented in PyTorch. We simulate a set of clients and a centralized server on one deep learning workstation (i.e., Intel(R) Core(TM) i9-9900KF CPU $@$ 3.6GHz with one NVIDIA GeForce RTX 2080Ti GPU). ",
681
+ "bbox": [
682
+ 174,
683
+ 818,
684
+ 823,
685
+ 859
686
+ ],
687
+ "page_idx": 5
688
+ },
689
+ {
690
+ "type": "image",
691
+ "img_path": "images/74af6526f3592c8b260ec54e74a7327e932c5a1ed7046ae4b72d1e54771f20d9.jpg",
692
+ "image_caption": [
693
+ "Figure 2: Performance comparison of FedMD, FedDF, pFedDF, TopK-pFD, Sim-pFD, and KT-pFL in average test accuracy on three datasets (Non-IID case 1: each client contains all labels). "
694
+ ],
695
+ "image_footnote": [],
696
+ "bbox": [
697
+ 181,
698
+ 102,
699
+ 812,
700
+ 233
701
+ ],
702
+ "page_idx": 6
703
+ },
704
+ {
705
+ "type": "image",
706
+ "img_path": "images/6a57aa1bb45a428a65357e2d48250d3b650620ead399beba7a9a58475c028e0b.jpg",
707
+ "image_caption": [
708
+ "Figure 3: Performance comparison of FedMD, FedDF, pFedDF, TopK-pFD, Sim-pFD, and KT-pFL in average test accuracy on three datasets (Non-IID case 2: each client contains only two labels). "
709
+ ],
710
+ "image_footnote": [],
711
+ "bbox": [
712
+ 179,
713
+ 290,
714
+ 812,
715
+ 422
716
+ ],
717
+ "page_idx": 6
718
+ },
719
+ {
720
+ "type": "text",
721
+ "text": "5.2 Results ",
722
+ "text_level": 1,
723
+ "bbox": [
724
+ 173,
725
+ 479,
726
+ 264,
727
+ 493
728
+ ],
729
+ "page_idx": 6
730
+ },
731
+ {
732
+ "type": "text",
733
+ "text": "Subject to space constraints, we only report the most important experimental results in this section. Please refer to Appendix B for the details of different Non-IID data settings on EMNIST, Fashion_MNIST and CIFAR10, the implementation details and the hyperparameter settings of all the methods, and also extra results about the convergence and robustness analysis. In our experiments, we run each experiment multiple times and record the average results. ",
734
+ "bbox": [
735
+ 174,
736
+ 505,
737
+ 826,
738
+ 574
739
+ ],
740
+ "page_idx": 6
741
+ },
742
+ {
743
+ "type": "table",
744
+ "img_path": "images/880a1eb2c0c6ac19aae115d44db25ab3f190a22d3fb499d57c6f0497fb534365.jpg",
745
+ "table_caption": [
746
+ "Table 1: The comparison of final test accuracy $( \\% )$ on different datasets with heterogeneous models (i.e., Lenet, AlexNet, ResNet-18 and ShuffleNetV2). "
747
+ ],
748
+ "table_footnote": [],
749
+ "table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"2\">EMNIST</td><td colspan=\"2\">Fashion_MNIST</td><td colspan=\"2\">CIFAR-10</td></tr><tr><td>Non-IID_1</td><td>Non-IID_2</td><td>Non-IID_1</td><td>Non-IID_2</td><td>Non-IID_1</td><td>Non-IID_2</td></tr><tr><td>FedMD [13]</td><td>71.37</td><td>70.15</td><td>68.02</td><td>66.10</td><td>39.14</td><td>35.56</td></tr><tr><td>FedDF[16]</td><td>71.92</td><td>72.79</td><td>70.32</td><td>70.83</td><td>40.19</td><td>37.81</td></tr><tr><td>pFedDF</td><td>78.59</td><td>75.72</td><td>72.69</td><td>73.45</td><td>42.83</td><td>39.54</td></tr><tr><td>Sim-pFD</td><td>82.72</td><td>74.42</td><td>72.82</td><td>72.71</td><td>42.50</td><td>39.90</td></tr><tr><td>TopK-pFD</td><td>83.00</td><td>73.91</td><td>72.24</td><td>73.39</td><td>42.58</td><td>39.34</td></tr><tr><td>KT-pFL</td><td>84.65</td><td>76.30</td><td>75.48</td><td>75.60</td><td>43.82</td><td>41.04</td></tr></table>",
750
+ "bbox": [
751
+ 196,
752
+ 622,
753
+ 802,
754
+ 747
755
+ ],
756
+ "page_idx": 6
757
+ },
758
+ {
759
+ "type": "text",
760
+ "text": "5.2.1 Performance Comparison ",
761
+ "text_level": 1,
762
+ "bbox": [
763
+ 173,
764
+ 770,
765
+ 405,
766
+ 785
767
+ ],
768
+ "page_idx": 6
769
+ },
770
+ {
771
+ "type": "text",
772
+ "text": "Heterogeneous FL. For all the methods and all the data settings, the batch size on private data and public data are 128 and 256, respectively, the number of local epochs is 20 and the distillation steps is 1 in each communication round of pFL training. Unless mentioned, otherwise the public data used for EMNIST and Fashion_MNIST is MNIST, and the public data used for CIFAR-10 is CIFAR-100. the size of public data used in each communication round is 3000, the learning rate is set to 0.01 for EMNIST and Fashion_MNIST, and 0.02 for CIFAR-10. ",
773
+ "bbox": [
774
+ 173,
775
+ 792,
776
+ 826,
777
+ 877
778
+ ],
779
+ "page_idx": 6
780
+ },
781
+ {
782
+ "type": "text",
783
+ "text": "Figure 2 and 3 show the curves of the average test accuracy during the training process on four different models with three datasets, which include the results of FedMD, FedDF, pFedDF, Sim-pFL, ",
784
+ "bbox": [
785
+ 174,
786
+ 883,
787
+ 821,
788
+ 911
789
+ ],
790
+ "page_idx": 6
791
+ },
792
+ {
793
+ "type": "image",
794
+ "img_path": "images/1942cb395f74e84ecf698ebc6c71d40acecfbfd316ff33397347abd9661434af.jpg",
795
+ "image_caption": [
796
+ "Figure 4: Performance comparison of FedAvg, Per-Fedavg, Fedavg-Local FT, pFedMe, FedAMP, FedFomo, FedHN and KT-pFL in average test accuracy on three datasets. The Non-IID data setting: each client contains all labels. 20 clients with homogeneous models: CNN [1]. Learning rate: 0.005. "
797
+ ],
798
+ "image_footnote": [],
799
+ "bbox": [
800
+ 184,
801
+ 102,
802
+ 816,
803
+ 232
804
+ ],
805
+ "page_idx": 7
806
+ },
807
+ {
808
+ "type": "table",
809
+ "img_path": "images/a2f670b154f4d8cdc80db691eb3609620a574ad83b09d8dc8fc73cab8581b4a4.jpg",
810
+ "table_caption": [
811
+ "Table 2: The comparison of final test accuracy $( \\% )$ on different datasets with different number of homogeneous models (i.e., the same CNN architecture as [1]). For large-scale FL system with 100 clients, we set the client sampling rate as 0.1. "
812
+ ],
813
+ "table_footnote": [],
814
+ "table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"2\">EMNIST</td><td colspan=\"2\">Fashion_MNIST</td><td colspan=\"2\">CIFAR-10</td></tr><tr><td>20 clients</td><td>100 clients</td><td>20 clients</td><td>100 clients</td><td>20 clients</td><td>100 clients</td></tr><tr><td>Fedavg [1]</td><td>85.86</td><td>76.84</td><td>80.69</td><td>72.36</td><td>51.94</td><td>43.56</td></tr><tr><td>Per-Fedavg [9]</td><td>86.16</td><td>82.87</td><td>85.91</td><td>77.93</td><td>55.61</td><td>49.82</td></tr><tr><td>Fedavg-Local FT[23]</td><td>86.59</td><td>84.55</td><td>90.17</td><td>80.93</td><td>42.88</td><td>50.91</td></tr><tr><td>pFedMe [6]</td><td>84.26</td><td>86.14</td><td>90.97</td><td>84.02</td><td>62.79</td><td>52.46</td></tr><tr><td>FedAMP[8]</td><td>88.51</td><td>85.63</td><td>90.79</td><td>84.72</td><td>60.75</td><td>51.26</td></tr><tr><td>FedFomo [29]</td><td>92.58</td><td>90.08</td><td>88.33</td><td>87.76</td><td>63.11</td><td>55.73</td></tr><tr><td>pFedHN[30]</td><td>94.27</td><td>92.21</td><td>92.22</td><td>89.14</td><td>65.31</td><td>57.38</td></tr><tr><td>KT-pFL</td><td>94.40</td><td>92.50</td><td>93.93</td><td>90.37</td><td>66.96</td><td>58.29</td></tr></table>",
815
+ "bbox": [
816
+ 181,
817
+ 354,
818
+ 815,
819
+ 503
820
+ ],
821
+ "page_idx": 7
822
+ },
823
+ {
824
+ "type": "text",
825
+ "text": "TopK-pFL and KT-pFL. We also summarize the final average test accuracy in Table 1. In two cases of Non-IID settings, KT-pFL obtains comparable or even better accuracy performance than others. The performances of FedMD, FedDF, pFedDF are worse than the other three methods. The reason is that taking the global aggregation of all local soft predictions trained on the Non-IID data from different clients produces only one global soft prediction, which cannot be well adapted to each client. The other two personalized methods, i.e., Sim-pFL and TopK-pFL, achieve comparably performance on most of cases with pFedDF. Our proposed method KT-pFL has the best performance, because each client can adaptively aggregate all local soft predictions to form a personalized one instead of being restricted to a global soft prediction. ",
826
+ "bbox": [
827
+ 173,
828
+ 537,
829
+ 826,
830
+ 662
831
+ ],
832
+ "page_idx": 7
833
+ },
834
+ {
835
+ "type": "text",
836
+ "text": "Homogeneous FL. Apart from heterogeneous system, we further extend KT-pFL to homogeneous model setting. To conduct fair comparison with baselines, we exchange model parameters with the server to perform knowledge transfer. Specifically, each client maintains a personalized global model at the server side and each personalized global model is aggregated by a linear combination of local model parameters and knowledge coefficient matrix (Appendix C). In this case, we compare the performance of homogeneous-version of KT-pFL with FedAvg, Per-Fedavg, Fedavg-Local FT, pFedMe, FedAMP, FedFomo and FedHN. Figure 4 and Table 2 show the curve of the average test accuracy during training and the final average test accuracy on three different datasets, respectively. For all datasets, KT-pFL dominates the other seven methods on average test accuracy with less variance. Besides, the concept of FedAMP and FedFomo is similar with our proposed method KT-pFL. The difference is that the weights for each local model during personalized aggregation phase are updated in a gradient descent manner in KT-pFL. ",
837
+ "bbox": [
838
+ 173,
839
+ 670,
840
+ 825,
841
+ 835
842
+ ],
843
+ "page_idx": 7
844
+ },
845
+ {
846
+ "type": "text",
847
+ "text": "To verify the efficiency of KT-pFL on large-scale FL system, we conduct experiments on 100 clients and apply the same client selection mechanism as other baselines. Specifically, in KT-pFL, only partial of elements in the knowledge coefficient matrix c will be updated in each communication round on large-scale FL systems. From the results in Table 2, it is obvious that our proposed method can work well both on small-scale and large-scale FL systems. ",
848
+ "bbox": [
849
+ 174,
850
+ 842,
851
+ 823,
852
+ 911
853
+ ],
854
+ "page_idx": 7
855
+ },
856
+ {
857
+ "type": "table",
858
+ "img_path": "images/6d475cb8c07f64ea6bf36e938c1694b07946570e17a396e2de4cf0a15940cbb9.jpg",
859
+ "table_caption": [
860
+ "Table 3: The comparison of final test accuracy on different setting of local epochs $E$ and distillation steps $R$ . "
861
+ ],
862
+ "table_footnote": [],
863
+ "table_body": "<table><tr><td rowspan=\"2\">Dataset</td><td colspan=\"4\"># Local epochs (E)</td><td colspan=\"4\"># Distillation steps (R)</td></tr><tr><td>5</td><td>10</td><td>15</td><td>20</td><td>1</td><td>2</td><td>3</td><td>5</td></tr><tr><td>EMNIST (%)</td><td>90.15</td><td>92.76</td><td>91.03</td><td>90.15</td><td>91.76</td><td>91.40</td><td>91.18</td><td>91.54</td></tr><tr><td>Fashion_MNIST (%)</td><td>88.73</td><td>89.14</td><td>88.58</td><td>89.42</td><td>89.14</td><td>89.90</td><td>89.07</td><td>88.08</td></tr><tr><td>CIFAR-10 (%)</td><td>58.30</td><td>59.38</td><td>59.34</td><td>59.24</td><td>59.24</td><td>57.99</td><td>59.22</td><td>58.91</td></tr></table>",
864
+ "bbox": [
865
+ 214,
866
+ 125,
867
+ 782,
868
+ 212
869
+ ],
870
+ "page_idx": 8
871
+ },
872
+ {
873
+ "type": "table",
874
+ "img_path": "images/4272abbcb857768d785d7905e4b21e8c6edd1a2c91941b7a171e4c3cbdf4cd39.jpg",
875
+ "table_caption": [
876
+ "Table 4: The comparison of final test accuracy on different setting of regularization parameter $\\rho$ "
877
+ ],
878
+ "table_footnote": [],
879
+ "table_body": "<table><tr><td rowspan=\"2\">Dataset</td><td colspan=\"4\"># Regularization parameter p</td></tr><tr><td>0.1</td><td>0.3</td><td>0.5</td><td>0.7</td></tr><tr><td>EMNIST (%)</td><td>90.96</td><td>90.66</td><td>90.88</td><td>91.76</td></tr><tr><td>Fashion_MNIST (%)</td><td>89.49</td><td>89.30</td><td>89.56</td><td>89.14</td></tr><tr><td>CIFAR-10 (%)</td><td>59.08</td><td>58.52</td><td>59.56</td><td>58.40</td></tr></table>",
880
+ "bbox": [
881
+ 318,
882
+ 251,
883
+ 678,
884
+ 338
885
+ ],
886
+ "page_idx": 8
887
+ },
888
+ {
889
+ "type": "text",
890
+ "text": "5.2.2 Effect of hyperparameters ",
891
+ "text_level": 1,
892
+ "bbox": [
893
+ 174,
894
+ 367,
895
+ 408,
896
+ 382
897
+ ],
898
+ "page_idx": 8
899
+ },
900
+ {
901
+ "type": "text",
902
+ "text": "To understand how different hyperparameters such as $E$ , $R$ , $\\rho$ , and $\\left| \\mathbb { D } _ { r } \\right|$ can affect the training performance of KT-pFL in different settings, we conduct various experiments on three datasets with η1 = η2 = η3 = 0.01. ",
903
+ "bbox": [
904
+ 176,
905
+ 390,
906
+ 825,
907
+ 433
908
+ ],
909
+ "page_idx": 8
910
+ },
911
+ {
912
+ "type": "text",
913
+ "text": "Effect of Local Epochs $E$ . To reduce communication overhead, the server tends to allow clients to have more local computation steps, which can lead to less global updates and thus faster convergence. Therefore, we monitor the behavior of KT-pFL using a number of values of $E$ , whose results are given in Table 3. The results show that larger values of $E$ can benefit the convergence of the personalized models. There is, nevertheless, a trade-off between the computations and communications, i.e., while larger $E$ requires more computations at local clients, smaller $E$ needs more global communication rounds to converge. To do such trade-off, we fix $E = 2 0$ and evaluate the effect of other hyperparameters accordingly. ",
914
+ "bbox": [
915
+ 173,
916
+ 439,
917
+ 826,
918
+ 551
919
+ ],
920
+ "page_idx": 8
921
+ },
922
+ {
923
+ "type": "text",
924
+ "text": "Effect of Distillation Steps $R$ . As the performance of the knowledge transfer is directly related to the number of distillation steps $R$ , we compare the performance of KT-pFL under different setting of distillation steps (e.g., $R = 1 , 2 , 3 , 5$ ). The number of local epochs is set to 20. The results show that larger value of $R$ cannot always lead to better performance, which means a moderate number of the distillation steps is necessary to approach to the optimal performance. ",
925
+ "bbox": [
926
+ 174,
927
+ 556,
928
+ 825,
929
+ 626
930
+ ],
931
+ "page_idx": 8
932
+ },
933
+ {
934
+ "type": "text",
935
+ "text": "Effect of $\\rho$ . As mentioned in Eq (4), $\\rho$ is the regularization term to do the trade-off between personalization ability and generalization ability. For example, larger value of $\\rho$ means that the knowledge coefficient of each local soft prediction should approach to $\\scriptstyle { \\frac { 1 } { N } }$ , and thus more generalization ability should be guaranteed. Table 4 shows the results of $\\mathrm { K T - p F L }$ with different value of $\\rho$ . In most settings, a significantly large value of $\\rho$ will hurt the performance of KT-pFL. ",
936
+ "bbox": [
937
+ 173,
938
+ 632,
939
+ 826,
940
+ 702
941
+ ],
942
+ "page_idx": 8
943
+ },
944
+ {
945
+ "type": "table",
946
+ "img_path": "images/5624d6e1bdd823b4f4704bc4e583cd2af20b3376bc2992af95d4cc5f3e99c8cf.jpg",
947
+ "table_caption": [
948
+ "Table 5: Performance of KT-pFL under different setting of public dataset (Task: Fashion_MNIST; Unlabeled Open Dataset: divided from Fashion_MNIST). "
949
+ ],
950
+ "table_footnote": [],
951
+ "table_body": "<table><tr><td>Public dataset</td><td>Test Accuracy</td></tr><tr><td>MNIST</td><td>89.14 (± 0.15)</td></tr><tr><td>EMNIST</td><td>88.76(± 0.21)</td></tr><tr><td>Unlabeled Open Dataset</td><td>89.03 (± 0.11)</td></tr></table>",
952
+ "bbox": [
953
+ 346,
954
+ 750,
955
+ 647,
956
+ 821
957
+ ],
958
+ "page_idx": 8
959
+ },
960
+ {
961
+ "type": "text",
962
+ "text": "Effect of different public dataset. Besides, we compare the performance of our proposed method on different public datasets (Table 5). From the experimental results, we can observe that different settings of the public dataset have little effect on the training performance. ",
963
+ "bbox": [
964
+ 174,
965
+ 835,
966
+ 825,
967
+ 877
968
+ ],
969
+ "page_idx": 8
970
+ },
971
+ {
972
+ "type": "text",
973
+ "text": "Effect of $\\left| \\mathbb { D } _ { r } \\right|$ . Table 6 demonstrates the effect of public data size $\\left| \\mathbb { D } _ { r } \\right|$ used in local distillation phase. When the size of the public data is increased, KT-pFL has higher average test accuracy. However, very large $\\left| \\mathbb { D } _ { r } \\right|$ will not only slow down the convergence of KT-pFL but also incur higher computation time at the clients. During the experiments, the value of $\\left| \\mathbb { D } _ { r } \\right|$ is configured to 3000. ",
974
+ "bbox": [
975
+ 173,
976
+ 882,
977
+ 823,
978
+ 912
979
+ ],
980
+ "page_idx": 8
981
+ },
982
+ {
983
+ "type": "table",
984
+ "img_path": "images/0db24725b13d79bd11d04a000ae33a02bb34a5ef0e26c8c414fa880c39a9947f.jpg",
985
+ "table_caption": [
986
+ "Table 6: The comparison of final test accuracy on different setting of the public data size $\\left| \\mathbb { D } _ { r } \\right|$ . "
987
+ ],
988
+ "table_footnote": [],
989
+ "table_body": "<table><tr><td rowspan=\"2\">Dataset</td><td colspan=\"6\"># Size of public data (IDrl)</td></tr><tr><td>10</td><td>100</td><td>500</td><td>1000</td><td>3000</td><td>5000</td></tr><tr><td>EMNIST (%)</td><td>56.19</td><td>73.44</td><td>91.25</td><td>91.47</td><td>91.66</td><td>91.32</td></tr><tr><td>Fashion_MNIST (%)</td><td>50.80</td><td>67.43</td><td>88.08</td><td>89.40</td><td>89.50</td><td>89.14</td></tr><tr><td>CIFAR-10 (%)</td><td>39.08</td><td>47.70</td><td>58.93</td><td>58.79</td><td>58.91</td><td>58.40</td></tr></table>",
990
+ "bbox": [
991
+ 266,
992
+ 112,
993
+ 730,
994
+ 199
995
+ ],
996
+ "page_idx": 9
997
+ },
998
+ {
999
+ "type": "text",
1000
+ "text": "",
1001
+ "bbox": [
1002
+ 176,
1003
+ 233,
1004
+ 821,
1005
+ 262
1006
+ ],
1007
+ "page_idx": 9
1008
+ },
1009
+ {
1010
+ "type": "text",
1011
+ "text": "5.2.3 Efficiency Evaluation ",
1012
+ "text_level": 1,
1013
+ "bbox": [
1014
+ 174,
1015
+ 280,
1016
+ 374,
1017
+ 295
1018
+ ],
1019
+ "page_idx": 9
1020
+ },
1021
+ {
1022
+ "type": "text",
1023
+ "text": "To evaluate the communication overhead, we record three aspects information: Data (batch size used in distillation phase), Param (model parameters) and Soft Prediction without using data compression techniques. The results are shown in Figure 5. Compared with conventional parameter-based pFL methods, the communication overhead on soft prediction-based KT-pFL is far less than Conv-pFL. ",
1024
+ "bbox": [
1025
+ 174,
1026
+ 305,
1027
+ 825,
1028
+ 361
1029
+ ],
1030
+ "page_idx": 9
1031
+ },
1032
+ {
1033
+ "type": "image",
1034
+ "img_path": "images/bc13c78aa8e4f23da5348d1de234aed7c4a4c7e3ae05e8fbb2ece64067909405.jpg",
1035
+ "image_caption": [
1036
+ "Figure 5: Communication Efficiency (X-axis units: MBytes) on three datasets. KL-pFL: soft prediction-based personalized federated learning; Conv-pFL: conventional parameter-based personalized federated learning. (20 models, 30 communication rounds for all datasets. In this experiment, the public dataset is stored on the server.) "
1037
+ ],
1038
+ "image_footnote": [],
1039
+ "bbox": [
1040
+ 178,
1041
+ 378,
1042
+ 820,
1043
+ 467
1044
+ ],
1045
+ "page_idx": 9
1046
+ },
1047
+ {
1048
+ "type": "text",
1049
+ "text": "Broader Impact ",
1050
+ "text_level": 1,
1051
+ "bbox": [
1052
+ 174,
1053
+ 563,
1054
+ 310,
1055
+ 580
1056
+ ],
1057
+ "page_idx": 9
1058
+ },
1059
+ {
1060
+ "type": "text",
1061
+ "text": "FL has been emerged as new paradigm to collaboratively train models among multiple clients in a privacy-preserving manner. Due to the diversity of users (e.g., statistical and systematic heterogeneity, etc.), applying personalization in FL is essential for future trend. Our method KT-pFL not only breaks the barriers of homogeneous model constraint, which can significantly reduce the communication overhead during training, but also improves the training efficiency via a parameterized update mechanism without additional computation overhead at the client side. This research has the potential to enable various devices to cooperatively train ML tasks based on customized neural network architectures. ",
1062
+ "bbox": [
1063
+ 174,
1064
+ 595,
1065
+ 825,
1066
+ 707
1067
+ ],
1068
+ "page_idx": 9
1069
+ },
1070
+ {
1071
+ "type": "text",
1072
+ "text": "Acknowledgements ",
1073
+ "text_level": 1,
1074
+ "bbox": [
1075
+ 176,
1076
+ 731,
1077
+ 338,
1078
+ 747
1079
+ ],
1080
+ "page_idx": 9
1081
+ },
1082
+ {
1083
+ "type": "text",
1084
+ "text": "This research was supported by the funding from Hong Kong RGC Research Impact Fund (RIF) with the Project No. R5060-19, General Research Fund (GRF) with the Project No. 152221/19E and 15220320/20E, the National Natural Science Foundation of China (61872310), and Shenzhen Science and Technology Innovation Commission (R2020A045). ",
1085
+ "bbox": [
1086
+ 176,
1087
+ 763,
1088
+ 825,
1089
+ 819
1090
+ ],
1091
+ "page_idx": 9
1092
+ },
1093
+ {
1094
+ "type": "text",
1095
+ "text": "References ",
1096
+ "text_level": 1,
1097
+ "bbox": [
1098
+ 174,
1099
+ 843,
1100
+ 266,
1101
+ 859
1102
+ ],
1103
+ "page_idx": 9
1104
+ },
1105
+ {
1106
+ "type": "text",
1107
+ "text": "[1] Brendan McMahan, Eider Moore, Daniel Ramage, Seth Hampson, and Blaise Agüera y Arcas. Communication-efficient learning of deep networks from decentralized data. In Proceedings of the 20th International Conference on Artificial Intelligence and Statistics, AISTATS, 2017. ",
1108
+ "bbox": [
1109
+ 183,
1110
+ 869,
1111
+ 826,
1112
+ 911
1113
+ ],
1114
+ "page_idx": 9
1115
+ },
1116
+ {
1117
+ "type": "text",
1118
+ "text": "[2] Tian Li, Anit Kumar Sahu, Manzil Zaheer, Maziar Sanjabi, Ameet Talwalkar, and Virginia Smith. Federated optimization in heterogeneous networks. In Proceedings of Machine Learning and Systems, MLSys, 2020. \n[3] Mehryar Mohri, Gary Sivek, and Ananda Theertha Suresh. Agnostic federated learning. In Proceedings of International Conference on Machine Learning, ICML, pages 4615–4625, 2019. \n[4] Sai Praneeth Karimireddy, Satyen Kale, Mehryar Mohri, Sashank Reddi, Sebastian Stich, and Ananda Theertha Suresh. Scaffold: Stochastic controlled averaging for federated learning. In Proceedings of International Conference on Machine Learning, ICML, pages 5132–5143, 2020. \n[5] Tian Li, Maziar Sanjabi, Ahmad Beirami, and Virginia Smith. Fair resource allocation in federated learning. In Proceedings of 8th International Conference on Learning Representations, ICLR, 2020. \n[6] Canh T. Dinh, Nguyen H. Tran, and Tuan Dung Nguyen. Personalized federated learning with moreau envelopes. In Proceedings of Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems, NeurIPS, 2020. \n[7] Filip Hanzely and Peter Richtárik. Federated learning of a mixture of global and local models. arXiv preprint arXiv:2002.05516, 2020. \n[8] Yutao Huang, Lingyang Chu, Zirui Zhou, Lanjun Wang, Jiangchuan Liu, Jian Pei, and Yong Zhang. Personalized cross-silo federated learning on non-iid data. In Proceedings of the AAAI Conference on Artificial Intelligence, AAAI, 2021. \n[9] Alireza Fallah, Aryan Mokhtari, and Asuman E. Ozdaglar. Personalized federated learning with theoretical guarantees: A model-agnostic meta-learning approach. In Proceedings of Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems, NeurIPS, 2020. \n[10] Avishek Ghosh, Jichan Chung, Dong Yin, and Kannan Ramchandran. An efficient framework for clustered federated learning. In Proceedings of Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems, NeurIPS, 2020. \n[11] Yishay Mansour, Mehryar Mohri, Jae Ro, and Ananda Theertha Suresh. Three approaches for personalization with applications to federated learning. arXiv preprint arXiv:2002.10619, 2020. \n[12] Eunjeong Jeong, Seungeun Oh, Hyesung Kim, Jihong Park, Mehdi Bennis, and Seong-Lyun Kim. Communication-efficient on-device machine learning: Federated distillation and augmentation under non-iid private data. arXiv preprint arXiv:1811.11479, 2018. \n[13] Daliang Li and Junpu Wang. FedMD: Heterogenous federated learning via model distillation. arXiv, oct 2019. \n[14] Hongyan Chang, Virat Shejwalkar, Reza Shokri, and Amir Houmansadr. Cronus: Robust and heterogeneous collaborative learning with black-box knowledge transfer. arXiv preprint arXiv:1912.11279, 2019. \n[15] Sohei Itahara, Takayuki Nishio, Yusuke Koda, Masahiro Morikura, and Koji Yamamoto. Distillation-based semi-supervised federated learning for communication-efficient collaborative training with non-iid private data. arXiv preprint arXiv:2008.06180, 2020. \n[16] Tao Lin, Lingjing Kong, Sebastian U. Stich, and Martin Jaggi. Ensemble distillation for robust model fusion in federated learning. In Proceedings of Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems, NeurIPS, 2020. \n[17] Hong-You Chen and Wei-Lun Chao. Fedbe: Making bayesian model ensemble applicable to federated learning. In 9th International Conference on Learning Representations, ICLR 2021, Virtual Event, Austria, May 3-7, 2021. OpenReview.net, 2021. \n[18] Yanlin Zhou, George Pu, Xiyao Ma, Xiaolin Li, and Dapeng Wu. Distilled one-shot federated learning. CoRR, abs/2009.07999, 2020. \n[19] Lichao Sun and Lingjuan Lyu. Federated model distillation with noise-free differential privacy. In Zhi-Hua Zhou, editor, Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, IJCAI 2021, pages 1563–1570. ijcai.org, 2021. \n[20] Kangkang Wang, Rajiv Mathews, Chloé Kiddon, Hubert Eichner, Françoise Beaufays, and Daniel Ramage. Federated evaluation of on-device personalization. arXiv preprint arXiv:1910.10252, 2019. \n[21] Johannes Schneider and Michail Vlachos. Personalization of deep learning. arXiv preprint arXiv:1909.02803, 2019. \n[22] Manoj Ghuhan Arivazhagan, Vinay Aggarwal, Aaditya Kumar Singh, and Sunav Choudhary. Federated learning with personalization layers. arXiv preprint arXiv:1912.00818, 2019. \n[23] Tao Yu, Eugene Bagdasaryan, and Vitaly Shmatikov. Salvaging federated learning by local adaptation. CoRR, abs/2002.04758, 2020. \n[24] Filip Hanzely, Slavomír Hanzely, Samuel Horváth, and Peter Richtárik. Lower bounds and optimal algorithms for personalized federated learning. In Proceedings of Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems, NeurIPS, 2020. \n[25] Tian Li, Shengyuan Hu, Ahmad Beirami, and Virginia Smith. Ditto: Fair and robust federated learning through personalization. In International Conference on Machine Learning, pages 6357–6368. PMLR, 2021. \n[26] Yuyang Deng, Mohammad Mahdi Kamani, and Mehrdad Mahdavi. Adaptive personalized federated learning. arXiv preprint arXiv:2003.13461, 2020. \n[27] Matthias Reisser, Christos Louizos, Efstratios Gavves, and Max Welling. Federated mixture of experts. arXiv preprint arXiv:2107.06724, 2021. \n[28] Yihan Jiang, Jakub Konecnˇ y, Keith Rush, and Sreeram Kannan. Improving federated learning \\` personalization via model agnostic meta learning. arXiv preprint arXiv:1909.12488, 2019. \n[29] Michael Zhang, Karan Sapra, Sanja Fidler, Serena Yeung, and Jose M. Alvarez. Personalized federated learning with first order model optimization. In 9th International Conference on Learning Representations, ICLR 2021. OpenReview.net, 2021. \n[30] Aviv Shamsian, Aviv Navon, Ethan Fetaya, and Gal Chechik. Personalized federated learning using hypernetworks. In Marina Meila and Tong Zhang, editors, Proceedings of the 38th International Conference on Machine Learning, ICML 2021, volume 139, pages 9489–9502. PMLR, 2021. \n[31] Virginia Smith, Chao-Kai Chiang, Maziar Sanjabi, and Ameet S. Talwalkar. Federated multitask learning. In Proceedings of Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems, NeurIPS, 2017. \n[32] Enmao Diao, Jie Ding, and Vahid Tarokh. Heterofl: Computation and communication efficient federated learning for heterogeneous clients. In 9th International Conference on Learning Representations, ICLR 2021. OpenReview.net, 2021. \n[33] Neel Guha, Ameet Talwalkar, and Virginia Smith. One-shot federated learning. CoRR, abs/1902.11175, 2019. \n[34] Chaoyang He, Salman Avestimehr, and Murali Annavaram. Group knowledge transfer: Collaborative training of large cnns on the edge. arXiv preprint arXiv:2007.14513, 2020. \n[35] Gregory Cohen, Saeed Afshar, Jonathan Tapson, and André van Schaik. EMNIST: extending MNIST to handwritten letters. In Proceedings of 2017 International Joint Conference on Neural Networks, IJCNN, 2017. \n[36] Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017. \n[37] Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. 2009. \n[38] Yann LeCun, Léon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998. \n[39] Alex Krizhevsky, Ilya Sutskever, and Geoffrey E. Hinton. Imagenet classification with deep convolutional neural networks. In Proceedings of Advances in Neural Information Processing Systems 25: 26th Annual Conference on Neural Information Processing Systems, NeurIPS, pages 1106–1114, 2012. \n[40] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR, pages 770–778, 2016. \n[41] Ningning Ma, Xiangyu Zhang, Hai-Tao Zheng, and Jian Sun. Shufflenet v2: Practical guidelines for efficient cnn architecture design. In Proceedings of the European conference on computer vision, ECCV, pages 116–131, 2018. ",
1119
+ "bbox": [
1120
+ 171,
1121
+ 49,
1122
+ 828,
1123
+ 921
1124
+ ],
1125
+ "page_idx": 10
1126
+ },
1127
+ {
1128
+ "type": "text",
1129
+ "text": "",
1130
+ "bbox": [
1131
+ 169,
1132
+ 60,
1133
+ 826,
1134
+ 914
1135
+ ],
1136
+ "page_idx": 11
1137
+ },
1138
+ {
1139
+ "type": "text",
1140
+ "text": "",
1141
+ "bbox": [
1142
+ 173,
1143
+ 89,
1144
+ 828,
1145
+ 325
1146
+ ],
1147
+ "page_idx": 12
1148
+ }
1149
+ ]
parse/train/_89s8ViNwwj/_89s8ViNwwj_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/_89s8ViNwwj/_89s8ViNwwj_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/rk6H0ZbRb/rk6H0ZbRb_content_list.json ADDED
@@ -0,0 +1,1708 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "INTRIGUING PROPERTIES OF ADVERSARIAL EXAM-PLES",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 99,
9
+ 821,
10
+ 145
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Anonymous authors Paper under double-blind review ",
17
+ "bbox": [
18
+ 183,
19
+ 171,
20
+ 398,
21
+ 198
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 236,
32
+ 544,
33
+ 251
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "It is becoming increasingly clear that many machine learning classifiers are vulnerable to adversarial examples. In attempting to explain the origin of adversarial examples, previous studies have typically focused on the fact that neural networks operate on high dimensional data, they overfit, or they are too linear. Here we show that distributions of logit differences have a universal functional form. This functional form is independent of architecture, dataset, and training protocol; nor does it change during training. This leads to adversarial error having a universal scaling, as a power-law, with respect to the size of the adversarial perturbation. We show that this universality holds for a broad range of datasets (MNIST, CIFAR10, ImageNet, and random data), models (including state-of-the-art deep networks, linear models, adversarially trained networks, and networks trained on randomly shuffled labels), and attacks (FGSM, step l.l., PGD). Motivated by these results, we study the effects of reducing prediction entropy on adversarial robustness. Finally, we study the effect of network architectures on adversarial sensitivity. To do this, we use neural architecture search with reinforcement learning to find adversarially robust architectures on CIFAR10. Our resulting architecture is more robust to white and black box attacks compared to previous attempts. ",
40
+ "bbox": [
41
+ 233,
42
+ 263,
43
+ 764,
44
+ 500
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 525,
55
+ 336,
56
+ 540
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "An intriguing aspect of deep learning models in computer vision is that while they can classify images with high accuracy, they fail catastrophically when those same images are perturbed slightly in an adversarial fashion (Szegedy et al., 2013; Goodfellow et al., 2014). The prevalence of adversarial examples presents challenges to our understanding of how deep networks generalize and pose security risks in real world applications (Papernot et al., 2016a; Kurakin et al., 2016a). Several techniques have been proposed to defend against adversarial examples. Adversarial training (Goodfellow et al., 2014) augments the training data with adversarial examples. It has been shown that using stronger adversarial attacks in adversarial training can increase the robustness to stronger attacks, but at the cost of a decrease in clean accuracy (i.e. accuracy on samples that have not been adversarially perturbed) (Madry et al., 2017). Defensive distillation (Papernot et al., 2016b), feature squeezing (Xu et al., 2017), and Parseval training (Cisse et al., 2017) have also been shown to make models more robust against adversarial attacks. ",
63
+ "bbox": [
64
+ 174,
65
+ 556,
66
+ 825,
67
+ 722
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "The goal of this work is to study the common properties of adversarial examples. We calculate the adversarial error, defined as the difference between clean accuracy and adversarial accuracy at a given size of adversarial perturbation (\u000f). Surprisingly, adversarial error has a similar dependence on small values of $\\epsilon$ for all network models and datasets we studied, including linear, fully-connected, simple convolutional networks, Inception v3 (Szegedy et al., 2016), Inception-ResNet v2, Inception v4 (Szegedy et al., 2017), ResNet v1, ResNet v2 (He et al., 2016), NasNet-A (Zoph & Le, 2016; Zoph et al., 2017), adversarially trained Inception v3 (Kurakin et al., 2016b) and Inception-ResNet v2 (Tramer et al., 2017), and networks trained on randomly shuffled labels of MNIST. Adversarial \\` error due to the Fast Gradient Sign Method (FGSM), its L2-norm variant, and Projected Gradient Descent (PGD) attack grows as a power-law like $A \\epsilon ^ { B }$ with $B$ between 0.9 and 1.3. By contrast, we find that adversarial error caused by one-step least likely class method (step l.l.) also scales as a power-law where $B$ is between 1.8 and 2.5 for small $\\epsilon$ . This observed universality points to a mysterious commonality between these models and datasets, despite the different number of channels, pixels, and classes present. Adversarial error caused by FGSM on the training set of randomly shuffled labels of MNIST (LeCun & Cortes) also has the power-law form where $B = 1 . 2$ , which implies that the universality is not a result of the specific content of these datasets nor the ability of the model to generalize. ",
74
+ "bbox": [
75
+ 174,
76
+ 729,
77
+ 825,
78
+ 924
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "",
85
+ "bbox": [
86
+ 176,
87
+ 103,
88
+ 823,
89
+ 146
90
+ ],
91
+ "page_idx": 1
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "To discover the mechanism behind this universality we show how, at small $\\epsilon$ , the success of an adversarial attack depends on the input-logit Jacobian of the model and on the logits of the network. We demonstrate that the susceptibility of a model to FGSM and PGD attacks is in large part dictated by the cumulative distribution of the difference between the most likely logit and the second most likely logit. We observe that this cumulative distribution has a universal form among all datasets and models studied, including randomly produced data. Together, we believe these results provide a compelling story regarding the susceptibility of machine learning models to adversarial examples at small $\\epsilon$ . ",
96
+ "bbox": [
97
+ 173,
98
+ 152,
99
+ 825,
100
+ 263
101
+ ],
102
+ "page_idx": 1
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "We show that training with single-step adversarial examples offers protection against large $\\epsilon$ attacks (between 0.2 and 32), but does not help appreciably at defending against small $\\epsilon$ attacks (below 0.2). At $\\epsilon = 0 . 2$ , all ImageNet models we studied incur 10 to $2 5 \\%$ adversarial error, and surprisingly, vanilla NASNet-A (best clean accuracy in our study) has a lower adversarial error than adversarially trained Inception-ResNet v2 or Inception v3 (Kurakin et al., 2016b) (Fig. 1(a)). In light of these results, we explore a different avenue to adversarial robustness through architecture selection. We perform neural architecture search (NAS) using reinforcement learning (Zoph & Le, 2016; Zoph et al., 2017). These techniques allow us to find several architectures that are especially robust to adversarial perturbations. In addition, by analyzing the adversarial robustness of the tens-of-thousands of architectures constructed by NAS, we gain insights into the relationship between size of a model, its clean accuracy, and its adversarial robustness. In summary, the key contributions of our work are: ",
107
+ "bbox": [
108
+ 173,
109
+ 270,
110
+ 825,
111
+ 424
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "• We study the functional form of adversarial error and logit differences across several models and datasets, which turn out to be universal. We analytically derive the commonality in the power-law tails of the logit differences, and show how it leads to the commonality in the form of adversarial error. \n• We observe that although the qualitative form of logit differences and adversarial error is universal, it can be quantitatively improved with entropy regularization and better network architectures. \n• We study the dependence of adversarial robustness on the network architecture via NAS. We show that while adversarial accuracy is strongly correlated with clean accuracy, it is only weakly correlated with model size. Our work leads to architectures that are more robust to white-box and black-box attacks on CIFAR10 (Krizhevsky & Hinton, 2009) than previous studies. ",
118
+ "bbox": [
119
+ 215,
120
+ 435,
121
+ 825,
122
+ 611
123
+ ],
124
+ "page_idx": 1
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "2 SURPRISING UNIVERSALITY OF ADVERSARIAL ERROR AT SMALL \u000f ",
129
+ "text_level": 1,
130
+ "bbox": [
131
+ 171,
132
+ 631,
133
+ 764,
134
+ 647
135
+ ],
136
+ "page_idx": 1
137
+ },
138
+ {
139
+ "type": "text",
140
+ "text": "FGSM computes adversarial examples as: ",
141
+ "bbox": [
142
+ 176,
143
+ 662,
144
+ 449,
145
+ 676
146
+ ],
147
+ "page_idx": 1
148
+ },
149
+ {
150
+ "type": "equation",
151
+ "img_path": "images/ee4fc3a993d64022dfb418f2443b310305b31504a1be922be748c9fb8fc5918b.jpg",
152
+ "text": "$$\n\\boldsymbol { x } ^ { \\mathrm { a d v } } = \\boldsymbol { x } + \\epsilon \\mathrm { s i g n } \\left( \\nabla _ { \\boldsymbol { x } } L ( \\boldsymbol { x } , \\boldsymbol { y } ) \\right) ,\n$$",
153
+ "text_format": "latex",
154
+ "bbox": [
155
+ 390,
156
+ 683,
157
+ 606,
158
+ 702
159
+ ],
160
+ "page_idx": 1
161
+ },
162
+ {
163
+ "type": "text",
164
+ "text": "where $x$ is the clean image, $y$ is the correct label for that image, $x ^ { \\mathrm { a d v } }$ is the adversarial image, $\\epsilon$ is the size of the adversarial perturbation, and $L ( x , y )$ is the loss function. $\\epsilon$ values are specified in range [0,255]. We only study white-box attacks in this section. ",
165
+ "bbox": [
166
+ 174,
167
+ 705,
168
+ 823,
169
+ 748
170
+ ],
171
+ "page_idx": 1
172
+ },
173
+ {
174
+ "type": "text",
175
+ "text": "We begin with a preliminary examination of the architectural dependence of adversarial robustness. To that end, in Fig. 1 (a) we plot the test set adversarial error due to an FGSM attack as a function of $\\epsilon$ for several models on ImageNet (Russakovsky et al., 2015). We note that for $\\epsilon < 0 . 2$ , the adversarial error follows a power law form with an exponent between 0.9 and 1.1 for all models studied. Even adversarially trained models Kurakin et al. (2016b), while adversarially much more robust for larger values of $\\epsilon$ , follow a similar form and reach as large as $20 \\%$ adversarial error at smaller $\\epsilon$ . ",
176
+ "bbox": [
177
+ 173,
178
+ 755,
179
+ 825,
180
+ 852
181
+ ],
182
+ "page_idx": 1
183
+ },
184
+ {
185
+ "type": "text",
186
+ "text": "In light of the surprising commonality in adversarial error at small- $\\epsilon$ , we investigate whether there is any way to get a different form for the adversarial error. To do this, we evaluate the adversarial error due to step l.l. attack, which is computed as: ",
187
+ "bbox": [
188
+ 174,
189
+ 859,
190
+ 823,
191
+ 901
192
+ ],
193
+ "page_idx": 1
194
+ },
195
+ {
196
+ "type": "equation",
197
+ "img_path": "images/bac45d99e231345e5fd76c3c19f34c8e15235c45cb49294bdccbdcff86c73393.jpg",
198
+ "text": "$$\nx ^ { \\mathrm { a d v } } = x - \\epsilon \\mathrm { s i g n } \\left( \\nabla _ { x } L ( x , y _ { l . l . } ) \\right) ,\n$$",
199
+ "text_format": "latex",
200
+ "bbox": [
201
+ 382,
202
+ 907,
203
+ 614,
204
+ 925
205
+ ],
206
+ "page_idx": 1
207
+ },
208
+ {
209
+ "type": "text",
210
+ "text": "where $y _ { l . l . }$ is least likely class predicted by the network on clean image $x$ (Kurakin et al., 2016b). The adversarial error also follows a power law, however with a larger exponent. The exponents range from 1.8 to 2.2 for ImageNet models (Fig. 1(b)), and 1.8 to 2.5 for models trained on MNIST (Fig. 2(c)) and CIFAR10. Thus, we see that attack protocol can change the exponent of the observed power-law. ",
211
+ "bbox": [
212
+ 174,
213
+ 103,
214
+ 825,
215
+ 172
216
+ ],
217
+ "page_idx": 2
218
+ },
219
+ {
220
+ "type": "image",
221
+ "img_path": "images/96e44a0d4a3fd367b209184ba9b25c3986431a5b883e6cfe8c25726059b999c8.jpg",
222
+ "image_caption": [
223
+ "Figure 1: Test set adversarial error as a function of $\\epsilon$ for models trained on ImageNet due to FGSM and step l.l. attack in (a) and (b), respectively. adv. tr. denotes models that are adversarially trained (Kurakin et al., 2016b). In (b), we also show two of the power law fits with straight lines. "
224
+ ],
225
+ "image_footnote": [],
226
+ "bbox": [
227
+ 191,
228
+ 188,
229
+ 808,
230
+ 397
231
+ ],
232
+ "page_idx": 2
233
+ },
234
+ {
235
+ "type": "text",
236
+ "text": "To test the limits of the universality observed in Fig. 1, we perform a number of more extensive tests. First, we investigate the effect of architecture by stochastically sampling thousands of different neural networks and train them on MNIST. We then measure their adversarial error due to FGSM on the test set. The architectures we sample are either fully-connected networks with 1-4 hidden layers and 30-2000 hidden nodes in each layer, or simple convolutional networks with dropout rates between 0-0.5. The adversarial error of representative linear, fully-connected, and convolutional networks are shown in Fig. 2 (a). As above, these models all have the same form of adversarial error with a powerlaw dependence on $\\epsilon$ with exponents between 0.9 and 1.2. ",
237
+ "bbox": [
238
+ 174,
239
+ 474,
240
+ 825,
241
+ 587
242
+ ],
243
+ "page_idx": 2
244
+ },
245
+ {
246
+ "type": "text",
247
+ "text": "See Fig. 9 in the Appendix for a plot with all of the generated networks. We perform the same analysis on a 32-layer ResNet trained on CIFAR10 (He et al., 2016), which achieves a $9 2 . 6 \\%$ clean accuracy on the test set. The result is shown in Appendix Fig. 10, where the adversarial error follows a power law with an exponent of 0.99 up to an $\\epsilon$ of 1. ",
248
+ "bbox": [
249
+ 174,
250
+ 593,
251
+ 825,
252
+ 650
253
+ ],
254
+ "page_idx": 2
255
+ },
256
+ {
257
+ "type": "text",
258
+ "text": "Next, we probe the relationship between generalization and adversarial robustness following a similar approach to Zhang et al. (2016). In particular, we train a fully connected network on MNIST with shuffled labels until it reaches perfect accuracy on the training set. The adversarial error on the training set is shown in Fig. 2(b). Once again we see that the adversarial error follows an almost identical power-law form at small $\\epsilon$ with an exponent of 1.2. ",
259
+ "bbox": [
260
+ 174,
261
+ 656,
262
+ 825,
263
+ 727
264
+ ],
265
+ "page_idx": 2
266
+ },
267
+ {
268
+ "type": "text",
269
+ "text": "Finally, we further investigate the dependence of adversarial robustness on attack protocol. We plot in Fig. 2 (c) the adversarial error on MNIST with an $L _ { \\infty }$ -normalized FGSM attack, an $L _ { 2 }$ - normalized FGSM attack, and a 20-step projected gradient descent (PGD) attack (Madry et al., 2017). We see that despite the anomalous exponent observed for step-l.l. attacks, the other attack methods display the same universality with exponents of 1.1, 1.2, and 1.3 for L2-norm, FGSM, and PGD attacks, respectively. step-l.l. attack on MNIST has an exponent of 2.3. ",
270
+ "bbox": [
271
+ 174,
272
+ 733,
273
+ 825,
274
+ 816
275
+ ],
276
+ "page_idx": 2
277
+ },
278
+ {
279
+ "type": "text",
280
+ "text": "3 A MEAN-FIELD THEORY OF ADVERSARIAL PERTURBATIONS ",
281
+ "text_level": 1,
282
+ "bbox": [
283
+ 176,
284
+ 837,
285
+ 710,
286
+ 853
287
+ ],
288
+ "page_idx": 2
289
+ },
290
+ {
291
+ "type": "text",
292
+ "text": "3.1 LINEAR RESPONSE ",
293
+ "text_level": 1,
294
+ "bbox": [
295
+ 176,
296
+ 869,
297
+ 348,
298
+ 883
299
+ ],
300
+ "page_idx": 2
301
+ },
302
+ {
303
+ "type": "text",
304
+ "text": "We now offer a theoretical explanation for the observed universal behavior of adversarial error. The breadth of these observations shows that adversarial error for small adversarial perturbations does not depend on the specifics of the neural network, which implies that we can understand the small $\\epsilon$ regime by making simplifying approximations. We begin by considering the linear response of a neural network to adversarial perturbations. Another approach to adversarial examples that considers the linear response of the network can be found in Nayebi & Ganguli (2017). The effect of margins on adversarial robustness has been brought up in ?. ",
305
+ "bbox": [
306
+ 174,
307
+ 895,
308
+ 823,
309
+ 922
310
+ ],
311
+ "page_idx": 2
312
+ },
313
+ {
314
+ "type": "image",
315
+ "img_path": "images/71a2d3a2071be278b30c68ebe087ca022a4b5a62472b42ec80cadf2f1fe43425.jpg",
316
+ "image_caption": [
317
+ "Figure 2: Points represent adversarial error as a function of $\\epsilon$ for models trained on MNIST. Straight lines are power-law fits. (a) FGSM attack on fully-connected 3-layer network (FC), a linear model, and a convolutional network (b) FGSM attack on FC trained on randomly shuffled labels (evaluated on the training set). (c) Different attacks on FC. "
318
+ ],
319
+ "image_footnote": [],
320
+ "bbox": [
321
+ 238,
322
+ 99,
323
+ 758,
324
+ 253
325
+ ],
326
+ "page_idx": 3
327
+ },
328
+ {
329
+ "type": "text",
330
+ "text": "",
331
+ "bbox": [
332
+ 173,
333
+ 356,
334
+ 825,
335
+ 428
336
+ ],
337
+ "page_idx": 3
338
+ },
339
+ {
340
+ "type": "text",
341
+ "text": "We will study an $L _ { 2 }$ -variant of the FGSM attack. Here, the adversarial perturbation is given by, ",
342
+ "bbox": [
343
+ 171,
344
+ 433,
345
+ 797,
346
+ 449
347
+ ],
348
+ "page_idx": 3
349
+ },
350
+ {
351
+ "type": "equation",
352
+ "img_path": "images/89a058f54157f96e89fd0f0f168a0659681a84443e4a91aba48c1252a01d34cd.jpg",
353
+ "text": "$$\nx ^ { \\mathrm { a d v } } = x + \\epsilon \\frac { \\nabla _ { x } L } { | | \\nabla _ { x } L | | _ { 2 } }\n$$",
354
+ "text_format": "latex",
355
+ "bbox": [
356
+ 421,
357
+ 454,
358
+ 576,
359
+ 488
360
+ ],
361
+ "page_idx": 3
362
+ },
363
+ {
364
+ "type": "text",
365
+ "text": "instead of the more commonly used $\\ell _ { \\infty }$ variant. As shown above, the form and exponent of adversarial error is qualitatively insensitive to this choice (see Fig. 2(c)). We will now attempt to compute the minimum $\\epsilon$ , that we call $\\hat { \\epsilon } ( x )$ , required before the class assigned to an input, $x$ , changes. Assuming the network was able to perfectly classify clean images, the adversarial error rate will then be $P ( \\bar { \\hat { \\epsilon } } < \\epsilon )$ . While perfect classification will not be achieved in practice, the insensitivity of the form of adversarial error to clean accuracy demonstrated above for many systems suggests that this approximation is sound. ",
366
+ "bbox": [
367
+ 173,
368
+ 494,
369
+ 825,
370
+ 593
371
+ ],
372
+ "page_idx": 3
373
+ },
374
+ {
375
+ "type": "text",
376
+ "text": "Notationally, we will refer to the output of the network as ${ \\hat { y } } _ { i } ( x )$ and the corresponding logits as $h _ { i } ( x )$ . The class prediction of the network will then be arg $\\operatorname* { m a x } ( \\hat { y } ( x ) ) = \\operatorname { a r g m a x } ( h ( x ) )$ . For simplicity we will choose an ordering of the logits such that $h _ { 1 } ( x ) \\geq h _ { 2 } ( x ) \\geq \\cdot \\cdot \\cdot \\geq h _ { N } ( x )$ . We can then enumerate a set of logit-differences, $\\Delta _ { i j } ( x ) = h _ { i } ( x ) - \\dot { h _ { j } } ( x )$ . If an adversarial perturbation is to successfully cause the network to make an erroneous prediction, then it must be true that $h _ { 1 } ( x ^ { \\mathrm { a d v } } ) < h _ { j } ( \\dot { x } ^ { \\mathrm { a d v } } )$ for at least one $j$ . ",
377
+ "bbox": [
378
+ 173,
379
+ 598,
380
+ 825,
381
+ 684
382
+ ],
383
+ "page_idx": 3
384
+ },
385
+ {
386
+ "type": "text",
387
+ "text": "We calculate the response of the logits to adversarial perturbation. We consider the linearized response of the network and find that in the limit of small $\\epsilon$ (see Appendix 6.2.1), ",
388
+ "bbox": [
389
+ 173,
390
+ 689,
391
+ 821,
392
+ 718
393
+ ],
394
+ "page_idx": 3
395
+ },
396
+ {
397
+ "type": "equation",
398
+ "img_path": "images/02b23f9e0d4e909285a17ec2e547a7f7c0258a1bbde35751e7a7e98da8b28ae1.jpg",
399
+ "text": "$$\nh ( x ^ { \\mathrm { a d v } } ) = h ( x ) + \\epsilon \\frac { J ^ { T } J \\delta } { | | J \\delta | | _ { 2 } } + \\mathcal { O } ( \\epsilon ^ { 2 } )\n$$",
400
+ "text_format": "latex",
401
+ "bbox": [
402
+ 377,
403
+ 724,
404
+ 620,
405
+ 761
406
+ ],
407
+ "page_idx": 3
408
+ },
409
+ {
410
+ "type": "text",
411
+ "text": "where $J _ { i j } = \\partial h _ { j } / \\partial x _ { i }$ is the input-logit Jacobian of the network and $\\delta _ { i } = \\partial L / \\partial h _ { i }$ is the error of the outputs of the network. For notational convenience we will define $\\Gamma ( x ) = J ^ { T } J \\delta / | J \\delta | | _ { 2 }$ . In this linear model we therefore predict that the logit-differences will scale as follows, ",
412
+ "bbox": [
413
+ 174,
414
+ 767,
415
+ 825,
416
+ 811
417
+ ],
418
+ "page_idx": 3
419
+ },
420
+ {
421
+ "type": "equation",
422
+ "img_path": "images/8d6dd80c2659cd4407fb34f15c5a837f8948c0ff64daff4f79a7443a2bc82267.jpg",
423
+ "text": "$$\n\\Delta _ { i j } ( x ^ { \\mathrm { a d v } } ) \\approx \\Delta _ { i j } ( x ) + \\epsilon ( \\Gamma _ { i } ( x ) - \\Gamma _ { j } ( x ) ) + \\mathcal { O } ( \\epsilon ^ { 2 } ) .\n$$",
424
+ "text_format": "latex",
425
+ "bbox": [
426
+ 328,
427
+ 819,
428
+ 671,
429
+ 838
430
+ ],
431
+ "page_idx": 3
432
+ },
433
+ {
434
+ "type": "text",
435
+ "text": "Recall that the adversarial perturbation will successfully cause the network to just barely misclassify an input precisely when $\\Delta _ { 1 j } ( x ^ { \\mathrm { a d v } } ) = 0$ for at least one $j$ . We can predict per-class $\\epsilon$ -thresholds beyond which the network will misclassify a given point, ",
436
+ "bbox": [
437
+ 174,
438
+ 844,
439
+ 825,
440
+ 887
441
+ ],
442
+ "page_idx": 3
443
+ },
444
+ {
445
+ "type": "equation",
446
+ "img_path": "images/49339a63104700778ae511cc796404946992954b0b0a35ea0f2d76af0bb3130c.jpg",
447
+ "text": "$$\n\\hat { \\epsilon } _ { j } ( x ) = \\frac { \\Delta _ { 1 j } ( x ) } { \\Gamma _ { j } ( x ) - \\Gamma _ { 1 } ( x ) } .\n$$",
448
+ "text_format": "latex",
449
+ "bbox": [
450
+ 415,
451
+ 893,
452
+ 583,
453
+ 928
454
+ ],
455
+ "page_idx": 3
456
+ },
457
+ {
458
+ "type": "text",
459
+ "text": "Together this allows us to compute a linear approximation to $\\hat { \\epsilon }$ given by $\\hat { \\epsilon } _ { \\mathrm { l i n e a r } } ( x ) = \\operatorname* { m i n } _ { j } ( \\epsilon _ { j } ( x ) )$ ",
460
+ "bbox": [
461
+ 171,
462
+ 103,
463
+ 813,
464
+ 119
465
+ ],
466
+ "page_idx": 4
467
+ },
468
+ {
469
+ "type": "text",
470
+ "text": "We can confirm that the change in the logits for small changes in the inputs is well-described by this linear model. This is shown in fig. 3 (a) where we see the logits for a single example upon perturbation over a range of $\\epsilon$ . In particular, for small $\\epsilon$ we see an excellent agreement between the linear approximation and the true logit dynamics. We also see that the $\\epsilon$ where the first and second logit cross is well-approximated by the linear prediction. In Fig. 3 (b) we plot $\\hat { \\epsilon } _ { \\mathrm { l i n e a r } } ( x )$ against $\\hat { \\epsilon } ( x )$ evaluated on every MNIST example in the test set. The white dashed line is the line $\\hat { \\epsilon } ( x ) = \\hat { \\epsilon } _ { \\mathrm { l i n e a r } } ( x )$ . We see that when $\\hat { \\epsilon } ( x )$ is small the $\\hat { \\epsilon } _ { \\mathrm { l i n e a r } } ( x )$ concentrate increasingly around the $\\hat { \\epsilon } ( x )$ . Together these results show that the linear response predictions are valid for small adversarial perturbations. ",
471
+ "bbox": [
472
+ 174,
473
+ 125,
474
+ 823,
475
+ 154
476
+ ],
477
+ "page_idx": 4
478
+ },
479
+ {
480
+ "type": "image",
481
+ "img_path": "images/85f4e581191d1aa2d9b2fce3b1c7c6baf8327e01427ec09910818f8323319cd2.jpg",
482
+ "image_caption": [
483
+ "Figure 3: Linear approximation for the response of the logits to adversarial perturbation. (a) The dynamics of logits to an adversarial perturbation as a function of size $\\epsilon$ for a single training example. Dashed lines show the linear approximation. Colors indicate the ranking of the logit from largest (red) to smallest (blue). (b) The smallest $\\epsilon$ needed to fool the network (\u000fˆ) for individual test examples compared with the prediction from the linear theory. (c) Mean field prediction of $\\hat { \\epsilon }$ . "
484
+ ],
485
+ "image_footnote": [],
486
+ "bbox": [
487
+ 174,
488
+ 166,
489
+ 813,
490
+ 332
491
+ ],
492
+ "page_idx": 4
493
+ },
494
+ {
495
+ "type": "text",
496
+ "text": "",
497
+ "bbox": [
498
+ 173,
499
+ 430,
500
+ 825,
501
+ 529
502
+ ],
503
+ "page_idx": 4
504
+ },
505
+ {
506
+ "type": "text",
507
+ "text": "While the linear model outlined above gives excellent agreement in the $\\epsilon 0$ limit, the $\\Gamma _ { i } ( x )$ are themselves complicated objects (being functions of the Jacobian). This makes the analytic evaluation of Eq. (6) challenging. We therefore introduce a “mean-field” approximation to Eq. (6) by replacing $\\Gamma _ { i } ( x )$ by its average over the dataset, $\\langle \\Gamma _ { i } ( x ) \\rangle$ . Similar independence approximations have previously been successful in analyzing the expressivity and trainability of neural networks (Schoenholz et al., 2016; Poole et al., 2016). Finally, we observe that the vast majority of the time (for example, more than $9 5 \\%$ of successful FGSM attacks for $\\epsilon < 5 0$ ), it is $\\Delta _ { 1 2 } ( x ^ { \\mathrm { a d v } } )$ that goes to zero before any of the other $\\Delta _ { 1 j }$ . We therefore assume that this will be the dominant failure mode for neural networks and write down a mean-field estimate for $\\hat { \\epsilon }$ , ",
508
+ "bbox": [
509
+ 173,
510
+ 535,
511
+ 825,
512
+ 661
513
+ ],
514
+ "page_idx": 4
515
+ },
516
+ {
517
+ "type": "equation",
518
+ "img_path": "images/3e9032f94e3d1193fa8152b698b894a339195d5cb541cd0ff4da22be17b25a8f.jpg",
519
+ "text": "$$\n\\hat { \\epsilon } _ { \\mathrm { M . F . } } = \\frac { \\Delta _ { 1 2 } ( x ) } { \\langle \\Gamma _ { 2 } \\rangle - \\langle \\Gamma _ { 1 } \\rangle } .\n$$",
520
+ "text_format": "latex",
521
+ "bbox": [
522
+ 423,
523
+ 661,
524
+ 575,
525
+ 696
526
+ ],
527
+ "page_idx": 4
528
+ },
529
+ {
530
+ "type": "text",
531
+ "text": "We show in Fig. 3 (c) that this approximation continues to be strongly correlated with \u000fˆ. Together these results suggest that the adversarial error rate for perturbations of size $\\epsilon$ will be ",
532
+ "bbox": [
533
+ 174,
534
+ 698,
535
+ 823,
536
+ 726
537
+ ],
538
+ "page_idx": 4
539
+ },
540
+ {
541
+ "type": "equation",
542
+ "img_path": "images/2fa0c4ecc0fba1c0b9fe140425c5bf14bb91d78fe04805f099529f99fe7dd273.jpg",
543
+ "text": "$$\nP ( \\hat { \\epsilon } \\le \\epsilon ) \\approx P \\left[ \\Delta _ { 1 2 } \\le \\epsilon ( \\langle \\Gamma _ { 2 } \\rangle - \\langle \\Gamma _ { 1 } \\rangle ) \\right] = P ( \\Delta _ { 1 2 } \\le \\tilde { \\epsilon } )\n$$",
544
+ "text_format": "latex",
545
+ "bbox": [
546
+ 316,
547
+ 728,
548
+ 679,
549
+ 746
550
+ ],
551
+ "page_idx": 4
552
+ },
553
+ {
554
+ "type": "text",
555
+ "text": "where we have defined $\\tilde { \\epsilon } = \\epsilon ( \\left. \\Gamma _ { 2 } \\right. - \\left. \\Gamma _ { 1 } \\right. )$ to be a network-specific rescaling of $\\epsilon$ . We therefore expect the adversarial error rate at small $\\epsilon$ to be dictated by the cumulative distribution of $\\Delta _ { 1 2 }$ for attacks that effectively target the second most likely class (e.g. FGSM, PGD ...etc.). ",
556
+ "bbox": [
557
+ 174,
558
+ 747,
559
+ 825,
560
+ 791
561
+ ],
562
+ "page_idx": 4
563
+ },
564
+ {
565
+ "type": "text",
566
+ "text": "3.2 UNIVERSAL PROPERTIES OF THE LOGIT DIFFERENCE DISTRIBUTION",
567
+ "text_level": 1,
568
+ "bbox": [
569
+ 174,
570
+ 806,
571
+ 691,
572
+ 821
573
+ ],
574
+ "page_idx": 4
575
+ },
576
+ {
577
+ "type": "text",
578
+ "text": "With the results from the preceding section in hand, we now investigate the distribution of logit differences, $P ( \\Delta _ { 1 j } )$ . Since we are particularly interested in the small $\\epsilon$ regime, we seek to compute $P ( \\Delta _ { 1 j } )$ for small $\\Delta _ { 1 j }$ . To make progress we will again make a mean field approximation and assume that each of the logits are i.i.d. with arbitrary distribution. With this approximation we find that for small $\\Delta _ { 1 j }$ (see Appendix 6.2.2), ",
579
+ "bbox": [
580
+ 174,
581
+ 832,
582
+ 825,
583
+ 904
584
+ ],
585
+ "page_idx": 4
586
+ },
587
+ {
588
+ "type": "equation",
589
+ "img_path": "images/c4cb124acc4750670e68e8ef9e1ffeaf9d98078ea703f1803deadb81f4f303b2.jpg",
590
+ "text": "$$\nP ( \\Delta _ { 1 j } ) = C \\Delta _ { 1 j } ^ { j - 2 } + \\mathcal { O } ( \\Delta _ { 1 j } ^ { j - 1 } )\n$$",
591
+ "text_format": "latex",
592
+ "bbox": [
593
+ 393,
594
+ 905,
595
+ 604,
596
+ 928
597
+ ],
598
+ "page_idx": 4
599
+ },
600
+ {
601
+ "type": "text",
602
+ "text": "where $C$ is a network specific constant. An interesting consequence of this result is that the difference that we are particularly interested in, $P ( \\Delta _ { 1 2 } )$ , scales as $\\mathcal { O } ( 1 )$ as $\\Delta _ { 1 2 } 0$ . This implies that, generically, we expect the most likely logit and second most likely logit to have a finite probability of being arbitrarily close together. We interpret this as an inherent uncertainty in the predictions of neural networks. ",
603
+ "bbox": [
604
+ 174,
605
+ 103,
606
+ 825,
607
+ 172
608
+ ],
609
+ "page_idx": 5
610
+ },
611
+ {
612
+ "type": "text",
613
+ "text": "While it is not obvious that the assumption of a factorial logit distribution is valid here, we will see that Eq. (9) captures the universal features of the distribution at small values of the logit difference. Indeed, from the previous section we see that the form of Eq. (9) implies that the adversarial error rate should scale as follows ",
614
+ "bbox": [
615
+ 174,
616
+ 180,
617
+ 825,
618
+ 236
619
+ ],
620
+ "page_idx": 5
621
+ },
622
+ {
623
+ "type": "equation",
624
+ "img_path": "images/c04d3fef2ff4b4316758f65df464f22ce83f99ff6b248eb3663c2282fd72b19b.jpg",
625
+ "text": "$$\nP ( \\hat { \\epsilon } < \\epsilon ) \\approx P ( \\Delta _ { 1 2 } < \\tilde { \\epsilon } ) \\approx C \\tilde { \\epsilon } + \\mathcal { O } ( \\tilde { \\epsilon } ^ { 2 } )\n$$",
626
+ "text_format": "latex",
627
+ "bbox": [
628
+ 364,
629
+ 239,
630
+ 633,
631
+ 258
632
+ ],
633
+ "page_idx": 5
634
+ },
635
+ {
636
+ "type": "text",
637
+ "text": "as was broadly observed in the previous section. ",
638
+ "bbox": [
639
+ 174,
640
+ 262,
641
+ 488,
642
+ 277
643
+ ],
644
+ "page_idx": 5
645
+ },
646
+ {
647
+ "type": "text",
648
+ "text": "To further test whether or not the mean field approximation is valid, we evaluate $\\Delta _ { 1 j }$ for a number of different neural network architectures and datasets. We find that on all datasets and models studied, the $\\Delta _ { 1 j }$ distributions have power-law tails. As predicted, $\\Delta _ { 1 2 }$ has a power-law tail with an exponent of about 0, and $\\Delta _ { 1 j }$ for $j > 2$ have power-law tails with positive exponents increasing with $j$ . We note, however, that the powers are typically not integral for large $j$ . It seems likely that this breakdown is the result of correlations between the logits. In Fig. 4, we compare distribution of $\\Delta _ { 1 j }$ with $j = 2 , 3 , 4$ for ImageNet and logits that are independently sampled from a uniform distribution for 5 million samples with 10 classes. In Fig. 6 we see similar results for MNIST. Together these results verify our predictions over a vast set of networks and datasets. ",
649
+ "bbox": [
650
+ 174,
651
+ 284,
652
+ 825,
653
+ 410
654
+ ],
655
+ "page_idx": 5
656
+ },
657
+ {
658
+ "type": "text",
659
+ "text": "The empirical results above show that adversarial error has a power-law form for well-studied and random datasets, simple full connected networks as well as complicated state-of-the-art models. It follows that the prevalence and commonality of adversarial examples is not due to the depth of the model (for example, see the linear model in Fig. 2 (a)), or the high-dimensionality of the datasets. Rather, they are due to the fact that lots of examples have small $\\Delta _ { 1 2 }$ values. This makes it easy to find examples to fool the model at test-time. ",
660
+ "bbox": [
661
+ 174,
662
+ 415,
663
+ 825,
664
+ 500
665
+ ],
666
+ "page_idx": 5
667
+ },
668
+ {
669
+ "type": "text",
670
+ "text": "It is interesting that the distribution of $\\Delta _ { 1 j }$ , at small $\\Delta _ { 1 j }$ , for trained models is essentially identical to that of i.i.d. random logits (especially for $j = 2$ ). This suggests that while our training procedures are good at modifying the largest logit in a way that leads to good clean accuracies, these procedures do not induce strong enough correlations between the logits to disrupt the essential scaling uncovered above. This problem is reminiscent of the problem distillation (Hinton et al., 2015) attempts to solve, by incorporating information about ratios of incorrect classes. This might be one of the reasons defensive distillation improves adversarial robustness. It would be interesting to study the distributions of logit differences during training of distillation networks. ",
671
+ "bbox": [
672
+ 173,
673
+ 506,
674
+ 825,
675
+ 618
676
+ ],
677
+ "page_idx": 5
678
+ },
679
+ {
680
+ "type": "image",
681
+ "img_path": "images/dfac972faeb31b0e791b25975de81e491597615df9ab61798b0539d59233dbbe.jpg",
682
+ "image_caption": [
683
+ "Figure 4: (a) Distribution of $\\Delta _ { 1 j }$ of NASNet-A trained on ImageNet. (b) Distribution of $\\Delta _ { 1 j }$ for logits that are sampled independently from a uniform random distribution for 5 million samples with 10 classes. $\\Delta _ { 1 j }$ of other models are in Appendix Fig. 14 "
684
+ ],
685
+ "image_footnote": [],
686
+ "bbox": [
687
+ 238,
688
+ 631,
689
+ 758,
690
+ 756
691
+ ],
692
+ "page_idx": 5
693
+ },
694
+ {
695
+ "type": "text",
696
+ "text": "Given the large density of small more robust. Our proposed los $\\Delta _ { 1 2 }$ values, we study an entronction can be written as: $\\begin{array} { r } { \\mathrm { \\bar { l o s s } } = \\mathrm { o l d } \\mathrm { \\bar { l o s s } } - \\lambda \\sum _ { i = 1 } ^ { n } p _ { i } \\log p _ { i } } \\end{array}$ where is a hyperparameter, $n$ is the number of classes, and $p _ { i }$ are the outputs of the neural network. This regularization term has been used by Miyato et al. (2017) for semi-supervised learning tasks. It aims to increase the confidence of the network on each sample, which is the opposite of previous regularization attempts that penalized confidence to increase generalization accuracy (Pereyra et al., ",
697
+ "bbox": [
698
+ 173,
699
+ 839,
700
+ 825,
701
+ 924
702
+ ],
703
+ "page_idx": 5
704
+ },
705
+ {
706
+ "type": "text",
707
+ "text": "2017; Szegedy et al., 2015). By penalizing the entropy of the softmax outputs, we aim to increase the logit differences. ",
708
+ "bbox": [
709
+ 171,
710
+ 103,
711
+ 823,
712
+ 132
713
+ ],
714
+ "page_idx": 6
715
+ },
716
+ {
717
+ "type": "text",
718
+ "text": "In Fig. 5, we show that entropy regularization with a $\\lambda = 4 . 5$ increases the adversarial robustness both for regularly trained networks and step l.l. adversarially trained networks, and both for permutation invariant and regular MNIST. We note that the same qualitative results hold for other values of $\\lambda$ we tried. Despite the increase in adversarial accuracy, the permutation invariant MNIST model has $0 . 8 \\%$ lower clean accuracy when trained with the entropy penalty. In Appendix Fig. 11, we show that a wide ResNet trained with the entropy regularizer has improved robustness with no loss in clean accuracy. ",
719
+ "bbox": [
720
+ 173,
721
+ 138,
722
+ 825,
723
+ 236
724
+ ],
725
+ "page_idx": 6
726
+ },
727
+ {
728
+ "type": "image",
729
+ "img_path": "images/c1869225e39aa09f2326fc23af8d98fa31a28439eb1d8da0aed3cd53b95f57fc.jpg",
730
+ "image_caption": [
731
+ "Figure 5: Step l.l. attack adversarial accuracy as a function of $\\epsilon$ for CNN and permutation invariant MNIST in (a) and (b), respectively. Regular training (purple), entropy regularization (red), adversarial training (green), and adversarial training with entropy regularization (blue) have been implemented. Adversarial training was done using the step l.l. method. In (c), we show the PGD attack adversarial accuracy on permutation invariant MNIST trained with and without step l.l. adversarial training. "
732
+ ],
733
+ "image_footnote": [],
734
+ "bbox": [
735
+ 209,
736
+ 252,
737
+ 790,
738
+ 364
739
+ ],
740
+ "page_idx": 6
741
+ },
742
+ {
743
+ "type": "text",
744
+ "text": "We investigate whether the increased adversarial robustness is due to increased logit differences. In Fig. 6, we plot the distribution of $\\Delta _ { 1 j }$ for $j$ up to 4, for two networks trained on permutation invariant MNIST, with and without entropy regularization. As expected, margins are shifted to larger values and density of samples with small $\\Delta _ { 1 j }$ are reduced. The tails still follow a power-law form with the same exponents, however there are fewer samples with small margins compared to a regularly trained network. Although entropy regularization made our networks white-box attacks, it did not lead to a significant improvement against black-box attacks. For this reason, we focus on the influence of network architectures on adversarial sensitivity below. ",
745
+ "bbox": [
746
+ 173,
747
+ 484,
748
+ 825,
749
+ 597
750
+ ],
751
+ "page_idx": 6
752
+ },
753
+ {
754
+ "type": "image",
755
+ "img_path": "images/77dfdc0bb5f0bde75a3a7b36d8a17c63ceb148055a493141d5e6090904603350.jpg",
756
+ "image_caption": [
757
+ "Figure 6: Distribution of $\\Delta _ { 1 j }$ up to $j = 5$ for permutation invariant MNIST trained with and without entropy regularization in red and purple, respectively. "
758
+ ],
759
+ "image_footnote": [],
760
+ "bbox": [
761
+ 205,
762
+ 608,
763
+ 792,
764
+ 722
765
+ ],
766
+ "page_idx": 6
767
+ },
768
+ {
769
+ "type": "text",
770
+ "text": "4 ROLE OF NETWORK ARCHITECTURES IN ADVERSARIAL ROBUSTNESS ",
771
+ "text_level": 1,
772
+ "bbox": [
773
+ 169,
774
+ 808,
775
+ 787,
776
+ 824
777
+ ],
778
+ "page_idx": 6
779
+ },
780
+ {
781
+ "type": "text",
782
+ "text": "Several recent papers observe that larger networks are more robust against adversarial examples, regardless if they are adversarially trained or not (Kurakin et al., 2016b; Madry et al., 2017). However, it is not clear if network architectures play an important role in adversarial robustness. Are larger models more robust because they have more trainable parameters, or simply because they have higher clean accuracy? Is it possible to find more robust network architectures that do not necessarily have more parameters? We run several experiments to answer these questions, as well as to find an adversarially more robust model on CIFAR10. We perform neural architecture search (NAS) with reinforcement learning. Our search space and procedure are almost exactly the same as in Zoph et al. (2017). One difference is that we restrict the search space so that the normal cell must be the same as the reduction cell. This reduces the complexity of the search space as now we have only half as many predictions. Finally, we increase the number of prediction steps from 5 to 7 to slightly gain back the complexity that was lost when we restricted the normal cell to be equal to the reduction cell. ",
783
+ "bbox": [
784
+ 173,
785
+ 840,
786
+ 825,
787
+ 924
788
+ ],
789
+ "page_idx": 6
790
+ },
791
+ {
792
+ "type": "text",
793
+ "text": "",
794
+ "bbox": [
795
+ 173,
796
+ 103,
797
+ 825,
798
+ 200
799
+ ],
800
+ "page_idx": 7
801
+ },
802
+ {
803
+ "type": "text",
804
+ "text": "We carry out two experiments: ",
805
+ "bbox": [
806
+ 176,
807
+ 208,
808
+ 375,
809
+ 223
810
+ ],
811
+ "page_idx": 7
812
+ },
813
+ {
814
+ "type": "text",
815
+ "text": "• Experiment 1: NAS where child models are trained with clean and step l.l. adversarial examples and the reward is computed on the validation set with FGSM adversarial accuracy at $\\epsilon = 8$ . \n• Experiment 2: NAS where child models are trained with clean and PGD adversarial examples and the reward is computed on the validation set with FGSM adversarial accuracy at $\\epsilon = 8$ . ",
816
+ "bbox": [
817
+ 215,
818
+ 234,
819
+ 825,
820
+ 324
821
+ ],
822
+ "page_idx": 7
823
+ },
824
+ {
825
+ "type": "text",
826
+ "text": "In both experiments, child models are trained for 10 epochs on a training set of 25 thousand samples. Child models are trained on mini-batches where half of the samples are adversarially perturbed, following the procedure in (Kurakin et al., 2016b). At the end of each experiment, we pick the child model with the highest FGSM adversarial accuracy at $\\epsilon = 8$ on the validation set of 5000 samples, and scale up the number of filters. We train the enlarged models for 100 epochs on the full training set of 45000 samples for 12 different hyperparameter sets, and pick the one with the highest adversarial accuracy on the validation set. Finally, we report below the performance of these models on a held-out test set of 10 thousand samples. To provide a comparison with the results of our two experiments, we also run a vanilla NAS where the reward is clean validation accuracy. We will refer to the best architecture from vanilla NAS as NAS Baseline. When trained using the setup above only on clean examples, NAS Baseline reaches a test set accuracy of $9 5 . 3 \\%$ . ",
827
+ "bbox": [
828
+ 173,
829
+ 337,
830
+ 825,
831
+ 489
832
+ ],
833
+ "page_idx": 7
834
+ },
835
+ {
836
+ "type": "image",
837
+ "img_path": "images/45725418240ff962864ee69771205d42909fa7e90b2d0a5a3159452fdd5e53aa.jpg",
838
+ "image_caption": [
839
+ "Figure 7: (a) step l.l. adversarial accuracy of NAS Baseline trained with and without step l.l. adversarial examples in green and red, respectively. Best model from Experiment 1 is shown in blue. (b) PGD adversarial accuracy of NAS Baseline trained with and without PGD adversarial examples in green and red, respectively. Best model from Experiment 2 is shown in blue. "
840
+ ],
841
+ "image_footnote": [],
842
+ "bbox": [
843
+ 173,
844
+ 505,
845
+ 825,
846
+ 659
847
+ ],
848
+ "page_idx": 7
849
+ },
850
+ {
851
+ "type": "text",
852
+ "text": "We present the results of Experiment 1 in Fig 7(a). Here the green curve is the adversarial accuracy NAS Baseline. The blue curve is the adversarial accuracy of a network architecture that was found by Experiment 1. Both of these architectures are trained with the same adversarial training procedure. We try the same sets of hyperparameters and report here the models with best adversarial accuracy at $\\epsilon = 8$ on the validation set. Adversarial training reduced the clean accuracy by $0 . 2 \\%$ . Adversarially trained models both have clean accuracy of $9 5 . 1 \\%$ on the test set, whereas the model that was trained without adversarial training reached $9 5 . 3 \\%$ accuracy. ",
853
+ "bbox": [
854
+ 174,
855
+ 750,
856
+ 825,
857
+ 847
858
+ ],
859
+ "page_idx": 7
860
+ },
861
+ {
862
+ "type": "text",
863
+ "text": "We next use PGD adversarial examples in the training of child models, to find architectures that are more robust to any adversarial attack within an $\\epsilon$ ball (Madry et al., 2017). Following the training procedure by Madry et al. (2017), we use 7 steps of size 2, for a total $\\epsilon = 8$ . We present the results of Experiment 2 in Fig. 7(b). As was the case in Experiment 1, the architecture found by adversarial NAS leads to a more robust model. At $\\epsilon = 8$ , the architecture from Experiment 2 reaches a $17 \\%$ higher adversarial accuracy on PGD examples. We compare our results to the results by Madry et al. (2017). Madry et al. (2017) trained only on PGD examples, whereas half of our minibatches are clean examples. Despite this, we match their accuracy on white-box PGD attacks. Against other white- and black-box attacks our model is more robust, and our clean accuracy is $5 . 9 \\%$ higher. We also note that NAS Baseline model has 4.9 million trainable parameters, whereas the model from Experiments 1 and 2 have 2.3 million and 3.5 million parameters, respectively. NAS found an adversarially more robust architecture with many fewer parameters. Best architecture from Experiment 2 and NAS Baseline are presented in Appendix Fig. 16. Finally, we study the performance statistics of child models during NAS. In Fig. 8, we report the results for 9360 child models that were trained during Experiment 1. As explained above, these models are only trained for 10 epochs. In Fig. 8(a), we see that the correlation between adversarialy accuracy and the number of trainable parameters of the model is not very strong. On the other hand, adversarial accuracy is strongly correlated with clean accuracy (Fig. 8(b)). We hypothesize that this is the reason both Madry et al. (2017) and Kurakin et al. (2016b) found that making networks larger increased adversarial robustness, because it also increased the clean accuracy. This implies that commonly used architectures, like Inception v3 and ResNet, benefit from having more parameters. This however was not the case for most child models during NAS. On the other hand, having a high clean accuracy is not sufficient for adversarial robustness. As seen in Fig. 8(c), there is a large variance in the adversarial accuracy of models with good clean accuracy. The range of adversarial accuracies in the histogram of models with larger than $85 \\%$ clean accuracy is $22 \\%$ and the standard deviation is $2 . 6 \\%$ . For this reason, our experiments led to more robust architectures than NAS Baseline. ",
864
+ "bbox": [
865
+ 174,
866
+ 854,
867
+ 823,
868
+ 924
869
+ ],
870
+ "page_idx": 7
871
+ },
872
+ {
873
+ "type": "table",
874
+ "img_path": "images/df88ee6134798336365d02a51543f0225263a6aa4260d013eef95c68aa7be7bc.jpg",
875
+ "table_caption": [
876
+ "Table 1: Performance of our best architecture from Experiment 2 at $\\epsilon = 8$ . Black-box attacks are sourced from a copy of the network independently initialized and trained. "
877
+ ],
878
+ "table_footnote": [],
879
+ "table_body": "<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=3>White-box</td><td rowspan=1 colspan=3>Black-box</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>Clean</td><td rowspan=1 colspan=1>FGSM</td><td rowspan=1 colspan=1>step 1.1.</td><td rowspan=1 colspan=1>PGD</td><td rowspan=1 colspan=1>FGSM</td><td rowspan=1 colspan=1>step 1.1.</td><td rowspan=1 colspan=1>PGD</td></tr><tr><td rowspan=1 colspan=1>Madry et al. (2017)</td><td rowspan=1 colspan=1>87.3%</td><td rowspan=1 colspan=1>56.1%</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>50.0%</td><td rowspan=1 colspan=1>67.0 %</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>64.2%</td></tr><tr><td rowspan=1 colspan=1>This work</td><td rowspan=1 colspan=1>93.2%</td><td rowspan=1 colspan=1>63.6%</td><td rowspan=1 colspan=1>77.9%</td><td rowspan=1 colspan=1>50.1%</td><td rowspan=1 colspan=1>78.1 %</td><td rowspan=1 colspan=1>84.9%</td><td rowspan=1 colspan=1>75.0%</td></tr></table>",
880
+ "bbox": [
881
+ 174,
882
+ 101,
883
+ 777,
884
+ 161
885
+ ],
886
+ "page_idx": 8
887
+ },
888
+ {
889
+ "type": "text",
890
+ "text": "",
891
+ "bbox": [
892
+ 174,
893
+ 233,
894
+ 825,
895
+ 345
896
+ ],
897
+ "page_idx": 8
898
+ },
899
+ {
900
+ "type": "image",
901
+ "img_path": "images/0207438d01698c7a498a79f722099d8aa9424e42d55368ce98b83ff84f3350d9.jpg",
902
+ "image_caption": [
903
+ "Figure 8: Performance of child models on the validation set. FGSM adversarial accuracy at $\\epsilon = 8$ vs. number of trainable parameters and clean accuracy in (a) and (b), respectively. Black dots represent each child model, purple line is a running average. Figure (c) is the histogram of the adversarial accuracy for models with clean accuracy larger than $85 \\%$ . "
904
+ ],
905
+ "image_footnote": [],
906
+ "bbox": [
907
+ 254,
908
+ 366,
909
+ 743,
910
+ 507
911
+ ],
912
+ "page_idx": 8
913
+ },
914
+ {
915
+ "type": "text",
916
+ "text": "",
917
+ "bbox": [
918
+ 174,
919
+ 606,
920
+ 825,
921
+ 801
922
+ ],
923
+ "page_idx": 8
924
+ },
925
+ {
926
+ "type": "text",
927
+ "text": "5 CONCLUSION ",
928
+ "text_level": 1,
929
+ "bbox": [
930
+ 176,
931
+ 830,
932
+ 318,
933
+ 847
934
+ ],
935
+ "page_idx": 8
936
+ },
937
+ {
938
+ "type": "text",
939
+ "text": "In this paper we studied common properties of adversarial examples across different models and datasets. We theoretically derived a universality in logit differences and adversarial error of machine learning models. We showed that architecture plays an important role in adversarial robustness, which correlates strongly with clean accuracy. ",
940
+ "bbox": [
941
+ 176,
942
+ 867,
943
+ 825,
944
+ 924
945
+ ],
946
+ "page_idx": 8
947
+ },
948
+ {
949
+ "type": "text",
950
+ "text": "REFERENCES ",
951
+ "text_level": 1,
952
+ "bbox": [
953
+ 174,
954
+ 103,
955
+ 287,
956
+ 117
957
+ ],
958
+ "page_idx": 9
959
+ },
960
+ {
961
+ "type": "text",
962
+ "text": "Moustapha Cisse, Piotr Bojanowski, Edouard Grave, Yann Dauphin, and Nicolas Usunier. Parseval networks: Improving robustness to adversarial examples. In International Conference on Machine Learning, pp. 854–863, 2017. ",
963
+ "bbox": [
964
+ 176,
965
+ 126,
966
+ 823,
967
+ 169
968
+ ],
969
+ "page_idx": 9
970
+ },
971
+ {
972
+ "type": "text",
973
+ "text": "Ian J Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. arXiv preprint arXiv:1412.6572, 2014. ",
974
+ "bbox": [
975
+ 171,
976
+ 178,
977
+ 823,
978
+ 208
979
+ ],
980
+ "page_idx": 9
981
+ },
982
+ {
983
+ "type": "text",
984
+ "text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770–778, 2016. ",
985
+ "bbox": [
986
+ 173,
987
+ 217,
988
+ 823,
989
+ 260
990
+ ],
991
+ "page_idx": 9
992
+ },
993
+ {
994
+ "type": "text",
995
+ "text": "Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015. ",
996
+ "bbox": [
997
+ 173,
998
+ 268,
999
+ 821,
1000
+ 299
1001
+ ],
1002
+ "page_idx": 9
1003
+ },
1004
+ {
1005
+ "type": "text",
1006
+ "text": "Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. 2009. ",
1007
+ "bbox": [
1008
+ 171,
1009
+ 308,
1010
+ 821,
1011
+ 324
1012
+ ],
1013
+ "page_idx": 9
1014
+ },
1015
+ {
1016
+ "type": "text",
1017
+ "text": "Alexey Kurakin, Ian Goodfellow, and Samy Bengio. Adversarial examples in the physical world. arXiv preprint arXiv:1607.02533, 2016a. ",
1018
+ "bbox": [
1019
+ 173,
1020
+ 333,
1021
+ 821,
1022
+ 363
1023
+ ],
1024
+ "page_idx": 9
1025
+ },
1026
+ {
1027
+ "type": "text",
1028
+ "text": "Alexey Kurakin, Ian Goodfellow, and Samy Bengio. Adversarial machine learning at scale. arXiv preprint arXiv:1611.01236, 2016b. ",
1029
+ "bbox": [
1030
+ 173,
1031
+ 372,
1032
+ 823,
1033
+ 401
1034
+ ],
1035
+ "page_idx": 9
1036
+ },
1037
+ {
1038
+ "type": "text",
1039
+ "text": "Yann LeCun and Corinna Cortes. The mnist database of handwritten digits. http://yann. lecun. com/exdb/mnist/. ",
1040
+ "bbox": [
1041
+ 173,
1042
+ 410,
1043
+ 823,
1044
+ 440
1045
+ ],
1046
+ "page_idx": 9
1047
+ },
1048
+ {
1049
+ "type": "text",
1050
+ "text": "Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. arXiv preprint arXiv:1706.06083, 2017. ",
1051
+ "bbox": [
1052
+ 173,
1053
+ 449,
1054
+ 825,
1055
+ 491
1056
+ ],
1057
+ "page_idx": 9
1058
+ },
1059
+ {
1060
+ "type": "text",
1061
+ "text": "Takeru Miyato, Shin-ichi Maeda, Masanori Koyama, and Shin Ishii. Virtual adversarial training: a regularization method for supervised and semi-supervised learning. arXiv preprint arXiv:1704.03976, 2017. ",
1062
+ "bbox": [
1063
+ 173,
1064
+ 502,
1065
+ 821,
1066
+ 545
1067
+ ],
1068
+ "page_idx": 9
1069
+ },
1070
+ {
1071
+ "type": "text",
1072
+ "text": "Aran Nayebi and Surya Ganguli. Biologically inspired protection of deep networks from adversarial attacks. arXiv preprint arXiv:1703.09202, 2017. ",
1073
+ "bbox": [
1074
+ 169,
1075
+ 554,
1076
+ 823,
1077
+ 584
1078
+ ],
1079
+ "page_idx": 9
1080
+ },
1081
+ {
1082
+ "type": "text",
1083
+ "text": "Nicolas Papernot, Patrick McDaniel, Ian Goodfellow, Somesh Jha, Z Berkay Celik, and Ananthram Swami. Practical black-box attacks against deep learning systems using adversarial examples. arXiv preprint arXiv:1602.02697, 2016a. ",
1084
+ "bbox": [
1085
+ 173,
1086
+ 593,
1087
+ 823,
1088
+ 636
1089
+ ],
1090
+ "page_idx": 9
1091
+ },
1092
+ {
1093
+ "type": "text",
1094
+ "text": "Nicolas Papernot, Patrick McDaniel, Xi Wu, Somesh Jha, and Ananthram Swami. Distillation as a defense to adversarial perturbations against deep neural networks. In Security and Privacy (SP), 2016 IEEE Symposium on, pp. 582–597. IEEE, 2016b. ",
1095
+ "bbox": [
1096
+ 173,
1097
+ 645,
1098
+ 825,
1099
+ 689
1100
+ ],
1101
+ "page_idx": 9
1102
+ },
1103
+ {
1104
+ "type": "text",
1105
+ "text": "Gabriel Pereyra, George Tucker, Jan Chorowski, Łukasz Kaiser, and Geoffrey Hinton. Regularizing neural networks by penalizing confident output distributions. arXiv preprint arXiv:1701.06548, 2017. ",
1106
+ "bbox": [
1107
+ 173,
1108
+ 698,
1109
+ 826,
1110
+ 741
1111
+ ],
1112
+ "page_idx": 9
1113
+ },
1114
+ {
1115
+ "type": "text",
1116
+ "text": "Ben Poole, Subhaneil Lahiri, Maithreyi Raghu, Jascha Sohl-Dickstein, and Surya Ganguli. Exponential expressivity in deep neural networks through transient chaos. In Advances In Neural Information Processing Systems, pp. 3360–3368, 2016. ",
1117
+ "bbox": [
1118
+ 174,
1119
+ 751,
1120
+ 823,
1121
+ 795
1122
+ ],
1123
+ "page_idx": 9
1124
+ },
1125
+ {
1126
+ "type": "text",
1127
+ "text": "Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, et al. Imagenet large scale visual recognition challenge. International Journal of Computer Vision, 115(3):211–252, 2015. ",
1128
+ "bbox": [
1129
+ 176,
1130
+ 803,
1131
+ 823,
1132
+ 847
1133
+ ],
1134
+ "page_idx": 9
1135
+ },
1136
+ {
1137
+ "type": "text",
1138
+ "text": "Samuel S Schoenholz, Justin Gilmer, Surya Ganguli, and Jascha Sohl-Dickstein. Deep information propagation. arXiv preprint arXiv:1611.01232, 2016. ",
1139
+ "bbox": [
1140
+ 171,
1141
+ 856,
1142
+ 823,
1143
+ 886
1144
+ ],
1145
+ "page_idx": 9
1146
+ },
1147
+ {
1148
+ "type": "text",
1149
+ "text": "Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. arXiv preprint arXiv:1312.6199, 2013. ",
1150
+ "bbox": [
1151
+ 174,
1152
+ 895,
1153
+ 823,
1154
+ 924
1155
+ ],
1156
+ "page_idx": 9
1157
+ },
1158
+ {
1159
+ "type": "text",
1160
+ "text": "Christian Szegedy, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott Reed, Dragomir Anguelov, Dumitru Erhan, Vincent Vanhoucke, and Andrew Rabinovich. Going deeper with convolutions. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 1–9, 2015. ",
1161
+ "bbox": [
1162
+ 176,
1163
+ 103,
1164
+ 823,
1165
+ 146
1166
+ ],
1167
+ "page_idx": 10
1168
+ },
1169
+ {
1170
+ "type": "text",
1171
+ "text": "Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jon Shlens, and Zbigniew Wojna. Rethinking the inception architecture for computer vision. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2818–2826, 2016. ",
1172
+ "bbox": [
1173
+ 178,
1174
+ 155,
1175
+ 820,
1176
+ 198
1177
+ ],
1178
+ "page_idx": 10
1179
+ },
1180
+ {
1181
+ "type": "text",
1182
+ "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. ",
1183
+ "bbox": [
1184
+ 176,
1185
+ 207,
1186
+ 823,
1187
+ 248
1188
+ ],
1189
+ "page_idx": 10
1190
+ },
1191
+ {
1192
+ "type": "text",
1193
+ "text": "Florian Tramer, Alexey Kurakin, Nicolas Papernot, Dan Boneh, and Patrick McDaniel. Ensemble \\` adversarial training: Attacks and defenses. arXiv preprint arXiv:1705.07204, 2017. ",
1194
+ "bbox": [
1195
+ 174,
1196
+ 257,
1197
+ 821,
1198
+ 287
1199
+ ],
1200
+ "page_idx": 10
1201
+ },
1202
+ {
1203
+ "type": "text",
1204
+ "text": "Weilin Xu, David Evans, and Yanjun Qi. Feature squeezing: Detecting adversarial examples in deep neural networks. arXiv preprint arXiv:1704.01155, 2017. ",
1205
+ "bbox": [
1206
+ 174,
1207
+ 295,
1208
+ 821,
1209
+ 325
1210
+ ],
1211
+ "page_idx": 10
1212
+ },
1213
+ {
1214
+ "type": "text",
1215
+ "text": "Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. arXiv preprint arXiv:1611.03530, 2016. ",
1216
+ "bbox": [
1217
+ 174,
1218
+ 333,
1219
+ 821,
1220
+ 363
1221
+ ],
1222
+ "page_idx": 10
1223
+ },
1224
+ {
1225
+ "type": "text",
1226
+ "text": "Barret Zoph and Quoc V Le. Neural architecture search with reinforcement learning. arXiv preprint arXiv:1611.01578, 2016. ",
1227
+ "bbox": [
1228
+ 174,
1229
+ 371,
1230
+ 823,
1231
+ 400
1232
+ ],
1233
+ "page_idx": 10
1234
+ },
1235
+ {
1236
+ "type": "text",
1237
+ "text": "Barret Zoph, Vijay Vasudevan, Jonathon Shlens, and Quoc V Le. Learning transferable architectures for scalable image recognition. arXiv preprint arXiv:1707.07012, 2017. ",
1238
+ "bbox": [
1239
+ 176,
1240
+ 409,
1241
+ 825,
1242
+ 438
1243
+ ],
1244
+ "page_idx": 10
1245
+ },
1246
+ {
1247
+ "type": "text",
1248
+ "text": "6 APPENDIX ",
1249
+ "text_level": 1,
1250
+ "bbox": [
1251
+ 174,
1252
+ 464,
1253
+ 294,
1254
+ 479
1255
+ ],
1256
+ "page_idx": 10
1257
+ },
1258
+ {
1259
+ "type": "text",
1260
+ "text": "6.1 FURTHER EXPERIMENTS ",
1261
+ "text_level": 1,
1262
+ "bbox": [
1263
+ 174,
1264
+ 496,
1265
+ 387,
1266
+ 511
1267
+ ],
1268
+ "page_idx": 10
1269
+ },
1270
+ {
1271
+ "type": "image",
1272
+ "img_path": "images/b670571accf1ec3148d8641417d4a6b43fdf7c353720d8907853cc342b1807d3.jpg",
1273
+ "image_caption": [
1274
+ "Figure 9: Adversarial error for hundreds of models trained on MNIST, including fully-connected and convolutional models. We only show models with clean accuracy larger than $80 \\%$ . "
1275
+ ],
1276
+ "image_footnote": [],
1277
+ "bbox": [
1278
+ 240,
1279
+ 525,
1280
+ 751,
1281
+ 799
1282
+ ],
1283
+ "page_idx": 10
1284
+ },
1285
+ {
1286
+ "type": "image",
1287
+ "img_path": "images/0cda1546173e20803b367c7e26e3db58e2dabb30fc58a20a86e6556b80a83117.jpg",
1288
+ "image_caption": [
1289
+ "Figure 10: Points represent the adversarial error due to FGSM as a function of $\\epsilon$ for a 32-layer ResNet trained on CIFAR10. Straight line is a power law fit with an exponent of 0.99. "
1290
+ ],
1291
+ "image_footnote": [],
1292
+ "bbox": [
1293
+ 370,
1294
+ 98,
1295
+ 627,
1296
+ 243
1297
+ ],
1298
+ "page_idx": 11
1299
+ },
1300
+ {
1301
+ "type": "image",
1302
+ "img_path": "images/19c453a2f89cb39d463cccfb8014f80f6dddd6dcf92298ac8ab322959b8de828.jpg",
1303
+ "image_caption": [
1304
+ "Figure 11: Effect of adding an entropy regularization $( \\lambda = 3 . 0 )$ ): step l.l. adversarial accuracy of wide ResNet on CIFAR10, with and without entropy regularization. Both models have a clean accuracy of $9 4 \\%$ . They were both trained for 100 epochs with the same hyperparameters. "
1305
+ ],
1306
+ "image_footnote": [],
1307
+ "bbox": [
1308
+ 369,
1309
+ 318,
1310
+ 627,
1311
+ 460
1312
+ ],
1313
+ "page_idx": 11
1314
+ },
1315
+ {
1316
+ "type": "text",
1317
+ "text": "6.2 DERIVATIONS ",
1318
+ "text_level": 1,
1319
+ "bbox": [
1320
+ 174,
1321
+ 559,
1322
+ 310,
1323
+ 573
1324
+ ],
1325
+ "page_idx": 11
1326
+ },
1327
+ {
1328
+ "type": "text",
1329
+ "text": "Here we derive several of the results found in the main text. ",
1330
+ "bbox": [
1331
+ 173,
1332
+ 589,
1333
+ 563,
1334
+ 604
1335
+ ],
1336
+ "page_idx": 11
1337
+ },
1338
+ {
1339
+ "type": "text",
1340
+ "text": "6.2.1 LINEAR RESPONSE ",
1341
+ "text_level": 1,
1342
+ "bbox": [
1343
+ 174,
1344
+ 631,
1345
+ 361,
1346
+ 645
1347
+ ],
1348
+ "page_idx": 11
1349
+ },
1350
+ {
1351
+ "type": "text",
1352
+ "text": "First, we compute the linear response of the network to the $L _ { 2 }$ FGSM attack. Let, $f : \\mathbb { R } ^ { N } \\to \\mathbb { R } ^ { M }$ be a neural network (or other model) structured such that $f = \\operatorname { s o f t m a x } \\circ h$ where $h : \\mathbb { R } ^ { N } \\to \\mathbb { R } ^ { M }$ maps inputs to logits. Additionally define a loss $L : \\mathbb { R } ^ { M } \\to \\mathbb { R }$ which can be cross-entropy, $L ^ { 2 }$ , etc.. To generate adversarial examples we start with an input $\\boldsymbol { x } \\in \\mathbb { R } ^ { N }$ and a corresponding target $t \\in \\mathbb { R } ^ { M }$ such that $t _ { \\beta } = 1$ if $\\beta = \\gamma$ for some $\\gamma$ and $t _ { \\beta } = 0$ otherwise. We assume our network gets the answer correct so that $h _ { \\gamma } > h _ { \\beta }$ for all $\\beta \\neq \\gamma$ . Then we apply the adversarial perturbation, ",
1353
+ "bbox": [
1354
+ 173,
1355
+ 659,
1356
+ 825,
1357
+ 744
1358
+ ],
1359
+ "page_idx": 11
1360
+ },
1361
+ {
1362
+ "type": "equation",
1363
+ "img_path": "images/698cfcfcd533729a8ee35c3411cd4dbc8ebada99beeef2af9f1817eff2228852.jpg",
1364
+ "text": "$$\nx _ { \\alpha } ^ { \\prime } = x _ { \\alpha } + \\epsilon \\frac { \\nabla _ { x } L } { | | \\nabla _ { x } L | | _ { 2 } } .\n$$",
1365
+ "text_format": "latex",
1366
+ "bbox": [
1367
+ 419,
1368
+ 761,
1369
+ 578,
1370
+ 795
1371
+ ],
1372
+ "page_idx": 11
1373
+ },
1374
+ {
1375
+ "type": "text",
1376
+ "text": "Note that we can write ",
1377
+ "bbox": [
1378
+ 173,
1379
+ 810,
1380
+ 325,
1381
+ 824
1382
+ ],
1383
+ "page_idx": 11
1384
+ },
1385
+ {
1386
+ "type": "equation",
1387
+ "img_path": "images/6116bb499f2d7950bc3dc8ae7a9d23c7b006d0b8308eb33f50f8f0e18e2fe300.jpg",
1388
+ "text": "$$\n\\nabla _ { x } L = { \\frac { \\partial L } { \\partial x _ { \\alpha } } } = \\sum _ { \\beta } { \\frac { \\partial h _ { \\beta } } { \\partial x _ { \\alpha } } } { \\frac { \\partial L } { \\partial h _ { \\beta } } } = \\sum _ { \\beta } J _ { \\alpha \\beta } { \\frac { \\partial L } { \\partial h _ { \\beta } } } = J \\delta .\n$$",
1389
+ "text_format": "latex",
1390
+ "bbox": [
1391
+ 323,
1392
+ 838,
1393
+ 674,
1394
+ 878
1395
+ ],
1396
+ "page_idx": 11
1397
+ },
1398
+ {
1399
+ "type": "text",
1400
+ "text": "Where we associate $J _ { \\alpha \\beta } = \\partial h _ { \\beta } / \\partial x _ { \\alpha }$ with the input-to-logit Jacobian linking the inputs to the logits and $\\delta = \\partial L / \\partial h _ { \\beta }$ the error of the outputs of the network. ",
1401
+ "bbox": [
1402
+ 173,
1403
+ 895,
1404
+ 823,
1405
+ 924
1406
+ ],
1407
+ "page_idx": 11
1408
+ },
1409
+ {
1410
+ "type": "image",
1411
+ "img_path": "images/1d995c793653d9be88818c8a1da8189e47e3b0c071c1153919643df49d15ff93.jpg",
1412
+ "image_caption": [
1413
+ "Figure 12: Fully connected network trained on MNIST with hinge loss. (a) Distributions of logit differences. (b) Red dots represent the adversarial error when FGSM attack uses the same hinge loss from training. Blue dots represent the adversarial error when FGSM attack uses a cross-entropy loss to create the adversarial examples.The line is a power-law fit with an exponent of 0.98 "
1414
+ ],
1415
+ "image_footnote": [],
1416
+ "bbox": [
1417
+ 236,
1418
+ 101,
1419
+ 758,
1420
+ 300
1421
+ ],
1422
+ "page_idx": 12
1423
+ },
1424
+ {
1425
+ "type": "image",
1426
+ "img_path": "images/917b69d3b380562fee50ab581eb866d83a8e46674d25a3848452158d9ecbe7a4.jpg",
1427
+ "image_caption": [
1428
+ "Figure 13: Fully connected network trained on MNIST with L2-norm loss. (a) Distributions of logit differences. (b) Black dots represent the adversarial error due to FGSM. The line is a power-law fit with an exponent of 1.02 "
1429
+ ],
1430
+ "image_footnote": [],
1431
+ "bbox": [
1432
+ 238,
1433
+ 395,
1434
+ 759,
1435
+ 595
1436
+ ],
1437
+ "page_idx": 12
1438
+ },
1439
+ {
1440
+ "type": "text",
1441
+ "text": "We can compute the change to the logits of the network due to this perturbation. We find, ",
1442
+ "bbox": [
1443
+ 169,
1444
+ 689,
1445
+ 758,
1446
+ 705
1447
+ ],
1448
+ "page_idx": 12
1449
+ },
1450
+ {
1451
+ "type": "equation",
1452
+ "img_path": "images/ca3da83053aae2635ef11693f583bd390e3c0fa2c44233fe975727c8dc19194f.jpg",
1453
+ "text": "$$\n\\begin{array} { l } { \\displaystyle h ( \\boldsymbol { x } ^ { \\prime } ) = h ( \\boldsymbol { x } + \\epsilon \\nabla _ { \\boldsymbol { x } } L / | | \\nabla _ { \\boldsymbol { x } } L | | _ { 2 } ) } \\\\ { \\displaystyle h _ { \\beta } ^ { \\prime } \\approx h _ { \\beta } + \\frac { \\epsilon } { | | \\nabla _ { \\boldsymbol { x } } L | | _ { 2 } } \\sum _ { \\alpha } \\frac { \\partial h _ { \\beta } } { \\partial x _ { \\alpha } } \\frac { \\partial L } { \\partial x _ { \\alpha } } + \\mathcal { O } ( \\epsilon ^ { 2 } ) } \\\\ { \\displaystyle ~ = h _ { \\beta } + \\frac { \\epsilon } { | | \\nabla _ { \\boldsymbol { x } } L | | _ { 2 } } \\sum _ { \\alpha \\delta } \\frac { \\partial h _ { \\beta } } { \\partial x _ { \\alpha } } \\frac { \\partial h _ { \\delta } } { \\partial x _ { \\alpha } } \\frac { \\partial L } { \\partial h _ { \\delta } } } \\end{array}\n$$",
1454
+ "text_format": "latex",
1455
+ "bbox": [
1456
+ 341,
1457
+ 714,
1458
+ 656,
1459
+ 813
1460
+ ],
1461
+ "page_idx": 12
1462
+ },
1463
+ {
1464
+ "type": "text",
1465
+ "text": "where we have plugged in for eq. (11). Expressing the above equation in terms of the Jacobian, it follows that we can write the effect of the adversarial perturbation on the logits by, ",
1466
+ "bbox": [
1467
+ 174,
1468
+ 821,
1469
+ 826,
1470
+ 852
1471
+ ],
1472
+ "page_idx": 12
1473
+ },
1474
+ {
1475
+ "type": "equation",
1476
+ "img_path": "images/ceee0d33c597ac4b8bde25953cb3945d334ac04357968def4d109df5b98a35ea.jpg",
1477
+ "text": "$$\nh ^ { \\prime } = h + \\epsilon \\frac { J ^ { T } J \\delta } { | | J \\delta | | _ { 2 } }\n$$",
1478
+ "text_format": "latex",
1479
+ "bbox": [
1480
+ 436,
1481
+ 862,
1482
+ 560,
1483
+ 898
1484
+ ],
1485
+ "page_idx": 12
1486
+ },
1487
+ {
1488
+ "type": "text",
1489
+ "text": "as postulated. ",
1490
+ "bbox": [
1491
+ 173,
1492
+ 910,
1493
+ 264,
1494
+ 924
1495
+ ],
1496
+ "page_idx": 12
1497
+ },
1498
+ {
1499
+ "type": "image",
1500
+ "img_path": "images/c88352a66455538e3ceb30d420cf36b2a3ba9a8e1ccaa6907bbe9c8b2c3f27af.jpg",
1501
+ "image_caption": [
1502
+ "Figure 14: (a) Distribution of $\\Delta _ { 1 N }$ for other ImageNet models. "
1503
+ ],
1504
+ "image_footnote": [],
1505
+ "bbox": [
1506
+ 179,
1507
+ 101,
1508
+ 823,
1509
+ 482
1510
+ ],
1511
+ "page_idx": 13
1512
+ },
1513
+ {
1514
+ "type": "image",
1515
+ "img_path": "images/0969b6740619fa492073f02b297f60c5b900679948f3b95b0f698427fc978a31.jpg",
1516
+ "image_caption": [
1517
+ "Figure 15: (a) FGSM adversarial accuracy of NAS Baseline trained with and without step l.l. adversarial examples in green and red, respectively. Best model from Experiment 1 is shown in blue. (b) FGSM adversarial accuracy of NAS Baseline trained with and without PGD adversarial examples in green and red, respectively. Best model from Experiment 2 is shown in blue. "
1518
+ ],
1519
+ "image_footnote": [],
1520
+ "bbox": [
1521
+ 176,
1522
+ 536,
1523
+ 825,
1524
+ 689
1525
+ ],
1526
+ "page_idx": 13
1527
+ },
1528
+ {
1529
+ "type": "text",
1530
+ "text": "6.2.2 UNIVERSAL PROPERTIES OF THE LOGIT DIFFERENCE DISTRIBUTION",
1531
+ "bbox": [
1532
+ 174,
1533
+ 795,
1534
+ 704,
1535
+ 811
1536
+ ],
1537
+ "page_idx": 13
1538
+ },
1539
+ {
1540
+ "type": "text",
1541
+ "text": "We now show that ",
1542
+ "bbox": [
1543
+ 174,
1544
+ 823,
1545
+ 297,
1546
+ 837
1547
+ ],
1548
+ "page_idx": 13
1549
+ },
1550
+ {
1551
+ "type": "equation",
1552
+ "img_path": "images/8e6d05ab29463d2fd555ef41f5aee3b98c20c7b72e43fad29aac0bd0ab6d227d.jpg",
1553
+ "text": "$$\nP ( \\Delta _ { 1 j } ) = C \\Delta _ { 1 j } ^ { j - 2 } + \\mathcal { O } ( \\Delta _ { 1 j } ^ { j - 1 } ) .\n$$",
1554
+ "text_format": "latex",
1555
+ "bbox": [
1556
+ 392,
1557
+ 838,
1558
+ 607,
1559
+ 861
1560
+ ],
1561
+ "page_idx": 13
1562
+ },
1563
+ {
1564
+ "type": "text",
1565
+ "text": "To make progress we will again make a mean field approximation and assume that each of the logits are i.i.d. with arbitrary distribution $P ( h )$ . We denote the cumulative distribution $F ( h )$ . While it is not obvious that the factorial approximation is valid here, we will see that the resulting distribution of $P ( \\Delta _ { 1 j } )$ shares many qualitative similarities with the distribution observed in real networks. ",
1566
+ "bbox": [
1567
+ 174,
1568
+ 867,
1569
+ 825,
1570
+ 924
1571
+ ],
1572
+ "page_idx": 13
1573
+ },
1574
+ {
1575
+ "type": "text",
1576
+ "text": "We first change variables from the logits to a sorted version of the logits, $r _ { i }$ . The ranked logits are defined such that $r _ { 1 } = \\operatorname* { m a x } ( \\{ h _ { i } \\} )$ , $r _ { 2 } = \\mathrm { m a x } ( \\{ h _ { i } \\} \\backslash \\{ r _ { 1 } \\} ) , \\cdot \\cdot \\cdot$ . Our first result is to compute the resulting joint distribution between $r _ { 1 }$ and $r _ { j }$ , ",
1577
+ "bbox": [
1578
+ 173,
1579
+ 103,
1580
+ 825,
1581
+ 147
1582
+ ],
1583
+ "page_idx": 14
1584
+ },
1585
+ {
1586
+ "type": "equation",
1587
+ "img_path": "images/7e30fdb7772a040aa882be895ff74d114eb745aa24cec79802ee8918cb71eb27.jpg",
1588
+ "text": "$$\nP _ { j } ( r _ { 1 } , r _ { j } ) = A ( N , j ) F ^ { N - j } ( r _ { j } ) \\left[ F ( r _ { 1 } ) - F ( r _ { j } ) \\right] ^ { j - 2 } P ( r _ { j } ) P ( r _ { 1 } )\n$$",
1589
+ "text_format": "latex",
1590
+ "bbox": [
1591
+ 282,
1592
+ 154,
1593
+ 715,
1594
+ 174
1595
+ ],
1596
+ "page_idx": 14
1597
+ },
1598
+ {
1599
+ "type": "text",
1600
+ "text": "where $A ( N , j ) = N ( N - 1 ) { \\binom { N - 2 } { j - 2 } }$ is a combinatorial factor. Eq. (18) has a simple interpretation. $F ^ { N - j } ( r _ { j } )$ is the probability that there are $N - j$ variables less than $r _ { j }$ ; $[ F ( r _ { 1 } ) - F ( r _ { j } ) ] ^ { j - 2 }$ is the probability that $j - 2$ variables are between $r _ { j }$ and $r _ { 1 }$ ; $P ( r _ { j } ) P ( r _ { 1 } )$ is the probability that there is one variable equal to each of $r _ { 1 }$ and $r _ { j }$ . The combinatorial factor can be understood since there are $N$ ways of selecting $r _ { 1 }$ , $N - 1$ ways of selecting $r _ { j }$ , and $\\binom { N - 2 } { j - 2 }$ ways of choosing $j - 2$ variables out of the remaining $N - 2$ to be between $r _ { j }$ and $r _ { 1 }$ . ",
1601
+ "bbox": [
1602
+ 173,
1603
+ 179,
1604
+ 825,
1605
+ 277
1606
+ ],
1607
+ "page_idx": 14
1608
+ },
1609
+ {
1610
+ "type": "text",
1611
+ "text": "In terms of eq. (18) we can compute the distribution over $\\Delta _ { 1 j }$ to be given by, ",
1612
+ "bbox": [
1613
+ 173,
1614
+ 282,
1615
+ 679,
1616
+ 299
1617
+ ],
1618
+ "page_idx": 14
1619
+ },
1620
+ {
1621
+ "type": "equation",
1622
+ "img_path": "images/0bd05e3ce70da9c00546c83deaed6336be9eca582945e7436910e23c32af93a3.jpg",
1623
+ "text": "$$\n\\begin{array} { l } { { P ( \\Delta _ { 1 j } ) = \\displaystyle \\int d r P _ { j } ( r + \\Delta _ { 1 j } , r ) } } \\\\ { { \\displaystyle \\qquad = A ( N , j ) \\int d r F ^ { N - j } ( r ) \\left[ F ( r + \\Delta _ { 1 j } ) - F ( r ) \\right] ^ { j - 2 } P ( r ) P ( r + \\Delta _ { 1 j } ) . } } \\end{array}\n$$",
1624
+ "text_format": "latex",
1625
+ "bbox": [
1626
+ 236,
1627
+ 304,
1628
+ 759,
1629
+ 372
1630
+ ],
1631
+ "page_idx": 14
1632
+ },
1633
+ {
1634
+ "type": "text",
1635
+ "text": "We can analyze this equation for small $\\Delta _ { 1 j }$ . Expanding to lowest order in $\\Delta _ { 1 j }$ , ",
1636
+ "bbox": [
1637
+ 173,
1638
+ 376,
1639
+ 694,
1640
+ 392
1641
+ ],
1642
+ "page_idx": 14
1643
+ },
1644
+ {
1645
+ "type": "equation",
1646
+ "img_path": "images/c29d33627f4c5a9e808860029d8c7cc0243d7b15309ec8788ce100c1034c896a.jpg",
1647
+ "text": "$$\n\\begin{array} { l } { P ( \\Delta _ { 1 j } ) \\approx A ( N , j ) \\displaystyle \\int d r { \\cal F } ^ { N - j } ( r ) \\left[ { \\cal F } ( r ) + \\Delta _ { 1 j } P ( r ) - { \\cal F } ( r ) \\right] ^ { j - 2 } P ( r ) \\left[ P ( r ) + \\Delta _ { 1 j } \\frac { d P ( r ) } { d r } \\right] } \\\\ { \\displaystyle ~ ( \\Delta ( N , j ) \\Delta _ { 1 j } ^ { j - 2 } \\int d r { \\cal F } ^ { N - j } ( r ) P ^ { j } ( r ) + \\mathcal { O } ( \\Delta _ { 1 j } ^ { j - 1 } ) . ~ } \\end{array}\n$$",
1648
+ "text_format": "latex",
1649
+ "bbox": [
1650
+ 191,
1651
+ 398,
1652
+ 803,
1653
+ 482
1654
+ ],
1655
+ "page_idx": 14
1656
+ },
1657
+ {
1658
+ "type": "text",
1659
+ "text": "Since the term in the integral does not depend on $\\Delta _ { 1 j }$ the result follows with, ",
1660
+ "bbox": [
1661
+ 176,
1662
+ 487,
1663
+ 679,
1664
+ 502
1665
+ ],
1666
+ "page_idx": 14
1667
+ },
1668
+ {
1669
+ "type": "equation",
1670
+ "img_path": "images/6440ba877f82be8ea247cabce64eff5ae88c603741c81ca709806983ccfc6f5d.jpg",
1671
+ "text": "$$\n{ \\cal C } = { \\cal N } ( N - 1 ) { \\binom { N - 2 } { j - 2 } } \\int d r F ^ { N - j } ( r ) P ^ { j } ( r ) .\n$$",
1672
+ "text_format": "latex",
1673
+ "bbox": [
1674
+ 338,
1675
+ 508,
1676
+ 658,
1677
+ 544
1678
+ ],
1679
+ "page_idx": 14
1680
+ },
1681
+ {
1682
+ "type": "text",
1683
+ "text": "6.2.3 ARCHITECTURES ",
1684
+ "text_level": 1,
1685
+ "bbox": [
1686
+ 174,
1687
+ 556,
1688
+ 349,
1689
+ 571
1690
+ ],
1691
+ "page_idx": 14
1692
+ },
1693
+ {
1694
+ "type": "image",
1695
+ "img_path": "images/156b53fcd92de96aae41c52a10d1da280a0afb23260f06022ef070bf60dba302.jpg",
1696
+ "image_caption": [
1697
+ "Figure 16: Left: Best architecture from Experiment 1. Right: Architecture of NAS Baseline. We note that the architecture from Experiment 1 is “longer” and “narrower” than previous architectures found by NAS for higher clean accuracy (Zoph & Le, 2016; Zoph et al., 2017). "
1698
+ ],
1699
+ "image_footnote": [],
1700
+ "bbox": [
1701
+ 174,
1702
+ 190,
1703
+ 821,
1704
+ 803
1705
+ ],
1706
+ "page_idx": 15
1707
+ }
1708
+ ]
parse/train/rk6H0ZbRb/rk6H0ZbRb_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/ryebG04YvB/ryebG04YvB.md ADDED
@@ -0,0 +1,268 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ADVERSARIALLY ROBUST TRANSFER LEARNING
2
+
3
+ Ali Shafahi∗†, Parsa Saadatpanah∗†, Chen Zhu∗†, Amin Ghiasi†, Cristoph Studer‡,
4
+ ashafahi,parsa,chenzhu,amin @cs.umd.edu ; studer@cornell.edu
5
+ David Jacobs†, Tom Goldstein†
6
+ {djacobs,tomg}@cs.umd.edu
7
+
8
+ # ABSTRACT
9
+
10
+ Transfer learning, in which a network is trained on one task and re-purposed on another, is often used to produce neural network classifiers when data is scarce or full-scale training is too costly. When the goal is to produce a model that is not only accurate but also adversarially robust, data scarcity and computational limitations become even more cumbersome. We consider robust transfer learning, in which we transfer not only performance but also robustness from a source model to a target domain. We start by observing that robust networks contain robust feature extractors. By training classifiers on top of these feature extractors, we produce new models that inherit the robustness of their parent networks. We then consider the case of “fine tuning” a network by re-training end-to-end in the target domain. When using lifelong learning strategies, this process preserves the robustness of the source network while achieving high accuracy. By using such strategies, it is possible to produce accurate and robust models with little data, and without the cost of adversarial training. Additionally, we can improve the generalization of adversarially trained models, while maintaining their robustness.
11
+
12
+ # 1 INTRODUCTION
13
+
14
+ Deep neural networks achieve human-like accuracy on a range of tasks when sufficient training data and computing power is available. However, when large datasets are unavailable for training, or pracitioners require a low-cost training strategy, transfer learning methods are often used. This process starts with a source network (pre-trained on a task for which large datasets are available), which is then re-purposed to act on the target problem, usually with minimal re-training on a small dataset (Yosinski et al., 2014; Pan & Yang, 2009).
15
+
16
+ While transfer learning greatly accelerates the training pipeline and reduces data requirements in the target domain, it does not address the important issue of model robustness. It is well-known that naturally trained models often completely fail under adversarial inputs (Biggio et al., 2013; Szegedy et al., 2013). As a result, researchers and practitioners often resort to adversarial training, in which adversarial examples are crafted on-the-fly during network training and injected into the training set. This process greatly exacerbates the problems that transfer learning seeks to avoid. The high cost of creating adversarial examples increases training time (often by an order of magnitude or more). Furthermore, robustness is known to suffer when training on a small dataset (Schmidt et al., 2018). To make things worse, high-capacity models are often needed to achieve good robustness (Madry et al., 2017; Kurakin et al., 2016; Shafahi et al., 2019b), but these models may over-fit badly on small datasets.
17
+
18
+ # CONTRIBUTIONS
19
+
20
+ The purpose of this paper is to study the adversarial robustness of models produced by transfer learning. We begin by observing that robust networks contain robust feature extractors, which are resistant to adversarial perturbations in different domains. Such robust features can be used as a basis for semi-supervised transfer learning, which only requires re-training the last layer of a network. To demonstrate the power of robust transfer learning, we transfer a robust ImageNet source model onto the CIFAR domain, achieving both high accuracy and robustness in the new domain without adversarial training. We use visualization methods to explore properties of robust feature extractors. Then, we consider the case of transfer of learning by “fine-tuning.” In this case, the source network is re-trained end-to-end using a small number of epochs on the target domain. Unfortunately, this end-to-end process does not always retain the robustness of the source domain; the network “forgets” the robust feature representations learned on the source task. To address this problem, we use recently proposed lifelong learning methods that prevent the network from forgetting the robustness it once learned. Using our proposed methods, we construct robust models that generalize well. In particular, we improve the generalization of a robust CIFAR-100 model by roughly $2 \%$ while preserving its robustness.
21
+
22
+ # 2 BACKGROUND
23
+
24
+ Adversarial examples fall within the category of evasion attacks—test-time attacks in which a perturbation is added to a natural image before inference. Adversarial attacks are most often crafted using a differentiable loss function that measures the performance of a classifier on a chosen image. In the case of norm-constrained attacks (which form the basis of most standard benchmark problems), the adversary solves
25
+
26
+ $$
27
+ \operatorname* { m a x } _ { \delta } \quad l ( x + \delta , y , \theta ) \qquad \mathrm { s . t . } \quad \| \delta \| _ { p } \leq \epsilon ,
28
+ $$
29
+
30
+ where $\theta$ are the (already trained and frozen) parameters of classifier $c ( x , \theta ) \to \hat { y }$ that maps an image to a class, $l$ is the proxy loss used for classification (often cross-entropy), $\delta$ is the image perturbation, $( x , y )$ is the natural image and its true class, and $| | . | | _ { p }$ is some $\ell _ { p } { \ - } \mathrm { n o r m } ^ { 1 }$ . The optimization problem in Eq. 1 aims to find a bounded perturbation that maximizes the cross-entropy loss given the correct label. There are many variants of this process, including DeepFool (Moosavi-Dezfooli et al., 2016), L-BFGS (Szegedy et al., 2013), and CW (Carlini & Wagner, 2017).
31
+
32
+ Many researchers have studied methods for building a robust network which have been later shown to be ineffective when attacked with stronger adversaries (Athalye et al., 2018). Adversarial training (Szegedy et al., 2013) is one of the defenses that was not broken by Athalye et al. (2018). While adversarial training using a weak adversary such as the FGSM attack (Goodfellow et al., 2015) can be broken even by single step attacks which add a simple random step prior to the FGSM step (Tramer\` et al., 2017), adversarial training using a strong attack has successfully improved robustness. Madry et al. (2017) showed that a PGD attack (which is a BIM attack (Kurakin et al., 2016) with an initial random step and projection) is a strong enough attack to achieve promising adversarial training results. We will refer to this training method as PGD adversarial training. PGD adversarial training achieves good robustness on bounded attacks for MNIST (LeCun et al., 1998) and acceptable robustness on CIFAR-10 (Krizhevsky & Hinton, 2009) classifiers.
33
+
34
+ Tsipras et al. (2018) show that adversarial training with strong PGD adversaries has many benefits in addition to robustness. They also state that while adversarial training may improve generalization in regimes where training data is limited (especially on MNIST), it may be at odds with generalization in regimes where data is available. This trade-off was also recently studied by Zhang et al. (2019), Su et al. (2018), and Shafahi et al. (2019a).
35
+
36
+ While, to the best of our knowlegde, the transferability of robustness has not been studied in depth, Hendrycks et al. (2019) studied the case of adversarially training models that were pre-trained on different domains. Our work is fundamentally different in that we seek to transfer robustness without resorting to costly and data-hungry adversarial training. We train the target model on natural examples only, which allows us to directly study how well robustness transfers. Additionally, this allows us to have better generalization and achieve higher accuracy on validation examples. While as Hendrycks et al. (2019) state, fine-tuning on adversarial examples built for the target domain can improve robustness of relatively large datasets such as CIFAR-10 and CIFAR-100 compared to adversarial training from scratch on the target domain, we show that in the regimes of limited data (where transfer learning is more common), adversarially robust transfer learning can lead to better results measured in terms of both robustness and clean validation accuracy.
37
+
38
+ Table 1: Accuracy and robustness of natural and adversarially trained models on CIFAR- $^ { 1 0 + }$ and CIFAR- $1 0 0 +$ . The $" + "$ sign denotes standard data augmentation $( \epsilon = 8$ ).
39
+
40
+ <table><tr><td>Dataset</td><td>model</td><td>validation accuracy</td><td>accuracy on PGD-20</td><td> accuracy on CW-20</td></tr><tr><td rowspan="2">CIFAR-10+</td><td rowspan="2">natural robust</td><td>95.01%</td><td>0.00%</td><td>0.00%</td></tr><tr><td>87.25%</td><td>45.84%</td><td>46.96%</td></tr><tr><td rowspan="2">CIFAR-100+</td><td rowspan="2">natural robust</td><td>78.84%</td><td>0.00%</td><td>0.00%</td></tr><tr><td>59.87%</td><td>22.76%</td><td>23.16%</td></tr></table>
41
+
42
+ # 3 THE ROBUSTNESS OF DEEP FEATURES
43
+
44
+ In this section, we explore the robustness of different network layers, and demonstrate that robust networks rely on robust deep features. To do so, we start from robust classifiers $( c ( \theta _ { r } ) )$ for the CIFAR-100 and CIFAR-10 datasets (Krizhevsky & Hinton, 2009), and update $\theta$ by training on natural examples. In each experiment, we re-initialize the last $k$ layers/blocks of the network, and re-train just those layers. We start by re-initializing just the last layer, then the last two, and so on until we re-initialize all the layers.
45
+
46
+ We use the adversarially trained Wide-ResNet 32-10 (Zagoruyko & Komodakis, 2016) for CIFAR10 from Madry et al. (2017) as our robust model for CIFAR-10. We also adversarially train our own robust classifier for CIFAR-100 using the code from Madry et al. (2017). To keep things consistent, we use the same hyper-parameters used by Madry et al. (2017) for adversarially training CIFAR-10 to adversarially train the CIFAR-100 model.2 The performance of the CIFAR-10 and CIFAR-100 models on natural and adversarial examples are summarized in Table 1. To measure robustness, we evaluate the models on adversarial examples built using PGD attacks.
47
+
48
+ We break the WRN 32-10 model into 17 blocks, which are depicted in Fig. 2. In each experiment, we first re-initialize the $k$ deepest blocks (blocks 1 through $k$ ) and then train the parameters of those blocks on natural images3. We train for 20,000 iterations using Momentum SGD and a learning rate of 0.001. We then incrementally unfreeze and train more blocks. For each experiment, we evaluate the newly trained model’s accuracy on validation adversarial examples built with a 20-step PGD $\ell _ { \infty }$ attack with $\epsilon = 8$ .
49
+
50
+ Fig. 1 shows that robustness does not drop if only the final layers of the networks are re-trained on natural examples. In fact, there is a slight increase in robustness compared to the baseline PGD7 adversarially trained models when we just retrain the last batch-normalization block and fully connected block. As we unfreeze and train more blocks, the network’s robustness suddenly drops. This leads us to believe that a hardened network’s robustness is mainly due to robust deep feature representations and robustness is preserved if we re-train on top of deep features.
51
+
52
+ ![](images/c33719c1a824606b01236b8b81daf48b068d3513906190353bbe64339d86daf0.jpg)
53
+ Figure 2: Wide Resnet 32-10 and the blocks used for freezing/retraining
54
+
55
+ Now that we have identified feature extractors as a source of robustness, it is natural to investigate whether robustness is preserved when transfer learning using robust feature extractors. We will study two different approaches for transferring robustness across datasets: one in which only the last layer is re-trained, and one with end-to-end re-training.
56
+
57
+ ![](images/26389130b72972f6e201592b236dfb033e1ef54168c8a5802e473d5d373c7127.jpg)
58
+ Figure 1: Robustness is preserved when we retrain only the deepest block(s) of robust CIFAR10 and CIFAR-100 models using natural examples. The vertical axis is the accuracy on PGD-20 generated adversarial examples (i.e. robustness) after re-training deep layers. The robustness of the adversarially trained models if all layers are frozen are shown with dashed lines.
59
+
60
+ # 4 TRANSFER LEARNING: RECYCLING FEATURE EXTRACTORS
61
+
62
+ We study how robustness transfers when the feature extractor layers of the source network are frozen, and we retrain only the last fully connected layer (i.e. the classification layer) for the new task. Formally, the transfer learning objective is:
63
+
64
+ $$
65
+ \operatorname* { m i n } _ { w } \quad l ( z ( x , \theta ^ { * } ) , y , w )
66
+ $$
67
+
68
+ where $z$ is the deep feature extractor function with pre-trained and now “frozen” parameters $\theta ^ { * }$ , and $w$ represents the trainable parameters of the last fully connected layer. To investigate how well robustness transfers, we use two source models: one that is hardened by adversarial training and another that is naturally trained.
69
+
70
+ We use models trained on CIFAR-100 as source models and perform transfer learning from CIFAR100 to CIFAR-10. The results are summarized in Table 2. Compared to adversarial/natural training the target model, transferring from a source model seems to result in a drop in natural accuracy (compare first row of Table 1 to the first row of Table 2). This difference is wider when the source and target data distributions are dissimilar (Yosinski et al., 2014).
71
+
72
+ To evaluate our method on two datasets with more similar attributes, we randomly partition CIFAR100 into two disjoint subsets where each subset contains images corresponding to 50 classes. Table 2 shows the accuracy of transferring from one of the disjoint sets to the other (second row) and to the same set (third row). We can compare results of transfer learning with adversarial training on CIFAR-100 by averaging the results in the second and third rows of Table 2 to get the accuracy across all 100 classes of CIFAR-100.4 By doing so, we see that the accuracy of the transferred classifier matches that of the adversarially trained one, even though no adversarial training took place in the target domain. For completeness, we have also included experiments where we use CIFAR-10 as the source and CIFAR-100 as the target domain.
73
+
74
+ We make the following observations from the transfer-learning results in Table 2. 1) robustness transfers: when the source model used for transfer learning is robust, the target model is also robust (although less so than the source), 2) robustness transfers between models that are more similar: If the source and target models are trained on datasets which have similar distributions (and number of classes), robustness transfers better, and 3) validation accuracy is worst if we use a robust model as the source compared to using a conventionally trained source model: if the source model is naturally trained, the natural validation accuracy is better, although the target model is then vulnerable to adversarial perturbations.
75
+
76
+ Table 2: Transfer learning by freezing the feature extractor layers $\epsilon = 8$ ).
77
+
78
+ <table><tr><td rowspan=1 colspan=1>Source Dataset</td><td rowspan=1 colspan=1>Target Dataset</td><td rowspan=1 colspan=1>Source Model</td><td rowspan=1 colspan=1>val.</td><td rowspan=1 colspan=1>PGD-20</td><td rowspan=1 colspan=2>CW-20</td></tr><tr><td rowspan=2 colspan=1>CIFAR-100</td><td rowspan=2 colspan=1>CIFAR-10</td><td rowspan=2 colspan=1>naturalrobust</td><td rowspan=1 colspan=1>83.05%</td><td rowspan=1 colspan=1>0.00%</td><td rowspan=1 colspan=2>0.00%</td></tr><tr><td rowspan=1 colspan=1>72.05%</td><td rowspan=1 colspan=1>17.70%</td><td rowspan=1 colspan=2>17.43%</td></tr><tr><td rowspan=2 colspan=1>CIFAR-100(50% of classes)</td><td rowspan=2 colspan=1>CIFAR-100(other 50% of classes)</td><td rowspan=2 colspan=1>naturalrobust</td><td rowspan=1 colspan=1>71.44%</td><td rowspan=2 colspan=1>0.00%15.86%</td><td rowspan=2 colspan=2>0.00%15.30%</td></tr><tr><td rowspan=1 colspan=1>58.48%</td></tr><tr><td rowspan=2 colspan=1>CIFAR-100(50% of classes)</td><td rowspan=2 colspan=1>CIFAR-100(same 50% of classes)</td><td rowspan=2 colspan=1>naturalrobust</td><td rowspan=1 colspan=1>80.20%</td><td rowspan=1 colspan=1>0.00%</td><td rowspan=2 colspan=2>0.00%25.56%</td></tr><tr><td rowspan=1 colspan=1>64.96%</td><td rowspan=1 colspan=1>25.16%</td><td rowspan=1 colspan=1>2</td></tr><tr><td rowspan=2 colspan=1>CIFAR-10</td><td rowspan=2 colspan=1>CIFAR-100</td><td rowspan=2 colspan=1>naturalrobust</td><td rowspan=2 colspan=1>49.66%41.59%</td><td rowspan=1 colspan=1>0.00%</td><td rowspan=1 colspan=1>0.0</td><td rowspan=1 colspan=1>0.00%</td></tr><tr><td rowspan=1 colspan=1>11.63%</td><td rowspan=1 colspan=2>9.68%</td></tr></table>
79
+
80
+ Table 3: Transfer learning from ImageNet $\epsilon = 5$ ).
81
+
82
+ <table><tr><td>Architecture and Source Dataset</td><td>Target Dataset</td><td>Source Model</td><td>val.</td><td>PGD-20</td><td>CW-20</td></tr><tr><td>ResNet-50 ImageNet</td><td>CIFAR-10+ CIFAR-100+</td><td>natural robust (ε = 5) natural robust (e = 5)</td><td>90.49% 88.33% 72.84% 68.88% 82.00%</td><td>0.01% 22.66% 0.05% 15.21%</td><td>0.00% 26.01% 0.00% 18.34%</td></tr><tr><td colspan="4">Robust u-ResNet-50 (ε = 5) for CIFAR-10+ Robust u-ResNet-50 (ε = 5) for CIFAR-100+</td><td>53.11% 59.90% 29.54%</td><td></td></tr></table>
83
+
84
+ # 4.1 TRANSFER LEARNING WITH IMAGENET MODELS
85
+
86
+ Transfer learning using models trained on ImageNet (Russakovsky et al., 2015) as the source is a common practice in industry because ImageNet feature extractors are powerful and expressive. In this section we evaluate how well robustness transfers from these models.
87
+
88
+ # 4.1.1 TRANSFER LEARNING USING IMAGENET
89
+
90
+ Starting from both a natural and robust ImageNet model, we perform the same set of experiments we did in section 4. Robust ImageNet models do not withstand untargeted $\ell _ { \infty }$ attacks using as large an $\epsilon$ as those that can be used for simpler datasets like CIFAR. Following the method Shafahi et al. (2019b), we “free train” a robust ResNet-50 on ImageNet using replay hyper-parameter $m = 4$ . The hardened ImageNet classifier withstands attacks bounded by $\epsilon = 5$ . Our robust ImageNet achieves $5 9 . 0 5 \%$ top-1 accuracy and roughly $27 \%$ accuracy against $\mathrm { P G D } { - } 2 0 \ \ell _ { \infty } \ \epsilon = 5$ attacks on validation examples. We experiment with using this robust ImageNet model and a conventionally trained ResNet-50 ImageNet model as the source models.
91
+
92
+ Using the ImageNet source models, we train CIFAR classifiers by retraining the last layer on natural CIFAR examples. We up-sample the $3 2 \times 3 2$ -dimensional CIFAR images to $2 2 4 \times 2 2 4$ before feeding them into the ResNet-50 source models that are trained on ImageNet. For evaluation purposes, we also train robust ResNet-50 models from scratch using (Shafahi et al., 2019b) for the CIFAR models. To ensure that the transfer learning models and the end-to-end trained robust models have the same capacity and dimensionality, we first upsample the CIFAR images before feeding them to the ResNet-50 model. To distinguish between the common case of training ResNet models on CIFAR images that are $3 2 \times 3 2$ -dimensional, we call our models that are trained on the upsampled CIFAR datasets the upsample-first ResNets or “ $_ u$ -ResNets”.
93
+
94
+ Table 3 illustrates that using a robust ImageNet model as a source results in high validation accuracy for the transferred CIFAR target models. Also, given that the ImageNet classifier by itself is $27 \%$ robust, the CIFAR-10 model maintains the majority of that $27 \%$ robustness. When we compare the end-to-end hardened classifiers (robust u-ResNets) with the transferred classifier, we can see that while the robustness is less for the transferred case, transferred models result in considerably better performance on clean validation examples.
95
+
96
+ ![](images/01d1c93d1deb9bf8eb77a92ca8ee8b52dc60c15e403ab86ce0a13a908ea8a7ca.jpg)
97
+ Figure 3: When the number of training data per-class is very limited (right bars), adversarially robust transfer learning [Transferred] is better in all metrics. However, as the number of training data increases (left bars), fine-tuning with adversarial examples of the target domain [Fine-tuned with AT] results in more robustness. Adversarially robust transfer learning always results in models that work better on natural examples and is $3 \times$ faster than fine-tuning with adversarial examples of the target domain. Using a pre-trained robust ImageNet improves both robustness and generalization.
98
+
99
+ # 4.2 LOW-DATA REGIME
100
+
101
+ As touched on before, transfer learning is more common in situations where the number of training points in the target domain is limited. Up until now, as a proof of concept, we have illustrated the majority of our experiments on the CIFAR target domains where we have many training points perclass. Hendrycks et al. (2019) show that starting from a pre-trained robust ImageNet model and fine-tuning on adversarial examples of the CIFAR domain can improve robustness beyond that of simply adversarial training CIFAR. Here, we illustrate the effect of training data size on robustness and natural performance by running various experiments on subsets of CIFAR-100 where we vary the number of training points per-class $( N )$ .
102
+
103
+ We compare three different hardening methods: (1) Free-training/adversarial training the target domain (Shafahi et al., 2019b); (2) fine-tuning using adversarial examples of the target task starting from the Free-4 robust ImageNet model similar to (Hendrycks et al., 2019); and (3) training a fully connected layer on top of the frozen feature extractors of the Free-4 robust ImageNet model using natural examples from the target task. For comparing the three different approaches, we look at three metrics: (a) clean validation accuracy; (b) robustness against PGD-20 validation adversarial examples; and (c) average of robustness and clean performance $( ( ( { \mathbf { a } } ) \substack { + } ( { \mathbf { b } } ) ) / 2 .$ .) The results are summarized in Fig. 3. In the regimes where transfer learning is more common, adversarially robust transfer learning results in the best overall performance. Adversarially/Free training the target domain results in less robustness and validation accuracy compared to fine-tuning which highlights the importance of pre-training (Hendrycks et al., 2019). Note that in terms of computational resources required, the cost of fine-tuning on adversarial examples of the target domain is about $k \times$ our method since it requires generation of adversarial examples using $k$ -step PGD attacks (we set $k = 3$ ).
104
+
105
+ # 4.2.1 TRAINING DEEPER NETWORKS ON TOP OF ROBUST FEATURE EXTRACTORS
106
+
107
+ The basic transfer learning setting of section 4.1.1 only re-trains one layer for the new task. In section 4.1.1, when we transferred from the robust ImageNet to CIFAR-100, the natural training accuracy was $8 8 . 8 4 \%$ . Given the small number of trainable parameters left for the network $( \approx 2 0 4 8 \times 1 0 0 )$ and the fixed feature extractor, the network was not capable of completely fitting the training data. This means that there is potential to improve natural accuracy by learning more complex non-linear features and increasing the number of trainable parameters.
108
+
109
+ To increase representation capacity and the number of trainable parameters, instead of training a 1- layer network on top of the feature extractor, we train a multi-layer perceptron (MLP) network on top of the robust feature extractor. To keep things simple and prevent bottle-necking, every hidden layer we add has 2048 neurons. We plot the training and validation accuracies on the natural examples and the robustness (i.e. PGD-20 validation accuracy) in Fig. 4 for various numbers of hidden layers. As can be seen, adding one layer is enough to achieve $100 \%$ training accuracy. However, doing so does not result in an increase in validation accuracy. To the contrary, adding more layers can result in a slight drop in validation accuracy due to overfitting. As illustrated, we can improve generalization using simple but effective methods such as dropout (Srivastava et al., 2014) (with probability 0.25) and batch-normalization (Ioffe & Szegedy, 2015).
110
+
111
+ However, the most interesting behavior we observe in this experiment is that, as we increase the number of hidden layers, the robustness to PGD-20 attacks improves. Note, this seems to happen even when we transfer from a naturally trained ImageNet model. While for the case where we have no hidden layers, robustness is $0 . 0 0 \%$ on CIFAR100 when we use a naturally trained ImageNet model as source, if our MLP has 1, 2, 3, or 5 hidden layers, our robustness against PGD attacks would be $0 . 0 3 \%$ , $0 . 0 9 \%$ , $0 . 3 1 \%$ and $6 . 6 1 \%$ , respectively. This leads us to suspect that this behavior may be an artifact of vanishing gradients for adversary as the softmax loss saturates when the data is fit perfectly (Athalye et al., 2018). Therefore, for this case we change our robustness measure and use the CW attack (Carlini & Wagner, 2017) which will encounter fewer numerical issues because its loss function does not have a softmax component and does not saturate. Attacking the model from the natural source with CW-20 completely breaks the model and achieves $0 . 0 0 \%$ robustness. Most interestingly, attacking the model transferred from a robust source using the CW objective maintains robustness even when the number of hidden layers increases.
112
+
113
+ ![](images/d7dc13914a53060c4642c873547b936577d5c1b0aac10205445054bce8269453.jpg)
114
+ Figure 4: Training an MLP for CIFAR-100 on top of the robust feature extractors from ImageNet. The xaxis corresponds to the number of hidden layers (0 is a linear classifier and corresponds to experiments in section 4.1.1). Robustness stems from robust feature extractors. Adding more layers on top of this extractor does not hurt robustness. Interestingly, simply adding more layers does not improve the validation accuracy and just results in more overfitting (i.e. training accuracy becomes $100 \%$ ). We can slightly improve generalization using batch norm (BN) and dropout (DO).
115
+
116
+ # 5 ANALYSIS: ROBUST FEATURE EXTRACTORS ARE FILTERS
117
+
118
+ Our experiments suggest that the robustness of neural networks arises in large part from the presence of robust feature extractors. We have used this observation to transfer both robustness and accuracy between domains using transfer-learning. However, we have not yet fully delved into what it means to have a robust feature extractor. Through visualizations, Tsipras et al. (2018) studied how adversarial training causes the image gradients of neural networks to exhibit meaningful generative behavior. In other words, adversarial perturbations on hardened networks “look like” the class into which the image is perturbed. Given that optimization-based attacks build adversarial examples using the image gradient, we also visualize the image gradients of our transferred models to see if they exhibit the same generative behavior as adversarially trained nets.
119
+
120
+ Fig. 5 plots the gradient of the loss w.r.t. the input image for models obtained by re-training only the last layer, and also for the case where we train MLPs on top of a robust feature extractor. The gradients for the transfer-learned models with a robust source are interpretable and “look like” the adversarial object class, while the gradients of models transferred from a natural source do not. This interpretatbility comes despite the fact that the source model was hardened against attacks on one dataset, and the transferred model is being tested on object classes from another. Also, we see that adding more layers on top of the feature extractor, which often leads to over-fitting, does not make gradients less interpretable. This latter observation is consistent with our observation that added layers preserve robustness(Fig. 4).
121
+
122
+ These observations, together with the success of robust transfer learning, leads us to speculate that a robust model’s feature extractors act as a “filter” that ignores irrelevant parts of the image.
123
+
124
+ ![](images/08230f2415fe9b53e0ed050b0381109d2e05361ef7883e2dc1b013007c587098.jpg)
125
+ Figure 5: Gradients of the loss w.r.t to input images for the CIFAR-100 transfer learning experiments of sections $4 . 1 . 1 \ \&$ 4.2.1. The top row contains sample CIFAR-100 images. Other rows contain image gradients of the model loss. The second row is for a model transferred from a naturally trained ImageNet source. Rows 3-5 are for models transferred from a robust ImageNet source. These rows correspond to an MLP with 0 (row 3), 1 (row 4), and 2 (row 5) hidden layers on top of the robust feature extractor. The gradients in the last three rows all show interpretable generative behavior.
126
+
127
+ # 6 END-TO-END TRAINING WITHOUT FORGETTING
128
+
129
+ As discussed in section 4, transfer learning can preserve robustness of the robust source model. However, it comes at the cost of decreased validation accuracy on natural examples compared to the case where we use a naturally trained source model. Consequently, there seems to be a trade-off between generalization and robustness based on the choice of the source model. For any given classifer, the trade-off between generalization and robustness is the subject of recent research (Tsipras et al., 2018; Zhang et al., 2019; Shafahi et al., 2019a). In this section, we intend to improve the overall performance of classifiers transferred from a robust source model by improving their generalization on natural images. To do so, unlike previous sections where we froze the feature extractor mainly to preserve robustness, we fine tune the feature extractor parameters $\theta$ . Ideally, we should learn to perform well on the target dataset without catastrophically forgetting the robustness of the source model. To achieve this, we utilize lifelong learning methods.
130
+
131
+ Learning without Forgetting (LwF) (Li & Hoiem, 2018) is a method for overcoming catastrophic forgetting. The method is based on distillation. In this framework, we train the target model with a loss that includes a distillation term from the previous model.
132
+
133
+ $$
134
+ \operatorname* { m i n } _ { w , \theta } \quad l ( z ( x , \theta ) , y , w ) + \lambda _ { d } \cdot d ( z ( x , \theta ) , z _ { 0 } ( x , \theta _ { r } ^ { * } ) )
135
+ $$
136
+
137
+ ![](images/1b65be02dcb26f582c98135d5bcacb719bebefac5da0577079cd0b265af93269.jpg)
138
+ Figure 6: Our LwF loss has a term that enforces the similarity of feature representations (i.e. penultimate layer activations) between the source model and the fine-tuned model.
139
+
140
+ where, in our method, $\lambda _ { d }$ is the feature representation similarity penalty, and $d$ is some distance metric between the robust model’s feature representations $z _ { 0 } ( x , \theta _ { r } ^ { * } )$ and the current model’s feature representations $z ( x , \theta )$ . Unlike the original LwF paper that used a distilled loss from Hinton et al. (2015) and applies distillation to the logits, we simply choose $d$ to be the $\ell _ { 2 }$ -norm and apply distillation to the penultimate layer5. Our loss is designed to make the feature representations of the source and target network similar, thus preserving the robust feature representations (Fig. 6). Ideally, $z ( x , \theta ) \approx \mathbf { \bar { \Phi } } { z } ( x , \theta _ { r } ^ { * } )$ . To speed up training, given robust feature extractor parameters $\theta _ { r } ^ { * }$ , we store $z _ { 0 } ( x , \theta _ { r } ^ { * } )$ for the images of the target task and load this from memory (i.e. offline) instead of performing a forward pass through the robust source network online. Therefore, in the experiments related to LwF, we do not train with data augmentation because we have not pre-computed $z ( x _ { a } , \theta _ { r } ^ { * } )$ , where $x _ { a }$ is the augmented image. Empirically we verified that $d ( z ( x , \theta _ { r } ^ { * } ) , z ( x _ { a } , \theta _ { r } ^ { * } ) )$ was not negligible6.
141
+
142
+ To improve performance, we follow a warm-start scheme and only train the fully connected parameters $w$ early in training. We then cut the learning rate and continue fine tuning both feature extractors $\mathbf { \eta } ^ { ( \theta ) }$ and $w$ . In our experiments, we use a learning rate of 0.001, and the warm-start makes up half of the total training iterations. Starting from the pre-trained source model, we train for a total of 20,000 iterations with batch-size 128. The results with an adversarially trained CIFAR-100 model as source and CIFAR-10 as target are summarized in Table 4.7
143
+
144
+ As can be seen, having a LwF-type regularizer helps in maintaining robustness and also results in a considerable increase in validation accuracy. The trade-off between robustness and generalization can be controlled by the choice of $\lambda _ { d }$ . It seems that for some choices of $\lambda _ { d }$ such as 0.1, robustness also increases. However, in hindsight, the increase in accuracy on PGD-20 adversarial examples is not solely due to improvement in robustness. It is due to the fact that the validation accuracy has increased and we have a better classifier overall. For easier comparisons, we have provided the transfer results without LwF at the bottom of Table 4. Note that using LwF, we can keep the robustness of the source model and also achieve clean validation accuracy comparable to a model that uses naturally trained feature extractors. In the supplementary, we show that similar conclusions can be drawn for the split CIFAR-100 task.
145
+
146
+ Table 4: Distilling robust features using learning without forgetting. The bottom rows show results from transfer learning with a frozen feature extractor. The $\cdot _ { + } ,$ sign refers to using augmentation.
147
+
148
+ <table><tr><td>Source →Target Dataset</td><td>Source Model</td><td>入d</td><td>val.</td><td>PGD-20 (ε = 8)</td></tr><tr><td rowspan="5">CIFAR-100+→CIFAR-10</td><td rowspan="5">robust</td><td>1e-7</td><td>89.07%</td><td>0.61%</td></tr><tr><td>0.001</td><td>86.15%</td><td>4.70%</td></tr><tr><td>0.0025</td><td>81.90%</td><td>15.42%</td></tr><tr><td>0.005</td><td>79.35%</td><td>17.61%</td></tr><tr><td>0.01</td><td>77.73%</td><td>17.55%</td></tr><tr><td rowspan="2">CIFAR-10O+→CIFAR-10+</td><td rowspan="2">natural robust</td><td>0.1 NA</td><td>73.39% 83.05%</td><td>18.62% 0.00%</td></tr><tr><td>NA</td><td>72.05%</td><td>17.70%</td></tr></table>
149
+
150
+ # ECREASING GENERALIZATION GAP OF ADVERSARIALLY TRAINED NETWORK
151
+
152
+ We demonstrated in our transfer experiments that using our LwF-type loss, can help decrease the generalization gap while preserving robustness. In this section, we assume that the source domain is the adversarial example domain of a dataset and the target domain is the clean example domain of the same dataset. This experiment can be seen as applying transfer learning from the adversarial example domain to the natural example domain while preventing forgetting the adversarial domain.
153
+
154
+ In the case where the source and target datasets are the same (Transferring from a robust CIFAR-100 model to CIFAR-100), by applying our LwF-type loss, we can improve the generalization of robust models. Our results are summarized in Table 5.
155
+
156
+ Table 5: Decreasing generalization gap by transferring with LwF. For reference, last row shows results from adversarial training CIFAR-100. The $\cdot _ { + } ,$ sign refers to using augmentation. $\epsilon = 8$ )
157
+
158
+ <table><tr><td>Source→Target Dataset</td><td>Source Model</td><td>入d</td><td>val.</td><td>PGD-20</td><td>CW-20</td></tr><tr><td rowspan="3">CIFAR-10O+→ CIFAR-100</td><td rowspan="3">robust</td><td>1e-5</td><td>61.53% 61.71%</td><td>21.83% 23.44%</td><td>21.97% 22.94%</td></tr><tr><td>5e-5 1e-4</td><td>61.38%</td><td>23.95%</td><td>23.40%</td></tr><tr><td>0.001</td><td>60.17%</td><td>24.31%</td><td>23.17%</td></tr><tr><td>CIFAR-100+</td><td>robust</td><td>0.01 NA</td><td>59.87% 59.87%</td><td>24.10% 22.76%</td><td>22.96% 23.16%</td></tr></table>
159
+
160
+ # 7 CONCLUSION
161
+
162
+ We identified the feature extractors of adversarially trained models as a source of robustness, and use this observation to transfer robustness to new problems domains without adversarial training. While transferring from a natural model can achieve higher validation accuracy in comparison to transferring from a robust model, we can close the gap and maintain the initial transferred robustness by borrowing ideas from the lifelong learning literature. The success of this methods suggests that a robust feature extractor is effectively a filter that sifts out relevant components of an image that are needed to assign class labels. We hope that the insights from this study enable practitioners to build robust models in situations with limited labeled training data, or when the cost and complexity of adversarial training from scratch is untenable.
163
+
164
+ Acknowledgements: Goldstein and his students were supported by the DARPA QED for RML program, the DARPA GARD program, and the National Science Foundation.
165
+
166
+ # REFERENCES
167
+
168
+ Anish Athalye, Nicholas Carlini, and David Wagner. Obfuscated gradients give a false sense of security: Circumventing defenses to adversarial examples. arXiv preprint arXiv:1802.00420, 2018.
169
+
170
+ Battista Biggio, Igino Corona, Davide Maiorca, Blaine Nelson, Nedim Srndi ˇ c, Pavel Laskov, Gior- ´ gio Giacinto, and Fabio Roli. Evasion attacks against machine learning at test time. In Joint European conference on machine learning and knowledge discovery in databases, pp. 387–402. Springer, 2013.
171
+
172
+ Nicholas Carlini and David Wagner. Towards evaluating the robustness of neural networks. In 2017 IEEE Symposium on Security and Privacy (SP), pp. 39–57. IEEE, 2017.
173
+
174
+ Ian J Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. International Conference on Learning Representation, 2015.
175
+
176
+ Dan Hendrycks, Kimin Lee, and Mantas Mazeika. Using pre-training can improve model robustness and uncertainty. arXiv preprint arXiv:1901.09960, 2019.
177
+
178
+ Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015.
179
+
180
+ Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. arXiv preprint arXiv:1502.03167, 2015.
181
+
182
+ Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. Technical report, Citeseer, 2009.
183
+
184
+ Alexey Kurakin, Ian Goodfellow, and Samy Bengio. Adversarial machine learning at scale. arXiv preprint arXiv:1611.01236, 2016.
185
+
186
+ Yann LeCun, Leon Bottou, Yoshua Bengio, Patrick Haffner, et al. Gradient-based learning applied ´ to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998.
187
+
188
+ Zhizhong Li and Derek Hoiem. Learning without forgetting. IEEE transactions on pattern analysis and machine intelligence, 40(12):2935–2947, 2018.
189
+
190
+ Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. arXiv preprint arXiv:1706.06083, 2017.
191
+
192
+ Seyed-Mohsen Moosavi-Dezfooli, Alhussein Fawzi, and Pascal Frossard. Deepfool: a simple and accurate method to fool deep neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 2574–2582, 2016.
193
+
194
+ Sinno Jialin Pan and Qiang Yang. A survey on transfer learning. IEEE Transactions on knowledge and data engineering, 22(10):1345–1359, 2009.
195
+
196
+ Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, et al. Imagenet large scale visual recognition challenge. International journal of computer vision, 115(3):211–252, 2015.
197
+
198
+ Ludwig Schmidt, Shibani Santurkar, Dimitris Tsipras, Kunal Talwar, and Aleksander Madry. Adversarially robust generalization requires more data. In Advances in Neural Information Processing Systems, pp. 5014–5026, 2018.
199
+
200
+ Ali Shafahi, W Ronny Huang, Christoph Studer, Soheil Feizi, and Tom Goldstein. Are adversarial examples inevitable? ICLR, 2019a.
201
+
202
+ Ali Shafahi, Mahyar Najibi, Amin Ghiasi, Zheng Xu, John Dickerson, Christoph Studer, Larry S Davis, Gavin Taylor, and Tom Goldstein. Adversarial training for free! arXiv preprint arXiv:1904.12843, 2019b.
203
+
204
+ Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: a simple way to prevent neural networks from overfitting. The Journal of Machine Learning Research, 15(1):1929–1958, 2014.
205
+
206
+ Dong Su, Huan Zhang, Hongge Chen, Jinfeng Yi, Pin-Yu Chen, and Yupeng Gao. Is robustness the cost of accuracy?–a comprehensive study on the robustness of 18 deep image classification models. In Proceedings of the European Conference on Computer Vision (ECCV), pp. 631–648, 2018.
207
+
208
+ Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. arXiv preprint arXiv:1312.6199, 2013.
209
+
210
+ Florian Tramer, Alexey Kurakin, Nicolas Papernot, Ian Goodfellow, Dan Boneh, and Patrick Mc-\` Daniel. Ensemble adversarial training: Attacks and defenses. arXiv preprint arXiv:1705.07204, 2017.
211
+
212
+ Dimitris Tsipras, Shibani Santurkar, Logan Engstrom, Alexander Turner, and Aleksander Madry. Robustness may be at odds with accuracy. stat, 1050:11, 2018.
213
+
214
+ Jason Yosinski, Jeff Clune, Yoshua Bengio, and Hod Lipson. How transferable are features in deep neural networks? In Advances in neural information processing systems, pp. 3320–3328, 2014.
215
+
216
+ Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. arXiv preprint arXiv:1605.07146, 2016.
217
+
218
+ Hongyang Zhang, Yaodong Yu, Jiantao Jiao, Eric P Xing, Laurent El Ghaoui, and Michael I Jordan. Theoretically principled trade-off between robustness and accuracy. arXiv preprint arXiv:1901.08573, 2019.
219
+
220
+ # A EXPERIMENT DETAILS
221
+
222
+ # A.1 LWF-BASED EXPERIMENTS
223
+
224
+ In our LWF-based experiments, we use a batch-size of 128, a fixed learning-rate of $1 \mathrm { e } { - } 2 \mathrm { m }$ , and fine-tune for an additional 20,000 iterations. The first 10,000 iterations are used for warm-start; during which we only update the final fully connected layer’s weights. During the remaining 10,000 iterations, we update all of the weights but do not update the batch-normalization parameters.
225
+
226
+ # A.2 IMAGENET TO CIFAR EXPERIMENTS
227
+
228
+ When freezing the feature extractor and fine-tuning on adversarial examples, we train the last fully connected layer’s weights for 50 epochs using batch-size ${ \mathrm { - } } 1 2 8$ . We start with an initial learning rate of 0.01 and drop the learning rate to 0.001 at epoch 30. In the case of fine-tuning on adversarial examples, we generate the adversarial examples using a 3 step PGD attack with step-size 3 and a perturbation bound $\epsilon = 5$ .
229
+
230
+ # A.3 FREE TRAINING EXPERIMENTS
231
+
232
+ In all of our free-training experiments where we train the u-ResNet-50, we train for 90 epochs using a batch-size of 128. The initial learning rate used is 0.1 and we drop it by a factor of 10 at epochs 30 and 60. We use a replay parameter $m = 4$ and perturbation bound $\epsilon = 5$ .
233
+
234
+ # B THE DISTANCE BETWEEN FEATURE REPRESENTATIONS OF NATURAL IMAGES AND AUGMENTED IMAGES
235
+
236
+ To speed up the LwF experiments, we did not use data augmentation during training. Instead of computing the robust feature representations on the fly, before starting training on the new target task, we passed the entire training data of the target task through the robust network and stored the feature representation vector. If we were doing data augmentation, we would have to pass the entire augmented training data through the network, which would be slow and memory intensive. Alternatively, we could use the robust feature representation of the non-augmented images instead. The latter would have been feasible if the distance between the robust feature representations of the non-augmented and augmented images were very small. However, as shown in fig 7, this quantity is not often negligible.
237
+
238
+ ![](images/90e6d476bbe24227f3b5adc4007f0636a46ea454fc9ede809e5b235b5396cdaa.jpg)
239
+
240
+ ![](images/e696063dae05d81986a48089ef4f43ba116824b44dcb9a050613231a804874a1.jpg)
241
+ (b) Histogram of $\lVert z ( x , \theta _ { r } ^ { * } ) , z ( x _ { a } , \theta _ { r } ^ { * } ) \rVert _ { 2 }$ for CIFAR100 dataset, given $\theta _ { r } ^ { * }$ for CIFAR-100 dataset. The mean for both training and test examples is $\simeq 5 . 5 7$
242
+
243
+ (a) Histogram of $\lVert z ( x , \theta _ { r } ^ { * } ) , z ( x _ { a } , \theta _ { r } ^ { * } ) \rVert _ { 2 }$ for CIFAR-10 dataset, given ${ \boldsymbol { \theta } } _ { r } ^ { * }$ for CIFAR-100 dataset. The mean for both training and test examples is $\simeq 5 . 5 3$
244
+
245
+ Figure 7: Figures $\mathrm { 7 a }$ and $\mathrm { 7 b }$ both show that the values of $\lVert z ( x , \theta _ { r } ^ { * } ) , z ( x _ { a } , \theta _ { r } ^ { * } ) \rVert _ { 2 }$ are high most of the time, consequently, LwF is better done without data augmentation.
246
+
247
+ ![](images/d27b48e4ddfaa40de01d092b3a1ed01194830c72e3afc0578cb181a10c8f0a56.jpg)
248
+ Figure 8: When the number of training data per-class is very limited (right bars), adversarially robust transfer learning [Transferred] is better overall. However, as the number of training data increases (left bars), fine-tuning with adversarial examples of the target domain [Fine-tuned with AT] results in an overall better performing model. Adversarially robust transfer learning is $3 \times$ faster than finetuning with adversarial examples of the target domain.
249
+
250
+ # C LOW-DATA REGIME TRANSFER LEARNING FROM IMAGENET TO CIFAR-10
251
+
252
+ In section 4.2, we illustrated that robust transfer learning is most beneficial where we have limited data (i.e., limited number of training data per class). We used CIFAR-100 as an illustrative target dataset. However, the overall results are not data set dependent. When we have limited number of training data, robust transfer learning results in the highest overall performance (see Fig. 8 for transferring from a robust ImageNet model to smaller instances of CIFAR-10).
253
+
254
+ # D LWF-BASED ROBUST TRANSFER LEARNING FOR SIMILAR SOURCE AND TARGET DATASETS
255
+
256
+ In Table 6 we conduct LwF experiments on the split CIFAR-100 task which is more suited for transfer learning due to the similarities between the source and target datasets. In these situations, the LwF regularizer on the feature representations still works and can improve generalization without becoming vulnerable to adversarial examples. If we take the average performance of the robust classifiers on the split tasks (average of robust half CIFAR-100 and the LwF setting model for $\lambda _ { d } = 0 . 0 1$ ) we get $( 6 3 . 3 2 + 6 4 . 9 6 ) / 2 = 6 4 . 1 4 \%$ average validation accuracy and $2 0 . 4 2 \%$ average robustness which is comparable with the case that we had adversarially trained the entire CIFAR-100 dataset (Table 1).
257
+
258
+ Table 6: Distilling robust features using LwF for the split CIFAR-100 task. For reference, we have included the results from transfer learning by freezing the features at the bottom of the table.
259
+
260
+ <table><tr><td rowspan=1 colspan=1>Source -→ Target Dataset</td><td rowspan=1 colspan=1>Source Model</td><td rowspan=1 colspan=1>入d</td><td rowspan=1 colspan=1>val.</td><td rowspan=1 colspan=1>PGD-20</td></tr><tr><td rowspan=1 colspan=1>CIFAR-100+ (1/2) → CIFAR-100 (other 1/2)</td><td rowspan=1 colspan=1>robust</td><td rowspan=1 colspan=1>0.0010.0050.010.1</td><td rowspan=1 colspan=1>73.30%66.96%63.32%55.14%</td><td rowspan=1 colspan=1>1.92%10.52%15.68%17.26%</td></tr><tr><td rowspan=1 colspan=1>CIFAR-100+ (1/2) →&gt; CIFAR-100+ (other 1/2)</td><td rowspan=1 colspan=1>naturalrobust</td><td rowspan=1 colspan=1>NANA</td><td rowspan=1 colspan=1>71.44%58.48%</td><td rowspan=1 colspan=1>0.00%15.86%</td></tr></table>
261
+
262
+ # E IMPROVING GENERALIZATION OF THE CIFAR-10 ADVERSARIALLY TRAINED MODEL
263
+
264
+ Similar to the case of improving the generalization for CIFAR-100, we use our LwF-based loss function to transfer from the robust CIFAR-10 domain to the natural CIFAR-10 domain. We summarize the results in Table 7.
265
+
266
+ Table 7: Decreasing generalization gap by transferring with LwF. For reference, last row shows results from adversarial training CIFAR-10. The $\cdot _ { + } ,$ sign refers to using augmentation. $\epsilon = 8$ )
267
+
268
+ <table><tr><td rowspan=1 colspan=1>Source → Target Dataset</td><td rowspan=1 colspan=1>Source Model</td><td rowspan=1 colspan=1>入d</td><td rowspan=1 colspan=1>val.</td><td rowspan=1 colspan=1>PGD-20</td><td rowspan=1 colspan=1>CW-20</td></tr><tr><td rowspan=3 colspan=1>CIFAR-10+ →CIFAR-10</td><td rowspan=3 colspan=1>robust</td><td rowspan=1 colspan=1>1e-5</td><td rowspan=1 colspan=1>88.16%</td><td rowspan=1 colspan=1>45.31%</td><td rowspan=1 colspan=1>46.15%</td></tr><tr><td rowspan=1 colspan=1>5e-5</td><td rowspan=1 colspan=1>88.08%</td><td rowspan=2 colspan=1>46.24%46.54%46.36%46.27%46.09%46.11%</td><td rowspan=2 colspan=1>47.06%47.29%47.16%47.06%46.92%46.84%</td></tr><tr><td rowspan=1 colspan=1>1e-45e-40.0010.010.1</td><td rowspan=1 colspan=1>87.81%87.44%87.31%87.27%87.49%</td></tr><tr><td rowspan=1 colspan=1>CIFAR-10+</td><td rowspan=1 colspan=1>robust</td><td rowspan=1 colspan=1>NA</td><td rowspan=1 colspan=1>87.25%</td><td rowspan=1 colspan=1>45.84%</td><td rowspan=1 colspan=1>46.96%</td></tr></table>
parse/train/ryebG04YvB/ryebG04YvB_content_list.json ADDED
@@ -0,0 +1,1476 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "ADVERSARIALLY ROBUST TRANSFER LEARNING ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 101,
9
+ 753,
10
+ 121
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Ali Shafahi∗†, Parsa Saadatpanah∗†, Chen Zhu∗†, Amin Ghiasi†, Cristoph Studer‡, \nashafahi,parsa,chenzhu,amin @cs.umd.edu ; studer@cornell.edu \nDavid Jacobs†, Tom Goldstein† \n{djacobs,tomg}@cs.umd.edu ",
17
+ "bbox": [
18
+ 184,
19
+ 143,
20
+ 766,
21
+ 205
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 242,
32
+ 544,
33
+ 257
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Transfer learning, in which a network is trained on one task and re-purposed on another, is often used to produce neural network classifiers when data is scarce or full-scale training is too costly. When the goal is to produce a model that is not only accurate but also adversarially robust, data scarcity and computational limitations become even more cumbersome. We consider robust transfer learning, in which we transfer not only performance but also robustness from a source model to a target domain. We start by observing that robust networks contain robust feature extractors. By training classifiers on top of these feature extractors, we produce new models that inherit the robustness of their parent networks. We then consider the case of “fine tuning” a network by re-training end-to-end in the target domain. When using lifelong learning strategies, this process preserves the robustness of the source network while achieving high accuracy. By using such strategies, it is possible to produce accurate and robust models with little data, and without the cost of adversarial training. Additionally, we can improve the generalization of adversarially trained models, while maintaining their robustness. ",
40
+ "bbox": [
41
+ 233,
42
+ 273,
43
+ 764,
44
+ 481
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 510,
55
+ 336,
56
+ 526
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Deep neural networks achieve human-like accuracy on a range of tasks when sufficient training data and computing power is available. However, when large datasets are unavailable for training, or pracitioners require a low-cost training strategy, transfer learning methods are often used. This process starts with a source network (pre-trained on a task for which large datasets are available), which is then re-purposed to act on the target problem, usually with minimal re-training on a small dataset (Yosinski et al., 2014; Pan & Yang, 2009). ",
63
+ "bbox": [
64
+ 174,
65
+ 542,
66
+ 825,
67
+ 626
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "While transfer learning greatly accelerates the training pipeline and reduces data requirements in the target domain, it does not address the important issue of model robustness. It is well-known that naturally trained models often completely fail under adversarial inputs (Biggio et al., 2013; Szegedy et al., 2013). As a result, researchers and practitioners often resort to adversarial training, in which adversarial examples are crafted on-the-fly during network training and injected into the training set. This process greatly exacerbates the problems that transfer learning seeks to avoid. The high cost of creating adversarial examples increases training time (often by an order of magnitude or more). Furthermore, robustness is known to suffer when training on a small dataset (Schmidt et al., 2018). To make things worse, high-capacity models are often needed to achieve good robustness (Madry et al., 2017; Kurakin et al., 2016; Shafahi et al., 2019b), but these models may over-fit badly on small datasets. ",
74
+ "bbox": [
75
+ 174,
76
+ 632,
77
+ 825,
78
+ 785
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "CONTRIBUTIONS ",
85
+ "text_level": 1,
86
+ "bbox": [
87
+ 174,
88
+ 804,
89
+ 294,
90
+ 818
91
+ ],
92
+ "page_idx": 0
93
+ },
94
+ {
95
+ "type": "text",
96
+ "text": "The purpose of this paper is to study the adversarial robustness of models produced by transfer learning. We begin by observing that robust networks contain robust feature extractors, which are resistant to adversarial perturbations in different domains. Such robust features can be used as a basis for semi-supervised transfer learning, which only requires re-training the last layer of a network. To demonstrate the power of robust transfer learning, we transfer a robust ImageNet source model onto the CIFAR domain, achieving both high accuracy and robustness in the new domain without adversarial training. We use visualization methods to explore properties of robust feature extractors. Then, we consider the case of transfer of learning by “fine-tuning.” In this case, the source network is re-trained end-to-end using a small number of epochs on the target domain. Unfortunately, this end-to-end process does not always retain the robustness of the source domain; the network “forgets” the robust feature representations learned on the source task. To address this problem, we use recently proposed lifelong learning methods that prevent the network from forgetting the robustness it once learned. Using our proposed methods, we construct robust models that generalize well. In particular, we improve the generalization of a robust CIFAR-100 model by roughly $2 \\%$ while preserving its robustness. ",
97
+ "bbox": [
98
+ 176,
99
+ 830,
100
+ 821,
101
+ 872
102
+ ],
103
+ "page_idx": 0
104
+ },
105
+ {
106
+ "type": "text",
107
+ "text": "",
108
+ "bbox": [
109
+ 174,
110
+ 103,
111
+ 825,
112
+ 270
113
+ ],
114
+ "page_idx": 1
115
+ },
116
+ {
117
+ "type": "text",
118
+ "text": "2 BACKGROUND ",
119
+ "text_level": 1,
120
+ "bbox": [
121
+ 176,
122
+ 290,
123
+ 326,
124
+ 306
125
+ ],
126
+ "page_idx": 1
127
+ },
128
+ {
129
+ "type": "text",
130
+ "text": "Adversarial examples fall within the category of evasion attacks—test-time attacks in which a perturbation is added to a natural image before inference. Adversarial attacks are most often crafted using a differentiable loss function that measures the performance of a classifier on a chosen image. In the case of norm-constrained attacks (which form the basis of most standard benchmark problems), the adversary solves ",
131
+ "bbox": [
132
+ 174,
133
+ 320,
134
+ 823,
135
+ 391
136
+ ],
137
+ "page_idx": 1
138
+ },
139
+ {
140
+ "type": "equation",
141
+ "img_path": "images/ab16b69ed680fbc0f1a095035f310f63e4a50da7c87e866dab113e7872249357.jpg",
142
+ "text": "$$\n\\operatorname* { m a x } _ { \\delta } \\quad l ( x + \\delta , y , \\theta ) \\qquad \\mathrm { s . t . } \\quad \\| \\delta \\| _ { p } \\leq \\epsilon ,\n$$",
143
+ "text_format": "latex",
144
+ "bbox": [
145
+ 362,
146
+ 393,
147
+ 632,
148
+ 416
149
+ ],
150
+ "page_idx": 1
151
+ },
152
+ {
153
+ "type": "text",
154
+ "text": "where $\\theta$ are the (already trained and frozen) parameters of classifier $c ( x , \\theta ) \\to \\hat { y }$ that maps an image to a class, $l$ is the proxy loss used for classification (often cross-entropy), $\\delta$ is the image perturbation, $( x , y )$ is the natural image and its true class, and $| | . | | _ { p }$ is some $\\ell _ { p } { \\ - } \\mathrm { n o r m } ^ { 1 }$ . The optimization problem in Eq. 1 aims to find a bounded perturbation that maximizes the cross-entropy loss given the correct label. There are many variants of this process, including DeepFool (Moosavi-Dezfooli et al., 2016), L-BFGS (Szegedy et al., 2013), and CW (Carlini & Wagner, 2017). ",
155
+ "bbox": [
156
+ 173,
157
+ 421,
158
+ 825,
159
+ 506
160
+ ],
161
+ "page_idx": 1
162
+ },
163
+ {
164
+ "type": "text",
165
+ "text": "Many researchers have studied methods for building a robust network which have been later shown to be ineffective when attacked with stronger adversaries (Athalye et al., 2018). Adversarial training (Szegedy et al., 2013) is one of the defenses that was not broken by Athalye et al. (2018). While adversarial training using a weak adversary such as the FGSM attack (Goodfellow et al., 2015) can be broken even by single step attacks which add a simple random step prior to the FGSM step (Tramer\\` et al., 2017), adversarial training using a strong attack has successfully improved robustness. Madry et al. (2017) showed that a PGD attack (which is a BIM attack (Kurakin et al., 2016) with an initial random step and projection) is a strong enough attack to achieve promising adversarial training results. We will refer to this training method as PGD adversarial training. PGD adversarial training achieves good robustness on bounded attacks for MNIST (LeCun et al., 1998) and acceptable robustness on CIFAR-10 (Krizhevsky & Hinton, 2009) classifiers. ",
166
+ "bbox": [
167
+ 173,
168
+ 511,
169
+ 825,
170
+ 664
171
+ ],
172
+ "page_idx": 1
173
+ },
174
+ {
175
+ "type": "text",
176
+ "text": "Tsipras et al. (2018) show that adversarial training with strong PGD adversaries has many benefits in addition to robustness. They also state that while adversarial training may improve generalization in regimes where training data is limited (especially on MNIST), it may be at odds with generalization in regimes where data is available. This trade-off was also recently studied by Zhang et al. (2019), Su et al. (2018), and Shafahi et al. (2019a). ",
177
+ "bbox": [
178
+ 174,
179
+ 671,
180
+ 825,
181
+ 741
182
+ ],
183
+ "page_idx": 1
184
+ },
185
+ {
186
+ "type": "text",
187
+ "text": "While, to the best of our knowlegde, the transferability of robustness has not been studied in depth, Hendrycks et al. (2019) studied the case of adversarially training models that were pre-trained on different domains. Our work is fundamentally different in that we seek to transfer robustness without resorting to costly and data-hungry adversarial training. We train the target model on natural examples only, which allows us to directly study how well robustness transfers. Additionally, this allows us to have better generalization and achieve higher accuracy on validation examples. While as Hendrycks et al. (2019) state, fine-tuning on adversarial examples built for the target domain can improve robustness of relatively large datasets such as CIFAR-10 and CIFAR-100 compared to adversarial training from scratch on the target domain, we show that in the regimes of limited data (where transfer learning is more common), adversarially robust transfer learning can lead to better results measured in terms of both robustness and clean validation accuracy. ",
188
+ "bbox": [
189
+ 174,
190
+ 747,
191
+ 825,
192
+ 901
193
+ ],
194
+ "page_idx": 1
195
+ },
196
+ {
197
+ "type": "table",
198
+ "img_path": "images/9b14ba3d25cecd2037daf163a5d3c965de495c7a733d6064bd2fb2d1f43c6278.jpg",
199
+ "table_caption": [
200
+ "Table 1: Accuracy and robustness of natural and adversarially trained models on CIFAR- $^ { 1 0 + }$ and CIFAR- $1 0 0 +$ . The $\" + \"$ sign denotes standard data augmentation $( \\epsilon = 8$ ). "
201
+ ],
202
+ "table_footnote": [],
203
+ "table_body": "<table><tr><td>Dataset</td><td>model</td><td>validation accuracy</td><td>accuracy on PGD-20</td><td> accuracy on CW-20</td></tr><tr><td rowspan=\"2\">CIFAR-10+</td><td rowspan=\"2\">natural robust</td><td>95.01%</td><td>0.00%</td><td>0.00%</td></tr><tr><td>87.25%</td><td>45.84%</td><td>46.96%</td></tr><tr><td rowspan=\"2\">CIFAR-100+</td><td rowspan=\"2\">natural robust</td><td>78.84%</td><td>0.00%</td><td>0.00%</td></tr><tr><td>59.87%</td><td>22.76%</td><td>23.16%</td></tr></table>",
204
+ "bbox": [
205
+ 184,
206
+ 140,
207
+ 810,
208
+ 215
209
+ ],
210
+ "page_idx": 2
211
+ },
212
+ {
213
+ "type": "text",
214
+ "text": "3 THE ROBUSTNESS OF DEEP FEATURES ",
215
+ "text_level": 1,
216
+ "bbox": [
217
+ 178,
218
+ 241,
219
+ 517,
220
+ 256
221
+ ],
222
+ "page_idx": 2
223
+ },
224
+ {
225
+ "type": "text",
226
+ "text": "In this section, we explore the robustness of different network layers, and demonstrate that robust networks rely on robust deep features. To do so, we start from robust classifiers $( c ( \\theta _ { r } ) )$ for the CIFAR-100 and CIFAR-10 datasets (Krizhevsky & Hinton, 2009), and update $\\theta$ by training on natural examples. In each experiment, we re-initialize the last $k$ layers/blocks of the network, and re-train just those layers. We start by re-initializing just the last layer, then the last two, and so on until we re-initialize all the layers. ",
227
+ "bbox": [
228
+ 173,
229
+ 273,
230
+ 825,
231
+ 357
232
+ ],
233
+ "page_idx": 2
234
+ },
235
+ {
236
+ "type": "text",
237
+ "text": "We use the adversarially trained Wide-ResNet 32-10 (Zagoruyko & Komodakis, 2016) for CIFAR10 from Madry et al. (2017) as our robust model for CIFAR-10. We also adversarially train our own robust classifier for CIFAR-100 using the code from Madry et al. (2017). To keep things consistent, we use the same hyper-parameters used by Madry et al. (2017) for adversarially training CIFAR-10 to adversarially train the CIFAR-100 model.2 The performance of the CIFAR-10 and CIFAR-100 models on natural and adversarial examples are summarized in Table 1. To measure robustness, we evaluate the models on adversarial examples built using PGD attacks. ",
238
+ "bbox": [
239
+ 174,
240
+ 363,
241
+ 825,
242
+ 462
243
+ ],
244
+ "page_idx": 2
245
+ },
246
+ {
247
+ "type": "text",
248
+ "text": "We break the WRN 32-10 model into 17 blocks, which are depicted in Fig. 2. In each experiment, we first re-initialize the $k$ deepest blocks (blocks 1 through $k$ ) and then train the parameters of those blocks on natural images3. We train for 20,000 iterations using Momentum SGD and a learning rate of 0.001. We then incrementally unfreeze and train more blocks. For each experiment, we evaluate the newly trained model’s accuracy on validation adversarial examples built with a 20-step PGD $\\ell _ { \\infty }$ attack with $\\epsilon = 8$ . ",
249
+ "bbox": [
250
+ 173,
251
+ 468,
252
+ 825,
253
+ 551
254
+ ],
255
+ "page_idx": 2
256
+ },
257
+ {
258
+ "type": "text",
259
+ "text": "Fig. 1 shows that robustness does not drop if only the final layers of the networks are re-trained on natural examples. In fact, there is a slight increase in robustness compared to the baseline PGD7 adversarially trained models when we just retrain the last batch-normalization block and fully connected block. As we unfreeze and train more blocks, the network’s robustness suddenly drops. This leads us to believe that a hardened network’s robustness is mainly due to robust deep feature representations and robustness is preserved if we re-train on top of deep features. ",
260
+ "bbox": [
261
+ 173,
262
+ 559,
263
+ 825,
264
+ 643
265
+ ],
266
+ "page_idx": 2
267
+ },
268
+ {
269
+ "type": "image",
270
+ "img_path": "images/c33719c1a824606b01236b8b81daf48b068d3513906190353bbe64339d86daf0.jpg",
271
+ "image_caption": [
272
+ "Figure 2: Wide Resnet 32-10 and the blocks used for freezing/retraining "
273
+ ],
274
+ "image_footnote": [],
275
+ "bbox": [
276
+ 173,
277
+ 661,
278
+ 826,
279
+ 789
280
+ ],
281
+ "page_idx": 2
282
+ },
283
+ {
284
+ "type": "text",
285
+ "text": "Now that we have identified feature extractors as a source of robustness, it is natural to investigate whether robustness is preserved when transfer learning using robust feature extractors. We will study two different approaches for transferring robustness across datasets: one in which only the last layer is re-trained, and one with end-to-end re-training. ",
286
+ "bbox": [
287
+ 176,
288
+ 840,
289
+ 823,
290
+ 868
291
+ ],
292
+ "page_idx": 2
293
+ },
294
+ {
295
+ "type": "image",
296
+ "img_path": "images/26389130b72972f6e201592b236dfb033e1ef54168c8a5802e473d5d373c7127.jpg",
297
+ "image_caption": [
298
+ "Figure 1: Robustness is preserved when we retrain only the deepest block(s) of robust CIFAR10 and CIFAR-100 models using natural examples. The vertical axis is the accuracy on PGD-20 generated adversarial examples (i.e. robustness) after re-training deep layers. The robustness of the adversarially trained models if all layers are frozen are shown with dashed lines. "
299
+ ],
300
+ "image_footnote": [],
301
+ "bbox": [
302
+ 174,
303
+ 102,
304
+ 820,
305
+ 304
306
+ ],
307
+ "page_idx": 3
308
+ },
309
+ {
310
+ "type": "text",
311
+ "text": "",
312
+ "bbox": [
313
+ 173,
314
+ 400,
315
+ 825,
316
+ 428
317
+ ],
318
+ "page_idx": 3
319
+ },
320
+ {
321
+ "type": "text",
322
+ "text": "4 TRANSFER LEARNING: RECYCLING FEATURE EXTRACTORS ",
323
+ "text_level": 1,
324
+ "bbox": [
325
+ 173,
326
+ 449,
327
+ 699,
328
+ 465
329
+ ],
330
+ "page_idx": 3
331
+ },
332
+ {
333
+ "type": "text",
334
+ "text": "We study how robustness transfers when the feature extractor layers of the source network are frozen, and we retrain only the last fully connected layer (i.e. the classification layer) for the new task. Formally, the transfer learning objective is: ",
335
+ "bbox": [
336
+ 174,
337
+ 479,
338
+ 825,
339
+ 522
340
+ ],
341
+ "page_idx": 3
342
+ },
343
+ {
344
+ "type": "equation",
345
+ "img_path": "images/1de209be30a02680292f667d82c86ce30985f88656d1ed63370584a64a6a08e4.jpg",
346
+ "text": "$$\n\\operatorname* { m i n } _ { w } \\quad l ( z ( x , \\theta ^ { * } ) , y , w )\n$$",
347
+ "text_format": "latex",
348
+ "bbox": [
349
+ 419,
350
+ 529,
351
+ 575,
352
+ 553
353
+ ],
354
+ "page_idx": 3
355
+ },
356
+ {
357
+ "type": "text",
358
+ "text": "where $z$ is the deep feature extractor function with pre-trained and now “frozen” parameters $\\theta ^ { * }$ , and $w$ represents the trainable parameters of the last fully connected layer. To investigate how well robustness transfers, we use two source models: one that is hardened by adversarial training and another that is naturally trained. ",
359
+ "bbox": [
360
+ 174,
361
+ 558,
362
+ 825,
363
+ 614
364
+ ],
365
+ "page_idx": 3
366
+ },
367
+ {
368
+ "type": "text",
369
+ "text": "We use models trained on CIFAR-100 as source models and perform transfer learning from CIFAR100 to CIFAR-10. The results are summarized in Table 2. Compared to adversarial/natural training the target model, transferring from a source model seems to result in a drop in natural accuracy (compare first row of Table 1 to the first row of Table 2). This difference is wider when the source and target data distributions are dissimilar (Yosinski et al., 2014). ",
370
+ "bbox": [
371
+ 174,
372
+ 621,
373
+ 825,
374
+ 691
375
+ ],
376
+ "page_idx": 3
377
+ },
378
+ {
379
+ "type": "text",
380
+ "text": "To evaluate our method on two datasets with more similar attributes, we randomly partition CIFAR100 into two disjoint subsets where each subset contains images corresponding to 50 classes. Table 2 shows the accuracy of transferring from one of the disjoint sets to the other (second row) and to the same set (third row). We can compare results of transfer learning with adversarial training on CIFAR-100 by averaging the results in the second and third rows of Table 2 to get the accuracy across all 100 classes of CIFAR-100.4 By doing so, we see that the accuracy of the transferred classifier matches that of the adversarially trained one, even though no adversarial training took place in the target domain. For completeness, we have also included experiments where we use CIFAR-10 as the source and CIFAR-100 as the target domain. ",
381
+ "bbox": [
382
+ 173,
383
+ 698,
384
+ 825,
385
+ 824
386
+ ],
387
+ "page_idx": 3
388
+ },
389
+ {
390
+ "type": "text",
391
+ "text": "We make the following observations from the transfer-learning results in Table 2. 1) robustness transfers: when the source model used for transfer learning is robust, the target model is also robust (although less so than the source), 2) robustness transfers between models that are more similar: If the source and target models are trained on datasets which have similar distributions (and number of classes), robustness transfers better, and 3) validation accuracy is worst if we use a robust model as the source compared to using a conventionally trained source model: if the source model is naturally trained, the natural validation accuracy is better, although the target model is then vulnerable to adversarial perturbations. ",
392
+ "bbox": [
393
+ 176,
394
+ 830,
395
+ 821,
396
+ 872
397
+ ],
398
+ "page_idx": 3
399
+ },
400
+ {
401
+ "type": "table",
402
+ "img_path": "images/7878215c2f4d87b05323b6fecb2183b39c6538b37194fbe34beba5ede3047f86.jpg",
403
+ "table_caption": [
404
+ "Table 2: Transfer learning by freezing the feature extractor layers $\\epsilon = 8$ ). "
405
+ ],
406
+ "table_footnote": [],
407
+ "table_body": "<table><tr><td rowspan=1 colspan=1>Source Dataset</td><td rowspan=1 colspan=1>Target Dataset</td><td rowspan=1 colspan=1>Source Model</td><td rowspan=1 colspan=1>val.</td><td rowspan=1 colspan=1>PGD-20</td><td rowspan=1 colspan=2>CW-20</td></tr><tr><td rowspan=2 colspan=1>CIFAR-100</td><td rowspan=2 colspan=1>CIFAR-10</td><td rowspan=2 colspan=1>naturalrobust</td><td rowspan=1 colspan=1>83.05%</td><td rowspan=1 colspan=1>0.00%</td><td rowspan=1 colspan=2>0.00%</td></tr><tr><td rowspan=1 colspan=1>72.05%</td><td rowspan=1 colspan=1>17.70%</td><td rowspan=1 colspan=2>17.43%</td></tr><tr><td rowspan=2 colspan=1>CIFAR-100(50% of classes)</td><td rowspan=2 colspan=1>CIFAR-100(other 50% of classes)</td><td rowspan=2 colspan=1>naturalrobust</td><td rowspan=1 colspan=1>71.44%</td><td rowspan=2 colspan=1>0.00%15.86%</td><td rowspan=2 colspan=2>0.00%15.30%</td></tr><tr><td rowspan=1 colspan=1>58.48%</td></tr><tr><td rowspan=2 colspan=1>CIFAR-100(50% of classes)</td><td rowspan=2 colspan=1>CIFAR-100(same 50% of classes)</td><td rowspan=2 colspan=1>naturalrobust</td><td rowspan=1 colspan=1>80.20%</td><td rowspan=1 colspan=1>0.00%</td><td rowspan=2 colspan=2>0.00%25.56%</td></tr><tr><td rowspan=1 colspan=1>64.96%</td><td rowspan=1 colspan=1>25.16%</td><td rowspan=1 colspan=1>2</td></tr><tr><td rowspan=2 colspan=1>CIFAR-10</td><td rowspan=2 colspan=1>CIFAR-100</td><td rowspan=2 colspan=1>naturalrobust</td><td rowspan=2 colspan=1>49.66%41.59%</td><td rowspan=1 colspan=1>0.00%</td><td rowspan=1 colspan=1>0.0</td><td rowspan=1 colspan=1>0.00%</td></tr><tr><td rowspan=1 colspan=1>11.63%</td><td rowspan=1 colspan=2>9.68%</td></tr></table>",
408
+ "bbox": [
409
+ 186,
410
+ 126,
411
+ 807,
412
+ 257
413
+ ],
414
+ "page_idx": 4
415
+ },
416
+ {
417
+ "type": "table",
418
+ "img_path": "images/81d5e5a0ee4d147986d146270676ef3b9bddf07fbf6c6d574c63f31ac5359726.jpg",
419
+ "table_caption": [
420
+ "Table 3: Transfer learning from ImageNet $\\epsilon = 5$ ). "
421
+ ],
422
+ "table_footnote": [],
423
+ "table_body": "<table><tr><td>Architecture and Source Dataset</td><td>Target Dataset</td><td>Source Model</td><td>val.</td><td>PGD-20</td><td>CW-20</td></tr><tr><td>ResNet-50 ImageNet</td><td>CIFAR-10+ CIFAR-100+</td><td>natural robust (ε = 5) natural robust (e = 5)</td><td>90.49% 88.33% 72.84% 68.88% 82.00%</td><td>0.01% 22.66% 0.05% 15.21%</td><td>0.00% 26.01% 0.00% 18.34%</td></tr><tr><td colspan=\"4\">Robust u-ResNet-50 (ε = 5) for CIFAR-10+ Robust u-ResNet-50 (ε = 5) for CIFAR-100+</td><td>53.11% 59.90% 29.54%</td><td></td></tr></table>",
424
+ "bbox": [
425
+ 173,
426
+ 292,
427
+ 846,
428
+ 397
429
+ ],
430
+ "page_idx": 4
431
+ },
432
+ {
433
+ "type": "text",
434
+ "text": "",
435
+ "bbox": [
436
+ 174,
437
+ 422,
438
+ 826,
439
+ 492
440
+ ],
441
+ "page_idx": 4
442
+ },
443
+ {
444
+ "type": "text",
445
+ "text": "4.1 TRANSFER LEARNING WITH IMAGENET MODELS ",
446
+ "text_level": 1,
447
+ "bbox": [
448
+ 174,
449
+ 510,
450
+ 555,
451
+ 525
452
+ ],
453
+ "page_idx": 4
454
+ },
455
+ {
456
+ "type": "text",
457
+ "text": "Transfer learning using models trained on ImageNet (Russakovsky et al., 2015) as the source is a common practice in industry because ImageNet feature extractors are powerful and expressive. In this section we evaluate how well robustness transfers from these models. ",
458
+ "bbox": [
459
+ 174,
460
+ 535,
461
+ 825,
462
+ 577
463
+ ],
464
+ "page_idx": 4
465
+ },
466
+ {
467
+ "type": "text",
468
+ "text": "4.1.1 TRANSFER LEARNING USING IMAGENET ",
469
+ "text_level": 1,
470
+ "bbox": [
471
+ 174,
472
+ 593,
473
+ 511,
474
+ 607
475
+ ],
476
+ "page_idx": 4
477
+ },
478
+ {
479
+ "type": "text",
480
+ "text": "Starting from both a natural and robust ImageNet model, we perform the same set of experiments we did in section 4. Robust ImageNet models do not withstand untargeted $\\ell _ { \\infty }$ attacks using as large an $\\epsilon$ as those that can be used for simpler datasets like CIFAR. Following the method Shafahi et al. (2019b), we “free train” a robust ResNet-50 on ImageNet using replay hyper-parameter $m = 4$ . The hardened ImageNet classifier withstands attacks bounded by $\\epsilon = 5$ . Our robust ImageNet achieves $5 9 . 0 5 \\%$ top-1 accuracy and roughly $27 \\%$ accuracy against $\\mathrm { P G D } { - } 2 0 \\ \\ell _ { \\infty } \\ \\epsilon = 5$ attacks on validation examples. We experiment with using this robust ImageNet model and a conventionally trained ResNet-50 ImageNet model as the source models. ",
481
+ "bbox": [
482
+ 174,
483
+ 617,
484
+ 825,
485
+ 728
486
+ ],
487
+ "page_idx": 4
488
+ },
489
+ {
490
+ "type": "text",
491
+ "text": "Using the ImageNet source models, we train CIFAR classifiers by retraining the last layer on natural CIFAR examples. We up-sample the $3 2 \\times 3 2$ -dimensional CIFAR images to $2 2 4 \\times 2 2 4$ before feeding them into the ResNet-50 source models that are trained on ImageNet. For evaluation purposes, we also train robust ResNet-50 models from scratch using (Shafahi et al., 2019b) for the CIFAR models. To ensure that the transfer learning models and the end-to-end trained robust models have the same capacity and dimensionality, we first upsample the CIFAR images before feeding them to the ResNet-50 model. To distinguish between the common case of training ResNet models on CIFAR images that are $3 2 \\times 3 2$ -dimensional, we call our models that are trained on the upsampled CIFAR datasets the upsample-first ResNets or “ $_ u$ -ResNets”. ",
492
+ "bbox": [
493
+ 174,
494
+ 734,
495
+ 825,
496
+ 861
497
+ ],
498
+ "page_idx": 4
499
+ },
500
+ {
501
+ "type": "text",
502
+ "text": "Table 3 illustrates that using a robust ImageNet model as a source results in high validation accuracy for the transferred CIFAR target models. Also, given that the ImageNet classifier by itself is $27 \\%$ robust, the CIFAR-10 model maintains the majority of that $27 \\%$ robustness. When we compare the end-to-end hardened classifiers (robust u-ResNets) with the transferred classifier, we can see that while the robustness is less for the transferred case, transferred models result in considerably better performance on clean validation examples. ",
503
+ "bbox": [
504
+ 174,
505
+ 868,
506
+ 823,
507
+ 922
508
+ ],
509
+ "page_idx": 4
510
+ },
511
+ {
512
+ "type": "image",
513
+ "img_path": "images/01d1c93d1deb9bf8eb77a92ca8ee8b52dc60c15e403ab86ce0a13a908ea8a7ca.jpg",
514
+ "image_caption": [
515
+ "Figure 3: When the number of training data per-class is very limited (right bars), adversarially robust transfer learning [Transferred] is better in all metrics. However, as the number of training data increases (left bars), fine-tuning with adversarial examples of the target domain [Fine-tuned with AT] results in more robustness. Adversarially robust transfer learning always results in models that work better on natural examples and is $3 \\times$ faster than fine-tuning with adversarial examples of the target domain. Using a pre-trained robust ImageNet improves both robustness and generalization. "
516
+ ],
517
+ "image_footnote": [],
518
+ "bbox": [
519
+ 181,
520
+ 99,
521
+ 810,
522
+ 243
523
+ ],
524
+ "page_idx": 5
525
+ },
526
+ {
527
+ "type": "text",
528
+ "text": "",
529
+ "bbox": [
530
+ 174,
531
+ 364,
532
+ 823,
533
+ 393
534
+ ],
535
+ "page_idx": 5
536
+ },
537
+ {
538
+ "type": "text",
539
+ "text": "4.2 LOW-DATA REGIME ",
540
+ "text_level": 1,
541
+ "bbox": [
542
+ 176,
543
+ 411,
544
+ 348,
545
+ 425
546
+ ],
547
+ "page_idx": 5
548
+ },
549
+ {
550
+ "type": "text",
551
+ "text": "As touched on before, transfer learning is more common in situations where the number of training points in the target domain is limited. Up until now, as a proof of concept, we have illustrated the majority of our experiments on the CIFAR target domains where we have many training points perclass. Hendrycks et al. (2019) show that starting from a pre-trained robust ImageNet model and fine-tuning on adversarial examples of the CIFAR domain can improve robustness beyond that of simply adversarial training CIFAR. Here, we illustrate the effect of training data size on robustness and natural performance by running various experiments on subsets of CIFAR-100 where we vary the number of training points per-class $( N )$ . ",
552
+ "bbox": [
553
+ 174,
554
+ 438,
555
+ 825,
556
+ 549
557
+ ],
558
+ "page_idx": 5
559
+ },
560
+ {
561
+ "type": "text",
562
+ "text": "We compare three different hardening methods: (1) Free-training/adversarial training the target domain (Shafahi et al., 2019b); (2) fine-tuning using adversarial examples of the target task starting from the Free-4 robust ImageNet model similar to (Hendrycks et al., 2019); and (3) training a fully connected layer on top of the frozen feature extractors of the Free-4 robust ImageNet model using natural examples from the target task. For comparing the three different approaches, we look at three metrics: (a) clean validation accuracy; (b) robustness against PGD-20 validation adversarial examples; and (c) average of robustness and clean performance $( ( ( { \\mathbf { a } } ) \\substack { + } ( { \\mathbf { b } } ) ) / 2 .$ .) The results are summarized in Fig. 3. In the regimes where transfer learning is more common, adversarially robust transfer learning results in the best overall performance. Adversarially/Free training the target domain results in less robustness and validation accuracy compared to fine-tuning which highlights the importance of pre-training (Hendrycks et al., 2019). Note that in terms of computational resources required, the cost of fine-tuning on adversarial examples of the target domain is about $k \\times$ our method since it requires generation of adversarial examples using $k$ -step PGD attacks (we set $k = 3$ ). ",
563
+ "bbox": [
564
+ 174,
565
+ 556,
566
+ 825,
567
+ 736
568
+ ],
569
+ "page_idx": 5
570
+ },
571
+ {
572
+ "type": "text",
573
+ "text": "4.2.1 TRAINING DEEPER NETWORKS ON TOP OF ROBUST FEATURE EXTRACTORS ",
574
+ "text_level": 1,
575
+ "bbox": [
576
+ 176,
577
+ 753,
578
+ 740,
579
+ 767
580
+ ],
581
+ "page_idx": 5
582
+ },
583
+ {
584
+ "type": "text",
585
+ "text": "The basic transfer learning setting of section 4.1.1 only re-trains one layer for the new task. In section 4.1.1, when we transferred from the robust ImageNet to CIFAR-100, the natural training accuracy was $8 8 . 8 4 \\%$ . Given the small number of trainable parameters left for the network $( \\approx 2 0 4 8 \\times 1 0 0 )$ and the fixed feature extractor, the network was not capable of completely fitting the training data. This means that there is potential to improve natural accuracy by learning more complex non-linear features and increasing the number of trainable parameters. ",
586
+ "bbox": [
587
+ 174,
588
+ 776,
589
+ 825,
590
+ 861
591
+ ],
592
+ "page_idx": 5
593
+ },
594
+ {
595
+ "type": "text",
596
+ "text": "To increase representation capacity and the number of trainable parameters, instead of training a 1- layer network on top of the feature extractor, we train a multi-layer perceptron (MLP) network on top of the robust feature extractor. To keep things simple and prevent bottle-necking, every hidden layer we add has 2048 neurons. We plot the training and validation accuracies on the natural examples and the robustness (i.e. PGD-20 validation accuracy) in Fig. 4 for various numbers of hidden layers. As can be seen, adding one layer is enough to achieve $100 \\%$ training accuracy. However, doing so does not result in an increase in validation accuracy. To the contrary, adding more layers can result in a slight drop in validation accuracy due to overfitting. As illustrated, we can improve generalization using simple but effective methods such as dropout (Srivastava et al., 2014) (with probability 0.25) and batch-normalization (Ioffe & Szegedy, 2015). ",
597
+ "bbox": [
598
+ 174,
599
+ 867,
600
+ 823,
601
+ 924
602
+ ],
603
+ "page_idx": 5
604
+ },
605
+ {
606
+ "type": "text",
607
+ "text": "",
608
+ "bbox": [
609
+ 174,
610
+ 103,
611
+ 825,
612
+ 188
613
+ ],
614
+ "page_idx": 6
615
+ },
616
+ {
617
+ "type": "text",
618
+ "text": "However, the most interesting behavior we observe in this experiment is that, as we increase the number of hidden layers, the robustness to PGD-20 attacks improves. Note, this seems to happen even when we transfer from a naturally trained ImageNet model. While for the case where we have no hidden layers, robustness is $0 . 0 0 \\%$ on CIFAR100 when we use a naturally trained ImageNet model as source, if our MLP has 1, 2, 3, or 5 hidden layers, our robustness against PGD attacks would be $0 . 0 3 \\%$ , $0 . 0 9 \\%$ , $0 . 3 1 \\%$ and $6 . 6 1 \\%$ , respectively. This leads us to suspect that this behavior may be an artifact of vanishing gradients for adversary as the softmax loss saturates when the data is fit perfectly (Athalye et al., 2018). Therefore, for this case we change our robustness measure and use the CW attack (Carlini & Wagner, 2017) which will encounter fewer numerical issues because its loss function does not have a softmax component and does not saturate. Attacking the model from the natural source with CW-20 completely breaks the model and achieves $0 . 0 0 \\%$ robustness. Most interestingly, attacking the model transferred from a robust source using the CW objective maintains robustness even when the number of hidden layers increases. ",
619
+ "bbox": [
620
+ 174,
621
+ 194,
622
+ 825,
623
+ 375
624
+ ],
625
+ "page_idx": 6
626
+ },
627
+ {
628
+ "type": "image",
629
+ "img_path": "images/d7dc13914a53060c4642c873547b936577d5c1b0aac10205445054bce8269453.jpg",
630
+ "image_caption": [
631
+ "Figure 4: Training an MLP for CIFAR-100 on top of the robust feature extractors from ImageNet. The xaxis corresponds to the number of hidden layers (0 is a linear classifier and corresponds to experiments in section 4.1.1). Robustness stems from robust feature extractors. Adding more layers on top of this extractor does not hurt robustness. Interestingly, simply adding more layers does not improve the validation accuracy and just results in more overfitting (i.e. training accuracy becomes $100 \\%$ ). We can slightly improve generalization using batch norm (BN) and dropout (DO). "
632
+ ],
633
+ "image_footnote": [],
634
+ "bbox": [
635
+ 552,
636
+ 412,
637
+ 818,
638
+ 539
639
+ ],
640
+ "page_idx": 6
641
+ },
642
+ {
643
+ "type": "text",
644
+ "text": "5 ANALYSIS: ROBUST FEATURE EXTRACTORS ARE FILTERS ",
645
+ "text_level": 1,
646
+ "bbox": [
647
+ 174,
648
+ 598,
649
+ 679,
650
+ 613
651
+ ],
652
+ "page_idx": 6
653
+ },
654
+ {
655
+ "type": "text",
656
+ "text": "Our experiments suggest that the robustness of neural networks arises in large part from the presence of robust feature extractors. We have used this observation to transfer both robustness and accuracy between domains using transfer-learning. However, we have not yet fully delved into what it means to have a robust feature extractor. Through visualizations, Tsipras et al. (2018) studied how adversarial training causes the image gradients of neural networks to exhibit meaningful generative behavior. In other words, adversarial perturbations on hardened networks “look like” the class into which the image is perturbed. Given that optimization-based attacks build adversarial examples using the image gradient, we also visualize the image gradients of our transferred models to see if they exhibit the same generative behavior as adversarially trained nets. ",
657
+ "bbox": [
658
+ 173,
659
+ 631,
660
+ 825,
661
+ 756
662
+ ],
663
+ "page_idx": 6
664
+ },
665
+ {
666
+ "type": "text",
667
+ "text": "Fig. 5 plots the gradient of the loss w.r.t. the input image for models obtained by re-training only the last layer, and also for the case where we train MLPs on top of a robust feature extractor. The gradients for the transfer-learned models with a robust source are interpretable and “look like” the adversarial object class, while the gradients of models transferred from a natural source do not. This interpretatbility comes despite the fact that the source model was hardened against attacks on one dataset, and the transferred model is being tested on object classes from another. Also, we see that adding more layers on top of the feature extractor, which often leads to over-fitting, does not make gradients less interpretable. This latter observation is consistent with our observation that added layers preserve robustness(Fig. 4). ",
668
+ "bbox": [
669
+ 174,
670
+ 762,
671
+ 825,
672
+ 888
673
+ ],
674
+ "page_idx": 6
675
+ },
676
+ {
677
+ "type": "text",
678
+ "text": "These observations, together with the success of robust transfer learning, leads us to speculate that a robust model’s feature extractors act as a “filter” that ignores irrelevant parts of the image. ",
679
+ "bbox": [
680
+ 174,
681
+ 895,
682
+ 821,
683
+ 924
684
+ ],
685
+ "page_idx": 6
686
+ },
687
+ {
688
+ "type": "image",
689
+ "img_path": "images/08230f2415fe9b53e0ed050b0381109d2e05361ef7883e2dc1b013007c587098.jpg",
690
+ "image_caption": [
691
+ "Figure 5: Gradients of the loss w.r.t to input images for the CIFAR-100 transfer learning experiments of sections $4 . 1 . 1 \\ \\&$ 4.2.1. The top row contains sample CIFAR-100 images. Other rows contain image gradients of the model loss. The second row is for a model transferred from a naturally trained ImageNet source. Rows 3-5 are for models transferred from a robust ImageNet source. These rows correspond to an MLP with 0 (row 3), 1 (row 4), and 2 (row 5) hidden layers on top of the robust feature extractor. The gradients in the last three rows all show interpretable generative behavior. "
692
+ ],
693
+ "image_footnote": [],
694
+ "bbox": [
695
+ 200,
696
+ 109,
697
+ 375,
698
+ 244
699
+ ],
700
+ "page_idx": 7
701
+ },
702
+ {
703
+ "type": "text",
704
+ "text": "6 END-TO-END TRAINING WITHOUT FORGETTING ",
705
+ "text_level": 1,
706
+ "bbox": [
707
+ 174,
708
+ 282,
709
+ 602,
710
+ 297
711
+ ],
712
+ "page_idx": 7
713
+ },
714
+ {
715
+ "type": "text",
716
+ "text": "As discussed in section 4, transfer learning can preserve robustness of the robust source model. However, it comes at the cost of decreased validation accuracy on natural examples compared to the case where we use a naturally trained source model. Consequently, there seems to be a trade-off between generalization and robustness based on the choice of the source model. For any given classifer, the trade-off between generalization and robustness is the subject of recent research (Tsipras et al., 2018; Zhang et al., 2019; Shafahi et al., 2019a). In this section, we intend to improve the overall performance of classifiers transferred from a robust source model by improving their generalization on natural images. To do so, unlike previous sections where we froze the feature extractor mainly to preserve robustness, we fine tune the feature extractor parameters $\\theta$ . Ideally, we should learn to perform well on the target dataset without catastrophically forgetting the robustness of the source model. To achieve this, we utilize lifelong learning methods. ",
717
+ "bbox": [
718
+ 173,
719
+ 314,
720
+ 825,
721
+ 468
722
+ ],
723
+ "page_idx": 7
724
+ },
725
+ {
726
+ "type": "text",
727
+ "text": "Learning without Forgetting (LwF) (Li & Hoiem, 2018) is a method for overcoming catastrophic forgetting. The method is based on distillation. In this framework, we train the target model with a loss that includes a distillation term from the previous model. ",
728
+ "bbox": [
729
+ 173,
730
+ 474,
731
+ 825,
732
+ 517
733
+ ],
734
+ "page_idx": 7
735
+ },
736
+ {
737
+ "type": "equation",
738
+ "img_path": "images/87a8993cf8f9b192795f6674221af6cf1d8cab5c300802d13cd3dd94472614ef.jpg",
739
+ "text": "$$\n\\operatorname* { m i n } _ { w , \\theta } \\quad l ( z ( x , \\theta ) , y , w ) + \\lambda _ { d } \\cdot d ( z ( x , \\theta ) , z _ { 0 } ( x , \\theta _ { r } ^ { * } ) )\n$$",
740
+ "text_format": "latex",
741
+ "bbox": [
742
+ 331,
743
+ 526,
744
+ 663,
745
+ 551
746
+ ],
747
+ "page_idx": 7
748
+ },
749
+ {
750
+ "type": "image",
751
+ "img_path": "images/1b65be02dcb26f582c98135d5bcacb719bebefac5da0577079cd0b265af93269.jpg",
752
+ "image_caption": [
753
+ "Figure 6: Our LwF loss has a term that enforces the similarity of feature representations (i.e. penultimate layer activations) between the source model and the fine-tuned model. "
754
+ ],
755
+ "image_footnote": [],
756
+ "bbox": [
757
+ 235,
758
+ 574,
759
+ 761,
760
+ 811
761
+ ],
762
+ "page_idx": 7
763
+ },
764
+ {
765
+ "type": "text",
766
+ "text": "where, in our method, $\\lambda _ { d }$ is the feature representation similarity penalty, and $d$ is some distance metric between the robust model’s feature representations $z _ { 0 } ( x , \\theta _ { r } ^ { * } )$ and the current model’s feature representations $z ( x , \\theta )$ . Unlike the original LwF paper that used a distilled loss from Hinton et al. (2015) and applies distillation to the logits, we simply choose $d$ to be the $\\ell _ { 2 }$ -norm and apply distillation to the penultimate layer5. Our loss is designed to make the feature representations of the source and target network similar, thus preserving the robust feature representations (Fig. 6). Ideally, $z ( x , \\theta ) \\approx \\mathbf { \\bar { \\Phi } } { z } ( x , \\theta _ { r } ^ { * } )$ . To speed up training, given robust feature extractor parameters $\\theta _ { r } ^ { * }$ , we store $z _ { 0 } ( x , \\theta _ { r } ^ { * } )$ for the images of the target task and load this from memory (i.e. offline) instead of performing a forward pass through the robust source network online. Therefore, in the experiments related to LwF, we do not train with data augmentation because we have not pre-computed $z ( x _ { a } , \\theta _ { r } ^ { * } )$ , where $x _ { a }$ is the augmented image. Empirically we verified that $d ( z ( x , \\theta _ { r } ^ { * } ) , z ( x _ { a } , \\theta _ { r } ^ { * } ) )$ was not negligible6. ",
767
+ "bbox": [
768
+ 174,
769
+ 867,
770
+ 823,
771
+ 924
772
+ ],
773
+ "page_idx": 7
774
+ },
775
+ {
776
+ "type": "text",
777
+ "text": "",
778
+ "bbox": [
779
+ 174,
780
+ 103,
781
+ 825,
782
+ 214
783
+ ],
784
+ "page_idx": 8
785
+ },
786
+ {
787
+ "type": "text",
788
+ "text": "To improve performance, we follow a warm-start scheme and only train the fully connected parameters $w$ early in training. We then cut the learning rate and continue fine tuning both feature extractors $\\mathbf { \\eta } ^ { ( \\theta ) }$ and $w$ . In our experiments, we use a learning rate of 0.001, and the warm-start makes up half of the total training iterations. Starting from the pre-trained source model, we train for a total of 20,000 iterations with batch-size 128. The results with an adversarially trained CIFAR-100 model as source and CIFAR-10 as target are summarized in Table 4.7 ",
789
+ "bbox": [
790
+ 174,
791
+ 222,
792
+ 825,
793
+ 305
794
+ ],
795
+ "page_idx": 8
796
+ },
797
+ {
798
+ "type": "text",
799
+ "text": "As can be seen, having a LwF-type regularizer helps in maintaining robustness and also results in a considerable increase in validation accuracy. The trade-off between robustness and generalization can be controlled by the choice of $\\lambda _ { d }$ . It seems that for some choices of $\\lambda _ { d }$ such as 0.1, robustness also increases. However, in hindsight, the increase in accuracy on PGD-20 adversarial examples is not solely due to improvement in robustness. It is due to the fact that the validation accuracy has increased and we have a better classifier overall. For easier comparisons, we have provided the transfer results without LwF at the bottom of Table 4. Note that using LwF, we can keep the robustness of the source model and also achieve clean validation accuracy comparable to a model that uses naturally trained feature extractors. In the supplementary, we show that similar conclusions can be drawn for the split CIFAR-100 task. ",
800
+ "bbox": [
801
+ 174,
802
+ 311,
803
+ 825,
804
+ 450
805
+ ],
806
+ "page_idx": 8
807
+ },
808
+ {
809
+ "type": "table",
810
+ "img_path": "images/69645c7f29fcc5815fd8d59332da47ba0fa1d16138763e257cd66e3c90858c27.jpg",
811
+ "table_caption": [
812
+ "Table 4: Distilling robust features using learning without forgetting. The bottom rows show results from transfer learning with a frozen feature extractor. The $\\cdot _ { + } ,$ sign refers to using augmentation. "
813
+ ],
814
+ "table_footnote": [],
815
+ "table_body": "<table><tr><td>Source →Target Dataset</td><td>Source Model</td><td>入d</td><td>val.</td><td>PGD-20 (ε = 8)</td></tr><tr><td rowspan=\"5\">CIFAR-100+→CIFAR-10</td><td rowspan=\"5\">robust</td><td>1e-7</td><td>89.07%</td><td>0.61%</td></tr><tr><td>0.001</td><td>86.15%</td><td>4.70%</td></tr><tr><td>0.0025</td><td>81.90%</td><td>15.42%</td></tr><tr><td>0.005</td><td>79.35%</td><td>17.61%</td></tr><tr><td>0.01</td><td>77.73%</td><td>17.55%</td></tr><tr><td rowspan=\"2\">CIFAR-10O+→CIFAR-10+</td><td rowspan=\"2\">natural robust</td><td>0.1 NA</td><td>73.39% 83.05%</td><td>18.62% 0.00%</td></tr><tr><td>NA</td><td>72.05%</td><td>17.70%</td></tr></table>",
816
+ "bbox": [
817
+ 202,
818
+ 513,
819
+ 789,
820
+ 645
821
+ ],
822
+ "page_idx": 8
823
+ },
824
+ {
825
+ "type": "text",
826
+ "text": "ECREASING GENERALIZATION GAP OF ADVERSARIALLY TRAINED NETWORK ",
827
+ "text_level": 1,
828
+ "bbox": [
829
+ 186,
830
+ 693,
831
+ 709,
832
+ 705
833
+ ],
834
+ "page_idx": 8
835
+ },
836
+ {
837
+ "type": "text",
838
+ "text": "We demonstrated in our transfer experiments that using our LwF-type loss, can help decrease the generalization gap while preserving robustness. In this section, we assume that the source domain is the adversarial example domain of a dataset and the target domain is the clean example domain of the same dataset. This experiment can be seen as applying transfer learning from the adversarial example domain to the natural example domain while preventing forgetting the adversarial domain. ",
839
+ "bbox": [
840
+ 174,
841
+ 722,
842
+ 825,
843
+ 791
844
+ ],
845
+ "page_idx": 8
846
+ },
847
+ {
848
+ "type": "text",
849
+ "text": "In the case where the source and target datasets are the same (Transferring from a robust CIFAR-100 model to CIFAR-100), by applying our LwF-type loss, we can improve the generalization of robust models. Our results are summarized in Table 5. ",
850
+ "bbox": [
851
+ 174,
852
+ 799,
853
+ 825,
854
+ 840
855
+ ],
856
+ "page_idx": 8
857
+ },
858
+ {
859
+ "type": "table",
860
+ "img_path": "images/2f76a013db77e5f5c5f1c6718cd5b5602bc82a01a461ffae90fd9daf289cafc5.jpg",
861
+ "table_caption": [
862
+ "Table 5: Decreasing generalization gap by transferring with LwF. For reference, last row shows results from adversarial training CIFAR-100. The $\\cdot _ { + } ,$ sign refers to using augmentation. $\\epsilon = 8$ ) "
863
+ ],
864
+ "table_footnote": [],
865
+ "table_body": "<table><tr><td>Source→Target Dataset</td><td>Source Model</td><td>入d</td><td>val.</td><td>PGD-20</td><td>CW-20</td></tr><tr><td rowspan=\"3\">CIFAR-10O+→ CIFAR-100</td><td rowspan=\"3\">robust</td><td>1e-5</td><td>61.53% 61.71%</td><td>21.83% 23.44%</td><td>21.97% 22.94%</td></tr><tr><td>5e-5 1e-4</td><td>61.38%</td><td>23.95%</td><td>23.40%</td></tr><tr><td>0.001</td><td>60.17%</td><td>24.31%</td><td>23.17%</td></tr><tr><td>CIFAR-100+</td><td>robust</td><td>0.01 NA</td><td>59.87% 59.87%</td><td>24.10% 22.76%</td><td>22.96% 23.16%</td></tr></table>",
866
+ "bbox": [
867
+ 197,
868
+ 140,
869
+ 795,
870
+ 242
871
+ ],
872
+ "page_idx": 9
873
+ },
874
+ {
875
+ "type": "text",
876
+ "text": "7 CONCLUSION ",
877
+ "text_level": 1,
878
+ "bbox": [
879
+ 174,
880
+ 265,
881
+ 320,
882
+ 282
883
+ ],
884
+ "page_idx": 9
885
+ },
886
+ {
887
+ "type": "text",
888
+ "text": "We identified the feature extractors of adversarially trained models as a source of robustness, and use this observation to transfer robustness to new problems domains without adversarial training. While transferring from a natural model can achieve higher validation accuracy in comparison to transferring from a robust model, we can close the gap and maintain the initial transferred robustness by borrowing ideas from the lifelong learning literature. The success of this methods suggests that a robust feature extractor is effectively a filter that sifts out relevant components of an image that are needed to assign class labels. We hope that the insights from this study enable practitioners to build robust models in situations with limited labeled training data, or when the cost and complexity of adversarial training from scratch is untenable. ",
889
+ "bbox": [
890
+ 173,
891
+ 297,
892
+ 825,
893
+ 422
894
+ ],
895
+ "page_idx": 9
896
+ },
897
+ {
898
+ "type": "text",
899
+ "text": "Acknowledgements: Goldstein and his students were supported by the DARPA QED for RML program, the DARPA GARD program, and the National Science Foundation. ",
900
+ "bbox": [
901
+ 176,
902
+ 438,
903
+ 821,
904
+ 467
905
+ ],
906
+ "page_idx": 9
907
+ },
908
+ {
909
+ "type": "text",
910
+ "text": "REFERENCES ",
911
+ "text_level": 1,
912
+ "bbox": [
913
+ 176,
914
+ 487,
915
+ 285,
916
+ 502
917
+ ],
918
+ "page_idx": 9
919
+ },
920
+ {
921
+ "type": "text",
922
+ "text": "Anish Athalye, Nicholas Carlini, and David Wagner. Obfuscated gradients give a false sense of security: Circumventing defenses to adversarial examples. arXiv preprint arXiv:1802.00420, 2018. ",
923
+ "bbox": [
924
+ 176,
925
+ 511,
926
+ 825,
927
+ 553
928
+ ],
929
+ "page_idx": 9
930
+ },
931
+ {
932
+ "type": "text",
933
+ "text": "Battista Biggio, Igino Corona, Davide Maiorca, Blaine Nelson, Nedim Srndi ˇ c, Pavel Laskov, Gior- ´ gio Giacinto, and Fabio Roli. Evasion attacks against machine learning at test time. In Joint European conference on machine learning and knowledge discovery in databases, pp. 387–402. Springer, 2013. ",
934
+ "bbox": [
935
+ 174,
936
+ 563,
937
+ 825,
938
+ 618
939
+ ],
940
+ "page_idx": 9
941
+ },
942
+ {
943
+ "type": "text",
944
+ "text": "Nicholas Carlini and David Wagner. Towards evaluating the robustness of neural networks. In 2017 IEEE Symposium on Security and Privacy (SP), pp. 39–57. IEEE, 2017. ",
945
+ "bbox": [
946
+ 169,
947
+ 628,
948
+ 823,
949
+ 657
950
+ ],
951
+ "page_idx": 9
952
+ },
953
+ {
954
+ "type": "text",
955
+ "text": "Ian J Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. International Conference on Learning Representation, 2015. ",
956
+ "bbox": [
957
+ 173,
958
+ 666,
959
+ 823,
960
+ 695
961
+ ],
962
+ "page_idx": 9
963
+ },
964
+ {
965
+ "type": "text",
966
+ "text": "Dan Hendrycks, Kimin Lee, and Mantas Mazeika. Using pre-training can improve model robustness and uncertainty. arXiv preprint arXiv:1901.09960, 2019. ",
967
+ "bbox": [
968
+ 171,
969
+ 704,
970
+ 823,
971
+ 733
972
+ ],
973
+ "page_idx": 9
974
+ },
975
+ {
976
+ "type": "text",
977
+ "text": "Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015. ",
978
+ "bbox": [
979
+ 171,
980
+ 742,
981
+ 823,
982
+ 771
983
+ ],
984
+ "page_idx": 9
985
+ },
986
+ {
987
+ "type": "text",
988
+ "text": "Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. arXiv preprint arXiv:1502.03167, 2015. ",
989
+ "bbox": [
990
+ 173,
991
+ 781,
992
+ 823,
993
+ 810
994
+ ],
995
+ "page_idx": 9
996
+ },
997
+ {
998
+ "type": "text",
999
+ "text": "Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. Technical report, Citeseer, 2009. ",
1000
+ "bbox": [
1001
+ 169,
1002
+ 819,
1003
+ 823,
1004
+ 847
1005
+ ],
1006
+ "page_idx": 9
1007
+ },
1008
+ {
1009
+ "type": "text",
1010
+ "text": "Alexey Kurakin, Ian Goodfellow, and Samy Bengio. Adversarial machine learning at scale. arXiv preprint arXiv:1611.01236, 2016. ",
1011
+ "bbox": [
1012
+ 174,
1013
+ 857,
1014
+ 821,
1015
+ 886
1016
+ ],
1017
+ "page_idx": 9
1018
+ },
1019
+ {
1020
+ "type": "text",
1021
+ "text": "Yann LeCun, Leon Bottou, Yoshua Bengio, Patrick Haffner, et al. Gradient-based learning applied ´ to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998. ",
1022
+ "bbox": [
1023
+ 174,
1024
+ 895,
1025
+ 820,
1026
+ 924
1027
+ ],
1028
+ "page_idx": 9
1029
+ },
1030
+ {
1031
+ "type": "text",
1032
+ "text": "Zhizhong Li and Derek Hoiem. Learning without forgetting. IEEE transactions on pattern analysis and machine intelligence, 40(12):2935–2947, 2018. ",
1033
+ "bbox": [
1034
+ 171,
1035
+ 103,
1036
+ 823,
1037
+ 132
1038
+ ],
1039
+ "page_idx": 10
1040
+ },
1041
+ {
1042
+ "type": "text",
1043
+ "text": "Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. arXiv preprint arXiv:1706.06083, 2017. ",
1044
+ "bbox": [
1045
+ 173,
1046
+ 146,
1047
+ 825,
1048
+ 188
1049
+ ],
1050
+ "page_idx": 10
1051
+ },
1052
+ {
1053
+ "type": "text",
1054
+ "text": "Seyed-Mohsen Moosavi-Dezfooli, Alhussein Fawzi, and Pascal Frossard. Deepfool: a simple and accurate method to fool deep neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 2574–2582, 2016. ",
1055
+ "bbox": [
1056
+ 176,
1057
+ 203,
1058
+ 825,
1059
+ 247
1060
+ ],
1061
+ "page_idx": 10
1062
+ },
1063
+ {
1064
+ "type": "text",
1065
+ "text": "Sinno Jialin Pan and Qiang Yang. A survey on transfer learning. IEEE Transactions on knowledge and data engineering, 22(10):1345–1359, 2009. ",
1066
+ "bbox": [
1067
+ 173,
1068
+ 260,
1069
+ 823,
1070
+ 289
1071
+ ],
1072
+ "page_idx": 10
1073
+ },
1074
+ {
1075
+ "type": "text",
1076
+ "text": "Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, et al. Imagenet large scale visual recognition challenge. International journal of computer vision, 115(3):211–252, 2015. ",
1077
+ "bbox": [
1078
+ 176,
1079
+ 303,
1080
+ 823,
1081
+ 347
1082
+ ],
1083
+ "page_idx": 10
1084
+ },
1085
+ {
1086
+ "type": "text",
1087
+ "text": "Ludwig Schmidt, Shibani Santurkar, Dimitris Tsipras, Kunal Talwar, and Aleksander Madry. Adversarially robust generalization requires more data. In Advances in Neural Information Processing Systems, pp. 5014–5026, 2018. ",
1088
+ "bbox": [
1089
+ 173,
1090
+ 359,
1091
+ 825,
1092
+ 402
1093
+ ],
1094
+ "page_idx": 10
1095
+ },
1096
+ {
1097
+ "type": "text",
1098
+ "text": "Ali Shafahi, W Ronny Huang, Christoph Studer, Soheil Feizi, and Tom Goldstein. Are adversarial examples inevitable? ICLR, 2019a. ",
1099
+ "bbox": [
1100
+ 169,
1101
+ 416,
1102
+ 823,
1103
+ 445
1104
+ ],
1105
+ "page_idx": 10
1106
+ },
1107
+ {
1108
+ "type": "text",
1109
+ "text": "Ali Shafahi, Mahyar Najibi, Amin Ghiasi, Zheng Xu, John Dickerson, Christoph Studer, Larry S Davis, Gavin Taylor, and Tom Goldstein. Adversarial training for free! arXiv preprint arXiv:1904.12843, 2019b. ",
1110
+ "bbox": [
1111
+ 173,
1112
+ 459,
1113
+ 825,
1114
+ 502
1115
+ ],
1116
+ "page_idx": 10
1117
+ },
1118
+ {
1119
+ "type": "text",
1120
+ "text": "Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: a simple way to prevent neural networks from overfitting. The Journal of Machine Learning Research, 15(1):1929–1958, 2014. ",
1121
+ "bbox": [
1122
+ 176,
1123
+ 516,
1124
+ 823,
1125
+ 559
1126
+ ],
1127
+ "page_idx": 10
1128
+ },
1129
+ {
1130
+ "type": "text",
1131
+ "text": "Dong Su, Huan Zhang, Hongge Chen, Jinfeng Yi, Pin-Yu Chen, and Yupeng Gao. Is robustness the cost of accuracy?–a comprehensive study on the robustness of 18 deep image classification models. In Proceedings of the European Conference on Computer Vision (ECCV), pp. 631–648, 2018. ",
1132
+ "bbox": [
1133
+ 173,
1134
+ 573,
1135
+ 825,
1136
+ 630
1137
+ ],
1138
+ "page_idx": 10
1139
+ },
1140
+ {
1141
+ "type": "text",
1142
+ "text": "Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. arXiv preprint arXiv:1312.6199, 2013. ",
1143
+ "bbox": [
1144
+ 171,
1145
+ 643,
1146
+ 825,
1147
+ 672
1148
+ ],
1149
+ "page_idx": 10
1150
+ },
1151
+ {
1152
+ "type": "text",
1153
+ "text": "Florian Tramer, Alexey Kurakin, Nicolas Papernot, Ian Goodfellow, Dan Boneh, and Patrick Mc-\\` Daniel. Ensemble adversarial training: Attacks and defenses. arXiv preprint arXiv:1705.07204, 2017. ",
1154
+ "bbox": [
1155
+ 173,
1156
+ 686,
1157
+ 825,
1158
+ 729
1159
+ ],
1160
+ "page_idx": 10
1161
+ },
1162
+ {
1163
+ "type": "text",
1164
+ "text": "Dimitris Tsipras, Shibani Santurkar, Logan Engstrom, Alexander Turner, and Aleksander Madry. Robustness may be at odds with accuracy. stat, 1050:11, 2018. ",
1165
+ "bbox": [
1166
+ 173,
1167
+ 743,
1168
+ 823,
1169
+ 773
1170
+ ],
1171
+ "page_idx": 10
1172
+ },
1173
+ {
1174
+ "type": "text",
1175
+ "text": "Jason Yosinski, Jeff Clune, Yoshua Bengio, and Hod Lipson. How transferable are features in deep neural networks? In Advances in neural information processing systems, pp. 3320–3328, 2014. ",
1176
+ "bbox": [
1177
+ 171,
1178
+ 786,
1179
+ 825,
1180
+ 816
1181
+ ],
1182
+ "page_idx": 10
1183
+ },
1184
+ {
1185
+ "type": "text",
1186
+ "text": "Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. arXiv preprint arXiv:1605.07146, 2016. ",
1187
+ "bbox": [
1188
+ 171,
1189
+ 830,
1190
+ 823,
1191
+ 859
1192
+ ],
1193
+ "page_idx": 10
1194
+ },
1195
+ {
1196
+ "type": "text",
1197
+ "text": "Hongyang Zhang, Yaodong Yu, Jiantao Jiao, Eric P Xing, Laurent El Ghaoui, and Michael I Jordan. Theoretically principled trade-off between robustness and accuracy. arXiv preprint arXiv:1901.08573, 2019. ",
1198
+ "bbox": [
1199
+ 173,
1200
+ 872,
1201
+ 825,
1202
+ 915
1203
+ ],
1204
+ "page_idx": 10
1205
+ },
1206
+ {
1207
+ "type": "text",
1208
+ "text": "A EXPERIMENT DETAILS ",
1209
+ "text_level": 1,
1210
+ "bbox": [
1211
+ 176,
1212
+ 102,
1213
+ 397,
1214
+ 118
1215
+ ],
1216
+ "page_idx": 11
1217
+ },
1218
+ {
1219
+ "type": "text",
1220
+ "text": "A.1 LWF-BASED EXPERIMENTS ",
1221
+ "text_level": 1,
1222
+ "bbox": [
1223
+ 176,
1224
+ 138,
1225
+ 408,
1226
+ 154
1227
+ ],
1228
+ "page_idx": 11
1229
+ },
1230
+ {
1231
+ "type": "text",
1232
+ "text": "In our LWF-based experiments, we use a batch-size of 128, a fixed learning-rate of $1 \\mathrm { e } { - } 2 \\mathrm { m }$ , and fine-tune for an additional 20,000 iterations. The first 10,000 iterations are used for warm-start; during which we only update the final fully connected layer’s weights. During the remaining 10,000 iterations, we update all of the weights but do not update the batch-normalization parameters. ",
1233
+ "bbox": [
1234
+ 174,
1235
+ 170,
1236
+ 825,
1237
+ 226
1238
+ ],
1239
+ "page_idx": 11
1240
+ },
1241
+ {
1242
+ "type": "text",
1243
+ "text": "A.2 IMAGENET TO CIFAR EXPERIMENTS ",
1244
+ "text_level": 1,
1245
+ "bbox": [
1246
+ 176,
1247
+ 252,
1248
+ 475,
1249
+ 266
1250
+ ],
1251
+ "page_idx": 11
1252
+ },
1253
+ {
1254
+ "type": "text",
1255
+ "text": "When freezing the feature extractor and fine-tuning on adversarial examples, we train the last fully connected layer’s weights for 50 epochs using batch-size ${ \\mathrm { - } } 1 2 8$ . We start with an initial learning rate of 0.01 and drop the learning rate to 0.001 at epoch 30. In the case of fine-tuning on adversarial examples, we generate the adversarial examples using a 3 step PGD attack with step-size 3 and a perturbation bound $\\epsilon = 5$ . ",
1256
+ "bbox": [
1257
+ 174,
1258
+ 282,
1259
+ 825,
1260
+ 352
1261
+ ],
1262
+ "page_idx": 11
1263
+ },
1264
+ {
1265
+ "type": "text",
1266
+ "text": "A.3 FREE TRAINING EXPERIMENTS ",
1267
+ "text_level": 1,
1268
+ "bbox": [
1269
+ 176,
1270
+ 380,
1271
+ 431,
1272
+ 393
1273
+ ],
1274
+ "page_idx": 11
1275
+ },
1276
+ {
1277
+ "type": "text",
1278
+ "text": "In all of our free-training experiments where we train the u-ResNet-50, we train for 90 epochs using a batch-size of 128. The initial learning rate used is 0.1 and we drop it by a factor of 10 at epochs 30 and 60. We use a replay parameter $m = 4$ and perturbation bound $\\epsilon = 5$ . ",
1279
+ "bbox": [
1280
+ 174,
1281
+ 410,
1282
+ 825,
1283
+ 452
1284
+ ],
1285
+ "page_idx": 11
1286
+ },
1287
+ {
1288
+ "type": "text",
1289
+ "text": "B THE DISTANCE BETWEEN FEATURE REPRESENTATIONS OF NATURAL IMAGES AND AUGMENTED IMAGES ",
1290
+ "text_level": 1,
1291
+ "bbox": [
1292
+ 179,
1293
+ 483,
1294
+ 769,
1295
+ 516
1296
+ ],
1297
+ "page_idx": 11
1298
+ },
1299
+ {
1300
+ "type": "text",
1301
+ "text": "To speed up the LwF experiments, we did not use data augmentation during training. Instead of computing the robust feature representations on the fly, before starting training on the new target task, we passed the entire training data of the target task through the robust network and stored the feature representation vector. If we were doing data augmentation, we would have to pass the entire augmented training data through the network, which would be slow and memory intensive. Alternatively, we could use the robust feature representation of the non-augmented images instead. The latter would have been feasible if the distance between the robust feature representations of the non-augmented and augmented images were very small. However, as shown in fig 7, this quantity is not often negligible. ",
1302
+ "bbox": [
1303
+ 173,
1304
+ 537,
1305
+ 826,
1306
+ 664
1307
+ ],
1308
+ "page_idx": 11
1309
+ },
1310
+ {
1311
+ "type": "image",
1312
+ "img_path": "images/90e6d476bbe24227f3b5adc4007f0636a46ea454fc9ede809e5b235b5396cdaa.jpg",
1313
+ "image_caption": [],
1314
+ "image_footnote": [],
1315
+ "bbox": [
1316
+ 210,
1317
+ 693,
1318
+ 439,
1319
+ 835
1320
+ ],
1321
+ "page_idx": 11
1322
+ },
1323
+ {
1324
+ "type": "image",
1325
+ "img_path": "images/e696063dae05d81986a48089ef4f43ba116824b44dcb9a050613231a804874a1.jpg",
1326
+ "image_caption": [
1327
+ "(b) Histogram of $\\lVert z ( x , \\theta _ { r } ^ { * } ) , z ( x _ { a } , \\theta _ { r } ^ { * } ) \\rVert _ { 2 }$ for CIFAR100 dataset, given $\\theta _ { r } ^ { * }$ for CIFAR-100 dataset. The mean for both training and test examples is $\\simeq 5 . 5 7$ "
1328
+ ],
1329
+ "image_footnote": [],
1330
+ "bbox": [
1331
+ 534,
1332
+ 693,
1333
+ 767,
1334
+ 835
1335
+ ],
1336
+ "page_idx": 11
1337
+ },
1338
+ {
1339
+ "type": "text",
1340
+ "text": "(a) Histogram of $\\lVert z ( x , \\theta _ { r } ^ { * } ) , z ( x _ { a } , \\theta _ { r } ^ { * } ) \\rVert _ { 2 }$ for CIFAR-10 dataset, given ${ \\boldsymbol { \\theta } } _ { r } ^ { * }$ for CIFAR-100 dataset. The mean for both training and test examples is $\\simeq 5 . 5 3$ ",
1341
+ "bbox": [
1342
+ 173,
1343
+ 840,
1344
+ 493,
1345
+ 880
1346
+ ],
1347
+ "page_idx": 11
1348
+ },
1349
+ {
1350
+ "type": "text",
1351
+ "text": "Figure 7: Figures $\\mathrm { 7 a }$ and $\\mathrm { 7 b }$ both show that the values of $\\lVert z ( x , \\theta _ { r } ^ { * } ) , z ( x _ { a } , \\theta _ { r } ^ { * } ) \\rVert _ { 2 }$ are high most of the time, consequently, LwF is better done without data augmentation. ",
1352
+ "bbox": [
1353
+ 169,
1354
+ 891,
1355
+ 823,
1356
+ 920
1357
+ ],
1358
+ "page_idx": 11
1359
+ },
1360
+ {
1361
+ "type": "image",
1362
+ "img_path": "images/d27b48e4ddfaa40de01d092b3a1ed01194830c72e3afc0578cb181a10c8f0a56.jpg",
1363
+ "image_caption": [
1364
+ "Figure 8: When the number of training data per-class is very limited (right bars), adversarially robust transfer learning [Transferred] is better overall. However, as the number of training data increases (left bars), fine-tuning with adversarial examples of the target domain [Fine-tuned with AT] results in an overall better performing model. Adversarially robust transfer learning is $3 \\times$ faster than finetuning with adversarial examples of the target domain. "
1365
+ ],
1366
+ "image_footnote": [],
1367
+ "bbox": [
1368
+ 181,
1369
+ 99,
1370
+ 812,
1371
+ 243
1372
+ ],
1373
+ "page_idx": 12
1374
+ },
1375
+ {
1376
+ "type": "text",
1377
+ "text": "C LOW-DATA REGIME TRANSFER LEARNING FROM IMAGENET TO CIFAR-10 ",
1378
+ "text_level": 1,
1379
+ "bbox": [
1380
+ 176,
1381
+ 349,
1382
+ 733,
1383
+ 381
1384
+ ],
1385
+ "page_idx": 12
1386
+ },
1387
+ {
1388
+ "type": "text",
1389
+ "text": "In section 4.2, we illustrated that robust transfer learning is most beneficial where we have limited data (i.e., limited number of training data per class). We used CIFAR-100 as an illustrative target dataset. However, the overall results are not data set dependent. When we have limited number of training data, robust transfer learning results in the highest overall performance (see Fig. 8 for transferring from a robust ImageNet model to smaller instances of CIFAR-10). ",
1390
+ "bbox": [
1391
+ 173,
1392
+ 397,
1393
+ 826,
1394
+ 468
1395
+ ],
1396
+ "page_idx": 12
1397
+ },
1398
+ {
1399
+ "type": "text",
1400
+ "text": "D LWF-BASED ROBUST TRANSFER LEARNING FOR SIMILAR SOURCE AND TARGET DATASETS ",
1401
+ "text_level": 1,
1402
+ "bbox": [
1403
+ 178,
1404
+ 489,
1405
+ 797,
1406
+ 521
1407
+ ],
1408
+ "page_idx": 12
1409
+ },
1410
+ {
1411
+ "type": "text",
1412
+ "text": "In Table 6 we conduct LwF experiments on the split CIFAR-100 task which is more suited for transfer learning due to the similarities between the source and target datasets. In these situations, the LwF regularizer on the feature representations still works and can improve generalization without becoming vulnerable to adversarial examples. If we take the average performance of the robust classifiers on the split tasks (average of robust half CIFAR-100 and the LwF setting model for $\\lambda _ { d } = 0 . 0 1$ ) we get $( 6 3 . 3 2 + 6 4 . 9 6 ) / 2 = 6 4 . 1 4 \\%$ average validation accuracy and $2 0 . 4 2 \\%$ average robustness which is comparable with the case that we had adversarially trained the entire CIFAR-100 dataset (Table 1). ",
1413
+ "bbox": [
1414
+ 173,
1415
+ 536,
1416
+ 825,
1417
+ 648
1418
+ ],
1419
+ "page_idx": 12
1420
+ },
1421
+ {
1422
+ "type": "table",
1423
+ "img_path": "images/2449c8fc6d8c7930634974aaa6a04778f067d4d6a60e9b904a3ff6c106b408b5.jpg",
1424
+ "table_caption": [
1425
+ "Table 6: Distilling robust features using LwF for the split CIFAR-100 task. For reference, we have included the results from transfer learning by freezing the features at the bottom of the table. "
1426
+ ],
1427
+ "table_footnote": [],
1428
+ "table_body": "<table><tr><td rowspan=1 colspan=1>Source -→ Target Dataset</td><td rowspan=1 colspan=1>Source Model</td><td rowspan=1 colspan=1>入d</td><td rowspan=1 colspan=1>val.</td><td rowspan=1 colspan=1>PGD-20</td></tr><tr><td rowspan=1 colspan=1>CIFAR-100+ (1/2) → CIFAR-100 (other 1/2)</td><td rowspan=1 colspan=1>robust</td><td rowspan=1 colspan=1>0.0010.0050.010.1</td><td rowspan=1 colspan=1>73.30%66.96%63.32%55.14%</td><td rowspan=1 colspan=1>1.92%10.52%15.68%17.26%</td></tr><tr><td rowspan=1 colspan=1>CIFAR-100+ (1/2) →&gt; CIFAR-100+ (other 1/2)</td><td rowspan=1 colspan=1>naturalrobust</td><td rowspan=1 colspan=1>NANA</td><td rowspan=1 colspan=1>71.44%58.48%</td><td rowspan=1 colspan=1>0.00%15.86%</td></tr></table>",
1429
+ "bbox": [
1430
+ 174,
1431
+ 700,
1432
+ 818,
1433
+ 804
1434
+ ],
1435
+ "page_idx": 12
1436
+ },
1437
+ {
1438
+ "type": "text",
1439
+ "text": "E IMPROVING GENERALIZATION OF THE CIFAR-10 ADVERSARIALLY TRAINED MODEL ",
1440
+ "text_level": 1,
1441
+ "bbox": [
1442
+ 176,
1443
+ 829,
1444
+ 763,
1445
+ 864
1446
+ ],
1447
+ "page_idx": 12
1448
+ },
1449
+ {
1450
+ "type": "text",
1451
+ "text": "Similar to the case of improving the generalization for CIFAR-100, we use our LwF-based loss function to transfer from the robust CIFAR-10 domain to the natural CIFAR-10 domain. We summarize the results in Table 7. ",
1452
+ "bbox": [
1453
+ 176,
1454
+ 878,
1455
+ 825,
1456
+ 921
1457
+ ],
1458
+ "page_idx": 12
1459
+ },
1460
+ {
1461
+ "type": "table",
1462
+ "img_path": "images/7e32e0e6b76a94e0454d17e3c9991b2344b0369ef85022f75aaa631739f44393.jpg",
1463
+ "table_caption": [
1464
+ "Table 7: Decreasing generalization gap by transferring with LwF. For reference, last row shows results from adversarial training CIFAR-10. The $\\cdot _ { + } ,$ sign refers to using augmentation. $\\epsilon = 8$ ) "
1465
+ ],
1466
+ "table_footnote": [],
1467
+ "table_body": "<table><tr><td rowspan=1 colspan=1>Source → Target Dataset</td><td rowspan=1 colspan=1>Source Model</td><td rowspan=1 colspan=1>入d</td><td rowspan=1 colspan=1>val.</td><td rowspan=1 colspan=1>PGD-20</td><td rowspan=1 colspan=1>CW-20</td></tr><tr><td rowspan=3 colspan=1>CIFAR-10+ →CIFAR-10</td><td rowspan=3 colspan=1>robust</td><td rowspan=1 colspan=1>1e-5</td><td rowspan=1 colspan=1>88.16%</td><td rowspan=1 colspan=1>45.31%</td><td rowspan=1 colspan=1>46.15%</td></tr><tr><td rowspan=1 colspan=1>5e-5</td><td rowspan=1 colspan=1>88.08%</td><td rowspan=2 colspan=1>46.24%46.54%46.36%46.27%46.09%46.11%</td><td rowspan=2 colspan=1>47.06%47.29%47.16%47.06%46.92%46.84%</td></tr><tr><td rowspan=1 colspan=1>1e-45e-40.0010.010.1</td><td rowspan=1 colspan=1>87.81%87.44%87.31%87.27%87.49%</td></tr><tr><td rowspan=1 colspan=1>CIFAR-10+</td><td rowspan=1 colspan=1>robust</td><td rowspan=1 colspan=1>NA</td><td rowspan=1 colspan=1>87.25%</td><td rowspan=1 colspan=1>45.84%</td><td rowspan=1 colspan=1>46.96%</td></tr></table>",
1468
+ "bbox": [
1469
+ 205,
1470
+ 465,
1471
+ 787,
1472
+ 595
1473
+ ],
1474
+ "page_idx": 13
1475
+ }
1476
+ ]
parse/train/ryebG04YvB/ryebG04YvB_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/ryebG04YvB/ryebG04YvB_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/ryxf9CEKDr/ryxf9CEKDr.md ADDED
@@ -0,0 +1,343 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # EFFICIENT SALIENCY MAPS FOR EXPLAINABLE AI
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ We describe an explainable AI saliency map method for use with deep convolutional neural networks (CNN) that is much more efficient than popular gradient methods. It is also quantitatively similar and better in accuracy. Our technique works by measuring information at the end of each network scale which is then combined into a single saliency map. We describe how saliency measures can be made more efficient by exploiting Saliency Map Order Equivalence. Finally, we visualize individual scale/layer contributions by using a Layer Ordered Visualization of Information. This provides an interesting comparison of scale information contributions within the network not provided by other saliency map methods. Since our method only requires a single forward pass through a few of the layers in a network, it is at least $9 7 \mathbf { x }$ faster than Guided Backprop and much more accurate. Using our method instead of Guided Backprop, class activation methods such as Grad-CAM, Grad- $\mathrm { C A M + + }$ and Smooth Grad- $\mathrm { C A M + + }$ will run several orders of magnitude faster, have a significantly smaller memory footprint and be more accurate. This will make such methods feasible on resource limited platforms such as robots, cell phones and low cost industrial devices. This will also significantly help them work in extremely data intensive applications such as satellite image processing. All without sacrificing accuracy. Our method is generally straight forward and should be applicable to the most commonly used CNNs 1.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ Deep neural networks (DNN) have provided a new burst of research in the machine learning community. However, their complexity obfuscates the underlying processes that drive their inferences. This has lead to a new field of explainable AI (XAI). A variety of tools are being developed to enable researchers to peer into the inner workings of DNNs. One such tool is the XAI saliency map. It is generally used with image or video processing applications and is supposed to show what parts of an image or video frame are most important to a network’s decisions. The seemingly most popular methods derive a gradient saliency map by back-propagating a gradient from the end of the network and project it onto an image plane (Simonyan et al., 2014; Zeiler & Fergus, 2014; Springenberg et al., 2015; Sundararajan et al., 2017; Patro et al., 2019). The gradient can typically be from a loss function, layer activation or class activation. Thus, it requires storage of the data necessary to compute a full backward pass on the input image.
12
+
13
+ Several newer methods attempt to iteratively augment the image or a mask in ways that affect the precision of the results (Fong & Vedaldi, 2017; Chang et al., 2018). Additionally, saliency map encoders can be trained within the network itself (Dabkowski & Gal, 2017). Both of these methods have a distinct advantage of being more self-evidently empirical when compared with gradient techniques. Class Activation Map (CAM) methods (Selvaraju et al., 2017; Chattopadhyay et al., 2018; Omeiza et al., 2019) efficiently map a specified class to a region in an image, but the saliency map is very coarse. They generally use a method like Guided Backprop (Springenberg et al., 2015) to add finer pixel level details. This requires a full backwards pass through the network, and it adds significant memory and computational overhead to CAM solutions relative to just computing the CAM alone. Several of the CAM methods compute gradients aside from the use of Guided Backprop, but we will differentiate them by referring to them as CAM methods.
14
+
15
+ # 1.1 EFFICIENCY AND WHY IT MATTERS HERE
16
+
17
+ Most saliency map methods require many passes through the network in order to generate results or train. The gradient methods hypothetically would require just one backwards pass, but often require as many as 15 in order to give an accurate rendering (Hooker et al., 2018). This is not always a problem in the lab when a person has a powerful GPU development box. However, what if one would like to see the workings of the network at training time or even run time? This can be a serious hurdle when running a network on mobile or embedded platforms. It is not uncommon for hardware to be barely fast enough to process each image from a video source. Running a full backward pass can lead to dropped frames. Additionally, viewing or saving the saliency map for each frame is infeasible. Another problem is that some platforms may not have the memory capacity to save all the information required for a backward pass. Gradient based methods cannot work in these instances. Sometimes this can even be the case with powerful hardware. Satellite images can be vary large and potentially exhaust generous resources. An efficient method would enable developers in these areas to get feedback in the field and aid in debugging or understanding the behavior of a network.
18
+
19
+ Here we show a method of computing an XAI saliency map which is highly efficient. The memory and processing overhead is several orders of magnitude lower than the commonly used gradient methods. This makes it feasible in any resource limited environment. Also, since we demonstrate empirically that our method is either similar or more accurate than the most commonly used gradient methods, it can be used it to speed up run-time in any situation. It is fast enough that we already use it automatically when training networks. We notice very little degradation of training speed.
20
+
21
+ # 2 METHODS
22
+
23
+ # 2.1 SALIENCY MAP DERIVATION
24
+
25
+ We were looking for a method to compute saliency maps based on certain conditions and assumptions.
26
+
27
+ 1. The method used needs to be relatively efficient to support rapid analysis at both test time and during DNN training.
28
+ 2. The method should have a reasonable information representation. As a DNN processes data, the flow of information should become localized to areas which are truly important.
29
+ 3. The method should capture the intuition that the informativeness of a location is proportional to the overall activation level of all the filters as well their variance. That is, informative activations should have a sparse pattern with strong peaks.
30
+
31
+ Our approach works by creating saliency maps for the output layer of each scale in a neural network and then combines them. We can understand scale by noting that the most commonly used image processing DNNs work on images with filter groups at the same scale which down-sample the image and pass it to the group of filters at the next scale, and so on. Given a network like ResNet-50 (He et al., 2015) with in input image size of $2 2 4 x 2 2 4$ , we would have five scale groups of size $1 1 2 x 1 1 2$ , $5 6 x 5 6$ , $2 8 x 2 8$ , $1 4 x 1 4$ and $7 x 7$ . It is at the end of these scale groups where we are interested in computing saliency. In this way, our approach is efficient and is computed during the standard forward pass through the network. No extra pass is needed.
32
+
33
+ To achieve localization of information, we measure statistics of activation values arising at different input locations. Given an output activation tensor $\pmb { \mathsf { T } } \in \mathbb { R } ^ { + , p \times q \times r }$ with spatial indices $i , j \in p , q$ and depth index $k \in \textit { r }$ from some layer ${ \boldsymbol { \mathsf { T } } } = l \left( { \boldsymbol { \mathsf { X } } } \right)$ . In our case $l \left( . \right)$ is a $R e L U$ (Nair & Hinton, 2010). We apply a function to each column at $i , j$ over all depths $k$ . This yields a 2D saliency map $\pmb { S } \in \mathbb { R } ^ { + , p \times \hat { q } }$ where $S = \varphi \left( \boldsymbol { \mathsf { T } } \right)$ . We process the tensor after it has been batch-normalized (Ioffe & Szegedy, 2015) and processed by the activation function. When we compute Truncated Normal statistics as an alternative in later section, we take the tensor prior to the activation function.
34
+
35
+ Finally, to capture our intuition about the informativeness of an output activation tensor, we derived $\varphi \left( . \right)$ by creating a special simplification of the maximum likelihood estimation Gamma Scale parameter (Choi & Wette, 1969). One way we can express it is:
36
+
37
+ ![](images/2286f7ccdeec7b998cb675e9d8ace2b46e53aa64a679d3edf69afdcc72404e03.jpg)
38
+ Figure 1: The left most image is the input to the network. Five saliency maps are shown for each spatial scale in the network. They are combined per $\operatorname { E q } 3$ . The right most image is the combined saliency map created from these. To aid in visualizing context, it has been alpha blended with a gray scale version of the original image here at $2 5 \%$ . Many more combined saliency map examples can be seen in Appendix Figures 9 and 10
39
+
40
+ $$
41
+ \varphi \left( . \right) = \frac { 1 } { r } \cdot \sum _ { k = 1 } ^ { r } x _ { k } \cdot \left[ l o g _ { 2 } \left( \frac { 1 } { r } \cdot \sum _ { k = 1 } ^ { r } x _ { k } \right) - \frac { 1 } { r } \cdot \sum _ { k = 1 } ^ { r } l o g _ { 2 } \left( x _ { k } \right) \right]
42
+ $$
43
+
44
+ To avoid log zero, we add $1 e - 0 6$ to each $x _ { k }$ . How mean and variance relate seems readily apparent with the square bracketed part being the computational formula for the standard deviation with values taken to $l o g _ { 2 } \left( . \right)$ rather than squared. This is preceded by a typical mean estimate. This meets the third requirement we mentioned. This simplification is Saliency Map Order Equivalent (SMOE) to the full iterative (and expensive) scale parameter estimation. We define SMOE as follows. Given saliency map $S _ { a } \in \mathbb { R } ^ { + , p \times q }$ and $S _ { b } \in \mathbb { R } ^ { + , p \times q }$ where we may have $S _ { a } \neq S _ { b }$ , if we sort the pixels by value, then $S _ { a }$ will be sorted in exactly the same order as $S _ { b }$ . That means that the most salient location $i , j$ is exactly the same in both $S _ { a }$ and $S _ { b }$ . This also means that if we create a binary mask of the $n \%$ most salient pixels, the mask for both $S _ { a }$ and $S _ { b }$ will also be exactly the same. SMOE is preserved if for instance, we apply independent monotonic functions to a saliency map. As such, we may as well strip these away to save on computation. Tie values may create an imperfect equivalence, but we assert that these should be very rare and not affect results by a measurable amount.
45
+
46
+ Using $\mu$ as the mean of each column $r$ in $\boldsymbol { \mathsf { T } }$ , we can see the information relation more clearly if we simplify Eq 1 further which gives us our SMOE Scale method:
47
+
48
+ $$
49
+ \varphi \left( . \right) = \frac { 1 } { r } \cdot \sum _ { k = 1 } ^ { r } \mu \cdot \log _ { 2 } \left( \frac { \mu } { x _ { k } } \right)
50
+ $$
51
+
52
+ The resemblance to conditional entropy is apparent. However, since the values in $\operatorname { E q } 2$ are not probabilities, this does not fit the precise definition of it. On the other hand, the interpretation is fairly similar. It is the mean activation multiplied by the information we would gain if we knew the individual values which formed the mean. Put in traditional terms, it is the information in the mean conditioned on the individual values. Numerical examples of this method at work can be seen in Appendix Table 3 along with more information on the derivation. To create a 2D saliency map $\pmb { S } \in \mathbb { R } ^ { + , p \times q }$ , we simply apply Eq 2 at each spatial location $i , j \in p , q$ with column elements $k \in r$ in the 3D activation tensor $\boldsymbol { \mathsf { T } }$ for a given input image.
53
+
54
+ # 2.2 COMBINED SALIENCY MAP GENERATION
55
+
56
+ For each input image, we derive five saliency maps. For different networks, this number may vary. Given a network such as a ResNet (He et al., 2015), AlexNet (Krizhevsky et al., 2013), VGG Net (Simonyan & Zisserman, 2015) or DenseNet (Huang et al., 2017) we compute saliency on the final tensor computed at each spatial scale. Recall that most image classification networks process images in a pipeline that processes an image in consecutive groups of convolution layers where each group downsamples the image by $1 / 2 \mathbf { x }$ before passing it onto the next. It is just prior to the downsampling that we compute each saliency map. Computing saliency across image scales is a classical technique (Itti et al., 1998). This is also similar to the method used in the XAI saliency technique described in (Dabkowski & Gal, 2017).
57
+
58
+ ![](images/81b44ec40e147e2162caa9b8c053146acaebf72f2489dae4f356e61e1c164371.jpg)
59
+ Figure 2: Images are shown with their combined saliency map using our LOVI scheme. The hue in each saliency map corresponds to layer activation. Earlier layers start at violet and trend red in the last layers following the order of the rainbow. Areas which are blue or violet are only activated early in network processing. They tend to activate early filters, but are later disregarded by the network. Yellow and red areas are only activated later in the network. They appear to be places where the objects components are combined together. White areas are activated throughout all network layers. They possibly correspond to the most important features in the image. Many more examples can be seen in Appendix Figures 11 and 12
60
+
61
+ To make our maps easier to visualize or combine together, we normalize them from 0 to 1 by squashing them with the normal cumulative distribution function $\gamma \left( s ; \mu , \sigma \right)$ . Here mean and standard deviation are computed independently over each saliency map. We then create a combined saliency map by taking the weighted average of the maps. Since they are at different scales, they are upsampled via bilinear interpolation to match the dimensions of the input image. Given $r$ saliency maps that have been bilinear interpolated (upsampled) to the original input image size $p , q$ , they are then combined as:
62
+
63
+ $$
64
+ c _ { i , j } = \frac { \sum _ { k = 1 } ^ { r } \gamma \left( s _ { i , j , k } ; \mu _ { k } , \sigma _ { k } \right) \cdot w _ { k } } { \sum _ { k = 1 } ^ { r } w _ { k } }
65
+ $$
66
+
67
+ Note that technically, we compute $\gamma \left( s ; \mu , \sigma \right)$ before we upsample. Weighting is very useful since we expect that saliency maps computed later in the network should be more accurate than saliency maps computed earlier as the network has reduced more irrelevant information in deeper layers, distilling relevant pixels from noise (Tishby et al., 2000). Network activity should be more focused on relevant locations as information becomes more related to the message. We observe this behavior which can be seen later in Figure 4. A saliency map generation example can be seen in Figure 1 with many more examples in Appendix Figures 9 and 10.
68
+
69
+ The advantages of creating saliency maps this way when compared with most gradient methods are:
70
+
71
+ • Pro: This is relatively efficient, requiring processing of just five low cost layers during a standard forward pass.
72
+ • Pro: We can easily visualize the network at different stages (layers).
73
+ • Con: The current method does not have a class specific activation map (CAM) (Selvaraju et al., 2017; Chattopadhyay et al., 2018; Omeiza et al., 2019), but we discuss how this can be done later.
74
+
75
+ # 2.3 VISUALIZING MULTIPLE SALIENCY MAPS
76
+
77
+ One advantage to computing multiple saliency maps at each scale is that we can get an idea of what is happening in the middle of the network. However, with so many saliency maps, we are starting to be overloaded with information. This could get even worse if we decided to insert saliency maps after each layer rather than just at the end of each scale. One way to deal with this is to come up with a method of combining saliency maps into a single image that preserves useful information about each map. Such a composite saliency map should communicate where the network is most active as well as which layers specifically are active. We call our method Layer Ordered Visualization of Information (LOVI). We do this by combining saliency maps using an HSV color scheme (Joblove & Greenberg, 1978) where hue corresponds to which layer is most active at a given location. That is, it shows the mean layer around which a pixels activity is centered. Saturation tells us the uniqueness of the activation. This is the difference between the maximum value at a location and the others. Value (intensity) corresponds to the maximal activation at that location. Basically, this is a pixel’s importance.
78
+
79
+ If only one layer is active at a location, the color will be very saturated (vivid colors). On the other hand, if all layers are equally active at a given location, the pixel value will be unsaturated (white or gray). If most of the activation is towards the start of a network, a pixel will be violet or blue. If the activation mostly happens at the end, a pixel will be yellow or red. Green indicates a middle layer. Thus, the color ordering by layer follows the standard order of the rainbow. Examples can be seen in Figure 2. Given $k \in r$ saliency maps $\pmb { S }$ (in this instance, we have $r = 5$ maps), we stack them into a tensor $\pmb { \mathsf { S } } \in \mathbb { R } ^ { + , p \times q \times r }$ . Note that all $s \in [ 0 , 1 ]$ because of $\operatorname { E q } 3$ and they have been upsampled via bilinear interpolation to match the original input image size. Given:
80
+
81
+ $$
82
+ \begin{array} { r } { \phi \left( k \right) = 1 - \frac { k - 1 } { r } \cdot \left( \frac { r - 1 } { r } \right) ^ { - 1 } , \nu = \frac { 1 } { r } } \end{array}
83
+ $$
84
+
85
+ $\mathbf { H u e } \in [ 0 , 3 6 0 ]$ is basically the center of mass of activation for column vector $\pmb { s }$ at each location $i , j \in p , q$ in S:
86
+
87
+ $$
88
+ H u e = \frac { \sum _ { k = 1 } ^ { r } s _ { k } \cdot \phi \left( k \right) } { \sum _ { k = 1 } ^ { r } s _ { k } } \cdot 3 0 0
89
+ $$
90
+
91
+ Saturation $\in [ 0 , 1 ]$ is the inverse of the ratio of the values in $\pmb { s }$ compared to if they are all equal to the maximum value. So for instance, if one value is large and all the other values are small, saturation is high. On the other hand, if all values are about the same (equal to the maximum value), saturation is very small:
92
+
93
+ $$
94
+ S a t = 1 - \frac { \sum _ { k = 1 } ^ { r } \left( s _ { k } \right) - \nu } { r \cdot m a x \left( s \right) \cdot \left( 1 - \nu \right) }
95
+ $$
96
+
97
+ Value $\in [ 0 , 1 ]$ is basically just the maximum value in vector $\pmb { s }$ :
98
+
99
+ $$
100
+ V a l = m a x \left( s \right)
101
+ $$
102
+
103
+ Once we have the HSV values for each location, we then convert the image to RGB color space in the usual manner.
104
+
105
+ # 2.4 QUANTIFICATION VIA ROAR AND KAR
106
+
107
+ (Hooker et al., 2018) proposed a standardized method for comparing XAI saliency maps. This extends on ideas proposed by (Dabkowski & Gal, 2017; Samek et al., 2017) and in general hearkens back to methods used to compare computational saliency maps to psychophysical observations (Itti & Koch, 2001). The general idea is that if a saliency map is an accurate representation of what is important in an image, then if we block out salient regions, network performance should degrade. Conversely, if we block out non-salient regions, we should see little degradation in performance. The ROAR/KAR metrics measure these degradations explicitly. The KAR metric (Keep And Retrain) works by blanking out the least salient information/pixels in an input image, and the ROAR (Remove And Retrain) metric uses the contrary strategy and removes the most salient pixels. Figure 3 shows an example of ROAR and KAR masked image. A key component to the ROAR/KAR method is that the network needs to be retrained with saliency masking in place. This is because when we mask out regions in an input image, we unavoidably create artifacts. By retraining the network on masked images, the network learns to ignore the new artifacts and focus on image information.
108
+
109
+ We will give a few examples to show why we need both metrics. If a saliency map is good at deciding which parts of an image are least informative but gets the ranking of the most salient objects wrong, ROAR scores will suggest the method is very good. This is because it masks out the most salient locations in one large grouping. However, ROAR will be unable to diagnose that the saliency map has erroneously ranked the most informative locations until we have removed $50 \%$ or more of the salient pixels. As such, we get no differentiation between the top $1 \%$ and the top $10 \%$ most salient pixels. On the other hand, KAR directly measures how well the saliency map has ranked the most informative locations. By using both metrics, we can quantify the goodness of both the most and least salient locations in a map.
110
+
111
+ ![](images/c2fc969838a856383df2845b4ea618604d90723ced01925b453e6893c80ad514.jpg)
112
+ Figure 3: These are the KAR (kept) and ROAR (removed) mask images created by masking out the original images with the combined saliency map. The percentage is how much of the image has been kept or removed based on the combined saliency map. Thus, the $10 \%$ kept example shows the top $10 \%$ most salient pixels in the image. It is these example images that are fed into the network when we compute the KAR and ROAR scores. Many more examples can be seen in Appendix Figure 8
113
+
114
+ # 3 QUANTITATIVE EXPERIMENTS
115
+
116
+ # 3.1 COMPARING DIFFERENT EFFICIENT STATISTICS
117
+
118
+ We tested our SMOE Scale saliency map method against several other statistical measures using three different datasets that have fairly different tasks and can be effectively trained from scratch. The sets used are ImageNet (Deng et al., 2009), CSAIL Places (Zhou et al., 2014) and COWC (Mundhenk et al., 2016). ImageNet as a task focuses on foreground identification of objects in standard photographic images. Places has more emphasis on background objects, so we would expect more spatial distribution of useful information. COWC, Cars Overhead With Context is an overhead dataset for counting as many as 64 cars per image. We might expect information to be spatially and discretely localized, but distributed over many locations. In summary, these three datasets are expected to have fairly different distributions of important information within each image. This should give us more insight into performance than if we used several task-similar datasets (e.g. Three photographic foreground object sets such as; ImageNet $^ +$ CUB (birds) (Welinder et al., 2010) $^ +$ CompCars (Yang et al., 2015)).
119
+
120
+ For compatibility with (Hooker et al., 2018), we used a ResNet-50 network (He et al., 2015). We also show performance on a per layer basis in order to understand the accuracy at different levels of the network. For comparison with our SMOE Scale method, we included any statistical measure which had at least a modicum of justification and was within the realm of the efficiency we were aiming for. These included parameter and entropy estimations from Normal, Truncated-normal, Log-normal and Gamma Distribution models. We also tested Shanon Entropy and Renyi Entropy. To save compute time, we did a preliminary test on each method and did not continue using it if the results qualitatively appeared very poor and highly unlikely to yield good quantitative results. Normal entropy was excluded because it is SMOE with the Normal standard deviation. This left us with nine possible statistical models which we will discuss in further detail.
121
+
122
+ Saliency maps for each method are computed over each tensor column in the same way as we did with our SMOE Scale metric. The only difference is with the truncated-normal statistic which computes parameters prior to the ReLU layer. We should note that (Jeong & Shin, 2019) uses a truncated normal distribution to measure network information for network design. Recall that we have five saliency map layers. They are at the end of each of the five network spatial scales. We test each one at a time. This is done by setting the network with pre-trained weights for the specific dataset. Then, all weights in the network which come after the saliency mask to be tested are allowed to fine-tune over 25 epochs. Otherwise, we used the same methodology as (He et al., 2015) for data augmentation etc. This is necessary in order to adapt the network to mask related artifacts as specified in the ROAR/KAR protocol. At the level where the saliency map is generated, we mask out pixels in the activation tensor by setting them to zero. For this experiment, we computed the ROAR statistic for the $10 \%$ least salient pixels. For KAR, we computed a map to only let through the top $2 . 5 \%$ most salient pixels. This creates a more similar magnitude between ROAR and KAR measures. Layer scores for the top five methods can be seen in Figure 4. We combine layer scores two different ways since ROAR and KAR scores are not quite proportional. These methods both yield very similar results. The first method takes the improvement difference between
123
+
124
+ ![](images/9ac15155188471db3e61f929f42764903195f545c7e274f14786d4d55f3323c5.jpg)
125
+ Figure 4: SMOE Scale is compared with several other efficient statistical methods. The Y-axis is the combined score per scale layer over all three image sets. The $\mathbf { X }$ -axis is the network layer with L1 being the earliest layer in the network and L5 near the end. A difference score of zero means the result was about the same as for a randomly generated saliency map. Less than zero means it is worse. SMOE Scale differentiates itself the most early on in the network where most statistical methods score at the level of a random saliency map. About mid way through, the difference between methods becomes relatively small. This may be because information contains more message and less noise by this point in processing. Finer grain details can be seen in Appendix Table 4
126
+
127
+ Table 1: KAR and ROAR results per dataset. The Difference Score shows the results using Eq 8. The Information Score uses Eq 9. They are sorted by the average difference score (AVG). The SMOE Scale from Eq 2 performs best overall using both scoring methods. The vanilla standard deviation is second best. Recall it is SMOE with normal entropy. Truncated normal entropy is best on the COWC set and ranks third overall. It is interesting to note that the difference in scores over COWC are not as large as the other two datasets. The top four methods all are information related and mean activation style methods are towards the bottom. Finer grain details can be seen in Appendix Table 4
128
+
129
+ <table><tr><td></td><td colspan="4">Difference Score</td><td colspan="4">Information Score</td></tr><tr><td>Method</td><td>ImNet</td><td>Places</td><td>COWC</td><td>AVG</td><td>ImNet</td><td>Places</td><td>COWC</td><td>AVG</td></tr><tr><td>SMOE Scale</td><td>1.70</td><td>0.90</td><td>1.61</td><td>1.40</td><td>1.13</td><td>0.68</td><td>1.31</td><td>1.04</td></tr><tr><td>Standard Dev</td><td>1.64</td><td>0.83</td><td>1.61</td><td>1.36</td><td>1.07</td><td>0.61</td><td>1.30</td><td>0.99</td></tr><tr><td>Trunc Normal Ent</td><td>1.56</td><td>0.77</td><td>1.64</td><td>1.32</td><td>1.00</td><td>0.56</td><td>1.32</td><td>0.96</td></tr><tr><td>Shanon Ent</td><td>1.61</td><td>0.80</td><td>1.51</td><td>1.31</td><td>0.98</td><td>0.59</td><td>1.23</td><td>0.93</td></tr><tr><td>Trunc Normal Std</td><td>1.51</td><td>0.71</td><td>1.64</td><td>1.28</td><td>1.00</td><td>0.52</td><td>1.32</td><td>0.94</td></tr><tr><td>Trunc Normal Mean</td><td>1.38</td><td>0.67</td><td>1.64</td><td>1.23</td><td>0.96</td><td>0.49</td><td>1.32</td><td>0.92</td></tr><tr><td>Normal Mean</td><td>1.29</td><td>0.63</td><td>1.42</td><td>1.11</td><td>0.75</td><td>0.44</td><td>1.18</td><td>0.79</td></tr><tr><td>Log Normal Ent</td><td>1.16</td><td>0.66</td><td>1.44</td><td>1.09</td><td>0.82</td><td>0.47</td><td>1.20</td><td>0.83</td></tr><tr><td>Log Normal Mean</td><td>1.46</td><td>0.55</td><td>1.09</td><td>1.03</td><td>0.54</td><td>0.35</td><td>0.88</td><td>0.59</td></tr></table>
130
+
131
+ tested method’s score and a randomized mask score. We have five $\kappa \in [ 0 , 1 ]$ KAR scores for a method. We have five $\rho \in [ 0 , 1 ]$ ROAR scores for a method and five $z \in \ [ 0 , 1 ]$ scores from a random mask condition. This corresponds to each saliency map spatial scale which we tested. We compute a simple difference score as:
132
+
133
+ $$
134
+ D \left( \rho , \kappa \right) = \sum _ { p = 1 } ^ { 5 } { \left( z _ { p } - \rho _ { p } \right) } + \sum _ { q = 1 } ^ { 5 } { \left( \kappa _ { q } - z _ { q } \right) }
135
+ $$
136
+
137
+ The second method is an information gain score given by:
138
+
139
+ $$
140
+ I \left( \rho , \kappa \right) = - \sum _ { p = 1 } ^ { 5 } { { { \rho } _ { p } } \cdot l o { { g } _ { 2 } } \left( \frac { { { \rho } _ { p } } } { { { z } _ { p } } } \right) } - \sum _ { q = 1 } ^ { 5 } { { { z } _ { q } } \cdot l o { { g } _ { 2 } } \left( \frac { { { z } _ { q } } } { { { \kappa } _ { q } } } \right) }
141
+ $$
142
+
143
+ Table 1 shows the results.
144
+
145
+ ![](images/a3dbc6264ebf770673200175de8e3c00a557c5a9ba66b15780fbc10ec00f51ee.jpg)
146
+ Figure 5: SMOE Scale with prior layer weights is compared with three popular baseline methods that all use Squared SmoothGrad. Scores for these three are taken from (Hooker et al., 2018). The Yaxis is the model accuracy on ImageNet only. The $\mathbf { X }$ -axis is how much of the input image salient pixels are kept or removed. KAR keeps the most salient locations. Higher accuracy values are better. ROAR removes the most salient regions. Lower values are better. Our method does not seem to suffer as much when the $10 \%$ least salient parts are removed in KAR and in general maintains a better score. Our ROAR scores are very similar to Guided Backprop. Finer grain details can be seen in Appendix Table 5. Note that these results are not per layer. For a closer numerical comparison with the mask layer method, see Appendix Table 4.
147
+
148
+ # 3.2 COMPARISON WITH POPULAR METHODS
149
+
150
+ We compare our method with three popular saliency map methods using the standard ROAR/KAR methodology. These are Gradient Heatmaps (Simonyan et al., 2014), Guided Backprop (Springenberg et al., 2015) and Integrated Gradients (Sundararajan et al., 2017). All methods use SmoothGrad-Squared (Smilkov et al., 2017) which gives generally the best results. We should note that without SmoothGrad or another augmentation, all three do not yield very good ROAR/KAR scores.
151
+
152
+ We compare three different weighting strategies when combining the saliency maps from all five scales. In the first strategy, we weight all five maps equal [1,1,1,1,1]. In the second, we use a ruleof-thumb like approach where we weight the first layer the least since it should be less accurate. Then each successive layer is weighted more. For this we choose the weights to be [1,2,3,4,5]. The third method weights the maps based on the expected accuracy given our results when we computed Table 1. These prior weights are [0.18, 0.15, 0.37, 0.4, 0.72]. The reason for showing the rule-ofthumb results is to give an idea of performance given imperfect weights since one may not want to spend time computing optimal prior weights.
153
+
154
+ To fairly compare the three popular saliency map methods with our own, we adopt a methodology as close as possible to (Hooker et al., 2018). We train a ResNet-50 from scratch on ImageNet with either ROAR or KAR masking (computed by each of the different saliency mapping approaches in turn) at the start of the network. Otherwise, our training method is the same as (He et al., 2015). The comparison results are shown in Figure 5. We can try and refine these results into fewer scores by subtracting the sum of the ROAR scores from the sum of the KAR scores. The results can be seen in Table 2. The KAR score for our method is superior to all three comparison methods. The ROAR score is better than Guided Backpropagation and Integrated Gradients. This suggests our method is superior at correctly determining which locations are most salient, but is not as good as Gradient Heatmaps for determining which parts of the image are least informative.
155
+
156
+ # 4 DISCUSSION
157
+
158
+ # 4.1 METHOD EFFICIENCY
159
+
160
+ The method as proposed is much faster than the three baseline comparison methods. Given a ResNet-50 network, we only process five layers. The other methods require a special back propagation step over all layers. We can compute the cost in time by looking at operations that come from three sources. The first is the computation of statistics on tensors in five layers. The second is
161
+
162
+ Table 2: Combined KAR and ROAR scores for several methods on ImageNet Only. The top three rows show several popular methods with Squared SmoothGrad (Smilkov et al., 2017). These scores are created by simply summing the individual scores together. ROAR is negative since we want it to be as small as possible. Prior Layer Weights means we applied layer weights based on the prior determined accuracy of the layer saliency map. We include our top three scoring methods. The SMOE Scale method outperforms the three baseline methods on KAR. It outperforms Guided Backprop and Integrated Gradients on ROAR as well as overall. The Gradient method is best overall, but as we discuss later, it is at least 1456 times more computationally expensive to compute. Truncated normal entropy scores about the same as SMOE Scale. Since SMOE Scale gains its largest performance boost in the earlier layers, when we apply prior weighting, we reduce that advantage. Finer grain details can be seen in Appendix Table 5.
163
+
164
+ <table><tr><td>Method</td><td>KAR</td><td>ROAR</td><td>SUM</td></tr><tr><td>Gradient (Simonyan et al., 2014) Guided Backprop (Springenberg et al., 2015)</td><td>3.57 3.60</td><td>-3.54 -3.57</td><td>0.04 0.04</td></tr><tr><td>Integrated Grad (Sundararajan et al., 2017) Gradient -w- SmoothGrad Sq.</td><td>3.62</td><td>-3.58</td><td>0.03</td></tr><tr><td>Guided Backprop -w- SmoothGrad Sq.</td><td>3.52 3.49</td><td>-2.12</td><td>1.41</td></tr><tr><td></td><td></td><td>-2.33</td><td>1.16</td></tr><tr><td>Integrated Grad -w- SmoothGrad Sq.</td><td>3.56</td><td>-2.68</td><td>0.88</td></tr><tr><td>SMOE Scale + Prior Layer Weights</td><td>3.61</td><td>-2.31</td><td>1.30</td></tr><tr><td>SMOE Scale + Layer Weights [1,2,3,4,5]</td><td>3.62</td><td>-2.34</td><td></td></tr><tr><td>SMOE Scale + Layer Weights [1,1,1,1,1]</td><td>3.62</td><td></td><td>1.28</td></tr><tr><td></td><td>3.61</td><td>-2.46</td><td>1.15</td></tr><tr><td>Normal Std + Prior Layer Weights</td><td></td><td>-2.32</td><td>1.29</td></tr><tr><td>Trunc Normal Ent + Prior Layer Weights</td><td>3.61</td><td>-2.31</td><td> 1.30</td></tr></table>
165
+
166
+ the normalization of each 2D saliency map. Third we account for the cost of combing the saliency maps.
167
+
168
+ Ops for our solution ranges from $1 . 1 x 1 0 ^ { 7 }$ to $3 . 9 x 1 0 ^ { 7 }$ FLOPs (using terminology from (He et al., 2015)) for a ResNet-50. The network itself has $3 . 8 x 1 0 ^ { 9 }$ FLOPs in total. The range in our count comes from how we measure Log and Error Function operations that are computationally expensive compared to more standard ops and whose implementations vary. We estimate the worst case from available software instantiations. Most of the work comes from the initial computation of statistics over activation tensors. This ranges from $9 . 2 x 1 0 ^ { 6 }$ to $3 . 7 \mathrm { ~ x ~ } 1 0 ^ { 7 }$ FLOPs. In total, this gives us an overhead of $0 . 3 \%$ to $1 . 0 \%$ relative to a ResNet-50 forward pass. All gradient methods have a nominal overhead of at least $100 \%$ . A breakdown of the FLOPs per layer and component can be seen in Table 6 in the appendix.
169
+
170
+ Compared to any method which requires a full backward pass, such as gradient methods, our solution is nominally between $9 7 x$ and $3 4 4 x$ faster for non-SmoothGrad techniques, which according to (Hooker et al., 2018) performs poorly on ROAR/KAR scores. We are between $1 4 5 6 x$ and $5 1 8 1 x$ faster than a 15-iteration SmoothGrad implementation that yields the competitive results in Table 2. 15 iterations as well as other parameters was chosen by (Hooker et al., 2018) who describe this selection in more detail.
171
+
172
+ The memory footprint of our method is minuscule. Computation over tensors can be done inline which leaves the largest storage demand being the retention of 2D saliency maps. This is increased slightly by needing to store one extra $1 1 2 x 1 \bar { 1 } 2$ image during bilinear up-sampling. Peak memory overhead related to data is about 117 kilobytes per $2 2 4 x 2 2 4$ input image.
173
+
174
+ # 4.2 USAGE WITH A CLASS ACTIVATION MAP
175
+
176
+ Our method does not have a class activation map (Selvaraju et al., 2017; Chattopadhyay et al., 2018; Omeiza et al., 2019) in the current implementation. This is because what we have is more akin to Guided Backprop which Grad-CAM etc. combine with their class activation map to improve their pixel level accuracy. The overhead for the class activation map itself is not large since in practice, it involves computing gradients over the last few network layers only. This makes Guided Backprop the most expensive computational part. By replacing it with our method, accuracy should increase as per Table 2 while dramatically reducing both computational and memory overhead.
177
+
178
+ ![](images/7062e83599c46341a621b7cafdec1fb537ed354e7961d57954b254fa2fa716cc.jpg)
179
+ Figure 6: These are examples of the first level saliency maps from SMOE Scale and Standard Deviation. It is common for both std and truncated normal entropy to flood in areas with modest texture. This may explain why difference scores for these two methods are at or below the performance of a random saliency map.
180
+
181
+ # 4.3 SMOE SCALE IS THE MOST ROBUST MEASURE
182
+
183
+ SMOE Scale is the only metric without a failure case among all the statistics we tested. It is the only static that reliably scores in the top half of all the ones we tested. For Image Net and Places, it is the only one always in the top three. All statistics except for SMOE Scale and Shannon Entropy have at least one layer where they have a difference score at or below zero. This means they are as accurate as a random saliency map for at least one condition. SMOE Scale is the most robust statistic to use in terms of expected accuracy. The next highest scoring statistics, standard deviation and truncated normal entropy, are no better than a random on layer 1. Figure 6 shows why this may be. It is important to note that layer 1 contains the finest pixel details and should be expected to be important in rendering visual detail in the final combined saliency map.
184
+
185
+ # 5 CONCLUSION
186
+
187
+ We have created a method of XAI saliency which is extremely efficent and is quantitatively comparable or better than several popular methods. It can also be used to create a saliency map with interpretability of individual scale layers. Future work includes creating a class specific activation map and expanding it to non-DNN architectures. We are currently testing our class activation map integration Fast-CAM and will introduce it in a future work.
188
+
189
+ # REFERENCES
190
+
191
+ Chun-Hao Chang, Elliot Creager, Anna Goldenberg, and David Duvenaud. Explaining image classifiers by adaptive dropout and generative in-filling. In ICLR, 2018.
192
+
193
+ Aditya Chattopadhyay, Anirban Sarkar, Prantik Howlader, and Vineeth N Balasubramanian. Grad$\mathrm { c a m + + }$ : Improved visual explanations for deep convolutional networks. In WACV, 2018.
194
+
195
+ S. C. Choi and R. Wette. Maximum likelihood estimation of the parameters of the gamma distribution and their bias. Technometrics, 11:683690, 1969.
196
+
197
+ Piotr Dabkowski and Yarin Gal. Real time image saliency for black box classifiers. In NIPS, 2017.
198
+
199
+ Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In CVPR, 2009.
200
+
201
+ Ruth Fong and Andrea Vedaldi. Interpretable explanation of black boxes by meaningful perturbation. In ICCV, 2017.
202
+
203
+ Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In arXiv:1512.03385, 2015.
204
+
205
+ Sara Hooker, Dumitru Erhan, Pieter-Jan Kindermans, and Been Kim. Evaluating feature importance estimates. In ICML workshop on Human Interpretability in Machine Learning, 2018.
206
+
207
+ Gao Huang, Zhuang Liu, Kilian Q. Weinberger, and Laurens van der Maaten. Densely connected convolutional networks. In CVPR, 2017.
208
+
209
+ Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In ICML, 2015.
210
+
211
+ Laurent Itti and Christof Koch. Computational modelling of visual attention. Nature Neuroscience, 2:194203, 2001.
212
+
213
+ Laurent Itti, Ernst Niebur, and Christof Koch. A model of saliency-based visual attention for rapid scene analysis. IEEE Transactions on Pattern Analysis & Machine Intelligence, 20:1254–1259, 1998.
214
+
215
+ Jongheon Jeong and Jinwoo Shin. Training cnns with selective allocation of channels. In ICML, 2019.
216
+
217
+ George H. Joblove and Donald Greenberg. Color spaces for computer graphics. Computer Graphics, 12:20–25, 1978.
218
+
219
+ Alex Krizhevsky, Ilya Sutskever, and Geoffrey E. Hinton. ImageNet classification with deep convolutional neural networks. In NIPS, 2013.
220
+
221
+ T Nathan Mundhenk, Goran Konjevod, Wesam A Sakla, and Kofi Boakye. A large contextual dataset for classification, detection and counting of cars with deep learning. In ECCV, 2016.
222
+
223
+ Vinod Nair and Geoffrey E. Hinton. Rectified linear units improve restricted boltzmann machines. In ICML, 2010.
224
+
225
+ Daniel Omeiza, Skyler Speakman, Celia Cintas, and Komminist Weldemariam. Smooth gradcam++: An enhanced inference level visualization technique for deep convolutional neural network models. In arXiv:1908.01224, 2019.
226
+
227
+ Badri N Patro, Mayank Lunayach, Shivansh Patel, and Vinay P. Namboodiri. U-cam: Visual explanation using uncertanty based class activation maps. In ICCV, 2019.
228
+
229
+ Wojciech Samek, Alexander Binder, Gregoire Montavon, Sebastian Lapuschkin, and Klaus-Robert ´ Muller. Evaluating the visualization of what a deep neural network has learned. ¨ IEEE Transactions on Neural Networks and Learning Systems, 28:2660–2673, 2017.
230
+
231
+ Ramprasaath R. Selvaraju, Michael Cogswell, Abhishek Das, Ramakrishna Vedantam, Devi Parikh, and Dhruv Batra. Grad-cam: Visual explanations from deep networks via gradient-based localization. In ICCV, 2017.
232
+
233
+ Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In ICLR, 2015.
234
+
235
+ Karen Simonyan, Andrea Vedaldi, and Andrew Zisserman. Deep inside convolutional networks: Visualising image classification models and saliency maps. In arXiv:1312.6034, 2014.
236
+
237
+ Daniel Smilkov, Nikhil Thorat, Been Kim, Fernanda Vigas, and Martin Wattenberg. Smoothgrad: removing noise by adding noise. In arXiv:1706.03825, 2017.
238
+
239
+ Jost Tobias Springenberg, Alexey Dosovitskiy, Thomas Brox, and Martin Riedmille. Striving for simplicity: The all convolutional net. In ICLR Workshop, 2015.
240
+
241
+ Mukund Sundararajan, Ankur Taly, and Qiqi Yan. Axiomatic attribution for deep networks. In ICML, 2017.
242
+
243
+ Naftali Tishby, Fernando C. Pereira, and William Bialek. The information bottleneck method, 2000.
244
+
245
+ Peter Welinder, Steve Branson, Takeshi Mita, Catherine Wah, Florian Schroff, Serge Belongie, and Pietro Perona. Caltech-UCSD Birds 200. Technical Report CNS-TR-2010-001, California Institute of Technology, 2010.
246
+
247
+ Linjie Yang, Ping Luo, Chen Change Loy, and Xiaoou Tang. A large-scale car dataset for finegrained categorization and verification. In CVPR, 2015.
248
+
249
+ Matthew D. Zeiler and Rob Fergus. Visualizing and understanding convolutional networks. In ECCV, 2014.
250
+
251
+ Bolei Zhou, Agata Lapedriza Garcia, Jianxiong Xiao, Antonio Torralba, and Aude Oliva. Learning deep features for scene recognition using places database. In NIPS, 2014.
252
+
253
+ # A APPENDIX
254
+
255
+ # A.1 DERIVATION OF SMOE SCALE
256
+
257
+ The maximum likelihood estimator of scale in the Gamma probability distribution is given as:
258
+
259
+ $$
260
+ { \hat { \theta } } = { \frac { 1 } { k n } } \sum _ { i = 1 } ^ { n } x _ { i }
261
+ $$
262
+
263
+ This requires the additional iterative estimation of the shape parameter $k$ starting with an estimate $s$
264
+
265
+ $$
266
+ s = \ln \left( { \frac { 1 } { n } } \sum _ { i = 1 } ^ { n } x _ { i } \right) - { \frac { 1 } { n } } \sum _ { i = 1 } ^ { n } \ln ( x _ { i } )
267
+ $$
268
+
269
+ Then we get to within $1 . 5 \%$ of the correct answer via:
270
+
271
+ $$
272
+ k \approx \frac { 3 - s + \sqrt { ( s - 3 ) ^ { 2 } + 2 4 s } } { 1 2 s }
273
+ $$
274
+
275
+ Then we use the Newton-Ralphson update to finish:
276
+
277
+ $$
278
+ k k - \frac { \ln ( k ) - \psi ( k ) - s } { \frac { 1 } { k } - \psi ^ { \prime } ( k ) }
279
+ $$
280
+
281
+ But we can see application of Eqs 12 and 13 is monotonic. This is also apparent from the example which we can see in Figure 7.
282
+
283
+ ![](images/20a109aa6c4b2c46a71c8484b1cd42dc4b33941c173d40a41105519f9b24960e.jpg)
284
+ Figure 7: A plot of the resulting $k$ values from input $s$ values in the gamma probability distribution maximum likelihood estimation. It is monotonic and reciprocal.
285
+
286
+ $k$ is SMOE to $\frac { 1 } { s }$ , so we rewrite Eq 10 with the reciprocal of $k$ and optionally use the more efficient $l o g _ { 2 }$ as:
287
+
288
+ $$
289
+ { \hat { \theta } } _ { S M O E } = { \frac { 1 } { n } } \cdot \sum _ { i = 1 } ^ { n } x _ { i } \cdot \left[ l o g _ { 2 } \left( { \frac { 1 } { n } } \cdot \sum _ { i = 1 } ^ { n } x _ { i } \right) - { \frac { 1 } { n } } \cdot \sum _ { i = 1 } ^ { n } l o g _ { 2 } \left( x _ { i } \right) \right]
290
+ $$
291
+
292
+ This then simplifies to:
293
+
294
+ $$
295
+ { \hat { \theta } } _ { S M O E } = { \frac { 1 } { n } } \cdot \sum _ { i = 1 } ^ { n } \mu \cdot \log _ { 2 } \left( { \frac { \mu } { x _ { n } } } \right)
296
+ $$
297
+
298
+ We can see the results this gives with different kinds of data in Table 3
299
+
300
+ Table 3: Examples of SMOE Scale results given different data. This shows in particular when log variance and standard deviation give similar or diverging results. It is easier to see how SMOE Scale as a measure or variance is proportional to the mean. So, if we have lots of large values in an output, we also need them to exhibit more variance relative to the mean activation.
301
+
302
+ <table><tr><td></td><td colspan="7">Input Values</td><td></td><td>Mean</td><td>STD</td><td>SMOE Scale</td></tr><tr><td>0.5</td><td>1</td><td></td><td>0.5</td><td>1</td><td>0.5</td><td>1</td><td>0.5</td><td>1</td><td>0.75</td><td>0.25</td><td>0.064</td></tr><tr><td>1</td><td>2</td><td></td><td>1</td><td>2</td><td>1</td><td>2</td><td>1</td><td>2</td><td>1.5</td><td>0.5</td><td>0.127</td></tr><tr><td>2</td><td>4</td><td>.</td><td>2</td><td>4</td><td>2</td><td>4</td><td>2</td><td>4</td><td>3</td><td>1</td><td>0.255</td></tr><tr><td>1</td><td>2</td><td>…</td><td>1</td><td>2</td><td>1</td><td>2</td><td>1</td><td>2</td><td>1.5</td><td>0.5</td><td>0.127</td></tr><tr><td>2</td><td>3</td><td>.</td><td>2</td><td>3</td><td>2</td><td>3</td><td>2</td><td>3</td><td>2.5</td><td>0.5</td><td>0.074</td></tr><tr><td>2</td><td>4</td><td>.</td><td>2</td><td>4</td><td>2</td><td>4</td><td>2</td><td>4</td><td>3</td><td>1</td><td>0.255</td></tr><tr><td>0.6125</td><td>1.8375</td><td>…</td><td>0.6125</td><td>1.8375</td><td>0.6125</td><td>1.8375</td><td>0.6125</td><td>1.8375</td><td>1.225</td><td>0.6125</td><td>0.254</td></tr></table>
303
+
304
+ # A.2 MORE EXAMPLES OF KAR SALIENCY MASKS
305
+
306
+ ![](images/689b48f8ed5920e3d7b883963071abe025d9036d6200602046170013b35a1d58.jpg)
307
+ Figure 8: These are the last mini-batch images in our GPU:0 buffer when running the ImageNet validation set. The top images are the original input images and the ones on the bottom are $10 \%$ KAR images of the most salient pixels. These are images used when computing KAR scores.
308
+
309
+ ![](images/4fb6f38a1d785a042afaa1ae11357e80d8c1eaf69c8648d5051ec9340b417156.jpg)
310
+ Figure 9: These are more examples of combined saliency maps using the same images that appear in Figure 8. These images are not alpha blending with the original. Above each image is the ground truth label, while the label the network gave it is below. This was auto-generated by our training scripts.
311
+
312
+ ![](images/e20d8b495f81143fecc49a5a79078af88846ae7447d0026a048a2a2dc5927b87.jpg)
313
+ Figure 10: These are the same as Figure 9 except with the original image gray scaled and alpha blended at $2 5 \%$ .
314
+
315
+ # A.4 MORE EXAMPLES OF LOVI SALIENCY MAPS
316
+
317
+ ![](images/35239414fc28cea60719589da148b885a04daf51f64c15cfec181f4651c6e9df.jpg)
318
+ Figure 11: These are more examples of visualizing multiple saliency maps using the same images that are in Figure 8. These images are not alpha blending with the original.
319
+
320
+ ![](images/b379c8b0f3b814b5e14edf9d54cef0694aab2d470c9744e98aa1d13a326928a3.jpg)
321
+ Figure 12: These are the same as Figure 11 with the original image gray scaled and alpha blended at $2 5 \%$ .
322
+
323
+ A.5 COMPARING DIFFERENT EFFICIENT STATISTICS IN MORE DETAIL
324
+
325
+ This subsection shows the raw scores for each statistic over each dataset.
326
+
327
+ Table 4: KAR and ROAR results per dataset. This is a more detailed version of Table 1 and Figure 4. The differing effects of the distribution of data in the three sets seems to manifest itself in the L5 scores whereby the more concentrated the information is spatially, the better the ROAR/L5 score seems to be.
328
+
329
+ <table><tr><td></td><td colspan="5">KAR Kept Percent</td><td colspan="5">ROAR Removed Percent</td></tr><tr><td>Method</td><td>L1</td><td>L2</td><td>L3</td><td>L4</td><td>L5</td><td>L1</td><td>L2</td><td>L3</td><td>L4</td><td>L5</td></tr><tr><td colspan="9">ImageNet</td><td></td></tr><tr><td>Random</td><td>66.42</td><td>61.28</td><td>50.67</td><td>40.81</td><td>42.98</td><td>73.48</td><td>72.41</td><td>68.90</td><td>64.63</td><td>66.04</td></tr><tr><td>SMOE Scale</td><td>56.61</td><td>50.69</td><td>51.25</td><td>46.40</td><td>63.00</td><td>44.48</td><td>44.81</td><td>36.35</td><td>33.88</td><td>21.15</td></tr><tr><td>STD</td><td>51.84</td><td>50.73</td><td>50.72</td><td>46.16</td><td>62.82</td><td>45.78</td><td>42.74</td><td>36.17</td><td>34.41</td><td>22.88</td></tr><tr><td>Mean</td><td>53.21</td><td>40.34</td><td>50.88</td><td>46.85</td><td>62.56</td><td>52.66</td><td>64.10</td><td>37.85</td><td>34.15</td><td>19.19</td></tr><tr><td>Shannon Ent</td><td>55.43</td><td>45.69</td><td>50.89</td><td>47.17</td><td>61.18</td><td>44.74</td><td>51.38</td><td>38.73</td><td>35.78</td><td>18.07</td></tr><tr><td>Log Normal Mean</td><td>55.98</td><td>32.28</td><td>51.08</td><td>47.21</td><td>62.02</td><td>57.20</td><td>68.22</td><td>44.42</td><td>34.98</td><td>18.50</td></tr><tr><td>Log Normal ENT</td><td>53.01</td><td>42.52</td><td>51.13</td><td>46.85</td><td>62.26</td><td>47.92</td><td>62.64</td><td>38.73</td><td>34.50</td><td>18.91</td></tr><tr><td>Trunc Normal Mean</td><td>50.67</td><td>49.69</td><td>50.69</td><td>43.52</td><td>62.87</td><td>46.88</td><td>49.76</td><td>35.44</td><td>37.58</td><td>20.92</td></tr><tr><td>Trunc Normal Std</td><td>50.66</td><td>51.02</td><td>50.60</td><td>42.54</td><td>62.97</td><td>46.78</td><td>43.70</td><td>35.68</td><td>38.18</td><td>21.57</td></tr><tr><td>Trunc Normal Ent</td><td>50.84</td><td>50.62</td><td>50.57</td><td>43.63</td><td>62.97</td><td>46.92</td><td>45.48</td><td>35.56</td><td>37.64</td><td>21.25</td></tr><tr><td>Best</td><td>56.61</td><td>51.02</td><td>51.25</td><td>47.21</td><td>63.00</td><td>44.48</td><td>42.74</td><td>35.44</td><td>33.88</td><td>18.07</td></tr><tr><td>Worst</td><td>50.66</td><td>32.28</td><td>50.57</td><td>42.54</td><td>61.18</td><td>57.20</td><td>68.22</td><td>44.42</td><td>38.18</td><td>22.88</td></tr><tr><td colspan="9">Places</td><td></td></tr><tr><td>Random</td><td>57.20</td><td>53.59</td><td>47.83</td><td>41.26</td><td>39.45</td><td>60.77</td><td>60.25</td><td>58.14</td><td>56.41</td><td>55.26</td></tr><tr><td>SMOE Scale</td><td>49.76</td><td>45.67</td><td>46.39</td><td>40.57</td><td>53.50</td><td>44.35</td><td>44.61</td><td>39.80</td><td>40.26</td><td>27.94</td></tr><tr><td>STD</td><td>47.15</td><td>44.75</td><td>46.28</td><td>39.41</td><td>53.53</td><td>46.41</td><td>43.69</td><td>39.28</td><td>41.38</td><td>29.12</td></tr><tr><td>Mean</td><td>47.93</td><td>40.38</td><td>45.94</td><td>41.10</td><td>52.33</td><td>50.66</td><td>56.58</td><td>41.26</td><td>39.90</td><td>27.38</td></tr><tr><td>Shannon Ent</td><td>48.80</td><td>43.20</td><td>45.92</td><td>41.31</td><td>50.62</td><td>41.97</td><td>49.28</td><td>42.93</td><td>39.98</td><td>27.06</td></tr><tr><td>Log Normal Mean</td><td>50.05</td><td>35.87</td><td>46.23</td><td>41.45</td><td>51.67</td><td>52.21</td><td>57.91</td><td>45.17</td><td>39.73</td><td>26.88</td></tr><tr><td>Log Normal ENT</td><td>47.77</td><td>41.41</td><td>46.02</td><td>41.39</td><td>52.25</td><td>48.96</td><td>56.34</td><td>41.91</td><td>39.68</td><td>27.00</td></tr><tr><td>Trunc Normal Mean</td><td>46.25</td><td>44.76</td><td>46.12</td><td>38.08</td><td>53.18</td><td>46.92</td><td>46.92</td><td>48.83</td><td>42.09</td><td>28.06</td></tr><tr><td>Trunc Normal Std</td><td>45.96</td><td>45.35</td><td>46.38</td><td>37.61</td><td>53.38</td><td>46.41</td><td>46.76</td><td>44.86</td><td>42.43</td><td>28.68</td></tr><tr><td>Trunc Normal Ent</td><td>46.06</td><td>45.01</td><td>46.38</td><td>37.57</td><td>53.15</td><td>46.67</td><td>46.67</td><td>38.85</td><td>42.09</td><td>28.11</td></tr><tr><td>Best</td><td>50.05</td><td>45.67</td><td>46.39</td><td>41.45</td><td>53.53</td><td>41.97</td><td>43.69</td><td>38.85</td><td>39.68</td><td>26.88</td></tr><tr><td>Worst</td><td>45.96</td><td>35.87</td><td>45.92</td><td>37.57</td><td>50.62</td><td>52.21</td><td>57.91</td><td>48.83</td><td>42.43</td><td>29.12</td></tr><tr><td colspan="9">CowC</td><td></td><td></td></tr><tr><td>Random</td><td>65.05</td><td>57.43</td><td>52.30</td><td>64.31</td><td>65.55</td><td>77.38</td><td>75.44</td><td>71.11</td><td>78.25</td><td>77.32</td></tr><tr><td>SMOE Scale</td><td>64.19</td><td>63.02</td><td>71.05</td><td>62.87</td><td>80.65</td><td>45.16</td><td>44.09</td><td>43.97</td><td>62.78</td><td>59.49</td></tr><tr><td>STD</td><td>60.36</td><td>61.95</td><td>70.89</td><td>64.57</td><td>80.55</td><td>44.12</td><td>43.52</td><td>44.10</td><td>60.69</td><td>59.73</td></tr><tr><td>Mean</td><td>63.82</td><td>59.90</td><td>73.20</td><td>61.83</td><td>80.54</td><td>45.79</td><td>59.24</td><td>44.61</td><td>64.02</td><td>58.86</td></tr><tr><td>Shannon Ent</td><td>62.64</td><td>63.78</td><td>73.29</td><td>60.99</td><td>78.77</td><td>46.50</td><td>44.23</td><td>46.42</td><td>68.31</td><td>57.98</td></tr><tr><td>Log Normal Mean</td><td>66.37</td><td>46.05</td><td>72.89</td><td>60.21</td><td>80.38</td><td>48.98</td><td>71.02</td><td>46.69</td><td>67.19</td><td>58.16</td></tr><tr><td>Log Normal ENT</td><td>63.23</td><td>62.78</td><td>73.26</td><td>60.99</td><td>80.44</td><td>45.10</td><td>57.12</td><td>44.92</td><td>65.61</td><td>58.56</td></tr><tr><td>Trunc Normal Mean</td><td>60.00</td><td>63.35</td><td>72.08</td><td>65.62</td><td>80.54</td><td>42.98</td><td>44.44</td><td>44.15</td><td>61.60</td><td>59.45</td></tr><tr><td>Trunc Normal Std</td><td>59.52</td><td>63.74</td><td>71.58</td><td>65.58</td><td>80.54</td><td>42.76</td><td>43.45</td><td>43.98</td><td>62.07</td><td>59.81</td></tr><tr><td>Trunc Normal Ent</td><td>59.79</td><td>63.48</td><td>71.77</td><td>65.68</td><td>80.59</td><td>43.04</td><td>43.80</td><td>43.89</td><td>61.79 60.69</td><td>59.89 57.98</td></tr><tr><td>Best Worst</td><td>66.37 59.52</td><td>63.78 46.05</td><td>73.29 70.89</td><td>65.68 60.21</td><td>80.65 78.77</td><td>42.76 48.98</td><td>43.45 71.02</td><td>43.89 46.69</td></table>
330
+
331
+ A.6 COMBINED KAR AND ROAR SCORES WITH MORE DETAIL
332
+
333
+ This subsection shows the raw scores for each ROAR and KAR mask. We also added the nonSmoothGrad methods so we can see how much of an improvement it makes.
334
+
335
+ Table 5: Combined KAR and ROAR scores for several methods. This is a more detailed version of Table 2 and Figure 5. The top six rows show several popular methods with and without Squared SmoothGrad applied to give optimal results. These are taken from (Hooker et al., 2018). Prior Layer Weights means we applied layer weights based on the prior determined accuracy of the layer saliency map. We include our top three scoring methods. The SMOE Scale method outperforms the three baseline methods on KAR. It outperforms Guided Backprop and Integrated Gradients on ROAR as well as overall. The Gradient method is best overall, but as we discussed, it is much more expensive to compute.
336
+
337
+ <table><tr><td></td><td colspan="5">KAR Kept Percent</td><td colspan="5">ROAR Removed Percent</td></tr><tr><td>Method</td><td>10%</td><td>30%</td><td>50%</td><td>70%</td><td>90%</td><td>10%</td><td>30%</td><td>50%</td><td>70%</td><td>90%</td></tr><tr><td>Rand</td><td>63.53</td><td>67.06</td><td>69.13</td><td>71.02</td><td>72.65</td><td>72.65</td><td>71.02</td><td>69.13</td><td>67.06</td><td>63.53</td></tr><tr><td>Gradient</td><td>67.63</td><td>71.45</td><td>72.02</td><td>72.85</td><td>73.46</td><td>72.94</td><td>72.22</td><td>70.97</td><td>70.72</td><td>66.75</td></tr><tr><td>Guided Backprop</td><td>71.03</td><td>72.45</td><td>72.28</td><td>72.69</td><td>71.56</td><td>72.29</td><td>71.91</td><td>71.18</td><td>71.48</td><td>70.38</td></tr><tr><td>Integrated Grad.</td><td>70.38</td><td>72.51</td><td>72.66</td><td>72.88</td><td>73.32</td><td>73.17</td><td>72.72</td><td>72.03</td><td>71.68</td><td>68.20</td></tr><tr><td>Gradient -w- SmoothGrad Sq.</td><td>63.25</td><td>69.79</td><td>72.20</td><td>73.18</td><td>73.96</td><td>69.35</td><td>60.28</td><td>41.55</td><td>29.45</td><td>11.09</td></tr><tr><td>Guided Backprop -w- SmoothGrad Sq.</td><td>62.42</td><td>68.96</td><td>71.17</td><td>72.72</td><td>73.77</td><td>69.74</td><td>60.56</td><td>52.21</td><td>34.98</td><td>15.53</td></tr><tr><td>Integrated Grad.-w- SmoothGrad Sq.</td><td>67.55</td><td>68.96</td><td>72.24</td><td>73.09</td><td>73.80</td><td>70.76</td><td>65.71</td><td>58.34</td><td>43.71</td><td>29.41</td></tr><tr><td>SMOE Scale+ Prior Layer Weights</td><td>65.44</td><td>72.14</td><td>74.28</td><td>74.51</td><td>75.01</td><td>70.40</td><td>60.33</td><td>48.48</td><td>34.23</td><td>17.72</td></tr><tr><td>SMOE Scale+ Layer Weights [1...,5]</td><td>65.76</td><td>72.60</td><td>73.97</td><td>74.53</td><td>74.94</td><td>70.28</td><td>60.93</td><td>48.73</td><td>35.66</td><td>18.01</td></tr><tr><td>SMOE Scale + Layer Weights [1...,1]</td><td>66.13</td><td>72.28</td><td>73.72</td><td>74.52</td><td>74.97</td><td>71.28</td><td>63.58</td><td>52.85</td><td>38.74</td><td>19.72</td></tr><tr><td>Normal Std + Prior L.Weights</td><td>65.48</td><td>72.17</td><td>73.93</td><td>74.62</td><td>74.67</td><td>69.98</td><td>60.39</td><td>48.75</td><td>34.63</td><td>18.13</td></tr><tr><td>Trunc Normal Ent + Prior L.Weights</td><td>65.45</td><td>72.38</td><td>74.10</td><td>74.40</td><td>74.75</td><td>69.85</td><td>60.08</td><td>48.05</td><td>34.32</td><td>18.37</td></tr></table>
338
+
339
+ # A.7 OPERATIONS COMPUTATION
340
+
341
+ Table 6: FLOPs for each layer. This is the breakdown of FLOPs for each layer. Log and Error Function are counted as one operation in this example. SMOE Ops is how many operations it takes to compute the initial saliency map using the SMOE Scale statistic. Norm Ops is the number of operations needed to normalize the saliency map. Combine Ops is the number of ops needed to upsample and combine each saliency map.
342
+
343
+ <table><tr><td colspan="4">Layer Dimensions</td><td colspan="3">FLOPS</td></tr><tr><td>Layer</td><td>Channels</td><td>Size H</td><td>Size W</td><td> SMOE Ops</td><td>Norm Ops</td><td>Combine Ops</td></tr><tr><td>Layer 1</td><td>64</td><td>112</td><td>112</td><td>3223808</td><td>150528</td><td>225792</td></tr><tr><td>Layer 2</td><td>256</td><td>56</td><td>56</td><td>3214400</td><td>37632</td><td>338688</td></tr><tr><td>Layer 3</td><td>512</td><td>28</td><td>28</td><td>1606416</td><td>9408</td><td>338688</td></tr><tr><td>Layer 4</td><td>1024</td><td>14</td><td>14</td><td>803012</td><td>2352</td><td>338688</td></tr><tr><td>Layer 5</td><td>2048</td><td>7</td><td>7</td><td>401457</td><td>588</td><td>338688</td></tr><tr><td>Total</td><td></td><td></td><td></td><td>9249093</td><td>200508</td><td>1580544</td></tr></table>
parse/train/ryxf9CEKDr/ryxf9CEKDr_content_list.json ADDED
@@ -0,0 +1,1746 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "EFFICIENT SALIENCY MAPS FOR EXPLAINABLE AI ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 98,
9
+ 787,
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
+ 400,
21
+ 172
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 209,
32
+ 544,
33
+ 224
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "We describe an explainable AI saliency map method for use with deep convolutional neural networks (CNN) that is much more efficient than popular gradient methods. It is also quantitatively similar and better in accuracy. Our technique works by measuring information at the end of each network scale which is then combined into a single saliency map. We describe how saliency measures can be made more efficient by exploiting Saliency Map Order Equivalence. Finally, we visualize individual scale/layer contributions by using a Layer Ordered Visualization of Information. This provides an interesting comparison of scale information contributions within the network not provided by other saliency map methods. Since our method only requires a single forward pass through a few of the layers in a network, it is at least $9 7 \\mathbf { x }$ faster than Guided Backprop and much more accurate. Using our method instead of Guided Backprop, class activation methods such as Grad-CAM, Grad- $\\mathrm { C A M + + }$ and Smooth Grad- $\\mathrm { C A M + + }$ will run several orders of magnitude faster, have a significantly smaller memory footprint and be more accurate. This will make such methods feasible on resource limited platforms such as robots, cell phones and low cost industrial devices. This will also significantly help them work in extremely data intensive applications such as satellite image processing. All without sacrificing accuracy. Our method is generally straight forward and should be applicable to the most commonly used CNNs 1. ",
40
+ "bbox": [
41
+ 233,
42
+ 246,
43
+ 764,
44
+ 502
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 542,
55
+ 334,
56
+ 559
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Deep neural networks (DNN) have provided a new burst of research in the machine learning community. However, their complexity obfuscates the underlying processes that drive their inferences. This has lead to a new field of explainable AI (XAI). A variety of tools are being developed to enable researchers to peer into the inner workings of DNNs. One such tool is the XAI saliency map. It is generally used with image or video processing applications and is supposed to show what parts of an image or video frame are most important to a network’s decisions. The seemingly most popular methods derive a gradient saliency map by back-propagating a gradient from the end of the network and project it onto an image plane (Simonyan et al., 2014; Zeiler & Fergus, 2014; Springenberg et al., 2015; Sundararajan et al., 2017; Patro et al., 2019). The gradient can typically be from a loss function, layer activation or class activation. Thus, it requires storage of the data necessary to compute a full backward pass on the input image. ",
63
+ "bbox": [
64
+ 174,
65
+ 580,
66
+ 825,
67
+ 728
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Several newer methods attempt to iteratively augment the image or a mask in ways that affect the precision of the results (Fong & Vedaldi, 2017; Chang et al., 2018). Additionally, saliency map encoders can be trained within the network itself (Dabkowski & Gal, 2017). Both of these methods have a distinct advantage of being more self-evidently empirical when compared with gradient techniques. Class Activation Map (CAM) methods (Selvaraju et al., 2017; Chattopadhyay et al., 2018; Omeiza et al., 2019) efficiently map a specified class to a region in an image, but the saliency map is very coarse. They generally use a method like Guided Backprop (Springenberg et al., 2015) to add finer pixel level details. This requires a full backwards pass through the network, and it adds significant memory and computational overhead to CAM solutions relative to just computing the CAM alone. Several of the CAM methods compute gradients aside from the use of Guided Backprop, but we will differentiate them by referring to them as CAM methods. ",
74
+ "bbox": [
75
+ 174,
76
+ 734,
77
+ 825,
78
+ 883
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "1.1 EFFICIENCY AND WHY IT MATTERS HERE ",
85
+ "text_level": 1,
86
+ "bbox": [
87
+ 178,
88
+ 103,
89
+ 508,
90
+ 117
91
+ ],
92
+ "page_idx": 1
93
+ },
94
+ {
95
+ "type": "text",
96
+ "text": "Most saliency map methods require many passes through the network in order to generate results or train. The gradient methods hypothetically would require just one backwards pass, but often require as many as 15 in order to give an accurate rendering (Hooker et al., 2018). This is not always a problem in the lab when a person has a powerful GPU development box. However, what if one would like to see the workings of the network at training time or even run time? This can be a serious hurdle when running a network on mobile or embedded platforms. It is not uncommon for hardware to be barely fast enough to process each image from a video source. Running a full backward pass can lead to dropped frames. Additionally, viewing or saving the saliency map for each frame is infeasible. Another problem is that some platforms may not have the memory capacity to save all the information required for a backward pass. Gradient based methods cannot work in these instances. Sometimes this can even be the case with powerful hardware. Satellite images can be vary large and potentially exhaust generous resources. An efficient method would enable developers in these areas to get feedback in the field and aid in debugging or understanding the behavior of a network. ",
97
+ "bbox": [
98
+ 174,
99
+ 132,
100
+ 825,
101
+ 308
102
+ ],
103
+ "page_idx": 1
104
+ },
105
+ {
106
+ "type": "text",
107
+ "text": "Here we show a method of computing an XAI saliency map which is highly efficient. The memory and processing overhead is several orders of magnitude lower than the commonly used gradient methods. This makes it feasible in any resource limited environment. Also, since we demonstrate empirically that our method is either similar or more accurate than the most commonly used gradient methods, it can be used it to speed up run-time in any situation. It is fast enough that we already use it automatically when training networks. We notice very little degradation of training speed. ",
108
+ "bbox": [
109
+ 174,
110
+ 314,
111
+ 823,
112
+ 396
113
+ ],
114
+ "page_idx": 1
115
+ },
116
+ {
117
+ "type": "text",
118
+ "text": "2 METHODS ",
119
+ "text_level": 1,
120
+ "bbox": [
121
+ 174,
122
+ 422,
123
+ 290,
124
+ 439
125
+ ],
126
+ "page_idx": 1
127
+ },
128
+ {
129
+ "type": "text",
130
+ "text": "2.1 SALIENCY MAP DERIVATION ",
131
+ "text_level": 1,
132
+ "bbox": [
133
+ 176,
134
+ 459,
135
+ 416,
136
+ 474
137
+ ],
138
+ "page_idx": 1
139
+ },
140
+ {
141
+ "type": "text",
142
+ "text": "We were looking for a method to compute saliency maps based on certain conditions and assumptions. ",
143
+ "bbox": [
144
+ 176,
145
+ 488,
146
+ 823,
147
+ 517
148
+ ],
149
+ "page_idx": 1
150
+ },
151
+ {
152
+ "type": "text",
153
+ "text": "1. The method used needs to be relatively efficient to support rapid analysis at both test time and during DNN training. \n2. The method should have a reasonable information representation. As a DNN processes data, the flow of information should become localized to areas which are truly important. \n3. The method should capture the intuition that the informativeness of a location is proportional to the overall activation level of all the filters as well their variance. That is, informative activations should have a sparse pattern with strong peaks. ",
154
+ "bbox": [
155
+ 212,
156
+ 531,
157
+ 825,
158
+ 651
159
+ ],
160
+ "page_idx": 1
161
+ },
162
+ {
163
+ "type": "text",
164
+ "text": "Our approach works by creating saliency maps for the output layer of each scale in a neural network and then combines them. We can understand scale by noting that the most commonly used image processing DNNs work on images with filter groups at the same scale which down-sample the image and pass it to the group of filters at the next scale, and so on. Given a network like ResNet-50 (He et al., 2015) with in input image size of $2 2 4 x 2 2 4$ , we would have five scale groups of size $1 1 2 x 1 1 2$ , $5 6 x 5 6$ , $2 8 x 2 8$ , $1 4 x 1 4$ and $7 x 7$ . It is at the end of these scale groups where we are interested in computing saliency. In this way, our approach is efficient and is computed during the standard forward pass through the network. No extra pass is needed. ",
165
+ "bbox": [
166
+ 173,
167
+ 666,
168
+ 825,
169
+ 775
170
+ ],
171
+ "page_idx": 1
172
+ },
173
+ {
174
+ "type": "text",
175
+ "text": "To achieve localization of information, we measure statistics of activation values arising at different input locations. Given an output activation tensor $\\pmb { \\mathsf { T } } \\in \\mathbb { R } ^ { + , p \\times q \\times r }$ with spatial indices $i , j \\in p , q$ and depth index $k \\in \\textit { r }$ from some layer ${ \\boldsymbol { \\mathsf { T } } } = l \\left( { \\boldsymbol { \\mathsf { X } } } \\right)$ . In our case $l \\left( . \\right)$ is a $R e L U$ (Nair & Hinton, 2010). We apply a function to each column at $i , j$ over all depths $k$ . This yields a 2D saliency map $\\pmb { S } \\in \\mathbb { R } ^ { + , p \\times \\hat { q } }$ where $S = \\varphi \\left( \\boldsymbol { \\mathsf { T } } \\right)$ . We process the tensor after it has been batch-normalized (Ioffe & Szegedy, 2015) and processed by the activation function. When we compute Truncated Normal statistics as an alternative in later section, we take the tensor prior to the activation function. ",
176
+ "bbox": [
177
+ 174,
178
+ 781,
179
+ 825,
180
+ 876
181
+ ],
182
+ "page_idx": 1
183
+ },
184
+ {
185
+ "type": "text",
186
+ "text": "Finally, to capture our intuition about the informativeness of an output activation tensor, we derived $\\varphi \\left( . \\right)$ by creating a special simplification of the maximum likelihood estimation Gamma Scale parameter (Choi & Wette, 1969). One way we can express it is: ",
187
+ "bbox": [
188
+ 176,
189
+ 882,
190
+ 823,
191
+ 924
192
+ ],
193
+ "page_idx": 1
194
+ },
195
+ {
196
+ "type": "image",
197
+ "img_path": "images/2286f7ccdeec7b998cb675e9d8ace2b46e53aa64a679d3edf69afdcc72404e03.jpg",
198
+ "image_caption": [
199
+ "Figure 1: The left most image is the input to the network. Five saliency maps are shown for each spatial scale in the network. They are combined per $\\operatorname { E q } 3$ . The right most image is the combined saliency map created from these. To aid in visualizing context, it has been alpha blended with a gray scale version of the original image here at $2 5 \\%$ . Many more combined saliency map examples can be seen in Appendix Figures 9 and 10 "
200
+ ],
201
+ "image_footnote": [],
202
+ "bbox": [
203
+ 176,
204
+ 99,
205
+ 820,
206
+ 186
207
+ ],
208
+ "page_idx": 2
209
+ },
210
+ {
211
+ "type": "equation",
212
+ "img_path": "images/f6ba485e6d76582b932faf7b13f711cd64f0039025adeefc1742937923276fb0.jpg",
213
+ "text": "$$\n\\varphi \\left( . \\right) = \\frac { 1 } { r } \\cdot \\sum _ { k = 1 } ^ { r } x _ { k } \\cdot \\left[ l o g _ { 2 } \\left( \\frac { 1 } { r } \\cdot \\sum _ { k = 1 } ^ { r } x _ { k } \\right) - \\frac { 1 } { r } \\cdot \\sum _ { k = 1 } ^ { r } l o g _ { 2 } \\left( x _ { k } \\right) \\right]\n$$",
214
+ "text_format": "latex",
215
+ "bbox": [
216
+ 294,
217
+ 320,
218
+ 702,
219
+ 364
220
+ ],
221
+ "page_idx": 2
222
+ },
223
+ {
224
+ "type": "text",
225
+ "text": "To avoid log zero, we add $1 e - 0 6$ to each $x _ { k }$ . How mean and variance relate seems readily apparent with the square bracketed part being the computational formula for the standard deviation with values taken to $l o g _ { 2 } \\left( . \\right)$ rather than squared. This is preceded by a typical mean estimate. This meets the third requirement we mentioned. This simplification is Saliency Map Order Equivalent (SMOE) to the full iterative (and expensive) scale parameter estimation. We define SMOE as follows. Given saliency map $S _ { a } \\in \\mathbb { R } ^ { + , p \\times q }$ and $S _ { b } \\in \\mathbb { R } ^ { + , p \\times q }$ where we may have $S _ { a } \\neq S _ { b }$ , if we sort the pixels by value, then $S _ { a }$ will be sorted in exactly the same order as $S _ { b }$ . That means that the most salient location $i , j$ is exactly the same in both $S _ { a }$ and $S _ { b }$ . This also means that if we create a binary mask of the $n \\%$ most salient pixels, the mask for both $S _ { a }$ and $S _ { b }$ will also be exactly the same. SMOE is preserved if for instance, we apply independent monotonic functions to a saliency map. As such, we may as well strip these away to save on computation. Tie values may create an imperfect equivalence, but we assert that these should be very rare and not affect results by a measurable amount. ",
226
+ "bbox": [
227
+ 173,
228
+ 369,
229
+ 825,
230
+ 545
231
+ ],
232
+ "page_idx": 2
233
+ },
234
+ {
235
+ "type": "text",
236
+ "text": "Using $\\mu$ as the mean of each column $r$ in $\\boldsymbol { \\mathsf { T } }$ , we can see the information relation more clearly if we simplify Eq 1 further which gives us our SMOE Scale method: ",
237
+ "bbox": [
238
+ 173,
239
+ 551,
240
+ 823,
241
+ 580
242
+ ],
243
+ "page_idx": 2
244
+ },
245
+ {
246
+ "type": "equation",
247
+ "img_path": "images/12de0645e27efec0553c714f06dc3db3f15c47c7d79f30d679e4d8c11940f874.jpg",
248
+ "text": "$$\n\\varphi \\left( . \\right) = \\frac { 1 } { r } \\cdot \\sum _ { k = 1 } ^ { r } \\mu \\cdot \\log _ { 2 } \\left( \\frac { \\mu } { x _ { k } } \\right)\n$$",
249
+ "text_format": "latex",
250
+ "bbox": [
251
+ 397,
252
+ 599,
253
+ 601,
254
+ 641
255
+ ],
256
+ "page_idx": 2
257
+ },
258
+ {
259
+ "type": "text",
260
+ "text": "The resemblance to conditional entropy is apparent. However, since the values in $\\operatorname { E q } 2$ are not probabilities, this does not fit the precise definition of it. On the other hand, the interpretation is fairly similar. It is the mean activation multiplied by the information we would gain if we knew the individual values which formed the mean. Put in traditional terms, it is the information in the mean conditioned on the individual values. Numerical examples of this method at work can be seen in Appendix Table 3 along with more information on the derivation. To create a 2D saliency map $\\pmb { S } \\in \\mathbb { R } ^ { + , p \\times q }$ , we simply apply Eq 2 at each spatial location $i , j \\in p , q$ with column elements $k \\in r$ in the 3D activation tensor $\\boldsymbol { \\mathsf { T } }$ for a given input image. ",
261
+ "bbox": [
262
+ 173,
263
+ 646,
264
+ 825,
265
+ 757
266
+ ],
267
+ "page_idx": 2
268
+ },
269
+ {
270
+ "type": "text",
271
+ "text": "2.2 COMBINED SALIENCY MAP GENERATION ",
272
+ "text_level": 1,
273
+ "bbox": [
274
+ 174,
275
+ 775,
276
+ 504,
277
+ 790
278
+ ],
279
+ "page_idx": 2
280
+ },
281
+ {
282
+ "type": "text",
283
+ "text": "For each input image, we derive five saliency maps. For different networks, this number may vary. Given a network such as a ResNet (He et al., 2015), AlexNet (Krizhevsky et al., 2013), VGG Net (Simonyan & Zisserman, 2015) or DenseNet (Huang et al., 2017) we compute saliency on the final tensor computed at each spatial scale. Recall that most image classification networks process images in a pipeline that processes an image in consecutive groups of convolution layers where each group downsamples the image by $1 / 2 \\mathbf { x }$ before passing it onto the next. It is just prior to the downsampling that we compute each saliency map. Computing saliency across image scales is a classical technique (Itti et al., 1998). This is also similar to the method used in the XAI saliency technique described in (Dabkowski & Gal, 2017). ",
284
+ "bbox": [
285
+ 173,
286
+ 801,
287
+ 825,
288
+ 924
289
+ ],
290
+ "page_idx": 2
291
+ },
292
+ {
293
+ "type": "image",
294
+ "img_path": "images/81b44ec40e147e2162caa9b8c053146acaebf72f2489dae4f356e61e1c164371.jpg",
295
+ "image_caption": [
296
+ "Figure 2: Images are shown with their combined saliency map using our LOVI scheme. The hue in each saliency map corresponds to layer activation. Earlier layers start at violet and trend red in the last layers following the order of the rainbow. Areas which are blue or violet are only activated early in network processing. They tend to activate early filters, but are later disregarded by the network. Yellow and red areas are only activated later in the network. They appear to be places where the objects components are combined together. White areas are activated throughout all network layers. They possibly correspond to the most important features in the image. Many more examples can be seen in Appendix Figures 11 and 12 "
297
+ ],
298
+ "image_footnote": [],
299
+ "bbox": [
300
+ 217,
301
+ 101,
302
+ 781,
303
+ 316
304
+ ],
305
+ "page_idx": 3
306
+ },
307
+ {
308
+ "type": "text",
309
+ "text": "To make our maps easier to visualize or combine together, we normalize them from 0 to 1 by squashing them with the normal cumulative distribution function $\\gamma \\left( s ; \\mu , \\sigma \\right)$ . Here mean and standard deviation are computed independently over each saliency map. We then create a combined saliency map by taking the weighted average of the maps. Since they are at different scales, they are upsampled via bilinear interpolation to match the dimensions of the input image. Given $r$ saliency maps that have been bilinear interpolated (upsampled) to the original input image size $p , q$ , they are then combined as: ",
310
+ "bbox": [
311
+ 173,
312
+ 477,
313
+ 825,
314
+ 570
315
+ ],
316
+ "page_idx": 3
317
+ },
318
+ {
319
+ "type": "equation",
320
+ "img_path": "images/9cbbd73f225f1fb08d48d53610f095ac6a6c7cfbac81df0c029b539cf685b0a0.jpg",
321
+ "text": "$$\nc _ { i , j } = \\frac { \\sum _ { k = 1 } ^ { r } \\gamma \\left( s _ { i , j , k } ; \\mu _ { k } , \\sigma _ { k } \\right) \\cdot w _ { k } } { \\sum _ { k = 1 } ^ { r } w _ { k } }\n$$",
322
+ "text_format": "latex",
323
+ "bbox": [
324
+ 380,
325
+ 568,
326
+ 617,
327
+ 604
328
+ ],
329
+ "page_idx": 3
330
+ },
331
+ {
332
+ "type": "text",
333
+ "text": "Note that technically, we compute $\\gamma \\left( s ; \\mu , \\sigma \\right)$ before we upsample. Weighting is very useful since we expect that saliency maps computed later in the network should be more accurate than saliency maps computed earlier as the network has reduced more irrelevant information in deeper layers, distilling relevant pixels from noise (Tishby et al., 2000). Network activity should be more focused on relevant locations as information becomes more related to the message. We observe this behavior which can be seen later in Figure 4. A saliency map generation example can be seen in Figure 1 with many more examples in Appendix Figures 9 and 10. ",
334
+ "bbox": [
335
+ 174,
336
+ 606,
337
+ 825,
338
+ 702
339
+ ],
340
+ "page_idx": 3
341
+ },
342
+ {
343
+ "type": "text",
344
+ "text": "The advantages of creating saliency maps this way when compared with most gradient methods are: ",
345
+ "bbox": [
346
+ 176,
347
+ 708,
348
+ 821,
349
+ 723
350
+ ],
351
+ "page_idx": 3
352
+ },
353
+ {
354
+ "type": "text",
355
+ "text": "• Pro: This is relatively efficient, requiring processing of just five low cost layers during a standard forward pass. \n• Pro: We can easily visualize the network at different stages (layers). \n• Con: The current method does not have a class specific activation map (CAM) (Selvaraju et al., 2017; Chattopadhyay et al., 2018; Omeiza et al., 2019), but we discuss how this can be done later. ",
356
+ "bbox": [
357
+ 215,
358
+ 734,
359
+ 825,
360
+ 827
361
+ ],
362
+ "page_idx": 3
363
+ },
364
+ {
365
+ "type": "text",
366
+ "text": "2.3 VISUALIZING MULTIPLE SALIENCY MAPS ",
367
+ "text_level": 1,
368
+ "bbox": [
369
+ 174,
370
+ 843,
371
+ 509,
372
+ 858
373
+ ],
374
+ "page_idx": 3
375
+ },
376
+ {
377
+ "type": "text",
378
+ "text": "One advantage to computing multiple saliency maps at each scale is that we can get an idea of what is happening in the middle of the network. However, with so many saliency maps, we are starting to be overloaded with information. This could get even worse if we decided to insert saliency maps after each layer rather than just at the end of each scale. One way to deal with this is to come up with a method of combining saliency maps into a single image that preserves useful information about each map. Such a composite saliency map should communicate where the network is most active as well as which layers specifically are active. We call our method Layer Ordered Visualization of Information (LOVI). We do this by combining saliency maps using an HSV color scheme (Joblove & Greenberg, 1978) where hue corresponds to which layer is most active at a given location. That is, it shows the mean layer around which a pixels activity is centered. Saturation tells us the uniqueness of the activation. This is the difference between the maximum value at a location and the others. Value (intensity) corresponds to the maximal activation at that location. Basically, this is a pixel’s importance. ",
379
+ "bbox": [
380
+ 174,
381
+ 869,
382
+ 825,
383
+ 924
384
+ ],
385
+ "page_idx": 3
386
+ },
387
+ {
388
+ "type": "text",
389
+ "text": "",
390
+ "bbox": [
391
+ 174,
392
+ 103,
393
+ 825,
394
+ 226
395
+ ],
396
+ "page_idx": 4
397
+ },
398
+ {
399
+ "type": "text",
400
+ "text": "If only one layer is active at a location, the color will be very saturated (vivid colors). On the other hand, if all layers are equally active at a given location, the pixel value will be unsaturated (white or gray). If most of the activation is towards the start of a network, a pixel will be violet or blue. If the activation mostly happens at the end, a pixel will be yellow or red. Green indicates a middle layer. Thus, the color ordering by layer follows the standard order of the rainbow. Examples can be seen in Figure 2. Given $k \\in r$ saliency maps $\\pmb { S }$ (in this instance, we have $r = 5$ maps), we stack them into a tensor $\\pmb { \\mathsf { S } } \\in \\mathbb { R } ^ { + , p \\times q \\times r }$ . Note that all $s \\in [ 0 , 1 ]$ because of $\\operatorname { E q } 3$ and they have been upsampled via bilinear interpolation to match the original input image size. Given: ",
401
+ "bbox": [
402
+ 173,
403
+ 231,
404
+ 825,
405
+ 340
406
+ ],
407
+ "page_idx": 4
408
+ },
409
+ {
410
+ "type": "equation",
411
+ "img_path": "images/333e83cc25441ad5e5100f3c6d5f1f2c30049f4a249a922d02e9415a248e9527.jpg",
412
+ "text": "$$\n\\begin{array} { r } { \\phi \\left( k \\right) = 1 - \\frac { k - 1 } { r } \\cdot \\left( \\frac { r - 1 } { r } \\right) ^ { - 1 } , \\nu = \\frac { 1 } { r } } \\end{array}\n$$",
413
+ "text_format": "latex",
414
+ "bbox": [
415
+ 379,
416
+ 342,
417
+ 617,
418
+ 364
419
+ ],
420
+ "page_idx": 4
421
+ },
422
+ {
423
+ "type": "text",
424
+ "text": "$\\mathbf { H u e } \\in [ 0 , 3 6 0 ]$ is basically the center of mass of activation for column vector $\\pmb { s }$ at each location $i , j \\in p , q$ in S: ",
425
+ "bbox": [
426
+ 176,
427
+ 366,
428
+ 823,
429
+ 393
430
+ ],
431
+ "page_idx": 4
432
+ },
433
+ {
434
+ "type": "equation",
435
+ "img_path": "images/c16e4c303c84a202a351fc5adbecf2ecf4646d383cd51fc666a2e6f8cd9fea3a.jpg",
436
+ "text": "$$\nH u e = \\frac { \\sum _ { k = 1 } ^ { r } s _ { k } \\cdot \\phi \\left( k \\right) } { \\sum _ { k = 1 } ^ { r } s _ { k } } \\cdot 3 0 0 \n$$",
437
+ "text_format": "latex",
438
+ "bbox": [
439
+ 397,
440
+ 391,
441
+ 602,
442
+ 428
443
+ ],
444
+ "page_idx": 4
445
+ },
446
+ {
447
+ "type": "text",
448
+ "text": "Saturation $\\in [ 0 , 1 ]$ is the inverse of the ratio of the values in $\\pmb { s }$ compared to if they are all equal to the maximum value. So for instance, if one value is large and all the other values are small, saturation is high. On the other hand, if all values are about the same (equal to the maximum value), saturation is very small: ",
449
+ "bbox": [
450
+ 173,
451
+ 428,
452
+ 825,
453
+ 481
454
+ ],
455
+ "page_idx": 4
456
+ },
457
+ {
458
+ "type": "equation",
459
+ "img_path": "images/ac66de97d6ddedbb91b001cdb6c4b9edfafb272bb88b0ff93dc086570060b2a7.jpg",
460
+ "text": "$$\nS a t = 1 - \\frac { \\sum _ { k = 1 } ^ { r } \\left( s _ { k } \\right) - \\nu } { r \\cdot m a x \\left( s \\right) \\cdot \\left( 1 - \\nu \\right) }\n$$",
461
+ "text_format": "latex",
462
+ "bbox": [
463
+ 388,
464
+ 479,
465
+ 609,
466
+ 515
467
+ ],
468
+ "page_idx": 4
469
+ },
470
+ {
471
+ "type": "text",
472
+ "text": "Value $\\in [ 0 , 1 ]$ is basically just the maximum value in vector $\\pmb { s }$ : ",
473
+ "bbox": [
474
+ 173,
475
+ 515,
476
+ 588,
477
+ 530
478
+ ],
479
+ "page_idx": 4
480
+ },
481
+ {
482
+ "type": "equation",
483
+ "img_path": "images/8232983aca7200d6351b7ef435ec3e80931997ffc6202a5be854e88363c0f431.jpg",
484
+ "text": "$$\nV a l = m a x \\left( s \\right)\n$$",
485
+ "text_format": "latex",
486
+ "bbox": [
487
+ 444,
488
+ 532,
489
+ 553,
490
+ 549
491
+ ],
492
+ "page_idx": 4
493
+ },
494
+ {
495
+ "type": "text",
496
+ "text": "Once we have the HSV values for each location, we then convert the image to RGB color space in the usual manner. ",
497
+ "bbox": [
498
+ 173,
499
+ 551,
500
+ 823,
501
+ 578
502
+ ],
503
+ "page_idx": 4
504
+ },
505
+ {
506
+ "type": "text",
507
+ "text": "2.4 QUANTIFICATION VIA ROAR AND KAR ",
508
+ "text_level": 1,
509
+ "bbox": [
510
+ 174,
511
+ 594,
512
+ 495,
513
+ 608
514
+ ],
515
+ "page_idx": 4
516
+ },
517
+ {
518
+ "type": "text",
519
+ "text": "(Hooker et al., 2018) proposed a standardized method for comparing XAI saliency maps. This extends on ideas proposed by (Dabkowski & Gal, 2017; Samek et al., 2017) and in general hearkens back to methods used to compare computational saliency maps to psychophysical observations (Itti & Koch, 2001). The general idea is that if a saliency map is an accurate representation of what is important in an image, then if we block out salient regions, network performance should degrade. Conversely, if we block out non-salient regions, we should see little degradation in performance. The ROAR/KAR metrics measure these degradations explicitly. The KAR metric (Keep And Retrain) works by blanking out the least salient information/pixels in an input image, and the ROAR (Remove And Retrain) metric uses the contrary strategy and removes the most salient pixels. Figure 3 shows an example of ROAR and KAR masked image. A key component to the ROAR/KAR method is that the network needs to be retrained with saliency masking in place. This is because when we mask out regions in an input image, we unavoidably create artifacts. By retraining the network on masked images, the network learns to ignore the new artifacts and focus on image information. ",
520
+ "bbox": [
521
+ 173,
522
+ 619,
523
+ 825,
524
+ 795
525
+ ],
526
+ "page_idx": 4
527
+ },
528
+ {
529
+ "type": "text",
530
+ "text": "We will give a few examples to show why we need both metrics. If a saliency map is good at deciding which parts of an image are least informative but gets the ranking of the most salient objects wrong, ROAR scores will suggest the method is very good. This is because it masks out the most salient locations in one large grouping. However, ROAR will be unable to diagnose that the saliency map has erroneously ranked the most informative locations until we have removed $50 \\%$ or more of the salient pixels. As such, we get no differentiation between the top $1 \\%$ and the top $10 \\%$ most salient pixels. On the other hand, KAR directly measures how well the saliency map has ranked the most informative locations. By using both metrics, we can quantify the goodness of both the most and least salient locations in a map. ",
531
+ "bbox": [
532
+ 174,
533
+ 801,
534
+ 825,
535
+ 924
536
+ ],
537
+ "page_idx": 4
538
+ },
539
+ {
540
+ "type": "image",
541
+ "img_path": "images/c2fc969838a856383df2845b4ea618604d90723ced01925b453e6893c80ad514.jpg",
542
+ "image_caption": [
543
+ "Figure 3: These are the KAR (kept) and ROAR (removed) mask images created by masking out the original images with the combined saliency map. The percentage is how much of the image has been kept or removed based on the combined saliency map. Thus, the $10 \\%$ kept example shows the top $10 \\%$ most salient pixels in the image. It is these example images that are fed into the network when we compute the KAR and ROAR scores. Many more examples can be seen in Appendix Figure 8 "
544
+ ],
545
+ "image_footnote": [],
546
+ "bbox": [
547
+ 178,
548
+ 99,
549
+ 818,
550
+ 215
551
+ ],
552
+ "page_idx": 5
553
+ },
554
+ {
555
+ "type": "text",
556
+ "text": "3 QUANTITATIVE EXPERIMENTS ",
557
+ "text_level": 1,
558
+ "bbox": [
559
+ 178,
560
+ 337,
561
+ 457,
562
+ 353
563
+ ],
564
+ "page_idx": 5
565
+ },
566
+ {
567
+ "type": "text",
568
+ "text": "3.1 COMPARING DIFFERENT EFFICIENT STATISTICS ",
569
+ "text_level": 1,
570
+ "bbox": [
571
+ 174,
572
+ 371,
573
+ 545,
574
+ 385
575
+ ],
576
+ "page_idx": 5
577
+ },
578
+ {
579
+ "type": "text",
580
+ "text": "We tested our SMOE Scale saliency map method against several other statistical measures using three different datasets that have fairly different tasks and can be effectively trained from scratch. The sets used are ImageNet (Deng et al., 2009), CSAIL Places (Zhou et al., 2014) and COWC (Mundhenk et al., 2016). ImageNet as a task focuses on foreground identification of objects in standard photographic images. Places has more emphasis on background objects, so we would expect more spatial distribution of useful information. COWC, Cars Overhead With Context is an overhead dataset for counting as many as 64 cars per image. We might expect information to be spatially and discretely localized, but distributed over many locations. In summary, these three datasets are expected to have fairly different distributions of important information within each image. This should give us more insight into performance than if we used several task-similar datasets (e.g. Three photographic foreground object sets such as; ImageNet $^ +$ CUB (birds) (Welinder et al., 2010) $^ +$ CompCars (Yang et al., 2015)). ",
581
+ "bbox": [
582
+ 174,
583
+ 397,
584
+ 825,
585
+ 559
586
+ ],
587
+ "page_idx": 5
588
+ },
589
+ {
590
+ "type": "text",
591
+ "text": "For compatibility with (Hooker et al., 2018), we used a ResNet-50 network (He et al., 2015). We also show performance on a per layer basis in order to understand the accuracy at different levels of the network. For comparison with our SMOE Scale method, we included any statistical measure which had at least a modicum of justification and was within the realm of the efficiency we were aiming for. These included parameter and entropy estimations from Normal, Truncated-normal, Log-normal and Gamma Distribution models. We also tested Shanon Entropy and Renyi Entropy. To save compute time, we did a preliminary test on each method and did not continue using it if the results qualitatively appeared very poor and highly unlikely to yield good quantitative results. Normal entropy was excluded because it is SMOE with the Normal standard deviation. This left us with nine possible statistical models which we will discuss in further detail. ",
592
+ "bbox": [
593
+ 174,
594
+ 566,
595
+ 825,
596
+ 700
597
+ ],
598
+ "page_idx": 5
599
+ },
600
+ {
601
+ "type": "text",
602
+ "text": "Saliency maps for each method are computed over each tensor column in the same way as we did with our SMOE Scale metric. The only difference is with the truncated-normal statistic which computes parameters prior to the ReLU layer. We should note that (Jeong & Shin, 2019) uses a truncated normal distribution to measure network information for network design. Recall that we have five saliency map layers. They are at the end of each of the five network spatial scales. We test each one at a time. This is done by setting the network with pre-trained weights for the specific dataset. Then, all weights in the network which come after the saliency mask to be tested are allowed to fine-tune over 25 epochs. Otherwise, we used the same methodology as (He et al., 2015) for data augmentation etc. This is necessary in order to adapt the network to mask related artifacts as specified in the ROAR/KAR protocol. At the level where the saliency map is generated, we mask out pixels in the activation tensor by setting them to zero. For this experiment, we computed the ROAR statistic for the $10 \\%$ least salient pixels. For KAR, we computed a map to only let through the top $2 . 5 \\%$ most salient pixels. This creates a more similar magnitude between ROAR and KAR measures. Layer scores for the top five methods can be seen in Figure 4. We combine layer scores two different ways since ROAR and KAR scores are not quite proportional. These methods both yield very similar results. The first method takes the improvement difference between ",
603
+ "bbox": [
604
+ 174,
605
+ 708,
606
+ 825,
607
+ 922
608
+ ],
609
+ "page_idx": 5
610
+ },
611
+ {
612
+ "type": "image",
613
+ "img_path": "images/9ac15155188471db3e61f929f42764903195f545c7e274f14786d4d55f3323c5.jpg",
614
+ "image_caption": [
615
+ "Figure 4: SMOE Scale is compared with several other efficient statistical methods. The Y-axis is the combined score per scale layer over all three image sets. The $\\mathbf { X }$ -axis is the network layer with L1 being the earliest layer in the network and L5 near the end. A difference score of zero means the result was about the same as for a randomly generated saliency map. Less than zero means it is worse. SMOE Scale differentiates itself the most early on in the network where most statistical methods score at the level of a random saliency map. About mid way through, the difference between methods becomes relatively small. This may be because information contains more message and less noise by this point in processing. Finer grain details can be seen in Appendix Table 4 "
616
+ ],
617
+ "image_footnote": [],
618
+ "bbox": [
619
+ 171,
620
+ 99,
621
+ 825,
622
+ 237
623
+ ],
624
+ "page_idx": 6
625
+ },
626
+ {
627
+ "type": "text",
628
+ "text": "Table 1: KAR and ROAR results per dataset. The Difference Score shows the results using Eq 8. The Information Score uses Eq 9. They are sorted by the average difference score (AVG). The SMOE Scale from Eq 2 performs best overall using both scoring methods. The vanilla standard deviation is second best. Recall it is SMOE with normal entropy. Truncated normal entropy is best on the COWC set and ranks third overall. It is interesting to note that the difference in scores over COWC are not as large as the other two datasets. The top four methods all are information related and mean activation style methods are towards the bottom. Finer grain details can be seen in Appendix Table 4 ",
629
+ "bbox": [
630
+ 173,
631
+ 392,
632
+ 825,
633
+ 502
634
+ ],
635
+ "page_idx": 6
636
+ },
637
+ {
638
+ "type": "table",
639
+ "img_path": "images/eed6592e431fec1d86b26fd5404c0ac3c6172360615d0d39ff799be8de09e6b3.jpg",
640
+ "table_caption": [],
641
+ "table_footnote": [],
642
+ "table_body": "<table><tr><td></td><td colspan=\"4\">Difference Score</td><td colspan=\"4\">Information Score</td></tr><tr><td>Method</td><td>ImNet</td><td>Places</td><td>COWC</td><td>AVG</td><td>ImNet</td><td>Places</td><td>COWC</td><td>AVG</td></tr><tr><td>SMOE Scale</td><td>1.70</td><td>0.90</td><td>1.61</td><td>1.40</td><td>1.13</td><td>0.68</td><td>1.31</td><td>1.04</td></tr><tr><td>Standard Dev</td><td>1.64</td><td>0.83</td><td>1.61</td><td>1.36</td><td>1.07</td><td>0.61</td><td>1.30</td><td>0.99</td></tr><tr><td>Trunc Normal Ent</td><td>1.56</td><td>0.77</td><td>1.64</td><td>1.32</td><td>1.00</td><td>0.56</td><td>1.32</td><td>0.96</td></tr><tr><td>Shanon Ent</td><td>1.61</td><td>0.80</td><td>1.51</td><td>1.31</td><td>0.98</td><td>0.59</td><td>1.23</td><td>0.93</td></tr><tr><td>Trunc Normal Std</td><td>1.51</td><td>0.71</td><td>1.64</td><td>1.28</td><td>1.00</td><td>0.52</td><td>1.32</td><td>0.94</td></tr><tr><td>Trunc Normal Mean</td><td>1.38</td><td>0.67</td><td>1.64</td><td>1.23</td><td>0.96</td><td>0.49</td><td>1.32</td><td>0.92</td></tr><tr><td>Normal Mean</td><td>1.29</td><td>0.63</td><td>1.42</td><td>1.11</td><td>0.75</td><td>0.44</td><td>1.18</td><td>0.79</td></tr><tr><td>Log Normal Ent</td><td>1.16</td><td>0.66</td><td>1.44</td><td>1.09</td><td>0.82</td><td>0.47</td><td>1.20</td><td>0.83</td></tr><tr><td>Log Normal Mean</td><td>1.46</td><td>0.55</td><td>1.09</td><td>1.03</td><td>0.54</td><td>0.35</td><td>0.88</td><td>0.59</td></tr></table>",
643
+ "bbox": [
644
+ 176,
645
+ 517,
646
+ 820,
647
+ 688
648
+ ],
649
+ "page_idx": 6
650
+ },
651
+ {
652
+ "type": "text",
653
+ "text": "tested method’s score and a randomized mask score. We have five $\\kappa \\in [ 0 , 1 ]$ KAR scores for a method. We have five $\\rho \\in [ 0 , 1 ]$ ROAR scores for a method and five $z \\in \\ [ 0 , 1 ]$ scores from a random mask condition. This corresponds to each saliency map spatial scale which we tested. We compute a simple difference score as: ",
654
+ "bbox": [
655
+ 173,
656
+ 718,
657
+ 825,
658
+ 773
659
+ ],
660
+ "page_idx": 6
661
+ },
662
+ {
663
+ "type": "equation",
664
+ "img_path": "images/d022db01bcd17933812b6bd9a38b0fed6e7a67e5d5f5a22e475ce89165120dbc.jpg",
665
+ "text": "$$\nD \\left( \\rho , \\kappa \\right) = \\sum _ { p = 1 } ^ { 5 } { \\left( z _ { p } - \\rho _ { p } \\right) } + \\sum _ { q = 1 } ^ { 5 } { \\left( \\kappa _ { q } - z _ { q } \\right) }\n$$",
666
+ "text_format": "latex",
667
+ "bbox": [
668
+ 357,
669
+ 789,
670
+ 640,
671
+ 834
672
+ ],
673
+ "page_idx": 6
674
+ },
675
+ {
676
+ "type": "text",
677
+ "text": "The second method is an information gain score given by: ",
678
+ "bbox": [
679
+ 174,
680
+ 837,
681
+ 555,
682
+ 852
683
+ ],
684
+ "page_idx": 6
685
+ },
686
+ {
687
+ "type": "equation",
688
+ "img_path": "images/3ed7abba47116e2823f497213af9be2a650cf1d09a3155f134485777739bf876.jpg",
689
+ "text": "$$\nI \\left( \\rho , \\kappa \\right) = - \\sum _ { p = 1 } ^ { 5 } { { { \\rho } _ { p } } \\cdot l o { { g } _ { 2 } } \\left( \\frac { { { \\rho } _ { p } } } { { { z } _ { p } } } \\right) } - \\sum _ { q = 1 } ^ { 5 } { { { z } _ { q } } \\cdot l o { { g } _ { 2 } } \\left( \\frac { { { z } _ { q } } } { { { \\kappa } _ { q } } } \\right) }\n$$",
690
+ "text_format": "latex",
691
+ "bbox": [
692
+ 315,
693
+ 858,
694
+ 681,
695
+ 902
696
+ ],
697
+ "page_idx": 6
698
+ },
699
+ {
700
+ "type": "text",
701
+ "text": "Table 1 shows the results. ",
702
+ "bbox": [
703
+ 174,
704
+ 909,
705
+ 343,
706
+ 924
707
+ ],
708
+ "page_idx": 6
709
+ },
710
+ {
711
+ "type": "image",
712
+ "img_path": "images/a3dbc6264ebf770673200175de8e3c00a557c5a9ba66b15780fbc10ec00f51ee.jpg",
713
+ "image_caption": [
714
+ "Figure 5: SMOE Scale with prior layer weights is compared with three popular baseline methods that all use Squared SmoothGrad. Scores for these three are taken from (Hooker et al., 2018). The Yaxis is the model accuracy on ImageNet only. The $\\mathbf { X }$ -axis is how much of the input image salient pixels are kept or removed. KAR keeps the most salient locations. Higher accuracy values are better. ROAR removes the most salient regions. Lower values are better. Our method does not seem to suffer as much when the $10 \\%$ least salient parts are removed in KAR and in general maintains a better score. Our ROAR scores are very similar to Guided Backprop. Finer grain details can be seen in Appendix Table 5. Note that these results are not per layer. For a closer numerical comparison with the mask layer method, see Appendix Table 4. "
715
+ ],
716
+ "image_footnote": [],
717
+ "bbox": [
718
+ 178,
719
+ 99,
720
+ 818,
721
+ 244
722
+ ],
723
+ "page_idx": 7
724
+ },
725
+ {
726
+ "type": "text",
727
+ "text": "3.2 COMPARISON WITH POPULAR METHODS ",
728
+ "text_level": 1,
729
+ "bbox": [
730
+ 174,
731
+ 410,
732
+ 500,
733
+ 425
734
+ ],
735
+ "page_idx": 7
736
+ },
737
+ {
738
+ "type": "text",
739
+ "text": "We compare our method with three popular saliency map methods using the standard ROAR/KAR methodology. These are Gradient Heatmaps (Simonyan et al., 2014), Guided Backprop (Springenberg et al., 2015) and Integrated Gradients (Sundararajan et al., 2017). All methods use SmoothGrad-Squared (Smilkov et al., 2017) which gives generally the best results. We should note that without SmoothGrad or another augmentation, all three do not yield very good ROAR/KAR scores. ",
740
+ "bbox": [
741
+ 174,
742
+ 439,
743
+ 825,
744
+ 520
745
+ ],
746
+ "page_idx": 7
747
+ },
748
+ {
749
+ "type": "text",
750
+ "text": "We compare three different weighting strategies when combining the saliency maps from all five scales. In the first strategy, we weight all five maps equal [1,1,1,1,1]. In the second, we use a ruleof-thumb like approach where we weight the first layer the least since it should be less accurate. Then each successive layer is weighted more. For this we choose the weights to be [1,2,3,4,5]. The third method weights the maps based on the expected accuracy given our results when we computed Table 1. These prior weights are [0.18, 0.15, 0.37, 0.4, 0.72]. The reason for showing the rule-ofthumb results is to give an idea of performance given imperfect weights since one may not want to spend time computing optimal prior weights. ",
751
+ "bbox": [
752
+ 174,
753
+ 527,
754
+ 825,
755
+ 636
756
+ ],
757
+ "page_idx": 7
758
+ },
759
+ {
760
+ "type": "text",
761
+ "text": "To fairly compare the three popular saliency map methods with our own, we adopt a methodology as close as possible to (Hooker et al., 2018). We train a ResNet-50 from scratch on ImageNet with either ROAR or KAR masking (computed by each of the different saliency mapping approaches in turn) at the start of the network. Otherwise, our training method is the same as (He et al., 2015). The comparison results are shown in Figure 5. We can try and refine these results into fewer scores by subtracting the sum of the ROAR scores from the sum of the KAR scores. The results can be seen in Table 2. The KAR score for our method is superior to all three comparison methods. The ROAR score is better than Guided Backpropagation and Integrated Gradients. This suggests our method is superior at correctly determining which locations are most salient, but is not as good as Gradient Heatmaps for determining which parts of the image are least informative. ",
762
+ "bbox": [
763
+ 173,
764
+ 642,
765
+ 825,
766
+ 777
767
+ ],
768
+ "page_idx": 7
769
+ },
770
+ {
771
+ "type": "text",
772
+ "text": "4 DISCUSSION ",
773
+ "text_level": 1,
774
+ "bbox": [
775
+ 174,
776
+ 805,
777
+ 310,
778
+ 821
779
+ ],
780
+ "page_idx": 7
781
+ },
782
+ {
783
+ "type": "text",
784
+ "text": "4.1 METHOD EFFICIENCY ",
785
+ "text_level": 1,
786
+ "bbox": [
787
+ 176,
788
+ 840,
789
+ 364,
790
+ 854
791
+ ],
792
+ "page_idx": 7
793
+ },
794
+ {
795
+ "type": "text",
796
+ "text": "The method as proposed is much faster than the three baseline comparison methods. Given a ResNet-50 network, we only process five layers. The other methods require a special back propagation step over all layers. We can compute the cost in time by looking at operations that come from three sources. The first is the computation of statistics on tensors in five layers. The second is ",
797
+ "bbox": [
798
+ 176,
799
+ 869,
800
+ 823,
801
+ 922
802
+ ],
803
+ "page_idx": 7
804
+ },
805
+ {
806
+ "type": "text",
807
+ "text": "Table 2: Combined KAR and ROAR scores for several methods on ImageNet Only. The top three rows show several popular methods with Squared SmoothGrad (Smilkov et al., 2017). These scores are created by simply summing the individual scores together. ROAR is negative since we want it to be as small as possible. Prior Layer Weights means we applied layer weights based on the prior determined accuracy of the layer saliency map. We include our top three scoring methods. The SMOE Scale method outperforms the three baseline methods on KAR. It outperforms Guided Backprop and Integrated Gradients on ROAR as well as overall. The Gradient method is best overall, but as we discuss later, it is at least 1456 times more computationally expensive to compute. Truncated normal entropy scores about the same as SMOE Scale. Since SMOE Scale gains its largest performance boost in the earlier layers, when we apply prior weighting, we reduce that advantage. Finer grain details can be seen in Appendix Table 5. ",
808
+ "bbox": [
809
+ 174,
810
+ 112,
811
+ 825,
812
+ 261
813
+ ],
814
+ "page_idx": 8
815
+ },
816
+ {
817
+ "type": "table",
818
+ "img_path": "images/6f5f7441a17c7eaf09321d8df126aaea2703deb137b03ffe3762151079ca15f0.jpg",
819
+ "table_caption": [],
820
+ "table_footnote": [],
821
+ "table_body": "<table><tr><td>Method</td><td>KAR</td><td>ROAR</td><td>SUM</td></tr><tr><td>Gradient (Simonyan et al., 2014) Guided Backprop (Springenberg et al., 2015)</td><td>3.57 3.60</td><td>-3.54 -3.57</td><td>0.04 0.04</td></tr><tr><td>Integrated Grad (Sundararajan et al., 2017) Gradient -w- SmoothGrad Sq.</td><td>3.62</td><td>-3.58</td><td>0.03</td></tr><tr><td>Guided Backprop -w- SmoothGrad Sq.</td><td>3.52 3.49</td><td>-2.12</td><td>1.41</td></tr><tr><td></td><td></td><td>-2.33</td><td>1.16</td></tr><tr><td>Integrated Grad -w- SmoothGrad Sq.</td><td>3.56</td><td>-2.68</td><td>0.88</td></tr><tr><td>SMOE Scale + Prior Layer Weights</td><td>3.61</td><td>-2.31</td><td>1.30</td></tr><tr><td>SMOE Scale + Layer Weights [1,2,3,4,5]</td><td>3.62</td><td>-2.34</td><td></td></tr><tr><td>SMOE Scale + Layer Weights [1,1,1,1,1]</td><td>3.62</td><td></td><td>1.28</td></tr><tr><td></td><td>3.61</td><td>-2.46</td><td>1.15</td></tr><tr><td>Normal Std + Prior Layer Weights</td><td></td><td>-2.32</td><td>1.29</td></tr><tr><td>Trunc Normal Ent + Prior Layer Weights</td><td>3.61</td><td>-2.31</td><td> 1.30</td></tr></table>",
822
+ "bbox": [
823
+ 253,
824
+ 266,
825
+ 743,
826
+ 454
827
+ ],
828
+ "page_idx": 8
829
+ },
830
+ {
831
+ "type": "text",
832
+ "text": "the normalization of each 2D saliency map. Third we account for the cost of combing the saliency maps. ",
833
+ "bbox": [
834
+ 176,
835
+ 494,
836
+ 821,
837
+ 523
838
+ ],
839
+ "page_idx": 8
840
+ },
841
+ {
842
+ "type": "text",
843
+ "text": "Ops for our solution ranges from $1 . 1 x 1 0 ^ { 7 }$ to $3 . 9 x 1 0 ^ { 7 }$ FLOPs (using terminology from (He et al., 2015)) for a ResNet-50. The network itself has $3 . 8 x 1 0 ^ { 9 }$ FLOPs in total. The range in our count comes from how we measure Log and Error Function operations that are computationally expensive compared to more standard ops and whose implementations vary. We estimate the worst case from available software instantiations. Most of the work comes from the initial computation of statistics over activation tensors. This ranges from $9 . 2 x 1 0 ^ { 6 }$ to $3 . 7 \\mathrm { ~ x ~ } 1 0 ^ { 7 }$ FLOPs. In total, this gives us an overhead of $0 . 3 \\%$ to $1 . 0 \\%$ relative to a ResNet-50 forward pass. All gradient methods have a nominal overhead of at least $100 \\%$ . A breakdown of the FLOPs per layer and component can be seen in Table 6 in the appendix. ",
844
+ "bbox": [
845
+ 174,
846
+ 527,
847
+ 825,
848
+ 651
849
+ ],
850
+ "page_idx": 8
851
+ },
852
+ {
853
+ "type": "text",
854
+ "text": "Compared to any method which requires a full backward pass, such as gradient methods, our solution is nominally between $9 7 x$ and $3 4 4 x$ faster for non-SmoothGrad techniques, which according to (Hooker et al., 2018) performs poorly on ROAR/KAR scores. We are between $1 4 5 6 x$ and $5 1 8 1 x$ faster than a 15-iteration SmoothGrad implementation that yields the competitive results in Table 2. 15 iterations as well as other parameters was chosen by (Hooker et al., 2018) who describe this selection in more detail. ",
855
+ "bbox": [
856
+ 174,
857
+ 657,
858
+ 825,
859
+ 738
860
+ ],
861
+ "page_idx": 8
862
+ },
863
+ {
864
+ "type": "text",
865
+ "text": "The memory footprint of our method is minuscule. Computation over tensors can be done inline which leaves the largest storage demand being the retention of 2D saliency maps. This is increased slightly by needing to store one extra $1 1 2 x 1 \\bar { 1 } 2$ image during bilinear up-sampling. Peak memory overhead related to data is about 117 kilobytes per $2 2 4 x 2 2 4$ input image. ",
866
+ "bbox": [
867
+ 174,
868
+ 746,
869
+ 823,
870
+ 800
871
+ ],
872
+ "page_idx": 8
873
+ },
874
+ {
875
+ "type": "text",
876
+ "text": "4.2 USAGE WITH A CLASS ACTIVATION MAP ",
877
+ "text_level": 1,
878
+ "bbox": [
879
+ 178,
880
+ 827,
881
+ 498,
882
+ 840
883
+ ],
884
+ "page_idx": 8
885
+ },
886
+ {
887
+ "type": "text",
888
+ "text": "Our method does not have a class activation map (Selvaraju et al., 2017; Chattopadhyay et al., 2018; Omeiza et al., 2019) in the current implementation. This is because what we have is more akin to Guided Backprop which Grad-CAM etc. combine with their class activation map to improve their pixel level accuracy. The overhead for the class activation map itself is not large since in practice, it involves computing gradients over the last few network layers only. This makes Guided Backprop the most expensive computational part. By replacing it with our method, accuracy should increase as per Table 2 while dramatically reducing both computational and memory overhead. ",
889
+ "bbox": [
890
+ 174,
891
+ 854,
892
+ 823,
893
+ 924
894
+ ],
895
+ "page_idx": 8
896
+ },
897
+ {
898
+ "type": "image",
899
+ "img_path": "images/7062e83599c46341a621b7cafdec1fb537ed354e7961d57954b254fa2fa716cc.jpg",
900
+ "image_caption": [
901
+ "Figure 6: These are examples of the first level saliency maps from SMOE Scale and Standard Deviation. It is common for both std and truncated normal entropy to flood in areas with modest texture. This may explain why difference scores for these two methods are at or below the performance of a random saliency map. "
902
+ ],
903
+ "image_footnote": [],
904
+ "bbox": [
905
+ 179,
906
+ 102,
907
+ 820,
908
+ 454
909
+ ],
910
+ "page_idx": 9
911
+ },
912
+ {
913
+ "type": "text",
914
+ "text": "",
915
+ "bbox": [
916
+ 174,
917
+ 571,
918
+ 821,
919
+ 599
920
+ ],
921
+ "page_idx": 9
922
+ },
923
+ {
924
+ "type": "text",
925
+ "text": "4.3 SMOE SCALE IS THE MOST ROBUST MEASURE ",
926
+ "text_level": 1,
927
+ "bbox": [
928
+ 174,
929
+ 630,
930
+ 549,
931
+ 643
932
+ ],
933
+ "page_idx": 9
934
+ },
935
+ {
936
+ "type": "text",
937
+ "text": "SMOE Scale is the only metric without a failure case among all the statistics we tested. It is the only static that reliably scores in the top half of all the ones we tested. For Image Net and Places, it is the only one always in the top three. All statistics except for SMOE Scale and Shannon Entropy have at least one layer where they have a difference score at or below zero. This means they are as accurate as a random saliency map for at least one condition. SMOE Scale is the most robust statistic to use in terms of expected accuracy. The next highest scoring statistics, standard deviation and truncated normal entropy, are no better than a random on layer 1. Figure 6 shows why this may be. It is important to note that layer 1 contains the finest pixel details and should be expected to be important in rendering visual detail in the final combined saliency map. ",
938
+ "bbox": [
939
+ 174,
940
+ 660,
941
+ 825,
942
+ 782
943
+ ],
944
+ "page_idx": 9
945
+ },
946
+ {
947
+ "type": "text",
948
+ "text": "5 CONCLUSION ",
949
+ "text_level": 1,
950
+ "bbox": [
951
+ 176,
952
+ 815,
953
+ 318,
954
+ 832
955
+ ],
956
+ "page_idx": 9
957
+ },
958
+ {
959
+ "type": "text",
960
+ "text": "We have created a method of XAI saliency which is extremely efficent and is quantitatively comparable or better than several popular methods. It can also be used to create a saliency map with interpretability of individual scale layers. Future work includes creating a class specific activation map and expanding it to non-DNN architectures. We are currently testing our class activation map integration Fast-CAM and will introduce it in a future work. ",
961
+ "bbox": [
962
+ 174,
963
+ 854,
964
+ 823,
965
+ 922
966
+ ],
967
+ "page_idx": 9
968
+ },
969
+ {
970
+ "type": "text",
971
+ "text": "REFERENCES ",
972
+ "text_level": 1,
973
+ "bbox": [
974
+ 174,
975
+ 103,
976
+ 287,
977
+ 117
978
+ ],
979
+ "page_idx": 10
980
+ },
981
+ {
982
+ "type": "text",
983
+ "text": "Chun-Hao Chang, Elliot Creager, Anna Goldenberg, and David Duvenaud. Explaining image classifiers by adaptive dropout and generative in-filling. In ICLR, 2018. ",
984
+ "bbox": [
985
+ 173,
986
+ 126,
987
+ 821,
988
+ 154
989
+ ],
990
+ "page_idx": 10
991
+ },
992
+ {
993
+ "type": "text",
994
+ "text": "Aditya Chattopadhyay, Anirban Sarkar, Prantik Howlader, and Vineeth N Balasubramanian. Grad$\\mathrm { c a m + + }$ : Improved visual explanations for deep convolutional networks. In WACV, 2018. ",
995
+ "bbox": [
996
+ 174,
997
+ 161,
998
+ 821,
999
+ 190
1000
+ ],
1001
+ "page_idx": 10
1002
+ },
1003
+ {
1004
+ "type": "text",
1005
+ "text": "S. C. Choi and R. Wette. Maximum likelihood estimation of the parameters of the gamma distribution and their bias. Technometrics, 11:683690, 1969. ",
1006
+ "bbox": [
1007
+ 174,
1008
+ 198,
1009
+ 820,
1010
+ 227
1011
+ ],
1012
+ "page_idx": 10
1013
+ },
1014
+ {
1015
+ "type": "text",
1016
+ "text": "Piotr Dabkowski and Yarin Gal. Real time image saliency for black box classifiers. In NIPS, 2017. ",
1017
+ "bbox": [
1018
+ 171,
1019
+ 234,
1020
+ 820,
1021
+ 250
1022
+ ],
1023
+ "page_idx": 10
1024
+ },
1025
+ {
1026
+ "type": "text",
1027
+ "text": "Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In CVPR, 2009. ",
1028
+ "bbox": [
1029
+ 174,
1030
+ 257,
1031
+ 820,
1032
+ 286
1033
+ ],
1034
+ "page_idx": 10
1035
+ },
1036
+ {
1037
+ "type": "text",
1038
+ "text": "Ruth Fong and Andrea Vedaldi. Interpretable explanation of black boxes by meaningful perturbation. In ICCV, 2017. ",
1039
+ "bbox": [
1040
+ 173,
1041
+ 294,
1042
+ 823,
1043
+ 323
1044
+ ],
1045
+ "page_idx": 10
1046
+ },
1047
+ {
1048
+ "type": "text",
1049
+ "text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In arXiv:1512.03385, 2015. ",
1050
+ "bbox": [
1051
+ 174,
1052
+ 330,
1053
+ 821,
1054
+ 359
1055
+ ],
1056
+ "page_idx": 10
1057
+ },
1058
+ {
1059
+ "type": "text",
1060
+ "text": "Sara Hooker, Dumitru Erhan, Pieter-Jan Kindermans, and Been Kim. Evaluating feature importance estimates. In ICML workshop on Human Interpretability in Machine Learning, 2018. ",
1061
+ "bbox": [
1062
+ 173,
1063
+ 367,
1064
+ 823,
1065
+ 396
1066
+ ],
1067
+ "page_idx": 10
1068
+ },
1069
+ {
1070
+ "type": "text",
1071
+ "text": "Gao Huang, Zhuang Liu, Kilian Q. Weinberger, and Laurens van der Maaten. Densely connected convolutional networks. In CVPR, 2017. ",
1072
+ "bbox": [
1073
+ 174,
1074
+ 404,
1075
+ 823,
1076
+ 433
1077
+ ],
1078
+ "page_idx": 10
1079
+ },
1080
+ {
1081
+ "type": "text",
1082
+ "text": "Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In ICML, 2015. ",
1083
+ "bbox": [
1084
+ 174,
1085
+ 440,
1086
+ 823,
1087
+ 469
1088
+ ],
1089
+ "page_idx": 10
1090
+ },
1091
+ {
1092
+ "type": "text",
1093
+ "text": "Laurent Itti and Christof Koch. Computational modelling of visual attention. Nature Neuroscience, 2:194203, 2001. ",
1094
+ "bbox": [
1095
+ 173,
1096
+ 477,
1097
+ 823,
1098
+ 506
1099
+ ],
1100
+ "page_idx": 10
1101
+ },
1102
+ {
1103
+ "type": "text",
1104
+ "text": "Laurent Itti, Ernst Niebur, and Christof Koch. A model of saliency-based visual attention for rapid scene analysis. IEEE Transactions on Pattern Analysis & Machine Intelligence, 20:1254–1259, 1998. ",
1105
+ "bbox": [
1106
+ 176,
1107
+ 512,
1108
+ 823,
1109
+ 554
1110
+ ],
1111
+ "page_idx": 10
1112
+ },
1113
+ {
1114
+ "type": "text",
1115
+ "text": "Jongheon Jeong and Jinwoo Shin. Training cnns with selective allocation of channels. In ICML, 2019. ",
1116
+ "bbox": [
1117
+ 173,
1118
+ 563,
1119
+ 823,
1120
+ 592
1121
+ ],
1122
+ "page_idx": 10
1123
+ },
1124
+ {
1125
+ "type": "text",
1126
+ "text": "George H. Joblove and Donald Greenberg. Color spaces for computer graphics. Computer Graphics, 12:20–25, 1978. ",
1127
+ "bbox": [
1128
+ 174,
1129
+ 599,
1130
+ 823,
1131
+ 628
1132
+ ],
1133
+ "page_idx": 10
1134
+ },
1135
+ {
1136
+ "type": "text",
1137
+ "text": "Alex Krizhevsky, Ilya Sutskever, and Geoffrey E. Hinton. ImageNet classification with deep convolutional neural networks. In NIPS, 2013. ",
1138
+ "bbox": [
1139
+ 174,
1140
+ 636,
1141
+ 823,
1142
+ 665
1143
+ ],
1144
+ "page_idx": 10
1145
+ },
1146
+ {
1147
+ "type": "text",
1148
+ "text": "T Nathan Mundhenk, Goran Konjevod, Wesam A Sakla, and Kofi Boakye. A large contextual dataset for classification, detection and counting of cars with deep learning. In ECCV, 2016. ",
1149
+ "bbox": [
1150
+ 174,
1151
+ 672,
1152
+ 823,
1153
+ 702
1154
+ ],
1155
+ "page_idx": 10
1156
+ },
1157
+ {
1158
+ "type": "text",
1159
+ "text": "Vinod Nair and Geoffrey E. Hinton. Rectified linear units improve restricted boltzmann machines. In ICML, 2010. ",
1160
+ "bbox": [
1161
+ 173,
1162
+ 708,
1163
+ 820,
1164
+ 738
1165
+ ],
1166
+ "page_idx": 10
1167
+ },
1168
+ {
1169
+ "type": "text",
1170
+ "text": "Daniel Omeiza, Skyler Speakman, Celia Cintas, and Komminist Weldemariam. Smooth gradcam++: An enhanced inference level visualization technique for deep convolutional neural network models. In arXiv:1908.01224, 2019. ",
1171
+ "bbox": [
1172
+ 173,
1173
+ 744,
1174
+ 821,
1175
+ 787
1176
+ ],
1177
+ "page_idx": 10
1178
+ },
1179
+ {
1180
+ "type": "text",
1181
+ "text": "Badri N Patro, Mayank Lunayach, Shivansh Patel, and Vinay P. Namboodiri. U-cam: Visual explanation using uncertanty based class activation maps. In ICCV, 2019. ",
1182
+ "bbox": [
1183
+ 171,
1184
+ 795,
1185
+ 821,
1186
+ 825
1187
+ ],
1188
+ "page_idx": 10
1189
+ },
1190
+ {
1191
+ "type": "text",
1192
+ "text": "Wojciech Samek, Alexander Binder, Gregoire Montavon, Sebastian Lapuschkin, and Klaus-Robert ´ Muller. Evaluating the visualization of what a deep neural network has learned. ¨ IEEE Transactions on Neural Networks and Learning Systems, 28:2660–2673, 2017. ",
1193
+ "bbox": [
1194
+ 176,
1195
+ 832,
1196
+ 823,
1197
+ 875
1198
+ ],
1199
+ "page_idx": 10
1200
+ },
1201
+ {
1202
+ "type": "text",
1203
+ "text": "Ramprasaath R. Selvaraju, Michael Cogswell, Abhishek Das, Ramakrishna Vedantam, Devi Parikh, and Dhruv Batra. Grad-cam: Visual explanations from deep networks via gradient-based localization. In ICCV, 2017. ",
1204
+ "bbox": [
1205
+ 174,
1206
+ 882,
1207
+ 825,
1208
+ 924
1209
+ ],
1210
+ "page_idx": 10
1211
+ },
1212
+ {
1213
+ "type": "text",
1214
+ "text": "Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In ICLR, 2015. ",
1215
+ "bbox": [
1216
+ 171,
1217
+ 103,
1218
+ 823,
1219
+ 132
1220
+ ],
1221
+ "page_idx": 11
1222
+ },
1223
+ {
1224
+ "type": "text",
1225
+ "text": "Karen Simonyan, Andrea Vedaldi, and Andrew Zisserman. Deep inside convolutional networks: Visualising image classification models and saliency maps. In arXiv:1312.6034, 2014. ",
1226
+ "bbox": [
1227
+ 174,
1228
+ 140,
1229
+ 823,
1230
+ 169
1231
+ ],
1232
+ "page_idx": 11
1233
+ },
1234
+ {
1235
+ "type": "text",
1236
+ "text": "Daniel Smilkov, Nikhil Thorat, Been Kim, Fernanda Vigas, and Martin Wattenberg. Smoothgrad: removing noise by adding noise. In arXiv:1706.03825, 2017. ",
1237
+ "bbox": [
1238
+ 173,
1239
+ 176,
1240
+ 821,
1241
+ 205
1242
+ ],
1243
+ "page_idx": 11
1244
+ },
1245
+ {
1246
+ "type": "text",
1247
+ "text": "Jost Tobias Springenberg, Alexey Dosovitskiy, Thomas Brox, and Martin Riedmille. Striving for simplicity: The all convolutional net. In ICLR Workshop, 2015. ",
1248
+ "bbox": [
1249
+ 171,
1250
+ 214,
1251
+ 823,
1252
+ 242
1253
+ ],
1254
+ "page_idx": 11
1255
+ },
1256
+ {
1257
+ "type": "text",
1258
+ "text": "Mukund Sundararajan, Ankur Taly, and Qiqi Yan. Axiomatic attribution for deep networks. In ICML, 2017. ",
1259
+ "bbox": [
1260
+ 174,
1261
+ 251,
1262
+ 823,
1263
+ 280
1264
+ ],
1265
+ "page_idx": 11
1266
+ },
1267
+ {
1268
+ "type": "text",
1269
+ "text": "Naftali Tishby, Fernando C. Pereira, and William Bialek. The information bottleneck method, 2000. ",
1270
+ "bbox": [
1271
+ 174,
1272
+ 287,
1273
+ 823,
1274
+ 303
1275
+ ],
1276
+ "page_idx": 11
1277
+ },
1278
+ {
1279
+ "type": "text",
1280
+ "text": "Peter Welinder, Steve Branson, Takeshi Mita, Catherine Wah, Florian Schroff, Serge Belongie, and Pietro Perona. Caltech-UCSD Birds 200. Technical Report CNS-TR-2010-001, California Institute of Technology, 2010. ",
1281
+ "bbox": [
1282
+ 173,
1283
+ 311,
1284
+ 821,
1285
+ 353
1286
+ ],
1287
+ "page_idx": 11
1288
+ },
1289
+ {
1290
+ "type": "text",
1291
+ "text": "Linjie Yang, Ping Luo, Chen Change Loy, and Xiaoou Tang. A large-scale car dataset for finegrained categorization and verification. In CVPR, 2015. ",
1292
+ "bbox": [
1293
+ 173,
1294
+ 361,
1295
+ 823,
1296
+ 390
1297
+ ],
1298
+ "page_idx": 11
1299
+ },
1300
+ {
1301
+ "type": "text",
1302
+ "text": "Matthew D. Zeiler and Rob Fergus. Visualizing and understanding convolutional networks. In ECCV, 2014. ",
1303
+ "bbox": [
1304
+ 174,
1305
+ 398,
1306
+ 823,
1307
+ 428
1308
+ ],
1309
+ "page_idx": 11
1310
+ },
1311
+ {
1312
+ "type": "text",
1313
+ "text": "Bolei Zhou, Agata Lapedriza Garcia, Jianxiong Xiao, Antonio Torralba, and Aude Oliva. Learning deep features for scene recognition using places database. In NIPS, 2014. ",
1314
+ "bbox": [
1315
+ 173,
1316
+ 435,
1317
+ 823,
1318
+ 464
1319
+ ],
1320
+ "page_idx": 11
1321
+ },
1322
+ {
1323
+ "type": "text",
1324
+ "text": "A APPENDIX ",
1325
+ "text_level": 1,
1326
+ "bbox": [
1327
+ 176,
1328
+ 102,
1329
+ 299,
1330
+ 118
1331
+ ],
1332
+ "page_idx": 12
1333
+ },
1334
+ {
1335
+ "type": "text",
1336
+ "text": "A.1 DERIVATION OF SMOE SCALE ",
1337
+ "text_level": 1,
1338
+ "bbox": [
1339
+ 176,
1340
+ 132,
1341
+ 433,
1342
+ 147
1343
+ ],
1344
+ "page_idx": 12
1345
+ },
1346
+ {
1347
+ "type": "text",
1348
+ "text": "The maximum likelihood estimator of scale in the Gamma probability distribution is given as: ",
1349
+ "bbox": [
1350
+ 169,
1351
+ 157,
1352
+ 787,
1353
+ 174
1354
+ ],
1355
+ "page_idx": 12
1356
+ },
1357
+ {
1358
+ "type": "equation",
1359
+ "img_path": "images/611b17d1653e4fe993f858dfd83be5abee9b7e92e759569aa14e6d70dbe26a6d.jpg",
1360
+ "text": "$$\n{ \\hat { \\theta } } = { \\frac { 1 } { k n } } \\sum _ { i = 1 } ^ { n } x _ { i }\n$$",
1361
+ "text_format": "latex",
1362
+ "bbox": [
1363
+ 449,
1364
+ 179,
1365
+ 550,
1366
+ 220
1367
+ ],
1368
+ "page_idx": 12
1369
+ },
1370
+ {
1371
+ "type": "text",
1372
+ "text": "This requires the additional iterative estimation of the shape parameter $k$ starting with an estimate $s$ ",
1373
+ "bbox": [
1374
+ 174,
1375
+ 227,
1376
+ 823,
1377
+ 242
1378
+ ],
1379
+ "page_idx": 12
1380
+ },
1381
+ {
1382
+ "type": "equation",
1383
+ "img_path": "images/8225e05371a08b67f7a6e8897ba8ba0633b4bfed462e5b6ca3e2b04aaf0851f5.jpg",
1384
+ "text": "$$\ns = \\ln \\left( { \\frac { 1 } { n } } \\sum _ { i = 1 } ^ { n } x _ { i } \\right) - { \\frac { 1 } { n } } \\sum _ { i = 1 } ^ { n } \\ln ( x _ { i } )\n$$",
1385
+ "text_format": "latex",
1386
+ "bbox": [
1387
+ 380,
1388
+ 247,
1389
+ 617,
1390
+ 291
1391
+ ],
1392
+ "page_idx": 12
1393
+ },
1394
+ {
1395
+ "type": "text",
1396
+ "text": "Then we get to within $1 . 5 \\%$ of the correct answer via: ",
1397
+ "bbox": [
1398
+ 173,
1399
+ 296,
1400
+ 527,
1401
+ 311
1402
+ ],
1403
+ "page_idx": 12
1404
+ },
1405
+ {
1406
+ "type": "equation",
1407
+ "img_path": "images/2130e9a7e42afd25872f6ce39e9ee2a5e1292f09130286ccded95a138ff6956e.jpg",
1408
+ "text": "$$\nk \\approx \\frac { 3 - s + \\sqrt { ( s - 3 ) ^ { 2 } + 2 4 s } } { 1 2 s }\n$$",
1409
+ "text_format": "latex",
1410
+ "bbox": [
1411
+ 393,
1412
+ 318,
1413
+ 604,
1414
+ 352
1415
+ ],
1416
+ "page_idx": 12
1417
+ },
1418
+ {
1419
+ "type": "text",
1420
+ "text": "Then we use the Newton-Ralphson update to finish: ",
1421
+ "bbox": [
1422
+ 174,
1423
+ 357,
1424
+ 514,
1425
+ 372
1426
+ ],
1427
+ "page_idx": 12
1428
+ },
1429
+ {
1430
+ "type": "equation",
1431
+ "img_path": "images/be6eee47fe0a2e8245160bad217d367a77c06689c455e1be367cb8c79eb6eed1.jpg",
1432
+ "text": "$$\nk k - \\frac { \\ln ( k ) - \\psi ( k ) - s } { \\frac { 1 } { k } - \\psi ^ { \\prime } ( k ) }\n$$",
1433
+ "text_format": "latex",
1434
+ "bbox": [
1435
+ 405,
1436
+ 377,
1437
+ 591,
1438
+ 415
1439
+ ],
1440
+ "page_idx": 12
1441
+ },
1442
+ {
1443
+ "type": "text",
1444
+ "text": "But we can see application of Eqs 12 and 13 is monotonic. This is also apparent from the example which we can see in Figure 7. ",
1445
+ "bbox": [
1446
+ 174,
1447
+ 420,
1448
+ 825,
1449
+ 449
1450
+ ],
1451
+ "page_idx": 12
1452
+ },
1453
+ {
1454
+ "type": "image",
1455
+ "img_path": "images/20a109aa6c4b2c46a71c8484b1cd42dc4b33941c173d40a41105519f9b24960e.jpg",
1456
+ "image_caption": [
1457
+ "Figure 7: A plot of the resulting $k$ values from input $s$ values in the gamma probability distribution maximum likelihood estimation. It is monotonic and reciprocal. "
1458
+ ],
1459
+ "image_footnote": [],
1460
+ "bbox": [
1461
+ 375,
1462
+ 465,
1463
+ 622,
1464
+ 588
1465
+ ],
1466
+ "page_idx": 12
1467
+ },
1468
+ {
1469
+ "type": "text",
1470
+ "text": "$k$ is SMOE to $\\frac { 1 } { s }$ , so we rewrite Eq 10 with the reciprocal of $k$ and optionally use the more efficient $l o g _ { 2 }$ as: ",
1471
+ "bbox": [
1472
+ 171,
1473
+ 643,
1474
+ 823,
1475
+ 671
1476
+ ],
1477
+ "page_idx": 12
1478
+ },
1479
+ {
1480
+ "type": "equation",
1481
+ "img_path": "images/0fa761babfdebb26f016333b15140b10cf303ee8dc842a7f7eaacd62d5b7869f.jpg",
1482
+ "text": "$$\n{ \\hat { \\theta } } _ { S M O E } = { \\frac { 1 } { n } } \\cdot \\sum _ { i = 1 } ^ { n } x _ { i } \\cdot \\left[ l o g _ { 2 } \\left( { \\frac { 1 } { n } } \\cdot \\sum _ { i = 1 } ^ { n } x _ { i } \\right) - { \\frac { 1 } { n } } \\cdot \\sum _ { i = 1 } ^ { n } l o g _ { 2 } \\left( x _ { i } \\right) \\right]\n$$",
1483
+ "text_format": "latex",
1484
+ "bbox": [
1485
+ 284,
1486
+ 670,
1487
+ 714,
1488
+ 713
1489
+ ],
1490
+ "page_idx": 12
1491
+ },
1492
+ {
1493
+ "type": "text",
1494
+ "text": "This then simplifies to: ",
1495
+ "bbox": [
1496
+ 174,
1497
+ 714,
1498
+ 326,
1499
+ 729
1500
+ ],
1501
+ "page_idx": 12
1502
+ },
1503
+ {
1504
+ "type": "equation",
1505
+ "img_path": "images/60415a4dc6bbe909d3f5207b3226f9e1d22c4eaedf25cbb602ff4ef74292d206.jpg",
1506
+ "text": "$$\n{ \\hat { \\theta } } _ { S M O E } = { \\frac { 1 } { n } } \\cdot \\sum _ { i = 1 } ^ { n } \\mu \\cdot \\log _ { 2 } \\left( { \\frac { \\mu } { x _ { n } } } \\right)\n$$",
1507
+ "text_format": "latex",
1508
+ "bbox": [
1509
+ 385,
1510
+ 727,
1511
+ 612,
1512
+ 768
1513
+ ],
1514
+ "page_idx": 12
1515
+ },
1516
+ {
1517
+ "type": "text",
1518
+ "text": "We can see the results this gives with different kinds of data in Table 3 ",
1519
+ "bbox": [
1520
+ 173,
1521
+ 770,
1522
+ 635,
1523
+ 786
1524
+ ],
1525
+ "page_idx": 12
1526
+ },
1527
+ {
1528
+ "type": "table",
1529
+ "img_path": "images/355f258e801735d9316096a4dfce794bd02bcfeaad96be948823443c9c4b5cef.jpg",
1530
+ "table_caption": [
1531
+ "Table 3: Examples of SMOE Scale results given different data. This shows in particular when log variance and standard deviation give similar or diverging results. It is easier to see how SMOE Scale as a measure or variance is proportional to the mean. So, if we have lots of large values in an output, we also need them to exhibit more variance relative to the mean activation. "
1532
+ ],
1533
+ "table_footnote": [],
1534
+ "table_body": "<table><tr><td></td><td colspan=\"7\">Input Values</td><td></td><td>Mean</td><td>STD</td><td>SMOE Scale</td></tr><tr><td>0.5</td><td>1</td><td></td><td>0.5</td><td>1</td><td>0.5</td><td>1</td><td>0.5</td><td>1</td><td>0.75</td><td>0.25</td><td>0.064</td></tr><tr><td>1</td><td>2</td><td></td><td>1</td><td>2</td><td>1</td><td>2</td><td>1</td><td>2</td><td>1.5</td><td>0.5</td><td>0.127</td></tr><tr><td>2</td><td>4</td><td>.</td><td>2</td><td>4</td><td>2</td><td>4</td><td>2</td><td>4</td><td>3</td><td>1</td><td>0.255</td></tr><tr><td>1</td><td>2</td><td>…</td><td>1</td><td>2</td><td>1</td><td>2</td><td>1</td><td>2</td><td>1.5</td><td>0.5</td><td>0.127</td></tr><tr><td>2</td><td>3</td><td>.</td><td>2</td><td>3</td><td>2</td><td>3</td><td>2</td><td>3</td><td>2.5</td><td>0.5</td><td>0.074</td></tr><tr><td>2</td><td>4</td><td>.</td><td>2</td><td>4</td><td>2</td><td>4</td><td>2</td><td>4</td><td>3</td><td>1</td><td>0.255</td></tr><tr><td>0.6125</td><td>1.8375</td><td>…</td><td>0.6125</td><td>1.8375</td><td>0.6125</td><td>1.8375</td><td>0.6125</td><td>1.8375</td><td>1.225</td><td>0.6125</td><td>0.254</td></tr></table>",
1535
+ "bbox": [
1536
+ 173,
1537
+ 492,
1538
+ 823,
1539
+ 602
1540
+ ],
1541
+ "page_idx": 13
1542
+ },
1543
+ {
1544
+ "type": "text",
1545
+ "text": "A.2 MORE EXAMPLES OF KAR SALIENCY MASKS ",
1546
+ "text_level": 1,
1547
+ "bbox": [
1548
+ 176,
1549
+ 103,
1550
+ 537,
1551
+ 117
1552
+ ],
1553
+ "page_idx": 14
1554
+ },
1555
+ {
1556
+ "type": "image",
1557
+ "img_path": "images/689b48f8ed5920e3d7b883963071abe025d9036d6200602046170013b35a1d58.jpg",
1558
+ "image_caption": [
1559
+ "Figure 8: These are the last mini-batch images in our GPU:0 buffer when running the ImageNet validation set. The top images are the original input images and the ones on the bottom are $10 \\%$ KAR images of the most salient pixels. These are images used when computing KAR scores. "
1560
+ ],
1561
+ "image_footnote": [],
1562
+ "bbox": [
1563
+ 209,
1564
+ 135,
1565
+ 787,
1566
+ 856
1567
+ ],
1568
+ "page_idx": 14
1569
+ },
1570
+ {
1571
+ "type": "image",
1572
+ "img_path": "images/4fb6f38a1d785a042afaa1ae11357e80d8c1eaf69c8648d5051ec9340b417156.jpg",
1573
+ "image_caption": [
1574
+ "Figure 9: These are more examples of combined saliency maps using the same images that appear in Figure 8. These images are not alpha blending with the original. Above each image is the ground truth label, while the label the network gave it is below. This was auto-generated by our training scripts. "
1575
+ ],
1576
+ "image_footnote": [],
1577
+ "bbox": [
1578
+ 174,
1579
+ 131,
1580
+ 830,
1581
+ 637
1582
+ ],
1583
+ "page_idx": 15
1584
+ },
1585
+ {
1586
+ "type": "image",
1587
+ "img_path": "images/e20d8b495f81143fecc49a5a79078af88846ae7447d0026a048a2a2dc5927b87.jpg",
1588
+ "image_caption": [
1589
+ "Figure 10: These are the same as Figure 9 except with the original image gray scaled and alpha blended at $2 5 \\%$ . "
1590
+ ],
1591
+ "image_footnote": [],
1592
+ "bbox": [
1593
+ 174,
1594
+ 236,
1595
+ 831,
1596
+ 744
1597
+ ],
1598
+ "page_idx": 16
1599
+ },
1600
+ {
1601
+ "type": "text",
1602
+ "text": "A.4 MORE EXAMPLES OF LOVI SALIENCY MAPS ",
1603
+ "text_level": 1,
1604
+ "bbox": [
1605
+ 176,
1606
+ 103,
1607
+ 531,
1608
+ 118
1609
+ ],
1610
+ "page_idx": 17
1611
+ },
1612
+ {
1613
+ "type": "image",
1614
+ "img_path": "images/35239414fc28cea60719589da148b885a04daf51f64c15cfec181f4651c6e9df.jpg",
1615
+ "image_caption": [
1616
+ "Figure 11: These are more examples of visualizing multiple saliency maps using the same images that are in Figure 8. These images are not alpha blending with the original. "
1617
+ ],
1618
+ "image_footnote": [],
1619
+ "bbox": [
1620
+ 174,
1621
+ 131,
1622
+ 831,
1623
+ 638
1624
+ ],
1625
+ "page_idx": 17
1626
+ },
1627
+ {
1628
+ "type": "image",
1629
+ "img_path": "images/b379c8b0f3b814b5e14edf9d54cef0694aab2d470c9744e98aa1d13a326928a3.jpg",
1630
+ "image_caption": [
1631
+ "Figure 12: These are the same as Figure 11 with the original image gray scaled and alpha blended at $2 5 \\%$ . "
1632
+ ],
1633
+ "image_footnote": [],
1634
+ "bbox": [
1635
+ 174,
1636
+ 237,
1637
+ 830,
1638
+ 744
1639
+ ],
1640
+ "page_idx": 18
1641
+ },
1642
+ {
1643
+ "type": "text",
1644
+ "text": "A.5 COMPARING DIFFERENT EFFICIENT STATISTICS IN MORE DETAIL ",
1645
+ "bbox": [
1646
+ 174,
1647
+ 103,
1648
+ 669,
1649
+ 118
1650
+ ],
1651
+ "page_idx": 19
1652
+ },
1653
+ {
1654
+ "type": "text",
1655
+ "text": "This subsection shows the raw scores for each statistic over each dataset. ",
1656
+ "bbox": [
1657
+ 179,
1658
+ 128,
1659
+ 648,
1660
+ 143
1661
+ ],
1662
+ "page_idx": 19
1663
+ },
1664
+ {
1665
+ "type": "table",
1666
+ "img_path": "images/73acd27d2d205b0a33163941c6cfab804cf386eeb1309e40d338ae8ee1c0eb40.jpg",
1667
+ "table_caption": [
1668
+ "Table 4: KAR and ROAR results per dataset. This is a more detailed version of Table 1 and Figure 4. The differing effects of the distribution of data in the three sets seems to manifest itself in the L5 scores whereby the more concentrated the information is spatially, the better the ROAR/L5 score seems to be. "
1669
+ ],
1670
+ "table_footnote": [],
1671
+ "table_body": "<table><tr><td></td><td colspan=\"5\">KAR Kept Percent</td><td colspan=\"5\">ROAR Removed Percent</td></tr><tr><td>Method</td><td>L1</td><td>L2</td><td>L3</td><td>L4</td><td>L5</td><td>L1</td><td>L2</td><td>L3</td><td>L4</td><td>L5</td></tr><tr><td colspan=\"9\">ImageNet</td><td></td></tr><tr><td>Random</td><td>66.42</td><td>61.28</td><td>50.67</td><td>40.81</td><td>42.98</td><td>73.48</td><td>72.41</td><td>68.90</td><td>64.63</td><td>66.04</td></tr><tr><td>SMOE Scale</td><td>56.61</td><td>50.69</td><td>51.25</td><td>46.40</td><td>63.00</td><td>44.48</td><td>44.81</td><td>36.35</td><td>33.88</td><td>21.15</td></tr><tr><td>STD</td><td>51.84</td><td>50.73</td><td>50.72</td><td>46.16</td><td>62.82</td><td>45.78</td><td>42.74</td><td>36.17</td><td>34.41</td><td>22.88</td></tr><tr><td>Mean</td><td>53.21</td><td>40.34</td><td>50.88</td><td>46.85</td><td>62.56</td><td>52.66</td><td>64.10</td><td>37.85</td><td>34.15</td><td>19.19</td></tr><tr><td>Shannon Ent</td><td>55.43</td><td>45.69</td><td>50.89</td><td>47.17</td><td>61.18</td><td>44.74</td><td>51.38</td><td>38.73</td><td>35.78</td><td>18.07</td></tr><tr><td>Log Normal Mean</td><td>55.98</td><td>32.28</td><td>51.08</td><td>47.21</td><td>62.02</td><td>57.20</td><td>68.22</td><td>44.42</td><td>34.98</td><td>18.50</td></tr><tr><td>Log Normal ENT</td><td>53.01</td><td>42.52</td><td>51.13</td><td>46.85</td><td>62.26</td><td>47.92</td><td>62.64</td><td>38.73</td><td>34.50</td><td>18.91</td></tr><tr><td>Trunc Normal Mean</td><td>50.67</td><td>49.69</td><td>50.69</td><td>43.52</td><td>62.87</td><td>46.88</td><td>49.76</td><td>35.44</td><td>37.58</td><td>20.92</td></tr><tr><td>Trunc Normal Std</td><td>50.66</td><td>51.02</td><td>50.60</td><td>42.54</td><td>62.97</td><td>46.78</td><td>43.70</td><td>35.68</td><td>38.18</td><td>21.57</td></tr><tr><td>Trunc Normal Ent</td><td>50.84</td><td>50.62</td><td>50.57</td><td>43.63</td><td>62.97</td><td>46.92</td><td>45.48</td><td>35.56</td><td>37.64</td><td>21.25</td></tr><tr><td>Best</td><td>56.61</td><td>51.02</td><td>51.25</td><td>47.21</td><td>63.00</td><td>44.48</td><td>42.74</td><td>35.44</td><td>33.88</td><td>18.07</td></tr><tr><td>Worst</td><td>50.66</td><td>32.28</td><td>50.57</td><td>42.54</td><td>61.18</td><td>57.20</td><td>68.22</td><td>44.42</td><td>38.18</td><td>22.88</td></tr><tr><td colspan=\"9\">Places</td><td></td></tr><tr><td>Random</td><td>57.20</td><td>53.59</td><td>47.83</td><td>41.26</td><td>39.45</td><td>60.77</td><td>60.25</td><td>58.14</td><td>56.41</td><td>55.26</td></tr><tr><td>SMOE Scale</td><td>49.76</td><td>45.67</td><td>46.39</td><td>40.57</td><td>53.50</td><td>44.35</td><td>44.61</td><td>39.80</td><td>40.26</td><td>27.94</td></tr><tr><td>STD</td><td>47.15</td><td>44.75</td><td>46.28</td><td>39.41</td><td>53.53</td><td>46.41</td><td>43.69</td><td>39.28</td><td>41.38</td><td>29.12</td></tr><tr><td>Mean</td><td>47.93</td><td>40.38</td><td>45.94</td><td>41.10</td><td>52.33</td><td>50.66</td><td>56.58</td><td>41.26</td><td>39.90</td><td>27.38</td></tr><tr><td>Shannon Ent</td><td>48.80</td><td>43.20</td><td>45.92</td><td>41.31</td><td>50.62</td><td>41.97</td><td>49.28</td><td>42.93</td><td>39.98</td><td>27.06</td></tr><tr><td>Log Normal Mean</td><td>50.05</td><td>35.87</td><td>46.23</td><td>41.45</td><td>51.67</td><td>52.21</td><td>57.91</td><td>45.17</td><td>39.73</td><td>26.88</td></tr><tr><td>Log Normal ENT</td><td>47.77</td><td>41.41</td><td>46.02</td><td>41.39</td><td>52.25</td><td>48.96</td><td>56.34</td><td>41.91</td><td>39.68</td><td>27.00</td></tr><tr><td>Trunc Normal Mean</td><td>46.25</td><td>44.76</td><td>46.12</td><td>38.08</td><td>53.18</td><td>46.92</td><td>46.92</td><td>48.83</td><td>42.09</td><td>28.06</td></tr><tr><td>Trunc Normal Std</td><td>45.96</td><td>45.35</td><td>46.38</td><td>37.61</td><td>53.38</td><td>46.41</td><td>46.76</td><td>44.86</td><td>42.43</td><td>28.68</td></tr><tr><td>Trunc Normal Ent</td><td>46.06</td><td>45.01</td><td>46.38</td><td>37.57</td><td>53.15</td><td>46.67</td><td>46.67</td><td>38.85</td><td>42.09</td><td>28.11</td></tr><tr><td>Best</td><td>50.05</td><td>45.67</td><td>46.39</td><td>41.45</td><td>53.53</td><td>41.97</td><td>43.69</td><td>38.85</td><td>39.68</td><td>26.88</td></tr><tr><td>Worst</td><td>45.96</td><td>35.87</td><td>45.92</td><td>37.57</td><td>50.62</td><td>52.21</td><td>57.91</td><td>48.83</td><td>42.43</td><td>29.12</td></tr><tr><td colspan=\"9\">CowC</td><td></td><td></td></tr><tr><td>Random</td><td>65.05</td><td>57.43</td><td>52.30</td><td>64.31</td><td>65.55</td><td>77.38</td><td>75.44</td><td>71.11</td><td>78.25</td><td>77.32</td></tr><tr><td>SMOE Scale</td><td>64.19</td><td>63.02</td><td>71.05</td><td>62.87</td><td>80.65</td><td>45.16</td><td>44.09</td><td>43.97</td><td>62.78</td><td>59.49</td></tr><tr><td>STD</td><td>60.36</td><td>61.95</td><td>70.89</td><td>64.57</td><td>80.55</td><td>44.12</td><td>43.52</td><td>44.10</td><td>60.69</td><td>59.73</td></tr><tr><td>Mean</td><td>63.82</td><td>59.90</td><td>73.20</td><td>61.83</td><td>80.54</td><td>45.79</td><td>59.24</td><td>44.61</td><td>64.02</td><td>58.86</td></tr><tr><td>Shannon Ent</td><td>62.64</td><td>63.78</td><td>73.29</td><td>60.99</td><td>78.77</td><td>46.50</td><td>44.23</td><td>46.42</td><td>68.31</td><td>57.98</td></tr><tr><td>Log Normal Mean</td><td>66.37</td><td>46.05</td><td>72.89</td><td>60.21</td><td>80.38</td><td>48.98</td><td>71.02</td><td>46.69</td><td>67.19</td><td>58.16</td></tr><tr><td>Log Normal ENT</td><td>63.23</td><td>62.78</td><td>73.26</td><td>60.99</td><td>80.44</td><td>45.10</td><td>57.12</td><td>44.92</td><td>65.61</td><td>58.56</td></tr><tr><td>Trunc Normal Mean</td><td>60.00</td><td>63.35</td><td>72.08</td><td>65.62</td><td>80.54</td><td>42.98</td><td>44.44</td><td>44.15</td><td>61.60</td><td>59.45</td></tr><tr><td>Trunc Normal Std</td><td>59.52</td><td>63.74</td><td>71.58</td><td>65.58</td><td>80.54</td><td>42.76</td><td>43.45</td><td>43.98</td><td>62.07</td><td>59.81</td></tr><tr><td>Trunc Normal Ent</td><td>59.79</td><td>63.48</td><td>71.77</td><td>65.68</td><td>80.59</td><td>43.04</td><td>43.80</td><td>43.89</td><td>61.79 60.69</td><td>59.89 57.98</td></tr><tr><td>Best Worst</td><td>66.37 59.52</td><td>63.78 46.05</td><td>73.29 70.89</td><td>65.68 60.21</td><td>80.65 78.77</td><td>42.76 48.98</td><td>43.45 71.02</td><td>43.89 46.69</td></table>",
1672
+ "bbox": [
1673
+ 173,
1674
+ 228,
1675
+ 825,
1676
+ 748
1677
+ ],
1678
+ "page_idx": 19
1679
+ },
1680
+ {
1681
+ "type": "text",
1682
+ "text": "A.6 COMBINED KAR AND ROAR SCORES WITH MORE DETAIL ",
1683
+ "bbox": [
1684
+ 174,
1685
+ 103,
1686
+ 622,
1687
+ 117
1688
+ ],
1689
+ "page_idx": 20
1690
+ },
1691
+ {
1692
+ "type": "text",
1693
+ "text": "This subsection shows the raw scores for each ROAR and KAR mask. We also added the nonSmoothGrad methods so we can see how much of an improvement it makes. ",
1694
+ "bbox": [
1695
+ 174,
1696
+ 128,
1697
+ 821,
1698
+ 157
1699
+ ],
1700
+ "page_idx": 20
1701
+ },
1702
+ {
1703
+ "type": "table",
1704
+ "img_path": "images/ea63d924a4fa65dcc3e8548b84f10d91c5fb5e9fea71231a3447ab90679d1180.jpg",
1705
+ "table_caption": [
1706
+ "Table 5: Combined KAR and ROAR scores for several methods. This is a more detailed version of Table 2 and Figure 5. The top six rows show several popular methods with and without Squared SmoothGrad applied to give optimal results. These are taken from (Hooker et al., 2018). Prior Layer Weights means we applied layer weights based on the prior determined accuracy of the layer saliency map. We include our top three scoring methods. The SMOE Scale method outperforms the three baseline methods on KAR. It outperforms Guided Backprop and Integrated Gradients on ROAR as well as overall. The Gradient method is best overall, but as we discussed, it is much more expensive to compute. "
1707
+ ],
1708
+ "table_footnote": [],
1709
+ "table_body": "<table><tr><td></td><td colspan=\"5\">KAR Kept Percent</td><td colspan=\"5\">ROAR Removed Percent</td></tr><tr><td>Method</td><td>10%</td><td>30%</td><td>50%</td><td>70%</td><td>90%</td><td>10%</td><td>30%</td><td>50%</td><td>70%</td><td>90%</td></tr><tr><td>Rand</td><td>63.53</td><td>67.06</td><td>69.13</td><td>71.02</td><td>72.65</td><td>72.65</td><td>71.02</td><td>69.13</td><td>67.06</td><td>63.53</td></tr><tr><td>Gradient</td><td>67.63</td><td>71.45</td><td>72.02</td><td>72.85</td><td>73.46</td><td>72.94</td><td>72.22</td><td>70.97</td><td>70.72</td><td>66.75</td></tr><tr><td>Guided Backprop</td><td>71.03</td><td>72.45</td><td>72.28</td><td>72.69</td><td>71.56</td><td>72.29</td><td>71.91</td><td>71.18</td><td>71.48</td><td>70.38</td></tr><tr><td>Integrated Grad.</td><td>70.38</td><td>72.51</td><td>72.66</td><td>72.88</td><td>73.32</td><td>73.17</td><td>72.72</td><td>72.03</td><td>71.68</td><td>68.20</td></tr><tr><td>Gradient -w- SmoothGrad Sq.</td><td>63.25</td><td>69.79</td><td>72.20</td><td>73.18</td><td>73.96</td><td>69.35</td><td>60.28</td><td>41.55</td><td>29.45</td><td>11.09</td></tr><tr><td>Guided Backprop -w- SmoothGrad Sq.</td><td>62.42</td><td>68.96</td><td>71.17</td><td>72.72</td><td>73.77</td><td>69.74</td><td>60.56</td><td>52.21</td><td>34.98</td><td>15.53</td></tr><tr><td>Integrated Grad.-w- SmoothGrad Sq.</td><td>67.55</td><td>68.96</td><td>72.24</td><td>73.09</td><td>73.80</td><td>70.76</td><td>65.71</td><td>58.34</td><td>43.71</td><td>29.41</td></tr><tr><td>SMOE Scale+ Prior Layer Weights</td><td>65.44</td><td>72.14</td><td>74.28</td><td>74.51</td><td>75.01</td><td>70.40</td><td>60.33</td><td>48.48</td><td>34.23</td><td>17.72</td></tr><tr><td>SMOE Scale+ Layer Weights [1...,5]</td><td>65.76</td><td>72.60</td><td>73.97</td><td>74.53</td><td>74.94</td><td>70.28</td><td>60.93</td><td>48.73</td><td>35.66</td><td>18.01</td></tr><tr><td>SMOE Scale + Layer Weights [1...,1]</td><td>66.13</td><td>72.28</td><td>73.72</td><td>74.52</td><td>74.97</td><td>71.28</td><td>63.58</td><td>52.85</td><td>38.74</td><td>19.72</td></tr><tr><td>Normal Std + Prior L.Weights</td><td>65.48</td><td>72.17</td><td>73.93</td><td>74.62</td><td>74.67</td><td>69.98</td><td>60.39</td><td>48.75</td><td>34.63</td><td>18.13</td></tr><tr><td>Trunc Normal Ent + Prior L.Weights</td><td>65.45</td><td>72.38</td><td>74.10</td><td>74.40</td><td>74.75</td><td>69.85</td><td>60.08</td><td>48.05</td><td>34.32</td><td>18.37</td></tr></table>",
1710
+ "bbox": [
1711
+ 173,
1712
+ 303,
1713
+ 825,
1714
+ 478
1715
+ ],
1716
+ "page_idx": 20
1717
+ },
1718
+ {
1719
+ "type": "text",
1720
+ "text": "A.7 OPERATIONS COMPUTATION",
1721
+ "text_level": 1,
1722
+ "bbox": [
1723
+ 176,
1724
+ 103,
1725
+ 415,
1726
+ 117
1727
+ ],
1728
+ "page_idx": 21
1729
+ },
1730
+ {
1731
+ "type": "table",
1732
+ "img_path": "images/327b6754a8079faaa56de9787b3101a56709aded2ef3acb7004442a8013dbcf7.jpg",
1733
+ "table_caption": [
1734
+ "Table 6: FLOPs for each layer. This is the breakdown of FLOPs for each layer. Log and Error Function are counted as one operation in this example. SMOE Ops is how many operations it takes to compute the initial saliency map using the SMOE Scale statistic. Norm Ops is the number of operations needed to normalize the saliency map. Combine Ops is the number of ops needed to upsample and combine each saliency map. "
1735
+ ],
1736
+ "table_footnote": [],
1737
+ "table_body": "<table><tr><td colspan=\"4\">Layer Dimensions</td><td colspan=\"3\">FLOPS</td></tr><tr><td>Layer</td><td>Channels</td><td>Size H</td><td>Size W</td><td> SMOE Ops</td><td>Norm Ops</td><td>Combine Ops</td></tr><tr><td>Layer 1</td><td>64</td><td>112</td><td>112</td><td>3223808</td><td>150528</td><td>225792</td></tr><tr><td>Layer 2</td><td>256</td><td>56</td><td>56</td><td>3214400</td><td>37632</td><td>338688</td></tr><tr><td>Layer 3</td><td>512</td><td>28</td><td>28</td><td>1606416</td><td>9408</td><td>338688</td></tr><tr><td>Layer 4</td><td>1024</td><td>14</td><td>14</td><td>803012</td><td>2352</td><td>338688</td></tr><tr><td>Layer 5</td><td>2048</td><td>7</td><td>7</td><td>401457</td><td>588</td><td>338688</td></tr><tr><td>Total</td><td></td><td></td><td></td><td>9249093</td><td>200508</td><td>1580544</td></tr></table>",
1738
+ "bbox": [
1739
+ 173,
1740
+ 224,
1741
+ 825,
1742
+ 383
1743
+ ],
1744
+ "page_idx": 21
1745
+ }
1746
+ ]
parse/train/ryxf9CEKDr/ryxf9CEKDr_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/ryxf9CEKDr/ryxf9CEKDr_model.json ADDED
The diff for this file is too large to render. See raw diff