ZHANGYUXUAN-zR commited on
Commit
b3ed3b5
·
verified ·
1 Parent(s): 608a340

Add files using upload-large-folder tool

Browse files
parse/train/1-j4VLSHApJ/1-j4VLSHApJ.md ADDED
@@ -0,0 +1,256 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # LEARN2WEIGHT: WEIGHTS TRANSFER DEFENSE AGAINST SIMILAR-DOMAIN ADVERSARIAL ATTACKS
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ Recent work in black-box adversarial attacks for NLP systems has attracted attention. Prior black-box attacks assume that attackers can observe output labels from target models based on selected inputs. In this work, inspired by adversarial transferability, we propose a new type of black-box NLP adversarial attack that an attacker can choose a similar domain and transfer the adversarial examples to the target domain and cause poor performance in target model. Based on domain adaptation theory, we then propose a defensive strategy, called Learn2Weight, which trains to predict the weight adjustments for target model in order to defense the attack of similar-domain adversarial examples. Using Amazon multi-domain sentiment classification dataset, we empirically show that Learn2Weight model is effective against the attack compared to standard black-box defense methods such as adversarial training and defense distillation. This work contributes to the growing literature on machine learning safety.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ As machine learning models are applied to more and more real-world tasks, addressing machine learning safety is becoming an increasingly pressing issue. Deep learning algorithms have been shown to be vulnerable to adversarial examples (Szegedy et al., 2013; Goodfellow et al., 2014; Papernot et al., 2016a). In particular, prior black-box adversarial attacks assume that the adversary is not aware of the target model architecture, parameters or training data, but is capable of querying the target model with supplied inputs and obtaining the output predictions. The phenomenon that adversarial examples generated from one model may also be adversarial to another model is known as adversarial transferability (Szegedy et al., 2013).
12
+
13
+ Motivated by adversarial transferability, we conjecture another black-box attack pipeline where the adversary does not even need to have access to the target model nor query labels from crafted inputs. Instead, as long as the adversary knows the task of the target, he can choose a similar domain, to build a substitute model and then attack the target model with adversarial examples that are generated from the attack domain.
14
+
15
+ ![](images/701afe98cb7850d055da84d06c5c1d1b52a84093b502551f5fed697193981e36.jpg)
16
+ Figure 1: Diagrammatic representation of the problem
17
+
18
+ (a) Generalized architecture of similarity-based attacks.
19
+
20
+ ![](images/6a410fa93b25f802d45fc136ccbe9aaeb9316e28f884c5c0ba6e0598c359b6f5.jpg)
21
+
22
+ (b) Flow of how an adversary physician can leverage similarity attack to fool opioid risk models.
23
+
24
+ The similar-domain adversarial attack may be more practical than prior blackbox attacks as label querying from target model is not needed. This attack can be illustrated with the following example (Figure 1b) in medical insurance fraud (Finlayson et al., 2019). Insurance companies may use hypothetical opioid risk models to classify the likelihood (high/low) of a patient to abuse the opioids to be prescribed, based on the patient’s medical history as text input. Physicians can run the original patient history through the attack pipeline to generate an adversarial patient history, where the original is more likely to be rejected (”High” risk) and the adversarial is more likely to be accepted (”Low” risk). Perturbations in patient history could be, for example, a slight perturbation from ”alcohol abuse” to ”alcohol dependence”, and it may successfully fool the insurance company’s model.
25
+
26
+ Based on domain adaption theory (Ben-David et al., 2010), we conjecture that it is the domain-variant features that cause the success of the similar-domain attack. The adversarial examples with domainvariant features are likely to reside in the low-density regions (far away from decision boundary) of the empirical distribution of the target training data which could fool the target model (Zhang et al., 2019b). Literature indicates that worsened generalizability is a tradeoff faced by existing defenses such as adversarial training (Raghunathan et al., 2019) and domain generalization techniques (Wang et al., 2019). In trying to increase robustness against adversarial inputs, a model faces a tradeoff of weakened accuracy towards clean inputs. Given that an adversarial training loss function is composed of a loss against clean inputs and loss against adversarial inputs, improper optimization where the latter is highly-optimized and the former weakly-optimized does not improve general performance in the real-world. To curb this issue, methods have been proposed (Zhang et al., 2019b; Lamb et al., 2019; Schmidt et al., 2018), such as factoring in under-represented data points in training set.
27
+
28
+ To defend against this similar-domain adversarial attack, we propose a weight transfer network approach, Learn2Weight, so that the target model’s decision boundary can adapt to the examples from low-density regions. Experiments confirm the effectiveness of our approach against the similardomain attack over other baseline defense methods. Moreover, our approach is able to improve robustness accuracy without losing the target model’s standard generalization accuracy.
29
+
30
+ Our contribution can be summarized as follows:
31
+
32
+ • We are among the first to propose the similar-domain adversarial attack. This attack pipeline relaxes the previous black-box attack assumption that the adversary has access to the target model and can query the model with crafted examples.
33
+ • We propose a defensive strategy for this attack based on domain adaptation theory. Experiment results show the effectiveness of our approach over existing defense methods, against the similar-domain attack.
34
+
35
+ Recent work in adversarial attack for NLP systems has attracted attention. See (Zhang et al., 2020) survey for an overview of the adversarial attack in NLP. Existing research proposes different attack methods for generating adversarial text examples (Moosavi-Dezfooli et al., 2016; Ebrahimi et al., 2018; Wallace et al., 2019). The crafted adversarial text examples have been shown to fool the state-of-the-art NLP systems such as BERT (Jin et al., 2019). A large body of adversarial attack research focuses on black-box attack where the adversary builds a substitute model by querying the target model with supplied inputs and obtaining the output predictions. The key idea behind such black-box attack is that adversarial examples generated from one model may also be mis-classified by another model, which is known as adversarial transferability (Szegedy et al., 2013; Cheng et al., 2019). While prior work examines the transferability between different models trained over the same dataset, or the transferability between the same or different model trained over disjoint subsets of a dataset, our work examines the adversarial transferability between different domains, which we call similar-domain attack.
36
+
37
+ Table 1: Comparison of attack domain sentences correctly classified when unperturbed by respective attack domain models and target domain models, then misclassified after perturbation by target models trained on books and baby domain. The perturbations are in blue, and prediction confidence in brackets.
38
+
39
+ <table><tr><td colspan="3">Attack domain:baby,Target domain:books</td></tr><tr><td>Original sentence (Actual label: Pos)</td><td>I purchased this toy for my sonwhen he was 4 monthsold.At first,he seemed a little intimidated by the toys.</td><td>Pos (0.712)</td></tr><tr><td>Adversarial sentence</td><td>I obtained this toys for my children when he was 4 weeks senior. At first, he hoped a modest harassed by the toy.</td><td>Neg (0.364)</td></tr><tr><td>Original sentence (Actual label: Pos)</td><td>It felt like a big commitment for me to have to run the program 2 times a day, and near the end of my pregnancy I was annoyed with having anything strapped across my belly.</td><td>Pos (0.825)</td></tr><tr><td>Adversarial sentence</td><td>It felt like a big committed for me to have to run the program 2 length a day, and near the end of my pregnancy Iwas annoyed with takes anything strapped acrossmy belly.</td><td>Neg (0.420)</td></tr><tr><td colspan="3">Attack domain: dvd, Target domain: baby</td></tr><tr><td>Original sentence (Actual label: Pos)</td><td>Fast times at ridgemont high is a clever, insightful,and wicked film! It is not just another teen movie.</td><td>Pos (0.614)</td></tr><tr><td>Adversarial sentence</td><td>Sooner days at ridgemont high is a sane, thoughtful, and wicked flick! It is not just another adolescent flick.</td><td>Neg (0.335)</td></tr><tr><td>Original sentence</td><td>This dvd gives a very good 6O minute workout.As others have pointed out the</td><td>Pos (0.647)</td></tr><tr><td>(Actual label: Pos) Adversarial sentence</td><td>cardio is very dancy. The first time I did it,I felt a bit awkward with the steps. This dvd gives a awfully okay 6O minute exercise. As others have pointed out the cardio is very dancy. The first time I did it, I perceived a bit awkward with the steps.</td><td>Neg (0.258)</td></tr></table>
40
+
41
+ # 3 SIMILAR-DOMAIN ADVERSARIAL ATTACK
42
+
43
+ # 3.1 ADVERSARIAL ATTACK BACKGROUND
44
+
45
+ Adversarial attacks modify inputs to cause errors in machine learning inference (Szegedy et al., 2013). We utilize the basic gradient-based attack method Fast Gradient Sign Method (FGSM) (Goodfellow et al., 2014) and its variants, RAND-FGSM (Tramer et al., 2017) and \` Basic Iterative Method (BIM) (Kurakin et al., 2016a;b; Xie et al., 2018). Other NLP adversarial generation algorithms could also be used, such as DeepFool (Moosavi-Dezfooli et al., 2016), HotFlip (Ebrahimi et al., 2018), universal adversarial trigger (Wallace et al., 2019), and TextFooler (Jin et al., 2019). To perform gradient-based perturbations upon discrete space data, we follow (Yang et al., 2018) to generate adversarial text.
46
+
47
+ Our proposed similar-domain adversarial attack is in-variant to adversarial algorithm, meaning that the adversarial algorithm used would not affect the attack performance. Without losing generality, we denote $A d v ( f , x )$ as an NLP adversarial text generation method, defined as below.
48
+
49
+ Definition 1. NLP Adversarial Generation. Given a deep neural network model $f$ built on text data $X$ , an NLP adversarial generation method produces one adversarial instances $x ^ { \prime } A d v ( f , x )$ for $x \in X$ , $x ^ { \prime } \approx x$ . The goal of the adversarial attack is to deviate the label to incorrect one $f ( x ^ { \prime } ) \neq f ( x )$
50
+
51
+ # 3.2 SIMILAR-DOMAIN ADVERSARIAL ATTACK
52
+
53
+ We present the architecture of similar-domain adversarial attack in Figure 1a. The defender, the target of the attack, constructs a target model trained on domain text data $T$ (0). An attacker, only having a rough idea about the target’s task but lacking direct access to the target data or target model parameters, collects attack data from a similar domain $S$ and trains an attack model (1). He runs the attack model on the test data (2) to obtain correctly-classified instances (3). He chooses an adversarial attack algorithm and generates a set of adversarial samples $A$ (4). He exposes $A$ to the target model, hoping $A$ mislead the target model to produce an output of his choice (5). This type of attack works best as an adversarial attack that compromises systems that base decision-making on one-instance.
54
+
55
+ Definition 2. Similar-domain Adversarial Attack. A target model $f$ , built on target domain data $T$ , is a deep neural network model with parameter weights $W _ { T }$ that maps a text instance to a label: $y f ( X , W _ { T } )$ . An adversary chooses a source attack domain $S$ , builds a substitute model $f _ { S }$ , and generates a set of adversarial examples $A$ from $S$ using $A d v ( f _ { S } , S )$ , so that during an attack $f ( A , W _ { T } ) = f _ { S } ( A )$ .
56
+
57
+ Table 2: Similar-domain attack performance. Bold indicates the least successful attack domain (i.e. highest after-attack accuracy) for each target domain, as well as the corresponding transfer loss value.
58
+
59
+ <table><tr><td>Target Domain</td><td colspan="3">book</td><td colspan="3">magazine</td><td colspan="3">baby</td></tr><tr><td>Original Accuracy Intra-attack Accuracy</td><td colspan="3">0.880</td><td colspan="3">0.960</td><td colspan="3">0.890</td></tr><tr><td></td><td></td><td>0.525</td><td></td><td></td><td>0.570</td><td></td><td></td><td>0.632</td><td></td></tr><tr><td>Attack Domain</td><td>magazine</td><td>baby</td><td>dvd</td><td>baby</td><td>dvd</td><td>book</td><td>dvd</td><td>book</td><td>magazine</td></tr><tr><td>Unperturbed Accuracy</td><td>0.726</td><td>0.646</td><td>0.745</td><td>0.739</td><td>0.663</td><td>0.673</td><td>0.624</td><td>0.652</td><td>0.665</td></tr><tr><td>After-attack Accuracy</td><td>0.398</td><td>0.421</td><td>0.395</td><td>0.381</td><td>0.366</td><td>0.343</td><td>0.365</td><td>0.386</td><td>0.401</td></tr><tr><td>Shared Vocab</td><td>0.381</td><td>0.255</td><td>0.455</td><td>0.260</td><td>0.345</td><td>0.381</td><td>0.270</td><td>0.255</td><td>0.260</td></tr><tr><td>Transfer Loss</td><td>0.017</td><td>0.071</td><td>0.000</td><td>0.079</td><td>0.022</td><td>0.010</td><td>0.066</td><td>0.050</td><td>0.069</td></tr></table>
60
+
61
+ # 3.3 DOMAIN SIMILARITY
62
+
63
+ Here, domain similarity refers to the similarity between attacker’s chosen domain and defender’s domain. SharedVocab measures the overlap of unique words, in each of the datasets; a higher degree of overlapping vocabulary implies the two domains are more similar. We also use Transfer Loss, a standard metric for domain adaptation Blitzer et al. (2007); Glorot et al. (2011), to measure domain similarity; lower loss indicates higher similarity. The test error from a target model trained on target domain $T$ and evaluated on attack domain $S$ returns transfer error $e ( S , T )$ . The baseline error $e ( T , T )$ term is the test error obtained from target model trained on target domain (train) data $T$ and tested on target domain (evaluation) data $T$ . This computes the transfer loss, $t f ( S , T ) = e ( S , T ) - e ( T , T )$ .
64
+
65
+ # 4 IS THE ATTACK EFFECTIVE?
66
+
67
+ # 4.1 SETUP
68
+
69
+ Dataset. We simulate the similar-domain adversarial attack using Amazon’s multi-domain sentiment classification dataset (Blitzer et al., 2007), a commonly-used dataset in cross-domain sentiment classification1, with 1,000 positive and 1,000 negative reviews for each of the 25 product categories.
70
+
71
+ Model. In practice, there could be unlimited choice for the attack model and target model, such as different deep learning architecture, different training parameters. To simplify the discussion, we choose Long Short-Term Memory (LSTM) network as a suitable baseline sentiment classification model (Wang et al., 2018) for our target model and attack model. The architecture consists of 64 LSTM cells, $80 \%$ dropout, using a sigmoid activation function.
72
+
73
+ Metrics. We first report the accuracy of the target models on the target domain test samples before the attack as the original accuracy. Then we measure the accuracy of the target models against adversarial samples crafted from the attack domain samples, denoted as the after-attack accuracy. Intra-attack accuracy denotes the after-attack accuracy where the attack domain is identical to the target domain. By comparing original and after-attack accuracy, we can evaluate the success of the attack. The greater the gap between the original and after-attack accuracy, the more successful the attack. Unperturbed accuracy measures the accuracy of the target model against the complete, unperturbed test set of the attack domain, to demonstrate that any drop in classification accuracy is not from domain shift alone but from adversarial transferability.
74
+
75
+ # 4.2 RESULTS
76
+
77
+ The similar-domain adversarial attack results are presented in Table 2. We see a significant gap between original accuracy and after-attack accuracy indicating that this attack can impose valid threat to a target NLP system. After the similar-domain adversarial attack, the accuracy drops dramatically by a large margin. Take the book target domain for example, when the attack domain is magazine, the after-attack accuracy drops to 0.398, and when the attack domain is baby, the accuracy is 0.421. Moreover, we observe a positive correlation between transfer loss and after-attack accuracy, and a negative correlation between shared vocab and after-attack accuracy.
78
+
79
+ # 5 DEFENDING AGAINST SIMILAR-DOMAIN ADVERSARIAL ATTACK
80
+
81
+ In order to defend against a similarity based adversarial attack, it is critical to block adversarial transferability. Adversarial training is the most intuitive yet effective defense strategy for adversarial attack (Goodfellow et al., 2014; Madry et al., 2017). However, this may not be effective for two reasons. First, there is no formal guidance for generating similar-domain adversarial examples because the defender has no idea what the attack data domain is. Second, simple feeding the target model with adversarial examples may even hurt the generalization of the target model (Raghunathan et al., 2019; Zhang et al., 2019a; Su et al., 2018), which is also confirmed in our experiments.
82
+
83
+ # 5.1 WEIGHT TRANSFER LEARNING
84
+
85
+ The use of weight transfer networks (Ha et al., 2016; Hu et al., 2018; Kuen et al., 2019) is concerned with adapting weights from one model into another, and generating/predicting the complete set of weights for a model given the input samples. In our context, distinctly different weights are produced for target models trained on inputs of different domains, and feature transferability (Yosinski et al., 2014) in the input space can be expected to translate to weight transferability in the model weights space. Rather than completely regenerating classification weights, our model robustification defense, Learn2Weight L2W predicts the perturbation to existing weights $\left( W ^ { \prime } = W + \Delta W \right)$ ) for each new instance.
86
+
87
+ # 5.2 LEARN2WEIGHT MODEL
88
+
89
+ We conjecture that an effective defense strategy is to perturb the target model weights depending on the feature distribution of the input instance. $L 2 W$ (Algorithm 1) recalculates the target model weights depending on the input. $L 2 W$ (Algorithm 2) trains on sentences from different domains and a weight differential for that domain (the weight adjustment required to tune the target model’s weights to adapt to the input’s domain). We obtain the weight differential $\Delta W$ by finding the difference between the weights of $f$ trained on sentence:label pairs from a specific domain $W _ { S _ { j } }$ and weights of $f$ trained on sentence:label pairs from the target domain $W _ { T }$ . Other training models may be possible; here we trained a sequence-to-sequence network (Sutskever et al., 2014) on sentence: $\Delta W$ pairs.
90
+
91
+ <table><tr><td>Algorithm 1: Learn2Weight: Inference</td><td>Algorithm 2: Learn2Weight:Training</td></tr><tr><td>inference (Xadv, L2W(.), f(Wr,T)) Input:Passed arguments include the adversarial input Xadu, the Learn2Weight model L2W(-),and the target model f(Wr,T) Output :Target model with weighted</td><td>train (T,D) Input :Target domain T={Ti}0; Set of M domains D={S,j)j; withNsentences, N,M i indexing specific sentence tensor and j indexing specific domains Output :Trained Learn2Weight model L2W(·)</td></tr><tr><td>updated byLearn2Weight f(W*,T) is the expected output Pass Xadu as in input into the trained L2W(-) function,and the weight differential required for the target model with weights Wr is△W.</td><td>Initialize empty X and Y to store sentences Xi from each domain j with corresponding weight differential. X←;Y←; Compute weights of f trained on T. Wr ← f(T);</td></tr><tr><td>△W ← L2W(Xadv); The returned function is the target model with updated weights Wr+△W. return f(Wr +△W,T);</td><td>X←T;Y←WT-Wr; Train each domain Sj,compute respective weights, append the differential △W to Y and each sentence in Si,j into X. foreach domain Sj ∈D do Ws,← f(Sj); △W ←Wsj-Wr;</td></tr></table>
92
+
93
+ # Algorithm 3: tf-optimization
94
+
95
+ tfOptimization $( T , M , n _ { m a x } )$
96
+
97
+ Input :Target domain $T = \{ T _ { i } \} _ { i = 0 } ^ { N }$ to be used in synthesizing $M$ similar domains; with $N$ sentences, $i$ indexing specific sentence tensor; $n _ { m a x }$ is the max number of tf-optimization iterations
98
+ Output :Set $D$ containing $M$ domains
99
+ Initialize empty $D$ to store synthesized domains $S _ { j }$ of index $j$ .
100
+ $D \gets \emptyset ; j \gets 0$ ;
101
+ while $j < M$ do Run each iteration until $n _ { m a x }$ . for iter $ 0$ to $n _ { m a x }$ do Apply adversarial perturbations to $T$ . $T _ { i t e r } ^ { \hat { a } \hat { d } v } \gets A d v ( f , \hat { T } )$ ; Determine change to $A d v ( \cdot )$ or iter depending on computed transfer loss. if $c h e c k ( t f ( T _ { i t e r } ^ { a d v } , T ) ) \gets T r u e$ then If low enough, $T _ { i t e r } ^ { a d v }$ can be added as synthetic domain into $D$ . $D \gets T _ { i t e r } ^ { a d v }$ ; break; else Adjust perturbation parameters. $A d v ( \cdot ) a d j u s t ( A d v ( \cdot ) )$ ; $j \gets j + 1$ ; Return set of Domains to be used for training by $L 2 W$ .
102
+ return $D$ ;
103
+
104
+ # 5.3 TRANSFER LOSS OPTIMIZATION
105
+
106
+ To generate synthetic domains of varying domain similarity so that defenders defend their model using only target domain data $T$ , the following equation introduces transfer loss optimization (Algorithm 3). The defender iteratively generates adversarial examples $X _ { N } ^ { a d v }$ while maximizing the transfer loss function $t f$ ; this produces a substitute attack domain corpora $S _ { j }$ . We iteratively adjust perturbation parameters $A d v ( \cdot )$ and iteration count $N$ to minimize the transfer loss of our generated dataset.
107
+
108
+ $$
109
+ \underset { N , A d v ( \cdot ) } { \arg \operatorname* { m i n } } t f _ { N } \Bigl ( X _ { N } ^ { a d v } , T \Bigr ) = e \Bigl ( A d v ( f , T ) , T \Bigr ) - e \Bigl ( T , T \Bigr )
110
+ $$
111
+
112
+ # 5.4 EXPLANATION: BLOCKING TRANSFERABILITY
113
+
114
+ To facilitate our explanation, we adapt from domain adaptation literature (Ben-David et al., 2010; Liu et al., 2019; Zhang et al., $2 0 1 9 \mathrm { c }$ ):
115
+
116
+ $$
117
+ e ( A , T ) \leq e ( T , T ) + d _ { \mathcal { H } \Delta \mathcal { H } } ( A , T ) + \lambda
118
+ $$
119
+
120
+ where $\mathcal { H }$ is the hypothesis space, $h$ is a hypothesis function that returns labels $\{ 0 , 1 \}$ , and $e ( T , T )$ and $e ( A , T )$ are the generalization errors from passing target domain data $T$ and adversarial data $A$ through a classifier trained on $T$ . $d _ { \mathcal { H } \Delta \mathcal { H } } ( A , T )$ is the $\mathcal { H } \Delta \bar { \mathcal { H } }$ -distance between $T$ and $A$ , and measures the divergence between the feature distributions of $A$ and $T$ . $e _ { A } ( h , h ^ { ' } )$ and $e _ { T } ( h , h ^ { ' } )$ represents the probability that $h$ disagrees with $h ^ { ' }$ on the label of an input in the domain space $A$ and $T$ respectively.
121
+
122
+ $$
123
+ \begin{array} { r } { d _ { \mathcal { H } \Delta \mathcal { H } } ( A , T ) = \underset { h , h ^ { \prime } \in \mathcal { H } } { \operatorname* { s u p } } | e _ { A } ( h , h ^ { ' } ) - e _ { T } ( h , h ^ { ' } ) | } \\ { d _ { \mathcal { H } \Delta \mathcal { H } } ( A , T ) = \operatorname* { s u p } _ { h , h ^ { \prime } \in \mathcal { H } } | \mathbb { E } _ { X \sim S } [ | ( h ( x ) - h ^ { ' } ( x ) | ] | } \\ { - | \mathbb { E } _ { X \sim T } [ | ( h ( x ) - h ^ { ' } ( x ) | ] | | } \end{array}
124
+ $$
125
+
126
+ Divergence $d _ { \mathcal { H } \Delta \mathcal { H } }$ measures the divergence between feature distributions $A$ and $T$ . Higher $d _ { \mathcal { H } \Delta \mathcal { H } }$ indicates less shared features between 2 domains. The greater the intersection between feature distributions, the greater the proportion of domain-variant features; one approach to domain adaptation is learning domain-invariant features representations (Zhao et al., 2019) to minimize $d _ { \mathcal { H } \Delta \mathcal { H } }$ .
127
+
128
+ Table 3: After-defense accuracy performance of different defensive methods.
129
+
130
+ <table><tr><td>Target Domain</td><td colspan="3">magazine</td><td colspan="3">baby</td></tr><tr><td>Attack Domain</td><td>baby</td><td>dvd</td><td>book</td><td>dvd</td><td>book</td><td>magazine</td></tr><tr><td>After-attack Accuracy</td><td>0.381</td><td>0.366</td><td>0.343</td><td>0.365</td><td>0.386</td><td>0.401</td></tr><tr><td>After-defense Accuracy</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Adversarial training</td><td>0.639</td><td>0.559</td><td>0.657</td><td>0.558</td><td>0.577</td><td>0.661</td></tr><tr><td>Defensive distillation</td><td>0.549</td><td>0.561</td><td>0.597</td><td>0.588</td><td>0.629</td><td>0.577</td></tr><tr><td>SharedVocab defense</td><td>0.628</td><td>0.653</td><td>0.631</td><td>0.664</td><td>0.668</td><td>0.621</td></tr><tr><td>Domain-adapted adversarial training</td><td>0.608</td><td>0.637</td><td>0.620</td><td>0.604</td><td>0.620</td><td>0.587</td></tr><tr><td>Learn2Weight</td><td>0.796</td><td>0.842</td><td>0.843</td><td>0.774</td><td>0.751</td><td>0.737</td></tr></table>
131
+
132
+ Explaining similarity-domain attacks. As demonstrated by empirical results, $e ( A , T )$ increases in a similarity-based attack setting, and this would arise if $d _ { \mathcal { H } \Delta \mathcal { H } }$ increases correspondingly. $d _ { \mathcal { H } \Delta \mathcal { H } }$ computes inconsistent labels from inconsistent feature distributions, and attributes the success of the attack to domain-variant features.
133
+
134
+ FGSM and variants adjust the input data to maximize the loss based on the backpropagated gradients of a model trained on $S$ . As our pipeline used correctly-labelled sentences before adversarially perturbing them, we can infer that perturbations applied to $S$ were not class-dependent (i.e. the success of the attack is not based on the removal of class-specific features), but class-independent features. It is already difficult for a model trained on $S$ to classify when there is insufficient classdependent features (hence a high $t f ( A , T ) )$ ; in a cross-domain setting, it must be even more difficult for a model trained on $T$ to classify given a shortage of domain-invariant, class-dependent features.
135
+
136
+ $$
137
+ \begin{array} { c } { { d _ { { \mathcal { H } } \Delta { \mathcal { H } } } \leq e ( A , T ) - e ( T , T ) - \lambda } } \\ { { d _ { { \mathcal { H } } \Delta { \mathcal { H } } } \leq t f ( A , T ) - \lambda } } \end{array}
138
+ $$
139
+
140
+ Explaining Learn2Weight. $L 2 W$ minimizes divergence by training on $\{ d _ { \mathcal { H } \Delta \mathcal { H } } ( S _ { j } , T ) : \Delta W _ { A . S _ { j } } \}$ pairs, $d _ { \mathcal { H } \Delta \mathcal { H } } ( S _ { j } , T )$ being reconstructed from the difference between S $x _ { i } ^ { S _ { j } }$ and $x _ { i } ^ { T }$ . $L 2 W$ is trained on $\{ d _ { \mathcal { H } \Delta \mathcal { H } } ^ { S _ { j } } \} _ { j = 0 } ^ { N } : \{ \Delta W ^ { S _ { j } } \} _ { j = 0 } ^ { N }$ pairs, such that . Intuitively the target model possesses a decision boundary (Liu et al., 2019) to classify inputs based on whether they cross the boundary or not; adversarial inputs have a tendency of being near the boundary and fooling it. Weights transfer learning applies perturbations to the decision boundary such that the boundary covers certain adversarial inputs otherwise misclassified, and in this way blocks transferability. The advantage of training on multiple domains $\{ S _ { j } \} _ { j = 0 } ^ { M }$ is that the after- $. L 2 W$ divergence between $A$ and $T$ is smaller because $L 2 W$ ’s weight perturbations render the decision boundary more precise in classifying inputs.
141
+
142
+ Explaining tf-optimization. We have attributed why adversarial sentences $A$ are computed to be domain-dissimilar despite originating from $S$ due to insufficient domain-invariant, class-dependent features resulting in low $e ( A , T )$ , i.e. low $t f ( A , T )$ . To replicate this phenomenon in natural domains, we use $t f$ -optimization to iteratively perturb $T$ to increase the proportion of class-independent features. This approximates the real-world similarity-based attack scenario where class-dependent features may be limited for inference. By generating the synthetic data, we are feeding $L 2 W$ attack data with variations in $d _ { \mathcal { H } \Delta \mathcal { H } }$ and class-independent feature distributions. This prepares $L 2 W$ to robustify weights in $f ( T )$ when such feature distributions are encountered.
143
+
144
+ # 6 EXPERIMENTS
145
+
146
+ # 6.1 BASELINES
147
+
148
+ We consider two defense strategies that are empirically effective and are widely used for general black-box adversarial attacks: adversarial training (Goodfellow et al., 2014; Madry et al., 2017) and defensive distillation (Papernot et al., 2016b; 2017). In addition we consider two ablation baselines.
149
+
150
+ Defensive distillation: The high-level implementation of defensive distillation (Papernot et al., 2016b; 2017) is to first train an initial model against target domain inputs and labels, and retrieve the raw class probability scores. The predicted probability values would be used as the new labels for the same target sentences, and we would train a new model based on this new label-sentence pair.
151
+
152
+ Table 4: Learn2Weight comparison against different attack model architectures.
153
+
154
+ <table><tr><td>Target</td><td>Original</td><td>Attack</td><td colspan="4">Attack Model After-attack Accuracy</td><td colspan="6">After-Defense Accuracy</td></tr><tr><td>Domain</td><td>Accuracy Target Model: LSTM</td><td>Domain</td><td colspan="4"></td><td colspan="4">LogReg</td><td>CNN</td><td>LogReg</td></tr><tr><td colspan="4"></td><td colspan="4">BERT LSTM</td><td colspan="4">BERT LSTM</td></tr><tr><td rowspan="3">book</td><td rowspan="3">0.880</td><td>dvd</td><td>0.342</td><td>0.413</td><td>GRU 0.477</td><td>CNN 0.335</td><td>0.440</td><td>0.786</td><td>0.847</td><td>0.804</td><td>0.816</td><td>0.782</td></tr><tr><td>kitchenware</td><td>0.350</td><td>0.372</td><td>0.325</td><td>0.353</td><td>0.425</td><td>0.765</td><td>0.826</td><td>0.795</td><td>0.742</td><td>0.767</td></tr><tr><td>electronics</td><td>0.400</td><td>0.389</td><td>0.416</td><td>0.315</td><td>0.460</td><td>0.792</td><td>0.812</td><td>0.784</td><td>0.770</td><td>0.725</td></tr><tr><td rowspan="3">dvd</td><td rowspan="3">0.920</td><td></td><td>0.326</td><td>0.434</td><td>0.479</td><td>0.383</td><td>0.490</td><td>0.816</td><td>0.795</td><td>0.824</td><td>0.804</td><td>0.794</td></tr><tr><td>book kitchenware</td><td>0.355</td><td>0.370</td><td>0.379</td><td>0.359</td><td>0.490</td><td>0.728</td><td>0.796</td><td>0.755</td><td>0.735</td><td>0.695</td></tr><tr><td>electronics</td><td>0.387</td><td>0.377</td><td>0.332</td><td>0.348</td><td>0.455</td><td>0.825</td><td>0.836</td><td>0.812</td><td>0.834</td><td>0.796</td></tr><tr><td rowspan="3">electronics</td><td rowspan="3">0.910</td><td>book</td><td>0.425</td><td>0.394</td><td>0.473</td><td>0.358</td><td>0.474</td><td>0.775</td><td>0.821</td><td>0.795</td><td>0.782</td><td>0.712</td></tr><tr><td>dvd</td><td>0.342</td><td>0.395</td><td>0.452</td><td>0.368</td><td>0.493</td><td>0.784</td><td>0.845</td><td>0.855</td><td>0.842</td><td>0.792</td></tr><tr><td>kitchenware</td><td>0.390</td><td>0.384</td><td>0.464</td><td>0.329</td><td>0.432</td><td>0.730</td><td>0.824</td><td>0.753</td><td>0.724</td><td>0.678</td></tr></table>
155
+
156
+ Adversarial training: It is shown that injecting adversarial examples throughout training increases the robustness of target neural network models. In this baseline, target model is trained with both original training data and adversarial examples generated from original training data. However, since the adversarial examples are still generated from the target domain, it is unlikely that the method can defend similar-domain attack which is the result of domain-variant features.
157
+
158
+ SharedVocab defense. Given that it is the domain-variant features that cause the success of similardomain attack, a simple baseline is to remove those words that are not in the target domain’s vocabulary. This tests whether the effect of perturbing target model weights w.r.t domain-variant features will yield incremental after-attack accuracy in the similar-domain attack setting.
159
+
160
+ Domain-adapted adversarial training. This ablation baseline tests for incremental performance to a baseline defense using domain-variant inputs. We adapt adversarial training to be trained on adversarial sentences from attack domain $S$ , whereas the traditional adversarial training generates adversarial samples $X ^ { a d v , T }$ from its training data $T$ , this adapted version uses adversarial samples $X ^ { a d v , S }$ generated from $S$ .
161
+
162
+ # 6.2 LEARN2WEIGHT PERFORMANCE
163
+
164
+ Defense performance. We present the results of different defense baselines in Table 3. First, we can see that Learn2Weight achieves the highest after-defense accuracy against the adversarial attack. Take the magazine as target domain for example, if the adversary chooses to use book data as the attack domain, it would reduce the target model accuracy to 0.343. However, the Learn2Weight method can improve the performance to 0.843, which is a significant and substantial improvement against the attack. This improvements also exist across different target/attack domain pairs. Second, we see that all defense methods can improve the accuracy to some extent which indicates the importance and effectiveness of having robust training for machine learning models. Third, it is interesting to note that two simple baselines SharedVocab defense and Domain-adapted adversarial training yield overall better performance compared to adversarial training and defensive distillation.
165
+
166
+ Attack model architectures. So far, all the results are conducted using the same LSTM as the target/attack model due to simplicity purpose. Here, we keep the target model unchanged, but vary the architecture of the attack model for the generation of adversarial examples. A variation of a Recurrent Neural Network is a Gated Recurrent Unit (GRU) network, with 512 GRU cells, $60 \%$ dropout and tanh activation function. We have also tested other attack model variants that are commonly-used in sentiment classification, including Bidirectional Encoder Representations from Transformers (BERT) (Devlin et al., 2019), Convolutional Neural Network (CNN) (Kim, 2014), and Logistic Regression (Maas et al., 2011). For both RNN and CNN, we use pre-computed Glove embeddings2 to encode words. All models are trained with enough epochs after ensuring the model achieved near state-of-the-art validation accuracy before proceeding to tests of adversarial attacks and defenses.
167
+
168
+ We present the results of different attack model architectures in Table 4. First, similar-domain attack is model-agnostic and it does not require the target and attack model to have identical architectures.
169
+
170
+ We can see that all four attack model architectures are able to reduce the target model accuracy. Second, the results suggest that Learn2Weight is also model-agnostic as it can substantially improve the after-defense accuracy regardless which attack model is used.
171
+
172
+ # 7 CONCLUSION
173
+
174
+ In this newly-proposed, empirically-effective similar-domain attack, an adversary can choose a similar domain to the target task, build a substitute model and produce adversarial examples to fool the target model. We also propose a defense strategy, Learn2Weight, that learns to adapt the target model’s weight using crafted adversarial examples. Compared with other adversarial defense strategies, Learn2Weight can improve the target model robustness against the similar-domain attack. Our method demonstrates properties of a good adversarial defense, such as adopting defense architectures that adapt to situations/inputs rather than compromising standard error versus robustness error, to leverage class-independent properties in domain-variant text, and factoring in domain similarity in adversarial robustness exercises.
175
+
176
+ # REFERENCES
177
+
178
+ Shai Ben-David, John Blitzer, Koby Crammer, Alex Kulesza, Fernando Pereira, and Jennifer Vaughan. A theory of learning from different domains. Machine Learning, 79:151–175, 2010. URL http://www.springerlink.com/content/q6qk230685577n52/.
179
+
180
+ John Blitzer, Mark Dredze, and Fernando Pereira. Biographies, bollywood, boom-boxes and blenders: Domain adaptation for sentiment classification. In ACL, pp. 440–447, 2007.
181
+
182
+ Shuyu Cheng, Yinpeng Dong, Tianyu Pang, Hang Su, and Jun Zhu. Improving black-box adversarial attacks with a transfer-based prior. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alche-Buc, E. Fox, and R. Garnett (eds.), ´ Advances in Neural Information Processing Systems 32, pp. 10934–10944. Curran Associates, Inc., 2019. URL http://papers.nips.cc/paper/ 9275-improving-black-box-adversarial-attacks-with-a-transfer-based-prior. pdf.
183
+
184
+ Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 4171–4186, Minneapolis, Minnesota, June 2019. Association for Computational Linguistics. doi: 10.18653/v1/N19-1423. URL https: //www.aclweb.org/anthology/N19-1423.
185
+
186
+ Javid Ebrahimi, Anyi Rao, Daniel Lowd, and Dejing Dou. Hotflip: White-box adversarial examples for text classification. In ACL, pp. 31–36, 2018.
187
+
188
+ Samuel G. Finlayson, John D. Bowers, Joichi Ito, Jonathan L. Zittrain, Andrew L. Beam, and Isaac S. Kohane. Adversarial attacks on medical machine learning. Science, 363(6433):1287–1289, 2019. ISSN 0036-8075. doi: 10.1126/science.aaw4399. URL https://science.sciencemag.org/ content/363/6433/1287.
189
+
190
+ Xavier Glorot, Antoine Bordes, and Yoshua Bengio. Domain adaptation for large-scale sentiment classification: A deep learning approach. In ICML, pp. 513–520, 2011.
191
+
192
+ Ian J Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. arXiv preprint arXiv:1412.6572, 2014.
193
+
194
+ David Ha, Andrew Dai, and Quoc V Le. Hypernetworks. arXiv preprint arXiv:1609.09106, 2016.
195
+
196
+ Ronghang Hu, Piotr Dollar, Kaiming He, Trevor Darrell, and Ross Girshick. Learning to segment ´ every thing. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 4233–4241, 2018.
197
+
198
+ Di Jin, Zhijing Jin, Joey Tianyi Zhou, and Peter Szolovits. Is bert really robust? natural language attack on text classification and entailment. arXiv preprint arXiv:1907.11932, 2019.
199
+
200
+ Yoon Kim. Convolutional neural networks for sentence classification. In EMNLP, pp. 1746–1751, 2014.
201
+
202
+ Jason Kuen, Federico Perazzi, Zhe Lin, Jianming Zhang, and Yap-Peng Tan. Scaling object detection by transferring classification weights. In Proceedings of the IEEE International Conference on Computer Vision, pp. 6044–6053, 2019.
203
+
204
+ Alexey Kurakin, Ian Goodfellow, and Samy Bengio. Adversarial machine learning at scale. arXiv preprint arXiv:1611.01236, 2016a.
205
+
206
+ Alexey Kurakin, Ian Goodfellow, and Samy Bengio. Adversarial examples in the physical world. arXiv preprint arXiv:1607.02533, 2016b.
207
+
208
+ Alex Lamb, Vikas Verma, Juho Kannala, and Yoshua Bengio. Interpolated adversarial training: Achieving robust neural networks without sacrificing too much accuracy. In Proceedings of the 12th ACM Workshop on Artificial Intelligence and Security, AISec’19, pp. 95–103, New York, NY, USA, 2019. Association for Computing Machinery. ISBN 9781450368339. doi: 10.1145/3338501.3357369. URL https://doi.org/10.1145/3338501.3357369.
209
+
210
+ Hong Liu, Mingsheng Long, Jianmin Wang, and Michael Jordan. Transferable adversarial training: A general approach to adapting deep classifiers. In Kamalika Chaudhuri and Ruslan Salakhutdinov (eds.), Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pp. 4013–4022, Long Beach, California, USA, 09–15 Jun 2019. PMLR. URL http://proceedings.mlr.press/v97/liu19b.html.
211
+
212
+ Andrew L. Maas, Raymond E. Daly, Peter T. Pham, Dan Huang, Andrew Y. Ng, and Christopher Potts. Learning word vectors for sentiment analysis. In ACL, pp. 142–150, 2011.
213
+
214
+ Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. arXiv preprint arXiv:1706.06083, 2017.
215
+
216
+ Seyed-Mohsen Moosavi-Dezfooli, Alhussein Fawzi, and Pascal Frossard. Deepfool: a simple and accurate method to fool deep neural networks. In CVPR, pp. 2574–2582, 2016.
217
+
218
+ Nicolas Papernot, Patrick McDaniel, and Ian Goodfellow. Transferability in machine learning: from phenomena to black-box attacks using adversarial samples. arXiv preprint arXiv:1605.07277, 2016a.
219
+
220
+ Nicolas Papernot, Patrick McDaniel, Xi Wu, Somesh Jha, and Ananthram Swami. Distillation as a defense to adversarial perturbations against deep neural networks. In 2016 IEEE Symposium on Security and Privacy (SP), pp. 582–597. IEEE, 2016b.
221
+
222
+ Nicolas Papernot, Patrick McDaniel, Ian Goodfellow, Somesh Jha, Z. Berkay Celik, and Ananthram Swami. Practical black-box attacks against machine learning. In Proceedings of the 2017 ACM on Asia Conference on Computer and Communications Security, ASIA CCS ’17, pp. 506–519, New York, NY, USA, 2017. Association for Computing Machinery. ISBN 9781450349444. doi: 10.1145/3052973.3053009. URL https://doi.org/10.1145/3052973.3053009.
223
+
224
+ Aditi Raghunathan, Sang Michael Xie, Fanny Yang, John C Duchi, and Percy Liang. Adversarial training can hurt generalization. arXiv preprint arXiv:1906.06032, 2019.
225
+
226
+ Ludwig Schmidt, Shibani Santurkar, Dimitris Tsipras, Kunal Talwar, and Aleksander Madry. Adversarially robust generalization requires more data. In Proceedings of the 32nd International Conference on Neural Information Processing Systems, NIPS’18, pp. 5019–5031, Red Hook, NY, USA, 2018. Curran Associates Inc.
227
+
228
+ Dong Su, Huan Zhang, Hongge Chen, Jinfeng Yi, Pin-Yu Chen, and Yupeng Gao. Is robustness the cost of accuracy?–a comprehensive study on the robustness of 18 deep image classification models. In Proceedings of ECCV, pp. 631–648, 2018.
229
+
230
+ Ilya Sutskever, Oriol Vinyals, and Quoc V. Le. Sequence to sequence learning with neural networks. In Proceedings of the 27th International Conference on Neural Information Processing Systems - Volume 2, NIPS’14, pp. 3104–3112, Cambridge, MA, USA, 2014. MIT Press.
231
+
232
+ Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. arXiv preprint arXiv:1312.6199, 2013.
233
+
234
+ Florian Tramer, Alexey Kurakin, Nicolas Papernot, Ian Goodfellow, Dan Boneh, and Patrick Mc- \` Daniel. Ensemble adversarial training: Attacks and defenses. arXiv preprint arXiv:1705.07204, 2017.
235
+
236
+ Eric Wallace, Shi Feng, Nikhil Kandpal, Matt Gardner, and Sameer Singh. Universal adversarial triggers for attacking and analyzing nlp. In EMNLP, pp. 2153–2162, 2019.
237
+
238
+ Haohan Wang, Songwei Ge, Zachary Lipton, and Eric Xing. Learning robust global representations by penalizing local predictive power. Neural Information Processing Systems, pp. 10506–10518, 2019.
239
+
240
+ Jenq-Haur Wang, Ting-Wei Liu, Xiong Luo, and Long Wang. An LSTM approach to short text sentiment classification with word embeddings. In ROCLING, pp. 214–223, 2018.
241
+
242
+ Cihang Xie, Zhishuai Zhang, Yuyin Zhou, Song Bai, Jianyu Wang, Zhou Ren, and Alan Yuille. Improving transferability of adversarial examples with input diversity, 2018.
243
+
244
+ Puyudi Yang, Jianbo Chen, Cho-Jui Hsieh, Jane-Ling Wang, and Michael I. Jordan. Greedy attack and gumbel attack: Generating adversarial examples for discrete data, 2018.
245
+
246
+ Jason Yosinski, Jeff Clune, Yoshua Bengio, and Hod Lipson. How transferable are features in deep neural networks? In Proceedings of the 27th International Conference on Neural Information Processing Systems - Volume 2, NIPS’14, pp. 3320–3328, Cambridge, MA, USA, 2014. MIT Press.
247
+
248
+ Hongyang Zhang, Yaodong Yu, Jiantao Jiao, Eric Xing, Laurent El Ghaoui, and Michael Jordan. Theoretically principled trade-off between robustness and accuracy. In Proceedings of ICML, pp. 7472–7482, 2019a.
249
+
250
+ Huan Zhang, Hongge Chen, Zhao Song, Duane Boning, Inderjit S. Dhillon, and Cho-Jui Hsieh. The limitations of adversarial training and the blind-spot attack, 2019b.
251
+
252
+ Wei Emma Zhang, Quan Z Sheng, Ahoud Alhazmi, and Chenliang Li. Adversarial attacks on deep-learning models in natural language processing: A survey. ACM Transactions on Intelligent Systems and Technology (TIST), 11(3):1–41, 2020.
253
+
254
+ Yuchen Zhang, Tianle Liu, Mingsheng Long, and Michael Jordan. Bridging theory and algorithm for domain adaptation. In Kamalika Chaudhuri and Ruslan Salakhutdinov (eds.), Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pp. 7404–7413, Long Beach, California, USA, 09–15 Jun 2019c. PMLR. URL http://proceedings.mlr.press/v97/zhang19i.html.
255
+
256
+ Han Zhao, Remi Tachet Des Combes, Kun Zhang, and Geoffrey Gordon. On learning invariant representations for domain adaptation. In Kamalika Chaudhuri and Ruslan Salakhutdinov (eds.), Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pp. 7523–7532, Long Beach, California, USA, 09–15 Jun 2019. PMLR. URL http://proceedings.mlr.press/v97/zhao19a.html.
parse/train/1-j4VLSHApJ/1-j4VLSHApJ_content_list.json ADDED
@@ -0,0 +1,1358 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "LEARN2WEIGHT: WEIGHTS TRANSFER DEFENSE AGAINST SIMILAR-DOMAIN ADVERSARIAL ATTACKS ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 98,
9
+ 823,
10
+ 146
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Anonymous authors Paper under double-blind review ",
17
+ "bbox": [
18
+ 183,
19
+ 171,
20
+ 398,
21
+ 198
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 234,
32
+ 544,
33
+ 251
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Recent work in black-box adversarial attacks for NLP systems has attracted attention. Prior black-box attacks assume that attackers can observe output labels from target models based on selected inputs. In this work, inspired by adversarial transferability, we propose a new type of black-box NLP adversarial attack that an attacker can choose a similar domain and transfer the adversarial examples to the target domain and cause poor performance in target model. Based on domain adaptation theory, we then propose a defensive strategy, called Learn2Weight, which trains to predict the weight adjustments for target model in order to defense the attack of similar-domain adversarial examples. Using Amazon multi-domain sentiment classification dataset, we empirically show that Learn2Weight model is effective against the attack compared to standard black-box defense methods such as adversarial training and defense distillation. This work contributes to the growing literature on machine learning safety. ",
40
+ "bbox": [
41
+ 233,
42
+ 268,
43
+ 766,
44
+ 449
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 481,
55
+ 336,
56
+ 497
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "As machine learning models are applied to more and more real-world tasks, addressing machine learning safety is becoming an increasingly pressing issue. Deep learning algorithms have been shown to be vulnerable to adversarial examples (Szegedy et al., 2013; Goodfellow et al., 2014; Papernot et al., 2016a). In particular, prior black-box adversarial attacks assume that the adversary is not aware of the target model architecture, parameters or training data, but is capable of querying the target model with supplied inputs and obtaining the output predictions. The phenomenon that adversarial examples generated from one model may also be adversarial to another model is known as adversarial transferability (Szegedy et al., 2013). ",
63
+ "bbox": [
64
+ 174,
65
+ 513,
66
+ 825,
67
+ 626
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Motivated by adversarial transferability, we conjecture another black-box attack pipeline where the adversary does not even need to have access to the target model nor query labels from crafted inputs. Instead, as long as the adversary knows the task of the target, he can choose a similar domain, to build a substitute model and then attack the target model with adversarial examples that are generated from the attack domain. ",
74
+ "bbox": [
75
+ 174,
76
+ 632,
77
+ 825,
78
+ 703
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "image",
84
+ "img_path": "images/701afe98cb7850d055da84d06c5c1d1b52a84093b502551f5fed697193981e36.jpg",
85
+ "image_caption": [
86
+ "Figure 1: Diagrammatic representation of the problem "
87
+ ],
88
+ "image_footnote": [],
89
+ "bbox": [
90
+ 173,
91
+ 760,
92
+ 475,
93
+ 881
94
+ ],
95
+ "page_idx": 0
96
+ },
97
+ {
98
+ "type": "text",
99
+ "text": "(a) Generalized architecture of similarity-based attacks. ",
100
+ "bbox": [
101
+ 178,
102
+ 888,
103
+ 488,
104
+ 914
105
+ ],
106
+ "page_idx": 0
107
+ },
108
+ {
109
+ "type": "image",
110
+ "img_path": "images/6a410fa93b25f802d45fc136ccbe9aaeb9316e28f884c5c0ba6e0598c359b6f5.jpg",
111
+ "image_caption": [],
112
+ "image_footnote": [],
113
+ "bbox": [
114
+ 504,
115
+ 767,
116
+ 813,
117
+ 885
118
+ ],
119
+ "page_idx": 0
120
+ },
121
+ {
122
+ "type": "text",
123
+ "text": "(b) Flow of how an adversary physician can leverage similarity attack to fool opioid risk models. ",
124
+ "bbox": [
125
+ 498,
126
+ 890,
127
+ 815,
128
+ 915
129
+ ],
130
+ "page_idx": 0
131
+ },
132
+ {
133
+ "type": "text",
134
+ "text": "The similar-domain adversarial attack may be more practical than prior blackbox attacks as label querying from target model is not needed. This attack can be illustrated with the following example (Figure 1b) in medical insurance fraud (Finlayson et al., 2019). Insurance companies may use hypothetical opioid risk models to classify the likelihood (high/low) of a patient to abuse the opioids to be prescribed, based on the patient’s medical history as text input. Physicians can run the original patient history through the attack pipeline to generate an adversarial patient history, where the original is more likely to be rejected (”High” risk) and the adversarial is more likely to be accepted (”Low” risk). Perturbations in patient history could be, for example, a slight perturbation from ”alcohol abuse” to ”alcohol dependence”, and it may successfully fool the insurance company’s model. ",
135
+ "bbox": [
136
+ 174,
137
+ 103,
138
+ 825,
139
+ 229
140
+ ],
141
+ "page_idx": 1
142
+ },
143
+ {
144
+ "type": "text",
145
+ "text": "Based on domain adaption theory (Ben-David et al., 2010), we conjecture that it is the domain-variant features that cause the success of the similar-domain attack. The adversarial examples with domainvariant features are likely to reside in the low-density regions (far away from decision boundary) of the empirical distribution of the target training data which could fool the target model (Zhang et al., 2019b). Literature indicates that worsened generalizability is a tradeoff faced by existing defenses such as adversarial training (Raghunathan et al., 2019) and domain generalization techniques (Wang et al., 2019). In trying to increase robustness against adversarial inputs, a model faces a tradeoff of weakened accuracy towards clean inputs. Given that an adversarial training loss function is composed of a loss against clean inputs and loss against adversarial inputs, improper optimization where the latter is highly-optimized and the former weakly-optimized does not improve general performance in the real-world. To curb this issue, methods have been proposed (Zhang et al., 2019b; Lamb et al., 2019; Schmidt et al., 2018), such as factoring in under-represented data points in training set. ",
146
+ "bbox": [
147
+ 174,
148
+ 236,
149
+ 825,
150
+ 402
151
+ ],
152
+ "page_idx": 1
153
+ },
154
+ {
155
+ "type": "text",
156
+ "text": "To defend against this similar-domain adversarial attack, we propose a weight transfer network approach, Learn2Weight, so that the target model’s decision boundary can adapt to the examples from low-density regions. Experiments confirm the effectiveness of our approach against the similardomain attack over other baseline defense methods. Moreover, our approach is able to improve robustness accuracy without losing the target model’s standard generalization accuracy. ",
157
+ "bbox": [
158
+ 176,
159
+ 410,
160
+ 825,
161
+ 479
162
+ ],
163
+ "page_idx": 1
164
+ },
165
+ {
166
+ "type": "text",
167
+ "text": "Our contribution can be summarized as follows: ",
168
+ "bbox": [
169
+ 174,
170
+ 486,
171
+ 488,
172
+ 500
173
+ ],
174
+ "page_idx": 1
175
+ },
176
+ {
177
+ "type": "text",
178
+ "text": "• We are among the first to propose the similar-domain adversarial attack. This attack pipeline relaxes the previous black-box attack assumption that the adversary has access to the target model and can query the model with crafted examples. \n• We propose a defensive strategy for this attack based on domain adaptation theory. Experiment results show the effectiveness of our approach over existing defense methods, against the similar-domain attack. ",
179
+ "bbox": [
180
+ 215,
181
+ 525,
182
+ 825,
183
+ 626
184
+ ],
185
+ "page_idx": 1
186
+ },
187
+ {
188
+ "type": "text",
189
+ "text": "Recent work in adversarial attack for NLP systems has attracted attention. See (Zhang et al., 2020) survey for an overview of the adversarial attack in NLP. Existing research proposes different attack methods for generating adversarial text examples (Moosavi-Dezfooli et al., 2016; Ebrahimi et al., 2018; Wallace et al., 2019). The crafted adversarial text examples have been shown to fool the state-of-the-art NLP systems such as BERT (Jin et al., 2019). A large body of adversarial attack research focuses on black-box attack where the adversary builds a substitute model by querying the target model with supplied inputs and obtaining the output predictions. The key idea behind such black-box attack is that adversarial examples generated from one model may also be mis-classified by another model, which is known as adversarial transferability (Szegedy et al., 2013; Cheng et al., 2019). While prior work examines the transferability between different models trained over the same dataset, or the transferability between the same or different model trained over disjoint subsets of a dataset, our work examines the adversarial transferability between different domains, which we call similar-domain attack. ",
190
+ "bbox": [
191
+ 174,
192
+ 743,
193
+ 825,
194
+ 922
195
+ ],
196
+ "page_idx": 1
197
+ },
198
+ {
199
+ "type": "table",
200
+ "img_path": "images/169f46b4012fff1f7bec6f8f8f8918ffe970296daf9e22bea9fb43bded438ab7.jpg",
201
+ "table_caption": [
202
+ "Table 1: Comparison of attack domain sentences correctly classified when unperturbed by respective attack domain models and target domain models, then misclassified after perturbation by target models trained on books and baby domain. The perturbations are in blue, and prediction confidence in brackets. "
203
+ ],
204
+ "table_footnote": [],
205
+ "table_body": "<table><tr><td colspan=\"3\">Attack domain:baby,Target domain:books</td></tr><tr><td>Original sentence (Actual label: Pos)</td><td>I purchased this toy for my sonwhen he was 4 monthsold.At first,he seemed a little intimidated by the toys.</td><td>Pos (0.712)</td></tr><tr><td>Adversarial sentence</td><td>I obtained this toys for my children when he was 4 weeks senior. At first, he hoped a modest harassed by the toy.</td><td>Neg (0.364)</td></tr><tr><td>Original sentence (Actual label: Pos)</td><td>It felt like a big commitment for me to have to run the program 2 times a day, and near the end of my pregnancy I was annoyed with having anything strapped across my belly.</td><td>Pos (0.825)</td></tr><tr><td>Adversarial sentence</td><td>It felt like a big committed for me to have to run the program 2 length a day, and near the end of my pregnancy Iwas annoyed with takes anything strapped acrossmy belly.</td><td>Neg (0.420)</td></tr><tr><td colspan=\"3\">Attack domain: dvd, Target domain: baby</td></tr><tr><td>Original sentence (Actual label: Pos)</td><td>Fast times at ridgemont high is a clever, insightful,and wicked film! It is not just another teen movie.</td><td>Pos (0.614)</td></tr><tr><td>Adversarial sentence</td><td>Sooner days at ridgemont high is a sane, thoughtful, and wicked flick! It is not just another adolescent flick.</td><td>Neg (0.335)</td></tr><tr><td>Original sentence</td><td>This dvd gives a very good 6O minute workout.As others have pointed out the</td><td>Pos (0.647)</td></tr><tr><td>(Actual label: Pos) Adversarial sentence</td><td>cardio is very dancy. The first time I did it,I felt a bit awkward with the steps. This dvd gives a awfully okay 6O minute exercise. As others have pointed out the cardio is very dancy. The first time I did it, I perceived a bit awkward with the steps.</td><td>Neg (0.258)</td></tr></table>",
206
+ "bbox": [
207
+ 125,
208
+ 102,
209
+ 875,
210
+ 359
211
+ ],
212
+ "page_idx": 2
213
+ },
214
+ {
215
+ "type": "text",
216
+ "text": "3 SIMILAR-DOMAIN ADVERSARIAL ATTACK ",
217
+ "text_level": 1,
218
+ "bbox": [
219
+ 174,
220
+ 444,
221
+ 558,
222
+ 459
223
+ ],
224
+ "page_idx": 2
225
+ },
226
+ {
227
+ "type": "text",
228
+ "text": "3.1 ADVERSARIAL ATTACK BACKGROUND ",
229
+ "text_level": 1,
230
+ "bbox": [
231
+ 176,
232
+ 474,
233
+ 478,
234
+ 489
235
+ ],
236
+ "page_idx": 2
237
+ },
238
+ {
239
+ "type": "text",
240
+ "text": "Adversarial attacks modify inputs to cause errors in machine learning inference (Szegedy et al., 2013). We utilize the basic gradient-based attack method Fast Gradient Sign Method (FGSM) (Goodfellow et al., 2014) and its variants, RAND-FGSM (Tramer et al., 2017) and \\` Basic Iterative Method (BIM) (Kurakin et al., 2016a;b; Xie et al., 2018). Other NLP adversarial generation algorithms could also be used, such as DeepFool (Moosavi-Dezfooli et al., 2016), HotFlip (Ebrahimi et al., 2018), universal adversarial trigger (Wallace et al., 2019), and TextFooler (Jin et al., 2019). To perform gradient-based perturbations upon discrete space data, we follow (Yang et al., 2018) to generate adversarial text. ",
241
+ "bbox": [
242
+ 173,
243
+ 501,
244
+ 825,
245
+ 598
246
+ ],
247
+ "page_idx": 2
248
+ },
249
+ {
250
+ "type": "text",
251
+ "text": "Our proposed similar-domain adversarial attack is in-variant to adversarial algorithm, meaning that the adversarial algorithm used would not affect the attack performance. Without losing generality, we denote $A d v ( f , x )$ as an NLP adversarial text generation method, defined as below. ",
252
+ "bbox": [
253
+ 176,
254
+ 606,
255
+ 820,
256
+ 647
257
+ ],
258
+ "page_idx": 2
259
+ },
260
+ {
261
+ "type": "text",
262
+ "text": "Definition 1. NLP Adversarial Generation. Given a deep neural network model $f$ built on text data $X$ , an NLP adversarial generation method produces one adversarial instances $x ^ { \\prime } A d v ( f , x )$ for $x \\in X$ , $x ^ { \\prime } \\approx x$ . The goal of the adversarial attack is to deviate the label to incorrect one $f ( x ^ { \\prime } ) \\neq f ( x )$ ",
263
+ "bbox": [
264
+ 173,
265
+ 652,
266
+ 823,
267
+ 694
268
+ ],
269
+ "page_idx": 2
270
+ },
271
+ {
272
+ "type": "text",
273
+ "text": "3.2 SIMILAR-DOMAIN ADVERSARIAL ATTACK ",
274
+ "text_level": 1,
275
+ "bbox": [
276
+ 174,
277
+ 712,
278
+ 506,
279
+ 726
280
+ ],
281
+ "page_idx": 2
282
+ },
283
+ {
284
+ "type": "text",
285
+ "text": "We present the architecture of similar-domain adversarial attack in Figure 1a. The defender, the target of the attack, constructs a target model trained on domain text data $T$ (0). An attacker, only having a rough idea about the target’s task but lacking direct access to the target data or target model parameters, collects attack data from a similar domain $S$ and trains an attack model (1). He runs the attack model on the test data (2) to obtain correctly-classified instances (3). He chooses an adversarial attack algorithm and generates a set of adversarial samples $A$ (4). He exposes $A$ to the target model, hoping $A$ mislead the target model to produce an output of his choice (5). This type of attack works best as an adversarial attack that compromises systems that base decision-making on one-instance. ",
286
+ "bbox": [
287
+ 173,
288
+ 738,
289
+ 825,
290
+ 849
291
+ ],
292
+ "page_idx": 2
293
+ },
294
+ {
295
+ "type": "text",
296
+ "text": "Definition 2. Similar-domain Adversarial Attack. A target model $f$ , built on target domain data $T$ , is a deep neural network model with parameter weights $W _ { T }$ that maps a text instance to a label: $y f ( X , W _ { T } )$ . An adversary chooses a source attack domain $S$ , builds a substitute model $f _ { S }$ , and generates a set of adversarial examples $A$ from $S$ using $A d v ( f _ { S } , S )$ , so that during an attack $f ( A , W _ { T } ) = f _ { S } ( A )$ . ",
297
+ "bbox": [
298
+ 174,
299
+ 854,
300
+ 825,
301
+ 924
302
+ ],
303
+ "page_idx": 2
304
+ },
305
+ {
306
+ "type": "table",
307
+ "img_path": "images/b793c4901e0b80be64ec0217bcbcfb8525f363986fca39f9474272c749ac7635.jpg",
308
+ "table_caption": [
309
+ "Table 2: Similar-domain attack performance. Bold indicates the least successful attack domain (i.e. highest after-attack accuracy) for each target domain, as well as the corresponding transfer loss value. "
310
+ ],
311
+ "table_footnote": [],
312
+ "table_body": "<table><tr><td>Target Domain</td><td colspan=\"3\">book</td><td colspan=\"3\">magazine</td><td colspan=\"3\">baby</td></tr><tr><td>Original Accuracy Intra-attack Accuracy</td><td colspan=\"3\">0.880</td><td colspan=\"3\">0.960</td><td colspan=\"3\">0.890</td></tr><tr><td></td><td></td><td>0.525</td><td></td><td></td><td>0.570</td><td></td><td></td><td>0.632</td><td></td></tr><tr><td>Attack Domain</td><td>magazine</td><td>baby</td><td>dvd</td><td>baby</td><td>dvd</td><td>book</td><td>dvd</td><td>book</td><td>magazine</td></tr><tr><td>Unperturbed Accuracy</td><td>0.726</td><td>0.646</td><td>0.745</td><td>0.739</td><td>0.663</td><td>0.673</td><td>0.624</td><td>0.652</td><td>0.665</td></tr><tr><td>After-attack Accuracy</td><td>0.398</td><td>0.421</td><td>0.395</td><td>0.381</td><td>0.366</td><td>0.343</td><td>0.365</td><td>0.386</td><td>0.401</td></tr><tr><td>Shared Vocab</td><td>0.381</td><td>0.255</td><td>0.455</td><td>0.260</td><td>0.345</td><td>0.381</td><td>0.270</td><td>0.255</td><td>0.260</td></tr><tr><td>Transfer Loss</td><td>0.017</td><td>0.071</td><td>0.000</td><td>0.079</td><td>0.022</td><td>0.010</td><td>0.066</td><td>0.050</td><td>0.069</td></tr></table>",
313
+ "bbox": [
314
+ 137,
315
+ 102,
316
+ 852,
317
+ 210
318
+ ],
319
+ "page_idx": 3
320
+ },
321
+ {
322
+ "type": "text",
323
+ "text": "3.3 DOMAIN SIMILARITY ",
324
+ "text_level": 1,
325
+ "bbox": [
326
+ 176,
327
+ 279,
328
+ 364,
329
+ 292
330
+ ],
331
+ "page_idx": 3
332
+ },
333
+ {
334
+ "type": "text",
335
+ "text": "Here, domain similarity refers to the similarity between attacker’s chosen domain and defender’s domain. SharedVocab measures the overlap of unique words, in each of the datasets; a higher degree of overlapping vocabulary implies the two domains are more similar. We also use Transfer Loss, a standard metric for domain adaptation Blitzer et al. (2007); Glorot et al. (2011), to measure domain similarity; lower loss indicates higher similarity. The test error from a target model trained on target domain $T$ and evaluated on attack domain $S$ returns transfer error $e ( S , T )$ . The baseline error $e ( T , T )$ term is the test error obtained from target model trained on target domain (train) data $T$ and tested on target domain (evaluation) data $T$ . This computes the transfer loss, $t f ( S , T ) = e ( S , T ) - e ( T , T )$ . ",
336
+ "bbox": [
337
+ 174,
338
+ 305,
339
+ 825,
340
+ 416
341
+ ],
342
+ "page_idx": 3
343
+ },
344
+ {
345
+ "type": "text",
346
+ "text": "4 IS THE ATTACK EFFECTIVE? ",
347
+ "text_level": 1,
348
+ "bbox": [
349
+ 176,
350
+ 439,
351
+ 441,
352
+ 455
353
+ ],
354
+ "page_idx": 3
355
+ },
356
+ {
357
+ "type": "text",
358
+ "text": "4.1 SETUP ",
359
+ "text_level": 1,
360
+ "bbox": [
361
+ 174,
362
+ 473,
363
+ 261,
364
+ 487
365
+ ],
366
+ "page_idx": 3
367
+ },
368
+ {
369
+ "type": "text",
370
+ "text": "Dataset. We simulate the similar-domain adversarial attack using Amazon’s multi-domain sentiment classification dataset (Blitzer et al., 2007), a commonly-used dataset in cross-domain sentiment classification1, with 1,000 positive and 1,000 negative reviews for each of the 25 product categories. ",
371
+ "bbox": [
372
+ 176,
373
+ 500,
374
+ 825,
375
+ 541
376
+ ],
377
+ "page_idx": 3
378
+ },
379
+ {
380
+ "type": "text",
381
+ "text": "Model. In practice, there could be unlimited choice for the attack model and target model, such as different deep learning architecture, different training parameters. To simplify the discussion, we choose Long Short-Term Memory (LSTM) network as a suitable baseline sentiment classification model (Wang et al., 2018) for our target model and attack model. The architecture consists of 64 LSTM cells, $80 \\%$ dropout, using a sigmoid activation function. ",
382
+ "bbox": [
383
+ 174,
384
+ 547,
385
+ 825,
386
+ 618
387
+ ],
388
+ "page_idx": 3
389
+ },
390
+ {
391
+ "type": "text",
392
+ "text": "Metrics. We first report the accuracy of the target models on the target domain test samples before the attack as the original accuracy. Then we measure the accuracy of the target models against adversarial samples crafted from the attack domain samples, denoted as the after-attack accuracy. Intra-attack accuracy denotes the after-attack accuracy where the attack domain is identical to the target domain. By comparing original and after-attack accuracy, we can evaluate the success of the attack. The greater the gap between the original and after-attack accuracy, the more successful the attack. Unperturbed accuracy measures the accuracy of the target model against the complete, unperturbed test set of the attack domain, to demonstrate that any drop in classification accuracy is not from domain shift alone but from adversarial transferability. ",
393
+ "bbox": [
394
+ 174,
395
+ 625,
396
+ 825,
397
+ 751
398
+ ],
399
+ "page_idx": 3
400
+ },
401
+ {
402
+ "type": "text",
403
+ "text": "4.2 RESULTS ",
404
+ "text_level": 1,
405
+ "bbox": [
406
+ 174,
407
+ 770,
408
+ 277,
409
+ 785
410
+ ],
411
+ "page_idx": 3
412
+ },
413
+ {
414
+ "type": "text",
415
+ "text": "The similar-domain adversarial attack results are presented in Table 2. We see a significant gap between original accuracy and after-attack accuracy indicating that this attack can impose valid threat to a target NLP system. After the similar-domain adversarial attack, the accuracy drops dramatically by a large margin. Take the book target domain for example, when the attack domain is magazine, the after-attack accuracy drops to 0.398, and when the attack domain is baby, the accuracy is 0.421. Moreover, we observe a positive correlation between transfer loss and after-attack accuracy, and a negative correlation between shared vocab and after-attack accuracy. ",
416
+ "bbox": [
417
+ 174,
418
+ 797,
419
+ 825,
420
+ 895
421
+ ],
422
+ "page_idx": 3
423
+ },
424
+ {
425
+ "type": "text",
426
+ "text": "5 DEFENDING AGAINST SIMILAR-DOMAIN ADVERSARIAL ATTACK ",
427
+ "text_level": 1,
428
+ "bbox": [
429
+ 176,
430
+ 102,
431
+ 745,
432
+ 118
433
+ ],
434
+ "page_idx": 4
435
+ },
436
+ {
437
+ "type": "text",
438
+ "text": "In order to defend against a similarity based adversarial attack, it is critical to block adversarial transferability. Adversarial training is the most intuitive yet effective defense strategy for adversarial attack (Goodfellow et al., 2014; Madry et al., 2017). However, this may not be effective for two reasons. First, there is no formal guidance for generating similar-domain adversarial examples because the defender has no idea what the attack data domain is. Second, simple feeding the target model with adversarial examples may even hurt the generalization of the target model (Raghunathan et al., 2019; Zhang et al., 2019a; Su et al., 2018), which is also confirmed in our experiments. ",
439
+ "bbox": [
440
+ 174,
441
+ 137,
442
+ 825,
443
+ 236
444
+ ],
445
+ "page_idx": 4
446
+ },
447
+ {
448
+ "type": "text",
449
+ "text": "5.1 WEIGHT TRANSFER LEARNING",
450
+ "text_level": 1,
451
+ "bbox": [
452
+ 176,
453
+ 260,
454
+ 428,
455
+ 273
456
+ ],
457
+ "page_idx": 4
458
+ },
459
+ {
460
+ "type": "text",
461
+ "text": "The use of weight transfer networks (Ha et al., 2016; Hu et al., 2018; Kuen et al., 2019) is concerned with adapting weights from one model into another, and generating/predicting the complete set of weights for a model given the input samples. In our context, distinctly different weights are produced for target models trained on inputs of different domains, and feature transferability (Yosinski et al., 2014) in the input space can be expected to translate to weight transferability in the model weights space. Rather than completely regenerating classification weights, our model robustification defense, Learn2Weight L2W predicts the perturbation to existing weights $\\left( W ^ { \\prime } = W + \\Delta W \\right)$ ) for each new instance. ",
462
+ "bbox": [
463
+ 174,
464
+ 287,
465
+ 826,
466
+ 386
467
+ ],
468
+ "page_idx": 4
469
+ },
470
+ {
471
+ "type": "text",
472
+ "text": "5.2 LEARN2WEIGHT MODEL",
473
+ "text_level": 1,
474
+ "bbox": [
475
+ 176,
476
+ 410,
477
+ 385,
478
+ 424
479
+ ],
480
+ "page_idx": 4
481
+ },
482
+ {
483
+ "type": "text",
484
+ "text": "We conjecture that an effective defense strategy is to perturb the target model weights depending on the feature distribution of the input instance. $L 2 W$ (Algorithm 1) recalculates the target model weights depending on the input. $L 2 W$ (Algorithm 2) trains on sentences from different domains and a weight differential for that domain (the weight adjustment required to tune the target model’s weights to adapt to the input’s domain). We obtain the weight differential $\\Delta W$ by finding the difference between the weights of $f$ trained on sentence:label pairs from a specific domain $W _ { S _ { j } }$ and weights of $f$ trained on sentence:label pairs from the target domain $W _ { T }$ . Other training models may be possible; here we trained a sequence-to-sequence network (Sutskever et al., 2014) on sentence: $\\Delta W$ pairs. ",
485
+ "bbox": [
486
+ 173,
487
+ 439,
488
+ 825,
489
+ 551
490
+ ],
491
+ "page_idx": 4
492
+ },
493
+ {
494
+ "type": "table",
495
+ "img_path": "images/e75efecc6a18495c496719643327dcb1137fc843056a22836ba84546dff0c37c.jpg",
496
+ "table_caption": [],
497
+ "table_footnote": [],
498
+ "table_body": "<table><tr><td>Algorithm 1: Learn2Weight: Inference</td><td>Algorithm 2: Learn2Weight:Training</td></tr><tr><td>inference (Xadv, L2W(.), f(Wr,T)) Input:Passed arguments include the adversarial input Xadu, the Learn2Weight model L2W(-),and the target model f(Wr,T) Output :Target model with weighted</td><td>train (T,D) Input :Target domain T={Ti}0; Set of M domains D={S,j)j; withNsentences, N,M i indexing specific sentence tensor and j indexing specific domains Output :Trained Learn2Weight model L2W(·)</td></tr><tr><td>updated byLearn2Weight f(W*,T) is the expected output Pass Xadu as in input into the trained L2W(-) function,and the weight differential required for the target model with weights Wr is△W.</td><td>Initialize empty X and Y to store sentences Xi from each domain j with corresponding weight differential. X←;Y←; Compute weights of f trained on T. Wr ← f(T);</td></tr><tr><td>△W ← L2W(Xadv); The returned function is the target model with updated weights Wr+△W. return f(Wr +△W,T);</td><td>X←T;Y←WT-Wr; Train each domain Sj,compute respective weights, append the differential △W to Y and each sentence in Si,j into X. foreach domain Sj ∈D do Ws,← f(Sj); △W ←Wsj-Wr;</td></tr></table>",
499
+ "bbox": [
500
+ 173,
501
+ 571,
502
+ 808,
503
+ 926
504
+ ],
505
+ "page_idx": 4
506
+ },
507
+ {
508
+ "type": "text",
509
+ "text": "Algorithm 3: tf-optimization ",
510
+ "text_level": 1,
511
+ "bbox": [
512
+ 174,
513
+ 107,
514
+ 367,
515
+ 122
516
+ ],
517
+ "page_idx": 5
518
+ },
519
+ {
520
+ "type": "text",
521
+ "text": "tfOptimization $( T , M , n _ { m a x } )$ ",
522
+ "bbox": [
523
+ 176,
524
+ 126,
525
+ 356,
526
+ 138
527
+ ],
528
+ "page_idx": 5
529
+ },
530
+ {
531
+ "type": "text",
532
+ "text": "Input :Target domain $T = \\{ T _ { i } \\} _ { i = 0 } ^ { N }$ to be used in synthesizing $M$ similar domains; with $N$ sentences, $i$ indexing specific sentence tensor; $n _ { m a x }$ is the max number of tf-optimization iterations \nOutput :Set $D$ containing $M$ domains \nInitialize empty $D$ to store synthesized domains $S _ { j }$ of index $j$ . \n$D \\gets \\emptyset ; j \\gets 0$ ; \nwhile $j < M$ do Run each iteration until $n _ { m a x }$ . for iter $ 0$ to $n _ { m a x }$ do Apply adversarial perturbations to $T$ . $T _ { i t e r } ^ { \\hat { a } \\hat { d } v } \\gets A d v ( f , \\hat { T } )$ ; Determine change to $A d v ( \\cdot )$ or iter depending on computed transfer loss. if $c h e c k ( t f ( T _ { i t e r } ^ { a d v } , T ) ) \\gets T r u e$ then If low enough, $T _ { i t e r } ^ { a d v }$ can be added as synthetic domain into $D$ . $D \\gets T _ { i t e r } ^ { a d v }$ ; break; else Adjust perturbation parameters. $A d v ( \\cdot ) a d j u s t ( A d v ( \\cdot ) )$ ; $j \\gets j + 1$ ; Return set of Domains to be used for training by $L 2 W$ . \nreturn $D$ ; ",
533
+ "bbox": [
534
+ 192,
535
+ 136,
536
+ 803,
537
+ 411
538
+ ],
539
+ "page_idx": 5
540
+ },
541
+ {
542
+ "type": "text",
543
+ "text": "",
544
+ "bbox": [
545
+ 197,
546
+ 416,
547
+ 526,
548
+ 443
549
+ ],
550
+ "page_idx": 5
551
+ },
552
+ {
553
+ "type": "text",
554
+ "text": "5.3 TRANSFER LOSS OPTIMIZATION ",
555
+ "text_level": 1,
556
+ "bbox": [
557
+ 174,
558
+ 481,
559
+ 439,
560
+ 494
561
+ ],
562
+ "page_idx": 5
563
+ },
564
+ {
565
+ "type": "text",
566
+ "text": "To generate synthetic domains of varying domain similarity so that defenders defend their model using only target domain data $T$ , the following equation introduces transfer loss optimization (Algorithm 3). The defender iteratively generates adversarial examples $X _ { N } ^ { a d v }$ while maximizing the transfer loss function $t f$ ; this produces a substitute attack domain corpora $S _ { j }$ . We iteratively adjust perturbation parameters $A d v ( \\cdot )$ and iteration count $N$ to minimize the transfer loss of our generated dataset. ",
567
+ "bbox": [
568
+ 173,
569
+ 506,
570
+ 826,
571
+ 577
572
+ ],
573
+ "page_idx": 5
574
+ },
575
+ {
576
+ "type": "equation",
577
+ "img_path": "images/1b6573678dc3dd4ea5b8423291f92b975596760ad533343e240702ad5a8f1b05.jpg",
578
+ "text": "$$\n\\underset { N , A d v ( \\cdot ) } { \\arg \\operatorname* { m i n } } t f _ { N } \\Bigl ( X _ { N } ^ { a d v } , T \\Bigr ) = e \\Bigl ( A d v ( f , T ) , T \\Bigr ) - e \\Bigl ( T , T \\Bigr )\n$$",
579
+ "text_format": "latex",
580
+ "bbox": [
581
+ 325,
582
+ 585,
583
+ 671,
584
+ 616
585
+ ],
586
+ "page_idx": 5
587
+ },
588
+ {
589
+ "type": "text",
590
+ "text": "5.4 EXPLANATION: BLOCKING TRANSFERABILITY ",
591
+ "text_level": 1,
592
+ "bbox": [
593
+ 174,
594
+ 626,
595
+ 539,
596
+ 641
597
+ ],
598
+ "page_idx": 5
599
+ },
600
+ {
601
+ "type": "text",
602
+ "text": "To facilitate our explanation, we adapt from domain adaptation literature (Ben-David et al., 2010; Liu et al., 2019; Zhang et al., $2 0 1 9 \\mathrm { c }$ ): ",
603
+ "bbox": [
604
+ 174,
605
+ 651,
606
+ 825,
607
+ 679
608
+ ],
609
+ "page_idx": 5
610
+ },
611
+ {
612
+ "type": "equation",
613
+ "img_path": "images/fbd1b434c33efa896969ad206182b85e43c0cf5905f19fb73c4b6e00f53d9ebc.jpg",
614
+ "text": "$$\ne ( A , T ) \\leq e ( T , T ) + d _ { \\mathcal { H } \\Delta \\mathcal { H } } ( A , T ) + \\lambda\n$$",
615
+ "text_format": "latex",
616
+ "bbox": [
617
+ 377,
618
+ 684,
619
+ 620,
620
+ 700
621
+ ],
622
+ "page_idx": 5
623
+ },
624
+ {
625
+ "type": "text",
626
+ "text": "where $\\mathcal { H }$ is the hypothesis space, $h$ is a hypothesis function that returns labels $\\{ 0 , 1 \\}$ , and $e ( T , T )$ and $e ( A , T )$ are the generalization errors from passing target domain data $T$ and adversarial data $A$ through a classifier trained on $T$ . $d _ { \\mathcal { H } \\Delta \\mathcal { H } } ( A , T )$ is the $\\mathcal { H } \\Delta \\bar { \\mathcal { H } }$ -distance between $T$ and $A$ , and measures the divergence between the feature distributions of $A$ and $T$ . $e _ { A } ( h , h ^ { ' } )$ and $e _ { T } ( h , h ^ { ' } )$ represents the probability that $h$ disagrees with $h ^ { ' }$ on the label of an input in the domain space $A$ and $T$ respectively. ",
627
+ "bbox": [
628
+ 178,
629
+ 705,
630
+ 823,
631
+ 777
632
+ ],
633
+ "page_idx": 5
634
+ },
635
+ {
636
+ "type": "equation",
637
+ "img_path": "images/e743f16343d692345e0b44660667692cf235aacd42da08e5ed2f35b0d9a6e953.jpg",
638
+ "text": "$$\n\\begin{array} { r } { d _ { \\mathcal { H } \\Delta \\mathcal { H } } ( A , T ) = \\underset { h , h ^ { \\prime } \\in \\mathcal { H } } { \\operatorname* { s u p } } | e _ { A } ( h , h ^ { ' } ) - e _ { T } ( h , h ^ { ' } ) | } \\\\ { d _ { \\mathcal { H } \\Delta \\mathcal { H } } ( A , T ) = \\operatorname* { s u p } _ { h , h ^ { \\prime } \\in \\mathcal { H } } | \\mathbb { E } _ { X \\sim S } [ | ( h ( x ) - h ^ { ' } ( x ) | ] | } \\\\ { - | \\mathbb { E } _ { X \\sim T } [ | ( h ( x ) - h ^ { ' } ( x ) | ] | | } \\end{array}\n$$",
639
+ "text_format": "latex",
640
+ "bbox": [
641
+ 338,
642
+ 776,
643
+ 661,
644
+ 859
645
+ ],
646
+ "page_idx": 5
647
+ },
648
+ {
649
+ "type": "text",
650
+ "text": "Divergence $d _ { \\mathcal { H } \\Delta \\mathcal { H } }$ measures the divergence between feature distributions $A$ and $T$ . Higher $d _ { \\mathcal { H } \\Delta \\mathcal { H } }$ indicates less shared features between 2 domains. The greater the intersection between feature distributions, the greater the proportion of domain-variant features; one approach to domain adaptation is learning domain-invariant features representations (Zhao et al., 2019) to minimize $d _ { \\mathcal { H } \\Delta \\mathcal { H } }$ . ",
651
+ "bbox": [
652
+ 173,
653
+ 867,
654
+ 825,
655
+ 924
656
+ ],
657
+ "page_idx": 5
658
+ },
659
+ {
660
+ "type": "table",
661
+ "img_path": "images/079bc03fda14b96c3b5dbe953caa03fb28c613ffe0f8aac7f02dbcfdee63dbd0.jpg",
662
+ "table_caption": [
663
+ "Table 3: After-defense accuracy performance of different defensive methods. "
664
+ ],
665
+ "table_footnote": [],
666
+ "table_body": "<table><tr><td>Target Domain</td><td colspan=\"3\">magazine</td><td colspan=\"3\">baby</td></tr><tr><td>Attack Domain</td><td>baby</td><td>dvd</td><td>book</td><td>dvd</td><td>book</td><td>magazine</td></tr><tr><td>After-attack Accuracy</td><td>0.381</td><td>0.366</td><td>0.343</td><td>0.365</td><td>0.386</td><td>0.401</td></tr><tr><td>After-defense Accuracy</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Adversarial training</td><td>0.639</td><td>0.559</td><td>0.657</td><td>0.558</td><td>0.577</td><td>0.661</td></tr><tr><td>Defensive distillation</td><td>0.549</td><td>0.561</td><td>0.597</td><td>0.588</td><td>0.629</td><td>0.577</td></tr><tr><td>SharedVocab defense</td><td>0.628</td><td>0.653</td><td>0.631</td><td>0.664</td><td>0.668</td><td>0.621</td></tr><tr><td>Domain-adapted adversarial training</td><td>0.608</td><td>0.637</td><td>0.620</td><td>0.604</td><td>0.620</td><td>0.587</td></tr><tr><td>Learn2Weight</td><td>0.796</td><td>0.842</td><td>0.843</td><td>0.774</td><td>0.751</td><td>0.737</td></tr></table>",
667
+ "bbox": [
668
+ 160,
669
+ 102,
670
+ 851,
671
+ 224
672
+ ],
673
+ "page_idx": 6
674
+ },
675
+ {
676
+ "type": "text",
677
+ "text": "Explaining similarity-domain attacks. As demonstrated by empirical results, $e ( A , T )$ increases in a similarity-based attack setting, and this would arise if $d _ { \\mathcal { H } \\Delta \\mathcal { H } }$ increases correspondingly. $d _ { \\mathcal { H } \\Delta \\mathcal { H } }$ computes inconsistent labels from inconsistent feature distributions, and attributes the success of the attack to domain-variant features. ",
678
+ "bbox": [
679
+ 173,
680
+ 276,
681
+ 825,
682
+ 332
683
+ ],
684
+ "page_idx": 6
685
+ },
686
+ {
687
+ "type": "text",
688
+ "text": "FGSM and variants adjust the input data to maximize the loss based on the backpropagated gradients of a model trained on $S$ . As our pipeline used correctly-labelled sentences before adversarially perturbing them, we can infer that perturbations applied to $S$ were not class-dependent (i.e. the success of the attack is not based on the removal of class-specific features), but class-independent features. It is already difficult for a model trained on $S$ to classify when there is insufficient classdependent features (hence a high $t f ( A , T ) )$ ; in a cross-domain setting, it must be even more difficult for a model trained on $T$ to classify given a shortage of domain-invariant, class-dependent features. ",
689
+ "bbox": [
690
+ 174,
691
+ 339,
692
+ 825,
693
+ 438
694
+ ],
695
+ "page_idx": 6
696
+ },
697
+ {
698
+ "type": "equation",
699
+ "img_path": "images/bf051b3c50cf04244555b5269b0ace2af8a828b43f8111388cda0349f36fdde8.jpg",
700
+ "text": "$$\n\\begin{array} { c } { { d _ { { \\mathcal { H } } \\Delta { \\mathcal { H } } } \\leq e ( A , T ) - e ( T , T ) - \\lambda } } \\\\ { { d _ { { \\mathcal { H } } \\Delta { \\mathcal { H } } } \\leq t f ( A , T ) - \\lambda } } \\end{array}\n$$",
701
+ "text_format": "latex",
702
+ "bbox": [
703
+ 397,
704
+ 443,
705
+ 601,
706
+ 483
707
+ ],
708
+ "page_idx": 6
709
+ },
710
+ {
711
+ "type": "text",
712
+ "text": "Explaining Learn2Weight. $L 2 W$ minimizes divergence by training on $\\{ d _ { \\mathcal { H } \\Delta \\mathcal { H } } ( S _ { j } , T ) : \\Delta W _ { A . S _ { j } } \\}$ pairs, $d _ { \\mathcal { H } \\Delta \\mathcal { H } } ( S _ { j } , T )$ being reconstructed from the difference between S $x _ { i } ^ { S _ { j } }$ and $x _ { i } ^ { T }$ . $L 2 W$ is trained on $\\{ d _ { \\mathcal { H } \\Delta \\mathcal { H } } ^ { S _ { j } } \\} _ { j = 0 } ^ { N } : \\{ \\Delta W ^ { S _ { j } } \\} _ { j = 0 } ^ { N }$ pairs, such that . Intuitively the target model possesses a decision boundary (Liu et al., 2019) to classify inputs based on whether they cross the boundary or not; adversarial inputs have a tendency of being near the boundary and fooling it. Weights transfer learning applies perturbations to the decision boundary such that the boundary covers certain adversarial inputs otherwise misclassified, and in this way blocks transferability. The advantage of training on multiple domains $\\{ S _ { j } \\} _ { j = 0 } ^ { M }$ is that the after- $. L 2 W$ divergence between $A$ and $T$ is smaller because $L 2 W$ ’s weight perturbations render the decision boundary more precise in classifying inputs. ",
713
+ "bbox": [
714
+ 173,
715
+ 489,
716
+ 825,
717
+ 621
718
+ ],
719
+ "page_idx": 6
720
+ },
721
+ {
722
+ "type": "text",
723
+ "text": "Explaining tf-optimization. We have attributed why adversarial sentences $A$ are computed to be domain-dissimilar despite originating from $S$ due to insufficient domain-invariant, class-dependent features resulting in low $e ( A , T )$ , i.e. low $t f ( A , T )$ . To replicate this phenomenon in natural domains, we use $t f$ -optimization to iteratively perturb $T$ to increase the proportion of class-independent features. This approximates the real-world similarity-based attack scenario where class-dependent features may be limited for inference. By generating the synthetic data, we are feeding $L 2 W$ attack data with variations in $d _ { \\mathcal { H } \\Delta \\mathcal { H } }$ and class-independent feature distributions. This prepares $L 2 W$ to robustify weights in $f ( T )$ when such feature distributions are encountered. ",
724
+ "bbox": [
725
+ 173,
726
+ 627,
727
+ 826,
728
+ 739
729
+ ],
730
+ "page_idx": 6
731
+ },
732
+ {
733
+ "type": "text",
734
+ "text": "6 EXPERIMENTS ",
735
+ "text_level": 1,
736
+ "bbox": [
737
+ 174,
738
+ 761,
739
+ 326,
740
+ 776
741
+ ],
742
+ "page_idx": 6
743
+ },
744
+ {
745
+ "type": "text",
746
+ "text": "6.1 BASELINES",
747
+ "text_level": 1,
748
+ "bbox": [
749
+ 174,
750
+ 791,
751
+ 294,
752
+ 806
753
+ ],
754
+ "page_idx": 6
755
+ },
756
+ {
757
+ "type": "text",
758
+ "text": "We consider two defense strategies that are empirically effective and are widely used for general black-box adversarial attacks: adversarial training (Goodfellow et al., 2014; Madry et al., 2017) and defensive distillation (Papernot et al., 2016b; 2017). In addition we consider two ablation baselines. ",
759
+ "bbox": [
760
+ 174,
761
+ 819,
762
+ 825,
763
+ 861
764
+ ],
765
+ "page_idx": 6
766
+ },
767
+ {
768
+ "type": "text",
769
+ "text": "Defensive distillation: The high-level implementation of defensive distillation (Papernot et al., 2016b; 2017) is to first train an initial model against target domain inputs and labels, and retrieve the raw class probability scores. The predicted probability values would be used as the new labels for the same target sentences, and we would train a new model based on this new label-sentence pair. ",
770
+ "bbox": [
771
+ 174,
772
+ 867,
773
+ 825,
774
+ 922
775
+ ],
776
+ "page_idx": 6
777
+ },
778
+ {
779
+ "type": "table",
780
+ "img_path": "images/d804dbf632cfad962bbdfa3df2272e8dc307751298e1aea1e4591a0818bb0753.jpg",
781
+ "table_caption": [
782
+ "Table 4: Learn2Weight comparison against different attack model architectures. "
783
+ ],
784
+ "table_footnote": [],
785
+ "table_body": "<table><tr><td>Target</td><td>Original</td><td>Attack</td><td colspan=\"4\">Attack Model After-attack Accuracy</td><td colspan=\"6\">After-Defense Accuracy</td></tr><tr><td>Domain</td><td>Accuracy Target Model: LSTM</td><td>Domain</td><td colspan=\"4\"></td><td colspan=\"4\">LogReg</td><td>CNN</td><td>LogReg</td></tr><tr><td colspan=\"4\"></td><td colspan=\"4\">BERT LSTM</td><td colspan=\"4\">BERT LSTM</td></tr><tr><td rowspan=\"3\">book</td><td rowspan=\"3\">0.880</td><td>dvd</td><td>0.342</td><td>0.413</td><td>GRU 0.477</td><td>CNN 0.335</td><td>0.440</td><td>0.786</td><td>0.847</td><td>0.804</td><td>0.816</td><td>0.782</td></tr><tr><td>kitchenware</td><td>0.350</td><td>0.372</td><td>0.325</td><td>0.353</td><td>0.425</td><td>0.765</td><td>0.826</td><td>0.795</td><td>0.742</td><td>0.767</td></tr><tr><td>electronics</td><td>0.400</td><td>0.389</td><td>0.416</td><td>0.315</td><td>0.460</td><td>0.792</td><td>0.812</td><td>0.784</td><td>0.770</td><td>0.725</td></tr><tr><td rowspan=\"3\">dvd</td><td rowspan=\"3\">0.920</td><td></td><td>0.326</td><td>0.434</td><td>0.479</td><td>0.383</td><td>0.490</td><td>0.816</td><td>0.795</td><td>0.824</td><td>0.804</td><td>0.794</td></tr><tr><td>book kitchenware</td><td>0.355</td><td>0.370</td><td>0.379</td><td>0.359</td><td>0.490</td><td>0.728</td><td>0.796</td><td>0.755</td><td>0.735</td><td>0.695</td></tr><tr><td>electronics</td><td>0.387</td><td>0.377</td><td>0.332</td><td>0.348</td><td>0.455</td><td>0.825</td><td>0.836</td><td>0.812</td><td>0.834</td><td>0.796</td></tr><tr><td rowspan=\"3\">electronics</td><td rowspan=\"3\">0.910</td><td>book</td><td>0.425</td><td>0.394</td><td>0.473</td><td>0.358</td><td>0.474</td><td>0.775</td><td>0.821</td><td>0.795</td><td>0.782</td><td>0.712</td></tr><tr><td>dvd</td><td>0.342</td><td>0.395</td><td>0.452</td><td>0.368</td><td>0.493</td><td>0.784</td><td>0.845</td><td>0.855</td><td>0.842</td><td>0.792</td></tr><tr><td>kitchenware</td><td>0.390</td><td>0.384</td><td>0.464</td><td>0.329</td><td>0.432</td><td>0.730</td><td>0.824</td><td>0.753</td><td>0.724</td><td>0.678</td></tr></table>",
786
+ "bbox": [
787
+ 91,
788
+ 102,
789
+ 928,
790
+ 258
791
+ ],
792
+ "page_idx": 7
793
+ },
794
+ {
795
+ "type": "text",
796
+ "text": "Adversarial training: It is shown that injecting adversarial examples throughout training increases the robustness of target neural network models. In this baseline, target model is trained with both original training data and adversarial examples generated from original training data. However, since the adversarial examples are still generated from the target domain, it is unlikely that the method can defend similar-domain attack which is the result of domain-variant features. ",
797
+ "bbox": [
798
+ 174,
799
+ 314,
800
+ 823,
801
+ 383
802
+ ],
803
+ "page_idx": 7
804
+ },
805
+ {
806
+ "type": "text",
807
+ "text": "SharedVocab defense. Given that it is the domain-variant features that cause the success of similardomain attack, a simple baseline is to remove those words that are not in the target domain’s vocabulary. This tests whether the effect of perturbing target model weights w.r.t domain-variant features will yield incremental after-attack accuracy in the similar-domain attack setting. ",
808
+ "bbox": [
809
+ 174,
810
+ 391,
811
+ 825,
812
+ 446
813
+ ],
814
+ "page_idx": 7
815
+ },
816
+ {
817
+ "type": "text",
818
+ "text": "Domain-adapted adversarial training. This ablation baseline tests for incremental performance to a baseline defense using domain-variant inputs. We adapt adversarial training to be trained on adversarial sentences from attack domain $S$ , whereas the traditional adversarial training generates adversarial samples $X ^ { a d v , T }$ from its training data $T$ , this adapted version uses adversarial samples $X ^ { a d v , S }$ generated from $S$ . ",
819
+ "bbox": [
820
+ 174,
821
+ 454,
822
+ 825,
823
+ 523
824
+ ],
825
+ "page_idx": 7
826
+ },
827
+ {
828
+ "type": "text",
829
+ "text": "6.2 LEARN2WEIGHT PERFORMANCE",
830
+ "text_level": 1,
831
+ "bbox": [
832
+ 178,
833
+ 540,
834
+ 442,
835
+ 554
836
+ ],
837
+ "page_idx": 7
838
+ },
839
+ {
840
+ "type": "text",
841
+ "text": "Defense performance. We present the results of different defense baselines in Table 3. First, we can see that Learn2Weight achieves the highest after-defense accuracy against the adversarial attack. Take the magazine as target domain for example, if the adversary chooses to use book data as the attack domain, it would reduce the target model accuracy to 0.343. However, the Learn2Weight method can improve the performance to 0.843, which is a significant and substantial improvement against the attack. This improvements also exist across different target/attack domain pairs. Second, we see that all defense methods can improve the accuracy to some extent which indicates the importance and effectiveness of having robust training for machine learning models. Third, it is interesting to note that two simple baselines SharedVocab defense and Domain-adapted adversarial training yield overall better performance compared to adversarial training and defensive distillation. ",
842
+ "bbox": [
843
+ 173,
844
+ 565,
845
+ 825,
846
+ 705
847
+ ],
848
+ "page_idx": 7
849
+ },
850
+ {
851
+ "type": "text",
852
+ "text": "Attack model architectures. So far, all the results are conducted using the same LSTM as the target/attack model due to simplicity purpose. Here, we keep the target model unchanged, but vary the architecture of the attack model for the generation of adversarial examples. A variation of a Recurrent Neural Network is a Gated Recurrent Unit (GRU) network, with 512 GRU cells, $60 \\%$ dropout and tanh activation function. We have also tested other attack model variants that are commonly-used in sentiment classification, including Bidirectional Encoder Representations from Transformers (BERT) (Devlin et al., 2019), Convolutional Neural Network (CNN) (Kim, 2014), and Logistic Regression (Maas et al., 2011). For both RNN and CNN, we use pre-computed Glove embeddings2 to encode words. All models are trained with enough epochs after ensuring the model achieved near state-of-the-art validation accuracy before proceeding to tests of adversarial attacks and defenses. ",
853
+ "bbox": [
854
+ 173,
855
+ 712,
856
+ 825,
857
+ 864
858
+ ],
859
+ "page_idx": 7
860
+ },
861
+ {
862
+ "type": "text",
863
+ "text": "We present the results of different attack model architectures in Table 4. First, similar-domain attack is model-agnostic and it does not require the target and attack model to have identical architectures. ",
864
+ "bbox": [
865
+ 176,
866
+ 872,
867
+ 823,
868
+ 900
869
+ ],
870
+ "page_idx": 7
871
+ },
872
+ {
873
+ "type": "text",
874
+ "text": "We can see that all four attack model architectures are able to reduce the target model accuracy. Second, the results suggest that Learn2Weight is also model-agnostic as it can substantially improve the after-defense accuracy regardless which attack model is used. ",
875
+ "bbox": [
876
+ 174,
877
+ 103,
878
+ 823,
879
+ 146
880
+ ],
881
+ "page_idx": 8
882
+ },
883
+ {
884
+ "type": "text",
885
+ "text": "7 CONCLUSION ",
886
+ "text_level": 1,
887
+ "bbox": [
888
+ 176,
889
+ 165,
890
+ 318,
891
+ 183
892
+ ],
893
+ "page_idx": 8
894
+ },
895
+ {
896
+ "type": "text",
897
+ "text": "In this newly-proposed, empirically-effective similar-domain attack, an adversary can choose a similar domain to the target task, build a substitute model and produce adversarial examples to fool the target model. We also propose a defense strategy, Learn2Weight, that learns to adapt the target model’s weight using crafted adversarial examples. Compared with other adversarial defense strategies, Learn2Weight can improve the target model robustness against the similar-domain attack. Our method demonstrates properties of a good adversarial defense, such as adopting defense architectures that adapt to situations/inputs rather than compromising standard error versus robustness error, to leverage class-independent properties in domain-variant text, and factoring in domain similarity in adversarial robustness exercises. ",
898
+ "bbox": [
899
+ 173,
900
+ 196,
901
+ 825,
902
+ 321
903
+ ],
904
+ "page_idx": 8
905
+ },
906
+ {
907
+ "type": "text",
908
+ "text": "REFERENCES ",
909
+ "text_level": 1,
910
+ "bbox": [
911
+ 174,
912
+ 344,
913
+ 285,
914
+ 358
915
+ ],
916
+ "page_idx": 8
917
+ },
918
+ {
919
+ "type": "text",
920
+ "text": "Shai Ben-David, John Blitzer, Koby Crammer, Alex Kulesza, Fernando Pereira, and Jennifer Vaughan. A theory of learning from different domains. Machine Learning, 79:151–175, 2010. URL http://www.springerlink.com/content/q6qk230685577n52/. ",
921
+ "bbox": [
922
+ 178,
923
+ 367,
924
+ 823,
925
+ 410
926
+ ],
927
+ "page_idx": 8
928
+ },
929
+ {
930
+ "type": "text",
931
+ "text": "John Blitzer, Mark Dredze, and Fernando Pereira. Biographies, bollywood, boom-boxes and blenders: Domain adaptation for sentiment classification. In ACL, pp. 440–447, 2007. ",
932
+ "bbox": [
933
+ 171,
934
+ 417,
935
+ 825,
936
+ 446
937
+ ],
938
+ "page_idx": 8
939
+ },
940
+ {
941
+ "type": "text",
942
+ "text": "Shuyu Cheng, Yinpeng Dong, Tianyu Pang, Hang Su, and Jun Zhu. Improving black-box adversarial attacks with a transfer-based prior. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alche-Buc, E. Fox, and R. Garnett (eds.), ´ Advances in Neural Information Processing Systems 32, pp. 10934–10944. Curran Associates, Inc., 2019. URL http://papers.nips.cc/paper/ 9275-improving-black-box-adversarial-attacks-with-a-transfer-based-prior. pdf. ",
943
+ "bbox": [
944
+ 173,
945
+ 455,
946
+ 838,
947
+ 540
948
+ ],
949
+ "page_idx": 8
950
+ },
951
+ {
952
+ "type": "text",
953
+ "text": "Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 4171–4186, Minneapolis, Minnesota, June 2019. Association for Computational Linguistics. doi: 10.18653/v1/N19-1423. URL https: //www.aclweb.org/anthology/N19-1423. ",
954
+ "bbox": [
955
+ 173,
956
+ 549,
957
+ 826,
958
+ 633
959
+ ],
960
+ "page_idx": 8
961
+ },
962
+ {
963
+ "type": "text",
964
+ "text": "Javid Ebrahimi, Anyi Rao, Daniel Lowd, and Dejing Dou. Hotflip: White-box adversarial examples for text classification. In ACL, pp. 31–36, 2018. ",
965
+ "bbox": [
966
+ 171,
967
+ 641,
968
+ 825,
969
+ 671
970
+ ],
971
+ "page_idx": 8
972
+ },
973
+ {
974
+ "type": "text",
975
+ "text": "Samuel G. Finlayson, John D. Bowers, Joichi Ito, Jonathan L. Zittrain, Andrew L. Beam, and Isaac S. Kohane. Adversarial attacks on medical machine learning. Science, 363(6433):1287–1289, 2019. ISSN 0036-8075. doi: 10.1126/science.aaw4399. URL https://science.sciencemag.org/ content/363/6433/1287. ",
976
+ "bbox": [
977
+ 174,
978
+ 679,
979
+ 826,
980
+ 736
981
+ ],
982
+ "page_idx": 8
983
+ },
984
+ {
985
+ "type": "text",
986
+ "text": "Xavier Glorot, Antoine Bordes, and Yoshua Bengio. Domain adaptation for large-scale sentiment classification: A deep learning approach. In ICML, pp. 513–520, 2011. ",
987
+ "bbox": [
988
+ 173,
989
+ 744,
990
+ 823,
991
+ 773
992
+ ],
993
+ "page_idx": 8
994
+ },
995
+ {
996
+ "type": "text",
997
+ "text": "Ian J Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. arXiv preprint arXiv:1412.6572, 2014. ",
998
+ "bbox": [
999
+ 174,
1000
+ 782,
1001
+ 821,
1002
+ 811
1003
+ ],
1004
+ "page_idx": 8
1005
+ },
1006
+ {
1007
+ "type": "text",
1008
+ "text": "David Ha, Andrew Dai, and Quoc V Le. Hypernetworks. arXiv preprint arXiv:1609.09106, 2016. ",
1009
+ "bbox": [
1010
+ 173,
1011
+ 819,
1012
+ 815,
1013
+ 835
1014
+ ],
1015
+ "page_idx": 8
1016
+ },
1017
+ {
1018
+ "type": "text",
1019
+ "text": "Ronghang Hu, Piotr Dollar, Kaiming He, Trevor Darrell, and Ross Girshick. Learning to segment ´ every thing. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 4233–4241, 2018. ",
1020
+ "bbox": [
1021
+ 171,
1022
+ 843,
1023
+ 825,
1024
+ 886
1025
+ ],
1026
+ "page_idx": 8
1027
+ },
1028
+ {
1029
+ "type": "text",
1030
+ "text": "Di Jin, Zhijing Jin, Joey Tianyi Zhou, and Peter Szolovits. Is bert really robust? natural language attack on text classification and entailment. arXiv preprint arXiv:1907.11932, 2019. ",
1031
+ "bbox": [
1032
+ 173,
1033
+ 895,
1034
+ 823,
1035
+ 924
1036
+ ],
1037
+ "page_idx": 8
1038
+ },
1039
+ {
1040
+ "type": "text",
1041
+ "text": "Yoon Kim. Convolutional neural networks for sentence classification. In EMNLP, pp. 1746–1751, 2014. ",
1042
+ "bbox": [
1043
+ 171,
1044
+ 103,
1045
+ 825,
1046
+ 132
1047
+ ],
1048
+ "page_idx": 9
1049
+ },
1050
+ {
1051
+ "type": "text",
1052
+ "text": "Jason Kuen, Federico Perazzi, Zhe Lin, Jianming Zhang, and Yap-Peng Tan. Scaling object detection by transferring classification weights. In Proceedings of the IEEE International Conference on Computer Vision, pp. 6044–6053, 2019. ",
1053
+ "bbox": [
1054
+ 174,
1055
+ 140,
1056
+ 823,
1057
+ 183
1058
+ ],
1059
+ "page_idx": 9
1060
+ },
1061
+ {
1062
+ "type": "text",
1063
+ "text": "Alexey Kurakin, Ian Goodfellow, and Samy Bengio. Adversarial machine learning at scale. arXiv preprint arXiv:1611.01236, 2016a. ",
1064
+ "bbox": [
1065
+ 171,
1066
+ 191,
1067
+ 823,
1068
+ 220
1069
+ ],
1070
+ "page_idx": 9
1071
+ },
1072
+ {
1073
+ "type": "text",
1074
+ "text": "Alexey Kurakin, Ian Goodfellow, and Samy Bengio. Adversarial examples in the physical world. arXiv preprint arXiv:1607.02533, 2016b. ",
1075
+ "bbox": [
1076
+ 171,
1077
+ 228,
1078
+ 825,
1079
+ 257
1080
+ ],
1081
+ "page_idx": 9
1082
+ },
1083
+ {
1084
+ "type": "text",
1085
+ "text": "Alex Lamb, Vikas Verma, Juho Kannala, and Yoshua Bengio. Interpolated adversarial training: Achieving robust neural networks without sacrificing too much accuracy. In Proceedings of the 12th ACM Workshop on Artificial Intelligence and Security, AISec’19, pp. 95–103, New York, NY, USA, 2019. Association for Computing Machinery. ISBN 9781450368339. doi: 10.1145/3338501.3357369. URL https://doi.org/10.1145/3338501.3357369. ",
1086
+ "bbox": [
1087
+ 174,
1088
+ 265,
1089
+ 826,
1090
+ 337
1091
+ ],
1092
+ "page_idx": 9
1093
+ },
1094
+ {
1095
+ "type": "text",
1096
+ "text": "Hong Liu, Mingsheng Long, Jianmin Wang, and Michael Jordan. Transferable adversarial training: A general approach to adapting deep classifiers. In Kamalika Chaudhuri and Ruslan Salakhutdinov (eds.), Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pp. 4013–4022, Long Beach, California, USA, 09–15 Jun 2019. PMLR. URL http://proceedings.mlr.press/v97/liu19b.html. ",
1097
+ "bbox": [
1098
+ 173,
1099
+ 344,
1100
+ 825,
1101
+ 415
1102
+ ],
1103
+ "page_idx": 9
1104
+ },
1105
+ {
1106
+ "type": "text",
1107
+ "text": "Andrew L. Maas, Raymond E. Daly, Peter T. Pham, Dan Huang, Andrew Y. Ng, and Christopher Potts. Learning word vectors for sentiment analysis. In ACL, pp. 142–150, 2011. ",
1108
+ "bbox": [
1109
+ 173,
1110
+ 422,
1111
+ 823,
1112
+ 452
1113
+ ],
1114
+ "page_idx": 9
1115
+ },
1116
+ {
1117
+ "type": "text",
1118
+ "text": "Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. arXiv preprint arXiv:1706.06083, 2017. ",
1119
+ "bbox": [
1120
+ 174,
1121
+ 460,
1122
+ 826,
1123
+ 502
1124
+ ],
1125
+ "page_idx": 9
1126
+ },
1127
+ {
1128
+ "type": "text",
1129
+ "text": "Seyed-Mohsen Moosavi-Dezfooli, Alhussein Fawzi, and Pascal Frossard. Deepfool: a simple and accurate method to fool deep neural networks. In CVPR, pp. 2574–2582, 2016. ",
1130
+ "bbox": [
1131
+ 173,
1132
+ 511,
1133
+ 823,
1134
+ 540
1135
+ ],
1136
+ "page_idx": 9
1137
+ },
1138
+ {
1139
+ "type": "text",
1140
+ "text": "Nicolas Papernot, Patrick McDaniel, and Ian Goodfellow. Transferability in machine learning: from phenomena to black-box attacks using adversarial samples. arXiv preprint arXiv:1605.07277, 2016a. ",
1141
+ "bbox": [
1142
+ 174,
1143
+ 547,
1144
+ 826,
1145
+ 590
1146
+ ],
1147
+ "page_idx": 9
1148
+ },
1149
+ {
1150
+ "type": "text",
1151
+ "text": "Nicolas Papernot, Patrick McDaniel, Xi Wu, Somesh Jha, and Ananthram Swami. Distillation as a defense to adversarial perturbations against deep neural networks. In 2016 IEEE Symposium on Security and Privacy (SP), pp. 582–597. IEEE, 2016b. ",
1152
+ "bbox": [
1153
+ 174,
1154
+ 598,
1155
+ 826,
1156
+ 642
1157
+ ],
1158
+ "page_idx": 9
1159
+ },
1160
+ {
1161
+ "type": "text",
1162
+ "text": "Nicolas Papernot, Patrick McDaniel, Ian Goodfellow, Somesh Jha, Z. Berkay Celik, and Ananthram Swami. Practical black-box attacks against machine learning. In Proceedings of the 2017 ACM on Asia Conference on Computer and Communications Security, ASIA CCS ’17, pp. 506–519, New York, NY, USA, 2017. Association for Computing Machinery. ISBN 9781450349444. doi: 10.1145/3052973.3053009. URL https://doi.org/10.1145/3052973.3053009. ",
1163
+ "bbox": [
1164
+ 173,
1165
+ 648,
1166
+ 825,
1167
+ 720
1168
+ ],
1169
+ "page_idx": 9
1170
+ },
1171
+ {
1172
+ "type": "text",
1173
+ "text": "Aditi Raghunathan, Sang Michael Xie, Fanny Yang, John C Duchi, and Percy Liang. Adversarial training can hurt generalization. arXiv preprint arXiv:1906.06032, 2019. ",
1174
+ "bbox": [
1175
+ 169,
1176
+ 728,
1177
+ 825,
1178
+ 757
1179
+ ],
1180
+ "page_idx": 9
1181
+ },
1182
+ {
1183
+ "type": "text",
1184
+ "text": "Ludwig Schmidt, Shibani Santurkar, Dimitris Tsipras, Kunal Talwar, and Aleksander Madry. Adversarially robust generalization requires more data. In Proceedings of the 32nd International Conference on Neural Information Processing Systems, NIPS’18, pp. 5019–5031, Red Hook, NY, USA, 2018. Curran Associates Inc. ",
1185
+ "bbox": [
1186
+ 173,
1187
+ 765,
1188
+ 826,
1189
+ 821
1190
+ ],
1191
+ "page_idx": 9
1192
+ },
1193
+ {
1194
+ "type": "text",
1195
+ "text": "Dong Su, Huan Zhang, Hongge Chen, Jinfeng Yi, Pin-Yu Chen, and Yupeng Gao. Is robustness the cost of accuracy?–a comprehensive study on the robustness of 18 deep image classification models. In Proceedings of ECCV, pp. 631–648, 2018. ",
1196
+ "bbox": [
1197
+ 174,
1198
+ 830,
1199
+ 825,
1200
+ 873
1201
+ ],
1202
+ "page_idx": 9
1203
+ },
1204
+ {
1205
+ "type": "text",
1206
+ "text": "Ilya Sutskever, Oriol Vinyals, and Quoc V. Le. Sequence to sequence learning with neural networks. In Proceedings of the 27th International Conference on Neural Information Processing Systems - Volume 2, NIPS’14, pp. 3104–3112, Cambridge, MA, USA, 2014. MIT Press. ",
1207
+ "bbox": [
1208
+ 174,
1209
+ 881,
1210
+ 826,
1211
+ 924
1212
+ ],
1213
+ "page_idx": 9
1214
+ },
1215
+ {
1216
+ "type": "text",
1217
+ "text": "Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. arXiv preprint arXiv:1312.6199, 2013. ",
1218
+ "bbox": [
1219
+ 171,
1220
+ 103,
1221
+ 826,
1222
+ 132
1223
+ ],
1224
+ "page_idx": 10
1225
+ },
1226
+ {
1227
+ "type": "text",
1228
+ "text": "Florian Tramer, Alexey Kurakin, Nicolas Papernot, Ian Goodfellow, Dan Boneh, and Patrick Mc- \\` Daniel. Ensemble adversarial training: Attacks and defenses. arXiv preprint arXiv:1705.07204, 2017. ",
1229
+ "bbox": [
1230
+ 176,
1231
+ 140,
1232
+ 825,
1233
+ 183
1234
+ ],
1235
+ "page_idx": 10
1236
+ },
1237
+ {
1238
+ "type": "text",
1239
+ "text": "Eric Wallace, Shi Feng, Nikhil Kandpal, Matt Gardner, and Sameer Singh. Universal adversarial triggers for attacking and analyzing nlp. In EMNLP, pp. 2153–2162, 2019. ",
1240
+ "bbox": [
1241
+ 173,
1242
+ 193,
1243
+ 825,
1244
+ 222
1245
+ ],
1246
+ "page_idx": 10
1247
+ },
1248
+ {
1249
+ "type": "text",
1250
+ "text": "Haohan Wang, Songwei Ge, Zachary Lipton, and Eric Xing. Learning robust global representations by penalizing local predictive power. Neural Information Processing Systems, pp. 10506–10518, 2019. ",
1251
+ "bbox": [
1252
+ 176,
1253
+ 229,
1254
+ 823,
1255
+ 272
1256
+ ],
1257
+ "page_idx": 10
1258
+ },
1259
+ {
1260
+ "type": "text",
1261
+ "text": "Jenq-Haur Wang, Ting-Wei Liu, Xiong Luo, and Long Wang. An LSTM approach to short text sentiment classification with word embeddings. In ROCLING, pp. 214–223, 2018. ",
1262
+ "bbox": [
1263
+ 173,
1264
+ 281,
1265
+ 821,
1266
+ 310
1267
+ ],
1268
+ "page_idx": 10
1269
+ },
1270
+ {
1271
+ "type": "text",
1272
+ "text": "Cihang Xie, Zhishuai Zhang, Yuyin Zhou, Song Bai, Jianyu Wang, Zhou Ren, and Alan Yuille. Improving transferability of adversarial examples with input diversity, 2018. ",
1273
+ "bbox": [
1274
+ 176,
1275
+ 319,
1276
+ 821,
1277
+ 349
1278
+ ],
1279
+ "page_idx": 10
1280
+ },
1281
+ {
1282
+ "type": "text",
1283
+ "text": "Puyudi Yang, Jianbo Chen, Cho-Jui Hsieh, Jane-Ling Wang, and Michael I. Jordan. Greedy attack and gumbel attack: Generating adversarial examples for discrete data, 2018. ",
1284
+ "bbox": [
1285
+ 173,
1286
+ 357,
1287
+ 820,
1288
+ 387
1289
+ ],
1290
+ "page_idx": 10
1291
+ },
1292
+ {
1293
+ "type": "text",
1294
+ "text": "Jason Yosinski, Jeff Clune, Yoshua Bengio, and Hod Lipson. How transferable are features in deep neural networks? In Proceedings of the 27th International Conference on Neural Information Processing Systems - Volume 2, NIPS’14, pp. 3320–3328, Cambridge, MA, USA, 2014. MIT Press. ",
1295
+ "bbox": [
1296
+ 174,
1297
+ 395,
1298
+ 826,
1299
+ 438
1300
+ ],
1301
+ "page_idx": 10
1302
+ },
1303
+ {
1304
+ "type": "text",
1305
+ "text": "Hongyang Zhang, Yaodong Yu, Jiantao Jiao, Eric Xing, Laurent El Ghaoui, and Michael Jordan. Theoretically principled trade-off between robustness and accuracy. In Proceedings of ICML, pp. 7472–7482, 2019a. ",
1306
+ "bbox": [
1307
+ 174,
1308
+ 446,
1309
+ 826,
1310
+ 489
1311
+ ],
1312
+ "page_idx": 10
1313
+ },
1314
+ {
1315
+ "type": "text",
1316
+ "text": "Huan Zhang, Hongge Chen, Zhao Song, Duane Boning, Inderjit S. Dhillon, and Cho-Jui Hsieh. The limitations of adversarial training and the blind-spot attack, 2019b. ",
1317
+ "bbox": [
1318
+ 173,
1319
+ 498,
1320
+ 823,
1321
+ 527
1322
+ ],
1323
+ "page_idx": 10
1324
+ },
1325
+ {
1326
+ "type": "text",
1327
+ "text": "Wei Emma Zhang, Quan Z Sheng, Ahoud Alhazmi, and Chenliang Li. Adversarial attacks on deep-learning models in natural language processing: A survey. ACM Transactions on Intelligent Systems and Technology (TIST), 11(3):1–41, 2020. ",
1328
+ "bbox": [
1329
+ 174,
1330
+ 535,
1331
+ 825,
1332
+ 579
1333
+ ],
1334
+ "page_idx": 10
1335
+ },
1336
+ {
1337
+ "type": "text",
1338
+ "text": "Yuchen Zhang, Tianle Liu, Mingsheng Long, and Michael Jordan. Bridging theory and algorithm for domain adaptation. In Kamalika Chaudhuri and Ruslan Salakhutdinov (eds.), Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pp. 7404–7413, Long Beach, California, USA, 09–15 Jun 2019c. PMLR. URL http://proceedings.mlr.press/v97/zhang19i.html. ",
1339
+ "bbox": [
1340
+ 174,
1341
+ 588,
1342
+ 825,
1343
+ 659
1344
+ ],
1345
+ "page_idx": 10
1346
+ },
1347
+ {
1348
+ "type": "text",
1349
+ "text": "Han Zhao, Remi Tachet Des Combes, Kun Zhang, and Geoffrey Gordon. On learning invariant representations for domain adaptation. In Kamalika Chaudhuri and Ruslan Salakhutdinov (eds.), Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pp. 7523–7532, Long Beach, California, USA, 09–15 Jun 2019. PMLR. URL http://proceedings.mlr.press/v97/zhao19a.html. ",
1350
+ "bbox": [
1351
+ 173,
1352
+ 666,
1353
+ 826,
1354
+ 738
1355
+ ],
1356
+ "page_idx": 10
1357
+ }
1358
+ ]
parse/train/1-j4VLSHApJ/1-j4VLSHApJ_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/1-j4VLSHApJ/1-j4VLSHApJ_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/B1l08oAct7/B1l08oAct7.md ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/B1l08oAct7/B1l08oAct7_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/B1l08oAct7/B1l08oAct7_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/B1l08oAct7/B1l08oAct7_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/HkgHk3RctX/HkgHk3RctX.md ADDED
@@ -0,0 +1,286 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SEQ2SLATE: RE-RANKING AND SLATE OPTIMIZATION WITH RNNS
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ Ranking is a central task in machine learning and information retrieval. In this task, it is especially important to present the user with a slate of items that is appealing as a whole. This in turn requires taking into account interactions between items, since intuitively, placing an item on the slate affects the decision of which other items should be placed alongside it. In this work, we propose a sequence-to-sequence model for ranking called seq2slate. At each step, the model predicts the next item to place on the slate given the items already selected. The recurrent nature of the model allows complex dependencies between items to be captured directly in a flexible and scalable way. We show how to learn the model end-to-end from weak supervision in the form of easily obtained click-through data. We further demonstrate the usefulness of our approach in experiments on standard ranking benchmarks as well as in a real-world recommendation system.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ Ranking a set of candidate items is a central task in machine learning and information retrieval. Many existing ranking systems are based on pointwise estimators, where the model assigns a score to each item in a candidate set and the resulting slate is obtained by sorting the list according to item scores (Liu et al., 2009). Such models are usually trained from click-through data to optimize an appropriate loss function (Joachims, 2002). This simple approach is computationally attractive as it only requires a sort operation over the candidate set at test (or serving) time, and can therefore scale to large problems. On the other hand, in terms of modeling, pointwise rankers cannot easily express dependencies between ranked items. In particular, the score of an item (e.g., its probability of being clicked) often depends on the other items in the slate and their joint placement. Such interactions between items can be especially dominant in the common case where display area is limited or when strong position bias is present, so that only a few highly ranked items get the user’s attention. In this case it may be preferable, for example, to present a diverse set of items at the top positions of the slate in order to cover a wider range of user interests.
12
+
13
+ A significant amount of work on learning-to-rank does consider interactions between ranked items when training the model. In pairwise approaches a classifier is trained to determine which item should be ranked first within a pair of items (e.g., Herbrich et al., 1999; Joachims, 2002; Burges et al., 2005). Similarly, in listwise approaches the loss depends on the full permutation of items (e.g., Cao et al., 2007; Yue et al., 2007). Although these losses consider inter-item dependencies, the ranking function itself is pointwise, so at inference time the model still assigns a score to each item which does not depend on scores of other items.
14
+
15
+ There has been some work on trying to capture interactions between items in the ranking scores themselves (e.g., Qin et al., 2008; 2009; Zhu et al., 2014; Rosenfeld et al., 2014; Dokania et al., 2014). Such approaches can, for example, encourage a pair of items to appear next to (or far from) each other in the resulting ranking. Approaches of this type often assume that the relationship between items takes a simple form (e.g., submodular) in order to obtain tractable inference and learning algorithms. Unfortunately, this comes at the expense of the model’s expressive power.
16
+
17
+ In this paper, we present a general, scalable approach to ranking, which naturally accounts for high-order interactions. In particular, we apply a sequence-to-sequence (seq2seq) model (Sutskever et al., 2014) to the ranking task, where the input is the list of candidate items and the output is the resulting ordering. Since the output sequence corresponds to ranked items on the slate, we call this model sequence-to-slate (seq2slate). The order in which the input is processed can significantly affect the performance of such models (Vinyals et al., 2016). For this reason, we often assume the availability of a base (or “production”) ranker with which the input sequence is ordered (e.g., a simple pointwise method that ignores the interactions we seek to model), and view the output of our model as a re-ranking of the items.
18
+
19
+ ![](images/a577f1fca04cfb32a57bc7e32e0e69b3648831ea94ec93b3956f2fb540b63a10.jpg)
20
+ Figure 1: The seq2slate pointer network architecture for ranking.
21
+
22
+ To address the seq2seq problem, we build on the recent success of recurrent neural networks (RNNs) in a wide range of applications (e.g., Sutskever et al., 2014). This allows us to use a deep model to capture rich dependencies between ranked items, while keeping the computational cost of inference manageable. More specifically, we use pointer networks, which are seq2seq models with an attention mechanism for pointing at positions in the input (Vinyals et al., 2015b). We show how to train the network end-to-end to directly optimize several commonly used ranking measures. To this end, we adapt RNN training to use weak supervision in the form of click-through data obtained from logs, instead of relying on ground-truth rankings, which are much more expensive to obtain. Finally, we demonstrate the usefulness of the proposed approach in a number of learning-to-rank benchmarks and in a large-scale, real-world recommendeation system.
23
+
24
+ # 2 RANKING AND SLATE OPTIMIZATION AS SEQUENCE PREDICTION
25
+
26
+ The ranking problem is that of computing a ranking of a set of items (or ordered list or slate) given some query or context. We formalize the problem as follows. Assume a set of $n$ items, each represented by a feature vector $x _ { i } \in \mathbb { R } ^ { m }$ (which may depend on a query or context). Let $\pi \in \Pi$ denote a permutation of the items, where each $\pi _ { j } \in \{ 1 , \ldots , n \}$ denotes the index of the item in position $j$ . Our goal is to predict the output ranking $\pi$ given the input items $x$ . For instance, given a specific user query, we might want to return an ordered set of music recommendations from a set of candidates that maximizes some measure of user engagement (e.g., number of tracks played).
27
+
28
+ In the seq2seq framework, the probability of an output permutation, or slate, given the inputs is expressed as a product of conditional probabilities according to the chain rule:
29
+
30
+ $$
31
+ p ( \pi | x ) = \prod _ { j = 1 } ^ { n } p ( \pi _ { j } | \pi _ { 1 } , \dots , \pi _ { j - 1 } , x ) \ ,
32
+ $$
33
+
34
+ This expression is completely general and does not make any conditional independence assumptions. In our case, the conditional $p ( \pi _ { j } | \pi _ { < j } , x ) \in \Delta ^ { n }$ (a point in the $n$ -dimensional simplex) models the probability of any item being placed at the $j$ ’th position in the ranking given the items already placed at previous positions. Therefore, this conditional exactly captures all high-order dependencies between items in the ranked list, including those due to diversity, similarity or other interactions.
35
+
36
+ Our setting is somewhat different than a standard seq2seq setting in that the output vocabulary is not fixed. In particular, the same index (position) is populated by different items in different instances (queries). Indeed, the vocabulary size $n$ itself may vary per instance in the common case where the number of items to rank can change. This is precisely the problem addressed by pointer networks, which we review next.
37
+
38
+ # POINTER-NETWORK ARCHITECTURE FOR RANKING
39
+
40
+ We employ the pointer-network architecture of Vinyals et al. (2015b) to model the conditional $p ( \pi _ { j } | \pi _ { < j } ^ { - } , \stackrel { . } { x } )$ . A pointer network uses non-parametric softmax modules, akin to the attention mechanism of Bahdanau et al. (2015), and learns to point to items in its input sequence rather than predicting an index from a fixed-sized vocabulary.
41
+
42
+ Our seq2slate model, illustrated in Fig. 1, consists of two recurrent neural networks (RNNs): an encoder and a decoder, both of which use Long Short-term Memory (LSTM) cells (Hochreiter and Schmidhuber, 1997). At each encoding step $i \leq n$ , the encoder RNN reads the input vector $x _ { i }$ and outputs a $d$ -dimensional vector $e _ { i }$ , thus transforming the input sequence $\{ x _ { i } \} _ { i = 1 } ^ { n }$ into a sequence of latent memory states $\{ e _ { i } \} _ { i = 1 } ^ { n }$ . At each decoding step $j$ , the decoder RNN outputs a $d$ -dimensional vector $d _ { j }$ which is used as a query in our attention function. The attention function takes as input the query $d _ { j } \in \mathbb { R } ^ { d }$ and the set of latent memory states computed by the encoder $\{ e _ { i } \} _ { i = 1 } ^ { n }$ and produces a probability distribution over the next item to include in the output sequence as follows:
43
+
44
+ $$
45
+ \begin{array} { r l r } & { s _ { i } ^ { j } = v ^ { \top } \operatorname { t a n h } \left( W _ { e n c } \cdot e _ { i } + W _ { d e c } \cdot d _ { j } \right) } \\ & { p _ { \theta } ( \pi _ { j } = i | \pi _ { < j } , x ) \equiv p _ { i } ^ { j } = \left\{ \begin{array} { l l } { e ^ { s _ { i } ^ { j } } / \sum _ { k \notin \pi _ { < j } } e ^ { s _ { k } ^ { j } } } & { \mathrm { i f ~ } i \notin \pi _ { < j } } \\ { 0 } & { \mathrm { i f ~ } i \in \pi _ { < j } } \end{array} \right. } & { , } \end{array}
46
+ $$
47
+
48
+ where $W _ { e n c } , W _ { d e c } \in \mathbb { R } ^ { d \times d }$ and $v \in \mathbb { R } ^ { d }$ are learned parameters in our network, denoted collectively by parameter vector $\theta$ . The probability $p _ { i } ^ { j } = p _ { \theta } ( \pi _ { j } = i | \pi _ { < j } , x )$ , is obtained via a softmax over the remaining items and represents the degree to which the model points to input $i$ at decoding step $j$ . To output a permutation, the $p _ { i } ^ { j }$ are set to 0 for items $i$ that already appear in the slate. Once the next item $\pi _ { j }$ is selected, typically greedily or by sampling (see below), its embedding $x _ { \pi _ { j } }$ is fed as input to the next decoder step. The input of the first decoder step is a learned $d$ -dimensional vector, denoted as $g o$ in Fig. 1. Importantly, $p _ { \theta } ( \pi | x )$ is differentiable for ant fixed permutation $\pi$ which allows gradient-based learning (see Section 3).
49
+
50
+ We note the following. (i) The model makes no explicit assumptions about the type of interactions between items. If the learned conditional in Eq. (2) is close to the true conditional in Eq. (1), then the model can capture rich interactions—including diversity, similarity or others. We demonstrate this flexibility in our experiments (Section 4). (ii) $x$ can represent either raw inputs or embeddings thereof, which can be learned together with the sequence model. (iii) The computational cost of inference, dominated by the sequential decoding procedure, is $O ( n ^ { 2 } )$ , which is standard in seq2seq models with attention. We also consider a computationally cheaper single-step decoder with linear cost $O ( n )$ , which outputs a single vector $p ^ { 1 }$ , from which we obtain $\pi$ by sorting the values (similarly to pointwise ranking).
51
+
52
+ # 3 TRAINING WITH CLICK-THROUGH DATA
53
+
54
+ We now turn to the task of training the seq2slate model from data. A typical approach to learning in ranking systems is to run an existing ranker “in the wild” and log click-through data, which are then used to train an improved ranking model. This type of training data is relatively inexpensive to obtain, in contrast to human-curated labels such as relevance scores, ratings, or rankings (Joachims, 2002).
55
+
56
+ Formally, each training example consists of a sequence of items $\{ x _ { 1 } , \ldots , x _ { n } \}$ and binary labels $\left( y _ { 1 } , \ldots , y _ { n } \right)$ , with $y _ { i } \in \{ 0 , 1 \}$ , representing user feedback (e.g., click/no-click). Our approach easily extends to more informative feedback, such as the level of user engagement with the chosen item (e.g., time spent), but to simplify the presentation we focus on the binary case. Our goal is to learn the parameters $\theta$ of $p _ { \theta } ( \pi _ { j } | \pi _ { < j } , x )$ (Eq. (2)) such that permutations $\pi$ corresponding to “good” rankings are assigned high probabilities. Various performance measures $\mathcal { R } ( \pi , y )$ can be used to evaluate the quality of a permutation $\pi$ given the labels $y$ , for example, mean average precision (MAP), precision at $k$ , or normalized discounted cumulative gain at $k$ $( \mathrm { N D C G } @ \mathrm { k } )$ . Generally speaking, permutations where the positive labels rank higher are considered better.
57
+
58
+ In the standard seq2seq setting, models are trained to maximize the likelihood of a target sequence of tokens given the input, which can be done by maximizing the likelihood of each target token given the previous target tokens using Eq. (1). During training, the model is typically fed the ground-truth tokens as inputs to the next prediction step, an approach known as teacher forcing (Williams and Zipser, 1989). Unfortunately, this approach cannot be applied in our setting since we only have access to weak supervision in the form of labels $y$ (e.g clicks), rather than ground-truth permutations. Instead, we show how the seq2slate model can be trained directly from the labels $y$ .
59
+
60
+ # 3.1 TRAINING USING REINFORCE
61
+
62
+ One potential approach, which has been applied successfully in related tasks (Bello et al., 2017; Zhong et al., 2017), is to use reinforcement learning $( R L )$ to directly optimize for the ranking measure $\mathcal { R } ( \pi , \overset { \mathbf { \tilde { \alpha } } } { \boldsymbol { y } } )$ . In this setup, the objective is to maximize the expected ranking metric obtained by sequences sampled from our model: $\mathbb { E } _ { \pi \sim p _ { \theta } ( . | x ) } [ \mathcal { R } ( \pi , y ) ]$ . One can use policy gradients and stochastic gradient ascent to optimize $\theta$ . The gradient is formulated using the popular REINFORCE update (Williams, 1992) and can be approximated via Monte-Carlo sampling as follows:
63
+
64
+ $$
65
+ \begin{array} { l } { \displaystyle \nabla _ { \theta } \mathbb { E } _ { \pi \sim p _ { \theta } ( . | x ) } \big [ \mathcal { R } ( \pi , y ) \big ] = \mathbb { E } _ { \pi \sim p _ { \theta } ( . | x ) } \Big [ \mathcal { R } ( \pi , y ) \nabla _ { \theta } \log p _ { \theta } ( \pi \mid x ) \Big ] } \\ { \displaystyle \approx \frac { 1 } { B } \sum _ { k = 1 } ^ { B } \Big ( \mathcal { R } ( \pi _ { k } , y _ { k } ) - b ( x _ { k } ) \Big ) \nabla _ { \theta } \log p _ { \theta } ( \pi _ { k } \mid x _ { k } ) , } \end{array}
66
+ $$
67
+
68
+ where $k$ indexes ranking instances in a batch of size $B , \pi _ { k }$ are permutations drawn from the model $p _ { \theta }$ and $b ( x )$ denotes a baseline function that estimates the expected rewards to reduce the variance of the gradients.
69
+
70
+ # 3.2 SUPERVISED TRAINING
71
+
72
+ RL, however, is known to be a challenging optimization problem and can suffer from sample inefficiency and difficult credit assignment. As an alternative, we propose supervised learning using the labels $y$ . In particular, rather than waiting until the end of the output sequence (as in RL), we wish to give feedback to the model at each decoder step.
73
+
74
+ Consider the first step, and recall that the model assigns a score $s _ { i }$ to each item in the input. We define a per-step loss $\ell ( s , y )$ which essentially acts as a multi-label classification loss with labels $y$ as ground truth. Two natural, simple choices for $\ell$ are cross-entropy loss and hinge loss:
75
+
76
+ $$
77
+ \begin{array} { l } { { \ell _ { x e n t } ( s , y ) = - \sum _ { i } { \hat { y } } _ { i } \log { p _ { i } } } } \\ { { \ell _ { h i n g e } ( s , y ) = \operatorname* { m a x } \{ 0 , 1 - \underset { i : y _ { i } = 1 } { \operatorname* { m i n } } s _ { i } + \underset { j : y _ { j } = 0 } { \operatorname* { m a x } } s _ { j } \} , } } \end{array}
78
+ $$
79
+
80
+ where $\hat { y } _ { i } = y _ { i } / \sum _ { j } y _ { j }$ , and $p _ { i }$ is a softmax of $s$ , similar to Eq. (2). Intuitively, with cross-entropy loss we try to assign high probabilities to positive labels (see also Kurata et al., 2016), while hinge loss is minimized when scores of items with positive labels are higher than scores of those with negative labels. Notice that both losses are convex functions of the scores $s$ . To improve convergence, we consider a smooth version of the hinge-loss where the maximum and minimum are replaced by their smooth counterparts: smoot $\begin{array} { r } { { \mathrm { ~ \ h - m a x } } ( s ; \gamma ) = \frac { 1 } { \gamma } \log \sum _ { i } e ^ { \gamma s _ { i } } } \end{array}$ (and smooth minimum is defined similarly, using $\mathrm { m i n } _ { i } ( s _ { i } ) = - \mathrm { m a x } _ { i } ( - s _ { i } ) )$ .
81
+
82
+ If we simply apply a per-step loss from Eq. (4) to all steps of the output sequence while reusing the labels $y$ at each step, then the loss is invariant to the actual output permutations (e.g., predicting a positive item at the beginning of the sequence has the same cost as predicting it at the end). Instead, we let the loss $\ell$ at each decoding step $j$ depend on the items already chosen, so no further loss is incurred after a label is predicted correctly. In particular, for a fixed permutation $\pi$ , define the sequence loss:
83
+
84
+ $$
85
+ \mathcal { L } _ { \pi } ( S , y ) = \sum _ { j = 1 } ^ { n } w _ { j } \ell _ { \pi _ { < j } } ( s ^ { j } , y ) ,
86
+ $$
87
+
88
+ where $\boldsymbol { S } = \{ s ^ { j } \} _ { j = 1 } ^ { n }$ , and $\ell _ { \pi < j } \left( s ^ { j } , y \right)$ depends only on the indices in $s ^ { j }$ and $y$ which are not in the prefix permutation $\pi _ { < j } = ( \pi _ { 1 } , \ldots , \pi _ { j - 1 } )$ (see Eq. (4)). Including a per-step weight $w _ { j }$ can encourage better performance earlier in the sequence (e.g., $w _ { j } = 1 / \log ( j + 1 ) )$ . Furthermore, if optimizing for a particular slate size $k$ is desired, one can restrict this loss to just the first $k$ output steps.
89
+
90
+ # DECODING POLICIES DURING TRAINING
91
+
92
+ Since teacher-forcing is not an option, we resort to feeding the model its own previous predictions, as in Bengio et al. (2015); Ranzato et al. (2016). In this case, the permutation $\pi$ is not fixed, but rather depends on the scores $S$ . Specifically, we consider two policies for producing a permutation during training, sampling and greedy decoding, and introduce their corresponding losses.
93
+
94
+ Greedy policy The greedy policy consists of selecting the item that maximizes $p _ { \theta } ( \cdot | \pi _ { < j } , x )$ at every time step $j$ . The resulting permutation $\pi ^ { * }$ then satisfies $\pi _ { j } ^ { * } = \mathrm { a r g m a x } _ { i } p _ { \theta } ( \pi _ { j } = i | \pi _ { < j } ^ { * } )$ and our loss becomes ${ \mathcal { L } } _ { \pi ^ { * } }$ . The greedy policy loss is not continuous everywhere since a small change in the scores $s$ may result in a jump between permutations, and therefore ${ \mathcal { L } } _ { \pi }$ . Specifically, the loss is non-differentiable when any $s ^ { j }$ has multiple maximizing arguments. Outside this measure-zero subspace, the loss is continuous (almost everywhere), and the gradient is well-defined.
95
+
96
+ Sampling policy The sampling policy consists of drawing each $\pi _ { j }$ from $p _ { \theta } ( \cdot | \pi _ { < j } , x )$ . The corresponding loss $\begin{array} { r } { \mathbb { E } [ \mathcal { L } ] = \sum _ { \pi } p _ { \theta } ^ { \mathrm { ~ ~ } } ( \pi ) \bar { \mathcal { L } } _ { \pi } ( \theta ) } \end{array}$ is differentiable everywhere since both $p _ { \theta } ( \pi )$ and ${ \mathcal { L } } _ { \pi } ( \theta )$ are differentiable for any permutation $\pi$ (See appendix for a direct derivation of $\mathbb { E } [ \mathcal { L } ]$ as a function of $S$ ). In this case, the gradient is formulated as:
97
+
98
+ $$
99
+ \begin{array} { r l } & { \nabla _ { \theta } \mathbb { E } [ \mathcal { L } ( \theta ) ] = \nabla _ { \theta } \displaystyle \sum _ { \pi } p _ { \theta } ( \pi ) \mathcal { L } _ { \pi } ( \theta ) } \\ & { \quad \quad \quad \quad = \displaystyle \sum _ { \pi } \left[ ( \nabla _ { \theta } p _ { \theta } ( \pi ) ) \mathcal { L } _ { \pi } ( \theta ) + p _ { \theta } ( \pi ) ( \nabla _ { \theta } \mathcal { L } _ { \pi } ( \theta ) ) \right] } \\ & { \quad \quad \quad = \mathbb { E } _ { \pi \sim p _ { \theta } } \left[ \mathcal { L } _ { \pi } ( \theta ) \cdot \nabla _ { \theta } \log p _ { \theta } ( \pi ) + \nabla _ { \theta } \mathcal { L } _ { \pi } ( \theta ) \right] , } \end{array}
100
+ $$
101
+
102
+ which can be approximated by:
103
+
104
+ $$
105
+ \frac { 1 } { B } \sum _ { k = 1 } ^ { B } \left[ \left( \mathcal { L } _ { \pi _ { k } } ( \theta ) - b ( x _ { k } ) \right) \nabla _ { \theta } \log p _ { \theta } ( \pi _ { k } \mid x _ { k } ) + \nabla _ { \theta } \mathcal { L } _ { \pi _ { k } } ( \theta ) \right] ,
106
+ $$
107
+
108
+ where $b ( \boldsymbol { x } _ { k } )$ is a baseline that approximates ${ \mathcal { L } } _ { \pi _ { k } } ( \theta )$ . Applying stochastic gradient descent intuitively decreases both the loss of any sample (right term) but also the probability of drawing samples with high losses (left term). Notice that our gradient calculation differs from scheduled sampling (Bengio et al., 2015) which instead computes the loss of the sampled sequences (right term) but ignores the probability of sampling high loss sequences (left term). We found it helpful to include both terms, which may apply more generally to training of sequence-to-sequence models (Bengio et al., 2015; Goyal et al., 2016).
109
+
110
+ For both training policies, we minimize the loss via stochastic gradient descent over mini-batches in an end-to-end fashion.
111
+
112
+ # 4 EXPERIMENTAL RESULTS
113
+
114
+ We evaluate the performance of our seq2slate model on a collection of ranking tasks. In Section 4.1 we use learning-to-rank benchmark data to study the behavior of the model. We then apply our approach to a large-scale commercial recommendation system and report the results in Section 4.2.
115
+
116
+ Implementation Details We set hyperparameters of our model to values inspired by the literature. All experiments use mini-batches of 128 training examples and LSTM cells with 128 hidden units. We train our models with the Adam optimizer (Kingma and Ba, 2014) and an initial learning rate of 0.0003 decayed every 1000 steps by a factor of 0.96. Network parameters are initialized uniformly at random in $[ - 0 . 1 , 0 . 1 ]$ . To improve generalization, we regularize the model by using dropout with probability of dropping $p _ { d r o p o u t } = 0 . 1$ and L2 regularization with a penalty coefficient $\lambda = 0 . 0 0 0 3$ . Unless specified otherwise, all results use supervised training with cross-entropy loss $\ell _ { x e n t }$ and the sampling policy. At inference time, we report metrics for the greedy policy. We use an exponential moving average with a decay rate of 0.99 as the baseline $b ( x )$ in Eq. (3) and Eq. (6). When training the seq2slate model with REINFORCE, we use $\mathcal { R } = \mathop { \mathrm { N D G C @ 1 0 } }$ as the reward function and do not regularize the model. We also considered a bidirectional encoder RNN (Schuster and Paliwal, 1997) but found that it did not lead to significant improvements in our experiments.
117
+
118
+ # 4.1 LEARNING-TO-RANK BENCHMARKS
119
+
120
+ To understand the behavior of the proposed model, we conduct experiments using two learning-torank datasets. We use two of the largest publicly available benchmarks: the Yahoo Learning to Rank Challenge data (set 1),1 and the Web30k dataset.2 All context (query) features are embedded within the item feature vectors themselves.
121
+
122
+ <table><tr><td rowspan="2">Ranker</td><td colspan="3">Yahoo</td><td colspan="3">Web30k</td></tr><tr><td>MAP</td><td>NDCG@5</td><td>NDCG10</td><td>MAP</td><td>NDCG@5</td><td>NDCG@10</td></tr><tr><td>seq2slate</td><td>0.67</td><td>0.69</td><td>0.75</td><td>0.51</td><td>0.53</td><td>0.59</td></tr><tr><td>AdaRank</td><td>0.58</td><td>0.61</td><td>0.69</td><td>0.37</td><td>0.38</td><td>0.46</td></tr><tr><td>Coordinate Ascent</td><td>0.49</td><td>0.51</td><td>0.59</td><td>0.31</td><td>0.33</td><td>0.39</td></tr><tr><td>LambdaMART</td><td>0.58</td><td>0.61</td><td>0.69</td><td>0.42</td><td>0.46</td><td>0.52</td></tr><tr><td>ListNet</td><td>0.49</td><td>0.51</td><td>0.59</td><td>0.43</td><td>0.47</td><td>0.53</td></tr><tr><td>MART</td><td>0.58</td><td>0.60</td><td>0.68</td><td>0.39</td><td>0.42</td><td>0.48</td></tr><tr><td>Random Forests</td><td>0.54</td><td>0.57</td><td>0.65</td><td>0.36</td><td>0.39</td><td>0.45</td></tr><tr><td>RankBoost</td><td>0.50</td><td>0.52</td><td>0.60</td><td>0.24</td><td>0.25</td><td>0.30</td></tr><tr><td>RankNet</td><td>0.54</td><td>0.57</td><td>0.64</td><td>0.43</td><td>0.47</td><td>0.53</td></tr></table>
123
+
124
+ Table 1: Performance of seq2slate and other baselines on data generated with diverse-clicks.
125
+
126
+ We adapt the procedure proposed by Joachims et al. (2017) to generate click data. The original procedure is as follows: first, a base ranker is trained from the raw data. We select this base ranker by training all models in the RankLib package,3 and selecting the one with the best performance on each data set (MART for Yahoo and LambdaMART for Web30k). We generate an item ranking using the base model, which is then used to generate training data by simulating a user “cascade” model: a user observes each item with decaying probability $1 / i ^ { \eta }$ , where $i$ is the base rank of the item and $\eta$ is a parameter of the generative model. This simulates a noisy sequential scan. An observed item is clicked if its ground-truth relevance score is above a threshold (relevant: $\{ 2 , 3 , 4 \}$ , irrelevant: $\{ 0 , 1 \} ,$ ), otherwise no click is generated.
127
+
128
+ To introduce high-order interactions, we augment the above procedure as follows, creating a generative process dubbed diverse-clicks. When observing a relevant item, the user will only click if it is not too similar to previously clicked items (i.e, diverse enough), thus reducing the total number of clicks. Similarity is defined as being in the smallest $q$ percentile (i.e., $q = 0 . 5$ is the median) of Euclidean distances between pairs of feature vectors within the same ranking instance: $d _ { i j } = \| x _ { i } - x _ { j } \|$ . We use $\eta = 0$ (no decay, since clicks are sparse anyway due to the diversity term) and $q = 0 . 5$ . This modification to the generative model is essential for our purpose as the original data does not contain explicit inter-item dependencies. We also discuss variations of this model below.
129
+
130
+ Using the generated training data, we train both our seq2slate model and baseline rankers from the RankLib package: AdaRank (Xu and Li, 2007), Coordinate Ascent (Metzler and Croft, 2007), LambdaMART (Wu et al., 2010), ListNet (Cao et al., 2007), MART (Friedman, 2001), Random Forests (Breiman, 2001), RankBoost (Freund et al., 2003), RankNet (Burges et al., 2005). Some of these baselines use deep neural networks (e.g., RankNet, ListNet), so they are strong state-ofthe-art models with comparable complexity to seq2slate. The results in Table 1 show that seq2slate significantly outperforms all the baselines, suggesting that it can better capture and exploit the dependencies between items in the data.
131
+
132
+ To better understand the behavior of the model, we visualize the probabilities of the attention from Eq. (2) for one of the test instances in Fig. 2. Interestingly, the model produces slates that are close to the input ranking, but with some items demoted to lower positions, presumably due to the interactions with previous items.
133
+
134
+ We next consider several variations of the generative model and of the seq2slate model itself. Results are reported in Table 2. The rank-gain metric per example is computed by summing the positions change of all positive labels in the re-ranking, and this is averaged over all examples (queries).
135
+
136
+ Comparison of training variants In Table 2, we compare the different training variants outlined in Section 3, namely cross entropy with the greedy or sampling policy, a smooth hinge loss with $\gamma = 1 . 0$ , and REINFORCE. We find that supervised learning with cross entropy generally performs best, with the smooth hinge loss doing slightly worse. Our weakly supervised training methods have positive rank gain on all datasets, meaning they improve over the base ranker. Results from Table 2 (see also Table 5 in the appendix) suggest that training with REINFORCE yields comparable results on Yahoo but significantly worse results on the more challenging Web30k dataset. We find no significant difference in performance between relying on the greedy and sampling policies during training.
137
+
138
+ Table 2: Comparison of model and data variants for seq2slate on data generated with diverse-clicks.
139
+
140
+ <table><tr><td rowspan="2">Ranker</td><td colspan="4">Yahoo</td><td colspan="4">Web30k</td></tr><tr><td>MAP</td><td>NDCG@5</td><td>NDCG@10</td><td>rank-gain</td><td>MAP</td><td>NDCG@5</td><td>NDCG@10</td><td>rank-gain</td></tr><tr><td>seq2slate</td><td>0.67</td><td>0.69</td><td>0.75</td><td>7.4</td><td>0.51</td><td>0.53</td><td>0.59</td><td>18.3</td></tr><tr><td>Greedy policy</td><td>0.66</td><td>0.69</td><td>0.75</td><td>7.2</td><td>0.50</td><td>0.52</td><td>0.59</td><td>18.3</td></tr><tr><td>smooth-hinge</td><td>0.66</td><td>0.69</td><td>0.75</td><td>7.1</td><td>0.49</td><td>0.51</td><td>0.58</td><td>17.9</td></tr><tr><td>RL</td><td>0.66</td><td>0.68</td><td>0.75</td><td>5.7</td><td>0.44</td><td>0.47</td><td>0.53</td><td>-0.5</td></tr><tr><td>one-step decoder</td><td>0.66</td><td>0.69</td><td>0.75</td><td>6.4</td><td>0.49</td><td>0.51</td><td>0.58</td><td>16.5</td></tr><tr><td>shuffled data</td><td>0.61</td><td>0.64</td><td>0.71</td><td>1</td><td>0.36</td><td>0.36</td><td>0.44</td><td>二</td></tr><tr><td>base ranker (no-op)</td><td>0.58</td><td>0.61</td><td>0.69</td><td>0</td><td>0.45</td><td>0.48</td><td>0.54</td><td>0</td></tr></table>
141
+
142
+ Table 3: Performance compared to a competitive base production ranker on real data.
143
+
144
+ <table><tr><td>Ranker</td><td>MAP</td><td>NDCG@5</td><td>NDCG@10</td><td>rank-gain</td></tr><tr><td>one-step decoder</td><td>+26.79%</td><td>+10.69%</td><td>+40.67%</td><td>0.83</td></tr><tr><td>seq2slate</td><td>+31.32%</td><td>+14.47%</td><td>+45.77%</td><td>1.087</td></tr></table>
145
+
146
+ One-step decoding We compare seq2slate to the model which uses a single decoding step, referred to as one-step decoder (see Section 2). In Table 2 we see that this model has comparable performance to the sequential decoder. This suggests that when inference time is crucial, as in many real-world systems, one might prefer the faster single-shot option. One possible explanation for the comparable performance of the one-step decoder is that the interactions in our generated data are rather simple and can be effectively learned by the encoder. By contrast, in Section 4.2 we show that on more complex real-world data, sequential decoding can perform significantly better.
147
+
148
+ Sensitivity to input order Previous work suggests that the performance of seq2seq models are often sensitive to the order in which the input is processed (Vinyals et al., 2016; Nam et al., 2017). To test this we consider the use of seq2slate without relying on the base ranker to order the input, but instead items are fed to the model in random order. The results in Table 2 (see shuffled data) show that the performance is indeed significantly worse in this case, which is consistent with previous studies. It suggests that reranking is an easier task than ranking from scratch.
149
+
150
+ Adaptivity to the type of interaction To demonstrate the flexibility of seq2slate, we generate data using a variant of the diverse-clicks model above. In the similar-clicks model, the user also clicks on observed irrelevant items if they are similar to previously clicked items (increasing the number of total clicks). As above, we use the pairwise distances in feature space $d _ { i j }$ to determine similarity. For this model we use $q = 0 . 5$ , and $\eta = 0 . 3$ for Web30k, $\eta = 0 . 1$ for Yahoo, to keep the proportion of positive labels similar. The results in the appendix (see Table 4) show that seq2slate has comparable performance to the baseline rankers, with slightly better performance on the harder Web30k data. This demonstrates that our model can adapt to various types of interactions in the data.
151
+
152
+ # 4.2 REAL-WORLD DATA
153
+
154
+ We also apply seq2slate to a ranking problem from a large-scale commercial recommendation system. We train the model using massive click-through logs (comprising roughly $O ( 1 0 ^ { 7 } )$ instances) with cross-entropy loss, the greedy policy, L2-regularization and dropout. The data has item sets of varying size, with an average $n$ of 10.24 items per example. We learn embeddings of the raw inputs as part of training. Table 3 shows the performance of seq2slate and the one-step decoder compared to the production base ranker on test data (of roughly the same size as the training data). Significant gains are observed in all performance metrics, with sequential decoding outperforming the one-step decoder. This suggests that sequential decoding may more faithfully capture complex dependencies between the items.
155
+
156
+ Finally, we let the learned seq2slate model run in a live experiment (A/B testing). We compute the click-through rate (CTR) in each position (#clicks/#examples) for seq2slate. The production base ranker serves traffic outside the experiment, and we compute CTR per position for this traffic as well. Fig. 3 shows the difference in CTR per position, indicating that seq2slate has significantly higher CTR in the top positions. This suggests that seq2slate indeed places items that are likely to be chosen higher in the ranking.
157
+
158
+ ![](images/60ef907f9e21082dbf278a66435c7c2571d114ab9f70bbd97bccceee6a68e18b.jpg)
159
+ Figure 2: Visualization of attention probabilities on benchmark data. Intensities correspond to $p _ { i } ^ { j }$ for each item $i$ in step $j$ .
160
+
161
+ ![](images/d905e26cc9712b632f319eccc5341d66cb31cef90c14bf9748926677d56250cf.jpg)
162
+ Figure 3: Difference in CTR per position between a seq2slate model and a base production ranker in a live experiment.
163
+
164
+ # 5 RELATED WORK
165
+
166
+ In this section we discuss additional related work. Our work builds on the recent impressive success of seq2seq models in complex prediction tasks, including machine translation (Sutskever et al., 2014; Bahdanau et al., 2015), parsing (Vinyals et al., 2015a), combinatorial optimization (Vinyals et al., 2015b; Bello et al., 2017), multi-label classification (Wang et al., 2016; Nam et al., 2017), and others. Our work differs in that we explicitly target the ranking task, which requires a novel approach to training seq2seq models from weak feedback (click-through data).
167
+
168
+ Most of the work on ranking mentioned above uses shallow representations. However, in recent years deep models have been used for information retrieval, focusing on embedding queries, documents and query-document pairs (Huang et al., 2013; Guo et al., 2016; Palangi et al., 2016; Wang and Klabjan, 2017; Pang et al., 2017) (see also recent survey by Mitra and Craswell (2017)). Rather than embedding individual items, in seq2slate a representation of the entire slate of items is learned and encoded in the RNN state. Moreover, learning the embeddings $( x )$ can be easily incorporated into the training of the sequence model to optimize both simultaneously end-to-end.
169
+
170
+ Closest to ours is the recent work of Ai et al. (2018), where an RNN is used to encode a set of items for re-ranking. Their approach uses a single decoding step with attention, similar to our one-step decoder. In contrast, we use sequential decoding, which we find crucial in certain applications (see Section 4.2). Another important difference is that their training formulation assumes availability of full rankings or relevance scores, while we focus on learning from cheap click-through data.
171
+
172
+ Finally, Santa Cruz et al. (2017) recently proposed an elegant framework for learning permutations based on the so called Sinkhorn operator. Their approach uses a continuous relaxation of permutation matrices (i.e., the set of doubly-stochastic matrices). Later, Mena et al. (2018) combined this with a Gumbel softmax distribution to enable efficient learning. However, this approach is focused on reconstruction of scrambled objects, and it is not obvious how to extend it to our ranking setting, where no ground-truth permutation is available.
173
+
174
+ # 6 CONCLUSION
175
+
176
+ We presented a novel seq2slate approach to ranking sets of items. We found the formalism of pointer-networks particularly suitable for this setting. We addressed the challenge of training the model from weak user feedback to improve the ranking quality. Our experiments show that the proposed approach is highly scalable and can deliver significant improvements in ranking results.
177
+
178
+ Our work can be extended in several directions. In terms of architecture, we aim to explore the Transformer network (Vaswani et al., 2017) in place of the RNN. Several variants can potentially improve the performance of our model, including beam-search inference (Wiseman and Rush, 2016), and training with Actor-Critic (Bahdanau et al., 2017) or SeaRNN (Leblond et al., 2018) and it will be interesting to study their performance in the ranking setting. Finally, an interesting future work direction will be to study off-policy correction (Joachims et al., 2018) for seq2slate.
179
+
180
+ # REFERENCES
181
+
182
+ Qingyao Ai, Keping Bi, Jiafeng Guo, and W. Bruce Croft. Learning a deep listwise context model for ranking refinement. In SIGIR, pages 135–144, 2018.
183
+
184
+ Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. In Proceedings of ICLR, 2015.
185
+
186
+ Dzmitry Bahdanau, Philemon Brakel, Kelvin Xu, Anirudh Goyal, Ryan Lowe, Joelle Pineau, Aaron Courville, and Yoshua Bengio. An actor-critic algorithm for sequence prediction. In ICLR, 2017.
187
+
188
+ Irwan Bello, Hieu Pham, Quoc V. Le, Mohammad Norouzi, and Samy Bengio. Neural combinatorial optimization with reinforcement learning. In ICLR 2017 – Workshop Track, 2017.
189
+
190
+ Samy Bengio, Oriol Vinyals, Navdeep Jaitly, and Noam Shazeer. Scheduled sampling for sequence prediction with recurrent neural networks. In NIPS, 2015.
191
+
192
+ Leo Breiman. Random forests. Machine learning, 45(1):5–32, 2001.
193
+
194
+ Chris Burges, Tal Shaked, Erin Renshaw, Ari Lazier, Matt Deeds, Nicole Hamilton, and Greg Hullender. Learning to rank using gradient descent. In Proceedings of the 22nd international conference on Machine learning, pages 89–96, 2005.
195
+
196
+ Zhe Cao, Tao Qin, Tie-Yan Liu, Ming-Feng Tsai, and Hang Li. Learning to rank: from pairwise approach to listwise approach. In Proceedings of the 24th international conference on Machine learning, pages 129–136. ACM, 2007.
197
+
198
+ Puneet Kumar Dokania, Aseem Behl, CV Jawahar, and M Pawan Kumar. Learning to rank using high-order information. In European Conference on Computer Vision, pages 609–623. Springer, 2014.
199
+
200
+ Yoav Freund, Raj Iyer, Robert E Schapire, and Yoram Singer. An efficient boosting algorithm for combining preferences. Journal of machine learning research, 4(Nov):933–969, 2003.
201
+
202
+ Jerome H Friedman. Greedy function approximation: a gradient boosting machine. Annals of statistics, pages 1189–1232, 2001.
203
+
204
+ Anirudh Goyal, Alex Lamb, Ying Zhang, Saizheng Zhang, Aaron C. Courville, and Yoshua Bengio. Professor forcing: A new algorithm for training recurrent networks. In Advances in Neural Information Processing Systems 29: Annual Conference on Neural Information Processing Systems 2016, December 5-10, 2016, Barcelona, Spain, 2016.
205
+
206
+ Jiafeng Guo, Yixing Fan, Qingyao Ai, and W. Bruce Croft. A deep relevance matching model for ad-hoc retrieval. In International Conference on Information and Knowledge Management (CIKM), pages 55–64, 2016.
207
+
208
+ Ralf Herbrich, Thore Graepel, and Klaus Obermayer. Support vector learning for ordinal regression. In ICANN, pages 97–102, 1999.
209
+
210
+ Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. Neural Computations, 1997.
211
+
212
+ Po-Sen Huang, Xiaodong He, Jianfeng Gao, Li Deng, Alex Acero, and Larry Heck. Learning deep structured semantic models for web search using clickthrough data. In Proceedings of the 22nd ACM international conference on Conference on information & knowledge management, pages 2333–2338. ACM, 2013.
213
+
214
+ T. Joachims, A. Swaminathan, and M. de Rijke. Deep learning with logged bandit feedback. In International Conference on Learning Representations (ICLR), 2018.
215
+
216
+ Thorsten Joachims. Optimizing search engines using clickthrough data. In Proceedings of the eighth ACM SIGKDD international conference on Knowledge discovery and data mining, pages 133–142. ACM, 2002.
217
+
218
+ Thorsten Joachims, Adith Swaminathan, and Tobias Schnabel. Unbiased learning-to-rank with biased feedback. In Proceedings of the Tenth ACM International Conference on Web Search and Data Mining, pages 781–789. ACM, 2017.
219
+
220
+ Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In ICLR, 2014.
221
+
222
+ Gakuto Kurata, Bing Xiang, and Bowen Zhou. Improved neural network-based multi-label classification with better initialization leveraging label co-occurrence. In ACL, 2016.
223
+
224
+ Remi Leblond, Jean-Baptiste Alayrac, Anton Osokin, and Simon Lacoste-Julien. ´ SEARNN: Training rnns with global-local losses. In ICLR, 2018.
225
+
226
+ Tie-Yan Liu et al. Learning to rank for information retrieval. Foundations and Trends $\textsuperscript { \textregistered }$ in Information Retrieval, 3(3):225–331, 2009.
227
+
228
+ Gonzalo Mena, David Belanger, Scott Linderman, and Jasper Snoek. Learning latent permutations with gumbel-sinkhorn networks. In International Conference on Learning Representations (ICLR), 2018.
229
+
230
+ Donald Metzler and W Bruce Croft. Linear feature-based models for information retrieval. Information Retrieval, 10(3):257–274, 2007.
231
+
232
+ Bhaskar Mitra and Nick Craswell. Neural models for information retrieval. arXiv:1705.01509, 2017.
233
+
234
+ Jinseok Nam, Eneldo Loza Menc´ıa, Hyunwoo J Kim, and Johannes Furnkranz. Maximizing subset ¨ accuracy with recurrent neural networks in multi-label classification. In Advances in Neural Information Processing Systems 30, pages 5413–5423, 2017.
235
+
236
+ H. Palangi, L. Deng, Y. Shen, J. Gao, X. He, J. Chen, X. Song, and R. Ward. Deep sentence embedding using long short-term memory networks: Analysis and application to information retrieval. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 24(4):694–707, 2016.
237
+
238
+ Liang Pang, Yanyan Lan, Jiafeng Guo, Jun Xu, Jingfang Xu, and Xueqi Cheng. Deeprank: A new deep architecture for relevance ranking in information retrieval. In Proceedings of the 2017 ACM on Conference on Information and Knowledge Management, CIKM ’17, 2017.
239
+
240
+ Tao Qin, Tie-Yan Liu, Xu-Dong Zhang, De-Sheng Wang, Wen-Ying Xiong, and Hang Li. Learning to rank relational objects and its application to web search. In Proceedings of WWW, pages 407–416. ACM, 2008.
241
+
242
+ Tao Qin, Tie-Yan Liu, Xu-Dong Zhang, De-Sheng Wang, and Hang Li. Global ranking using continuous conditional random fields. In Advances in neural information processing systems, pages 1281–1288, 2009.
243
+
244
+ MarcAurelio Ranzato, Sumit Chopra, Michael Auli, and Wojciech Zaremba. Sequence level training with recurrent neural networks. In Proceedings of ICLR, 2016.
245
+
246
+ Nir Rosenfeld, Ofer Meshi, Danny Tarlow, and Amir Globerson. Learning structured models with the auc loss and its generalizations. In Artificial Intelligence and Statistics, pages 841–849, 2014.
247
+
248
+ Rodrigo Santa Cruz, Basura Fernando, Anoop Cherian, and Stephen Gould. Visual permutation learning. In CVPR, 2017.
249
+
250
+ M. Schuster and K.K. Paliwal. Bidirectional recurrent neural networks. Trans. Sig. Proc., 45(11): 2673–2681, 1997. ISSN 1053-587X. doi: 10.1109/78.650093.
251
+
252
+ Ilya Sutskever, Oriol Vinyals, and Quoc V Le. Sequence to sequence learning with neural networks. In NIPS, pages 3104–3112, 2014.
253
+
254
+ Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Ł ukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in Neural Information Processing Systems 30. Curran Associates, Inc., 2017.
255
+
256
+ O. Vinyals, L. Kaiser, T. Koo, S. Petrov, I. Sutskever, and G. Hinton. Grammar as a foreign language. In NIPS, 2015a.
257
+ Oriol Vinyals, Meire Fortunato, and Navdeep Jaitly. Pointer networks. In NIPS, pages 2692–2700, 2015b.
258
+ Oriol Vinyals, Samy Bengio, and Manjunath Kudlur. Order matters: Sequence to sequence for sets. In International Conference on Learning Representations (ICLR), 2016. URL http: //arxiv.org/abs/1511.06391.
259
+ Baiyang Wang and Diego Klabjan. An attention-based deep net for learning to rank. arXiv preprint arXiv:1702.06106, 2017.
260
+ Jiang Wang, Yi Yang, Junhua Mao, Zhiheng Huang, Chang Huang, and Wei Xu. CNN-RNN: A unified framework for multi-label image classification. In Computer Vision and Pattern Recognition (CVPR), 2016 IEEE Conference on, pages 2285–2294. IEEE, 2016.
261
+ Ronald Williams. Simple statistical gradient following algorithms for connectionnist reinforcement learning. In Machine Learning, 1992.
262
+ Ronald J. Williams and David Zipser. A learning algorithm for continually running fully recurrent neural networks. Neural Comput., 1(2):270–280, June 1989. ISSN 0899-7667. doi: 10.1162/neco. 1989.1.2.270. URL http://dx.doi.org/10.1162/neco.1989.1.2.270.
263
+ Sam Wiseman and Alexander M. Rush. Sequence-to-sequence learning as beam-search optimization. In ACL, 2016.
264
+ Qiang Wu, Christopher JC Burges, Krysta M Svore, and Jianfeng Gao. Adapting boosting for information retrieval measures. Information Retrieval, 13(3):254–270, 2010.
265
+ Jun Xu and Hang Li. Adarank: a boosting algorithm for information retrieval. In Proceedings of the 30th annual international ACM SIGIR conference on Research and development in information retrieval, pages 391–398. ACM, 2007.
266
+ Yisong Yue, Thomas Finley, Filip Radlinski, and Thorsten Joachims. A support vector method for optimizing average precision. In Proceedings of SIGIR, pages 271–278. ACM, 2007.
267
+ Victor Zhong, Caiming Xiong, and Richard Socher. Seq2sql: Generating structured queries from natural language using reinforcement learning. arXiv preprint arXiv:1709.00103, 2017.
268
+ Yadong Zhu, Yanyan Lan, Jiafeng Guo, Xueqi Cheng, and Shuzi Niu. Learning for search result diversification. In Proceedings of SIGIR, pages 293–302. ACM, 2014.
269
+
270
+ A DERIVATION OF THE EXPECTED LOSS
271
+
272
+ $$
273
+ \begin{array} { r l } & { \mathbb { E } [ \mathcal { L } ] = \displaystyle \sum _ { \tau } p ( \boldsymbol { \pi } ) \mathcal { L } _ { \tau } } \\ & { \mathrm { ~ \ ~ \ } = \displaystyle \sum _ { \tau } p ( \boldsymbol { \pi } ) \sum _ { j } \ell _ { \tau < j } } \\ & { \mathrm { \ ~ \ ~ \ } = \displaystyle \sum _ { j } \sum _ { \tau } p ( \boldsymbol { \pi } _ { z < j } ) p ( \boldsymbol { \pi } _ { z < j } ) \ell _ { \tau < j } \ell _ { \tau < j } } \\ & { \mathrm { \ ~ \ ~ \ } = \displaystyle \sum _ { j } \sum _ { \tau } p ( \boldsymbol { \pi } _ { z < j } ) p ( \boldsymbol { \pi } _ { z \le j } ) \ell _ { \tau < j } \ell _ { \tau < j } } \\ & { \mathrm { \ ~ \ ~ \ } = \displaystyle \sum _ { j } \sum _ { \tau < j } p ( \boldsymbol { \pi } _ { z < j } ) \ell _ { \tau < j } \sum _ { \tau \ge j } p ( \boldsymbol { \pi } _ { z < j } | \boldsymbol { \pi } _ { z < j } ) } \\ & { \mathrm { \ ~ \ ~ \ } = \displaystyle \sum _ { j } \sum _ { \tau < j } \left( \sum _ { k = 1 } ^ { j - 1 } e ^ { \lambda _ { k } } / \sum _ { \tau \in S _ { k } } c \right) \ell _ { \tau < j } e ^ { \lambda _ { k } } \Big ) \ell _ { \tau < j } \langle \boldsymbol { s } ^ { j } , \boldsymbol { y } \rangle \ . } \end{array}
274
+ $$
275
+
276
+ Since the terms are continuous (and smooth) in $S$ for all $j$ and $\pi _ { < j }$ , so is the entire function.
277
+
278
+ # B ADDITIONAL EXPERIMENTAL RESULTS
279
+
280
+ <table><tr><td rowspan="2">Ranker</td><td colspan="3">Yahoo</td><td colspan="3">Web30k</td></tr><tr><td>MAP</td><td>NDCG@5</td><td>NDCG@10</td><td>MAP</td><td>NDCG@5</td><td>NDCG@10</td></tr><tr><td>seq2slate</td><td>0.82</td><td>0.82</td><td>0.84</td><td>0.44</td><td>0.54</td><td>0.50</td></tr><tr><td>AdaRank</td><td>0.83</td><td>0.81</td><td>0.84</td><td>0.41</td><td>0.52</td><td>0.48</td></tr><tr><td>Coordinate Ascent</td><td>0.83</td><td>0.82</td><td>0.85</td><td>0.39</td><td>0.47</td><td>0.44</td></tr><tr><td>LambdaMART</td><td>0.84</td><td>0.83</td><td>0.85</td><td>0.41</td><td>0.52</td><td>0.48</td></tr><tr><td>ListNet</td><td>0.83</td><td>0.83</td><td>0.85</td><td>0.41</td><td>0.53</td><td>0.49</td></tr><tr><td>MART</td><td>0.83</td><td>0.82</td><td>0.85</td><td>0.41</td><td>0.52</td><td>0.48</td></tr><tr><td>Random Forests</td><td>0.83</td><td>0.82</td><td>0.84</td><td>0.40</td><td>0.48</td><td>0.45</td></tr><tr><td>RankBoost</td><td>0.83</td><td>0.83</td><td>0.85</td><td>0.38</td><td>0.43</td><td>0.41</td></tr><tr><td>RankNet</td><td>0.83</td><td>0.82</td><td>0.84</td><td>0.35</td><td>0.36</td><td>0.35</td></tr></table>
281
+
282
+ Table 4: Performance of seq2slate and other baselines on data generated with similar-clicks.
283
+
284
+ <table><tr><td rowspan="2">Ranker</td><td colspan="4">Yahoo</td><td colspan="4">Web30k</td></tr><tr><td>MAP</td><td>NDCG@5</td><td>NDCG@10</td><td>rank-gain</td><td>MAP</td><td>NDCG@5</td><td>NDCG10</td><td>rank-gain</td></tr><tr><td>seq2slate</td><td>0.82</td><td>0.82</td><td>0.84</td><td>8.5</td><td>0.44</td><td>0.54</td><td>0.50</td><td>16.0</td></tr><tr><td>Greedy policy</td><td>0.82</td><td>0.82</td><td>0.84</td><td>8.5</td><td>0.44</td><td>0.54</td><td>0.50</td><td>15.9</td></tr><tr><td>smooth-hinge</td><td>0.80</td><td>0.80</td><td>0.82</td><td>7.7</td><td>0.44</td><td>0.54</td><td>0.50</td><td>15.9</td></tr><tr><td>RL</td><td>0.82</td><td>0.82</td><td>0.84</td><td>8.5</td><td>0.42</td><td>0.53</td><td>0.49</td><td>-14.8</td></tr><tr><td>one-step decoder</td><td>0.81</td><td>0.81</td><td>0.82</td><td>7.7</td><td>0.44</td><td>0.53</td><td>0.49</td><td>15.5</td></tr><tr><td>shuffled data</td><td>0.80</td><td>0.80</td><td>0.81</td><td>二</td><td>0.40</td><td>0.44</td><td>0.42</td><td>1</td></tr><tr><td>base ranker (no-op)</td><td>0.78</td><td>0.76</td><td>0.79</td><td>0</td><td>0.43</td><td>0.53</td><td>0.49</td><td>0</td></tr></table>
285
+
286
+ Table 5: Comparison of model and data variants for seq2slate on data generated with similar-clicks.
parse/train/HkgHk3RctX/HkgHk3RctX_content_list.json ADDED
@@ -0,0 +1,1462 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "SEQ2SLATE: RE-RANKING AND SLATE OPTIMIZATION WITH RNNS ",
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
+ 166,
20
+ 400,
21
+ 194
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 231,
32
+ 544,
33
+ 246
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Ranking is a central task in machine learning and information retrieval. In this task, it is especially important to present the user with a slate of items that is appealing as a whole. This in turn requires taking into account interactions between items, since intuitively, placing an item on the slate affects the decision of which other items should be placed alongside it. In this work, we propose a sequence-to-sequence model for ranking called seq2slate. At each step, the model predicts the next item to place on the slate given the items already selected. The recurrent nature of the model allows complex dependencies between items to be captured directly in a flexible and scalable way. We show how to learn the model end-to-end from weak supervision in the form of easily obtained click-through data. We further demonstrate the usefulness of our approach in experiments on standard ranking benchmarks as well as in a real-world recommendation system. ",
40
+ "bbox": [
41
+ 233,
42
+ 261,
43
+ 766,
44
+ 426
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 454,
55
+ 336,
56
+ 469
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Ranking a set of candidate items is a central task in machine learning and information retrieval. Many existing ranking systems are based on pointwise estimators, where the model assigns a score to each item in a candidate set and the resulting slate is obtained by sorting the list according to item scores (Liu et al., 2009). Such models are usually trained from click-through data to optimize an appropriate loss function (Joachims, 2002). This simple approach is computationally attractive as it only requires a sort operation over the candidate set at test (or serving) time, and can therefore scale to large problems. On the other hand, in terms of modeling, pointwise rankers cannot easily express dependencies between ranked items. In particular, the score of an item (e.g., its probability of being clicked) often depends on the other items in the slate and their joint placement. Such interactions between items can be especially dominant in the common case where display area is limited or when strong position bias is present, so that only a few highly ranked items get the user’s attention. In this case it may be preferable, for example, to present a diverse set of items at the top positions of the slate in order to cover a wider range of user interests. ",
63
+ "bbox": [
64
+ 174,
65
+ 483,
66
+ 825,
67
+ 664
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "A significant amount of work on learning-to-rank does consider interactions between ranked items when training the model. In pairwise approaches a classifier is trained to determine which item should be ranked first within a pair of items (e.g., Herbrich et al., 1999; Joachims, 2002; Burges et al., 2005). Similarly, in listwise approaches the loss depends on the full permutation of items (e.g., Cao et al., 2007; Yue et al., 2007). Although these losses consider inter-item dependencies, the ranking function itself is pointwise, so at inference time the model still assigns a score to each item which does not depend on scores of other items. ",
74
+ "bbox": [
75
+ 174,
76
+ 666,
77
+ 825,
78
+ 763
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "There has been some work on trying to capture interactions between items in the ranking scores themselves (e.g., Qin et al., 2008; 2009; Zhu et al., 2014; Rosenfeld et al., 2014; Dokania et al., 2014). Such approaches can, for example, encourage a pair of items to appear next to (or far from) each other in the resulting ranking. Approaches of this type often assume that the relationship between items takes a simple form (e.g., submodular) in order to obtain tractable inference and learning algorithms. Unfortunately, this comes at the expense of the model’s expressive power. ",
85
+ "bbox": [
86
+ 174,
87
+ 767,
88
+ 825,
89
+ 851
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "In this paper, we present a general, scalable approach to ranking, which naturally accounts for high-order interactions. In particular, we apply a sequence-to-sequence (seq2seq) model (Sutskever et al., 2014) to the ranking task, where the input is the list of candidate items and the output is the resulting ordering. Since the output sequence corresponds to ranked items on the slate, we call this model sequence-to-slate (seq2slate). The order in which the input is processed can significantly affect the performance of such models (Vinyals et al., 2016). For this reason, we often assume the availability of a base (or “production”) ranker with which the input sequence is ordered (e.g., a simple pointwise method that ignores the interactions we seek to model), and view the output of our model as a re-ranking of the items. ",
96
+ "bbox": [
97
+ 174,
98
+ 854,
99
+ 823,
100
+ 924
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "image",
106
+ "img_path": "images/a577f1fca04cfb32a57bc7e32e0e69b3648831ea94ec93b3956f2fb540b63a10.jpg",
107
+ "image_caption": [
108
+ "Figure 1: The seq2slate pointer network architecture for ranking. "
109
+ ],
110
+ "image_footnote": [],
111
+ "bbox": [
112
+ 235,
113
+ 103,
114
+ 771,
115
+ 292
116
+ ],
117
+ "page_idx": 1
118
+ },
119
+ {
120
+ "type": "text",
121
+ "text": "",
122
+ "bbox": [
123
+ 174,
124
+ 352,
125
+ 825,
126
+ 409
127
+ ],
128
+ "page_idx": 1
129
+ },
130
+ {
131
+ "type": "text",
132
+ "text": "To address the seq2seq problem, we build on the recent success of recurrent neural networks (RNNs) in a wide range of applications (e.g., Sutskever et al., 2014). This allows us to use a deep model to capture rich dependencies between ranked items, while keeping the computational cost of inference manageable. More specifically, we use pointer networks, which are seq2seq models with an attention mechanism for pointing at positions in the input (Vinyals et al., 2015b). We show how to train the network end-to-end to directly optimize several commonly used ranking measures. To this end, we adapt RNN training to use weak supervision in the form of click-through data obtained from logs, instead of relying on ground-truth rankings, which are much more expensive to obtain. Finally, we demonstrate the usefulness of the proposed approach in a number of learning-to-rank benchmarks and in a large-scale, real-world recommendeation system. ",
133
+ "bbox": [
134
+ 173,
135
+ 411,
136
+ 825,
137
+ 550
138
+ ],
139
+ "page_idx": 1
140
+ },
141
+ {
142
+ "type": "text",
143
+ "text": "2 RANKING AND SLATE OPTIMIZATION AS SEQUENCE PREDICTION ",
144
+ "text_level": 1,
145
+ "bbox": [
146
+ 173,
147
+ 568,
148
+ 750,
149
+ 583
150
+ ],
151
+ "page_idx": 1
152
+ },
153
+ {
154
+ "type": "text",
155
+ "text": "The ranking problem is that of computing a ranking of a set of items (or ordered list or slate) given some query or context. We formalize the problem as follows. Assume a set of $n$ items, each represented by a feature vector $x _ { i } \\in \\mathbb { R } ^ { m }$ (which may depend on a query or context). Let $\\pi \\in \\Pi$ denote a permutation of the items, where each $\\pi _ { j } \\in \\{ 1 , \\ldots , n \\}$ denotes the index of the item in position $j$ . Our goal is to predict the output ranking $\\pi$ given the input items $x$ . For instance, given a specific user query, we might want to return an ordered set of music recommendations from a set of candidates that maximizes some measure of user engagement (e.g., number of tracks played). ",
156
+ "bbox": [
157
+ 173,
158
+ 594,
159
+ 825,
160
+ 694
161
+ ],
162
+ "page_idx": 1
163
+ },
164
+ {
165
+ "type": "text",
166
+ "text": "In the seq2seq framework, the probability of an output permutation, or slate, given the inputs is expressed as a product of conditional probabilities according to the chain rule: ",
167
+ "bbox": [
168
+ 174,
169
+ 696,
170
+ 825,
171
+ 724
172
+ ],
173
+ "page_idx": 1
174
+ },
175
+ {
176
+ "type": "equation",
177
+ "img_path": "images/9ef483fbc26dc99c62aace76404225eea2788d3d454821b2224e6410ff29b502.jpg",
178
+ "text": "$$\np ( \\pi | x ) = \\prod _ { j = 1 } ^ { n } p ( \\pi _ { j } | \\pi _ { 1 } , \\dots , \\pi _ { j - 1 } , x ) \\ ,\n$$",
179
+ "text_format": "latex",
180
+ "bbox": [
181
+ 374,
182
+ 731,
183
+ 622,
184
+ 775
185
+ ],
186
+ "page_idx": 1
187
+ },
188
+ {
189
+ "type": "text",
190
+ "text": "This expression is completely general and does not make any conditional independence assumptions. In our case, the conditional $p ( \\pi _ { j } | \\pi _ { < j } , x ) \\in \\Delta ^ { n }$ (a point in the $n$ -dimensional simplex) models the probability of any item being placed at the $j$ ’th position in the ranking given the items already placed at previous positions. Therefore, this conditional exactly captures all high-order dependencies between items in the ranked list, including those due to diversity, similarity or other interactions. ",
191
+ "bbox": [
192
+ 173,
193
+ 780,
194
+ 825,
195
+ 851
196
+ ],
197
+ "page_idx": 1
198
+ },
199
+ {
200
+ "type": "text",
201
+ "text": "Our setting is somewhat different than a standard seq2seq setting in that the output vocabulary is not fixed. In particular, the same index (position) is populated by different items in different instances (queries). Indeed, the vocabulary size $n$ itself may vary per instance in the common case where the number of items to rank can change. This is precisely the problem addressed by pointer networks, which we review next. ",
202
+ "bbox": [
203
+ 174,
204
+ 854,
205
+ 825,
206
+ 924
207
+ ],
208
+ "page_idx": 1
209
+ },
210
+ {
211
+ "type": "text",
212
+ "text": "POINTER-NETWORK ARCHITECTURE FOR RANKING ",
213
+ "text_level": 1,
214
+ "bbox": [
215
+ 178,
216
+ 103,
217
+ 534,
218
+ 117
219
+ ],
220
+ "page_idx": 2
221
+ },
222
+ {
223
+ "type": "text",
224
+ "text": "We employ the pointer-network architecture of Vinyals et al. (2015b) to model the conditional $p ( \\pi _ { j } | \\pi _ { < j } ^ { - } , \\stackrel { . } { x } )$ . A pointer network uses non-parametric softmax modules, akin to the attention mechanism of Bahdanau et al. (2015), and learns to point to items in its input sequence rather than predicting an index from a fixed-sized vocabulary. ",
225
+ "bbox": [
226
+ 173,
227
+ 125,
228
+ 825,
229
+ 180
230
+ ],
231
+ "page_idx": 2
232
+ },
233
+ {
234
+ "type": "text",
235
+ "text": "Our seq2slate model, illustrated in Fig. 1, consists of two recurrent neural networks (RNNs): an encoder and a decoder, both of which use Long Short-term Memory (LSTM) cells (Hochreiter and Schmidhuber, 1997). At each encoding step $i \\leq n$ , the encoder RNN reads the input vector $x _ { i }$ and outputs a $d$ -dimensional vector $e _ { i }$ , thus transforming the input sequence $\\{ x _ { i } \\} _ { i = 1 } ^ { n }$ into a sequence of latent memory states $\\{ e _ { i } \\} _ { i = 1 } ^ { n }$ . At each decoding step $j$ , the decoder RNN outputs a $d$ -dimensional vector $d _ { j }$ which is used as a query in our attention function. The attention function takes as input the query $d _ { j } \\in \\mathbb { R } ^ { d }$ and the set of latent memory states computed by the encoder $\\{ e _ { i } \\} _ { i = 1 } ^ { n }$ and produces a probability distribution over the next item to include in the output sequence as follows: ",
236
+ "bbox": [
237
+ 173,
238
+ 181,
239
+ 825,
240
+ 289
241
+ ],
242
+ "page_idx": 2
243
+ },
244
+ {
245
+ "type": "equation",
246
+ "img_path": "images/57dcdcec7b7d32ba9b527bb5aecfdef6c4600fbebfb43b99841f004b73e46e50.jpg",
247
+ "text": "$$\n\\begin{array} { r l r } & { s _ { i } ^ { j } = v ^ { \\top } \\operatorname { t a n h } \\left( W _ { e n c } \\cdot e _ { i } + W _ { d e c } \\cdot d _ { j } \\right) } \\\\ & { p _ { \\theta } ( \\pi _ { j } = i | \\pi _ { < j } , x ) \\equiv p _ { i } ^ { j } = \\left\\{ \\begin{array} { l l } { e ^ { s _ { i } ^ { j } } / \\sum _ { k \\notin \\pi _ { < j } } e ^ { s _ { k } ^ { j } } } & { \\mathrm { i f ~ } i \\notin \\pi _ { < j } } \\\\ { 0 } & { \\mathrm { i f ~ } i \\in \\pi _ { < j } } \\end{array} \\right. } & { , } \\end{array}\n$$",
248
+ "text_format": "latex",
249
+ "bbox": [
250
+ 295,
251
+ 290,
252
+ 699,
253
+ 349
254
+ ],
255
+ "page_idx": 2
256
+ },
257
+ {
258
+ "type": "text",
259
+ "text": "where $W _ { e n c } , W _ { d e c } \\in \\mathbb { R } ^ { d \\times d }$ and $v \\in \\mathbb { R } ^ { d }$ are learned parameters in our network, denoted collectively by parameter vector $\\theta$ . The probability $p _ { i } ^ { j } = p _ { \\theta } ( \\pi _ { j } = i | \\pi _ { < j } , x )$ , is obtained via a softmax over the remaining items and represents the degree to which the model points to input $i$ at decoding step $j$ . To output a permutation, the $p _ { i } ^ { j }$ are set to 0 for items $i$ that already appear in the slate. Once the next item $\\pi _ { j }$ is selected, typically greedily or by sampling (see below), its embedding $x _ { \\pi _ { j } }$ is fed as input to the next decoder step. The input of the first decoder step is a learned $d$ -dimensional vector, denoted as $g o$ in Fig. 1. Importantly, $p _ { \\theta } ( \\pi | x )$ is differentiable for ant fixed permutation $\\pi$ which allows gradient-based learning (see Section 3). ",
260
+ "bbox": [
261
+ 173,
262
+ 351,
263
+ 825,
264
+ 468
265
+ ],
266
+ "page_idx": 2
267
+ },
268
+ {
269
+ "type": "text",
270
+ "text": "We note the following. (i) The model makes no explicit assumptions about the type of interactions between items. If the learned conditional in Eq. (2) is close to the true conditional in Eq. (1), then the model can capture rich interactions—including diversity, similarity or others. We demonstrate this flexibility in our experiments (Section 4). (ii) $x$ can represent either raw inputs or embeddings thereof, which can be learned together with the sequence model. (iii) The computational cost of inference, dominated by the sequential decoding procedure, is $O ( n ^ { 2 } )$ , which is standard in seq2seq models with attention. We also consider a computationally cheaper single-step decoder with linear cost $O ( n )$ , which outputs a single vector $p ^ { 1 }$ , from which we obtain $\\pi$ by sorting the values (similarly to pointwise ranking). ",
271
+ "bbox": [
272
+ 173,
273
+ 470,
274
+ 825,
275
+ 597
276
+ ],
277
+ "page_idx": 2
278
+ },
279
+ {
280
+ "type": "text",
281
+ "text": "3 TRAINING WITH CLICK-THROUGH DATA",
282
+ "text_level": 1,
283
+ "bbox": [
284
+ 174,
285
+ 611,
286
+ 544,
287
+ 628
288
+ ],
289
+ "page_idx": 2
290
+ },
291
+ {
292
+ "type": "text",
293
+ "text": "We now turn to the task of training the seq2slate model from data. A typical approach to learning in ranking systems is to run an existing ranker “in the wild” and log click-through data, which are then used to train an improved ranking model. This type of training data is relatively inexpensive to obtain, in contrast to human-curated labels such as relevance scores, ratings, or rankings (Joachims, 2002). ",
294
+ "bbox": [
295
+ 173,
296
+ 638,
297
+ 826,
298
+ 694
299
+ ],
300
+ "page_idx": 2
301
+ },
302
+ {
303
+ "type": "text",
304
+ "text": "Formally, each training example consists of a sequence of items $\\{ x _ { 1 } , \\ldots , x _ { n } \\}$ and binary labels $\\left( y _ { 1 } , \\ldots , y _ { n } \\right)$ , with $y _ { i } \\in \\{ 0 , 1 \\}$ , representing user feedback (e.g., click/no-click). Our approach easily extends to more informative feedback, such as the level of user engagement with the chosen item (e.g., time spent), but to simplify the presentation we focus on the binary case. Our goal is to learn the parameters $\\theta$ of $p _ { \\theta } ( \\pi _ { j } | \\pi _ { < j } , x )$ (Eq. (2)) such that permutations $\\pi$ corresponding to “good” rankings are assigned high probabilities. Various performance measures $\\mathcal { R } ( \\pi , y )$ can be used to evaluate the quality of a permutation $\\pi$ given the labels $y$ , for example, mean average precision (MAP), precision at $k$ , or normalized discounted cumulative gain at $k$ $( \\mathrm { N D C G } @ \\mathrm { k } )$ . Generally speaking, permutations where the positive labels rank higher are considered better. ",
305
+ "bbox": [
306
+ 173,
307
+ 696,
308
+ 825,
309
+ 823
310
+ ],
311
+ "page_idx": 2
312
+ },
313
+ {
314
+ "type": "text",
315
+ "text": "In the standard seq2seq setting, models are trained to maximize the likelihood of a target sequence of tokens given the input, which can be done by maximizing the likelihood of each target token given the previous target tokens using Eq. (1). During training, the model is typically fed the ground-truth tokens as inputs to the next prediction step, an approach known as teacher forcing (Williams and Zipser, 1989). Unfortunately, this approach cannot be applied in our setting since we only have access to weak supervision in the form of labels $y$ (e.g clicks), rather than ground-truth permutations. Instead, we show how the seq2slate model can be trained directly from the labels $y$ . ",
316
+ "bbox": [
317
+ 173,
318
+ 825,
319
+ 825,
320
+ 924
321
+ ],
322
+ "page_idx": 2
323
+ },
324
+ {
325
+ "type": "text",
326
+ "text": "3.1 TRAINING USING REINFORCE ",
327
+ "text_level": 1,
328
+ "bbox": [
329
+ 176,
330
+ 103,
331
+ 436,
332
+ 117
333
+ ],
334
+ "page_idx": 3
335
+ },
336
+ {
337
+ "type": "text",
338
+ "text": "One potential approach, which has been applied successfully in related tasks (Bello et al., 2017; Zhong et al., 2017), is to use reinforcement learning $( R L )$ to directly optimize for the ranking measure $\\mathcal { R } ( \\pi , \\overset { \\mathbf { \\tilde { \\alpha } } } { \\boldsymbol { y } } )$ . In this setup, the objective is to maximize the expected ranking metric obtained by sequences sampled from our model: $\\mathbb { E } _ { \\pi \\sim p _ { \\theta } ( . | x ) } [ \\mathcal { R } ( \\pi , y ) ]$ . One can use policy gradients and stochastic gradient ascent to optimize $\\theta$ . The gradient is formulated using the popular REINFORCE update (Williams, 1992) and can be approximated via Monte-Carlo sampling as follows: ",
339
+ "bbox": [
340
+ 173,
341
+ 123,
342
+ 828,
343
+ 204
344
+ ],
345
+ "page_idx": 3
346
+ },
347
+ {
348
+ "type": "equation",
349
+ "img_path": "images/90e24b7e9ef1832f09433a235e8aa1c47b48538ac85bfa9aa1b91f0c5f70763b.jpg",
350
+ "text": "$$\n\\begin{array} { l } { \\displaystyle \\nabla _ { \\theta } \\mathbb { E } _ { \\pi \\sim p _ { \\theta } ( . | x ) } \\big [ \\mathcal { R } ( \\pi , y ) \\big ] = \\mathbb { E } _ { \\pi \\sim p _ { \\theta } ( . | x ) } \\Big [ \\mathcal { R } ( \\pi , y ) \\nabla _ { \\theta } \\log p _ { \\theta } ( \\pi \\mid x ) \\Big ] } \\\\ { \\displaystyle \\approx \\frac { 1 } { B } \\sum _ { k = 1 } ^ { B } \\Big ( \\mathcal { R } ( \\pi _ { k } , y _ { k } ) - b ( x _ { k } ) \\Big ) \\nabla _ { \\theta } \\log p _ { \\theta } ( \\pi _ { k } \\mid x _ { k } ) , } \\end{array}\n$$",
351
+ "text_format": "latex",
352
+ "bbox": [
353
+ 302,
354
+ 209,
355
+ 694,
356
+ 276
357
+ ],
358
+ "page_idx": 3
359
+ },
360
+ {
361
+ "type": "text",
362
+ "text": "where $k$ indexes ranking instances in a batch of size $B , \\pi _ { k }$ are permutations drawn from the model $p _ { \\theta }$ and $b ( x )$ denotes a baseline function that estimates the expected rewards to reduce the variance of the gradients. ",
363
+ "bbox": [
364
+ 178,
365
+ 280,
366
+ 820,
367
+ 323
368
+ ],
369
+ "page_idx": 3
370
+ },
371
+ {
372
+ "type": "text",
373
+ "text": "3.2 SUPERVISED TRAINING ",
374
+ "text_level": 1,
375
+ "bbox": [
376
+ 174,
377
+ 335,
378
+ 377,
379
+ 351
380
+ ],
381
+ "page_idx": 3
382
+ },
383
+ {
384
+ "type": "text",
385
+ "text": "RL, however, is known to be a challenging optimization problem and can suffer from sample inefficiency and difficult credit assignment. As an alternative, we propose supervised learning using the labels $y$ . In particular, rather than waiting until the end of the output sequence (as in RL), we wish to give feedback to the model at each decoder step. ",
386
+ "bbox": [
387
+ 173,
388
+ 358,
389
+ 825,
390
+ 415
391
+ ],
392
+ "page_idx": 3
393
+ },
394
+ {
395
+ "type": "text",
396
+ "text": "Consider the first step, and recall that the model assigns a score $s _ { i }$ to each item in the input. We define a per-step loss $\\ell ( s , y )$ which essentially acts as a multi-label classification loss with labels $y$ as ground truth. Two natural, simple choices for $\\ell$ are cross-entropy loss and hinge loss: ",
397
+ "bbox": [
398
+ 176,
399
+ 417,
400
+ 825,
401
+ 460
402
+ ],
403
+ "page_idx": 3
404
+ },
405
+ {
406
+ "type": "equation",
407
+ "img_path": "images/9a13762d5c81e70097f51d6ed1cda5d0805f50bb0c356ec46f3be3ec538a28b5.jpg",
408
+ "text": "$$\n\\begin{array} { l } { { \\ell _ { x e n t } ( s , y ) = - \\sum _ { i } { \\hat { y } } _ { i } \\log { p _ { i } } } } \\\\ { { \\ell _ { h i n g e } ( s , y ) = \\operatorname* { m a x } \\{ 0 , 1 - \\underset { i : y _ { i } = 1 } { \\operatorname* { m i n } } s _ { i } + \\underset { j : y _ { j } = 0 } { \\operatorname* { m a x } } s _ { j } \\} , } } \\end{array}\n$$",
409
+ "text_format": "latex",
410
+ "bbox": [
411
+ 333,
412
+ 465,
413
+ 663,
414
+ 526
415
+ ],
416
+ "page_idx": 3
417
+ },
418
+ {
419
+ "type": "text",
420
+ "text": "where $\\hat { y } _ { i } = y _ { i } / \\sum _ { j } y _ { j }$ , and $p _ { i }$ is a softmax of $s$ , similar to Eq. (2). Intuitively, with cross-entropy loss we try to assign high probabilities to positive labels (see also Kurata et al., 2016), while hinge loss is minimized when scores of items with positive labels are higher than scores of those with negative labels. Notice that both losses are convex functions of the scores $s$ . To improve convergence, we consider a smooth version of the hinge-loss where the maximum and minimum are replaced by their smooth counterparts: smoot $\\begin{array} { r } { { \\mathrm { ~ \\ h - m a x } } ( s ; \\gamma ) = \\frac { 1 } { \\gamma } \\log \\sum _ { i } e ^ { \\gamma s _ { i } } } \\end{array}$ (and smooth minimum is defined similarly, using $\\mathrm { m i n } _ { i } ( s _ { i } ) = - \\mathrm { m a x } _ { i } ( - s _ { i } ) )$ . ",
421
+ "bbox": [
422
+ 173,
423
+ 531,
424
+ 826,
425
+ 636
426
+ ],
427
+ "page_idx": 3
428
+ },
429
+ {
430
+ "type": "text",
431
+ "text": "If we simply apply a per-step loss from Eq. (4) to all steps of the output sequence while reusing the labels $y$ at each step, then the loss is invariant to the actual output permutations (e.g., predicting a positive item at the beginning of the sequence has the same cost as predicting it at the end). Instead, we let the loss $\\ell$ at each decoding step $j$ depend on the items already chosen, so no further loss is incurred after a label is predicted correctly. In particular, for a fixed permutation $\\pi$ , define the sequence loss: ",
432
+ "bbox": [
433
+ 173,
434
+ 637,
435
+ 825,
436
+ 720
437
+ ],
438
+ "page_idx": 3
439
+ },
440
+ {
441
+ "type": "equation",
442
+ "img_path": "images/6b7c12f37e35c37d266ea84bde04d4d61b8414c97e1f875031166263faa9e088.jpg",
443
+ "text": "$$\n\\mathcal { L } _ { \\pi } ( S , y ) = \\sum _ { j = 1 } ^ { n } w _ { j } \\ell _ { \\pi _ { < j } } ( s ^ { j } , y ) ,\n$$",
444
+ "text_format": "latex",
445
+ "bbox": [
446
+ 392,
447
+ 727,
448
+ 606,
449
+ 770
450
+ ],
451
+ "page_idx": 3
452
+ },
453
+ {
454
+ "type": "text",
455
+ "text": "where $\\boldsymbol { S } = \\{ s ^ { j } \\} _ { j = 1 } ^ { n }$ , and $\\ell _ { \\pi < j } \\left( s ^ { j } , y \\right)$ depends only on the indices in $s ^ { j }$ and $y$ which are not in the prefix permutation $\\pi _ { < j } = ( \\pi _ { 1 } , \\ldots , \\pi _ { j - 1 } )$ (see Eq. (4)). Including a per-step weight $w _ { j }$ can encourage better performance earlier in the sequence (e.g., $w _ { j } = 1 / \\log ( j + 1 ) )$ . Furthermore, if optimizing for a particular slate size $k$ is desired, one can restrict this loss to just the first $k$ output steps. ",
456
+ "bbox": [
457
+ 173,
458
+ 776,
459
+ 825,
460
+ 837
461
+ ],
462
+ "page_idx": 3
463
+ },
464
+ {
465
+ "type": "text",
466
+ "text": "DECODING POLICIES DURING TRAINING ",
467
+ "text_level": 1,
468
+ "bbox": [
469
+ 176,
470
+ 847,
471
+ 454,
472
+ 861
473
+ ],
474
+ "page_idx": 3
475
+ },
476
+ {
477
+ "type": "text",
478
+ "text": "Since teacher-forcing is not an option, we resort to feeding the model its own previous predictions, as in Bengio et al. (2015); Ranzato et al. (2016). In this case, the permutation $\\pi$ is not fixed, but rather depends on the scores $S$ . Specifically, we consider two policies for producing a permutation during training, sampling and greedy decoding, and introduce their corresponding losses. ",
479
+ "bbox": [
480
+ 174,
481
+ 867,
482
+ 825,
483
+ 924
484
+ ],
485
+ "page_idx": 3
486
+ },
487
+ {
488
+ "type": "text",
489
+ "text": "Greedy policy The greedy policy consists of selecting the item that maximizes $p _ { \\theta } ( \\cdot | \\pi _ { < j } , x )$ at every time step $j$ . The resulting permutation $\\pi ^ { * }$ then satisfies $\\pi _ { j } ^ { * } = \\mathrm { a r g m a x } _ { i } p _ { \\theta } ( \\pi _ { j } = i | \\pi _ { < j } ^ { * } )$ and our loss becomes ${ \\mathcal { L } } _ { \\pi ^ { * } }$ . The greedy policy loss is not continuous everywhere since a small change in the scores $s$ may result in a jump between permutations, and therefore ${ \\mathcal { L } } _ { \\pi }$ . Specifically, the loss is non-differentiable when any $s ^ { j }$ has multiple maximizing arguments. Outside this measure-zero subspace, the loss is continuous (almost everywhere), and the gradient is well-defined. ",
490
+ "bbox": [
491
+ 173,
492
+ 103,
493
+ 825,
494
+ 188
495
+ ],
496
+ "page_idx": 4
497
+ },
498
+ {
499
+ "type": "text",
500
+ "text": "Sampling policy The sampling policy consists of drawing each $\\pi _ { j }$ from $p _ { \\theta } ( \\cdot | \\pi _ { < j } , x )$ . The corresponding loss $\\begin{array} { r } { \\mathbb { E } [ \\mathcal { L } ] = \\sum _ { \\pi } p _ { \\theta } ^ { \\mathrm { ~ ~ } } ( \\pi ) \\bar { \\mathcal { L } } _ { \\pi } ( \\theta ) } \\end{array}$ is differentiable everywhere since both $p _ { \\theta } ( \\pi )$ and ${ \\mathcal { L } } _ { \\pi } ( \\theta )$ are differentiable for any permutation $\\pi$ (See appendix for a direct derivation of $\\mathbb { E } [ \\mathcal { L } ]$ as a function of $S$ ). In this case, the gradient is formulated as: ",
501
+ "bbox": [
502
+ 176,
503
+ 191,
504
+ 825,
505
+ 250
506
+ ],
507
+ "page_idx": 4
508
+ },
509
+ {
510
+ "type": "equation",
511
+ "img_path": "images/47a356c2e324797ba3b3e460dbb65ea42981a304f4a35d769c1a26137555c6df.jpg",
512
+ "text": "$$\n\\begin{array} { r l } & { \\nabla _ { \\theta } \\mathbb { E } [ \\mathcal { L } ( \\theta ) ] = \\nabla _ { \\theta } \\displaystyle \\sum _ { \\pi } p _ { \\theta } ( \\pi ) \\mathcal { L } _ { \\pi } ( \\theta ) } \\\\ & { \\quad \\quad \\quad \\quad = \\displaystyle \\sum _ { \\pi } \\left[ ( \\nabla _ { \\theta } p _ { \\theta } ( \\pi ) ) \\mathcal { L } _ { \\pi } ( \\theta ) + p _ { \\theta } ( \\pi ) ( \\nabla _ { \\theta } \\mathcal { L } _ { \\pi } ( \\theta ) ) \\right] } \\\\ & { \\quad \\quad \\quad = \\mathbb { E } _ { \\pi \\sim p _ { \\theta } } \\left[ \\mathcal { L } _ { \\pi } ( \\theta ) \\cdot \\nabla _ { \\theta } \\log p _ { \\theta } ( \\pi ) + \\nabla _ { \\theta } \\mathcal { L } _ { \\pi } ( \\theta ) \\right] , } \\end{array}\n$$",
513
+ "text_format": "latex",
514
+ "bbox": [
515
+ 318,
516
+ 256,
517
+ 676,
518
+ 338
519
+ ],
520
+ "page_idx": 4
521
+ },
522
+ {
523
+ "type": "text",
524
+ "text": "which can be approximated by: ",
525
+ "bbox": [
526
+ 173,
527
+ 342,
528
+ 382,
529
+ 356
530
+ ],
531
+ "page_idx": 4
532
+ },
533
+ {
534
+ "type": "equation",
535
+ "img_path": "images/8917c45dd49f8d41dd3cddd6ce9758382c2034dd7c8002e2b0509d18abafeb36.jpg",
536
+ "text": "$$\n\\frac { 1 } { B } \\sum _ { k = 1 } ^ { B } \\left[ \\left( \\mathcal { L } _ { \\pi _ { k } } ( \\theta ) - b ( x _ { k } ) \\right) \\nabla _ { \\theta } \\log p _ { \\theta } ( \\pi _ { k } \\mid x _ { k } ) + \\nabla _ { \\theta } \\mathcal { L } _ { \\pi _ { k } } ( \\theta ) \\right] ,\n$$",
537
+ "text_format": "latex",
538
+ "bbox": [
539
+ 307,
540
+ 363,
541
+ 689,
542
+ 402
543
+ ],
544
+ "page_idx": 4
545
+ },
546
+ {
547
+ "type": "text",
548
+ "text": "where $b ( \\boldsymbol { x } _ { k } )$ is a baseline that approximates ${ \\mathcal { L } } _ { \\pi _ { k } } ( \\theta )$ . Applying stochastic gradient descent intuitively decreases both the loss of any sample (right term) but also the probability of drawing samples with high losses (left term). Notice that our gradient calculation differs from scheduled sampling (Bengio et al., 2015) which instead computes the loss of the sampled sequences (right term) but ignores the probability of sampling high loss sequences (left term). We found it helpful to include both terms, which may apply more generally to training of sequence-to-sequence models (Bengio et al., 2015; Goyal et al., 2016). ",
549
+ "bbox": [
550
+ 173,
551
+ 409,
552
+ 825,
553
+ 507
554
+ ],
555
+ "page_idx": 4
556
+ },
557
+ {
558
+ "type": "text",
559
+ "text": "For both training policies, we minimize the loss via stochastic gradient descent over mini-batches in an end-to-end fashion. ",
560
+ "bbox": [
561
+ 174,
562
+ 510,
563
+ 823,
564
+ 537
565
+ ],
566
+ "page_idx": 4
567
+ },
568
+ {
569
+ "type": "text",
570
+ "text": "4 EXPERIMENTAL RESULTS ",
571
+ "text_level": 1,
572
+ "bbox": [
573
+ 176,
574
+ 555,
575
+ 418,
576
+ 571
577
+ ],
578
+ "page_idx": 4
579
+ },
580
+ {
581
+ "type": "text",
582
+ "text": "We evaluate the performance of our seq2slate model on a collection of ranking tasks. In Section 4.1 we use learning-to-rank benchmark data to study the behavior of the model. We then apply our approach to a large-scale commercial recommendation system and report the results in Section 4.2. ",
583
+ "bbox": [
584
+ 174,
585
+ 583,
586
+ 825,
587
+ 626
588
+ ],
589
+ "page_idx": 4
590
+ },
591
+ {
592
+ "type": "text",
593
+ "text": "Implementation Details We set hyperparameters of our model to values inspired by the literature. All experiments use mini-batches of 128 training examples and LSTM cells with 128 hidden units. We train our models with the Adam optimizer (Kingma and Ba, 2014) and an initial learning rate of 0.0003 decayed every 1000 steps by a factor of 0.96. Network parameters are initialized uniformly at random in $[ - 0 . 1 , 0 . 1 ]$ . To improve generalization, we regularize the model by using dropout with probability of dropping $p _ { d r o p o u t } = 0 . 1$ and L2 regularization with a penalty coefficient $\\lambda = 0 . 0 0 0 3$ . Unless specified otherwise, all results use supervised training with cross-entropy loss $\\ell _ { x e n t }$ and the sampling policy. At inference time, we report metrics for the greedy policy. We use an exponential moving average with a decay rate of 0.99 as the baseline $b ( x )$ in Eq. (3) and Eq. (6). When training the seq2slate model with REINFORCE, we use $\\mathcal { R } = \\mathop { \\mathrm { N D G C @ 1 0 } }$ as the reward function and do not regularize the model. We also considered a bidirectional encoder RNN (Schuster and Paliwal, 1997) but found that it did not lead to significant improvements in our experiments. ",
594
+ "bbox": [
595
+ 173,
596
+ 630,
597
+ 826,
598
+ 796
599
+ ],
600
+ "page_idx": 4
601
+ },
602
+ {
603
+ "type": "text",
604
+ "text": "4.1 LEARNING-TO-RANK BENCHMARKS ",
605
+ "text_level": 1,
606
+ "bbox": [
607
+ 176,
608
+ 809,
609
+ 467,
610
+ 824
611
+ ],
612
+ "page_idx": 4
613
+ },
614
+ {
615
+ "type": "text",
616
+ "text": "To understand the behavior of the proposed model, we conduct experiments using two learning-torank datasets. We use two of the largest publicly available benchmarks: the Yahoo Learning to Rank Challenge data (set 1),1 and the Web30k dataset.2 All context (query) features are embedded within the item feature vectors themselves. ",
617
+ "bbox": [
618
+ 174,
619
+ 832,
620
+ 825,
621
+ 887
622
+ ],
623
+ "page_idx": 4
624
+ },
625
+ {
626
+ "type": "table",
627
+ "img_path": "images/45c83174d9b6d522266c66105cae802ecd55e5e13a375bef679b8f1173da6710.jpg",
628
+ "table_caption": [],
629
+ "table_footnote": [],
630
+ "table_body": "<table><tr><td rowspan=\"2\">Ranker</td><td colspan=\"3\">Yahoo</td><td colspan=\"3\">Web30k</td></tr><tr><td>MAP</td><td>NDCG@5</td><td>NDCG10</td><td>MAP</td><td>NDCG@5</td><td>NDCG@10</td></tr><tr><td>seq2slate</td><td>0.67</td><td>0.69</td><td>0.75</td><td>0.51</td><td>0.53</td><td>0.59</td></tr><tr><td>AdaRank</td><td>0.58</td><td>0.61</td><td>0.69</td><td>0.37</td><td>0.38</td><td>0.46</td></tr><tr><td>Coordinate Ascent</td><td>0.49</td><td>0.51</td><td>0.59</td><td>0.31</td><td>0.33</td><td>0.39</td></tr><tr><td>LambdaMART</td><td>0.58</td><td>0.61</td><td>0.69</td><td>0.42</td><td>0.46</td><td>0.52</td></tr><tr><td>ListNet</td><td>0.49</td><td>0.51</td><td>0.59</td><td>0.43</td><td>0.47</td><td>0.53</td></tr><tr><td>MART</td><td>0.58</td><td>0.60</td><td>0.68</td><td>0.39</td><td>0.42</td><td>0.48</td></tr><tr><td>Random Forests</td><td>0.54</td><td>0.57</td><td>0.65</td><td>0.36</td><td>0.39</td><td>0.45</td></tr><tr><td>RankBoost</td><td>0.50</td><td>0.52</td><td>0.60</td><td>0.24</td><td>0.25</td><td>0.30</td></tr><tr><td>RankNet</td><td>0.54</td><td>0.57</td><td>0.64</td><td>0.43</td><td>0.47</td><td>0.53</td></tr></table>",
631
+ "bbox": [
632
+ 217,
633
+ 101,
634
+ 781,
635
+ 243
636
+ ],
637
+ "page_idx": 5
638
+ },
639
+ {
640
+ "type": "text",
641
+ "text": "Table 1: Performance of seq2slate and other baselines on data generated with diverse-clicks. ",
642
+ "bbox": [
643
+ 196,
644
+ 260,
645
+ 800,
646
+ 273
647
+ ],
648
+ "page_idx": 5
649
+ },
650
+ {
651
+ "type": "text",
652
+ "text": "We adapt the procedure proposed by Joachims et al. (2017) to generate click data. The original procedure is as follows: first, a base ranker is trained from the raw data. We select this base ranker by training all models in the RankLib package,3 and selecting the one with the best performance on each data set (MART for Yahoo and LambdaMART for Web30k). We generate an item ranking using the base model, which is then used to generate training data by simulating a user “cascade” model: a user observes each item with decaying probability $1 / i ^ { \\eta }$ , where $i$ is the base rank of the item and $\\eta$ is a parameter of the generative model. This simulates a noisy sequential scan. An observed item is clicked if its ground-truth relevance score is above a threshold (relevant: $\\{ 2 , 3 , 4 \\}$ , irrelevant: $\\{ 0 , 1 \\} ,$ ), otherwise no click is generated. ",
653
+ "bbox": [
654
+ 174,
655
+ 301,
656
+ 825,
657
+ 428
658
+ ],
659
+ "page_idx": 5
660
+ },
661
+ {
662
+ "type": "text",
663
+ "text": "To introduce high-order interactions, we augment the above procedure as follows, creating a generative process dubbed diverse-clicks. When observing a relevant item, the user will only click if it is not too similar to previously clicked items (i.e, diverse enough), thus reducing the total number of clicks. Similarity is defined as being in the smallest $q$ percentile (i.e., $q = 0 . 5$ is the median) of Euclidean distances between pairs of feature vectors within the same ranking instance: $d _ { i j } = \\| x _ { i } - x _ { j } \\|$ . We use $\\eta = 0$ (no decay, since clicks are sparse anyway due to the diversity term) and $q = 0 . 5$ . This modification to the generative model is essential for our purpose as the original data does not contain explicit inter-item dependencies. We also discuss variations of this model below. ",
664
+ "bbox": [
665
+ 174,
666
+ 431,
667
+ 825,
668
+ 541
669
+ ],
670
+ "page_idx": 5
671
+ },
672
+ {
673
+ "type": "text",
674
+ "text": "Using the generated training data, we train both our seq2slate model and baseline rankers from the RankLib package: AdaRank (Xu and Li, 2007), Coordinate Ascent (Metzler and Croft, 2007), LambdaMART (Wu et al., 2010), ListNet (Cao et al., 2007), MART (Friedman, 2001), Random Forests (Breiman, 2001), RankBoost (Freund et al., 2003), RankNet (Burges et al., 2005). Some of these baselines use deep neural networks (e.g., RankNet, ListNet), so they are strong state-ofthe-art models with comparable complexity to seq2slate. The results in Table 1 show that seq2slate significantly outperforms all the baselines, suggesting that it can better capture and exploit the dependencies between items in the data. ",
675
+ "bbox": [
676
+ 174,
677
+ 545,
678
+ 825,
679
+ 656
680
+ ],
681
+ "page_idx": 5
682
+ },
683
+ {
684
+ "type": "text",
685
+ "text": "To better understand the behavior of the model, we visualize the probabilities of the attention from Eq. (2) for one of the test instances in Fig. 2. Interestingly, the model produces slates that are close to the input ranking, but with some items demoted to lower positions, presumably due to the interactions with previous items. ",
686
+ "bbox": [
687
+ 174,
688
+ 660,
689
+ 825,
690
+ 715
691
+ ],
692
+ "page_idx": 5
693
+ },
694
+ {
695
+ "type": "text",
696
+ "text": "We next consider several variations of the generative model and of the seq2slate model itself. Results are reported in Table 2. The rank-gain metric per example is computed by summing the positions change of all positive labels in the re-ranking, and this is averaged over all examples (queries). ",
697
+ "bbox": [
698
+ 174,
699
+ 718,
700
+ 825,
701
+ 761
702
+ ],
703
+ "page_idx": 5
704
+ },
705
+ {
706
+ "type": "text",
707
+ "text": "Comparison of training variants In Table 2, we compare the different training variants outlined in Section 3, namely cross entropy with the greedy or sampling policy, a smooth hinge loss with $\\gamma = 1 . 0$ , and REINFORCE. We find that supervised learning with cross entropy generally performs best, with the smooth hinge loss doing slightly worse. Our weakly supervised training methods have positive rank gain on all datasets, meaning they improve over the base ranker. Results from Table 2 (see also Table 5 in the appendix) suggest that training with REINFORCE yields comparable results on Yahoo but significantly worse results on the more challenging Web30k dataset. We find no significant difference in performance between relying on the greedy and sampling policies during training. ",
708
+ "bbox": [
709
+ 173,
710
+ 770,
711
+ 825,
712
+ 895
713
+ ],
714
+ "page_idx": 5
715
+ },
716
+ {
717
+ "type": "table",
718
+ "img_path": "images/f41e6f905463178240e2eb0e71048c47a62fa263ee836b3f2ff9d54d958d7a57.jpg",
719
+ "table_caption": [
720
+ "Table 2: Comparison of model and data variants for seq2slate on data generated with diverse-clicks. "
721
+ ],
722
+ "table_footnote": [],
723
+ "table_body": "<table><tr><td rowspan=\"2\">Ranker</td><td colspan=\"4\">Yahoo</td><td colspan=\"4\">Web30k</td></tr><tr><td>MAP</td><td>NDCG@5</td><td>NDCG@10</td><td>rank-gain</td><td>MAP</td><td>NDCG@5</td><td>NDCG@10</td><td>rank-gain</td></tr><tr><td>seq2slate</td><td>0.67</td><td>0.69</td><td>0.75</td><td>7.4</td><td>0.51</td><td>0.53</td><td>0.59</td><td>18.3</td></tr><tr><td>Greedy policy</td><td>0.66</td><td>0.69</td><td>0.75</td><td>7.2</td><td>0.50</td><td>0.52</td><td>0.59</td><td>18.3</td></tr><tr><td>smooth-hinge</td><td>0.66</td><td>0.69</td><td>0.75</td><td>7.1</td><td>0.49</td><td>0.51</td><td>0.58</td><td>17.9</td></tr><tr><td>RL</td><td>0.66</td><td>0.68</td><td>0.75</td><td>5.7</td><td>0.44</td><td>0.47</td><td>0.53</td><td>-0.5</td></tr><tr><td>one-step decoder</td><td>0.66</td><td>0.69</td><td>0.75</td><td>6.4</td><td>0.49</td><td>0.51</td><td>0.58</td><td>16.5</td></tr><tr><td>shuffled data</td><td>0.61</td><td>0.64</td><td>0.71</td><td>1</td><td>0.36</td><td>0.36</td><td>0.44</td><td>二</td></tr><tr><td>base ranker (no-op)</td><td>0.58</td><td>0.61</td><td>0.69</td><td>0</td><td>0.45</td><td>0.48</td><td>0.54</td><td>0</td></tr></table>",
724
+ "bbox": [
725
+ 174,
726
+ 102,
727
+ 820,
728
+ 205
729
+ ],
730
+ "page_idx": 6
731
+ },
732
+ {
733
+ "type": "table",
734
+ "img_path": "images/6613adc25fd6f82a6ea643baccfb7cb4f3889159d0f6ea27f9a12c9a78acc93e.jpg",
735
+ "table_caption": [
736
+ "Table 3: Performance compared to a competitive base production ranker on real data. "
737
+ ],
738
+ "table_footnote": [],
739
+ "table_body": "<table><tr><td>Ranker</td><td>MAP</td><td>NDCG@5</td><td>NDCG@10</td><td>rank-gain</td></tr><tr><td>one-step decoder</td><td>+26.79%</td><td>+10.69%</td><td>+40.67%</td><td>0.83</td></tr><tr><td>seq2slate</td><td>+31.32%</td><td>+14.47%</td><td>+45.77%</td><td>1.087</td></tr></table>",
740
+ "bbox": [
741
+ 276,
742
+ 253,
743
+ 718,
744
+ 296
745
+ ],
746
+ "page_idx": 6
747
+ },
748
+ {
749
+ "type": "text",
750
+ "text": "One-step decoding We compare seq2slate to the model which uses a single decoding step, referred to as one-step decoder (see Section 2). In Table 2 we see that this model has comparable performance to the sequential decoder. This suggests that when inference time is crucial, as in many real-world systems, one might prefer the faster single-shot option. One possible explanation for the comparable performance of the one-step decoder is that the interactions in our generated data are rather simple and can be effectively learned by the encoder. By contrast, in Section 4.2 we show that on more complex real-world data, sequential decoding can perform significantly better. ",
751
+ "bbox": [
752
+ 173,
753
+ 349,
754
+ 825,
755
+ 448
756
+ ],
757
+ "page_idx": 6
758
+ },
759
+ {
760
+ "type": "text",
761
+ "text": "Sensitivity to input order Previous work suggests that the performance of seq2seq models are often sensitive to the order in which the input is processed (Vinyals et al., 2016; Nam et al., 2017). To test this we consider the use of seq2slate without relying on the base ranker to order the input, but instead items are fed to the model in random order. The results in Table 2 (see shuffled data) show that the performance is indeed significantly worse in this case, which is consistent with previous studies. It suggests that reranking is an easier task than ranking from scratch. ",
762
+ "bbox": [
763
+ 174,
764
+ 462,
765
+ 825,
766
+ 545
767
+ ],
768
+ "page_idx": 6
769
+ },
770
+ {
771
+ "type": "text",
772
+ "text": "Adaptivity to the type of interaction To demonstrate the flexibility of seq2slate, we generate data using a variant of the diverse-clicks model above. In the similar-clicks model, the user also clicks on observed irrelevant items if they are similar to previously clicked items (increasing the number of total clicks). As above, we use the pairwise distances in feature space $d _ { i j }$ to determine similarity. For this model we use $q = 0 . 5$ , and $\\eta = 0 . 3$ for Web30k, $\\eta = 0 . 1$ for Yahoo, to keep the proportion of positive labels similar. The results in the appendix (see Table 4) show that seq2slate has comparable performance to the baseline rankers, with slightly better performance on the harder Web30k data. This demonstrates that our model can adapt to various types of interactions in the data. ",
773
+ "bbox": [
774
+ 174,
775
+ 558,
776
+ 825,
777
+ 670
778
+ ],
779
+ "page_idx": 6
780
+ },
781
+ {
782
+ "type": "text",
783
+ "text": "4.2 REAL-WORLD DATA ",
784
+ "text_level": 1,
785
+ "bbox": [
786
+ 174,
787
+ 688,
788
+ 356,
789
+ 702
790
+ ],
791
+ "page_idx": 6
792
+ },
793
+ {
794
+ "type": "text",
795
+ "text": "We also apply seq2slate to a ranking problem from a large-scale commercial recommendation system. We train the model using massive click-through logs (comprising roughly $O ( 1 0 ^ { 7 } )$ instances) with cross-entropy loss, the greedy policy, L2-regularization and dropout. The data has item sets of varying size, with an average $n$ of 10.24 items per example. We learn embeddings of the raw inputs as part of training. Table 3 shows the performance of seq2slate and the one-step decoder compared to the production base ranker on test data (of roughly the same size as the training data). Significant gains are observed in all performance metrics, with sequential decoding outperforming the one-step decoder. This suggests that sequential decoding may more faithfully capture complex dependencies between the items. ",
796
+ "bbox": [
797
+ 174,
798
+ 712,
799
+ 825,
800
+ 837
801
+ ],
802
+ "page_idx": 6
803
+ },
804
+ {
805
+ "type": "text",
806
+ "text": "Finally, we let the learned seq2slate model run in a live experiment (A/B testing). We compute the click-through rate (CTR) in each position (#clicks/#examples) for seq2slate. The production base ranker serves traffic outside the experiment, and we compute CTR per position for this traffic as well. Fig. 3 shows the difference in CTR per position, indicating that seq2slate has significantly higher CTR in the top positions. This suggests that seq2slate indeed places items that are likely to be chosen higher in the ranking. ",
807
+ "bbox": [
808
+ 174,
809
+ 840,
810
+ 825,
811
+ 924
812
+ ],
813
+ "page_idx": 6
814
+ },
815
+ {
816
+ "type": "image",
817
+ "img_path": "images/60ef907f9e21082dbf278a66435c7c2571d114ab9f70bbd97bccceee6a68e18b.jpg",
818
+ "image_caption": [
819
+ "Figure 2: Visualization of attention probabilities on benchmark data. Intensities correspond to $p _ { i } ^ { j }$ for each item $i$ in step $j$ . "
820
+ ],
821
+ "image_footnote": [],
822
+ "bbox": [
823
+ 200,
824
+ 102,
825
+ 379,
826
+ 242
827
+ ],
828
+ "page_idx": 7
829
+ },
830
+ {
831
+ "type": "image",
832
+ "img_path": "images/d905e26cc9712b632f319eccc5341d66cb31cef90c14bf9748926677d56250cf.jpg",
833
+ "image_caption": [
834
+ "Figure 3: Difference in CTR per position between a seq2slate model and a base production ranker in a live experiment. "
835
+ ],
836
+ "image_footnote": [],
837
+ "bbox": [
838
+ 486,
839
+ 108,
840
+ 764,
841
+ 263
842
+ ],
843
+ "page_idx": 7
844
+ },
845
+ {
846
+ "type": "text",
847
+ "text": "5 RELATED WORK ",
848
+ "text_level": 1,
849
+ "bbox": [
850
+ 176,
851
+ 340,
852
+ 344,
853
+ 356
854
+ ],
855
+ "page_idx": 7
856
+ },
857
+ {
858
+ "type": "text",
859
+ "text": "In this section we discuss additional related work. Our work builds on the recent impressive success of seq2seq models in complex prediction tasks, including machine translation (Sutskever et al., 2014; Bahdanau et al., 2015), parsing (Vinyals et al., 2015a), combinatorial optimization (Vinyals et al., 2015b; Bello et al., 2017), multi-label classification (Wang et al., 2016; Nam et al., 2017), and others. Our work differs in that we explicitly target the ranking task, which requires a novel approach to training seq2seq models from weak feedback (click-through data). ",
860
+ "bbox": [
861
+ 173,
862
+ 367,
863
+ 826,
864
+ 452
865
+ ],
866
+ "page_idx": 7
867
+ },
868
+ {
869
+ "type": "text",
870
+ "text": "Most of the work on ranking mentioned above uses shallow representations. However, in recent years deep models have been used for information retrieval, focusing on embedding queries, documents and query-document pairs (Huang et al., 2013; Guo et al., 2016; Palangi et al., 2016; Wang and Klabjan, 2017; Pang et al., 2017) (see also recent survey by Mitra and Craswell (2017)). Rather than embedding individual items, in seq2slate a representation of the entire slate of items is learned and encoded in the RNN state. Moreover, learning the embeddings $( x )$ can be easily incorporated into the training of the sequence model to optimize both simultaneously end-to-end. ",
871
+ "bbox": [
872
+ 173,
873
+ 454,
874
+ 825,
875
+ 553
876
+ ],
877
+ "page_idx": 7
878
+ },
879
+ {
880
+ "type": "text",
881
+ "text": "Closest to ours is the recent work of Ai et al. (2018), where an RNN is used to encode a set of items for re-ranking. Their approach uses a single decoding step with attention, similar to our one-step decoder. In contrast, we use sequential decoding, which we find crucial in certain applications (see Section 4.2). Another important difference is that their training formulation assumes availability of full rankings or relevance scores, while we focus on learning from cheap click-through data. ",
882
+ "bbox": [
883
+ 174,
884
+ 554,
885
+ 825,
886
+ 625
887
+ ],
888
+ "page_idx": 7
889
+ },
890
+ {
891
+ "type": "text",
892
+ "text": "Finally, Santa Cruz et al. (2017) recently proposed an elegant framework for learning permutations based on the so called Sinkhorn operator. Their approach uses a continuous relaxation of permutation matrices (i.e., the set of doubly-stochastic matrices). Later, Mena et al. (2018) combined this with a Gumbel softmax distribution to enable efficient learning. However, this approach is focused on reconstruction of scrambled objects, and it is not obvious how to extend it to our ranking setting, where no ground-truth permutation is available. ",
893
+ "bbox": [
894
+ 174,
895
+ 628,
896
+ 825,
897
+ 712
898
+ ],
899
+ "page_idx": 7
900
+ },
901
+ {
902
+ "type": "text",
903
+ "text": "6 CONCLUSION ",
904
+ "text_level": 1,
905
+ "bbox": [
906
+ 174,
907
+ 728,
908
+ 318,
909
+ 744
910
+ ],
911
+ "page_idx": 7
912
+ },
913
+ {
914
+ "type": "text",
915
+ "text": "We presented a novel seq2slate approach to ranking sets of items. We found the formalism of pointer-networks particularly suitable for this setting. We addressed the challenge of training the model from weak user feedback to improve the ranking quality. Our experiments show that the proposed approach is highly scalable and can deliver significant improvements in ranking results. ",
916
+ "bbox": [
917
+ 174,
918
+ 756,
919
+ 825,
920
+ 813
921
+ ],
922
+ "page_idx": 7
923
+ },
924
+ {
925
+ "type": "text",
926
+ "text": "Our work can be extended in several directions. In terms of architecture, we aim to explore the Transformer network (Vaswani et al., 2017) in place of the RNN. Several variants can potentially improve the performance of our model, including beam-search inference (Wiseman and Rush, 2016), and training with Actor-Critic (Bahdanau et al., 2017) or SeaRNN (Leblond et al., 2018) and it will be interesting to study their performance in the ranking setting. Finally, an interesting future work direction will be to study off-policy correction (Joachims et al., 2018) for seq2slate. ",
927
+ "bbox": [
928
+ 174,
929
+ 815,
930
+ 825,
931
+ 898
932
+ ],
933
+ "page_idx": 7
934
+ },
935
+ {
936
+ "type": "text",
937
+ "text": "REFERENCES ",
938
+ "text_level": 1,
939
+ "bbox": [
940
+ 174,
941
+ 102,
942
+ 287,
943
+ 118
944
+ ],
945
+ "page_idx": 8
946
+ },
947
+ {
948
+ "type": "text",
949
+ "text": "Qingyao Ai, Keping Bi, Jiafeng Guo, and W. Bruce Croft. Learning a deep listwise context model for ranking refinement. In SIGIR, pages 135–144, 2018. ",
950
+ "bbox": [
951
+ 174,
952
+ 126,
953
+ 823,
954
+ 155
955
+ ],
956
+ "page_idx": 8
957
+ },
958
+ {
959
+ "type": "text",
960
+ "text": "Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. In Proceedings of ICLR, 2015. ",
961
+ "bbox": [
962
+ 173,
963
+ 165,
964
+ 823,
965
+ 195
966
+ ],
967
+ "page_idx": 8
968
+ },
969
+ {
970
+ "type": "text",
971
+ "text": "Dzmitry Bahdanau, Philemon Brakel, Kelvin Xu, Anirudh Goyal, Ryan Lowe, Joelle Pineau, Aaron Courville, and Yoshua Bengio. An actor-critic algorithm for sequence prediction. In ICLR, 2017. ",
972
+ "bbox": [
973
+ 174,
974
+ 204,
975
+ 825,
976
+ 234
977
+ ],
978
+ "page_idx": 8
979
+ },
980
+ {
981
+ "type": "text",
982
+ "text": "Irwan Bello, Hieu Pham, Quoc V. Le, Mohammad Norouzi, and Samy Bengio. Neural combinatorial optimization with reinforcement learning. In ICLR 2017 – Workshop Track, 2017. ",
983
+ "bbox": [
984
+ 174,
985
+ 244,
986
+ 823,
987
+ 273
988
+ ],
989
+ "page_idx": 8
990
+ },
991
+ {
992
+ "type": "text",
993
+ "text": "Samy Bengio, Oriol Vinyals, Navdeep Jaitly, and Noam Shazeer. Scheduled sampling for sequence prediction with recurrent neural networks. In NIPS, 2015. ",
994
+ "bbox": [
995
+ 174,
996
+ 284,
997
+ 823,
998
+ 313
999
+ ],
1000
+ "page_idx": 8
1001
+ },
1002
+ {
1003
+ "type": "text",
1004
+ "text": "Leo Breiman. Random forests. Machine learning, 45(1):5–32, 2001. ",
1005
+ "bbox": [
1006
+ 173,
1007
+ 323,
1008
+ 625,
1009
+ 339
1010
+ ],
1011
+ "page_idx": 8
1012
+ },
1013
+ {
1014
+ "type": "text",
1015
+ "text": "Chris Burges, Tal Shaked, Erin Renshaw, Ari Lazier, Matt Deeds, Nicole Hamilton, and Greg Hullender. Learning to rank using gradient descent. In Proceedings of the 22nd international conference on Machine learning, pages 89–96, 2005. ",
1016
+ "bbox": [
1017
+ 173,
1018
+ 349,
1019
+ 826,
1020
+ 392
1021
+ ],
1022
+ "page_idx": 8
1023
+ },
1024
+ {
1025
+ "type": "text",
1026
+ "text": "Zhe Cao, Tao Qin, Tie-Yan Liu, Ming-Feng Tsai, and Hang Li. Learning to rank: from pairwise approach to listwise approach. In Proceedings of the 24th international conference on Machine learning, pages 129–136. ACM, 2007. ",
1027
+ "bbox": [
1028
+ 174,
1029
+ 402,
1030
+ 825,
1031
+ 445
1032
+ ],
1033
+ "page_idx": 8
1034
+ },
1035
+ {
1036
+ "type": "text",
1037
+ "text": "Puneet Kumar Dokania, Aseem Behl, CV Jawahar, and M Pawan Kumar. Learning to rank using high-order information. In European Conference on Computer Vision, pages 609–623. Springer, 2014. ",
1038
+ "bbox": [
1039
+ 174,
1040
+ 455,
1041
+ 826,
1042
+ 498
1043
+ ],
1044
+ "page_idx": 8
1045
+ },
1046
+ {
1047
+ "type": "text",
1048
+ "text": "Yoav Freund, Raj Iyer, Robert E Schapire, and Yoram Singer. An efficient boosting algorithm for combining preferences. Journal of machine learning research, 4(Nov):933–969, 2003. ",
1049
+ "bbox": [
1050
+ 173,
1051
+ 508,
1052
+ 823,
1053
+ 539
1054
+ ],
1055
+ "page_idx": 8
1056
+ },
1057
+ {
1058
+ "type": "text",
1059
+ "text": "Jerome H Friedman. Greedy function approximation: a gradient boosting machine. Annals of statistics, pages 1189–1232, 2001. ",
1060
+ "bbox": [
1061
+ 173,
1062
+ 549,
1063
+ 825,
1064
+ 578
1065
+ ],
1066
+ "page_idx": 8
1067
+ },
1068
+ {
1069
+ "type": "text",
1070
+ "text": "Anirudh Goyal, Alex Lamb, Ying Zhang, Saizheng Zhang, Aaron C. Courville, and Yoshua Bengio. Professor forcing: A new algorithm for training recurrent networks. In Advances in Neural Information Processing Systems 29: Annual Conference on Neural Information Processing Systems 2016, December 5-10, 2016, Barcelona, Spain, 2016. ",
1071
+ "bbox": [
1072
+ 174,
1073
+ 588,
1074
+ 826,
1075
+ 645
1076
+ ],
1077
+ "page_idx": 8
1078
+ },
1079
+ {
1080
+ "type": "text",
1081
+ "text": "Jiafeng Guo, Yixing Fan, Qingyao Ai, and W. Bruce Croft. A deep relevance matching model for ad-hoc retrieval. In International Conference on Information and Knowledge Management (CIKM), pages 55–64, 2016. ",
1082
+ "bbox": [
1083
+ 174,
1084
+ 655,
1085
+ 825,
1086
+ 699
1087
+ ],
1088
+ "page_idx": 8
1089
+ },
1090
+ {
1091
+ "type": "text",
1092
+ "text": "Ralf Herbrich, Thore Graepel, and Klaus Obermayer. Support vector learning for ordinal regression. In ICANN, pages 97–102, 1999. ",
1093
+ "bbox": [
1094
+ 173,
1095
+ 708,
1096
+ 823,
1097
+ 738
1098
+ ],
1099
+ "page_idx": 8
1100
+ },
1101
+ {
1102
+ "type": "text",
1103
+ "text": "Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. Neural Computations, 1997. ",
1104
+ "bbox": [
1105
+ 173,
1106
+ 748,
1107
+ 816,
1108
+ 765
1109
+ ],
1110
+ "page_idx": 8
1111
+ },
1112
+ {
1113
+ "type": "text",
1114
+ "text": "Po-Sen Huang, Xiaodong He, Jianfeng Gao, Li Deng, Alex Acero, and Larry Heck. Learning deep structured semantic models for web search using clickthrough data. In Proceedings of the 22nd ACM international conference on Conference on information & knowledge management, pages 2333–2338. ACM, 2013. ",
1115
+ "bbox": [
1116
+ 173,
1117
+ 773,
1118
+ 825,
1119
+ 830
1120
+ ],
1121
+ "page_idx": 8
1122
+ },
1123
+ {
1124
+ "type": "text",
1125
+ "text": "T. Joachims, A. Swaminathan, and M. de Rijke. Deep learning with logged bandit feedback. In International Conference on Learning Representations (ICLR), 2018. ",
1126
+ "bbox": [
1127
+ 171,
1128
+ 842,
1129
+ 825,
1130
+ 871
1131
+ ],
1132
+ "page_idx": 8
1133
+ },
1134
+ {
1135
+ "type": "text",
1136
+ "text": "Thorsten Joachims. Optimizing search engines using clickthrough data. In Proceedings of the eighth ACM SIGKDD international conference on Knowledge discovery and data mining, pages 133–142. ACM, 2002. ",
1137
+ "bbox": [
1138
+ 174,
1139
+ 881,
1140
+ 825,
1141
+ 924
1142
+ ],
1143
+ "page_idx": 8
1144
+ },
1145
+ {
1146
+ "type": "text",
1147
+ "text": "Thorsten Joachims, Adith Swaminathan, and Tobias Schnabel. Unbiased learning-to-rank with biased feedback. In Proceedings of the Tenth ACM International Conference on Web Search and Data Mining, pages 781–789. ACM, 2017. ",
1148
+ "bbox": [
1149
+ 176,
1150
+ 103,
1151
+ 823,
1152
+ 146
1153
+ ],
1154
+ "page_idx": 9
1155
+ },
1156
+ {
1157
+ "type": "text",
1158
+ "text": "Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In ICLR, 2014. ",
1159
+ "bbox": [
1160
+ 171,
1161
+ 155,
1162
+ 799,
1163
+ 171
1164
+ ],
1165
+ "page_idx": 9
1166
+ },
1167
+ {
1168
+ "type": "text",
1169
+ "text": "Gakuto Kurata, Bing Xiang, and Bowen Zhou. Improved neural network-based multi-label classification with better initialization leveraging label co-occurrence. In ACL, 2016. ",
1170
+ "bbox": [
1171
+ 171,
1172
+ 179,
1173
+ 823,
1174
+ 208
1175
+ ],
1176
+ "page_idx": 9
1177
+ },
1178
+ {
1179
+ "type": "text",
1180
+ "text": "Remi Leblond, Jean-Baptiste Alayrac, Anton Osokin, and Simon Lacoste-Julien. ´ SEARNN: Training rnns with global-local losses. In ICLR, 2018. ",
1181
+ "bbox": [
1182
+ 173,
1183
+ 217,
1184
+ 825,
1185
+ 246
1186
+ ],
1187
+ "page_idx": 9
1188
+ },
1189
+ {
1190
+ "type": "text",
1191
+ "text": "Tie-Yan Liu et al. Learning to rank for information retrieval. Foundations and Trends $\\textsuperscript { \\textregistered }$ in Information Retrieval, 3(3):225–331, 2009. ",
1192
+ "bbox": [
1193
+ 173,
1194
+ 253,
1195
+ 823,
1196
+ 284
1197
+ ],
1198
+ "page_idx": 9
1199
+ },
1200
+ {
1201
+ "type": "text",
1202
+ "text": "Gonzalo Mena, David Belanger, Scott Linderman, and Jasper Snoek. Learning latent permutations with gumbel-sinkhorn networks. In International Conference on Learning Representations (ICLR), 2018. ",
1203
+ "bbox": [
1204
+ 173,
1205
+ 291,
1206
+ 825,
1207
+ 335
1208
+ ],
1209
+ "page_idx": 9
1210
+ },
1211
+ {
1212
+ "type": "text",
1213
+ "text": "Donald Metzler and W Bruce Croft. Linear feature-based models for information retrieval. Information Retrieval, 10(3):257–274, 2007. ",
1214
+ "bbox": [
1215
+ 169,
1216
+ 343,
1217
+ 825,
1218
+ 373
1219
+ ],
1220
+ "page_idx": 9
1221
+ },
1222
+ {
1223
+ "type": "text",
1224
+ "text": "Bhaskar Mitra and Nick Craswell. Neural models for information retrieval. arXiv:1705.01509, 2017. ",
1225
+ "bbox": [
1226
+ 173,
1227
+ 381,
1228
+ 823,
1229
+ 411
1230
+ ],
1231
+ "page_idx": 9
1232
+ },
1233
+ {
1234
+ "type": "text",
1235
+ "text": "Jinseok Nam, Eneldo Loza Menc´ıa, Hyunwoo J Kim, and Johannes Furnkranz. Maximizing subset ¨ accuracy with recurrent neural networks in multi-label classification. In Advances in Neural Information Processing Systems 30, pages 5413–5423, 2017. ",
1236
+ "bbox": [
1237
+ 174,
1238
+ 419,
1239
+ 826,
1240
+ 463
1241
+ ],
1242
+ "page_idx": 9
1243
+ },
1244
+ {
1245
+ "type": "text",
1246
+ "text": "H. Palangi, L. Deng, Y. Shen, J. Gao, X. He, J. Chen, X. Song, and R. Ward. Deep sentence embedding using long short-term memory networks: Analysis and application to information retrieval. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 24(4):694–707, 2016. ",
1247
+ "bbox": [
1248
+ 173,
1249
+ 470,
1250
+ 826,
1251
+ 527
1252
+ ],
1253
+ "page_idx": 9
1254
+ },
1255
+ {
1256
+ "type": "text",
1257
+ "text": "Liang Pang, Yanyan Lan, Jiafeng Guo, Jun Xu, Jingfang Xu, and Xueqi Cheng. Deeprank: A new deep architecture for relevance ranking in information retrieval. In Proceedings of the 2017 ACM on Conference on Information and Knowledge Management, CIKM ’17, 2017. ",
1258
+ "bbox": [
1259
+ 173,
1260
+ 536,
1261
+ 826,
1262
+ 580
1263
+ ],
1264
+ "page_idx": 9
1265
+ },
1266
+ {
1267
+ "type": "text",
1268
+ "text": "Tao Qin, Tie-Yan Liu, Xu-Dong Zhang, De-Sheng Wang, Wen-Ying Xiong, and Hang Li. Learning to rank relational objects and its application to web search. In Proceedings of WWW, pages 407–416. ACM, 2008. ",
1269
+ "bbox": [
1270
+ 173,
1271
+ 588,
1272
+ 825,
1273
+ 631
1274
+ ],
1275
+ "page_idx": 9
1276
+ },
1277
+ {
1278
+ "type": "text",
1279
+ "text": "Tao Qin, Tie-Yan Liu, Xu-Dong Zhang, De-Sheng Wang, and Hang Li. Global ranking using continuous conditional random fields. In Advances in neural information processing systems, pages 1281–1288, 2009. ",
1280
+ "bbox": [
1281
+ 173,
1282
+ 640,
1283
+ 826,
1284
+ 683
1285
+ ],
1286
+ "page_idx": 9
1287
+ },
1288
+ {
1289
+ "type": "text",
1290
+ "text": "MarcAurelio Ranzato, Sumit Chopra, Michael Auli, and Wojciech Zaremba. Sequence level training with recurrent neural networks. In Proceedings of ICLR, 2016. ",
1291
+ "bbox": [
1292
+ 171,
1293
+ 691,
1294
+ 825,
1295
+ 722
1296
+ ],
1297
+ "page_idx": 9
1298
+ },
1299
+ {
1300
+ "type": "text",
1301
+ "text": "Nir Rosenfeld, Ofer Meshi, Danny Tarlow, and Amir Globerson. Learning structured models with the auc loss and its generalizations. In Artificial Intelligence and Statistics, pages 841–849, 2014. ",
1302
+ "bbox": [
1303
+ 173,
1304
+ 729,
1305
+ 825,
1306
+ 760
1307
+ ],
1308
+ "page_idx": 9
1309
+ },
1310
+ {
1311
+ "type": "text",
1312
+ "text": "Rodrigo Santa Cruz, Basura Fernando, Anoop Cherian, and Stephen Gould. Visual permutation learning. In CVPR, 2017. ",
1313
+ "bbox": [
1314
+ 173,
1315
+ 767,
1316
+ 823,
1317
+ 796
1318
+ ],
1319
+ "page_idx": 9
1320
+ },
1321
+ {
1322
+ "type": "text",
1323
+ "text": "M. Schuster and K.K. Paliwal. Bidirectional recurrent neural networks. Trans. Sig. Proc., 45(11): 2673–2681, 1997. ISSN 1053-587X. doi: 10.1109/78.650093. ",
1324
+ "bbox": [
1325
+ 169,
1326
+ 805,
1327
+ 823,
1328
+ 834
1329
+ ],
1330
+ "page_idx": 9
1331
+ },
1332
+ {
1333
+ "type": "text",
1334
+ "text": "Ilya Sutskever, Oriol Vinyals, and Quoc V Le. Sequence to sequence learning with neural networks. In NIPS, pages 3104–3112, 2014. ",
1335
+ "bbox": [
1336
+ 169,
1337
+ 843,
1338
+ 825,
1339
+ 872
1340
+ ],
1341
+ "page_idx": 9
1342
+ },
1343
+ {
1344
+ "type": "text",
1345
+ "text": "Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Ł ukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in Neural Information Processing Systems 30. Curran Associates, Inc., 2017. ",
1346
+ "bbox": [
1347
+ 174,
1348
+ 881,
1349
+ 825,
1350
+ 924
1351
+ ],
1352
+ "page_idx": 9
1353
+ },
1354
+ {
1355
+ "type": "text",
1356
+ "text": "O. Vinyals, L. Kaiser, T. Koo, S. Petrov, I. Sutskever, and G. Hinton. Grammar as a foreign language. In NIPS, 2015a. \nOriol Vinyals, Meire Fortunato, and Navdeep Jaitly. Pointer networks. In NIPS, pages 2692–2700, 2015b. \nOriol Vinyals, Samy Bengio, and Manjunath Kudlur. Order matters: Sequence to sequence for sets. In International Conference on Learning Representations (ICLR), 2016. URL http: //arxiv.org/abs/1511.06391. \nBaiyang Wang and Diego Klabjan. An attention-based deep net for learning to rank. arXiv preprint arXiv:1702.06106, 2017. \nJiang Wang, Yi Yang, Junhua Mao, Zhiheng Huang, Chang Huang, and Wei Xu. CNN-RNN: A unified framework for multi-label image classification. In Computer Vision and Pattern Recognition (CVPR), 2016 IEEE Conference on, pages 2285–2294. IEEE, 2016. \nRonald Williams. Simple statistical gradient following algorithms for connectionnist reinforcement learning. In Machine Learning, 1992. \nRonald J. Williams and David Zipser. A learning algorithm for continually running fully recurrent neural networks. Neural Comput., 1(2):270–280, June 1989. ISSN 0899-7667. doi: 10.1162/neco. 1989.1.2.270. URL http://dx.doi.org/10.1162/neco.1989.1.2.270. \nSam Wiseman and Alexander M. Rush. Sequence-to-sequence learning as beam-search optimization. In ACL, 2016. \nQiang Wu, Christopher JC Burges, Krysta M Svore, and Jianfeng Gao. Adapting boosting for information retrieval measures. Information Retrieval, 13(3):254–270, 2010. \nJun Xu and Hang Li. Adarank: a boosting algorithm for information retrieval. In Proceedings of the 30th annual international ACM SIGIR conference on Research and development in information retrieval, pages 391–398. ACM, 2007. \nYisong Yue, Thomas Finley, Filip Radlinski, and Thorsten Joachims. A support vector method for optimizing average precision. In Proceedings of SIGIR, pages 271–278. ACM, 2007. \nVictor Zhong, Caiming Xiong, and Richard Socher. Seq2sql: Generating structured queries from natural language using reinforcement learning. arXiv preprint arXiv:1709.00103, 2017. \nYadong Zhu, Yanyan Lan, Jiafeng Guo, Xueqi Cheng, and Shuzi Niu. Learning for search result diversification. In Proceedings of SIGIR, pages 293–302. ACM, 2014. ",
1357
+ "bbox": [
1358
+ 169,
1359
+ 97,
1360
+ 828,
1361
+ 646
1362
+ ],
1363
+ "page_idx": 10
1364
+ },
1365
+ {
1366
+ "type": "text",
1367
+ "text": "A DERIVATION OF THE EXPECTED LOSS ",
1368
+ "bbox": [
1369
+ 176,
1370
+ 101,
1371
+ 526,
1372
+ 119
1373
+ ],
1374
+ "page_idx": 11
1375
+ },
1376
+ {
1377
+ "type": "equation",
1378
+ "img_path": "images/9298bc31074e12c597480a201157adc4a779359c4785d27d3e13fcf8b6b6fc65.jpg",
1379
+ "text": "$$\n\\begin{array} { r l } & { \\mathbb { E } [ \\mathcal { L } ] = \\displaystyle \\sum _ { \\tau } p ( \\boldsymbol { \\pi } ) \\mathcal { L } _ { \\tau } } \\\\ & { \\mathrm { ~ \\ ~ \\ } = \\displaystyle \\sum _ { \\tau } p ( \\boldsymbol { \\pi } ) \\sum _ { j } \\ell _ { \\tau < j } } \\\\ & { \\mathrm { \\ ~ \\ ~ \\ } = \\displaystyle \\sum _ { j } \\sum _ { \\tau } p ( \\boldsymbol { \\pi } _ { z < j } ) p ( \\boldsymbol { \\pi } _ { z < j } ) \\ell _ { \\tau < j } \\ell _ { \\tau < j } } \\\\ & { \\mathrm { \\ ~ \\ ~ \\ } = \\displaystyle \\sum _ { j } \\sum _ { \\tau } p ( \\boldsymbol { \\pi } _ { z < j } ) p ( \\boldsymbol { \\pi } _ { z \\le j } ) \\ell _ { \\tau < j } \\ell _ { \\tau < j } } \\\\ & { \\mathrm { \\ ~ \\ ~ \\ } = \\displaystyle \\sum _ { j } \\sum _ { \\tau < j } p ( \\boldsymbol { \\pi } _ { z < j } ) \\ell _ { \\tau < j } \\sum _ { \\tau \\ge j } p ( \\boldsymbol { \\pi } _ { z < j } | \\boldsymbol { \\pi } _ { z < j } ) } \\\\ & { \\mathrm { \\ ~ \\ ~ \\ } = \\displaystyle \\sum _ { j } \\sum _ { \\tau < j } \\left( \\sum _ { k = 1 } ^ { j - 1 } e ^ { \\lambda _ { k } } / \\sum _ { \\tau \\in S _ { k } } c \\right) \\ell _ { \\tau < j } e ^ { \\lambda _ { k } } \\Big ) \\ell _ { \\tau < j } \\langle \\boldsymbol { s } ^ { j } , \\boldsymbol { y } \\rangle \\ . } \\end{array}\n$$",
1380
+ "text_format": "latex",
1381
+ "bbox": [
1382
+ 328,
1383
+ 135,
1384
+ 665,
1385
+ 329
1386
+ ],
1387
+ "page_idx": 11
1388
+ },
1389
+ {
1390
+ "type": "text",
1391
+ "text": "Since the terms are continuous (and smooth) in $S$ for all $j$ and $\\pi _ { < j }$ , so is the entire function. ",
1392
+ "bbox": [
1393
+ 169,
1394
+ 333,
1395
+ 774,
1396
+ 349
1397
+ ],
1398
+ "page_idx": 11
1399
+ },
1400
+ {
1401
+ "type": "text",
1402
+ "text": "B ADDITIONAL EXPERIMENTAL RESULTS ",
1403
+ "text_level": 1,
1404
+ "bbox": [
1405
+ 173,
1406
+ 364,
1407
+ 537,
1408
+ 382
1409
+ ],
1410
+ "page_idx": 11
1411
+ },
1412
+ {
1413
+ "type": "table",
1414
+ "img_path": "images/8e970c09f2f93f5a7f36284c6e5be0c7fbc7f4931ce45e28e5aaedaba12b5b2f.jpg",
1415
+ "table_caption": [],
1416
+ "table_footnote": [],
1417
+ "table_body": "<table><tr><td rowspan=\"2\">Ranker</td><td colspan=\"3\">Yahoo</td><td colspan=\"3\">Web30k</td></tr><tr><td>MAP</td><td>NDCG@5</td><td>NDCG@10</td><td>MAP</td><td>NDCG@5</td><td>NDCG@10</td></tr><tr><td>seq2slate</td><td>0.82</td><td>0.82</td><td>0.84</td><td>0.44</td><td>0.54</td><td>0.50</td></tr><tr><td>AdaRank</td><td>0.83</td><td>0.81</td><td>0.84</td><td>0.41</td><td>0.52</td><td>0.48</td></tr><tr><td>Coordinate Ascent</td><td>0.83</td><td>0.82</td><td>0.85</td><td>0.39</td><td>0.47</td><td>0.44</td></tr><tr><td>LambdaMART</td><td>0.84</td><td>0.83</td><td>0.85</td><td>0.41</td><td>0.52</td><td>0.48</td></tr><tr><td>ListNet</td><td>0.83</td><td>0.83</td><td>0.85</td><td>0.41</td><td>0.53</td><td>0.49</td></tr><tr><td>MART</td><td>0.83</td><td>0.82</td><td>0.85</td><td>0.41</td><td>0.52</td><td>0.48</td></tr><tr><td>Random Forests</td><td>0.83</td><td>0.82</td><td>0.84</td><td>0.40</td><td>0.48</td><td>0.45</td></tr><tr><td>RankBoost</td><td>0.83</td><td>0.83</td><td>0.85</td><td>0.38</td><td>0.43</td><td>0.41</td></tr><tr><td>RankNet</td><td>0.83</td><td>0.82</td><td>0.84</td><td>0.35</td><td>0.36</td><td>0.35</td></tr></table>",
1418
+ "bbox": [
1419
+ 209,
1420
+ 400,
1421
+ 787,
1422
+ 541
1423
+ ],
1424
+ "page_idx": 11
1425
+ },
1426
+ {
1427
+ "type": "text",
1428
+ "text": "Table 4: Performance of seq2slate and other baselines on data generated with similar-clicks. ",
1429
+ "bbox": [
1430
+ 194,
1431
+ 559,
1432
+ 800,
1433
+ 574
1434
+ ],
1435
+ "page_idx": 11
1436
+ },
1437
+ {
1438
+ "type": "table",
1439
+ "img_path": "images/43eaf451b1d0554f7ecda9d6bf686088b08b2e9b4aa599caeb4e31e8195d2448.jpg",
1440
+ "table_caption": [],
1441
+ "table_footnote": [],
1442
+ "table_body": "<table><tr><td rowspan=\"2\">Ranker</td><td colspan=\"4\">Yahoo</td><td colspan=\"4\">Web30k</td></tr><tr><td>MAP</td><td>NDCG@5</td><td>NDCG@10</td><td>rank-gain</td><td>MAP</td><td>NDCG@5</td><td>NDCG10</td><td>rank-gain</td></tr><tr><td>seq2slate</td><td>0.82</td><td>0.82</td><td>0.84</td><td>8.5</td><td>0.44</td><td>0.54</td><td>0.50</td><td>16.0</td></tr><tr><td>Greedy policy</td><td>0.82</td><td>0.82</td><td>0.84</td><td>8.5</td><td>0.44</td><td>0.54</td><td>0.50</td><td>15.9</td></tr><tr><td>smooth-hinge</td><td>0.80</td><td>0.80</td><td>0.82</td><td>7.7</td><td>0.44</td><td>0.54</td><td>0.50</td><td>15.9</td></tr><tr><td>RL</td><td>0.82</td><td>0.82</td><td>0.84</td><td>8.5</td><td>0.42</td><td>0.53</td><td>0.49</td><td>-14.8</td></tr><tr><td>one-step decoder</td><td>0.81</td><td>0.81</td><td>0.82</td><td>7.7</td><td>0.44</td><td>0.53</td><td>0.49</td><td>15.5</td></tr><tr><td>shuffled data</td><td>0.80</td><td>0.80</td><td>0.81</td><td>二</td><td>0.40</td><td>0.44</td><td>0.42</td><td>1</td></tr><tr><td>base ranker (no-op)</td><td>0.78</td><td>0.76</td><td>0.79</td><td>0</td><td>0.43</td><td>0.53</td><td>0.49</td><td>0</td></tr></table>",
1443
+ "bbox": [
1444
+ 174,
1445
+ 598,
1446
+ 820,
1447
+ 704
1448
+ ],
1449
+ "page_idx": 11
1450
+ },
1451
+ {
1452
+ "type": "text",
1453
+ "text": "Table 5: Comparison of model and data variants for seq2slate on data generated with similar-clicks. ",
1454
+ "bbox": [
1455
+ 171,
1456
+ 720,
1457
+ 823,
1458
+ 736
1459
+ ],
1460
+ "page_idx": 11
1461
+ }
1462
+ ]
parse/train/HkgHk3RctX/HkgHk3RctX_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/N9oPAFcuYWX/N9oPAFcuYWX.md ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/N9oPAFcuYWX/N9oPAFcuYWX_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/N9oPAFcuYWX/N9oPAFcuYWX_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/N9oPAFcuYWX/N9oPAFcuYWX_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/WrotwUEJO59/WrotwUEJO59.md ADDED
@@ -0,0 +1,466 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Quantifying and Learning Linear Symmetry-Based Disentanglement
2
+
3
+ Anonymous Author(s)
4
+ Affiliation
5
+ Address
6
+ email
7
+
8
+ # Abstract
9
+
10
+ 1 The definition of Linear Symmetry-Based Disentanglement (LSBD) formalizes
11
+ 2 the notion of linearly disentangled representations, but there is currently no metric
12
+ 3 to quantify LSBD. Such a metric is crucial to evaluate LSBD methods and to
13
+ 4 compare to previous understandings of disentanglement. We propose $\mathcal { D } _ { \mathrm { L S B D } }$ , a
14
+ 5 mathematically sound metric to quantify LSBD, and provide a practical implemen
15
+ 6 tation. Furthermore, from this metric we derive LSBD-VAE, a semi-supervised
16
+ 7 method to learn LSBD representations. We demonstrate the utility of our metric
17
+ 8 by showing that (1) common VAE-based disentanglement methods don’t learn
18
+ 9 LSBD representations, (2) LSBD-VAE as well as other recent methods can learn
19
+ 10 LSBD representations, needing only limited supervision on transformations, and
20
+ 11 (3) various desirable properties expressed by existing disentanglement metrics are
21
+ 12 also achieved by LSBD representations.
22
+
23
+ # 13 1 Introduction
24
+
25
+ 14 Learning low-dimensional representations that disentangle the underlying factors of variation in data
26
+ 15 is considered an important step towards interpretable machine learning with good generalization. To
27
+ 16 address the fact that there is no consensus on what disentanglement entails and how to formalize it,
28
+ 17 Higgins et al. (2018) propose a formal definition for Linear Symmetry-Based Disentanglement, or
29
+ 18 LSBD, arguing that underlying real-world symmetries give exploitable structure to data.
30
+ 19 However, there is currently no metric to quantify LSBD. Such a metric is crucial to properly evaluate
31
+ 20 methods aiming to learn LSBD representations and to relate LSBD to previous definitions of disentan
32
+ 21 glement. Although previous works have evaluated LSBD by measuring performance on downstream
33
+ 22 tasks (Caselles-Dupré et al., 2019) or by measuring specific traits related to LSBD (Painter et al.,
34
+ 23 2020; Quessard et al., 2020), none of these evaluation methods directly quantify LSBD according to
35
+ 24 its well-formalized definition.
36
+ 25 We propose $\mathcal { D } _ { \mathrm { L S B D } }$ , a well-formalized and generally applicable metric that quantifies the level of
37
+ 26 LSBD in learned data representations. We show an intuitive justification of this metric, as well
38
+ 27 as its theoretical derivation. We also provide a practical implementation to compute $\mathcal { D } _ { \mathrm { L S B D } }$ for
39
+ 28 common symmetry groups. Furthermore, we show that our metric formulation can be used to derive
40
+ 29 a semi-supervised method to learn LSBD representations, which we call LSBD-VAE. To make
41
+ 30 LSBD-VAE more widely applicable, we also demonstrate how to disentangle symmetric properties
42
+ 31 from other non-symmetric properties, and how to quantify this disentanglement with $\mathcal { D } _ { \mathrm { L S B D } }$ .
43
+ 32 We show the utility of $\mathcal { D } _ { \mathrm { L S B D } }$ by quantifying LSBD in a number of settings, for a variety of datasets
44
+ 33 with underlying SO(2) symmetries and other non-symmetric properties. First, we evaluate common
45
+ 34 VAE-based disentanglement methods and show that most don’t learn LSBD representations. Second,
46
+ 35 we evaluate LSBD-VAE and other recent methods that specifically target LSBD, showing that they
47
+ 36 can obtain much better $\mathcal { D } _ { \mathrm { L S B D } }$ scores while needing only limited supervision on transformations.
48
+ 37 Third, we compare $\mathcal { D } _ { \mathrm { L S B D } }$ with existing disentanglement metrics, showing that various desirable
49
+ 38 properties expressed with these metrics are also achieved by LSBD representations.
50
+
51
+ # 39 2 Related Work
52
+
53
+ 40 Plenty of works have focused on learning and quantifying disentangled representations recently, but
54
+ 41 research has shown that there is little consensus about the exact definition of disentanglement and
55
+ 42 methods often do not achieve it as well as they proclaim (Locatello et al., 2019). To introduce some
56
+ 43 much-needed formalization, Higgins et al. (2018) proposed to define disentanglement with respect
57
+ 44 to symmetry transformations acting on the data. They used group theory to provide two formal
58
+ 45 definitions, which we refer to as (Linear) Symmetry-Based Disentanglement, or (L)SBD. In this
59
+ 46 paper we focus only on LSBD, not SBD.
60
+ 47 Several methods have been proposed to learn LSBD representations (Caselles-Dupré et al., 2019;
61
+ 48 Painter et al., 2020; Quessard et al., 2020). These methods also learn to represent the transformations
62
+ 49 acting on the input data, assuming various levels of supervision on these transformations. Other
63
+ 50 methods have previously focused on capturing transformations of the data outside the context of
64
+ 51 disentanglement as well (Cohen and Welling, 2015; Sosnovik et al., 2019; Worrall et al., 2017).
65
+
66
+ # 52 3 Linear Symmetry-Based Disentanglement
67
+
68
+ 53 Higgins et al. (2018) provide a formal definition of linear disentanglement that connects symmetry
69
+ 54 transformations affecting the real world (from which data is observed) to the internal representations
70
+ 55 of a model. The definition is grounded in concepts from group theory, we provide a more detailed
71
+ 56 description of these concepts in the Supplementary Material.
72
+ 57 The definition1 considers a group $G$ of symmetry transformations acting on the data space $X$ through
73
+ 58 the group action $\cdot : G \times X \to X$ . In particular, $G$ can be decomposed as the direct product of $K$
74
+ 59 groups $G = G _ { 1 } \times \ldots \times G _ { K }$ . A model’s internal representation of data is modeled with the encoding
75
+ 60 function $h : X \to Z$ that maps data to the embedding space $Z$ . The definition for Linearly Symmetry
76
+ 61 Based Disentangled (LSBD) representations then formalizes the requirement that a model’s encoding
77
+ 62 $h$ should reflect and disentangle the transformation properties of the data, and that the transformation
78
+ 63 properties of the model’s encoding should be linear. The exact definition is as follows:
79
+ 64 Definition: Linear Symmetry-Based Disentanglement (LSBD) A model’s encoding map $h :$
80
+ 65 $X Z$ , where $Z$ is a vector space, is LSBD with respect to the group decomposition $G =$
81
+ 66 $G _ { 1 } \times \ldots \times G _ { K }$ if
82
+
83
+ 1. there is a decomposition of the embedding space $Z = Z _ { 1 } \oplus . . . \oplus Z _ { K }$ into $K$ vector subspaces,
84
+ 2. there are group representations for each subgroup in the corresponding vector subspace $\rho _ { k } : G _ { k } \stackrel { \textstyle \bar { \to } } { \to } \mathrm { G L } ( Z _ { k } ) , k \in \{ 1 , \dots , K \}$
85
+ 3. the group representation $\rho : G \to { \mathrm { G L } } ( Z )$ acts on $Z$ as $\rho ( g ) \cdot z = ( \rho _ { 1 } ( g _ { 1 } ) \cdot z _ { 1 } , \ldots , \rho _ { K } ( g _ { K } ) \cdot z _ { K } ) ,$ (1) for $g = ( g _ { 1 } , \dotsc , g _ { K } ) \in G$ and $z = ( z _ { 1 } , \dots , z _ { K } ) \in Z$ with $g _ { k } \in G _ { k }$ and $z _ { k } \in Z _ { k }$ .
86
+ 4. the map $h$ is equivariant with respect to the actions of $G$ on $X$ and $Z$ , i.e. , for all $x \in X$ and $g \in G$ it holds that $h ( g \cdot x ) \stackrel { } { = } \rho ( g ) \cdot h ( x )$ .
87
+
88
+ 75 Furthermore, we say that a group representation $\rho$ is linearly disentangled with respect to the group
89
+ 76 decomposition $G = G _ { 1 } \times \ldots \times G _ { K }$ if it satisfies criteria 1 to 3 from the LSBD definition above.
90
+
91
+ # 78 4.1 Intuition: Measuring Equivariance with Dispersion
92
+
93
+ 79 To motivate our metric, let’s first assume a set
94
+ 80 ting in which a suitable linearly disentangled
95
+ 81 group representation $\rho$ is known. Let’s further
96
+ 82 assume that the dataset of observations can be
97
+ 83 84 exprepoint $x _ { 0 } \in X$ respe, i.e. $\{ x _ { n } \} _ { n = 1 } ^ { N } = { \bar { \{ g _ { n } \cdot x _ { 0 } \} } } _ { n = 1 } ^ { N }$ $G$
98
+ 85 Formally, this assumes that the action of $G$ on
99
+ 86 $X$ is regular. In this case, we can use the inverse
100
+ 87 group elements $g _ { n } ^ { - 1 }$ to transform each data point
101
+ 88 toward the base point $x _ { 0 }$ , i.e.
102
+
103
+ $$
104
+ x _ { 0 } = g _ { 1 } ^ { - 1 } \cdot x _ { 1 } = \ldots = g _ { N } ^ { - 1 } \cdot x _ { N } .
105
+ $$
106
+
107
+ 89 Since $\rho$ is linearly disentangled, we only need to
108
+ 90 measure the equivariance of the encoding map
109
+ 91 $h$ to quantify LSBD. Equivariance is achieved
110
+ 92 when $h ( g \cdot x ) = \rho ( g ) \cdot h ( x )$ , for all $g \in G , x \in$
111
+ 93 $X$ . Given the dataset described above, we can
112
+ 94 $\{ g _ { n } \} _ { n = 1 } ^ { N }$ s property for .2 In particular $x \in \{ x _ { n } \} _ { n = 1 } ^ { N }$ and n (2) $g \in$
113
+ 96 can see that we have equivariance if
114
+
115
+ ![](images/caa1181c8b0270db28d1a6afc76b50415256cdbf5ee7362a8dc3585ad944ee78.jpg)
116
+ Figure 1: A dataset of images from a rotating object expressed in terms of the group $G = \bar { \mathrm { S O } } ( 2 )$ acting on a base image $x _ { 0 }$ . It is possible to quantify the level of LSBD of an encoding map $h$ by measuring its equivariance with respect to a group representation $\rho$ . Since all data has been generated from $x _ { 0 }$ , equivariance can be measured as the dispersion of the points $\{ \rho ( g _ { n } ^ { - 1 } ) \cdot h ( x _ { n } ) \} _ { n = 1 } ^ { N }$ .
117
+
118
+ $$
119
+ h ( x _ { 0 } ) = \rho ( g _ { 1 } ^ { - 1 } ) \cdot h ( x _ { 1 } ) = \ldots = \rho ( g _ { N } ^ { - 1 } ) \cdot h ( x _ { N } ) .
120
+ $$
121
+
122
+ 97 This not only characterizes perfect equivariance, but also allows for an efficient way to quantify how
123
+ 98 close we are to true equivariance, by measuring the dispersion of the points $\{ \rho ( g _ { n } ^ { - 1 } ) \cdot \bar { h } ( x _ { n } ) \} _ { n = 1 } ^ { N }$ . 3
124
+ 99 Given a suitable norm $\| \cdot \| _ { Z }$ in $Z$ , we can thus quantify LSBD in this setting as
125
+
126
+ $$
127
+ \frac { 1 } { N } \sum _ { n = 1 } ^ { N } \left. \rho ( g _ { n } ^ { - 1 } ) \cdot h ( x _ { n } ) - \frac { 1 } { N } \sum _ { n ^ { \prime } = 1 } ^ { N } \rho ( g _ { n ^ { \prime } } ^ { - 1 } ) \cdot h ( x _ { n ^ { \prime } } ) \right. _ { Z } ^ { 2 } ,
128
+ $$
129
+
130
+ i.e. we compute the mean of 100 $\{ \rho ( g _ { n } ^ { - 1 } ) \cdot h ( x _ { n } ) \} _ { n = 1 } ^ { N }$ and use the average squared distance to this mean for points in 101 $\{ \rho ( g _ { n } ^ { - 1 } ) \cdot h ( x _ { n } ) \} _ { n = 1 } ^ { N }$ as our LSBD metric, see Figure 1.
131
+
132
+ 02 However, this formulation requires knowing the right linearly disentangled group representation and 103 a suitable norm in $Z$ . Moreover, it implicitly assumes a uniform probability measure over the group elements 104 $\{ g _ { n } \} _ { n = 1 } ^ { N }$ . In the next section we formulate our metric for a more general setting.
133
+
134
+ # 05 4.2 $\mathcal { D } _ { \mathrm { L S B D } }$ : A Metric for LSBD
135
+
136
+ 106 Generalizing the ideas from the previous section with concepts from measure theory, we propose a
137
+ 107 metric to measure the level of LSBD of any encoding $h : X \to Z$ given a data probability measure $\mu$
138
+ 108 on $X$ , provided that $\mu$ can be written as the pushforward $G _ { X } ( \cdot , x _ { 0 } ) _ { \# } \nu$ of some probability measure
139
+ 109 $\nu$ on $G$ by the function $G _ { X } ( \cdot , x _ { 0 } )$ for some base point $x _ { 0 }$ . More formally,
140
+
141
+ $$
142
+ \mu ( A ) = G _ { X } ( \cdot , x _ { 0 } ) _ { \# } \nu ( A ) = \nu \left( \left\{ g \in G \mid G _ { X } ( g , x _ { 0 } ) \in A \right\} \right) ,
143
+ $$
144
+
145
+ 10 for Borel subsets $A \subset X$ . Note that this is only possible if the action $G _ { X }$ is transitive.
146
+
147
+ For example, the situation of a dataset with 111 $N$ datapoints $\{ x _ { n } \} _ { n = 1 } ^ { N } = \{ g _ { n } \cdot x _ { 0 } \} _ { n = 1 } ^ { N }$ corresponds to 112 the case in which $\nu$ and $\mu$ are empirical measures on the group $G$ and data space $X$ , respectively:
148
+
149
+ $$
150
+ \nu : = \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \delta _ { g _ { i } } , \qquad \mu : = \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \delta _ { x _ { i } } .
151
+ $$
152
+
153
+ 2Note that $\{ g _ { n } \} _ { n = 1 } ^ { N }$ can be used to describe all known group transformations between elements in the dataset by means of composition and inverses, since $x _ { i } = g _ { i } \cdot ( g _ { j } ^ { - 1 } \cdot x _ { j } )$ . Thus it suffices to check equivariance for these $N$ group transformations.
154
+
155
+ 3Note that we do not actually need to know $x _ { 0 }$ nor $h ( x _ { 0 } )$
156
+
157
+ 113 We define the metric $\mathcal { D } _ { \mathrm { L S B D } }$ for an encoding $h$ and a measure $\mu$ as
158
+
159
+ $$
160
+ \mathcal { D } _ { \mathrm { L S B D } } : = \operatorname* { i n f } _ { \rho \in \mathcal { P } ( G , Z ) } \int _ { G } \big \| \rho ( g ) ^ { - 1 } \cdot h ( g \cdot x _ { 0 } ) - M _ { \rho , h , x _ { 0 } } \big \| _ { \rho , h , \mu } ^ { 2 } d \nu ( g ) ,
161
+ $$
162
+
163
+ 114 where the norm $\| \cdot \| _ { \rho , h , \mu }$ is a Hilbert-space norm depending on the representation $\rho$ , the encoding map
164
+ 115 $h : X \to Z$ , and the data measure $\mu$ . More details of this norm can be found in the Supplementary
165
+ 116 Material. Moreover, ${ \mathcal { P } } ( G , Z )$ denotes the set of linearly disentangled representations of $G$ in $Z$
166
+ 117 Lower values of $\mathcal { D } _ { \mathrm { L S B D } }$ indicate better disentanglement, zero being optimal.
167
+
168
+ # 118 4.3 Practical Computation of $\mathcal { D } _ { \mathrm { L S B D } }$
169
+
170
+ 119 There are two main challenges for computing the metric of Equation (7). First, to calculate the
171
+ 120 integrals in the formula, all possible datapoints that can be expressed as $g \cdot x _ { 0 }$ with $g \in G =$
172
+ 121 $G _ { 1 } \times \cdots \times G _ { K }$ must be available. Second, the infimum of the integrals over all possible linearly
173
+ 122 disentangled representations must be estimated. This requires finding the possible invariant subspaces
174
+ 123 $Z = Z _ { 1 } \oplus \cdots \oplus Z _ { K }$ induced by the encoding $h$ over which the group representations are disentangled.
175
+ 124 We present a practical implementation of an upper bound to $\mathcal { D } _ { \mathrm { L S B D } }$ for an encoding function $h$ given
176
+ 125 a dataset $\mathcal { X }$ generated by some known group transformations. In particular, this approximation of
177
+ 126 $\mathcal { D } _ { \mathrm { L S B D } }$ is designed for a group decomposition $G = G _ { 1 } \times \cdot \cdot \cdot \times G _ { K }$ where each $G _ { k } \overset { \vartriangle } { = } \mathrm { S O } ( D _ { k } )$ with
178
+ 127 $k \in \{ 1 , \ldots , K \}$ the group of rotations in $D _ { k }$ dimensions. This implementation approximates the
179
+ 128 integrals of Equation (7) by using the empirical distribution of $\mathcal { X }$ . The invariant subspaces of $Z$ to the
180
+ 129 subgroup actions are found by applying a suitable change of basis. In the new basis, the disentangled
181
+ 130 group representations are expressed in a parametric form whose parameters are optimized to find the
182
+ 131 tightest bound to $\mathcal { D } _ { \mathrm { L S B D } }$ . See Figure 2 for an intuitive description of the process.
183
+ 132 Assume there is a dataset $\mathcal { X }$ that can be modeled in terms of the group decomposition $G = G _ { 1 } \times \cdot \cdot \cdot G _ { k }$ .
184
+ 133 For each $G _ { k }$ subgroup there is a set of known group elements $\mathcal { G } _ { k } \subseteq G _ { k }$ uniformly sampled such
185
+ 134 that the dataset is described in terms of all elements in $\mathcal { G } = \mathcal { G } _ { 1 } \times \cdots \times \mathcal { G } _ { K }$ and a base point $x _ { 0 }$ as
186
+ 135 ${ \mathcal { X } } = \left\{ \left( g _ { 1 } , \dots , g _ { K } \right) \cdot x _ { 0 } { \big | } g _ { k } \in { \mathcal { G } } _ { k } , ~ k \in \left\{ 1 , \dots , K \right\} \right\}$ .
187
+ 136 For each subgroup $G _ { k }$ we construct a set of encoded data $\mathcal { Z } _ { k } \subseteq Z$ whose variability should only de
188
+ 137 pend on the action of $G _ { k }$ . The set $\mathcal { Z } _ { k }$ is given by $\mathcal { Z } _ { k } = \{ z _ { k } ( g _ { 1 } , \dotsc , g _ { K } ) | g _ { j } \in \mathcal { G } _ { j } \ , j \in \{ 1 , \dotsc , K \} \}$ ,
189
+ 138 in which
190
+
191
+ $$
192
+ z _ { k } ( g _ { 1 } , \dots , g _ { K } ) = h ( ( g _ { 1 } , \dots , g _ { K } ) \cdot x _ { 0 } ) - \frac { 1 } { | { \mathcal { G } } _ { k } | } \sum _ { g ^ { \prime } \in { \mathcal { G } } _ { k } } h ( ( g _ { 1 } , \dots , g _ { k - 1 } , g ^ { \prime } , g _ { k + 1 } , \dots , g _ { K } ) \cdot x _ { 0 } ) .
193
+ $$
194
+
195
+ 139 Similar to (Cohen and Welling, 2014), we find a suitable change of basis that exposes the invariant
196
+ 140 subspace $Z _ { k }$ corresponding to the $k$ -th subgroup $G _ { k }$ . The new basis is obtained from the eigenvectors
197
+ 141 resulting from applying Principal Component Analysis (PCA) to $\mathcal { Z } _ { k }$ . Each element in $\mathcal { Z } _ { k }$ is projected
198
+ 142 into the first $D _ { k }$ eigenvectors. The new set is denoted as $\mathcal { Z } _ { k } ^ { \prime } \subseteq \mathbb { R } ^ { D _ { k } }$ with elements $z _ { k } ^ { \prime } ( g _ { 1 } , \dotsc , g _ { K } ) \subseteq$
199
+ 143 $\mathbb { R } ^ { D _ { k } }$ that are the projected versions of $z _ { k } ( g _ { 1 } , \dots , g _ { K } )$ .
200
+ 144 (Quessard et al., 2020) describes how one could parameterize the subgroup representations of $S O ( D _ { k } )$
201
+ 145 for arbitrary $D _ { k }$ but here we will focus on $\bar { G _ { k } } = S O ( 2 )$ . In this case, we can parameterize each
202
+ 146 subgroup representation in terms of a single integer parameter $\omega \in \mathbb { Z }$ as $\rho _ { k , \omega } ( g _ { k } )$ corresponding
203
+ 147 to a $2 \times 2$ rotation matrix whose angle of rotation is $\omega$ multiplied by the known angle associated
204
+ 148 to the group element $g _ { k } \in G _ { k } = \bar { \mathrm { S O } ( 2 ) }$ . For this subgroup we can approximate the $M _ { \rho , h , x _ { 0 } }$ from
205
+ 149 Equation (7) as $M _ { k , \omega }$ given by
206
+
207
+ $$
208
+ M _ { k , \omega } = \frac { 1 } { | \mathcal { G } | } \sum _ { ( g _ { 1 } , . . . , g _ { K } ) \in \mathcal { G } } \rho _ { k , \omega } ( g _ { k } ^ { - 1 } ) \cdot z ^ { \prime } ( g _ { 1 } , . . . , g _ { K } ) .
209
+ $$
210
+
211
+ 150 Similar to Equation (7) we would like to find the optimal $\rho _ { k , \omega }$ that minimizes the integral over the
212
+ 151 group representations. We can define a parameter search space $\Omega \subseteq \mathbb { Z }$ , e.g. $\Omega = [ - 1 0 , 1 0 ]$ for finding
213
+ 152 the optimal $\omega \in \Omega$ that minimizes the dispersion, this is expressed in the following equation
214
+
215
+ $$
216
+ \mathcal { D } _ { \mathrm { L S B D } } ^ { ( k ) } = \operatorname* { m i n } _ { \omega \in \Omega } \frac { 1 } { | \mathcal { G } | } \sum _ { ( g _ { 1 } , . . . , g _ { K } ) \in \mathcal { G } } \Vert \rho _ { k , \omega } ( g _ { k } ^ { - 1 } ) \cdot z ^ { \prime } ( g _ { 1 } , . . . , g _ { K } ) - M _ { k , \omega } \Vert ^ { 2 } .
217
+ $$
218
+
219
+ ![](images/9bc32e6cbe7e7f6d136371693d530b9f07c07b31d987bc47851fa12213f21503.jpg)
220
+ Figure 2: Consider a dataset modeled by a group decomposition $G = G _ { 1 } \times \cdot \cdot \cdot \times G _ { K }$ acting on $x _ { 0 }$ and is embedded in a latent space $Z$ via $h$ . In this example the subgroup $G _ { k } = \mathrm { S O } ( 2 )$ models the rotations of an airplane. Other subgroups $G _ { \neq k }$ could also be acting e.g. changes in airplane color. The first step to calculate the disentanglement of $G _ { k }$ is to construct a set of data embeddings $\mathcal { Z } _ { k } \subseteq Z$ whose variability is due to $G _ { k }$ . These embeddings are then projected into a 2-dimensional space through PCA. For these projected embeddings we can describe the group representations in a simple parametric form $\rho _ { k , w }$ . For a given $\rho _ { k , w }$ the equivariance of $G _ { k }$ is measured as the dispersion after applying the action of the inverse group representation $\rho _ { k , w } ^ { - 1 }$ .
221
+
222
+ 153 Each D(k)LSB measures the degree of equivariance of the projected embeddings for each $k$ -th subgroup
223
+ 154 corresponding to the best fitting group representation. The upper bound to the metric is finally obtained
224
+ 155 by averaging across all subgroups $\begin{array} { r } { \bar { \mathcal { D } } _ { \mathrm { L S B D } } \leq \frac { 1 } { K } \sum _ { k = 1 } ^ { K } \bar { \mathcal { D } } _ { \mathrm { L S B D } } ^ { ( \bar { k } ) } } \end{array}$ .
225
+
226
+ # 156 5 Learning LSBD Representations: LSBD-VAE
227
+
228
+ 157 In this section we present LSBD-VAE, a semi-supervised VAE-based method to learn LSBD repre
229
+ 158 sentations. The main idea is to train an unsupervised Variational Autoencoder (VAE) (Kingma and
230
+ 159 Welling, 2014; Rezende et al., 2014) with a suitable latent space topology, and use our metric as an
231
+ 160 additional loss term for batches of transformation-labeled data.
232
+ 161 Assumptions LSBD-VAE requires some knowledge about the group structure $G$ that is to be
233
+ 162 disentangled. Concretely, the group and its decomposition $G = G _ { 1 } \times \ldots \times G _ { K }$ should be known,
234
+ 163 as well as a suitable linearly disentangled group representation $\rho : G \to { \mathrm { G L } } ( Z )$ and a latent space
235
+ 164 $Z = Z _ { 1 } \oplus . . . \oplus Z _ { K }$ . Moreover, we assume there exists an embedded submanifold $Z _ { G } \subseteq Z$ such
236
+ 165 that the action of $G$ on $Z$ restricted to $Z _ { G }$ is regular, and $Z _ { G }$ is invariant under the action. Only $Z _ { G }$
237
+ 166 will then be used as the codomain for the encoding map, $h : X \to Z _ { G }$ .
238
+ 167 We demonstrate the assumptions above for the common group structure $G = \mathrm { S O } ( 2 ) \times \mathrm { S O } ( 2 )$ . For
239
+ 168 the group representation $\rho = \rho _ { 1 } \oplus \rho _ { 2 }$ , with $Z = \mathbb { R } ^ { 2 } \oplus \mathbb { R } ^ { 2 }$ , we can use rotation matrices in ${ \dot { \mathbb { R } } } ^ { 2 }$ for
240
+ 169 $\rho _ { 1 }$ and $\rho _ { 2 }$ . We can then use 1-spheres $S ^ { 1 } = \{ z \in \mathbb { R } ^ { 2 } : \| z \| = 1 \}$ for the embedded submanifold:
241
+ 170 $\dot { Z } _ { G } = \dot { S } ^ { 1 } \times S ^ { 1 }$ . In this case, the action of $G$ on $Z$ restricted to $Z _ { G }$ is indeed regular, and $Z _ { G }$ is
242
+ 171 invariant under the action.
243
+ 172 Unsupervised Learning on Latent Manifold To learn encodings only on the latent manifold
244
+ 173 $Z _ { G }$ , we use a Diffusion Variational Autoencoder (∆VAE) (Perez Rey et al., 2020). $\Delta$ VAEs can
245
+ 174 use any closed Riemannian manifold embedded in a Euclidean space as a latent space (or latent
246
+ 175 manifold), provided that a certain projection function from the Euclidean embedding space into the
247
+ 176 latent manifold is known and the scalar curvature of the manifold is available. The $\Delta$ VAE uses
248
+ 177 a parametric family of posterior approximates obtained from a diffusion process over the latent
249
+ 178 manifold. To estimate the intractable terms of the negative ELBO, the reparameterization trick is
250
+ 179 implemented via a random walk.
251
+
252
+ In the case of 180 $S ^ { 1 }$ as a latent (sub)manifold, we consider $\mathbb { R } ^ { 2 }$ as the Euclidean embedding space, and 181 the projection function4 $\Pi : \mathbb { R } ^ { 2 } S ^ { 1 }$ normalizes points in the embedding space: $\Pi ( z ) \overset { \cdot } { = } \dot { z } / | z |$ . The scalar curvature of182 $S ^ { 1 }$ is 0.
253
+
254
+ 183 Semi-Supervised Learning with Transformation Labels Caselles-Dupré et al. (2019) proved
255
+ 184 that LSBD representations cannot be inferred from a training set of unlabeled observations, but that
256
+ 185 access to the transformations between data points is needed. They therefore use a training set of
257
+ 186 observation pairs with a given transformation between them.
258
+ 7 However, we posit that only a limited amount of supervision is sufficient. Since obtaining supervision
259
+ 88 on transformations is typically more expensive than obtaining unsupervised observations, it is
260
+ 9 desirable to limit the amount of supervision needed.
261
+ 90 Therefore, we augment the un
262
+ 91 supervised $\Delta \mathrm { V A E }$ with a super
263
+ 92 vised method that makes use of
264
+ 93 transformation-labeled batches, i.e.
265
+ 94 batches $\lbrace x _ { m } \rbrace _ { m = 1 } ^ { M }$ such that $\begin{array} { r l } { x _ { m } } & { { } = } \end{array}$
266
+ 95 $g _ { m } \cdot x _ { 1 }$ for $m = 2 , \ldots , M$ , where
267
+ 96 the transformations $g _ { m }$ (and thus
268
+ 97 their group representations $\rho ( g _ { m } ) ,$ ) are
269
+ 98 known and are referred to as transfor
270
+ 99 mation labels. The simplified version
271
+ 00 of the metric from Equation (4) can
272
+ 01 then be used for each batch as an ad
273
+ 02 ditional loss term (with $x _ { 0 } = x _ { 1 }$ ), as
274
+ 03 it is differentiable under the assump
275
+ 04 tions described above (using the Eu
276
+ 05 clidean norm).
277
+ 206 We make a small adjustment to Equation (4) for the purpose of our method, since the mean computed
278
+ 207 there does not typically lie on the latent manifold $Z _ { G }$ . Thus, we use the projection $\Pi$ from the $\Delta \mathrm { V A E }$
279
+ 208 to project the mean onto $Z _ { G }$ . Writing the encodings as $z _ { m } : = h ( x _ { m } )$ , the additional loss term for a
280
+ 209 transformation-labeled batch $\{ x _ { m } \} _ { m = 1 } ^ { M }$ then becomes
281
+
282
+ ![](images/14b0ae6804074b71a10e2c75bb8cc480774c032b2b00c044a280d3a005805d38.jpg)
283
+ Figure 3: Overview of the supervised part of LSBD-VAE.
284
+
285
+ $$
286
+ \mathcal { L } _ { L S B D } = \frac { 1 } { M } \sum _ { m = 1 } ^ { M } \left. \rho ( g _ { m } ^ { - 1 } ) \cdot z _ { m } - \Pi \left( \frac { 1 } { M } \sum _ { m = 1 } ^ { M } \rho ( g _ { m } ^ { - 1 } ) \cdot z _ { m } \right) \right. ^ { 2 } ,
287
+ $$
288
+
289
+ 210 where $g _ { 1 } = e$ , the group identity.
290
+
291
+ Moreover, instead of feeding the encodings $z _ { m }$ to the decoder, we use $\rho ( g _ { m } ) \cdot \overline { { z } }$ , where ${ \begin{array} { r l } { { \overline { { z } } } } & { = } \end{array} }$ $\begin{array} { r } { \Pi \left( \frac { 1 } { M } \sum _ { m = 1 } ^ { M } \rho ( g _ { m } ^ { - 1 } ) \cdot z _ { m } \right) } \end{array}$ . This encourages the decoder to follow the required group structure. This only affects the reconstruction loss component of the $\Delta \mathrm { V A E }$ .
292
+
293
+ 214 Figure 3 illustrates the supervised part of our method for a transformation-labeled batch $\{ x _ { m } \} _ { m = 1 } ^ { M }$
294
+ 215 The loss function is the regular ELBO (but with adjusted decoder input as described above) as used
295
+ 216 in $\Delta \mathrm { V A E }$ plus an additional term $\gamma \cdot \mathcal { L } _ { L S B D }$ , where $\gamma$ is a weight hyperparameter to control the
296
+ 217 influence of the supervised loss component. By alternating unsupervised and supervised training
297
+ 218 (using the same encoder and decoder), we have a method that makes use of both unlabeled and
298
+ 219 transformation-labeled observations.
299
+
300
+ # 220 6 Experimental Setup
301
+
302
+ 221 We evaluate the disentanglement of several models on three different image datasets (Square, Arrow,
303
+ 222 and Airplane) with a known group decomposition $G = \mathrm { S O } ( 2 ) \times \mathrm { S O } ( 2 )$ describing the underlying
304
+ 223 transformations. For each subgroup a fixed number of $| \mathcal { G } _ { k } | = 6 4$ with $k \in \{ 1 , 2 \}$ transformations is
305
+ 224 selected. The datasets exemplify different group actions of SO(2): periodic translations, in-plane
306
+ 225 rotations, out-of-plane rotations, and periodic hue-shifts.
307
+
308
+ In real settings, not all variability in the data can be modelled by the actions of a group. Therefore, we also evaluate the same models on two datasets ModelNet40 (Wu et al., 2014) and COIL-100 (Nene et al., 1996) that consist of images from various objects (i.e. non-symmetric variation) under known out-of-plane rotations (SO(2) symmetries). In many settings it is easy to obtain labels for such rotations, e.g. when the camera or object angle is controlled by an agent. See Figure 4 for examples of the datasets. For more details, see the Supplementary Material.
309
+
310
+ ![](images/d352a0a16ca7390be9798d1dba330cfe8159e226e0308ecc0b255b93ae06802b.jpg)
311
+ Figure 4: Example images from each of the datasets used. Each row shows different examples from a single factor changing.
312
+
313
+ 232 For the Square, Arrow, and Airplane datasets we test LSBD-VAE with transformation-labeled batches
314
+ 233 of size $M = 2$ . More specifically, for each experiment we randomly select $L$ disjoint pairs of data
315
+ 234 points, and label the transformation between the data points in each pair. We vary the number of
316
+ 235 labeled pairs $L$ from 0 (corresponding to a $\Delta { \mathrm { V A E } } )$ to $N / 2$ (in which case each data point is involved
317
+ 236 in exactly one labeled pair). We set the weight $\gamma$ of the supervised loss component to $\gamma = 1 0 0$
318
+ 237 for all experiments. We choose $M = 2$ for our experiments since it is the most limited setting for
319
+ 238 LSBD-VAE. Higher values of $M$ would provide stronger supervision, so successful results with
320
+ 239 $M = 2$ imply that good results can also be achieved for higher values of $M$ (but not necessarily vice
321
+ 240 versa).
322
+ 241 For the COIL-100 and ModelNet40 datasets, we train LSBD-VAE on batches containing images of
323
+ 242 one particular object from all different angles (72 and 64 for COIL-100 and ModelNet40, respectively).
324
+ 243 Each batch is labelled with transformations $( g _ { 1 } , e ) , \ldots , ( g _ { M } , e )$ , where $g _ { m }$ represent rotations, and
325
+ 244 the unit transformation $e$ indicates that the object is unchanged. To represent the rotations we use
326
+ 245 a $S ^ { 1 }$ latent space as in $\Delta \mathrm { V A E }$ , whereas for the object identity we use a 5-dimensional Euclidean
327
+ 246 space with standard Gaussian prior as in regular VAEs. LSBD is measured as the disentanglement of
328
+ 247 rotations in the latent space. For these experiments we used $\gamma = 1$ .
329
+ 248 We furthermore test a number of known disentanglement methods for comparison, including tra
330
+ 249 ditional disentanglement methods as well as methods focusing on LSBD. In particular, we use
331
+ 250 disentanglement_lib (Locatello et al., 2019) to train a regular VAE (Kingma and Welling, 2014;
332
+ 251 Rezende et al., 2014), $\beta$ -VAE (Higgins et al., 2017), CC-VAE (Burgess et al., 2018), FactorVAE
333
+ 252 (Kim and Mnih, 2018), and DIP-VAE-I/II (Kumar et al., 2018). Furthermore we evaluate the method
334
+ 253 from Quessard et al. (2020) that focuses on LSBD. We also tested ForwardVAE (Caselles-Dupré
335
+ 254 et al., 2019), but show only limited results since we were not able to reproduce any reasonable results
336
+ 255 for our datasets.
337
+ 256 We use encodings from all these methods to evaluate $\mathcal { D } _ { \mathrm { L S B D } }$ , as well as common traditional disentan
338
+ 257 glement metrics from disentanglement_lib: Beta (Higgins et al., 2017), Factor (Kim and Mnih,
339
+ 258 2018), SAP (Kumar et al., 2018), DCI Disentanglement (Eastwood and Williams, 2018), Mutual
340
+ 259 Information Gap (MIG) (Chen et al., 2018), and Modularity (MOD) (Ridgeway and Mozer, 2018).
341
+ 260 More information about the architecture, epochs and hyperparameters can be found in the Supplemen
342
+ 261 tary Material. For the traditional disentanglement methods trained on Square, Arrow and Airplane
343
+ 262 datasets the latent spaces have 4 dimensions, since these are the minimum number of dimensions
344
+ 263 necessary to learn LSBD representations for an underlying $\mathrm { S O } ( 2 ) \times \mathrm { S O } ( 2 )$ symmetry group, see
345
+ 264 (Higgins et al., 2018; Caselles-Dupré et al., 2019). For COIL-100 and ModelNet40 we use latent
346
+ 265 spaces with 7 dimensions for a fair comparison with the LSBD-VAE method.
347
+
348
+ # 266 7 Results: Evaluating LSBD with DLSBD
349
+
350
+ 267 We now highlight four key observations from our experimental results. In particular, we differentiate
351
+ 268 between the methods (VAE, $\beta$ -VAE, CC-VAE, FACTOR, DIP-I, DIP-II) and metrics (BETA,
352
+ 269 FACTOR, SAP, DCI, MIG, MOD) that approach disentanglement in the traditional sense, and
353
+ 270 methods ( $\Delta$ VAE, QUESSARD, LSBD-VAE) and metric $\left( \mathcal { D } _ { \mathrm { L S B D } } \right)$ that focus specifically on LSBD.
354
+ 271 The full quantitative results can be found in the Supplementary Material.
355
+
356
+ Figure 5 summarizes the $\mathcal { D } _ { \mathrm { L S B D } }$ scores (lower is better) for all methods on all datasets. Bars show the mean scores over 10 runs for each method, the vertical lines represent standard deviations. LSBD-VAE/ $L$ indicates our method trained on $L$ labelled pairs (LSBD-VAE/0 corresponds to the unsupervised $\Delta$ VAE), LSBD-VAE/full indicates our method trained on batches containing a single object in all known transformations (for datasets with non-symmetric variation). Note that LSBDVAE obtained very good scores (nearly 0) on the Arrow and Pixel datasets, hence the missing bars.
357
+
358
+ ![](images/3652443315b176261f18f6cfab4007213976ddda2752c30b94584f7a268c25c9.jpg)
359
+ Figure 5: $\mathcal { D } _ { \mathrm { L S B D } }$ scores for all methods on all datasets
360
+
361
+ 280 None of the traditional disentanglement methods achieve good $\mathcal { D } _ { \mathrm { L S B D } }$ scores, even if they score well
362
+ 281 on other traditional disentanglement metrics. This implies that LSBD isn’t achieved by traditional
363
+ 282 methods. Moreover, from the full results in the Supplementary Material we see that the traditional
364
+ 283 methods on these datasets do not achieve good scores on all traditional metrics. In particular, SAP,
365
+ 284 DCI, and MIG scores are low. We believe this is a result of the cyclic nature of the symmetries
366
+ 285 underlying our datasets, further emphasizing the need for disentanglement methods that can capture
367
+ 286 such symmetries.
368
+
369
+ The SAP and MIG scores measure to what extent generative factors are disentangled into a single latent dimension. However, since the factors in our dataset are inherently cyclic due to their symmetry structure, they cannot be properly represented in a single latent dimension, as shown by Perez Rey et al. (2020). Instead, at least two dimensions are needed to continuously represent each cyclic factor in our data. A similar conclusion was made by Caselles-Dupré et al. (2019) and Painter et al. (2020).
370
+
371
+ DCI disentanglement measures whether a latent dimension captures at most one generative factor. This is accomplished by measuring the importance of each latent dimension in predicting the true generative factor using boosted trees. However, since the generative factors are cyclic, the performance of the boosted tree classifiers is far from optimal, thus providing more importance to several dimensions in predicting the generative factors and giving overall lower DCI scores.
372
+
373
+ # 7.2 LSBD-VAE and other LSBD Methods Can Learn LSBD Representations with Limited Supervision on Transformations
374
+
375
+ From Figure 5 we observe that methods focusing specifically on LSBD can score higher on $\mathcal { D } _ { \mathrm { L S B D } }$ , showing that they are indeed more suitable to learn LSBD representations. In particular, LSBD-VAE got very good $\mathcal { D } _ { \mathrm { L S B D } }$ scores for all datasets. Moreover, our experiments on the Arrow, Airplane, and Pixel datasets also show that only limited supervision suffices to obtain good $\mathcal { D } _ { \mathrm { L S B D } }$ scores with low variability.
376
+
377
+ We only partially managed to reproduce the results from Quessard et al. (2020) on our datasets. Their method scored fairly well on the Airplane, ModelNet40, and COIL-100 datasets, but did not do well on the Square and Arrow dataset in our experiments.
378
+
379
+ 307 Furthermore, we tested ForwardVAE by Caselles-Dupré et al. (2019), but we did not manage
380
+ 308 to produce any reasonable results on our datasets, trying both their original architecture and the
381
+ 309 architecture we used for our other experiments. Therefore, we do not include scores for this method.
382
+ 310 We did however manage to reproduce ForwardVAE’s results on the Flatland dataset, which was used
383
+ 311 in their paper. For those experiments, we computed a mean $\mathcal { D } _ { \mathrm { L S B D } }$ score of 0.012 with standard
384
+ 312 deviation 0.001 over 10 runs, indicating that ForwardVAE indeed learns LSBD representations for
385
+ 313 Flatland.
386
+
387
+ # 314 7.3 LSBD Representations Also Satisfy Previous Disentanglement Notions
388
+
389
+ 315 Our results also indicate that LSBD captures various desirable properties that are expressed by
390
+ 316 traditional disentanglement metrics. In Figure 6 we compare $\mathcal { D } _ { \mathrm { L S B D } }$ scores with scores for previous
391
+ 317 disentanglement metrics, for all our experiments. Note that for $\mathcal { D } _ { \mathrm { L S B D } }$ lower is better, whereas for
392
+ 318 all other metrics higher is better. As we noted before, good scores on traditional disentanglement
393
+ 319 metrics don’t necessarily imply good $\mathcal { D } _ { \mathrm { L S B D } }$ scores. Conversely however, methods that score well
394
+ 320 on $\mathcal { D } _ { \mathrm { L S B D } }$ also score well on many traditional disentanglement metrics, often even outperforming
395
+ 321 the traditional methods. In particular, from the full results (see Supplementary Material) we see
396
+ 322 that LSBD-VAE matches or outperforms the traditional methods on the BETA, FACTOR and MOD
397
+ 323 metrics, and achieves much better scores for the DCI metric where traditional methods scored poorly.
398
+ 24 The MIG and SAP scores are still low for methods focusing on LSBD. This is expected however, as
399
+ 25 explained earlier in Section 7.1. This was also observed by Painter et al. (2020) for different datasets.
400
+
401
+ ![](images/d5df3bb8eba3e5aecba8e8dda744d3ce8c49a6d3fbb4299d6bb7f05368fdda94.jpg)
402
+ Figure 6: Comparing $\mathcal { D } _ { \mathrm { L S B D } }$ to previous disentanglement metrics
403
+
404
+ # 326 8 Conclusion
405
+
406
+ 27 We presented $\mathcal { D } _ { \mathrm { L S B D } }$ , a metric to quantify Linear Symmetry-Based Disentanglement (LSBD) as 8 defined by Higgins et al. (2018). We further used this metric formulation to motivate LSBD-VAE, a semi-supervised method to learn LSBD representations given some expert knowledge on the underlying group symmetries that are to be disentangled.
407
+
408
+ We used $\mathcal { D } _ { \mathrm { L S B D } }$ to evaluate various disentanglement methods, both traditional methods and recent methods that specifically focus on LSBD, and showed that LSBD-VAE can learn LSBD representations where traditional methods fail to do so. We also compared $\mathcal { D } _ { \mathrm { L S B D } }$ to traditional disentanglement metrics, showing that LSBD captures many of the same desirable properties that are expressed by existing disentanglement methods. Conversely, we also showed that traditional disentanglement methods and metrics do not usually achieve or measure LSBD.
409
+
410
+ 337 Challenges that remain are expanding and testing LSBD-VAE and $\mathcal { D } _ { \mathrm { L S B D } }$ on different group struc
411
+ 338 tures, towards more practical applications, as well as focusing on the utility of LSBD representations
412
+ 339 for downstream tasks.
413
+ 340 Broader Impact The work is fairly theoretical, and practical methods derived from this work have
414
+ 341 no obvious negative societal impact. However, the ideas presented are relevant to representation
415
+ 342 learning and could be, in particular, used in computer vision and agent control applications.
416
+
417
+ 343 References
418
+ 344 Burgess, C. P., Higgins, I., Pal, A., Matthey, L., Watters, N., Desjardins, G., and Lerchner, A. (2018). Understanding disentangling in $\beta$ -VAE. arXiv preprint arXiv:1804.03599. Caselles-Dupré, H., Ortiz, M. G., and Filliat, D. (2019). Symmetry-based disentangled representation learning requires interaction with environments. In Advances in Neural Information Processing Systems, pages 4606–4615. Chen, T. Q., Li, X., Grosse, R. B., and Duvenaud, D. K. (2018). Isolating sources of disentanglement in variational autoencoders. In Advances in Neural Information Processing Systems, pages 2615– 2625. Cohen, T. and Welling, M. (2014). Learning the irreducible representations of commutative Lie groups. 31st International Conference on Machine Learning, pages 3757–3770.
419
+ 354 Cohen, T. S. and Welling, M. (2015). Transformation properties of learned visual representations. In 3rd International Conference on Learning Representations. Eastwood, C. and Williams, C. K. (2018). A framework for the quantitative evaluation of disentangled representations. In International Conference on Learning Representations.
420
+ 58 Higgins, I., Amos, D., Pfau, D., Racaniere, S., Matthey, L., Rezende, D., and Lerchner, A. (2018). Towards a definition of disentangled representations. arXiv preprint arXiv:1812.02230.
421
+ 60 Higgins, I., Matthey, L., Pal, A., Burgess, C., Glorot, X., Botvinick, M., Mohamed, S., and Lerchner, A. (2017). $\beta$ -VAE: Learning basic visual concepts with a constrained variational framework. In International Conference on Learning Representations.
422
+ 363 Kim, H. and Mnih, A. (2018). Disentangling by factorising. In International Conference on Machine Learning, pages 2649–2658.
423
+ 65 Kingma, D. P. and Welling, M. (2014). Auto-Encoding Variational Bayes. In International Conference on Learning Representations. Kumar, A., Sattigeri, P., and Balakrishnan, A. (2018). Variational inference of disentangled latent concepts from unlabeled observations. In International Conference on Learning Representations.
424
+ 369 Locatello, F., Bauer, S., Lucic, M., Gelly, S., Schölkopf, B., and Bachem, O. (2019). Challenging common assumptions in the unsupervised learning of disentangled representations. In International Conference on Machine Learning.
425
+ 372 Nene, S. A., Nayar, S. K., Murase, H., et al. (1996). Columbia object image library (coil-20).
426
+ Painter, M., Prugel-Bennett, A., and Hare, J. (2020). Linear disentangled representations and unsupervised action estimation. Advances in Neural Information Processing Systems, 33.
427
+ 375 Perez Rey, L. A., Menkovski, V., and Portegies, J. (2020). Diffusion variational autoencoders. In Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence, IJCAI-20, pages 2704–2710.
428
+ Quessard, R., Barrett, T. D., and Clements, W. R. (2020). Learning Group Structure and Disentangled Representations of Dynamical Environments. Advances in Neural Information Processing Systems, 33. Rezende, D. J., Mohamed, S., and Wierstra, D. (2014). Stochastic backpropagation and approximate inference in deep generative models. In Proceedings of the 31st International Conference on International Conference on Machine Learning-Volume 32. Ridgeway, K. and Mozer, M. C. (2018). Learning deep disentangled embeddings with the f-statistic loss. In Advances in Neural Information Processing Systems, pages 185–194.
429
+ 86 Sosnovik, I., Szmaja, M., and Smeulders, A. (2019). Scale-Equivariant Steerable Networks. International Conference on Learning Representations, pages 1–14.
430
+ Worrall, D. E., Garbin, S. J., Turmukhambetov, D., and Brostow, G. J. (2017). Harmonic networks: Deep translation and rotation equivariance. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 5028–5037.
431
+ Wu, Z., Song, S., Khosla, A., Yu, F., Zhang, L., Tang, X., and Xiao, J. (2014). 3D ShapeNets: A Deep Representation for Volumetric Shapes.
432
+
433
+ # Checklist
434
+
435
+ 1. For all authors...
436
+
437
+ (a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes]
438
+ (b) Did you describe the limitations of your work? [Yes]
439
+ (c) Did you discuss any potential negative societal impacts of your work? [Yes] See Section 8
440
+ (d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes]
441
+
442
+ 2. If you are including theoretical results...
443
+
444
+ (a) Did you state the full set of assumptions of all theoretical results? [Yes]
445
+ (b) Did you include complete proofs of all theoretical results? [N/A] The theoretical contributions are new definitions and methodology, these have been motivated but do not require proofs.
446
+
447
+ 3. If you ran experiments...
448
+
449
+ (a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] In Supplementary Material
450
+ (b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] In paper or Supplementary Material
451
+ (c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] Each experiment was run 10 times, we report means and standard deviation, and show error bars where needed.
452
+ (d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] In Supplementary Material we described the hardware. Tracked time of training for experiments with LSBD-VAE and Quessard approach, also reported in the Supplementary Material. The times for training the traditional methods in disentanglement_lib were not measured.
453
+
454
+ 4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
455
+
456
+ (a) If your work uses existing assets, did you cite the creators? [Yes]
457
+ (b) Did you mention the license of the assets? [Yes] In Supplementary Material
458
+ (c) Did you include any new assets either in the supplemental material or as a URL? [Yes] Included code in the Supplementary Material
459
+ (d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [N/A] No consent was needed.
460
+ (e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A] It clearly doesn’t.
461
+
462
+ 5. If you used crowdsourcing or conducted research with human subjects...
463
+
464
+ (a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
465
+ (b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A]
466
+ (c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A]
parse/train/WrotwUEJO59/WrotwUEJO59_content_list.json ADDED
@@ -0,0 +1,1282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Quantifying and Learning Linear Symmetry-Based Disentanglement ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 187,
8
+ 122,
9
+ 812,
10
+ 172
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Anonymous Author(s) \nAffiliation \nAddress \nemail ",
17
+ "bbox": [
18
+ 423,
19
+ 226,
20
+ 580,
21
+ 281
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Abstract ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 462,
31
+ 318,
32
+ 535,
33
+ 334
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "1 The definition of Linear Symmetry-Based Disentanglement (LSBD) formalizes \n2 the notion of linearly disentangled representations, but there is currently no metric \n3 to quantify LSBD. Such a metric is crucial to evaluate LSBD methods and to \n4 compare to previous understandings of disentanglement. We propose $\\mathcal { D } _ { \\mathrm { L S B D } }$ , a \n5 mathematically sound metric to quantify LSBD, and provide a practical implemen \n6 tation. Furthermore, from this metric we derive LSBD-VAE, a semi-supervised \n7 method to learn LSBD representations. We demonstrate the utility of our metric \n8 by showing that (1) common VAE-based disentanglement methods don’t learn \n9 LSBD representations, (2) LSBD-VAE as well as other recent methods can learn \n10 LSBD representations, needing only limited supervision on transformations, and \n11 (3) various desirable properties expressed by existing disentanglement metrics are \n12 also achieved by LSBD representations. ",
40
+ "bbox": [
41
+ 148,
42
+ 349,
43
+ 766,
44
+ 516
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "13 1 Introduction ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 148,
54
+ 542,
55
+ 312,
56
+ 560
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "14 Learning low-dimensional representations that disentangle the underlying factors of variation in data \n15 is considered an important step towards interpretable machine learning with good generalization. To \n16 address the fact that there is no consensus on what disentanglement entails and how to formalize it, \n17 Higgins et al. (2018) propose a formal definition for Linear Symmetry-Based Disentanglement, or \n18 LSBD, arguing that underlying real-world symmetries give exploitable structure to data. \n19 However, there is currently no metric to quantify LSBD. Such a metric is crucial to properly evaluate \n20 methods aiming to learn LSBD representations and to relate LSBD to previous definitions of disentan \n21 glement. Although previous works have evaluated LSBD by measuring performance on downstream \n22 tasks (Caselles-Dupré et al., 2019) or by measuring specific traits related to LSBD (Painter et al., \n23 2020; Quessard et al., 2020), none of these evaluation methods directly quantify LSBD according to \n24 its well-formalized definition. \n25 We propose $\\mathcal { D } _ { \\mathrm { L S B D } }$ , a well-formalized and generally applicable metric that quantifies the level of \n26 LSBD in learned data representations. We show an intuitive justification of this metric, as well \n27 as its theoretical derivation. We also provide a practical implementation to compute $\\mathcal { D } _ { \\mathrm { L S B D } }$ for \n28 common symmetry groups. Furthermore, we show that our metric formulation can be used to derive \n29 a semi-supervised method to learn LSBD representations, which we call LSBD-VAE. To make \n30 LSBD-VAE more widely applicable, we also demonstrate how to disentangle symmetric properties \n31 from other non-symmetric properties, and how to quantify this disentanglement with $\\mathcal { D } _ { \\mathrm { L S B D } }$ . \n32 We show the utility of $\\mathcal { D } _ { \\mathrm { L S B D } }$ by quantifying LSBD in a number of settings, for a variety of datasets \n33 with underlying SO(2) symmetries and other non-symmetric properties. First, we evaluate common \n34 VAE-based disentanglement methods and show that most don’t learn LSBD representations. Second, \n35 we evaluate LSBD-VAE and other recent methods that specifically target LSBD, showing that they \n36 can obtain much better $\\mathcal { D } _ { \\mathrm { L S B D } }$ scores while needing only limited supervision on transformations. \n37 Third, we compare $\\mathcal { D } _ { \\mathrm { L S B D } }$ with existing disentanglement metrics, showing that various desirable \n38 properties expressed with these metrics are also achieved by LSBD representations. ",
63
+ "bbox": [
64
+ 147,
65
+ 575,
66
+ 825,
67
+ 645
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "",
74
+ "bbox": [
75
+ 147,
76
+ 651,
77
+ 825,
78
+ 734
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "",
85
+ "bbox": [
86
+ 147,
87
+ 741,
88
+ 825,
89
+ 838
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "",
96
+ "bbox": [
97
+ 147,
98
+ 844,
99
+ 825,
100
+ 900
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "",
107
+ "bbox": [
108
+ 148,
109
+ 90,
110
+ 826,
111
+ 133
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "39 2 Related Work ",
118
+ "text_level": 1,
119
+ "bbox": [
120
+ 150,
121
+ 152,
122
+ 321,
123
+ 170
124
+ ],
125
+ "page_idx": 1
126
+ },
127
+ {
128
+ "type": "text",
129
+ "text": "40 Plenty of works have focused on learning and quantifying disentangled representations recently, but \n41 research has shown that there is little consensus about the exact definition of disentanglement and \n42 methods often do not achieve it as well as they proclaim (Locatello et al., 2019). To introduce some \n43 much-needed formalization, Higgins et al. (2018) proposed to define disentanglement with respect \n44 to symmetry transformations acting on the data. They used group theory to provide two formal \n45 definitions, which we refer to as (Linear) Symmetry-Based Disentanglement, or (L)SBD. In this \n46 paper we focus only on LSBD, not SBD. \n47 Several methods have been proposed to learn LSBD representations (Caselles-Dupré et al., 2019; \n48 Painter et al., 2020; Quessard et al., 2020). These methods also learn to represent the transformations \n49 acting on the input data, assuming various levels of supervision on these transformations. Other \n50 methods have previously focused on capturing transformations of the data outside the context of \n51 disentanglement as well (Cohen and Welling, 2015; Sosnovik et al., 2019; Worrall et al., 2017). ",
130
+ "bbox": [
131
+ 147,
132
+ 184,
133
+ 825,
134
+ 281
135
+ ],
136
+ "page_idx": 1
137
+ },
138
+ {
139
+ "type": "text",
140
+ "text": "",
141
+ "bbox": [
142
+ 147,
143
+ 286,
144
+ 825,
145
+ 357
146
+ ],
147
+ "page_idx": 1
148
+ },
149
+ {
150
+ "type": "text",
151
+ "text": "52 3 Linear Symmetry-Based Disentanglement ",
152
+ "text_level": 1,
153
+ "bbox": [
154
+ 148,
155
+ 376,
156
+ 555,
157
+ 393
158
+ ],
159
+ "page_idx": 1
160
+ },
161
+ {
162
+ "type": "text",
163
+ "text": "53 Higgins et al. (2018) provide a formal definition of linear disentanglement that connects symmetry \n54 transformations affecting the real world (from which data is observed) to the internal representations \n55 of a model. The definition is grounded in concepts from group theory, we provide a more detailed \n56 description of these concepts in the Supplementary Material. \n57 The definition1 considers a group $G$ of symmetry transformations acting on the data space $X$ through \n58 the group action $\\cdot : G \\times X \\to X$ . In particular, $G$ can be decomposed as the direct product of $K$ \n59 groups $G = G _ { 1 } \\times \\ldots \\times G _ { K }$ . A model’s internal representation of data is modeled with the encoding \n60 function $h : X \\to Z$ that maps data to the embedding space $Z$ . The definition for Linearly Symmetry \n61 Based Disentangled (LSBD) representations then formalizes the requirement that a model’s encoding \n62 $h$ should reflect and disentangle the transformation properties of the data, and that the transformation \n63 properties of the model’s encoding should be linear. The exact definition is as follows: \n64 Definition: Linear Symmetry-Based Disentanglement (LSBD) A model’s encoding map $h :$ \n65 $X Z$ , where $Z$ is a vector space, is LSBD with respect to the group decomposition $G =$ \n66 $G _ { 1 } \\times \\ldots \\times G _ { K }$ if ",
164
+ "bbox": [
165
+ 147,
166
+ 406,
167
+ 825,
168
+ 463
169
+ ],
170
+ "page_idx": 1
171
+ },
172
+ {
173
+ "type": "text",
174
+ "text": "",
175
+ "bbox": [
176
+ 145,
177
+ 468,
178
+ 825,
179
+ 568
180
+ ],
181
+ "page_idx": 1
182
+ },
183
+ {
184
+ "type": "text",
185
+ "text": "",
186
+ "bbox": [
187
+ 147,
188
+ 580,
189
+ 826,
190
+ 625
191
+ ],
192
+ "page_idx": 1
193
+ },
194
+ {
195
+ "type": "text",
196
+ "text": "1. there is a decomposition of the embedding space $Z = Z _ { 1 } \\oplus . . . \\oplus Z _ { K }$ into $K$ vector subspaces, \n2. there are group representations for each subgroup in the corresponding vector subspace $\\rho _ { k } : G _ { k } \\stackrel { \\textstyle \\bar { \\to } } { \\to } \\mathrm { G L } ( Z _ { k } ) , k \\in \\{ 1 , \\dots , K \\}$ \n3. the group representation $\\rho : G \\to { \\mathrm { G L } } ( Z )$ acts on $Z$ as $\\rho ( g ) \\cdot z = ( \\rho _ { 1 } ( g _ { 1 } ) \\cdot z _ { 1 } , \\ldots , \\rho _ { K } ( g _ { K } ) \\cdot z _ { K } ) ,$ (1) for $g = ( g _ { 1 } , \\dotsc , g _ { K } ) \\in G$ and $z = ( z _ { 1 } , \\dots , z _ { K } ) \\in Z$ with $g _ { k } \\in G _ { k }$ and $z _ { k } \\in Z _ { k }$ . \n4. the map $h$ is equivariant with respect to the actions of $G$ on $X$ and $Z$ , i.e. , for all $x \\in X$ and $g \\in G$ it holds that $h ( g \\cdot x ) \\stackrel { } { = } \\rho ( g ) \\cdot h ( x )$ . ",
197
+ "bbox": [
198
+ 207,
199
+ 632,
200
+ 826,
201
+ 794
202
+ ],
203
+ "page_idx": 1
204
+ },
205
+ {
206
+ "type": "text",
207
+ "text": "75 Furthermore, we say that a group representation $\\rho$ is linearly disentangled with respect to the group \n76 decomposition $G = G _ { 1 } \\times \\ldots \\times G _ { K }$ if it satisfies criteria 1 to 3 from the LSBD definition above. ",
208
+ "bbox": [
209
+ 150,
210
+ 803,
211
+ 823,
212
+ 832
213
+ ],
214
+ "page_idx": 1
215
+ },
216
+ {
217
+ "type": "text",
218
+ "text": "78 4.1 Intuition: Measuring Equivariance with Dispersion ",
219
+ "text_level": 1,
220
+ "bbox": [
221
+ 147,
222
+ 119,
223
+ 570,
224
+ 135
225
+ ],
226
+ "page_idx": 2
227
+ },
228
+ {
229
+ "type": "text",
230
+ "text": "79 To motivate our metric, let’s first assume a set \n80 ting in which a suitable linearly disentangled \n81 group representation $\\rho$ is known. Let’s further \n82 assume that the dataset of observations can be \n83 84 exprepoint $x _ { 0 } \\in X$ respe, i.e. $\\{ x _ { n } \\} _ { n = 1 } ^ { N } = { \\bar { \\{ g _ { n } \\cdot x _ { 0 } \\} } } _ { n = 1 } ^ { N }$ $G$ \n85 Formally, this assumes that the action of $G$ on \n86 $X$ is regular. In this case, we can use the inverse \n87 group elements $g _ { n } ^ { - 1 }$ to transform each data point \n88 toward the base point $x _ { 0 }$ , i.e. ",
231
+ "bbox": [
232
+ 150,
233
+ 145,
234
+ 485,
235
+ 284
236
+ ],
237
+ "page_idx": 2
238
+ },
239
+ {
240
+ "type": "equation",
241
+ "img_path": "images/b36a682db9765729e832315a363eb9ccf0058785678887dd55f549323b9e8fa1.jpg",
242
+ "text": "$$\nx _ { 0 } = g _ { 1 } ^ { - 1 } \\cdot x _ { 1 } = \\ldots = g _ { N } ^ { - 1 } \\cdot x _ { N } .\n$$",
243
+ "text_format": "latex",
244
+ "bbox": [
245
+ 217,
246
+ 286,
247
+ 441,
248
+ 306
249
+ ],
250
+ "page_idx": 2
251
+ },
252
+ {
253
+ "type": "text",
254
+ "text": "89 Since $\\rho$ is linearly disentangled, we only need to \n90 measure the equivariance of the encoding map \n91 $h$ to quantify LSBD. Equivariance is achieved \n92 when $h ( g \\cdot x ) = \\rho ( g ) \\cdot h ( x )$ , for all $g \\in G , x \\in$ \n93 $X$ . Given the dataset described above, we can \n94 $\\{ g _ { n } \\} _ { n = 1 } ^ { N }$ s property for .2 In particular $x \\in \\{ x _ { n } \\} _ { n = 1 } ^ { N }$ and n (2) $g \\in$ \n96 can see that we have equivariance if ",
255
+ "bbox": [
256
+ 145,
257
+ 315,
258
+ 485,
259
+ 426
260
+ ],
261
+ "page_idx": 2
262
+ },
263
+ {
264
+ "type": "image",
265
+ "img_path": "images/caa1181c8b0270db28d1a6afc76b50415256cdbf5ee7362a8dc3585ad944ee78.jpg",
266
+ "image_caption": [
267
+ "Figure 1: A dataset of images from a rotating object expressed in terms of the group $G = \\bar { \\mathrm { S O } } ( 2 )$ acting on a base image $x _ { 0 }$ . It is possible to quantify the level of LSBD of an encoding map $h$ by measuring its equivariance with respect to a group representation $\\rho$ . Since all data has been generated from $x _ { 0 }$ , equivariance can be measured as the dispersion of the points $\\{ \\rho ( g _ { n } ^ { - 1 } ) \\cdot h ( x _ { n } ) \\} _ { n = 1 } ^ { N }$ . "
268
+ ],
269
+ "image_footnote": [],
270
+ "bbox": [
271
+ 500,
272
+ 159,
273
+ 823,
274
+ 291
275
+ ],
276
+ "page_idx": 2
277
+ },
278
+ {
279
+ "type": "equation",
280
+ "img_path": "images/6604d58c316b187280af3a7a351bd77a8b813ba38edb8a9ec64bf5007b7ba600.jpg",
281
+ "text": "$$\nh ( x _ { 0 } ) = \\rho ( g _ { 1 } ^ { - 1 } ) \\cdot h ( x _ { 1 } ) = \\ldots = \\rho ( g _ { N } ^ { - 1 } ) \\cdot h ( x _ { N } ) .\n$$",
282
+ "text_format": "latex",
283
+ "bbox": [
284
+ 333,
285
+ 430,
286
+ 665,
287
+ 449
288
+ ],
289
+ "page_idx": 2
290
+ },
291
+ {
292
+ "type": "text",
293
+ "text": "97 This not only characterizes perfect equivariance, but also allows for an efficient way to quantify how \n98 close we are to true equivariance, by measuring the dispersion of the points $\\{ \\rho ( g _ { n } ^ { - 1 } ) \\cdot \\bar { h } ( x _ { n } ) \\} _ { n = 1 } ^ { N }$ . 3 \n99 Given a suitable norm $\\| \\cdot \\| _ { Z }$ in $Z$ , we can thus quantify LSBD in this setting as ",
294
+ "bbox": [
295
+ 145,
296
+ 458,
297
+ 825,
298
+ 502
299
+ ],
300
+ "page_idx": 2
301
+ },
302
+ {
303
+ "type": "equation",
304
+ "img_path": "images/67679bd4de31387071bc372f493817130d753e5f3ea787e988955f1c5af5d40a.jpg",
305
+ "text": "$$\n\\frac { 1 } { N } \\sum _ { n = 1 } ^ { N } \\left. \\rho ( g _ { n } ^ { - 1 } ) \\cdot h ( x _ { n } ) - \\frac { 1 } { N } \\sum _ { n ^ { \\prime } = 1 } ^ { N } \\rho ( g _ { n ^ { \\prime } } ^ { - 1 } ) \\cdot h ( x _ { n ^ { \\prime } } ) \\right. _ { Z } ^ { 2 } ,\n$$",
306
+ "text_format": "latex",
307
+ "bbox": [
308
+ 316,
309
+ 505,
310
+ 679,
311
+ 551
312
+ ],
313
+ "page_idx": 2
314
+ },
315
+ {
316
+ "type": "text",
317
+ "text": "i.e. we compute the mean of 100 $\\{ \\rho ( g _ { n } ^ { - 1 } ) \\cdot h ( x _ { n } ) \\} _ { n = 1 } ^ { N }$ and use the average squared distance to this mean for points in 101 $\\{ \\rho ( g _ { n } ^ { - 1 } ) \\cdot h ( x _ { n } ) \\} _ { n = 1 } ^ { N }$ as our LSBD metric, see Figure 1. ",
318
+ "bbox": [
319
+ 143,
320
+ 555,
321
+ 823,
322
+ 585
323
+ ],
324
+ "page_idx": 2
325
+ },
326
+ {
327
+ "type": "text",
328
+ "text": "02 However, this formulation requires knowing the right linearly disentangled group representation and 103 a suitable norm in $Z$ . Moreover, it implicitly assumes a uniform probability measure over the group elements 104 $\\{ g _ { n } \\} _ { n = 1 } ^ { N }$ . In the next section we formulate our metric for a more general setting. ",
329
+ "bbox": [
330
+ 148,
331
+ 590,
332
+ 828,
333
+ 633
334
+ ],
335
+ "page_idx": 2
336
+ },
337
+ {
338
+ "type": "text",
339
+ "text": "05 4.2 $\\mathcal { D } _ { \\mathrm { L S B D } }$ : A Metric for LSBD ",
340
+ "text_level": 1,
341
+ "bbox": [
342
+ 155,
343
+ 648,
344
+ 405,
345
+ 664
346
+ ],
347
+ "page_idx": 2
348
+ },
349
+ {
350
+ "type": "text",
351
+ "text": "106 Generalizing the ideas from the previous section with concepts from measure theory, we propose a \n107 metric to measure the level of LSBD of any encoding $h : X \\to Z$ given a data probability measure $\\mu$ \n108 on $X$ , provided that $\\mu$ can be written as the pushforward $G _ { X } ( \\cdot , x _ { 0 } ) _ { \\# } \\nu$ of some probability measure \n109 $\\nu$ on $G$ by the function $G _ { X } ( \\cdot , x _ { 0 } )$ for some base point $x _ { 0 }$ . More formally, ",
352
+ "bbox": [
353
+ 140,
354
+ 672,
355
+ 825,
356
+ 729
357
+ ],
358
+ "page_idx": 2
359
+ },
360
+ {
361
+ "type": "equation",
362
+ "img_path": "images/62bc94f4e042da4d4184ce5794d88b881cccae2ca6ee7849d1990bfc469440d6.jpg",
363
+ "text": "$$\n\\mu ( A ) = G _ { X } ( \\cdot , x _ { 0 } ) _ { \\# } \\nu ( A ) = \\nu \\left( \\left\\{ g \\in G \\mid G _ { X } ( g , x _ { 0 } ) \\in A \\right\\} \\right) ,\n$$",
364
+ "text_format": "latex",
365
+ "bbox": [
366
+ 299,
367
+ 733,
368
+ 696,
369
+ 751
370
+ ],
371
+ "page_idx": 2
372
+ },
373
+ {
374
+ "type": "text",
375
+ "text": "10 for Borel subsets $A \\subset X$ . Note that this is only possible if the action $G _ { X }$ is transitive. ",
376
+ "bbox": [
377
+ 156,
378
+ 753,
379
+ 743,
380
+ 768
381
+ ],
382
+ "page_idx": 2
383
+ },
384
+ {
385
+ "type": "text",
386
+ "text": "For example, the situation of a dataset with 111 $N$ datapoints $\\{ x _ { n } \\} _ { n = 1 } ^ { N } = \\{ g _ { n } \\cdot x _ { 0 } \\} _ { n = 1 } ^ { N }$ corresponds to 112 the case in which $\\nu$ and $\\mu$ are empirical measures on the group $G$ and data space $X$ , respectively: ",
387
+ "bbox": [
388
+ 143,
389
+ 772,
390
+ 828,
391
+ 803
392
+ ],
393
+ "page_idx": 2
394
+ },
395
+ {
396
+ "type": "equation",
397
+ "img_path": "images/49788ab162eed399bf796b87846d662e051a47f740e934352f1864035fc87b17.jpg",
398
+ "text": "$$\n\\nu : = \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\delta _ { g _ { i } } , \\qquad \\mu : = \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\delta _ { x _ { i } } .\n$$",
399
+ "text_format": "latex",
400
+ "bbox": [
401
+ 370,
402
+ 806,
403
+ 627,
404
+ 849
405
+ ],
406
+ "page_idx": 2
407
+ },
408
+ {
409
+ "type": "text",
410
+ "text": "2Note that $\\{ g _ { n } \\} _ { n = 1 } ^ { N }$ can be used to describe all known group transformations between elements in the dataset by means of composition and inverses, since $x _ { i } = g _ { i } \\cdot ( g _ { j } ^ { - 1 } \\cdot x _ { j } )$ . Thus it suffices to check equivariance for these $N$ group transformations. ",
411
+ "bbox": [
412
+ 176,
413
+ 857,
414
+ 826,
415
+ 897
416
+ ],
417
+ "page_idx": 2
418
+ },
419
+ {
420
+ "type": "text",
421
+ "text": "3Note that we do not actually need to know $x _ { 0 }$ nor $h ( x _ { 0 } )$ ",
422
+ "bbox": [
423
+ 194,
424
+ 898,
425
+ 535,
426
+ 911
427
+ ],
428
+ "page_idx": 2
429
+ },
430
+ {
431
+ "type": "text",
432
+ "text": "113 We define the metric $\\mathcal { D } _ { \\mathrm { L S B D } }$ for an encoding $h$ and a measure $\\mu$ as ",
433
+ "bbox": [
434
+ 140,
435
+ 90,
436
+ 611,
437
+ 107
438
+ ],
439
+ "page_idx": 3
440
+ },
441
+ {
442
+ "type": "equation",
443
+ "img_path": "images/980f49aff878cc82b43e79f67712c556bda0eec596449c8a3fb57970b1fc1348.jpg",
444
+ "text": "$$\n\\mathcal { D } _ { \\mathrm { L S B D } } : = \\operatorname* { i n f } _ { \\rho \\in \\mathcal { P } ( G , Z ) } \\int _ { G } \\big \\| \\rho ( g ) ^ { - 1 } \\cdot h ( g \\cdot x _ { 0 } ) - M _ { \\rho , h , x _ { 0 } } \\big \\| _ { \\rho , h , \\mu } ^ { 2 } d \\nu ( g ) ,\n$$",
445
+ "text_format": "latex",
446
+ "bbox": [
447
+ 274,
448
+ 108,
449
+ 722,
450
+ 140
451
+ ],
452
+ "page_idx": 3
453
+ },
454
+ {
455
+ "type": "text",
456
+ "text": "114 where the norm $\\| \\cdot \\| _ { \\rho , h , \\mu }$ is a Hilbert-space norm depending on the representation $\\rho$ , the encoding map \n115 $h : X \\to Z$ , and the data measure $\\mu$ . More details of this norm can be found in the Supplementary \n116 Material. Moreover, ${ \\mathcal { P } } ( G , Z )$ denotes the set of linearly disentangled representations of $G$ in $Z$ \n117 Lower values of $\\mathcal { D } _ { \\mathrm { L S B D } }$ indicate better disentanglement, zero being optimal. ",
457
+ "bbox": [
458
+ 147,
459
+ 176,
460
+ 820,
461
+ 233
462
+ ],
463
+ "page_idx": 3
464
+ },
465
+ {
466
+ "type": "text",
467
+ "text": "118 4.3 Practical Computation of $\\mathcal { D } _ { \\mathrm { L S B D } }$ ",
468
+ "text_level": 1,
469
+ "bbox": [
470
+ 147,
471
+ 247,
472
+ 439,
473
+ 262
474
+ ],
475
+ "page_idx": 3
476
+ },
477
+ {
478
+ "type": "text",
479
+ "text": "119 There are two main challenges for computing the metric of Equation (7). First, to calculate the \n120 integrals in the formula, all possible datapoints that can be expressed as $g \\cdot x _ { 0 }$ with $g \\in G =$ \n121 $G _ { 1 } \\times \\cdots \\times G _ { K }$ must be available. Second, the infimum of the integrals over all possible linearly \n122 disentangled representations must be estimated. This requires finding the possible invariant subspaces \n123 $Z = Z _ { 1 } \\oplus \\cdots \\oplus Z _ { K }$ induced by the encoding $h$ over which the group representations are disentangled. \n124 We present a practical implementation of an upper bound to $\\mathcal { D } _ { \\mathrm { L S B D } }$ for an encoding function $h$ given \n125 a dataset $\\mathcal { X }$ generated by some known group transformations. In particular, this approximation of \n126 $\\mathcal { D } _ { \\mathrm { L S B D } }$ is designed for a group decomposition $G = G _ { 1 } \\times \\cdot \\cdot \\cdot \\times G _ { K }$ where each $G _ { k } \\overset { \\vartriangle } { = } \\mathrm { S O } ( D _ { k } )$ with \n127 $k \\in \\{ 1 , \\ldots , K \\}$ the group of rotations in $D _ { k }$ dimensions. This implementation approximates the \n128 integrals of Equation (7) by using the empirical distribution of $\\mathcal { X }$ . The invariant subspaces of $Z$ to the \n129 subgroup actions are found by applying a suitable change of basis. In the new basis, the disentangled \n130 group representations are expressed in a parametric form whose parameters are optimized to find the \n131 tightest bound to $\\mathcal { D } _ { \\mathrm { L S B D } }$ . See Figure 2 for an intuitive description of the process. \n132 Assume there is a dataset $\\mathcal { X }$ that can be modeled in terms of the group decomposition $G = G _ { 1 } \\times \\cdot \\cdot \\cdot G _ { k }$ . \n133 For each $G _ { k }$ subgroup there is a set of known group elements $\\mathcal { G } _ { k } \\subseteq G _ { k }$ uniformly sampled such \n134 that the dataset is described in terms of all elements in $\\mathcal { G } = \\mathcal { G } _ { 1 } \\times \\cdots \\times \\mathcal { G } _ { K }$ and a base point $x _ { 0 }$ as \n135 ${ \\mathcal { X } } = \\left\\{ \\left( g _ { 1 } , \\dots , g _ { K } \\right) \\cdot x _ { 0 } { \\big | } g _ { k } \\in { \\mathcal { G } } _ { k } , ~ k \\in \\left\\{ 1 , \\dots , K \\right\\} \\right\\}$ . \n136 For each subgroup $G _ { k }$ we construct a set of encoded data $\\mathcal { Z } _ { k } \\subseteq Z$ whose variability should only de \n137 pend on the action of $G _ { k }$ . The set $\\mathcal { Z } _ { k }$ is given by $\\mathcal { Z } _ { k } = \\{ z _ { k } ( g _ { 1 } , \\dotsc , g _ { K } ) | g _ { j } \\in \\mathcal { G } _ { j } \\ , j \\in \\{ 1 , \\dotsc , K \\} \\}$ , \n138 in which ",
480
+ "bbox": [
481
+ 140,
482
+ 272,
483
+ 825,
484
+ 343
485
+ ],
486
+ "page_idx": 3
487
+ },
488
+ {
489
+ "type": "text",
490
+ "text": "",
491
+ "bbox": [
492
+ 140,
493
+ 348,
494
+ 825,
495
+ 460
496
+ ],
497
+ "page_idx": 3
498
+ },
499
+ {
500
+ "type": "text",
501
+ "text": "",
502
+ "bbox": [
503
+ 140,
504
+ 465,
505
+ 826,
506
+ 523
507
+ ],
508
+ "page_idx": 3
509
+ },
510
+ {
511
+ "type": "text",
512
+ "text": "",
513
+ "bbox": [
514
+ 140,
515
+ 527,
516
+ 826,
517
+ 569
518
+ ],
519
+ "page_idx": 3
520
+ },
521
+ {
522
+ "type": "equation",
523
+ "img_path": "images/f0d5c35810c488bf356827d30e83dce8213c3a46d6d0debb3ef7e7ac88c3032a.jpg",
524
+ "text": "$$\nz _ { k } ( g _ { 1 } , \\dots , g _ { K } ) = h ( ( g _ { 1 } , \\dots , g _ { K } ) \\cdot x _ { 0 } ) - \\frac { 1 } { | { \\mathcal { G } } _ { k } | } \\sum _ { g ^ { \\prime } \\in { \\mathcal { G } } _ { k } } h ( ( g _ { 1 } , \\dots , g _ { k - 1 } , g ^ { \\prime } , g _ { k + 1 } , \\dots , g _ { K } ) \\cdot x _ { 0 } ) .\n$$",
525
+ "text_format": "latex",
526
+ "bbox": [
527
+ 179,
528
+ 569,
529
+ 797,
530
+ 608
531
+ ],
532
+ "page_idx": 3
533
+ },
534
+ {
535
+ "type": "text",
536
+ "text": "139 Similar to (Cohen and Welling, 2014), we find a suitable change of basis that exposes the invariant \n140 subspace $Z _ { k }$ corresponding to the $k$ -th subgroup $G _ { k }$ . The new basis is obtained from the eigenvectors \n141 resulting from applying Principal Component Analysis (PCA) to $\\mathcal { Z } _ { k }$ . Each element in $\\mathcal { Z } _ { k }$ is projected \n142 into the first $D _ { k }$ eigenvectors. The new set is denoted as $\\mathcal { Z } _ { k } ^ { \\prime } \\subseteq \\mathbb { R } ^ { D _ { k } }$ with elements $z _ { k } ^ { \\prime } ( g _ { 1 } , \\dotsc , g _ { K } ) \\subseteq$ \n143 $\\mathbb { R } ^ { D _ { k } }$ that are the projected versions of $z _ { k } ( g _ { 1 } , \\dots , g _ { K } )$ . \n144 (Quessard et al., 2020) describes how one could parameterize the subgroup representations of $S O ( D _ { k } )$ \n145 for arbitrary $D _ { k }$ but here we will focus on $\\bar { G _ { k } } = S O ( 2 )$ . In this case, we can parameterize each \n146 subgroup representation in terms of a single integer parameter $\\omega \\in \\mathbb { Z }$ as $\\rho _ { k , \\omega } ( g _ { k } )$ corresponding \n147 to a $2 \\times 2$ rotation matrix whose angle of rotation is $\\omega$ multiplied by the known angle associated \n148 to the group element $g _ { k } \\in G _ { k } = \\bar { \\mathrm { S O } ( 2 ) }$ . For this subgroup we can approximate the $M _ { \\rho , h , x _ { 0 } }$ from \n149 Equation (7) as $M _ { k , \\omega }$ given by ",
537
+ "bbox": [
538
+ 140,
539
+ 616,
540
+ 825,
541
+ 689
542
+ ],
543
+ "page_idx": 3
544
+ },
545
+ {
546
+ "type": "text",
547
+ "text": "",
548
+ "bbox": [
549
+ 140,
550
+ 693,
551
+ 825,
552
+ 779
553
+ ],
554
+ "page_idx": 3
555
+ },
556
+ {
557
+ "type": "equation",
558
+ "img_path": "images/e630d52c781b5ac29381049a846db337055462c61b2a8065f5b2959d5797f54e.jpg",
559
+ "text": "$$\nM _ { k , \\omega } = \\frac { 1 } { | \\mathcal { G } | } \\sum _ { ( g _ { 1 } , . . . , g _ { K } ) \\in \\mathcal { G } } \\rho _ { k , \\omega } ( g _ { k } ^ { - 1 } ) \\cdot z ^ { \\prime } ( g _ { 1 } , . . . , g _ { K } ) .\n$$",
560
+ "text_format": "latex",
561
+ "bbox": [
562
+ 325,
563
+ 791,
564
+ 673,
565
+ 832
566
+ ],
567
+ "page_idx": 3
568
+ },
569
+ {
570
+ "type": "text",
571
+ "text": "150 Similar to Equation (7) we would like to find the optimal $\\rho _ { k , \\omega }$ that minimizes the integral over the \n151 group representations. We can define a parameter search space $\\Omega \\subseteq \\mathbb { Z }$ , e.g. $\\Omega = [ - 1 0 , 1 0 ]$ for finding \n152 the optimal $\\omega \\in \\Omega$ that minimizes the dispersion, this is expressed in the following equation ",
572
+ "bbox": [
573
+ 140,
574
+ 832,
575
+ 825,
576
+ 875
577
+ ],
578
+ "page_idx": 3
579
+ },
580
+ {
581
+ "type": "equation",
582
+ "img_path": "images/1e39266bdc1aceebf1762a2e3520b06b6a4f2d6abfba820802179ba62220d6c7.jpg",
583
+ "text": "$$\n\\mathcal { D } _ { \\mathrm { L S B D } } ^ { ( k ) } = \\operatorname* { m i n } _ { \\omega \\in \\Omega } \\frac { 1 } { | \\mathcal { G } | } \\sum _ { ( g _ { 1 } , . . . , g _ { K } ) \\in \\mathcal { G } } \\Vert \\rho _ { k , \\omega } ( g _ { k } ^ { - 1 } ) \\cdot z ^ { \\prime } ( g _ { 1 } , . . . , g _ { K } ) - M _ { k , \\omega } \\Vert ^ { 2 } .\n$$",
584
+ "text_format": "latex",
585
+ "bbox": [
586
+ 264,
587
+ 876,
588
+ 735,
589
+ 915
590
+ ],
591
+ "page_idx": 3
592
+ },
593
+ {
594
+ "type": "image",
595
+ "img_path": "images/9bc32e6cbe7e7f6d136371693d530b9f07c07b31d987bc47851fa12213f21503.jpg",
596
+ "image_caption": [
597
+ "Figure 2: Consider a dataset modeled by a group decomposition $G = G _ { 1 } \\times \\cdot \\cdot \\cdot \\times G _ { K }$ acting on $x _ { 0 }$ and is embedded in a latent space $Z$ via $h$ . In this example the subgroup $G _ { k } = \\mathrm { S O } ( 2 )$ models the rotations of an airplane. Other subgroups $G _ { \\neq k }$ could also be acting e.g. changes in airplane color. The first step to calculate the disentanglement of $G _ { k }$ is to construct a set of data embeddings $\\mathcal { Z } _ { k } \\subseteq Z$ whose variability is due to $G _ { k }$ . These embeddings are then projected into a 2-dimensional space through PCA. For these projected embeddings we can describe the group representations in a simple parametric form $\\rho _ { k , w }$ . For a given $\\rho _ { k , w }$ the equivariance of $G _ { k }$ is measured as the dispersion after applying the action of the inverse group representation $\\rho _ { k , w } ^ { - 1 }$ . "
598
+ ],
599
+ "image_footnote": [],
600
+ "bbox": [
601
+ 173,
602
+ 87,
603
+ 823,
604
+ 223
605
+ ],
606
+ "page_idx": 4
607
+ },
608
+ {
609
+ "type": "text",
610
+ "text": "153 Each D(k)LSB measures the degree of equivariance of the projected embeddings for each $k$ -th subgroup \n154 corresponding to the best fitting group representation. The upper bound to the metric is finally obtained \n155 by averaging across all subgroups $\\begin{array} { r } { \\bar { \\mathcal { D } } _ { \\mathrm { L S B D } } \\leq \\frac { 1 } { K } \\sum _ { k = 1 } ^ { K } \\bar { \\mathcal { D } } _ { \\mathrm { L S B D } } ^ { ( \\bar { k } ) } } \\end{array}$ . ",
611
+ "bbox": [
612
+ 142,
613
+ 371,
614
+ 825,
615
+ 424
616
+ ],
617
+ "page_idx": 4
618
+ },
619
+ {
620
+ "type": "text",
621
+ "text": "156 5 Learning LSBD Representations: LSBD-VAE ",
622
+ "text_level": 1,
623
+ "bbox": [
624
+ 143,
625
+ 441,
626
+ 586,
627
+ 460
628
+ ],
629
+ "page_idx": 4
630
+ },
631
+ {
632
+ "type": "text",
633
+ "text": "157 In this section we present LSBD-VAE, a semi-supervised VAE-based method to learn LSBD repre \n158 sentations. The main idea is to train an unsupervised Variational Autoencoder (VAE) (Kingma and \n159 Welling, 2014; Rezende et al., 2014) with a suitable latent space topology, and use our metric as an \n160 additional loss term for batches of transformation-labeled data. \n161 Assumptions LSBD-VAE requires some knowledge about the group structure $G$ that is to be \n162 disentangled. Concretely, the group and its decomposition $G = G _ { 1 } \\times \\ldots \\times G _ { K }$ should be known, \n163 as well as a suitable linearly disentangled group representation $\\rho : G \\to { \\mathrm { G L } } ( Z )$ and a latent space \n164 $Z = Z _ { 1 } \\oplus . . . \\oplus Z _ { K }$ . Moreover, we assume there exists an embedded submanifold $Z _ { G } \\subseteq Z$ such \n165 that the action of $G$ on $Z$ restricted to $Z _ { G }$ is regular, and $Z _ { G }$ is invariant under the action. Only $Z _ { G }$ \n166 will then be used as the codomain for the encoding map, $h : X \\to Z _ { G }$ . \n167 We demonstrate the assumptions above for the common group structure $G = \\mathrm { S O } ( 2 ) \\times \\mathrm { S O } ( 2 )$ . For \n168 the group representation $\\rho = \\rho _ { 1 } \\oplus \\rho _ { 2 }$ , with $Z = \\mathbb { R } ^ { 2 } \\oplus \\mathbb { R } ^ { 2 }$ , we can use rotation matrices in ${ \\dot { \\mathbb { R } } } ^ { 2 }$ for \n169 $\\rho _ { 1 }$ and $\\rho _ { 2 }$ . We can then use 1-spheres $S ^ { 1 } = \\{ z \\in \\mathbb { R } ^ { 2 } : \\| z \\| = 1 \\}$ for the embedded submanifold: \n170 $\\dot { Z } _ { G } = \\dot { S } ^ { 1 } \\times S ^ { 1 }$ . In this case, the action of $G$ on $Z$ restricted to $Z _ { G }$ is indeed regular, and $Z _ { G }$ is \n171 invariant under the action. \n172 Unsupervised Learning on Latent Manifold To learn encodings only on the latent manifold \n173 $Z _ { G }$ , we use a Diffusion Variational Autoencoder (∆VAE) (Perez Rey et al., 2020). $\\Delta$ VAEs can \n174 use any closed Riemannian manifold embedded in a Euclidean space as a latent space (or latent \n175 manifold), provided that a certain projection function from the Euclidean embedding space into the \n176 latent manifold is known and the scalar curvature of the manifold is available. The $\\Delta$ VAE uses \n177 a parametric family of posterior approximates obtained from a diffusion process over the latent \n178 manifold. To estimate the intractable terms of the negative ELBO, the reparameterization trick is \n179 implemented via a random walk. ",
634
+ "bbox": [
635
+ 142,
636
+ 474,
637
+ 825,
638
+ 531
639
+ ],
640
+ "page_idx": 4
641
+ },
642
+ {
643
+ "type": "text",
644
+ "text": "",
645
+ "bbox": [
646
+ 142,
647
+ 549,
648
+ 825,
649
+ 632
650
+ ],
651
+ "page_idx": 4
652
+ },
653
+ {
654
+ "type": "text",
655
+ "text": "",
656
+ "bbox": [
657
+ 142,
658
+ 638,
659
+ 825,
660
+ 708
661
+ ],
662
+ "page_idx": 4
663
+ },
664
+ {
665
+ "type": "text",
666
+ "text": "",
667
+ "bbox": [
668
+ 142,
669
+ 724,
670
+ 825,
671
+ 837
672
+ ],
673
+ "page_idx": 4
674
+ },
675
+ {
676
+ "type": "text",
677
+ "text": "In the case of 180 $S ^ { 1 }$ as a latent (sub)manifold, we consider $\\mathbb { R } ^ { 2 }$ as the Euclidean embedding space, and 181 the projection function4 $\\Pi : \\mathbb { R } ^ { 2 } S ^ { 1 }$ normalizes points in the embedding space: $\\Pi ( z ) \\overset { \\cdot } { = } \\dot { z } / | z |$ . The scalar curvature of182 $S ^ { 1 }$ is 0. ",
678
+ "bbox": [
679
+ 142,
680
+ 842,
681
+ 825,
682
+ 885
683
+ ],
684
+ "page_idx": 4
685
+ },
686
+ {
687
+ "type": "text",
688
+ "text": "183 Semi-Supervised Learning with Transformation Labels Caselles-Dupré et al. (2019) proved \n184 that LSBD representations cannot be inferred from a training set of unlabeled observations, but that \n185 access to the transformations between data points is needed. They therefore use a training set of \n186 observation pairs with a given transformation between them. \n7 However, we posit that only a limited amount of supervision is sufficient. Since obtaining supervision \n88 on transformations is typically more expensive than obtaining unsupervised observations, it is \n9 desirable to limit the amount of supervision needed. \n90 Therefore, we augment the un \n91 supervised $\\Delta \\mathrm { V A E }$ with a super \n92 vised method that makes use of \n93 transformation-labeled batches, i.e. \n94 batches $\\lbrace x _ { m } \\rbrace _ { m = 1 } ^ { M }$ such that $\\begin{array} { r l } { x _ { m } } & { { } = } \\end{array}$ \n95 $g _ { m } \\cdot x _ { 1 }$ for $m = 2 , \\ldots , M$ , where \n96 the transformations $g _ { m }$ (and thus \n97 their group representations $\\rho ( g _ { m } ) ,$ ) are \n98 known and are referred to as transfor \n99 mation labels. The simplified version \n00 of the metric from Equation (4) can \n01 then be used for each batch as an ad \n02 ditional loss term (with $x _ { 0 } = x _ { 1 }$ ), as \n03 it is differentiable under the assump \n04 tions described above (using the Eu \n05 clidean norm). \n206 We make a small adjustment to Equation (4) for the purpose of our method, since the mean computed \n207 there does not typically lie on the latent manifold $Z _ { G }$ . Thus, we use the projection $\\Pi$ from the $\\Delta \\mathrm { V A E }$ \n208 to project the mean onto $Z _ { G }$ . Writing the encodings as $z _ { m } : = h ( x _ { m } )$ , the additional loss term for a \n209 transformation-labeled batch $\\{ x _ { m } \\} _ { m = 1 } ^ { M }$ then becomes ",
689
+ "bbox": [
690
+ 140,
691
+ 92,
692
+ 825,
693
+ 147
694
+ ],
695
+ "page_idx": 5
696
+ },
697
+ {
698
+ "type": "text",
699
+ "text": "",
700
+ "bbox": [
701
+ 155,
702
+ 152,
703
+ 826,
704
+ 195
705
+ ],
706
+ "page_idx": 5
707
+ },
708
+ {
709
+ "type": "text",
710
+ "text": "",
711
+ "bbox": [
712
+ 153,
713
+ 202,
714
+ 421,
715
+ 422
716
+ ],
717
+ "page_idx": 5
718
+ },
719
+ {
720
+ "type": "image",
721
+ "img_path": "images/14b0ae6804074b71a10e2c75bb8cc480774c032b2b00c044a280d3a005805d38.jpg",
722
+ "image_caption": [
723
+ "Figure 3: Overview of the supervised part of LSBD-VAE. "
724
+ ],
725
+ "image_footnote": [],
726
+ "bbox": [
727
+ 444,
728
+ 215,
729
+ 794,
730
+ 383
731
+ ],
732
+ "page_idx": 5
733
+ },
734
+ {
735
+ "type": "text",
736
+ "text": "",
737
+ "bbox": [
738
+ 142,
739
+ 428,
740
+ 825,
741
+ 486
742
+ ],
743
+ "page_idx": 5
744
+ },
745
+ {
746
+ "type": "equation",
747
+ "img_path": "images/032c3573759a6ae4cf1a306692a843ee2675eb36ca59a765e62cddd5a60ef068.jpg",
748
+ "text": "$$\n\\mathcal { L } _ { L S B D } = \\frac { 1 } { M } \\sum _ { m = 1 } ^ { M } \\left. \\rho ( g _ { m } ^ { - 1 } ) \\cdot z _ { m } - \\Pi \\left( \\frac { 1 } { M } \\sum _ { m = 1 } ^ { M } \\rho ( g _ { m } ^ { - 1 } ) \\cdot z _ { m } \\right) \\right. ^ { 2 } ,\n$$",
749
+ "text_format": "latex",
750
+ "bbox": [
751
+ 279,
752
+ 491,
753
+ 717,
754
+ 536
755
+ ],
756
+ "page_idx": 5
757
+ },
758
+ {
759
+ "type": "text",
760
+ "text": "210 where $g _ { 1 } = e$ , the group identity. ",
761
+ "bbox": [
762
+ 145,
763
+ 540,
764
+ 390,
765
+ 556
766
+ ],
767
+ "page_idx": 5
768
+ },
769
+ {
770
+ "type": "text",
771
+ "text": "Moreover, instead of feeding the encodings $z _ { m }$ to the decoder, we use $\\rho ( g _ { m } ) \\cdot \\overline { { z } }$ , where ${ \\begin{array} { r l } { { \\overline { { z } } } } & { = } \\end{array} }$ $\\begin{array} { r } { \\Pi \\left( \\frac { 1 } { M } \\sum _ { m = 1 } ^ { M } \\rho ( g _ { m } ^ { - 1 } ) \\cdot z _ { m } \\right) } \\end{array}$ . This encourages the decoder to follow the required group structure. This only affects the reconstruction loss component of the $\\Delta \\mathrm { V A E }$ . ",
772
+ "bbox": [
773
+ 163,
774
+ 560,
775
+ 825,
776
+ 613
777
+ ],
778
+ "page_idx": 5
779
+ },
780
+ {
781
+ "type": "text",
782
+ "text": "214 Figure 3 illustrates the supervised part of our method for a transformation-labeled batch $\\{ x _ { m } \\} _ { m = 1 } ^ { M }$ \n215 The loss function is the regular ELBO (but with adjusted decoder input as described above) as used \n216 in $\\Delta \\mathrm { V A E }$ plus an additional term $\\gamma \\cdot \\mathcal { L } _ { L S B D }$ , where $\\gamma$ is a weight hyperparameter to control the \n217 influence of the supervised loss component. By alternating unsupervised and supervised training \n218 (using the same encoder and decoder), we have a method that makes use of both unlabeled and \n219 transformation-labeled observations. ",
783
+ "bbox": [
784
+ 142,
785
+ 618,
786
+ 825,
787
+ 702
788
+ ],
789
+ "page_idx": 5
790
+ },
791
+ {
792
+ "type": "text",
793
+ "text": "220 6 Experimental Setup ",
794
+ "text_level": 1,
795
+ "bbox": [
796
+ 153,
797
+ 720,
798
+ 372,
799
+ 738
800
+ ],
801
+ "page_idx": 5
802
+ },
803
+ {
804
+ "type": "text",
805
+ "text": "221 We evaluate the disentanglement of several models on three different image datasets (Square, Arrow, \n222 and Airplane) with a known group decomposition $G = \\mathrm { S O } ( 2 ) \\times \\mathrm { S O } ( 2 )$ describing the underlying \n223 transformations. For each subgroup a fixed number of $| \\mathcal { G } _ { k } | = 6 4$ with $k \\in \\{ 1 , 2 \\}$ transformations is \n224 selected. The datasets exemplify different group actions of SO(2): periodic translations, in-plane \n225 rotations, out-of-plane rotations, and periodic hue-shifts. ",
806
+ "bbox": [
807
+ 143,
808
+ 752,
809
+ 825,
810
+ 821
811
+ ],
812
+ "page_idx": 5
813
+ },
814
+ {
815
+ "type": "text",
816
+ "text": "In real settings, not all variability in the data can be modelled by the actions of a group. Therefore, we also evaluate the same models on two datasets ModelNet40 (Wu et al., 2014) and COIL-100 (Nene et al., 1996) that consist of images from various objects (i.e. non-symmetric variation) under known out-of-plane rotations (SO(2) symmetries). In many settings it is easy to obtain labels for such rotations, e.g. when the camera or object angle is controlled by an agent. See Figure 4 for examples of the datasets. For more details, see the Supplementary Material. ",
817
+ "bbox": [
818
+ 161,
819
+ 827,
820
+ 825,
821
+ 911
822
+ ],
823
+ "page_idx": 5
824
+ },
825
+ {
826
+ "type": "image",
827
+ "img_path": "images/d352a0a16ca7390be9798d1dba330cfe8159e226e0308ecc0b255b93ae06802b.jpg",
828
+ "image_caption": [
829
+ "Figure 4: Example images from each of the datasets used. Each row shows different examples from a single factor changing. "
830
+ ],
831
+ "image_footnote": [],
832
+ "bbox": [
833
+ 186,
834
+ 87,
835
+ 815,
836
+ 218
837
+ ],
838
+ "page_idx": 6
839
+ },
840
+ {
841
+ "type": "text",
842
+ "text": "232 For the Square, Arrow, and Airplane datasets we test LSBD-VAE with transformation-labeled batches \n233 of size $M = 2$ . More specifically, for each experiment we randomly select $L$ disjoint pairs of data \n234 points, and label the transformation between the data points in each pair. We vary the number of \n235 labeled pairs $L$ from 0 (corresponding to a $\\Delta { \\mathrm { V A E } } )$ to $N / 2$ (in which case each data point is involved \n236 in exactly one labeled pair). We set the weight $\\gamma$ of the supervised loss component to $\\gamma = 1 0 0$ \n237 for all experiments. We choose $M = 2$ for our experiments since it is the most limited setting for \n238 LSBD-VAE. Higher values of $M$ would provide stronger supervision, so successful results with \n239 $M = 2$ imply that good results can also be achieved for higher values of $M$ (but not necessarily vice \n240 versa). \n241 For the COIL-100 and ModelNet40 datasets, we train LSBD-VAE on batches containing images of \n242 one particular object from all different angles (72 and 64 for COIL-100 and ModelNet40, respectively). \n243 Each batch is labelled with transformations $( g _ { 1 } , e ) , \\ldots , ( g _ { M } , e )$ , where $g _ { m }$ represent rotations, and \n244 the unit transformation $e$ indicates that the object is unchanged. To represent the rotations we use \n245 a $S ^ { 1 }$ latent space as in $\\Delta \\mathrm { V A E }$ , whereas for the object identity we use a 5-dimensional Euclidean \n246 space with standard Gaussian prior as in regular VAEs. LSBD is measured as the disentanglement of \n247 rotations in the latent space. For these experiments we used $\\gamma = 1$ . \n248 We furthermore test a number of known disentanglement methods for comparison, including tra \n249 ditional disentanglement methods as well as methods focusing on LSBD. In particular, we use \n250 disentanglement_lib (Locatello et al., 2019) to train a regular VAE (Kingma and Welling, 2014; \n251 Rezende et al., 2014), $\\beta$ -VAE (Higgins et al., 2017), CC-VAE (Burgess et al., 2018), FactorVAE \n252 (Kim and Mnih, 2018), and DIP-VAE-I/II (Kumar et al., 2018). Furthermore we evaluate the method \n253 from Quessard et al. (2020) that focuses on LSBD. We also tested ForwardVAE (Caselles-Dupré \n254 et al., 2019), but show only limited results since we were not able to reproduce any reasonable results \n255 for our datasets. \n256 We use encodings from all these methods to evaluate $\\mathcal { D } _ { \\mathrm { L S B D } }$ , as well as common traditional disentan \n257 glement metrics from disentanglement_lib: Beta (Higgins et al., 2017), Factor (Kim and Mnih, \n258 2018), SAP (Kumar et al., 2018), DCI Disentanglement (Eastwood and Williams, 2018), Mutual \n259 Information Gap (MIG) (Chen et al., 2018), and Modularity (MOD) (Ridgeway and Mozer, 2018). \n260 More information about the architecture, epochs and hyperparameters can be found in the Supplemen \n261 tary Material. For the traditional disentanglement methods trained on Square, Arrow and Airplane \n262 datasets the latent spaces have 4 dimensions, since these are the minimum number of dimensions \n263 necessary to learn LSBD representations for an underlying $\\mathrm { S O } ( 2 ) \\times \\mathrm { S O } ( 2 )$ symmetry group, see \n264 (Higgins et al., 2018; Caselles-Dupré et al., 2019). For COIL-100 and ModelNet40 we use latent \n265 spaces with 7 dimensions for a fair comparison with the LSBD-VAE method. ",
843
+ "bbox": [
844
+ 142,
845
+ 285,
846
+ 825,
847
+ 411
848
+ ],
849
+ "page_idx": 6
850
+ },
851
+ {
852
+ "type": "text",
853
+ "text": "",
854
+ "bbox": [
855
+ 140,
856
+ 417,
857
+ 825,
858
+ 515
859
+ ],
860
+ "page_idx": 6
861
+ },
862
+ {
863
+ "type": "text",
864
+ "text": "",
865
+ "bbox": [
866
+ 140,
867
+ 521,
868
+ 825,
869
+ 632
870
+ ],
871
+ "page_idx": 6
872
+ },
873
+ {
874
+ "type": "text",
875
+ "text": "",
876
+ "bbox": [
877
+ 142,
878
+ 637,
879
+ 826,
880
+ 694
881
+ ],
882
+ "page_idx": 6
883
+ },
884
+ {
885
+ "type": "text",
886
+ "text": "",
887
+ "bbox": [
888
+ 140,
889
+ 700,
890
+ 825,
891
+ 784
892
+ ],
893
+ "page_idx": 6
894
+ },
895
+ {
896
+ "type": "text",
897
+ "text": "266 7 Results: Evaluating LSBD with DLSBD ",
898
+ "text_level": 1,
899
+ "bbox": [
900
+ 143,
901
+ 808,
902
+ 524,
903
+ 825
904
+ ],
905
+ "page_idx": 6
906
+ },
907
+ {
908
+ "type": "text",
909
+ "text": "267 We now highlight four key observations from our experimental results. In particular, we differentiate \n268 between the methods (VAE, $\\beta$ -VAE, CC-VAE, FACTOR, DIP-I, DIP-II) and metrics (BETA, \n269 FACTOR, SAP, DCI, MIG, MOD) that approach disentanglement in the traditional sense, and \n270 methods ( $\\Delta$ VAE, QUESSARD, LSBD-VAE) and metric $\\left( \\mathcal { D } _ { \\mathrm { L S B D } } \\right)$ that focus specifically on LSBD. \n271 The full quantitative results can be found in the Supplementary Material. ",
910
+ "bbox": [
911
+ 140,
912
+ 842,
913
+ 826,
914
+ 911
915
+ ],
916
+ "page_idx": 6
917
+ },
918
+ {
919
+ "type": "text",
920
+ "text": "Figure 5 summarizes the $\\mathcal { D } _ { \\mathrm { L S B D } }$ scores (lower is better) for all methods on all datasets. Bars show the mean scores over 10 runs for each method, the vertical lines represent standard deviations. LSBD-VAE/ $L$ indicates our method trained on $L$ labelled pairs (LSBD-VAE/0 corresponds to the unsupervised $\\Delta$ VAE), LSBD-VAE/full indicates our method trained on batches containing a single object in all known transformations (for datasets with non-symmetric variation). Note that LSBDVAE obtained very good scores (nearly 0) on the Arrow and Pixel datasets, hence the missing bars. ",
921
+ "bbox": [
922
+ 165,
923
+ 116,
924
+ 825,
925
+ 214
926
+ ],
927
+ "page_idx": 7
928
+ },
929
+ {
930
+ "type": "image",
931
+ "img_path": "images/3652443315b176261f18f6cfab4007213976ddda2752c30b94584f7a268c25c9.jpg",
932
+ "image_caption": [
933
+ "Figure 5: $\\mathcal { D } _ { \\mathrm { L S B D } }$ scores for all methods on all datasets "
934
+ ],
935
+ "image_footnote": [],
936
+ "bbox": [
937
+ 178,
938
+ 228,
939
+ 818,
940
+ 412
941
+ ],
942
+ "page_idx": 7
943
+ },
944
+ {
945
+ "type": "text",
946
+ "text": "280 None of the traditional disentanglement methods achieve good $\\mathcal { D } _ { \\mathrm { L S B D } }$ scores, even if they score well \n281 on other traditional disentanglement metrics. This implies that LSBD isn’t achieved by traditional \n282 methods. Moreover, from the full results in the Supplementary Material we see that the traditional \n283 methods on these datasets do not achieve good scores on all traditional metrics. In particular, SAP, \n284 DCI, and MIG scores are low. We believe this is a result of the cyclic nature of the symmetries \n285 underlying our datasets, further emphasizing the need for disentanglement methods that can capture \n286 such symmetries. ",
947
+ "bbox": [
948
+ 140,
949
+ 454,
950
+ 825,
951
+ 551
952
+ ],
953
+ "page_idx": 7
954
+ },
955
+ {
956
+ "type": "text",
957
+ "text": "The SAP and MIG scores measure to what extent generative factors are disentangled into a single latent dimension. However, since the factors in our dataset are inherently cyclic due to their symmetry structure, they cannot be properly represented in a single latent dimension, as shown by Perez Rey et al. (2020). Instead, at least two dimensions are needed to continuously represent each cyclic factor in our data. A similar conclusion was made by Caselles-Dupré et al. (2019) and Painter et al. (2020). ",
958
+ "bbox": [
959
+ 171,
960
+ 558,
961
+ 825,
962
+ 627
963
+ ],
964
+ "page_idx": 7
965
+ },
966
+ {
967
+ "type": "text",
968
+ "text": "DCI disentanglement measures whether a latent dimension captures at most one generative factor. This is accomplished by measuring the importance of each latent dimension in predicting the true generative factor using boosted trees. However, since the generative factors are cyclic, the performance of the boosted tree classifiers is far from optimal, thus providing more importance to several dimensions in predicting the generative factors and giving overall lower DCI scores. ",
969
+ "bbox": [
970
+ 174,
971
+ 633,
972
+ 825,
973
+ 704
974
+ ],
975
+ "page_idx": 7
976
+ },
977
+ {
978
+ "type": "text",
979
+ "text": "7.2 LSBD-VAE and other LSBD Methods Can Learn LSBD Representations with Limited Supervision on Transformations ",
980
+ "text_level": 1,
981
+ "bbox": [
982
+ 173,
983
+ 719,
984
+ 812,
985
+ 748
986
+ ],
987
+ "page_idx": 7
988
+ },
989
+ {
990
+ "type": "text",
991
+ "text": "From Figure 5 we observe that methods focusing specifically on LSBD can score higher on $\\mathcal { D } _ { \\mathrm { L S B D } }$ , showing that they are indeed more suitable to learn LSBD representations. In particular, LSBD-VAE got very good $\\mathcal { D } _ { \\mathrm { L S B D } }$ scores for all datasets. Moreover, our experiments on the Arrow, Airplane, and Pixel datasets also show that only limited supervision suffices to obtain good $\\mathcal { D } _ { \\mathrm { L S B D } }$ scores with low variability. ",
992
+ "bbox": [
993
+ 174,
994
+ 758,
995
+ 825,
996
+ 829
997
+ ],
998
+ "page_idx": 7
999
+ },
1000
+ {
1001
+ "type": "text",
1002
+ "text": "We only partially managed to reproduce the results from Quessard et al. (2020) on our datasets. Their method scored fairly well on the Airplane, ModelNet40, and COIL-100 datasets, but did not do well on the Square and Arrow dataset in our experiments. ",
1003
+ "bbox": [
1004
+ 173,
1005
+ 835,
1006
+ 825,
1007
+ 877
1008
+ ],
1009
+ "page_idx": 7
1010
+ },
1011
+ {
1012
+ "type": "text",
1013
+ "text": "307 Furthermore, we tested ForwardVAE by Caselles-Dupré et al. (2019), but we did not manage \n308 to produce any reasonable results on our datasets, trying both their original architecture and the \n309 architecture we used for our other experiments. Therefore, we do not include scores for this method. \n310 We did however manage to reproduce ForwardVAE’s results on the Flatland dataset, which was used \n311 in their paper. For those experiments, we computed a mean $\\mathcal { D } _ { \\mathrm { L S B D } }$ score of 0.012 with standard \n312 deviation 0.001 over 10 runs, indicating that ForwardVAE indeed learns LSBD representations for \n313 Flatland. ",
1014
+ "bbox": [
1015
+ 147,
1016
+ 882,
1017
+ 825,
1018
+ 911
1019
+ ],
1020
+ "page_idx": 7
1021
+ },
1022
+ {
1023
+ "type": "text",
1024
+ "text": "",
1025
+ "bbox": [
1026
+ 140,
1027
+ 92,
1028
+ 825,
1029
+ 161
1030
+ ],
1031
+ "page_idx": 8
1032
+ },
1033
+ {
1034
+ "type": "text",
1035
+ "text": "314 7.3 LSBD Representations Also Satisfy Previous Disentanglement Notions ",
1036
+ "text_level": 1,
1037
+ "bbox": [
1038
+ 145,
1039
+ 184,
1040
+ 700,
1041
+ 199
1042
+ ],
1043
+ "page_idx": 8
1044
+ },
1045
+ {
1046
+ "type": "text",
1047
+ "text": "315 Our results also indicate that LSBD captures various desirable properties that are expressed by \n316 traditional disentanglement metrics. In Figure 6 we compare $\\mathcal { D } _ { \\mathrm { L S B D } }$ scores with scores for previous \n317 disentanglement metrics, for all our experiments. Note that for $\\mathcal { D } _ { \\mathrm { L S B D } }$ lower is better, whereas for \n318 all other metrics higher is better. As we noted before, good scores on traditional disentanglement \n319 metrics don’t necessarily imply good $\\mathcal { D } _ { \\mathrm { L S B D } }$ scores. Conversely however, methods that score well \n320 on $\\mathcal { D } _ { \\mathrm { L S B D } }$ also score well on many traditional disentanglement metrics, often even outperforming \n321 the traditional methods. In particular, from the full results (see Supplementary Material) we see \n322 that LSBD-VAE matches or outperforms the traditional methods on the BETA, FACTOR and MOD \n323 metrics, and achieves much better scores for the DCI metric where traditional methods scored poorly. \n24 The MIG and SAP scores are still low for methods focusing on LSBD. This is expected however, as \n25 explained earlier in Section 7.1. This was also observed by Painter et al. (2020) for different datasets. ",
1048
+ "bbox": [
1049
+ 142,
1050
+ 212,
1051
+ 825,
1052
+ 337
1053
+ ],
1054
+ "page_idx": 8
1055
+ },
1056
+ {
1057
+ "type": "text",
1058
+ "text": "",
1059
+ "bbox": [
1060
+ 151,
1061
+ 343,
1062
+ 825,
1063
+ 372
1064
+ ],
1065
+ "page_idx": 8
1066
+ },
1067
+ {
1068
+ "type": "image",
1069
+ "img_path": "images/d5df3bb8eba3e5aecba8e8dda744d3ce8c49a6d3fbb4299d6bb7f05368fdda94.jpg",
1070
+ "image_caption": [
1071
+ "Figure 6: Comparing $\\mathcal { D } _ { \\mathrm { L S B D } }$ to previous disentanglement metrics "
1072
+ ],
1073
+ "image_footnote": [],
1074
+ "bbox": [
1075
+ 183,
1076
+ 395,
1077
+ 818,
1078
+ 554
1079
+ ],
1080
+ "page_idx": 8
1081
+ },
1082
+ {
1083
+ "type": "text",
1084
+ "text": "326 8 Conclusion ",
1085
+ "text_level": 1,
1086
+ "bbox": [
1087
+ 143,
1088
+ 618,
1089
+ 299,
1090
+ 635
1091
+ ],
1092
+ "page_idx": 8
1093
+ },
1094
+ {
1095
+ "type": "text",
1096
+ "text": "27 We presented $\\mathcal { D } _ { \\mathrm { L S B D } }$ , a metric to quantify Linear Symmetry-Based Disentanglement (LSBD) as 8 defined by Higgins et al. (2018). We further used this metric formulation to motivate LSBD-VAE, a semi-supervised method to learn LSBD representations given some expert knowledge on the underlying group symmetries that are to be disentangled. ",
1097
+ "bbox": [
1098
+ 156,
1099
+ 654,
1100
+ 825,
1101
+ 709
1102
+ ],
1103
+ "page_idx": 8
1104
+ },
1105
+ {
1106
+ "type": "text",
1107
+ "text": "We used $\\mathcal { D } _ { \\mathrm { L S B D } }$ to evaluate various disentanglement methods, both traditional methods and recent methods that specifically focus on LSBD, and showed that LSBD-VAE can learn LSBD representations where traditional methods fail to do so. We also compared $\\mathcal { D } _ { \\mathrm { L S B D } }$ to traditional disentanglement metrics, showing that LSBD captures many of the same desirable properties that are expressed by existing disentanglement methods. Conversely, we also showed that traditional disentanglement methods and metrics do not usually achieve or measure LSBD. ",
1108
+ "bbox": [
1109
+ 168,
1110
+ 715,
1111
+ 825,
1112
+ 799
1113
+ ],
1114
+ "page_idx": 8
1115
+ },
1116
+ {
1117
+ "type": "text",
1118
+ "text": "337 Challenges that remain are expanding and testing LSBD-VAE and $\\mathcal { D } _ { \\mathrm { L S B D } }$ on different group struc \n338 tures, towards more practical applications, as well as focusing on the utility of LSBD representations \n339 for downstream tasks. \n340 Broader Impact The work is fairly theoretical, and practical methods derived from this work have \n341 no obvious negative societal impact. However, the ideas presented are relevant to representation \n342 learning and could be, in particular, used in computer vision and agent control applications. ",
1119
+ "bbox": [
1120
+ 143,
1121
+ 805,
1122
+ 825,
1123
+ 847
1124
+ ],
1125
+ "page_idx": 8
1126
+ },
1127
+ {
1128
+ "type": "text",
1129
+ "text": "",
1130
+ "bbox": [
1131
+ 142,
1132
+ 869,
1133
+ 825,
1134
+ 911
1135
+ ],
1136
+ "page_idx": 8
1137
+ },
1138
+ {
1139
+ "type": "text",
1140
+ "text": "343 References \n344 Burgess, C. P., Higgins, I., Pal, A., Matthey, L., Watters, N., Desjardins, G., and Lerchner, A. (2018). Understanding disentangling in $\\beta$ -VAE. arXiv preprint arXiv:1804.03599. Caselles-Dupré, H., Ortiz, M. G., and Filliat, D. (2019). Symmetry-based disentangled representation learning requires interaction with environments. In Advances in Neural Information Processing Systems, pages 4606–4615. Chen, T. Q., Li, X., Grosse, R. B., and Duvenaud, D. K. (2018). Isolating sources of disentanglement in variational autoencoders. In Advances in Neural Information Processing Systems, pages 2615– 2625. Cohen, T. and Welling, M. (2014). Learning the irreducible representations of commutative Lie groups. 31st International Conference on Machine Learning, pages 3757–3770. \n354 Cohen, T. S. and Welling, M. (2015). Transformation properties of learned visual representations. In 3rd International Conference on Learning Representations. Eastwood, C. and Williams, C. K. (2018). A framework for the quantitative evaluation of disentangled representations. In International Conference on Learning Representations. \n58 Higgins, I., Amos, D., Pfau, D., Racaniere, S., Matthey, L., Rezende, D., and Lerchner, A. (2018). Towards a definition of disentangled representations. arXiv preprint arXiv:1812.02230. \n60 Higgins, I., Matthey, L., Pal, A., Burgess, C., Glorot, X., Botvinick, M., Mohamed, S., and Lerchner, A. (2017). $\\beta$ -VAE: Learning basic visual concepts with a constrained variational framework. In International Conference on Learning Representations. \n363 Kim, H. and Mnih, A. (2018). Disentangling by factorising. In International Conference on Machine Learning, pages 2649–2658. \n65 Kingma, D. P. and Welling, M. (2014). Auto-Encoding Variational Bayes. In International Conference on Learning Representations. Kumar, A., Sattigeri, P., and Balakrishnan, A. (2018). Variational inference of disentangled latent concepts from unlabeled observations. In International Conference on Learning Representations. \n369 Locatello, F., Bauer, S., Lucic, M., Gelly, S., Schölkopf, B., and Bachem, O. (2019). Challenging common assumptions in the unsupervised learning of disentangled representations. In International Conference on Machine Learning. \n372 Nene, S. A., Nayar, S. K., Murase, H., et al. (1996). Columbia object image library (coil-20). \nPainter, M., Prugel-Bennett, A., and Hare, J. (2020). Linear disentangled representations and unsupervised action estimation. Advances in Neural Information Processing Systems, 33. \n375 Perez Rey, L. A., Menkovski, V., and Portegies, J. (2020). Diffusion variational autoencoders. In Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence, IJCAI-20, pages 2704–2710. \nQuessard, R., Barrett, T. D., and Clements, W. R. (2020). Learning Group Structure and Disentangled Representations of Dynamical Environments. Advances in Neural Information Processing Systems, 33. Rezende, D. J., Mohamed, S., and Wierstra, D. (2014). Stochastic backpropagation and approximate inference in deep generative models. In Proceedings of the 31st International Conference on International Conference on Machine Learning-Volume 32. Ridgeway, K. and Mozer, M. C. (2018). Learning deep disentangled embeddings with the f-statistic loss. In Advances in Neural Information Processing Systems, pages 185–194. \n86 Sosnovik, I., Szmaja, M., and Smeulders, A. (2019). Scale-Equivariant Steerable Networks. International Conference on Learning Representations, pages 1–14. \nWorrall, D. E., Garbin, S. J., Turmukhambetov, D., and Brostow, G. J. (2017). Harmonic networks: Deep translation and rotation equivariance. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 5028–5037. \nWu, Z., Song, S., Khosla, A., Yu, F., Zhang, L., Tang, X., and Xiao, J. (2014). 3D ShapeNets: A Deep Representation for Volumetric Shapes. ",
1141
+ "bbox": [
1142
+ 150,
1143
+ 82,
1144
+ 828,
1145
+ 922
1146
+ ],
1147
+ "page_idx": 9
1148
+ },
1149
+ {
1150
+ "type": "text",
1151
+ "text": "",
1152
+ "bbox": [
1153
+ 165,
1154
+ 90,
1155
+ 826,
1156
+ 171
1157
+ ],
1158
+ "page_idx": 10
1159
+ },
1160
+ {
1161
+ "type": "text",
1162
+ "text": "Checklist ",
1163
+ "text_level": 1,
1164
+ "bbox": [
1165
+ 173,
1166
+ 196,
1167
+ 254,
1168
+ 213
1169
+ ],
1170
+ "page_idx": 10
1171
+ },
1172
+ {
1173
+ "type": "text",
1174
+ "text": "1. For all authors... ",
1175
+ "bbox": [
1176
+ 214,
1177
+ 223,
1178
+ 339,
1179
+ 238
1180
+ ],
1181
+ "page_idx": 10
1182
+ },
1183
+ {
1184
+ "type": "text",
1185
+ "text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] \n(b) Did you describe the limitations of your work? [Yes] \n(c) Did you discuss any potential negative societal impacts of your work? [Yes] See Section 8 \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
1186
+ "bbox": [
1187
+ 238,
1188
+ 242,
1189
+ 825,
1190
+ 347
1191
+ ],
1192
+ "page_idx": 10
1193
+ },
1194
+ {
1195
+ "type": "text",
1196
+ "text": "2. If you are including theoretical results... ",
1197
+ "bbox": [
1198
+ 214,
1199
+ 352,
1200
+ 493,
1201
+ 366
1202
+ ],
1203
+ "page_idx": 10
1204
+ },
1205
+ {
1206
+ "type": "text",
1207
+ "text": "(a) Did you state the full set of assumptions of all theoretical results? [Yes] \n(b) Did you include complete proofs of all theoretical results? [N/A] The theoretical contributions are new definitions and methodology, these have been motivated but do not require proofs. ",
1208
+ "bbox": [
1209
+ 238,
1210
+ 369,
1211
+ 825,
1212
+ 429
1213
+ ],
1214
+ "page_idx": 10
1215
+ },
1216
+ {
1217
+ "type": "text",
1218
+ "text": "3. If you ran experiments... ",
1219
+ "bbox": [
1220
+ 214,
1221
+ 433,
1222
+ 393,
1223
+ 448
1224
+ ],
1225
+ "page_idx": 10
1226
+ },
1227
+ {
1228
+ "type": "text",
1229
+ "text": "(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] In Supplementary Material \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] In paper or Supplementary Material \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] Each experiment was run 10 times, we report means and standard deviation, and show error bars where needed. \n(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] In Supplementary Material we described the hardware. Tracked time of training for experiments with LSBD-VAE and Quessard approach, also reported in the Supplementary Material. The times for training the traditional methods in disentanglement_lib were not measured. ",
1230
+ "bbox": [
1231
+ 238,
1232
+ 452,
1233
+ 825,
1234
+ 638
1235
+ ],
1236
+ "page_idx": 10
1237
+ },
1238
+ {
1239
+ "type": "text",
1240
+ "text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
1241
+ "bbox": [
1242
+ 215,
1243
+ 643,
1244
+ 825,
1245
+ 659
1246
+ ],
1247
+ "page_idx": 10
1248
+ },
1249
+ {
1250
+ "type": "text",
1251
+ "text": "(a) If your work uses existing assets, did you cite the creators? [Yes] \n(b) Did you mention the license of the assets? [Yes] In Supplementary Material \n(c) Did you include any new assets either in the supplemental material or as a URL? [Yes] Included code in the Supplementary Material \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [N/A] No consent was needed. \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A] It clearly doesn’t. ",
1252
+ "bbox": [
1253
+ 238,
1254
+ 661,
1255
+ 825,
1256
+ 784
1257
+ ],
1258
+ "page_idx": 10
1259
+ },
1260
+ {
1261
+ "type": "text",
1262
+ "text": "5. If you used crowdsourcing or conducted research with human subjects... ",
1263
+ "bbox": [
1264
+ 212,
1265
+ 787,
1266
+ 705,
1267
+ 801
1268
+ ],
1269
+ "page_idx": 10
1270
+ },
1271
+ {
1272
+ "type": "text",
1273
+ "text": "(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A] \n(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A] \n(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A] ",
1274
+ "bbox": [
1275
+ 238,
1276
+ 806,
1277
+ 825,
1278
+ 895
1279
+ ],
1280
+ "page_idx": 10
1281
+ }
1282
+ ]
parse/train/WrotwUEJO59/WrotwUEJO59_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/WrotwUEJO59/WrotwUEJO59_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/kHromd7SNA/kHromd7SNA_content_list.json ADDED
@@ -0,0 +1,1503 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "MOTION REPRESENTATIONS FOR ARTICULATED ANIMATION ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 99,
9
+ 826,
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
+ 170,
20
+ 398,
21
+ 198
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 234,
32
+ 544,
33
+ 251
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "We propose novel motion representations for animating articulated objects consisting of distinct parts. In a completely unsupervised manner, our method identifies meaningful object parts, tracks them in a driving video, and infers their motions by considering their principal axes. In contrast to the previous keypoint-based works, our method extracts meaningful and consistent regions, describing locations, shape, and pose. The regions correspond to semantically relevant and distinct object parts, that are more easily detected in frames of the driving video. To force decoupling of foreground from background, we model non-object related global motion with a homography. Our model1 can animate a variety of objects, surpassing previous methods by a large margin on existing benchmarks. We present a challenging new benchmark with high-resolution videos and show that the improvement is particularly pronounced when articulated objects are considered. ",
40
+ "bbox": [
41
+ 233,
42
+ 266,
43
+ 766,
44
+ 433
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 458,
55
+ 336,
56
+ 474
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Animation—bringing static objects to life—has broad applications across education and entertainment. Animated characters and objects increase the creativity and appeal of content, improve the clarity of material through storytelling, and enhance user experiences. Imagine the Mona Lisa describing the manner in which she was painted, or Michelangelo’s David detailing the method with which he was sculpted, or an influential historical figure shedding light on key events of the past (Fig. 1); how much more engaging this would be. ",
63
+ "bbox": [
64
+ 174,
65
+ 489,
66
+ 825,
67
+ 573
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Until very recently, animation techniques necessary for achieving such results required a trained professional, specialized hardware, software, and a great deal of effort. Quality results generally still do, but vision and graphics communities have attempted to address some of these limitations by training data-driven methods (Wang ",
74
+ "bbox": [
75
+ 174,
76
+ 580,
77
+ 485,
78
+ 678
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "image",
84
+ "img_path": "images/f30413fadc3b455edf46dd95ca7f4a717bde631a83181d84719e4a045ad6cfb8.jpg",
85
+ "image_caption": [
86
+ "Figure 1: An animation produced by our method. "
87
+ ],
88
+ "image_footnote": [],
89
+ "bbox": [
90
+ 496,
91
+ 584,
92
+ 821,
93
+ 647
94
+ ],
95
+ "page_idx": 0
96
+ },
97
+ {
98
+ "type": "text",
99
+ "text": "et al., 2018a; Chan et al., 2019; Ren et al., 2020; Geng et al., 2019; Gafni et al., 2019) on object classes for which prior knowledge of object shape and pose can be learned. This, however, requires ground truth pose and shape data to be available during training. ",
100
+ "bbox": [
101
+ 176,
102
+ 678,
103
+ 823,
104
+ 719
105
+ ],
106
+ "page_idx": 0
107
+ },
108
+ {
109
+ "type": "text",
110
+ "text": "Recent works have sought to avoid the need for ground truth data through unsupervised motion transfer (Wiles et al., 2018; Siarohin et al., 2019a;b). Significant progress on the several key challenges have been made, including training using image reconstruction as a loss, and disentangling motion from appearance. This has created the potential to animate a broader range of object categories, without any domain knowledge or labelled data, requiring only videos of objects in motion during training. However, two key problems remain open. The first is how to represent the parts of an articulated or non-rigid moving object, including their shapes and poses. The second is given the object parts, how to animate them using the sequence of motions in a driving video. ",
111
+ "bbox": [
112
+ 174,
113
+ 726,
114
+ 825,
115
+ 837
116
+ ],
117
+ "page_idx": 0
118
+ },
119
+ {
120
+ "type": "text",
121
+ "text": "Initial attempts involved extracting unsupervised keypoints (Lorenz et al., 2019; Kim et al., 2019) in end-to-end frameworks (Wiles et al., 2018; Siarohin et al., 2019b;a), then warping a feature embedding of a source image to align its keypoints with those of a driving video. Follow on work (Siarohin et al., 2019a) additionally modelled the motion around each keypoint with local, affine transformations, and introduced a generation module that both composites warped source image regions and inpaints occluded regions, to render the final image. This enabled a variety of creative applications2, for example needing only one source face image to generate a near photo-realistic animation, driven by a video of a different face. ",
122
+ "bbox": [
123
+ 174,
124
+ 844,
125
+ 825,
126
+ 901
127
+ ],
128
+ "page_idx": 0
129
+ },
130
+ {
131
+ "type": "text",
132
+ "text": "",
133
+ "bbox": [
134
+ 174,
135
+ 103,
136
+ 825,
137
+ 159
138
+ ],
139
+ "page_idx": 1
140
+ },
141
+ {
142
+ "type": "text",
143
+ "text": "However, the resulting unsupervised keypoints are detected on the boundary of the objects. While points on edges are easier to identify, tracking such keypoints between frames is problematic, as any point on the boundary is a valid candidate, making it hard to establish correspondences between frames. A further problem is that the unsupervised keypoints do not correspond to semantically meaningful object parts, and represent location and direction, but not shape. Due to this limitation, animating articulated objects, such as bodies, remains challenging. Furthermore, these methods assume static backgrounds, i.e., no camera motion, leading to leakage of background motion information into one or several of the detected keypoints. Despite significant breakthroughs, these remaining deficiencies limit the scope of the core innovation to more trivial object categories and motions, and lower quality outputs, especially when objects are articulated. ",
144
+ "bbox": [
145
+ 174,
146
+ 166,
147
+ 825,
148
+ 305
149
+ ],
150
+ "page_idx": 1
151
+ },
152
+ {
153
+ "type": "text",
154
+ "text": "This work introduces two contributions critical to addressing these challenges. First, we redefine the underlying motion representation. Instead of using keypoints, we switch to regions that allow first-order motion to be measured, rather than regressed. This enables improved convergence, more stable, robust object and motion representations, and also empirically captures the shape of the underpinning object parts, leading to better motion segmentation. Fig. 3 contains several examples of region vs. keypoint-based motion representation. ",
155
+ "bbox": [
156
+ 174,
157
+ 313,
158
+ 825,
159
+ 396
160
+ ],
161
+ "page_idx": 1
162
+ },
163
+ {
164
+ "type": "text",
165
+ "text": "Secondly, we explicitly model background or camera motion between training frames by predicting the parameters of a global homography explaining non-object related motions. This enables the model to focus solely on the foreground object, making the identified points more stable, and further improves convergence. ",
166
+ "bbox": [
167
+ 174,
168
+ 404,
169
+ 825,
170
+ 459
171
+ ],
172
+ "page_idx": 1
173
+ },
174
+ {
175
+ "type": "text",
176
+ "text": "These contributions unlock significant gains in capability for unsupervised motion transfer methods, resulting in much improved animation of articulated objects in particular. Furthermore, the framework scales better in the number of unsupervised regions, resulting in more detailed motion. Our method outperforms previous unsupervised animation methods on a variety of datasets, including talking faces, taichi videos and animated pixel art. We additionally present a new dataset, TED talk speakers, to create a more challenging benchmark for the task of animating articulated objects. ",
177
+ "bbox": [
178
+ 174,
179
+ 465,
180
+ 825,
181
+ 549
182
+ ],
183
+ "page_idx": 1
184
+ },
185
+ {
186
+ "type": "text",
187
+ "text": "2 RELATED WORK ",
188
+ "text_level": 1,
189
+ "bbox": [
190
+ 176,
191
+ 575,
192
+ 339,
193
+ 592
194
+ ],
195
+ "page_idx": 1
196
+ },
197
+ {
198
+ "type": "text",
199
+ "text": "Image animation methods can be separated into supervised, which require knowledge about the animated object during training, and unsupervised, which do not. Such knowledge typically includes landmarks (Cao et al., 2014; Zakharov et al., 2019; Qian et al., 2019; Ha et al., 2020), semantic segmentations (Nirkin et al., 2019), and parametric 3D models (Geng et al., 2019; Thies et al., 2016; Deng et al., 2020; Nagano et al., 2018; Liu et al., 2019). As a result, supervised methods are limited to a small number of object categories for which a lot of labelled data is available, such as faces and human bodies. Early face reenactment work (Thies et al., 2016) fitted a 3D morphable model to an image, animating and rendering it back using graphical techniques. Further works used neural networks to get higher quality rendering (Kim et al., 2018; Wang et al., 2018b), sometimes requiring multiple images per identity (Geng et al., 2019; Pumarola et al., 2018). A body of works treats animation as an image-to-image (Siarohin et al., 2018) or a video-to-video (Wang et al., 2018a; Chan et al., 2019; Ren et al., 2020) translation problem. Apart from some exceptions (Wang et al., 2019), these works further constrain the problem to animating a single instance of an object, such as a single face (Kim et al., 2018; Bansal et al., 2018) or a single human body (Chan et al., 2019; Ren et al., 2020; Wang et al., 2018a), requiring retraining (Bansal et al., 2018; Chan et al., 2019; Ren et al., 2020) or fine-tuning (Zakharov et al., 2019) for each new instance. Despite promising results, generalizing these methods beyond a limited range of object categories remains challenging. Additionally, they tend to transfer not only the motion but also the identity of the driving object, making the shape of the animated face or a body similar or identical to the driving face or body (Kim et al., 2018; Zakharov et al., 2019). ",
200
+ "bbox": [
201
+ 174,
202
+ 611,
203
+ 825,
204
+ 888
205
+ ],
206
+ "page_idx": 1
207
+ },
208
+ {
209
+ "type": "image",
210
+ "img_path": "images/5b23edf1ef336c348613954cba5bdb75e548528d675bde52781924f7396669c0.jpg",
211
+ "image_caption": [
212
+ "Figure 2: Overview of our model. The region predictor returns heatmaps for each part in the source and the driving images. We then compute principal axes of each heatmap, to transform each region from the source to the driving frame through a whitened reference frame. Region and background transformations are combined by the pixel-wise flow prediction network. The target image is generated by warping the source image in a feature space using the pixel-wise flow, and inpainting newly introduced regions, as indicated by the confidence map. "
213
+ ],
214
+ "image_footnote": [],
215
+ "bbox": [
216
+ 173,
217
+ 103,
218
+ 818,
219
+ 299
220
+ ],
221
+ "page_idx": 2
222
+ },
223
+ {
224
+ "type": "text",
225
+ "text": "Unsupervised methods address some of these limitations. They do not require any labelled data regarding the shape or landmarks of the animated object. Video-generation-based animation methods predict future frames of a video, given the first frame and an animation class label, such as \"make a happy face\", \"do jumping jack\", or \"play golf\" (Tulyakov et al., 2018; Saito et al., 2017; Clark et al., 2019). A further group of works re-target animation from a driving video to a source frame. X2Face (Wiles et al., 2018) builds a canonical representation of an input face, and generates a warp field conditioned on the driving video. Monkey-Net (Siarohin et al., 2019b) learns a set of unsupervised keypoints to generate animations. Follow-up work substantially improves the quality of animation by considering a first order motion model (FOMM) (Siarohin et al., 2019a) for each keypoint, represented by regressing a local, affine transformation. Both of these works apply to a wider range of objects including faces, bodies, robots, and pixel art animations. Empirically, these methods extract keypoints on the boundary of the animated objects. Articulated objects such as human bodies are therefore challenging, as internal motion, for example, an arm moving across the body, is not well modeled, producing unconvincing animations. ",
226
+ "bbox": [
227
+ 173,
228
+ 419,
229
+ 825,
230
+ 613
231
+ ],
232
+ "page_idx": 2
233
+ },
234
+ {
235
+ "type": "text",
236
+ "text": "This work presents an unsupervised method. We argue that the limitations of previous such methods in animating articulated objects is due to an inability of their internal representations to capture complete object parts, their shape and pose. X2Face (Wiles et al., 2018) assumes an object can be represented with a single RGB texture, while other methods find keypoints on edges (Siarohin et al., 2019b;a). Our new region and background motion representations address these shortcomings. ",
237
+ "bbox": [
238
+ 174,
239
+ 621,
240
+ 825,
241
+ 690
242
+ ],
243
+ "page_idx": 2
244
+ },
245
+ {
246
+ "type": "text",
247
+ "text": "3 METHOD ",
248
+ "text_level": 1,
249
+ "bbox": [
250
+ 176,
251
+ 724,
252
+ 281,
253
+ 739
254
+ ],
255
+ "page_idx": 2
256
+ },
257
+ {
258
+ "type": "text",
259
+ "text": "Our unsupervised animation framework consists of a system design, and methods for training this system using two different frames, source S, and driving D, from the same video. ",
260
+ "bbox": [
261
+ 173,
262
+ 763,
263
+ 825,
264
+ 792
265
+ ],
266
+ "page_idx": 2
267
+ },
268
+ {
269
+ "type": "text",
270
+ "text": "3.1 SYSTEM DESIGN ",
271
+ "text_level": 1,
272
+ "bbox": [
273
+ 176,
274
+ 823,
275
+ 328,
276
+ 837
277
+ ],
278
+ "page_idx": 2
279
+ },
280
+ {
281
+ "type": "text",
282
+ "text": "FOMM (Siarohin et al., 2019a), the current state-of-the-art method in unsupervised animation learning, consists of two main parts: motion estimation and image generation. The contributions of our work lie in novel motion representations within the first part of this framework. Our system, outlined in Fig. 2, therefore follows the FOMM design as closely as possible, in order to demonstrate the impact due specifically to our contributions. ",
283
+ "bbox": [
284
+ 174,
285
+ 854,
286
+ 825,
287
+ 924
288
+ ],
289
+ "page_idx": 2
290
+ },
291
+ {
292
+ "type": "image",
293
+ "img_path": "images/b434e5f758996b8746e73620d93b6fcb9f93375ab8e8dd904e07b5ad278a1f48.jpg",
294
+ "image_caption": [
295
+ "Figure 3: Comparison of motion/part representations. Regression-based keypoint representations do not provide consistent detection between frames (marked with red). Additionally, background motion leaks into one or several detected keypoints. Our PCA-based regions (with and without background motion) correctly identify meaningful parts, are consistent between frames, and use additional regions more effectively. "
296
+ ],
297
+ "image_footnote": [],
298
+ "bbox": [
299
+ 173,
300
+ 140,
301
+ 823,
302
+ 435
303
+ ],
304
+ "page_idx": 3
305
+ },
306
+ {
307
+ "type": "text",
308
+ "text": "3.1.1 REGIONS AND COARSE MOTION ",
309
+ "text_level": 1,
310
+ "bbox": [
311
+ 176,
312
+ 527,
313
+ 447,
314
+ 541
315
+ ],
316
+ "page_idx": 3
317
+ },
318
+ {
319
+ "type": "text",
320
+ "text": "Regions FOMM learns to detect $K$ distinct object regions, where $K$ is a user-defined parameter. An encoder-decoder region predictor network takes an image as input, and outputs $K$ heatmaps, $\\mathbf { M } ^ { 1 } , . . , \\mathbf { M } ^ { K }$ . The final network layer is a softmax operation, s.t. $\\mathbf { M } ^ { k } \\in [ 0 , 1 ] ^ { H \\times W }$ , where $H$ and $W$ are the height and width of the image respectively, and $\\begin{array} { r } { \\sum _ { z \\in \\mathcal { Z } } m _ { z } ^ { k } = 1 } \\end{array}$ , where $z$ is a pixel location $\\mathbf { \\dot { x } }$ , y coordinates) in the image, the set of all pixel locations being $\\mathcal { Z }$ , and $m _ { z } ^ { k }$ is the $k$ -th heatmap weight at pixel $z$ . We use the same region representation and encoder here. Nevertheless, the encoded regions differ significantly (see Fig. 3), ours mapping to meaningful object parts such as the limbs of an articulated body, due to our novel foreground motion representation, described below. ",
321
+ "bbox": [
322
+ 173,
323
+ 550,
324
+ 826,
325
+ 665
326
+ ],
327
+ "page_idx": 3
328
+ },
329
+ {
330
+ "type": "text",
331
+ "text": "Estimating foreground region motion FOMM estimates a first-order transformation from an image $\\mathbf { X }$ to a reference frame $\\mathbf { R }$ , for each region separately. The region heatmap encodes translation by its mean position, while other affine parameters are regressed per pixel and then pooled per region according to the heatmap weights. Here we change the way this transformation is represented: all motion is measured directly from the heatmap. Translation is given by the mean position, as before, while in-plane rotation and scaling in $\\mathbf { X } ^ { - }$ and y-directions are computed via a principal component analysis (PCA) of the heatmap. Shear is not captured, therefore our transform isn’t fully affine, with only five degrees of freedom instead of six. Nevertheless, it captures sufficient motion, shear being a less significant component of the affine transform for this task. The transformation of a region from the reference frame to the image is computed as follows: ",
332
+ "bbox": [
333
+ 173,
334
+ 680,
335
+ 825,
336
+ 819
337
+ ],
338
+ "page_idx": 3
339
+ },
340
+ {
341
+ "type": "equation",
342
+ "img_path": "images/482203bea21f82fbc48d8816585b8435112a58af80968b1019804251f6b9e860.jpg",
343
+ "text": "$$\n{ \\begin{array} { r l } & { \\qquad \\mu ^ { k } = \\displaystyle \\sum _ { z \\in { \\mathcal { Z } } } m _ { z } ^ { k } z , } \\\\ & { \\qquad U ^ { k } S ^ { k } { V ^ { k } } ^ { \\mathsf { T } } = \\displaystyle \\sum _ { z \\in { \\mathcal { Z } } } m _ { z } ^ { k } ( z - \\mu ^ { k } ) ( z - \\mu ^ { k } ) ^ { \\mathsf { T } } , ~ \\mathrm { ( v i a S V D ) } , } \\\\ & { \\qquad A _ { \\mathbf { X } \\mathbf { R } } = \\displaystyle [ U ^ { k } S ^ { k ^ { \\frac { 1 } { 2 } } } , \\mu ^ { k } ] . } \\end{array} }\n$$",
344
+ "text_format": "latex",
345
+ "bbox": [
346
+ 310,
347
+ 823,
348
+ 686,
349
+ 924
350
+ ],
351
+ "page_idx": 3
352
+ },
353
+ {
354
+ "type": "text",
355
+ "text": "The singular value decomposition (SVD) approach to computing PCA (Wall et al., 2003) is used here. We refer to FOMM and our estimation approaches as regression-based and PCA-based, respectively. The reference frame in both is used only as an abstract, intermediate coordinate frame between the source and driving image coordinate frames. However, here (in contrast to FOMM) it is not in fact abstract, corresponding to the coordinate frame where the heatmap is whitened (i.e. has zero mean and identity covariance); see Fig. 2. Driving to source image motion is then ",
356
+ "bbox": [
357
+ 174,
358
+ 102,
359
+ 826,
360
+ 188
361
+ ],
362
+ "page_idx": 4
363
+ },
364
+ {
365
+ "type": "equation",
366
+ "img_path": "images/fc05c47c12c5df07a56edb9d11d6377abe21a20341ba7356591bd10ff000d618.jpg",
367
+ "text": "$$\n\\begin{array} { r } { A _ { \\mathbf { S } \\mathbf { D } } ^ { k } = A _ { \\mathbf { S } \\mathbf { R } } ^ { k } [ A _ { \\mathbf { D } \\mathbf { R } } ^ { k } ] ^ { - 1 } . } \\end{array}\n$$",
368
+ "text_format": "latex",
369
+ "bbox": [
370
+ 393,
371
+ 195,
372
+ 604,
373
+ 234
374
+ ],
375
+ "page_idx": 4
376
+ },
377
+ {
378
+ "type": "text",
379
+ "text": "Estimating background motion FOMM has no background motion model. We observe that with significant background motion between frames, e.g. due to camera motion, predicted regions can therefore include the moving background, reducing test-time accuracy. To resolve this, we additionally regress a background homography transformation, $\\mathbf { H }$ , using an encoder network that takes as input the source and driving images, concatenated along the channel dimension, and outputs eight real values, $h _ { 1 } , . . , h _ { 8 }$ , such that $\\bar { { \\bf H } } = \\left[ [ h _ { 1 } , h _ { 2 } , h _ { 3 } ] ^ { \\top } \\left[ h _ { 4 } , h _ { 5 } , h _ { 6 } \\right] ^ { \\top } [ h _ { 7 } , h _ { 8 } , 1 ] ^ { \\top } \\right]$ . With background motion well modeled, we show that the network is able to separate background and object motion in a completely unsupervised manner. ",
380
+ "bbox": [
381
+ 173,
382
+ 250,
383
+ 825,
384
+ 362
385
+ ],
386
+ "page_idx": 4
387
+ },
388
+ {
389
+ "type": "text",
390
+ "text": "3.1.2 IMAGE GENERATION ",
391
+ "text_level": 1,
392
+ "bbox": [
393
+ 176,
394
+ 378,
395
+ 370,
396
+ 393
397
+ ],
398
+ "page_idx": 4
399
+ },
400
+ {
401
+ "type": "text",
402
+ "text": "Given these coarse motions, FOMM then renders the target image in two stages: a pixel-wise flow generator converts coarse motions to dense optical flow, then a composition network warps the source image according to the flow, and also inpaints missing regions. We follow this architecture, and summarize these two modules here, but refer the reader to Siarohin et al. (2019a) for the full details. ",
403
+ "bbox": [
404
+ 174,
405
+ 405,
406
+ 825,
407
+ 460
408
+ ],
409
+ "page_idx": 4
410
+ },
411
+ {
412
+ "type": "text",
413
+ "text": "Pixel-wise flow generation Coarse motions are combined via a weighted sum, to compute a dense, per pixel motion, or flow. The per pixel weights, as well as a confidence map, are computed via an encoder-decoder network. The input is a $H \\times W \\times ( 4 K + 3 )$ tensor, with four channels per region, three for the source image warped according to the region’s motion model, and one for a heatmap of the region, which is a gaussian approximation to ${ \\bf { M } } ^ { \\breve { k } }$ , in order to avoid leakage of driving image appearance through the heatmap. Here we add a further three input channels (compared to FOMM) for the source image warped according to the background motion model. ",
414
+ "bbox": [
415
+ 173,
416
+ 478,
417
+ 826,
418
+ 577
419
+ ],
420
+ "page_idx": 4
421
+ },
422
+ {
423
+ "type": "text",
424
+ "text": "Warping and inpainting The source image is passed through an encoder network. The resulting feature map is warped and masked according to the pixel-wise flow and confidence map from the previous module, respectively. A decoder then renders the final image, inpainting missing parts. In contrast to FOMM, but similar to Monkey-Net (Siarohin et al., 2019b), here skip connections are used between the encoder and decoder. The skip connection feature maps are also warped and masked. ",
425
+ "bbox": [
426
+ 174,
427
+ 594,
428
+ 825,
429
+ 665
430
+ ],
431
+ "page_idx": 4
432
+ },
433
+ {
434
+ "type": "text",
435
+ "text": "3.2 TRAINING ",
436
+ "text_level": 1,
437
+ "bbox": [
438
+ 174,
439
+ 684,
440
+ 287,
441
+ 699
442
+ ],
443
+ "page_idx": 4
444
+ },
445
+ {
446
+ "type": "text",
447
+ "text": "The proposed model is trained end-to-end using a reconstruction loss in the feature space of the pretrained VGG-19 network (Johnson et al., 2016; Wang et al., 2017). Following Siarohin et al. (2019a); Wang et al. (2003), we adopt a multi-resolution version of the reconstruction loss: ",
448
+ "bbox": [
449
+ 174,
450
+ 712,
451
+ 826,
452
+ 755
453
+ ],
454
+ "page_idx": 4
455
+ },
456
+ {
457
+ "type": "equation",
458
+ "img_path": "images/641f9936a81da952994eba1cbdcf2698cd01ad4570c77466e55d4cf095608f1e.jpg",
459
+ "text": "$$\n\\mathcal { L } _ { \\mathrm { r e c } } ( \\hat { \\mathbf { D } } , \\mathbf { D } ) = \\sum _ { l } \\sum _ { i } \\left| \\mathrm { V } _ { i } \\big ( \\mathrm { F } _ { l } \\odot \\hat { \\mathbf { D } } \\big ) - \\mathrm { V } _ { i } \\big ( \\mathrm { F } _ { l } \\odot \\mathbf { D } \\big ) \\right| ,\n$$",
460
+ "text_format": "latex",
461
+ "bbox": [
462
+ 321,
463
+ 773,
464
+ 674,
465
+ 809
466
+ ],
467
+ "page_idx": 4
468
+ },
469
+ {
470
+ "type": "text",
471
+ "text": "where $\\hat { \\bf D }$ is the generated image, $\\mathrm { V } _ { i }$ is the $i ^ { \\mathrm { { t h } } }$ -layer of the VGG-19 pretrained network, $\\mathrm { F } _ { l }$ is a downsampling operator. Similarly to Wang et al. (2017); Siarohin et al. (2019a) we used conv1_2, conv2_2, conv3_2, conv4_2, conv5_2 layers and downsampled the images to 1, 0.5, 0.25, 0.125 of the original edge size. In total we have 20 reconstruction terms. To improve detection of unsupervised regions we follow the unsupervised keypoint detection literature (Jakab et al., 2018; Zhang et al., 2018) and adopt the equivariance loss, denoted as $\\mathcal { L } _ { \\mathrm { e q } }$ . We use a thin-plate spline implementation provided in FOMM (Siarohin et al., 2019a). The final loss is a sum of the two loss terms, $\\mathcal { L } = \\mathcal { L } _ { \\mathrm { r e c } } + \\mathcal { L } _ { \\mathrm { e q } }$ . ",
472
+ "bbox": [
473
+ 173,
474
+ 824,
475
+ 825,
476
+ 924
477
+ ],
478
+ "page_idx": 4
479
+ },
480
+ {
481
+ "type": "image",
482
+ "img_path": "images/97dc64f529863911ea0d5ff8c5401b09ec59c12b8c5759765a48499e1054109f.jpg",
483
+ "image_caption": [
484
+ "Figure 4: Qualitative comparisons. We show representative examples of articulated animation using our method and FOMM (Siarohin et al., 2019a), on two datasets of articulated objects: TED-talks (left) and TaiChiHD (right). Zoom in for greater detail. "
485
+ ],
486
+ "image_footnote": [],
487
+ "bbox": [
488
+ 173,
489
+ 98,
490
+ 825,
491
+ 268
492
+ ],
493
+ "page_idx": 5
494
+ },
495
+ {
496
+ "type": "text",
497
+ "text": "4 EVALUATION ",
498
+ "text_level": 1,
499
+ "bbox": [
500
+ 174,
501
+ 330,
502
+ 315,
503
+ 345
504
+ ],
505
+ "page_idx": 5
506
+ },
507
+ {
508
+ "type": "text",
509
+ "text": "We now discuss the datasets, metrics and experiments used to evaluate the proposed method. Later we compare with prior work, as well as ablate our contributions. ",
510
+ "bbox": [
511
+ 174,
512
+ 361,
513
+ 823,
514
+ 388
515
+ ],
516
+ "page_idx": 5
517
+ },
518
+ {
519
+ "type": "text",
520
+ "text": "4.1 TOY MOTION REPRESENTATION EXPERIMENT ",
521
+ "text_level": 1,
522
+ "bbox": [
523
+ 173,
524
+ 405,
525
+ 534,
526
+ 420
527
+ ],
528
+ "page_idx": 5
529
+ },
530
+ {
531
+ "type": "text",
532
+ "text": "To demonstrate the benefit of the proposed PCAbased motion representation, we devise an experiment on rotated rectangles (see Appendix E): the task is to predict the rotation angle of a rectangle in an image. To fully isolate our contribution, we consider a supervised task, where three different architectures learn to predict angles under the $L _ { 1 }$ loss. The first, a Naive architecture, directly regresses the angle using an encoder-like architecture. The second is Regression-based, as in to FOMM (Siarohin et al., 2019a). The third uses our PCA-based approach (see Appendix E). Test results are presented in Fig. 5, against training set size. The Naive baseline struggles to produce meaningful results for any size of training set, while Regression-based performance improves with more data. However, the PCA-based significantly improves accuracy over the Regression-based one, being over an order of magnitude better with a large number of samples. This shows that it is significantly easier for the network to infer geometric parameters of the image, such as angle, using our proposed PCA-based representation. ",
533
+ "bbox": [
534
+ 174,
535
+ 431,
536
+ 517,
537
+ 651
538
+ ],
539
+ "page_idx": 5
540
+ },
541
+ {
542
+ "type": "image",
543
+ "img_path": "images/977dd74fcd71d52ec274f24c38abdbbe09bcd9b20a9d9ebb057ddc69537a1d61.jpg",
544
+ "image_caption": [
545
+ "Figure 5: Mean test-time absolute rotation error, as a function of training set size. "
546
+ ],
547
+ "image_footnote": [],
548
+ "bbox": [
549
+ 532,
550
+ 435,
551
+ 820,
552
+ 603
553
+ ],
554
+ "page_idx": 5
555
+ },
556
+ {
557
+ "type": "text",
558
+ "text": "",
559
+ "bbox": [
560
+ 173,
561
+ 654,
562
+ 825,
563
+ 695
564
+ ],
565
+ "page_idx": 5
566
+ },
567
+ {
568
+ "type": "text",
569
+ "text": "4.2 BENCHMARKS ",
570
+ "text_level": 1,
571
+ "bbox": [
572
+ 174,
573
+ 712,
574
+ 315,
575
+ 726
576
+ ],
577
+ "page_idx": 5
578
+ },
579
+ {
580
+ "type": "text",
581
+ "text": "We evaluate our method on several benchmark datasets for animating human faces and bodies. Each dataset has separate training and test videos. The datasets are as follows: ",
582
+ "bbox": [
583
+ 173,
584
+ 737,
585
+ 823,
586
+ 766
587
+ ],
588
+ "page_idx": 5
589
+ },
590
+ {
591
+ "type": "text",
592
+ "text": "• VoxCeleb (Nagrani et al., 2017) consists of interview videos of different celebrities. We extract square, face regions and downscale them to $2 5 6 \\times 2 5 6$ , following FOMM (Siarohin et al., 2019a). The number of frames per video ranging from 64 to 1024. • TaiChiHD (Siarohin et al., 2019a) consists of cropped videos of full human bodies performing Tai Chi actions. We evaluate on two resolutions of the dataset: $2 5 6 \\times 2 5 6$ (from FOMM (Siarohin et al., 2019a)), and a new, $5 1 2 \\times 5 1 2$ subset, removing videos lacking sufficient resolution to support that size. • TED-talks is a new dataset, collected for this paper in order to demonstrate the generalization properties of our model. We cropped the upper part of the human body from the videos, downscaling to $3 8 4 \\times 3 8 4$ . The number of frames per video ranges from 64 to 1024. ",
593
+ "bbox": [
594
+ 217,
595
+ 775,
596
+ 825,
597
+ 924
598
+ ],
599
+ "page_idx": 5
600
+ },
601
+ {
602
+ "type": "table",
603
+ "img_path": "images/dc9830e3388615dae8b048da58b1e056676c3f69304dead754e451854ce06c34.jpg",
604
+ "table_caption": [
605
+ "Table 2: Video reconstruction: comparison with the state of the art on four different datasets. For all methods we use $K = 1 0$ regions. (Best result in bold.) "
606
+ ],
607
+ "table_footnote": [],
608
+ "table_body": "<table><tr><td></td><td colspan=\"3\">TaiChiHD (256)</td><td colspan=\"3\">TaiChiHD (512)</td><td colspan=\"3\">TED-talks</td><td colspan=\"3\">VoxCeleb</td></tr><tr><td></td><td>L1</td><td>(AKD,MKR)</td><td>AED</td><td>L1</td><td>(AKD,MKR)</td><td>AED</td><td>L1</td><td>(AKD,MKR)</td><td>AED</td><td>L1</td><td>AKD</td><td>AED</td></tr><tr><td>FOMM</td><td>0.056</td><td>(6.53,0.033)</td><td>0.172</td><td>0.075</td><td>(17.12,0.66)</td><td>0.203</td><td>0.033</td><td>(7.07,0.014)</td><td>0.163</td><td>0.041</td><td>1.27</td><td>0.134</td></tr><tr><td>Ours</td><td>0.048</td><td>(5.45,0.028)</td><td>0.152</td><td>0.064</td><td>(14.00,0.44)</td><td>0.171</td><td>0.026</td><td>(4.02,0.007)</td><td>0.119</td><td>0.040</td><td>1.28</td><td>0.133</td></tr></table>",
609
+ "bbox": [
610
+ 176,
611
+ 141,
612
+ 823,
613
+ 191
614
+ ],
615
+ "page_idx": 6
616
+ },
617
+ {
618
+ "type": "text",
619
+ "text": "Further datasets are used in the supplementary material. ",
620
+ "bbox": [
621
+ 174,
622
+ 207,
623
+ 540,
624
+ 222
625
+ ],
626
+ "page_idx": 6
627
+ },
628
+ {
629
+ "type": "text",
630
+ "text": "Since video animation is a relatively new problem, there are not currently many effective ways of evaluating it. For quantitative metrics, prior works (Siarohin et al., 2019b;a) use video reconstruction accuracy as a proxy for image animation quality. We adopt the same metrics here: ",
631
+ "bbox": [
632
+ 176,
633
+ 228,
634
+ 823,
635
+ 270
636
+ ],
637
+ "page_idx": 6
638
+ },
639
+ {
640
+ "type": "text",
641
+ "text": "• $\\mathcal { L } _ { 1 }$ error measures the difference between reconstructed video and ground-truth video pixel values using the $\\mathcal { L } _ { 1 }$ metric. • Average keypoint distance (AKD) and missing keypoint rate (MKR) evaluate the difference between poses of reconstructed and ground truth video. Landmarks are extracted from both videos using public, body (Cao et al., 2017) (for TaiChiHD and TED-talks) and face (Bulat & Tzimiropoulos, 2017) (for VoxCeleb) detectors. AKD is then the average distance between corresponding landmarks, while MKR is the proportion of landmarks present in the ground-truth that are missing in the reconstructed video. • Average Euclidean distance (AED) evaluates how well identity is preserved in reconstructed video. Public re-identification networks for bodies (Hermans et al., 2017) (for TaiChiHD and TED-talks) and faces (Amos et al., 2016) extract identity from reconstructed and ground truth frame pairs, then we compute the average $\\mathcal { L } _ { 2 }$ norm of their difference across all pairs. ",
642
+ "bbox": [
643
+ 217,
644
+ 284,
645
+ 825,
646
+ 465
647
+ ],
648
+ "page_idx": 6
649
+ },
650
+ {
651
+ "type": "text",
652
+ "text": "4.3 COMPARISON WITH THE STATE OF THE ART ",
653
+ "text_level": 1,
654
+ "bbox": [
655
+ 178,
656
+ 492,
657
+ 511,
658
+ 506
659
+ ],
660
+ "page_idx": 6
661
+ },
662
+ {
663
+ "type": "text",
664
+ "text": "We compare our method with the current state of the art for unsupervised animation, FOMM (Siarohin et al., 2019a), across all datasets, on both reconstruction (the training task) and animation (the testtime task). We used an extended training schedule compared to Siarohin et al. (2019a), with $50 \\%$ more iterations. To compare fairly with FOMM (Siarohin et al., 2019a), we also re-trained it with the same training schedule. ",
665
+ "bbox": [
666
+ 174,
667
+ 518,
668
+ 825,
669
+ 588
670
+ ],
671
+ "page_idx": 6
672
+ },
673
+ {
674
+ "type": "text",
675
+ "text": "Reconstruction quality Quantitative reconstruction results are reported in Tab. 2. We first show that our method reaches state-of-the-art results on a dataset with non-articulated objects such as faces. Indeed, when compared with FOMM (Siarohin et al., 2019a) on VoxCeleb our method shows on-par results. The situation changes, however, when articulated objects are considered, such as human bodies in TaiChiHD and TED-talks datasets, on which our improved motion representations boost all the metrics. The advantage over the state of the art holds at different resolutions, for TaiChiHD (256), TaiChiHD (512) and TED-talks, as well as for different numbers of selected regions (discussed later). ",
676
+ "bbox": [
677
+ 174,
678
+ 606,
679
+ 825,
680
+ 704
681
+ ],
682
+ "page_idx": 6
683
+ },
684
+ {
685
+ "type": "text",
686
+ "text": "Animation quality Fig. 3 & 4 show selected and representative animations respectively, using our method and FOMM (Siarohin et al., 2019a), on articulated bodies, both using absolute motion. The results show clear improvements, in most cases, in animation quality, especially of limbs. ",
687
+ "bbox": [
688
+ 174,
689
+ 722,
690
+ 825,
691
+ 763
692
+ ],
693
+ "page_idx": 6
694
+ },
695
+ {
696
+ "type": "text",
697
+ "text": "Animation quality was evaluated quantitatively through a user preference study similar to that of Siarohin et al. (2019a). AMT users were presented with the source image, driving video, and the output from our method and FOMM (Siarohin et al., 2019a), and asked which of the two videos they preferred. 50 such videos were evaluated, by 50 users each, for a total of 2500 preferences per study. The results, shown in Tab. 4, further support the reconstruction scores in Tab. 2. When the animated object is not articulated (VoxCeleb), the method delivers results comparable to the previous work. When bodies are animated (TaiChiHD & TED-talks), FOMM (Siarohin et al., 2019a) fails to correctly detect and animate the articulated body parts such as hands. Our method renders them in the driving pose even for extreme cases, leading to a high preference in favor of it. ",
698
+ "bbox": [
699
+ 173,
700
+ 771,
701
+ 825,
702
+ 897
703
+ ],
704
+ "page_idx": 6
705
+ },
706
+ {
707
+ "type": "text",
708
+ "text": "Finally, we applied animation from a TED-talks video to a photograph of Winston Churchill, shown in Fig. 1, demonstrating animation of out of domain data. ",
709
+ "bbox": [
710
+ 173,
711
+ 904,
712
+ 823,
713
+ 931
714
+ ],
715
+ "page_idx": 6
716
+ },
717
+ {
718
+ "type": "table",
719
+ "img_path": "images/4bbba204ab5dbee8cbc4eff9f7bf4d3b4c20c6043b4812a9d93d8ffdb22e630b.jpg",
720
+ "table_caption": [
721
+ "Table 3: Ablation study on TaiChiHD (256) dataset with $K = 1 0$ . (Best result in bold.) "
722
+ ],
723
+ "table_footnote": [],
724
+ "table_body": "<table><tr><td></td><td>L1</td><td>(AKD,MKR)</td><td>AED</td></tr><tr><td>No pca or bg model</td><td>0.060</td><td>(6.14, 0.033)</td><td>0.163</td></tr><tr><td>No pca</td><td>0.049</td><td>(6.04,0.034)</td><td>0.163</td></tr><tr><td>No bg model</td><td>0.059</td><td>(5.47, 0.027)</td><td>0.164</td></tr><tr><td>Full method</td><td>0.048</td><td>(5.45, 0.028)</td><td>0.152</td></tr></table>",
725
+ "bbox": [
726
+ 176,
727
+ 141,
728
+ 517,
729
+ 218
730
+ ],
731
+ "page_idx": 7
732
+ },
733
+ {
734
+ "type": "table",
735
+ "img_path": "images/a2c4c903b52d3ce69b5e408b55d67a5bbcea026830995feb70144122c0a1f0c8.jpg",
736
+ "table_caption": [
737
+ "Table 4: User study: the proportion $( \\% )$ of users that prefer our method over FOMM (Siarohin et al., 2019a). "
738
+ ],
739
+ "table_footnote": [],
740
+ "table_body": "<table><tr><td>Dataset</td><td>User preference (%)</td></tr><tr><td>VoxCeleb</td><td>52.2%</td></tr><tr><td>TaiChiHD (256)</td><td>83.0%</td></tr><tr><td>TED-talks</td><td>91.0%</td></tr></table>",
741
+ "bbox": [
742
+ 563,
743
+ 154,
744
+ 820,
745
+ 220
746
+ ],
747
+ "page_idx": 7
748
+ },
749
+ {
750
+ "type": "text",
751
+ "text": "4.4 ABLATIONS ",
752
+ "text_level": 1,
753
+ "bbox": [
754
+ 174,
755
+ 231,
756
+ 297,
757
+ 244
758
+ ],
759
+ "page_idx": 7
760
+ },
761
+ {
762
+ "type": "text",
763
+ "text": "In order to understand how much benefit each of our contributions bring, we ran a number of ablation experiments, detailed in Tab. 3. ",
764
+ "bbox": [
765
+ 176,
766
+ 251,
767
+ 823,
768
+ 279
769
+ ],
770
+ "page_idx": 7
771
+ },
772
+ {
773
+ "type": "text",
774
+ "text": "PCA-based vs. regression-based representations First we compare the PCA-based motion model with the previous, regression-based one (Siarohin et al., 2019a). From the qualitative, heatmap depictions in Fig. 3, we observe that the regression-based method localizes one edge of each corresponding part, while our method predicts regions that roughly correspond to the segmentation of the object into its constituent, articulated parts. This meaningful segmentation arises completely unsupervised. ",
775
+ "bbox": [
776
+ 174,
777
+ 308,
778
+ 825,
779
+ 377
780
+ ],
781
+ "page_idx": 7
782
+ },
783
+ {
784
+ "type": "text",
785
+ "text": "From Tab. 1 we note that adding the PCA-based representation alone (second row) had marginal impact on the $\\mathcal { L } _ { 1 }$ score (dominated by the much larger background region), but it had a much larger impact on other metrics, which are more sensitive to object-part-related errors on articulated objects. This is corroborated by Tab. 3. ",
786
+ "bbox": [
787
+ 174,
788
+ 383,
789
+ 825,
790
+ 439
791
+ ],
792
+ "page_idx": 7
793
+ },
794
+ {
795
+ "type": "text",
796
+ "text": "We intuit that PCA-based estimation both captures regions and improves performance because it is much easier for the convolutional network to assign pixels of an object part to the corresponding heatmap than to directly regress motion parameters to an abstract reference frame. This is borne out by our toy experiment (sec. 4.1). In order to estimate the heatmap it need only learn all appearances of the corresponding object part, whereas regression-based networks must learn the joint space of all appearances of a part in all possible geometric configurations (e.g. rotated, scaled etc.). ",
797
+ "bbox": [
798
+ 174,
799
+ 446,
800
+ 825,
801
+ 530
802
+ ],
803
+ "page_idx": 7
804
+ },
805
+ {
806
+ "type": "text",
807
+ "text": "One of the most important hyper-parameters of our model is the number of regions, $K$ . The qualitative and quantitative ablations of this parameter are shown in Fig. 3 and Tab. 1 respectively. We can observe that, while the regression-based representation fails when the number of keypoints grows to 20, our PCA-based representation scales well with the number of regions. ",
808
+ "bbox": [
809
+ 174,
810
+ 537,
811
+ 825,
812
+ 593
813
+ ],
814
+ "page_idx": 7
815
+ },
816
+ {
817
+ "type": "text",
818
+ "text": "Modeling background motion Tab. 3 shows that methods with background motion modeling have much lower $\\mathcal { L } _ { 1 }$ error. Since background constitutes a large portion of the image, and $\\mathcal { L } _ { 1 }$ treats all pixels equally, this is to be expected. AED was also impacted, suggesting that the identity representation captures some background appearance. However, since AKD & MKR metrics evaluate object pose only, they are not improved by background modelling. ",
819
+ "bbox": [
820
+ 174,
821
+ 621,
822
+ 825,
823
+ 691
824
+ ],
825
+ "page_idx": 7
826
+ },
827
+ {
828
+ "type": "text",
829
+ "text": "5 CONCLUSION ",
830
+ "text_level": 1,
831
+ "bbox": [
832
+ 176,
833
+ 724,
834
+ 318,
835
+ 739
836
+ ],
837
+ "page_idx": 7
838
+ },
839
+ {
840
+ "type": "text",
841
+ "text": "We have argued that previous unsupervised animation frameworks’ poor results on articulated objects are due to their representations. We propose a new, PCA-based, region motion representation, which we believe both makes it easier for the network to learn region motion, and encourages it to learn semantically meaningful object parts. In addition, we propose a background motion estimation module to decouple foreground and background motion. Qualitative and quantitative results across a range of datasets and tasks demonstrate several key benefits: improved region distribution and stability, improved reconstruction accuracy and user perceived quality, and an ability to scale to more regions. We also introduce a new, more challenging dataset, TED-talks, for benchmarking future improvements on this task. ",
842
+ "bbox": [
843
+ 174,
844
+ 762,
845
+ 825,
846
+ 888
847
+ ],
848
+ "page_idx": 7
849
+ },
850
+ {
851
+ "type": "text",
852
+ "text": "While we show some results on out of domain data (Fig. 1), generalization remains a significant challenge to making this method broadly practical in articulated animation of inanimate objects. ",
853
+ "bbox": [
854
+ 173,
855
+ 895,
856
+ 823,
857
+ 924
858
+ ],
859
+ "page_idx": 7
860
+ },
861
+ {
862
+ "type": "text",
863
+ "text": "REFERENCES ",
864
+ "text_level": 1,
865
+ "bbox": [
866
+ 174,
867
+ 102,
868
+ 287,
869
+ 118
870
+ ],
871
+ "page_idx": 8
872
+ },
873
+ {
874
+ "type": "text",
875
+ "text": "Brandon Amos, Bartosz Ludwiczuk, and Mahadev Satyanarayanan. Openface: A general-purpose face recognition. 2016. ",
876
+ "bbox": [
877
+ 174,
878
+ 126,
879
+ 823,
880
+ 155
881
+ ],
882
+ "page_idx": 8
883
+ },
884
+ {
885
+ "type": "text",
886
+ "text": "Aayush Bansal, Shugao Ma, Deva Ramanan, and Yaser Sheikh. Recycle-gan: Unsupervised video retargeting. In Proceedings of the European Conference on Computer Vision, 2018. ",
887
+ "bbox": [
888
+ 173,
889
+ 162,
890
+ 823,
891
+ 193
892
+ ],
893
+ "page_idx": 8
894
+ },
895
+ {
896
+ "type": "text",
897
+ "text": "Adrian Bulat and Georgios Tzimiropoulos. How far are we from solving the 2d & 3d face alignment problem? (and a dataset of 230,000 3d facial landmarks). In ICCV, 2017. ",
898
+ "bbox": [
899
+ 171,
900
+ 202,
901
+ 823,
902
+ 231
903
+ ],
904
+ "page_idx": 8
905
+ },
906
+ {
907
+ "type": "text",
908
+ "text": "Chen Cao, Qiming Hou, and Kun Zhou. Displaced dynamic expression regression for real-time facial tracking and animation. ACM Transactions on Graphics, 2014. ",
909
+ "bbox": [
910
+ 173,
911
+ 239,
912
+ 823,
913
+ 270
914
+ ],
915
+ "page_idx": 8
916
+ },
917
+ {
918
+ "type": "text",
919
+ "text": "Zhe Cao, Tomas Simon, Shih-En Wei, and Yaser Sheikh. Realtime multi-person 2d pose estimation using part affinity fields. In CVPR, 2017. ",
920
+ "bbox": [
921
+ 173,
922
+ 277,
923
+ 823,
924
+ 308
925
+ ],
926
+ "page_idx": 8
927
+ },
928
+ {
929
+ "type": "text",
930
+ "text": "Caroline Chan, Shiry Ginosar, Tinghui Zhou, and Alexei A Efros. Everybody dance now. In Proceedings of the IEEE International Conference on Computer Vision, 2019. ",
931
+ "bbox": [
932
+ 171,
933
+ 315,
934
+ 823,
935
+ 345
936
+ ],
937
+ "page_idx": 8
938
+ },
939
+ {
940
+ "type": "text",
941
+ "text": "A Clark, J Donahue, and K Simonyan. Adversarial video generation on complex datasets. arXiv preprint arXiv:1907.06571, 2019. ",
942
+ "bbox": [
943
+ 173,
944
+ 354,
945
+ 823,
946
+ 383
947
+ ],
948
+ "page_idx": 8
949
+ },
950
+ {
951
+ "type": "text",
952
+ "text": "Yu Deng, Jiaolong Yang, Dong Chen, Fang Wen, and Xin Tong. Disentangled and controllable face image generation via 3d imitative-contrastive learning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2020. ",
953
+ "bbox": [
954
+ 176,
955
+ 392,
956
+ 825,
957
+ 435
958
+ ],
959
+ "page_idx": 8
960
+ },
961
+ {
962
+ "type": "text",
963
+ "text": "Oran Gafni, Lior Wolf, and Yaniv Taigman. Vid2game: Controllable characters extracted from real-world videos. arXiv preprint arXiv:1904.08379, 2019. ",
964
+ "bbox": [
965
+ 173,
966
+ 444,
967
+ 823,
968
+ 473
969
+ ],
970
+ "page_idx": 8
971
+ },
972
+ {
973
+ "type": "text",
974
+ "text": "Zhenglin Geng, Chen Cao, and Sergey Tulyakov. 3d guided fine-grained face manipulation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2019. ",
975
+ "bbox": [
976
+ 173,
977
+ 482,
978
+ 823,
979
+ 512
980
+ ],
981
+ "page_idx": 8
982
+ },
983
+ {
984
+ "type": "text",
985
+ "text": "Sungjoo Ha, Martin Kersner, Beomsu Kim, Seokjun Seo, and Dongyoung Kim. Marionette: Few-shot face reenactment preserving identity of unseen targets. In Proceedings of the AAAI Conference on Artificial Intelligence, 2020. ",
986
+ "bbox": [
987
+ 173,
988
+ 520,
989
+ 825,
990
+ 564
991
+ ],
992
+ "page_idx": 8
993
+ },
994
+ {
995
+ "type": "text",
996
+ "text": "Alexander Hermans, Lucas Beyer, and Bastian Leibe. In defense of the triplet loss for person re-identification. arXiv:1703.07737, 2017. ",
997
+ "bbox": [
998
+ 171,
999
+ 573,
1000
+ 823,
1001
+ 602
1002
+ ],
1003
+ "page_idx": 8
1004
+ },
1005
+ {
1006
+ "type": "text",
1007
+ "text": "Tomas Jakab, Ankush Gupta, Hakan Bilen, and Andrea Vedaldi. Unsupervised learning of object landmarks through conditional image generation. In Proceedings of the Neural Information Processing Systems Conference, 2018. ",
1008
+ "bbox": [
1009
+ 173,
1010
+ 611,
1011
+ 825,
1012
+ 654
1013
+ ],
1014
+ "page_idx": 8
1015
+ },
1016
+ {
1017
+ "type": "text",
1018
+ "text": "Justin Johnson, Alexandre Alahi, and Li Fei-Fei. Perceptual losses for real-time style transfer and super-resolution. In Proceedings of the European Conference on Computer Vision, 2016. ",
1019
+ "bbox": [
1020
+ 171,
1021
+ 661,
1022
+ 823,
1023
+ 693
1024
+ ],
1025
+ "page_idx": 8
1026
+ },
1027
+ {
1028
+ "type": "text",
1029
+ "text": "Hyeongwoo Kim, Pablo Garrido, Ayush Tewari, Weipeng Xu, Justus Thies, Matthias Nießner, Patrick Pérez, Christian Richardt, Michael Zollhöfer, and Christian Theobalt. Deep video portraits. ACM Transactions on Graphics, 2018. ",
1030
+ "bbox": [
1031
+ 176,
1032
+ 700,
1033
+ 823,
1034
+ 744
1035
+ ],
1036
+ "page_idx": 8
1037
+ },
1038
+ {
1039
+ "type": "text",
1040
+ "text": "Yunji Kim, Seonghyeon Nam, In Cho, and Seon Joo Kim. Unsupervised keypoint learning for guiding class-conditional video prediction. In Proceedings of the Neural Information Processing Systems Conference, 2019. ",
1041
+ "bbox": [
1042
+ 174,
1043
+ 752,
1044
+ 823,
1045
+ 795
1046
+ ],
1047
+ "page_idx": 8
1048
+ },
1049
+ {
1050
+ "type": "text",
1051
+ "text": "Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In ICLR, 2014. ",
1052
+ "bbox": [
1053
+ 169,
1054
+ 804,
1055
+ 810,
1056
+ 820
1057
+ ],
1058
+ "page_idx": 8
1059
+ },
1060
+ {
1061
+ "type": "text",
1062
+ "text": "Wen Liu, Zhixin Piao, Jie Min, Wenhan Luo, Lin Ma, and Shenghua Gao. Liquid warping gan: A unified framework for human motion imitation, appearance transfer and novel view synthesis. In Proceedings of the IEEE International Conference on Computer Vision, 2019. ",
1063
+ "bbox": [
1064
+ 174,
1065
+ 829,
1066
+ 821,
1067
+ 872
1068
+ ],
1069
+ "page_idx": 8
1070
+ },
1071
+ {
1072
+ "type": "text",
1073
+ "text": "Dominik Lorenz, Leonard Bereska, Timo Milbich, and Bjorn Ommer. Unsupervised part-based disentangling of object shape and appearance. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2019. ",
1074
+ "bbox": [
1075
+ 174,
1076
+ 881,
1077
+ 825,
1078
+ 924
1079
+ ],
1080
+ "page_idx": 8
1081
+ },
1082
+ {
1083
+ "type": "text",
1084
+ "text": "Koki Nagano, Jaewoo Seo, Jun Xing, Lingyu Wei, Zimo Li, Shunsuke Saito, Aviral Agarwal, Jens Fursund, and Hao Li. pagan: real-time avatars using dynamic textures. ACM Transactions on Graphics, 2018. ",
1085
+ "bbox": [
1086
+ 176,
1087
+ 103,
1088
+ 821,
1089
+ 146
1090
+ ],
1091
+ "page_idx": 9
1092
+ },
1093
+ {
1094
+ "type": "text",
1095
+ "text": "A. Nagrani, J. S. Chung, and A. Zisserman. Voxceleb: a large-scale speaker identification dataset. In INTERSPEECH, 2017. ",
1096
+ "bbox": [
1097
+ 171,
1098
+ 156,
1099
+ 823,
1100
+ 185
1101
+ ],
1102
+ "page_idx": 9
1103
+ },
1104
+ {
1105
+ "type": "text",
1106
+ "text": "Yuval Nirkin, Yosi Keller, and Tal Hassner. Fsgan: Subject agnostic face swapping and reenactment. In Proceedings of the IEEE International Conference on Computer Vision, 2019. ",
1107
+ "bbox": [
1108
+ 173,
1109
+ 195,
1110
+ 821,
1111
+ 224
1112
+ ],
1113
+ "page_idx": 9
1114
+ },
1115
+ {
1116
+ "type": "text",
1117
+ "text": "Albert Pumarola, Antonio Agudo, Aleix M Martinez, Alberto Sanfeliu, and Francesc Moreno-Noguer. Ganimation: Anatomically-aware facial animation from a single image. In Proceedings of the European Conference on Computer Vision, 2018. ",
1118
+ "bbox": [
1119
+ 176,
1120
+ 234,
1121
+ 823,
1122
+ 277
1123
+ ],
1124
+ "page_idx": 9
1125
+ },
1126
+ {
1127
+ "type": "text",
1128
+ "text": "Shengju Qian, Kwan-Yee Lin, Wayne Wu, Yangxiaokang Liu, Quan Wang, Fumin Shen, Chen Qian, and Ran He. Make a face: Towards arbitrary high fidelity face manipulation. In Proceedings of the IEEE International Conference on Computer Vision, 2019. ",
1129
+ "bbox": [
1130
+ 176,
1131
+ 286,
1132
+ 825,
1133
+ 330
1134
+ ],
1135
+ "page_idx": 9
1136
+ },
1137
+ {
1138
+ "type": "text",
1139
+ "text": "Jian Ren, Menglei Chai, Sergey Tulyakov, Chen Fang, Xiaohui Shen, and Jianchao Yang. Human motion transfer from poses in the wild. arXiv preprint arXiv:2004.03142, 2020. ",
1140
+ "bbox": [
1141
+ 169,
1142
+ 340,
1143
+ 823,
1144
+ 369
1145
+ ],
1146
+ "page_idx": 9
1147
+ },
1148
+ {
1149
+ "type": "text",
1150
+ "text": "Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-net: Convolutional networks for biomedical image segmentation. In MICCAI, 2015. ",
1151
+ "bbox": [
1152
+ 174,
1153
+ 378,
1154
+ 823,
1155
+ 409
1156
+ ],
1157
+ "page_idx": 9
1158
+ },
1159
+ {
1160
+ "type": "text",
1161
+ "text": "Masaki Saito, Eiichi Matsumoto, and Shunta Saito. Temporal generative adversarial nets with singular value clipping. In Proceedings of the IEEE International Conference on Computer Vision, 2017. ",
1162
+ "bbox": [
1163
+ 169,
1164
+ 417,
1165
+ 823,
1166
+ 448
1167
+ ],
1168
+ "page_idx": 9
1169
+ },
1170
+ {
1171
+ "type": "text",
1172
+ "text": "Aliaksandr Siarohin, Enver Sangineto, Stéphane Lathuilière, and Nicu Sebe. Deformable gans for pose-based human image generation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2018. ",
1173
+ "bbox": [
1174
+ 174,
1175
+ 457,
1176
+ 823,
1177
+ 501
1178
+ ],
1179
+ "page_idx": 9
1180
+ },
1181
+ {
1182
+ "type": "text",
1183
+ "text": "Aliaksandr Siarohin, Stéphane Lathuilière, Sergey Tulyakov, Elisa Ricci, and Nicu Sebe. First order motion model for image animation. In Proceedings of the Neural Information Processing Systems Conference, 2019a. ",
1184
+ "bbox": [
1185
+ 173,
1186
+ 510,
1187
+ 825,
1188
+ 554
1189
+ ],
1190
+ "page_idx": 9
1191
+ },
1192
+ {
1193
+ "type": "text",
1194
+ "text": "Aliaksandr Siarohin, Stéphane Lathuilière, Sergey Tulyakov, Elisa Ricci, and Nicu Sebe. Animating arbitrary objects via deep motion transfer. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2019b. ",
1195
+ "bbox": [
1196
+ 173,
1197
+ 563,
1198
+ 823,
1199
+ 606
1200
+ ],
1201
+ "page_idx": 9
1202
+ },
1203
+ {
1204
+ "type": "text",
1205
+ "text": "Justus Thies, Michael Zollhofer, Marc Stamminger, Christian Theobalt, and Matthias Nießner. Face2face: Real-time face capture and reenactment of rgb videos. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2016. ",
1206
+ "bbox": [
1207
+ 176,
1208
+ 616,
1209
+ 823,
1210
+ 660
1211
+ ],
1212
+ "page_idx": 9
1213
+ },
1214
+ {
1215
+ "type": "text",
1216
+ "text": "Sergey Tulyakov, Ming-Yu Liu, Xiaodong Yang, and Jan Kautz. Mocogan: Decomposing motion and content for video generation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2018. ",
1217
+ "bbox": [
1218
+ 173,
1219
+ 669,
1220
+ 825,
1221
+ 712
1222
+ ],
1223
+ "page_idx": 9
1224
+ },
1225
+ {
1226
+ "type": "text",
1227
+ "text": "Michael E Wall, Andreas Rechtsteiner, and Luis M Rocha. Singular value decomposition and principal component analysis. In A practical approach to microarray data analysis, pp. 91–109. Springer, 2003. ",
1228
+ "bbox": [
1229
+ 173,
1230
+ 722,
1231
+ 826,
1232
+ 765
1233
+ ],
1234
+ "page_idx": 9
1235
+ },
1236
+ {
1237
+ "type": "text",
1238
+ "text": "Ting-Chun Wang, Ming-Yu Liu, Jun-Yan Zhu, Andrew Tao, Jan Kautz, and Bryan Catanzaro. Highresolution image synthesis and semantic manipulation with conditional gans. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2017. ",
1239
+ "bbox": [
1240
+ 173,
1241
+ 775,
1242
+ 825,
1243
+ 818
1244
+ ],
1245
+ "page_idx": 9
1246
+ },
1247
+ {
1248
+ "type": "text",
1249
+ "text": "Ting-Chun Wang, Ming-Yu Liu, Jun-Yan Zhu, Guilin Liu, Andrew Tao, Jan Kautz, and Bryan Catanzaro. Video-to-video synthesis. In Proceedings of the Neural Information Processing Systems Conference, 2018a. ",
1250
+ "bbox": [
1251
+ 176,
1252
+ 828,
1253
+ 823,
1254
+ 871
1255
+ ],
1256
+ "page_idx": 9
1257
+ },
1258
+ {
1259
+ "type": "text",
1260
+ "text": "Ting-Chun Wang, Ming-Yu Liu, Andrew Tao, Guilin Liu, Jan Kautz, and Bryan Catanzaro. Few-shot video-to-video synthesis. In Proceedings of the Neural Information Processing Systems Conference, 2019. ",
1261
+ "bbox": [
1262
+ 176,
1263
+ 881,
1264
+ 825,
1265
+ 922
1266
+ ],
1267
+ "page_idx": 9
1268
+ },
1269
+ {
1270
+ "type": "text",
1271
+ "text": "Wei Wang, Xavier Alameda-Pineda, Dan Xu, Pascal Fua, Elisa Ricci, and Nicu Sebe. Every smile is unique: Landmark-guided diverse smile generation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2018b. ",
1272
+ "bbox": [
1273
+ 176,
1274
+ 103,
1275
+ 821,
1276
+ 146
1277
+ ],
1278
+ "page_idx": 10
1279
+ },
1280
+ {
1281
+ "type": "text",
1282
+ "text": "Zhou Wang, Eero P Simoncelli, and Alan C Bovik. Multiscale structural similarity for image quality assessment. In Proceedings of the Thrity-Seventh Asilomar Conference on Signals, Systems & Computers, 2003. ",
1283
+ "bbox": [
1284
+ 176,
1285
+ 155,
1286
+ 823,
1287
+ 196
1288
+ ],
1289
+ "page_idx": 10
1290
+ },
1291
+ {
1292
+ "type": "text",
1293
+ "text": "Olivia Wiles, A Sophia Koepke, and Andrew Zisserman. X2face: A network for controlling face generation using images, audio, and pose codes. In Proceedings of the European Conference on Computer Vision, 2018. ",
1294
+ "bbox": [
1295
+ 174,
1296
+ 207,
1297
+ 821,
1298
+ 250
1299
+ ],
1300
+ "page_idx": 10
1301
+ },
1302
+ {
1303
+ "type": "text",
1304
+ "text": "Yuxin Wu, Alexander Kirillov, Francisco Massa, Wan-Yen Lo, and Ross Girshick. Detectron2. https://github.com/facebookresearch/detectron2, 2019. ",
1305
+ "bbox": [
1306
+ 176,
1307
+ 257,
1308
+ 821,
1309
+ 287
1310
+ ],
1311
+ "page_idx": 10
1312
+ },
1313
+ {
1314
+ "type": "text",
1315
+ "text": "Egor Zakharov, Aliaksandra Shysheya, Egor Burkov, and Victor Lempitsky. Few-shot adversarial learning of realistic neural talking head models. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2019. ",
1316
+ "bbox": [
1317
+ 174,
1318
+ 295,
1319
+ 826,
1320
+ 338
1321
+ ],
1322
+ "page_idx": 10
1323
+ },
1324
+ {
1325
+ "type": "text",
1326
+ "text": "Yuting Zhang, Yijie Guo, Yixin Jin, Yijun Luo, Zhiyuan He, and Honglak Lee. Unsupervised discovery of object landmarks as structural representations. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2018. ",
1327
+ "bbox": [
1328
+ 174,
1329
+ 347,
1330
+ 825,
1331
+ 390
1332
+ ],
1333
+ "page_idx": 10
1334
+ },
1335
+ {
1336
+ "type": "text",
1337
+ "text": "A TED-TALKS DATASET CREATION ",
1338
+ "text_level": 1,
1339
+ "bbox": [
1340
+ 176,
1341
+ 102,
1342
+ 480,
1343
+ 117
1344
+ ],
1345
+ "page_idx": 11
1346
+ },
1347
+ {
1348
+ "type": "text",
1349
+ "text": "To create the TED-talks dataset, we downloaded 3,035 YouTube videos, shared under the “CC BY – $\\mathrm { N C } - \\mathrm { N D } 4 . 0$ International” license,3 using the \"TED talks\" query. From these initial candidates, we selected the videos where the upper part of the person is visible for at least 64 frames, and the height of the person bounding box was at least 384 pixels. After that, we manually filtered out static videos and videos in which a person is doing something other than presenting. We ended up with 411 videos, and split these videos in 369 training and 42 testing videos. We then split each video into chunks from a consistent camera angle (i.e. with no cuts to another camera), and for which the presenter didn’t move too far from their starting position in the chunk. We cropped the a square region around the presenter, such that they had a consistent scale, and downscaled this region to $3 8 4 \\times 3 8 4$ pixels. Chunks that lacked sufficient resolution to be downscaled, or had a length shorter than 64 frames, were removed. Both the distance moved and the region cropping were achieved using a bounding box estimator for humans (Wu et al., 2019). Overall, we obtained 1,177 training video chunks and 145 test videos chunks. ",
1350
+ "bbox": [
1351
+ 173,
1352
+ 140,
1353
+ 826,
1354
+ 319
1355
+ ],
1356
+ "page_idx": 11
1357
+ },
1358
+ {
1359
+ "type": "text",
1360
+ "text": "B IMPLEMENTATION DETAILS ",
1361
+ "text_level": 1,
1362
+ "bbox": [
1363
+ 176,
1364
+ 351,
1365
+ 434,
1366
+ 366
1367
+ ],
1368
+ "page_idx": 11
1369
+ },
1370
+ {
1371
+ "type": "text",
1372
+ "text": "For a fair comparison, in order to highlight our contributions, we mostly follow the architecture design of FOMM (Siarohin et al., 2019a). Similar to FOMM, our region predictor, background motion predictor and pixel-wise flow predictor operate on a quarter of the original resolution, e.g. $6 4 \\times 6 4$ for $2 5 6 \\times 2 5 6$ images, $9 6 \\times 9 6$ for $3 8 4 \\times 3 8 4$ and $1 2 8 \\times 1 2 8$ for $5 1 2 \\times 5 1 2$ . We use the U-Net (Ronneberger et al., 2015) architecture with five \"convolution - batch norm - ReLU - pooling\" blocks in the encoder and five \"upsample - convolution - batch norm - ReLU\" blocks in the decoder for both the region predictor and the pixel-wise flow predictor. For the background motion predictor, we use only the five block encoder part. Similarly to FOMM (Siarohin et al., 2019a), we use the Johnson architecture (Johnson et al., 2016) for image generation, with two down-sampling blocks, six residual-blocks, and two up-sampling blocks. However, we add skip connections that are warped and weighted by the confidence map. Our method is trained using Adam (Kingma & Ba, 2014) optimizer with learning rate $2 e - 4$ and batch size 48, 20, 12 for $2 5 6 \\times 2 5 6$ , $3 8 4 \\times 3 8 4$ and $5 1 2 \\times 5 1 2$ resolutions respectively. During the training process, the networks observe 3M source-driving pairs, each pair selected at random from a random video chunk, and we drop the learning rate by a factor of 10 after 1.8M and 2.7M pairs. We use 4 Nvidia P100 GPUs for training. ",
1373
+ "bbox": [
1374
+ 174,
1375
+ 387,
1376
+ 826,
1377
+ 595
1378
+ ],
1379
+ "page_idx": 11
1380
+ },
1381
+ {
1382
+ "type": "text",
1383
+ "text": "C MGIF DATASET ",
1384
+ "text_level": 1,
1385
+ "bbox": [
1386
+ 176,
1387
+ 626,
1388
+ 336,
1389
+ 642
1390
+ ],
1391
+ "page_idx": 11
1392
+ },
1393
+ {
1394
+ "type": "text",
1395
+ "text": "We run additional experiments on the MGif (Siarohin et al., 2019b) dataset to further demonstrate the superiority of PCA-based representations over regression-based ones. The dataset contains a set of animations of articulated, 2D, cartoon animals. The qualitative results are presented in the supplementary video. We can observe that our PCA-based representation successfully tracks all legs, while the regression-based representation often misses some of the legs, which leads to worse reconstruction quality. This observation is further confirmed by quantitative evaluation; the $\\mathcal { L } _ { 1 }$ error for FOMM (Siarohin et al., 2019a) is 0.0223, while for our method it is 0.0206. ",
1396
+ "bbox": [
1397
+ 174,
1398
+ 662,
1399
+ 825,
1400
+ 761
1401
+ ],
1402
+ "page_idx": 11
1403
+ },
1404
+ {
1405
+ "type": "text",
1406
+ "text": "D COMPARISON WITH OTHER METHODS ",
1407
+ "text_level": 1,
1408
+ "bbox": [
1409
+ 174,
1410
+ 792,
1411
+ 522,
1412
+ 808
1413
+ ],
1414
+ "page_idx": 11
1415
+ },
1416
+ {
1417
+ "type": "text",
1418
+ "text": "The main paper has focused on comparing our method to FOMM (Siarohin et al., 2019a), as it is both most similar to our work, and the current state-of-the-art. We show quantitative results using prior works (Wiles et al., 2018; Siarohin et al., 2019b) in Table 5. These are significantly inferior to both FOMM and our method. ",
1419
+ "bbox": [
1420
+ 174,
1421
+ 829,
1422
+ 825,
1423
+ 885
1424
+ ],
1425
+ "page_idx": 11
1426
+ },
1427
+ {
1428
+ "type": "table",
1429
+ "img_path": "images/797f14c57fdeaae1464f246e27a2e71f41fffe2bf3342273320d0ab8f2cb566d.jpg",
1430
+ "table_caption": [
1431
+ "Table 5: Video reconstruction comparison. (Best result in bold.) "
1432
+ ],
1433
+ "table_footnote": [],
1434
+ "table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"3\">TaiChiHD (256)</td><td colspan=\"3\">VoxCeleb</td></tr><tr><td>L1</td><td>(AKD,MKR)</td><td>AED</td><td>L1</td><td>AKD</td><td>AED</td></tr><tr><td>X2Face</td><td>0.080</td><td>(17.65, 0.109)</td><td>0.27</td><td>0.078</td><td>7.69</td><td>0.405</td></tr><tr><td>Monkey-Net</td><td>0.077</td><td>(10.80, 0.059)</td><td>0.228</td><td>0.049</td><td>1.89</td><td>0.199</td></tr><tr><td>FOMM</td><td>0.056</td><td>(6.53, 0.033)</td><td>0.172</td><td>0.041</td><td>1.27</td><td>0.134</td></tr><tr><td>Ours</td><td>0.048</td><td>(5.45, 0.028)</td><td>0.152</td><td>0.040</td><td>1.28</td><td>0.133</td></tr></table>",
1435
+ "bbox": [
1436
+ 246,
1437
+ 127,
1438
+ 746,
1439
+ 224
1440
+ ],
1441
+ "page_idx": 12
1442
+ },
1443
+ {
1444
+ "type": "text",
1445
+ "text": "E TOY EXPERIMENT DETAILS ",
1446
+ "text_level": 1,
1447
+ "bbox": [
1448
+ 174,
1449
+ 248,
1450
+ 437,
1451
+ 265
1452
+ ],
1453
+ "page_idx": 12
1454
+ },
1455
+ {
1456
+ "type": "text",
1457
+ "text": "The rotated rectangles dataset consists of images of rectangles randomly rotated from $0 ^ { \\circ }$ to $9 0 °$ , along with labels that indicate the angle of rotation. The rectangles have different, random colors. Visual samples are shown in Fig. 6. ",
1458
+ "bbox": [
1459
+ 174,
1460
+ 280,
1461
+ 826,
1462
+ 323
1463
+ ],
1464
+ "page_idx": 12
1465
+ },
1466
+ {
1467
+ "type": "image",
1468
+ "img_path": "images/77aea8e7c834470bac00866386bc4f7458ce91a18ec5c52d79bbcaf32aa67e40.jpg",
1469
+ "image_caption": [
1470
+ "Figure 6: Examples of synthetic rectangle dataset. "
1471
+ ],
1472
+ "image_footnote": [],
1473
+ "bbox": [
1474
+ 269,
1475
+ 333,
1476
+ 728,
1477
+ 457
1478
+ ],
1479
+ "page_idx": 12
1480
+ },
1481
+ {
1482
+ "type": "text",
1483
+ "text": "We tested three different networks: Naive, Regression-based and PCA-based. The Naive network directly predicts an angle from an image using an encoder and a fully-connected layer. Regressionbased is similar to FOMM (Siarohin et al., 2019a); the angle is regressed per pixel an using hourglass network, and pooled according to heatmap weights predicted using the same hourglass network. PCAbased is our method described in Sec. 3; we predict the heatmap using an hourglass network, PCA is performed according to eq. equation 2, and the angle is computed from matrix $U$ as arctan $\\left( U _ { 1 0 } / U _ { 0 0 } \\right)$ . ",
1484
+ "bbox": [
1485
+ 173,
1486
+ 496,
1487
+ 826,
1488
+ 580
1489
+ ],
1490
+ "page_idx": 12
1491
+ },
1492
+ {
1493
+ "type": "text",
1494
+ "text": "Each of the networks was trained, on subsets of the dataset of varying sizes, to minimize the $\\mathcal { L } _ { 1 }$ loss between predicted and ground truth rotation angle. All models were trained for 100 epochs, with batch size 8. We used the Adam optimizer, with a learning rate of $1 0 ^ { - 4 }$ . We varied the size of the training set from 32 to 1024. Results, on a separate, fixed test set of size 128, were then computed, shown in Fig. 5. ",
1495
+ "bbox": [
1496
+ 174,
1497
+ 585,
1498
+ 825,
1499
+ 656
1500
+ ],
1501
+ "page_idx": 12
1502
+ }
1503
+ ]