ZHANGYUXUAN-zR commited on
Commit
7630f0c
·
verified ·
1 Parent(s): f7bd10a

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. parse/train/1toB0Fo9CZy/1toB0Fo9CZy_content_list.json +0 -0
  2. parse/train/1toB0Fo9CZy/1toB0Fo9CZy_model.json +0 -0
  3. parse/train/2pJZSVcSZz/2pJZSVcSZz.md +254 -0
  4. parse/train/2pJZSVcSZz/2pJZSVcSZz_content_list.json +1078 -0
  5. parse/train/ByZmGjkA-/ByZmGjkA-.md +221 -0
  6. parse/train/ByZmGjkA-/ByZmGjkA-_content_list.json +1288 -0
  7. parse/train/ByZmGjkA-/ByZmGjkA-_middle.json +0 -0
  8. parse/train/ByZmGjkA-/ByZmGjkA-_model.json +0 -0
  9. parse/train/Byj54-bAW/Byj54-bAW.md +464 -0
  10. parse/train/Byj54-bAW/Byj54-bAW_model.json +0 -0
  11. parse/train/Byx9p2EtDH/Byx9p2EtDH.md +300 -0
  12. parse/train/Byx9p2EtDH/Byx9p2EtDH_content_list.json +1620 -0
  13. parse/train/Byx9p2EtDH/Byx9p2EtDH_middle.json +0 -0
  14. parse/train/Byx9p2EtDH/Byx9p2EtDH_model.json +0 -0
  15. parse/train/Eql5b1_hTE4/Eql5b1_hTE4.md +348 -0
  16. parse/train/Eql5b1_hTE4/Eql5b1_hTE4_content_list.json +1728 -0
  17. parse/train/Eql5b1_hTE4/Eql5b1_hTE4_middle.json +0 -0
  18. parse/train/Eql5b1_hTE4/Eql5b1_hTE4_model.json +0 -0
  19. parse/train/H18uzzWAZ/H18uzzWAZ.md +330 -0
  20. parse/train/H18uzzWAZ/H18uzzWAZ_content_list.json +1759 -0
  21. parse/train/H18uzzWAZ/H18uzzWAZ_middle.json +0 -0
  22. parse/train/H18uzzWAZ/H18uzzWAZ_model.json +0 -0
  23. parse/train/H196sainb/H196sainb_content_list.json +1707 -0
  24. parse/train/H196sainb/H196sainb_middle.json +0 -0
  25. parse/train/HJeVnCEKwH/HJeVnCEKwH.md +460 -0
  26. parse/train/HJeVnCEKwH/HJeVnCEKwH_content_list.json +0 -0
  27. parse/train/HJeVnCEKwH/HJeVnCEKwH_middle.json +0 -0
  28. parse/train/HJeVnCEKwH/HJeVnCEKwH_model.json +0 -0
  29. parse/train/HJxFrs09YQ/HJxFrs09YQ.md +339 -0
  30. parse/train/HJxFrs09YQ/HJxFrs09YQ_content_list.json +1573 -0
  31. parse/train/HJxFrs09YQ/HJxFrs09YQ_middle.json +0 -0
  32. parse/train/HJxFrs09YQ/HJxFrs09YQ_model.json +0 -0
  33. parse/train/HktK4BeCZ/HktK4BeCZ.md +439 -0
  34. parse/train/HktK4BeCZ/HktK4BeCZ_content_list.json +0 -0
  35. parse/train/HktK4BeCZ/HktK4BeCZ_middle.json +0 -0
  36. parse/train/HktK4BeCZ/HktK4BeCZ_model.json +0 -0
  37. parse/train/MSXDyfli9vy/MSXDyfli9vy.md +271 -0
  38. parse/train/MSXDyfli9vy/MSXDyfli9vy_content_list.json +1394 -0
  39. parse/train/MSXDyfli9vy/MSXDyfli9vy_middle.json +0 -0
  40. parse/train/MSXDyfli9vy/MSXDyfli9vy_model.json +0 -0
  41. parse/train/NsMLjcFaO8O/NsMLjcFaO8O.md +429 -0
  42. parse/train/NsMLjcFaO8O/NsMLjcFaO8O_content_list.json +2228 -0
  43. parse/train/NsMLjcFaO8O/NsMLjcFaO8O_middle.json +0 -0
  44. parse/train/NsMLjcFaO8O/NsMLjcFaO8O_model.json +0 -0
  45. parse/train/OqtLIabPTit/OqtLIabPTit.md +328 -0
  46. parse/train/OqtLIabPTit/OqtLIabPTit_content_list.json +1732 -0
  47. parse/train/OqtLIabPTit/OqtLIabPTit_middle.json +0 -0
  48. parse/train/OqtLIabPTit/OqtLIabPTit_model.json +0 -0
  49. parse/train/QWIvzSQaX5/QWIvzSQaX5.md +256 -0
  50. parse/train/QWIvzSQaX5/QWIvzSQaX5_content_list.json +1159 -0
parse/train/1toB0Fo9CZy/1toB0Fo9CZy_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/1toB0Fo9CZy/1toB0Fo9CZy_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/2pJZSVcSZz/2pJZSVcSZz.md ADDED
@@ -0,0 +1,254 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # One Loss for All: Deep Hashing with a Single Cosine Similarity based Learning Objective
2
+
3
+ Jiun Tian Hoe1∗ Kam Woh Ng2,3∗ Tianyu Zhang4
4
+ Chee Seng Chan1† Yi-Zhe Song2,3 Tao Xiang2,3
5
+
6
+ 1CISiP, Universiti Malaya, Malaysia 2CVSSP, University of Surrey, U.K. 3iFlyTek-Surrey Joint Research Centre on Artificial Intelligence 4Geek+, China
7
+
8
+ # Abstract
9
+
10
+ A deep hashing model typically has two main learning objectives: to make the learned binary hash codes discriminative and to minimize a quantization error. With further constraints such as bit balance and code orthogonality, it is not uncommon for existing models to employ a large number $( > 4 )$ of losses. This leads to difficulties in model training and subsequently impedes their effectiveness. In this work, we propose a novel deep hashing model with only a single learning objective. Specifically, we show that maximizing the cosine similarity between the continuous codes and their corresponding binary orthogonal codes can ensure both hash code discriminativeness and quantization error minimization. Further, with this learning objective, code balancing can be achieved by simply using a Batch Normalization (BN) layer and multi-label classification is also straightforward with label smoothing. The result is an one-loss deep hashing model that removes all the hassles of tuning the weights of various losses. Importantly, extensive experiments show that our model is highly effective, outperforming the state-of-the-art multi-loss hashing models on three large-scale instance retrieval benchmarks, often by significant margins. Code is available at https://github.com/kamwoh/orthohash
11
+
12
+ # 1 Introduction
13
+
14
+ A key building block of a real-world large-scale image retrieval system is hashing. The objective of image hashing is to represent the content of an image using a binary code for efficient storage and accurate retrieval. Recently, deep hashing methods [48, 23] have shown great improvements over conventional hashing methods [46, 15, 16, 22, 36, 37, 19]. Furthermore, deep hashing methods can be grouped by how the similarity of the learned hashing codes are measured, namely pointwise [49, 54, 40, 12, 50], pairwise [25, 23, 5, 4], triplet-wise [45, 32], or listwise [52]. Among them, pointwise methods have a $O ( N )$ computational complexity, whilst the complexity of the others are of at least $O ( N ^ { 2 } )$ for $N$ data points. This means that for large-scale problems, only the pointwise methods are tractable [49]. They are thus the focus of most recent studies.
15
+
16
+ A deep hashing neural network naturally has multiple learning objectives. Specifically, given an image input, the network outputs a continuous code (feature vector) which is then converted into a binary hash code using a quantization layer (usually a sign function). There are thus two main objectives. First, the final model output, i.e., the binary codes must be discriminative, meaning the intra-class hamming distances are small, while the inter-class ones are big. Second, a quantization error minimization objective is needed to regularize the continuous codes. But the learning is constrained by the vanishing gradient problem caused by the quantization layer. Although the problem can be avoided by deploying some relaxation schemes [5, 23, 25], these schemes often produce sub-optimal hash codes due to the introduction of quantization error (see Figure 1). Hence, most recently deep hashing methods [41, 25, 4, 53, 50] has an explicit quantization error minimization learning objective.
17
+
18
+ ![](images/3427e26a0fb46168de2a13206771494795f30ac4917a0262c9e3eb106e11b757.jpg)
19
+ Figure 1: We train a simple CNN model on CIFAR10 with only first 4 classes and 2-bits. The continuous codes v are visualized before sgn. (Left) The model is trained with cross entropy (CE) only. Although it can separate the 4 classes in Euclidean space, the output is not bounded and thus indicating high quantization error and sub-optimal in the Hamming space. (Middle) By appending a batch normalization (BN) layer after v, the hash codes are now balanced. (Right) Now the model (proposed) is trained to maximize the cosine similarity between v and its corresponding binary target o. The black arrows are the binary orthogonal target, denoted as o for each class. It can be seen that the continuous codes exhibit lower intra-class variance and quantization error as compared with the $\mathbf { C E + B N }$ models (middle).
20
+
21
+ Having these two main objectives/losses are still not enough. In particular, to ensure the quality of hash codes, many other losses are employed by existing methods. These include bit balance loss [53, 49, 40], weights constraints to maximize Hamming distance [54], code orthogonality [31, 32]. Further, losses are designed to address the vanishing gradient problem caused by the sign function used to obtain binary codes from the continuous ones [41, 40, 27]. As a result, the state-of-the-art hashing models typically have a large number $( > 4 )$ losses. This means difficulties in optimization which in turn hamper their effectiveness.
22
+
23
+ In this work, for the first time, a deep hashing model with a single loss is developed which removes any needs for loss weight tuning and is thus much easier to optimize. As mentioned earlier, a deep hashing model needs to be trained with at least two objectives, namely binary code discriminativenss and quantization error minimization. So how could one use one loss only? The answer lies in the fact that the two objectives are closely related and can be unified into one. More concretely, we show that both objectives can be satisfied by maximizing the cosine similarity between the continuous codes and their corresponding binary orthogonal target, which can be formulated as a cross-entropy (CE) loss. Our model, dubbed OrthoHash has one loss only which maximizes the cosine similarity between the $\mathrm { L _ { 2 } }$ -normalized continuous codes and binary orthogonal target to maximize inter-class Hamming distance and minimize quantization error simultaneously. We show that this single unifying loss has a number of additional benefits. First, we can leverage the benefit of margin [42, 10] to further improve the intra-class variance. Second, since conventional CE loss only works for single-label classification, we can easily leverage Label Smoothing [38] to modify the CE loss to tackle multilabels classification. Finally, we show that code balancing can now be enforced by introducing a batch normalization [17] (BN) layer rather than requiring a different loss. Extensive experiment results suggest that on conventional category-level retrieval tasks using ImageNet100, NUS-WIDE and MS-COCO, our model is on par with the SOTA. More importantly, on the large-scale instance-level retrieval tasks, our method achieves the new SOTA, beating the best results obtained so far on GLDv2, $\mathcal { R } \mathrm { O x f }$ and $\mathcal { R }$ Paris by $0 . 6 \%$ , $9 . 1 \%$ and $1 7 . 1 \%$ respectively.
24
+
25
+ # 2 Related Work
26
+
27
+ Hashing methods. Conventional hashing methods can be categorized into many streams. Dataindependent methods such as Locality-sensitive Hashing (LsH) [16, 13], and its kernelized version (KLsH) [22] have contributed many of the fundamental concepts for hashing such as the requirement of code balance, uncorrelated bit, and similarity preserving. In contrast, data-dependent methods [46, 21, 15, 19, 36, 37] aim to learn hash codes that are more compact yet more dataset-specific [7]. Recently, deep learning based hashing methods [25, 48, 23] dominated the hashing research due to the superior learning ability of DNN. Various learning objectives are developed to learn hash codes using a training dataset. The objective functions include i) task learning objective which can be further categorized into pointwise [49, 54, 40, 41, 12, 50], pairwise [5, 25, 23], triplet-wise [45, 32], listwise [52] and unsupervised [27, 14]; ii) quantization error minimization such as the loss designed to minimize the $p$ -norm (usually $p = 2$ ) between continuous codes and hash codes; iii) code balancing [27, 40]. We refer readers to learning to hashing surveys [44, 43, 11] for more detailed review.
28
+
29
+ Binary optimization. Hashing is a NP-hard binary optimization problem [46], and is prone to the vanishing gradient problem due to the discrete and non-differentiable binary hash functions. Early methods solved the problem by discarding the discrete constraints (e.g., designing a penalty loss term to generate feature as binary as possible [25, 23]; solve with continuous relaxation, i.e., to optimize in a continuous space using sigmoid or tanh for approximation [5]). Some methods also utilized coordinate descent method in the training [28, 24]. Nevertheless, these methods have increased the complexity of learning due to need for tuning of hyper-parameters balancing different learning objectives.
30
+
31
+ Bypassing vanishing gradient. Greedy Hash [41] designed a new coding layer which uses the sign function in the forward pass to generate binary codes, and gradients are backpropagated using straight-through estimator [1] during optimization. [27] designed a parameter-free coding layer – Bi-half, to maximize the bit capacity by shifting the network output by median (each bit can have a $50 \%$ chance of being $+ 1$ or $^ { - 1 }$ ) . These methods typically requires the modification of computational graphs, in the sense that the original graph is no longer end-to-end trained, hence further complicates the original optimization objective. Ours on the other hand incorporates a neat one-loss design that removes all such complications.
32
+
33
+ Learning hash codes with pre-defined target. Deep Polarized Network (DPN) [12] used a random assignment scheme to generate target vectors with maximal inter-class distance, then optimized with hinge-like polarized loss. Central Similarity Quantization (CSQ) [50] uses Hadamard matrix as "hash centers", then optimized with binary cross entropy. Both methods have similar overall objective, i.e., the continuous codes are learned to be as similar as the target vectors (or "hash centers"). Our model also employs a hash target, but uniquely it is used in a single cosine similarity based single objective.
34
+
35
+ Cosine similarity. According to [6], which is a theoretical analysis for Locality-sensitive Hashing (LsH) [16, 13], if two samples have high angular similarity, then we have high probability of obtaining the same hash codes as well. Hence, while most works focus on hashing images with various constraints, we reformulate the problem of deep hashing in the lens of cosine similarity. By following the same principle, a similar work is done by [2] which described the hashing problem under pairwise constraint while our work describes the problem under pointwise constraint. As inspired by [51, 14] which utilize cosine similarity to find closest approximate binary or ternary representation, we also interpret the quantization error in terms of cosine similarity. Moreover, deep hypersphere embedding learning methods (e.g., SphereFace [35], CosFace [42] and ArcFace [10]) imposed discriminative constraints on a hypersphere manifold and proposed to improve decision boundary by cosine or angular margin. Inspired by them, we also leverage the benefit of margin to improve intra-class variance.
36
+
37
+ # 3 OrthoHash: One Loss for All
38
+
39
+ In Section 3.1, we reformulate the problem of deep hashing in the lens of cosine similarity, i.e., interpreting both Hamming distance retrieval and quantization error in cosine similarity. In Section 3.2, we propose to maximize cosine similarity between the continuous codes and binary orthogonal target under a single classification objective (for both single-label and multi-labels classification).
40
+
41
+ ![](images/316b1137194940055fb92c317d707ba387dc351607295a30f7b9214faf62a6b5.jpg)
42
+ Figure 2: We first obtain continuous codes ${ \bf V } = \{ { \bf v } _ { n } \} _ { n = 1 } ^ { N } \in \mathbb { R } ^ { N \times K }$ from our backbone network. It is then passed through a batch normalization (BN) layer to obtain zero-mean continuous codes. Next, we compute scaled cosine similarity between the continuous codes and their binary orthogonal targets $\mathbf { O } = \{ \overset { \cdot } { \mathbf { o } _ { i } } \} _ { i = 1 } ^ { C } \in \{ - 1 , + 1 \} ^ { C \times K }$ where $\mathbf { C } =$ number of classes. Finally, the scaled cosine similarity will act as a classification output and we minimize a cross entropy loss. See Section 3.2 for details.
43
+
44
+ Finally, we describe why adding a batch normalization layer after the continuous codes will achieve code balance in Section 3.2.3. Our method is illustrated in Figure 2.
45
+
46
+ Let us first formally define the deep hashing problem. Let $d$ -dimensional data, ${ \mathbf X } = \{ { \mathbf x } _ { n } \} _ { n = 1 } ^ { N } \in$ where is the number of training samples, and $\mathbf { Y } ~ = ~ \{ \mathbf { y } _ { n } \} _ { n = 1 } ^ { N } ~ \in ~ \{ 0 , 1 \} ^ { N \times C }$ as onehot training labels of $C$ classes (for multi-labels, $\mathbf { y } _ { n } \triangleq \mathbf { y } _ { n i } = [ y _ { n 1 } , \cdot \cdot \cdot , y _ { n C } ]$ , whose $y _ { n i } = 1$ if any $i$ -th class are assigned to the $n$ -th sample and 0 otherwise). Our objective is to learn a set of $K$ -bit binary codes $\mathbf { B } = \{ \mathbf { b } _ { n } \} _ { n = 1 } ^ { N } \in \mathbf { \hat { \Gamma } } [ - 1 , 1 \} ^ { N \times K }$ for each training point ${ \bf x } _ { n }$ , which is converted from the continuous codes $\mathbf { v } _ { n }$ through a sgn function. v can be computed by a latent layer $\mathcal { H } ( \mathbf { x } ) = \mathbf { W } \boldsymbol { \phi } ( \mathbf { x } ) \in \mathbb { R } ^ { K } , \boldsymbol { \phi } ( \cdot )$ is a deep neural network (backbone network) to compute $q$ -dimensional nonlinear feature representation $\mathbf { f } = \phi ( \mathbf { x } ) \in \mathbb { R } ^ { q }$ , $\mathbf { W } \in \mathbb { R } ^ { K \times q }$ is the weights of the latent layer and $s g n ( \mathbf { v } _ { n k } ) = 1$ if $k$ -th bit of ${ \bf v } _ { n } \geq 0$ and $- 1$ otherwise. In our work, binary orthogonal targets $\mathbf { o } _ { y _ { n } } \in [ \mathbf { o } _ { 1 } , \therefore \cdot \cdot \mathbf { \tau } , \mathbf { o } _ { C } ] ^ { \intercal } = \mathbf { O } \in \{ - 1 , + 1 \} ^ { C \times K }$ , where $\mathbf { o } _ { i }$ denotes a column vector belongs to $i$ -th class. Ideally, for any two rows, $1 \leq i , j \leq C$ , $\mathbf { o } _ { i }$ and $\mathbf { o } _ { j }$ are orthogonal to each other. We use $a$ or $A$ to represent scalar, $\mathbf { a }$ to represent column vector, and $\mathbf { A }$ to represent matrix. Both $i$ and $j$ are often used as index.
47
+
48
+ # 3.1 Reformulating Deep Hashing in the Lens of Cosine Similarity
49
+
50
+ Interpreting Hamming Distance as Cosine Similarity. Typically, Hamming distance can be computed using logical xor operation between binary codes $\mathbf { b } _ { i }$ and ${ \bf b } _ { j }$ , followed by popcount. If $\mathbf { b }$ is represented by $\{ - 1 , + 1 \} ^ { K }$ , then Hamming distance can also be computed mathematically as:
51
+
52
+ $$
53
+ D ( \mathbf { b } _ { i } , \mathbf { b } _ { j } ) = \frac { K - \mathbf { b } _ { i } ^ { \intercal } \mathbf { b } _ { j } } { 2 } .
54
+ $$
55
+
56
+ Geometrically, the dot product $\mathbf { b } _ { i } ^ { \mathsf { T } } \mathbf { b } _ { j }$ can be interpreted as:
57
+
58
+ $$
59
+ \mathbf { b } _ { i } ^ { \mathsf { T } } \mathbf { b } _ { j } = \| \mathbf { b } _ { i } \| \| \mathbf { b } _ { j } \| \cos \theta _ { i j } ,
60
+ $$
61
+
62
+ in which $\left\| \cdot \right\|$ is the Euclidean norm and √ $\theta _ { i j }$ is the angle between $\mathbf { b } _ { i }$ and $\mathbf { b } _ { j }$ . As both $\left\| \mathbf { b } _ { i } \right\|$ and $\| \mathbf { b } _ { j } \|$ are constant (i.e., $\| \mathbf { b } \| = { \sqrt { K } } )$ , equation (1) can then be viewed as:
63
+
64
+ $$
65
+ D ( \mathbf { b } _ { i } , \mathbf { b } _ { j } ) = \frac { K - K \cos \theta _ { i j } } { 2 } = \frac { K } { 2 } ( 1 - \cos \theta _ { i j } ) .
66
+ $$
67
+
68
+ Since $\textstyle { \frac { K } { 2 } }$ is a constant, we can see that the retrieval is now will be only based on the angle between two hash codes i.e., similar hash codes will have a similar direction, yield a lower angle between them, and hence a lower hamming distance.
69
+
70
+ Interpreting Quantization Error as Cosine Similarity. Typically, converting continuous codes v to binary codes b will lead to information loss, which is also known as quantization error. Therefore,
71
+
72
+ most of the existing hashing methods have included quantization error minimization in their learning objective such as $\mathrm { L _ { 1 } }$ -norm, $\mathrm { L _ { 2 } }$ -norm and p-norm (e.g., $p = 3$ in Greedy Hash [41]), usually in the form of:
73
+
74
+ $$
75
+ \operatorname* { m i n } L + \lambda Q ,
76
+ $$
77
+
78
+ where $L$ is the supervised learning objective such as Cross Entropy and $Q$ is the quantization error between $\mathbf { v }$ and b. However, it is difficult to control the scale $\lambda$ , i.e. a low $\lambda$ might not be effective, while a high $\lambda$ might lead to underfitting. As a result of this, careful tuning is needed and yet the tuned $\lambda$ may varies in different tasks. To overcome this cumbersome practise, let us first interpret quantization error geometrically:
79
+
80
+ $$
81
+ \operatorname* { m i n } { \left\| \mathbf { v } - \mathbf { b } \right\| ^ { 2 } } \ \mathrm { s . t . } \ \mathbf { b } \in \{ - 1 , 1 \} ^ { K } ,
82
+ $$
83
+
84
+ in which $\mathbf { v }$ is in continuous space, $\mathbf { b } = s g n ( \mathbf { v } )$ is in binary space. We expand equation (5) to get:
85
+
86
+ $$
87
+ \left\| \mathbf { v } - \mathbf { b } \right\| ^ { 2 } = \left\| \mathbf { v } \right\| ^ { 2 } + \left\| \mathbf { b } \right\| ^ { 2 } - 2 \left\| \mathbf { v } \right\| \left\| \mathbf { b } \right\| \cos { \theta _ { v b } } .
88
+ $$
89
+
90
+ According to equation (3), retrieval is only based on the similarity in the direction of two hash codes. Hence, we can ignore the magnitude of $\mathbf { v }$ by normalizing it to have the same norm with $\mathbf { b }$ , i.e., $\| \mathbf { v } \| = { \sqrt { K } }$ and interpret the quantization error as to only the angle $\theta _ { v b }$ between $\mathbf { v }$ and $\mathbf { b } ^ { 3 }$ :
91
+
92
+ $$
93
+ \left\| \mathbf { v } - \mathbf { b } \right\| ^ { 2 } = 2 K - 2 K \cos { \theta _ { v b } } = 2 K ( 1 - \cos { \theta _ { v b } } ) .
94
+ $$
95
+
96
+ Since $2 K$ is a constant, we can then conclude that maximize the cosine similarity between $\mathbf { v }$ and b will lead to a low quantization error, leading to a better approximation in the hash codes.
97
+
98
+ # 3.2 Discriminative Hash Codes with Orthogonal Target
99
+
100
+ According to [6], the probability of two samples $\mathbf { x } _ { i }$ and $\mathbf { x } _ { j }$ to have the same hash code under a family $\mathcal { F }$ of hash functions using random hyperplane technique can be described as $\mathbf { P r } _ { h \in \mathcal { F } } [ h ( \mathbf { x } _ { i } ) =$ $\begin{array} { r } { h ( \mathbf { x } _ { j } ) ] = 1 - \frac { \theta _ { i j } } { \pi } } \end{array}$ , where $h ( \cdot )$ is a hash function and $\theta _ { i j }$ is the angle between $\mathbf { x } _ { i }$ and $\mathbf { x } _ { j }$ . Therefore, based on the same principle, it can be derived that if the two continuous codes $\mathbf { v } _ { i }$ and $\mathbf { v } _ { j }$ from latent layer $\mathcal { H }$ have high cosine similarity, then the hash codes $\mathbf { b } _ { i }$ and $\mathbf { b } _ { j }$ should also have high chance of obtaining the same hash codes. Beside that, as described in Section 3.1, cosine similarity can also be used to justify the retrieval performance using both the hash codes and quantization error between the continuous codes and hash codes. Given these two circumstances, we therefore propose to maximize the cosine similarity of the continuous codes $\mathbf { v } _ { n }$ and its corresponding binary orthogonal target, $\mathbf { o } _ { y _ { n } } \in [ \mathbf { o } _ { 1 } , \therefore \cdot \cdot , \mathbf { o } _ { C } ] ^ { \top } = \mathbf { O } \in \{ - 1 , + 1 \} ^ { C \times K }$ , where this can be achieved by maximizing the posterior probability of the ground-truth class using softmax (cross-entropy) loss:
101
+
102
+ $$
103
+ L = - \frac { 1 } { N } \sum _ { n = 1 } ^ { N } \log \frac { \exp { ( \mathbf { o } _ { y _ { n } } ^ { \intercal } \mathbf { v } _ { n } ) } } { \sum _ { i = 1 } ^ { C } \exp { ( \mathbf { o } _ { i } ^ { \intercal } \mathbf { v } _ { n } ) } } ,
104
+ $$
105
+
106
+ where $\mathbf { v } _ { n }$ denotes the deep continuous codes of the $n$ -th samples from DNN $\phi$ and both $\mathbf { o } _ { y _ { n } }$ , $\mathbf { o } _ { i } \in \mathbf { O }$ denote the ground-truth class $y _ { n }$ and the $i$ -th class of the binary orthogonal targets. For simplicity, we omit the bias term from equation (8). It follows that under the framework of deep hypersphere embedding [35, 42, 10], we can transform the logit $\mathbf { o } _ { i } ^ { \mathsf { T } } \mathbf { v } _ { n } = \left\| \mathbf { o } _ { i } \right\| \left\| \mathbf { v } _ { n } \right\| \cos \theta _ { n i }$ where $\theta _ { n i }$ is the angle between the continuous codes $\mathbf { v } _ { n }$ and the binary orthogonal target √ $\mathbf { o } _ { i }$ . Next, we perform $\mathrm { L _ { 2 } }$ normalization on $\mathbf { v } _ { n }$ so that $\left\| \mathbf { v } _ { n } \right\| = 1$ , and $\| \mathbf { o } _ { i } \| = { \dot { \sqrt { K } } }$ since it is in binary form. Now our loss function can be rewritten as:
107
+
108
+ $$
109
+ L = - \frac { 1 } { N } \sum _ { n = 1 } ^ { N } \log \frac { \exp { ( \sqrt { K } \cos \theta _ { y _ { n } } ) } } { \exp { ( \sqrt { K } \cos \theta _ { y _ { n } } ) } + \sum _ { i = 1 , i \neq y _ { n } } ^ { C } \exp { ( \sqrt { K } \cos \theta _ { n i } ) } } .
110
+ $$
111
+
112
+ As such, instead of introducing the quantization error minimization in the learning objective (equation (4)), our proposed method unifies both the learning objective and quantization error minimization together under a single classification objective as shown in the loss function (equation (9)). Furthermore, since the binary orthogonal targets attain maximal inter-class Hamming distance and that our loss function also aims to minimize the intra-class variance, we can leverage on cosine or angular margin4 that have been proven to be beneficial in CosFace [42] and ArcFace [10], to further improve the minimization of intra-class variance (we set $m = 0 . 2$ in all of our experiments unless mentioned explicitly). With this, our method is able to perform end-to-end training to learn highly discriminative hash codes without both the sophisticated training objectives and computational graph modifications.
113
+
114
+ # 3.2.1 Binary Orthogonal Target
115
+
116
+ The maximization of the expectation of inter-class Hamming distance will help to increase the recall rate during retrieval as there will be lesser chance to retrieve incorrect items, because the aim is to retrieve more similar items (intra-class), and avoid to retrieve incorrect items (interclass). That is, given a K-bit Hamming space $\mathbb { H } ^ { K } \in \{ - 1 , + 1 \} ^ { K }$ , for any two binary vectors $\mathbf { b } _ { i } , \mathbf { b } _ { j }$ sampled with probability $p$ for $+ 1$ on each bit, the expectation of Hamming distance is $\mathbb { E } [ D ( { \mathbf b } _ { i } , { \mathbf b } _ { j } ) ] = 2 \cdot K \cdot p ( 1 - p )$ and it achieves the upper bound of $\begin{array} { l } { { \frac { K } { 2 } } } \end{array}$ with $p = 0 . 5$ [12, 50] (See Appendix B in supplementary material for details.). Hence, hash codes $\mathbf { b } _ { i }$ and $\mathbf { b } _ { j }$ must be orthogonal so that we can get $\begin{array} { r } { D ( { \mathbf b } _ { i } , { \mathbf b } _ { j } ) = \frac { K } { 2 } } \end{array}$ in equation (3).
117
+
118
+ Orthogonal Targets Generation. Hadamard matrix naturally contains orthogonal rows and columns, which guarantees the maximum Hamming distance of $\textstyle { \frac { K } { 2 } }$ between any two rows [50, 29]. However, it is restricted when $K$ is not 1, 2, or a multiple of 4. Hence, a simple solution is to sample the targets from $B e r n ( 0 . 5 )$ which every sampled bit has the probability $p = 0 . 5$ to be $+ 1$ . The result is the expectation of Hamming distance between any two rows equals to $\frac { K } { 2 }$ which indicates orthogonality. One limitation is that if , the nearest rows in the sampled targets will be identical, which causes performance degrade. Hence, a simple solution is to increase $K$ . In supplementary material (Appendix D.3), we show that the two nearest rows has Hamming distance closed to $\frac { \tilde { K } } { 2 }$ as $K$ is higher. We also generate the targets with the objective of maximum inter-class Hamming distance heuristically, it indeed improved the performance at lower $K$ , but the improvement in higher $K$ are negligible.
119
+
120
+ # 3.2.2 Multi-labels Hash Codes Learning
121
+
122
+ As conventional cross-entropy loss only works for single-label classification, we leverage the concept of Label Smoothing [38] to generate labels for multi-labels classification. A standard cross entropy (CE) loss is mathematically formulated as:
123
+
124
+ $$
125
+ L = - \frac { 1 } { N } \sum _ { n = 1 } ^ { N } \sum _ { i = 1 } ^ { C } y _ { n i } \log ( p ( y _ { n i } | \mathbf { x } _ { n } ) ) ,
126
+ $$
127
+
128
+ in which $y _ { n i } = 1$ if $i$ -th class is assigned to the $n$ -th sample in a single label multiclass classification task. In [38], the target label becomes soft-target such that non-target class has a small "smoothing" value to regularize overconfident samples and we leverage this concept for multi-labels. To adopt CE for multi labels classification, we set $y _ { n i } = z > 0$ if any $i$ -th class are assigned to $n$ -th sample. The constant $z$ is determined such that $\textstyle \sum _ { i = 1 } ^ { C } y _ { n i } = 1$ , e.g., $z = 0 . 5$ and ${ \bf y } _ { n } = [ 0 , 0 . 5 , 0 , 0 . 5 ]$ when the $2 ^ { \mathrm { n d } }$ and the $4 ^ { \mathrm { t h } }$ classes are the assigned classes. Our motivation is that the model should maximize the probabilities of the target classes, which can optimize the hash codes to be as similar as the binary targets from assigned classes5. In our experiments, we found out empirically that replacing softmax with sigmoid for multi-labels are not effective6. A likely explanation is that softmax will intrinsically suppress the lower activated class unit (i.e., scaled cosine similarity) with lower probability and increase the highly activated class unit with higher probability, while sigmoid will treat each class unit as an individual unit. As a result, maximizing probability of a class might not lead to minimizing the probability of other classes. Therefore, we propose to leverage the concept of Label Smoothing to generate labels so that we can use cross entropy loss for learning.
129
+
130
+ # 3.2.3 Code Balance
131
+
132
+ Although binary orthogonal target helps in code balancing, since every bit has $50 \%$ of chance being $+ 1$ or $- 1$ , there is no guarantee that the model will learn to output a balanced code. Therefore, we propose to add a batch normalization (BN) layer after the continuous codes $v$ to ensure the code balance. If $\textstyle \sum _ { n } \mathbf { v } _ { n k } = 0$ , then we can see that $\dot { \sum _ { n } } \mathbf { b } _ { n k } = 0$ for the $k$ -th bit. Because the distribution of $\mathbf { v }$ has been normalized to have zero-mean and variance of 1, with $\mathbf { b } = s g n ( \mathbf { v } )$ , the hash codes b will follow a uniform binary distribution with $50 \%$ chances on both $+ 1$ and $- 1$ . Empirically, we found that it improves the retrieval performance on ImageNet100 by about $1 7 - 2 0 \%$ as compared with a model with normal cross entropy loss (see Table 1). Note that the Bi-half method [27] shifts the continuous codes by their median, followed by converting the continuous codes to binary codes for optimization. However, it will have to modify the computational graph in order to have a proxy derivative to the solve vanishing gradient problem. In contrast, appending BN layer will not modify the computational graph, therefore enabling straightforward end-to-end training.
133
+
134
+ # 4 Experiment
135
+
136
+ Training Setup. We select 7 different deep hashing methods for comparison (5 point-wise, 1 pairwise and 1 triplet-wise). For a fair comparison, we use the same learning rate of 0.0001, Adam optimizer [18] and 100 epochs for all methods. For SDH-C [31], we have modified it from pair-wise objective to point-wise objective, while all penalty terms are kept (i.e., quantization loss, bit variance loss and orthogonality on projection weights).
137
+
138
+ Datasets. We follow prior works [5, 12, 41, 33, 40, 48, 23, 34] and choose ImageNet100 [9], NUSWIDE [8] and MS-COCO [30] for category-level retrieval experiments. For a more practical yet challenging large-scale instance-level retrieval task (i.e., tremendous number of classes), we evaluate on the popular GLDv2 [47], ROxf and RPar [39].
139
+
140
+ Architecture. For category-level retrieval, following the settings in [5, 41, 40, 12], we use pre-trained AlexNet [20] as the network backbone initialization. The output from last fully-connected with ReLU (4096-dimension vector) acts as input to the latent layer; various supervised deep hashing methods are then applied to generate binary codes. The image size is $2 2 4 \times 2 2 4$ . For instance-level retrieval, due to the expensive cost of training from scratch, we use pre-trained model7 (R50-DELG-GLDv2- clean) from DELG [3] to compute the 2048-dimension global descriptors. We then train a latent layer $\mathcal { H }$ to compute hash codes where inputs are the global descriptors. For GLDv2, the images input are√ $5 1 2 \times 5 1 2$ . For $\mathcal { R } \mathrm { O x f }$ and RPar, we use 3 scales $\{ \frac { 1 } { \sqrt { 2 } } , 1 , \sqrt { 2 } \}$ to produce multi-scale representations. These are subject to $\mathrm { L _ { 2 } }$ normalization, and then average-pooled to obtain a single descriptor as done by [3]. A $G L D \nu 2$ -trained latent layer is used to compute hash codes for the evaluations.
141
+
142
+ Details of training setups, datasets and architecture can be found in the supplementary material (Appendix C).
143
+
144
+ # 4.1 Results on Category-level Retrieval
145
+
146
+ For performance evaluation8, we use mean average precision $( \mathrm { m A P } @ \mathrm { R } )$ which is the mean of average precision scores of the top R retrieved items. Table 1 offers performance comparison amongst all selected hashing methods and our methods $^ +$ variants). CE denotes model trained with cross entropy only, the hash codes are computed from sign of continuous codes. $\mathbf { C E + B N }$ denotes CE model with BN layer [17] appended after the latent layer. $\mathbf { C E + }$ Bihalf denotes CE model with Bihalf9 [27] layer appended after the latent layer. OrthoCos denotes model trained with cosine margin and binary orthogonal target. OrthoCos+Bihalf denotes a variant of OrthoCos, and with Bihalf layer appended. OrthoCos+BN denotes a variant of OrthoCos, and with BN layer appended. OrthoArc $\mathbf { \Gamma } + \mathbf { B } \mathbf { N }$ denotes a variant of $\mathbf { O r t h o C o s + B N }$ , trained with angular margin.
147
+
148
+ Overall. It can be observed that both our OrthoCos+BN and OrthoArc+BN perform better than recent state-of-the-art, DPN [12] and CSQ [50]. On multi-labeled datasets (i.e., NUS-WIDE and MS
149
+
150
+ <table><tr><td rowspan="2">Methods</td><td colspan="4">ImageNet100 (mAP@ 1K)</td><td colspan="4">NUS-WIDE (mAP@5K)</td><td colspan="4">MS COCO (mAP@5K)</td></tr><tr><td>16</td><td>32</td><td>64</td><td>128</td><td>16</td><td>32</td><td>64</td><td>128</td><td>16 32</td><td></td><td>64</td><td>128</td></tr><tr><td>HashNet2 [5]</td><td>0.343</td><td>0.480</td><td>0.573</td><td>0.612</td><td>0.814</td><td>0.831</td><td>0.842</td><td>0.847</td><td>0.663</td><td>0.693</td><td>0.713</td><td>0.727</td></tr><tr><td>DTSH³ [45]</td><td>0.442</td><td>0.528</td><td>0.581</td><td>0.612</td><td>0.816</td><td>0.836</td><td>0.851</td><td>0.862</td><td>0.699</td><td>0.732</td><td>0.753</td><td>0.770</td></tr><tr><td>SDH-C1 [31]</td><td>0.584</td><td>0.649</td><td>0.664</td><td>0.662</td><td>0.763</td><td>0.792</td><td>0.816</td><td>0.832</td><td>0.671</td><td>0.710</td><td>0.733</td><td>0.742</td></tr><tr><td>GreedyHash1 [41]</td><td>0.570</td><td>0.639</td><td>0.659</td><td>0.659</td><td>0.771</td><td>0.797</td><td>0.815</td><td>0.832</td><td>0.677</td><td>0.722</td><td>0.740</td><td>0.746</td></tr><tr><td>JMLH1 [40]</td><td>0.517</td><td>0.621</td><td>0.662</td><td>0.678</td><td>0.791</td><td>0.825</td><td>0.836</td><td>0.843</td><td>0.689</td><td>0.733</td><td>0.758</td><td>0.768</td></tr><tr><td>DPN1 [12]</td><td>0.592</td><td>0.670</td><td>0.703</td><td>0.714</td><td>0.783</td><td>0.818</td><td>0.838</td><td>0.842</td><td>0.668</td><td>0.721</td><td>0.752</td><td>0.773</td></tr><tr><td>CSQ1 [50]</td><td>0.586</td><td>0.666</td><td>0.693</td><td>0.700</td><td>0.797</td><td>0.824</td><td>0.835</td><td>0.839</td><td>0.693</td><td>0.762</td><td>0.781</td><td>0.789</td></tr><tr><td>CE1</td><td>0.350</td><td>0.379</td><td>0.406</td><td>0.445</td><td>0.744</td><td>0.770</td><td>0.796</td><td>0.813</td><td>0.602</td><td>0.639</td><td>0.658</td><td>0.676</td></tr><tr><td>CE+BN1</td><td>0.533</td><td>0.586</td><td>0.612</td><td>0.617</td><td>0.801</td><td>0.814</td><td>0.823</td><td>0.825</td><td>0.697</td><td>0.721</td><td>0.729</td><td>0.726</td></tr><tr><td>CE+Bihalf1 [27]</td><td>0.541</td><td>0.630</td><td>0.661</td><td>0.662</td><td>0.802</td><td>0.825</td><td>0.836</td><td>0.839</td><td>0.674</td><td>0.728</td><td>0.755</td><td>0.757</td></tr><tr><td>OrthoCos1</td><td>0.583</td><td>0.660</td><td>0.702</td><td>0.714</td><td>0.795</td><td>0.826</td><td>0.842</td><td>0.851</td><td>0.690</td><td>0.745</td><td>0.772</td><td>0.784</td></tr><tr><td>OrthoCos+Bihalfl</td><td>0.562</td><td>0.656</td><td>0.698</td><td>0.711</td><td>0.804</td><td>0.834</td><td>0.846</td><td>0.852</td><td>0.690</td><td>0.746</td><td>0.775</td><td>0.782</td></tr><tr><td>OrthoCos+BN1</td><td>0.606</td><td>0.679</td><td>0.711</td><td>0.717</td><td>0.804</td><td>0.836</td><td>0.850</td><td>0.856</td><td>0.709</td><td>0.762</td><td>0.787</td><td>0.797</td></tr><tr><td>OrthoArc+BN1</td><td>0.614</td><td>0.681</td><td>0.709</td><td>0.714</td><td>0.806</td><td>0.833</td><td>0.850</td><td>0.856</td><td>0.708</td><td>0.762</td><td>0.785</td><td>0.794</td></tr></table>
151
+
152
+ Table 1: Performance of different methods for 4 different bits on different benchmark datasets. All results are run by us. The superscript 1, 2 and 3 indicate point-wise, pair-wise and triplet-wise method respectively. Bold values indicate best performance in the column.
153
+
154
+ <table><tr><td rowspan="2">Methods</td><td colspan="2">GLDv2 (mAP@ 100)</td><td colspan="2">ROxf-Hard (mAP@ all)</td><td colspan="3">RParis-Hard (mAP@ all)</td></tr><tr><td>128 512</td><td>2048</td><td>128 512</td><td>2048</td><td>128</td><td>512</td><td>2048</td></tr><tr><td>HashNet² [5]</td><td>0.018 0.069</td><td>0.111</td><td>0.034 0.058</td><td>0.307</td><td>0.133</td><td>0.190</td><td>0.490</td></tr><tr><td>DPN1 [12]</td><td>0.021 0.089</td><td>0.133</td><td>0.053 0.184</td><td>0.303</td><td>0.224</td><td>0.399</td><td>0.562</td></tr><tr><td>GreedyHash1 [41]</td><td>0.029 0.108</td><td>0.144</td><td>0.032 0.251</td><td>0.373</td><td>0.128</td><td>0.531</td><td>0.652</td></tr><tr><td>CSQ1 [50]</td><td>0.023 0.086</td><td>0.114</td><td>0.093 0.284</td><td>0.398</td><td>0.245</td><td>0.541</td><td>0.649</td></tr><tr><td>OrthoCos+BN1</td><td>0.035 0.111</td><td>0.147</td><td>0.184 0.359</td><td>0.447</td><td>0.416</td><td>0.608</td><td>0.669</td></tr><tr><td>R50-DELG-H</td><td>- 1</td><td>0.125*</td><td>-</td><td>0.471</td><td>-</td><td>1</td><td>0.682</td></tr><tr><td>R50-DELG-C</td><td>=</td><td>0.138*</td><td>1</td><td>1</td><td>0.510</td><td></td><td>0.715</td></tr></table>
155
+
156
+ Table 2: Performance of different methods for 3 different numbers of bits on different instance-level benchmark datasets. All results are run by us. The superscript 1 and 2 indicate point-wise and pair-wise method respectively. Bold values indicate best performance in the column. \* indicates using $5 1 2 \times 5 1 2$ image inputs, hence different performance as reported by DELG [3]. R50-DELG-H denotes Hamming distance retrieval using the sign of extracted descriptors. R50-DELG-C denotes Cosine distance retrieval using the extracted descriptors.
157
+
158
+ COCO), DTSH [45] (triplet based method) performed the best with 0.851 and 0.862 with 64 and 128-bits hash codes in NUS-WIDE followed by our method (e.g., OrthoCos+BN achieves 0.850 and 0.856 in the same settings), while $\mathbf { O r t h o C o s + B N }$ and OrthoArc $\mathbf { \Gamma } + \mathbf { B } \mathbf { N }$ performed the best on MS-COCO with at most $1 \%$ improvement over previous deep hashing methods.
159
+
160
+ Code Balance. Although retrieval performance of CE models performed the worst, but by appending BN layer after the latent layer $\mathbf { \left( C E { + } B N \right) }$ , we were able to observe $5 \%$ improvement over all settings (dataset and number of bits). Bihalf [27] layer (zero-median features) has a proxy derivative to learn hash features, hence getting $0 . 1 { - } 4 . 9 \%$ improvement than $\mathbf { C E + B N }$ . This indicates that without sophisticated training objectives, code balance itself is a very important factor in improving Hamming distance based retrieval. However, OrthoCos+Bihalf does not show significant improvement over OrthoCos+BN, but is comparable with OrthoCos. We thus conclude that our method can achieve code balance without explicitly engineering the computational graph.
161
+
162
+ Cosine and Angular Margin. In our experiments, we observed that cosine margin $\left( \mathbf { O r t h o C o s + B N } \right)$ slightly outperform angular margin (OrthoArc ${ \bf \Lambda } + { \bf B } { \bf N }$ ) by about $0 . 2 \%$ on average.
163
+
164
+ # 4.2 Results on Instance-Level Retrieval
165
+
166
+ For evaluation metrics, we adapt the evaluation protocol of [3, 39]. The baseline performance of GLDv2, $\mathcal { R }$ Oxf-Hard and RPar-Hard from the pre-trained R50-DELG-GLDv2-clean are 0.138,
167
+
168
+ ![](images/926efc4a05e93ddd4c90484cd476b05afb61438db4f0abdea45446e001945449.jpg)
169
+ Figure 3: Histogram of intra-class and inter-class Hamming distances with 64-bits ImageNet100. The arrow annotation is the separability in Hamming distances, $\mathbb { E } [ D _ { i n t e r } ] - \mathbb { E } [ D _ { i n t r a } ]$ . We normalized the frequency so that sum of all bins equal to 1.
170
+
171
+ ![](images/9db1cc0ffaf6099d338a435fe92bde69b1fd3fb14135a5584488d3d74f3b11e2.jpg)
172
+ Figure 4: Analysis of retrieval performance of 64-bits ImageNet100. (a) Quantization error: $\theta _ { v b }$ . (b) Separability: $\mathbb { E } [ D _ { i n t e r } ] - \mathbb { E } [ D _ { i n t r a } ]$ . (c) Orthogonality: $\begin{array} { r l } { { \bf \nabla } } & { { } \left\| \frac { 1 } { K } { \bf H } { \bf H } ^ { \intercal } - \mathbb { I } \right\| } \end{array}$ . Blue solid line denotes mean average precision (mAP $@$ 1000) and orange dotted line denotes the respective analysis score.
173
+
174
+ 0.510 and 0.715 respectively. Table 2 summarizes the performance of different deep hashing methods and our method. For all the 3 datasets, our method outperforms all previous deep hashing methods on all bits. This suggests that our method has a better generalization ability on unseen instances than previous deep hashing methods. In particular, our model significantly outperforms previous deep hashing models by $0 . 6 \%$ , $9 . 1 \%$ and $1 7 . 1 \%$ respectively on the 3 datasets with 128-bits hash codes.
175
+
176
+ Orthogonal Transformation. For GLDv2 2048-bits hash codes, surprisingly it can achieve a much better performance than the pre-trained 2048-dimensions descriptors (by $1 . 1 \%$ improvement over R50-DELG-C). We then analyze the separability in cosine distances, i.e., the difference in the mean of intra-class cosine distance and the mean of inter-class cosine distance before and after the transformation (similar to Figure 3). We observe that the separability in cosine distances increases after the orthogonal transformation, i.e., before it is 0.142 and after it increases to 0.167. The results thus show that learning orthogonal hash codes can transform the inputs to be more discriminative.
177
+
178
+ Domain shifting with BN. As the model is trained with GLDv2, the running mean and variance in the BN layer might experience domain shifting problem [26] when testing directly on different datasets (e.g., ROxf and RPar). We empirically found that using running mean and variance from GLDv2 will lead to a large performance drop in Hamming distance retrieval10. One simple solution is to recompute the mean and variance from all continuous codes in the database, then update the running mean and variance with the computed mean and variance. The performances of $\mathcal { R } \mathrm { O x f }$ and RPar in Table 2 are obtained with running mean and variance of the respective database.
179
+
180
+ # 4.3 Further Analysis
181
+
182
+ Histogram of Hamming Distances. Figure 3 summarizes the histogram of intra-class and interclass distances. We compare our method OrthoCos+BN with pair-wise method HashNet [5] and point-wise classification based GreedyHash [41]. Although the distribution of inter-class distances are about the same for all the 3 methods (close to Hamming distance of $K / 2 = 3 2$ ), we can see that the larger the separability i.e., the difference in the mean of intra-class distance (the blue dotted line) with the mean of inter-class distance (the orange dotted line), the better the performance.
183
+
184
+ Performance Improvement Analysis. We further analyze the reasons behind performance improvements of different deep hashing methods, and summarizes the results in Figure 4. We conclude 3 main reasons that contribute to the improvement in deep hashing methods: i) quantization error; ii) the separability in Hamming distances; and iii) orthogonality in hash centers. For quantization error, we measure the angle $\theta _ { v b }$ between the continuous codes $\mathbf { v }$ and the hash codes $\mathbf { b }$ , i.e., $\begin{array} { r } { \theta _ { v b } = d e g ( \operatorname { a r c c o s } \big ( \frac { \mathbf { v } ^ { \mathsf { T } } \mathbf { b } } { \lVert \mathbf { v } \rVert \lVert \mathbf { b } \rVert } \big ) \big ) } \end{array}$ . For separability, we measure the difference in the mean of inter-class distances and the mean of intra-class distances, i.e., $\mathbb { E } [ D _ { i n t e r } ] - \mathbb { E } [ D _ { i n t r a } ]$ . For orthogonality, we first compute the hash centers $\mathbf { H } \in \{ - 1 , + 1 \} ^ { C \times K }$ for every class (by taking the sign of average hash codes in every class), then we measure the orthogonality with $\begin{array} { r l } { { \big \| \frac { 1 } { K } \mathbf H \mathbf H ^ { \intercal } - \mathbb { I } \big \| } } & { { } } \end{array}$ (lower is better). When the quantization error reduces, the separability increases and the hash centers has better orthogonality, resulting in better performance.
185
+
186
+ # 5 Conclusion & Future Work
187
+
188
+ We propose to unify training objectives of deep hashing under a single classification objective. We show this can be achieved by maximizing the cosine similarity between the continuous codes and binary orthogonal target under a cross entropy loss. For that, we first reformulated the problem of deep hashing in the lens of cosine similarity. We then demonstrated that if we perform $\mathrm { L _ { 2 } }$ -normalization on the continuous codes, then end-to-end training of deep hashing is possible without any extra sophisticated constraints. Moreover, we leverage the concept of Label Smoothing to train multilabels classification with cross-entropy loss and batch normalization for code balancing. Extensive experiments validated the efficiency of our method in both category-level and instance-level retrieval benchmarks.
189
+
190
+ Nonetheless, the proposed method might fail when the number of bits is too small ( $^ { < 8 }$ bits), especially when number of classes is much greater than the number of bits. In this case, there will be overlapping in the generated target code (i.e., the number of maximum unique codes is equal to $2 ^ { K }$ where $K$ is number of bits). In such condition, the target code will also not guarantee to be orthogonal. Overcoming this limitation is part of the future work. Also, we are exploring how to learn better feature representations to improve the retrieval performance by using hash codes through unsupervised learning.
191
+
192
+ # Broader Impact
193
+
194
+ Hashing remains a key bottleneck in practical deployments of large-scale retrieval systems. Recent deep hashing frameworks have shown great promise in learning code that are both compact and discriminative. Yet state-of-the-art frameworks are known to be difficult to train and to reproduce – largely owing to their complex loss designs that dictates hyperparameter tuning and multi-stage training. In this work, we set out to change that – we attempt to unify deep hashing under $a$ single objective, therefore simplifying training and help reproducibility. Our key intuition lies with reformulating hashing in the lens of cosine similarity. We report competitive hashing performance on all common datasets, and significant improvements over state-of-the-arts on the more challenging task of instance-level retrieval.
195
+
196
+ # Acknowledgments and Disclosure of Funding
197
+
198
+ This research is partly supported by the Fundamental Research Grant Scheme (FRGS) MoHE Grant FP021-2018A, from the Ministry of Education Malaysia. We also thank Kilho Shin for helpful discussions and recommendations.
199
+
200
+ # References
201
+
202
+ [1] Yoshua Bengio, Nicholas Léonard, and Aaron Courville. Estimating or propagating gradients through stochastic neurons for conditional computation. arXiv preprint arXiv:1308.3432, 2013.
203
+ [2] Levi Boyles, Aniket Anand Deshmukh, Urun Dogan, Rajesh Koduru, Charles Denis, and Eren Manavoglu. Semantic hashing with locality sensitive embeddings, 2021.
204
+ [3] Bingyi Cao, André Araujo, and Jack Sim. Unifying deep local and global features for image search. In Andrea Vedaldi, Horst Bischof, Thomas Brox, and Jan-Michael Frahm, editors, Computer Vision – ECCV 2020, pages 726–743, Cham, 2020. Springer International Publishing.
205
+ [4] Yue Cao, Mingsheng Long, Bin Liu, and Jianmin Wang. Deep cauchy hashing for hamming space retrieval. In 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 1229–1237, 2018.
206
+ [5] Zhangjie Cao, Mingsheng Long, Jianmin Wang, and Philip S. Yu. Hashnet: Deep learning to hash by continuation. In 2017 IEEE International Conference on Computer Vision (ICCV), pages 5609–5618, 2017.
207
+ [6] Moses S Charikar. Similarity estimation techniques from rounding algorithms. In Proceedings of the thiry-fourth annual ACM symposium on Theory of computing, pages 380–388, 2002.
208
+ [7] Ken Chatfield, Karen Simonyan, Andrea Vedaldi, and Andrew Zisserman. Return of the devil in the details: Delving deep into convolutional nets. arXiv preprint arXiv:1405.3531, 2014.
209
+ [8] Tat-Seng Chua, Jinhui Tang, Richang Hong, Haojie Li, Zhiping Luo, and Yan-Tao Zheng. Nus-wide: A real-world web image database from national university of singapore. In Proceedings of the ACM international conference on image and video retrieval, pages 1–9, Santorini, Greece., July 8-10, 2009. [9] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE Conference on Computer Vision and Pattern Recognition, pages 248–255, 2009.
210
+ [10] Jiankang Deng, Jia Guo, Xue Niannan, and Stefanos Zafeiriou. Arcface: Additive angular margin loss for deep face recognition. In 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2019.
211
+ [11] Shiv Ram Dubey. A decade survey of content based image retrieval using deep learning, 2020.
212
+ [12] Lixin Fan, Kam Woh Ng, Ce Ju, Tianyu Zhang, and Chee Seng Chan. Deep polarized network for supervised learning of accurate binary hashing codes. In Christian Bessiere, editor, Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence, IJCAI-20, pages 825–831. International Joint Conferences on Artificial Intelligence Organization, 7 2020. Main track.
213
+ [13] Aristides Gionis, Piotr Indyk, Rajeev Motwani, et al. Similarity search in high dimensions via hashing. In Vldb, volume 99, pages 518–529, 1999.
214
+ [14] Yunchao Gong, Sanjiv Kumar, Vishal Verma, and Svetlana Lazebnik. Angular quantization-based binary codes for fast similarity search. In F. Pereira, C. J. C. Burges, L. Bottou, and K. Q. Weinberger, editors, Advances in Neural Information Processing Systems, volume 25. Curran Associates, Inc., 2012.
215
+ [15] Yunchao Gong, Svetlana Lazebnik, Albert Gordo, and Florent Perronnin. Iterative quantization: A procrustean approach to learning binary codes for large-scale image retrieval. IEEE transactions on pattern analysis and machine intelligence, 35(12):2916–2929, 2012.
216
+ [16] Piotr Indyk and Rajeev Motwani. Approximate nearest neighbors: Towards removing the curse of dimensionality. In Proceedings of the Thirtieth Annual ACM Symposium on Theory of Computing, STOC ’98, page 604–613, New York, NY, USA, 1998. Association for Computing Machinery.
217
+ [17] Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In Francis Bach and David Blei, editors, Proceedings of the 32nd International Conference on Machine Learning, volume 37 of Proceedings of Machine Learning Research, pages 448–456, Lille, France, 07–09 Jul 2015. PMLR.
218
+ [18] Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
219
+ [19] Weihao Kong and Wu-jun Li. Isotropic hashing. In F. Pereira, C. J. C. Burges, L. Bottou, and K. Q. Weinberger, editors, Advances in Neural Information Processing Systems, volume 25. Curran Associates, Inc., 2012.
220
+ [20] Alex Krizhevsky, Ilya Sutskever, and Geoffrey E. Hinton. Imagenet classification with deep convolutional neural networks. In Proceedings of the 25th International Conference on Neural Information Processing Systems - Volume 1, NIPS’12, page 1097–1105, Red Hook, NY, USA, 2012. Curran Associates Inc.
221
+ [21] Brian Kulis and Trevor Darrell. Learning to hash with binary reconstructive embeddings. In Y. Bengio, D. Schuurmans, J. Lafferty, C. Williams, and A. Culotta, editors, Advances in Neural Information Processing Systems, volume 22. Curran Associates, Inc., 2009.
222
+ [22] Brian Kulis and Kristen Grauman. Kernelized locality-sensitive hashing for scalable image search. In 2009 IEEE 12th international conference on computer vision, pages 2130–2137. IEEE, 2009.
223
+ [23] Hanjiang Lai, Yan Pan, Ye Liu, and Shuicheng Yan. Simultaneous feature learning and hash coding with deep neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 3270–3278, 2015.
224
+ [24] Qi Li, Zhenan Sun, Ran He, and Tieniu Tan. Deep supervised discrete hashing. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc., 2017.
225
+ [25] Wu-Jun Li, Sheng Wang, and Wang-Cheng Kang. Feature learning based deep supervised hashing with pairwise labels. In Proceedings of the Twenty-Fifth International Joint Conference on Artificial Intelligence, IJCAI’16, page 1711–1717. AAAI Press, 2016.
226
+ [26] Yanghao Li, Naiyan Wang, Jianping Shi, Xiaodi Hou, and Jiaying Liu. Adaptive batch normalization for practical domain adaptation. Pattern Recognition, 80:109–117, 2018.
227
+ [27] Yunqiang Li and Jan van Gemert. Deep unsupervised image hashing by maximizing bit entropy. Proceedings of the AAAI Conference on Artificial Intelligence, 2021.
228
+ [28] Guosheng Lin, Chunhua Shen, David Suter, and Anton van den Hengel. A general two-step approach to learning-based hashing. In 2013 IEEE International Conference on Computer Vision, pages 2552–2559, 2013.
229
+ [29] Mingbao Lin, Rongrong Ji, Hong Liu, and Yongjian Wu. Supervised online hashing via hadamard codebook learning. In Proceedings of the 26th ACM International Conference on Multimedia, MM ’18, page 1635–1643, New York, NY, USA, 2018. Association for Computing Machinery.
230
+ [30] Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C. Lawrence Zitnick. Microsoft coco: Common objects in context. In David Fleet, Tomas Pajdla, Bernt Schiele, and Tinne Tuytelaars, editors, Computer Vision – ECCV 2014, pages 740–755, Cham, 2014. Springer International Publishing.
231
+ [31] Venice Erin Liong, Jiwen Lu, Gang Wang, Pierre Moulin, and Jie Zhou. Deep hashing for compact binary codes learning. In 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 2475–2483, 2015.
232
+ [32] Bin Liu, Yue Cao, Mingsheng Long, Jianmin Wang, and Jingdong Wang. Deep triplet quantization. In Proceedings of the 26th ACM international conference on Multimedia, pages 755–763, 2018.
233
+ [33] Haomiao Liu, Ruiping Wang, Shiguang Shan, and Xilin Chen. Deep supervised hashing for fast image retrieval. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 2064–2072, 2016.
234
+ [34] Wei Liu, Jun Wang, Rongrong Ji, Yu-Gang Jiang, and Shih-Fu Chang. Supervised hashing with kernels. In 2012 IEEE Conference on Computer Vision and Pattern Recognition, pages 2074–2081. IEEE, 2012.
235
+ [35] Weiyang Liu, Yandong Wen, Zhiding Yu, Ming Li, Bhiksha Raj, and Le Song. Sphereface: Deep hypersphere embedding for face recognition. In 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 6738–6746, 2017.
236
+ [36] Mohammad Norouzi and David J. Fleet. Minimal loss hashing for compact binary codes. In Proceedings of the 28th International Conference on International Conference on Machine Learning, ICML’11, page 353–360, Madison, WI, USA, 2011. Omnipress.
237
+ [37] Mohammad Norouzi, David J Fleet, and Russ R Salakhutdinov. Hamming distance metric learning. In Advances in neural information processing systems, pages 1061–1069, 2012.
238
+ [38] 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.
239
+ [39] Filip Radenovic, Ahmet Iscen, Giorgos Tolias, Yannis Avrithis, and Ondrej Chum. Revisiting oxford and paris: Large-scale image retrieval benchmarking. In 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 5706–5715, 2018.
240
+ [40] Yuming Shen, Jie Qin, Jiaxin Chen, Li Liu, Fan Zhu, and Ziyi Shen. Embarrassingly simple binary representation learning. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV) Workshops, Oct 2019.
241
+ [41] Shupeng Su, Chao Zhang, Kai Han, and Yonghong Tian. Greedy hash: Towards fast optimization for accurate hash coding in cnn. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 31. Curran Associates, Inc., 2018.
242
+ [42] Hao Wang, Yitong Wang, Zheng Zhou, Xing Ji, Dihong Gong, Jingchao Zhou, Zhifeng Li, and Wei Liu. Cosface: Large margin cosine loss for deep face recognition. In 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 5265–5274, 2018.
243
+ [43] Jingdong Wang, Ting Zhang, jingkuan song, Nicu Sebe, and Heng Tao Shen. A survey on learning to hash. IEEE Transactions on Pattern Analysis and Machine Intelligence, 40(4):769–790, 2018.
244
+ [44] Jun Wang, Wei Liu, Sanjiv Kumar, and Shih-Fu Chang. Learning to hash for indexing big data - a survey, 2015.
245
+ [45] Xiaofang Wang, Yi Shi, and Kris M Kitani. Deep supervised hashing with triplet labels. Asian Conference on Computer Vision, 2016.
246
+ [46] Yair Weiss, Antonio Torralba, and Rob Fergus. Spectral hashing. In D. Koller, D. Schuurmans, Y. Bengio, and L. Bottou, editors, Advances in Neural Information Processing Systems, volume 21. Curran Associates, Inc., 2009.
247
+ [47] Tobias Weyand, Andre Araujo, Bingyi Cao, and Jack Sim. Google landmarks dataset v2-a large-scale benchmark for instance-level recognition and retrieval. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 2575–2584, 2020.
248
+ [48] Rongkai Xia, Yan Pan, Hanjiang Lai, Cong Liu, and Shuicheng Yan. Supervised hashing for image retrieval via image representation learning. In Proceedings of the AAAI conference on artificial intelligence, volume 28, 2014.
249
+ [49] Huei-Fang Yang, Kevin Lin, and Chu-Song Chen. Supervised learning of semantics-preserving hash via deep convolutional neural networks. IEEE transactions on pattern analysis and machine intelligence, 40(2):437–451, 2017.
250
+ [50] Li Yuan, Tao Wang, Xiaopeng Zhang, Francis EH Tay, Zequn Jie, Wei Liu, and Jiashi Feng. Central similarity quantization for efficient image and video retrieval. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 3083–3092, 2020.
251
+ [51] Tianyu Zhang, Lei Zhu, Qian Zhao, and Kilho Shin. Neural networks weights quantization: Target none-retraining ternary (tnt), 2019.
252
+ [52] Fang Zhao, Yongzhen Huang, Liang Wang, and Tieniu Tan. Deep semantic ranking based hashing for multi-label image retrieval. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1556–1564, 2015.
253
+ [53] Xiangtao Zheng, Yichao Zhang, and Xiaoqiang Lu. Deep balanced discrete hashing for image retrieval. Neurocomputing, 403:224–236, 2020.
254
+ [54] Chang Zhou, Lai-Man Po, Wilson Y. F. Yuen, Kwok Wai Cheung, Xuyuan Xu, Kin Wai Lau, Yuzhi Zhao, Mengyang Liu, and Peter H. W. Wong. Angular deep supervised hashing for image retrieval. IEEE Access, 7:127521–127532, 2019.
parse/train/2pJZSVcSZz/2pJZSVcSZz_content_list.json ADDED
@@ -0,0 +1,1078 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "One Loss for All: Deep Hashing with a Single Cosine Similarity based Learning Objective ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 235,
8
+ 122,
9
+ 764,
10
+ 198
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Jiun Tian Hoe1∗ Kam Woh Ng2,3∗ Tianyu Zhang4 \nChee Seng Chan1† Yi-Zhe Song2,3 Tao Xiang2,3 ",
17
+ "bbox": [
18
+ 316,
19
+ 247,
20
+ 700,
21
+ 281
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "1CISiP, Universiti Malaya, Malaysia 2CVSSP, University of Surrey, U.K. 3iFlyTek-Surrey Joint Research Centre on Artificial Intelligence 4Geek+, China ",
28
+ "bbox": [
29
+ 289,
30
+ 291,
31
+ 709,
32
+ 348
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "Abstract ",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 462,
42
+ 387,
43
+ 535,
44
+ 404
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "A deep hashing model typically has two main learning objectives: to make the learned binary hash codes discriminative and to minimize a quantization error. With further constraints such as bit balance and code orthogonality, it is not uncommon for existing models to employ a large number $( > 4 )$ of losses. This leads to difficulties in model training and subsequently impedes their effectiveness. In this work, we propose a novel deep hashing model with only a single learning objective. Specifically, we show that maximizing the cosine similarity between the continuous codes and their corresponding binary orthogonal codes can ensure both hash code discriminativeness and quantization error minimization. Further, with this learning objective, code balancing can be achieved by simply using a Batch Normalization (BN) layer and multi-label classification is also straightforward with label smoothing. The result is an one-loss deep hashing model that removes all the hassles of tuning the weights of various losses. Importantly, extensive experiments show that our model is highly effective, outperforming the state-of-the-art multi-loss hashing models on three large-scale instance retrieval benchmarks, often by significant margins. Code is available at https://github.com/kamwoh/orthohash ",
51
+ "bbox": [
52
+ 232,
53
+ 420,
54
+ 766,
55
+ 642
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1 Introduction ",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 174,
65
+ 667,
66
+ 310,
67
+ 685
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "A key building block of a real-world large-scale image retrieval system is hashing. The objective of image hashing is to represent the content of an image using a binary code for efficient storage and accurate retrieval. Recently, deep hashing methods [48, 23] have shown great improvements over conventional hashing methods [46, 15, 16, 22, 36, 37, 19]. Furthermore, deep hashing methods can be grouped by how the similarity of the learned hashing codes are measured, namely pointwise [49, 54, 40, 12, 50], pairwise [25, 23, 5, 4], triplet-wise [45, 32], or listwise [52]. Among them, pointwise methods have a $O ( N )$ computational complexity, whilst the complexity of the others are of at least $O ( N ^ { 2 } )$ for $N$ data points. This means that for large-scale problems, only the pointwise methods are tractable [49]. They are thus the focus of most recent studies. ",
74
+ "bbox": [
75
+ 174,
76
+ 700,
77
+ 825,
78
+ 825
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "A deep hashing neural network naturally has multiple learning objectives. Specifically, given an image input, the network outputs a continuous code (feature vector) which is then converted into a binary hash code using a quantization layer (usually a sign function). There are thus two main objectives. First, the final model output, i.e., the binary codes must be discriminative, meaning the intra-class hamming distances are small, while the inter-class ones are big. Second, a quantization error minimization objective is needed to regularize the continuous codes. But the learning is constrained by the vanishing gradient problem caused by the quantization layer. Although the problem can be avoided by deploying some relaxation schemes [5, 23, 25], these schemes often produce sub-optimal hash codes due to the introduction of quantization error (see Figure 1). Hence, most recently deep hashing methods [41, 25, 4, 53, 50] has an explicit quantization error minimization learning objective. ",
85
+ "bbox": [
86
+ 176,
87
+ 832,
88
+ 821,
89
+ 859
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "image",
95
+ "img_path": "images/3427e26a0fb46168de2a13206771494795f30ac4917a0262c9e3eb106e11b757.jpg",
96
+ "image_caption": [
97
+ "Figure 1: We train a simple CNN model on CIFAR10 with only first 4 classes and 2-bits. The continuous codes v are visualized before sgn. (Left) The model is trained with cross entropy (CE) only. Although it can separate the 4 classes in Euclidean space, the output is not bounded and thus indicating high quantization error and sub-optimal in the Hamming space. (Middle) By appending a batch normalization (BN) layer after v, the hash codes are now balanced. (Right) Now the model (proposed) is trained to maximize the cosine similarity between v and its corresponding binary target o. The black arrows are the binary orthogonal target, denoted as o for each class. It can be seen that the continuous codes exhibit lower intra-class variance and quantization error as compared with the $\\mathbf { C E + B N }$ models (middle). "
98
+ ],
99
+ "image_footnote": [],
100
+ "bbox": [
101
+ 179,
102
+ 90,
103
+ 813,
104
+ 258
105
+ ],
106
+ "page_idx": 1
107
+ },
108
+ {
109
+ "type": "text",
110
+ "text": "",
111
+ "bbox": [
112
+ 174,
113
+ 428,
114
+ 825,
115
+ 540
116
+ ],
117
+ "page_idx": 1
118
+ },
119
+ {
120
+ "type": "text",
121
+ "text": "Having these two main objectives/losses are still not enough. In particular, to ensure the quality of hash codes, many other losses are employed by existing methods. These include bit balance loss [53, 49, 40], weights constraints to maximize Hamming distance [54], code orthogonality [31, 32]. Further, losses are designed to address the vanishing gradient problem caused by the sign function used to obtain binary codes from the continuous ones [41, 40, 27]. As a result, the state-of-the-art hashing models typically have a large number $( > 4 )$ losses. This means difficulties in optimization which in turn hamper their effectiveness. ",
122
+ "bbox": [
123
+ 174,
124
+ 545,
125
+ 825,
126
+ 642
127
+ ],
128
+ "page_idx": 1
129
+ },
130
+ {
131
+ "type": "text",
132
+ "text": "In this work, for the first time, a deep hashing model with a single loss is developed which removes any needs for loss weight tuning and is thus much easier to optimize. As mentioned earlier, a deep hashing model needs to be trained with at least two objectives, namely binary code discriminativenss and quantization error minimization. So how could one use one loss only? The answer lies in the fact that the two objectives are closely related and can be unified into one. More concretely, we show that both objectives can be satisfied by maximizing the cosine similarity between the continuous codes and their corresponding binary orthogonal target, which can be formulated as a cross-entropy (CE) loss. Our model, dubbed OrthoHash has one loss only which maximizes the cosine similarity between the $\\mathrm { L _ { 2 } }$ -normalized continuous codes and binary orthogonal target to maximize inter-class Hamming distance and minimize quantization error simultaneously. We show that this single unifying loss has a number of additional benefits. First, we can leverage the benefit of margin [42, 10] to further improve the intra-class variance. Second, since conventional CE loss only works for single-label classification, we can easily leverage Label Smoothing [38] to modify the CE loss to tackle multilabels classification. Finally, we show that code balancing can now be enforced by introducing a batch normalization [17] (BN) layer rather than requiring a different loss. Extensive experiment results suggest that on conventional category-level retrieval tasks using ImageNet100, NUS-WIDE and MS-COCO, our model is on par with the SOTA. More importantly, on the large-scale instance-level retrieval tasks, our method achieves the new SOTA, beating the best results obtained so far on GLDv2, $\\mathcal { R } \\mathrm { O x f }$ and $\\mathcal { R }$ Paris by $0 . 6 \\%$ , $9 . 1 \\%$ and $1 7 . 1 \\%$ respectively. ",
133
+ "bbox": [
134
+ 174,
135
+ 650,
136
+ 825,
137
+ 911
138
+ ],
139
+ "page_idx": 1
140
+ },
141
+ {
142
+ "type": "text",
143
+ "text": "2 Related Work ",
144
+ "text_level": 1,
145
+ "bbox": [
146
+ 174,
147
+ 89,
148
+ 321,
149
+ 106
150
+ ],
151
+ "page_idx": 2
152
+ },
153
+ {
154
+ "type": "text",
155
+ "text": "Hashing methods. Conventional hashing methods can be categorized into many streams. Dataindependent methods such as Locality-sensitive Hashing (LsH) [16, 13], and its kernelized version (KLsH) [22] have contributed many of the fundamental concepts for hashing such as the requirement of code balance, uncorrelated bit, and similarity preserving. In contrast, data-dependent methods [46, 21, 15, 19, 36, 37] aim to learn hash codes that are more compact yet more dataset-specific [7]. Recently, deep learning based hashing methods [25, 48, 23] dominated the hashing research due to the superior learning ability of DNN. Various learning objectives are developed to learn hash codes using a training dataset. The objective functions include i) task learning objective which can be further categorized into pointwise [49, 54, 40, 41, 12, 50], pairwise [5, 25, 23], triplet-wise [45, 32], listwise [52] and unsupervised [27, 14]; ii) quantization error minimization such as the loss designed to minimize the $p$ -norm (usually $p = 2$ ) between continuous codes and hash codes; iii) code balancing [27, 40]. We refer readers to learning to hashing surveys [44, 43, 11] for more detailed review. ",
156
+ "bbox": [
157
+ 173,
158
+ 126,
159
+ 825,
160
+ 292
161
+ ],
162
+ "page_idx": 2
163
+ },
164
+ {
165
+ "type": "text",
166
+ "text": "Binary optimization. Hashing is a NP-hard binary optimization problem [46], and is prone to the vanishing gradient problem due to the discrete and non-differentiable binary hash functions. Early methods solved the problem by discarding the discrete constraints (e.g., designing a penalty loss term to generate feature as binary as possible [25, 23]; solve with continuous relaxation, i.e., to optimize in a continuous space using sigmoid or tanh for approximation [5]). Some methods also utilized coordinate descent method in the training [28, 24]. Nevertheless, these methods have increased the complexity of learning due to need for tuning of hyper-parameters balancing different learning objectives. ",
167
+ "bbox": [
168
+ 174,
169
+ 297,
170
+ 825,
171
+ 410
172
+ ],
173
+ "page_idx": 2
174
+ },
175
+ {
176
+ "type": "text",
177
+ "text": "Bypassing vanishing gradient. Greedy Hash [41] designed a new coding layer which uses the sign function in the forward pass to generate binary codes, and gradients are backpropagated using straight-through estimator [1] during optimization. [27] designed a parameter-free coding layer – Bi-half, to maximize the bit capacity by shifting the network output by median (each bit can have a $50 \\%$ chance of being $+ 1$ or $^ { - 1 }$ ) . These methods typically requires the modification of computational graphs, in the sense that the original graph is no longer end-to-end trained, hence further complicates the original optimization objective. Ours on the other hand incorporates a neat one-loss design that removes all such complications. ",
178
+ "bbox": [
179
+ 174,
180
+ 415,
181
+ 825,
182
+ 526
183
+ ],
184
+ "page_idx": 2
185
+ },
186
+ {
187
+ "type": "text",
188
+ "text": "Learning hash codes with pre-defined target. Deep Polarized Network (DPN) [12] used a random assignment scheme to generate target vectors with maximal inter-class distance, then optimized with hinge-like polarized loss. Central Similarity Quantization (CSQ) [50] uses Hadamard matrix as \"hash centers\", then optimized with binary cross entropy. Both methods have similar overall objective, i.e., the continuous codes are learned to be as similar as the target vectors (or \"hash centers\"). Our model also employs a hash target, but uniquely it is used in a single cosine similarity based single objective. ",
189
+ "bbox": [
190
+ 174,
191
+ 534,
192
+ 825,
193
+ 616
194
+ ],
195
+ "page_idx": 2
196
+ },
197
+ {
198
+ "type": "text",
199
+ "text": "Cosine similarity. According to [6], which is a theoretical analysis for Locality-sensitive Hashing (LsH) [16, 13], if two samples have high angular similarity, then we have high probability of obtaining the same hash codes as well. Hence, while most works focus on hashing images with various constraints, we reformulate the problem of deep hashing in the lens of cosine similarity. By following the same principle, a similar work is done by [2] which described the hashing problem under pairwise constraint while our work describes the problem under pointwise constraint. As inspired by [51, 14] which utilize cosine similarity to find closest approximate binary or ternary representation, we also interpret the quantization error in terms of cosine similarity. Moreover, deep hypersphere embedding learning methods (e.g., SphereFace [35], CosFace [42] and ArcFace [10]) imposed discriminative constraints on a hypersphere manifold and proposed to improve decision boundary by cosine or angular margin. Inspired by them, we also leverage the benefit of margin to improve intra-class variance. ",
200
+ "bbox": [
201
+ 174,
202
+ 622,
203
+ 825,
204
+ 789
205
+ ],
206
+ "page_idx": 2
207
+ },
208
+ {
209
+ "type": "text",
210
+ "text": "3 OrthoHash: One Loss for All ",
211
+ "text_level": 1,
212
+ "bbox": [
213
+ 174,
214
+ 818,
215
+ 447,
216
+ 835
217
+ ],
218
+ "page_idx": 2
219
+ },
220
+ {
221
+ "type": "text",
222
+ "text": "In Section 3.1, we reformulate the problem of deep hashing in the lens of cosine similarity, i.e., interpreting both Hamming distance retrieval and quantization error in cosine similarity. In Section 3.2, we propose to maximize cosine similarity between the continuous codes and binary orthogonal target under a single classification objective (for both single-label and multi-labels classification). ",
223
+ "bbox": [
224
+ 174,
225
+ 856,
226
+ 825,
227
+ 911
228
+ ],
229
+ "page_idx": 2
230
+ },
231
+ {
232
+ "type": "image",
233
+ "img_path": "images/316b1137194940055fb92c317d707ba387dc351607295a30f7b9214faf62a6b5.jpg",
234
+ "image_caption": [
235
+ "Figure 2: We first obtain continuous codes ${ \\bf V } = \\{ { \\bf v } _ { n } \\} _ { n = 1 } ^ { N } \\in \\mathbb { R } ^ { N \\times K }$ from our backbone network. It is then passed through a batch normalization (BN) layer to obtain zero-mean continuous codes. Next, we compute scaled cosine similarity between the continuous codes and their binary orthogonal targets $\\mathbf { O } = \\{ \\overset { \\cdot } { \\mathbf { o } _ { i } } \\} _ { i = 1 } ^ { C } \\in \\{ - 1 , + 1 \\} ^ { C \\times K }$ where $\\mathbf { C } =$ number of classes. Finally, the scaled cosine similarity will act as a classification output and we minimize a cross entropy loss. See Section 3.2 for details. "
236
+ ],
237
+ "image_footnote": [],
238
+ "bbox": [
239
+ 178,
240
+ 94,
241
+ 816,
242
+ 252
243
+ ],
244
+ "page_idx": 3
245
+ },
246
+ {
247
+ "type": "text",
248
+ "text": "Finally, we describe why adding a batch normalization layer after the continuous codes will achieve code balance in Section 3.2.3. Our method is illustrated in Figure 2. ",
249
+ "bbox": [
250
+ 173,
251
+ 363,
252
+ 823,
253
+ 391
254
+ ],
255
+ "page_idx": 3
256
+ },
257
+ {
258
+ "type": "text",
259
+ "text": "Let us first formally define the deep hashing problem. Let $d$ -dimensional data, ${ \\mathbf X } = \\{ { \\mathbf x } _ { n } \\} _ { n = 1 } ^ { N } \\in$ where is the number of training samples, and $\\mathbf { Y } ~ = ~ \\{ \\mathbf { y } _ { n } \\} _ { n = 1 } ^ { N } ~ \\in ~ \\{ 0 , 1 \\} ^ { N \\times C }$ as onehot training labels of $C$ classes (for multi-labels, $\\mathbf { y } _ { n } \\triangleq \\mathbf { y } _ { n i } = [ y _ { n 1 } , \\cdot \\cdot \\cdot , y _ { n C } ]$ , whose $y _ { n i } = 1$ if any $i$ -th class are assigned to the $n$ -th sample and 0 otherwise). Our objective is to learn a set of $K$ -bit binary codes $\\mathbf { B } = \\{ \\mathbf { b } _ { n } \\} _ { n = 1 } ^ { N } \\in \\mathbf { \\hat { \\Gamma } } [ - 1 , 1 \\} ^ { N \\times K }$ for each training point ${ \\bf x } _ { n }$ , which is converted from the continuous codes $\\mathbf { v } _ { n }$ through a sgn function. v can be computed by a latent layer $\\mathcal { H } ( \\mathbf { x } ) = \\mathbf { W } \\boldsymbol { \\phi } ( \\mathbf { x } ) \\in \\mathbb { R } ^ { K } , \\boldsymbol { \\phi } ( \\cdot )$ is a deep neural network (backbone network) to compute $q$ -dimensional nonlinear feature representation $\\mathbf { f } = \\phi ( \\mathbf { x } ) \\in \\mathbb { R } ^ { q }$ , $\\mathbf { W } \\in \\mathbb { R } ^ { K \\times q }$ is the weights of the latent layer and $s g n ( \\mathbf { v } _ { n k } ) = 1$ if $k$ -th bit of ${ \\bf v } _ { n } \\geq 0$ and $- 1$ otherwise. In our work, binary orthogonal targets $\\mathbf { o } _ { y _ { n } } \\in [ \\mathbf { o } _ { 1 } , \\therefore \\cdot \\cdot \\mathbf { \\tau } , \\mathbf { o } _ { C } ] ^ { \\intercal } = \\mathbf { O } \\in \\{ - 1 , + 1 \\} ^ { C \\times K }$ , where $\\mathbf { o } _ { i }$ denotes a column vector belongs to $i$ -th class. Ideally, for any two rows, $1 \\leq i , j \\leq C$ , $\\mathbf { o } _ { i }$ and $\\mathbf { o } _ { j }$ are orthogonal to each other. We use $a$ or $A$ to represent scalar, $\\mathbf { a }$ to represent column vector, and $\\mathbf { A }$ to represent matrix. Both $i$ and $j$ are often used as index. ",
260
+ "bbox": [
261
+ 173,
262
+ 397,
263
+ 826,
264
+ 580
265
+ ],
266
+ "page_idx": 3
267
+ },
268
+ {
269
+ "type": "text",
270
+ "text": "3.1 Reformulating Deep Hashing in the Lens of Cosine Similarity ",
271
+ "text_level": 1,
272
+ "bbox": [
273
+ 174,
274
+ 597,
275
+ 640,
276
+ 612
277
+ ],
278
+ "page_idx": 3
279
+ },
280
+ {
281
+ "type": "text",
282
+ "text": "Interpreting Hamming Distance as Cosine Similarity. Typically, Hamming distance can be computed using logical xor operation between binary codes $\\mathbf { b } _ { i }$ and ${ \\bf b } _ { j }$ , followed by popcount. If $\\mathbf { b }$ is represented by $\\{ - 1 , + 1 \\} ^ { K }$ , then Hamming distance can also be computed mathematically as: ",
283
+ "bbox": [
284
+ 174,
285
+ 622,
286
+ 826,
287
+ 666
288
+ ],
289
+ "page_idx": 3
290
+ },
291
+ {
292
+ "type": "equation",
293
+ "img_path": "images/793553bcc3377ca15a3a841f42f248daa83ad1182c729e43df2f6ca95b761c0d.jpg",
294
+ "text": "$$\nD ( \\mathbf { b } _ { i } , \\mathbf { b } _ { j } ) = \\frac { K - \\mathbf { b } _ { i } ^ { \\intercal } \\mathbf { b } _ { j } } { 2 } .\n$$",
295
+ "text_format": "latex",
296
+ "bbox": [
297
+ 413,
298
+ 672,
299
+ 584,
300
+ 705
301
+ ],
302
+ "page_idx": 3
303
+ },
304
+ {
305
+ "type": "text",
306
+ "text": "Geometrically, the dot product $\\mathbf { b } _ { i } ^ { \\mathsf { T } } \\mathbf { b } _ { j }$ can be interpreted as: ",
307
+ "bbox": [
308
+ 173,
309
+ 712,
310
+ 560,
311
+ 727
312
+ ],
313
+ "page_idx": 3
314
+ },
315
+ {
316
+ "type": "equation",
317
+ "img_path": "images/e284f75fba5acbc1fc08619c3e95d253e417518ac7b98b11806ba1a5d310d6a6.jpg",
318
+ "text": "$$\n\\mathbf { b } _ { i } ^ { \\mathsf { T } } \\mathbf { b } _ { j } = \\| \\mathbf { b } _ { i } \\| \\| \\mathbf { b } _ { j } \\| \\cos \\theta _ { i j } ,\n$$",
319
+ "text_format": "latex",
320
+ "bbox": [
321
+ 406,
322
+ 733,
323
+ 588,
324
+ 752
325
+ ],
326
+ "page_idx": 3
327
+ },
328
+ {
329
+ "type": "text",
330
+ "text": "in which $\\left\\| \\cdot \\right\\|$ is the Euclidean norm and √ $\\theta _ { i j }$ is the angle between $\\mathbf { b } _ { i }$ and $\\mathbf { b } _ { j }$ . As both $\\left\\| \\mathbf { b } _ { i } \\right\\|$ and $\\| \\mathbf { b } _ { j } \\|$ are constant (i.e., $\\| \\mathbf { b } \\| = { \\sqrt { K } } )$ , equation (1) can then be viewed as: ",
331
+ "bbox": [
332
+ 174,
333
+ 757,
334
+ 823,
335
+ 790
336
+ ],
337
+ "page_idx": 3
338
+ },
339
+ {
340
+ "type": "equation",
341
+ "img_path": "images/d5f65a332b67db01092133441f885463fe0e0f62ab7651106004fb45f2e1a258.jpg",
342
+ "text": "$$\nD ( \\mathbf { b } _ { i } , \\mathbf { b } _ { j } ) = \\frac { K - K \\cos \\theta _ { i j } } { 2 } = \\frac { K } { 2 } ( 1 - \\cos \\theta _ { i j } ) .\n$$",
343
+ "text_format": "latex",
344
+ "bbox": [
345
+ 338,
346
+ 795,
347
+ 660,
348
+ 827
349
+ ],
350
+ "page_idx": 3
351
+ },
352
+ {
353
+ "type": "text",
354
+ "text": "Since $\\textstyle { \\frac { K } { 2 } }$ is a constant, we can see that the retrieval is now will be only based on the angle between two hash codes i.e., similar hash codes will have a similar direction, yield a lower angle between them, and hence a lower hamming distance. ",
355
+ "bbox": [
356
+ 174,
357
+ 834,
358
+ 825,
359
+ 877
360
+ ],
361
+ "page_idx": 3
362
+ },
363
+ {
364
+ "type": "text",
365
+ "text": "Interpreting Quantization Error as Cosine Similarity. Typically, converting continuous codes v to binary codes b will lead to information loss, which is also known as quantization error. Therefore, ",
366
+ "bbox": [
367
+ 173,
368
+ 882,
369
+ 823,
370
+ 911
371
+ ],
372
+ "page_idx": 3
373
+ },
374
+ {
375
+ "type": "text",
376
+ "text": "most of the existing hashing methods have included quantization error minimization in their learning objective such as $\\mathrm { L _ { 1 } }$ -norm, $\\mathrm { L _ { 2 } }$ -norm and p-norm (e.g., $p = 3$ in Greedy Hash [41]), usually in the form of: ",
377
+ "bbox": [
378
+ 174,
379
+ 90,
380
+ 825,
381
+ 132
382
+ ],
383
+ "page_idx": 4
384
+ },
385
+ {
386
+ "type": "equation",
387
+ "img_path": "images/09bc8f433a17ff97feafb9efc460c0566b0036358c988a805313dcbcd4c157e4.jpg",
388
+ "text": "$$\n\\operatorname* { m i n } L + \\lambda Q ,\n$$",
389
+ "text_format": "latex",
390
+ "bbox": [
391
+ 452,
392
+ 132,
393
+ 544,
394
+ 148
395
+ ],
396
+ "page_idx": 4
397
+ },
398
+ {
399
+ "type": "text",
400
+ "text": "where $L$ is the supervised learning objective such as Cross Entropy and $Q$ is the quantization error between $\\mathbf { v }$ and b. However, it is difficult to control the scale $\\lambda$ , i.e. a low $\\lambda$ might not be effective, while a high $\\lambda$ might lead to underfitting. As a result of this, careful tuning is needed and yet the tuned $\\lambda$ may varies in different tasks. To overcome this cumbersome practise, let us first interpret quantization error geometrically: ",
401
+ "bbox": [
402
+ 173,
403
+ 151,
404
+ 825,
405
+ 222
406
+ ],
407
+ "page_idx": 4
408
+ },
409
+ {
410
+ "type": "equation",
411
+ "img_path": "images/a795cba3e6428d0ddf4d4b7f16d3368dd2c59976e7ffa67651c79cfc3cc448c3.jpg",
412
+ "text": "$$\n\\operatorname* { m i n } { \\left\\| \\mathbf { v } - \\mathbf { b } \\right\\| ^ { 2 } } \\ \\mathrm { s . t . } \\ \\mathbf { b } \\in \\{ - 1 , 1 \\} ^ { K } ,\n$$",
413
+ "text_format": "latex",
414
+ "bbox": [
415
+ 379,
416
+ 228,
417
+ 617,
418
+ 248
419
+ ],
420
+ "page_idx": 4
421
+ },
422
+ {
423
+ "type": "text",
424
+ "text": "in which $\\mathbf { v }$ is in continuous space, $\\mathbf { b } = s g n ( \\mathbf { v } )$ is in binary space. We expand equation (5) to get: ",
425
+ "bbox": [
426
+ 169,
427
+ 255,
428
+ 807,
429
+ 271
430
+ ],
431
+ "page_idx": 4
432
+ },
433
+ {
434
+ "type": "equation",
435
+ "img_path": "images/cb3e36198a235eb0da9dbb3fb3c4f7b1fdf40e2f431a40d774ec59e9712860ad.jpg",
436
+ "text": "$$\n\\left\\| \\mathbf { v } - \\mathbf { b } \\right\\| ^ { 2 } = \\left\\| \\mathbf { v } \\right\\| ^ { 2 } + \\left\\| \\mathbf { b } \\right\\| ^ { 2 } - 2 \\left\\| \\mathbf { v } \\right\\| \\left\\| \\mathbf { b } \\right\\| \\cos { \\theta _ { v b } } .\n$$",
437
+ "text_format": "latex",
438
+ "bbox": [
439
+ 339,
440
+ 276,
441
+ 656,
442
+ 297
443
+ ],
444
+ "page_idx": 4
445
+ },
446
+ {
447
+ "type": "text",
448
+ "text": "According to equation (3), retrieval is only based on the similarity in the direction of two hash codes. Hence, we can ignore the magnitude of $\\mathbf { v }$ by normalizing it to have the same norm with $\\mathbf { b }$ , i.e., $\\| \\mathbf { v } \\| = { \\sqrt { K } }$ and interpret the quantization error as to only the angle $\\theta _ { v b }$ between $\\mathbf { v }$ and $\\mathbf { b } ^ { 3 }$ : ",
449
+ "bbox": [
450
+ 173,
451
+ 303,
452
+ 826,
453
+ 348
454
+ ],
455
+ "page_idx": 4
456
+ },
457
+ {
458
+ "type": "equation",
459
+ "img_path": "images/7501bb599b1c2c3732b1417a56d7062431807749f4d69421fc58130527ca3414.jpg",
460
+ "text": "$$\n\\left\\| \\mathbf { v } - \\mathbf { b } \\right\\| ^ { 2 } = 2 K - 2 K \\cos { \\theta _ { v b } } = 2 K ( 1 - \\cos { \\theta _ { v b } } ) .\n$$",
461
+ "text_format": "latex",
462
+ "bbox": [
463
+ 328,
464
+ 354,
465
+ 669,
466
+ 375
467
+ ],
468
+ "page_idx": 4
469
+ },
470
+ {
471
+ "type": "text",
472
+ "text": "Since $2 K$ is a constant, we can then conclude that maximize the cosine similarity between $\\mathbf { v }$ and b will lead to a low quantization error, leading to a better approximation in the hash codes. ",
473
+ "bbox": [
474
+ 174,
475
+ 381,
476
+ 825,
477
+ 410
478
+ ],
479
+ "page_idx": 4
480
+ },
481
+ {
482
+ "type": "text",
483
+ "text": "3.2 Discriminative Hash Codes with Orthogonal Target ",
484
+ "text_level": 1,
485
+ "bbox": [
486
+ 173,
487
+ 425,
488
+ 571,
489
+ 441
490
+ ],
491
+ "page_idx": 4
492
+ },
493
+ {
494
+ "type": "text",
495
+ "text": "According to [6], the probability of two samples $\\mathbf { x } _ { i }$ and $\\mathbf { x } _ { j }$ to have the same hash code under a family $\\mathcal { F }$ of hash functions using random hyperplane technique can be described as $\\mathbf { P r } _ { h \\in \\mathcal { F } } [ h ( \\mathbf { x } _ { i } ) =$ $\\begin{array} { r } { h ( \\mathbf { x } _ { j } ) ] = 1 - \\frac { \\theta _ { i j } } { \\pi } } \\end{array}$ , where $h ( \\cdot )$ is a hash function and $\\theta _ { i j }$ is the angle between $\\mathbf { x } _ { i }$ and $\\mathbf { x } _ { j }$ . Therefore, based on the same principle, it can be derived that if the two continuous codes $\\mathbf { v } _ { i }$ and $\\mathbf { v } _ { j }$ from latent layer $\\mathcal { H }$ have high cosine similarity, then the hash codes $\\mathbf { b } _ { i }$ and $\\mathbf { b } _ { j }$ should also have high chance of obtaining the same hash codes. Beside that, as described in Section 3.1, cosine similarity can also be used to justify the retrieval performance using both the hash codes and quantization error between the continuous codes and hash codes. Given these two circumstances, we therefore propose to maximize the cosine similarity of the continuous codes $\\mathbf { v } _ { n }$ and its corresponding binary orthogonal target, $\\mathbf { o } _ { y _ { n } } \\in [ \\mathbf { o } _ { 1 } , \\therefore \\cdot \\cdot , \\mathbf { o } _ { C } ] ^ { \\top } = \\mathbf { O } \\in \\{ - 1 , + 1 \\} ^ { C \\times K }$ , where this can be achieved by maximizing the posterior probability of the ground-truth class using softmax (cross-entropy) loss: ",
496
+ "bbox": [
497
+ 173,
498
+ 450,
499
+ 826,
500
+ 608
501
+ ],
502
+ "page_idx": 4
503
+ },
504
+ {
505
+ "type": "equation",
506
+ "img_path": "images/b50286c55fdb7f79b4791c48f94c6f7d9ad114e2f80dfca5c2d8d9ca4c8aa213.jpg",
507
+ "text": "$$\nL = - \\frac { 1 } { N } \\sum _ { n = 1 } ^ { N } \\log \\frac { \\exp { ( \\mathbf { o } _ { y _ { n } } ^ { \\intercal } \\mathbf { v } _ { n } ) } } { \\sum _ { i = 1 } ^ { C } \\exp { ( \\mathbf { o } _ { i } ^ { \\intercal } \\mathbf { v } _ { n } ) } } ,\n$$",
508
+ "text_format": "latex",
509
+ "bbox": [
510
+ 372,
511
+ 614,
512
+ 624,
513
+ 659
514
+ ],
515
+ "page_idx": 4
516
+ },
517
+ {
518
+ "type": "text",
519
+ "text": "where $\\mathbf { v } _ { n }$ denotes the deep continuous codes of the $n$ -th samples from DNN $\\phi$ and both $\\mathbf { o } _ { y _ { n } }$ , $\\mathbf { o } _ { i } \\in \\mathbf { O }$ denote the ground-truth class $y _ { n }$ and the $i$ -th class of the binary orthogonal targets. For simplicity, we omit the bias term from equation (8). It follows that under the framework of deep hypersphere embedding [35, 42, 10], we can transform the logit $\\mathbf { o } _ { i } ^ { \\mathsf { T } } \\mathbf { v } _ { n } = \\left\\| \\mathbf { o } _ { i } \\right\\| \\left\\| \\mathbf { v } _ { n } \\right\\| \\cos \\theta _ { n i }$ where $\\theta _ { n i }$ is the angle between the continuous codes $\\mathbf { v } _ { n }$ and the binary orthogonal target √ $\\mathbf { o } _ { i }$ . Next, we perform $\\mathrm { L _ { 2 } }$ normalization on $\\mathbf { v } _ { n }$ so that $\\left\\| \\mathbf { v } _ { n } \\right\\| = 1$ , and $\\| \\mathbf { o } _ { i } \\| = { \\dot { \\sqrt { K } } }$ since it is in binary form. Now our loss function can be rewritten as: ",
520
+ "bbox": [
521
+ 173,
522
+ 662,
523
+ 825,
524
+ 763
525
+ ],
526
+ "page_idx": 4
527
+ },
528
+ {
529
+ "type": "equation",
530
+ "img_path": "images/afe1a6a0da2936866c7798062cf1d020c19a6170b22568638c9d85806c1c2b5b.jpg",
531
+ "text": "$$\nL = - \\frac { 1 } { N } \\sum _ { n = 1 } ^ { N } \\log \\frac { \\exp { ( \\sqrt { K } \\cos \\theta _ { y _ { n } } ) } } { \\exp { ( \\sqrt { K } \\cos \\theta _ { y _ { n } } ) } + \\sum _ { i = 1 , i \\neq y _ { n } } ^ { C } \\exp { ( \\sqrt { K } \\cos \\theta _ { n i } ) } } .\n$$",
532
+ "text_format": "latex",
533
+ "bbox": [
534
+ 266,
535
+ 766,
536
+ 732,
537
+ 811
538
+ ],
539
+ "page_idx": 4
540
+ },
541
+ {
542
+ "type": "text",
543
+ "text": "As such, instead of introducing the quantization error minimization in the learning objective (equation (4)), our proposed method unifies both the learning objective and quantization error minimization together under a single classification objective as shown in the loss function (equation (9)). Furthermore, since the binary orthogonal targets attain maximal inter-class Hamming distance and that our loss function also aims to minimize the intra-class variance, we can leverage on cosine or angular margin4 that have been proven to be beneficial in CosFace [42] and ArcFace [10], to further improve the minimization of intra-class variance (we set $m = 0 . 2$ in all of our experiments unless mentioned explicitly). With this, our method is able to perform end-to-end training to learn highly discriminative hash codes without both the sophisticated training objectives and computational graph modifications. ",
544
+ "bbox": [
545
+ 173,
546
+ 816,
547
+ 826,
548
+ 887
549
+ ],
550
+ "page_idx": 4
551
+ },
552
+ {
553
+ "type": "text",
554
+ "text": "",
555
+ "bbox": [
556
+ 174,
557
+ 90,
558
+ 825,
559
+ 147
560
+ ],
561
+ "page_idx": 5
562
+ },
563
+ {
564
+ "type": "text",
565
+ "text": "3.2.1 Binary Orthogonal Target ",
566
+ "text_level": 1,
567
+ "bbox": [
568
+ 174,
569
+ 166,
570
+ 406,
571
+ 183
572
+ ],
573
+ "page_idx": 5
574
+ },
575
+ {
576
+ "type": "text",
577
+ "text": "The maximization of the expectation of inter-class Hamming distance will help to increase the recall rate during retrieval as there will be lesser chance to retrieve incorrect items, because the aim is to retrieve more similar items (intra-class), and avoid to retrieve incorrect items (interclass). That is, given a K-bit Hamming space $\\mathbb { H } ^ { K } \\in \\{ - 1 , + 1 \\} ^ { K }$ , for any two binary vectors $\\mathbf { b } _ { i } , \\mathbf { b } _ { j }$ sampled with probability $p$ for $+ 1$ on each bit, the expectation of Hamming distance is $\\mathbb { E } [ D ( { \\mathbf b } _ { i } , { \\mathbf b } _ { j } ) ] = 2 \\cdot K \\cdot p ( 1 - p )$ and it achieves the upper bound of $\\begin{array} { l } { { \\frac { K } { 2 } } } \\end{array}$ with $p = 0 . 5$ [12, 50] (See Appendix B in supplementary material for details.). Hence, hash codes $\\mathbf { b } _ { i }$ and $\\mathbf { b } _ { j }$ must be orthogonal so that we can get $\\begin{array} { r } { D ( { \\mathbf b } _ { i } , { \\mathbf b } _ { j } ) = \\frac { K } { 2 } } \\end{array}$ in equation (3). ",
578
+ "bbox": [
579
+ 173,
580
+ 193,
581
+ 826,
582
+ 309
583
+ ],
584
+ "page_idx": 5
585
+ },
586
+ {
587
+ "type": "text",
588
+ "text": "Orthogonal Targets Generation. Hadamard matrix naturally contains orthogonal rows and columns, which guarantees the maximum Hamming distance of $\\textstyle { \\frac { K } { 2 } }$ between any two rows [50, 29]. However, it is restricted when $K$ is not 1, 2, or a multiple of 4. Hence, a simple solution is to sample the targets from $B e r n ( 0 . 5 )$ which every sampled bit has the probability $p = 0 . 5$ to be $+ 1$ . The result is the expectation of Hamming distance between any two rows equals to $\\frac { K } { 2 }$ which indicates orthogonality. One limitation is that if , the nearest rows in the sampled targets will be identical, which causes performance degrade. Hence, a simple solution is to increase $K$ . In supplementary material (Appendix D.3), we show that the two nearest rows has Hamming distance closed to $\\frac { \\tilde { K } } { 2 }$ as $K$ is higher. We also generate the targets with the objective of maximum inter-class Hamming distance heuristically, it indeed improved the performance at lower $K$ , but the improvement in higher $K$ are negligible. ",
589
+ "bbox": [
590
+ 173,
591
+ 314,
592
+ 826,
593
+ 470
594
+ ],
595
+ "page_idx": 5
596
+ },
597
+ {
598
+ "type": "text",
599
+ "text": "3.2.2 Multi-labels Hash Codes Learning ",
600
+ "text_level": 1,
601
+ "bbox": [
602
+ 174,
603
+ 491,
604
+ 465,
605
+ 506
606
+ ],
607
+ "page_idx": 5
608
+ },
609
+ {
610
+ "type": "text",
611
+ "text": "As conventional cross-entropy loss only works for single-label classification, we leverage the concept of Label Smoothing [38] to generate labels for multi-labels classification. A standard cross entropy (CE) loss is mathematically formulated as: ",
612
+ "bbox": [
613
+ 173,
614
+ 516,
615
+ 825,
616
+ 559
617
+ ],
618
+ "page_idx": 5
619
+ },
620
+ {
621
+ "type": "equation",
622
+ "img_path": "images/3ff13b3e6b6b7ca4fc5168d56345106e4542f80b4d68ed7e57e38d71b7a084de.jpg",
623
+ "text": "$$\nL = - \\frac { 1 } { N } \\sum _ { n = 1 } ^ { N } \\sum _ { i = 1 } ^ { C } y _ { n i } \\log ( p ( y _ { n i } | \\mathbf { x } _ { n } ) ) ,\n$$",
624
+ "text_format": "latex",
625
+ "bbox": [
626
+ 372,
627
+ 569,
628
+ 624,
629
+ 614
630
+ ],
631
+ "page_idx": 5
632
+ },
633
+ {
634
+ "type": "text",
635
+ "text": "in which $y _ { n i } = 1$ if $i$ -th class is assigned to the $n$ -th sample in a single label multiclass classification task. In [38], the target label becomes soft-target such that non-target class has a small \"smoothing\" value to regularize overconfident samples and we leverage this concept for multi-labels. To adopt CE for multi labels classification, we set $y _ { n i } = z > 0$ if any $i$ -th class are assigned to $n$ -th sample. The constant $z$ is determined such that $\\textstyle \\sum _ { i = 1 } ^ { C } y _ { n i } = 1$ , e.g., $z = 0 . 5$ and ${ \\bf y } _ { n } = [ 0 , 0 . 5 , 0 , 0 . 5 ]$ when the $2 ^ { \\mathrm { n d } }$ and the $4 ^ { \\mathrm { t h } }$ classes are the assigned classes. Our motivation is that the model should maximize the probabilities of the target classes, which can optimize the hash codes to be as similar as the binary targets from assigned classes5. In our experiments, we found out empirically that replacing softmax with sigmoid for multi-labels are not effective6. A likely explanation is that softmax will intrinsically suppress the lower activated class unit (i.e., scaled cosine similarity) with lower probability and increase the highly activated class unit with higher probability, while sigmoid will treat each class unit as an individual unit. As a result, maximizing probability of a class might not lead to minimizing the probability of other classes. Therefore, we propose to leverage the concept of Label Smoothing to generate labels so that we can use cross entropy loss for learning. ",
636
+ "bbox": [
637
+ 173,
638
+ 623,
639
+ 825,
640
+ 823
641
+ ],
642
+ "page_idx": 5
643
+ },
644
+ {
645
+ "type": "text",
646
+ "text": "3.2.3 Code Balance ",
647
+ "text_level": 1,
648
+ "bbox": [
649
+ 174,
650
+ 90,
651
+ 320,
652
+ 106
653
+ ],
654
+ "page_idx": 6
655
+ },
656
+ {
657
+ "type": "text",
658
+ "text": "Although binary orthogonal target helps in code balancing, since every bit has $50 \\%$ of chance being $+ 1$ or $- 1$ , there is no guarantee that the model will learn to output a balanced code. Therefore, we propose to add a batch normalization (BN) layer after the continuous codes $v$ to ensure the code balance. If $\\textstyle \\sum _ { n } \\mathbf { v } _ { n k } = 0$ , then we can see that $\\dot { \\sum _ { n } } \\mathbf { b } _ { n k } = 0$ for the $k$ -th bit. Because the distribution of $\\mathbf { v }$ has been normalized to have zero-mean and variance of 1, with $\\mathbf { b } = s g n ( \\mathbf { v } )$ , the hash codes b will follow a uniform binary distribution with $50 \\%$ chances on both $+ 1$ and $- 1$ . Empirically, we found that it improves the retrieval performance on ImageNet100 by about $1 7 - 2 0 \\%$ as compared with a model with normal cross entropy loss (see Table 1). Note that the Bi-half method [27] shifts the continuous codes by their median, followed by converting the continuous codes to binary codes for optimization. However, it will have to modify the computational graph in order to have a proxy derivative to the solve vanishing gradient problem. In contrast, appending BN layer will not modify the computational graph, therefore enabling straightforward end-to-end training. ",
659
+ "bbox": [
660
+ 173,
661
+ 114,
662
+ 825,
663
+ 281
664
+ ],
665
+ "page_idx": 6
666
+ },
667
+ {
668
+ "type": "text",
669
+ "text": "4 Experiment ",
670
+ "text_level": 1,
671
+ "bbox": [
672
+ 174,
673
+ 300,
674
+ 303,
675
+ 318
676
+ ],
677
+ "page_idx": 6
678
+ },
679
+ {
680
+ "type": "text",
681
+ "text": "Training Setup. We select 7 different deep hashing methods for comparison (5 point-wise, 1 pairwise and 1 triplet-wise). For a fair comparison, we use the same learning rate of 0.0001, Adam optimizer [18] and 100 epochs for all methods. For SDH-C [31], we have modified it from pair-wise objective to point-wise objective, while all penalty terms are kept (i.e., quantization loss, bit variance loss and orthogonality on projection weights). ",
682
+ "bbox": [
683
+ 174,
684
+ 330,
685
+ 825,
686
+ 401
687
+ ],
688
+ "page_idx": 6
689
+ },
690
+ {
691
+ "type": "text",
692
+ "text": "Datasets. We follow prior works [5, 12, 41, 33, 40, 48, 23, 34] and choose ImageNet100 [9], NUSWIDE [8] and MS-COCO [30] for category-level retrieval experiments. For a more practical yet challenging large-scale instance-level retrieval task (i.e., tremendous number of classes), we evaluate on the popular GLDv2 [47], ROxf and RPar [39]. ",
693
+ "bbox": [
694
+ 174,
695
+ 406,
696
+ 825,
697
+ 463
698
+ ],
699
+ "page_idx": 6
700
+ },
701
+ {
702
+ "type": "text",
703
+ "text": "Architecture. For category-level retrieval, following the settings in [5, 41, 40, 12], we use pre-trained AlexNet [20] as the network backbone initialization. The output from last fully-connected with ReLU (4096-dimension vector) acts as input to the latent layer; various supervised deep hashing methods are then applied to generate binary codes. The image size is $2 2 4 \\times 2 2 4$ . For instance-level retrieval, due to the expensive cost of training from scratch, we use pre-trained model7 (R50-DELG-GLDv2- clean) from DELG [3] to compute the 2048-dimension global descriptors. We then train a latent layer $\\mathcal { H }$ to compute hash codes where inputs are the global descriptors. For GLDv2, the images input are√ $5 1 2 \\times 5 1 2$ . For $\\mathcal { R } \\mathrm { O x f }$ and RPar, we use 3 scales $\\{ \\frac { 1 } { \\sqrt { 2 } } , 1 , \\sqrt { 2 } \\}$ to produce multi-scale representations. These are subject to $\\mathrm { L _ { 2 } }$ normalization, and then average-pooled to obtain a single descriptor as done by [3]. A $G L D \\nu 2$ -trained latent layer is used to compute hash codes for the evaluations. ",
704
+ "bbox": [
705
+ 173,
706
+ 469,
707
+ 825,
708
+ 612
709
+ ],
710
+ "page_idx": 6
711
+ },
712
+ {
713
+ "type": "text",
714
+ "text": "Details of training setups, datasets and architecture can be found in the supplementary material (Appendix C). ",
715
+ "bbox": [
716
+ 174,
717
+ 618,
718
+ 823,
719
+ 647
720
+ ],
721
+ "page_idx": 6
722
+ },
723
+ {
724
+ "type": "text",
725
+ "text": "4.1 Results on Category-level Retrieval ",
726
+ "text_level": 1,
727
+ "bbox": [
728
+ 176,
729
+ 662,
730
+ 457,
731
+ 678
732
+ ],
733
+ "page_idx": 6
734
+ },
735
+ {
736
+ "type": "text",
737
+ "text": "For performance evaluation8, we use mean average precision $( \\mathrm { m A P } @ \\mathrm { R } )$ which is the mean of average precision scores of the top R retrieved items. Table 1 offers performance comparison amongst all selected hashing methods and our methods $^ +$ variants). CE denotes model trained with cross entropy only, the hash codes are computed from sign of continuous codes. $\\mathbf { C E + B N }$ denotes CE model with BN layer [17] appended after the latent layer. $\\mathbf { C E + }$ Bihalf denotes CE model with Bihalf9 [27] layer appended after the latent layer. OrthoCos denotes model trained with cosine margin and binary orthogonal target. OrthoCos+Bihalf denotes a variant of OrthoCos, and with Bihalf layer appended. OrthoCos+BN denotes a variant of OrthoCos, and with BN layer appended. OrthoArc $\\mathbf { \\Gamma } + \\mathbf { B } \\mathbf { N }$ denotes a variant of $\\mathbf { O r t h o C o s + B N }$ , trained with angular margin. ",
738
+ "bbox": [
739
+ 173,
740
+ 688,
741
+ 825,
742
+ 814
743
+ ],
744
+ "page_idx": 6
745
+ },
746
+ {
747
+ "type": "text",
748
+ "text": "Overall. It can be observed that both our OrthoCos+BN and OrthoArc+BN perform better than recent state-of-the-art, DPN [12] and CSQ [50]. On multi-labeled datasets (i.e., NUS-WIDE and MS ",
749
+ "bbox": [
750
+ 176,
751
+ 819,
752
+ 821,
753
+ 848
754
+ ],
755
+ "page_idx": 6
756
+ },
757
+ {
758
+ "type": "table",
759
+ "img_path": "images/8aef6acdefb08ce487223cbc70b4896b5cc6d062f6f222d79744e749fcedae93.jpg",
760
+ "table_caption": [],
761
+ "table_footnote": [
762
+ "Table 1: Performance of different methods for 4 different bits on different benchmark datasets. All results are run by us. The superscript 1, 2 and 3 indicate point-wise, pair-wise and triplet-wise method respectively. Bold values indicate best performance in the column. "
763
+ ],
764
+ "table_body": "<table><tr><td rowspan=\"2\">Methods</td><td colspan=\"4\">ImageNet100 (mAP@ 1K)</td><td colspan=\"4\">NUS-WIDE (mAP@5K)</td><td colspan=\"4\">MS COCO (mAP@5K)</td></tr><tr><td>16</td><td>32</td><td>64</td><td>128</td><td>16</td><td>32</td><td>64</td><td>128</td><td>16 32</td><td></td><td>64</td><td>128</td></tr><tr><td>HashNet2 [5]</td><td>0.343</td><td>0.480</td><td>0.573</td><td>0.612</td><td>0.814</td><td>0.831</td><td>0.842</td><td>0.847</td><td>0.663</td><td>0.693</td><td>0.713</td><td>0.727</td></tr><tr><td>DTSH³ [45]</td><td>0.442</td><td>0.528</td><td>0.581</td><td>0.612</td><td>0.816</td><td>0.836</td><td>0.851</td><td>0.862</td><td>0.699</td><td>0.732</td><td>0.753</td><td>0.770</td></tr><tr><td>SDH-C1 [31]</td><td>0.584</td><td>0.649</td><td>0.664</td><td>0.662</td><td>0.763</td><td>0.792</td><td>0.816</td><td>0.832</td><td>0.671</td><td>0.710</td><td>0.733</td><td>0.742</td></tr><tr><td>GreedyHash1 [41]</td><td>0.570</td><td>0.639</td><td>0.659</td><td>0.659</td><td>0.771</td><td>0.797</td><td>0.815</td><td>0.832</td><td>0.677</td><td>0.722</td><td>0.740</td><td>0.746</td></tr><tr><td>JMLH1 [40]</td><td>0.517</td><td>0.621</td><td>0.662</td><td>0.678</td><td>0.791</td><td>0.825</td><td>0.836</td><td>0.843</td><td>0.689</td><td>0.733</td><td>0.758</td><td>0.768</td></tr><tr><td>DPN1 [12]</td><td>0.592</td><td>0.670</td><td>0.703</td><td>0.714</td><td>0.783</td><td>0.818</td><td>0.838</td><td>0.842</td><td>0.668</td><td>0.721</td><td>0.752</td><td>0.773</td></tr><tr><td>CSQ1 [50]</td><td>0.586</td><td>0.666</td><td>0.693</td><td>0.700</td><td>0.797</td><td>0.824</td><td>0.835</td><td>0.839</td><td>0.693</td><td>0.762</td><td>0.781</td><td>0.789</td></tr><tr><td>CE1</td><td>0.350</td><td>0.379</td><td>0.406</td><td>0.445</td><td>0.744</td><td>0.770</td><td>0.796</td><td>0.813</td><td>0.602</td><td>0.639</td><td>0.658</td><td>0.676</td></tr><tr><td>CE+BN1</td><td>0.533</td><td>0.586</td><td>0.612</td><td>0.617</td><td>0.801</td><td>0.814</td><td>0.823</td><td>0.825</td><td>0.697</td><td>0.721</td><td>0.729</td><td>0.726</td></tr><tr><td>CE+Bihalf1 [27]</td><td>0.541</td><td>0.630</td><td>0.661</td><td>0.662</td><td>0.802</td><td>0.825</td><td>0.836</td><td>0.839</td><td>0.674</td><td>0.728</td><td>0.755</td><td>0.757</td></tr><tr><td>OrthoCos1</td><td>0.583</td><td>0.660</td><td>0.702</td><td>0.714</td><td>0.795</td><td>0.826</td><td>0.842</td><td>0.851</td><td>0.690</td><td>0.745</td><td>0.772</td><td>0.784</td></tr><tr><td>OrthoCos+Bihalfl</td><td>0.562</td><td>0.656</td><td>0.698</td><td>0.711</td><td>0.804</td><td>0.834</td><td>0.846</td><td>0.852</td><td>0.690</td><td>0.746</td><td>0.775</td><td>0.782</td></tr><tr><td>OrthoCos+BN1</td><td>0.606</td><td>0.679</td><td>0.711</td><td>0.717</td><td>0.804</td><td>0.836</td><td>0.850</td><td>0.856</td><td>0.709</td><td>0.762</td><td>0.787</td><td>0.797</td></tr><tr><td>OrthoArc+BN1</td><td>0.614</td><td>0.681</td><td>0.709</td><td>0.714</td><td>0.806</td><td>0.833</td><td>0.850</td><td>0.856</td><td>0.708</td><td>0.762</td><td>0.785</td><td>0.794</td></tr></table>",
765
+ "bbox": [
766
+ 173,
767
+ 89,
768
+ 825,
769
+ 306
770
+ ],
771
+ "page_idx": 7
772
+ },
773
+ {
774
+ "type": "table",
775
+ "img_path": "images/85704b389e01165d5690091ad480d6288e7ab3c715aac8fadf9104080fd3b847.jpg",
776
+ "table_caption": [],
777
+ "table_footnote": [
778
+ "Table 2: Performance of different methods for 3 different numbers of bits on different instance-level benchmark datasets. All results are run by us. The superscript 1 and 2 indicate point-wise and pair-wise method respectively. Bold values indicate best performance in the column. \\* indicates using $5 1 2 \\times 5 1 2$ image inputs, hence different performance as reported by DELG [3]. R50-DELG-H denotes Hamming distance retrieval using the sign of extracted descriptors. R50-DELG-C denotes Cosine distance retrieval using the extracted descriptors. "
779
+ ],
780
+ "table_body": "<table><tr><td rowspan=\"2\">Methods</td><td colspan=\"2\">GLDv2 (mAP@ 100)</td><td colspan=\"2\">ROxf-Hard (mAP@ all)</td><td colspan=\"3\">RParis-Hard (mAP@ all)</td></tr><tr><td>128 512</td><td>2048</td><td>128 512</td><td>2048</td><td>128</td><td>512</td><td>2048</td></tr><tr><td>HashNet² [5]</td><td>0.018 0.069</td><td>0.111</td><td>0.034 0.058</td><td>0.307</td><td>0.133</td><td>0.190</td><td>0.490</td></tr><tr><td>DPN1 [12]</td><td>0.021 0.089</td><td>0.133</td><td>0.053 0.184</td><td>0.303</td><td>0.224</td><td>0.399</td><td>0.562</td></tr><tr><td>GreedyHash1 [41]</td><td>0.029 0.108</td><td>0.144</td><td>0.032 0.251</td><td>0.373</td><td>0.128</td><td>0.531</td><td>0.652</td></tr><tr><td>CSQ1 [50]</td><td>0.023 0.086</td><td>0.114</td><td>0.093 0.284</td><td>0.398</td><td>0.245</td><td>0.541</td><td>0.649</td></tr><tr><td>OrthoCos+BN1</td><td>0.035 0.111</td><td>0.147</td><td>0.184 0.359</td><td>0.447</td><td>0.416</td><td>0.608</td><td>0.669</td></tr><tr><td>R50-DELG-H</td><td>- 1</td><td>0.125*</td><td>-</td><td>0.471</td><td>-</td><td>1</td><td>0.682</td></tr><tr><td>R50-DELG-C</td><td>=</td><td>0.138*</td><td>1</td><td>1</td><td>0.510</td><td></td><td>0.715</td></tr></table>",
781
+ "bbox": [
782
+ 173,
783
+ 364,
784
+ 825,
785
+ 522
786
+ ],
787
+ "page_idx": 7
788
+ },
789
+ {
790
+ "type": "text",
791
+ "text": "COCO), DTSH [45] (triplet based method) performed the best with 0.851 and 0.862 with 64 and 128-bits hash codes in NUS-WIDE followed by our method (e.g., OrthoCos+BN achieves 0.850 and 0.856 in the same settings), while $\\mathbf { O r t h o C o s + B N }$ and OrthoArc $\\mathbf { \\Gamma } + \\mathbf { B } \\mathbf { N }$ performed the best on MS-COCO with at most $1 \\%$ improvement over previous deep hashing methods. ",
792
+ "bbox": [
793
+ 174,
794
+ 640,
795
+ 825,
796
+ 695
797
+ ],
798
+ "page_idx": 7
799
+ },
800
+ {
801
+ "type": "text",
802
+ "text": "Code Balance. Although retrieval performance of CE models performed the worst, but by appending BN layer after the latent layer $\\mathbf { \\left( C E { + } B N \\right) }$ , we were able to observe $5 \\%$ improvement over all settings (dataset and number of bits). Bihalf [27] layer (zero-median features) has a proxy derivative to learn hash features, hence getting $0 . 1 { - } 4 . 9 \\%$ improvement than $\\mathbf { C E + B N }$ . This indicates that without sophisticated training objectives, code balance itself is a very important factor in improving Hamming distance based retrieval. However, OrthoCos+Bihalf does not show significant improvement over OrthoCos+BN, but is comparable with OrthoCos. We thus conclude that our method can achieve code balance without explicitly engineering the computational graph. ",
803
+ "bbox": [
804
+ 173,
805
+ 702,
806
+ 825,
807
+ 814
808
+ ],
809
+ "page_idx": 7
810
+ },
811
+ {
812
+ "type": "text",
813
+ "text": "Cosine and Angular Margin. In our experiments, we observed that cosine margin $\\left( \\mathbf { O r t h o C o s + B N } \\right)$ slightly outperform angular margin (OrthoArc ${ \\bf \\Lambda } + { \\bf B } { \\bf N }$ ) by about $0 . 2 \\%$ on average. ",
814
+ "bbox": [
815
+ 174,
816
+ 819,
817
+ 821,
818
+ 848
819
+ ],
820
+ "page_idx": 7
821
+ },
822
+ {
823
+ "type": "text",
824
+ "text": "4.2 Results on Instance-Level Retrieval ",
825
+ "text_level": 1,
826
+ "bbox": [
827
+ 176,
828
+ 858,
829
+ 459,
830
+ 872
831
+ ],
832
+ "page_idx": 7
833
+ },
834
+ {
835
+ "type": "text",
836
+ "text": "For evaluation metrics, we adapt the evaluation protocol of [3, 39]. The baseline performance of GLDv2, $\\mathcal { R }$ Oxf-Hard and RPar-Hard from the pre-trained R50-DELG-GLDv2-clean are 0.138, ",
837
+ "bbox": [
838
+ 174,
839
+ 883,
840
+ 823,
841
+ 911
842
+ ],
843
+ "page_idx": 7
844
+ },
845
+ {
846
+ "type": "image",
847
+ "img_path": "images/926efc4a05e93ddd4c90484cd476b05afb61438db4f0abdea45446e001945449.jpg",
848
+ "image_caption": [
849
+ "Figure 3: Histogram of intra-class and inter-class Hamming distances with 64-bits ImageNet100. The arrow annotation is the separability in Hamming distances, $\\mathbb { E } [ D _ { i n t e r } ] - \\mathbb { E } [ D _ { i n t r a } ]$ . We normalized the frequency so that sum of all bins equal to 1. "
850
+ ],
851
+ "image_footnote": [],
852
+ "bbox": [
853
+ 176,
854
+ 90,
855
+ 821,
856
+ 196
857
+ ],
858
+ "page_idx": 8
859
+ },
860
+ {
861
+ "type": "image",
862
+ "img_path": "images/9db1cc0ffaf6099d338a435fe92bde69b1fd3fb14135a5584488d3d74f3b11e2.jpg",
863
+ "image_caption": [
864
+ "Figure 4: Analysis of retrieval performance of 64-bits ImageNet100. (a) Quantization error: $\\theta _ { v b }$ . (b) Separability: $\\mathbb { E } [ D _ { i n t e r } ] - \\mathbb { E } [ D _ { i n t r a } ]$ . (c) Orthogonality: $\\begin{array} { r l } { { \\bf \\nabla } } & { { } \\left\\| \\frac { 1 } { K } { \\bf H } { \\bf H } ^ { \\intercal } - \\mathbb { I } \\right\\| } \\end{array}$ . Blue solid line denotes mean average precision (mAP $@$ 1000) and orange dotted line denotes the respective analysis score. "
865
+ ],
866
+ "image_footnote": [],
867
+ "bbox": [
868
+ 174,
869
+ 265,
870
+ 823,
871
+ 391
872
+ ],
873
+ "page_idx": 8
874
+ },
875
+ {
876
+ "type": "text",
877
+ "text": "0.510 and 0.715 respectively. Table 2 summarizes the performance of different deep hashing methods and our method. For all the 3 datasets, our method outperforms all previous deep hashing methods on all bits. This suggests that our method has a better generalization ability on unseen instances than previous deep hashing methods. In particular, our model significantly outperforms previous deep hashing models by $0 . 6 \\%$ , $9 . 1 \\%$ and $1 7 . 1 \\%$ respectively on the 3 datasets with 128-bits hash codes. ",
878
+ "bbox": [
879
+ 174,
880
+ 472,
881
+ 825,
882
+ 541
883
+ ],
884
+ "page_idx": 8
885
+ },
886
+ {
887
+ "type": "text",
888
+ "text": "Orthogonal Transformation. For GLDv2 2048-bits hash codes, surprisingly it can achieve a much better performance than the pre-trained 2048-dimensions descriptors (by $1 . 1 \\%$ improvement over R50-DELG-C). We then analyze the separability in cosine distances, i.e., the difference in the mean of intra-class cosine distance and the mean of inter-class cosine distance before and after the transformation (similar to Figure 3). We observe that the separability in cosine distances increases after the orthogonal transformation, i.e., before it is 0.142 and after it increases to 0.167. The results thus show that learning orthogonal hash codes can transform the inputs to be more discriminative. ",
889
+ "bbox": [
890
+ 174,
891
+ 547,
892
+ 825,
893
+ 645
894
+ ],
895
+ "page_idx": 8
896
+ },
897
+ {
898
+ "type": "text",
899
+ "text": "Domain shifting with BN. As the model is trained with GLDv2, the running mean and variance in the BN layer might experience domain shifting problem [26] when testing directly on different datasets (e.g., ROxf and RPar). We empirically found that using running mean and variance from GLDv2 will lead to a large performance drop in Hamming distance retrieval10. One simple solution is to recompute the mean and variance from all continuous codes in the database, then update the running mean and variance with the computed mean and variance. The performances of $\\mathcal { R } \\mathrm { O x f }$ and RPar in Table 2 are obtained with running mean and variance of the respective database. ",
900
+ "bbox": [
901
+ 174,
902
+ 651,
903
+ 825,
904
+ 748
905
+ ],
906
+ "page_idx": 8
907
+ },
908
+ {
909
+ "type": "text",
910
+ "text": "4.3 Further Analysis ",
911
+ "text_level": 1,
912
+ "bbox": [
913
+ 174,
914
+ 768,
915
+ 331,
916
+ 784
917
+ ],
918
+ "page_idx": 8
919
+ },
920
+ {
921
+ "type": "text",
922
+ "text": "Histogram of Hamming Distances. Figure 3 summarizes the histogram of intra-class and interclass distances. We compare our method OrthoCos+BN with pair-wise method HashNet [5] and point-wise classification based GreedyHash [41]. Although the distribution of inter-class distances are about the same for all the 3 methods (close to Hamming distance of $K / 2 = 3 2$ ), we can see that the larger the separability i.e., the difference in the mean of intra-class distance (the blue dotted line) with the mean of inter-class distance (the orange dotted line), the better the performance. ",
923
+ "bbox": [
924
+ 174,
925
+ 796,
926
+ 826,
927
+ 878
928
+ ],
929
+ "page_idx": 8
930
+ },
931
+ {
932
+ "type": "text",
933
+ "text": "Performance Improvement Analysis. We further analyze the reasons behind performance improvements of different deep hashing methods, and summarizes the results in Figure 4. We conclude 3 main reasons that contribute to the improvement in deep hashing methods: i) quantization error; ii) the separability in Hamming distances; and iii) orthogonality in hash centers. For quantization error, we measure the angle $\\theta _ { v b }$ between the continuous codes $\\mathbf { v }$ and the hash codes $\\mathbf { b }$ , i.e., $\\begin{array} { r } { \\theta _ { v b } = d e g ( \\operatorname { a r c c o s } \\big ( \\frac { \\mathbf { v } ^ { \\mathsf { T } } \\mathbf { b } } { \\lVert \\mathbf { v } \\rVert \\lVert \\mathbf { b } \\rVert } \\big ) \\big ) } \\end{array}$ . For separability, we measure the difference in the mean of inter-class distances and the mean of intra-class distances, i.e., $\\mathbb { E } [ D _ { i n t e r } ] - \\mathbb { E } [ D _ { i n t r a } ]$ . For orthogonality, we first compute the hash centers $\\mathbf { H } \\in \\{ - 1 , + 1 \\} ^ { C \\times K }$ for every class (by taking the sign of average hash codes in every class), then we measure the orthogonality with $\\begin{array} { r l } { { \\big \\| \\frac { 1 } { K } \\mathbf H \\mathbf H ^ { \\intercal } - \\mathbb { I } \\big \\| } } & { { } } \\end{array}$ (lower is better). When the quantization error reduces, the separability increases and the hash centers has better orthogonality, resulting in better performance. ",
934
+ "bbox": [
935
+ 174,
936
+ 90,
937
+ 826,
938
+ 250
939
+ ],
940
+ "page_idx": 9
941
+ },
942
+ {
943
+ "type": "text",
944
+ "text": "5 Conclusion & Future Work ",
945
+ "text_level": 1,
946
+ "bbox": [
947
+ 176,
948
+ 262,
949
+ 433,
950
+ 279
951
+ ],
952
+ "page_idx": 9
953
+ },
954
+ {
955
+ "type": "text",
956
+ "text": "We propose to unify training objectives of deep hashing under a single classification objective. We show this can be achieved by maximizing the cosine similarity between the continuous codes and binary orthogonal target under a cross entropy loss. For that, we first reformulated the problem of deep hashing in the lens of cosine similarity. We then demonstrated that if we perform $\\mathrm { L _ { 2 } }$ -normalization on the continuous codes, then end-to-end training of deep hashing is possible without any extra sophisticated constraints. Moreover, we leverage the concept of Label Smoothing to train multilabels classification with cross-entropy loss and batch normalization for code balancing. Extensive experiments validated the efficiency of our method in both category-level and instance-level retrieval benchmarks. ",
957
+ "bbox": [
958
+ 173,
959
+ 295,
960
+ 825,
961
+ 419
962
+ ],
963
+ "page_idx": 9
964
+ },
965
+ {
966
+ "type": "text",
967
+ "text": "Nonetheless, the proposed method might fail when the number of bits is too small ( $^ { < 8 }$ bits), especially when number of classes is much greater than the number of bits. In this case, there will be overlapping in the generated target code (i.e., the number of maximum unique codes is equal to $2 ^ { K }$ where $K$ is number of bits). In such condition, the target code will also not guarantee to be orthogonal. Overcoming this limitation is part of the future work. Also, we are exploring how to learn better feature representations to improve the retrieval performance by using hash codes through unsupervised learning. ",
968
+ "bbox": [
969
+ 173,
970
+ 425,
971
+ 825,
972
+ 523
973
+ ],
974
+ "page_idx": 9
975
+ },
976
+ {
977
+ "type": "text",
978
+ "text": "Broader Impact ",
979
+ "text_level": 1,
980
+ "bbox": [
981
+ 174,
982
+ 545,
983
+ 310,
984
+ 561
985
+ ],
986
+ "page_idx": 9
987
+ },
988
+ {
989
+ "type": "text",
990
+ "text": "Hashing remains a key bottleneck in practical deployments of large-scale retrieval systems. Recent deep hashing frameworks have shown great promise in learning code that are both compact and discriminative. Yet state-of-the-art frameworks are known to be difficult to train and to reproduce – largely owing to their complex loss designs that dictates hyperparameter tuning and multi-stage training. In this work, we set out to change that – we attempt to unify deep hashing under $a$ single objective, therefore simplifying training and help reproducibility. Our key intuition lies with reformulating hashing in the lens of cosine similarity. We report competitive hashing performance on all common datasets, and significant improvements over state-of-the-arts on the more challenging task of instance-level retrieval. ",
991
+ "bbox": [
992
+ 173,
993
+ 577,
994
+ 825,
995
+ 703
996
+ ],
997
+ "page_idx": 9
998
+ },
999
+ {
1000
+ "type": "text",
1001
+ "text": "Acknowledgments and Disclosure of Funding ",
1002
+ "text_level": 1,
1003
+ "bbox": [
1004
+ 174,
1005
+ 724,
1006
+ 553,
1007
+ 742
1008
+ ],
1009
+ "page_idx": 9
1010
+ },
1011
+ {
1012
+ "type": "text",
1013
+ "text": "This research is partly supported by the Fundamental Research Grant Scheme (FRGS) MoHE Grant FP021-2018A, from the Ministry of Education Malaysia. We also thank Kilho Shin for helpful discussions and recommendations. ",
1014
+ "bbox": [
1015
+ 176,
1016
+ 757,
1017
+ 825,
1018
+ 799
1019
+ ],
1020
+ "page_idx": 9
1021
+ },
1022
+ {
1023
+ "type": "text",
1024
+ "text": "References ",
1025
+ "text_level": 1,
1026
+ "bbox": [
1027
+ 176,
1028
+ 820,
1029
+ 266,
1030
+ 837
1031
+ ],
1032
+ "page_idx": 9
1033
+ },
1034
+ {
1035
+ "type": "text",
1036
+ "text": "[1] Yoshua Bengio, Nicholas Léonard, and Aaron Courville. Estimating or propagating gradients through stochastic neurons for conditional computation. arXiv preprint arXiv:1308.3432, 2013. \n[2] Levi Boyles, Aniket Anand Deshmukh, Urun Dogan, Rajesh Koduru, Charles Denis, and Eren Manavoglu. Semantic hashing with locality sensitive embeddings, 2021. \n[3] Bingyi Cao, André Araujo, and Jack Sim. Unifying deep local and global features for image search. In Andrea Vedaldi, Horst Bischof, Thomas Brox, and Jan-Michael Frahm, editors, Computer Vision – ECCV 2020, pages 726–743, Cham, 2020. Springer International Publishing. \n[4] Yue Cao, Mingsheng Long, Bin Liu, and Jianmin Wang. Deep cauchy hashing for hamming space retrieval. In 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 1229–1237, 2018. \n[5] Zhangjie Cao, Mingsheng Long, Jianmin Wang, and Philip S. Yu. Hashnet: Deep learning to hash by continuation. In 2017 IEEE International Conference on Computer Vision (ICCV), pages 5609–5618, 2017. \n[6] Moses S Charikar. Similarity estimation techniques from rounding algorithms. In Proceedings of the thiry-fourth annual ACM symposium on Theory of computing, pages 380–388, 2002. \n[7] Ken Chatfield, Karen Simonyan, Andrea Vedaldi, and Andrew Zisserman. Return of the devil in the details: Delving deep into convolutional nets. arXiv preprint arXiv:1405.3531, 2014. \n[8] Tat-Seng Chua, Jinhui Tang, Richang Hong, Haojie Li, Zhiping Luo, and Yan-Tao Zheng. Nus-wide: A real-world web image database from national university of singapore. In Proceedings of the ACM international conference on image and video retrieval, pages 1–9, Santorini, Greece., July 8-10, 2009. [9] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE Conference on Computer Vision and Pattern Recognition, pages 248–255, 2009. \n[10] Jiankang Deng, Jia Guo, Xue Niannan, and Stefanos Zafeiriou. Arcface: Additive angular margin loss for deep face recognition. In 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2019. \n[11] Shiv Ram Dubey. A decade survey of content based image retrieval using deep learning, 2020. \n[12] Lixin Fan, Kam Woh Ng, Ce Ju, Tianyu Zhang, and Chee Seng Chan. Deep polarized network for supervised learning of accurate binary hashing codes. In Christian Bessiere, editor, Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence, IJCAI-20, pages 825–831. International Joint Conferences on Artificial Intelligence Organization, 7 2020. Main track. \n[13] Aristides Gionis, Piotr Indyk, Rajeev Motwani, et al. Similarity search in high dimensions via hashing. In Vldb, volume 99, pages 518–529, 1999. \n[14] Yunchao Gong, Sanjiv Kumar, Vishal Verma, and Svetlana Lazebnik. Angular quantization-based binary codes for fast similarity search. In F. Pereira, C. J. C. Burges, L. Bottou, and K. Q. Weinberger, editors, Advances in Neural Information Processing Systems, volume 25. Curran Associates, Inc., 2012. \n[15] Yunchao Gong, Svetlana Lazebnik, Albert Gordo, and Florent Perronnin. Iterative quantization: A procrustean approach to learning binary codes for large-scale image retrieval. IEEE transactions on pattern analysis and machine intelligence, 35(12):2916–2929, 2012. \n[16] Piotr Indyk and Rajeev Motwani. Approximate nearest neighbors: Towards removing the curse of dimensionality. In Proceedings of the Thirtieth Annual ACM Symposium on Theory of Computing, STOC ’98, page 604–613, New York, NY, USA, 1998. Association for Computing Machinery. \n[17] Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In Francis Bach and David Blei, editors, Proceedings of the 32nd International Conference on Machine Learning, volume 37 of Proceedings of Machine Learning Research, pages 448–456, Lille, France, 07–09 Jul 2015. PMLR. \n[18] Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. \n[19] Weihao Kong and Wu-jun Li. Isotropic hashing. In F. Pereira, C. J. C. Burges, L. Bottou, and K. Q. Weinberger, editors, Advances in Neural Information Processing Systems, volume 25. Curran Associates, Inc., 2012. \n[20] Alex Krizhevsky, Ilya Sutskever, and Geoffrey E. Hinton. Imagenet classification with deep convolutional neural networks. In Proceedings of the 25th International Conference on Neural Information Processing Systems - Volume 1, NIPS’12, page 1097–1105, Red Hook, NY, USA, 2012. Curran Associates Inc. \n[21] Brian Kulis and Trevor Darrell. Learning to hash with binary reconstructive embeddings. In Y. Bengio, D. Schuurmans, J. Lafferty, C. Williams, and A. Culotta, editors, Advances in Neural Information Processing Systems, volume 22. Curran Associates, Inc., 2009. \n[22] Brian Kulis and Kristen Grauman. Kernelized locality-sensitive hashing for scalable image search. In 2009 IEEE 12th international conference on computer vision, pages 2130–2137. IEEE, 2009. \n[23] Hanjiang Lai, Yan Pan, Ye Liu, and Shuicheng Yan. Simultaneous feature learning and hash coding with deep neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 3270–3278, 2015. \n[24] Qi Li, Zhenan Sun, Ran He, and Tieniu Tan. Deep supervised discrete hashing. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc., 2017. \n[25] Wu-Jun Li, Sheng Wang, and Wang-Cheng Kang. Feature learning based deep supervised hashing with pairwise labels. In Proceedings of the Twenty-Fifth International Joint Conference on Artificial Intelligence, IJCAI’16, page 1711–1717. AAAI Press, 2016. \n[26] Yanghao Li, Naiyan Wang, Jianping Shi, Xiaodi Hou, and Jiaying Liu. Adaptive batch normalization for practical domain adaptation. Pattern Recognition, 80:109–117, 2018. \n[27] Yunqiang Li and Jan van Gemert. Deep unsupervised image hashing by maximizing bit entropy. Proceedings of the AAAI Conference on Artificial Intelligence, 2021. \n[28] Guosheng Lin, Chunhua Shen, David Suter, and Anton van den Hengel. A general two-step approach to learning-based hashing. In 2013 IEEE International Conference on Computer Vision, pages 2552–2559, 2013. \n[29] Mingbao Lin, Rongrong Ji, Hong Liu, and Yongjian Wu. Supervised online hashing via hadamard codebook learning. In Proceedings of the 26th ACM International Conference on Multimedia, MM ’18, page 1635–1643, New York, NY, USA, 2018. Association for Computing Machinery. \n[30] Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C. Lawrence Zitnick. Microsoft coco: Common objects in context. In David Fleet, Tomas Pajdla, Bernt Schiele, and Tinne Tuytelaars, editors, Computer Vision – ECCV 2014, pages 740–755, Cham, 2014. Springer International Publishing. \n[31] Venice Erin Liong, Jiwen Lu, Gang Wang, Pierre Moulin, and Jie Zhou. Deep hashing for compact binary codes learning. In 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 2475–2483, 2015. \n[32] Bin Liu, Yue Cao, Mingsheng Long, Jianmin Wang, and Jingdong Wang. Deep triplet quantization. In Proceedings of the 26th ACM international conference on Multimedia, pages 755–763, 2018. \n[33] Haomiao Liu, Ruiping Wang, Shiguang Shan, and Xilin Chen. Deep supervised hashing for fast image retrieval. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 2064–2072, 2016. \n[34] Wei Liu, Jun Wang, Rongrong Ji, Yu-Gang Jiang, and Shih-Fu Chang. Supervised hashing with kernels. In 2012 IEEE Conference on Computer Vision and Pattern Recognition, pages 2074–2081. IEEE, 2012. \n[35] Weiyang Liu, Yandong Wen, Zhiding Yu, Ming Li, Bhiksha Raj, and Le Song. Sphereface: Deep hypersphere embedding for face recognition. In 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 6738–6746, 2017. \n[36] Mohammad Norouzi and David J. Fleet. Minimal loss hashing for compact binary codes. In Proceedings of the 28th International Conference on International Conference on Machine Learning, ICML’11, page 353–360, Madison, WI, USA, 2011. Omnipress. \n[37] Mohammad Norouzi, David J Fleet, and Russ R Salakhutdinov. Hamming distance metric learning. In Advances in neural information processing systems, pages 1061–1069, 2012. \n[38] 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. \n[39] Filip Radenovic, Ahmet Iscen, Giorgos Tolias, Yannis Avrithis, and Ondrej Chum. Revisiting oxford and paris: Large-scale image retrieval benchmarking. In 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 5706–5715, 2018. \n[40] Yuming Shen, Jie Qin, Jiaxin Chen, Li Liu, Fan Zhu, and Ziyi Shen. Embarrassingly simple binary representation learning. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV) Workshops, Oct 2019. \n[41] Shupeng Su, Chao Zhang, Kai Han, and Yonghong Tian. Greedy hash: Towards fast optimization for accurate hash coding in cnn. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 31. Curran Associates, Inc., 2018. \n[42] Hao Wang, Yitong Wang, Zheng Zhou, Xing Ji, Dihong Gong, Jingchao Zhou, Zhifeng Li, and Wei Liu. Cosface: Large margin cosine loss for deep face recognition. In 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 5265–5274, 2018. \n[43] Jingdong Wang, Ting Zhang, jingkuan song, Nicu Sebe, and Heng Tao Shen. A survey on learning to hash. IEEE Transactions on Pattern Analysis and Machine Intelligence, 40(4):769–790, 2018. \n[44] Jun Wang, Wei Liu, Sanjiv Kumar, and Shih-Fu Chang. Learning to hash for indexing big data - a survey, 2015. \n[45] Xiaofang Wang, Yi Shi, and Kris M Kitani. Deep supervised hashing with triplet labels. Asian Conference on Computer Vision, 2016. \n[46] Yair Weiss, Antonio Torralba, and Rob Fergus. Spectral hashing. In D. Koller, D. Schuurmans, Y. Bengio, and L. Bottou, editors, Advances in Neural Information Processing Systems, volume 21. Curran Associates, Inc., 2009. \n[47] Tobias Weyand, Andre Araujo, Bingyi Cao, and Jack Sim. Google landmarks dataset v2-a large-scale benchmark for instance-level recognition and retrieval. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 2575–2584, 2020. \n[48] Rongkai Xia, Yan Pan, Hanjiang Lai, Cong Liu, and Shuicheng Yan. Supervised hashing for image retrieval via image representation learning. In Proceedings of the AAAI conference on artificial intelligence, volume 28, 2014. \n[49] Huei-Fang Yang, Kevin Lin, and Chu-Song Chen. Supervised learning of semantics-preserving hash via deep convolutional neural networks. IEEE transactions on pattern analysis and machine intelligence, 40(2):437–451, 2017. \n[50] Li Yuan, Tao Wang, Xiaopeng Zhang, Francis EH Tay, Zequn Jie, Wei Liu, and Jiashi Feng. Central similarity quantization for efficient image and video retrieval. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 3083–3092, 2020. \n[51] Tianyu Zhang, Lei Zhu, Qian Zhao, and Kilho Shin. Neural networks weights quantization: Target none-retraining ternary (tnt), 2019. \n[52] Fang Zhao, Yongzhen Huang, Liang Wang, and Tieniu Tan. Deep semantic ranking based hashing for multi-label image retrieval. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1556–1564, 2015. \n[53] Xiangtao Zheng, Yichao Zhang, and Xiaoqiang Lu. Deep balanced discrete hashing for image retrieval. Neurocomputing, 403:224–236, 2020. \n[54] Chang Zhou, Lai-Man Po, Wilson Y. F. Yuen, Kwok Wai Cheung, Xuyuan Xu, Kin Wai Lau, Yuzhi Zhao, Mengyang Liu, and Peter H. W. Wong. Angular deep supervised hashing for image retrieval. IEEE Access, 7:127521–127532, 2019. ",
1037
+ "bbox": [
1038
+ 178,
1039
+ 844,
1040
+ 826,
1041
+ 911
1042
+ ],
1043
+ "page_idx": 9
1044
+ },
1045
+ {
1046
+ "type": "text",
1047
+ "text": "",
1048
+ "bbox": [
1049
+ 171,
1050
+ 31,
1051
+ 828,
1052
+ 917
1053
+ ],
1054
+ "page_idx": 10
1055
+ },
1056
+ {
1057
+ "type": "text",
1058
+ "text": "",
1059
+ "bbox": [
1060
+ 171,
1061
+ 45,
1062
+ 828,
1063
+ 921
1064
+ ],
1065
+ "page_idx": 11
1066
+ },
1067
+ {
1068
+ "type": "text",
1069
+ "text": "",
1070
+ "bbox": [
1071
+ 169,
1072
+ 88,
1073
+ 828,
1074
+ 702
1075
+ ],
1076
+ "page_idx": 12
1077
+ }
1078
+ ]
parse/train/ByZmGjkA-/ByZmGjkA-.md ADDED
@@ -0,0 +1,221 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # UNDERSTANDING GROUNDED LANGUAGE LEARNINGAGENTS
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ Neural network-based systems can now learn to locate the referents of words and phrases in images, answer questions about visual scenes, and even execute symbolic instructions as first-person actors in partially-observable worlds. To achieve this so-called grounded language learning, models must overcome certain well-studied learning challenges that are also fundamental to infants learning their first words. While it is notable that models with no meaningful prior knowledge overcome these learning obstacles, AI researchers and practitioners currently lack a clear understanding of exactly how they do so. Here we address this question as a way of achieving a clearer general understanding of grounded language learning, both to inform future research and to improve confidence in model predictions. For maximum control and generality, we focus on a simple neural network-based language learning agent trained via policy-gradient methods to interpret synthetic linguistic instructions in a simulated 3D world. We apply experimental paradigms from developmental psychology to this agent, exploring the conditions under which established human biases and learning effects emerge. We further propose a novel way to visualise and analyse semantic representation in grounded language learning agents that yields a plausible algorithmic account of the observed effects.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ The learning challenge faced by children acquiring their first words has long fascinated cognitive scientists and philosophers (Quine, 1960; Brown, 1973). To start making sense of language, an infant must induce structure in a constant stream of continuous visual input, slowly reconcile this structure with consistencies in the available linguistic observations, store this knowledge in memory, and apply it to inform decisions about how best to respond.
12
+
13
+ Many neural network models also overcome a learning task that is – to varying degrees – analogous to early human word learning. Image classification tasks such as the ImageNet Challenge (Deng et al., 2009) require models to induce discrete semantic classes, in many cases aligned to words, from unstructured pixel representations of large quantities of photographs (Krizhevsky et al., 2012). Visual question answering (VQA) systems (Antol et al., 2015; Xiong et al., 2016; Xu & Saenko, 2016) must reconcile raw images with (arbitrary-length) sequences of symbols, in the form of natural language questions, in order to predict lexical or phrasal answers. Recently, situated language learning agents have been developed that learn to understand sequences of linguistic symbols not only in terms of the contemporaneous raw visual input, but also in terms of past visual input and the actions required to execute an appropriate motor response (Oh et al., 2017; Chaplot et al., 2017; Hermann et al., 2017; Misra et al., 2017). The most advanced such agents learn to execute a range of phrasal and multi-task instructions, such as find the green object in the red room, pick up the pencil in the third room on the right or go to the small green torch, in a continous, simulated 3D world. To solve these tasks, an agent must execute sequences of hundreds of fine-grained actions, conditioned on the available sequence of language symbols and active (first-person) visual perception of the surroundings. Importantly, the knowledge acquired by such agents while mastering these tasks also permits the interpretation of familiar language in entirely novel surroundings, and the execution of novel instructions composed of combinations of familiar words (Chaplot et al., 2017; Hermann et al., 2017).
14
+
15
+ The potential impact of situated linguistic agents, VQA models and other grounded language learning systems is vast, as a basis for human users to interact with situated learning applications such as self-driving cars and domestic robotic tools. However, our understanding of how these agents learn and behave is limited. The challenges of interpreting the factors or reasoning behind the decisions and predictions of neural networks are well known. Indeed, a concerted body of research in both computer vision (Zeiler & Fergus, 2014; Simonyan et al., 2014; Yosinski et al., 2015) and natural language processing (Linzen et al., 2016; Strobelt et al., 2016) has focused on addressing this uncertainty. As grounded language learning agents become more prevalent, then, understanding their learning dynamics, representation and decision-making will become increasingly important, both to inform future research and to build confidence in users who interact with such models.
16
+
17
+ We therefore aim to establish a better understanding of neural network-based models of grounded language learning, noting the parallels with research in neuroscience and psychology that aims to understand human language acquisition. Extending the approach of Ritter et al. (2017), we adapt various experimental techniques initially developed by experimental psychologists (Landau et al., 1988; Markman, 1990; Hollich et al., 2000; Colunga & Smith, 2005). In line with typical experiments on humans, our experimental simulations are conducted in a highly controlled environment: a simulated 3D world with a limited set of objects and properties, and corresponding unambiguous, symbolic linguistic stimuli (Figure 1). However, the simplicity and generality of our architecture and the form of the inputs to the model (continuous visual plus symbolic linguistic) make the proposed methods and approach directly applicable to VQA and other tasks that combine linguistic and visual data. Using these methods, we explore how the training environment of our agent affects its learning outcomes and speed, measure the generality and robustness of its understanding of certain fundamental linguistic concepts, and test for biases in the decisions it takes once trained. Further, by applying layerwise attention, a novel tool for visualising computation in grounded language learning models, we obtain a plausible algorithmic account of some of the effects in terms of representation and processing. Our principal findings about this canonical grounded language learning architecture are the following:
18
+
19
+ Shape / colour biases When the agent is trained on an equal number of shape and colour words, it develops a propensity to extend labels for ambiguous new words according to colour rather than shape (color bias). A human-like bias towards shapes can be induced in the agent, but only if it experiences many more shape terms than colour terms during training.
20
+
21
+ The problem of learning negation The agent learns to execute negated instructions, but if trained on small amounts of data it tends to represent negation in an ad hoc way that does not generalise.
22
+
23
+ Curriculum effects for vocabulary growth The agent learns words more quickly if the range of words to which it is exposed is limited at first and expanded gradually as its vocabulary develops.
24
+
25
+ Semantic processing and representation differences The agent learns words of different semantic classes at different speeds and represents them with features that require different degrees of visual processing depth (or abstraction) to compute.
26
+
27
+ Before describing the experiments that reveal these effects, we briefly outline details of the environment and agent used for the simulations.
28
+
29
+ # 2 A 3D WORLD FOR LANGUAGE LEARNING
30
+
31
+ Our experiments take place in the DeepMind Lab simulated world (Beattie et al., 2016), modified to include a language channel. An agent in this environment receives textual instructions, such as find the pencil, and is rewarded for satisfying the instruction, in this case by executing movement actions (move-left, turn right etc.) that allow it to locate a (3D, rotating) pencil and move into the space that it occupies. At each timestep in such an episode, the agent receives a continuous (RGB) pixel tensor of visual input and a symbolic (word-level) textual instruction,1 and must execute a movement action. To solve tasks and receive rewards, the agent must therefore first learn to perceive this environment, actively controlling what it sees via movement of its head (turning actions), and to navigate its surroundings via meaningful sequences of actions.
32
+
33
+ A typical simulation involves specifying certain aspects of the environment while leaving others to be determined randomly. For instance, in an object identification task, we might wish to specify the overall layout of the world, the range of positions in which objects can appear, a list of objects that can appear in each position, a probability of appearance and rewards associated with selecting each object. The environment engine is then responsible for randomly instantiating episodes that satisfy these constraints together with corresponding language instructions. Even with a detailed specification and a finite inventory of objects, properties and instruction words, there are tens of millions of unique episodes that the agent can encounter during training, each involving different object shapes, colours, patterns, shades, sizes and/or relative positions. With respect to the goal of understanding models of grounded language learning, this simulated environment and synthetic language is a useful asset: we can straightforwardly apply the methods of behavioural psychologists, testing how agents respond to precisely crafted training and test stimuli.
34
+
35
+ # 3 A SITUATED LANGUAGE LEARNING AGENT
36
+
37
+ ![](images/834e64b31ae47e2977de7a93ad7d4f28e5442d4681172de2b8e15ff05a0954d9.jpg)
38
+ Figure 1: Left: Schematic agent architecture. Right: An example of the word learning environment common to all experiments in this paper. The agent observes two 3D rotating objects and a language instruction and must select the object that matches the instruction. In this case the instruction is a shape word (chair). The confounding object (a refrigerator) and the colours of both objects are selected at random and will vary across the agent’s experience of the word chair.
39
+
40
+ For maximum generality, our simulations involve an agent that combines standard modules for processing sequential symbolic input (a recurrent network) and visual input (a convolutional network). At each time step $t$ , the visual input $v _ { t }$ is encoded by the convolutional vision module $\mathbf { V }$ and a recurrent (LSTM, Hochreiter & Schmidhuber (1997)) language module L encodes the instruction string $l _ { t }$ . A mixing module M determines how these signals are combined before they are passed to a LSTM action module A: here M is simply a feedforward linear layer operating on the concatenation of the output from $\mathbf { V }$ and $\mathbf { L }$ . The hidden state $s _ { t }$ of $\mathbf { A }$ is fed to a policy function, which computes a probability distribution over possible motor actions $\pi ( \boldsymbol { a } _ { t } | \boldsymbol { s } _ { t } )$ , and a state-value function approximator $V a l ( s _ { t } )$ , which computes a scalar estimate of the agent value function for optimisation. Val estimates the expected discounted future return, by approximating the state-value function $\begin{array} { r } { V a l _ { \pi } ( s ) = \mathbb { E } _ { \pi } [ \sum _ { k = 0 } ^ { \infty } \lambda ^ { k } \hat { r } _ { t + k + 1 } \mid S _ { t } = s ] } \end{array}$ where $S _ { t }$ is the state of the environment at time when following policy $\pi$ and $r _ { t }$ is the reward received following the action performed at time . $0 \leq \lambda \leq 1$ represents a discount parameter. Note that this architecture is a simplified version of that proposed by Hermann et al. (2017), without auxiliary learning components.
41
+
42
+ Weight updates are computed according to the asynchronous advantage actor-critic (A3C) algorithm (Mnih et al., 2016), in conjunction with the RMSProp update rule (Tieleman & Hinton, 2012). During training, a single parameter vector is shared across 16 CPU cores, which offers a suitable tradeoff between training time and loss of accuracy due to the asynchronous updates.
43
+
44
+ # 4 EXPERIMENTS
45
+
46
+ # 4.1 WORD LEARNING BIASES
47
+
48
+ One effect that is considered instrumental in allowing children to overcome the challenges of early word learning is the human shape bias (Landau et al., 1988), whereby infants tend to to presume that novel words refer to the shape of an unfamiliar object rather than, for instance, its colour, size or texture.
49
+
50
+ Our simulated environment permits the replication of the original experiment by Landau et al. (1988) designed to demonstrate the shape bias in humans. During training, the agent learns word meanings in a room containing two objects, one that matches the instruction word (positive reward) and a confounding object that does not (negative reward). Using this method, the agent is taught the meaning of a set $C$ of colour terms, $S$ of shape terms and $A$ of ambiguous terms (in the original experiment, the terms $a \in A$ were the nonsense terms ‘dax’ and ‘riff’). The target referent for a shape term $s \in S$ can be of any colour $c \in C$ and, similarly, the target referent when learning the colours in $C$ can be of any shape. In contrast, the ambiguous terms in $A$ always correspond to objects with a specific colour $c _ { a } \notin C$ and shape $s _ { a } \notin S$ (e.g. ‘dax’ always referred to a black pencil, and neither black nor pencils were observed in any other context) . Note also that colour terms refer to a range of RGB space through the application of Gaussian noise to prototypical RGB codes, so that two instances of red objects will have subtly different colours.
51
+
52
+ As the agent learns, we periodically measure its bias by means of test episodes for which no learning takes place. In a test episode, the agent receives an instruction $a \in A$ (‘dax’) and must decide between two objects, $o _ { 1 }$ , whose shape is $s _ { a }$ and whose colour is ${ \hat { c } } \notin C \cup \{ c _ { a } \}$ (a blue pencil), and $o _ { 2 }$ , whose shape is $\hat { s } \notin S \cup \{ s _ { a } \}$ and whose colour is $c _ { a }$ (a black fork). Note that in the present example neither the colour blue nor the shape fork are observed by the agent during training. As with the original human experiment, the degree of shape bias in the agent can be measured, as the agent is learning, by its propensity to select $o _ { 1 }$ in preference to $o _ { 2 }$ . Moreover, by varying the size of sets $S$ and $C$ , we can examine the effect of different training regimes on this bias exhibited by the agent.
53
+
54
+ Figure 2 illustrates how a shape/colour bias develops in agents exposed to three different training regimes. An agent that is taught exclusively colour words $( \mid S \ \bar { \mid } = 0 , \mid C \ \lvert = \ 8 )$ unsurprisingly develops a strong colour bias. More interestingly, an agent that is taught an equal number of shape and colour terms $( \mid S \mid = 8 , \mid C \mid = 8 )$ develops a colour bias. This suggests that the canonical architecture employed in our agent (convolutional vision network combined with language instruction embedding) naturally promotes a colour bias. In order to induce a (human-like) shape bias, it was necessary to train the agent exclusively on a larger set of $( \mid S \mid = 2 0 , \mid C \mid = 0 )$ shapes before it began to exhibit a notable shape bias.
55
+
56
+ The fact that the network so readily develops biases that are pertinent to word learning provides insight into established effects of neural networks such as rapid acceleration of word learning (see e.g. Plunkett & Schafer (2001); Hermann et al. (2017)); it is precisely the progressive specialisation of the agent’s object recognition and labelling mechanisms (towards shapes, colours or both, as determined by the training regime) that narrows the space of possible referents, permitting faster word learning as training progresses.2
57
+
58
+ These conclusions can be incorporated with those of Ritter et al. (2017), who observe a shape bias in convolutional networks trained on the ImageNet Challenge training set. Our experiments with a single canonical architecture exposed to different training stimuli indicate the cause of this effect to be the training data distribution (the ImageNet data indeed contains many more shape-based than colourbased categories) rather than the convolutional architecture itself. Indeed, our findings suggest that a feed-forward convolutional architecture operating (bottom-up) on image pixels promotes a colour rather than shape bias. On the other hand, a typical linguistic environment (for American children at least3) and, perhaps by extension, most broad-coverage machine-learning datasets, contains many more instances of shape categories than colour categories.
59
+
60
+ ![](images/29bf8d51ac3524c5a34e6541b4751860318eb4836e0a394d15106be14b327abc.jpg)
61
+ Figure 2: Degrees of shape bias for different training regimes: An agent that is trained only on shape words (right) more readily presumes that ambiguous words refer to object shape than to object colour. This tendency is measured across all combinations of known and confounding objects and labels and represented by the blue line. The magnitude of the bias on the scale $[ - 1 0 , 1 0 ]$ is the mean ‘score’ (10 for the object matching the instruction in shape and 10 for the object matching in colour) over 1000 random test episodes. In contrast, an agent trained only on colour words (left) exhibits a colour bias. Interestingly, an agent trained on 8 colour and 8 shape words (middle) also exhibits a colour bias. Data (in this and proceeding figures) show mean and standard error across five fastest-learning agents of 16 different hyperparameter settings, sampled at random from ranges specified in in supplementary material 6.1.
62
+
63
+ # 4.2 THE PROBLEM OF LEARNING NEGATION
64
+
65
+ The interpretation of negated sentences such as tell me a joke that is not offensive is a fundamental facet of natural language understanding, and potentially critical for artificial agents receiving instructions from human users. Despite its communicative importance, negation can be challenging to acquire for human language learners. For instance, negated utterances pose greater production and comprehension difficulties than the equivalent non-negated language (Nordmeyer & Frank, 2014; Pea, 1980). To explore the acquisition of negation in grounded language learning models, we designed a simulation in which, as before, our agent was placed in a single room and required to select one of two objects matching an instruction. From a full set of training words $I$ (e.g. red or ball), a subset, $I _ { 1 } \subset I$ , was sampled and presented to the agent in both positive and negative forms (ball, not ball) and a disjoint subset, $I _ { 2 } \subset I$ , was provided only in positive forms (pencil). To test whether the agent could learn to understand the instruction form pick something that is not an $X$ in a generally applicable way, we periodically measured its ability to interpret negated versions of the instructions in $I _ { 2 }$ .
66
+
67
+ As illustrated in Figure 3, the agent learned to follow both positive and negative instructions, for various sets of instruction words $I$ . However, unlike other linguistic operations such as adjective-noun modification (Hermann et al., 2017), the agent exhibited difficulty generalising the notion of negation acquired in the context of $I _ { 1 }$ to the held-out items $I _ { 2 }$ . This difficulty was most acute when $I$ consisted of 12 colour terms split evenly into $I _ { 1 }$ and $I _ { 2 }$ . Indeed, the ability to generalise negation improved as the size of $I$ increased to include 40 shapes, from just above chance (a small positive average reward) to $7 5 \%$ (yielding an average reward of $\approx 5 / 1 0 $ ). There was also a small but interesting difference in generalisation when negating shape terms vs. colour terms, which is consistent with the processing differences discussed above and in more detail in Section 4.4.
68
+
69
+ We conjecture that negation does not generalise easily because, for a word $i _ { n } \in I$ and corresponding extension set of objects $s _ { n } \in S$ , the agent can perform perfectly on the training set by simply associating instructions of the form ‘not $w '$ with the extension $s _ { 1 } \cup \cdot \cdot \cdot s _ { n - 1 } \cup s _ { n + 1 } \cdot \cdot \cdot$ . This understanding of negation would generalise much worse than an interpretation of ‘not $w ^ { i }$ ’ that involved identifying and avoiding an object of type $w$ . For small training sets, the results suggest that the model prefers the former interpretation, but also that its tendency to discover the latter more generalisable understanding increases as the set of negated concepts to which it is exposed grows. Thus, with appropriately broad exposure to instances of negation during training, neural networks without bespoke biases or regularization can learn to respond effectively to negated stimuli pertaining to their perceptible surroundings. However, tailored architectures and computational biases may be required in cases where agents learn from, and act on, constrained sets of linguistic stimuli.
70
+
71
+ ![](images/62b9423c4ef63ed16dede087ebd7dfc46e529a6aa86a8fe41563323217e98def.jpg)
72
+ Figure 3: The problem of learning negation in language learning agents: The agent must be exposed to negative instructions in a sufficiently diverse range of contexts in order to learn a useful generalisable notion of negation. If trained to interpret positive commands involving 12 terms and negative commands involving 6 of those 12 terms (left, colour terms, middle, shape terms), the agent does not effectively interpret negative commands involving the remaining 6 terms. When exposed to 40 shape terms and trained to interpret negative commands involving 20 of those terms, the agent generalises the negation operation more effectively, but still not perfectly. When the two-word negative instructions are encoded with an LSTM rather than additive BOW encoder, an almost identical pattern of gradually improving generalisation is observed.
73
+
74
+ # 4.3 CURRICULUM LEARNING
75
+
76
+ The idea that learning is more successful if simpler things are studied before more complex things is a basic tenet of human education. There is some consensus that early exposure to simple, clear linguistic input helps child language acquisition (Fernald et al., 2010), although this is not unanimous (Shore, 1997). Controlled experiments with artificial neural networks trained directly on symbolic (languagelike) data have alse revealed faster or more effective learning when training examples are ordered by some metric of complexity (Elman, 1993). This approach is now typically referred to as curriculum learning (Bengio et al., 2009). However, robust improvements due to curriculum learning can be difficult to achieve in the context of text-based learning (Mikolov et al., 2011; Graves et al., 2017), and curricula are not ordinarily applied when training text-based neural language models. Recent evidence suggests that the benefits of curriculum training can be more easily realised for agents learning to act conditioned on language than those learning to map between linguistic inputs and outputs. Both Hermann et al. (2017) and Oh et al. (2017) observed that curricula were essential for agents learning to execute linguistic instructions that require both resolving of referring expressions (get the red ball..) and non-trivial action policies such as exploration (..in the green room).
77
+
78
+ Here, we chose to explore curriculum learning in a more controlled way in grounded language learning agents. To do so, we trained our agent to learn the meaning of 40 shape words (as exhibited by its ability to respond appropriately) under two conditions. In one condition, the agent was presented with the 40 words (together with corresponding target and confounding objects) sampled randomly throughout training. In another condition, the agent was only presented with a subset of the 40 words (selected at random) until these were mastered (as indicated by an average reward of $9 . 8 / 1 0$ over 1000 consecutive trials), at which point this subset was expanded to include more words. This process was iterated for subsets of size 2, 5, 10 and eventually 40 words.
79
+
80
+ ![](images/af3499742a97b045b72b44987791c2afe7920507e3eb2bb2dbce8c9b42337ee1.jpg)
81
+ Figure 4: Curriculum training expedites vocabulary growth: An agent that is presented with stimuli sampled uniformly from a set $S$ of 40 shape words (red line) learns more slowly than one whose stimuli are constrained to a two-word subset $S _ { 1 } , S _ { 1 } \subset S$ , until the agent learns both words, then extended to a 5-word subset $S _ { 2 } , S _ { 1 } \subset S _ { 2 } \subset S$ , then a 10-word subset $S _ { 3 } , S _ { 2 } \subset S _ { 3 } \subset S$ . This strong effect of ‘curriculum learning’ can be observed both when comparing average reward when agents in the two conditions are learning words sampled from $S$ (left - note that the agent in the curriculum condition begins reporting performance on $S$ after prior training on the restricted subsets) and by measuring vocabulary size as a function of training episodes (right).5
82
+
83
+ As shown in Figure 4, an agent that followed the curriculum (i.e. in the second condition) learned notably faster overall than one presented directly with a large group of new words. This result further corroborates the importance of training curricula for grounded language learning agents. Moreover, unlike the effect observed by Hermann et al. (2017), which focused on tasks requiring the agent to explore a large maze, the present simulation demonstrates strong curriculum effects simply when learning to associate objects with words. Thus, the development of core linguistic and semantic knowledge in situated or grounded agents can be clearly expedited by starting small and easy and slowly increasing the language learning challenge faced by the agent.
84
+
85
+ # 4.4 PROCESSING AND REPRESENTATION DIFFERENCES
86
+
87
+ Many studies aiming to understand linguistic processing in humans do so by uncovering connections between different semantic or conceptual domains and distinct processing or patterns of representation. These effects emerge via both behavioural methods (measuring differences in how subjects learn, use or even forget concepts of different types (Bowerman & Choi, 2001; Paivio et al., 1994)) and neuroimaging (associating words of different types with spatially and structurally distinct brain regions (Huth et al., 2016; Patterson et al., 2007)). Neuroscientific theories of memory, representation and learning have been developed to account for these effects (Rogers & McClelland, 2004; Binder & Desai, 2011). In the pursuit of a better understanding of artificial agents, we can similarly explore links between word classes, semantic domains and patterns of learning, behaviour, processing or representation. This knowledge could ultimately be essential for informing the process of designing architectures capable of learning not just the simple language studied here, but also the full range of abstract semantic phenomena inherent in adult language.
88
+
89
+ Word learning speeds The order in which words of different types are acquired has been used to inform theories of child language acquisition (Gentner, 1982) and human semantic processing more generally (Ghyselinck et al., 2004). To explore the order of word learning in our agent, we exposed it to randomly interleaved training instances for words of six different classes (shapes, colours, patterns, sizes, shades and superordinate category terms, such as furniture), for multiple shapes. We compared the rates of word learning in two conditions. In the fixed class-size, each class was restricted to two exemplars. In the variable class-size condition, each class was represented by a different number of members, a more faithful reflection of natural language, where one word class (e.g. prepositions) can have a different number of members from another (e.g. nouns).6 In both conditions, the training stimuli were sampled random uniformly from all word types (not word classes), so that an agent in the variable class-size condition received approximately four times as much exposure to shape words as to colour words, for instance.
90
+
91
+ As illustrated in Figure 5, there were clear differences in the speed with which the agent learned words of different classes. In the fixed class-size condition, the first words to be learned were blue (a colour word) and diagonal-striped (a pattern), with the second colour word, brown, learned around the same time as the two shapes chair and suitcase and the relative size terms larger and smaller. Category terms were learned after shape terms.7 In contrast, in the variable class-size condition the variable exposure to different word classes seems to cause a degree of specialisation in shape words, so that the agent learns all 40 shape words well before it acquires the 12 colour words.
92
+
93
+ ![](images/81c7f4c2eaf2989e134345d6ea101b1b8c117de53f1bd31a4e1614513ad5387c.jpg)
94
+ Figure 5: Words from different semantic classes are learned at different speeds: In the fixed class-size condition (left), the agent learns two words from each class. In the variable class-size condition (right) each class has a different number of members, as per supplementary material 6.2.
95
+
96
+ Layer-wise attention To complement our behavioural analysis we developed a method for better understanding semantic processing and representation in the agent. The method, which we call layerwise attention, involves modifying the agent architecture to expose processing differences in the visual features that are most pertinent to each lexical concept. In the standard agent, a distributed representation of the linguistic input is concatenated with the output from the top layer of a 3-layer convolutional visual module at each timestep, fed through a multi-layer perceptron and then passed to the agent’s (recurrent) core. We modify this agent so that it can learn to attend to the output from different layers of its visual processing module, conditioned on the linguistic input available at a particular moment.
97
+
98
+ Let $e _ { l }$ be the representation of a language instruction $l$ and $\mathbf { v } _ { i }$ be the output of layer $i = { 1 , 2 , 3 }$ of the visual module with dimension $n _ { i } \times n _ { i } \times k _ { i }$ , where $k _ { i }$ is the number of feature maps. In the layerwise attention module, the $\mathbf { v } _ { i }$ are first passed through 3 independent linear layers to $\mathbf { v } _ { \ i } ^ { \prime }$ with common final dimension $n _ { i } \times n _ { i } \times K$ , such that $K$ is also the dimensionality of $e _ { l }$ . The $\mathbf { v } _ { \ i } ^ { \prime }$ are then stacked into a single tensor $T$ of dimension $d \times K$ , where $\begin{array} { r } { d = \sum _ { i = 1 } ^ { 3 } n _ { i } ^ { 2 } } \end{array}$ . $T$ is then multiplied by $e _ { l }$ and passed through a softmax layer to yield a $d$ dimensional discrete probability distribution over all (pixel-like) locations represented in each layer of the visual module $\mathbf { V }$ . These values are applied multiplicatively to each of the $k _ { i }$ -dimension) representations returned by $\mathbf { V }$ , before a pooling step (mirroring that of the final layer in the original agent) and then concatenation.
99
+
100
+ Layerwise attention provides a measure not only of which image locations contain the most important information for the agent when choosing actions at a given timestep, but also at what level of (visual) abstraction that information is most useful. This insight can be visualised by applying the method of Simonyan et al. (2014), propagating the probability mass from the attention distribution back onto the input image. Figure 6 illustrates the effect of backpropagating the attention probabilities corresponding to each layer of the convnet onto (grayscale copies of) the visual input.8 As is clear from these visualisations, an agent that is exposed only to shape words will learn to rely on features from the upper-most layers of its visual module when considering objects in its surroundings. In contrast, an agent trained to interpret only colour terms focuses with feature detectors from the lower layers of its visual module in order to distinguish between objects of interest. It is well established that convolutional networks trained to classify images also exhibit differential specialisation of feature detectors between layers (see e.g. LeCun et al. (2010)). Layerwise attention provides a means to quantify the magnitude of this specialisation, and to measure the importance of each layer with respect to particular linguistic stimuli. It is also notable that a more conventional 2D (T-SNE) visualisation of the word embeddings in the input layer of $\mathbf { L }$ provides further evidence of of word-class-specific processing, as illustrated in Figure 6.
101
+
102
+ ![](images/02677b860b93b49cae0b784f5d34977205e79623f6457b1e44394f10478e7fa0.jpg)
103
+ Figure 6: Representation and processing differences between colour and shape words. ‘Dashboards’ for interpreting processing in an agent with layerwise attention. The large pane at the top left of the dashboard shows the input to the agent. The bar chart on the bottom left shows the attention distribution over all 520 ‘locations’ from the agent’s visual representations. 400 red bars show the attention on the $( 2 0 \times 2 0 )$ locations output from the lowest layer of the convnet, 81 green bars show the attention on the $( 9 \times 9 )$ locations from the middle layer and 49 blue bars show the attention on the $( 7 \times 7 )$ locations from the top layer. The small windows on the right side illustrate these attention weights (grouped by layer) propagated back to and superimposed over a greyscale copy of the input image, as described by Simonyan et al. (2014). An agent trained exclusively on colour words (A) relies more on the first and second layers of the convnet than an agent trained exclusively on shape words $\mathbf { ( B ) }$ , which uses second and upper layer visual features. C: A schematic of layerwise attention in the agent architecture. D: A 2D (t-SNE) visualisation of the space of the word embeddings weights in the language module $\mathbf { \Pi } ( \mathbf { L } )$ of an agent trained on different word types, illustrating that words cluster naturally according to semantic classes in the linguistic memory of the agent.
104
+
105
+ # 5 CONCLUSION
106
+
107
+ Models that are capable of grounded language learning promise to significantly advance the ways in which humans and intelligent technology can interact. In this study, we have explored how a situated language learning agent built from canonical neural-network components overcomes the challenge of early language learning. We measured the behaviour exhibited once the first words and simple phrases are acquired, tested factors that speed up this learning, explored aspects of language that pose particular problems and presented a technique, layerwise attention, for better understanding semantic and visual processing in such agents.
108
+
109
+ The application of experimental paradigms from cognitive psychology to better understand deep neural nets was proposed by Ritter et al. (2017), who observed that convolutional architectures exhibit a shape bias when trained on the ImageNet Challenge data. The ability to control precisely both training and test stimuli in our simulated environment allowed us to isolate this effect as deriving from the training data, and indeed to reach the opposite conclusion about the architecture itself. This study also goes beyond that of Ritter et al. (2017) in exploring more abstract linguistic operations (negation, abstract category terms) and studying curriculum effects on the dynamics of word learning. Further, we complement these behavioural observations with computatoinal analysis of representation and processing, via layerwise attention.
110
+
111
+ While the control and precision afforded by the simulated environment in the present study has made these analyses and conclusions possible, in future, as our understanding of language learning agents develops, it will be essential to verify conclusions on agents trained on more naturalistic data. At first, this might involve curated sets of images, videos and naturally-occurring text etc, and, ultimately, experiments on robots trained to communicate about perceptible surroundings with human interlocutors. In a world with agents capable of learning such advanced linguistic behaviour, it would certainly be more challenging, but also even more crucial, to understand not just what they can do, but also how they learn to do it.
112
+
113
+ # REFERENCES
114
+
115
+ Stanislaw Antol, Aishwarya Agrawal, Jiasen Lu, Margaret Mitchell, Dhruv Batra, C. Lawrence Zitnick, and Devi Parikh. VQA: Visual Question Answering. In International Conference on Computer Vision (ICCV), 2015.
116
+
117
+ Charles Beattie, Joel Z. Leibo, Denis Teplyashin, Tom Ward, Marcus Wainwright, Heinrich Kuttler, ¨ Andrew Lefrancq, Simon Green, V´ıctor Valdes, Amir Sadik, Julian Schrittwieser, Keith Anderson, ´ Sarah York, Max Cant, Adam Cain, Adrian Bolton, Stephen Gaffney, Helen King, Demis Hassabis, Shane Legg, and Stig Petersen. Deepmind lab. CoRR, abs/1612.03801, 2016. URL http: //arxiv.org/abs/1612.03801.
118
+
119
+ Yoshua Bengio, Jer´ ome Louradour, Ronan Collobert, and Jason Weston. Curriculum learning. In ˆ Proceedings of the 26th annual international conference on machine learning, pp. 41–48. ACM, 2009.
120
+
121
+ Jeffrey R Binder and Rutvik H Desai. The neurobiology of semantic memory. Trends in cognitive sciences, 15(11):527–536, 2011.
122
+
123
+ Melissa Bowerman and Soonja Choi. Shaping meanings for language: universal and language-specific in the acquisition of semantic categories. In Language acquisition and conceptual development, pp. 475–511. Cambridge University Press, 2001.
124
+
125
+ Roger Brown. A first language: The early stages. Harvard U. Press, 1973.
126
+
127
+ Devendra Singh Chaplot, Kanthashree Mysore Sathyendra, Rama Kumar Pasumarthi, Dheeraj Rajagopal, and Ruslan Salakhutdinov. Gated-attention architectures for task-oriented language grounding. arXiv preprint arXiv:1706.07230, 2017.
128
+
129
+ Eliana Colunga and Linda B Smith. From the lexicon to expectations about kinds: A role for associative learning. Psychological review, 112(2):347–382, 2005.
130
+
131
+ Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In Computer Vision and Pattern Recognition, 2009. CVPR 2009. IEEE Conference on, pp. 248–255. IEEE, 2009.
132
+
133
+ Jeffrey L Elman. Learning and development in neural networks: The importance of starting small. Cognition, 48(1):71–99, 1993.
134
+
135
+ Anne Fernald, Kirsten Thorpe, and Virginia A. Marchman. Blue car, red car: Developing efficiency in online interpretation of adjectivenoun phrases. Cognitive Psychology, 60(3):190 – 217, 2010.
136
+
137
+ Michael C Frank, Mika Braginsky, Daniel Yurovsky, and Virginia A Marchman. Wordbank: An open repository for developmental vocabulary data. Journal of child language, 44(3):677–694, 2017.
138
+
139
+ Dedre Gentner. Why nouns are learned before verbs: Linguistic relativity versus natural partitioning. Center for the Study of Reading Technical Report; no. 257, 1982.
140
+
141
+ Mandy Ghyselinck, Michael B Lewis, and Marc Brysbaert. Age of acquisition and the cumulativefrequency hypothesis: A review of the literature and a new multi-task investigation. Acta psychologica, 115(1):43–67, 2004.
142
+
143
+ Alex Graves, Marc G Bellemare, Jacob Menick, Remi Munos, and Koray Kavukcuoglu. Automated curriculum learning for neural networks. Proceedings of ICML, 2017.
144
+
145
+ Karl Moritz Hermann, Felix Hill, Simon Green, Fumin Wang, Ryan Faulkner, Hubert Soyer, David Szepesvari, Wojtek Czarnecki, Max Jaderberg, Denis Teplyashin, et al. Grounded language learning in a simulated 3d world. arXiv preprint arXiv:1706.06551, 2017.
146
+
147
+ Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, 9(8): 1735–1780, 1997.
148
+
149
+ George J Hollich, Kathy Hirsh-Pasek, Roberta Michnick Golinkoff, Rebecca J Brand, Ellie Brown, He Len Chung, Elizabeth Hennon, Camille Rocroi, and Lois Bloom. Breaking the language barrier: An emergentist coalition model for the origins of word learning. Monographs of the society for research in child development, pp. i–135, 2000.
150
+
151
+ Marjorie S Horton and Ellen M Markman. Developmental differences in the acquisition of basic and superordinate categories. Child development, pp. 708���719, 1980.
152
+
153
+ Alexander G Huth, Wendy A de Heer, Thomas L Griffiths, Fred´ eric E Theunissen, and Jack L Gallant. ´ Natural speech reveals the semantic maps that tile human cerebral cortex. Nature, 532(7600): 453–458, 2016.
154
+
155
+ Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems, pp. 1097–1105, 2012.
156
+
157
+ Barbara Landau, Linda B Smith, and Susan S Jones. The importance of shape in early lexical learning. Cognitive development, 3(3):299–321, 1988.
158
+
159
+ Yann LeCun, Koray Kavukcuoglu, and Clement Farabet. Convolutional networks and applications in ´ vision. In Circuits and Systems (ISCAS), Proceedings of 2010 IEEE International Symposium on, pp. 253–256. IEEE, 2010.
160
+
161
+ Tal Linzen, Emmanuel Dupoux, and Yoav Goldberg. Assessing the ability of lstms to learn syntaxsensitive dependencies. arXiv preprint arXiv:1611.01368, 2016.
162
+
163
+ Ellen M Markman. Constraints children place on word meanings. Cognitive Science, 14(1):57–77, 1990.
164
+
165
+ Toma´s Mikolov, Anoop Deoras, Daniel Povey, Luk ˇ a´s Burget, and Jan ˇ Cernock ˇ y. Strategies for \` training large scale neural network language models. In Automatic Speech Recognition and Understanding (ASRU), 2011 IEEE Workshop on, pp. 196–201. IEEE, 2011.
166
+
167
+ Dipendra K Misra, John Langford, and Yoav Artzi. Mapping instructions and visual observations to actions with reinforcement learning. Proceedings of EMNLP, 2017.
168
+
169
+ Volodymyr Mnih, Adria Puigdomenech Badia, Mehdi Mirza, Alex Graves, Timothy P Lillicrap, Tim Harley, David Silver, and Koray Kavukcuoglu. Asynchronous methods for deep reinforcement learning. In International Conference on Machine Learning, 2016.
170
+
171
+ Ann E Nordmeyer and Michael C Frank. The role of context in young childrens comprehension of negation. Journal of Memory and Language, 77:25–39, 2014.
172
+
173
+ Junhyuk Oh, Satinder Singh, Honglak Lee, and Pushmeet Kohli. Zero-shot task generalization with multi-task deep reinforcement learning. Proceedings of ICML, 2017.
174
+
175
+ Allan Paivio, Mary Walsh, and Trudy Bons. Concreteness effects on memory: When and why? Journal of Experimental Psychology: Learning, Memory, and Cognition, 20(5):1196, 1994.
176
+
177
+ Karalyn Patterson, Peter J Nestor, and Timothy T Rogers. Where do you know what you know? the representation of semantic knowledge in the human brain. Nature reviews. Neuroscience, 8(12): 976, 2007.
178
+
179
+ Roy D Pea. The development of negation in early child language. The social foundations of language and thought, pp. 156–186, 1980.
180
+
181
+ Kim Plunkett and Graham Schafer. Early speech perception and word learning. The development of language, pp. 51–72, 2001.
182
+
183
+ W. V. O. Quine. Word & Object. MIT Press, 1960.
184
+
185
+ Samuel Ritter, David GT Barrett, Adam Santoro, and Matt M Botvinick. Cognitive psychology for deep neural networks: A shape bias case study. Proceedings of ICML, 2017.
186
+
187
+ Timothy T Rogers and James L McClelland. Semantic cognition: A parallel distributed processing approach. MIT press, 2004.
188
+
189
+ Rima Shore. Rethinking the brain: New insights into early development. 1997.
190
+
191
+ K. Simonyan, A. Vedaldi, and A. Zisserman. Deep inside convolutional networks: Visualising image classification models and saliency maps. In Workshop at International Conference on Learning Representations, 2014.
192
+
193
+ Hendrik Strobelt, Sebastian Gehrmann, Bernd Huber, Hanspeter Pfister, and Alexander M Rush. Visual analysis of hidden state dynamics in recurrent neural networks. arXiv preprint arXiv:1606.07461, 2016.
194
+
195
+ Tijmen Tieleman and Geoffrey Hinton. Lecture 6.5-rmsprop: Divide the gradient by a running average of its recent magnitude. COURSERA: Neural networks for machine learning, 4(2), 2012.
196
+
197
+ Caiming Xiong, Stephen Merity, and Richard Socher. Dynamic memory networks for visual and textual question answering. In International Conference on Machine Learning, pp. 2397–2406, 2016.
198
+
199
+ Huijuan Xu and Kate Saenko. Ask, attend and answer: Exploring question-guided spatial attention for visual question answering. In European Conference on Computer Vision, pp. 451–466. Springer, 2016.
200
+
201
+ Jason Yosinski, Jeff Clune, Anh Nguyen, Thomas Fuchs, and Hod Lipson. Understanding neural networks through deep visualization. ICML Deep Learning workshop, 2015.
202
+
203
+ Matthew D Zeiler and Rob Fergus. Visualizing and understanding convolutional networks. In European conference on computer vision, pp. 818–833. Springer, 2014.
204
+
205
+ # 6 SUPPLEMENTARY MATERIAL
206
+
207
+ # 6.1 AGENT DETAILS
208
+
209
+ Table 1: Agent hyperparameters that are fixed throughout our experimentation but otherwise not specified in the text.
210
+
211
+ <table><tr><td>Hyperparameter</td><td>Value</td><td>Description</td></tr><tr><td>train_steps</td><td>640m</td><td>Theoretical maximum number of time steps (across all episodes) for which the agent willbe trained.</td></tr><tr><td>env_steps-per_core_step</td><td>4</td><td>Number of time steps between each action decision (action smoothing)</td></tr><tr><td>num_workers</td><td>32</td><td>Number of independent workers running replicas of the environment with asynchronous updating.</td></tr><tr><td>unroll_length</td><td>50</td><td>Number of time steps through which error is backpropagated in the core LSTM action module</td></tr><tr><td>visual encoder</td><td></td><td></td></tr><tr><td>numayers</td><td>3</td><td>Layers in the convolutional vision network.</td></tr><tr><td>outputchannels</td><td>(32,64,64)</td><td>Number of feature maps in each layer of the network.</td></tr><tr><td>kernels hapes</td><td>(8,4,3)</td><td>Shapes of the (square) convolutional kernels in each layer of the network.</td></tr><tr><td>strides</td><td>(4,2,1)</td><td>Convolution stride length in each layer of the network.</td></tr><tr><td>activation</td><td>relu</td><td>Activation function applied after all except the final layer of the visual encoder.</td></tr><tr><td>language encoder</td><td></td><td></td></tr><tr><td>encoder-type embeddingdim</td><td>BOW</td><td>Whetherthe language encoderuses anadditive bag-of-words (BOW)oranLSTMarchitecture(with tanh nonlinearity).</td></tr><tr><td></td><td>128</td><td>Dimension of the word and instruction embeddings.</td></tr><tr><td>cost calculation additional_discounting</td><td></td><td></td></tr><tr><td>cost_base</td><td>0.99</td><td>Discount used to compute the long-term return R_t in the A3C objective</td></tr><tr><td></td><td>0.5</td><td>Multiplicative scaling of all computed gradients on the backward pass in the network</td></tr><tr><td>optimisation clip-grad_norm</td><td></td><td></td></tr><tr><td>decay</td><td>100 0.99</td><td>Limit on the norm of the gradient across all agent network parameters (if above,scale down)</td></tr><tr><td>epsilon</td><td>0.1</td><td>Decay term in RMSprop gradient averaging function</td></tr><tr><td>learning_rate_finish</td><td>0</td><td>Epsilon term in RMSprop gradient averaging function</td></tr><tr><td>momentum</td><td></td><td>Learning rate at the end of training,based on which linear annealing of is applied.</td></tr><tr><td></td><td>0</td><td>Momentum parameter in RMSprop gradient averaging function</td></tr></table>
212
+
213
+ Table 2: Agent hyperparameters that randomly sampled in order to yield different replicas of our agents for training. uniform $( x , y )$ indicates that values are sampled uniformly from the range $[ x , y ]$ . loguniform $( x , y )$ indicates that values are sampled from a uniform distribution in log-space (favouring lower values) on the range $[ x , y ]$ .
214
+
215
+ <table><tr><td>Hyperparameter</td><td>Value</td><td>Description</td></tr><tr><td>language encoder embed_init</td><td>uniform(0.5,1)</td><td>Standard deviation of normal distribution (mean = O) for sampling initial valuesofword-embeddingweights inL.</td></tr><tr><td>optimisation entropy_cost learning_rate_start</td><td>uniform(0.0005,0.005) loguniform(0.0001,0.002)</td><td>Strength of the (additive) entropy regularisation term in the A3C cost function. Learning rate at the beginning of training annealed linearly to reach learning_rate_finish at the end of train_steps.</td></tr></table>
216
+
217
+ # 6.2 EXPERIMENT DETAILS
218
+
219
+ Table 3: Word classes (class size) used in the word learning speed experiment in Section 4.4. Superscript indicates if the shape a word refers to is also in the extension of a category word.
220
+
221
+ <table><tr><td>Word class</td><td>Words</td></tr><tr><td>Shapes (40)</td><td>chair, suitcase,tv,ball,balloon,cow&#x27;,zebra’ cake,can’,cassete,chair, guitar, hair-brush, hat,ice-lolydder,il²,e,buh²,ey²,le,re,, fridge,hammer²,knife²,spoon²,apple³,banana³ flower,jug,pig&#x27;,pincer²,plant,saxophone,</td></tr><tr><td>Colours (12)</td><td>shoe4,tennis-racket, tomato&#x27;,tree³,wine-glass5 blue,brown, pink,yellow,red, green, cyan, magenta, white, grey, purple</td></tr><tr><td>Categories (5)</td><td>1:animals, 2:tools, 3:plants, 4:clothing, 5:containers</td></tr><tr><td>Patterns (3)</td><td>diagonal-striped,chequered, spotted</td></tr><tr><td>Shades (2)</td><td>lighter, darker</td></tr><tr><td>Sizes (2)</td><td>larger, smaller</td></tr></table>
parse/train/ByZmGjkA-/ByZmGjkA-_content_list.json ADDED
@@ -0,0 +1,1288 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "UNDERSTANDING GROUNDED LANGUAGE LEARNINGAGENTS",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 99,
9
+ 823,
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
+ 234,
32
+ 544,
33
+ 251
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Neural network-based systems can now learn to locate the referents of words and phrases in images, answer questions about visual scenes, and even execute symbolic instructions as first-person actors in partially-observable worlds. To achieve this so-called grounded language learning, models must overcome certain well-studied learning challenges that are also fundamental to infants learning their first words. While it is notable that models with no meaningful prior knowledge overcome these learning obstacles, AI researchers and practitioners currently lack a clear understanding of exactly how they do so. Here we address this question as a way of achieving a clearer general understanding of grounded language learning, both to inform future research and to improve confidence in model predictions. For maximum control and generality, we focus on a simple neural network-based language learning agent trained via policy-gradient methods to interpret synthetic linguistic instructions in a simulated 3D world. We apply experimental paradigms from developmental psychology to this agent, exploring the conditions under which established human biases and learning effects emerge. We further propose a novel way to visualise and analyse semantic representation in grounded language learning agents that yields a plausible algorithmic account of the observed effects. ",
40
+ "bbox": [
41
+ 233,
42
+ 266,
43
+ 766,
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
+ 530,
55
+ 336,
56
+ 546
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "The learning challenge faced by children acquiring their first words has long fascinated cognitive scientists and philosophers (Quine, 1960; Brown, 1973). To start making sense of language, an infant must induce structure in a constant stream of continuous visual input, slowly reconcile this structure with consistencies in the available linguistic observations, store this knowledge in memory, and apply it to inform decisions about how best to respond. ",
63
+ "bbox": [
64
+ 174,
65
+ 561,
66
+ 823,
67
+ 631
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Many neural network models also overcome a learning task that is – to varying degrees – analogous to early human word learning. Image classification tasks such as the ImageNet Challenge (Deng et al., 2009) require models to induce discrete semantic classes, in many cases aligned to words, from unstructured pixel representations of large quantities of photographs (Krizhevsky et al., 2012). Visual question answering (VQA) systems (Antol et al., 2015; Xiong et al., 2016; Xu & Saenko, 2016) must reconcile raw images with (arbitrary-length) sequences of symbols, in the form of natural language questions, in order to predict lexical or phrasal answers. Recently, situated language learning agents have been developed that learn to understand sequences of linguistic symbols not only in terms of the contemporaneous raw visual input, but also in terms of past visual input and the actions required to execute an appropriate motor response (Oh et al., 2017; Chaplot et al., 2017; Hermann et al., 2017; Misra et al., 2017). The most advanced such agents learn to execute a range of phrasal and multi-task instructions, such as find the green object in the red room, pick up the pencil in the third room on the right or go to the small green torch, in a continous, simulated 3D world. To solve these tasks, an agent must execute sequences of hundreds of fine-grained actions, conditioned on the available sequence of language symbols and active (first-person) visual perception of the surroundings. Importantly, the knowledge acquired by such agents while mastering these tasks also permits the interpretation of familiar language in entirely novel surroundings, and the execution of novel instructions composed of combinations of familiar words (Chaplot et al., 2017; Hermann et al., 2017). ",
74
+ "bbox": [
75
+ 174,
76
+ 637,
77
+ 825,
78
+ 888
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "The potential impact of situated linguistic agents, VQA models and other grounded language learning systems is vast, as a basis for human users to interact with situated learning applications such as self-driving cars and domestic robotic tools. However, our understanding of how these agents learn and behave is limited. The challenges of interpreting the factors or reasoning behind the decisions and predictions of neural networks are well known. Indeed, a concerted body of research in both computer vision (Zeiler & Fergus, 2014; Simonyan et al., 2014; Yosinski et al., 2015) and natural language processing (Linzen et al., 2016; Strobelt et al., 2016) has focused on addressing this uncertainty. As grounded language learning agents become more prevalent, then, understanding their learning dynamics, representation and decision-making will become increasingly important, both to inform future research and to build confidence in users who interact with such models. ",
85
+ "bbox": [
86
+ 176,
87
+ 895,
88
+ 823,
89
+ 924
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "",
96
+ "bbox": [
97
+ 174,
98
+ 103,
99
+ 825,
100
+ 214
101
+ ],
102
+ "page_idx": 1
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "We therefore aim to establish a better understanding of neural network-based models of grounded language learning, noting the parallels with research in neuroscience and psychology that aims to understand human language acquisition. Extending the approach of Ritter et al. (2017), we adapt various experimental techniques initially developed by experimental psychologists (Landau et al., 1988; Markman, 1990; Hollich et al., 2000; Colunga & Smith, 2005). In line with typical experiments on humans, our experimental simulations are conducted in a highly controlled environment: a simulated 3D world with a limited set of objects and properties, and corresponding unambiguous, symbolic linguistic stimuli (Figure 1). However, the simplicity and generality of our architecture and the form of the inputs to the model (continuous visual plus symbolic linguistic) make the proposed methods and approach directly applicable to VQA and other tasks that combine linguistic and visual data. Using these methods, we explore how the training environment of our agent affects its learning outcomes and speed, measure the generality and robustness of its understanding of certain fundamental linguistic concepts, and test for biases in the decisions it takes once trained. Further, by applying layerwise attention, a novel tool for visualising computation in grounded language learning models, we obtain a plausible algorithmic account of some of the effects in terms of representation and processing. Our principal findings about this canonical grounded language learning architecture are the following: ",
107
+ "bbox": [
108
+ 174,
109
+ 222,
110
+ 825,
111
+ 457
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "Shape / colour biases When the agent is trained on an equal number of shape and colour words, it develops a propensity to extend labels for ambiguous new words according to colour rather than shape (color bias). A human-like bias towards shapes can be induced in the agent, but only if it experiences many more shape terms than colour terms during training. ",
118
+ "bbox": [
119
+ 174,
120
+ 474,
121
+ 825,
122
+ 531
123
+ ],
124
+ "page_idx": 1
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "The problem of learning negation The agent learns to execute negated instructions, but if trained on small amounts of data it tends to represent negation in an ad hoc way that does not generalise. ",
129
+ "bbox": [
130
+ 174,
131
+ 549,
132
+ 825,
133
+ 575
134
+ ],
135
+ "page_idx": 1
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "Curriculum effects for vocabulary growth The agent learns words more quickly if the range of words to which it is exposed is limited at first and expanded gradually as its vocabulary develops. ",
140
+ "bbox": [
141
+ 174,
142
+ 593,
143
+ 823,
144
+ 622
145
+ ],
146
+ "page_idx": 1
147
+ },
148
+ {
149
+ "type": "text",
150
+ "text": "Semantic processing and representation differences The agent learns words of different semantic classes at different speeds and represents them with features that require different degrees of visual processing depth (or abstraction) to compute. ",
151
+ "bbox": [
152
+ 176,
153
+ 638,
154
+ 823,
155
+ 681
156
+ ],
157
+ "page_idx": 1
158
+ },
159
+ {
160
+ "type": "text",
161
+ "text": "Before describing the experiments that reveal these effects, we briefly outline details of the environment and agent used for the simulations. ",
162
+ "bbox": [
163
+ 174,
164
+ 688,
165
+ 823,
166
+ 717
167
+ ],
168
+ "page_idx": 1
169
+ },
170
+ {
171
+ "type": "text",
172
+ "text": "2 A 3D WORLD FOR LANGUAGE LEARNING ",
173
+ "text_level": 1,
174
+ "bbox": [
175
+ 174,
176
+ 739,
177
+ 547,
178
+ 755
179
+ ],
180
+ "page_idx": 1
181
+ },
182
+ {
183
+ "type": "text",
184
+ "text": "Our experiments take place in the DeepMind Lab simulated world (Beattie et al., 2016), modified to include a language channel. An agent in this environment receives textual instructions, such as find the pencil, and is rewarded for satisfying the instruction, in this case by executing movement actions (move-left, turn right etc.) that allow it to locate a (3D, rotating) pencil and move into the space that it occupies. At each timestep in such an episode, the agent receives a continuous (RGB) pixel tensor of visual input and a symbolic (word-level) textual instruction,1 and must execute a movement action. To solve tasks and receive rewards, the agent must therefore first learn to perceive this environment, actively controlling what it sees via movement of its head (turning actions), and to navigate its surroundings via meaningful sequences of actions. ",
185
+ "bbox": [
186
+ 173,
187
+ 771,
188
+ 825,
189
+ 897
190
+ ],
191
+ "page_idx": 1
192
+ },
193
+ {
194
+ "type": "text",
195
+ "text": "A typical simulation involves specifying certain aspects of the environment while leaving others to be determined randomly. For instance, in an object identification task, we might wish to specify the overall layout of the world, the range of positions in which objects can appear, a list of objects that can appear in each position, a probability of appearance and rewards associated with selecting each object. The environment engine is then responsible for randomly instantiating episodes that satisfy these constraints together with corresponding language instructions. Even with a detailed specification and a finite inventory of objects, properties and instruction words, there are tens of millions of unique episodes that the agent can encounter during training, each involving different object shapes, colours, patterns, shades, sizes and/or relative positions. With respect to the goal of understanding models of grounded language learning, this simulated environment and synthetic language is a useful asset: we can straightforwardly apply the methods of behavioural psychologists, testing how agents respond to precisely crafted training and test stimuli. ",
196
+ "bbox": [
197
+ 174,
198
+ 103,
199
+ 825,
200
+ 270
201
+ ],
202
+ "page_idx": 2
203
+ },
204
+ {
205
+ "type": "text",
206
+ "text": "3 A SITUATED LANGUAGE LEARNING AGENT ",
207
+ "text_level": 1,
208
+ "bbox": [
209
+ 174,
210
+ 296,
211
+ 560,
212
+ 311
213
+ ],
214
+ "page_idx": 2
215
+ },
216
+ {
217
+ "type": "image",
218
+ "img_path": "images/834e64b31ae47e2977de7a93ad7d4f28e5442d4681172de2b8e15ff05a0954d9.jpg",
219
+ "image_caption": [
220
+ "Figure 1: Left: Schematic agent architecture. Right: An example of the word learning environment common to all experiments in this paper. The agent observes two 3D rotating objects and a language instruction and must select the object that matches the instruction. In this case the instruction is a shape word (chair). The confounding object (a refrigerator) and the colours of both objects are selected at random and will vary across the agent’s experience of the word chair. "
221
+ ],
222
+ "image_footnote": [],
223
+ "bbox": [
224
+ 210,
225
+ 352,
226
+ 825,
227
+ 587
228
+ ],
229
+ "page_idx": 2
230
+ },
231
+ {
232
+ "type": "text",
233
+ "text": "For maximum generality, our simulations involve an agent that combines standard modules for processing sequential symbolic input (a recurrent network) and visual input (a convolutional network). At each time step $t$ , the visual input $v _ { t }$ is encoded by the convolutional vision module $\\mathbf { V }$ and a recurrent (LSTM, Hochreiter & Schmidhuber (1997)) language module L encodes the instruction string $l _ { t }$ . A mixing module M determines how these signals are combined before they are passed to a LSTM action module A: here M is simply a feedforward linear layer operating on the concatenation of the output from $\\mathbf { V }$ and $\\mathbf { L }$ . The hidden state $s _ { t }$ of $\\mathbf { A }$ is fed to a policy function, which computes a probability distribution over possible motor actions $\\pi ( \\boldsymbol { a } _ { t } | \\boldsymbol { s } _ { t } )$ , and a state-value function approximator $V a l ( s _ { t } )$ , which computes a scalar estimate of the agent value function for optimisation. Val estimates the expected discounted future return, by approximating the state-value function $\\begin{array} { r } { V a l _ { \\pi } ( s ) = \\mathbb { E } _ { \\pi } [ \\sum _ { k = 0 } ^ { \\infty } \\lambda ^ { k } \\hat { r } _ { t + k + 1 } \\mid S _ { t } = s ] } \\end{array}$ where $S _ { t }$ is the state of the environment at time when following policy $\\pi$ and $r _ { t }$ is the reward received following the action performed at time . $0 \\leq \\lambda \\leq 1$ represents a discount parameter. Note that this architecture is a simplified version of that proposed by Hermann et al. (2017), without auxiliary learning components. ",
234
+ "bbox": [
235
+ 174,
236
+ 694,
237
+ 826,
238
+ 888
239
+ ],
240
+ "page_idx": 2
241
+ },
242
+ {
243
+ "type": "text",
244
+ "text": "Weight updates are computed according to the asynchronous advantage actor-critic (A3C) algorithm (Mnih et al., 2016), in conjunction with the RMSProp update rule (Tieleman & Hinton, 2012). During training, a single parameter vector is shared across 16 CPU cores, which offers a suitable tradeoff between training time and loss of accuracy due to the asynchronous updates. ",
245
+ "bbox": [
246
+ 173,
247
+ 895,
248
+ 821,
249
+ 924
250
+ ],
251
+ "page_idx": 2
252
+ },
253
+ {
254
+ "type": "text",
255
+ "text": "",
256
+ "bbox": [
257
+ 173,
258
+ 103,
259
+ 823,
260
+ 132
261
+ ],
262
+ "page_idx": 3
263
+ },
264
+ {
265
+ "type": "text",
266
+ "text": "4 EXPERIMENTS ",
267
+ "text_level": 1,
268
+ "bbox": [
269
+ 176,
270
+ 160,
271
+ 326,
272
+ 176
273
+ ],
274
+ "page_idx": 3
275
+ },
276
+ {
277
+ "type": "text",
278
+ "text": "4.1 WORD LEARNING BIASES ",
279
+ "text_level": 1,
280
+ "bbox": [
281
+ 176,
282
+ 195,
283
+ 392,
284
+ 210
285
+ ],
286
+ "page_idx": 3
287
+ },
288
+ {
289
+ "type": "text",
290
+ "text": "One effect that is considered instrumental in allowing children to overcome the challenges of early word learning is the human shape bias (Landau et al., 1988), whereby infants tend to to presume that novel words refer to the shape of an unfamiliar object rather than, for instance, its colour, size or texture. ",
291
+ "bbox": [
292
+ 174,
293
+ 224,
294
+ 825,
295
+ 280
296
+ ],
297
+ "page_idx": 3
298
+ },
299
+ {
300
+ "type": "text",
301
+ "text": "Our simulated environment permits the replication of the original experiment by Landau et al. (1988) designed to demonstrate the shape bias in humans. During training, the agent learns word meanings in a room containing two objects, one that matches the instruction word (positive reward) and a confounding object that does not (negative reward). Using this method, the agent is taught the meaning of a set $C$ of colour terms, $S$ of shape terms and $A$ of ambiguous terms (in the original experiment, the terms $a \\in A$ were the nonsense terms ‘dax’ and ‘riff’). The target referent for a shape term $s \\in S$ can be of any colour $c \\in C$ and, similarly, the target referent when learning the colours in $C$ can be of any shape. In contrast, the ambiguous terms in $A$ always correspond to objects with a specific colour $c _ { a } \\notin C$ and shape $s _ { a } \\notin S$ (e.g. ‘dax’ always referred to a black pencil, and neither black nor pencils were observed in any other context) . Note also that colour terms refer to a range of RGB space through the application of Gaussian noise to prototypical RGB codes, so that two instances of red objects will have subtly different colours. ",
302
+ "bbox": [
303
+ 174,
304
+ 287,
305
+ 825,
306
+ 454
307
+ ],
308
+ "page_idx": 3
309
+ },
310
+ {
311
+ "type": "text",
312
+ "text": "As the agent learns, we periodically measure its bias by means of test episodes for which no learning takes place. In a test episode, the agent receives an instruction $a \\in A$ (‘dax’) and must decide between two objects, $o _ { 1 }$ , whose shape is $s _ { a }$ and whose colour is ${ \\hat { c } } \\notin C \\cup \\{ c _ { a } \\}$ (a blue pencil), and $o _ { 2 }$ , whose shape is $\\hat { s } \\notin S \\cup \\{ s _ { a } \\}$ and whose colour is $c _ { a }$ (a black fork). Note that in the present example neither the colour blue nor the shape fork are observed by the agent during training. As with the original human experiment, the degree of shape bias in the agent can be measured, as the agent is learning, by its propensity to select $o _ { 1 }$ in preference to $o _ { 2 }$ . Moreover, by varying the size of sets $S$ and $C$ , we can examine the effect of different training regimes on this bias exhibited by the agent. ",
313
+ "bbox": [
314
+ 174,
315
+ 460,
316
+ 825,
317
+ 573
318
+ ],
319
+ "page_idx": 3
320
+ },
321
+ {
322
+ "type": "text",
323
+ "text": "Figure 2 illustrates how a shape/colour bias develops in agents exposed to three different training regimes. An agent that is taught exclusively colour words $( \\mid S \\ \\bar { \\mid } = 0 , \\mid C \\ \\lvert = \\ 8 )$ unsurprisingly develops a strong colour bias. More interestingly, an agent that is taught an equal number of shape and colour terms $( \\mid S \\mid = 8 , \\mid C \\mid = 8 )$ develops a colour bias. This suggests that the canonical architecture employed in our agent (convolutional vision network combined with language instruction embedding) naturally promotes a colour bias. In order to induce a (human-like) shape bias, it was necessary to train the agent exclusively on a larger set of $( \\mid S \\mid = 2 0 , \\mid C \\mid = 0 )$ shapes before it began to exhibit a notable shape bias. ",
324
+ "bbox": [
325
+ 173,
326
+ 580,
327
+ 825,
328
+ 690
329
+ ],
330
+ "page_idx": 3
331
+ },
332
+ {
333
+ "type": "text",
334
+ "text": "The fact that the network so readily develops biases that are pertinent to word learning provides insight into established effects of neural networks such as rapid acceleration of word learning (see e.g. Plunkett & Schafer (2001); Hermann et al. (2017)); it is precisely the progressive specialisation of the agent’s object recognition and labelling mechanisms (towards shapes, colours or both, as determined by the training regime) that narrows the space of possible referents, permitting faster word learning as training progresses.2 ",
335
+ "bbox": [
336
+ 173,
337
+ 698,
338
+ 825,
339
+ 782
340
+ ],
341
+ "page_idx": 3
342
+ },
343
+ {
344
+ "type": "text",
345
+ "text": "These conclusions can be incorporated with those of Ritter et al. (2017), who observe a shape bias in convolutional networks trained on the ImageNet Challenge training set. Our experiments with a single canonical architecture exposed to different training stimuli indicate the cause of this effect to be the training data distribution (the ImageNet data indeed contains many more shape-based than colourbased categories) rather than the convolutional architecture itself. Indeed, our findings suggest that a feed-forward convolutional architecture operating (bottom-up) on image pixels promotes a colour rather than shape bias. On the other hand, a typical linguistic environment (for American children at least3) and, perhaps by extension, most broad-coverage machine-learning datasets, contains many more instances of shape categories than colour categories. ",
346
+ "bbox": [
347
+ 174,
348
+ 787,
349
+ 825,
350
+ 886
351
+ ],
352
+ "page_idx": 3
353
+ },
354
+ {
355
+ "type": "text",
356
+ "text": "",
357
+ "bbox": [
358
+ 171,
359
+ 103,
360
+ 823,
361
+ 132
362
+ ],
363
+ "page_idx": 4
364
+ },
365
+ {
366
+ "type": "image",
367
+ "img_path": "images/29bf8d51ac3524c5a34e6541b4751860318eb4836e0a394d15106be14b327abc.jpg",
368
+ "image_caption": [
369
+ "Figure 2: Degrees of shape bias for different training regimes: An agent that is trained only on shape words (right) more readily presumes that ambiguous words refer to object shape than to object colour. This tendency is measured across all combinations of known and confounding objects and labels and represented by the blue line. The magnitude of the bias on the scale $[ - 1 0 , 1 0 ]$ is the mean ‘score’ (10 for the object matching the instruction in shape and 10 for the object matching in colour) over 1000 random test episodes. In contrast, an agent trained only on colour words (left) exhibits a colour bias. Interestingly, an agent trained on 8 colour and 8 shape words (middle) also exhibits a colour bias. Data (in this and proceeding figures) show mean and standard error across five fastest-learning agents of 16 different hyperparameter settings, sampled at random from ranges specified in in supplementary material 6.1. "
370
+ ],
371
+ "image_footnote": [],
372
+ "bbox": [
373
+ 173,
374
+ 148,
375
+ 820,
376
+ 325
377
+ ],
378
+ "page_idx": 4
379
+ },
380
+ {
381
+ "type": "text",
382
+ "text": "4.2 THE PROBLEM OF LEARNING NEGATION ",
383
+ "text_level": 1,
384
+ "bbox": [
385
+ 176,
386
+ 508,
387
+ 490,
388
+ 522
389
+ ],
390
+ "page_idx": 4
391
+ },
392
+ {
393
+ "type": "text",
394
+ "text": "The interpretation of negated sentences such as tell me a joke that is not offensive is a fundamental facet of natural language understanding, and potentially critical for artificial agents receiving instructions from human users. Despite its communicative importance, negation can be challenging to acquire for human language learners. For instance, negated utterances pose greater production and comprehension difficulties than the equivalent non-negated language (Nordmeyer & Frank, 2014; Pea, 1980). To explore the acquisition of negation in grounded language learning models, we designed a simulation in which, as before, our agent was placed in a single room and required to select one of two objects matching an instruction. From a full set of training words $I$ (e.g. red or ball), a subset, $I _ { 1 } \\subset I$ , was sampled and presented to the agent in both positive and negative forms (ball, not ball) and a disjoint subset, $I _ { 2 } \\subset I$ , was provided only in positive forms (pencil). To test whether the agent could learn to understand the instruction form pick something that is not an $X$ in a generally applicable way, we periodically measured its ability to interpret negated versions of the instructions in $I _ { 2 }$ . ",
395
+ "bbox": [
396
+ 174,
397
+ 535,
398
+ 825,
399
+ 702
400
+ ],
401
+ "page_idx": 4
402
+ },
403
+ {
404
+ "type": "text",
405
+ "text": "As illustrated in Figure 3, the agent learned to follow both positive and negative instructions, for various sets of instruction words $I$ . However, unlike other linguistic operations such as adjective-noun modification (Hermann et al., 2017), the agent exhibited difficulty generalising the notion of negation acquired in the context of $I _ { 1 }$ to the held-out items $I _ { 2 }$ . This difficulty was most acute when $I$ consisted of 12 colour terms split evenly into $I _ { 1 }$ and $I _ { 2 }$ . Indeed, the ability to generalise negation improved as the size of $I$ increased to include 40 shapes, from just above chance (a small positive average reward) to $7 5 \\%$ (yielding an average reward of $\\approx 5 / 1 0 $ ). There was also a small but interesting difference in generalisation when negating shape terms vs. colour terms, which is consistent with the processing differences discussed above and in more detail in Section 4.4. ",
406
+ "bbox": [
407
+ 174,
408
+ 709,
409
+ 825,
410
+ 833
411
+ ],
412
+ "page_idx": 4
413
+ },
414
+ {
415
+ "type": "text",
416
+ "text": "We conjecture that negation does not generalise easily because, for a word $i _ { n } \\in I$ and corresponding extension set of objects $s _ { n } \\in S$ , the agent can perform perfectly on the training set by simply associating instructions of the form ‘not $w '$ with the extension $s _ { 1 } \\cup \\cdot \\cdot \\cdot s _ { n - 1 } \\cup s _ { n + 1 } \\cdot \\cdot \\cdot$ . This understanding of negation would generalise much worse than an interpretation of ‘not $w ^ { i }$ ’ that involved identifying and avoiding an object of type $w$ . For small training sets, the results suggest that the model prefers the former interpretation, but also that its tendency to discover the latter more generalisable understanding increases as the set of negated concepts to which it is exposed grows. Thus, with appropriately broad exposure to instances of negation during training, neural networks without bespoke biases or regularization can learn to respond effectively to negated stimuli pertaining to their perceptible surroundings. However, tailored architectures and computational biases may be required in cases where agents learn from, and act on, constrained sets of linguistic stimuli. ",
417
+ "bbox": [
418
+ 176,
419
+ 842,
420
+ 825,
421
+ 896
422
+ ],
423
+ "page_idx": 4
424
+ },
425
+ {
426
+ "type": "text",
427
+ "text": "",
428
+ "bbox": [
429
+ 173,
430
+ 103,
431
+ 825,
432
+ 202
433
+ ],
434
+ "page_idx": 5
435
+ },
436
+ {
437
+ "type": "image",
438
+ "img_path": "images/62b9423c4ef63ed16dede087ebd7dfc46e529a6aa86a8fe41563323217e98def.jpg",
439
+ "image_caption": [
440
+ "Figure 3: The problem of learning negation in language learning agents: The agent must be exposed to negative instructions in a sufficiently diverse range of contexts in order to learn a useful generalisable notion of negation. If trained to interpret positive commands involving 12 terms and negative commands involving 6 of those 12 terms (left, colour terms, middle, shape terms), the agent does not effectively interpret negative commands involving the remaining 6 terms. When exposed to 40 shape terms and trained to interpret negative commands involving 20 of those terms, the agent generalises the negation operation more effectively, but still not perfectly. When the two-word negative instructions are encoded with an LSTM rather than additive BOW encoder, an almost identical pattern of gradually improving generalisation is observed. "
441
+ ],
442
+ "image_footnote": [],
443
+ "bbox": [
444
+ 119,
445
+ 224,
446
+ 879,
447
+ 407
448
+ ],
449
+ "page_idx": 5
450
+ },
451
+ {
452
+ "type": "text",
453
+ "text": "4.3 CURRICULUM LEARNING",
454
+ "text_level": 1,
455
+ "bbox": [
456
+ 176,
457
+ 584,
458
+ 388,
459
+ 597
460
+ ],
461
+ "page_idx": 5
462
+ },
463
+ {
464
+ "type": "text",
465
+ "text": "The idea that learning is more successful if simpler things are studied before more complex things is a basic tenet of human education. There is some consensus that early exposure to simple, clear linguistic input helps child language acquisition (Fernald et al., 2010), although this is not unanimous (Shore, 1997). Controlled experiments with artificial neural networks trained directly on symbolic (languagelike) data have alse revealed faster or more effective learning when training examples are ordered by some metric of complexity (Elman, 1993). This approach is now typically referred to as curriculum learning (Bengio et al., 2009). However, robust improvements due to curriculum learning can be difficult to achieve in the context of text-based learning (Mikolov et al., 2011; Graves et al., 2017), and curricula are not ordinarily applied when training text-based neural language models. Recent evidence suggests that the benefits of curriculum training can be more easily realised for agents learning to act conditioned on language than those learning to map between linguistic inputs and outputs. Both Hermann et al. (2017) and Oh et al. (2017) observed that curricula were essential for agents learning to execute linguistic instructions that require both resolving of referring expressions (get the red ball..) and non-trivial action policies such as exploration (..in the green room). ",
466
+ "bbox": [
467
+ 174,
468
+ 611,
469
+ 825,
470
+ 805
471
+ ],
472
+ "page_idx": 5
473
+ },
474
+ {
475
+ "type": "text",
476
+ "text": "Here, we chose to explore curriculum learning in a more controlled way in grounded language learning agents. To do so, we trained our agent to learn the meaning of 40 shape words (as exhibited by its ability to respond appropriately) under two conditions. In one condition, the agent was presented with the 40 words (together with corresponding target and confounding objects) sampled randomly throughout training. In another condition, the agent was only presented with a subset of the 40 words (selected at random) until these were mastered (as indicated by an average reward of $9 . 8 / 1 0$ over 1000 consecutive trials), at which point this subset was expanded to include more words. This process was iterated for subsets of size 2, 5, 10 and eventually 40 words. ",
477
+ "bbox": [
478
+ 174,
479
+ 813,
480
+ 825,
481
+ 924
482
+ ],
483
+ "page_idx": 5
484
+ },
485
+ {
486
+ "type": "image",
487
+ "img_path": "images/af3499742a97b045b72b44987791c2afe7920507e3eb2bb2dbce8c9b42337ee1.jpg",
488
+ "image_caption": [
489
+ "Figure 4: Curriculum training expedites vocabulary growth: An agent that is presented with stimuli sampled uniformly from a set $S$ of 40 shape words (red line) learns more slowly than one whose stimuli are constrained to a two-word subset $S _ { 1 } , S _ { 1 } \\subset S$ , until the agent learns both words, then extended to a 5-word subset $S _ { 2 } , S _ { 1 } \\subset S _ { 2 } \\subset S$ , then a 10-word subset $S _ { 3 } , S _ { 2 } \\subset S _ { 3 } \\subset S$ . This strong effect of ‘curriculum learning’ can be observed both when comparing average reward when agents in the two conditions are learning words sampled from $S$ (left - note that the agent in the curriculum condition begins reporting performance on $S$ after prior training on the restricted subsets) and by measuring vocabulary size as a function of training episodes (right).5 "
490
+ ],
491
+ "image_footnote": [],
492
+ "bbox": [
493
+ 179,
494
+ 108,
495
+ 812,
496
+ 291
497
+ ],
498
+ "page_idx": 6
499
+ },
500
+ {
501
+ "type": "text",
502
+ "text": "As shown in Figure 4, an agent that followed the curriculum (i.e. in the second condition) learned notably faster overall than one presented directly with a large group of new words. This result further corroborates the importance of training curricula for grounded language learning agents. Moreover, unlike the effect observed by Hermann et al. (2017), which focused on tasks requiring the agent to explore a large maze, the present simulation demonstrates strong curriculum effects simply when learning to associate objects with words. Thus, the development of core linguistic and semantic knowledge in situated or grounded agents can be clearly expedited by starting small and easy and slowly increasing the language learning challenge faced by the agent. ",
503
+ "bbox": [
504
+ 174,
505
+ 448,
506
+ 825,
507
+ 560
508
+ ],
509
+ "page_idx": 6
510
+ },
511
+ {
512
+ "type": "text",
513
+ "text": "4.4 PROCESSING AND REPRESENTATION DIFFERENCES ",
514
+ "text_level": 1,
515
+ "bbox": [
516
+ 174,
517
+ 579,
518
+ 560,
519
+ 592
520
+ ],
521
+ "page_idx": 6
522
+ },
523
+ {
524
+ "type": "text",
525
+ "text": "Many studies aiming to understand linguistic processing in humans do so by uncovering connections between different semantic or conceptual domains and distinct processing or patterns of representation. These effects emerge via both behavioural methods (measuring differences in how subjects learn, use or even forget concepts of different types (Bowerman & Choi, 2001; Paivio et al., 1994)) and neuroimaging (associating words of different types with spatially and structurally distinct brain regions (Huth et al., 2016; Patterson et al., 2007)). Neuroscientific theories of memory, representation and learning have been developed to account for these effects (Rogers & McClelland, 2004; Binder & Desai, 2011). In the pursuit of a better understanding of artificial agents, we can similarly explore links between word classes, semantic domains and patterns of learning, behaviour, processing or representation. This knowledge could ultimately be essential for informing the process of designing architectures capable of learning not just the simple language studied here, but also the full range of abstract semantic phenomena inherent in adult language. ",
526
+ "bbox": [
527
+ 174,
528
+ 604,
529
+ 825,
530
+ 771
531
+ ],
532
+ "page_idx": 6
533
+ },
534
+ {
535
+ "type": "text",
536
+ "text": "Word learning speeds The order in which words of different types are acquired has been used to inform theories of child language acquisition (Gentner, 1982) and human semantic processing more generally (Ghyselinck et al., 2004). To explore the order of word learning in our agent, we exposed it to randomly interleaved training instances for words of six different classes (shapes, colours, patterns, sizes, shades and superordinate category terms, such as furniture), for multiple shapes. We compared the rates of word learning in two conditions. In the fixed class-size, each class was restricted to two exemplars. In the variable class-size condition, each class was represented by a different number of members, a more faithful reflection of natural language, where one word class (e.g. prepositions) can have a different number of members from another (e.g. nouns).6 In both conditions, the training stimuli were sampled random uniformly from all word types (not word classes), so that an agent in the variable class-size condition received approximately four times as much exposure to shape words as to colour words, for instance. ",
537
+ "bbox": [
538
+ 174,
539
+ 787,
540
+ 825,
541
+ 886
542
+ ],
543
+ "page_idx": 6
544
+ },
545
+ {
546
+ "type": "text",
547
+ "text": "",
548
+ "bbox": [
549
+ 174,
550
+ 103,
551
+ 825,
552
+ 172
553
+ ],
554
+ "page_idx": 7
555
+ },
556
+ {
557
+ "type": "text",
558
+ "text": "As illustrated in Figure 5, there were clear differences in the speed with which the agent learned words of different classes. In the fixed class-size condition, the first words to be learned were blue (a colour word) and diagonal-striped (a pattern), with the second colour word, brown, learned around the same time as the two shapes chair and suitcase and the relative size terms larger and smaller. Category terms were learned after shape terms.7 In contrast, in the variable class-size condition the variable exposure to different word classes seems to cause a degree of specialisation in shape words, so that the agent learns all 40 shape words well before it acquires the 12 colour words. ",
559
+ "bbox": [
560
+ 173,
561
+ 180,
562
+ 826,
563
+ 279
564
+ ],
565
+ "page_idx": 7
566
+ },
567
+ {
568
+ "type": "image",
569
+ "img_path": "images/81c7f4c2eaf2989e134345d6ea101b1b8c117de53f1bd31a4e1614513ad5387c.jpg",
570
+ "image_caption": [
571
+ "Figure 5: Words from different semantic classes are learned at different speeds: In the fixed class-size condition (left), the agent learns two words from each class. In the variable class-size condition (right) each class has a different number of members, as per supplementary material 6.2. "
572
+ ],
573
+ "image_footnote": [],
574
+ "bbox": [
575
+ 184,
576
+ 292,
577
+ 815,
578
+ 484
579
+ ],
580
+ "page_idx": 7
581
+ },
582
+ {
583
+ "type": "text",
584
+ "text": "Layer-wise attention To complement our behavioural analysis we developed a method for better understanding semantic processing and representation in the agent. The method, which we call layerwise attention, involves modifying the agent architecture to expose processing differences in the visual features that are most pertinent to each lexical concept. In the standard agent, a distributed representation of the linguistic input is concatenated with the output from the top layer of a 3-layer convolutional visual module at each timestep, fed through a multi-layer perceptron and then passed to the agent’s (recurrent) core. We modify this agent so that it can learn to attend to the output from different layers of its visual processing module, conditioned on the linguistic input available at a particular moment. ",
585
+ "bbox": [
586
+ 173,
587
+ 564,
588
+ 825,
589
+ 689
590
+ ],
591
+ "page_idx": 7
592
+ },
593
+ {
594
+ "type": "text",
595
+ "text": "Let $e _ { l }$ be the representation of a language instruction $l$ and $\\mathbf { v } _ { i }$ be the output of layer $i = { 1 , 2 , 3 }$ of the visual module with dimension $n _ { i } \\times n _ { i } \\times k _ { i }$ , where $k _ { i }$ is the number of feature maps. In the layerwise attention module, the $\\mathbf { v } _ { i }$ are first passed through 3 independent linear layers to $\\mathbf { v } _ { \\ i } ^ { \\prime }$ with common final dimension $n _ { i } \\times n _ { i } \\times K$ , such that $K$ is also the dimensionality of $e _ { l }$ . The $\\mathbf { v } _ { \\ i } ^ { \\prime }$ are then stacked into a single tensor $T$ of dimension $d \\times K$ , where $\\begin{array} { r } { d = \\sum _ { i = 1 } ^ { 3 } n _ { i } ^ { 2 } } \\end{array}$ . $T$ is then multiplied by $e _ { l }$ and passed through a softmax layer to yield a $d$ dimensional discrete probability distribution over all (pixel-like) locations represented in each layer of the visual module $\\mathbf { V }$ . These values are applied multiplicatively to each of the $k _ { i }$ -dimension) representations returned by $\\mathbf { V }$ , before a pooling step (mirroring that of the final layer in the original agent) and then concatenation. ",
596
+ "bbox": [
597
+ 173,
598
+ 696,
599
+ 825,
600
+ 824
601
+ ],
602
+ "page_idx": 7
603
+ },
604
+ {
605
+ "type": "text",
606
+ "text": "Layerwise attention provides a measure not only of which image locations contain the most important information for the agent when choosing actions at a given timestep, but also at what level of (visual) abstraction that information is most useful. This insight can be visualised by applying the method of Simonyan et al. (2014), propagating the probability mass from the attention distribution back onto the input image. Figure 6 illustrates the effect of backpropagating the attention probabilities corresponding to each layer of the convnet onto (grayscale copies of) the visual input.8 As is clear from these visualisations, an agent that is exposed only to shape words will learn to rely on features from the upper-most layers of its visual module when considering objects in its surroundings. In contrast, an agent trained to interpret only colour terms focuses with feature detectors from the lower layers of its visual module in order to distinguish between objects of interest. It is well established that convolutional networks trained to classify images also exhibit differential specialisation of feature detectors between layers (see e.g. LeCun et al. (2010)). Layerwise attention provides a means to quantify the magnitude of this specialisation, and to measure the importance of each layer with respect to particular linguistic stimuli. It is also notable that a more conventional 2D (T-SNE) visualisation of the word embeddings in the input layer of $\\mathbf { L }$ provides further evidence of of word-class-specific processing, as illustrated in Figure 6. ",
607
+ "bbox": [
608
+ 176,
609
+ 832,
610
+ 825,
611
+ 887
612
+ ],
613
+ "page_idx": 7
614
+ },
615
+ {
616
+ "type": "image",
617
+ "img_path": "images/02677b860b93b49cae0b784f5d34977205e79623f6457b1e44394f10478e7fa0.jpg",
618
+ "image_caption": [
619
+ "Figure 6: Representation and processing differences between colour and shape words. ‘Dashboards’ for interpreting processing in an agent with layerwise attention. The large pane at the top left of the dashboard shows the input to the agent. The bar chart on the bottom left shows the attention distribution over all 520 ‘locations’ from the agent’s visual representations. 400 red bars show the attention on the $( 2 0 \\times 2 0 )$ locations output from the lowest layer of the convnet, 81 green bars show the attention on the $( 9 \\times 9 )$ locations from the middle layer and 49 blue bars show the attention on the $( 7 \\times 7 )$ locations from the top layer. The small windows on the right side illustrate these attention weights (grouped by layer) propagated back to and superimposed over a greyscale copy of the input image, as described by Simonyan et al. (2014). An agent trained exclusively on colour words (A) relies more on the first and second layers of the convnet than an agent trained exclusively on shape words $\\mathbf { ( B ) }$ , which uses second and upper layer visual features. C: A schematic of layerwise attention in the agent architecture. D: A 2D (t-SNE) visualisation of the space of the word embeddings weights in the language module $\\mathbf { \\Pi } ( \\mathbf { L } )$ of an agent trained on different word types, illustrating that words cluster naturally according to semantic classes in the linguistic memory of the agent. "
620
+ ],
621
+ "image_footnote": [],
622
+ "bbox": [
623
+ 192,
624
+ 102,
625
+ 799,
626
+ 525
627
+ ],
628
+ "page_idx": 8
629
+ },
630
+ {
631
+ "type": "text",
632
+ "text": "",
633
+ "bbox": [
634
+ 174,
635
+ 770,
636
+ 825,
637
+ 882
638
+ ],
639
+ "page_idx": 8
640
+ },
641
+ {
642
+ "type": "text",
643
+ "text": "",
644
+ "bbox": [
645
+ 174,
646
+ 103,
647
+ 823,
648
+ 160
649
+ ],
650
+ "page_idx": 9
651
+ },
652
+ {
653
+ "type": "text",
654
+ "text": "5 CONCLUSION ",
655
+ "text_level": 1,
656
+ "bbox": [
657
+ 176,
658
+ 179,
659
+ 318,
660
+ 194
661
+ ],
662
+ "page_idx": 9
663
+ },
664
+ {
665
+ "type": "text",
666
+ "text": "Models that are capable of grounded language learning promise to significantly advance the ways in which humans and intelligent technology can interact. In this study, we have explored how a situated language learning agent built from canonical neural-network components overcomes the challenge of early language learning. We measured the behaviour exhibited once the first words and simple phrases are acquired, tested factors that speed up this learning, explored aspects of language that pose particular problems and presented a technique, layerwise attention, for better understanding semantic and visual processing in such agents. ",
667
+ "bbox": [
668
+ 174,
669
+ 209,
670
+ 825,
671
+ 308
672
+ ],
673
+ "page_idx": 9
674
+ },
675
+ {
676
+ "type": "text",
677
+ "text": "The application of experimental paradigms from cognitive psychology to better understand deep neural nets was proposed by Ritter et al. (2017), who observed that convolutional architectures exhibit a shape bias when trained on the ImageNet Challenge data. The ability to control precisely both training and test stimuli in our simulated environment allowed us to isolate this effect as deriving from the training data, and indeed to reach the opposite conclusion about the architecture itself. This study also goes beyond that of Ritter et al. (2017) in exploring more abstract linguistic operations (negation, abstract category terms) and studying curriculum effects on the dynamics of word learning. Further, we complement these behavioural observations with computatoinal analysis of representation and processing, via layerwise attention. ",
678
+ "bbox": [
679
+ 174,
680
+ 314,
681
+ 825,
682
+ 439
683
+ ],
684
+ "page_idx": 9
685
+ },
686
+ {
687
+ "type": "text",
688
+ "text": "While the control and precision afforded by the simulated environment in the present study has made these analyses and conclusions possible, in future, as our understanding of language learning agents develops, it will be essential to verify conclusions on agents trained on more naturalistic data. At first, this might involve curated sets of images, videos and naturally-occurring text etc, and, ultimately, experiments on robots trained to communicate about perceptible surroundings with human interlocutors. In a world with agents capable of learning such advanced linguistic behaviour, it would certainly be more challenging, but also even more crucial, to understand not just what they can do, but also how they learn to do it. ",
689
+ "bbox": [
690
+ 174,
691
+ 445,
692
+ 825,
693
+ 558
694
+ ],
695
+ "page_idx": 9
696
+ },
697
+ {
698
+ "type": "text",
699
+ "text": "REFERENCES ",
700
+ "text_level": 1,
701
+ "bbox": [
702
+ 174,
703
+ 578,
704
+ 285,
705
+ 592
706
+ ],
707
+ "page_idx": 9
708
+ },
709
+ {
710
+ "type": "text",
711
+ "text": "Stanislaw Antol, Aishwarya Agrawal, Jiasen Lu, Margaret Mitchell, Dhruv Batra, C. Lawrence Zitnick, and Devi Parikh. VQA: Visual Question Answering. In International Conference on Computer Vision (ICCV), 2015. ",
712
+ "bbox": [
713
+ 176,
714
+ 599,
715
+ 823,
716
+ 642
717
+ ],
718
+ "page_idx": 9
719
+ },
720
+ {
721
+ "type": "text",
722
+ "text": "Charles Beattie, Joel Z. Leibo, Denis Teplyashin, Tom Ward, Marcus Wainwright, Heinrich Kuttler, ¨ Andrew Lefrancq, Simon Green, V´ıctor Valdes, Amir Sadik, Julian Schrittwieser, Keith Anderson, ´ Sarah York, Max Cant, Adam Cain, Adrian Bolton, Stephen Gaffney, Helen King, Demis Hassabis, Shane Legg, and Stig Petersen. Deepmind lab. CoRR, abs/1612.03801, 2016. URL http: //arxiv.org/abs/1612.03801. ",
723
+ "bbox": [
724
+ 174,
725
+ 648,
726
+ 826,
727
+ 718
728
+ ],
729
+ "page_idx": 9
730
+ },
731
+ {
732
+ "type": "text",
733
+ "text": "Yoshua Bengio, Jer´ ome Louradour, Ronan Collobert, and Jason Weston. Curriculum learning. In ˆ Proceedings of the 26th annual international conference on machine learning, pp. 41–48. ACM, 2009. ",
734
+ "bbox": [
735
+ 173,
736
+ 726,
737
+ 825,
738
+ 767
739
+ ],
740
+ "page_idx": 9
741
+ },
742
+ {
743
+ "type": "text",
744
+ "text": "Jeffrey R Binder and Rutvik H Desai. The neurobiology of semantic memory. Trends in cognitive sciences, 15(11):527–536, 2011. ",
745
+ "bbox": [
746
+ 173,
747
+ 775,
748
+ 823,
749
+ 804
750
+ ],
751
+ "page_idx": 9
752
+ },
753
+ {
754
+ "type": "text",
755
+ "text": "Melissa Bowerman and Soonja Choi. Shaping meanings for language: universal and language-specific in the acquisition of semantic categories. In Language acquisition and conceptual development, pp. 475–511. Cambridge University Press, 2001. ",
756
+ "bbox": [
757
+ 174,
758
+ 810,
759
+ 825,
760
+ 853
761
+ ],
762
+ "page_idx": 9
763
+ },
764
+ {
765
+ "type": "text",
766
+ "text": "Roger Brown. A first language: The early stages. Harvard U. Press, 1973. ",
767
+ "bbox": [
768
+ 176,
769
+ 859,
770
+ 660,
771
+ 875
772
+ ],
773
+ "page_idx": 9
774
+ },
775
+ {
776
+ "type": "text",
777
+ "text": "Devendra Singh Chaplot, Kanthashree Mysore Sathyendra, Rama Kumar Pasumarthi, Dheeraj Rajagopal, and Ruslan Salakhutdinov. Gated-attention architectures for task-oriented language grounding. arXiv preprint arXiv:1706.07230, 2017. ",
778
+ "bbox": [
779
+ 178,
780
+ 882,
781
+ 823,
782
+ 922
783
+ ],
784
+ "page_idx": 9
785
+ },
786
+ {
787
+ "type": "text",
788
+ "text": "Eliana Colunga and Linda B Smith. From the lexicon to expectations about kinds: A role for associative learning. Psychological review, 112(2):347–382, 2005. ",
789
+ "bbox": [
790
+ 169,
791
+ 103,
792
+ 823,
793
+ 132
794
+ ],
795
+ "page_idx": 10
796
+ },
797
+ {
798
+ "type": "text",
799
+ "text": "Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In Computer Vision and Pattern Recognition, 2009. CVPR 2009. IEEE Conference on, pp. 248–255. IEEE, 2009. ",
800
+ "bbox": [
801
+ 174,
802
+ 140,
803
+ 823,
804
+ 184
805
+ ],
806
+ "page_idx": 10
807
+ },
808
+ {
809
+ "type": "text",
810
+ "text": "Jeffrey L Elman. Learning and development in neural networks: The importance of starting small. Cognition, 48(1):71–99, 1993. ",
811
+ "bbox": [
812
+ 171,
813
+ 190,
814
+ 825,
815
+ 220
816
+ ],
817
+ "page_idx": 10
818
+ },
819
+ {
820
+ "type": "text",
821
+ "text": "Anne Fernald, Kirsten Thorpe, and Virginia A. Marchman. Blue car, red car: Developing efficiency in online interpretation of adjectivenoun phrases. Cognitive Psychology, 60(3):190 – 217, 2010. ",
822
+ "bbox": [
823
+ 173,
824
+ 228,
825
+ 823,
826
+ 258
827
+ ],
828
+ "page_idx": 10
829
+ },
830
+ {
831
+ "type": "text",
832
+ "text": "Michael C Frank, Mika Braginsky, Daniel Yurovsky, and Virginia A Marchman. Wordbank: An open repository for developmental vocabulary data. Journal of child language, 44(3):677–694, 2017. ",
833
+ "bbox": [
834
+ 171,
835
+ 265,
836
+ 823,
837
+ 295
838
+ ],
839
+ "page_idx": 10
840
+ },
841
+ {
842
+ "type": "text",
843
+ "text": "Dedre Gentner. Why nouns are learned before verbs: Linguistic relativity versus natural partitioning. Center for the Study of Reading Technical Report; no. 257, 1982. ",
844
+ "bbox": [
845
+ 171,
846
+ 303,
847
+ 825,
848
+ 332
849
+ ],
850
+ "page_idx": 10
851
+ },
852
+ {
853
+ "type": "text",
854
+ "text": "Mandy Ghyselinck, Michael B Lewis, and Marc Brysbaert. Age of acquisition and the cumulativefrequency hypothesis: A review of the literature and a new multi-task investigation. Acta psychologica, 115(1):43–67, 2004. ",
855
+ "bbox": [
856
+ 173,
857
+ 339,
858
+ 823,
859
+ 382
860
+ ],
861
+ "page_idx": 10
862
+ },
863
+ {
864
+ "type": "text",
865
+ "text": "Alex Graves, Marc G Bellemare, Jacob Menick, Remi Munos, and Koray Kavukcuoglu. Automated curriculum learning for neural networks. Proceedings of ICML, 2017. ",
866
+ "bbox": [
867
+ 169,
868
+ 390,
869
+ 825,
870
+ 420
871
+ ],
872
+ "page_idx": 10
873
+ },
874
+ {
875
+ "type": "text",
876
+ "text": "Karl Moritz Hermann, Felix Hill, Simon Green, Fumin Wang, Ryan Faulkner, Hubert Soyer, David Szepesvari, Wojtek Czarnecki, Max Jaderberg, Denis Teplyashin, et al. Grounded language learning in a simulated 3d world. arXiv preprint arXiv:1706.06551, 2017. ",
877
+ "bbox": [
878
+ 176,
879
+ 426,
880
+ 825,
881
+ 470
882
+ ],
883
+ "page_idx": 10
884
+ },
885
+ {
886
+ "type": "text",
887
+ "text": "Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, 9(8): 1735–1780, 1997. ",
888
+ "bbox": [
889
+ 171,
890
+ 478,
891
+ 825,
892
+ 507
893
+ ],
894
+ "page_idx": 10
895
+ },
896
+ {
897
+ "type": "text",
898
+ "text": "George J Hollich, Kathy Hirsh-Pasek, Roberta Michnick Golinkoff, Rebecca J Brand, Ellie Brown, He Len Chung, Elizabeth Hennon, Camille Rocroi, and Lois Bloom. Breaking the language barrier: An emergentist coalition model for the origins of word learning. Monographs of the society for research in child development, pp. i–135, 2000. ",
899
+ "bbox": [
900
+ 173,
901
+ 515,
902
+ 825,
903
+ 571
904
+ ],
905
+ "page_idx": 10
906
+ },
907
+ {
908
+ "type": "text",
909
+ "text": "Marjorie S Horton and Ellen M Markman. Developmental differences in the acquisition of basic and superordinate categories. Child development, pp. 708–719, 1980. ",
910
+ "bbox": [
911
+ 171,
912
+ 580,
913
+ 825,
914
+ 609
915
+ ],
916
+ "page_idx": 10
917
+ },
918
+ {
919
+ "type": "text",
920
+ "text": "Alexander G Huth, Wendy A de Heer, Thomas L Griffiths, Fred´ eric E Theunissen, and Jack L Gallant. ´ Natural speech reveals the semantic maps that tile human cerebral cortex. Nature, 532(7600): 453–458, 2016. ",
921
+ "bbox": [
922
+ 174,
923
+ 617,
924
+ 825,
925
+ 660
926
+ ],
927
+ "page_idx": 10
928
+ },
929
+ {
930
+ "type": "text",
931
+ "text": "Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems, pp. 1097–1105, 2012. ",
932
+ "bbox": [
933
+ 174,
934
+ 667,
935
+ 825,
936
+ 710
937
+ ],
938
+ "page_idx": 10
939
+ },
940
+ {
941
+ "type": "text",
942
+ "text": "Barbara Landau, Linda B Smith, and Susan S Jones. The importance of shape in early lexical learning. Cognitive development, 3(3):299–321, 1988. ",
943
+ "bbox": [
944
+ 176,
945
+ 718,
946
+ 823,
947
+ 748
948
+ ],
949
+ "page_idx": 10
950
+ },
951
+ {
952
+ "type": "text",
953
+ "text": "Yann LeCun, Koray Kavukcuoglu, and Clement Farabet. Convolutional networks and applications in ´ vision. In Circuits and Systems (ISCAS), Proceedings of 2010 IEEE International Symposium on, pp. 253–256. IEEE, 2010. ",
954
+ "bbox": [
955
+ 176,
956
+ 756,
957
+ 825,
958
+ 799
959
+ ],
960
+ "page_idx": 10
961
+ },
962
+ {
963
+ "type": "text",
964
+ "text": "Tal Linzen, Emmanuel Dupoux, and Yoav Goldberg. Assessing the ability of lstms to learn syntaxsensitive dependencies. arXiv preprint arXiv:1611.01368, 2016. ",
965
+ "bbox": [
966
+ 174,
967
+ 806,
968
+ 823,
969
+ 837
970
+ ],
971
+ "page_idx": 10
972
+ },
973
+ {
974
+ "type": "text",
975
+ "text": "Ellen M Markman. Constraints children place on word meanings. Cognitive Science, 14(1):57–77, 1990. ",
976
+ "bbox": [
977
+ 173,
978
+ 844,
979
+ 823,
980
+ 873
981
+ ],
982
+ "page_idx": 10
983
+ },
984
+ {
985
+ "type": "text",
986
+ "text": "Toma´s Mikolov, Anoop Deoras, Daniel Povey, Luk ˇ a´s Burget, and Jan ˇ Cernock ˇ y. Strategies for \\` training large scale neural network language models. In Automatic Speech Recognition and Understanding (ASRU), 2011 IEEE Workshop on, pp. 196–201. IEEE, 2011. ",
987
+ "bbox": [
988
+ 176,
989
+ 881,
990
+ 825,
991
+ 924
992
+ ],
993
+ "page_idx": 10
994
+ },
995
+ {
996
+ "type": "text",
997
+ "text": "Dipendra K Misra, John Langford, and Yoav Artzi. Mapping instructions and visual observations to actions with reinforcement learning. Proceedings of EMNLP, 2017. ",
998
+ "bbox": [
999
+ 171,
1000
+ 103,
1001
+ 823,
1002
+ 132
1003
+ ],
1004
+ "page_idx": 11
1005
+ },
1006
+ {
1007
+ "type": "text",
1008
+ "text": "Volodymyr Mnih, Adria Puigdomenech Badia, Mehdi Mirza, Alex Graves, Timothy P Lillicrap, Tim Harley, David Silver, and Koray Kavukcuoglu. Asynchronous methods for deep reinforcement learning. In International Conference on Machine Learning, 2016. ",
1009
+ "bbox": [
1010
+ 176,
1011
+ 140,
1012
+ 823,
1013
+ 184
1014
+ ],
1015
+ "page_idx": 11
1016
+ },
1017
+ {
1018
+ "type": "text",
1019
+ "text": "Ann E Nordmeyer and Michael C Frank. The role of context in young childrens comprehension of negation. Journal of Memory and Language, 77:25–39, 2014. ",
1020
+ "bbox": [
1021
+ 171,
1022
+ 193,
1023
+ 825,
1024
+ 222
1025
+ ],
1026
+ "page_idx": 11
1027
+ },
1028
+ {
1029
+ "type": "text",
1030
+ "text": "Junhyuk Oh, Satinder Singh, Honglak Lee, and Pushmeet Kohli. Zero-shot task generalization with multi-task deep reinforcement learning. Proceedings of ICML, 2017. ",
1031
+ "bbox": [
1032
+ 171,
1033
+ 229,
1034
+ 825,
1035
+ 260
1036
+ ],
1037
+ "page_idx": 11
1038
+ },
1039
+ {
1040
+ "type": "text",
1041
+ "text": "Allan Paivio, Mary Walsh, and Trudy Bons. Concreteness effects on memory: When and why? Journal of Experimental Psychology: Learning, Memory, and Cognition, 20(5):1196, 1994. ",
1042
+ "bbox": [
1043
+ 171,
1044
+ 267,
1045
+ 825,
1046
+ 297
1047
+ ],
1048
+ "page_idx": 11
1049
+ },
1050
+ {
1051
+ "type": "text",
1052
+ "text": "Karalyn Patterson, Peter J Nestor, and Timothy T Rogers. Where do you know what you know? the representation of semantic knowledge in the human brain. Nature reviews. Neuroscience, 8(12): 976, 2007. ",
1053
+ "bbox": [
1054
+ 173,
1055
+ 305,
1056
+ 826,
1057
+ 348
1058
+ ],
1059
+ "page_idx": 11
1060
+ },
1061
+ {
1062
+ "type": "text",
1063
+ "text": "Roy D Pea. The development of negation in early child language. The social foundations of language and thought, pp. 156–186, 1980. ",
1064
+ "bbox": [
1065
+ 173,
1066
+ 357,
1067
+ 823,
1068
+ 387
1069
+ ],
1070
+ "page_idx": 11
1071
+ },
1072
+ {
1073
+ "type": "text",
1074
+ "text": "Kim Plunkett and Graham Schafer. Early speech perception and word learning. The development of language, pp. 51–72, 2001. ",
1075
+ "bbox": [
1076
+ 174,
1077
+ 395,
1078
+ 823,
1079
+ 424
1080
+ ],
1081
+ "page_idx": 11
1082
+ },
1083
+ {
1084
+ "type": "text",
1085
+ "text": "W. V. O. Quine. Word & Object. MIT Press, 1960. ",
1086
+ "bbox": [
1087
+ 173,
1088
+ 433,
1089
+ 508,
1090
+ 448
1091
+ ],
1092
+ "page_idx": 11
1093
+ },
1094
+ {
1095
+ "type": "text",
1096
+ "text": "Samuel Ritter, David GT Barrett, Adam Santoro, and Matt M Botvinick. Cognitive psychology for deep neural networks: A shape bias case study. Proceedings of ICML, 2017. ",
1097
+ "bbox": [
1098
+ 173,
1099
+ 457,
1100
+ 823,
1101
+ 486
1102
+ ],
1103
+ "page_idx": 11
1104
+ },
1105
+ {
1106
+ "type": "text",
1107
+ "text": "Timothy T Rogers and James L McClelland. Semantic cognition: A parallel distributed processing approach. MIT press, 2004. ",
1108
+ "bbox": [
1109
+ 174,
1110
+ 494,
1111
+ 823,
1112
+ 523
1113
+ ],
1114
+ "page_idx": 11
1115
+ },
1116
+ {
1117
+ "type": "text",
1118
+ "text": "Rima Shore. Rethinking the brain: New insights into early development. 1997. ",
1119
+ "bbox": [
1120
+ 173,
1121
+ 531,
1122
+ 692,
1123
+ 547
1124
+ ],
1125
+ "page_idx": 11
1126
+ },
1127
+ {
1128
+ "type": "text",
1129
+ "text": "K. Simonyan, A. Vedaldi, and A. Zisserman. Deep inside convolutional networks: Visualising image classification models and saliency maps. In Workshop at International Conference on Learning Representations, 2014. ",
1130
+ "bbox": [
1131
+ 174,
1132
+ 556,
1133
+ 825,
1134
+ 599
1135
+ ],
1136
+ "page_idx": 11
1137
+ },
1138
+ {
1139
+ "type": "text",
1140
+ "text": "Hendrik Strobelt, Sebastian Gehrmann, Bernd Huber, Hanspeter Pfister, and Alexander M Rush. Visual analysis of hidden state dynamics in recurrent neural networks. arXiv preprint arXiv:1606.07461, 2016. ",
1141
+ "bbox": [
1142
+ 174,
1143
+ 607,
1144
+ 825,
1145
+ 651
1146
+ ],
1147
+ "page_idx": 11
1148
+ },
1149
+ {
1150
+ "type": "text",
1151
+ "text": "Tijmen Tieleman and Geoffrey Hinton. Lecture 6.5-rmsprop: Divide the gradient by a running average of its recent magnitude. COURSERA: Neural networks for machine learning, 4(2), 2012. ",
1152
+ "bbox": [
1153
+ 173,
1154
+ 659,
1155
+ 825,
1156
+ 689
1157
+ ],
1158
+ "page_idx": 11
1159
+ },
1160
+ {
1161
+ "type": "text",
1162
+ "text": "Caiming Xiong, Stephen Merity, and Richard Socher. Dynamic memory networks for visual and textual question answering. In International Conference on Machine Learning, pp. 2397–2406, 2016. ",
1163
+ "bbox": [
1164
+ 174,
1165
+ 695,
1166
+ 826,
1167
+ 739
1168
+ ],
1169
+ "page_idx": 11
1170
+ },
1171
+ {
1172
+ "type": "text",
1173
+ "text": "Huijuan Xu and Kate Saenko. Ask, attend and answer: Exploring question-guided spatial attention for visual question answering. In European Conference on Computer Vision, pp. 451–466. Springer, 2016. ",
1174
+ "bbox": [
1175
+ 173,
1176
+ 748,
1177
+ 826,
1178
+ 791
1179
+ ],
1180
+ "page_idx": 11
1181
+ },
1182
+ {
1183
+ "type": "text",
1184
+ "text": "Jason Yosinski, Jeff Clune, Anh Nguyen, Thomas Fuchs, and Hod Lipson. Understanding neural networks through deep visualization. ICML Deep Learning workshop, 2015. ",
1185
+ "bbox": [
1186
+ 171,
1187
+ 799,
1188
+ 821,
1189
+ 830
1190
+ ],
1191
+ "page_idx": 11
1192
+ },
1193
+ {
1194
+ "type": "text",
1195
+ "text": "Matthew D Zeiler and Rob Fergus. Visualizing and understanding convolutional networks. In European conference on computer vision, pp. 818–833. Springer, 2014. ",
1196
+ "bbox": [
1197
+ 174,
1198
+ 838,
1199
+ 825,
1200
+ 867
1201
+ ],
1202
+ "page_idx": 11
1203
+ },
1204
+ {
1205
+ "type": "text",
1206
+ "text": "6 SUPPLEMENTARY MATERIAL ",
1207
+ "text_level": 1,
1208
+ "bbox": [
1209
+ 176,
1210
+ 102,
1211
+ 446,
1212
+ 117
1213
+ ],
1214
+ "page_idx": 12
1215
+ },
1216
+ {
1217
+ "type": "text",
1218
+ "text": "6.1 AGENT DETAILS ",
1219
+ "text_level": 1,
1220
+ "bbox": [
1221
+ 174,
1222
+ 135,
1223
+ 328,
1224
+ 147
1225
+ ],
1226
+ "page_idx": 12
1227
+ },
1228
+ {
1229
+ "type": "table",
1230
+ "img_path": "images/6f1d413049febd80a059416e394f96cac2f653b570d0e6342688e50d8444f2bf.jpg",
1231
+ "table_caption": [
1232
+ "Table 1: Agent hyperparameters that are fixed throughout our experimentation but otherwise not specified in the text. "
1233
+ ],
1234
+ "table_footnote": [],
1235
+ "table_body": "<table><tr><td>Hyperparameter</td><td>Value</td><td>Description</td></tr><tr><td>train_steps</td><td>640m</td><td>Theoretical maximum number of time steps (across all episodes) for which the agent willbe trained.</td></tr><tr><td>env_steps-per_core_step</td><td>4</td><td>Number of time steps between each action decision (action smoothing)</td></tr><tr><td>num_workers</td><td>32</td><td>Number of independent workers running replicas of the environment with asynchronous updating.</td></tr><tr><td>unroll_length</td><td>50</td><td>Number of time steps through which error is backpropagated in the core LSTM action module</td></tr><tr><td>visual encoder</td><td></td><td></td></tr><tr><td>numayers</td><td>3</td><td>Layers in the convolutional vision network.</td></tr><tr><td>outputchannels</td><td>(32,64,64)</td><td>Number of feature maps in each layer of the network.</td></tr><tr><td>kernels hapes</td><td>(8,4,3)</td><td>Shapes of the (square) convolutional kernels in each layer of the network.</td></tr><tr><td>strides</td><td>(4,2,1)</td><td>Convolution stride length in each layer of the network.</td></tr><tr><td>activation</td><td>relu</td><td>Activation function applied after all except the final layer of the visual encoder.</td></tr><tr><td>language encoder</td><td></td><td></td></tr><tr><td>encoder-type embeddingdim</td><td>BOW</td><td>Whetherthe language encoderuses anadditive bag-of-words (BOW)oranLSTMarchitecture(with tanh nonlinearity).</td></tr><tr><td></td><td>128</td><td>Dimension of the word and instruction embeddings.</td></tr><tr><td>cost calculation additional_discounting</td><td></td><td></td></tr><tr><td>cost_base</td><td>0.99</td><td>Discount used to compute the long-term return R_t in the A3C objective</td></tr><tr><td></td><td>0.5</td><td>Multiplicative scaling of all computed gradients on the backward pass in the network</td></tr><tr><td>optimisation clip-grad_norm</td><td></td><td></td></tr><tr><td>decay</td><td>100 0.99</td><td>Limit on the norm of the gradient across all agent network parameters (if above,scale down)</td></tr><tr><td>epsilon</td><td>0.1</td><td>Decay term in RMSprop gradient averaging function</td></tr><tr><td>learning_rate_finish</td><td>0</td><td>Epsilon term in RMSprop gradient averaging function</td></tr><tr><td>momentum</td><td></td><td>Learning rate at the end of training,based on which linear annealing of is applied.</td></tr><tr><td></td><td>0</td><td>Momentum parameter in RMSprop gradient averaging function</td></tr></table>",
1236
+ "bbox": [
1237
+ 171,
1238
+ 161,
1239
+ 924,
1240
+ 452
1241
+ ],
1242
+ "page_idx": 12
1243
+ },
1244
+ {
1245
+ "type": "table",
1246
+ "img_path": "images/445e0a4d103f9689d580c904e83224881a25dd5376c5c6f5cca6659b36b2172e.jpg",
1247
+ "table_caption": [
1248
+ "Table 2: Agent hyperparameters that randomly sampled in order to yield different replicas of our agents for training. uniform $( x , y )$ indicates that values are sampled uniformly from the range $[ x , y ]$ . loguniform $( x , y )$ indicates that values are sampled from a uniform distribution in log-space (favouring lower values) on the range $[ x , y ]$ . "
1249
+ ],
1250
+ "table_footnote": [],
1251
+ "table_body": "<table><tr><td>Hyperparameter</td><td>Value</td><td>Description</td></tr><tr><td>language encoder embed_init</td><td>uniform(0.5,1)</td><td>Standard deviation of normal distribution (mean = O) for sampling initial valuesofword-embeddingweights inL.</td></tr><tr><td>optimisation entropy_cost learning_rate_start</td><td>uniform(0.0005,0.005) loguniform(0.0001,0.002)</td><td>Strength of the (additive) entropy regularisation term in the A3C cost function. Learning rate at the beginning of training annealed linearly to reach learning_rate_finish at the end of train_steps.</td></tr></table>",
1252
+ "bbox": [
1253
+ 191,
1254
+ 515,
1255
+ 803,
1256
+ 632
1257
+ ],
1258
+ "page_idx": 12
1259
+ },
1260
+ {
1261
+ "type": "text",
1262
+ "text": "6.2 EXPERIMENT DETAILS ",
1263
+ "text_level": 1,
1264
+ "bbox": [
1265
+ 174,
1266
+ 727,
1267
+ 370,
1268
+ 741
1269
+ ],
1270
+ "page_idx": 12
1271
+ },
1272
+ {
1273
+ "type": "table",
1274
+ "img_path": "images/f04efed81b58ba9e2e5fc56e0d924baed80530c6e2e02bcc2a91c6fedd8ecf78.jpg",
1275
+ "table_caption": [
1276
+ "Table 3: Word classes (class size) used in the word learning speed experiment in Section 4.4. Superscript indicates if the shape a word refers to is also in the extension of a category word. "
1277
+ ],
1278
+ "table_footnote": [],
1279
+ "table_body": "<table><tr><td>Word class</td><td>Words</td></tr><tr><td>Shapes (40)</td><td>chair, suitcase,tv,ball,balloon,cow&#x27;,zebra’ cake,can’,cassete,chair, guitar, hair-brush, hat,ice-lolydder,il²,e,buh²,ey²,le,re,, fridge,hammer²,knife²,spoon²,apple³,banana³ flower,jug,pig&#x27;,pincer²,plant,saxophone,</td></tr><tr><td>Colours (12)</td><td>shoe4,tennis-racket, tomato&#x27;,tree³,wine-glass5 blue,brown, pink,yellow,red, green, cyan, magenta, white, grey, purple</td></tr><tr><td>Categories (5)</td><td>1:animals, 2:tools, 3:plants, 4:clothing, 5:containers</td></tr><tr><td>Patterns (3)</td><td>diagonal-striped,chequered, spotted</td></tr><tr><td>Shades (2)</td><td>lighter, darker</td></tr><tr><td>Sizes (2)</td><td>larger, smaller</td></tr></table>",
1280
+ "bbox": [
1281
+ 171,
1282
+ 402,
1283
+ 838,
1284
+ 580
1285
+ ],
1286
+ "page_idx": 13
1287
+ }
1288
+ ]
parse/train/ByZmGjkA-/ByZmGjkA-_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/ByZmGjkA-/ByZmGjkA-_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/Byj54-bAW/Byj54-bAW.md ADDED
@@ -0,0 +1,464 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # A TENSOR ANALYSIS ON DENSE CONNECTIVITY VIA CONVOLUTIONAL ARITHMETIC CIRCUITS
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ Several state of the art convolutional networks rely on inter-connecting different layers to ease the flow of information and gradient between their input and output layers. These techniques have enabled practitioners to successfully train deep convolutional networks with hundreds of layers. Particularly, a novel way of interconnecting layers was introduced as the Dense Convolutional Network (DenseNet) and has achieved state of the art performance on relevant image recognition tasks. Despite their notable empirical success, their theoretical understanding is still limited. In this work, we address this problem by analyzing the effect of layer interconnection on the overall expressive power of a convolutional network. In particular, the connections used in DenseNet are compared with other types of inter-layer connectivity. We carry out a tensor analysis on the expressive power inter-connections on convolutional arithmetic circuits (ConvACs) and relate our results to standard convolutional networks. The analysis leads to performance bounds and practical guidelines for design of ConvACs. The generalization of these results are discussed for other kinds of convolutional networks via generalized tensor decompositions.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ Recently, densely connected networks such as FractalNet (Larsson et al., 2016), ResNet (He et al., 2016), and DenseNet (Huang et al., 2016), have obtained state of the art performance on large problems where highly deep network configurations are used. Adding dense connections between different layers of a network virtually shortens its depth, thus allowing a better flow of information and gradient through the network. This makes possible the training of highly deep models. Models with these types of connections have been successfully trained with hundreds of layers. More specifically, DenseNets have achieved state of the art performance on the CIFAR-10, CIFAR-100, SVHN, and ImageNet datasets, using models of up to 1 thousand layers in depth. Nevertheless, whether these connections provide a fundamental enhancement on the expressive power of a network, or just improve the training of the model, is still an open question. In Huang et al. (2016), DenseNet models with 3 times less parameters than its counterpart (ResNets) were able to achieve the same performance on the ImageNet challenge. Moreover, a theoretical understanding of why the connections used by DenseNets lead to better performance compared with FractalNets or ResNets is still pending.
12
+
13
+ Despite the popularity of these models, there are few theoretical frameworks explaining the power of these models and providing insights to their performance. In Cohen et al. (2016a), the authors considered convolutional networks with linear activations and product pooling layers, called convolutional arithmetic circuits (ConvACs), and argued for the expressiveness of deep networks using a tensor based analysis. This analysis has been extended to rectifier based convolutional networks via generalization of the tensor product Cohen & Shashua (2016a). In Cohen & Shashua (2016a), it was shown that ConvACs enjoy a greater expressive power than rectifier based models despite the popularity of rectifier based networks in practice. Indeed the empirical relevance of ConvAC was demonstrated through an architecture called SimNets Cohen et al. (2016b). In addition, the generative ConvAC of Sharir et al. (2016) achieved state of the art performance in classification of images with missing pixels. These results served as motivation for the works of Cohen & Shashua (2016b); Cohen et al. (2017); Levine et al. (2017); Sharir & Shashua (2017), where different aspects of ConvACs were studied from a theoretical perspective.
14
+
15
+ In Cohen & Shashua (2016b) the inductive bias introduced by pooling geometries was studied. Later, Levine et al. (2017) makes use of the quantum entanglement measure to analyze the inductive bias introduced by the correlations among the channels of ConvACs. Moreover, Sharir & Shashua (2017) generalizes the convolutional layer of ConvACs by allowing overlapping receptive fields, in other words permitting stride values lower than the convolution patch size. These locally overlapping connections led to an enhancement on the expressive capacity of ConvACs. The notion of inter-layer connectivity for ConvACs was addressed by Cohen et al. (2017) in the context of sequential data processing, such as audio and text related tasks. In that work, the expressive capabilities of interconnecting processing blocks from a sequence was studied. Nevertheless, these types of interconnections are related to the sequential nature of the problem and different from the ones used in ResNet, FractalNet and DenseNet.
16
+
17
+ In this work, we extend the tensor analysis framework of Cohen et al. (2016a) to obtain insightful knowledge about the effect of dense connections, from the kind used in DenseNets, FractalNet and ResNet, on the expressiveness of deep ConvACs. We study the expressive capabilities provided by different types of dense connections. Moreover, from these results we derive performance bounds and practical guidelines for selection of the hyperparameters of a deep ConvAC, such as layer widths and the topology of dense connections. These results serve as the first step into understanding dense connectivity in rectifier networks as well, since they can be further extended to include rectifier linear units, in the same spirit as the generalization of the tensor products done by Cohen & Shashua (2016a).
18
+
19
+ The remainder of this paper is organized as follows. In Section 2, we introduce the notation and basic concepts from tensor algebra. In Section 3, we present the tensor representation of ConvACs as introduced by Cohen et al. (2016a), and later in Section 4, we obtain tensor representations for densely connected ConvACs. In Section 5, performance bounds and design guidelines are derived for densely connected ConvACs.
20
+
21
+ # 2 PRELIMINARIES
22
+
23
+ The term tensor refers to a multi-dimensional array, where the order of the tensor corresponds to the number of indexes required to access one of its entries. For instance, a vector is a tensor of order 1 while a matrix is a tensor of order 2. In general a tensor $\mathcal { A }$ of order $N$ requires $N$ indexes $( d _ { 1 } , \dots , d _ { N } )$ to access one of its elements. For the sake of notation, given $I \in \mathbb { N }$ , we use the expression $[ I ]$ to denote the set $\{ 1 , 2 , \ldots , I \}$ . In addition, the $( d _ { 1 } , \ldots , d _ { N } )$ -th entry of a given tensor of order $N$ and size $M _ { 1 } \times M _ { 2 } \times \cdot \cdot \cdot \times M _ { N }$ is denoted as $\mathcal { A } _ { d _ { 1 } , \dots , d _ { N } }$ , where $d _ { i } \in$ $[ M _ { i } ]$ for all $i \in [ N ]$ . Moreover, for the particular case of tensors of order $N$ with symmetric sizes $M _ { 1 } = M _ { 2 } \stackrel { . } { = } \dot { \cdot } \cdot \cdot = M _ { N } = M$ , we use $( \mathbb { R } ^ { M } ) ^ { \otimes N }$ as shorthand notation for $\mathbb { R } ^ { M \times \cdots \times M }$ . A crucial operator in tensor analysis is the tensor product $\otimes$ , since it is necessary for defining the rank of a tensor. For two tensors $\mathbf { \dot { \boldsymbol { B } } } \in \mathbb { R } ^ { M _ { 1 } \times \dots \times M _ { p } }$ and $\mathcal { C } \in \mathbb { R } ^ { M _ { p + 1 } \times \cdots \times M _ { p + q } }$ , the tensor product is defined such that $\pmb { { B } } \otimes \pmb { { C } } \in \mathbb { R } ^ { M _ { 1 } \times \cdots \times M _ { p + q } }$ and $( \mathcal { B } \otimes \mathcal { C } ) _ { d _ { 1 } , . . . , d _ { p + q } } = \mathcal { B } _ { d _ { 1 } , . . . , d _ { p } } \mathcal { C } _ { d _ { p + 1 } , . . . , d _ { p + q } }$ for all $( d _ { 1 } , \dotsc , d _ { p + q } )$ . In tensor algebra, a tensor $\mathcal { A } \in \mathbb { R } ^ { M _ { 1 } \times M _ { 2 } \times \cdots \times M _ { N } }$ is said to have rank 1 if it can be expressed as $\mathcal { A } = \mathbf { v } ^ { ( 1 ) } \otimes \cdots \otimes \mathbf { v } ^ { ( N ) }$ , where $\mathbf { v } ^ { ( i ) } \in \mathbb { R } ^ { M _ { i } }$ for all $i \in [ N ]$ . Moreover, any tensor $\mathcal { A } \in \dot { \mathbb { R } } ^ { M _ { 1 } \times M _ { 2 } \times \cdots \times M _ { N } }$ can be expressed as a sum of rank-1 tensors, that is
24
+
25
+ $$
26
+ \mathcal { A } = \sum _ { z = 1 } ^ { Z } \mathbf { v } _ { z } ^ { ( 1 ) } \otimes \cdots \otimes \mathbf { v } _ { z } ^ { ( N ) } ,
27
+ $$
28
+
29
+ where $Z ~ \in ~ \mathbb { N }$ is sufficiently large and $\mathbf { v } _ { z } ^ { ( i ) } \in \mathbb { R } ^ { M _ { i } }$ for $i \in [ N ]$ . Note that this statement is trivial for $\begin{array} { r } { Z = \prod _ { i = 1 } ^ { N } M _ { i } } \end{array}$ . On the other hand, when $Z$ is the minimum number such that (1) is satisfied, the rank of the tensor is defined to be $\operatorname { r a n k } ( \mathcal { A } ) \ = \ Z$ and (1) becomes equivalent to the well known CANDECOMP/PARAFAC (CP) decomposition of $\mathcal { A }$ . Another operator, that is on the core of the former works of Cohen & Shashua (2016a); Cohen et al. (2016a); Levine et al. (2017), is the matricization operator. The operator $[ A ]$ denotes the matricization of a tensor $\mathcal { A } \in \mathbb { R } ^ { M _ { 1 } \times \cdots \times M _ { N } }$ $N$ matrwith f the tensorin the row $\mathcal { A }$ $\left[ \mathcal { A } \right] \in \mathbb { R } ^ { M _ { 1 } \cdot M _ { 3 } \cdots M _ { N - 1 } \times M _ { 2 } \cdot M _ { 4 } \cdots M _ { N } }$ $A _ { d _ { 1 } , \dots , d _ { N } } ^ { y }$ $\begin{array} { r } { 1 + \sum _ { i = 1 } ^ { N / 2 } ( d _ { 2 i - 1 } - 1 ) \prod _ { j = i + 1 } ^ { N / 2 } M _ { 2 j - 1 } } \end{array}$ and column $\begin{array} { r } { 1 + \sum _ { i = 1 } ^ { N / 2 } ( d _ { 2 i - 1 } - 1 ) \prod _ { j = i + 1 } ^ { N / 2 } M _ { 2 j } } \end{array}$ . This is operator is of eat use since it enjoys properties such as $[ \mathcal { A } \otimes \mathcal { B } ] = [ \mathcal { A } ] \odot [ \mathcal { B } ]$ and $\operatorname { r a n k } ( \mathcal { A } ) \geq \operatorname { r a n k } ( [ \mathcal { A } ] )$ $\odot$
30
+
31
+ product of two matrices. Note that, since the Kronecker product is multiplicative in the rank, we have that $\operatorname { r a n k } ( \mathcal { A } \otimes \mathcal { B } ) \geq \operatorname { r a n k } ( [ \mathcal { A } \otimes \mathcal { B } ] ) = \operatorname { r a n k } ( [ \mathcal { A } ] ) \operatorname { r a n k } ( [ \mathcal { B } ] )$ which is a central property of this theoretical analysis framework.
32
+
33
+ # 3 CONVOLUTIONAL ARITHMETIC CIRCUITS AS TENSOR DECOMPOSITIONS
34
+
35
+ ![](images/d1add492da473f4873f116113c36b5cbfa965ef92f2ae99b4318dae5d9620bee.jpg)
36
+ Figure 1: (a) Example of a shallow (i.e., $L = 1$ ) convolutional arithmetic circuit. (b) Example of a deep convolutional arithmetic circuit.
37
+
38
+ A ConvAC is a convolutional neural network that utilizes linear activation functions with product pooling, unlike most popular convolutional networks which make use of rectifier activations with max or average pooling. Moreover, the input of the network is modeled by $\mathbf { X } = ( \mathbf { x } _ { 1 } , \ldots , \mathbf { x } _ { N } ) \in$ $( \mathbb { R } ^ { s } ) ^ { N }$ , where $\mathbf { x } _ { i } ~ \in ~ \mathbb { R } ^ { s }$ denotes the vectorization of the $i$ -th patch of the input image. For this analysis, it is assumed that a set of $M$ features is obtained from every patch, that is $f _ { \theta _ { d } } \big ( \mathbf { x } _ { i } \big ) \in \mathbb { R }$ for all $i \in [ N ] , d \in [ M ]$ . These features are selected from a given parametric family $\mathcal { F } = \{ f _ { \theta } : \mathbb { R } ^ { s } $ $\mathbb { R } : \theta \in \Theta \}$ , such as Gaussian kernels, wavelet functions, or learned features. Then, to determine whether an input $\mathbf { X }$ belongs to a class belonging to the set $\mathcal { V }$ , the network evaluates the some score functions $h _ { y } ( \mathbf { X } ) \in \mathbb { R }$ and decides for the class $y \in \mathcal { V }$ such that
39
+
40
+ $$
41
+ h _ { y } ( \mathbf { X } ) = \operatorname* { m a x } _ { y \in \mathcal { V } } h _ { y } ( \mathbf { X } ) .
42
+ $$
43
+
44
+ Using this formulation, in Figure 1(a) we observe an example of a single hidden layer ConvAC, while in Figure $1 ( \mathbf { b } )$ we observe the general case of a deep arithmetic circuit of $L$ layers. As shown by Cohen et al. (2016a), any score function of a ConvAC can be expressed as an homogeneous polynomial with degree $N$ on the input features of the form
45
+
46
+ $$
47
+ h _ { y } ( { \mathbf { X } } ) = \sum _ { d _ { 1 } , \ldots , d _ { N } = 1 } ^ { M } \mathcal { A } _ { d _ { 1 } , \ldots , d _ { N } } ^ { y } \prod _ { i = 1 } ^ { N } f _ { \theta _ { d _ { i } } } ( \mathbf { x } _ { i } ) ,
48
+ $$
49
+
50
+ where $\mathcal { A } _ { d _ { 1 } , . . . , d _ { N } } ^ { y } \ \in \ \mathbb { R }$ are the polynomial coefficients stored in the grid-tensor $\mathcal { A } ^ { y } \in ( \mathbb { R } ^ { M } ) ^ { \otimes ^ { N } }$ . In other words, a score function $h _ { y } ( \mathbf { X } )$ is a polynomial of $M N$ variables $f _ { \theta _ { d } } ( \mathbf { x } _ { i } ) ~ \in \mathbb { R }$ for all $i \in [ N ] , d \in [ M ]$ , degree $N$ , and $M ^ { N }$ polynomial coefficients stored in the grid-tensor $\mathcal { A } ^ { y }$ .
51
+
52
+ For the special case of a shallow ConvAC with $1 \times 1$ convolutions and $Z$ hidden units1, shown in Figure 1(a), the score functions are computed from the weight vectors $\mathbf { a } ^ { z , i } \triangleq [ a _ { 1 } ^ { z , i } , \hdots , a _ { M } ^ { z , i } ] ^ { \mathrm { T } } \in \mathbb { R } ^ { M }$ and $\mathbf { a } ^ { y } \triangleq [ a _ { 1 } ^ { y } , \hdots , a _ { Z } ^ { y } ] ^ { \mathrm { T } } \in \mathbb { R } ^ { Z }$ for all $i \in [ N ]$ and $z \in [ Z ]$ . This leads to the score function
53
+
54
+ $$
55
+ h _ { y } ( { \mathbf { X } } ) = \langle { \mathbf { a } } ^ { y } , \mathrm { p o o l } ( : ) \rangle = \sum _ { z = 1 } ^ { Z } a _ { z } ^ { y } \mathrm { p o o l } ( z ) = \sum _ { z = 1 } ^ { Z } a _ { z } ^ { y } \prod _ { i = 1 } ^ { N } \sum _ { d = 1 } ^ { M } a _ { d } ^ { z , i } f _ { \theta _ { d } } ( \mathbf { x } _ { i } ) .
56
+ $$
57
+
58
+ The first step of the tensor analysis framework is to obtain an expression (in terms of the network parameters $a _ { z } ^ { y }$ and $a _ { d } ^ { z , i }$ ) of the grid-tensor $\mathcal { A } ^ { y }$ that represents this concrete network architecture. In other words, obtaining the expression for $\mathcal { A } ^ { y }$ that transforms (2) into (3). This expression was already obtained in Cohen & Shashua (2016a) as
59
+
60
+ $$
61
+ \mathcal { A } ^ { y } = \sum _ { z = 1 } ^ { Z } a _ { z } ^ { y } \mathbf { a } ^ { z , 1 } \otimes \mathbf { a } ^ { z , 2 } \otimes \cdots \otimes \mathbf { a } ^ { z , N } ,
62
+ $$
63
+
64
+ where $\otimes$ denotes the tensor product. Note that (4) is in the form of a standard CP decomposition of the grid tensor $\mathcal { A } ^ { y }$ . This implies that the rank of $\mathcal { A } ^ { y }$ is bounded by $\operatorname { r a n k } ( \mathcal { A } ^ { y } ) \leq Z$ . Moreover, the obtained results where generalized in Cohen et al. (2016a) for the case of a deep ConvAC with size-2 pooling windows2, thus $L = \log _ { 2 } N$ hidden layers as shown in Figure $1 ( \mathbf { b } )$ , leading to a grid-tensor given by the hierarchical tensor decomposition
65
+
66
+ $$
67
+ \begin{array} { r l r } { \phi ^ { l , j , \gamma } = } & { \displaystyle \sum _ { \alpha = 1 } ^ { r _ { 0 } } a _ { \alpha } ^ { l , j , \gamma } \mathfrak { x } _ { \alpha } ^ { 0 , 0 , 2 j - 1 , \alpha } \otimes \mathtt { a } ^ { 0 , 2 j , \alpha } } & \\ & { \vdots } & \\ { \phi ^ { l , j , \gamma } = } & { \displaystyle \sum _ { \alpha = 1 } ^ { r _ { L - 1 } } a _ { \alpha } ^ { l , j , \gamma } \phi ^ { l - 1 , 2 j - 1 , \alpha } \otimes \phi ^ { l - 1 , 2 j , \alpha } } & \\ & { \vdots } & \\ { \vdots } & { \vdots } & \\ { A ^ { y } = \phi ^ { l , 1 , 1 } = } & { \displaystyle \sum _ { \alpha = 1 } ^ { r _ { L - 1 } } a _ { \alpha } ^ { l , 1 , y } \phi ^ { l - 1 , 1 , \alpha } \otimes \phi ^ { l - 1 , 2 , \alpha } , } & \end{array}
68
+ $$
69
+
70
+ where $r _ { 0 } , \ldots , r _ { L - 1 } \in \mathbb { N }$ are the number of channels in the hidden layers, $\{ \mathbf { a } ^ { 0 , j , \gamma } \in \mathbb { R } ^ { M } \} _ { j \in [ N ] , \gamma \in [ r _ { 0 } ] }$ are the weights in the first hidden convolutions, $\{ \mathbf { a } ^ { l , j , \gamma } \in \mathbb { R } ^ { M } \} _ { j \in [ N / 2 ^ { l } ] , \gamma \in [ r _ { l } ] }$ are the weights of the hidden layers, and $\mathbf { a } ^ { L , 1 , y } \in \mathbb { R } ^ { r _ { L - 1 } }$ stores the weights corresponding to the output $y$ in the output layer.
71
+
72
+ # 4 DENSELY CONNECTED ARITHMETIC CIRCUITS
73
+
74
+ The recent empirical success of densely connected networks (DenseNets), presented by Huang et al. (2016), has served as motivation for our theoretical analysis on dense connectivity. Dense connectivity in a convolutional neural network refers to the case when a number $k \in \mathbb N$ (known as growth rate) of previous layers serve as input of the forthcoming layer. More precisely, in Huang et al. (2016), a DenseNet performs this via concatenation along the feature dimension of the current layer inputs with the preceding layer features. Note that these feature must have compatible sizes along the spatial dimension for the concatenation to be possible. To address this issue, Huang et al. (2016) proposed to group blocks of the same spatial dimensions into a dense block, as shown in Figure 2. These dense blocks do not contain operations such as pooling, that alter the spatial dimensions of the input features. Moreover, in the DenseNet architecture the layers that perform the pooling operation are called transition layers, since they serve as transition between dense blocks. For example, in Figure 2 we depict a dense block of 4 layers with growth rate $k = 2$ , followed by a transition layer.
75
+
76
+ ![](images/3d38883831e6aeaef6a48562f5017a37fc91885dcbe6bedae2e5667f20cd9dac.jpg)
77
+ Figure 2: Example of a dense block of size 4 with growth rate $k = 2$ .
78
+
79
+ In the original DenseNet these transition layers included one convolution layer before the pooling operation. Nevertheless, for this work we consider transition layers composed of only pooling operations. Note that this does not affect the generality of the model, since avoiding dense connections on the convolutional layer preceding the transition layer is equivalent to including a convolution in that transition layer3.
80
+
81
+ In the case of ConvACs, any dense block of size greater than 1 can be represented as a dense block of size 1, since the activation function is the linear function (the non-linearity comes from the product pooling operator in the transition layer). Therefore, for ConvACs, it is only reasonable to analyze dense blocks of size 1. Note that, if we only allow dense connections between hidden layers within a dense block, a ConvAC is limited to a maximum growth rate of $k = 1$ . In order to analyze the effect of broader connectivity we extend the concept of growth rate by allowing dense connections between dense blocks. With proper pooling, outputs of hidden layers belonging to different dense blocks can also be concatenated along the feature dimension. In the reminder of this paper we refer to the dense connections between hidden layers of the same block as intra-block connections, while the connections between hidden layers of different blocks as inter-block connections.
82
+
83
+ # 4.1 DENSE INTRA-BLOCK CONNECTIONS
84
+
85
+ In this section we analyze the effect of intra-block connections. We first start by constructing a densely connected version of a single hidden layer ConvAC. The resulting network with growth rate $k = 1$ is shown in Figure 3(a). In the same manner as in (3), this architecture leads to the score function
86
+
87
+ $$
88
+ h _ { y } ( { \bf X } ) = \sum _ { z = 1 } ^ { Z } a _ { z } ^ { y } \prod _ { i = 1 } ^ { N } \sum _ { d = 1 } ^ { M } a _ { d } ^ { z , i } f _ { \theta _ { d } } ( { \bf x } _ { i } ) + \sum _ { z = Z + 1 } ^ { Z + M } a _ { z } ^ { y } \prod _ { i = 1 } ^ { N } f _ { \theta _ { z - z } } ( { \bf x } _ { i } ) .
89
+ $$
90
+
91
+ Then, we present the following proposition regarding shallow ConvACs with dense connections of growth rate $k = 1$ .
92
+
93
+ Proposition 1 The network’s function of a densely connected shallow ConvAC shown in (6) corresponds to the grid tensor
94
+
95
+ $$
96
+ \mathcal { A } ^ { y } = \sum _ { z = 1 } ^ { Z } a _ { z } ^ { y } \mathbf { a } ^ { z , 1 } \otimes \mathbf { a } ^ { z , 2 } \otimes \cdot \cdot \cdot \otimes \mathbf { a } ^ { z , N } + \mathrm { S d i a g } \left\{ a _ { z + Z } ^ { y } \right\} _ { z = 1 } ^ { M } ,
97
+ $$
98
+
99
+ where SdiagN ayz+Z Mz=1 $\mathrm { S d i a g } _ { N } \left\{ a _ { z + Z } ^ { y } \right\} _ { z = 1 } ^ { M } \ \in \ ( \mathbb { R } ^ { M } ) ^ { \otimes N }$ denotes the super-diagonal tensor of order $N$ with $a _ { Z + 1 } ^ { y } , \dotsc , a _ { Z + M } ^ { y }$ in its diagonal.
100
+
101
+ # Proof See appendix B.1.
102
+
103
+ Note that the rank of this tensor is now bounded by $\operatorname { r a n k } ( \mathcal { A } ^ { y } ) \leq Z + M$ instead of $Z$ , but adding these dense connections increases the number of parameters of the network from $M N Z + Z$ to
104
+
105
+ ![](images/57213b61412c96afcc09471b21d021cfbffd2f0ba796d81bf4919f56a19e0944.jpg)
106
+ Figure 3: (a) Example of a shallow $( L = 1$ ) convolutional arithmetic circuit with one intra-block connection. (b) Example of a 3 layered $L = 3 ,$ ) convolutional arithmetic circuit with multiple intrablock connections. (c) Example of a 3 layered $L = 3$ ) convolutional arithmetic circuit with one inter-block connection.
107
+
108
+ $M N Z + Z + M$ . Then, for large values of $N$ , there is no clear advantage on using dense connections on a shallow ConvAC. Nevertheless, in Section 5 we show that dense connections are capable of increasing the expressive power of deep ConvACs, specially for large values of $N$ .
109
+
110
+ We now generalize the obtained results for the case of a $L$ -layered dense arithmetic circuit, with growth rare $k = 1$ , as the one in Figure 3(b). Similarly to (5), the obtained grid tensor has the hierarchical decomposition given by
111
+
112
+ $$
113
+ \begin{array} { c } { { \phi ^ { 1 , j , \gamma } = \displaystyle \sum _ { \alpha = 1 } ^ { r _ { 0 } } a _ { \alpha } ^ { 1 , j , \gamma } { \bf a } ^ { 0 , 2 j - 1 , \alpha } \otimes { \bf a } ^ { 0 , 2 j , \alpha } + \mathrm { S d i a g } \left\{ a _ { \alpha + r _ { 0 } } ^ { 1 , j , \gamma } \right\} ^ { M } } } \\ { { { } } } \\ { { \phi ^ { 2 , j , \gamma } = \displaystyle \sum _ { \alpha = 1 } ^ { r _ { 1 } } a _ { \alpha } ^ { 2 , j , \gamma } \phi ^ { 1 , 2 j - 1 , \alpha } \otimes \phi ^ { 1 , 2 j , \alpha } + \mathrm { S d i a g } \left\{ a _ { \alpha + r _ { 1 } } ^ { 2 , j , \gamma } \right\} _ { \alpha = 1 } ^ { r _ { 0 } } } } \\ { { { } } } \\ { { \vdots } } \\ { { { } d ^ { y } = \phi ^ { L , 1 , 1 } = \displaystyle \sum _ { \alpha = 1 } ^ { r _ { L - 1 } } a _ { \alpha } ^ { L , 1 , y } \phi ^ { L - 1 , 1 , \alpha } \otimes \phi ^ { L - 1 , 2 , \alpha } + \mathrm { S d i a g } \left\{ a _ { \alpha + r _ { L - 1 } } ^ { L , j , \gamma } \right\} _ { \alpha = 1 } ^ { r _ { L - 2 } } . } } \end{array}
114
+ $$
115
+
116
+ From this result we observe that inter block connections account for virtually increasing the width of the network’s hidden layers from $r _ { l }$ to $\tilde { r } _ { l } \ \triangleq r _ { l } + r _ { l - 1 }$ for all $l = 0 , 1 , \ldots , L - 1$ , where $r _ { - 1 } \triangleq$
117
+
118
+ $M$ . Note that this increased width comes at the expense of increasing the network’s parameters. Moreover, in Section 5 we discuss whether increasing the network’s width via intra block dense connections leads to an enhancement in its overall expressive power.
119
+
120
+ # 4.2 DENSE INTER-BLOCK CONNECTIONS
121
+
122
+ In this section we study broader connectivity via dense inter-block connections. As discussed in Section 4, proper pooling of the preceding features must take place before the concatenating them into the current layer. Since this type of connections have not been considered in the former DenseNets, we propose 3 possible ways of realizing such connections (via product, average, or max pooling). For a ConvAC with pooling window size $w _ { \mathrm { p o o l } }$ , an inter block connection that connects block $l \in [ L ]$ with block $p \in [ L ]$ is said to be of jump length $L _ { \mathrm { j u m p } } \in [ L - 1 ]$ if $p = l + L _ { \mathrm { j u m p } }$ . An example of an inter block connection of jump length $L _ { \mathrm { j u m p } } = \mathrm { 1 }$ can be seen in Figure 3(c). To perform this inter block connections, the sizes along the spatial dimensions of preceding features must be reduced by $L _ { \mathrm { j u m p } } w _ { \mathrm { p o o l } }$ , before concatenating them along the feature dimension of layer $l$ . This spatial size reduction may be realized via pooling of the preceding features with window size $L _ { \mathrm { j u m p } } w _ { \mathrm { p o o l } }$ . When using a pooling layer the size along the feature dimension remains unchanged. Moreover, the type of pooling employed (product, average, or maximum) affects the expressive potential of the resulting ConvAC. Furthermore, the following proposition addresses the effect that adding dense inter block connections, via average pooling, has on the network function of a ConvAC.
123
+
124
+ Proposition 2 Adding inter block connections via average pooling of jump length $L _ { j u m p } \geq 1$ to $a$ standard ConvAC with grid-tensor $\mathcal { A } ^ { y } \in ( \mathbb { R } ^ { M } ) ^ { \otimes N }$ leads to a network function of the form
125
+
126
+ $$
127
+ h _ { y } ( { \bf X } ) = \sum _ { d _ { 1 } , \ldots , d _ { N } = 1 } ^ { M } { \cal A } _ { d _ { 1 } , \ldots , d _ { N } } ^ { y } \prod _ { i = 1 } ^ { N } f _ { \theta _ { d _ { i } } } ( { \bf x } _ { i } ) + g ( { \bf X } ) ,
128
+ $$
129
+
130
+ where $g ( \mathbf { X } )$ contains polynomial terms on $f _ { \theta _ { d } } ( \mathbf { x } _ { i } )$ for $d \in [ M ] , i \in [ N ]$ of degree lower than $N$
131
+
132
+ Remark 1 This result is also valid when the connections are done by addition instead of concatenation, as it is done in ResNet and FractalNet.
133
+
134
+ Proof See appendix B.2.
135
+
136
+ From this proposition we conclude that adding inter block connections average pooling does not alter the grid tensor $\mathcal { A } ^ { y }$ , instead these connections account for extra polynomial terms of degree strictly less than $N$ . Note that, for the special case where the input features belong to an exponential kernel family, such as ${ \mathcal { F } } = \{ f _ { \theta } ( \mathbf { x } ) = e ^ { \theta ^ { \mathrm { { T } } } \mathbf { x } } : \mathbb { R } ^ { s } \mathbb { R } : \theta \in { \dot { \Theta } } \}$ or $\mathcal { F } = \{ f _ { \theta } ( \mathbf { x } ) = e ^ { \Vert \theta - \mathbf { x } \Vert _ { p } } : \mathbb { R } ^ { s } \mathbb { R } :$ $\theta \in \Theta \}$ where $\| \cdot \| _ { p }$ denotes the $\ell _ { p }$ norm with $p \in \mathbb N$ , the number of polynomial terms is equivalent to the number of exponential basis that the network function can realize. Therefore, the another valid measure of expressiveness is the number of polynomial terms a ConvAC is able to realize. Given a certain ConvAC topology, the number of polynomial terms can be computed inductively by expanding the polynomial products of every layer via generalized binomial expansions. Such an analysis is left for future contributions. Moreover, if we perform this connections via product poling, the features to be concatenated correspond to polynomial terms of the same order. This leads to a generalization of the intra-block connections from 4.1, leading to virtually increased widths $\tilde { r } _ { l } \triangleq \overline { { r _ { l } } } + \sum _ { q = 1 } ^ { L _ { \mathrm { j u m p } } } r _ { l - 1 - q }$ . Finally, we leave the analysis of inter-block connections via maximum pooling for future work and consider only product pooling inter-block connections in the remainder of this paper.
137
+
138
+ # 5 PRACTICAL IMPLICATIONS
139
+
140
+ For the sake of comparison, let us assume networks with hidden layer widths $r _ { l }$ decaying (or increasing) at an exponential rate of $\lambda \in \mathbb { R }$ . Formally, this is $r _ { l } = \lambda r _ { l - 1 } \in \mathbb { N }$ , thus $r _ { l } = \check { ( } \lambda ) ^ { \tilde { l } _ { r } }$ for all $l = 0 , 1 , \ldots , L - 1$ , where $r \triangleq r _ { 0 }$ . To shorten the notation, we denote as $( L , r , \lambda , k )$ to a ConvAC with of exponential width decay $\lambda \in \mathbb { R }$ , length $L \in \mathbb { N }$ , initial with $r \in \mathbb N$ and growth-rate $k \in \mathbb N$ . A growth-rate of $k = 0$ refers to a standard ConvAC with no dense connections.
141
+
142
+ Definition 1 Suppose that the weights of a $( L , r , \lambda , k )$ ConvAC, with $L , k \in \mathbb { N }$ and $r , \lambda \in \mathbb { R } ,$ , are randomly drawn according to some continuous non-vanishing distribution. Then, this $( L , r , \lambda , k )$ ConvAC is said to have weak dense gain $G _ { w } \in \mathbb { R }$ if, with probability $p > 0$ , we obtain score functions that cannot be realized by a $( L , r ^ { \prime } , \lambda , 0 )$ ConvAC with $r ^ { \prime } < G _ { w } r$ . When $p = 1$ , this $( L , r , \lambda , k )$ ConvAC is said to have a strong dense gain $G _ { s } = G _ { w } \in \mathbb { R }$ .
143
+
144
+ Using this definition we present a bound for the weak dense gain $G _ { \mathrm { w } }$ in the following theorem.
145
+
146
+ dense gain is bounden by Theorem 5.1 Given $M \in \mathbb { N }$ $G _ { w } \leq { \frac { M } { \lambda r } }$ , any a . $( L , r , \lambda , k )$ ConvAC with $L > 1 , r \leq M , \lambda \leq 1 , k > 0$ has $a$
147
+
148
+ Proof See appendix B.3.
149
+
150
+ This general bound may serve as guideline for tayloring $M$ and the widths $r _ { 0 } , \ldots , r _ { L - 1 }$ such that we exploit the expressiveness added by dense connections.
151
+
152
+ Theorem 5.2 For the particular case of theorem 5.1 when $k = 1$ , the weak dense gain is bounded by $\begin{array} { r } { G _ { w } \leq \operatorname* { m i n } \left( 1 + \frac { 1 } { \lambda } , \dot { \frac { M } { \lambda r } } \right) } \end{array}$ .
153
+
154
+ Proof See appendix B.3.
155
+
156
+ Using this result, we able able to quantify the expressive gain provided by dense inter block connections. If a ConvAC has a dense gain $\begin{array} { r } { G _ { \mathrm { w } } = ( 1 + \frac { 1 } { \lambda } ) } \end{array}$ that is already close to the general bound from Theorem 5.1 it is less encouraging to include broader dense connections, since it would increase the number of parameters of the model while there is no room for a significant expressive gain increase. In this scenario, connections as the ones in ResNet and FractalNet may result more beneficial since they do not increase the size of the model, while at the same time enhancing its trainability.
157
+
158
+ Theorem 5.3 For the particular case of theorem 5.1 when $k = 1$ , $\begin{array} { r } { i f r \le \frac { 1 } { 1 + \lambda } \sqrt { M } } \end{array}$ , then the bound of theorem 5.2 is achieved with equality and strong dense gain $\begin{array} { r } { G _ { s } = 1 + \frac { 1 } { \lambda } } \end{array}$ .
159
+
160
+ Proof See appendix B.3.
161
+
162
+ This last theorem shows that there exist a regime where this bounds can be achieved with strong dense gain. Whether this is true outside this regime is still an open question, since further knowledge about the rank of random tensors is limited. Moreover, these theorems does not consider the additional amount of parameters added by dense connections. We complete our analysis by addressing this issue in the following proposition.
163
+
164
+ Proposition 3 Let $\varDelta P _ { d e n s e } ~ \in ~ \mathbb { N }$ be the additional number of parameters that are added to a $( L , r , \lambda , 0 )$ ConvAC when we introduce dense connections of growth-rate $k > 0$ . In the same manner, let $\varDelta P _ { s t a n d } \in \mathbb { N }$ be the number of parameters that are added to a $( L , r , \lambda , 0 )$ ConvAC when we increase its initial width $r$ by a factor $G \in \mathbb { R }$ . Then the ratio between $\varDelta P _ { d e n s e }$ and $\varDelta P _ { s t a n d }$ is greater than
165
+
166
+ $$
167
+ { \frac { \varDelta P _ { s t a n d } } { \varDelta P _ { d e n s e } } } \geq { \frac { ( G - 1 ) M } { r \sum _ { q = 1 } ^ { k } \lambda ^ { - 1 - q } \sum _ { l = 1 } ^ { L } ( { \frac { \lambda ^ { 2 } } { 2 } } ) ^ { l } } } + { \frac { ( G ^ { 2 } - 1 ) } { \sum _ { q = 1 } ^ { k } \lambda ^ { - q } } } .
168
+ $$
169
+
170
+ Proof See appendix B.4.
171
+
172
+ The factor $G$ from this proposition directly relates to the dense gain of a ConvAC, thus this ratio may be used to decide whether is interesting to add dense connections to a model (we want this ratio to be as large as possible). Finally Theorems 5.1 and 5.2 directly bound this ratio, which give the practitioner a guideline to decide which connections (if any) should be added to a given model.
173
+
174
+ # REFERENCES
175
+
176
+ Richard Caron and Tim Traynor. The zero set of a polynomial. WSMR Report, pp. 05–02, 2005.
177
+
178
+ Nadav Cohen and Amnon Shashua. Convolutional rectifier networks as generalized tensor decompositions. In Maria Florina Balcan and Kilian Q. Weinberger (eds.), Proceedings of The 33rd International Conference on Machine Learning, volume 48 of Proceedings of Machine Learning Research, pp. 955–963, New York, New York, USA, 20–22 Jun 2016a. PMLR. URL http://proceedings.mlr.press/v48/cohenb16.html.
179
+
180
+ Nadav Cohen and Amnon Shashua. Inductive bias of deep convolutional networks through pooling geometry. CoRR, abs/1605.06743, 2016b. URL http://arxiv.org/abs/1605.06743.
181
+
182
+ Nadav Cohen, Or Sharir, and Amnon Shashua. On the expressive power of deep learning: A tensor analysis. In Vitaly Feldman, Alexander Rakhlin, and Ohad Shamir (eds.), 29th Annual Conference on Learning Theory, volume 49 of Proceedings of Machine Learning Research, pp. 698–728, Columbia University, New York, New York, USA, 23–26 Jun 2016a. PMLR. URL http:// proceedings.mlr.press/v49/cohen16.html.
183
+
184
+ Nadav Cohen, Or Sharir, and Amnon Shashua. Deep simnets. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 2016b.
185
+
186
+ Nadav Cohen, Ronen Tamari, and Amnon Shashua. Boosting dilated convolutional networks with mixed tensor decompositions. CoRR, abs/1703.06846, 2017. URL http://arxiv.org/ abs/1703.06846.
187
+
188
+ 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.
189
+
190
+ Gao Huang, Zhuang Liu, Kilian Q Weinberger, and Laurens van der Maaten. Densely connected convolutional networks. arXiv preprint arXiv:1608.06993, 2016.
191
+
192
+ Gustav Larsson, Michael Maire, and Gregory Shakhnarovich. Fractalnet: Ultra-deep neural networks without residuals. arXiv preprint arXiv:1605.07648, 2016.
193
+
194
+ Yoav Levine, David Yakira, Nadav Cohen, and Amnon Shashua. Deep learning and quantum entanglement: Fundamental connections with implications to network design. CoRR, abs/1704.01552, 2017. URL http://arxiv.org/abs/1704.01552.
195
+
196
+ Or Sharir and Amnon Shashua. On the expressive power of overlapping operations of deep networks. arXiv preprint arXiv:1703.02065, 2017.
197
+
198
+ Or Sharir, Ronen Tamari, Nadav Cohen, and Amnon Shashua. Tractable generative convolutional arithmetic circuits. CoRR, abs/1610.04167, 2016. URL http://arxiv.org/abs/1610. 04167.
199
+
200
+ # A PRELIMINARY LEMMAS
201
+
202
+ Lemma 1 Given $Z \in \mathbb { N } ,$ , let $\mathcal { A } \in ( \mathbb { R } ^ { M } ) ^ { \otimes ^ { P } }$ be a random tensor of even order $P \geq 2$ such that
203
+
204
+ $$
205
+ \mathcal { A } = \sum _ { z = 1 } ^ { Z } \mathbf { a } _ { z } ^ { ( 1 ) } \otimes \cdots \otimes \mathbf { a } _ { z } ^ { ( P ) } ,
206
+ $$
207
+
208
+ where $\mathbf { a } _ { z } ^ { ( k ) } \in \mathbb { R } ^ { M }$ are randomly drawn from a non-vanishing continuous distribution for all $k \in [ P ]$ and $z \in [ Z ]$ . Then, if $\mathbf { \dot { Z } } \le M ^ { P / 2 }$ we have that $\operatorname { r a n k } ( { \mathcal { A } } ) = \operatorname { r a n k } ( [ A ] ) = Z$ with probability $^ { l }$ . This lemma also holds when for a subset $\mathcal { Z } \subseteq [ Z ]$ we have that $\mathbf { a } _ { z } ^ { ( k ) } = a _ { z } \mathbf { e } _ { z } \in \mathbb { R } ^ { M }$ for all $z \in { \mathcal { Z } }$ , where $a _ { z } \in \mathbb { R }$ are randomly drawn from a non-vanishing continuous distribution.
209
+
210
+ Proof Using the definition of the matricization operator, we get that the matricization $\mathcal { A }$ is
211
+
212
+ $$
213
+ [ A ] = \sum _ { z = 1 } ^ { Z } ( \underbrace { \mathbf { a } _ { z } ^ { ( 1 ) } \odot \mathbf { a } _ { z } ^ { ( 3 ) } \odot \cdots \odot \mathbf { a } _ { z } ^ { ( P - 1 ) } } _ { \tilde { \mathbf { a } } _ { z } ^ { ( \infty \mathrm { d } ) } } ) ( \underbrace { \mathbf { a } _ { z } ^ { ( 2 ) } \odot \mathbf { a } _ { z } ^ { ( 4 ) } \odot \cdots \odot \mathbf { a } _ { z } ^ { ( P ) } } _ { \tilde { \mathbf { a } } _ { z } ^ { ( \infty \mathrm { w } ) } } ) ^ { \mathrm { T } } \in \mathbb { R } ^ { M ^ { ( P / 2 ) } \times M ^ { ( P / 2 ) } } .
214
+ $$
215
+
216
+ Note that, from this expression, it is straight forward to see that the rank of $[ A ]$ is always less or equal than $Z$ .
217
+
218
+ Let $\tilde { \mathcal { Z } } \subseteq [ M ^ { P / 2 } ]$ be the subset $\begin{array} { r } { \tilde { \mathcal { Z } } ~ = ~ \{ \tilde { z } ~ : ~ \tilde { z } ~ = ~ \frac { M ^ { ( P / 2 ) } - 1 } { M - 1 } ( z - 1 ) + 1 ~ : ~ z ~ \in ~ [ Z ] \} } \end{array}$ and ${ \textbf { U } } \in$ RM(P/2)×M(P/2) be a permuted version of [A] such that the first Z rows of U correspond to the rows $\tilde { z } \in \tilde { \mathcal { Z } }$ of $[ A ]$ , and the first $Z$ columns of $\mathbf { U }$ correspond to the columns $\tilde { z } \in \tilde { \mathcal { Z } }$ of $[ A ]$ . Since permuting the rows and the columns of a matrix does not alter its rank, we have that $\mathbf { U }$ has the same rank as $[ A ]$ . Now, let us partition $\mathbf { U }$ into blocks as
219
+
220
+ $$
221
+ { \bf U } = \left[ \begin{array} { l l } { { \bf P } } & { { \bf Q } } \\ { { \bf W } } & { { \bf Z } } \end{array} \right] ,
222
+ $$
223
+
224
+ where $\mathbf { P }$ is of size $Z$ -by- $Z$ , and $\mathbf { Q } , \mathbf { W } , \mathbf { Z }$ have matching dimensions. Note that, if $\operatorname { r a n k } ( \mathbf { P } ) = Z$ then ${ \mathrm { r a n k } } ( \mathbf { U } ) \geq Z$ , which leads to $Z \ \le \ \mathrm { r a n k } ( \mathbf { U } ) \ = \ \mathrm { r a n k } ( [ A ] ) \ \le \ Z$ , thus $\operatorname { r a n k } ( [ A ] ) = Z$ . Therefore, it is sufficient to show that ran $\operatorname { k } ( \mathbf { P } ) = Z$ with probability 1 to conclude this proof. To that end, let us define the mapping from $\mathbf { x } \in \mathbb { R } ^ { M P Z }$ to $\mathbf { P } = \mathbf { P } ( \mathbf { x } )$ as
225
+
226
+ $$
227
+ \mathbf { x } \triangleq \left[ \mathbf { a } _ { 1 } ^ { ( 1 ) ^ { \mathrm { T } } } , \hdots , \mathbf { a } _ { Z } ^ { ( 1 ) ^ { \mathrm { T } } } , \mathbf { a } _ { 1 } ^ { ( 2 ) ^ { \mathrm { T } } } , \hdots , \mathbf { a } _ { Z } ^ { ( P ) ^ { \mathrm { T } } } \right] ^ { \mathrm { T } } .
228
+ $$
229
+
230
+ Note that this definition of $\mathbf { x }$ implies that $\mathbf { a } _ { z } ^ { ( i ) } = \mathbf { a } _ { z } ^ { ( i ) } ( \mathbf { x } )$ for all $z \in [ Z ]$ and $i \in [ P ]$ . Therefore, since $[ A ]$ is computed as in (10), we have that $[ \mathcal { A } ] = [ \mathcal { A } ] ( \mathbf { x } )$ , thus $\dot { \mathbf { Q } } \equiv \mathbf { Q } ( \mathbf { x } )$ and $\mathbf { P } = \mathbf { P } ( \mathbf { x } )$ . Now, det $\mathbf { P } ( \mathbf { x } )$ is a polynomial on $\mathbf { x }$ , then it either vanishes in a set of measure zero or its the zero-polynomial (see Caron & Traynor (2005)).
231
+
232
+ If we set $\mathbf { x }$ to be equal to some $\mathbf { x } _ { 0 } \in \mathbb { R } ^ { M P Z }$ such that $\mathbf { a } _ { z } ^ { ( i ) } = \mathbf { e } _ { z }$ for all $z \in [ Z ]$ and $i \in [ P ]$ , we have that a˜(odd)z $\widetilde { \mathbf { a } } _ { z } ^ { ( \mathrm { o d d } ) } = \widetilde { \mathbf { a } } _ { z } ^ { ( \mathrm { e v e n } ) } = \mathbf { e } _ { \widetilde { z } } \in \mathbb { R } ^ { M ^ { P / 2 } }$ with $\begin{array} { r } { \tilde { z } \triangleq ( \sum _ { n = 0 } ^ { P / 2 - 1 } M ^ { n } ) ( z - 1 ) + 1 = \frac { M ^ { ( P / 2 ) } - 1 } { M - 1 } ( z - } \end{array}$ 1) + 1. Therefore, since [A] is calculated as in (10) and a˜(odd)z a˜(even)Tz i s now a matrix with 1 on the entry and zero elsewhere, we have that $[ \mathcal { A } ] ( \mathbf { x } _ { 0 } )$ is a diagonal matrix with ones on the diagonal elements $\tilde { z } \in \tilde { \mathcal { Z } }$ and zero elsewhere. This leads to $\mathbf { P } ( \mathbf { x } _ { 0 } ) = \mathbf { I } _ { Z }$ which has a determinant det $\mathbf { P } ( \mathbf { x } _ { 0 } ) \neq 0$ . Finally, since there exist $\mathbf { x } _ { \mathrm { 0 } }$ such that the polynomial det $\mathbf { P } ( \mathbf { x } _ { \mathrm { 0 } } )$ is not zero, we conclude that det $\mathbf { P } ( \mathbf { x } )$ is not the zero-polynomial, which means that det $\mathbf P ( \mathbf x ) \neq 0$ with probability 1, thus proving this lemma.
233
+
234
+ Lemma 2 Let $\mathcal { A } \in ( \mathbb { R } ^ { M } ) ^ { \otimes ^ { P } }$ and $\pmb { { \cal B } } \in ( \mathbb { R } ^ { M } ) ^ { \otimes ^ { P } }$ be random tensors of even order $P \geq 2$ and $Z \in \mathbb { N }$ be tensors such that
235
+
236
+ $$
237
+ \mathcal { A } = \sum _ { z = 1 } ^ { Z _ { 1 } } \mathbf { a } _ { z } ^ { ( 1 ) } \otimes \cdots \otimes \mathbf { a } _ { z } ^ { ( P ) } , \qquad \mathcal { B } = \sum _ { z = 1 } ^ { Z _ { 2 } } \mathbf { b } _ { z } ^ { ( 1 ) } \otimes \cdots \otimes \mathbf { b } _ { z } ^ { ( P ) } ,
238
+ $$
239
+
240
+ where $\mathbf { a } _ { z } ^ { ( i ) } \in \mathbb { R } ^ { M }$ and $\mathbf { b } _ { z } ^ { ( i ) } \in \mathbb { R } ^ { M }$ are randomly drawn from a non-vanishing continuous distribution. Then, if $Z _ { 1 } \le M ^ { P / 2 }$ and $Z _ { 2 } \le M ^ { P / 2 }$ , we have that rank $( \mathcal { A } \otimes \mathcal { B } ) = Z _ { 1 } Z _ { 2 }$ with probability 1.
241
+
242
+ Proof Let $\mathcal { C } \in ( \mathbb { R } ^ { M } ) ^ { \otimes 2 P }$ be a random tensor defined as ${ \mathcal { C } } = { \mathcal { A } } \otimes B$ . Therefore, we may express $\mathcal { C }$ as
243
+
244
+ $$
245
+ \mathcal { C } = \sum _ { z = 1 } ^ { Z } \sum _ { q = 1 } ^ { Z } \mathbf { a } _ { q } ^ { ( 1 ) } \otimes \cdots \otimes \mathbf { a } _ { q } ^ { ( P ) } \otimes \mathbf { b } _ { z } ^ { ( 1 ) } \otimes \cdots \otimes \mathbf { b } _ { z } ^ { ( P ) } .
246
+ $$
247
+
248
+ Then, we define rank-1 tensors $\mathcal { C } ^ { ( q , z ) }$ to be $\mathcal { C } ^ { ( q , z ) } = \mathbf { a } _ { q } ^ { ( 1 ) } \otimes \cdots \otimes \mathbf { a } _ { q } ^ { ( P ) } \otimes \mathbf { b } _ { z } ^ { ( 1 ) } \otimes \cdots \otimes \mathbf { b } _ { z } ^ { ( P ) }$ to get
249
+
250
+ $$
251
+ \mathcal { C } = \sum _ { q , z = 1 } ^ { Z } \mathcal { C } ^ { ( q , z ) } .
252
+ $$
253
+
254
+ Since $\mathcal { C }$ is now expressed as a sum of $Z _ { 1 } Z _ { 2 }$ rank-1 tensors, we have that $\operatorname { r a n k } ( { \mathcal { C } } ) \leq Z _ { 1 } Z _ { 2 }$ .
255
+
256
+ Since $Z _ { 1 } \le M ^ { P / 2 }$ and $Z _ { 2 } \ \le \ M ^ { P / 2 }$ we may use Lemma 1, this leads to $\operatorname { r a n k } ( [ A ] ) = Z _ { 1 }$ and $\mathrm { r a n k } ( [ \boldsymbol { B } ] ) = Z _ { 2 }$ with probability 1. Finally we, use the properties of the Kronecker product to obtain the rank of the matricization $\mathcal { C }$ as $\mathrm { r a n k } ( [ \dot { \mathcal { C } } ] ) = \mathrm { r a n k } ( [ \hat { A } \otimes \mathcal { B } ] ) = \mathrm { r a n k } ( [ A ] ) \mathrm { r a n k } ( [ \hat { B } ] )$ , leading to
257
+
258
+ $$
259
+ \mathrm { r a n k } ( [ { \mathcal C } ] ) = Z _ { 1 } Z _ { 2 } \Rightarrow Z _ { 1 } Z _ { 2 } = \mathrm { r a n k } ( [ { \mathcal C } ] ) \leq \mathrm { r a n k } ( { \mathcal C } ) \leq Z _ { 1 } Z _ { 2 } \Rightarrow \mathrm { r a n k } ( { \mathcal C } ) = Z _ { 1 } Z _ { 2 }
260
+ $$
261
+
262
+ with probability 1, thus proving the Lemma.
263
+
264
+ Lemma 3 Let $\mathcal { A } \in ( \mathbb { R } ^ { M } ) ^ { \otimes ^ { P } }$ and $B \in ( \mathbb { R } ^ { M } ) ^ { \otimes ^ { P } }$ be tensors of order $P > 2$ and $Z \in \mathbb { N }$ be tensors such that
265
+
266
+ $$
267
+ \mathcal { A } = \sum _ { z = 1 } ^ { Z _ { 1 } } \mathbf { a } _ { z } ^ { ( 1 ) } \otimes \cdots \otimes \mathbf { a } _ { z } ^ { ( P ) } , \qquad \mathcal { B } = \sum _ { z = 1 } ^ { Z _ { 2 } } \mathbf { b } _ { z } ^ { ( 1 ) } \otimes \cdots \otimes \mathbf { b } _ { z } ^ { ( P ) } ,
268
+ $$
269
+
270
+ where $\mathbf { a } _ { z } ^ { ( i ) } \in \mathbb { R } ^ { M }$ and $\mathbf { b } _ { z } ^ { ( i ) } \in \mathbb { R } ^ { M }$ are randomly drawn from a non-vanishing continuous distribution. Then, if $\cdot Z _ { 1 } + Z _ { 2 } \le M ^ { P / 2 }$ , we have that rank $( \mathcal { A } + \mathcal { B } ) = Z _ { 1 } + Z _ { 2 }$ with probability $I$ .
271
+
272
+ Proof Let $\mathcal { C } \in \mathbb { R } ^ { M \times \cdots \times M }$ be a tensor of order $P$ defined as ${ \mathcal { C } } = A + B$ . Therefore, we may express $\mathcal { C }$ as
273
+
274
+ $$
275
+ \mathcal { C } = \sum _ { z = 1 } ^ { Z _ { 1 } } \mathbf { a } _ { z } ^ { ( 1 ) } \otimes \cdots \otimes \mathbf { a } _ { z } ^ { ( P ) } + \sum _ { z = 1 } ^ { Z _ { 2 } } \mathbf { b } _ { z } ^ { ( 1 ) } \otimes \cdots \otimes \mathbf { b } _ { z } ^ { ( P ) } = \sum _ { z = 1 } ^ { Z _ { 1 } + Z _ { 2 } } \mathbf { c } _ { z } ^ { ( 1 ) } \otimes \cdots \otimes \mathbf { c } _ { z } ^ { ( P ) } ,
276
+ $$
277
+
278
+ where
279
+
280
+ $$
281
+ \mathbf { c } _ { z } ^ { ( i ) } \triangleq \left\{ \begin{array} { l l } { \mathbf { a } _ { z } ^ { ( i ) } } & { 0 < z \le Z _ { 1 } } \\ { \mathbf { b } _ { z } ^ { ( i ) } } & { Z _ { 1 } < z \le Z _ { 1 } + Z _ { 2 } } \end{array} \right. .
282
+ $$
283
+
284
+ Since $Z _ { 1 } + Z _ { 2 } \le M ^ { P / 2 }$ we may use Lemma 1, leading to r $\operatorname { a n k } \left( { \mathcal { C } } \right) = Z _ { 1 } + Z _ { 2 }$ with probability 1, thus proving this Lemma.
285
+
286
+ Corollary 1 Let ${ \mathcal { A } } , { \mathcal { B } } , { \mathcal { C } }$ be tensors of the same size with ranks $Z _ { A } \triangleq \operatorname { r a n k } ( \mathcal { A } ) , Z _ { B } \triangleq \operatorname { r a n k } ( \mathcal { B } ) ,$ and $Z _ { C } \triangleq { \mathrm { r a n k } } \left( { \mathcal { C } } \right)$ . Then, the following statements hold true.
287
+
288
+ $$
289
+ \begin{array} { r l } & { \mathrm { r a n k } \left( \boldsymbol { A } + \boldsymbol { B } + \boldsymbol { \mathcal { C } } \right) = Z _ { A } + Z _ { B } + Z _ { C } \Rightarrow \mathrm { r a n k } \left( \boldsymbol { A } + \boldsymbol { B } \right) = Z _ { A } + Z _ { B } } \\ & { \mathrm { r a n k } \left( \left( \boldsymbol { A } + \boldsymbol { B } \right) \otimes \boldsymbol { \mathcal { C } } \right) = ( Z _ { A } + Z _ { B } ) Z _ { C } \Rightarrow \mathrm { r a n k } \left( \boldsymbol { A } \otimes \boldsymbol { \mathcal { C } } \right) = Z _ { A } Z _ { C } . } \end{array}
290
+ $$
291
+
292
+ # B DEFERRED PROOFS
293
+
294
+ # B.1 PROOF PROPOSITION 1
295
+
296
+ Proof We reformulate this (6) to have the same form as (3). To that end we define $a _ { z } ^ { d , i }$ , for $z =$ $\begin{array} { r } { \sum _ { d = 1 } ^ { M } a _ { d } ^ { z , i } f _ { \theta _ { d } } ( \mathbf { x } _ { i } ) = f _ { \theta _ { z - Z } } ( \mathbf { x } _ { i } ) } \end{array}$ $Z + 1 , \dots , Z + M$ , to be $a _ { d } ^ { z , i } = 1$ for if $z = Z + 1 , \dots , Z + M$ $z - Z = d$ and zero otherwise. This definition of . Using this relation we get $a _ { d } ^ { z , i }$ leads to
297
+
298
+ $$
299
+ \begin{array} { l } { { \displaystyle h _ { y } ( { \bf X } ) = \sum _ { z = 1 } ^ { Z } a _ { z } ^ { y } \prod _ { i = 1 } ^ { N } \sum _ { d = 1 } ^ { M } a _ { d } ^ { z , i } f _ { \theta _ { d } } ( { \bf x } _ { i } ) + \sum _ { z = Z + 1 } ^ { Z + M } a _ { z } ^ { y } \prod _ { i = 1 } ^ { N } \sum _ { d = 1 } ^ { M } a _ { d } ^ { z , i } f _ { \theta _ { d } } ( { \bf x } _ { i } ) } } \\ { { \displaystyle ~ = \sum _ { z = 1 } ^ { Z + M } a _ { z } ^ { y } \prod _ { i = 1 } ^ { N } \sum _ { d = 1 } ^ { M } a _ { d } ^ { z , i } f _ { \theta _ { d } } ( { \bf x } _ { i } ) } , } \end{array}
300
+ $$
301
+
302
+ which has the same form as (3). Therefore, as done in (4), we obtain the grid tensor for this architecture as
303
+
304
+ $$
305
+ \begin{array} { r l } & { \mathcal { A } ^ { \nu } = \displaystyle \sum _ { z = 1 } ^ { Z + M } a _ { z } ^ { \nu } \mathfrak { a } ^ { z , 1 } \otimes \mathfrak { a } ^ { z , 2 } \otimes \cdots \otimes \mathfrak { a } ^ { z , N } } \\ & { \quad = \displaystyle \sum _ { z = 1 } ^ { Z } a _ { z } ^ { \nu } \mathfrak { a } ^ { z , 1 } \otimes \mathfrak { a } ^ { z , 2 } \otimes \cdots \otimes \mathfrak { a } ^ { z , N } + \displaystyle \sum _ { z = Z + 1 } ^ { Z + M } a _ { z } ^ { \nu } \mathfrak { a } ^ { z , 1 } \otimes \mathfrak { a } ^ { z , 2 } \otimes \cdots \otimes \mathfrak { a } ^ { z , N } } \\ & { \quad = \displaystyle \sum _ { z = 1 } ^ { Z } a _ { z } ^ { \nu } \mathfrak { a } ^ { z , 1 } \otimes \mathfrak { a } ^ { z , 2 } \otimes \cdots \otimes \mathfrak { a } ^ { z , N } + \displaystyle \sum _ { z = Z + 1 } ^ { Z + M } a _ { z } ^ { \nu } \mathfrak { e } _ { z - Z } \otimes \mathfrak { e } _ { z - Z } \otimes \cdots \otimes \mathfrak { e } _ { z - Z } } \\ & { \quad = \displaystyle \sum _ { z = 1 } ^ { Z } a _ { z } ^ { \nu } \mathfrak { a } ^ { z , 1 } \otimes \mathfrak { a } ^ { z , 2 } \otimes \cdots \otimes \mathfrak { a } ^ { z , N } + \displaystyle \sum _ { x = Z + 1 } ^ { Z + M } a _ { z } ^ { \nu } \mathfrak { a } ^ { z } \mathfrak { e } _ { z - Z } \otimes \mathfrak { e } _ { z - Z } \otimes \cdots \otimes \mathfrak { a } ^ { z , N } } \\ & { \quad = \displaystyle \sum _ { z = 1 } ^ { Z } a _ { z } ^ { \nu } \mathfrak { a } ^ { z , 1 } \otimes \mathfrak { a } ^ { z , 2 } \otimes \cdots \otimes \mathfrak { a } ^ { z , N } + \displaystyle \sum _ { N } ^ { N } a _ { z } ^ { \nu } \mathfrak { a } ^ { z } \mathfrak { a } ^ { z } \mathfrak { z } _ { \nu = 1 } ^ { M } , } \end{array}
306
+ $$
307
+
308
+ thus proving this proposition.
309
+
310
+ # B.2 PROOF PROPOSITION 2
311
+
312
+ Proof Given $\begin{array} { r } { \textbf { x } \triangleq [ f _ { \theta _ { 1 } } ( \mathbf { x } _ { 1 } ) , \cdot \cdot \cdot , f _ { \theta _ { M } } ( \mathbf { x } _ { 1 } ) , f _ { \theta _ { 2 } } ( \mathbf { x } _ { 1 } ) , \cdot \cdot \cdot , f _ { \theta _ { M } } ( \mathbf { x } _ { N } ) ] ^ { \mathrm { T } } ~ \in ~ \mathbb { R } ^ { M N } } \end{array}$ , the output of the $l$ -th layer of a $( L , r , \lambda , 0 )$ ConvAC can be stored into the vectors of mappings $\delta ^ { l , j } ( \mathbf { x } ) \ \triangleq$ $[ \delta _ { 1 } ^ { l , j } ( \mathbf { x } ) , \ldots , \delta _ { r _ { l } } ^ { l , j } ( \mathbf { x } ) ] ^ { \mathrm { T } } \ \in \ \mathbb { R } ^ { r _ { l } }$ for $j \in [ N / 2 ^ { l } ]$ and $l \in [ L ]$ . Moreover, since the entries of these vectors are the result of $l - 1$ convolution-pooling layers with product pooling of window size 2, all the mappings $\delta _ { 1 } ^ { l , j } ( { \bf x } )$ can be expressed as a sum of polynomial terms on $\mathbf { x }$ of degree $2 ^ { l }$ .
313
+
314
+ Now, let the coefficient vectors $\mathbf { a } ^ { l , j , \gamma } \triangleq [ a _ { 1 } ^ { l , j , \gamma } , \hdots , a _ { r _ { l } } ^ { l , j , \gamma } ] ^ { \mathrm { T } } \in \mathbb { R } ^ { r _ { l } }$ for $j \in [ N / 2 ^ { l } ]$ and $\gamma \in [ r _ { l + 1 } ]$ , be the weight vectors for the convolution of the $l$ -th layer. To shorten the notation we use $\langle \mathbf { a } ^ { l , j , \gamma } , \delta ^ { l , j } \rangle =$ $\textstyle \sum _ { d = 1 } ^ { r _ { l } } a _ { d } ^ { \bar { l } , j , \gamma } \delta _ { d } ^ { l , j }$ as shorthand for the convolution between these vectors. Then, the outputs the the layer $l$ of this ConvAC are given by $\pmb { \delta } ^ { l + 1 , j } \in \mathbb { R } ^ { r _ { l + 1 } }$ with $\delta _ { \gamma } ^ { l + 1 , j } = \langle { { \bf { a } } ^ { l , 2 j - 1 , \gamma } , \delta ^ { l , 2 j - 1 } } \rangle \langle { { \bf { a } } ^ { l , 2 j , \gamma } , \delta ^ { l , 2 j } } \rangle$ for $j \in [ N / 2 ^ { l + 1 } ] , \gamma \in [ r _ { l + 1 } ]$ . If we recursively calculate these out vectors up to the $L$ -th layer we obtain the score functions $h _ { \mathrm { s t a n d } } ^ { \bar { y } } ( \mathbf { x } ) \triangleq \pmb { \delta } ^ { L , 1 } ( \mathbf { x } ) = \delta _ { 1 } ^ { L , 1 } ( \mathbf { x } ) \in \mathbb { R }$ .
315
+
316
+ We now consider the effecct of adding dense connections via average pooling from some $k \in \mathbb N$ preceding layers $l - 1 , \ldots , l - k$ . To this end, let $\begin{array} { r } { \tilde { r } _ { l } = \sum _ { q = 1 } ^ { k } r _ { l - q } } \end{array}$ be the total size along the feature dimesnion of the vectors to be concatenated. In addition, let $\boldsymbol { \omega } ^ { l , j } ( \mathbf { x } ) \triangleq [ \omega _ { 1 } ^ { l , j } ( \mathbf { x } ) , \dots , \omega _ { \tilde { r } _ { l } } ^ { l , j } ( \mathbf { x } ) ] ^ { \mathrm { T } } \in$ $\mathbb { R } ^ { \tilde { r } _ { l } }$ be the vectors of mappings of the corresponding preceeding features at the layer $l$ for $j \in [ N / r _ { l } ]$ . In order to compute the convolutions of this layer, an additional vector of coefficients is required as $\mathbf { b } ^ { l , j , \gamma } \triangleq [ b _ { 1 } ^ { l , j , \gamma } , \hdots , b _ { \tilde { r } _ { l } } ^ { l , j , \gamma } ] ^ { \mathrm { T } } \in \mathbb { R } ^ { \tilde { r } _ { l } }$ . Then, the outputs of the $l$ -th layer of this $( L , r , \lambda , k )$ ConvAC are the denoted as the vectors $\tilde { \delta } ^ { l , j } ( \mathbf { x } ) \triangleq [ \tilde { \delta } _ { 1 } ^ { l , j } ( \mathbf { x } ) , \dots , \tilde { \delta } _ { r _ { l + 1 } } ^ { l , j } ( \mathbf { x } ) ] ^ { \mathrm { T } } \in \mathbb { R } ^ { r _ { l + 1 } }$ for $j \in [ N / 2 ^ { l + 1 } ]$ where
317
+
318
+ $$
319
+ \begin{array} { r } { \tilde { \delta } ^ { l + 1 , j } = \langle \sum _ { \mathbf { b } ^ { l , 2 j - 1 , \gamma } } ^ { \left[ \mathbf { a } ^ { l , 2 j - 1 , \gamma } \right] } , \left[ \mathbf { \Delta } _ { \omega ^ { l , 2 j - 1 } } ^ { \delta ^ { l , 2 j - 1 } } \right] \rangle \langle \left[ \mathbf { a } ^ { l , 2 j , \gamma } \right] , \left[ \mathbf { \Delta } _ { \omega ^ { l , 2 j } } ^ { \delta ^ { l , 2 j } } \right] \rangle . } \end{array}
320
+ $$
321
+
322
+ From this expression it follows
323
+
324
+ $$
325
+ \begin{array} { r l } & { \tilde { \delta } ^ { l + 1 , j } = ( \langle \mathbf { a } ^ { l , 2 j - 1 , \gamma } , \delta ^ { l , 2 j - 1 } \rangle + \langle \mathbf { b } ^ { l , 2 j - 1 , \gamma } , \omega ^ { l , 2 j } \rangle ) ( \langle \mathbf { a } ^ { l , 2 j , \gamma } , \delta ^ { l , 2 j } \rangle + \langle \mathbf { b } ^ { l , 2 j , \gamma } , \omega ^ { l , 2 j } \rangle ) } \\ & { \qquad = \delta ^ { l + 1 , j } + \omega ^ { l + 1 , j } , } \end{array}
326
+ $$
327
+
328
+ where
329
+
330
+ $$
331
+ \begin{array} { r l } & { \omega ^ { l + 1 , j } = \langle \mathbf { b } ^ { l , 2 j - 1 , \gamma } , \omega ^ { l , 2 j - 1 } \rangle \langle \mathbf { a } ^ { l , 2 j , \gamma } , \delta ^ { l , 2 j } \rangle + \langle \mathbf { a } ^ { l , 2 j - 1 , \gamma } , \delta ^ { l , 2 j - 1 } \rangle \langle \mathbf { b } ^ { l , 2 j , \gamma } , \omega ^ { l , 2 j } \rangle } \\ & { \qquad + \langle \mathbf { b } ^ { l , 2 j - 1 , \gamma } , \omega ^ { l , 2 j - 1 } \rangle \langle \mathbf { b } ^ { l , 2 j , \gamma } , \omega ^ { l , 2 j } \rangle . } \end{array}
332
+ $$
333
+
334
+ Note that the entries of $\omega ^ { l , j } ( \mathbf { x } )$ are assumed to come from preceding layers with an appropiate average pooling. Since performing avergae pooling does not increase the degree of the polynomial terms involved (only product pooling does) and the jump length Ljump is at least 1, the entries of $\omega ^ { l , j } ( \mathbf { x } )$ have at most polynomial degree $2 ^ { l - 1 }$ , which is strictly less than the degree of the entries of $\delta ^ { l , j } ( \mathbf { x } )$ (i.e., $2 ^ { l }$ ). Therefore, from the obtained expression of $\omega ^ { l + 1 , j }$ we observe that it has polynomials withb degree no greater than $2 ^ { l } + 2 ^ { l - 1 }$ , while the entries of $\delta ^ { l + 1 , j }$ have a strictly higher degree of $2 ^ { l } + 2 ^ { l } = 2 ^ { l + 1 }$ .
335
+
336
+ Moreover, since $\langle \mathbf { a } ^ { l , j , \gamma } , \delta ^ { l , j } + \omega ^ { l , j } \rangle$ can be expressed as
337
+
338
+ $$
339
+ \langle \mathbf { a } ^ { l , j , \gamma } , \delta ^ { l , j } + \omega ^ { l , j } \rangle = \langle \mathbf { \overline { { a } } } ^ { l , j , \gamma } ] , [ \delta ^ { l , j } ] \rangle
340
+ $$
341
+
342
+ we can make use of the obtained results in an unductive manner up to the $L$ -th layer, thus leading to
343
+
344
+ $$
345
+ h _ { \mathrm { d e n s e } } ^ { y } ( \mathbf { x } ) = h _ { \mathrm { s t a n d } } ^ { y } ( \mathbf { x } ) + g ( \mathbf { x } ) ,
346
+ $$
347
+
348
+ where $g ( \mathbf { x } )$ contains polynomial terms of $\mathbf { x }$ of order strictly less than $N$ , thus proving this theorem. Note that this result also applies to additive and resudial connections, as de ones used in ResNet and FractalNet, since they can be expressed as in (11).
349
+
350
+ # B.3 PROOF OF THEOREMS 5.1 TO 5.3
351
+
352
+ Proof Given $M \in \mathbb { N }$ , a $( L , r , \lambda , 0 )$ ConvAC with $L > 1 , r \leq M , \lambda \leq 1$ has a grid tensor $\mathcal { A } _ { \mathrm { s t a n d } } ^ { y } \in$ $( \mathbb { R } ^ { M } ) ^ { \otimes N }$ . For the forthcoming analysis let us assume $r _ { 0 } \leq M$ . This assumption is done, so that we can write $\operatorname* { m i n } \{ r _ { 0 } , M \} = r _ { 0 }$ , merely for notation purposes since we show that this does not affect the generality of the results. Using this assumption, we upper bound the rank of the grid tensor as
353
+
354
+ $$
355
+ \begin{array} { l } { { \mathrm { r a n k } \left( { \phi ^ { 1 , j , \gamma } } \right) = \displaystyle \operatorname * { r a n k } \left( \sum _ { \alpha = 1 } ^ { r _ { 0 } } a _ { \alpha } ^ { 1 , j , \gamma } { \bf \hat { a } } ^ { 0 , 2 j - 1 , \alpha } \otimes { \bf \hat { a } } ^ { 0 , 2 j , \alpha } \right) \leq \operatorname* { m i n } \{ r _ { 0 } , \mathcal { M } \} = r _ { 0 } } } \\ { { \mathrm { r a n k } \left( { \phi ^ { 2 , j , \gamma } } \right) \leq \displaystyle \sum _ { \alpha = 1 } ^ { r _ { 1 } } \mathrm { r a n k } \left( { \phi ^ { 1 , 2 j - 1 , \alpha } } \otimes { \phi ^ { 1 , 2 j , \alpha } } \right) \leq \displaystyle \sum _ { \alpha = 1 } ^ { r _ { 1 } } \mathrm { r a n k } \left( { \phi ^ { 1 , 2 j - 1 , \alpha } } \right) \mathrm { r a n k } \left( { \phi ^ { 1 , 2 j , \alpha } } \right) = r _ { 1 } r _ { 0 } ^ { 2 } } } \\ { \vdots } \\ { { \mathrm { r a n k } \left( { \phi ^ { l , j , \gamma } } \right) \leq \displaystyle \sum _ { \alpha = 1 } ^ { r _ { l - 1 } } \mathrm { r a n k } \left( { \phi ^ { l - 1 , 2 j - 1 , \alpha } } \otimes { \phi ^ { l - 1 , 2 j , \alpha } } \right) \leq \displaystyle \sum _ { \alpha = 1 } ^ { r _ { l - 1 } } \mathrm { r a n k } \left( { \phi ^ { l - 1 , 2 j - 1 , \alpha } } \right) \mathrm { r a n k } \left( { \phi ^ { l - 1 , 2 j , \alpha } } \right) . } } \end{array}
356
+ $$
357
+
358
+ It was shown in Cohen & Shashua (2016a) that, when the weights are independently generated from some continuous distribution, we have that rank $\left( \phi ^ { 1 , j , \gamma } \right) = \mathsf { \bar { m i n } } \{ r _ { 0 } , M \}$ with probability 1. Note that, the bounds obtained for $r _ { 0 }$ values greater than $M$ is the same as for $r _ { 0 } = M$ , thus implying that the assumption of $r _ { 0 } \leq M$ does not affect the generality of the results. Finally, by induction up to the $L$ -th layer, we obtain a bound for the grid tensor rank as
359
+
360
+ $$
361
+ \mathrm { r a n k } \left( \mathcal { A } _ { \mathrm { s t a n d } } ^ { y } \right) = \mathrm { r a n k } \left( \phi ^ { L , 1 , 1 } \right) \leq \sum _ { \alpha = 1 } ^ { r _ { L - 1 } } \mathrm { r a n k } \left( \phi ^ { L - 1 , 1 , \alpha } \right) \mathrm { r a n k } \left( \phi ^ { L - 1 , 2 , \alpha } \right) = \prod _ { l = 0 } ^ { L - 1 } r _ { l } ^ { 2 ^ { L - l - 1 } } .
362
+ $$
363
+
364
+ Since we assumed networks with hidden layer widths $r _ { l }$ decaying (or increasing) at an exponential rate of $\lambda \in \mathbb { R }$ . Formally, this is $r _ { l } = \lambda r _ { l - 1 } \in \mathbb { N }$ , thus $r _ { l } = ( \bar { \lambda ( } ) ^ { l } r$ for all $l = 0 , 1 , \ldots , L - 1$ , where
365
+
366
+ $r \triangleq r _ { 0 }$ . Therefore, we may simplify the obtained bound to
367
+
368
+ $$
369
+ \mathrm { r a n k } \left( \mathcal { A } _ { \mathrm { s t a n d } } ^ { y } \right) \leq \prod _ { l = 0 } ^ { L - 1 } ( ( \lambda ) ^ { l } r ) ^ { 2 ^ { L - l - 1 } } = ( \lambda ) ^ { \sum _ { l = 0 } ^ { L - 1 } l 2 ^ { L - l - 1 } } r ^ { \sum _ { l = 0 } ^ { L - 1 } 2 ^ { L - l - 1 } } = ( \lambda ) ^ { 2 ^ { L } - 1 - L } r ^ { 2 ^ { L } - 1 } .
370
+ $$
371
+
372
+ We this analysis by proving Theorem 5.1. To that end let y $\mathcal { A } _ { \mathrm { d e n s e } } ^ { y }$ be the grid tensor of a dense0 ConvAC with s discussed in S , while 4, this d $A _ { \mathrm { s t a n d } } ^ { y }$ dense is the grid tensor rsion of the former ConvAC withvAC is equiva$r ^ { \prime } \in \mathbb { R }$ $( L , r , \lambda , 0 )$ lent to virtually increasing the widths of the ConvAC, which translates extra additive terms in the expressions from 12. Moreover, using corollary 1 we observe that, if the ranks of the tensors $\phi ^ { l , j , \gamma }$ are additive and multiplicative up to $\bar { \mathrm { r a n k } } ( \bar { \mathcal { A } } _ { \mathrm { d e n s e } } ^ { y } ) > \mathrm { r a n k } ( \bar { \mathcal { A } } _ { \mathrm { s t a n d } } ^ { y } )$ , so they are up to $\mathrm { r a n k } ( \mathcal { A } _ { \mathrm { s t a n d } } ^ { y } )$ . A weak dense gain value $G _ { \mathrm { w } } \in \mathbb { R }$ is achieved when there is a set of functions realized by the $( L , r , \lambda , k )$ ConvAC that cannot be realized by $( L , r ^ { \prime } , \lambda , 0 )$ ConvAC unless $r ^ { \prime } = G _ { \mathrm { w } } r$ . To bound this gain, let us assume the best case scenario where rank $\cdot A _ { \mathrm { d e n s e } } ^ { y } )$ reaches the maximum possible rank, from the size of Aydense this can be at most $\mathrm { r a n k } ( \mathcal { A } _ { \mathrm { d e n s e } } ^ { y } ) = M ^ { 2 ^ { L } - 1 }$ . As discussed, would imply that the ranks of the tensors $\phi ^ { l , j , \gamma }$ are additive up to $M ^ { 2 ^ { L } - 1 }$ for both ConvACs. Therefore, $\mathcal { A } _ { \mathrm { s t a n d } } ^ { y }$ achieves its maximum rank given by rank $( \mathcal { A } _ { \mathrm { s t a n d } } ^ { y } ) = ( \lambda ) ^ { 2 ^ { L } - 1 - L } ( r ^ { \prime } ) ^ { 2 ^ { L } - 1 }$ . Then, a $( L , r ^ { \prime } , \lambda , 0 )$ ConvAC is able to realize the functions of a $( L , r , \lambda , k )$ ConvAC when $\operatorname { r a n k } { ( \mathcal { A } _ { \mathrm { s t a n d } } ^ { y } ) } = \operatorname { r a n k } { ( \mathcal { A } _ { \mathrm { d e n s e } } ^ { y } ) }$ , thus $( \lambda ) ^ { 2 ^ { L } - 1 - L } ( r ^ { \prime } ) ^ { 2 ^ { L } - 1 } = { M ^ { 2 ^ { L } - 1 } }$ . Finally, since $r ^ { \prime } = G _ { \mathrm { w } } r$ , this leads to a maximum value of
373
+
374
+ $$
375
+ G _ { \mathrm { w } } = { \frac { M } { \lambda r } } \lambda ^ { \frac { L } { 2 L _ { - 1 } } } \leq { \frac { M } { \lambda r } } ,
376
+ $$
377
+
378
+ which proves Theorem 5.1.
379
+
380
+ For Theorem 5.2 we use consider the particular case of $k = 1$ , which yields a core tensor given by the hierarchical tensor decomposition from (9). We use the same assumption of $r _ { 0 } \le M$ and define the virtually increased widths $\tilde { r } _ { l } \triangleq r _ { l } + r _ { l - 1 } \in \mathbb { N }$ for $l = 1 , \ldots , L - 1$ and $\tilde { r } _ { 0 } \triangleq M$ . This leads to
381
+
382
+ $\begin{array} { l } { \displaystyle \mathrm { r a n k } \left( \phi ^ { 1 , j , \gamma } \right) = \displaystyle \mathrm { r a n k } \left( \sum _ { \alpha = 1 } ^ { r _ { 0 } + M } a _ { \alpha } ^ { 1 , j , \gamma } \mathbf { a } ^ { 0 , 2 j - 1 , \alpha } \otimes \mathbf { a } ^ { 0 , 2 j , \alpha } \right) \leq \operatorname* { m i n } \{ r _ { 0 } + M , M \} = \tilde { r } _ { 0 } } \\ { \displaystyle \mathrm { r a n k } \left( \phi ^ { 2 , j , \gamma } \right) \leq \sum _ { \alpha = 1 } ^ { r _ { 1 } + r _ { 0 } } \mathrm { r a n k } \left( \phi ^ { 1 , 2 j - 1 , \alpha } \otimes \phi ^ { 1 , 2 j , \alpha } \right) \leq \sum _ { \alpha = 1 } ^ { \tilde { r } _ { 1 } } \mathrm { r a n k } \left( \phi ^ { 1 , 2 j - 1 , \alpha } \right) \mathrm { r a n k } \left( \phi ^ { 1 , 2 j , \alpha } \right) = \tilde { r } _ { 1 } \tilde { r } _ { 0 } ^ { 2 } } \end{array}$ $\cdot \mathrm { a n k } \left( \phi ^ { l , j , \gamma } \right) \leq \sum _ { \alpha = 1 } ^ { r _ { l - 1 } + r _ { l - 2 } } \mathrm { r a n k } \left( \phi ^ { l - 1 , 2 j - 1 , \alpha } \otimes \phi ^ { l - 1 , 2 j , \alpha } \right) \leq \sum _ { \alpha = 1 } ^ { \tilde { r } _ { l - 1 } } \mathrm { r a n k } \left( \phi ^ { l - 1 , 2 j - 1 , \alpha } \right) \mathrm { r a n k } \left( \phi ^ { l - 1 , 2 j , \alpha } \right)$ and
383
+
384
+ $$
385
+ \mathrm { r a n k } ( \mathcal { A } _ { \mathrm { d e n s } } ^ { y } ) = \mathrm { r a n k } \left( \phi ^ { L , 1 , 1 } \right) \leq \prod _ { l = 0 } ^ { L - 1 } \tilde { r } _ { l } ^ { 2 ^ { L - l - 1 } } .
386
+ $$
387
+
388
+ Note that for $r _ { l } = \lambda r _ { l - 1 } \in \mathbb { N } ( \lambda \in \mathbb { R } )$ , we get virtually increased widths $\tilde { r } _ { l } = ( 1 + \lambda ) ^ { l } r =$ $\left( \lambda \left( 1 + \textstyle { \frac { 1 } { \lambda } } \right) \right) ^ { l } r$ , for all $l = 0 , 1 , \ldots , L - 1$ , leading to
389
+
390
+ $$
391
+ \begin{array} { l } { \operatorname { r a n k } \left( \mathscr { A } _ { \sf d e n s } ^ { y } \right) \leq \displaystyle \prod _ { l = 0 } ^ { L - 1 } \left( \left( \lambda ( 1 + 1 / \lambda ) \right) ^ { l } r \right) ^ { 2 ^ { L - l - 1 } } = \left( \lambda ( 1 + 1 / \lambda ) \right) ^ { \sum _ { l = 0 } ^ { L - 1 } l 2 ^ { L - l - 1 } } r ^ { \sum _ { l = 0 } ^ { L - 1 } 2 ^ { L - l - 1 } } } \\ { = \left( \lambda ( 1 + 1 / \lambda ) \right) ^ { 2 ^ { L } - 1 - L } r ^ { 2 ^ { L } - 1 } . } \end{array}
392
+ $$
393
+
394
+ As in for the proof of Theorem 5.1, the maximum dense gain $G _ { \mathrm { w } }$ is obtained when $\mathrm { r a n k } ( \mathcal { A } _ { \mathrm { d e n s e } } ^ { y } )$ reaches the maximum possible rank. In this particular case, this corresponds to $\begin{array} { r c l } { \operatorname { r a n k } ( \overset { \smile } { \mathcal { A } } _ { \mathrm { d e n s e } } ^ { y } ) } & { = } & { \operatorname* { m i n } \Big ( \big ( \lambda ( 1 + 1 / \lambda ) \big ) ^ { 2 ^ { L } - 1 - L } r ^ { 2 ^ { L } - 1 } , { M ^ { 2 ^ { L } - 1 } } \Big ) . } \end{array}$ . Furthermore, for obtaining $\operatorname { r a n k } { ( \mathcal { A } _ { \mathrm { s t a n d } } ^ { y } ) } = \operatorname { r a n k } { ( \mathcal { A } _ { \mathrm { d e n s e } } ^ { y } ) }$ a gain of
395
+
396
+ $$
397
+ G _ { \mathrm { w } } \leq \operatorname* { m i n } \left( 1 + { \frac { 1 } { \lambda } } , { \frac { M } { \lambda r } } \right)
398
+ $$
399
+
400
+ is required, thus proving Theorem 5.2.
401
+
402
+ Finally, for proving Theorem 5.3 we show that this bound can be attained with probability 1. Note that this bound is achieved when the inequalities from (12) hold with equality for all $\begin{array} { r l r l } { l } & { { } \in } & { [ L ] } \end{array}$ . The first inequality of (12) holds when the tensors $\left( \phi ^ { l - 1 , 2 j - 1 , 1 } \otimes \phi ^ { l - 1 , 2 j , 1 } \right) , \cdot \cdot \cdot , \left( \phi ^ { \bar { l } - 1 , 2 j - 1 , r _ { l - 1 } } \otimes \phi ^ { l - 1 , 2 j , r _ { l - 1 } } \right)$ are additive on the rank. This can be proven to be true with probability 1 when
403
+
404
+ $$
405
+ \sum _ { \alpha = 1 } ^ { r _ { l - 1 } } \operatorname { r a n k } \big ( \phi ^ { l - 1 , 2 j - 1 , \alpha } \otimes \phi ^ { l - 1 , 2 j , \alpha } \big ) \leq M ^ { 2 ^ { l - 1 } }
406
+ $$
407
+
408
+ by applying Lemma 3. In the same manner, the second inequality of (12) holds when the tensor pairs $\displaystyle \dot { \left( \phi ^ { l - 1 , 2 j - 1 , \alpha } , \phi ^ { l - 1 , 2 j , \alpha } \right) }$ are multiplicative in the tensor rank. We may use Lemma 2 to prove this is the case with probability 1 if we can bound
409
+
410
+ $$
411
+ \operatorname { r a n k } \left( \phi ^ { l - 1 , 2 j - 1 , \alpha } \right) \leq M ^ { 2 ^ { l - 2 } } .
412
+ $$
413
+
414
+ In summary, if equations (16) and (17) hold, we may use Lemmas 3 and 2 to prove that (12) reaches equality with probability 1, thus implying that (13) also reaches equality everywhere outside a set Lebesgue measure zero. It is straight forward to see that, if (16) holds, so does (17).
415
+
416
+ For the case of a network with exponential width decay $\lambda$ and $r \leq { \frac { 1 } { \lambda } } { \sqrt { M } }$ we have that
417
+
418
+ $$
419
+ \sum _ { \alpha = 1 } ^ { r _ { l - 1 } } \operatorname { r a n k } \left( \phi ^ { l - 1 , 2 j - 1 , \alpha } \otimes \phi ^ { l - 1 , 2 j , \alpha } \right) \leq ( \lambda ) ^ { 2 ^ { l } - 1 - l } r ^ { 2 ^ { l } - 1 } \leq ( \lambda ) ^ { 2 ^ { l } } r ^ { 2 ^ { l } } \leq ( \lambda ) ^ { 2 ^ { l } } \left( { \frac { 1 } { \lambda } } { \sqrt { M } } \right) ^ { 2 ^ { l } } = M ^ { 2 ^ { l - 1 } }
420
+ $$
421
+
422
+ thus (16) holds. Therefore, within this regime of $r \leq { \frac { 1 } { \lambda } } { \sqrt { M } }$ , we may ensure that the tensor rank is additive and multiplicative with probability 1.
423
+
424
+ Now we apply the same reasoning for a densely connected arithmetic circuit of √ √ $L$ layers and width decay $\lambda$ such that $\begin{array} { r } { r \leq \frac { 1 } { 1 + \lambda } \sqrt { M } \stackrel { - } { = } \frac { 1 } { \lambda ( 1 + 1 / \lambda ) } \sqrt { M } } \end{array}$ 1λ(1+1/λ) M . In the same manner as for the standard ConvAC we bound
425
+
426
+ $$
427
+ \begin{array} { r } { \displaystyle \sum _ { \alpha = 1 } ^ { r _ { l - 1 } } \operatorname { r a n k } \left( \phi ^ { l - 1 , 2 j - 1 , \alpha } \otimes \phi ^ { l - 1 , 2 j , \alpha } \right) \leq \left( \lambda ( 1 + 1 / \lambda ) \right) ^ { 2 ^ { l } - 1 - l } r ^ { 2 ^ { l } - 1 } \leq \left( \lambda ( 1 + 1 / \lambda ) \right) ^ { 2 ^ { l } } r ^ { 2 ^ { l } } } \\ { \leq \left( \lambda ( 1 + 1 / \lambda ) \right) ^ { 2 ^ { l } } \left( \displaystyle \frac { 1 } { \lambda ( 1 + 1 / \lambda ) } \sqrt { M } \right) ^ { 2 ^ { l } } = M ^ { 2 ^ { l - 1 } } , } \end{array}
428
+ $$
429
+
430
+ which enables us to make use of Lemmas 3 and 2 to prove that (15) holds with equality everywhere√ √ except from a set of Lebesgue measure zero. Note that, for $\textstyle r \leq { \frac { 1 } { 1 + \lambda } } { \sqrt { M } } < { \frac { 1 } { \lambda } } { \bar { \sqrt { M } } }$ , we have that both equations (13) and (15) reach equality with probability 1, thus proving Theorem 5.3.
431
+
432
+ # B.4 PROOF PROPOSITION 3
433
+
434
+ Proof Let $P ( L , r , \lambda , k ) \in \mathbb { N }$ be the number of parameters of a $( L , r , \lambda , k )$ ConvAC. A standard $( L , r , \lambda , 0 )$ ConvAC is composed of the weights $\bar { \{ \mathbf { a } ^ { 0 , j , \gamma } \in \mathbb { R } ^ { M } \} } _ { j \in [ N ] , \gamma \in [ r _ { 0 } ] }$ in the first hidden convolutions, $\{ \mathbf { a } ^ { l , j , \gamma } \in \mathbb { R } ^ { M } \} _ { j \in [ N / 2 ^ { l } ] , \gamma \in [ r _ { l } ] }$ in the hidden layers, and $\mathbf { a } ^ { L , 1 , y } \in \mathbb { R } ^ { r _ { L - 1 } }$ in the weights corresponding to the output $y$ in the output layer. Therefore, this ConvAC has a number of weights
435
+
436
+ $$
437
+ P ( L , r , \lambda , 0 ) = M N r _ { 0 } + \sum _ { l = 1 } ^ { L } \frac { N } { 2 ^ { l } } r _ { l } r _ { l - 1 } + Y r _ { L }
438
+ $$
439
+
440
+ When adding dense connections of growth-rate $k$ , we need additional weights for the convolution ding layers and the current layer. Therefore, at the weights, which leads to $l$ -th layer we have an extra $\scriptstyle \sum _ { q = 1 } ^ { k } { \frac { N } { 2 ^ { l } } } r _ { l } r _ { l - 1 - q }$
441
+
442
+ $$
443
+ P ( L , r , \lambda , k ) = M N r _ { 0 } + \sum _ { l = 1 } ^ { L } \frac { N } { 2 ^ { l } } r _ { l } r _ { l - 1 } + \sum _ { l = 1 } ^ { L } \sum _ { q = 1 } ^ { k } \frac { N } { 2 ^ { l } } r _ { l } r _ { l - 1 - q } + Y r _ { L } .
444
+ $$
445
+
446
+ By definition, we have that $\begin{array} { r c l } { { \varDelta P _ { \mathrm { s t d } } } } & { { = } } & { { P ( L , G r , \lambda , 0 ) ~ - ~ P ( L , G r , \lambda , 0 ) } } \end{array}$ and $\begin{array} { r l } { \varDelta P _ { \mathrm { d e n s e } } } & { { } = } \end{array}$ $P ( L , G r , \lambda , k ) - P ( L , r , \lambda , 0 )$ , thus yielding
447
+
448
+ $$
449
+ \begin{array} { l } { { \displaystyle \varDelta P _ { \mathrm { s t d } } = ( G - 1 ) ( M N r _ { 0 } + Y r _ { L } ) + ( G ^ { 2 } - 1 ) \sum _ { l = 1 } ^ { L } \frac { N } { 2 ^ { l } } r _ { l } r _ { l - 1 } } } \\ { ~ } \\ { { \displaystyle ~ = ( G - 1 ) ( M N r + \lambda ^ { L } Y r ) + ( G ^ { 2 } - 1 ) \sum _ { l = 1 } ^ { L } \frac { N } { 2 ^ { l } } \lambda ^ { 2 l - 1 } r ^ { 2 } } } \\ { { \displaystyle ~ } } \\ { { \displaystyle ~ = ( G - 1 ) ( M N + \lambda ^ { L } Y ) r + ( G ^ { 2 } - 1 ) N \lambda ^ { - 1 } r ^ { 2 } \sum _ { l = 1 } ^ { L } ( \frac { \lambda ^ { 2 } } { 2 } ) ^ { l } } } \end{array}
450
+ $$
451
+
452
+ and
453
+
454
+ $$
455
+ \varDelta P _ { \mathrm { d e n s e } } = \sum _ { q = 1 } ^ { k } \sum _ { l = 1 } ^ { L } \frac { N } { 2 ^ { l } } r _ { l } r _ { l - 1 - q } = N r ^ { 2 } \sum _ { q = 1 } ^ { k } \lambda ^ { - 1 - q } \sum _ { l = 1 } ^ { L } ( \frac { \lambda ^ { 2 } } { 2 } ) ^ { l } .
456
+ $$
457
+
458
+ Finnaly, we use these expressions to compute the ratio of interest as
459
+
460
+ $$
461
+ \begin{array} { r l } & { \frac { \varDelta P _ { \mathrm { s t d } } } { \varDelta P _ { \mathrm { d e n s c } } } = \frac { ( G - 1 ) ( M N + \lambda ^ { L } Y ) r + ( G ^ { 2 } - 1 ) N \lambda ^ { - 1 } r ^ { 2 } \sum _ { l = 1 } ^ { L } ( \frac { \lambda ^ { 2 } } { 2 } ) ^ { l } } { N r ^ { 2 } \sum _ { q = 1 } ^ { k } \lambda ^ { - 1 - q } \sum _ { l = 1 } ^ { L } ( \frac { \lambda ^ { 2 } } { 2 } ) ^ { l } } } \\ & { \qquad = \frac { ( G - 1 ) ( M N + \lambda ^ { L } Y ) } { N r \sum _ { q = 1 } ^ { k } \lambda ^ { - 1 - q } \sum _ { l = 1 } ^ { L } ( \frac { \lambda ^ { 2 } } { 2 } ) ^ { l } } + \frac { ( G ^ { 2 } - 1 ) } { \sum _ { q = 1 } ^ { k } \lambda ^ { - 1 - q } } \geq \frac { ( G - 1 ) M } { r \sum _ { q = 1 } ^ { k } \lambda ^ { - 1 - q } \sum _ { l = 1 } ^ { L } ( \frac { \lambda ^ { 2 } } { 2 } ) ^ { l } } + \frac { ( G ^ { 2 } - 1 ) ^ { L } } { \sum _ { q = 1 } ^ { k } \lambda ^ { - 1 - q } } \geq \frac { ( G - 1 ) ^ { L } } { r ^ { 2 } } } \end{array}
462
+ $$
463
+
464
+ which proves this proposition.
parse/train/Byj54-bAW/Byj54-bAW_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/Byx9p2EtDH/Byx9p2EtDH.md ADDED
@@ -0,0 +1,300 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # MULTIPOLAR: MULTI-SOURCE POLICY AGGREGATION FOR TRANSFER REINFORCEMENT LEARNING BETWEEN DIVERSE ENVIRONMENTAL DYNAMICS
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ Transfer reinforcement learning (RL) aims at improving learning efficiency of an agent by exploiting knowledge from other source agents trained on relevant tasks. However, it remains challenging to transfer knowledge between different environmental dynamics without having access to the source environments. In this work, we explore a new challenge in transfer RL, where only a set of source policies collected under unknown diverse dynamics is available for learning a target task efficiently. To address this problem, the proposed approach, MULTI-source POLicy AggRegation (MULTIPOLAR), comprises two key techniques. We learn to aggregate the actions provided by the source policies adaptively to maximize the target task performance. Meanwhile, we learn an auxiliary network that predicts residuals around the aggregated actions, which ensures the target policy’s expressiveness even when some of the source policies perform poorly. We demonstrated the effectiveness of MULTIPOLAR through an extensive experimental evaluation across six simulated environments ranging from classic control problems to challenging robotics simulations, under both continuous and discrete action spaces.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ We envision a future scenario where a variety of robotic systems, which are each trained or manually engineered to solve a similar task, provide their policies for a new robot to learn a relevant task quickly. For example, imagine various pick-and-place robots working in factories all over the world. Depending on the manufacturer, these robots will differ in their kinematics (e.g., link length, joint orientations) and dynamics (e.g., link mass, joint damping, friction, inertia). They could provide their policies to a new robot (Devin et al., 2017), even though their dynamics factors, on which the policies are implicitly conditioned, are not typically available (Chen et al., 2018). Moreover, we cannot rely on a history of their individual experiences, as they may be unavailable due to a lack of communication between factories or prohibitively large dataset sizes. In such scenarios, we argue that a key technique to develop is the ability to transfer knowledge from a collection of robots to a new robot quickly only by exploiting their policies while being agnostic to their different kinematics and dynamics, rather than collecting a vast amount of samples to train the new robot from scratch.
12
+
13
+ The scenario illustrated above poses a new challenge in the transfer learning for reinforcement learning (RL) domains. Formally, consider multiple instances of a single environment that differ in their state transition dynamics, e.g., independent ant robots with different leg designs in Figure 1, which reach different locations by executing the same walking actions. These source agents interacting with one of the environment instances provide their deterministic policy to a new target agent in another environment instance. Then, our problem is: can
14
+
15
+ ![](images/281c6eee5ce0d97a03f9610f5d73114a8753b2c92a9faf383d4958011612d9ef.jpg)
16
+ Figure 1: Ant Example. A policy of a target agent (right) is learned by utilizing the policies of other source agents with different leg designs (left).
17
+
18
+ we efficiently learn the policy of a target agent given only the collection of source policies? Note that information about source environmental dynamics, such as the exact state transition distributions and the history of environmental states, will not be visible to the target agent as mentioned above. Also, the source policies are neither trained nor hand-engineered for the target environment instance, and therefore not guaranteed to work optimally and may even fail (Chen et al., 2018). These conditions prevent us from adopting existing work on transfer RL between different environmental dynamics, as they require access to source environment instances or their dynamics for training a target policy (e.g., Lazaric et al. (2008); Chen et al. (2018); Yu et al. (2019); Tirinzoni et al. (2018)). Similarly, meta-learning approaches (Vanschoren, 2018; Sæmundsson et al., 2018; Clavera et al., 2019) cannot be used here because they typically train an agent on a diverse set of tasks (i.e., environment instances). Also, existing techniques that utilize a collection of source policies, e.g., policy reuse frameworks (Fernandez & Veloso, 2006; Rosman et al., 2016; Zheng et al., ´ 2018) and option frameworks (Sutton et al., 1999; Bacon et al., 2017; Mankowitz et al., 2018), are not a promising solution because, to our knowledge, they assume source policies have the same environmental dynamics but have different goals.
19
+
20
+ ![](images/0ca86c50a8f5de5c5217b8239188e15f6ab6ce53a78cfdd084744ec5c0204dfa.jpg)
21
+ Figure 2: Overview of MULTIPOLAR. We formulate a target policy $\pi _ { \mathrm { t a r g e t } }$ with the sum of 1) the adaptive aggregation $F _ { \mathrm { a g g } }$ of deterministic actions from source policies $\bar { L }$ and 2) the auxiliary network $F _ { \mathrm { a u x } }$ for predicting residuals around $F _ { \mathrm { a g g } }$ .
22
+
23
+ As a solution to the problem, we propose a new transfer RL approach named MULTI-source POLicy AggRegation (MULTIPOLAR). As shown in Figure 2, our key idea is twofold; 1) In a target policy, we adaptively aggregate the deterministic actions produced by a collection of source policies. By learning aggregation parameters to maximize the expected return at a target environment instance, we can better adapt the aggregated actions to unseen environmental dynamics of the target instance without knowing source environmental dynamics nor source policy performances. 2) We also train an auxiliary network that predicts a residual around the aggregated actions, which is crucial for ensuring the expressiveness of the target policy even when some source policies are not useful. As another notable advantage, the proposed MULTIPOLAR can be used for both continuous and discrete action spaces with few modifications while allowing a target policy to be trained in a principled fashion. Similar to Ammar et al. (2014); Song et al. (2016); Chen et al. (2018); Tirinzoni et al. (2018); Yu et al. (2019), our method assumes that the environment structure (state/action space) is identical between the source and target environments, while dynamics/kinematics parameters are different. This assumption holds in many real-world applications such as in sim-to-real tasks (Tan et al., 2018), industrial insertion tasks (Schoettler et al., 2019) (different dynamics comes from the differences in parts), and wearable robots (Zhang et al., 2017) (with users as dynamics).
24
+
25
+ We evaluate MULTIPOLAR in a variety of environments ranging from classic control problems to challenging robotics simulations. Our experimental results demonstrate the significant improvement of sample efficiency with the proposed approach, compared to baselines that trained a target policy from scratch or from a single source policy. We also conducted a detailed analysis of our approach and found it works well even when some of the source policies performed poorly in their original environment instance.
26
+
27
+ Main contributions: (1) a new transfer RL problem that leverages multiple source policies collected under diverse environmental dynamics to train a target policy in another dynamics, and (2) MULTIPOLAR, a simple yet principled and effective solution verified in our extensive experiments.
28
+
29
+ # 2 PRELIMINARIES
30
+
31
+ Reinforcement Learning We formulate our problem under the standard RL framework (Sutton & Barto, 1998), where an agent interacts with its environment modeled by a Markov decision process (MDP). An MDP is represented by the tuple $\mathcal { M } = ( \rho _ { 0 } , \gamma , S , \mathcal { A } , R , T )$ where $\rho _ { 0 }$ is the initial state distribution and $\gamma$ is a discount factor. At each timestep $t$ , given the current state $s _ { t } ~ \in ~ S$ , the agent executes an action $a _ { t } \in \mathcal A$ based on its policy $\pi ( a _ { t } \mid s _ { t } ; \theta )$ that is parameterized by $\theta$ . The environment returns a reward $R ( s _ { t } , a _ { t } ) \in \mathbb { R }$ and transitions to the next state $s _ { t + 1 }$ based on the state transition distribution $T ( s _ { t + 1 } \mid s _ { t } , a _ { t } )$ . In this framework, RL aims to maximize the expected return with respect to the policy parameters $\theta$ .
32
+
33
+ Environment Instances In this work, we consider $K$ instances of the same environment that differ only in their state transition dynamics. We model each environment instance by an indexed MDP: $\mathcal { M } _ { i } = ( \rho _ { 0 } , \gamma , S , A , R , T _ { i } )$ where no two state transition distributions $T _ { i } , T _ { j } ; i \neq j$ are identical. We also assume that each $T _ { i }$ is unknown when training a target policy, i.e., agents cannot access the exact form of $T _ { i }$ nor a collection of states sampled from $T _ { i }$ .
34
+
35
+ Source Policies For each of the $K$ environment instances, we are given a deterministic source policy $\mu _ { i } : { \mathcal { S } } A$ that only maps states to actions. Each source policy $\mu _ { i }$ can be either parameterized (e.g., learned from interacting with the environment modeled by $\mathcal { M } _ { i }$ ) or non-parameterized (e.g., heuristically designed by humans). Either way, we assume no prior knowledge about $\mu _ { i }$ is available for a target agent, such as their representations or original performances, except that they were acquired in $\mathcal { M } _ { i }$ with an unknown $T _ { i }$ .
36
+
37
+ Problem Statement Given the set of source policies $L = \{ \mu _ { 1 } , . . . , \mu _ { K } \}$ , our goal is to train a new target agent’s policy $\pi _ { \mathrm { t a r g e t } } ( a _ { t } \mid s _ { t } ; L , \theta )$ in a sample efficient fashion, where the target agent interacts with another environment instance $\mathcal { M } _ { \mathrm { t a r g e t } } \ \stackrel { - } { = } \ \left( \rho _ { 0 } , S , \mathcal { A } , R , T _ { \mathrm { t a r g e t } } \right)$ and $T _ { \mathrm { t a r g e t } }$ is not necessarily identical to $T _ { i }$ $( i = 1 \dots , K )$ .
38
+
39
+ # 3 MULTI-SOURCE POLICY AGGREGATION
40
+
41
+ As shown in Figure 2, with the Multi-Source Policy Aggregation (MULTIPOLAR), we formulate a target policy $\pi _ { \mathrm { t a r g e t } }$ using a) the adaptive aggregation of deterministic actions from the set of source policies $L$ , and b) the auxiliary network predicting residuals around the aggregated actions. We first present our method for the continuous action space, and then extend it to the discrete space.
42
+
43
+ Adaptive Aggregation of Source Policies Let us denote by $a _ { t } ^ { ( i ) } = \mu _ { i } ( s _ { t } )$ the action predicted deterministically by source policy $\mu _ { i }$ given the current state $s _ { t }$ . For the continuous action space, $a _ { t } ^ { ( i ) } \in \mathbb { R } ^ { D }$ is a $D$ -dimensional real-valued vector representing $D$ actions performed jointly in each timestep. For the collection of source policies $L$ , we derive the matrix of their deterministic actions:
44
+
45
+ $$
46
+ A _ { t } = \left[ ( \boldsymbol { a } _ { t } ^ { ( 1 ) } ) ^ { \top } , \ldots , ( \boldsymbol { a } _ { t } ^ { ( K ) } ) ^ { \top } \right] \in \mathbb { R } ^ { K \times D } .
47
+ $$
48
+
49
+ The key idea of this work is to aggregate $A _ { t }$ adaptively in an RL loop, i.e., to maximize the expected return. This adaptive aggregation gives us a “baseline” action that could introduce a strong inductive bias in the training of a target policy, without knowing source environmental dynamics $T _ { i }$ . More specifically, we define the adaptive aggregation function $F _ { \mathrm { a g g } } : S { \mathcal { A } }$ that produces the baseline action based on the current state $s _ { t }$ as follows:
50
+
51
+ $$
52
+ F _ { \mathrm { a g g } } ( s _ { t } ; L , \theta _ { \mathrm { a g g } } ) = \frac { 1 } { K } \mathbb { 1 } ^ { K } \left( \theta _ { \mathrm { a g g } } \odot A _ { t } \right) ,
53
+ $$
54
+
55
+ where $\theta _ { \mathrm { a g g } } \in \mathbb { R } ^ { K \times D }$ is a matrix of trainable parameters, $\odot$ is the element-wise multiplication, and $\mathbb { 1 } ^ { K }$ is the all-ones vector of length $K$ . $\theta _ { \mathrm { a g g } }$ is neither normalized nor regularized, and can scale each action of each policy independently. This means that we do not merely adaptively interpolate action spaces, but more flexibly emphasize informative source actions while suppressing irrelevant ones.
56
+
57
+ Predicting Residuals around Aggregated Actions Moreover, we learn auxiliary network $F _ { \mathrm { a u x } }$ : $S A$ jointly with $F _ { \mathrm { a g g } }$ , to predict residuals around the aggregated actions. $F _ { \mathrm { a u x } }$ is used to improve the target policy training in two ways. 1) If the aggregated actions from $F _ { \mathrm { a g g } }$ are already useful in the target environment instance, $F _ { \mathrm { a u x } }$ will correct them for a higher expected return. 2) Otherwise, $F _ { \mathrm { a u x } }$ learns the target task while leveraging $F _ { \mathrm { a g g } }$ as a prior to have a guided exploration process. Any network could be used for $F _ { \mathrm { a u x } }$ as long as it is parameterized and fully differentiable. Finally, the MULTIPOLAR function is formulated as:
58
+
59
+ $$
60
+ F ( s _ { t } ; L , \theta _ { \mathrm { a g g } } , \theta _ { \mathrm { a u x } } ) = F _ { \mathrm { a g g } } ( s _ { t } ; L , \theta _ { \mathrm { a g g } } ) + F _ { \mathrm { a u x } } ( s _ { t } ; \theta _ { \mathrm { a u x } } ) ,
61
+ $$
62
+
63
+ where $\theta _ { \mathrm { a u x } }$ denotes a set of trainable parameters for $F _ { \mathrm { a u x } }$ . Note that the idea of predicting residuals for a source policy has also been presented by Silver et al. (2018); Johannink et al. (2019); Rana et al. (2019). The main difference here is that, while these works just add raw action outputs provided from a single hand-engineered source policy, we adaptively aggregate actions from multiple source policies in order to obtain a more flexible and canonical representation.
64
+
65
+ Target Policy Target policy $\pi _ { \mathrm { t a r g e t } }$ can be modeled by reparameterizing the MULTIPOLAR function as a Gaussian distribution, i.e., $\mathcal { N } ( F ( s _ { t } ; L , \theta _ { \mathrm { a g g } } , \theta _ { \mathrm { a u x } } ) , \Sigma )$ , where $\Sigma$ is a covariance matrix estimated based on what the used RL algorithm requires. Since we regard $\mu _ { i } \in L$ as fixed functions mapping states to actions, this Gaussian policy $\pi _ { \mathrm { t a r g e t } }$ is differentiable with respect to $\theta _ { \mathrm { a g g } }$ and $\theta _ { \mathrm { a u x } }$ , and hence could be trained with any RL algorithm that explicitly updates policy parameters. Unlike Silver et al. (2018); Johannink et al. (2019); Rana et al. (2019), we can formulate the target policy in a principled fashion for actions in a discrete space. Specifically, instead of a $D$ -dimensional real-valued vector, here we have a $D$ -dimensional one-hot vector $a _ { t } ^ { ( i ) } \in \{ 0 , 1 \} ^ { D }$ , $\begin{array} { r } { \sum _ { j } ( a _ { t } ^ { ( i ) } ) _ { j } = 1 } \end{array}$ as outputs of $\mu _ { i }$ , where $( a _ { t } ^ { ( i ) } ) _ { j } = 1$ indicates that the $j$ -th action is to be executed. Following Eqs. (2) and (3), the output of $F ( \dot { s } _ { t } ; L , \theta _ { \mathrm { a g g } } , \theta _ { \mathrm { a u x } } )$ can be viewed as $D$ -dimensional un-normalized action scores, from which we can sample a discrete action after normalizing it by the softmax function.
66
+
67
+ # 4 EXPERIMENTAL EVALUATION
68
+
69
+ We aim to empirically demonstrate the sample efficiency of a target policy trained with MULTIPOLAR (denoted by “MULTIPOLAR policy”). To complete the experiments in a reasonable amount of time, we set the number of source policies to be $K = 4$ unless mentioned otherwise. Moreover, we investigate the factors that affect the performance of MULTIPOLAR. To ensure fair comparisons and reproducibility of experiments, we followed the guidelines introduced by Henderson et al. (2018) and Franc¸ois-Lavet et al. (2018) for conducting and evaluating all of our experiments.
70
+
71
+ # 4.1 EXPERIMENTAL SETUP
72
+
73
+ Baseline Methods To show the benefits of leveraging source policies, we compared our MULTIPOLAR policy to the standard multi-layer perceptron (MLP) trained from scratch, which is typically used in RL literature (Schulman et al., 2017; Franc¸ois-Lavet et al., 2018). As another baseline, we also used MULTIPOLAR with $K = 1$ , which is an extension of residual policy learning (Silver et al., 2018; Johannink et al., 2019; Rana et al., 2019) (denoted by “RPL”) with adaptive residuals as well as the ability to deal with both continuous and discrete action spaces. We stress here that the existing transfer RL or meta RL approaches that train a universal policy network agnostic to the environmental dynamics, such as Frans et al. (2018); Chen et al. (2018), cannot be used as a baseline since they require a policy to be trained on a distribution of environment instances, which is not possible in our problem setting. Also, other techniques using multiple source policies, such as policy reuse frameworks, are not applicable because their source policies should be collected under the target environmental dynamics.
74
+
75
+ Environments To show the general effectiveness of the MULTIPOLAR policy, we conducted comparative evaluations of MULTIPOLAR on the following six OpenAI Gym environments: Roboschool Hopper, Roboschool Ant, Roboschool InvertedPendulumSwingUp, Acrobot, CartPole, and LunarLander. We chose these six environments because 1) the parameterization of their dynamics and kinematics is flexible enough, 2) they cover discrete action space (Acrobot and CartPole) as well as continuous action space, and 3) they are samples of three distinct categories of OpenAI Gym environments, namely Box2d, Classic Control, and Roboschool.
76
+
77
+ Experimental Procedure For each of the six environments, we first created 100 environment instances by randomly sampling the dynamics and kinematics parameters from a specific range. For example, these parameters in the Hopper environment were link lengths, damping, friction, armature, and link mass1 Then, for each environment instance, we trained an MLP policy. The trained MLP policies were used in two ways: a) the baseline MLP policy for each environment instance, and b) a pool of 100 source policy candidates from which we sample $K$ of them to train MULTIPOLAR policies and one of them to train RPL policies2. Specifically, for each environment instance, we trained three MULTIPOLAR and three RPL policies with distinct sets of source policies selected randomly from the candidate pool. The learning procedure explained above was done three times with fixed different random seeds to reduce variance in results due to stochasticity. As a result, for each of the six environments, we had 100 environment instances $\times 3$ random seeds $= 3 0 0$ experiments for MLP and 100 environment instances $\times ~ 3$ choices of source policies $\times \ 3$ random seeds $= 9 0 0$ experiments for RPL and MULTIPOLAR. The aim of this large number of experiments is to obtain correct insights into the distribution of performances (Henderson et al., 2018). Due to the large number of experiments for all the environments, our detailed analysis and ablation study of MULTIPOLAR components were conducted with only Hopper, as its sophisticated second-order dynamics plays a crucial role in agent performance (Chen et al., 2018).
78
+
79
+ ![](images/ce954fc0266e61a3d816c55da86bfdc074723b24b1f5d91b1bb952ba92648847.jpg)
80
+ Figure 3: Average Learning Curves of MLP, RPL, and MULTIPOLAR $X = 4 ,$ ) over all the experiments for each environment. The shaded area represents 1 standard error.
81
+
82
+ Implementation Details All the experiments were done using the Stable Baselines (Hill et al., 2018) implementation of learning algorithms as well as its default hyperparameters and MLP network architecture for each environment (see Appendix A.1 for more details). Based on the performance of learning algorithms reported in the Hill et al. (2018), all the policies were trained with Soft Actor-Critic (Haarnoja et al., 2018) in the LunarLander environment and with Proximal Policy Optimization (Schulman et al., 2017) in the rest of the environments. For fair comparisons, in all experiments, auxiliary network $F _ { \mathrm { a u x } }$ had an identical architecture to that of the MLP. Therefore, the only difference between MLP and MULTIPOLAR was the aggregation part $F _ { \mathrm { a g g } }$ , which made it possible to evaluate the contribution of transfer learning based on adaptive aggregation of source policies. Also, we avoided any random seed optimization since it has been shown to alter the policies’ performance (Henderson et al., 2018).
83
+
84
+ Evaluation Metric Following the guidelines of Henderson et al. (2018), to measure sampling efficiency of training policies, i.e., how quick the training progresses, we used the average episodic reward over a various number of training samples. Also, to ensure that higher average episodic reward is representative of better performance and to estimate the variation of it, we used the sample bootstrap method (Efron & Tibshirani, 1993) to estimate statistically relevant $9 5 \%$ confidence bounds of the results of our experiments. Across all the experiments, we used 10K bootstrap iterations and the pivotal method. Further details on evaluation method can be found in Appendix A.3.
85
+
86
+ Table 1: MULTIPOLAR vs. Baselines. Bootstrap mean and $9 5 \%$ confidence bounds of average episodic rewards over various training samples across six environments.
87
+
88
+ <table><tr><td rowspan="2">Methods</td><td colspan="4">CartPole</td></tr><tr><td>25K</td><td>50K</td><td>75K</td><td>100K</td></tr><tr><td>MLP</td><td>171 (164,179)</td><td>229 (220,237)</td><td>266 (258,275)</td><td>291 (282,300)</td></tr><tr><td>RPL</td><td>185 (179,192)</td><td>238 (231,245)</td><td>269 (262,276)</td><td>289 (282,296)</td></tr><tr><td>MULTIPOLAR (K=4)</td><td>202 (195,209)</td><td>252 (245,260)</td><td>283 (276,290)</td><td>299 (292,306)</td></tr><tr><td rowspan="2"></td><td colspan="4">Acrobot</td></tr><tr><td>50K</td><td>100K</td><td>150K</td><td>200K</td></tr><tr><td>MLP</td><td>-305 (-317,-294)</td><td>-164 (-172,-156)</td><td>-127 (-133,-121)</td><td>-111 (-117,-106)</td></tr><tr><td>RPL</td><td>-154 (-159,-150)</td><td>-120 (-124,-116)</td><td>-105 (-109,-102)</td><td>-98 (-101,-95)</td></tr><tr><td>MULTIPOLAR (K=4)</td><td>-151 (-155,-146)</td><td>-117 (-121,-113)</td><td>-103 (-106,-100)</td><td>-96 (-99,-93)</td></tr><tr><td></td><td colspan="4">LunarLander</td></tr><tr><td></td><td>125K</td><td>250K</td><td>375K</td><td>500K</td></tr><tr><td>MLP</td><td>10 (2,18)</td><td>112 (104,121)</td><td>178 (171,185)</td><td>216 (210,221)</td></tr><tr><td>RPL</td><td>92 (87,96)</td><td>178 (174,182)</td><td>223 (220,226)</td><td>246 (243,248)</td></tr><tr><td>MULTIPOLAR (K=4)</td><td>95 (90,99)</td><td>181 (177,185)</td><td>224 (221,228)</td><td>246 (244,249)</td></tr><tr><td></td><td colspan="4">Roboschool Hopper</td></tr><tr><td></td><td>0.5M</td><td>1M</td><td>1.5M</td><td>2M</td></tr><tr><td>MLP</td><td>26 (25,27)</td><td>43 (42,45)</td><td>67 (64,70)</td><td>92 (88,96)</td></tr><tr><td>RPL</td><td>37 (36,39)</td><td>75 (70,79)</td><td>114 (107,121)</td><td>152 (142,160)</td></tr><tr><td>MULTIPOLAR (K=4)</td><td>61 (59,64)</td><td>138 (132,143)</td><td>213 (206,221)</td><td>283 (273,292)</td></tr><tr><td></td><td colspan="4">Roboschool Ant</td></tr><tr><td></td><td>0.5M</td><td>1M</td><td>1.5M</td><td>2M</td></tr><tr><td>MLP</td><td>714 (674,756)</td><td>1088 (1030,1146)</td><td>1332 (1267,1399)</td><td>1500 (1430,1572)</td></tr><tr><td>RPL</td><td>807 (785,830)</td><td>1120 (1088,1152)</td><td>1307 (1269,1344)</td><td>1432 (1391,1473)</td></tr><tr><td>MULTIPOLAR (K=4)</td><td>1025 (995,1056)</td><td>1397 (1361,1432)</td><td>1606 (1568,1644)</td><td>1744 (1705,1783)</td></tr><tr><td></td><td colspan="4">Roboschool InvertedPendulumSwingup</td></tr><tr><td></td><td>0.5M</td><td>1M</td><td>1.5M</td><td>2M</td></tr><tr><td>MLP</td><td>159 (155,164)</td><td>267 (260,273)</td><td>347 (340,355)</td><td>409 (401,417)</td></tr><tr><td>RPL</td><td>111 (109,113)</td><td>195 (192,198)</td><td>265 (261,268)</td><td>322 (317,326)</td></tr><tr><td>MULTIPOLAR (K=4)</td><td>375 (355,395)</td><td>476 (456,495)</td><td>541 (522,559)</td><td>588 (571,605)</td></tr></table>
89
+
90
+ # 4.2 RESULTS
91
+
92
+ Sample Efficiency of MULTIPOLAR Figure 3 and Table 1 clearly show that on average, in all the environments, MULTIPOLAR outperformed baseline policies in terms of sample efficiency and sometimes the final episodic reward3. For example, in Hopper over 2M training samples, MULTIPOLAR with $K = 4$ achieved a mean of average episodic reward about three times higher than MLP (i.e., training from scratch) and about twice higher than RPL (i.e., using only a single source policy). It is also noteworthy that MULTIPOLAR with $K = 4$ had on par or better performance than RPL, which indicates the effectiveness of leveraging multiple source policies4. Figure 7 in Appendix, shows the individual average learning curve for each of the instances of Roboschool environments.
93
+
94
+ Ablation Study To demonstrate the importance of each component of MULTIPOLAR, we evaluated the following degraded versions: (1) $\theta _ { \mathrm { a g g } }$ fixed to $I$ , which just averages the deterministic actions from the source policies without adaptive weights (similar to the residual policy learning methods that used raw action outputs of a source policy), and (2) $F _ { \mathrm { a u x } }$ learned independent of $s _ { t }$ , which replaces the state-dependent MLP with an adaptive “placeholder” parameter vector making actions just a linear combination of source policy outputs. As shown in Table 2, the full version of MULTIPOLAR significantly outperformed both of the degraded versions, suggesting that the adaptive aggregation and predicting residuals are both critical.
95
+
96
+ Table 2: Results for MULTIPOLAR and its degraded versions in Hopper.
97
+
98
+ <table><tr><td>MULTIPOLAR (K=4)</td><td>0.5M</td><td>1M</td><td>1.5M</td><td>2M</td></tr><tr><td>Full version</td><td>61 (59,64)</td><td>138 (132,143)</td><td>213 (206,221)</td><td>283 (273,292)</td></tr><tr><td>0agg fixed to 1</td><td>56 (53,59)</td><td>118 (111,126)</td><td>180 (169,191)</td><td>237 (222,250)</td></tr><tr><td>Faux learned independent of St</td><td>53 (50,56)</td><td>101 (95,108)</td><td>146 (137,156)</td><td>187 (175,200)</td></tr></table>
99
+
100
+ Table 3: Results for MULTIPOLAR with different source policy sampling schemes in Hopper.
101
+
102
+ <table><tr><td>MULTIPOLAR (K=4)</td><td>0.5M</td><td>1M</td><td>1.5M</td><td>2M</td></tr><tr><td>Random</td><td>61 (59,64)</td><td>138 (132,143)</td><td>213 (206,221)</td><td>283 (273,292)</td></tr><tr><td>4 high performance</td><td>98 (95,101)</td><td>214 (208,220)</td><td>323 (314,331)</td><td>420 (409,430)</td></tr><tr><td>2 high &amp; 2 low performance</td><td>45 (43,47)</td><td>98 (94,102)</td><td>154 (148,160)</td><td>208 (200,215)</td></tr><tr><td>4 low performance</td><td>27 (26,27)</td><td>45 (44,47)</td><td>68 (66,71)</td><td>92 (88,95)</td></tr></table>
103
+
104
+ Table 4: Results for MULTIPOLAR with different number of source policies in Hopper.
105
+
106
+ <table><tr><td>MULTIPOLAR</td><td>0.5M</td><td>1M</td><td>1.5M</td><td>2M</td></tr><tr><td>K=4</td><td>61 (59,64)</td><td>138 (132,143)</td><td>213 (206,221)</td><td>283 (273,292)</td></tr><tr><td>K=8</td><td>71 (68,74)</td><td>160 (154,167)</td><td>246 (236,255)</td><td>323 (312,335)</td></tr><tr><td>K=16</td><td>78 (75,80)</td><td>177 (172,182)</td><td>272 (264,279)</td><td>357 (348,367)</td></tr></table>
107
+
108
+ Effect of Source Policy Performances Figure 4 illustrates an example of the histogram of final episodic reward (average rewards of the last 100 training episodes) for the source policy candidates obtained in the Hopper environment. As shown in the figure, the source policies were diverse in terms of the performance on their original environment instances5. In this setup, we investigate the effect of source policies performances on MULTIPOLAR sample efficiency.
109
+
110
+ We created two separate pools of source policies, where one contained only high-performing and the other only lowperforming source policies6. Table 3 summarizes the results of sampling source policies from these pools (4 high, 2 high & 2 low, and 4 low performances) and compares them to the original MULTIPOLAR (shown as ‘Random’) also reported in Table 1. Not surprisingly, MULTIPOLAR performed the best when all the source policies were sampled from the highperformance pool. However, we emphasize that such highquality policies are not always available in practice, due to the variability of how they are learned or hand-crafted under their own environment instance. Figure 6 in Appendix B.1 illustrates that MULTIPOLAR can successfully learn to suppress the useless low-performing source policies.
111
+
112
+ ![](images/78cec6e9287d96643eed3453d7678a6097cbfa97ea9fe8287879ff98649a3a91.jpg)
113
+ Figure 4: Histogram of source policy performances in Hopper.
114
+
115
+ Effect of Number of Source Policies Finally, we show how the number of source policies contributes to MULTIPOLAR’s sample efficiency in Table 4. Specifically, we trained MULTIPOLAR policies up to $K = 1 6$ to study how the mean of average episodic rewards changes. The monotonic performance improvement over $K$ (for $K \leq 1 6$ ), is achieved at the cost of increased training and inference time. In practice, we suggest balancing this speed-performance trade-off by using as many source policies as possible before reaching the inference time limit required by the application.
116
+
117
+ # 5 DISCUSSION AND RELATED WORK
118
+
119
+ Our work is broadly categorized as an instance of transfer RL (Taylor & Stone, 2009), in which a policy for a target task is trained using information collected from source tasks. In this section, we highlight how our work is different from the existing approaches and also discuss the current limitations as well as future directions.
120
+
121
+ Transfer between Different Dynamics There has been very limited work on transferring knowledge between agents in different environmental dynamics. As introduced briefly in Section 1, some methods require training samples collected from source tasks. These sampled experiences are then used for measuring the similarity between environment instances (Lazaric et al., 2008; Ammar et al., 2014; Tirinzoni et al., 2018) or for conditioning a target policy to predict actions (Chen et al., 2018). Alternative means to quantify the similarity is to use a full specification of MDPs (Song et al., 2016; Wang et al., 2019) or environmental dynamics Yu et al. (2019). In contrast, the proposed MULTIPOLAR allows the knowledge transfer only through the policies acquired from source environment instances, which is beneficial when source and target environments are not always connected to exchange information about their environmental dynamics and training samples.
122
+
123
+ Leveraging Multiple Policies The idea of utilizing multiple source policies can be found in the literature of policy reuse frameworks (Fernandez & Veloso, 2006; Rosman et al., 2016; Li & Zhang, ´ 2018; Zheng et al., 2018; Li et al., 2019). The basic motivation behind these works is to provide “nearly-optimal solutions” (Rosman et al., 2016) for short-duration tasks by reusing one of the source policies, where each source would perform well on environment instances with different rewards (e.g., different goals in maze tasks). In our problem setting, where environmental dynamics behind each source policy are different, reusing a single policy without an adaptation is not the right approach, as described in (Chen et al., 2018) and also demonstrated in our experiment. Another relevant idea is hierarchical RL (Barto & Mahadevan, 2003; Kulkarni et al., 2016; Osa et al., 2019) that involves a hierarchy of policies (or action-value functions) to enable temporal abstraction. In particular, option frameworks (Sutton et al., 1999; Bacon et al., 2017; Mankowitz et al., 2018) make use of a collection of policies as a part of “options”. However, they assumed all the policies in the hierarchy to be learned in a single environment instance. Another relevant work along this line of research is (Frans et al., 2018), which meta-learns a hierarchy of multiple sub-policies by training a master policy over the distribution of tasks. Nevertheless, hierarchical RL approaches are not useful for leveraging multiple source policies each acquired under diverse environmental dynamics.
124
+
125
+ Learning Residuals in RL Finally, some recent works adopt residual learning to mitigate the limited performance of hand-engineered policies (Silver et al., 2018; Johannink et al., 2019; Rana et al., 2019). We are interested in a more extended scenario where various source policies with unknown performances are provided instead of a single sub-optimal policy. Also, these approaches focus only on RL problems for robotic tasks in the continuous action space, while our approach could work on both of continuous and discrete action spaces in a broad range of environments.
126
+
127
+ Limitations and Future Directions Currently, our work has several limitations. First, MULTIPOLAR may not be scalable to a large number of source policies, as its training and testing times will increase almost linearly with the number of source policies. One possible solution for this issue would be pre-screening source policies before starting to train a target agent, for example, by testing each source on the target task and taking them into account in the training phase only when they are found useful. Moreover, our work assumes source and target environment instances to be different only in their state transition distribution. An interesting direction for future work is to involve other types of environmental differences, such as dissimilar rewards and state/action spaces.
128
+
129
+ # 6 CONCLUSION
130
+
131
+ We presented a new problem setting of transfer RL that aimed to train a policy efficiently using a collection of source policies acquired under diverse environmental dynamics. We demonstrated that the proposed MULTIPOLAR is, despite its simplicity, a principled approach with high training sample efficiency on a variety of environments. Our transfer RL approach is advantageous when one does not have access to a distribution of diverse environmental dynamics. Future work will seek to adapt our approach to more challenging domains such as a real-world robotics task.
132
+
133
+ # REFERENCES
134
+
135
+ Haitham Bou Ammar, Eric Eaton, Matthew Taylor, Decebal Constantin Mocanu, Kurt Driessens, Gerhard Weiss, and Karl Tuyls. An Automated Measure of MDP Similarity for Transfer in Reinforcement Learning. In Workshops at the AAAI Conference on Artificial Intelligence, 2014.
136
+
137
+ Pierre-Luc Bacon, Jean Harb, and Doina Precup. The Option-Critic Architecture. In AAAI Conference on Artificial Intelligence, 2017.
138
+
139
+ Andrew G Barto and Sridhar Mahadevan. Recent Advances in Hierarchical Reinforcement Learning. Discrete Event Dynamic Systems, 13(1-2):41–77, 2003.
140
+
141
+ Tao Chen, Adithyavairavan Murali, and Abhinav Gupta. Hardware Conditioned Policies for MultiRobot Transfer Learning. In Advances in Neural Information Processing Systems, pp. 9355–9366, 2018.
142
+
143
+ Ignasi Clavera, Anusha Nagabandi, Simin Liu, Ronald S. Fearing, Pieter Abbeel, Sergey Levine, and Chelsea Finn. Learning to Adapt in Dynamic, Real-World Environments through MetaReinforcement Learning. In International Conference on Learning Representations, 2019.
144
+
145
+ Coline Devin, Abhishek Gupta, Trevor Darrell, Pieter Abbeel, and Sergey Levine. Learning Modular Neural Network Policies for Multi-Task and Multi-Robot Transfer. In IEEE International Conference on Robotics and Automation, pp. 2169–2176, 2017.
146
+
147
+ Bradley Efron and Robert Tibshirani. An Introduction to the Bootstrap. Springer, 1993.
148
+
149
+ Fernando Fernandez and Manuela Veloso. Probabilistic Policy Reuse in a Reinforcement Learning ´ Agent. In International Joint Conference on Autonomous Agents and Multiagent Systems, pp. 720–727, 2006.
150
+
151
+ Vincent Franc¸ois-Lavet, Peter Henderson, Riashat Islam, Marc G. Bellemare, and Joelle Pineau. An Introduction to Deep Reinforcement Learning. Foundations and Trends in Machine Learning, 11 (3-4):219–354, 2018.
152
+
153
+ Kevin Frans, Jonathan Ho, Xi Chen, Pieter Abbeel, and John Schulman. Meta learning shared hierarchies. In International Conference on Learning Representations, 2018.
154
+
155
+ Tuomas Haarnoja, Aurick Zhou, Pieter Abbeel, and Sergey Levine. Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actor. In International Conference on Machine Learning, pp. 1856–1865, 2018.
156
+
157
+ Peter Henderson, Riashat Islam, Philip Bachman, Joelle Pineau, Doina Precup, and David Meger. Deep Reinforcement Learning That Matters. In AAAI Conference on Artificial Intelligence, pp. 3207–3214, 2018.
158
+
159
+ Ashley Hill, Antonin Raffin, Maximilian Ernestus, Adam Gleave, Rene Traore, Prafulla Dhariwal, Christopher Hesse, Oleg Klimov, Alex Nichol, Matthias Plappert, Alec Radford, John Schulman, Szymon Sidor, and Yuhuai Wu. Stable Baselines. https://github.com/hill-a/ stable-baselines, 2018.
160
+
161
+ Tobias Johannink, Shikhar Bahl, Ashvin Nair, Jianlan Luo, Avinash Kumar, Matthias Loskyll, Juan Aparicio Ojea, Eugen Solowjow, and Sergey Levine. Residual Reinforcement Learning for Robot Control. In International Conference on Robotics and Automation, pp. 6023–6029, 2019.
162
+
163
+ Tejas D Kulkarni, Karthik Narasimhan, Ardavan Saeedi, and Josh Tenenbaum. Hierarchical Deep Reinforcement Learning: Integrating Temporal Abstraction and Intrinsic Motivation. In Advances in Neural Information Processing Systems, pp. 3675–3683, 2016.
164
+
165
+ Alessandro Lazaric, Marcello Restelli, and Andrea Bonarini. Transfer of Samples in Batch Reinforcement Learning. In International Conference on Machine Learning, pp. 544–551, 2008.
166
+
167
+ Siyuan Li and Chongjie Zhang. An Optimal Online Method of Selecting Source Policies for Reinforcement Learning. In AAAI Conference on Artificial Intelligence, 2018.
168
+
169
+ Siyuan Li, Fangda Gu, Guangxiang Zhu, and Chongjie Zhang. Context-Aware Policy Reuse. In International Conference on Autonomous Agents and MultiAgent Systems, pp. 989–997, 2019.
170
+
171
+ Daniel J Mankowitz, Timothy A Mann, Pierre-Luc Bacon, Doina Precup, and Shie Mannor. Learning Robust Options. In AAAI Conference on Artificial Intelligence, 2018.
172
+
173
+ Takayuki Osa, Voot Tangkaratt, and Masashi Sugiyama. Hierarchical Reinforcement Learning via Advantage-Weighted Information Maximization. In International Conference on Learning Representations, 2019.
174
+
175
+ Krishan Rana, Ben Talbot, Michael Milford, and Niko Sunderhauf. Residual Reactive Navigation: ¨ Combining Classical and Learned Navigation Strategies For Deployment in Unknown Environments. arXiv preprint arXiv:1909.10972, 2019.
176
+
177
+ Benjamin Rosman, Majd Hawasly, and Subramanian Ramamoorthy. Bayesian Policy Reuse. Machine Learning, 104(1):99–127, 2016.
178
+
179
+ Steindor Sæmundsson, Katja Hofmann, and Marc Peter Deisenroth. Meta Reinforcement Learning ´ with Latent Variable Gaussian Processes. In Conference on Uncertainty in Artificial Intelligence, 2018.
180
+
181
+ Gerrit Schoettler, Ashvin Nair, Jianlan Luo, Shikhar Bahl, Juan Aparicio Ojea, Eugen Solowjow, and Sergey Levine. Deep reinforcement learning for industrial insertion tasks with visual inputs and natural reward signals. 2019.
182
+
183
+ John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal Policy Optimization Algorithms. arXiv preprint arXiv:1707.06347, 2017.
184
+
185
+ Tom Silver, Kelsey Allen, Josh Tenenbaum, and Leslie Kaelbling. Residual Policy Learning. arXiv preprint arXiv:1812.06298, 2018.
186
+
187
+ Jinhua Song, Yang Gao, Hao Wang, and Bo An. Measuring the Distance Between Finite Markov Decision Processes. In International Conference on Autonomous Agents and Multiagent Systems, pp. 468–476, 2016.
188
+
189
+ Richard S. Sutton and Andrew G. Barto. Introduction to Reinforcement Learning. MIT Press, 1st edition, 1998.
190
+
191
+ Richard S Sutton, Doina Precup, and Satinder Singh. Between MDPs and Semi-MDPs: A Framework for Temporal Abstraction in Reinforcement Learning. Artificial intelligence, 112(1-2):181– 211, 1999.
192
+
193
+ Jie Tan, Tingnan Zhang, Erwin Coumans, Atil Iscen, Yunfei Bai, Danijar Hafner, Steven Bohez, and Vincent Vanhoucke. Sim-to-real: Learning agile locomotion for quadruped robots. In Robotics: Science and Systems, 2018.
194
+
195
+ Ole Tange. GNU Parallel 2018. Ole Tange, 2018. URL https://doi.org/10.5281/ zenodo.1146014.
196
+
197
+ Matthew E. Taylor and Peter Stone. Transfer Learning for Reinforcement Learning Domains: A Survey. Journal of Machine Learning Research, 10(Jul):1633–1685, 2009.
198
+
199
+ Andrea Tirinzoni, Andrea Sessa, Matteo Pirotta, and Marcello Restelli. Importance Weighted Transfer of Samples in Reinforcement Learning. In International Conference on Machine Learning, pp. 4936–4945, 2018.
200
+
201
+ Joaquin Vanschoren. Meta-Learning: A Survey. arXiv preprint arXiv:1810.03548, 2018.
202
+
203
+ Hao Wang, Shaokang Dong, and Ling Shao. Measuring Structural Similarities in Finite MDPs. In International Joint Conference on Artificial Intelligence, pp. 3684–3690, 2019.
204
+
205
+ Wenhao Yu, C. Karen Liu, and Greg Turk. Policy Transfer with Strategy Optimization. In International Conference on Learning Representations, 2019.
206
+
207
+ Juanjuan Zhang, Pieter Fiers, Kirby A Witte, Rachel W Jackson, Katherine L Poggensee, Christopher G Atkeson, and Steven H Collins. Human-in-the-loop optimization of exoskeleton assistance during walking. Science, 356(6344):1280–1284, 2017.
208
+
209
+ Yan Zheng, Zhaopeng Meng, Jianye Hao, Zongzhang Zhang, Tianpei Yang, and Changjie Fan. A Deep Bayesian Policy Reuse Approach against Non-Stationary Agents. In Advances in Neural Information Processing Systems, pp. 954–964, 2018.
210
+
211
+ # A APPENDIX: FURTHER EXPERIMENTAL DETAILS
212
+
213
+ In this section, we present all the experimental details for the six environments we used. Note that we did not do any hyperparameter-tuning but followed the default parameters of Hill et al. (2018). We used the Roboschool implementation of Hopper, Ant, and InvertedPendulumSwingup since they are based on an open-source engine, which makes it possible for every researcher to reproduce our experiments. To run our experiments in parallel, we used GNU Parallel tool (Tange, 2018).
214
+
215
+ # A.1 HYPERPARAMETERS
216
+
217
+ Tables 5 and 6 summarize all the hyperparameters used for experiments on each environment. As done by Hill et al. (2018), to have a successful training, rewards and input observations are normalized using their running average and standard deviation for all the environments except CartPole and LunarLander. Also, in all of the experiments, $\theta _ { \mathrm { a g g } }$ is initialized to be the all-ones matrix.
218
+
219
+ Table 5: Hyperparameters for Acrobot, CartPole, Hopper, Ant and InvertedPendulumSwingup.
220
+
221
+ <table><tr><td>PPO Parameters</td><td>Acrobot</td><td>CartPole</td><td>Hopper</td><td>Ant</td><td>InvertedPendulumSwingup</td></tr><tr><td>#Training samples</td><td>200K</td><td>100K</td><td>2M</td><td>2M</td><td>2M</td></tr><tr><td>#Updates per rollout</td><td>4</td><td>20</td><td>10</td><td>10</td><td>10</td></tr><tr><td>Learning rate</td><td>2.5e-4</td><td>1e-3</td><td>2.5e-4</td><td>2.5e-4</td><td>2.5e-4</td></tr><tr><td>Mini batch size</td><td>8</td><td>1</td><td>128</td><td>32</td><td>32</td></tr><tr><td>Discount factor</td><td>0.99</td><td>0.98</td><td>0.99</td><td>0.99</td><td>0.99</td></tr><tr><td>GAE 入</td><td>0.94</td><td>0.8</td><td>0.95</td><td>0.95</td><td>0.95</td></tr><tr><td>Clip ratio</td><td>0.2</td><td>0.2</td><td>0.2</td><td>0.2</td><td>0.2</td></tr><tr><td>Value function coefficient</td><td>0.5</td><td>0.5</td><td>0.5</td><td>0.5</td><td>0.5</td></tr><tr><td>Entropy coefficient</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td></tr><tr><td>Gradient clipping value</td><td>0.5</td><td>0.5</td><td>0.5</td><td>0.5</td><td>0.5</td></tr><tr><td>Optimizer</td><td>Adam</td><td>Adam</td><td>Adam</td><td>Adam</td><td>Adam</td></tr><tr><td colspan="6">MLP&amp; Faux Parameters</td></tr><tr><td>Hidden layers</td><td>64-64</td><td>64-64</td><td>64-64</td><td>16</td><td>64-64</td></tr><tr><td>Activation functions</td><td>tanh</td><td>tanh</td><td>tanh</td><td>tanh</td><td>tanh</td></tr></table>
222
+
223
+ Table 6: Hyperparameters for LunarLander.
224
+
225
+ <table><tr><td>SAC Parameters</td><td>LunarLander</td></tr><tr><td>#Training samples</td><td>500K</td></tr><tr><td>#Steps before learning starts</td><td>1K</td></tr><tr><td>Buffer size</td><td>50K</td></tr><tr><td>Learning rate</td><td>3e-4</td></tr><tr><td>Mini batch size</td><td>256</td></tr><tr><td>Discount factor</td><td>0.99</td></tr><tr><td>Soft update coefficient T</td><td>5e-3</td></tr><tr><td>Entropy coefficient</td><td>learned automatically</td></tr><tr><td>Model training frequency</td><td>1</td></tr><tr><td>Target network training frequency</td><td>1</td></tr><tr><td>#Gradient updates after each step</td><td>1</td></tr><tr><td>Probability of taking a random action</td><td>0</td></tr><tr><td>Action noise</td><td>none</td></tr><tr><td>Optimizer</td><td>Adam</td></tr><tr><td colspan="2">MLP&amp; Faux Parameters</td></tr><tr><td>Hidden layers</td><td>64-64</td></tr><tr><td>Activation functions</td><td>relu</td></tr></table>
226
+
227
+ # A.2 SAMPLING RANGE OF THE ENVIRONMENTAL PARAMETERS
228
+
229
+ Sampling ranges for dynamics and kinematics of each environment are provided in Tables 7, 8, 9, 10, 11 and 12. We defined these sampling ranges such that the resulting environments are stable enough for successfully training an MLP policy. To do so, we trained MLP policies across wide ranges of environmental parameters and chose the ranges in which the policy converged.
230
+
231
+ Table 7: Sampling range for Ant kinematic and dynamic parameters.
232
+
233
+ <table><tr><td></td><td>Kinematics</td></tr><tr><td>Links</td><td>Length Range</td></tr><tr><td>Legs</td><td>[0.4,1.4] × default length</td></tr><tr><td></td><td>Dynamics</td></tr><tr><td>Damping</td><td>[0.1, 5]</td></tr><tr><td>Friction</td><td>[0.4, 2.5]</td></tr><tr><td>Armature</td><td>[0.25,3]</td></tr><tr><td>Links mass</td><td>[0.7,1.1] × default mass</td></tr></table>
234
+
235
+ Table 9: Sampling range for Hopper kinematic and dynamic parameters.
236
+
237
+ <table><tr><td colspan="2">Kinematics</td></tr><tr><td>Links</td><td>Length Range (m)</td></tr><tr><td>Leg</td><td>[0.35, 0.65]</td></tr><tr><td>Foot</td><td>[0.29, 0.49]</td></tr><tr><td>Thigh</td><td>[0.35,0.55]</td></tr><tr><td>Torso</td><td>[0.3,0.5]</td></tr><tr><td></td><td>Dynamics</td></tr><tr><td>Damping Friction</td><td>[0.5,4]</td></tr><tr><td></td><td>[0.5,2]</td></tr><tr><td>Armature</td><td>[0.5,2]</td></tr><tr><td>Links mass</td><td>[0.7,1.1] × default mass</td></tr></table>
238
+
239
+ Table 11: Sampling range for Acrobot kinematic and dynamic parameters.
240
+
241
+ <table><tr><td>Kinematics</td></tr><tr><td>Links Length Range (m)</td></tr><tr><td>Link 1&amp;2 [0.3, 1.3]</td></tr><tr><td>Dynamics</td></tr><tr><td>Links mass [0.5, 1.5]</td></tr><tr><td>Links center mass [0.05, 0.95] × link length</td></tr><tr><td>Links inertia moments [0.25, 1.5]</td></tr></table>
242
+
243
+ Table 8: Sampling range for CartPole kinematic and dynamic parameters.
244
+
245
+ <table><tr><td></td><td>Kinematics</td></tr><tr><td>Links</td><td>Length Range (m)</td></tr><tr><td>Pole</td><td>[0.1, 3]</td></tr><tr><td></td><td>Dynamics</td></tr><tr><td>Force</td><td>[6,13]</td></tr><tr><td>Gravity</td><td>[-14, -6]</td></tr><tr><td>Poll mass</td><td>[0.1, 3]</td></tr><tr><td>Cart mass</td><td>[0.3,4]</td></tr></table>
246
+
247
+ Table 10: Sampling range for InvertedPendulumSwingup kinematic and dynamic parameters.
248
+
249
+ <table><tr><td></td><td>Kinematics</td></tr><tr><td>Links</td><td>Length Range (m)</td></tr><tr><td>Pole</td><td>[0.2, 2]</td></tr><tr><td></td><td>Dynamics</td></tr><tr><td>Damping Friction</td><td>[0.1, 5]</td></tr><tr><td>Armature</td><td>[0.5,2] [0.5, 3]</td></tr><tr><td>Gravity</td><td>[-11, -7]</td></tr><tr><td>Links mass</td><td>[0.4,3] × default mass</td></tr></table>
250
+
251
+ Table 12: Sampling range for LunarLander kinematic and dynamic parameters.
252
+
253
+ <table><tr><td></td><td>Kinematics</td></tr><tr><td>Side engine height</td><td>[10,20]</td></tr><tr><td></td><td>Dynamics</td></tr><tr><td>Scale</td><td>[25,50]</td></tr><tr><td>Initial Random</td><td>[500,1500]</td></tr><tr><td>Main engine power</td><td>[10,40]</td></tr><tr><td>Side engine power</td><td>[0.5,2]</td></tr><tr><td>Side engine away</td><td>[8,18]</td></tr></table>
254
+
255
+ # A.3 EVALUATION METHOD
256
+
257
+ In this section, we explain how we calculated the mean of average episodic rewards in Tables 1, 2, 3, and 4, over a specific number of training samples (the numbers at the header of the tables e.g., 25K, 50K, 75K, and 100K for the CartPole) which we denote by $T$ in what follows. For each experiment in an environment instance, we computed the average episodic reward by taking the average of the rewards over all the episodes the agent played from the beginning of the training until collecting $T$ number of training samples. Then we collected the computed average episodic rewards of all the experiments, i.e., all the combinations of three random seeds, three random sets of source policies (for RPL and MULTIPOLAR), and 100 target environment instances. Finally, we used the sample bootstrap method (Efron & Tibshirani, 1993) to estimate the mean and the $9 5 \%$ confidence bounds of the collected average episodic rewards. We used the Facebook Boostrapped implementation: https://github.com/facebookincubator/bootstrapped.
258
+
259
+ # A.4 SOURCE POLICIES HISTOGRAMS
260
+
261
+ To generate environment instances, we uniformly sampled the dynamics and kinematics parameters from the ranges defined in Section A.2. Figure 5 illustrates the histograms of the final episodic rewards of source policies on the original environment instances in which they were acquired.
262
+
263
+ ![](images/0be9c1f71aecd88756cfa0512ec64d25b083c5e29bde1230bf860ee7d8bff757.jpg)
264
+ Figure 5: Histogram of final episodic rewards obtained by source policies per environment.
265
+
266
+ # B APPENDIX: ADDITIONAL RESULTS
267
+
268
+ # B.1 LEARNED AGGREGATION PARAMETERS VISUALIZATION
269
+
270
+ Figure 6 visualizes an example of how the aggregation parameters $\theta _ { \mathrm { a g g } }$ for the four policies and their three actions were learned during the 2M timestep training of MULTIPOLAR $K = 4$ ) policy in the Hopper environment. In this example, the source policies in the first and second rows were sampled from low-performance pools whereas those in the third and fourth rows were sampled from high-performance pools (see Section 4.2 for more details). It illustrates that MULTIPOLAR can successfully suppress the two useless low-performing policies as the training progresses.
271
+
272
+ ![](images/57dd8546403219d3cf6515abd1a9f92655811ea2d32137aed1e4c0e867f4e31b.jpg)
273
+ Figure 6: Aggregation parameters $\theta _ { \mathrm { a g g } }$ during the training of MULTIPOLAR $K = 4$ ) in the Hopper that has 3-dimensional actions. Here, the first two source policies are low-performing and the last two are high-performing in their original environment instance.
274
+
275
+ # B.2 MULTIPOLAR WITH RANDOMLY INITIALIZED POLICIES
276
+
277
+ To further study how having low-performing source policies affects MULTIPOLAR sample efficiency, we evaluated MULTIPOLAR $\scriptstyle ( \mathrm { K } = 4 )$ in the Hopper environment, where the sources are randomly initialized policies, i.e., policies that predict actions randomly. Following our experimental procedure explained in Section 4.1, Table 13 reports the bootstrap mean and $9 5 \%$ confidence bounds of average episodic rewards over various training samples for this experiment and compares it with MULTIPOLAR with four low-performing sources. This result suggests that the sample efficiency of MULTIPOLAR $K = 4$ ) with low-performing source policies (i.e., source policies which had low final episodic rewards in their own environments) is almost the same as with randomly initialized source policies.
278
+
279
+ Table 13: Results for MULTIPOLAR with low-performing source policies vs. with randomly initialized source policies in Hopper.
280
+
281
+ <table><tr><td>MULTIPOLAR (K=4)</td><td>0.5M</td><td>1M</td><td>1.5M</td><td>2M</td></tr><tr><td>4 randomly initialized</td><td>27 (26,28)</td><td>47 (45,49)</td><td>73 (70,76)</td><td>101 (96,106)</td></tr><tr><td>4 low performance [Table 3]</td><td>27 (26,27)</td><td>45 (44,47)</td><td>68 (66,71)</td><td>92 (88,95)</td></tr></table>
282
+
283
+ # B.3 INDIVIDUAL AVERAGE LEARNING CURVES
284
+
285
+ As an example, we visualized the individual average learning curve of policies for each of the environment instances of the Roboschool environments. Figures 7, 8 and 9 compare the individual average learning curves of MULTIPOLAR to the baseline policies in the 100 target environment instances.
286
+
287
+ ![](images/e4eb52e7c977c3a56b2dccf061aa0dfb71a2c60f78337782e2bb03fc8718535d.jpg)
288
+
289
+ ![](images/c6862a3c1a24cb20629a13cc9eb366d0dbfbb9a2cb08c13a8f0541e97cf8e2ca.jpg)
290
+ Figure 7: Average learning curves of MULTIPOLAR with $K = 4$ in red, RPL in green and MLP in blue over 3 random seeds and 3 random source policy sets for all the 100 target environment instances of Hopper.
291
+
292
+ ![](images/ea707dea9568e1a8d1a8b91de6a9c98811976f5551e75c5188c01f77be7c0ba0.jpg)
293
+
294
+ ![](images/6f9658417c18788452a51e015b554b1b3545f1189b5c6380d512c2b9e07dc979.jpg)
295
+ Figure 8: Average learning curves of MULTIPOLAR with $K = 4$ in red, RPL in green and MLP in blue over 3 random seeds and 3 random source policy sets for all the 100 target environment instances of Ant.
296
+
297
+ ![](images/b8a9e9c527173a89c9ec98f3a8e0a95cdc8779d835c9317a2fe0bb5061d56dee.jpg)
298
+
299
+ ![](images/d025cc830dec21628c83e601a8c9e352c28495f4634e27aad128f7a00981b7e4.jpg)
300
+ Figure 9: Average learning curves of MULTIPOLAR with $K = 4$ in red, RPL in green and MLP in blue over 3 random seeds and 3 random source policy sets for all the 100 target environment instances of InvertedPendulumSwingup.
parse/train/Byx9p2EtDH/Byx9p2EtDH_content_list.json ADDED
@@ -0,0 +1,1620 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "MULTIPOLAR: MULTI-SOURCE POLICY AGGREGATION FOR TRANSFER REINFORCEMENT LEARNING BETWEEN DIVERSE ENVIRONMENTAL DYNAMICS ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 174,
8
+ 98,
9
+ 821,
10
+ 172
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Anonymous authors Paper under double-blind review ",
17
+ "bbox": [
18
+ 184,
19
+ 195,
20
+ 398,
21
+ 223
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 260,
32
+ 544,
33
+ 275
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Transfer reinforcement learning (RL) aims at improving learning efficiency of an agent by exploiting knowledge from other source agents trained on relevant tasks. However, it remains challenging to transfer knowledge between different environmental dynamics without having access to the source environments. In this work, we explore a new challenge in transfer RL, where only a set of source policies collected under unknown diverse dynamics is available for learning a target task efficiently. To address this problem, the proposed approach, MULTI-source POLicy AggRegation (MULTIPOLAR), comprises two key techniques. We learn to aggregate the actions provided by the source policies adaptively to maximize the target task performance. Meanwhile, we learn an auxiliary network that predicts residuals around the aggregated actions, which ensures the target policy’s expressiveness even when some of the source policies perform poorly. We demonstrated the effectiveness of MULTIPOLAR through an extensive experimental evaluation across six simulated environments ranging from classic control problems to challenging robotics simulations, under both continuous and discrete action spaces. ",
40
+ "bbox": [
41
+ 233,
42
+ 291,
43
+ 764,
44
+ 498
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": "We envision a future scenario where a variety of robotic systems, which are each trained or manually engineered to solve a similar task, provide their policies for a new robot to learn a relevant task quickly. For example, imagine various pick-and-place robots working in factories all over the world. Depending on the manufacturer, these robots will differ in their kinematics (e.g., link length, joint orientations) and dynamics (e.g., link mass, joint damping, friction, inertia). They could provide their policies to a new robot (Devin et al., 2017), even though their dynamics factors, on which the policies are implicitly conditioned, are not typically available (Chen et al., 2018). Moreover, we cannot rely on a history of their individual experiences, as they may be unavailable due to a lack of communication between factories or prohibitively large dataset sizes. In such scenarios, we argue that a key technique to develop is the ability to transfer knowledge from a collection of robots to a new robot quickly only by exploiting their policies while being agnostic to their different kinematics and dynamics, rather than collecting a vast amount of samples to train the new robot from scratch. ",
63
+ "bbox": [
64
+ 174,
65
+ 556,
66
+ 825,
67
+ 722
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "The scenario illustrated above poses a new challenge in the transfer learning for reinforcement learning (RL) domains. Formally, consider multiple instances of a single environment that differ in their state transition dynamics, e.g., independent ant robots with different leg designs in Figure 1, which reach different locations by executing the same walking actions. These source agents interacting with one of the environment instances provide their deterministic policy to a new target agent in another environment instance. Then, our problem is: can ",
74
+ "bbox": [
75
+ 174,
76
+ 731,
77
+ 483,
78
+ 906
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "image",
84
+ "img_path": "images/281c6eee5ce0d97a03f9610f5d73114a8753b2c92a9faf383d4958011612d9ef.jpg",
85
+ "image_caption": [
86
+ "Figure 1: Ant Example. A policy of a target agent (right) is learned by utilizing the policies of other source agents with different leg designs (left). "
87
+ ],
88
+ "image_footnote": [],
89
+ "bbox": [
90
+ 496,
91
+ 732,
92
+ 823,
93
+ 837
94
+ ],
95
+ "page_idx": 0
96
+ },
97
+ {
98
+ "type": "text",
99
+ "text": "we efficiently learn the policy of a target agent given only the collection of source policies? Note that information about source environmental dynamics, such as the exact state transition distributions and the history of environmental states, will not be visible to the target agent as mentioned above. Also, the source policies are neither trained nor hand-engineered for the target environment instance, and therefore not guaranteed to work optimally and may even fail (Chen et al., 2018). These conditions prevent us from adopting existing work on transfer RL between different environmental dynamics, as they require access to source environment instances or their dynamics for training a target policy (e.g., Lazaric et al. (2008); Chen et al. (2018); Yu et al. (2019); Tirinzoni et al. (2018)). Similarly, meta-learning approaches (Vanschoren, 2018; Sæmundsson et al., 2018; Clavera et al., 2019) cannot be used here because they typically train an agent on a diverse set of tasks (i.e., environment instances). Also, existing techniques that utilize a collection of source policies, e.g., policy reuse frameworks (Fernandez & Veloso, 2006; Rosman et al., 2016; Zheng et al., ´ 2018) and option frameworks (Sutton et al., 1999; Bacon et al., 2017; Mankowitz et al., 2018), are not a promising solution because, to our knowledge, they assume source policies have the same environmental dynamics but have different goals. ",
100
+ "bbox": [
101
+ 173,
102
+ 897,
103
+ 826,
104
+ 922
105
+ ],
106
+ "page_idx": 0
107
+ },
108
+ {
109
+ "type": "image",
110
+ "img_path": "images/0ca86c50a8f5de5c5217b8239188e15f6ab6ce53a78cfdd084744ec5c0204dfa.jpg",
111
+ "image_caption": [
112
+ "Figure 2: Overview of MULTIPOLAR. We formulate a target policy $\\pi _ { \\mathrm { t a r g e t } }$ with the sum of 1) the adaptive aggregation $F _ { \\mathrm { a g g } }$ of deterministic actions from source policies $\\bar { L }$ and 2) the auxiliary network $F _ { \\mathrm { a u x } }$ for predicting residuals around $F _ { \\mathrm { a g g } }$ . "
113
+ ],
114
+ "image_footnote": [],
115
+ "bbox": [
116
+ 210,
117
+ 103,
118
+ 781,
119
+ 267
120
+ ],
121
+ "page_idx": 1
122
+ },
123
+ {
124
+ "type": "text",
125
+ "text": "",
126
+ "bbox": [
127
+ 174,
128
+ 375,
129
+ 825,
130
+ 555
131
+ ],
132
+ "page_idx": 1
133
+ },
134
+ {
135
+ "type": "text",
136
+ "text": "As a solution to the problem, we propose a new transfer RL approach named MULTI-source POLicy AggRegation (MULTIPOLAR). As shown in Figure 2, our key idea is twofold; 1) In a target policy, we adaptively aggregate the deterministic actions produced by a collection of source policies. By learning aggregation parameters to maximize the expected return at a target environment instance, we can better adapt the aggregated actions to unseen environmental dynamics of the target instance without knowing source environmental dynamics nor source policy performances. 2) We also train an auxiliary network that predicts a residual around the aggregated actions, which is crucial for ensuring the expressiveness of the target policy even when some source policies are not useful. As another notable advantage, the proposed MULTIPOLAR can be used for both continuous and discrete action spaces with few modifications while allowing a target policy to be trained in a principled fashion. Similar to Ammar et al. (2014); Song et al. (2016); Chen et al. (2018); Tirinzoni et al. (2018); Yu et al. (2019), our method assumes that the environment structure (state/action space) is identical between the source and target environments, while dynamics/kinematics parameters are different. This assumption holds in many real-world applications such as in sim-to-real tasks (Tan et al., 2018), industrial insertion tasks (Schoettler et al., 2019) (different dynamics comes from the differences in parts), and wearable robots (Zhang et al., 2017) (with users as dynamics). ",
137
+ "bbox": [
138
+ 174,
139
+ 563,
140
+ 825,
141
+ 784
142
+ ],
143
+ "page_idx": 1
144
+ },
145
+ {
146
+ "type": "text",
147
+ "text": "We evaluate MULTIPOLAR in a variety of environments ranging from classic control problems to challenging robotics simulations. Our experimental results demonstrate the significant improvement of sample efficiency with the proposed approach, compared to baselines that trained a target policy from scratch or from a single source policy. We also conducted a detailed analysis of our approach and found it works well even when some of the source policies performed poorly in their original environment instance. ",
148
+ "bbox": [
149
+ 174,
150
+ 791,
151
+ 825,
152
+ 875
153
+ ],
154
+ "page_idx": 1
155
+ },
156
+ {
157
+ "type": "text",
158
+ "text": "Main contributions: (1) a new transfer RL problem that leverages multiple source policies collected under diverse environmental dynamics to train a target policy in another dynamics, and (2) MULTIPOLAR, a simple yet principled and effective solution verified in our extensive experiments. ",
159
+ "bbox": [
160
+ 176,
161
+ 882,
162
+ 823,
163
+ 924
164
+ ],
165
+ "page_idx": 1
166
+ },
167
+ {
168
+ "type": "text",
169
+ "text": "2 PRELIMINARIES ",
170
+ "text_level": 1,
171
+ "bbox": [
172
+ 176,
173
+ 102,
174
+ 339,
175
+ 117
176
+ ],
177
+ "page_idx": 2
178
+ },
179
+ {
180
+ "type": "text",
181
+ "text": "Reinforcement Learning We formulate our problem under the standard RL framework (Sutton & Barto, 1998), where an agent interacts with its environment modeled by a Markov decision process (MDP). An MDP is represented by the tuple $\\mathcal { M } = ( \\rho _ { 0 } , \\gamma , S , \\mathcal { A } , R , T )$ where $\\rho _ { 0 }$ is the initial state distribution and $\\gamma$ is a discount factor. At each timestep $t$ , given the current state $s _ { t } ~ \\in ~ S$ , the agent executes an action $a _ { t } \\in \\mathcal A$ based on its policy $\\pi ( a _ { t } \\mid s _ { t } ; \\theta )$ that is parameterized by $\\theta$ . The environment returns a reward $R ( s _ { t } , a _ { t } ) \\in \\mathbb { R }$ and transitions to the next state $s _ { t + 1 }$ based on the state transition distribution $T ( s _ { t + 1 } \\mid s _ { t } , a _ { t } )$ . In this framework, RL aims to maximize the expected return with respect to the policy parameters $\\theta$ . ",
182
+ "bbox": [
183
+ 173,
184
+ 132,
185
+ 825,
186
+ 246
187
+ ],
188
+ "page_idx": 2
189
+ },
190
+ {
191
+ "type": "text",
192
+ "text": "Environment Instances In this work, we consider $K$ instances of the same environment that differ only in their state transition dynamics. We model each environment instance by an indexed MDP: $\\mathcal { M } _ { i } = ( \\rho _ { 0 } , \\gamma , S , A , R , T _ { i } )$ where no two state transition distributions $T _ { i } , T _ { j } ; i \\neq j$ are identical. We also assume that each $T _ { i }$ is unknown when training a target policy, i.e., agents cannot access the exact form of $T _ { i }$ nor a collection of states sampled from $T _ { i }$ . ",
193
+ "bbox": [
194
+ 173,
195
+ 253,
196
+ 825,
197
+ 324
198
+ ],
199
+ "page_idx": 2
200
+ },
201
+ {
202
+ "type": "text",
203
+ "text": "Source Policies For each of the $K$ environment instances, we are given a deterministic source policy $\\mu _ { i } : { \\mathcal { S } } A$ that only maps states to actions. Each source policy $\\mu _ { i }$ can be either parameterized (e.g., learned from interacting with the environment modeled by $\\mathcal { M } _ { i }$ ) or non-parameterized (e.g., heuristically designed by humans). Either way, we assume no prior knowledge about $\\mu _ { i }$ is available for a target agent, such as their representations or original performances, except that they were acquired in $\\mathcal { M } _ { i }$ with an unknown $T _ { i }$ . ",
204
+ "bbox": [
205
+ 173,
206
+ 333,
207
+ 825,
208
+ 417
209
+ ],
210
+ "page_idx": 2
211
+ },
212
+ {
213
+ "type": "text",
214
+ "text": "Problem Statement Given the set of source policies $L = \\{ \\mu _ { 1 } , . . . , \\mu _ { K } \\}$ , our goal is to train a new target agent’s policy $\\pi _ { \\mathrm { t a r g e t } } ( a _ { t } \\mid s _ { t } ; L , \\theta )$ in a sample efficient fashion, where the target agent interacts with another environment instance $\\mathcal { M } _ { \\mathrm { t a r g e t } } \\ \\stackrel { - } { = } \\ \\left( \\rho _ { 0 } , S , \\mathcal { A } , R , T _ { \\mathrm { t a r g e t } } \\right)$ and $T _ { \\mathrm { t a r g e t } }$ is not necessarily identical to $T _ { i }$ $( i = 1 \\dots , K )$ . ",
215
+ "bbox": [
216
+ 173,
217
+ 425,
218
+ 825,
219
+ 483
220
+ ],
221
+ "page_idx": 2
222
+ },
223
+ {
224
+ "type": "text",
225
+ "text": "3 MULTI-SOURCE POLICY AGGREGATION ",
226
+ "text_level": 1,
227
+ "bbox": [
228
+ 174,
229
+ 502,
230
+ 539,
231
+ 518
232
+ ],
233
+ "page_idx": 2
234
+ },
235
+ {
236
+ "type": "text",
237
+ "text": "As shown in Figure 2, with the Multi-Source Policy Aggregation (MULTIPOLAR), we formulate a target policy $\\pi _ { \\mathrm { t a r g e t } }$ using a) the adaptive aggregation of deterministic actions from the set of source policies $L$ , and b) the auxiliary network predicting residuals around the aggregated actions. We first present our method for the continuous action space, and then extend it to the discrete space. ",
238
+ "bbox": [
239
+ 174,
240
+ 534,
241
+ 825,
242
+ 590
243
+ ],
244
+ "page_idx": 2
245
+ },
246
+ {
247
+ "type": "text",
248
+ "text": "Adaptive Aggregation of Source Policies Let us denote by $a _ { t } ^ { ( i ) } = \\mu _ { i } ( s _ { t } )$ the action predicted deterministically by source policy $\\mu _ { i }$ given the current state $s _ { t }$ . For the continuous action space, $a _ { t } ^ { ( i ) } \\in \\mathbb { R } ^ { D }$ is a $D$ -dimensional real-valued vector representing $D$ actions performed jointly in each timestep. For the collection of source policies $L$ , we derive the matrix of their deterministic actions: ",
249
+ "bbox": [
250
+ 173,
251
+ 599,
252
+ 825,
253
+ 661
254
+ ],
255
+ "page_idx": 2
256
+ },
257
+ {
258
+ "type": "equation",
259
+ "img_path": "images/48118b9ef6c56bccb375ea668d43b5a79a1e8161f33743b56883aff754de26a2.jpg",
260
+ "text": "$$\nA _ { t } = \\left[ ( \\boldsymbol { a } _ { t } ^ { ( 1 ) } ) ^ { \\top } , \\ldots , ( \\boldsymbol { a } _ { t } ^ { ( K ) } ) ^ { \\top } \\right] \\in \\mathbb { R } ^ { K \\times D } .\n$$",
261
+ "text_format": "latex",
262
+ "bbox": [
263
+ 362,
264
+ 667,
265
+ 633,
266
+ 695
267
+ ],
268
+ "page_idx": 2
269
+ },
270
+ {
271
+ "type": "text",
272
+ "text": "The key idea of this work is to aggregate $A _ { t }$ adaptively in an RL loop, i.e., to maximize the expected return. This adaptive aggregation gives us a “baseline” action that could introduce a strong inductive bias in the training of a target policy, without knowing source environmental dynamics $T _ { i }$ . More specifically, we define the adaptive aggregation function $F _ { \\mathrm { a g g } } : S { \\mathcal { A } }$ that produces the baseline action based on the current state $s _ { t }$ as follows: ",
273
+ "bbox": [
274
+ 173,
275
+ 700,
276
+ 825,
277
+ 771
278
+ ],
279
+ "page_idx": 2
280
+ },
281
+ {
282
+ "type": "equation",
283
+ "img_path": "images/43d4863534151de2ff645b7d5c078f4b2499b7b0ebc8fca57f0c4f5e0716d1fe.jpg",
284
+ "text": "$$\nF _ { \\mathrm { a g g } } ( s _ { t } ; L , \\theta _ { \\mathrm { a g g } } ) = \\frac { 1 } { K } \\mathbb { 1 } ^ { K } \\left( \\theta _ { \\mathrm { a g g } } \\odot A _ { t } \\right) ,\n$$",
285
+ "text_format": "latex",
286
+ "bbox": [
287
+ 366,
288
+ 776,
289
+ 630,
290
+ 808
291
+ ],
292
+ "page_idx": 2
293
+ },
294
+ {
295
+ "type": "text",
296
+ "text": "where $\\theta _ { \\mathrm { a g g } } \\in \\mathbb { R } ^ { K \\times D }$ is a matrix of trainable parameters, $\\odot$ is the element-wise multiplication, and $\\mathbb { 1 } ^ { K }$ is the all-ones vector of length $K$ . $\\theta _ { \\mathrm { a g g } }$ is neither normalized nor regularized, and can scale each action of each policy independently. This means that we do not merely adaptively interpolate action spaces, but more flexibly emphasize informative source actions while suppressing irrelevant ones. ",
297
+ "bbox": [
298
+ 174,
299
+ 814,
300
+ 825,
301
+ 873
302
+ ],
303
+ "page_idx": 2
304
+ },
305
+ {
306
+ "type": "text",
307
+ "text": "Predicting Residuals around Aggregated Actions Moreover, we learn auxiliary network $F _ { \\mathrm { a u x } }$ : $S A$ jointly with $F _ { \\mathrm { a g g } }$ , to predict residuals around the aggregated actions. $F _ { \\mathrm { a u x } }$ is used to improve the target policy training in two ways. 1) If the aggregated actions from $F _ { \\mathrm { a g g } }$ are already useful in the target environment instance, $F _ { \\mathrm { a u x } }$ will correct them for a higher expected return. 2) Otherwise, $F _ { \\mathrm { a u x } }$ learns the target task while leveraging $F _ { \\mathrm { a g g } }$ as a prior to have a guided exploration process. Any network could be used for $F _ { \\mathrm { a u x } }$ as long as it is parameterized and fully differentiable. Finally, the MULTIPOLAR function is formulated as: ",
308
+ "bbox": [
309
+ 174,
310
+ 881,
311
+ 823,
312
+ 924
313
+ ],
314
+ "page_idx": 2
315
+ },
316
+ {
317
+ "type": "text",
318
+ "text": "",
319
+ "bbox": [
320
+ 174,
321
+ 103,
322
+ 823,
323
+ 159
324
+ ],
325
+ "page_idx": 3
326
+ },
327
+ {
328
+ "type": "equation",
329
+ "img_path": "images/e91a4d07724189f6d0cb3f92ff9e1ea6baa0d56ca2d692c2631e2ad2e9419045.jpg",
330
+ "text": "$$\nF ( s _ { t } ; L , \\theta _ { \\mathrm { a g g } } , \\theta _ { \\mathrm { a u x } } ) = F _ { \\mathrm { a g g } } ( s _ { t } ; L , \\theta _ { \\mathrm { a g g } } ) + F _ { \\mathrm { a u x } } ( s _ { t } ; \\theta _ { \\mathrm { a u x } } ) ,\n$$",
331
+ "text_format": "latex",
332
+ "bbox": [
333
+ 307,
334
+ 165,
335
+ 691,
336
+ 183
337
+ ],
338
+ "page_idx": 3
339
+ },
340
+ {
341
+ "type": "text",
342
+ "text": "where $\\theta _ { \\mathrm { a u x } }$ denotes a set of trainable parameters for $F _ { \\mathrm { a u x } }$ . Note that the idea of predicting residuals for a source policy has also been presented by Silver et al. (2018); Johannink et al. (2019); Rana et al. (2019). The main difference here is that, while these works just add raw action outputs provided from a single hand-engineered source policy, we adaptively aggregate actions from multiple source policies in order to obtain a more flexible and canonical representation. ",
343
+ "bbox": [
344
+ 174,
345
+ 188,
346
+ 823,
347
+ 257
348
+ ],
349
+ "page_idx": 3
350
+ },
351
+ {
352
+ "type": "text",
353
+ "text": "Target Policy Target policy $\\pi _ { \\mathrm { t a r g e t } }$ can be modeled by reparameterizing the MULTIPOLAR function as a Gaussian distribution, i.e., $\\mathcal { N } ( F ( s _ { t } ; L , \\theta _ { \\mathrm { a g g } } , \\theta _ { \\mathrm { a u x } } ) , \\Sigma )$ , where $\\Sigma$ is a covariance matrix estimated based on what the used RL algorithm requires. Since we regard $\\mu _ { i } \\in L$ as fixed functions mapping states to actions, this Gaussian policy $\\pi _ { \\mathrm { t a r g e t } }$ is differentiable with respect to $\\theta _ { \\mathrm { a g g } }$ and $\\theta _ { \\mathrm { a u x } }$ , and hence could be trained with any RL algorithm that explicitly updates policy parameters. Unlike Silver et al. (2018); Johannink et al. (2019); Rana et al. (2019), we can formulate the target policy in a principled fashion for actions in a discrete space. Specifically, instead of a $D$ -dimensional real-valued vector, here we have a $D$ -dimensional one-hot vector $a _ { t } ^ { ( i ) } \\in \\{ 0 , 1 \\} ^ { D }$ , $\\begin{array} { r } { \\sum _ { j } ( a _ { t } ^ { ( i ) } ) _ { j } = 1 } \\end{array}$ as outputs of $\\mu _ { i }$ , where $( a _ { t } ^ { ( i ) } ) _ { j } = 1$ indicates that the $j$ -th action is to be executed. Following Eqs. (2) and (3), the output of $F ( \\dot { s } _ { t } ; L , \\theta _ { \\mathrm { a g g } } , \\theta _ { \\mathrm { a u x } } )$ can be viewed as $D$ -dimensional un-normalized action scores, from which we can sample a discrete action after normalizing it by the softmax function. ",
354
+ "bbox": [
355
+ 173,
356
+ 265,
357
+ 825,
358
+ 428
359
+ ],
360
+ "page_idx": 3
361
+ },
362
+ {
363
+ "type": "text",
364
+ "text": "4 EXPERIMENTAL EVALUATION ",
365
+ "text_level": 1,
366
+ "bbox": [
367
+ 178,
368
+ 449,
369
+ 450,
370
+ 464
371
+ ],
372
+ "page_idx": 3
373
+ },
374
+ {
375
+ "type": "text",
376
+ "text": "We aim to empirically demonstrate the sample efficiency of a target policy trained with MULTIPOLAR (denoted by “MULTIPOLAR policy”). To complete the experiments in a reasonable amount of time, we set the number of source policies to be $K = 4$ unless mentioned otherwise. Moreover, we investigate the factors that affect the performance of MULTIPOLAR. To ensure fair comparisons and reproducibility of experiments, we followed the guidelines introduced by Henderson et al. (2018) and Franc¸ois-Lavet et al. (2018) for conducting and evaluating all of our experiments. ",
377
+ "bbox": [
378
+ 174,
379
+ 479,
380
+ 825,
381
+ 563
382
+ ],
383
+ "page_idx": 3
384
+ },
385
+ {
386
+ "type": "text",
387
+ "text": "4.1 EXPERIMENTAL SETUP ",
388
+ "text_level": 1,
389
+ "bbox": [
390
+ 174,
391
+ 580,
392
+ 375,
393
+ 593
394
+ ],
395
+ "page_idx": 3
396
+ },
397
+ {
398
+ "type": "text",
399
+ "text": "Baseline Methods To show the benefits of leveraging source policies, we compared our MULTIPOLAR policy to the standard multi-layer perceptron (MLP) trained from scratch, which is typically used in RL literature (Schulman et al., 2017; Franc¸ois-Lavet et al., 2018). As another baseline, we also used MULTIPOLAR with $K = 1$ , which is an extension of residual policy learning (Silver et al., 2018; Johannink et al., 2019; Rana et al., 2019) (denoted by “RPL”) with adaptive residuals as well as the ability to deal with both continuous and discrete action spaces. We stress here that the existing transfer RL or meta RL approaches that train a universal policy network agnostic to the environmental dynamics, such as Frans et al. (2018); Chen et al. (2018), cannot be used as a baseline since they require a policy to be trained on a distribution of environment instances, which is not possible in our problem setting. Also, other techniques using multiple source policies, such as policy reuse frameworks, are not applicable because their source policies should be collected under the target environmental dynamics. ",
400
+ "bbox": [
401
+ 173,
402
+ 599,
403
+ 825,
404
+ 766
405
+ ],
406
+ "page_idx": 3
407
+ },
408
+ {
409
+ "type": "text",
410
+ "text": "Environments To show the general effectiveness of the MULTIPOLAR policy, we conducted comparative evaluations of MULTIPOLAR on the following six OpenAI Gym environments: Roboschool Hopper, Roboschool Ant, Roboschool InvertedPendulumSwingUp, Acrobot, CartPole, and LunarLander. We chose these six environments because 1) the parameterization of their dynamics and kinematics is flexible enough, 2) they cover discrete action space (Acrobot and CartPole) as well as continuous action space, and 3) they are samples of three distinct categories of OpenAI Gym environments, namely Box2d, Classic Control, and Roboschool. ",
411
+ "bbox": [
412
+ 173,
413
+ 775,
414
+ 825,
415
+ 872
416
+ ],
417
+ "page_idx": 3
418
+ },
419
+ {
420
+ "type": "text",
421
+ "text": "Experimental Procedure For each of the six environments, we first created 100 environment instances by randomly sampling the dynamics and kinematics parameters from a specific range. For example, these parameters in the Hopper environment were link lengths, damping, friction, armature, and link mass1 Then, for each environment instance, we trained an MLP policy. The trained MLP policies were used in two ways: a) the baseline MLP policy for each environment instance, and b) a pool of 100 source policy candidates from which we sample $K$ of them to train MULTIPOLAR policies and one of them to train RPL policies2. Specifically, for each environment instance, we trained three MULTIPOLAR and three RPL policies with distinct sets of source policies selected randomly from the candidate pool. The learning procedure explained above was done three times with fixed different random seeds to reduce variance in results due to stochasticity. As a result, for each of the six environments, we had 100 environment instances $\\times 3$ random seeds $= 3 0 0$ experiments for MLP and 100 environment instances $\\times ~ 3$ choices of source policies $\\times \\ 3$ random seeds $= 9 0 0$ experiments for RPL and MULTIPOLAR. The aim of this large number of experiments is to obtain correct insights into the distribution of performances (Henderson et al., 2018). Due to the large number of experiments for all the environments, our detailed analysis and ablation study of MULTIPOLAR components were conducted with only Hopper, as its sophisticated second-order dynamics plays a crucial role in agent performance (Chen et al., 2018). ",
422
+ "bbox": [
423
+ 176,
424
+ 882,
425
+ 823,
426
+ 924
427
+ ],
428
+ "page_idx": 3
429
+ },
430
+ {
431
+ "type": "image",
432
+ "img_path": "images/ce954fc0266e61a3d816c55da86bfdc074723b24b1f5d91b1bb952ba92648847.jpg",
433
+ "image_caption": [
434
+ "Figure 3: Average Learning Curves of MLP, RPL, and MULTIPOLAR $X = 4 ,$ ) over all the experiments for each environment. The shaded area represents 1 standard error. "
435
+ ],
436
+ "image_footnote": [],
437
+ "bbox": [
438
+ 174,
439
+ 101,
440
+ 815,
441
+ 320
442
+ ],
443
+ "page_idx": 4
444
+ },
445
+ {
446
+ "type": "text",
447
+ "text": "",
448
+ "bbox": [
449
+ 174,
450
+ 393,
451
+ 825,
452
+ 588
453
+ ],
454
+ "page_idx": 4
455
+ },
456
+ {
457
+ "type": "text",
458
+ "text": "Implementation Details All the experiments were done using the Stable Baselines (Hill et al., 2018) implementation of learning algorithms as well as its default hyperparameters and MLP network architecture for each environment (see Appendix A.1 for more details). Based on the performance of learning algorithms reported in the Hill et al. (2018), all the policies were trained with Soft Actor-Critic (Haarnoja et al., 2018) in the LunarLander environment and with Proximal Policy Optimization (Schulman et al., 2017) in the rest of the environments. For fair comparisons, in all experiments, auxiliary network $F _ { \\mathrm { a u x } }$ had an identical architecture to that of the MLP. Therefore, the only difference between MLP and MULTIPOLAR was the aggregation part $F _ { \\mathrm { a g g } }$ , which made it possible to evaluate the contribution of transfer learning based on adaptive aggregation of source policies. Also, we avoided any random seed optimization since it has been shown to alter the policies’ performance (Henderson et al., 2018). ",
459
+ "bbox": [
460
+ 173,
461
+ 602,
462
+ 825,
463
+ 753
464
+ ],
465
+ "page_idx": 4
466
+ },
467
+ {
468
+ "type": "text",
469
+ "text": "Evaluation Metric Following the guidelines of Henderson et al. (2018), to measure sampling efficiency of training policies, i.e., how quick the training progresses, we used the average episodic reward over a various number of training samples. Also, to ensure that higher average episodic reward is representative of better performance and to estimate the variation of it, we used the sample bootstrap method (Efron & Tibshirani, 1993) to estimate statistically relevant $9 5 \\%$ confidence bounds of the results of our experiments. Across all the experiments, we used 10K bootstrap iterations and the pivotal method. Further details on evaluation method can be found in Appendix A.3. ",
470
+ "bbox": [
471
+ 173,
472
+ 767,
473
+ 825,
474
+ 866
475
+ ],
476
+ "page_idx": 4
477
+ },
478
+ {
479
+ "type": "table",
480
+ "img_path": "images/7d138f4d66ff68f9f690fb10736336e7b33321aca43049ac77ad25e934a6785d.jpg",
481
+ "table_caption": [
482
+ "Table 1: MULTIPOLAR vs. Baselines. Bootstrap mean and $9 5 \\%$ confidence bounds of average episodic rewards over various training samples across six environments. "
483
+ ],
484
+ "table_footnote": [],
485
+ "table_body": "<table><tr><td rowspan=\"2\">Methods</td><td colspan=\"4\">CartPole</td></tr><tr><td>25K</td><td>50K</td><td>75K</td><td>100K</td></tr><tr><td>MLP</td><td>171 (164,179)</td><td>229 (220,237)</td><td>266 (258,275)</td><td>291 (282,300)</td></tr><tr><td>RPL</td><td>185 (179,192)</td><td>238 (231,245)</td><td>269 (262,276)</td><td>289 (282,296)</td></tr><tr><td>MULTIPOLAR (K=4)</td><td>202 (195,209)</td><td>252 (245,260)</td><td>283 (276,290)</td><td>299 (292,306)</td></tr><tr><td rowspan=\"2\"></td><td colspan=\"4\">Acrobot</td></tr><tr><td>50K</td><td>100K</td><td>150K</td><td>200K</td></tr><tr><td>MLP</td><td>-305 (-317,-294)</td><td>-164 (-172,-156)</td><td>-127 (-133,-121)</td><td>-111 (-117,-106)</td></tr><tr><td>RPL</td><td>-154 (-159,-150)</td><td>-120 (-124,-116)</td><td>-105 (-109,-102)</td><td>-98 (-101,-95)</td></tr><tr><td>MULTIPOLAR (K=4)</td><td>-151 (-155,-146)</td><td>-117 (-121,-113)</td><td>-103 (-106,-100)</td><td>-96 (-99,-93)</td></tr><tr><td></td><td colspan=\"4\">LunarLander</td></tr><tr><td></td><td>125K</td><td>250K</td><td>375K</td><td>500K</td></tr><tr><td>MLP</td><td>10 (2,18)</td><td>112 (104,121)</td><td>178 (171,185)</td><td>216 (210,221)</td></tr><tr><td>RPL</td><td>92 (87,96)</td><td>178 (174,182)</td><td>223 (220,226)</td><td>246 (243,248)</td></tr><tr><td>MULTIPOLAR (K=4)</td><td>95 (90,99)</td><td>181 (177,185)</td><td>224 (221,228)</td><td>246 (244,249)</td></tr><tr><td></td><td colspan=\"4\">Roboschool Hopper</td></tr><tr><td></td><td>0.5M</td><td>1M</td><td>1.5M</td><td>2M</td></tr><tr><td>MLP</td><td>26 (25,27)</td><td>43 (42,45)</td><td>67 (64,70)</td><td>92 (88,96)</td></tr><tr><td>RPL</td><td>37 (36,39)</td><td>75 (70,79)</td><td>114 (107,121)</td><td>152 (142,160)</td></tr><tr><td>MULTIPOLAR (K=4)</td><td>61 (59,64)</td><td>138 (132,143)</td><td>213 (206,221)</td><td>283 (273,292)</td></tr><tr><td></td><td colspan=\"4\">Roboschool Ant</td></tr><tr><td></td><td>0.5M</td><td>1M</td><td>1.5M</td><td>2M</td></tr><tr><td>MLP</td><td>714 (674,756)</td><td>1088 (1030,1146)</td><td>1332 (1267,1399)</td><td>1500 (1430,1572)</td></tr><tr><td>RPL</td><td>807 (785,830)</td><td>1120 (1088,1152)</td><td>1307 (1269,1344)</td><td>1432 (1391,1473)</td></tr><tr><td>MULTIPOLAR (K=4)</td><td>1025 (995,1056)</td><td>1397 (1361,1432)</td><td>1606 (1568,1644)</td><td>1744 (1705,1783)</td></tr><tr><td></td><td colspan=\"4\">Roboschool InvertedPendulumSwingup</td></tr><tr><td></td><td>0.5M</td><td>1M</td><td>1.5M</td><td>2M</td></tr><tr><td>MLP</td><td>159 (155,164)</td><td>267 (260,273)</td><td>347 (340,355)</td><td>409 (401,417)</td></tr><tr><td>RPL</td><td>111 (109,113)</td><td>195 (192,198)</td><td>265 (261,268)</td><td>322 (317,326)</td></tr><tr><td>MULTIPOLAR (K=4)</td><td>375 (355,395)</td><td>476 (456,495)</td><td>541 (522,559)</td><td>588 (571,605)</td></tr></table>",
486
+ "bbox": [
487
+ 181,
488
+ 135,
489
+ 810,
490
+ 651
491
+ ],
492
+ "page_idx": 5
493
+ },
494
+ {
495
+ "type": "text",
496
+ "text": "4.2 RESULTS ",
497
+ "text_level": 1,
498
+ "bbox": [
499
+ 174,
500
+ 676,
501
+ 279,
502
+ 690
503
+ ],
504
+ "page_idx": 5
505
+ },
506
+ {
507
+ "type": "text",
508
+ "text": "Sample Efficiency of MULTIPOLAR Figure 3 and Table 1 clearly show that on average, in all the environments, MULTIPOLAR outperformed baseline policies in terms of sample efficiency and sometimes the final episodic reward3. For example, in Hopper over 2M training samples, MULTIPOLAR with $K = 4$ achieved a mean of average episodic reward about three times higher than MLP (i.e., training from scratch) and about twice higher than RPL (i.e., using only a single source policy). It is also noteworthy that MULTIPOLAR with $K = 4$ had on par or better performance than RPL, which indicates the effectiveness of leveraging multiple source policies4. Figure 7 in Appendix, shows the individual average learning curve for each of the instances of Roboschool environments. ",
509
+ "bbox": [
510
+ 173,
511
+ 695,
512
+ 825,
513
+ 808
514
+ ],
515
+ "page_idx": 5
516
+ },
517
+ {
518
+ "type": "text",
519
+ "text": "Ablation Study To demonstrate the importance of each component of MULTIPOLAR, we evaluated the following degraded versions: (1) $\\theta _ { \\mathrm { a g g } }$ fixed to $I$ , which just averages the deterministic actions from the source policies without adaptive weights (similar to the residual policy learning methods that used raw action outputs of a source policy), and (2) $F _ { \\mathrm { a u x } }$ learned independent of $s _ { t }$ , which replaces the state-dependent MLP with an adaptive “placeholder” parameter vector making actions just a linear combination of source policy outputs. As shown in Table 2, the full version of MULTIPOLAR significantly outperformed both of the degraded versions, suggesting that the adaptive aggregation and predicting residuals are both critical. ",
520
+ "bbox": [
521
+ 174,
522
+ 818,
523
+ 821,
524
+ 859
525
+ ],
526
+ "page_idx": 5
527
+ },
528
+ {
529
+ "type": "table",
530
+ "img_path": "images/b011a076d9d6b208bd314673435f95bd3f99777ec3f47fa4fb8bec584da8cf9c.jpg",
531
+ "table_caption": [
532
+ "Table 2: Results for MULTIPOLAR and its degraded versions in Hopper. "
533
+ ],
534
+ "table_footnote": [],
535
+ "table_body": "<table><tr><td>MULTIPOLAR (K=4)</td><td>0.5M</td><td>1M</td><td>1.5M</td><td>2M</td></tr><tr><td>Full version</td><td>61 (59,64)</td><td>138 (132,143)</td><td>213 (206,221)</td><td>283 (273,292)</td></tr><tr><td>0agg fixed to 1</td><td>56 (53,59)</td><td>118 (111,126)</td><td>180 (169,191)</td><td>237 (222,250)</td></tr><tr><td>Faux learned independent of St</td><td>53 (50,56)</td><td>101 (95,108)</td><td>146 (137,156)</td><td>187 (175,200)</td></tr></table>",
536
+ "bbox": [
537
+ 207,
538
+ 127,
539
+ 789,
540
+ 194
541
+ ],
542
+ "page_idx": 6
543
+ },
544
+ {
545
+ "type": "table",
546
+ "img_path": "images/44a84bd11f53d8d624f7a58bb829d2a2070ce0752222b062df558bb0ffd4c403.jpg",
547
+ "table_caption": [
548
+ "Table 3: Results for MULTIPOLAR with different source policy sampling schemes in Hopper. "
549
+ ],
550
+ "table_footnote": [],
551
+ "table_body": "<table><tr><td>MULTIPOLAR (K=4)</td><td>0.5M</td><td>1M</td><td>1.5M</td><td>2M</td></tr><tr><td>Random</td><td>61 (59,64)</td><td>138 (132,143)</td><td>213 (206,221)</td><td>283 (273,292)</td></tr><tr><td>4 high performance</td><td>98 (95,101)</td><td>214 (208,220)</td><td>323 (314,331)</td><td>420 (409,430)</td></tr><tr><td>2 high &amp; 2 low performance</td><td>45 (43,47)</td><td>98 (94,102)</td><td>154 (148,160)</td><td>208 (200,215)</td></tr><tr><td>4 low performance</td><td>27 (26,27)</td><td>45 (44,47)</td><td>68 (66,71)</td><td>92 (88,95)</td></tr></table>",
552
+ "bbox": [
553
+ 214,
554
+ 233,
555
+ 781,
556
+ 314
557
+ ],
558
+ "page_idx": 6
559
+ },
560
+ {
561
+ "type": "table",
562
+ "img_path": "images/2f1ce949003280846f201a119e4ba5cd2495769f6b6f7ecba5e5542e64ca819c.jpg",
563
+ "table_caption": [
564
+ "Table 4: Results for MULTIPOLAR with different number of source policies in Hopper. "
565
+ ],
566
+ "table_footnote": [],
567
+ "table_body": "<table><tr><td>MULTIPOLAR</td><td>0.5M</td><td>1M</td><td>1.5M</td><td>2M</td></tr><tr><td>K=4</td><td>61 (59,64)</td><td>138 (132,143)</td><td>213 (206,221)</td><td>283 (273,292)</td></tr><tr><td>K=8</td><td>71 (68,74)</td><td>160 (154,167)</td><td>246 (236,255)</td><td>323 (312,335)</td></tr><tr><td>K=16</td><td>78 (75,80)</td><td>177 (172,182)</td><td>272 (264,279)</td><td>357 (348,367)</td></tr></table>",
568
+ "bbox": [
569
+ 253,
570
+ 353,
571
+ 741,
572
+ 420
573
+ ],
574
+ "page_idx": 6
575
+ },
576
+ {
577
+ "type": "text",
578
+ "text": "",
579
+ "bbox": [
580
+ 174,
581
+ 446,
582
+ 825,
583
+ 517
584
+ ],
585
+ "page_idx": 6
586
+ },
587
+ {
588
+ "type": "text",
589
+ "text": "Effect of Source Policy Performances Figure 4 illustrates an example of the histogram of final episodic reward (average rewards of the last 100 training episodes) for the source policy candidates obtained in the Hopper environment. As shown in the figure, the source policies were diverse in terms of the performance on their original environment instances5. In this setup, we investigate the effect of source policies performances on MULTIPOLAR sample efficiency. ",
590
+ "bbox": [
591
+ 173,
592
+ 526,
593
+ 825,
594
+ 597
595
+ ],
596
+ "page_idx": 6
597
+ },
598
+ {
599
+ "type": "text",
600
+ "text": "We created two separate pools of source policies, where one contained only high-performing and the other only lowperforming source policies6. Table 3 summarizes the results of sampling source policies from these pools (4 high, 2 high & 2 low, and 4 low performances) and compares them to the original MULTIPOLAR (shown as ‘Random’) also reported in Table 1. Not surprisingly, MULTIPOLAR performed the best when all the source policies were sampled from the highperformance pool. However, we emphasize that such highquality policies are not always available in practice, due to the variability of how they are learned or hand-crafted under their own environment instance. Figure 6 in Appendix B.1 illustrates that MULTIPOLAR can successfully learn to suppress the useless low-performing source policies. ",
601
+ "bbox": [
602
+ 174,
603
+ 598,
604
+ 581,
605
+ 790
606
+ ],
607
+ "page_idx": 6
608
+ },
609
+ {
610
+ "type": "image",
611
+ "img_path": "images/78cec6e9287d96643eed3453d7678a6097cbfa97ea9fe8287879ff98649a3a91.jpg",
612
+ "image_caption": [
613
+ "Figure 4: Histogram of source policy performances in Hopper. "
614
+ ],
615
+ "image_footnote": [],
616
+ "bbox": [
617
+ 594,
618
+ 612,
619
+ 821,
620
+ 733
621
+ ],
622
+ "page_idx": 6
623
+ },
624
+ {
625
+ "type": "text",
626
+ "text": "Effect of Number of Source Policies Finally, we show how the number of source policies contributes to MULTIPOLAR’s sample efficiency in Table 4. Specifically, we trained MULTIPOLAR policies up to $K = 1 6$ to study how the mean of average episodic rewards changes. The monotonic performance improvement over $K$ (for $K \\leq 1 6$ ), is achieved at the cost of increased training and inference time. In practice, we suggest balancing this speed-performance trade-off by using as many source policies as possible before reaching the inference time limit required by the application. ",
627
+ "bbox": [
628
+ 174,
629
+ 800,
630
+ 825,
631
+ 885
632
+ ],
633
+ "page_idx": 6
634
+ },
635
+ {
636
+ "type": "text",
637
+ "text": "5 DISCUSSION AND RELATED WORK ",
638
+ "text_level": 1,
639
+ "bbox": [
640
+ 174,
641
+ 102,
642
+ 496,
643
+ 118
644
+ ],
645
+ "page_idx": 7
646
+ },
647
+ {
648
+ "type": "text",
649
+ "text": "Our work is broadly categorized as an instance of transfer RL (Taylor & Stone, 2009), in which a policy for a target task is trained using information collected from source tasks. In this section, we highlight how our work is different from the existing approaches and also discuss the current limitations as well as future directions. ",
650
+ "bbox": [
651
+ 174,
652
+ 133,
653
+ 825,
654
+ 189
655
+ ],
656
+ "page_idx": 7
657
+ },
658
+ {
659
+ "type": "text",
660
+ "text": "Transfer between Different Dynamics There has been very limited work on transferring knowledge between agents in different environmental dynamics. As introduced briefly in Section 1, some methods require training samples collected from source tasks. These sampled experiences are then used for measuring the similarity between environment instances (Lazaric et al., 2008; Ammar et al., 2014; Tirinzoni et al., 2018) or for conditioning a target policy to predict actions (Chen et al., 2018). Alternative means to quantify the similarity is to use a full specification of MDPs (Song et al., 2016; Wang et al., 2019) or environmental dynamics Yu et al. (2019). In contrast, the proposed MULTIPOLAR allows the knowledge transfer only through the policies acquired from source environment instances, which is beneficial when source and target environments are not always connected to exchange information about their environmental dynamics and training samples. ",
661
+ "bbox": [
662
+ 174,
663
+ 198,
664
+ 825,
665
+ 338
666
+ ],
667
+ "page_idx": 7
668
+ },
669
+ {
670
+ "type": "text",
671
+ "text": "Leveraging Multiple Policies The idea of utilizing multiple source policies can be found in the literature of policy reuse frameworks (Fernandez & Veloso, 2006; Rosman et al., 2016; Li & Zhang, ´ 2018; Zheng et al., 2018; Li et al., 2019). The basic motivation behind these works is to provide “nearly-optimal solutions” (Rosman et al., 2016) for short-duration tasks by reusing one of the source policies, where each source would perform well on environment instances with different rewards (e.g., different goals in maze tasks). In our problem setting, where environmental dynamics behind each source policy are different, reusing a single policy without an adaptation is not the right approach, as described in (Chen et al., 2018) and also demonstrated in our experiment. Another relevant idea is hierarchical RL (Barto & Mahadevan, 2003; Kulkarni et al., 2016; Osa et al., 2019) that involves a hierarchy of policies (or action-value functions) to enable temporal abstraction. In particular, option frameworks (Sutton et al., 1999; Bacon et al., 2017; Mankowitz et al., 2018) make use of a collection of policies as a part of “options”. However, they assumed all the policies in the hierarchy to be learned in a single environment instance. Another relevant work along this line of research is (Frans et al., 2018), which meta-learns a hierarchy of multiple sub-policies by training a master policy over the distribution of tasks. Nevertheless, hierarchical RL approaches are not useful for leveraging multiple source policies each acquired under diverse environmental dynamics. ",
672
+ "bbox": [
673
+ 174,
674
+ 347,
675
+ 825,
676
+ 569
677
+ ],
678
+ "page_idx": 7
679
+ },
680
+ {
681
+ "type": "text",
682
+ "text": "Learning Residuals in RL Finally, some recent works adopt residual learning to mitigate the limited performance of hand-engineered policies (Silver et al., 2018; Johannink et al., 2019; Rana et al., 2019). We are interested in a more extended scenario where various source policies with unknown performances are provided instead of a single sub-optimal policy. Also, these approaches focus only on RL problems for robotic tasks in the continuous action space, while our approach could work on both of continuous and discrete action spaces in a broad range of environments. ",
683
+ "bbox": [
684
+ 174,
685
+ 578,
686
+ 825,
687
+ 661
688
+ ],
689
+ "page_idx": 7
690
+ },
691
+ {
692
+ "type": "text",
693
+ "text": "Limitations and Future Directions Currently, our work has several limitations. First, MULTIPOLAR may not be scalable to a large number of source policies, as its training and testing times will increase almost linearly with the number of source policies. One possible solution for this issue would be pre-screening source policies before starting to train a target agent, for example, by testing each source on the target task and taking them into account in the training phase only when they are found useful. Moreover, our work assumes source and target environment instances to be different only in their state transition distribution. An interesting direction for future work is to involve other types of environmental differences, such as dissimilar rewards and state/action spaces. ",
694
+ "bbox": [
695
+ 174,
696
+ 670,
697
+ 825,
698
+ 782
699
+ ],
700
+ "page_idx": 7
701
+ },
702
+ {
703
+ "type": "text",
704
+ "text": "6 CONCLUSION ",
705
+ "text_level": 1,
706
+ "bbox": [
707
+ 176,
708
+ 803,
709
+ 318,
710
+ 818
711
+ ],
712
+ "page_idx": 7
713
+ },
714
+ {
715
+ "type": "text",
716
+ "text": "We presented a new problem setting of transfer RL that aimed to train a policy efficiently using a collection of source policies acquired under diverse environmental dynamics. We demonstrated that the proposed MULTIPOLAR is, despite its simplicity, a principled approach with high training sample efficiency on a variety of environments. Our transfer RL approach is advantageous when one does not have access to a distribution of diverse environmental dynamics. Future work will seek to adapt our approach to more challenging domains such as a real-world robotics task. ",
717
+ "bbox": [
718
+ 174,
719
+ 833,
720
+ 825,
721
+ 917
722
+ ],
723
+ "page_idx": 7
724
+ },
725
+ {
726
+ "type": "text",
727
+ "text": "REFERENCES ",
728
+ "text_level": 1,
729
+ "bbox": [
730
+ 176,
731
+ 103,
732
+ 287,
733
+ 117
734
+ ],
735
+ "page_idx": 8
736
+ },
737
+ {
738
+ "type": "text",
739
+ "text": "Haitham Bou Ammar, Eric Eaton, Matthew Taylor, Decebal Constantin Mocanu, Kurt Driessens, Gerhard Weiss, and Karl Tuyls. An Automated Measure of MDP Similarity for Transfer in Reinforcement Learning. In Workshops at the AAAI Conference on Artificial Intelligence, 2014. ",
740
+ "bbox": [
741
+ 176,
742
+ 126,
743
+ 823,
744
+ 169
745
+ ],
746
+ "page_idx": 8
747
+ },
748
+ {
749
+ "type": "text",
750
+ "text": "Pierre-Luc Bacon, Jean Harb, and Doina Precup. The Option-Critic Architecture. In AAAI Conference on Artificial Intelligence, 2017. ",
751
+ "bbox": [
752
+ 173,
753
+ 176,
754
+ 821,
755
+ 205
756
+ ],
757
+ "page_idx": 8
758
+ },
759
+ {
760
+ "type": "text",
761
+ "text": "Andrew G Barto and Sridhar Mahadevan. Recent Advances in Hierarchical Reinforcement Learning. Discrete Event Dynamic Systems, 13(1-2):41–77, 2003. ",
762
+ "bbox": [
763
+ 171,
764
+ 214,
765
+ 823,
766
+ 244
767
+ ],
768
+ "page_idx": 8
769
+ },
770
+ {
771
+ "type": "text",
772
+ "text": "Tao Chen, Adithyavairavan Murali, and Abhinav Gupta. Hardware Conditioned Policies for MultiRobot Transfer Learning. In Advances in Neural Information Processing Systems, pp. 9355–9366, 2018. ",
773
+ "bbox": [
774
+ 176,
775
+ 252,
776
+ 823,
777
+ 295
778
+ ],
779
+ "page_idx": 8
780
+ },
781
+ {
782
+ "type": "text",
783
+ "text": "Ignasi Clavera, Anusha Nagabandi, Simin Liu, Ronald S. Fearing, Pieter Abbeel, Sergey Levine, and Chelsea Finn. Learning to Adapt in Dynamic, Real-World Environments through MetaReinforcement Learning. In International Conference on Learning Representations, 2019. ",
784
+ "bbox": [
785
+ 176,
786
+ 304,
787
+ 825,
788
+ 347
789
+ ],
790
+ "page_idx": 8
791
+ },
792
+ {
793
+ "type": "text",
794
+ "text": "Coline Devin, Abhishek Gupta, Trevor Darrell, Pieter Abbeel, and Sergey Levine. Learning Modular Neural Network Policies for Multi-Task and Multi-Robot Transfer. In IEEE International Conference on Robotics and Automation, pp. 2169–2176, 2017. ",
795
+ "bbox": [
796
+ 173,
797
+ 354,
798
+ 826,
799
+ 398
800
+ ],
801
+ "page_idx": 8
802
+ },
803
+ {
804
+ "type": "text",
805
+ "text": "Bradley Efron and Robert Tibshirani. An Introduction to the Bootstrap. Springer, 1993. ",
806
+ "bbox": [
807
+ 171,
808
+ 406,
809
+ 746,
810
+ 422
811
+ ],
812
+ "page_idx": 8
813
+ },
814
+ {
815
+ "type": "text",
816
+ "text": "Fernando Fernandez and Manuela Veloso. Probabilistic Policy Reuse in a Reinforcement Learning ´ Agent. In International Joint Conference on Autonomous Agents and Multiagent Systems, pp. 720–727, 2006. ",
817
+ "bbox": [
818
+ 174,
819
+ 430,
820
+ 825,
821
+ 473
822
+ ],
823
+ "page_idx": 8
824
+ },
825
+ {
826
+ "type": "text",
827
+ "text": "Vincent Franc¸ois-Lavet, Peter Henderson, Riashat Islam, Marc G. Bellemare, and Joelle Pineau. An Introduction to Deep Reinforcement Learning. Foundations and Trends in Machine Learning, 11 (3-4):219–354, 2018. ",
828
+ "bbox": [
829
+ 174,
830
+ 483,
831
+ 825,
832
+ 525
833
+ ],
834
+ "page_idx": 8
835
+ },
836
+ {
837
+ "type": "text",
838
+ "text": "Kevin Frans, Jonathan Ho, Xi Chen, Pieter Abbeel, and John Schulman. Meta learning shared hierarchies. In International Conference on Learning Representations, 2018. ",
839
+ "bbox": [
840
+ 173,
841
+ 534,
842
+ 823,
843
+ 564
844
+ ],
845
+ "page_idx": 8
846
+ },
847
+ {
848
+ "type": "text",
849
+ "text": "Tuomas Haarnoja, Aurick Zhou, Pieter Abbeel, and Sergey Levine. Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actor. In International Conference on Machine Learning, pp. 1856–1865, 2018. ",
850
+ "bbox": [
851
+ 174,
852
+ 571,
853
+ 825,
854
+ 614
855
+ ],
856
+ "page_idx": 8
857
+ },
858
+ {
859
+ "type": "text",
860
+ "text": "Peter Henderson, Riashat Islam, Philip Bachman, Joelle Pineau, Doina Precup, and David Meger. Deep Reinforcement Learning That Matters. In AAAI Conference on Artificial Intelligence, pp. 3207–3214, 2018. ",
861
+ "bbox": [
862
+ 173,
863
+ 622,
864
+ 825,
865
+ 666
866
+ ],
867
+ "page_idx": 8
868
+ },
869
+ {
870
+ "type": "text",
871
+ "text": "Ashley Hill, Antonin Raffin, Maximilian Ernestus, Adam Gleave, Rene Traore, Prafulla Dhariwal, Christopher Hesse, Oleg Klimov, Alex Nichol, Matthias Plappert, Alec Radford, John Schulman, Szymon Sidor, and Yuhuai Wu. Stable Baselines. https://github.com/hill-a/ stable-baselines, 2018. ",
872
+ "bbox": [
873
+ 174,
874
+ 674,
875
+ 825,
876
+ 731
877
+ ],
878
+ "page_idx": 8
879
+ },
880
+ {
881
+ "type": "text",
882
+ "text": "Tobias Johannink, Shikhar Bahl, Ashvin Nair, Jianlan Luo, Avinash Kumar, Matthias Loskyll, Juan Aparicio Ojea, Eugen Solowjow, and Sergey Levine. Residual Reinforcement Learning for Robot Control. In International Conference on Robotics and Automation, pp. 6023–6029, 2019. ",
883
+ "bbox": [
884
+ 173,
885
+ 739,
886
+ 825,
887
+ 796
888
+ ],
889
+ "page_idx": 8
890
+ },
891
+ {
892
+ "type": "text",
893
+ "text": "Tejas D Kulkarni, Karthik Narasimhan, Ardavan Saeedi, and Josh Tenenbaum. Hierarchical Deep Reinforcement Learning: Integrating Temporal Abstraction and Intrinsic Motivation. In Advances in Neural Information Processing Systems, pp. 3675–3683, 2016. ",
894
+ "bbox": [
895
+ 173,
896
+ 806,
897
+ 823,
898
+ 848
899
+ ],
900
+ "page_idx": 8
901
+ },
902
+ {
903
+ "type": "text",
904
+ "text": "Alessandro Lazaric, Marcello Restelli, and Andrea Bonarini. Transfer of Samples in Batch Reinforcement Learning. In International Conference on Machine Learning, pp. 544–551, 2008. ",
905
+ "bbox": [
906
+ 174,
907
+ 857,
908
+ 820,
909
+ 886
910
+ ],
911
+ "page_idx": 8
912
+ },
913
+ {
914
+ "type": "text",
915
+ "text": "Siyuan Li and Chongjie Zhang. An Optimal Online Method of Selecting Source Policies for Reinforcement Learning. In AAAI Conference on Artificial Intelligence, 2018. ",
916
+ "bbox": [
917
+ 176,
918
+ 895,
919
+ 820,
920
+ 924
921
+ ],
922
+ "page_idx": 8
923
+ },
924
+ {
925
+ "type": "text",
926
+ "text": "Siyuan Li, Fangda Gu, Guangxiang Zhu, and Chongjie Zhang. Context-Aware Policy Reuse. In International Conference on Autonomous Agents and MultiAgent Systems, pp. 989–997, 2019. ",
927
+ "bbox": [
928
+ 173,
929
+ 103,
930
+ 823,
931
+ 133
932
+ ],
933
+ "page_idx": 9
934
+ },
935
+ {
936
+ "type": "text",
937
+ "text": "Daniel J Mankowitz, Timothy A Mann, Pierre-Luc Bacon, Doina Precup, and Shie Mannor. Learning Robust Options. In AAAI Conference on Artificial Intelligence, 2018. ",
938
+ "bbox": [
939
+ 173,
940
+ 141,
941
+ 823,
942
+ 171
943
+ ],
944
+ "page_idx": 9
945
+ },
946
+ {
947
+ "type": "text",
948
+ "text": "Takayuki Osa, Voot Tangkaratt, and Masashi Sugiyama. Hierarchical Reinforcement Learning via Advantage-Weighted Information Maximization. In International Conference on Learning Representations, 2019. ",
949
+ "bbox": [
950
+ 176,
951
+ 180,
952
+ 823,
953
+ 223
954
+ ],
955
+ "page_idx": 9
956
+ },
957
+ {
958
+ "type": "text",
959
+ "text": "Krishan Rana, Ben Talbot, Michael Milford, and Niko Sunderhauf. Residual Reactive Navigation: ¨ Combining Classical and Learned Navigation Strategies For Deployment in Unknown Environments. arXiv preprint arXiv:1909.10972, 2019. ",
960
+ "bbox": [
961
+ 174,
962
+ 232,
963
+ 825,
964
+ 276
965
+ ],
966
+ "page_idx": 9
967
+ },
968
+ {
969
+ "type": "text",
970
+ "text": "Benjamin Rosman, Majd Hawasly, and Subramanian Ramamoorthy. Bayesian Policy Reuse. Machine Learning, 104(1):99–127, 2016. ",
971
+ "bbox": [
972
+ 173,
973
+ 285,
974
+ 823,
975
+ 314
976
+ ],
977
+ "page_idx": 9
978
+ },
979
+ {
980
+ "type": "text",
981
+ "text": "Steindor Sæmundsson, Katja Hofmann, and Marc Peter Deisenroth. Meta Reinforcement Learning ´ with Latent Variable Gaussian Processes. In Conference on Uncertainty in Artificial Intelligence, 2018. ",
982
+ "bbox": [
983
+ 173,
984
+ 323,
985
+ 826,
986
+ 366
987
+ ],
988
+ "page_idx": 9
989
+ },
990
+ {
991
+ "type": "text",
992
+ "text": "Gerrit Schoettler, Ashvin Nair, Jianlan Luo, Shikhar Bahl, Juan Aparicio Ojea, Eugen Solowjow, and Sergey Levine. Deep reinforcement learning for industrial insertion tasks with visual inputs and natural reward signals. 2019. ",
993
+ "bbox": [
994
+ 173,
995
+ 376,
996
+ 823,
997
+ 420
998
+ ],
999
+ "page_idx": 9
1000
+ },
1001
+ {
1002
+ "type": "text",
1003
+ "text": "John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal Policy Optimization Algorithms. arXiv preprint arXiv:1707.06347, 2017. ",
1004
+ "bbox": [
1005
+ 169,
1006
+ 428,
1007
+ 823,
1008
+ 458
1009
+ ],
1010
+ "page_idx": 9
1011
+ },
1012
+ {
1013
+ "type": "text",
1014
+ "text": "Tom Silver, Kelsey Allen, Josh Tenenbaum, and Leslie Kaelbling. Residual Policy Learning. arXiv preprint arXiv:1812.06298, 2018. ",
1015
+ "bbox": [
1016
+ 171,
1017
+ 467,
1018
+ 823,
1019
+ 497
1020
+ ],
1021
+ "page_idx": 9
1022
+ },
1023
+ {
1024
+ "type": "text",
1025
+ "text": "Jinhua Song, Yang Gao, Hao Wang, and Bo An. Measuring the Distance Between Finite Markov Decision Processes. In International Conference on Autonomous Agents and Multiagent Systems, pp. 468–476, 2016. ",
1026
+ "bbox": [
1027
+ 174,
1028
+ 506,
1029
+ 825,
1030
+ 549
1031
+ ],
1032
+ "page_idx": 9
1033
+ },
1034
+ {
1035
+ "type": "text",
1036
+ "text": "Richard S. Sutton and Andrew G. Barto. Introduction to Reinforcement Learning. MIT Press, 1st edition, 1998. ",
1037
+ "bbox": [
1038
+ 173,
1039
+ 558,
1040
+ 823,
1041
+ 588
1042
+ ],
1043
+ "page_idx": 9
1044
+ },
1045
+ {
1046
+ "type": "text",
1047
+ "text": "Richard S Sutton, Doina Precup, and Satinder Singh. Between MDPs and Semi-MDPs: A Framework for Temporal Abstraction in Reinforcement Learning. Artificial intelligence, 112(1-2):181– 211, 1999. ",
1048
+ "bbox": [
1049
+ 173,
1050
+ 597,
1051
+ 825,
1052
+ 638
1053
+ ],
1054
+ "page_idx": 9
1055
+ },
1056
+ {
1057
+ "type": "text",
1058
+ "text": "Jie Tan, Tingnan Zhang, Erwin Coumans, Atil Iscen, Yunfei Bai, Danijar Hafner, Steven Bohez, and Vincent Vanhoucke. Sim-to-real: Learning agile locomotion for quadruped robots. In Robotics: Science and Systems, 2018. ",
1059
+ "bbox": [
1060
+ 173,
1061
+ 648,
1062
+ 826,
1063
+ 693
1064
+ ],
1065
+ "page_idx": 9
1066
+ },
1067
+ {
1068
+ "type": "text",
1069
+ "text": "Ole Tange. GNU Parallel 2018. Ole Tange, 2018. URL https://doi.org/10.5281/ zenodo.1146014. ",
1070
+ "bbox": [
1071
+ 169,
1072
+ 700,
1073
+ 823,
1074
+ 731
1075
+ ],
1076
+ "page_idx": 9
1077
+ },
1078
+ {
1079
+ "type": "text",
1080
+ "text": "Matthew E. Taylor and Peter Stone. Transfer Learning for Reinforcement Learning Domains: A Survey. Journal of Machine Learning Research, 10(Jul):1633–1685, 2009. ",
1081
+ "bbox": [
1082
+ 171,
1083
+ 739,
1084
+ 823,
1085
+ 770
1086
+ ],
1087
+ "page_idx": 9
1088
+ },
1089
+ {
1090
+ "type": "text",
1091
+ "text": "Andrea Tirinzoni, Andrea Sessa, Matteo Pirotta, and Marcello Restelli. Importance Weighted Transfer of Samples in Reinforcement Learning. In International Conference on Machine Learning, pp. 4936–4945, 2018. ",
1092
+ "bbox": [
1093
+ 171,
1094
+ 779,
1095
+ 825,
1096
+ 821
1097
+ ],
1098
+ "page_idx": 9
1099
+ },
1100
+ {
1101
+ "type": "text",
1102
+ "text": "Joaquin Vanschoren. Meta-Learning: A Survey. arXiv preprint arXiv:1810.03548, 2018. ",
1103
+ "bbox": [
1104
+ 168,
1105
+ 830,
1106
+ 758,
1107
+ 848
1108
+ ],
1109
+ "page_idx": 9
1110
+ },
1111
+ {
1112
+ "type": "text",
1113
+ "text": "Hao Wang, Shaokang Dong, and Ling Shao. Measuring Structural Similarities in Finite MDPs. In International Joint Conference on Artificial Intelligence, pp. 3684–3690, 2019. ",
1114
+ "bbox": [
1115
+ 173,
1116
+ 856,
1117
+ 820,
1118
+ 886
1119
+ ],
1120
+ "page_idx": 9
1121
+ },
1122
+ {
1123
+ "type": "text",
1124
+ "text": "Wenhao Yu, C. Karen Liu, and Greg Turk. Policy Transfer with Strategy Optimization. In International Conference on Learning Representations, 2019. ",
1125
+ "bbox": [
1126
+ 173,
1127
+ 895,
1128
+ 821,
1129
+ 924
1130
+ ],
1131
+ "page_idx": 9
1132
+ },
1133
+ {
1134
+ "type": "text",
1135
+ "text": "Juanjuan Zhang, Pieter Fiers, Kirby A Witte, Rachel W Jackson, Katherine L Poggensee, Christopher G Atkeson, and Steven H Collins. Human-in-the-loop optimization of exoskeleton assistance during walking. Science, 356(6344):1280–1284, 2017. ",
1136
+ "bbox": [
1137
+ 174,
1138
+ 103,
1139
+ 823,
1140
+ 146
1141
+ ],
1142
+ "page_idx": 10
1143
+ },
1144
+ {
1145
+ "type": "text",
1146
+ "text": "Yan Zheng, Zhaopeng Meng, Jianye Hao, Zongzhang Zhang, Tianpei Yang, and Changjie Fan. A Deep Bayesian Policy Reuse Approach against Non-Stationary Agents. In Advances in Neural Information Processing Systems, pp. 954–964, 2018. ",
1147
+ "bbox": [
1148
+ 178,
1149
+ 155,
1150
+ 821,
1151
+ 196
1152
+ ],
1153
+ "page_idx": 10
1154
+ },
1155
+ {
1156
+ "type": "text",
1157
+ "text": "A APPENDIX: FURTHER EXPERIMENTAL DETAILS ",
1158
+ "text_level": 1,
1159
+ "bbox": [
1160
+ 174,
1161
+ 102,
1162
+ 606,
1163
+ 118
1164
+ ],
1165
+ "page_idx": 11
1166
+ },
1167
+ {
1168
+ "type": "text",
1169
+ "text": "In this section, we present all the experimental details for the six environments we used. Note that we did not do any hyperparameter-tuning but followed the default parameters of Hill et al. (2018). We used the Roboschool implementation of Hopper, Ant, and InvertedPendulumSwingup since they are based on an open-source engine, which makes it possible for every researcher to reproduce our experiments. To run our experiments in parallel, we used GNU Parallel tool (Tange, 2018). ",
1170
+ "bbox": [
1171
+ 174,
1172
+ 133,
1173
+ 825,
1174
+ 204
1175
+ ],
1176
+ "page_idx": 11
1177
+ },
1178
+ {
1179
+ "type": "text",
1180
+ "text": "A.1 HYPERPARAMETERS ",
1181
+ "text_level": 1,
1182
+ "bbox": [
1183
+ 176,
1184
+ 220,
1185
+ 361,
1186
+ 234
1187
+ ],
1188
+ "page_idx": 11
1189
+ },
1190
+ {
1191
+ "type": "text",
1192
+ "text": "Tables 5 and 6 summarize all the hyperparameters used for experiments on each environment. As done by Hill et al. (2018), to have a successful training, rewards and input observations are normalized using their running average and standard deviation for all the environments except CartPole and LunarLander. Also, in all of the experiments, $\\theta _ { \\mathrm { a g g } }$ is initialized to be the all-ones matrix. ",
1193
+ "bbox": [
1194
+ 174,
1195
+ 246,
1196
+ 825,
1197
+ 303
1198
+ ],
1199
+ "page_idx": 11
1200
+ },
1201
+ {
1202
+ "type": "table",
1203
+ "img_path": "images/f5716c2cf9287c56d96c410c925ee69907967ab026530c04b6b4e0d3746a4351.jpg",
1204
+ "table_caption": [
1205
+ "Table 5: Hyperparameters for Acrobot, CartPole, Hopper, Ant and InvertedPendulumSwingup. "
1206
+ ],
1207
+ "table_footnote": [],
1208
+ "table_body": "<table><tr><td>PPO Parameters</td><td>Acrobot</td><td>CartPole</td><td>Hopper</td><td>Ant</td><td>InvertedPendulumSwingup</td></tr><tr><td>#Training samples</td><td>200K</td><td>100K</td><td>2M</td><td>2M</td><td>2M</td></tr><tr><td>#Updates per rollout</td><td>4</td><td>20</td><td>10</td><td>10</td><td>10</td></tr><tr><td>Learning rate</td><td>2.5e-4</td><td>1e-3</td><td>2.5e-4</td><td>2.5e-4</td><td>2.5e-4</td></tr><tr><td>Mini batch size</td><td>8</td><td>1</td><td>128</td><td>32</td><td>32</td></tr><tr><td>Discount factor</td><td>0.99</td><td>0.98</td><td>0.99</td><td>0.99</td><td>0.99</td></tr><tr><td>GAE 入</td><td>0.94</td><td>0.8</td><td>0.95</td><td>0.95</td><td>0.95</td></tr><tr><td>Clip ratio</td><td>0.2</td><td>0.2</td><td>0.2</td><td>0.2</td><td>0.2</td></tr><tr><td>Value function coefficient</td><td>0.5</td><td>0.5</td><td>0.5</td><td>0.5</td><td>0.5</td></tr><tr><td>Entropy coefficient</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td></tr><tr><td>Gradient clipping value</td><td>0.5</td><td>0.5</td><td>0.5</td><td>0.5</td><td>0.5</td></tr><tr><td>Optimizer</td><td>Adam</td><td>Adam</td><td>Adam</td><td>Adam</td><td>Adam</td></tr><tr><td colspan=\"6\">MLP&amp; Faux Parameters</td></tr><tr><td>Hidden layers</td><td>64-64</td><td>64-64</td><td>64-64</td><td>16</td><td>64-64</td></tr><tr><td>Activation functions</td><td>tanh</td><td>tanh</td><td>tanh</td><td>tanh</td><td>tanh</td></tr></table>",
1209
+ "bbox": [
1210
+ 173,
1211
+ 342,
1212
+ 823,
1213
+ 583
1214
+ ],
1215
+ "page_idx": 11
1216
+ },
1217
+ {
1218
+ "type": "table",
1219
+ "img_path": "images/c49d93d112ea3f2bc3129e8f049cbbb58f4054de67fa567df08c1ba7ecc48d44.jpg",
1220
+ "table_caption": [
1221
+ "Table 6: Hyperparameters for LunarLander. "
1222
+ ],
1223
+ "table_footnote": [],
1224
+ "table_body": "<table><tr><td>SAC Parameters</td><td>LunarLander</td></tr><tr><td>#Training samples</td><td>500K</td></tr><tr><td>#Steps before learning starts</td><td>1K</td></tr><tr><td>Buffer size</td><td>50K</td></tr><tr><td>Learning rate</td><td>3e-4</td></tr><tr><td>Mini batch size</td><td>256</td></tr><tr><td>Discount factor</td><td>0.99</td></tr><tr><td>Soft update coefficient T</td><td>5e-3</td></tr><tr><td>Entropy coefficient</td><td>learned automatically</td></tr><tr><td>Model training frequency</td><td>1</td></tr><tr><td>Target network training frequency</td><td>1</td></tr><tr><td>#Gradient updates after each step</td><td>1</td></tr><tr><td>Probability of taking a random action</td><td>0</td></tr><tr><td>Action noise</td><td>none</td></tr><tr><td>Optimizer</td><td>Adam</td></tr><tr><td colspan=\"2\">MLP&amp; Faux Parameters</td></tr><tr><td>Hidden layers</td><td>64-64</td></tr><tr><td>Activation functions</td><td>relu</td></tr></table>",
1225
+ "bbox": [
1226
+ 292,
1227
+ 628,
1228
+ 700,
1229
+ 910
1230
+ ],
1231
+ "page_idx": 11
1232
+ },
1233
+ {
1234
+ "type": "text",
1235
+ "text": "A.2 SAMPLING RANGE OF THE ENVIRONMENTAL PARAMETERS ",
1236
+ "text_level": 1,
1237
+ "bbox": [
1238
+ 174,
1239
+ 103,
1240
+ 629,
1241
+ 118
1242
+ ],
1243
+ "page_idx": 12
1244
+ },
1245
+ {
1246
+ "type": "text",
1247
+ "text": "Sampling ranges for dynamics and kinematics of each environment are provided in Tables 7, 8, 9, 10, 11 and 12. We defined these sampling ranges such that the resulting environments are stable enough for successfully training an MLP policy. To do so, we trained MLP policies across wide ranges of environmental parameters and chose the ranges in which the policy converged. ",
1248
+ "bbox": [
1249
+ 173,
1250
+ 128,
1251
+ 825,
1252
+ 185
1253
+ ],
1254
+ "page_idx": 12
1255
+ },
1256
+ {
1257
+ "type": "table",
1258
+ "img_path": "images/1034e4a335471d7f53e635c295c150811eddd2e632d633e1a1915656afdd0f14.jpg",
1259
+ "table_caption": [
1260
+ "Table 7: Sampling range for Ant kinematic and dynamic parameters. "
1261
+ ],
1262
+ "table_footnote": [],
1263
+ "table_body": "<table><tr><td></td><td>Kinematics</td></tr><tr><td>Links</td><td>Length Range</td></tr><tr><td>Legs</td><td>[0.4,1.4] × default length</td></tr><tr><td></td><td>Dynamics</td></tr><tr><td>Damping</td><td>[0.1, 5]</td></tr><tr><td>Friction</td><td>[0.4, 2.5]</td></tr><tr><td>Armature</td><td>[0.25,3]</td></tr><tr><td>Links mass</td><td>[0.7,1.1] × default mass</td></tr></table>",
1264
+ "bbox": [
1265
+ 173,
1266
+ 238,
1267
+ 441,
1268
+ 388
1269
+ ],
1270
+ "page_idx": 12
1271
+ },
1272
+ {
1273
+ "type": "table",
1274
+ "img_path": "images/1076c1b0e555b9b01692be3d1dfe73ab6355a4394bff1f490d5bcf459192c033.jpg",
1275
+ "table_caption": [
1276
+ "Table 9: Sampling range for Hopper kinematic and dynamic parameters. "
1277
+ ],
1278
+ "table_footnote": [],
1279
+ "table_body": "<table><tr><td colspan=\"2\">Kinematics</td></tr><tr><td>Links</td><td>Length Range (m)</td></tr><tr><td>Leg</td><td>[0.35, 0.65]</td></tr><tr><td>Foot</td><td>[0.29, 0.49]</td></tr><tr><td>Thigh</td><td>[0.35,0.55]</td></tr><tr><td>Torso</td><td>[0.3,0.5]</td></tr><tr><td></td><td>Dynamics</td></tr><tr><td>Damping Friction</td><td>[0.5,4]</td></tr><tr><td></td><td>[0.5,2]</td></tr><tr><td>Armature</td><td>[0.5,2]</td></tr><tr><td>Links mass</td><td>[0.7,1.1] × default mass</td></tr></table>",
1280
+ "bbox": [
1281
+ 173,
1282
+ 448,
1283
+ 433,
1284
+ 640
1285
+ ],
1286
+ "page_idx": 12
1287
+ },
1288
+ {
1289
+ "type": "table",
1290
+ "img_path": "images/6a55c1bf3971d88358027ab16634317dd5b02c002f1473f45ca8d4511c95d57d.jpg",
1291
+ "table_caption": [
1292
+ "Table 11: Sampling range for Acrobot kinematic and dynamic parameters. "
1293
+ ],
1294
+ "table_footnote": [],
1295
+ "table_body": "<table><tr><td>Kinematics</td></tr><tr><td>Links Length Range (m)</td></tr><tr><td>Link 1&amp;2 [0.3, 1.3]</td></tr><tr><td>Dynamics</td></tr><tr><td>Links mass [0.5, 1.5]</td></tr><tr><td>Links center mass [0.05, 0.95] × link length</td></tr><tr><td>Links inertia moments [0.25, 1.5]</td></tr></table>",
1296
+ "bbox": [
1297
+ 173,
1298
+ 709,
1299
+ 514,
1300
+ 845
1301
+ ],
1302
+ "page_idx": 12
1303
+ },
1304
+ {
1305
+ "type": "table",
1306
+ "img_path": "images/a64b505528b81f1f44de4ea2537a9f17aff38793dd33f0ffd627e0d889b9bebd.jpg",
1307
+ "table_caption": [
1308
+ "Table 8: Sampling range for CartPole kinematic and dynamic parameters. "
1309
+ ],
1310
+ "table_footnote": [],
1311
+ "table_body": "<table><tr><td></td><td>Kinematics</td></tr><tr><td>Links</td><td>Length Range (m)</td></tr><tr><td>Pole</td><td>[0.1, 3]</td></tr><tr><td></td><td>Dynamics</td></tr><tr><td>Force</td><td>[6,13]</td></tr><tr><td>Gravity</td><td>[-14, -6]</td></tr><tr><td>Poll mass</td><td>[0.1, 3]</td></tr><tr><td>Cart mass</td><td>[0.3,4]</td></tr></table>",
1312
+ "bbox": [
1313
+ 496,
1314
+ 238,
1315
+ 705,
1316
+ 388
1317
+ ],
1318
+ "page_idx": 12
1319
+ },
1320
+ {
1321
+ "type": "table",
1322
+ "img_path": "images/a701469eb4160df5850579f7a5d9543ee202c5d6dc712eb31e4bf2a8fd1f9de8.jpg",
1323
+ "table_caption": [
1324
+ "Table 10: Sampling range for InvertedPendulumSwingup kinematic and dynamic parameters. "
1325
+ ],
1326
+ "table_footnote": [],
1327
+ "table_body": "<table><tr><td></td><td>Kinematics</td></tr><tr><td>Links</td><td>Length Range (m)</td></tr><tr><td>Pole</td><td>[0.2, 2]</td></tr><tr><td></td><td>Dynamics</td></tr><tr><td>Damping Friction</td><td>[0.1, 5]</td></tr><tr><td>Armature</td><td>[0.5,2] [0.5, 3]</td></tr><tr><td>Gravity</td><td>[-11, -7]</td></tr><tr><td>Links mass</td><td>[0.4,3] × default mass</td></tr></table>",
1328
+ "bbox": [
1329
+ 496,
1330
+ 468,
1331
+ 745,
1332
+ 633
1333
+ ],
1334
+ "page_idx": 12
1335
+ },
1336
+ {
1337
+ "type": "table",
1338
+ "img_path": "images/39dfa6bfe0a1484614fb01430f997e71af5ca3df96911d65503a8831c0636ba0.jpg",
1339
+ "table_caption": [
1340
+ "Table 12: Sampling range for LunarLander kinematic and dynamic parameters. "
1341
+ ],
1342
+ "table_footnote": [],
1343
+ "table_body": "<table><tr><td></td><td>Kinematics</td></tr><tr><td>Side engine height</td><td>[10,20]</td></tr><tr><td></td><td>Dynamics</td></tr><tr><td>Scale</td><td>[25,50]</td></tr><tr><td>Initial Random</td><td>[500,1500]</td></tr><tr><td>Main engine power</td><td>[10,40]</td></tr><tr><td>Side engine power</td><td>[0.5,2]</td></tr><tr><td>Side engine away</td><td>[8,18]</td></tr></table>",
1344
+ "bbox": [
1345
+ 560,
1346
+ 713,
1347
+ 789,
1348
+ 857
1349
+ ],
1350
+ "page_idx": 12
1351
+ },
1352
+ {
1353
+ "type": "text",
1354
+ "text": "A.3 EVALUATION METHOD ",
1355
+ "text_level": 1,
1356
+ "bbox": [
1357
+ 176,
1358
+ 103,
1359
+ 377,
1360
+ 117
1361
+ ],
1362
+ "page_idx": 13
1363
+ },
1364
+ {
1365
+ "type": "text",
1366
+ "text": "In this section, we explain how we calculated the mean of average episodic rewards in Tables 1, 2, 3, and 4, over a specific number of training samples (the numbers at the header of the tables e.g., 25K, 50K, 75K, and 100K for the CartPole) which we denote by $T$ in what follows. For each experiment in an environment instance, we computed the average episodic reward by taking the average of the rewards over all the episodes the agent played from the beginning of the training until collecting $T$ number of training samples. Then we collected the computed average episodic rewards of all the experiments, i.e., all the combinations of three random seeds, three random sets of source policies (for RPL and MULTIPOLAR), and 100 target environment instances. Finally, we used the sample bootstrap method (Efron & Tibshirani, 1993) to estimate the mean and the $9 5 \\%$ confidence bounds of the collected average episodic rewards. We used the Facebook Boostrapped implementation: https://github.com/facebookincubator/bootstrapped. ",
1367
+ "bbox": [
1368
+ 173,
1369
+ 130,
1370
+ 825,
1371
+ 282
1372
+ ],
1373
+ "page_idx": 13
1374
+ },
1375
+ {
1376
+ "type": "text",
1377
+ "text": "A.4 SOURCE POLICIES HISTOGRAMS ",
1378
+ "text_level": 1,
1379
+ "bbox": [
1380
+ 176,
1381
+ 299,
1382
+ 444,
1383
+ 314
1384
+ ],
1385
+ "page_idx": 13
1386
+ },
1387
+ {
1388
+ "type": "text",
1389
+ "text": "To generate environment instances, we uniformly sampled the dynamics and kinematics parameters from the ranges defined in Section A.2. Figure 5 illustrates the histograms of the final episodic rewards of source policies on the original environment instances in which they were acquired. ",
1390
+ "bbox": [
1391
+ 174,
1392
+ 325,
1393
+ 825,
1394
+ 367
1395
+ ],
1396
+ "page_idx": 13
1397
+ },
1398
+ {
1399
+ "type": "image",
1400
+ "img_path": "images/0be9c1f71aecd88756cfa0512ec64d25b083c5e29bde1230bf860ee7d8bff757.jpg",
1401
+ "image_caption": [
1402
+ "Figure 5: Histogram of final episodic rewards obtained by source policies per environment. "
1403
+ ],
1404
+ "image_footnote": [],
1405
+ "bbox": [
1406
+ 174,
1407
+ 382,
1408
+ 816,
1409
+ 625
1410
+ ],
1411
+ "page_idx": 13
1412
+ },
1413
+ {
1414
+ "type": "text",
1415
+ "text": "B APPENDIX: ADDITIONAL RESULTS ",
1416
+ "text_level": 1,
1417
+ "bbox": [
1418
+ 174,
1419
+ 102,
1420
+ 500,
1421
+ 118
1422
+ ],
1423
+ "page_idx": 14
1424
+ },
1425
+ {
1426
+ "type": "text",
1427
+ "text": "B.1 LEARNED AGGREGATION PARAMETERS VISUALIZATION ",
1428
+ "text_level": 1,
1429
+ "bbox": [
1430
+ 174,
1431
+ 135,
1432
+ 599,
1433
+ 148
1434
+ ],
1435
+ "page_idx": 14
1436
+ },
1437
+ {
1438
+ "type": "text",
1439
+ "text": "Figure 6 visualizes an example of how the aggregation parameters $\\theta _ { \\mathrm { a g g } }$ for the four policies and their three actions were learned during the 2M timestep training of MULTIPOLAR $K = 4$ ) policy in the Hopper environment. In this example, the source policies in the first and second rows were sampled from low-performance pools whereas those in the third and fourth rows were sampled from high-performance pools (see Section 4.2 for more details). It illustrates that MULTIPOLAR can successfully suppress the two useless low-performing policies as the training progresses. ",
1440
+ "bbox": [
1441
+ 173,
1442
+ 160,
1443
+ 825,
1444
+ 244
1445
+ ],
1446
+ "page_idx": 14
1447
+ },
1448
+ {
1449
+ "type": "image",
1450
+ "img_path": "images/57dd8546403219d3cf6515abd1a9f92655811ea2d32137aed1e4c0e867f4e31b.jpg",
1451
+ "image_caption": [
1452
+ "Figure 6: Aggregation parameters $\\theta _ { \\mathrm { a g g } }$ during the training of MULTIPOLAR $K = 4$ ) in the Hopper that has 3-dimensional actions. Here, the first two source policies are low-performing and the last two are high-performing in their original environment instance. "
1453
+ ],
1454
+ "image_footnote": [],
1455
+ "bbox": [
1456
+ 194,
1457
+ 265,
1458
+ 808,
1459
+ 752
1460
+ ],
1461
+ "page_idx": 14
1462
+ },
1463
+ {
1464
+ "type": "text",
1465
+ "text": "B.2 MULTIPOLAR WITH RANDOMLY INITIALIZED POLICIES ",
1466
+ "text_level": 1,
1467
+ "bbox": [
1468
+ 173,
1469
+ 840,
1470
+ 614,
1471
+ 856
1472
+ ],
1473
+ "page_idx": 14
1474
+ },
1475
+ {
1476
+ "type": "text",
1477
+ "text": "To further study how having low-performing source policies affects MULTIPOLAR sample efficiency, we evaluated MULTIPOLAR $\\scriptstyle ( \\mathrm { K } = 4 )$ in the Hopper environment, where the sources are randomly initialized policies, i.e., policies that predict actions randomly. Following our experimental procedure explained in Section 4.1, Table 13 reports the bootstrap mean and $9 5 \\%$ confidence bounds of average episodic rewards over various training samples for this experiment and compares it with MULTIPOLAR with four low-performing sources. This result suggests that the sample efficiency of MULTIPOLAR $K = 4$ ) with low-performing source policies (i.e., source policies which had low final episodic rewards in their own environments) is almost the same as with randomly initialized source policies. ",
1478
+ "bbox": [
1479
+ 174,
1480
+ 867,
1481
+ 825,
1482
+ 924
1483
+ ],
1484
+ "page_idx": 14
1485
+ },
1486
+ {
1487
+ "type": "text",
1488
+ "text": "",
1489
+ "bbox": [
1490
+ 174,
1491
+ 103,
1492
+ 825,
1493
+ 174
1494
+ ],
1495
+ "page_idx": 15
1496
+ },
1497
+ {
1498
+ "type": "table",
1499
+ "img_path": "images/09733dadbaea46488b71ff5ab3d7ee21703fb415edb8920395ab1006283ef492.jpg",
1500
+ "table_caption": [
1501
+ "Table 13: Results for MULTIPOLAR with low-performing source policies vs. with randomly initialized source policies in Hopper. "
1502
+ ],
1503
+ "table_footnote": [],
1504
+ "table_body": "<table><tr><td>MULTIPOLAR (K=4)</td><td>0.5M</td><td>1M</td><td>1.5M</td><td>2M</td></tr><tr><td>4 randomly initialized</td><td>27 (26,28)</td><td>47 (45,49)</td><td>73 (70,76)</td><td>101 (96,106)</td></tr><tr><td>4 low performance [Table 3]</td><td>27 (26,27)</td><td>45 (44,47)</td><td>68 (66,71)</td><td>92 (88,95)</td></tr></table>",
1505
+ "bbox": [
1506
+ 241,
1507
+ 227,
1508
+ 751,
1509
+ 281
1510
+ ],
1511
+ "page_idx": 15
1512
+ },
1513
+ {
1514
+ "type": "text",
1515
+ "text": "B.3 INDIVIDUAL AVERAGE LEARNING CURVES ",
1516
+ "text_level": 1,
1517
+ "bbox": [
1518
+ 178,
1519
+ 306,
1520
+ 508,
1521
+ 319
1522
+ ],
1523
+ "page_idx": 15
1524
+ },
1525
+ {
1526
+ "type": "text",
1527
+ "text": "As an example, we visualized the individual average learning curve of policies for each of the environment instances of the Roboschool environments. Figures 7, 8 and 9 compare the individual average learning curves of MULTIPOLAR to the baseline policies in the 100 target environment instances. ",
1528
+ "bbox": [
1529
+ 174,
1530
+ 332,
1531
+ 825,
1532
+ 387
1533
+ ],
1534
+ "page_idx": 15
1535
+ },
1536
+ {
1537
+ "type": "image",
1538
+ "img_path": "images/e4eb52e7c977c3a56b2dccf061aa0dfb71a2c60f78337782e2bb03fc8718535d.jpg",
1539
+ "image_caption": [],
1540
+ "image_footnote": [],
1541
+ "bbox": [
1542
+ 173,
1543
+ 169,
1544
+ 825,
1545
+ 853
1546
+ ],
1547
+ "page_idx": 16
1548
+ },
1549
+ {
1550
+ "type": "image",
1551
+ "img_path": "images/c6862a3c1a24cb20629a13cc9eb366d0dbfbb9a2cb08c13a8f0541e97cf8e2ca.jpg",
1552
+ "image_caption": [
1553
+ "Figure 7: Average learning curves of MULTIPOLAR with $K = 4$ in red, RPL in green and MLP in blue over 3 random seeds and 3 random source policy sets for all the 100 target environment instances of Hopper. "
1554
+ ],
1555
+ "image_footnote": [],
1556
+ "bbox": [
1557
+ 173,
1558
+ 136,
1559
+ 825,
1560
+ 824
1561
+ ],
1562
+ "page_idx": 17
1563
+ },
1564
+ {
1565
+ "type": "image",
1566
+ "img_path": "images/ea707dea9568e1a8d1a8b91de6a9c98811976f5551e75c5188c01f77be7c0ba0.jpg",
1567
+ "image_caption": [],
1568
+ "image_footnote": [],
1569
+ "bbox": [
1570
+ 173,
1571
+ 169,
1572
+ 825,
1573
+ 853
1574
+ ],
1575
+ "page_idx": 18
1576
+ },
1577
+ {
1578
+ "type": "image",
1579
+ "img_path": "images/6f9658417c18788452a51e015b554b1b3545f1189b5c6380d512c2b9e07dc979.jpg",
1580
+ "image_caption": [
1581
+ "Figure 8: Average learning curves of MULTIPOLAR with $K = 4$ in red, RPL in green and MLP in blue over 3 random seeds and 3 random source policy sets for all the 100 target environment instances of Ant. "
1582
+ ],
1583
+ "image_footnote": [],
1584
+ "bbox": [
1585
+ 173,
1586
+ 136,
1587
+ 825,
1588
+ 824
1589
+ ],
1590
+ "page_idx": 19
1591
+ },
1592
+ {
1593
+ "type": "image",
1594
+ "img_path": "images/b8a9e9c527173a89c9ec98f3a8e0a95cdc8779d835c9317a2fe0bb5061d56dee.jpg",
1595
+ "image_caption": [],
1596
+ "image_footnote": [],
1597
+ "bbox": [
1598
+ 173,
1599
+ 178,
1600
+ 828,
1601
+ 840
1602
+ ],
1603
+ "page_idx": 20
1604
+ },
1605
+ {
1606
+ "type": "image",
1607
+ "img_path": "images/d025cc830dec21628c83e601a8c9e352c28495f4634e27aad128f7a00981b7e4.jpg",
1608
+ "image_caption": [
1609
+ "Figure 9: Average learning curves of MULTIPOLAR with $K = 4$ in red, RPL in green and MLP in blue over 3 random seeds and 3 random source policy sets for all the 100 target environment instances of InvertedPendulumSwingup. "
1610
+ ],
1611
+ "image_footnote": [],
1612
+ "bbox": [
1613
+ 174,
1614
+ 151,
1615
+ 825,
1616
+ 813
1617
+ ],
1618
+ "page_idx": 21
1619
+ }
1620
+ ]
parse/train/Byx9p2EtDH/Byx9p2EtDH_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/Byx9p2EtDH/Byx9p2EtDH_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/Eql5b1_hTE4/Eql5b1_hTE4.md ADDED
@@ -0,0 +1,348 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ROBUST EARLY-LEARNING: HINDERING THE MEMORIZATION OF NOISY LABELS
2
+
3
+ Xiaobo Xia1 Tongliang $\mathbf { L i u ^ { 1 } } ^ { \cdot }$ † Bo Han2
4
+ Chen Gong3 Nannan Wang4 Zongyuan $\mathbf { G e ^ { 5 , 6 } }$ Yi Chang7
5
+ 1Trustworthy Machine Learning Lab, School of Computer Science, The University of Sydney
6
+ 2Department of Computer Science, Hong Kong Baptist University
7
+ 3School of Computer Science and Engineering, Nanjing University of Science and Technology
8
+ 4ISN State Key Laboratory, School of Telecommunications Engineering, Xidian University
9
+ 5Medical AI Group, Faculty of Engineering, Monash University
10
+ 6Airdoc Research, Monash University
11
+ 7School of Artificial Intelligence, Jilin University
12
+
13
+ # ABSTRACT
14
+
15
+ The memorization effects of deep networks show that they will first memorize training data with clean labels and then those with noisy labels. The early stopping method therefore can be exploited for learning with noisy labels. However, the side effect brought by noisy labels will influence the memorization of clean labels before early stopping. In this paper, motivated by the lottery ticket hypothesis which shows that only partial parameters are important for generalization, we find that only partial parameters are important for fitting clean labels and generalize well, which we term as critical parameters; while the other parameters tend to fit noisy labels and cannot generalize well, which we term as non-critical parameters. Based on this, we propose robust early-learning to reduce the side effect of noisy labels before early stopping and thus enhance the memorization of clean labels. Specifically, in each iteration, we divide all parameters into the critical and non-critical ones, and then perform different update rules for different types of parameters. Extensive experiments on benchmark-simulated and real-world label-noise datasets demonstrate the superiority of the proposed method over the state-of-the-art label-noise learning methods.
16
+
17
+ # 1 INTRODUCTION
18
+
19
+ Deep neural networks have achieved a remarkable success in various tasks, such as image classification (He et al., 2015), object detection (Ren et al., 2015), speech recognition (Graves et al., 2013), and machine translation (Wu et al., 2016). However, the success is largely attributed to large amounts of data with high-quality annotations, which is expensive or even infeasible in practice (Han et al., 2018a; Li et al., 2020a; Wu et al., 2020). On the other hand, many large-scale datasets are collected from image search engines or web crawlers, which inevitably involves noisy labels (Xiao et al., 2015; Li et al., 2017a; Zhu et al., 2021). As deep networks have large learning capacities and strong memorization power, they will ultimately overfit noisy labels, leading to poor generalization performance (Jiang et al., 2018; Nguyen et al., 2020). General regularization techniques such as dropout and weight decay cannot address this issue well (Zhang et al., 2017).
20
+
21
+ Fortunately, even though deep networks will fit all the labels eventually, they first fit data with clean labels, which helps generalization (Arpit et al., 2017; Han et al., 2018b; Yu et al., 2019; Liu et al., 2020). Thus, the early stopping method can be used to reduce overfitting to the noisy labels (Rolnick et al., 2017; Li et al., 2020b; Hu et al., 2020). However, the existence of noisy labels will still adversely affect the memorization of clean labels even in the early training stage. This will hurt generalization (Han et al., 2020). Intuitively, if we can reduce the side effect of noisy labels before early stopping, the generalization and robustness of the networks can be improved.
22
+
23
+ Note that over-parameterization of deep networks is one of the main reasons for overfitting to noisy labels (Zhang et al., 2017; Yao et al., 2020a). The lottery ticket hypothesis (Frankle & Carbin, 2018) shows that only partial parameters are important for generalization. The deep networks with these important parameters can generalize well, or even better by avoid overfitting. Motivated by this, for learning with noisy labels, it remains a question if we can divide the parameters into two parts to reduce the side effect brought by noisy labels, which enhances the memorization of clean labels and further improves the generalization performance of the deep networks.
24
+
25
+ In this paper, we present a novel and effective method to find which parameters are important for fitting data with clean labels, and which parameters tend to fit data with noisy labels. We term the former as critical parameters, and the latter as non-critical parameters. Then on this basis, we proposed robust early-learning to reduce the side effect of noisy labels before early stopping. Specifically, in each iteration during training, we first categorize all parameters into two parts, i.e., the critical parameters and the non-critical parameters. Then we designed different update rules for different types of parameters. For the critical ones, we perform robust positive update. This part of the parameters are updated using the gradients derived from the objective function and weight decay. For the non-critical ones, we perform negative update. Their values are penalized with the weight decay, and without the gradients derived from the objective function. Note that the gradients for updating are based on the loss between the prediction of deep networks and given labels. For the critical ones, they tend to fit data with clean (correct) labels to help generalization. Their gradients can therefore be exploited to update parameters. However, for the non-critical ones, they tend to fit data with noisy (incorrect) labels, which hurts generalization. Their gradients will misguide the deep networks to overfit data with noisy labels. Thus, we only use a regularization item, i.e., the weight decay, to update them. The weight decay will penalize their values to be zero, which means that they are penalized to be deactivated, and not to contribute to the generalization of deep networks. In this way, we can reduce the side effect of noisy labels and enhance the memorization of clean labels. In summary, the main contributions of this work are as follows:
26
+
27
+ • We propose a novel and effective method which can categorize the parameters into two parts according to whether they are important to fit data with clean labels.
28
+ • Different update rules have been designed for different types of the parameters to reduce the side effect of noisy labels before early stopping.
29
+ • We experimentally validate the proposed method on both synthetic noisy datasets and real-world noisy datasets, on which it achieves superior robustness compared with the state-of-the-art methods for learning with noisy labels.
30
+
31
+ Related Work. Early stopping is quite simple but effective in practice. It was used in supervised learning early (Prechelt, 1998; Caruana et al., 2001; Zhang et al., 2005; Yao et al., 2007). With the help of a validation set, training is then stopped before convergence to avoid the overfitting. While learning with noisy labels, the networks fit the data with clean labels before starting to overfit the data with noisy labels (Arpit et al., 2017). Early stopping is then formally proved to be valid for relieving overfitting to noisy labels (Rolnick et al., 2017; Li et al., 2020b). It has also been widely used in existing methods to improve robustness and generalization (Yu et al., 2018b; Xu et al., 2019; Yao et al., 2020b; Cheng et al., 2021).
32
+
33
+ The lottery ticket hypothesis (Frankle & Carbin, 2018) shows that deep networks are likely to be over-parameterized, and only partial parameters are important for generalization. With this part of the parameters, the small and sparsified networks can be trained to generalize well. While this work is motivated by the lottery ticket hypotheis, this work is fundamentally different from it. The lottery ticket hypothesis focuses on network compression. It aims to find a sparsified sub-network which has competitive generalization performance compared with the original network. This paper focuses on learning with noisy labels. We want to find the critical/non-critical parameters to reduce the side effect of noisy labels, which greatly improves the generalization performance.
34
+
35
+ Lots of work proposed various methods for training with noisy labels, such as exploiting a noise transition matrix (Liu & Tao, 2016; Hendrycks et al., 2018; Xia et al., 2020a; Li et al., 2021), using graph models (Xiao et al., 2015; Li et al., 2017b), using surrogate loss functions (Zhang & Sabuncu, 2018; Wang et al., 2019; Ma et al., 2020), meta-learning (Ren et al., 2018; Shu et al., 2020), and employing the small loss trick (Jiang et al., 2018; Han et al., 2018b; Yu et al., 2019). Some methods among them employ early stopping explicitly or implicitly (Patrini et al., 2017; Xia et al., 2019). We also use early stopping in this paper. We are the first to hinder the memorization of noisy labels with analyzing the criticality of parameters.
36
+
37
+ Organization. The rest of the paper is organized as follows. In Section 2, we setup the problem and introduce the neural network optimization method. In Section 3, we discuss how to find the critical parameters and perform different update rules. In Section 4, we provide empirical evaluations of the proposed learning algorithm. Finally, Section 5 concludes the paper.
38
+
39
+ # 2 PRELIMINARIES
40
+
41
+ Notation. Vectors and matrices are denoted by bold-faced letters. The standard inner product between two vectors is denoted by $\langle \cdot , \cdot \rangle$ . We use $\| \cdot \| _ { p }$ as the $\ell _ { p }$ norm of vectors or matrices. For a function $f$ , we use $\nabla f$ to denote its gradient. Let $[ \boldsymbol { \mathrm { n } } ] = \mathbf { \bar { \{ } } 1 , 2 , \dots , n \}$ .
42
+
43
+ Problem Setup. Consider a classification task, there are $c$ classes. Let $\mathcal { X }$ and $\mathcal { V }$ be the feature and label spaces respectively, where $\boldsymbol { \mathcal { X } } \in \mathbb { R } ^ { d }$ with $d$ being the dimensionality, and $\mathcal { V } = [ c ]$ . The joint probability distribution over $\mathcal { X } \times \mathcal { V }$ is denoted by $D$ . Let ${ \cal S } = \{ ( { \bf x } _ { i } , { \bf y } _ { i } ) \} _ { i = 1 } ^ { n }$ be an i.i.d. sample drawn from $D$ , where $n$ denotes the sample size. In traditional supervised learning, by employing $S$ , the aim is to learn a classifier that can assign labels precisely for given instances. While learning with noisy labels, we are given a sample with noisy labels $\widetilde { S } = \{ ( \mathbf { x } _ { i } , \widetilde { \mathbf { y } } _ { i } ) \} _ { i = 1 } ^ { n }$ , which is drawn from a corrupted joint probability distribution $\widetilde { D }$ rather than $D$ . Here, $\widetilde { \mathrm { y } }$ is the possibly corrupted label of the eunderlying clean label y. The aim is changed to learn a robust classifier that could assign clean labels to test data by only exploiting a training sample with noisy labels.
44
+
45
+ # 2.1 NEURAL NETWORK OPTIMIZATION METHOD
46
+
47
+ The optimization method is essential for training neural networks. Stochastic gradient descent (SGD) is the most popular one nowadays among the optimization methods (Allen-Zhu et al., 2019; Cao & Gu, 2019; Zou et al., 2020). Our proposed method is directly related to SGD. We analyze the optimization problem of typical supervised learning with clean labels as knowledge background. Consider a classifier to be trained, let $\mathcal { W } \in \mathbb { R } ^ { m }$ be all the parameters, where $m$ is the total number of the parameters. Let $L : \mathbb { R } ^ { c } \times \mathcal { Y } \mathbb { R } _ { + }$ be the surrogate loss function, e.g., cross entropy loss. With a regularization item, e.g., $\ell _ { 1 }$ regularizer, optimization method would involve minimizing an objective function as:
48
+
49
+ $$
50
+ \operatorname* { m i n } L ( \mathcal { W } ; S ) = \operatorname* { m i n } \frac { 1 } { n } \sum _ { i = 1 } ^ { n } L ( \mathcal { W } ; ( \mathbf { x } _ { i } , \mathbf { y } _ { i } ) ) + \lambda \| \mathcal { W } \| _ { 1 } ,
51
+ $$
52
+
53
+ where $\lambda \in \mathbb { R } _ { + }$ is a regularization parameter. The update rules of the parameters $\mathcal { W }$ can be represented by the following formula:
54
+
55
+ $$
56
+ \mathcal { W } ( k + 1 ) \mathcal { W } ( k ) - \eta ( \frac { \partial L ( \mathcal { W } ( k ) ; S ^ { \star } ) } { \partial \mathcal { W } ( k ) } + \lambda \mathrm { s g n } ( \mathcal { W } ( k ) ) ) ,
57
+ $$
58
+
59
+ where $\eta > 0$ is the learning rate, $\mathcal { W } ( k )$ is the set of the parameters at the $k$ -th iteration, $\operatorname { s g n } ( { \mathord { \cdot } } )$ is the standard sgn function in mathematics, and $S ^ { \star }$ is a subset randomly sampled from $S$ . With SGD, the regularization parameter $\lambda$ is equivalent to the weight decay coefficient in the training process (Loshchilov & Hutter, 2019).
60
+
61
+ # 3 METHODOLOGY
62
+
63
+ In this section, we first introduce an alternative interpretation for the optimality criterion (Section 3.1). Then, we present how to determine the critical/non-critical parameters by exploiting this interpretation during training and the memorization effect of deep neural networks (Section 3.2). Finally, different update rules are proposed for different types of parameters to cope with noisy labels (Section 3.3).
64
+
65
+ # 3.1 OPTIMALITY CRITERION
66
+
67
+ For the optimization of the objective function $L ( \mathcal { W } ; S )$ , the optimality will be achieved at $\mathcal { W }$ when $\nabla L ( \mathcal { W } ; S ) = \mathbf { 0 }$ (Boyd et al., 2004; Bubeck, 2014). However, modern neural networks are complex and over-parameterized, which makes $\nabla L ( \boldsymbol { \mathcal { W } } ; S )$ extremely high-dimensional. It is unintuitive for us to analyze high-dimensional vectors. The optimality is hard to be effectively judged. To address this issue, we will use a more intuitive interpretation for optimality criterion in this paper, which can associate the optimization with a scalar. Specifically, if we let $G ( t ) ~ = ~ L ( t { \bar { \mathcal { W } } } ; { \overline { { S } } } )$ ,
68
+
69
+ $G ^ { \prime } ( t ) = \nabla L ( t \mathcal { W } ; S ) ^ { \top } \mathcal { W }$ . Let $t = 1$ , then $G ^ { \prime } ( 1 ) = \nabla L ( \mathcal { W } ; S ) ^ { \top } \mathcal { W } = \langle \nabla L ( \mathcal { W } ; S ) , \mathcal { W } \rangle$ . We know that the optimality can be reached when $\nabla L ( \mathcal { W } ; S ) = \mathbf { 0 }$ , then $G ^ { \prime } ( 1 ) = 0$ . In this way, the optimality can be checked by exploiting the scalar $G ^ { \prime } ( 1 )$ . Note that the new optimality criterion is sufficient, but is not necessary. In this paper, we focus on learning with noisy labels, and the necessity of the new optimality criterion does not affect the effectiveness of the proposed method. We will discuss this carefully in the next subsection.
70
+
71
+ # 3.2 JUDGING THE IMPORTANCE OF NETWORK PARAMETERS
72
+
73
+ We have shown that the optimization of the objective function can be related to a scalar $G ^ { \prime } ( 1 )$ . Its value is equal to the inner product between the value of the parameters and the gradient w.r.t. the parameters. To achieve the optimality, we need to push the value of $G ^ { \prime } ( 1 )$ to be zero. Thus, we can judge the importance of each parameter through its influence on the value of $G ^ { \prime } ( 1 )$ . Note that the memorization effects of deep networks show they first memorize the data with clean labels. The parameters that contribute to the optmiality at the early stage are therefore important for clean labels. Consider a parameter, denoted by $\mathrm { w } _ { i } \in \mathcal { W }$ , its gradient is $\nabla L ( \mathrm { w } _ { i } ; S )$ . The judgement criteria is denoted by $g _ { i }$ , i.e.,
74
+
75
+ $$
76
+ g _ { i } = \lvert \nabla L ( \mathrm { w } _ { i } ; S ) \times \mathrm { w } _ { i } \rvert , i \in [ m ] .
77
+ $$
78
+
79
+ If the value of $g _ { i }$ is large, $\mathrm { w } _ { i }$ is viewed as a critical parameter, as $g _ { i }$ has a great influence on the value of $G ^ { \prime } ( 1 )$ . On the contrary, if the value of $g _ { i }$ is small, e.g., zero or very close to zero, $\mathrm { w } _ { i }$ is regarded to be a non-critical parameter. It is not important for fitting clean labels. If we update it, it will tend to fit noisy labels.
80
+
81
+ The underlying issue of directly using the gradient of $L ( \mathbb { w } _ { i } ; S )$ as a criterion for the criticality can be identified. When we only exploit gradient information, we ignore the value of the parameter $\mathrm { w } _ { i }$ However, if the value is zero or close to zero, the parameter is inactivated. It is also non-critical for optimality (Han et al., 2015; Frankle & Carbin, 2018; Lee et al., 2019). Note that we use early stopping in this paper. The deep networks mainly fit clean labels in the early training. Thus, even with the existence of noisy labels, we can use the criterion to analyze the criticality of the parameters.
82
+
83
+ It should be noted when $g _ { i } = 0$ , there will be three possible scenarios: (1) only $\nabla L ( \mathbf { w } _ { i } ; S ) = 0$ ; (2) only $\mathrm { w } _ { \mathrm { i } } = 0$ ; (3) both $\nabla L ( \mathbf { w } _ { i } ; S ) = 0$ and $\mathrm { w } _ { i } = 0$ . In all three cases, we can judge the importance of parameter $\mathrm { w } _ { i }$ using $g _ { i }$ as analyzed. In other words, when $g _ { i } = 0$ , we allow that the value of $\nabla L ( \mathrm { w } _ { i } ; S )$ is not zero, i.e., the new optimality criterion is not necessary, which does not influence the effectiveness of the proposed method.
84
+
85
+ # 3.3 COMBATING NOISY LABELS WITH DIFFERENT UPDATE RULES
86
+
87
+ We have presented how to judge the importance of the parameters, and then divide them into the critical ones and non-critical ones. We exploit the label noise rate to help divide the parameters into the critical/non-critical ones. Intuitively, if the noise rate is high, the number of clean labels is small. The number of required critical parameters for memorizing clean labels is then small. The number of the critical parameters has a negative correlation with noise rate. We therefore use the noise rate to help identify the critical parameters. We use $\tau$ to denote the noise rate. If $\tau$ is not known in advanced, it can be easily inferred (Liu & Tao, 2016; Yu et al., 2018a). We show that the proposed method is insensitive to the estimation result of the noise rate in Section 4.4. Then, the number of the critical parameters can be defined as:
88
+
89
+ $$
90
+ m _ { c } = { \left( 1 - \tau \right) } m .
91
+ $$
92
+
93
+ In each iteration, for each parameter $\mathrm { w } _ { i }$ , $i \in [ m ]$ . The critical and non-critical parameters are determined according to the result of numerical sorting of $g _ { i }$ , which has been explained before. The critical and non-critical parameters are denoted by $\mathcal { W } _ { c }$ and $\mathcal { W } _ { n }$ respectively. Two different update strategies are performed for two types of the parameters.
94
+
95
+ Robust positive update. For the critical ones ${ \mathcal { W } } _ { c }$ , we use the gradients derived from the objective function and weight decay. We clip the gradients to perform gradient decay in this paper. The update rule is:
96
+
97
+ $$
98
+ \mathcal { W } _ { c } ( k + 1 ) \gets \mathcal { W } _ { c } ( k ) - \eta \left( ( 1 - \tau ) \frac { \partial L ( \mathcal { W } _ { c } ( k ) ; \widetilde { S } ^ { \star } ) } { \partial \mathcal { W } _ { c } ( k ) } + \lambda \mathrm { s g n } ( \mathcal { W } _ { c } ( k ) ) \right) ,
99
+ $$
100
+
101
+ where $\smash { \widetilde { S } ^ { \star } }$ is a subset randomly sampled from $\widetilde { S }$ . Note that we directly use $\smash { \widetilde { S } ^ { \star } }$ here, rather than $S ^ { \star }$ in Eq. (2). It is because the proposed method exploits the memorization effects of deep networks.
102
+
103
+ # Algorithm 1 CDR algorithm.
104
+
105
+ 1: Input: initialization parameters $\mathcal { W }$ , noisy training set $\mathcal { D } _ { t }$ , noisy validation set $\mathcal { D } _ { v }$ , learning rate $\eta$ , weight decay coefficient $\lambda$ , fixed $\tau$ , epoch $T$ and $T _ { \mathrm { m a x } }$ , iteration $N _ { \mathrm { m a x } }$ ; for $T = 1 , 2 , \dots , T _ { \mathrm { m a x } }$ do
106
+ 2: Shuffle training set $\mathcal { D } _ { t }$ ; for $N = 1 , \dots , N _ { \mathrm { m a x } }$ do
107
+ 3: Fetch mini-batch $\bar { \mathcal { D } } _ { t }$ from $\mathcal { D } _ { t }$ ;
108
+ 4: Divide $\mathcal { W }$ into $\mathcal { W } _ { c }$ and $\mathcal { W } _ { n }$ with Eq. (3) and Eq. (4); //define the types of the parameters;
109
+ 5: Update $\mathcal { W } _ { c }$ with Eq. (5); //update ${ \mathcal { W } } _ { c }$ using the robust positive update;
110
+ 6: Update $\mathcal { W } _ { n }$ with Eq. (6); //update $\mathcal { W } _ { n }$ using the negative update; end end //Early stopping criterion: if the minimum classification error is achieved with $\mathcal { W }$ on $\mathcal { D } _ { v }$
111
+ 8: Output: parameters $\mathcal { W }$ after update.
112
+
113
+ Though we have only noisy training data, deep networks will first memorize training data with clean labels. As can be seen in Eq. (5), the gradient decay coefficient is set to $1 - \tau$ , which can prevent over-confident descent steps in the training process.
114
+
115
+ Negative update. For the non-critical parameters $\mathcal { W } _ { n }$ , we only use the weight decay to update them. The update rule is:
116
+
117
+ $$
118
+ { \mathcal W } _ { n } ( k + 1 ) \gets { \mathcal W } _ { n } ( k ) - \eta \lambda \mathrm { s g n } ( { \mathcal W } _ { n } ( k ) ) .
119
+ $$
120
+
121
+ The gradients of the objective function exploit loss between the prediction of deep networks and given labels. Robust positive update uses the gradients to update the critical ones, which helps deep networks memorize clean labels. For the non-critical ones, they tend to overfit noisy labels, their gradients are misleading for generalization. Thus, we only use the weight decay, to update them. The weight decay will penalize their values to be zero and help generalization (Arora et al., 2018). As they are deactivated, they will not contribute to the memorization or generalization. The use of two update rules makes us achieve the goal, i.e., reducing the side effect of noisy labels and thus enhance the memorization of clean labels. The overall procedure of combating noisy labels with different update rules (CDR) is summarized in Algorithm 1.
122
+
123
+ # 4 EXPERIMENTS
124
+
125
+ In this section, we first introduce the datasets used, and implementation details in the experiments (Section 4.1). We next introduce the methods used for comparison in this paper (Section 4.2). The ablation study is conducted to show that the proposed method is not sensitive to the estimation result of the noise rate (Section 4.3). Finally, we present the experimental results on synthetic and real-world noisy datasets to show the effectiveness of the proposed method (Section 4.4).
126
+
127
+ # 4.1 DATASETS AND IMPLEMENTATION DETAILS
128
+
129
+ To verify the effectiveness of the proposed method, we run experiments on the manually corrupted version of four datasets, i.e., MNIST (LeCun et al., 1998), $F$ -MNIST (Xiao et al., 2017), CIFAR-10 and CIFAR-100 (Krizhevsky & Hinton, 2009), and two real-world noisy datasets, i.e., Food-101 (Bossard et al., 2014) and WebVision (Li et al., 2017a). MNIST and $F$ -MNIST both have $2 8 \times 2 8$ gayscale images of 10 classes including 60,000 training images and 10,000 test images. CIFAR-10 and CIFAR-100 both have $3 2 \times 3 2 \times 3$ color images including 50,000 training images and 10,000 test images. CIFAR-10 has 10 classes while CIFAR-100 has 100 classes. Food-101 consists of 101 food categories, with 101,000 images. For each class, 250 manually reviewed clean test images are provided as well as 750 training images with real-world label noise. WebVision contains 2.4 million images crawled from the websites using the 1,000 concepts in ImageNet ILSVRC12 (Deng et al., 2009). Following the “Mini” setting in (Jiang et al., 2018; Chen et al., 2019; Ma et al., 2020), we take the first 50 classes of the Google resized image subset, and evaluate the trained networks on the same 50 classes of the ILSVRC12 validation set, which is exploited as a test set. For all datasets, following prior works (Patrini et al., 2017; Wang et al., 2021b), we leave out $10 \%$ training data as a validation set, which is for early stopping.
130
+
131
+ We consider four types of synthetic label noise in this paper, i.e., symmetric noise, asymmetric noise, pairflip noise and instance-dependent noise (abbreviated as instance noise). These settings are widely used in existing works (Ma et al., 2018; Thulasidasan et al., 2019; Pleiss et al., 2020; Wang et al., 2021a). The noise rates $\tau$ are set to $20 \%$ and $40 \%$ . The details of the noise setting are described as follows:
132
+
133
+ • Symmetric noise: this kind of label noise is generated by flipping labels in each class uniformly to incorrect labels of other classes.
134
+ • Asymmetric noise: this kind of label noise is generated by flipping labels within a set of similar classes. In this paper, for MNIST, flipping $2 \to 7$ , $3 8$ , $5 6$ . For $F$ -MNIST, flipping TSHIRT SHIRT, PULLOVER $ \mathrm { C O A T }$ , SANDALS SNEAKER. For CIFAR-10, TRUCK AUTOMOBILE, BIRD AIRPLANE, DEER HORSE, $\mathrm { C A T } \mathrm { D O G }$ . For CIFAR-100, the 100 classes are grouped into 20 super-classes, and each has 5 sub-classes. Each class is then flipped into the next within the same super-class.
135
+ • Pairflip noise: the noise flips each class to its adjacent class. More explanation about this noise setting can be found in (Yu et al., 2019; Zheng et al., 2020; Lyu & Tsang, 2020).
136
+ • Instance noise: the noise is quite realistic, where the probability that an instance is mislabeled depends on its features. Following (Xia et al., 2020b), we generate this type of label noise to validate the effectiveness of the proposed method.
137
+
138
+ For MNIST, we train a LeNet (LeCun et al., 1998) with batch size 32. For $F$ -MNIST, we train a ResNet-50 (He et al., 2015) with batch size 32. For CIFAR-10 and CIFAR-100, we train a ResNet-50 with batch size 64, and typical data augmentations including random crop and horizontal flip are applied. For all the training, we use SGD optimizer with momentum 0.9 and weight decay is set to $\mathrm { \dot { 1 } 0 ^ { - 3 } }$ . The initial learning rate is set to $\mathrm { 1 0 ^ { - 2 } }$ . For Food-101, we use a ResNet-50 pre-trained on ImageNet with batch size 32. The initial learning rate is changed to $1 0 ^ { - 3 }$ . For WebVision, we use an Inception-ResNet v2 (Szegedy et al., 2016) with batch size 128. The initial learning rate is set to $1 0 ^ { - 1 }$ . We set 100 epochs in total for all the experiments. For fair comparison, all the codes are implemented in PyTorch 1.2.0 with CUDA 10.0, and run on NVIDIA Tesla V100 GPUs. Our implementation is available at https://github.com/xiaoboxia/CDR.
139
+
140
+ # 4.2 COMPARISON METHODS
141
+
142
+ We compare the proposed method with the following methods: (1) CE, which trains the deep neural networks with the cross entropy loss on noisy datasets. (2) GCE (Zhang & Sabuncu, 2018), which unites the mean absolute error loss and the cross entropy loss to handle noisy labels. The hyperparameter $q$ in this work is set to 0.7. (3) DMI (Xu et al., 2019), which copes with noisy labels from the perspective of information theory. (4) APL (Ma et al., 2020), which combines two mutually reinforcing robust loss functions. For this baseline, we employ its combination of NCE and RCE for a comparison. (5) MentorNet (Jiang et al., 2018), which learns a curriculum to filter out noisy data. (6) Co-teaching (Han et al., 2018b), which maintains two networks and cross-trains on the instances with small loss. (7) Co-teaching $^ +$ (Yu et al., 2019), which maintains two networks and finds small loss instances among the prediction disagreement data for training. (8) S2E (Yao et al., 2020a), which exploits automated machine learning to handle noisy labels. (9) Forward (Patrini et al., 2017), which estimates the noise transition matrix to correct the training loss. (10) T-Revision (Xia et al., 2019), which employs importance reweighting technique and introduces a slack variable to revise the noise transition matrix. (11) Joint (Tanaka et al., 2018), which jointly optimizes the network parameters and the sample labels. The hyperparameters $\alpha$ and $\beta$ are set to 1.2 and 0.8 respectively. Note that we do not compare with some state-of-the-art methods like SELF (Nguyen et al., 2020) and DivideMix (Li et al., 2020a) as baselines because of the following reasons. (1) Their proposed methods are aggregations of multiple techniques while this paper only focuses on one, therefore the comparison is not fair. (2) We are focusing on proving the concept, i.e., how to reduce the side effect of noisy labels before early stopping, but not on boosting the classification performance.
143
+
144
+ # 4.3 ABLATION STUDY
145
+
146
+ We need the noise rate to determine the number of different types of the parameters and the gradient decay coefficient as mentioned above. Compared with symmetric noise, asymmetric noise and pairflip noise, the noise rate of instance noise is hard to be estimated (Cheng et al., 2020; Xia et al., 2020b). We present that our proposed method is insensitive to the estimation result of noise rate. The experiments are conducted on CIFAR-10 and CIFAR-100 datasets with instance noise. The noise rates are set to $20 \%$ and $40 \%$ , respectively. In Figure 1, we show that how the classificaition performance of the proposed method varies with the change of the estimated noise rate. We can clearly see that the proposed method is robust to the estimation result of the noise rate.
147
+
148
+ Table 1: Mean and standard deviations of classification accuracy (percentage) on synthetic noisy datasets with different noise levels. The experimental results are reported over five trials. The best mean results are bolded.
149
+
150
+ <table><tr><td rowspan=1 colspan=12>Symmetric Asymmetric Pairflip InstanceDataset Method20% 40% 20% 40% 20% 40% 20% 40%</td></tr><tr><td rowspan=1 colspan=12>CE 98.60±0.07 98.18±0.16 99.00±0.08 98.31±0.28 98.74±0.17 94.08±0.9398.14±0.02 92.76±0.21</td></tr><tr><td rowspan=1 colspan=12>GCE 98.84±0.12 98.12±0.33 98.92±0.09 98.31±0.27 98.94±0.05 97.39±0.62 98.17±0.08 94.97±0.32DMI 98.94±0.02 98.62±0.1799.07±0.10 98.61±0.26 98.96±0.12 97.27±0.39 98.34±0.17 95.34±0.28</td></tr><tr><td rowspan=5 colspan=12>APL 98.74±0.0997.04±0.3598.90±0.0797.23±0.7398.24±0.3995.24±1.4997.03±0.2990.04±3.93MentorNet 97.21±0.1393.96±0.7698.51±0.0993.47±0.8097.25±0.3293.27±0.7395.17±0.2690.05±1.43MNIST Co-teaching 97.22±0.1894.64±0.3398.63±0.1293.62±1.2797.44±0.2694.81±0.4597.32±0.1592.45±0.59Co-teaching+ 98.11±0.0795.87±0.2798.83±0.0896.65±1.7398.81±0.1295.42±0.3398.07±0.1294.37±0.48S2E 98.93±0.3993.23±2.3799.23±0.0798.31±0.1399.10±0.0480.15±3.7898.42±0.4783.38±0.94Forward 98.10±0.1296.83±0.2898.79±0.28 97.94±0.4798.62±0.16 95.37±0.7097.87±0.2192.30±0.18</td></tr><tr><td rowspan=2 colspan=6>MentorNet 97.21±0.1393.96±0.76MNIST Co-teaching 97.22±0.1894.64±0.33Co-teaching+ 98.11±0.0795.87±0.27</td></tr><tr><td rowspan=1 colspan=1>94.64±0.33</td></tr><tr><td rowspan=1 colspan=5>S2E 98.93±0.3993.23±2.37</td></tr><tr><td rowspan=1 colspan=5>Forward 98.10±0.1296.83±0.28</td><td rowspan=1 colspan=2>98.79±0.28</td><td rowspan=1 colspan=1>97.94±0.47</td></tr><tr><td rowspan=1 colspan=5>T-Revision 98.93±0.0798.40±0.53</td><td rowspan=1 colspan=2>99.05±0.16</td><td rowspan=1 colspan=1>98.23±0.54</td><td rowspan=1 colspan=1>498.82±0.07</td><td rowspan=1 colspan=3>97.43±0.1998.33±0.1595.64±0.34</td></tr><tr><td rowspan=2 colspan=5>Joint 98.54±0.1398.30±0.28CDR 99.00±0.0498.80±0.1299.30±0.0498.80±0.17</td><td rowspan=1 colspan=2>98.96±0.05</td><td rowspan=1 colspan=1>98.40±0.11</td><td rowspan=1 colspan=1>98.70±0.08</td><td rowspan=1 colspan=1>96.33±0.82</td><td rowspan=1 colspan=2>98.11±0.1393.15±0.43</td></tr><tr><td rowspan=1 colspan=2>99.30±0.04</td><td rowspan=1 colspan=1>98.80±0.17</td><td rowspan=1 colspan=1>99.17±0.08</td><td rowspan=1 colspan=1>98.12±0.23</td><td rowspan=1 colspan=2>98.49±0.0994.45±1.04</td></tr><tr><td rowspan=1 colspan=5>CE 90.36±0.2187.61±0.72</td><td rowspan=1 colspan=2>91.31±0.13</td><td rowspan=1 colspan=1>86.43±2.01</td><td rowspan=1 colspan=1>91.65±0.12</td><td rowspan=1 colspan=1>76.42±4.13</td><td rowspan=1 colspan=2>88.81±0.6778.62±2.92</td></tr><tr><td rowspan=1 colspan=5>GCE 91.77±0.1390.02±0.37</td><td rowspan=1 colspan=2>91.45±0.29</td><td rowspan=1 colspan=1>73.62±2.92</td><td rowspan=1 colspan=1>91.99±0.36</td><td rowspan=1 colspan=1>84.21±2.05</td><td rowspan=1 colspan=1>91.06±0.55</td><td rowspan=1 colspan=1>574.82±0.94</td></tr><tr><td rowspan=1 colspan=5>DMI 91.87±0.2688.65±0.37</td><td rowspan=1 colspan=2>92.33±0.11</td><td rowspan=1 colspan=1>89.62±0.48</td><td rowspan=1 colspan=1>91.33±0.37</td><td rowspan=1 colspan=1>83.93±0.92</td><td rowspan=1 colspan=1>90.87±0.15</td><td rowspan=1 colspan=1>80.51±0.66</td></tr><tr><td rowspan=1 colspan=5>APL 87.23±0.1973.62±0.88</td><td rowspan=1 colspan=2>86.21±0.24</td><td rowspan=1 colspan=1>81.03±3.09</td><td rowspan=1 colspan=1>84.52±0.73</td><td rowspan=1 colspan=1>76.39±2.85</td><td rowspan=1 colspan=1>84.38±0.70</td><td rowspan=1 colspan=1>)60.38±8.37</td></tr><tr><td rowspan=2 colspan=5>MentorNet 88.12±0.1286.05±0.27F-MNIST Co-teaching 89.03±0.3287.04±0.69</td><td rowspan=1 colspan=2>89.76±0.18</td><td rowspan=1 colspan=1>68.93±3.20</td><td rowspan=1 colspan=1>87.39±0.57</td><td rowspan=1 colspan=1>76.90±5.72</td><td rowspan=1 colspan=1>86.50±0.26</td><td rowspan=1 colspan=1>78.37±0.95</td></tr><tr><td rowspan=1 colspan=3>92.03±0.1672.23±4.38</td><td rowspan=1 colspan=1>89.63±0.78</td><td rowspan=1 colspan=1>84.10±0.92</td><td rowspan=1 colspan=2>89.27±0.86583.49±1.27</td></tr><tr><td rowspan=1 colspan=5>Co-teaching+ 91.34±0.1790.23±0.21</td><td rowspan=1 colspan=2>83.98±1.05</td><td rowspan=1 colspan=1>66.27±3.01</td><td rowspan=1 colspan=1>91.08±0.25</td><td rowspan=1 colspan=1>72.65±0.49</td><td rowspan=1 colspan=2>83.78±0.73 38.79±9.93</td></tr><tr><td rowspan=1 colspan=4>S2E 90.89±0.27</td><td rowspan=1 colspan=1>75.68±3.73</td><td rowspan=1 colspan=2>91.20±0.31</td><td rowspan=1 colspan=1>87.06±0.50</td><td rowspan=1 colspan=1>91.52±0.19</td><td rowspan=1 colspan=1>72.09±2.15</td><td rowspan=1 colspan=1>89.17±0.32</td><td rowspan=1 colspan=1>72.62±2.73</td></tr><tr><td rowspan=1 colspan=4>Forward 90.72±0.19</td><td rowspan=1 colspan=1>88.05±0.73</td><td rowspan=1 colspan=2>92.05±0.21</td><td rowspan=1 colspan=1>85.42±0.74</td><td rowspan=1 colspan=1>90.02±0.87</td><td rowspan=1 colspan=1>83.06±0.79</td><td rowspan=1 colspan=1>87.95±0.75</td><td rowspan=1 colspan=1>75.34±1.89</td></tr><tr><td rowspan=1 colspan=4>T-Revision 91.95±0.20</td><td rowspan=1 colspan=1>90.35±0.28</td><td rowspan=1 colspan=2>92.07±0.11</td><td rowspan=1 colspan=1>88.53±0.32</td><td rowspan=1 colspan=1>91.06±0.19</td><td rowspan=1 colspan=1>85.67±0.88</td><td rowspan=1 colspan=1>91.05±0.28</td><td rowspan=1 colspan=1>84.34±1.37</td></tr><tr><td rowspan=2 colspan=4>Joint 82.01±0.77CDR 92.24±0.11</td><td rowspan=1 colspan=1>72.36±2.84</td><td rowspan=1 colspan=2>85.92±0.83</td><td rowspan=1 colspan=1>73.09±0.91</td><td rowspan=1 colspan=1>86.04±0.99</td><td rowspan=1 colspan=1>70.87±3.95</td><td rowspan=1 colspan=1>82.07±0.94 50.62±4.77</td><td rowspan=1 colspan=1>82.07±0.94 50.62±4.77</td></tr><tr><td rowspan=1 colspan=1>90.91±0.27</td><td rowspan=1 colspan=2>93.01±0.14</td><td rowspan=1 colspan=1>90.37±0.32</td><td rowspan=1 colspan=1>93.06±0.19</td><td rowspan=1 colspan=1>87.55±1.07</td><td rowspan=1 colspan=1>91.52±0.17</td><td rowspan=1 colspan=1>85.04±1.02</td></tr><tr><td rowspan=1 colspan=4>CE 89.14±0.41</td><td rowspan=1 colspan=1>86.25±1.32</td><td rowspan=1 colspan=2>88.21±0.19</td><td rowspan=1 colspan=1>86.37±1.03</td><td rowspan=1 colspan=1>89.68±0.72</td><td rowspan=1 colspan=1>86.53±0.37</td><td rowspan=1 colspan=1>86.73±0.36 75.33±2.72</td><td rowspan=1 colspan=1>86.73±0.36 75.33±2.72</td></tr><tr><td rowspan=1 colspan=4>GCE</td><td rowspan=1 colspan=1>86.07±0.41</td><td rowspan=1 colspan=2>89.03±0.21</td><td rowspan=1 colspan=1>84.12±1.24</td><td rowspan=1 colspan=1>88.58±0.34</td><td rowspan=1 colspan=1>83.23±3.98</td><td rowspan=1 colspan=1>88.02±0.34</td><td rowspan=1 colspan=1>76.89±0.96</td></tr><tr><td rowspan=1 colspan=4>DMI</td><td rowspan=1 colspan=1>86.89±1.07</td><td rowspan=1 colspan=2>89.37±0.82</td><td rowspan=1 colspan=1>86.32±1.17</td><td rowspan=1 colspan=1>88.41±1.01</td><td rowspan=1 colspan=1>84.02±1.73</td><td rowspan=1 colspan=1>88.93±0.29</td><td rowspan=1 colspan=1>79.35±2.17</td></tr><tr><td rowspan=1 colspan=4>APL 88.21±0.32</td><td rowspan=1 colspan=1>81.07±1.36</td><td rowspan=1 colspan=2>89.03±0.75</td><td rowspan=1 colspan=1>85.10±2.42</td><td rowspan=1 colspan=1>87.34±1.44</td><td rowspan=1 colspan=1>80.12±3.65</td><td rowspan=1 colspan=1>76.31±2.24</td><td rowspan=1 colspan=1>450.73±4.89</td></tr><tr><td rowspan=2 colspan=5>MentorNet 83.26±0.7278.37±1.73CIFAR-10 Co-teaching 88.20±0.2784.45±0.68</td><td rowspan=1 colspan=2>78.37±1.73</td><td rowspan=1 colspan=1>84.07±0.59</td><td rowspan=1 colspan=1>60.22±3.47</td><td rowspan=1 colspan=1>78.73±0.89</td><td rowspan=1 colspan=1>69.37±3.28</td><td rowspan=1 colspan=1>83.06±0.92</td></tr><tr><td rowspan=1 colspan=2>87.42±0.38</td><td rowspan=1 colspan=1>64.03±0.73</td><td rowspan=1 colspan=1>82.66±0.32</td><td rowspan=1 colspan=1>73.68±0.62</td><td rowspan=1 colspan=1>86.71±0.79</td><td rowspan=1 colspan=1>81.14±1.32</td></tr><tr><td rowspan=1 colspan=3>Co-teaching+</td><td rowspan=1 colspan=1>86.47±0.92</td><td rowspan=1 colspan=1>78.93±0.74</td><td rowspan=1 colspan=2>85.37±0.47</td><td rowspan=1 colspan=1>63.17±3.48</td><td rowspan=1 colspan=1>84.01±1.01</td><td rowspan=1 colspan=1>70.17±1.37</td><td rowspan=1 colspan=1>85.92±0.26</td><td rowspan=1 colspan=1>557.95±3.17</td></tr><tr><td rowspan=1 colspan=3>S2E</td><td rowspan=1 colspan=1>90.26±0.24</td><td rowspan=1 colspan=1>75.20±2.05</td><td rowspan=1 colspan=2>90.73±0.32</td><td rowspan=1 colspan=1>87.83±0.97</td><td rowspan=1 colspan=1>89.92±0.37</td><td rowspan=1 colspan=1>76.18±1.93</td><td rowspan=1 colspan=1>90.32±0.21</td><td rowspan=1 colspan=1>68.93±1.86</td></tr><tr><td rowspan=1 colspan=3>Forward</td><td rowspan=1 colspan=1>88.36±0.34</td><td rowspan=1 colspan=1>86.47±0.98</td><td rowspan=1 colspan=2>3 89.30±0.71</td><td rowspan=1 colspan=1>85.33±1.48</td><td rowspan=1 colspan=1>387.62±0.24</td><td rowspan=1 colspan=1>83.23±1.30</td><td rowspan=1 colspan=1>85.39±0.23</td><td rowspan=1 colspan=1>376.88±1.26</td></tr><tr><td rowspan=1 colspan=3>T-Revision</td><td rowspan=1 colspan=1>89.43±0.62</td><td rowspan=1 colspan=1>86.98±0.87</td><td rowspan=1 colspan=2>89.94±0.74</td><td rowspan=1 colspan=1>88.11±1.22</td><td rowspan=1 colspan=1>91.01±0.29</td><td rowspan=1 colspan=1>87.10±1.38</td><td rowspan=1 colspan=1>90.43±0.38 85.46±1.04</td><td rowspan=1 colspan=1>85.46±1.04</td></tr><tr><td rowspan=1 colspan=4>Joint 89.94±0.25 87.17±0.35</td><td rowspan=1 colspan=1>89.94±0.25 87.17±0.35</td><td rowspan=1 colspan=2>90.83±0.18</td><td rowspan=1 colspan=1>88.24±0.79</td><td rowspan=1 colspan=1>91.31±0.73</td><td rowspan=1 colspan=1>85.62±1.75</td><td rowspan=1 colspan=1>90.13±0.34 85.23±0.74</td><td rowspan=1 colspan=1>85.23±0.74</td></tr><tr><td rowspan=1 colspan=4>CDR 90.26±0.318</td><td rowspan=1 colspan=1>87.19±0.43</td><td rowspan=1 colspan=2>92.00±0.27</td><td rowspan=1 colspan=1>88.68±0.67</td><td rowspan=1 colspan=1>92.11±0.23</td><td rowspan=1 colspan=1>88.58±0.39</td><td rowspan=1 colspan=1>91.14±0.23</td><td rowspan=1 colspan=1>86.25±0.57</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=3>CE</td><td rowspan=1 colspan=1>56.82±0.82</td><td rowspan=1 colspan=2>64.12±0.54</td><td rowspan=1 colspan=1>52.86±0.92</td><td rowspan=1 colspan=1>64.10±0.46</td><td rowspan=1 colspan=1>52.77±0.79</td><td rowspan=1 colspan=1>63.33±0.29</td><td rowspan=1 colspan=1>50.84±0.89</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=3>GCE</td><td rowspan=1 colspan=1>57.97±1.21</td><td rowspan=1 colspan=2>65.34±0.64</td><td rowspan=1 colspan=1>54.35±1.28</td><td rowspan=1 colspan=1>62.32±1.04</td><td rowspan=1 colspan=1>55.03±1.25</td><td rowspan=1 colspan=1>66.67±0.40</td><td rowspan=1 colspan=1>55.14±1.77</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=3>DMI</td><td rowspan=1 colspan=1>57.42±0.53</td><td rowspan=1 colspan=2>64.30±0.84</td><td rowspan=1 colspan=1>51.31±2.73</td><td rowspan=1 colspan=1>58.77±0.64</td><td rowspan=1 colspan=1>42.89±0.77</td><td rowspan=1 colspan=1>59.04±0.35 46.99±0.62</td><td rowspan=1 colspan=1>59.04±0.35 46.99±0.62</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=3>APL</td><td rowspan=1 colspan=1>51.03±1.04</td><td rowspan=1 colspan=2>54.31±0.84</td><td rowspan=1 colspan=1>48.22±1.35</td><td rowspan=1 colspan=1>59.77±0.74</td><td rowspan=1 colspan=1>53.25±0.92</td><td rowspan=1 colspan=1>49.17±2.72</td><td rowspan=1 colspan=1>38.18±4.04</td></tr><tr><td rowspan=2 colspan=5>MentorNet 57.27±1.3249.01±2.09CIFAR-100Co-teaching 61.47±0.4153.44±0.40</td><td rowspan=1 colspan=2>54.10±0.92</td><td rowspan=1 colspan=1>33.21±1.82</td><td rowspan=1 colspan=1>54.73±1.26</td><td rowspan=1 colspan=1>45.31±2.93</td><td rowspan=1 colspan=1>50.02±0.73</td><td rowspan=1 colspan=1>36.27±1.64</td></tr><tr><td rowspan=1 colspan=3>61.47±0.4153.44±0.40</td><td rowspan=1 colspan=2>57.35±0.82</td><td rowspan=1 colspan=1>37.62±1.77</td><td rowspan=1 colspan=1>58.11±0.47</td><td rowspan=1 colspan=1>48.46±0.64</td><td rowspan=1 colspan=1>57.73±0.37</td><td rowspan=1 colspan=1>43.28±0.55</td></tr><tr><td rowspan=1 colspan=5>Co-teaching+ 64.13±0.3255.92±0.81</td><td rowspan=1 colspan=2>58.97±1.19 40.16±2.74</td><td rowspan=1 colspan=1>58.97±1.19 40.16±2.74</td><td rowspan=1 colspan=1>456.31±0.41</td><td rowspan=1 colspan=1>38.03±0.55</td><td rowspan=1 colspan=1>55.45±0.57</td><td rowspan=1 colspan=1>41.11±1.32</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=3>S2E 64.21±0.72</td><td rowspan=1 colspan=1>43.12±2.77</td><td rowspan=1 colspan=2>63.92±0.46</td><td rowspan=1 colspan=1>42.45±1.73</td><td rowspan=1 colspan=1>58.21±0.43</td><td rowspan=1 colspan=1>41.74±2.09</td><td rowspan=1 colspan=1>61.08±0.59</td><td rowspan=1 colspan=1>)47.06±1.93</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=3>Forward 54.88±0.92</td><td rowspan=1 colspan=1>45.64±1.77</td><td rowspan=1 colspan=2>64.07±1.02</td><td rowspan=1 colspan=1>53.84±2.71</td><td rowspan=1 colspan=1>58.37±0.56</td><td rowspan=1 colspan=1>39.82±0.73</td><td rowspan=1 colspan=1>58.55±0.31</td><td rowspan=1 colspan=1>46.42±0.95</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=3>T-Revision</td><td rowspan=1 colspan=1>57.15±1.02</td><td rowspan=1 colspan=2>68.02±0.53</td><td rowspan=1 colspan=1>54.93±1.09</td><td rowspan=1 colspan=1>62.69±0.73</td><td rowspan=1 colspan=1>52.31±1.46</td><td rowspan=1 colspan=1>60.22±0.68</td><td rowspan=1 colspan=1>50.23±1.79</td></tr><tr><td rowspan=2 colspan=9>Joint 66.12±0.42 59.45±0.68 68.29±0.25 55.53±0.47 67.35±0.31 52.22±1.85 65.91±0.43 55.09±0.93CDR 68.68±0.3362.72±0.38 70.64±0.51 55.58±0.78 71.93±0.57 56.94±1.30 69.82±0.4261.03±0.77</td><td rowspan=1 colspan=3>Joint</td></tr><tr><td rowspan=1 colspan=1>56.94±1.30</td><td rowspan=1 colspan=2>69.82±0.4261.03±0.77</td></tr></table>
151
+
152
+ In this paper, we set the proportion of non-critical parameters to the noise rate. Also, it is interesting to investigate that how the proposed method works if we set the proportion of non-critical parameters as a constant number. Note that if we set the constant number too randomly, the performance of the proposed method may be hurt. Therefore, we use a noisy validation set to locate it and compare the difference between the located constant and the noise rate. The search of the constant is within the range $\{ 0 . 1 0 , 0 . 2 0 , \ldots , 0 . 9 0 \}$ . The experiments are conducted on MNIST, $F$ -MNIST, and CIFAR-10. The experimental results are provided in Table 2. As we can see, in many cases, the located constant and the label noise rate are numerically equal. However, it is complicated to locate a suitable constant with a noisy validation set, as there is a huge search range. On the contrary, the noise rate always can be estimated effectively (Liu & Tao, 2016; Yu et al., 2018a). Therefore, it is reasonable and feasible to assume that the proportion of non-critical parameters is the same as the noise rate.
153
+
154
+ ![](images/8544aabe1eee43b269dfbd25135d6fe9f37a62753d0f96ac283832cd8848269b.jpg)
155
+ Figure 1: Illustration of robustness to the estimation result of noise rate. For each estimated noise rate, we report experimental results over five trials. The blue dots represent the result of each experiment. The orange dots represent the mean of five experimental results in each case.
156
+
157
+ Table 2: The located constant on synthetic noisy datasets with different noise levels. The result with an underline means that the located constant and the noise rate are numerically equal.
158
+
159
+ <table><tr><td rowspan="2">Dataset</td><td colspan="2">Symmetric</td><td colspan="2">Asymmetric</td><td colspan="2">Pairflip</td><td colspan="2">Instance</td></tr><tr><td>20%</td><td>40%</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td></tr><tr><td>MNIST</td><td>0.20</td><td>0.50</td><td>0.20</td><td>0.40</td><td>0.20</td><td>0.50</td><td>0.30</td><td>0.60</td></tr><tr><td>F-MNIST</td><td>0.20</td><td>0.40</td><td>0.20</td><td>0.50</td><td>0.30</td><td>0.50</td><td>0.20</td><td>0.60</td></tr><tr><td>CIFAR-10</td><td>0.30</td><td>0.50</td><td>0.30</td><td>0.30</td><td>0.30</td><td>0.50</td><td>0.20</td><td>0.40</td></tr></table>
160
+
161
+ ![](images/269a089106e6c9c99b7d81719444637ca730023ded1871387501f0027f884dec.jpg)
162
+ Figure 2: Illustration of the experimental results on noisy CIFAR-100. We can clearly see that the proposed method (CDR) can reduce the side effect of noisy labels at the early training stage, which improves generalization (red line vs. green line).
163
+
164
+ # 4.4 CLASSIFICATION PERFORMANCE ON NOISY DATASETS
165
+
166
+ Results on synthetic noisy datasets. Table 1 shows the experimental results on four synthetic noisy datasets with various types of noisy labels. For MNIST, as can be seen, our proposed method produce the best results in the vast majority of cases. When the noise is instance-dependent, the proposed method achieves competitive results. Note that T-Revision achieves the best classification performance in this case. Compared with the other synthetic noisy datasets, MNIST is less challenging. In this case, T-Revision thus can exploit the noise transition matrix and the slack variable to well model label noise, which leads to the best performance. However, for the instance-dependent label noise on the other datasets, i.e., $F$ -MNIST, CIFAR-10, and CIFAR-100, estimating the transition matrices does not work well and the proposed robust eary-learning method achieves the best performance.
167
+
168
+ Table 3: Classification accuracy (percentage) on Food-101 dataset. The best result is in bold.
169
+
170
+ <table><tr><td>CE</td><td>GCE</td><td>DMI</td><td>APL</td><td>MentorNet</td><td>Co-teaching</td></tr><tr><td>84.03</td><td>84.96</td><td>85.52</td><td>82.17</td><td>81.25</td><td>83.73</td></tr><tr><td>Co-teaching+</td><td>S2E</td><td>Forward</td><td>T-Revision</td><td>Joint</td><td>CDR</td></tr><tr><td>76.89</td><td>84.97</td><td>85.52</td><td>85.97</td><td>83.10</td><td>86.36</td></tr></table>
171
+
172
+ Table 4: Top-1 validation accuracies (percentage) on clean ILSVRC12 validation set of InceptionResNet v2 models trained on WebVision dataset, under the “Mini” setting in (Jiang et al., 2018; Chen et al., 2019; Ma et al., 2020). The best result is in bold.
173
+
174
+ <table><tr><td>CE</td><td>GCE</td><td>DMI</td><td>APL</td><td>MentorNet</td><td>Co-teaching</td></tr><tr><td>57.34</td><td>55.62</td><td>56.93</td><td>61.27</td><td>57.66</td><td>61.22</td></tr><tr><td>Co-teaching+</td><td>S2E</td><td>Forward</td><td>T-Revision</td><td>Joint</td><td>CDR</td></tr><tr><td>33.26</td><td>54.33</td><td>56.39</td><td>60.58</td><td>47.60</td><td>61.85</td></tr></table>
175
+
176
+ For $F$ -MNIST and CIFAR-10, our proposed method is consistently superior to other state-of-the-art methods across all the settings. Note that S2E achieves impressive performance in the case of Symmetric- $20 \%$ on CIFAR-10. However, it fails to generalize well compared with the proposed method, especially in the cases of $40 \%$ label noise rate. In contrast, CDR achieves a clear lead over S2E in these cases, which verifies the effectiveness of the proposed method. Lastly, for the more challenging dataset, i.e., CIFAR-100, the proposed method once again outperforms all the baseline methods. In particular, in the very challenging case of Instance- $40 \%$ , the proposed method takes a nearly $6 \%$ lead compared to the second best method GCE.
177
+
178
+ Results on real-world noisy datasets. The experimental results on Food-101 and WebVision datasets are reported in Table 3 and 4. Again, on classification accuracy, our method surpasses all other baselines. This verifies the effectiveness of our proposed method against real-world label noise.
179
+
180
+ Note that the CE method exploits early stopping in all experiments. Compared the classification performance of CE with the classification performance of CDR, i.e., early stopping vs. robust early stopping, we can clearly see that the proposed method can achieve better performance. We also present the illustration of the experimental results on CIFAR-100 with $40 \%$ noise. As shown in Figure 2, CDR can effectively reduce the side effect of noisy labels at the early training stage. The illustrations of the experimental results on the other settings can be found in Appendix A.
181
+
182
+ # 5 CONCLUSION
183
+
184
+ In this paper, motivated by the lottery ticket hypothesis, we provide a novel method to distinguish the critical parameters and non-critical parameters for fitting clean labels. Then we propose different update rules for different types of parameters to reduce the side effect before early stopping. The proposed method is very effective for learning with noisy labels, which is supported by experiments on synthetic datasets with various types of label noise as well as on real-world datasets. Our method is simple and orthogonal to other methods. We believe that this opens up new possibilities in the topics of learning with noisy labels. It would be interesting to explore the potential characteristics of the updated parameters such as the distance to initial parameters (Li et al., 2020b; Hu et al., 2020) and the mutual information with the vector of all training labels given inputs (Harutyunyan et al., 2020).
185
+
186
+ # ACKNOWLEDGMENTS
187
+
188
+ TLL was supported by Australian Research Council Project DE-190101473 and DP-180103424. BH was supported by the RGC Early Career Scheme No. 22200720, NSFC Young Scientists Fund No. 62006202, HKBU Tier-1 Start-up Grant, and HKBU CSD Departmental Incentive Scheme. CG was supported by NSF of China (No. 61973162) and CCF-Tencent Open Fund (No: RAGR20200101). NNW was supported by National Key Research and Development Program of China under Grant 2018AAA0103202. ZYG was supported by the Airdoc-Monash research centre fellowship. YC was supported by the NSF of China (No.61976102, No.U19A2065). We thank anonymous reviewers for giving constructive comments.
189
+
190
+ # REFERENCES
191
+
192
+ Zeyuan Allen-Zhu, Yuanzhi Li, and Yingyu Liang. Learning and generalization in overparameterized neural networks, going beyond two layers. In NeurIPS, pp. 6158–6169, 2019.
193
+
194
+ Sanjeev Arora, Rong Ge, Behnam Neyshabur, and Yi Zhang. Stronger generalization bounds for deep nets via a compression approach. In ICML, pp. 254–263, 2018.
195
+
196
+ Devansh Arpit, Stanisław Jastrz˛ebski, Nicolas Ballas, David Krueger, Emmanuel Bengio, Maxinder S Kanwal, Tegan Maharaj, Asja Fischer, Aaron Courville, Yoshua Bengio, et al. A closer look at memorization in deep networks. arXiv preprint arXiv:1706.05394, 2017.
197
+
198
+ Lukas Bossard, Matthieu Guillaumin, and Luc Van Gool. Food-101 – mining discriminative components with random forests. In ECCV, 2014.
199
+
200
+ Stephen Boyd, Stephen P Boyd, and Lieven Vandenberghe. Convex optimization. Cambridge university press, 2004.
201
+
202
+ Sébastien Bubeck. Convex optimization: Algorithms and complexity. arXiv preprint arXiv:1405.4980, 2014.
203
+
204
+ Yuan Cao and Quanquan Gu. Generalization bounds of stochastic gradient descent for wide and deep neural networks. In NeurIPS, pp. 10836–10846, 2019.
205
+
206
+ Rich Caruana, Steve Lawrence, and C Lee Giles. Overfitting in neural nets: Backpropagation, conjugate gradient, and early stopping. In NeurIPS, pp. 402–408, 2001.
207
+
208
+ Pengfei Chen, Benben Liao, Guangyong Chen, and Shengyu Zhang. Understanding and utilizing deep neural networks trained with noisy labels. arXiv preprint arXiv:1905.05040, 2019.
209
+
210
+ Hao Cheng, Zhaowei Zhu, Xingyu Li, Yifei Gong, Xing Sun, and Yang Liu. Learning with instancedependent label noise: A sample sieve approach. In ICLR, 2021.
211
+
212
+ Jiacheng Cheng, Tongliang Liu, Kotagiri Ramamohanarao, and Dacheng Tao. Learning with bounded instance-and label-dependent label noise. In ICML, 2020.
213
+
214
+ Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In CVPR, pp. 248–255. Ieee, 2009.
215
+
216
+ Jonathan Frankle and Michael Carbin. The lottery ticket hypothesis: Finding sparse, trainable neural networks. arXiv preprint arXiv:1803.03635, 2018.
217
+
218
+ Alex Graves, Abdel-rahman Mohamed, and Geoffrey Hinton. Speech recognition with deep recurrent neural networks. In IEEE international conference on acoustics, speech and signal processing, pp. 6645–6649. IEEE, 2013.
219
+
220
+ Bo Han, Jiangchao Yao, Gang Niu, Mingyuan Zhou, Ivor Tsang, Ya Zhang, and Masashi Sugiyama. Masking: A new perspective of noisy supervision. In NeurIPS, pp. 5836–5846, 2018a.
221
+
222
+ Bo Han, Quanming Yao, Xingrui Yu, Gang Niu, Miao Xu, Weihua Hu, Ivor Tsang, and Masashi Sugiyama. Co-teaching: Robust training of deep neural networks with extremely noisy labels. In NeurIPS, pp. 8527–8537, 2018b.
223
+
224
+ Bo Han, Gang Niu, Xingrui Yu, Quanming Yao, Miao Xu, Ivor W Tsang, and Masashi Sugiyama. Sigua: Forgetting may make learning with noisy labels more robust. In ICML, 2020.
225
+
226
+ Song Han, Jeff Pool, John Tran, and William Dally. Learning both weights and connections for efficient neural network. In NeurIPS, pp. 1135–1143, 2015.
227
+
228
+ Hrayr Harutyunyan, Kyle Reing, Greg Ver Steeg, and Aram Galstyan. Improving generalization by controlling label-noise information in neural network weights. In ICML, 2020.
229
+
230
+ Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. arXiv preprint arXiv:1512.03385, 2015.
231
+
232
+ Dan Hendrycks, Mantas Mazeika, Duncan Wilson, and Kevin Gimpel. Using trusted data to train deep networks on labels corrupted by severe noise. In NeurIPS, pp. 10456–10465. 2018.
233
+
234
+ Wei Hu, Zhiyuan Li, and Dingli Yu. Simple and effective regularization methods for training on noisily labeled data with generalization guarantee. In ICLR, 2020.
235
+
236
+ Lu Jiang, Zhengyuan Zhou, Thomas Leung, Li-Jia Li, and Li Fei-Fei. MentorNet: Learning datadriven curriculum for very deep neural networks on corrupted labels. In ICML, pp. 2309–2318, 2018.
237
+
238
+ Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. Technical report, 2009.
239
+
240
+ Yann LeCun, Corinna Cortes, and Christopher J.C. Burges. The MNIST database of handwritten digits. http://yann.lecun.com/exdb/mnist/, 1998.
241
+
242
+ Namhoon Lee, Thalaiyasingam Ajanthan, and Philip HS Torr. Snip: Single-shot network pruning based on connection sensitivity. In ICLR, 2019.
243
+
244
+ Junnan Li, Richard Socher, and Steven C.H. Hoi. Dividemix: Learning with noisy labels as semisupervised learning. In ICLR, 2020a.
245
+
246
+ Mingchen Li, Mahdi Soltanolkotabi, and Samet Oymak. Gradient descent with early stopping is provably robust to label noise for overparameterized neural networks. In AISTATS, 2020b.
247
+
248
+ Wen Li, Limin Wang, Li Wei, Eirikur Agustsson, and Luc Van Gool. Webvision database: Visual learning and understanding from web data. arXiv preprint arXiv:1708.02862, 2017a.
249
+
250
+ Xuefeng Li, Tongliang Liu, Bo Han, Gang Niu, and Masashi Sugiyama. Provably end-to-end label-noise learning without anchor points. arXiv preprint arXiv:2102.02400, 2021.
251
+
252
+ Yuncheng Li, Jianchao Yang, Yale Song, Liangliang Cao, Jiebo Luo, and Li-Jia Li. Learning from noisy labels with distillation. In ICCV, pp. 1910–1918, 2017b.
253
+
254
+ Sheng Liu, Jonathan Niles-Weed, Narges Razavian, and Carlos Fernandez-Granda. Early-learning regularization prevents memorization of noisy labels. arXiv preprint arXiv:2007.00151, 2020.
255
+
256
+ Tongliang Liu and Dacheng Tao. Classification with noisy labels by importance reweighting. IEEE Transactions on Pattern Analysis and Machine Intelligence, 38(3):447–461, 2016.
257
+
258
+ Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In ICLR, 2019.
259
+
260
+ Yueming Lyu and Ivor W. Tsang. Curriculum loss: Robust learning and generalization against label corruption. In ICLR, 2020.
261
+
262
+ Xingjun Ma, Yisen Wang, Michael E Houle, Shuo Zhou, Sarah M Erfani, Shu-Tao Xia, Sudanthi Wijewickrema, and James Bailey. Dimensionality-driven learning with noisy labels. In ICML, pp. 3361–3370, 2018.
263
+
264
+ Xingjun Ma, Hanxun Huang, Yisen Wang, Simone Romano, Sarah Erfani, and James Bailey. Normalized loss functions for deep learning with noisy labels. In ICML, 2020.
265
+
266
+ Duc Tam Nguyen, Chaithanya Kumar Mummadi, Thi Phuong Nhung Ngo, Thi Hoai Phuong Nguyen, Laura Beggel, and Thomas Brox. Self: Learning to filter noisy labels with self-ensembling. In ICLR, 2020.
267
+
268
+ Giorgio Patrini, Alessandro Rozza, Aditya Krishna Menon, Richard Nock, and Lizhen Qu. Making deep neural networks robust to label noise: A loss correction approach. In CVPR, pp. 1944–1952, 2017.
269
+
270
+ Geoff Pleiss, Tianyi Zhang, Ethan R Elenberg, and Kilian Q Weinberger. Identifying mislabeled data using the area under the margin ranking. arXiv preprint arXiv:2001.10528, 2020.
271
+
272
+ Lutz Prechelt. Early stopping-but when? In Neural Networks: Tricks of the trade, pp. 55–69. Springer, 1998.
273
+
274
+ Mengye Ren, Wenyuan Zeng, Bin Yang, and Raquel Urtasun. Learning to reweight examples for robust deep learning. In ICML, pp. 4331–4340, 2018.
275
+
276
+ Shaoqing Ren, Kaiming He, Ross Girshick, and Jian Sun. Faster r-cnn: Towards real-time object detection with region proposal networks. In NeurIPS, pp. 91–99, 2015.
277
+
278
+ David Rolnick, Andreas Veit, Serge Belongie, and Nir Shavit. Deep learning is robust to massive label noise. arXiv preprint arXiv:1705.10694, 2017.
279
+
280
+ Jun Shu, Qian Zhao, Zengben Xu, and Deyu Meng. Meta transition adaptation for robust deep learning with noisy labels. arXiv preprint arXiv:2006.05697, 2020.
281
+
282
+ Christian Szegedy, Sergey Ioffe, Vincent Vanhoucke, and Alex Alemi. Inception-v4, inception-resnet and the impact of residual connections on learning. arXiv preprint arXiv:1602.07261, 2016.
283
+
284
+ Daiki Tanaka, Daiki Ikami, Toshihiko Yamasaki, and Kiyoharu Aizawa. Joint optimization framework for learning with noisy labels. In CVPR, 2018.
285
+
286
+ Sunil Thulasidasan, Tanmoy Bhattacharya, Jeff Bilmes, Gopinath Chennupati, and Jamal Mohd-Yusof. Combating label noise in deep learning using abstention. In ICML, pp. 6234–6243, 2019.
287
+
288
+ Qizhou Wang, Bo Han, Tongliang Liu, Gang Niu, Jian Yang, and Chen Gong. Tackling instancedependent label noise via a universal probabilistic model. In AAAI, 2021a.
289
+
290
+ Qizhou Wang, Jiangchao Yao, Chen Gong, Tongliang Liu, Mingming Gong, Hongxia Yang, and Bo Han. Learning with group noise. In AAAI, 2021b.
291
+
292
+ Yisen Wang, Xingjun Ma, Zaiyi Chen, Yuan Luo, Jinfeng Yi, and James Bailey. Symmetric cross entropy for robust learning with noisy labels. In ICCV, 2019.
293
+
294
+ Songhua Wu, Xiaobo Xia, Tongliang Liu, Bo Han, Mingming Gong, Nannan Wang, Haifeng Liu, and Gang Niu. Class2simi: A new perspective on learning with label noise. arXiv preprint arXiv:2006.07831, 2020.
295
+
296
+ Yonghui Wu, Mike Schuster, Zhifeng Chen, Quoc V Le, Mohammad Norouzi, Wolfgang Macherey, Maxim Krikun, Yuan Cao, Qin Gao, Klaus Macherey, et al. Google’s neural machine translation system: Bridging the gap between human and machine translation. arXiv preprint arXiv:1609.08144, 2016.
297
+
298
+ Xiaobo Xia, Tongliang Liu, Nannan Wang, Bo Han, Chen Gong, Gang Niu, and Masashi Sugiyama. Are anchor points really indispensable in label-noise learning? In NeurIPS, pp. 6838–6849, 2019.
299
+
300
+ Xiaobo Xia, Tongliang Liu, Bo Han, Nannan Wang, Jiankang Deng, Jiatong Li, and Yinian Mao. Extended T: Learning with mixed closed-set and open-set noisy labels. arXiv preprint arXiv:2012.00932, 2020a.
301
+
302
+ Xiaobo Xia, Tongliang Liu, Bo Han, Nannan Wang, Mingming Gong, Haifeng Liu, Gang Niu, Dacheng Tao, and Masashi Sugiyama. Part-dependent label noise: Towards instance-dependent label noise. In NeurIPS, 2020b.
303
+
304
+ Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017.
305
+
306
+ Tong Xiao, Tian Xia, Yi Yang, Chang Huang, and Xiaogang Wang. Learning from massive noisy labeled data for image classification. In CVPR, pp. 2691–2699, 2015.
307
+
308
+ Yilun Xu, Peng Cao, Yuqing Kong, and Yizhou Wang. L_dmi: A novel information-theoretic loss function for training deep nets robust to label noise. In NeurIPS, pp. 6222–6233, 2019.
309
+
310
+ Quanming Yao, Hansi Yang, Bo Han, Gang Niu, and James T Kwok. Searching to exploit memorization effect in learning with noisy labels. In ICML, 2020a.
311
+
312
+ Yu Yao, Tongliang Liu, Bo Han, Mingming Gong, Jiankang Deng, Gang Niu, and Masashi Sugiyama. Dual T: Reducing estimation error for transition matrix in label-noise learning. In NeurIPS, 2020b.
313
+
314
+ Yuan Yao, Lorenzo Rosasco, and Andrea Caponnetto. On early stopping in gradient descent learning. Constructive Approximation, 26(2):289–315, 2007.
315
+ Xingrui Yu, Bo Han, Jiangchao Yao, Gang Niu, Ivor W Tsang, and Masashi Sugiyama. How does disagreement benefit co-teaching? In ICML, 2019.
316
+ Xiyu Yu, Tongliang Liu, Mingming Gong, Kayhan Batmanghelich, and Dacheng Tao. An efficient and provable approach for mixture proportion estimation using linear independence assumption. In CVPR, pp. 4480–4489, 2018a.
317
+ Xiyu Yu, Tongliang Liu, Mingming Gong, and Dacheng Tao. Learning with biased complementary labels. In ECCV, pp. 68–83, 2018b.
318
+ Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. In ICLR, 2017.
319
+ Tong Zhang, Bin Yu, et al. Boosting with early stopping: Convergence and consistency. The Annals of Statistics, 33(4):1538–1579, 2005.
320
+ Zhilu Zhang and Mert Sabuncu. Generalized cross entropy loss for training deep neural networks with noisy labels. In NeurIPS, pp. 8778–8788, 2018.
321
+ Songzhu Zheng, Pengxiang Wu, Aman Goswami, Mayank Goswami, Dimitris Metaxas, and Chao Chen. Error-bounded correction of noisy labels. In ICML, 2020.
322
+ Zhaowei Zhu, Tongliang Liu, and Yang Liu. A second-order approach to learning with instancedependent label noise. In CVPR, 2021.
323
+ Difan Zou, Yuan Cao, Dongruo Zhou, and Quanquan Gu. Gradient descent optimizes overparameterized deep relu networks. Machine Learning, 109(3):467–492, 2020.
324
+
325
+ # A DETAILED EXPERIMENTAL RESULTS
326
+
327
+ In section 4.4, we provide the illustrations of the experimental results. However, because of limited space, we only show the illustrations of the experimental results on noisy CIFAR-100. The noise rate is set to $40 \%$ . In this supplementary material, we provide the illustrations of the experimental results on the other employed datasets and settings as follows.
328
+
329
+ ![](images/8a9c235567fdd484beea5a927d7984cec10f48af412602c37c39489ad93a8324.jpg)
330
+ Figure 3: Illustration of the experimental results on noisy MNIST. The noise rate is set to $20 \%$ .
331
+
332
+ ![](images/10014f8ec3d32b640c18970dd5e691446c2485e16fbbec0fde4325094e2d4730.jpg)
333
+ Figure 4: Illustration of the experimental results on noisy MNIST. The noise rate is set to $40 \%$ .
334
+
335
+ ![](images/e46f902b25cd55f9c38929a11a61480f0089cb65dd9ad1ccfa4738b8f668fa94.jpg)
336
+ Figure 5: Illustration of the experimental results on noisy $F$ -MNIST. The noise rate is set to $20 \%$
337
+
338
+ ![](images/62a5a118fc64aba5c05fd26a4f2f53ca1f99dbdb4e45d8790aea37fc491a286c.jpg)
339
+ Figure 6: Illustration of the experimental results on noisy $F$ -MNIST. The noise rate is set to $40 \%$ .
340
+
341
+ ![](images/4fb6409bea0656d378217aef81ba2dd9add85dac7ed5b20ca21117a477cbcccd.jpg)
342
+ Figure 7: Illustration of the experimental results on noisy CIFAR-10. The noise rate is set to $20 \%$ .
343
+
344
+ ![](images/35f375230d9f6f6ab80e8d4355fe51fb1568e1634ced2c2ed60e67d7d2ad2043.jpg)
345
+ Figure 8: Illustration of the experimental results on noisy CIFAR-10. The noise rate is set to $40 \%$ .
346
+
347
+ ![](images/3f5e9011e7262681b509749177bea45cf35797485062dc64ed8a2de64a04d306.jpg)
348
+ Figure 9: Illustration of the experimental results on noisy CIFAR-100. The noise rate is set to $20 \%$ .
parse/train/Eql5b1_hTE4/Eql5b1_hTE4_content_list.json ADDED
@@ -0,0 +1,1728 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "ROBUST EARLY-LEARNING: HINDERING THE MEMORIZATION OF NOISY LABELS ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 99,
9
+ 712,
10
+ 146
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Xiaobo Xia1 Tongliang $\\mathbf { L i u ^ { 1 } } ^ { \\cdot }$ † Bo Han2 \nChen Gong3 Nannan Wang4 Zongyuan $\\mathbf { G e ^ { 5 , 6 } }$ Yi Chang7 \n1Trustworthy Machine Learning Lab, School of Computer Science, The University of Sydney \n2Department of Computer Science, Hong Kong Baptist University \n3School of Computer Science and Engineering, Nanjing University of Science and Technology \n4ISN State Key Laboratory, School of Telecommunications Engineering, Xidian University \n5Medical AI Group, Faculty of Engineering, Monash University \n6Airdoc Research, Monash University \n7School of Artificial Intelligence, Jilin University ",
17
+ "bbox": [
18
+ 184,
19
+ 169,
20
+ 612,
21
+ 199
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "",
28
+ "bbox": [
29
+ 184,
30
+ 200,
31
+ 803,
32
+ 299
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "ABSTRACT ",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 454,
42
+ 337,
43
+ 544,
44
+ 352
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "The memorization effects of deep networks show that they will first memorize training data with clean labels and then those with noisy labels. The early stopping method therefore can be exploited for learning with noisy labels. However, the side effect brought by noisy labels will influence the memorization of clean labels before early stopping. In this paper, motivated by the lottery ticket hypothesis which shows that only partial parameters are important for generalization, we find that only partial parameters are important for fitting clean labels and generalize well, which we term as critical parameters; while the other parameters tend to fit noisy labels and cannot generalize well, which we term as non-critical parameters. Based on this, we propose robust early-learning to reduce the side effect of noisy labels before early stopping and thus enhance the memorization of clean labels. Specifically, in each iteration, we divide all parameters into the critical and non-critical ones, and then perform different update rules for different types of parameters. Extensive experiments on benchmark-simulated and real-world label-noise datasets demonstrate the superiority of the proposed method over the state-of-the-art label-noise learning methods. ",
51
+ "bbox": [
52
+ 233,
53
+ 371,
54
+ 764,
55
+ 593
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1 INTRODUCTION ",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 176,
65
+ 617,
66
+ 336,
67
+ 633
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Deep neural networks have achieved a remarkable success in various tasks, such as image classification (He et al., 2015), object detection (Ren et al., 2015), speech recognition (Graves et al., 2013), and machine translation (Wu et al., 2016). However, the success is largely attributed to large amounts of data with high-quality annotations, which is expensive or even infeasible in practice (Han et al., 2018a; Li et al., 2020a; Wu et al., 2020). On the other hand, many large-scale datasets are collected from image search engines or web crawlers, which inevitably involves noisy labels (Xiao et al., 2015; Li et al., 2017a; Zhu et al., 2021). As deep networks have large learning capacities and strong memorization power, they will ultimately overfit noisy labels, leading to poor generalization performance (Jiang et al., 2018; Nguyen et al., 2020). General regularization techniques such as dropout and weight decay cannot address this issue well (Zhang et al., 2017). ",
74
+ "bbox": [
75
+ 174,
76
+ 647,
77
+ 825,
78
+ 786
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "Fortunately, even though deep networks will fit all the labels eventually, they first fit data with clean labels, which helps generalization (Arpit et al., 2017; Han et al., 2018b; Yu et al., 2019; Liu et al., 2020). Thus, the early stopping method can be used to reduce overfitting to the noisy labels (Rolnick et al., 2017; Li et al., 2020b; Hu et al., 2020). However, the existence of noisy labels will still adversely affect the memorization of clean labels even in the early training stage. This will hurt generalization (Han et al., 2020). Intuitively, if we can reduce the side effect of noisy labels before early stopping, the generalization and robustness of the networks can be improved. ",
85
+ "bbox": [
86
+ 174,
87
+ 792,
88
+ 825,
89
+ 890
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "Note that over-parameterization of deep networks is one of the main reasons for overfitting to noisy labels (Zhang et al., 2017; Yao et al., 2020a). The lottery ticket hypothesis (Frankle & Carbin, 2018) shows that only partial parameters are important for generalization. The deep networks with these important parameters can generalize well, or even better by avoid overfitting. Motivated by this, for learning with noisy labels, it remains a question if we can divide the parameters into two parts to reduce the side effect brought by noisy labels, which enhances the memorization of clean labels and further improves the generalization performance of the deep networks. ",
96
+ "bbox": [
97
+ 174,
98
+ 103,
99
+ 825,
100
+ 202
101
+ ],
102
+ "page_idx": 1
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "In this paper, we present a novel and effective method to find which parameters are important for fitting data with clean labels, and which parameters tend to fit data with noisy labels. We term the former as critical parameters, and the latter as non-critical parameters. Then on this basis, we proposed robust early-learning to reduce the side effect of noisy labels before early stopping. Specifically, in each iteration during training, we first categorize all parameters into two parts, i.e., the critical parameters and the non-critical parameters. Then we designed different update rules for different types of parameters. For the critical ones, we perform robust positive update. This part of the parameters are updated using the gradients derived from the objective function and weight decay. For the non-critical ones, we perform negative update. Their values are penalized with the weight decay, and without the gradients derived from the objective function. Note that the gradients for updating are based on the loss between the prediction of deep networks and given labels. For the critical ones, they tend to fit data with clean (correct) labels to help generalization. Their gradients can therefore be exploited to update parameters. However, for the non-critical ones, they tend to fit data with noisy (incorrect) labels, which hurts generalization. Their gradients will misguide the deep networks to overfit data with noisy labels. Thus, we only use a regularization item, i.e., the weight decay, to update them. The weight decay will penalize their values to be zero, which means that they are penalized to be deactivated, and not to contribute to the generalization of deep networks. In this way, we can reduce the side effect of noisy labels and enhance the memorization of clean labels. In summary, the main contributions of this work are as follows: ",
107
+ "bbox": [
108
+ 174,
109
+ 208,
110
+ 825,
111
+ 472
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "• We propose a novel and effective method which can categorize the parameters into two parts according to whether they are important to fit data with clean labels. \n• Different update rules have been designed for different types of the parameters to reduce the side effect of noisy labels before early stopping. \n• We experimentally validate the proposed method on both synthetic noisy datasets and real-world noisy datasets, on which it achieves superior robustness compared with the state-of-the-art methods for learning with noisy labels. ",
118
+ "bbox": [
119
+ 173,
120
+ 478,
121
+ 825,
122
+ 575
123
+ ],
124
+ "page_idx": 1
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "Related Work. Early stopping is quite simple but effective in practice. It was used in supervised learning early (Prechelt, 1998; Caruana et al., 2001; Zhang et al., 2005; Yao et al., 2007). With the help of a validation set, training is then stopped before convergence to avoid the overfitting. While learning with noisy labels, the networks fit the data with clean labels before starting to overfit the data with noisy labels (Arpit et al., 2017). Early stopping is then formally proved to be valid for relieving overfitting to noisy labels (Rolnick et al., 2017; Li et al., 2020b). It has also been widely used in existing methods to improve robustness and generalization (Yu et al., 2018b; Xu et al., 2019; Yao et al., 2020b; Cheng et al., 2021). ",
129
+ "bbox": [
130
+ 174,
131
+ 583,
132
+ 825,
133
+ 694
134
+ ],
135
+ "page_idx": 1
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "The lottery ticket hypothesis (Frankle & Carbin, 2018) shows that deep networks are likely to be over-parameterized, and only partial parameters are important for generalization. With this part of the parameters, the small and sparsified networks can be trained to generalize well. While this work is motivated by the lottery ticket hypotheis, this work is fundamentally different from it. The lottery ticket hypothesis focuses on network compression. It aims to find a sparsified sub-network which has competitive generalization performance compared with the original network. This paper focuses on learning with noisy labels. We want to find the critical/non-critical parameters to reduce the side effect of noisy labels, which greatly improves the generalization performance. ",
140
+ "bbox": [
141
+ 174,
142
+ 700,
143
+ 825,
144
+ 813
145
+ ],
146
+ "page_idx": 1
147
+ },
148
+ {
149
+ "type": "text",
150
+ "text": "Lots of work proposed various methods for training with noisy labels, such as exploiting a noise transition matrix (Liu & Tao, 2016; Hendrycks et al., 2018; Xia et al., 2020a; Li et al., 2021), using graph models (Xiao et al., 2015; Li et al., 2017b), using surrogate loss functions (Zhang & Sabuncu, 2018; Wang et al., 2019; Ma et al., 2020), meta-learning (Ren et al., 2018; Shu et al., 2020), and employing the small loss trick (Jiang et al., 2018; Han et al., 2018b; Yu et al., 2019). Some methods among them employ early stopping explicitly or implicitly (Patrini et al., 2017; Xia et al., 2019). We also use early stopping in this paper. We are the first to hinder the memorization of noisy labels with analyzing the criticality of parameters. ",
151
+ "bbox": [
152
+ 174,
153
+ 819,
154
+ 825,
155
+ 904
156
+ ],
157
+ "page_idx": 1
158
+ },
159
+ {
160
+ "type": "text",
161
+ "text": "",
162
+ "bbox": [
163
+ 173,
164
+ 103,
165
+ 823,
166
+ 132
167
+ ],
168
+ "page_idx": 2
169
+ },
170
+ {
171
+ "type": "text",
172
+ "text": "Organization. The rest of the paper is organized as follows. In Section 2, we setup the problem and introduce the neural network optimization method. In Section 3, we discuss how to find the critical parameters and perform different update rules. In Section 4, we provide empirical evaluations of the proposed learning algorithm. Finally, Section 5 concludes the paper. ",
173
+ "bbox": [
174
+ 174,
175
+ 138,
176
+ 825,
177
+ 195
178
+ ],
179
+ "page_idx": 2
180
+ },
181
+ {
182
+ "type": "text",
183
+ "text": "2 PRELIMINARIES ",
184
+ "text_level": 1,
185
+ "bbox": [
186
+ 174,
187
+ 200,
188
+ 339,
189
+ 217
190
+ ],
191
+ "page_idx": 2
192
+ },
193
+ {
194
+ "type": "text",
195
+ "text": "Notation. Vectors and matrices are denoted by bold-faced letters. The standard inner product between two vectors is denoted by $\\langle \\cdot , \\cdot \\rangle$ . We use $\\| \\cdot \\| _ { p }$ as the $\\ell _ { p }$ norm of vectors or matrices. For a function $f$ , we use $\\nabla f$ to denote its gradient. Let $[ \\boldsymbol { \\mathrm { n } } ] = \\mathbf { \\bar { \\{ } } 1 , 2 , \\dots , n \\}$ . ",
196
+ "bbox": [
197
+ 174,
198
+ 223,
199
+ 826,
200
+ 266
201
+ ],
202
+ "page_idx": 2
203
+ },
204
+ {
205
+ "type": "text",
206
+ "text": "Problem Setup. Consider a classification task, there are $c$ classes. Let $\\mathcal { X }$ and $\\mathcal { V }$ be the feature and label spaces respectively, where $\\boldsymbol { \\mathcal { X } } \\in \\mathbb { R } ^ { d }$ with $d$ being the dimensionality, and $\\mathcal { V } = [ c ]$ . The joint probability distribution over $\\mathcal { X } \\times \\mathcal { V }$ is denoted by $D$ . Let ${ \\cal S } = \\{ ( { \\bf x } _ { i } , { \\bf y } _ { i } ) \\} _ { i = 1 } ^ { n }$ be an i.i.d. sample drawn from $D$ , where $n$ denotes the sample size. In traditional supervised learning, by employing $S$ , the aim is to learn a classifier that can assign labels precisely for given instances. While learning with noisy labels, we are given a sample with noisy labels $\\widetilde { S } = \\{ ( \\mathbf { x } _ { i } , \\widetilde { \\mathbf { y } } _ { i } ) \\} _ { i = 1 } ^ { n }$ , which is drawn from a corrupted joint probability distribution $\\widetilde { D }$ rather than $D$ . Here, $\\widetilde { \\mathrm { y } }$ is the possibly corrupted label of the eunderlying clean label y. The aim is changed to learn a robust classifier that could assign clean labels to test data by only exploiting a training sample with noisy labels. ",
207
+ "bbox": [
208
+ 173,
209
+ 271,
210
+ 825,
211
+ 404
212
+ ],
213
+ "page_idx": 2
214
+ },
215
+ {
216
+ "type": "text",
217
+ "text": "2.1 NEURAL NETWORK OPTIMIZATION METHOD ",
218
+ "text_level": 1,
219
+ "bbox": [
220
+ 174,
221
+ 410,
222
+ 521,
223
+ 422
224
+ ],
225
+ "page_idx": 2
226
+ },
227
+ {
228
+ "type": "text",
229
+ "text": "The optimization method is essential for training neural networks. Stochastic gradient descent (SGD) is the most popular one nowadays among the optimization methods (Allen-Zhu et al., 2019; Cao & Gu, 2019; Zou et al., 2020). Our proposed method is directly related to SGD. We analyze the optimization problem of typical supervised learning with clean labels as knowledge background. Consider a classifier to be trained, let $\\mathcal { W } \\in \\mathbb { R } ^ { m }$ be all the parameters, where $m$ is the total number of the parameters. Let $L : \\mathbb { R } ^ { c } \\times \\mathcal { Y } \\mathbb { R } _ { + }$ be the surrogate loss function, e.g., cross entropy loss. With a regularization item, e.g., $\\ell _ { 1 }$ regularizer, optimization method would involve minimizing an objective function as: ",
230
+ "bbox": [
231
+ 173,
232
+ 429,
233
+ 826,
234
+ 540
235
+ ],
236
+ "page_idx": 2
237
+ },
238
+ {
239
+ "type": "equation",
240
+ "img_path": "images/199ca6f7e036d771c837e09acac0e3c240f4f316baf5f59612c9f2e4186116c7.jpg",
241
+ "text": "$$\n\\operatorname* { m i n } L ( \\mathcal { W } ; S ) = \\operatorname* { m i n } \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } L ( \\mathcal { W } ; ( \\mathbf { x } _ { i } , \\mathbf { y } _ { i } ) ) + \\lambda \\| \\mathcal { W } \\| _ { 1 } ,\n$$",
242
+ "text_format": "latex",
243
+ "bbox": [
244
+ 318,
245
+ 536,
246
+ 678,
247
+ 578
248
+ ],
249
+ "page_idx": 2
250
+ },
251
+ {
252
+ "type": "text",
253
+ "text": "where $\\lambda \\in \\mathbb { R } _ { + }$ is a regularization parameter. The update rules of the parameters $\\mathcal { W }$ can be represented by the following formula: ",
254
+ "bbox": [
255
+ 173,
256
+ 582,
257
+ 823,
258
+ 609
259
+ ],
260
+ "page_idx": 2
261
+ },
262
+ {
263
+ "type": "equation",
264
+ "img_path": "images/72f06d07a3dcd0ddd10f870f016dea5e1e569f140ad7799159f3c79c043fee48.jpg",
265
+ "text": "$$\n\\mathcal { W } ( k + 1 ) \\mathcal { W } ( k ) - \\eta ( \\frac { \\partial L ( \\mathcal { W } ( k ) ; S ^ { \\star } ) } { \\partial \\mathcal { W } ( k ) } + \\lambda \\mathrm { s g n } ( \\mathcal { W } ( k ) ) ) ,\n$$",
266
+ "text_format": "latex",
267
+ "bbox": [
268
+ 299,
269
+ 616,
270
+ 697,
271
+ 651
272
+ ],
273
+ "page_idx": 2
274
+ },
275
+ {
276
+ "type": "text",
277
+ "text": "where $\\eta > 0$ is the learning rate, $\\mathcal { W } ( k )$ is the set of the parameters at the $k$ -th iteration, $\\operatorname { s g n } ( { \\mathord { \\cdot } } )$ is the standard sgn function in mathematics, and $S ^ { \\star }$ is a subset randomly sampled from $S$ . With SGD, the regularization parameter $\\lambda$ is equivalent to the weight decay coefficient in the training process (Loshchilov & Hutter, 2019). ",
278
+ "bbox": [
279
+ 174,
280
+ 656,
281
+ 825,
282
+ 713
283
+ ],
284
+ "page_idx": 2
285
+ },
286
+ {
287
+ "type": "text",
288
+ "text": "3 METHODOLOGY ",
289
+ "text_level": 1,
290
+ "bbox": [
291
+ 176,
292
+ 728,
293
+ 341,
294
+ 744
295
+ ],
296
+ "page_idx": 2
297
+ },
298
+ {
299
+ "type": "text",
300
+ "text": "In this section, we first introduce an alternative interpretation for the optimality criterion (Section 3.1). Then, we present how to determine the critical/non-critical parameters by exploiting this interpretation during training and the memorization effect of deep neural networks (Section 3.2). Finally, different update rules are proposed for different types of parameters to cope with noisy labels (Section 3.3). ",
301
+ "bbox": [
302
+ 174,
303
+ 757,
304
+ 825,
305
+ 814
306
+ ],
307
+ "page_idx": 2
308
+ },
309
+ {
310
+ "type": "text",
311
+ "text": "3.1 OPTIMALITY CRITERION ",
312
+ "text_level": 1,
313
+ "bbox": [
314
+ 174,
315
+ 820,
316
+ 387,
317
+ 834
318
+ ],
319
+ "page_idx": 2
320
+ },
321
+ {
322
+ "type": "text",
323
+ "text": "For the optimization of the objective function $L ( \\mathcal { W } ; S )$ , the optimality will be achieved at $\\mathcal { W }$ when $\\nabla L ( \\mathcal { W } ; S ) = \\mathbf { 0 }$ (Boyd et al., 2004; Bubeck, 2014). However, modern neural networks are complex and over-parameterized, which makes $\\nabla L ( \\boldsymbol { \\mathcal { W } } ; S )$ extremely high-dimensional. It is unintuitive for us to analyze high-dimensional vectors. The optimality is hard to be effectively judged. To address this issue, we will use a more intuitive interpretation for optimality criterion in this paper, which can associate the optimization with a scalar. Specifically, if we let $G ( t ) ~ = ~ L ( t { \\bar { \\mathcal { W } } } ; { \\overline { { S } } } )$ , ",
324
+ "bbox": [
325
+ 173,
326
+ 839,
327
+ 825,
328
+ 924
329
+ ],
330
+ "page_idx": 2
331
+ },
332
+ {
333
+ "type": "text",
334
+ "text": "$G ^ { \\prime } ( t ) = \\nabla L ( t \\mathcal { W } ; S ) ^ { \\top } \\mathcal { W }$ . Let $t = 1$ , then $G ^ { \\prime } ( 1 ) = \\nabla L ( \\mathcal { W } ; S ) ^ { \\top } \\mathcal { W } = \\langle \\nabla L ( \\mathcal { W } ; S ) , \\mathcal { W } \\rangle$ . We know that the optimality can be reached when $\\nabla L ( \\mathcal { W } ; S ) = \\mathbf { 0 }$ , then $G ^ { \\prime } ( 1 ) = 0$ . In this way, the optimality can be checked by exploiting the scalar $G ^ { \\prime } ( 1 )$ . Note that the new optimality criterion is sufficient, but is not necessary. In this paper, we focus on learning with noisy labels, and the necessity of the new optimality criterion does not affect the effectiveness of the proposed method. We will discuss this carefully in the next subsection. ",
335
+ "bbox": [
336
+ 173,
337
+ 102,
338
+ 825,
339
+ 188
340
+ ],
341
+ "page_idx": 3
342
+ },
343
+ {
344
+ "type": "text",
345
+ "text": "3.2 JUDGING THE IMPORTANCE OF NETWORK PARAMETERS ",
346
+ "text_level": 1,
347
+ "bbox": [
348
+ 174,
349
+ 194,
350
+ 599,
351
+ 208
352
+ ],
353
+ "page_idx": 3
354
+ },
355
+ {
356
+ "type": "text",
357
+ "text": "We have shown that the optimization of the objective function can be related to a scalar $G ^ { \\prime } ( 1 )$ . Its value is equal to the inner product between the value of the parameters and the gradient w.r.t. the parameters. To achieve the optimality, we need to push the value of $G ^ { \\prime } ( 1 )$ to be zero. Thus, we can judge the importance of each parameter through its influence on the value of $G ^ { \\prime } ( 1 )$ . Note that the memorization effects of deep networks show they first memorize the data with clean labels. The parameters that contribute to the optmiality at the early stage are therefore important for clean labels. Consider a parameter, denoted by $\\mathrm { w } _ { i } \\in \\mathcal { W }$ , its gradient is $\\nabla L ( \\mathrm { w } _ { i } ; S )$ . The judgement criteria is denoted by $g _ { i }$ , i.e., ",
358
+ "bbox": [
359
+ 173,
360
+ 213,
361
+ 825,
362
+ 327
363
+ ],
364
+ "page_idx": 3
365
+ },
366
+ {
367
+ "type": "equation",
368
+ "img_path": "images/af0235c8bae17795f67ad87c01abea25c2bdafc2c7d2073c7f00bcaab4a1bcfd.jpg",
369
+ "text": "$$\ng _ { i } = \\lvert \\nabla L ( \\mathrm { w } _ { i } ; S ) \\times \\mathrm { w } _ { i } \\rvert , i \\in [ m ] .\n$$",
370
+ "text_format": "latex",
371
+ "bbox": [
372
+ 390,
373
+ 325,
374
+ 607,
375
+ 343
376
+ ],
377
+ "page_idx": 3
378
+ },
379
+ {
380
+ "type": "text",
381
+ "text": "If the value of $g _ { i }$ is large, $\\mathrm { w } _ { i }$ is viewed as a critical parameter, as $g _ { i }$ has a great influence on the value of $G ^ { \\prime } ( 1 )$ . On the contrary, if the value of $g _ { i }$ is small, e.g., zero or very close to zero, $\\mathrm { w } _ { i }$ is regarded to be a non-critical parameter. It is not important for fitting clean labels. If we update it, it will tend to fit noisy labels. ",
382
+ "bbox": [
383
+ 173,
384
+ 347,
385
+ 825,
386
+ 402
387
+ ],
388
+ "page_idx": 3
389
+ },
390
+ {
391
+ "type": "text",
392
+ "text": "The underlying issue of directly using the gradient of $L ( \\mathbb { w } _ { i } ; S )$ as a criterion for the criticality can be identified. When we only exploit gradient information, we ignore the value of the parameter $\\mathrm { w } _ { i }$ However, if the value is zero or close to zero, the parameter is inactivated. It is also non-critical for optimality (Han et al., 2015; Frankle & Carbin, 2018; Lee et al., 2019). Note that we use early stopping in this paper. The deep networks mainly fit clean labels in the early training. Thus, even with the existence of noisy labels, we can use the criterion to analyze the criticality of the parameters. ",
393
+ "bbox": [
394
+ 173,
395
+ 409,
396
+ 825,
397
+ 494
398
+ ],
399
+ "page_idx": 3
400
+ },
401
+ {
402
+ "type": "text",
403
+ "text": "It should be noted when $g _ { i } = 0$ , there will be three possible scenarios: (1) only $\\nabla L ( \\mathbf { w } _ { i } ; S ) = 0$ ; (2) only $\\mathrm { w } _ { \\mathrm { i } } = 0$ ; (3) both $\\nabla L ( \\mathbf { w } _ { i } ; S ) = 0$ and $\\mathrm { w } _ { i } = 0$ . In all three cases, we can judge the importance of parameter $\\mathrm { w } _ { i }$ using $g _ { i }$ as analyzed. In other words, when $g _ { i } = 0$ , we allow that the value of $\\nabla L ( \\mathrm { w } _ { i } ; S )$ is not zero, i.e., the new optimality criterion is not necessary, which does not influence the effectiveness of the proposed method. ",
404
+ "bbox": [
405
+ 173,
406
+ 500,
407
+ 825,
408
+ 570
409
+ ],
410
+ "page_idx": 3
411
+ },
412
+ {
413
+ "type": "text",
414
+ "text": "3.3 COMBATING NOISY LABELS WITH DIFFERENT UPDATE RULES ",
415
+ "text_level": 1,
416
+ "bbox": [
417
+ 176,
418
+ 577,
419
+ 637,
420
+ 592
421
+ ],
422
+ "page_idx": 3
423
+ },
424
+ {
425
+ "type": "text",
426
+ "text": "We have presented how to judge the importance of the parameters, and then divide them into the critical ones and non-critical ones. We exploit the label noise rate to help divide the parameters into the critical/non-critical ones. Intuitively, if the noise rate is high, the number of clean labels is small. The number of required critical parameters for memorizing clean labels is then small. The number of the critical parameters has a negative correlation with noise rate. We therefore use the noise rate to help identify the critical parameters. We use $\\tau$ to denote the noise rate. If $\\tau$ is not known in advanced, it can be easily inferred (Liu & Tao, 2016; Yu et al., 2018a). We show that the proposed method is insensitive to the estimation result of the noise rate in Section 4.4. Then, the number of the critical parameters can be defined as: ",
427
+ "bbox": [
428
+ 173,
429
+ 603,
430
+ 826,
431
+ 729
432
+ ],
433
+ "page_idx": 3
434
+ },
435
+ {
436
+ "type": "equation",
437
+ "img_path": "images/f86e85b89f934f3cb20290c43ae6c87ba7df265ec48b59d4b9a587b8d0ab2ae9.jpg",
438
+ "text": "$$\nm _ { c } = { \\left( 1 - \\tau \\right) } m .\n$$",
439
+ "text_format": "latex",
440
+ "bbox": [
441
+ 441,
442
+ 728,
443
+ 555,
444
+ 746
445
+ ],
446
+ "page_idx": 3
447
+ },
448
+ {
449
+ "type": "text",
450
+ "text": "In each iteration, for each parameter $\\mathrm { w } _ { i }$ , $i \\in [ m ]$ . The critical and non-critical parameters are determined according to the result of numerical sorting of $g _ { i }$ , which has been explained before. The critical and non-critical parameters are denoted by $\\mathcal { W } _ { c }$ and $\\mathcal { W } _ { n }$ respectively. Two different update strategies are performed for two types of the parameters. ",
451
+ "bbox": [
452
+ 173,
453
+ 750,
454
+ 825,
455
+ 806
456
+ ],
457
+ "page_idx": 3
458
+ },
459
+ {
460
+ "type": "text",
461
+ "text": "Robust positive update. For the critical ones ${ \\mathcal { W } } _ { c }$ , we use the gradients derived from the objective function and weight decay. We clip the gradients to perform gradient decay in this paper. The update rule is: ",
462
+ "bbox": [
463
+ 174,
464
+ 813,
465
+ 825,
466
+ 853
467
+ ],
468
+ "page_idx": 3
469
+ },
470
+ {
471
+ "type": "equation",
472
+ "img_path": "images/5333c193bcc8be7b15b14fd7ef6e7c1f281b1980eb1f98dc436064680881878c.jpg",
473
+ "text": "$$\n\\mathcal { W } _ { c } ( k + 1 ) \\gets \\mathcal { W } _ { c } ( k ) - \\eta \\left( ( 1 - \\tau ) \\frac { \\partial L ( \\mathcal { W } _ { c } ( k ) ; \\widetilde { S } ^ { \\star } ) } { \\partial \\mathcal { W } _ { c } ( k ) } + \\lambda \\mathrm { s g n } ( \\mathcal { W } _ { c } ( k ) ) \\right) ,\n$$",
474
+ "text_format": "latex",
475
+ "bbox": [
476
+ 264,
477
+ 851,
478
+ 733,
479
+ 888
480
+ ],
481
+ "page_idx": 3
482
+ },
483
+ {
484
+ "type": "text",
485
+ "text": "where $\\smash { \\widetilde { S } ^ { \\star } }$ is a subset randomly sampled from $\\widetilde { S }$ . Note that we directly use $\\smash { \\widetilde { S } ^ { \\star } }$ here, rather than $S ^ { \\star }$ in Eq. (2). It is because the proposed method exploits the memorization effects of deep networks. ",
486
+ "bbox": [
487
+ 174,
488
+ 893,
489
+ 825,
490
+ 924
491
+ ],
492
+ "page_idx": 3
493
+ },
494
+ {
495
+ "type": "text",
496
+ "text": "Algorithm 1 CDR algorithm. ",
497
+ "text_level": 1,
498
+ "bbox": [
499
+ 174,
500
+ 103,
501
+ 369,
502
+ 118
503
+ ],
504
+ "page_idx": 4
505
+ },
506
+ {
507
+ "type": "text",
508
+ "text": "1: Input: initialization parameters $\\mathcal { W }$ , noisy training set $\\mathcal { D } _ { t }$ , noisy validation set $\\mathcal { D } _ { v }$ , learning rate $\\eta$ , weight decay coefficient $\\lambda$ , fixed $\\tau$ , epoch $T$ and $T _ { \\mathrm { m a x } }$ , iteration $N _ { \\mathrm { m a x } }$ ; for $T = 1 , 2 , \\dots , T _ { \\mathrm { m a x } }$ do \n2: Shuffle training set $\\mathcal { D } _ { t }$ ; for $N = 1 , \\dots , N _ { \\mathrm { m a x } }$ do \n3: Fetch mini-batch $\\bar { \\mathcal { D } } _ { t }$ from $\\mathcal { D } _ { t }$ ; \n4: Divide $\\mathcal { W }$ into $\\mathcal { W } _ { c }$ and $\\mathcal { W } _ { n }$ with Eq. (3) and Eq. (4); //define the types of the parameters; \n5: Update $\\mathcal { W } _ { c }$ with Eq. (5); //update ${ \\mathcal { W } } _ { c }$ using the robust positive update; \n6: Update $\\mathcal { W } _ { n }$ with Eq. (6); //update $\\mathcal { W } _ { n }$ using the negative update; end end //Early stopping criterion: if the minimum classification error is achieved with $\\mathcal { W }$ on $\\mathcal { D } _ { v }$ \n8: Output: parameters $\\mathcal { W }$ after update. ",
509
+ "bbox": [
510
+ 173,
511
+ 116,
512
+ 828,
513
+ 303
514
+ ],
515
+ "page_idx": 4
516
+ },
517
+ {
518
+ "type": "text",
519
+ "text": "Though we have only noisy training data, deep networks will first memorize training data with clean labels. As can be seen in Eq. (5), the gradient decay coefficient is set to $1 - \\tau$ , which can prevent over-confident descent steps in the training process. ",
520
+ "bbox": [
521
+ 176,
522
+ 315,
523
+ 821,
524
+ 358
525
+ ],
526
+ "page_idx": 4
527
+ },
528
+ {
529
+ "type": "text",
530
+ "text": "Negative update. For the non-critical parameters $\\mathcal { W } _ { n }$ , we only use the weight decay to update them. The update rule is: ",
531
+ "bbox": [
532
+ 173,
533
+ 364,
534
+ 823,
535
+ 392
536
+ ],
537
+ "page_idx": 4
538
+ },
539
+ {
540
+ "type": "equation",
541
+ "img_path": "images/c157828d49c02cd33ca20151bf7fe08b0b97bfa2759d4dedf455bae122b21ac1.jpg",
542
+ "text": "$$\n{ \\mathcal W } _ { n } ( k + 1 ) \\gets { \\mathcal W } _ { n } ( k ) - \\eta \\lambda \\mathrm { s g n } ( { \\mathcal W } _ { n } ( k ) ) .\n$$",
543
+ "text_format": "latex",
544
+ "bbox": [
545
+ 361,
546
+ 398,
547
+ 635,
548
+ 416
549
+ ],
550
+ "page_idx": 4
551
+ },
552
+ {
553
+ "type": "text",
554
+ "text": "The gradients of the objective function exploit loss between the prediction of deep networks and given labels. Robust positive update uses the gradients to update the critical ones, which helps deep networks memorize clean labels. For the non-critical ones, they tend to overfit noisy labels, their gradients are misleading for generalization. Thus, we only use the weight decay, to update them. The weight decay will penalize their values to be zero and help generalization (Arora et al., 2018). As they are deactivated, they will not contribute to the memorization or generalization. The use of two update rules makes us achieve the goal, i.e., reducing the side effect of noisy labels and thus enhance the memorization of clean labels. The overall procedure of combating noisy labels with different update rules (CDR) is summarized in Algorithm 1. ",
555
+ "bbox": [
556
+ 174,
557
+ 433,
558
+ 825,
559
+ 559
560
+ ],
561
+ "page_idx": 4
562
+ },
563
+ {
564
+ "type": "text",
565
+ "text": "4 EXPERIMENTS ",
566
+ "text_level": 1,
567
+ "bbox": [
568
+ 176,
569
+ 575,
570
+ 326,
571
+ 590
572
+ ],
573
+ "page_idx": 4
574
+ },
575
+ {
576
+ "type": "text",
577
+ "text": "In this section, we first introduce the datasets used, and implementation details in the experiments (Section 4.1). We next introduce the methods used for comparison in this paper (Section 4.2). The ablation study is conducted to show that the proposed method is not sensitive to the estimation result of the noise rate (Section 4.3). Finally, we present the experimental results on synthetic and real-world noisy datasets to show the effectiveness of the proposed method (Section 4.4). ",
578
+ "bbox": [
579
+ 173,
580
+ 602,
581
+ 825,
582
+ 671
583
+ ],
584
+ "page_idx": 4
585
+ },
586
+ {
587
+ "type": "text",
588
+ "text": "4.1 DATASETS AND IMPLEMENTATION DETAILS ",
589
+ "text_level": 1,
590
+ "bbox": [
591
+ 174,
592
+ 688,
593
+ 514,
594
+ 702
595
+ ],
596
+ "page_idx": 4
597
+ },
598
+ {
599
+ "type": "text",
600
+ "text": "To verify the effectiveness of the proposed method, we run experiments on the manually corrupted version of four datasets, i.e., MNIST (LeCun et al., 1998), $F$ -MNIST (Xiao et al., 2017), CIFAR-10 and CIFAR-100 (Krizhevsky & Hinton, 2009), and two real-world noisy datasets, i.e., Food-101 (Bossard et al., 2014) and WebVision (Li et al., 2017a). MNIST and $F$ -MNIST both have $2 8 \\times 2 8$ gayscale images of 10 classes including 60,000 training images and 10,000 test images. CIFAR-10 and CIFAR-100 both have $3 2 \\times 3 2 \\times 3$ color images including 50,000 training images and 10,000 test images. CIFAR-10 has 10 classes while CIFAR-100 has 100 classes. Food-101 consists of 101 food categories, with 101,000 images. For each class, 250 manually reviewed clean test images are provided as well as 750 training images with real-world label noise. WebVision contains 2.4 million images crawled from the websites using the 1,000 concepts in ImageNet ILSVRC12 (Deng et al., 2009). Following the “Mini” setting in (Jiang et al., 2018; Chen et al., 2019; Ma et al., 2020), we take the first 50 classes of the Google resized image subset, and evaluate the trained networks on the same 50 classes of the ILSVRC12 validation set, which is exploited as a test set. For all datasets, following prior works (Patrini et al., 2017; Wang et al., 2021b), we leave out $10 \\%$ training data as a validation set, which is for early stopping. ",
601
+ "bbox": [
602
+ 174,
603
+ 715,
604
+ 825,
605
+ 924
606
+ ],
607
+ "page_idx": 4
608
+ },
609
+ {
610
+ "type": "text",
611
+ "text": "We consider four types of synthetic label noise in this paper, i.e., symmetric noise, asymmetric noise, pairflip noise and instance-dependent noise (abbreviated as instance noise). These settings are widely used in existing works (Ma et al., 2018; Thulasidasan et al., 2019; Pleiss et al., 2020; Wang et al., 2021a). The noise rates $\\tau$ are set to $20 \\%$ and $40 \\%$ . The details of the noise setting are described as follows: ",
612
+ "bbox": [
613
+ 173,
614
+ 103,
615
+ 825,
616
+ 172
617
+ ],
618
+ "page_idx": 5
619
+ },
620
+ {
621
+ "type": "text",
622
+ "text": "• Symmetric noise: this kind of label noise is generated by flipping labels in each class uniformly to incorrect labels of other classes. \n• Asymmetric noise: this kind of label noise is generated by flipping labels within a set of similar classes. In this paper, for MNIST, flipping $2 \\to 7$ , $3 8$ , $5 6$ . For $F$ -MNIST, flipping TSHIRT SHIRT, PULLOVER $ \\mathrm { C O A T }$ , SANDALS SNEAKER. For CIFAR-10, TRUCK AUTOMOBILE, BIRD AIRPLANE, DEER HORSE, $\\mathrm { C A T } \\mathrm { D O G }$ . For CIFAR-100, the 100 classes are grouped into 20 super-classes, and each has 5 sub-classes. Each class is then flipped into the next within the same super-class. \n• Pairflip noise: the noise flips each class to its adjacent class. More explanation about this noise setting can be found in (Yu et al., 2019; Zheng et al., 2020; Lyu & Tsang, 2020). \n• Instance noise: the noise is quite realistic, where the probability that an instance is mislabeled depends on its features. Following (Xia et al., 2020b), we generate this type of label noise to validate the effectiveness of the proposed method. ",
623
+ "bbox": [
624
+ 173,
625
+ 180,
626
+ 826,
627
+ 359
628
+ ],
629
+ "page_idx": 5
630
+ },
631
+ {
632
+ "type": "text",
633
+ "text": "For MNIST, we train a LeNet (LeCun et al., 1998) with batch size 32. For $F$ -MNIST, we train a ResNet-50 (He et al., 2015) with batch size 32. For CIFAR-10 and CIFAR-100, we train a ResNet-50 with batch size 64, and typical data augmentations including random crop and horizontal flip are applied. For all the training, we use SGD optimizer with momentum 0.9 and weight decay is set to $\\mathrm { \\dot { 1 } 0 ^ { - 3 } }$ . The initial learning rate is set to $\\mathrm { 1 0 ^ { - 2 } }$ . For Food-101, we use a ResNet-50 pre-trained on ImageNet with batch size 32. The initial learning rate is changed to $1 0 ^ { - 3 }$ . For WebVision, we use an Inception-ResNet v2 (Szegedy et al., 2016) with batch size 128. The initial learning rate is set to $1 0 ^ { - 1 }$ . We set 100 epochs in total for all the experiments. For fair comparison, all the codes are implemented in PyTorch 1.2.0 with CUDA 10.0, and run on NVIDIA Tesla V100 GPUs. Our implementation is available at https://github.com/xiaoboxia/CDR. ",
634
+ "bbox": [
635
+ 173,
636
+ 367,
637
+ 825,
638
+ 506
639
+ ],
640
+ "page_idx": 5
641
+ },
642
+ {
643
+ "type": "text",
644
+ "text": "4.2 COMPARISON METHODS ",
645
+ "text_level": 1,
646
+ "bbox": [
647
+ 174,
648
+ 512,
649
+ 385,
650
+ 526
651
+ ],
652
+ "page_idx": 5
653
+ },
654
+ {
655
+ "type": "text",
656
+ "text": "We compare the proposed method with the following methods: (1) CE, which trains the deep neural networks with the cross entropy loss on noisy datasets. (2) GCE (Zhang & Sabuncu, 2018), which unites the mean absolute error loss and the cross entropy loss to handle noisy labels. The hyperparameter $q$ in this work is set to 0.7. (3) DMI (Xu et al., 2019), which copes with noisy labels from the perspective of information theory. (4) APL (Ma et al., 2020), which combines two mutually reinforcing robust loss functions. For this baseline, we employ its combination of NCE and RCE for a comparison. (5) MentorNet (Jiang et al., 2018), which learns a curriculum to filter out noisy data. (6) Co-teaching (Han et al., 2018b), which maintains two networks and cross-trains on the instances with small loss. (7) Co-teaching $^ +$ (Yu et al., 2019), which maintains two networks and finds small loss instances among the prediction disagreement data for training. (8) S2E (Yao et al., 2020a), which exploits automated machine learning to handle noisy labels. (9) Forward (Patrini et al., 2017), which estimates the noise transition matrix to correct the training loss. (10) T-Revision (Xia et al., 2019), which employs importance reweighting technique and introduces a slack variable to revise the noise transition matrix. (11) Joint (Tanaka et al., 2018), which jointly optimizes the network parameters and the sample labels. The hyperparameters $\\alpha$ and $\\beta$ are set to 1.2 and 0.8 respectively. Note that we do not compare with some state-of-the-art methods like SELF (Nguyen et al., 2020) and DivideMix (Li et al., 2020a) as baselines because of the following reasons. (1) Their proposed methods are aggregations of multiple techniques while this paper only focuses on one, therefore the comparison is not fair. (2) We are focusing on proving the concept, i.e., how to reduce the side effect of noisy labels before early stopping, but not on boosting the classification performance. ",
657
+ "bbox": [
658
+ 173,
659
+ 532,
660
+ 825,
661
+ 809
662
+ ],
663
+ "page_idx": 5
664
+ },
665
+ {
666
+ "type": "text",
667
+ "text": "4.3 ABLATION STUDY ",
668
+ "text_level": 1,
669
+ "bbox": [
670
+ 174,
671
+ 819,
672
+ 339,
673
+ 832
674
+ ],
675
+ "page_idx": 5
676
+ },
677
+ {
678
+ "type": "text",
679
+ "text": "We need the noise rate to determine the number of different types of the parameters and the gradient decay coefficient as mentioned above. Compared with symmetric noise, asymmetric noise and pairflip noise, the noise rate of instance noise is hard to be estimated (Cheng et al., 2020; Xia et al., 2020b). We present that our proposed method is insensitive to the estimation result of noise rate. The experiments are conducted on CIFAR-10 and CIFAR-100 datasets with instance noise. The noise rates are set to $20 \\%$ and $40 \\%$ , respectively. In Figure 1, we show that how the classificaition performance of the proposed method varies with the change of the estimated noise rate. We can clearly see that the proposed method is robust to the estimation result of the noise rate. ",
680
+ "bbox": [
681
+ 174,
682
+ 840,
683
+ 825,
684
+ 924
685
+ ],
686
+ "page_idx": 5
687
+ },
688
+ {
689
+ "type": "table",
690
+ "img_path": "images/95e0e94e4108f992457420f13efa16ffdc5e6073aef3274d2f2e4512e36c999d.jpg",
691
+ "table_caption": [
692
+ "Table 1: Mean and standard deviations of classification accuracy (percentage) on synthetic noisy datasets with different noise levels. The experimental results are reported over five trials. The best mean results are bolded. "
693
+ ],
694
+ "table_footnote": [],
695
+ "table_body": "<table><tr><td rowspan=1 colspan=12>Symmetric Asymmetric Pairflip InstanceDataset Method20% 40% 20% 40% 20% 40% 20% 40%</td></tr><tr><td rowspan=1 colspan=12>CE 98.60±0.07 98.18±0.16 99.00±0.08 98.31±0.28 98.74±0.17 94.08±0.9398.14±0.02 92.76±0.21</td></tr><tr><td rowspan=1 colspan=12>GCE 98.84±0.12 98.12±0.33 98.92±0.09 98.31±0.27 98.94±0.05 97.39±0.62 98.17±0.08 94.97±0.32DMI 98.94±0.02 98.62±0.1799.07±0.10 98.61±0.26 98.96±0.12 97.27±0.39 98.34±0.17 95.34±0.28</td></tr><tr><td rowspan=5 colspan=12>APL 98.74±0.0997.04±0.3598.90±0.0797.23±0.7398.24±0.3995.24±1.4997.03±0.2990.04±3.93MentorNet 97.21±0.1393.96±0.7698.51±0.0993.47±0.8097.25±0.3293.27±0.7395.17±0.2690.05±1.43MNIST Co-teaching 97.22±0.1894.64±0.3398.63±0.1293.62±1.2797.44±0.2694.81±0.4597.32±0.1592.45±0.59Co-teaching+ 98.11±0.0795.87±0.2798.83±0.0896.65±1.7398.81±0.1295.42±0.3398.07±0.1294.37±0.48S2E 98.93±0.3993.23±2.3799.23±0.0798.31±0.1399.10±0.0480.15±3.7898.42±0.4783.38±0.94Forward 98.10±0.1296.83±0.2898.79±0.28 97.94±0.4798.62±0.16 95.37±0.7097.87±0.2192.30±0.18</td></tr><tr><td rowspan=2 colspan=6>MentorNet 97.21±0.1393.96±0.76MNIST Co-teaching 97.22±0.1894.64±0.33Co-teaching+ 98.11±0.0795.87±0.27</td></tr><tr><td rowspan=1 colspan=1>94.64±0.33</td></tr><tr><td rowspan=1 colspan=5>S2E 98.93±0.3993.23±2.37</td></tr><tr><td rowspan=1 colspan=5>Forward 98.10±0.1296.83±0.28</td><td rowspan=1 colspan=2>98.79±0.28</td><td rowspan=1 colspan=1>97.94±0.47</td></tr><tr><td rowspan=1 colspan=5>T-Revision 98.93±0.0798.40±0.53</td><td rowspan=1 colspan=2>99.05±0.16</td><td rowspan=1 colspan=1>98.23±0.54</td><td rowspan=1 colspan=1>498.82±0.07</td><td rowspan=1 colspan=3>97.43±0.1998.33±0.1595.64±0.34</td></tr><tr><td rowspan=2 colspan=5>Joint 98.54±0.1398.30±0.28CDR 99.00±0.0498.80±0.1299.30±0.0498.80±0.17</td><td rowspan=1 colspan=2>98.96±0.05</td><td rowspan=1 colspan=1>98.40±0.11</td><td rowspan=1 colspan=1>98.70±0.08</td><td rowspan=1 colspan=1>96.33±0.82</td><td rowspan=1 colspan=2>98.11±0.1393.15±0.43</td></tr><tr><td rowspan=1 colspan=2>99.30±0.04</td><td rowspan=1 colspan=1>98.80±0.17</td><td rowspan=1 colspan=1>99.17±0.08</td><td rowspan=1 colspan=1>98.12±0.23</td><td rowspan=1 colspan=2>98.49±0.0994.45±1.04</td></tr><tr><td rowspan=1 colspan=5>CE 90.36±0.2187.61±0.72</td><td rowspan=1 colspan=2>91.31±0.13</td><td rowspan=1 colspan=1>86.43±2.01</td><td rowspan=1 colspan=1>91.65±0.12</td><td rowspan=1 colspan=1>76.42±4.13</td><td rowspan=1 colspan=2>88.81±0.6778.62±2.92</td></tr><tr><td rowspan=1 colspan=5>GCE 91.77±0.1390.02±0.37</td><td rowspan=1 colspan=2>91.45±0.29</td><td rowspan=1 colspan=1>73.62±2.92</td><td rowspan=1 colspan=1>91.99±0.36</td><td rowspan=1 colspan=1>84.21±2.05</td><td rowspan=1 colspan=1>91.06±0.55</td><td rowspan=1 colspan=1>574.82±0.94</td></tr><tr><td rowspan=1 colspan=5>DMI 91.87±0.2688.65±0.37</td><td rowspan=1 colspan=2>92.33±0.11</td><td rowspan=1 colspan=1>89.62±0.48</td><td rowspan=1 colspan=1>91.33±0.37</td><td rowspan=1 colspan=1>83.93±0.92</td><td rowspan=1 colspan=1>90.87±0.15</td><td rowspan=1 colspan=1>80.51±0.66</td></tr><tr><td rowspan=1 colspan=5>APL 87.23±0.1973.62±0.88</td><td rowspan=1 colspan=2>86.21±0.24</td><td rowspan=1 colspan=1>81.03±3.09</td><td rowspan=1 colspan=1>84.52±0.73</td><td rowspan=1 colspan=1>76.39±2.85</td><td rowspan=1 colspan=1>84.38±0.70</td><td rowspan=1 colspan=1>)60.38±8.37</td></tr><tr><td rowspan=2 colspan=5>MentorNet 88.12±0.1286.05±0.27F-MNIST Co-teaching 89.03±0.3287.04±0.69</td><td rowspan=1 colspan=2>89.76±0.18</td><td rowspan=1 colspan=1>68.93±3.20</td><td rowspan=1 colspan=1>87.39±0.57</td><td rowspan=1 colspan=1>76.90±5.72</td><td rowspan=1 colspan=1>86.50±0.26</td><td rowspan=1 colspan=1>78.37±0.95</td></tr><tr><td rowspan=1 colspan=3>92.03±0.1672.23±4.38</td><td rowspan=1 colspan=1>89.63±0.78</td><td rowspan=1 colspan=1>84.10±0.92</td><td rowspan=1 colspan=2>89.27±0.86583.49±1.27</td></tr><tr><td rowspan=1 colspan=5>Co-teaching+ 91.34±0.1790.23±0.21</td><td rowspan=1 colspan=2>83.98±1.05</td><td rowspan=1 colspan=1>66.27±3.01</td><td rowspan=1 colspan=1>91.08±0.25</td><td rowspan=1 colspan=1>72.65±0.49</td><td rowspan=1 colspan=2>83.78±0.73 38.79±9.93</td></tr><tr><td rowspan=1 colspan=4>S2E 90.89±0.27</td><td rowspan=1 colspan=1>75.68±3.73</td><td rowspan=1 colspan=2>91.20±0.31</td><td rowspan=1 colspan=1>87.06±0.50</td><td rowspan=1 colspan=1>91.52±0.19</td><td rowspan=1 colspan=1>72.09±2.15</td><td rowspan=1 colspan=1>89.17±0.32</td><td rowspan=1 colspan=1>72.62±2.73</td></tr><tr><td rowspan=1 colspan=4>Forward 90.72±0.19</td><td rowspan=1 colspan=1>88.05±0.73</td><td rowspan=1 colspan=2>92.05±0.21</td><td rowspan=1 colspan=1>85.42±0.74</td><td rowspan=1 colspan=1>90.02±0.87</td><td rowspan=1 colspan=1>83.06±0.79</td><td rowspan=1 colspan=1>87.95±0.75</td><td rowspan=1 colspan=1>75.34±1.89</td></tr><tr><td rowspan=1 colspan=4>T-Revision 91.95±0.20</td><td rowspan=1 colspan=1>90.35±0.28</td><td rowspan=1 colspan=2>92.07±0.11</td><td rowspan=1 colspan=1>88.53±0.32</td><td rowspan=1 colspan=1>91.06±0.19</td><td rowspan=1 colspan=1>85.67±0.88</td><td rowspan=1 colspan=1>91.05±0.28</td><td rowspan=1 colspan=1>84.34±1.37</td></tr><tr><td rowspan=2 colspan=4>Joint 82.01±0.77CDR 92.24±0.11</td><td rowspan=1 colspan=1>72.36±2.84</td><td rowspan=1 colspan=2>85.92±0.83</td><td rowspan=1 colspan=1>73.09±0.91</td><td rowspan=1 colspan=1>86.04±0.99</td><td rowspan=1 colspan=1>70.87±3.95</td><td rowspan=1 colspan=1>82.07±0.94 50.62±4.77</td><td rowspan=1 colspan=1>82.07±0.94 50.62±4.77</td></tr><tr><td rowspan=1 colspan=1>90.91±0.27</td><td rowspan=1 colspan=2>93.01±0.14</td><td rowspan=1 colspan=1>90.37±0.32</td><td rowspan=1 colspan=1>93.06±0.19</td><td rowspan=1 colspan=1>87.55±1.07</td><td rowspan=1 colspan=1>91.52±0.17</td><td rowspan=1 colspan=1>85.04±1.02</td></tr><tr><td rowspan=1 colspan=4>CE 89.14±0.41</td><td rowspan=1 colspan=1>86.25±1.32</td><td rowspan=1 colspan=2>88.21±0.19</td><td rowspan=1 colspan=1>86.37±1.03</td><td rowspan=1 colspan=1>89.68±0.72</td><td rowspan=1 colspan=1>86.53±0.37</td><td rowspan=1 colspan=1>86.73±0.36 75.33±2.72</td><td rowspan=1 colspan=1>86.73±0.36 75.33±2.72</td></tr><tr><td rowspan=1 colspan=4>GCE</td><td rowspan=1 colspan=1>86.07±0.41</td><td rowspan=1 colspan=2>89.03±0.21</td><td rowspan=1 colspan=1>84.12±1.24</td><td rowspan=1 colspan=1>88.58±0.34</td><td rowspan=1 colspan=1>83.23±3.98</td><td rowspan=1 colspan=1>88.02±0.34</td><td rowspan=1 colspan=1>76.89±0.96</td></tr><tr><td rowspan=1 colspan=4>DMI</td><td rowspan=1 colspan=1>86.89±1.07</td><td rowspan=1 colspan=2>89.37±0.82</td><td rowspan=1 colspan=1>86.32±1.17</td><td rowspan=1 colspan=1>88.41±1.01</td><td rowspan=1 colspan=1>84.02±1.73</td><td rowspan=1 colspan=1>88.93±0.29</td><td rowspan=1 colspan=1>79.35±2.17</td></tr><tr><td rowspan=1 colspan=4>APL 88.21±0.32</td><td rowspan=1 colspan=1>81.07±1.36</td><td rowspan=1 colspan=2>89.03±0.75</td><td rowspan=1 colspan=1>85.10±2.42</td><td rowspan=1 colspan=1>87.34±1.44</td><td rowspan=1 colspan=1>80.12±3.65</td><td rowspan=1 colspan=1>76.31±2.24</td><td rowspan=1 colspan=1>450.73±4.89</td></tr><tr><td rowspan=2 colspan=5>MentorNet 83.26±0.7278.37±1.73CIFAR-10 Co-teaching 88.20±0.2784.45±0.68</td><td rowspan=1 colspan=2>78.37±1.73</td><td rowspan=1 colspan=1>84.07±0.59</td><td rowspan=1 colspan=1>60.22±3.47</td><td rowspan=1 colspan=1>78.73±0.89</td><td rowspan=1 colspan=1>69.37±3.28</td><td rowspan=1 colspan=1>83.06±0.92</td></tr><tr><td rowspan=1 colspan=2>87.42±0.38</td><td rowspan=1 colspan=1>64.03±0.73</td><td rowspan=1 colspan=1>82.66±0.32</td><td rowspan=1 colspan=1>73.68±0.62</td><td rowspan=1 colspan=1>86.71±0.79</td><td rowspan=1 colspan=1>81.14±1.32</td></tr><tr><td rowspan=1 colspan=3>Co-teaching+</td><td rowspan=1 colspan=1>86.47±0.92</td><td rowspan=1 colspan=1>78.93±0.74</td><td rowspan=1 colspan=2>85.37±0.47</td><td rowspan=1 colspan=1>63.17±3.48</td><td rowspan=1 colspan=1>84.01±1.01</td><td rowspan=1 colspan=1>70.17±1.37</td><td rowspan=1 colspan=1>85.92±0.26</td><td rowspan=1 colspan=1>557.95±3.17</td></tr><tr><td rowspan=1 colspan=3>S2E</td><td rowspan=1 colspan=1>90.26±0.24</td><td rowspan=1 colspan=1>75.20±2.05</td><td rowspan=1 colspan=2>90.73±0.32</td><td rowspan=1 colspan=1>87.83±0.97</td><td rowspan=1 colspan=1>89.92±0.37</td><td rowspan=1 colspan=1>76.18±1.93</td><td rowspan=1 colspan=1>90.32±0.21</td><td rowspan=1 colspan=1>68.93±1.86</td></tr><tr><td rowspan=1 colspan=3>Forward</td><td rowspan=1 colspan=1>88.36±0.34</td><td rowspan=1 colspan=1>86.47±0.98</td><td rowspan=1 colspan=2>3 89.30±0.71</td><td rowspan=1 colspan=1>85.33±1.48</td><td rowspan=1 colspan=1>387.62±0.24</td><td rowspan=1 colspan=1>83.23±1.30</td><td rowspan=1 colspan=1>85.39±0.23</td><td rowspan=1 colspan=1>376.88±1.26</td></tr><tr><td rowspan=1 colspan=3>T-Revision</td><td rowspan=1 colspan=1>89.43±0.62</td><td rowspan=1 colspan=1>86.98±0.87</td><td rowspan=1 colspan=2>89.94±0.74</td><td rowspan=1 colspan=1>88.11±1.22</td><td rowspan=1 colspan=1>91.01±0.29</td><td rowspan=1 colspan=1>87.10±1.38</td><td rowspan=1 colspan=1>90.43±0.38 85.46±1.04</td><td rowspan=1 colspan=1>85.46±1.04</td></tr><tr><td rowspan=1 colspan=4>Joint 89.94±0.25 87.17±0.35</td><td rowspan=1 colspan=1>89.94±0.25 87.17±0.35</td><td rowspan=1 colspan=2>90.83±0.18</td><td rowspan=1 colspan=1>88.24±0.79</td><td rowspan=1 colspan=1>91.31±0.73</td><td rowspan=1 colspan=1>85.62±1.75</td><td rowspan=1 colspan=1>90.13±0.34 85.23±0.74</td><td rowspan=1 colspan=1>85.23±0.74</td></tr><tr><td rowspan=1 colspan=4>CDR 90.26±0.318</td><td rowspan=1 colspan=1>87.19±0.43</td><td rowspan=1 colspan=2>92.00±0.27</td><td rowspan=1 colspan=1>88.68±0.67</td><td rowspan=1 colspan=1>92.11±0.23</td><td rowspan=1 colspan=1>88.58±0.39</td><td rowspan=1 colspan=1>91.14±0.23</td><td rowspan=1 colspan=1>86.25±0.57</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=3>CE</td><td rowspan=1 colspan=1>56.82±0.82</td><td rowspan=1 colspan=2>64.12±0.54</td><td rowspan=1 colspan=1>52.86±0.92</td><td rowspan=1 colspan=1>64.10±0.46</td><td rowspan=1 colspan=1>52.77±0.79</td><td rowspan=1 colspan=1>63.33±0.29</td><td rowspan=1 colspan=1>50.84±0.89</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=3>GCE</td><td rowspan=1 colspan=1>57.97±1.21</td><td rowspan=1 colspan=2>65.34±0.64</td><td rowspan=1 colspan=1>54.35±1.28</td><td rowspan=1 colspan=1>62.32±1.04</td><td rowspan=1 colspan=1>55.03±1.25</td><td rowspan=1 colspan=1>66.67±0.40</td><td rowspan=1 colspan=1>55.14±1.77</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=3>DMI</td><td rowspan=1 colspan=1>57.42±0.53</td><td rowspan=1 colspan=2>64.30±0.84</td><td rowspan=1 colspan=1>51.31±2.73</td><td rowspan=1 colspan=1>58.77±0.64</td><td rowspan=1 colspan=1>42.89±0.77</td><td rowspan=1 colspan=1>59.04±0.35 46.99±0.62</td><td rowspan=1 colspan=1>59.04±0.35 46.99±0.62</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=3>APL</td><td rowspan=1 colspan=1>51.03±1.04</td><td rowspan=1 colspan=2>54.31±0.84</td><td rowspan=1 colspan=1>48.22±1.35</td><td rowspan=1 colspan=1>59.77±0.74</td><td rowspan=1 colspan=1>53.25±0.92</td><td rowspan=1 colspan=1>49.17±2.72</td><td rowspan=1 colspan=1>38.18±4.04</td></tr><tr><td rowspan=2 colspan=5>MentorNet 57.27±1.3249.01±2.09CIFAR-100Co-teaching 61.47±0.4153.44±0.40</td><td rowspan=1 colspan=2>54.10±0.92</td><td rowspan=1 colspan=1>33.21±1.82</td><td rowspan=1 colspan=1>54.73±1.26</td><td rowspan=1 colspan=1>45.31±2.93</td><td rowspan=1 colspan=1>50.02±0.73</td><td rowspan=1 colspan=1>36.27±1.64</td></tr><tr><td rowspan=1 colspan=3>61.47±0.4153.44±0.40</td><td rowspan=1 colspan=2>57.35±0.82</td><td rowspan=1 colspan=1>37.62±1.77</td><td rowspan=1 colspan=1>58.11±0.47</td><td rowspan=1 colspan=1>48.46±0.64</td><td rowspan=1 colspan=1>57.73±0.37</td><td rowspan=1 colspan=1>43.28±0.55</td></tr><tr><td rowspan=1 colspan=5>Co-teaching+ 64.13±0.3255.92±0.81</td><td rowspan=1 colspan=2>58.97±1.19 40.16±2.74</td><td rowspan=1 colspan=1>58.97±1.19 40.16±2.74</td><td rowspan=1 colspan=1>456.31±0.41</td><td rowspan=1 colspan=1>38.03±0.55</td><td rowspan=1 colspan=1>55.45±0.57</td><td rowspan=1 colspan=1>41.11±1.32</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=3>S2E 64.21±0.72</td><td rowspan=1 colspan=1>43.12±2.77</td><td rowspan=1 colspan=2>63.92±0.46</td><td rowspan=1 colspan=1>42.45±1.73</td><td rowspan=1 colspan=1>58.21±0.43</td><td rowspan=1 colspan=1>41.74±2.09</td><td rowspan=1 colspan=1>61.08±0.59</td><td rowspan=1 colspan=1>)47.06±1.93</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=3>Forward 54.88±0.92</td><td rowspan=1 colspan=1>45.64±1.77</td><td rowspan=1 colspan=2>64.07±1.02</td><td rowspan=1 colspan=1>53.84±2.71</td><td rowspan=1 colspan=1>58.37±0.56</td><td rowspan=1 colspan=1>39.82±0.73</td><td rowspan=1 colspan=1>58.55±0.31</td><td rowspan=1 colspan=1>46.42±0.95</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=3>T-Revision</td><td rowspan=1 colspan=1>57.15±1.02</td><td rowspan=1 colspan=2>68.02±0.53</td><td rowspan=1 colspan=1>54.93±1.09</td><td rowspan=1 colspan=1>62.69±0.73</td><td rowspan=1 colspan=1>52.31±1.46</td><td rowspan=1 colspan=1>60.22±0.68</td><td rowspan=1 colspan=1>50.23±1.79</td></tr><tr><td rowspan=2 colspan=9>Joint 66.12±0.42 59.45±0.68 68.29±0.25 55.53±0.47 67.35±0.31 52.22±1.85 65.91±0.43 55.09±0.93CDR 68.68±0.3362.72±0.38 70.64±0.51 55.58±0.78 71.93±0.57 56.94±1.30 69.82±0.4261.03±0.77</td><td rowspan=1 colspan=3>Joint</td></tr><tr><td rowspan=1 colspan=1>56.94±1.30</td><td rowspan=1 colspan=2>69.82±0.4261.03±0.77</td></tr></table>",
696
+ "bbox": [
697
+ 173,
698
+ 152,
699
+ 823,
700
+ 675
701
+ ],
702
+ "page_idx": 6
703
+ },
704
+ {
705
+ "type": "text",
706
+ "text": "",
707
+ "bbox": [
708
+ 176,
709
+ 685,
710
+ 820,
711
+ 713
712
+ ],
713
+ "page_idx": 6
714
+ },
715
+ {
716
+ "type": "text",
717
+ "text": "In this paper, we set the proportion of non-critical parameters to the noise rate. Also, it is interesting to investigate that how the proposed method works if we set the proportion of non-critical parameters as a constant number. Note that if we set the constant number too randomly, the performance of the proposed method may be hurt. Therefore, we use a noisy validation set to locate it and compare the difference between the located constant and the noise rate. The search of the constant is within the range $\\{ 0 . 1 0 , 0 . 2 0 , \\ldots , 0 . 9 0 \\}$ . The experiments are conducted on MNIST, $F$ -MNIST, and CIFAR-10. The experimental results are provided in Table 2. As we can see, in many cases, the located constant and the label noise rate are numerically equal. However, it is complicated to locate a suitable constant with a noisy validation set, as there is a huge search range. On the contrary, the noise rate always can be estimated effectively (Liu & Tao, 2016; Yu et al., 2018a). Therefore, it is reasonable and feasible to assume that the proportion of non-critical parameters is the same as the noise rate. ",
718
+ "bbox": [
719
+ 173,
720
+ 720,
721
+ 825,
722
+ 873
723
+ ],
724
+ "page_idx": 6
725
+ },
726
+ {
727
+ "type": "image",
728
+ "img_path": "images/8544aabe1eee43b269dfbd25135d6fe9f37a62753d0f96ac283832cd8848269b.jpg",
729
+ "image_caption": [
730
+ "Figure 1: Illustration of robustness to the estimation result of noise rate. For each estimated noise rate, we report experimental results over five trials. The blue dots represent the result of each experiment. The orange dots represent the mean of five experimental results in each case. "
731
+ ],
732
+ "image_footnote": [],
733
+ "bbox": [
734
+ 223,
735
+ 106,
736
+ 771,
737
+ 361
738
+ ],
739
+ "page_idx": 7
740
+ },
741
+ {
742
+ "type": "table",
743
+ "img_path": "images/b5c1a948066a0f7ffe4d4c2223a0ae2ec5fb5496f2bcee6021aed061cff9773c.jpg",
744
+ "table_caption": [
745
+ "Table 2: The located constant on synthetic noisy datasets with different noise levels. The result with an underline means that the located constant and the noise rate are numerically equal. "
746
+ ],
747
+ "table_footnote": [],
748
+ "table_body": "<table><tr><td rowspan=\"2\">Dataset</td><td colspan=\"2\">Symmetric</td><td colspan=\"2\">Asymmetric</td><td colspan=\"2\">Pairflip</td><td colspan=\"2\">Instance</td></tr><tr><td>20%</td><td>40%</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td></tr><tr><td>MNIST</td><td>0.20</td><td>0.50</td><td>0.20</td><td>0.40</td><td>0.20</td><td>0.50</td><td>0.30</td><td>0.60</td></tr><tr><td>F-MNIST</td><td>0.20</td><td>0.40</td><td>0.20</td><td>0.50</td><td>0.30</td><td>0.50</td><td>0.20</td><td>0.60</td></tr><tr><td>CIFAR-10</td><td>0.30</td><td>0.50</td><td>0.30</td><td>0.30</td><td>0.30</td><td>0.50</td><td>0.20</td><td>0.40</td></tr></table>",
749
+ "bbox": [
750
+ 184,
751
+ 486,
752
+ 812,
753
+ 564
754
+ ],
755
+ "page_idx": 7
756
+ },
757
+ {
758
+ "type": "image",
759
+ "img_path": "images/269a089106e6c9c99b7d81719444637ca730023ded1871387501f0027f884dec.jpg",
760
+ "image_caption": [
761
+ "Figure 2: Illustration of the experimental results on noisy CIFAR-100. We can clearly see that the proposed method (CDR) can reduce the side effect of noisy labels at the early training stage, which improves generalization (red line vs. green line). "
762
+ ],
763
+ "image_footnote": [],
764
+ "bbox": [
765
+ 199,
766
+ 592,
767
+ 795,
768
+ 699
769
+ ],
770
+ "page_idx": 7
771
+ },
772
+ {
773
+ "type": "text",
774
+ "text": "4.4 CLASSIFICATION PERFORMANCE ON NOISY DATASETS ",
775
+ "text_level": 1,
776
+ "bbox": [
777
+ 174,
778
+ 770,
779
+ 586,
780
+ 784
781
+ ],
782
+ "page_idx": 7
783
+ },
784
+ {
785
+ "type": "text",
786
+ "text": "Results on synthetic noisy datasets. Table 1 shows the experimental results on four synthetic noisy datasets with various types of noisy labels. For MNIST, as can be seen, our proposed method produce the best results in the vast majority of cases. When the noise is instance-dependent, the proposed method achieves competitive results. Note that T-Revision achieves the best classification performance in this case. Compared with the other synthetic noisy datasets, MNIST is less challenging. In this case, T-Revision thus can exploit the noise transition matrix and the slack variable to well model label noise, which leads to the best performance. However, for the instance-dependent label noise on the other datasets, i.e., $F$ -MNIST, CIFAR-10, and CIFAR-100, estimating the transition matrices does not work well and the proposed robust eary-learning method achieves the best performance. ",
787
+ "bbox": [
788
+ 173,
789
+ 797,
790
+ 825,
791
+ 924
792
+ ],
793
+ "page_idx": 7
794
+ },
795
+ {
796
+ "type": "table",
797
+ "img_path": "images/b56c89de09d93c5ad88df8b78ead42098a4ac0d122461947c346b44e7ce74741.jpg",
798
+ "table_caption": [
799
+ "Table 3: Classification accuracy (percentage) on Food-101 dataset. The best result is in bold. "
800
+ ],
801
+ "table_footnote": [],
802
+ "table_body": "<table><tr><td>CE</td><td>GCE</td><td>DMI</td><td>APL</td><td>MentorNet</td><td>Co-teaching</td></tr><tr><td>84.03</td><td>84.96</td><td>85.52</td><td>82.17</td><td>81.25</td><td>83.73</td></tr><tr><td>Co-teaching+</td><td>S2E</td><td>Forward</td><td>T-Revision</td><td>Joint</td><td>CDR</td></tr><tr><td>76.89</td><td>84.97</td><td>85.52</td><td>85.97</td><td>83.10</td><td>86.36</td></tr></table>",
803
+ "bbox": [
804
+ 233,
805
+ 127,
806
+ 759,
807
+ 205
808
+ ],
809
+ "page_idx": 8
810
+ },
811
+ {
812
+ "type": "table",
813
+ "img_path": "images/c2ab2eac050ecd7b546c0527aa7d7a0a6d1319e304bd2baefcebd329c70ae2ea.jpg",
814
+ "table_caption": [
815
+ "Table 4: Top-1 validation accuracies (percentage) on clean ILSVRC12 validation set of InceptionResNet v2 models trained on WebVision dataset, under the “Mini” setting in (Jiang et al., 2018; Chen et al., 2019; Ma et al., 2020). The best result is in bold. "
816
+ ],
817
+ "table_footnote": [],
818
+ "table_body": "<table><tr><td>CE</td><td>GCE</td><td>DMI</td><td>APL</td><td>MentorNet</td><td>Co-teaching</td></tr><tr><td>57.34</td><td>55.62</td><td>56.93</td><td>61.27</td><td>57.66</td><td>61.22</td></tr><tr><td>Co-teaching+</td><td>S2E</td><td>Forward</td><td>T-Revision</td><td>Joint</td><td>CDR</td></tr><tr><td>33.26</td><td>54.33</td><td>56.39</td><td>60.58</td><td>47.60</td><td>61.85</td></tr></table>",
819
+ "bbox": [
820
+ 233,
821
+ 272,
822
+ 759,
823
+ 352
824
+ ],
825
+ "page_idx": 8
826
+ },
827
+ {
828
+ "type": "text",
829
+ "text": "For $F$ -MNIST and CIFAR-10, our proposed method is consistently superior to other state-of-the-art methods across all the settings. Note that S2E achieves impressive performance in the case of Symmetric- $20 \\%$ on CIFAR-10. However, it fails to generalize well compared with the proposed method, especially in the cases of $40 \\%$ label noise rate. In contrast, CDR achieves a clear lead over S2E in these cases, which verifies the effectiveness of the proposed method. Lastly, for the more challenging dataset, i.e., CIFAR-100, the proposed method once again outperforms all the baseline methods. In particular, in the very challenging case of Instance- $40 \\%$ , the proposed method takes a nearly $6 \\%$ lead compared to the second best method GCE. ",
830
+ "bbox": [
831
+ 173,
832
+ 362,
833
+ 825,
834
+ 473
835
+ ],
836
+ "page_idx": 8
837
+ },
838
+ {
839
+ "type": "text",
840
+ "text": "Results on real-world noisy datasets. The experimental results on Food-101 and WebVision datasets are reported in Table 3 and 4. Again, on classification accuracy, our method surpasses all other baselines. This verifies the effectiveness of our proposed method against real-world label noise. ",
841
+ "bbox": [
842
+ 174,
843
+ 481,
844
+ 825,
845
+ 522
846
+ ],
847
+ "page_idx": 8
848
+ },
849
+ {
850
+ "type": "text",
851
+ "text": "Note that the CE method exploits early stopping in all experiments. Compared the classification performance of CE with the classification performance of CDR, i.e., early stopping vs. robust early stopping, we can clearly see that the proposed method can achieve better performance. We also present the illustration of the experimental results on CIFAR-100 with $40 \\%$ noise. As shown in Figure 2, CDR can effectively reduce the side effect of noisy labels at the early training stage. The illustrations of the experimental results on the other settings can be found in Appendix A. ",
852
+ "bbox": [
853
+ 174,
854
+ 529,
855
+ 825,
856
+ 613
857
+ ],
858
+ "page_idx": 8
859
+ },
860
+ {
861
+ "type": "text",
862
+ "text": "5 CONCLUSION ",
863
+ "text_level": 1,
864
+ "bbox": [
865
+ 174,
866
+ 621,
867
+ 320,
868
+ 637
869
+ ],
870
+ "page_idx": 8
871
+ },
872
+ {
873
+ "type": "text",
874
+ "text": "In this paper, motivated by the lottery ticket hypothesis, we provide a novel method to distinguish the critical parameters and non-critical parameters for fitting clean labels. Then we propose different update rules for different types of parameters to reduce the side effect before early stopping. The proposed method is very effective for learning with noisy labels, which is supported by experiments on synthetic datasets with various types of label noise as well as on real-world datasets. Our method is simple and orthogonal to other methods. We believe that this opens up new possibilities in the topics of learning with noisy labels. It would be interesting to explore the potential characteristics of the updated parameters such as the distance to initial parameters (Li et al., 2020b; Hu et al., 2020) and the mutual information with the vector of all training labels given inputs (Harutyunyan et al., 2020). ",
875
+ "bbox": [
876
+ 173,
877
+ 650,
878
+ 825,
879
+ 775
880
+ ],
881
+ "page_idx": 8
882
+ },
883
+ {
884
+ "type": "text",
885
+ "text": "ACKNOWLEDGMENTS ",
886
+ "text_level": 1,
887
+ "bbox": [
888
+ 176,
889
+ 785,
890
+ 356,
891
+ 799
892
+ ],
893
+ "page_idx": 8
894
+ },
895
+ {
896
+ "type": "text",
897
+ "text": "TLL was supported by Australian Research Council Project DE-190101473 and DP-180103424. BH was supported by the RGC Early Career Scheme No. 22200720, NSFC Young Scientists Fund No. 62006202, HKBU Tier-1 Start-up Grant, and HKBU CSD Departmental Incentive Scheme. CG was supported by NSF of China (No. 61973162) and CCF-Tencent Open Fund (No: RAGR20200101). NNW was supported by National Key Research and Development Program of China under Grant 2018AAA0103202. ZYG was supported by the Airdoc-Monash research centre fellowship. YC was supported by the NSF of China (No.61976102, No.U19A2065). We thank anonymous reviewers for giving constructive comments. ",
898
+ "bbox": [
899
+ 174,
900
+ 811,
901
+ 825,
902
+ 924
903
+ ],
904
+ "page_idx": 8
905
+ },
906
+ {
907
+ "type": "text",
908
+ "text": "REFERENCES ",
909
+ "text_level": 1,
910
+ "bbox": [
911
+ 176,
912
+ 102,
913
+ 287,
914
+ 118
915
+ ],
916
+ "page_idx": 9
917
+ },
918
+ {
919
+ "type": "text",
920
+ "text": "Zeyuan Allen-Zhu, Yuanzhi Li, and Yingyu Liang. Learning and generalization in overparameterized neural networks, going beyond two layers. In NeurIPS, pp. 6158–6169, 2019. ",
921
+ "bbox": [
922
+ 174,
923
+ 130,
924
+ 823,
925
+ 160
926
+ ],
927
+ "page_idx": 9
928
+ },
929
+ {
930
+ "type": "text",
931
+ "text": "Sanjeev Arora, Rong Ge, Behnam Neyshabur, and Yi Zhang. Stronger generalization bounds for deep nets via a compression approach. In ICML, pp. 254–263, 2018. ",
932
+ "bbox": [
933
+ 173,
934
+ 167,
935
+ 823,
936
+ 196
937
+ ],
938
+ "page_idx": 9
939
+ },
940
+ {
941
+ "type": "text",
942
+ "text": "Devansh Arpit, Stanisław Jastrz˛ebski, Nicolas Ballas, David Krueger, Emmanuel Bengio, Maxinder S Kanwal, Tegan Maharaj, Asja Fischer, Aaron Courville, Yoshua Bengio, et al. A closer look at memorization in deep networks. arXiv preprint arXiv:1706.05394, 2017. ",
943
+ "bbox": [
944
+ 176,
945
+ 205,
946
+ 823,
947
+ 250
948
+ ],
949
+ "page_idx": 9
950
+ },
951
+ {
952
+ "type": "text",
953
+ "text": "Lukas Bossard, Matthieu Guillaumin, and Luc Van Gool. Food-101 – mining discriminative components with random forests. In ECCV, 2014. ",
954
+ "bbox": [
955
+ 176,
956
+ 258,
957
+ 821,
958
+ 286
959
+ ],
960
+ "page_idx": 9
961
+ },
962
+ {
963
+ "type": "text",
964
+ "text": "Stephen Boyd, Stephen P Boyd, and Lieven Vandenberghe. Convex optimization. Cambridge university press, 2004. ",
965
+ "bbox": [
966
+ 174,
967
+ 296,
968
+ 823,
969
+ 325
970
+ ],
971
+ "page_idx": 9
972
+ },
973
+ {
974
+ "type": "text",
975
+ "text": "Sébastien Bubeck. Convex optimization: Algorithms and complexity. arXiv preprint arXiv:1405.4980, 2014. ",
976
+ "bbox": [
977
+ 173,
978
+ 334,
979
+ 823,
980
+ 363
981
+ ],
982
+ "page_idx": 9
983
+ },
984
+ {
985
+ "type": "text",
986
+ "text": "Yuan Cao and Quanquan Gu. Generalization bounds of stochastic gradient descent for wide and deep neural networks. In NeurIPS, pp. 10836–10846, 2019. ",
987
+ "bbox": [
988
+ 174,
989
+ 372,
990
+ 821,
991
+ 401
992
+ ],
993
+ "page_idx": 9
994
+ },
995
+ {
996
+ "type": "text",
997
+ "text": "Rich Caruana, Steve Lawrence, and C Lee Giles. Overfitting in neural nets: Backpropagation, conjugate gradient, and early stopping. In NeurIPS, pp. 402–408, 2001. ",
998
+ "bbox": [
999
+ 174,
1000
+ 410,
1001
+ 825,
1002
+ 440
1003
+ ],
1004
+ "page_idx": 9
1005
+ },
1006
+ {
1007
+ "type": "text",
1008
+ "text": "Pengfei Chen, Benben Liao, Guangyong Chen, and Shengyu Zhang. Understanding and utilizing deep neural networks trained with noisy labels. arXiv preprint arXiv:1905.05040, 2019. ",
1009
+ "bbox": [
1010
+ 173,
1011
+ 448,
1012
+ 823,
1013
+ 478
1014
+ ],
1015
+ "page_idx": 9
1016
+ },
1017
+ {
1018
+ "type": "text",
1019
+ "text": "Hao Cheng, Zhaowei Zhu, Xingyu Li, Yifei Gong, Xing Sun, and Yang Liu. Learning with instancedependent label noise: A sample sieve approach. In ICLR, 2021. ",
1020
+ "bbox": [
1021
+ 173,
1022
+ 486,
1023
+ 823,
1024
+ 516
1025
+ ],
1026
+ "page_idx": 9
1027
+ },
1028
+ {
1029
+ "type": "text",
1030
+ "text": "Jiacheng Cheng, Tongliang Liu, Kotagiri Ramamohanarao, and Dacheng Tao. Learning with bounded instance-and label-dependent label noise. In ICML, 2020. ",
1031
+ "bbox": [
1032
+ 173,
1033
+ 523,
1034
+ 823,
1035
+ 554
1036
+ ],
1037
+ "page_idx": 9
1038
+ },
1039
+ {
1040
+ "type": "text",
1041
+ "text": "Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In CVPR, pp. 248–255. Ieee, 2009. ",
1042
+ "bbox": [
1043
+ 173,
1044
+ 563,
1045
+ 823,
1046
+ 592
1047
+ ],
1048
+ "page_idx": 9
1049
+ },
1050
+ {
1051
+ "type": "text",
1052
+ "text": "Jonathan Frankle and Michael Carbin. The lottery ticket hypothesis: Finding sparse, trainable neural networks. arXiv preprint arXiv:1803.03635, 2018. ",
1053
+ "bbox": [
1054
+ 173,
1055
+ 601,
1056
+ 823,
1057
+ 630
1058
+ ],
1059
+ "page_idx": 9
1060
+ },
1061
+ {
1062
+ "type": "text",
1063
+ "text": "Alex Graves, Abdel-rahman Mohamed, and Geoffrey Hinton. Speech recognition with deep recurrent neural networks. In IEEE international conference on acoustics, speech and signal processing, pp. 6645–6649. IEEE, 2013. ",
1064
+ "bbox": [
1065
+ 174,
1066
+ 638,
1067
+ 823,
1068
+ 681
1069
+ ],
1070
+ "page_idx": 9
1071
+ },
1072
+ {
1073
+ "type": "text",
1074
+ "text": "Bo Han, Jiangchao Yao, Gang Niu, Mingyuan Zhou, Ivor Tsang, Ya Zhang, and Masashi Sugiyama. Masking: A new perspective of noisy supervision. In NeurIPS, pp. 5836–5846, 2018a. ",
1075
+ "bbox": [
1076
+ 171,
1077
+ 690,
1078
+ 825,
1079
+ 720
1080
+ ],
1081
+ "page_idx": 9
1082
+ },
1083
+ {
1084
+ "type": "text",
1085
+ "text": "Bo Han, Quanming Yao, Xingrui Yu, Gang Niu, Miao Xu, Weihua Hu, Ivor Tsang, and Masashi Sugiyama. Co-teaching: Robust training of deep neural networks with extremely noisy labels. In NeurIPS, pp. 8527–8537, 2018b. ",
1086
+ "bbox": [
1087
+ 178,
1088
+ 728,
1089
+ 823,
1090
+ 771
1091
+ ],
1092
+ "page_idx": 9
1093
+ },
1094
+ {
1095
+ "type": "text",
1096
+ "text": "Bo Han, Gang Niu, Xingrui Yu, Quanming Yao, Miao Xu, Ivor W Tsang, and Masashi Sugiyama. Sigua: Forgetting may make learning with noisy labels more robust. In ICML, 2020. ",
1097
+ "bbox": [
1098
+ 171,
1099
+ 780,
1100
+ 825,
1101
+ 810
1102
+ ],
1103
+ "page_idx": 9
1104
+ },
1105
+ {
1106
+ "type": "text",
1107
+ "text": "Song Han, Jeff Pool, John Tran, and William Dally. Learning both weights and connections for efficient neural network. In NeurIPS, pp. 1135–1143, 2015. ",
1108
+ "bbox": [
1109
+ 174,
1110
+ 818,
1111
+ 821,
1112
+ 848
1113
+ ],
1114
+ "page_idx": 9
1115
+ },
1116
+ {
1117
+ "type": "text",
1118
+ "text": "Hrayr Harutyunyan, Kyle Reing, Greg Ver Steeg, and Aram Galstyan. Improving generalization by controlling label-noise information in neural network weights. In ICML, 2020. ",
1119
+ "bbox": [
1120
+ 176,
1121
+ 857,
1122
+ 820,
1123
+ 886
1124
+ ],
1125
+ "page_idx": 9
1126
+ },
1127
+ {
1128
+ "type": "text",
1129
+ "text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. arXiv preprint arXiv:1512.03385, 2015. ",
1130
+ "bbox": [
1131
+ 174,
1132
+ 895,
1133
+ 820,
1134
+ 924
1135
+ ],
1136
+ "page_idx": 9
1137
+ },
1138
+ {
1139
+ "type": "text",
1140
+ "text": "Dan Hendrycks, Mantas Mazeika, Duncan Wilson, and Kevin Gimpel. Using trusted data to train deep networks on labels corrupted by severe noise. In NeurIPS, pp. 10456–10465. 2018. ",
1141
+ "bbox": [
1142
+ 171,
1143
+ 103,
1144
+ 823,
1145
+ 133
1146
+ ],
1147
+ "page_idx": 10
1148
+ },
1149
+ {
1150
+ "type": "text",
1151
+ "text": "Wei Hu, Zhiyuan Li, and Dingli Yu. Simple and effective regularization methods for training on noisily labeled data with generalization guarantee. In ICLR, 2020. ",
1152
+ "bbox": [
1153
+ 171,
1154
+ 141,
1155
+ 823,
1156
+ 170
1157
+ ],
1158
+ "page_idx": 10
1159
+ },
1160
+ {
1161
+ "type": "text",
1162
+ "text": "Lu Jiang, Zhengyuan Zhou, Thomas Leung, Li-Jia Li, and Li Fei-Fei. MentorNet: Learning datadriven curriculum for very deep neural networks on corrupted labels. In ICML, pp. 2309–2318, 2018. ",
1163
+ "bbox": [
1164
+ 174,
1165
+ 178,
1166
+ 825,
1167
+ 222
1168
+ ],
1169
+ "page_idx": 10
1170
+ },
1171
+ {
1172
+ "type": "text",
1173
+ "text": "Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. Technical report, 2009. ",
1174
+ "bbox": [
1175
+ 171,
1176
+ 229,
1177
+ 825,
1178
+ 258
1179
+ ],
1180
+ "page_idx": 10
1181
+ },
1182
+ {
1183
+ "type": "text",
1184
+ "text": "Yann LeCun, Corinna Cortes, and Christopher J.C. Burges. The MNIST database of handwritten digits. http://yann.lecun.com/exdb/mnist/, 1998. ",
1185
+ "bbox": [
1186
+ 173,
1187
+ 267,
1188
+ 825,
1189
+ 296
1190
+ ],
1191
+ "page_idx": 10
1192
+ },
1193
+ {
1194
+ "type": "text",
1195
+ "text": "Namhoon Lee, Thalaiyasingam Ajanthan, and Philip HS Torr. Snip: Single-shot network pruning based on connection sensitivity. In ICLR, 2019. ",
1196
+ "bbox": [
1197
+ 173,
1198
+ 304,
1199
+ 823,
1200
+ 334
1201
+ ],
1202
+ "page_idx": 10
1203
+ },
1204
+ {
1205
+ "type": "text",
1206
+ "text": "Junnan Li, Richard Socher, and Steven C.H. Hoi. Dividemix: Learning with noisy labels as semisupervised learning. In ICLR, 2020a. ",
1207
+ "bbox": [
1208
+ 169,
1209
+ 342,
1210
+ 825,
1211
+ 371
1212
+ ],
1213
+ "page_idx": 10
1214
+ },
1215
+ {
1216
+ "type": "text",
1217
+ "text": "Mingchen Li, Mahdi Soltanolkotabi, and Samet Oymak. Gradient descent with early stopping is provably robust to label noise for overparameterized neural networks. In AISTATS, 2020b. ",
1218
+ "bbox": [
1219
+ 171,
1220
+ 378,
1221
+ 823,
1222
+ 409
1223
+ ],
1224
+ "page_idx": 10
1225
+ },
1226
+ {
1227
+ "type": "text",
1228
+ "text": "Wen Li, Limin Wang, Li Wei, Eirikur Agustsson, and Luc Van Gool. Webvision database: Visual learning and understanding from web data. arXiv preprint arXiv:1708.02862, 2017a. ",
1229
+ "bbox": [
1230
+ 171,
1231
+ 416,
1232
+ 823,
1233
+ 446
1234
+ ],
1235
+ "page_idx": 10
1236
+ },
1237
+ {
1238
+ "type": "text",
1239
+ "text": "Xuefeng Li, Tongliang Liu, Bo Han, Gang Niu, and Masashi Sugiyama. Provably end-to-end label-noise learning without anchor points. arXiv preprint arXiv:2102.02400, 2021. ",
1240
+ "bbox": [
1241
+ 171,
1242
+ 454,
1243
+ 823,
1244
+ 484
1245
+ ],
1246
+ "page_idx": 10
1247
+ },
1248
+ {
1249
+ "type": "text",
1250
+ "text": "Yuncheng Li, Jianchao Yang, Yale Song, Liangliang Cao, Jiebo Luo, and Li-Jia Li. Learning from noisy labels with distillation. In ICCV, pp. 1910–1918, 2017b. ",
1251
+ "bbox": [
1252
+ 173,
1253
+ 492,
1254
+ 823,
1255
+ 522
1256
+ ],
1257
+ "page_idx": 10
1258
+ },
1259
+ {
1260
+ "type": "text",
1261
+ "text": "Sheng Liu, Jonathan Niles-Weed, Narges Razavian, and Carlos Fernandez-Granda. Early-learning regularization prevents memorization of noisy labels. arXiv preprint arXiv:2007.00151, 2020. ",
1262
+ "bbox": [
1263
+ 173,
1264
+ 529,
1265
+ 823,
1266
+ 559
1267
+ ],
1268
+ "page_idx": 10
1269
+ },
1270
+ {
1271
+ "type": "text",
1272
+ "text": "Tongliang Liu and Dacheng Tao. Classification with noisy labels by importance reweighting. IEEE Transactions on Pattern Analysis and Machine Intelligence, 38(3):447–461, 2016. ",
1273
+ "bbox": [
1274
+ 173,
1275
+ 566,
1276
+ 823,
1277
+ 597
1278
+ ],
1279
+ "page_idx": 10
1280
+ },
1281
+ {
1282
+ "type": "text",
1283
+ "text": "Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In ICLR, 2019. ",
1284
+ "bbox": [
1285
+ 171,
1286
+ 604,
1287
+ 767,
1288
+ 621
1289
+ ],
1290
+ "page_idx": 10
1291
+ },
1292
+ {
1293
+ "type": "text",
1294
+ "text": "Yueming Lyu and Ivor W. Tsang. Curriculum loss: Robust learning and generalization against label corruption. In ICLR, 2020. ",
1295
+ "bbox": [
1296
+ 171,
1297
+ 628,
1298
+ 823,
1299
+ 657
1300
+ ],
1301
+ "page_idx": 10
1302
+ },
1303
+ {
1304
+ "type": "text",
1305
+ "text": "Xingjun Ma, Yisen Wang, Michael E Houle, Shuo Zhou, Sarah M Erfani, Shu-Tao Xia, Sudanthi Wijewickrema, and James Bailey. Dimensionality-driven learning with noisy labels. In ICML, pp. 3361–3370, 2018. ",
1306
+ "bbox": [
1307
+ 174,
1308
+ 665,
1309
+ 825,
1310
+ 708
1311
+ ],
1312
+ "page_idx": 10
1313
+ },
1314
+ {
1315
+ "type": "text",
1316
+ "text": "Xingjun Ma, Hanxun Huang, Yisen Wang, Simone Romano, Sarah Erfani, and James Bailey. Normalized loss functions for deep learning with noisy labels. In ICML, 2020. ",
1317
+ "bbox": [
1318
+ 171,
1319
+ 717,
1320
+ 825,
1321
+ 746
1322
+ ],
1323
+ "page_idx": 10
1324
+ },
1325
+ {
1326
+ "type": "text",
1327
+ "text": "Duc Tam Nguyen, Chaithanya Kumar Mummadi, Thi Phuong Nhung Ngo, Thi Hoai Phuong Nguyen, Laura Beggel, and Thomas Brox. Self: Learning to filter noisy labels with self-ensembling. In ICLR, 2020. ",
1328
+ "bbox": [
1329
+ 174,
1330
+ 753,
1331
+ 825,
1332
+ 797
1333
+ ],
1334
+ "page_idx": 10
1335
+ },
1336
+ {
1337
+ "type": "text",
1338
+ "text": "Giorgio Patrini, Alessandro Rozza, Aditya Krishna Menon, Richard Nock, and Lizhen Qu. Making deep neural networks robust to label noise: A loss correction approach. In CVPR, pp. 1944–1952, 2017. ",
1339
+ "bbox": [
1340
+ 174,
1341
+ 806,
1342
+ 825,
1343
+ 848
1344
+ ],
1345
+ "page_idx": 10
1346
+ },
1347
+ {
1348
+ "type": "text",
1349
+ "text": "Geoff Pleiss, Tianyi Zhang, Ethan R Elenberg, and Kilian Q Weinberger. Identifying mislabeled data using the area under the margin ranking. arXiv preprint arXiv:2001.10528, 2020. ",
1350
+ "bbox": [
1351
+ 176,
1352
+ 857,
1353
+ 820,
1354
+ 887
1355
+ ],
1356
+ "page_idx": 10
1357
+ },
1358
+ {
1359
+ "type": "text",
1360
+ "text": "Lutz Prechelt. Early stopping-but when? In Neural Networks: Tricks of the trade, pp. 55–69. Springer, 1998. ",
1361
+ "bbox": [
1362
+ 176,
1363
+ 895,
1364
+ 823,
1365
+ 922
1366
+ ],
1367
+ "page_idx": 10
1368
+ },
1369
+ {
1370
+ "type": "text",
1371
+ "text": "Mengye Ren, Wenyuan Zeng, Bin Yang, and Raquel Urtasun. Learning to reweight examples for robust deep learning. In ICML, pp. 4331–4340, 2018. ",
1372
+ "bbox": [
1373
+ 173,
1374
+ 103,
1375
+ 825,
1376
+ 132
1377
+ ],
1378
+ "page_idx": 11
1379
+ },
1380
+ {
1381
+ "type": "text",
1382
+ "text": "Shaoqing Ren, Kaiming He, Ross Girshick, and Jian Sun. Faster r-cnn: Towards real-time object detection with region proposal networks. In NeurIPS, pp. 91–99, 2015. ",
1383
+ "bbox": [
1384
+ 174,
1385
+ 141,
1386
+ 823,
1387
+ 171
1388
+ ],
1389
+ "page_idx": 11
1390
+ },
1391
+ {
1392
+ "type": "text",
1393
+ "text": "David Rolnick, Andreas Veit, Serge Belongie, and Nir Shavit. Deep learning is robust to massive label noise. arXiv preprint arXiv:1705.10694, 2017. ",
1394
+ "bbox": [
1395
+ 174,
1396
+ 179,
1397
+ 823,
1398
+ 208
1399
+ ],
1400
+ "page_idx": 11
1401
+ },
1402
+ {
1403
+ "type": "text",
1404
+ "text": "Jun Shu, Qian Zhao, Zengben Xu, and Deyu Meng. Meta transition adaptation for robust deep learning with noisy labels. arXiv preprint arXiv:2006.05697, 2020. ",
1405
+ "bbox": [
1406
+ 173,
1407
+ 217,
1408
+ 825,
1409
+ 247
1410
+ ],
1411
+ "page_idx": 11
1412
+ },
1413
+ {
1414
+ "type": "text",
1415
+ "text": "Christian Szegedy, Sergey Ioffe, Vincent Vanhoucke, and Alex Alemi. Inception-v4, inception-resnet and the impact of residual connections on learning. arXiv preprint arXiv:1602.07261, 2016. ",
1416
+ "bbox": [
1417
+ 174,
1418
+ 256,
1419
+ 825,
1420
+ 285
1421
+ ],
1422
+ "page_idx": 11
1423
+ },
1424
+ {
1425
+ "type": "text",
1426
+ "text": "Daiki Tanaka, Daiki Ikami, Toshihiko Yamasaki, and Kiyoharu Aizawa. Joint optimization framework for learning with noisy labels. In CVPR, 2018. ",
1427
+ "bbox": [
1428
+ 173,
1429
+ 292,
1430
+ 823,
1431
+ 323
1432
+ ],
1433
+ "page_idx": 11
1434
+ },
1435
+ {
1436
+ "type": "text",
1437
+ "text": "Sunil Thulasidasan, Tanmoy Bhattacharya, Jeff Bilmes, Gopinath Chennupati, and Jamal Mohd-Yusof. Combating label noise in deep learning using abstention. In ICML, pp. 6234–6243, 2019. ",
1438
+ "bbox": [
1439
+ 178,
1440
+ 330,
1441
+ 823,
1442
+ 361
1443
+ ],
1444
+ "page_idx": 11
1445
+ },
1446
+ {
1447
+ "type": "text",
1448
+ "text": "Qizhou Wang, Bo Han, Tongliang Liu, Gang Niu, Jian Yang, and Chen Gong. Tackling instancedependent label noise via a universal probabilistic model. In AAAI, 2021a. ",
1449
+ "bbox": [
1450
+ 174,
1451
+ 369,
1452
+ 823,
1453
+ 398
1454
+ ],
1455
+ "page_idx": 11
1456
+ },
1457
+ {
1458
+ "type": "text",
1459
+ "text": "Qizhou Wang, Jiangchao Yao, Chen Gong, Tongliang Liu, Mingming Gong, Hongxia Yang, and Bo Han. Learning with group noise. In AAAI, 2021b. ",
1460
+ "bbox": [
1461
+ 176,
1462
+ 407,
1463
+ 821,
1464
+ 438
1465
+ ],
1466
+ "page_idx": 11
1467
+ },
1468
+ {
1469
+ "type": "text",
1470
+ "text": "Yisen Wang, Xingjun Ma, Zaiyi Chen, Yuan Luo, Jinfeng Yi, and James Bailey. Symmetric cross entropy for robust learning with noisy labels. In ICCV, 2019. ",
1471
+ "bbox": [
1472
+ 174,
1473
+ 445,
1474
+ 821,
1475
+ 476
1476
+ ],
1477
+ "page_idx": 11
1478
+ },
1479
+ {
1480
+ "type": "text",
1481
+ "text": "Songhua Wu, Xiaobo Xia, Tongliang Liu, Bo Han, Mingming Gong, Nannan Wang, Haifeng Liu, and Gang Niu. Class2simi: A new perspective on learning with label noise. arXiv preprint arXiv:2006.07831, 2020. ",
1482
+ "bbox": [
1483
+ 174,
1484
+ 483,
1485
+ 825,
1486
+ 526
1487
+ ],
1488
+ "page_idx": 11
1489
+ },
1490
+ {
1491
+ "type": "text",
1492
+ "text": "Yonghui Wu, Mike Schuster, Zhifeng Chen, Quoc V Le, Mohammad Norouzi, Wolfgang Macherey, Maxim Krikun, Yuan Cao, Qin Gao, Klaus Macherey, et al. Google’s neural machine translation system: Bridging the gap between human and machine translation. arXiv preprint arXiv:1609.08144, 2016. ",
1493
+ "bbox": [
1494
+ 174,
1495
+ 535,
1496
+ 826,
1497
+ 592
1498
+ ],
1499
+ "page_idx": 11
1500
+ },
1501
+ {
1502
+ "type": "text",
1503
+ "text": "Xiaobo Xia, Tongliang Liu, Nannan Wang, Bo Han, Chen Gong, Gang Niu, and Masashi Sugiyama. Are anchor points really indispensable in label-noise learning? In NeurIPS, pp. 6838–6849, 2019. ",
1504
+ "bbox": [
1505
+ 173,
1506
+ 601,
1507
+ 826,
1508
+ 631
1509
+ ],
1510
+ "page_idx": 11
1511
+ },
1512
+ {
1513
+ "type": "text",
1514
+ "text": "Xiaobo Xia, Tongliang Liu, Bo Han, Nannan Wang, Jiankang Deng, Jiatong Li, and Yinian Mao. Extended T: Learning with mixed closed-set and open-set noisy labels. arXiv preprint arXiv:2012.00932, 2020a. ",
1515
+ "bbox": [
1516
+ 174,
1517
+ 638,
1518
+ 823,
1519
+ 681
1520
+ ],
1521
+ "page_idx": 11
1522
+ },
1523
+ {
1524
+ "type": "text",
1525
+ "text": "Xiaobo Xia, Tongliang Liu, Bo Han, Nannan Wang, Mingming Gong, Haifeng Liu, Gang Niu, Dacheng Tao, and Masashi Sugiyama. Part-dependent label noise: Towards instance-dependent label noise. In NeurIPS, 2020b. ",
1526
+ "bbox": [
1527
+ 176,
1528
+ 690,
1529
+ 825,
1530
+ 733
1531
+ ],
1532
+ "page_idx": 11
1533
+ },
1534
+ {
1535
+ "type": "text",
1536
+ "text": "Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017. ",
1537
+ "bbox": [
1538
+ 169,
1539
+ 742,
1540
+ 825,
1541
+ 772
1542
+ ],
1543
+ "page_idx": 11
1544
+ },
1545
+ {
1546
+ "type": "text",
1547
+ "text": "Tong Xiao, Tian Xia, Yi Yang, Chang Huang, and Xiaogang Wang. Learning from massive noisy labeled data for image classification. In CVPR, pp. 2691–2699, 2015. ",
1548
+ "bbox": [
1549
+ 171,
1550
+ 780,
1551
+ 823,
1552
+ 810
1553
+ ],
1554
+ "page_idx": 11
1555
+ },
1556
+ {
1557
+ "type": "text",
1558
+ "text": "Yilun Xu, Peng Cao, Yuqing Kong, and Yizhou Wang. L_dmi: A novel information-theoretic loss function for training deep nets robust to label noise. In NeurIPS, pp. 6222–6233, 2019. ",
1559
+ "bbox": [
1560
+ 174,
1561
+ 819,
1562
+ 825,
1563
+ 848
1564
+ ],
1565
+ "page_idx": 11
1566
+ },
1567
+ {
1568
+ "type": "text",
1569
+ "text": "Quanming Yao, Hansi Yang, Bo Han, Gang Niu, and James T Kwok. Searching to exploit memorization effect in learning with noisy labels. In ICML, 2020a. ",
1570
+ "bbox": [
1571
+ 174,
1572
+ 857,
1573
+ 823,
1574
+ 886
1575
+ ],
1576
+ "page_idx": 11
1577
+ },
1578
+ {
1579
+ "type": "text",
1580
+ "text": "Yu Yao, Tongliang Liu, Bo Han, Mingming Gong, Jiankang Deng, Gang Niu, and Masashi Sugiyama. Dual T: Reducing estimation error for transition matrix in label-noise learning. In NeurIPS, 2020b. ",
1581
+ "bbox": [
1582
+ 178,
1583
+ 895,
1584
+ 823,
1585
+ 924
1586
+ ],
1587
+ "page_idx": 11
1588
+ },
1589
+ {
1590
+ "type": "text",
1591
+ "text": "Yuan Yao, Lorenzo Rosasco, and Andrea Caponnetto. On early stopping in gradient descent learning. Constructive Approximation, 26(2):289–315, 2007. \nXingrui Yu, Bo Han, Jiangchao Yao, Gang Niu, Ivor W Tsang, and Masashi Sugiyama. How does disagreement benefit co-teaching? In ICML, 2019. \nXiyu Yu, Tongliang Liu, Mingming Gong, Kayhan Batmanghelich, and Dacheng Tao. An efficient and provable approach for mixture proportion estimation using linear independence assumption. In CVPR, pp. 4480–4489, 2018a. \nXiyu Yu, Tongliang Liu, Mingming Gong, and Dacheng Tao. Learning with biased complementary labels. In ECCV, pp. 68–83, 2018b. \nChiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. In ICLR, 2017. \nTong Zhang, Bin Yu, et al. Boosting with early stopping: Convergence and consistency. The Annals of Statistics, 33(4):1538–1579, 2005. \nZhilu Zhang and Mert Sabuncu. Generalized cross entropy loss for training deep neural networks with noisy labels. In NeurIPS, pp. 8778–8788, 2018. \nSongzhu Zheng, Pengxiang Wu, Aman Goswami, Mayank Goswami, Dimitris Metaxas, and Chao Chen. Error-bounded correction of noisy labels. In ICML, 2020. \nZhaowei Zhu, Tongliang Liu, and Yang Liu. A second-order approach to learning with instancedependent label noise. In CVPR, 2021. \nDifan Zou, Yuan Cao, Dongruo Zhou, and Quanquan Gu. Gradient descent optimizes overparameterized deep relu networks. Machine Learning, 109(3):467–492, 2020. ",
1592
+ "bbox": [
1593
+ 171,
1594
+ 103,
1595
+ 828,
1596
+ 488
1597
+ ],
1598
+ "page_idx": 12
1599
+ },
1600
+ {
1601
+ "type": "text",
1602
+ "text": "A DETAILED EXPERIMENTAL RESULTS ",
1603
+ "text_level": 1,
1604
+ "bbox": [
1605
+ 174,
1606
+ 103,
1607
+ 509,
1608
+ 117
1609
+ ],
1610
+ "page_idx": 13
1611
+ },
1612
+ {
1613
+ "type": "text",
1614
+ "text": "In section 4.4, we provide the illustrations of the experimental results. However, because of limited space, we only show the illustrations of the experimental results on noisy CIFAR-100. The noise rate is set to $40 \\%$ . In this supplementary material, we provide the illustrations of the experimental results on the other employed datasets and settings as follows. ",
1615
+ "bbox": [
1616
+ 174,
1617
+ 131,
1618
+ 826,
1619
+ 186
1620
+ ],
1621
+ "page_idx": 13
1622
+ },
1623
+ {
1624
+ "type": "image",
1625
+ "img_path": "images/8a9c235567fdd484beea5a927d7984cec10f48af412602c37c39489ad93a8324.jpg",
1626
+ "image_caption": [
1627
+ "Figure 3: Illustration of the experimental results on noisy MNIST. The noise rate is set to $20 \\%$ . "
1628
+ ],
1629
+ "image_footnote": [],
1630
+ "bbox": [
1631
+ 199,
1632
+ 204,
1633
+ 795,
1634
+ 310
1635
+ ],
1636
+ "page_idx": 13
1637
+ },
1638
+ {
1639
+ "type": "image",
1640
+ "img_path": "images/10014f8ec3d32b640c18970dd5e691446c2485e16fbbec0fde4325094e2d4730.jpg",
1641
+ "image_caption": [
1642
+ "Figure 4: Illustration of the experimental results on noisy MNIST. The noise rate is set to $40 \\%$ . "
1643
+ ],
1644
+ "image_footnote": [],
1645
+ "bbox": [
1646
+ 199,
1647
+ 367,
1648
+ 795,
1649
+ 474
1650
+ ],
1651
+ "page_idx": 13
1652
+ },
1653
+ {
1654
+ "type": "image",
1655
+ "img_path": "images/e46f902b25cd55f9c38929a11a61480f0089cb65dd9ad1ccfa4738b8f668fa94.jpg",
1656
+ "image_caption": [
1657
+ "Figure 5: Illustration of the experimental results on noisy $F$ -MNIST. The noise rate is set to $20 \\%$ "
1658
+ ],
1659
+ "image_footnote": [],
1660
+ "bbox": [
1661
+ 199,
1662
+ 530,
1663
+ 795,
1664
+ 638
1665
+ ],
1666
+ "page_idx": 13
1667
+ },
1668
+ {
1669
+ "type": "image",
1670
+ "img_path": "images/62a5a118fc64aba5c05fd26a4f2f53ca1f99dbdb4e45d8790aea37fc491a286c.jpg",
1671
+ "image_caption": [
1672
+ "Figure 6: Illustration of the experimental results on noisy $F$ -MNIST. The noise rate is set to $40 \\%$ . "
1673
+ ],
1674
+ "image_footnote": [],
1675
+ "bbox": [
1676
+ 199,
1677
+ 132,
1678
+ 795,
1679
+ 241
1680
+ ],
1681
+ "page_idx": 14
1682
+ },
1683
+ {
1684
+ "type": "image",
1685
+ "img_path": "images/4fb6409bea0656d378217aef81ba2dd9add85dac7ed5b20ca21117a477cbcccd.jpg",
1686
+ "image_caption": [
1687
+ "Figure 7: Illustration of the experimental results on noisy CIFAR-10. The noise rate is set to $20 \\%$ . "
1688
+ ],
1689
+ "image_footnote": [],
1690
+ "bbox": [
1691
+ 199,
1692
+ 335,
1693
+ 795,
1694
+ 449
1695
+ ],
1696
+ "page_idx": 14
1697
+ },
1698
+ {
1699
+ "type": "image",
1700
+ "img_path": "images/35f375230d9f6f6ab80e8d4355fe51fb1568e1634ced2c2ed60e67d7d2ad2043.jpg",
1701
+ "image_caption": [
1702
+ "Figure 8: Illustration of the experimental results on noisy CIFAR-10. The noise rate is set to $40 \\%$ . "
1703
+ ],
1704
+ "image_footnote": [],
1705
+ "bbox": [
1706
+ 199,
1707
+ 545,
1708
+ 795,
1709
+ 655
1710
+ ],
1711
+ "page_idx": 14
1712
+ },
1713
+ {
1714
+ "type": "image",
1715
+ "img_path": "images/3f5e9011e7262681b509749177bea45cf35797485062dc64ed8a2de64a04d306.jpg",
1716
+ "image_caption": [
1717
+ "Figure 9: Illustration of the experimental results on noisy CIFAR-100. The noise rate is set to $20 \\%$ . "
1718
+ ],
1719
+ "image_footnote": [],
1720
+ "bbox": [
1721
+ 199,
1722
+ 750,
1723
+ 795,
1724
+ 862
1725
+ ],
1726
+ "page_idx": 14
1727
+ }
1728
+ ]
parse/train/Eql5b1_hTE4/Eql5b1_hTE4_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/Eql5b1_hTE4/Eql5b1_hTE4_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/H18uzzWAZ/H18uzzWAZ.md ADDED
@@ -0,0 +1,330 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # CORRECTING NUISANCE VARIATION USING WASSERSTEIN DISTANCE
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ Profiling cellular phenotypes from microscopic imaging can provide meaningful biological information resulting from various factors affecting the cells. One motivating application is drug development: morphological cell features can be captured from images, from which similarities between different drugs applied at different dosages can be quantified. The general approach is to find a function mapping the images to an embedding space of manageable dimensionality whose geometry captures relevant features of the input images. An important known issue for such methods is separating relevant biological signal from nuisance variation. For example, the embedding vectors tend to be more correlated for cells that were cultured and imaged during the same week than for cells from a different week, despite having identical drug compounds applied in both cases. In this case, the particular batch a set of experiments were conducted in constitutes the domain of the data; an ideal set of image embeddings should contain only the relevant biological information (e.g. drug effects). We develop a general framework for adjusting the image embeddings in order to ‘forget’ domain-specific information while preserving relevant biological information. To do this, we minimize a loss function based on distances between marginal distributions (such as the Wasserstein distance) of embeddings across domains for each replicated treatment. For the dataset presented, the replicated treatment is the negative control. We find that for our transformed embeddings (1) the underlying geometric structure is not only preserved but the embeddings also carry improved biological signal (2) less domain-specific information is present.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ In the framework where our approach is applicable, there are some inputs (e.g. images) and a map $\mathcal { F }$ sending the inputs to vectors in a low-dimensional space which summarizes information about the inputs. $\mathcal { F }$ could either be engineered using specific image features, or learned (e.g. using deep neural networks). We will call these vectors ‘embeddings’ and the space to which they belong the ‘embedding space’. Each input may also have corresponding semantic labels and domains, and for inputs with each label and domain pair, $\mathcal { F }$ produces some distribution of embeddings. Semantically meaningful similarities between pairs of inputs can then be assessed by the distance between their corresponding embeddings, using some chosen distance metric. Ideally, the embedding distribution of a group of inputs depends only on their label, but often the domain can influence the embedding distribution as well. We wish to find an additional map to adjust the embeddings produced by $\mathcal { F }$ so that the distribution of adjusted embeddings for a given label is independent of the domain, while still preserving semantically meaningful distances between distributions of inputs with different labels.
12
+
13
+ The map $\mathcal { F }$ can be used for phenotypic profiling of cells. In this application, images of biological cells perturbed by one of several possible biological stimuli (e.g. various drug compounds at different doses, some of which may have unknown effects) are mapped to embeddings, which are used to reveal similarities among the applied perturbations.
14
+
15
+ There are a number of ways to extract embeddings from images of cells. One class of methods such as that used by Ljosa et al. (2013) relies on extracting specifically engineered features. In the recent work by Ando et al. (2017), a Deep Metric Network pre-trained on consumer photographic images (not microscope images of cells) described in Wang et al. (2014) was used to generate embedding vectors from cellular images, and it was shown that these clustered drug compounds by their mechanisms of action (MOA) more effectively. See Figure 1 for example images of the different MOAs.
16
+
17
+ Currently one of the most important issues with using image embeddings to discriminate the effects of each treatment (i.e. a particular dose of a drug, the ‘label’ in the general problem described above) on morphological cell features is nuisance factors related to slight uncontrollable variations in each biological experiment. Many cell imaging experiments are organized into a number of batches of experiments occurring over time, each of which contains a number of sample plates (typically 3-6), each of which contains individual wells in which thousands of cells are grown and treatments are applied (typically around 96 wells per plate). For this application, the ‘domain’ is an instance of one of these hierarchical levels, and embeddings for cells with a given treatment tend to be closer to each other within the same domain than from a different one. For example, the experimentalist may apply slightly different concentrations or amounts of a drug compound in two wells in which the same treatment was anticipated. Another example is the location of a particular well within a plate or the order of the plate within a batch, which may influence the rate of evaporation, and hence, the appearance of the cells. Finally, ‘batch’ effects may result from differences in experiment conditions (temperature, humidity) from week to week; they are various instances of this hierarchical level that we will consider as ‘domains’ in this work.
18
+
19
+ Our approach addresses the issue of nuisance variation in embeddings by transforming the embedding space in a possibly domain-specific way in order to minimize the variation across domains for a given treatment. We remark that our main goal is to introduce a general flexible framework to address this problem. In this framework, we use a metric function measuring the distances among pairs of probability distributions to construct an optimization problem whose solution yields appropriate transformations on each domain. In our present implementation, the Wasserstein distance is used as a demonstration of a specific choice of the metric that can yield substantial improvements. The Wasserstein distance makes few assumptions about the probability distributions of the embedding vectors.
20
+
21
+ Our approach is fundamentally different than those which explicitly identify a fixed ‘target’ and ‘source’ distributions. Instead, we incorporate information from all domains on an equal footing, transforming all the embeddings. This potentially allows our method to incorporate several replicates of a treatment across different domains to learn the transformations, and not only the controls. We highlight that other distances may be used in our framework, such as the Cramer distance. This may be preferable since the Cramer distance has unbiased sample gradients (Bellemare et al., 2017). This could reduce the number of steps required to adjust the Wasserstein distance approximation for each step of training the embedding transformation. Additionally we propose several other extensions and variations in Section 4.1.
22
+
23
+ # 2 METHOD
24
+
25
+ # 2.1 PROBLEM DESCRIPTION
26
+
27
+ Denote the embedding vectors $x _ { t , d , p }$ for $t \in T$ , $d \in D$ , and $p \in I _ { t , d }$ , where $T$ and $D$ are the treatment and domain labels respectively, and $I _ { t , d }$ is the set of indices for embeddings belonging to treatment $t$ and domain $d$ . Suppose that $x _ { t , d , p }$ were sampled from a probability distribution $\nu _ { t , d }$ . our goal is to ‘forget’ the nuisance variation in the embeddings, which we formalize in the following way. We wish to find maps $A _ { d }$ transforming the embedding vectors such that the transformed marginals $\tilde { \nu } _ { t , d }$ have the property that for each $t \in T$ and $d _ { i } , d _ { j } \in D$ , $\tilde { \nu } _ { t , d _ { i } } \approx \tilde { \nu } _ { t , d _ { j } }$ (for some suitable metric between distributions). Intuitively, the transformations $A _ { d }$ can be thought of as correcting a domainspecific perturbation. We do not have ‘source’ and ‘target’ distributions, and instead perturb all the embedding distributions simultaneously. The transformations $A _ { d }$ should be small to avoid distorting the underlying geometry of the embedding space, since we do not expect nuisance variation to be very large.
28
+
29
+ The 1-Wasserstein distance (hereafter will be simply referred to as the Wasserstein distance) between two probability distributions $\nu _ { r }$ and $\nu _ { g }$ on a compact metric space $\chi$ with metric $\delta$ is given by
30
+
31
+ $$
32
+ W ( \nu _ { r } , \nu _ { g } ) = \operatorname* { i n f } _ { \gamma \in \Pi ( \nu _ { r } , \nu _ { g } ) } E _ { ( x , y ) \sim \gamma } \delta ( x , y ) .
33
+ $$
34
+
35
+ Here $\Pi ( \nu _ { r } , \nu _ { g } )$ is the set of all joint distributions $\gamma ( x , y )$ whose marginals are $\nu _ { r }$ and $\nu _ { g }$ . This can be intuitively interpreted as the minimal cost of a transportation plan between the probability masses of $\nu _ { r }$ and $\nu _ { g }$ . In our application, the metric space was $\mathbb { R } ^ { n }$ and $\delta$ was the Euclidean metric. If the Wasserstein distance between two distributions is zero, then it becomes impossible to discern the origin of a sample from one of these two distributions. In addition, the Wasserstein distance (as well as other related metrics for probability distributions) are more appropriate to use than classifiers. This is because classifiers are more sensitive to the distinguishability between probability distributions than other potentially meaningful features. For instance, two otherwise identical Gaussian distributions displaced from one another would have Wasserstein distance equal to the displacement between them. On the contrary, a classifier would yield a function that has vanishing gradients for sufficiently large displacement.
36
+
37
+ Given two or more probability distributions, their mean can be defined under the Wasserstein distance, known as the ‘Wasserstein barycenter’. Explicitly, the Wasserstein barycenter of $N$ distributions $\nu _ { 1 } , . . . , \nu _ { N }$ is defined as the distribution $\mu$ that minimizes
38
+
39
+ $$
40
+ \frac { 1 } { N } \sum _ { i = 1 } ^ { N } W ( \mu , \nu _ { i } ) .
41
+ $$
42
+
43
+ The Wasserstein barycenter and its computation have been studied in many contexts, such as optimal transport theory (Cuturi $\&$ Doucet, 2014; Anderes et al., 2016). In Tabak & Trigila (2018), the Wasserstein barycenter has been suggested as a method to remove nuisance variation in highthroughput biological experiments. Two key ingredients of the Wasserstein barycenter are that (i) the nuisance variation is removed in the sense that a number of distinct distributions are transformed into a common distribution, and hence become indistinguishable; and (ii) the distributions are minimally perturbed by the transformtions.
44
+
45
+ Our method is based on these two requirements, where a separate map is associated with each domain. For each treatment, the average Wasserstein distance among all pairs of transformed distributions across domains is included in the loss function. Specifically, the average Wasserstein distance is formulated as
46
+
47
+ $$
48
+ \frac { 2 } { N ( N - 1 ) } \sum _ { i , j = 1 , i < j } ^ { N } W ( A _ { d _ { i } } ( \nu _ { i } ) , A _ { d _ { j } } ( \nu _ { j } ) ) ,
49
+ $$
50
+
51
+ where the coefficient is the normalizing constant. When multiple treatments are considered, the same number of average Wasserstein distances corresponding to the treatments are included in the loss function. Thus, (i) is achieved by minimizing a loss function containing pairwise Wasserstein distances. Compared with the ResNet used in Shaham et al. (2017), we achieve (ii) by early stopping or adding a regularization term to the loss function. In Section 4.1, we will present another possible formulation that aligns more closely with the idea of the Wasserstein barycenter.
52
+
53
+ One distinct advantage of the Wasserstein distance is that this metric avoids problematic vanishing gradients during training, which are known to occur for metrics based on the KL-divergence, such as the cross entropy (Arjovsky et al., 2017). This is important from a practical point of view because vanishing gradients may halt the solving of the resulting minimax problem in our method.
54
+
55
+ The Wasserstein distance does not have a closed form except for a few special cases, and must be approximated in some way. The Wasserstein distance is closely related to the maximum mean discrepancy (MMD) approximated in Shaham et al. (2017) using an empirical estimator based on the kernel method. This method requires selecting a kernel and relevant parameters. In our application, we do not have a fixed ‘target’ distribution, so the kernel parameters would have to be updated during training. We choose instead to use a method based on the ideas in Arjovsky et al. (2017) and Gulrajani et al. (2017) to train a neural network to estimate the Wasserstein distance. A similar approach has been proposed in Shen et al. (2017) for domain adaptation. To do this, first apply the Kantorovich-Rubinstein duality:
56
+
57
+ $$
58
+ W ( \nu _ { r } , \nu _ { g } ) = \operatorname* { s u p } _ { \| f \| _ { L } \leq 1 } E _ { x \sim \nu _ { r } } \left[ f ( x ) \right] - E _ { x \sim \nu _ { g } } \left[ f ( x ) \right] .
59
+ $$
60
+
61
+ Here, $\nu _ { r }$ and $\nu _ { g }$ are two probability distributions. The function $f$ is in the space of Lipschitz functions with Lipschitz constant at most 1. To estimate the Wasserstein distance, a function $f$ can be optimized while keeping the norm of its gradient to be less than one. We will call $f$ the ‘Wasserstein function’ throughout this manuscript.
62
+
63
+ # 2.3 NETWORK ARCHITECTURE
64
+
65
+ # 2.3.1 DOMAIN-SPECIFIC TRANSFORMATION
66
+
67
+ As a preprocessing step, we transform the embeddings for the dataset of interest such that the embeddings for the negative controls have mean zero and an identity covariance matrix (see Section 3.1 for details). We observe that the embeddings for wells corresponding to different dosages of each compound are all shifted away from the origin in roughly the same direction by an amount that generally increases with dosage. The variances of embeddings along the largest principal axes also increase in a manner consistent with the drugs inducing an affine transformation of the embeddings.
68
+
69
+ Given these observations, we choose to model the impact of nuisance variation by affine transformations, the intuition being that we can treat nuisance variations as small, random, drug-like perturbations resulting from unobserved covariates. It is worth mentioning that we do not expect this assumption to hold generally.
70
+
71
+ In the current implementation, the domain-specific transformations $A _ { d }$ map input embeddings to transformed embeddings of the same dimension. Each $A _ { d }$ is formulated as an affine transformation $A _ { d } ( x ) = M _ { d } x + b _ { d }$ .
72
+
73
+ # 2.3.2 LOSS FUNCTION
74
+
75
+ Collectively denote the parameters for the transformations $A _ { d }$ by $\theta _ { \mathrm { T } }$ . If a particular treatment $t$ is replicated across two or more domains $d _ { 1 } , d _ { 2 } , . . . , d _ { k }$ , the Wasserstein distances among the transformed distributions are estimated for all same-treatment domain pairs. Notice the parameters for estimating the Wasserstein distance for each $t$ and pair $d _ { i } , d _ { j }$ are different. Collectively denote all Wasserstein estimation parameters by $\theta _ { \mathrm { { W } } }$ . We consider the loss function
76
+
77
+ $$
78
+ L ( \theta _ { \mathrm { T } } , \theta _ { \mathrm { W } } ) = \frac { 1 } { | T | } \sum _ { t \in T } \frac { 2 } { M _ { t } ( M _ { t } - 1 ) } \sum _ { \substack { d _ { i } , d _ { j } \in D , i \neq j } } \left[ W _ { t , d _ { i } , d _ { j } } ( \theta _ { \mathrm { T } } , \theta _ { \mathrm { W } } ) - g _ { t , d _ { i } , d _ { j } } ( \theta _ { \mathrm { T } } , \theta _ { \mathrm { W } } ) \right] + R ( \theta _ { \mathrm { T } } ) .
79
+ $$
80
+
81
+ In (eq. 5), $W _ { t , d _ { i } , d _ { j } } ( \theta _ { \mathrm { { T } } } , \theta _ { \mathrm { { W } } } ) - g _ { t , d _ { i } , d _ { j } } ( \theta _ { \mathrm { { T } } } , \theta _ { \mathrm { { W } } } )$ is a penalized approximation to the Wasserstein distance between domains $d _ { i }$ and $d _ { j }$ , the function $R ( \theta _ { \mathrm { T } } )$ is a regularization term for the learned transformation whose purpose is to preserve the geometry of the original embeddings, $M _ { t }$ denotes the number of domains in which treatment $t$ appears, and $| \cdot |$ represents the cardinality of a set.
82
+
83
+ In this paper, we explore either (i) neglecting $R$ entirely and relying on early stopping instead, and (ii) specifying $R$ as described below and in (eq. 6). Using one of these methods is necessary since otherwise optimizing $L$ may result in embeddings which contain no treatment information (for example, if all embeddings are transformed to a single point).
84
+
85
+ There may be many possible forms for $R$ , and these could involve multiple parameter choices for different components of the transformation that $\theta _ { \textup T }$ determines. In our case, $\theta _ { \textup T }$ parameterizes an affine transformation, and hence we choose
86
+
87
+ $$
88
+ R ( \theta _ { \mathrm { T } } ) = \frac { 1 } { | D | } \sum _ { d } \left( \frac { 1 } { q } \lambda _ { M } \| M _ { d } \| _ { F } ^ { 2 } + \lambda _ { b } \| b _ { d } \| _ { 2 } ^ { 2 } \right) ,
89
+ $$
90
+
91
+ where $\| \cdot \| _ { F }$ denotes the Frobenius norm, $\| \cdot \| _ { 2 }$ denotes the $\ell ^ { 2 }$ norm, and $q$ denotes the embedding dimensionality. Moreover, there are two regularization weights $\lambda _ { M }$ and $\lambda _ { b }$ .
92
+
93
+ In (eq. 5), $W _ { t , d _ { i } , d _ { j } }$ is used to approximate the Wasserstein distance between the transformed embeddings of domains $d _ { i }$ and $d _ { j }$ for treatment $t$ upon optimization over $\theta _ { \mathrm { W } }$ . The Wasserstein distance is given by
94
+
95
+ $$
96
+ \begin{array} { r } { W _ { t , d _ { i } , d _ { j } } ( \theta _ { \mathrm { T } } , \theta _ { \mathrm { W } } ) = \frac { 1 } { N } \displaystyle \sum _ { p \in I _ { t , d _ { i } } } f _ { t , d _ { i } , d _ { j } } ( A _ { d _ { i } } ( x _ { t , d _ { i } , p } ; \theta _ { \mathrm { T } } ) ; \theta _ { \mathrm { W } } ) } \\ { - \frac { 1 } { N } \displaystyle \sum _ { q \in I _ { t , d _ { j } } } f _ { t , d _ { i } , d _ { j } } ( A _ { d _ { j } } ( x _ { t , d _ { j } , q } ; \theta _ { \mathrm { T } } ) ; \theta _ { \mathrm { W } } ) . } \end{array}
97
+ $$
98
+
99
+ Each Wasserstein function $f _ { t , d _ { i } , d _ { j } }$ in (eq. 7) depends on the parameters $\theta _ { \mathrm { { W } } }$ , while each transformation $A _ { d }$ depends on the parameters $\theta _ { \mathrm { T } }$ . For simplicity, we assume that $N = | I _ { t , d _ { i } } | = | I _ { t , d _ { j } } |$ , where $| \cdot |$ represents the cardinality of a set. This is a reasonable assumption because in practice, the sets $I _ { t , d }$ are chosen as minibatches in stochastic gradient descent. Each of the terms $g _ { t , d _ { i } , d _ { j } }$ is a gradient penalty defined in (eq. 8-10).
100
+
101
+ Each Wasserstein function should be Lipschitz with Lipschitz constant 1. For differentiable functions, this is equivalent to the norm being bounded by 1 everywhere. We use an approach based on Gulrajani et al. (2017) to impose a soft constraint on the norm of the gradient. In this approach, the hard constraint is replaced by a penalty, which is a function of the gradient of the Wasserstein function evaluated at some set of points. The penalty term is weighted by an additional parameter $\gamma$ . We find that the value of $\gamma = 1 0$ used in Gulrajani et al. (2017) works well in our application, and fix it throughout. We remark this is an appropriate choice since it is large enough so that the approximation error in the Wasserstein function is small, while not causing numerical difficulties in the optimization routine. Since it is impossible to check the gradient everywhere, we use the same strategy as Gulrajani et al. (2017): choose the intermediate points $\epsilon A _ { d _ { i } } ( x _ { t , d _ { i } , p _ { k } } ; \theta _ { \mathrm { T } } ) + ( 1 - \epsilon ) A _ { d _ { j } } ( x _ { t , d _ { j } , q _ { k } } ; \theta _ { \mathrm { T } } )$ randomly, where $\epsilon \in U [ 0 , 1 ]$ and $p _ { k }$ and $q _ { k }$ denote the $k _ { t h }$ element of $I _ { t , d _ { i } }$ and $I _ { t , d _ { j } }$ , respectively. Denote the set of intermediate points by $J _ { t , d _ { i } , d _ { j } }$ . Intuitively, the reason for sampling along these paths is that the Wasserstein function $f$ whose gradient must be constrained has the interpretation of characterizing the optimal transport between the two probability distributions, and therefore it is most important for the gradient constraint to hold in the intermediate region between the distributions. This is motivated more formally by Proposition 1 in Gulrajani et al. (2017), which shows that an optimal transport plan occurs along straight lines with gradient norm 1 connecting coupled points between the probability distributions. Unlike Gulrajani et al. (2017), we impose the gradient penalty only if the gradient norm is greater than 1. Doing so works better in practice for our application.
102
+
103
+ Explicitly, we define each gradient penalty $g _ { t , d _ { i } , d _ { j } }$ as
104
+
105
+ $$
106
+ g _ { t , d _ { i } , d _ { j } } ( \theta _ { \mathrm { T } } , \theta _ { \mathrm { W } } ) = \frac { 1 } { N } \sum _ { z \in J _ { t , d _ { i } , d _ { j } } } H _ { t , d _ { i } , d _ { j } } ( z ; \theta _ { \mathrm { W } } ) ,
107
+ $$
108
+
109
+ where
110
+
111
+ $$
112
+ \begin{array} { r l } & { H _ { t , d _ { i } , d _ { j } } ( z ; \theta _ { \mathsf { W } } ) = \left\{ \begin{array} { l l } { \displaystyle { \big ( G _ { t , d _ { i } , d _ { j } } ( z ; \theta _ { \mathsf { W } } ) - 1 \big ) ^ { 2 } } } & { \mathrm { ~ i f ~ } G _ { t , d _ { i } , d _ { j } } ( z ; \theta _ { \mathsf { W } } ) > 1 , } \\ { \displaystyle { 0 } } & { \mathrm { o t h e r w i s e } . } \end{array} \right. } \\ & { G _ { t , d _ { i } , d _ { j } } ( z ; \theta _ { \mathsf { W } } ) = \| \nabla _ { \theta _ { \mathsf { W } } } f _ { t , d _ { i } , d _ { j } } ( z ; \theta _ { \mathsf { W } } ) \| _ { 2 } . } \end{array}
113
+ $$
114
+
115
+ To approximate the Wasserstein distance we must maximize over $\theta _ { \mathrm { W } }$ . Thus, our objective is to find
116
+
117
+ $$
118
+ \begin{array} { r } { \hat { \theta } _ { \mathrm { T } } , \hat { \theta } _ { \mathrm { W } } = \mathrm { a r g m i n } _ { \theta _ { \mathrm { T } } } \mathrm { a r g m a x } _ { \theta _ { \mathrm { W } } } L ( \theta _ { \mathrm { T } } , \theta _ { \mathrm { W } } ) . } \end{array}
119
+ $$
120
+
121
+ We use the approach of Ganin $\&$ Lempitsky (2015) to transform our minimax problem to a minimization problem by adding a ‘gradient reversal’ between the transformed embeddings and the approximated Wasserstein distances. The gradient reversal is the identity in the forward direction, but negates the gradients used for backpropagation.
122
+
123
+ # 3 EMPIRICAL RESULTS
124
+
125
+ The embeddings under consideration are generated using the method described in Ando et al. (2017), and summarized in Section 3.1.
126
+
127
+ # 3.1 DATASET AND PREPROCESSING
128
+
129
+ We use the image set BBBC021v1 (Caie et al., 2010) available from the Broad Bioimage Benchmark Collection (Ljosa et al., 2012). This dataset corresponds to cells prepared on 55 plates across 10 separate batches, and imaged in three color channels (i.e. stains); for a population of control cells, a compound (DMSO) with no anticipated drug effect was applied, while various other drug compounds were applied to the remaining cells. We compute the corresponding embeddings for each cell image using the method in Ando et al. (2017), summarized as follows. For a 128 by 128 pixel crop around each cell for each of the three color channels, a Deep Metric Network generates a 64-dimensional embedding vector. The three vectors corresponding to the three color channels are concatenated, forming a 192-dimensional embedding for each cell image. Using the embedding vectors for all cells, a Typical Variation Normalization (TVN) is applied in which the negative controls (i.e., DMSO) are whitened. Specifically, in the principal component analysis (PCA) basis of only negative control cells, an affine transformation is found so that the negative controls have mean zero and identity covariance matrix. The same transformation is then applied to the embeddings of all cells. Note that Ando et al. (2017) uses a different terminology, where TVN includes an additional transformation named CORAL, which will be presented and compared with in Section 3.4.
130
+
131
+ We use the same subset of treatments (concentration of a particular compound) evaluated in Ljosa et al. (2013) and Ando et al. (2017). This subset has 103 treatments from 38 compounds, each belonging to one of 12 known mechanism of action (MOA) groups. Sample cell images from the 12 MOA groups are shown in Figure 1. In Figure 6, we show a heatmap of the cosine similarity matrix between pairs of the selected treatments for the TVN embeddings. This figure shows how embeddings of the same compound, and embeddings of the compounds with the same MOA have a tendency to cluster closer to each other in terms of the cosine distance.
132
+
133
+ ![](images/d1247c254531ea05e2262b9cb4b33cc9f85f265b89740d1ba969d4250e54b3ac.jpg)
134
+ Figure 1: A flowchart describing the procedure we use to generate and remove nuisance variation from image embeddings. The embedding generation is described in Section 3.1 is characterized by $\mathcal { F }$ , which maps each 128 by 128 color image into a 192-dimensional embedding vector. The nuisance variation removal by our method is denoted by WDN (Wasserstein Distance Network). The 12 images on the right side show representative images of cells treated with drug compounds with one of the 12 known mechanisms of action (MOA), from the BBBC021 dataset (Ljosa et al., 2012).
135
+
136
+ # 3.2 EVALUATION METRICS
137
+
138
+ Our method is evaluated by three metrics, the first two of which measure how much biological signal is preserved in the transformed embeddings, and the last one of which measures how much nuisance variation has been removed.
139
+
140
+ # 3.2.1 K-NEAREST NEIGHBOR MECHANISM OF ACTION ASSIGNMENT
141
+
142
+ Each compound in the BBBC021 dataset has a known MOA. A desirable property of embedding vectors is that compounds with the same MOA should group closely in the embedding space. This property can be assessed in the following way using the ground truth MOA labels for each treatment.
143
+
144
+ First, compute the mean $m _ { X }$ of the embeddings for each treatment $X$ in each domain. Find the nearest $k$ neighbors $n _ { X , 1 } , n _ { X , 2 } , . . . , n _ { X , k }$ of $m _ { X }$ either (i) not belonging to the same compound or (ii) not belonging to the same compound or batch (domain), and compute the portion of them having the same MOA as $m _ { X }$ . Our metric is defined as the average of this quantity across all treatment instances $X$ in all domains. If nuisance variation is corrected by transforming the embeddings, we may expect this metric to increase. The reason for excluding same-domain nearest neighbors is to avoid the in-domain correlations from interfering with the metric.
145
+
146
+ The nearest $k$ neighbors are found based on the cosine distance, which is more natural for the embedding space than the Euclidean distance, and can be directly compared with methods in existing literature. Moreover, our k-NN metrics are generalizations of the 1-NN metrics used in Ljosa et al. (2013) and Ando et al. (2017).
147
+
148
+ # 3.2.2 SILHOUETTE INDEX
149
+
150
+ Cluster validation measures provide another way of characterizing how well compounds from the same MOA group together in embedding space. In our application, each ‘cluster’ is a chosen MOA containing a group of treatments, and each point in a cluster is the mean of embeddings for a particular treatment (i.e. compound and concentration) and domain.
151
+
152
+ The Silhouette index is one such measure that compares each point’s distance from points in its own cluster to its distance from points in other clusters. It is defined as
153
+
154
+ $$
155
+ s ( i ) = \frac { b ( i ) - a ( i ) } { \operatorname* { m a x } \{ a ( i ) , b ( i ) \} } ,
156
+ $$
157
+
158
+ where $a ( i )$ is the average distance from point $i$ to all other points in its cluster, and $b ( i )$ is the minimum of all average distances from $i$ to all other clusters (i.e. the distance to the closest neighboring cluster) (Rousseeuw, 1987). The Silhouette index ranges between $^ { - 1 }$ and 1, with higher values indicating better clustering results.
159
+
160
+ # 3.2.3 DOMAIN CLASSIFICATION ACCURACY PER TREATMENT
161
+
162
+ Another metric measures how well domain-specific nuisance information has been ‘forgotten’. To do this, for each treatment we train a classifier to predict for each embedding the batch (domain) from the set of possible batches (domains) for that treatment. We evaluate both a linear classifier (i.e. logistic regression) and a random forest with 3-fold cross validation. If nuisance variation is being corrected, the batch (domain) classification accuracy should decrease significantly. Because only the negative control (i.e., DMSO) has replicates across experiment batches in our dataset, we train and evaluate these two batch classifiers on this compound only.
163
+
164
+ # 3.3 PROCEDURE
165
+
166
+ # 3.3.1 LEAVE-ONE-COMPOUND-OUT CROSS-VALIDATION
167
+
168
+ For the model with either early stopping or a regularization term, the hyperparameters (i.e., the stopping time step or the regularization weights) can be selected by a cross-validation procedure to avoid overfitting (see Godinez et al. (2017) for an example). In particular, we apply this procedure to the case of early stopping. Each time, an individual compound is held out, and the stopping time step is determined by maximizing the average k-NN MOA assignment metric for $k = 1 , . . . , 4$ on the remaining compounds. Figure 2 illustrates the k-NN MOA assignment metrics as a function of time steps in the case when early stopping is used with compound mitoxantrone held out.
169
+
170
+ For the embeddings transformed at the optimal time step, we evaluate the k-NN MOA assignment metrics for the held-out compound. The procedure is repeated for all the compounds, and the $\mathbf { k }$ -NN MOA assignment metrics are aggregated across all the compounds. Intuitively, for each fold of this leave-one-compound-out cross-validation procedure, the held-out compound can be treated as a new compound with unknown MOA, and the hyperparameters are optimized over the compounds with known MOAs. In our case, we find that the optimal time step remains the same, i.e., 28000, regardless of the held-out compound.
171
+
172
+ # 3.3.2 STANDARD ERRORS OF THE METRICS
173
+
174
+ To assess whether the improvements in the $\mathbf { k }$ -NN MOA assignment metric and the Silhouette index are statistically significant, we estimate the standard errors of the metrics using a nonparametric bootstrap method. Each time, the bootstrap samples are generated by sampling with replacement the embeddings preprocessed by TVN in each well, and the metrics are evaluated using the bootstrap samples. We repeat the procedure for 200 times, and obtain the standard errors of the 200 bootstrap estimates of the metrics, which are summarized in Tables 1 and 3.
175
+
176
+ # 3.3.3 TRAINING PROCEDURE
177
+
178
+ The embedding transformations $A _ { d } ( x ) = M _ { d } x + b _ { d }$ are initialized to $M _ { d } = I$ , $b _ { d } = 0$ , since we wish for the learned transformations to be not too far from the identity transformation.
179
+
180
+ To approximate each of the Wasserstein functions $f _ { t , d _ { i } , d _ { j } }$ in (eq. 7), we use a network consisting of softplus layer followed by a scalar-valued affine transformation. The softplus loss is chosen because the Wasserstein distance estimates it produces are less noisy than other kinds of losses and it avoids the issue of all neurons becoming deactivated (which can occur for example when using RELU activations).
181
+
182
+ The dimension of the softplus layer used to approximate each Wasserstein function is 2. Optimization is done using stochastic gradient instead of the sums in (eq. 7). For simplicity, the minibatch size for each treatment per iteration step is fixed throughout. In the results presented, the minibatch size is 50. Optimization for both classes of parameters $\theta _ { \mathrm { T } }$ and $\theta _ { \mathrm { { W } } }$ is done using separate RMSProp optimizers. Prior to training $\theta _ { \textup T }$ , we use a ‘pre-training’ period of 20000 time steps to obtain a good approximation for the Wasserstein distances. After this, we alternate between adjusting $\theta _ { \mathrm { T } }$ for 40 time steps and optimizing over $\theta _ { \mathrm { { W } } }$ for a single time step.
183
+
184
+ # 3.4 RESULTS
185
+
186
+ We compare our results to either using no transformation other than normalization (TVN) and CORAL. CORAL applies a domain-specific affine transformation to the embeddings represented as the rows of a matrix $X _ { d }$ from domain $d$ in the following way. On the negative controls only, the covariance matrix across the entire experiment $C$ as well as the covariance $C _ { d }$ in each domain $d$ are computed. Notice that since TVN had already been applied (see Section 3.1), $C = I$ . Then, all embedding coordinates in domain $d$ are aligned by matching the covariance structures. Alignment is done by computing the new embeddings $X _ { d } ^ { \mathrm { a l i g n e d } } = X _ { d } \bar { R } _ { d } ^ { - 1 / 2 } R ^ { 1 / 2 }$ . Here $R _ { d } = C _ { d } + \eta I$ and $R = C + \eta I$ are regularized covariance matrices, with the regularizer $\eta = 1$ , which is the same as that in Ando et al. (2017).
187
+
188
+ Other variations of the training procedure are discussed in Sections 3.4.3 and 3.5.
189
+
190
+ # 3.4.1 VISUALIZATION OF RESULTS
191
+
192
+ Figure 3 shows the first two principal components of the embeddings transformed by WDN, compared with the embeddings preprocessed by TVN (see Section 3.1) and the embeddings generated by the CORAL method proposed in Sun et al. (2017) and applied by Ando et al. (2017).
193
+
194
+ Figure 5 shows the dosage response for each compound based on each set of transformed embeddings. WDN is seen to better preserve the geometry of the embeddings than CORAL.
195
+
196
+ # 3.4.2 METRICS
197
+
198
+ Table 1 shows the k-NN MOA assignment metrics of our transformed embeddings (early stopping and some particular choices of the regularization weights) compared to the original embeddings as well as the estimated standard errors. We also include the values of this metric for CORAL. We find that our WDN method performs better than CORAL in terms of the k-NN MOA assignment metrics.
199
+
200
+ Finally, Table 2 compares the average batch classification accuracy for a linear classifier (i.e., logistic regression) and a random forest classifier for the original TVN embeddings, WDN embeddings (early stopping and some particular choices of the regularization weights), CORAL embeddings, and for reference, a trivial transformation for which all embeddings are set to zero. For each run, given a classifier and a transformed set of embeddings, we compute the mean accuracy for that classifier using 3-fold cross validation. We see that the batch classification accuracy for the embeddings using our method is substantially smaller than that using TVN or CORAL, indicating our method is removing nuisance variation.
201
+
202
+ # 3.4.3 EARLY STOPPING VERSUS REGULARIZATION TERM
203
+
204
+ We have tried regularizing the network either with a regularization term or early stopping. When using a regularization term, the loss function and the evaluation metrics converge for a chosen set of regularization weights. We present the resulting $\mathrm { k }$ -NN MOA assignment metrics in Table 1 for several values of $\lambda = \lambda _ { M } = \lambda _ { b }$ , as well as for the early stopping at the optimal time step 28000. We see that the smaller regularization $\lambda = 4 0$ ) results in a greater removal of nuisance variation. However, removing more nuisance variation may be counterbalanced by also removing relevant biological signal, as suggested by the k-NN MOA assignment metrics in Table 1. In addition, using a non-optimal choice of the regularization weight may result in a lower Silhouette index, as shown in Table 3.
205
+
206
+ Each approach has advantages and disadvantages. Using early stopping is simpler and does not require a computationally intensive grid search over all parameters to obtain optimal results, but on the other hand this may be a limiting factor in performance because of the smaller selection of parameters. If the transformed embedding vectors do not follow an approximately direct path throughout the optimization, early stopping may miss the optimal solution. This development is likely not a problem in our applications, since the transformation is small. This explains why early stopping does not seem to produce negative side effects. We find that early stopping produces a better result in terms of the k-NN MOA assignment metrics than the values of $\lambda$ we have tried, but we anticipate using a more thorough search over the regularization weights would yield similar results between the two methods.
207
+
208
+ The learning curves for both the early stopping case and some regularization weights are shown in Figure 4.
209
+
210
+ # 3.5 ADDITIONAL EXPERIMENTS
211
+
212
+ To assess how the hyperparameters of the model affect its performance, we conduct additional experiments by varying the hyperparameters. For example, the minibatch size is increased from 50 to 100. The results are similar except that the learning curve in the case of 100 appears less noisy. Moreover, the architecture of the network that estimates the pairwise Wasserstein distances is made more complicated by increasing the number of hidden layers from two to three and four, and the number of nodes per layer from two to four and eight, respectively. Again, there is no significant difference in the results except that the curves of the $\mathbf { k }$ -NN MOA assignment metrics over the number of time steps appeared more stable.
213
+
214
+ # 4 CONCLUSION
215
+
216
+ We have shown how a neural network can be used to transform embedding vectors to ‘forget’ specifically chosen domain information as indicated by our proposed domain classification metric. The transformed embeddings still preserve the underlying geometry of the space and improve the $\mathbf { k } .$ - NN MOA metrics. Our approach uses the Wasserstein distance and can in principle handle fairly general distributions of embeddings (as long as the neural network used to approximate the Wasserstein function is general enough). Importantly, we do not have to assume that the distributions are Gaussian.
217
+
218
+ ![](images/f9e52d94c82e82cb8b3bd92bbcd08442d1ac8ac361f8dab9f372e6681c228b65.jpg)
219
+ Figure 2: k-NN MOA assignment metrics for one fold of the cross-validation with compound mitoxantrone held out. The average k-NN metric is used to select the stopping time step, which is at 28000 as indicated by the vertical line. Early stopping is supposed to preserve relevant biological signal while remove batch-level nuisance variation. The top panel shows the ‘not same compound’ metric, and the bottom panel shows the ‘not same compound or batch’ metric (see Section 3.2.1 for details).
220
+
221
+ ![](images/8cd0fa8580d36f85dffb94c55eb733cd0e93a554c786b736cca90d7a06ac30d1.jpg)
222
+ Figure 3: Comparison of the first two principal components for the embeddings of the negative control (i.e., DMSO) after preprocessing (i.e., TVN) (left), embeddings transformed by the $\mathrm { T V N } +$ CORAL method proposed in Ando et al. (2017) (middle), and embeddings transformed by $\mathrm { T V N } +$ WDN (right), which illustrates the reduction of batch-level nuisance variation. Each color corresponds to a batch, and there are ten batches in total. Our method is designed to match embeddings of compounds across batches while not distorting the geometry of the embedding space.
223
+
224
+ The framework itself is quite general and extendible (see Section 4.1). Unlike methods that use only the controls for adjusting the embeddings, our method can also utilize information from replicates of a treatment across different domains. However, the dataset used did not have treatment replicates across batches, so we only relied on aligning based on the controls. Thus we implicitly assume that the transformation for the controls matches that of the various compounds. We expect our method to be more useful in the context of experiments where many replicates are present, so that they can all be aligned simultaneously. We expect transformations learned for such experiments to have better generalizability since it would be using available knowledge from a greater portion of the embedding space.
225
+
226
+ Our approach requires a choice of free parameters, either for regularization or early stopping, which we address by cross validation across compounds. We discuss potential future directions below, as well as other limiting issues.
227
+
228
+ Table 1: k-NN MOA assignment metrics for TVN only, $\mathrm { T V N } + \mathrm { W D N }$ , and $\mathrm { T V N + C O R A L }$ , where WDN is regularized by either early stopping or a regularization term with weights. The last column shows the standard errors estimated by the bootstrap method described in Section 3.3.2. These metrics suggest that WDN with early stopping yields embeddings containing stronger biological signal than TVN or $\mathrm { T V N + C O R A L }$ . Here the $\lambda = 4 0 , 8 0 , 1 6 0$ are the WDN transformation after converging, when a regularization term $\lambda = \lambda _ { M } = \lambda _ { b }$ is added.
229
+
230
+ (a) Not same compound
231
+
232
+ <table><tr><td rowspan=1 colspan=1>k-NN</td><td rowspan=1 colspan=1>TVN only</td><td rowspan=1 colspan=1>WDN</td><td rowspan=1 colspan=1>CORAL</td><td rowspan=1 colspan=1>入=40</td><td rowspan=1 colspan=1>入=80</td><td rowspan=1 colspan=1>入=160</td><td rowspan=1 colspan=1>土</td></tr><tr><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>96.1%</td><td rowspan=1 colspan=1>97.1%</td><td rowspan=1 colspan=1>97.1%</td><td rowspan=1 colspan=1>97.1%</td><td rowspan=1 colspan=1>97.1%</td><td rowspan=1 colspan=1>96.1%</td><td rowspan=1 colspan=1>1.1%</td></tr><tr><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>92.2%</td><td rowspan=1 colspan=1>95.1%</td><td rowspan=1 colspan=1>94.7%</td><td rowspan=1 colspan=1>93.7%</td><td rowspan=1 colspan=1>95.1%</td><td rowspan=1 colspan=1>93.7%</td><td rowspan=1 colspan=1>0.7%</td></tr><tr><td rowspan=1 colspan=1>3</td><td rowspan=1 colspan=1>89.3%</td><td rowspan=1 colspan=1>91.9%</td><td rowspan=1 colspan=1>90.9%</td><td rowspan=1 colspan=1>90.6%</td><td rowspan=1 colspan=1>91.9%</td><td rowspan=1 colspan=1>91.6%</td><td rowspan=1 colspan=1>0.6%</td></tr><tr><td rowspan=1 colspan=1>4</td><td rowspan=1 colspan=1>87.4%</td><td rowspan=1 colspan=1>89.9%</td><td rowspan=1 colspan=1>88.4%</td><td rowspan=1 colspan=1>88.9%</td><td rowspan=1 colspan=1>89.2%</td><td rowspan=1 colspan=1>89.7%</td><td rowspan=1 colspan=1>0.5%</td></tr></table>
233
+
234
+ <table><tr><td rowspan=1 colspan=1>k-NN</td><td rowspan=1 colspan=1>TVN only</td><td rowspan=1 colspan=1>WDN</td><td rowspan=1 colspan=1>CORAL</td><td rowspan=1 colspan=1>入=40</td><td rowspan=1 colspan=1>入=80</td><td rowspan=1 colspan=1>入= 160</td><td rowspan=1 colspan=1>土</td></tr><tr><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>90.2%</td><td rowspan=1 colspan=1>93.5%</td><td rowspan=1 colspan=1>91.3%</td><td rowspan=1 colspan=1>92.4%</td><td rowspan=1 colspan=1>91.3%</td><td rowspan=1 colspan=1>91.3%</td><td rowspan=1 colspan=1>1.0%</td></tr><tr><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>88.9%</td><td rowspan=1 colspan=1>91.1%</td><td rowspan=1 colspan=1>89.4%</td><td rowspan=1 colspan=1>90.6%</td><td rowspan=1 colspan=1>90.6%</td><td rowspan=1 colspan=1>89.4%</td><td rowspan=1 colspan=1>0.9%</td></tr><tr><td rowspan=1 colspan=1>3</td><td rowspan=1 colspan=1>84.7%</td><td rowspan=1 colspan=1>86.2%</td><td rowspan=1 colspan=1>85.1%</td><td rowspan=1 colspan=1>84.0%</td><td rowspan=1 colspan=1>85.1%</td><td rowspan=1 colspan=1>85.4%</td><td rowspan=1 colspan=1>0.7%</td></tr><tr><td rowspan=1 colspan=1>4</td><td rowspan=1 colspan=1>83.9%</td><td rowspan=1 colspan=1>84.8%</td><td rowspan=1 colspan=1>84.5%</td><td rowspan=1 colspan=1>83.6%</td><td rowspan=1 colspan=1>84.5%</td><td rowspan=1 colspan=1>84.5%</td><td rowspan=1 colspan=1>0.6%</td></tr></table>
235
+
236
+ (b) Not same compound or batch
237
+
238
+ Table 2: Batch (domain) classification accuracy after transformations for controls using either logistic regression (LR) or a random forest (RF) with 3 folds. We only use controls here because other treatments have no replicates across batches in our dataset. We compare TVN only, $\mathrm { T V N } + \mathrm { W D N }$ (with early stopping), and $\mathrm { T V N + C O R A L }$ . We also show the results for WDN with $\lambda = 4 0$ , 80, 160 for $\lambda = \lambda _ { M } = \lambda _ { b }$ . The ‘trivial transformation’ (send all embeddings to a point) is provided for reference. If all nuisance information is removed, the batch accuracy would drop that of the trivial transformation. The table below shows that WDN removes some of the nuisance variation, at least from the controls.
239
+
240
+ <table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>TVN only</td><td rowspan=1 colspan=1>WDN</td><td rowspan=1 colspan=1>CORAL</td><td rowspan=1 colspan=1>入= 40</td><td rowspan=1 colspan=1>入=80</td><td rowspan=1 colspan=1>入= 160</td><td rowspan=1 colspan=1>Trivial trans.</td></tr><tr><td rowspan=1 colspan=1>LR</td><td rowspan=1 colspan=1>63.6 ± 1%</td><td rowspan=1 colspan=1>39.8 ± 0.6%</td><td rowspan=1 colspan=1>66.4 ± 0.7%</td><td rowspan=1 colspan=1>28.0 ± 0.8%</td><td rowspan=1 colspan=1>46.8 ± 0.9%</td><td rowspan=1 colspan=1>56.2 ± 0.9%</td><td rowspan=1 colspan=1>16.6%</td></tr><tr><td rowspan=1 colspan=1>RF</td><td rowspan=1 colspan=1>45.9 ± 0.2%</td><td rowspan=1 colspan=1>34.4± 0.7%</td><td rowspan=1 colspan=1>46.8 ±0.6%</td><td rowspan=1 colspan=1>26.7 ± 0.7%</td><td rowspan=1 colspan=1>33.3 ± 0.7%</td><td rowspan=1 colspan=1>39.5 ± 0.1%</td><td rowspan=1 colspan=1>16.6%</td></tr></table>
241
+
242
+ Table 3: We show the silhouette index for TVN only, $\mathrm { T V N } + \mathrm { W D N }$ , and $\mathrm { T V N + C O R A L }$ , as discussed in Section 3.2.2. Here WDN refers to the the result using early stopping, and $\lambda = 4 0$ , 80, 160 refers to the result when using a regularization with $\lambda = \lambda _ { M } = \lambda _ { b }$ . Both WDN and CORAL appear to increase the cohesion, as measured by this index. The estimated error denoted by $\pm$ was determined by the bootstrapping procedure described in Section 3.3.2
243
+
244
+ <table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>TVN only</td><td rowspan=1 colspan=1>WDN</td><td rowspan=1 colspan=1>CORAL</td><td rowspan=1 colspan=1>入=40</td><td rowspan=1 colspan=1>入=80</td><td rowspan=1 colspan=1>入=160</td><td rowspan=1 colspan=1>土</td></tr><tr><td rowspan=1 colspan=1>Silhouette index</td><td rowspan=1 colspan=1>0.5042</td><td rowspan=1 colspan=1>0.5126</td><td rowspan=1 colspan=1>0.5099</td><td rowspan=1 colspan=1>0.5088</td><td rowspan=1 colspan=1>0.5115</td><td rowspan=1 colspan=1>0.5093</td><td rowspan=1 colspan=1>0.0019</td></tr></table>
245
+
246
+ # 4.1 FUTURE WORK
247
+
248
+ One possible modification we considered would be to replace the form of the cost function by the following, which would more closely resemble finding the Wasserstein barycenter:
249
+
250
+ $$
251
+ \sum _ { i , j = 1 } ^ { N } W ( \nu _ { i } , A _ { d _ { j } } ( \nu _ { j } ) ) .
252
+ $$
253
+
254
+ The difference is that instead of comparing the pairwise transformed distributions, we instead compare the transformed distributions to the original distributions. One advantage for this approach is that it avoids the ‘shrinking to a point’ problem, and therefore does not require a regularization term or early stopping to converge to a meaningful solution. However, we did not find better performance for the new form of the cost function (eq. 13) for our specific dataset.
255
+
256
+ An alternative regularization term to the one we used penalizing how much the transformation differs from the identity may be used. One interesting choice might be to penalize the change of pairwise distances between treatments within a specific domain. Intuitively, in-domain variations carry biological signal that we would like to preserve, and using such a regularization term does so explicitly.
257
+
258
+ The Wasserstein functions were approximated with very simple nonlinear functions, and it is possible better results would be obtained using more sophisticated functions capturing the Wasserstein distance and its gradients more accurately. Similarly, The transformations $A _ { d }$ could be generalized from affine to a more general class of functions. As in Shaham et al. (2017), we expect residual networks would make natural candidates for these transformations.
259
+
260
+ One possibility is to fine-tune the Deep Metric Network used to generate the embeddings instead of training a separate network on its outputs (or perhaps several such networks for the separate image stains used).
261
+
262
+ Another issue is how to weigh the various Wasserstein distances against each other. This might improve the results if there are many more points from some distributions than others (which happens in the real data). Further, it is unclear how a regularization term should be weighed against the Wasserstein loss terms.
263
+
264
+ Another extension may involve applying our method hierarchically on the various domains of the experiment. However, this would require replicates on multiple hierarchical levels.
265
+
266
+ Since the $\mathbf { k }$ -NN MOA assignment metric is based on the cosine distance, it is possible better results could be obtained by modifying the metric used to compute the Wasserstein distance accordingly, e.g. finding an optimal transportation plan only in non-radial directions.
267
+
268
+ # ACKNOWLEDGMENTS
269
+
270
+ We would like to thank Mike Ando, Marc Coram, Marc Berndl, Subhashini Venugopalan, Arunachalam Narayanaswamy, Yaroslav Ganin, Luke Metz, Eric Christiansen, Philip Nelson, and Patrick Riley for useful discussions and suggestions.
271
+
272
+ ![](images/80fba2121bea1fff9f863e78179da06630081b6b302b8144e156ae85bbbf7edc.jpg)
273
+ (a) No regularization term (i.e. $\lambda = 0$ ). This is the training routine that was used together with early stopping.
274
+
275
+ ![](images/326d56c86f52e5b507f391eb24ec090e13b36273b42464a4ef74631639d18720.jpg)
276
+ (b) Learning curve for $\lambda = 4 0$ .
277
+
278
+ ![](images/a5094c4fd359c77c077a3c6ec7d24d22b0bd70c4ba03c095f6546a43225eb5ad.jpg)
279
+ (c) Learning curve for $\lambda = 8 0$
280
+
281
+ ![](images/ef3fd015f2cd8e771aa96c5ed541a7e04d5e91c16db19f17bb91460c90f28c08.jpg)
282
+ (d) Learning curve for $\lambda = 1 6 0$ .
283
+ Figure 4: Sample learning curves for WDN with regularization term for $\lambda ~ = ~ \lambda _ { M } ~ = ~ \lambda _ { b } ~ =$ 0, 40, 80, 160. The Wasserstein loss and the gradient penalty term as a function of the number of time steps trained on BBBC021 image dataset, after the Wasserstein parameters have been pretrained for 20000 steps. The larger the regularization weight, the further the point of convergence is from zero.
284
+
285
+ # B DOSAGE RESPONSE PLOTS
286
+
287
+ ![](images/4c03780bbec72fb53229c76a374dd743917d50e30a4e625a246b0a2ebfddb2b4.jpg)
288
+ (d) Dosage response plots for $\mathrm { T V N } + \mathrm { W D N }$ with regularization term for $\lambda = \lambda _ { M } = \lambda _ { b } = 8 0$
289
+ Figure 5: Dosage response curves for each compound, as evaluated by the natural logarithm of the Euclidean distance of the embeddings from the origin (i.e. the center of the negative control). These plots show that WDN better preserves the geometry of the embedding space than CORAL, where the latter can magnify the scale of the response. WDN regularized by early stopping and a regularization term both slightly alter the embeddings.
290
+
291
+ # C COMPOUND SIMILARITY MATRIX
292
+
293
+ ![](images/a1227fdc278104a05358696ef1f8204cb933a05175373e04aaa3359428ea1f4a.jpg)
294
+ Figure 6: A heatmap showing the cosine similarity matrix between pairs of treatments for the TVN embeddings. Same-MOA compounds are grouped together, and the blue lines show distinctions between different MOAs. The block diagonal terms correspond to the similarity matrices for sameMOA compounds. This plot shows how same-MOA compounds tend to be more closely clustered together in the embedding space.
295
+
296
+ # REFERENCES
297
+
298
+ Ethan Anderes, Steffen Borgwardt, and Jacob Miller. Discrete wasserstein barycenters: optimal transport for discrete data. Mathematical Methods of Operations Research, 84(2):389–409, 2016.
299
+
300
+ D Michael Ando, Cory McLean, and Marc Berndl. Improving phenotypic measurements in highcontent imaging screens. bioRxiv, pp. 161422, 2017.
301
+
302
+ Martin Arjovsky, Soumith Chintala, and Leon Bottou. Wasserstein gan. ´ arXiv preprint arXiv:1701.07875, 2017.
303
+
304
+ Marc G Bellemare, Ivo Danihelka, Will Dabney, Shakir Mohamed, Balaji Lakshminarayanan, Stephan Hoyer, and Remi Munos. The cramer distance as a solution to biased wasserstein gradi-´ ents. arXiv preprint arXiv:1705.10743, 2017.
305
+
306
+ Peter D Caie, Rebecca E Walls, Alexandra Ingleston-Orme, Sandeep Daya, Tom Houslay, Rob Eagle, Mark E Roberts, and Neil O Carragher. High-content phenotypic profiling of drug response signatures across distinct cancer cells. Molecular cancer therapeutics, 9(6):1913–1926, 2010.
307
+
308
+ Marco Cuturi and Arnaud Doucet. Fast computation of wasserstein barycenters. In International Conference on Machine Learning, pp. 685–693, 2014.
309
+
310
+ Yaroslav Ganin and Victor Lempitsky. Unsupervised domain adaptation by backpropagation. In International Conference on Machine Learning, pp. 1180–1189, 2015.
311
+
312
+ William J Godinez, Imtiaz Hossain, Stanley E Lazic, John W Davies, and Xian Zhang. A multi-scale convolutional neural network for phenotyping high-content cellular images. Bioinformatics, pp. btx069, 2017.
313
+
314
+ Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron Courville. Improved training of wasserstein gans. arXiv preprint arXiv:1704.00028, 2017.
315
+
316
+ Vebjorn Ljosa, Katherine L Sokolnicki, and Anne E Carpenter. Annotated high-throughput microscopy image sets for validation. Nature methods, 9(7):637–637, 2012.
317
+
318
+ Vebjorn Ljosa, Peter D Caie, Rob Ter Horst, Katherine L Sokolnicki, Emma L Jenkins, Sandeep Daya, Mark E Roberts, Thouis R Jones, Shantanu Singh, Auguste Genovesio, et al. Comparison of methods for image-based profiling of cellular morphological responses to small-molecule treatment. Journal of biomolecular screening, 18(10):1321–1329, 2013.
319
+
320
+ Peter J Rousseeuw. Silhouettes: a graphical aid to the interpretation and validation of cluster analysis. Journal of computational and applied mathematics, 20:53–65, 1987.
321
+
322
+ Uri Shaham, Kelly P Stanton, Jun Zhao, Huamin Li, Khadir Raddassi, Ruth Montgomery, and Yuval Kluger. Removal of batch effects using distribution-matching residual networks. Bioinformatics, pp. btx196, 2017.
323
+
324
+ Jian Shen, Yanru Qu, Weinan Zhang, and Yong Yu. Adversarial representation learning for domain adaptation. arXiv preprint arXiv:1707.01217, 2017.
325
+
326
+ Baochen Sun, Jiashi Feng, and Kate Saenko. Correlation alignment for unsupervised domain adaptation. In Domain Adaptation in Computer Vision Applications, pp. 153–171. Springer, 2017.
327
+
328
+ Esteban G Tabak and Giulio Trigila. Explanation of variability and removal of confounding factors from data through optimal transport. Communications on Pure and Applied Mathematics, 71(1): 163–199, 2018.
329
+
330
+ Jiang Wang, Yang Song, Thomas Leung, Chuck Rosenberg, Jingbin Wang, James Philbin, Bo Chen, and Ying Wu. Learning fine-grained image similarity with deep ranking. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1386–1393, 2014.
parse/train/H18uzzWAZ/H18uzzWAZ_content_list.json ADDED
@@ -0,0 +1,1759 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "CORRECTING NUISANCE VARIATION USING WASSERSTEIN DISTANCE ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 98,
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": "Profiling cellular phenotypes from microscopic imaging can provide meaningful biological information resulting from various factors affecting the cells. One motivating application is drug development: morphological cell features can be captured from images, from which similarities between different drugs applied at different dosages can be quantified. The general approach is to find a function mapping the images to an embedding space of manageable dimensionality whose geometry captures relevant features of the input images. An important known issue for such methods is separating relevant biological signal from nuisance variation. For example, the embedding vectors tend to be more correlated for cells that were cultured and imaged during the same week than for cells from a different week, despite having identical drug compounds applied in both cases. In this case, the particular batch a set of experiments were conducted in constitutes the domain of the data; an ideal set of image embeddings should contain only the relevant biological information (e.g. drug effects). We develop a general framework for adjusting the image embeddings in order to ‘forget’ domain-specific information while preserving relevant biological information. To do this, we minimize a loss function based on distances between marginal distributions (such as the Wasserstein distance) of embeddings across domains for each replicated treatment. For the dataset presented, the replicated treatment is the negative control. We find that for our transformed embeddings (1) the underlying geometric structure is not only preserved but the embeddings also carry improved biological signal (2) less domain-specific information is present. ",
40
+ "bbox": [
41
+ 233,
42
+ 267,
43
+ 764,
44
+ 571
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 599,
55
+ 336,
56
+ 614
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "In the framework where our approach is applicable, there are some inputs (e.g. images) and a map $\\mathcal { F }$ sending the inputs to vectors in a low-dimensional space which summarizes information about the inputs. $\\mathcal { F }$ could either be engineered using specific image features, or learned (e.g. using deep neural networks). We will call these vectors ‘embeddings’ and the space to which they belong the ‘embedding space’. Each input may also have corresponding semantic labels and domains, and for inputs with each label and domain pair, $\\mathcal { F }$ produces some distribution of embeddings. Semantically meaningful similarities between pairs of inputs can then be assessed by the distance between their corresponding embeddings, using some chosen distance metric. Ideally, the embedding distribution of a group of inputs depends only on their label, but often the domain can influence the embedding distribution as well. We wish to find an additional map to adjust the embeddings produced by $\\mathcal { F }$ so that the distribution of adjusted embeddings for a given label is independent of the domain, while still preserving semantically meaningful distances between distributions of inputs with different labels. ",
63
+ "bbox": [
64
+ 174,
65
+ 631,
66
+ 825,
67
+ 797
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "The map $\\mathcal { F }$ can be used for phenotypic profiling of cells. In this application, images of biological cells perturbed by one of several possible biological stimuli (e.g. various drug compounds at different doses, some of which may have unknown effects) are mapped to embeddings, which are used to reveal similarities among the applied perturbations. ",
74
+ "bbox": [
75
+ 174,
76
+ 805,
77
+ 823,
78
+ 861
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "There are a number of ways to extract embeddings from images of cells. One class of methods such as that used by Ljosa et al. (2013) relies on extracting specifically engineered features. In the recent work by Ando et al. (2017), a Deep Metric Network pre-trained on consumer photographic images (not microscope images of cells) described in Wang et al. (2014) was used to generate embedding vectors from cellular images, and it was shown that these clustered drug compounds by their mechanisms of action (MOA) more effectively. See Figure 1 for example images of the different MOAs. ",
85
+ "bbox": [
86
+ 174,
87
+ 867,
88
+ 823,
89
+ 924
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "",
96
+ "bbox": [
97
+ 173,
98
+ 103,
99
+ 821,
100
+ 132
101
+ ],
102
+ "page_idx": 1
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "Currently one of the most important issues with using image embeddings to discriminate the effects of each treatment (i.e. a particular dose of a drug, the ‘label’ in the general problem described above) on morphological cell features is nuisance factors related to slight uncontrollable variations in each biological experiment. Many cell imaging experiments are organized into a number of batches of experiments occurring over time, each of which contains a number of sample plates (typically 3-6), each of which contains individual wells in which thousands of cells are grown and treatments are applied (typically around 96 wells per plate). For this application, the ‘domain’ is an instance of one of these hierarchical levels, and embeddings for cells with a given treatment tend to be closer to each other within the same domain than from a different one. For example, the experimentalist may apply slightly different concentrations or amounts of a drug compound in two wells in which the same treatment was anticipated. Another example is the location of a particular well within a plate or the order of the plate within a batch, which may influence the rate of evaporation, and hence, the appearance of the cells. Finally, ‘batch’ effects may result from differences in experiment conditions (temperature, humidity) from week to week; they are various instances of this hierarchical level that we will consider as ‘domains’ in this work. ",
107
+ "bbox": [
108
+ 174,
109
+ 138,
110
+ 825,
111
+ 347
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "Our approach addresses the issue of nuisance variation in embeddings by transforming the embedding space in a possibly domain-specific way in order to minimize the variation across domains for a given treatment. We remark that our main goal is to introduce a general flexible framework to address this problem. In this framework, we use a metric function measuring the distances among pairs of probability distributions to construct an optimization problem whose solution yields appropriate transformations on each domain. In our present implementation, the Wasserstein distance is used as a demonstration of a specific choice of the metric that can yield substantial improvements. The Wasserstein distance makes few assumptions about the probability distributions of the embedding vectors. ",
118
+ "bbox": [
119
+ 174,
120
+ 354,
121
+ 825,
122
+ 479
123
+ ],
124
+ "page_idx": 1
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "Our approach is fundamentally different than those which explicitly identify a fixed ‘target’ and ‘source’ distributions. Instead, we incorporate information from all domains on an equal footing, transforming all the embeddings. This potentially allows our method to incorporate several replicates of a treatment across different domains to learn the transformations, and not only the controls. We highlight that other distances may be used in our framework, such as the Cramer distance. This may be preferable since the Cramer distance has unbiased sample gradients (Bellemare et al., 2017). This could reduce the number of steps required to adjust the Wasserstein distance approximation for each step of training the embedding transformation. Additionally we propose several other extensions and variations in Section 4.1. ",
129
+ "bbox": [
130
+ 174,
131
+ 486,
132
+ 825,
133
+ 611
134
+ ],
135
+ "page_idx": 1
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "2 METHOD ",
140
+ "text_level": 1,
141
+ "bbox": [
142
+ 174,
143
+ 672,
144
+ 281,
145
+ 688
146
+ ],
147
+ "page_idx": 1
148
+ },
149
+ {
150
+ "type": "text",
151
+ "text": "2.1 PROBLEM DESCRIPTION ",
152
+ "text_level": 1,
153
+ "bbox": [
154
+ 176,
155
+ 728,
156
+ 380,
157
+ 742
158
+ ],
159
+ "page_idx": 1
160
+ },
161
+ {
162
+ "type": "text",
163
+ "text": "Denote the embedding vectors $x _ { t , d , p }$ for $t \\in T$ , $d \\in D$ , and $p \\in I _ { t , d }$ , where $T$ and $D$ are the treatment and domain labels respectively, and $I _ { t , d }$ is the set of indices for embeddings belonging to treatment $t$ and domain $d$ . Suppose that $x _ { t , d , p }$ were sampled from a probability distribution $\\nu _ { t , d }$ . our goal is to ‘forget’ the nuisance variation in the embeddings, which we formalize in the following way. We wish to find maps $A _ { d }$ transforming the embedding vectors such that the transformed marginals $\\tilde { \\nu } _ { t , d }$ have the property that for each $t \\in T$ and $d _ { i } , d _ { j } \\in D$ , $\\tilde { \\nu } _ { t , d _ { i } } \\approx \\tilde { \\nu } _ { t , d _ { j } }$ (for some suitable metric between distributions). Intuitively, the transformations $A _ { d }$ can be thought of as correcting a domainspecific perturbation. We do not have ‘source’ and ‘target’ distributions, and instead perturb all the embedding distributions simultaneously. The transformations $A _ { d }$ should be small to avoid distorting the underlying geometry of the embedding space, since we do not expect nuisance variation to be very large. ",
164
+ "bbox": [
165
+ 174,
166
+ 770,
167
+ 825,
168
+ 924
169
+ ],
170
+ "page_idx": 1
171
+ },
172
+ {
173
+ "type": "text",
174
+ "text": "The 1-Wasserstein distance (hereafter will be simply referred to as the Wasserstein distance) between two probability distributions $\\nu _ { r }$ and $\\nu _ { g }$ on a compact metric space $\\chi$ with metric $\\delta$ is given by ",
175
+ "bbox": [
176
+ 169,
177
+ 128,
178
+ 823,
179
+ 159
180
+ ],
181
+ "page_idx": 2
182
+ },
183
+ {
184
+ "type": "equation",
185
+ "img_path": "images/a0c72e1ced19d8f6e574e90a4a104a5763f6595c38009a971de6db251cc6ad52.jpg",
186
+ "text": "$$\nW ( \\nu _ { r } , \\nu _ { g } ) = \\operatorname* { i n f } _ { \\gamma \\in \\Pi ( \\nu _ { r } , \\nu _ { g } ) } E _ { ( x , y ) \\sim \\gamma } \\delta ( x , y ) .\n$$",
187
+ "text_format": "latex",
188
+ "bbox": [
189
+ 362,
190
+ 165,
191
+ 635,
192
+ 190
193
+ ],
194
+ "page_idx": 2
195
+ },
196
+ {
197
+ "type": "text",
198
+ "text": "Here $\\Pi ( \\nu _ { r } , \\nu _ { g } )$ is the set of all joint distributions $\\gamma ( x , y )$ whose marginals are $\\nu _ { r }$ and $\\nu _ { g }$ . This can be intuitively interpreted as the minimal cost of a transportation plan between the probability masses of $\\nu _ { r }$ and $\\nu _ { g }$ . In our application, the metric space was $\\mathbb { R } ^ { n }$ and $\\delta$ was the Euclidean metric. If the Wasserstein distance between two distributions is zero, then it becomes impossible to discern the origin of a sample from one of these two distributions. In addition, the Wasserstein distance (as well as other related metrics for probability distributions) are more appropriate to use than classifiers. This is because classifiers are more sensitive to the distinguishability between probability distributions than other potentially meaningful features. For instance, two otherwise identical Gaussian distributions displaced from one another would have Wasserstein distance equal to the displacement between them. On the contrary, a classifier would yield a function that has vanishing gradients for sufficiently large displacement. ",
199
+ "bbox": [
200
+ 173,
201
+ 198,
202
+ 825,
203
+ 352
204
+ ],
205
+ "page_idx": 2
206
+ },
207
+ {
208
+ "type": "text",
209
+ "text": "Given two or more probability distributions, their mean can be defined under the Wasserstein distance, known as the ‘Wasserstein barycenter’. Explicitly, the Wasserstein barycenter of $N$ distributions $\\nu _ { 1 } , . . . , \\nu _ { N }$ is defined as the distribution $\\mu$ that minimizes ",
210
+ "bbox": [
211
+ 174,
212
+ 358,
213
+ 823,
214
+ 401
215
+ ],
216
+ "page_idx": 2
217
+ },
218
+ {
219
+ "type": "equation",
220
+ "img_path": "images/3142cf59072ff18a3ed6de244dba9324ffeae874ebf314b14a8927642bd521a8.jpg",
221
+ "text": "$$\n\\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } W ( \\mu , \\nu _ { i } ) .\n$$",
222
+ "text_format": "latex",
223
+ "bbox": [
224
+ 441,
225
+ 406,
226
+ 557,
227
+ 452
228
+ ],
229
+ "page_idx": 2
230
+ },
231
+ {
232
+ "type": "text",
233
+ "text": "The Wasserstein barycenter and its computation have been studied in many contexts, such as optimal transport theory (Cuturi $\\&$ Doucet, 2014; Anderes et al., 2016). In Tabak & Trigila (2018), the Wasserstein barycenter has been suggested as a method to remove nuisance variation in highthroughput biological experiments. Two key ingredients of the Wasserstein barycenter are that (i) the nuisance variation is removed in the sense that a number of distinct distributions are transformed into a common distribution, and hence become indistinguishable; and (ii) the distributions are minimally perturbed by the transformtions. ",
234
+ "bbox": [
235
+ 173,
236
+ 457,
237
+ 825,
238
+ 554
239
+ ],
240
+ "page_idx": 2
241
+ },
242
+ {
243
+ "type": "text",
244
+ "text": "Our method is based on these two requirements, where a separate map is associated with each domain. For each treatment, the average Wasserstein distance among all pairs of transformed distributions across domains is included in the loss function. Specifically, the average Wasserstein distance is formulated as ",
245
+ "bbox": [
246
+ 174,
247
+ 560,
248
+ 825,
249
+ 617
250
+ ],
251
+ "page_idx": 2
252
+ },
253
+ {
254
+ "type": "equation",
255
+ "img_path": "images/61de763aa0db7a24104618f303928207ef615f02c5bd9d448c154e6fd9d82142.jpg",
256
+ "text": "$$\n\\frac { 2 } { N ( N - 1 ) } \\sum _ { i , j = 1 , i < j } ^ { N } W ( A _ { d _ { i } } ( \\nu _ { i } ) , A _ { d _ { j } } ( \\nu _ { j } ) ) ,\n$$",
257
+ "text_format": "latex",
258
+ "bbox": [
259
+ 356,
260
+ 621,
261
+ 642,
262
+ 666
263
+ ],
264
+ "page_idx": 2
265
+ },
266
+ {
267
+ "type": "text",
268
+ "text": "where the coefficient is the normalizing constant. When multiple treatments are considered, the same number of average Wasserstein distances corresponding to the treatments are included in the loss function. Thus, (i) is achieved by minimizing a loss function containing pairwise Wasserstein distances. Compared with the ResNet used in Shaham et al. (2017), we achieve (ii) by early stopping or adding a regularization term to the loss function. In Section 4.1, we will present another possible formulation that aligns more closely with the idea of the Wasserstein barycenter. ",
269
+ "bbox": [
270
+ 174,
271
+ 672,
272
+ 825,
273
+ 757
274
+ ],
275
+ "page_idx": 2
276
+ },
277
+ {
278
+ "type": "text",
279
+ "text": "One distinct advantage of the Wasserstein distance is that this metric avoids problematic vanishing gradients during training, which are known to occur for metrics based on the KL-divergence, such as the cross entropy (Arjovsky et al., 2017). This is important from a practical point of view because vanishing gradients may halt the solving of the resulting minimax problem in our method. ",
280
+ "bbox": [
281
+ 174,
282
+ 762,
283
+ 825,
284
+ 820
285
+ ],
286
+ "page_idx": 2
287
+ },
288
+ {
289
+ "type": "text",
290
+ "text": "The Wasserstein distance does not have a closed form except for a few special cases, and must be approximated in some way. The Wasserstein distance is closely related to the maximum mean discrepancy (MMD) approximated in Shaham et al. (2017) using an empirical estimator based on the kernel method. This method requires selecting a kernel and relevant parameters. In our application, we do not have a fixed ‘target’ distribution, so the kernel parameters would have to be updated during training. We choose instead to use a method based on the ideas in Arjovsky et al. (2017) and Gulrajani et al. (2017) to train a neural network to estimate the Wasserstein distance. A similar approach has been proposed in Shen et al. (2017) for domain adaptation. To do this, first apply the Kantorovich-Rubinstein duality: ",
291
+ "bbox": [
292
+ 173,
293
+ 825,
294
+ 825,
295
+ 924
296
+ ],
297
+ "page_idx": 2
298
+ },
299
+ {
300
+ "type": "text",
301
+ "text": "",
302
+ "bbox": [
303
+ 171,
304
+ 103,
305
+ 823,
306
+ 132
307
+ ],
308
+ "page_idx": 3
309
+ },
310
+ {
311
+ "type": "equation",
312
+ "img_path": "images/a164d0616b7c81c1972737029f8e90cbbc36e44fe83acacaad4f0ab3fa6e06fa.jpg",
313
+ "text": "$$\nW ( \\nu _ { r } , \\nu _ { g } ) = \\operatorname* { s u p } _ { \\| f \\| _ { L } \\leq 1 } E _ { x \\sim \\nu _ { r } } \\left[ f ( x ) \\right] - E _ { x \\sim \\nu _ { g } } \\left[ f ( x ) \\right] .\n$$",
314
+ "text_format": "latex",
315
+ "bbox": [
316
+ 325,
317
+ 138,
318
+ 671,
319
+ 167
320
+ ],
321
+ "page_idx": 3
322
+ },
323
+ {
324
+ "type": "text",
325
+ "text": "Here, $\\nu _ { r }$ and $\\nu _ { g }$ are two probability distributions. The function $f$ is in the space of Lipschitz functions with Lipschitz constant at most 1. To estimate the Wasserstein distance, a function $f$ can be optimized while keeping the norm of its gradient to be less than one. We will call $f$ the ‘Wasserstein function’ throughout this manuscript. ",
326
+ "bbox": [
327
+ 173,
328
+ 174,
329
+ 825,
330
+ 231
331
+ ],
332
+ "page_idx": 3
333
+ },
334
+ {
335
+ "type": "text",
336
+ "text": "2.3 NETWORK ARCHITECTURE ",
337
+ "text_level": 1,
338
+ "bbox": [
339
+ 176,
340
+ 247,
341
+ 403,
342
+ 262
343
+ ],
344
+ "page_idx": 3
345
+ },
346
+ {
347
+ "type": "text",
348
+ "text": "2.3.1 DOMAIN-SPECIFIC TRANSFORMATION",
349
+ "text_level": 1,
350
+ "bbox": [
351
+ 176,
352
+ 273,
353
+ 493,
354
+ 289
355
+ ],
356
+ "page_idx": 3
357
+ },
358
+ {
359
+ "type": "text",
360
+ "text": "As a preprocessing step, we transform the embeddings for the dataset of interest such that the embeddings for the negative controls have mean zero and an identity covariance matrix (see Section 3.1 for details). We observe that the embeddings for wells corresponding to different dosages of each compound are all shifted away from the origin in roughly the same direction by an amount that generally increases with dosage. The variances of embeddings along the largest principal axes also increase in a manner consistent with the drugs inducing an affine transformation of the embeddings. ",
361
+ "bbox": [
362
+ 173,
363
+ 297,
364
+ 825,
365
+ 383
366
+ ],
367
+ "page_idx": 3
368
+ },
369
+ {
370
+ "type": "text",
371
+ "text": "Given these observations, we choose to model the impact of nuisance variation by affine transformations, the intuition being that we can treat nuisance variations as small, random, drug-like perturbations resulting from unobserved covariates. It is worth mentioning that we do not expect this assumption to hold generally. ",
372
+ "bbox": [
373
+ 173,
374
+ 388,
375
+ 825,
376
+ 445
377
+ ],
378
+ "page_idx": 3
379
+ },
380
+ {
381
+ "type": "text",
382
+ "text": "In the current implementation, the domain-specific transformations $A _ { d }$ map input embeddings to transformed embeddings of the same dimension. Each $A _ { d }$ is formulated as an affine transformation $A _ { d } ( x ) = M _ { d } x + b _ { d }$ . ",
383
+ "bbox": [
384
+ 176,
385
+ 452,
386
+ 823,
387
+ 494
388
+ ],
389
+ "page_idx": 3
390
+ },
391
+ {
392
+ "type": "text",
393
+ "text": "2.3.2 LOSS FUNCTION ",
394
+ "text_level": 1,
395
+ "bbox": [
396
+ 174,
397
+ 510,
398
+ 344,
399
+ 525
400
+ ],
401
+ "page_idx": 3
402
+ },
403
+ {
404
+ "type": "text",
405
+ "text": "Collectively denote the parameters for the transformations $A _ { d }$ by $\\theta _ { \\mathrm { T } }$ . If a particular treatment $t$ is replicated across two or more domains $d _ { 1 } , d _ { 2 } , . . . , d _ { k }$ , the Wasserstein distances among the transformed distributions are estimated for all same-treatment domain pairs. Notice the parameters for estimating the Wasserstein distance for each $t$ and pair $d _ { i } , d _ { j }$ are different. Collectively denote all Wasserstein estimation parameters by $\\theta _ { \\mathrm { { W } } }$ . We consider the loss function ",
406
+ "bbox": [
407
+ 176,
408
+ 534,
409
+ 825,
410
+ 606
411
+ ],
412
+ "page_idx": 3
413
+ },
414
+ {
415
+ "type": "equation",
416
+ "img_path": "images/aebdcbd83a10e84cfc7c5a1dffbcb59a8f99f94eb651dc8467cc09ca0e17404d.jpg",
417
+ "text": "$$\nL ( \\theta _ { \\mathrm { T } } , \\theta _ { \\mathrm { W } } ) = \\frac { 1 } { | T | } \\sum _ { t \\in T } \\frac { 2 } { M _ { t } ( M _ { t } - 1 ) } \\sum _ { \\substack { d _ { i } , d _ { j } \\in D , i \\neq j } } \\left[ W _ { t , d _ { i } , d _ { j } } ( \\theta _ { \\mathrm { T } } , \\theta _ { \\mathrm { W } } ) - g _ { t , d _ { i } , d _ { j } } ( \\theta _ { \\mathrm { T } } , \\theta _ { \\mathrm { W } } ) \\right] + R ( \\theta _ { \\mathrm { T } } ) .\n$$",
418
+ "text_format": "latex",
419
+ "bbox": [
420
+ 187,
421
+ 611,
422
+ 808,
423
+ 651
424
+ ],
425
+ "page_idx": 3
426
+ },
427
+ {
428
+ "type": "text",
429
+ "text": "In (eq. 5), $W _ { t , d _ { i } , d _ { j } } ( \\theta _ { \\mathrm { { T } } } , \\theta _ { \\mathrm { { W } } } ) - g _ { t , d _ { i } , d _ { j } } ( \\theta _ { \\mathrm { { T } } } , \\theta _ { \\mathrm { { W } } } )$ is a penalized approximation to the Wasserstein distance between domains $d _ { i }$ and $d _ { j }$ , the function $R ( \\theta _ { \\mathrm { T } } )$ is a regularization term for the learned transformation whose purpose is to preserve the geometry of the original embeddings, $M _ { t }$ denotes the number of domains in which treatment $t$ appears, and $| \\cdot |$ represents the cardinality of a set. ",
430
+ "bbox": [
431
+ 174,
432
+ 672,
433
+ 825,
434
+ 731
435
+ ],
436
+ "page_idx": 3
437
+ },
438
+ {
439
+ "type": "text",
440
+ "text": "In this paper, we explore either (i) neglecting $R$ entirely and relying on early stopping instead, and (ii) specifying $R$ as described below and in (eq. 6). Using one of these methods is necessary since otherwise optimizing $L$ may result in embeddings which contain no treatment information (for example, if all embeddings are transformed to a single point). ",
441
+ "bbox": [
442
+ 174,
443
+ 737,
444
+ 825,
445
+ 794
446
+ ],
447
+ "page_idx": 3
448
+ },
449
+ {
450
+ "type": "text",
451
+ "text": "There may be many possible forms for $R$ , and these could involve multiple parameter choices for different components of the transformation that $\\theta _ { \\textup T }$ determines. In our case, $\\theta _ { \\textup T }$ parameterizes an affine transformation, and hence we choose ",
452
+ "bbox": [
453
+ 174,
454
+ 799,
455
+ 825,
456
+ 842
457
+ ],
458
+ "page_idx": 3
459
+ },
460
+ {
461
+ "type": "equation",
462
+ "img_path": "images/4d21c3dec2bb72368b88e9eb796c93a60fda96b969eea861655178d20980f610.jpg",
463
+ "text": "$$\nR ( \\theta _ { \\mathrm { T } } ) = \\frac { 1 } { | D | } \\sum _ { d } \\left( \\frac { 1 } { q } \\lambda _ { M } \\| M _ { d } \\| _ { F } ^ { 2 } + \\lambda _ { b } \\| b _ { d } \\| _ { 2 } ^ { 2 } \\right) ,\n$$",
464
+ "text_format": "latex",
465
+ "bbox": [
466
+ 341,
467
+ 848,
468
+ 655,
469
+ 887
470
+ ],
471
+ "page_idx": 3
472
+ },
473
+ {
474
+ "type": "text",
475
+ "text": "where $\\| \\cdot \\| _ { F }$ denotes the Frobenius norm, $\\| \\cdot \\| _ { 2 }$ denotes the $\\ell ^ { 2 }$ norm, and $q$ denotes the embedding dimensionality. Moreover, there are two regularization weights $\\lambda _ { M }$ and $\\lambda _ { b }$ . ",
476
+ "bbox": [
477
+ 178,
478
+ 895,
479
+ 823,
480
+ 924
481
+ ],
482
+ "page_idx": 3
483
+ },
484
+ {
485
+ "type": "text",
486
+ "text": "In (eq. 5), $W _ { t , d _ { i } , d _ { j } }$ is used to approximate the Wasserstein distance between the transformed embeddings of domains $d _ { i }$ and $d _ { j }$ for treatment $t$ upon optimization over $\\theta _ { \\mathrm { W } }$ . The Wasserstein distance is given by ",
487
+ "bbox": [
488
+ 173,
489
+ 103,
490
+ 823,
491
+ 147
492
+ ],
493
+ "page_idx": 4
494
+ },
495
+ {
496
+ "type": "equation",
497
+ "img_path": "images/e7f989631cf6c230980c743f87f9a00d180cd79d6c1d0e42d3c3f0d3e02c26ef.jpg",
498
+ "text": "$$\n\\begin{array} { r } { W _ { t , d _ { i } , d _ { j } } ( \\theta _ { \\mathrm { T } } , \\theta _ { \\mathrm { W } } ) = \\frac { 1 } { N } \\displaystyle \\sum _ { p \\in I _ { t , d _ { i } } } f _ { t , d _ { i } , d _ { j } } ( A _ { d _ { i } } ( x _ { t , d _ { i } , p } ; \\theta _ { \\mathrm { T } } ) ; \\theta _ { \\mathrm { W } } ) } \\\\ { - \\frac { 1 } { N } \\displaystyle \\sum _ { q \\in I _ { t , d _ { j } } } f _ { t , d _ { i } , d _ { j } } ( A _ { d _ { j } } ( x _ { t , d _ { j } , q } ; \\theta _ { \\mathrm { T } } ) ; \\theta _ { \\mathrm { W } } ) . } \\end{array}\n$$",
499
+ "text_format": "latex",
500
+ "bbox": [
501
+ 303,
502
+ 147,
503
+ 691,
504
+ 231
505
+ ],
506
+ "page_idx": 4
507
+ },
508
+ {
509
+ "type": "text",
510
+ "text": "Each Wasserstein function $f _ { t , d _ { i } , d _ { j } }$ in (eq. 7) depends on the parameters $\\theta _ { \\mathrm { { W } } }$ , while each transformation $A _ { d }$ depends on the parameters $\\theta _ { \\mathrm { T } }$ . For simplicity, we assume that $N = | I _ { t , d _ { i } } | = | I _ { t , d _ { j } } |$ , where $| \\cdot |$ represents the cardinality of a set. This is a reasonable assumption because in practice, the sets $I _ { t , d }$ are chosen as minibatches in stochastic gradient descent. Each of the terms $g _ { t , d _ { i } , d _ { j } }$ is a gradient penalty defined in (eq. 8-10). ",
511
+ "bbox": [
512
+ 173,
513
+ 233,
514
+ 825,
515
+ 304
516
+ ],
517
+ "page_idx": 4
518
+ },
519
+ {
520
+ "type": "text",
521
+ "text": "Each Wasserstein function should be Lipschitz with Lipschitz constant 1. For differentiable functions, this is equivalent to the norm being bounded by 1 everywhere. We use an approach based on Gulrajani et al. (2017) to impose a soft constraint on the norm of the gradient. In this approach, the hard constraint is replaced by a penalty, which is a function of the gradient of the Wasserstein function evaluated at some set of points. The penalty term is weighted by an additional parameter $\\gamma$ . We find that the value of $\\gamma = 1 0$ used in Gulrajani et al. (2017) works well in our application, and fix it throughout. We remark this is an appropriate choice since it is large enough so that the approximation error in the Wasserstein function is small, while not causing numerical difficulties in the optimization routine. Since it is impossible to check the gradient everywhere, we use the same strategy as Gulrajani et al. (2017): choose the intermediate points $\\epsilon A _ { d _ { i } } ( x _ { t , d _ { i } , p _ { k } } ; \\theta _ { \\mathrm { T } } ) + ( 1 - \\epsilon ) A _ { d _ { j } } ( x _ { t , d _ { j } , q _ { k } } ; \\theta _ { \\mathrm { T } } )$ randomly, where $\\epsilon \\in U [ 0 , 1 ]$ and $p _ { k }$ and $q _ { k }$ denote the $k _ { t h }$ element of $I _ { t , d _ { i } }$ and $I _ { t , d _ { j } }$ , respectively. Denote the set of intermediate points by $J _ { t , d _ { i } , d _ { j } }$ . Intuitively, the reason for sampling along these paths is that the Wasserstein function $f$ whose gradient must be constrained has the interpretation of characterizing the optimal transport between the two probability distributions, and therefore it is most important for the gradient constraint to hold in the intermediate region between the distributions. This is motivated more formally by Proposition 1 in Gulrajani et al. (2017), which shows that an optimal transport plan occurs along straight lines with gradient norm 1 connecting coupled points between the probability distributions. Unlike Gulrajani et al. (2017), we impose the gradient penalty only if the gradient norm is greater than 1. Doing so works better in practice for our application. ",
522
+ "bbox": [
523
+ 173,
524
+ 309,
525
+ 825,
526
+ 588
527
+ ],
528
+ "page_idx": 4
529
+ },
530
+ {
531
+ "type": "text",
532
+ "text": "Explicitly, we define each gradient penalty $g _ { t , d _ { i } , d _ { j } }$ as ",
533
+ "bbox": [
534
+ 174,
535
+ 594,
536
+ 522,
537
+ 609
538
+ ],
539
+ "page_idx": 4
540
+ },
541
+ {
542
+ "type": "equation",
543
+ "img_path": "images/bd5d4eee552dd46e9a389c19242fa1f0058324f9a786065cec9587e4722fce6f.jpg",
544
+ "text": "$$\ng _ { t , d _ { i } , d _ { j } } ( \\theta _ { \\mathrm { T } } , \\theta _ { \\mathrm { W } } ) = \\frac { 1 } { N } \\sum _ { z \\in J _ { t , d _ { i } , d _ { j } } } H _ { t , d _ { i } , d _ { j } } ( z ; \\theta _ { \\mathrm { W } } ) ,\n$$",
545
+ "text_format": "latex",
546
+ "bbox": [
547
+ 343,
548
+ 613,
549
+ 655,
550
+ 655
551
+ ],
552
+ "page_idx": 4
553
+ },
554
+ {
555
+ "type": "text",
556
+ "text": "where ",
557
+ "bbox": [
558
+ 174,
559
+ 657,
560
+ 217,
561
+ 671
562
+ ],
563
+ "page_idx": 4
564
+ },
565
+ {
566
+ "type": "equation",
567
+ "img_path": "images/2eb6a9c8fe19f6b119e0a513875c6f9a33e2b616ca531bb1a420bdb180332bcc.jpg",
568
+ "text": "$$\n\\begin{array} { r l } & { H _ { t , d _ { i } , d _ { j } } ( z ; \\theta _ { \\mathsf { W } } ) = \\left\\{ \\begin{array} { l l } { \\displaystyle { \\big ( G _ { t , d _ { i } , d _ { j } } ( z ; \\theta _ { \\mathsf { W } } ) - 1 \\big ) ^ { 2 } } } & { \\mathrm { ~ i f ~ } G _ { t , d _ { i } , d _ { j } } ( z ; \\theta _ { \\mathsf { W } } ) > 1 , } \\\\ { \\displaystyle { 0 } } & { \\mathrm { o t h e r w i s e } . } \\end{array} \\right. } \\\\ & { G _ { t , d _ { i } , d _ { j } } ( z ; \\theta _ { \\mathsf { W } } ) = \\| \\nabla _ { \\theta _ { \\mathsf { W } } } f _ { t , d _ { i } , d _ { j } } ( z ; \\theta _ { \\mathsf { W } } ) \\| _ { 2 } . } \\end{array}\n$$",
569
+ "text_format": "latex",
570
+ "bbox": [
571
+ 264,
572
+ 671,
573
+ 730,
574
+ 736
575
+ ],
576
+ "page_idx": 4
577
+ },
578
+ {
579
+ "type": "text",
580
+ "text": "To approximate the Wasserstein distance we must maximize over $\\theta _ { \\mathrm { W } }$ . Thus, our objective is to find ",
581
+ "bbox": [
582
+ 174,
583
+ 741,
584
+ 825,
585
+ 757
586
+ ],
587
+ "page_idx": 4
588
+ },
589
+ {
590
+ "type": "equation",
591
+ "img_path": "images/266c5a4e59e94f7b816023970464b7bd698e87d726a9ef0c47a2b26d837337ab.jpg",
592
+ "text": "$$\n\\begin{array} { r } { \\hat { \\theta } _ { \\mathrm { T } } , \\hat { \\theta } _ { \\mathrm { W } } = \\mathrm { a r g m i n } _ { \\theta _ { \\mathrm { T } } } \\mathrm { a r g m a x } _ { \\theta _ { \\mathrm { W } } } L ( \\theta _ { \\mathrm { T } } , \\theta _ { \\mathrm { W } } ) . } \\end{array}\n$$",
593
+ "text_format": "latex",
594
+ "bbox": [
595
+ 369,
596
+ 760,
597
+ 629,
598
+ 780
599
+ ],
600
+ "page_idx": 4
601
+ },
602
+ {
603
+ "type": "text",
604
+ "text": "We use the approach of Ganin $\\&$ Lempitsky (2015) to transform our minimax problem to a minimization problem by adding a ‘gradient reversal’ between the transformed embeddings and the approximated Wasserstein distances. The gradient reversal is the identity in the forward direction, but negates the gradients used for backpropagation. ",
605
+ "bbox": [
606
+ 173,
607
+ 789,
608
+ 825,
609
+ 845
610
+ ],
611
+ "page_idx": 4
612
+ },
613
+ {
614
+ "type": "text",
615
+ "text": "3 EMPIRICAL RESULTS ",
616
+ "text_level": 1,
617
+ "bbox": [
618
+ 176,
619
+ 864,
620
+ 382,
621
+ 881
622
+ ],
623
+ "page_idx": 4
624
+ },
625
+ {
626
+ "type": "text",
627
+ "text": "The embeddings under consideration are generated using the method described in Ando et al. (2017), and summarized in Section 3.1. ",
628
+ "bbox": [
629
+ 173,
630
+ 895,
631
+ 823,
632
+ 924
633
+ ],
634
+ "page_idx": 4
635
+ },
636
+ {
637
+ "type": "text",
638
+ "text": "3.1 DATASET AND PREPROCESSING ",
639
+ "text_level": 1,
640
+ "bbox": [
641
+ 176,
642
+ 103,
643
+ 433,
644
+ 117
645
+ ],
646
+ "page_idx": 5
647
+ },
648
+ {
649
+ "type": "text",
650
+ "text": "We use the image set BBBC021v1 (Caie et al., 2010) available from the Broad Bioimage Benchmark Collection (Ljosa et al., 2012). This dataset corresponds to cells prepared on 55 plates across 10 separate batches, and imaged in three color channels (i.e. stains); for a population of control cells, a compound (DMSO) with no anticipated drug effect was applied, while various other drug compounds were applied to the remaining cells. We compute the corresponding embeddings for each cell image using the method in Ando et al. (2017), summarized as follows. For a 128 by 128 pixel crop around each cell for each of the three color channels, a Deep Metric Network generates a 64-dimensional embedding vector. The three vectors corresponding to the three color channels are concatenated, forming a 192-dimensional embedding for each cell image. Using the embedding vectors for all cells, a Typical Variation Normalization (TVN) is applied in which the negative controls (i.e., DMSO) are whitened. Specifically, in the principal component analysis (PCA) basis of only negative control cells, an affine transformation is found so that the negative controls have mean zero and identity covariance matrix. The same transformation is then applied to the embeddings of all cells. Note that Ando et al. (2017) uses a different terminology, where TVN includes an additional transformation named CORAL, which will be presented and compared with in Section 3.4. ",
651
+ "bbox": [
652
+ 174,
653
+ 133,
654
+ 825,
655
+ 342
656
+ ],
657
+ "page_idx": 5
658
+ },
659
+ {
660
+ "type": "text",
661
+ "text": "We use the same subset of treatments (concentration of a particular compound) evaluated in Ljosa et al. (2013) and Ando et al. (2017). This subset has 103 treatments from 38 compounds, each belonging to one of 12 known mechanism of action (MOA) groups. Sample cell images from the 12 MOA groups are shown in Figure 1. In Figure 6, we show a heatmap of the cosine similarity matrix between pairs of the selected treatments for the TVN embeddings. This figure shows how embeddings of the same compound, and embeddings of the compounds with the same MOA have a tendency to cluster closer to each other in terms of the cosine distance. ",
662
+ "bbox": [
663
+ 173,
664
+ 348,
665
+ 825,
666
+ 445
667
+ ],
668
+ "page_idx": 5
669
+ },
670
+ {
671
+ "type": "image",
672
+ "img_path": "images/d1247c254531ea05e2262b9cb4b33cc9f85f265b89740d1ba969d4250e54b3ac.jpg",
673
+ "image_caption": [
674
+ "Figure 1: A flowchart describing the procedure we use to generate and remove nuisance variation from image embeddings. The embedding generation is described in Section 3.1 is characterized by $\\mathcal { F }$ , which maps each 128 by 128 color image into a 192-dimensional embedding vector. The nuisance variation removal by our method is denoted by WDN (Wasserstein Distance Network). The 12 images on the right side show representative images of cells treated with drug compounds with one of the 12 known mechanisms of action (MOA), from the BBBC021 dataset (Ljosa et al., 2012). "
675
+ ],
676
+ "image_footnote": [],
677
+ "bbox": [
678
+ 189,
679
+ 474,
680
+ 812,
681
+ 689
682
+ ],
683
+ "page_idx": 5
684
+ },
685
+ {
686
+ "type": "text",
687
+ "text": "3.2 EVALUATION METRICS ",
688
+ "text_level": 1,
689
+ "bbox": [
690
+ 176,
691
+ 852,
692
+ 375,
693
+ 866
694
+ ],
695
+ "page_idx": 5
696
+ },
697
+ {
698
+ "type": "text",
699
+ "text": "Our method is evaluated by three metrics, the first two of which measure how much biological signal is preserved in the transformed embeddings, and the last one of which measures how much nuisance variation has been removed. ",
700
+ "bbox": [
701
+ 176,
702
+ 882,
703
+ 823,
704
+ 922
705
+ ],
706
+ "page_idx": 5
707
+ },
708
+ {
709
+ "type": "text",
710
+ "text": "3.2.1 K-NEAREST NEIGHBOR MECHANISM OF ACTION ASSIGNMENT ",
711
+ "text_level": 1,
712
+ "bbox": [
713
+ 176,
714
+ 103,
715
+ 665,
716
+ 117
717
+ ],
718
+ "page_idx": 6
719
+ },
720
+ {
721
+ "type": "text",
722
+ "text": "Each compound in the BBBC021 dataset has a known MOA. A desirable property of embedding vectors is that compounds with the same MOA should group closely in the embedding space. This property can be assessed in the following way using the ground truth MOA labels for each treatment. ",
723
+ "bbox": [
724
+ 178,
725
+ 127,
726
+ 823,
727
+ 170
728
+ ],
729
+ "page_idx": 6
730
+ },
731
+ {
732
+ "type": "text",
733
+ "text": "First, compute the mean $m _ { X }$ of the embeddings for each treatment $X$ in each domain. Find the nearest $k$ neighbors $n _ { X , 1 } , n _ { X , 2 } , . . . , n _ { X , k }$ of $m _ { X }$ either (i) not belonging to the same compound or (ii) not belonging to the same compound or batch (domain), and compute the portion of them having the same MOA as $m _ { X }$ . Our metric is defined as the average of this quantity across all treatment instances $X$ in all domains. If nuisance variation is corrected by transforming the embeddings, we may expect this metric to increase. The reason for excluding same-domain nearest neighbors is to avoid the in-domain correlations from interfering with the metric. ",
734
+ "bbox": [
735
+ 174,
736
+ 176,
737
+ 825,
738
+ 275
739
+ ],
740
+ "page_idx": 6
741
+ },
742
+ {
743
+ "type": "text",
744
+ "text": "The nearest $k$ neighbors are found based on the cosine distance, which is more natural for the embedding space than the Euclidean distance, and can be directly compared with methods in existing literature. Moreover, our k-NN metrics are generalizations of the 1-NN metrics used in Ljosa et al. (2013) and Ando et al. (2017). ",
745
+ "bbox": [
746
+ 174,
747
+ 281,
748
+ 825,
749
+ 337
750
+ ],
751
+ "page_idx": 6
752
+ },
753
+ {
754
+ "type": "text",
755
+ "text": "3.2.2 SILHOUETTE INDEX ",
756
+ "text_level": 1,
757
+ "bbox": [
758
+ 176,
759
+ 353,
760
+ 367,
761
+ 367
762
+ ],
763
+ "page_idx": 6
764
+ },
765
+ {
766
+ "type": "text",
767
+ "text": "Cluster validation measures provide another way of characterizing how well compounds from the same MOA group together in embedding space. In our application, each ‘cluster’ is a chosen MOA containing a group of treatments, and each point in a cluster is the mean of embeddings for a particular treatment (i.e. compound and concentration) and domain. ",
768
+ "bbox": [
769
+ 173,
770
+ 377,
771
+ 825,
772
+ 433
773
+ ],
774
+ "page_idx": 6
775
+ },
776
+ {
777
+ "type": "text",
778
+ "text": "The Silhouette index is one such measure that compares each point’s distance from points in its own cluster to its distance from points in other clusters. It is defined as ",
779
+ "bbox": [
780
+ 174,
781
+ 440,
782
+ 823,
783
+ 468
784
+ ],
785
+ "page_idx": 6
786
+ },
787
+ {
788
+ "type": "equation",
789
+ "img_path": "images/2e2e92f2e9392ceeff3af3fd3e9c22c9bd923f911b2b9959910238690733e5b1.jpg",
790
+ "text": "$$\ns ( i ) = \\frac { b ( i ) - a ( i ) } { \\operatorname* { m a x } \\{ a ( i ) , b ( i ) \\} } ,\n$$",
791
+ "text_format": "latex",
792
+ "bbox": [
793
+ 415,
794
+ 474,
795
+ 581,
796
+ 510
797
+ ],
798
+ "page_idx": 6
799
+ },
800
+ {
801
+ "type": "text",
802
+ "text": "where $a ( i )$ is the average distance from point $i$ to all other points in its cluster, and $b ( i )$ is the minimum of all average distances from $i$ to all other clusters (i.e. the distance to the closest neighboring cluster) (Rousseeuw, 1987). The Silhouette index ranges between $^ { - 1 }$ and 1, with higher values indicating better clustering results. ",
803
+ "bbox": [
804
+ 174,
805
+ 516,
806
+ 825,
807
+ 571
808
+ ],
809
+ "page_idx": 6
810
+ },
811
+ {
812
+ "type": "text",
813
+ "text": "3.2.3 DOMAIN CLASSIFICATION ACCURACY PER TREATMENT ",
814
+ "text_level": 1,
815
+ "bbox": [
816
+ 174,
817
+ 587,
818
+ 616,
819
+ 602
820
+ ],
821
+ "page_idx": 6
822
+ },
823
+ {
824
+ "type": "text",
825
+ "text": "Another metric measures how well domain-specific nuisance information has been ‘forgotten’. To do this, for each treatment we train a classifier to predict for each embedding the batch (domain) from the set of possible batches (domains) for that treatment. We evaluate both a linear classifier (i.e. logistic regression) and a random forest with 3-fold cross validation. If nuisance variation is being corrected, the batch (domain) classification accuracy should decrease significantly. Because only the negative control (i.e., DMSO) has replicates across experiment batches in our dataset, we train and evaluate these two batch classifiers on this compound only. ",
826
+ "bbox": [
827
+ 174,
828
+ 612,
829
+ 825,
830
+ 709
831
+ ],
832
+ "page_idx": 6
833
+ },
834
+ {
835
+ "type": "text",
836
+ "text": "3.3 PROCEDURE ",
837
+ "text_level": 1,
838
+ "bbox": [
839
+ 176,
840
+ 727,
841
+ 302,
842
+ 741
843
+ ],
844
+ "page_idx": 6
845
+ },
846
+ {
847
+ "type": "text",
848
+ "text": "3.3.1 LEAVE-ONE-COMPOUND-OUT CROSS-VALIDATION",
849
+ "text_level": 1,
850
+ "bbox": [
851
+ 174,
852
+ 752,
853
+ 584,
854
+ 767
855
+ ],
856
+ "page_idx": 6
857
+ },
858
+ {
859
+ "type": "text",
860
+ "text": "For the model with either early stopping or a regularization term, the hyperparameters (i.e., the stopping time step or the regularization weights) can be selected by a cross-validation procedure to avoid overfitting (see Godinez et al. (2017) for an example). In particular, we apply this procedure to the case of early stopping. Each time, an individual compound is held out, and the stopping time step is determined by maximizing the average k-NN MOA assignment metric for $k = 1 , . . . , 4$ on the remaining compounds. Figure 2 illustrates the k-NN MOA assignment metrics as a function of time steps in the case when early stopping is used with compound mitoxantrone held out. ",
861
+ "bbox": [
862
+ 174,
863
+ 776,
864
+ 825,
865
+ 875
866
+ ],
867
+ "page_idx": 6
868
+ },
869
+ {
870
+ "type": "text",
871
+ "text": "For the embeddings transformed at the optimal time step, we evaluate the k-NN MOA assignment metrics for the held-out compound. The procedure is repeated for all the compounds, and the $\\mathbf { k }$ -NN MOA assignment metrics are aggregated across all the compounds. Intuitively, for each fold of this leave-one-compound-out cross-validation procedure, the held-out compound can be treated as a new compound with unknown MOA, and the hyperparameters are optimized over the compounds with known MOAs. In our case, we find that the optimal time step remains the same, i.e., 28000, regardless of the held-out compound. ",
872
+ "bbox": [
873
+ 176,
874
+ 882,
875
+ 823,
876
+ 924
877
+ ],
878
+ "page_idx": 6
879
+ },
880
+ {
881
+ "type": "text",
882
+ "text": "",
883
+ "bbox": [
884
+ 174,
885
+ 103,
886
+ 825,
887
+ 160
888
+ ],
889
+ "page_idx": 7
890
+ },
891
+ {
892
+ "type": "text",
893
+ "text": "3.3.2 STANDARD ERRORS OF THE METRICS ",
894
+ "text_level": 1,
895
+ "bbox": [
896
+ 176,
897
+ 176,
898
+ 490,
899
+ 191
900
+ ],
901
+ "page_idx": 7
902
+ },
903
+ {
904
+ "type": "text",
905
+ "text": "To assess whether the improvements in the $\\mathbf { k }$ -NN MOA assignment metric and the Silhouette index are statistically significant, we estimate the standard errors of the metrics using a nonparametric bootstrap method. Each time, the bootstrap samples are generated by sampling with replacement the embeddings preprocessed by TVN in each well, and the metrics are evaluated using the bootstrap samples. We repeat the procedure for 200 times, and obtain the standard errors of the 200 bootstrap estimates of the metrics, which are summarized in Tables 1 and 3. ",
906
+ "bbox": [
907
+ 174,
908
+ 202,
909
+ 825,
910
+ 285
911
+ ],
912
+ "page_idx": 7
913
+ },
914
+ {
915
+ "type": "text",
916
+ "text": "3.3.3 TRAINING PROCEDURE ",
917
+ "text_level": 1,
918
+ "bbox": [
919
+ 176,
920
+ 303,
921
+ 392,
922
+ 318
923
+ ],
924
+ "page_idx": 7
925
+ },
926
+ {
927
+ "type": "text",
928
+ "text": "The embedding transformations $A _ { d } ( x ) = M _ { d } x + b _ { d }$ are initialized to $M _ { d } = I$ , $b _ { d } = 0$ , since we wish for the learned transformations to be not too far from the identity transformation. ",
929
+ "bbox": [
930
+ 173,
931
+ 328,
932
+ 821,
933
+ 356
934
+ ],
935
+ "page_idx": 7
936
+ },
937
+ {
938
+ "type": "text",
939
+ "text": "To approximate each of the Wasserstein functions $f _ { t , d _ { i } , d _ { j } }$ in (eq. 7), we use a network consisting of softplus layer followed by a scalar-valued affine transformation. The softplus loss is chosen because the Wasserstein distance estimates it produces are less noisy than other kinds of losses and it avoids the issue of all neurons becoming deactivated (which can occur for example when using RELU activations). ",
940
+ "bbox": [
941
+ 174,
942
+ 363,
943
+ 825,
944
+ 433
945
+ ],
946
+ "page_idx": 7
947
+ },
948
+ {
949
+ "type": "text",
950
+ "text": "The dimension of the softplus layer used to approximate each Wasserstein function is 2. Optimization is done using stochastic gradient instead of the sums in (eq. 7). For simplicity, the minibatch size for each treatment per iteration step is fixed throughout. In the results presented, the minibatch size is 50. Optimization for both classes of parameters $\\theta _ { \\mathrm { T } }$ and $\\theta _ { \\mathrm { { W } } }$ is done using separate RMSProp optimizers. Prior to training $\\theta _ { \\textup T }$ , we use a ‘pre-training’ period of 20000 time steps to obtain a good approximation for the Wasserstein distances. After this, we alternate between adjusting $\\theta _ { \\mathrm { T } }$ for 40 time steps and optimizing over $\\theta _ { \\mathrm { { W } } }$ for a single time step. ",
951
+ "bbox": [
952
+ 174,
953
+ 440,
954
+ 825,
955
+ 537
956
+ ],
957
+ "page_idx": 7
958
+ },
959
+ {
960
+ "type": "text",
961
+ "text": "3.4 RESULTS ",
962
+ "text_level": 1,
963
+ "bbox": [
964
+ 176,
965
+ 556,
966
+ 277,
967
+ 570
968
+ ],
969
+ "page_idx": 7
970
+ },
971
+ {
972
+ "type": "text",
973
+ "text": "We compare our results to either using no transformation other than normalization (TVN) and CORAL. CORAL applies a domain-specific affine transformation to the embeddings represented as the rows of a matrix $X _ { d }$ from domain $d$ in the following way. On the negative controls only, the covariance matrix across the entire experiment $C$ as well as the covariance $C _ { d }$ in each domain $d$ are computed. Notice that since TVN had already been applied (see Section 3.1), $C = I$ . Then, all embedding coordinates in domain $d$ are aligned by matching the covariance structures. Alignment is done by computing the new embeddings $X _ { d } ^ { \\mathrm { a l i g n e d } } = X _ { d } \\bar { R } _ { d } ^ { - 1 / 2 } R ^ { 1 / 2 }$ . Here $R _ { d } = C _ { d } + \\eta I$ and $R = C + \\eta I$ are regularized covariance matrices, with the regularizer $\\eta = 1$ , which is the same as that in Ando et al. (2017). ",
974
+ "bbox": [
975
+ 174,
976
+ 583,
977
+ 825,
978
+ 712
979
+ ],
980
+ "page_idx": 7
981
+ },
982
+ {
983
+ "type": "text",
984
+ "text": "Other variations of the training procedure are discussed in Sections 3.4.3 and 3.5. ",
985
+ "bbox": [
986
+ 174,
987
+ 718,
988
+ 704,
989
+ 733
990
+ ],
991
+ "page_idx": 7
992
+ },
993
+ {
994
+ "type": "text",
995
+ "text": "3.4.1 VISUALIZATION OF RESULTS ",
996
+ "text_level": 1,
997
+ "bbox": [
998
+ 176,
999
+ 750,
1000
+ 429,
1001
+ 765
1002
+ ],
1003
+ "page_idx": 7
1004
+ },
1005
+ {
1006
+ "type": "text",
1007
+ "text": "Figure 3 shows the first two principal components of the embeddings transformed by WDN, compared with the embeddings preprocessed by TVN (see Section 3.1) and the embeddings generated by the CORAL method proposed in Sun et al. (2017) and applied by Ando et al. (2017). ",
1008
+ "bbox": [
1009
+ 174,
1010
+ 775,
1011
+ 825,
1012
+ 818
1013
+ ],
1014
+ "page_idx": 7
1015
+ },
1016
+ {
1017
+ "type": "text",
1018
+ "text": "Figure 5 shows the dosage response for each compound based on each set of transformed embeddings. WDN is seen to better preserve the geometry of the embeddings than CORAL. ",
1019
+ "bbox": [
1020
+ 173,
1021
+ 824,
1022
+ 821,
1023
+ 853
1024
+ ],
1025
+ "page_idx": 7
1026
+ },
1027
+ {
1028
+ "type": "text",
1029
+ "text": "3.4.2 METRICS ",
1030
+ "text_level": 1,
1031
+ "bbox": [
1032
+ 174,
1033
+ 871,
1034
+ 294,
1035
+ 885
1036
+ ],
1037
+ "page_idx": 7
1038
+ },
1039
+ {
1040
+ "type": "text",
1041
+ "text": "Table 1 shows the k-NN MOA assignment metrics of our transformed embeddings (early stopping and some particular choices of the regularization weights) compared to the original embeddings as well as the estimated standard errors. We also include the values of this metric for CORAL. We find that our WDN method performs better than CORAL in terms of the k-NN MOA assignment metrics. ",
1042
+ "bbox": [
1043
+ 174,
1044
+ 895,
1045
+ 823,
1046
+ 924
1047
+ ],
1048
+ "page_idx": 7
1049
+ },
1050
+ {
1051
+ "type": "text",
1052
+ "text": "",
1053
+ "bbox": [
1054
+ 173,
1055
+ 103,
1056
+ 823,
1057
+ 132
1058
+ ],
1059
+ "page_idx": 8
1060
+ },
1061
+ {
1062
+ "type": "text",
1063
+ "text": "Finally, Table 2 compares the average batch classification accuracy for a linear classifier (i.e., logistic regression) and a random forest classifier for the original TVN embeddings, WDN embeddings (early stopping and some particular choices of the regularization weights), CORAL embeddings, and for reference, a trivial transformation for which all embeddings are set to zero. For each run, given a classifier and a transformed set of embeddings, we compute the mean accuracy for that classifier using 3-fold cross validation. We see that the batch classification accuracy for the embeddings using our method is substantially smaller than that using TVN or CORAL, indicating our method is removing nuisance variation. ",
1064
+ "bbox": [
1065
+ 174,
1066
+ 138,
1067
+ 825,
1068
+ 250
1069
+ ],
1070
+ "page_idx": 8
1071
+ },
1072
+ {
1073
+ "type": "text",
1074
+ "text": "3.4.3 EARLY STOPPING VERSUS REGULARIZATION TERM",
1075
+ "text_level": 1,
1076
+ "bbox": [
1077
+ 174,
1078
+ 271,
1079
+ 584,
1080
+ 285
1081
+ ],
1082
+ "page_idx": 8
1083
+ },
1084
+ {
1085
+ "type": "text",
1086
+ "text": "We have tried regularizing the network either with a regularization term or early stopping. When using a regularization term, the loss function and the evaluation metrics converge for a chosen set of regularization weights. We present the resulting $\\mathrm { k }$ -NN MOA assignment metrics in Table 1 for several values of $\\lambda = \\lambda _ { M } = \\lambda _ { b }$ , as well as for the early stopping at the optimal time step 28000. We see that the smaller regularization $\\lambda = 4 0$ ) results in a greater removal of nuisance variation. However, removing more nuisance variation may be counterbalanced by also removing relevant biological signal, as suggested by the k-NN MOA assignment metrics in Table 1. In addition, using a non-optimal choice of the regularization weight may result in a lower Silhouette index, as shown in Table 3. ",
1087
+ "bbox": [
1088
+ 174,
1089
+ 296,
1090
+ 825,
1091
+ 422
1092
+ ],
1093
+ "page_idx": 8
1094
+ },
1095
+ {
1096
+ "type": "text",
1097
+ "text": "Each approach has advantages and disadvantages. Using early stopping is simpler and does not require a computationally intensive grid search over all parameters to obtain optimal results, but on the other hand this may be a limiting factor in performance because of the smaller selection of parameters. If the transformed embedding vectors do not follow an approximately direct path throughout the optimization, early stopping may miss the optimal solution. This development is likely not a problem in our applications, since the transformation is small. This explains why early stopping does not seem to produce negative side effects. We find that early stopping produces a better result in terms of the k-NN MOA assignment metrics than the values of $\\lambda$ we have tried, but we anticipate using a more thorough search over the regularization weights would yield similar results between the two methods. ",
1098
+ "bbox": [
1099
+ 174,
1100
+ 430,
1101
+ 825,
1102
+ 568
1103
+ ],
1104
+ "page_idx": 8
1105
+ },
1106
+ {
1107
+ "type": "text",
1108
+ "text": "The learning curves for both the early stopping case and some regularization weights are shown in Figure 4. ",
1109
+ "bbox": [
1110
+ 176,
1111
+ 575,
1112
+ 823,
1113
+ 603
1114
+ ],
1115
+ "page_idx": 8
1116
+ },
1117
+ {
1118
+ "type": "text",
1119
+ "text": "3.5 ADDITIONAL EXPERIMENTS ",
1120
+ "text_level": 1,
1121
+ "bbox": [
1122
+ 176,
1123
+ 626,
1124
+ 410,
1125
+ 640
1126
+ ],
1127
+ "page_idx": 8
1128
+ },
1129
+ {
1130
+ "type": "text",
1131
+ "text": "To assess how the hyperparameters of the model affect its performance, we conduct additional experiments by varying the hyperparameters. For example, the minibatch size is increased from 50 to 100. The results are similar except that the learning curve in the case of 100 appears less noisy. Moreover, the architecture of the network that estimates the pairwise Wasserstein distances is made more complicated by increasing the number of hidden layers from two to three and four, and the number of nodes per layer from two to four and eight, respectively. Again, there is no significant difference in the results except that the curves of the $\\mathbf { k }$ -NN MOA assignment metrics over the number of time steps appeared more stable. ",
1132
+ "bbox": [
1133
+ 174,
1134
+ 654,
1135
+ 825,
1136
+ 765
1137
+ ],
1138
+ "page_idx": 8
1139
+ },
1140
+ {
1141
+ "type": "text",
1142
+ "text": "4 CONCLUSION ",
1143
+ "text_level": 1,
1144
+ "bbox": [
1145
+ 176,
1146
+ 791,
1147
+ 318,
1148
+ 808
1149
+ ],
1150
+ "page_idx": 8
1151
+ },
1152
+ {
1153
+ "type": "text",
1154
+ "text": "We have shown how a neural network can be used to transform embedding vectors to ‘forget’ specifically chosen domain information as indicated by our proposed domain classification metric. The transformed embeddings still preserve the underlying geometry of the space and improve the $\\mathbf { k } .$ - NN MOA metrics. Our approach uses the Wasserstein distance and can in principle handle fairly general distributions of embeddings (as long as the neural network used to approximate the Wasserstein function is general enough). Importantly, we do not have to assume that the distributions are Gaussian. ",
1155
+ "bbox": [
1156
+ 174,
1157
+ 827,
1158
+ 823,
1159
+ 922
1160
+ ],
1161
+ "page_idx": 8
1162
+ },
1163
+ {
1164
+ "type": "image",
1165
+ "img_path": "images/f9e52d94c82e82cb8b3bd92bbcd08442d1ac8ac361f8dab9f372e6681c228b65.jpg",
1166
+ "image_caption": [
1167
+ "Figure 2: k-NN MOA assignment metrics for one fold of the cross-validation with compound mitoxantrone held out. The average k-NN metric is used to select the stopping time step, which is at 28000 as indicated by the vertical line. Early stopping is supposed to preserve relevant biological signal while remove batch-level nuisance variation. The top panel shows the ‘not same compound’ metric, and the bottom panel shows the ‘not same compound or batch’ metric (see Section 3.2.1 for details). "
1168
+ ],
1169
+ "image_footnote": [],
1170
+ "bbox": [
1171
+ 223,
1172
+ 111,
1173
+ 774,
1174
+ 295
1175
+ ],
1176
+ "page_idx": 9
1177
+ },
1178
+ {
1179
+ "type": "image",
1180
+ "img_path": "images/8cd0fa8580d36f85dffb94c55eb733cd0e93a554c786b736cca90d7a06ac30d1.jpg",
1181
+ "image_caption": [
1182
+ "Figure 3: Comparison of the first two principal components for the embeddings of the negative control (i.e., DMSO) after preprocessing (i.e., TVN) (left), embeddings transformed by the $\\mathrm { T V N } +$ CORAL method proposed in Ando et al. (2017) (middle), and embeddings transformed by $\\mathrm { T V N } +$ WDN (right), which illustrates the reduction of batch-level nuisance variation. Each color corresponds to a batch, and there are ten batches in total. Our method is designed to match embeddings of compounds across batches while not distorting the geometry of the embedding space. "
1183
+ ],
1184
+ "image_footnote": [],
1185
+ "bbox": [
1186
+ 186,
1187
+ 439,
1188
+ 823,
1189
+ 592
1190
+ ],
1191
+ "page_idx": 9
1192
+ },
1193
+ {
1194
+ "type": "text",
1195
+ "text": "The framework itself is quite general and extendible (see Section 4.1). Unlike methods that use only the controls for adjusting the embeddings, our method can also utilize information from replicates of a treatment across different domains. However, the dataset used did not have treatment replicates across batches, so we only relied on aligning based on the controls. Thus we implicitly assume that the transformation for the controls matches that of the various compounds. We expect our method to be more useful in the context of experiments where many replicates are present, so that they can all be aligned simultaneously. We expect transformations learned for such experiments to have better generalizability since it would be using available knowledge from a greater portion of the embedding space. ",
1196
+ "bbox": [
1197
+ 173,
1198
+ 750,
1199
+ 825,
1200
+ 875
1201
+ ],
1202
+ "page_idx": 9
1203
+ },
1204
+ {
1205
+ "type": "text",
1206
+ "text": "Our approach requires a choice of free parameters, either for regularization or early stopping, which we address by cross validation across compounds. We discuss potential future directions below, as well as other limiting issues. ",
1207
+ "bbox": [
1208
+ 176,
1209
+ 882,
1210
+ 823,
1211
+ 924
1212
+ ],
1213
+ "page_idx": 9
1214
+ },
1215
+ {
1216
+ "type": "text",
1217
+ "text": "Table 1: k-NN MOA assignment metrics for TVN only, $\\mathrm { T V N } + \\mathrm { W D N }$ , and $\\mathrm { T V N + C O R A L }$ , where WDN is regularized by either early stopping or a regularization term with weights. The last column shows the standard errors estimated by the bootstrap method described in Section 3.3.2. These metrics suggest that WDN with early stopping yields embeddings containing stronger biological signal than TVN or $\\mathrm { T V N + C O R A L }$ . Here the $\\lambda = 4 0 , 8 0 , 1 6 0$ are the WDN transformation after converging, when a regularization term $\\lambda = \\lambda _ { M } = \\lambda _ { b }$ is added. ",
1218
+ "bbox": [
1219
+ 173,
1220
+ 99,
1221
+ 823,
1222
+ 185
1223
+ ],
1224
+ "page_idx": 10
1225
+ },
1226
+ {
1227
+ "type": "table",
1228
+ "img_path": "images/10a4a5623b3d161056453884dfb8a0cbd977b320fb92a923e8132ec9508d02b1.jpg",
1229
+ "table_caption": [
1230
+ "(a) Not same compound "
1231
+ ],
1232
+ "table_footnote": [],
1233
+ "table_body": "<table><tr><td rowspan=1 colspan=1>k-NN</td><td rowspan=1 colspan=1>TVN only</td><td rowspan=1 colspan=1>WDN</td><td rowspan=1 colspan=1>CORAL</td><td rowspan=1 colspan=1>入=40</td><td rowspan=1 colspan=1>入=80</td><td rowspan=1 colspan=1>入=160</td><td rowspan=1 colspan=1>土</td></tr><tr><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>96.1%</td><td rowspan=1 colspan=1>97.1%</td><td rowspan=1 colspan=1>97.1%</td><td rowspan=1 colspan=1>97.1%</td><td rowspan=1 colspan=1>97.1%</td><td rowspan=1 colspan=1>96.1%</td><td rowspan=1 colspan=1>1.1%</td></tr><tr><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>92.2%</td><td rowspan=1 colspan=1>95.1%</td><td rowspan=1 colspan=1>94.7%</td><td rowspan=1 colspan=1>93.7%</td><td rowspan=1 colspan=1>95.1%</td><td rowspan=1 colspan=1>93.7%</td><td rowspan=1 colspan=1>0.7%</td></tr><tr><td rowspan=1 colspan=1>3</td><td rowspan=1 colspan=1>89.3%</td><td rowspan=1 colspan=1>91.9%</td><td rowspan=1 colspan=1>90.9%</td><td rowspan=1 colspan=1>90.6%</td><td rowspan=1 colspan=1>91.9%</td><td rowspan=1 colspan=1>91.6%</td><td rowspan=1 colspan=1>0.6%</td></tr><tr><td rowspan=1 colspan=1>4</td><td rowspan=1 colspan=1>87.4%</td><td rowspan=1 colspan=1>89.9%</td><td rowspan=1 colspan=1>88.4%</td><td rowspan=1 colspan=1>88.9%</td><td rowspan=1 colspan=1>89.2%</td><td rowspan=1 colspan=1>89.7%</td><td rowspan=1 colspan=1>0.5%</td></tr></table>",
1234
+ "bbox": [
1235
+ 174,
1236
+ 195,
1237
+ 720,
1238
+ 268
1239
+ ],
1240
+ "page_idx": 10
1241
+ },
1242
+ {
1243
+ "type": "table",
1244
+ "img_path": "images/a75ed4330cd04672498f84bb65b257f7df22df962bd9d5d3246839e328fc7d11.jpg",
1245
+ "table_caption": [],
1246
+ "table_footnote": [
1247
+ "(b) Not same compound or batch "
1248
+ ],
1249
+ "table_body": "<table><tr><td rowspan=1 colspan=1>k-NN</td><td rowspan=1 colspan=1>TVN only</td><td rowspan=1 colspan=1>WDN</td><td rowspan=1 colspan=1>CORAL</td><td rowspan=1 colspan=1>入=40</td><td rowspan=1 colspan=1>入=80</td><td rowspan=1 colspan=1>入= 160</td><td rowspan=1 colspan=1>土</td></tr><tr><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>90.2%</td><td rowspan=1 colspan=1>93.5%</td><td rowspan=1 colspan=1>91.3%</td><td rowspan=1 colspan=1>92.4%</td><td rowspan=1 colspan=1>91.3%</td><td rowspan=1 colspan=1>91.3%</td><td rowspan=1 colspan=1>1.0%</td></tr><tr><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>88.9%</td><td rowspan=1 colspan=1>91.1%</td><td rowspan=1 colspan=1>89.4%</td><td rowspan=1 colspan=1>90.6%</td><td rowspan=1 colspan=1>90.6%</td><td rowspan=1 colspan=1>89.4%</td><td rowspan=1 colspan=1>0.9%</td></tr><tr><td rowspan=1 colspan=1>3</td><td rowspan=1 colspan=1>84.7%</td><td rowspan=1 colspan=1>86.2%</td><td rowspan=1 colspan=1>85.1%</td><td rowspan=1 colspan=1>84.0%</td><td rowspan=1 colspan=1>85.1%</td><td rowspan=1 colspan=1>85.4%</td><td rowspan=1 colspan=1>0.7%</td></tr><tr><td rowspan=1 colspan=1>4</td><td rowspan=1 colspan=1>83.9%</td><td rowspan=1 colspan=1>84.8%</td><td rowspan=1 colspan=1>84.5%</td><td rowspan=1 colspan=1>83.6%</td><td rowspan=1 colspan=1>84.5%</td><td rowspan=1 colspan=1>84.5%</td><td rowspan=1 colspan=1>0.6%</td></tr></table>",
1250
+ "bbox": [
1251
+ 174,
1252
+ 289,
1253
+ 720,
1254
+ 363
1255
+ ],
1256
+ "page_idx": 10
1257
+ },
1258
+ {
1259
+ "type": "text",
1260
+ "text": "Table 2: Batch (domain) classification accuracy after transformations for controls using either logistic regression (LR) or a random forest (RF) with 3 folds. We only use controls here because other treatments have no replicates across batches in our dataset. We compare TVN only, $\\mathrm { T V N } + \\mathrm { W D N }$ (with early stopping), and $\\mathrm { T V N + C O R A L }$ . We also show the results for WDN with $\\lambda = 4 0$ , 80, 160 for $\\lambda = \\lambda _ { M } = \\lambda _ { b }$ . The ‘trivial transformation’ (send all embeddings to a point) is provided for reference. If all nuisance information is removed, the batch accuracy would drop that of the trivial transformation. The table below shows that WDN removes some of the nuisance variation, at least from the controls. ",
1261
+ "bbox": [
1262
+ 173,
1263
+ 404,
1264
+ 825,
1265
+ 516
1266
+ ],
1267
+ "page_idx": 10
1268
+ },
1269
+ {
1270
+ "type": "table",
1271
+ "img_path": "images/0c791177ce6386fd2cecd9a1e36e571e64b0830f89b3a4d6ecc508bf4aec1892.jpg",
1272
+ "table_caption": [],
1273
+ "table_footnote": [],
1274
+ "table_body": "<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>TVN only</td><td rowspan=1 colspan=1>WDN</td><td rowspan=1 colspan=1>CORAL</td><td rowspan=1 colspan=1>入= 40</td><td rowspan=1 colspan=1>入=80</td><td rowspan=1 colspan=1>入= 160</td><td rowspan=1 colspan=1>Trivial trans.</td></tr><tr><td rowspan=1 colspan=1>LR</td><td rowspan=1 colspan=1>63.6 ± 1%</td><td rowspan=1 colspan=1>39.8 ± 0.6%</td><td rowspan=1 colspan=1>66.4 ± 0.7%</td><td rowspan=1 colspan=1>28.0 ± 0.8%</td><td rowspan=1 colspan=1>46.8 ± 0.9%</td><td rowspan=1 colspan=1>56.2 ± 0.9%</td><td rowspan=1 colspan=1>16.6%</td></tr><tr><td rowspan=1 colspan=1>RF</td><td rowspan=1 colspan=1>45.9 ± 0.2%</td><td rowspan=1 colspan=1>34.4± 0.7%</td><td rowspan=1 colspan=1>46.8 ±0.6%</td><td rowspan=1 colspan=1>26.7 ± 0.7%</td><td rowspan=1 colspan=1>33.3 ± 0.7%</td><td rowspan=1 colspan=1>39.5 ± 0.1%</td><td rowspan=1 colspan=1>16.6%</td></tr></table>",
1275
+ "bbox": [
1276
+ 173,
1277
+ 534,
1278
+ 934,
1279
+ 580
1280
+ ],
1281
+ "page_idx": 10
1282
+ },
1283
+ {
1284
+ "type": "text",
1285
+ "text": "Table 3: We show the silhouette index for TVN only, $\\mathrm { T V N } + \\mathrm { W D N }$ , and $\\mathrm { T V N + C O R A L }$ , as discussed in Section 3.2.2. Here WDN refers to the the result using early stopping, and $\\lambda = 4 0$ , 80, 160 refers to the result when using a regularization with $\\lambda = \\lambda _ { M } = \\lambda _ { b }$ . Both WDN and CORAL appear to increase the cohesion, as measured by this index. The estimated error denoted by $\\pm$ was determined by the bootstrapping procedure described in Section 3.3.2 ",
1286
+ "bbox": [
1287
+ 173,
1288
+ 597,
1289
+ 825,
1290
+ 669
1291
+ ],
1292
+ "page_idx": 10
1293
+ },
1294
+ {
1295
+ "type": "table",
1296
+ "img_path": "images/7cb9cb2bc49df051de0a8983673f68a0e1981e677f43a271a958670b77e65b4c.jpg",
1297
+ "table_caption": [],
1298
+ "table_footnote": [],
1299
+ "table_body": "<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>TVN only</td><td rowspan=1 colspan=1>WDN</td><td rowspan=1 colspan=1>CORAL</td><td rowspan=1 colspan=1>入=40</td><td rowspan=1 colspan=1>入=80</td><td rowspan=1 colspan=1>入=160</td><td rowspan=1 colspan=1>土</td></tr><tr><td rowspan=1 colspan=1>Silhouette index</td><td rowspan=1 colspan=1>0.5042</td><td rowspan=1 colspan=1>0.5126</td><td rowspan=1 colspan=1>0.5099</td><td rowspan=1 colspan=1>0.5088</td><td rowspan=1 colspan=1>0.5115</td><td rowspan=1 colspan=1>0.5093</td><td rowspan=1 colspan=1>0.0019</td></tr></table>",
1300
+ "bbox": [
1301
+ 186,
1302
+ 684,
1303
+ 813,
1304
+ 717
1305
+ ],
1306
+ "page_idx": 10
1307
+ },
1308
+ {
1309
+ "type": "text",
1310
+ "text": "4.1 FUTURE WORK ",
1311
+ "text_level": 1,
1312
+ "bbox": [
1313
+ 174,
1314
+ 746,
1315
+ 323,
1316
+ 761
1317
+ ],
1318
+ "page_idx": 10
1319
+ },
1320
+ {
1321
+ "type": "text",
1322
+ "text": "One possible modification we considered would be to replace the form of the cost function by the following, which would more closely resemble finding the Wasserstein barycenter: ",
1323
+ "bbox": [
1324
+ 173,
1325
+ 772,
1326
+ 823,
1327
+ 801
1328
+ ],
1329
+ "page_idx": 10
1330
+ },
1331
+ {
1332
+ "type": "equation",
1333
+ "img_path": "images/54ec0601ce17c0e9ea7cdda7f0c12cb091349012f6fc6fe5a0b2e16da38a2b8a.jpg",
1334
+ "text": "$$\n\\sum _ { i , j = 1 } ^ { N } W ( \\nu _ { i } , A _ { d _ { j } } ( \\nu _ { j } ) ) .\n$$",
1335
+ "text_format": "latex",
1336
+ "bbox": [
1337
+ 424,
1338
+ 805,
1339
+ 571,
1340
+ 849
1341
+ ],
1342
+ "page_idx": 10
1343
+ },
1344
+ {
1345
+ "type": "text",
1346
+ "text": "The difference is that instead of comparing the pairwise transformed distributions, we instead compare the transformed distributions to the original distributions. One advantage for this approach is that it avoids the ‘shrinking to a point’ problem, and therefore does not require a regularization term or early stopping to converge to a meaningful solution. However, we did not find better performance for the new form of the cost function (eq. 13) for our specific dataset. ",
1347
+ "bbox": [
1348
+ 173,
1349
+ 853,
1350
+ 825,
1351
+ 924
1352
+ ],
1353
+ "page_idx": 10
1354
+ },
1355
+ {
1356
+ "type": "text",
1357
+ "text": "An alternative regularization term to the one we used penalizing how much the transformation differs from the identity may be used. One interesting choice might be to penalize the change of pairwise distances between treatments within a specific domain. Intuitively, in-domain variations carry biological signal that we would like to preserve, and using such a regularization term does so explicitly. ",
1358
+ "bbox": [
1359
+ 174,
1360
+ 103,
1361
+ 825,
1362
+ 172
1363
+ ],
1364
+ "page_idx": 11
1365
+ },
1366
+ {
1367
+ "type": "text",
1368
+ "text": "The Wasserstein functions were approximated with very simple nonlinear functions, and it is possible better results would be obtained using more sophisticated functions capturing the Wasserstein distance and its gradients more accurately. Similarly, The transformations $A _ { d }$ could be generalized from affine to a more general class of functions. As in Shaham et al. (2017), we expect residual networks would make natural candidates for these transformations. ",
1369
+ "bbox": [
1370
+ 174,
1371
+ 180,
1372
+ 825,
1373
+ 250
1374
+ ],
1375
+ "page_idx": 11
1376
+ },
1377
+ {
1378
+ "type": "text",
1379
+ "text": "One possibility is to fine-tune the Deep Metric Network used to generate the embeddings instead of training a separate network on its outputs (or perhaps several such networks for the separate image stains used). ",
1380
+ "bbox": [
1381
+ 176,
1382
+ 257,
1383
+ 825,
1384
+ 299
1385
+ ],
1386
+ "page_idx": 11
1387
+ },
1388
+ {
1389
+ "type": "text",
1390
+ "text": "Another issue is how to weigh the various Wasserstein distances against each other. This might improve the results if there are many more points from some distributions than others (which happens in the real data). Further, it is unclear how a regularization term should be weighed against the Wasserstein loss terms. ",
1391
+ "bbox": [
1392
+ 176,
1393
+ 306,
1394
+ 825,
1395
+ 362
1396
+ ],
1397
+ "page_idx": 11
1398
+ },
1399
+ {
1400
+ "type": "text",
1401
+ "text": "Another extension may involve applying our method hierarchically on the various domains of the experiment. However, this would require replicates on multiple hierarchical levels. ",
1402
+ "bbox": [
1403
+ 174,
1404
+ 369,
1405
+ 823,
1406
+ 397
1407
+ ],
1408
+ "page_idx": 11
1409
+ },
1410
+ {
1411
+ "type": "text",
1412
+ "text": "Since the $\\mathbf { k }$ -NN MOA assignment metric is based on the cosine distance, it is possible better results could be obtained by modifying the metric used to compute the Wasserstein distance accordingly, e.g. finding an optimal transportation plan only in non-radial directions. ",
1413
+ "bbox": [
1414
+ 176,
1415
+ 404,
1416
+ 821,
1417
+ 446
1418
+ ],
1419
+ "page_idx": 11
1420
+ },
1421
+ {
1422
+ "type": "text",
1423
+ "text": "ACKNOWLEDGMENTS ",
1424
+ "text_level": 1,
1425
+ "bbox": [
1426
+ 176,
1427
+ 463,
1428
+ 326,
1429
+ 476
1430
+ ],
1431
+ "page_idx": 11
1432
+ },
1433
+ {
1434
+ "type": "text",
1435
+ "text": "We would like to thank Mike Ando, Marc Coram, Marc Berndl, Subhashini Venugopalan, Arunachalam Narayanaswamy, Yaroslav Ganin, Luke Metz, Eric Christiansen, Philip Nelson, and Patrick Riley for useful discussions and suggestions. ",
1436
+ "bbox": [
1437
+ 176,
1438
+ 486,
1439
+ 823,
1440
+ 529
1441
+ ],
1442
+ "page_idx": 11
1443
+ },
1444
+ {
1445
+ "type": "image",
1446
+ "img_path": "images/80fba2121bea1fff9f863e78179da06630081b6b302b8144e156ae85bbbf7edc.jpg",
1447
+ "image_caption": [
1448
+ "(a) No regularization term (i.e. $\\lambda = 0$ ). This is the training routine that was used together with early stopping. "
1449
+ ],
1450
+ "image_footnote": [],
1451
+ "bbox": [
1452
+ 189,
1453
+ 143,
1454
+ 475,
1455
+ 223
1456
+ ],
1457
+ "page_idx": 12
1458
+ },
1459
+ {
1460
+ "type": "image",
1461
+ "img_path": "images/326d56c86f52e5b507f391eb24ec090e13b36273b42464a4ef74631639d18720.jpg",
1462
+ "image_caption": [
1463
+ "(b) Learning curve for $\\lambda = 4 0$ . "
1464
+ ],
1465
+ "image_footnote": [],
1466
+ "bbox": [
1467
+ 517,
1468
+ 154,
1469
+ 799,
1470
+ 236
1471
+ ],
1472
+ "page_idx": 12
1473
+ },
1474
+ {
1475
+ "type": "image",
1476
+ "img_path": "images/a5094c4fd359c77c077a3c6ec7d24d22b0bd70c4ba03c095f6546a43225eb5ad.jpg",
1477
+ "image_caption": [
1478
+ "(c) Learning curve for $\\lambda = 8 0$ "
1479
+ ],
1480
+ "image_footnote": [],
1481
+ "bbox": [
1482
+ 194,
1483
+ 275,
1484
+ 475,
1485
+ 353
1486
+ ],
1487
+ "page_idx": 12
1488
+ },
1489
+ {
1490
+ "type": "image",
1491
+ "img_path": "images/ef3fd015f2cd8e771aa96c5ed541a7e04d5e91c16db19f17bb91460c90f28c08.jpg",
1492
+ "image_caption": [
1493
+ "(d) Learning curve for $\\lambda = 1 6 0$ . ",
1494
+ "Figure 4: Sample learning curves for WDN with regularization term for $\\lambda ~ = ~ \\lambda _ { M } ~ = ~ \\lambda _ { b } ~ =$ 0, 40, 80, 160. The Wasserstein loss and the gradient penalty term as a function of the number of time steps trained on BBBC021 image dataset, after the Wasserstein parameters have been pretrained for 20000 steps. The larger the regularization weight, the further the point of convergence is from zero. "
1495
+ ],
1496
+ "image_footnote": [],
1497
+ "bbox": [
1498
+ 516,
1499
+ 273,
1500
+ 799,
1501
+ 353
1502
+ ],
1503
+ "page_idx": 12
1504
+ },
1505
+ {
1506
+ "type": "text",
1507
+ "text": "B DOSAGE RESPONSE PLOTS ",
1508
+ "text_level": 1,
1509
+ "bbox": [
1510
+ 176,
1511
+ 102,
1512
+ 434,
1513
+ 117
1514
+ ],
1515
+ "page_idx": 13
1516
+ },
1517
+ {
1518
+ "type": "image",
1519
+ "img_path": "images/4c03780bbec72fb53229c76a374dd743917d50e30a4e625a246b0a2ebfddb2b4.jpg",
1520
+ "image_caption": [
1521
+ "(d) Dosage response plots for $\\mathrm { T V N } + \\mathrm { W D N }$ with regularization term for $\\lambda = \\lambda _ { M } = \\lambda _ { b } = 8 0$ ",
1522
+ "Figure 5: Dosage response curves for each compound, as evaluated by the natural logarithm of the Euclidean distance of the embeddings from the origin (i.e. the center of the negative control). These plots show that WDN better preserves the geometry of the embedding space than CORAL, where the latter can magnify the scale of the response. WDN regularized by early stopping and a regularization term both slightly alter the embeddings. "
1523
+ ],
1524
+ "image_footnote": [],
1525
+ "bbox": [
1526
+ 176,
1527
+ 135,
1528
+ 823,
1529
+ 454
1530
+ ],
1531
+ "page_idx": 13
1532
+ },
1533
+ {
1534
+ "type": "text",
1535
+ "text": "C COMPOUND SIMILARITY MATRIX ",
1536
+ "text_level": 1,
1537
+ "bbox": [
1538
+ 173,
1539
+ 102,
1540
+ 490,
1541
+ 118
1542
+ ],
1543
+ "page_idx": 14
1544
+ },
1545
+ {
1546
+ "type": "image",
1547
+ "img_path": "images/a1227fdc278104a05358696ef1f8204cb933a05175373e04aaa3359428ea1f4a.jpg",
1548
+ "image_caption": [
1549
+ "Figure 6: A heatmap showing the cosine similarity matrix between pairs of treatments for the TVN embeddings. Same-MOA compounds are grouped together, and the blue lines show distinctions between different MOAs. The block diagonal terms correspond to the similarity matrices for sameMOA compounds. This plot shows how same-MOA compounds tend to be more closely clustered together in the embedding space. "
1550
+ ],
1551
+ "image_footnote": [],
1552
+ "bbox": [
1553
+ 199,
1554
+ 191,
1555
+ 735,
1556
+ 607
1557
+ ],
1558
+ "page_idx": 14
1559
+ },
1560
+ {
1561
+ "type": "text",
1562
+ "text": "REFERENCES ",
1563
+ "text_level": 1,
1564
+ "bbox": [
1565
+ 174,
1566
+ 103,
1567
+ 287,
1568
+ 118
1569
+ ],
1570
+ "page_idx": 15
1571
+ },
1572
+ {
1573
+ "type": "text",
1574
+ "text": "Ethan Anderes, Steffen Borgwardt, and Jacob Miller. Discrete wasserstein barycenters: optimal transport for discrete data. Mathematical Methods of Operations Research, 84(2):389–409, 2016. ",
1575
+ "bbox": [
1576
+ 176,
1577
+ 126,
1578
+ 825,
1579
+ 155
1580
+ ],
1581
+ "page_idx": 15
1582
+ },
1583
+ {
1584
+ "type": "text",
1585
+ "text": "D Michael Ando, Cory McLean, and Marc Berndl. Improving phenotypic measurements in highcontent imaging screens. bioRxiv, pp. 161422, 2017. ",
1586
+ "bbox": [
1587
+ 176,
1588
+ 162,
1589
+ 821,
1590
+ 193
1591
+ ],
1592
+ "page_idx": 15
1593
+ },
1594
+ {
1595
+ "type": "text",
1596
+ "text": "Martin Arjovsky, Soumith Chintala, and Leon Bottou. Wasserstein gan. ´ arXiv preprint arXiv:1701.07875, 2017. ",
1597
+ "bbox": [
1598
+ 171,
1599
+ 200,
1600
+ 823,
1601
+ 231
1602
+ ],
1603
+ "page_idx": 15
1604
+ },
1605
+ {
1606
+ "type": "text",
1607
+ "text": "Marc G Bellemare, Ivo Danihelka, Will Dabney, Shakir Mohamed, Balaji Lakshminarayanan, Stephan Hoyer, and Remi Munos. The cramer distance as a solution to biased wasserstein gradi-´ ents. arXiv preprint arXiv:1705.10743, 2017. ",
1608
+ "bbox": [
1609
+ 174,
1610
+ 238,
1611
+ 821,
1612
+ 281
1613
+ ],
1614
+ "page_idx": 15
1615
+ },
1616
+ {
1617
+ "type": "text",
1618
+ "text": "Peter D Caie, Rebecca E Walls, Alexandra Ingleston-Orme, Sandeep Daya, Tom Houslay, Rob Eagle, Mark E Roberts, and Neil O Carragher. High-content phenotypic profiling of drug response signatures across distinct cancer cells. Molecular cancer therapeutics, 9(6):1913–1926, 2010. ",
1619
+ "bbox": [
1620
+ 176,
1621
+ 290,
1622
+ 823,
1623
+ 333
1624
+ ],
1625
+ "page_idx": 15
1626
+ },
1627
+ {
1628
+ "type": "text",
1629
+ "text": "Marco Cuturi and Arnaud Doucet. Fast computation of wasserstein barycenters. In International Conference on Machine Learning, pp. 685–693, 2014. ",
1630
+ "bbox": [
1631
+ 171,
1632
+ 342,
1633
+ 823,
1634
+ 372
1635
+ ],
1636
+ "page_idx": 15
1637
+ },
1638
+ {
1639
+ "type": "text",
1640
+ "text": "Yaroslav Ganin and Victor Lempitsky. Unsupervised domain adaptation by backpropagation. In International Conference on Machine Learning, pp. 1180–1189, 2015. ",
1641
+ "bbox": [
1642
+ 171,
1643
+ 378,
1644
+ 823,
1645
+ 410
1646
+ ],
1647
+ "page_idx": 15
1648
+ },
1649
+ {
1650
+ "type": "text",
1651
+ "text": "William J Godinez, Imtiaz Hossain, Stanley E Lazic, John W Davies, and Xian Zhang. A multi-scale convolutional neural network for phenotyping high-content cellular images. Bioinformatics, pp. btx069, 2017. ",
1652
+ "bbox": [
1653
+ 174,
1654
+ 416,
1655
+ 823,
1656
+ 460
1657
+ ],
1658
+ "page_idx": 15
1659
+ },
1660
+ {
1661
+ "type": "text",
1662
+ "text": "Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron Courville. Improved training of wasserstein gans. arXiv preprint arXiv:1704.00028, 2017. ",
1663
+ "bbox": [
1664
+ 173,
1665
+ 468,
1666
+ 820,
1667
+ 498
1668
+ ],
1669
+ "page_idx": 15
1670
+ },
1671
+ {
1672
+ "type": "text",
1673
+ "text": "Vebjorn Ljosa, Katherine L Sokolnicki, and Anne E Carpenter. Annotated high-throughput microscopy image sets for validation. Nature methods, 9(7):637–637, 2012. ",
1674
+ "bbox": [
1675
+ 174,
1676
+ 506,
1677
+ 820,
1678
+ 536
1679
+ ],
1680
+ "page_idx": 15
1681
+ },
1682
+ {
1683
+ "type": "text",
1684
+ "text": "Vebjorn Ljosa, Peter D Caie, Rob Ter Horst, Katherine L Sokolnicki, Emma L Jenkins, Sandeep Daya, Mark E Roberts, Thouis R Jones, Shantanu Singh, Auguste Genovesio, et al. Comparison of methods for image-based profiling of cellular morphological responses to small-molecule treatment. Journal of biomolecular screening, 18(10):1321–1329, 2013. ",
1685
+ "bbox": [
1686
+ 173,
1687
+ 544,
1688
+ 823,
1689
+ 602
1690
+ ],
1691
+ "page_idx": 15
1692
+ },
1693
+ {
1694
+ "type": "text",
1695
+ "text": "Peter J Rousseeuw. Silhouettes: a graphical aid to the interpretation and validation of cluster analysis. Journal of computational and applied mathematics, 20:53–65, 1987. ",
1696
+ "bbox": [
1697
+ 173,
1698
+ 609,
1699
+ 821,
1700
+ 640
1701
+ ],
1702
+ "page_idx": 15
1703
+ },
1704
+ {
1705
+ "type": "text",
1706
+ "text": "Uri Shaham, Kelly P Stanton, Jun Zhao, Huamin Li, Khadir Raddassi, Ruth Montgomery, and Yuval Kluger. Removal of batch effects using distribution-matching residual networks. Bioinformatics, pp. btx196, 2017. ",
1707
+ "bbox": [
1708
+ 174,
1709
+ 647,
1710
+ 823,
1711
+ 690
1712
+ ],
1713
+ "page_idx": 15
1714
+ },
1715
+ {
1716
+ "type": "text",
1717
+ "text": "Jian Shen, Yanru Qu, Weinan Zhang, and Yong Yu. Adversarial representation learning for domain adaptation. arXiv preprint arXiv:1707.01217, 2017. ",
1718
+ "bbox": [
1719
+ 173,
1720
+ 699,
1721
+ 821,
1722
+ 728
1723
+ ],
1724
+ "page_idx": 15
1725
+ },
1726
+ {
1727
+ "type": "text",
1728
+ "text": "Baochen Sun, Jiashi Feng, and Kate Saenko. Correlation alignment for unsupervised domain adaptation. In Domain Adaptation in Computer Vision Applications, pp. 153–171. Springer, 2017. ",
1729
+ "bbox": [
1730
+ 173,
1731
+ 736,
1732
+ 821,
1733
+ 767
1734
+ ],
1735
+ "page_idx": 15
1736
+ },
1737
+ {
1738
+ "type": "text",
1739
+ "text": "Esteban G Tabak and Giulio Trigila. Explanation of variability and removal of confounding factors from data through optimal transport. Communications on Pure and Applied Mathematics, 71(1): 163–199, 2018. ",
1740
+ "bbox": [
1741
+ 171,
1742
+ 773,
1743
+ 821,
1744
+ 818
1745
+ ],
1746
+ "page_idx": 15
1747
+ },
1748
+ {
1749
+ "type": "text",
1750
+ "text": "Jiang Wang, Yang Song, Thomas Leung, Chuck Rosenberg, Jingbin Wang, James Philbin, Bo Chen, and Ying Wu. Learning fine-grained image similarity with deep ranking. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1386–1393, 2014. ",
1751
+ "bbox": [
1752
+ 171,
1753
+ 827,
1754
+ 825,
1755
+ 869
1756
+ ],
1757
+ "page_idx": 15
1758
+ }
1759
+ ]
parse/train/H18uzzWAZ/H18uzzWAZ_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/H18uzzWAZ/H18uzzWAZ_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/H196sainb/H196sainb_content_list.json ADDED
@@ -0,0 +1,1707 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "WORD TRANSLATION WITHOUT PARALLEL DATA ",
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": "Guillaume Lample∗ † ‡ , Alexis Conneau∗ † § , Marc’Aurelio Ranzato† , Ludovic Denoyer‡ , Herve J ´ egou ´ † {glample,aconneau,ranzato,rvj}@fb.com ludovic.denoyer@upmc.fr ",
17
+ "bbox": [
18
+ 184,
19
+ 142,
20
+ 584,
21
+ 200
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 238,
32
+ 544,
33
+ 252
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "State-of-the-art methods for learning cross-lingual word embeddings have relied on bilingual dictionaries or parallel corpora. Recent studies showed that the need for parallel data supervision can be alleviated with character-level information. While these methods showed encouraging results, they are not on par with their supervised counterparts and are limited to pairs of languages sharing a common alphabet. In this work, we show that we can build a bilingual dictionary between two languages without using any parallel corpora, by aligning monolingual word embedding spaces in an unsupervised way. Without using any character information, our model even outperforms existing supervised methods on cross-lingual tasks for some language pairs. Our experiments demonstrate that our method works very well also for distant language pairs, like English-Russian or EnglishChinese. We finally describe experiments on the English-Esperanto low-resource language pair, on which there only exists a limited amount of parallel data, to show the potential impact of our method in fully unsupervised machine translation. Our code, embeddings and dictionaries are publicly available1. ",
40
+ "bbox": [
41
+ 233,
42
+ 268,
43
+ 764,
44
+ 476
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 501,
55
+ 336,
56
+ 516
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Most successful methods for learning distributed representations of words (e.g. Mikolov et al. (2013c;a); Pennington et al. (2014); Bojanowski et al. (2017)) rely on the distributional hypothesis of Harris (1954), which states that words occurring in similar contexts tend to have similar meanings. Levy & Goldberg (2014) show that the skip-gram with negative sampling method of Mikolov et al. (2013c) amounts to factorizing a word-context co-occurrence matrix, whose entries are the pointwise mutual information of the respective word and context pairs. Exploiting word cooccurrence statistics leads to word vectors that reflect the semantic similarities and dissimilarities: similar words are close in the embedding space and conversely. ",
63
+ "bbox": [
64
+ 174,
65
+ 526,
66
+ 825,
67
+ 637
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Mikolov et al. (2013b) first noticed that continuous word embedding spaces exhibit similar structures across languages, even when considering distant language pairs like English and Vietnamese. They proposed to exploit this similarity by learning a linear mapping from a source to a target embedding space. They employed a parallel vocabulary of five thousand words as anchor points to learn this mapping and evaluated their approach on a word translation task. Since then, several studies aimed at improving these cross-lingual word embeddings (Faruqui & Dyer (2014); Xing et al. (2015); Lazaridou et al. (2015); Ammar et al. (2016); Artetxe et al. (2016); Smith et al. (2017)), but they all rely on bilingual word lexicons. ",
74
+ "bbox": [
75
+ 174,
76
+ 645,
77
+ 825,
78
+ 756
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "Recent attempts at reducing the need for bilingual supervision (Smith et al., 2017) employ identical character strings to form a parallel vocabulary. The iterative method of Artetxe et al. (2017) gradually aligns embedding spaces, starting from a parallel vocabulary of aligned digits. These methods are however limited to similar languages sharing a common alphabet, such as European languages. Some recent methods explored distribution-based approach (Cao et al., 2016) or adversarial training Zhang et al. (2017b) to obtain cross-lingual word embeddings without any parallel data. While these approaches sound appealing, their performance is significantly below supervised methods. To sum up, current methods have either not reached competitive performance, or they still require parallel data, such as aligned corpora (Gouws et al., 2015; Vulic & Moens, 2015) or a seed parallel lexicon (Duong et al., 2016). ",
85
+ "bbox": [
86
+ 174,
87
+ 762,
88
+ 825,
89
+ 844
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "",
96
+ "bbox": [
97
+ 174,
98
+ 103,
99
+ 823,
100
+ 160
101
+ ],
102
+ "page_idx": 1
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "In this paper, we introduce a model that either is on par, or outperforms supervised state-of-the-art methods, without employing any cross-lingual annotated data. We only use two large monolingual corpora, one in the source and one in the target language. Our method leverages adversarial training to learn a linear mapping from a source to a target space and operates in two steps. First, in a twoplayer game, a discriminator is trained to distinguish between the mapped source embeddings and the target embeddings, while the mapping (which can be seen as a generator) is jointly trained to fool the discriminator. Second, we extract a synthetic dictionary from the resulting shared embedding space and fine-tune the mapping with the closed-form Procrustes solution from Schonemann (1966). ¨ Since the method is unsupervised, cross-lingual data can not be used to select the best model. To overcome this issue, we introduce an unsupervised selection metric that is highly correlated with the mapping quality and that we use both as a stopping criterion and to select the best hyper-parameters. ",
107
+ "bbox": [
108
+ 174,
109
+ 166,
110
+ 825,
111
+ 319
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "In summary, this paper makes the following main contributions: ",
118
+ "bbox": [
119
+ 173,
120
+ 325,
121
+ 593,
122
+ 339
123
+ ],
124
+ "page_idx": 1
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "• We present an unsupervised approach that reaches or outperforms state-of-the-art supervised approaches on several language pairs and on three different evaluation tasks, namely word translation, sentence translation retrieval, and cross-lingual word similarity. On a standard word translation retrieval benchmark, using 200k vocabularies, our method reaches $6 6 . 2 \\%$ accuracy on English-Italian while the best supervised approach is at $6 3 . 7 \\%$ . \n• We introduce a cross-domain similarity adaptation to mitigate the so-called hubness problem (points tending to be nearest neighbors of many points in high-dimensional spaces). It is inspired by the self-tuning method from Zelnik-manor & Perona (2005), but adapted to our two-domain scenario in which we must consider a bi-partite graph for neighbors. This approach significantly improves the absolute performance, and outperforms the state of the art both in supervised and unsupervised setups on word-translation benchmarks. \nWe propose an unsupervised criterion that is highly correlated with the quality of the mapping, that can be used both as a stopping criterion and to select the best hyper-parameters. We release high-quality dictionaries for 12 oriented languages pairs, as well as the corresponding supervised and unsupervised word embeddings. We demonstrate the effectiveness of our method using an example of a low-resource language pair where parallel corpora are not available (English-Esperanto) for which our method is particularly suited. ",
129
+ "bbox": [
130
+ 215,
131
+ 351,
132
+ 825,
133
+ 627
134
+ ],
135
+ "page_idx": 1
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "The paper is organized as follows. Section 2 describes our unsupervised approach with adversarial training and our refinement procedure. We then present our training procedure with unsupervised model selection in Section 3. We report in Section 4 our results on several cross-lingual tasks for several language pairs and compare our approach to supervised methods. Finally, we explain how our approach differs from recent related work on learning cross-lingual word embeddings. ",
140
+ "bbox": [
141
+ 174,
142
+ 637,
143
+ 825,
144
+ 708
145
+ ],
146
+ "page_idx": 1
147
+ },
148
+ {
149
+ "type": "text",
150
+ "text": "2 MODEL ",
151
+ "text_level": 1,
152
+ "bbox": [
153
+ 176,
154
+ 726,
155
+ 269,
156
+ 741
157
+ ],
158
+ "page_idx": 1
159
+ },
160
+ {
161
+ "type": "text",
162
+ "text": "In this paper, we always assume that we have two sets of embeddings trained independently on monolingual data. Our work focuses on learning a mapping between the two sets such that translations are close in the shared space. Mikolov et al. (2013b) show that they can exploit the similarities of monolingual embedding spaces to learn such a mapping. For this purpose, they use a known dictionary of $n = 5 0 0 0$ pairs of words $\\{ x _ { i } , y _ { i } \\} _ { i \\in \\{ 1 , n \\} }$ , and learn a linear mapping $W$ between the source and the target space such that ",
163
+ "bbox": [
164
+ 174,
165
+ 752,
166
+ 825,
167
+ 837
168
+ ],
169
+ "page_idx": 1
170
+ },
171
+ {
172
+ "type": "equation",
173
+ "img_path": "images/088745639da01414b52b3c5e9a531f4a7c2a6531193446804b14aa825c3219c3.jpg",
174
+ "text": "$$\nW ^ { \\star } = \\operatorname * { a r g m i n } _ { W \\in M _ { d } ( \\mathbb { R } ) } \\| W X - Y \\| _ { \\mathrm { F } }\n$$",
175
+ "text_format": "latex",
176
+ "bbox": [
177
+ 398,
178
+ 844,
179
+ 599,
180
+ 872
181
+ ],
182
+ "page_idx": 1
183
+ },
184
+ {
185
+ "type": "text",
186
+ "text": "where $d$ is the dimension of the embeddings, $M _ { d } ( \\mathbb { R } )$ is the space of $d \\times d$ matrices of real numbers, and $X$ and $Y$ are two aligned matrices of size $d \\times n$ containing the embeddings of the words in the parallel vocabulary. The translation $t$ of any source word $s$ is defined as $t = \\operatorname { a r g m a x } _ { t } \\cos ( W x _ { s } , y _ { t } )$ ",
187
+ "bbox": [
188
+ 174,
189
+ 881,
190
+ 823,
191
+ 924
192
+ ],
193
+ "page_idx": 1
194
+ },
195
+ {
196
+ "type": "image",
197
+ "img_path": "images/a375fb56e8f18a1414f7462979179ca6f187e0446ab5929b41af9f6db3dbefb1.jpg",
198
+ "image_caption": [
199
+ "Figure 1: Toy illustration of the method. (A) There are two distributions of word embeddings, English words in red denoted by $X$ and Italian words in blue denoted by $Y$ , which we want to align/translate. Each dot represents a word in that space. The size of the dot is proportional to the frequency of the words in the training corpus of that language. (B) Using adversarial learning, we learn a rotation matrix $W$ which roughly aligns the two distributions. The green stars are randomly selected words that are fed to the discriminator to determine whether the two word embeddings come from the same distribution. (C) The mapping $W$ is further refined via Procrustes. This method uses frequent words aligned by the previous step as anchor points, and minimizes an energy function that corresponds to a spring system between anchor points. The refined mapping is then used to map all words in the dictionary. $\\mathbf { \\tau } ( \\mathbf { D } )$ Finally, we translate by using the mapping $W$ and a distance metric, dubbed CSLS, that expands the space where there is high density of points (like the area around the word “cat”), so that “hubs” (like the word “cat”) become less close to other word vectors than they would otherwise (compare to the same region in panel (A)). "
200
+ ],
201
+ "image_footnote": [],
202
+ "bbox": [
203
+ 173,
204
+ 97,
205
+ 825,
206
+ 194
207
+ ],
208
+ "page_idx": 2
209
+ },
210
+ {
211
+ "type": "text",
212
+ "text": "In practice, Mikolov et al. (2013b) obtained better results on the word translation task using a simple linear mapping, and did not observe any improvement when using more advanced strategies like multilayer neural networks. Xing et al. (2015) showed that these results are improved by enforcing an orthogonality constraint on $W$ . In that case, the equation (1) boils down to the Procrustes problem, which advantageously offers a closed form solution obtained from the singular value decomposition (SVD) of ${ \\check { Y } } { \\check { X } } ^ { T }$ : ",
213
+ "bbox": [
214
+ 173,
215
+ 377,
216
+ 825,
217
+ 462
218
+ ],
219
+ "page_idx": 2
220
+ },
221
+ {
222
+ "type": "equation",
223
+ "img_path": "images/de708c4f05c435b13b5918b7e7129ae163c1e4544c3ed7aa6c5a76c9ce39b2ed.jpg",
224
+ "text": "$$\n\\boldsymbol { W } ^ { \\star } = \\operatorname * { a r g m i n } _ { \\boldsymbol { W } \\in O _ { d } ( \\mathbb { R } ) } \\| \\boldsymbol { W } \\boldsymbol { X } - \\boldsymbol { Y } \\| _ { \\mathrm { F } } = \\boldsymbol { U } \\boldsymbol { V } ^ { T } , \\operatorname { w i t h } \\boldsymbol { U } \\boldsymbol { \\Sigma } \\boldsymbol { V } ^ { T } = \\mathrm { S } \\mathbf { V } \\mathbf { D } ( \\boldsymbol { Y } \\boldsymbol { X } ^ { T } ) .\n$$",
225
+ "text_format": "latex",
226
+ "bbox": [
227
+ 271,
228
+ 464,
229
+ 725,
230
+ 494
231
+ ],
232
+ "page_idx": 2
233
+ },
234
+ {
235
+ "type": "text",
236
+ "text": "In this paper, we show how to learn this mapping $W$ without cross-lingual supervision; an illustration of the approach is given in Fig. 1. First, we learn an initial proxy of $W$ by using an adversarial criterion. Then, we use the words that match the best as anchor points for Procrustes. Finally, we improve performance over less frequent words by changing the metric of the space, which leads to spread more of those points in dense regions. Next, we describe the details of each of these steps. ",
237
+ "bbox": [
238
+ 173,
239
+ 497,
240
+ 825,
241
+ 568
242
+ ],
243
+ "page_idx": 2
244
+ },
245
+ {
246
+ "type": "text",
247
+ "text": "2.1 DOMAIN-ADVERSARIAL SETTING ",
248
+ "text_level": 1,
249
+ "bbox": [
250
+ 176,
251
+ 583,
252
+ 446,
253
+ 597
254
+ ],
255
+ "page_idx": 2
256
+ },
257
+ {
258
+ "type": "text",
259
+ "text": "In this section, we present our domain-adversarial approach for learning $W$ without cross-lingual supervision. Let $\\bar { \\mathcal { X } } \\bar { = } \\{ x _ { 1 } , . . . , x _ { n } \\}$ and ${ \\mathcal { V } } = \\{ y _ { 1 } , . . . , { \\bar { y _ { m } } } \\}$ be two sets of $n$ and $m$ word embeddings coming from a source and a target language respectively. A model is trained to discriminate between elements randomly sampled from $W \\mathcal { X } = \\{ W x _ { 1 } , . . . , W x _ { n } \\}$ and $\\mathcal { V }$ . We call this model the discriminator. $W$ is trained to prevent the discriminator from making accurate predictions. As a result, this is a two-player game, where the discriminator aims at maximizing its ability to identify the origin of an embedding, and $W$ aims at preventing the discriminator from doing so by making $W \\mathcal { X }$ and $\\mathcal { V }$ as similar as possible. This approach is in line with the work of Ganin et al. (2016), who proposed to learn latent representations invariant to the input domain, where in our case, a domain is represented by a language (source or target). ",
260
+ "bbox": [
261
+ 173,
262
+ 607,
263
+ 825,
264
+ 747
265
+ ],
266
+ "page_idx": 2
267
+ },
268
+ {
269
+ "type": "text",
270
+ "text": "Discriminator objective We refer to the discriminator parameters as $\\theta _ { D }$ . We consider the probability $P _ { \\theta _ { D } } ( \\mathrm { s o u r c e } = 1 | z )$ that a vector $z$ is the mapping of a source embedding (as opposed to a target embedding) according to the discriminator. The discriminator loss can be written as: ",
271
+ "bbox": [
272
+ 173,
273
+ 761,
274
+ 825,
275
+ 803
276
+ ],
277
+ "page_idx": 2
278
+ },
279
+ {
280
+ "type": "equation",
281
+ "img_path": "images/6d7172498f3ded84de6cd225e33033821518f316783b66bbc1090bc5e923ba41.jpg",
282
+ "text": "$$\n\\mathcal { L } _ { D } ( \\theta _ { D } | W ) = - \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } \\log P _ { \\theta _ { D } } \\big ( \\mathrm { s o u r c e } = 1 \\big | W x _ { i } \\big ) - \\frac { 1 } { m } \\sum _ { i = 1 } ^ { m } \\log P _ { \\theta _ { D } } \\big ( \\mathrm { s o u r c e } = 0 \\big | y _ { i } \\big ) .\n$$",
283
+ "text_format": "latex",
284
+ "bbox": [
285
+ 215,
286
+ 805,
287
+ 781,
288
+ 847
289
+ ],
290
+ "page_idx": 2
291
+ },
292
+ {
293
+ "type": "text",
294
+ "text": "Mapping objective In the unsupervised setting, $W$ is now trained so that the discriminator is unable to accurately predict the embedding origins: ",
295
+ "bbox": [
296
+ 169,
297
+ 856,
298
+ 825,
299
+ 885
300
+ ],
301
+ "page_idx": 2
302
+ },
303
+ {
304
+ "type": "equation",
305
+ "img_path": "images/a31a6dc16cacbbefb8f1eb88d0eb35ab0613b151c83876c7b14a405d9bf5fd4a.jpg",
306
+ "text": "$$\n\\mathcal { L } _ { W } ( W | \\theta _ { D } ) = - \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } \\log P _ { \\theta _ { D } } \\left( \\mathrm { s o u r c e } = 0 \\middle | W x _ { i } \\right) - \\frac { 1 } { m } \\sum _ { i = 1 } ^ { m } \\log P _ { \\theta _ { D } } \\left( \\mathrm { s o u r c e } = 1 \\middle | y _ { i } \\right) .\n$$",
307
+ "text_format": "latex",
308
+ "bbox": [
309
+ 215,
310
+ 886,
311
+ 782,
312
+ 928
313
+ ],
314
+ "page_idx": 2
315
+ },
316
+ {
317
+ "type": "text",
318
+ "text": "Learning algorithm To train our model, we follow the standard training procedure of deep adversarial networks of Goodfellow et al. (2014). For every input sample, the discriminator and the mapping matrix $W$ are trained successively with stochastic gradient updates to respectively minimize $\\mathcal { L } _ { D }$ and ${ \\mathcal { L } } _ { W }$ . The details of training are given in the next section. ",
319
+ "bbox": [
320
+ 174,
321
+ 103,
322
+ 823,
323
+ 160
324
+ ],
325
+ "page_idx": 3
326
+ },
327
+ {
328
+ "type": "text",
329
+ "text": "2.2 REFINEMENT PROCEDURE ",
330
+ "text_level": 1,
331
+ "bbox": [
332
+ 176,
333
+ 174,
334
+ 395,
335
+ 189
336
+ ],
337
+ "page_idx": 3
338
+ },
339
+ {
340
+ "type": "text",
341
+ "text": "The matrix $W$ obtained with adversarial training gives good performance (see Table 1), but the results are still not on par with the supervised approach. In fact, the adversarial approach tries to align all words irrespective of their frequencies. However, rare words have embeddings that are less updated and are more likely to appear in different contexts in each corpus, which makes them harder to align. Under the assumption that the mapping is linear, it is then better to infer the global mapping using only the most frequent words as anchors. Besides, the accuracy on the most frequent word pairs is high after adversarial training. ",
342
+ "bbox": [
343
+ 173,
344
+ 199,
345
+ 825,
346
+ 297
347
+ ],
348
+ "page_idx": 3
349
+ },
350
+ {
351
+ "type": "text",
352
+ "text": "To refine our mapping, we build a synthetic parallel vocabulary using the $W$ just learned with adversarial training. Specifically, we consider the most frequent words and retain only mutual nearest neighbors to ensure a high-quality dictionary. Subsequently, we apply the Procrustes solution in (2) on this generated dictionary. Considering the improved solution generated with the Procrustes algorithm, it is possible to generate a more accurate dictionary and apply this method iteratively, similarly to Artetxe et al. (2017). However, given that the synthetic dictionary obtained using adversarial training is already strong, we only observe small improvements when doing more than one iteration, i.e., the improvements on the word translation task are usually below $1 \\%$ . ",
353
+ "bbox": [
354
+ 174,
355
+ 303,
356
+ 825,
357
+ 415
358
+ ],
359
+ "page_idx": 3
360
+ },
361
+ {
362
+ "type": "text",
363
+ "text": "2.3 CROSS-DOMAIN SIMILARITY LOCAL SCALING (CSLS) ",
364
+ "text_level": 1,
365
+ "bbox": [
366
+ 174,
367
+ 430,
368
+ 589,
369
+ 444
370
+ ],
371
+ "page_idx": 3
372
+ },
373
+ {
374
+ "type": "text",
375
+ "text": "In this subsection, our motivation is to produce reliable matching pairs between two languages: we want to improve the comparison metric such that the nearest neighbor of a source word, in the target language, is more likely to have as a nearest neighbor this particular source word. ",
376
+ "bbox": [
377
+ 178,
378
+ 455,
379
+ 823,
380
+ 497
381
+ ],
382
+ "page_idx": 3
383
+ },
384
+ {
385
+ "type": "text",
386
+ "text": "Nearest neighbors are by nature asymmetric: $y$ being a $K$ -NN of $x$ does not imply that $x$ is a $K$ -NN of $y$ . In high-dimensional spaces (Radovanovic et al., 2010), this leads to a phenomenon that is ´ detrimental to matching pairs based on a nearest neighbor rule: some vectors, dubbed hubs, are with high probability nearest neighbors of many other points, while others (anti-hubs) are not nearest neighbors of any point. This problem has been observed in different areas, from matching image features in vision (Jegou et al., 2010) to translating words in text understanding applications (Dinu et al., 2015). Various solutions have been proposed to mitigate this issue, some being reminiscent of pre-processing already existing in spectral clustering algorithms (Zelnik-manor & Perona, 2005). ",
387
+ "bbox": [
388
+ 174,
389
+ 503,
390
+ 825,
391
+ 616
392
+ ],
393
+ "page_idx": 3
394
+ },
395
+ {
396
+ "type": "text",
397
+ "text": "However, most studies aiming at mitigating hubness consider a single feature distribution. In our case, we have two domains, one for each language. This particular case is taken into account by Dinu et al. (2015), who propose a pairing rule based on reverse ranks, and the inverted soft-max (ISF) by Smith et al. (2017), which we evaluate in our experimental section. These methods are not fully satisfactory because the similarity updates are different for the words of the source and target languages. Additionally, ISF requires to cross-validate a parameter, whose estimation is noisy in an unsupervised setting where we do not have a direct cross-validation criterion. ",
398
+ "bbox": [
399
+ 174,
400
+ 621,
401
+ 825,
402
+ 719
403
+ ],
404
+ "page_idx": 3
405
+ },
406
+ {
407
+ "type": "text",
408
+ "text": "In contrast, we consider a bi-partite neighborhood graph, in which each word of a given dictionary is connected to its $K$ nearest neighbors in the other language. We denote by $\\mathcal { N } _ { \\mathrm { T } } ( W x _ { s } )$ the neighborhood, on this bi-partite graph, associated with a mapped source word embedding $W x _ { s }$ . All $K$ elements of $\\mathcal { N } _ { \\mathrm { T } } ( W \\bar { x } _ { s } )$ are words from the target language. Similarly we denote by $ { \\mathcal { N } } _ { \\mathrm { S } } ( y _ { t } )$ the neighborhood associated with a word $t$ of the target language. We consider the mean similarity of a source embedding $x _ { s }$ to its target neighborhood as ",
409
+ "bbox": [
410
+ 173,
411
+ 724,
412
+ 823,
413
+ 809
414
+ ],
415
+ "page_idx": 3
416
+ },
417
+ {
418
+ "type": "equation",
419
+ "img_path": "images/e4b745d5c1501547926517c55f0feda11814eae5d23efcf2dafe6005718c83a3.jpg",
420
+ "text": "$$\nr _ { \\mathrm { T } } ( W x _ { s } ) = \\frac { 1 } { K } \\sum _ { y _ { t } \\in \\mathcal { N } _ { \\mathrm { T } } ( W x _ { s } ) } \\cos ( W x _ { s } , y _ { t } ) ,\n$$",
421
+ "text_format": "latex",
422
+ "bbox": [
423
+ 356,
424
+ 809,
425
+ 640,
426
+ 849
427
+ ],
428
+ "page_idx": 3
429
+ },
430
+ {
431
+ "type": "text",
432
+ "text": "where $\\cos ( . , . )$ is the cosine similarity. Likewise we denote by $r _ { \\mathrm { S } } ( y _ { t } )$ the mean similarity of a target word $y _ { t }$ to its neighborhood. These quantities are computed for all source and target word vectors with the efficient nearest neighbors implementation by Johnson et al. (2017). We use them to define a similarity measure $\\mathrm { C S L S } ( . , . )$ between mapped source words and target words, as ",
433
+ "bbox": [
434
+ 174,
435
+ 851,
436
+ 823,
437
+ 906
438
+ ],
439
+ "page_idx": 3
440
+ },
441
+ {
442
+ "type": "equation",
443
+ "img_path": "images/b2940855e37edef9054ac73d6322db47374eb5bb3640363a2c728f482f8fdf1f.jpg",
444
+ "text": "$$\n\\mathrm { C S L S } ( W x _ { s } , y _ { t } ) = 2 \\cos ( W x _ { s } , y _ { t } ) - r _ { \\mathrm { T } } ( W x _ { s } ) - r _ { \\mathrm { S } } ( y _ { t } ) .\n$$",
445
+ "text_format": "latex",
446
+ "bbox": [
447
+ 305,
448
+ 907,
449
+ 691,
450
+ 925
451
+ ],
452
+ "page_idx": 3
453
+ },
454
+ {
455
+ "type": "text",
456
+ "text": "Intuitively, this update increases the similarity associated with isolated word vectors. Conversely it decreases the ones of vectors lying in dense areas. Our experiments show that the CSLS significantly increases the accuracy for word translation retrieval, while not requiring any parameter tuning. ",
457
+ "bbox": [
458
+ 174,
459
+ 103,
460
+ 825,
461
+ 146
462
+ ],
463
+ "page_idx": 4
464
+ },
465
+ {
466
+ "type": "text",
467
+ "text": "3 TRAINING AND ARCHITECTURAL CHOICES ",
468
+ "text_level": 1,
469
+ "bbox": [
470
+ 176,
471
+ 162,
472
+ 560,
473
+ 178
474
+ ],
475
+ "page_idx": 4
476
+ },
477
+ {
478
+ "type": "text",
479
+ "text": "3.1 ARCHITECTURE ",
480
+ "text_level": 1,
481
+ "bbox": [
482
+ 176,
483
+ 188,
484
+ 326,
485
+ 203
486
+ ],
487
+ "page_idx": 4
488
+ },
489
+ {
490
+ "type": "text",
491
+ "text": "We use unsupervised word vectors that were trained using fastText2. These correspond to monolingual embeddings of dimension 300 trained on Wikipedia corpora; therefore, the mapping $W$ has size $3 0 0 \\times 3 0 0$ . Words are lower-cased, and those that appear less than 5 times are discarded for training. As a post-processing step, we only select the first $2 0 0 \\mathrm { k }$ most frequent words in our experiments. ",
492
+ "bbox": [
493
+ 174,
494
+ 213,
495
+ 825,
496
+ 268
497
+ ],
498
+ "page_idx": 4
499
+ },
500
+ {
501
+ "type": "text",
502
+ "text": "For our discriminator, we use a multilayer perceptron with two hidden layers of size 2048, and Leaky-ReLU activation functions. The input to the discriminator is corrupted with dropout noise with a rate of 0.1. As suggested by Goodfellow (2016), we include a smoothing coefficient $s = 0 . 2$ in the discriminator predictions. We use stochastic gradient descent with a batch size of 32, a learning rate of 0.1 and a decay of 0.95 both for the discriminator and $W$ . We divide the learning rate by 2 every time our unsupervised validation criterion decreases. ",
503
+ "bbox": [
504
+ 174,
505
+ 275,
506
+ 825,
507
+ 359
508
+ ],
509
+ "page_idx": 4
510
+ },
511
+ {
512
+ "type": "text",
513
+ "text": "3.2 DISCRIMINATOR INPUTS ",
514
+ "text_level": 1,
515
+ "bbox": [
516
+ 176,
517
+ 375,
518
+ 383,
519
+ 388
520
+ ],
521
+ "page_idx": 4
522
+ },
523
+ {
524
+ "type": "text",
525
+ "text": "The embedding quality of rare words is generally not as good as the one of frequent words (Luong et al., 2013), and we observed that feeding the discriminator with rare words had a small, but not negligible negative impact. As a result, we only feed the discriminator with the 50,000 most frequent words. At each training step, the word embeddings given to the discriminator are sampled uniformly. Sampling them according to the word frequency did not have any noticeable impact on the results. ",
526
+ "bbox": [
527
+ 174,
528
+ 400,
529
+ 825,
530
+ 469
531
+ ],
532
+ "page_idx": 4
533
+ },
534
+ {
535
+ "type": "text",
536
+ "text": "3.3 ORTHOGONALITY ",
537
+ "text_level": 1,
538
+ "bbox": [
539
+ 176,
540
+ 486,
541
+ 338,
542
+ 500
543
+ ],
544
+ "page_idx": 4
545
+ },
546
+ {
547
+ "type": "text",
548
+ "text": "Smith et al. (2017) showed that imposing an orthogonal constraint to the linear operator led to better performance. Using an orthogonal matrix has several advantages. First, it ensures that the monolingual quality of the embeddings is preserved. Indeed, an orthogonal matrix preserves the dot product of vectors, as well as their $\\ell _ { 2 }$ distances, and is therefore an isometry of the Euclidean space (such as a rotation). Moreover, it made the training procedure more stable in our experiments. In this work, we propose to use a simple update step to ensure that the matrix $W$ stays close to an orthogonal matrix during training (Cisse et al. (2017)). Specifically, we alternate the update of our model with the following update rule on the matrix $W$ : ",
549
+ "bbox": [
550
+ 173,
551
+ 511,
552
+ 825,
553
+ 622
554
+ ],
555
+ "page_idx": 4
556
+ },
557
+ {
558
+ "type": "equation",
559
+ "img_path": "images/6ded409412615a0dd0ccd627c8e852bfe045b3f8a9da3e444d467a61c6891bb0.jpg",
560
+ "text": "$$\n\\boldsymbol { W } ( 1 + \\beta ) \\boldsymbol { W } - \\beta ( \\boldsymbol { W } \\boldsymbol { W } ^ { T } ) \\boldsymbol { W }\n$$",
561
+ "text_format": "latex",
562
+ "bbox": [
563
+ 388,
564
+ 627,
565
+ 611,
566
+ 646
567
+ ],
568
+ "page_idx": 4
569
+ },
570
+ {
571
+ "type": "text",
572
+ "text": "where $\\beta = 0 . 0 1$ is usually found to perform well. This method ensures that the matrix stays close to the manifold of orthogonal matrices after each update. In practice, we observe that the eigenvalues of our matrices all have a modulus close to 1, as expected. ",
573
+ "bbox": [
574
+ 174,
575
+ 650,
576
+ 825,
577
+ 693
578
+ ],
579
+ "page_idx": 4
580
+ },
581
+ {
582
+ "type": "text",
583
+ "text": "3.4 DICTIONARY GENERATION ",
584
+ "text_level": 1,
585
+ "bbox": [
586
+ 176,
587
+ 709,
588
+ 400,
589
+ 723
590
+ ],
591
+ "page_idx": 4
592
+ },
593
+ {
594
+ "type": "text",
595
+ "text": "The refinement step requires to generate a new dictionary at each iteration. In order for the Procrustes solution to work well, it is best to apply it on correct word pairs. As a result, we use the CSLS method described in Section 2.3 to select more accurate translation pairs in the dictionary. To increase even more the quality of the dictionary, and ensure that $W$ is learned from correct translation pairs, we only consider mutual nearest neighbors, i.e. pairs of words that are mutually nearest neighbors of each other according to CSLS. This significantly decreases the size of the generated dictionary, but improves its accuracy, as well as the overall performance. ",
596
+ "bbox": [
597
+ 174,
598
+ 733,
599
+ 825,
600
+ 832
601
+ ],
602
+ "page_idx": 4
603
+ },
604
+ {
605
+ "type": "text",
606
+ "text": "3.5 VALIDATION CRITERION FOR UNSUPERVISED MODEL SELECTION",
607
+ "text_level": 1,
608
+ "bbox": [
609
+ 176,
610
+ 848,
611
+ 661,
612
+ 861
613
+ ],
614
+ "page_idx": 4
615
+ },
616
+ {
617
+ "type": "text",
618
+ "text": "Selecting the best model is a challenging, yet important task in the unsupervised setting, as it is not possible to use a validation set (using a validation set would mean that we possess parallel data). To address this issue, we perform model selection using an unsupervised criterion that quantifies the closeness of the source and target embedding spaces. Specifically, we consider the $1 0 \\mathrm { k }$ most frequent source words, and use CSLS to generate a translation for each of them. We then compute the average cosine similarity between these deemed translations, and use this average as a validation metric. We found that this simple criterion is better correlated with the performance on the evaluation tasks than optimal transport distances such as the Wasserstein distance (Rubner et al. (2000)). Figure 2 shows the correlation between the evaluation score and this unsupervised criterion (without stabilization by learning rate shrinkage). We use it as a stopping criterion during training, and also for hyperparameter selection in all our experiments. ",
619
+ "bbox": [
620
+ 178,
621
+ 872,
622
+ 823,
623
+ 900
624
+ ],
625
+ "page_idx": 4
626
+ },
627
+ {
628
+ "type": "image",
629
+ "img_path": "images/1e02f98edd43edf80496c882b227ef5de282d19a885425a598178ddb6518f5c1.jpg",
630
+ "image_caption": [
631
+ "Figure 2: Unsupervised model selection. Correlation between our unsupervised validation criterion (black line) and actual word translation accuracy (blue line). In this particular experiment, the selected model is at epoch 10. Observe how our criterion is well correlated with translation accuracy. "
632
+ ],
633
+ "image_footnote": [],
634
+ "bbox": [
635
+ 173,
636
+ 103,
637
+ 509,
638
+ 267
639
+ ],
640
+ "page_idx": 5
641
+ },
642
+ {
643
+ "type": "text",
644
+ "text": "",
645
+ "bbox": [
646
+ 173,
647
+ 285,
648
+ 825,
649
+ 410
650
+ ],
651
+ "page_idx": 5
652
+ },
653
+ {
654
+ "type": "text",
655
+ "text": "4 EXPERIMENTS ",
656
+ "text_level": 1,
657
+ "bbox": [
658
+ 176,
659
+ 435,
660
+ 326,
661
+ 452
662
+ ],
663
+ "page_idx": 5
664
+ },
665
+ {
666
+ "type": "text",
667
+ "text": "In this section, we empirically demonstrate the effectiveness of our unsupervised approach on several benchmarks, and compare it with state-of-the-art supervised methods. We first present the cross-lingual evaluation tasks that we consider to evaluate the quality of our cross-lingual word embeddings. Then, we present our baseline model. Last, we compare our unsupervised approach to our baseline and to previous methods. In the appendix, we offer a complementary analysis on the alignment of several sets of English embeddings trained with different methods and corpora. ",
668
+ "bbox": [
669
+ 174,
670
+ 467,
671
+ 825,
672
+ 551
673
+ ],
674
+ "page_idx": 5
675
+ },
676
+ {
677
+ "type": "text",
678
+ "text": "4.1 EVALUATION TASKS ",
679
+ "text_level": 1,
680
+ "bbox": [
681
+ 176,
682
+ 577,
683
+ 354,
684
+ 590
685
+ ],
686
+ "page_idx": 5
687
+ },
688
+ {
689
+ "type": "text",
690
+ "text": "Word translation The task considers the problem of retrieving the translation of given source words. The problem with most available bilingual dictionaries is that they are generated using online tools like Google Translate, and do not take into account the polysemy of words. Failing to capture word polysemy in the vocabulary leads to a wrong evaluation of the quality of the word embedding space. Other dictionaries are generated using phrase tables of machine translation systems, but they are very noisy or trained on relatively small parallel corpora. For this task, we create high-quality dictionaries of up to $1 0 0 \\mathrm { k }$ pairs of words using an internal translation tool to alleviate this issue. We make these dictionaries publicly available as part of the MUSE library3. ",
691
+ "bbox": [
692
+ 174,
693
+ 604,
694
+ 825,
695
+ 690
696
+ ],
697
+ "page_idx": 5
698
+ },
699
+ {
700
+ "type": "table",
701
+ "img_path": "images/752ad2bfab23cabc66904665bfe78d7b667b6d15d8532172d11b0916ee58e951.jpg",
702
+ "table_caption": [],
703
+ "table_footnote": [
704
+ "Table 1: Word translation retrieval P@1 for our released vocabularies in various language pairs. We consider 1,500 source test queries, and 200k target words for each language pair. We use fastText embeddings trained on Wikipedia. NN: nearest neighbors. ISF: inverted softmax. (’en’ is English, ’fr’ is French, ’de’ is German, ’ru’ is Russian, ’zh’ is classical Chinese and ’eo’ is Esperanto) "
705
+ ],
706
+ "table_body": "<table><tr><td></td><td>en-es es-en</td><td>en-fr fr-en</td><td></td><td>en-de de-en</td><td></td><td>en-ru ru-en</td><td>en-zh zh-en</td><td></td><td></td><td>en-eo eo-en</td></tr><tr><td colspan=\"9\">Methodswith cross-lingual supervision and fastText embeddings</td></tr><tr><td>Procrustes - NN</td><td>77.4 77.3</td><td>74.9</td><td>76.1</td><td>68.4 67.7</td><td>47.0</td><td>58.2</td><td></td><td>40.630.2</td><td></td><td>22.120.4</td></tr><tr><td>Procrustes - ISF</td><td>81.1 82.6</td><td>81.1</td><td>81.3</td><td>71.1</td><td>71.5</td><td>49.563.8</td><td></td><td>35.7 37.5</td><td></td><td>29.0 27.9</td></tr><tr><td>Procrustes - CSLS</td><td>81.4 82.9</td><td>81.1</td><td>82.4</td><td>73.572.4</td><td>51.7</td><td>63.7</td><td></td><td>42.7 36.7</td><td></td><td>29.3 25.3</td></tr><tr><td colspan=\"9\"> Methods without cross-lingual supervision and fastText embeddings</td></tr><tr><td>Adv - NN</td><td>69.8 71.3</td><td>70.4</td><td>61.9</td><td>63.1 59.6</td><td>29.1</td><td>41.5</td><td>18.5</td><td>22.3</td><td>13.5</td><td>12.1</td></tr><tr><td>Adv - CSLS</td><td>75.7</td><td>79.7 77.8</td><td>71.2</td><td>70.1</td><td>66.4</td><td>37.2 48.1</td><td>23.4</td><td>28.3</td><td>18.6</td><td>16.6</td></tr><tr><td>Adv - Refine - NN</td><td>79.1 78.1</td><td>78.1</td><td>78.2</td><td>71.3</td><td>69.6</td><td>37.3 54.3</td><td>30.9</td><td>21.9</td><td>20.7</td><td>20.6</td></tr><tr><td>Adv - Refine - CSLS</td><td>81.7 83.3</td><td>82.3</td><td>82.1</td><td>74.0</td><td>72.2</td><td>44.0 59.1</td><td>32.5</td><td>31.4</td><td>28.2</td><td>25.6</td></tr></table>",
707
+ "bbox": [
708
+ 171,
709
+ 719,
710
+ 826,
711
+ 857
712
+ ],
713
+ "page_idx": 5
714
+ },
715
+ {
716
+ "type": "table",
717
+ "img_path": "images/e4af0c708e9c27fadd27d0ff5ca9bfc3688fb3dce2570d67adb5fefe8269526e.jpg",
718
+ "table_caption": [
719
+ "Table 2: English-Italian word translation average precisions $( \\ @ 1$ , $@ 5 .$ , $@ 1 0 )$ from $1 . 5 \\mathrm { k }$ source word queries using $2 0 0 \\mathrm { k }$ target words. Results marked with the symbol † are from Smith et al. (2017). Wiki means the embeddings were trained on Wikipedia using fastText. Note that the method used by Artetxe et al. (2017) does not use the same supervision as other supervised methods, as they only use numbers in their initial parallel dictionary. "
720
+ ],
721
+ "table_footnote": [],
722
+ "table_body": "<table><tr><td rowspan=1 colspan=1></td><td rowspan=2 colspan=2>English to Italian Italian to EnglishP@1 P@5 P@10P@1 P@5 P@10Methodswith cross-lingual supervision (WaCky)</td></tr><tr><td rowspan=1 colspan=1>Methodswith cross-lingual supervision (WaCky)</td></tr><tr><td rowspan=2 colspan=1>Mikolov et al. (2013b)Dinu et al. (2015)tCCA+Artetxe et al. (2017)Smith et al. (2017)tProcrustes - CSLS</td><td rowspan=2 colspan=1>33.848.3 53.938.556.4 63.936.152.7 58.139.754.7 60.543.160.7 66.444.961.866.6</td><td rowspan=1 colspan=1>24.941.0 47.4</td></tr><tr><td rowspan=1 colspan=1>24.645.4 54.131.049.9 57.033.852.4 59.138.058.5 63.638.557.2 63.0</td></tr><tr><td rowspan=1 colspan=1>Methodswithoutcross-li</td><td rowspan=1 colspan=2>Methodswithout cross-lingual supervision (WaCky)</td></tr><tr><td rowspan=1 colspan=1>Adv - Refine- CSLS</td><td rowspan=1 colspan=1>45.160.7 65.1</td><td rowspan=1 colspan=1>38.357.8 62.8</td></tr><tr><td rowspan=1 colspan=3>Methodswith cross-lingual supervision(Wiki)</td></tr><tr><td rowspan=1 colspan=3>Procrustes- CSLS 63.778.6 81.1 56.376.2 80.6</td></tr><tr><td rowspan=1 colspan=3>Methods without cross-lingual supervision (Wiki)</td></tr><tr><td rowspan=1 colspan=1>Adv - Refine - CSLS</td><td rowspan=1 colspan=1>66.280.483.4</td><td rowspan=1 colspan=1>58.776.5 80.9</td></tr></table>",
723
+ "bbox": [
724
+ 173,
725
+ 99,
726
+ 586,
727
+ 314
728
+ ],
729
+ "page_idx": 6
730
+ },
731
+ {
732
+ "type": "text",
733
+ "text": "",
734
+ "bbox": [
735
+ 174,
736
+ 334,
737
+ 823,
738
+ 363
739
+ ],
740
+ "page_idx": 6
741
+ },
742
+ {
743
+ "type": "text",
744
+ "text": "We report results on these bilingual dictionaries, as well on those released by Dinu et al. (2015) to allow for a direct comparison with previous approaches. For each language pair, we consider 1,500 query source and $2 0 0 \\mathrm { k }$ target words. Following standard practice, we measure how many times one of the correct translations of a source word is retrieved, and report precision $@ k$ for $k = 1 , 5 , 1 0$ . ",
745
+ "bbox": [
746
+ 174,
747
+ 368,
748
+ 825,
749
+ 424
750
+ ],
751
+ "page_idx": 6
752
+ },
753
+ {
754
+ "type": "text",
755
+ "text": "Cross-lingual semantic word similarity We also evaluate the quality of our cross-lingual word embeddings space using word similarity tasks. This task aims at evaluating how well the cosine similarity between two words of different languages correlates with a human-labeled score. We use the SemEval 2017 competition data (Camacho-Collados et al. (2017)) which provides large, highquality and well-balanced datasets composed of nominal pairs that are manually scored according to a well-defined similarity scale. We report Pearson correlation. ",
756
+ "bbox": [
757
+ 173,
758
+ 440,
759
+ 825,
760
+ 525
761
+ ],
762
+ "page_idx": 6
763
+ },
764
+ {
765
+ "type": "text",
766
+ "text": "Sentence translation retrieval Going from the word to the sentence level, we consider bag-ofwords aggregation methods to perform sentence retrieval on the Europarl corpus. We consider 2,000 source sentence queries and $2 0 0 \\mathrm { k }$ target sentences for each language pair and report the precision $@ k$ for $k = 1 , 5 , 1 0$ , which accounts for the fraction of pairs for which the correct translation of the source words is in the $k$ -th nearest neighbors. We use the idf-weighted average to merge word into sentence embeddings. The idf weights are obtained using other $3 0 0 \\mathrm { k }$ sentences from Europarl. ",
767
+ "bbox": [
768
+ 174,
769
+ 541,
770
+ 825,
771
+ 625
772
+ ],
773
+ "page_idx": 6
774
+ },
775
+ {
776
+ "type": "text",
777
+ "text": "4.2 RESULTS AND DISCUSSION ",
778
+ "text_level": 1,
779
+ "bbox": [
780
+ 176,
781
+ 642,
782
+ 400,
783
+ 656
784
+ ],
785
+ "page_idx": 6
786
+ },
787
+ {
788
+ "type": "text",
789
+ "text": "In what follows, we present the results on word translation retrieval using our bilingual dictionaries in Table 1 and our comparison to previous work in Table 2 where we significantly outperform previous approaches. We also present results on the sentence translation retrieval task in Table 3 and the cross-lingual word similarity task in Table 4. Finally, we present results on word-by-word translation for English-Esperanto in Table 5. ",
790
+ "bbox": [
791
+ 174,
792
+ 669,
793
+ 825,
794
+ 738
795
+ ],
796
+ "page_idx": 6
797
+ },
798
+ {
799
+ "type": "text",
800
+ "text": "Baselines In our experiments, we consider a supervised baseline that uses the solution of the Procrustes formula given in (2), and trained on a dictionary of 5,000 source words. This baseline can be combined with different similarity measures: NN for nearest neighbor similarity, ISF for Inverted SoftMax and the CSLS approach described in Section 2.2. ",
801
+ "bbox": [
802
+ 174,
803
+ 755,
804
+ 825,
805
+ 810
806
+ ],
807
+ "page_idx": 6
808
+ },
809
+ {
810
+ "type": "text",
811
+ "text": "Cross-domain similarity local scaling This approach has a single parameter $K$ defining the size of the neighborhood. The performance is very stable and therefore $K$ does not need cross-validation: the results are essentially the same for $K = 5$ , 10 and 50, therefore we set $K = 1 0$ in all experiments. In Table 1, we observe the impact of the similarity metric with the Procrustes supervised approach. Looking at the difference between Procrustes-NN and Procrustes-CSLS, one can see that CSLS provides a strong and robust gain in performance across all language pairs, with up to $7 . 2 \\%$ in eneo. We observe that Procrustes-CSLS is almost systematically better than Procrustes-ISF, while being computationally faster and not requiring hyper-parameter tuning. In Table 2, we compare our Procrustes-CSLS approach to previous models presented in Mikolov et al. (2013b); Dinu et al. (2015); Smith et al. (2017); Artetxe et al. (2017) on the English-Italian word translation task, on which state-of-the-art models have been already compared. We show that our Procrustes-CSLS approach obtains an accuracy of $4 4 . 9 \\%$ , outperforming all previous approaches. In Table 3, we also obtain a strong gain in accuracy in the Italian-English sentence retrieval task using CSLS, from $5 3 . 5 \\%$ to $6 9 . 5 \\%$ , outperforming previous approaches by an absolute gain of more than $20 \\%$ . ",
812
+ "bbox": [
813
+ 174,
814
+ 827,
815
+ 823,
816
+ 896
817
+ ],
818
+ "page_idx": 6
819
+ },
820
+ {
821
+ "type": "table",
822
+ "img_path": "images/3d368be84747c63fa692c25f76e6987df0da091b261800005da8388aa81c1563.jpg",
823
+ "table_caption": [
824
+ "Table 3: English-Italian sentence translation retrieval. We report the average $\\mathbf { P } @ \\mathbf { k }$ from 2,000 source queries using 200,000 target sentences. We use the same embeddings as in Smith et al. (2017). Their results are marked with the symbol †. "
825
+ ],
826
+ "table_footnote": [],
827
+ "table_body": "<table><tr><td></td><td>English to Italian P@1 P@5 P@10</td><td>Italian to English P@1 P@5 P@10</td></tr><tr><td colspan=\"3\">Methods with cross-lingual supervision</td></tr><tr><td>Mikolov et al. (2013b) Dinu et al. (2015) † Smith et al. (2017) t Procrustes - NN</td><td>10.5 18.7 22.8 45.3 72.4 80.7 54.6 72.7 78.2 42.6 54.7 59.0</td><td>12.0 22.1 48.9 71.3 42.9 62.2 53.5 65.5</td><td>26.7 78.3 69.2 69.5</td></tr><tr><td colspan=\"3\">Procrustes - CSLS 66.1 77.1 80.7 69.5 79.6 83.5</td></tr><tr><td>Methods without cross-lingual supervision Adv- CSLS 42.5</td><td>57.6 63.6</td><td>47.0</td><td>62.1 67.8</td></tr></table>",
828
+ "bbox": [
829
+ 173,
830
+ 99,
831
+ 596,
832
+ 255
833
+ ],
834
+ "page_idx": 7
835
+ },
836
+ {
837
+ "type": "text",
838
+ "text": "",
839
+ "bbox": [
840
+ 173,
841
+ 275,
842
+ 825,
843
+ 400
844
+ ],
845
+ "page_idx": 7
846
+ },
847
+ {
848
+ "type": "text",
849
+ "text": "Impact of the monolingual embeddings For the word translation task, we obtained a significant boost in performance when considering fastText embeddings trained on Wikipedia, as opposed to previously used CBOW embeddings trained on the WaCky datasets (Baroni et al. (2009)), as can been seen in Table 2. Among the two factors of variation, we noticed that this boost in performance was mostly due to the change in corpora. The fastText embeddings, which incorporates more syntactic information about the words, obtained only two percent more accuracy compared to CBOW embeddings trained on the same corpus, out of the $1 8 . 8 \\%$ gain. We hypothesize that this gain is due to the similar co-occurrence statistics of Wikipedia corpora. Figure 3 in the appendix shows results on the alignment of different monolingual embeddings and concurs with this hypothesis. We also obtained better results for monolingual evaluation tasks such as word similarities and word analogies when training our embeddings on the Wikipedia corpora. ",
850
+ "bbox": [
851
+ 174,
852
+ 417,
853
+ 825,
854
+ 570
855
+ ],
856
+ "page_idx": 7
857
+ },
858
+ {
859
+ "type": "text",
860
+ "text": "Adversarial approach Table 1 shows that the adversarial approach provides a strong system for learning cross-lingual embeddings without parallel data. On the es-en and en-fr language pairs, Adv-CSLS obtains a $\\mathrm { P @ 1 }$ of $7 9 . 7 \\%$ and $7 7 . 8 \\%$ , which is only $3 . 2 \\%$ and $3 . 3 \\%$ below the supervised approach. Additionally, we observe that most systems still obtain decent results on distant languages that do not share a common alphabet (en-ru and en-zh), for which method exploiting identical character strings are just not applicable (Artetxe et al. (2017)). This method allows us to build a strong synthetic vocabulary using similarities obtained with CSLS. The gain in absolute accuracy observed with CSLS on the Procrustes method is even more important here, with differences between $A d \\nu – N N$ and Adv-CSLS of up to $8 . 4 \\%$ on es-en. As a simple baseline, we tried to match the first two moments of the projected source and target embeddings, which amounts to solving $W ^ { \\star } \\in \\mathrm { \\ a r g m i n } _ { W }$ $\\| ( W X ) ^ { T } ( \\dot { W } \\dot { X } ) - Y ^ { T } Y \\| _ { \\mathrm { F } }$ and solving the sign ambiguity (Umeyama, 1988). This attempt was not successful, which we explain by the fact that this method tries to align only the first two moments, while adversarial training matches all the moments and can learn to focus on specific areas of the distributions instead of considering global statistics. ",
861
+ "bbox": [
862
+ 174,
863
+ 587,
864
+ 825,
865
+ 781
866
+ ],
867
+ "page_idx": 7
868
+ },
869
+ {
870
+ "type": "text",
871
+ "text": "Refinement: closing the gap with supervised approaches The refinement step on the synthetic bilingual vocabulary constructed after adversarial training brings an additional and significant gain in performance, closing the gap between our approach and the supervised baseline. In Table 1, we observe that our unsupervised method even outperforms our strong supervised baseline on en-it and en-es, and is able to retrieve the correct translation of a source word with up to $83 \\%$ accuracy. The better performance of the unsupervised approach can be explained by the strong similarity of cooccurrence statistics between the languages, and by the limitation in the supervised approach that uses a pre-defined fixed-size vocabulary (of 5,000 unique source words): in our case the refinement step can potentially use more anchor points. In Table 3, we also observe a strong gain in accuracy (up to $1 5 \\%$ ) on sentence retrieval using bag-of-words embeddings, which is consistent with the gain observed on the word retrieval task. ",
872
+ "bbox": [
873
+ 173,
874
+ 799,
875
+ 825,
876
+ 924
877
+ ],
878
+ "page_idx": 7
879
+ },
880
+ {
881
+ "type": "table",
882
+ "img_path": "images/2120db5a0427eef1cbc8d0be24152198c94cbc9ef3ee6ca6665f3cb52cc0639b.jpg",
883
+ "table_caption": [],
884
+ "table_footnote": [
885
+ "Table 4: Cross-lingual wordsim task. NASARI (Camacho-Collados et al. (2016)) refers to the official SemEval2017 baseline. We report Pearson correlation. "
886
+ ],
887
+ "table_body": "<table><tr><td>SemEval 2017</td><td>en-es</td><td>en-de</td><td>en-it</td></tr><tr><td colspan=\"4\">Methodswith cross-lingual supervision</td></tr><tr><td>NASARI our baseline</td><td>0.64 0.72</td><td>0.60 0.72</td><td>0.65 0.71</td></tr><tr><td colspan=\"4\">Methods without cross-lingual supervision</td></tr><tr><td>Adv</td><td>0.69</td><td>0.70</td><td>0.67</td></tr><tr><td>Adv -Refine</td><td>0.71</td><td>0.71</td><td>0.71</td></tr></table>",
888
+ "bbox": [
889
+ 196,
890
+ 99,
891
+ 470,
892
+ 199
893
+ ],
894
+ "page_idx": 8
895
+ },
896
+ {
897
+ "type": "table",
898
+ "img_path": "images/6138040d0a68dc83530ec561351fc03558060c597d5a207e165b802621f10d43.jpg",
899
+ "table_caption": [
900
+ "Table 5: BLEU score on English-Esperanto. Although being a naive approach, word-byword translation is enough to get a rough idea of the input sentence. The quality of the generated dictionary has a significant impact on the BLEU score. "
901
+ ],
902
+ "table_footnote": [],
903
+ "table_body": "<table><tr><td></td><td>en-eo</td><td>eo-en</td></tr><tr><td>Dictionary - NN</td><td>6.1</td><td>11.9</td></tr><tr><td>Dictionary - CSLS</td><td>11.1</td><td>14.3</td></tr></table>",
904
+ "bbox": [
905
+ 557,
906
+ 116,
907
+ 795,
908
+ 156
909
+ ],
910
+ "page_idx": 8
911
+ },
912
+ {
913
+ "type": "text",
914
+ "text": "",
915
+ "bbox": [
916
+ 176,
917
+ 270,
918
+ 821,
919
+ 297
920
+ ],
921
+ "page_idx": 8
922
+ },
923
+ {
924
+ "type": "text",
925
+ "text": "Application to a low-resource language pair and to machine translation Our method is particularly suited for low-resource languages for which there only exists a very limited amount of parallel data. We apply it to the English-Esperanto language pair. We use the fastText embeddings trained on Wikipedia, and create a dictionary based on an online lexicon. The performance of our unsupervised approach on English-Esperanto is of $2 8 . 2 \\%$ , compared to $2 9 . 3 \\%$ with the supervised method. On Esperanto-English, our unsupervised approach obtains $2 5 . 6 \\%$ , which is $1 . 3 \\%$ better than the supervised method. The dictionary we use for that language pair does not take into account the polysemy of words, which explains why the results are lower than on other language pairs. People commonly report the $\\mathrm { P @ 5 }$ to alleviate this issue. In particular, the $\\mathrm { P @ 5 }$ for English-Esperanto and Esperanto-English is of $4 6 . 5 \\%$ and $4 3 . 9 \\%$ respectively. ",
926
+ "bbox": [
927
+ 174,
928
+ 313,
929
+ 825,
930
+ 452
931
+ ],
932
+ "page_idx": 8
933
+ },
934
+ {
935
+ "type": "text",
936
+ "text": "To show the impact of such a dictionary on machine translation, we apply it to the English-Esperanto Tatoeba corpora (Tiedemann, 2012). We remove all pairs containing sentences with unknown words, resulting in about $6 0 \\mathrm { k }$ pairs. Then, we translate sentences in both directions by doing word-byword translation. In Table 5, we report the BLEU score with this method, when using a dictionary generated using nearest neighbors, and CSLS. With CSLS, this naive approach obtains 11.1 and 14.3 BLEU on English-Esperanto and Esperanto-English respectively. Table 6 in the appendix shows some examples of sentences in Esperanto translated into English using word-by-word translation. As one can see, the meaning is mostly conveyed in the translated sentences, but the translations contain some simple errors. For instance, the “mi” is translated into “sorry” instead of “i”, etc. The translations could easily be improved using a language model. ",
937
+ "bbox": [
938
+ 174,
939
+ 458,
940
+ 825,
941
+ 597
942
+ ],
943
+ "page_idx": 8
944
+ },
945
+ {
946
+ "type": "text",
947
+ "text": "5 RELATED WORK ",
948
+ "text_level": 1,
949
+ "bbox": [
950
+ 176,
951
+ 613,
952
+ 341,
953
+ 630
954
+ ],
955
+ "page_idx": 8
956
+ },
957
+ {
958
+ "type": "text",
959
+ "text": "Work on bilingual lexicon induction without parallel corpora has a long tradition, starting with the seminal works by Rapp (1995) and Fung (1995). Similar to our approach, they exploit the Harris (1954) distributional structure, but using discrete word representations such as TF-IDF vectors. Following studies by Fung & Yee (1998); Rapp (1999); Schafer & Yarowsky (2002); Koehn & Knight (2002); Haghighi et al. (2008); Irvine & Callison-Burch (2013) leverage statistical similarities between two languages to learn small dictionaries of a few hundred words. These methods need to be initialized with a seed bilingual lexicon, using for instance the edit distance between source and target words. This can be seen as prior knowledge, only available for closely related languages. There is also a large amount of studies in statistical decipherment, where the machine translation problem is reduced to a deciphering problem, and the source language is considered as a ciphertext (Ravi & Knight, 2011; Pourdamghani & Knight, 2017). Although initially not based on distributional semantics, recent studies show that the use of word embeddings can bring significant improvement in statistical decipherment (Dou et al., 2015). ",
960
+ "bbox": [
961
+ 174,
962
+ 640,
963
+ 825,
964
+ 819
965
+ ],
966
+ "page_idx": 8
967
+ },
968
+ {
969
+ "type": "text",
970
+ "text": "The rise of distributed word embeddings has revived some of these approaches, now with the goal of aligning embedding spaces instead of just aligning vocabularies. Cross-lingual word embeddings can be used to extract bilingual lexicons by computing the nearest neighbor of a source word, but also allow other applications such as sentence retrieval or cross-lingual document classification (Klementiev et al., 2012). In general, they are used as building blocks for various cross-lingual language processing systems. More recently, several approaches have been proposed to learn bilingual dictionaries mapping from the source to the target space (Mikolov et al., 2013b; Zou et al., 2013; Faruqui & Dyer, 2014; Ammar et al., 2016). In particular, Xing et al. (2015) showed that adding an orthogonality constraint to the mapping can significantly improve performance, and has a closed-form solution. This approach was further referred to as the Procrustes approach in Smith et al. (2017). ",
971
+ "bbox": [
972
+ 174,
973
+ 827,
974
+ 823,
975
+ 924
976
+ ],
977
+ "page_idx": 8
978
+ },
979
+ {
980
+ "type": "text",
981
+ "text": "",
982
+ "bbox": [
983
+ 176,
984
+ 103,
985
+ 821,
986
+ 145
987
+ ],
988
+ "page_idx": 9
989
+ },
990
+ {
991
+ "type": "text",
992
+ "text": "The hubness problem for cross-lingual word embedding spaces was investigated by Dinu et al. (2015). The authors added a correction to the word retrieval algorithm by incorporating a nearest neighbors reciprocity term. More similar to our cross-domain similarity local scaling approach, Smith et al. (2017) introduced the inverted-softmax to down-weight similarities involving oftenretrieved hub words. Intuitively, given a query source word and a candidate target word, they estimate the probability that the candidate translates back to the query, rather than the probability that the query translates to the candidate. ",
993
+ "bbox": [
994
+ 174,
995
+ 151,
996
+ 823,
997
+ 248
998
+ ],
999
+ "page_idx": 9
1000
+ },
1001
+ {
1002
+ "type": "text",
1003
+ "text": "Recent work by Smith et al. (2017) leveraged identical character strings in both source and target languages to create a dictionary with low supervision, on which they applied the Procrustes algorithm. Similar to this approach, recent work by Artetxe et al. (2017) used identical digits and numbers to form an initial seed dictionary, and performed an update similar to our refinement step, but iteratively until convergence. While they showed they could obtain good results using as little as twenty parallel words, their method still needs cross-lingual information and is not suitable for languages that do not share a common alphabet. For instance, the method of Artetxe et al. (2017) on our dataset does not work on the word translation task for any of the language pairs, because the digits were filtered out from the datasets used to train the fastText embeddings. This iterative EMbased algorithm initialized with a seed lexicon has also been explored in other studies (Haghighi et al., 2008; Kondrak et al., 2017). ",
1004
+ "bbox": [
1005
+ 174,
1006
+ 256,
1007
+ 825,
1008
+ 407
1009
+ ],
1010
+ "page_idx": 9
1011
+ },
1012
+ {
1013
+ "type": "text",
1014
+ "text": "There has been a few attempts to align monolingual word vector spaces with no supervision. Similar to our work, Zhang et al. (2017b) employed adversarial training, but their approach is different than ours in multiple ways. First, they rely on sharp drops of the discriminator accuracy for model selection. In our experiments, their model selection criterion does not correlate with the overall model performance, as shown in Figure 2. Furthermore, it does not allow for hyper-parameters tuning, since it selects the best model over a single experiment. We argue it is a serious limitation, since the best hyper-parameters vary significantly across language pairs. Despite considering small vocabularies of a few thousand words, their method obtained weak results compared to supervised approaches. More recently, Zhang et al. (2017a) proposed to minimize the earth-mover distance after adversarial training. They compare their results only to their supervised baseline trained with a small seed lexicon, which is one to two orders of magnitude smaller than what we report here. ",
1015
+ "bbox": [
1016
+ 174,
1017
+ 415,
1018
+ 825,
1019
+ 568
1020
+ ],
1021
+ "page_idx": 9
1022
+ },
1023
+ {
1024
+ "type": "text",
1025
+ "text": "6 CONCLUSION ",
1026
+ "text_level": 1,
1027
+ "bbox": [
1028
+ 174,
1029
+ 584,
1030
+ 318,
1031
+ 601
1032
+ ],
1033
+ "page_idx": 9
1034
+ },
1035
+ {
1036
+ "type": "text",
1037
+ "text": "In this work, we show for the first time that one can align word embedding spaces without any cross-lingual supervision, i.e., solely based on unaligned datasets of each language, while reaching or outperforming the quality of previous supervised approaches in several cases. Using adversarial training, we are able to initialize a linear mapping between a source and a target space, which we also use to produce a synthetic parallel dictionary. It is then possible to apply the same techniques proposed for supervised techniques, namely a Procrustean optimization. Two key ingredients contribute to the success of our approach: First we propose a simple criterion that is used as an effective unsupervised validation metric. Second we propose the similarity measure CSLS, which mitigates the hubness problem and drastically increases the word translation accuracy. As a result, our approach produces high-quality dictionaries between different pairs of languages, with up to $8 3 . 3 \\%$ on the Spanish-English word translation task. This performance is on par with supervised approaches. Our method is also effective on the English-Esperanto pair, thereby showing that it works for lowresource language pairs, and can be used as a first step towards unsupervised machine translation. ",
1038
+ "bbox": [
1039
+ 174,
1040
+ 611,
1041
+ 825,
1042
+ 790
1043
+ ],
1044
+ "page_idx": 9
1045
+ },
1046
+ {
1047
+ "type": "text",
1048
+ "text": "ACKNOWLEDGMENTS ",
1049
+ "text_level": 1,
1050
+ "bbox": [
1051
+ 176,
1052
+ 806,
1053
+ 326,
1054
+ 819
1055
+ ],
1056
+ "page_idx": 9
1057
+ },
1058
+ {
1059
+ "type": "text",
1060
+ "text": "We thank Juan Miguel Pino, Moustapha Cisse, Nicolas Usunier, Yann Ollivier, David Lopez-Paz, ´ Alexandre Sablayrolles, and the FAIR team for useful comments and discussions. ",
1061
+ "bbox": [
1062
+ 176,
1063
+ 829,
1064
+ 823,
1065
+ 857
1066
+ ],
1067
+ "page_idx": 9
1068
+ },
1069
+ {
1070
+ "type": "text",
1071
+ "text": "REFERENCES ",
1072
+ "text_level": 1,
1073
+ "bbox": [
1074
+ 176,
1075
+ 102,
1076
+ 287,
1077
+ 117
1078
+ ],
1079
+ "page_idx": 10
1080
+ },
1081
+ {
1082
+ "type": "text",
1083
+ "text": "Waleed Ammar, George Mulcaire, Yulia Tsvetkov, Guillaume Lample, Chris Dyer, and Noah A Smith. Massively multilingual word embeddings. arXiv preprint arXiv:1602.01925, 2016. ",
1084
+ "bbox": [
1085
+ 174,
1086
+ 123,
1087
+ 823,
1088
+ 154
1089
+ ],
1090
+ "page_idx": 10
1091
+ },
1092
+ {
1093
+ "type": "text",
1094
+ "text": "Mikel Artetxe, Gorka Labaka, and Eneko Agirre. Learning principled bilingual mappings of word embeddings while preserving monolingual invariance. Proceedings of EMNLP, 2016. ",
1095
+ "bbox": [
1096
+ 171,
1097
+ 162,
1098
+ 823,
1099
+ 193
1100
+ ],
1101
+ "page_idx": 10
1102
+ },
1103
+ {
1104
+ "type": "text",
1105
+ "text": "Mikel Artetxe, Gorka Labaka, and Eneko Agirre. Learning bilingual word embeddings with (almost) no bilingual data. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 451–462. Association for Computational Linguistics, 2017. ",
1106
+ "bbox": [
1107
+ 173,
1108
+ 203,
1109
+ 825,
1110
+ 260
1111
+ ],
1112
+ "page_idx": 10
1113
+ },
1114
+ {
1115
+ "type": "text",
1116
+ "text": "Marco Baroni, Silvia Bernardini, Adriano Ferraresi, and Eros Zanchetta. The wacky wide web: a collection of very large linguistically processed web-crawled corpora. Language resources and evaluation, 43(3):209–226, 2009. ",
1117
+ "bbox": [
1118
+ 173,
1119
+ 270,
1120
+ 826,
1121
+ 313
1122
+ ],
1123
+ "page_idx": 10
1124
+ },
1125
+ {
1126
+ "type": "text",
1127
+ "text": "Piotr Bojanowski, Edouard Grave, Armand Joulin, and Tomas Mikolov. Enriching word vectors with subword information. Transactions of the Association for Computational Linguistics, 5: 135–146, 2017. ",
1128
+ "bbox": [
1129
+ 173,
1130
+ 324,
1131
+ 826,
1132
+ 366
1133
+ ],
1134
+ "page_idx": 10
1135
+ },
1136
+ {
1137
+ "type": "text",
1138
+ "text": "Jose Camacho-Collados, Mohammad Taher Pilehvar, and Roberto Navigli. Nasari: Integrating ex-´ plicit knowledge and corpus statistics for a multilingual representation of concepts and entities. Artificial Intelligence, 240:36–64, 2016. ",
1139
+ "bbox": [
1140
+ 174,
1141
+ 377,
1142
+ 820,
1143
+ 420
1144
+ ],
1145
+ "page_idx": 10
1146
+ },
1147
+ {
1148
+ "type": "text",
1149
+ "text": "Jose Camacho-Collados, Mohammad Taher Pilehvar, Nigel Collier, and Roberto Navigli. Semeval2017 task 2: Multilingual and cross-lingual semantic word similarity. Proceedings of the 11th International Workshop on Semantic Evaluation (SemEval 2017), 2017. ",
1150
+ "bbox": [
1151
+ 174,
1152
+ 430,
1153
+ 825,
1154
+ 473
1155
+ ],
1156
+ "page_idx": 10
1157
+ },
1158
+ {
1159
+ "type": "text",
1160
+ "text": "Hailong Cao, Tiejun Zhao, Shu Zhang, and Yao Meng. A distribution-based model to learn bilingual word embeddings. Proceedings of COLING, 2016. ",
1161
+ "bbox": [
1162
+ 173,
1163
+ 483,
1164
+ 825,
1165
+ 513
1166
+ ],
1167
+ "page_idx": 10
1168
+ },
1169
+ {
1170
+ "type": "text",
1171
+ "text": "Moustapha Cisse, Piotr Bojanowski, Edouard Grave, Yann Dauphin, and Nicolas Usunier. Parseval networks: Improving robustness to adversarial examples. International Conference on Machine Learning, pp. 854–863, 2017. ",
1172
+ "bbox": [
1173
+ 173,
1174
+ 522,
1175
+ 826,
1176
+ 566
1177
+ ],
1178
+ "page_idx": 10
1179
+ },
1180
+ {
1181
+ "type": "text",
1182
+ "text": "Georgiana Dinu, Angeliki Lazaridou, and Marco Baroni. Improving zero-shot learning by mitigating the hubness problem. International Conference on Learning Representations, Workshop Track, 2015. ",
1183
+ "bbox": [
1184
+ 174,
1185
+ 577,
1186
+ 823,
1187
+ 618
1188
+ ],
1189
+ "page_idx": 10
1190
+ },
1191
+ {
1192
+ "type": "text",
1193
+ "text": "Qing Dou, Ashish Vaswani, Kevin Knight, and Chris Dyer. Unifying bayesian inference and vector space models for improved decipherment. 2015. ",
1194
+ "bbox": [
1195
+ 171,
1196
+ 630,
1197
+ 823,
1198
+ 659
1199
+ ],
1200
+ "page_idx": 10
1201
+ },
1202
+ {
1203
+ "type": "text",
1204
+ "text": "Long Duong, Hiroshi Kanayama, Tengfei Ma, Steven Bird, and Trevor Cohn. Learning crosslingual word embeddings without bilingual corpora. Proceedings of EMNLP, 2016. ",
1205
+ "bbox": [
1206
+ 173,
1207
+ 670,
1208
+ 823,
1209
+ 699
1210
+ ],
1211
+ "page_idx": 10
1212
+ },
1213
+ {
1214
+ "type": "text",
1215
+ "text": "Manaal Faruqui and Chris Dyer. Improving vector space word representations using multilingual correlation. Proceedings of EACL, 2014. ",
1216
+ "bbox": [
1217
+ 174,
1218
+ 709,
1219
+ 823,
1220
+ 738
1221
+ ],
1222
+ "page_idx": 10
1223
+ },
1224
+ {
1225
+ "type": "text",
1226
+ "text": "Pascale Fung. Compiling bilingual lexicon entries from a non-parallel english-chinese corpus. In Proceedings of the Third Workshop on Very Large Corpora, pp. 173–183, 1995. ",
1227
+ "bbox": [
1228
+ 173,
1229
+ 748,
1230
+ 823,
1231
+ 779
1232
+ ],
1233
+ "page_idx": 10
1234
+ },
1235
+ {
1236
+ "type": "text",
1237
+ "text": "Pascale Fung and Lo Yuen Yee. An ir approach for translating new words from nonparallel, comparable texts. In Proceedings of the 17th International Conference on Computational Linguistics - Volume 1, COLING ’98, pp. 414–420. Association for Computational Linguistics, 1998. ",
1238
+ "bbox": [
1239
+ 176,
1240
+ 787,
1241
+ 823,
1242
+ 832
1243
+ ],
1244
+ "page_idx": 10
1245
+ },
1246
+ {
1247
+ "type": "text",
1248
+ "text": "Yaroslav Ganin, Evgeniya Ustinova, Hana Ajakan, Pascal Germain, Hugo Larochelle, Franc¸ois Laviolette, Mario Marchand, and Victor Lempitsky. Domain-adversarial training of neural networks. Journal of Machine Learning Research, 17(59):1–35, 2016. ",
1249
+ "bbox": [
1250
+ 176,
1251
+ 842,
1252
+ 823,
1253
+ 885
1254
+ ],
1255
+ "page_idx": 10
1256
+ },
1257
+ {
1258
+ "type": "text",
1259
+ "text": "Ian Goodfellow. Nips 2016 tutorial: Generative adversarial networks. arXiv preprint arXiv:1701.00160, 2016. ",
1260
+ "bbox": [
1261
+ 174,
1262
+ 895,
1263
+ 825,
1264
+ 924
1265
+ ],
1266
+ "page_idx": 10
1267
+ },
1268
+ {
1269
+ "type": "text",
1270
+ "text": "Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. Advances in neural information processing systems, pp. 2672–2680, 2014. ",
1271
+ "bbox": [
1272
+ 176,
1273
+ 103,
1274
+ 823,
1275
+ 146
1276
+ ],
1277
+ "page_idx": 11
1278
+ },
1279
+ {
1280
+ "type": "text",
1281
+ "text": "Stephan Gouws, Yoshua Bengio, and Greg Corrado. Bilbowa: Fast bilingual distributed representations without word alignments. In Proceedings of the 32nd International Conference on Machine Learning (ICML-15), pp. 748–756, 2015. ",
1282
+ "bbox": [
1283
+ 176,
1284
+ 155,
1285
+ 823,
1286
+ 196
1287
+ ],
1288
+ "page_idx": 11
1289
+ },
1290
+ {
1291
+ "type": "text",
1292
+ "text": "Aria Haghighi, Percy Liang, Taylor Berg-Kirkpatrick, and Dan Klein. Learning bilingual lexicons from monolingual corpora. In Proceedings of the 46th Annual Meeting of the Association for Computational Linguistics, 2008. ",
1293
+ "bbox": [
1294
+ 176,
1295
+ 205,
1296
+ 823,
1297
+ 248
1298
+ ],
1299
+ "page_idx": 11
1300
+ },
1301
+ {
1302
+ "type": "text",
1303
+ "text": "Zellig S Harris. Distributional structure. Word, 10(2-3):146–162, 1954. ",
1304
+ "bbox": [
1305
+ 174,
1306
+ 257,
1307
+ 642,
1308
+ 272
1309
+ ],
1310
+ "page_idx": 11
1311
+ },
1312
+ {
1313
+ "type": "text",
1314
+ "text": "Ann Irvine and Chris Callison-Burch. Supervised bilingual lexicon induction with multiple monolingual signals. In HLT-NAACL, 2013. ",
1315
+ "bbox": [
1316
+ 173,
1317
+ 280,
1318
+ 823,
1319
+ 309
1320
+ ],
1321
+ "page_idx": 11
1322
+ },
1323
+ {
1324
+ "type": "text",
1325
+ "text": "Herve Jegou, Cordelia Schmid, Hedi Harzallah, and Jakob Verbeek. Accurate image search using the contextual dissimilarity measure. IEEE Transactions on Pattern Analysis and Machine Intelligence, 32(1):2–11, 2010. ",
1326
+ "bbox": [
1327
+ 174,
1328
+ 318,
1329
+ 823,
1330
+ 361
1331
+ ],
1332
+ "page_idx": 11
1333
+ },
1334
+ {
1335
+ "type": "text",
1336
+ "text": "Jeff Johnson, Matthijs Douze, and Herve J ´ egou. Billion-scale similarity search with gpus. ´ arXiv preprint arXiv:1702.08734, 2017. ",
1337
+ "bbox": [
1338
+ 171,
1339
+ 368,
1340
+ 823,
1341
+ 397
1342
+ ],
1343
+ "page_idx": 11
1344
+ },
1345
+ {
1346
+ "type": "text",
1347
+ "text": "Alexandre Klementiev, Ivan Titov, and Binod Bhattarai. Inducing crosslingual distributed representations of words. Proceedings of COLING, pp. 1459–1474, 2012. ",
1348
+ "bbox": [
1349
+ 173,
1350
+ 406,
1351
+ 821,
1352
+ 435
1353
+ ],
1354
+ "page_idx": 11
1355
+ },
1356
+ {
1357
+ "type": "text",
1358
+ "text": "Philipp Koehn and Kevin Knight. Learning a translation lexicon from monolingual corpora. In Proceedings of the ACL-02 workshop on Unsupervised lexical acquisition-Volume 9, pp. 9–16. Association for Computational Linguistics, 2002. ",
1359
+ "bbox": [
1360
+ 178,
1361
+ 443,
1362
+ 823,
1363
+ 486
1364
+ ],
1365
+ "page_idx": 11
1366
+ },
1367
+ {
1368
+ "type": "text",
1369
+ "text": "Grzegorz Kondrak, Bradley Hauer, and Garrett Nicolai. Bootstrapping unsupervised bilingual lexicon induction. In EACL, 2017. ",
1370
+ "bbox": [
1371
+ 173,
1372
+ 494,
1373
+ 821,
1374
+ 523
1375
+ ],
1376
+ "page_idx": 11
1377
+ },
1378
+ {
1379
+ "type": "text",
1380
+ "text": "Angeliki Lazaridou, Georgiana Dinu, and Marco Baroni. Hubness and pollution: Delving into crossspace mapping for zero-shot learning. Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics, 2015. ",
1381
+ "bbox": [
1382
+ 173,
1383
+ 531,
1384
+ 823,
1385
+ 575
1386
+ ],
1387
+ "page_idx": 11
1388
+ },
1389
+ {
1390
+ "type": "text",
1391
+ "text": "Omer Levy and Yoav Goldberg. Neural word embedding as implicit matrix factorization. Advances in neural information processing systems, pp. 2177–2185, 2014. ",
1392
+ "bbox": [
1393
+ 176,
1394
+ 583,
1395
+ 821,
1396
+ 613
1397
+ ],
1398
+ "page_idx": 11
1399
+ },
1400
+ {
1401
+ "type": "text",
1402
+ "text": "Thang Luong, Richard Socher, and Christopher D Manning. Better word representations with recursive neural networks for morphology. CoNLL, pp. 104–113, 2013. ",
1403
+ "bbox": [
1404
+ 174,
1405
+ 619,
1406
+ 823,
1407
+ 650
1408
+ ],
1409
+ "page_idx": 11
1410
+ },
1411
+ {
1412
+ "type": "text",
1413
+ "text": "Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. Efficient estimation of word representations in vector space. Proceedings of Workshop at ICLR, 2013a. ",
1414
+ "bbox": [
1415
+ 174,
1416
+ 657,
1417
+ 821,
1418
+ 688
1419
+ ],
1420
+ "page_idx": 11
1421
+ },
1422
+ {
1423
+ "type": "text",
1424
+ "text": "Tomas Mikolov, Quoc V Le, and Ilya Sutskever. Exploiting similarities among languages for machine translation. arXiv preprint arXiv:1309.4168, 2013b. ",
1425
+ "bbox": [
1426
+ 173,
1427
+ 694,
1428
+ 820,
1429
+ 724
1430
+ ],
1431
+ "page_idx": 11
1432
+ },
1433
+ {
1434
+ "type": "text",
1435
+ "text": "Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S Corrado, and Jeff Dean. Distributed representations of words and phrases and their compositionality. Advances in neural information processing systems, pp. 3111–3119, 2013c. ",
1436
+ "bbox": [
1437
+ 174,
1438
+ 732,
1439
+ 825,
1440
+ 775
1441
+ ],
1442
+ "page_idx": 11
1443
+ },
1444
+ {
1445
+ "type": "text",
1446
+ "text": "Robert Parker, David Graff, Junbo Kong, Ke Chen, and Kazuaki Maeda. English gigaword. Linguistic Data Consortium, 2011. ",
1447
+ "bbox": [
1448
+ 174,
1449
+ 784,
1450
+ 821,
1451
+ 813
1452
+ ],
1453
+ "page_idx": 11
1454
+ },
1455
+ {
1456
+ "type": "text",
1457
+ "text": "Jeffrey Pennington, Richard Socher, and Christopher D Manning. Glove: Global vectors for word representation. Proceedings of EMNLP, 14:1532–1543, 2014. ",
1458
+ "bbox": [
1459
+ 174,
1460
+ 820,
1461
+ 823,
1462
+ 849
1463
+ ],
1464
+ "page_idx": 11
1465
+ },
1466
+ {
1467
+ "type": "text",
1468
+ "text": "N. Pourdamghani and K. Knight. Deciphering related languages. In EMNLP, 2017. ",
1469
+ "bbox": [
1470
+ 173,
1471
+ 858,
1472
+ 725,
1473
+ 873
1474
+ ],
1475
+ "page_idx": 11
1476
+ },
1477
+ {
1478
+ "type": "text",
1479
+ "text": "Milos Radovanovi ˇ c, Alexandros Nanopoulos, and Mirjana Ivanovi ´ c. Hubs in space: Popular nearest ´ neighbors in high-dimensional data. Journal of Machine Learning Research, 11(Sep):2487–2531, 2010. ",
1480
+ "bbox": [
1481
+ 176,
1482
+ 882,
1483
+ 825,
1484
+ 922
1485
+ ],
1486
+ "page_idx": 11
1487
+ },
1488
+ {
1489
+ "type": "text",
1490
+ "text": "Reinhard Rapp. Identifying word translations in non-parallel texts. In Proceedings of the 33rd Annual Meeting on Association for Computational Linguistics, ACL ’95, pp. 320–322. Association for Computational Linguistics, 1995. ",
1491
+ "bbox": [
1492
+ 176,
1493
+ 103,
1494
+ 823,
1495
+ 146
1496
+ ],
1497
+ "page_idx": 12
1498
+ },
1499
+ {
1500
+ "type": "text",
1501
+ "text": "Reinhard Rapp. Automatic identification of word translations from unrelated english and german corpora. In Proceedings of the 37th Annual Meeting of the Association for Computational Linguistics, ACL $\\overline { { 9 9 } }$ . Association for Computational Linguistics, 1999. ",
1502
+ "bbox": [
1503
+ 174,
1504
+ 155,
1505
+ 823,
1506
+ 198
1507
+ ],
1508
+ "page_idx": 12
1509
+ },
1510
+ {
1511
+ "type": "text",
1512
+ "text": "S. Ravi and K. Knight. Deciphering foreign language. In ACL, 2011. ",
1513
+ "bbox": [
1514
+ 173,
1515
+ 207,
1516
+ 629,
1517
+ 222
1518
+ ],
1519
+ "page_idx": 12
1520
+ },
1521
+ {
1522
+ "type": "text",
1523
+ "text": "Yossi Rubner, Carlo Tomasi, and Leonidas J Guibas. The earth mover’s distance as a metric for image retrieval. International journal of computer vision, 40(2):99–121, 2000. ",
1524
+ "bbox": [
1525
+ 174,
1526
+ 231,
1527
+ 825,
1528
+ 260
1529
+ ],
1530
+ "page_idx": 12
1531
+ },
1532
+ {
1533
+ "type": "text",
1534
+ "text": "Charles Schafer and David Yarowsky. Inducing translation lexicons via diverse similarity measures and bridge languages. In Proceedings of the 6th Conference on Natural Language Learning - Volume 20, COLING-02. Association for Computational Linguistics, 2002. ",
1535
+ "bbox": [
1536
+ 176,
1537
+ 268,
1538
+ 823,
1539
+ 310
1540
+ ],
1541
+ "page_idx": 12
1542
+ },
1543
+ {
1544
+ "type": "text",
1545
+ "text": "Peter H Schonemann. A generalized solution of the orthogonal procrustes problem. ¨ Psychometrika, 31(1):1–10, 1966. ",
1546
+ "bbox": [
1547
+ 174,
1548
+ 319,
1549
+ 821,
1550
+ 348
1551
+ ],
1552
+ "page_idx": 12
1553
+ },
1554
+ {
1555
+ "type": "text",
1556
+ "text": "Samuel L Smith, David HP Turban, Steven Hamblin, and Nils Y Hammerla. Offline bilingual word vectors, orthogonal transformations and the inverted softmax. International Conference on Learning Representations, 2017. ",
1557
+ "bbox": [
1558
+ 173,
1559
+ 357,
1560
+ 825,
1561
+ 400
1562
+ ],
1563
+ "page_idx": 12
1564
+ },
1565
+ {
1566
+ "type": "text",
1567
+ "text": "Jrg Tiedemann. Parallel data, tools and interfaces in opus. In Nicoletta Calzolari (Conference Chair), Khalid Choukri, Thierry Declerck, Mehmet Uur Doan, Bente Maegaard, Joseph Mariani, Asuncion Moreno, Jan Odijk, and Stelios Piperidis (eds.), Proceedings of the Eight International Conference on Language Resources and Evaluation (LREC’12), Istanbul, Turkey, may 2012. European Language Resources Association (ELRA). ISBN 978-2-9517408-7-7. ",
1568
+ "bbox": [
1569
+ 173,
1570
+ 409,
1571
+ 825,
1572
+ 479
1573
+ ],
1574
+ "page_idx": 12
1575
+ },
1576
+ {
1577
+ "type": "text",
1578
+ "text": "Shinji Umeyama. An eigendecomposition approach to weighted graph matching problems. IEEE transactions on pattern analysis and machine intelligence, 10(5):695–703, 1988. ",
1579
+ "bbox": [
1580
+ 171,
1581
+ 488,
1582
+ 823,
1583
+ 517
1584
+ ],
1585
+ "page_idx": 12
1586
+ },
1587
+ {
1588
+ "type": "text",
1589
+ "text": "Ivan Vulic and Marie-Francine Moens. Bilingual word embeddings from non-parallel documentaligned data applied to bilingual lexicon induction. Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics (ACL 2015), pp. 719–725, 2015. ",
1590
+ "bbox": [
1591
+ 176,
1592
+ 526,
1593
+ 820,
1594
+ 569
1595
+ ],
1596
+ "page_idx": 12
1597
+ },
1598
+ {
1599
+ "type": "text",
1600
+ "text": "Chao Xing, Dong Wang, Chao Liu, and Yiye Lin. Normalized word embedding and orthogonal transform for bilingual word translation. Proceedings of NAACL, 2015. ",
1601
+ "bbox": [
1602
+ 169,
1603
+ 577,
1604
+ 823,
1605
+ 607
1606
+ ],
1607
+ "page_idx": 12
1608
+ },
1609
+ {
1610
+ "type": "text",
1611
+ "text": "Lihi Zelnik-manor and Pietro Perona. Self-tuning spectral clustering. In L. K. Saul, Y. Weiss, and L. Bottou (eds.), Advances in Neural Information Processing Systems 17, pp. 1601–1608. MIT Press, 2005. ",
1612
+ "bbox": [
1613
+ 173,
1614
+ 614,
1615
+ 825,
1616
+ 657
1617
+ ],
1618
+ "page_idx": 12
1619
+ },
1620
+ {
1621
+ "type": "text",
1622
+ "text": "Meng Zhang, Yang Liu, Huanbo Luan, and Maosong Sun. Earth mover’s distance minimization for unsupervised bilingual lexicon induction. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pp. 1924–1935. Association for Computational Linguistics, 2017a. ",
1623
+ "bbox": [
1624
+ 173,
1625
+ 666,
1626
+ 826,
1627
+ 723
1628
+ ],
1629
+ "page_idx": 12
1630
+ },
1631
+ {
1632
+ "type": "text",
1633
+ "text": "Meng Zhang, Yang Liu, Huanbo Luan, and Maosong Sun. Adversarial training for unsupervised bilingual lexicon induction. Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics, 2017b. ",
1634
+ "bbox": [
1635
+ 174,
1636
+ 733,
1637
+ 825,
1638
+ 775
1639
+ ],
1640
+ "page_idx": 12
1641
+ },
1642
+ {
1643
+ "type": "text",
1644
+ "text": "Will Y Zou, Richard Socher, Daniel M Cer, and Christopher D Manning. Bilingual word embeddings for phrase-based machine translation. Proceedings of EMNLP, 2013. ",
1645
+ "bbox": [
1646
+ 173,
1647
+ 784,
1648
+ 823,
1649
+ 814
1650
+ ],
1651
+ "page_idx": 12
1652
+ },
1653
+ {
1654
+ "type": "text",
1655
+ "text": "7 APPENDIX ",
1656
+ "text_level": 1,
1657
+ "bbox": [
1658
+ 174,
1659
+ 102,
1660
+ 294,
1661
+ 117
1662
+ ],
1663
+ "page_idx": 13
1664
+ },
1665
+ {
1666
+ "type": "text",
1667
+ "text": "In order to gain a better understanding of the impact of using similar corpora or similar word embedding methods, we investigated merging two English monolingual embedding spaces using either Wikipedia or the Gigaword corpus (Parker et al. (2011)), and either Skip-Gram, CBOW or fastText methods (see Figure 3). ",
1668
+ "bbox": [
1669
+ 173,
1670
+ 127,
1671
+ 825,
1672
+ 184
1673
+ ],
1674
+ "page_idx": 13
1675
+ },
1676
+ {
1677
+ "type": "image",
1678
+ "img_path": "images/4767165f2c7004518c8f2f65461d13bb723ce259f75c4c8cfb83d0afd949af44.jpg",
1679
+ "image_caption": [
1680
+ "Figure 3: English to English word alignment accuracy. Evolution of word translation retrieval accuracy with regard to word frequency, using either Wikipedia (Wiki) or the Gigaword corpus (Giga), and either skip-gram, continuous bag-of-words (CBOW) or fastText embeddings. The model can learn to perfectly align embeddings trained on the same corpus but with different seeds (a), as well as embeddings learned using different models (overall, when employing CSLS which is more accurate on rare words) (b). However, the model has more trouble aligning embeddings trained on different corpora (Wikipedia and Gigaword) (c). This can be explained by the difference in co-occurrence statistics of the two corpora, particularly on the rarer words. Performance can be further deteriorated by using both different models and different types of corpus (d). "
1681
+ ],
1682
+ "image_footnote": [],
1683
+ "bbox": [
1684
+ 176,
1685
+ 196,
1686
+ 818,
1687
+ 597
1688
+ ],
1689
+ "page_idx": 13
1690
+ },
1691
+ {
1692
+ "type": "table",
1693
+ "img_path": "images/c0a3f081b8bb527ffeacfc479fb4cbb4bf1808747330b0a7b26f644f92faae64.jpg",
1694
+ "table_caption": [
1695
+ "Table 6: Esperanto-English. Examples of fully unsupervised word-by-word translations. The translations reflect the meaning of the source sentences, and could potentially be improved using a simple language model. "
1696
+ ],
1697
+ "table_footnote": [],
1698
+ "table_body": "<table><tr><td>Source Hypothesis Reference</td><td>mi kelkfoje parolas kun mia najbaro tra la barilo . sorry sometimes speaks with my neighbor across the barrier . i sometimes talk to my neighbor across the fence .</td></tr><tr><td>Source Hypothesis Reference</td><td>laviro malanta ili ludas la pianon. the man behind theyplays the piano . the man behind them is playing the piano .</td></tr><tr><td>Source Hypothesis Reference</td><td>bonvole protektu min kontra tiuj malbonaj viroj. gratefully protects hi against those worst men . please defend me from such bad men .</td></tr></table>",
1699
+ "bbox": [
1700
+ 263,
1701
+ 753,
1702
+ 732,
1703
+ 872
1704
+ ],
1705
+ "page_idx": 13
1706
+ }
1707
+ ]
parse/train/H196sainb/H196sainb_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/HJeVnCEKwH/HJeVnCEKwH.md ADDED
@@ -0,0 +1,460 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # A CLOSER LOOK AT THE OPTIMIZATION LANDSCAPES OF GENERATIVE ADVERSARIAL NETWORKS
2
+
3
+ Hugo Berard∗ Mila, Universite de Montr´ eal´ Facebook AI Research
4
+
5
+ Gauthier Gidel∗
6
+ Mila, Universite de Montr ´ eal ´
7
+ Element AI
8
+
9
+ Amjad Almahairi Element AI
10
+
11
+ Pascal Vincent† Mila, Universite de Montr´ eal´ Facebook AI Research
12
+
13
+ Simon Lacoste-Julien† Mila, Universite de Montr ´ eal ´ Element AI
14
+
15
+ # ABSTRACT
16
+
17
+ Generative adversarial networks have been very successful in generative modeling, however they remain relatively challenging to train compared to standard deep neural networks. In this paper, we propose new visualization techniques for the optimization landscapes of GANs that enable us to study the game vector field resulting from the concatenation of the gradient of both players. Using these visualization techniques we try to bridge the gap between theory and practice by showing empirically that the training of GANs exhibits significant rotations around Local Stable Stationary Points (LSSP), similar to the one predicted by theory on toy examples. Moreover, we provide empirical evidence that GAN training converge to a stable stationary point which is a saddle point for the generator loss, not a minimum, while still achieving excellent performance.1
18
+
19
+ # 1 INTRODUCTION
20
+
21
+ Deep neural networks have exhibited remarkable success in many applications (Krizhevsky et al., 2012). This success has motivated many studies of their non-convex loss landscape (Choromanska et al., 2015; Kawaguchi, 2016; Li et al., 2018b), which, in turn, has led to many improvements, such as better initialization and optimization methods (Glorot and Bengio, 2010; Kingma and Ba, 2015).
22
+
23
+ While most of the work on studying non-convex loss landscapes has focused on single objective minimization, some recent class of models require the joint minimization of several objectives, making their optimization landscape intrinsically different. Among these models is the generative adversarial network (GAN) (Goodfellow et al., 2014) which is based on a two-player game formulation and has achieved state-of-the-art performance on some generative modeling tasks such as image generation (Brock et al., 2019).
24
+
25
+ On the theoretical side, many papers studying multi-player games have argued that one main optimization issue that arises in this case is the rotation due to the adversarial component of the game (Mescheder et al., 2018; Balduzzi et al., 2018; Gidel et al., 2019b). This has been extensively studied on toy examples, in particular on the so-called bilinear example (Goodfellow, 2016) (a.k.a Dirac GAN (Mescheder et al., 2018)). However, those toy examples are very far from the standard realistic setting of image generation involving deep networks and challenging datasets. To our knowledge it remains an open question if this rotation phenomenon actually occurs when training GANs in more practical settings.
26
+
27
+ In this paper, we aim at closing this gap between theory and practice. Following Mescheder et al. (2017) and Balduzzi et al. (2018), we argue that instead of studying the loss surface, we should study the game vector field (i.e., the concatenation of each player’s gradient), which can provide better insights to the problem. To this end, we propose a new visualization technique that we call Path-angle which helps us observe the nature of the game vector field close to a stationary point for high dimensional models, and carry on an empirical investigation of the properties of the optimization landscape of GANs. The core questions we want to address may be summarized as the following:
28
+
29
+ Is rotation a phenomenon that occurs when training GANs on real world datasets, and do existing training methods find local Nash equilibria?
30
+
31
+ To answer this question we conducted extensive experiments by training different GAN formulations (NSGAN and WGAN-GP) with different optimizers (Adam and ExtraAdam) on three datasets (MoG, MNIST and CIFAR10). Based on our experiments and using our visualization techniques we observe that the landscape of GANs is fundamentally different from the standard loss surfaces of deep networks. Furthermore, we provide evidence that existing GAN training methods do not converge to a local Nash equilibrium.
32
+
33
+ Contributions More precisely, our contributions are the following: (i) We propose studying empirically the game vector field (as opposed to studying the loss surfaces of each player) to understand training dynamics in GANs using a novel visualization tool, which we call Path-angle and that captures the rotational and attractive behaviors near local stationary points (ref. $\ S 4 . 2 )$ . (ii) We observe experimentally on both a mixture of Gaussians, MNIST and CIFAR10 datasets that a variety of GAN formulations have a significant rotational behavior around their locally stable stationary points (ref. §5.1). (iii) We provide empirical evidence that existing training procedures find stable stationary points that are saddle points, not minima, for the loss function of the generator (ref. $\ S 5 . 2 )$ .
34
+
35
+ # 2 RELATED WORK
36
+
37
+ Improving the training of GANs has been an active research area in the past few years. Most efforts in stabilizing GAN training have focused on formulating new objectives (Arjovsky et al., 2017), or adding regularization terms (Gulrajani et al., 2017; Mescheder et al., 2017; 2018). In this work, we try to characterize the difference in the landscapes induced by different GAN formulations and how it relates to improving the training of GANs.
38
+
39
+ Recently, Nagarajan and Kolter (2017); Mescheder et al. (2018) show that a local analysis of the eigenvalues of the Jacobian of the game can provide guarantees on local stability properties. However, their theoretical analysis is based on some unrealistic assumptions such as the generator’s ability to fully capture the real distribution. In this work, we assess experimentally to what extent these theoretical stability results apply in practice.
40
+
41
+ Rotations in differentiable games has been mentioned and interpreted by (Mescheder et al., 2018; Balduzzi et al., 2018) and Gidel et al. (2019b). While these papers address rotations in games from a theoretical perspective, it was never shown that GANs, which are games with highly non-convex losses, suffered from these rotations in practice. To our knowledge, trying to quantify that GANs actually suffer from this rotational component in practice for real world dataset is novel.
42
+
43
+ The stable points of the gradient dynamics in general games have been studied independently by Mazumdar and Ratliff (2018) and Adolphs et al. (2018). They notice that the locally stable stationary point of some games are not local Nash equilibria. In order to reach a local Nash equilibrium, Adolphs et al. (2018); Mazumdar et al. (2019) develop techniques based on second order information. In this work, we argue that reaching local Nash equilibria may not be as important as one may expect and that we do achieve good performance at a locally stable stationary point.
44
+
45
+ Several works have studied the loss landscape of deep neural networks. Goodfellow et al. (2015) proposed to look at the linear path between two points in parameter space and show that neural networks behave similarly to a convex loss function along this path. Draxler et al. (2018) proposed an extension where they look at nonlinear paths between two points and show that local minima are connected in deep neural networks. Another extension was proposed by (Li et al., 2018a) where they use contour plots to look at the 2D loss surface defined by two directions chosen appropriately. In this paper, we use a similar approach of following the linear path between two points to gain insight about GAN optimization landscapes. However, in this context, looking at the loss of both players along that path may be uninformative. We propose instead to look, along a linear path from initialization to best solution, at the game vector field, particularly at its angle w.r.t. the linear path, the Path-angle.
46
+
47
+ Another way to gain insight into the landscape of deep neural networks is by looking at the Hessian of the loss; this was done in the context of single objective minimization by (Dauphin et al., 2014; Sagun et al., 2016; 2017; Alain et al., 2019). Compared to linear path visualizations which can give global information (but only along one direction), the Hessian provides information about the loss landscape in several directions but only locally. The full Hessian is expensive to compute and one often has to resort to approximations such has computing only the top- $\mathbf { \nabla } \cdot \mathbf { k }$ eigenvalues. While, the Hessian is symmetric and thus has real eigenvalues, the Jacobian of a game vector field is significantly different since it is in general not symmetric, which means that the eigenvalues belong to the complex plane. In the context of GANs, Mescheder et al. (2017) introduced a gradient penalty and use the eigenvalues of the Jacobian of the game vector field to show its benefits in terms of stability. In our work, we compute these eigenvalues to assess that, on different GAN formulations and datasets, existing training procedures find a locally stable stationary point that is a saddle point for the loss function of the generator.
48
+
49
+ # 3 FORMULATIONS FOR GAN OPTIMIZATION AND THEIR PRACTICAL IMPLICATIONS
50
+
51
+ # 3.1 THE STANDARD GAME THEORY FORMULATION
52
+
53
+ From a game theory point of view, GAN training may be seen as a game between two players: the discriminator $D _ { \varphi }$ and the generator $G _ { \theta }$ , each of which is trying to minimize its loss $\mathcal { L } _ { D }$ and $\mathcal { L } _ { G }$ , respectively. Using the same formulation as Mescheder et al. (2017), the GAN objective takes the following form (for simplicity of presentation, we focus on the unconstrained formulation):
54
+
55
+ $$
56
+ \theta ^ { * } \in \operatorname * { a r g m i n } _ { \theta \in \mathbb { R } ^ { p } } \mathcal { L } _ { G } ( \theta , \varphi ^ { * } ) \qquad \mathrm { a n d } \qquad \varphi ^ { * } \in \operatorname * { a r g m i n } _ { \varphi \in \mathbb { R } ^ { d } } \mathcal { L } _ { D } ( \theta ^ { * } , \varphi ) .
57
+ $$
58
+
59
+ The solution $( \theta ^ { * } , \varphi ^ { * } )$ is called a Nash equilibrium (NE). In practice, the considered objectives are non-convex and we typically cannot expect better than a local Nash equilibrium (LNE), i.e. a point at which (1) is only locally true (see e.g. (Adolphs et al., 2018) for a formal definition). Ratliff et al. (2016) derived some derivative-based necessary and sufficient conditions for being a LNE. They show that, for being a local NE it is sufficient to be a differential Nash equilibrium:
60
+
61
+ Definition 1 (Differential NE). A point $( \theta ^ { * } , \varphi ^ { * } )$ is $a$ differential Nash equilibrium (DNE) iff
62
+
63
+ $$
64
+ \| \nabla _ { \theta } \mathcal { L } _ { G } ( \theta ^ { * } , \varphi ^ { * } ) \| = \| \nabla _ { \varphi } \mathcal { L } _ { D } ( \theta ^ { * } , \varphi ^ { * } ) \| = 0 , \nabla _ { \theta } ^ { 2 } \mathcal { L } _ { G } ( \theta ^ { * } , \varphi ^ { * } ) \succ 0 a
65
+ $$
66
+
67
+ where $S \succ 0$ if and only if $_ { s }$ is positive definite.
68
+
69
+ Being a DNE is not necessary for being a LNE because a local Nash equilibrium may have Hessians that are only semi-definite. NE are commonly used in GANs to describe the goal of the learning procedure (Goodfellow et al., 2014): in this definition, $\pmb { \theta } ^ { * }$ (resp. $\varphi ^ { * }$ ) is seen as a local minimizer of $\bar { \mathcal { L } } _ { G } ( \cdot , \varphi ^ { * } )$ (resp. $\mathcal { L } _ { D } ( \pmb { \theta } ^ { * } , \cdot ) )$ .
70
+
71
+ Under this view, however, the interaction between the two networks is not taken into account. This is an important aspect of the game stability that is missed in the definition of DNE (and Nash equilibrum in general). We illustrate this point in the following section, where we develop an example of a game for which gradient methods converge to a point which is a saddle point for the generator’s loss and thus not a DNE for the game.
72
+
73
+ # 3.2 AN ALTERNATIVE FORMULATION BASED ON THE GAME VECTOR FIELD
74
+
75
+ In practice, GANs are trained using first order methods that compute the gradients of the losses of each player. Following Gidel et al. (2019a), an alternative point of view on optimizing GANs is to jointly consider the players’ parameters $\pmb \theta$ and $\varphi$ as a joint state $\omega : = ( \theta , \varphi )$ , and to study the vector field associated with these gradients,2 which we call the game vector field
76
+
77
+ $$
78
+ \pmb { v } ( \omega ) : = \left[ \nabla _ { \pmb { \theta } } \mathcal { L } _ { G } ( \omega ) ^ { \top } \quad \nabla _ { \varphi } \mathcal { L } _ { D } ( \omega ) ^ { \top } \right] ^ { \top } \quad \mathrm { w h e r e } \quad \omega : = ( \pmb { \theta } , \varphi ) .
79
+ $$
80
+
81
+ Table 1: Summary of the implications between Differentiable Nash Equilibrium (DNE) and a locally stable stationnary point (LSSP): in general, being a DNE is neither necessary or sufficient for being a LSSP.
82
+
83
+ <table><tr><td>Zero-sum game</td><td>Non-zero-sum game</td></tr><tr><td>NE →LSSE (Mescheder et al., 2018)</td><td>NE LSSE (Example 2, $A.2)</td></tr><tr><td>NE ←LSSE (Adolphs et al., 2018)</td><td>NE ↑ LSSE (Example 1)</td></tr></table>
84
+
85
+ With this perspective, the notion of DNE is replaced by the notion of locally stable stationary point (LSSP). Verhulst (1989, Theorem 7.1) defines a LSSP $\omega ^ { * }$ using the eigenvalues of the Jacobian of the game vector field $\nabla \boldsymbol { v } ( \omega ^ { * } )$ at that point.
86
+
87
+ Definition 2 (LSSP). A point $\omega ^ { \ast }$ is $a$ locally stable stationary point $( L S S P ,$ ) iff
88
+
89
+ $$
90
+ \pmb { v } ( \pmb { \omega } ^ { * } ) = 0 \qquad \mathrm { ~ } a n d \qquad \Re ( \lambda ) > 0 , \quad \forall \lambda \in \mathrm { S p } ( \nabla \pmb { v } ( \pmb { \omega } ^ { * } ) ) .
91
+ $$
92
+
93
+ where $\Re$ denote the real part of the eigenvalue $\lambda$ belonging to the spectrum of $\nabla \boldsymbol { v } ( \omega ^ { * } )$ .
94
+
95
+ This definition is not easy to interpret but one can intuitively understand a LSSP as a stationary point (a point $\omega ^ { * }$ where $\begin{array} { r } { \pmb { v } ( \omega ^ { * } ) = 0 , } \end{array}$ ) to which all neighbouring points are attracted. We will formalize this intuition of attraction in Proposition 1. In our two-player game setting, the Jacobian of the game vector field around the LSSP has the following block-matrices form:
96
+
97
+ $$
98
+ \nabla v ( \omega ^ { * } ) = \left[ \nabla _ { \theta } ^ { 2 } \mathcal { L } _ { G } ( \omega ^ { * } ) \quad \nabla _ { \varphi } \nabla _ { \theta } \mathcal { L } _ { G } ( \omega ^ { * } ) \right] = \left[ S _ { 1 } \quad B \right] .
99
+ $$
100
+
101
+ When $B = - A ^ { \top }$ , being a DNE is a sufficient condition for being of LSSP (Mazumdar and Ratliff, 2018). However, some LSSP may not be DNE (Adolphs et al., 2018), meaning that the optimal generator $\pmb { \theta } ^ { * }$ could be a saddle point of $\mathcal { L } _ { G } ( \cdot , \varphi ^ { * } )$ , while the optimal joint state $( \theta ^ { * } , \varphi ^ { * } )$ may be a LSSP of the game. We summarize these properties in Table 1. In order to illustrate the intuition behind this counter-intuitive fact, we study a simple example where the generator is 2D and the discriminator is 1D.
102
+
103
+ Example 1. Let us consider $\mathcal { L } _ { G }$ as a hyperbolic paraboloid (a.k.a., saddle point function) centered in $( 1 , 1 )$ where $( 1 , \varphi )$ is the principal descent direction and $( - \varphi , 1 )$ is the principal ascent direction, while $\mathcal { L } _ { D }$ is a simple bilinear objective.
104
+
105
+ $$
106
+ \begin{array} { r } { \mathcal { L } _ { G } ( \theta _ { 1 } , \theta _ { 2 } , \varphi ) = ( \theta _ { 2 } - \varphi \theta _ { 1 } - 1 ) ^ { 2 } - \frac { 1 } { 2 } ( \theta _ { 1 } + \varphi \theta _ { 2 } - 1 ) ^ { 2 } , \mathcal { L } _ { D } ( \theta _ { 1 } , \theta _ { 2 } , \varphi ) = \varphi ( 5 \theta _ { 1 } + 4 \theta _ { 2 } - 9 ) } \end{array}
107
+ $$
108
+
109
+ We plot $\mathcal { L } _ { G }$ in Fig. 1b. Note that the discriminator $\varphi$ controls the principal descent direction of $\mathcal { L } _ { G }$
110
+
111
+ We show (see $\ S \operatorname { A } . 2 )$ that $( \theta _ { 1 } ^ { * } , \theta _ { 2 } ^ { * } , \varphi ^ { * } ) = ( 1 , 1 , 0 )$ is a locally stable stationary point but is not a DNE: the generator loss at the optimum $( \dot { \theta } _ { 1 } , \dot { \theta _ { 2 } } ) \mapsto \dot { \mathcal { L } } _ { G } ( \theta _ { 1 } , \theta _ { 2 } , \dot { \varphi } ^ { * } ) = \theta _ { 2 } ^ { 2 } - { \textstyle \frac { 1 } { 2 } } \theta _ { 1 } ^ { 2 }$ is not at a DNE because it has a clear descent direction, $( 1 , 0 )$ . However, if the generator follows this descent direction, the dynamics will remain stable because the discriminator will update its parameter, rotating the saddle and making $( 1 , 0 )$ an ascent direction. We call this phenomenon dynamic stability: the loss $\boldsymbol { \mathcal { L } } _ { G } ( \cdot , \varphi ^ { * } )$ is unstable for a fixed $\varphi ^ { * }$ but becomes stable when $\varphi$ dynamically interacts with the generator around $\varphi ^ { * }$ .
112
+
113
+ A mechanical analogy for this dynamic stability phenomenon is a ball in a rotating saddle—even though the gravity pushes the ball to escape the saddle, a quick enough rotation of the saddle would trap the ball at the center (see (Thompson et al., 2002) for more details). This analogy has been used to explain Paul’s trap (Paul, 1990): a counter-intuitive way to trap ions using a dynamic electric field. In Example 1, the parameter $\varphi$ explicitly controls the rotation of the saddle.
114
+
115
+ This example illustrates the fact that the DNE corresponds to a notion of static stability: it is the stability of one player’s loss given the other player is fixed. Conversely, LSSP captures a notion of dynamic stability that considers both players jointly.
116
+
117
+ By looking at the game vector field we capture these interactions. Fig. 1b only captures a snapshot of the generator’s loss surface for a fixed $\varphi$ and indicates static instability (the generator is at a saddle point of its loss). In Fig. 1a, however, one can see that, starting from any point, we will rotate around the stationary point $( \bar { \varphi ^ { \ast } } , \theta _ { 1 } ^ { \ast } ) = ( 0 , 1 )$ and eventually converge to it.
118
+
119
+ The visualization of the game vector field reveals an interesting behavior that does not occur in single objective minimization: close to a LSSP, the parameters rotate around it. Understanding this phenomenon is key to grasp the optimization difficulties arising in games. In the next section, we formally characterize the notion of rotation around a LSSP and in 4 we develop tools to visualize it in high dimensions. Note that gradient methods may converge to saddle points in single objective minimization, but these are not stable stationary points, unlike in our game example.
120
+
121
+ ![](images/8010dfe3b40352529a787a6e3f09031b22b6b6af1b0ce1c776fd1dffcce7a5bd.jpg)
122
+ Figure 1: Visualizations of Example 1. Left: projection of the game vector field on the plane $\theta _ { 2 } = 1$ . Right: Generator loss. The descent direction is $( 1 , \varphi )$ (in grey). As the generator follows this descent direction, the discriminator changes the value of $\varphi$ , making the saddle rotate, as indicated by the circular black arrow.
123
+
124
+ # 3.3 ROTATION AND ATTRACTION AROUND LOCALLY STABLE STATIONARY POINTS IN GAMES
125
+
126
+ In this section, we formalize the notions of rotation and attraction around LSSP in games, which we believe may explain some difficulties in GAN training. The local stability of a LSSP is characterized by the eigenvalues of the Jacobian $\nabla \boldsymbol { v } ( \omega ^ { * } )$ because we can linearize $\pmb { v } ( \omega )$ around $\omega ^ { \ast }$ :
127
+
128
+ $$
129
+ \pmb { v } ( \pmb { \omega } ) \approx \nabla \pmb { v } ( \pmb { \omega } ^ { * } ) ( \pmb { \omega } - \pmb { \omega } ^ { * } ) .
130
+ $$
131
+
132
+ If we assume that (6) is an equality, we have the following theorem.
133
+
134
+ Proposition 1. Let us assume that (6) is an equality and that $\nabla \boldsymbol { v } ( \omega ^ { * } )$ is diagonalizable, then there exists a basis $_ { r }$ such that the coordinates $\tilde { \omega } _ { j } ( t ) : = [ P ( \omega ( t ) - \omega ^ { * } ) ] _ { j }$ where $\omega ( t )$ is a solution of (6) have the following behavior: for $\lambda _ { j } \in \mathrm { S p } \bar { \nabla } \boldsymbol { v } ( \omega ^ { * } )$ we have,
135
+
136
+ 1. If $\lambda _ { j } \in \mathbb { R }$ , we observe pure attraction: $\tilde { \omega } _ { j } ( t ) = e ^ { - \lambda _ { j } t } \tilde { \omega } _ { j } ( 0 ) .$
137
+
138
+ 2. If $\Re ( \lambda _ { j } ) = 0$ , we observe pure rotation: $\begin{array} { r } { \left[ \begin{array} { l } { \tilde { \omega } _ { j } ( t ) } \\ { \tilde { \omega } _ { j + 1 } ( t ) } \end{array} \right] = \left[ \begin{array} { l l } { \cos | \lambda _ { j } t | } & { \sin | \lambda _ { j } t | } \\ { - \sin | \lambda _ { j } t | } & { \cos | \lambda _ { j } t | } \end{array} \right] \left[ \begin{array} { l } { \tilde { \omega } _ { j } ( 0 ) } \\ { \tilde { \omega } _ { j + 1 } ( 0 ) } \end{array} \right] . } \end{array}$
139
+
140
+ 3. Otherwise, we observe both: $\left[ \begin{array} { l } { \tilde { \omega } _ { j } ( t ) } \\ \tilde { \omega } _ { j + 1 } ( t ) \right] = e ^ { - \operatorname { R e } ( \lambda _ { j } ) t } \left[ \begin{array} { l l } { \cos \operatorname { I m } ( \lambda _ { j } t ) } & { \sin \operatorname { I m } ( \lambda _ { j } t ) } \\ { - \sin \operatorname { I m } ( \lambda _ { j } t ) } & { \cos \operatorname { I m } ( \lambda _ { j } t ) } \end{array} \right] \left[ \begin{array} { l } { \tilde { \omega } _ { j } ( 0 ) } \\ { \tilde { \omega } _ { j + 1 } ( 0 ) } \end{array} \right] . \end{array}$
141
+
142
+ Note that we re-ordered the eigenvalues such that the complex conjugate eigenvalues form pairs: if $\lambda _ { j } \notin \mathbb { R }$ then $\lambda _ { j + 1 } = \bar { \lambda } _ { j }$ .
143
+
144
+ Matrices in 2. and 3. are rotations matrices. They induce a rotational behavior illustrated in Fig 1a.
145
+
146
+ This proposition shows that the dynamics of $\omega ( t )$ can be decomposed in a particular basis into attractions and rotations over components that do not interact between each other. Rotation does not appear in single objective minimization around a local minimum, because the eigenvalues of the Hessian of the objective are always real. Mescheder et al. (2017) discussed that difficulties in training GANs may be a result of the imaginary part of the eigenvalues of the Jacobian of the game vector field and Gidel et al. (2019b) mentioned that games have a natural oscillatory behavior. This cyclic behavior has been explained in (Balduzzi et al., 2018) by a non-zero Hamiltonian component in the Helmholtz decomposition of the Jacobian of the game vector field. All these explanations are related to the spectral properties of this Jacobian. The goal of Proposition 1 is to provide a formal definition to the notions of rotation and attraction we are dealing with in this paper.
147
+
148
+ In the following section, we introduce a new tool in order to assess the magnitude of the rotation around a LSSP compared to the attraction to this point.
149
+
150
+ # 4 VISUALIZATION FOR THE VECTOR FIELD LANDSCAPE
151
+
152
+ Neural networks are parametrized by a large number of variables and visualizations are only possible using low dimensional plots (1D or 2D). We first present a standard visualization tool for deep neural network loss surfaces that we will exploit in $\ S 4 . 2$ .
153
+
154
+ # 4.1 STANDARD VISUALIZATIONS FOR THE LOSS SURFACE
155
+
156
+ One way to visualize a neural network’s loss landscape is to follow a parametrized path $\omega ( \alpha )$ that connects two parameters $\omega , \omega ^ { \prime }$ (often one is chosen early in learning and another one is chosen late in learning, close to a solution). A path is a continuous function $\omega ( \cdot )$ such that $\omega ( 0 ) = \omega$ and $\omega ( 1 ) = \omega ^ { \prime }$ . Goodfellow et al. (2015) considered a linear path ${ \pmb { \omega } } ( \alpha ) = \alpha { \pmb { \omega } } + ( 1 - \alpha ) { \pmb { \omega } } ^ { \prime }$ . More complex paths can be considered to assess whether different minima are connected (Draxler et al., 2018).
157
+
158
+ # 4.2 PROPOSED VISUALIZATION: PATH-ANGLE
159
+
160
+ We propose to study the linear path between parameters early in learning and parameters late in learning. We illustrate the extreme cases for the game vector field along this path in simple examples in Figure 2(a-c): pure attraction occurs when the vector field perfectly points to the optimum (Fig. 2a) and pure rotation when the vector field is orthogonal to the direction to the optimum (Fig. 2b). In practice, we expect the vector field to be in between these two extreme cases (Fig. 2c). In order to determine in which case we are, around a LSSP, in practice, we propose the following tools.
161
+
162
+ Path-norm. We first ensure that we are in a neighborhood of a stationary point by computing the norm of the vector field. Note that considering independently the norm of each player may be misleading: even though the gradient of one player may be close to zero, it does not mean that we are at a stationary point since the other player might still be updating its parameters.
163
+
164
+ Path-angle. Once we are close to a final point $\omega ^ { \prime }$ , i.e., in a neighborhood of a LSSP, we propose to look at the angle between the vector field (3) and the linear path from $\omega$ to $\omega ^ { \prime }$ . Specifically, we monitor the cosine of this angle, a quantity we call Path-angle:
165
+
166
+ $$
167
+ \begin{array} { r } { c ( \alpha ) : = \frac { \langle \omega ^ { \prime } - \omega , v _ { \alpha } \rangle } { \| \omega ^ { \prime } - \omega \| \| v _ { \alpha } \| } \quad \mathrm { w h e r e } \quad v _ { \alpha } : = v ( \alpha \omega ^ { \prime } + ( 1 - \alpha ) \omega ) , \alpha \in \left[ a , b \right] . } \end{array}
168
+ $$
169
+
170
+ Usually $[ a , b ] = [ 0 , 1 ]$ , but since we are interested in the landscape around a LSSP, it might be more informative to also consider further extrapolated points around $\omega ^ { \prime }$ with $b > 1$ .
171
+
172
+ Eigenvalues of the Jacobian. Another important tool to gain insights on the behavior close to a LSSP, as discussed in $\ S 3 . 2$ , is to look at the eigenvalues of $\nabla \boldsymbol { v } ( \omega ^ { * } )$ . We propose to compute the top- $\mathbf { \nabla } \cdot \mathbf { k }$ eigenvalues of this Jacobian. When all the eigenvalues have positive real parts, we conclude that we have reached a LSSP, and if some eigenvalues have large imaginary parts, then the game has a strong rotational behavior (Thm. 1). Similarly, we can also compute the top- $\mathbf { \nabla } \cdot \mathbf { k }$ eigenvalues of the diagonal blocks of the Jacobian, which correspond to the Hessian of each player. These eigenvalues can inform us on whether we have converged to a LSSP that is not a LNE.
173
+
174
+ An important advantage of the Path-angle relative to the computation of the eigenvalues of $\nabla \boldsymbol { v } ( \omega ^ { * } )$ is that it only requires computing gradients (and not second order derivatives, which may be prohibitively computationally expensive for deep networks). Also, it provides information along a whole path between two points and thus, more global information than the Jacobian computed at a single point. In the following section, we use the Path-angle to study the archetypal behaviors presented in $\mathrm { T h m } 1$
175
+
176
+ # 4.3 ARCHETYPAL BEHAVIORS OF THE PATH-ANGLE AROUND A LSSP
177
+
178
+ Around a LSSP, we have seen in (6) that the behavior of the vector field is mainly dictated by the Jacobian matrix $\nabla \boldsymbol { v } ( \omega ^ { * } )$ . This motivates the study of the behavior of the Path-angle $c ( \alpha )$ where the Jacobian is a constant matrix:
179
+
180
+ $$
181
+ v ( \omega ) = \left[ \begin{array} { l l } { S _ { 1 } } & { B } \\ { A } & { S _ { 2 } } \end{array} \right] ( \omega - \omega ^ { * } ) \quad \mathrm { a n d ~ t h u s } \quad \nabla v ( \omega ) = \left[ \begin{array} { l l } { S _ { 1 } } & { B } \\ { A } & { S _ { 2 } } \end{array} \right] \quad \forall \omega .
182
+ $$
183
+
184
+ ![](images/5a9c04d15c50c7e3b307fb728503b25f800434d5661ee90ba8de4a3f3f89cc5b.jpg)
185
+ Figure 2: Above: game vector field (in grey) for different archetypal behaviors. The equilibrium of the game is at $( 0 , 0 )$ . Black arrows correspond to the directions of the vector field at different linear interpolations between two points: $\bullet$ and $\star$ . Below: path-angle $c ( \alpha )$ for different archetypal behaviors (right y-axis, in blue). The left y-axis in orange correspond to the norm of the gradients. Notice the ”bump” in path-angle (close to $\alpha = 1$ ), characteristic of rotational dynamics.
186
+
187
+ Depending on the choice of $S _ { 1 } , S _ { 2 } , A$ and $\textbf { { B } }$ , we cover the following cases:
188
+
189
+ • $S _ { 1 } , S _ { 2 } \succ 0 , A = B = 0$ : eigenvalues are real. Thm. 1 ensures that we only have attraction. Far from $\omega ^ { * }$ , the gradient points to $\omega ^ { \ast }$ (See Fig. 2a) and thus $c ( \alpha ) = \mathrm { 1 }$ for $\alpha \ll 1$ and $c ( \alpha ) = - 1$ for $\alpha \gg 1$ . Since $\omega ^ { \prime }$ is not exactly $\omega ^ { \ast }$ , we observe a quick sign switch of the Path-angle around $\alpha = 1$ . We plotted the average Path-angle over different approximate optima in Fig. 2a (see appendix for details). $S _ { 1 } , S _ { 2 } = 0 , A = - B ^ { \top }$ : eigenvalues are pure imaginary. Thm. 1 ensures that we only have rotations. Far from the optimum the gradient is orthogonal to the direction that points to $\omega$ (See Fig. 2b). Thus, $c ( \alpha )$ vanishes for $\alpha \ll 1$ and $\alpha \gg 1$ . Because $\omega ^ { \prime }$ is not exactly $\omega ^ { \ast }$ , around $\alpha = 1$ , the gradient is tangent to the circles induced by the rotational dynamics and thus $c ( \alpha ) = \pm 1$ . That is why in Fig. 2b we observe a bump in $c ( \alpha )$ when $\alpha$ is close to 1. General high dimensional LSSP (4). The dynamics display both attraction and rotation. We observe a combination of the sign switch due to the attraction and the bump due to the rotation. The higher the bump, the closer we are to pure rotations. Since we are performing a low dimensional visualization, we actually project the gradient onto our direction of interest. That is why the Path-angle is significantly smaller than 1 in Fig. 2c.
190
+
191
+ # 5 NUMERICAL RESULTS ON GANS
192
+
193
+ Losses. We focus on two common GAN loss formulations: we consider both the original nonsaturating GAN (NSGAN) formulation proposed in Goodfellow et al. (2014) and the WGAN-GP objective described in Gulrajani et al. (2017).
194
+
195
+ Datasets. We first propose to train a GAN on a toy task composed of a 1D mixture of 2 Gaussians (MoG) with 10,000 samples. For this task both the generator and discriminator are neural networks with 1 hidden layer and ReLU activations. We also train a GAN on MNIST, where we use the DCGAN architecture (Radford et al., 2016) with spectral normalization(see $\mathrm { \displaystyle \ S C } . 2$ for details). Finally we also look at the optimization landscape of a state of the art ResNet on CIFAR10 (Krizhevsky and Hinton, 2009).
196
+
197
+ Optimization methods. For the mixture of Gaussian (MoG) dataset, we used the full-batch extragradient method (Korpelevich, 1976; Gidel et al., 2019a). We also tried to use standard batch gradient descent, but this led to unstable results indicating that gradient descent might indeed be unable to converge to stable stationary points due to the rotations (see $\ S { \bf C } . 4 \AA ,$ . On MNIST and CIFAR10, we tested both Adam (Kingma and Ba, 2015) and ExtraAdam (Gidel et al., 2019a). The observations made on models trained with both methods are very similar. ExtraAdam gives slightly better performance in terms of inception score (Salimans et al., 2016), and Adam sometimes converge to unstable points, thus we decided to only include the observations on ExtraAdam, for more details on the observations on Adam (see $\ S { \bf C } . 5 )$ ). As recommended by Heusel et al. (2017), we chose different learning rates for the discriminator and the generator. All the hyper-parameters and precise details about the experiments can be found in $\mathrm { \ S C . 1 }$ .
198
+
199
+ ![](images/2a169c9977d0bf5d02d44a913853a075ffd073d208dd8e3d771804ee55d696a5.jpg)
200
+ Figure 3: Path-angle for NSGAN (top row) and WGAN-GP (bottom row) trained on the different datasets, see Appendix C.3 for details on how the path-angle is computed. For MoG the ending point is a generator which has learned the distribution. For MNIST and CIFAR10 we indicate the Inception score (IS) at the ending point of the interpolation. Notice the “bump” in path-angle (close to $\alpha = 1 . 0$ ), characteristic of games rotational dynamics, and absent in the minimization problem (d). Details on error bars in $\ S { \bf C } . 3$ .
201
+
202
+ ![](images/04b83baddf344c68badb32f729e4171460846710a0ad39f068c49f14f312fd52.jpg)
203
+ Figure 4: Eigenvalues of the Jacobian of the game for NSGAN (top row) and WGAN-GP (bottom row) trained on the different datasets. Large imaginary eigenvalues are characteristic of rotational behavior. Notice that NSGAN and WGAN-GP objectives lead to very different landscapes (see how the eigenvalues of WGAN-GP are shifted to the right of the imaginary axis). This could explain the difference in performance between NSGAN and WGAN-GP.
204
+
205
+ # 1 EVIDENCE OF ROTATION AROUND LOCALLY STABLE STATIONARY POINTS IN GAN
206
+
207
+ We first look, for all the different models and datasets, at the path-angles between a random initialization (initial point) and the set of parameters during training achieving the best performance (end point) (Fig. 3), and at the eigenvalues of the Jacobian of the game vector field for the same end point (Fig. 4). We’re mostly interested in looking at the optimization landscape around LSSPs, so we first check if we are actually close to one. To do so we look at the gradient norm around the end point, this is shown by the orange curves in Fig.3, we can see that the norm of the gradient is quite small for all the models meaning that we are close to a stationary point. We also need to check that the point is stable, to do so we look at the eigenvalues of the Game in Fig. 4, if all the eigenvalues have positive real parts then the point is also stable. We observe that most of the time, the model has reached a LSSP. However we can see that this is not always the case, for example in Fig. 4d some of the eigenvalues have a negative real part. We still include those results since although the point is unstable it gives similar performance to a LSSP.
208
+
209
+ Our first observation is that all the GAN objectives on both datasets have a non zero rotational component. This can be seen by looking at the Path-angle in Fig. 3, where we always observe a bump, and this is also confirmed by the large imaginary part in the eigenvalues of the Jacobian in Fig. 4. The rotational component is clearly visible in Fig. 3d, where we see no sign switch and a clear bump similar to Fig. 2b. On MNIST and CIFAR10, with NSGAN and WGAN-GP (see Fig. 3), we observe a combination of a bump and a sign switch similar to Fig. 2c. Also Fig. 4 clearly shows the existence of imaginary eigenvalues with large magnitude. Fig. 4c and 4e. We can see that while almost all models exhibit rotations, the distribution of the eigenvalues are very different. In particular the complex eigenvalues for NSGAN seems to be much more concentrated on the imaginary axis while WGAN-GP tends to spread the eigenvalues towards the right of the imaginary axis Fig. 4e. This shows that different GAN objectives can lead to very different landscapes, and has implications in terms of optimization, in particular that might explain why WGAN-GP performs slightly better than NSGAN.
210
+
211
+ ![](images/0a844a30a854ca2f6bb1d095cde22ce35d8da0e87ab9021f4b387a5aeb665d54.jpg)
212
+ Figure 5: NSGAN. Top $k$ -Eigenvalues of the Hessian of each player (in terms of magnitude) in descending order. Top Eigenvalues indicate that the Generator does not reach a local minimum but a saddle point (for CIFAR10 actually both the generator and discriminator are at saddle points). Thus the training algorithms converge to LSSPs which are not Nash equilibria.
213
+
214
+ # 5.2 THE LOCALLY STABLE STATIONARY POINTS OF GANS ARE NOT LOCAL NASH EQUILIBRIA
215
+
216
+ As mentioned at the beginning of $\ S 5 . 1$ , the points we are considering are most of the times LSSP. To check if these points are also local Nash equilibria (LNE) we compute the eigenvalues of the Hessian of each player independently. If all the eigenvalues of each player are positive, it means that we have reached a DNE. Since the computation of the full spectrum of the Hessians is expensive, we restrict ourselves to the top- $\mathbf { \nabla } \cdot \mathbf { k }$ eigenvalues with largest magnitude: exhibiting one significant negative eigenvalue is enough to indicate that the point considered is not in the neighborhood of a
217
+
218
+ ![](images/3d29bc349772d0e3c1fb70d81e126cdaaa006b0d3b85a5f82bb1af8b2f02121b.jpg)
219
+ Figure 6: WGAN-GP. Top $k$ -Eigenvalues of the Hessian of each player (in terms of magnitude) in descending order. Top Eigenvalues indicate that the Generator does not reach a local minimum but a saddle point. Thus the training algorithms converge to LSSPs which are not Nash equilibria.
220
+
221
+ LNE. Results are shown in Fig. 5 and Fig. 6, from which we make several observations. First, we see that the generator never reaches a local minimum but instead finds a saddle point. This means that the algorithm converges to a LSSP which is not a LNE, while achieving good results with respect to our evaluation metrics. This raises the question whether convergence to a LNE is actually needed or if converging to a LSSP is sufficient to reach a good solution. We also observe a large difference in the eigenvalues of the discriminator when using the WGAN-GP v.s. the NSGAN objective. In particular, we find that the discriminator in NSGAN converges to a solution with very large positive eigenvalues compared to WGAN-GP. This shows that the discriminator in NSGAN converges to a much sharper minimum. This is consistent with the fact that the gradient penalty acts as a regularizer on the discriminator and prevents it from becoming too sharp.
222
+
223
+ # 6 DISCUSSION
224
+
225
+ Across different GAN formulations, standard optimization methods and datasets, we consistently observed that GANs do not converge to local Nash equilibria. Instead the generator often ends up being at a saddle point of the generator loss function. However, in practice, these LSSP achieve really good generator performance metrics, which leads us to question whether we need a Nash equilibrium to get a generator with good performance in GANs and whether such DNE with good performance does actually exist. Moreover, we have provided evidence that the optimization landscapes of GANs typically have rotational components specific to games. We argue that these rotational components are part of the reason why GANs are challenging to train, in particular that the instabilities observed during training may come from such rotations close to LSSP. It shows that simple low dimensional examples, such as for instance Dirac GAN, does capture some of the arising challenges for training large scale GANs, thus, motivating the practical use of method able to handle strong rotational components, such as extragradient (Gidel et al., 2019a), averaging (Yazıcı et al., 2019), optimism (Daskalakis et al., 2018) or gradient penalty based methods (Mescheder et al., 2017; Gulrajani et al., 2017).
226
+
227
+ # ACKNOWLEDGMENTS.
228
+
229
+ The contribution to this research by Mila, Universite de Montr ´ eal authors was partially supported by ´ the Canada CIFAR AI Chair Program (held at Mila), the Canada Excellence Research Chair in “Data Science for Realtime Decision-making”, by the NSERC Discovery Grant RGPIN-2017-06936 (held at Universite de Montr ´ eal), by a Borealis AI fellowship and by a Google Focused Research award. ´ The authors would like to thank Tatjana Chavdarova for fruitful discussions.
230
+
231
+ # REFERENCES
232
+
233
+ curvature exploitation approach. arXiv, 2018.
234
+ G. Alain, N. Le Roux, and P.-A. Manzagol. Negative eigenvalues of the hessian in deep neural networks. arXiv, 2019.
235
+ M. Arjovsky, S. Chintala, and L. Bottou. Wasserstein generative adversarial networks. In ICML, 2017.
236
+ D. Balduzzi, S. Racaniere, J. Martens, J. Foerster, K. Tuyls, and T. Graepel. The mechanics of n-player differentiable games. In ICML, 2018.
237
+ A. Brock, J. Donahue, and K. Simonyan. Large scale GAN training for high fidelity natural image synthesis. In ICLR, 2019.
238
+ A. Choromanska, M. Henaff, M. Mathieu, G. B. Arous, and Y. LeCun. The loss surfaces of multilayer networks. In Artificial Intelligence and Statistics, 2015.
239
+ C. Daskalakis, A. Ilyas, V. Syrgkanis, and H. Zeng. Training GANs with optimism. In ICLR, 2018.
240
+ Y. N. Dauphin, R. Pascanu, C. Gulcehre, K. Cho, S. Ganguli, and Y. Bengio. Identifying and attacking the saddle point problem in high-dimensional non-convex optimization. In NeurIPS, 2014.
241
+ F. Draxler, K. Veschgini, M. Salmhofer, and F. Hamprecht. Essentially no barriers in neural network energy landscape. In ICML, 2018.
242
+ G. Gidel, H. Berard, P. Vincent, and S. Lacoste-Julien. A variational inequality perspective on generative adversarial nets. ICLR, 2019a.
243
+ G. Gidel, R. A. Hemmat, M. Pezeshki, G. Huang, R. Lepriol, S. Lacoste-Julien, and I. Mitliagkas. Negative momentum for improved game dynamics. In AISTATS, 2019b.
244
+ X. Glorot and Y. Bengio. Understanding the difficulty of training deep feedforward neural networks. In AISTATS, 2010.
245
+ I. Goodfellow. Neurips 2016 tutorial: Generative adversarial networks. arXiv:1701.00160, 2016.
246
+ I. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. Warde-Farley, S. Ozair, A. Courville, and Y. Bengio. Generative adversarial nets. In NeurIPS, 2014.
247
+ I. J. Goodfellow, O. Vinyals, and A. M. Saxe. Qualitatively characterizing neural network optimization problems. In ICLR, 2015.
248
+ I. Gulrajani, F. Ahmed, M. Arjovsky, V. Dumoulin, and A. C. Courville. Improved training of wasserstein GANs. In NeurIPS, 2017.
249
+ M. Heusel, H. Ramsauer, T. Unterthiner, B. Nessler, and S. Hochreiter. GANs trained by a two time-scale update rule converge to a local nash equilibrium. In NeurIPS, 2017.
250
+ K. Kawaguchi. Deep learning without poor local minima. In NeurIPS, 2016.
251
+ D. P. Kingma and J. Ba. Adam: A method for stochastic optimization. In ICLR, 2015.
252
+ G. Korpelevich. The extragradient method for finding saddle points and other problems. Matecon, 1976.
253
+ A. Krizhevsky and G. Hinton. Learning multiple layers of features from tiny images. Technical report, Citeseer, 2009.
254
+ A. Krizhevsky, I. Sutskever, and G. E. Hinton. Imagenet classification with deep convolutional neural networks. In NeurIPS, 2012.
255
+ Y. LeCun, C. Cortes, and C. Burges. MNIST handwritten digit database. AT&T Labs [Online]. Available: http://yann. lecun. com/exdb/mnist, 2010.
256
+ H. Li, Z. Xu, G. Taylor, C. Studer, and T. Goldstein. Visualizing the loss landscape of neural nets. In NeurIPS, 2018a.
257
+ J. Li, A. Madry, J. Peebles, and L. Schmidt. On the limitations of first order approximation in gan dynamics. In ICML, 2018b.
258
+ E. Mazumdar and L. J. Ratliff. On the convergence of gradient-based learning in continuous games. ArXiv, 2018.
259
+ E. V. Mazumdar, M. I. Jordan, and S. S. Sastry. On finding local nash equilibria (and only local nash equilibria) in zero-sum games. arXiv, 2019.
260
+ L. Mescheder, S. Nowozin, and A. Geiger. The numerics of GANs. In NeurIPS, 2017.
261
+ L. Mescheder, A. Geiger, and S. Nowozin. Which Training Methods for GANs do actually Converge? In ICML, 2018.
262
+ T. Miyato, T. Kataoka, M. Koyama, and Y. Yoshida. Spectral normalization for generative adversarial networks. In ICLR, 2018.
263
+ V. Nagarajan and J. Z. Kolter. Gradient descent GAN optimization is locally stable. In NeurIPS, 2017.
264
+ W. Paul. Electromagnetic traps for charged and neutral particles. Reviews of modern physics, 1990.
265
+ B. A. Pearlmutter. Fast exact multiplication by the hessian. Neural computation, 1994.
266
+ A. Radford, L. Metz, and S. Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. In ICLR, 2016.
267
+ L. J. Ratliff, S. A. Burden, and S. S. Sastry. On the characterization of local nash equilibria in continuous games. In IEEE Transactions on Automatic Control, 2016.
268
+ L. Sagun, L. Bottou, and Y. LeCun. Eigenvalues of the hessian in deep learning: Singularity and beyond. arXiv, 2016.
269
+ L. Sagun, U. Evci, V. U. Guney, Y. Dauphin, and L. Bottou. Empirical analysis of the hessian of over-parametrized neural networks. arXiv, 2017.
270
+ T. Salimans, I. Goodfellow, W. Zaremba, V. Cheung, A. Radford, and X. Chen. Improved techniques for training GANs. In NeurIPS, 2016.
271
+ R. Thompson, T. Harmon, and M. Ball. The rotating-saddle trap: A mechanical analogy to rf-electricquadrupole ion trapping? Canadian journal of physics, 2002.
272
+ F. Verhulst. Nonlinear differential equations and dynamical systems. Springer Science & Business Media, 1989.
273
+ Y. Yazıcı, C.-S. Foo, S. Winkler, K.-H. Yap, G. Piliouras, and V. Chandrasekhar. The unusual effectiveness of averaging in GAN training. In ICLR, 2019.
274
+
275
+ # A PROOF OF THEOREMS AND PROPOSITIONS
276
+
277
+ A.1 PROOF OF THEOREM 1
278
+
279
+ Let us recall the theorem of interest:
280
+
281
+ Proposition’ 1. Let us assume that (6) is an equality and that $\nabla \boldsymbol { v } ( \omega ^ { * } )$ is diagonalizable, then there exists a basis $_ { r }$ such that the coordinates $\tilde { \omega } ( t ) : = P ( \omega ( t ) - \omega ^ { * } )$ have the following behavior,
282
+
283
+ 1. For $\lambda _ { j } \in \mathrm { S p } \nabla v ( \omega ^ { * } )$ , $\lambda _ { j } \in \mathbb { R } ,$ , we observe pure attraction: $\tilde { \omega } _ { j } ( t ) = e ^ { - \lambda _ { j } t } [ \tilde { \omega } _ { j } ( 0 )$ .
284
+
285
+ 2. For $\lambda _ { j } \in \mathrm { S p } \nabla v ( \omega ^ { * } ) , \Re ( \lambda _ { j } ) = 0$ , we observe pure rotation: $\begin{array} { r } { \left[ \tilde { \omega } _ { j } ( t ) \right] = R _ { | \lambda _ { j } | t } \left[ \tilde { \omega } _ { j } ( 0 ) \right] . } \end{array}$
286
+
287
+ 3. Otherwise, we observe both: $\begin{array} { r } { \left[ \begin{array} { c } { \tilde { \omega } _ { j } ( t ) } \\ { \tilde { \omega } _ { j + 1 } ( t ) } \end{array} \right] = e ^ { - \mathrm { R e } ( \lambda _ { j } ) t } R _ { \mathrm { I m } ( \lambda _ { j } ) t } \left[ \begin{array} { c } { \tilde { \omega } _ { j } ( 0 ) } \\ { \tilde { \omega } _ { j + 1 } ( 0 ) } \end{array} \right] . } \end{array}$
288
+
289
+ The matrix $R _ { \varphi }$ corresponds to a rotation of angle $\varphi$ . Note that, we re-ordered the eigenvalues such that the complex conjugate eigenvalues form pairs: if $\lambda _ { j } \notin \mathbb { R }$ then $\lambda _ { j + 1 } = \bar { \lambda } _ { j }$ .
290
+
291
+ Proof. The ODE we consider is,
292
+
293
+ $$
294
+ \frac { d \pmb { \omega } ( t ) } { d t } = \nabla \pmb { v } ( \pmb { \omega } ^ { * } ) ( \pmb { \omega } ( t ) - \pmb { \omega } ^ { * } )
295
+ $$
296
+
297
+ The solution of this ODE is
298
+
299
+ $$
300
+ \pmb { \omega } ( t ) = e ^ { - ( t - t _ { 0 } ) \nabla \pmb { v } ( \pmb { \omega } ^ { * } ) } ( \pmb { \omega } ( t _ { 0 } ) - \pmb { \omega } ^ { * } ) + \pmb { \omega } ^ { * }
301
+ $$
302
+
303
+ Let us now consider $\lambda$ an eigenvalue of $\mathrm { S p } ( \nabla v ( \omega ^ { * } ) )$ such that $\mathrm { R e } ( \lambda ) > 0$ and $\underline { { \mathrm { I m } } } ( \lambda ) \neq 0$ . Since $\nabla \boldsymbol { v } ( \omega ^ { * } )$ is a real matrix and $\mathrm { I m } ( \lambda ) \neq 0$ we know that the complex conjugate $\bar { \lambda }$ of $\lambda$ belongs to $\mathrm { S p } ( \nabla v ( \omega ^ { * } ) )$ . Let $\mathbf { \delta } \mathbf { u } _ { 0 }$ be a complex eigenvector of $\lambda$ , then we have that,
304
+
305
+ $$
306
+ \begin{array} { r } { \nabla \pmb { v } ( \omega ^ { * } ) \pmb { u } _ { 0 } = \lambda \pmb { u } _ { 0 } \quad \Rightarrow \quad \nabla \pmb { v } ( \omega ^ { * } ) \pmb { \bar { u } } _ { 0 } = \bar { \lambda } \pmb { \bar { u } } _ { 0 } } \end{array}
307
+ $$
308
+
309
+ and thus $\bar { \mathbf { u } } _ { 0 }$ is a eigenvector of $\bar { \lambda }$ . Now if we set $\pmb { u } _ { 1 } : = \pmb { u } _ { 0 } + \bar { \pmb { u } } _ { 0 }$ and $i \pmb { u } _ { 2 } : = \pmb { u } _ { 0 } - \bar { \pmb { u } } _ { 0 }$ , we have that
310
+
311
+ $$
312
+ \begin{array} { r l } & { e ^ { - t \nabla v ( \omega ^ { * } ) } u _ { 1 } = e ^ { - t \lambda } { \mathbf { 1 } } _ { 0 } + e ^ { - t \bar { \lambda } } \bar { \mathbf { u } } _ { 0 } = \mathrm { R e } ( e ^ { - t \lambda } ) { \mathbf { 1 } } _ { 1 } + \mathrm { I m } ( e ^ { - t \lambda } ) { \mathbf { 1 } } _ { 2 } } \\ & { e ^ { - t \nabla v ( \omega ^ { * } ) } i { \mathbf { 1 } } _ { 2 } = e ^ { - t \lambda } { \mathbf { 1 } } _ { 0 } - e ^ { - t \bar { \lambda } } \bar { \mathbf { u } } _ { 0 } = i ( \mathrm { R e } ( e ^ { - t \lambda } ) { \mathbf { 1 } } _ { 2 } - \mathrm { I m } ( e ^ { - t \lambda } ) { \mathbf { u } } _ { 1 } ) } \end{array}
313
+ $$
314
+
315
+ Thus if we consider the basis that diagonalizes $\nabla \boldsymbol { v } ( \omega ^ { * } )$ and modify the complex conjugate eigenvalues in the way we described right after 11 we get the expected diagonal form in a real basis. Thus there exists $_ { P }$ such that
316
+
317
+ $$
318
+ \nabla \pmb { v } ( \omega ^ { * } ) = \pmb { P } \pmb { D } \pmb { P } ^ { - 1 }
319
+ $$
320
+
321
+ where $_ { D }$ is the block diagonal matrix with the block described in Theorem 1.
322
+
323
+ A.2 BEING A DNE IS NEITHER NECESSARY OR SUFFICIENT FOR BEING A LSSP
324
+
325
+ Let us first recall Example 1.
326
+
327
+ Example’ 1. Let us consider $\mathcal { L } _ { G }$ as a hyperbolic paraboloid (a.k.a., saddle point function) centered in $( 1 , 1 )$ where $( 1 , \varphi )$ is the principal descent direction and $( - \varphi , 1 )$ is the principal ascent direction, while $\mathcal { L } _ { D }$ is a simple bilinear objective.
328
+
329
+ $$
330
+ \begin{array} { r } { \mathcal { L } _ { G } ( \theta _ { 1 } , \theta _ { 2 } , \varphi ) = ( \theta _ { 2 } - \varphi \theta _ { 1 } - 1 ) ^ { 2 } - \frac { 1 } { 2 } ( \theta _ { 1 } + \varphi \theta _ { 2 } - 1 ) ^ { 2 } , \mathcal { L } _ { D } ( \theta _ { 1 } , \theta _ { 2 } , \varphi ) = \varphi ( 5 \theta _ { 1 } + 4 \theta _ { 2 } - 9 ) } \end{array}
331
+ $$
332
+
333
+ We want to show that $( 1 , 1 , 0 )$ is a locally stable stationary point.
334
+
335
+ Proof. The game vector field has the following form,
336
+
337
+ $$
338
+ \pmb { v } ( \theta _ { 1 } , \theta _ { 2 } , \varphi ) = \left( \begin{array} { c } { ( 2 \varphi ^ { 2 } - 1 ) \theta _ { 1 } - 3 \varphi \theta _ { 2 } + 2 \varphi + 1 } \\ { ( 2 - \varphi ^ { 2 } ) \theta _ { 2 } - 3 \varphi \theta _ { 1 } - 2 + \varphi } \\ { 5 \theta _ { 1 } + 4 \theta _ { 2 } - 9 } \end{array} \right)
339
+ $$
340
+
341
+ Thus, $( \theta _ { 1 } ^ { * } , \theta _ { 2 } ^ { * } , \varphi ^ { * } ) : = ( 1 , 1 , 0 )$ is a stationary point (i.e., ${ \pmb v } ( \theta _ { 1 } ^ { * } , \theta _ { 2 } ^ { * } , \varphi ^ { * } ) = 0 ,$ . The Jacobian of the game vector field is
342
+
343
+ $$
344
+ \nabla \pmb { v } ( \theta _ { 1 } , \theta _ { 2 } , \varphi ) = \left( \begin{array} { c c c } { 2 \varphi ^ { 2 } - 1 } & { - 3 \varphi } & { 2 - 3 \theta _ { 2 } } \\ { - 3 \varphi } & { 2 - \varphi ^ { 2 } } & { 1 - 3 \theta _ { 1 } } \\ { 5 } & { 4 } & { 0 } \end{array} \right) ,
345
+ $$
346
+
347
+ and thus,
348
+
349
+ $$
350
+ \nabla \pmb { v } ( \theta _ { 1 } ^ { * } , \theta _ { 2 } ^ { * } , \varphi ^ { * } ) = \left( \begin{array} { c c c } { - 1 } & { 0 } & { - 1 } \\ { 0 } & { 2 } & { - 2 } \\ { 5 } & { 4 } & { 0 } \end{array} \right) .
351
+ $$
352
+
353
+ We can verify that the eigenvalues of this matrix have a positive real part with any solver (the eigenvalues of a $3 \times 3$ always have a closed form) . For completeness we provide a proof without using the closed form of the eigenvalues. The eigenvalues $\nabla \boldsymbol { v } ( \theta _ { 1 } ^ { * } , \theta _ { 2 } ^ { * } , \varphi ^ { * } )$ are given by the roots of its characteristic polynomial,
354
+
355
+ $$
356
+ \chi ( X ) : = \left| \begin{array} { c c c } { { X + 1 } } & { { 0 } } & { { 1 } } \\ { { 0 } } & { { X - 2 } } & { { 2 } } \\ { { - 5 } } & { { - 4 } } & { { 0 } } \end{array} \right| = X ^ { 3 } - X ^ { 2 } + 1 1 X - 2 .
357
+ $$
358
+
359
+ This polynomial has a real root in $( 0 , 1 )$ because $\chi ( 0 ) = - 2 < 0 < 9 = \chi ( 1 )$ . Thus we know that, there exists $\alpha \in ( 0 , 1 )$ such that,
360
+
361
+ $$
362
+ X ^ { 3 } - X ^ { 2 } + 1 1 X - 2 = ( X - \alpha ) ( X - \lambda _ { 1 } ) ( X - \lambda _ { 2 } ) .
363
+ $$
364
+
365
+ Then we have the equalities,
366
+
367
+ $$
368
+ \begin{array} { l } { { \alpha \lambda _ { 1 } \lambda _ { 2 } = 2 } } \\ { { \alpha + \lambda _ { 1 } + \lambda _ { 2 } = 1 . } } \end{array}
369
+ $$
370
+
371
+ Thus, since $0 < \alpha < 1$ , we have that,
372
+
373
+ • If $\lambda _ { 1 }$ and $\lambda _ { 2 }$ are real, they have the same sign $\lambda _ { 1 } \lambda _ { 2 } = 2 / \alpha > 0$ ) and thus are positive $( \lambda _ { 1 } + \lambda _ { 2 } = 1 - \alpha > 0 )$ .
374
+
375
+ • If $\lambda _ { 1 }$ is complex then $\lambda _ { 2 } = \bar { \lambda } _ { 1 }$ and thus, $2 \Re ( \lambda _ { 1 } ) = \lambda _ { 1 } + \lambda _ { 2 } = 1 - \alpha > 0 ,$ .
376
+
377
+ Example 1 showed that LSSP did not imply DNE. Let us construct an example where a game have a DNE which is not locally stable.
378
+
379
+ Example 2. Consider the non-zero-sum game with the following respective losses for each player,
380
+
381
+ $$
382
+ \begin{array} { r } { \mathcal { L } _ { 1 } ( \theta , \phi ) = 4 \theta ^ { 2 } + ( \frac { 1 } { 2 } \phi ^ { 2 } - 1 ) \cdot \theta \quad a n d \quad \mathcal { L } _ { 2 } ( \theta , \phi ) = ( 4 \theta - 1 ) \phi + \frac { 1 } { 6 } \theta ^ { 3 } } \end{array}
383
+ $$
384
+
385
+ This game has two stationary points for $\theta = 0$ and $\phi = \pm 1$ . The Jacobian of the dynamics at these two points are
386
+
387
+ $$
388
+ \nabla \pmb { v } ( 0 , 1 ) = \left( { 1 \atop 2 } \quad { 1 / 2 } \right) \quad \mathrm { a n d } \quad \nabla \pmb { v } ( 0 , - 1 ) = \left( { 1 \atop 2 } \quad { - 1 / 2 } \right)
389
+ $$
390
+
391
+ Thus,
392
+
393
+ • The stationary point $( 0 , 1 )$ is a DNE but $\begin{array} { r } { \mathrm { S p } ( \nabla v ( 0 , 1 ) ) = \{ \frac { 3 \pm \sqrt { 1 7 } } { 4 } \} } \end{array}$ contains an eigenvalue with negative real part and so is not a LSSP.
394
+
395
+ • The statioanry point $( 0 , - 1 )$ is not a DNE but $\begin{array} { r } { \mathrm { S p } ( \nabla v ( 0 , 1 ) ) = \lbrace \frac { 1 \pm i \sqrt { 7 } } { 4 } \rbrace } \end{array}$ contains only eigenvalue with positive real part and so is a LSSP.
396
+
397
+ # B COMPUTATION OF THE TOP-K EIGENVALUES OF THE JACOBIAN
398
+
399
+ Neural networks usually have a large number of parameters, this usually makes the storing of the full Jacobian matrix impossible. However the Jacobian vector product can be efficiently computed by using the trick from (Pearlmutter, 1994). Indeed it’s easy to show that $\nabla \pmb { v } ( \pmb { \omega } ) \pmb { u } = \dot { \nabla } ( \pmb { v } ( \pmb { \omega } ) ^ { T } \pmb { u } )$ .
400
+
401
+ To compute the eigenvalues of the Jacobian of the Game, we first compute the gradient $\pmb { v } ( \omega )$ over a subset of the dataset. We then define a function that computes the Jacobian vector product using automatic differentiation. We can then use this function to compute the top- $\mathbf { \nabla } \cdot \mathbf { k }$ eigenvalues of the Jacobian using the sparse.linalg.eigs functions of the Scipy library.
402
+
403
+ # C EXPERIMENTAL DETAILS
404
+
405
+ # C.1 MIXTURE OF GAUSSIAN EXPERIMENT
406
+
407
+ Dataset. The Mixture of Gaussian dataset is composed of 10,000 points sampled independently from the following distribution $\begin{array} { r } { p _ { \mathcal { D } } ( x ) = \frac { 1 } { 2 } \mathcal { N } ( 2 , 0 . 5 ) \stackrel { \cdot } { + } \frac { 1 } { 2 } \mathcal { N } ( - 2 , 1 ) } \end{array}$ where $\textstyle { \mathcal { N } } ( { \bar { \mu } } , \sigma ^ { 2 } )$ is the probability density function of a 1D-Gaussian distribution with mean $\mu$ and variance $\sigma ^ { 2 }$ . The latent variables $z \in \mathbb { R } ^ { \bar { d } }$ are sampled from a standard Normal distribution $\mathcal { N } ( 0 , I _ { d } )$ . Because we want to use full-batch methods, we sample 10,000 points that we re-use for each iteration during training.
408
+
409
+ Neural Networks Architecture. Both the generator and discriminator are one hidden layer neural networks with 100 hidden units and ReLU activations.
410
+
411
+ WGAN Clipping. Because of the clipping of the discriminator parameters some components of the gradient of the discriminator’s gradient should no be taken into account. In order to compute the relevant path angle we apply the following filter to the gradient:
412
+
413
+ $$
414
+ { \bf 1 } \left\{ ( | \varphi | = { \bf c } ) \mathrm { a n d } ( \mathrm { s i g n } \nabla _ { \varphi } { \mathcal L } _ { \bf D } ( \omega ) = - \mathrm { s i g n } \varphi ) \right\}
415
+ $$
416
+
417
+ where $\varphi$ is clipped between $- c$ and $c$ . If this condition holds for a coordinate of the gradient then it mean that after a gradient step followed by a clipping the value of the coordinate will not change.
418
+
419
+ <table><tr><td colspan="2">Hyperparameters for WGAN-GP on MoG</td></tr><tr><td>Batch size</td><td>= 10, 000 (Full-Batch)</td></tr><tr><td>Numberof iterations</td><td>= 30,000</td></tr><tr><td>Learning rate for generator</td><td>=1×10-2</td></tr><tr><td>Learning rate for discriminator</td><td>=1 × 10-1</td></tr><tr><td>Gradient Penalty coeficient</td><td>=1 ×10-3</td></tr></table>
420
+
421
+ <table><tr><td>Hyperparameters for NSGAN on MoG</td><td></td></tr><tr><td>Batch size</td><td>= 10, 000 (Full-Batch)</td></tr><tr><td>Number of iterations</td><td>= 30,000</td></tr><tr><td>Learning rate for generator</td><td>=1×10-1</td></tr><tr><td>Learning rate for discriminator</td><td>= 1 ×10-1</td></tr></table>
422
+
423
+ # C.2 MNIST EXPERIMENT
424
+
425
+ Dataset We use the training part of MNIST dataset LeCun et al. (2010) (50K examples) for training our models, and scale each image to the range $[ - 1 , 1 ]$ .
426
+
427
+ Architecture We use the DCGAN architecture Radford et al. (2016) for our generator and discriminator, with both the NSGAN and WGAN-GP objectives. The only change we make is that we replace the Batch-norm layer in the discriminator with a Spectral-norm layer Miyato et al. (2018), which we find to stabilize training.
428
+
429
+ # Training Details
430
+
431
+ <table><tr><td colspan="2">Hyperparameters for NSGAN with Adam</td></tr><tr><td>Batch size</td><td>= 100</td></tr><tr><td>Number of iterations</td><td>= 100,000</td></tr><tr><td>Learning rate for generator</td><td>=2×10-4</td></tr><tr><td>Learning rate for discriminator</td><td>=5×10-5</td></tr><tr><td>β1</td><td>= 0.5</td></tr></table>
432
+
433
+ <table><tr><td colspan="2">Hyperparameters for NSGAN with ExtraAdam</td></tr><tr><td>Batch size</td><td>= 100</td></tr><tr><td>Number of iterations</td><td>= 100,000</td></tr><tr><td>Learning rate for generator</td><td>=2×10-4</td></tr><tr><td>Learning rate for discriminator</td><td>=5×10-5</td></tr><tr><td>β</td><td>= 0.9</td></tr></table>
434
+
435
+ <table><tr><td colspan="2">Hyperparameters for WGAN-GP with Adam</td></tr><tr><td>Batch size</td><td>= 100</td></tr><tr><td>Number of iterations</td><td>= 200,000</td></tr><tr><td>Learning rate for generator</td><td>= 8.6 × 10-5</td></tr><tr><td>Learning rate for discriminator</td><td>= 8.6 ×10-5</td></tr><tr><td>β1</td><td>= 0.5</td></tr><tr><td>Gradient penalty 入</td><td>=10</td></tr><tr><td>Critic per Gen. iterations 入</td><td>=5</td></tr></table>
436
+
437
+ <table><tr><td colspan="2">Hyperparameters for WGAN-GP with ExtraAdam</td></tr><tr><td>Batch size</td><td>= 100</td></tr><tr><td>Numberof iterations</td><td>= 200,000</td></tr><tr><td>Learning rate for generator</td><td>= 8.6 × 10-5</td></tr><tr><td>Learning rate for discriminator</td><td>=8.6 × 10-5</td></tr><tr><td>β</td><td>= 0.9</td></tr><tr><td>Gradient penalty 入</td><td>=10</td></tr><tr><td>Critic per Gen. iterations 入</td><td>=5</td></tr></table>
438
+
439
+ Computing Inception Score on MNIST We compute the inception score (IS) for our models using a LeNet classifier pretrained on MNIST. The average IS score of real MNIST data is 9.9.
440
+
441
+ # C.3 PATH-ANGLE PLOT
442
+
443
+ We use the path-angle plot to illustrate the dynamics close to a LSSP. To compute this plot, we need to choose an initial point $\omega$ and an end point $\omega ^ { \prime }$ . We choose the $\omega$ to be the parameters at initialization, but $\omega ^ { \prime }$ can more subtle to choose. In practice, when we use stochastic gradient methods we typically reach a neighborhood of a LSSP where the norm of the gradient is small. However, due to the stochastic noise, we keep moving around the LSSP. In order to be robust to the choice of the end point $\omega ^ { \prime }$ , we take multiple close-by points during training that have good performance (e.g., high IS in MNIST). In all of figures, we compute the path-angle (and path-norm) for all these end points (with the same start point), and we plot the median path-angle (middle line) and interquartile range (shaded area).
444
+
445
+ # C.4 INSTABILITY OF GRADIENT DESCENT
446
+
447
+ For the MoG dataset we tried both the extragradient method (Korpelevich, 1976; Gidel et al., 2019a) and the standard gradient descent. We observed that gradient descent leads to unstable results. In
448
+
449
+ particular the norm of the gradient has very large variance compared to extragradient this is shown in Fig. 7.
450
+
451
+ ![](images/0dd70884d2deefe0b912dcc7666fa28c42078d697911063663763504bd7ef21a.jpg)
452
+ Figure 7: The norm of gradient during training for the standard GAN objective. We observe that while extra-gradient reaches low norm which indicates that it has converged, the gradient descent on the contrary doesn’t seem to converge.
453
+
454
+ # C.5 ADDITIONAL RESULTS WITH ADAM
455
+
456
+ ![](images/d6e6c8dfe0dc144266e491d2521100bcd9913f5c2ca41905d53b6de59228aef9.jpg)
457
+ Figure 8: Path-angle and Eigenvalues computed on MNIST with Adam.
458
+
459
+ ![](images/7e86c3597e01d1f52d8eefef629641d9a9a68dba0a0fa95d1d583faf34d22315.jpg)
460
+ Figure 9: Path-angle and Eigenvalues for NSGAN on CIFAR10 computed on CIFAR10 with Adam. We can see that the model has eigenvalues with negative real part, this means that we’ve actually reached an unstable point.
parse/train/HJeVnCEKwH/HJeVnCEKwH_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/HJeVnCEKwH/HJeVnCEKwH_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/HJeVnCEKwH/HJeVnCEKwH_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/HJxFrs09YQ/HJxFrs09YQ.md ADDED
@@ -0,0 +1,339 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # GENERALIZED ADAPTIVE MOMENT ESTIMATION
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ Adaptive gradient methods have experienced great success in training deep neural networks (DNNs). The basic idea of the methods is to track and properly make use of the first and/or second moments of the gradient for model-parameter updates over iterations for the purpose of removing the need for manual interference. In this work, we propose a new adaptive gradient method, referred to as generalized adaptive moment estimation (Game). From a high level perspective, the new method introduces two more parameters w.r.t. AMSGrad (S. J. Reddi & Kumar (2018)) and one more parameter w.r.t. PAdam (Chen & Gu (2018)) to enlarge the parameterselection space for performance enhancement while reducing the memory cost per iteration compared to AMSGrad and PAdam. The saved memory space amounts to the number of model parameters, which is significant for large-scale DNNs. Our motivation for introducing additional parameters in Game is to provide algorithmic flexibility to facilitate a reduction of the performance gap between training and validation datasets when training a DNN. Convergence analysis is provided for applying Game to solve both convex optimization and smooth nonconvex optimization. Empirical studies for training four convolutional neural networks over MNIST and CIFAR10 show that under proper parameter selection, Game produces promising validation performance as compared to AMSGrad and PAdam.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ Stochastic gradient descent (SGD) and its variants have become the mainstream training methods in machine learning (ML) due to its simplicity and effectiveness. In general, SGD is known to work reasonably well regardless of their problem structure if the learning rate is set properly in a dynamical manner over training iterations. Intuitively speaking, if optimization problems admit certain structural properties (e.g., gradients magnitudes not balanced across the parameter set), advanced gradient descent methods exploiting the structural properties would be likely to boost optimization performance. In 2011, Duchi et al. firstly proposed to track the second moment of gradients and then scale each gradient coordinate using the tracked information before updating the model parameters, which is referred to as AdaGrad (Duchi et al. (2011)). From a conceptual point of view, AdaGrad adaptively adjusts “individual learning rates” for all the model parameters, allowing for the parameters to be updated on a roughly equal scale. It is found that AdaGrad converges significantly faster than SGD when the gradients are sparse. Its performance deteriorates when the gradients are dense due to a rapid decay of the learning rates.
12
+
13
+ Since the pioneering work of AdaGrad, various adaptive gradient methods have been proposed on tracking and using the first and/or second moment of the gradients for effective parameter updates. The methods include, for example, RMSProp (Tieleman & Hinton (2012)), Adam (Kingma & Ba (2017)), and NAdam (Dozat (2016)). The main difference of the above methods from AdaGrad is that the first and/or second moment of the gradients are tracked via exponential moving averaging to enhance the importance of the most recent gradients.
14
+
15
+ Despite the wide usage of Adam in ML community, Reddit et al. have recently shown that the method does not even converge for a class of specially constructed convex functions (S. J. Reddi & Kumar (2018)) due to the non-monotonicity of the “individual learning rates” being multiplied to the gradients. To fix the convergence issue of Adam, the authors proposed a so-called AMSGrad method by additionally tracking the maximum value of the second moment of gradients over iterations (i.e., vector $\hat { v }$ of Alg. 1 in Table 1). Later on, Chen and Guo generalized AMSGrad by introducing one free parameter (i.e., $p$ of Alg. 2 in Table 1), referred to as PAdam (Chen & Gu (2018)). The authors’ primary motivation is to improve the generalization performance by tuning the parameter. Both AMSGrad and PAdam require additional memory in comparison to Adam for storing $\hat { v }$ .
16
+
17
+ Table 1: Comparison of three adaptive gradient methods
18
+
19
+ <table><tr><td rowspan=1 colspan=1>Alg.1:AMSGrad</td><td rowspan=1 colspan=2>Alg.2:PAdam</td><td rowspan=1 colspan=1>Alg.3:Game</td></tr><tr><td rowspan=1 colspan=1>Input:x1,{αt},{βit},β2Init.: mo←0,v←0,vo←0fort=1toTdogt=Vf(xt;$t)mt= βitmt-1+(1-βit)gtUt =β2Ut-1+(1- β2)g²Vt = max(vt,Ut-1)Ct+1 ← xt-atV-1/2mtend for</td><td rowspan=1 colspan=2>Input:x1,{αt},{βit},β2Init.:mo←0,vo←0,vo←0fort=1to Tdogt=Vxf(xt;st)mt=β1tmt-1+(1-βit)gtUt = β2Ut-1+(1-β2)g²Ut = max(vt,Ut-1)Xt+1←xt-αtVt-Pmtend for</td><td rowspan=1 colspan=1>Input:x1,{αt},{βit},β2Init.:mo←0,vo←0fort=1toTdogt=Vxf(xt;St)mt=β1tmt-1+(1-βit)gtUt=β2Ut-1+(1-β2)lgt|qUt = max(vt,Ut-1)Xt+1 ← xt -αtVt-Pmtend for</td></tr><tr><td rowspan=1 colspan=3>Comparison of analysis results for smooth nonconvex optimization</td><td rowspan=1 colspan=1>nvexoptimization</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=2>(Zhou et al. (2018)) :0(+);β&lt;β,p=</td><td rowspan=1 colspan=1></td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=2>new results:(+%)when p = 1/4</td><td rowspan=1 colspan=1>new results:0(+)when pq = 1/2</td></tr><tr><td rowspan=1 colspan=2>Notations: Vt = diag(0t); GT = E (</td><td rowspan=1 colspan=2>(∑d1l9:ll2);d:dimensionof</td></tr></table>
20
+
21
+ While machine learning has seen rapid advances in algorithm development, theoretical convergence analysis has also made remarkable progress recently. The work of (Zhou et al. (2018)) extends the original analysis for PAdam in (Chen & Gu (2018)) from convex optimization to smooth nonconvex optimization. In another recent article (Chen et al. (2018)), the authors also considered smooth nonconvex optimization and provided convergence analysis for a class of Adam-related algorithms including AMSGrad and Adam. The convergence bounds developed in the above two articles differ in their analysis approach and step-size selection. From a high level point of view, analysis on nonconvex optimization is highly valuable in practice as training deep neural networks (DNNs) is well known to be a nonconvex optimization problem. An improved convergence analysis on existing algorithms would provide insights on designing more advanced adaptive gradient methods.
22
+
23
+ In this paper, we make two main contributions. Firstly, we propose a new adaptive gradient method named generalized adaptive moment estimation (Game). As shown in Table 1, Game tracks only two variables $( m , \hat { v } )$ 1 over iterations as compared to AMSGrad and PAdam, which track three variables $( m , v , \hat { v } )$ . We emphasize that since the dimension of $\pmb { v }$ is the same as the number of model parameters, the memory saved by Game can be remarkable for modern large-scale neural networks, which usually have millions of parameters. Furthermore, Game introduces two parameters (i.e., $( p , q )$ of Alg. 3 in Table 1) in comparison to PAdam which introduces one parameter (i.e., $p$ of Alg. 2 in Table 1) to further enhance its flexibility. The parameter $q$ enables Game to track information of the qth moment of gradient magnitude rather than only the second moment of the gradients. By doing so, the parameter provides one more degree of freedom for the method to balance the tradeoff between convergence speed on training data and generalization ability on validation data.
24
+
25
+ Secondly, in our theoretical convergence analysis for Game, we manage to remove the condition on the relationship between $\beta _ { 1 }$ and $\beta _ { 2 }$ while $\beta _ { 1 } \leq \beta _ { 2 }$ and $\beta _ { 1 } \leq \beta _ { 2 } ^ { p }$ are required in (S. J. Reddi & Kumar (2018)) for AMSGrad and (Zhou et al. (2018)) for PAdam, respectively. We provide convergence analysis for both convex optimization and smooth nonconvex optimization. The results for nonconvex case are briefly summarized in Table 1 with the analysis results from (Zhou et al. (2018)) as a reference. Finally, our experimental results on training four convolutional neural networks (CNNs) for MNIST and CIFAR10 suggest that with a proper setup of $( p , q )$ , Game produces promising validation performance in comparison to AMSGrad and PAdam.
26
+
27
+ # 2 PROBLEM SETUP
28
+
29
+ Before introducing the problem, we describe the notation used in the paper, which are basically in line with that of (S. J. Reddi & Kumar (2018)) and (Chen & Gu (2018)) for consistency. We denote scalars by lower-case letters, vectors by bold lower-case letters, and matrices by bold upper-case letters. Following convention, we denote the $l _ { p }$ $( p \geq 1 )$ norm of a vector $\pmb { x } \in \mathbb { R } ^ { d }$ by $\| { \pmb x } \| _ { p } =$ $\begin{array} { r } { ( \sum _ { i = 1 } ^ { d } | x _ { i } | ^ { p } ) ^ { 1 / p } } \end{array}$ $p \infty$ , thehere $l _ { \infty }$ norm takes a special form is the ith element of a vector $\| \pmb { x } \| _ { \infty } = \operatorname* { m a x } _ { i = 1 } ^ { d } | x _ { i } |$ . We leto denote $\pmb { g } _ { 1 : t , i } = [ g _ { 1 , i } , g _ { 2 , i } , \cdot \cdot \cdot , g _ { t , i } ]$ $g _ { t , i }$ $\pmb { g } _ { t } \in \mathbb { R } ^ { d }$ $\mathbb { E } [ \cdot ]$ the expectation operation. Given two sequences $\left\{ { { a } _ { t } } \right\}$ and $\{ b _ { t } \}$ , the notation $a _ { t } = O ( b _ { t } )$ indicates that the magnitude of $a _ { t }$ is proportional to that of $b _ { t }$ for $t \geq 0$ .
30
+
31
+ Formally, we reconsider solving the stochastic smooth nonconvex optimization studied in (Ghadimi & Lan (2013; 2016); Zhou et al. (2018))
32
+
33
+ $$
34
+ \operatorname* { m i n } _ { \pmb { x } \in \mathbb { R } ^ { d } } f ( \pmb { x } ) = \mathbb { E } _ { \xi } \left[ f ( \pmb { x } ; \xi ) \right] ,
35
+ $$
36
+
37
+ where $_ { \textbf { \em x } }$ represents the parameters of a model in a vector form and $\xi$ is a random variable. Due to randomness of $\xi$ , one can only obtain an unbiased noisy gradient $\nabla f ( { \pmb x } ; { \pmb \xi } )$ , satisfying $\nabla f ( { \pmb x } ) =$ $\mathbb { E } _ { \xi } [ \nabla f ( { \pmb x } ; { \pmb \xi } ) ]$ . In practice, the variable $\xi$ often represents the random mini-batch state. For the above situation, we denote the function realization at iteration $t$ as $f _ { t } ( \pmb { x } ; \xi _ { t } )$ , where $\xi _ { t }$ is a realization of $\xi$ Solving (1) is asymptotically equivalent to addressing the following optimization
38
+
39
+ $$
40
+ \operatorname* { l i m } _ { T \to \infty } \operatorname* { m i n } _ { \substack { { \bf x } \in \mathbb { R } ^ { d } } } \sum _ { t = 1 } ^ { T } f _ { t } ( { \pmb x } ; { \boldsymbol \xi } _ { t } ) .
41
+ $$
42
+
43
+ We will consider both the two formulations (1) and (2) in the reminder of the paper.
44
+
45
+ # 3 GENERALIZED ADAPTIVE MOMENT ESTIMATION (GAME)
46
+
47
+ In this section, we present our new adaptive gradient method for solving (1). Our algorithm Game is motivated by making two observations about AMSGrad and PAdam in Table 1. Firstly, both the two methods have to track the parameter $\hat { v }$ in addition to $\pmb { v }$ . In particular, the parameter $\hat { \pmb { v } } _ { t }$ at iteration $t$ is computed as
48
+
49
+ $$
50
+ \begin{array} { r l } & { \pmb { v } _ { t } = \beta _ { 2 } \pmb { v } _ { t - 1 } + ( 1 - \beta _ { 2 } ) \pmb { g } _ { t } ^ { 2 } } \\ & { \hat { \pmb { v } } _ { t } = \operatorname* { m a x } ( \pmb { v } _ { t } , \hat { \pmb { v } } _ { t - 1 } ) . } \end{array}
51
+ $$
52
+
53
+ It is seen from (3)-(4) that ${ \mathbf { } } v _ { t }$ is a function of the squared gradients $\{ g _ { j } ^ { 2 } \} _ { j = 1 } ^ { t }$ while $\hat { \mathbf { } } _ { }$ tracks the maximum values of $\{ { v } _ { j } \} _ { j = 1 } ^ { t }$ up to iteration $t$ . From a high level perspective, it feels redundant to keep both ${ \mathbf { } } v _ { t }$ and $\hat { \mathbf { } } _ { }$ in AMSGrad and PAdam as both parameters are related to the second moment of the gradients. One natural question is if it is sufficient to keep only one parameter about the second moment of the gradients without sacrificing convergence speed. Less memory usage is always desirable in designing an algorithm for simplicity and applicability.
54
+
55
+ Secondly, it is clear from Table 1 that PAdam is designed by replacing the diagonal matrix $\hat { V } _ { t } ^ { - \frac { 1 } { 2 } }$ with $\hat { V } _ { t } ^ { - p }$ at iteration $t$ in AMSGrad, where $p \in [ 0 , \frac { 1 } { 2 } ]$ . One can easily show that $p = 0$ corresponds to SGD while $\begin{array} { r } { p = \frac { 1 } { 2 } } \end{array}$ leads to AMSGrad. The parameter $p$ establishes a smooth connection between SGD and AMSGrad, allowing the resulting method PAdam to carry the advantages of both methods. The empirical study in (Chen & Gu (2018)) suggests that when $p$ is properly chosen in the range $[ 0 , \textstyle { \frac { 1 } { 2 } } ]$ , PAdam shows better generalization performance than AMSGrad, which is as expected due to the fact SGD usually produces good generalization performance. To summarize, the above technique of introducing an additional parameter to an existing algorithm adds one more degree of freedom to enhance its applicability. One can find many examples in applied mathematics that use similar techniques for knowledge expansion. For instance, the extension from $l _ { 2 }$ norm to $l _ { p }$ norm and generalization from Cauchy-Schwarz inequality to Hölder’s inequality.
56
+
57
+ Based on the above two observations, we propose a new adaptive gradient method named Game as summarized in Table 1. Basically, the new method only tracks two parameters $( m , \hat { v } )$ , where $\hat { \mathbf { } } _ { }$ at iteration $t$ is computed as
58
+
59
+ $$
60
+ \begin{array} { r l } & { \pmb { v } _ { t } = \beta _ { 2 } \hat { \pmb { v } } _ { t - 1 } + ( 1 - \beta _ { 2 } ) | \pmb { g } _ { t } | ^ { q } } \\ & { \hat { \pmb { v } } _ { t } = \operatorname* { m a x } ( \pmb { v } _ { t } , \hat { \pmb { v } } _ { t - 1 } ) , } \end{array}
61
+ $$
62
+
63
+ where $q > 0$ is our newly introduced parameter and $| g _ { t } | ^ { q }$ denotes element-wise $q$ th power of $\left| g _ { t } \right|$ . It is clear from (5)-(6) that ${ \mathbf { } } v _ { t }$ is only a temporary parameter at iteration $t$ and is not required to be stored in the memory for next iteration. Therefore, it is safe to say that Game saves roughly 33 percent memory per iteration as compared to AMSGrad and PAdam by removing the need for tracking $\{ v _ { t } \}$
64
+
65
+ We now study the impact of saved memory by Game when training large-scale neural networks. Note that the dimension of $\pmb { v }$ is actually the number of model parameters. That is, Game manages to save a memory space which is equivalent to the size of the neural network to be trained. It is known that state-of-the-art neural networks for challenging tasks (e.g., ImageNet competition (Russakovsky et al. (2015))) tend to be extremely deep and consist of millions of parameters (Simonyan & Zisserman (2016)). When applying Game to train those large-scale networks, the memory saved by the new training method becomes remarkable with AMSGrad as a reference.
66
+
67
+ Next we let $q = 2$ and $\begin{array} { r } { p = \frac { 1 } { 2 } } \end{array}$ for Game to make a fair comparison w.r.t. AMSGrad . In this case, one can easily show that $\hat { \mathbf { } } _ { }$ in (6) is either greater than or equal to the one in (4). As a result, Game would always have either equal or smaller effective learning rate $\alpha _ { t } \hat { V } _ { t } ^ { - \frac { 1 } { 2 } }$ than AMSGrad. The above property implies that Game is more conservative than AMSGrad and PAdam due to the update reformulation (5)-(6). If needed, one can adjust the parameters $\left\{ \alpha _ { t } \right\}$ to larger values to make Game more aggressive.
68
+
69
+ Finally we consider the new scalar parameter $q$ introduced in (5). From an algebraic point of view, introduction of parameter $q$ allows $\hat { v }$ in (5)-(6) to track information of the qth moment of the gradient magnitude over iterations. As $q$ decreases, small gradients would be amplified while large gradients would be suppressed, leading to a decreasing dynamic range of $\hat { v }$ . When $q \to 0$ , it is not difficult to show that Game approaches SGD. Therefore, the parameter $q$ has a similar effect as the parameter $p$ of PAdam. We point out that when $\beta _ { 2 } > 0$ , we cannot merge $p$ and $q$ into one parameter via certain reformulation of the updating expressions of Game. That is, $p$ and $q$ play different roles in Game. Our purpose of introducing $q$ in addition to $p$ is to enlarge the parameter-selection space of Game and improve generalization performance with proper parameter setup.
70
+
71
+ # 4 CONVERGENCE ANALYSIS FOR GAME
72
+
73
+ In this section, we analyze the convergence of Game for both convex optimization and smooth nonconvex optimization. The cost regret will be studied for the convex case while gradient expectation will be considered for the nonconvex case, which represents two different analysis approaches.
74
+
75
+ # 4.1 ANALYSIS FOR CONVEX OPTIMIZATION
76
+
77
+ Formally, we define the cost regret up to iteration $T$ as
78
+
79
+ $$
80
+ R _ { T } = \sum _ { t = 1 } ^ { T } \left[ f _ { t } ( \pmb { x } _ { t } ; \xi _ { t } ) - f _ { t } ( \pmb { x } _ { T } ^ { * } ; \xi _ { t } ) \right] ,
81
+ $$
82
+
83
+ where $\begin{array} { r } { \pmb { x } _ { T } ^ { * } = \arg \operatorname* { m i n } \sum _ { t = 1 } ^ { T } f _ { t } ( \pmb { x } ) } \end{array}$ denotes the optimal solution within the iteration range $[ 1 , T ]$ , and $\mathbf { \Delta } _ { \mathbf { \mathcal { X } } _ { t } }$ is a causal estimate of ${ \pmb x } _ { T } ^ { * }$ at iteration $t$ as obtained by following Game in Table 1. Our objective is to derive an upper bound of $R _ { T }$ and then quantify its convergence behaviour as $T$ increases.
84
+
85
+ Next we present our convergence analysis:
86
+
87
+ Lemma 1. Let $( \beta _ { 1 } , \beta _ { 2 } ) \in [ 0 , 1 )$ , $\beta _ { 1 t } \leq \beta _ { 1 }$ , $p q < 2$ and $p , q > 0$ , and $\alpha _ { t } = \alpha / \sqrt { t }$ . Then the quantity $\begin{array} { r } { \sum _ { t = 1 } ^ { T } \alpha _ { t } \left[ \| \hat { V } _ { t } ^ { - p / 2 } m _ { t } \| _ { 2 } ^ { 2 } \right] } \end{array}$ of Game is upper bounded by
88
+
89
+ $$
90
+ \sum _ { t = 1 } ^ { T } \alpha _ { t } \left[ \| \hat { V } _ { t } ^ { - p / 2 } m _ { t } \| _ { 2 } ^ { 2 } \right] \leq \frac { \alpha \sqrt { 1 + \log T } } { ( 1 - \beta _ { 1 } ) ^ { 2 } ( 1 - \beta _ { 2 } ) ^ { p } } \left[ \sum _ { i = 1 } ^ { d } \left( \sum _ { j = 1 } ^ { T } | g _ { j , i } | ^ { 2 ( 2 - p q ) } \right) ^ { 1 / 2 } \right] .
91
+ $$
92
+
93
+ Proof. See Appendix A for proof.
94
+
95
+ Remark 1. We emphasize that there is a major difference between the upper bound expression in (8) and those derived in (S. J. Reddi & Kumar (2018)) and (Chen & Gu (2018)) for analyzing AMSGrad and PAdam. That is the new upper bound does not put any restriction on the relationship between $\beta _ { 1 }$ and $\beta _ { 2 }$ for (8) to hold while in the above two articles, it is required that $\beta _ { 1 } \leq \beta _ { 2 } ^ { 2 p }$ , where $p$ is the parameter of PAdam.
96
+
97
+ Theorem 1 (convex). Suppose $\{ f _ { t } \}$ are close, proper and convex functions (Sawaragi et al. (1985)).√ Let $\beta _ { 1 } , \beta _ { 2 } \in [ 0 , 1 )$ , $\beta _ { 1 t } \le \beta _ { 1 }$ , $p q < 2$ and $p , q > 0$ , and $\alpha _ { t } = \alpha / \sqrt { t }$ . Assume $\| \nabla f _ { t } ( \pmb { x } ; \pmb { \xi } _ { t } ) \| _ { \infty } \leq$ $G _ { \infty }$ for all $t \leq T$ and distance between any $\mathbf { \Delta } _ { \mathbf { \mathcal { X } } _ { t } }$ generated by Game and ${ \pmb x } _ { T } ^ { * }$ is bounded, i.e., $\| \pmb { x } _ { m } - \pmb { x } _ { T } ^ { * } \| _ { \infty } \leq D _ { \infty }$ . Then we have the following bound on the regret
98
+
99
+ $$
100
+ \begin{array} { r l } & { { \cal R } _ { T } \le \displaystyle \frac { D _ { \infty } ^ { 2 } \sqrt { T } } { \alpha ( 1 - \beta _ { 1 } ) } \sum _ { i = 1 } ^ { d } \hat { v } _ { T , i } ^ { p } + \displaystyle \frac { D _ { \infty } ^ { 2 } } { 2 ( 1 - \beta _ { 1 } ) } \sum _ { t = 1 } ^ { T } \sum _ { i = 1 } ^ { d } \frac { \beta _ { 1 t } \hat { v } _ { t , i } ^ { p } } { \alpha _ { t } } } \\ & { \quad \quad \quad + \displaystyle \frac { \alpha \sqrt { 1 + \log T } } { ( 1 - \beta _ { 1 } ) ^ { 3 } ( 1 - \beta _ { 2 } ) ^ { p } } \left[ \sum _ { i = 1 } ^ { d } \left( \sum _ { j = 1 } ^ { T } | g _ { j , i } | ^ { 2 ( 2 - p q ) } \right) ^ { 1 / 2 } \right] } \end{array}
101
+ $$
102
+
103
+ Based on Lemma 1, one can easily derive the upper bound expression (9) by following the derivation steps for Theorem 4 in (S. J. Reddi & Kumar (2018)). When $p q = 1$ and $p = \bar { 1 / 2 }$ , (9) can be simplified as
104
+
105
+ $$
106
+ R _ { T } \leq \frac { D _ { \infty } ^ { 2 } \sqrt { T } } { \alpha ( 1 - \beta _ { 1 } ) } \sum _ { i = 1 } ^ { d } \hat { v } _ { T , i } ^ { 1 / 2 } + \frac { D _ { \infty } ^ { 2 } } { 2 ( 1 - \beta _ { 1 } ) } \sum _ { t = 1 } ^ { T } \sum _ { i = 1 } ^ { d } \frac { \beta _ { 1 t } \hat { v } _ { t , i } ^ { p } } { \alpha _ { t } } + \frac { \alpha \sqrt { 1 + \log T } } { ( 1 - \beta _ { 1 } ) ^ { 3 } ( \sqrt { 1 - \beta _ { 2 } } } \left[ \sum _ { i = 1 } ^ { d } \| g _ { 1 : T , i } \| _ { 2 } \right] .
107
+ $$
108
+
109
+ One can see that no constraint is imposed between the relationship of $\beta _ { 1 }$ and $\beta _ { 2 }$ for the upper bound to hold. We have conducted empirical studies and found that both AMSGrad and Game converge even when $\beta _ { 2 } < \beta _ { 1 }$ .
110
+
111
+ # 4.2 ANALYSIS FOR SMOOTH NONCONVEX OPTIMIZATION
112
+
113
+ Differently from the analysis for convex optimization, we will consider gradient expectation for nonconvex case. To simplify study later on, we choose the output ${ \mathbf { \mathcal { x } } } _ { o u t }$ from $\bar { \{ } x _ { t } \} _ { t = 2 } ^ { T }$ with probability $\textstyle \alpha _ { t - 1 } / ( \sum _ { j = 1 } ^ { T - 1 } \alpha _ { j } )$ , which is in line with the definition in (Zhou et al. (2018)). In practice, it is natural to take the most recent estimate $\mathbfit { \mathbf { x } } _ { T }$ at last iteration $T$ as output.
114
+
115
+ We now introduce the $L$ -smooth assumption needed for analysis:
116
+
117
+ Assumption 1 ( $L$ -smooth). $f ( \pmb { x } ) = \mathbb { E } _ { \xi } f ( \pmb { x } ; \xi )$ is $L$ -smooth: for any $\ b { x } , \ b { y } \in \mathbb { R } ^ { d }$ , we have
118
+
119
+ $$
120
+ | f ( \pmb { x } ) - f ( \pmb { y } ) + \langle \nabla f ( \pmb { y } ) , \pmb { x } - \pmb { y } \rangle | \leq \frac { L } { 2 } \| \pmb { x } - \pmb { y } \| _ { 2 } ^ { 2 } .
121
+ $$
122
+
123
+ Furthermore, $f ( { \pmb x } )$ is lower bounded, i.e., $\operatorname* { i n f } _ { \pmb { x } } f ( \pmb { x } ) > - \infty$ .
124
+
125
+ The above smooth assumption is standard for nonconvex optimization. It essentially requires the object function $f$ changes smoothly in the parameter space. See (Zhou et al. (2018); Chen et al. (2018)) for employing the assumption in their analysis.
126
+
127
+ We now present our convergence analysis in two steps. Firstly, we provide upper bounds for the two quantities $\begin{array} { r } { \sum _ { t = 1 } ^ { T } \alpha _ { t } ^ { 2 } \mathbb { E } \left[ \lVert \hat { V } _ { t } ^ { - p } m _ { t } \rVert _ { 2 } ^ { 2 } \right] } \end{array}$ and $\begin{array} { r } { \sum _ { t = 1 } ^ { T } \alpha _ { t } ^ { 2 } \mathbb { E } \left[ \lVert \hat { V } _ { t } ^ { - p } { \pmb g } _ { t } \rVert _ { 2 } ^ { 2 } \right] } \end{array}$ in a lemma below. We then show the main result in a theorem, which are derived based on the lemma.
128
+
129
+ Lemma 2. Let $\beta _ { 1 } , \beta _ { 2 } \in [ 0 , 1 )$ , $p q \leq 1$ and $p , q > 0$ , the step sizes $\alpha _ { j } \leq \alpha _ { j - 1 }$ for all $j > 1$ , and $r \in [ 2 p q - 1 , 1 ]$ . Assuming $\| \nabla f _ { t } ( \pmb { x } ; \xi _ { t } ) \| _ { \infty } \leq G _ { \infty }$ for all $t \leq T$ , we then have
130
+
131
+ $$
132
+ \begin{array} { r l } & { \displaystyle \sum _ { t = 1 } ^ { T } \alpha _ { t } ^ { 2 } \mathbb { E } \left[ \| \hat { V } _ { t } ^ { - p } m _ { t } \| _ { 2 } ^ { 2 } \right] \leq \frac { \alpha _ { 1 } ^ { 2 } G _ { \infty } ^ { ( 1 + r - 2 p q ) } T ^ { ( 1 + r ) / 2 } } { ( 1 - \beta _ { 2 } ) ^ { 2 p } } \mathbb { E } \left[ \sum _ { i = 1 } ^ { d } ( \| g _ { 1 : T , i } \| _ { 2 } ) ^ { ( 1 - r ) } \right] } \\ & { \displaystyle \sum _ { t = 1 } ^ { T } \alpha _ { t } ^ { 2 } \mathbb { E } \left[ \| \hat { V } _ { t } ^ { - p } g _ { t } \| _ { 2 } ^ { 2 } \right] \leq \frac { \alpha _ { 1 } ^ { 2 } T ^ { p q } } { ( 1 - \beta _ { 2 } ) ^ { 2 p } } \mathbb { E } \left[ \sum _ { i = 1 } ^ { d } ( \| | g _ { 1 : T , i } \| _ { 2 } ) ^ { 2 ( 1 - p q ) } \right] . } \end{array}
133
+ $$
134
+
135
+ Proof. See Appendix B for proof.
136
+
137
+ We note that a scalar parameter $r \in [ 2 p q - 1 , 1 ]$ is introduced in the upper bound expression of Lemma 2. As will be discussed in Corollary 1 later on, the parameter $r$ provides a freedom to tune the expression (12) and merge with other expressions for simplicity.
138
+
139
+ Remark 2. Again the two upper bounds (12)-(13) do not require any constraint on the relationship of $\beta _ { 1 }$ and $\beta _ { 2 }$ , which is consistent with the results in Lemma $^ { l }$ .
140
+
141
+ Theorem 2 (nonconvex). Let $\beta _ { 1 } , \beta _ { 2 } \in [ 0 , 1 )$ , $p q < 1$ and $p , q > 0$ , the step sizes $\alpha _ { t } = \alpha _ { 1 }$ for all $t > 1$ , and $r \in [ 2 p q - 1 , 1 ]$ . Assume $\| \nabla f _ { t } ( \pmb { x } ; \xi _ { t } ) \| _ { \infty } \leq G _ { \infty }$ for all $t \leq T$ and Assumption $^ { l }$ holds. The output ${ \pmb x } _ { o u t }$ of Game satisfies
142
+
143
+ $$
144
+ \begin{array} { r l r } { { \mathbb { E } [ \| \nabla f ( { \pmb x } _ { o u t } ) \| _ { 2 } ^ { 2 } ] \le \frac { M _ { 1 } } { T - 1 } + \frac { M _ { 2 } d } { T - 1 } + \frac { M _ { 3 } T ^ { p q } } { T - 1 } \mathbb { E } ( \sum _ { i = 1 } ^ { d } ( \| { \pmb g } _ { 1 : T , i } \| _ { 2 } ) ^ { 2 ( 1 - p q ) } ) } } \\ & { } & { + \frac { M _ { 4 } T ^ { ( 1 + r ) / 2 } } { T - 1 } \mathbb { E } ( \sum _ { i = 1 } ^ { d } ( \| { \pmb g } _ { 1 : T , i } \| _ { 2 } ) ^ { 1 - r } ) \quad T \ge 2 , } \end{array}
145
+ $$
146
+
147
+ where
148
+
149
+ $$
150
+ \begin{array} { l } { M _ { 1 } = G _ { \infty } ^ { p q } \Delta f / \alpha _ { 1 } } \\ { M _ { 2 } = \displaystyle \frac { G _ { \infty } ^ { 2 + p q } \| \hat { v } _ { 1 } ^ { - p } \| _ { 1 } } { d ( 1 - \beta _ { 1 } ) } + \frac { G _ { \infty } ^ { 2 } } { ( 1 - \beta _ { 2 } ) ^ { p } } } \\ { M _ { 3 } = \displaystyle \frac { 2 L G _ { \infty } ^ { p q } \alpha _ { 1 } } { ( 1 - \beta _ { 2 } ) ^ { 2 p } } } \\ { M _ { 4 } = \displaystyle \frac { 4 L G _ { \infty } ^ { 1 + r - p q } \alpha _ { 1 } } { ( 1 - \beta _ { 2 } ) ^ { 2 p } } \left( \frac { \beta _ { 1 } } { 1 - \beta _ { 1 } } \right) ^ { 2 } } \end{array}
151
+ $$
152
+
153
+ where $\begin{array} { r } { \Delta f = f ( \pmb { x } _ { 1 } ) - \operatorname* { i n f } _ { \pmb { x } } f ( \pmb { x } ) } \end{array}$ .
154
+
155
+ Proof. See Appendix C for proof.
156
+
157
+ It is clear from Theorem 2 that the two parameters $p$ and $q$ have to satisfy certain conditions. That is $p , q > 0$ and $p q < 1$ . The conditions suggest if one parameter is chosen large, the other one should be set small to avoid divergence. In practice, it is found that Game also converges when $p q = 1$ . This leaves us an open question on how to elaborate the convergence analysis to cover the special case of $p q = 1$ for Game.
158
+
159
+ We now study the upper bound on the right hand side of (14). The expression includes four quantities, where the first two quantities are independent of the gradients $\{ \pmb { g } _ { 1 : T , i } | i = 1 , \ldots , d \}$ while the last two are contributed by the inequalities derived in Lemma 2. All the four scalar parameters $M _ { i }$ , $i = 1 , \dots , 4$ , are independent of iteration number $T$ . The convergence of Game can be established if one can show that the upper bound expression approaches to zero as $T$ increases.
160
+
161
+ In the following, we simplify the upper bound expression in (14) by specifying $p q$ and $r$ with particular values and then study its convergence behaviour.
162
+
163
+ Corollary 1. Let $\begin{array} { r } { p q = \frac { 1 } { 2 } } \end{array}$ and $r = 2 p q - 1$ in Theorem 2, the upper bound of E $[ \| \nabla f ( \pmb { x } _ { o u t } ) \| _ { 2 } ^ { 2 } ]$ then takes the form of
164
+
165
+ $$
166
+ \mathbb { E } \left[ \Vert \nabla f ( \pmb { x } _ { o u t } ) \Vert _ { 2 } ^ { 2 } \right] \leq \frac { M _ { 1 } } { ( T - 1 ) \alpha _ { 1 } } + \frac { M _ { 2 } d } { T - 1 } + \frac { ( M _ { 3 } + M _ { 4 } ) \alpha _ { 1 } \sqrt { T } } { T - 1 } \mathbb { E } \left( \sum _ { i = 1 } ^ { d } \Vert \pmb { g } _ { 1 : T , i } \Vert _ { 2 } \right) \quad T \geq 2 .
167
+ $$
168
+
169
+ As summarized in Table 1, It is immediate that the upper bound in (19) is proportional to $O ( d / T +$ $G _ { T } / \sqrt { T } )$ , where $\begin{array} { r } { G _ { T } = \mathbb { E } \left( \sum _ { i = 1 } ^ { d } \| g _ { 1 : T , i } \| _ { 2 } \right) } \end{array}$ . As reflected in Table 1, the upper bound also holds for PAdam even though the iteration procedure (3)-(4) of PAdam is different from (5)-(6) of Game.
170
+
171
+ We are now in a position to study under what conditions Game would converge. It is not difficult to conclude that when $G _ { T }$ is of order $G _ { T } = O ( ( d T ) ^ { s } )$ where $s < \frac { 1 } { 2 }$ , (19) tends to converge with the speed $O ( d / T + d ^ { s } / T ^ { 1 / 2 - s } )$ . We note that in Duchi et al. (2011)), the assumption $G _ { T } \ll \sqrt { d T }$ was used for analyzing AdaGrad, which was later on employed for convergence analysis of other adaptive gradient methods (see (Zhou et al. (2018)) and (S. J. Reddi & Kumar (2018)) for example). The assumption $G _ { T } = O ( ( d T ) ^ { s } )$ is slightly stronger than $G _ { T } \ll \sqrt { d T }$ as in practice, the dimension $d$ could be larger than $T$ when training large-scale neural networks.
172
+
173
+ ![](images/62aa4c2ee5540c28822ab4c3ec272e7a215523d790254ce127db79c0aaea0920.jpg)
174
+ Figure 1: Performance comparison of PAdam, AMSGrad, and Game for training four CNNs (see Table 2-5 for the detailed CNN architectures in Appendix D).
175
+
176
+ # 5 EXPERIMENTAL RESULTS
177
+
178
+ In the experiment, we evaluated the effectiveness of AMSGrad, PAdam and Game for training convolutional neural networks (CNNs). The classification problems on the two datasets MNIST and CIFAR10 were considered. To alleviate overfitting, each of the two datasets was augmented with additional training data (e.g., shifting images vertically and/or horizontally, and image flipping for CIFAR10). In brief, we tested four CNNs: the 1st one consists of four layers for MNIST using the activation function SERLU (Zhang & Li (2018)), the 2nd consists of 8 layers for CIFAR10 using SERLU, and the 3rd and 4th have the same structure as the 2nd one but using ELU (Clevert et al. (2016)) and ReLU (Nair & Hinton (2010)), respectively. More detailed information of the four CNNs can be found in Table 2-5 of Appendix D.
179
+
180
+ We first consider the CNN training for MNIST using SERLU. The shared parameters among the three methods include $( \alpha _ { t } , \beta _ { 1 } , \beta _ { 2 } ) ^ { - } = ( 0 . 0 0 1 , 0 . 9 , 0 . 9 9 9 )$ , which was recommended in (Kingma & Ba (2017)) for Adam. On the other hand, the special parameters include $p = 0 . 1 2 5$ for PAdam2 and $( p , q ) = ( 0 . 5 , 1 )$ for Game. The setup $( p , q ) \stackrel { \textstyle - } { = } ( 0 . 5 , { \bar { 1 } } )$ was found empirically to be more effective than other tested values. It is worth noting that $q = 1$ indicates that Game tracks information of the gradient magnitude rather than the second moment of gradients.
181
+
182
+ Next we study the CNN training for CIFAR10 using SERLU, ELU and ReLU. As the three neural networks (see Table 3-5) are deeper than that for MNIST, we employed shift-dropout for SERLU and dropout for ELU and ReLU to combat overfitting, respectively. The parameter setup is slightly different from the one for MNIST. In particular, the shared parameters among the three methods include $( \beta _ { 1 } , \beta _ { 2 } ) = ( 0 . 9 , 0 . 9 9 9 )$ and dropout rate of 0.2. Special parameters include $\alpha _ { t } = 0 . 0 0 0 1$ for AMSGrad, 3 $( \alpha _ { t } , p ) = ( 0 . 0 0 1 , 0 . 1 2 5 )$ for PAdam, and $( \hat { \alpha _ { t } } , p , q ) \hat { = } ( 0 . 0 0 1 , 0 . 5 , 1 )$ for Game.
183
+
184
+ The convergence results for training the four CNNs are demonstrated in Figure 1. It is seen that Game produces better generalization performance (on validation datasets) than AMSGrad in subplot $( a )$ and $( c ) - ( d )$ while in the same three subplots, AMSGrad exhibits the fastest convergence speed over training data. The two methods have roughly the same convergence performance in subplot $( b )$ , suggesting that selection of activation functions also affects the convergence behaviours. It is observed that SERLU performs slightly better than ELU and ReLU in terms of validation loss. In all the four subplots, PAdam converges slightly slower due to the fact the a small value $p = 0 . 1 2 5$ is selected as compared to $p = 0 . 5$ of AMSGrad.
185
+
186
+ To briefly summarize, the above convergence results suggest that Game produces promising generalization performance in comparison to AMSGrad and PAdam on validation datasets. The nice convergence behaviour of Game might be because the method tracks the 1st moment of gradient magnitude by setting $q = 1$ . As a result, Game achieves better validation performance by slightly sacrificing convergence speed on training dataset. If one also takes into account of memory usage (see Table 1), it is clear that Game is simpler to implement and requires less memory resource, rendering Game an advantage over AMSGrad and PAdam.
187
+
188
+ # 6 CONCLUSIONS AND FUTURE WORKS
189
+
190
+ In this paper, we have proposed a new adaptive gradient method termed as Game. The new method only needs to track two parameters $( m , \hat { v } )$ in comparison to AMSGrad and PAdam, which track three parameters $( m , v , \hat { v } )$ , thus requiring only two-thirds of memory w.r.t. the two methods. The saved memory scales along with the number of model parameters, which becomes significant when training large-scale neural networks. Furthermore, Game introduces one additional parameter $q$ , allowing the method to track information of the $q$ th moment of the gradient magnitude, while AMSGrad and PAdam only consider tracking the 2nd moment of gradients. The freedom of tuning parameter $q$ makes Game more flexible. Theoretical convergence analysis is provided for applying Game to solve both convex and smooth nonconvex optimization. Experimental results on MNIST and CIFAR10 demonstrate that Game produces promising generalization performance in comparison to AMSGrad and PAdam. Given that Game demands only two-thirds of memory in implementation, we conclude that the new method is a promising candidate for training large-scale neural networks.
191
+
192
+ # REFERENCES
193
+
194
+ J. Chen and Q. Gu. Closing the Generalization Gap of Adaptive Gradient Methods in Training Deep Neural Netwoks. arXiv preprint arXiv:1806.0676v1, June 2018.
195
+ X. Chen, S. Liu, R. Sun, and M. Hong. On the Convergence of A Class of Adam-Type Algorithms for Non-Convex Optimization. arXiv:1808.02941v1 [cs. LG], 2018.
196
+ D.-A. Clevert, T. Unterthiner, and S. Hochreiter. Fast and Accurate Deep Network Learning by Exponential Linear Units (ELUs). arXiv:1511.07289v5 [cs.LG], 2016.
197
+ T. Dozat. Incorporating Nesterov Momentum into Adam. In International conference on Learning Representations (ICLR), 2016.
198
+ J. Duchi, E. Hazan, and Y. Singer. Adaptive Subgradient Methods for Online Learning and Stochastic Optimization. Journal of Machine Learning Research, 12:2121–2159, 2011.
199
+ S. Ghadimi and G. Lan. Stochastic First-and Zeroth-Order Methods for Nonconvex Stochastic Programming. SIAM Journal on Optimization, 23:2341–2368, 2013.
200
+ S. Ghadimi and G. Lan. Accelerated Gradients Methods for Nonxonvex Nonlinear and Stochastic Programming. Mathematical Programming, 156:59–99, 2016.
201
+ D. P. Kingma and J. L. Ba. Adam: A Method for Stochastic Optimization. arXiv preprint arXiv:1412.6980v9, 2017.
202
+ V. Nair and G. E. Hinton. Rectified Linear Units Improve Restricted Boltzmann Machines. In Proceedings of the 27th International Conference on Machine Learning,, 2010.
203
+ O. Russakovsky, J. Deng, H. Su, J. Krause, S. Satheesh, S. Ma, Z. Huang, A. Karpathy, A. Khosla, M. Bernstein, A. C. Berg, and F.-F. Li. Unified Convergence Analysis of Stochastic Momentum Methods for Convex and Non-Convex Optimization. arXiv:1409.0575v3, 2015.
204
+ S. Kale S. J. Reddi and S. Kumar. On The Convergence of Adam and Beyond. In International conference on Learning Representations (ICLR), 2018.
205
+ Y. Sawaragi, H. Nakayama, and T. Tanino. Theory of Multiobjective Optimization. Elsevier Science, 1985.
206
+ K. Simonyan and A. Zisserman. Very Deep Convolutional Networks for Large-Scale Image Recognition. In International conference on Learning Representations (ICLR), 2016.
207
+ T. Tieleman and G. Hinton. Lecture 6.5-RMSProp: Divide The Gradient by a Running Average of Its Recent Magnitude. COURSERA: Neural networks for machine learning, 2012.
208
+ T. Yang, Q. Lin, and Z. Li. Unified Convergence Analysis of Stochastic Momentum Methods for Convex and Non-Convex Optimization. arXiv:1604.03257, 2016.
209
+ G. Zhang and H. Li. Effectiveness of Scaled Exponentially-Regularized Linear Units (SERLUs). arXiv:1807.10117 [cs.LG], July 2018.
210
+ D. Zhou, Y. Tang, Z. Yang, Y. Cao, and Q. Gu. On the Convergence of Adaptive Gradient Methods for Nonconvex Optimization. arXiv:1808.05671v1 [cs. LG], 2018.
211
+
212
+ # APPENDIX
213
+
214
+ # A PROOF OF LEMMA 1
215
+
216
+ Before formally presenting the proof, we first introduce a lemma below:
217
+ Lemma 3. Let $\hat { \mathbf { } v } _ { t }$ be defined as in Game and $q > 0$ . Then each component $\hat { v } _ { t , i }$ is lower bounded by $\hat { v } _ { t , i } \geq ( 1 - \beta _ { 2 } ) | g _ { t , i } | ^ { q }$ , $i = 1 , \ldots , d .$ .
218
+
219
+ Proof. The proof follows directly from the computation $\begin{array} { r } { \hat { v } _ { t , i } = \operatorname* { m a x } ( \hat { v } _ { t - 1 , i } , \beta _ { 2 } \hat { v } _ { t - 1 , i } + ( 1 - \beta _ { 2 } ) | g _ { t , i } | ^ { q } ) } \end{array}$ as summarized in Table 1 for Game.
220
+
221
+ With Lemma 3, we are ready to describe the proof for Lemma 1. Firstly, the quantity $\alpha _ { t } \mathbb { E } \left[ \| \hat { V } _ { t } ^ { - p / 2 } m _ { t } \| _ { 2 } ^ { 2 } \right]$ can be upper bounded by
222
+
223
+ $$
224
+ \begin{array} { r l } & { v _ { \tau } \left[ \left| \hat { X } _ { \tau } ^ { \tau } \star \mathbf { w } _ { 0 , \tau } \hat { X } _ { \tau } \right| ^ { 2 } \right] } \\ & { = v _ { \tau } \left[ \frac { 1 } { \tau } \frac { \hat { X } _ { \tau } ^ { \tau } } { \hat { X } _ { \tau } ^ { \tau } } \right] } \\ & { \quad - v _ { \tau } \left[ \frac { 1 } { \tau } \frac { \hat { X } _ { \tau } ^ { \tau } } { \hat { X } _ { \tau } ^ { \tau } } \right] } \\ & { \quad - v _ { \tau } \left[ \frac { 1 } { \tau } \frac { \hat { X } _ { \tau } ^ { \tau } } { \hat { X } _ { \tau } ^ { \tau } } \right] \left( \sum _ { m = 1 } ^ { n } \hat { \mu } _ { m } \prod _ { m = 1 } ^ { T } \lambda _ { m } \frac { \hat { \mu } _ { m } } { \mu _ { m } } \exp ^ { \lambda _ { m } ^ { m } } \right) ^ { \frac { 1 } { 2 } } } \\ & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad } \\ & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad } \\ & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad } \\ & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad } \\ & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad } \\ & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad } \\ & \quad \ \end{array}
225
+ $$
226
+
227
+ where step $( a )$ uses $\beta _ { 1 t } ~ \leq ~ \beta _ { 1 } ~ < ~ 1$ , step $( b )$ uses Cauchy-Schwarz inequality, step $( c )$ uses $\textstyle \sum _ { j = 1 } ^ { t } \beta _ { 1 } ^ { t - j } \leq 1 / ( 1 - \beta _ { 1 } )$ , step $( d )$ uses $\hat { v } _ { t , i } ^ { p } \geq \hat { v } _ { j , i } ^ { p }$ for all $j \le t$ , and step $( e )$ uses the results in Lemma 3.
228
+
229
+ Next taking the summation of (20) over $t = 1$ to $t = T$ produces
230
+
231
+ $$
232
+ \begin{array} { r l } & { \displaystyle \sum _ { t = 1 } ^ { T } \alpha _ { t } \left[ | \hat { V } _ { t } ^ { - p / 2 } m _ { t } | | _ { 2 } ^ { 2 } \right] } \\ & { \le \displaystyle \frac { 1 } { ( 1 - \beta _ { 1 } ) ( 1 - \beta _ { 2 } ) ^ { p } } \left[ \sum _ { t = 1 } ^ { T } \sum _ { i = 1 } ^ { d } \sum _ { j = 1 } ^ { t } \alpha _ { t } \beta _ { 1 } ^ { t - i } | g _ { j , i } | ^ { ( 2 - p q ) } \right] } \\ & { \stackrel { ( a ) } { \le } \frac { \alpha } { ( 1 - \beta _ { 1 } ) ( 1 - \beta _ { 2 } ) ^ { p } } \left[ \displaystyle \sum _ { i = 1 } ^ { d } \sum _ { j = 1 } ^ { T } | g _ { j , i } | ^ { ( 2 - p q ) } \sum _ { t = j } ^ { T } \frac { \beta _ { 1 } ^ { t - j } } { \sqrt { d } } \right] } \\ & { \le \displaystyle \frac { \alpha } { ( 1 - \beta _ { 1 } ) ( 1 - \beta _ { 2 } ) ^ { p } } \left[ \displaystyle \sum _ { i = 1 } ^ { d } \sum _ { j = 1 } ^ { T } \frac { 1 } { \sqrt { j } } | g _ { j , i } | ^ { ( 2 - p q ) } \sum _ { t = j } ^ { T } \beta _ { 1 } ^ { t - j } \right] } \end{array} .
233
+ $$
234
+
235
+ $$
236
+ \begin{array} { l } { { \displaystyle { \stackrel { ( b ) } { \leq } } \frac { \alpha } { ( 1 - \beta _ { 1 } ) ^ { 2 } ( 1 - \beta _ { 2 } ) ^ { p } } \left[ \displaystyle { \sum _ { i = 1 } ^ { d } \sum _ { j = 1 } ^ { T } \frac { 1 } { \sqrt { j } } | g _ { j , i } | ^ { ( 2 - p q ) } } \right] } } \\ { \displaystyle { \stackrel { ( c ) } { \leq } \frac { \alpha } { ( 1 - \beta _ { 1 } ) ^ { 2 } ( 1 - \beta _ { 2 } ) ^ { p } } \left[ \displaystyle { \sum _ { i = 1 } ^ { d } \left( \sum _ { j = 1 } ^ { T } | g _ { j , i } | ^ { 2 ( 2 - p q ) } \right) ^ { 1 / 2 } \left( \sum _ { j = 1 } ^ { T } \frac { 1 } { j } \right) ^ { 1 / 2 } } \right] } } \\ { \displaystyle { \stackrel { ( d ) } { \leq } \frac { \alpha \sqrt { 1 + \log T } } { ( 1 - \beta _ { 1 } ) ^ { 2 } ( 1 - \beta _ { 2 } ) ^ { p } } \left[ \displaystyle { \sum _ { i = 1 } ^ { d } \left( \sum _ { j = 1 } ^ { T } | g _ { j , i } | ^ { 2 ( 2 - p q ) } \right) ^ { 1 / 2 } } \right] } } \end{array}
237
+ $$
238
+
239
+ where step $( a )$ uses $\alpha _ { t } = \alpha / \sqrt { t }$ , step $( b )$ uses $\begin{array} { r } { \sum _ { t = j } ^ { T } \beta _ { 1 } ^ { t - j } < 1 / ( 1 - \beta _ { 1 } ) } \end{array}$ , step $( c )$ follows from Cauchy-Schwarz inequality, and step $( d )$ uses $\textstyle \sum _ { t = 1 } ^ { T } 1 / t \leq ( 1 + \log T ) .$ . The proof is complete.
240
+
241
+ # B PROOF OF LEMMA 2
242
+
243
+ We first consider the summation $\begin{array} { r } { \sum _ { t = 1 } ^ { T } \alpha _ { t } ^ { 2 } \mathbb { E } \left[ \lVert \hat { V } _ { t } ^ { - p } m _ { t } \rVert _ { 2 } ^ { 2 } \right] } \end{array}$ . Each quantity $\alpha _ { t } ^ { 2 } \mathbb { E } \left[ \Vert \hat { V } _ { t } ^ { - p } m _ { t } \Vert _ { 2 } ^ { 2 } \right]$ can be upper bounded by
244
+
245
+ $$
246
+ \begin{array} { r l } & { = a _ { 2 } ^ { 2 } ( \displaystyle \sum _ { i = 1 } ^ { n } \frac { 1 } { n \beta _ { i } ^ { 2 } } ( \sum _ { t = - 1 } ^ { n } \frac { 1 } { n \beta _ { i } ^ { 2 } } ( \sum _ { t = - 1 } ^ { n } \beta _ { i } ^ { 2 } \beta _ { t , t } ^ { 2 \prime } \beta _ { t , t } ) ^ { t } ) ) } \\ & { \stackrel { \mathrm { R e p } } { \underset { \mathrm { \scriptsize \sum } \alpha } { = } } a _ { 2 } ^ { 2 } ( 1 - b _ { 1 } ^ { 2 } \beta _ { i } ^ { 2 } \mathbb { E } [ \displaystyle \sum _ { t = - 1 } ^ { n } \frac { 1 } { n \beta _ { i } ^ { 2 } } ( \sum _ { t = - 1 } ^ { n } \beta _ { i } ^ { 2 } \sigma _ { t , t } ^ { 2 \prime \prime } \beta _ { t , t } ) ^ { ( t ) ( t ) ( t - t - t - t ) \alpha \alpha \beta } ) ( \sum _ { t = - 1 } ^ { n } \beta _ { i } ^ { 2 } \mathbb { E } [ \displaystyle \frac { 1 } { n \beta _ { i } ^ { 2 } } \beta _ { t , t } ^ { 2 \prime \prime } ] ^ { ( t ) ( t - t - t ) \alpha \beta } ) ) } \\ & { \stackrel { \mathrm { R e p } } { \underset { \mathrm { \scriptsize \sum } \alpha } { = } } a _ { 2 } ^ { 2 } ( 1 - b _ { 1 } ^ { 2 } ) \mathbb { E } [ \displaystyle \sum _ { t = - 1 } ^ { n } \frac { 1 } { n \beta _ { i } ^ { 2 } } ( \sum _ { t = - 1 } ^ { n } \beta _ { i } ^ { 2 } \mathbb { E } ( \displaystyle \sum _ { t = - 1 } ^ { n } \beta _ { i } ^ { 2 } \mathbb { E } ( \displaystyle \sum _ { t = - 1 } ^ { n } \beta _ { t } ^ { 2 } ) ( \sum _ { t = - 1 } ^ { n } \beta _ { i } ^ { 2 } \mathbb { E } ( \displaystyle \frac { 1 } { n \beta _ { i } ^ { 2 } } ) ^ { ( t - t ) \alpha \beta } ) ) ] } \\ & \stackrel { \mathrm { R e p } } { \underset { \mathrm { \scriptsize \sum } \alpha } { = } } a _ { 2 } ^ { 2 } ( 1 - b _ { 1 } ) G _ { \alpha \beta } ^ { ( 1 - t ) \alpha \beta } = \mathbb { P } \Bigg [ \displaystyle \sum _ \end{array}
247
+ $$
248
+
249
+ whestep $( a )$ rz ine, step lity uses $2 p q - 1 \leq r \leq 1$ aes $p q \leq 1$ $( b )$ $| g _ { j , i } | \leq \| g _ { j } \| _ { \infty } \leq G _ { \infty }$ $( c )$ $\begin{array} { r } { \sum _ { j = 1 } ^ { t } \beta _ { 1 } ^ { t - j } \le 1 / ( 1 - \beta _ { 1 } ) } \end{array}$ $( d )$ $\hat { v } _ { t , i } ^ { 2 p } \geq \hat { v } _ { j , i } ^ { 2 p }$ $j \le t$ $( e )$
250
+
251
+ Taking the summation of (22) over $t = 1$ to $t = T$ produces
252
+
253
+ $$
254
+ \begin{array} { r l } & { \displaystyle \sum _ { t = 1 } ^ { T } \alpha _ { t } ^ { 2 } \mathbb { E } \left[ \| \hat { V } _ { t } ^ { - p } m _ { t } \| _ { 2 } ^ { 2 } \right] } \\ & { \leq \frac { \displaystyle ( 1 - \beta _ { 1 } ) G _ { \infty } ^ { ( 1 + r - 2 p q ) } } { \displaystyle ( 1 - \beta _ { 2 } ) ^ { 2 p } } \mathbb { E } \left[ \sum _ { t = 1 } ^ { T } \sum _ { i = 1 } ^ { d } \sum _ { j = 1 } ^ { t } \alpha _ { t } ^ { 2 } \beta _ { 1 } ^ { t - j } | g _ { j , i } | ^ { ( 1 - r ) } \right] } \end{array}
255
+ $$
256
+
257
+ $$
258
+ \begin{array} { r l } & { \stackrel { \langle \alpha \rangle } { \leq } \frac { \alpha _ { 1 } ^ { 2 } ( 1 - \beta _ { 1 } ) G _ { \infty } ^ { ( 1 + r - 2 p q ) } } { ( 1 - \beta _ { 2 } ) ^ { 2 p } } \mathbb { E } \left[ \displaystyle \sum _ { i = 1 } ^ { d } \displaystyle \sum _ { j = 1 } ^ { T } | g _ { j , i } | ^ { ( 1 - r ) } \displaystyle \sum _ { t = j } ^ { T } \beta _ { 1 } ^ { t - j } \right] } \\ & { \stackrel { \langle \alpha \rangle } { \leq } \frac { \alpha _ { 1 } ^ { 2 } G _ { \infty } ^ { ( 1 + r - 2 p q ) } } { ( 1 - \beta _ { 2 } ) ^ { 2 p } } \mathbb { E } \left[ \displaystyle \sum _ { i = 1 } ^ { d } \displaystyle \sum _ { j = 1 } ^ { T } | g _ { j , i } | ^ { ( 1 - r ) } \right] } \\ & { \stackrel { \langle \alpha \rangle } { \leq } \frac { \alpha _ { 1 } ^ { 2 } G _ { \infty } ^ { ( 1 + r - 2 p q ) } } { ( 1 - \beta _ { 2 } ) ^ { 2 p } } \mathbb { E } \left[ \displaystyle \sum _ { i = 1 } ^ { d } \left( \displaystyle \sum _ { j = 1 } ^ { T } | g _ { j , i } | ^ { 2 } \right) ^ { ( 1 - r ) / 2 } \right] } \\ & { = \frac { \alpha _ { 1 } ^ { 2 } G _ { \infty } ^ { ( 1 + r - 2 p q ) } } { ( 1 - \beta _ { 2 } ) ^ { 2 p } } \mathbb { E } \left[ \displaystyle \sum _ { i = 1 } ^ { d } \left( \displaystyle \sum _ { j = 1 } ^ { T } | g _ { j , i } | ^ { 2 } \right) ^ { ( 1 - r ) / 2 } \right] T ^ { ( 1 + r ) / 2 } } \\ & { = \frac { \alpha _ { 1 } ^ { 2 } G _ { \infty } ^ { ( 1 + r - 2 p q ) } T ^ { ( 1 + r ) / 2 } } { ( 1 - \beta _ { 2 } ) ^ { 2 p } } \mathbb { E } \left[ \displaystyle \sum _ { i = 1 } ^ { d } \left( \| g _ { 1 } \gamma _ { , i } \| ^ { ( 1 - r ) } \right) ^ { ( 1 - r ) } \right] } \end{array}
259
+ $$
260
+
261
+ where step $( a )$ uses the property that $a _ { j } \leq a _ { j - 1 }$ for all $j > 1$ , step (b) uses $\begin{array} { r } { \sum _ { t = j } ^ { T } \beta _ { 1 } ^ { t - j } < 1 / ( 1 - \beta _ { 1 } ) } \end{array}$ and step $( c )$ follows from Holder’s inequality. The proof is complete for (12).
262
+
263
+ The quantity $\begin{array} { r } { \sum _ { t = 1 } ^ { T } \alpha _ { t } ^ { 2 } \mathbb { E } \left[ \lVert \hat { V } _ { t } ^ { - p } \pmb { g } _ { t } \rVert _ { 2 } ^ { 2 } \right] } \end{array}$ in (13) can be upper bounded as
264
+
265
+ $$
266
+ \begin{array} { r l } & { \frac { 1 } { \omega } \sum _ { i = 1 } ^ { n } [ | \hat { \mathcal { X } } _ { i } ^ { \dagger } \hat { \mathcal { Y } } _ { i } | \hat { \mathcal { Z } } _ { i } ^ { \dagger } | ] } \\ & { = \frac { 1 } { \omega } \sum _ { i = 1 } ^ { n } \omega ^ { 2 } [ \frac { \omega } { \omega _ { i } } \frac { \hat { \mathcal { X } } _ { i } ^ { \dagger } } { \omega _ { i } ^ { 2 } } ] } \\ & { \stackrel { ( a ) } { \leq } \frac { \sum _ { i = 1 } ^ { n } \omega ^ { 2 } } { \epsilon _ { i } - \beta _ { i } } \mathbb { E } [ \frac { \frac { \omega } { \omega } } { \omega _ { i } } \frac { \hat { \mathcal { Y } } _ { i } ^ { \dagger } } { \omega _ { i } ^ { 2 } } ] } \\ & { \stackrel { ( b ) } { \leq } \frac { \sum _ { i = 1 } ^ { n } \omega ^ { 2 } } { \epsilon _ { i } - \beta _ { i } } \mathbb { E } [ \frac { \frac { \omega } { \omega } } { \omega _ { i } } \frac { \hat { \mathcal { Y } } _ { i } ^ { \dagger } } { \omega _ { i } ^ { 2 } } \frac { \hat { \mathcal { Y } } _ { i } ^ { \dagger } } { \omega _ { i } ^ { 2 } } \frac { \hat { \mathcal { Y } } _ { i } ^ { \dagger } } { \omega _ { i } ^ { 2 } } ] } \\ & { \stackrel { ( b ) } { \leq } \frac { \alpha _ { i } ^ { 2 } } { ( 1 - \beta _ { i } ^ { 2 } ) ^ { \beta _ { 0 } / 2 } } \mathbb { E } [ \frac { \frac { \omega } { \omega } } { \omega _ { i } } \frac { \hat { \mathcal { Y } } _ { i } ^ { \dagger } } { \omega _ { i } ^ { 2 } - \beta _ { i } } \frac { \hat { \mathcal { Y } } _ { i } ^ { \dagger } } { \omega _ { i } ^ { 2 } } \frac { \hat { \mathcal { Y } } _ { i } ^ { \dagger } } { 2 } ] } \\ & \stackrel { ( b ) } { \leq } \frac { \alpha _ { i } ^ { 2 } } { ( 1 - \beta _ { i } ^ { 2 } ) ^ { \beta _ { 0 } / 2 } } \mathbb { E } [ \frac { \omega } { \omega _ { i } } ( \frac \hat { \mathcal { Y } } _ { i } ^ \end{array}
267
+ $$
268
+
269
+ where step $( a )$ uses the property that $a _ { j } \leq a _ { j - 1 }$ for all $j > 1$ and the results in Lemma 3, step $( b )$ uses $p q < 1$ , $p , q > 0$ , and step $( c ) - ( \bar { d } )$ follow from Holder’s inequality. The proof is complete for (13).
270
+
271
+ # C PROOF OF THEOREM 2
272
+
273
+ In brief, we use the technique of parameter transformation proposed in (Yang et al. (2016)) to study Game for solving stochastic nonconvex optimization. In particular, we let $\pmb { x } _ { 0 } = \pmb { x } _ { 1 }$ and for each $t \geq 1$
274
+
275
+ $$
276
+ z _ { t } = { \pmb x } _ { t } + \frac { \beta _ { 1 } } { 1 - \beta _ { 1 } } ( { \pmb x } _ { t } - { \pmb x } _ { t - 1 } ) = \frac { 1 } { 1 - \beta _ { 1 } } { \pmb x } _ { t } - \frac { \beta _ { 1 } } { 1 - \beta _ { 1 } } { \pmb x } _ { t - 1 } ,
277
+ $$
278
+
279
+ where $z _ { 1 } = x _ { 1 }$ for the special case $t = 1$ . We note that the technique has also been employed in (Zhou et al. (2018)) and (Chen et al. (2018)) for analyzing PAdam and a class of Adam-type methods. Instead of considering $\{ \pmb { x } _ { j } \} _ { j = 0 } ^ { T }$ directly, we tackle $\{ z _ { j } \} _ { j = 1 } ^ { T }$ as in the literature.
280
+
281
+ In (Zhou et al. (2018)) and (Chen et al. (2018)), the authors provided a general upper bound for $f ( z _ { t + 1 } ) - f ( z _ { t } )$ , which also holds for Game. We now summarize their result in a lemma below:
282
+
283
+ Lemma 4. Suppose the sequence $\{ z _ { j } \} _ { j = 1 } ^ { T }$ is as defined in (24). Then under Assumption $^ { l }$ , the quantity $f ( z _ { t + 1 } ) - f ( z _ { t } )$ is upper bounded by
284
+
285
+ $$
286
+ \begin{array} { r l } & { \quad f ( z _ { 2 } ) - f ( z _ { 1 } ) \leq - \nabla f ( { \boldsymbol x } _ { 1 } ) ^ { T } \alpha _ { 1 } \hat { V } _ { 1 } ^ { - p } g _ { 1 } + 2 L \| \alpha _ { 1 } \hat { V } _ { 1 } ^ { - p } g _ { 1 } \| _ { 2 } ^ { 2 } } \\ & { f ( z _ { t + 1 } ) - f ( z _ { t } ) \leq - \nabla f ( { \boldsymbol x } _ { t } ) ^ { T } \alpha _ { t - 1 } \hat { V } _ { t - 1 } ^ { - p } g _ { t } + \displaystyle \frac { 1 } { 1 - \beta _ { 1 } } G _ { \infty } ^ { 2 } ( \| \alpha _ { t - 1 } \hat { v } _ { t - 1 } ^ { - p } \| _ { 1 } - \| \alpha _ { t } \hat { v } _ { t } ^ { - p } \| _ { 1 } ) } \\ & { \qquad + \displaystyle 2 L \| \alpha _ { t } \hat { V } _ { t } ^ { - p } g _ { t } \| _ { 2 } ^ { 2 } + 4 L \left( \frac { \beta _ { 1 } } { 1 - \beta _ { 1 } } \right) ^ { 2 } \| { \boldsymbol x } _ { t } - { \boldsymbol x } _ { t - 1 } \| _ { 2 } ^ { 2 } \quad t \geq 2 . } \end{array}
287
+ $$
288
+
289
+ With Lemma 4, we are ready to present the proof for Theorem 2. Firstly, taking expectation on both sides of (25) produces
290
+
291
+ $$
292
+ \begin{array} { r l } & { \mathbb { E } [ f ( z _ { 2 } ) - f ( z _ { 1 } ) ] \le \mathbb { E } \left[ - \nabla f ( x _ { 1 } ) ^ { T } \alpha _ { 1 } \hat { V } _ { 1 } ^ { - p } g _ { 1 } + 2 L \| \alpha _ { 1 } \hat { V } _ { 1 } ^ { - p } g _ { 1 } \| _ { 2 } ^ { 2 } \right] } \\ & { \qquad \le \mathbb { E } \left[ d \alpha _ { 1 } \| \nabla f ( x _ { 1 } ) \| _ { \infty } \cdot \| \hat { V } _ { 1 } ^ { - p } g _ { 1 } \| _ { \infty } + 2 L \| \alpha _ { 1 } \hat { V } _ { 1 } ^ { - p } g _ { 1 } \| _ { 2 } ^ { 2 } \right] } \\ & { \qquad \overset { ( a ) } { \le } \mathbb { E } \left[ \frac { d \alpha _ { 1 } } { ( 1 - \beta _ { 2 } ) ^ { p } } \| \nabla f ( x _ { 1 } ) \| _ { \infty } \cdot \| | g | ^ { 1 - p q } \| _ { \infty } + 2 L \| \alpha _ { 1 } \hat { V } _ { 1 } ^ { - p } g _ { 1 } \| _ { 2 } ^ { 2 } \right] } \\ & { \qquad \overset { ( b ) } { \le } \mathbb { E } \left[ \frac { d \alpha _ { 1 } G _ { \infty } ^ { 2 - p q } } { ( 1 - \beta _ { 2 } ) ^ { p } } + 2 L \| \alpha _ { 1 } \hat { V } _ { 1 } ^ { - p } g _ { 1 } \| _ { 2 } ^ { 2 } \right] , } \end{array}
293
+ $$
294
+
295
+ where step $( a )$ uses $\hat { V } _ { 1 } = ( 1 - \beta _ { 2 } ) | g _ { 1 } | ^ { q }$ and $p q < 1$ , and step $( b )$ uses $\| \nabla f _ { t } ( \pmb { x } ; \xi _ { t } ) \| _ { \infty } \leq G _ { \infty }$
296
+
297
+ Next by rearranging terms and taking expectation in (26), we have
298
+
299
+ $$
300
+ \begin{array} { r l } & { \mathbb { E } \bigg [ f ( z _ { t + 1 } ) + \frac { G _ { \infty } ^ { 2 } } { 1 - \beta _ { 1 } } \| \alpha _ { t } \hat { v } _ { t } ^ { - p } \| _ { 1 } - \bigg ( f ( z _ { t } ) + \frac { G _ { \infty } ^ { 2 } } { 1 - \beta _ { 1 } } \| \alpha _ { t - 1 } \hat { v } _ { t - 1 } ^ { - p } \| _ { 1 } \bigg ) \bigg ] } \\ & { \leq \mathbb { E } \bigg [ - \nabla f ( x _ { t } ) ^ { t } \alpha _ { t - 1 } \hat { V } _ { t - 1 } ^ { - p } g _ { t } + 2 L \| \alpha _ { t } \hat { V } _ { t } ^ { - p } g _ { t } \| _ { 2 } ^ { 2 } + 4 L \bigg ( \frac { \beta _ { 1 } } { 1 - \beta _ { 1 } } \bigg ) ^ { 2 } \| x _ { t - 1 } - x _ { t } \| _ { 2 } ^ { 2 } \bigg ] } \\ & { \overset { ( a ) } { = } - \nabla f ( x _ { t } ) ^ { t } \alpha _ { t - 1 } \hat { V } _ { t - 1 } ^ { - p } \nabla f ( x _ { t } ) + \mathbb { E } \bigg [ 2 L \| \alpha _ { t } \hat { V } _ { t } ^ { - p } g _ { t } \| _ { 2 } ^ { 2 } + 4 L \bigg ( \frac { \beta _ { 1 } } { 1 - \beta _ { 1 } } \bigg ) ^ { 2 } \| \alpha _ { t - 1 } \hat { V } _ { t - 1 } ^ { - p } m _ { t - 1 } \| _ { 2 } ^ { 2 } \bigg ] } \\ & { \overset { ( b ) } { \leq } - \alpha _ { t - 1 } \| \nabla f ( x _ { t } ) \| _ { 2 } ^ { 2 } ( G _ { \infty } ^ { p } ) ^ { - 1 } + \mathbb { E } \bigg [ 2 L \| \alpha _ { t } \hat { V } _ { t } ^ { - p } g _ { t } \| _ { 2 } ^ { 2 } + 4 L \bigg ( \frac { \beta _ { 1 } } { 1 - \beta _ { 1 } } \bigg ) ^ { 2 } \| \alpha _ { t - 1 } \hat { V } _ { t - 1 } ^ { - p } m _ { t - 1 } \| _ { 2 } ^ { 2 } \bigg ] , ( 3 ) } \end{array}
301
+ $$
302
+
303
+ where step $( a )$ uses the property that $\mathbb { E } [ { \pmb { g } } _ { t } ] = \nabla f ( { \pmb { x } } _ { t } )$ , and step $( b )$ uses the inequality $\| \hat { \pmb { v } } _ { t - 1 } \| _ { \infty } \leq$ $G _ { \infty } ^ { q }$ which can be derived from $\| \nabla f _ { t } ( \pmb { x } ; \xi _ { t } ) \| _ { \infty } \leq G _ { \infty } ,$ $t \geq 1$ .
304
+
305
+ Taking the summation of (27)-(28) over $t = 1$ to $T$ produces
306
+
307
+ $$
308
+ \begin{array} { r l } & { \boldsymbol { G } _ { \infty } ^ { p } ^ { - 1 } \displaystyle \sum _ { t = 2 } ^ { T } \alpha _ { t - 1 } \mathbb { E } \| \nabla f ( \boldsymbol { x } _ { t } ) \| _ { 2 } ^ { 2 } } \\ & { \leq \mathbb { E } [ f ( \boldsymbol { x } _ { 1 } ) + \frac { G _ { \infty } ^ { 2 } } { 1 - \beta _ { 1 } } \big \| \alpha _ { 1 } \hat { \boldsymbol { v } } _ { 1 } ^ { - p } \big \| _ { 1 } + \frac { d \alpha _ { 1 } G _ { \infty } ^ { 2 - p q } } { ( 1 - \beta _ { 2 } ) ^ { p } } - ( f ( \boldsymbol { z } _ { T + 1 } ) + \frac { G _ { \infty } ^ { 2 } } { 1 - \beta _ { 1 } } \big \| \alpha _ { T } \hat { \boldsymbol { v } } _ { T } ^ { - p } \big \| _ { 1 } ) ] } \\ & { \qquad + 2 L \displaystyle \sum _ { t = 1 } ^ { T } \mathbb { E } [ \| \alpha _ { t } \hat { V } _ { t } ^ { - p } \boldsymbol { g } _ { t } \| _ { 2 } ^ { 2 } ] + 4 L ( \frac { \beta _ { 1 } } { 1 - \beta _ { 1 } } ) ^ { 2 } \displaystyle \sum _ { t = 2 } ^ { T } \mathbb { E } [ \| \alpha _ { t - 1 } \hat { V } _ { t - 1 } ^ { - p } \boldsymbol { m } _ { t - 1 } \| _ { 2 } ^ { 2 } ] } \\ & { \overset { ( a ) } { \leq } \mathbb { E } [ \Delta f + \frac { G _ { \infty } ^ { 2 } } { 1 - \beta _ { 1 } } \big \| \alpha _ { 1 } \hat { \boldsymbol { v } } _ { 1 } ^ { - p } \big \| _ { 1 } + \frac { d \alpha _ { 1 } G _ { \infty } ^ { 2 - p q } } { ( 1 - \beta _ { 2 } ) ^ { p } } ] + 2 L \displaystyle \sum _ { t = 1 } ^ { T } \mathbb { E } [ \| \alpha _ { t } \hat { V } _ { t } ^ { - p } \boldsymbol { g } _ { t } \| _ { 2 } ^ { 2 } ] } \\ & \qquad + 4 L ( \frac { \beta _ { 1 } } { 1 - \beta _ { 1 } } ) ^ { 2 } \displaystyle \sum _ { t = 1 } ^ { T } \mathbb { E } [ \| \alpha _ { t } \hat { V } _ { t } ^ { - p } \boldsymbol { m } _ { t } \| _ { 2 } ^ \end{array}
309
+ $$
310
+
311
+ where step $( a )$ uses the inequality $\begin{array} { r } { \Delta f = f ( { \pmb x } _ { 1 } ) - \operatorname* { i n f } _ { { \pmb x } } f ( { \pmb x } ) \geq f ( { \pmb x } _ { 1 } ) - f ( { \pmb z } _ { T + 1 } ) } \end{array}$ and ${ \pmb z } _ { 1 } = { \pmb x } _ { 1 }$ .
312
+
313
+ Finally, substituting (12)-(13) into (29) produces
314
+
315
+ $$
316
+ \begin{array} { r l } & { \quad \times \frac { \sqrt { ( \mathbf { F } + \mathbf { x } ) ^ { 2 } } } { 2 } } \\ & { = \frac { \sqrt { ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } } } { 2 } \quad \sum _ { i = 1 } ^ { N } \mu _ { i } \sum _ { j = 1 } ^ { N } \mu _ { i } \mu _ { j } \sum _ { k = 1 } ^ { N } \mu _ { k } ^ { i } } \\ & \quad - \frac \sqrt { ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } } \\ & \quad + \frac \sqrt { ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + ( \mathbf { F } + \mathbf { x } ) ^ { 2 } + \mu _ { 0 } } \\ & \quad + \frac \sqrt ( \mathbf \end{array}
317
+ $$
318
+
319
+ where step $( a )$ uses the property $\alpha _ { t } = \alpha _ { 1 }$ for all $t \geq 2$ , and $\{ M _ { l } \} _ { l = 1 } ^ { 4 }$ are given by (15)-(18). The proof is complete.
320
+
321
+ # D CNN ARCHITECTURES IN EXPERIMENTS
322
+
323
+ Remark 3. The full name of SERLU in Table 3 is so called scaled exponentially-regularized linear unit. Furthermore, the shift-dropout in Table 3 is designed specifically for SERLU, which includes dropout as a special case.
324
+
325
+ Table 2: CNN for MNIST using SERLU
326
+
327
+ <table><tr><td rowspan=1 colspan=1>Layer 1</td><td rowspan=1 colspan=1>conv.: 3 ×3@32(SERLU)</td></tr><tr><td rowspan=1 colspan=1>Layer 2</td><td rowspan=1 colspan=1>conv.: 3 × 3@64 (SERLU)max-pooling</td></tr><tr><td rowspan=1 colspan=1>Layer 3</td><td rowspan=1 colspan=1>dense: 512 neurons(SERLU)</td></tr><tr><td rowspan=1 colspan=1>Layer 4</td><td rowspan=1 colspan=1>dense+ softmax</td></tr></table>
328
+
329
+ Table 3: CNN for CIFAR10 using SERLU
330
+
331
+ <table><tr><td rowspan=1 colspan=1>Layer 1</td><td rowspan=1 colspan=1>conv.: 3 × 3@32(SERLU)</td></tr><tr><td rowspan=1 colspan=1>Layer 2</td><td rowspan=1 colspan=1>conv.: 3 × 3@32 (SERLU)max-poolingshift-dropout</td></tr><tr><td rowspan=1 colspan=1>Layer 3</td><td rowspan=1 colspan=1>conv.: 3 × 3@64 (SERLU)</td></tr><tr><td rowspan=1 colspan=1>Layer 4</td><td rowspan=1 colspan=1>conv.: 3 × 3@64 (SERLU)max-poolingshift-dropout</td></tr><tr><td rowspan=1 colspan=1>Layer 5</td><td rowspan=1 colspan=1>conv.: 3 × 3@128(SERLU)</td></tr><tr><td rowspan=1 colspan=1>Layer 6</td><td rowspan=1 colspan=1>conv.: 3 × 3@128 (SERLU)max-poolingshift-dropout</td></tr><tr><td rowspan=1 colspan=1>Layer 7</td><td rowspan=1 colspan=1>dense: 512 neurons (SERLU)shift-dropout</td></tr><tr><td rowspan=1 colspan=1>Layer 8</td><td rowspan=1 colspan=1>dense+softmax</td></tr></table>
332
+
333
+ Table 4: CNN for CIFAR10 using ELU
334
+
335
+ <table><tr><td rowspan=1 colspan=1>Layer 1</td><td rowspan=1 colspan=1>conv.: 3 × 3@32(ELU)</td></tr><tr><td rowspan=1 colspan=1>Layer 2</td><td rowspan=1 colspan=1>conv.: 3 × 3@32 (ELU)max-poolingdropout</td></tr><tr><td rowspan=1 colspan=1>Layer 3</td><td rowspan=1 colspan=1>conv.: 3 × 3@64(ELU)</td></tr><tr><td rowspan=1 colspan=1>Layer 4</td><td rowspan=1 colspan=1>conv.: 3 × 3@64 (ELU)max-poolingdropout</td></tr><tr><td rowspan=1 colspan=1>Layer 5</td><td rowspan=1 colspan=1>conv.: 3 × 3@128(ELU)</td></tr><tr><td rowspan=1 colspan=1>Layer 6</td><td rowspan=1 colspan=1>conv.: 3 × 3@1283(ELU)max-poolingdropout</td></tr><tr><td rowspan=1 colspan=1>Layer 7</td><td rowspan=1 colspan=1>dense: 512 neurons (ELU)dropout</td></tr><tr><td rowspan=1 colspan=1>Layer 8</td><td rowspan=1 colspan=1>dense + softmax</td></tr></table>
336
+
337
+ Table 5: CNN for CIFAR10 using ReLU
338
+
339
+ <table><tr><td rowspan=1 colspan=1>Layer 1</td><td rowspan=1 colspan=1>conv.: 3 ×3@32(ReLU)</td></tr><tr><td rowspan=1 colspan=1>Layer 2</td><td rowspan=1 colspan=1>conv.: 3 × 3@32 (ReLU)max-poolingdropout</td></tr><tr><td rowspan=1 colspan=1>Layer 3</td><td rowspan=1 colspan=1>conv.: 3 × 3@64(ReLU)</td></tr><tr><td rowspan=1 colspan=1>Layer 4</td><td rowspan=1 colspan=1>conv.: 3 × 3@64 (ReLU)max-poolingdropout</td></tr><tr><td rowspan=1 colspan=1>Layer 5</td><td rowspan=1 colspan=1>conv.: 3 × 3@128(ReLU)</td></tr><tr><td rowspan=1 colspan=1>Layer 6</td><td rowspan=1 colspan=1>conv.: 3 × 3@1283 (ReLU)max-poolingdropout</td></tr><tr><td rowspan=1 colspan=1>Layer 7</td><td rowspan=1 colspan=1>dense: 512 neurons (ReLU)dropout</td></tr><tr><td rowspan=1 colspan=1>Layer 8</td><td rowspan=1 colspan=1>dense + softmax</td></tr></table>
parse/train/HJxFrs09YQ/HJxFrs09YQ_content_list.json ADDED
@@ -0,0 +1,1573 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "GENERALIZED ADAPTIVE MOMENT ESTIMATION ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 174,
8
+ 98,
9
+ 764,
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
+ 210,
32
+ 544,
33
+ 224
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Adaptive gradient methods have experienced great success in training deep neural networks (DNNs). The basic idea of the methods is to track and properly make use of the first and/or second moments of the gradient for model-parameter updates over iterations for the purpose of removing the need for manual interference. In this work, we propose a new adaptive gradient method, referred to as generalized adaptive moment estimation (Game). From a high level perspective, the new method introduces two more parameters w.r.t. AMSGrad (S. J. Reddi & Kumar (2018)) and one more parameter w.r.t. PAdam (Chen & Gu (2018)) to enlarge the parameterselection space for performance enhancement while reducing the memory cost per iteration compared to AMSGrad and PAdam. The saved memory space amounts to the number of model parameters, which is significant for large-scale DNNs. Our motivation for introducing additional parameters in Game is to provide algorithmic flexibility to facilitate a reduction of the performance gap between training and validation datasets when training a DNN. Convergence analysis is provided for applying Game to solve both convex optimization and smooth nonconvex optimization. Empirical studies for training four convolutional neural networks over MNIST and CIFAR10 show that under proper parameter selection, Game produces promising validation performance as compared to AMSGrad and PAdam. ",
40
+ "bbox": [
41
+ 233,
42
+ 244,
43
+ 766,
44
+ 494
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 520,
55
+ 336,
56
+ 536
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Stochastic gradient descent (SGD) and its variants have become the mainstream training methods in machine learning (ML) due to its simplicity and effectiveness. In general, SGD is known to work reasonably well regardless of their problem structure if the learning rate is set properly in a dynamical manner over training iterations. Intuitively speaking, if optimization problems admit certain structural properties (e.g., gradients magnitudes not balanced across the parameter set), advanced gradient descent methods exploiting the structural properties would be likely to boost optimization performance. In 2011, Duchi et al. firstly proposed to track the second moment of gradients and then scale each gradient coordinate using the tracked information before updating the model parameters, which is referred to as AdaGrad (Duchi et al. (2011)). From a conceptual point of view, AdaGrad adaptively adjusts “individual learning rates” for all the model parameters, allowing for the parameters to be updated on a roughly equal scale. It is found that AdaGrad converges significantly faster than SGD when the gradients are sparse. Its performance deteriorates when the gradients are dense due to a rapid decay of the learning rates. ",
63
+ "bbox": [
64
+ 174,
65
+ 547,
66
+ 825,
67
+ 728
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Since the pioneering work of AdaGrad, various adaptive gradient methods have been proposed on tracking and using the first and/or second moment of the gradients for effective parameter updates. The methods include, for example, RMSProp (Tieleman & Hinton (2012)), Adam (Kingma & Ba (2017)), and NAdam (Dozat (2016)). The main difference of the above methods from AdaGrad is that the first and/or second moment of the gradients are tracked via exponential moving averaging to enhance the importance of the most recent gradients. ",
74
+ "bbox": [
75
+ 174,
76
+ 736,
77
+ 825,
78
+ 819
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "Despite the wide usage of Adam in ML community, Reddit et al. have recently shown that the method does not even converge for a class of specially constructed convex functions (S. J. Reddi & Kumar (2018)) due to the non-monotonicity of the “individual learning rates” being multiplied to the gradients. To fix the convergence issue of Adam, the authors proposed a so-called AMSGrad method by additionally tracking the maximum value of the second moment of gradients over iterations (i.e., vector $\\hat { v }$ of Alg. 1 in Table 1). Later on, Chen and Guo generalized AMSGrad by introducing one free parameter (i.e., $p$ of Alg. 2 in Table 1), referred to as PAdam (Chen & Gu (2018)). The authors’ primary motivation is to improve the generalization performance by tuning the parameter. Both AMSGrad and PAdam require additional memory in comparison to Adam for storing $\\hat { v }$ . ",
85
+ "bbox": [
86
+ 174,
87
+ 825,
88
+ 825,
89
+ 924
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "table",
95
+ "img_path": "images/a17c49dba99f7a9daa7f160c244ed37094d9a7ab64301745ccb20c189c4e15c9.jpg",
96
+ "table_caption": [
97
+ "Table 1: Comparison of three adaptive gradient methods "
98
+ ],
99
+ "table_footnote": [],
100
+ "table_body": "<table><tr><td rowspan=1 colspan=1>Alg.1:AMSGrad</td><td rowspan=1 colspan=2>Alg.2:PAdam</td><td rowspan=1 colspan=1>Alg.3:Game</td></tr><tr><td rowspan=1 colspan=1>Input:x1,{αt},{βit},β2Init.: mo←0,v←0,vo←0fort=1toTdogt=Vf(xt;$t)mt= βitmt-1+(1-βit)gtUt =β2Ut-1+(1- β2)g²Vt = max(vt,Ut-1)Ct+1 ← xt-atV-1/2mtend for</td><td rowspan=1 colspan=2>Input:x1,{αt},{βit},β2Init.:mo←0,vo←0,vo←0fort=1to Tdogt=Vxf(xt;st)mt=β1tmt-1+(1-βit)gtUt = β2Ut-1+(1-β2)g²Ut = max(vt,Ut-1)Xt+1←xt-αtVt-Pmtend for</td><td rowspan=1 colspan=1>Input:x1,{αt},{βit},β2Init.:mo←0,vo←0fort=1toTdogt=Vxf(xt;St)mt=β1tmt-1+(1-βit)gtUt=β2Ut-1+(1-β2)lgt|qUt = max(vt,Ut-1)Xt+1 ← xt -αtVt-Pmtend for</td></tr><tr><td rowspan=1 colspan=3>Comparison of analysis results for smooth nonconvex optimization</td><td rowspan=1 colspan=1>nvexoptimization</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=2>(Zhou et al. (2018)) :0(+);β&lt;β,p=</td><td rowspan=1 colspan=1></td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=2>new results:(+%)when p = 1/4</td><td rowspan=1 colspan=1>new results:0(+)when pq = 1/2</td></tr><tr><td rowspan=1 colspan=2>Notations: Vt = diag(0t); GT = E (</td><td rowspan=1 colspan=2>(∑d1l9:ll2);d:dimensionof</td></tr></table>",
101
+ "bbox": [
102
+ 173,
103
+ 127,
104
+ 820,
105
+ 373
106
+ ],
107
+ "page_idx": 1
108
+ },
109
+ {
110
+ "type": "text",
111
+ "text": "",
112
+ "bbox": [
113
+ 176,
114
+ 387,
115
+ 823,
116
+ 415
117
+ ],
118
+ "page_idx": 1
119
+ },
120
+ {
121
+ "type": "text",
122
+ "text": "While machine learning has seen rapid advances in algorithm development, theoretical convergence analysis has also made remarkable progress recently. The work of (Zhou et al. (2018)) extends the original analysis for PAdam in (Chen & Gu (2018)) from convex optimization to smooth nonconvex optimization. In another recent article (Chen et al. (2018)), the authors also considered smooth nonconvex optimization and provided convergence analysis for a class of Adam-related algorithms including AMSGrad and Adam. The convergence bounds developed in the above two articles differ in their analysis approach and step-size selection. From a high level point of view, analysis on nonconvex optimization is highly valuable in practice as training deep neural networks (DNNs) is well known to be a nonconvex optimization problem. An improved convergence analysis on existing algorithms would provide insights on designing more advanced adaptive gradient methods. ",
123
+ "bbox": [
124
+ 173,
125
+ 421,
126
+ 825,
127
+ 561
128
+ ],
129
+ "page_idx": 1
130
+ },
131
+ {
132
+ "type": "text",
133
+ "text": "In this paper, we make two main contributions. Firstly, we propose a new adaptive gradient method named generalized adaptive moment estimation (Game). As shown in Table 1, Game tracks only two variables $( m , \\hat { v } )$ 1 over iterations as compared to AMSGrad and PAdam, which track three variables $( m , v , \\hat { v } )$ . We emphasize that since the dimension of $\\pmb { v }$ is the same as the number of model parameters, the memory saved by Game can be remarkable for modern large-scale neural networks, which usually have millions of parameters. Furthermore, Game introduces two parameters (i.e., $( p , q )$ of Alg. 3 in Table 1) in comparison to PAdam which introduces one parameter (i.e., $p$ of Alg. 2 in Table 1) to further enhance its flexibility. The parameter $q$ enables Game to track information of the qth moment of gradient magnitude rather than only the second moment of the gradients. By doing so, the parameter provides one more degree of freedom for the method to balance the tradeoff between convergence speed on training data and generalization ability on validation data. ",
134
+ "bbox": [
135
+ 173,
136
+ 568,
137
+ 825,
138
+ 720
139
+ ],
140
+ "page_idx": 1
141
+ },
142
+ {
143
+ "type": "text",
144
+ "text": "Secondly, in our theoretical convergence analysis for Game, we manage to remove the condition on the relationship between $\\beta _ { 1 }$ and $\\beta _ { 2 }$ while $\\beta _ { 1 } \\leq \\beta _ { 2 }$ and $\\beta _ { 1 } \\leq \\beta _ { 2 } ^ { p }$ are required in (S. J. Reddi & Kumar (2018)) for AMSGrad and (Zhou et al. (2018)) for PAdam, respectively. We provide convergence analysis for both convex optimization and smooth nonconvex optimization. The results for nonconvex case are briefly summarized in Table 1 with the analysis results from (Zhou et al. (2018)) as a reference. Finally, our experimental results on training four convolutional neural networks (CNNs) for MNIST and CIFAR10 suggest that with a proper setup of $( p , q )$ , Game produces promising validation performance in comparison to AMSGrad and PAdam. ",
145
+ "bbox": [
146
+ 173,
147
+ 727,
148
+ 825,
149
+ 839
150
+ ],
151
+ "page_idx": 1
152
+ },
153
+ {
154
+ "type": "text",
155
+ "text": "2 PROBLEM SETUP ",
156
+ "text_level": 1,
157
+ "bbox": [
158
+ 176,
159
+ 849,
160
+ 348,
161
+ 866
162
+ ],
163
+ "page_idx": 1
164
+ },
165
+ {
166
+ "type": "text",
167
+ "text": "Before introducing the problem, we describe the notation used in the paper, which are basically in line with that of (S. J. Reddi & Kumar (2018)) and (Chen & Gu (2018)) for consistency. We denote scalars by lower-case letters, vectors by bold lower-case letters, and matrices by bold upper-case letters. Following convention, we denote the $l _ { p }$ $( p \\geq 1 )$ norm of a vector $\\pmb { x } \\in \\mathbb { R } ^ { d }$ by $\\| { \\pmb x } \\| _ { p } =$ $\\begin{array} { r } { ( \\sum _ { i = 1 } ^ { d } | x _ { i } | ^ { p } ) ^ { 1 / p } } \\end{array}$ $p \\infty$ , thehere $l _ { \\infty }$ norm takes a special form is the ith element of a vector $\\| \\pmb { x } \\| _ { \\infty } = \\operatorname* { m a x } _ { i = 1 } ^ { d } | x _ { i } |$ . We leto denote $\\pmb { g } _ { 1 : t , i } = [ g _ { 1 , i } , g _ { 2 , i } , \\cdot \\cdot \\cdot , g _ { t , i } ]$ $g _ { t , i }$ $\\pmb { g } _ { t } \\in \\mathbb { R } ^ { d }$ $\\mathbb { E } [ \\cdot ]$ the expectation operation. Given two sequences $\\left\\{ { { a } _ { t } } \\right\\}$ and $\\{ b _ { t } \\}$ , the notation $a _ { t } = O ( b _ { t } )$ indicates that the magnitude of $a _ { t }$ is proportional to that of $b _ { t }$ for $t \\geq 0$ . ",
168
+ "bbox": [
169
+ 176,
170
+ 871,
171
+ 823,
172
+ 898
173
+ ],
174
+ "page_idx": 1
175
+ },
176
+ {
177
+ "type": "text",
178
+ "text": "",
179
+ "bbox": [
180
+ 173,
181
+ 102,
182
+ 825,
183
+ 194
184
+ ],
185
+ "page_idx": 2
186
+ },
187
+ {
188
+ "type": "text",
189
+ "text": "Formally, we reconsider solving the stochastic smooth nonconvex optimization studied in (Ghadimi & Lan (2013; 2016); Zhou et al. (2018)) ",
190
+ "bbox": [
191
+ 173,
192
+ 199,
193
+ 823,
194
+ 228
195
+ ],
196
+ "page_idx": 2
197
+ },
198
+ {
199
+ "type": "equation",
200
+ "img_path": "images/ec4e1f2a72ec21816a827d287d6b4c95b3bb4512cb8a5a25df08befbbe8ddf7f.jpg",
201
+ "text": "$$\n\\operatorname* { m i n } _ { \\pmb { x } \\in \\mathbb { R } ^ { d } } f ( \\pmb { x } ) = \\mathbb { E } _ { \\xi } \\left[ f ( \\pmb { x } ; \\xi ) \\right] ,\n$$",
202
+ "text_format": "latex",
203
+ "bbox": [
204
+ 408,
205
+ 233,
206
+ 588,
207
+ 257
208
+ ],
209
+ "page_idx": 2
210
+ },
211
+ {
212
+ "type": "text",
213
+ "text": "where $_ { \\textbf { \\em x } }$ represents the parameters of a model in a vector form and $\\xi$ is a random variable. Due to randomness of $\\xi$ , one can only obtain an unbiased noisy gradient $\\nabla f ( { \\pmb x } ; { \\pmb \\xi } )$ , satisfying $\\nabla f ( { \\pmb x } ) =$ $\\mathbb { E } _ { \\xi } [ \\nabla f ( { \\pmb x } ; { \\pmb \\xi } ) ]$ . In practice, the variable $\\xi$ often represents the random mini-batch state. For the above situation, we denote the function realization at iteration $t$ as $f _ { t } ( \\pmb { x } ; \\xi _ { t } )$ , where $\\xi _ { t }$ is a realization of $\\xi$ Solving (1) is asymptotically equivalent to addressing the following optimization ",
214
+ "bbox": [
215
+ 173,
216
+ 262,
217
+ 825,
218
+ 333
219
+ ],
220
+ "page_idx": 2
221
+ },
222
+ {
223
+ "type": "equation",
224
+ "img_path": "images/8b5a42e46fcb163e694146e24c223edf0e6cbb10e1d20b37da2a5da8f1e4abc9.jpg",
225
+ "text": "$$\n\\operatorname* { l i m } _ { T \\to \\infty } \\operatorname* { m i n } _ { \\substack { { \\bf x } \\in \\mathbb { R } ^ { d } } } \\sum _ { t = 1 } ^ { T } f _ { t } ( { \\pmb x } ; { \\boldsymbol \\xi } _ { t } ) .\n$$",
226
+ "text_format": "latex",
227
+ "bbox": [
228
+ 416,
229
+ 338,
230
+ 581,
231
+ 382
232
+ ],
233
+ "page_idx": 2
234
+ },
235
+ {
236
+ "type": "text",
237
+ "text": "We will consider both the two formulations (1) and (2) in the reminder of the paper. ",
238
+ "bbox": [
239
+ 173,
240
+ 385,
241
+ 718,
242
+ 400
243
+ ],
244
+ "page_idx": 2
245
+ },
246
+ {
247
+ "type": "text",
248
+ "text": "3 GENERALIZED ADAPTIVE MOMENT ESTIMATION (GAME) ",
249
+ "text_level": 1,
250
+ "bbox": [
251
+ 174,
252
+ 412,
253
+ 683,
254
+ 429
255
+ ],
256
+ "page_idx": 2
257
+ },
258
+ {
259
+ "type": "text",
260
+ "text": "In this section, we present our new adaptive gradient method for solving (1). Our algorithm Game is motivated by making two observations about AMSGrad and PAdam in Table 1. Firstly, both the two methods have to track the parameter $\\hat { v }$ in addition to $\\pmb { v }$ . In particular, the parameter $\\hat { \\pmb { v } } _ { t }$ at iteration $t$ is computed as ",
261
+ "bbox": [
262
+ 173,
263
+ 440,
264
+ 825,
265
+ 496
266
+ ],
267
+ "page_idx": 2
268
+ },
269
+ {
270
+ "type": "equation",
271
+ "img_path": "images/ae06f635382e83a069cd5f55006bd392feeba96257deb41ab642a4b55ae75938.jpg",
272
+ "text": "$$\n\\begin{array} { r l } & { \\pmb { v } _ { t } = \\beta _ { 2 } \\pmb { v } _ { t - 1 } + ( 1 - \\beta _ { 2 } ) \\pmb { g } _ { t } ^ { 2 } } \\\\ & { \\hat { \\pmb { v } } _ { t } = \\operatorname* { m a x } ( \\pmb { v } _ { t } , \\hat { \\pmb { v } } _ { t - 1 } ) . } \\end{array}\n$$",
273
+ "text_format": "latex",
274
+ "bbox": [
275
+ 408,
276
+ 500,
277
+ 589,
278
+ 539
279
+ ],
280
+ "page_idx": 2
281
+ },
282
+ {
283
+ "type": "text",
284
+ "text": "It is seen from (3)-(4) that ${ \\mathbf { } } v _ { t }$ is a function of the squared gradients $\\{ g _ { j } ^ { 2 } \\} _ { j = 1 } ^ { t }$ while $\\hat { \\mathbf { } } _ { }$ tracks the maximum values of $\\{ { v } _ { j } \\} _ { j = 1 } ^ { t }$ up to iteration $t$ . From a high level perspective, it feels redundant to keep both ${ \\mathbf { } } v _ { t }$ and $\\hat { \\mathbf { } } _ { }$ in AMSGrad and PAdam as both parameters are related to the second moment of the gradients. One natural question is if it is sufficient to keep only one parameter about the second moment of the gradients without sacrificing convergence speed. Less memory usage is always desirable in designing an algorithm for simplicity and applicability. ",
285
+ "bbox": [
286
+ 173,
287
+ 542,
288
+ 825,
289
+ 632
290
+ ],
291
+ "page_idx": 2
292
+ },
293
+ {
294
+ "type": "text",
295
+ "text": "Secondly, it is clear from Table 1 that PAdam is designed by replacing the diagonal matrix $\\hat { V } _ { t } ^ { - \\frac { 1 } { 2 } }$ with $\\hat { V } _ { t } ^ { - p }$ at iteration $t$ in AMSGrad, where $p \\in [ 0 , \\frac { 1 } { 2 } ]$ . One can easily show that $p = 0$ corresponds to SGD while $\\begin{array} { r } { p = \\frac { 1 } { 2 } } \\end{array}$ leads to AMSGrad. The parameter $p$ establishes a smooth connection between SGD and AMSGrad, allowing the resulting method PAdam to carry the advantages of both methods. The empirical study in (Chen & Gu (2018)) suggests that when $p$ is properly chosen in the range $[ 0 , \\textstyle { \\frac { 1 } { 2 } } ]$ , PAdam shows better generalization performance than AMSGrad, which is as expected due to the fact SGD usually produces good generalization performance. To summarize, the above technique of introducing an additional parameter to an existing algorithm adds one more degree of freedom to enhance its applicability. One can find many examples in applied mathematics that use similar techniques for knowledge expansion. For instance, the extension from $l _ { 2 }$ norm to $l _ { p }$ norm and generalization from Cauchy-Schwarz inequality to Hölder’s inequality. ",
296
+ "bbox": [
297
+ 173,
298
+ 640,
299
+ 825,
300
+ 801
301
+ ],
302
+ "page_idx": 2
303
+ },
304
+ {
305
+ "type": "text",
306
+ "text": "Based on the above two observations, we propose a new adaptive gradient method named Game as summarized in Table 1. Basically, the new method only tracks two parameters $( m , \\hat { v } )$ , where $\\hat { \\mathbf { } } _ { }$ at iteration $t$ is computed as ",
307
+ "bbox": [
308
+ 174,
309
+ 808,
310
+ 825,
311
+ 849
312
+ ],
313
+ "page_idx": 2
314
+ },
315
+ {
316
+ "type": "equation",
317
+ "img_path": "images/34c18d8d1d621a532cab48f8b12b516a363afcfad543cd70f195727567a748a6.jpg",
318
+ "text": "$$\n\\begin{array} { r l } & { \\pmb { v } _ { t } = \\beta _ { 2 } \\hat { \\pmb { v } } _ { t - 1 } + ( 1 - \\beta _ { 2 } ) | \\pmb { g } _ { t } | ^ { q } } \\\\ & { \\hat { \\pmb { v } } _ { t } = \\operatorname* { m a x } ( \\pmb { v } _ { t } , \\hat { \\pmb { v } } _ { t - 1 } ) , } \\end{array}\n$$",
319
+ "text_format": "latex",
320
+ "bbox": [
321
+ 401,
322
+ 854,
323
+ 596,
324
+ 892
325
+ ],
326
+ "page_idx": 2
327
+ },
328
+ {
329
+ "type": "text",
330
+ "text": "where $q > 0$ is our newly introduced parameter and $| g _ { t } | ^ { q }$ denotes element-wise $q$ th power of $\\left| g _ { t } \\right|$ . It is clear from (5)-(6) that ${ \\mathbf { } } v _ { t }$ is only a temporary parameter at iteration $t$ and is not required to be stored in the memory for next iteration. Therefore, it is safe to say that Game saves roughly 33 percent memory per iteration as compared to AMSGrad and PAdam by removing the need for tracking $\\{ v _ { t } \\}$ ",
331
+ "bbox": [
332
+ 174,
333
+ 895,
334
+ 823,
335
+ 924
336
+ ],
337
+ "page_idx": 2
338
+ },
339
+ {
340
+ "type": "text",
341
+ "text": "",
342
+ "bbox": [
343
+ 171,
344
+ 103,
345
+ 825,
346
+ 132
347
+ ],
348
+ "page_idx": 3
349
+ },
350
+ {
351
+ "type": "text",
352
+ "text": "We now study the impact of saved memory by Game when training large-scale neural networks. Note that the dimension of $\\pmb { v }$ is actually the number of model parameters. That is, Game manages to save a memory space which is equivalent to the size of the neural network to be trained. It is known that state-of-the-art neural networks for challenging tasks (e.g., ImageNet competition (Russakovsky et al. (2015))) tend to be extremely deep and consist of millions of parameters (Simonyan & Zisserman (2016)). When applying Game to train those large-scale networks, the memory saved by the new training method becomes remarkable with AMSGrad as a reference. ",
353
+ "bbox": [
354
+ 173,
355
+ 138,
356
+ 825,
357
+ 237
358
+ ],
359
+ "page_idx": 3
360
+ },
361
+ {
362
+ "type": "text",
363
+ "text": "Next we let $q = 2$ and $\\begin{array} { r } { p = \\frac { 1 } { 2 } } \\end{array}$ for Game to make a fair comparison w.r.t. AMSGrad . In this case, one can easily show that $\\hat { \\mathbf { } } _ { }$ in (6) is either greater than or equal to the one in (4). As a result, Game would always have either equal or smaller effective learning rate $\\alpha _ { t } \\hat { V } _ { t } ^ { - \\frac { 1 } { 2 } }$ than AMSGrad. The above property implies that Game is more conservative than AMSGrad and PAdam due to the update reformulation (5)-(6). If needed, one can adjust the parameters $\\left\\{ \\alpha _ { t } \\right\\}$ to larger values to make Game more aggressive. ",
364
+ "bbox": [
365
+ 173,
366
+ 242,
367
+ 825,
368
+ 332
369
+ ],
370
+ "page_idx": 3
371
+ },
372
+ {
373
+ "type": "text",
374
+ "text": "Finally we consider the new scalar parameter $q$ introduced in (5). From an algebraic point of view, introduction of parameter $q$ allows $\\hat { v }$ in (5)-(6) to track information of the qth moment of the gradient magnitude over iterations. As $q$ decreases, small gradients would be amplified while large gradients would be suppressed, leading to a decreasing dynamic range of $\\hat { v }$ . When $q \\to 0$ , it is not difficult to show that Game approaches SGD. Therefore, the parameter $q$ has a similar effect as the parameter $p$ of PAdam. We point out that when $\\beta _ { 2 } > 0$ , we cannot merge $p$ and $q$ into one parameter via certain reformulation of the updating expressions of Game. That is, $p$ and $q$ play different roles in Game. Our purpose of introducing $q$ in addition to $p$ is to enlarge the parameter-selection space of Game and improve generalization performance with proper parameter setup. ",
375
+ "bbox": [
376
+ 173,
377
+ 338,
378
+ 826,
379
+ 465
380
+ ],
381
+ "page_idx": 3
382
+ },
383
+ {
384
+ "type": "text",
385
+ "text": "4 CONVERGENCE ANALYSIS FOR GAME ",
386
+ "text_level": 1,
387
+ "bbox": [
388
+ 174,
389
+ 477,
390
+ 529,
391
+ 493
392
+ ],
393
+ "page_idx": 3
394
+ },
395
+ {
396
+ "type": "text",
397
+ "text": "In this section, we analyze the convergence of Game for both convex optimization and smooth nonconvex optimization. The cost regret will be studied for the convex case while gradient expectation will be considered for the nonconvex case, which represents two different analysis approaches. ",
398
+ "bbox": [
399
+ 176,
400
+ 503,
401
+ 825,
402
+ 547
403
+ ],
404
+ "page_idx": 3
405
+ },
406
+ {
407
+ "type": "text",
408
+ "text": "4.1 ANALYSIS FOR CONVEX OPTIMIZATION ",
409
+ "text_level": 1,
410
+ "bbox": [
411
+ 174,
412
+ 563,
413
+ 491,
414
+ 577
415
+ ],
416
+ "page_idx": 3
417
+ },
418
+ {
419
+ "type": "text",
420
+ "text": "Formally, we define the cost regret up to iteration $T$ as ",
421
+ "bbox": [
422
+ 173,
423
+ 588,
424
+ 532,
425
+ 604
426
+ ],
427
+ "page_idx": 3
428
+ },
429
+ {
430
+ "type": "equation",
431
+ "img_path": "images/b0eecf58878f57addc7ff2b2935814fae8e1b99c84396bff019d7e88fb88462c.jpg",
432
+ "text": "$$\nR _ { T } = \\sum _ { t = 1 } ^ { T } \\left[ f _ { t } ( \\pmb { x } _ { t } ; \\xi _ { t } ) - f _ { t } ( \\pmb { x } _ { T } ^ { * } ; \\xi _ { t } ) \\right] ,\n$$",
433
+ "text_format": "latex",
434
+ "bbox": [
435
+ 379,
436
+ 608,
437
+ 619,
438
+ 652
439
+ ],
440
+ "page_idx": 3
441
+ },
442
+ {
443
+ "type": "text",
444
+ "text": "where $\\begin{array} { r } { \\pmb { x } _ { T } ^ { * } = \\arg \\operatorname* { m i n } \\sum _ { t = 1 } ^ { T } f _ { t } ( \\pmb { x } ) } \\end{array}$ denotes the optimal solution within the iteration range $[ 1 , T ]$ , and $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { X } } _ { t } }$ is a causal estimate of ${ \\pmb x } _ { T } ^ { * }$ at iteration $t$ as obtained by following Game in Table 1. Our objective is to derive an upper bound of $R _ { T }$ and then quantify its convergence behaviour as $T$ increases. ",
445
+ "bbox": [
446
+ 173,
447
+ 657,
448
+ 825,
449
+ 703
450
+ ],
451
+ "page_idx": 3
452
+ },
453
+ {
454
+ "type": "text",
455
+ "text": "Next we present our convergence analysis: ",
456
+ "bbox": [
457
+ 174,
458
+ 709,
459
+ 455,
460
+ 723
461
+ ],
462
+ "page_idx": 3
463
+ },
464
+ {
465
+ "type": "text",
466
+ "text": "Lemma 1. Let $( \\beta _ { 1 } , \\beta _ { 2 } ) \\in [ 0 , 1 )$ , $\\beta _ { 1 t } \\leq \\beta _ { 1 }$ , $p q < 2$ and $p , q > 0$ , and $\\alpha _ { t } = \\alpha / \\sqrt { t }$ . Then the quantity $\\begin{array} { r } { \\sum _ { t = 1 } ^ { T } \\alpha _ { t } \\left[ \\| \\hat { V } _ { t } ^ { - p / 2 } m _ { t } \\| _ { 2 } ^ { 2 } \\right] } \\end{array}$ of Game is upper bounded by ",
467
+ "bbox": [
468
+ 173,
469
+ 727,
470
+ 823,
471
+ 766
472
+ ],
473
+ "page_idx": 3
474
+ },
475
+ {
476
+ "type": "equation",
477
+ "img_path": "images/6c8af71b9b4b04d6c7e745e00f9dbd3ea51c44cd73d7d70bcd5b0c889538ff9d.jpg",
478
+ "text": "$$\n\\sum _ { t = 1 } ^ { T } \\alpha _ { t } \\left[ \\| \\hat { V } _ { t } ^ { - p / 2 } m _ { t } \\| _ { 2 } ^ { 2 } \\right] \\leq \\frac { \\alpha \\sqrt { 1 + \\log T } } { ( 1 - \\beta _ { 1 } ) ^ { 2 } ( 1 - \\beta _ { 2 } ) ^ { p } } \\left[ \\sum _ { i = 1 } ^ { d } \\left( \\sum _ { j = 1 } ^ { T } | g _ { j , i } | ^ { 2 ( 2 - p q ) } \\right) ^ { 1 / 2 } \\right] .\n$$",
479
+ "text_format": "latex",
480
+ "bbox": [
481
+ 235,
482
+ 771,
483
+ 761,
484
+ 830
485
+ ],
486
+ "page_idx": 3
487
+ },
488
+ {
489
+ "type": "text",
490
+ "text": "Proof. See Appendix A for proof. ",
491
+ "bbox": [
492
+ 174,
493
+ 829,
494
+ 398,
495
+ 844
496
+ ],
497
+ "page_idx": 3
498
+ },
499
+ {
500
+ "type": "text",
501
+ "text": "Remark 1. We emphasize that there is a major difference between the upper bound expression in (8) and those derived in (S. J. Reddi & Kumar (2018)) and (Chen & Gu (2018)) for analyzing AMSGrad and PAdam. That is the new upper bound does not put any restriction on the relationship between $\\beta _ { 1 }$ and $\\beta _ { 2 }$ for (8) to hold while in the above two articles, it is required that $\\beta _ { 1 } \\leq \\beta _ { 2 } ^ { 2 p }$ , where $p$ is the parameter of PAdam. ",
502
+ "bbox": [
503
+ 173,
504
+ 852,
505
+ 825,
506
+ 924
507
+ ],
508
+ "page_idx": 3
509
+ },
510
+ {
511
+ "type": "text",
512
+ "text": "Theorem 1 (convex). Suppose $\\{ f _ { t } \\}$ are close, proper and convex functions (Sawaragi et al. (1985)).√ Let $\\beta _ { 1 } , \\beta _ { 2 } \\in [ 0 , 1 )$ , $\\beta _ { 1 t } \\le \\beta _ { 1 }$ , $p q < 2$ and $p , q > 0$ , and $\\alpha _ { t } = \\alpha / \\sqrt { t }$ . Assume $\\| \\nabla f _ { t } ( \\pmb { x } ; \\pmb { \\xi } _ { t } ) \\| _ { \\infty } \\leq$ $G _ { \\infty }$ for all $t \\leq T$ and distance between any $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { X } } _ { t } }$ generated by Game and ${ \\pmb x } _ { T } ^ { * }$ is bounded, i.e., $\\| \\pmb { x } _ { m } - \\pmb { x } _ { T } ^ { * } \\| _ { \\infty } \\leq D _ { \\infty }$ . Then we have the following bound on the regret ",
513
+ "bbox": [
514
+ 174,
515
+ 102,
516
+ 825,
517
+ 162
518
+ ],
519
+ "page_idx": 4
520
+ },
521
+ {
522
+ "type": "equation",
523
+ "img_path": "images/4ed950db39d15b2e0ded68ea2a5d0c2d8fb404c6637ab7256c4658076f9c4494.jpg",
524
+ "text": "$$\n\\begin{array} { r l } & { { \\cal R } _ { T } \\le \\displaystyle \\frac { D _ { \\infty } ^ { 2 } \\sqrt { T } } { \\alpha ( 1 - \\beta _ { 1 } ) } \\sum _ { i = 1 } ^ { d } \\hat { v } _ { T , i } ^ { p } + \\displaystyle \\frac { D _ { \\infty } ^ { 2 } } { 2 ( 1 - \\beta _ { 1 } ) } \\sum _ { t = 1 } ^ { T } \\sum _ { i = 1 } ^ { d } \\frac { \\beta _ { 1 t } \\hat { v } _ { t , i } ^ { p } } { \\alpha _ { t } } } \\\\ & { \\quad \\quad \\quad + \\displaystyle \\frac { \\alpha \\sqrt { 1 + \\log T } } { ( 1 - \\beta _ { 1 } ) ^ { 3 } ( 1 - \\beta _ { 2 } ) ^ { p } } \\left[ \\sum _ { i = 1 } ^ { d } \\left( \\sum _ { j = 1 } ^ { T } | g _ { j , i } | ^ { 2 ( 2 - p q ) } \\right) ^ { 1 / 2 } \\right] } \\end{array}\n$$",
525
+ "text_format": "latex",
526
+ "bbox": [
527
+ 297,
528
+ 169,
529
+ 699,
530
+ 272
531
+ ],
532
+ "page_idx": 4
533
+ },
534
+ {
535
+ "type": "text",
536
+ "text": "Based on Lemma 1, one can easily derive the upper bound expression (9) by following the derivation steps for Theorem 4 in (S. J. Reddi & Kumar (2018)). When $p q = 1$ and $p = \\bar { 1 / 2 }$ , (9) can be simplified as ",
537
+ "bbox": [
538
+ 174,
539
+ 295,
540
+ 823,
541
+ 337
542
+ ],
543
+ "page_idx": 4
544
+ },
545
+ {
546
+ "type": "equation",
547
+ "img_path": "images/06802eef3143bf6a18e1de390dfe25f6d204c40ace3c294205a4f91af10829bd.jpg",
548
+ "text": "$$\nR _ { T } \\leq \\frac { D _ { \\infty } ^ { 2 } \\sqrt { T } } { \\alpha ( 1 - \\beta _ { 1 } ) } \\sum _ { i = 1 } ^ { d } \\hat { v } _ { T , i } ^ { 1 / 2 } + \\frac { D _ { \\infty } ^ { 2 } } { 2 ( 1 - \\beta _ { 1 } ) } \\sum _ { t = 1 } ^ { T } \\sum _ { i = 1 } ^ { d } \\frac { \\beta _ { 1 t } \\hat { v } _ { t , i } ^ { p } } { \\alpha _ { t } } + \\frac { \\alpha \\sqrt { 1 + \\log T } } { ( 1 - \\beta _ { 1 } ) ^ { 3 } ( \\sqrt { 1 - \\beta _ { 2 } } } \\left[ \\sum _ { i = 1 } ^ { d } \\| g _ { 1 : T , i } \\| _ { 2 } \\right] .\n$$",
549
+ "text_format": "latex",
550
+ "bbox": [
551
+ 176,
552
+ 343,
553
+ 799,
554
+ 388
555
+ ],
556
+ "page_idx": 4
557
+ },
558
+ {
559
+ "type": "text",
560
+ "text": "One can see that no constraint is imposed between the relationship of $\\beta _ { 1 }$ and $\\beta _ { 2 }$ for the upper bound to hold. We have conducted empirical studies and found that both AMSGrad and Game converge even when $\\beta _ { 2 } < \\beta _ { 1 }$ . ",
561
+ "bbox": [
562
+ 173,
563
+ 393,
564
+ 825,
565
+ 438
566
+ ],
567
+ "page_idx": 4
568
+ },
569
+ {
570
+ "type": "text",
571
+ "text": "4.2 ANALYSIS FOR SMOOTH NONCONVEX OPTIMIZATION ",
572
+ "text_level": 1,
573
+ "bbox": [
574
+ 173,
575
+ 453,
576
+ 583,
577
+ 468
578
+ ],
579
+ "page_idx": 4
580
+ },
581
+ {
582
+ "type": "text",
583
+ "text": "Differently from the analysis for convex optimization, we will consider gradient expectation for nonconvex case. To simplify study later on, we choose the output ${ \\mathbf { \\mathcal { x } } } _ { o u t }$ from $\\bar { \\{ } x _ { t } \\} _ { t = 2 } ^ { T }$ with probability $\\textstyle \\alpha _ { t - 1 } / ( \\sum _ { j = 1 } ^ { T - 1 } \\alpha _ { j } )$ , which is in line with the definition in (Zhou et al. (2018)). In practice, it is natural to take the most recent estimate $\\mathbfit { \\mathbf { x } } _ { T }$ at last iteration $T$ as output. ",
584
+ "bbox": [
585
+ 173,
586
+ 478,
587
+ 825,
588
+ 540
589
+ ],
590
+ "page_idx": 4
591
+ },
592
+ {
593
+ "type": "text",
594
+ "text": "We now introduce the $L$ -smooth assumption needed for analysis: ",
595
+ "bbox": [
596
+ 173,
597
+ 546,
598
+ 604,
599
+ 561
600
+ ],
601
+ "page_idx": 4
602
+ },
603
+ {
604
+ "type": "text",
605
+ "text": "Assumption 1 ( $L$ -smooth). $f ( \\pmb { x } ) = \\mathbb { E } _ { \\xi } f ( \\pmb { x } ; \\xi )$ is $L$ -smooth: for any $\\ b { x } , \\ b { y } \\in \\mathbb { R } ^ { d }$ , we have ",
606
+ "bbox": [
607
+ 173,
608
+ 565,
609
+ 756,
610
+ 582
611
+ ],
612
+ "page_idx": 4
613
+ },
614
+ {
615
+ "type": "equation",
616
+ "img_path": "images/a4a516aad5f6071468f40907272a3f31e676db3b09eb94fca3242db2457306fa.jpg",
617
+ "text": "$$\n| f ( \\pmb { x } ) - f ( \\pmb { y } ) + \\langle \\nabla f ( \\pmb { y } ) , \\pmb { x } - \\pmb { y } \\rangle | \\leq \\frac { L } { 2 } \\| \\pmb { x } - \\pmb { y } \\| _ { 2 } ^ { 2 } .\n$$",
618
+ "text_format": "latex",
619
+ "bbox": [
620
+ 331,
621
+ 588,
622
+ 665,
623
+ 618
624
+ ],
625
+ "page_idx": 4
626
+ },
627
+ {
628
+ "type": "text",
629
+ "text": "Furthermore, $f ( { \\pmb x } )$ is lower bounded, i.e., $\\operatorname* { i n f } _ { \\pmb { x } } f ( \\pmb { x } ) > - \\infty$ . ",
630
+ "bbox": [
631
+ 173,
632
+ 625,
633
+ 571,
634
+ 641
635
+ ],
636
+ "page_idx": 4
637
+ },
638
+ {
639
+ "type": "text",
640
+ "text": "The above smooth assumption is standard for nonconvex optimization. It essentially requires the object function $f$ changes smoothly in the parameter space. See (Zhou et al. (2018); Chen et al. (2018)) for employing the assumption in their analysis. ",
641
+ "bbox": [
642
+ 176,
643
+ 651,
644
+ 825,
645
+ 695
646
+ ],
647
+ "page_idx": 4
648
+ },
649
+ {
650
+ "type": "text",
651
+ "text": "We now present our convergence analysis in two steps. Firstly, we provide upper bounds for the two quantities $\\begin{array} { r } { \\sum _ { t = 1 } ^ { T } \\alpha _ { t } ^ { 2 } \\mathbb { E } \\left[ \\lVert \\hat { V } _ { t } ^ { - p } m _ { t } \\rVert _ { 2 } ^ { 2 } \\right] } \\end{array}$ and $\\begin{array} { r } { \\sum _ { t = 1 } ^ { T } \\alpha _ { t } ^ { 2 } \\mathbb { E } \\left[ \\lVert \\hat { V } _ { t } ^ { - p } { \\pmb g } _ { t } \\rVert _ { 2 } ^ { 2 } \\right] } \\end{array}$ in a lemma below. We then show the main result in a theorem, which are derived based on the lemma. ",
652
+ "bbox": [
653
+ 173,
654
+ 700,
655
+ 826,
656
+ 752
657
+ ],
658
+ "page_idx": 4
659
+ },
660
+ {
661
+ "type": "text",
662
+ "text": "Lemma 2. Let $\\beta _ { 1 } , \\beta _ { 2 } \\in [ 0 , 1 )$ , $p q \\leq 1$ and $p , q > 0$ , the step sizes $\\alpha _ { j } \\leq \\alpha _ { j - 1 }$ for all $j > 1$ , and $r \\in [ 2 p q - 1 , 1 ]$ . Assuming $\\| \\nabla f _ { t } ( \\pmb { x } ; \\xi _ { t } ) \\| _ { \\infty } \\leq G _ { \\infty }$ for all $t \\leq T$ , we then have ",
663
+ "bbox": [
664
+ 171,
665
+ 756,
666
+ 825,
667
+ 786
668
+ ],
669
+ "page_idx": 4
670
+ },
671
+ {
672
+ "type": "equation",
673
+ "img_path": "images/f5e1f8986f97da89302651f7baad88baaaef57af09655a007cd59b279550a6f9.jpg",
674
+ "text": "$$\n\\begin{array} { r l } & { \\displaystyle \\sum _ { t = 1 } ^ { T } \\alpha _ { t } ^ { 2 } \\mathbb { E } \\left[ \\| \\hat { V } _ { t } ^ { - p } m _ { t } \\| _ { 2 } ^ { 2 } \\right] \\leq \\frac { \\alpha _ { 1 } ^ { 2 } G _ { \\infty } ^ { ( 1 + r - 2 p q ) } T ^ { ( 1 + r ) / 2 } } { ( 1 - \\beta _ { 2 } ) ^ { 2 p } } \\mathbb { E } \\left[ \\sum _ { i = 1 } ^ { d } ( \\| g _ { 1 : T , i } \\| _ { 2 } ) ^ { ( 1 - r ) } \\right] } \\\\ & { \\displaystyle \\sum _ { t = 1 } ^ { T } \\alpha _ { t } ^ { 2 } \\mathbb { E } \\left[ \\| \\hat { V } _ { t } ^ { - p } g _ { t } \\| _ { 2 } ^ { 2 } \\right] \\leq \\frac { \\alpha _ { 1 } ^ { 2 } T ^ { p q } } { ( 1 - \\beta _ { 2 } ) ^ { 2 p } } \\mathbb { E } \\left[ \\sum _ { i = 1 } ^ { d } ( \\| | g _ { 1 : T , i } \\| _ { 2 } ) ^ { 2 ( 1 - p q ) } \\right] . } \\end{array}\n$$",
675
+ "text_format": "latex",
676
+ "bbox": [
677
+ 245,
678
+ 792,
679
+ 748,
680
+ 883
681
+ ],
682
+ "page_idx": 4
683
+ },
684
+ {
685
+ "type": "text",
686
+ "text": "Proof. See Appendix B for proof. ",
687
+ "bbox": [
688
+ 173,
689
+ 909,
690
+ 398,
691
+ 924
692
+ ],
693
+ "page_idx": 4
694
+ },
695
+ {
696
+ "type": "text",
697
+ "text": "We note that a scalar parameter $r \\in [ 2 p q - 1 , 1 ]$ is introduced in the upper bound expression of Lemma 2. As will be discussed in Corollary 1 later on, the parameter $r$ provides a freedom to tune the expression (12) and merge with other expressions for simplicity. ",
698
+ "bbox": [
699
+ 173,
700
+ 103,
701
+ 823,
702
+ 146
703
+ ],
704
+ "page_idx": 5
705
+ },
706
+ {
707
+ "type": "text",
708
+ "text": "Remark 2. Again the two upper bounds (12)-(13) do not require any constraint on the relationship of $\\beta _ { 1 }$ and $\\beta _ { 2 }$ , which is consistent with the results in Lemma $^ { l }$ . ",
709
+ "bbox": [
710
+ 171,
711
+ 150,
712
+ 823,
713
+ 179
714
+ ],
715
+ "page_idx": 5
716
+ },
717
+ {
718
+ "type": "text",
719
+ "text": "Theorem 2 (nonconvex). Let $\\beta _ { 1 } , \\beta _ { 2 } \\in [ 0 , 1 )$ , $p q < 1$ and $p , q > 0$ , the step sizes $\\alpha _ { t } = \\alpha _ { 1 }$ for all $t > 1$ , and $r \\in [ 2 p q - 1 , 1 ]$ . Assume $\\| \\nabla f _ { t } ( \\pmb { x } ; \\xi _ { t } ) \\| _ { \\infty } \\leq G _ { \\infty }$ for all $t \\leq T$ and Assumption $^ { l }$ holds. The output ${ \\pmb x } _ { o u t }$ of Game satisfies ",
720
+ "bbox": [
721
+ 174,
722
+ 183,
723
+ 825,
724
+ 226
725
+ ],
726
+ "page_idx": 5
727
+ },
728
+ {
729
+ "type": "equation",
730
+ "img_path": "images/13e62c3ea8c6c75ead787652d3c098a5b1d18956fddb6a761dc3ae5ac12486ff.jpg",
731
+ "text": "$$\n\\begin{array} { r l r } { { \\mathbb { E } [ \\| \\nabla f ( { \\pmb x } _ { o u t } ) \\| _ { 2 } ^ { 2 } ] \\le \\frac { M _ { 1 } } { T - 1 } + \\frac { M _ { 2 } d } { T - 1 } + \\frac { M _ { 3 } T ^ { p q } } { T - 1 } \\mathbb { E } ( \\sum _ { i = 1 } ^ { d } ( \\| { \\pmb g } _ { 1 : T , i } \\| _ { 2 } ) ^ { 2 ( 1 - p q ) } ) } } \\\\ & { } & { + \\frac { M _ { 4 } T ^ { ( 1 + r ) / 2 } } { T - 1 } \\mathbb { E } ( \\sum _ { i = 1 } ^ { d } ( \\| { \\pmb g } _ { 1 : T , i } \\| _ { 2 } ) ^ { 1 - r } ) \\quad T \\ge 2 , } \\end{array}\n$$",
732
+ "text_format": "latex",
733
+ "bbox": [
734
+ 245,
735
+ 232,
736
+ 751,
737
+ 320
738
+ ],
739
+ "page_idx": 5
740
+ },
741
+ {
742
+ "type": "text",
743
+ "text": "where ",
744
+ "bbox": [
745
+ 173,
746
+ 325,
747
+ 215,
748
+ 339
749
+ ],
750
+ "page_idx": 5
751
+ },
752
+ {
753
+ "type": "equation",
754
+ "img_path": "images/83d14f06cc9c49254489271647c36b25744a757388a7b0a5c8bd1e738d3dfc88.jpg",
755
+ "text": "$$\n\\begin{array} { l } { M _ { 1 } = G _ { \\infty } ^ { p q } \\Delta f / \\alpha _ { 1 } } \\\\ { M _ { 2 } = \\displaystyle \\frac { G _ { \\infty } ^ { 2 + p q } \\| \\hat { v } _ { 1 } ^ { - p } \\| _ { 1 } } { d ( 1 - \\beta _ { 1 } ) } + \\frac { G _ { \\infty } ^ { 2 } } { ( 1 - \\beta _ { 2 } ) ^ { p } } } \\\\ { M _ { 3 } = \\displaystyle \\frac { 2 L G _ { \\infty } ^ { p q } \\alpha _ { 1 } } { ( 1 - \\beta _ { 2 } ) ^ { 2 p } } } \\\\ { M _ { 4 } = \\displaystyle \\frac { 4 L G _ { \\infty } ^ { 1 + r - p q } \\alpha _ { 1 } } { ( 1 - \\beta _ { 2 } ) ^ { 2 p } } \\left( \\frac { \\beta _ { 1 } } { 1 - \\beta _ { 1 } } \\right) ^ { 2 } } \\end{array}\n$$",
756
+ "text_format": "latex",
757
+ "bbox": [
758
+ 380,
759
+ 347,
760
+ 616,
761
+ 477
762
+ ],
763
+ "page_idx": 5
764
+ },
765
+ {
766
+ "type": "text",
767
+ "text": "where $\\begin{array} { r } { \\Delta f = f ( \\pmb { x } _ { 1 } ) - \\operatorname* { i n f } _ { \\pmb { x } } f ( \\pmb { x } ) } \\end{array}$ . ",
768
+ "bbox": [
769
+ 174,
770
+ 487,
771
+ 393,
772
+ 503
773
+ ],
774
+ "page_idx": 5
775
+ },
776
+ {
777
+ "type": "text",
778
+ "text": "Proof. See Appendix C for proof. ",
779
+ "bbox": [
780
+ 174,
781
+ 517,
782
+ 397,
783
+ 534
784
+ ],
785
+ "page_idx": 5
786
+ },
787
+ {
788
+ "type": "text",
789
+ "text": "It is clear from Theorem 2 that the two parameters $p$ and $q$ have to satisfy certain conditions. That is $p , q > 0$ and $p q < 1$ . The conditions suggest if one parameter is chosen large, the other one should be set small to avoid divergence. In practice, it is found that Game also converges when $p q = 1$ . This leaves us an open question on how to elaborate the convergence analysis to cover the special case of $p q = 1$ for Game. ",
790
+ "bbox": [
791
+ 173,
792
+ 547,
793
+ 825,
794
+ 618
795
+ ],
796
+ "page_idx": 5
797
+ },
798
+ {
799
+ "type": "text",
800
+ "text": "We now study the upper bound on the right hand side of (14). The expression includes four quantities, where the first two quantities are independent of the gradients $\\{ \\pmb { g } _ { 1 : T , i } | i = 1 , \\ldots , d \\}$ while the last two are contributed by the inequalities derived in Lemma 2. All the four scalar parameters $M _ { i }$ , $i = 1 , \\dots , 4$ , are independent of iteration number $T$ . The convergence of Game can be established if one can show that the upper bound expression approaches to zero as $T$ increases. ",
801
+ "bbox": [
802
+ 173,
803
+ 625,
804
+ 826,
805
+ 695
806
+ ],
807
+ "page_idx": 5
808
+ },
809
+ {
810
+ "type": "text",
811
+ "text": "In the following, we simplify the upper bound expression in (14) by specifying $p q$ and $r$ with particular values and then study its convergence behaviour. ",
812
+ "bbox": [
813
+ 173,
814
+ 702,
815
+ 823,
816
+ 731
817
+ ],
818
+ "page_idx": 5
819
+ },
820
+ {
821
+ "type": "text",
822
+ "text": "Corollary 1. Let $\\begin{array} { r } { p q = \\frac { 1 } { 2 } } \\end{array}$ and $r = 2 p q - 1$ in Theorem 2, the upper bound of E $[ \\| \\nabla f ( \\pmb { x } _ { o u t } ) \\| _ { 2 } ^ { 2 } ]$ then takes the form of ",
823
+ "bbox": [
824
+ 174,
825
+ 733,
826
+ 825,
827
+ 763
828
+ ],
829
+ "page_idx": 5
830
+ },
831
+ {
832
+ "type": "equation",
833
+ "img_path": "images/eebe7c8121f30875144911ca980b8cc9165595c0af82739f5ee28ac6253ce343.jpg",
834
+ "text": "$$\n\\mathbb { E } \\left[ \\Vert \\nabla f ( \\pmb { x } _ { o u t } ) \\Vert _ { 2 } ^ { 2 } \\right] \\leq \\frac { M _ { 1 } } { ( T - 1 ) \\alpha _ { 1 } } + \\frac { M _ { 2 } d } { T - 1 } + \\frac { ( M _ { 3 } + M _ { 4 } ) \\alpha _ { 1 } \\sqrt { T } } { T - 1 } \\mathbb { E } \\left( \\sum _ { i = 1 } ^ { d } \\Vert \\pmb { g } _ { 1 : T , i } \\Vert _ { 2 } \\right) \\quad T \\geq 2 .\n$$",
835
+ "text_format": "latex",
836
+ "bbox": [
837
+ 181,
838
+ 770,
839
+ 789,
840
+ 814
841
+ ],
842
+ "page_idx": 5
843
+ },
844
+ {
845
+ "type": "text",
846
+ "text": "As summarized in Table 1, It is immediate that the upper bound in (19) is proportional to $O ( d / T +$ $G _ { T } / \\sqrt { T } )$ , where $\\begin{array} { r } { G _ { T } = \\mathbb { E } \\left( \\sum _ { i = 1 } ^ { d } \\| g _ { 1 : T , i } \\| _ { 2 } \\right) } \\end{array}$ . As reflected in Table 1, the upper bound also holds for PAdam even though the iteration procedure (3)-(4) of PAdam is different from (5)-(6) of Game. ",
847
+ "bbox": [
848
+ 174,
849
+ 837,
850
+ 826,
851
+ 890
852
+ ],
853
+ "page_idx": 5
854
+ },
855
+ {
856
+ "type": "text",
857
+ "text": "We are now in a position to study under what conditions Game would converge. It is not difficult to conclude that when $G _ { T }$ is of order $G _ { T } = O ( ( d T ) ^ { s } )$ where $s < \\frac { 1 } { 2 }$ , (19) tends to converge with the speed $O ( d / T + d ^ { s } / T ^ { 1 / 2 - s } )$ . We note that in Duchi et al. (2011)), the assumption $G _ { T } \\ll \\sqrt { d T }$ was used for analyzing AdaGrad, which was later on employed for convergence analysis of other adaptive gradient methods (see (Zhou et al. (2018)) and (S. J. Reddi & Kumar (2018)) for example). The assumption $G _ { T } = O ( ( d T ) ^ { s } )$ is slightly stronger than $G _ { T } \\ll \\sqrt { d T }$ as in practice, the dimension $d$ could be larger than $T$ when training large-scale neural networks. ",
858
+ "bbox": [
859
+ 173,
860
+ 895,
861
+ 825,
862
+ 925
863
+ ],
864
+ "page_idx": 5
865
+ },
866
+ {
867
+ "type": "image",
868
+ "img_path": "images/62aa4c2ee5540c28822ab4c3ec272e7a215523d790254ce127db79c0aaea0920.jpg",
869
+ "image_caption": [
870
+ "Figure 1: Performance comparison of PAdam, AMSGrad, and Game for training four CNNs (see Table 2-5 for the detailed CNN architectures in Appendix D). "
871
+ ],
872
+ "image_footnote": [],
873
+ "bbox": [
874
+ 171,
875
+ 89,
876
+ 828,
877
+ 796
878
+ ],
879
+ "page_idx": 6
880
+ },
881
+ {
882
+ "type": "text",
883
+ "text": "",
884
+ "bbox": [
885
+ 174,
886
+ 854,
887
+ 825,
888
+ 929
889
+ ],
890
+ "page_idx": 6
891
+ },
892
+ {
893
+ "type": "text",
894
+ "text": "5 EXPERIMENTAL RESULTS ",
895
+ "text_level": 1,
896
+ "bbox": [
897
+ 176,
898
+ 102,
899
+ 416,
900
+ 117
901
+ ],
902
+ "page_idx": 7
903
+ },
904
+ {
905
+ "type": "text",
906
+ "text": "In the experiment, we evaluated the effectiveness of AMSGrad, PAdam and Game for training convolutional neural networks (CNNs). The classification problems on the two datasets MNIST and CIFAR10 were considered. To alleviate overfitting, each of the two datasets was augmented with additional training data (e.g., shifting images vertically and/or horizontally, and image flipping for CIFAR10). In brief, we tested four CNNs: the 1st one consists of four layers for MNIST using the activation function SERLU (Zhang & Li (2018)), the 2nd consists of 8 layers for CIFAR10 using SERLU, and the 3rd and 4th have the same structure as the 2nd one but using ELU (Clevert et al. (2016)) and ReLU (Nair & Hinton (2010)), respectively. More detailed information of the four CNNs can be found in Table 2-5 of Appendix D. ",
907
+ "bbox": [
908
+ 173,
909
+ 132,
910
+ 825,
911
+ 258
912
+ ],
913
+ "page_idx": 7
914
+ },
915
+ {
916
+ "type": "text",
917
+ "text": "We first consider the CNN training for MNIST using SERLU. The shared parameters among the three methods include $( \\alpha _ { t } , \\beta _ { 1 } , \\beta _ { 2 } ) ^ { - } = ( 0 . 0 0 1 , 0 . 9 , 0 . 9 9 9 )$ , which was recommended in (Kingma & Ba (2017)) for Adam. On the other hand, the special parameters include $p = 0 . 1 2 5$ for PAdam2 and $( p , q ) = ( 0 . 5 , 1 )$ for Game. The setup $( p , q ) \\stackrel { \\textstyle - } { = } ( 0 . 5 , { \\bar { 1 } } )$ was found empirically to be more effective than other tested values. It is worth noting that $q = 1$ indicates that Game tracks information of the gradient magnitude rather than the second moment of gradients. ",
918
+ "bbox": [
919
+ 173,
920
+ 265,
921
+ 825,
922
+ 348
923
+ ],
924
+ "page_idx": 7
925
+ },
926
+ {
927
+ "type": "text",
928
+ "text": "Next we study the CNN training for CIFAR10 using SERLU, ELU and ReLU. As the three neural networks (see Table 3-5) are deeper than that for MNIST, we employed shift-dropout for SERLU and dropout for ELU and ReLU to combat overfitting, respectively. The parameter setup is slightly different from the one for MNIST. In particular, the shared parameters among the three methods include $( \\beta _ { 1 } , \\beta _ { 2 } ) = ( 0 . 9 , 0 . 9 9 9 )$ and dropout rate of 0.2. Special parameters include $\\alpha _ { t } = 0 . 0 0 0 1$ for AMSGrad, 3 $( \\alpha _ { t } , p ) = ( 0 . 0 0 1 , 0 . 1 2 5 )$ for PAdam, and $( \\hat { \\alpha _ { t } } , p , q ) \\hat { = } ( 0 . 0 0 1 , 0 . 5 , 1 )$ for Game. ",
929
+ "bbox": [
930
+ 174,
931
+ 354,
932
+ 825,
933
+ 440
934
+ ],
935
+ "page_idx": 7
936
+ },
937
+ {
938
+ "type": "text",
939
+ "text": "The convergence results for training the four CNNs are demonstrated in Figure 1. It is seen that Game produces better generalization performance (on validation datasets) than AMSGrad in subplot $( a )$ and $( c ) - ( d )$ while in the same three subplots, AMSGrad exhibits the fastest convergence speed over training data. The two methods have roughly the same convergence performance in subplot $( b )$ , suggesting that selection of activation functions also affects the convergence behaviours. It is observed that SERLU performs slightly better than ELU and ReLU in terms of validation loss. In all the four subplots, PAdam converges slightly slower due to the fact the a small value $p = 0 . 1 2 5$ is selected as compared to $p = 0 . 5$ of AMSGrad. ",
940
+ "bbox": [
941
+ 174,
942
+ 445,
943
+ 825,
944
+ 558
945
+ ],
946
+ "page_idx": 7
947
+ },
948
+ {
949
+ "type": "text",
950
+ "text": "To briefly summarize, the above convergence results suggest that Game produces promising generalization performance in comparison to AMSGrad and PAdam on validation datasets. The nice convergence behaviour of Game might be because the method tracks the 1st moment of gradient magnitude by setting $q = 1$ . As a result, Game achieves better validation performance by slightly sacrificing convergence speed on training dataset. If one also takes into account of memory usage (see Table 1), it is clear that Game is simpler to implement and requires less memory resource, rendering Game an advantage over AMSGrad and PAdam. ",
951
+ "bbox": [
952
+ 174,
953
+ 564,
954
+ 825,
955
+ 661
956
+ ],
957
+ "page_idx": 7
958
+ },
959
+ {
960
+ "type": "text",
961
+ "text": "6 CONCLUSIONS AND FUTURE WORKS ",
962
+ "text_level": 1,
963
+ "bbox": [
964
+ 174,
965
+ 679,
966
+ 511,
967
+ 695
968
+ ],
969
+ "page_idx": 7
970
+ },
971
+ {
972
+ "type": "text",
973
+ "text": "In this paper, we have proposed a new adaptive gradient method termed as Game. The new method only needs to track two parameters $( m , \\hat { v } )$ in comparison to AMSGrad and PAdam, which track three parameters $( m , v , \\hat { v } )$ , thus requiring only two-thirds of memory w.r.t. the two methods. The saved memory scales along with the number of model parameters, which becomes significant when training large-scale neural networks. Furthermore, Game introduces one additional parameter $q$ , allowing the method to track information of the $q$ th moment of the gradient magnitude, while AMSGrad and PAdam only consider tracking the 2nd moment of gradients. The freedom of tuning parameter $q$ makes Game more flexible. Theoretical convergence analysis is provided for applying Game to solve both convex and smooth nonconvex optimization. Experimental results on MNIST and CIFAR10 demonstrate that Game produces promising generalization performance in comparison to AMSGrad and PAdam. Given that Game demands only two-thirds of memory in implementation, we conclude that the new method is a promising candidate for training large-scale neural networks. ",
974
+ "bbox": [
975
+ 174,
976
+ 710,
977
+ 825,
978
+ 877
979
+ ],
980
+ "page_idx": 7
981
+ },
982
+ {
983
+ "type": "text",
984
+ "text": "REFERENCES ",
985
+ "text_level": 1,
986
+ "bbox": [
987
+ 174,
988
+ 103,
989
+ 287,
990
+ 117
991
+ ],
992
+ "page_idx": 8
993
+ },
994
+ {
995
+ "type": "text",
996
+ "text": "J. Chen and Q. Gu. Closing the Generalization Gap of Adaptive Gradient Methods in Training Deep Neural Netwoks. arXiv preprint arXiv:1806.0676v1, June 2018. \nX. Chen, S. Liu, R. Sun, and M. Hong. On the Convergence of A Class of Adam-Type Algorithms for Non-Convex Optimization. arXiv:1808.02941v1 [cs. LG], 2018. \nD.-A. Clevert, T. Unterthiner, and S. Hochreiter. Fast and Accurate Deep Network Learning by Exponential Linear Units (ELUs). arXiv:1511.07289v5 [cs.LG], 2016. \nT. Dozat. Incorporating Nesterov Momentum into Adam. In International conference on Learning Representations (ICLR), 2016. \nJ. Duchi, E. Hazan, and Y. Singer. Adaptive Subgradient Methods for Online Learning and Stochastic Optimization. Journal of Machine Learning Research, 12:2121–2159, 2011. \nS. Ghadimi and G. Lan. Stochastic First-and Zeroth-Order Methods for Nonconvex Stochastic Programming. SIAM Journal on Optimization, 23:2341–2368, 2013. \nS. Ghadimi and G. Lan. Accelerated Gradients Methods for Nonxonvex Nonlinear and Stochastic Programming. Mathematical Programming, 156:59–99, 2016. \nD. P. Kingma and J. L. Ba. Adam: A Method for Stochastic Optimization. arXiv preprint arXiv:1412.6980v9, 2017. \nV. Nair and G. E. Hinton. Rectified Linear Units Improve Restricted Boltzmann Machines. In Proceedings of the 27th International Conference on Machine Learning,, 2010. \nO. Russakovsky, J. Deng, H. Su, J. Krause, S. Satheesh, S. Ma, Z. Huang, A. Karpathy, A. Khosla, M. Bernstein, A. C. Berg, and F.-F. Li. Unified Convergence Analysis of Stochastic Momentum Methods for Convex and Non-Convex Optimization. arXiv:1409.0575v3, 2015. \nS. Kale S. J. Reddi and S. Kumar. On The Convergence of Adam and Beyond. In International conference on Learning Representations (ICLR), 2018. \nY. Sawaragi, H. Nakayama, and T. Tanino. Theory of Multiobjective Optimization. Elsevier Science, 1985. \nK. Simonyan and A. Zisserman. Very Deep Convolutional Networks for Large-Scale Image Recognition. In International conference on Learning Representations (ICLR), 2016. \nT. Tieleman and G. Hinton. Lecture 6.5-RMSProp: Divide The Gradient by a Running Average of Its Recent Magnitude. COURSERA: Neural networks for machine learning, 2012. \nT. Yang, Q. Lin, and Z. Li. Unified Convergence Analysis of Stochastic Momentum Methods for Convex and Non-Convex Optimization. arXiv:1604.03257, 2016. \nG. Zhang and H. Li. Effectiveness of Scaled Exponentially-Regularized Linear Units (SERLUs). arXiv:1807.10117 [cs.LG], July 2018. \nD. Zhou, Y. Tang, Z. Yang, Y. Cao, and Q. Gu. On the Convergence of Adaptive Gradient Methods for Nonconvex Optimization. arXiv:1808.05671v1 [cs. LG], 2018. ",
997
+ "bbox": [
998
+ 171,
999
+ 117,
1000
+ 828,
1001
+ 722
1002
+ ],
1003
+ "page_idx": 8
1004
+ },
1005
+ {
1006
+ "type": "text",
1007
+ "text": "APPENDIX ",
1008
+ "text_level": 1,
1009
+ "bbox": [
1010
+ 174,
1011
+ 103,
1012
+ 256,
1013
+ 118
1014
+ ],
1015
+ "page_idx": 9
1016
+ },
1017
+ {
1018
+ "type": "text",
1019
+ "text": "A PROOF OF LEMMA 1 ",
1020
+ "text_level": 1,
1021
+ "bbox": [
1022
+ 176,
1023
+ 136,
1024
+ 379,
1025
+ 154
1026
+ ],
1027
+ "page_idx": 9
1028
+ },
1029
+ {
1030
+ "type": "text",
1031
+ "text": "Before formally presenting the proof, we first introduce a lemma below: \nLemma 3. Let $\\hat { \\mathbf { } v } _ { t }$ be defined as in Game and $q > 0$ . Then each component $\\hat { v } _ { t , i }$ is lower bounded by $\\hat { v } _ { t , i } \\geq ( 1 - \\beta _ { 2 } ) | g _ { t , i } | ^ { q }$ , $i = 1 , \\ldots , d .$ . ",
1032
+ "bbox": [
1033
+ 169,
1034
+ 167,
1035
+ 826,
1036
+ 214
1037
+ ],
1038
+ "page_idx": 9
1039
+ },
1040
+ {
1041
+ "type": "text",
1042
+ "text": "Proof. The proof follows directly from the computation $\\begin{array} { r } { \\hat { v } _ { t , i } = \\operatorname* { m a x } ( \\hat { v } _ { t - 1 , i } , \\beta _ { 2 } \\hat { v } _ { t - 1 , i } + ( 1 - \\beta _ { 2 } ) | g _ { t , i } | ^ { q } ) } \\end{array}$ as summarized in Table 1 for Game. ",
1043
+ "bbox": [
1044
+ 169,
1045
+ 227,
1046
+ 825,
1047
+ 256
1048
+ ],
1049
+ "page_idx": 9
1050
+ },
1051
+ {
1052
+ "type": "text",
1053
+ "text": "With Lemma 3, we are ready to describe the proof for Lemma 1. Firstly, the quantity $\\alpha _ { t } \\mathbb { E } \\left[ \\| \\hat { V } _ { t } ^ { - p / 2 } m _ { t } \\| _ { 2 } ^ { 2 } \\right]$ can be upper bounded by ",
1054
+ "bbox": [
1055
+ 173,
1056
+ 270,
1057
+ 825,
1058
+ 306
1059
+ ],
1060
+ "page_idx": 9
1061
+ },
1062
+ {
1063
+ "type": "equation",
1064
+ "img_path": "images/6e34c9850b9fa80864898423d51e58dfc1c08ebd2001661d43467c693d147e06.jpg",
1065
+ "text": "$$\n\\begin{array} { r l } & { v _ { \\tau } \\left[ \\left| \\hat { X } _ { \\tau } ^ { \\tau } \\star \\mathbf { w } _ { 0 , \\tau } \\hat { X } _ { \\tau } \\right| ^ { 2 } \\right] } \\\\ & { = v _ { \\tau } \\left[ \\frac { 1 } { \\tau } \\frac { \\hat { X } _ { \\tau } ^ { \\tau } } { \\hat { X } _ { \\tau } ^ { \\tau } } \\right] } \\\\ & { \\quad - v _ { \\tau } \\left[ \\frac { 1 } { \\tau } \\frac { \\hat { X } _ { \\tau } ^ { \\tau } } { \\hat { X } _ { \\tau } ^ { \\tau } } \\right] } \\\\ & { \\quad - v _ { \\tau } \\left[ \\frac { 1 } { \\tau } \\frac { \\hat { X } _ { \\tau } ^ { \\tau } } { \\hat { X } _ { \\tau } ^ { \\tau } } \\right] \\left( \\sum _ { m = 1 } ^ { n } \\hat { \\mu } _ { m } \\prod _ { m = 1 } ^ { T } \\lambda _ { m } \\frac { \\hat { \\mu } _ { m } } { \\mu _ { m } } \\exp ^ { \\lambda _ { m } ^ { m } } \\right) ^ { \\frac { 1 } { 2 } } } \\\\ & { \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad } \\\\ & { \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad } \\\\ & { \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad } \\\\ & { \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad } \\\\ & { \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad } \\\\ & { \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad } \\\\ & \\quad \\ \\end{array}\n$$",
1066
+ "text_format": "latex",
1067
+ "bbox": [
1068
+ 300,
1069
+ 310,
1070
+ 696,
1071
+ 665
1072
+ ],
1073
+ "page_idx": 9
1074
+ },
1075
+ {
1076
+ "type": "text",
1077
+ "text": "where step $( a )$ uses $\\beta _ { 1 t } ~ \\leq ~ \\beta _ { 1 } ~ < ~ 1$ , step $( b )$ uses Cauchy-Schwarz inequality, step $( c )$ uses $\\textstyle \\sum _ { j = 1 } ^ { t } \\beta _ { 1 } ^ { t - j } \\leq 1 / ( 1 - \\beta _ { 1 } )$ , step $( d )$ uses $\\hat { v } _ { t , i } ^ { p } \\geq \\hat { v } _ { j , i } ^ { p }$ for all $j \\le t$ , and step $( e )$ uses the results in Lemma 3. ",
1078
+ "bbox": [
1079
+ 173,
1080
+ 660,
1081
+ 826,
1082
+ 707
1083
+ ],
1084
+ "page_idx": 9
1085
+ },
1086
+ {
1087
+ "type": "text",
1088
+ "text": "Next taking the summation of (20) over $t = 1$ to $t = T$ produces ",
1089
+ "bbox": [
1090
+ 173,
1091
+ 712,
1092
+ 599,
1093
+ 728
1094
+ ],
1095
+ "page_idx": 9
1096
+ },
1097
+ {
1098
+ "type": "equation",
1099
+ "img_path": "images/59a5ad92a922719cff0223ff5b7034f0d4870184e837a2fc335fb40cfce3dccb.jpg",
1100
+ "text": "$$\n\\begin{array} { r l } & { \\displaystyle \\sum _ { t = 1 } ^ { T } \\alpha _ { t } \\left[ | \\hat { V } _ { t } ^ { - p / 2 } m _ { t } | | _ { 2 } ^ { 2 } \\right] } \\\\ & { \\le \\displaystyle \\frac { 1 } { ( 1 - \\beta _ { 1 } ) ( 1 - \\beta _ { 2 } ) ^ { p } } \\left[ \\sum _ { t = 1 } ^ { T } \\sum _ { i = 1 } ^ { d } \\sum _ { j = 1 } ^ { t } \\alpha _ { t } \\beta _ { 1 } ^ { t - i } | g _ { j , i } | ^ { ( 2 - p q ) } \\right] } \\\\ & { \\stackrel { ( a ) } { \\le } \\frac { \\alpha } { ( 1 - \\beta _ { 1 } ) ( 1 - \\beta _ { 2 } ) ^ { p } } \\left[ \\displaystyle \\sum _ { i = 1 } ^ { d } \\sum _ { j = 1 } ^ { T } | g _ { j , i } | ^ { ( 2 - p q ) } \\sum _ { t = j } ^ { T } \\frac { \\beta _ { 1 } ^ { t - j } } { \\sqrt { d } } \\right] } \\\\ & { \\le \\displaystyle \\frac { \\alpha } { ( 1 - \\beta _ { 1 } ) ( 1 - \\beta _ { 2 } ) ^ { p } } \\left[ \\displaystyle \\sum _ { i = 1 } ^ { d } \\sum _ { j = 1 } ^ { T } \\frac { 1 } { \\sqrt { j } } | g _ { j , i } | ^ { ( 2 - p q ) } \\sum _ { t = j } ^ { T } \\beta _ { 1 } ^ { t - j } \\right] } \\end{array} .\n$$",
1101
+ "text_format": "latex",
1102
+ "bbox": [
1103
+ 282,
1104
+ 729,
1105
+ 692,
1106
+ 924
1107
+ ],
1108
+ "page_idx": 9
1109
+ },
1110
+ {
1111
+ "type": "equation",
1112
+ "img_path": "images/46fd876c1b750c543448287c0c6a20afda8f5cb0096a318b078a25447967d9b2.jpg",
1113
+ "text": "$$\n\\begin{array} { l } { { \\displaystyle { \\stackrel { ( b ) } { \\leq } } \\frac { \\alpha } { ( 1 - \\beta _ { 1 } ) ^ { 2 } ( 1 - \\beta _ { 2 } ) ^ { p } } \\left[ \\displaystyle { \\sum _ { i = 1 } ^ { d } \\sum _ { j = 1 } ^ { T } \\frac { 1 } { \\sqrt { j } } | g _ { j , i } | ^ { ( 2 - p q ) } } \\right] } } \\\\ { \\displaystyle { \\stackrel { ( c ) } { \\leq } \\frac { \\alpha } { ( 1 - \\beta _ { 1 } ) ^ { 2 } ( 1 - \\beta _ { 2 } ) ^ { p } } \\left[ \\displaystyle { \\sum _ { i = 1 } ^ { d } \\left( \\sum _ { j = 1 } ^ { T } | g _ { j , i } | ^ { 2 ( 2 - p q ) } \\right) ^ { 1 / 2 } \\left( \\sum _ { j = 1 } ^ { T } \\frac { 1 } { j } \\right) ^ { 1 / 2 } } \\right] } } \\\\ { \\displaystyle { \\stackrel { ( d ) } { \\leq } \\frac { \\alpha \\sqrt { 1 + \\log T } } { ( 1 - \\beta _ { 1 } ) ^ { 2 } ( 1 - \\beta _ { 2 } ) ^ { p } } \\left[ \\displaystyle { \\sum _ { i = 1 } ^ { d } \\left( \\sum _ { j = 1 } ^ { T } | g _ { j , i } | ^ { 2 ( 2 - p q ) } \\right) ^ { 1 / 2 } } \\right] } } \\end{array}\n$$",
1114
+ "text_format": "latex",
1115
+ "bbox": [
1116
+ 272,
1117
+ 99,
1118
+ 728,
1119
+ 266
1120
+ ],
1121
+ "page_idx": 10
1122
+ },
1123
+ {
1124
+ "type": "text",
1125
+ "text": "where step $( a )$ uses $\\alpha _ { t } = \\alpha / \\sqrt { t }$ , step $( b )$ uses $\\begin{array} { r } { \\sum _ { t = j } ^ { T } \\beta _ { 1 } ^ { t - j } < 1 / ( 1 - \\beta _ { 1 } ) } \\end{array}$ , step $( c )$ follows from Cauchy-Schwarz inequality, and step $( d )$ uses $\\textstyle \\sum _ { t = 1 } ^ { T } 1 / t \\leq ( 1 + \\log T ) .$ . The proof is complete. ",
1126
+ "bbox": [
1127
+ 174,
1128
+ 271,
1129
+ 825,
1130
+ 310
1131
+ ],
1132
+ "page_idx": 10
1133
+ },
1134
+ {
1135
+ "type": "text",
1136
+ "text": "B PROOF OF LEMMA 2 ",
1137
+ "text_level": 1,
1138
+ "bbox": [
1139
+ 174,
1140
+ 327,
1141
+ 380,
1142
+ 343
1143
+ ],
1144
+ "page_idx": 10
1145
+ },
1146
+ {
1147
+ "type": "text",
1148
+ "text": "We first consider the summation $\\begin{array} { r } { \\sum _ { t = 1 } ^ { T } \\alpha _ { t } ^ { 2 } \\mathbb { E } \\left[ \\lVert \\hat { V } _ { t } ^ { - p } m _ { t } \\rVert _ { 2 } ^ { 2 } \\right] } \\end{array}$ . Each quantity $\\alpha _ { t } ^ { 2 } \\mathbb { E } \\left[ \\Vert \\hat { V } _ { t } ^ { - p } m _ { t } \\Vert _ { 2 } ^ { 2 } \\right]$ can be upper bounded by ",
1149
+ "bbox": [
1150
+ 173,
1151
+ 354,
1152
+ 823,
1153
+ 395
1154
+ ],
1155
+ "page_idx": 10
1156
+ },
1157
+ {
1158
+ "type": "equation",
1159
+ "img_path": "images/77bb33990085f5e74fc7205d6802da3889aa9f4b00514e354969d16582f8a216.jpg",
1160
+ "text": "$$\n\\begin{array} { r l } & { = a _ { 2 } ^ { 2 } ( \\displaystyle \\sum _ { i = 1 } ^ { n } \\frac { 1 } { n \\beta _ { i } ^ { 2 } } ( \\sum _ { t = - 1 } ^ { n } \\frac { 1 } { n \\beta _ { i } ^ { 2 } } ( \\sum _ { t = - 1 } ^ { n } \\beta _ { i } ^ { 2 } \\beta _ { t , t } ^ { 2 \\prime } \\beta _ { t , t } ) ^ { t } ) ) } \\\\ & { \\stackrel { \\mathrm { R e p } } { \\underset { \\mathrm { \\scriptsize \\sum } \\alpha } { = } } a _ { 2 } ^ { 2 } ( 1 - b _ { 1 } ^ { 2 } \\beta _ { i } ^ { 2 } \\mathbb { E } [ \\displaystyle \\sum _ { t = - 1 } ^ { n } \\frac { 1 } { n \\beta _ { i } ^ { 2 } } ( \\sum _ { t = - 1 } ^ { n } \\beta _ { i } ^ { 2 } \\sigma _ { t , t } ^ { 2 \\prime \\prime } \\beta _ { t , t } ) ^ { ( t ) ( t ) ( t - t - t - t ) \\alpha \\alpha \\beta } ) ( \\sum _ { t = - 1 } ^ { n } \\beta _ { i } ^ { 2 } \\mathbb { E } [ \\displaystyle \\frac { 1 } { n \\beta _ { i } ^ { 2 } } \\beta _ { t , t } ^ { 2 \\prime \\prime } ] ^ { ( t ) ( t - t - t ) \\alpha \\beta } ) ) } \\\\ & { \\stackrel { \\mathrm { R e p } } { \\underset { \\mathrm { \\scriptsize \\sum } \\alpha } { = } } a _ { 2 } ^ { 2 } ( 1 - b _ { 1 } ^ { 2 } ) \\mathbb { E } [ \\displaystyle \\sum _ { t = - 1 } ^ { n } \\frac { 1 } { n \\beta _ { i } ^ { 2 } } ( \\sum _ { t = - 1 } ^ { n } \\beta _ { i } ^ { 2 } \\mathbb { E } ( \\displaystyle \\sum _ { t = - 1 } ^ { n } \\beta _ { i } ^ { 2 } \\mathbb { E } ( \\displaystyle \\sum _ { t = - 1 } ^ { n } \\beta _ { t } ^ { 2 } ) ( \\sum _ { t = - 1 } ^ { n } \\beta _ { i } ^ { 2 } \\mathbb { E } ( \\displaystyle \\frac { 1 } { n \\beta _ { i } ^ { 2 } } ) ^ { ( t - t ) \\alpha \\beta } ) ) ] } \\\\ & \\stackrel { \\mathrm { R e p } } { \\underset { \\mathrm { \\scriptsize \\sum } \\alpha } { = } } a _ { 2 } ^ { 2 } ( 1 - b _ { 1 } ) G _ { \\alpha \\beta } ^ { ( 1 - t ) \\alpha \\beta } = \\mathbb { P } \\Bigg [ \\displaystyle \\sum _ \\end{array}\n$$",
1161
+ "text_format": "latex",
1162
+ "bbox": [
1163
+ 205,
1164
+ 465,
1165
+ 795,
1166
+ 751
1167
+ ],
1168
+ "page_idx": 10
1169
+ },
1170
+ {
1171
+ "type": "text",
1172
+ "text": "whestep $( a )$ rz ine, step lity uses $2 p q - 1 \\leq r \\leq 1$ aes $p q \\leq 1$ $( b )$ $| g _ { j , i } | \\leq \\| g _ { j } \\| _ { \\infty } \\leq G _ { \\infty }$ $( c )$ $\\begin{array} { r } { \\sum _ { j = 1 } ^ { t } \\beta _ { 1 } ^ { t - j } \\le 1 / ( 1 - \\beta _ { 1 } ) } \\end{array}$ $( d )$ $\\hat { v } _ { t , i } ^ { 2 p } \\geq \\hat { v } _ { j , i } ^ { 2 p }$ $j \\le t$ $( e )$ ",
1173
+ "bbox": [
1174
+ 173,
1175
+ 753,
1176
+ 826,
1177
+ 803
1178
+ ],
1179
+ "page_idx": 10
1180
+ },
1181
+ {
1182
+ "type": "text",
1183
+ "text": "Taking the summation of (22) over $t = 1$ to $t = T$ produces ",
1184
+ "bbox": [
1185
+ 174,
1186
+ 808,
1187
+ 566,
1188
+ 823
1189
+ ],
1190
+ "page_idx": 10
1191
+ },
1192
+ {
1193
+ "type": "equation",
1194
+ "img_path": "images/c717cfc3b41c043dd8a8ef8f8a654515cc191f30d20a3e7d92dde9a00efcace1.jpg",
1195
+ "text": "$$\n\\begin{array} { r l } & { \\displaystyle \\sum _ { t = 1 } ^ { T } \\alpha _ { t } ^ { 2 } \\mathbb { E } \\left[ \\| \\hat { V } _ { t } ^ { - p } m _ { t } \\| _ { 2 } ^ { 2 } \\right] } \\\\ & { \\leq \\frac { \\displaystyle ( 1 - \\beta _ { 1 } ) G _ { \\infty } ^ { ( 1 + r - 2 p q ) } } { \\displaystyle ( 1 - \\beta _ { 2 } ) ^ { 2 p } } \\mathbb { E } \\left[ \\sum _ { t = 1 } ^ { T } \\sum _ { i = 1 } ^ { d } \\sum _ { j = 1 } ^ { t } \\alpha _ { t } ^ { 2 } \\beta _ { 1 } ^ { t - j } | g _ { j , i } | ^ { ( 1 - r ) } \\right] } \\end{array}\n$$",
1196
+ "text_format": "latex",
1197
+ "bbox": [
1198
+ 290,
1199
+ 828,
1200
+ 683,
1201
+ 924
1202
+ ],
1203
+ "page_idx": 10
1204
+ },
1205
+ {
1206
+ "type": "equation",
1207
+ "img_path": "images/279a5c29a342d1bb74cd97c98c8e24bc24985183b8a88d5a776fb0280194835b.jpg",
1208
+ "text": "$$\n\\begin{array} { r l } & { \\stackrel { \\langle \\alpha \\rangle } { \\leq } \\frac { \\alpha _ { 1 } ^ { 2 } ( 1 - \\beta _ { 1 } ) G _ { \\infty } ^ { ( 1 + r - 2 p q ) } } { ( 1 - \\beta _ { 2 } ) ^ { 2 p } } \\mathbb { E } \\left[ \\displaystyle \\sum _ { i = 1 } ^ { d } \\displaystyle \\sum _ { j = 1 } ^ { T } | g _ { j , i } | ^ { ( 1 - r ) } \\displaystyle \\sum _ { t = j } ^ { T } \\beta _ { 1 } ^ { t - j } \\right] } \\\\ & { \\stackrel { \\langle \\alpha \\rangle } { \\leq } \\frac { \\alpha _ { 1 } ^ { 2 } G _ { \\infty } ^ { ( 1 + r - 2 p q ) } } { ( 1 - \\beta _ { 2 } ) ^ { 2 p } } \\mathbb { E } \\left[ \\displaystyle \\sum _ { i = 1 } ^ { d } \\displaystyle \\sum _ { j = 1 } ^ { T } | g _ { j , i } | ^ { ( 1 - r ) } \\right] } \\\\ & { \\stackrel { \\langle \\alpha \\rangle } { \\leq } \\frac { \\alpha _ { 1 } ^ { 2 } G _ { \\infty } ^ { ( 1 + r - 2 p q ) } } { ( 1 - \\beta _ { 2 } ) ^ { 2 p } } \\mathbb { E } \\left[ \\displaystyle \\sum _ { i = 1 } ^ { d } \\left( \\displaystyle \\sum _ { j = 1 } ^ { T } | g _ { j , i } | ^ { 2 } \\right) ^ { ( 1 - r ) / 2 } \\right] } \\\\ & { = \\frac { \\alpha _ { 1 } ^ { 2 } G _ { \\infty } ^ { ( 1 + r - 2 p q ) } } { ( 1 - \\beta _ { 2 } ) ^ { 2 p } } \\mathbb { E } \\left[ \\displaystyle \\sum _ { i = 1 } ^ { d } \\left( \\displaystyle \\sum _ { j = 1 } ^ { T } | g _ { j , i } | ^ { 2 } \\right) ^ { ( 1 - r ) / 2 } \\right] T ^ { ( 1 + r ) / 2 } } \\\\ & { = \\frac { \\alpha _ { 1 } ^ { 2 } G _ { \\infty } ^ { ( 1 + r - 2 p q ) } T ^ { ( 1 + r ) / 2 } } { ( 1 - \\beta _ { 2 } ) ^ { 2 p } } \\mathbb { E } \\left[ \\displaystyle \\sum _ { i = 1 } ^ { d } \\left( \\| g _ { 1 } \\gamma _ { , i } \\| ^ { ( 1 - r ) } \\right) ^ { ( 1 - r ) } \\right] } \\end{array}\n$$",
1209
+ "text_format": "latex",
1210
+ "bbox": [
1211
+ 302,
1212
+ 101,
1213
+ 696,
1214
+ 303
1215
+ ],
1216
+ "page_idx": 11
1217
+ },
1218
+ {
1219
+ "type": "text",
1220
+ "text": "where step $( a )$ uses the property that $a _ { j } \\leq a _ { j - 1 }$ for all $j > 1$ , step (b) uses $\\begin{array} { r } { \\sum _ { t = j } ^ { T } \\beta _ { 1 } ^ { t - j } < 1 / ( 1 - \\beta _ { 1 } ) } \\end{array}$ and step $( c )$ follows from Holder’s inequality. The proof is complete for (12). ",
1221
+ "bbox": [
1222
+ 174,
1223
+ 309,
1224
+ 823,
1225
+ 342
1226
+ ],
1227
+ "page_idx": 11
1228
+ },
1229
+ {
1230
+ "type": "text",
1231
+ "text": "The quantity $\\begin{array} { r } { \\sum _ { t = 1 } ^ { T } \\alpha _ { t } ^ { 2 } \\mathbb { E } \\left[ \\lVert \\hat { V } _ { t } ^ { - p } \\pmb { g } _ { t } \\rVert _ { 2 } ^ { 2 } \\right] } \\end{array}$ in (13) can be upper bounded as ",
1232
+ "bbox": [
1233
+ 173,
1234
+ 347,
1235
+ 638,
1236
+ 372
1237
+ ],
1238
+ "page_idx": 11
1239
+ },
1240
+ {
1241
+ "type": "equation",
1242
+ "img_path": "images/d1c4106f33c8b9028b6710467ca6a3a5ffac12ceb82390c9f23ac9ab3e3acaae.jpg",
1243
+ "text": "$$\n\\begin{array} { r l } & { \\frac { 1 } { \\omega } \\sum _ { i = 1 } ^ { n } [ | \\hat { \\mathcal { X } } _ { i } ^ { \\dagger } \\hat { \\mathcal { Y } } _ { i } | \\hat { \\mathcal { Z } } _ { i } ^ { \\dagger } | ] } \\\\ & { = \\frac { 1 } { \\omega } \\sum _ { i = 1 } ^ { n } \\omega ^ { 2 } [ \\frac { \\omega } { \\omega _ { i } } \\frac { \\hat { \\mathcal { X } } _ { i } ^ { \\dagger } } { \\omega _ { i } ^ { 2 } } ] } \\\\ & { \\stackrel { ( a ) } { \\leq } \\frac { \\sum _ { i = 1 } ^ { n } \\omega ^ { 2 } } { \\epsilon _ { i } - \\beta _ { i } } \\mathbb { E } [ \\frac { \\frac { \\omega } { \\omega } } { \\omega _ { i } } \\frac { \\hat { \\mathcal { Y } } _ { i } ^ { \\dagger } } { \\omega _ { i } ^ { 2 } } ] } \\\\ & { \\stackrel { ( b ) } { \\leq } \\frac { \\sum _ { i = 1 } ^ { n } \\omega ^ { 2 } } { \\epsilon _ { i } - \\beta _ { i } } \\mathbb { E } [ \\frac { \\frac { \\omega } { \\omega } } { \\omega _ { i } } \\frac { \\hat { \\mathcal { Y } } _ { i } ^ { \\dagger } } { \\omega _ { i } ^ { 2 } } \\frac { \\hat { \\mathcal { Y } } _ { i } ^ { \\dagger } } { \\omega _ { i } ^ { 2 } } \\frac { \\hat { \\mathcal { Y } } _ { i } ^ { \\dagger } } { \\omega _ { i } ^ { 2 } } ] } \\\\ & { \\stackrel { ( b ) } { \\leq } \\frac { \\alpha _ { i } ^ { 2 } } { ( 1 - \\beta _ { i } ^ { 2 } ) ^ { \\beta _ { 0 } / 2 } } \\mathbb { E } [ \\frac { \\frac { \\omega } { \\omega } } { \\omega _ { i } } \\frac { \\hat { \\mathcal { Y } } _ { i } ^ { \\dagger } } { \\omega _ { i } ^ { 2 } - \\beta _ { i } } \\frac { \\hat { \\mathcal { Y } } _ { i } ^ { \\dagger } } { \\omega _ { i } ^ { 2 } } \\frac { \\hat { \\mathcal { Y } } _ { i } ^ { \\dagger } } { 2 } ] } \\\\ & \\stackrel { ( b ) } { \\leq } \\frac { \\alpha _ { i } ^ { 2 } } { ( 1 - \\beta _ { i } ^ { 2 } ) ^ { \\beta _ { 0 } / 2 } } \\mathbb { E } [ \\frac { \\omega } { \\omega _ { i } } ( \\frac \\hat { \\mathcal { Y } } _ { i } ^ \\end{array}\n$$",
1244
+ "text_format": "latex",
1245
+ "bbox": [
1246
+ 336,
1247
+ 377,
1248
+ 655,
1249
+ 664
1250
+ ],
1251
+ "page_idx": 11
1252
+ },
1253
+ {
1254
+ "type": "text",
1255
+ "text": "where step $( a )$ uses the property that $a _ { j } \\leq a _ { j - 1 }$ for all $j > 1$ and the results in Lemma 3, step $( b )$ uses $p q < 1$ , $p , q > 0$ , and step $( c ) - ( \\bar { d } )$ follow from Holder’s inequality. The proof is complete for (13). ",
1256
+ "bbox": [
1257
+ 173,
1258
+ 667,
1259
+ 826,
1260
+ 710
1261
+ ],
1262
+ "page_idx": 11
1263
+ },
1264
+ {
1265
+ "type": "text",
1266
+ "text": "C PROOF OF THEOREM 2 ",
1267
+ "text_level": 1,
1268
+ "bbox": [
1269
+ 174,
1270
+ 729,
1271
+ 398,
1272
+ 747
1273
+ ],
1274
+ "page_idx": 11
1275
+ },
1276
+ {
1277
+ "type": "text",
1278
+ "text": "In brief, we use the technique of parameter transformation proposed in (Yang et al. (2016)) to study Game for solving stochastic nonconvex optimization. In particular, we let $\\pmb { x } _ { 0 } = \\pmb { x } _ { 1 }$ and for each $t \\geq 1$ ",
1279
+ "bbox": [
1280
+ 173,
1281
+ 761,
1282
+ 825,
1283
+ 804
1284
+ ],
1285
+ "page_idx": 11
1286
+ },
1287
+ {
1288
+ "type": "equation",
1289
+ "img_path": "images/03693851c97150a1f39bf5f31c964c0d4dc7eb54808a6620039fff7d44eeb0eb.jpg",
1290
+ "text": "$$\nz _ { t } = { \\pmb x } _ { t } + \\frac { \\beta _ { 1 } } { 1 - \\beta _ { 1 } } ( { \\pmb x } _ { t } - { \\pmb x } _ { t - 1 } ) = \\frac { 1 } { 1 - \\beta _ { 1 } } { \\pmb x } _ { t } - \\frac { \\beta _ { 1 } } { 1 - \\beta _ { 1 } } { \\pmb x } _ { t - 1 } ,\n$$",
1291
+ "text_format": "latex",
1292
+ "bbox": [
1293
+ 299,
1294
+ 808,
1295
+ 697,
1296
+ 842
1297
+ ],
1298
+ "page_idx": 11
1299
+ },
1300
+ {
1301
+ "type": "text",
1302
+ "text": "where $z _ { 1 } = x _ { 1 }$ for the special case $t = 1$ . We note that the technique has also been employed in (Zhou et al. (2018)) and (Chen et al. (2018)) for analyzing PAdam and a class of Adam-type methods. Instead of considering $\\{ \\pmb { x } _ { j } \\} _ { j = 0 } ^ { T }$ directly, we tackle $\\{ z _ { j } \\} _ { j = 1 } ^ { T }$ as in the literature. ",
1303
+ "bbox": [
1304
+ 173,
1305
+ 845,
1306
+ 825,
1307
+ 890
1308
+ ],
1309
+ "page_idx": 11
1310
+ },
1311
+ {
1312
+ "type": "text",
1313
+ "text": "In (Zhou et al. (2018)) and (Chen et al. (2018)), the authors provided a general upper bound for $f ( z _ { t + 1 } ) - f ( z _ { t } )$ , which also holds for Game. We now summarize their result in a lemma below: ",
1314
+ "bbox": [
1315
+ 174,
1316
+ 895,
1317
+ 821,
1318
+ 924
1319
+ ],
1320
+ "page_idx": 11
1321
+ },
1322
+ {
1323
+ "type": "text",
1324
+ "text": "Lemma 4. Suppose the sequence $\\{ z _ { j } \\} _ { j = 1 } ^ { T }$ is as defined in (24). Then under Assumption $^ { l }$ , the quantity $f ( z _ { t + 1 } ) - f ( z _ { t } )$ is upper bounded by ",
1325
+ "bbox": [
1326
+ 169,
1327
+ 102,
1328
+ 823,
1329
+ 135
1330
+ ],
1331
+ "page_idx": 12
1332
+ },
1333
+ {
1334
+ "type": "equation",
1335
+ "img_path": "images/a98a488d90cbf54b5c2cd458dce7b6e8ecc1b01932602f65a986a453da9d6c8a.jpg",
1336
+ "text": "$$\n\\begin{array} { r l } & { \\quad f ( z _ { 2 } ) - f ( z _ { 1 } ) \\leq - \\nabla f ( { \\boldsymbol x } _ { 1 } ) ^ { T } \\alpha _ { 1 } \\hat { V } _ { 1 } ^ { - p } g _ { 1 } + 2 L \\| \\alpha _ { 1 } \\hat { V } _ { 1 } ^ { - p } g _ { 1 } \\| _ { 2 } ^ { 2 } } \\\\ & { f ( z _ { t + 1 } ) - f ( z _ { t } ) \\leq - \\nabla f ( { \\boldsymbol x } _ { t } ) ^ { T } \\alpha _ { t - 1 } \\hat { V } _ { t - 1 } ^ { - p } g _ { t } + \\displaystyle \\frac { 1 } { 1 - \\beta _ { 1 } } G _ { \\infty } ^ { 2 } ( \\| \\alpha _ { t - 1 } \\hat { v } _ { t - 1 } ^ { - p } \\| _ { 1 } - \\| \\alpha _ { t } \\hat { v } _ { t } ^ { - p } \\| _ { 1 } ) } \\\\ & { \\qquad + \\displaystyle 2 L \\| \\alpha _ { t } \\hat { V } _ { t } ^ { - p } g _ { t } \\| _ { 2 } ^ { 2 } + 4 L \\left( \\frac { \\beta _ { 1 } } { 1 - \\beta _ { 1 } } \\right) ^ { 2 } \\| { \\boldsymbol x } _ { t } - { \\boldsymbol x } _ { t - 1 } \\| _ { 2 } ^ { 2 } \\quad t \\geq 2 . } \\end{array}\n$$",
1337
+ "text_format": "latex",
1338
+ "bbox": [
1339
+ 209,
1340
+ 137,
1341
+ 789,
1342
+ 233
1343
+ ],
1344
+ "page_idx": 12
1345
+ },
1346
+ {
1347
+ "type": "text",
1348
+ "text": "With Lemma 4, we are ready to present the proof for Theorem 2. Firstly, taking expectation on both sides of (25) produces ",
1349
+ "bbox": [
1350
+ 174,
1351
+ 252,
1352
+ 825,
1353
+ 281
1354
+ ],
1355
+ "page_idx": 12
1356
+ },
1357
+ {
1358
+ "type": "equation",
1359
+ "img_path": "images/393c41bd37c23eddaf19847c7f740d75e6e1d9454ebb6e3e1641ed2d74bbd6bd.jpg",
1360
+ "text": "$$\n\\begin{array} { r l } & { \\mathbb { E } [ f ( z _ { 2 } ) - f ( z _ { 1 } ) ] \\le \\mathbb { E } \\left[ - \\nabla f ( x _ { 1 } ) ^ { T } \\alpha _ { 1 } \\hat { V } _ { 1 } ^ { - p } g _ { 1 } + 2 L \\| \\alpha _ { 1 } \\hat { V } _ { 1 } ^ { - p } g _ { 1 } \\| _ { 2 } ^ { 2 } \\right] } \\\\ & { \\qquad \\le \\mathbb { E } \\left[ d \\alpha _ { 1 } \\| \\nabla f ( x _ { 1 } ) \\| _ { \\infty } \\cdot \\| \\hat { V } _ { 1 } ^ { - p } g _ { 1 } \\| _ { \\infty } + 2 L \\| \\alpha _ { 1 } \\hat { V } _ { 1 } ^ { - p } g _ { 1 } \\| _ { 2 } ^ { 2 } \\right] } \\\\ & { \\qquad \\overset { ( a ) } { \\le } \\mathbb { E } \\left[ \\frac { d \\alpha _ { 1 } } { ( 1 - \\beta _ { 2 } ) ^ { p } } \\| \\nabla f ( x _ { 1 } ) \\| _ { \\infty } \\cdot \\| | g | ^ { 1 - p q } \\| _ { \\infty } + 2 L \\| \\alpha _ { 1 } \\hat { V } _ { 1 } ^ { - p } g _ { 1 } \\| _ { 2 } ^ { 2 } \\right] } \\\\ & { \\qquad \\overset { ( b ) } { \\le } \\mathbb { E } \\left[ \\frac { d \\alpha _ { 1 } G _ { \\infty } ^ { 2 - p q } } { ( 1 - \\beta _ { 2 } ) ^ { p } } + 2 L \\| \\alpha _ { 1 } \\hat { V } _ { 1 } ^ { - p } g _ { 1 } \\| _ { 2 } ^ { 2 } \\right] , } \\end{array}\n$$",
1361
+ "text_format": "latex",
1362
+ "bbox": [
1363
+ 220,
1364
+ 285,
1365
+ 776,
1366
+ 416
1367
+ ],
1368
+ "page_idx": 12
1369
+ },
1370
+ {
1371
+ "type": "text",
1372
+ "text": "where step $( a )$ uses $\\hat { V } _ { 1 } = ( 1 - \\beta _ { 2 } ) | g _ { 1 } | ^ { q }$ and $p q < 1$ , and step $( b )$ uses $\\| \\nabla f _ { t } ( \\pmb { x } ; \\xi _ { t } ) \\| _ { \\infty } \\leq G _ { \\infty }$ ",
1373
+ "bbox": [
1374
+ 174,
1375
+ 420,
1376
+ 789,
1377
+ 438
1378
+ ],
1379
+ "page_idx": 12
1380
+ },
1381
+ {
1382
+ "type": "text",
1383
+ "text": "Next by rearranging terms and taking expectation in (26), we have ",
1384
+ "bbox": [
1385
+ 171,
1386
+ 443,
1387
+ 612,
1388
+ 458
1389
+ ],
1390
+ "page_idx": 12
1391
+ },
1392
+ {
1393
+ "type": "equation",
1394
+ "img_path": "images/f12a7f75d961b6ad798b2d615b4ef85ce2109a7a32bedf5ce772f0e3bc2ce462.jpg",
1395
+ "text": "$$\n\\begin{array} { r l } & { \\mathbb { E } \\bigg [ f ( z _ { t + 1 } ) + \\frac { G _ { \\infty } ^ { 2 } } { 1 - \\beta _ { 1 } } \\| \\alpha _ { t } \\hat { v } _ { t } ^ { - p } \\| _ { 1 } - \\bigg ( f ( z _ { t } ) + \\frac { G _ { \\infty } ^ { 2 } } { 1 - \\beta _ { 1 } } \\| \\alpha _ { t - 1 } \\hat { v } _ { t - 1 } ^ { - p } \\| _ { 1 } \\bigg ) \\bigg ] } \\\\ & { \\leq \\mathbb { E } \\bigg [ - \\nabla f ( x _ { t } ) ^ { t } \\alpha _ { t - 1 } \\hat { V } _ { t - 1 } ^ { - p } g _ { t } + 2 L \\| \\alpha _ { t } \\hat { V } _ { t } ^ { - p } g _ { t } \\| _ { 2 } ^ { 2 } + 4 L \\bigg ( \\frac { \\beta _ { 1 } } { 1 - \\beta _ { 1 } } \\bigg ) ^ { 2 } \\| x _ { t - 1 } - x _ { t } \\| _ { 2 } ^ { 2 } \\bigg ] } \\\\ & { \\overset { ( a ) } { = } - \\nabla f ( x _ { t } ) ^ { t } \\alpha _ { t - 1 } \\hat { V } _ { t - 1 } ^ { - p } \\nabla f ( x _ { t } ) + \\mathbb { E } \\bigg [ 2 L \\| \\alpha _ { t } \\hat { V } _ { t } ^ { - p } g _ { t } \\| _ { 2 } ^ { 2 } + 4 L \\bigg ( \\frac { \\beta _ { 1 } } { 1 - \\beta _ { 1 } } \\bigg ) ^ { 2 } \\| \\alpha _ { t - 1 } \\hat { V } _ { t - 1 } ^ { - p } m _ { t - 1 } \\| _ { 2 } ^ { 2 } \\bigg ] } \\\\ & { \\overset { ( b ) } { \\leq } - \\alpha _ { t - 1 } \\| \\nabla f ( x _ { t } ) \\| _ { 2 } ^ { 2 } ( G _ { \\infty } ^ { p } ) ^ { - 1 } + \\mathbb { E } \\bigg [ 2 L \\| \\alpha _ { t } \\hat { V } _ { t } ^ { - p } g _ { t } \\| _ { 2 } ^ { 2 } + 4 L \\bigg ( \\frac { \\beta _ { 1 } } { 1 - \\beta _ { 1 } } \\bigg ) ^ { 2 } \\| \\alpha _ { t - 1 } \\hat { V } _ { t - 1 } ^ { - p } m _ { t - 1 } \\| _ { 2 } ^ { 2 } \\bigg ] , ( 3 ) } \\end{array}\n$$",
1396
+ "text_format": "latex",
1397
+ "bbox": [
1398
+ 169,
1399
+ 462,
1400
+ 807,
1401
+ 626
1402
+ ],
1403
+ "page_idx": 12
1404
+ },
1405
+ {
1406
+ "type": "text",
1407
+ "text": "where step $( a )$ uses the property that $\\mathbb { E } [ { \\pmb { g } } _ { t } ] = \\nabla f ( { \\pmb { x } } _ { t } )$ , and step $( b )$ uses the inequality $\\| \\hat { \\pmb { v } } _ { t - 1 } \\| _ { \\infty } \\leq$ $G _ { \\infty } ^ { q }$ which can be derived from $\\| \\nabla f _ { t } ( \\pmb { x } ; \\xi _ { t } ) \\| _ { \\infty } \\leq G _ { \\infty } ,$ $t \\geq 1$ . ",
1408
+ "bbox": [
1409
+ 178,
1410
+ 630,
1411
+ 825,
1412
+ 661
1413
+ ],
1414
+ "page_idx": 12
1415
+ },
1416
+ {
1417
+ "type": "text",
1418
+ "text": "Taking the summation of (27)-(28) over $t = 1$ to $T$ produces ",
1419
+ "bbox": [
1420
+ 171,
1421
+ 665,
1422
+ 573,
1423
+ 681
1424
+ ],
1425
+ "page_idx": 12
1426
+ },
1427
+ {
1428
+ "type": "equation",
1429
+ "img_path": "images/7746363a3588265361918b2f3fa5d2cb5e28042e9d5ced2f5b25ffb82a4f4da1.jpg",
1430
+ "text": "$$\n\\begin{array} { r l } & { \\boldsymbol { G } _ { \\infty } ^ { p } ^ { - 1 } \\displaystyle \\sum _ { t = 2 } ^ { T } \\alpha _ { t - 1 } \\mathbb { E } \\| \\nabla f ( \\boldsymbol { x } _ { t } ) \\| _ { 2 } ^ { 2 } } \\\\ & { \\leq \\mathbb { E } [ f ( \\boldsymbol { x } _ { 1 } ) + \\frac { G _ { \\infty } ^ { 2 } } { 1 - \\beta _ { 1 } } \\big \\| \\alpha _ { 1 } \\hat { \\boldsymbol { v } } _ { 1 } ^ { - p } \\big \\| _ { 1 } + \\frac { d \\alpha _ { 1 } G _ { \\infty } ^ { 2 - p q } } { ( 1 - \\beta _ { 2 } ) ^ { p } } - ( f ( \\boldsymbol { z } _ { T + 1 } ) + \\frac { G _ { \\infty } ^ { 2 } } { 1 - \\beta _ { 1 } } \\big \\| \\alpha _ { T } \\hat { \\boldsymbol { v } } _ { T } ^ { - p } \\big \\| _ { 1 } ) ] } \\\\ & { \\qquad + 2 L \\displaystyle \\sum _ { t = 1 } ^ { T } \\mathbb { E } [ \\| \\alpha _ { t } \\hat { V } _ { t } ^ { - p } \\boldsymbol { g } _ { t } \\| _ { 2 } ^ { 2 } ] + 4 L ( \\frac { \\beta _ { 1 } } { 1 - \\beta _ { 1 } } ) ^ { 2 } \\displaystyle \\sum _ { t = 2 } ^ { T } \\mathbb { E } [ \\| \\alpha _ { t - 1 } \\hat { V } _ { t - 1 } ^ { - p } \\boldsymbol { m } _ { t - 1 } \\| _ { 2 } ^ { 2 } ] } \\\\ & { \\overset { ( a ) } { \\leq } \\mathbb { E } [ \\Delta f + \\frac { G _ { \\infty } ^ { 2 } } { 1 - \\beta _ { 1 } } \\big \\| \\alpha _ { 1 } \\hat { \\boldsymbol { v } } _ { 1 } ^ { - p } \\big \\| _ { 1 } + \\frac { d \\alpha _ { 1 } G _ { \\infty } ^ { 2 - p q } } { ( 1 - \\beta _ { 2 } ) ^ { p } } ] + 2 L \\displaystyle \\sum _ { t = 1 } ^ { T } \\mathbb { E } [ \\| \\alpha _ { t } \\hat { V } _ { t } ^ { - p } \\boldsymbol { g } _ { t } \\| _ { 2 } ^ { 2 } ] } \\\\ & \\qquad + 4 L ( \\frac { \\beta _ { 1 } } { 1 - \\beta _ { 1 } } ) ^ { 2 } \\displaystyle \\sum _ { t = 1 } ^ { T } \\mathbb { E } [ \\| \\alpha _ { t } \\hat { V } _ { t } ^ { - p } \\boldsymbol { m } _ { t } \\| _ { 2 } ^ \\end{array}\n$$",
1431
+ "text_format": "latex",
1432
+ "bbox": [
1433
+ 220,
1434
+ 686,
1435
+ 779,
1436
+ 905
1437
+ ],
1438
+ "page_idx": 12
1439
+ },
1440
+ {
1441
+ "type": "text",
1442
+ "text": "where step $( a )$ uses the inequality $\\begin{array} { r } { \\Delta f = f ( { \\pmb x } _ { 1 } ) - \\operatorname* { i n f } _ { { \\pmb x } } f ( { \\pmb x } ) \\geq f ( { \\pmb x } _ { 1 } ) - f ( { \\pmb z } _ { T + 1 } ) } \\end{array}$ and ${ \\pmb z } _ { 1 } = { \\pmb x } _ { 1 }$ . ",
1443
+ "bbox": [
1444
+ 169,
1445
+ 907,
1446
+ 802,
1447
+ 926
1448
+ ],
1449
+ "page_idx": 12
1450
+ },
1451
+ {
1452
+ "type": "text",
1453
+ "text": "Finally, substituting (12)-(13) into (29) produces ",
1454
+ "bbox": [
1455
+ 176,
1456
+ 103,
1457
+ 491,
1458
+ 119
1459
+ ],
1460
+ "page_idx": 13
1461
+ },
1462
+ {
1463
+ "type": "equation",
1464
+ "img_path": "images/d35767900f95287fbeb57cf32733c66b7cba335202672ebcfa35bf21a69a170d.jpg",
1465
+ "text": "$$\n\\begin{array} { r l } & { \\quad \\times \\frac { \\sqrt { ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } } } { 2 } } \\\\ & { = \\frac { \\sqrt { ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } } } { 2 } \\quad \\sum _ { i = 1 } ^ { N } \\mu _ { i } \\sum _ { j = 1 } ^ { N } \\mu _ { i } \\mu _ { j } \\sum _ { k = 1 } ^ { N } \\mu _ { k } ^ { i } } \\\\ & \\quad - \\frac \\sqrt { ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } } \\\\ & \\quad + \\frac \\sqrt { ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + ( \\mathbf { F } + \\mathbf { x } ) ^ { 2 } + \\mu _ { 0 } } \\\\ & \\quad + \\frac \\sqrt ( \\mathbf \\end{array}\n$$",
1466
+ "text_format": "latex",
1467
+ "bbox": [
1468
+ 233,
1469
+ 125,
1470
+ 761,
1471
+ 534
1472
+ ],
1473
+ "page_idx": 13
1474
+ },
1475
+ {
1476
+ "type": "text",
1477
+ "text": "where step $( a )$ uses the property $\\alpha _ { t } = \\alpha _ { 1 }$ for all $t \\geq 2$ , and $\\{ M _ { l } \\} _ { l = 1 } ^ { 4 }$ are given by (15)-(18). The proof is complete. ",
1478
+ "bbox": [
1479
+ 176,
1480
+ 545,
1481
+ 821,
1482
+ 575
1483
+ ],
1484
+ "page_idx": 13
1485
+ },
1486
+ {
1487
+ "type": "text",
1488
+ "text": "D CNN ARCHITECTURES IN EXPERIMENTS ",
1489
+ "text_level": 1,
1490
+ "bbox": [
1491
+ 174,
1492
+ 594,
1493
+ 549,
1494
+ 611
1495
+ ],
1496
+ "page_idx": 13
1497
+ },
1498
+ {
1499
+ "type": "text",
1500
+ "text": "Remark 3. The full name of SERLU in Table 3 is so called scaled exponentially-regularized linear unit. Furthermore, the shift-dropout in Table 3 is designed specifically for SERLU, which includes dropout as a special case. ",
1501
+ "bbox": [
1502
+ 173,
1503
+ 625,
1504
+ 826,
1505
+ 669
1506
+ ],
1507
+ "page_idx": 13
1508
+ },
1509
+ {
1510
+ "type": "table",
1511
+ "img_path": "images/706b89b743822b08235d5600c27ba22c76cc6c8dd41324e9a42af182c16ac3b4.jpg",
1512
+ "table_caption": [
1513
+ "Table 2: CNN for MNIST using SERLU "
1514
+ ],
1515
+ "table_footnote": [],
1516
+ "table_body": "<table><tr><td rowspan=1 colspan=1>Layer 1</td><td rowspan=1 colspan=1>conv.: 3 ×3@32(SERLU)</td></tr><tr><td rowspan=1 colspan=1>Layer 2</td><td rowspan=1 colspan=1>conv.: 3 × 3@64 (SERLU)max-pooling</td></tr><tr><td rowspan=1 colspan=1>Layer 3</td><td rowspan=1 colspan=1>dense: 512 neurons(SERLU)</td></tr><tr><td rowspan=1 colspan=1>Layer 4</td><td rowspan=1 colspan=1>dense+ softmax</td></tr></table>",
1517
+ "bbox": [
1518
+ 346,
1519
+ 714,
1520
+ 647,
1521
+ 789
1522
+ ],
1523
+ "page_idx": 13
1524
+ },
1525
+ {
1526
+ "type": "table",
1527
+ "img_path": "images/c23de562fac3977bf5481085ede74a608cf1a99298035d5d0ead37634cd4712e.jpg",
1528
+ "table_caption": [
1529
+ "Table 3: CNN for CIFAR10 using SERLU "
1530
+ ],
1531
+ "table_footnote": [],
1532
+ "table_body": "<table><tr><td rowspan=1 colspan=1>Layer 1</td><td rowspan=1 colspan=1>conv.: 3 × 3@32(SERLU)</td></tr><tr><td rowspan=1 colspan=1>Layer 2</td><td rowspan=1 colspan=1>conv.: 3 × 3@32 (SERLU)max-poolingshift-dropout</td></tr><tr><td rowspan=1 colspan=1>Layer 3</td><td rowspan=1 colspan=1>conv.: 3 × 3@64 (SERLU)</td></tr><tr><td rowspan=1 colspan=1>Layer 4</td><td rowspan=1 colspan=1>conv.: 3 × 3@64 (SERLU)max-poolingshift-dropout</td></tr><tr><td rowspan=1 colspan=1>Layer 5</td><td rowspan=1 colspan=1>conv.: 3 × 3@128(SERLU)</td></tr><tr><td rowspan=1 colspan=1>Layer 6</td><td rowspan=1 colspan=1>conv.: 3 × 3@128 (SERLU)max-poolingshift-dropout</td></tr><tr><td rowspan=1 colspan=1>Layer 7</td><td rowspan=1 colspan=1>dense: 512 neurons (SERLU)shift-dropout</td></tr><tr><td rowspan=1 colspan=1>Layer 8</td><td rowspan=1 colspan=1>dense+softmax</td></tr></table>",
1533
+ "bbox": [
1534
+ 341,
1535
+ 147,
1536
+ 651,
1537
+ 362
1538
+ ],
1539
+ "page_idx": 14
1540
+ },
1541
+ {
1542
+ "type": "table",
1543
+ "img_path": "images/254d6124da50803f17655ba9fe02c9d528ffcaa99a0ae90a24ad275ea6bba673.jpg",
1544
+ "table_caption": [
1545
+ "Table 4: CNN for CIFAR10 using ELU "
1546
+ ],
1547
+ "table_footnote": [],
1548
+ "table_body": "<table><tr><td rowspan=1 colspan=1>Layer 1</td><td rowspan=1 colspan=1>conv.: 3 × 3@32(ELU)</td></tr><tr><td rowspan=1 colspan=1>Layer 2</td><td rowspan=1 colspan=1>conv.: 3 × 3@32 (ELU)max-poolingdropout</td></tr><tr><td rowspan=1 colspan=1>Layer 3</td><td rowspan=1 colspan=1>conv.: 3 × 3@64(ELU)</td></tr><tr><td rowspan=1 colspan=1>Layer 4</td><td rowspan=1 colspan=1>conv.: 3 × 3@64 (ELU)max-poolingdropout</td></tr><tr><td rowspan=1 colspan=1>Layer 5</td><td rowspan=1 colspan=1>conv.: 3 × 3@128(ELU)</td></tr><tr><td rowspan=1 colspan=1>Layer 6</td><td rowspan=1 colspan=1>conv.: 3 × 3@1283(ELU)max-poolingdropout</td></tr><tr><td rowspan=1 colspan=1>Layer 7</td><td rowspan=1 colspan=1>dense: 512 neurons (ELU)dropout</td></tr><tr><td rowspan=1 colspan=1>Layer 8</td><td rowspan=1 colspan=1>dense + softmax</td></tr></table>",
1549
+ "bbox": [
1550
+ 351,
1551
+ 424,
1552
+ 642,
1553
+ 638
1554
+ ],
1555
+ "page_idx": 14
1556
+ },
1557
+ {
1558
+ "type": "table",
1559
+ "img_path": "images/1e0fb60243ba83b5e0463225a6416c082983cb4b6d56836ebdec4c4dcfe9316d.jpg",
1560
+ "table_caption": [
1561
+ "Table 5: CNN for CIFAR10 using ReLU "
1562
+ ],
1563
+ "table_footnote": [],
1564
+ "table_body": "<table><tr><td rowspan=1 colspan=1>Layer 1</td><td rowspan=1 colspan=1>conv.: 3 ×3@32(ReLU)</td></tr><tr><td rowspan=1 colspan=1>Layer 2</td><td rowspan=1 colspan=1>conv.: 3 × 3@32 (ReLU)max-poolingdropout</td></tr><tr><td rowspan=1 colspan=1>Layer 3</td><td rowspan=1 colspan=1>conv.: 3 × 3@64(ReLU)</td></tr><tr><td rowspan=1 colspan=1>Layer 4</td><td rowspan=1 colspan=1>conv.: 3 × 3@64 (ReLU)max-poolingdropout</td></tr><tr><td rowspan=1 colspan=1>Layer 5</td><td rowspan=1 colspan=1>conv.: 3 × 3@128(ReLU)</td></tr><tr><td rowspan=1 colspan=1>Layer 6</td><td rowspan=1 colspan=1>conv.: 3 × 3@1283 (ReLU)max-poolingdropout</td></tr><tr><td rowspan=1 colspan=1>Layer 7</td><td rowspan=1 colspan=1>dense: 512 neurons (ReLU)dropout</td></tr><tr><td rowspan=1 colspan=1>Layer 8</td><td rowspan=1 colspan=1>dense + softmax</td></tr></table>",
1565
+ "bbox": [
1566
+ 346,
1567
+ 699,
1568
+ 645,
1569
+ 915
1570
+ ],
1571
+ "page_idx": 14
1572
+ }
1573
+ ]
parse/train/HJxFrs09YQ/HJxFrs09YQ_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/HJxFrs09YQ/HJxFrs09YQ_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/HktK4BeCZ/HktK4BeCZ.md ADDED
@@ -0,0 +1,439 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # LEARNING DEEP MEAN FIELD GAMES FOR MODELING LARGE POPULATION BEHAVIOR
2
+
3
+ Jiachen Yang1, Xiaojing $\mathbf { Y e } ^ { 2 }$ , Rakshit Trivedi1, Huan $\mathbf { X } \mathbf { u } ^ { 1 }$ & Hongyuan Zha1
4
+ yjiachen@gmail.com, xye@gsu.edu, rstrivedi@gatech.edu,
5
+ huan.xu@isye.gatech.edu, zha@cc.gatech.edu
6
+ 1Georgia Institute of Technology
7
+ 2Georgia State University
8
+
9
+ # ABSTRACT
10
+
11
+ We consider the problem of representing collective behavior of large populations and predicting the evolution of a population distribution over a discrete state space. A discrete time mean field game (MFG) is motivated as an interpretable model founded on game theory for understanding the aggregate effect of individual actions and predicting the temporal evolution of population distributions. We achieve a synthesis of MFG and Markov decision processes (MDP) by showing that a special MFG is reducible to an MDP. This enables us to broaden the scope of mean field game theory and infer MFG models of large real-world systems via deep inverse reinforcement learning. Our method learns both the reward function and forward dynamics of an MFG from real data, and we report the first empirical test of a mean field game model of a real-world social media population.
12
+
13
+ # 1 INTRODUCTION
14
+
15
+ Nothing takes place in the world whose meaning is not that of some maximum or minimum. (Leonhard Euler)
16
+
17
+ Major global events shaped by large populations in social media, such as the Arab Spring, the Black Lives Matter movement, and the fake news controversy during the 2016 U.S. presidential election, provide significant impetus for devising new models that account for macroscopic population behavior resulting from the aggregate decisions and actions taken by all individuals (Howard et al., 2011; Anderson & Hitlin, 2016; Silverman, 2016). Just as physical systems behave according to the principle of least action, to which Euler’s statement alludes, population behavior consists of individual actions that may be optimal with respect to some objective. The increasing usage of social media in modern societies lends plausibility to this hypothesis (Perrin, 2015), since the availability of information enables individuals to plan and act based on their observations of the global population state. For example, a population’s behavior directly affects the ranking of a set of trending topics on social media, represented by the global population distribution over topics, while each user’s observation of this global state influences their choice of the next topic in which to participate, thereby contributing to future population behavior (Twitter, 2017). In general, this feedback may be present in any system where the distribution of a large population over a state space is observable (or partially observable) by each individual, whose behavior policy generates actions given such observations. This motivates multiple criteria for a model of population behavior that is learnable from real data:
18
+
19
+ 1. The model captures the dependency between population distribution and their actions.
20
+ 2. It represents observed individual behavior as optimal for some implicit reward.
21
+ 3. It enables prediction of future population distribution given measurements at previous times.
22
+
23
+ We present a mean field game (MFG) approach to address the modeling and prediction criteria. Mean field games originated as a branch of game theory that provides tractable models of large agent populations, by considering the limit of $N$ -player games as $N$ tends to infinity (Lasry & Lions, 2007). In this limit, an agent population is represented via their distribution over a state space, and each agent’s optimal strategy is informed by a reward that is a function of the population distribution and their aggregate actions. The stochastic differential equations that characterize MFG can be specialized to many settings: optimal production rate of exhaustible resources such as oil among many producers (Gueant et al. ´ , 2011); optimizing between conformity to popular opinion and consistency with one’s initial position in opinion networks (Bauso et al., 2016); and the transition between competing technologies with economy of scale (Lachapelle et al., 2010). Representing agents as a distribution means that MFG is scalable to arbitrary population sizes, enabling it to simulate real-world phenomenon such as the Mexican wave in stadiums (Gueant et al. ´ , 2011).
24
+
25
+ As the model detailed in Section 3 will show, MFG naturally addresses the modeling criteria in our problem context while overcoming limitations of alternative predictive methods. For example, time series analysis builds predictive models from data, but these models are incapable of representing any motivation (i.e. reward) that may produce a population’s behavior policy. Alternatively, methods that employ the underlying population network structure have assumed that nodes are only influenced by a local neighborhood, do not account for a global state, and may face difficulty in explaining events as the result of any implicit optimization. (Farajtabar et al., 2015; De et al., 2016). MFG is unique as a descriptive model whose solution tells us how a system naturally behaves according to its underlying optimal control policy. This observation enables us to draw a connection with the framework of Markov decision processes (MDP) and reinforcement learning (RL) (Sutton & Barto, 1998). The crucial difference from a traditional MDP viewpoint is that we frame the problem as MFG model inference via MDP policy optimization: we use the MFG model to describe natural system behavior by solving an associated MDP, without imposing any control on the system. MFG offers a computationally tractable framework for adapting inverse reinforcement learning (IRL) methods (Ng & Russell, 2000; Ziebart et al., 2008; Finn et al., 2016), with flexible neural networks as function approximators, to learn complex reward functions that may explain behavior of arbitrarily large populations. In the other direction, RL enables us to devise a data-driven method for solving an MFG model of a real-world system for temporal prediction. While research on the theory of MFG has progressed rapidly in recent years, with some examples of numerical simulation of synthetic toy problems, there is a conspicuous absence of scalable methods for empirical validation (Lachapelle et al., 2010; Achdou et al., 2012; Bauso et al., 2016). Therefore, while we show how MFG is well-suited for the specific problem of modeling population behavior, we also demonstrate a general data-driven approach to MFG inference via a synthesis of MFG and MDP.
26
+
27
+ Our main contributions are the following. We propose a data-driven approach to learn an MFG model along with its reward function, showing that research in MFG need not be confined to toy problems with artificial reward functions. Specifically, we derive a discrete time graph-state MFG from general MFG and provide detailed interpretation in a real-world setting (Section 3). Then we prove that a special case can be reduced to an MDP and show that finding an optimal policy and reward function in the MDP is equivalent to inference of the MFG model (Section 4). Using our approach, we empirically validate an MFG model of a population’s activity distribution on social media, achieving significantly better predictive performance compared to baselines (Section 5). Our synthesis of MFG with MDP has potential to open new research directions for both fields.
28
+
29
+ # 2 RELATED WORK
30
+
31
+ Mean field games originated in the work of Lasry & Lions (2007), and independently as stochastic dynamic games in Huang et al. (2006), both of which proposed mean field problems in the form of differential equations for modeling problems in economics and analyzed the existence and uniqueness of solutions. Gueant et al. ´ (2011) provided a survey of MFG models and discussed various applications in continuous time and space, such as a model of population distribution that informed the choice of application in our work. Even though the MFG framework is agnostic towards the choice of cost function (i.e. negative reward), prior work make strong assumptions on the cost in order to attain analytic solutions. We take a view that the dynamics of any game is heavily impacted by the reward function, and hence we propose methods to learn the MFG reward function from data.
32
+
33
+ Discretization of MFGs in time and space have been proposed (Gomes et al., 2010; Achdou et al., 2012; Gueant ´ , 2015), serving as the starting point for our model of population distribution over discrete topics; while these early work analyze solution properties and lack empirical verification, we focus on algorithms for attaining solutions in real-world settings. Related to our application case, prior work by Bauso et al. (2016) analyzed the evolution of opinion dynamics in multi-population environments, but they imposed a Gaussian density assumption on the initial population distribution and restrictions on agent actions, both of which limit the generality of the model and are not assumed in our work. There is a collection of work on numerical finite-difference methods for solving continuous mean field games (Achdou et al., 2012; Lachapelle et al., 2010; Carlini & Silva, 2014). These methods involve forward-backward or Newton iterations that are sensitive to initialization and have inherent computational challenges for large real-valued state and action spaces, which limit these methods to toy problems and cannot be scaled to real-world problems. We overcome these limitations by showing how the MFG framework enables adaptation of RL algorithms that have been successful for problems involving unknown reward functions in large real-world domains.
34
+
35
+ In reinforcement learning, there are numerous value- and policy-based algorithms employing deep neural networks as function approximators for solving MDPs with large state and action spaces (Mnih et al., 2013; Silver et al., 2014; Lillicrap et al., 2015). Even though there are generalizations to multi-agent settings (Hu et al., 1998; Littman, 2001; Lowe et al., 2017), the MDP and Markov game frameworks do not easily suggest how to represent systems involving thousands of interacting agents whose actions induce an optimal trajectory through time. In our work, mean field game theory is the key to framing the modeling problem such that RL can be applied.
36
+
37
+ Methods in unknown MDP estimation and inverse reinforcement learning aim to learn an optimal policy while estimating an unknown quantity of the MDP, such as the transition law (Burnetas & Katehakis, 1997), secondary parameters (Budhiraja et al., 2012), and the reward function (Ng & Russell, 2000). The maximum entropy IRL framework has proved successful at learning reward functions from expert demonstrations (Ziebart et al., 2008; Boularias et al., 2011; Kalakrishnan et al., 2013). This probabilistic framework can be augmented with deep neural networks for learning complex reward functions from demonstration samples (Wulfmeier et al., 2015; Finn et al., 2016). Our MFG model enables us to extend the sample-based IRL algorithm in Finn et al. (2016) to the problem of learning a reward function under which a large population’s behavior is optimal, and we employ a neural network to process MFG states and actions efficiently.
38
+
39
+ # 3 MEAN FIELD GAMES
40
+
41
+ We begin with an overview of a continuous-time mean field games over graphs, and derive a general discrete-time graph-state MFG (Gueant ´ , 2015). Then we give a detailed presentation of a discretetime MFG over a complete graph, which will be the focus for the rest of this paper.
42
+
43
+ # 3.1 MEAN FIELD GAMES ON GRAPHS
44
+
45
+ Let $\mathcal { G } = ( \nu , \mathcal { E } )$ be a directed graph, where the vertex set $\mathcal { V } = \{ 1 , \ldots , d \}$ represents $d$ possible states of each agent, and $\mathcal { E } \subseteq \mathcal { V } \times \mathcal { V }$ is the edge set consisting of all possible direct transition between states (i.e., a agent can hop from $i$ to $j$ only if $( i , j ) \in \mathcal { E } )$ ). For each node $i \in \nu$ , define $\mathcal { V } _ { i } ^ { + } : = \{ j : ( j , i ) \in$ $\mathcal { E } \}$ , $, \mathcal { V } _ { i } ^ { - } : = \{ j : ( i , j ) \in E \}$ , and $\bar { \mathcal { V } } _ { i } ^ { + } : = \mathcal { V } _ { i } ^ { + } \cup \{ i \}$ and $\bar { \mathcal { V } } _ { i } ^ { - } : = \mathcal { V } _ { i } ^ { - } \cup \{ i \}$ . Let $\pi _ { i } ( t )$ be the density (proportion) of agent population in state $i$ at time $t$ , and $\pi ( t ) : = ( \pi _ { 1 } ( t ) , \ldots , \pi _ { d } ( t ) )$ . Population dynamics are generated by right stochastic matrices $P ( t ) \in \mathbb { S } ( \mathcal { G } )$ , where $\mathbb { S } ( \mathcal { G } ) : = \mathbb { S } _ { 1 } ( \mathcal { G } ) \times \dots \times \quad$ $\mathbb { S } _ { d } ( \mathcal { G } )$ and each row $P _ { i } ( t )$ belongs to $\mathbb { S } _ { i } ( \mathcal { G } ) : = \{ p \in \Delta ^ { d - 1 } \mid \mathsf { s u p p } ( p ) \subset \bar { \mathcal { V } } _ { i } ^ { - } \}$ where $\Delta ^ { d - 1 }$ is the simplex in $\mathbb { R } ^ { d }$ . Moreover, we have a value function $V _ { i } ( t )$ of state $i$ at time $t$ , and a reward function $r _ { i } ( \bar { \pi } ( t ) , P _ { i } ( t ) ) ^ { \mathrm { ~ 1 ~ } }$ , quantifying the instantaneous reward for agents in state $i$ taking transitions with probability $P _ { i } ( t )$ when the current distribution is $\pi ( t )$ . We are mainly interested in a discrete time graph state MFG, which is derived from a continuous time MFG by the following proposition. Appendix A provides a derivation from the continuous time MFG.
46
+
47
+ Proposition 1. Under a semi-implicit discretization scheme with unit time step labeled by $n$ , the backward Hamilton-Jacobi-Bellman (HJB) equation and the forward Fokker-Planck equation for each $i \in \{ 1 , \ldots , d \}$ and $n = 0 , \ldots , N - 1$ in a discrete time graph state MFG are given by:
48
+
49
+ $$
50
+ \begin{array} { c c c } { { ( H J B ) } } & { { } } & { { V _ { i } ^ { n } \ = \mathrm { m a x } _ { P _ { i } ^ { n } \in \mathbb { S } _ { i } ( \mathcal { G } ) } \left\{ r _ { i } ( \pi ^ { n } , P _ { i } ^ { n } ) + \sum _ { j \in \bar { \mathcal { V } } _ { i } ^ { - } } P _ { i j } ^ { n } V _ { j } ^ { n + 1 } \right\} } } \\ { { ( F o k k e r . P l a n c k ) } } & { { } } & { { \ \pi _ { i } ^ { n + 1 } = \sum _ { j \in \bar { \mathcal { V } } _ { i } ^ { + } } P _ { j i } ^ { n } \pi _ { j } ^ { n } } } \end{array}
51
+ $$
52
+
53
+ # 3.2 DISCRETE TIME MFG OVER COMPLETE GRAPH
54
+
55
+ Proposition 1 shows that a discrete time MFG given in Gomes et al. (2010) can be seen as a special case of a discrete time graph state MFG with a complete graph (such that $\mathbb { S } ( \mathcal { G } ) = \Delta ^ { d - 1 } \times \cdot \cdot \cdot \times \dot { \Delta } ^ { d - 1 }$ ( $\mathit { \Delta } \cdot \mathit { \Delta } \mathcal { d }$ of $\Delta ^ { d - 1 } )$ )). We focus on the complete graph in this paper, as the methodology can be readily applied to general directed graphs. While Section 4 will show a connection between MFG and MDP, we note here that a “state” in the MFG sense is a node in $\nu$ and not an MDP state. 2 We now interpret the model using the example of evolution of user activity distribution over topics on social media, to provide intuition and set the context for our real-world experiments in Section 5. Independent of any particular interpretation, the MFG approach is generally applicable to any problem where population size vastly outnumbers a set of discrete states.
56
+
57
+ • Population distribution $\pi ^ { n } \in \Delta ^ { d - 1 }$ for $n = 0 , \ldots , N$ . Each $\pi ^ { n }$ is a discrete probability distribution over $d$ topics, where $\pi _ { i } ^ { n }$ is the fraction of people who posted on topic $i$ at time $n$ . Although a person may participate in more than one topic within a time interval, normalization can be enforced by a small time discretization or by using a notion of “effective population size”, defined as population size multiplied by the max participation count of any person during any time interval. $\mathbf { \bar { \boldsymbol { \pi } } } ^ { 0 }$ is a given initial distribution.
58
+
59
+ • Transition matrix $P ^ { n } \in \mathbb { S } ( { \mathcal { G } } )$ . $P _ { i j } ^ { n }$ is the probability of people in topic $i$ switching to topic $j$ at time $n$ , so we refer to $P _ { i } ^ { n }$ as the action of people in topic $i$ . $P ^ { n }$ generates the forward equation
60
+
61
+ $$
62
+ \pi _ { j } ^ { n + 1 } = \sum _ { i = 1 } ^ { d } P _ { i j } ^ { n } \pi _ { i } ^ { n }
63
+ $$
64
+
65
+ • Reward $\begin{array} { r } { r _ { i } ( \pi ^ { n } , P _ { i } ^ { n } ) : = \sum _ { j = 1 } ^ { d } P _ { i j } ^ { n } r _ { i j } ( \pi ^ { n } , P _ { i } ^ { n } ) } \end{array}$ , for $i \in \{ 1 , \ldots , d \}$ . This is the ard received $i$ $P _ { i } ^ { n }$ $n$ $\pi ^ { n }$ to previous work, we learn the reward function from data (Section 4.1). We make a locality assumption: reward for $i$ depends only on $P _ { i } ^ { n }$ , not on the entire $P ^ { n }$ , which means that actions by people in $j \neq i$ have no instantaneous effect on the reward for people in topic $i$ . 3
66
+
67
+ • Value function $V ^ { n } \in \mathbb { R } ^ { d }$ . $V _ { i } ^ { n }$ is the expected maximum total reward of being in topic $i$ at time $n$ . A terminal value $V ^ { N }$ is given, which we set to zero to avoid making any assumption on the problem structure beyond what is contained in the learned reward function.
68
+
69
+ • Average reward $e _ { i } ( \pi , P , V )$ , for $i \in \{ 1 , \ldots , d \}$ and $V \in \mathbb { R } ^ { d }$ and $P \in \mathbb { S } ( \mathcal { G } )$ . This is the average reward received by agents at topic $i$ when the current distribution is $\pi$ , action $P$ is chosen, and the subsequent expected maximum total reward is $V$ . For a general $r _ { i j } ( \pi , P )$ , it is defined as:
70
+
71
+ $$
72
+ e _ { i } ( \pi , P , V ) = \sum _ { j = 1 } ^ { d } P _ { i j } ( r _ { i j } ( \pi , P ) + V _ { j } )
73
+ $$
74
+
75
+ Intuitively, agents want to act optimally in order to maximize their expected total average reward. For $P \in \mathbb { S } ( \mathcal { G } )$ and a vector $q \in \mathbb { S } _ { i } ( \mathcal { G } )$ , define $\mathcal { P } ( P , i , q )$ to be the matrix equal to $P$ , except with the $i$ -th row replaced by $q$ . Then a Nash maximizer is defined as follows:
76
+
77
+ Definition 1. A right stochastic matrix $P \in \mathbb { S } ( \mathcal { G } )$ is a Nash maximizer of $e ( \pi , P , V )$ if, given a fixed $\pi \in \Delta ^ { d - 1 }$ and a fixed $V \in \mathbb { R } ^ { d }$ , there is
78
+
79
+ $$
80
+ e _ { i } ( \pi , P , V ) \ge e _ { i } ( \pi , { \mathcal { P } } ( P , i , q ) , V )
81
+ $$
82
+
83
+ for any $i \in \{ 1 , \ldots , d \}$ and any $q \in \mathbb { S } _ { i } ( \mathcal { G } )$ .
84
+
85
+ The rows of $P$ form a Nash equilibrium set of actions, since for any topic $i$ , the people in topic $i$ cannot increase their reward by unilaterally switching their action from $P _ { i }$ to any $q$ . Under Definition 1, the value function of each topic $i$ at each time $n$ satisfies the optimality criteria:
86
+
87
+ $$
88
+ V _ { i } ^ { n } = \operatorname* { m a x } _ { q \in \mathbb { S } _ { i } ( \mathcal { G } ) } \left\{ \sum _ { j = 1 } ^ { d } q _ { j } \left[ r _ { i j } ( \pi ^ { n } , \mathcal { P } ( P ^ { n } , i , q ) ) + V _ { j } ^ { n + 1 } \right] \right\}
89
+ $$
90
+
91
+ A solution of the MFG is a sequence of pairs $\{ ( \pi ^ { n } , V ^ { n } ) \} _ { n = 0 , \dots , N }$ satisfying optimality criteria (6) and forward equation (3).
92
+
93
+ # 4 INFERENCE OF MFG VIA MDP OPTIMIZATION
94
+
95
+ A Markov decision process is a well-known framework for optimization problems. We focus on the discrete time MFG in Section 3.2 and prove a reduction to a finite-horizon deterministic MDP, whose state trajectory under an optimal policy coincides with the forward evolution of the MFG. This leads to the essential insight that solving the optimization problem of an MDP is equivalent to solving an MFG that describes population behavior. This connection will enable us to apply efficient inverse RL methods, using measured population trajectories, to learn an MFG model along with its reward function in Section 4.1. The MDP is constructed as follows:
96
+
97
+ Definition 2. A finite-horizon deterministic MDP for a discrete time MFG over a complete graph is defined as:
98
+
99
+ • States: $\pi ^ { n } \in \Delta ^ { d - 1 }$ , the population distribution at time $n$ .
100
+
101
+ • Actions: $P ^ { n } \in \mathbb { S } ( { \mathcal { G } } )$ , the transition probability matrix at time $n$ • Reward: $\begin{array} { r } { R ( \pi ^ { n } , P ^ { n } ) : = \sum _ { i = 1 } ^ { d } \pi _ { i } ^ { n } \sum _ { j = 1 } ^ { d } P _ { i j } ^ { n } r _ { i j } ( \pi ^ { n } , P _ { i } ^ { n } ) } \end{array}$ • Finite-horizon state transition, given by Eq (3): $\begin{array} { r } { \forall n \in \{ 0 , \ldots , N - 1 \} : \pi _ { j } ^ { n + 1 } = \sum _ { i = 1 } ^ { d } P _ { i j } ^ { n } \pi _ { i } ^ { n } . } \end{array}$
102
+
103
+ Theorem 2. The value function of a solution to the discrete time MFG over a complete graph defined by optimality criteria (6) and forward equation (3) is a solution to the Bellman optimality equation of the MDP in Definition 2.
104
+
105
+ Proof. Since $r _ { i j }$ depends on $P ^ { n }$ only through row $P _ { i } ^ { n }$ , optimality criteria 6 can be written as
106
+
107
+ $$
108
+ V _ { i } ^ { n } = \operatorname* { m a x } _ { P _ { i } \in \mathbb { S } _ { i } ( \mathcal { G } ) } \left\{ \sum _ { j } P _ { i j } r _ { i j } ( \pi ^ { n } , P _ { i } ) + \sum _ { j } P _ { i j } V _ { j } ^ { n + 1 } \right\} .
109
+ $$
110
+
111
+ We now define $V ^ { * } ( \pi ^ { n } )$ as follows and show that it is the value function of the constructed MDP in Definition 2 by verifying that it satisfies the Bellman optimality equation:
112
+
113
+ $$
114
+ \begin{array} { r l } & { V ^ { * } ( \pi ^ { n } ) : = \displaystyle \sum _ { i = 1 } ^ { d } \pi _ { i } ^ { n } V _ { i } ^ { n } = \displaystyle \sum _ { i = 1 } ^ { d } \pi _ { i } ^ { n } \operatorname* { m a x } _ { P _ { i } \in \mathbb { S } _ { + } ( \mathcal { G } ) } \left\{ \displaystyle \sum _ { j = 1 } ^ { d } P _ { i j } r _ { i j } ( \pi ^ { n } , P _ { i } ) + \displaystyle \sum _ { j = 1 } ^ { d } P _ { i j } V _ { j } ^ { n + 1 } \right\} } \\ & { \quad \quad \quad \quad \quad \quad = \displaystyle \operatorname* { m a x } _ { P \in \mathbb { S } ( \mathcal { G } ) } \left\{ \displaystyle \sum _ { i = 1 } ^ { d } \pi _ { i } ^ { n } \sum _ { j = 1 } ^ { d } P _ { i j } r _ { i j } ( \pi ^ { n } , P _ { i } ) + \displaystyle \sum _ { j = 1 } ^ { d } \left( \displaystyle \sum _ { i = 1 } ^ { d } P _ { i j } \pi _ { i } ^ { n } \right) V _ { j } ^ { n + 1 } \right\} } \\ & { \quad \quad \quad \quad \quad = \displaystyle \operatorname* { m a x } _ { P \in \mathbb { S } ( \mathcal { G } ) } \left\{ R ( \pi ^ { n } , P ) + \displaystyle \sum _ { j = 1 } ^ { d } \pi _ { j } ^ { n + 1 } V _ { j } ^ { n } + \right\} } \\ & { \quad \quad \quad \quad = \displaystyle \operatorname* { m a x } _ { P \in \mathbb { S } ( \mathcal { G } ) } \left\{ R ( \pi ^ { n } , P ) + V ^ { * } ( \pi ^ { n + 1 } ) \right\} } \end{array}
115
+ $$
116
+
117
+ which is the Bellman optimality equation for the MDP in Definition 2.
118
+
119
+ Corollary 1. Given a start state $\pi ^ { 0 }$ , the state trajectory under the optimal policy of the MDP in Definition 2 is equivalent to the forward evolution part of the solution to the MFG.
120
+
121
+ Proof. Under the optimal policy, equations 11 and 8 are satisfied, which means the matrix $P$ generated by the optimal policy at any state $\pi ^ { n }$ is the Nash maximizer matrix. Therefore, the state trajectory $\{ \pi ^ { n } \} _ { n = 0 , \ldots , N }$ is the forward part of the MFG solution. □
122
+
123
+ # 4.1 REINFORCEMENT LEARNING SOLUTION FOR MFG
124
+
125
+ MFG provides a general framework for addressing the problem of modeling population dynamics, while the new connection between MFG and MDP enables us to apply inverse RL algorithms to solve the MDP in Definition 2 with unknown reward. In contrast to previous MFG research, most of which impose reward functions that are quadratic in actions and logarithmic in the state distribution (Gueant ´ , 2009; Lachapelle et al., 2010; Bauso et al., 2016), we learn a reward function using demonstration trajectories measured from actual population behavior, to ground the MFG representation of population dynamics on real data.
126
+
127
+ We leverage the MFG forward dynamics (Eq 3) in a sample-based IRL method based on the maximum entropy IRL framework (Ziebart et al., 2008). From this probabilistic viewpoint, we minimize the relative entropy between a probability distribution $p ( \tau )$ over a space of trajectories $T : = \{ \tau _ { i } \} _ { i }$ and a distribution $q ( \tau )$ from which demonstrated expert trajectories are generated (Boularias et al., 2011). This is related to a path integral IRL formulation, where the likelihood of measured optimal trajectories is evaluated only using trajectories generated from their local neighborhood, rather than uniformly over the whole trajectory space (Kalakrishnan et al., 2013). Specifically, making no assumption on the true distribution of optimal demonstration other than matching of reward expectation, we posit that demonstration trajectories $\tau _ { i } = ( \pi ^ { 0 } , P ^ { 1 } , \ldots , \pi ^ { N - 1 } , P ^ { N - 1 } ) _ { i }$ πN−1, P N−1)i are sampled from the maximum entropy distribution (Jaynes, 1957):
128
+
129
+ $$
130
+ p ( \tau ) = \frac { 1 } { Z } \exp ( R _ { W } ( \tau ) )
131
+ $$
132
+
133
+ where $\begin{array} { r } { R _ { W } ( \tau ) = \sum _ { n } R _ { W } ( \pi ^ { n } , P ^ { n } ) } \end{array}$ is the sum of reward of single state-action pairs over a trajectory $\tau$ , and $W$ are the parameters of the reward function approximator (derivation in Appendix E). Intuitively, this means that trajectories with higher reward are exponentially more likely to be sampled. Given $M$ sample trajectories $\tau _ { j } ~ \in ~ { \mathcal { D } } _ { \operatorname { s a m p } }$ from $k$ distributions $F _ { 1 } ( \tau ) , \dots , F _ { k } ( \dot { \tau } )$ , an unbiased estimator of the partition function $\begin{array} { r } { Z = \int \exp ( R _ { W } ( \tau ) ) d \tau } \end{array}$ using multiple importance sampling is $\begin{array} { r } { \hat { Z } : = \frac { 1 } { M } \sum _ { \tau _ { j } } z _ { j } \exp ( R _ { W } ( \tau _ { j } ) ) } \end{array}$ (Owen & Zhou, 2000), where importance weights are $\begin{array} { r } { z _ { j } : = \left[ \frac { 1 } { k } \sum _ { k } F _ { k } ( \tau _ { j } ) \right] ^ { - 1 } } \end{array}$ (derivation in Appendix F). Each action matrix $P$ is sampled from a stochastic policy $F _ { k } ( P ; \pi , \theta )$ (overloading notation with $F ( \tau ) )$ , where $\pi$ is the current state and $\theta$ the policy parameter. The negative log likelihood of $L$ demonstration trajectories $\tau _ { i } \in \mathcal { D } _ { \mathrm { d e m o } }$ is:
134
+
135
+ $$
136
+ \mathcal { L } ( W ) = - \frac { 1 } { L } \sum _ { \tau _ { i } \in \mathcal { D } _ { \mathrm { d e m o } } } R _ { W } ( \tau _ { i } ) + \log \left( \frac { 1 } { M } \sum _ { \tau _ { j } \in \mathcal { D } _ { \mathrm { s a m p } } } z _ { j } \exp ( R _ { W } ( \tau _ { j } ) ) \right)
137
+ $$
138
+
139
+ We build on Guided Cost Learning (GCL) in Finn et al. (2016) $( \mathrm { A l g \ 1 } )$ to learn a deep neural network approximation of $R _ { W } ( \pi , P )$ via stochastic gradient descent on $\mathcal { L } ( W )$ , and learn a policy $F ( P ; \pi , \theta )$ using a simple actor-critic algorithm (Sutton $\&$ Barto, 1998). In contrast to GCL, we employ a combination of convolutional neural nets and fully-connected layers to process both the action matrix $P$ and state vector $\pi$ efficiently in a single architecture (Appendix C), analogous to how Lillicrap et al. (2015) handle image states in Atari games. Due to our choice of policy parameterization (described below), we also set importance weights to unity for numerical stability. These implementation choices result in successful learning of a reward representation (Fig 1).
140
+
141
+ Our forward MDP solver $( \mathrm { A l g } ~ 2 )$ performs gradient ascent on the policy’s expected start value $\mathbb { E } [ v ( \pi ^ { 0 } ) | F ( P ; \pi , \theta ) ]$ w.r.t. $\theta$ , to find successively better policies $F _ { k } ( P ; \pi , \theta )$ . We construct the joint distribution $F ( P ; \pi , \theta )$ informed by domain knowledge about human population behavior on social media, but this does not reduce the generality of the MFG framework since it is straightforward to employ flexible policy and value networks in a DDPG algorithm when intuition is not available (Silver et al., 2014; Lillicrap et al., 2015). Our joint distribution is $d$ instances of a $d$ -dimensional Dirichlet distribution, each parameterized by an $\mathbf { \bar { \boldsymbol { \alpha } } } ^ { i } \in \mathbb { R } _ { + } ^ { d }$ . Each row $P _ { i }$ is sampled from
142
+
143
+ $$
144
+ f ( P _ { i 1 } , \dots , P _ { i d } ; \alpha _ { 1 } ^ { i } , \dots , \alpha _ { d } ^ { i } ) = { \frac { 1 } { B ( \alpha ^ { i } ) } } \prod _ { j = 1 } ^ { d } ( P _ { i j } ) ^ { \alpha _ { j } ^ { i } - 1 }
145
+ $$
146
+
147
+ where $B ( \cdot )$ is the Beta function and $\alpha _ { j } ^ { i }$ is defined using the softplus function $\alpha _ { j } ^ { i } ( \pi , \theta ) : =$ $\ln ( 1 + \exp \{ \theta ( \pi _ { j } - \pi _ { i } ) \} )$ , which is a monotonically increasing function of the population density difference $\pi _ { j } - \pi _ { i }$ . In practice, a constant scaling factor $c \in \mathbb { R }$ can be applied to $\alpha$ for variance reduction. Finally, we let $\begin{array} { r } { F ( P ^ { n } ; \pi ^ { n } , \theta ) = \prod _ { i = 1 } ^ { d } f ( P _ { i } ^ { n } ; \alpha ^ { i } ( \pi ^ { n } , \theta ) ) } \end{array}$ denote the parameterized policy, from which $P ^ { n }$ is sampled based on $\pi ^ { n }$ , and whose logarithmic gradient $\nabla _ { \theta } \ln ( F )$ can be used in a policy gradient algorithm. We learned an approximate value function $\hat { V } ( \pi ; w )$ as a baseline for variance reduction, approximated as a linear combination of all polynomial features of $\pi$ up to second order, with parameter $w$ (Sutton et al., 2000).
148
+
149
+ ![](images/566b046cb6e6f0e06a3f90d272e5c60561c5d76e1313cd3bfa12645d2e1b7946.jpg)
150
+ Figure 1: (a) JSD between train demo and generated transitions is 0.130. (b) JSD between test demo and generated transitions is 0.017. (c) Reward of state-action pairs. States: large negative mass gradient from $\pi _ { 1 }$ to $\pi _ { d }$ (S0), less negative gradient (S1), uniform (S2). Actions: high probability transitions to smaller indices (A0), uniform transition (A1), row-reverse of A0 (A2).
151
+
152
+ # 5 EXPERIMENTS
153
+
154
+ We demonstrate the effectiveness of our method with two sets of experiments: (i) inference of an interpretable reward function and (ii) prediction of population trajectory over time. Our experiment matches the discrete time mean field game given in Section 3.2: we use data representing the activity of a Twitter population consisting of 406 users. We model the evolution of the population distribution over $d = 1 5$ topics and $N = 1 6$ time steps (9am to midnight) each day for 27 days. The sequence of state-action pairs $\{ ( \pi ^ { n } , P ^ { n } ) \} _ { n = 0 , \dots , \bar { N } - 1 }$ measured on each day shall be called a demonstration trajectory. Although the set of topics differ semantically each day, indexing topics in order of decreasing initial popularity suffices for identifying the topic sets across all days. As explained earlier, the MFG framework can model populations of arbitrarily large size, and we find that our chosen size is sufficient for extracting an informative reward and policy from the data. For evaluating performance on trajectory prediction, we compare MFG with two baselines:
155
+
156
+ VAR. Vector autoregression of order 18 trained on 21 demonstration trajectories.
157
+
158
+ RNN. Recurrent neural network with a single fully-connected layer and rectifier nonlinearity.
159
+
160
+ We use Jenson-Shanon Divergence (JSD) as metric to report all our results. Appendix D provides comprehensive implementation details.
161
+
162
+ # 5.1 INTERPRETATION OF REWARD FUNCTION
163
+
164
+ We evaluated the reward using four sets of state-action pairs acquired from: 1. all train demo trajectories; 2. trajectories generated by the learned policy given initial states $\pi ^ { 0 }$ of train trajectories; 3. all test demo trajectories; 4. trajectories generated by the learned policy given initial states $\pi ^ { 0 }$ of test trajectories. We find three distinct modes in the density of reward values for both the train group of sets 1 and 2 (Fig 1a) and the test group of sets 3 and 4 (Fig 1b). Although we do not have access to a ground truth reward function, the low JSD values of 0.13 and 0.017 between reward distributions for demo and generated state-action pairs show generalizability of the learned reward function. We further investigated the reward landscape with nine state-action pairs (Figure 1c), and find that the mode with highest rewards is attained by pairing states that have large mass in topics having high initial popularity (S0) with action matrices that favor transition to topics with higher density (A0). Uniformly distributed state vectors (S2) attain the lowest rewards, and states with a small negative mass gradient from topic 1 to topic $d$ (S1) attain medium rewards. Simply put, MFG agents who optimize for this reward are more likely to move towards more popular topics. While this numerical exploration of the reward reveals interpretable patterns, the connection between such rewards learned via our method and any optimization process in the population requires more empirical study.
165
+
166
+ # 5.2 TRAJECTORY PREDICTION
167
+
168
+ To test the usefulness of the reward and MFG model for prediction, the learned policy was used with the forward equation to generate complete trajectories, given initial distributions. Fig 2a (log scale) shows that MFG has $5 8 \%$ smaller error than VAR when evaluated on the JSD between generated and measured final distributions (πN−1generated, πN−1measured), and 40% smaller error when evaluated on the average JSD over all hours in a day $\begin{array} { r } { \frac { 1 } { N } \sum _ { n = 0 } ^ { N - 1 } \mathbf { J } \mathbf { S } \mathbf { D } ( \pi _ { \mathrm { g e n e r a t e d } } ^ { n } , \pi _ { \mathrm { m e a s u r e d } } ^ { n } ) } \end{array}$ . Both measures were averaged over held-out test trajectories. It is worth emphasizing that learning the MFG model required only the initial population distribution of each day in the training set (line 4 in Alg 2), while VAR and RNN used the distributions over all hours of each day. MFG achieves better prediction performance even with fewer training samples, possibly because it is a more structured approximation of the true mechanism underlying population dynamics, in contrast to VAR and RNN that rely on regression. As shown by sample trajectories for topic 0 and 2 in Figures 3, and the average transition matrices in Figure 2b, MFG correctly represents the fact that the real population tends to congregate to topics with higher initial popularity (lower topic indices), and that the popularity of topic 0 becomes more dominant across time in each day. The small real-world dataset size, and the fact that RNN mainly learns state transitions without accounting for actions, could be contributing factors to the lower performance of RNN. We acknowledge that our design of policy parameterization, although informed by domain knowledge, introduced bias and resulted in noticeable differences between demonstration and generated transition matrices. This can be addressed using deep policy and value networks, since the MFG framework is agnostic towards choice of policy representation.
169
+
170
+ ![](images/6a57d984bb19f5fba588384d67edf4a92257b2f6dc17a6674c0641803208debe.jpg)
171
+ Figure 2: (a) Test error on final distribution and mean over entire trajectory (log scale). MFG: (2.9e3, 4.9e-3), VAR: (7.0e-3, 8.1e-3), RNN: (0.58, 0.57). (b) heatmap of action matrix $P \in \mathbb { R } ^ { 1 5 \times 1 5 }$ averaged element-wise over demo train set, and absolute difference between average demo action matrix and average matrix generated from learned policy.
172
+
173
+ ![](images/7ba68db839009a9b73ad629742f9b7b32e42a0c187b9c7ff83a6b53562155fcd.jpg)
174
+ Figure 3: (a) Measured and predicted trajectory of topic 0 popularity over test days for MFG and VAR (RNN outside range and not shown). (b) Measured and predicted trajectory of topic 2 popularity over test days for all methods.
175
+
176
+ # 6 CONCLUSION
177
+
178
+ We have motivated and demonstrated a data-driven method to solve a mean field game model of population evolution, by proving a connection to Markov decision processes and building on methods in reinforcement learning. Our method is scalable to arbitrarily large populations, because the MFG framework represents population density rather than individual agents, while the representations are linear in the number of MFG states and quadratic in the transition matrix. Our experiments on real data show that MFG is a powerful framework for learning a reward and policy that can predict trajectories of a real world population more accurately than alternatives. Even with a simple policy parameterization designed via some domain knowledge, our method attained superior performance on test data. It motivates exploration of flexible neural networks for more complex applications.
179
+
180
+ An interesting extension is to develop an efficient method for solving the discrete time MFG in a more general setting, where the reward at each state $i$ is coupled to the full population transition matrix. Our work also opens the path to a variety of real-world applications, such as a synthesis of MFG with models of social networks at the level of individual connections to construct a more complete model of social dynamics, and mean field models of interdependent systems that may display complex interactions via coupling through global states and reward functions.
181
+
182
+ # ACKNOWLEDGMENTS
183
+
184
+ We sincerely thank our anonymous ICLR reviewers for critical feedback that helped us to improve the clarity and precision of our presentation. This work was supported in part by NSF CMMI1745382 and NSF IIS-1717916.
185
+
186
+ # REFERENCES
187
+
188
+ Yves Achdou, Fabio Camilli, and Italo Capuzzo-Dolcetta. Mean field games: numerical methods for the planning problem. SIAM Journal on Control and Optimization, 50(1):77–109, 2012.
189
+ Monica Anderson and Paul Hitlin. Social Media Conversations About Race. Pew Research Center, August 2016.
190
+ Dario Bauso, Raffaele Pesenti, and Marco Tolotti. Opinion dynamics and stubbornness via multi-population mean-field games. Journal of Optimization Theory and Applications, 170(1):266293, 2016.
191
+ Abdeslam Boularias, Jens Kober, and Jan Peters. Relative entropy inverse reinforcement learning. In Proceedings of the Fourteenth International Conference on Artificial Intelligence and Statistics, pp. 182–189, 2011.
192
+ Amarjit Budhiraja, Xin Liu, and Adam Shwartz. Action time sharing policies for ergodic control of markov chains. SIAM Journal on Control and Optimization, 50(1):171–195, 2012.
193
+ Apostolos N Burnetas and Michael N Katehakis. Optimal adaptive policies for markov decision processes. Mathematics of Operations Research, 22(1):222–255, 1997.
194
+ Elisabetta Carlini and Francisco Jose Silva. A fully discrete semi-lagrangian scheme for a first order mean field ´ game problem. SIAM Journal on Numerical Analysis, 52(1):45–67, 2014.
195
+ Abir De, Isabel Valera, Niloy Ganguly, Sourangshu Bhattacharya, and Manuel Gomez Rodriguez. Learning and forecasting opinion dynamics in social networks. In Advances in Neural Information Processing Systems, pp. 397–405, 2016.
196
+ Mehrdad Farajtabar, Yichen Wang, Manuel Gomez Rodriguez, Shuang Li, Hongyuan Zha, and Le Song. Coevolve: A joint point process model for information diffusion and network co-evolution. In Advances in Neural Information Processing Systems, pp. 1954–1962, 2015.
197
+ Chelsea Finn, Sergey Levine, and Pieter Abbeel. Guided cost learning: Deep inverse optimal control via policy optimization. In International Conference on Machine Learning, pp. 49–58, 2016.
198
+ Diogo A Gomes, Joana Mohr, and Rafael Rigao Souza. Discrete time, finite state space mean field games. Journal de mathematiques pures et appliqu ´ ees ´ , 93(3):308–328, 2010.
199
+ Olivier Gueant. A reference case for mean field games models. ´ Journal de mathematiques pures et appliqu ´ ees ´ , 92(3):276–294, 2009.
200
+ Olivier Gueant. Existence and uniqueness result for mean field games with congestion effect on graphs. ´ Applied Mathematics & Optimization, 72(2):291–303, 2015.
201
+ Olivier Gueant, Jean-Michel Lasry, and Pierre-Louis Lions. Mean field games and applications. In ´ ParisPrinceton lectures on mathematical finance 2010, pp. 205–266. Springer, 2011.
202
+ Philip N Howard, Aiden Duffy, Deen Freelon, Muzammil M Hussain, Will Mari, and Marwa Maziad. Opening closed regimes: what was the role of social media during the arab spring?, 2011.
203
+ Junling Hu, Michael P Wellman, et al. Multiagent reinforcement learning: theoretical framework and an algorithm. In ICML, volume 98, pp. 242–250. Citeseer, 1998.
204
+ Minyi Huang, Roland P Malhame, Peter E Caines, et al. Large population stochastic dynamic games: closed- ´ loop mckean-vlasov systems and the nash certainty equivalence principle. Communications in Information & Systems, 6(3):221–252, 2006.
205
+ Edwin T Jaynes. Information theory and statistical mechanics. Physical review, 106(4):620, 1957.
206
+ Mrinal Kalakrishnan, Peter Pastor, Ludovic Righetti, and Stefan Schaal. Learning objective functions for manipulation. In Robotics and Automation (ICRA), 2013 IEEE International Conference on, pp. 1331–1336. IEEE, 2013.
207
+ Aime Lachapelle, Julien Salomon, and Gabriel Turinici. Computation of mean field equilibria in economics. ´ Mathematical Models and Methods in Applied Sciences, 20(04):567–588, 2010.
208
+ Jean-Michel Lasry and Pierre-Louis Lions. Mean field games. Japanese journal of mathematics, 2(1):229–260, 2007.
209
+ Timothy P Lillicrap, Jonathan J Hunt, Alexander Pritzel, Nicolas Heess, Tom Erez, Yuval Tassa, David Silver, and Daan Wierstra. Continuous control with deep reinforcement learning. arXiv preprint arXiv:1509.02971, 2015.
210
+ Michael L Littman. Value-function reinforcement learning in markov games. Cognitive Systems Research, 2 (1):55–66, 2001.
211
+ Ryan Lowe, Yi Wu, Aviv Tamar, Jean Harb, Pieter Abbeel, and Igor Mordatch. Multi-agent actor-critic for mixed cooperative-competitive environments. arXiv preprint arXiv:1706.02275, 2017.
212
+ Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Alex Graves, Ioannis Antonoglou, Daan Wierstra, and Martin Riedmiller. Playing atari with deep reinforcement learning. arXiv preprint arXiv:1312.5602, 2013.
213
+ Andrew Y. Ng and Stuart Russell. Algorithms for inverse reinforcement learning. In in Proc. 17th International Conf. on Machine Learning, pp. 663–670. Morgan Kaufmann, 2000.
214
+ Art Owen and Yi Zhou. Safe and effective importance sampling. Journal of the American Statistical Association, 95(449):135–143, 2000.
215
+ Andrew Perrin. Social Media Usage: 2005-2015. Pew Research Center, October 2015.
216
+ Skipper Seabold and Josef Perktold. Statsmodels: Econometric and statistical modeling with python. In 9th Python in Science Conference, 2010.
217
+ David Silver, Guy Lever, Nicolas Heess, Thomas Degris, Daan Wierstra, and Martin Riedmiller. Deterministic policy gradient algorithms. In Proceedings of the 31st International Conference on Machine Learning (ICML-14), pp. 387–395, 2014.
218
+ Craig Silverman. This analysis shows how viral fake election news stories outperformed real news on facebook, 2016. URL https://www.buzzfeed.com/craigsilverman/ viral-fake-election-news-outperformed-real-news-on-facebook.
219
+ Richard S. Sutton and Andrew G. Barto. Introduction to Reinforcement Learning. MIT Press, Cambridge, MA, USA, 1st edition, 1998. ISBN 0262193981.
220
+ Richard S Sutton, David A McAllester, Satinder P Singh, and Yishay Mansour. Policy gradient methods for reinforcement learning with function approximation. In Advances in neural information processing systems, pp. 1057–1063, 2000.
221
+ Twitter. Faqs about trends on twitter, 2017. URL https://support.twitter.com/articles/ 101125.
222
+ Markus Wulfmeier, Peter Ondruska, and Ingmar Posner. Maximum entropy deep inverse reinforcement learning. arXiv preprint arXiv:1507.04888, 2015.
223
+ Brian D Ziebart, Andrew L Maas, J Andrew Bagnell, and Anind K Dey. Maximum entropy inverse reinforcement learning. In AAAI, volume 8, pp. 1433–1438. Chicago, IL, USA, 2008.
224
+
225
+ # A PROOF OF PROPOSTION 1
226
+
227
+ Given the definitions in Section 3.1, a mean field game is defined by a Hamilton-Jacobi-Bellman (HJB) equation evolving backwards in time and a Fokker-Planck equation evolving forward in time. The continuous-time Hamilton-Jacobi-Bellman (HJB) equation on $\mathcal { G }$ is
228
+
229
+ $$
230
+ V _ { i } ^ { \prime } ( t ) = - \mathrm { m a x } _ { P _ { i } } \left\{ \sum _ { j \in \bar { \mathcal { V } } _ { i } ^ { - } } P _ { i j } ( t ) ( V _ { j } ( t ) - V _ { i } ( t ) ) + r _ { i } ( \pi ( t ) , P _ { i } ( t ) ) \right\}
231
+ $$
232
+
233
+ where $r _ { i } ( \pi , P _ { i } )$ is the reward function, and $V _ { i } ( t )$ is the value function of state $i$ at time $t$ . Note that the reward function $r _ { i } ( \pi ( t ) , P _ { i } ( t ) )$ is often presented as $- c _ { i } ( \pi ( t ) , P _ { i } ( t ) )$ for some cost function $c _ { i } ( \pi ( t ) , P _ { i } ( t ) )$ in the MFG context, and similarly for $V _ { i } ( t )$ . In addition, we set $r _ { i } ( \pi ( t ) , P _ { i } ( t ) ) =$ $- \infty$ if $P _ { i } ( t ) \not \in { \mathbb S } _ { i } ( { \mathcal G } )$ (i.e. $P ( t )$ must be a valid transition matrix). For any fixed $\pi ( t )$ , let $\mathcal { H } _ { i } ( \pi ( t ) , \cdot )$ be the Legendre transform of $c _ { i } ( \pi ( t ) , \cdot )$ defined by
234
+
235
+ $$
236
+ \begin{array} { r } { \mathcal { H } _ { i } ( \pi ( t ) , \cdot ) = \operatorname* { m a x } _ { P _ { i } } \left\{ \langle \cdot , P _ { i } \rangle - c _ { i } ( \pi ( t ) , P _ { i } ) \right\} = \operatorname* { m a x } _ { P _ { i } } \left\{ \langle \cdot , P _ { i } \rangle + r _ { i } ( \pi ( t ) , P _ { i } ) \right\} } \end{array}
237
+ $$
238
+
239
+ Then the HJB equation (15) is an analogue to the backward equation in mean field games
240
+
241
+ $$
242
+ V _ { i } ^ { \prime } ( t ) + \mathcal { H } _ { i } ( \pi ( t ) , [ V _ { j } ( t ) - V _ { i } ( t ) ] _ { j \in \bar { \mathcal { V } } _ { i } ^ { - } } ) = 0
243
+ $$
244
+
245
+ where $[ V _ { j } ( t ) - V _ { i } ( t ) ] _ { j \in \bar { \mathcal { V } } _ { i } ^ { - } } \ \in \ \mathbb { R } ^ { | \bar { \mathcal { V } } _ { i } ^ { - } | }$ is the dual variable of $P _ { i }$ . We can discretize (15) using a semi-implicit scheme with unit time step labeled by $n$ to obtain
246
+
247
+ $$
248
+ \begin{array} { r } { V _ { i } ^ { n + 1 } - V _ { i } ^ { n } = - \operatorname* { m a x } _ { P _ { i } } \left\{ \sum _ { j \in \bar { \mathcal { V } } _ { i } ^ { - } } P _ { i j } ^ { n } ( V _ { j } ^ { n + 1 } - V _ { i } ^ { n + 1 } ) + r _ { i } ( \pi ^ { n } , P _ { i } ^ { n } ) \right\} } \end{array}
249
+ $$
250
+
251
+ Rearranging (18) yields the discrete time HJB equation over a graph (19)
252
+
253
+ $$
254
+ V _ { i } ^ { n } = \mathrm { m a x } _ { P _ { i } } \left\{ r _ { i } ( \pi ^ { n } , P _ { i } ^ { n } ) + \sum _ { j \in \bar { \mathcal { V } } _ { i } ^ { - } } P _ { i j } ^ { n } V _ { j } ^ { n + 1 } \right\}
255
+ $$
256
+
257
+ The forward evolving Fokker-Planck equation for the continuous-time graph-state MFG is given by
258
+
259
+ $$
260
+ \begin{array} { l } { { \pi _ { i } ^ { \prime } ( t ) = \displaystyle \sum _ { j \in \mathcal { V } _ { i } ^ { + } } Q _ { j i } ( t ) \pi _ { j } ( t ) - \sum _ { j \in \mathcal { V } _ { i } ^ { - } } Q _ { i j } ( t ) \pi _ { i } ( t ) } } \\ { { \mathrm { ~ w h e r e ~ } Q _ { j i } ( t ) = \partial _ { u _ { i } } \mathcal { H } _ { j } ( \pi ( t ) , [ V _ { k } ( t ) - V _ { j } ( t ) ] _ { k \in \bar { \mathcal { V } } _ { j } ^ { - } } ) } } \end{array}
261
+ $$
262
+
263
+ where $\partial _ { u _ { i } } \mathcal { H } _ { j } ( \pi , u )$ is the partial derivative w.r.t. the coordinate corresponding to the $i$ -th index of the argument $u \in \mathbb { R } ^ { | \bar { \nu } _ { j } ^ { - } | }$ . We can set $Q _ { j i } ( t ) = 0$ for all $( j , i ) \notin \mathcal { E }$ , so that $Q ( t ) : = [ Q _ { j i } ( t ) ]$ can be regarded as the $d$ -by- $d$ infinitesimal generator matrix of states $\pi ( t )$ , and hence (20) can be written as $\pi ^ { \prime } ( t ) = \pi ( t ) Q ( t )$ , where $\pi ( t ) \in \mathbb { R } ^ { d }$ is a row vector. Then an Euler discretization of (20) with unit time step reduces to $\pi ^ { n + 1 } - \pi ^ { n } = \pi ^ { n } Q ^ { n }$ , which can be written as
264
+
265
+ $$
266
+ \pi _ { i } ^ { n + 1 } = \sum _ { j \in \bar { \mathcal { V } } _ { i } ^ { + } } P _ { j i } ^ { n } \pi _ { j } ^ { n }
267
+ $$
268
+
269
+ where $P _ { i j } ^ { n } : = Q _ { i j } ^ { n } + \delta _ { i j }$ . If the graph $\mathcal { G }$ is complete, meaning $\mathcal { E } = \{ ( i , j ) : 1 \leq i , j \leq d \}$ , then the summation is taken over $j = 1 , \ldots , d$ . For ease of presentation, we only consider the complete graph in this paper, as all derivations can be carried out similarly for general directed graphs. A solution of a mean field game defined by (19) and (22) is a collection of $V _ { i } ^ { n }$ and $\pi _ { i } ^ { n }$ for $i = 1 , \ldots , d$ and $n = 0 , \ldots , N$ .
270
+
271
+ # B ALGORITHMS
272
+
273
+ We learn a reward function and policy using an adaptation of GCL (Finn et al., 2016) in $\mathrm { A l g \ 1 }$ and a simple actor-critic Alg 2 (Sutton & Barto, 1998) as a forward RL solver.
274
+
275
+ # Algorithm 1 Guided cost learning
276
+
277
+ 1: procedure GUIDED COST LEARNING
278
+ 2: Initialize $F _ { 0 } ( P ; \pi , \theta )$ as random policy and reward network weights $W ^ { 0 }$
279
+ 3: for iteration 1 to $I$ do
280
+ 4: Generate sample trajectories $\mathcal { D } _ { \mathrm { t r a j } }$ from $F _ { k } ( P ; \pi , \theta )$
281
+ 5: $\mathcal { D } _ { \mathrm { s a m p } } \mathcal { D } _ { \mathrm { s a m p } } \cup \mathcal { D } _ { \mathrm { t r a j } }$
282
+ 6: while $\left| \operatorname { A v g } _ { \pi _ { i } , P _ { i } \sim \mathcal { D } _ { \mathrm { d e m o } } } \left( R _ { W ^ { t } } ( \pi _ { i } , P _ { i } ) - R _ { W ^ { t - 1 } } ( \pi _ { i } , P _ { i } ) \right) \right| > d R$ do
283
+ 7: Sample demonstration $\hat { \mathcal { D } } _ { \mathrm { d e m o } } \subset \mathcal { D } _ { \mathrm { d e m o } }$ from expert demonstration
284
+ 8: Sample $\hat { \mathcal { D } } _ { \mathrm { s a m p } } \subset \mathcal { D } _ { \mathrm { s a m p } }$
285
+ 9: $\begin{array} { r } { W ^ { t + 1 } \gets W ^ { t } - \epsilon \nabla \mathcal { L } ( W ^ { t } ) } \end{array}$ using $\hat { \mathcal { D } } _ { \mathrm { d e m o } }$ and $\hat { \mathcal { D } } _ { \mathrm { s a m p } }$
286
+ 10: end while
287
+ 11: Run $\mathrm { A l g } 2$ with new $R _ { W }$ for improved $F _ { k + 1 }$
288
+ 12: end for
289
+ 13: return Final reward function $R _ { W } ( \pi , P )$ and policy $F ( P ; \pi , \theta )$
290
+ 14: end procedure
291
+
292
+ Algorithm 2 Actor-critic algorithm for MFG
293
+
294
+ Input: Generative model $F ( P ; \pi , \theta )$ , value function $\hat { V } ( \pi ; w )$ , training data $\{ \pi ^ { 0 } \} _ { \mathrm { M d a y s } }$
295
+ Output: Policy parameter $\theta$ , value function parameter $w$
296
+ 1: procedure ACTOR-CRITIC- $\mathbf { M F G } ( F , \hat { V } , \bar { \left\{ \pi ^ { 0 } \right\} } _ { \mathrm { M d a y s } } , \beta , \xi , R _ { W } )$
297
+ 2: initialize $\theta$ and $w$
298
+ 3: for episodes $s = 1 , \ldots , S$ do
299
+ 4: Sample initial distribution $\pi ^ { 0 }$ from $\{ \pi ^ { 0 } \} _ { \mathrm { { M } } }$ days
300
+ 5: for time step $n = 0 , \ldots , N - 1$ do
301
+ 6: Sample action $P ^ { n } \sim F ( P ; \pi ^ { n } , \theta )$
302
+ 7: Generate $\pi ^ { n + 1 }$ using Eq 3
303
+ 8: Receive reward $R _ { W } ( \pi ^ { n } , P ^ { n } )$
304
+ 9: $\delta R + \hat { V } ( \pi ^ { n + 1 } ; w ) - \hat { V } ( \pi ^ { n } ; w )$
305
+ 10: $w w + \xi \delta \nabla _ { w } \hat { V } ( \pi ^ { n } ; w )$
306
+ 11: $\theta \gets \theta + \beta \delta \nabla _ { \theta } \log ( F ( P ; \pi ^ { n } , \theta ) )$
307
+ 12: end for
308
+ 13: end for
309
+ 14: end procedure
310
+
311
+ # C REWARD NETWORK
312
+
313
+ Our reward network uses two convolutional layers to process the $1 5 \times 1 5$ action matrix $P$ , which is then flattened and concatenated with the state vector $\pi$ and processed by two fully-connected layers regularized with L1 and L2 penalties and dropout (probability 0.6). The first convolutional layer zero-pads the input into a $1 9 \times 1 9$ matrix and convolves one filter of kernel size $5 \times 5$ with stride 1 and applies a rectifier nonlinearity. The second convolutional layer zero-pads its input into a $1 7 \times 1 7$ matrix and convolves 2 filters of kernel size $3 \times 3$ with stride 1 and applies a rectifier nonlinearity. The fully connected layers have 8 and 4 hidden rectifier units respectively, and the output is a single fully connected tanh unit. All layers were initialized using the Xavier normal initializer in Tensorflow.
314
+
315
+ # D EXPERIMENT DETAILS
316
+
317
+ By default, Twitter users in a certain geographical region primarily see the trending topics specific to that region (Twitter, 2017). This experiment focused on the population and trending topics in the city of Atlanta in the U.S. state of Georgia. First, a set of 406 active users were collected to form the fixed population. This was done by collecting a set of high-visibility accounts in Atlanta (e.g. the Atlanta Falcons team), gathering all Twitter users who follow these accounts, filtering for those whose location was set to Atlanta, and filtering for those who responded to least two trending topics within four days.
318
+
319
+ Data collection proceeded as follows for 27 days: at 9am of each day, a list of the top 14 trending topics on Twitter in Atlanta was recorded; for each hour until midnight, for each topic, the number of users who responded to the topic and the transition counts among topics within the past hour was recorded. Whether or not a user responded to a topic was determined by checking for posts by the user containing unique words for that topic; the “hashtag” convention of trending topics on Twitter reduces the likelihood of false positives. The hourly count of people who did not respond to any topic was recorded as the count for a “null topic”. Although some users may respond to more than one topic within each hour, the data shows that this is negligible, and a shorter time interval can be used to reduce this effect. The result of data collection is a set of trajectories, one trajectory per day, where each trajectory consists of hourly measurements of the population distribution over $d = 1 5$ topics and their transition matrix over $N = 1 6$ hours.
320
+
321
+ The training set consists of trajectories $\{ \pi ^ { 0 , m } , { \cal P } ^ { 0 , m } , \ldots , { \cal P } ^ { N - 2 , m } , \pi ^ { N - 1 , m } \} _ { m = 1 , \ldots , M }$ over the first $M = 2 1$ days. MFG uses the initial distribution $\pi ^ { 0 }$ of each day, along with the transition equation of the constructed MDP and the policy $F ( P ; \pi ^ { n } , \theta )$ , to produce complete trajectories for training $( { \mathrm { A l g } } 2$ lines 4,6,7). In contrast, VAR and RNN are supervised learning methods and they use all measured distributions. RNN employs a simple recurrent unit with ReLU as nonlinear activation and weight matrix of dimension $d \times d$ . VAR was implemented using the Statsmodels module in Python, with order 18 selected via random sub-sampling validation with validation set size 5 (Seabold & Perktold, 2010). For prediction accuracy, all three methods were evaluated against data from 6 held-out test days. Table 1 shows parameters of $\mathrm { A l g } 2$ and 1.
322
+
323
+ Table 1: Parameters
324
+
325
+ <table><tr><td>Parameter</td><td>Use</td><td>Value</td></tr><tr><td>S</td><td>max actor-critic episodes</td><td>4000</td></tr><tr><td>β</td><td>critic learning rate</td><td>0(1/s)</td></tr><tr><td>m</td><td>actor learning rate</td><td>O(1/s ln ln s)</td></tr><tr><td>C</td><td>α scaling factor</td><td>1e4</td></tr><tr><td>E</td><td>Adam optimizer learning rate for reward</td><td>1e-4</td></tr><tr><td>dR</td><td>convergence threshold for reward iteration</td><td>1e-4</td></tr><tr><td>Ofinal</td><td>learned policy parameter</td><td>8.64</td></tr></table>
326
+
327
+ # E MAXIMUM ENTROPY DISTRIBUTION
328
+
329
+ Given a finite set of trajectories $\{ \tau _ { i } \} _ { i }$ , where each trajectory is a sequence of state-action pairs $\tau _ { i } = ( s _ { i 1 } , a _ { i 1 } , \dots , )$ . Suppose each trajectory $\tau _ { i }$ has an unknown probability $p _ { i }$ . The entropy of the probability distribution is $\begin{array} { r } { H = - \sum _ { i } p _ { i } \operatorname { l n } ( p _ { i } ) } \end{array}$ . In the continuous case, we write the differential entropy:
330
+
331
+ $$
332
+ H = - \int p ( \tau ) \ln ( p ( \tau ) ) d \tau
333
+ $$
334
+
335
+ where $p ( \cdot )$ is the probability density we want to derive. The constraints are:
336
+
337
+ $$
338
+ \begin{array} { c } { { \displaystyle { \int r ( \tau ) p ( \tau ) d \tau = \mathbb { E } [ r ( \tau ) ] = \mu _ { r } } } } \\ { { { } } } \\ { { { \displaystyle { \int p ( \tau ) d \tau = 1 } } } } \end{array}
339
+ $$
340
+
341
+ The first constraint says: the expected reward over all trajectories is equal to an empirical measurement $\mu _ { r }$ . We write the Lagrangian $\mathcal { L }$ :
342
+
343
+ $$
344
+ \mathcal { L } = - \int p ( \tau ) \ln ( p ( \tau ) ) d \tau - \lambda _ { 1 } \left( \int p ( \tau ) d \tau - 1 \right) - \lambda _ { 2 } \left( \int r ( \tau ) p ( \tau ) d \tau - \mu _ { r } \right)
345
+ $$
346
+
347
+ For $\mathcal { L }$ to be stationary, the Euler-Lagrange equation with integrand denoted by $L$ says
348
+
349
+ $$
350
+ \frac { \partial L } { \partial p } = 0
351
+ $$
352
+
353
+ $L$ does not depend on $\textstyle { \frac { d p } { d \tau } }$ . Hence
354
+
355
+ $$
356
+ \begin{array} { l } { { \lambda _ { 1 } = \displaystyle \ln \left( \int e ^ { - \lambda _ { 2 } r ( \tau ) } d \tau \right) - 1 } } \\ { { \displaystyle p ( \tau ) = \exp \left( - \ln \left( \int e ^ { - \lambda _ { 2 } r ( \tau ) } d \tau \right) - \lambda _ { 2 } r ( \tau ) \right) = \frac { 1 } { Z ( \lambda _ { 2 } ) } e ^ { - \lambda _ { 2 } r ( \tau ) } } } \end{array}
357
+ $$
358
+
359
+ where $\begin{array} { r } { Z : = \int e ^ { - \lambda _ { 2 } r ( \tau ) } d \tau } \end{array}$ . Then the constant $\lambda _ { 2 }$ is determined by:
360
+
361
+ $$
362
+ \begin{array} { l } { \displaystyle \mu _ { r } = \int p ( \tau ) r ( \tau ) d \tau = \frac { 1 } { Z ( \lambda _ { 2 } ) } \int e ^ { - \lambda _ { 2 } r ( \tau ) } r ( \tau ) d \tau } \\ { \displaystyle = - \frac { \partial } { \partial \lambda _ { 2 } } \ln ( Z ( \lambda _ { 2 } ) ) } \end{array}
363
+ $$
364
+
365
+ # F MULTIPLE IMPORTANCE SAMPLING
366
+
367
+ We show how multiple importance sampling (Owen & Zhou, 2000) can be used to estimate the partition function in the maximum entropy IRL framework. The problem is to estimate $\textstyle Z : = \int f ( x ) { \dot { d x } }$ . Let $p _ { 1 } , \ldots , p _ { m }$ be $m$ proposal distributions, with $n _ { j }$ samples from the $j$ -th proposal distribution, so that samples can be denoted $X _ { i j }$ for $i = 1 , \dotsc , n _ { j }$ and $j = 1 , \ldots , m$ . Let $w _ { j } ( x )$ for $j = 1 , \ldots , m$ satisfy
368
+
369
+ $$
370
+ 0 \leq w _ { j } ( x ) \leq \sum _ { j = 1 } ^ { m } w _ { j } ( x ) = 1
371
+ $$
372
+
373
+ Then define the estimator
374
+
375
+ $$
376
+ \hat { Z } = \sum _ { j = 1 } ^ { m } \frac { 1 } { n _ { j } } \sum _ { i = 1 } ^ { n _ { j } } w _ { j } ( X _ { i j } ) \frac { f ( X _ { i j } ) } { p _ { j } ( X _ { i j } ) }
377
+ $$
378
+
379
+ Let $S ( p _ { j } ) = \{ x \mid p _ { j } ( x ) > 0 \}$ be the support of $p _ { j }$ and $S ( w _ { j } ) = \{ x \mid w _ { j } ( x ) > 0 \}$ be the support of $w _ { j }$ , and let them satisfy $S ( w _ { j } ) \subset S ( p _ { j } )$ . Under these assumptions:
380
+
381
+ $$
382
+ \mathbb { E } [ \hat { Z } ] = \int f ( x ) d x = Z
383
+ $$
384
+
385
+ In particular, choose
386
+
387
+ $$
388
+ w _ { j } ( x ) : = \frac { n _ { j } p _ { j } ( x ) } { \sum _ { k = 1 } ^ { m } n _ { k } p _ { k } ( x ) }
389
+ $$
390
+
391
+ Then the estimate becomes
392
+
393
+ $$
394
+ \begin{array} { c } { { \hat { Z } = \displaystyle \sum _ { j = 1 } ^ { m } \sum _ { i = 1 } ^ { n _ { j } } \frac { f ( X _ { j i } ) } { \sum _ { k = 1 } ^ { m } n _ { k } p _ { k } ( x ) } } } \\ { { = \displaystyle \frac { 1 } { n } \sum _ { j = 1 } ^ { m } \sum _ { i = 1 } ^ { n _ { j } } \frac { f ( X _ { j i } ) } { \sum _ { k = 1 } ^ { m } \frac { n _ { k } } { n } p _ { k } ( x ) } } } \end{array}
395
+ $$
396
+
397
+ where $\begin{array} { r } { n = \sum _ { j = 1 } ^ { m } n _ { j } } \end{array}$ is the total count of samples. Further assuming that samples are drawn uniformly from all proposal distributions, so that $n _ { j } = n _ { k } = n / m$ for all $j , k \in \{ 1 , \ldots , m \}$ , the expression for $\hat { Z }$ reduces to the form used in Eq 13:
398
+
399
+ $$
400
+ { \hat { Z } } = { \frac { 1 } { n } } \sum _ { { \mathrm { a l l ~ s a m p l e s } } } { \frac { f ( x ) } { { \frac { 1 } { m } } \sum _ { k = 1 } ^ { m } p _ { k } ( x ) } }
401
+ $$
402
+
403
+ # G A COMPARISON OF MEAN FIELD GAMES AND MULTI-AGENT MDPS
404
+
405
+ In this section, we discuss the reason that the general MFG, whose reward function $r _ { i j } ( \pi ^ { n } , P ^ { n } )$ depends on the full Nash maximizer matrix $P ^ { n }$ , is neither reducible to a collection of distinct singleagent MDPs nor equivalent to a multi-agent MDP. Let a state in the discete space MFG be called a “topic”, to avoid confounding with an MDP state.
406
+
407
+ # G.1 COLLECTION OF SINGLE-AGENT MDPS
408
+
409
+ Consider each topic $i$ as a separate entity associated with a value, rather than subsuming it into an average (as is the case in Section 4). In order to assign a value to each topic, each tuple $( i , \pi ^ { n } )$ must be defined as a state, which leads to the problem: since a state requires specification of $\pi ^ { n }$ , and state transitions depend on the actions for all other topics, the action at each topic is not sufficient for fully specifying the next state. More formally, consider a value function on the state:
410
+
411
+ $$
412
+ V ( i , \pi ^ { n } ) = \operatorname* { m a x } _ { q \in \mathbb { S } _ { i } ( \mathcal { G } ) } \biggl \{ \sum _ { j } q _ { j } r _ { i j } ( \pi ^ { n } , \mathcal { P } ( P ^ { n } , i , q ) ) + \sum _ { j } q _ { j } V ( j , ( P ^ { n } ) ^ { T } \pi ^ { n } ) \biggr \}
413
+ $$
414
+
415
+ Superficially, this resembles the Bellman optimality equation for the value function in a single-agent stochastic MDP, where $s$ is a state, $a$ is an action, $R$ is an immediate reward, and $P ( s ^ { \prime } | s , \bar { a } )$ is the probability of transition to state $s ^ { \prime }$ from state $s$ , given action $a$ :
416
+
417
+ $$
418
+ V ^ { * } ( s ) = \operatorname* { m a x } _ { a } \{ R ( s , a ) + \sum _ { s ^ { \prime } } P ( s ^ { \prime } | s , a ) V ^ { * } ( s ^ { \prime } ) \}
419
+ $$
420
+
421
+ In equation 23, $q _ { j }$ can be interpreted as a transition probability, conditioned on the fact that the current topic is $i$ . The action $q$ selected in the state $( i , \pi ^ { n } )$ induces a stochastic transition to a next topic $j$ , but the next distribution $\pi ^ { n + 1 }$ is given by the deterministic forward equation $\pi ^ { n + 1 } =$ $( P ^ { n } ) ^ { T } \pi ^ { n }$ , where $P ^ { n }$ is the true Nash maximizer matrix. This means that $q _ { j }$ does not completely specify the next state $( j , \pi ^ { n + 1 } )$ , and there is a formal difference between $P ( s ^ { \prime } | s , a ) V ^ { * } ( s ^ { \prime } )$ and $\mathring { q _ { j } } V ( \bar { j } , ( P ^ { n } ) ^ { T } \pi ^ { n } )$ . Also notice that the Bellman equation sums over all possible next states $s ^ { \prime }$ , but equation 23 only sums over topics $j$ rather than full states $( j , \pi )$ .
422
+
423
+ # G.2 MULTI-AGENT MDP
424
+
425
+ Short of modeling every single agent in the MFG, an exact reduction from the MFG to a multi-agent MDP (i.e. Markov game) is not possible. A discrete state space discrete action space multi-agent MDP is defined by $d$ agents moving within a set $S$ of environment states; a collection $\{ A _ { 1 } , \dotsc , \bar { A } _ { d } \}$ of action spaces; a transition function $P ( s ^ { \prime } | s , a _ { 1 } , \ldots , a _ { d } )$ giving the probability of the environment transitioning from current state $s$ to next state $s ^ { \prime }$ , given that agents choose actions $\bar { a } : = ( a _ { 1 } , \ldots , a _ { d } )$ ; a collection of reward functions $\{ R _ { i } ( s , a _ { 1 } , \ldots , a _ { d } ) \} _ { i }$ ; and a discount factor $\gamma$ .
426
+
427
+ Let the set of $\pi ^ { n }$ (with appropriate discretization) be the state space and limit the set of actions to some discretization of the simplex. The alternative to modeling individual MFG agents is to consider each topic as a single “agent”. Now, the agent representing topic $i$ is no longer identified with the set of people who selected topic $i$ : topics have fixed labels for all time, so an agent can only accumulate reward for a single topic, whereas people in the MFG can move among topics. Therefore, the value function for agent $i$ in a Markov game is defined only in terms of itself, never depending on the value function of agents $j \neq i$ :
428
+
429
+ $$
430
+ V _ { i } ^ { \mu } ( s ) = \sum _ { \bar { a } } \prod _ { j } \mu _ { j } ( \bar { a } _ { j } | s ) \left( R _ { i } ( s , \bar { a } ) + \gamma \sum _ { s ^ { \prime } } P ( s ^ { \prime } | s , \bar { a } ) V _ { i } ^ { \mu } ( s ^ { \prime } ) \right)
431
+ $$
432
+
433
+ where $\boldsymbol { \mu } : = \left( \mu _ { 1 } , \ldots , \mu _ { d } \right)$ is a set of stationary policies of all agents. However, recall that the MFG equation for $V _ { i } ^ { n }$ explicitly depends on $V _ { j } ^ { n + 1 }$ of all topics $j$ , which would require a different form such as the following:
434
+
435
+ $$
436
+ V _ { i } ^ { \mu } ( \pi ^ { n } ) = \sum _ { P \in \mathbb { S } ( \mathcal { G } ) } \prod _ { j = 1 } ^ { d } \mu _ { j } ( P _ { j } | \pi ^ { n } ) \left( \sum _ { k } P _ { i k } r _ { i k } ( \pi ^ { n } , P ) + \sum _ { k } P _ { i k } V _ { k } ^ { \mu } \big ( P ^ { T } \pi ^ { n } \big ) \right)
437
+ $$
438
+
439
+ where the last terms sums over value functions $V _ { k } ^ { \mu }$ for all topics $k$ . This mixing between value functions prevents a reduction from the MFG to a standard Markov game.
parse/train/HktK4BeCZ/HktK4BeCZ_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/HktK4BeCZ/HktK4BeCZ_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/HktK4BeCZ/HktK4BeCZ_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/MSXDyfli9vy/MSXDyfli9vy.md ADDED
@@ -0,0 +1,271 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Universal Graph Convolutional Networks
2
+
3
+ Di $\mathbf { J i n ^ { 1 \dagger } }$ , Zhizhi $\mathbf { V } \mathbf { u } ^ { \mathbf { 1 } \dagger }$ , Cuiying $\mathbf { H u o ^ { 1 } }$ , Rui Wang1, Xiao Wang2\*, Dongxiao $\mathbf { H e ^ { 1 } }$ , and Jiawei $\mathbf { H a n } ^ { 3 }$
4
+
5
+ 1College of Intelligence and Computing, Tianjin University, Tianjin, China 2School of Computer Science (National Pilot Software Engineering School), Beijing University of Posts and Telecommunications, Beijing, China 3Department of Computer Science, University of Illinois at Urbana-Champaign, Champaign, IL, USA {jindi, yuzhizhi, huocuiying, wr1895, hedongxiao}@tju.edu.cn xiaowang@bupt.edu.cn, hanj@illinois.edu
6
+
7
+ # Abstract
8
+
9
+ Graph Convolutional Networks (GCNs), aiming to obtain the representation of a node by aggregating its neighbors, have demonstrated great power in tackling various analytics tasks on graph (network) data. The remarkable performance of GCNs typically relies on the homophily assumption of networks, while such assumption cannot always be satisfied, since the heterophily or randomness are also widespread in real-world. This gives rise to one fundamental question: whether networks with different structural properties should adopt different propagation mechanisms? In this paper, we first conduct an experimental investigation. Surprisingly, we discover that there are actually segmentation rules for the propagation mechanism, i.e., 1-hop, 2-hop and $k$ -nearest neighbor $( k \mathsf { N N } )$ neighbors are more suitable as neighborhoods of network with complete homophily, complete heterophily and randomness, respectively. However, the real-world networks are complex, and may present diverse structural properties, e.g., the network dominated by homophily may contain a small amount of randomness. So can we reasonably utilize these segmentation rules to design a universal propagation mechanism independent of the network structural assumption? To tackle this challenge, we develop a new universal GCN framework, namely U-GCN. It first introduces a multi-type convolution to extract information from 1-hop, 2-hop and $k \mathbf { N N }$ networks simultaneously, and then designs a discriminative aggregation to sufficiently fuse them aiming to given learning objectives. Extensive experiments demonstrate the superiority of U-GCN over state-of-the-arts. The code and data are available at https://github.com/jindi-tju.
10
+
11
+ # 1 Introduction
12
+
13
+ Real-world complex systems can often be viewed as networks, such as social networks, biological networks and citation networks. Recently, research of analyzing networks with deep learning has received widespread attention both in academia and industry. In particular, Graph Convolutional Networks (GCNs) [14], which obtain the meaningful representation of nodes in the network by integrating the neighborhood information, have achieved great success and been widely applied in tackling network analytics tasks, such as node classification [23, 28], link prediction [33] and recommendation [30, 17].
14
+
15
+ While the success of GCNs and their variants [1, 6], a key weakness is the homophily assumption of networks, which restricts their performance on general network data. To be specific, most GCNs seem to be tailor-made to work on homophily networks [18], where nodes within the same class tend to connect with each other. In fact, heterophily [20] networks, where nodes of different classes tend to link together, are also widespread in real-world. For example, different types of amino acids are more likely to be connected in protein structure [35], and fraudsters tend to connect to accomplices than to other fraudsters in transaction networks [21]. Furthermore, the random networks also often exist in real-world, such as railway networks, where the edges between nodes are more likely to be randomly generated.
16
+
17
+ Most popular GCNs typically obtain node embeddings of these networks using 1-hop network neighbors as neighborhoods for information propagation [12, 29]. However, considering the different structural properties of networks (e.g., homophily or heterophily), whether different networks should adopt a unified or different propagation mechanisms? This is a very important question for GCNs since they mainly gain better performance through the propagation of information. A well informed answer can help us better understand the essence of GCNs, such as how different types of nodes affect the propagation, and what type of nodes are really required to achieve a certain level of predictive accuracy aiming to different networks.
18
+
19
+ Several recent works have studied the networks with different structural properties. For example, Pei et al. [22] consider the heterophlily property of networks, and propose a geometric aggregation scheme to overcome neighborhood structural information losing and long-range dependencies lacking. Zhu et al. [35] design an effective model which improves the representation power of GCNs under heterophily through theoretical and empirical analysis. Chien et al. [4] introduce a new generalized pageRank (GPR) architecture to jointly optimize node feature and topological information extraction. Bo et al. [2] assess the roles of low-frequency and high-frequency signals, and propose an efficient method that can adaptively integrate different signals in the process of message passing. However, there is still a lack of insightful understanding from the perspective of propagation mechanism.
20
+
21
+ As the first contribution of this study, we conduct experiments analysing the propagation mechanism of GCNs in networks with different structural properties. Surprisingly, our experiments clearly illustrate that for networks with complete homophily, complete heterophily and randomness, 1-hop, 2-hop and $k$ -nearest neighbor $( k \mathrm { N N } )$ neighbors are more suitable as neighborhoods for information propagation, respectively. This means that the depicting ability of the current propagation mechanism of GCNs is limited, and networks with different structural properties may need to adopt different propagation mechanisms.
22
+
23
+ In fact, while these segmentation rules seem to be able to select appropriate nodes as neighborhoods in an ideal way, the real-world networks are complex, and may present diverse properties, e.g., the network dominated by homophily may contain a small amount of randomness or heterophily. A natural question is, “Can we reasonably utilize these segmentation rules to design a universal propagation mechanism independent of the network structural assumption?"
24
+
25
+ To tackle this challenge, we propose a novel and universal GCN model, i.e., U-GCN, for general network data. The central idea is that we learn node embeddings by making full use of the information from 1-hop, 2-hop and $k \mathbf { N N }$ neighbors, and fuse them adaptively to derive deeper correlation information for the given learning objectives. To be specific, we first introduce a multi-type convolution mechanism. It uses 1-hop network (i.e., original input network), 2-hop network and $k \mathbf { N N }$ network that constructed by 1-hop, 2-hop and $k \mathbf { N N }$ neighbors for direct information propagation separately, and utilizes a node-level attention mechanism for each network, to extract three specific embeddings. We then make a discriminative aggregation to learn out the importance of these three embeddings, thereby extracting the most correlated information aiming to the ground truth such as node classification. Extensive experiments on a series of benchmark datasets demonstrate the superiority of U-GCN over some state-of-the-arts.
26
+
27
+ # 2 Notations and Preliminaries
28
+
29
+ Let $G = ( A , X )$ be an undirected attributed network, where $A \in \mathbb { R } ^ { n \times n }$ represents the symmetric adjacency matrix with $n$ nodes, and $\ b X \in \mathbb R ^ { n \times p }$ is the attribute (content) matrix of $p$ attributes per node. Concretely, $a _ { i j } = 1$ denotes there is an edge between nodes $v _ { i }$ and $v _ { j }$ , or 0 otherwise; and $x _ { i }$ represents the attribute vectors of node $v _ { i }$ .
30
+
31
+ Given an attribute network $G$ , and a labeled node set $V _ { L }$ containing $u \ll | V |$ nodes, where each node $v _ { i } \in V _ { L }$ contains a unique class label $y _ { i } \in Y$ . The goal of semi-supervised node classification is to infer the labels of nodes in $V \backslash V _ { L }$ by learning a classification function $\mathcal { F }$ .
32
+
33
+ Homophily. In this work, the level of homophily ratio of edges [35] is used to define networks with strong homophily/heterophily. Specifically, the level of homophily ratio of edges is the fraction of edges in a network which connect nodes that have the same class label (i.e., intra-class edges), described by:
34
+
35
+ $$
36
+ \alpha = \frac { | ( v _ { i } , v _ { j } ) : a _ { i j } = 1 \land y _ { i } = y _ { j } | } { | m | } ,
37
+ $$
38
+
39
+ where $m$ is the number of edges. Networks with $\alpha$ closer to 1 tend to have more edges connecting nodes within the same class, or stronger homophily; whereas networks with $\alpha$ closer to 0 have more edges connecting nodes in different classes, or stronger heterophily.
40
+
41
+ Graph Convolutional Network. Graph Convolutional Network (GCN) [14] is a variant of multilayer convolutional neural networks that operates directly on networks. It learns embedding of each node by iteratively aggregating the information from its neighbors. Mathematically, let $H ^ { ( l ) }$ be the feature representation of the $l$ -th layer, and $H ^ { ( 0 ) }$ be the node attribute matrix, the forward propagation can be defined as:
42
+
43
+ $$
44
+ H ^ { ( l ) } = \sigma ( \tilde { D } ^ { - \frac { 1 } { 2 } } \tilde { A } \tilde { D } ^ { - \frac { 1 } { 2 } } H ^ { ( l - 1 ) } W ^ { ( l ) } ) ,
45
+ $$
46
+
47
+ where ${ \tilde { A } } = A + I$ stands for the adjacency matrix with self-loops, $\tilde { D }$ the node degree matrix of $\tilde { A }$ , i.e., $\begin{array} { r } { \tilde { D } _ { i i } = \sum _ { j } \tilde { A } _ { i j } } \end{array}$ , $W ^ { ( l ) }$ a trainable weight matrix and $\sigma$ the non-linear activation function. While GCN works well on several network analysis tasks such as node classification [10, 15], it still has a fundamental problem, that is, homophily assumption of networks, which leads to the main contribution in this work, i.e., analyse what type of nodes are more suitable as neighborhoods for direct information propagation independent of the network structural assumption.
48
+
49
+ # 3 Motivating Observations
50
+
51
+ Here, we present a simple yet intuitive case study to illustrate and analyze the performance of GCN changes with different propagation mechanisms. The main idea is that we will apply GCN to networks with different structural properties utilizing three types of nodes: 1-hop, 2-hop and $k$ -nearest neighbor $( k \mathrm { N N } )$ neighbors, which are often believed to be the effective neighborhoods for node classification in networks [28, 35], to realize the information propagation, respectively. Then, we will check the performance of GCN on these cases. A universal propagation mechanism should provide a good result in general network data. However, if the performance drops sharply in comparison with the other two situations, this will demonstrate that networks with different structural properties may need to use different propagation mechanisms.
52
+
53
+ Setup. We conduct experiments on the Newman artificial networks [7] with different properties. The network consists 128 nodes divided into 4 classes, where each node has on average $z _ { i n }$ edges (i.e., intra-class edges) connecting to nodes of the same class and $z _ { o u t }$ edges (i.e., inter-class edges) to nodes of other classes, and $z _ { i n } + z _ { o u t } = 1 6$ . Note that here we utilize two indicators: $\rho _ { i n } = z _ { i n } / 3 2$ and $\rho _ { o u t } ~ = ~ z _ { o u t } / 9 6$ , to determine the network property, i.e., $\rho _ { i n } > \rho _ { o u t }$ , $\rho _ { i n } = \rho _ { o u t }$ and $\rho _ { i n } <$ $\rho _ { o u t }$ means the network with homophily, randomness and heterophily, respectively.
54
+
55
+ For node attributes, we generate a $4 h$ -dimensional binary attributes (i.e., $x _ { i }$ ) for each node to form 4 attribute clusters, corresponding to the 4 classes [9]. To be specific, for every node in the $m$ -th class, we use a binomial distribution with mean $p _ { i n } = h _ { i n } / h$ to generate a $h$ -dimensional binary vector as its $( ( m - 1 ) \times h + 1 )$ -th to $( m \times h )$ -th attributes, and generated the rest attributes using a binomial distribution with mean $p _ { o u t } = h _ { o u t } / ( 3 h )$ . In our experiments, we set $4 h = 2 0 0$ and $h _ { o u t } = 4 ( h _ { i n } + h _ { o u t } = 1 6 )$ , so that $p _ { i n } > p _ { o u t }$ , the $h$ -dimensional attributes are associated with the $m$ -th class with a higher probability, whereas the rest $_ { 3 h }$ attributes are irrelevant.
56
+
57
+ ![](images/5efa61c6bd3545e6a26eab5dc9189bae0c560b3d82dc3bb3649fca01345ff05a.jpg)
58
+ Figure 1: The performance of GCN of using different propagation mechanisms: 1-hop, 2-hop and $k \mathbf { N N }$ neighbors as neighborhoods respectively on Newman networks.
59
+
60
+ As shown in Figure 1, for networks with strong homophily (e.g., $\rho _ { o u t } = 0 . 0 7 5 )$ , it is easy to obtain high accuracy using 1-hop network neighbors. However, as the inter-class edges increase, the accuracy is rapidly reduced. This mainly due to the homophily assumption, preventing GCN from effectively fusing information. On the other hand, for networks with strong heterophily (e.g., $\rho _ { o u t } = 0 . 1 6 5 )$ , it is surprising that, the accuracy of GCN of using 2-hop neighbors as neighborhoods (i.e., $8 3 . 1 5 \%$ ) is much higher than that of using 1-hop network neighbors (i.e., $3 2 . 8 5 \%$ ). Since the homophily ratio of 2-hop neighbors may rise with the increase of inter-class edges, GCN of using 2-hop neighbors is more effective to some extent. Interestingly, we can find that GCN of utilizing $k \mathbf { N N }$ is easy to get the staple accuracy, i.e., $7 1 . 4 6 \%$ . In particular, it is much higher than those of using 1-hop and 2-hop neighbors on complete random network (i.e., $\rho _ { o u t } = 0 . 1 2 5 )$ ).
61
+
62
+ Summary. This case study shows that the current propagation mechanism of GCN is not universal for general network data, but we can find that there are rules in several special situations (i.e., complete random network). This motivates us that networks with different structural properties may need adopt different propagation mechanisms.
63
+
64
+ We conduct extra experiments on Newman networks [7] with complete homophily, randomness and complete heterophily utilizing GCN, so as to discover more appropriate propagation mechanism to select valuable nodes as neighborhoods, and thus improving the performance of GCNs for different networks. One straightforward strategy is to learn network embeddings with different GCNs using different types of nodes (i.e., 1-hop, 2-hop and $k \mathbf { N N }$ neighbors), and concatenate the embeddings into a single vector, so as to use the discriminative aggregation mechanism (which will be introduced in Section 4.2 below) to learn their importance for node classification. We show the attention values as a function of the number of training iterations in Figure 2.
65
+
66
+ ![](images/5a650b43450aa57c3672fb1bb1eb7cca0f63454cb87dc09a98447f654dad50a5.jpg)
67
+ Figure 2: An example illustrating that the importance of three different types of neighbors (i.e., 1-hop, 2-hop and $k \mathbf { N N }$ neighbors) changes with network properties. The upper part of A-C represents networks with complete homophily, randomness and complete heterophily, respectively; while the lower part denotes the attention values as a function of the number of training iterations in corresponding networks.
68
+
69
+ Observation 1: Network with complete homophily tends to obtain better performance utilizing 1-hop network neighbors for direct information propagation. For the network in Figure 2A, the edges exist only in nodes within the same class, or complete homophily. As shown, 1-hop network neighbors show great importance as the increase of training iterations. This partly validates that under the setting of complete homophily, 1-hop neighbors are more effective for direct information propagation compared to 2-hop and $k \mathbf { N N }$ neighbors.
70
+
71
+ Observation 2: Network with randomness tends to get better performance utilizing kNN for direct information propagation. The network in Figure 2B exhibits more randomness than Figure 2A, that is, complete random network. Obviously, with the increase of training iterations, the attention value of $k \mathbf { N N }$ is much higher than those of 1-hop and 2-hop neighbors. Since $k \mathbf { N N }$ typically constructed according to the similarity of node attributes, it can still realize the information fusion effectively, compared with the other two types of neighbors, in case that the network topology contains noise.
72
+
73
+ Observation 3: Network with complete heterophily tends to obtain better performance utilizing 2-hop neighbors for direct information propagation. For the network in Figure 2C, the edges exist only in nodes within different classes, or complete heterophily. While the learned attention values of these three types of neighbors differ slightly, the importance of 2-hop neighbors is relatively higher. This is mainly due to the fact that the homophily ratio of 2-hop neighbors becomes higher with the increase of inter-class edges (which is often the real life in many network analysis tasks).
74
+
75
+ While networks with different structural properties provide better performance utilize different propagation mechanisms, the real-world networks are complex, and may show diverse properties, e.g., the network dominated by homophily may contain a small amount of heterophily. Therefore, it is imperative to explore a universal propagation mechanism for GCNs independent of the network structural assumption.
76
+
77
+ Theorem 1. The real-world networks can be approximately decomposed into a mixture of three kinds of simple networks, namely complete homophily, complete random and complete heterophily, in different proportions.
78
+
79
+ Proof. Given a network $G$ , where $n$ and $m$ denote the number of nodes and edges, respectively. Assuming that $r$ edges $0 \leq r \leq m _ { , }$ ) are generated randomly, i.e., the probability of nodes connecting nodes within the same class or different classes is the same, which form a complete random network (with $n$ nodes and $r$ edges). The remaining edges connecting two nodes within the same class can then be regarded as composing a complete homophily network, or a complete heterophily network.
80
+
81
+ Summary. Now, we can conclude that a universal GCN model may not only consider the 1-hop (Observation 1), but also the 2-hop (Observation 2) and $k \mathbf { N N }$ neighbors (Observation 3) for direct information propagation. More importantly, considering different network properties can be more correlated with one of them or even their combinations, the model itself should adaptively learn their corresponding importance, so as to achieve feature fusion more effectively. This case study, although leveraging specific artificial networks, is representative because real-world networks can often be considered as the combination of these three simple network cases.
82
+
83
+ # 4 Our Proposed Approach
84
+
85
+ To address the homophily assumption of GCNs, our basic idea is to design a universal GCN framework which is suitable for general networks with any structural properties. It can not only make full use of the information from 1-hop, 2-hop and $k \mathbf { N N }$ neighbors, but also fuse them sufficiently aiming to given learning objectives. In this section, we start by proposing a new simple multi-type convolution mechanism over three kinds of neighbors, and then introduce a discriminative aggregation to learn the importance of each part: 1-hop, 2-hop and $k \mathbf { N N }$ neighbors, automatically.
86
+
87
+ # 4.1 Multi-type Convolution Mechanism
88
+
89
+ To capture the information from 2-hop and $k \mathbf { N N }$ neighbors, we construct a 2-hop network $G _ { R } =$ $( A _ { R } , X )$ based on original input network $G _ { D } = ( A _ { D } , X )$ , and a $k \mathbf { N N }$ network $G _ { F } = ( A _ { F } , X )$ based on node feature matrix $X$ .
90
+
91
+ 2-hop Network. For adjacency matrix $A _ { R }$ , considering that the number of neighbors at exactly 2 hops away may raise exponentially with the increase of network scale, we introduce a constraint, i.e., select node pairs connected by at least two different paths for each node to set edges. Simultaneously, we adopt the classic two-layers GCN to perform message passing on this 2-hop network $( A _ { R } , X )$ , and the $l$ -th layer embedding matrix $H _ { R } ^ { ( l ) }$ can be denoted as:
92
+
93
+ $$
94
+ H _ { R } ^ { ( l ) } = \sigma ( \tilde { D } _ { R } ^ { - \frac { 1 } { 2 } } \tilde { A } _ { R } \tilde { D } _ { R } ^ { - \frac { 1 } { 2 } } H _ { R } ^ { ( l - 1 ) } W _ { R } ^ { ( l ) } ) ,
95
+ $$
96
+
97
+ where $\tilde { A } _ { R } = A _ { R } + I$ , $I$ is the identity matrix, $\tilde { D } _ { R }$ the diagonal degree matrix of ${ \tilde { A } } _ { R }$ , $W _ { R } ^ { ( l ) }$ the weight matrix and $\sigma$ the non-linear activation function such as ReLU or Sigmoid. In this way, we can learn the node embeddings that capture the specific information from 2-hop neighbors.
98
+
99
+ kNN Network. There are many ways to obtain $k \mathbf { N N }$ for each node, such as Jaccard similarity, Cosine similarity and Gauss kernel. In what follows, we calculate the similarity matrix $S \in \mathbb { R } ^ { n \times n }$ among $n$ nodes utilizing Cosine similarity, which adopts the cosine value of the angle between two vectors to measure the similarity. Mathematically, let $x _ { i }$ be the feature vectors of node $v _ { i }$ , the similarity $s _ { i j }$ between nodes $v _ { i }$ and $v _ { j }$ is defined as:
100
+
101
+ $$
102
+ s _ { i j } = { \frac { x _ { i } \cdot x _ { j } } { | x _ { i } | | x _ { j } | } } .
103
+ $$
104
+
105
+ Then, the adjacency matrix $A _ { F }$ can be obtained by choosing top $k$ similar node pairs for each node to set edges. Accordingly, the $l .$ -th layer embedding matrix $H _ { F } ^ { ( l ) }$ that gains the information from $k \mathbf { N N }$ can be calculated in the same way as in 2-hop network. Also of note, we use a linear algorithm Ball-tree [16] for the calculation of $k \mathbf { N N }$ network which will not increase the complexity of GCN.
106
+
107
+ As for 1-hop network neighbors, we acquire the $l$ -th layer embedding matrix $H _ { D } ^ { ( l ) }$ performing direct information propagation on original input network $G _ { D } = ( A _ { D } , X )$ . Therefore, the specific information encoded in 1-hop network neighbors can be extracted.
108
+
109
+ Node-level Attention. Before aggregating the information from original input network, 2-hop network and $k \mathbf { N N }$ network, we should note that the network-based neighbors of each node contribute to the embedding of the target node in different degrees. Here we adopt node-level attention [26] to learn the importance of network-based neighbors for each node. To be specific, given a node pair $\boldsymbol { v } _ { i }$ , $v _ { j }$ ) and a specified network type $t$ (where $t \in \{ G _ { D } , G _ { R } , G _ { F } \} )$ , the importance coefficient between nodes $v _ { i }$ and $v _ { j }$ can be formulated as:
110
+
111
+ $$
112
+ e _ { i j } ^ { t } = \mathrm { L e a k y R e L U } ( \mu _ { t } ^ { T } [ W h _ { i } | | W h _ { j } ] ) , \ \alpha _ { i j } ^ { t } = \mathrm { s o f t m a x } _ { j } ( e _ { i j } ^ { t } ) = \frac { \exp ( e _ { i j } ^ { t } ) } { \sum _ { r \in N _ { i } ^ { t } } \exp ( e _ { i r } ^ { t } ) } ,
113
+ $$
114
+
115
+ where $\mu _ { t }$ is the parameterized attention vector for network type $t$ , and $W$ the mapping matrix applied to each node. Then, the embedding of node $v _ { i }$ for network type $t$ can be aggregated by the neighbor’s embeddings with its corresponding weight coefficients as:
116
+
117
+ $$
118
+ h _ { i } ^ { t } = \sigma ( \sum _ { j \in N _ { i } ^ { t } } \alpha _ { i j } ^ { t } W h _ { j } ) .
119
+ $$
120
+
121
+ # 4.2 Discriminative Aggregation
122
+
123
+ After the multi-type convolution above, we then perform a discriminative aggregation utilizing the attention mechanism, so as to learn the contributions of 1-hop, 2-hop and $k \mathbf { N N }$ neighbors automatically based on the given learning objectives. To be specific, for each node $v _ { i }$ , let $h _ { i } ^ { t }$ denote its embedding in $H _ { t }$ , the attention value $\beta _ { i } ^ { t }$ can then be represented as:
124
+
125
+ $$
126
+ \beta _ { i } ^ { t } = q ^ { T } \cdot \operatorname { t a n h } ( W _ { t } \cdot ( h _ { i } ^ { t } ) ^ { T } + b _ { t } ) ,
127
+ $$
128
+
129
+ where $q$ denotes the parameterized attention vector, $W _ { t }$ the weight matrix and $b _ { t }$ the bias vector.
130
+
131
+ After obtaining the attention value of each network, i.e., $\beta _ { i } ^ { D } , \beta _ { i } ^ { R } , \beta _ { i } ^ { F }$ , we normalize them via softmax function to get the final weight:
132
+
133
+ $$
134
+ \gamma _ { i } ^ { t } = \mathrm { s o f t m a x } ( \beta _ { i } ^ { t } ) = \frac { \exp ( \beta _ { i } ^ { t } ) } { \sum _ { t } \exp ( \beta _ { i } ^ { t } ) } .
135
+ $$
136
+
137
+ Obviously, a larger $\gamma _ { i } ^ { t }$ value means that the corresponding embedding is more important. The ouput embedding $H$ can then be aggregated by these network-specific embeddings with its corresponding weight coefficients as:
138
+
139
+ $$
140
+ H = \sum _ { t } \gamma _ { i } ^ { t } \cdot H ^ { t } .
141
+ $$
142
+
143
+ Following GCN, we define the loss function by using cross entropy as:
144
+
145
+ $$
146
+ \mathcal { L } = - \sum _ { i \in \mathcal { V } _ { L } } \sum _ { f = 1 } ^ { F } Y _ { i f } \ln H _ { i f } ,
147
+ $$
148
+
149
+ where $\mathcal { { V } } _ { L }$ is the set of node indices that have labels, $Y$ the label indicator matrix, and $F$ the dimension of the output embedding, which is equal to the number of classes.
150
+
151
+ # 5 Experiments
152
+
153
+ We first give the experimental setup, and then compare our U-GCN with some state-of-the-arts on node classification. We finally give an in-depth analysis of different components of our new approach.
154
+
155
+ # 5.1 Experimental Settings
156
+
157
+ Datasets. We adopt eight public network datasets with edge homophily ratio $\alpha$ ranging from strong homophily to strong heterophily, as shown in Table 1, to evaluate the performance of different methods. We use three citation networks Cora, CiteSeer and PubMed [19, 25], two Wikipedia networks Chameleon and Squirrel [24], and three webpage networks1 Cornell, Wisconsin and Texas.
158
+
159
+ Baselines. We compare our U-GCN with eight baselines: (1) the methods utilizing both topological and attribute information: GCN [14], GAT [26], GraphSAGE [8], JK-Net [29], SSP [11], Geom-GCN [22] and GCN-LPA [27], and (2) the method using node attribute: MLP. Especially, GCN is the base of our U-GCN.
160
+
161
+ Parameter Settings. For all methods, we set the dropout rate to 0.6 and use the same splits for training, validation and testing sets. We run 5 times with the same partition and report the average results. We employ the Adam optimizer with the learning rate setting to 0.005 and apply early stopping with a patience of 20. In addition, we set the number of attention heads to 8, weight decay $\in \{ \bar { 5 } e - 3 , 5 e - 4 \}$ , and $k \in \{ 3 . . . 7 \}$ for $k$ -nearest neighbor network.
162
+
163
+ Table 1: Dataset Statistics.
164
+
165
+ <table><tr><td>Datasets</td><td>Cora</td><td>Pubm.</td><td>Cite.</td><td>Corn.</td><td>Cham.</td><td>Squi.</td><td>Wisc.</td><td>Texa.</td></tr><tr><td>#Nodes</td><td>2708</td><td>19717</td><td>3327</td><td>183</td><td>2277</td><td>5201</td><td>251</td><td>183</td></tr><tr><td>#Edges</td><td>5429</td><td>44338</td><td>4732</td><td>298</td><td>36101</td><td>217073</td><td>515</td><td>325</td></tr><tr><td>#Features</td><td>1433</td><td>500</td><td>3703</td><td>1703</td><td>2325</td><td>2089</td><td>1703</td><td>1703</td></tr><tr><td>#Classes</td><td>7</td><td>3</td><td>6</td><td>5</td><td>5</td><td>5</td><td>5</td><td>5</td></tr><tr><td>a</td><td>0.83</td><td>0.79</td><td>0.71</td><td>0.30</td><td>0.25</td><td>0.22</td><td>0.16</td><td>0.06</td></tr></table>
166
+
167
+ # 5.2 Node Classfication
168
+
169
+ On the node classification task, we use accuracy as the evaluation metric, and the relevant results are summarized in Table 2. As shown, we observe that the U-GCN has consistently strong performance across the full spectrum of high-middle-low homophily. To be specific, on the dataset with strong homophily, e.g., Cora and Citeseer, U-GCN is comparable with the best baseline GAT that based on homophily assumption. On the dataset with middle homophily, e.g., Cornell and Chameleon, U-GCN is $3 . 8 8 \%$ and $1 . 3 8 \%$ more accurate than the best baselines MLP and GCN-LPA, respectively. Above all, on the dataset with strong heterophily, e.g., Wisconsin and Texas, our model U-GCN outperforms the best baseline MLP by a very large margin, i.e., $5 . 6 9 \%$ and $5 . 8 3 \%$ , which has been proved to be superior to a number of existing GNNs at the low level of homophily [35]. These results not only demonstrate the superiority of the new multi-type convolution mechanism that makes full use of the information from 1-hop, 2-hop and $k \mathbf { N N }$ neighbors, but also validate the effectiveness for distinguishing importance of information from different propagation mechanisms. In addition, the performance of U-GCN is much better than that of GCN, which further demonstrates the effectiveness of designing a universal propagation mechanism independent of network structural assumption.
170
+
171
+ Table 2: Comparisons on node classification (Percent).
172
+
173
+ <table><tr><td>Methods</td><td>Cora</td><td>Pubm.</td><td>Cite.</td><td>Corn.</td><td>Cham.</td><td>Squi.</td><td>Wisc.</td><td>Texa.</td></tr><tr><td>GCN</td><td>82.93</td><td>83.29</td><td>73.12</td><td>46.51</td><td>52.32</td><td>33.10</td><td>47.73</td><td>52.71</td></tr><tr><td>GAT</td><td>83.13</td><td>84.42</td><td>72.04</td><td>48.06</td><td>51.38</td><td>32.27</td><td>46.59</td><td>49.61</td></tr><tr><td>SSP</td><td>81.08</td><td>79.50</td><td>71.13</td><td>55.04</td><td>21.87</td><td>19.72</td><td>49.37</td><td>55.04</td></tr><tr><td>JK-Net</td><td>81.27</td><td>86.15</td><td>71.74</td><td>52.71</td><td>53.95</td><td>33.51</td><td>48.30</td><td>51.94</td></tr><tr><td>GraphSage</td><td>82.20</td><td>83.03</td><td>71.41</td><td>53.49</td><td>42.29</td><td>26.89</td><td>56.82</td><td>53.49</td></tr><tr><td>Geom-GCN</td><td>74.27</td><td>83.49</td><td>73.79</td><td>54.26</td><td>38.66</td><td>32.22</td><td>53.41</td><td>64.34</td></tr><tr><td>GCN-LPA</td><td>82.33</td><td>85.83</td><td>72.29</td><td>49.61</td><td>52.69</td><td>33.48</td><td>50.57</td><td>48.84</td></tr><tr><td>MLP</td><td>63.33</td><td>83.08</td><td>67.74</td><td>65.89</td><td>41.35</td><td>29.44</td><td>64.20</td><td>65.89</td></tr><tr><td>U-GCN</td><td>84.00</td><td>85.22</td><td>74.08</td><td>69.77</td><td>54.07</td><td>34.39</td><td>69.89</td><td>71.72</td></tr></table>
174
+
175
+ # 5.3 Ablation Study
176
+
177
+ Similar to most deep learning models, U-GCN also contains some important components that may have significant impact on the performance. To gain deeper insight into the contributions of different components involved in our approach, we conduct experiments on comparing U-GCN with four variations. The variants are as follows: 1) GCN which serves as the base framework of U-GCN of using 1-hop network neighbors for propagation, 2) GCN of employing 2-hop neighbors for direct propagation, named as U-GCN-1, 3) GCN of utilizing $k \mathbf { N N }$ for direct propagation, named as U-GCN2, and 4) U-GCN of removing 2-hop neighbors, named as U-GCN-3. We take their comparison on node classification as an example.
178
+
179
+ As shown in Table 3, compared to GCN, U-GCN-1 (and U-GCN-2) of utilizing 2-hop neighbors (and $k \mathrm { N N } ,$ ) is on average $3 . 3 7 \%$ (and $3 . 1 2 \%$ ) more accurate on eight datasets. This validates that 2-hop neighbors (and $k \mathrm { N N }$ ) play an important role during information propagation, especially on the networks dominated by heterophily. Furthermore, by introducing $k \mathbf { N N }$ , the derived U-GCN-3 improves performance of GCN (and U-GCN-2), i.e., on average $6 . 6 4 \%$ (and $3 . 3 2 \%$ ) more accurate on eight datasets. This demonstrates that the performance of 1-hop and $k \mathbf { N N }$ neighbors can be mutually enhanced to a certain extent. In addition, U-GCN is on average $2 . 4 9 \%$ more accurate than U-GCN-3, which further validates the soundness of our new universal GCN framework that makes full use of different propagation mechanisms aiming to the network with diverse properties.
180
+
181
+ Table 3: Comparisons of our U-GCN with four variants on node classification (Percent).
182
+
183
+ <table><tr><td>Methods</td><td>Cora</td><td>Pubm.</td><td>Cite.</td><td>Corn.</td><td>Cham.</td><td>Squi.</td><td>Wisc.</td><td>Texa.</td><td>AVG</td></tr><tr><td>GCN</td><td>82.93</td><td>83.29</td><td>73.12</td><td>46.51</td><td>52.32</td><td>33.10</td><td>47.73</td><td>52.71</td><td>58.96</td></tr><tr><td>U-GCN-1</td><td>74.40</td><td>83.92</td><td>68.66</td><td>56.59</td><td>48.81</td><td>33.84</td><td>64.20</td><td>68.22</td><td>62.33</td></tr><tr><td>U-GCN-2</td><td>70.27</td><td>80.86</td><td>68.74</td><td>70.54</td><td>38.60</td><td>29.11</td><td>68.75</td><td>69.77</td><td>62.08</td></tr><tr><td>U-GCN-3</td><td>83.67</td><td>81.33</td><td>72.79</td><td>65.12</td><td>53.51</td><td>34.06</td><td>69.89</td><td>62.79</td><td>65.40</td></tr><tr><td>U-GCN</td><td>84.00</td><td>85.22</td><td>74.08</td><td>69.77</td><td>54.07</td><td>34.39</td><td>69.89</td><td>71.72</td><td>67.89</td></tr></table>
184
+
185
+ # 6 Related Work
186
+
187
+ In line with the focus of our work, we briefly review the most related work on graph neural networks (GNNs) and homophily assumption.
188
+
189
+ GNNs. In recent years, GNNs have become popular for graph-based machine learning problems increasingly [13, 31]. Defferrard et al. [5] propose the first version of GNN by generalizing convolutional neural networks (CNNs) from regular grids (e.g., images) to irregular grids (e.g., graphs). After that comes GCN [14], a popular GNN model which obtains node embeddings by integrating high-order neighborhood information through stacked graph convolutional layers. Further, GraphSAGE [8] generalizes the aggregation beyond averaging, and models the ego-features distinctly from the neighbor-features in its subsampled neighborhood. GAT [26] introduces a node-level multi-head attention mechanisms to specify the weights from different neighborhoods.
190
+
191
+ Homophily Assumption. Several efforts have been made to relieve the limitation of homophily assumption, so as to improve GCNs. Geom-GCN [22] proposes a novel geometric aggregation scheme to overcome neighborhood structural information losing and long-range dependencies lacking. GPR-GNN [4] proposes a new architecture that adaptively learns the generalized pageRank (GPR) weights, to jointly optimize node feature and topological information extraction. CPGNN [34] designs a GNN framework that incorporates an interpretable compatibility matrix $H$ for modeling the homophily level. Moreover, H2GCN [35] incorporates three key designs: ego- and neighborembedding separation, higher-order neighborhoods and combination of intermediate, to capture information under the low level of homophily. More Recently, GGCN [32] proposes a robust and generalized model that addresses the discrepancy in features and degrees between neighbors by incorporating signed messages and learned degree corrections, so as to alleviate the homophily assumption of GCNs.
192
+
193
+ These existing methods have achieved reasonable results on handling the homophily assumption of GCNs. However, there is still a lack of insightful understanding of the key factors of a universal propagation mechanism independent of the network structural assumption, which is of great significant while often ignored by the existing GCN methods.
194
+
195
+ # 7 Discussion
196
+
197
+ In this section, we discuss what are the universal propagation mechanism in networks. Take the global spread of epidemics as an example, it is a complex, network-driven dynamic process. The combined multi-scale nature and intrinsic heterogeneity of the epidemic network make it difficult to develop an intuitive understanding of this process, to predict its time course and to locate its origin. However, Brockmann et al. [3] show that if we use a probabilistically motivated effective distance, rather than conventional geographic distance, to analyse propagation process, the complex spatiotemporal patterns can be simplified into simple, homogeneous wave propagation patterns. Motivated by this idea, it is of great necessary to find a universal propagation mechanism for GCNs, where universality refers to independence on homophily, heterophily or randomness network structural assumptions, so as to select the valuable nodes as neighborhoods, and meanwhile relieve the limitation of homophily assumption of GCNs. More importantly, even if there are assumptions (e.g., homophily), a universal propagation mechanism may still be able to find better and more valuable nodes as neighborhoods, rather than directly using the 1-hop network neighbors the same as the existing methods.
198
+
199
+ # 8 Conclusion
200
+
201
+ We rethink the propagation mechanism of networks with different structural properties, and surprisingly discover the segmentation rules that 1-hop, $k \mathbf { N N }$ and 2-hop neighbors are more suitable as neighborhoods in network with complete homophily, randomness and complete heterophily, respectively. However, real-world networks are complex, and may present diverse properties. We accordingly design a universal model U-GCN, which is able to select more valuable nodes as neighborhoods automatically for information propagation without relying on network structural assumptions. Empirical results on networks with different edge homophily ratio demonstrate the superiority of our new approach over some state-of-the-art methods.
202
+
203
+ Last but not least, the methods that satisfy the basic idea, that is, consider the information from nodes of 1-hop, 2-hop and $k \mathbf { N N }$ neighbors simultaneously, and at the same time, make reasonable use of these information, and fuse them effectively for the learning objectives, can be considered as general models, where our U-GCN is one of the most simple and effective methods.
204
+
205
+ # Broader Impact
206
+
207
+ In this work, we propose to analyse whether networks with different structural properties should adopt different propagation mechanisms. One interesting finding is that there are segmentation rules for the universal propagation phenomenon. Considering real-world networks are complex and may present diverse properties, a universal propagation mechanism independent of the network structural assumption have been presented. Obviously, the results of the work will have an immediate impact on improving the performance of most GCN models based on homophily assumption. Not only that, this work will also significantly benefit applications involving network-structured data, including bioinformatics, computer vision and recommendation system.
208
+
209
+ While our research focuses on performance by designing a universal propagation mechanism on general networks with any structural properties, like many other GCNs, it provides limited explanation to its prediction. We advocate peer researchers to look into this to enhance the interpretability of modern GCNs, and make GCNs applicable in more risk-sensitive applications.
210
+
211
+ # Acknowledgements
212
+
213
+ This work is supported in by the Natural Science Foundation of China under grants 61772361, 61876128 and 62172052.
214
+
215
+ # References
216
+
217
+ [1] Gregor Bachmann, Gary Bécigneul, and Octavian Ganea. Constant curvature graph convolutional networks. In Proceedings of ICML, pages 486–496, 2020.
218
+ [2] Deyu Bo, Xiao Wang, Chuan Shi, and Huawei Shen. Beyond low-frequency information in graph convolutional networks. In Proceedings of AAAI, 2021.
219
+ [3] Dirk Brockmann and Dirk Helbing. The hidden geometry of complex, network-driven contagion phenomena. Science, 342(6164):1337–1342, 2013.
220
+ [4] Eli Chien, Jianhao Peng, Pan Li, and Olgica Milenkovic. Adaptive universal generalized pagerank graph neural network. In Proceedings of ICLR, 2021.
221
+ [5] Michaël Defferrard, Xavier Bresson, and Pierre Vandergheynst. Convolutional neural networks on graphs with fast localized spectral filtering. In Proceedings of NeurIPS, pages 3837–3845, 2016.
222
+ [6] Hongyang Gao, Zhengyang Wang, and Shuiwang Ji. Large-scale learnable graph convolutional networks. In Proceedings of KDD, pages 1416–1424, 2018.
223
+ [7] Michelle Girvan and M. E. J. Newman. Community structure in social and biological networks. Proceedings of the National Academy of Sciences, 99(12):7821–7826, 2002.
224
+ [8] William L. Hamilton, Zhitao Ying, and Jure Leskovec. Inductive representation learning on large graphs. In Proceedings of NeurIPS, pages 1024–1034, 2017.
225
+ [9] Dongxiao He, Zhiyong Feng, Di Jin, Xiaobao Wang, and Weixiong Zhang. Joint identification of network communities and semantics via integrative modeling of network topologies and node contents. In Proceedings of AAAI, pages 116–124, 2017.
226
+ [10] Fenyu Hu, Yanqiao Zhu, Shu Wu, Liang Wang, and Tieniu Tan. Hierarchical graph convolutional networks for semi-supervised node classification. In Proceedings of IJCAI, pages 4532–4539, 2019.
227
+ [11] Mohammad Rasool Izadi, Yihao Fang, Robert Stevenson, and Lizhen Lin. Optimization of graph neural networks with natural gradient descent. In IEEE International Conference on Big Data, pages 171–179, 2020.
228
+ [12] Di Jin, Cuiying Huo, Chundong Liang, and Liang Yang. Heterogeneous graph neural network via attribute completion. In Proceedings of WWW, pages 391–400, 2021.
229
+ [13] Di Jin, Zhizhi Yu, Pengfei Jiao, Shirui Pan, Philip S. Yu, and Weixiong Zhang. A survey of community detection approaches: From statistical modeling to deep learning. TKDE, 2021.
230
+ [14] Thomas N. Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. In Proceedings of ICLR, 2017.
231
+ [15] Ruoyu Li, Sheng Wang, Feiyun Zhu, and Junzhou Huang. Adaptive graph convolutional neural networks. In Proceedings of AAAI, pages 3546–3553, 2018.
232
+
233
+ [16] Ting Liu, Andrew W. Moore, and Alexander G. Gray. New algorithms for efficient highdimensional nonparametric classification. Journal of Machine Learning Research, 7:1135–1158, 2006.
234
+
235
+ [17] Zhiwei Liu, Mengting Wan, Stephen Guo, Kannan Achan, and Philip S. Yu. Basconv: Aggregating heterogeneous interactions for basket recommendation with graph convolutional neural network. In Proceedings of SDM, pages 64–72, 2020.
236
+
237
+ [18] Miller McPherson, Lynn Smith-Lovin, and James M Cook. Birds of father: Homophily in social networks. Annual Review of Sociology, 27(1):415–444, 2001.
238
+
239
+ [19] Galileo Namata, Ben London, Lise Getoor, and Bert Huang. Query-driven active surveying for collective classification. In Proceedings of the International Workshop on MLG.
240
+
241
+ [20] M. E. J. Newman. Assortative mixing in networks. Physical Review Letters, 89(20):208701, 2002.
242
+
243
+ [21] Shashank Pandit, Duen Horng Chau, Samuel Wang, and Christos Faloutsos. Netprobe: a fast and scalable system for fraud detection in online auction networks. In Proceedings of WWW, pages 201–210, 2007.
244
+
245
+ [22] Hongbin Pei, Bingzhe Wei, Kevin Chen-Chuan Chang, Yu Lei, and Bo Yang. Geom-gcn: Geometric graph convolutional networks. In Processings of ICLR, 2020.
246
+
247
+ [23] Yu Rong, Wenbing Huang, Tingyang Xu, and Junzhou Huang. Dropedge: Towards deep graph convolutional networks on node classification. In Proceedings of ICLR, 2020.
248
+
249
+ [24] Benedek Rozemberczki, Carl Allen, and Rik Sarkar. Multi-scale attributed node embedding. Journal of Complex Networks, 9(2), 2021.
250
+
251
+ [25] Prithviraj Sen, Galileo Namata, Mustafa Bilgic, Lise Getoor, Brian Gallagher, and Tina EliassiRad. Collective classification in network data. AI Magazine, 29(3):93–106, 2008.
252
+
253
+ [26] Petar Velickovic, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Liò, and Yoshua Bengio. Graph attention networks. In Proceedings of ICLR, 2018.
254
+
255
+ [27] Hongwei Wang and Jure Leskovec. Unifying graph convolutional neural networks and label propagation. arXiv preprint arXiv:2002.06755, 2020.
256
+
257
+ [28] Xiao Wang, Meiqi Zhu, Deyu Bo, Peng Cui, Chuan Shi, and Jian Pei. AM-GCN: adaptive multi-channel graph convolutional networks. In Proceedings of KDD, pages 1243–1253, 2020.
258
+
259
+ [29] Keyulu Xu, Chengtao Li, Yonglong Tian, Tomohiro Sonobe, Ken-ichi Kawarabayashi, and Stefanie Jegelka. Representation learning on graphs with jumping knowledge networks. In Proceedings of ICML, volume 80, pages 5449–5458, 2018.
260
+
261
+ [30] Qianqian Xu, Jiechao Xiong, Xiaochun Cao, Qingming Huang, and Yuan Yao. From social to individuals: A parsimonious path of multi-level models for crowdsourced preference aggregation. IEEE Transactions on Pattern Analysis and Machine Intelligence, 41(4):844–856, 2019.
262
+
263
+ [31] Qianqian Xu, Zhiyong Yang, Zuyao Chen, Yangbangyan Jiang, Xiaochun Cao, Yuan Yao, and Qingming Huang. Deep partial rank aggregation for personalized attributes. In Proceedings of AAAI, pages 678–688, 2021.
264
+
265
+ [32] Yujun Yan, Milad Hashemi, Kevin Swersky, Yaoqing Yang, and Danai Koutra. Two sides of the same coin: Heterophily and oversmoothing in graph convolutional neural networks. arXiv preprint arXiv:2102.06462, 2021.
266
+
267
+ [33] Jiaxuan You, Rex Ying, and Jure Leskovec. Position-aware graph neural networks. In Proceedings of ICML, pages 7134–7143, 2019.
268
+
269
+ [34] Jiong Zhu, Ryan A. Rossi, Anup B. Rao, Tung Mai, Nedim Lipka, Nesreen K. Ahmed, and Danai Koutra. Graph neural networks with heterophily. In Proceedings of AAAI, 2021.
270
+
271
+ [35] Jiong Zhu, Yujun Yan, Lingxiao Zhao, Mark Heimann, Leman Akoglu, and Danai Koutra. Beyond homophily in graph neural networks: Current limitations and effective designs. In Proceedings of NeurIPS, 2020.
parse/train/MSXDyfli9vy/MSXDyfli9vy_content_list.json ADDED
@@ -0,0 +1,1394 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Universal Graph Convolutional Networks ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 245,
8
+ 122,
9
+ 751,
10
+ 147
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Di $\\mathbf { J i n ^ { 1 \\dagger } }$ , Zhizhi $\\mathbf { V } \\mathbf { u } ^ { \\mathbf { 1 } \\dagger }$ , Cuiying $\\mathbf { H u o ^ { 1 } }$ , Rui Wang1, Xiao Wang2\\*, Dongxiao $\\mathbf { H e ^ { 1 } }$ , and Jiawei $\\mathbf { H a n } ^ { 3 }$ ",
17
+ "bbox": [
18
+ 184,
19
+ 199,
20
+ 846,
21
+ 215
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "1College of Intelligence and Computing, Tianjin University, Tianjin, China 2School of Computer Science (National Pilot Software Engineering School), Beijing University of Posts and Telecommunications, Beijing, China 3Department of Computer Science, University of Illinois at Urbana-Champaign, Champaign, IL, USA {jindi, yuzhizhi, huocuiying, wr1895, hedongxiao}@tju.edu.cn xiaowang@bupt.edu.cn, hanj@illinois.edu ",
28
+ "bbox": [
29
+ 184,
30
+ 215,
31
+ 852,
32
+ 300
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "Abstract ",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 462,
42
+ 356,
43
+ 535,
44
+ 372
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "Graph Convolutional Networks (GCNs), aiming to obtain the representation of a node by aggregating its neighbors, have demonstrated great power in tackling various analytics tasks on graph (network) data. The remarkable performance of GCNs typically relies on the homophily assumption of networks, while such assumption cannot always be satisfied, since the heterophily or randomness are also widespread in real-world. This gives rise to one fundamental question: whether networks with different structural properties should adopt different propagation mechanisms? In this paper, we first conduct an experimental investigation. Surprisingly, we discover that there are actually segmentation rules for the propagation mechanism, i.e., 1-hop, 2-hop and $k$ -nearest neighbor $( k \\mathsf { N N } )$ neighbors are more suitable as neighborhoods of network with complete homophily, complete heterophily and randomness, respectively. However, the real-world networks are complex, and may present diverse structural properties, e.g., the network dominated by homophily may contain a small amount of randomness. So can we reasonably utilize these segmentation rules to design a universal propagation mechanism independent of the network structural assumption? To tackle this challenge, we develop a new universal GCN framework, namely U-GCN. It first introduces a multi-type convolution to extract information from 1-hop, 2-hop and $k \\mathbf { N N }$ networks simultaneously, and then designs a discriminative aggregation to sufficiently fuse them aiming to given learning objectives. Extensive experiments demonstrate the superiority of U-GCN over state-of-the-arts. The code and data are available at https://github.com/jindi-tju. ",
51
+ "bbox": [
52
+ 232,
53
+ 386,
54
+ 766,
55
+ 678
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1 Introduction ",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 174,
65
+ 702,
66
+ 310,
67
+ 719
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Real-world complex systems can often be viewed as networks, such as social networks, biological networks and citation networks. Recently, research of analyzing networks with deep learning has received widespread attention both in academia and industry. In particular, Graph Convolutional Networks (GCNs) [14], which obtain the meaningful representation of nodes in the network by integrating the neighborhood information, have achieved great success and been widely applied in tackling network analytics tasks, such as node classification [23, 28], link prediction [33] and recommendation [30, 17]. ",
74
+ "bbox": [
75
+ 174,
76
+ 734,
77
+ 825,
78
+ 832
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "While the success of GCNs and their variants [1, 6], a key weakness is the homophily assumption of networks, which restricts their performance on general network data. To be specific, most GCNs seem to be tailor-made to work on homophily networks [18], where nodes within the same class tend to connect with each other. In fact, heterophily [20] networks, where nodes of different classes tend to link together, are also widespread in real-world. For example, different types of amino acids are more likely to be connected in protein structure [35], and fraudsters tend to connect to accomplices than to other fraudsters in transaction networks [21]. Furthermore, the random networks also often exist in real-world, such as railway networks, where the edges between nodes are more likely to be randomly generated. ",
85
+ "bbox": [
86
+ 174,
87
+ 837,
88
+ 821,
89
+ 866
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "",
96
+ "bbox": [
97
+ 174,
98
+ 92,
99
+ 825,
100
+ 188
101
+ ],
102
+ "page_idx": 1
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "Most popular GCNs typically obtain node embeddings of these networks using 1-hop network neighbors as neighborhoods for information propagation [12, 29]. However, considering the different structural properties of networks (e.g., homophily or heterophily), whether different networks should adopt a unified or different propagation mechanisms? This is a very important question for GCNs since they mainly gain better performance through the propagation of information. A well informed answer can help us better understand the essence of GCNs, such as how different types of nodes affect the propagation, and what type of nodes are really required to achieve a certain level of predictive accuracy aiming to different networks. ",
107
+ "bbox": [
108
+ 174,
109
+ 194,
110
+ 825,
111
+ 305
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "Several recent works have studied the networks with different structural properties. For example, Pei et al. [22] consider the heterophlily property of networks, and propose a geometric aggregation scheme to overcome neighborhood structural information losing and long-range dependencies lacking. Zhu et al. [35] design an effective model which improves the representation power of GCNs under heterophily through theoretical and empirical analysis. Chien et al. [4] introduce a new generalized pageRank (GPR) architecture to jointly optimize node feature and topological information extraction. Bo et al. [2] assess the roles of low-frequency and high-frequency signals, and propose an efficient method that can adaptively integrate different signals in the process of message passing. However, there is still a lack of insightful understanding from the perspective of propagation mechanism. ",
118
+ "bbox": [
119
+ 174,
120
+ 311,
121
+ 826,
122
+ 436
123
+ ],
124
+ "page_idx": 1
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "As the first contribution of this study, we conduct experiments analysing the propagation mechanism of GCNs in networks with different structural properties. Surprisingly, our experiments clearly illustrate that for networks with complete homophily, complete heterophily and randomness, 1-hop, 2-hop and $k$ -nearest neighbor $( k \\mathrm { N N } )$ neighbors are more suitable as neighborhoods for information propagation, respectively. This means that the depicting ability of the current propagation mechanism of GCNs is limited, and networks with different structural properties may need to adopt different propagation mechanisms. ",
129
+ "bbox": [
130
+ 174,
131
+ 443,
132
+ 825,
133
+ 540
134
+ ],
135
+ "page_idx": 1
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "In fact, while these segmentation rules seem to be able to select appropriate nodes as neighborhoods in an ideal way, the real-world networks are complex, and may present diverse properties, e.g., the network dominated by homophily may contain a small amount of randomness or heterophily. A natural question is, “Can we reasonably utilize these segmentation rules to design a universal propagation mechanism independent of the network structural assumption?\" ",
140
+ "bbox": [
141
+ 174,
142
+ 546,
143
+ 825,
144
+ 616
145
+ ],
146
+ "page_idx": 1
147
+ },
148
+ {
149
+ "type": "text",
150
+ "text": "To tackle this challenge, we propose a novel and universal GCN model, i.e., U-GCN, for general network data. The central idea is that we learn node embeddings by making full use of the information from 1-hop, 2-hop and $k \\mathbf { N N }$ neighbors, and fuse them adaptively to derive deeper correlation information for the given learning objectives. To be specific, we first introduce a multi-type convolution mechanism. It uses 1-hop network (i.e., original input network), 2-hop network and $k \\mathbf { N N }$ network that constructed by 1-hop, 2-hop and $k \\mathbf { N N }$ neighbors for direct information propagation separately, and utilizes a node-level attention mechanism for each network, to extract three specific embeddings. We then make a discriminative aggregation to learn out the importance of these three embeddings, thereby extracting the most correlated information aiming to the ground truth such as node classification. Extensive experiments on a series of benchmark datasets demonstrate the superiority of U-GCN over some state-of-the-arts. ",
151
+ "bbox": [
152
+ 174,
153
+ 621,
154
+ 826,
155
+ 773
156
+ ],
157
+ "page_idx": 1
158
+ },
159
+ {
160
+ "type": "text",
161
+ "text": "2 Notations and Preliminaries ",
162
+ "text_level": 1,
163
+ "bbox": [
164
+ 176,
165
+ 813,
166
+ 439,
167
+ 829
168
+ ],
169
+ "page_idx": 1
170
+ },
171
+ {
172
+ "type": "text",
173
+ "text": "Let $G = ( A , X )$ be an undirected attributed network, where $A \\in \\mathbb { R } ^ { n \\times n }$ represents the symmetric adjacency matrix with $n$ nodes, and $\\ b X \\in \\mathbb R ^ { n \\times p }$ is the attribute (content) matrix of $p$ attributes per node. Concretely, $a _ { i j } = 1$ denotes there is an edge between nodes $v _ { i }$ and $v _ { j }$ , or 0 otherwise; and $x _ { i }$ represents the attribute vectors of node $v _ { i }$ . ",
174
+ "bbox": [
175
+ 174,
176
+ 854,
177
+ 823,
178
+ 911
179
+ ],
180
+ "page_idx": 1
181
+ },
182
+ {
183
+ "type": "text",
184
+ "text": "Given an attribute network $G$ , and a labeled node set $V _ { L }$ containing $u \\ll | V |$ nodes, where each node $v _ { i } \\in V _ { L }$ contains a unique class label $y _ { i } \\in Y$ . The goal of semi-supervised node classification is to infer the labels of nodes in $V \\backslash V _ { L }$ by learning a classification function $\\mathcal { F }$ . ",
185
+ "bbox": [
186
+ 173,
187
+ 90,
188
+ 825,
189
+ 133
190
+ ],
191
+ "page_idx": 2
192
+ },
193
+ {
194
+ "type": "text",
195
+ "text": "Homophily. In this work, the level of homophily ratio of edges [35] is used to define networks with strong homophily/heterophily. Specifically, the level of homophily ratio of edges is the fraction of edges in a network which connect nodes that have the same class label (i.e., intra-class edges), described by: ",
196
+ "bbox": [
197
+ 173,
198
+ 138,
199
+ 825,
200
+ 194
201
+ ],
202
+ "page_idx": 2
203
+ },
204
+ {
205
+ "type": "equation",
206
+ "img_path": "images/be1d81ea90e7c811504934f3fc1b116573717c4fa5c8037fcd9c064465c5b965.jpg",
207
+ "text": "$$\n\\alpha = \\frac { | ( v _ { i } , v _ { j } ) : a _ { i j } = 1 \\land y _ { i } = y _ { j } | } { | m | } ,\n$$",
208
+ "text_format": "latex",
209
+ "bbox": [
210
+ 382,
211
+ 194,
212
+ 614,
213
+ 228
214
+ ],
215
+ "page_idx": 2
216
+ },
217
+ {
218
+ "type": "text",
219
+ "text": "where $m$ is the number of edges. Networks with $\\alpha$ closer to 1 tend to have more edges connecting nodes within the same class, or stronger homophily; whereas networks with $\\alpha$ closer to 0 have more edges connecting nodes in different classes, or stronger heterophily. ",
220
+ "bbox": [
221
+ 174,
222
+ 231,
223
+ 825,
224
+ 273
225
+ ],
226
+ "page_idx": 2
227
+ },
228
+ {
229
+ "type": "text",
230
+ "text": "Graph Convolutional Network. Graph Convolutional Network (GCN) [14] is a variant of multilayer convolutional neural networks that operates directly on networks. It learns embedding of each node by iteratively aggregating the information from its neighbors. Mathematically, let $H ^ { ( l ) }$ be the feature representation of the $l$ -th layer, and $H ^ { ( 0 ) }$ be the node attribute matrix, the forward propagation can be defined as: ",
231
+ "bbox": [
232
+ 173,
233
+ 279,
234
+ 825,
235
+ 349
236
+ ],
237
+ "page_idx": 2
238
+ },
239
+ {
240
+ "type": "equation",
241
+ "img_path": "images/1aa9987b454db9a5f36bf2d1441916d3ded63c3943a95d2f948d738dda934b00.jpg",
242
+ "text": "$$\nH ^ { ( l ) } = \\sigma ( \\tilde { D } ^ { - \\frac { 1 } { 2 } } \\tilde { A } \\tilde { D } ^ { - \\frac { 1 } { 2 } } H ^ { ( l - 1 ) } W ^ { ( l ) } ) ,\n$$",
243
+ "text_format": "latex",
244
+ "bbox": [
245
+ 377,
246
+ 347,
247
+ 619,
248
+ 367
249
+ ],
250
+ "page_idx": 2
251
+ },
252
+ {
253
+ "type": "text",
254
+ "text": "where ${ \\tilde { A } } = A + I$ stands for the adjacency matrix with self-loops, $\\tilde { D }$ the node degree matrix of $\\tilde { A }$ , i.e., $\\begin{array} { r } { \\tilde { D } _ { i i } = \\sum _ { j } \\tilde { A } _ { i j } } \\end{array}$ , $W ^ { ( l ) }$ a trainable weight matrix and $\\sigma$ the non-linear activation function. While GCN works well on several network analysis tasks such as node classification [10, 15], it still has a fundamental problem, that is, homophily assumption of networks, which leads to the main contribution in this work, i.e., analyse what type of nodes are more suitable as neighborhoods for direct information propagation independent of the network structural assumption. ",
255
+ "bbox": [
256
+ 173,
257
+ 372,
258
+ 825,
259
+ 460
260
+ ],
261
+ "page_idx": 2
262
+ },
263
+ {
264
+ "type": "text",
265
+ "text": "3 Motivating Observations ",
266
+ "text_level": 1,
267
+ "bbox": [
268
+ 174,
269
+ 479,
270
+ 413,
271
+ 496
272
+ ],
273
+ "page_idx": 2
274
+ },
275
+ {
276
+ "type": "text",
277
+ "text": "Here, we present a simple yet intuitive case study to illustrate and analyze the performance of GCN changes with different propagation mechanisms. The main idea is that we will apply GCN to networks with different structural properties utilizing three types of nodes: 1-hop, 2-hop and $k$ -nearest neighbor $( k \\mathrm { N N } )$ neighbors, which are often believed to be the effective neighborhoods for node classification in networks [28, 35], to realize the information propagation, respectively. Then, we will check the performance of GCN on these cases. A universal propagation mechanism should provide a good result in general network data. However, if the performance drops sharply in comparison with the other two situations, this will demonstrate that networks with different structural properties may need to use different propagation mechanisms. ",
278
+ "bbox": [
279
+ 173,
280
+ 511,
281
+ 826,
282
+ 608
283
+ ],
284
+ "page_idx": 2
285
+ },
286
+ {
287
+ "type": "text",
288
+ "text": "",
289
+ "bbox": [
290
+ 173,
291
+ 608,
292
+ 504,
293
+ 664
294
+ ],
295
+ "page_idx": 2
296
+ },
297
+ {
298
+ "type": "text",
299
+ "text": "Setup. We conduct experiments on the Newman artificial networks [7] with different properties. The network consists 128 nodes divided into 4 classes, where each node has on average $z _ { i n }$ edges (i.e., intra-class edges) connecting to nodes of the same class and $z _ { o u t }$ edges (i.e., inter-class edges) to nodes of other classes, and $z _ { i n } + z _ { o u t } = 1 6$ . Note that here we utilize two indicators: $\\rho _ { i n } = z _ { i n } / 3 2$ and $\\rho _ { o u t } ~ = ~ z _ { o u t } / 9 6$ , to determine the network property, i.e., $\\rho _ { i n } > \\rho _ { o u t }$ , $\\rho _ { i n } = \\rho _ { o u t }$ and $\\rho _ { i n } <$ $\\rho _ { o u t }$ means the network with homophily, randomness and heterophily, respectively. ",
300
+ "bbox": [
301
+ 174,
302
+ 670,
303
+ 503,
304
+ 835
305
+ ],
306
+ "page_idx": 2
307
+ },
308
+ {
309
+ "type": "text",
310
+ "text": "For node attributes, we generate a $4 h$ -dimensional binary attributes (i.e., $x _ { i }$ ) for each node to form 4 attribute clusters, corresponding to the 4 classes [9]. To be specific, for every node in the $m$ -th class, we use a binomial distribution with mean $p _ { i n } = h _ { i n } / h$ to generate a $h$ -dimensional binary vector as its $( ( m - 1 ) \\times h + 1 )$ -th to $( m \\times h )$ -th attributes, and generated the rest attributes using a binomial distribution with mean $p _ { o u t } = h _ { o u t } / ( 3 h )$ . In our experiments, we set $4 h = 2 0 0$ and $h _ { o u t } = 4 ( h _ { i n } + h _ { o u t } = 1 6 )$ , so that $p _ { i n } > p _ { o u t }$ , the $h$ -dimensional attributes are associated with the $m$ -th class with a higher probability, whereas the rest $_ { 3 h }$ attributes are irrelevant. ",
311
+ "bbox": [
312
+ 173,
313
+ 842,
314
+ 504,
315
+ 911
316
+ ],
317
+ "page_idx": 2
318
+ },
319
+ {
320
+ "type": "image",
321
+ "img_path": "images/5efa61c6bd3545e6a26eab5dc9189bae0c560b3d82dc3bb3649fca01345ff05a.jpg",
322
+ "image_caption": [
323
+ "Figure 1: The performance of GCN of using different propagation mechanisms: 1-hop, 2-hop and $k \\mathbf { N N }$ neighbors as neighborhoods respectively on Newman networks. "
324
+ ],
325
+ "image_footnote": [],
326
+ "bbox": [
327
+ 532,
328
+ 626,
329
+ 808,
330
+ 835
331
+ ],
332
+ "page_idx": 2
333
+ },
334
+ {
335
+ "type": "text",
336
+ "text": "",
337
+ "bbox": [
338
+ 174,
339
+ 90,
340
+ 825,
341
+ 160
342
+ ],
343
+ "page_idx": 3
344
+ },
345
+ {
346
+ "type": "text",
347
+ "text": "As shown in Figure 1, for networks with strong homophily (e.g., $\\rho _ { o u t } = 0 . 0 7 5 )$ , it is easy to obtain high accuracy using 1-hop network neighbors. However, as the inter-class edges increase, the accuracy is rapidly reduced. This mainly due to the homophily assumption, preventing GCN from effectively fusing information. On the other hand, for networks with strong heterophily (e.g., $\\rho _ { o u t } = 0 . 1 6 5 )$ , it is surprising that, the accuracy of GCN of using 2-hop neighbors as neighborhoods (i.e., $8 3 . 1 5 \\%$ ) is much higher than that of using 1-hop network neighbors (i.e., $3 2 . 8 5 \\%$ ). Since the homophily ratio of 2-hop neighbors may rise with the increase of inter-class edges, GCN of using 2-hop neighbors is more effective to some extent. Interestingly, we can find that GCN of utilizing $k \\mathbf { N N }$ is easy to get the staple accuracy, i.e., $7 1 . 4 6 \\%$ . In particular, it is much higher than those of using 1-hop and 2-hop neighbors on complete random network (i.e., $\\rho _ { o u t } = 0 . 1 2 5 )$ ). ",
348
+ "bbox": [
349
+ 173,
350
+ 166,
351
+ 825,
352
+ 306
353
+ ],
354
+ "page_idx": 3
355
+ },
356
+ {
357
+ "type": "text",
358
+ "text": "Summary. This case study shows that the current propagation mechanism of GCN is not universal for general network data, but we can find that there are rules in several special situations (i.e., complete random network). This motivates us that networks with different structural properties may need adopt different propagation mechanisms. ",
359
+ "bbox": [
360
+ 174,
361
+ 313,
362
+ 825,
363
+ 367
364
+ ],
365
+ "page_idx": 3
366
+ },
367
+ {
368
+ "type": "text",
369
+ "text": "We conduct extra experiments on Newman networks [7] with complete homophily, randomness and complete heterophily utilizing GCN, so as to discover more appropriate propagation mechanism to select valuable nodes as neighborhoods, and thus improving the performance of GCNs for different networks. One straightforward strategy is to learn network embeddings with different GCNs using different types of nodes (i.e., 1-hop, 2-hop and $k \\mathbf { N N }$ neighbors), and concatenate the embeddings into a single vector, so as to use the discriminative aggregation mechanism (which will be introduced in Section 4.2 below) to learn their importance for node classification. We show the attention values as a function of the number of training iterations in Figure 2. ",
370
+ "bbox": [
371
+ 173,
372
+ 373,
373
+ 825,
374
+ 484
375
+ ],
376
+ "page_idx": 3
377
+ },
378
+ {
379
+ "type": "image",
380
+ "img_path": "images/5a650b43450aa57c3672fb1bb1eb7cca0f63454cb87dc09a98447f654dad50a5.jpg",
381
+ "image_caption": [
382
+ "Figure 2: An example illustrating that the importance of three different types of neighbors (i.e., 1-hop, 2-hop and $k \\mathbf { N N }$ neighbors) changes with network properties. The upper part of A-C represents networks with complete homophily, randomness and complete heterophily, respectively; while the lower part denotes the attention values as a function of the number of training iterations in corresponding networks. "
383
+ ],
384
+ "image_footnote": [],
385
+ "bbox": [
386
+ 174,
387
+ 501,
388
+ 823,
389
+ 773
390
+ ],
391
+ "page_idx": 3
392
+ },
393
+ {
394
+ "type": "text",
395
+ "text": "Observation 1: Network with complete homophily tends to obtain better performance utilizing 1-hop network neighbors for direct information propagation. For the network in Figure 2A, the edges exist only in nodes within the same class, or complete homophily. As shown, 1-hop network neighbors show great importance as the increase of training iterations. This partly validates that under the setting of complete homophily, 1-hop neighbors are more effective for direct information propagation compared to 2-hop and $k \\mathbf { N N }$ neighbors. ",
396
+ "bbox": [
397
+ 174,
398
+ 869,
399
+ 825,
400
+ 911
401
+ ],
402
+ "page_idx": 3
403
+ },
404
+ {
405
+ "type": "text",
406
+ "text": "",
407
+ "bbox": [
408
+ 174,
409
+ 90,
410
+ 823,
411
+ 133
412
+ ],
413
+ "page_idx": 4
414
+ },
415
+ {
416
+ "type": "text",
417
+ "text": "Observation 2: Network with randomness tends to get better performance utilizing kNN for direct information propagation. The network in Figure 2B exhibits more randomness than Figure 2A, that is, complete random network. Obviously, with the increase of training iterations, the attention value of $k \\mathbf { N N }$ is much higher than those of 1-hop and 2-hop neighbors. Since $k \\mathbf { N N }$ typically constructed according to the similarity of node attributes, it can still realize the information fusion effectively, compared with the other two types of neighbors, in case that the network topology contains noise. ",
418
+ "bbox": [
419
+ 174,
420
+ 140,
421
+ 825,
422
+ 223
423
+ ],
424
+ "page_idx": 4
425
+ },
426
+ {
427
+ "type": "text",
428
+ "text": "Observation 3: Network with complete heterophily tends to obtain better performance utilizing 2-hop neighbors for direct information propagation. For the network in Figure 2C, the edges exist only in nodes within different classes, or complete heterophily. While the learned attention values of these three types of neighbors differ slightly, the importance of 2-hop neighbors is relatively higher. This is mainly due to the fact that the homophily ratio of 2-hop neighbors becomes higher with the increase of inter-class edges (which is often the real life in many network analysis tasks). ",
429
+ "bbox": [
430
+ 174,
431
+ 228,
432
+ 825,
433
+ 313
434
+ ],
435
+ "page_idx": 4
436
+ },
437
+ {
438
+ "type": "text",
439
+ "text": "While networks with different structural properties provide better performance utilize different propagation mechanisms, the real-world networks are complex, and may show diverse properties, e.g., the network dominated by homophily may contain a small amount of heterophily. Therefore, it is imperative to explore a universal propagation mechanism for GCNs independent of the network structural assumption. ",
440
+ "bbox": [
441
+ 174,
442
+ 319,
443
+ 825,
444
+ 388
445
+ ],
446
+ "page_idx": 4
447
+ },
448
+ {
449
+ "type": "text",
450
+ "text": "Theorem 1. The real-world networks can be approximately decomposed into a mixture of three kinds of simple networks, namely complete homophily, complete random and complete heterophily, in different proportions. ",
451
+ "bbox": [
452
+ 174,
453
+ 395,
454
+ 825,
455
+ 435
456
+ ],
457
+ "page_idx": 4
458
+ },
459
+ {
460
+ "type": "text",
461
+ "text": "Proof. Given a network $G$ , where $n$ and $m$ denote the number of nodes and edges, respectively. Assuming that $r$ edges $0 \\leq r \\leq m _ { , }$ ) are generated randomly, i.e., the probability of nodes connecting nodes within the same class or different classes is the same, which form a complete random network (with $n$ nodes and $r$ edges). The remaining edges connecting two nodes within the same class can then be regarded as composing a complete homophily network, or a complete heterophily network. ",
462
+ "bbox": [
463
+ 174,
464
+ 443,
465
+ 825,
466
+ 512
467
+ ],
468
+ "page_idx": 4
469
+ },
470
+ {
471
+ "type": "text",
472
+ "text": "Summary. Now, we can conclude that a universal GCN model may not only consider the 1-hop (Observation 1), but also the 2-hop (Observation 2) and $k \\mathbf { N N }$ neighbors (Observation 3) for direct information propagation. More importantly, considering different network properties can be more correlated with one of them or even their combinations, the model itself should adaptively learn their corresponding importance, so as to achieve feature fusion more effectively. This case study, although leveraging specific artificial networks, is representative because real-world networks can often be considered as the combination of these three simple network cases. ",
473
+ "bbox": [
474
+ 174,
475
+ 518,
476
+ 825,
477
+ 616
478
+ ],
479
+ "page_idx": 4
480
+ },
481
+ {
482
+ "type": "text",
483
+ "text": "4 Our Proposed Approach ",
484
+ "text_level": 1,
485
+ "bbox": [
486
+ 176,
487
+ 640,
488
+ 410,
489
+ 657
490
+ ],
491
+ "page_idx": 4
492
+ },
493
+ {
494
+ "type": "text",
495
+ "text": "To address the homophily assumption of GCNs, our basic idea is to design a universal GCN framework which is suitable for general networks with any structural properties. It can not only make full use of the information from 1-hop, 2-hop and $k \\mathbf { N N }$ neighbors, but also fuse them sufficiently aiming to given learning objectives. In this section, we start by proposing a new simple multi-type convolution mechanism over three kinds of neighbors, and then introduce a discriminative aggregation to learn the importance of each part: 1-hop, 2-hop and $k \\mathbf { N N }$ neighbors, automatically. ",
496
+ "bbox": [
497
+ 174,
498
+ 674,
499
+ 825,
500
+ 758
501
+ ],
502
+ "page_idx": 4
503
+ },
504
+ {
505
+ "type": "text",
506
+ "text": "4.1 Multi-type Convolution Mechanism ",
507
+ "text_level": 1,
508
+ "bbox": [
509
+ 174,
510
+ 780,
511
+ 460,
512
+ 795
513
+ ],
514
+ "page_idx": 4
515
+ },
516
+ {
517
+ "type": "text",
518
+ "text": "To capture the information from 2-hop and $k \\mathbf { N N }$ neighbors, we construct a 2-hop network $G _ { R } =$ $( A _ { R } , X )$ based on original input network $G _ { D } = ( A _ { D } , X )$ , and a $k \\mathbf { N N }$ network $G _ { F } = ( A _ { F } , X )$ based on node feature matrix $X$ . ",
519
+ "bbox": [
520
+ 174,
521
+ 806,
522
+ 825,
523
+ 849
524
+ ],
525
+ "page_idx": 4
526
+ },
527
+ {
528
+ "type": "text",
529
+ "text": "2-hop Network. For adjacency matrix $A _ { R }$ , considering that the number of neighbors at exactly 2 hops away may raise exponentially with the increase of network scale, we introduce a constraint, i.e., select node pairs connected by at least two different paths for each node to set edges. Simultaneously, we adopt the classic two-layers GCN to perform message passing on this 2-hop network $( A _ { R } , X )$ , and the $l$ -th layer embedding matrix $H _ { R } ^ { ( l ) }$ can be denoted as: ",
530
+ "bbox": [
531
+ 174,
532
+ 854,
533
+ 825,
534
+ 911
535
+ ],
536
+ "page_idx": 4
537
+ },
538
+ {
539
+ "type": "text",
540
+ "text": "",
541
+ "bbox": [
542
+ 173,
543
+ 88,
544
+ 568,
545
+ 107
546
+ ],
547
+ "page_idx": 5
548
+ },
549
+ {
550
+ "type": "equation",
551
+ "img_path": "images/3e70fae4e37d03093cd1598b64539d1d0496249777cef31c0126f00dfd8e715b.jpg",
552
+ "text": "$$\nH _ { R } ^ { ( l ) } = \\sigma ( \\tilde { D } _ { R } ^ { - \\frac { 1 } { 2 } } \\tilde { A } _ { R } \\tilde { D } _ { R } ^ { - \\frac { 1 } { 2 } } H _ { R } ^ { ( l - 1 ) } W _ { R } ^ { ( l ) } ) ,\n$$",
553
+ "text_format": "latex",
554
+ "bbox": [
555
+ 370,
556
+ 111,
557
+ 625,
558
+ 135
559
+ ],
560
+ "page_idx": 5
561
+ },
562
+ {
563
+ "type": "text",
564
+ "text": "where $\\tilde { A } _ { R } = A _ { R } + I$ , $I$ is the identity matrix, $\\tilde { D } _ { R }$ the diagonal degree matrix of ${ \\tilde { A } } _ { R }$ , $W _ { R } ^ { ( l ) }$ the weight matrix and $\\sigma$ the non-linear activation function such as ReLU or Sigmoid. In this way, we can learn the node embeddings that capture the specific information from 2-hop neighbors. ",
565
+ "bbox": [
566
+ 173,
567
+ 142,
568
+ 825,
569
+ 185
570
+ ],
571
+ "page_idx": 5
572
+ },
573
+ {
574
+ "type": "text",
575
+ "text": "kNN Network. There are many ways to obtain $k \\mathbf { N N }$ for each node, such as Jaccard similarity, Cosine similarity and Gauss kernel. In what follows, we calculate the similarity matrix $S \\in \\mathbb { R } ^ { n \\times n }$ among $n$ nodes utilizing Cosine similarity, which adopts the cosine value of the angle between two vectors to measure the similarity. Mathematically, let $x _ { i }$ be the feature vectors of node $v _ { i }$ , the similarity $s _ { i j }$ between nodes $v _ { i }$ and $v _ { j }$ is defined as: ",
576
+ "bbox": [
577
+ 173,
578
+ 190,
579
+ 825,
580
+ 261
581
+ ],
582
+ "page_idx": 5
583
+ },
584
+ {
585
+ "type": "equation",
586
+ "img_path": "images/7bf0b4f18f409b82f22bc96518dd9e4e46af6cc9948795bec3277316d8322c46.jpg",
587
+ "text": "$$\ns _ { i j } = { \\frac { x _ { i } \\cdot x _ { j } } { | x _ { i } | | x _ { j } | } } .\n$$",
588
+ "text_format": "latex",
589
+ "bbox": [
590
+ 447,
591
+ 266,
592
+ 550,
593
+ 297
594
+ ],
595
+ "page_idx": 5
596
+ },
597
+ {
598
+ "type": "text",
599
+ "text": "Then, the adjacency matrix $A _ { F }$ can be obtained by choosing top $k$ similar node pairs for each node to set edges. Accordingly, the $l .$ -th layer embedding matrix $H _ { F } ^ { ( l ) }$ that gains the information from $k \\mathbf { N N }$ can be calculated in the same way as in 2-hop network. Also of note, we use a linear algorithm Ball-tree [16] for the calculation of $k \\mathbf { N N }$ network which will not increase the complexity of GCN. ",
600
+ "bbox": [
601
+ 173,
602
+ 300,
603
+ 825,
604
+ 361
605
+ ],
606
+ "page_idx": 5
607
+ },
608
+ {
609
+ "type": "text",
610
+ "text": "As for 1-hop network neighbors, we acquire the $l$ -th layer embedding matrix $H _ { D } ^ { ( l ) }$ performing direct information propagation on original input network $G _ { D } = ( A _ { D } , X )$ . Therefore, the specific information encoded in 1-hop network neighbors can be extracted. ",
611
+ "bbox": [
612
+ 173,
613
+ 368,
614
+ 825,
615
+ 411
616
+ ],
617
+ "page_idx": 5
618
+ },
619
+ {
620
+ "type": "text",
621
+ "text": "Node-level Attention. Before aggregating the information from original input network, 2-hop network and $k \\mathbf { N N }$ network, we should note that the network-based neighbors of each node contribute to the embedding of the target node in different degrees. Here we adopt node-level attention [26] to learn the importance of network-based neighbors for each node. To be specific, given a node pair $\\boldsymbol { v } _ { i }$ , $v _ { j }$ ) and a specified network type $t$ (where $t \\in \\{ G _ { D } , G _ { R } , G _ { F } \\} )$ , the importance coefficient between nodes $v _ { i }$ and $v _ { j }$ can be formulated as: ",
622
+ "bbox": [
623
+ 173,
624
+ 416,
625
+ 825,
626
+ 502
627
+ ],
628
+ "page_idx": 5
629
+ },
630
+ {
631
+ "type": "equation",
632
+ "img_path": "images/55e7804f206316232c192c56a4bb825310ecce9e2d819150333817d2f1abee59.jpg",
633
+ "text": "$$\ne _ { i j } ^ { t } = \\mathrm { L e a k y R e L U } ( \\mu _ { t } ^ { T } [ W h _ { i } | | W h _ { j } ] ) , \\ \\alpha _ { i j } ^ { t } = \\mathrm { s o f t m a x } _ { j } ( e _ { i j } ^ { t } ) = \\frac { \\exp ( e _ { i j } ^ { t } ) } { \\sum _ { r \\in N _ { i } ^ { t } } \\exp ( e _ { i r } ^ { t } ) } ,\n$$",
634
+ "text_format": "latex",
635
+ "bbox": [
636
+ 230,
637
+ 506,
638
+ 766,
639
+ 545
640
+ ],
641
+ "page_idx": 5
642
+ },
643
+ {
644
+ "type": "text",
645
+ "text": "where $\\mu _ { t }$ is the parameterized attention vector for network type $t$ , and $W$ the mapping matrix applied to each node. Then, the embedding of node $v _ { i }$ for network type $t$ can be aggregated by the neighbor’s embeddings with its corresponding weight coefficients as: ",
646
+ "bbox": [
647
+ 173,
648
+ 550,
649
+ 825,
650
+ 592
651
+ ],
652
+ "page_idx": 5
653
+ },
654
+ {
655
+ "type": "equation",
656
+ "img_path": "images/66c20f199773c9e4869c756b7fecbdec74ef4fa261b006326b2815980085ede7.jpg",
657
+ "text": "$$\nh _ { i } ^ { t } = \\sigma ( \\sum _ { j \\in N _ { i } ^ { t } } \\alpha _ { i j } ^ { t } W h _ { j } ) .\n$$",
658
+ "text_format": "latex",
659
+ "bbox": [
660
+ 419,
661
+ 595,
662
+ 578,
663
+ 633
664
+ ],
665
+ "page_idx": 5
666
+ },
667
+ {
668
+ "type": "text",
669
+ "text": "4.2 Discriminative Aggregation ",
670
+ "text_level": 1,
671
+ "bbox": [
672
+ 174,
673
+ 647,
674
+ 405,
675
+ 662
676
+ ],
677
+ "page_idx": 5
678
+ },
679
+ {
680
+ "type": "text",
681
+ "text": "After the multi-type convolution above, we then perform a discriminative aggregation utilizing the attention mechanism, so as to learn the contributions of 1-hop, 2-hop and $k \\mathbf { N N }$ neighbors automatically based on the given learning objectives. To be specific, for each node $v _ { i }$ , let $h _ { i } ^ { t }$ denote its embedding in $H _ { t }$ , the attention value $\\beta _ { i } ^ { t }$ can then be represented as: ",
682
+ "bbox": [
683
+ 173,
684
+ 672,
685
+ 825,
686
+ 729
687
+ ],
688
+ "page_idx": 5
689
+ },
690
+ {
691
+ "type": "equation",
692
+ "img_path": "images/4f896a44f881917594197cc734bd6b562a6a0d331f0d8e65b2cbdf65e94f3ebc.jpg",
693
+ "text": "$$\n\\beta _ { i } ^ { t } = q ^ { T } \\cdot \\operatorname { t a n h } ( W _ { t } \\cdot ( h _ { i } ^ { t } ) ^ { T } + b _ { t } ) ,\n$$",
694
+ "text_format": "latex",
695
+ "bbox": [
696
+ 387,
697
+ 734,
698
+ 611,
699
+ 753
700
+ ],
701
+ "page_idx": 5
702
+ },
703
+ {
704
+ "type": "text",
705
+ "text": "where $q$ denotes the parameterized attention vector, $W _ { t }$ the weight matrix and $b _ { t }$ the bias vector. ",
706
+ "bbox": [
707
+ 173,
708
+ 757,
709
+ 800,
710
+ 772
711
+ ],
712
+ "page_idx": 5
713
+ },
714
+ {
715
+ "type": "text",
716
+ "text": "After obtaining the attention value of each network, i.e., $\\beta _ { i } ^ { D } , \\beta _ { i } ^ { R } , \\beta _ { i } ^ { F }$ , we normalize them via softmax function to get the final weight: ",
717
+ "bbox": [
718
+ 174,
719
+ 776,
720
+ 823,
721
+ 806
722
+ ],
723
+ "page_idx": 5
724
+ },
725
+ {
726
+ "type": "equation",
727
+ "img_path": "images/359a2cd211e227a38b3062bbaaed34f71aca720cc54e2dfb7313d24a7dbdb2b3.jpg",
728
+ "text": "$$\n\\gamma _ { i } ^ { t } = \\mathrm { s o f t m a x } ( \\beta _ { i } ^ { t } ) = \\frac { \\exp ( \\beta _ { i } ^ { t } ) } { \\sum _ { t } \\exp ( \\beta _ { i } ^ { t } ) } .\n$$",
729
+ "text_format": "latex",
730
+ "bbox": [
731
+ 382,
732
+ 810,
733
+ 616,
734
+ 847
735
+ ],
736
+ "page_idx": 5
737
+ },
738
+ {
739
+ "type": "text",
740
+ "text": "Obviously, a larger $\\gamma _ { i } ^ { t }$ value means that the corresponding embedding is more important. The ouput embedding $H$ can then be aggregated by these network-specific embeddings with its corresponding weight coefficients as: ",
741
+ "bbox": [
742
+ 174,
743
+ 851,
744
+ 825,
745
+ 892
746
+ ],
747
+ "page_idx": 5
748
+ },
749
+ {
750
+ "type": "equation",
751
+ "img_path": "images/f9f3c20a1e8534ead6517da04d2d2cb08704e960dbabe11cea06ef42556eebdb.jpg",
752
+ "text": "$$\nH = \\sum _ { t } \\gamma _ { i } ^ { t } \\cdot H ^ { t } .\n$$",
753
+ "text_format": "latex",
754
+ "bbox": [
755
+ 436,
756
+ 891,
757
+ 562,
758
+ 916
759
+ ],
760
+ "page_idx": 5
761
+ },
762
+ {
763
+ "type": "text",
764
+ "text": "Following GCN, we define the loss function by using cross entropy as: ",
765
+ "bbox": [
766
+ 173,
767
+ 90,
768
+ 637,
769
+ 106
770
+ ],
771
+ "page_idx": 6
772
+ },
773
+ {
774
+ "type": "equation",
775
+ "img_path": "images/d66154b1ae0dd8534e366b0f38c19b8071fa9e35ad3f60a33870931ca7fffc01.jpg",
776
+ "text": "$$\n\\mathcal { L } = - \\sum _ { i \\in \\mathcal { V } _ { L } } \\sum _ { f = 1 } ^ { F } Y _ { i f } \\ln H _ { i f } ,\n$$",
777
+ "text_format": "latex",
778
+ "bbox": [
779
+ 406,
780
+ 111,
781
+ 591,
782
+ 157
783
+ ],
784
+ "page_idx": 6
785
+ },
786
+ {
787
+ "type": "text",
788
+ "text": "where $\\mathcal { { V } } _ { L }$ is the set of node indices that have labels, $Y$ the label indicator matrix, and $F$ the dimension of the output embedding, which is equal to the number of classes. ",
789
+ "bbox": [
790
+ 171,
791
+ 162,
792
+ 825,
793
+ 193
794
+ ],
795
+ "page_idx": 6
796
+ },
797
+ {
798
+ "type": "text",
799
+ "text": "5 Experiments ",
800
+ "text_level": 1,
801
+ "bbox": [
802
+ 174,
803
+ 210,
804
+ 312,
805
+ 228
806
+ ],
807
+ "page_idx": 6
808
+ },
809
+ {
810
+ "type": "text",
811
+ "text": "We first give the experimental setup, and then compare our U-GCN with some state-of-the-arts on node classification. We finally give an in-depth analysis of different components of our new approach. ",
812
+ "bbox": [
813
+ 173,
814
+ 242,
815
+ 825,
816
+ 271
817
+ ],
818
+ "page_idx": 6
819
+ },
820
+ {
821
+ "type": "text",
822
+ "text": "5.1 Experimental Settings ",
823
+ "text_level": 1,
824
+ "bbox": [
825
+ 174,
826
+ 286,
827
+ 367,
828
+ 301
829
+ ],
830
+ "page_idx": 6
831
+ },
832
+ {
833
+ "type": "text",
834
+ "text": "Datasets. We adopt eight public network datasets with edge homophily ratio $\\alpha$ ranging from strong homophily to strong heterophily, as shown in Table 1, to evaluate the performance of different methods. We use three citation networks Cora, CiteSeer and PubMed [19, 25], two Wikipedia networks Chameleon and Squirrel [24], and three webpage networks1 Cornell, Wisconsin and Texas. ",
835
+ "bbox": [
836
+ 174,
837
+ 311,
838
+ 825,
839
+ 367
840
+ ],
841
+ "page_idx": 6
842
+ },
843
+ {
844
+ "type": "text",
845
+ "text": "Baselines. We compare our U-GCN with eight baselines: (1) the methods utilizing both topological and attribute information: GCN [14], GAT [26], GraphSAGE [8], JK-Net [29], SSP [11], Geom-GCN [22] and GCN-LPA [27], and (2) the method using node attribute: MLP. Especially, GCN is the base of our U-GCN. ",
846
+ "bbox": [
847
+ 173,
848
+ 373,
849
+ 825,
850
+ 429
851
+ ],
852
+ "page_idx": 6
853
+ },
854
+ {
855
+ "type": "text",
856
+ "text": "Parameter Settings. For all methods, we set the dropout rate to 0.6 and use the same splits for training, validation and testing sets. We run 5 times with the same partition and report the average results. We employ the Adam optimizer with the learning rate setting to 0.005 and apply early stopping with a patience of 20. In addition, we set the number of attention heads to 8, weight decay $\\in \\{ \\bar { 5 } e - 3 , 5 e - 4 \\}$ , and $k \\in \\{ 3 . . . 7 \\}$ for $k$ -nearest neighbor network. ",
857
+ "bbox": [
858
+ 174,
859
+ 435,
860
+ 825,
861
+ 506
862
+ ],
863
+ "page_idx": 6
864
+ },
865
+ {
866
+ "type": "table",
867
+ "img_path": "images/f51ce7d9e0e7de2cf9f4842768cdf15c5aebfe9ee3c40c8c45c9ea46b6b39242.jpg",
868
+ "table_caption": [
869
+ "Table 1: Dataset Statistics. "
870
+ ],
871
+ "table_footnote": [],
872
+ "table_body": "<table><tr><td>Datasets</td><td>Cora</td><td>Pubm.</td><td>Cite.</td><td>Corn.</td><td>Cham.</td><td>Squi.</td><td>Wisc.</td><td>Texa.</td></tr><tr><td>#Nodes</td><td>2708</td><td>19717</td><td>3327</td><td>183</td><td>2277</td><td>5201</td><td>251</td><td>183</td></tr><tr><td>#Edges</td><td>5429</td><td>44338</td><td>4732</td><td>298</td><td>36101</td><td>217073</td><td>515</td><td>325</td></tr><tr><td>#Features</td><td>1433</td><td>500</td><td>3703</td><td>1703</td><td>2325</td><td>2089</td><td>1703</td><td>1703</td></tr><tr><td>#Classes</td><td>7</td><td>3</td><td>6</td><td>5</td><td>5</td><td>5</td><td>5</td><td>5</td></tr><tr><td>a</td><td>0.83</td><td>0.79</td><td>0.71</td><td>0.30</td><td>0.25</td><td>0.22</td><td>0.16</td><td>0.06</td></tr></table>",
873
+ "bbox": [
874
+ 222,
875
+ 545,
876
+ 772,
877
+ 645
878
+ ],
879
+ "page_idx": 6
880
+ },
881
+ {
882
+ "type": "text",
883
+ "text": "5.2 Node Classfication ",
884
+ "text_level": 1,
885
+ "bbox": [
886
+ 174,
887
+ 667,
888
+ 341,
889
+ 683
890
+ ],
891
+ "page_idx": 6
892
+ },
893
+ {
894
+ "type": "text",
895
+ "text": "On the node classification task, we use accuracy as the evaluation metric, and the relevant results are summarized in Table 2. As shown, we observe that the U-GCN has consistently strong performance across the full spectrum of high-middle-low homophily. To be specific, on the dataset with strong homophily, e.g., Cora and Citeseer, U-GCN is comparable with the best baseline GAT that based on homophily assumption. On the dataset with middle homophily, e.g., Cornell and Chameleon, U-GCN is $3 . 8 8 \\%$ and $1 . 3 8 \\%$ more accurate than the best baselines MLP and GCN-LPA, respectively. Above all, on the dataset with strong heterophily, e.g., Wisconsin and Texas, our model U-GCN outperforms the best baseline MLP by a very large margin, i.e., $5 . 6 9 \\%$ and $5 . 8 3 \\%$ , which has been proved to be superior to a number of existing GNNs at the low level of homophily [35]. These results not only demonstrate the superiority of the new multi-type convolution mechanism that makes full use of the information from 1-hop, 2-hop and $k \\mathbf { N N }$ neighbors, but also validate the effectiveness for distinguishing importance of information from different propagation mechanisms. In addition, the performance of U-GCN is much better than that of GCN, which further demonstrates the effectiveness of designing a universal propagation mechanism independent of network structural assumption. ",
896
+ "bbox": [
897
+ 173,
898
+ 693,
899
+ 826,
900
+ 887
901
+ ],
902
+ "page_idx": 6
903
+ },
904
+ {
905
+ "type": "table",
906
+ "img_path": "images/f7fd8f58274cae06365f677fdc2eaeb72c21048a77b429038df36a4b1b2350da.jpg",
907
+ "table_caption": [
908
+ "Table 2: Comparisons on node classification (Percent). "
909
+ ],
910
+ "table_footnote": [],
911
+ "table_body": "<table><tr><td>Methods</td><td>Cora</td><td>Pubm.</td><td>Cite.</td><td>Corn.</td><td>Cham.</td><td>Squi.</td><td>Wisc.</td><td>Texa.</td></tr><tr><td>GCN</td><td>82.93</td><td>83.29</td><td>73.12</td><td>46.51</td><td>52.32</td><td>33.10</td><td>47.73</td><td>52.71</td></tr><tr><td>GAT</td><td>83.13</td><td>84.42</td><td>72.04</td><td>48.06</td><td>51.38</td><td>32.27</td><td>46.59</td><td>49.61</td></tr><tr><td>SSP</td><td>81.08</td><td>79.50</td><td>71.13</td><td>55.04</td><td>21.87</td><td>19.72</td><td>49.37</td><td>55.04</td></tr><tr><td>JK-Net</td><td>81.27</td><td>86.15</td><td>71.74</td><td>52.71</td><td>53.95</td><td>33.51</td><td>48.30</td><td>51.94</td></tr><tr><td>GraphSage</td><td>82.20</td><td>83.03</td><td>71.41</td><td>53.49</td><td>42.29</td><td>26.89</td><td>56.82</td><td>53.49</td></tr><tr><td>Geom-GCN</td><td>74.27</td><td>83.49</td><td>73.79</td><td>54.26</td><td>38.66</td><td>32.22</td><td>53.41</td><td>64.34</td></tr><tr><td>GCN-LPA</td><td>82.33</td><td>85.83</td><td>72.29</td><td>49.61</td><td>52.69</td><td>33.48</td><td>50.57</td><td>48.84</td></tr><tr><td>MLP</td><td>63.33</td><td>83.08</td><td>67.74</td><td>65.89</td><td>41.35</td><td>29.44</td><td>64.20</td><td>65.89</td></tr><tr><td>U-GCN</td><td>84.00</td><td>85.22</td><td>74.08</td><td>69.77</td><td>54.07</td><td>34.39</td><td>69.89</td><td>71.72</td></tr></table>",
912
+ "bbox": [
913
+ 215,
914
+ 113,
915
+ 779,
916
+ 284
917
+ ],
918
+ "page_idx": 7
919
+ },
920
+ {
921
+ "type": "text",
922
+ "text": "5.3 Ablation Study ",
923
+ "text_level": 1,
924
+ "bbox": [
925
+ 173,
926
+ 305,
927
+ 318,
928
+ 320
929
+ ],
930
+ "page_idx": 7
931
+ },
932
+ {
933
+ "type": "text",
934
+ "text": "Similar to most deep learning models, U-GCN also contains some important components that may have significant impact on the performance. To gain deeper insight into the contributions of different components involved in our approach, we conduct experiments on comparing U-GCN with four variations. The variants are as follows: 1) GCN which serves as the base framework of U-GCN of using 1-hop network neighbors for propagation, 2) GCN of employing 2-hop neighbors for direct propagation, named as U-GCN-1, 3) GCN of utilizing $k \\mathbf { N N }$ for direct propagation, named as U-GCN2, and 4) U-GCN of removing 2-hop neighbors, named as U-GCN-3. We take their comparison on node classification as an example. ",
935
+ "bbox": [
936
+ 173,
937
+ 330,
938
+ 825,
939
+ 443
940
+ ],
941
+ "page_idx": 7
942
+ },
943
+ {
944
+ "type": "text",
945
+ "text": "As shown in Table 3, compared to GCN, U-GCN-1 (and U-GCN-2) of utilizing 2-hop neighbors (and $k \\mathrm { N N } ,$ ) is on average $3 . 3 7 \\%$ (and $3 . 1 2 \\%$ ) more accurate on eight datasets. This validates that 2-hop neighbors (and $k \\mathrm { N N }$ ) play an important role during information propagation, especially on the networks dominated by heterophily. Furthermore, by introducing $k \\mathbf { N N }$ , the derived U-GCN-3 improves performance of GCN (and U-GCN-2), i.e., on average $6 . 6 4 \\%$ (and $3 . 3 2 \\%$ ) more accurate on eight datasets. This demonstrates that the performance of 1-hop and $k \\mathbf { N N }$ neighbors can be mutually enhanced to a certain extent. In addition, U-GCN is on average $2 . 4 9 \\%$ more accurate than U-GCN-3, which further validates the soundness of our new universal GCN framework that makes full use of different propagation mechanisms aiming to the network with diverse properties. ",
946
+ "bbox": [
947
+ 173,
948
+ 446,
949
+ 825,
950
+ 573
951
+ ],
952
+ "page_idx": 7
953
+ },
954
+ {
955
+ "type": "table",
956
+ "img_path": "images/d7cd954613559ed66bcbe293fa55e07a23d8e05f9690e1f247abaf7e68ac477d.jpg",
957
+ "table_caption": [
958
+ "Table 3: Comparisons of our U-GCN with four variants on node classification (Percent). "
959
+ ],
960
+ "table_footnote": [],
961
+ "table_body": "<table><tr><td>Methods</td><td>Cora</td><td>Pubm.</td><td>Cite.</td><td>Corn.</td><td>Cham.</td><td>Squi.</td><td>Wisc.</td><td>Texa.</td><td>AVG</td></tr><tr><td>GCN</td><td>82.93</td><td>83.29</td><td>73.12</td><td>46.51</td><td>52.32</td><td>33.10</td><td>47.73</td><td>52.71</td><td>58.96</td></tr><tr><td>U-GCN-1</td><td>74.40</td><td>83.92</td><td>68.66</td><td>56.59</td><td>48.81</td><td>33.84</td><td>64.20</td><td>68.22</td><td>62.33</td></tr><tr><td>U-GCN-2</td><td>70.27</td><td>80.86</td><td>68.74</td><td>70.54</td><td>38.60</td><td>29.11</td><td>68.75</td><td>69.77</td><td>62.08</td></tr><tr><td>U-GCN-3</td><td>83.67</td><td>81.33</td><td>72.79</td><td>65.12</td><td>53.51</td><td>34.06</td><td>69.89</td><td>62.79</td><td>65.40</td></tr><tr><td>U-GCN</td><td>84.00</td><td>85.22</td><td>74.08</td><td>69.77</td><td>54.07</td><td>34.39</td><td>69.89</td><td>71.72</td><td>67.89</td></tr></table>",
962
+ "bbox": [
963
+ 194,
964
+ 609,
965
+ 800,
966
+ 710
967
+ ],
968
+ "page_idx": 7
969
+ },
970
+ {
971
+ "type": "text",
972
+ "text": "6 Related Work ",
973
+ "text_level": 1,
974
+ "bbox": [
975
+ 173,
976
+ 734,
977
+ 321,
978
+ 752
979
+ ],
980
+ "page_idx": 7
981
+ },
982
+ {
983
+ "type": "text",
984
+ "text": "In line with the focus of our work, we briefly review the most related work on graph neural networks (GNNs) and homophily assumption. ",
985
+ "bbox": [
986
+ 174,
987
+ 765,
988
+ 823,
989
+ 795
990
+ ],
991
+ "page_idx": 7
992
+ },
993
+ {
994
+ "type": "text",
995
+ "text": "GNNs. In recent years, GNNs have become popular for graph-based machine learning problems increasingly [13, 31]. Defferrard et al. [5] propose the first version of GNN by generalizing convolutional neural networks (CNNs) from regular grids (e.g., images) to irregular grids (e.g., graphs). After that comes GCN [14], a popular GNN model which obtains node embeddings by integrating high-order neighborhood information through stacked graph convolutional layers. Further, GraphSAGE [8] generalizes the aggregation beyond averaging, and models the ego-features distinctly from the neighbor-features in its subsampled neighborhood. GAT [26] introduces a node-level multi-head attention mechanisms to specify the weights from different neighborhoods. ",
996
+ "bbox": [
997
+ 173,
998
+ 800,
999
+ 825,
1000
+ 911
1001
+ ],
1002
+ "page_idx": 7
1003
+ },
1004
+ {
1005
+ "type": "text",
1006
+ "text": "Homophily Assumption. Several efforts have been made to relieve the limitation of homophily assumption, so as to improve GCNs. Geom-GCN [22] proposes a novel geometric aggregation scheme to overcome neighborhood structural information losing and long-range dependencies lacking. GPR-GNN [4] proposes a new architecture that adaptively learns the generalized pageRank (GPR) weights, to jointly optimize node feature and topological information extraction. CPGNN [34] designs a GNN framework that incorporates an interpretable compatibility matrix $H$ for modeling the homophily level. Moreover, H2GCN [35] incorporates three key designs: ego- and neighborembedding separation, higher-order neighborhoods and combination of intermediate, to capture information under the low level of homophily. More Recently, GGCN [32] proposes a robust and generalized model that addresses the discrepancy in features and degrees between neighbors by incorporating signed messages and learned degree corrections, so as to alleviate the homophily assumption of GCNs. ",
1007
+ "bbox": [
1008
+ 174,
1009
+ 90,
1010
+ 825,
1011
+ 257
1012
+ ],
1013
+ "page_idx": 8
1014
+ },
1015
+ {
1016
+ "type": "text",
1017
+ "text": "These existing methods have achieved reasonable results on handling the homophily assumption of GCNs. However, there is still a lack of insightful understanding of the key factors of a universal propagation mechanism independent of the network structural assumption, which is of great significant while often ignored by the existing GCN methods. ",
1018
+ "bbox": [
1019
+ 174,
1020
+ 263,
1021
+ 825,
1022
+ 319
1023
+ ],
1024
+ "page_idx": 8
1025
+ },
1026
+ {
1027
+ "type": "text",
1028
+ "text": "7 Discussion ",
1029
+ "text_level": 1,
1030
+ "bbox": [
1031
+ 174,
1032
+ 338,
1033
+ 292,
1034
+ 356
1035
+ ],
1036
+ "page_idx": 8
1037
+ },
1038
+ {
1039
+ "type": "text",
1040
+ "text": "In this section, we discuss what are the universal propagation mechanism in networks. Take the global spread of epidemics as an example, it is a complex, network-driven dynamic process. The combined multi-scale nature and intrinsic heterogeneity of the epidemic network make it difficult to develop an intuitive understanding of this process, to predict its time course and to locate its origin. However, Brockmann et al. [3] show that if we use a probabilistically motivated effective distance, rather than conventional geographic distance, to analyse propagation process, the complex spatiotemporal patterns can be simplified into simple, homogeneous wave propagation patterns. Motivated by this idea, it is of great necessary to find a universal propagation mechanism for GCNs, where universality refers to independence on homophily, heterophily or randomness network structural assumptions, so as to select the valuable nodes as neighborhoods, and meanwhile relieve the limitation of homophily assumption of GCNs. More importantly, even if there are assumptions (e.g., homophily), a universal propagation mechanism may still be able to find better and more valuable nodes as neighborhoods, rather than directly using the 1-hop network neighbors the same as the existing methods. ",
1041
+ "bbox": [
1042
+ 174,
1043
+ 371,
1044
+ 825,
1045
+ 551
1046
+ ],
1047
+ "page_idx": 8
1048
+ },
1049
+ {
1050
+ "type": "text",
1051
+ "text": "8 Conclusion ",
1052
+ "text_level": 1,
1053
+ "bbox": [
1054
+ 174,
1055
+ 570,
1056
+ 297,
1057
+ 588
1058
+ ],
1059
+ "page_idx": 8
1060
+ },
1061
+ {
1062
+ "type": "text",
1063
+ "text": "We rethink the propagation mechanism of networks with different structural properties, and surprisingly discover the segmentation rules that 1-hop, $k \\mathbf { N N }$ and 2-hop neighbors are more suitable as neighborhoods in network with complete homophily, randomness and complete heterophily, respectively. However, real-world networks are complex, and may present diverse properties. We accordingly design a universal model U-GCN, which is able to select more valuable nodes as neighborhoods automatically for information propagation without relying on network structural assumptions. Empirical results on networks with different edge homophily ratio demonstrate the superiority of our new approach over some state-of-the-art methods. ",
1064
+ "bbox": [
1065
+ 174,
1066
+ 603,
1067
+ 825,
1068
+ 713
1069
+ ],
1070
+ "page_idx": 8
1071
+ },
1072
+ {
1073
+ "type": "text",
1074
+ "text": "Last but not least, the methods that satisfy the basic idea, that is, consider the information from nodes of 1-hop, 2-hop and $k \\mathbf { N N }$ neighbors simultaneously, and at the same time, make reasonable use of these information, and fuse them effectively for the learning objectives, can be considered as general models, where our U-GCN is one of the most simple and effective methods. ",
1075
+ "bbox": [
1076
+ 174,
1077
+ 719,
1078
+ 825,
1079
+ 775
1080
+ ],
1081
+ "page_idx": 8
1082
+ },
1083
+ {
1084
+ "type": "text",
1085
+ "text": "Broader Impact ",
1086
+ "text_level": 1,
1087
+ "bbox": [
1088
+ 174,
1089
+ 796,
1090
+ 310,
1091
+ 813
1092
+ ],
1093
+ "page_idx": 8
1094
+ },
1095
+ {
1096
+ "type": "text",
1097
+ "text": "In this work, we propose to analyse whether networks with different structural properties should adopt different propagation mechanisms. One interesting finding is that there are segmentation rules for the universal propagation phenomenon. Considering real-world networks are complex and may present diverse properties, a universal propagation mechanism independent of the network structural assumption have been presented. Obviously, the results of the work will have an immediate impact on improving the performance of most GCN models based on homophily assumption. Not only that, this work will also significantly benefit applications involving network-structured data, including bioinformatics, computer vision and recommendation system. ",
1098
+ "bbox": [
1099
+ 174,
1100
+ 827,
1101
+ 823,
1102
+ 911
1103
+ ],
1104
+ "page_idx": 8
1105
+ },
1106
+ {
1107
+ "type": "text",
1108
+ "text": "",
1109
+ "bbox": [
1110
+ 171,
1111
+ 92,
1112
+ 823,
1113
+ 119
1114
+ ],
1115
+ "page_idx": 9
1116
+ },
1117
+ {
1118
+ "type": "text",
1119
+ "text": "While our research focuses on performance by designing a universal propagation mechanism on general networks with any structural properties, like many other GCNs, it provides limited explanation to its prediction. We advocate peer researchers to look into this to enhance the interpretability of modern GCNs, and make GCNs applicable in more risk-sensitive applications. ",
1120
+ "bbox": [
1121
+ 174,
1122
+ 126,
1123
+ 825,
1124
+ 181
1125
+ ],
1126
+ "page_idx": 9
1127
+ },
1128
+ {
1129
+ "type": "text",
1130
+ "text": "Acknowledgements ",
1131
+ "text_level": 1,
1132
+ "bbox": [
1133
+ 176,
1134
+ 200,
1135
+ 338,
1136
+ 217
1137
+ ],
1138
+ "page_idx": 9
1139
+ },
1140
+ {
1141
+ "type": "text",
1142
+ "text": "This work is supported in by the Natural Science Foundation of China under grants 61772361, 61876128 and 62172052. ",
1143
+ "bbox": [
1144
+ 174,
1145
+ 232,
1146
+ 825,
1147
+ 260
1148
+ ],
1149
+ "page_idx": 9
1150
+ },
1151
+ {
1152
+ "type": "text",
1153
+ "text": "References ",
1154
+ "text_level": 1,
1155
+ "bbox": [
1156
+ 174,
1157
+ 280,
1158
+ 266,
1159
+ 296
1160
+ ],
1161
+ "page_idx": 9
1162
+ },
1163
+ {
1164
+ "type": "text",
1165
+ "text": "[1] Gregor Bachmann, Gary Bécigneul, and Octavian Ganea. Constant curvature graph convolutional networks. In Proceedings of ICML, pages 486–496, 2020. \n[2] Deyu Bo, Xiao Wang, Chuan Shi, and Huawei Shen. Beyond low-frequency information in graph convolutional networks. In Proceedings of AAAI, 2021. \n[3] Dirk Brockmann and Dirk Helbing. The hidden geometry of complex, network-driven contagion phenomena. Science, 342(6164):1337–1342, 2013. \n[4] Eli Chien, Jianhao Peng, Pan Li, and Olgica Milenkovic. Adaptive universal generalized pagerank graph neural network. In Proceedings of ICLR, 2021. \n[5] Michaël Defferrard, Xavier Bresson, and Pierre Vandergheynst. Convolutional neural networks on graphs with fast localized spectral filtering. In Proceedings of NeurIPS, pages 3837–3845, 2016. \n[6] Hongyang Gao, Zhengyang Wang, and Shuiwang Ji. Large-scale learnable graph convolutional networks. In Proceedings of KDD, pages 1416–1424, 2018. \n[7] Michelle Girvan and M. E. J. Newman. Community structure in social and biological networks. Proceedings of the National Academy of Sciences, 99(12):7821–7826, 2002. \n[8] William L. Hamilton, Zhitao Ying, and Jure Leskovec. Inductive representation learning on large graphs. In Proceedings of NeurIPS, pages 1024–1034, 2017. \n[9] Dongxiao He, Zhiyong Feng, Di Jin, Xiaobao Wang, and Weixiong Zhang. Joint identification of network communities and semantics via integrative modeling of network topologies and node contents. In Proceedings of AAAI, pages 116–124, 2017. \n[10] Fenyu Hu, Yanqiao Zhu, Shu Wu, Liang Wang, and Tieniu Tan. Hierarchical graph convolutional networks for semi-supervised node classification. In Proceedings of IJCAI, pages 4532–4539, 2019. \n[11] Mohammad Rasool Izadi, Yihao Fang, Robert Stevenson, and Lizhen Lin. Optimization of graph neural networks with natural gradient descent. In IEEE International Conference on Big Data, pages 171–179, 2020. \n[12] Di Jin, Cuiying Huo, Chundong Liang, and Liang Yang. Heterogeneous graph neural network via attribute completion. In Proceedings of WWW, pages 391–400, 2021. \n[13] Di Jin, Zhizhi Yu, Pengfei Jiao, Shirui Pan, Philip S. Yu, and Weixiong Zhang. A survey of community detection approaches: From statistical modeling to deep learning. TKDE, 2021. \n[14] Thomas N. Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. In Proceedings of ICLR, 2017. \n[15] Ruoyu Li, Sheng Wang, Feiyun Zhu, and Junzhou Huang. Adaptive graph convolutional neural networks. In Proceedings of AAAI, pages 3546–3553, 2018. ",
1166
+ "bbox": [
1167
+ 174,
1168
+ 297,
1169
+ 826,
1170
+ 917
1171
+ ],
1172
+ "page_idx": 9
1173
+ },
1174
+ {
1175
+ "type": "text",
1176
+ "text": "[16] Ting Liu, Andrew W. Moore, and Alexander G. Gray. New algorithms for efficient highdimensional nonparametric classification. Journal of Machine Learning Research, 7:1135–1158, 2006. ",
1177
+ "bbox": [
1178
+ 171,
1179
+ 90,
1180
+ 825,
1181
+ 132
1182
+ ],
1183
+ "page_idx": 10
1184
+ },
1185
+ {
1186
+ "type": "text",
1187
+ "text": "[17] Zhiwei Liu, Mengting Wan, Stephen Guo, Kannan Achan, and Philip S. Yu. Basconv: Aggregating heterogeneous interactions for basket recommendation with graph convolutional neural network. In Proceedings of SDM, pages 64–72, 2020. ",
1188
+ "bbox": [
1189
+ 173,
1190
+ 140,
1191
+ 821,
1192
+ 183
1193
+ ],
1194
+ "page_idx": 10
1195
+ },
1196
+ {
1197
+ "type": "text",
1198
+ "text": "[18] Miller McPherson, Lynn Smith-Lovin, and James M Cook. Birds of father: Homophily in social networks. Annual Review of Sociology, 27(1):415–444, 2001. ",
1199
+ "bbox": [
1200
+ 176,
1201
+ 189,
1202
+ 823,
1203
+ 218
1204
+ ],
1205
+ "page_idx": 10
1206
+ },
1207
+ {
1208
+ "type": "text",
1209
+ "text": "[19] Galileo Namata, Ben London, Lise Getoor, and Bert Huang. Query-driven active surveying for collective classification. In Proceedings of the International Workshop on MLG. ",
1210
+ "bbox": [
1211
+ 174,
1212
+ 223,
1213
+ 823,
1214
+ 253
1215
+ ],
1216
+ "page_idx": 10
1217
+ },
1218
+ {
1219
+ "type": "text",
1220
+ "text": "[20] M. E. J. Newman. Assortative mixing in networks. Physical Review Letters, 89(20):208701, 2002. ",
1221
+ "bbox": [
1222
+ 174,
1223
+ 258,
1224
+ 825,
1225
+ 289
1226
+ ],
1227
+ "page_idx": 10
1228
+ },
1229
+ {
1230
+ "type": "text",
1231
+ "text": "[21] Shashank Pandit, Duen Horng Chau, Samuel Wang, and Christos Faloutsos. Netprobe: a fast and scalable system for fraud detection in online auction networks. In Proceedings of WWW, pages 201–210, 2007. ",
1232
+ "bbox": [
1233
+ 174,
1234
+ 294,
1235
+ 823,
1236
+ 337
1237
+ ],
1238
+ "page_idx": 10
1239
+ },
1240
+ {
1241
+ "type": "text",
1242
+ "text": "[22] Hongbin Pei, Bingzhe Wei, Kevin Chen-Chuan Chang, Yu Lei, and Bo Yang. Geom-gcn: Geometric graph convolutional networks. In Processings of ICLR, 2020. ",
1243
+ "bbox": [
1244
+ 171,
1245
+ 343,
1246
+ 823,
1247
+ 372
1248
+ ],
1249
+ "page_idx": 10
1250
+ },
1251
+ {
1252
+ "type": "text",
1253
+ "text": "[23] Yu Rong, Wenbing Huang, Tingyang Xu, and Junzhou Huang. Dropedge: Towards deep graph convolutional networks on node classification. In Proceedings of ICLR, 2020. ",
1254
+ "bbox": [
1255
+ 173,
1256
+ 378,
1257
+ 821,
1258
+ 407
1259
+ ],
1260
+ "page_idx": 10
1261
+ },
1262
+ {
1263
+ "type": "text",
1264
+ "text": "[24] Benedek Rozemberczki, Carl Allen, and Rik Sarkar. Multi-scale attributed node embedding. Journal of Complex Networks, 9(2), 2021. ",
1265
+ "bbox": [
1266
+ 176,
1267
+ 412,
1268
+ 823,
1269
+ 443
1270
+ ],
1271
+ "page_idx": 10
1272
+ },
1273
+ {
1274
+ "type": "text",
1275
+ "text": "[25] Prithviraj Sen, Galileo Namata, Mustafa Bilgic, Lise Getoor, Brian Gallagher, and Tina EliassiRad. Collective classification in network data. AI Magazine, 29(3):93–106, 2008. ",
1276
+ "bbox": [
1277
+ 174,
1278
+ 448,
1279
+ 823,
1280
+ 478
1281
+ ],
1282
+ "page_idx": 10
1283
+ },
1284
+ {
1285
+ "type": "text",
1286
+ "text": "[26] Petar Velickovic, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Liò, and Yoshua Bengio. Graph attention networks. In Proceedings of ICLR, 2018. ",
1287
+ "bbox": [
1288
+ 174,
1289
+ 483,
1290
+ 823,
1291
+ 513
1292
+ ],
1293
+ "page_idx": 10
1294
+ },
1295
+ {
1296
+ "type": "text",
1297
+ "text": "[27] Hongwei Wang and Jure Leskovec. Unifying graph convolutional neural networks and label propagation. arXiv preprint arXiv:2002.06755, 2020. ",
1298
+ "bbox": [
1299
+ 174,
1300
+ 518,
1301
+ 821,
1302
+ 549
1303
+ ],
1304
+ "page_idx": 10
1305
+ },
1306
+ {
1307
+ "type": "text",
1308
+ "text": "[28] Xiao Wang, Meiqi Zhu, Deyu Bo, Peng Cui, Chuan Shi, and Jian Pei. AM-GCN: adaptive multi-channel graph convolutional networks. In Proceedings of KDD, pages 1243–1253, 2020. ",
1309
+ "bbox": [
1310
+ 174,
1311
+ 554,
1312
+ 823,
1313
+ 583
1314
+ ],
1315
+ "page_idx": 10
1316
+ },
1317
+ {
1318
+ "type": "text",
1319
+ "text": "[29] Keyulu Xu, Chengtao Li, Yonglong Tian, Tomohiro Sonobe, Ken-ichi Kawarabayashi, and Stefanie Jegelka. Representation learning on graphs with jumping knowledge networks. In Proceedings of ICML, volume 80, pages 5449–5458, 2018. ",
1320
+ "bbox": [
1321
+ 174,
1322
+ 589,
1323
+ 823,
1324
+ 632
1325
+ ],
1326
+ "page_idx": 10
1327
+ },
1328
+ {
1329
+ "type": "text",
1330
+ "text": "[30] Qianqian Xu, Jiechao Xiong, Xiaochun Cao, Qingming Huang, and Yuan Yao. From social to individuals: A parsimonious path of multi-level models for crowdsourced preference aggregation. IEEE Transactions on Pattern Analysis and Machine Intelligence, 41(4):844–856, 2019. ",
1331
+ "bbox": [
1332
+ 174,
1333
+ 638,
1334
+ 821,
1335
+ 694
1336
+ ],
1337
+ "page_idx": 10
1338
+ },
1339
+ {
1340
+ "type": "text",
1341
+ "text": "[31] Qianqian Xu, Zhiyong Yang, Zuyao Chen, Yangbangyan Jiang, Xiaochun Cao, Yuan Yao, and Qingming Huang. Deep partial rank aggregation for personalized attributes. In Proceedings of AAAI, pages 678–688, 2021. ",
1342
+ "bbox": [
1343
+ 173,
1344
+ 700,
1345
+ 825,
1346
+ 743
1347
+ ],
1348
+ "page_idx": 10
1349
+ },
1350
+ {
1351
+ "type": "text",
1352
+ "text": "[32] Yujun Yan, Milad Hashemi, Kevin Swersky, Yaoqing Yang, and Danai Koutra. Two sides of the same coin: Heterophily and oversmoothing in graph convolutional neural networks. arXiv preprint arXiv:2102.06462, 2021. ",
1353
+ "bbox": [
1354
+ 171,
1355
+ 750,
1356
+ 823,
1357
+ 792
1358
+ ],
1359
+ "page_idx": 10
1360
+ },
1361
+ {
1362
+ "type": "text",
1363
+ "text": "[33] Jiaxuan You, Rex Ying, and Jure Leskovec. Position-aware graph neural networks. In Proceedings of ICML, pages 7134–7143, 2019. ",
1364
+ "bbox": [
1365
+ 173,
1366
+ 799,
1367
+ 823,
1368
+ 828
1369
+ ],
1370
+ "page_idx": 10
1371
+ },
1372
+ {
1373
+ "type": "text",
1374
+ "text": "[34] Jiong Zhu, Ryan A. Rossi, Anup B. Rao, Tung Mai, Nedim Lipka, Nesreen K. Ahmed, and Danai Koutra. Graph neural networks with heterophily. In Proceedings of AAAI, 2021. ",
1375
+ "bbox": [
1376
+ 173,
1377
+ 833,
1378
+ 823,
1379
+ 863
1380
+ ],
1381
+ "page_idx": 10
1382
+ },
1383
+ {
1384
+ "type": "text",
1385
+ "text": "[35] Jiong Zhu, Yujun Yan, Lingxiao Zhao, Mark Heimann, Leman Akoglu, and Danai Koutra. Beyond homophily in graph neural networks: Current limitations and effective designs. In Proceedings of NeurIPS, 2020. ",
1386
+ "bbox": [
1387
+ 173,
1388
+ 869,
1389
+ 823,
1390
+ 911
1391
+ ],
1392
+ "page_idx": 10
1393
+ }
1394
+ ]
parse/train/MSXDyfli9vy/MSXDyfli9vy_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/MSXDyfli9vy/MSXDyfli9vy_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/NsMLjcFaO8O/NsMLjcFaO8O.md ADDED
@@ -0,0 +1,429 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # WAVEGRAD: ESTIMATING GRADIENTS FOR WAVEFORM GENERATION
2
+
3
+ Nanxin Chen∗
4
+ Johns Hopkins University, Center for Language and Speech Processing
5
+ bobchennan@jhu.edu
6
+
7
+ Yu Zhang†, Heiga Zen, Ron J. Weiss, Mohammad Norouzi, William Chan† Google Research, Brain Team {ngyuzh,heigazen,ronw,mnorouzi,williamchan}@google.com
8
+
9
+ # ABSTRACT
10
+
11
+ This paper introduces WaveGrad, a conditional model for waveform generation which estimates gradients of the data density. The model is built on prior work on score matching and diffusion probabilistic models. It starts from a Gaussian white noise signal and iteratively refines the signal via a gradient-based sampler conditioned on the mel-spectrogram. WaveGrad offers a natural way to trade inference speed for sample quality by adjusting the number of refinement steps, and bridges the gap between non-autoregressive and autoregressive models in terms of audio quality. We find that it can generate high fidelity audio samples using as few as six iterations. Experiments reveal WaveGrad to generate high fidelity audio, outperforming adversarial non-autoregressive baselines and matching a strong likelihood-based autoregressive baseline using fewer sequential operations. Audio samples are available at https://wavegrad.github.io/.
12
+
13
+ # 1 INTRODUCTION
14
+
15
+ Deep generative models have revolutionized speech synthesis (Oord et al., 2016; Sotelo et al., 2017; Wang et al., 2017; Biadsy et al., 2019; Jia et al., 2019; Vasquez & Lewis, 2019). Autoregressive models, in particular, have been popular for raw audio generation thanks to their tractable likelihoods, simple inference procedures, and high fidelity samples (Oord et al., 2016; Mehri et al., 2017; Kalchbrenner et al., 2018; Song et al., 2019; Valin & Skoglund, 2019). However, autoregressive models require a large number of sequential computations to generate an audio sample. This makes it challenging to deploy them in real-world applications where faster than real time generation is essential, such as digital voice assistants on smart speakers, even using specialized hardware.
16
+
17
+ There has been a plethora of research into non-autoregressive models for audio generation, including normalizing flows such as inverse autoregressive flows (Oord et al., 2018; Ping et al., 2019), generative flows (Prenger et al., 2019; Kim et al., 2019), and continuous normalizing flows (Kim et al., 2020; Wu & Ling, 2020), implicit generative models such as generative adversarial networks (GAN) (Donahue et al., 2018; Engel et al., 2019; Kumar et al., 2019; Yamamoto et al., 2020; Binkowski ´ et al., 2020; Yang et al., 2020a;b; McCarthy & Ahmed, 2020) and energy score (Gritsenko et al., 2020), variational auto-encoder models (Peng et al., 2020), as well as models inspired by digital signal processing (Ai & Ling, 2020; Engel et al., 2020), and the speech production mechanism (Juvela et al., 2019; Wang et al., 2020). Although such models improve inference speed by requiring fewer sequential operations, they often yield lower quality samples than autoregressive models.
18
+
19
+ This paper introduces WaveGrad, a conditional generative model of waveform samples that estimates the gradients of the data log-density as opposed to the density itself. WaveGrad is simple to train, and implicitly optimizes for the weighted variational lower-bound of the log-likelihood.
20
+
21
+ ![](images/476c131dff8b8dc1afb7ed3d83d6af01926d8bd9b050f3daf2c88049e6f63e13.jpg)
22
+ Figure 1: A visualization of the WaveGrad inference process. Starting from Gaussian noise $( n = 0$ ), gradient-based sampling is applied using as few as 6 iterations to achieve high fidelity audio $( n = 6$ ). Left: signal after each step of a gradient-based sampler. Right: zoomed view of a $5 0 \mathrm { m s }$ segment.
23
+
24
+ WaveGrad is non-autoregressive, and requires only a constant number of generation steps during inference. Figure 1 visualizes the inference process of WaveGrad.
25
+
26
+ WaveGrad builds on a class of generative models that emerges through learning the gradient of the data log-density, also known as the Stein score function (Hyvarinen ¨ , 2005; Vincent, 2011). During inference, one can rely on the gradient estimate of the data log-density and use gradient-based samplers (e.g., Langevin dynamics) to sample from the model (Song & Ermon, 2019). Promising results have been achieved on image synthesis (Song & Ermon, 2019; 2020) and shape generation (Cai et al., 2020). Closely related are diffusion probabilistic models (Sohl-Dickstein et al., 2015), which capture the output distribution through a Markov chain of latent variables. Although these models do not offer tractable likelihoods, one can optimize a (weighted) variational lower-bound on the log-likelihood. The training objective can be reparameterized to resemble deonising score matching (Vincent, 2011), and can be interpreted as estimating the data log-density gradients. The model is non-autoregressive during inference, requiring only a constant number of generation steps, using a Langevin dynamics-like sampler to generate the output beginning from Gaussian noise.
27
+
28
+ The key contributions of this paper are summarized as follows:
29
+
30
+ • WaveGrad combines recent techniques from score matching (Song et al., 2020; Song & Ermon, 2020) and diffusion probabilistic models (Sohl-Dickstein et al., 2015; Ho et al., 2020) to address conditional speech synthesis.
31
+ • We build and compare two variants of the WaveGrad model: (1) WaveGrad conditioned on a discrete refinement step index following Ho et al. (2020), (2) WaveGrad conditioned on a continuous scalar indicating the noise level. We find this novel continuous variant is more effective, especially because once the model is trained, different number of refinement steps can be used for inference. The proposed continuous noise schedule enables our model to use fewer inference iterations while maintaining the same quality (e.g., 6 vs. 50). We demonstrate that WaveGrad is capable of generating high fidelity audio samples, outperforming adversarial non-autoregressive models (Yamamoto et al., 2020; Kumar et al., 2019; Yang et al., 2020a; Binkowski et al. ´ , 2020) and matching one of the best autoregressive models (Kalchbrenner et al., 2018) in terms of subjective naturalness. WaveGrad is capable of generating high fidelity samples using as few as six refinement steps.
32
+
33
+ # 2 ESTIMATING GRADIENTS FOR WAVEFORM GENERATION
34
+
35
+ We begin with a brief review of the Stein score function, Langevin dynamics, and score matching. The Stein score function (Hyvarinen ¨ , 2005) is the gradient of the data log-density $\log p ( y )$ with respect to the datapoint $y$ :
36
+
37
+ $$
38
+ s ( y ) = \nabla _ { y } \log p ( y ) .
39
+ $$
40
+
41
+ ![](images/7f88c4a3e86cbb82b2a7ce764d40ce0bfd0e26f428bbdb625b42f333632b68e0.jpg)
42
+ Figure 2: WaveGrad directed graphical model for training, conditioned on iteration index. $q ( y _ { n + 1 } | y _ { n } )$ iteratively adds Gaussian noise to the signal starting from the waveform $y _ { 0 }$ . $q ( y _ { n + 1 } | y _ { 0 } )$ is the noise distribution used for training. The inference denoising process progressively removes noise, starting from Gaussian noise $y _ { N }$ , akin to Langevin dynamics. Adapted from Ho et al. (2020).
43
+
44
+ Given the Stein score function $s ( \cdot )$ , one can draw samples from the corresponding density, $\tilde { y } \sim p ( y )$ , via Langevin dynamics, which can be interpreted as stochastic gradient ascent in the data space:
45
+
46
+ $$
47
+ \tilde { y } _ { i + 1 } = \tilde { y } _ { i } + \frac { \eta } { 2 } s ( \tilde { y } _ { i } ) + \sqrt { \eta } z _ { i } ,
48
+ $$
49
+
50
+ where $\eta > 0$ is the step size, $z _ { i } \sim \mathcal { N } ( 0 , I )$ , and $I$ denotes an identity matrix. A variant (Ho et al., 2020) is used as our inference procedure.
51
+
52
+ A generative model can be built by training a neural network to learn the Stein score function directly, using Langevin dynamics for inference. This approach, known as score matching (Hyvarinen ¨ , 2005; Vincent, 2011), has seen success in image (Song & Ermon, 2019; 2020) and shape (Cai et al., 2020) generation. The denoising score matching objective (Vincent, 2011) takes the form:
53
+
54
+ $$
55
+ \begin{array} { r } { \mathbb { E } _ { y \sim p ( y ) } \mathbb { E } _ { \tilde { y } \sim q ( \tilde { y } | y ) } \left[ \left\| s _ { \theta } ( \tilde { y } ) - \nabla _ { \tilde { y } } \log q ( \tilde { y } \mid y ) \right\| _ { 2 } ^ { 2 } \right] , } \end{array}
56
+ $$
57
+
58
+ where $p ( \cdot )$ is the data distribution, and $q ( \cdot )$ is a noise distribution.
59
+
60
+ Recently, Song & Ermon (2019) proposed a weighted denoising score matching objective, in which data is perturbed with different levels of Gaussian noise, and the score function $s _ { \theta } ( \tilde { y } , \sigma )$ is conditioned on $\sigma$ , the standard deviation of the noise used:
61
+
62
+ $$
63
+ \begin{array} { l } { \displaystyle \sum _ { \sigma \in S } \lambda ( \sigma ) \mathbb { E } _ { y \sim p ( y ) } \mathbb { E } _ { \widetilde { y } \sim \mathcal { N } ( y , \sigma ) } \left[ \left\| s _ { \theta } ( \widetilde { y } , \sigma ) + \frac { \widetilde { y } - y } { \sigma ^ { 2 } } \right\| _ { 2 } ^ { 2 } \right] , } \end{array}
64
+ $$
65
+
66
+ where $S$ is a set of standard deviation values that are used to perturb the data, and $\lambda ( \sigma )$ is a weighting function for different $\sigma$ . WaveGrad is a variant of this approach applied to learning conditional generative models of the form $p ( y \mid x )$ . WaveGrad adopts a similar objective which combines the idea of Vincent (2011); Ho et al. (2020); Song & Ermon (2019). WaveGrad learns the gradient of the data density, and uses a sampler similar to Langevin dynamics for inference.
67
+
68
+ The denoising score matching framework relies on a noise distribution to provide support for learning the gradient of the data log density (i.e., $q$ in Equation 3, and $\mathcal { N } ( \cdot , \sigma )$ in Equation 4). The choice of the noise distribution is critical for achieving high quality samples (Song & Ermon, 2020). As shown in Figure 2, WaveGrad relies on the diffusion model framework (Sohl-Dickstein et al., 2015; Ho et al., 2020) to generate the noise distribution used to learn the score function.
69
+
70
+ # 2.1 WAVEGRAD AS A DIFFUSION PROBABILISTIC MODEL
71
+
72
+ Ho et al. (2020) observed that diffusion probabilistic models (Sohl-Dickstein et al., 2015) and score matching objectives (Song & Ermon, 2019; Vincent, 2011; Song & Ermon, 2020) are closely related. As such, we will first introduce WaveGrad as a diffusion probabilistic model.
73
+
74
+ We adapt the diffusion model setup in Ho et al. (2020), from unconditional image generation to conditional raw audio waveform generation. WaveGrad models the conditional distribution $p _ { \theta } ( y _ { 0 } \mid$
75
+
76
+ <table><tr><td colspan="2">Algorithm1 Training. WaveGrad directly condi- tions on the continuous noise level√.lis from a predefined noise schedule.</td></tr><tr><td>1: repeat 2: yo~_q(yo) 3: s ~ Uniform({1,...,S}) 4: √~Uniform(𝑙s-1,𝑙s)</td><td></td></tr><tr><td>5: ∈ ~ N(0,I) 6: Take gradient descent step on 7:until converged</td><td>Vθlle-∈(vayo+√1-∈,x,√@)ll</td></tr></table>
77
+
78
+ $$
79
+ \begin{array} { r l r l } & { \mathbf { p e a t } } & & { 1 \colon \ y _ { N } \sim \mathcal { N } ( 0 , I ) } \\ & { y _ { 0 } \sim q ( y _ { 0 } ) } & { 2 \colon \mathbf { f o r } n = N , \ldots , 1 \ \mathbf { d o } } \\ & { s \sim \mathrm { U n i f o r m } ( \{ 1 , \ldots , S \} ) } & { 3 \colon } & { z \sim \mathcal { N } ( 0 , I ) } \\ & { \sqrt { \underline { { \alpha } } } \sim \mathrm { U n i f o r m } ( l _ { s - 1 } , l _ { s } ) } & { 4 \colon } & { y _ { n - 1 } = \frac { \big ( y _ { n } - \frac { 1 - \alpha _ { n } } { \sqrt { 1 - \bar { \alpha } _ { n } } } \epsilon _ { \theta } ( y _ { n } , x , \sqrt { \bar { \alpha } _ { n } } ) \big ) } { \sqrt { \alpha _ { n } } } } \\ & { \epsilon \sim \mathcal { N } ( 0 , I ) } & { 4 \colon } & { y _ { n - 1 } = \frac { \big ( y _ { n - 1 } - \frac { 1 - \alpha _ { n } } { \sqrt { 1 - \bar { \alpha } _ { n } } } \epsilon _ { \theta } ( y _ { n } , x , \sqrt { \bar { \alpha } _ { n } } ) \big ) } { \sqrt { \alpha _ { n } } } } \\ & { \mathrm { T a k e ~ g r a d i e n t ~ d e s c e n t ~ s t e p ~ o n ~ } } & { 5 \colon } & { \mathrm { i f ~ } n > 1 , y _ { n - 1 } = y _ { n - 1 } + \sigma _ { n } z } \\ & { \hat { \mathbf { V } } _ { \theta } \big \| \epsilon - \epsilon _ { \theta } ( \sqrt { \bar { \alpha } } y _ { 0 } + \sqrt { 1 - \bar { \alpha } } \epsilon , x , \sqrt { \bar { \alpha } } ) \big \| _ { 1 } } & { 6 \colon \mathbf { e n d ~ f o r ~ } } & \\ & { \mathbf { t i l ~ c o n v e r g e d } } & & { 7 \colon \mathbf { r e t u r n ~ } y _ { 0 } } \end{array}
80
+ $$
81
+
82
+ <table><tr><td>Algorithm 2 Sampling. WaveGrad generates sam- ples following a gradient-based sampler similar to Langevin dynamics.</td></tr><tr><td>1: yn ~ N(0,I) 2: for n= N,...,1 do</td></tr><tr><td>3: z ~ N(0,I) 1-αn (yn- Eθ(yn,x,√n)) 4: √1-αn</td></tr><tr><td>yn-1= √an</td></tr><tr><td>5: if n&gt;1,yn-1 = yn-1+δnz 6: end for</td></tr></table>
83
+
84
+ $x$ ) where $y _ { 0 }$ is the waveform and $x$ contains the conditioning features corresponding to $y _ { 0 }$ , such as linguistic features derived from the corresponding text, mel-spectrogram features extracted from $y _ { 0 }$ , or acoustic features predicted by a Tacotron-style text-to-speech synthesis model (Shen et al., 2018):
85
+
86
+ $$
87
+ p _ { \theta } ( y _ { 0 } \mid x ) : = \int p _ { \theta } ( y _ { 0 : N } \mid x ) \mathrm { d } y _ { 1 : N } ,
88
+ $$
89
+
90
+ where $y _ { 1 } , \ldots , y _ { N }$ is a series of latent variables, each of which are of the same dimension as the data $y _ { 0 }$ , and $N$ is the number of latent variables (iterations). The posterior $q \big ( y _ { 1 : N } \ \mid \ y _ { 0 } \big )$ is called the diffusion process (or forward process), and is defined through the Markov chain:
91
+
92
+ $$
93
+ q ( y _ { 1 : N } \mid y _ { 0 } ) : = \prod _ { n = 1 } ^ { N } q ( y _ { n } \mid y _ { n - 1 } ) ,
94
+ $$
95
+
96
+ where each iteration adds Gaussian noise:
97
+
98
+ $$
99
+ q ( y _ { n } \mid y _ { n - 1 } ) : = \mathcal { N } \left( y _ { n } ; \sqrt { \left( 1 - \beta _ { n } \right) } y _ { n - 1 } , \beta _ { n } I \right) ,
100
+ $$
101
+
102
+ under some (fixed constant) noise schedule $\beta _ { 1 } , \ldots , \beta _ { N }$ . We emphasize the property observed by Ho et al. (2020), the diffusion process can be computed for any step $n$ in a closed form:
103
+
104
+ $$
105
+ y _ { n } = \sqrt { \bar { \alpha } _ { n } } y _ { 0 } + \sqrt { \left( 1 - \bar { \alpha } _ { n } \right) } \epsilon
106
+ $$
107
+
108
+ where $\epsilon \sim \mathcal { N } ( 0 , I )$ , $\alpha _ { n } : = 1 - \beta _ { n }$ and $\textstyle { \bar { \alpha } } _ { n } : = \prod _ { s = 1 } ^ { n } \alpha _ { s }$ . The gradient of this noise distribution is
109
+
110
+ $$
111
+ \nabla _ { y _ { n } } \log { q ( y _ { n } \mid y _ { 0 } ) } = - \frac { \epsilon } { \sqrt { 1 - \bar { \alpha } _ { n } } } .
112
+ $$
113
+
114
+ Ho et al. (2020) proposed to train on pairs $( y _ { 0 } , y _ { n } )$ , and to reparameterize the neural network to model $\epsilon _ { \theta }$ . This objective resembles denoising score matching as in Equation 3 (Vincent, 2011):
115
+
116
+ $$
117
+ { \mathbb E } _ { n , \epsilon } \left[ C _ { n } \left. \epsilon _ { \theta } \left( \sqrt { \bar { \alpha } _ { n } } y _ { 0 } + \sqrt { 1 - \bar { \alpha } _ { n } } \epsilon , x , n \right) - \epsilon \right. _ { 2 } ^ { 2 } \right] ,
118
+ $$
119
+
120
+ where $C _ { n }$ is a constant related to $\beta _ { n }$ . In practice Ho et al. (2020) found it beneficial to drop the $C _ { n }$ term, resulting in a weighted variational lower bound of the log-likelihood. Additionally in Ho et al. (2020), $\epsilon _ { \theta }$ conditions on the discrete index $n$ , as we will discuss further below. We also found that substituting the original $L _ { 2 }$ distance metric with $L _ { 1 }$ offers better training stability.
121
+
122
+ # 2.2 NOISE SCHEDULE AND CONDITIONING ON NOISE LEVEL
123
+
124
+ In the score matching setup, Song & Ermon (2019; 2020) noted the importance of the choice of noise distribution used during training, since it provides support for modelling the gradient distribution. The diffusion framework can be viewed as a specific approach to providing support to score matching, where the noise schedule is parameterized by $\beta _ { 1 } , \ldots , \beta _ { N }$ , as described in the previous section. This is typically determined via some hyperparameter heuristic, e.g., a linear decay schedule (Ho et al., 2020). We found the choice of the noise schedule to be critical towards achieving high fidelity audio in our experiments, especially when trying to minimize the number of inference iterations $N$ to make inference efficient. A schedule with superfluous noise may result in a model unable to recover the low amplitude detail of the waveform, while a schedule with too little noise may result in a model that converges poorly during inference. Song & Ermon (2020) provide some insights around tuning the noise schedule under the score matching framework. We will connect some of these insights and apply them to WaveGrad under the diffusion framework.
125
+
126
+ Another closely related problem is determining $N$ , the number of diffusion/denoising steps. A large $N$ equips the model with more computational capacity, and may improve sample quality. However using a small $N$ results in faster inference and lower computational costs. Song & Ermon (2019) used $N = 1 0$ to generate $3 2 \times 3 2$ images, while Ho et al. (2020) used 1,000 iterations to generate high resolution $2 5 6 \times 2 5 6$ images. In our case, WaveGrad generates audio sampled at $2 4 \mathrm { k H z }$ .
127
+
128
+ We found that tuning both the noise schedule and $N$ in conjunction was critical to attaining high fidelity audio, especially when $N$ is small. If these hyperparameters are poorly tuned, the training sampling procedure may provide deficient support for the distribution. Consequently, during inference, the sampler may converge poorly when the sampling trajectory encounters regions that deviate from the conditions seen during training. However, tuning these hyperparameters can be costly due to the large search space, as a large number of models need to be trained and evaluated. We make empirical observations and discuss this in more details in Section 4.4.
129
+
130
+ We address some of the issues above in our WaveGrad implementation. First, compared to the diffusion probabilistic model from Ho et al. (2020), we reparameterize the model to condition on the continuous noise level $\bar { \alpha }$ instead of the discrete iteration index $n$ . The loss becomes
131
+
132
+ $$
133
+ { \mathbb E } _ { \bar { \alpha } , \epsilon } \left[ \left\| \epsilon _ { \theta } \left( \sqrt { \bar { \alpha } } y _ { 0 } + \sqrt { 1 - \bar { \alpha } } \epsilon , x , \sqrt { \bar { \alpha } } \right) - \epsilon \right\| _ { 1 } \right] ,
134
+ $$
135
+
136
+ A similar approach was also used in the score matching framework (Song & Ermon, 2019; 2020), wherein they conditioned on the noise variance.
137
+
138
+ There is one minor technical issue we must resolve in this approach. In the diffusion probabilistic model training procedure conditioned on the discrete iteration index (Equation 10), we would sample $n \sim \operatorname { U n i f o r m } ( \{ 1 , \dots , N \} )$ , and then compute its corresponding $\alpha _ { n }$ . When directly conditioning on the continuous noise level, we need to define a sampling procedure that can directly sample $\bar { \alpha }$ . Recall that $\begin{array} { r } { \bar { \alpha } _ { n } : = \prod _ { s } ^ { n } ( 1 - \beta _ { s } ) \in [ 0 , 1 ] } \end{array}$ . While we could simply sample from the uniform distribution $\bar { \alpha } \sim \mathrm { U n i f o r m } ( 0 , 1 )$ , we found this to give poor empirical results. Instead, we use a simple hierarchical sampling method that mimics the discrete sampling strategy. We first define a√ noise schedule with $S$ iterations and compute all of its corresponding $\sqrt { \bar { \alpha } _ { s } }$ :
139
+
140
+ $$
141
+ l _ { 0 } = 1 , \qquad l _ { s } = \sqrt { \prod _ { i = 1 } ^ { s } ( 1 - \beta _ { i } ) } .
142
+ $$
143
+
144
+ We first sample a segment $s \sim U ( \{ 1 , \dots , S \} )$ , which provides a segment $\left( l _ { s - 1 } , l _ { s } \right)$ , and then sample from this segment uniformly to give $\sqrt { \bar { \alpha } }$ . The full WaveGrad training algorithm using this sampling procedure is illustrated in Algorithm 1.
145
+
146
+ ![](images/d9552582efd152b0aec34c78af2babf5e6899ceed9985bed0bc7b00956a18001.jpg)
147
+ Figure 3: WaveGrad network architecture. The inputs consists of the mel-spectrogram conditioning signal $x$ , the noisy waveform generated from the previous iteration yn, and the noise level α¯. The5 model produces $\epsilon _ { n }$ at each iteration, which can be interpreted as the direction to update $y _ { n }$ .
148
+
149
+ One benefit of this variant is that the model needs to be trained only once, yet inference can be run over a large space of trajectories without the need to be retrained. To be specific, once we train a model, we can use a different number of iterations $N$ during inference, making it possible to explicitly trade off between inference computation and output quality in one model. This also makes fast hyperparameter search possible, as we will illustrate in Section 4.4. The full inference algorithm is explained in Algorithm 2. The full WaveGrad architecture is visualized in Figure 3. Details are included in Appendix A.
150
+
151
+ # 3 RELATED WORK
152
+
153
+ This work is inspired in part by Sohl-Dickstein et al. (2015), which applies diffusion probabilistic models to unconditional image synthesis, whereas we apply diffusion probabilistic models to conditional generation of waveform. The objective we use also resembles the Noise Conditional Score Networks (NCSN) objective of Song & Ermon (2019). Similar to Song & Ermon (2019; 2020), our models condition on
154
+
155
+ a continuous scalar indicating the noise level. Denoising score matching (Vincent, 2011) and sliced score matching Song et al. (2020) also use similar objective functions, however they do not condition on the noise level. Work of Saremi et al. (2018) on score matching is also related, in that their objective accounts for a noise hyperparameter. Finally, Cai et al. (2020) applied NCSN to model conditional distributions for shape generation, while our focus is waveform generation.
156
+
157
+ WaveGrad also closely relates to masked-based generative models (Devlin et al., 2019; Lee et al., 2018; Ghazvininejad et al., 2019; Chan et al., 2020; Saharia et al., 2020), insertion-based generative models (Stern et al., 2019; Chan et al., 2019b;a;c; Li & Chan, 2019) and edit-based generative models (Sabour et al., 2019; Gu et al., 2019; Ruis et al., 2019) found in the semi-autoregressive sequence generation literature. These approaches model discrete tokens and use edit operations (e.g., insertion, substitution, deletion), whereas in our work, we model the (continuous) gradients in a continuous output space. Edit-based models can also iteratively refine the outputs during inference (Lee et al., 2018; Ghazvininejad et al., 2019; Chan et al., 2020), while they do not rely on a (continuous) gradient-based sampler, they rely on a (discrete) edit-based sampler. The noise distribution play a key role, token masking based on Bernoulli (Devlin et al., 2019), uniform (Saharia et al., 2020), or hand-crafted (Chan et al., 2020) distributions have been used to enable learning the edit distribution. We rely on a Markov chain from the diffusion framework (Ho et al., 2020) to sample perturbations.
158
+
159
+ We note that the concurrent work of Kong et al. (2020) also applies the diffusion framework of Ho et al. (2020) to waveform generation. Their model conditions on a discrete iteration index whereas we find that conditioning on a continuous noise level offers improved flexibility and enables generating high fidelity audio as few as six refinement steps. By contrast, Kong et al. (2020) report performance using 20 refinement steps and evaluate their models when conditioned on ground truth mel-spectrogram. We evaluate WaveGrad when conditioned on Tacotron 2 mel-spectrogram predictions, which corresponds to a more realistic TTS setting.
160
+
161
+ The neural network architecture of WaveGrad is heavily inspired by GAN-TTS (Binkowski et al. ´ , 2020). The upsampling block (UBlock) of WaveGrad follows the GAN-TTS generator, with a minor difference that no BatchNorm is used.
162
+
163
+ # 4 EXPERIMENTS
164
+
165
+ We compare WaveGrad with other neural vocoders and carry out ablations using different noise schedules. We find that WaveGrad achieves the same sample quality as the fully autoregressive state-of-the-art model of Kalchbrenner et al. (2018) (WaveRNN) on both internal datasets (Table 1) and LJ Speech (Ito & Johnson, 2017) (Table C.1) with less sequential operations.
166
+
167
+ # 4.1 MODEL AND TRAINING SETUP
168
+
169
+ We trained models using a proprietary speech dataset consisted of 385 hours of high quality English speech from 84 professional voice talents. For evaluation, we chose a female speaker in the training dataset. Speech signals were downsampled to $2 4 \mathrm { k H z }$ then 128-dimensional mel-spectrogram features $\mathrm { 5 0 ~ m s }$ Hanning window, $1 2 . 5 ~ \mathrm { m s }$ frame shift, 2048-point FFT, $2 0 \ : \mathrm { H z }$ & $1 2 \ \mathrm { k H z }$ lower & upper frequency cutoffs) were extracted. During training, mel-spectrograms computed from ground truth audio were used as the conditioning features $x$ . However, during inference, we used predicted mel-spectrograms generated by a Tacotron 2 model (Shen et al., 2018) as the conditioning signal. Although there was a mismatch in the conditioning signals between training and inference, unlike Shen et al. (2018), preliminary experiments demonstrated that training using ground truth mel-spectrograms as conditioning had no regression compared to training using predicted features. This property is highly beneficial as it significantly simplifies the training process of text-to-speech models: the WaveGrad vocoder model can be trained separately on a large corpus without relying on a pretrained text-to-spectrogram model.
170
+
171
+ Model Size: Two network size variations were compared: Base and Large. The WaveGrad Base model took 24 frames corresponding to 0.3 seconds of audio (7,200 samples) as input during training. We set the batch size to 256. Models were trained on using 32 Tensor Processing Unit (TPU) v2 cores. The WaveGrad Base model contained 15M parameters. For the WaveGrad Large model, we repeated each UBlock/DBlock twice, one with upsampling/downsampling and another without. Each training sample included 60 frames corresponding to a 0.75 second of audio (18,000 samples). We used the same batch size and trained the model using 128 TPU v3 cores. The WaveGrad Large model contained 23M parameters. Both Base and Large models were trained for about 1M steps. The network architecture is fully convolutional and non-autoregressive thus it is highly parallelizable at both training and inference.
172
+
173
+ Noise Schedule: All noise schedules we used can be found in Appendix B.
174
+
175
+ # 4.2 EVALUATION
176
+
177
+ The following models were used as baselines in this experiment: (1) WaveRNN (Kalchbrenner et al., 2018) conditioned on mel-spectrograms predicted by a Tacotron 2 model in teacher-forcing mode following Shen et al. (2018); The model used a single long short-term memory (LSTM) layer with 1,024 hidden units, 5 convolutional layers with 512 channels as the conditioning stack to process the mel-spectrogram features, and a 10-component mixture of logistic distributions (Salimans et al., 2017) as its output layer, generating 16-bit samples at $2 4 ~ \mathrm { k H z }$ . It had 18M parameters and was trained for 1M steps. Preliminary experiments indicated that further reducing the number of units in the LSTM layer hurts performance. (2) Parallel WaveGAN (Yamamoto et al., 2020) with 1.57M parameters, trained for 1M steps. (3) MelGAN (Kumar et al., 2019) with 3.22M parameters, trained for 4M steps. (4) Multi-band MelGAN (Yang et al., 2020a) with 2.27M parameters, trained for 1M steps. (5) GAN-TTS (Binkowski et al. ´ , 2020) with 21.4M parameters, trained for 1M steps.
178
+
179
+ All models were trained using the same training set as the WaveGrad models. Following the original papers, Parallel WaveGAN, MelGAN, and Multi-band MelGAN were conditioned on the melspectrograms computed from ground truth audio during training. They were trained using a publicly available implementation at https://github.com/kan-bayashi/ParallelWaveGAN. Note that hyper-parameters of these baseline models were not fully optimized for this dataset.
180
+
181
+ To compare these models, we report subjective listening test results rating speech naturalness on a 5-point Mean Opinion Score (MOS) scale, following the protocol described in Appendix D. Conditioning mel-spectrograms for the test set were predicted using a Tacotron 2 model, which were passed to these models to synthesize audio signals. Note that the Tacotron 2 model was identical to the one used to predict mel-spectrograms for training WaveRNN and GAN-TTS models.
182
+
183
+ # 4.3 RESULTS
184
+
185
+ Subjective evaluation results are summarized in Table 1. Models conditioned on discrete indices followed the formulation from Section 2.1, and models conditioned on continuous noise level followed the formulation from Section 2.2. WaveGrad models matched the performance of the autoregressive WaveRNN baseline and outperformed the non-autoregressive baselines. Although increasing the model size slightly improved naturalness, the difference was not statistically significant. The WaveGrad Base model using six iterations achieved a real time factor (RTF) of 0.2 on an NVIDIA V100 GPU, while still achieving an MOS above 4.4. As a comparison, the WaveRNN model achieved a RTF of 20.1 on the same GPU, 100 times slower. More detailed discussion is in Section 4.4. Appendix C contains results on a public dataset using the same model architecture and noise schedule.
186
+
187
+ # 4.4 DISCUSSION
188
+
189
+ To understand the impact of different noise schedules and to reduce the number of iterations in the noise schedule from 1,000, we explored different noise schedules using fewer iterations. We found that a well-behaved inference schedule should satisfy two conditions:
190
+
191
+ Table 1: Mean opinion scores (MOS) of various models and their confidence intervals. All models except WaveRNN are non-autoregressive. WaveGrad, Parallel WaveGAN, MelGAN, and Multiband MelGAN were conditioned on the mel-spectrograms computed from ground truth audio during training. WaveRNN and GAN-TTS used predicted features for training.
192
+
193
+ <table><tr><td>Model</td><td>MOS (↑)</td></tr><tr><td>WaveRNN</td><td>4.49 ± 0.04</td></tr><tr><td>Parallel WaveGAN</td><td>3.92 ± 0.05</td></tr><tr><td>MelGAN</td><td>3.95 ± 0.06</td></tr><tr><td>Multi-band MelGAN</td><td>4.10 ± 0.05</td></tr><tr><td>GAN-TTS</td><td>4.34 ± 0.04</td></tr><tr><td>WaveGrad</td><td></td></tr><tr><td>Base (6 iterations,continuous noise levels)</td><td>4.41 ± 0.03</td></tr><tr><td>Base(1,Ooo iterations,discrete indices)</td><td>4.47 ± 0.04</td></tr><tr><td>Large (1,0O0 iterations, discrete indices)</td><td>4.51 ± 0.04</td></tr><tr><td>Ground Truth</td><td>4.58 ± 0.05</td></tr></table>
194
+
195
+ 1. The KL-divergence $D _ { \mathrm { K L } } \left( q ( y _ { N } \mid y _ { 0 } ) \parallel \mathcal { N } ( 0 , I ) \right)$ between $y _ { N }$ and standard normal distribution $\mathcal { N } ( 0 , I )$ needs to be small. Large KL-divergence introduces mismatches between training and inference. To make the KL-divergence small, some $\beta \mathrm { { s } }$ need to be large enough.
196
+
197
+ 2. $\beta$ should start with small values. This provides the model training with fine granularity details, which we found crucial for reducing background static noise.
198
+
199
+ In this section, all the experiments were conducted with the WaveGrad Base model. Both objective and subjective evaluation results are reported. The objective evaluation metrics include
200
+
201
+ 1. Log-mel spectrogram mean squared error metrics (LS-MSE), computed using 50 ms window length and 6.25 ms frame shift;
202
+ 2. Mel cepstral distance (MCD) (Kubichek, 1993), a similar MSE metric computed using 13- dimensional mel frequency cepstral coefficient features;
203
+ 3. $F _ { 0 }$ Frame Error (FFE) (Chu & Alwan, 2009), combining Gross Pitch Error and Voicing Decision metrics to measure the signal proportion whose estimated pitch differs from ground truth.
204
+
205
+ Since the ground truth waveform is required to compute objective evaluation metrics, we report results using ground truth mel-spectrograms as conditioning features. We used a validation set of 50 utterances for objective evaluation, including audio samples from multiple speakers. Note that for MOS evaluation, we used the same subjective evaluation protocol described in Appendix D. We experimented with different noise schedules and number of iterations. These models were trained with conditioning on the discrete index. Subjective and quantitative evaluation results are in Table 2.
206
+
207
+ We also performed a detailed study on the the WaveGrad model conditioned on the continuous noise level in the bottom part of Table 2. Compared to the model conditioned on the discrete index with a fixed training schedule (top of Table 2), conditioning on the continuous noise level generalized better, especially if the number of iterations was small. It can be seen from Table 2 that degradation with the model with six iterations was not significant. The model with six iterations achieved real time factor $( \mathrm { R T F } ) = 0 . 2$ on an NVIDIA V100 GPU and $\mathrm { R T F } = 1 . 5$ on an Intel Xeon CPU (16 cores, 2.3GHz). As we did not optimize the inference code, further speed ups are likely possible.
208
+
209
+ # 5 CONCLUSION
210
+
211
+ In this paper, we presented WaveGrad, a novel conditional model for waveform generation which estimates the gradients of the data density, following the diffusion probabilistic model (Ho et al., 2020) and score matching framework (Song et al., 2020; Song & Ermon, 2020). WaveGrad starts from Gaussian white noise and iteratively updates the signal via a gradient-based sampler conditioned on the mel-spectrogram. WaveGrad is non-autoregressive, and requires only a constant number of generation steps during inference. We find that the model can generate high fidelity audio samples using as few as six iterations. WaveGrad is simple to train, and implicitly optimizes for the weighted variational lower-bound of the log-likelihood. The empirical experiments demonstrated WaveGrad to generate high fidelity audio samples matching a strong autoregressive baseline.
212
+
213
+ Table 2: Objective and subjective metrics of the WaveGrad Base models. When conditioning on the discrete index, a separate model needs to be trained for each noise schedule. In contrast, a single model can be used with different noise schedules when conditioning on the noise level directly. This variant yields high fidelity samples using as few as six iterations.
214
+
215
+ <table><tr><td>Iterations (schedule)</td><td>LS-MSE (↓)</td><td>MCD (↓)</td><td>FFE (↓)</td><td>MOS (↑)</td></tr><tr><td colspan="5">WaveGrad conditioned on discrete index</td></tr><tr><td>25 (Fibonacci)</td><td>283</td><td>3.93</td><td>3.3%</td><td>3.86 ± 0.05</td></tr><tr><td>50 (Linear (1 × 10-4,0.05))</td><td>181</td><td>3.13</td><td>3.1%</td><td>4.42 ± 0.04</td></tr><tr><td>1,000 (Linear(1 × 10-4,0.005))</td><td>116</td><td>2.85</td><td>3.2%</td><td>4.47 ± 0.04</td></tr><tr><td colspan="5">WaveGrad conditioned on continuous noise level</td></tr><tr><td>6 (Manual)</td><td>217</td><td>3.38</td><td>2.8%</td><td>4.41 ± 0.04</td></tr><tr><td>25 (Fibonacci)</td><td>185</td><td>3.33</td><td>2.8%</td><td>4.44 ± 0.04</td></tr><tr><td>50 (Linear (1 × 10-4,0.05))</td><td>177</td><td>3.23</td><td>2.7%</td><td>4.43 ± 0.04</td></tr><tr><td>1,000 (Linear (1 × 10-4,0.005))</td><td>106</td><td>2.85</td><td>3.0%</td><td>4.46 ± 0.03</td></tr></table>
216
+
217
+ # AUTHOR CONTRIBUTIONS
218
+
219
+ Nanxin Chen wrote code, proposed the idea, ran all experiments and wrote the paper. Yu Zhang recruited collaborators, co-managed/advised the project, conducted evaluation, debugging model and editing paper. Heiga Zen helped conducting text-to-speech experiments and advised the project. Ron Weiss implemented the objective evaluation metrics and advised the project. Mohammad Norouzi suggested the use of denoising diffusion models for audio generation and helped with writing and advising the project. William Chan conceived the project, wrote code, wrote paper, and co-managed/advised the project.
220
+
221
+ # ACKNOWLEDGMENTS
222
+
223
+ The authors would like to thank Durk Kingma, Yang Song, Kevin Swersky and Yonghui Wu for providing insightful research discussions and feedback. We also would like to thank Norman Casagrande for helping us to include the GAN-TTS baseline.
224
+
225
+ # REFERENCES
226
+
227
+ Yang Ai and Zhen-Hua Ling. Knowledge-and-Data-Driven Amplitude Spectrum Prediction for Hierarchical Neural Vocoders. arXiv preprint arXiv:2004.07832, 2020.
228
+
229
+ Eric Battenberg, RJ Skerry-Ryan, Soroosh Mariooryad, Daisy Stanton, David Kao, Matt Shannon, and Tom Bagby. Location-relative Attention Mechanisms for Robust Long-form Speech Synthesis. In ICASSP, 2020.
230
+
231
+ Fadi Biadsy, Ron J. Weiss, Pedro J. Moreno, Dimitri Kanevsky, and Ye Jia. Parrotron: An End-toEnd Speech-to-Speech Conversion Model and its Applications to Hearing-Impaired Speech and Speech Separation. In INTERSPEECH, 2019.
232
+
233
+ Mikołaj Binkowski, Jeff Donahue, Sander Dieleman, Aidan Clark, Erich Elsen, Norman ´ Casagrande, Luis C. Cobo, and Karen Simonyan. High Fidelity Speech Synthesis with Adversarial Networks. In ICLR, 2020.
234
+
235
+ Ruojin Cai, Guandao Yang, Hadar Averbuch-Elor, Zekun Hao, Serge Belongie, Noah Snavely, and Bharath Hariharan. Learning Gradient Fields for Shape Generation. In ECCV, 2020.
236
+
237
+ Harris Chan, Jamie Kiros, and William Chan. Multilingual KERMIT: It’s Not Easy Being Generative. In NeurIPS: Workshop on Perception as Generative Reasoning, 2019a.
238
+
239
+ William Chan, Nikita Kitaev, Kelvin Guu, Mitchell Stern, and Jakob Uszkoreit. KERMIT: Generative Insertion-Based Modeling for Sequences. arXiv preprint arXiv:1906.01604, 2019b.
240
+
241
+ William Chan, Mitchell Stern, Jamie Kiros, and Jakob Uszkoreit. An Empirical Study of Generation Order for Machine Translation. arXiv preprint arXiv:1910.13437, 2019c.
242
+
243
+ William Chan, Chitwan Saharia, Geoffrey Hinton, Mohammad Norouzi, and Navdeep Jaitly. Imputer: Sequence Modelling via Imputation and Dynamic Programming. In ICML, 2020.
244
+
245
+ Wei Chu and Abeer Alwan. Reducing F0 Frame Error of F0 Tracking Algorithms under Noisy Conditions with an Unvoiced/Voiced Classification Frontend. In ICASSP, 2009.
246
+
247
+ Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. In NAACL, 2019.
248
+
249
+ Chris Donahue, Julian McAuley, and Miller Puckette. Adversarial Audio Synthesis. arXiv preprint arXiv:1802.04208, 2018.
250
+
251
+ Vincent Dumoulin, Ethan Perez, Nathan Schucher, Florian Strub, Harm de Vries, Aaron Courville, and Yoshua Bengio. Feature-wise Transformations. Distill, 2018. doi: 10.23915/distill.00011. https://distill.pub/2018/feature-wise-transformations.
252
+
253
+ Jesse Engel, Kumar Krishna Agrawal, Shuo Chen, Ishaan Gulrajani, Chris Donahue, and Adam Roberts. GANSynth: Adversarial Neural Audio Synthesis. In ICLR, 2019.
254
+
255
+ Jesse Engel, Lamtharn Hantrakul, Chenjie Gu, and Adam Roberts. DDSP: Differentiable Digital Signal Processing. In ICLR, 2020.
256
+
257
+ Marjan Ghazvininejad, Omer Levy, Yinhan Liu, and Luke Zettlemoyer. Mask-Predict: Parallel Decoding of Conditional Masked Language Models. In EMNLP, 2019.
258
+
259
+ Alexey A. Gritsenko, Tim Salimans, Rianne van den Berg, Jasper Snoek, and Nal Kalchbrenner. A Spectral Energy Distance for Parallel Speech Synthesis. arXiv preprint arXiv:2008.01160, 2020.
260
+
261
+ Jiatao Gu, Changhan Wang, and Jake Zhao. Levenshtein Transformer. In NeurIPS, 2019.
262
+
263
+ Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep Residual Learning for Image Recognition. In CVPR, 2016.
264
+
265
+ Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising Diffusion Probabilistic Models. arXiv preprint arXiv:2006.11239, 2020.
266
+
267
+ Aapo Hyvarinen. Estimation of Non-Normalized Statistical Models by Score Matching. ¨ Journal of Machine Learning Research, 6, April 2005.
268
+
269
+ Sergey Ioffe and Christian Szegedy. Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift. In ICML, 2015.
270
+
271
+ Keith Ito and Linda Johnson. The LJ Speech Dataset, 2017. https://keithito.com/ LJ-Speech-Dataset/.
272
+
273
+ Ye Jia, Ron J. Weiss, Fadi Biadsy, Wolfgang Macherey, Melvin Johnson, Zhifeng Chen, and Yonghui Wu. Direct Speech-to-Speech Translation with a Sequence-to-Sequence Model. In INTERSPEECH, 2019.
274
+
275
+ Lauri Juvela, Bajibabu Bollepalli, Vassilis Tsiaras, and Paavo Alku. GlotNet—A Raw Waveform Model for the Glottal Excitation in Statistical Parametric Speech Synthesis. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 27(6):1019–1030, 2019.
276
+
277
+ Nal Kalchbrenner, Erich Elsen, Karen Simonyan, Seb Noury, Norman Casagrande, Edward Lockhart, Florian Stimberg, Aaron van den Oord, Sander Dieleman, and Koray Kavukcuoglu. Efficient ¨ Neural Audio Synthesis. In ICML, 2018.
278
+
279
+ Hyeongju Kim, Hyeonseung Lee, Woo Hyun Kang, Sung Jun Cheon, Byoung Jin Choi, and Nam Soo Kim. WaveNODE: A Continuous Normalizing Flow for Speech Synthesis. In ICML: Workshop on Invertible Neural Networks, Normalizing Flows, and Explicit Likelihood Models, 2020.
280
+
281
+ Sungwon Kim, Sang-Gil Lee, Jongyoon Song, Jaehyeon Kim, and Sungroh Yoon. FloWaveNet: A Generative Flow for Raw Audio. In ICML, 2019.
282
+
283
+ Zhifeng Kong, Wei Ping, Jiaji Huang, Kexin Zhao, and Bryan Catanzaro. DiffWave: A Versatile Diffusion Model for Audio Synthesis. arXiv preprint arXiv:2009.09761, 2020.
284
+
285
+ Robert Kubichek. Mel-Cepstral Distance Measure for Objective Speech Quality Assessment. In IEEE PACRIM, 1993.
286
+
287
+ Kundan Kumar, Rithesh Kumar, Thibault de Boissiere, Lucas Gestin, Wei Zhen Teoh, Jose Sotelo, Alexandre de Brebisson, Yoshua Bengio, and Aaron Courville. MelGAN: Generative Adversarial Networks for Conditional Waveform Synthesis. In NeurIPS, 2019.
288
+
289
+ Jason Lee, Elman Mansimov, and Kyunghyun Cho. Deterministic Non-Autoregressive Neural Sequence Modeling by Iterative Refinement. In EMNLP, 2018.
290
+
291
+ Lala Li and William Chan. Big Bidirectional Insertion Representations for Documents. In EMNLP: Workshop of Neural Generation and Translation, 2019.
292
+
293
+ Ollie McCarthy and Zohaib Ahmed. HooliGAN: Robust, High Quality Neural Vocoding. arXiv preprint arXiv:2008.02493, 2020.
294
+
295
+ Soroush Mehri, Kundan Kumar, Ishaan Gulrajani, Rithesh Kumar, Shubham Jain, Jose Sotelo, Aaron Courville, and Yoshua Bengio. SampleRNN: An Unconditional End-to-End Neural Audio Generation Model. In ICLR, 2017.
296
+
297
+ Aaron van den Oord, Sander Dieleman, Heiga Zen, Karen Simonyan, Oriol Vinyals, Alex Graves, ¨ Nal Kalchbrenner, Andrew Senior, and Koray Kavukcuoglu. WaveNet: A Generative Model for Raw Audio. arXiv preprint arXiv:1609.03499, 2016.
298
+
299
+ Aaron van den Oord, Yazhe Li, Igor Babuschkin, Karen Simonyan, Oriol Vinyals, Koray ¨ Kavukcuoglu, George van den Driessche, Edward Lockhart, Luis C. Cobo, Florian Stimberg, Norman Casagrande, Dominik Grewe, Seb Noury, Sander Dieleman, Erich Elsen, Nal Kalchbrenner, Heiga Zen, Alex Graves, Helen King, Tom Walters, Dan Belov, and Demis Hassabis. Parallel WaveNet: Fast High-Fidelity Speech Synthesis. In ICML, 2018.
300
+
301
+ Taesung Park, Ming-Yu Liu, Ting-Chun Wang, and Jun-Yan Zhu. Semantic Image Synthesis with Spatially-Adaptive Normalization. In CVPR, 2019.
302
+
303
+ Kainan Peng, Wei Ping, Zhao Song, and Kexin Zhao. Non-Autoregressive Neural Text-to-Speech. In ICML, 2020.
304
+
305
+ Wei Ping, Kainan Peng, and Jitong Chen. ClariNet: Parallel Wave Generation in End-to-End Textto-Speech. In ICLR, 2019.
306
+
307
+ Ryan Prenger, Rafael Valle, and Bryan Catanzaro. WaveGlow: A Flow-based Generative Network for Speech Synthesis. In ICASSP, 2019.
308
+
309
+ Laura Ruis, Mitchell Stern, Julia Proskurnia, and William Chan. Insertion-Deletion Transformer. In EMNLP: Workshop of Neural Generation and Translation, 2019.
310
+
311
+ Sara Sabour, William Chan, and Mohammad Norouzi. Optimal Completion Distillation for Sequence Learning. In ICLR, 2019.
312
+
313
+ Chitwan Saharia, William Chan, Saurabh Saxena, and Mohammad Norouzi. Non-Autoregressive Machine Translation with Latent Alignments. arXiv preprint arXiv:2004.07437, 2020.
314
+
315
+ Tim Salimans, Andrej Karpathy, Xi Chen, and Diederik P. Kingma. PixelCNN $^ { + + }$ : Improving the PixelCNN with Discretized Logistic Mixture Likelihood and Other Modifications. In ICLR, 2017.
316
+
317
+ Saeed Saremi, Arash Mehrjou, Bernhard Scholkopf, and Aapo Hyv ¨ arinen. Deep Energy Estimator ¨ Networks. arXiv preprint arXiv:1805.08306, 2018.
318
+
319
+ Andrew M. Saxe, James L. McClelland, and Surya Ganguli. Exact Solutions to the Nonlinear Dynamics of Learning in Deep Linear Neural Networks. In ICLR, 2014.
320
+
321
+ Jonathan Shen, Ruoming Pang, Ron J. Weiss, Mike Schuster, Navdeep Jaitly, Zongheng Yang, Zhifeng Chen, Yu Zhang, Yuxuan Wang, RJ Skerrv-Ryan, Rif A. Saurous, Yannis Agiomyrgiannakis, and Yonghui Wu. Natural TTS Synthesis by Conditioning WaveNet on Mel Spectrogram Predictions. In ICASSP, 2018.
322
+
323
+ Jascha Sohl-Dickstein, Eric A. Weiss, Niru Maheswaranathan, and Surya Ganguli. Deep Unsupervised Learning using Nonequilibrium Thermodynamics. In ICML, 2015.
324
+
325
+ Eunwoo Song, Kyungguen Byun, and Hong-Goo Kang. ExcitNet Vocoder: A Neural Excitation Model for Parametric Speech Synthesis Systems. In EUSIPCO, 2019.
326
+
327
+ Yang Song and Stefano Ermon. Generative Modeling by Estimating Gradients of the Data Distribution. In NeurIPS, 2019.
328
+
329
+ Yang Song and Stefano Ermon. Improved Techniques for Training Score-Based Generative Models. arXiv preprint arXiv:2006.09011, 2020.
330
+
331
+ Yang Song, Sahaj Garg, Jiaxin Shi, and Stefano Ermon. Sliced Score Matching: A Scalable Approach to Density and Score Estimation. In Uncertainty in Artificial Intelligence, pp. 574–584, 2020.
332
+
333
+ Jose Sotelo, Soroush Mehri, Kundan Kumar, Joao Felipe Santos, Kyle Kastner, Aaron C. Courville, and Yoshua Bengio. Char2Wav: End-to-End Speech Synthesis. In ICLR, 2017.
334
+
335
+ Mitchell Stern, William Chan, Jamie Kiros, and Jakob Uszkoreit. Insertion Transformer: Flexible Sequence Generation via Insertion Operations. In ICML, 2019.
336
+
337
+ Jean-Marc Valin and Jan Skoglund. LPCNet: Improving Neural Speech Synthesis through Linear Prediction. In ICASSP, 2019.
338
+
339
+ Sean Vasquez and Mike Lewis. MelNet: A Generative Model for Audio in the Frequency Domain. arXiv preprint arXiv:1906.01083, 2019.
340
+
341
+ Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention Is All You Need. In NIPS, 2017.
342
+
343
+ Pascal Vincent. A Connection Between Score Matching and Denoising Autoencoders. Neural Computation, 2011.
344
+
345
+ Xin Wang, Shinji Takaki, and Junichi Yamagishi. Neural Source-Filter Waveform Models for Statistical Parametric Speech Synthesis. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 28:402–415, 2020.
346
+
347
+ Yuxuan Wang, RJ Skerry-Ryan, Daisy Stanton, Yonghui Wu, Ron J. Weiss, Navdeep Jaitly, Zongheng Yang, Ying Xiao, Zhifeng Chen, Samy Bengio, Quoc Le, Yannis Agiomyrgiannakis, Rob Clark, and Rif A. Saurous. Tacotron: Towards End-to-End Speech Synthesis. In INTERSPEECH, 2017.
348
+
349
+ Ning-Qian Wu and Zhen-Hua Ling. WaveFFJORD: FFJORD-Based Vocoder for Statistical Parametric Speech Synthesis. In ICASSP, 2020.
350
+
351
+ Ryuichi Yamamoto, Eunwoo Song, and Jae-Min Kim. Parallel WaveGAN: A Fast Waveform Generation Model Based on Generative Adversarial Networks with Multi-Resolution Spectrogram. In ICASSP, 2020.
352
+
353
+ Geng Yang, Shan Yang, Kai Liu, Peng Fang, Wei Chen, and Lei Xie. Multi-band MelGAN: Faster Waveform Generation for High-Quality Text-to-Speech. arXiv preprint arXiv:2005.05106, 2020a.
354
+
355
+ Jinhyeok Yang, Junmo Lee, Youngik Kim, Hoonyoung Cho, and Injung Kim. VocGAN: A HighFidelity Real-time Vocoder with a Hierarchically-nested Adversarial Network. arXiv preprint arXiv:2007.15256, 2020b.
356
+
357
+ ![](images/e2ed879563da778e01565dce8d9c6ba6116cad368535c9c7876b6283a0f3c450.jpg)
358
+
359
+ ![](images/eb6f47b02499bb69c71932a9ced9dc26057e4e77293cefe87b6358de6973287c.jpg)
360
+ of the Upsampling Block (UBlock). We upsample the signal modulated with information from the FiLM module.
361
+ Figure 5: A block diagram of the downsampling block (DBlock).
362
+ Figure 6: A block diagram of feature-wise linear modulation (FiLM) module. We condition on the noise level $\sqrt { \bar { \alpha } }$ of diffusion/denoising process, and pass it to a positional encoding function.
363
+
364
+ # A NEURAL NETWORK ARCHITECTURE
365
+
366
+ To convert the mel-spectrogram signal $( 8 0 ~ \mathrm { H z } )$ into raw audio $( 2 4 ~ \mathrm { k H z } )$ , five upsampling blocks (UBlock) are applied to gradually upsample the temporal dimension by factors of 5, 5, 3, 2, 2, with the number of channels of 512, 512, 256, 128, 128 respectively. Additionally, one convolutional layer is added before and after these blocks.
367
+
368
+ The UBlock is illustrated in Figure 4. Each UBlock includes two residual blocks (He et al., 2016). Neural audio generation models often use large receptive field (Oord et al., 2016; Binkowski et al. ´ , 2020; Yamamoto et al., 2020). The dilation factors of four convolutional layers are 1, 2, 4, 8 for the first three UBlocks and 1, 2, 1, 2 for the rest. Upsampling is carried out by repeating the nearest input. For the large model, we use 1, 2, 4, 8 for all UBlocks.
369
+
370
+ As an iterative approach, the network prediction is also conditioned on noisy waveform √ $\sqrt { \bar { \alpha } _ { n } } y _ { 0 } +$ $\sqrt { 1 - \bar { \alpha } _ { n } } \epsilon$ . Downsampling blocks (DBlock), illustrated in Figure 5, are introduced to downsample the temporal dimension of the noisy waveform. The DBlock is similar to UBlock except that only one residual block is included. The dilation factors are 1, 2, 4 in the main branch. Downsampling is carried out by convolution with strides. Orthogonal initialization (Saxe et al., 2014) is used for all UBlocks and DBlocks.
371
+
372
+ The feature-wise linear modulation (FiLM) (Dumoulin et al., 2018) module combines information from both noisy waveform and input mel-spectrogram. We also represent the iteration index $n$ , which indicates the noise level of the input waveform, using Transformer-style sinusoidal positional embeddings (Vaswani et al., 2017). To condition on the noise level directly, we also utilize the√ sinusoidal embeddings where $5 0 0 0 \sqrt { \bar { \alpha } }$ instead of $n$ is used. The FiLM module produces both scale and bias vectors given inputs, which are used in a UBlock for feature-wise affine transformation as
373
+
374
+ $$
375
+ \gamma ( D , \sqrt { \bar { \alpha } } ) \odot U + \xi ( D , \sqrt { \bar { \alpha } } ) ,
376
+ $$
377
+
378
+ where $\gamma$ and $\xi$ correspond to the scaling and shift vectors from the FiLM module, $D$ is the output from corresponding DBlock, $U$ is an intermediate output in the UBlock, and $\odot$ denotes the Hadamard product.
379
+
380
+ An overview of the FiLM module is illustrated in Figure 6. The structure is inspired by spatiallyadaptive denormalization (Park et al., 2019). However batch normalization (Ioffe & Szegedy, 2015) is not applied in our work since each minibatch contains samples with different levels of noise. Batch statistics are not accurate since they are heavily dependent on sampled noise level. Experiment
381
+
382
+ $\sqrt { \bar { \alpha } _ { n } }$ with various noise schedules.
383
+
384
+ ![](images/a799c085dc9b8b8f13e70b3b924ea0c00b063aa8cb1728cba11f0d4689a2f0ab.jpg)
385
+ Figure 7: Plot of different noise schedules.
386
+
387
+ results also verified our assumption that models trained with batch normalization generate lowquality audio.
388
+
389
+ # B NOISE SCHEDULE
390
+
391
+ For the WaveGrad Base model, we tested different noise schedules during training. For 1000 and 50 iterations, we set the forward process variances to constants increasing linearly from $\beta _ { 1 }$ to $\beta _ { N }$ , defined as Linear( $\beta _ { 1 }$ , $\beta _ { N } , ~ N )$ . We used Linear $( 1 \times 1 0 ^ { - 4 }$ , 0.005, 1000) for 1000 iterations and Linear $\mathrm { 1 \times 1 0 ^ { - 4 } }$ , 0.05, 50) for 50 iterations. For 25 iteration, a different Fibonacci-based schedule was adopted (referred to as Fibonacci $( N ) _ { , }$ :
392
+
393
+ $$
394
+ \begin{array} { r } { \beta _ { 0 } = 1 \times 1 0 ^ { - 6 } \quad \beta _ { 1 } = 2 \times 1 0 ^ { - 6 } \quad } \\ { \beta _ { n } = \beta _ { n - 1 } + \beta _ { n - 2 } \quad \forall n \ge 2 . } \end{array}
395
+ $$
396
+
397
+ When a fixed schedule was used during training, the same schedule was used during inference. We found that a mismatch in the noise schedule degraded performance.
398
+
399
+ To sample the noise level $\sqrt { \bar { \alpha } }$ , we set the maximal iteration $S$ to 1000 and precompute $l _ { 1 }$ to $l _ { S }$ from Linear $\bar { ( 1 \times 1 0 ^ { - 6 } }$ , 0.01, 1000). Unlike the base fixed schedule, WaveGrad support using a different schedule during inference thus “Manual” schedule was also explored to demonstrate the possibilities with WaveGrad. For example, the 6-iteration inference schedule was explored by sweeping the $\beta$ s over following possibilities:
400
+
401
+ $$
402
+ \{ 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 \} \times 1 0 ^ { - 6 } , 1 0 ^ { - 5 } , 1 0 ^ { - 4 } , 1 0 ^ { - 3 } , 1 0 ^ { - 2 } , 1 0 ^ { - 1 }
403
+ $$
404
+
405
+ Again, we did not need to train individual models for such hyper-parameter tuning. Here we used LS-MSE as a metric for tuning.
406
+
407
+ All noise schedules and corresponding $\sqrt { \bar { \alpha } }$ are plotted in Figure 7.
408
+
409
+ # C RESULTS FOR LJ SPEECH
410
+
411
+ We ran experiments using the LJ Speech dataset (Ito & Johnson, 2017), a publicly available dataset consisting of audiobook recordings that were segmented into utterances of up to 10 seconds. We trained on a 12,764-utterance subset (23 hours) and evaluated on a held-out 130-utterance subset, following Battenberg et al. (2020). During training, mel-spectrograms computed from ground truth audio was used as the conditioning features. We used the held-out subset for evaluating synthesized speech with ground truth features. Results are presented in Table C.1. For this dataset, larger network size is beneficial and WaveGrad also matches the performance of the autoregressive baseline.
412
+
413
+ # D SUBJECTIVE LISTENING TEST PROTOCOL
414
+
415
+ The test set included 1,000 sentences. Subjects were asked to rate the naturalness of each stimulus after listening to it. Following previous studies, a five-point Likert scale score (1: Bad, 2: Poor, 3:
416
+
417
+ Table C.1: Mean opinion scores (MOS) for LJ speech datasets.
418
+
419
+ <table><tr><td>Model</td><td>MOS (↑)</td></tr><tr><td>WaveRNN</td><td>4.49 ± 0.05</td></tr><tr><td>WaveGrad</td><td></td></tr><tr><td>Large (6 iterations, continuous noise levels)</td><td>4.47 ± 0.04</td></tr><tr><td>Large (1ooo iterations,continuous noise levels)</td><td>4.55 ± 0.05</td></tr><tr><td>Base (6 iterations,continuous noise levels)</td><td>4.35 ± 0.05</td></tr><tr><td>Base (1ooo iterations,continuous noise levels)</td><td>4.40 ± 0.05</td></tr><tr><td>Ground Truth</td><td>4.55 ± 0.04</td></tr></table>
420
+
421
+ Table E.2: Reported mean opinion scores (MOS) of various models and their confidence intervals. “Linguistic” and “Mel” in the “Features” column indicate that linguistic features and melspectrogram were used as conditioning, respectively.
422
+
423
+ <table><tr><td>Model</td><td>Features</td><td>Sample Rate</td><td>MOS</td></tr><tr><td>Autoregressive</td><td></td><td></td><td></td></tr><tr><td>WaveNet (Oord et al., 2016)</td><td>Linguistic</td><td>16 kHz</td><td>4.21 ± 0.08</td></tr><tr><td>WaveNet (Oord et al., 2018)</td><td>Linguistic</td><td>24 kHz</td><td>4.41 ± 0.07</td></tr><tr><td>WaveNet (Shen et al., 2018)</td><td>Mel</td><td>24 kHz</td><td>4.53 ± 0.07</td></tr><tr><td>WaveRNN (Kalchbrenner et al., 2018)</td><td>Linguistic</td><td>24 kHz</td><td>4.46 ± 0.07</td></tr><tr><td>Non-autoregressive</td><td></td><td></td><td></td></tr><tr><td>Parallel WaveNet (Oord et al., 2018)</td><td>Linguistic</td><td>24 kHz</td><td>4.41 ± 0.08</td></tr><tr><td>GAN-TTS (Binkowski et al., 2020)</td><td>Linguistic</td><td>24 kHz</td><td>4.21 ± 0.05</td></tr><tr><td>GED (Gritsenko et al., 2020)</td><td>Linguistic</td><td>24 kHz</td><td>4.25 ± 0.06</td></tr></table>
424
+
425
+ Fair, 4: Good, 5: Excellent) was adopted with rating increments of 0.5. Each subject was allowed evaluate up to six stimuli. Test stimuli were randomly chosen and presented for each subject. Each stimulus was presented to a subject in isolation and was evaluated by one subject. The subjects were paid and native speakers of English living in United States. They were requested to use headphones in a quiet room.
426
+
427
+ # E SUBJECTIVE SCORES REPORTED IN THE PRIOR WORK
428
+
429
+ Table E.2 shows the reported mean opinion scores of the prior work which used the same speaker. Although different papers listed here used the same female speaker, their results are not directly comparable due to differences in the training dataset, sampling rates, conditioning features, and sentences used for evaluation.
parse/train/NsMLjcFaO8O/NsMLjcFaO8O_content_list.json ADDED
@@ -0,0 +1,2228 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "WAVEGRAD: ESTIMATING GRADIENTS FOR WAVEFORM GENERATION ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 174,
8
+ 98,
9
+ 697,
10
+ 146
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Nanxin Chen∗ \nJohns Hopkins University, Center for Language and Speech Processing \nbobchennan@jhu.edu ",
17
+ "bbox": [
18
+ 183,
19
+ 170,
20
+ 651,
21
+ 212
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Yu Zhang†, Heiga Zen, Ron J. Weiss, Mohammad Norouzi, William Chan† Google Research, Brain Team {ngyuzh,heigazen,ronw,mnorouzi,williamchan}@google.com ",
28
+ "bbox": [
29
+ 184,
30
+ 233,
31
+ 712,
32
+ 276
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "ABSTRACT ",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 454,
42
+ 311,
43
+ 544,
44
+ 327
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "This paper introduces WaveGrad, a conditional model for waveform generation which estimates gradients of the data density. The model is built on prior work on score matching and diffusion probabilistic models. It starts from a Gaussian white noise signal and iteratively refines the signal via a gradient-based sampler conditioned on the mel-spectrogram. WaveGrad offers a natural way to trade inference speed for sample quality by adjusting the number of refinement steps, and bridges the gap between non-autoregressive and autoregressive models in terms of audio quality. We find that it can generate high fidelity audio samples using as few as six iterations. Experiments reveal WaveGrad to generate high fidelity audio, outperforming adversarial non-autoregressive baselines and matching a strong likelihood-based autoregressive baseline using fewer sequential operations. Audio samples are available at https://wavegrad.github.io/. ",
51
+ "bbox": [
52
+ 233,
53
+ 345,
54
+ 764,
55
+ 512
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1 INTRODUCTION ",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 176,
65
+ 542,
66
+ 336,
67
+ 559
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Deep generative models have revolutionized speech synthesis (Oord et al., 2016; Sotelo et al., 2017; Wang et al., 2017; Biadsy et al., 2019; Jia et al., 2019; Vasquez & Lewis, 2019). Autoregressive models, in particular, have been popular for raw audio generation thanks to their tractable likelihoods, simple inference procedures, and high fidelity samples (Oord et al., 2016; Mehri et al., 2017; Kalchbrenner et al., 2018; Song et al., 2019; Valin & Skoglund, 2019). However, autoregressive models require a large number of sequential computations to generate an audio sample. This makes it challenging to deploy them in real-world applications where faster than real time generation is essential, such as digital voice assistants on smart speakers, even using specialized hardware. ",
74
+ "bbox": [
75
+ 174,
76
+ 577,
77
+ 825,
78
+ 688
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "There has been a plethora of research into non-autoregressive models for audio generation, including normalizing flows such as inverse autoregressive flows (Oord et al., 2018; Ping et al., 2019), generative flows (Prenger et al., 2019; Kim et al., 2019), and continuous normalizing flows (Kim et al., 2020; Wu & Ling, 2020), implicit generative models such as generative adversarial networks (GAN) (Donahue et al., 2018; Engel et al., 2019; Kumar et al., 2019; Yamamoto et al., 2020; Binkowski ´ et al., 2020; Yang et al., 2020a;b; McCarthy & Ahmed, 2020) and energy score (Gritsenko et al., 2020), variational auto-encoder models (Peng et al., 2020), as well as models inspired by digital signal processing (Ai & Ling, 2020; Engel et al., 2020), and the speech production mechanism (Juvela et al., 2019; Wang et al., 2020). Although such models improve inference speed by requiring fewer sequential operations, they often yield lower quality samples than autoregressive models. ",
85
+ "bbox": [
86
+ 174,
87
+ 694,
88
+ 825,
89
+ 833
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "This paper introduces WaveGrad, a conditional generative model of waveform samples that estimates the gradients of the data log-density as opposed to the density itself. WaveGrad is simple to train, and implicitly optimizes for the weighted variational lower-bound of the log-likelihood. ",
96
+ "bbox": [
97
+ 176,
98
+ 840,
99
+ 821,
100
+ 882
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "image",
106
+ "img_path": "images/476c131dff8b8dc1afb7ed3d83d6af01926d8bd9b050f3daf2c88049e6f63e13.jpg",
107
+ "image_caption": [
108
+ "Figure 1: A visualization of the WaveGrad inference process. Starting from Gaussian noise $( n = 0$ ), gradient-based sampling is applied using as few as 6 iterations to achieve high fidelity audio $( n = 6$ ). Left: signal after each step of a gradient-based sampler. Right: zoomed view of a $5 0 \\mathrm { m s }$ segment. "
109
+ ],
110
+ "image_footnote": [],
111
+ "bbox": [
112
+ 274,
113
+ 102,
114
+ 718,
115
+ 266
116
+ ],
117
+ "page_idx": 1
118
+ },
119
+ {
120
+ "type": "text",
121
+ "text": "WaveGrad is non-autoregressive, and requires only a constant number of generation steps during inference. Figure 1 visualizes the inference process of WaveGrad. ",
122
+ "bbox": [
123
+ 176,
124
+ 358,
125
+ 820,
126
+ 386
127
+ ],
128
+ "page_idx": 1
129
+ },
130
+ {
131
+ "type": "text",
132
+ "text": "WaveGrad builds on a class of generative models that emerges through learning the gradient of the data log-density, also known as the Stein score function (Hyvarinen ¨ , 2005; Vincent, 2011). During inference, one can rely on the gradient estimate of the data log-density and use gradient-based samplers (e.g., Langevin dynamics) to sample from the model (Song & Ermon, 2019). Promising results have been achieved on image synthesis (Song & Ermon, 2019; 2020) and shape generation (Cai et al., 2020). Closely related are diffusion probabilistic models (Sohl-Dickstein et al., 2015), which capture the output distribution through a Markov chain of latent variables. Although these models do not offer tractable likelihoods, one can optimize a (weighted) variational lower-bound on the log-likelihood. The training objective can be reparameterized to resemble deonising score matching (Vincent, 2011), and can be interpreted as estimating the data log-density gradients. The model is non-autoregressive during inference, requiring only a constant number of generation steps, using a Langevin dynamics-like sampler to generate the output beginning from Gaussian noise. ",
133
+ "bbox": [
134
+ 173,
135
+ 393,
136
+ 825,
137
+ 559
138
+ ],
139
+ "page_idx": 1
140
+ },
141
+ {
142
+ "type": "text",
143
+ "text": "The key contributions of this paper are summarized as follows: ",
144
+ "bbox": [
145
+ 176,
146
+ 566,
147
+ 584,
148
+ 580
149
+ ],
150
+ "page_idx": 1
151
+ },
152
+ {
153
+ "type": "text",
154
+ "text": "• WaveGrad combines recent techniques from score matching (Song et al., 2020; Song & Ermon, 2020) and diffusion probabilistic models (Sohl-Dickstein et al., 2015; Ho et al., 2020) to address conditional speech synthesis. \n• We build and compare two variants of the WaveGrad model: (1) WaveGrad conditioned on a discrete refinement step index following Ho et al. (2020), (2) WaveGrad conditioned on a continuous scalar indicating the noise level. We find this novel continuous variant is more effective, especially because once the model is trained, different number of refinement steps can be used for inference. The proposed continuous noise schedule enables our model to use fewer inference iterations while maintaining the same quality (e.g., 6 vs. 50). We demonstrate that WaveGrad is capable of generating high fidelity audio samples, outperforming adversarial non-autoregressive models (Yamamoto et al., 2020; Kumar et al., 2019; Yang et al., 2020a; Binkowski et al. ´ , 2020) and matching one of the best autoregressive models (Kalchbrenner et al., 2018) in terms of subjective naturalness. WaveGrad is capable of generating high fidelity samples using as few as six refinement steps. ",
155
+ "bbox": [
156
+ 186,
157
+ 588,
158
+ 825,
159
+ 787
160
+ ],
161
+ "page_idx": 1
162
+ },
163
+ {
164
+ "type": "text",
165
+ "text": "2 ESTIMATING GRADIENTS FOR WAVEFORM GENERATION ",
166
+ "text_level": 1,
167
+ "bbox": [
168
+ 174,
169
+ 818,
170
+ 674,
171
+ 833
172
+ ],
173
+ "page_idx": 1
174
+ },
175
+ {
176
+ "type": "text",
177
+ "text": "We begin with a brief review of the Stein score function, Langevin dynamics, and score matching. The Stein score function (Hyvarinen ¨ , 2005) is the gradient of the data log-density $\\log p ( y )$ with respect to the datapoint $y$ : ",
178
+ "bbox": [
179
+ 174,
180
+ 854,
181
+ 823,
182
+ 897
183
+ ],
184
+ "page_idx": 1
185
+ },
186
+ {
187
+ "type": "equation",
188
+ "img_path": "images/0cec64659d293ef72ebbb548e5609b40e6e506aa191fdf9dd69fbeeef389e4ce.jpg",
189
+ "text": "$$\ns ( y ) = \\nabla _ { y } \\log p ( y ) .\n$$",
190
+ "text_format": "latex",
191
+ "bbox": [
192
+ 431,
193
+ 907,
194
+ 566,
195
+ 926
196
+ ],
197
+ "page_idx": 1
198
+ },
199
+ {
200
+ "type": "image",
201
+ "img_path": "images/7f88c4a3e86cbb82b2a7ce764d40ce0bfd0e26f428bbdb625b42f333632b68e0.jpg",
202
+ "image_caption": [
203
+ "Figure 2: WaveGrad directed graphical model for training, conditioned on iteration index. $q ( y _ { n + 1 } | y _ { n } )$ iteratively adds Gaussian noise to the signal starting from the waveform $y _ { 0 }$ . $q ( y _ { n + 1 } | y _ { 0 } )$ is the noise distribution used for training. The inference denoising process progressively removes noise, starting from Gaussian noise $y _ { N }$ , akin to Langevin dynamics. Adapted from Ho et al. (2020). "
204
+ ],
205
+ "image_footnote": [],
206
+ "bbox": [
207
+ 274,
208
+ 98,
209
+ 718,
210
+ 233
211
+ ],
212
+ "page_idx": 2
213
+ },
214
+ {
215
+ "type": "text",
216
+ "text": "Given the Stein score function $s ( \\cdot )$ , one can draw samples from the corresponding density, $\\tilde { y } \\sim p ( y )$ , via Langevin dynamics, which can be interpreted as stochastic gradient ascent in the data space: ",
217
+ "bbox": [
218
+ 171,
219
+ 329,
220
+ 823,
221
+ 358
222
+ ],
223
+ "page_idx": 2
224
+ },
225
+ {
226
+ "type": "equation",
227
+ "img_path": "images/0f1f7b1e61a565213751d083a3aa2a3b3a671a5c19c1ba16e1d21abd5bb2573e.jpg",
228
+ "text": "$$\n\\tilde { y } _ { i + 1 } = \\tilde { y } _ { i } + \\frac { \\eta } { 2 } s ( \\tilde { y } _ { i } ) + \\sqrt { \\eta } z _ { i } ,\n$$",
229
+ "text_format": "latex",
230
+ "bbox": [
231
+ 400,
232
+ 363,
233
+ 596,
234
+ 391
235
+ ],
236
+ "page_idx": 2
237
+ },
238
+ {
239
+ "type": "text",
240
+ "text": "where $\\eta > 0$ is the step size, $z _ { i } \\sim \\mathcal { N } ( 0 , I )$ , and $I$ denotes an identity matrix. A variant (Ho et al., 2020) is used as our inference procedure. ",
241
+ "bbox": [
242
+ 173,
243
+ 397,
244
+ 825,
245
+ 426
246
+ ],
247
+ "page_idx": 2
248
+ },
249
+ {
250
+ "type": "text",
251
+ "text": "A generative model can be built by training a neural network to learn the Stein score function directly, using Langevin dynamics for inference. This approach, known as score matching (Hyvarinen ¨ , 2005; Vincent, 2011), has seen success in image (Song & Ermon, 2019; 2020) and shape (Cai et al., 2020) generation. The denoising score matching objective (Vincent, 2011) takes the form: ",
252
+ "bbox": [
253
+ 174,
254
+ 433,
255
+ 825,
256
+ 489
257
+ ],
258
+ "page_idx": 2
259
+ },
260
+ {
261
+ "type": "equation",
262
+ "img_path": "images/97612140c57ae0ab2dc7359f24b1044f0f11b82c316470698f8fbb1b69b2bd6c.jpg",
263
+ "text": "$$\n\\begin{array} { r } { \\mathbb { E } _ { y \\sim p ( y ) } \\mathbb { E } _ { \\tilde { y } \\sim q ( \\tilde { y } | y ) } \\left[ \\left\\| s _ { \\theta } ( \\tilde { y } ) - \\nabla _ { \\tilde { y } } \\log q ( \\tilde { y } \\mid y ) \\right\\| _ { 2 } ^ { 2 } \\right] , } \\end{array}\n$$",
264
+ "text_format": "latex",
265
+ "bbox": [
266
+ 331,
267
+ 496,
268
+ 665,
269
+ 530
270
+ ],
271
+ "page_idx": 2
272
+ },
273
+ {
274
+ "type": "text",
275
+ "text": "where $p ( \\cdot )$ is the data distribution, and $q ( \\cdot )$ is a noise distribution. ",
276
+ "bbox": [
277
+ 176,
278
+ 536,
279
+ 602,
280
+ 553
281
+ ],
282
+ "page_idx": 2
283
+ },
284
+ {
285
+ "type": "text",
286
+ "text": "Recently, Song & Ermon (2019) proposed a weighted denoising score matching objective, in which data is perturbed with different levels of Gaussian noise, and the score function $s _ { \\theta } ( \\tilde { y } , \\sigma )$ is conditioned on $\\sigma$ , the standard deviation of the noise used: ",
287
+ "bbox": [
288
+ 174,
289
+ 558,
290
+ 825,
291
+ 601
292
+ ],
293
+ "page_idx": 2
294
+ },
295
+ {
296
+ "type": "equation",
297
+ "img_path": "images/e62abb164407e048b4fefe1fcfdf40a8e20d3562eedd5821e660f43e94a52343.jpg",
298
+ "text": "$$\n\\begin{array} { l } { \\displaystyle \\sum _ { \\sigma \\in S } \\lambda ( \\sigma ) \\mathbb { E } _ { y \\sim p ( y ) } \\mathbb { E } _ { \\widetilde { y } \\sim \\mathcal { N } ( y , \\sigma ) } \\left[ \\left\\| s _ { \\theta } ( \\widetilde { y } , \\sigma ) + \\frac { \\widetilde { y } - y } { \\sigma ^ { 2 } } \\right\\| _ { 2 } ^ { 2 } \\right] , } \\end{array}\n$$",
299
+ "text_format": "latex",
300
+ "bbox": [
301
+ 318,
302
+ 606,
303
+ 679,
304
+ 648
305
+ ],
306
+ "page_idx": 2
307
+ },
308
+ {
309
+ "type": "text",
310
+ "text": "where $S$ is a set of standard deviation values that are used to perturb the data, and $\\lambda ( \\sigma )$ is a weighting function for different $\\sigma$ . WaveGrad is a variant of this approach applied to learning conditional generative models of the form $p ( y \\mid x )$ . WaveGrad adopts a similar objective which combines the idea of Vincent (2011); Ho et al. (2020); Song & Ermon (2019). WaveGrad learns the gradient of the data density, and uses a sampler similar to Langevin dynamics for inference. ",
311
+ "bbox": [
312
+ 174,
313
+ 656,
314
+ 825,
315
+ 727
316
+ ],
317
+ "page_idx": 2
318
+ },
319
+ {
320
+ "type": "text",
321
+ "text": "The denoising score matching framework relies on a noise distribution to provide support for learning the gradient of the data log density (i.e., $q$ in Equation 3, and $\\mathcal { N } ( \\cdot , \\sigma )$ in Equation 4). The choice of the noise distribution is critical for achieving high quality samples (Song & Ermon, 2020). As shown in Figure 2, WaveGrad relies on the diffusion model framework (Sohl-Dickstein et al., 2015; Ho et al., 2020) to generate the noise distribution used to learn the score function. ",
322
+ "bbox": [
323
+ 173,
324
+ 733,
325
+ 825,
326
+ 803
327
+ ],
328
+ "page_idx": 2
329
+ },
330
+ {
331
+ "type": "text",
332
+ "text": "2.1 WAVEGRAD AS A DIFFUSION PROBABILISTIC MODEL ",
333
+ "text_level": 1,
334
+ "bbox": [
335
+ 173,
336
+ 820,
337
+ 584,
338
+ 835
339
+ ],
340
+ "page_idx": 2
341
+ },
342
+ {
343
+ "type": "text",
344
+ "text": "Ho et al. (2020) observed that diffusion probabilistic models (Sohl-Dickstein et al., 2015) and score matching objectives (Song & Ermon, 2019; Vincent, 2011; Song & Ermon, 2020) are closely related. As such, we will first introduce WaveGrad as a diffusion probabilistic model. ",
345
+ "bbox": [
346
+ 174,
347
+ 845,
348
+ 823,
349
+ 888
350
+ ],
351
+ "page_idx": 2
352
+ },
353
+ {
354
+ "type": "text",
355
+ "text": "We adapt the diffusion model setup in Ho et al. (2020), from unconditional image generation to conditional raw audio waveform generation. WaveGrad models the conditional distribution $p _ { \\theta } ( y _ { 0 } \\mid$ ",
356
+ "bbox": [
357
+ 174,
358
+ 895,
359
+ 821,
360
+ 924
361
+ ],
362
+ "page_idx": 2
363
+ },
364
+ {
365
+ "type": "table",
366
+ "img_path": "images/7e37fbb6f4fd9b397d7e952dbb20af0043b0c450e20557de381fa56028dd0373.jpg",
367
+ "table_caption": [],
368
+ "table_footnote": [],
369
+ "table_body": "<table><tr><td colspan=\"2\">Algorithm1 Training. WaveGrad directly condi- tions on the continuous noise level√.lis from a predefined noise schedule.</td></tr><tr><td>1: repeat 2: yo~_q(yo) 3: s ~ Uniform({1,...,S}) 4: √~Uniform(𝑙s-1,𝑙s)</td><td></td></tr><tr><td>5: ∈ ~ N(0,I) 6: Take gradient descent step on 7:until converged</td><td>Vθlle-∈(vayo+√1-∈,x,√@)ll</td></tr></table>",
370
+ "bbox": [
371
+ 176,
372
+ 102,
373
+ 493,
374
+ 263
375
+ ],
376
+ "page_idx": 3
377
+ },
378
+ {
379
+ "type": "equation",
380
+ "img_path": "images/58bccca68559f9359479d1e139202dd44713208b48b6994002286d07bd878b95.jpg",
381
+ "text": "$$\n\\begin{array} { r l r l } & { \\mathbf { p e a t } } & & { 1 \\colon \\ y _ { N } \\sim \\mathcal { N } ( 0 , I ) } \\\\ & { y _ { 0 } \\sim q ( y _ { 0 } ) } & { 2 \\colon \\mathbf { f o r } n = N , \\ldots , 1 \\ \\mathbf { d o } } \\\\ & { s \\sim \\mathrm { U n i f o r m } ( \\{ 1 , \\ldots , S \\} ) } & { 3 \\colon } & { z \\sim \\mathcal { N } ( 0 , I ) } \\\\ & { \\sqrt { \\underline { { \\alpha } } } \\sim \\mathrm { U n i f o r m } ( l _ { s - 1 } , l _ { s } ) } & { 4 \\colon } & { y _ { n - 1 } = \\frac { \\big ( y _ { n } - \\frac { 1 - \\alpha _ { n } } { \\sqrt { 1 - \\bar { \\alpha } _ { n } } } \\epsilon _ { \\theta } ( y _ { n } , x , \\sqrt { \\bar { \\alpha } _ { n } } ) \\big ) } { \\sqrt { \\alpha _ { n } } } } \\\\ & { \\epsilon \\sim \\mathcal { N } ( 0 , I ) } & { 4 \\colon } & { y _ { n - 1 } = \\frac { \\big ( y _ { n - 1 } - \\frac { 1 - \\alpha _ { n } } { \\sqrt { 1 - \\bar { \\alpha } _ { n } } } \\epsilon _ { \\theta } ( y _ { n } , x , \\sqrt { \\bar { \\alpha } _ { n } } ) \\big ) } { \\sqrt { \\alpha _ { n } } } } \\\\ & { \\mathrm { T a k e ~ g r a d i e n t ~ d e s c e n t ~ s t e p ~ o n ~ } } & { 5 \\colon } & { \\mathrm { i f ~ } n > 1 , y _ { n - 1 } = y _ { n - 1 } + \\sigma _ { n } z } \\\\ & { \\hat { \\mathbf { V } } _ { \\theta } \\big \\| \\epsilon - \\epsilon _ { \\theta } ( \\sqrt { \\bar { \\alpha } } y _ { 0 } + \\sqrt { 1 - \\bar { \\alpha } } \\epsilon , x , \\sqrt { \\bar { \\alpha } } ) \\big \\| _ { 1 } } & { 6 \\colon \\mathbf { e n d ~ f o r ~ } } & \\\\ & { \\mathbf { t i l ~ c o n v e r g e d } } & & { 7 \\colon \\mathbf { r e t u r n ~ } y _ { 0 } } \\end{array}\n$$",
382
+ "text_format": "latex",
383
+ "bbox": [
384
+ 215,
385
+ 146,
386
+ 776,
387
+ 262
388
+ ],
389
+ "page_idx": 3
390
+ },
391
+ {
392
+ "type": "table",
393
+ "img_path": "images/c9192a060548c6765ee1c33d96048e8e6b15f5a26b34e1c957c63f98f2dfdcd5.jpg",
394
+ "table_caption": [],
395
+ "table_footnote": [],
396
+ "table_body": "<table><tr><td>Algorithm 2 Sampling. WaveGrad generates sam- ples following a gradient-based sampler similar to Langevin dynamics.</td></tr><tr><td>1: yn ~ N(0,I) 2: for n= N,...,1 do</td></tr><tr><td>3: z ~ N(0,I) 1-αn (yn- Eθ(yn,x,√n)) 4: √1-αn</td></tr><tr><td>yn-1= √an</td></tr><tr><td>5: if n&gt;1,yn-1 = yn-1+δnz 6: end for</td></tr></table>",
397
+ "bbox": [
398
+ 503,
399
+ 102,
400
+ 823,
401
+ 263
402
+ ],
403
+ "page_idx": 3
404
+ },
405
+ {
406
+ "type": "text",
407
+ "text": "$x$ ) where $y _ { 0 }$ is the waveform and $x$ contains the conditioning features corresponding to $y _ { 0 }$ , such as linguistic features derived from the corresponding text, mel-spectrogram features extracted from $y _ { 0 }$ , or acoustic features predicted by a Tacotron-style text-to-speech synthesis model (Shen et al., 2018): ",
408
+ "bbox": [
409
+ 171,
410
+ 290,
411
+ 826,
412
+ 333
413
+ ],
414
+ "page_idx": 3
415
+ },
416
+ {
417
+ "type": "equation",
418
+ "img_path": "images/9af40ea7582c1ae4508297d17db1740415b3e446af6d28aff57e389f977c693e.jpg",
419
+ "text": "$$\np _ { \\theta } ( y _ { 0 } \\mid x ) : = \\int p _ { \\theta } ( y _ { 0 : N } \\mid x ) \\mathrm { d } y _ { 1 : N } ,\n$$",
420
+ "text_format": "latex",
421
+ "bbox": [
422
+ 375,
423
+ 339,
424
+ 620,
425
+ 372
426
+ ],
427
+ "page_idx": 3
428
+ },
429
+ {
430
+ "type": "text",
431
+ "text": "where $y _ { 1 } , \\ldots , y _ { N }$ is a series of latent variables, each of which are of the same dimension as the data $y _ { 0 }$ , and $N$ is the number of latent variables (iterations). The posterior $q \\big ( y _ { 1 : N } \\ \\mid \\ y _ { 0 } \\big )$ is called the diffusion process (or forward process), and is defined through the Markov chain: ",
432
+ "bbox": [
433
+ 174,
434
+ 377,
435
+ 823,
436
+ 420
437
+ ],
438
+ "page_idx": 3
439
+ },
440
+ {
441
+ "type": "equation",
442
+ "img_path": "images/d60816d44e5c601231a6763a59eeee5a1ac46874d3fa0a0350ba93a153cd83c5.jpg",
443
+ "text": "$$\nq ( y _ { 1 : N } \\mid y _ { 0 } ) : = \\prod _ { n = 1 } ^ { N } q ( y _ { n } \\mid y _ { n - 1 } ) ,\n$$",
444
+ "text_format": "latex",
445
+ "bbox": [
446
+ 385,
447
+ 425,
448
+ 611,
449
+ 469
450
+ ],
451
+ "page_idx": 3
452
+ },
453
+ {
454
+ "type": "text",
455
+ "text": "where each iteration adds Gaussian noise: ",
456
+ "bbox": [
457
+ 176,
458
+ 474,
459
+ 449,
460
+ 489
461
+ ],
462
+ "page_idx": 3
463
+ },
464
+ {
465
+ "type": "equation",
466
+ "img_path": "images/9583039e9b78a46818b2db6ecbe9bb4816200f29322868088d7092569ef9fa57.jpg",
467
+ "text": "$$\nq ( y _ { n } \\mid y _ { n - 1 } ) : = \\mathcal { N } \\left( y _ { n } ; \\sqrt { \\left( 1 - \\beta _ { n } \\right) } y _ { n - 1 } , \\beta _ { n } I \\right) ,\n$$",
468
+ "text_format": "latex",
469
+ "bbox": [
470
+ 334,
471
+ 492,
472
+ 661,
473
+ 520
474
+ ],
475
+ "page_idx": 3
476
+ },
477
+ {
478
+ "type": "text",
479
+ "text": "under some (fixed constant) noise schedule $\\beta _ { 1 } , \\ldots , \\beta _ { N }$ . We emphasize the property observed by Ho et al. (2020), the diffusion process can be computed for any step $n$ in a closed form: ",
480
+ "bbox": [
481
+ 173,
482
+ 525,
483
+ 828,
484
+ 554
485
+ ],
486
+ "page_idx": 3
487
+ },
488
+ {
489
+ "type": "equation",
490
+ "img_path": "images/95e98c760cfc88a6b6d42dccb79bce46fb34657c12209bd7b1ba8c2c03a1c4f1.jpg",
491
+ "text": "$$\ny _ { n } = \\sqrt { \\bar { \\alpha } _ { n } } y _ { 0 } + \\sqrt { \\left( 1 - \\bar { \\alpha } _ { n } \\right) } \\epsilon\n$$",
492
+ "text_format": "latex",
493
+ "bbox": [
494
+ 398,
495
+ 560,
496
+ 599,
497
+ 580
498
+ ],
499
+ "page_idx": 3
500
+ },
501
+ {
502
+ "type": "text",
503
+ "text": "where $\\epsilon \\sim \\mathcal { N } ( 0 , I )$ , $\\alpha _ { n } : = 1 - \\beta _ { n }$ and $\\textstyle { \\bar { \\alpha } } _ { n } : = \\prod _ { s = 1 } ^ { n } \\alpha _ { s }$ . The gradient of this noise distribution is ",
504
+ "bbox": [
505
+ 174,
506
+ 587,
507
+ 803,
508
+ 604
509
+ ],
510
+ "page_idx": 3
511
+ },
512
+ {
513
+ "type": "equation",
514
+ "img_path": "images/4f8d9512fe5dbf0ee75f6c01132a6431ddb3cbc6c0d964b10c8f4ae6961714ef.jpg",
515
+ "text": "$$\n\\nabla _ { y _ { n } } \\log { q ( y _ { n } \\mid y _ { 0 } ) } = - \\frac { \\epsilon } { \\sqrt { 1 - \\bar { \\alpha } _ { n } } } .\n$$",
516
+ "text_format": "latex",
517
+ "bbox": [
518
+ 383,
519
+ 608,
520
+ 614,
521
+ 640
522
+ ],
523
+ "page_idx": 3
524
+ },
525
+ {
526
+ "type": "text",
527
+ "text": "Ho et al. (2020) proposed to train on pairs $( y _ { 0 } , y _ { n } )$ , and to reparameterize the neural network to model $\\epsilon _ { \\theta }$ . This objective resembles denoising score matching as in Equation 3 (Vincent, 2011): ",
528
+ "bbox": [
529
+ 174,
530
+ 646,
531
+ 828,
532
+ 675
533
+ ],
534
+ "page_idx": 3
535
+ },
536
+ {
537
+ "type": "equation",
538
+ "img_path": "images/6cb667a8f0f0d364fa1ec9433c1cbbda3df375995985e59721b58db1a33a9b4c.jpg",
539
+ "text": "$$\n{ \\mathbb E } _ { n , \\epsilon } \\left[ C _ { n } \\left. \\epsilon _ { \\theta } \\left( \\sqrt { \\bar { \\alpha } _ { n } } y _ { 0 } + \\sqrt { 1 - \\bar { \\alpha } _ { n } } \\epsilon , x , n \\right) - \\epsilon \\right. _ { 2 } ^ { 2 } \\right] ,\n$$",
540
+ "text_format": "latex",
541
+ "bbox": [
542
+ 328,
543
+ 680,
544
+ 668,
545
+ 708
546
+ ],
547
+ "page_idx": 3
548
+ },
549
+ {
550
+ "type": "text",
551
+ "text": "where $C _ { n }$ is a constant related to $\\beta _ { n }$ . In practice Ho et al. (2020) found it beneficial to drop the $C _ { n }$ term, resulting in a weighted variational lower bound of the log-likelihood. Additionally in Ho et al. (2020), $\\epsilon _ { \\theta }$ conditions on the discrete index $n$ , as we will discuss further below. We also found that substituting the original $L _ { 2 }$ distance metric with $L _ { 1 }$ offers better training stability. ",
552
+ "bbox": [
553
+ 173,
554
+ 713,
555
+ 825,
556
+ 770
557
+ ],
558
+ "page_idx": 3
559
+ },
560
+ {
561
+ "type": "text",
562
+ "text": "2.2 NOISE SCHEDULE AND CONDITIONING ON NOISE LEVEL ",
563
+ "text_level": 1,
564
+ "bbox": [
565
+ 174,
566
+ 785,
567
+ 611,
568
+ 801
569
+ ],
570
+ "page_idx": 3
571
+ },
572
+ {
573
+ "type": "text",
574
+ "text": "In the score matching setup, Song & Ermon (2019; 2020) noted the importance of the choice of noise distribution used during training, since it provides support for modelling the gradient distribution. The diffusion framework can be viewed as a specific approach to providing support to score matching, where the noise schedule is parameterized by $\\beta _ { 1 } , \\ldots , \\beta _ { N }$ , as described in the previous section. This is typically determined via some hyperparameter heuristic, e.g., a linear decay schedule (Ho et al., 2020). We found the choice of the noise schedule to be critical towards achieving high fidelity audio in our experiments, especially when trying to minimize the number of inference iterations $N$ to make inference efficient. A schedule with superfluous noise may result in a model unable to recover the low amplitude detail of the waveform, while a schedule with too little noise may result in a model that converges poorly during inference. Song & Ermon (2020) provide some insights around tuning the noise schedule under the score matching framework. We will connect some of these insights and apply them to WaveGrad under the diffusion framework. ",
575
+ "bbox": [
576
+ 173,
577
+ 810,
578
+ 825,
579
+ 924
580
+ ],
581
+ "page_idx": 3
582
+ },
583
+ {
584
+ "type": "text",
585
+ "text": "",
586
+ "bbox": [
587
+ 174,
588
+ 103,
589
+ 823,
590
+ 160
591
+ ],
592
+ "page_idx": 4
593
+ },
594
+ {
595
+ "type": "text",
596
+ "text": "Another closely related problem is determining $N$ , the number of diffusion/denoising steps. A large $N$ equips the model with more computational capacity, and may improve sample quality. However using a small $N$ results in faster inference and lower computational costs. Song & Ermon (2019) used $N = 1 0$ to generate $3 2 \\times 3 2$ images, while Ho et al. (2020) used 1,000 iterations to generate high resolution $2 5 6 \\times 2 5 6$ images. In our case, WaveGrad generates audio sampled at $2 4 \\mathrm { k H z }$ . ",
597
+ "bbox": [
598
+ 174,
599
+ 166,
600
+ 825,
601
+ 236
602
+ ],
603
+ "page_idx": 4
604
+ },
605
+ {
606
+ "type": "text",
607
+ "text": "We found that tuning both the noise schedule and $N$ in conjunction was critical to attaining high fidelity audio, especially when $N$ is small. If these hyperparameters are poorly tuned, the training sampling procedure may provide deficient support for the distribution. Consequently, during inference, the sampler may converge poorly when the sampling trajectory encounters regions that deviate from the conditions seen during training. However, tuning these hyperparameters can be costly due to the large search space, as a large number of models need to be trained and evaluated. We make empirical observations and discuss this in more details in Section 4.4. ",
608
+ "bbox": [
609
+ 174,
610
+ 242,
611
+ 825,
612
+ 342
613
+ ],
614
+ "page_idx": 4
615
+ },
616
+ {
617
+ "type": "text",
618
+ "text": "We address some of the issues above in our WaveGrad implementation. First, compared to the diffusion probabilistic model from Ho et al. (2020), we reparameterize the model to condition on the continuous noise level $\\bar { \\alpha }$ instead of the discrete iteration index $n$ . The loss becomes ",
619
+ "bbox": [
620
+ 174,
621
+ 348,
622
+ 825,
623
+ 390
624
+ ],
625
+ "page_idx": 4
626
+ },
627
+ {
628
+ "type": "equation",
629
+ "img_path": "images/e4f3e183ead4fd8afb25c51c9f6f0c915df2cd2cc933e924fd19dc7a685f565d.jpg",
630
+ "text": "$$\n{ \\mathbb E } _ { \\bar { \\alpha } , \\epsilon } \\left[ \\left\\| \\epsilon _ { \\theta } \\left( \\sqrt { \\bar { \\alpha } } y _ { 0 } + \\sqrt { 1 - \\bar { \\alpha } } \\epsilon , x , \\sqrt { \\bar { \\alpha } } \\right) - \\epsilon \\right\\| _ { 1 } \\right] ,\n$$",
631
+ "text_format": "latex",
632
+ "bbox": [
633
+ 338,
634
+ 390,
635
+ 656,
636
+ 417
637
+ ],
638
+ "page_idx": 4
639
+ },
640
+ {
641
+ "type": "text",
642
+ "text": "A similar approach was also used in the score matching framework (Song & Ermon, 2019; 2020), wherein they conditioned on the noise variance. ",
643
+ "bbox": [
644
+ 176,
645
+ 420,
646
+ 823,
647
+ 448
648
+ ],
649
+ "page_idx": 4
650
+ },
651
+ {
652
+ "type": "text",
653
+ "text": "There is one minor technical issue we must resolve in this approach. In the diffusion probabilistic model training procedure conditioned on the discrete iteration index (Equation 10), we would sample $n \\sim \\operatorname { U n i f o r m } ( \\{ 1 , \\dots , N \\} )$ , and then compute its corresponding $\\alpha _ { n }$ . When directly conditioning on the continuous noise level, we need to define a sampling procedure that can directly sample $\\bar { \\alpha }$ . Recall that $\\begin{array} { r } { \\bar { \\alpha } _ { n } : = \\prod _ { s } ^ { n } ( 1 - \\beta _ { s } ) \\in [ 0 , 1 ] } \\end{array}$ . While we could simply sample from the uniform distribution $\\bar { \\alpha } \\sim \\mathrm { U n i f o r m } ( 0 , 1 )$ , we found this to give poor empirical results. Instead, we use a simple hierarchical sampling method that mimics the discrete sampling strategy. We first define a√ noise schedule with $S$ iterations and compute all of its corresponding $\\sqrt { \\bar { \\alpha } _ { s } }$ : ",
654
+ "bbox": [
655
+ 173,
656
+ 454,
657
+ 825,
658
+ 566
659
+ ],
660
+ "page_idx": 4
661
+ },
662
+ {
663
+ "type": "equation",
664
+ "img_path": "images/dd3559238e4cf4f806318c7009397f6ad5f9c4962e8999d48b8a6d893d3b472a.jpg",
665
+ "text": "$$\nl _ { 0 } = 1 , \\qquad l _ { s } = \\sqrt { \\prod _ { i = 1 } ^ { s } ( 1 - \\beta _ { i } ) } .\n$$",
666
+ "text_format": "latex",
667
+ "bbox": [
668
+ 382,
669
+ 569,
670
+ 616,
671
+ 597
672
+ ],
673
+ "page_idx": 4
674
+ },
675
+ {
676
+ "type": "text",
677
+ "text": "We first sample a segment $s \\sim U ( \\{ 1 , \\dots , S \\} )$ , which provides a segment $\\left( l _ { s - 1 } , l _ { s } \\right)$ , and then sample from this segment uniformly to give $\\sqrt { \\bar { \\alpha } }$ . The full WaveGrad training algorithm using this sampling procedure is illustrated in Algorithm 1. ",
678
+ "bbox": [
679
+ 174,
680
+ 599,
681
+ 825,
682
+ 643
683
+ ],
684
+ "page_idx": 4
685
+ },
686
+ {
687
+ "type": "image",
688
+ "img_path": "images/d9552582efd152b0aec34c78af2babf5e6899ceed9985bed0bc7b00956a18001.jpg",
689
+ "image_caption": [
690
+ "Figure 3: WaveGrad network architecture. The inputs consists of the mel-spectrogram conditioning signal $x$ , the noisy waveform generated from the previous iteration yn, and the noise level α¯. The5 model produces $\\epsilon _ { n }$ at each iteration, which can be interpreted as the direction to update $y _ { n }$ . "
691
+ ],
692
+ "image_footnote": [],
693
+ "bbox": [
694
+ 197,
695
+ 654,
696
+ 473,
697
+ 897
698
+ ],
699
+ "page_idx": 4
700
+ },
701
+ {
702
+ "type": "text",
703
+ "text": "One benefit of this variant is that the model needs to be trained only once, yet inference can be run over a large space of trajectories without the need to be retrained. To be specific, once we train a model, we can use a different number of iterations $N$ during inference, making it possible to explicitly trade off between inference computation and output quality in one model. This also makes fast hyperparameter search possible, as we will illustrate in Section 4.4. The full inference algorithm is explained in Algorithm 2. The full WaveGrad architecture is visualized in Figure 3. Details are included in Appendix A. ",
704
+ "bbox": [
705
+ 514,
706
+ 650,
707
+ 823,
708
+ 844
709
+ ],
710
+ "page_idx": 4
711
+ },
712
+ {
713
+ "type": "text",
714
+ "text": "3 RELATED WORK ",
715
+ "text_level": 1,
716
+ "bbox": [
717
+ 516,
718
+ 864,
719
+ 684,
720
+ 881
721
+ ],
722
+ "page_idx": 4
723
+ },
724
+ {
725
+ "type": "text",
726
+ "text": "This work is inspired in part by Sohl-Dickstein et al. (2015), which applies diffusion probabilistic models to unconditional image synthesis, whereas we apply diffusion probabilistic models to conditional generation of waveform. The objective we use also resembles the Noise Conditional Score Networks (NCSN) objective of Song & Ermon (2019). Similar to Song & Ermon (2019; 2020), our models condition on ",
727
+ "bbox": [
728
+ 514,
729
+ 895,
730
+ 823,
731
+ 924
732
+ ],
733
+ "page_idx": 4
734
+ },
735
+ {
736
+ "type": "text",
737
+ "text": "",
738
+ "bbox": [
739
+ 514,
740
+ 103,
741
+ 823,
742
+ 200
743
+ ],
744
+ "page_idx": 5
745
+ },
746
+ {
747
+ "type": "text",
748
+ "text": "a continuous scalar indicating the noise level. Denoising score matching (Vincent, 2011) and sliced score matching Song et al. (2020) also use similar objective functions, however they do not condition on the noise level. Work of Saremi et al. (2018) on score matching is also related, in that their objective accounts for a noise hyperparameter. Finally, Cai et al. (2020) applied NCSN to model conditional distributions for shape generation, while our focus is waveform generation. ",
749
+ "bbox": [
750
+ 174,
751
+ 200,
752
+ 823,
753
+ 270
754
+ ],
755
+ "page_idx": 5
756
+ },
757
+ {
758
+ "type": "text",
759
+ "text": "WaveGrad also closely relates to masked-based generative models (Devlin et al., 2019; Lee et al., 2018; Ghazvininejad et al., 2019; Chan et al., 2020; Saharia et al., 2020), insertion-based generative models (Stern et al., 2019; Chan et al., 2019b;a;c; Li & Chan, 2019) and edit-based generative models (Sabour et al., 2019; Gu et al., 2019; Ruis et al., 2019) found in the semi-autoregressive sequence generation literature. These approaches model discrete tokens and use edit operations (e.g., insertion, substitution, deletion), whereas in our work, we model the (continuous) gradients in a continuous output space. Edit-based models can also iteratively refine the outputs during inference (Lee et al., 2018; Ghazvininejad et al., 2019; Chan et al., 2020), while they do not rely on a (continuous) gradient-based sampler, they rely on a (discrete) edit-based sampler. The noise distribution play a key role, token masking based on Bernoulli (Devlin et al., 2019), uniform (Saharia et al., 2020), or hand-crafted (Chan et al., 2020) distributions have been used to enable learning the edit distribution. We rely on a Markov chain from the diffusion framework (Ho et al., 2020) to sample perturbations. ",
760
+ "bbox": [
761
+ 174,
762
+ 277,
763
+ 825,
764
+ 443
765
+ ],
766
+ "page_idx": 5
767
+ },
768
+ {
769
+ "type": "text",
770
+ "text": "We note that the concurrent work of Kong et al. (2020) also applies the diffusion framework of Ho et al. (2020) to waveform generation. Their model conditions on a discrete iteration index whereas we find that conditioning on a continuous noise level offers improved flexibility and enables generating high fidelity audio as few as six refinement steps. By contrast, Kong et al. (2020) report performance using 20 refinement steps and evaluate their models when conditioned on ground truth mel-spectrogram. We evaluate WaveGrad when conditioned on Tacotron 2 mel-spectrogram predictions, which corresponds to a more realistic TTS setting. ",
771
+ "bbox": [
772
+ 174,
773
+ 450,
774
+ 823,
775
+ 549
776
+ ],
777
+ "page_idx": 5
778
+ },
779
+ {
780
+ "type": "text",
781
+ "text": "The neural network architecture of WaveGrad is heavily inspired by GAN-TTS (Binkowski et al. ´ , 2020). The upsampling block (UBlock) of WaveGrad follows the GAN-TTS generator, with a minor difference that no BatchNorm is used. ",
782
+ "bbox": [
783
+ 176,
784
+ 555,
785
+ 821,
786
+ 597
787
+ ],
788
+ "page_idx": 5
789
+ },
790
+ {
791
+ "type": "text",
792
+ "text": "4 EXPERIMENTS ",
793
+ "text_level": 1,
794
+ "bbox": [
795
+ 176,
796
+ 625,
797
+ 326,
798
+ 641
799
+ ],
800
+ "page_idx": 5
801
+ },
802
+ {
803
+ "type": "text",
804
+ "text": "We compare WaveGrad with other neural vocoders and carry out ablations using different noise schedules. We find that WaveGrad achieves the same sample quality as the fully autoregressive state-of-the-art model of Kalchbrenner et al. (2018) (WaveRNN) on both internal datasets (Table 1) and LJ Speech (Ito & Johnson, 2017) (Table C.1) with less sequential operations. ",
805
+ "bbox": [
806
+ 176,
807
+ 661,
808
+ 825,
809
+ 717
810
+ ],
811
+ "page_idx": 5
812
+ },
813
+ {
814
+ "type": "text",
815
+ "text": "4.1 MODEL AND TRAINING SETUP ",
816
+ "text_level": 1,
817
+ "bbox": [
818
+ 176,
819
+ 742,
820
+ 424,
821
+ 756
822
+ ],
823
+ "page_idx": 5
824
+ },
825
+ {
826
+ "type": "text",
827
+ "text": "We trained models using a proprietary speech dataset consisted of 385 hours of high quality English speech from 84 professional voice talents. For evaluation, we chose a female speaker in the training dataset. Speech signals were downsampled to $2 4 \\mathrm { k H z }$ then 128-dimensional mel-spectrogram features $\\mathrm { 5 0 ~ m s }$ Hanning window, $1 2 . 5 ~ \\mathrm { m s }$ frame shift, 2048-point FFT, $2 0 \\ : \\mathrm { H z }$ & $1 2 \\ \\mathrm { k H z }$ lower & upper frequency cutoffs) were extracted. During training, mel-spectrograms computed from ground truth audio were used as the conditioning features $x$ . However, during inference, we used predicted mel-spectrograms generated by a Tacotron 2 model (Shen et al., 2018) as the conditioning signal. Although there was a mismatch in the conditioning signals between training and inference, unlike Shen et al. (2018), preliminary experiments demonstrated that training using ground truth mel-spectrograms as conditioning had no regression compared to training using predicted features. This property is highly beneficial as it significantly simplifies the training process of text-to-speech models: the WaveGrad vocoder model can be trained separately on a large corpus without relying on a pretrained text-to-spectrogram model. ",
828
+ "bbox": [
829
+ 174,
830
+ 770,
831
+ 825,
832
+ 924
833
+ ],
834
+ "page_idx": 5
835
+ },
836
+ {
837
+ "type": "text",
838
+ "text": "",
839
+ "bbox": [
840
+ 173,
841
+ 103,
842
+ 823,
843
+ 132
844
+ ],
845
+ "page_idx": 6
846
+ },
847
+ {
848
+ "type": "text",
849
+ "text": "Model Size: Two network size variations were compared: Base and Large. The WaveGrad Base model took 24 frames corresponding to 0.3 seconds of audio (7,200 samples) as input during training. We set the batch size to 256. Models were trained on using 32 Tensor Processing Unit (TPU) v2 cores. The WaveGrad Base model contained 15M parameters. For the WaveGrad Large model, we repeated each UBlock/DBlock twice, one with upsampling/downsampling and another without. Each training sample included 60 frames corresponding to a 0.75 second of audio (18,000 samples). We used the same batch size and trained the model using 128 TPU v3 cores. The WaveGrad Large model contained 23M parameters. Both Base and Large models were trained for about 1M steps. The network architecture is fully convolutional and non-autoregressive thus it is highly parallelizable at both training and inference. ",
850
+ "bbox": [
851
+ 174,
852
+ 138,
853
+ 825,
854
+ 277
855
+ ],
856
+ "page_idx": 6
857
+ },
858
+ {
859
+ "type": "text",
860
+ "text": "Noise Schedule: All noise schedules we used can be found in Appendix B. ",
861
+ "bbox": [
862
+ 176,
863
+ 285,
864
+ 665,
865
+ 299
866
+ ],
867
+ "page_idx": 6
868
+ },
869
+ {
870
+ "type": "text",
871
+ "text": "4.2 EVALUATION ",
872
+ "text_level": 1,
873
+ "bbox": [
874
+ 174,
875
+ 320,
876
+ 305,
877
+ 335
878
+ ],
879
+ "page_idx": 6
880
+ },
881
+ {
882
+ "type": "text",
883
+ "text": "The following models were used as baselines in this experiment: (1) WaveRNN (Kalchbrenner et al., 2018) conditioned on mel-spectrograms predicted by a Tacotron 2 model in teacher-forcing mode following Shen et al. (2018); The model used a single long short-term memory (LSTM) layer with 1,024 hidden units, 5 convolutional layers with 512 channels as the conditioning stack to process the mel-spectrogram features, and a 10-component mixture of logistic distributions (Salimans et al., 2017) as its output layer, generating 16-bit samples at $2 4 ~ \\mathrm { k H z }$ . It had 18M parameters and was trained for 1M steps. Preliminary experiments indicated that further reducing the number of units in the LSTM layer hurts performance. (2) Parallel WaveGAN (Yamamoto et al., 2020) with 1.57M parameters, trained for 1M steps. (3) MelGAN (Kumar et al., 2019) with 3.22M parameters, trained for 4M steps. (4) Multi-band MelGAN (Yang et al., 2020a) with 2.27M parameters, trained for 1M steps. (5) GAN-TTS (Binkowski et al. ´ , 2020) with 21.4M parameters, trained for 1M steps. ",
884
+ "bbox": [
885
+ 174,
886
+ 349,
887
+ 825,
888
+ 502
889
+ ],
890
+ "page_idx": 6
891
+ },
892
+ {
893
+ "type": "text",
894
+ "text": "All models were trained using the same training set as the WaveGrad models. Following the original papers, Parallel WaveGAN, MelGAN, and Multi-band MelGAN were conditioned on the melspectrograms computed from ground truth audio during training. They were trained using a publicly available implementation at https://github.com/kan-bayashi/ParallelWaveGAN. Note that hyper-parameters of these baseline models were not fully optimized for this dataset. ",
895
+ "bbox": [
896
+ 174,
897
+ 508,
898
+ 823,
899
+ 579
900
+ ],
901
+ "page_idx": 6
902
+ },
903
+ {
904
+ "type": "text",
905
+ "text": "To compare these models, we report subjective listening test results rating speech naturalness on a 5-point Mean Opinion Score (MOS) scale, following the protocol described in Appendix D. Conditioning mel-spectrograms for the test set were predicted using a Tacotron 2 model, which were passed to these models to synthesize audio signals. Note that the Tacotron 2 model was identical to the one used to predict mel-spectrograms for training WaveRNN and GAN-TTS models. ",
906
+ "bbox": [
907
+ 176,
908
+ 585,
909
+ 825,
910
+ 656
911
+ ],
912
+ "page_idx": 6
913
+ },
914
+ {
915
+ "type": "text",
916
+ "text": "4.3 RESULTS ",
917
+ "text_level": 1,
918
+ "bbox": [
919
+ 174,
920
+ 678,
921
+ 277,
922
+ 691
923
+ ],
924
+ "page_idx": 6
925
+ },
926
+ {
927
+ "type": "text",
928
+ "text": "Subjective evaluation results are summarized in Table 1. Models conditioned on discrete indices followed the formulation from Section 2.1, and models conditioned on continuous noise level followed the formulation from Section 2.2. WaveGrad models matched the performance of the autoregressive WaveRNN baseline and outperformed the non-autoregressive baselines. Although increasing the model size slightly improved naturalness, the difference was not statistically significant. The WaveGrad Base model using six iterations achieved a real time factor (RTF) of 0.2 on an NVIDIA V100 GPU, while still achieving an MOS above 4.4. As a comparison, the WaveRNN model achieved a RTF of 20.1 on the same GPU, 100 times slower. More detailed discussion is in Section 4.4. Appendix C contains results on a public dataset using the same model architecture and noise schedule. ",
929
+ "bbox": [
930
+ 174,
931
+ 707,
932
+ 825,
933
+ 832
934
+ ],
935
+ "page_idx": 6
936
+ },
937
+ {
938
+ "type": "text",
939
+ "text": "4.4 DISCUSSION ",
940
+ "text_level": 1,
941
+ "bbox": [
942
+ 174,
943
+ 853,
944
+ 302,
945
+ 867
946
+ ],
947
+ "page_idx": 6
948
+ },
949
+ {
950
+ "type": "text",
951
+ "text": "To understand the impact of different noise schedules and to reduce the number of iterations in the noise schedule from 1,000, we explored different noise schedules using fewer iterations. We found that a well-behaved inference schedule should satisfy two conditions: ",
952
+ "bbox": [
953
+ 176,
954
+ 882,
955
+ 823,
956
+ 922
957
+ ],
958
+ "page_idx": 6
959
+ },
960
+ {
961
+ "type": "table",
962
+ "img_path": "images/5234eb56a54eb1796da80bbb17c8f3954f33c9fb390921d612179e6e42714d22.jpg",
963
+ "table_caption": [
964
+ "Table 1: Mean opinion scores (MOS) of various models and their confidence intervals. All models except WaveRNN are non-autoregressive. WaveGrad, Parallel WaveGAN, MelGAN, and Multiband MelGAN were conditioned on the mel-spectrograms computed from ground truth audio during training. WaveRNN and GAN-TTS used predicted features for training. "
965
+ ],
966
+ "table_footnote": [],
967
+ "table_body": "<table><tr><td>Model</td><td>MOS (↑)</td></tr><tr><td>WaveRNN</td><td>4.49 ± 0.04</td></tr><tr><td>Parallel WaveGAN</td><td>3.92 ± 0.05</td></tr><tr><td>MelGAN</td><td>3.95 ± 0.06</td></tr><tr><td>Multi-band MelGAN</td><td>4.10 ± 0.05</td></tr><tr><td>GAN-TTS</td><td>4.34 ± 0.04</td></tr><tr><td>WaveGrad</td><td></td></tr><tr><td>Base (6 iterations,continuous noise levels)</td><td>4.41 ± 0.03</td></tr><tr><td>Base(1,Ooo iterations,discrete indices)</td><td>4.47 ± 0.04</td></tr><tr><td>Large (1,0O0 iterations, discrete indices)</td><td>4.51 ± 0.04</td></tr><tr><td>Ground Truth</td><td>4.58 ± 0.05</td></tr></table>",
968
+ "bbox": [
969
+ 282,
970
+ 167,
971
+ 710,
972
+ 356
973
+ ],
974
+ "page_idx": 7
975
+ },
976
+ {
977
+ "type": "text",
978
+ "text": "1. The KL-divergence $D _ { \\mathrm { K L } } \\left( q ( y _ { N } \\mid y _ { 0 } ) \\parallel \\mathcal { N } ( 0 , I ) \\right)$ between $y _ { N }$ and standard normal distribution $\\mathcal { N } ( 0 , I )$ needs to be small. Large KL-divergence introduces mismatches between training and inference. To make the KL-divergence small, some $\\beta \\mathrm { { s } }$ need to be large enough. ",
979
+ "bbox": [
980
+ 192,
981
+ 372,
982
+ 823,
983
+ 415
984
+ ],
985
+ "page_idx": 7
986
+ },
987
+ {
988
+ "type": "text",
989
+ "text": "2. $\\beta$ should start with small values. This provides the model training with fine granularity details, which we found crucial for reducing background static noise. ",
990
+ "bbox": [
991
+ 186,
992
+ 415,
993
+ 821,
994
+ 443
995
+ ],
996
+ "page_idx": 7
997
+ },
998
+ {
999
+ "type": "text",
1000
+ "text": "In this section, all the experiments were conducted with the WaveGrad Base model. Both objective and subjective evaluation results are reported. The objective evaluation metrics include ",
1001
+ "bbox": [
1002
+ 176,
1003
+ 449,
1004
+ 821,
1005
+ 478
1006
+ ],
1007
+ "page_idx": 7
1008
+ },
1009
+ {
1010
+ "type": "text",
1011
+ "text": "1. Log-mel spectrogram mean squared error metrics (LS-MSE), computed using 50 ms window length and 6.25 ms frame shift; \n2. Mel cepstral distance (MCD) (Kubichek, 1993), a similar MSE metric computed using 13- dimensional mel frequency cepstral coefficient features; \n3. $F _ { 0 }$ Frame Error (FFE) (Chu & Alwan, 2009), combining Gross Pitch Error and Voicing Decision metrics to measure the signal proportion whose estimated pitch differs from ground truth. ",
1012
+ "bbox": [
1013
+ 189,
1014
+ 484,
1015
+ 825,
1016
+ 569
1017
+ ],
1018
+ "page_idx": 7
1019
+ },
1020
+ {
1021
+ "type": "text",
1022
+ "text": "Since the ground truth waveform is required to compute objective evaluation metrics, we report results using ground truth mel-spectrograms as conditioning features. We used a validation set of 50 utterances for objective evaluation, including audio samples from multiple speakers. Note that for MOS evaluation, we used the same subjective evaluation protocol described in Appendix D. We experimented with different noise schedules and number of iterations. These models were trained with conditioning on the discrete index. Subjective and quantitative evaluation results are in Table 2. ",
1023
+ "bbox": [
1024
+ 173,
1025
+ 575,
1026
+ 825,
1027
+ 659
1028
+ ],
1029
+ "page_idx": 7
1030
+ },
1031
+ {
1032
+ "type": "text",
1033
+ "text": "We also performed a detailed study on the the WaveGrad model conditioned on the continuous noise level in the bottom part of Table 2. Compared to the model conditioned on the discrete index with a fixed training schedule (top of Table 2), conditioning on the continuous noise level generalized better, especially if the number of iterations was small. It can be seen from Table 2 that degradation with the model with six iterations was not significant. The model with six iterations achieved real time factor $( \\mathrm { R T F } ) = 0 . 2$ on an NVIDIA V100 GPU and $\\mathrm { R T F } = 1 . 5$ on an Intel Xeon CPU (16 cores, 2.3GHz). As we did not optimize the inference code, further speed ups are likely possible. ",
1034
+ "bbox": [
1035
+ 174,
1036
+ 666,
1037
+ 825,
1038
+ 763
1039
+ ],
1040
+ "page_idx": 7
1041
+ },
1042
+ {
1043
+ "type": "text",
1044
+ "text": "5 CONCLUSION ",
1045
+ "text_level": 1,
1046
+ "bbox": [
1047
+ 176,
1048
+ 790,
1049
+ 318,
1050
+ 806
1051
+ ],
1052
+ "page_idx": 7
1053
+ },
1054
+ {
1055
+ "type": "text",
1056
+ "text": "In this paper, we presented WaveGrad, a novel conditional model for waveform generation which estimates the gradients of the data density, following the diffusion probabilistic model (Ho et al., 2020) and score matching framework (Song et al., 2020; Song & Ermon, 2020). WaveGrad starts from Gaussian white noise and iteratively updates the signal via a gradient-based sampler conditioned on the mel-spectrogram. WaveGrad is non-autoregressive, and requires only a constant number of generation steps during inference. We find that the model can generate high fidelity audio samples using as few as six iterations. WaveGrad is simple to train, and implicitly optimizes for the weighted variational lower-bound of the log-likelihood. The empirical experiments demonstrated WaveGrad to generate high fidelity audio samples matching a strong autoregressive baseline. ",
1057
+ "bbox": [
1058
+ 173,
1059
+ 825,
1060
+ 823,
1061
+ 924
1062
+ ],
1063
+ "page_idx": 7
1064
+ },
1065
+ {
1066
+ "type": "table",
1067
+ "img_path": "images/07dd981924ae2c8bb274f9e3dd8d8766ed0560c59269fb71f494cd961309f406.jpg",
1068
+ "table_caption": [
1069
+ "Table 2: Objective and subjective metrics of the WaveGrad Base models. When conditioning on the discrete index, a separate model needs to be trained for each noise schedule. In contrast, a single model can be used with different noise schedules when conditioning on the noise level directly. This variant yields high fidelity samples using as few as six iterations. "
1070
+ ],
1071
+ "table_footnote": [],
1072
+ "table_body": "<table><tr><td>Iterations (schedule)</td><td>LS-MSE (↓)</td><td>MCD (↓)</td><td>FFE (↓)</td><td>MOS (↑)</td></tr><tr><td colspan=\"5\">WaveGrad conditioned on discrete index</td></tr><tr><td>25 (Fibonacci)</td><td>283</td><td>3.93</td><td>3.3%</td><td>3.86 ± 0.05</td></tr><tr><td>50 (Linear (1 × 10-4,0.05))</td><td>181</td><td>3.13</td><td>3.1%</td><td>4.42 ± 0.04</td></tr><tr><td>1,000 (Linear(1 × 10-4,0.005))</td><td>116</td><td>2.85</td><td>3.2%</td><td>4.47 ± 0.04</td></tr><tr><td colspan=\"5\">WaveGrad conditioned on continuous noise level</td></tr><tr><td>6 (Manual)</td><td>217</td><td>3.38</td><td>2.8%</td><td>4.41 ± 0.04</td></tr><tr><td>25 (Fibonacci)</td><td>185</td><td>3.33</td><td>2.8%</td><td>4.44 ± 0.04</td></tr><tr><td>50 (Linear (1 × 10-4,0.05))</td><td>177</td><td>3.23</td><td>2.7%</td><td>4.43 ± 0.04</td></tr><tr><td>1,000 (Linear (1 × 10-4,0.005))</td><td>106</td><td>2.85</td><td>3.0%</td><td>4.46 ± 0.03</td></tr></table>",
1073
+ "bbox": [
1074
+ 192,
1075
+ 167,
1076
+ 805,
1077
+ 332
1078
+ ],
1079
+ "page_idx": 8
1080
+ },
1081
+ {
1082
+ "type": "text",
1083
+ "text": "",
1084
+ "bbox": [
1085
+ 176,
1086
+ 358,
1087
+ 823,
1088
+ 387
1089
+ ],
1090
+ "page_idx": 8
1091
+ },
1092
+ {
1093
+ "type": "text",
1094
+ "text": "AUTHOR CONTRIBUTIONS ",
1095
+ "text_level": 1,
1096
+ "bbox": [
1097
+ 176,
1098
+ 404,
1099
+ 357,
1100
+ 417
1101
+ ],
1102
+ "page_idx": 8
1103
+ },
1104
+ {
1105
+ "type": "text",
1106
+ "text": "Nanxin Chen wrote code, proposed the idea, ran all experiments and wrote the paper. Yu Zhang recruited collaborators, co-managed/advised the project, conducted evaluation, debugging model and editing paper. Heiga Zen helped conducting text-to-speech experiments and advised the project. Ron Weiss implemented the objective evaluation metrics and advised the project. Mohammad Norouzi suggested the use of denoising diffusion models for audio generation and helped with writing and advising the project. William Chan conceived the project, wrote code, wrote paper, and co-managed/advised the project. ",
1107
+ "bbox": [
1108
+ 174,
1109
+ 428,
1110
+ 825,
1111
+ 526
1112
+ ],
1113
+ "page_idx": 8
1114
+ },
1115
+ {
1116
+ "type": "text",
1117
+ "text": "ACKNOWLEDGMENTS ",
1118
+ "text_level": 1,
1119
+ "bbox": [
1120
+ 176,
1121
+ 544,
1122
+ 326,
1123
+ 556
1124
+ ],
1125
+ "page_idx": 8
1126
+ },
1127
+ {
1128
+ "type": "text",
1129
+ "text": "The authors would like to thank Durk Kingma, Yang Song, Kevin Swersky and Yonghui Wu for providing insightful research discussions and feedback. We also would like to thank Norman Casagrande for helping us to include the GAN-TTS baseline. ",
1130
+ "bbox": [
1131
+ 176,
1132
+ 566,
1133
+ 823,
1134
+ 608
1135
+ ],
1136
+ "page_idx": 8
1137
+ },
1138
+ {
1139
+ "type": "text",
1140
+ "text": "REFERENCES ",
1141
+ "text_level": 1,
1142
+ "bbox": [
1143
+ 176,
1144
+ 631,
1145
+ 285,
1146
+ 646
1147
+ ],
1148
+ "page_idx": 8
1149
+ },
1150
+ {
1151
+ "type": "text",
1152
+ "text": "Yang Ai and Zhen-Hua Ling. Knowledge-and-Data-Driven Amplitude Spectrum Prediction for Hierarchical Neural Vocoders. arXiv preprint arXiv:2004.07832, 2020. ",
1153
+ "bbox": [
1154
+ 173,
1155
+ 655,
1156
+ 823,
1157
+ 684
1158
+ ],
1159
+ "page_idx": 8
1160
+ },
1161
+ {
1162
+ "type": "text",
1163
+ "text": "Eric Battenberg, RJ Skerry-Ryan, Soroosh Mariooryad, Daisy Stanton, David Kao, Matt Shannon, and Tom Bagby. Location-relative Attention Mechanisms for Robust Long-form Speech Synthesis. In ICASSP, 2020. ",
1164
+ "bbox": [
1165
+ 173,
1166
+ 694,
1167
+ 821,
1168
+ 737
1169
+ ],
1170
+ "page_idx": 8
1171
+ },
1172
+ {
1173
+ "type": "text",
1174
+ "text": "Fadi Biadsy, Ron J. Weiss, Pedro J. Moreno, Dimitri Kanevsky, and Ye Jia. Parrotron: An End-toEnd Speech-to-Speech Conversion Model and its Applications to Hearing-Impaired Speech and Speech Separation. In INTERSPEECH, 2019. ",
1175
+ "bbox": [
1176
+ 174,
1177
+ 748,
1178
+ 821,
1179
+ 791
1180
+ ],
1181
+ "page_idx": 8
1182
+ },
1183
+ {
1184
+ "type": "text",
1185
+ "text": "Mikołaj Binkowski, Jeff Donahue, Sander Dieleman, Aidan Clark, Erich Elsen, Norman ´ Casagrande, Luis C. Cobo, and Karen Simonyan. High Fidelity Speech Synthesis with Adversarial Networks. In ICLR, 2020. ",
1186
+ "bbox": [
1187
+ 174,
1188
+ 801,
1189
+ 823,
1190
+ 844
1191
+ ],
1192
+ "page_idx": 8
1193
+ },
1194
+ {
1195
+ "type": "text",
1196
+ "text": "Ruojin Cai, Guandao Yang, Hadar Averbuch-Elor, Zekun Hao, Serge Belongie, Noah Snavely, and Bharath Hariharan. Learning Gradient Fields for Shape Generation. In ECCV, 2020. ",
1197
+ "bbox": [
1198
+ 169,
1199
+ 856,
1200
+ 825,
1201
+ 883
1202
+ ],
1203
+ "page_idx": 8
1204
+ },
1205
+ {
1206
+ "type": "text",
1207
+ "text": "Harris Chan, Jamie Kiros, and William Chan. Multilingual KERMIT: It’s Not Easy Being Generative. In NeurIPS: Workshop on Perception as Generative Reasoning, 2019a. ",
1208
+ "bbox": [
1209
+ 173,
1210
+ 895,
1211
+ 821,
1212
+ 924
1213
+ ],
1214
+ "page_idx": 8
1215
+ },
1216
+ {
1217
+ "type": "text",
1218
+ "text": "William Chan, Nikita Kitaev, Kelvin Guu, Mitchell Stern, and Jakob Uszkoreit. KERMIT: Generative Insertion-Based Modeling for Sequences. arXiv preprint arXiv:1906.01604, 2019b. ",
1219
+ "bbox": [
1220
+ 173,
1221
+ 103,
1222
+ 823,
1223
+ 133
1224
+ ],
1225
+ "page_idx": 9
1226
+ },
1227
+ {
1228
+ "type": "text",
1229
+ "text": "William Chan, Mitchell Stern, Jamie Kiros, and Jakob Uszkoreit. An Empirical Study of Generation Order for Machine Translation. arXiv preprint arXiv:1910.13437, 2019c. ",
1230
+ "bbox": [
1231
+ 173,
1232
+ 142,
1233
+ 823,
1234
+ 171
1235
+ ],
1236
+ "page_idx": 9
1237
+ },
1238
+ {
1239
+ "type": "text",
1240
+ "text": "William Chan, Chitwan Saharia, Geoffrey Hinton, Mohammad Norouzi, and Navdeep Jaitly. Imputer: Sequence Modelling via Imputation and Dynamic Programming. In ICML, 2020. ",
1241
+ "bbox": [
1242
+ 176,
1243
+ 181,
1244
+ 823,
1245
+ 212
1246
+ ],
1247
+ "page_idx": 9
1248
+ },
1249
+ {
1250
+ "type": "text",
1251
+ "text": "Wei Chu and Abeer Alwan. Reducing F0 Frame Error of F0 Tracking Algorithms under Noisy Conditions with an Unvoiced/Voiced Classification Frontend. In ICASSP, 2009. ",
1252
+ "bbox": [
1253
+ 174,
1254
+ 222,
1255
+ 821,
1256
+ 251
1257
+ ],
1258
+ "page_idx": 9
1259
+ },
1260
+ {
1261
+ "type": "text",
1262
+ "text": "Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. In NAACL, 2019. ",
1263
+ "bbox": [
1264
+ 173,
1265
+ 261,
1266
+ 823,
1267
+ 290
1268
+ ],
1269
+ "page_idx": 9
1270
+ },
1271
+ {
1272
+ "type": "text",
1273
+ "text": "Chris Donahue, Julian McAuley, and Miller Puckette. Adversarial Audio Synthesis. arXiv preprint arXiv:1802.04208, 2018. ",
1274
+ "bbox": [
1275
+ 173,
1276
+ 300,
1277
+ 823,
1278
+ 330
1279
+ ],
1280
+ "page_idx": 9
1281
+ },
1282
+ {
1283
+ "type": "text",
1284
+ "text": "Vincent Dumoulin, Ethan Perez, Nathan Schucher, Florian Strub, Harm de Vries, Aaron Courville, and Yoshua Bengio. Feature-wise Transformations. Distill, 2018. doi: 10.23915/distill.00011. https://distill.pub/2018/feature-wise-transformations. ",
1285
+ "bbox": [
1286
+ 176,
1287
+ 339,
1288
+ 823,
1289
+ 383
1290
+ ],
1291
+ "page_idx": 9
1292
+ },
1293
+ {
1294
+ "type": "text",
1295
+ "text": "Jesse Engel, Kumar Krishna Agrawal, Shuo Chen, Ishaan Gulrajani, Chris Donahue, and Adam Roberts. GANSynth: Adversarial Neural Audio Synthesis. In ICLR, 2019. ",
1296
+ "bbox": [
1297
+ 169,
1298
+ 393,
1299
+ 823,
1300
+ 422
1301
+ ],
1302
+ "page_idx": 9
1303
+ },
1304
+ {
1305
+ "type": "text",
1306
+ "text": "Jesse Engel, Lamtharn Hantrakul, Chenjie Gu, and Adam Roberts. DDSP: Differentiable Digital Signal Processing. In ICLR, 2020. ",
1307
+ "bbox": [
1308
+ 174,
1309
+ 433,
1310
+ 821,
1311
+ 462
1312
+ ],
1313
+ "page_idx": 9
1314
+ },
1315
+ {
1316
+ "type": "text",
1317
+ "text": "Marjan Ghazvininejad, Omer Levy, Yinhan Liu, and Luke Zettlemoyer. Mask-Predict: Parallel Decoding of Conditional Masked Language Models. In EMNLP, 2019. ",
1318
+ "bbox": [
1319
+ 173,
1320
+ 472,
1321
+ 823,
1322
+ 502
1323
+ ],
1324
+ "page_idx": 9
1325
+ },
1326
+ {
1327
+ "type": "text",
1328
+ "text": "Alexey A. Gritsenko, Tim Salimans, Rianne van den Berg, Jasper Snoek, and Nal Kalchbrenner. A Spectral Energy Distance for Parallel Speech Synthesis. arXiv preprint arXiv:2008.01160, 2020. ",
1329
+ "bbox": [
1330
+ 173,
1331
+ 511,
1332
+ 825,
1333
+ 541
1334
+ ],
1335
+ "page_idx": 9
1336
+ },
1337
+ {
1338
+ "type": "text",
1339
+ "text": "Jiatao Gu, Changhan Wang, and Jake Zhao. Levenshtein Transformer. In NeurIPS, 2019. ",
1340
+ "bbox": [
1341
+ 171,
1342
+ 551,
1343
+ 761,
1344
+ 566
1345
+ ],
1346
+ "page_idx": 9
1347
+ },
1348
+ {
1349
+ "type": "text",
1350
+ "text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep Residual Learning for Image Recognition. In CVPR, 2016. ",
1351
+ "bbox": [
1352
+ 169,
1353
+ 577,
1354
+ 825,
1355
+ 606
1356
+ ],
1357
+ "page_idx": 9
1358
+ },
1359
+ {
1360
+ "type": "text",
1361
+ "text": "Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising Diffusion Probabilistic Models. arXiv preprint arXiv:2006.11239, 2020. ",
1362
+ "bbox": [
1363
+ 169,
1364
+ 616,
1365
+ 825,
1366
+ 646
1367
+ ],
1368
+ "page_idx": 9
1369
+ },
1370
+ {
1371
+ "type": "text",
1372
+ "text": "Aapo Hyvarinen. Estimation of Non-Normalized Statistical Models by Score Matching. ¨ Journal of Machine Learning Research, 6, April 2005. ",
1373
+ "bbox": [
1374
+ 173,
1375
+ 655,
1376
+ 823,
1377
+ 685
1378
+ ],
1379
+ "page_idx": 9
1380
+ },
1381
+ {
1382
+ "type": "text",
1383
+ "text": "Sergey Ioffe and Christian Szegedy. Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift. In ICML, 2015. ",
1384
+ "bbox": [
1385
+ 174,
1386
+ 695,
1387
+ 821,
1388
+ 726
1389
+ ],
1390
+ "page_idx": 9
1391
+ },
1392
+ {
1393
+ "type": "text",
1394
+ "text": "Keith Ito and Linda Johnson. The LJ Speech Dataset, 2017. https://keithito.com/ LJ-Speech-Dataset/. ",
1395
+ "bbox": [
1396
+ 173,
1397
+ 734,
1398
+ 821,
1399
+ 763
1400
+ ],
1401
+ "page_idx": 9
1402
+ },
1403
+ {
1404
+ "type": "text",
1405
+ "text": "Ye Jia, Ron J. Weiss, Fadi Biadsy, Wolfgang Macherey, Melvin Johnson, Zhifeng Chen, and Yonghui Wu. Direct Speech-to-Speech Translation with a Sequence-to-Sequence Model. In INTERSPEECH, 2019. ",
1406
+ "bbox": [
1407
+ 174,
1408
+ 773,
1409
+ 823,
1410
+ 818
1411
+ ],
1412
+ "page_idx": 9
1413
+ },
1414
+ {
1415
+ "type": "text",
1416
+ "text": "Lauri Juvela, Bajibabu Bollepalli, Vassilis Tsiaras, and Paavo Alku. GlotNet—A Raw Waveform Model for the Glottal Excitation in Statistical Parametric Speech Synthesis. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 27(6):1019–1030, 2019. ",
1417
+ "bbox": [
1418
+ 174,
1419
+ 827,
1420
+ 823,
1421
+ 871
1422
+ ],
1423
+ "page_idx": 9
1424
+ },
1425
+ {
1426
+ "type": "text",
1427
+ "text": "Nal Kalchbrenner, Erich Elsen, Karen Simonyan, Seb Noury, Norman Casagrande, Edward Lockhart, Florian Stimberg, Aaron van den Oord, Sander Dieleman, and Koray Kavukcuoglu. Efficient ¨ Neural Audio Synthesis. In ICML, 2018. ",
1428
+ "bbox": [
1429
+ 178,
1430
+ 881,
1431
+ 821,
1432
+ 924
1433
+ ],
1434
+ "page_idx": 9
1435
+ },
1436
+ {
1437
+ "type": "text",
1438
+ "text": "Hyeongju Kim, Hyeonseung Lee, Woo Hyun Kang, Sung Jun Cheon, Byoung Jin Choi, and Nam Soo Kim. WaveNODE: A Continuous Normalizing Flow for Speech Synthesis. In ICML: Workshop on Invertible Neural Networks, Normalizing Flows, and Explicit Likelihood Models, 2020. ",
1439
+ "bbox": [
1440
+ 174,
1441
+ 103,
1442
+ 825,
1443
+ 159
1444
+ ],
1445
+ "page_idx": 10
1446
+ },
1447
+ {
1448
+ "type": "text",
1449
+ "text": "Sungwon Kim, Sang-Gil Lee, Jongyoon Song, Jaehyeon Kim, and Sungroh Yoon. FloWaveNet: A Generative Flow for Raw Audio. In ICML, 2019. ",
1450
+ "bbox": [
1451
+ 173,
1452
+ 169,
1453
+ 823,
1454
+ 198
1455
+ ],
1456
+ "page_idx": 10
1457
+ },
1458
+ {
1459
+ "type": "text",
1460
+ "text": "Zhifeng Kong, Wei Ping, Jiaji Huang, Kexin Zhao, and Bryan Catanzaro. DiffWave: A Versatile Diffusion Model for Audio Synthesis. arXiv preprint arXiv:2009.09761, 2020. ",
1461
+ "bbox": [
1462
+ 176,
1463
+ 205,
1464
+ 823,
1465
+ 236
1466
+ ],
1467
+ "page_idx": 10
1468
+ },
1469
+ {
1470
+ "type": "text",
1471
+ "text": "Robert Kubichek. Mel-Cepstral Distance Measure for Objective Speech Quality Assessment. In IEEE PACRIM, 1993. ",
1472
+ "bbox": [
1473
+ 173,
1474
+ 244,
1475
+ 823,
1476
+ 273
1477
+ ],
1478
+ "page_idx": 10
1479
+ },
1480
+ {
1481
+ "type": "text",
1482
+ "text": "Kundan Kumar, Rithesh Kumar, Thibault de Boissiere, Lucas Gestin, Wei Zhen Teoh, Jose Sotelo, Alexandre de Brebisson, Yoshua Bengio, and Aaron Courville. MelGAN: Generative Adversarial Networks for Conditional Waveform Synthesis. In NeurIPS, 2019. ",
1483
+ "bbox": [
1484
+ 174,
1485
+ 281,
1486
+ 825,
1487
+ 325
1488
+ ],
1489
+ "page_idx": 10
1490
+ },
1491
+ {
1492
+ "type": "text",
1493
+ "text": "Jason Lee, Elman Mansimov, and Kyunghyun Cho. Deterministic Non-Autoregressive Neural Sequence Modeling by Iterative Refinement. In EMNLP, 2018. ",
1494
+ "bbox": [
1495
+ 173,
1496
+ 334,
1497
+ 821,
1498
+ 363
1499
+ ],
1500
+ "page_idx": 10
1501
+ },
1502
+ {
1503
+ "type": "text",
1504
+ "text": "Lala Li and William Chan. Big Bidirectional Insertion Representations for Documents. In EMNLP: Workshop of Neural Generation and Translation, 2019. ",
1505
+ "bbox": [
1506
+ 174,
1507
+ 371,
1508
+ 821,
1509
+ 401
1510
+ ],
1511
+ "page_idx": 10
1512
+ },
1513
+ {
1514
+ "type": "text",
1515
+ "text": "Ollie McCarthy and Zohaib Ahmed. HooliGAN: Robust, High Quality Neural Vocoding. arXiv preprint arXiv:2008.02493, 2020. ",
1516
+ "bbox": [
1517
+ 173,
1518
+ 409,
1519
+ 823,
1520
+ 439
1521
+ ],
1522
+ "page_idx": 10
1523
+ },
1524
+ {
1525
+ "type": "text",
1526
+ "text": "Soroush Mehri, Kundan Kumar, Ishaan Gulrajani, Rithesh Kumar, Shubham Jain, Jose Sotelo, Aaron Courville, and Yoshua Bengio. SampleRNN: An Unconditional End-to-End Neural Audio Generation Model. In ICLR, 2017. ",
1527
+ "bbox": [
1528
+ 173,
1529
+ 446,
1530
+ 825,
1531
+ 489
1532
+ ],
1533
+ "page_idx": 10
1534
+ },
1535
+ {
1536
+ "type": "text",
1537
+ "text": "Aaron van den Oord, Sander Dieleman, Heiga Zen, Karen Simonyan, Oriol Vinyals, Alex Graves, ¨ Nal Kalchbrenner, Andrew Senior, and Koray Kavukcuoglu. WaveNet: A Generative Model for Raw Audio. arXiv preprint arXiv:1609.03499, 2016. ",
1538
+ "bbox": [
1539
+ 173,
1540
+ 498,
1541
+ 825,
1542
+ 542
1543
+ ],
1544
+ "page_idx": 10
1545
+ },
1546
+ {
1547
+ "type": "text",
1548
+ "text": "Aaron van den Oord, Yazhe Li, Igor Babuschkin, Karen Simonyan, Oriol Vinyals, Koray ¨ Kavukcuoglu, George van den Driessche, Edward Lockhart, Luis C. Cobo, Florian Stimberg, Norman Casagrande, Dominik Grewe, Seb Noury, Sander Dieleman, Erich Elsen, Nal Kalchbrenner, Heiga Zen, Alex Graves, Helen King, Tom Walters, Dan Belov, and Demis Hassabis. Parallel WaveNet: Fast High-Fidelity Speech Synthesis. In ICML, 2018. ",
1549
+ "bbox": [
1550
+ 174,
1551
+ 550,
1552
+ 825,
1553
+ 621
1554
+ ],
1555
+ "page_idx": 10
1556
+ },
1557
+ {
1558
+ "type": "text",
1559
+ "text": "Taesung Park, Ming-Yu Liu, Ting-Chun Wang, and Jun-Yan Zhu. Semantic Image Synthesis with Spatially-Adaptive Normalization. In CVPR, 2019. ",
1560
+ "bbox": [
1561
+ 171,
1562
+ 630,
1563
+ 823,
1564
+ 659
1565
+ ],
1566
+ "page_idx": 10
1567
+ },
1568
+ {
1569
+ "type": "text",
1570
+ "text": "Kainan Peng, Wei Ping, Zhao Song, and Kexin Zhao. Non-Autoregressive Neural Text-to-Speech. In ICML, 2020. ",
1571
+ "bbox": [
1572
+ 173,
1573
+ 667,
1574
+ 821,
1575
+ 696
1576
+ ],
1577
+ "page_idx": 10
1578
+ },
1579
+ {
1580
+ "type": "text",
1581
+ "text": "Wei Ping, Kainan Peng, and Jitong Chen. ClariNet: Parallel Wave Generation in End-to-End Textto-Speech. In ICLR, 2019. ",
1582
+ "bbox": [
1583
+ 173,
1584
+ 705,
1585
+ 821,
1586
+ 734
1587
+ ],
1588
+ "page_idx": 10
1589
+ },
1590
+ {
1591
+ "type": "text",
1592
+ "text": "Ryan Prenger, Rafael Valle, and Bryan Catanzaro. WaveGlow: A Flow-based Generative Network for Speech Synthesis. In ICASSP, 2019. ",
1593
+ "bbox": [
1594
+ 169,
1595
+ 743,
1596
+ 823,
1597
+ 772
1598
+ ],
1599
+ "page_idx": 10
1600
+ },
1601
+ {
1602
+ "type": "text",
1603
+ "text": "Laura Ruis, Mitchell Stern, Julia Proskurnia, and William Chan. Insertion-Deletion Transformer. In EMNLP: Workshop of Neural Generation and Translation, 2019. ",
1604
+ "bbox": [
1605
+ 176,
1606
+ 781,
1607
+ 823,
1608
+ 810
1609
+ ],
1610
+ "page_idx": 10
1611
+ },
1612
+ {
1613
+ "type": "text",
1614
+ "text": "Sara Sabour, William Chan, and Mohammad Norouzi. Optimal Completion Distillation for Sequence Learning. In ICLR, 2019. ",
1615
+ "bbox": [
1616
+ 174,
1617
+ 819,
1618
+ 821,
1619
+ 848
1620
+ ],
1621
+ "page_idx": 10
1622
+ },
1623
+ {
1624
+ "type": "text",
1625
+ "text": "Chitwan Saharia, William Chan, Saurabh Saxena, and Mohammad Norouzi. Non-Autoregressive Machine Translation with Latent Alignments. arXiv preprint arXiv:2004.07437, 2020. ",
1626
+ "bbox": [
1627
+ 176,
1628
+ 857,
1629
+ 823,
1630
+ 886
1631
+ ],
1632
+ "page_idx": 10
1633
+ },
1634
+ {
1635
+ "type": "text",
1636
+ "text": "Tim Salimans, Andrej Karpathy, Xi Chen, and Diederik P. Kingma. PixelCNN $^ { + + }$ : Improving the PixelCNN with Discretized Logistic Mixture Likelihood and Other Modifications. In ICLR, 2017. ",
1637
+ "bbox": [
1638
+ 176,
1639
+ 895,
1640
+ 821,
1641
+ 924
1642
+ ],
1643
+ "page_idx": 10
1644
+ },
1645
+ {
1646
+ "type": "text",
1647
+ "text": "Saeed Saremi, Arash Mehrjou, Bernhard Scholkopf, and Aapo Hyv ¨ arinen. Deep Energy Estimator ¨ Networks. arXiv preprint arXiv:1805.08306, 2018. ",
1648
+ "bbox": [
1649
+ 173,
1650
+ 103,
1651
+ 825,
1652
+ 132
1653
+ ],
1654
+ "page_idx": 11
1655
+ },
1656
+ {
1657
+ "type": "text",
1658
+ "text": "Andrew M. Saxe, James L. McClelland, and Surya Ganguli. Exact Solutions to the Nonlinear Dynamics of Learning in Deep Linear Neural Networks. In ICLR, 2014. ",
1659
+ "bbox": [
1660
+ 174,
1661
+ 138,
1662
+ 821,
1663
+ 167
1664
+ ],
1665
+ "page_idx": 11
1666
+ },
1667
+ {
1668
+ "type": "text",
1669
+ "text": "Jonathan Shen, Ruoming Pang, Ron J. Weiss, Mike Schuster, Navdeep Jaitly, Zongheng Yang, Zhifeng Chen, Yu Zhang, Yuxuan Wang, RJ Skerrv-Ryan, Rif A. Saurous, Yannis Agiomyrgiannakis, and Yonghui Wu. Natural TTS Synthesis by Conditioning WaveNet on Mel Spectrogram Predictions. In ICASSP, 2018. ",
1670
+ "bbox": [
1671
+ 179,
1672
+ 174,
1673
+ 821,
1674
+ 231
1675
+ ],
1676
+ "page_idx": 11
1677
+ },
1678
+ {
1679
+ "type": "text",
1680
+ "text": "Jascha Sohl-Dickstein, Eric A. Weiss, Niru Maheswaranathan, and Surya Ganguli. Deep Unsupervised Learning using Nonequilibrium Thermodynamics. In ICML, 2015. ",
1681
+ "bbox": [
1682
+ 173,
1683
+ 238,
1684
+ 823,
1685
+ 267
1686
+ ],
1687
+ "page_idx": 11
1688
+ },
1689
+ {
1690
+ "type": "text",
1691
+ "text": "Eunwoo Song, Kyungguen Byun, and Hong-Goo Kang. ExcitNet Vocoder: A Neural Excitation Model for Parametric Speech Synthesis Systems. In EUSIPCO, 2019. ",
1692
+ "bbox": [
1693
+ 173,
1694
+ 273,
1695
+ 823,
1696
+ 304
1697
+ ],
1698
+ "page_idx": 11
1699
+ },
1700
+ {
1701
+ "type": "text",
1702
+ "text": "Yang Song and Stefano Ermon. Generative Modeling by Estimating Gradients of the Data Distribution. In NeurIPS, 2019. ",
1703
+ "bbox": [
1704
+ 174,
1705
+ 310,
1706
+ 823,
1707
+ 339
1708
+ ],
1709
+ "page_idx": 11
1710
+ },
1711
+ {
1712
+ "type": "text",
1713
+ "text": "Yang Song and Stefano Ermon. Improved Techniques for Training Score-Based Generative Models. arXiv preprint arXiv:2006.09011, 2020. ",
1714
+ "bbox": [
1715
+ 173,
1716
+ 345,
1717
+ 821,
1718
+ 375
1719
+ ],
1720
+ "page_idx": 11
1721
+ },
1722
+ {
1723
+ "type": "text",
1724
+ "text": "Yang Song, Sahaj Garg, Jiaxin Shi, and Stefano Ermon. Sliced Score Matching: A Scalable Approach to Density and Score Estimation. In Uncertainty in Artificial Intelligence, pp. 574–584, 2020. ",
1725
+ "bbox": [
1726
+ 174,
1727
+ 381,
1728
+ 823,
1729
+ 424
1730
+ ],
1731
+ "page_idx": 11
1732
+ },
1733
+ {
1734
+ "type": "text",
1735
+ "text": "Jose Sotelo, Soroush Mehri, Kundan Kumar, Joao Felipe Santos, Kyle Kastner, Aaron C. Courville, and Yoshua Bengio. Char2Wav: End-to-End Speech Synthesis. In ICLR, 2017. ",
1736
+ "bbox": [
1737
+ 173,
1738
+ 431,
1739
+ 820,
1740
+ 460
1741
+ ],
1742
+ "page_idx": 11
1743
+ },
1744
+ {
1745
+ "type": "text",
1746
+ "text": "Mitchell Stern, William Chan, Jamie Kiros, and Jakob Uszkoreit. Insertion Transformer: Flexible Sequence Generation via Insertion Operations. In ICML, 2019. ",
1747
+ "bbox": [
1748
+ 173,
1749
+ 467,
1750
+ 823,
1751
+ 497
1752
+ ],
1753
+ "page_idx": 11
1754
+ },
1755
+ {
1756
+ "type": "text",
1757
+ "text": "Jean-Marc Valin and Jan Skoglund. LPCNet: Improving Neural Speech Synthesis through Linear Prediction. In ICASSP, 2019. ",
1758
+ "bbox": [
1759
+ 171,
1760
+ 503,
1761
+ 823,
1762
+ 531
1763
+ ],
1764
+ "page_idx": 11
1765
+ },
1766
+ {
1767
+ "type": "text",
1768
+ "text": "Sean Vasquez and Mike Lewis. MelNet: A Generative Model for Audio in the Frequency Domain. arXiv preprint arXiv:1906.01083, 2019. ",
1769
+ "bbox": [
1770
+ 173,
1771
+ 539,
1772
+ 823,
1773
+ 568
1774
+ ],
1775
+ "page_idx": 11
1776
+ },
1777
+ {
1778
+ "type": "text",
1779
+ "text": "Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention Is All You Need. In NIPS, 2017. ",
1780
+ "bbox": [
1781
+ 173,
1782
+ 574,
1783
+ 821,
1784
+ 604
1785
+ ],
1786
+ "page_idx": 11
1787
+ },
1788
+ {
1789
+ "type": "text",
1790
+ "text": "Pascal Vincent. A Connection Between Score Matching and Denoising Autoencoders. Neural Computation, 2011. ",
1791
+ "bbox": [
1792
+ 173,
1793
+ 611,
1794
+ 823,
1795
+ 640
1796
+ ],
1797
+ "page_idx": 11
1798
+ },
1799
+ {
1800
+ "type": "text",
1801
+ "text": "Xin Wang, Shinji Takaki, and Junichi Yamagishi. Neural Source-Filter Waveform Models for Statistical Parametric Speech Synthesis. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 28:402–415, 2020. ",
1802
+ "bbox": [
1803
+ 171,
1804
+ 646,
1805
+ 823,
1806
+ 689
1807
+ ],
1808
+ "page_idx": 11
1809
+ },
1810
+ {
1811
+ "type": "text",
1812
+ "text": "Yuxuan Wang, RJ Skerry-Ryan, Daisy Stanton, Yonghui Wu, Ron J. Weiss, Navdeep Jaitly, Zongheng Yang, Ying Xiao, Zhifeng Chen, Samy Bengio, Quoc Le, Yannis Agiomyrgiannakis, Rob Clark, and Rif A. Saurous. Tacotron: Towards End-to-End Speech Synthesis. In INTERSPEECH, 2017. ",
1813
+ "bbox": [
1814
+ 173,
1815
+ 695,
1816
+ 825,
1817
+ 752
1818
+ ],
1819
+ "page_idx": 11
1820
+ },
1821
+ {
1822
+ "type": "text",
1823
+ "text": "Ning-Qian Wu and Zhen-Hua Ling. WaveFFJORD: FFJORD-Based Vocoder for Statistical Parametric Speech Synthesis. In ICASSP, 2020. ",
1824
+ "bbox": [
1825
+ 171,
1826
+ 758,
1827
+ 821,
1828
+ 789
1829
+ ],
1830
+ "page_idx": 11
1831
+ },
1832
+ {
1833
+ "type": "text",
1834
+ "text": "Ryuichi Yamamoto, Eunwoo Song, and Jae-Min Kim. Parallel WaveGAN: A Fast Waveform Generation Model Based on Generative Adversarial Networks with Multi-Resolution Spectrogram. In ICASSP, 2020. ",
1835
+ "bbox": [
1836
+ 173,
1837
+ 795,
1838
+ 823,
1839
+ 838
1840
+ ],
1841
+ "page_idx": 11
1842
+ },
1843
+ {
1844
+ "type": "text",
1845
+ "text": "Geng Yang, Shan Yang, Kai Liu, Peng Fang, Wei Chen, and Lei Xie. Multi-band MelGAN: Faster Waveform Generation for High-Quality Text-to-Speech. arXiv preprint arXiv:2005.05106, 2020a. ",
1846
+ "bbox": [
1847
+ 173,
1848
+ 844,
1849
+ 823,
1850
+ 875
1851
+ ],
1852
+ "page_idx": 11
1853
+ },
1854
+ {
1855
+ "type": "text",
1856
+ "text": "Jinhyeok Yang, Junmo Lee, Youngik Kim, Hoonyoung Cho, and Injung Kim. VocGAN: A HighFidelity Real-time Vocoder with a Hierarchically-nested Adversarial Network. arXiv preprint arXiv:2007.15256, 2020b. ",
1857
+ "bbox": [
1858
+ 174,
1859
+ 882,
1860
+ 825,
1861
+ 922
1862
+ ],
1863
+ "page_idx": 11
1864
+ },
1865
+ {
1866
+ "type": "image",
1867
+ "img_path": "images/e2ed879563da778e01565dce8d9c6ba6116cad368535c9c7876b6283a0f3c450.jpg",
1868
+ "image_caption": [],
1869
+ "image_footnote": [],
1870
+ "bbox": [
1871
+ 627,
1872
+ 176,
1873
+ 841,
1874
+ 303
1875
+ ],
1876
+ "page_idx": 12
1877
+ },
1878
+ {
1879
+ "type": "image",
1880
+ "img_path": "images/eb6f47b02499bb69c71932a9ced9dc26057e4e77293cefe87b6358de6973287c.jpg",
1881
+ "image_caption": [
1882
+ "of the Upsampling Block (UBlock). We upsample the signal modulated with information from the FiLM module. ",
1883
+ "Figure 5: A block diagram of the downsampling block (DBlock). ",
1884
+ "Figure 6: A block diagram of feature-wise linear modulation (FiLM) module. We condition on the noise level $\\sqrt { \\bar { \\alpha } }$ of diffusion/denoising process, and pass it to a positional encoding function. "
1885
+ ],
1886
+ "image_footnote": [],
1887
+ "bbox": [
1888
+ 174,
1889
+ 101,
1890
+ 612,
1891
+ 342
1892
+ ],
1893
+ "page_idx": 12
1894
+ },
1895
+ {
1896
+ "type": "text",
1897
+ "text": "A NEURAL NETWORK ARCHITECTURE ",
1898
+ "text_level": 1,
1899
+ "bbox": [
1900
+ 174,
1901
+ 438,
1902
+ 514,
1903
+ 454
1904
+ ],
1905
+ "page_idx": 12
1906
+ },
1907
+ {
1908
+ "type": "text",
1909
+ "text": "To convert the mel-spectrogram signal $( 8 0 ~ \\mathrm { H z } )$ into raw audio $( 2 4 ~ \\mathrm { k H z } )$ , five upsampling blocks (UBlock) are applied to gradually upsample the temporal dimension by factors of 5, 5, 3, 2, 2, with the number of channels of 512, 512, 256, 128, 128 respectively. Additionally, one convolutional layer is added before and after these blocks. ",
1910
+ "bbox": [
1911
+ 173,
1912
+ 469,
1913
+ 825,
1914
+ 525
1915
+ ],
1916
+ "page_idx": 12
1917
+ },
1918
+ {
1919
+ "type": "text",
1920
+ "text": "The UBlock is illustrated in Figure 4. Each UBlock includes two residual blocks (He et al., 2016). Neural audio generation models often use large receptive field (Oord et al., 2016; Binkowski et al. ´ , 2020; Yamamoto et al., 2020). The dilation factors of four convolutional layers are 1, 2, 4, 8 for the first three UBlocks and 1, 2, 1, 2 for the rest. Upsampling is carried out by repeating the nearest input. For the large model, we use 1, 2, 4, 8 for all UBlocks. ",
1921
+ "bbox": [
1922
+ 173,
1923
+ 532,
1924
+ 825,
1925
+ 603
1926
+ ],
1927
+ "page_idx": 12
1928
+ },
1929
+ {
1930
+ "type": "text",
1931
+ "text": "As an iterative approach, the network prediction is also conditioned on noisy waveform √ $\\sqrt { \\bar { \\alpha } _ { n } } y _ { 0 } +$ $\\sqrt { 1 - \\bar { \\alpha } _ { n } } \\epsilon$ . Downsampling blocks (DBlock), illustrated in Figure 5, are introduced to downsample the temporal dimension of the noisy waveform. The DBlock is similar to UBlock except that only one residual block is included. The dilation factors are 1, 2, 4 in the main branch. Downsampling is carried out by convolution with strides. Orthogonal initialization (Saxe et al., 2014) is used for all UBlocks and DBlocks. ",
1932
+ "bbox": [
1933
+ 174,
1934
+ 609,
1935
+ 825,
1936
+ 693
1937
+ ],
1938
+ "page_idx": 12
1939
+ },
1940
+ {
1941
+ "type": "text",
1942
+ "text": "The feature-wise linear modulation (FiLM) (Dumoulin et al., 2018) module combines information from both noisy waveform and input mel-spectrogram. We also represent the iteration index $n$ , which indicates the noise level of the input waveform, using Transformer-style sinusoidal positional embeddings (Vaswani et al., 2017). To condition on the noise level directly, we also utilize the√ sinusoidal embeddings where $5 0 0 0 \\sqrt { \\bar { \\alpha } }$ instead of $n$ is used. The FiLM module produces both scale and bias vectors given inputs, which are used in a UBlock for feature-wise affine transformation as ",
1943
+ "bbox": [
1944
+ 173,
1945
+ 699,
1946
+ 825,
1947
+ 784
1948
+ ],
1949
+ "page_idx": 12
1950
+ },
1951
+ {
1952
+ "type": "equation",
1953
+ "img_path": "images/abe39d164d4006db78bf4ba0cfcba3bccf6db0c11cf2ecf1e31694273c4fb411.jpg",
1954
+ "text": "$$\n\\gamma ( D , \\sqrt { \\bar { \\alpha } } ) \\odot U + \\xi ( D , \\sqrt { \\bar { \\alpha } } ) ,\n$$",
1955
+ "text_format": "latex",
1956
+ "bbox": [
1957
+ 401,
1958
+ 791,
1959
+ 596,
1960
+ 810
1961
+ ],
1962
+ "page_idx": 12
1963
+ },
1964
+ {
1965
+ "type": "text",
1966
+ "text": "where $\\gamma$ and $\\xi$ correspond to the scaling and shift vectors from the FiLM module, $D$ is the output from corresponding DBlock, $U$ is an intermediate output in the UBlock, and $\\odot$ denotes the Hadamard product. ",
1967
+ "bbox": [
1968
+ 174,
1969
+ 818,
1970
+ 825,
1971
+ 861
1972
+ ],
1973
+ "page_idx": 12
1974
+ },
1975
+ {
1976
+ "type": "text",
1977
+ "text": "An overview of the FiLM module is illustrated in Figure 6. The structure is inspired by spatiallyadaptive denormalization (Park et al., 2019). However batch normalization (Ioffe & Szegedy, 2015) is not applied in our work since each minibatch contains samples with different levels of noise. Batch statistics are not accurate since they are heavily dependent on sampled noise level. Experiment ",
1978
+ "bbox": [
1979
+ 174,
1980
+ 867,
1981
+ 823,
1982
+ 924
1983
+ ],
1984
+ "page_idx": 12
1985
+ },
1986
+ {
1987
+ "type": "text",
1988
+ "text": "$\\sqrt { \\bar { \\alpha } _ { n } }$ with various noise schedules. ",
1989
+ "bbox": [
1990
+ 405,
1991
+ 104,
1992
+ 632,
1993
+ 121
1994
+ ],
1995
+ "page_idx": 13
1996
+ },
1997
+ {
1998
+ "type": "image",
1999
+ "img_path": "images/a799c085dc9b8b8f13e70b3b924ea0c00b063aa8cb1728cba11f0d4689a2f0ab.jpg",
2000
+ "image_caption": [
2001
+ "Figure 7: Plot of different noise schedules. "
2002
+ ],
2003
+ "image_footnote": [],
2004
+ "bbox": [
2005
+ 218,
2006
+ 125,
2007
+ 774,
2008
+ 253
2009
+ ],
2010
+ "page_idx": 13
2011
+ },
2012
+ {
2013
+ "type": "text",
2014
+ "text": "results also verified our assumption that models trained with batch normalization generate lowquality audio. ",
2015
+ "bbox": [
2016
+ 173,
2017
+ 305,
2018
+ 823,
2019
+ 334
2020
+ ],
2021
+ "page_idx": 13
2022
+ },
2023
+ {
2024
+ "type": "text",
2025
+ "text": "B NOISE SCHEDULE ",
2026
+ "text_level": 1,
2027
+ "bbox": [
2028
+ 176,
2029
+ 353,
2030
+ 359,
2031
+ 369
2032
+ ],
2033
+ "page_idx": 13
2034
+ },
2035
+ {
2036
+ "type": "text",
2037
+ "text": "For the WaveGrad Base model, we tested different noise schedules during training. For 1000 and 50 iterations, we set the forward process variances to constants increasing linearly from $\\beta _ { 1 }$ to $\\beta _ { N }$ , defined as Linear( $\\beta _ { 1 }$ , $\\beta _ { N } , ~ N )$ . We used Linear $( 1 \\times 1 0 ^ { - 4 }$ , 0.005, 1000) for 1000 iterations and Linear $\\mathrm { 1 \\times 1 0 ^ { - 4 } }$ , 0.05, 50) for 50 iterations. For 25 iteration, a different Fibonacci-based schedule was adopted (referred to as Fibonacci $( N ) _ { , }$ : ",
2038
+ "bbox": [
2039
+ 173,
2040
+ 383,
2041
+ 825,
2042
+ 454
2043
+ ],
2044
+ "page_idx": 13
2045
+ },
2046
+ {
2047
+ "type": "equation",
2048
+ "img_path": "images/a943dab1a112e3700669169421778619cb48d644bc065f0d72139f88a5fb6262.jpg",
2049
+ "text": "$$\n\\begin{array} { r } { \\beta _ { 0 } = 1 \\times 1 0 ^ { - 6 } \\quad \\beta _ { 1 } = 2 \\times 1 0 ^ { - 6 } \\quad } \\\\ { \\beta _ { n } = \\beta _ { n - 1 } + \\beta _ { n - 2 } \\quad \\forall n \\ge 2 . } \\end{array}\n$$",
2050
+ "text_format": "latex",
2051
+ "bbox": [
2052
+ 354,
2053
+ 458,
2054
+ 642,
2055
+ 497
2056
+ ],
2057
+ "page_idx": 13
2058
+ },
2059
+ {
2060
+ "type": "text",
2061
+ "text": "When a fixed schedule was used during training, the same schedule was used during inference. We found that a mismatch in the noise schedule degraded performance. ",
2062
+ "bbox": [
2063
+ 174,
2064
+ 507,
2065
+ 823,
2066
+ 536
2067
+ ],
2068
+ "page_idx": 13
2069
+ },
2070
+ {
2071
+ "type": "text",
2072
+ "text": "To sample the noise level $\\sqrt { \\bar { \\alpha } }$ , we set the maximal iteration $S$ to 1000 and precompute $l _ { 1 }$ to $l _ { S }$ from Linear $\\bar { ( 1 \\times 1 0 ^ { - 6 } }$ , 0.01, 1000). Unlike the base fixed schedule, WaveGrad support using a different schedule during inference thus “Manual” schedule was also explored to demonstrate the possibilities with WaveGrad. For example, the 6-iteration inference schedule was explored by sweeping the $\\beta$ s over following possibilities: ",
2073
+ "bbox": [
2074
+ 174,
2075
+ 541,
2076
+ 825,
2077
+ 612
2078
+ ],
2079
+ "page_idx": 13
2080
+ },
2081
+ {
2082
+ "type": "equation",
2083
+ "img_path": "images/83b051ae8e4bd58f6594bdea679d1678f15efae7f6c28314f8e164c18ca18dca.jpg",
2084
+ "text": "$$\n\\{ 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 \\} \\times 1 0 ^ { - 6 } , 1 0 ^ { - 5 } , 1 0 ^ { - 4 } , 1 0 ^ { - 3 } , 1 0 ^ { - 2 } , 1 0 ^ { - 1 }\n$$",
2085
+ "text_format": "latex",
2086
+ "bbox": [
2087
+ 294,
2088
+ 616,
2089
+ 704,
2090
+ 633
2091
+ ],
2092
+ "page_idx": 13
2093
+ },
2094
+ {
2095
+ "type": "text",
2096
+ "text": "Again, we did not need to train individual models for such hyper-parameter tuning. Here we used LS-MSE as a metric for tuning. ",
2097
+ "bbox": [
2098
+ 171,
2099
+ 645,
2100
+ 821,
2101
+ 675
2102
+ ],
2103
+ "page_idx": 13
2104
+ },
2105
+ {
2106
+ "type": "text",
2107
+ "text": "All noise schedules and corresponding $\\sqrt { \\bar { \\alpha } }$ are plotted in Figure 7. ",
2108
+ "bbox": [
2109
+ 173,
2110
+ 680,
2111
+ 609,
2112
+ 696
2113
+ ],
2114
+ "page_idx": 13
2115
+ },
2116
+ {
2117
+ "type": "text",
2118
+ "text": "C RESULTS FOR LJ SPEECH ",
2119
+ "text_level": 1,
2120
+ "bbox": [
2121
+ 176,
2122
+ 715,
2123
+ 421,
2124
+ 732
2125
+ ],
2126
+ "page_idx": 13
2127
+ },
2128
+ {
2129
+ "type": "text",
2130
+ "text": "We ran experiments using the LJ Speech dataset (Ito & Johnson, 2017), a publicly available dataset consisting of audiobook recordings that were segmented into utterances of up to 10 seconds. We trained on a 12,764-utterance subset (23 hours) and evaluated on a held-out 130-utterance subset, following Battenberg et al. (2020). During training, mel-spectrograms computed from ground truth audio was used as the conditioning features. We used the held-out subset for evaluating synthesized speech with ground truth features. Results are presented in Table C.1. For this dataset, larger network size is beneficial and WaveGrad also matches the performance of the autoregressive baseline. ",
2131
+ "bbox": [
2132
+ 173,
2133
+ 746,
2134
+ 825,
2135
+ 845
2136
+ ],
2137
+ "page_idx": 13
2138
+ },
2139
+ {
2140
+ "type": "text",
2141
+ "text": "D SUBJECTIVE LISTENING TEST PROTOCOL ",
2142
+ "text_level": 1,
2143
+ "bbox": [
2144
+ 174,
2145
+ 864,
2146
+ 549,
2147
+ 881
2148
+ ],
2149
+ "page_idx": 13
2150
+ },
2151
+ {
2152
+ "type": "text",
2153
+ "text": "The test set included 1,000 sentences. Subjects were asked to rate the naturalness of each stimulus after listening to it. Following previous studies, a five-point Likert scale score (1: Bad, 2: Poor, 3: ",
2154
+ "bbox": [
2155
+ 173,
2156
+ 895,
2157
+ 825,
2158
+ 924
2159
+ ],
2160
+ "page_idx": 13
2161
+ },
2162
+ {
2163
+ "type": "table",
2164
+ "img_path": "images/0f8c00031bd80aec22b4cace7f966d3501090aa8c2ca0eaab4c7c2b81a3b9cd9.jpg",
2165
+ "table_caption": [
2166
+ "Table C.1: Mean opinion scores (MOS) for LJ speech datasets. "
2167
+ ],
2168
+ "table_footnote": [],
2169
+ "table_body": "<table><tr><td>Model</td><td>MOS (↑)</td></tr><tr><td>WaveRNN</td><td>4.49 ± 0.05</td></tr><tr><td>WaveGrad</td><td></td></tr><tr><td>Large (6 iterations, continuous noise levels)</td><td>4.47 ± 0.04</td></tr><tr><td>Large (1ooo iterations,continuous noise levels)</td><td>4.55 ± 0.05</td></tr><tr><td>Base (6 iterations,continuous noise levels)</td><td>4.35 ± 0.05</td></tr><tr><td>Base (1ooo iterations,continuous noise levels)</td><td>4.40 ± 0.05</td></tr><tr><td>Ground Truth</td><td>4.55 ± 0.04</td></tr></table>",
2170
+ "bbox": [
2171
+ 276,
2172
+ 127,
2173
+ 723,
2174
+ 267
2175
+ ],
2176
+ "page_idx": 14
2177
+ },
2178
+ {
2179
+ "type": "table",
2180
+ "img_path": "images/a6e45d5d24d599e73941748f17f1fe5aec6600c97d7b6089f1d58fce20b92906.jpg",
2181
+ "table_caption": [
2182
+ "Table E.2: Reported mean opinion scores (MOS) of various models and their confidence intervals. “Linguistic” and “Mel” in the “Features” column indicate that linguistic features and melspectrogram were used as conditioning, respectively. "
2183
+ ],
2184
+ "table_footnote": [],
2185
+ "table_body": "<table><tr><td>Model</td><td>Features</td><td>Sample Rate</td><td>MOS</td></tr><tr><td>Autoregressive</td><td></td><td></td><td></td></tr><tr><td>WaveNet (Oord et al., 2016)</td><td>Linguistic</td><td>16 kHz</td><td>4.21 ± 0.08</td></tr><tr><td>WaveNet (Oord et al., 2018)</td><td>Linguistic</td><td>24 kHz</td><td>4.41 ± 0.07</td></tr><tr><td>WaveNet (Shen et al., 2018)</td><td>Mel</td><td>24 kHz</td><td>4.53 ± 0.07</td></tr><tr><td>WaveRNN (Kalchbrenner et al., 2018)</td><td>Linguistic</td><td>24 kHz</td><td>4.46 ± 0.07</td></tr><tr><td>Non-autoregressive</td><td></td><td></td><td></td></tr><tr><td>Parallel WaveNet (Oord et al., 2018)</td><td>Linguistic</td><td>24 kHz</td><td>4.41 ± 0.08</td></tr><tr><td>GAN-TTS (Binkowski et al., 2020)</td><td>Linguistic</td><td>24 kHz</td><td>4.21 ± 0.05</td></tr><tr><td>GED (Gritsenko et al., 2020)</td><td>Linguistic</td><td>24 kHz</td><td>4.25 ± 0.06</td></tr></table>",
2186
+ "bbox": [
2187
+ 210,
2188
+ 333,
2189
+ 787,
2190
+ 489
2191
+ ],
2192
+ "page_idx": 14
2193
+ },
2194
+ {
2195
+ "type": "text",
2196
+ "text": "Fair, 4: Good, 5: Excellent) was adopted with rating increments of 0.5. Each subject was allowed evaluate up to six stimuli. Test stimuli were randomly chosen and presented for each subject. Each stimulus was presented to a subject in isolation and was evaluated by one subject. The subjects were paid and native speakers of English living in United States. They were requested to use headphones in a quiet room. ",
2197
+ "bbox": [
2198
+ 173,
2199
+ 513,
2200
+ 826,
2201
+ 584
2202
+ ],
2203
+ "page_idx": 14
2204
+ },
2205
+ {
2206
+ "type": "text",
2207
+ "text": "E SUBJECTIVE SCORES REPORTED IN THE PRIOR WORK ",
2208
+ "text_level": 1,
2209
+ "bbox": [
2210
+ 174,
2211
+ 604,
2212
+ 647,
2213
+ 621
2214
+ ],
2215
+ "page_idx": 14
2216
+ },
2217
+ {
2218
+ "type": "text",
2219
+ "text": "Table E.2 shows the reported mean opinion scores of the prior work which used the same speaker. Although different papers listed here used the same female speaker, their results are not directly comparable due to differences in the training dataset, sampling rates, conditioning features, and sentences used for evaluation. ",
2220
+ "bbox": [
2221
+ 174,
2222
+ 636,
2223
+ 825,
2224
+ 691
2225
+ ],
2226
+ "page_idx": 14
2227
+ }
2228
+ ]
parse/train/NsMLjcFaO8O/NsMLjcFaO8O_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/NsMLjcFaO8O/NsMLjcFaO8O_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/OqtLIabPTit/OqtLIabPTit.md ADDED
@@ -0,0 +1,328 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # EXPLORING BALANCED FEATURE SPACES FOR REPRESENTATION LEARNING
2
+
3
+ Bingyi Kang1, Yu Li 2, Zehuan Yuan3, Jiashi Feng1 1National University of Singapore, 2Institute of Computing Technology, CAS, 3ByteDance AI Lab kang@u.nus.edu,liyu@ict.ac.cn,yuanzehuan@bytedance.com,elefjia@nus.edu.sg
4
+
5
+ # ABSTRACT
6
+
7
+ Existing self-supervised learning (SSL) methods are mostly applied for training representation models from artificially balanced datasets (e.g. ImageNet). It is unclear how well they will perform in the practical scenarios where datasets are often imbalanced w.r.t. the classes. Motivated by this question, we conduct a series of studies on the performance of self-supervised contrastive learning and supervised learning methods over multiple datasets where training instance distributions vary from a balanced one to a long-tailed one. Our findings are quite intriguing. Different from supervised methods with large performance drop, the self-supervised contrastive learning methods perform stably well even when the datasets are heavily imbalanced. This motivates us to explore the balanced feature spaces learned by contrastive learning, where the feature representations present similar linear separability w.r.t. all the classes. Our further experiments reveal that a representation model generating a balanced feature space can generalize better than that yielding an imbalanced one across multiple settings. Inspired by these insights, we develop a novel representation learning method, called $k$ -positive contrastive learning. It effectively combines strengths of the supervised method and the contrastive learning method to learn representations that are both discriminative and balanced. Extensive experiments demonstrate its superiority on multiple recognition tasks, including both long-tailed ones and normal balanced ones. Code is available at https://github.com/bingykang/BalFeat.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ Self-supervised learning (SSL) has been popularly explored as it can learn data representations without requiring manual annotations and offer attractive potential of leveraging the vast amount of unlabeled data in the wild to obtain strong representation models (Gidaris et al., 2018; Noroozi & Favaro, 2016; He et al., 2020; Chen et al., 2020a; Wu et al., 2018). For instance, some recent SSL methods (Henaff et al. ´ , 2019; Oord et al., 2018; Hjelm et al., 2018; He et al., 2020) use the unsupervised contrastive loss (Hadsell et al., 2006) to train the representation models by maximizing the instance discriminativeness, which are shown to generalize well across various downstream tasks, and even surpass the supervised learning counterparts in some cases (He et al., 2020; Chen et al., 2020a).
12
+
13
+ Despite the great success, existing SSL methods focus on learning data representations from the artificially balanced datasets (e.g. ImageNet (Deng et al., 2009)) where all the classes have similar numbers of training instances. However in reality, since the classes in natural images follow the Zipfian distribution, the datasets are usually imbalanced and show a long-tailed distribution (Zipf, 1999; Spain & Perona, 2007), i.e., some classes involving significantly fewer training instances than others. Such imbalanced datasets are very challenging for supervised learning methods to model, leading to noticeable performance drop (Wang et al., 2017; Mahajan et al., 2018; Zhong et al., 2019). Thus several interesting questions arise: How well will SSL methods perform on imbalanced datasets? Will the quality of their learned representations deteriorate as the supervised learning methods? Or can they perform stably well? Answering these questions is important for understanding the behavior of SSL in practice. But these questions remain open as no research investigations have been conducted along this direction so far.
14
+
15
+ ![](images/ea300b0baf7da51ae91634465d21ba5dea2f0cf071adea3fe5f89dab2bb7bce0.jpg)
16
+ Figure 1: Feature spaces learned with different losses given an imbalanced dataset. The supervised crossentropy (CE) learns a space biased to the dominant class. The space learned by unsupervised contrastive loss is balanced but less semantically discriminative. Our proposed $k$ -positive contrastive loss learns a balanced and discriminative feature space. The shadow area ( ) indicates the decision boundary of each class.
17
+
18
+ Our work is motivated by the above questions to study the properties of data representations learned with supervised/self-supervised methods in a practical scenario. We start with two representative losses used by these methods, i.e., the supervised cross-entropy and the unsupervised contrastive losses (Hadsell et al., 2006; Oord et al., 2018), and investigate the classification performance of their trained representation models from multiple training datasets where the instance distribution gradually varies from a balanced one to a long-tailed one. We surprisingly observe that, different from the ones learned from supervised cross-entropy loss where performance drops quickly, the representation models learned from the unsupervised contrastive loss perform stably well, no matter how much the training instance distribution is skewed to be imbalanced. Such a stark difference between the two representation learning methods drives us to explore why SSL performs so stably. We find that using the contrastive loss can obtain representation models generating a balanced feature space that has similar separability (and classification performance) for all the classes, as illustrated in Figure 1.
19
+
20
+ Such a balanced property of the feature spaces from SSL is intriguing and provides a new perspective to understand the behavior of SSL methods. We dig deeper into its benefits via a systematic study. In particular, since a pre-trained representation model is often used as initialization for downstream tasks (He et al., 2020; Newell & Deng, 2020; Henaff et al. ´ , 2019), we evaluate and compare the generalization ability of the models that produce feature spaces of different balanced levels (or ‘balancedness’). We find that a more balanced model tends to generalize better across a variety of settings, including the out-of-distribution recognition as well as the cross-domain and cross-task applications. These studies imply that feature space balancedness is an important but often neglected factor for learning high-quality representations.
21
+
22
+ Inspired by the above insights, we propose a new representation learning method, the $k$ -positive constrastive learning, which inherits the strength of constrastive learning in learning balanced feature spaces and meanwhile improves the feature spaces’ discriminative capability. Specifically, different from the contrastive learning methods lacking semantic discriminativeness, the proposed $k$ -positive constrastive method leverages the available instance semantic labels by taking $k$ instances of the same label with the anchor instance to embed semantics into the contrastive loss. As such, it can learn representations with desirable balancedness and discriminativeness (Figure 1). Extensive experiments and analyses clearly demonstrate its superiority over the supervised learning and latest contrastive learning methods (He et al., 2020) for various recognition tasks, including visual recognition in both long-tailed setting (e.g., ImageNet-LT, iNaturalist) and balanced setting.
23
+
24
+ This work makes the following important observations and contributions. (1) We present the first systematic studies on the performance of self-supervised contrastive learning on imbalanced datasets which are helpful to understanding the merits and limitations of SSL in practice. (2) Our studies reveal an intriguing property of the model trained by contrastive learning—the model can robustly learn balanced feature spaces—that has never been discussed before. (3) Our empirical analysis demonstrates that learning balanced feature spaces benefits the generalization of representation models and offer a new perspective for understanding deep model generalizability. (4) We develop a new method to explicitly pursue balanced feature spaces for representation learning and it outperforms the popular cross-entropy and contrastive losses based methods. We believe our findings and the novel $k$ -positive contrastive method are inspiring for future research on representation learning.
25
+
26
+ # 2 RELATED WORKS
27
+
28
+ Self-supervised learning is a form of unsupervised learning. Recently there has been a surge of self-supervised data representation learning methods developed to alleviate the demand for manual annotations by mining free supervision information through specifically designed loss functions and pretext tasks. The contrastive loss measures the similarities of sample pairs in a feature space and is at the core of several recent SSL methods (Chen et al., 2020a;b; He et al., 2020; Chen et al., 2020c). Adversarial losses that measure the distribution difference are also exploited for self-supervised representation learning (Donahue et al., 2016; Doersch & Zisserman, 2017). A wide range of pretext tasks have been developed including image inpainting (Jenni & Favaro, 2018; Pathak et al., 2016), image colorization (Larsson et al., 2016; 2017), context prediction (Doersch et al., 2015), jigsaw puzzles (Carlucci et al., 2019; Noroozi & Favaro, 2016; Wei et al., 2019), rotation prediction (Gidaris et al., 2018). Though very successful, the behavior of SSL largely remains a mystery. Recently Wang & Isola (2020) analyze contrastive learning from the perspective of uniformity and alignment of learned representations. However investigations on the behavior of contrastive learning on imbalanced datasets are still absent. We present the first study on this problem and our investigation methodology is also applicable to other SSL methods.
29
+
30
+ In practice, the visual data usually follow a long-tailed distribution (Zipf, 1999; Spain & Perona, 2007), challenging supervised learning methods. Due to the imbalance in the number of training instances for different classes, conventional methods tend to perform much more poorly on instancerare classes than on instance-rich ones. To alleviate this performance bias, existing approaches either re-balance the data distribution through sampling (Chawla et al., 2002; Han et al., 2005; Shen et al., 2016; Mahajan et al., 2018) or the loss for each class (Cui et al., 2019; Khan et al., 2017; Cao et al., 2019; Khan et al., 2019) by reweighting. Kang et al. (2020) first propose to decouple representation learning from classifier learning to boost performance, and demonstrate that learning good feature spaces is crucial for long-tailed recognition. Along this direction, SSP (Yang & Xu, 2020) is among the first methods that introduce SSL pretraining into learning the long-tailed recognition models. More specifically, instead of directly training a randomly initialized model from scratch as conventional supervised learning methods, SSP uses a model pretrained with SSL on the same dataset for initialization, which is observed to be able to to alleviate the label bias issue in imbalanced datasets and boost long-tailed recognition performance.
31
+
32
+ In contrast, we conduct a series of systematic studies to directly compare SSL with supervised learning on representation learning. We show that SSL can learn stably well feature spaces robust to the underlying distribution of a dataset. Moreover, inspired by our findings on the benefits of a balanced feature space for generalization, we introduce the $k$ -positive contrastive learning method to explicitly pursue balancedness and discriminativeness for representation learning, which has been shown through experiments to benefit not only long-tailed recognition but also normal recognition tasks.
33
+
34
+ # 3 BALANCED FEATURE SPACES FROM CONTRASTIVE LEARNING
35
+
36
+ In this section, we systematically study the performance of representation models trained by SSL from a collection of training datasets with varying instance number distributions, in contrast with the models learned by supervised learning methods, to explore how SSL performs when the training datasets are not artificially balanced. Furthermore, we investigate the generalization performance of these learned representation models under multiple settings, in order to explore the relationship between the representation model’s generalizability and the property of its learned feature space.
37
+
38
+ Notations We define the notations used in this paper. Representation learning aims to obtain a representation model $f _ { \theta }$ that maps a sample $x _ { i }$ into a feature space $V$ such that its corresponding representation $v _ { i } \in V$ encapsulates desired features for target applications. Let ${ \mathcal { D } } _ { \mathrm { r e p - t r a i n } } = { \bar { \{ } x _ { i } , y _ { i } \} } { \bar { } }$ , $i = 1 , \ldots , N$ be the dataset for training the representation model, where $y _ { i }$ is the class label for sample $x _ { i }$ . Let $C$ denote the number of total classes and $n _ { j }$ denote the number of instances within class $j$ . We use $\{ q _ { 1 } , \dots , q _ { C } \}$ with $q _ { j } = n _ { j } / N$ to denote the discrete instance distribution over the $C$ classes. An imbalanced dataset has significant difference in the class instance numbers, e.g., $q _ { 1 } \gg q _ { C }$ . We use a multi-layer convolutional neural network $f _ { \theta } ( \cdot ) ~ : ~ x _ { i } \mapsto v _ { i }$ to implement the representation model. The final classification prediction $\hat { y }$ is given by a linear classifier $\hat { y } =$ arg max $[ W ^ { \top } { \boldsymbol { v } } + b ]$ , where $W$ denotes the classifier weight matrix and $b$ denotes the bias term.
39
+
40
+ # 3.1 METHODOLOGY OF OUR STUDY
41
+
42
+ Representation learning methods Various loss functions have been developed for learning the representation model $f _ { \theta }$ on the training dataset. Among them, the most popular one is the supervised cross-entropy (CE) loss:
43
+
44
+ $$
45
+ \mathcal { L } _ { \mathrm { C E } } = \frac { 1 } { N } \sum _ { i = 1 } ^ { N } - \log p _ { y _ { i } } ,
46
+ $$
47
+
48
+ where $p _ { y _ { i } } = \mathrm { s o f t m a x } ( W _ { y _ { i } } ^ { \top } v _ { i } + b )$ is the normalized probability prediction of sample $i$ belonging to its ground truth class $y _ { i }$ . Using the semantic labels directly as supervision signal $y _ { i }$ in Equation 1), the representation model trained by the CE loss can have strong semantic discrimination ability but its generated feature space is easily biased by the imbalance of the training instance distribution—if some classes have significantly more training instances than the others, their data representations will occupy dominant portion of the feature space (Figure 1) and get higher classification accuracy than the instance-rare classes (Kang et al., 2020; Wang et al., 2017).
49
+
50
+ Different from the supervised learning ones, self-supervised learning methods adopt semantic-free loss functions to learn representations from unlabeled data (He et al., 2020; Gidaris et al., 2018). For example, the contrastive loss1 (CL) (Oord et al., 2018) learns representations via maximizing the instance-wise discriminativeness:
51
+
52
+ $$
53
+ \mathcal { L } _ { \mathrm { C L } } = \frac { 1 } { N } \sum _ { i = 1 } ^ { N } - \log \frac { \exp ( v _ { i } \cdot v _ { i } ^ { + } / \tau ) } { \exp ( v _ { i } \cdot v _ { i } ^ { + } / \tau ) + \sum _ { v _ { i } ^ { - } \in V ^ { - } } \exp ( v _ { i } \cdot v _ { i } ^ { - } / \tau ) } ,
54
+ $$
55
+
56
+ where $\tau$ is a temperature hyper-parameter, $v _ { i } ^ { + }$ is a positive sample for the anchor instance $i$ (typically produced by data augmentation), $v _ { i } ^ { - } \in V ^ { - }$ is the negative sample randomly drawn from the training samples excluding instance $i$ . This contrastive loss encourages the feature representations from positive pairs to be similar, while pushing features from the sampled negative pairs apart.
57
+
58
+ We take the two loss functions $\mathcal { L } _ { \mathrm { C E } }$ and ${ \mathcal { L } } _ { \mathrm { C L } }$ ) as representatives to study how the representation models (and the corresponding feature spaces) trained with supervised/self-supervised methods are affected by the training instance distribution $\{ q _ { 1 } , \dots , q _ { C } \}$ .
59
+
60
+ Balancedness of feature spaces Since semantic labels are not involved in the contrastive loss (Equation 2), we hypothesize it may lead to representation models yielding feature spaces that are less biased by the imbalance of the training dataset, compared with the ones from the supervised loss (Equation 1). To verify this, we introduce a metric to characterize such an “unbiased” or “balanced” property of a feature space at first. A feature space $V$ is balanced if the representations $\{ v _ { i } \}$ from different classes within it have similar degrees of linear separability. As the linear separability degree of the representations is usually evaluated by the accuracy of a linear classifier over them (Vapnik, 2013), we follow this criterion to develop the balancedness metric. Specifically, let $a _ { 1 } , \dots , a _ { C }$ denote the classification accuracy of a linear classifier $( W , b )$ over the representations $\{ v _ { i } \} \subset V$ from $C$ classes. We take the following uniformity of these accuracies as the balancedness of the feature space $V$ :
61
+
62
+ $$
63
+ \beta ( V ) \triangleq \frac { 1 } { C ^ { 2 } } \sum _ { i , j } ^ { C } \exp \left( - \frac { | a _ { i } - a _ { j } | ^ { 2 } } { \sigma } \right) , \mathrm { ~ w h e r e ~ } a _ { j } = \frac { \# \{ v _ { i } | \hat { y } _ { i } = j , y _ { i } = j , v _ { i } \in V \} } { \# \{ v _ { i } | y _ { i } = j , v _ { i } \in V \} } .
64
+ $$
65
+
66
+ Here $\sigma$ is a fixed scaling parameter. This metric achieves its maximum when all the class-wise accuracies are equal, i.e., there being no separability bias of the learned representations to any class. Note that this metric is developed to provide a quantitative measure of the balancedness of a feature space, but it has certain limitations such as it can be easily hacked. We leave developing more rigorous metric that can better characterize balanced feature spaces as future work.
67
+
68
+ ![](images/07b846be13f5398f43db4a64d0e42b809b19f8c1c70fddba3ec2d0c37c9a4590.jpg)
69
+ Figure 2: Classification accuracy (left) and balancedness (right) of the representations learned from cross-entropy (CE) loss and contrastive loss (CL) on datasets (LT0 to LT) with increasing imbalance.
70
+
71
+ ![](images/ff82914b3e2abe8d7b132f2b893f13333b1283de6273327e245915e08af39c7d.jpg)
72
+ Figure 3: Out-of-distribution generalization on ImageNet. Top 1 and Top 5 testing accuracy of the model are learned from datasets LT0 to LT that are increasingly more imbalanced.
73
+
74
+ Experimental protocol We adopt a multi-stage protocol for learning and evaluating the feature spaces. (1) Representation learning: pre-train the representation model $f _ { \theta }$ on the provided training set ${ \mathcal { D } } _ { \mathrm { r e p - t r a i n } }$ using the above training losses $\mathcal { L } _ { \mathrm { C E } }$ and ${ \mathcal { L } } _ { \mathrm { C L } }$ ; (2) Classifier learning: train a linear classifier $( W , b )$ on top of $f _ { \theta }$ with $\theta$ fixed using another training dataset $\mathcal { D } _ { \mathrm { t r a i n } } { } ^ { 2 }$ and the supervised CE loss; (3) Representation evaluation: evaluate the classification accuracy of the learned classifier on the test dataset $\mathcal { D } _ { \mathrm { t e s t } }$ with the representations from $f _ { \theta }$ and compute the above balancedness $\beta ( V )$ .
75
+
76
+ To thoroughly investigate sensitiveness of different representation learning methods to the imbalance level of training datasets, we construct six datasets from the long-tailed benchmark ImageNetLT (Liu et al., 2019) $( \mathcal { D } _ { \mathrm { L T } } )$ by varying its instance distribution $\{ q _ { 1 } , \dots , q _ { C } \}$ from a long-tailed one to a uniform one gradually, while keeping the total instance number similar. The generated datasets, denoted as $\mathcal { D } _ { \mathrm { L T 0 } } , \dots , \mathcal { D } _ { \mathrm { L T 8 } } , \mathcal { D } _ { \mathrm { L T } }$ (which are increasingly more imbalanced), are used as $\mathscr { D } _ { \mathrm { r e p - t r a i n } }$ for representation learning in the following experiments. See appendix for their details.
77
+
78
+ # 3.2 CONTRASTIVE LOSS HELPS LEARN BALANCED FEATURE SPACES
79
+
80
+ We first investigate classification performance of the representation models trained with the CE and CL losses on the above six datasets $\mathcal { D } _ { \mathrm { L T 0 } } , \dots , \mathcal { D } _ { \mathrm { L T 8 } } , \mathcal { D } _ { \mathrm { L T } }$ that are increasingly more imbalanced. Since linear classifiers are easily biased by skewed training dataset distribution (Kang et al., 2020), it is necessary to eliminate the imblancedness of the evaluation datasets for reliable representation evaluation. Thus, we use the (balanced) training and test sets of ImageNet as $\mathcal { D } _ { \mathrm { t r a i n } }$ and $\mathcal { D } _ { \mathrm { t e s t } }$ to learn classifiers and evaluate their classification accuracy, following the above protocol.
81
+
82
+ The results are summarized in Figure 2, from which we make an important observation: compared with the supervised cross-entropy loss, the model trained with the unsupervised contrastive loss generates a more balanced feature space, even in presence of highly imbalanced training instance distribution. As shown in Figure 2 (left), the classification accuracy of representation models learned with the CE loss drops quickly when the dataset becomes more imbalanced—the quality of representations from these models is very sensitive to the imbalance of training datasets. In contrast, the classification accuracy of CL-trained models remains stable even when the training dataset transits to a heavily long-tailed one. Such surprising performance robustness to imbalance of the training datasets implies that using contrastive learning can consistently learn balanced feature spaces. To see this, we also visualize the balancedness scores (Equation 3) of the learned feature spaces from CE and CL in Figure 2 (right). Even when the training set is heavily long-tailed, the feature spaces learned with CL loss are as highly balanced as the ones learned from a uniform training distribution, while the blancedness score of the feature spaces from CE loss is lower and drops quickly. Such a balanced feature space offered by CL loss is much desired for the representation learning in practice, where the training instance distribution is usually long-tailed. Certainly, using an unsupervised loss will sacrifice semantic discriminativeness of the representations, leading to the accuracy gap between the CE and CL-trained models.
83
+
84
+ # 3.3 MORE BALANCED REPRESENTATION MODELS GENERALIZE BETTER
85
+
86
+ The above studies reveal that the representation models trained with the contrastive loss can produce more balanced feature spaces. A natural question is what are the benefits from a balanced model for recognition? Since a pre-trained representation model is often used to facilitate downstream tasks (He et al., 2020; Newell & Deng, 2020; Henaff et al. ´ , 2019), we here conduct extensive experiments to study its potential benefits on model generalization performance under the following settings.
87
+
88
+ Table 1: Results on Places365, VOC and COCO. $\mathrm { A P } _ { 5 0 }$ is the default metric for VOC, while $\mathsf { A P } ^ { \mathrm { b b } }$ and $\mathbf { A P } ^ { \mathrm { m k } }$ denote the bounding-box and mask AP for COCO respectively. Black / gray numbers correspond to results of the representation models trained on ImageNet-LT / ImageNet respectively. See appendix for complete results.
89
+
90
+ <table><tr><td></td><td>cross-domain</td><td colspan="3">cross-task</td></tr><tr><td></td><td>Places365 (Top1)</td><td>VOC (AP50)</td><td>COCO (APbb)</td><td>COCO (APmk)</td></tr><tr><td>CE</td><td>38.50 /46.06</td><td>76.45 / 81.26</td><td>38.13 /40.08</td><td>33.29 /34.85</td></tr><tr><td>CL</td><td>41.24 /46.16</td><td>78.19 /82.28</td><td>39.67 /40.41</td><td>34.73 /35.14</td></tr><tr><td>△CL.CE</td><td>+2.74 / +0.10</td><td>+1.64 / +0.02</td><td>+1.54 / +0.33</td><td>+1.44 / +0.29</td></tr></table>
91
+
92
+ Out-of-distribution generalization We first study the relationship between the balancedness of representation models and their generalizability for recognizing new classes. To thoroughly evaluate performance of representation models with different balancedness, we evenly divide the 1,000 classes into two splits (500 vs. 500 classes) on ImageNet, referred to as the source and target split respectively. We use the subsets (corresponding to the source class split) of the above $\mathcal { D } _ { \mathrm { L T 0 } } , \dots , \mathcal { D } _ { \mathrm { L T 8 } } , \mathcal { D } _ { \mathrm { L T } }$ datasets to construct six different $\mathscr { D } _ { \mathrm { r e p - t r a i n } }$ for training the representation model $f _ { \theta }$ . To obtain models with different balancedness, we use the CE loss for training, since the above studies reveal using the CL loss will always produce models with similar balancedness (Figure 2). We use the subsets (corresponding to the target class split) of the training and test sets of ImageNet as $\mathcal { D } _ { \mathrm { t r a i n } }$ and $\mathcal { D } _ { \mathrm { t e s t } }$ for classifier learning and evaluation, with the representation model fixed.
93
+
94
+ The testing performance of the models with different balancedness on the target classes is presented in Figure 3. It is observed that as the source dataset becomes increasingly more imbalanced (from $\mathcal { D } _ { \mathrm { { L T 0 } } }$ to $\mathcal { D } _ { \mathrm { { L T } } } ,$ ) and the corresponding models become more imbalanced, their generalization performance degrades correspondingly. Such a positive correlation between balancedness of the models and testing accuracy on the target classes clearly demonstrate that more balanced representation models tend to generalize better for recognizing unseen classes. More details and results about the out-of-distribution generalization studies are deferred to the appendix.
95
+
96
+ Cross-domain and cross-task generalization We then explore whether learning balanced representation models is able to benefit model’s generalizability to new domains and tasks. We use the ImageNet-LT as $\mathscr { D } _ { \mathrm { r e p - t r a i n } }$ to train the models with the CE and CL losses, obtaining imbalanced and balanced representation models respectively. For the cross-domain setting, we train a linear classifier on the Places365 dataset (Zhou et al., 2017) with the representation model fixed. From the results in Table 1, it can be clearly observed that the balanced representation model (from CL) surpasses the less balanced one (from CE) significantly, in terms of the top-1 accuracy (by $2 . 7 4 \%$ ). For the crosstask setting, we take train/test splits of the PASCAL VOC (Everingham et al., 2010) and COCO (Lin et al., 2014) datasets as $\mathcal { D } _ { \mathrm { t r a i n } } / \mathcal { D } _ { \mathrm { t e s t } }$ for evaluating detection performance. The results are given in Table 1. Again, the balanced model (from the CL loss) outperforms the less balanced one (from the CE loss) significantly (up to $1 . 6 4 \%$ ). In comparison, the improvement from the CL-trained model over the CE-trained model is moderate (around $0 . 3 \%$ ) when using the full ImageNet for training, as CE can learn a relatively balanced feature space from a balanced dataset. This clearly shows that the generalization performance boost for the cross-domain and cross-task settings brought from CL-trained models does not simply stem from using self-supervised pre-training, but indeed come from learning more balanced feature spaces.
97
+
98
+ # 4 LEARNING BALANCED FEATURE SPACES FOR RECOGNITION
99
+
100
+ The above studies demonstrate the representation models trained with the contrastive loss can generate balanced feature spaces showing strong generalizability. Here we explore how to effectively leverage these findings in practice. We introduce a new method that inherits the strength of the contrastive loss in learning balanced feature spaces and enhances the feature spaces’ semantic discrimination capability simultaneously. We thoroughly study its superiority via two application cases, i.e., the long-tailed recognition and pre-training representation models for downstream tasks.
101
+
102
+ # 4.1 K-POSITIVE CONSTRASTIVE LOSS
103
+
104
+ Though balanced, the feature spaces from contrastive learning have limited capability of semantic discrimination, as shown in Figure 2 (left). This is because the contrastive loss blindly encourages instance-level discrimiantiveness. Every two instances, even if they are from the same class, are forced to be apart from each other in the learned feature space. To embed semantic discriminativeness into the representations while maintaining desired balancedness, we develop a new method to leverage the provided semantic labels to adaptively compute the instance contrastive loss.
105
+
106
+ Concretely, given an anchor training instance $x _ { i }$ with its semantic label $y _ { i }$ , our proposed method draws $k$ instances from the same class to form the positive sample set $V _ { i , k } ^ { + }$ , instead of only using its augmentation as in Equation 2. Thus, it gives a new loss called $k$ -positive contrastive loss (KCL):
107
+
108
+ $$
109
+ \mathcal { L } _ { \mathrm { K C L } } = \frac { 1 } { N ( k + 1 ) } \sum _ { i = 1 } ^ { N } \sum _ { \substack { v _ { i } ^ { + } \in \{ \tilde { v } _ { i } \} \cup V _ { i , k } ^ { + } } } - \log \frac { \exp ( v _ { i } \cdot v _ { j } ^ { + } / \tau ) } { \exp ( v _ { i } \cdot \tilde { v } _ { i } / \tau ) + \sum _ { v _ { j } \in V _ { i } } \exp ( v _ { i } \cdot v _ { j } / \tau ) } ,
110
+ $$
111
+
112
+ where $\tilde { v } _ { i }$ is generated by augmenting $v _ { i }$ , $V _ { i }$ is the current batch of examples excluding $v _ { i }$ , and $V _ { i , k } ^ { + } \subset V _ { i }$ is a positive set containing $k$ instances randomly drawn from the same class as $v _ { i }$ . The proposed KCL loss purposely keeps the number of positive instances equal, which is crucial for balancing the learned feature spaces. It brings two benefits. First, it helps learn representations with stronger discriminative ability as it leverages the label information as supervised learning. Secondly, it uses the same number of instances $( i . e . , k )$ for all the classes in positive pair construction which further balances the learned feature space. Note our proposed KCL is different from the supervised contrastive learning (Khosla et al., 2020) that leverages all the instances from the same class to construct the positive pairs, which cannot avoid the dominance of instance-rich classes in the representation learning. This is also evidenced by our following experiments on long-tailed recognition. In the following experiments, we choose $k = 6$ via validation and use ResNet50 as the backbone. Other hyper-parameter choices and implementation details are given in the appendix.
113
+
114
+ # 4.2 LONG-TAILED RECOGNITION
115
+
116
+ KCL provides feature spaces with desirable balancedness and semantic discriminativeness, which makes it naturally fit for addressing the challenges of long-tailed recognition, i.e., severe performance bias to the instance-rich classes and poor generalization to the instance-rare classes (Mahajan et al., 2018; Zhong et al., 2019). Here we implement and evaluate KCL for long-tailed recognition, following the two-stage training strategy from Kang et al. (2020): 1) train the representation model with the KCL loss; 2) learn a linear classifier with cross-entropy loss and class-balanced sampling.
117
+
118
+ Baselines Besides well established state-of-the-arts, we consider following three kinds of baselines for justifying the advantages of KCL. (1) Classifier balancing methods, i.e., $\tau { \cdot }$ -norm and cRT (Kang et al., 2020), that re-train classifiers with class-balanced sampling as KCL but learn the representation models by supervised cross-entropy loss. Comparison with them helps understand the effectiveness of learning balanced features in long-tailed recognition. (2) Methods that train the representation model and classifier jointly with cross-entropy loss (SL) and various data re-sampling strategies, including instance-balanced (SL-i), class-balanced (SL-c), progressively-balanced (SL-p) and square-root re-sampling (SL-s) (Kang et al., 2020). Comparison with them will show advantages of KCL over these data-enriching strategies in feature space balancing. (3) A full-positive variant of $K C L$ , named full-positive contrastive learning (FCL), that uses all the available same-class samples in the current batch to construct positive pairs for computing the contrastive loss, which is similar to the supervised contrastive learning (Khosla et al., 2020). Comparing KCL with FCL will show the benefits of keeping the number of positive samples equal for all the anchor instances in KCL.
119
+
120
+ Results We evaluate KCL and compare it with the above strong baselines on two large-scale benchmark datasets, ImageNet-LT (Liu et al., 2019) and iNaturalist 2018 (iNatrualist, 2018). For comprehensive evaluation, following (Liu et al., 2019), we split the classes of ImageNet-LT into many-shot $\mathord { \left. \begin{array} { r l } \end{array} \right. } > 1 0 0$ images), medium-shot $2 0 \mathrm { \sim } 1 0 0$ images) and few-shot ${ < } 2 0$ images) groups. The results are summarized in Tables 2 and 3 respectively, along with the balancedness of these methods on ImageNet-LT in Figure 4. We make the following observations.
121
+
122
+ More balanced feature spaces give better performance. We first compare KCL with cRT and $\tau$ norm, the latest state-of-the-arts with feature spaces learned by supervised cross-entropy loss and
123
+
124
+ Table 2: ImageNet-LT results
125
+
126
+ <table><tr><td>Method</td><td>Many</td><td>Medium</td><td>Few</td><td>All</td></tr><tr><td>OLTR (Liu et al., 2019)a</td><td>35.8</td><td>32.3</td><td>21.5</td><td>32.2</td></tr><tr><td>Joint (SL-i) (Kang et al., 2020)</td><td>64.9</td><td>35.2</td><td>6.8</td><td>42.5</td></tr><tr><td>T-norm (Kang et al.,2020)</td><td>56.6</td><td>44.2</td><td>27.4</td><td>46.7</td></tr><tr><td>cRT (Kang et al.,2020)</td><td>58.8</td><td>44.0</td><td>26.1</td><td>47.3</td></tr><tr><td>FCL</td><td>61.4</td><td>47.0</td><td>28.2</td><td>49.8</td></tr><tr><td>KCL</td><td>61.8</td><td>49.4</td><td>30.9</td><td>51.5</td></tr></table>
127
+
128
+ aReproduced by re-running their code with ResNet50.
129
+
130
+ Table 3: iNaturalist 2018 results
131
+
132
+ <table><tr><td>Method</td><td>Top1</td></tr><tr><td>CB-Focal (Cui et al.,2019)</td><td>61.1</td></tr><tr><td>LDAM (Cao et al., 2019) LDAM+DRW (Cao et al., 2019)</td><td>64.6</td></tr><tr><td>cRT (Kang et al., 2020)</td><td>68.0</td></tr><tr><td>T-norm 1 (Kang et al.,2020)</td><td>65.2</td></tr><tr><td>BBN (Zhou et al., 2020)</td><td>65.6 66.3</td></tr><tr><td>FCL</td><td>66.4</td></tr><tr><td>KCL</td><td>68.6</td></tr></table>
133
+
134
+ ![](images/0dfc211be8cb763d9cd6ec5aab1fa36600a718949cd3062426ed85ba5eca4ed9.jpg)
135
+ Figure 4: Comparison of different methods on their feature space balancedness (left) and class-wise accuracy (right). Here the linear classifier is fine-tuned on the full ImageNet for representation evaluation (see Sec. 3.2).
136
+
137
+ thus less balanced as demonstrated in Sec. 3. Compared with them, KCL improves the overall accuracy by a large margin $4 . 2 \%$ on ImageNet-LT and $3 \%$ on iNaturalist), demonstrating the importance of learning more balanced feature spaces for long-tailed recognition.
138
+
139
+ KCL is more effective at learning balanced and discriminative feature spaces. Data re-sampling is widely used as a straightforward approach to alleviate performance bias for long-tailed recognition (Kang et al., 2020). We compare the feature space balancedness of KCL and SL methods with different data re-sampling strategies on ImageNet-LT in Figure 4. Clearly, data re-sampling cannot effectively improve balancedness of the feature space as KCL. Besides data re-sampling, Figure 4 also shows the balancedness of the feature spaces learned by the latest contrastive learning method MoCo (He et al., 2020) on ImageNet-LT. MoCo can balance the feature space but has lower accuracy, due to the lack of semantic discriminativeness in the learned feature space. KCL performs the best, demonstrating its effectiveness at learning both balanced and discriminative feature spaces.
140
+
141
+ Equalizing the number of positive instances in KCL is important. To further justify the design of KCL loss in keeping the number of positive instances to be equal, we compare it with its variant FCL. From Tables 2, 3 and Figure 4, though FCL outperforms other baselines, its performance is inferior to KCL, in terms of both the overall accuracy and the balancedness of the learned feature spaces. Equalizing the number of positive instances as KCL is crucial for learning balanced feature spaces and improving recognition performance.
142
+
143
+ # 4.3 PRE-TRAINING REPRESENTATION MODELS FOR DOWNSTREAM TASKS
144
+
145
+ The effectiveness of KCL is not limited to the cases where training datasets are imbalanced. In this section, we study KCL as a general representation learning method, i.e., we apply KCL for pretraining a representation model on balanced datasets which is later fine-tuned for downstream tasks, including the out-of-distribution (OOD) recognition and detection.
146
+
147
+ Out-of-distribution Generalization Similar to Sec.3.3, we evenly divide the 1000 classes in ImageNet into two splits, use one split to learning representation backbone and the thoer one to learn a linear classifier with the backbone fixed. We adopt two different splitting strategies. Split-overlap (split with semantic overlap) allows the classes within the two splits to share the same super class (e.g., dog and wolf from canidae are put into different splits) in the ImageNet ontology. As such, though the target classes are all novel to the representation model, some of their attributes have been seen by the model before from the source classes. In contrast, Split-independent (split without semantic overlap) strictly avoids classes from the same super classes to be distributed into different splits. Split-independent presents a more challenging case for model’s generalization ability as all the target classes (and attributes) to recognize are novel.
148
+
149
+ Table 4: OOD generalization results (top-1 accuracy) on balanced datasets. We use the source classes of origninal ImageNet to learn representation network (ResNet50), and use the target classes and all classes respectively to learn linear classifiers for evaluation.
150
+
151
+ <table><tr><td></td><td colspan="3">Split-overlap</td><td colspan="3">Split-independent</td></tr><tr><td></td><td>source</td><td>target</td><td>all</td><td>source</td><td>target</td><td>all</td></tr><tr><td>CE</td><td>81.2</td><td>70.7</td><td>67.2</td><td>82.8</td><td>50.3</td><td>62.4</td></tr><tr><td>CL</td><td>67.0</td><td>60.1</td><td>58.3</td><td>68.2</td><td>54.8</td><td>58.2</td></tr><tr><td>KCL</td><td>81.4</td><td>74.8 (+4.1)</td><td>70.8 (+3.6)</td><td>83.2</td><td>58.1 (+3.3)</td><td>67.2 (+4.8)</td></tr></table>
152
+
153
+ The generalization performance comparsion of the representation models with different methods is given in Table 4. When the source classes and target classes share similar semantics (on splitoverlap), the CE-trained model surpasses the CL-trained model on both the source and target classes. But when looking into the generalization gap (i.e., the difference between the source and target accuracy), the CL-trained model suffers larger generalization gap than the CL-trained model (10.5 vs. 1.8). When there is not semantic overlap between source and target (on split-independent), the CL-model outperforms CE-model on the target classes by $4 . 3 \%$ with much smaller generalization gap (13.4 v.s. 32.5). By comparing the “full” performance from split-overlap to split-independent, one can observe that CL loss performs consistently well (58.3 and 58.2), but CE drops as large as $5 \%$ . This implies that CL is robust to imbalanced training distribution used for representation learning, while CE is extremely sensitive to it. These results clearly demonstrate the consistent superiority of balanced representation learning in terms of generalization for various training dataset distribution. Notably, our proposed KCL loss surpasses both CE and CL loss on all the four different settings by a large margin (more than 3 points). These results clearly demonstrate that KCL is able to learn a balanced and discriminative feature space, and balancedness is a general property that benefits both balanced and imbalanced datasets.
154
+
155
+ Table 5: Comparison of different representation learning methods for the downstream tasks.
156
+
157
+ <table><tr><td></td><td>repr</td><td>VOC (AP50)</td><td>COCO (APbb)</td><td>COCO (APmk)</td></tr><tr><td>SL</td><td>76.6</td><td>81.26</td><td>40.08</td><td>34.85</td></tr><tr><td>MoCo</td><td>60.6</td><td>81.28</td><td>40.41</td><td>35.15</td></tr><tr><td>KCL</td><td>76.8</td><td>82.32</td><td>40.79</td><td>35.45</td></tr></table>
158
+
159
+ Cross-domain and cross-task generalization In this part, we first pretrain a model on ImageNet then further finetune it for downstream object detaction tasks (including PASCAL VOC and COCO). Note we aim to study the generalizability of KCL as a representation learning method, rather than aiming at state-of-the-art performance. Hence we compare it with the vanilla supervised crossentropy loss (SL) and MoCo (which the KCL is built on) (He et al., 2020). The results are summarized in Table 5. We also evaluate the discrminativeness of the learned representations (the “repr” in the table) from their classification accuracy by learning a linear classifier on the pretraining datasets. Clearly, KCL outperforms SL and MoCo for both downstream tasks. This is because KCL learns more balanced feature spaces than SL with similar discriminativeness, and learns more discriminative features than MoCo. For more results, Please refer to the appendix .
160
+
161
+ # 5 CONCLUSIONS
162
+
163
+ This work piloted studies on performance of the self-supervised learning methods for imbalanced datasets, and made several intriguing findings. At the heart of these findings is the balanced feature space, which is identified to be an inherent property of the representations learned by the contrastive learning and bring stronger generalizability. It provides a new perspective for understanding the behavior of the contrastive learning. This work further developed a new representation learning method to leverage the benefits of balanced feature spaces. We believe the findings and method developed here are inspiring for the future research on representation learning. However, theoretical understandings on balanced feature spaces are not mature yet and worthy of future exploration.
164
+
165
+ # ACKNOWLEDGEMENT
166
+
167
+ We would like to express our deepest gratitude to Saining Xie for his comments and suggestions throughout this project and the writing of the paper, to Yu Sun for his insightful discussion at the begining of this project.
168
+
169
+ # REFERENCES
170
+
171
+ Kaidi Cao, Colin Wei, Adrien Gaidon, Nikos Arechiga, and Tengyu Ma. Learning imbalanced datasets with label-distribution-aware margin loss. In Advances in Neural Information Processing Systems, 2019.
172
+
173
+ Fabio M Carlucci, Antonio D’Innocente, Silvia Bucci, Barbara Caputo, and Tatiana Tommasi. Domain generalization by solving jigsaw puzzles. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2229–2238, 2019.
174
+
175
+ Nitesh V Chawla, Kevin W Bowyer, Lawrence O Hall, and W Philip Kegelmeyer. Smote: synthetic minority over-sampling technique. Journal of artificial intelligence research, 16:321–357, 2002.
176
+
177
+ Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. arXiv preprint arXiv:2002.05709, 2020a.
178
+
179
+ Ting Chen, Simon Kornblith, Kevin Swersky, Mohammad Norouzi, and Geoffrey Hinton. Big selfsupervised models are strong semi-supervised learners. arXiv preprint arXiv:2006.10029, 2020b.
180
+
181
+ Xinlei Chen, Haoqi Fan, Ross Girshick, and Kaiming He. Improved baselines with momentum contrastive learning. arXiv preprint arXiv:2003.04297, 2020c.
182
+
183
+ Yin Cui, Menglin Jia, Tsung-Yi Lin, Yang Song, and Serge Belongie. Class-balanced loss based on effective number of samples. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 9268–9277, 2019.
184
+
185
+ Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pp. 248–255. Ieee, 2009.
186
+
187
+ Carl Doersch and Andrew Zisserman. Multi-task self-supervised visual learning. In Proceedings of the IEEE International Conference on Computer Vision, pp. 2051–2060, 2017.
188
+
189
+ Carl Doersch, Abhinav Gupta, and Alexei A Efros. Unsupervised visual representation learning by context prediction. In Proceedings of the IEEE international conference on computer vision, pp. 1422–1430, 2015.
190
+
191
+ Jeff Donahue, Philipp Krahenb ¨ uhl, and Trevor Darrell. Adversarial feature learning. ¨ arXiv preprint arXiv:1605.09782, 2016.
192
+
193
+ Mark Everingham, Luc Van Gool, Christopher KI Williams, John Winn, and Andrew Zisserman. The pascal visual object classes (voc) challenge. International journal of computer vision, 88(2): 303–338, 2010.
194
+
195
+ Spyros Gidaris, Praveer Singh, and Nikos Komodakis. Unsupervised representation learning by predicting image rotations. arXiv preprint arXiv:1803.07728, 2018.
196
+
197
+ Raia Hadsell, Sumit Chopra, and Yann LeCun. Dimensionality reduction by learning an invariant mapping. In 2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’06), volume 2, pp. 1735–1742. IEEE, 2006.
198
+
199
+ Hui Han, Wen-Yuan Wang, and Bing-Huan Mao. Borderline-smote: a new over-sampling method in imbalanced data sets learning. In International conference on intelligent computing, pp. 878–887. Springer, 2005.
200
+
201
+ Kaiming He, Georgia Gkioxari, Piotr Dollar, and Ross Girshick. Mask r-cnn. In ´ Proceedings of the IEEE international conference on computer vision, pp. 2961–2969, 2017.
202
+
203
+ Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross Girshick. Momentum contrast for unsupervised visual representation learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 9729–9738, 2020.
204
+
205
+ Olivier J Henaff, Aravind Srinivas, Jeffrey De Fauw, Ali Razavi, Carl Doersch, SM Eslami, and ´ Aaron van den Oord. Data-efficient image recognition with contrastive predictive coding. arXiv preprint arXiv:1905.09272, 2019.
206
+
207
+ R Devon Hjelm, Alex Fedorov, Samuel Lavoie-Marchildon, Karan Grewal, Phil Bachman, Adam Trischler, and Yoshua Bengio. Learning deep representations by mutual information estimation and maximization. arXiv preprint arXiv:1808.06670, 2018.
208
+
209
+ iNatrualist. The inaturalist 2018 competition dataset. https://github.com/visipedia/inat comp/tree/master/2018, 2018.
210
+
211
+ Simon Jenni and Paolo Favaro. Self-supervised feature learning by learning to spot artifacts. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2733– 2742, 2018.
212
+
213
+ Bingyi Kang, Saining Xie, Marcus Rohrbach, Zhicheng Yan, Albert Gordo, Jiashi Feng, and Yannis Kalantidis. Decoupling representation and classifier for long-tailed recognition. In International Conference on Learning Representations, 2020.
214
+
215
+ Salman Khan, Munawar Hayat, Syed Waqas Zamir, Jianbing Shen, and Ling Shao. Striking the right balance with uncertainty. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 2019.
216
+
217
+ Salman H Khan, Munawar Hayat, Mohammed Bennamoun, Ferdous A Sohel, and Roberto Togneri. Cost-sensitive learning of deep feature representations from imbalanced data. IEEE transactions on neural networks and learning systems, 29(8):3573–3587, 2017.
218
+
219
+ Prannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna, Yonglong Tian, Phillip Isola, Aaron Maschinot, Ce Liu, and Dilip Krishnan. Supervised contrastive learning. arXiv preprint arXiv:2004.11362, 2020.
220
+
221
+ Gustav Larsson, Michael Maire, and Gregory Shakhnarovich. Learning representations for automatic colorization. In European conference on computer vision, pp. 577–593. Springer, 2016.
222
+
223
+ Gustav Larsson, Michael Maire, and Gregory Shakhnarovich. Colorization as a proxy task for visual understanding. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 6874–6883, 2017.
224
+
225
+ Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollar, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In ´ European conference on computer vision, pp. 740–755. Springer, 2014.
226
+
227
+ Ziwei Liu, Zhongqi Miao, Xiaohang Zhan, Jiayun Wang, Boqing Gong, and Stella X Yu. Large-scale long-tailed recognition in an open world. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2537–2546, 2019.
228
+
229
+ Dhruv Mahajan, Ross Girshick, Vignesh Ramanathan, Kaiming He, Manohar Paluri, Yixuan Li, Ashwin Bharambe, and Laurens van der Maaten. Exploring the limits of weakly supervised pretraining. In Proceedings of the European Conference on Computer Vision (ECCV), pp. 181– 196, 2018.
230
+
231
+ Alejandro Newell and Jia Deng. How useful is self-supervised pretraining for visual tasks? In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 7345– 7354, 2020.
232
+
233
+ Mehdi Noroozi and Paolo Favaro. Unsupervised learning of visual representations by solving jigsaw puzzles. In European Conference on Computer Vision, pp. 69–84. Springer, 2016.
234
+
235
+ Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018.
236
+
237
+ Deepak Pathak, Philipp Krahenbuhl, Jeff Donahue, Trevor Darrell, and Alexei A Efros. Context encoders: Feature learning by inpainting. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 2536–2544, 2016.
238
+
239
+ Shaoqing Ren, Kaiming He, Ross Girshick, and Jian Sun. Faster r-cnn: Towards real-time object detection with region proposal networks. In Advances in neural information processing systems, pp. 91–99, 2015.
240
+
241
+ Li Shen, Zhouchen Lin, and Qingming Huang. Relay backpropagation for effective learning of deep convolutional neural networks. In European conference on computer vision, pp. 467–482. Springer, 2016.
242
+
243
+ Merrielle Spain and Pietro Perona. Measuring and predicting importance of objects in our visual world. 2007.
244
+
245
+ Vladimir Vapnik. The nature of statistical learning theory. Springer science & business media, 2013.
246
+
247
+ Tongzhou Wang and Phillip Isola. Understanding contrastive representation learning through alignment and uniformity on the hypersphere. arXiv preprint arXiv:2005.10242, 2020.
248
+
249
+ Yu-Xiong Wang, Deva Ramanan, and Martial Hebert. Learning to model the tail. In Advances in Neural Information Processing Systems, pp. 7029–7039, 2017.
250
+
251
+ Chen Wei, Lingxi Xie, Xutong Ren, Yingda Xia, Chi Su, Jiaying Liu, Qi Tian, and Alan L Yuille. Iterative reorganization with weak spatial constraints: Solving arbitrary jigsaw puzzles for unsupervised representation learning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1910–1919, 2019.
252
+
253
+ Zhirong Wu, Yuanjun Xiong, Stella X Yu, and Dahua Lin. Unsupervised feature learning via nonparametric instance discrimination. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 3733–3742, 2018.
254
+
255
+ Yuzhe Yang and Zhi Xu. Rethinking the value of labels for improving class-imbalanced learning. In Conference on Neural Information Processing Systems (NeurIPS), 2020.
256
+
257
+ Yaoyao Zhong, Weihong Deng, Mei Wang, Jiani Hu, Jianteng Peng, Xunqiang Tao, and Yaohai Huang. Unequal-training for deep face recognition with long-tailed noisy data. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, June 2019.
258
+
259
+ Bolei Zhou, Agata Lapedriza, Aditya Khosla, Aude Oliva, and Antonio Torralba. Places: A 10 million image database for scene recognition. IEEE transactions on pattern analysis and machine intelligence, 40(6):1452–1464, 2017.
260
+
261
+ Boyan Zhou, Quan Cui, Xiu-Shen Wei, and Zhao-Min Chen. Bbn: Bilateral-branch network with cumulative learning for long-tailed visual recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 9719–9728, 2020.
262
+
263
+ George Kingsley Zipf. The psycho-biology of language: An introduction to dynamic philology, volume 21. Psychology Press, 1999.
264
+
265
+ # A IMPLEMENTATION DETAILS
266
+
267
+ Representation Learning For supervised cross-entropy (CE) loss, we adopt the standard PyTorch distributed training implementation3. For unsupervised contrastive loss (CL), we use the official implementation4 of MoCo (He et al., 2020) with default hyper-parameters. Our $k$ -positive contrastive loss is implemented based on MoCo by randomly selecting $k$ positive examples from the key memory for each of the query example. When KCL is applied for a long-tailed dataset, there might be less than $k$ positive examples in the memory for some of the classes. In such cases, we use all the positive examples. Besides, we keep all the hyper-parameters (e.g., data augmentation, learning rate and batch size) the same as supervised learning. We only carefully tune the number of training epochs for KCL to make it achieve similar performance as supervised learning on a balanced dataset (full Imagenet) for fair comparison (see Table 6). As a result, throughout the paper our KCL is trained for 200 epochs while its supervised counterpart is trained for 90 epochs. This is reasonable as contrastive learning usually takes much longer to converge (He et al., 2020). We are using $k = 6$ for KCL throughout the paper, which is carefully tuned on the validation set of ImageNet-LT, as shown in Fig. 5. The detailed hyper-parameters of different loss functions are given in Table 7.
268
+
269
+ Table 6: Results on full ImageNet.
270
+ Accuracies on ImageNet-LT (val)
271
+
272
+ <table><tr><td></td><td>Top1</td><td>Top5</td></tr><tr><td>CE (90 epochs)</td><td>76.616</td><td>93.090</td></tr><tr><td>SCL (200 epochs)</td><td>76.976</td><td>92.972</td></tr><tr><td>KCL (200 epochs)</td><td>76.814</td><td>92.936</td></tr></table>
273
+
274
+ ![](images/33754ee80a4717609f76425f0845736ac46feb77ffd76cedf2e36535f272680a.jpg)
275
+ Figure 5: Validation accuracies of KCL on ImageNet-LT as the value of $k$ varies.
276
+
277
+ Table 7: Hyper-parameters used by different loss functions. “default” means the standard data augmentation strategies used by supervised learning.
278
+
279
+ <table><tr><td>hps</td><td>CE</td><td>CL</td><td>KCL</td></tr><tr><td>epochs</td><td>90</td><td>200</td><td>200</td></tr><tr><td>batch size</td><td>256</td><td>256</td><td>256</td></tr><tr><td>learning rate</td><td>0.1</td><td>0.03</td><td>0.1</td></tr><tr><td>learning rate schedule</td><td>cosine</td><td>step</td><td>cosine</td></tr><tr><td>data augmentation</td><td>default</td><td>moco v1</td><td>default</td></tr><tr><td>memory size</td><td>1</td><td>65536</td><td>65536</td></tr><tr><td>encoder momentum</td><td>=</td><td>0.999</td><td>0.999</td></tr><tr><td>feature dimension</td><td></td><td>128</td><td>128</td></tr><tr><td>softmax temperature</td><td></td><td>0.07</td><td>0.07</td></tr><tr><td>k</td><td></td><td>1</td><td>6</td></tr></table>
280
+
281
+ Classifier Learning We need to train linear classifiers in two cases. 1) representation evalauation (Sec. 3 and Figure 4). For CE-learned representations, we train a linear classifier using the same parameters as representation learning in Table 7 with a smaller number of epochs (10). For CL and KCL, we adopt the classifier training protocol introduced by MoCo (He et al., 2020) with default hyper-parameters (i.e., learning rate 30 and weight decay 0). 2) Long-tailed recognition (Sec. 4.2). We obtain a re-balanced classifier for CE representations following Kang et al. (2020), and adopt the MoCo classifier learning strategy with class-balanced sampling by setting the learning rate to 10 on ImageNet-LT and 30 on iNaturalist 2018.
282
+
283
+ Detection model training We use exactly the same setting and evaluation metrics as He et al. (2020). R50-C4 backbone is used with BN tuned. The image is rescaled to [640, 800] during training and 800 at inference. All layers are fine-tuned end-to-end with batch size $= 1 6$ . For Pascal VOC, we train Faster R-CNN (Ren et al., 2015) on trainva $. 0 7 + 1 2$ set with $2 4 \mathrm { k }$ schedule and evaluate on test07 set. For COCO, we train Mask R-CNN (He et al., 2017) on train2017 set with $\times 2$ schedule and evaluate on val2017 set.
284
+
285
+ # B DATASET CONSTRUCTION
286
+
287
+ Datasets for studying balancedness of feature spaces We here explain the details on the construction of the series of datasets used in our study in Sec. 3.
288
+
289
+ In particular, we take the standard long-tailed training set from ImageNet-LT (Liu et al., 2019) whose instances follow the Pareto distribution as the base dataset, denoted as $\mathcal { D } _ { \mathrm { { L T } } }$ . We vary its training instance distribution $\{ q _ { 1 } , \dots , q _ { C } \}$ gradually to obtain different datasets as follows,
290
+
291
+ $$
292
+ n _ { j } = \left\lfloor N _ { \mathcal { D } } \times \frac { q _ { j } ^ { \alpha } } { \sum _ { k } q _ { k } ^ { \alpha } } + \frac { 1 } { 2 } \right\rfloor ,
293
+ $$
294
+
295
+ where $N _ { \mathcal { D } }$ is the total number of training instances in $\mathcal { D } _ { \mathrm { { L T } } }$ , $\alpha \in [ 0 , 1 ]$ controls the dataset balancedness. When $\alpha = 0$ , it corresponds to a fully balanced dataset; when $\alpha = 1$ , it becomes a heavy long-tailed ones. In total, we generated 6 datasets with $\alpha \in \{ 0 , 0 . 2 , 0 . 4 , 0 . 6 , 0 . 8 , 1 . 0 \}$ , denoted as $\mathcal { D } _ { \mathrm { L T 0 } } , \dots , \mathcal { D } _ { \mathrm { L T 8 } } , \mathcal { D } _ { \mathrm { L } }$ respectively, as different examples of $\mathscr { D } _ { \mathrm { r e p - t r a i n } }$ for representation learning. The detailed statistics and visualization of the datasets $\mathcal { D } _ { \mathrm { L T 0 } } , \dots , \mathcal { D } _ { \mathrm { L T 8 } } , \mathcal { D } _ { \mathrm { L T } }$ are summarized in Table 8 and Fig. 6.
296
+
297
+ ![](images/42f30fecb2d5cf271099c6e870fe0e4fc9dd6f7784b1a9c463dd2707b958e6a0.jpg)
298
+ Figure 6: Training instance number distributions of the datasets we use in our empirical studies.
299
+
300
+ Table 8: Dataset statistics on training instance numbers, including the maximal and minimal instance number per class and the total number.
301
+
302
+ <table><tr><td>Dataset</td><td>Max</td><td>Min</td><td>Total</td></tr><tr><td>DLTO</td><td>115</td><td>115</td><td>115,000</td></tr><tr><td>DLT2</td><td>204</td><td>67</td><td>115,885</td></tr><tr><td>DLT4</td><td>343</td><td>37</td><td>115,801</td></tr><tr><td>DLT6</td><td>553</td><td>20</td><td>115,836</td></tr><tr><td>DLT8</td><td>857</td><td>10</td><td>115,852</td></tr><tr><td>DLT</td><td>1,280</td><td>5</td><td>115,846</td></tr></table>
303
+
304
+ Datasets for generalizability studies We carefully choose the proper datasets to construct the $\mathcal { D } _ { \mathrm { t r a i n } }$ and $\mathcal { D } _ { \mathrm { t e s t } }$ for evaluating generalizability of the representation models under multiple settings. The choices are summarized in Table 9.
305
+
306
+ Table 9: Summary on used datasets for representation model pre-training and evaluation in our studies.
307
+
308
+ <table><tr><td>study</td><td>Drep-train</td><td>Dtrain</td><td>Dtest</td></tr><tr><td>Balancedness (Sec.3.2)</td><td>DLTO,...,DLT8,DLT</td><td>ImageNet (train)</td><td>ImageNet (val)</td></tr><tr><td>Out-of-distribution (Sec.3.3)</td><td>source split of above</td><td colspan="2">target split of above</td></tr><tr><td>Cross-domain (Sec. 3.3)</td><td>ImageNet-LT</td><td>Places 365 (train)</td><td>Places 365 (test)</td></tr><tr><td>Cross-task (Sec. 3.3)</td><td>ImageNet-LT</td><td>VOC/MSCOCO (train)</td><td>VOC/MSCOCO (test)</td></tr></table>
309
+
310
+ # C ADDITIONAL RESULTS ON MODEL GENERALIZATION PERFORMANCE
311
+
312
+ Cross-domain and Cross-task Generalization We evaluate the generalization ability of the representation models trained on the balanced full ImageNet datasets, for cross-domain and cross-task applications. The results are given in Table 10 (cross-domain) and Tables 11 and 12 (for detection) respectively. From Table 10, when the training datasets are balanced, the models trained with CL and CE achieve comparable performance. While when the training datasets are not balanced, the CL model significantly outperforms the CE model (Table 1). This demonstrates that the CL loss can consistently produce balanced representation models and the model generalization performance can indeed benefit from being balanced.
313
+
314
+ Similar conclusion can be drawn for the cross-task generalization. From Tables 11 and 12, when training the model on the full ImageNet dataset, using self-supervised CL loss can produce the model performing slightly better than using the supervised CE loss. On PASCAL VOC, the performance advantage is as marginal as $0 . 0 2 \%$ in $\mathsf { A P } _ { 5 0 }$ . In contrast, when training the model on the ImageNetLT dataset, using CL loss can boost the model performance over using the CE loss much more significantly. The improvement is as large as $1 . 6 4 \%$ in $\mathsf { A P } _ { 5 0 }$ . Thus the performance benefit on the generalization to detection brought by CL does not simple stem from using self-supervised pretraining, but indeed come from learning more balanced feature spaces.
315
+
316
+ Similar to OOD generalization, the model learned with KCL gives better downstream performance on both VOC and COCO, which mean enforcing feature space balancedness with KCL is indeed able to help learning better representation.
317
+
318
+ Table 10: Results on Places 365. The encoder is trained on ImageNet.
319
+
320
+ <table><tr><td></td><td>Top1</td><td>Top5</td></tr><tr><td>CE</td><td>46.06</td><td>77.11</td></tr><tr><td>CL</td><td>46.16 (+0.1)</td><td>76.27 (-0.84)</td></tr></table>
321
+
322
+ Table 11: Object detection Results on PASCAL VOC. The representation model is trained on ImageNet and ImageNet-LT. We report results in $\mathrm { A P } _ { 5 0 }$ : VOC metric; AP: COCO-style metric.
323
+
324
+ <table><tr><td rowspan="2"></td><td colspan="3">ImageNet</td><td colspan="3">ImageNet-LT</td></tr><tr><td>AP50</td><td>AP</td><td>AP75</td><td>AP50</td><td>AP</td><td>AP75</td></tr><tr><td>CE</td><td>81.26</td><td>53.66</td><td>59.19</td><td>76.45</td><td>48.53</td><td>51.01</td></tr><tr><td>CL</td><td>81.28 (+0.02)</td><td>56.10 (+2.44)</td><td>62.71 (+3.52)</td><td>78.19 (+1.64)</td><td>51.52 (+2.99)</td><td>56.48 (+5.47)</td></tr><tr><td>KCL</td><td>82.32 (+1.06)</td><td>55.51 (+1.85)</td><td>62.05 (+2.86)</td><td>79.70 (+3.25)</td><td>52.63 (+4.10)</td><td>57.89 (+6.88)</td></tr></table>
325
+
326
+ Table 12: Object detection Results on COCO. The representation model is trained on ImageNet and ImageNetLT. We report results in bounding-box AP $( \mathsf { A P } ^ { \mathsf { b b } } )$ ) and mask AP $( \mathbf { A P } ^ { \mathrm { m k } } )$ .
327
+
328
+ <table><tr><td rowspan="2" colspan="2"></td><td colspan="3">ImageNet</td><td colspan="3">ImageNet-LT</td></tr><tr><td>AP</td><td>AP50</td><td>AP75</td><td>AP</td><td>AP50</td><td>AP75</td></tr><tr><td rowspan="3">Apbb</td><td>CE</td><td>40.08</td><td>59.76</td><td>43.29</td><td>38.13</td><td>57.38</td><td>41.15</td></tr><tr><td>CL</td><td>40.41 (+0.33)</td><td>60.05 (+0.29)</td><td>44.09 (+0.80)</td><td>39.67 (+1.54)</td><td>59.40 (+2.02)</td><td>42.73 (+1.58)</td></tr><tr><td>KCL</td><td>40.79 (+0.78)</td><td>60.63 (+0.87)</td><td>43.99 ( (+0.70)</td><td>39.43 (+1.30)</td><td>59.08 (+1.70)</td><td>42.56 (+1.41)</td></tr><tr><td rowspan="3">Apmk</td><td>CE</td><td>34.85</td><td>56.60</td><td>37.02</td><td>33.29</td><td>54.24</td><td>35.38</td></tr><tr><td>CL</td><td>35.14 (+0.29)</td><td>56.88 (+0.28)</td><td>37.56 (+0.54)</td><td>34.73 (+1.44)</td><td>56.07 (+1.83)</td><td>37.13 (+1.75)</td></tr><tr><td>KCL</td><td>35.45 (+0.60)</td><td>57.40 (+0.80)</td><td>37.80 (+0.78)</td><td>34.38 (+1.09)</td><td>55.81 (+1.57)</td><td>36.39 (+1.01)</td></tr></table>
parse/train/OqtLIabPTit/OqtLIabPTit_content_list.json ADDED
@@ -0,0 +1,1732 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "EXPLORING BALANCED FEATURE SPACES FOR REPRESENTATION LEARNING ",
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": "Bingyi Kang1, Yu Li 2, Zehuan Yuan3, Jiashi Feng1 1National University of Singapore, 2Institute of Computing Technology, CAS, 3ByteDance AI Lab kang@u.nus.edu,liyu@ict.ac.cn,yuanzehuan@bytedance.com,elefjia@nus.edu.sg ",
17
+ "bbox": [
18
+ 181,
19
+ 169,
20
+ 830,
21
+ 213
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 250,
32
+ 544,
33
+ 265
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Existing self-supervised learning (SSL) methods are mostly applied for training representation models from artificially balanced datasets (e.g. ImageNet). It is unclear how well they will perform in the practical scenarios where datasets are often imbalanced w.r.t. the classes. Motivated by this question, we conduct a series of studies on the performance of self-supervised contrastive learning and supervised learning methods over multiple datasets where training instance distributions vary from a balanced one to a long-tailed one. Our findings are quite intriguing. Different from supervised methods with large performance drop, the self-supervised contrastive learning methods perform stably well even when the datasets are heavily imbalanced. This motivates us to explore the balanced feature spaces learned by contrastive learning, where the feature representations present similar linear separability w.r.t. all the classes. Our further experiments reveal that a representation model generating a balanced feature space can generalize better than that yielding an imbalanced one across multiple settings. Inspired by these insights, we develop a novel representation learning method, called $k$ -positive contrastive learning. It effectively combines strengths of the supervised method and the contrastive learning method to learn representations that are both discriminative and balanced. Extensive experiments demonstrate its superiority on multiple recognition tasks, including both long-tailed ones and normal balanced ones. Code is available at https://github.com/bingykang/BalFeat. ",
40
+ "bbox": [
41
+ 233,
42
+ 285,
43
+ 764,
44
+ 563
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 603,
55
+ 336,
56
+ 618
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Self-supervised learning (SSL) has been popularly explored as it can learn data representations without requiring manual annotations and offer attractive potential of leveraging the vast amount of unlabeled data in the wild to obtain strong representation models (Gidaris et al., 2018; Noroozi & Favaro, 2016; He et al., 2020; Chen et al., 2020a; Wu et al., 2018). For instance, some recent SSL methods (Henaff et al. ´ , 2019; Oord et al., 2018; Hjelm et al., 2018; He et al., 2020) use the unsupervised contrastive loss (Hadsell et al., 2006) to train the representation models by maximizing the instance discriminativeness, which are shown to generalize well across various downstream tasks, and even surpass the supervised learning counterparts in some cases (He et al., 2020; Chen et al., 2020a). ",
63
+ "bbox": [
64
+ 174,
65
+ 638,
66
+ 823,
67
+ 750
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Despite the great success, existing SSL methods focus on learning data representations from the artificially balanced datasets (e.g. ImageNet (Deng et al., 2009)) where all the classes have similar numbers of training instances. However in reality, since the classes in natural images follow the Zipfian distribution, the datasets are usually imbalanced and show a long-tailed distribution (Zipf, 1999; Spain & Perona, 2007), i.e., some classes involving significantly fewer training instances than others. Such imbalanced datasets are very challenging for supervised learning methods to model, leading to noticeable performance drop (Wang et al., 2017; Mahajan et al., 2018; Zhong et al., 2019). Thus several interesting questions arise: How well will SSL methods perform on imbalanced datasets? Will the quality of their learned representations deteriorate as the supervised learning methods? Or can they perform stably well? Answering these questions is important for understanding the behavior of SSL in practice. But these questions remain open as no research investigations have been conducted along this direction so far. ",
74
+ "bbox": [
75
+ 174,
76
+ 757,
77
+ 825,
78
+ 922
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "image",
84
+ "img_path": "images/ea300b0baf7da51ae91634465d21ba5dea2f0cf071adea3fe5f89dab2bb7bce0.jpg",
85
+ "image_caption": [
86
+ "Figure 1: Feature spaces learned with different losses given an imbalanced dataset. The supervised crossentropy (CE) learns a space biased to the dominant class. The space learned by unsupervised contrastive loss is balanced but less semantically discriminative. Our proposed $k$ -positive contrastive loss learns a balanced and discriminative feature space. The shadow area ( ) indicates the decision boundary of each class. "
87
+ ],
88
+ "image_footnote": [],
89
+ "bbox": [
90
+ 271,
91
+ 95,
92
+ 725,
93
+ 226
94
+ ],
95
+ "page_idx": 1
96
+ },
97
+ {
98
+ "type": "text",
99
+ "text": "Our work is motivated by the above questions to study the properties of data representations learned with supervised/self-supervised methods in a practical scenario. We start with two representative losses used by these methods, i.e., the supervised cross-entropy and the unsupervised contrastive losses (Hadsell et al., 2006; Oord et al., 2018), and investigate the classification performance of their trained representation models from multiple training datasets where the instance distribution gradually varies from a balanced one to a long-tailed one. We surprisingly observe that, different from the ones learned from supervised cross-entropy loss where performance drops quickly, the representation models learned from the unsupervised contrastive loss perform stably well, no matter how much the training instance distribution is skewed to be imbalanced. Such a stark difference between the two representation learning methods drives us to explore why SSL performs so stably. We find that using the contrastive loss can obtain representation models generating a balanced feature space that has similar separability (and classification performance) for all the classes, as illustrated in Figure 1. ",
100
+ "bbox": [
101
+ 174,
102
+ 319,
103
+ 825,
104
+ 500
105
+ ],
106
+ "page_idx": 1
107
+ },
108
+ {
109
+ "type": "text",
110
+ "text": "Such a balanced property of the feature spaces from SSL is intriguing and provides a new perspective to understand the behavior of SSL methods. We dig deeper into its benefits via a systematic study. In particular, since a pre-trained representation model is often used as initialization for downstream tasks (He et al., 2020; Newell & Deng, 2020; Henaff et al. ´ , 2019), we evaluate and compare the generalization ability of the models that produce feature spaces of different balanced levels (or ‘balancedness’). We find that a more balanced model tends to generalize better across a variety of settings, including the out-of-distribution recognition as well as the cross-domain and cross-task applications. These studies imply that feature space balancedness is an important but often neglected factor for learning high-quality representations. ",
111
+ "bbox": [
112
+ 174,
113
+ 506,
114
+ 825,
115
+ 632
116
+ ],
117
+ "page_idx": 1
118
+ },
119
+ {
120
+ "type": "text",
121
+ "text": "Inspired by the above insights, we propose a new representation learning method, the $k$ -positive constrastive learning, which inherits the strength of constrastive learning in learning balanced feature spaces and meanwhile improves the feature spaces’ discriminative capability. Specifically, different from the contrastive learning methods lacking semantic discriminativeness, the proposed $k$ -positive constrastive method leverages the available instance semantic labels by taking $k$ instances of the same label with the anchor instance to embed semantics into the contrastive loss. As such, it can learn representations with desirable balancedness and discriminativeness (Figure 1). Extensive experiments and analyses clearly demonstrate its superiority over the supervised learning and latest contrastive learning methods (He et al., 2020) for various recognition tasks, including visual recognition in both long-tailed setting (e.g., ImageNet-LT, iNaturalist) and balanced setting. ",
122
+ "bbox": [
123
+ 174,
124
+ 638,
125
+ 825,
126
+ 777
127
+ ],
128
+ "page_idx": 1
129
+ },
130
+ {
131
+ "type": "text",
132
+ "text": "This work makes the following important observations and contributions. (1) We present the first systematic studies on the performance of self-supervised contrastive learning on imbalanced datasets which are helpful to understanding the merits and limitations of SSL in practice. (2) Our studies reveal an intriguing property of the model trained by contrastive learning—the model can robustly learn balanced feature spaces—that has never been discussed before. (3) Our empirical analysis demonstrates that learning balanced feature spaces benefits the generalization of representation models and offer a new perspective for understanding deep model generalizability. (4) We develop a new method to explicitly pursue balanced feature spaces for representation learning and it outperforms the popular cross-entropy and contrastive losses based methods. We believe our findings and the novel $k$ -positive contrastive method are inspiring for future research on representation learning. ",
133
+ "bbox": [
134
+ 174,
135
+ 785,
136
+ 825,
137
+ 924
138
+ ],
139
+ "page_idx": 1
140
+ },
141
+ {
142
+ "type": "text",
143
+ "text": "2 RELATED WORKS ",
144
+ "text_level": 1,
145
+ "bbox": [
146
+ 176,
147
+ 102,
148
+ 352,
149
+ 117
150
+ ],
151
+ "page_idx": 2
152
+ },
153
+ {
154
+ "type": "text",
155
+ "text": "Self-supervised learning is a form of unsupervised learning. Recently there has been a surge of self-supervised data representation learning methods developed to alleviate the demand for manual annotations by mining free supervision information through specifically designed loss functions and pretext tasks. The contrastive loss measures the similarities of sample pairs in a feature space and is at the core of several recent SSL methods (Chen et al., 2020a;b; He et al., 2020; Chen et al., 2020c). Adversarial losses that measure the distribution difference are also exploited for self-supervised representation learning (Donahue et al., 2016; Doersch & Zisserman, 2017). A wide range of pretext tasks have been developed including image inpainting (Jenni & Favaro, 2018; Pathak et al., 2016), image colorization (Larsson et al., 2016; 2017), context prediction (Doersch et al., 2015), jigsaw puzzles (Carlucci et al., 2019; Noroozi & Favaro, 2016; Wei et al., 2019), rotation prediction (Gidaris et al., 2018). Though very successful, the behavior of SSL largely remains a mystery. Recently Wang & Isola (2020) analyze contrastive learning from the perspective of uniformity and alignment of learned representations. However investigations on the behavior of contrastive learning on imbalanced datasets are still absent. We present the first study on this problem and our investigation methodology is also applicable to other SSL methods. ",
156
+ "bbox": [
157
+ 174,
158
+ 138,
159
+ 825,
160
+ 345
161
+ ],
162
+ "page_idx": 2
163
+ },
164
+ {
165
+ "type": "text",
166
+ "text": "In practice, the visual data usually follow a long-tailed distribution (Zipf, 1999; Spain & Perona, 2007), challenging supervised learning methods. Due to the imbalance in the number of training instances for different classes, conventional methods tend to perform much more poorly on instancerare classes than on instance-rich ones. To alleviate this performance bias, existing approaches either re-balance the data distribution through sampling (Chawla et al., 2002; Han et al., 2005; Shen et al., 2016; Mahajan et al., 2018) or the loss for each class (Cui et al., 2019; Khan et al., 2017; Cao et al., 2019; Khan et al., 2019) by reweighting. Kang et al. (2020) first propose to decouple representation learning from classifier learning to boost performance, and demonstrate that learning good feature spaces is crucial for long-tailed recognition. Along this direction, SSP (Yang & Xu, 2020) is among the first methods that introduce SSL pretraining into learning the long-tailed recognition models. More specifically, instead of directly training a randomly initialized model from scratch as conventional supervised learning methods, SSP uses a model pretrained with SSL on the same dataset for initialization, which is observed to be able to to alleviate the label bias issue in imbalanced datasets and boost long-tailed recognition performance. ",
167
+ "bbox": [
168
+ 174,
169
+ 353,
170
+ 825,
171
+ 547
172
+ ],
173
+ "page_idx": 2
174
+ },
175
+ {
176
+ "type": "text",
177
+ "text": "In contrast, we conduct a series of systematic studies to directly compare SSL with supervised learning on representation learning. We show that SSL can learn stably well feature spaces robust to the underlying distribution of a dataset. Moreover, inspired by our findings on the benefits of a balanced feature space for generalization, we introduce the $k$ -positive contrastive learning method to explicitly pursue balancedness and discriminativeness for representation learning, which has been shown through experiments to benefit not only long-tailed recognition but also normal recognition tasks. ",
178
+ "bbox": [
179
+ 174,
180
+ 554,
181
+ 825,
182
+ 651
183
+ ],
184
+ "page_idx": 2
185
+ },
186
+ {
187
+ "type": "text",
188
+ "text": "3 BALANCED FEATURE SPACES FROM CONTRASTIVE LEARNING ",
189
+ "text_level": 1,
190
+ "bbox": [
191
+ 176,
192
+ 678,
193
+ 728,
194
+ 694
195
+ ],
196
+ "page_idx": 2
197
+ },
198
+ {
199
+ "type": "text",
200
+ "text": "In this section, we systematically study the performance of representation models trained by SSL from a collection of training datasets with varying instance number distributions, in contrast with the models learned by supervised learning methods, to explore how SSL performs when the training datasets are not artificially balanced. Furthermore, we investigate the generalization performance of these learned representation models under multiple settings, in order to explore the relationship between the representation model’s generalizability and the property of its learned feature space. ",
201
+ "bbox": [
202
+ 174,
203
+ 714,
204
+ 825,
205
+ 797
206
+ ],
207
+ "page_idx": 2
208
+ },
209
+ {
210
+ "type": "text",
211
+ "text": "Notations We define the notations used in this paper. Representation learning aims to obtain a representation model $f _ { \\theta }$ that maps a sample $x _ { i }$ into a feature space $V$ such that its corresponding representation $v _ { i } \\in V$ encapsulates desired features for target applications. Let ${ \\mathcal { D } } _ { \\mathrm { r e p - t r a i n } } = { \\bar { \\{ } x _ { i } , y _ { i } \\} } { \\bar { } }$ , $i = 1 , \\ldots , N$ be the dataset for training the representation model, where $y _ { i }$ is the class label for sample $x _ { i }$ . Let $C$ denote the number of total classes and $n _ { j }$ denote the number of instances within class $j$ . We use $\\{ q _ { 1 } , \\dots , q _ { C } \\}$ with $q _ { j } = n _ { j } / N$ to denote the discrete instance distribution over the $C$ classes. An imbalanced dataset has significant difference in the class instance numbers, e.g., $q _ { 1 } \\gg q _ { C }$ . We use a multi-layer convolutional neural network $f _ { \\theta } ( \\cdot ) ~ : ~ x _ { i } \\mapsto v _ { i }$ to implement the representation model. The final classification prediction $\\hat { y }$ is given by a linear classifier $\\hat { y } =$ arg max $[ W ^ { \\top } { \\boldsymbol { v } } + b ]$ , where $W$ denotes the classifier weight matrix and $b$ denotes the bias term. ",
212
+ "bbox": [
213
+ 173,
214
+ 811,
215
+ 825,
216
+ 924
217
+ ],
218
+ "page_idx": 2
219
+ },
220
+ {
221
+ "type": "text",
222
+ "text": "",
223
+ "bbox": [
224
+ 171,
225
+ 103,
226
+ 823,
227
+ 132
228
+ ],
229
+ "page_idx": 3
230
+ },
231
+ {
232
+ "type": "text",
233
+ "text": "3.1 METHODOLOGY OF OUR STUDY ",
234
+ "text_level": 1,
235
+ "bbox": [
236
+ 176,
237
+ 150,
238
+ 437,
239
+ 165
240
+ ],
241
+ "page_idx": 3
242
+ },
243
+ {
244
+ "type": "text",
245
+ "text": "Representation learning methods Various loss functions have been developed for learning the representation model $f _ { \\theta }$ on the training dataset. Among them, the most popular one is the supervised cross-entropy (CE) loss: ",
246
+ "bbox": [
247
+ 173,
248
+ 176,
249
+ 825,
250
+ 218
251
+ ],
252
+ "page_idx": 3
253
+ },
254
+ {
255
+ "type": "equation",
256
+ "img_path": "images/6ff075c9ff5c6243020588fc293459bc2cc4ff03c1665d4402c6dc369b31e1ec.jpg",
257
+ "text": "$$\n\\mathcal { L } _ { \\mathrm { C E } } = \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } - \\log p _ { y _ { i } } ,\n$$",
258
+ "text_format": "latex",
259
+ "bbox": [
260
+ 415,
261
+ 218,
262
+ 581,
263
+ 262
264
+ ],
265
+ "page_idx": 3
266
+ },
267
+ {
268
+ "type": "text",
269
+ "text": "where $p _ { y _ { i } } = \\mathrm { s o f t m a x } ( W _ { y _ { i } } ^ { \\top } v _ { i } + b )$ is the normalized probability prediction of sample $i$ belonging to its ground truth class $y _ { i }$ . Using the semantic labels directly as supervision signal $y _ { i }$ in Equation 1), the representation model trained by the CE loss can have strong semantic discrimination ability but its generated feature space is easily biased by the imbalance of the training instance distribution—if some classes have significantly more training instances than the others, their data representations will occupy dominant portion of the feature space (Figure 1) and get higher classification accuracy than the instance-rare classes (Kang et al., 2020; Wang et al., 2017). ",
270
+ "bbox": [
271
+ 173,
272
+ 266,
273
+ 825,
274
+ 366
275
+ ],
276
+ "page_idx": 3
277
+ },
278
+ {
279
+ "type": "text",
280
+ "text": "Different from the supervised learning ones, self-supervised learning methods adopt semantic-free loss functions to learn representations from unlabeled data (He et al., 2020; Gidaris et al., 2018). For example, the contrastive loss1 (CL) (Oord et al., 2018) learns representations via maximizing the instance-wise discriminativeness: ",
281
+ "bbox": [
282
+ 174,
283
+ 372,
284
+ 825,
285
+ 428
286
+ ],
287
+ "page_idx": 3
288
+ },
289
+ {
290
+ "type": "equation",
291
+ "img_path": "images/160052015b5e38c355962248dc22750aa220e0cb839c74e64eaa0945aa7a44e3.jpg",
292
+ "text": "$$\n\\mathcal { L } _ { \\mathrm { C L } } = \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } - \\log \\frac { \\exp ( v _ { i } \\cdot v _ { i } ^ { + } / \\tau ) } { \\exp ( v _ { i } \\cdot v _ { i } ^ { + } / \\tau ) + \\sum _ { v _ { i } ^ { - } \\in V ^ { - } } \\exp ( v _ { i } \\cdot v _ { i } ^ { - } / \\tau ) } ,\n$$",
293
+ "text_format": "latex",
294
+ "bbox": [
295
+ 281,
296
+ 433,
297
+ 715,
298
+ 477
299
+ ],
300
+ "page_idx": 3
301
+ },
302
+ {
303
+ "type": "text",
304
+ "text": "where $\\tau$ is a temperature hyper-parameter, $v _ { i } ^ { + }$ is a positive sample for the anchor instance $i$ (typically produced by data augmentation), $v _ { i } ^ { - } \\in V ^ { - }$ is the negative sample randomly drawn from the training samples excluding instance $i$ . This contrastive loss encourages the feature representations from positive pairs to be similar, while pushing features from the sampled negative pairs apart. ",
305
+ "bbox": [
306
+ 174,
307
+ 486,
308
+ 825,
309
+ 545
310
+ ],
311
+ "page_idx": 3
312
+ },
313
+ {
314
+ "type": "text",
315
+ "text": "We take the two loss functions $\\mathcal { L } _ { \\mathrm { C E } }$ and ${ \\mathcal { L } } _ { \\mathrm { C L } }$ ) as representatives to study how the representation models (and the corresponding feature spaces) trained with supervised/self-supervised methods are affected by the training instance distribution $\\{ q _ { 1 } , \\dots , q _ { C } \\}$ . ",
316
+ "bbox": [
317
+ 174,
318
+ 550,
319
+ 825,
320
+ 594
321
+ ],
322
+ "page_idx": 3
323
+ },
324
+ {
325
+ "type": "text",
326
+ "text": "Balancedness of feature spaces Since semantic labels are not involved in the contrastive loss (Equation 2), we hypothesize it may lead to representation models yielding feature spaces that are less biased by the imbalance of the training dataset, compared with the ones from the supervised loss (Equation 1). To verify this, we introduce a metric to characterize such an “unbiased” or “balanced” property of a feature space at first. A feature space $V$ is balanced if the representations $\\{ v _ { i } \\}$ from different classes within it have similar degrees of linear separability. As the linear separability degree of the representations is usually evaluated by the accuracy of a linear classifier over them (Vapnik, 2013), we follow this criterion to develop the balancedness metric. Specifically, let $a _ { 1 } , \\dots , a _ { C }$ denote the classification accuracy of a linear classifier $( W , b )$ over the representations $\\{ v _ { i } \\} \\subset V$ from $C$ classes. We take the following uniformity of these accuracies as the balancedness of the feature space $V$ : ",
327
+ "bbox": [
328
+ 173,
329
+ 602,
330
+ 826,
331
+ 756
332
+ ],
333
+ "page_idx": 3
334
+ },
335
+ {
336
+ "type": "equation",
337
+ "img_path": "images/d111f3e7872e515722df53e9b62a3413d584d3ca9159f01b3e1063bacec90160.jpg",
338
+ "text": "$$\n\\beta ( V ) \\triangleq \\frac { 1 } { C ^ { 2 } } \\sum _ { i , j } ^ { C } \\exp \\left( - \\frac { | a _ { i } - a _ { j } | ^ { 2 } } { \\sigma } \\right) , \\mathrm { ~ w h e r e ~ } a _ { j } = \\frac { \\# \\{ v _ { i } | \\hat { y } _ { i } = j , y _ { i } = j , v _ { i } \\in V \\} } { \\# \\{ v _ { i } | y _ { i } = j , v _ { i } \\in V \\} } .\n$$",
339
+ "text_format": "latex",
340
+ "bbox": [
341
+ 223,
342
+ 762,
343
+ 771,
344
+ 809
345
+ ],
346
+ "page_idx": 3
347
+ },
348
+ {
349
+ "type": "text",
350
+ "text": "Here $\\sigma$ is a fixed scaling parameter. This metric achieves its maximum when all the class-wise accuracies are equal, i.e., there being no separability bias of the learned representations to any class. Note that this metric is developed to provide a quantitative measure of the balancedness of a feature space, but it has certain limitations such as it can be easily hacked. We leave developing more rigorous metric that can better characterize balanced feature spaces as future work. ",
351
+ "bbox": [
352
+ 173,
353
+ 814,
354
+ 825,
355
+ 886
356
+ ],
357
+ "page_idx": 3
358
+ },
359
+ {
360
+ "type": "image",
361
+ "img_path": "images/07b846be13f5398f43db4a64d0e42b809b19f8c1c70fddba3ec2d0c37c9a4590.jpg",
362
+ "image_caption": [
363
+ "Figure 2: Classification accuracy (left) and balancedness (right) of the representations learned from cross-entropy (CE) loss and contrastive loss (CL) on datasets (LT0 to LT) with increasing imbalance. "
364
+ ],
365
+ "image_footnote": [],
366
+ "bbox": [
367
+ 173,
368
+ 101,
369
+ 486,
370
+ 202
371
+ ],
372
+ "page_idx": 4
373
+ },
374
+ {
375
+ "type": "image",
376
+ "img_path": "images/ff82914b3e2abe8d7b132f2b893f13333b1283de6273327e245915e08af39c7d.jpg",
377
+ "image_caption": [
378
+ "Figure 3: Out-of-distribution generalization on ImageNet. Top 1 and Top 5 testing accuracy of the model are learned from datasets LT0 to LT that are increasingly more imbalanced. "
379
+ ],
380
+ "image_footnote": [],
381
+ "bbox": [
382
+ 504,
383
+ 99,
384
+ 818,
385
+ 204
386
+ ],
387
+ "page_idx": 4
388
+ },
389
+ {
390
+ "type": "text",
391
+ "text": "Experimental protocol We adopt a multi-stage protocol for learning and evaluating the feature spaces. (1) Representation learning: pre-train the representation model $f _ { \\theta }$ on the provided training set ${ \\mathcal { D } } _ { \\mathrm { r e p - t r a i n } }$ using the above training losses $\\mathcal { L } _ { \\mathrm { C E } }$ and ${ \\mathcal { L } } _ { \\mathrm { C L } }$ ; (2) Classifier learning: train a linear classifier $( W , b )$ on top of $f _ { \\theta }$ with $\\theta$ fixed using another training dataset $\\mathcal { D } _ { \\mathrm { t r a i n } } { } ^ { 2 }$ and the supervised CE loss; (3) Representation evaluation: evaluate the classification accuracy of the learned classifier on the test dataset $\\mathcal { D } _ { \\mathrm { t e s t } }$ with the representations from $f _ { \\theta }$ and compute the above balancedness $\\beta ( V )$ . ",
392
+ "bbox": [
393
+ 174,
394
+ 279,
395
+ 823,
396
+ 364
397
+ ],
398
+ "page_idx": 4
399
+ },
400
+ {
401
+ "type": "text",
402
+ "text": "To thoroughly investigate sensitiveness of different representation learning methods to the imbalance level of training datasets, we construct six datasets from the long-tailed benchmark ImageNetLT (Liu et al., 2019) $( \\mathcal { D } _ { \\mathrm { L T } } )$ by varying its instance distribution $\\{ q _ { 1 } , \\dots , q _ { C } \\}$ from a long-tailed one to a uniform one gradually, while keeping the total instance number similar. The generated datasets, denoted as $\\mathcal { D } _ { \\mathrm { L T 0 } } , \\dots , \\mathcal { D } _ { \\mathrm { L T 8 } } , \\mathcal { D } _ { \\mathrm { L T } }$ (which are increasingly more imbalanced), are used as $\\mathscr { D } _ { \\mathrm { r e p - t r a i n } }$ for representation learning in the following experiments. See appendix for their details. ",
403
+ "bbox": [
404
+ 174,
405
+ 371,
406
+ 825,
407
+ 454
408
+ ],
409
+ "page_idx": 4
410
+ },
411
+ {
412
+ "type": "text",
413
+ "text": "3.2 CONTRASTIVE LOSS HELPS LEARN BALANCED FEATURE SPACES ",
414
+ "text_level": 1,
415
+ "bbox": [
416
+ 176,
417
+ 473,
418
+ 669,
419
+ 487
420
+ ],
421
+ "page_idx": 4
422
+ },
423
+ {
424
+ "type": "text",
425
+ "text": "We first investigate classification performance of the representation models trained with the CE and CL losses on the above six datasets $\\mathcal { D } _ { \\mathrm { L T 0 } } , \\dots , \\mathcal { D } _ { \\mathrm { L T 8 } } , \\mathcal { D } _ { \\mathrm { L T } }$ that are increasingly more imbalanced. Since linear classifiers are easily biased by skewed training dataset distribution (Kang et al., 2020), it is necessary to eliminate the imblancedness of the evaluation datasets for reliable representation evaluation. Thus, we use the (balanced) training and test sets of ImageNet as $\\mathcal { D } _ { \\mathrm { t r a i n } }$ and $\\mathcal { D } _ { \\mathrm { t e s t } }$ to learn classifiers and evaluate their classification accuracy, following the above protocol. ",
426
+ "bbox": [
427
+ 174,
428
+ 500,
429
+ 825,
430
+ 583
431
+ ],
432
+ "page_idx": 4
433
+ },
434
+ {
435
+ "type": "text",
436
+ "text": "The results are summarized in Figure 2, from which we make an important observation: compared with the supervised cross-entropy loss, the model trained with the unsupervised contrastive loss generates a more balanced feature space, even in presence of highly imbalanced training instance distribution. As shown in Figure 2 (left), the classification accuracy of representation models learned with the CE loss drops quickly when the dataset becomes more imbalanced—the quality of representations from these models is very sensitive to the imbalance of training datasets. In contrast, the classification accuracy of CL-trained models remains stable even when the training dataset transits to a heavily long-tailed one. Such surprising performance robustness to imbalance of the training datasets implies that using contrastive learning can consistently learn balanced feature spaces. To see this, we also visualize the balancedness scores (Equation 3) of the learned feature spaces from CE and CL in Figure 2 (right). Even when the training set is heavily long-tailed, the feature spaces learned with CL loss are as highly balanced as the ones learned from a uniform training distribution, while the blancedness score of the feature spaces from CE loss is lower and drops quickly. Such a balanced feature space offered by CL loss is much desired for the representation learning in practice, where the training instance distribution is usually long-tailed. Certainly, using an unsupervised loss will sacrifice semantic discriminativeness of the representations, leading to the accuracy gap between the CE and CL-trained models. ",
437
+ "bbox": [
438
+ 174,
439
+ 589,
440
+ 825,
441
+ 825
442
+ ],
443
+ "page_idx": 4
444
+ },
445
+ {
446
+ "type": "text",
447
+ "text": "3.3 MORE BALANCED REPRESENTATION MODELS GENERALIZE BETTER ",
448
+ "text_level": 1,
449
+ "bbox": [
450
+ 178,
451
+ 843,
452
+ 691,
453
+ 858
454
+ ],
455
+ "page_idx": 4
456
+ },
457
+ {
458
+ "type": "text",
459
+ "text": "The above studies reveal that the representation models trained with the contrastive loss can produce more balanced feature spaces. A natural question is what are the benefits from a balanced model for recognition? Since a pre-trained representation model is often used to facilitate downstream tasks (He et al., 2020; Newell & Deng, 2020; Henaff et al. ´ , 2019), we here conduct extensive experiments to study its potential benefits on model generalization performance under the following settings. ",
460
+ "bbox": [
461
+ 178,
462
+ 869,
463
+ 821,
464
+ 898
465
+ ],
466
+ "page_idx": 4
467
+ },
468
+ {
469
+ "type": "table",
470
+ "img_path": "images/000b6ff42cca4535b7a376f23c2d99914d0d97f776d9b5ae328603f7c5b56a3f.jpg",
471
+ "table_caption": [
472
+ "Table 1: Results on Places365, VOC and COCO. $\\mathrm { A P } _ { 5 0 }$ is the default metric for VOC, while $\\mathsf { A P } ^ { \\mathrm { b b } }$ and $\\mathbf { A P } ^ { \\mathrm { m k } }$ denote the bounding-box and mask AP for COCO respectively. Black / gray numbers correspond to results of the representation models trained on ImageNet-LT / ImageNet respectively. See appendix for complete results. "
473
+ ],
474
+ "table_footnote": [],
475
+ "table_body": "<table><tr><td></td><td>cross-domain</td><td colspan=\"3\">cross-task</td></tr><tr><td></td><td>Places365 (Top1)</td><td>VOC (AP50)</td><td>COCO (APbb)</td><td>COCO (APmk)</td></tr><tr><td>CE</td><td>38.50 /46.06</td><td>76.45 / 81.26</td><td>38.13 /40.08</td><td>33.29 /34.85</td></tr><tr><td>CL</td><td>41.24 /46.16</td><td>78.19 /82.28</td><td>39.67 /40.41</td><td>34.73 /35.14</td></tr><tr><td>△CL.CE</td><td>+2.74 / +0.10</td><td>+1.64 / +0.02</td><td>+1.54 / +0.33</td><td>+1.44 / +0.29</td></tr></table>",
476
+ "bbox": [
477
+ 250,
478
+ 133,
479
+ 743,
480
+ 222
481
+ ],
482
+ "page_idx": 5
483
+ },
484
+ {
485
+ "type": "text",
486
+ "text": "",
487
+ "bbox": [
488
+ 176,
489
+ 238,
490
+ 821,
491
+ 280
492
+ ],
493
+ "page_idx": 5
494
+ },
495
+ {
496
+ "type": "text",
497
+ "text": "Out-of-distribution generalization We first study the relationship between the balancedness of representation models and their generalizability for recognizing new classes. To thoroughly evaluate performance of representation models with different balancedness, we evenly divide the 1,000 classes into two splits (500 vs. 500 classes) on ImageNet, referred to as the source and target split respectively. We use the subsets (corresponding to the source class split) of the above $\\mathcal { D } _ { \\mathrm { L T 0 } } , \\dots , \\mathcal { D } _ { \\mathrm { L T 8 } } , \\mathcal { D } _ { \\mathrm { L T } }$ datasets to construct six different $\\mathscr { D } _ { \\mathrm { r e p - t r a i n } }$ for training the representation model $f _ { \\theta }$ . To obtain models with different balancedness, we use the CE loss for training, since the above studies reveal using the CL loss will always produce models with similar balancedness (Figure 2). We use the subsets (corresponding to the target class split) of the training and test sets of ImageNet as $\\mathcal { D } _ { \\mathrm { t r a i n } }$ and $\\mathcal { D } _ { \\mathrm { t e s t } }$ for classifier learning and evaluation, with the representation model fixed. ",
498
+ "bbox": [
499
+ 174,
500
+ 295,
501
+ 825,
502
+ 435
503
+ ],
504
+ "page_idx": 5
505
+ },
506
+ {
507
+ "type": "text",
508
+ "text": "The testing performance of the models with different balancedness on the target classes is presented in Figure 3. It is observed that as the source dataset becomes increasingly more imbalanced (from $\\mathcal { D } _ { \\mathrm { { L T 0 } } }$ to $\\mathcal { D } _ { \\mathrm { { L T } } } ,$ ) and the corresponding models become more imbalanced, their generalization performance degrades correspondingly. Such a positive correlation between balancedness of the models and testing accuracy on the target classes clearly demonstrate that more balanced representation models tend to generalize better for recognizing unseen classes. More details and results about the out-of-distribution generalization studies are deferred to the appendix. ",
509
+ "bbox": [
510
+ 174,
511
+ 441,
512
+ 825,
513
+ 540
514
+ ],
515
+ "page_idx": 5
516
+ },
517
+ {
518
+ "type": "text",
519
+ "text": "Cross-domain and cross-task generalization We then explore whether learning balanced representation models is able to benefit model’s generalizability to new domains and tasks. We use the ImageNet-LT as $\\mathscr { D } _ { \\mathrm { r e p - t r a i n } }$ to train the models with the CE and CL losses, obtaining imbalanced and balanced representation models respectively. For the cross-domain setting, we train a linear classifier on the Places365 dataset (Zhou et al., 2017) with the representation model fixed. From the results in Table 1, it can be clearly observed that the balanced representation model (from CL) surpasses the less balanced one (from CE) significantly, in terms of the top-1 accuracy (by $2 . 7 4 \\%$ ). For the crosstask setting, we take train/test splits of the PASCAL VOC (Everingham et al., 2010) and COCO (Lin et al., 2014) datasets as $\\mathcal { D } _ { \\mathrm { t r a i n } } / \\mathcal { D } _ { \\mathrm { t e s t } }$ for evaluating detection performance. The results are given in Table 1. Again, the balanced model (from the CL loss) outperforms the less balanced one (from the CE loss) significantly (up to $1 . 6 4 \\%$ ). In comparison, the improvement from the CL-trained model over the CE-trained model is moderate (around $0 . 3 \\%$ ) when using the full ImageNet for training, as CE can learn a relatively balanced feature space from a balanced dataset. This clearly shows that the generalization performance boost for the cross-domain and cross-task settings brought from CL-trained models does not simply stem from using self-supervised pre-training, but indeed come from learning more balanced feature spaces. ",
520
+ "bbox": [
521
+ 173,
522
+ 555,
523
+ 825,
524
+ 776
525
+ ],
526
+ "page_idx": 5
527
+ },
528
+ {
529
+ "type": "text",
530
+ "text": "4 LEARNING BALANCED FEATURE SPACES FOR RECOGNITION ",
531
+ "text_level": 1,
532
+ "bbox": [
533
+ 176,
534
+ 804,
535
+ 707,
536
+ 820
537
+ ],
538
+ "page_idx": 5
539
+ },
540
+ {
541
+ "type": "text",
542
+ "text": "The above studies demonstrate the representation models trained with the contrastive loss can generate balanced feature spaces showing strong generalizability. Here we explore how to effectively leverage these findings in practice. We introduce a new method that inherits the strength of the contrastive loss in learning balanced feature spaces and enhances the feature spaces’ semantic discrimination capability simultaneously. We thoroughly study its superiority via two application cases, i.e., the long-tailed recognition and pre-training representation models for downstream tasks. ",
543
+ "bbox": [
544
+ 174,
545
+ 840,
546
+ 825,
547
+ 924
548
+ ],
549
+ "page_idx": 5
550
+ },
551
+ {
552
+ "type": "text",
553
+ "text": "4.1 K-POSITIVE CONSTRASTIVE LOSS ",
554
+ "text_level": 1,
555
+ "bbox": [
556
+ 176,
557
+ 103,
558
+ 454,
559
+ 117
560
+ ],
561
+ "page_idx": 6
562
+ },
563
+ {
564
+ "type": "text",
565
+ "text": "Though balanced, the feature spaces from contrastive learning have limited capability of semantic discrimination, as shown in Figure 2 (left). This is because the contrastive loss blindly encourages instance-level discrimiantiveness. Every two instances, even if they are from the same class, are forced to be apart from each other in the learned feature space. To embed semantic discriminativeness into the representations while maintaining desired balancedness, we develop a new method to leverage the provided semantic labels to adaptively compute the instance contrastive loss. ",
566
+ "bbox": [
567
+ 174,
568
+ 128,
569
+ 825,
570
+ 213
571
+ ],
572
+ "page_idx": 6
573
+ },
574
+ {
575
+ "type": "text",
576
+ "text": "Concretely, given an anchor training instance $x _ { i }$ with its semantic label $y _ { i }$ , our proposed method draws $k$ instances from the same class to form the positive sample set $V _ { i , k } ^ { + }$ , instead of only using its augmentation as in Equation 2. Thus, it gives a new loss called $k$ -positive contrastive loss (KCL): ",
577
+ "bbox": [
578
+ 176,
579
+ 219,
580
+ 825,
581
+ 263
582
+ ],
583
+ "page_idx": 6
584
+ },
585
+ {
586
+ "type": "equation",
587
+ "img_path": "images/507293d6a69f04daef0d7a1b24c3af7d6eda01987943196f8ac887dcb94ccf50.jpg",
588
+ "text": "$$\n\\mathcal { L } _ { \\mathrm { K C L } } = \\frac { 1 } { N ( k + 1 ) } \\sum _ { i = 1 } ^ { N } \\sum _ { \\substack { v _ { i } ^ { + } \\in \\{ \\tilde { v } _ { i } \\} \\cup V _ { i , k } ^ { + } } } - \\log \\frac { \\exp ( v _ { i } \\cdot v _ { j } ^ { + } / \\tau ) } { \\exp ( v _ { i } \\cdot \\tilde { v } _ { i } / \\tau ) + \\sum _ { v _ { j } \\in V _ { i } } \\exp ( v _ { i } \\cdot v _ { j } / \\tau ) } ,\n$$",
589
+ "text_format": "latex",
590
+ "bbox": [
591
+ 222,
592
+ 265,
593
+ 774,
594
+ 314
595
+ ],
596
+ "page_idx": 6
597
+ },
598
+ {
599
+ "type": "text",
600
+ "text": "where $\\tilde { v } _ { i }$ is generated by augmenting $v _ { i }$ , $V _ { i }$ is the current batch of examples excluding $v _ { i }$ , and $V _ { i , k } ^ { + } \\subset V _ { i }$ is a positive set containing $k$ instances randomly drawn from the same class as $v _ { i }$ . The proposed KCL loss purposely keeps the number of positive instances equal, which is crucial for balancing the learned feature spaces. It brings two benefits. First, it helps learn representations with stronger discriminative ability as it leverages the label information as supervised learning. Secondly, it uses the same number of instances $( i . e . , k )$ for all the classes in positive pair construction which further balances the learned feature space. Note our proposed KCL is different from the supervised contrastive learning (Khosla et al., 2020) that leverages all the instances from the same class to construct the positive pairs, which cannot avoid the dominance of instance-rich classes in the representation learning. This is also evidenced by our following experiments on long-tailed recognition. In the following experiments, we choose $k = 6$ via validation and use ResNet50 as the backbone. Other hyper-parameter choices and implementation details are given in the appendix. ",
601
+ "bbox": [
602
+ 174,
603
+ 315,
604
+ 825,
605
+ 484
606
+ ],
607
+ "page_idx": 6
608
+ },
609
+ {
610
+ "type": "text",
611
+ "text": "4.2 LONG-TAILED RECOGNITION",
612
+ "text_level": 1,
613
+ "bbox": [
614
+ 176,
615
+ 501,
616
+ 418,
617
+ 515
618
+ ],
619
+ "page_idx": 6
620
+ },
621
+ {
622
+ "type": "text",
623
+ "text": "KCL provides feature spaces with desirable balancedness and semantic discriminativeness, which makes it naturally fit for addressing the challenges of long-tailed recognition, i.e., severe performance bias to the instance-rich classes and poor generalization to the instance-rare classes (Mahajan et al., 2018; Zhong et al., 2019). Here we implement and evaluate KCL for long-tailed recognition, following the two-stage training strategy from Kang et al. (2020): 1) train the representation model with the KCL loss; 2) learn a linear classifier with cross-entropy loss and class-balanced sampling. ",
624
+ "bbox": [
625
+ 174,
626
+ 526,
627
+ 825,
628
+ 609
629
+ ],
630
+ "page_idx": 6
631
+ },
632
+ {
633
+ "type": "text",
634
+ "text": "Baselines Besides well established state-of-the-arts, we consider following three kinds of baselines for justifying the advantages of KCL. (1) Classifier balancing methods, i.e., $\\tau { \\cdot }$ -norm and cRT (Kang et al., 2020), that re-train classifiers with class-balanced sampling as KCL but learn the representation models by supervised cross-entropy loss. Comparison with them helps understand the effectiveness of learning balanced features in long-tailed recognition. (2) Methods that train the representation model and classifier jointly with cross-entropy loss (SL) and various data re-sampling strategies, including instance-balanced (SL-i), class-balanced (SL-c), progressively-balanced (SL-p) and square-root re-sampling (SL-s) (Kang et al., 2020). Comparison with them will show advantages of KCL over these data-enriching strategies in feature space balancing. (3) A full-positive variant of $K C L$ , named full-positive contrastive learning (FCL), that uses all the available same-class samples in the current batch to construct positive pairs for computing the contrastive loss, which is similar to the supervised contrastive learning (Khosla et al., 2020). Comparing KCL with FCL will show the benefits of keeping the number of positive samples equal for all the anchor instances in KCL. ",
635
+ "bbox": [
636
+ 174,
637
+ 617,
638
+ 825,
639
+ 797
640
+ ],
641
+ "page_idx": 6
642
+ },
643
+ {
644
+ "type": "text",
645
+ "text": "Results We evaluate KCL and compare it with the above strong baselines on two large-scale benchmark datasets, ImageNet-LT (Liu et al., 2019) and iNaturalist 2018 (iNatrualist, 2018). For comprehensive evaluation, following (Liu et al., 2019), we split the classes of ImageNet-LT into many-shot $\\mathord { \\left. \\begin{array} { r l } \\end{array} \\right. } > 1 0 0$ images), medium-shot $2 0 \\mathrm { \\sim } 1 0 0$ images) and few-shot ${ < } 2 0$ images) groups. The results are summarized in Tables 2 and 3 respectively, along with the balancedness of these methods on ImageNet-LT in Figure 4. We make the following observations. ",
646
+ "bbox": [
647
+ 174,
648
+ 805,
649
+ 823,
650
+ 888
651
+ ],
652
+ "page_idx": 6
653
+ },
654
+ {
655
+ "type": "text",
656
+ "text": "More balanced feature spaces give better performance. We first compare KCL with cRT and $\\tau$ norm, the latest state-of-the-arts with feature spaces learned by supervised cross-entropy loss and ",
657
+ "bbox": [
658
+ 174,
659
+ 895,
660
+ 821,
661
+ 924
662
+ ],
663
+ "page_idx": 6
664
+ },
665
+ {
666
+ "type": "table",
667
+ "img_path": "images/8555c3ce727f1e86a3864ef5076097f9b5c7961f959cf2e53e29d93278f51a28.jpg",
668
+ "table_caption": [
669
+ "Table 2: ImageNet-LT results "
670
+ ],
671
+ "table_footnote": [],
672
+ "table_body": "<table><tr><td>Method</td><td>Many</td><td>Medium</td><td>Few</td><td>All</td></tr><tr><td>OLTR (Liu et al., 2019)a</td><td>35.8</td><td>32.3</td><td>21.5</td><td>32.2</td></tr><tr><td>Joint (SL-i) (Kang et al., 2020)</td><td>64.9</td><td>35.2</td><td>6.8</td><td>42.5</td></tr><tr><td>T-norm (Kang et al.,2020)</td><td>56.6</td><td>44.2</td><td>27.4</td><td>46.7</td></tr><tr><td>cRT (Kang et al.,2020)</td><td>58.8</td><td>44.0</td><td>26.1</td><td>47.3</td></tr><tr><td>FCL</td><td>61.4</td><td>47.0</td><td>28.2</td><td>49.8</td></tr><tr><td>KCL</td><td>61.8</td><td>49.4</td><td>30.9</td><td>51.5</td></tr></table>",
673
+ "bbox": [
674
+ 173,
675
+ 108,
676
+ 573,
677
+ 215
678
+ ],
679
+ "page_idx": 7
680
+ },
681
+ {
682
+ "type": "text",
683
+ "text": "aReproduced by re-running their code with ResNet50. ",
684
+ "bbox": [
685
+ 197,
686
+ 224,
687
+ 513,
688
+ 237
689
+ ],
690
+ "page_idx": 7
691
+ },
692
+ {
693
+ "type": "table",
694
+ "img_path": "images/77455a779b2a7acee24970c32b2a3923b9765af33fe78bbf1b882cde33240427.jpg",
695
+ "table_caption": [
696
+ "Table 3: iNaturalist 2018 results "
697
+ ],
698
+ "table_footnote": [],
699
+ "table_body": "<table><tr><td>Method</td><td>Top1</td></tr><tr><td>CB-Focal (Cui et al.,2019)</td><td>61.1</td></tr><tr><td>LDAM (Cao et al., 2019) LDAM+DRW (Cao et al., 2019)</td><td>64.6</td></tr><tr><td>cRT (Kang et al., 2020)</td><td>68.0</td></tr><tr><td>T-norm 1 (Kang et al.,2020)</td><td>65.2</td></tr><tr><td>BBN (Zhou et al., 2020)</td><td>65.6 66.3</td></tr><tr><td>FCL</td><td>66.4</td></tr><tr><td>KCL</td><td>68.6</td></tr></table>",
700
+ "bbox": [
701
+ 581,
702
+ 108,
703
+ 833,
704
+ 238
705
+ ],
706
+ "page_idx": 7
707
+ },
708
+ {
709
+ "type": "image",
710
+ "img_path": "images/0dfc211be8cb763d9cd6ec5aab1fa36600a718949cd3062426ed85ba5eca4ed9.jpg",
711
+ "image_caption": [
712
+ "Figure 4: Comparison of different methods on their feature space balancedness (left) and class-wise accuracy (right). Here the linear classifier is fine-tuned on the full ImageNet for representation evaluation (see Sec. 3.2). "
713
+ ],
714
+ "image_footnote": [],
715
+ "bbox": [
716
+ 169,
717
+ 247,
718
+ 629,
719
+ 366
720
+ ],
721
+ "page_idx": 7
722
+ },
723
+ {
724
+ "type": "text",
725
+ "text": "thus less balanced as demonstrated in Sec. 3. Compared with them, KCL improves the overall accuracy by a large margin $4 . 2 \\%$ on ImageNet-LT and $3 \\%$ on iNaturalist), demonstrating the importance of learning more balanced feature spaces for long-tailed recognition. ",
726
+ "bbox": [
727
+ 174,
728
+ 388,
729
+ 823,
730
+ 431
731
+ ],
732
+ "page_idx": 7
733
+ },
734
+ {
735
+ "type": "text",
736
+ "text": "KCL is more effective at learning balanced and discriminative feature spaces. Data re-sampling is widely used as a straightforward approach to alleviate performance bias for long-tailed recognition (Kang et al., 2020). We compare the feature space balancedness of KCL and SL methods with different data re-sampling strategies on ImageNet-LT in Figure 4. Clearly, data re-sampling cannot effectively improve balancedness of the feature space as KCL. Besides data re-sampling, Figure 4 also shows the balancedness of the feature spaces learned by the latest contrastive learning method MoCo (He et al., 2020) on ImageNet-LT. MoCo can balance the feature space but has lower accuracy, due to the lack of semantic discriminativeness in the learned feature space. KCL performs the best, demonstrating its effectiveness at learning both balanced and discriminative feature spaces. ",
737
+ "bbox": [
738
+ 174,
739
+ 438,
740
+ 825,
741
+ 563
742
+ ],
743
+ "page_idx": 7
744
+ },
745
+ {
746
+ "type": "text",
747
+ "text": "Equalizing the number of positive instances in KCL is important. To further justify the design of KCL loss in keeping the number of positive instances to be equal, we compare it with its variant FCL. From Tables 2, 3 and Figure 4, though FCL outperforms other baselines, its performance is inferior to KCL, in terms of both the overall accuracy and the balancedness of the learned feature spaces. Equalizing the number of positive instances as KCL is crucial for learning balanced feature spaces and improving recognition performance. ",
748
+ "bbox": [
749
+ 174,
750
+ 569,
751
+ 825,
752
+ 654
753
+ ],
754
+ "page_idx": 7
755
+ },
756
+ {
757
+ "type": "text",
758
+ "text": "4.3 PRE-TRAINING REPRESENTATION MODELS FOR DOWNSTREAM TASKS ",
759
+ "text_level": 1,
760
+ "bbox": [
761
+ 176,
762
+ 678,
763
+ 700,
764
+ 691
765
+ ],
766
+ "page_idx": 7
767
+ },
768
+ {
769
+ "type": "text",
770
+ "text": "The effectiveness of KCL is not limited to the cases where training datasets are imbalanced. In this section, we study KCL as a general representation learning method, i.e., we apply KCL for pretraining a representation model on balanced datasets which is later fine-tuned for downstream tasks, including the out-of-distribution (OOD) recognition and detection. ",
771
+ "bbox": [
772
+ 174,
773
+ 707,
774
+ 823,
775
+ 762
776
+ ],
777
+ "page_idx": 7
778
+ },
779
+ {
780
+ "type": "text",
781
+ "text": "Out-of-distribution Generalization Similar to Sec.3.3, we evenly divide the 1000 classes in ImageNet into two splits, use one split to learning representation backbone and the thoer one to learn a linear classifier with the backbone fixed. We adopt two different splitting strategies. Split-overlap (split with semantic overlap) allows the classes within the two splits to share the same super class (e.g., dog and wolf from canidae are put into different splits) in the ImageNet ontology. As such, though the target classes are all novel to the representation model, some of their attributes have been seen by the model before from the source classes. In contrast, Split-independent (split without semantic overlap) strictly avoids classes from the same super classes to be distributed into different splits. Split-independent presents a more challenging case for model’s generalization ability as all the target classes (and attributes) to recognize are novel. ",
782
+ "bbox": [
783
+ 174,
784
+ 785,
785
+ 825,
786
+ 924
787
+ ],
788
+ "page_idx": 7
789
+ },
790
+ {
791
+ "type": "table",
792
+ "img_path": "images/04e1b227c551c37aa16bde6d9f7ec569279aed448b1c7b52c4f52b25f4964e0c.jpg",
793
+ "table_caption": [
794
+ "Table 4: OOD generalization results (top-1 accuracy) on balanced datasets. We use the source classes of origninal ImageNet to learn representation network (ResNet50), and use the target classes and all classes respectively to learn linear classifiers for evaluation. "
795
+ ],
796
+ "table_footnote": [],
797
+ "table_body": "<table><tr><td></td><td colspan=\"3\">Split-overlap</td><td colspan=\"3\">Split-independent</td></tr><tr><td></td><td>source</td><td>target</td><td>all</td><td>source</td><td>target</td><td>all</td></tr><tr><td>CE</td><td>81.2</td><td>70.7</td><td>67.2</td><td>82.8</td><td>50.3</td><td>62.4</td></tr><tr><td>CL</td><td>67.0</td><td>60.1</td><td>58.3</td><td>68.2</td><td>54.8</td><td>58.2</td></tr><tr><td>KCL</td><td>81.4</td><td>74.8 (+4.1)</td><td>70.8 (+3.6)</td><td>83.2</td><td>58.1 (+3.3)</td><td>67.2 (+4.8)</td></tr></table>",
798
+ "bbox": [
799
+ 259,
800
+ 151,
801
+ 735,
802
+ 238
803
+ ],
804
+ "page_idx": 8
805
+ },
806
+ {
807
+ "type": "text",
808
+ "text": "The generalization performance comparsion of the representation models with different methods is given in Table 4. When the source classes and target classes share similar semantics (on splitoverlap), the CE-trained model surpasses the CL-trained model on both the source and target classes. But when looking into the generalization gap (i.e., the difference between the source and target accuracy), the CL-trained model suffers larger generalization gap than the CL-trained model (10.5 vs. 1.8). When there is not semantic overlap between source and target (on split-independent), the CL-model outperforms CE-model on the target classes by $4 . 3 \\%$ with much smaller generalization gap (13.4 v.s. 32.5). By comparing the “full” performance from split-overlap to split-independent, one can observe that CL loss performs consistently well (58.3 and 58.2), but CE drops as large as $5 \\%$ . This implies that CL is robust to imbalanced training distribution used for representation learning, while CE is extremely sensitive to it. These results clearly demonstrate the consistent superiority of balanced representation learning in terms of generalization for various training dataset distribution. Notably, our proposed KCL loss surpasses both CE and CL loss on all the four different settings by a large margin (more than 3 points). These results clearly demonstrate that KCL is able to learn a balanced and discriminative feature space, and balancedness is a general property that benefits both balanced and imbalanced datasets. ",
809
+ "bbox": [
810
+ 173,
811
+ 263,
812
+ 826,
813
+ 486
814
+ ],
815
+ "page_idx": 8
816
+ },
817
+ {
818
+ "type": "table",
819
+ "img_path": "images/99de12dfa723404deb568e9861e8abd3ba2c09164cdbbc652629d48ee3985ce6.jpg",
820
+ "table_caption": [
821
+ "Table 5: Comparison of different representation learning methods for the downstream tasks. "
822
+ ],
823
+ "table_footnote": [],
824
+ "table_body": "<table><tr><td></td><td>repr</td><td>VOC (AP50)</td><td>COCO (APbb)</td><td>COCO (APmk)</td></tr><tr><td>SL</td><td>76.6</td><td>81.26</td><td>40.08</td><td>34.85</td></tr><tr><td>MoCo</td><td>60.6</td><td>81.28</td><td>40.41</td><td>35.15</td></tr><tr><td>KCL</td><td>76.8</td><td>82.32</td><td>40.79</td><td>35.45</td></tr></table>",
825
+ "bbox": [
826
+ 295,
827
+ 523,
828
+ 700,
829
+ 592
830
+ ],
831
+ "page_idx": 8
832
+ },
833
+ {
834
+ "type": "text",
835
+ "text": "Cross-domain and cross-task generalization In this part, we first pretrain a model on ImageNet then further finetune it for downstream object detaction tasks (including PASCAL VOC and COCO). Note we aim to study the generalizability of KCL as a representation learning method, rather than aiming at state-of-the-art performance. Hence we compare it with the vanilla supervised crossentropy loss (SL) and MoCo (which the KCL is built on) (He et al., 2020). The results are summarized in Table 5. We also evaluate the discrminativeness of the learned representations (the “repr” in the table) from their classification accuracy by learning a linear classifier on the pretraining datasets. Clearly, KCL outperforms SL and MoCo for both downstream tasks. This is because KCL learns more balanced feature spaces than SL with similar discriminativeness, and learns more discriminative features than MoCo. For more results, Please refer to the appendix . ",
836
+ "bbox": [
837
+ 173,
838
+ 619,
839
+ 825,
840
+ 758
841
+ ],
842
+ "page_idx": 8
843
+ },
844
+ {
845
+ "type": "text",
846
+ "text": "5 CONCLUSIONS ",
847
+ "text_level": 1,
848
+ "bbox": [
849
+ 176,
850
+ 780,
851
+ 328,
852
+ 796
853
+ ],
854
+ "page_idx": 8
855
+ },
856
+ {
857
+ "type": "text",
858
+ "text": "This work piloted studies on performance of the self-supervised learning methods for imbalanced datasets, and made several intriguing findings. At the heart of these findings is the balanced feature space, which is identified to be an inherent property of the representations learned by the contrastive learning and bring stronger generalizability. It provides a new perspective for understanding the behavior of the contrastive learning. This work further developed a new representation learning method to leverage the benefits of balanced feature spaces. We believe the findings and method developed here are inspiring for the future research on representation learning. However, theoretical understandings on balanced feature spaces are not mature yet and worthy of future exploration. ",
859
+ "bbox": [
860
+ 174,
861
+ 811,
862
+ 825,
863
+ 924
864
+ ],
865
+ "page_idx": 8
866
+ },
867
+ {
868
+ "type": "text",
869
+ "text": "ACKNOWLEDGEMENT ",
870
+ "text_level": 1,
871
+ "bbox": [
872
+ 176,
873
+ 103,
874
+ 357,
875
+ 117
876
+ ],
877
+ "page_idx": 9
878
+ },
879
+ {
880
+ "type": "text",
881
+ "text": "We would like to express our deepest gratitude to Saining Xie for his comments and suggestions throughout this project and the writing of the paper, to Yu Sun for his insightful discussion at the begining of this project. ",
882
+ "bbox": [
883
+ 174,
884
+ 133,
885
+ 825,
886
+ 176
887
+ ],
888
+ "page_idx": 9
889
+ },
890
+ {
891
+ "type": "text",
892
+ "text": "REFERENCES ",
893
+ "text_level": 1,
894
+ "bbox": [
895
+ 174,
896
+ 196,
897
+ 285,
898
+ 212
899
+ ],
900
+ "page_idx": 9
901
+ },
902
+ {
903
+ "type": "text",
904
+ "text": "Kaidi Cao, Colin Wei, Adrien Gaidon, Nikos Arechiga, and Tengyu Ma. Learning imbalanced datasets with label-distribution-aware margin loss. In Advances in Neural Information Processing Systems, 2019. ",
905
+ "bbox": [
906
+ 174,
907
+ 219,
908
+ 826,
909
+ 262
910
+ ],
911
+ "page_idx": 9
912
+ },
913
+ {
914
+ "type": "text",
915
+ "text": "Fabio M Carlucci, Antonio D’Innocente, Silvia Bucci, Barbara Caputo, and Tatiana Tommasi. Domain generalization by solving jigsaw puzzles. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2229–2238, 2019. ",
916
+ "bbox": [
917
+ 173,
918
+ 270,
919
+ 821,
920
+ 314
921
+ ],
922
+ "page_idx": 9
923
+ },
924
+ {
925
+ "type": "text",
926
+ "text": "Nitesh V Chawla, Kevin W Bowyer, Lawrence O Hall, and W Philip Kegelmeyer. Smote: synthetic minority over-sampling technique. Journal of artificial intelligence research, 16:321–357, 2002. ",
927
+ "bbox": [
928
+ 173,
929
+ 321,
930
+ 821,
931
+ 352
932
+ ],
933
+ "page_idx": 9
934
+ },
935
+ {
936
+ "type": "text",
937
+ "text": "Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. arXiv preprint arXiv:2002.05709, 2020a. ",
938
+ "bbox": [
939
+ 173,
940
+ 359,
941
+ 823,
942
+ 390
943
+ ],
944
+ "page_idx": 9
945
+ },
946
+ {
947
+ "type": "text",
948
+ "text": "Ting Chen, Simon Kornblith, Kevin Swersky, Mohammad Norouzi, and Geoffrey Hinton. Big selfsupervised models are strong semi-supervised learners. arXiv preprint arXiv:2006.10029, 2020b. ",
949
+ "bbox": [
950
+ 174,
951
+ 397,
952
+ 823,
953
+ 426
954
+ ],
955
+ "page_idx": 9
956
+ },
957
+ {
958
+ "type": "text",
959
+ "text": "Xinlei Chen, Haoqi Fan, Ross Girshick, and Kaiming He. Improved baselines with momentum contrastive learning. arXiv preprint arXiv:2003.04297, 2020c. ",
960
+ "bbox": [
961
+ 173,
962
+ 435,
963
+ 823,
964
+ 464
965
+ ],
966
+ "page_idx": 9
967
+ },
968
+ {
969
+ "type": "text",
970
+ "text": "Yin Cui, Menglin Jia, Tsung-Yi Lin, Yang Song, and Serge Belongie. Class-balanced loss based on effective number of samples. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 9268–9277, 2019. ",
971
+ "bbox": [
972
+ 174,
973
+ 473,
974
+ 823,
975
+ 516
976
+ ],
977
+ "page_idx": 9
978
+ },
979
+ {
980
+ "type": "text",
981
+ "text": "Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pp. 248–255. Ieee, 2009. ",
982
+ "bbox": [
983
+ 173,
984
+ 523,
985
+ 823,
986
+ 568
987
+ ],
988
+ "page_idx": 9
989
+ },
990
+ {
991
+ "type": "text",
992
+ "text": "Carl Doersch and Andrew Zisserman. Multi-task self-supervised visual learning. In Proceedings of the IEEE International Conference on Computer Vision, pp. 2051–2060, 2017. ",
993
+ "bbox": [
994
+ 174,
995
+ 575,
996
+ 823,
997
+ 606
998
+ ],
999
+ "page_idx": 9
1000
+ },
1001
+ {
1002
+ "type": "text",
1003
+ "text": "Carl Doersch, Abhinav Gupta, and Alexei A Efros. Unsupervised visual representation learning by context prediction. In Proceedings of the IEEE international conference on computer vision, pp. 1422–1430, 2015. ",
1004
+ "bbox": [
1005
+ 174,
1006
+ 613,
1007
+ 823,
1008
+ 656
1009
+ ],
1010
+ "page_idx": 9
1011
+ },
1012
+ {
1013
+ "type": "text",
1014
+ "text": "Jeff Donahue, Philipp Krahenb ¨ uhl, and Trevor Darrell. Adversarial feature learning. ¨ arXiv preprint arXiv:1605.09782, 2016. ",
1015
+ "bbox": [
1016
+ 171,
1017
+ 664,
1018
+ 825,
1019
+ 694
1020
+ ],
1021
+ "page_idx": 9
1022
+ },
1023
+ {
1024
+ "type": "text",
1025
+ "text": "Mark Everingham, Luc Van Gool, Christopher KI Williams, John Winn, and Andrew Zisserman. The pascal visual object classes (voc) challenge. International journal of computer vision, 88(2): 303–338, 2010. ",
1026
+ "bbox": [
1027
+ 173,
1028
+ 702,
1029
+ 825,
1030
+ 746
1031
+ ],
1032
+ "page_idx": 9
1033
+ },
1034
+ {
1035
+ "type": "text",
1036
+ "text": "Spyros Gidaris, Praveer Singh, and Nikos Komodakis. Unsupervised representation learning by predicting image rotations. arXiv preprint arXiv:1803.07728, 2018. ",
1037
+ "bbox": [
1038
+ 171,
1039
+ 753,
1040
+ 823,
1041
+ 784
1042
+ ],
1043
+ "page_idx": 9
1044
+ },
1045
+ {
1046
+ "type": "text",
1047
+ "text": "Raia Hadsell, Sumit Chopra, and Yann LeCun. Dimensionality reduction by learning an invariant mapping. In 2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’06), volume 2, pp. 1735–1742. IEEE, 2006. ",
1048
+ "bbox": [
1049
+ 174,
1050
+ 791,
1051
+ 823,
1052
+ 835
1053
+ ],
1054
+ "page_idx": 9
1055
+ },
1056
+ {
1057
+ "type": "text",
1058
+ "text": "Hui Han, Wen-Yuan Wang, and Bing-Huan Mao. Borderline-smote: a new over-sampling method in imbalanced data sets learning. In International conference on intelligent computing, pp. 878–887. Springer, 2005. ",
1059
+ "bbox": [
1060
+ 173,
1061
+ 843,
1062
+ 823,
1063
+ 886
1064
+ ],
1065
+ "page_idx": 9
1066
+ },
1067
+ {
1068
+ "type": "text",
1069
+ "text": "Kaiming He, Georgia Gkioxari, Piotr Dollar, and Ross Girshick. Mask r-cnn. In ´ Proceedings of the IEEE international conference on computer vision, pp. 2961–2969, 2017. ",
1070
+ "bbox": [
1071
+ 173,
1072
+ 895,
1073
+ 821,
1074
+ 924
1075
+ ],
1076
+ "page_idx": 9
1077
+ },
1078
+ {
1079
+ "type": "text",
1080
+ "text": "Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross Girshick. Momentum contrast for unsupervised visual representation learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 9729–9738, 2020. ",
1081
+ "bbox": [
1082
+ 176,
1083
+ 103,
1084
+ 823,
1085
+ 146
1086
+ ],
1087
+ "page_idx": 10
1088
+ },
1089
+ {
1090
+ "type": "text",
1091
+ "text": "Olivier J Henaff, Aravind Srinivas, Jeffrey De Fauw, Ali Razavi, Carl Doersch, SM Eslami, and ´ Aaron van den Oord. Data-efficient image recognition with contrastive predictive coding. arXiv preprint arXiv:1905.09272, 2019. ",
1092
+ "bbox": [
1093
+ 178,
1094
+ 155,
1095
+ 823,
1096
+ 196
1097
+ ],
1098
+ "page_idx": 10
1099
+ },
1100
+ {
1101
+ "type": "text",
1102
+ "text": "R Devon Hjelm, Alex Fedorov, Samuel Lavoie-Marchildon, Karan Grewal, Phil Bachman, Adam Trischler, and Yoshua Bengio. Learning deep representations by mutual information estimation and maximization. arXiv preprint arXiv:1808.06670, 2018. ",
1103
+ "bbox": [
1104
+ 178,
1105
+ 205,
1106
+ 823,
1107
+ 248
1108
+ ],
1109
+ "page_idx": 10
1110
+ },
1111
+ {
1112
+ "type": "text",
1113
+ "text": "iNatrualist. The inaturalist 2018 competition dataset. https://github.com/visipedia/inat comp/tree/master/2018, 2018. ",
1114
+ "bbox": [
1115
+ 174,
1116
+ 257,
1117
+ 820,
1118
+ 286
1119
+ ],
1120
+ "page_idx": 10
1121
+ },
1122
+ {
1123
+ "type": "text",
1124
+ "text": "Simon Jenni and Paolo Favaro. Self-supervised feature learning by learning to spot artifacts. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2733– 2742, 2018. ",
1125
+ "bbox": [
1126
+ 174,
1127
+ 294,
1128
+ 825,
1129
+ 337
1130
+ ],
1131
+ "page_idx": 10
1132
+ },
1133
+ {
1134
+ "type": "text",
1135
+ "text": "Bingyi Kang, Saining Xie, Marcus Rohrbach, Zhicheng Yan, Albert Gordo, Jiashi Feng, and Yannis Kalantidis. Decoupling representation and classifier for long-tailed recognition. In International Conference on Learning Representations, 2020. ",
1136
+ "bbox": [
1137
+ 173,
1138
+ 344,
1139
+ 826,
1140
+ 388
1141
+ ],
1142
+ "page_idx": 10
1143
+ },
1144
+ {
1145
+ "type": "text",
1146
+ "text": "Salman Khan, Munawar Hayat, Syed Waqas Zamir, Jianbing Shen, and Ling Shao. Striking the right balance with uncertainty. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 2019. ",
1147
+ "bbox": [
1148
+ 173,
1149
+ 396,
1150
+ 825,
1151
+ 439
1152
+ ],
1153
+ "page_idx": 10
1154
+ },
1155
+ {
1156
+ "type": "text",
1157
+ "text": "Salman H Khan, Munawar Hayat, Mohammed Bennamoun, Ferdous A Sohel, and Roberto Togneri. Cost-sensitive learning of deep feature representations from imbalanced data. IEEE transactions on neural networks and learning systems, 29(8):3573–3587, 2017. ",
1158
+ "bbox": [
1159
+ 174,
1160
+ 448,
1161
+ 823,
1162
+ 491
1163
+ ],
1164
+ "page_idx": 10
1165
+ },
1166
+ {
1167
+ "type": "text",
1168
+ "text": "Prannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna, Yonglong Tian, Phillip Isola, Aaron Maschinot, Ce Liu, and Dilip Krishnan. Supervised contrastive learning. arXiv preprint arXiv:2004.11362, 2020. ",
1169
+ "bbox": [
1170
+ 173,
1171
+ 498,
1172
+ 823,
1173
+ 541
1174
+ ],
1175
+ "page_idx": 10
1176
+ },
1177
+ {
1178
+ "type": "text",
1179
+ "text": "Gustav Larsson, Michael Maire, and Gregory Shakhnarovich. Learning representations for automatic colorization. In European conference on computer vision, pp. 577–593. Springer, 2016. ",
1180
+ "bbox": [
1181
+ 171,
1182
+ 550,
1183
+ 823,
1184
+ 580
1185
+ ],
1186
+ "page_idx": 10
1187
+ },
1188
+ {
1189
+ "type": "text",
1190
+ "text": "Gustav Larsson, Michael Maire, and Gregory Shakhnarovich. Colorization as a proxy task for visual understanding. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 6874–6883, 2017. ",
1191
+ "bbox": [
1192
+ 173,
1193
+ 587,
1194
+ 823,
1195
+ 631
1196
+ ],
1197
+ "page_idx": 10
1198
+ },
1199
+ {
1200
+ "type": "text",
1201
+ "text": "Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollar, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In ´ European conference on computer vision, pp. 740–755. Springer, 2014. ",
1202
+ "bbox": [
1203
+ 174,
1204
+ 638,
1205
+ 825,
1206
+ 683
1207
+ ],
1208
+ "page_idx": 10
1209
+ },
1210
+ {
1211
+ "type": "text",
1212
+ "text": "Ziwei Liu, Zhongqi Miao, Xiaohang Zhan, Jiayun Wang, Boqing Gong, and Stella X Yu. Large-scale long-tailed recognition in an open world. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2537–2546, 2019. ",
1213
+ "bbox": [
1214
+ 174,
1215
+ 689,
1216
+ 823,
1217
+ 733
1218
+ ],
1219
+ "page_idx": 10
1220
+ },
1221
+ {
1222
+ "type": "text",
1223
+ "text": "Dhruv Mahajan, Ross Girshick, Vignesh Ramanathan, Kaiming He, Manohar Paluri, Yixuan Li, Ashwin Bharambe, and Laurens van der Maaten. Exploring the limits of weakly supervised pretraining. In Proceedings of the European Conference on Computer Vision (ECCV), pp. 181– 196, 2018. ",
1224
+ "bbox": [
1225
+ 173,
1226
+ 741,
1227
+ 825,
1228
+ 797
1229
+ ],
1230
+ "page_idx": 10
1231
+ },
1232
+ {
1233
+ "type": "text",
1234
+ "text": "Alejandro Newell and Jia Deng. How useful is self-supervised pretraining for visual tasks? In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 7345– 7354, 2020. ",
1235
+ "bbox": [
1236
+ 173,
1237
+ 806,
1238
+ 821,
1239
+ 848
1240
+ ],
1241
+ "page_idx": 10
1242
+ },
1243
+ {
1244
+ "type": "text",
1245
+ "text": "Mehdi Noroozi and Paolo Favaro. Unsupervised learning of visual representations by solving jigsaw puzzles. In European Conference on Computer Vision, pp. 69–84. Springer, 2016. ",
1246
+ "bbox": [
1247
+ 173,
1248
+ 858,
1249
+ 820,
1250
+ 887
1251
+ ],
1252
+ "page_idx": 10
1253
+ },
1254
+ {
1255
+ "type": "text",
1256
+ "text": "Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018. ",
1257
+ "bbox": [
1258
+ 174,
1259
+ 895,
1260
+ 820,
1261
+ 924
1262
+ ],
1263
+ "page_idx": 10
1264
+ },
1265
+ {
1266
+ "type": "text",
1267
+ "text": "Deepak Pathak, Philipp Krahenbuhl, Jeff Donahue, Trevor Darrell, and Alexei A Efros. Context encoders: Feature learning by inpainting. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 2536–2544, 2016. ",
1268
+ "bbox": [
1269
+ 176,
1270
+ 103,
1271
+ 821,
1272
+ 146
1273
+ ],
1274
+ "page_idx": 11
1275
+ },
1276
+ {
1277
+ "type": "text",
1278
+ "text": "Shaoqing Ren, Kaiming He, Ross Girshick, and Jian Sun. Faster r-cnn: Towards real-time object detection with region proposal networks. In Advances in neural information processing systems, pp. 91–99, 2015. ",
1279
+ "bbox": [
1280
+ 176,
1281
+ 155,
1282
+ 821,
1283
+ 196
1284
+ ],
1285
+ "page_idx": 11
1286
+ },
1287
+ {
1288
+ "type": "text",
1289
+ "text": "Li Shen, Zhouchen Lin, and Qingming Huang. Relay backpropagation for effective learning of deep convolutional neural networks. In European conference on computer vision, pp. 467–482. Springer, 2016. ",
1290
+ "bbox": [
1291
+ 173,
1292
+ 205,
1293
+ 825,
1294
+ 250
1295
+ ],
1296
+ "page_idx": 11
1297
+ },
1298
+ {
1299
+ "type": "text",
1300
+ "text": "Merrielle Spain and Pietro Perona. Measuring and predicting importance of objects in our visual world. 2007. ",
1301
+ "bbox": [
1302
+ 174,
1303
+ 257,
1304
+ 821,
1305
+ 287
1306
+ ],
1307
+ "page_idx": 11
1308
+ },
1309
+ {
1310
+ "type": "text",
1311
+ "text": "Vladimir Vapnik. The nature of statistical learning theory. Springer science & business media, 2013. ",
1312
+ "bbox": [
1313
+ 173,
1314
+ 295,
1315
+ 821,
1316
+ 325
1317
+ ],
1318
+ "page_idx": 11
1319
+ },
1320
+ {
1321
+ "type": "text",
1322
+ "text": "Tongzhou Wang and Phillip Isola. Understanding contrastive representation learning through alignment and uniformity on the hypersphere. arXiv preprint arXiv:2005.10242, 2020. ",
1323
+ "bbox": [
1324
+ 173,
1325
+ 333,
1326
+ 820,
1327
+ 363
1328
+ ],
1329
+ "page_idx": 11
1330
+ },
1331
+ {
1332
+ "type": "text",
1333
+ "text": "Yu-Xiong Wang, Deva Ramanan, and Martial Hebert. Learning to model the tail. In Advances in Neural Information Processing Systems, pp. 7029–7039, 2017. ",
1334
+ "bbox": [
1335
+ 174,
1336
+ 371,
1337
+ 820,
1338
+ 401
1339
+ ],
1340
+ "page_idx": 11
1341
+ },
1342
+ {
1343
+ "type": "text",
1344
+ "text": "Chen Wei, Lingxi Xie, Xutong Ren, Yingda Xia, Chi Su, Jiaying Liu, Qi Tian, and Alan L Yuille. Iterative reorganization with weak spatial constraints: Solving arbitrary jigsaw puzzles for unsupervised representation learning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1910–1919, 2019. ",
1345
+ "bbox": [
1346
+ 173,
1347
+ 409,
1348
+ 825,
1349
+ 465
1350
+ ],
1351
+ "page_idx": 11
1352
+ },
1353
+ {
1354
+ "type": "text",
1355
+ "text": "Zhirong Wu, Yuanjun Xiong, Stella X Yu, and Dahua Lin. Unsupervised feature learning via nonparametric instance discrimination. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 3733–3742, 2018. ",
1356
+ "bbox": [
1357
+ 173,
1358
+ 473,
1359
+ 826,
1360
+ 517
1361
+ ],
1362
+ "page_idx": 11
1363
+ },
1364
+ {
1365
+ "type": "text",
1366
+ "text": "Yuzhe Yang and Zhi Xu. Rethinking the value of labels for improving class-imbalanced learning. In Conference on Neural Information Processing Systems (NeurIPS), 2020. ",
1367
+ "bbox": [
1368
+ 173,
1369
+ 525,
1370
+ 823,
1371
+ 555
1372
+ ],
1373
+ "page_idx": 11
1374
+ },
1375
+ {
1376
+ "type": "text",
1377
+ "text": "Yaoyao Zhong, Weihong Deng, Mei Wang, Jiani Hu, Jianteng Peng, Xunqiang Tao, and Yaohai Huang. Unequal-training for deep face recognition with long-tailed noisy data. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, June 2019. ",
1378
+ "bbox": [
1379
+ 176,
1380
+ 563,
1381
+ 823,
1382
+ 607
1383
+ ],
1384
+ "page_idx": 11
1385
+ },
1386
+ {
1387
+ "type": "text",
1388
+ "text": "Bolei Zhou, Agata Lapedriza, Aditya Khosla, Aude Oliva, and Antonio Torralba. Places: A 10 million image database for scene recognition. IEEE transactions on pattern analysis and machine intelligence, 40(6):1452–1464, 2017. ",
1389
+ "bbox": [
1390
+ 174,
1391
+ 614,
1392
+ 825,
1393
+ 659
1394
+ ],
1395
+ "page_idx": 11
1396
+ },
1397
+ {
1398
+ "type": "text",
1399
+ "text": "Boyan Zhou, Quan Cui, Xiu-Shen Wei, and Zhao-Min Chen. Bbn: Bilateral-branch network with cumulative learning for long-tailed visual recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 9719–9728, 2020. ",
1400
+ "bbox": [
1401
+ 174,
1402
+ 666,
1403
+ 823,
1404
+ 710
1405
+ ],
1406
+ "page_idx": 11
1407
+ },
1408
+ {
1409
+ "type": "text",
1410
+ "text": "George Kingsley Zipf. The psycho-biology of language: An introduction to dynamic philology, volume 21. Psychology Press, 1999. ",
1411
+ "bbox": [
1412
+ 173,
1413
+ 718,
1414
+ 823,
1415
+ 748
1416
+ ],
1417
+ "page_idx": 11
1418
+ },
1419
+ {
1420
+ "type": "text",
1421
+ "text": "A IMPLEMENTATION DETAILS ",
1422
+ "text_level": 1,
1423
+ "bbox": [
1424
+ 178,
1425
+ 102,
1426
+ 439,
1427
+ 117
1428
+ ],
1429
+ "page_idx": 12
1430
+ },
1431
+ {
1432
+ "type": "text",
1433
+ "text": "Representation Learning For supervised cross-entropy (CE) loss, we adopt the standard PyTorch distributed training implementation3. For unsupervised contrastive loss (CL), we use the official implementation4 of MoCo (He et al., 2020) with default hyper-parameters. Our $k$ -positive contrastive loss is implemented based on MoCo by randomly selecting $k$ positive examples from the key memory for each of the query example. When KCL is applied for a long-tailed dataset, there might be less than $k$ positive examples in the memory for some of the classes. In such cases, we use all the positive examples. Besides, we keep all the hyper-parameters (e.g., data augmentation, learning rate and batch size) the same as supervised learning. We only carefully tune the number of training epochs for KCL to make it achieve similar performance as supervised learning on a balanced dataset (full Imagenet) for fair comparison (see Table 6). As a result, throughout the paper our KCL is trained for 200 epochs while its supervised counterpart is trained for 90 epochs. This is reasonable as contrastive learning usually takes much longer to converge (He et al., 2020). We are using $k = 6$ for KCL throughout the paper, which is carefully tuned on the validation set of ImageNet-LT, as shown in Fig. 5. The detailed hyper-parameters of different loss functions are given in Table 7. ",
1434
+ "bbox": [
1435
+ 173,
1436
+ 133,
1437
+ 825,
1438
+ 328
1439
+ ],
1440
+ "page_idx": 12
1441
+ },
1442
+ {
1443
+ "type": "table",
1444
+ "img_path": "images/e5c38b26ca6a1ba84a5d5076a653095dc663c270515f4a50655715f503bcf12e.jpg",
1445
+ "table_caption": [
1446
+ "Table 6: Results on full ImageNet. ",
1447
+ "Accuracies on ImageNet-LT (val) "
1448
+ ],
1449
+ "table_footnote": [],
1450
+ "table_body": "<table><tr><td></td><td>Top1</td><td>Top5</td></tr><tr><td>CE (90 epochs)</td><td>76.616</td><td>93.090</td></tr><tr><td>SCL (200 epochs)</td><td>76.976</td><td>92.972</td></tr><tr><td>KCL (200 epochs)</td><td>76.814</td><td>92.936</td></tr></table>",
1451
+ "bbox": [
1452
+ 370,
1453
+ 367,
1454
+ 624,
1455
+ 434
1456
+ ],
1457
+ "page_idx": 12
1458
+ },
1459
+ {
1460
+ "type": "image",
1461
+ "img_path": "images/33754ee80a4717609f76425f0845736ac46feb77ffd76cedf2e36535f272680a.jpg",
1462
+ "image_caption": [
1463
+ "Figure 5: Validation accuracies of KCL on ImageNet-LT as the value of $k$ varies. "
1464
+ ],
1465
+ "image_footnote": [],
1466
+ "bbox": [
1467
+ 171,
1468
+ 465,
1469
+ 434,
1470
+ 625
1471
+ ],
1472
+ "page_idx": 12
1473
+ },
1474
+ {
1475
+ "type": "table",
1476
+ "img_path": "images/4ddf7a015bcdccb5087ff5a3c362bb2f2266d5a485fd7917c3b28689366b1448.jpg",
1477
+ "table_caption": [
1478
+ "Table 7: Hyper-parameters used by different loss functions. “default” means the standard data augmentation strategies used by supervised learning. "
1479
+ ],
1480
+ "table_footnote": [],
1481
+ "table_body": "<table><tr><td>hps</td><td>CE</td><td>CL</td><td>KCL</td></tr><tr><td>epochs</td><td>90</td><td>200</td><td>200</td></tr><tr><td>batch size</td><td>256</td><td>256</td><td>256</td></tr><tr><td>learning rate</td><td>0.1</td><td>0.03</td><td>0.1</td></tr><tr><td>learning rate schedule</td><td>cosine</td><td>step</td><td>cosine</td></tr><tr><td>data augmentation</td><td>default</td><td>moco v1</td><td>default</td></tr><tr><td>memory size</td><td>1</td><td>65536</td><td>65536</td></tr><tr><td>encoder momentum</td><td>=</td><td>0.999</td><td>0.999</td></tr><tr><td>feature dimension</td><td></td><td>128</td><td>128</td></tr><tr><td>softmax temperature</td><td></td><td>0.07</td><td>0.07</td></tr><tr><td>k</td><td></td><td>1</td><td>6</td></tr></table>",
1482
+ "bbox": [
1483
+ 473,
1484
+ 455,
1485
+ 816,
1486
+ 609
1487
+ ],
1488
+ "page_idx": 12
1489
+ },
1490
+ {
1491
+ "type": "text",
1492
+ "text": "Classifier Learning We need to train linear classifiers in two cases. 1) representation evalauation (Sec. 3 and Figure 4). For CE-learned representations, we train a linear classifier using the same parameters as representation learning in Table 7 with a smaller number of epochs (10). For CL and KCL, we adopt the classifier training protocol introduced by MoCo (He et al., 2020) with default hyper-parameters (i.e., learning rate 30 and weight decay 0). 2) Long-tailed recognition (Sec. 4.2). We obtain a re-balanced classifier for CE representations following Kang et al. (2020), and adopt the MoCo classifier learning strategy with class-balanced sampling by setting the learning rate to 10 on ImageNet-LT and 30 on iNaturalist 2018. ",
1493
+ "bbox": [
1494
+ 174,
1495
+ 676,
1496
+ 825,
1497
+ 787
1498
+ ],
1499
+ "page_idx": 12
1500
+ },
1501
+ {
1502
+ "type": "text",
1503
+ "text": "Detection model training We use exactly the same setting and evaluation metrics as He et al. (2020). R50-C4 backbone is used with BN tuned. The image is rescaled to [640, 800] during training and 800 at inference. All layers are fine-tuned end-to-end with batch size $= 1 6$ . For Pascal VOC, we train Faster R-CNN (Ren et al., 2015) on trainva $. 0 7 + 1 2$ set with $2 4 \\mathrm { k }$ schedule and evaluate on test07 set. For COCO, we train Mask R-CNN (He et al., 2017) on train2017 set with $\\times 2$ schedule and evaluate on val2017 set. ",
1504
+ "bbox": [
1505
+ 174,
1506
+ 804,
1507
+ 825,
1508
+ 887
1509
+ ],
1510
+ "page_idx": 12
1511
+ },
1512
+ {
1513
+ "type": "text",
1514
+ "text": "B DATASET CONSTRUCTION ",
1515
+ "text_level": 1,
1516
+ "bbox": [
1517
+ 176,
1518
+ 102,
1519
+ 426,
1520
+ 118
1521
+ ],
1522
+ "page_idx": 13
1523
+ },
1524
+ {
1525
+ "type": "text",
1526
+ "text": "Datasets for studying balancedness of feature spaces We here explain the details on the construction of the series of datasets used in our study in Sec. 3. ",
1527
+ "bbox": [
1528
+ 173,
1529
+ 133,
1530
+ 821,
1531
+ 162
1532
+ ],
1533
+ "page_idx": 13
1534
+ },
1535
+ {
1536
+ "type": "text",
1537
+ "text": "In particular, we take the standard long-tailed training set from ImageNet-LT (Liu et al., 2019) whose instances follow the Pareto distribution as the base dataset, denoted as $\\mathcal { D } _ { \\mathrm { { L T } } }$ . We vary its training instance distribution $\\{ q _ { 1 } , \\dots , q _ { C } \\}$ gradually to obtain different datasets as follows, ",
1538
+ "bbox": [
1539
+ 174,
1540
+ 169,
1541
+ 825,
1542
+ 212
1543
+ ],
1544
+ "page_idx": 13
1545
+ },
1546
+ {
1547
+ "type": "equation",
1548
+ "img_path": "images/b73f11b42ba95533650b50cf3622e6e2161fc3754c372e609bd24ec35b95f276.jpg",
1549
+ "text": "$$\nn _ { j } = \\left\\lfloor N _ { \\mathcal { D } } \\times \\frac { q _ { j } ^ { \\alpha } } { \\sum _ { k } q _ { k } ^ { \\alpha } } + \\frac { 1 } { 2 } \\right\\rfloor ,\n$$",
1550
+ "text_format": "latex",
1551
+ "bbox": [
1552
+ 401,
1553
+ 218,
1554
+ 594,
1555
+ 255
1556
+ ],
1557
+ "page_idx": 13
1558
+ },
1559
+ {
1560
+ "type": "text",
1561
+ "text": "where $N _ { \\mathcal { D } }$ is the total number of training instances in $\\mathcal { D } _ { \\mathrm { { L T } } }$ , $\\alpha \\in [ 0 , 1 ]$ controls the dataset balancedness. When $\\alpha = 0$ , it corresponds to a fully balanced dataset; when $\\alpha = 1$ , it becomes a heavy long-tailed ones. In total, we generated 6 datasets with $\\alpha \\in \\{ 0 , 0 . 2 , 0 . 4 , 0 . 6 , 0 . 8 , 1 . 0 \\}$ , denoted as $\\mathcal { D } _ { \\mathrm { L T 0 } } , \\dots , \\mathcal { D } _ { \\mathrm { L T 8 } } , \\mathcal { D } _ { \\mathrm { L } }$ respectively, as different examples of $\\mathscr { D } _ { \\mathrm { r e p - t r a i n } }$ for representation learning. The detailed statistics and visualization of the datasets $\\mathcal { D } _ { \\mathrm { L T 0 } } , \\dots , \\mathcal { D } _ { \\mathrm { L T 8 } } , \\mathcal { D } _ { \\mathrm { L T } }$ are summarized in Table 8 and Fig. 6. ",
1562
+ "bbox": [
1563
+ 173,
1564
+ 261,
1565
+ 825,
1566
+ 344
1567
+ ],
1568
+ "page_idx": 13
1569
+ },
1570
+ {
1571
+ "type": "image",
1572
+ "img_path": "images/42f30fecb2d5cf271099c6e870fe0e4fc9dd6f7784b1a9c463dd2707b958e6a0.jpg",
1573
+ "image_caption": [
1574
+ "Figure 6: Training instance number distributions of the datasets we use in our empirical studies. "
1575
+ ],
1576
+ "image_footnote": [],
1577
+ "bbox": [
1578
+ 236,
1579
+ 359,
1580
+ 449,
1581
+ 476
1582
+ ],
1583
+ "page_idx": 13
1584
+ },
1585
+ {
1586
+ "type": "table",
1587
+ "img_path": "images/18539c5771501ea7c4e03cef9a7916c711909b7ee4a631fff6bdc8093f1e26d4.jpg",
1588
+ "table_caption": [
1589
+ "Table 8: Dataset statistics on training instance numbers, including the maximal and minimal instance number per class and the total number. "
1590
+ ],
1591
+ "table_footnote": [],
1592
+ "table_body": "<table><tr><td>Dataset</td><td>Max</td><td>Min</td><td>Total</td></tr><tr><td>DLTO</td><td>115</td><td>115</td><td>115,000</td></tr><tr><td>DLT2</td><td>204</td><td>67</td><td>115,885</td></tr><tr><td>DLT4</td><td>343</td><td>37</td><td>115,801</td></tr><tr><td>DLT6</td><td>553</td><td>20</td><td>115,836</td></tr><tr><td>DLT8</td><td>857</td><td>10</td><td>115,852</td></tr><tr><td>DLT</td><td>1,280</td><td>5</td><td>115,846</td></tr></table>",
1593
+ "bbox": [
1594
+ 524,
1595
+ 358,
1596
+ 756,
1597
+ 463
1598
+ ],
1599
+ "page_idx": 13
1600
+ },
1601
+ {
1602
+ "type": "text",
1603
+ "text": "Datasets for generalizability studies We carefully choose the proper datasets to construct the $\\mathcal { D } _ { \\mathrm { t r a i n } }$ and $\\mathcal { D } _ { \\mathrm { t e s t } }$ for evaluating generalizability of the representation models under multiple settings. The choices are summarized in Table 9. ",
1604
+ "bbox": [
1605
+ 173,
1606
+ 541,
1607
+ 823,
1608
+ 583
1609
+ ],
1610
+ "page_idx": 13
1611
+ },
1612
+ {
1613
+ "type": "table",
1614
+ "img_path": "images/dc782040faac8ee0351277b14a1fdca2959a761b58fd5a081fabd6799ece9efc.jpg",
1615
+ "table_caption": [
1616
+ "Table 9: Summary on used datasets for representation model pre-training and evaluation in our studies. "
1617
+ ],
1618
+ "table_footnote": [],
1619
+ "table_body": "<table><tr><td>study</td><td>Drep-train</td><td>Dtrain</td><td>Dtest</td></tr><tr><td>Balancedness (Sec.3.2)</td><td>DLTO,...,DLT8,DLT</td><td>ImageNet (train)</td><td>ImageNet (val)</td></tr><tr><td>Out-of-distribution (Sec.3.3)</td><td>source split of above</td><td colspan=\"2\">target split of above</td></tr><tr><td>Cross-domain (Sec. 3.3)</td><td>ImageNet-LT</td><td>Places 365 (train)</td><td>Places 365 (test)</td></tr><tr><td>Cross-task (Sec. 3.3)</td><td>ImageNet-LT</td><td>VOC/MSCOCO (train)</td><td>VOC/MSCOCO (test)</td></tr></table>",
1620
+ "bbox": [
1621
+ 176,
1622
+ 621,
1623
+ 816,
1624
+ 700
1625
+ ],
1626
+ "page_idx": 13
1627
+ },
1628
+ {
1629
+ "type": "text",
1630
+ "text": "C ADDITIONAL RESULTS ON MODEL GENERALIZATION PERFORMANCE ",
1631
+ "text_level": 1,
1632
+ "bbox": [
1633
+ 173,
1634
+ 731,
1635
+ 787,
1636
+ 748
1637
+ ],
1638
+ "page_idx": 13
1639
+ },
1640
+ {
1641
+ "type": "text",
1642
+ "text": "Cross-domain and Cross-task Generalization We evaluate the generalization ability of the representation models trained on the balanced full ImageNet datasets, for cross-domain and cross-task applications. The results are given in Table 10 (cross-domain) and Tables 11 and 12 (for detection) respectively. From Table 10, when the training datasets are balanced, the models trained with CL and CE achieve comparable performance. While when the training datasets are not balanced, the CL model significantly outperforms the CE model (Table 1). This demonstrates that the CL loss can consistently produce balanced representation models and the model generalization performance can indeed benefit from being balanced. ",
1643
+ "bbox": [
1644
+ 173,
1645
+ 762,
1646
+ 825,
1647
+ 875
1648
+ ],
1649
+ "page_idx": 13
1650
+ },
1651
+ {
1652
+ "type": "text",
1653
+ "text": "Similar conclusion can be drawn for the cross-task generalization. From Tables 11 and 12, when training the model on the full ImageNet dataset, using self-supervised CL loss can produce the model performing slightly better than using the supervised CE loss. On PASCAL VOC, the performance advantage is as marginal as $0 . 0 2 \\%$ in $\\mathsf { A P } _ { 5 0 }$ . In contrast, when training the model on the ImageNetLT dataset, using CL loss can boost the model performance over using the CE loss much more significantly. The improvement is as large as $1 . 6 4 \\%$ in $\\mathsf { A P } _ { 5 0 }$ . Thus the performance benefit on the generalization to detection brought by CL does not simple stem from using self-supervised pretraining, but indeed come from learning more balanced feature spaces. ",
1654
+ "bbox": [
1655
+ 176,
1656
+ 882,
1657
+ 825,
1658
+ 924
1659
+ ],
1660
+ "page_idx": 13
1661
+ },
1662
+ {
1663
+ "type": "text",
1664
+ "text": "",
1665
+ "bbox": [
1666
+ 174,
1667
+ 103,
1668
+ 825,
1669
+ 174
1670
+ ],
1671
+ "page_idx": 14
1672
+ },
1673
+ {
1674
+ "type": "text",
1675
+ "text": "Similar to OOD generalization, the model learned with KCL gives better downstream performance on both VOC and COCO, which mean enforcing feature space balancedness with KCL is indeed able to help learning better representation. ",
1676
+ "bbox": [
1677
+ 174,
1678
+ 180,
1679
+ 823,
1680
+ 223
1681
+ ],
1682
+ "page_idx": 14
1683
+ },
1684
+ {
1685
+ "type": "table",
1686
+ "img_path": "images/3b1bcac448d145957324915f198c0e6c7e9f0b4dc9b0736b6027073d318c37db.jpg",
1687
+ "table_caption": [
1688
+ "Table 10: Results on Places 365. The encoder is trained on ImageNet. "
1689
+ ],
1690
+ "table_footnote": [],
1691
+ "table_body": "<table><tr><td></td><td>Top1</td><td>Top5</td></tr><tr><td>CE</td><td>46.06</td><td>77.11</td></tr><tr><td>CL</td><td>46.16 (+0.1)</td><td>76.27 (-0.84)</td></tr></table>",
1692
+ "bbox": [
1693
+ 388,
1694
+ 261,
1695
+ 604,
1696
+ 315
1697
+ ],
1698
+ "page_idx": 14
1699
+ },
1700
+ {
1701
+ "type": "table",
1702
+ "img_path": "images/0a6ddf49ad05d6908448a56bc3e1bcb194391482108022d7e47b7a3ebcd2ceb0.jpg",
1703
+ "table_caption": [
1704
+ "Table 11: Object detection Results on PASCAL VOC. The representation model is trained on ImageNet and ImageNet-LT. We report results in $\\mathrm { A P } _ { 5 0 }$ : VOC metric; AP: COCO-style metric. "
1705
+ ],
1706
+ "table_footnote": [],
1707
+ "table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"3\">ImageNet</td><td colspan=\"3\">ImageNet-LT</td></tr><tr><td>AP50</td><td>AP</td><td>AP75</td><td>AP50</td><td>AP</td><td>AP75</td></tr><tr><td>CE</td><td>81.26</td><td>53.66</td><td>59.19</td><td>76.45</td><td>48.53</td><td>51.01</td></tr><tr><td>CL</td><td>81.28 (+0.02)</td><td>56.10 (+2.44)</td><td>62.71 (+3.52)</td><td>78.19 (+1.64)</td><td>51.52 (+2.99)</td><td>56.48 (+5.47)</td></tr><tr><td>KCL</td><td>82.32 (+1.06)</td><td>55.51 (+1.85)</td><td>62.05 (+2.86)</td><td>79.70 (+3.25)</td><td>52.63 (+4.10)</td><td>57.89 (+6.88)</td></tr></table>",
1708
+ "bbox": [
1709
+ 200,
1710
+ 375,
1711
+ 790,
1712
+ 460
1713
+ ],
1714
+ "page_idx": 14
1715
+ },
1716
+ {
1717
+ "type": "table",
1718
+ "img_path": "images/8421bd8c12731cb4c5f9d37ca2d53e92bffd4361aa4eda558cae4d27717aade5.jpg",
1719
+ "table_caption": [
1720
+ "Table 12: Object detection Results on COCO. The representation model is trained on ImageNet and ImageNetLT. We report results in bounding-box AP $( \\mathsf { A P } ^ { \\mathsf { b b } } )$ ) and mask AP $( \\mathbf { A P } ^ { \\mathrm { m k } } )$ . "
1721
+ ],
1722
+ "table_footnote": [],
1723
+ "table_body": "<table><tr><td rowspan=\"2\" colspan=\"2\"></td><td colspan=\"3\">ImageNet</td><td colspan=\"3\">ImageNet-LT</td></tr><tr><td>AP</td><td>AP50</td><td>AP75</td><td>AP</td><td>AP50</td><td>AP75</td></tr><tr><td rowspan=\"3\">Apbb</td><td>CE</td><td>40.08</td><td>59.76</td><td>43.29</td><td>38.13</td><td>57.38</td><td>41.15</td></tr><tr><td>CL</td><td>40.41 (+0.33)</td><td>60.05 (+0.29)</td><td>44.09 (+0.80)</td><td>39.67 (+1.54)</td><td>59.40 (+2.02)</td><td>42.73 (+1.58)</td></tr><tr><td>KCL</td><td>40.79 (+0.78)</td><td>60.63 (+0.87)</td><td>43.99 ( (+0.70)</td><td>39.43 (+1.30)</td><td>59.08 (+1.70)</td><td>42.56 (+1.41)</td></tr><tr><td rowspan=\"3\">Apmk</td><td>CE</td><td>34.85</td><td>56.60</td><td>37.02</td><td>33.29</td><td>54.24</td><td>35.38</td></tr><tr><td>CL</td><td>35.14 (+0.29)</td><td>56.88 (+0.28)</td><td>37.56 (+0.54)</td><td>34.73 (+1.44)</td><td>56.07 (+1.83)</td><td>37.13 (+1.75)</td></tr><tr><td>KCL</td><td>35.45 (+0.60)</td><td>57.40 (+0.80)</td><td>37.80 (+0.78)</td><td>34.38 (+1.09)</td><td>55.81 (+1.57)</td><td>36.39 (+1.01)</td></tr></table>",
1724
+ "bbox": [
1725
+ 176,
1726
+ 517,
1727
+ 816,
1728
+ 647
1729
+ ],
1730
+ "page_idx": 14
1731
+ }
1732
+ ]
parse/train/OqtLIabPTit/OqtLIabPTit_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/OqtLIabPTit/OqtLIabPTit_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/QWIvzSQaX5/QWIvzSQaX5.md ADDED
@@ -0,0 +1,256 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Why Generalization in RL is Difficult: Epistemic POMDPs and Implicit Partial Observability
2
+
3
+ Dibya Ghosh∗,1 Jad Rahme∗,2 Aviral Kumar1 Amy Zhang1,3
4
+
5
+ Ryan P. Adams2
6
+
7
+ Sergey Levine1
8
+
9
+ # Abstract
10
+
11
+ Generalization is a central challenge for the deployment of reinforcement learning (RL) systems in the real world. In this paper, we show that the sequential structure of the RL problem necessitates new approaches to generalization beyond the well-studied techniques used in supervised learning. While supervised learning methods can generalize effectively without explicitly accounting for epistemic uncertainty, we show that, perhaps surprisingly, this is not the case in RL. We show that generalization to unseen test conditions from a limited number of training conditions induces implicit partial observability, effectively turning even fullyobserved MDPs into POMDPs. Informed by this observation, we recast the problem of generalization in RL as solving the induced partially observed Markov decision process, which we call the epistemic POMDP. We demonstrate the failure modes of algorithms that do not appropriately handle this partial observability, and suggest a simple ensemble-based technique for approximately solving the partially observed problem. Empirically, we demonstrate that our simple algorithm derived from the epistemic POMDP achieves significant gains in generalization over current methods on the Procgen benchmark suite.
12
+
13
+ # 1 Introduction
14
+
15
+ Generalization is a central challenge in machine learning. However, much of the research on reinforcement learning (RL) has been concerned with the problem of optimization: how to master a specific task through online or logged interaction. Generalization to new test-time contexts has received comparatively less attention, although several works have observed empirically [1, 2, 3, 4] that generalization to new situations poses a significant challenge to RL policies learned from a fixed training set of situations. In standard supervised learning, it is known that in the absence of distribution shift and with appropriate inductive biases, optimizing for performance on the training set (i.e., empirical risk minimization) translates into good generalization performance. It is tempting to suppose that the generalization challenges in RL can be solved in the same manner as empirical risk minimization in supervised learning: when provided a training set of contexts, learn the optimal policy within these contexts and then use that policy in new contexts at test-time.
16
+
17
+ Perhaps surprisingly, we show that such “empirical risk minimization” approaches can be sub-optimal for generalizing to new contexts in RL, even when these new contexts are drawn from the same distribution as the training contexts. As an anecdotal example of why this sub-optimality arises, imagine a robotic zookeeper for feeding otters that must be trained on some set of zoos. When placed in a new zoo, the robot must find and enter the otter enclosure. It can use one of two strategies: either peek through all the habitat windows looking for otters, which succeeds with $9 5 \%$ probability in all zoos, or to follow an image of a hand-drawn map of the zoo that unambiguously identifies the otter enclosure, which will succeed as long as the agent is able to successfully parse the image. In every training zoo, the otters can be found more reliably using the image of the map, and so an agent trained to seek the optimal policy in the training zoos would learn a classifier to predict the identity of the otter enclosure from the map, and enter the predicted enclosure. This classification strategy is optimal on the training environments because the agent can learn to perfectly classify the training zoo maps, but it is sub-optimal for generalization, because the learned classifier will never be able to perfectly classify every new zoo map at test-time. Note that this task is not partially observed, because the map provides full state information even for a memoryless policy. However, if the learned map classifier succeeds on anything less than $9 5 \%$ of new zoos at test-time, the strategy of peeking through the windows, although always sub-optimal in the training environments, turns out to be a more reliable strategy for finding the otter habitat in a new zoo, and results in higher expected returns at test-time.
18
+
19
+ ![](images/dd65449fe266eab7337a697241c51d8aba9254ef3ffcaeafc722afd31356dffa.jpg)
20
+ Figure 1: Visualization of the robotic zookeeper example. Standard RL algorithms learn the classifier strategy, since it is optimal in every training zoo, but this strategy is sub-optimal for generalization because peeking generalizes better than the classifier at test-time. This failure occurs due to the following disconnect: while the task is fully-observed since the image uniquely specifies the location of the otter habitat, to an agent that has limited training data, the location is implicitly partially observed at test-time because of the agent’s epistemic uncertainty about the parameters of the image classifier.
21
+
22
+ Although with enough training zoos, the zookeeper can learn a policy by solving the map classification problem, to generalize optimally when given a limited number of zoos requires a more intricate policy that is not learned by standard RL methods. How can we more generally describe the set of behaviors needed for a policy to generalize from a finite number of training contexts in the RL setting? We make the observation that, even in fully-observable domains, the agent’s epistemic uncertainty renders the environment implicitly partially observed at test-time. In the zookeeper example, although the hand-drawn map provides the exact location of the otter enclosure (and so the enclosure’s location is technically fully observed), the agent cannot identify the true parameters of the map classifier from the small set of maps seen at training time, and so the location of the otters is implicitly obfuscated from the agent. We formalize this observation, and show that generalizing optimally at test-time corresponds to solving a partially-observed Markov decision process that we call an epistemic POMDP, induced by the agent’s epistemic uncertainty about the test environment.
23
+
24
+ That uncertainty about MDP parameters can be modelled as a POMDP is well-studied in Bayesian RL when training and testing on a single task in an online setting, primarily in the context of exploration [5, 6, 7, 8]. However, as we will discuss, this POMDP interpretation has significant consequences for the generalization problem in RL, where an agent cannot collect more data online, and must instead learn a policy from a fixed set of training contexts that generalizes to new contexts at test-time. We show that standard RL methods that do not explicitly account for this implicit partial observability can be arbitrarily sub-optimal for test-time generalization in theory and in practice. The epistemic POMDP underscores the difficulty of the generalization problem in RL, as compared to supervised learning, and provides an avenue for understanding how we should approach generalization under the sequential nature and non-uniform reward structure of the RL setting. Maximizing expected return in an approximation of the epistemic POMDP emerges as a principled approach to learning policies that generalize well, and we propose LEEP, an algorithm that uses an ensemble of policies to approximately learn the Bayes-optimal policy for maximizing test-time performance.
25
+
26
+ The primary contribution of this paper is to use Bayesian RL techniques to reframe generalization in RL as the problem of solving a partially observed Markov decision process, which we call the epistemic POMDP. The epistemic POMDP highlights the difficulty of generalizing well in RL, as compared to supervised learning. We demonstrate the practical failure modes of standard RL methods, which do not reason about this partial observability, and show that maximizing test-time performance may require algorithms to explicitly consider the agent’s epistemic uncertainty during training. Our work highlights the importance of not only finding ways to help neural networks in RL generalize better, but also on learning policies that degrade gracefully when the underlying neural network eventually does fail to generalize. Empirically, we demonstrate that LEEP, which maximizes return in an approximation to the epistemic POMDP, achieves significant gains in test-time performance over standard RL methods on several ProcGen benchmark tasks.
27
+
28
+ # 2 Related Work
29
+
30
+ Many empirical studies have demonstrated the tendency of RL algorithms to overfit significantly to their training environments [1, 2, 3, 4], and the more general increased difficulty of learning policies that generalize in RL as compared to seemingly similar supervised learning problems [9, 10, 11, 12]. These empirical observations have led to a newfound interest in algorithms for generalization in RL, and the development of benchmark RL environments that focus on generalization to new contexts from a limited set of training contexts sharing a similar structure (state and action spaces) but possibly different dynamics and rewards [13, 14, 15, 16, 17].
31
+
32
+ Generalization in RL. Approaches for improving generalization in RL have fallen into two main categories: improving the ability of function approximators to generalize better with inductive biases, and incentivizing behaviors that are easier to generalize to unseen contexts. To improve the representations learned in RL, prior work has considered imitating environment dynamics [18, 19], seeking bisimulation relations [20, 21], and more generally, addressing representational challenges in the RL optimization process [22, 23]. In image-based domains, inductive biases imposed via neural network design have also been proposed to improve robustness to certain factors of variation in the state [24, 25, 26]. The challenges with generalization in RL that we will describe in this paper stem from the deficiencies of MDP objectives, and cannot be fully solved by choice of representations or functional inductive biases. In the latter category, one approach is domain randomization, varying environment parameters such as coefficients of friction or textures, to obtain behaviors that are effective across many candidate parameter settings [27, 28, 29, 30, 31]. Domain randomization sits within a class of methods that seek robust policies by injecting noise into the agent-environment loop, whether in the state [32], the action (e.g., via max-entropy RL) [14], or intermediary layers of a neural network policy (e.g., through information bottlenecks) [22, 33]. In doing so, these methods effectively introduce partial observability into the problem; while not necessarily equivalent to that of the epistemic POMDP, it may indicate why these methods generalize well empirically.
33
+
34
+ Bayesian RL: Our work recasts generalization in RL within the Bayesian RL framework, the problem of acting optimally under a belief distribution over MDPs (see Ghavamzadeh et al. [8] for a survey). Bayesian uncertainty has been studied in many sub-fields of RL [34, 35, 36, 37], the most prominent being for exploration and learning efficiently in the online RL setting. Bayes-optimal behavior in RL is often reduced to acting optimally in a POMDP, or equivalently, a belief-state MDP [6], of which our epistemic POMDP is a specific instantiation. Learning the Bayes-optimal policy exactly is intractable in all but the simplest problems [38, 39], and many works in Bayesian RL have studied relaxations that remain asymptotically optimal for learning, for example with value of perfect information [5, 40] or Thompson sampling [7, 41, 42]. Our main contribution is to revisit these classic ideas in the context of generalization for RL. We find that the POMDP interpretation of Bayesian RL [5, 6, 43] provides new insights on inadequacies of current algorithms used in practice, and explains why generalization in RL can be more challenging than in supervised learning. Being Bayesian in the generalization setting also requires new tools and algorithms beyond those classically studied in Bayesian RL, since test-time generalization is measured using regret over a single evaluation episode, instead of throughout an online training process. As a result, algorithms and policies that minimize short-term regret (i.e., are more exploitative) are preferred over traditional algorithms like Thompson sampling that explore thoroughly to ensure asymptotic optimality at the cost of short-term regret.
35
+
36
+ # 3 Problem Setup
37
+
38
+ We consider the problem of learning RL policies given a set of training contexts that generalize well to new unseen contexts. This problem can be formalized in a Markov decision process (MDP) where the agent does not have full access to the MDP at training time, but only particular initial states or conditions. Before we describe what this means, we must describe the MDP $\mathcal { M }$ , which is given by a tuple $( S , { \mathcal { A } } , r , T , \rho , \gamma )$ , with state space $s$ , action space $\mathcal { A }$ , Markovian transition function $T ( s _ { t + 1 } | s _ { t } , a _ { t } )$ , bounded reward function $r ( s _ { t } , a _ { t } )$ , and initial state distribution $\rho ( s _ { 0 } )$ . A policy $\pi$ induces a discounted state distribution $\begin{array} { r } { d ^ { \pi } ( s ) \doteq ( 1 - \gamma ) \mathbb { E } _ { \pi } [ \sum _ { t \ge 0 } \gamma ^ { t } 1 ( s _ { t } = s ) ] } \end{array}$ , and achieves return $\begin{array} { r } { J _ { \mathcal { M } } ( \pi ) = \mathbb { E } _ { \pi } [ \sum _ { t \geq 0 } \gamma ^ { t } r ( s _ { t } , a _ { t } ) ] } \end{array}$ in the MDP. Classical results establish that a deterministic Markovian (memoryless) policy $\pi ^ { * }$ maximizes this objective amongst all history-dependent policies.
39
+
40
+ ![](images/cec3af36a6fbafe72283c8531566cb0ef09b22d1373745d8ebc4ec08298c655b.jpg)
41
+ Figure 2: Sequential Classification RL Problem. In this task, an agent must keep guessing the label for an image until it gets it correct. To avoid low test return, policies should change actions if the label guessed was incorrect, but standard RL methods fail to do so, instead guessing the same incorrect label repeatedly.
42
+
43
+ We focus on generalization in contextual MDPs where the agent is only trained on a training set of contexts, and seeks to generalize well to new contexts. A contextual MDP is an MDP in which the state can be decomposed as $s _ { t } = \left( c , s _ { t } ^ { \prime } \right)$ , a context vector $c \in { \mathcal { C } }$ that remains constant throughout an episode, and a sub-state $s ^ { \prime } \in S ^ { \prime }$ that may vary: $\boldsymbol { S } : = \boldsymbol { \mathcal { C } } \times \boldsymbol { \mathcal { S } } ^ { \prime }$ . Each context vector corresponds to a different situation that the agent might be in, each with slightly different dynamics and rewards, but some shared structure across which an agent can generalize. During training, the agent is allowed to interact only within a sampled subset of contexts $\mathcal { C } _ { \mathrm { t r a i n } } \subset \mathcal { C }$ . The generalization performance of the agent is measured by the return of the agent’s policy in the full contextual MDP $J ( \pi )$ , corresponding to expected performance when placed in potentially new contexts. While our examples and experiments will be in contextual MDPs, our theoretical results also apply to other RL generalization settings where the full MDP cannot be inferred unambiguously from the data available during training, for example in offline reinforcement learning [44].
44
+
45
+ # 4 Warmup: A Sequential Classification RL Problem
46
+
47
+ We begin our study of generalization in RL with an example problem that is set up to be close to a supervised learning task where generalization is relatively well understood: image classification on the FashionMNIST dataset [45]. In this environment (visualized in Figure 2), an image from the dataset is sampled (the context) at the beginning of an episode and held fixed; the agent must identify the label of the image to complete the episode. If the agent guesses correctly, it receives a reward of 0 and the episode ends; if incorrect, it receives a reward of $- 1$ and the episode continues, so it must attempt another guess for the same image at the next time step. This RL problem is near identical to supervised classification, the core distinction being that an agent may interact with the same image over several timesteps in an episode instead of only one attempt as in supervised learning. Note that since episodes may last longer than a single timestep, this problem is not a contextual bandit.
48
+
49
+ ![](images/af5253353306a894db28d5423bbc92c1e4195cbee199fd4b2f1747d52acb18cd.jpg)
50
+ Figure 3: DQN on RL FashionMNIST. DQN achieves lower test performance than simple variants that leverage the structure of the RL problem.
51
+
52
+ The optimal policy in both the one-step and sequential RL version of the problem deterministically outputs the correct label for the image, because the image fully determines the label (in other words, it is a fully observed MDP). However, this optimal strategy generally cannot be learned from a finite training set, since some generalization error is unavoidable. With a fixed training set, the strategy for generalizing in classification remains the same: deterministically choose the label the agent is most confident about. However, the RL setting introduces two new factors: the agent gets multiple tries at classifying the same image, and it knows if an attempted label is incorrect. To generalize best to new test images, an RL policy must leverage this additional structure, for example by trying many possible labels, or by changing actions if the previous guess was incorrect.
53
+
54
+ A standard RL algorithm, which estimates the optimal policy on the empirical MDP defined by the dataset of training images does not learn to leverage these factors, and instead learns behavior highly sub-optimal for generalization. We obtained a policy by running DQN [46] (experimental details in Appendix A.1), whose policy deterministically chooses the same label for the image at every timestep. Determinism is not specific to DQN, and is inevitable in any RL method that models the problem as an MDP because the optimal policy in the MDP is always deterministic and Markovian. The learned deterministic policy either guesses the correct label immediately, or guesses incorrectly and proceeds to make the same incorrect guess on every subsequent time-step. We compare performance in Figure 3 with a version of the agent that starts to guess randomly if incorrect on the first timestep, and a different agent that acts by process of elimination: first choosing the action it is most confident about, if incorrect, then the second, and so forth. Although all three versions have the same training performance, the learned RL policy generalizes more poorly than these alternative variants that exploit the sequential nature of the problem. In Section 5.2, we will see that this process-of-elimination is, in some sense, the optimal way to generalize for this task. This experiment reveals a tension: learning policies for generalization that rely on an MDP model fail, even though the underlying environment is an MDP. This failure holds in any MDP model with limited data, whether the empirical MDP or more sophisticated MDPs that use uncertainty estimates in their construction.
55
+
56
+ # 5 Modeling Generalization in RL as an Epistemic POMDP
57
+
58
+ To better understand test-time generalization in RL, we study the problem under a Bayesian perspective. We show that training on limited training contexts leads to an implicit partial observability at test-time that we describe using a formalism called the epistemic POMDP.
59
+
60
+ # 5.1 The Epistemic POMDP
61
+
62
+ In the Bayesian framework, when learning given a limited amount of evidence $\mathcal { D }$ from an MDP $\mathcal { M }$ , we can use a prior $\mathcal { P } ( \mathcal { M } )$ to construct a posterior belief distribution $\mathcal { P } ( \mathcal { M } | \mathcal { D } )$ over the identity of the MDP. For learning in a contextual MDP, $\mathcal { D }$ corresponds to the environment dynamics and reward in training contexts $\mathcal { C } _ { \mathrm { t r a i n } }$ that the agent can interact with, and the posterior belief distribution $\mathcal { P } ( \mathcal { M } | \mathcal { D } )$ models the agent’s uncertainty about the behavior of the environment in contexts that it has not seen before (e.g. uncertainty about the label for a test-set image in the example from Section 4).
63
+
64
+ Since the agent only has partial access to the MDP $\mathcal { M }$ during training, the agent does not know which MDP from the posterior distribution is the true environment, and must act at test-time under this uncertainty. Following a reduction common in Bayesian RL [6, 8], we model this test-time uncertainty using a partially observed MDP that we will call the epistemic POMDP. The epistemic POMDP is structured as follows: each new episode in the POMDP begins by sampling a single MDP $\mathcal { M } \sim \mathcal { P } ( \mathcal { M } | \mathcal { D } )$ from the posterior, and then the agent interacts with $\mathcal { M }$ until the episode ends in this MDP. The agent does not observe which MDP was sampled, and since the MDP remains fixed for the duration of the episode, this induces implicit partial observability. Effectively, each episode in the epistemic POMDP corresponds to acting in one of the possible environments that is consistent with the evidence that the agent is allowed access to at training time.
65
+
66
+ The epistemic POMDP is formally defined as the tuple $\mathcal { M } ^ { \mathrm { p o } } = ( S ^ { \mathrm { p o } } , \mathcal { O } ^ { \mathrm { p o } } , \mathcal { A } , T ^ { \mathrm { p o } } , r ^ { \mathrm { p o } } , \rho ^ { \mathrm { p o } } , \gamma )$ . A state in this POMDP $s _ { t } ^ { \mathrm { p o } } = ( \mathcal { M } , \dot { s _ { t } } )$ contains the identity of the current MDP being acted in $\mathcal { M }$ , and the current state in this MDP $s _ { t }$ ; we write the state space as $S ^ { \mathrm { p o } } = \mathbf { M } \times S$ , where $\mathbf { M }$ is the space of MDPs with support under the prior. The agent only observes $o _ { t } ^ { \mathrm { p o } } = s _ { t }$ , the state in the MDP ${ \mathcal { O } } ^ { \mathrm { p o } } = S$ ), but not the identity of the MDP, $\mathcal { M }$ . The initial state distribution is defined by the posterior distribution: $\rho ^ { \mathrm { p o } } ( ( \mathcal { M } , s _ { 0 } ) ) = \mathcal { P } ( \mathcal { M } | \mathcal { D } ) \rho _ { \mathcal { M } } ( s _ { 0 } )$ , and the transition and reward functions in the POMDP reflect the dynamics in the current MDP:
67
+
68
+ $$
69
+ T ^ { \mathrm { p o } } ( ( { \mathcal M } ^ { \prime } , s ^ { \prime } ) \mid ( { \mathcal M } , s ) , a ) = \delta ( { \mathcal M } ^ { \prime } = { \mathcal M } ) T _ { { \mathcal M } } ( s ^ { \prime } | s , a ) \quad \quad r ^ { \mathrm { p o } } ( ( { \mathcal M } , s ) , a ) = r _ { { \mathcal M } } ( s , a ) .
70
+ $$
71
+
72
+ Example (Sequential Image Classification). We begin by explicitly describing the induced epistemic POMDP for the task from Section 4. The agent’s uncertainty concerns how images are mapped to labels, and each MDP $\mathcal { M }$ in the posterior distribution corresponds to a different potential labelling function $Y _ { \mathcal { M } } : x \mapsto y$ that is consistent with the training dataset. Each episode in the epistemic POMDP, a different MDP $\mathcal { M }$ and corresponding labeller $Y _ { \mathcal { M } }$ is sampled from the posterior distribution, alongside an image $x \sim p ( x )$ . The agent must guess the label assigned by this labelling function $y : = Y _ { \mathcal { M } } ( x )$ , but is only provided the image $x$ and not the identity of the labeller $Y _ { \mathcal { M } }$ . We emphasize that the context remains fully observed in the epistemic POMDP (the image $x$ is provided to the agent); what is partially observed is how the environment dynamics will behave for the context (what label the image corresponds to).
73
+
74
+ What makes the epistemic POMDP a useful tool for understanding generalization in RL is that performance in the epistemic POMDP ${ \mathcal { M } } ^ { { \mathfrak { p o } } }$ corresponds exactly to the expected return of the agent at test-time when the prior is well-specified.
75
+
76
+ Proposition 5.1. If the true MDP $\mathcal { M }$ is sampled from $\mathcal { P } ( \mathcal { M } )$ , and evidence $\mathcal { D }$ from $\mathcal { M }$ is provided to an algorithm during training, then the expected test-time return of $\pi$ is equal to its performance in the epistemic POMDP $\mathcal { M } ^ { p o }$ .
77
+
78
+ $$
79
+ J _ { \mathcal { M } ^ { p o } } ( \pi ) = \mathbb { E } _ { \mathcal { M } \sim \mathcal { P } ( \mathcal { M } ) } [ J _ { \mathcal { M } } ( \pi ) \mid \mathcal { D } ] .
80
+ $$
81
+
82
+ In particular, the optimal policy in $\mathcal { M } ^ { p o }$ is Bayes-optimal for generalization to the unknown MDP $\mathcal { M }$ : it receives the highest expected test-time return amongst all possible policies.
83
+
84
+ The epistemic POMDP is based on well-understood concepts in Bayesian reinforcement learning, and Bayesian modeling more generally. However, in contrast to prior works on Bayesian RL, we are specifically concerned with settings where there is a training-test split, and performance is measured by a single test episode. While using Bayesian RL to accelerate exploration or minimize regret has been well-explored [8], we rather use the Bayesian lens specifically to understand generalization – a perspective that is distinct from prior work on Bayesian RL. Towards this goal, the equivalence between test-time return and expected return in the epistemic POMDP allows us to use performance in the POMDP as a proxy for understanding how well current RL methods can generalize.
85
+
86
+ # 5.2 Understanding Optimality in the Epistemic POMDP
87
+
88
+ We now study the structure of the epistemic POMDP, and use it to characterize properties of Bayesoptimal test-time behavior and the sub-optimality of alternative policy learning approaches. The majority of our results follow from well-known results about POMDPs, so we present them here informally, with formal statements and proofs in Appendix B.
89
+
90
+ Example ctd. Acting optimally in the epistemic POMDP for the sequential image classification task requires maximizing return over the distribution of labels that is induced by the posterior distribution $p ( y | \boldsymbol { x } , \mathcal { D } ) = \mathrm { \bar { E } } _ { \mathcal { M } \sim \mathcal { P } ( \mathcal { M } | \mathcal { D } ) } [ 1 ( Y _ { \mathcal { M } } ( \boldsymbol { x } ) = y ) ]$ . A deterministic policy (as is learned by standard RL algorithms) is a high-risk strategy in the POMDP; it receives exceedingly low return if the labeller outputs a different label than the one predicted. The Bayes-optimal generalization strategy corresponds to a process of elimination: first choose the most likely label $a = \arg \operatorname* { m a x } p ( y | x , \mathcal { D } )$ ; if this is incorrect, eliminate it and choose the next-most likely, repeating until the correct label is finally chosen. Amongst memoryless policies, the optimal behavior is stochastic, sampling actions according to the distribution $\pi ^ { * } ( a | x ) \propto \sqrt { p ( y | x , \mathcal { D } ) }$ (derivation in Appendix A.2).
91
+
92
+ The characteristics of the optimal policy in the epistemic POMDP for the image classification RL problem match well-established results that optimal POMDP policies are generally memory-based [47], and amongst memoryless policies, the optimal policy may be stochastic [48, 49]. Because of the equivalence between the epistemic POMDP and test-time behavior, these maxims are also true for Bayes-optimal behavior when maximizing test-time performance.
93
+
94
+ Remark 5.1. The Bayes-optimal policy for maximizing test-time performance is in general nonMarkovian. When restricted to Markovian policies, the Bayes-optimal policy is in general stochastic.
95
+
96
+ The reason that Bayes-optimal generalization often requires memory is that the experience collected thus far in the episode contains information about the identity of the MDP being acted in (which is hidden from the agent observation), and to maximize expected return, the agent must adapt its subsequent behavior to incorporate this new information. The fact that acting optimally at test-time formally requires adaptivity (or stochasticity for memoryless policies) highlights the difficulty of generalizing well in RL, and provides a new perspective for understanding the success various empirical studies have found in improving generalization performance using recurrent networks [50, 51] and stochastic regularization penalties [32, 14, 22, 33].
97
+
98
+ It is useful to understand to what degree the partial observability plays a role in determining Bayesoptimal behavior. When the partial observability is insignificant, the epistemic POMDP objective can coincide with a surrogate MDP approximation, and Bayes-optimal solutions can be attained with standard fully-observed RL algorithms. For example, if there is a policy that is simultaneously optimal in every MDP from the posterior, then an agent need not worry about the (hidden) identity of the MDP, and just follow this policy. Perhaps surprisingly, this kind of condition is difficult to relax: we show in Proposition B.1 that even if a policy is optimal in many (but not all) of the MDPs from the posterior, this seemingly “optimal” policy can generalize poorly at test-time.
99
+
100
+ Moreover, under partial observability, optimal policies for the MDPs in the posterior may differ substantially from Bayes-optimal behavior: in Proposition B.2, we show that the Bayes-optimal policy may take actions that are sub-optimal in every environment in the posterior. These results indicate the brittleness of learning policies based on optimizing return in an MDP model when the agent has not yet fully resolved the uncertainty about the true MDP parameters.
101
+
102
+ Remark 5.2 (Failure of MDP-Optimal Policies, Propositions B.1, B.2). The expected test-time return of policies that are learned by maximizing reward in any MDP from the posterior, as standard RL methods do, may be arbitrarily low compared to that of Bayes-optimal behavior.
103
+
104
+ As Bayes-optimal memoryless policies are stochastic, one may wonder if simple strategies for inducing stochasticity, such as adding $\epsilon$ -greedy noise or entropy regularization, can alleviate the suboptimality that arose with deterministic policies in the previous paragraph. In some cases, this may be true; one particularly interesting result is that in certain goal-reaching problems, entropy-regularized RL can be interpreted as optimizing an epistemic POMDP objective with a specific form of posterior distribution over reward functions (Proposition B.3) [52]. For the more general setting, we show in Proposition B.4 that entropy regularization and other general-purpose techniques can similarly catastrophically fail in epistemic POMDPs.
105
+
106
+ Remark 5.3 (Failure of Generic Stochasticity, Proposition B.4). The expected test-time return of policies learned with stochastic regularization techniques like maximum-entropy RL that are agnostic of the posterior $\mathcal { P } ( \mathcal { M } | \mathcal { D } )$ may be arbitrarily low compared to that of Bayes-optimal behavior.
107
+
108
+ This failure happens because the degree of stochasticity used by the Bayes-optimal policy reflects the agent’s epistemic uncertainty about the environment; since standard regularizations are agnostic to this uncertainty, the learned behaviors often do not reflect the appropriate level of stochasticity needed. A maze-solving agent acting Bayes-optimally, for example, may choose to act deterministically in mazes like those it has seen at training, and on others where it is less confident, rely on random exploration to exit the maze, inimitable behavior by regularization techniques agnostic to this uncertainty.
109
+
110
+ Our analysis of the epistemic POMDP highlights the difficulty of generalizing well in RL, in the complexity of Bayes-optimal policies (Remark 5.1) and the deficiencies of our standard MDP-based RL algorithms (Remark 5.2, 5.3) . While MDP-based algorithms can serve as a useful starting point for acquiring generalizable skills, learning policies that perform well in new test-time scenarios may require more complex algorithms that attend to the epistemic POMDP structure that is implicitly induced by the agent’s epistemic uncertainty.
111
+
112
+ # 6 Learning Policies that Generalize Well Using the Epistemic POMDP
113
+
114
+ When the epistemic POMDP ${ \mathcal { M } } ^ { { \mathfrak { p o } } }$ can be exactly obtained, we can learn RL policies that generalize well to the true (unknown) MDP $\mathcal { M }$ by learning an optimal policy in the POMDP. In this oracle setting, any POMDP-solving method will suffice, and design choices like policy function classes (e.g. recurrent vs Markovian policies) or agent representations (e.g. belief state vs PSRs) made based on the requirements of the specific domain. However, in practice, the epistemic POMDP can be challenging to approximate due to the difficulties of learning coherent MDP models and maintaining a posterior over such MDP models in high-dimensional domains.
115
+
116
+ In light of these challenges, we now focus on practical methods for learning generalizable policies when the exact posterior distribution (and therefore true epistemic POMDP) cannot be recovered exactly. We derive an algorithm for learning the optimal policy in the epistemic POMDP induced by an approximate posterior distribution $\hat { \mathcal { P } } ( \mathcal { M } | \mathcal { D } )$ with finite support. We use this to motivate LEEP, a simple ensemble-based algorithm for learning policies in the contextual MDP setting.
117
+
118
+ # 6.1 Policy Optimization in an Empirical Epistemic POMDP
119
+
120
+ Towards a tractable algorithm, we assume that instead of the true posterior $\mathcal { P } ( \mathcal { M } | \mathcal { D } )$ , we only have access to an empirical posterior distribution $\hat { \mathcal { P } } ( \mathcal { M } | \mathcal { D } )$ defined by $n$ MDP samples from the posterior distribution $\{ \mathcal { M } _ { i } \} _ { i \in [ n ] }$ . This empirical posterior distribution induces an empirical epistemic POMDP $\hat { \mathcal { M } } ^ { \mathrm { p o } }$ ; our ambition is to learn the optimal policy in this POMDP. Rather than directly learning this optimal policy as a generic POMDP solver might, we recognize that $\hat { \mathcal { M } } ^ { \mathrm { p o } }$ corresponds to a collection of $n$ MDPs 2 and decompose the optimization problem to mimic this structure. We will learn $n$ policies $\pi _ { 1 } , \cdots , \pi _ { n }$ , each policy $\pi _ { i }$ in one of the MDPs $\mathcal { M } _ { i }$ from the empirical posterior, and combine these policies together to recover a single policy $\pi$ for the POMDP. Reducing the POMDP policy learning problem into a set of MDP policy learning problems can allow us to leverage the many recent advances in deep RL for scalably solving MDPs. The following theorem links the expected return of a policy $\pi$ in the empirical epistemic POMDP $\hat { \mathcal { M } } ^ { \mathrm { p o } }$ , in terms of the performance of the policies $\pi _ { i }$ on their respective MDPs $\mathcal { M } _ { i }$ .
121
+
122
+ Proposition 6.1. Let $\pi , \pi _ { 1 } , \cdots \pi _ { n }$ be memoryless , and define $r _ { \mathrm { m a x } } = \mathrm { m a x } _ { i , s , a } \left| r _ { \mathcal { M } _ { i } } ( s , a ) \right|$ . The expected return of $\pi$ in $\hat { \mathcal { M } } ^ { p o }$ is bounded below as:
123
+
124
+ $$
125
+ J _ { \hat { \mathcal { M } } ^ { p o } } ( \pi ) \geq \frac { 1 } { n } \sum _ { i = 1 } ^ { n } J _ { M _ { i } } ( \pi _ { i } ) - \frac { \sqrt { 2 } r _ { \operatorname* { m a x } } } { ( 1 - \gamma ) ^ { 2 } n } \sum _ { i = 1 } ^ { n } \mathbb { E } _ { s \sim d _ { M _ { i } } ^ { \pi _ { i } } } \left[ \sqrt { D _ { K L } \left( \pi _ { i } ( \cdot | s ) \mid \mid \pi ( \cdot | s ) \right) } \right] ,
126
+ $$
127
+
128
+ This proposition indicates that if the policies in the collection $\{ \pi _ { i } \} _ { i \in [ n ] }$ all achieve high return in their respective MDPs (first term) and are imitable by a single policy $\pi$ (second term), then $\pi$ is guaranteed to achieve high return in the epistemic POMDP. In contrast, if the policies cannot be closely imitated by a single policy, this collection of policies may not be useful for learning in the epistemic POMDP using the lower bound. This means that it may not sufficient to naively optimize each policy $\pi _ { i }$ on its MDP $\mathcal { M } _ { i }$ without any consideration to the other policies or MDPs, since the learned policies are likely to be different and difficult to jointly imitate. To be useful for the lower bound, each policy $\pi _ { i }$ should balance between maximizing performance on its MDP and minimizing its deviation from the other policies in the set. The following proposition shows that if the policies are trained jointly to ensure this balance, it in fact recovers the optimal policy in the empirical epistemic POMDP.
129
+
130
+ Proposition 6.2. Let $f : \{ \pi _ { i } \} _ { i \in [ n ] } \mapsto \pi$ be a function that maps n policies to a single policy satisfying $f ( \pi , \cdot \cdot \cdot , \pi ) = \pi$ for every policy $\pi$ , and let $\alpha$ be a hyperparameter satisfying $\begin{array} { r } { \alpha \ge \frac { \sqrt { 2 } r _ { m a x } } { ( 1 - \gamma ) ^ { 2 } n } } \end{array}$ . Then letting $\pi _ { 1 } ^ { * } , \ldots \pi _ { n } ^ { * }$ be the optimal solution to the following optimization problem:
131
+
132
+ $$
133
+ \{ \pi _ { i } ^ { * } \} _ { i \in [ n ] } = \underset { \pi _ { 1 } , \cdots , \pi _ { n } } { \mathrm { a r g } \operatorname* { m a x } } \frac { 1 } { n } \sum _ { i = 1 } ^ { n } J _ { M _ { i } } ( \pi _ { i } ) - \alpha \sum _ { i = 1 } ^ { n } \mathbb { E } _ { s \sim d _ { M _ { i } } ^ { \pi _ { i } } } \left[ \sqrt { D _ { K L } \left( \pi _ { i } ( \cdot | s ) \mid | \ f ( \{ \pi _ { i } \} ) ( \cdot | s ) \right) } \right] ,
134
+ $$
135
+
136
+ the policy $\pi ^ { * } : = f ( \{ \pi _ { i } ^ { * } \} _ { i \in [ n ] } )$ is optimal for the empirical epistemic POMDP $\hat { \mathcal { M } } ^ { p o }$ .
137
+
138
+ # 6.2 A Practical Algorithm for Contextual MDPs: LEEP
139
+
140
+ Proposition 6.2 provides a foundation for a practical algorithm for learning policies when provided training contexts $\mathcal { C } _ { \mathrm { t r a i n } }$ from an unknown contextual MDP. In order to use the proposition in a practical algorithm, we must discuss two problems: how posterior samples $\mathcal { M } _ { i } \sim \mathcal { P } ( \mathcal { M } | \mathcal { D } )$ can be approximated, and how the function $f$ that combines policies should be chosen.
141
+
142
+ Approximating the posterior distribution: Rather than directly maintaining a posterior over
143
+ transition dynamics and reward models, which is especially difficult with image-based observations,
144
+ we can approximate samples from the posterior via a bootstrap sampling technique [53]. To sample a
145
+ candidate MDP $\mathcal { M } _ { i }$ , we sample with replacement from the training contexts $\mathcal { C } _ { \mathrm { t r a i n } }$ to get a new set of
146
+ contexts out trials $ { \mathcal { C } } _ { \mathrm { t r a i n } } ^ { i }$ , and define the posteri $\mathcal { M } _ { i }$ to bmple empirical MDPthen correspond this subset of training contexts. R selecting a context at random from distribution $\mathcal { M } _ { i }$ $ { \mathcal { C } } _ { \mathrm { t r a i n } } ^ { i }$ $\mathcal { M } _ { i }$
147
+ contexts, not a single context, since our goal is to sample from the posterior entire contextual MDPs.
148
+
149
+ Choosing a link function: The link function $f$ in Proposition 6.2 that combines the set of policies together effectively serves as an inductive bias: since we are optimizing in an approximation to the true epistemic POMDP and policy optimization is not exact in practice, different choices can yield combined policies with different characteristics. Since optimal behavior in the epistemic POMDP must consider all actions, even those that are potentially sub-optimal in all MDPs in the posterior (as discussed in Section 5.2), we use an “optimistic” link function
150
+
151
+ 1: Receive training contexts 2: Bootstrap sample training $\mathcal { C } _ { \mathrm { t r a i n } }$ , number of etexts to create bers , wh $n$ e . ${ \mathcal { C } } _ { \operatorname { t r a i n } } ^ { 1 } , \ldots { \mathcal { C } } _ { \operatorname { t r a i n } } ^ { n }$ ${ \mathcal { C } } _ { \mathrm { t r a i n } } ^ { i } \subset { \mathcal { C } } _ { \mathrm { t r a i n } }$
152
+ 3: Initialize $n$ policies: $\pi _ { 1 } , \ldots , \pi _ { n }$
153
+ 4: for iteration $k = 1 , 2 , 3 , \ldots$ do
154
+ 5: for policy $i = 1 , \ldots , n$ do
155
+ 6: Collect environment samples in training contexts $ { \mathcal { C } } _ { \mathrm { t r a i n } } ^ { i }$ using policy $\pi _ { i }$
156
+ 7: Take gradient steps wrt $\pi _ { i }$ on these samples with augmented RL loss: $\pi _ { i } \pi _ { i } - \eta \nabla _ { i } ( \mathcal L ^ { R L } ( \pi _ { i } ) + \alpha \mathbb E _ { s \sim \pi _ { i } , \mathcal L _ { \operatorname { u n } } ^ { i } } [ D _ { K L } ( \pi _ { i } ( a | s ) \| \operatorname* { m a x } _ { j } \pi _ { j } ( a | s ) ) ] )$
157
+ 8: Return π = maxi π: π(a|s) = P maxi πi(a|s)a0 maxi πi(a0|s) .
158
+
159
+ that does not dismiss any action that is considered by at least one of the policies, specifically f ({πi}i∈[n]) = (maxi πi)(a|s) := P max πi(a|s)a0 max πi(a0|s) .
160
+
161
+ Algorithm: We learn a set of $n$ policies $\{ \pi _ { i } \} _ { i \in [ n ] }$ , using a policy gradient algorithm to implement the update step. To update the parameters for $\pi _ { i }$ , we take gradient steps via the surrogate loss used for the policy gradient, augmented by a disagreement penalty between the policy and the combined policy ${ \bar { f } } ( \{ \pi _ { i } \} _ { i \in [ n ] } )$ with a penalty parameter $\alpha > 0$ , as in Equation 5:
162
+
163
+ $$
164
+ \mathcal { L } ( \pi _ { i } ) = \mathcal { L } ^ { R L } ( \pi _ { i } ) + \alpha \mathbb { E } _ { s \sim \pi _ { i } , M _ { i } } [ D _ { K L } ( \pi _ { i } ( a | s ) | | \operatorname* { m a x } _ { j } \pi _ { j } ( a | s ) ) ] .
165
+ $$
166
+
167
+ Combining these elements together leads to our method, LEEP, which we summarize in Algorithm 1. In our implementation, we use PPO for training contexts to create overlapping set $\mathcal { L } ^ { R L } ( \pi _ { i } )$ [54]. In sung contexts bootstrap samples the. Every iteration, each ${ \mathcal { C } } _ { \operatorname { t r a i n } } ^ { 1 } , \ldots { \mathcal { C } } _ { \operatorname { t r a i n } } ^ { n }$ policy $\pi _ { i }$ generates rollouts in training contexts chosen uniformly from its corresponding $\mathcal { C } _ { \mathrm { t r a i n } } ^ { i }$ , and is then updated according to Equation 5, which both maximizes the expected reward and minimizes the disagreement penalty between each $\pi _ { i }$ and the combined policy $\pi = \operatorname* { m a x } _ { j } \pi _ { j }$ .
168
+
169
+ While this algorithm is structurally similar to algorithms for multi-task learning that train a separate policy for each context or group of contexts with a disagreement penalty [55, 56], the motivation and the interpretation of these approaches are completely distinct. In multi-task learning, the goal is to solve a given set of tasks, and these methods promote transfer via a loss that encourages the solutions to the tasks to be in agreement. In our setting, while we also receive a set of tasks (contexts), the goal is not to maximize performance on the training tasks, but rather to learn a policy that maximizes performance on unseen test tasks. The method also has a subtle but important distinction: each of our policies $\pi _ { i }$ acts on a sample from the contextual MDP posterior (which captures epistemic uncertainty), not a single training context [55] or element from a disjoint partitioning [56] (which does not). This distinction is crucial, since our generalization performance requires our aim is not to make it easier to solve the training contexts, but the opposite: prevent the algorithm from overfitting to the individual training contexts. Correspondingly, our experiments confirm that such multi-task learning approaches do not provide the same generalization benefits as our approach.
170
+
171
+ # 7 Experiments
172
+
173
+ The primary ambition of our empirical study is to test the hypothesis that policies that are learned through (approximations of) the epistemic POMDP do in fact attain better test-time performance than those learned by standard RL algorithms. We do so on the Procgen benchmark [16], a challenging suite of diverse tasks with image-based observations testing generalization to unseen contexts.
174
+
175
+ 1. Does LEEP derived from the epistemic POMDP lead to improved test-time performance over standard RL methods? 2. Can LEEP prevent overfitting when provided a limited number of training contexts? 3. How do different algorithmic components of LEEP affect test-time performance ?
176
+
177
+ The Procgen benchmark is a set of procedurally generated games, each with different generalization challenges. In each game, during training, the algorithm can interact with 200 training levels, before it is asked to generalize to the full distribution of levels. The agent receives a $6 4 \times 6 4 \times 3$ image observation, and must output one of 15 possible actions. We instantiate our method using an ensemble of $n = 4$ policies, a penalty parameter of $\alpha = 1$ , and PPO [54] to train the individual policies (full implementation details in Appendix C).
178
+
179
+ ![](images/9b734fd6b6053665223fa2f323f8ef19b4a38ce5431b454c8b05083894ce0651.jpg)
180
+ Figure 4: Test set return for LEEP and PPO throughout training in four Procgen environments (averaged across 5 random seeds). LEEP achieves higher test returns than PPO on three tasks (Maze, Heist and Dodgeball) and matches test return on Bigfish while having less variance across seeds.
181
+
182
+ We evaluate our method on four games in which prior work has found a large gap between training and test performance, and which we therefore conclude pose a significant generalization challenge [16, 23, 26]: Maze, Heist, BigFish, and Dodgeball. In Figure 4, we compare the test-time performance of the policies learned using our method to those learned by a PPO agent with entropy regularization. In three of these environments (Maze, Heist, and Dodgeball), our method outperforms PPO by a significant margin, and in all cases, we find that the generalization gap between training and test performance is lower for our method than PPO (Appendix D.1).
183
+
184
+ To understand how LEEP behaves with fewer training contexts, we ran on the Maze task with only 50 levels (Figure 5 (top)); the test return of the PPO policy decreases through training, leading to final performance worse than the starting random policy, but our method avoids this degradation.
185
+
186
+ We perform an ablation study on the Maze and Heist environments (Maze in Figure 4, Heist in Appendix D.1) to rule out potential confounding causes for the improved generalization that our method displays on the Procgen benchmark tasks. First, to see if the performance benefit derives solely from the use of ensembles, we compare LEEP to a Bayesian model averaging strategy that trains an ensemble of policies without regularization (“Ensemble (no reg)”), and uses a mixture of these policies. This strategy does improve performance over the PPO policy, but does not match LEEP, indicating the usefulness of the regularization. Second, we compared to a version of LEEP that combines the ensemble policies together using the average Pni=1 πi(a|s) (“LEEP (avg)”). This link function achieves worse test-time performance than the optimistic version, which indicates that the inductive bias conferred by the $\operatorname* { m a x } _ { i } \pi _ { i }$ link function is a useful component of the algorithm. We also compare to Distral, a multi-task learning method with different motivations but similar structure to LEEP: this method helps accelerate learning on the provided training contexts (figures in Appendix D.1), but does not improve generalization performance as LEEP does. We additionally ablated the two key hyperparameters in LEEP, the number of ensemble members $n$ and the penalty coefficient $\alpha$ (Table in Appendix D.2).
187
+
188
+ ![](images/7d591523064e9149c37138f70df8b33afb484d6eb9ef8efb42d0354c49b6d405.jpg)
189
+ Figure 5: (top) Performance of LEEP and PPO with only 50 training levels on Maze. (bottom) Ablations of LEEP in Maze.
190
+
191
+ # 8 Discussion
192
+
193
+ It has often been observed experimentally that generalization in RL poses a significant challenge, but it has so far remained an open question as to whether the RL setting itself presents additional generalization challenges beyond those seen in supervised learning. In this paper, we answer this question in the affirmative, and show that, in contrast to supervised learning, generalization in RL results in a new type of problem that cannot be solved with standard MDP solution methods, due to partial observability induced by epistemic uncertainty. We call the resulting partially observed setting the epistemic POMDP, where uncertainty about the true underlying MDP results in a challenging partially observed problem. We present a practical approximate method that optimizes a bound for performance in an approximation of the epistemic POMDP, and show empirically that this approach, which we call LEEP, attains significant improvements in generalization over other RL methods that do not properly incorporate the agent’s epistemic uncertainty into policy optimization. A limitation of this approach is that it optimizes a crude approximation to the epistemic POMDP with a small number of posterior samples, and may be challenging to scale to better approximations to the true objective. Developing algorithms that better model the epistemic POMDP and optimize policies within is an exciting avenue for future work, and we hope that this direction will lead to further improvements in generalization in RL.
194
+
195
+ # Acknowledgements
196
+
197
+ This research was supported by an NSF graduate fellowship, the DARPA assured autonomy program, the NSF IIS-2007278 grant, a Princeton SEAS Innovation Grant and compute support from Google and Microsoft. We thank Benjamin Eysenbach, Xinyang Geng, and Justin Fu as well as members of the Princeton Laboratory for Intelligent Probabilistic Systems for helpful discussions and feedback.
198
+
199
+ # References
200
+
201
+ [1] Jesse Farebrother, Marlos C. Machado, and Michael H. Bowling. Generalization and regularization in dqn. ArXiv, abs/1810.00123, 2018. [2] C. Zhang, Oriol Vinyals, R. Munos, and S. Bengio. A study on overfitting in deep reinforcement learning. ArXiv, abs/1804.06893, 2018.
202
+ [3] Niels Justesen, R. Torrado, Philip Bontrager, Ahmed Khalifa, J. Togelius, and S. Risi. Illuminating generalization in deep reinforcement learning through procedural level generation. arXiv: Learning, 2018. [4] Xingyou Song, Yiding Jiang, Stephen Tu, Yilun Du, and Behnam Neyshabur. Observational overfitting in reinforcement learning. ArXiv, abs/1912.02975, 2020. [5] R. Dearden, N. Friedman, and Stuart J. Russell. Bayesian q-learning. In AAAI/IAAI, 1998. [6] M. Duff and A. Barto. Optimal learning: computational procedures for bayes-adaptive markov decision processes. 2002.
203
+ [7] M. Strens. A bayesian framework for reinforcement learning. In ICML, 2000. [8] M. Ghavamzadeh, Shie Mannor, Joelle Pineau, and Aviv Tamar. Bayesian reinforcement learning: A survey. Found. Trends Mach. Learn., 8:359–483, 2015.
204
+ [9] A. Zhang, Yuxin Wu, and Joelle Pineau. Natural environment benchmarks for reinforcement learning. ArXiv, abs/1811.06032, 2018.
205
+ [10] A. Zhang, Nicolas Ballas, and Joelle Pineau. A dissection of overfitting and generalization in continuous reinforcement learning. ArXiv, abs/1806.07937, 2018.
206
+ [11] S. Whiteson, B. Tanner, Matthew E. Taylor, and P. Stone. Protecting against evaluation overfitting in empirical reinforcement learning. 2011 IEEE Symposium on Adaptive Dynamic Programming and Reinforcement Learning (ADPRL), pages 120–127, 2011.
207
+ [12] Zhuang Liu, Xuanlin Li, Bingyi Kang, and Trevor Darrell. Regularization matters in policy optimization – an empirical study on continuous control. arXiv: Learning, 2020.
208
+ [13] Alex Nichol, Vicki Pfau, Christopher Hesse, Oleg Klimov, and John Schulman. Gotta learn fast: A new benchmark for generalization in rl. ArXiv, abs/1804.03720, 2018.
209
+ [14] K. Cobbe, Oleg Klimov, Christopher Hesse, Taehoon Kim, and John Schulman. Quantifying generalization in reinforcement learning. In ICML, 2019.
210
+ [15] Heinrich Kuttler, Nantas Nardelli, Alexander H. Miller, Roberta Raileanu, Marco Selvatici, Edward Grefenstette, and Tim Rocktäschel. The nethack learning environment. ArXiv, abs/2006.13760, 2020.
211
+ [16] K. Cobbe, Christopher Hesse, Jacob Hilton, and John Schulman. Leveraging procedural generation to benchmark reinforcement learning. ArXiv, abs/1912.01588, 2020.
212
+ [17] Austin Stone, Oscar Ramirez, K. Konolige, and Rico Jonschkowski. The distracting control suite - a challenging benchmark for reinforcement learning from pixels. ArXiv, abs/2101.02722, 2021.
213
+ [18] Max Jaderberg, V. Mnih, Wojciech Czarnecki, Tom Schaul, Joel Z. Leibo, D. Silver, and K. Kavukcuoglu. Reinforcement learning with unsupervised auxiliary tasks. ArXiv, abs/1611.05397, 2017.
214
+ [19] Adam Stooke, Kimin Lee, P. Abbeel, and M. Laskin. Decoupling representation learning from reinforcement learning. ArXiv, abs/2009.08319, 2020.
215
+ [20] A. Zhang, Rowan McAllister, R. Calandra, Y. Gal, and Sergey Levine. Learning invariant representations for reinforcement learning without reconstruction. ArXiv, abs/2006.10742, 2020.
216
+ [21] Rishabh Agarwal, Marlos C. Machado, P. S. Castro, and Marc G. Bellemare. Contrastive behavioral similarity embeddings for generalization in reinforcement learning. ArXiv, abs/2101.05265, 2021.
217
+ [22] Maximilian Igl, K. Ciosek, Yingzhen Li, Sebastian Tschiatschek, C. Zhang, Sam Devlin, and Katja Hofmann. Generalization in reinforcement learning with selective noise injection and information bottleneck. In NeurIPS, 2019.
218
+ [23] Minqi Jiang, Edward Grefenstette, and Tim Rocktäschel. Prioritized level replay. ArXiv, abs/2010.03934, 2020.
219
+ [24] Kimin Lee, Kibok Lee, Jinwoo Shin, and H. Lee. Network randomization: A simple technique for generalization in deep reinforcement learning. In ICLR, 2020.
220
+ [25] Ilya Kostrikov, Denis Yarats, and R. Fergus. Image augmentation is all you need: Regularizing deep reinforcement learning from pixels. ArXiv, abs/2004.13649, 2020.
221
+ [26] Roberta Raileanu, Maxwell Goldstein, Denis Yarats, Ilya Kostrikov, and R. Fergus. Automatic data augmentation for generalization in deep reinforcement learning. ArXiv, abs/2006.12862, 2020.
222
+ [27] Fereshteh Sadeghi and Sergey Levine. (cad)2rl: Real single-image flight without a single real image. ArXiv, abs/1611.04201, 2017.
223
+ [28] Joshua Tobin, Rachel Fong, Alex Ray, J. Schneider, W. Zaremba, and P. Abbeel. Domain randomization for transferring deep neural networks from simulation to the real world. 2017 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pages 23–30, 2017.
224
+ [29] A. Rajeswaran, Sarvjeet Ghotra, Sergey Levine, and Balaraman Ravindran. Epopt: Learning robust neural network policies using model ensembles. ArXiv, abs/1610.01283, 2017.
225
+ [30] Xue Bin Peng, Marcin Andrychowicz, Wojciech Zaremba, and Pieter Abbeel. Sim-to-real transfer of robotic control with dynamics randomization. In 2018 IEEE International Conference on Robotics and Automation (ICRA), pages 1–8, May 2018.
226
+ [31] Katie Kang, Suneel Belkhale, Gregory Kahn, Pieter Abbeel, and Sergey Levine. Generalization through simulation: Integrating simulated and real data into deep reinforcement learning for vision-based autonomous flight. In 2019 international conference on robotics and automation (ICRA), pages 6008–6014. IEEE, 2019.
227
+ [32] F. Stulp, E. Theodorou, J. Buchli, and S. Schaal. Learning to grasp under uncertainty. 2011 IEEE International Conference on Robotics and Automation, pages 5703–5708, 2011.
228
+ [33] X. Lu, Kimin Lee, P. Abbeel, and Stas Tiomkin. Dynamics generalization via information bottleneck in deep reinforcement learning. ArXiv, abs/2008.00614, 2020.
229
+ [34] Deepak Ramachandran and E. Amir. Bayesian inverse reinforcement learning. In IJCAI, 2007.
230
+ [35] A. Lazaric and M. Ghavamzadeh. Bayesian multi-task reinforcement learning. In ICML, 2010.
231
+ [36] Wonseok Jeon, Seokin Seo, and Kee-Eung Kim. A bayesian approach to generative adversarial imitation learning. In NeurIPS, 2018.
232
+ [37] Luisa M. Zintgraf, K. Shiarlis, Maximilian Igl, Sebastian Schulze, Y. Gal, Katja Hofmann, and S. Whiteson. Varibad: A very good method for bayes-adaptive deep rl via meta-learning. ArXiv, abs/1910.08348, 2020.
233
+ [38] R. Weber. On the gittins index for multiarmed bandits. Annals of Applied Probability, 2:1024– 1033, 1992.
234
+ [39] P. Poupart, N. Vlassis, J. Hoey, and K. Regan. An analytic solution to discrete bayesian reinforcement learning. Proceedings of the 23rd international conference on Machine learning, 2006.
235
+ [40] R. Dearden, N. Friedman, and D. Andre. Model based bayesian exploration. In UAI, 1999.
236
+ [41] Ian Osband, Daniel Russo, and Benjamin Van Roy. (more) efficient reinforcement learning via posterior sampling. In NIPS, 2013.
237
+ [42] Daniel Russo and Benjamin Van Roy. Learning to optimize via posterior sampling. Math. Oper. Res., 39:1221–1243, 2014.
238
+ [43] Stephane Ross, Brahim Chaib-draa, and Joelle Pineau. Bayes-adaptive pomdps. In NIPS, pages 1225–1232, 2007.
239
+ [44] Sergey Levine, Aviral Kumar, George Tucker, and Justin Fu. Offline reinforcement learning: Tutorial, review, and perspectives on open problems. arXiv preprint arXiv:2005.01643, 2020.
240
+ [45] Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms, 2017.
241
+ [46] Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A. Rusu, Joel Veness, Marc G. Bellemare, Alex Graves, Martin Riedmiller, Andreas K. Fidjeland, Georg Ostrovski, Stig Petersen, Charles Beattie, Amir Sadik, Ioannis Antonoglou, Helen King, Dharshan Kumaran, Daan Wierstra, Shane Legg, and Demis Hassabis. Human-level control through deep reinforcement learning. Nature, 518(7540):529–533, 2015.
242
+ [47] George E Monahan. State of the art—a survey of partially observable markov decision processes: theory, models, and algorithms. Management science, 28(1):1–16, 1982.
243
+ [48] Satinder P. Singh, Tommi S. Jaakkola, and Michael I. Jordan. Learning without state-estimation in partially observable markovian decision processes. In Proceedings of the Eleventh International Conference on International Conference on Machine Learning, page 284–292, San Francisco, CA, USA, 1994. Morgan Kaufmann Publishers Inc.
244
+ [49] Guido Montúfar, K. Zahedi, and N. Ay. Geometry and determinism of optimal stationary control in partially observable markov decision processes. ArXiv, abs/1503.07206, 2015.
245
+ [50] Ilge Akkaya, Marcin Andrychowicz, Maciek Chociej, Mateusz Litwin, Bob McGrew, Arthur Petron, Alex Paino, Matthias Plappert, Glenn Powell, Raphael Ribas, et al. Solving rubik’s cube with a robot hand. arXiv preprint arXiv:1910.07113, 2019.
246
+ [51] Xue Bin Peng, Marcin Andrychowicz, Wojciech Zaremba, and Pieter Abbeel. Sim-to-real transfer of robotic control with dynamics randomization. CoRR, abs/1710.06537, 2017.
247
+ [52] Benjamin Eysenbach and Sergey Levine. If maxent rl is the answer, what is the question? arXiv preprint arXiv:1910.01913, 2019.
248
+ [53] Ian Osband, Charles Blundell, Alexander Pritzel, and Benjamin Van Roy. Deep exploration via bootstrapped dqn. In D. Lee, M. Sugiyama, U. Luxburg, I. Guyon, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 29. Curran Associates, Inc., 2016.
249
+ [54] John Schulman, F. Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. ArXiv, abs/1707.06347, 2017.
250
+ [55] Yee Teh, Victor Bapst, Wojciech M. Czarnecki, John Quan, James Kirkpatrick, Raia Hadsell, Nicolas Heess, and Razvan Pascanu. Distral: Robust multitask reinforcement learning. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc., 2017.
251
+ [56] Dibya Ghosh, Avi Singh, Aravind Rajeswaran, Vikash Kumar, and Sergey Levine. Divide-andconquer reinforcement learning. In International Conference on Learning Representations, 2018.
252
+ [57] Scott Fujimoto, H. V. Hoof, and D. Meger. Addressing function approximation error in actorcritic methods. ArXiv, abs/1802.09477, 2018.
253
+ [58] Ilya Kostrikov. Pytorch implementations of reinforcement learning algorithms. https:// github.com/ikostrikov/pytorch-a2c-ppo-acktr-gail, 2018.
254
+ [59] Sham Kakade and John Langford. Approximately optimal approximate reinforcement learning. In In Proc. 19th International Conference on Machine Learning. Citeseer, 2002.
255
+
256
+ [60] Kimin Lee, Younggyo Seo, Seunghyun Lee, Honglak Lee, and Jinwoo Shin. Context-aware dynamics model for generalization in model-based reinforcement learning. ArXiv, abs/2005.06800, 2020.
parse/train/QWIvzSQaX5/QWIvzSQaX5_content_list.json ADDED
@@ -0,0 +1,1159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Why Generalization in RL is Difficult: Epistemic POMDPs and Implicit Partial Observability ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 254,
8
+ 122,
9
+ 743,
10
+ 198
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Dibya Ghosh∗,1 Jad Rahme∗,2 Aviral Kumar1 Amy Zhang1,3 ",
17
+ "bbox": [
18
+ 210,
19
+ 250,
20
+ 782,
21
+ 266
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Ryan P. Adams2 ",
28
+ "bbox": [
29
+ 313,
30
+ 286,
31
+ 428,
32
+ 301
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "Sergey Levine1 ",
39
+ "bbox": [
40
+ 576,
41
+ 286,
42
+ 681,
43
+ 301
44
+ ],
45
+ "page_idx": 0
46
+ },
47
+ {
48
+ "type": "text",
49
+ "text": "Abstract ",
50
+ "text_level": 1,
51
+ "bbox": [
52
+ 462,
53
+ 337,
54
+ 535,
55
+ 353
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "Generalization is a central challenge for the deployment of reinforcement learning (RL) systems in the real world. In this paper, we show that the sequential structure of the RL problem necessitates new approaches to generalization beyond the well-studied techniques used in supervised learning. While supervised learning methods can generalize effectively without explicitly accounting for epistemic uncertainty, we show that, perhaps surprisingly, this is not the case in RL. We show that generalization to unseen test conditions from a limited number of training conditions induces implicit partial observability, effectively turning even fullyobserved MDPs into POMDPs. Informed by this observation, we recast the problem of generalization in RL as solving the induced partially observed Markov decision process, which we call the epistemic POMDP. We demonstrate the failure modes of algorithms that do not appropriately handle this partial observability, and suggest a simple ensemble-based technique for approximately solving the partially observed problem. Empirically, we demonstrate that our simple algorithm derived from the epistemic POMDP achieves significant gains in generalization over current methods on the Procgen benchmark suite. ",
62
+ "bbox": [
63
+ 232,
64
+ 369,
65
+ 766,
66
+ 590
67
+ ],
68
+ "page_idx": 0
69
+ },
70
+ {
71
+ "type": "text",
72
+ "text": "1 Introduction ",
73
+ "text_level": 1,
74
+ "bbox": [
75
+ 174,
76
+ 616,
77
+ 310,
78
+ 633
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "Generalization is a central challenge in machine learning. However, much of the research on reinforcement learning (RL) has been concerned with the problem of optimization: how to master a specific task through online or logged interaction. Generalization to new test-time contexts has received comparatively less attention, although several works have observed empirically [1, 2, 3, 4] that generalization to new situations poses a significant challenge to RL policies learned from a fixed training set of situations. In standard supervised learning, it is known that in the absence of distribution shift and with appropriate inductive biases, optimizing for performance on the training set (i.e., empirical risk minimization) translates into good generalization performance. It is tempting to suppose that the generalization challenges in RL can be solved in the same manner as empirical risk minimization in supervised learning: when provided a training set of contexts, learn the optimal policy within these contexts and then use that policy in new contexts at test-time. ",
85
+ "bbox": [
86
+ 174,
87
+ 647,
88
+ 825,
89
+ 800
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "Perhaps surprisingly, we show that such “empirical risk minimization” approaches can be sub-optimal for generalizing to new contexts in RL, even when these new contexts are drawn from the same distribution as the training contexts. As an anecdotal example of why this sub-optimality arises, imagine a robotic zookeeper for feeding otters that must be trained on some set of zoos. When placed in a new zoo, the robot must find and enter the otter enclosure. It can use one of two strategies: either peek through all the habitat windows looking for otters, which succeeds with $9 5 \\%$ probability in all zoos, or to follow an image of a hand-drawn map of the zoo that unambiguously identifies the otter enclosure, which will succeed as long as the agent is able to successfully parse the image. In every training zoo, the otters can be found more reliably using the image of the map, and so an agent trained to seek the optimal policy in the training zoos would learn a classifier to predict the identity of the otter enclosure from the map, and enter the predicted enclosure. This classification strategy is optimal on the training environments because the agent can learn to perfectly classify the training zoo maps, but it is sub-optimal for generalization, because the learned classifier will never be able to perfectly classify every new zoo map at test-time. Note that this task is not partially observed, because the map provides full state information even for a memoryless policy. However, if the learned map classifier succeeds on anything less than $9 5 \\%$ of new zoos at test-time, the strategy of peeking through the windows, although always sub-optimal in the training environments, turns out to be a more reliable strategy for finding the otter habitat in a new zoo, and results in higher expected returns at test-time. ",
96
+ "bbox": [
97
+ 174,
98
+ 806,
99
+ 825,
100
+ 862
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "image",
106
+ "img_path": "images/dd65449fe266eab7337a697241c51d8aba9254ef3ffcaeafc722afd31356dffa.jpg",
107
+ "image_caption": [
108
+ "Figure 1: Visualization of the robotic zookeeper example. Standard RL algorithms learn the classifier strategy, since it is optimal in every training zoo, but this strategy is sub-optimal for generalization because peeking generalizes better than the classifier at test-time. This failure occurs due to the following disconnect: while the task is fully-observed since the image uniquely specifies the location of the otter habitat, to an agent that has limited training data, the location is implicitly partially observed at test-time because of the agent’s epistemic uncertainty about the parameters of the image classifier. "
109
+ ],
110
+ "image_footnote": [],
111
+ "bbox": [
112
+ 176,
113
+ 93,
114
+ 820,
115
+ 172
116
+ ],
117
+ "page_idx": 1
118
+ },
119
+ {
120
+ "type": "text",
121
+ "text": "",
122
+ "bbox": [
123
+ 174,
124
+ 270,
125
+ 825,
126
+ 463
127
+ ],
128
+ "page_idx": 1
129
+ },
130
+ {
131
+ "type": "text",
132
+ "text": "Although with enough training zoos, the zookeeper can learn a policy by solving the map classification problem, to generalize optimally when given a limited number of zoos requires a more intricate policy that is not learned by standard RL methods. How can we more generally describe the set of behaviors needed for a policy to generalize from a finite number of training contexts in the RL setting? We make the observation that, even in fully-observable domains, the agent’s epistemic uncertainty renders the environment implicitly partially observed at test-time. In the zookeeper example, although the hand-drawn map provides the exact location of the otter enclosure (and so the enclosure’s location is technically fully observed), the agent cannot identify the true parameters of the map classifier from the small set of maps seen at training time, and so the location of the otters is implicitly obfuscated from the agent. We formalize this observation, and show that generalizing optimally at test-time corresponds to solving a partially-observed Markov decision process that we call an epistemic POMDP, induced by the agent’s epistemic uncertainty about the test environment. ",
133
+ "bbox": [
134
+ 174,
135
+ 469,
136
+ 825,
137
+ 636
138
+ ],
139
+ "page_idx": 1
140
+ },
141
+ {
142
+ "type": "text",
143
+ "text": "That uncertainty about MDP parameters can be modelled as a POMDP is well-studied in Bayesian RL when training and testing on a single task in an online setting, primarily in the context of exploration [5, 6, 7, 8]. However, as we will discuss, this POMDP interpretation has significant consequences for the generalization problem in RL, where an agent cannot collect more data online, and must instead learn a policy from a fixed set of training contexts that generalizes to new contexts at test-time. We show that standard RL methods that do not explicitly account for this implicit partial observability can be arbitrarily sub-optimal for test-time generalization in theory and in practice. The epistemic POMDP underscores the difficulty of the generalization problem in RL, as compared to supervised learning, and provides an avenue for understanding how we should approach generalization under the sequential nature and non-uniform reward structure of the RL setting. Maximizing expected return in an approximation of the epistemic POMDP emerges as a principled approach to learning policies that generalize well, and we propose LEEP, an algorithm that uses an ensemble of policies to approximately learn the Bayes-optimal policy for maximizing test-time performance. ",
144
+ "bbox": [
145
+ 174,
146
+ 642,
147
+ 825,
148
+ 821
149
+ ],
150
+ "page_idx": 1
151
+ },
152
+ {
153
+ "type": "text",
154
+ "text": "The primary contribution of this paper is to use Bayesian RL techniques to reframe generalization in RL as the problem of solving a partially observed Markov decision process, which we call the epistemic POMDP. The epistemic POMDP highlights the difficulty of generalizing well in RL, as compared to supervised learning. We demonstrate the practical failure modes of standard RL methods, which do not reason about this partial observability, and show that maximizing test-time performance may require algorithms to explicitly consider the agent’s epistemic uncertainty during training. Our work highlights the importance of not only finding ways to help neural networks in RL generalize better, but also on learning policies that degrade gracefully when the underlying neural network eventually does fail to generalize. Empirically, we demonstrate that LEEP, which maximizes return in an approximation to the epistemic POMDP, achieves significant gains in test-time performance over standard RL methods on several ProcGen benchmark tasks. ",
155
+ "bbox": [
156
+ 174,
157
+ 828,
158
+ 825,
159
+ 911
160
+ ],
161
+ "page_idx": 1
162
+ },
163
+ {
164
+ "type": "text",
165
+ "text": "",
166
+ "bbox": [
167
+ 174,
168
+ 92,
169
+ 825,
170
+ 160
171
+ ],
172
+ "page_idx": 2
173
+ },
174
+ {
175
+ "type": "text",
176
+ "text": "2 Related Work ",
177
+ "text_level": 1,
178
+ "bbox": [
179
+ 174,
180
+ 174,
181
+ 321,
182
+ 191
183
+ ],
184
+ "page_idx": 2
185
+ },
186
+ {
187
+ "type": "text",
188
+ "text": "Many empirical studies have demonstrated the tendency of RL algorithms to overfit significantly to their training environments [1, 2, 3, 4], and the more general increased difficulty of learning policies that generalize in RL as compared to seemingly similar supervised learning problems [9, 10, 11, 12]. These empirical observations have led to a newfound interest in algorithms for generalization in RL, and the development of benchmark RL environments that focus on generalization to new contexts from a limited set of training contexts sharing a similar structure (state and action spaces) but possibly different dynamics and rewards [13, 14, 15, 16, 17]. ",
189
+ "bbox": [
190
+ 174,
191
+ 196,
192
+ 825,
193
+ 295
194
+ ],
195
+ "page_idx": 2
196
+ },
197
+ {
198
+ "type": "text",
199
+ "text": "Generalization in RL. Approaches for improving generalization in RL have fallen into two main categories: improving the ability of function approximators to generalize better with inductive biases, and incentivizing behaviors that are easier to generalize to unseen contexts. To improve the representations learned in RL, prior work has considered imitating environment dynamics [18, 19], seeking bisimulation relations [20, 21], and more generally, addressing representational challenges in the RL optimization process [22, 23]. In image-based domains, inductive biases imposed via neural network design have also been proposed to improve robustness to certain factors of variation in the state [24, 25, 26]. The challenges with generalization in RL that we will describe in this paper stem from the deficiencies of MDP objectives, and cannot be fully solved by choice of representations or functional inductive biases. In the latter category, one approach is domain randomization, varying environment parameters such as coefficients of friction or textures, to obtain behaviors that are effective across many candidate parameter settings [27, 28, 29, 30, 31]. Domain randomization sits within a class of methods that seek robust policies by injecting noise into the agent-environment loop, whether in the state [32], the action (e.g., via max-entropy RL) [14], or intermediary layers of a neural network policy (e.g., through information bottlenecks) [22, 33]. In doing so, these methods effectively introduce partial observability into the problem; while not necessarily equivalent to that of the epistemic POMDP, it may indicate why these methods generalize well empirically. ",
200
+ "bbox": [
201
+ 174,
202
+ 301,
203
+ 825,
204
+ 536
205
+ ],
206
+ "page_idx": 2
207
+ },
208
+ {
209
+ "type": "text",
210
+ "text": "Bayesian RL: Our work recasts generalization in RL within the Bayesian RL framework, the problem of acting optimally under a belief distribution over MDPs (see Ghavamzadeh et al. [8] for a survey). Bayesian uncertainty has been studied in many sub-fields of RL [34, 35, 36, 37], the most prominent being for exploration and learning efficiently in the online RL setting. Bayes-optimal behavior in RL is often reduced to acting optimally in a POMDP, or equivalently, a belief-state MDP [6], of which our epistemic POMDP is a specific instantiation. Learning the Bayes-optimal policy exactly is intractable in all but the simplest problems [38, 39], and many works in Bayesian RL have studied relaxations that remain asymptotically optimal for learning, for example with value of perfect information [5, 40] or Thompson sampling [7, 41, 42]. Our main contribution is to revisit these classic ideas in the context of generalization for RL. We find that the POMDP interpretation of Bayesian RL [5, 6, 43] provides new insights on inadequacies of current algorithms used in practice, and explains why generalization in RL can be more challenging than in supervised learning. Being Bayesian in the generalization setting also requires new tools and algorithms beyond those classically studied in Bayesian RL, since test-time generalization is measured using regret over a single evaluation episode, instead of throughout an online training process. As a result, algorithms and policies that minimize short-term regret (i.e., are more exploitative) are preferred over traditional algorithms like Thompson sampling that explore thoroughly to ensure asymptotic optimality at the cost of short-term regret. ",
211
+ "bbox": [
212
+ 174,
213
+ 541,
214
+ 825,
215
+ 777
216
+ ],
217
+ "page_idx": 2
218
+ },
219
+ {
220
+ "type": "text",
221
+ "text": "3 Problem Setup ",
222
+ "text_level": 1,
223
+ "bbox": [
224
+ 174,
225
+ 791,
226
+ 330,
227
+ 808
228
+ ],
229
+ "page_idx": 2
230
+ },
231
+ {
232
+ "type": "text",
233
+ "text": "We consider the problem of learning RL policies given a set of training contexts that generalize well to new unseen contexts. This problem can be formalized in a Markov decision process (MDP) where the agent does not have full access to the MDP at training time, but only particular initial states or conditions. Before we describe what this means, we must describe the MDP $\\mathcal { M }$ , which is given by a tuple $( S , { \\mathcal { A } } , r , T , \\rho , \\gamma )$ , with state space $s$ , action space $\\mathcal { A }$ , Markovian transition function $T ( s _ { t + 1 } | s _ { t } , a _ { t } )$ , bounded reward function $r ( s _ { t } , a _ { t } )$ , and initial state distribution $\\rho ( s _ { 0 } )$ . A policy $\\pi$ induces a discounted state distribution $\\begin{array} { r } { d ^ { \\pi } ( s ) \\doteq ( 1 - \\gamma ) \\mathbb { E } _ { \\pi } [ \\sum _ { t \\ge 0 } \\gamma ^ { t } 1 ( s _ { t } = s ) ] } \\end{array}$ , and achieves return $\\begin{array} { r } { J _ { \\mathcal { M } } ( \\pi ) = \\mathbb { E } _ { \\pi } [ \\sum _ { t \\geq 0 } \\gamma ^ { t } r ( s _ { t } , a _ { t } ) ] } \\end{array}$ in the MDP. Classical results establish that a deterministic Markovian (memoryless) policy $\\pi ^ { * }$ maximizes this objective amongst all history-dependent policies. ",
234
+ "bbox": [
235
+ 174,
236
+ 814,
237
+ 825,
238
+ 912
239
+ ],
240
+ "page_idx": 2
241
+ },
242
+ {
243
+ "type": "image",
244
+ "img_path": "images/cec3af36a6fbafe72283c8531566cb0ef09b22d1373745d8ebc4ec08298c655b.jpg",
245
+ "image_caption": [
246
+ "Figure 2: Sequential Classification RL Problem. In this task, an agent must keep guessing the label for an image until it gets it correct. To avoid low test return, policies should change actions if the label guessed was incorrect, but standard RL methods fail to do so, instead guessing the same incorrect label repeatedly. "
247
+ ],
248
+ "image_footnote": [],
249
+ "bbox": [
250
+ 176,
251
+ 88,
252
+ 818,
253
+ 207
254
+ ],
255
+ "page_idx": 3
256
+ },
257
+ {
258
+ "type": "text",
259
+ "text": "",
260
+ "bbox": [
261
+ 174,
262
+ 270,
263
+ 823,
264
+ 301
265
+ ],
266
+ "page_idx": 3
267
+ },
268
+ {
269
+ "type": "text",
270
+ "text": "We focus on generalization in contextual MDPs where the agent is only trained on a training set of contexts, and seeks to generalize well to new contexts. A contextual MDP is an MDP in which the state can be decomposed as $s _ { t } = \\left( c , s _ { t } ^ { \\prime } \\right)$ , a context vector $c \\in { \\mathcal { C } }$ that remains constant throughout an episode, and a sub-state $s ^ { \\prime } \\in S ^ { \\prime }$ that may vary: $\\boldsymbol { S } : = \\boldsymbol { \\mathcal { C } } \\times \\boldsymbol { \\mathcal { S } } ^ { \\prime }$ . Each context vector corresponds to a different situation that the agent might be in, each with slightly different dynamics and rewards, but some shared structure across which an agent can generalize. During training, the agent is allowed to interact only within a sampled subset of contexts $\\mathcal { C } _ { \\mathrm { t r a i n } } \\subset \\mathcal { C }$ . The generalization performance of the agent is measured by the return of the agent’s policy in the full contextual MDP $J ( \\pi )$ , corresponding to expected performance when placed in potentially new contexts. While our examples and experiments will be in contextual MDPs, our theoretical results also apply to other RL generalization settings where the full MDP cannot be inferred unambiguously from the data available during training, for example in offline reinforcement learning [44]. ",
271
+ "bbox": [
272
+ 173,
273
+ 306,
274
+ 825,
275
+ 473
276
+ ],
277
+ "page_idx": 3
278
+ },
279
+ {
280
+ "type": "text",
281
+ "text": "4 Warmup: A Sequential Classification RL Problem ",
282
+ "text_level": 1,
283
+ "bbox": [
284
+ 174,
285
+ 492,
286
+ 625,
287
+ 508
288
+ ],
289
+ "page_idx": 3
290
+ },
291
+ {
292
+ "type": "text",
293
+ "text": "We begin our study of generalization in RL with an example problem that is set up to be close to a supervised learning task where generalization is relatively well understood: image classification on the FashionMNIST dataset [45]. In this environment (visualized in Figure 2), an image from the dataset is sampled (the context) at the beginning of an episode and held fixed; the agent must identify the label of the image to complete the episode. If the agent guesses correctly, it receives a reward of 0 and the episode ends; if incorrect, it receives a reward of $- 1$ and the episode continues, so it must attempt another guess for the same image at the next time step. This RL problem is near identical to supervised classification, the core distinction being that an agent may interact with the same image over several timesteps in an episode instead of only one attempt as in supervised learning. Note that since episodes may last longer than a single timestep, this problem is not a contextual bandit. ",
294
+ "bbox": [
295
+ 174,
296
+ 518,
297
+ 581,
298
+ 739
299
+ ],
300
+ "page_idx": 3
301
+ },
302
+ {
303
+ "type": "image",
304
+ "img_path": "images/af5253353306a894db28d5423bbc92c1e4195cbee199fd4b2f1747d52acb18cd.jpg",
305
+ "image_caption": [
306
+ "Figure 3: DQN on RL FashionMNIST. DQN achieves lower test performance than simple variants that leverage the structure of the RL problem. "
307
+ ],
308
+ "image_footnote": [],
309
+ "bbox": [
310
+ 602,
311
+ 537,
312
+ 815,
313
+ 780
314
+ ],
315
+ "page_idx": 3
316
+ },
317
+ {
318
+ "type": "text",
319
+ "text": "The optimal policy in both the one-step and sequential RL version of the problem deterministically outputs the correct label for the image, because the image fully determines the label (in other words, it is a fully observed MDP). However, this optimal strategy generally cannot be learned from a finite training set, since some generalization error is unavoidable. With a fixed training set, the strategy for generalizing in classification remains the same: deterministically choose the label the agent is most confident about. However, the RL setting introduces two new factors: the agent gets multiple tries at classifying the same image, and it knows if an attempted label is incorrect. To generalize best to new test images, an RL policy must leverage this additional structure, for example by trying many possible labels, or by changing actions if the previous guess was incorrect. ",
320
+ "bbox": [
321
+ 174,
322
+ 746,
323
+ 583,
324
+ 842
325
+ ],
326
+ "page_idx": 3
327
+ },
328
+ {
329
+ "type": "text",
330
+ "text": "",
331
+ "bbox": [
332
+ 176,
333
+ 843,
334
+ 825,
335
+ 911
336
+ ],
337
+ "page_idx": 3
338
+ },
339
+ {
340
+ "type": "text",
341
+ "text": "A standard RL algorithm, which estimates the optimal policy on the empirical MDP defined by the dataset of training images does not learn to leverage these factors, and instead learns behavior highly sub-optimal for generalization. We obtained a policy by running DQN [46] (experimental details in Appendix A.1), whose policy deterministically chooses the same label for the image at every timestep. Determinism is not specific to DQN, and is inevitable in any RL method that models the problem as an MDP because the optimal policy in the MDP is always deterministic and Markovian. The learned deterministic policy either guesses the correct label immediately, or guesses incorrectly and proceeds to make the same incorrect guess on every subsequent time-step. We compare performance in Figure 3 with a version of the agent that starts to guess randomly if incorrect on the first timestep, and a different agent that acts by process of elimination: first choosing the action it is most confident about, if incorrect, then the second, and so forth. Although all three versions have the same training performance, the learned RL policy generalizes more poorly than these alternative variants that exploit the sequential nature of the problem. In Section 5.2, we will see that this process-of-elimination is, in some sense, the optimal way to generalize for this task. This experiment reveals a tension: learning policies for generalization that rely on an MDP model fail, even though the underlying environment is an MDP. This failure holds in any MDP model with limited data, whether the empirical MDP or more sophisticated MDPs that use uncertainty estimates in their construction. ",
342
+ "bbox": [
343
+ 173,
344
+ 90,
345
+ 825,
346
+ 325
347
+ ],
348
+ "page_idx": 4
349
+ },
350
+ {
351
+ "type": "text",
352
+ "text": "5 Modeling Generalization in RL as an Epistemic POMDP ",
353
+ "text_level": 1,
354
+ "bbox": [
355
+ 174,
356
+ 338,
357
+ 678,
358
+ 356
359
+ ],
360
+ "page_idx": 4
361
+ },
362
+ {
363
+ "type": "text",
364
+ "text": "To better understand test-time generalization in RL, we study the problem under a Bayesian perspective. We show that training on limited training contexts leads to an implicit partial observability at test-time that we describe using a formalism called the epistemic POMDP. ",
365
+ "bbox": [
366
+ 176,
367
+ 363,
368
+ 825,
369
+ 406
370
+ ],
371
+ "page_idx": 4
372
+ },
373
+ {
374
+ "type": "text",
375
+ "text": "5.1 The Epistemic POMDP",
376
+ "text_level": 1,
377
+ "bbox": [
378
+ 174,
379
+ 421,
380
+ 377,
381
+ 436
382
+ ],
383
+ "page_idx": 4
384
+ },
385
+ {
386
+ "type": "text",
387
+ "text": "In the Bayesian framework, when learning given a limited amount of evidence $\\mathcal { D }$ from an MDP $\\mathcal { M }$ , we can use a prior $\\mathcal { P } ( \\mathcal { M } )$ to construct a posterior belief distribution $\\mathcal { P } ( \\mathcal { M } | \\mathcal { D } )$ over the identity of the MDP. For learning in a contextual MDP, $\\mathcal { D }$ corresponds to the environment dynamics and reward in training contexts $\\mathcal { C } _ { \\mathrm { t r a i n } }$ that the agent can interact with, and the posterior belief distribution $\\mathcal { P } ( \\mathcal { M } | \\mathcal { D } )$ models the agent’s uncertainty about the behavior of the environment in contexts that it has not seen before (e.g. uncertainty about the label for a test-set image in the example from Section 4). ",
388
+ "bbox": [
389
+ 174,
390
+ 446,
391
+ 825,
392
+ 530
393
+ ],
394
+ "page_idx": 4
395
+ },
396
+ {
397
+ "type": "text",
398
+ "text": "Since the agent only has partial access to the MDP $\\mathcal { M }$ during training, the agent does not know which MDP from the posterior distribution is the true environment, and must act at test-time under this uncertainty. Following a reduction common in Bayesian RL [6, 8], we model this test-time uncertainty using a partially observed MDP that we will call the epistemic POMDP. The epistemic POMDP is structured as follows: each new episode in the POMDP begins by sampling a single MDP $\\mathcal { M } \\sim \\mathcal { P } ( \\mathcal { M } | \\mathcal { D } )$ from the posterior, and then the agent interacts with $\\mathcal { M }$ until the episode ends in this MDP. The agent does not observe which MDP was sampled, and since the MDP remains fixed for the duration of the episode, this induces implicit partial observability. Effectively, each episode in the epistemic POMDP corresponds to acting in one of the possible environments that is consistent with the evidence that the agent is allowed access to at training time. ",
399
+ "bbox": [
400
+ 173,
401
+ 536,
402
+ 825,
403
+ 675
404
+ ],
405
+ "page_idx": 4
406
+ },
407
+ {
408
+ "type": "text",
409
+ "text": "The epistemic POMDP is formally defined as the tuple $\\mathcal { M } ^ { \\mathrm { p o } } = ( S ^ { \\mathrm { p o } } , \\mathcal { O } ^ { \\mathrm { p o } } , \\mathcal { A } , T ^ { \\mathrm { p o } } , r ^ { \\mathrm { p o } } , \\rho ^ { \\mathrm { p o } } , \\gamma )$ . A state in this POMDP $s _ { t } ^ { \\mathrm { p o } } = ( \\mathcal { M } , \\dot { s _ { t } } )$ contains the identity of the current MDP being acted in $\\mathcal { M }$ , and the current state in this MDP $s _ { t }$ ; we write the state space as $S ^ { \\mathrm { p o } } = \\mathbf { M } \\times S$ , where $\\mathbf { M }$ is the space of MDPs with support under the prior. The agent only observes $o _ { t } ^ { \\mathrm { p o } } = s _ { t }$ , the state in the MDP ${ \\mathcal { O } } ^ { \\mathrm { p o } } = S$ ), but not the identity of the MDP, $\\mathcal { M }$ . The initial state distribution is defined by the posterior distribution: $\\rho ^ { \\mathrm { p o } } ( ( \\mathcal { M } , s _ { 0 } ) ) = \\mathcal { P } ( \\mathcal { M } | \\mathcal { D } ) \\rho _ { \\mathcal { M } } ( s _ { 0 } )$ , and the transition and reward functions in the POMDP reflect the dynamics in the current MDP: ",
410
+ "bbox": [
411
+ 173,
412
+ 681,
413
+ 825,
414
+ 779
415
+ ],
416
+ "page_idx": 4
417
+ },
418
+ {
419
+ "type": "equation",
420
+ "img_path": "images/66cd02c0bee7481bb84508c8d4c220d9b3220553a84ea7b8bb955302e6f5706f.jpg",
421
+ "text": "$$\nT ^ { \\mathrm { p o } } ( ( { \\mathcal M } ^ { \\prime } , s ^ { \\prime } ) \\mid ( { \\mathcal M } , s ) , a ) = \\delta ( { \\mathcal M } ^ { \\prime } = { \\mathcal M } ) T _ { { \\mathcal M } } ( s ^ { \\prime } | s , a ) \\quad \\quad r ^ { \\mathrm { p o } } ( ( { \\mathcal M } , s ) , a ) = r _ { { \\mathcal M } } ( s , a ) .\n$$",
422
+ "text_format": "latex",
423
+ "bbox": [
424
+ 214,
425
+ 784,
426
+ 784,
427
+ 801
428
+ ],
429
+ "page_idx": 4
430
+ },
431
+ {
432
+ "type": "text",
433
+ "text": "Example (Sequential Image Classification). We begin by explicitly describing the induced epistemic POMDP for the task from Section 4. The agent’s uncertainty concerns how images are mapped to labels, and each MDP $\\mathcal { M }$ in the posterior distribution corresponds to a different potential labelling function $Y _ { \\mathcal { M } } : x \\mapsto y$ that is consistent with the training dataset. Each episode in the epistemic POMDP, a different MDP $\\mathcal { M }$ and corresponding labeller $Y _ { \\mathcal { M } }$ is sampled from the posterior distribution, alongside an image $x \\sim p ( x )$ . The agent must guess the label assigned by this labelling function $y : = Y _ { \\mathcal { M } } ( x )$ , but is only provided the image $x$ and not the identity of the labeller $Y _ { \\mathcal { M } }$ . We emphasize that the context remains fully observed in the epistemic POMDP (the image $x$ is provided to the agent); what is partially observed is how the environment dynamics will behave for the context (what label the image corresponds to). ",
434
+ "bbox": [
435
+ 174,
436
+ 814,
437
+ 825,
438
+ 912
439
+ ],
440
+ "page_idx": 4
441
+ },
442
+ {
443
+ "type": "text",
444
+ "text": "",
445
+ "bbox": [
446
+ 173,
447
+ 90,
448
+ 825,
449
+ 133
450
+ ],
451
+ "page_idx": 5
452
+ },
453
+ {
454
+ "type": "text",
455
+ "text": "What makes the epistemic POMDP a useful tool for understanding generalization in RL is that performance in the epistemic POMDP ${ \\mathcal { M } } ^ { { \\mathfrak { p o } } }$ corresponds exactly to the expected return of the agent at test-time when the prior is well-specified. ",
456
+ "bbox": [
457
+ 174,
458
+ 138,
459
+ 823,
460
+ 181
461
+ ],
462
+ "page_idx": 5
463
+ },
464
+ {
465
+ "type": "text",
466
+ "text": "Proposition 5.1. If the true MDP $\\mathcal { M }$ is sampled from $\\mathcal { P } ( \\mathcal { M } )$ , and evidence $\\mathcal { D }$ from $\\mathcal { M }$ is provided to an algorithm during training, then the expected test-time return of $\\pi$ is equal to its performance in the epistemic POMDP $\\mathcal { M } ^ { p o }$ . ",
467
+ "bbox": [
468
+ 174,
469
+ 184,
470
+ 825,
471
+ 227
472
+ ],
473
+ "page_idx": 5
474
+ },
475
+ {
476
+ "type": "equation",
477
+ "img_path": "images/38a457de3dcb0399007e97195d5f8acbc0ae42819c79ca3b6af90bfb27d69302.jpg",
478
+ "text": "$$\nJ _ { \\mathcal { M } ^ { p o } } ( \\pi ) = \\mathbb { E } _ { \\mathcal { M } \\sim \\mathcal { P } ( \\mathcal { M } ) } [ J _ { \\mathcal { M } } ( \\pi ) \\mid \\mathcal { D } ] .\n$$",
479
+ "text_format": "latex",
480
+ "bbox": [
481
+ 377,
482
+ 232,
483
+ 620,
484
+ 250
485
+ ],
486
+ "page_idx": 5
487
+ },
488
+ {
489
+ "type": "text",
490
+ "text": "In particular, the optimal policy in $\\mathcal { M } ^ { p o }$ is Bayes-optimal for generalization to the unknown MDP $\\mathcal { M }$ : it receives the highest expected test-time return amongst all possible policies. ",
491
+ "bbox": [
492
+ 171,
493
+ 253,
494
+ 825,
495
+ 282
496
+ ],
497
+ "page_idx": 5
498
+ },
499
+ {
500
+ "type": "text",
501
+ "text": "The epistemic POMDP is based on well-understood concepts in Bayesian reinforcement learning, and Bayesian modeling more generally. However, in contrast to prior works on Bayesian RL, we are specifically concerned with settings where there is a training-test split, and performance is measured by a single test episode. While using Bayesian RL to accelerate exploration or minimize regret has been well-explored [8], we rather use the Bayesian lens specifically to understand generalization – a perspective that is distinct from prior work on Bayesian RL. Towards this goal, the equivalence between test-time return and expected return in the epistemic POMDP allows us to use performance in the POMDP as a proxy for understanding how well current RL methods can generalize. ",
502
+ "bbox": [
503
+ 173,
504
+ 291,
505
+ 826,
506
+ 404
507
+ ],
508
+ "page_idx": 5
509
+ },
510
+ {
511
+ "type": "text",
512
+ "text": "5.2 Understanding Optimality in the Epistemic POMDP ",
513
+ "text_level": 1,
514
+ "bbox": [
515
+ 173,
516
+ 412,
517
+ 576,
518
+ 428
519
+ ],
520
+ "page_idx": 5
521
+ },
522
+ {
523
+ "type": "text",
524
+ "text": "We now study the structure of the epistemic POMDP, and use it to characterize properties of Bayesoptimal test-time behavior and the sub-optimality of alternative policy learning approaches. The majority of our results follow from well-known results about POMDPs, so we present them here informally, with formal statements and proofs in Appendix B. ",
525
+ "bbox": [
526
+ 174,
527
+ 431,
528
+ 825,
529
+ 488
530
+ ],
531
+ "page_idx": 5
532
+ },
533
+ {
534
+ "type": "text",
535
+ "text": "Example ctd. Acting optimally in the epistemic POMDP for the sequential image classification task requires maximizing return over the distribution of labels that is induced by the posterior distribution $p ( y | \\boldsymbol { x } , \\mathcal { D } ) = \\mathrm { \\bar { E } } _ { \\mathcal { M } \\sim \\mathcal { P } ( \\mathcal { M } | \\mathcal { D } ) } [ 1 ( Y _ { \\mathcal { M } } ( \\boldsymbol { x } ) = y ) ]$ . A deterministic policy (as is learned by standard RL algorithms) is a high-risk strategy in the POMDP; it receives exceedingly low return if the labeller outputs a different label than the one predicted. The Bayes-optimal generalization strategy corresponds to a process of elimination: first choose the most likely label $a = \\arg \\operatorname* { m a x } p ( y | x , \\mathcal { D } )$ ; if this is incorrect, eliminate it and choose the next-most likely, repeating until the correct label is finally chosen. Amongst memoryless policies, the optimal behavior is stochastic, sampling actions according to the distribution $\\pi ^ { * } ( a | x ) \\propto \\sqrt { p ( y | x , \\mathcal { D } ) }$ (derivation in Appendix A.2). ",
536
+ "bbox": [
537
+ 174,
538
+ 492,
539
+ 825,
540
+ 621
541
+ ],
542
+ "page_idx": 5
543
+ },
544
+ {
545
+ "type": "text",
546
+ "text": "The characteristics of the optimal policy in the epistemic POMDP for the image classification RL problem match well-established results that optimal POMDP policies are generally memory-based [47], and amongst memoryless policies, the optimal policy may be stochastic [48, 49]. Because of the equivalence between the epistemic POMDP and test-time behavior, these maxims are also true for Bayes-optimal behavior when maximizing test-time performance. ",
547
+ "bbox": [
548
+ 174,
549
+ 626,
550
+ 825,
551
+ 696
552
+ ],
553
+ "page_idx": 5
554
+ },
555
+ {
556
+ "type": "text",
557
+ "text": "Remark 5.1. The Bayes-optimal policy for maximizing test-time performance is in general nonMarkovian. When restricted to Markovian policies, the Bayes-optimal policy is in general stochastic. ",
558
+ "bbox": [
559
+ 174,
560
+ 699,
561
+ 823,
562
+ 728
563
+ ],
564
+ "page_idx": 5
565
+ },
566
+ {
567
+ "type": "text",
568
+ "text": "The reason that Bayes-optimal generalization often requires memory is that the experience collected thus far in the episode contains information about the identity of the MDP being acted in (which is hidden from the agent observation), and to maximize expected return, the agent must adapt its subsequent behavior to incorporate this new information. The fact that acting optimally at test-time formally requires adaptivity (or stochasticity for memoryless policies) highlights the difficulty of generalizing well in RL, and provides a new perspective for understanding the success various empirical studies have found in improving generalization performance using recurrent networks [50, 51] and stochastic regularization penalties [32, 14, 22, 33]. ",
569
+ "bbox": [
570
+ 174,
571
+ 738,
572
+ 825,
573
+ 849
574
+ ],
575
+ "page_idx": 5
576
+ },
577
+ {
578
+ "type": "text",
579
+ "text": "It is useful to understand to what degree the partial observability plays a role in determining Bayesoptimal behavior. When the partial observability is insignificant, the epistemic POMDP objective can coincide with a surrogate MDP approximation, and Bayes-optimal solutions can be attained with standard fully-observed RL algorithms. For example, if there is a policy that is simultaneously optimal in every MDP from the posterior, then an agent need not worry about the (hidden) identity of the MDP, and just follow this policy. Perhaps surprisingly, this kind of condition is difficult to relax: we show in Proposition B.1 that even if a policy is optimal in many (but not all) of the MDPs from the posterior, this seemingly “optimal” policy can generalize poorly at test-time. ",
580
+ "bbox": [
581
+ 176,
582
+ 856,
583
+ 825,
584
+ 911
585
+ ],
586
+ "page_idx": 5
587
+ },
588
+ {
589
+ "type": "text",
590
+ "text": "",
591
+ "bbox": [
592
+ 174,
593
+ 92,
594
+ 825,
595
+ 147
596
+ ],
597
+ "page_idx": 6
598
+ },
599
+ {
600
+ "type": "text",
601
+ "text": "Moreover, under partial observability, optimal policies for the MDPs in the posterior may differ substantially from Bayes-optimal behavior: in Proposition B.2, we show that the Bayes-optimal policy may take actions that are sub-optimal in every environment in the posterior. These results indicate the brittleness of learning policies based on optimizing return in an MDP model when the agent has not yet fully resolved the uncertainty about the true MDP parameters. ",
602
+ "bbox": [
603
+ 173,
604
+ 152,
605
+ 825,
606
+ 223
607
+ ],
608
+ "page_idx": 6
609
+ },
610
+ {
611
+ "type": "text",
612
+ "text": "Remark 5.2 (Failure of MDP-Optimal Policies, Propositions B.1, B.2). The expected test-time return of policies that are learned by maximizing reward in any MDP from the posterior, as standard RL methods do, may be arbitrarily low compared to that of Bayes-optimal behavior. ",
613
+ "bbox": [
614
+ 176,
615
+ 227,
616
+ 821,
617
+ 270
618
+ ],
619
+ "page_idx": 6
620
+ },
621
+ {
622
+ "type": "text",
623
+ "text": "As Bayes-optimal memoryless policies are stochastic, one may wonder if simple strategies for inducing stochasticity, such as adding $\\epsilon$ -greedy noise or entropy regularization, can alleviate the suboptimality that arose with deterministic policies in the previous paragraph. In some cases, this may be true; one particularly interesting result is that in certain goal-reaching problems, entropy-regularized RL can be interpreted as optimizing an epistemic POMDP objective with a specific form of posterior distribution over reward functions (Proposition B.3) [52]. For the more general setting, we show in Proposition B.4 that entropy regularization and other general-purpose techniques can similarly catastrophically fail in epistemic POMDPs. ",
624
+ "bbox": [
625
+ 173,
626
+ 281,
627
+ 825,
628
+ 391
629
+ ],
630
+ "page_idx": 6
631
+ },
632
+ {
633
+ "type": "text",
634
+ "text": "Remark 5.3 (Failure of Generic Stochasticity, Proposition B.4). The expected test-time return of policies learned with stochastic regularization techniques like maximum-entropy RL that are agnostic of the posterior $\\mathcal { P } ( \\mathcal { M } | \\mathcal { D } )$ may be arbitrarily low compared to that of Bayes-optimal behavior. ",
635
+ "bbox": [
636
+ 174,
637
+ 396,
638
+ 825,
639
+ 439
640
+ ],
641
+ "page_idx": 6
642
+ },
643
+ {
644
+ "type": "text",
645
+ "text": "This failure happens because the degree of stochasticity used by the Bayes-optimal policy reflects the agent’s epistemic uncertainty about the environment; since standard regularizations are agnostic to this uncertainty, the learned behaviors often do not reflect the appropriate level of stochasticity needed. A maze-solving agent acting Bayes-optimally, for example, may choose to act deterministically in mazes like those it has seen at training, and on others where it is less confident, rely on random exploration to exit the maze, inimitable behavior by regularization techniques agnostic to this uncertainty. ",
646
+ "bbox": [
647
+ 173,
648
+ 449,
649
+ 825,
650
+ 534
651
+ ],
652
+ "page_idx": 6
653
+ },
654
+ {
655
+ "type": "text",
656
+ "text": "Our analysis of the epistemic POMDP highlights the difficulty of generalizing well in RL, in the complexity of Bayes-optimal policies (Remark 5.1) and the deficiencies of our standard MDP-based RL algorithms (Remark 5.2, 5.3) . While MDP-based algorithms can serve as a useful starting point for acquiring generalizable skills, learning policies that perform well in new test-time scenarios may require more complex algorithms that attend to the epistemic POMDP structure that is implicitly induced by the agent’s epistemic uncertainty. ",
657
+ "bbox": [
658
+ 174,
659
+ 539,
660
+ 825,
661
+ 622
662
+ ],
663
+ "page_idx": 6
664
+ },
665
+ {
666
+ "type": "text",
667
+ "text": "6 Learning Policies that Generalize Well Using the Epistemic POMDP ",
668
+ "text_level": 1,
669
+ "bbox": [
670
+ 171,
671
+ 636,
672
+ 772,
673
+ 654
674
+ ],
675
+ "page_idx": 6
676
+ },
677
+ {
678
+ "type": "text",
679
+ "text": "When the epistemic POMDP ${ \\mathcal { M } } ^ { { \\mathfrak { p o } } }$ can be exactly obtained, we can learn RL policies that generalize well to the true (unknown) MDP $\\mathcal { M }$ by learning an optimal policy in the POMDP. In this oracle setting, any POMDP-solving method will suffice, and design choices like policy function classes (e.g. recurrent vs Markovian policies) or agent representations (e.g. belief state vs PSRs) made based on the requirements of the specific domain. However, in practice, the epistemic POMDP can be challenging to approximate due to the difficulties of learning coherent MDP models and maintaining a posterior over such MDP models in high-dimensional domains. ",
680
+ "bbox": [
681
+ 174,
682
+ 661,
683
+ 825,
684
+ 758
685
+ ],
686
+ "page_idx": 6
687
+ },
688
+ {
689
+ "type": "text",
690
+ "text": "In light of these challenges, we now focus on practical methods for learning generalizable policies when the exact posterior distribution (and therefore true epistemic POMDP) cannot be recovered exactly. We derive an algorithm for learning the optimal policy in the epistemic POMDP induced by an approximate posterior distribution $\\hat { \\mathcal { P } } ( \\mathcal { M } | \\mathcal { D } )$ with finite support. We use this to motivate LEEP, a simple ensemble-based algorithm for learning policies in the contextual MDP setting. ",
691
+ "bbox": [
692
+ 174,
693
+ 765,
694
+ 825,
695
+ 837
696
+ ],
697
+ "page_idx": 6
698
+ },
699
+ {
700
+ "type": "text",
701
+ "text": "6.1 Policy Optimization in an Empirical Epistemic POMDP ",
702
+ "text_level": 1,
703
+ "bbox": [
704
+ 174,
705
+ 847,
706
+ 601,
707
+ 863
708
+ ],
709
+ "page_idx": 6
710
+ },
711
+ {
712
+ "type": "text",
713
+ "text": "Towards a tractable algorithm, we assume that instead of the true posterior $\\mathcal { P } ( \\mathcal { M } | \\mathcal { D } )$ , we only have access to an empirical posterior distribution $\\hat { \\mathcal { P } } ( \\mathcal { M } | \\mathcal { D } )$ defined by $n$ MDP samples from the posterior distribution $\\{ \\mathcal { M } _ { i } \\} _ { i \\in [ n ] }$ . This empirical posterior distribution induces an empirical epistemic POMDP $\\hat { \\mathcal { M } } ^ { \\mathrm { p o } }$ ; our ambition is to learn the optimal policy in this POMDP. Rather than directly learning this optimal policy as a generic POMDP solver might, we recognize that $\\hat { \\mathcal { M } } ^ { \\mathrm { p o } }$ corresponds to a collection of $n$ MDPs 2 and decompose the optimization problem to mimic this structure. We will learn $n$ policies $\\pi _ { 1 } , \\cdots , \\pi _ { n }$ , each policy $\\pi _ { i }$ in one of the MDPs $\\mathcal { M } _ { i }$ from the empirical posterior, and combine these policies together to recover a single policy $\\pi$ for the POMDP. Reducing the POMDP policy learning problem into a set of MDP policy learning problems can allow us to leverage the many recent advances in deep RL for scalably solving MDPs. The following theorem links the expected return of a policy $\\pi$ in the empirical epistemic POMDP $\\hat { \\mathcal { M } } ^ { \\mathrm { p o } }$ , in terms of the performance of the policies $\\pi _ { i }$ on their respective MDPs $\\mathcal { M } _ { i }$ . ",
714
+ "bbox": [
715
+ 176,
716
+ 867,
717
+ 825,
718
+ 911
719
+ ],
720
+ "page_idx": 6
721
+ },
722
+ {
723
+ "type": "text",
724
+ "text": "",
725
+ "bbox": [
726
+ 173,
727
+ 90,
728
+ 825,
729
+ 220
730
+ ],
731
+ "page_idx": 7
732
+ },
733
+ {
734
+ "type": "text",
735
+ "text": "Proposition 6.1. Let $\\pi , \\pi _ { 1 } , \\cdots \\pi _ { n }$ be memoryless , and define $r _ { \\mathrm { m a x } } = \\mathrm { m a x } _ { i , s , a } \\left| r _ { \\mathcal { M } _ { i } } ( s , a ) \\right|$ . The expected return of $\\pi$ in $\\hat { \\mathcal { M } } ^ { p o }$ is bounded below as: ",
736
+ "bbox": [
737
+ 173,
738
+ 224,
739
+ 823,
740
+ 255
741
+ ],
742
+ "page_idx": 7
743
+ },
744
+ {
745
+ "type": "equation",
746
+ "img_path": "images/7c454dcd7e2d34efd430a9cb6fc3ee07ee3c60a25d505eacbfe3dfca3c6185cd.jpg",
747
+ "text": "$$\nJ _ { \\hat { \\mathcal { M } } ^ { p o } } ( \\pi ) \\geq \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } J _ { M _ { i } } ( \\pi _ { i } ) - \\frac { \\sqrt { 2 } r _ { \\operatorname* { m a x } } } { ( 1 - \\gamma ) ^ { 2 } n } \\sum _ { i = 1 } ^ { n } \\mathbb { E } _ { s \\sim d _ { M _ { i } } ^ { \\pi _ { i } } } \\left[ \\sqrt { D _ { K L } \\left( \\pi _ { i } ( \\cdot | s ) \\mid \\mid \\pi ( \\cdot | s ) \\right) } \\right] ,\n$$",
748
+ "text_format": "latex",
749
+ "bbox": [
750
+ 222,
751
+ 256,
752
+ 772,
753
+ 299
754
+ ],
755
+ "page_idx": 7
756
+ },
757
+ {
758
+ "type": "text",
759
+ "text": "This proposition indicates that if the policies in the collection $\\{ \\pi _ { i } \\} _ { i \\in [ n ] }$ all achieve high return in their respective MDPs (first term) and are imitable by a single policy $\\pi$ (second term), then $\\pi$ is guaranteed to achieve high return in the epistemic POMDP. In contrast, if the policies cannot be closely imitated by a single policy, this collection of policies may not be useful for learning in the epistemic POMDP using the lower bound. This means that it may not sufficient to naively optimize each policy $\\pi _ { i }$ on its MDP $\\mathcal { M } _ { i }$ without any consideration to the other policies or MDPs, since the learned policies are likely to be different and difficult to jointly imitate. To be useful for the lower bound, each policy $\\pi _ { i }$ should balance between maximizing performance on its MDP and minimizing its deviation from the other policies in the set. The following proposition shows that if the policies are trained jointly to ensure this balance, it in fact recovers the optimal policy in the empirical epistemic POMDP. ",
760
+ "bbox": [
761
+ 173,
762
+ 308,
763
+ 825,
764
+ 448
765
+ ],
766
+ "page_idx": 7
767
+ },
768
+ {
769
+ "type": "text",
770
+ "text": "Proposition 6.2. Let $f : \\{ \\pi _ { i } \\} _ { i \\in [ n ] } \\mapsto \\pi$ be a function that maps n policies to a single policy satisfying $f ( \\pi , \\cdot \\cdot \\cdot , \\pi ) = \\pi$ for every policy $\\pi$ , and let $\\alpha$ be a hyperparameter satisfying $\\begin{array} { r } { \\alpha \\ge \\frac { \\sqrt { 2 } r _ { m a x } } { ( 1 - \\gamma ) ^ { 2 } n } } \\end{array}$ . Then letting $\\pi _ { 1 } ^ { * } , \\ldots \\pi _ { n } ^ { * }$ be the optimal solution to the following optimization problem: ",
771
+ "bbox": [
772
+ 174,
773
+ 452,
774
+ 823,
775
+ 503
776
+ ],
777
+ "page_idx": 7
778
+ },
779
+ {
780
+ "type": "equation",
781
+ "img_path": "images/5cc3c7a06b2b9be44e6b3f55028c027101a24337d9be1d6de8de4c3d1e8995ca.jpg",
782
+ "text": "$$\n\\{ \\pi _ { i } ^ { * } \\} _ { i \\in [ n ] } = \\underset { \\pi _ { 1 } , \\cdots , \\pi _ { n } } { \\mathrm { a r g } \\operatorname* { m a x } } \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } J _ { M _ { i } } ( \\pi _ { i } ) - \\alpha \\sum _ { i = 1 } ^ { n } \\mathbb { E } _ { s \\sim d _ { M _ { i } } ^ { \\pi _ { i } } } \\left[ \\sqrt { D _ { K L } \\left( \\pi _ { i } ( \\cdot | s ) \\mid | \\ f ( \\{ \\pi _ { i } \\} ) ( \\cdot | s ) \\right) } \\right] ,\n$$",
783
+ "text_format": "latex",
784
+ "bbox": [
785
+ 187,
786
+ 510,
787
+ 787,
788
+ 551
789
+ ],
790
+ "page_idx": 7
791
+ },
792
+ {
793
+ "type": "text",
794
+ "text": "the policy $\\pi ^ { * } : = f ( \\{ \\pi _ { i } ^ { * } \\} _ { i \\in [ n ] } )$ is optimal for the empirical epistemic POMDP $\\hat { \\mathcal { M } } ^ { p o }$ . ",
795
+ "bbox": [
796
+ 173,
797
+ 559,
798
+ 720,
799
+ 577
800
+ ],
801
+ "page_idx": 7
802
+ },
803
+ {
804
+ "type": "text",
805
+ "text": "6.2 A Practical Algorithm for Contextual MDPs: LEEP ",
806
+ "text_level": 1,
807
+ "bbox": [
808
+ 171,
809
+ 590,
810
+ 575,
811
+ 606
812
+ ],
813
+ "page_idx": 7
814
+ },
815
+ {
816
+ "type": "text",
817
+ "text": "Proposition 6.2 provides a foundation for a practical algorithm for learning policies when provided training contexts $\\mathcal { C } _ { \\mathrm { t r a i n } }$ from an unknown contextual MDP. In order to use the proposition in a practical algorithm, we must discuss two problems: how posterior samples $\\mathcal { M } _ { i } \\sim \\mathcal { P } ( \\mathcal { M } | \\mathcal { D } )$ can be approximated, and how the function $f$ that combines policies should be chosen. ",
818
+ "bbox": [
819
+ 174,
820
+ 609,
821
+ 825,
822
+ 666
823
+ ],
824
+ "page_idx": 7
825
+ },
826
+ {
827
+ "type": "text",
828
+ "text": "Approximating the posterior distribution: Rather than directly maintaining a posterior over \ntransition dynamics and reward models, which is especially difficult with image-based observations, \nwe can approximate samples from the posterior via a bootstrap sampling technique [53]. To sample a \ncandidate MDP $\\mathcal { M } _ { i }$ , we sample with replacement from the training contexts $\\mathcal { C } _ { \\mathrm { t r a i n } }$ to get a new set of \ncontexts out trials $ { \\mathcal { C } } _ { \\mathrm { t r a i n } } ^ { i }$ , and define the posteri $\\mathcal { M } _ { i }$ to bmple empirical MDPthen correspond this subset of training contexts. R selecting a context at random from distribution $\\mathcal { M } _ { i }$ $ { \\mathcal { C } } _ { \\mathrm { t r a i n } } ^ { i }$ $\\mathcal { M } _ { i }$ \ncontexts, not a single context, since our goal is to sample from the posterior entire contextual MDPs. ",
829
+ "bbox": [
830
+ 173,
831
+ 671,
832
+ 825,
833
+ 785
834
+ ],
835
+ "page_idx": 7
836
+ },
837
+ {
838
+ "type": "text",
839
+ "text": "Choosing a link function: The link function $f$ in Proposition 6.2 that combines the set of policies together effectively serves as an inductive bias: since we are optimizing in an approximation to the true epistemic POMDP and policy optimization is not exact in practice, different choices can yield combined policies with different characteristics. Since optimal behavior in the epistemic POMDP must consider all actions, even those that are potentially sub-optimal in all MDPs in the posterior (as discussed in Section 5.2), we use an “optimistic” link function ",
840
+ "bbox": [
841
+ 173,
842
+ 790,
843
+ 825,
844
+ 875
845
+ ],
846
+ "page_idx": 7
847
+ },
848
+ {
849
+ "type": "text",
850
+ "text": "1: Receive training contexts 2: Bootstrap sample training $\\mathcal { C } _ { \\mathrm { t r a i n } }$ , number of etexts to create bers , wh $n$ e . ${ \\mathcal { C } } _ { \\operatorname { t r a i n } } ^ { 1 } , \\ldots { \\mathcal { C } } _ { \\operatorname { t r a i n } } ^ { n }$ ${ \\mathcal { C } } _ { \\mathrm { t r a i n } } ^ { i } \\subset { \\mathcal { C } } _ { \\mathrm { t r a i n } }$ \n3: Initialize $n$ policies: $\\pi _ { 1 } , \\ldots , \\pi _ { n }$ \n4: for iteration $k = 1 , 2 , 3 , \\ldots$ do \n5: for policy $i = 1 , \\ldots , n$ do \n6: Collect environment samples in training contexts $ { \\mathcal { C } } _ { \\mathrm { t r a i n } } ^ { i }$ using policy $\\pi _ { i }$ \n7: Take gradient steps wrt $\\pi _ { i }$ on these samples with augmented RL loss: $\\pi _ { i } \\pi _ { i } - \\eta \\nabla _ { i } ( \\mathcal L ^ { R L } ( \\pi _ { i } ) + \\alpha \\mathbb E _ { s \\sim \\pi _ { i } , \\mathcal L _ { \\operatorname { u n } } ^ { i } } [ D _ { K L } ( \\pi _ { i } ( a | s ) \\| \\operatorname* { m a x } _ { j } \\pi _ { j } ( a | s ) ) ] )$ \n8: Return π = maxi π: π(a|s) = P maxi πi(a|s)a0 maxi πi(a0|s) . ",
851
+ "bbox": [
852
+ 179,
853
+ 108,
854
+ 750,
855
+ 265
856
+ ],
857
+ "page_idx": 8
858
+ },
859
+ {
860
+ "type": "text",
861
+ "text": "that does not dismiss any action that is considered by at least one of the policies, specifically f ({πi}i∈[n]) = (maxi πi)(a|s) := P max πi(a|s)a0 max πi(a0|s) . ",
862
+ "bbox": [
863
+ 173,
864
+ 292,
865
+ 821,
866
+ 330
867
+ ],
868
+ "page_idx": 8
869
+ },
870
+ {
871
+ "type": "text",
872
+ "text": "Algorithm: We learn a set of $n$ policies $\\{ \\pi _ { i } \\} _ { i \\in [ n ] }$ , using a policy gradient algorithm to implement the update step. To update the parameters for $\\pi _ { i }$ , we take gradient steps via the surrogate loss used for the policy gradient, augmented by a disagreement penalty between the policy and the combined policy ${ \\bar { f } } ( \\{ \\pi _ { i } \\} _ { i \\in [ n ] } )$ with a penalty parameter $\\alpha > 0$ , as in Equation 5: ",
873
+ "bbox": [
874
+ 174,
875
+ 334,
876
+ 825,
877
+ 391
878
+ ],
879
+ "page_idx": 8
880
+ },
881
+ {
882
+ "type": "equation",
883
+ "img_path": "images/0f43231f8e9b0b71c37f952fd79c14177c4cdb00ccdce43851a1042e38568c89.jpg",
884
+ "text": "$$\n\\mathcal { L } ( \\pi _ { i } ) = \\mathcal { L } ^ { R L } ( \\pi _ { i } ) + \\alpha \\mathbb { E } _ { s \\sim \\pi _ { i } , M _ { i } } [ D _ { K L } ( \\pi _ { i } ( a | s ) | | \\operatorname* { m a x } _ { j } \\pi _ { j } ( a | s ) ) ] .\n$$",
885
+ "text_format": "latex",
886
+ "bbox": [
887
+ 287,
888
+ 397,
889
+ 710,
890
+ 424
891
+ ],
892
+ "page_idx": 8
893
+ },
894
+ {
895
+ "type": "text",
896
+ "text": "Combining these elements together leads to our method, LEEP, which we summarize in Algorithm 1. In our implementation, we use PPO for training contexts to create overlapping set $\\mathcal { L } ^ { R L } ( \\pi _ { i } )$ [54]. In sung contexts bootstrap samples the. Every iteration, each ${ \\mathcal { C } } _ { \\operatorname { t r a i n } } ^ { 1 } , \\ldots { \\mathcal { C } } _ { \\operatorname { t r a i n } } ^ { n }$ policy $\\pi _ { i }$ generates rollouts in training contexts chosen uniformly from its corresponding $\\mathcal { C } _ { \\mathrm { t r a i n } } ^ { i }$ , and is then updated according to Equation 5, which both maximizes the expected reward and minimizes the disagreement penalty between each $\\pi _ { i }$ and the combined policy $\\pi = \\operatorname* { m a x } _ { j } \\pi _ { j }$ . ",
897
+ "bbox": [
898
+ 173,
899
+ 429,
900
+ 825,
901
+ 515
902
+ ],
903
+ "page_idx": 8
904
+ },
905
+ {
906
+ "type": "text",
907
+ "text": "While this algorithm is structurally similar to algorithms for multi-task learning that train a separate policy for each context or group of contexts with a disagreement penalty [55, 56], the motivation and the interpretation of these approaches are completely distinct. In multi-task learning, the goal is to solve a given set of tasks, and these methods promote transfer via a loss that encourages the solutions to the tasks to be in agreement. In our setting, while we also receive a set of tasks (contexts), the goal is not to maximize performance on the training tasks, but rather to learn a policy that maximizes performance on unseen test tasks. The method also has a subtle but important distinction: each of our policies $\\pi _ { i }$ acts on a sample from the contextual MDP posterior (which captures epistemic uncertainty), not a single training context [55] or element from a disjoint partitioning [56] (which does not). This distinction is crucial, since our generalization performance requires our aim is not to make it easier to solve the training contexts, but the opposite: prevent the algorithm from overfitting to the individual training contexts. Correspondingly, our experiments confirm that such multi-task learning approaches do not provide the same generalization benefits as our approach. ",
908
+ "bbox": [
909
+ 173,
910
+ 520,
911
+ 825,
912
+ 700
913
+ ],
914
+ "page_idx": 8
915
+ },
916
+ {
917
+ "type": "text",
918
+ "text": "7 Experiments ",
919
+ "text_level": 1,
920
+ "bbox": [
921
+ 174,
922
+ 708,
923
+ 313,
924
+ 724
925
+ ],
926
+ "page_idx": 8
927
+ },
928
+ {
929
+ "type": "text",
930
+ "text": "The primary ambition of our empirical study is to test the hypothesis that policies that are learned through (approximations of) the epistemic POMDP do in fact attain better test-time performance than those learned by standard RL algorithms. We do so on the Procgen benchmark [16], a challenging suite of diverse tasks with image-based observations testing generalization to unseen contexts. ",
931
+ "bbox": [
932
+ 176,
933
+ 726,
934
+ 825,
935
+ 782
936
+ ],
937
+ "page_idx": 8
938
+ },
939
+ {
940
+ "type": "text",
941
+ "text": "1. Does LEEP derived from the epistemic POMDP lead to improved test-time performance over standard RL methods? 2. Can LEEP prevent overfitting when provided a limited number of training contexts? 3. How do different algorithmic components of LEEP affect test-time performance ? ",
942
+ "bbox": [
943
+ 212,
944
+ 787,
945
+ 823,
946
+ 851
947
+ ],
948
+ "page_idx": 8
949
+ },
950
+ {
951
+ "type": "text",
952
+ "text": "The Procgen benchmark is a set of procedurally generated games, each with different generalization challenges. In each game, during training, the algorithm can interact with 200 training levels, before it is asked to generalize to the full distribution of levels. The agent receives a $6 4 \\times 6 4 \\times 3$ image observation, and must output one of 15 possible actions. We instantiate our method using an ensemble of $n = 4$ policies, a penalty parameter of $\\alpha = 1$ , and PPO [54] to train the individual policies (full implementation details in Appendix C). ",
953
+ "bbox": [
954
+ 176,
955
+ 856,
956
+ 825,
957
+ 911
958
+ ],
959
+ "page_idx": 8
960
+ },
961
+ {
962
+ "type": "image",
963
+ "img_path": "images/9b734fd6b6053665223fa2f323f8ef19b4a38ce5431b454c8b05083894ce0651.jpg",
964
+ "image_caption": [
965
+ "Figure 4: Test set return for LEEP and PPO throughout training in four Procgen environments (averaged across 5 random seeds). LEEP achieves higher test returns than PPO on three tasks (Maze, Heist and Dodgeball) and matches test return on Bigfish while having less variance across seeds. "
966
+ ],
967
+ "image_footnote": [],
968
+ "bbox": [
969
+ 214,
970
+ 94,
971
+ 787,
972
+ 189
973
+ ],
974
+ "page_idx": 9
975
+ },
976
+ {
977
+ "type": "text",
978
+ "text": "",
979
+ "bbox": [
980
+ 174,
981
+ 237,
982
+ 821,
983
+ 265
984
+ ],
985
+ "page_idx": 9
986
+ },
987
+ {
988
+ "type": "text",
989
+ "text": "We evaluate our method on four games in which prior work has found a large gap between training and test performance, and which we therefore conclude pose a significant generalization challenge [16, 23, 26]: Maze, Heist, BigFish, and Dodgeball. In Figure 4, we compare the test-time performance of the policies learned using our method to those learned by a PPO agent with entropy regularization. In three of these environments (Maze, Heist, and Dodgeball), our method outperforms PPO by a significant margin, and in all cases, we find that the generalization gap between training and test performance is lower for our method than PPO (Appendix D.1). ",
990
+ "bbox": [
991
+ 173,
992
+ 272,
993
+ 825,
994
+ 369
995
+ ],
996
+ "page_idx": 9
997
+ },
998
+ {
999
+ "type": "text",
1000
+ "text": "To understand how LEEP behaves with fewer training contexts, we ran on the Maze task with only 50 levels (Figure 5 (top)); the test return of the PPO policy decreases through training, leading to final performance worse than the starting random policy, but our method avoids this degradation. ",
1001
+ "bbox": [
1002
+ 174,
1003
+ 369,
1004
+ 562,
1005
+ 438
1006
+ ],
1007
+ "page_idx": 9
1008
+ },
1009
+ {
1010
+ "type": "text",
1011
+ "text": "We perform an ablation study on the Maze and Heist environments (Maze in Figure 4, Heist in Appendix D.1) to rule out potential confounding causes for the improved generalization that our method displays on the Procgen benchmark tasks. First, to see if the performance benefit derives solely from the use of ensembles, we compare LEEP to a Bayesian model averaging strategy that trains an ensemble of policies without regularization (“Ensemble (no reg)”), and uses a mixture of these policies. This strategy does improve performance over the PPO policy, but does not match LEEP, indicating the usefulness of the regularization. Second, we compared to a version of LEEP that combines the ensemble policies together using the average Pni=1 πi(a|s) (“LEEP (avg)”). This link function achieves worse test-time performance than the optimistic version, which indicates that the inductive bias conferred by the $\\operatorname* { m a x } _ { i } \\pi _ { i }$ link function is a useful component of the algorithm. We also compare to Distral, a multi-task learning method with different motivations but similar structure to LEEP: this method helps accelerate learning on the provided training contexts (figures in Appendix D.1), but does not improve generalization performance as LEEP does. We additionally ablated the two key hyperparameters in LEEP, the number of ensemble members $n$ and the penalty coefficient $\\alpha$ (Table in Appendix D.2). ",
1012
+ "bbox": [
1013
+ 174,
1014
+ 444,
1015
+ 562,
1016
+ 693
1017
+ ],
1018
+ "page_idx": 9
1019
+ },
1020
+ {
1021
+ "type": "image",
1022
+ "img_path": "images/7d591523064e9149c37138f70df8b33afb484d6eb9ef8efb42d0354c49b6d405.jpg",
1023
+ "image_caption": [
1024
+ "Figure 5: (top) Performance of LEEP and PPO with only 50 training levels on Maze. (bottom) Ablations of LEEP in Maze. "
1025
+ ],
1026
+ "image_footnote": [],
1027
+ "bbox": [
1028
+ 586,
1029
+ 382,
1030
+ 813,
1031
+ 643
1032
+ ],
1033
+ "page_idx": 9
1034
+ },
1035
+ {
1036
+ "type": "text",
1037
+ "text": "",
1038
+ "bbox": [
1039
+ 174,
1040
+ 693,
1041
+ 825,
1042
+ 747
1043
+ ],
1044
+ "page_idx": 9
1045
+ },
1046
+ {
1047
+ "type": "text",
1048
+ "text": "8 Discussion ",
1049
+ "text_level": 1,
1050
+ "bbox": [
1051
+ 173,
1052
+ 755,
1053
+ 294,
1054
+ 770
1055
+ ],
1056
+ "page_idx": 9
1057
+ },
1058
+ {
1059
+ "type": "text",
1060
+ "text": "It has often been observed experimentally that generalization in RL poses a significant challenge, but it has so far remained an open question as to whether the RL setting itself presents additional generalization challenges beyond those seen in supervised learning. In this paper, we answer this question in the affirmative, and show that, in contrast to supervised learning, generalization in RL results in a new type of problem that cannot be solved with standard MDP solution methods, due to partial observability induced by epistemic uncertainty. We call the resulting partially observed setting the epistemic POMDP, where uncertainty about the true underlying MDP results in a challenging partially observed problem. We present a practical approximate method that optimizes a bound for performance in an approximation of the epistemic POMDP, and show empirically that this approach, which we call LEEP, attains significant improvements in generalization over other RL methods that do not properly incorporate the agent’s epistemic uncertainty into policy optimization. A limitation of this approach is that it optimizes a crude approximation to the epistemic POMDP with a small number of posterior samples, and may be challenging to scale to better approximations to the true objective. Developing algorithms that better model the epistemic POMDP and optimize policies within is an exciting avenue for future work, and we hope that this direction will lead to further improvements in generalization in RL. ",
1061
+ "bbox": [
1062
+ 174,
1063
+ 773,
1064
+ 825,
1065
+ 911
1066
+ ],
1067
+ "page_idx": 9
1068
+ },
1069
+ {
1070
+ "type": "text",
1071
+ "text": "",
1072
+ "bbox": [
1073
+ 174,
1074
+ 92,
1075
+ 825,
1076
+ 174
1077
+ ],
1078
+ "page_idx": 10
1079
+ },
1080
+ {
1081
+ "type": "text",
1082
+ "text": "Acknowledgements ",
1083
+ "text_level": 1,
1084
+ "bbox": [
1085
+ 176,
1086
+ 194,
1087
+ 338,
1088
+ 212
1089
+ ],
1090
+ "page_idx": 10
1091
+ },
1092
+ {
1093
+ "type": "text",
1094
+ "text": "This research was supported by an NSF graduate fellowship, the DARPA assured autonomy program, the NSF IIS-2007278 grant, a Princeton SEAS Innovation Grant and compute support from Google and Microsoft. We thank Benjamin Eysenbach, Xinyang Geng, and Justin Fu as well as members of the Princeton Laboratory for Intelligent Probabilistic Systems for helpful discussions and feedback. ",
1095
+ "bbox": [
1096
+ 174,
1097
+ 226,
1098
+ 826,
1099
+ 281
1100
+ ],
1101
+ "page_idx": 10
1102
+ },
1103
+ {
1104
+ "type": "text",
1105
+ "text": "References ",
1106
+ "text_level": 1,
1107
+ "bbox": [
1108
+ 174,
1109
+ 301,
1110
+ 266,
1111
+ 318
1112
+ ],
1113
+ "page_idx": 10
1114
+ },
1115
+ {
1116
+ "type": "text",
1117
+ "text": "[1] Jesse Farebrother, Marlos C. Machado, and Michael H. Bowling. Generalization and regularization in dqn. ArXiv, abs/1810.00123, 2018. [2] C. Zhang, Oriol Vinyals, R. Munos, and S. Bengio. A study on overfitting in deep reinforcement learning. ArXiv, abs/1804.06893, 2018. \n[3] Niels Justesen, R. Torrado, Philip Bontrager, Ahmed Khalifa, J. Togelius, and S. Risi. Illuminating generalization in deep reinforcement learning through procedural level generation. arXiv: Learning, 2018. [4] Xingyou Song, Yiding Jiang, Stephen Tu, Yilun Du, and Behnam Neyshabur. Observational overfitting in reinforcement learning. ArXiv, abs/1912.02975, 2020. [5] R. Dearden, N. Friedman, and Stuart J. Russell. Bayesian q-learning. In AAAI/IAAI, 1998. [6] M. Duff and A. Barto. Optimal learning: computational procedures for bayes-adaptive markov decision processes. 2002. \n[7] M. Strens. A bayesian framework for reinforcement learning. In ICML, 2000. [8] M. Ghavamzadeh, Shie Mannor, Joelle Pineau, and Aviv Tamar. Bayesian reinforcement learning: A survey. Found. Trends Mach. Learn., 8:359–483, 2015. \n[9] A. Zhang, Yuxin Wu, and Joelle Pineau. Natural environment benchmarks for reinforcement learning. ArXiv, abs/1811.06032, 2018. \n[10] A. Zhang, Nicolas Ballas, and Joelle Pineau. A dissection of overfitting and generalization in continuous reinforcement learning. ArXiv, abs/1806.07937, 2018. \n[11] S. Whiteson, B. Tanner, Matthew E. Taylor, and P. Stone. Protecting against evaluation overfitting in empirical reinforcement learning. 2011 IEEE Symposium on Adaptive Dynamic Programming and Reinforcement Learning (ADPRL), pages 120–127, 2011. \n[12] Zhuang Liu, Xuanlin Li, Bingyi Kang, and Trevor Darrell. Regularization matters in policy optimization – an empirical study on continuous control. arXiv: Learning, 2020. \n[13] Alex Nichol, Vicki Pfau, Christopher Hesse, Oleg Klimov, and John Schulman. Gotta learn fast: A new benchmark for generalization in rl. ArXiv, abs/1804.03720, 2018. \n[14] K. Cobbe, Oleg Klimov, Christopher Hesse, Taehoon Kim, and John Schulman. Quantifying generalization in reinforcement learning. In ICML, 2019. \n[15] Heinrich Kuttler, Nantas Nardelli, Alexander H. Miller, Roberta Raileanu, Marco Selvatici, Edward Grefenstette, and Tim Rocktäschel. The nethack learning environment. ArXiv, abs/2006.13760, 2020. \n[16] K. Cobbe, Christopher Hesse, Jacob Hilton, and John Schulman. Leveraging procedural generation to benchmark reinforcement learning. ArXiv, abs/1912.01588, 2020. \n[17] Austin Stone, Oscar Ramirez, K. Konolige, and Rico Jonschkowski. The distracting control suite - a challenging benchmark for reinforcement learning from pixels. ArXiv, abs/2101.02722, 2021. \n[18] Max Jaderberg, V. Mnih, Wojciech Czarnecki, Tom Schaul, Joel Z. Leibo, D. Silver, and K. Kavukcuoglu. Reinforcement learning with unsupervised auxiliary tasks. ArXiv, abs/1611.05397, 2017. \n[19] Adam Stooke, Kimin Lee, P. Abbeel, and M. Laskin. Decoupling representation learning from reinforcement learning. ArXiv, abs/2009.08319, 2020. \n[20] A. Zhang, Rowan McAllister, R. Calandra, Y. Gal, and Sergey Levine. Learning invariant representations for reinforcement learning without reconstruction. ArXiv, abs/2006.10742, 2020. \n[21] Rishabh Agarwal, Marlos C. Machado, P. S. Castro, and Marc G. Bellemare. Contrastive behavioral similarity embeddings for generalization in reinforcement learning. ArXiv, abs/2101.05265, 2021. \n[22] Maximilian Igl, K. Ciosek, Yingzhen Li, Sebastian Tschiatschek, C. Zhang, Sam Devlin, and Katja Hofmann. Generalization in reinforcement learning with selective noise injection and information bottleneck. In NeurIPS, 2019. \n[23] Minqi Jiang, Edward Grefenstette, and Tim Rocktäschel. Prioritized level replay. ArXiv, abs/2010.03934, 2020. \n[24] Kimin Lee, Kibok Lee, Jinwoo Shin, and H. Lee. Network randomization: A simple technique for generalization in deep reinforcement learning. In ICLR, 2020. \n[25] Ilya Kostrikov, Denis Yarats, and R. Fergus. Image augmentation is all you need: Regularizing deep reinforcement learning from pixels. ArXiv, abs/2004.13649, 2020. \n[26] Roberta Raileanu, Maxwell Goldstein, Denis Yarats, Ilya Kostrikov, and R. Fergus. Automatic data augmentation for generalization in deep reinforcement learning. ArXiv, abs/2006.12862, 2020. \n[27] Fereshteh Sadeghi and Sergey Levine. (cad)2rl: Real single-image flight without a single real image. ArXiv, abs/1611.04201, 2017. \n[28] Joshua Tobin, Rachel Fong, Alex Ray, J. Schneider, W. Zaremba, and P. Abbeel. Domain randomization for transferring deep neural networks from simulation to the real world. 2017 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pages 23–30, 2017. \n[29] A. Rajeswaran, Sarvjeet Ghotra, Sergey Levine, and Balaraman Ravindran. Epopt: Learning robust neural network policies using model ensembles. ArXiv, abs/1610.01283, 2017. \n[30] Xue Bin Peng, Marcin Andrychowicz, Wojciech Zaremba, and Pieter Abbeel. Sim-to-real transfer of robotic control with dynamics randomization. In 2018 IEEE International Conference on Robotics and Automation (ICRA), pages 1–8, May 2018. \n[31] Katie Kang, Suneel Belkhale, Gregory Kahn, Pieter Abbeel, and Sergey Levine. Generalization through simulation: Integrating simulated and real data into deep reinforcement learning for vision-based autonomous flight. In 2019 international conference on robotics and automation (ICRA), pages 6008–6014. IEEE, 2019. \n[32] F. Stulp, E. Theodorou, J. Buchli, and S. Schaal. Learning to grasp under uncertainty. 2011 IEEE International Conference on Robotics and Automation, pages 5703–5708, 2011. \n[33] X. Lu, Kimin Lee, P. Abbeel, and Stas Tiomkin. Dynamics generalization via information bottleneck in deep reinforcement learning. ArXiv, abs/2008.00614, 2020. \n[34] Deepak Ramachandran and E. Amir. Bayesian inverse reinforcement learning. In IJCAI, 2007. \n[35] A. Lazaric and M. Ghavamzadeh. Bayesian multi-task reinforcement learning. In ICML, 2010. \n[36] Wonseok Jeon, Seokin Seo, and Kee-Eung Kim. A bayesian approach to generative adversarial imitation learning. In NeurIPS, 2018. \n[37] Luisa M. Zintgraf, K. Shiarlis, Maximilian Igl, Sebastian Schulze, Y. Gal, Katja Hofmann, and S. Whiteson. Varibad: A very good method for bayes-adaptive deep rl via meta-learning. ArXiv, abs/1910.08348, 2020. \n[38] R. Weber. On the gittins index for multiarmed bandits. Annals of Applied Probability, 2:1024– 1033, 1992. \n[39] P. Poupart, N. Vlassis, J. Hoey, and K. Regan. An analytic solution to discrete bayesian reinforcement learning. Proceedings of the 23rd international conference on Machine learning, 2006. \n[40] R. Dearden, N. Friedman, and D. Andre. Model based bayesian exploration. In UAI, 1999. \n[41] Ian Osband, Daniel Russo, and Benjamin Van Roy. (more) efficient reinforcement learning via posterior sampling. In NIPS, 2013. \n[42] Daniel Russo and Benjamin Van Roy. Learning to optimize via posterior sampling. Math. Oper. Res., 39:1221–1243, 2014. \n[43] Stephane Ross, Brahim Chaib-draa, and Joelle Pineau. Bayes-adaptive pomdps. In NIPS, pages 1225–1232, 2007. \n[44] Sergey Levine, Aviral Kumar, George Tucker, and Justin Fu. Offline reinforcement learning: Tutorial, review, and perspectives on open problems. arXiv preprint arXiv:2005.01643, 2020. \n[45] Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms, 2017. \n[46] Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A. Rusu, Joel Veness, Marc G. Bellemare, Alex Graves, Martin Riedmiller, Andreas K. Fidjeland, Georg Ostrovski, Stig Petersen, Charles Beattie, Amir Sadik, Ioannis Antonoglou, Helen King, Dharshan Kumaran, Daan Wierstra, Shane Legg, and Demis Hassabis. Human-level control through deep reinforcement learning. Nature, 518(7540):529–533, 2015. \n[47] George E Monahan. State of the art—a survey of partially observable markov decision processes: theory, models, and algorithms. Management science, 28(1):1–16, 1982. \n[48] Satinder P. Singh, Tommi S. Jaakkola, and Michael I. Jordan. Learning without state-estimation in partially observable markovian decision processes. In Proceedings of the Eleventh International Conference on International Conference on Machine Learning, page 284–292, San Francisco, CA, USA, 1994. Morgan Kaufmann Publishers Inc. \n[49] Guido Montúfar, K. Zahedi, and N. Ay. Geometry and determinism of optimal stationary control in partially observable markov decision processes. ArXiv, abs/1503.07206, 2015. \n[50] Ilge Akkaya, Marcin Andrychowicz, Maciek Chociej, Mateusz Litwin, Bob McGrew, Arthur Petron, Alex Paino, Matthias Plappert, Glenn Powell, Raphael Ribas, et al. Solving rubik’s cube with a robot hand. arXiv preprint arXiv:1910.07113, 2019. \n[51] Xue Bin Peng, Marcin Andrychowicz, Wojciech Zaremba, and Pieter Abbeel. Sim-to-real transfer of robotic control with dynamics randomization. CoRR, abs/1710.06537, 2017. \n[52] Benjamin Eysenbach and Sergey Levine. If maxent rl is the answer, what is the question? arXiv preprint arXiv:1910.01913, 2019. \n[53] Ian Osband, Charles Blundell, Alexander Pritzel, and Benjamin Van Roy. Deep exploration via bootstrapped dqn. In D. Lee, M. Sugiyama, U. Luxburg, I. Guyon, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 29. Curran Associates, Inc., 2016. \n[54] John Schulman, F. Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. ArXiv, abs/1707.06347, 2017. \n[55] Yee Teh, Victor Bapst, Wojciech M. Czarnecki, John Quan, James Kirkpatrick, Raia Hadsell, Nicolas Heess, and Razvan Pascanu. Distral: Robust multitask reinforcement learning. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc., 2017. \n[56] Dibya Ghosh, Avi Singh, Aravind Rajeswaran, Vikash Kumar, and Sergey Levine. Divide-andconquer reinforcement learning. In International Conference on Learning Representations, 2018. \n[57] Scott Fujimoto, H. V. Hoof, and D. Meger. Addressing function approximation error in actorcritic methods. ArXiv, abs/1802.09477, 2018. \n[58] Ilya Kostrikov. Pytorch implementations of reinforcement learning algorithms. https:// github.com/ikostrikov/pytorch-a2c-ppo-acktr-gail, 2018. \n[59] Sham Kakade and John Langford. Approximately optimal approximate reinforcement learning. In In Proc. 19th International Conference on Machine Learning. Citeseer, 2002. ",
1118
+ "bbox": [
1119
+ 174,
1120
+ 321,
1121
+ 826,
1122
+ 910
1123
+ ],
1124
+ "page_idx": 10
1125
+ },
1126
+ {
1127
+ "type": "text",
1128
+ "text": "",
1129
+ "bbox": [
1130
+ 171,
1131
+ 80,
1132
+ 828,
1133
+ 912
1134
+ ],
1135
+ "page_idx": 11
1136
+ },
1137
+ {
1138
+ "type": "text",
1139
+ "text": "",
1140
+ "bbox": [
1141
+ 171,
1142
+ 56,
1143
+ 828,
1144
+ 914
1145
+ ],
1146
+ "page_idx": 12
1147
+ },
1148
+ {
1149
+ "type": "text",
1150
+ "text": "[60] Kimin Lee, Younggyo Seo, Seunghyun Lee, Honglak Lee, and Jinwoo Shin. Context-aware dynamics model for generalization in model-based reinforcement learning. ArXiv, abs/2005.06800, 2020. ",
1151
+ "bbox": [
1152
+ 171,
1153
+ 90,
1154
+ 826,
1155
+ 132
1156
+ ],
1157
+ "page_idx": 13
1158
+ }
1159
+ ]