ZHANGYUXUAN-zR commited on
Commit
872ff11
·
verified ·
1 Parent(s): 881e58d

Add files using upload-large-folder tool

Browse files
parse/train/HyM7AiA5YX/HyM7AiA5YX.md ADDED
@@ -0,0 +1,212 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # COMPLEMENT OBJECTIVE TRAINING
2
+
3
+ Hao-Yun Chen1, Pei-Hsin Wang1, Chun-Hao Liu1, Shih-Chieh Chang1, 2, Jia-Yu Pan3, Yu-Ting Chen3, Wei Wei3, and Da-Cheng Juan3
4
+
5
+ 1Department of Computer Science, National Tsing-Hua University, Hsinchu, Taiwan
6
+ 2Electronic and Optoelectronic System Research Laboratories, ITRI, Hsinchu, Taiwan 3Google Research, Mountain View, CA, USA {haoyunchen,peihsin,newgod1992}@gapp.nthu.edu.tw scchang@cs.nthu.edu.tw {jypan, yutingchen, wewei, dacheng}@google.com
7
+
8
+ # ABSTRACT
9
+
10
+ Learning with a primary objective, such as softmax cross entropy for classification and sequence generation, has been the norm for training deep neural networks for years. Although being a widely-adopted approach, using cross entropy as the primary objective exploits mostly the information from the ground-truth class for maximizing data likelihood, and largely ignores information from the complement (incorrect) classes. We argue that, in addition to the primary objective, training also using a complement objective that leverages information from the complement classes can be effective in improving model performance. This motivates us to study a new training paradigm that maximizes the likelihood of the groundtruth class while neutralizing the probabilities of the complement classes. We conduct extensive experiments on multiple tasks ranging from computer vision to natural language understanding. The experimental results confirm that, compared to the conventional training with just one primary objective, training also with the complement objective further improves the performance of the state-of-the-art models across all tasks. In addition to the accuracy improvement, we also show that models trained with both primary and complement objectives are more robust to single-step adversarial attacks.
11
+
12
+ # 1 INTRODUCTION
13
+
14
+ Statistical learning algorithms work by optimizing towards a training objective. A dominant principle for training is to optimize likelihood (Mitchell et al., 1997), which measures the probability of data given the model under a specific set of parameters. The popularity of deep neural networks has given rise to the use of cross entropy (Kullback & Leibler, 1951) as its primary training objective, since minimizing cross entropy is essentially equivalent to maximizing likelihood for disjoint classes. Cross entropy has become the standard training objective for many tasks including classification (Krizhevsky et al., 2012) and sequence generation (Sutskever et al., 2014).
15
+
16
+ Let $\mathbf { y } _ { i } \in \{ 0 , 1 \} ^ { K }$ be the label of the $i ^ { \mathrm { { t h } } }$ sample in one-hot encoded representation and $\hat { \mathbf { y } } _ { i } \in [ 0 , 1 ] ^ { K }$ be the predicted probabilities, the cross entropy $H ( \mathbf { y } , { \hat { \mathbf { y } } } )$ is defined as:
17
+
18
+ $$
19
+ \begin{array} { c } { \displaystyle { H ( \mathbf { y } , \hat { \mathbf { y } } ) = - \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \mathbf { y } _ { i } ^ { T } \cdot \log ( \hat { \mathbf { y } } _ { i } ) } } \\ { \displaystyle { = - \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \log ( \hat { \mathbf { y } } _ { i g } ) } } \end{array}
20
+ $$
21
+
22
+ where $\hat { \mathsf { y } } _ { i g }$ represents the predicted probability of the ground-truth class for the $i ^ { \mathrm { { t h } } }$ sample. Training with cross entropy as the primary objective aims at finding $\hat { \pmb { \theta } } \ : = \ : \arg \operatorname* { m i n } _ { \pmb { \theta } } H ( \mathbf { y } , \hat { \mathbf { y } } )$ , where $\hat { \mathbf { y } } = h _ { \pmb { \theta } } ( \mathbf { x } )$ , $h _ { \theta }$ is a neural network and $\mathbf { x }$ is a sample. Although training using the cross entropy as
23
+
24
+ (a) $\hat { \mathbf { y } }$ from the model trained with cross entropy.
25
+
26
+ ![](images/1dc5977e854e7588d2baf16b17ed3bad98160b360a1c3942ff50f9df7db4a2ba.jpg)
27
+ Figure 1: Predicted probabilities $\hat { \mathbf { y } }$ from two training paradigms: (a) With cross entropy as the primary objective. (b) COT: with both primary and complement objectives. The model is ResNet110 and the sample image is from CIFAR10 dataset. The ground-truth class is “horse.” Compared to (b), the model in (a) is confused by other classes such as “airplane” and “automobile,” which suggests (a) might be more susceptible for generalization issues and potentially adversarial attacks.
28
+
29
+ ![](images/52fc17efbfc6fc24b30e39d913e4e8ca185c1ea6e1d2913504d5378b452994d8.jpg)
30
+ (b) $\hat { \mathbf { y } }$ from the model trained with COT.
31
+
32
+ (a) Embeddings from the model trained with cross entropy.
33
+
34
+ ![](images/2f3ef2de74e9c0a2882a3ca94e68eb6591d5a4b3dc3b475945017e011a63837b.jpg)
35
+ (b) Embeddings from the model trained with COT.
36
+
37
+ ![](images/8b447a5f9635b9f771ea9ae7c843e9547b2b185e61aef47375a7aaba1879393d.jpg)
38
+ Figure 2: Embeddings for CIFAR10 test images from two training paradigms: (a) With cross entropy as the primary objective. (b) COT: training with both primary and complement objectives. The model is ResNet-110, and the “embedding” is the vector representation before taking the softmax operation. The embedding representation of each sample is projected to two dimensions using t-SNE for visualization purpose. Compared to (a), the cluster of each class in (b) is “narrower” in terms of intra-cluster distance. Also, the clusters in (b) seem to have clean and separable boundaries, leading to more accurate and robust classification results.
39
+
40
+ the primary objective has achieved tremendous success, we have observed one limitation: it exploits mostly the information from the ground-truth class as Eq(1) shows; the information from complement classes (i.e., incorrect classes) has been largely ignored, since the predicted probabilities other than $\hat { \mathsf { y } } _ { i g }$ are zeroed out due to the dot product calculation with the one-hot encoded $\mathbf { y } _ { i }$ . Therefore, for classes other than the ground truth, the model behavior is not explicitly optimized — their predicted probabilities are indirectly minimized when $\hat { \mathbf { y } } _ { i g }$ is maximized since the probabilities sum up to 1. One way to utilize the information from the complement classes is to neutralize their predicted probabilities. To this end, we propose Complement Objective Training (COT), a new training paradigm that achieves this optimization goal without compromising the model’s primary objective. Figure 1 illustrates the comparison between Figure 1a: the predicted probability $\hat { \mathbf { y } }$ from the model trained with just cross entropy as the primary objective, and Figure 1b: $\hat { \mathbf { y } }$ from the model trained with both primary and complement objectives. Training with the complement objective finds the parameters $\pmb \theta$ that evenly suppress complement classes without compromising the primary objective (i.e., maximizing $\hat { \mathsf { y } } _ { g } ^ { \phantom { \dagger } } .$ ), making the model more confident of the ground-truth class.
41
+
42
+ Figure 2 further illustrates the embeddings of CIFAR10 images calculated from ResNet-110 using two training paradigms: cross entropy and COT. An embedding of an image is the vector representation computed by the ResNet-110 model, before taking the softmax operation. Compared to Figure 2a, the clusters in Figure 2b seem to have clean and separable boundaries, leading to more accurate and robust classification results. The experimental results later in Section 3 further confirm this observation.
43
+
44
+ Complement objective training requires a function that complements the primary objective. In this paper, we propose “complement entropy” (defined in Section 2) to complement the softmax cross entropy for neutralizing the effects of complement classes. The neural net parameters $\pmb { \theta }$ are then updated by alternating iteratively between (a) minimizing cross entropy to increase $\hat { \mathsf { y } } _ { g }$ , and (b) maximizing complement entropy to neutralize $\hat { \mathbf { y } } _ { j \neq g }$ . Experimental results (in Section 3) confirm that COT improves the accuracies of the state-of-the-art methods for both (a) the image classification tasks on ImageNet-2012, Tiny ImageNet, CIFAR-10, CIFAR-100, and SVHN, and (b) language understanding tasks on machine translation and speech recognition. Furthermore, experimental results also show that models trained by COT are more robust to adversarial attacks.
45
+
46
+ # 2 COMPLEMENT OBJECTIVE TRAINING
47
+
48
+ In this section, we first define “Complement Entropy” as the complement objective, and then provide a new training algorithm for updating neural network parameters $\pmb { \theta }$ by alternating iteratively between the primary objective and the complement objective.
49
+
50
+ # 2.1 COMPLEMENT ENTROPY
51
+
52
+ Conventionally, training with cross entropy as the primary objective aims at maximizing the predicted probability of the ground-truth class $\hat { \mathsf { y } } _ { g }$ in $\operatorname { E q } ( 1 )$ . As mentioned in the introduction, the proposed COT also maximizes the complement objective for neutralizing the predicted probabilities of the complement classes. To achieve this, we propose “complement entropy” as the complement objective; complement entropy $C ( \cdot )$ is defined to be the average of sample-wise entropies over complement classes in a mini-batch:
53
+
54
+ $$
55
+ \begin{array} { l } { { \displaystyle C ( \hat { \mathbf { y } } _ { \bar { c } } ) = \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \mathcal { H } ( \hat { \mathbf { y } } _ { i \bar { c } } ) } } \\ { { \displaystyle ~ = - \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \sum _ { j = 1 , j \neq g } ^ { K } ( \frac { \hat { \mathbf { y } } _ { i j } } { 1 - \hat { \mathbf { y } } _ { i g } } ) \log ( \frac { \hat { \mathbf { y } } _ { i j } } { 1 - \hat { \mathbf { y } } _ { i g } } ) } } \end{array}
56
+ $$
57
+
58
+ $\mathcal { H } ( \cdot )$ is the entropy function. All the symbols and notations used in this paper are summarized in Table 1. One thing worth noticing is that this sample-wise entropy is calculated by considering only the complement classes other than the ground-truth class $g$ . The sample-wise predicted probability $\hat { \mathsf { y } } _ { i j }$ is normalized by one minus the ground-truth probability (i.e., $\mathrm { 1 - } \hat { \mathrm { y } } _ { i g } )$ . The term $\hat { \mathsf { y } } _ { i j } / ( 1 - \hat { \mathsf { y } } _ { i g } )$ can be understood as: conditioned on the ground-truth class $g$ not happening, the predicted probability to see the class $j$ for the $i ^ { \mathrm { { t h } } }$ sample. Since the entropy is maximized when the events are equally likely to occur, optimizing on the complement entropy drives $\hat { \mathsf { y } } _ { i j }$ to $( 1 - \hat { \mathbf y } _ { i g } ) / ( K - 1 )$ , which essentially neutralizes the predicted probability of complement classes as $K$ grows large. In other words, maximizing the complement entropy “flattens” the predicted probabilities of complement classes $\hat { \mathsf { y } } _ { j \neq g }$ . We conjecture that, when $\hat { \mathsf { y } } _ { j \neq g }$ are neutralized, the neural net $h _ { \theta }$ generalizes better, since it is less likely to have an incorrect class with a sufficiently high predicted probability to “challenge” the ground-truth class.
59
+
60
+ # 2.2 TRAINING WITH COMPLEMENT OBJECTIVE
61
+
62
+ Given a training procedure using a primary objective, such as softmax cross entropy, one can easily adopt the complement entropy to turn the procedure into a Complement Objective Training (COT). Algorithm 1 describes the new training mechanism by alternating iteratively between the primary and complement objectives. At each training step, the cross entropy is first calculated as the loss value to update the model parameters; next, the complement entropy is calculated as the loss value to perform the second update. Therefore, additional forward and backward propagation are required in each iteration when using the complement objective, making the total training time empirically 1.6 times longer.
63
+
64
+ Table 1: Notations used in this paper.
65
+
66
+ <table><tr><td>Symbol</td><td>Meaning</td></tr><tr><td>yi yi</td><td>One-hot vector representing the label of the ith sample. The predicted probability for each class for the ith sample.</td></tr><tr><td>g</td><td>Index of the ground-truth class.</td></tr><tr><td>yij oryij ye</td><td>The jth class (element) of yi oryi.</td></tr><tr><td>H(,)</td><td>Predicted probabilities of of the complement (incorrect) classes.</td></tr><tr><td>H()</td><td>Cross entropy function. Entropy function.</td></tr><tr><td>C(.)</td><td></td></tr><tr><td>N and K</td><td>Complement entropy. Total number of samples and total number of classes.</td></tr></table>
67
+
68
+ <table><tr><td>Algorithm 1: Training by alternating between primary and complement objectives</td></tr><tr><td>1 for t ← 1 to ntrain_steps do</td></tr><tr><td>1N 2</td></tr><tr><td>1. Update parameters by Primary Objective: -1Σ-1log(𝑦ig)</td></tr></table>
69
+
70
+ # 3 EXPERIMENTS
71
+
72
+ We perform extensive experiments to evaluate COT on tasks in domains ranging from computer vision to natural language understanding and compare it with the baseline algorithms that achieve state-of-the-art in the respective domains. We also perform experiments to evaluate the robustness of the model trained by COT when attacked by adversarial examples. For each task, we select a stateof-the-art model that has an open-source implementation (referred to as “baseline”) and reproduce their results with the hyper-parameters reported in the paper or code repository. Our code is available at https://github.com/henry8527/COT.
73
+
74
+ # 3.1 BALANCING TRAINING OBJECTIVES
75
+
76
+ In theory, the loss values between the primary and the complement objectives can be in different scales; therefore, additional efforts for tuning learning rates might be required for optimizers to achieve the best performance. Empirically, we find the complement entropy in Eq(2) can be modified as follows to balance the losses between the two objectives:
77
+
78
+ $$
79
+ \begin{array} { l } { { \displaystyle C ^ { \prime } ( \hat { \mathbf { y } } _ { \bar { c } } ) = \frac { 1 } { K - 1 } \cdot C ( \hat { \mathbf { y } } _ { \bar { c } } ) } } \\ { { \displaystyle ~ = \frac { 1 } { K - 1 } \cdot \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \mathcal { H } ( \hat { \mathbf { y } } _ { i \bar { c } } ) } } \end{array}
80
+ $$
81
+
82
+ where $K$ is the number of classes. This modification can be treated as the complement entropy $C ( \cdot )$ being “normalized” by $( K - 1 )$ . For all the experiments conducted in this paper, we use this normalized complement entropy as the complement objective to improve the baselines without further tuning of learning rates.
83
+
84
+ # 3.2 IMAGE CLASSIFICATION
85
+
86
+ We consider the following datasets for experiments with image classification: CIFAR-10, CIFAR100, SVHN, Tiny ImageNet and ImageNet-2012. For CIFAR-10, CIFAR-100 and SVHN, we choose the following baseline models: ResNet-110 (He et al., 2016b), PreAct ResNet-18 (He et al., 2016a), ResNeXt-29 $( 2 \times 6 4 \mathrm { d } )$ (Xie et al., 2017), WideResNet-28-10 (Zagoruyko & Komodakis, 2016) and DenseNet-BC-121 (Huang et al., 2017b) with a growth rate of 32. For those five models, we use a consistent set of settings below, which is described in (He et al., 2016b). Specifically, the models are trained using SGD optimizer with momentum of 0.9. Weight decay is set to be 0.0001 and learning rate starts at 0.1, then being divided by 10 at the $1 0 0 ^ { \mathrm { { t h } } }$ and $1 5 \dot { 0 } ^ { \mathrm { t h } }$ epoch. The models are trained for 200 epochs, with mini-batches of size 128. The only exception here is for training WideResNet-28-10, we follow the settings described in (Zagoruyko & Komodakis, 2016), and the learning rate is divided by 10 at the $6 0 ^ { \mathrm { { \bar { t } h } } }$ , $1 2 0 ^ { \mathrm { t h } }$ and $1 8 0 ^ { \mathrm { t h } }$ epoch. In addition, no dropout (Srivastava et al., 2014) is applied to any baseline according to the best practices in (Ioffe & Szegedy, 2015). For Tiny ImageNet and ImageNet-2012, the baseline models are slightly different: we follow the settings from (Zhang et al., 2018), and the details are described in the corresponding paragraphs.
87
+
88
+ CIFAR-10 and CIFAR-100. CIFAR-10 and CIFAR-100 are datasets (Krizhevsky, 2009) that contain colored natural images of $3 2 \mathrm { x } 3 2 $ pixels, in 10 and 100 classes, respectively. We follow the baseline settings (He et al., 2016b) to pre-process the datasets; both datasets are split into a training set with 50,000 samples and a testing set with 10,000 samples. During training, zero-padding, random cropping, and horizontal mirroring are applied to the images with a probability of 0.5. For the testing images, we use the original images of $3 2 \mathrm { x } 3 2 $ pixels.
89
+
90
+ A comparison between the models trained using the primary objective and the COT model is illustrated in Figures 3a and 4a for CIFAR-10 and CIFAR-100 respectively. We show that COT consistently outperforms the baseline models. Some of the models, for example, ResNetXt-29, achieves a significant performance boost of $12 . 5 \%$ in terms of classification errors. For some other models such as WideResNet-28-10 and DenseNet-BC-121, the improvements are not as significant but are still large enough to justify the differences. Similar conclusions can be observed from the CIFAR-100 dataset. In addition to the comparisons of the performance, we also present the change of testing errors over the course of the training in Figures 3b and 4b for the ResNet-110 model. Following the standard training practice, learning rates drop after the $1 0 0 ^ { \mathrm { t h } }$ epoch, which corresponds to a drop in testing errors. As we can see from the plot, COT outperforms consistently compared to the baseline models when the models are close to the convergence.
91
+
92
+ Street View House Numbers (SVHN). The SVHN dataset (Netzer et al., 2011) consists of images extracted from Google Street View. We divide the dataset into a set of 73,257 digits for training and a set of 26,032 digits for testing. When pre-processing the training and validation images, we follow the general practice to normalize pixel values into [-1,1]. Table 2 shows the experimental results and confirms that COT consistently improves the baseline models with the biggest improvement being the ResNet-110 with $1 1 . 7 \%$ reduction on the error rate.
93
+
94
+ <table><tr><td>Model</td><td>Baseline</td><td>COT</td></tr><tr><td>ResNet-110</td><td>7.56</td><td>6.84 (6.99±0.12)</td></tr><tr><td>PreActResNet-18</td><td>5.46</td><td>4.86 (5.08±0.14)</td></tr><tr><td>ResNeXt-29 (2×64d)</td><td>5.20</td><td>4.55 (4.69±0.12)</td></tr><tr><td>WideResNet-28-10</td><td>4.40</td><td>4.30 (4.34±0.03)</td></tr><tr><td>DenseNet-BC-121</td><td>4.72</td><td>4.62 (4.67±0.03)</td></tr></table>
95
+
96
+ (a) Test errors (in $\%$ ) on CIFAR-10. For COT, we repeat 5 runs and report the “best (mean $\pm$ std)” error values.
97
+
98
+ ![](images/b2bf43ea10f0b8c379adb442f9f81f0fe049c4df2f78f096e0127bc9e1ee701d.jpg)
99
+ (b) Test errors of ResNet-110 on CIFAR-10 over epochs.
100
+
101
+ Figure 3: Classification errors on CIFAR-10: (a) COT improves all 5 state-of-the-art models. (b) The improvement over epochs. Notice that the performance improvement from COT becomes stable after the $1 0 0 ^ { \mathrm { t h } }$ epoch due to the learning rate decrease.
102
+
103
+ <table><tr><td>Model</td><td>Baseline</td><td>COT</td></tr><tr><td>ResNet-110</td><td>29.22</td><td>27.90</td></tr><tr><td>PreAct ResNet-18</td><td>25.44</td><td>24.73</td></tr><tr><td>ResNeXt-29 (2×64d)</td><td>23.45</td><td>21.90</td></tr><tr><td>WideResNet-28-10</td><td>21.91</td><td>20.99</td></tr><tr><td>DenseNet-BC-121</td><td>21.73</td><td>20.54</td></tr></table>
104
+
105
+ (a) Test errors (in $\%$ ) on CIFAR-100. For COT, we repeat 3 runs and report the mean value.
106
+
107
+ ![](images/bab9830308a6e1257ccc21de57da13917bf8305377892942d5dbb16c5289fe08.jpg)
108
+ (b) Test errors of ResNet-110 on CIFAR-100 over the epochs.
109
+
110
+ Figure 4: Classification errors on CIFAR-100: (a) COT improves all 5 state-of-the-art models. (b) The improvement over epochs. Similar to the trend observed in CIFAR-10, the performance improvement from COT becomes stable after the $1 0 0 ^ { \mathrm { t h } }$ epoch due to the learning rate decrease.
111
+
112
+ Table 2: Test errors $( \mathrm { i n } \% )$ of the baseline models and the COT-trained models on the SVHN dataset. The values presented are the mean values of 3 runs.
113
+
114
+ <table><tr><td>Model</td><td>Baseline</td><td>COT</td></tr><tr><td>ResNet-110</td><td>4.94</td><td>4.36</td></tr><tr><td>PreAct ResNet-18</td><td>4.31</td><td>3.96</td></tr><tr><td>ResNeXt-29 (2×64d)</td><td>4.22</td><td>3.76</td></tr><tr><td>WideResNet-28-10</td><td>3.72</td><td>3.50</td></tr><tr><td>DenseNet-BC-121</td><td>3.52</td><td>3.47</td></tr></table>
115
+
116
+ Tiny ImageNet. Tiny ImageNet1 dataset is a subset of ImageNet (Deng et al., 2009), which contains 100,000 images for training and 10,000 for testing images across 200 classes. In this dataset, each image is down-sampled to $6 4 \mathrm { x } 6 4$ pixels from the original $2 5 6 \mathrm { x } 2 5 6$ pixels. We consider four state-of-the-art models as baselines: ResNet-50, ResNet-101 (He et al., 2016b), ResNeXt-50 $( 3 2 \times 4 \mathrm { d } )$ and ResNeXt-101 $( 3 2 \times 4 \mathrm { d } )$ (Xie et al., 2017). During training, we follow the standard data-augmentation techniques, such as random cropping, horizontal flipping, and normalization. For each model, the stride of the first convolution layer is modified to adapt images of size $6 4 \mathrm { x } 6 4$ (Huang et al., 2017a). For evaluation, the testing data is only augmented with 56x56 central cropping. The rest of the experimental details are the same as the ones described at the beginning of Section 3.2. Table 3 provides the experimental results, which demonstrate that COT consistently improves the performance of all baseline models.
117
+
118
+ Table 3: Top-1 Validation errors (in $\%$ ) for the Tiny ImageNet experiments (mean values of 3 runs).
119
+
120
+ <table><tr><td>Model</td><td>Baseline</td><td>COT</td></tr><tr><td>ResNet-50</td><td>39.39</td><td>39.20</td></tr><tr><td>ResNet-101</td><td>38.23</td><td>37.35</td></tr><tr><td>ResNeXt-50 (32×4d)</td><td>37.36</td><td>36.69</td></tr><tr><td>ResNeXt-101 (32×4d)</td><td>37.02</td><td>36.14</td></tr></table>
121
+
122
+ ImageNet. ImageNet-2012 dataset (Russakovsky et al., 2015) is one of the largest datasets for image classification, which contains 1.3 million images for training and 50,000 images for testing with 1,000 classes. Random crops and horizontal flips are applied during training (He et al., 2016b), while images in the testing set use $2 2 4 \mathbf { x } 2 2 4$ center crops (1-crop testing) for data augmentation. ResNet-50 is selected as the baseline model, and we follow (Goyal et al., 2017) for the experimental setup: 256 minibatch size, 90 total training epochs, and 0.1 as the initial learning rate starting that is decayed by dividing 10 at the $3 0 ^ { \mathrm { t h } }$ , $6 0 ^ { \mathrm { \tilde { t h } } }$ and $8 0 ^ { \mathrm { t h } }$ epoch. Table 4 shows (a) the error rate2 of baseline reported by (He et al., 2016b) and (b) the error rate of baseline model trained by COT, which confirms COT further improves the baseline performance.
123
+
124
+ Table 4: Validation errors $( \mathrm { i n } \% )$ ) for the ImageNet-2012 experiments.
125
+
126
+ <table><tr><td>Model</td><td></td><td>Baseline</td><td>COT</td></tr><tr><td>ResNet-50</td><td>Top-1 Error</td><td>24.7</td><td>24.4</td></tr></table>
127
+
128
+ # 3.3 NATURAL LANGUAGE UNDERSTANDING
129
+
130
+ COT is also evaluated on two natural language understanding (NLU) tasks: machine translation and speech recognition. One distinct characteristic of most NLU tasks is a large number of target classes. For example, the machine translation dataset used in this paper, IWSLT 2015 English-Vietnamese (Cettolo et al., 2015), consists of vocabularies of 17,191 English words and 7,709 Vietnamese words. This necessitates the normalized complement entropy in Eq(3).
131
+
132
+ Machine translation. Neural machine translation (NMT) has popularized the use of neural sequence models (Sutskever et al., 2014; Cho et al., 2014). Specifically, we apply COT on the seq2seq model with Luong attention mechanism (Luong et al., 2015) on the IWSLT 2015 EnglishVietnamese dataset, which contains 133 thousand translation pairs. For validation and testing, we use TED tst2012 and TED tst2013, respectively. For the baseline implementation, we follow the official TensorFlow-NMT implementation3. That is, the number of total training steps is 12,000 and the weight decay starts at the $8 { , } 0 0 0 ^ { \mathrm { t h } }$ step then applied for every 1,000 steps. We experiment models with both greedy decoder and beam search decoder. The model trained by COT gives the best testing results when the beam width is 3, while the baseline uses 10 as the best beam width. Table 5 illustrates the experimental results, showing COT improves testing BLEU scores compared to the baseline NMT model on both greedy decoder and the beam search decoder.
133
+
134
+ Table 5: Results of IWSLT 2015 English-Vietnamese. The BLEU scores on tst2013 are reported.
135
+
136
+ <table><tr><td>Model</td><td>Baseline</td><td>COT</td></tr><tr><td>NMT (greedy)</td><td>25.5</td><td>25.7</td></tr><tr><td>NMT (beam search)</td><td>26.1</td><td>26.4</td></tr></table>
137
+
138
+ Speech recognition. For speech recognition, we experiment on Google Commands Dataset (Warden, 2018), which consists of 65,000 one-second utterances of 30 different types such as “Yes,” “No,” “Up,” “Down” and “Stop.” Our baseline model is referenced from (Zhang et al., 2018). We apply the same pre-processing steps as shown in the paper, and perform the short-time Fourier transform on the original waveforms first at a sampling rate of $4 \mathrm { k H z }$ to receive the corresponding spectrograms. We then zero-pad these spectrograms to equalize each sample’s length. For the baseline model, we select VGG-11 (Simonyan & Zisserman, 2014) and train the model for 30 epochs following the steps in (Zhang et al., 2018). We use SGD optimizer with momentum, and weight decay is 0.0001. The learning rate starts at 0.0001 and then is divided by 10 at the $1 0 ^ { \mathrm { t h } }$ and $2 0 ^ { \mathrm { { t h } } }$ epoch. COT improves the baseline by further reducing the error rate by $1 . 5 6 \%$ , as shown in Table 6.
139
+
140
+ # 3.4 ADVERSARIAL EXAMPLES
141
+
142
+ An adversarial example is an imperceptibly-perturbed input that results in the model outputting an incorrect answer with high confidence (Szegedy et al., 2014; Goodfellow et al., 2015). Prior literatures have shown that there are several methods to generate effective adversarial examples that greatly mislead the model toward providing wrong predictions.
143
+
144
+ Table 6: Test errors (in $\%$ ) on Google Commands Dataset (mean values of 3 runs).
145
+
146
+ <table><tr><td>Model</td><td>Baseline</td><td>COT</td></tr><tr><td>VGG-11</td><td>6.06</td><td>4.50</td></tr></table>
147
+
148
+ As shown in Figure 2, the proposed COT generates embeddings where the class boundaries are clear and well-separated. We believe that the models trained using COT generalize better and are more robust to adversarial attacks. To verify this conjecture, we conduct experiments of white-box attacks to the models trained by COT. We consider a common approach of single-step adversarial attacks: Fast Gradient Sign Method (FGSM) (Goodfellow et al., 2015) that uses the gradient to determine the direction of the perturbation to apply on an input for creating an adversarial example. To set up FGSM white-box attacks on a baseline model, adversarial examples are generated using the gradients calculated based on the primary objective (referred to as the “primary gradient”) of the baseline model. For FGSM white-box attacks on COT, adversarial perturbations are generated based on the sum of the primary gradient and the complement gradient (i.e., the gradient calculated from the complement objective), both gradients from the model trained by COT. In our experiments, the baseline models are the same as in Section 3.2, and the amount of perturbation is limited to a maximum value of 0.1 as described in (Goodfellow et al., 2015) when creating adversarial examples. Furthermore, we also conduct experiments on FGSM transfer attacks, which use the adversarial examples from a baseline model to attack and test the robustness of the model trained by COT.
149
+
150
+ Table 7: Classification errors $( \mathrm { i n } \% )$ ) on CIFAR-10 under FGSM white-box & transfer attacks.
151
+
152
+ <table><tr><td>Model</td><td>Baseline</td><td>COT (White-Box)</td><td>COT (Transfer)</td></tr><tr><td>ResNet-110</td><td>62.23</td><td>52.72</td><td>54.96</td></tr><tr><td>PreAct ResNet-18</td><td>65.60</td><td>56.17</td><td>59.39</td></tr><tr><td>ResNeXt-29 (2×64d)</td><td>70.24</td><td>61.55</td><td>65.83</td></tr><tr><td>WideResNet-28-10</td><td>59.39</td><td>55.53</td><td>57.33</td></tr><tr><td>DenseNet-BC-121</td><td>65.97</td><td>55.99</td><td>62.40</td></tr></table>
153
+
154
+ Table 7 shows the performance of the models on the CIFAR-10 dataset under FGSM white-box and transfer attacks. Generally, the models trained using COT have lower classification error under both FGSM white-box and transfer attacks, which is an indicator that COT models are more robust to both kinds of attacks. We also conduct experiments on the basic iterative attacks using I-FGSM (Kurakin et al., 2017) and the corresponding results can be found in Appendix A.
155
+
156
+ We conjecture that since the main goal of the complement gradients is to neutralize the probabilities of incorrect classes (instead of maximizing the probability of the correct class), the complement gradients may “push away” primary gradients when forming adversarial perturbations, which might partially answer why COT is more robust to FGSM white-box attacks compared to the baseline. Regarding the transfer attacks, only the primary objective of the baseline model is used to calculate the gradients for generating adversarial examples. In other words, the complement gradients are not considered when generating adversarial examples in the transfer attack, and this might be the reason why models trained by COT are more robust to transfer attacks. Both conjectures leave a large space for future work: using complement objective to defend against more advanced adversarial attacks.
157
+
158
+ # 4 CONCLUSION AND FUTURE WORK
159
+
160
+ In this paper, we study Complement Objective Training (COT), a new training paradigm that optimizes the complement objective in addition to the primary objective. We propose complement entropy as the complement objective for neutralizing the effects of complement (incorrect) classes.
161
+
162
+ Models trained using COT demonstrate superior performance compared to the baseline models. We also find that COT makes the models robust to single-step adversarial attacks.
163
+
164
+ COT can be extended in several ways: first, in this paper, the complement objective is chosen to be the complement entropy. Non-entropy-based complement objectives should also be considered for future studies, which is left as a straight-line future work. Secondly, the exploration of COT on broader applications remains as an open research question. One example would be applying COT on generative models such as Generative Adversarial Networks (Goodfellow et al., 2014). Another example would be using COT on object detection and segmentation. Finally, in this work, we show using complement objective help defend single-step adversarial attacks; the behavior of COT on more advanced adversarial attacks deserves further investigation and is left as another future work.
165
+
166
+ # REFERENCES
167
+
168
+ Mauro Cettolo, Jan Niehues, Sebastian Stu ker, Luisa Bentivogli, Roldano Cattoni, and Marcello Federico. The IWSLT 2015 evaluation campaign. In ICSLP’15, 2015.
169
+ Kyunghyun Cho, Bart van Merrienboer, C¸ aglar Gulc¸ehre, Fethi Bougares, Holger Schwenk, and ¨ Yoshua Bengio. Learning phrase representations using rnn encoder-decoder for statistical machine translation. In EMNLP’14, 2014.
170
+ Jia Deng, Wei Dong, Richard Socher, Li jia Li, Kai Li, and Li Fei-fei. ImageNet: A large-scale hierarchical image database. In CVPR’09, 2009.
171
+ Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In NIPS’14. 2014.
172
+ Ian Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. In ICLR’15, 2015.
173
+ Priya Goyal, Piotr Dollar, Ross B. Girshick, Pieter Noordhuis, Lukasz Wesolowski, Aapo Kyrola, ´ Andrew Tulloch, Yangqing Jia, and Kaiming He. Accurate, large minibatch SGD: Training ImageNet in 1 hour. arXiv preprint arXiv:1706.02677, 2017.
174
+ Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Identity mappings in deep residual networks. In ECCV’16, 2016a.
175
+ Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR’16, 2016b.
176
+ Gao Huang, Yixuan Li, Geoff Pleiss, Zhuang Liu, John E. Hopcroft, and Kilian Q. Weinberger. Snapshot ensembles: Train 1, get M for free. In ICLR’17, 2017a.
177
+ Gao Huang, Zhuang Liu, Laurens van der Maaten, and Kilian Q. Weinberger. Densely connected convolutional networks. In CVPR’17, 2017b.
178
+ Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In ICML’15, 2015.
179
+ Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, 2009.
180
+ Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In NIPS’12, 2012.
181
+ Solomon Kullback and Richard A. Leibler. On information and sufficiency. Ann. Math. Statist., 1951.
182
+ Alexey Kurakin, Ian J. Goodfellow, and Samy Bengio. Adversarial examples in the physical world. In ICLR’17 Workshop, 2017.
183
+ Minh-Thang Luong, Hieu Pham, and Christopher D. Manning. Effective approaches to attentionbased neural machine translation. In EMNLP’15, 2015.
184
+ Tom M Mitchell et al. Machine learning. Burr Ridge, IL: McGraw Hill, 1997.
185
+
186
+ Yuval Netzer, Tao Wang, Adam Coates, Alessandro Bissacco, Bo Wu, and Andrew Y. Ng. Reading digits in natural images with unsupervised feature learning. In NIPS’11 Workshop, 2011.
187
+
188
+ Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li Fei-Fei. ImageNet Large Scale Visual Recognition Challenge. International Journal of Computer Vision, 2015.
189
+
190
+ Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In ICLR’15, 2014.
191
+
192
+ Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: A simple way to prevent neural networks from overfitting. Journal of Machine Learning Research, 2014.
193
+
194
+ Ilya Sutskever, Oriol Vinyals, and Quoc V. Le. Sequence to sequence learning with neural networks. In NIPS’14, 2014.
195
+
196
+ Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. In ICLR’14, 2014.
197
+
198
+ Pete Warden. Speech Commands: A dataset for limited-vocabulary speech recognition. arXiv preprint arXiv:1804.03209, 2018.
199
+
200
+ Saining Xie, Ross B. Girshick, Piotr Dollar, Zhuowen Tu, and Kaiming He. Aggregated residual ´ transformations for deep neural networks. In CVPR’17, 2017.
201
+
202
+ Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. In BMVC’16, 2016.
203
+
204
+ Hongyi Zhang, Moustapha Cisse, Yann N. Dauphin, and David Lopez-Paz. Mixup: Beyond empirical risk minimization. In ICLR’18, 2018.
205
+
206
+ # A ITERATIVE FAST GRADIENT SIGN METHOD
207
+
208
+ Table 8: Classification errors $( \mathrm { i n } \%$ ) on CIFAR-10 under I-FGSM transfer attacks.
209
+
210
+ <table><tr><td>Model</td><td>Baseline</td><td>COT (Transfer)</td></tr><tr><td>ResNet-110</td><td>88.00</td><td>84.36</td></tr><tr><td>PreAct ResNet-18</td><td>84.56</td><td>83.77</td></tr><tr><td>ResNeXt-29 (2× 64d)</td><td>87.79</td><td>86.43</td></tr><tr><td>WideResNet-28-10</td><td>81.97</td><td>80.85</td></tr><tr><td>DenseNet-BC-121</td><td>86.95</td><td>83.66</td></tr></table>
211
+
212
+ Table 8 shows the performance of the models on the CIFAR-10 dataset under I-FGSM transfer attacks. Generally, the models trained using COT have lower classification error under I-FGSM transfer attacks. The number of iteration is set to 10 in the experiment.
parse/train/HyM7AiA5YX/HyM7AiA5YX_content_list.json ADDED
@@ -0,0 +1,1056 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "COMPLEMENT OBJECTIVE TRAINING ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 174,
8
+ 99,
9
+ 622,
10
+ 121
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Hao-Yun Chen1, Pei-Hsin Wang1, Chun-Hao Liu1, Shih-Chieh Chang1, 2, Jia-Yu Pan3, Yu-Ting Chen3, Wei Wei3, and Da-Cheng Juan3 ",
17
+ "bbox": [
18
+ 199,
19
+ 150,
20
+ 799,
21
+ 180
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "1Department of Computer Science, National Tsing-Hua University, Hsinchu, Taiwan \n2Electronic and Optoelectronic System Research Laboratories, ITRI, Hsinchu, Taiwan 3Google Research, Mountain View, CA, USA {haoyunchen,peihsin,newgod1992}@gapp.nthu.edu.tw scchang@cs.nthu.edu.tw {jypan, yutingchen, wewei, dacheng}@google.com ",
28
+ "bbox": [
29
+ 246,
30
+ 193,
31
+ 753,
32
+ 270
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "ABSTRACT ",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 454,
42
+ 311,
43
+ 544,
44
+ 327
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "Learning with a primary objective, such as softmax cross entropy for classification and sequence generation, has been the norm for training deep neural networks for years. Although being a widely-adopted approach, using cross entropy as the primary objective exploits mostly the information from the ground-truth class for maximizing data likelihood, and largely ignores information from the complement (incorrect) classes. We argue that, in addition to the primary objective, training also using a complement objective that leverages information from the complement classes can be effective in improving model performance. This motivates us to study a new training paradigm that maximizes the likelihood of the groundtruth class while neutralizing the probabilities of the complement classes. We conduct extensive experiments on multiple tasks ranging from computer vision to natural language understanding. The experimental results confirm that, compared to the conventional training with just one primary objective, training also with the complement objective further improves the performance of the state-of-the-art models across all tasks. In addition to the accuracy improvement, we also show that models trained with both primary and complement objectives are more robust to single-step adversarial attacks. ",
51
+ "bbox": [
52
+ 233,
53
+ 343,
54
+ 766,
55
+ 578
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1 INTRODUCTION ",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 178,
65
+ 608,
66
+ 336,
67
+ 623
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Statistical learning algorithms work by optimizing towards a training objective. A dominant principle for training is to optimize likelihood (Mitchell et al., 1997), which measures the probability of data given the model under a specific set of parameters. The popularity of deep neural networks has given rise to the use of cross entropy (Kullback & Leibler, 1951) as its primary training objective, since minimizing cross entropy is essentially equivalent to maximizing likelihood for disjoint classes. Cross entropy has become the standard training objective for many tasks including classification (Krizhevsky et al., 2012) and sequence generation (Sutskever et al., 2014). ",
74
+ "bbox": [
75
+ 173,
76
+ 640,
77
+ 823,
78
+ 738
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "Let $\\mathbf { y } _ { i } \\in \\{ 0 , 1 \\} ^ { K }$ be the label of the $i ^ { \\mathrm { { t h } } }$ sample in one-hot encoded representation and $\\hat { \\mathbf { y } } _ { i } \\in [ 0 , 1 ] ^ { K }$ be the predicted probabilities, the cross entropy $H ( \\mathbf { y } , { \\hat { \\mathbf { y } } } )$ is defined as: ",
85
+ "bbox": [
86
+ 174,
87
+ 743,
88
+ 820,
89
+ 773
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "equation",
95
+ "img_path": "images/9a9683b0ec8f753a6a83c46138ad296d517fadfa07f82ff39f04557e636d3cdb.jpg",
96
+ "text": "$$\n\\begin{array} { c } { \\displaystyle { H ( \\mathbf { y } , \\hat { \\mathbf { y } } ) = - \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\mathbf { y } _ { i } ^ { T } \\cdot \\log ( \\hat { \\mathbf { y } } _ { i } ) } } \\\\ { \\displaystyle { = - \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\log ( \\hat { \\mathbf { y } } _ { i g } ) } } \\end{array}\n$$",
97
+ "text_format": "latex",
98
+ "bbox": [
99
+ 387,
100
+ 781,
101
+ 612,
102
+ 869
103
+ ],
104
+ "page_idx": 0
105
+ },
106
+ {
107
+ "type": "text",
108
+ "text": "where $\\hat { \\mathsf { y } } _ { i g }$ represents the predicted probability of the ground-truth class for the $i ^ { \\mathrm { { t h } } }$ sample. Training with cross entropy as the primary objective aims at finding $\\hat { \\pmb { \\theta } } \\ : = \\ : \\arg \\operatorname* { m i n } _ { \\pmb { \\theta } } H ( \\mathbf { y } , \\hat { \\mathbf { y } } )$ , where $\\hat { \\mathbf { y } } = h _ { \\pmb { \\theta } } ( \\mathbf { x } )$ , $h _ { \\theta }$ is a neural network and $\\mathbf { x }$ is a sample. Although training using the cross entropy as ",
109
+ "bbox": [
110
+ 174,
111
+ 876,
112
+ 825,
113
+ 924
114
+ ],
115
+ "page_idx": 0
116
+ },
117
+ {
118
+ "type": "text",
119
+ "text": "(a) $\\hat { \\mathbf { y } }$ from the model trained with cross entropy. ",
120
+ "bbox": [
121
+ 181,
122
+ 287,
123
+ 464,
124
+ 301
125
+ ],
126
+ "page_idx": 1
127
+ },
128
+ {
129
+ "type": "image",
130
+ "img_path": "images/1dc5977e854e7588d2baf16b17ed3bad98160b360a1c3942ff50f9df7db4a2ba.jpg",
131
+ "image_caption": [
132
+ "Figure 1: Predicted probabilities $\\hat { \\mathbf { y } }$ from two training paradigms: (a) With cross entropy as the primary objective. (b) COT: with both primary and complement objectives. The model is ResNet110 and the sample image is from CIFAR10 dataset. The ground-truth class is “horse.” Compared to (b), the model in (a) is confused by other classes such as “airplane” and “automobile,” which suggests (a) might be more susceptible for generalization issues and potentially adversarial attacks. "
133
+ ],
134
+ "image_footnote": [],
135
+ "bbox": [
136
+ 176,
137
+ 106,
138
+ 462,
139
+ 279
140
+ ],
141
+ "page_idx": 1
142
+ },
143
+ {
144
+ "type": "image",
145
+ "img_path": "images/52fc17efbfc6fc24b30e39d913e4e8ca185c1ea6e1d2913504d5378b452994d8.jpg",
146
+ "image_caption": [
147
+ "(b) $\\hat { \\mathbf { y } }$ from the model trained with COT. "
148
+ ],
149
+ "image_footnote": [],
150
+ "bbox": [
151
+ 532,
152
+ 103,
153
+ 818,
154
+ 280
155
+ ],
156
+ "page_idx": 1
157
+ },
158
+ {
159
+ "type": "text",
160
+ "text": "(a) Embeddings from the model trained with cross entropy. ",
161
+ "bbox": [
162
+ 173,
163
+ 551,
164
+ 500,
165
+ 577
166
+ ],
167
+ "page_idx": 1
168
+ },
169
+ {
170
+ "type": "image",
171
+ "img_path": "images/2f3ef2de74e9c0a2882a3ca94e68eb6591d5a4b3dc3b475945017e011a63837b.jpg",
172
+ "image_caption": [
173
+ "(b) Embeddings from the model trained with COT. "
174
+ ],
175
+ "image_footnote": [],
176
+ "bbox": [
177
+ 178,
178
+ 415,
179
+ 491,
180
+ 544
181
+ ],
182
+ "page_idx": 1
183
+ },
184
+ {
185
+ "type": "image",
186
+ "img_path": "images/8b447a5f9635b9f771ea9ae7c843e9547b2b185e61aef47375a7aaba1879393d.jpg",
187
+ "image_caption": [
188
+ "Figure 2: Embeddings for CIFAR10 test images from two training paradigms: (a) With cross entropy as the primary objective. (b) COT: training with both primary and complement objectives. The model is ResNet-110, and the “embedding” is the vector representation before taking the softmax operation. The embedding representation of each sample is projected to two dimensions using t-SNE for visualization purpose. Compared to (a), the cluster of each class in (b) is “narrower” in terms of intra-cluster distance. Also, the clusters in (b) seem to have clean and separable boundaries, leading to more accurate and robust classification results. "
189
+ ],
190
+ "image_footnote": [],
191
+ "bbox": [
192
+ 501,
193
+ 421,
194
+ 816,
195
+ 549
196
+ ],
197
+ "page_idx": 1
198
+ },
199
+ {
200
+ "type": "text",
201
+ "text": "the primary objective has achieved tremendous success, we have observed one limitation: it exploits mostly the information from the ground-truth class as Eq(1) shows; the information from complement classes (i.e., incorrect classes) has been largely ignored, since the predicted probabilities other than $\\hat { \\mathsf { y } } _ { i g }$ are zeroed out due to the dot product calculation with the one-hot encoded $\\mathbf { y } _ { i }$ . Therefore, for classes other than the ground truth, the model behavior is not explicitly optimized — their predicted probabilities are indirectly minimized when $\\hat { \\mathbf { y } } _ { i g }$ is maximized since the probabilities sum up to 1. One way to utilize the information from the complement classes is to neutralize their predicted probabilities. To this end, we propose Complement Objective Training (COT), a new training paradigm that achieves this optimization goal without compromising the model’s primary objective. Figure 1 illustrates the comparison between Figure 1a: the predicted probability $\\hat { \\mathbf { y } }$ from the model trained with just cross entropy as the primary objective, and Figure 1b: $\\hat { \\mathbf { y } }$ from the model trained with both primary and complement objectives. Training with the complement objective finds the parameters $\\pmb \\theta$ that evenly suppress complement classes without compromising the primary objective (i.e., maximizing $\\hat { \\mathsf { y } } _ { g } ^ { \\phantom { \\dagger } } .$ ), making the model more confident of the ground-truth class. ",
202
+ "bbox": [
203
+ 173,
204
+ 729,
205
+ 825,
206
+ 924
207
+ ],
208
+ "page_idx": 1
209
+ },
210
+ {
211
+ "type": "text",
212
+ "text": "Figure 2 further illustrates the embeddings of CIFAR10 images calculated from ResNet-110 using two training paradigms: cross entropy and COT. An embedding of an image is the vector representation computed by the ResNet-110 model, before taking the softmax operation. Compared to Figure 2a, the clusters in Figure 2b seem to have clean and separable boundaries, leading to more accurate and robust classification results. The experimental results later in Section 3 further confirm this observation. ",
213
+ "bbox": [
214
+ 173,
215
+ 103,
216
+ 825,
217
+ 186
218
+ ],
219
+ "page_idx": 2
220
+ },
221
+ {
222
+ "type": "text",
223
+ "text": "Complement objective training requires a function that complements the primary objective. In this paper, we propose “complement entropy” (defined in Section 2) to complement the softmax cross entropy for neutralizing the effects of complement classes. The neural net parameters $\\pmb { \\theta }$ are then updated by alternating iteratively between (a) minimizing cross entropy to increase $\\hat { \\mathsf { y } } _ { g }$ , and (b) maximizing complement entropy to neutralize $\\hat { \\mathbf { y } } _ { j \\neq g }$ . Experimental results (in Section 3) confirm that COT improves the accuracies of the state-of-the-art methods for both (a) the image classification tasks on ImageNet-2012, Tiny ImageNet, CIFAR-10, CIFAR-100, and SVHN, and (b) language understanding tasks on machine translation and speech recognition. Furthermore, experimental results also show that models trained by COT are more robust to adversarial attacks. ",
224
+ "bbox": [
225
+ 173,
226
+ 194,
227
+ 825,
228
+ 320
229
+ ],
230
+ "page_idx": 2
231
+ },
232
+ {
233
+ "type": "text",
234
+ "text": "2 COMPLEMENT OBJECTIVE TRAINING ",
235
+ "text_level": 1,
236
+ "bbox": [
237
+ 176,
238
+ 340,
239
+ 516,
240
+ 357
241
+ ],
242
+ "page_idx": 2
243
+ },
244
+ {
245
+ "type": "text",
246
+ "text": "In this section, we first define “Complement Entropy” as the complement objective, and then provide a new training algorithm for updating neural network parameters $\\pmb { \\theta }$ by alternating iteratively between the primary objective and the complement objective. ",
247
+ "bbox": [
248
+ 174,
249
+ 372,
250
+ 825,
251
+ 415
252
+ ],
253
+ "page_idx": 2
254
+ },
255
+ {
256
+ "type": "text",
257
+ "text": "2.1 COMPLEMENT ENTROPY ",
258
+ "text_level": 1,
259
+ "bbox": [
260
+ 174,
261
+ 431,
262
+ 383,
263
+ 445
264
+ ],
265
+ "page_idx": 2
266
+ },
267
+ {
268
+ "type": "text",
269
+ "text": "Conventionally, training with cross entropy as the primary objective aims at maximizing the predicted probability of the ground-truth class $\\hat { \\mathsf { y } } _ { g }$ in $\\operatorname { E q } ( 1 )$ . As mentioned in the introduction, the proposed COT also maximizes the complement objective for neutralizing the predicted probabilities of the complement classes. To achieve this, we propose “complement entropy” as the complement objective; complement entropy $C ( \\cdot )$ is defined to be the average of sample-wise entropies over complement classes in a mini-batch: ",
270
+ "bbox": [
271
+ 174,
272
+ 457,
273
+ 823,
274
+ 541
275
+ ],
276
+ "page_idx": 2
277
+ },
278
+ {
279
+ "type": "equation",
280
+ "img_path": "images/123510907524a0c7aeb4968c5c1cfc35999c5dc9edc001187efa721b3f81d670.jpg",
281
+ "text": "$$\n\\begin{array} { l } { { \\displaystyle C ( \\hat { \\mathbf { y } } _ { \\bar { c } } ) = \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\mathcal { H } ( \\hat { \\mathbf { y } } _ { i \\bar { c } } ) } } \\\\ { { \\displaystyle ~ = - \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\sum _ { j = 1 , j \\neq g } ^ { K } ( \\frac { \\hat { \\mathbf { y } } _ { i j } } { 1 - \\hat { \\mathbf { y } } _ { i g } } ) \\log ( \\frac { \\hat { \\mathbf { y } } _ { i j } } { 1 - \\hat { \\mathbf { y } } _ { i g } } ) } } \\end{array}\n$$",
282
+ "text_format": "latex",
283
+ "bbox": [
284
+ 333,
285
+ 547,
286
+ 666,
287
+ 638
288
+ ],
289
+ "page_idx": 2
290
+ },
291
+ {
292
+ "type": "text",
293
+ "text": "$\\mathcal { H } ( \\cdot )$ is the entropy function. All the symbols and notations used in this paper are summarized in Table 1. One thing worth noticing is that this sample-wise entropy is calculated by considering only the complement classes other than the ground-truth class $g$ . The sample-wise predicted probability $\\hat { \\mathsf { y } } _ { i j }$ is normalized by one minus the ground-truth probability (i.e., $\\mathrm { 1 - } \\hat { \\mathrm { y } } _ { i g } )$ . The term $\\hat { \\mathsf { y } } _ { i j } / ( 1 - \\hat { \\mathsf { y } } _ { i g } )$ can be understood as: conditioned on the ground-truth class $g$ not happening, the predicted probability to see the class $j$ for the $i ^ { \\mathrm { { t h } } }$ sample. Since the entropy is maximized when the events are equally likely to occur, optimizing on the complement entropy drives $\\hat { \\mathsf { y } } _ { i j }$ to $( 1 - \\hat { \\mathbf y } _ { i g } ) / ( K - 1 )$ , which essentially neutralizes the predicted probability of complement classes as $K$ grows large. In other words, maximizing the complement entropy “flattens” the predicted probabilities of complement classes $\\hat { \\mathsf { y } } _ { j \\neq g }$ . We conjecture that, when $\\hat { \\mathsf { y } } _ { j \\neq g }$ are neutralized, the neural net $h _ { \\theta }$ generalizes better, since it is less likely to have an incorrect class with a sufficiently high predicted probability to “challenge” the ground-truth class. ",
294
+ "bbox": [
295
+ 173,
296
+ 643,
297
+ 825,
298
+ 810
299
+ ],
300
+ "page_idx": 2
301
+ },
302
+ {
303
+ "type": "text",
304
+ "text": "2.2 TRAINING WITH COMPLEMENT OBJECTIVE ",
305
+ "text_level": 1,
306
+ "bbox": [
307
+ 178,
308
+ 828,
309
+ 509,
310
+ 842
311
+ ],
312
+ "page_idx": 2
313
+ },
314
+ {
315
+ "type": "text",
316
+ "text": "Given a training procedure using a primary objective, such as softmax cross entropy, one can easily adopt the complement entropy to turn the procedure into a Complement Objective Training (COT). Algorithm 1 describes the new training mechanism by alternating iteratively between the primary and complement objectives. At each training step, the cross entropy is first calculated as the loss value to update the model parameters; next, the complement entropy is calculated as the loss value to perform the second update. Therefore, additional forward and backward propagation are required in each iteration when using the complement objective, making the total training time empirically 1.6 times longer. ",
317
+ "bbox": [
318
+ 174,
319
+ 853,
320
+ 823,
321
+ 924
322
+ ],
323
+ "page_idx": 2
324
+ },
325
+ {
326
+ "type": "text",
327
+ "text": "",
328
+ "bbox": [
329
+ 174,
330
+ 103,
331
+ 823,
332
+ 146
333
+ ],
334
+ "page_idx": 3
335
+ },
336
+ {
337
+ "type": "table",
338
+ "img_path": "images/e77f304234323518a5ccd0550ab0f6e7d02c7b29f9b6909cebc2e517bc1fe0c6.jpg",
339
+ "table_caption": [
340
+ "Table 1: Notations used in this paper. "
341
+ ],
342
+ "table_footnote": [],
343
+ "table_body": "<table><tr><td>Symbol</td><td>Meaning</td></tr><tr><td>yi yi</td><td>One-hot vector representing the label of the ith sample. The predicted probability for each class for the ith sample.</td></tr><tr><td>g</td><td>Index of the ground-truth class.</td></tr><tr><td>yij oryij ye</td><td>The jth class (element) of yi oryi.</td></tr><tr><td>H(,)</td><td>Predicted probabilities of of the complement (incorrect) classes.</td></tr><tr><td>H()</td><td>Cross entropy function. Entropy function.</td></tr><tr><td>C(.)</td><td></td></tr><tr><td>N and K</td><td>Complement entropy. Total number of samples and total number of classes.</td></tr></table>",
344
+ "bbox": [
345
+ 238,
346
+ 190,
347
+ 756,
348
+ 337
349
+ ],
350
+ "page_idx": 3
351
+ },
352
+ {
353
+ "type": "table",
354
+ "img_path": "images/543dc19002ae4235d5151bef1bb9c93d078cbc116a6013edf176339afc0361ff.jpg",
355
+ "table_caption": [],
356
+ "table_footnote": [],
357
+ "table_body": "<table><tr><td>Algorithm 1: Training by alternating between primary and complement objectives</td></tr><tr><td>1 for t ← 1 to ntrain_steps do</td></tr><tr><td>1N 2</td></tr><tr><td>1. Update parameters by Primary Objective: -1Σ-1log(𝑦ig)</td></tr></table>",
358
+ "bbox": [
359
+ 160,
360
+ 369,
361
+ 825,
362
+ 448
363
+ ],
364
+ "page_idx": 3
365
+ },
366
+ {
367
+ "type": "text",
368
+ "text": "3 EXPERIMENTS ",
369
+ "text_level": 1,
370
+ "bbox": [
371
+ 174,
372
+ 479,
373
+ 326,
374
+ 496
375
+ ],
376
+ "page_idx": 3
377
+ },
378
+ {
379
+ "type": "text",
380
+ "text": "We perform extensive experiments to evaluate COT on tasks in domains ranging from computer vision to natural language understanding and compare it with the baseline algorithms that achieve state-of-the-art in the respective domains. We also perform experiments to evaluate the robustness of the model trained by COT when attacked by adversarial examples. For each task, we select a stateof-the-art model that has an open-source implementation (referred to as “baseline”) and reproduce their results with the hyper-parameters reported in the paper or code repository. Our code is available at https://github.com/henry8527/COT. ",
381
+ "bbox": [
382
+ 173,
383
+ 511,
384
+ 825,
385
+ 609
386
+ ],
387
+ "page_idx": 3
388
+ },
389
+ {
390
+ "type": "text",
391
+ "text": "3.1 BALANCING TRAINING OBJECTIVES ",
392
+ "text_level": 1,
393
+ "bbox": [
394
+ 178,
395
+ 627,
396
+ 464,
397
+ 640
398
+ ],
399
+ "page_idx": 3
400
+ },
401
+ {
402
+ "type": "text",
403
+ "text": "In theory, the loss values between the primary and the complement objectives can be in different scales; therefore, additional efforts for tuning learning rates might be required for optimizers to achieve the best performance. Empirically, we find the complement entropy in Eq(2) can be modified as follows to balance the losses between the two objectives: ",
404
+ "bbox": [
405
+ 173,
406
+ 651,
407
+ 825,
408
+ 708
409
+ ],
410
+ "page_idx": 3
411
+ },
412
+ {
413
+ "type": "equation",
414
+ "img_path": "images/531d60f0397032c1ba60ccb7fda1e376ea5d086062531b169dce7208a69bc1b3.jpg",
415
+ "text": "$$\n\\begin{array} { l } { { \\displaystyle C ^ { \\prime } ( \\hat { \\mathbf { y } } _ { \\bar { c } } ) = \\frac { 1 } { K - 1 } \\cdot C ( \\hat { \\mathbf { y } } _ { \\bar { c } } ) } } \\\\ { { \\displaystyle ~ = \\frac { 1 } { K - 1 } \\cdot \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\mathcal { H } ( \\hat { \\mathbf { y } } _ { i \\bar { c } } ) } } \\end{array}\n$$",
416
+ "text_format": "latex",
417
+ "bbox": [
418
+ 385,
419
+ 715,
420
+ 612,
421
+ 791
422
+ ],
423
+ "page_idx": 3
424
+ },
425
+ {
426
+ "type": "text",
427
+ "text": "where $K$ is the number of classes. This modification can be treated as the complement entropy $C ( \\cdot )$ being “normalized” by $( K - 1 )$ . For all the experiments conducted in this paper, we use this normalized complement entropy as the complement objective to improve the baselines without further tuning of learning rates. ",
428
+ "bbox": [
429
+ 174,
430
+ 795,
431
+ 825,
432
+ 853
433
+ ],
434
+ "page_idx": 3
435
+ },
436
+ {
437
+ "type": "text",
438
+ "text": "3.2 IMAGE CLASSIFICATION ",
439
+ "text_level": 1,
440
+ "bbox": [
441
+ 176,
442
+ 869,
443
+ 382,
444
+ 883
445
+ ],
446
+ "page_idx": 3
447
+ },
448
+ {
449
+ "type": "text",
450
+ "text": "We consider the following datasets for experiments with image classification: CIFAR-10, CIFAR100, SVHN, Tiny ImageNet and ImageNet-2012. For CIFAR-10, CIFAR-100 and SVHN, we choose the following baseline models: ResNet-110 (He et al., 2016b), PreAct ResNet-18 (He et al., 2016a), ResNeXt-29 $( 2 \\times 6 4 \\mathrm { d } )$ (Xie et al., 2017), WideResNet-28-10 (Zagoruyko & Komodakis, 2016) and DenseNet-BC-121 (Huang et al., 2017b) with a growth rate of 32. For those five models, we use a consistent set of settings below, which is described in (He et al., 2016b). Specifically, the models are trained using SGD optimizer with momentum of 0.9. Weight decay is set to be 0.0001 and learning rate starts at 0.1, then being divided by 10 at the $1 0 0 ^ { \\mathrm { { t h } } }$ and $1 5 \\dot { 0 } ^ { \\mathrm { t h } }$ epoch. The models are trained for 200 epochs, with mini-batches of size 128. The only exception here is for training WideResNet-28-10, we follow the settings described in (Zagoruyko & Komodakis, 2016), and the learning rate is divided by 10 at the $6 0 ^ { \\mathrm { { \\bar { t } h } } }$ , $1 2 0 ^ { \\mathrm { t h } }$ and $1 8 0 ^ { \\mathrm { t h } }$ epoch. In addition, no dropout (Srivastava et al., 2014) is applied to any baseline according to the best practices in (Ioffe & Szegedy, 2015). For Tiny ImageNet and ImageNet-2012, the baseline models are slightly different: we follow the settings from (Zhang et al., 2018), and the details are described in the corresponding paragraphs. ",
451
+ "bbox": [
452
+ 174,
453
+ 895,
454
+ 823,
455
+ 924
456
+ ],
457
+ "page_idx": 3
458
+ },
459
+ {
460
+ "type": "text",
461
+ "text": "",
462
+ "bbox": [
463
+ 173,
464
+ 103,
465
+ 825,
466
+ 284
467
+ ],
468
+ "page_idx": 4
469
+ },
470
+ {
471
+ "type": "text",
472
+ "text": "CIFAR-10 and CIFAR-100. CIFAR-10 and CIFAR-100 are datasets (Krizhevsky, 2009) that contain colored natural images of $3 2 \\mathrm { x } 3 2 $ pixels, in 10 and 100 classes, respectively. We follow the baseline settings (He et al., 2016b) to pre-process the datasets; both datasets are split into a training set with 50,000 samples and a testing set with 10,000 samples. During training, zero-padding, random cropping, and horizontal mirroring are applied to the images with a probability of 0.5. For the testing images, we use the original images of $3 2 \\mathrm { x } 3 2 $ pixels. ",
473
+ "bbox": [
474
+ 174,
475
+ 308,
476
+ 823,
477
+ 391
478
+ ],
479
+ "page_idx": 4
480
+ },
481
+ {
482
+ "type": "text",
483
+ "text": "A comparison between the models trained using the primary objective and the COT model is illustrated in Figures 3a and 4a for CIFAR-10 and CIFAR-100 respectively. We show that COT consistently outperforms the baseline models. Some of the models, for example, ResNetXt-29, achieves a significant performance boost of $12 . 5 \\%$ in terms of classification errors. For some other models such as WideResNet-28-10 and DenseNet-BC-121, the improvements are not as significant but are still large enough to justify the differences. Similar conclusions can be observed from the CIFAR-100 dataset. In addition to the comparisons of the performance, we also present the change of testing errors over the course of the training in Figures 3b and 4b for the ResNet-110 model. Following the standard training practice, learning rates drop after the $1 0 0 ^ { \\mathrm { t h } }$ epoch, which corresponds to a drop in testing errors. As we can see from the plot, COT outperforms consistently compared to the baseline models when the models are close to the convergence. ",
484
+ "bbox": [
485
+ 174,
486
+ 398,
487
+ 825,
488
+ 551
489
+ ],
490
+ "page_idx": 4
491
+ },
492
+ {
493
+ "type": "text",
494
+ "text": "Street View House Numbers (SVHN). The SVHN dataset (Netzer et al., 2011) consists of images extracted from Google Street View. We divide the dataset into a set of 73,257 digits for training and a set of 26,032 digits for testing. When pre-processing the training and validation images, we follow the general practice to normalize pixel values into [-1,1]. Table 2 shows the experimental results and confirms that COT consistently improves the baseline models with the biggest improvement being the ResNet-110 with $1 1 . 7 \\%$ reduction on the error rate. ",
495
+ "bbox": [
496
+ 173,
497
+ 574,
498
+ 825,
499
+ 659
500
+ ],
501
+ "page_idx": 4
502
+ },
503
+ {
504
+ "type": "table",
505
+ "img_path": "images/95a87c646cf175bc0e5416a0c6bdf6b1dfe09e21652ce34bf31c310ef283f76e.jpg",
506
+ "table_caption": [],
507
+ "table_footnote": [
508
+ "(a) Test errors (in $\\%$ ) on CIFAR-10. For COT, we repeat 5 runs and report the “best (mean $\\pm$ std)” error values. "
509
+ ],
510
+ "table_body": "<table><tr><td>Model</td><td>Baseline</td><td>COT</td></tr><tr><td>ResNet-110</td><td>7.56</td><td>6.84 (6.99±0.12)</td></tr><tr><td>PreActResNet-18</td><td>5.46</td><td>4.86 (5.08±0.14)</td></tr><tr><td>ResNeXt-29 (2×64d)</td><td>5.20</td><td>4.55 (4.69±0.12)</td></tr><tr><td>WideResNet-28-10</td><td>4.40</td><td>4.30 (4.34±0.03)</td></tr><tr><td>DenseNet-BC-121</td><td>4.72</td><td>4.62 (4.67±0.03)</td></tr></table>",
511
+ "bbox": [
512
+ 173,
513
+ 691,
514
+ 547,
515
+ 791
516
+ ],
517
+ "page_idx": 4
518
+ },
519
+ {
520
+ "type": "image",
521
+ "img_path": "images/b2bf43ea10f0b8c379adb442f9f81f0fe049c4df2f78f096e0127bc9e1ee701d.jpg",
522
+ "image_caption": [
523
+ "(b) Test errors of ResNet-110 on CIFAR-10 over epochs. "
524
+ ],
525
+ "image_footnote": [],
526
+ "bbox": [
527
+ 562,
528
+ 679,
529
+ 776,
530
+ 803
531
+ ],
532
+ "page_idx": 4
533
+ },
534
+ {
535
+ "type": "text",
536
+ "text": "Figure 3: Classification errors on CIFAR-10: (a) COT improves all 5 state-of-the-art models. (b) The improvement over epochs. Notice that the performance improvement from COT becomes stable after the $1 0 0 ^ { \\mathrm { t h } }$ epoch due to the learning rate decrease. ",
537
+ "bbox": [
538
+ 173,
539
+ 848,
540
+ 825,
541
+ 891
542
+ ],
543
+ "page_idx": 4
544
+ },
545
+ {
546
+ "type": "table",
547
+ "img_path": "images/dffb8860d358d1828ff1330ae915c83c1d613f6e7fecb29c087383e10081e83a.jpg",
548
+ "table_caption": [],
549
+ "table_footnote": [
550
+ "(a) Test errors (in $\\%$ ) on CIFAR-100. For COT, we repeat 3 runs and report the mean value. "
551
+ ],
552
+ "table_body": "<table><tr><td>Model</td><td>Baseline</td><td>COT</td></tr><tr><td>ResNet-110</td><td>29.22</td><td>27.90</td></tr><tr><td>PreAct ResNet-18</td><td>25.44</td><td>24.73</td></tr><tr><td>ResNeXt-29 (2×64d)</td><td>23.45</td><td>21.90</td></tr><tr><td>WideResNet-28-10</td><td>21.91</td><td>20.99</td></tr><tr><td>DenseNet-BC-121</td><td>21.73</td><td>20.54</td></tr></table>",
553
+ "bbox": [
554
+ 173,
555
+ 116,
556
+ 470,
557
+ 215
558
+ ],
559
+ "page_idx": 5
560
+ },
561
+ {
562
+ "type": "image",
563
+ "img_path": "images/bab9830308a6e1257ccc21de57da13917bf8305377892942d5dbb16c5289fe08.jpg",
564
+ "image_caption": [
565
+ "(b) Test errors of ResNet-110 on CIFAR-100 over the epochs. "
566
+ ],
567
+ "image_footnote": [],
568
+ "bbox": [
569
+ 562,
570
+ 103,
571
+ 776,
572
+ 228
573
+ ],
574
+ "page_idx": 5
575
+ },
576
+ {
577
+ "type": "text",
578
+ "text": "Figure 4: Classification errors on CIFAR-100: (a) COT improves all 5 state-of-the-art models. (b) The improvement over epochs. Similar to the trend observed in CIFAR-10, the performance improvement from COT becomes stable after the $1 0 0 ^ { \\mathrm { t h } }$ epoch due to the learning rate decrease. ",
579
+ "bbox": [
580
+ 173,
581
+ 273,
582
+ 826,
583
+ 315
584
+ ],
585
+ "page_idx": 5
586
+ },
587
+ {
588
+ "type": "table",
589
+ "img_path": "images/5acd79885f5f258771b8ca81f888b2f7eb0476899746fe9c2858a6251a46bd8c.jpg",
590
+ "table_caption": [
591
+ "Table 2: Test errors $( \\mathrm { i n } \\% )$ of the baseline models and the COT-trained models on the SVHN dataset. The values presented are the mean values of 3 runs. "
592
+ ],
593
+ "table_footnote": [],
594
+ "table_body": "<table><tr><td>Model</td><td>Baseline</td><td>COT</td></tr><tr><td>ResNet-110</td><td>4.94</td><td>4.36</td></tr><tr><td>PreAct ResNet-18</td><td>4.31</td><td>3.96</td></tr><tr><td>ResNeXt-29 (2×64d)</td><td>4.22</td><td>3.76</td></tr><tr><td>WideResNet-28-10</td><td>3.72</td><td>3.50</td></tr><tr><td>DenseNet-BC-121</td><td>3.52</td><td>3.47</td></tr></table>",
595
+ "bbox": [
596
+ 351,
597
+ 382,
598
+ 647,
599
+ 483
600
+ ],
601
+ "page_idx": 5
602
+ },
603
+ {
604
+ "type": "text",
605
+ "text": "Tiny ImageNet. Tiny ImageNet1 dataset is a subset of ImageNet (Deng et al., 2009), which contains 100,000 images for training and 10,000 for testing images across 200 classes. In this dataset, each image is down-sampled to $6 4 \\mathrm { x } 6 4$ pixels from the original $2 5 6 \\mathrm { x } 2 5 6$ pixels. We consider four state-of-the-art models as baselines: ResNet-50, ResNet-101 (He et al., 2016b), ResNeXt-50 $( 3 2 \\times 4 \\mathrm { d } )$ and ResNeXt-101 $( 3 2 \\times 4 \\mathrm { d } )$ (Xie et al., 2017). During training, we follow the standard data-augmentation techniques, such as random cropping, horizontal flipping, and normalization. For each model, the stride of the first convolution layer is modified to adapt images of size $6 4 \\mathrm { x } 6 4$ (Huang et al., 2017a). For evaluation, the testing data is only augmented with 56x56 central cropping. The rest of the experimental details are the same as the ones described at the beginning of Section 3.2. Table 3 provides the experimental results, which demonstrate that COT consistently improves the performance of all baseline models. ",
606
+ "bbox": [
607
+ 173,
608
+ 513,
609
+ 825,
610
+ 667
611
+ ],
612
+ "page_idx": 5
613
+ },
614
+ {
615
+ "type": "table",
616
+ "img_path": "images/9c6e6bc365c3f07c6dfc2c814ef60810abd585e3cfc7a590494f8f4d6d72fe15.jpg",
617
+ "table_caption": [
618
+ "Table 3: Top-1 Validation errors (in $\\%$ ) for the Tiny ImageNet experiments (mean values of 3 runs). "
619
+ ],
620
+ "table_footnote": [],
621
+ "table_body": "<table><tr><td>Model</td><td>Baseline</td><td>COT</td></tr><tr><td>ResNet-50</td><td>39.39</td><td>39.20</td></tr><tr><td>ResNet-101</td><td>38.23</td><td>37.35</td></tr><tr><td>ResNeXt-50 (32×4d)</td><td>37.36</td><td>36.69</td></tr><tr><td>ResNeXt-101 (32×4d)</td><td>37.02</td><td>36.14</td></tr></table>",
622
+ "bbox": [
623
+ 346,
624
+ 713,
625
+ 651,
626
+ 800
627
+ ],
628
+ "page_idx": 5
629
+ },
630
+ {
631
+ "type": "text",
632
+ "text": "ImageNet. ImageNet-2012 dataset (Russakovsky et al., 2015) is one of the largest datasets for image classification, which contains 1.3 million images for training and 50,000 images for testing with 1,000 classes. Random crops and horizontal flips are applied during training (He et al., 2016b), while images in the testing set use $2 2 4 \\mathbf { x } 2 2 4$ center crops (1-crop testing) for data augmentation. ResNet-50 is selected as the baseline model, and we follow (Goyal et al., 2017) for the experimental setup: 256 minibatch size, 90 total training epochs, and 0.1 as the initial learning rate starting that is decayed by dividing 10 at the $3 0 ^ { \\mathrm { t h } }$ , $6 0 ^ { \\mathrm { \\tilde { t h } } }$ and $8 0 ^ { \\mathrm { t h } }$ epoch. Table 4 shows (a) the error rate2 of baseline reported by (He et al., 2016b) and (b) the error rate of baseline model trained by COT, which confirms COT further improves the baseline performance. ",
633
+ "bbox": [
634
+ 174,
635
+ 829,
636
+ 825,
637
+ 900
638
+ ],
639
+ "page_idx": 5
640
+ },
641
+ {
642
+ "type": "text",
643
+ "text": "",
644
+ "bbox": [
645
+ 174,
646
+ 103,
647
+ 825,
648
+ 160
649
+ ],
650
+ "page_idx": 6
651
+ },
652
+ {
653
+ "type": "table",
654
+ "img_path": "images/3b5254b32e85ed2558b2a34998da9bae415776112d29f8fa623d067ab4247dd2.jpg",
655
+ "table_caption": [
656
+ "Table 4: Validation errors $( \\mathrm { i n } \\% )$ ) for the ImageNet-2012 experiments. "
657
+ ],
658
+ "table_footnote": [],
659
+ "table_body": "<table><tr><td>Model</td><td></td><td>Baseline</td><td>COT</td></tr><tr><td>ResNet-50</td><td>Top-1 Error</td><td>24.7</td><td>24.4</td></tr></table>",
660
+ "bbox": [
661
+ 338,
662
+ 204,
663
+ 658,
664
+ 248
665
+ ],
666
+ "page_idx": 6
667
+ },
668
+ {
669
+ "type": "text",
670
+ "text": "3.3 NATURAL LANGUAGE UNDERSTANDING ",
671
+ "text_level": 1,
672
+ "bbox": [
673
+ 174,
674
+ 276,
675
+ 490,
676
+ 291
677
+ ],
678
+ "page_idx": 6
679
+ },
680
+ {
681
+ "type": "text",
682
+ "text": "COT is also evaluated on two natural language understanding (NLU) tasks: machine translation and speech recognition. One distinct characteristic of most NLU tasks is a large number of target classes. For example, the machine translation dataset used in this paper, IWSLT 2015 English-Vietnamese (Cettolo et al., 2015), consists of vocabularies of 17,191 English words and 7,709 Vietnamese words. This necessitates the normalized complement entropy in Eq(3). ",
683
+ "bbox": [
684
+ 173,
685
+ 303,
686
+ 825,
687
+ 372
688
+ ],
689
+ "page_idx": 6
690
+ },
691
+ {
692
+ "type": "text",
693
+ "text": "Machine translation. Neural machine translation (NMT) has popularized the use of neural sequence models (Sutskever et al., 2014; Cho et al., 2014). Specifically, we apply COT on the seq2seq model with Luong attention mechanism (Luong et al., 2015) on the IWSLT 2015 EnglishVietnamese dataset, which contains 133 thousand translation pairs. For validation and testing, we use TED tst2012 and TED tst2013, respectively. For the baseline implementation, we follow the official TensorFlow-NMT implementation3. That is, the number of total training steps is 12,000 and the weight decay starts at the $8 { , } 0 0 0 ^ { \\mathrm { t h } }$ step then applied for every 1,000 steps. We experiment models with both greedy decoder and beam search decoder. The model trained by COT gives the best testing results when the beam width is 3, while the baseline uses 10 as the best beam width. Table 5 illustrates the experimental results, showing COT improves testing BLEU scores compared to the baseline NMT model on both greedy decoder and the beam search decoder. ",
694
+ "bbox": [
695
+ 174,
696
+ 387,
697
+ 825,
698
+ 540
699
+ ],
700
+ "page_idx": 6
701
+ },
702
+ {
703
+ "type": "table",
704
+ "img_path": "images/f46b31ceda5b282b42e2693f44d7e79c182cc8914d0e884dd91edfe0320ed8e7.jpg",
705
+ "table_caption": [
706
+ "Table 5: Results of IWSLT 2015 English-Vietnamese. The BLEU scores on tst2013 are reported. "
707
+ ],
708
+ "table_footnote": [],
709
+ "table_body": "<table><tr><td>Model</td><td>Baseline</td><td>COT</td></tr><tr><td>NMT (greedy)</td><td>25.5</td><td>25.7</td></tr><tr><td>NMT (beam search)</td><td>26.1</td><td>26.4</td></tr></table>",
710
+ "bbox": [
711
+ 354,
712
+ 584,
713
+ 642,
714
+ 643
715
+ ],
716
+ "page_idx": 6
717
+ },
718
+ {
719
+ "type": "text",
720
+ "text": "Speech recognition. For speech recognition, we experiment on Google Commands Dataset (Warden, 2018), which consists of 65,000 one-second utterances of 30 different types such as “Yes,” “No,” “Up,” “Down” and “Stop.” Our baseline model is referenced from (Zhang et al., 2018). We apply the same pre-processing steps as shown in the paper, and perform the short-time Fourier transform on the original waveforms first at a sampling rate of $4 \\mathrm { k H z }$ to receive the corresponding spectrograms. We then zero-pad these spectrograms to equalize each sample’s length. For the baseline model, we select VGG-11 (Simonyan & Zisserman, 2014) and train the model for 30 epochs following the steps in (Zhang et al., 2018). We use SGD optimizer with momentum, and weight decay is 0.0001. The learning rate starts at 0.0001 and then is divided by 10 at the $1 0 ^ { \\mathrm { t h } }$ and $2 0 ^ { \\mathrm { { t h } } }$ epoch. COT improves the baseline by further reducing the error rate by $1 . 5 6 \\%$ , as shown in Table 6. ",
721
+ "bbox": [
722
+ 173,
723
+ 676,
724
+ 825,
725
+ 816
726
+ ],
727
+ "page_idx": 6
728
+ },
729
+ {
730
+ "type": "text",
731
+ "text": "3.4 ADVERSARIAL EXAMPLES ",
732
+ "text_level": 1,
733
+ "bbox": [
734
+ 176,
735
+ 834,
736
+ 395,
737
+ 847
738
+ ],
739
+ "page_idx": 6
740
+ },
741
+ {
742
+ "type": "text",
743
+ "text": "An adversarial example is an imperceptibly-perturbed input that results in the model outputting an incorrect answer with high confidence (Szegedy et al., 2014; Goodfellow et al., 2015). Prior literatures have shown that there are several methods to generate effective adversarial examples that greatly mislead the model toward providing wrong predictions. ",
744
+ "bbox": [
745
+ 178,
746
+ 859,
747
+ 821,
748
+ 887
749
+ ],
750
+ "page_idx": 6
751
+ },
752
+ {
753
+ "type": "table",
754
+ "img_path": "images/cae281f1aa45910bc2b649a1212ae164e4e960972c647fd8b4b5f5c5e104283a.jpg",
755
+ "table_caption": [
756
+ "Table 6: Test errors (in $\\%$ ) on Google Commands Dataset (mean values of 3 runs). "
757
+ ],
758
+ "table_footnote": [],
759
+ "table_body": "<table><tr><td>Model</td><td>Baseline</td><td>COT</td></tr><tr><td>VGG-11</td><td>6.06</td><td>4.50</td></tr></table>",
760
+ "bbox": [
761
+ 393,
762
+ 133,
763
+ 604,
764
+ 178
765
+ ],
766
+ "page_idx": 7
767
+ },
768
+ {
769
+ "type": "text",
770
+ "text": "",
771
+ "bbox": [
772
+ 176,
773
+ 212,
774
+ 823,
775
+ 239
776
+ ],
777
+ "page_idx": 7
778
+ },
779
+ {
780
+ "type": "text",
781
+ "text": "As shown in Figure 2, the proposed COT generates embeddings where the class boundaries are clear and well-separated. We believe that the models trained using COT generalize better and are more robust to adversarial attacks. To verify this conjecture, we conduct experiments of white-box attacks to the models trained by COT. We consider a common approach of single-step adversarial attacks: Fast Gradient Sign Method (FGSM) (Goodfellow et al., 2015) that uses the gradient to determine the direction of the perturbation to apply on an input for creating an adversarial example. To set up FGSM white-box attacks on a baseline model, adversarial examples are generated using the gradients calculated based on the primary objective (referred to as the “primary gradient”) of the baseline model. For FGSM white-box attacks on COT, adversarial perturbations are generated based on the sum of the primary gradient and the complement gradient (i.e., the gradient calculated from the complement objective), both gradients from the model trained by COT. In our experiments, the baseline models are the same as in Section 3.2, and the amount of perturbation is limited to a maximum value of 0.1 as described in (Goodfellow et al., 2015) when creating adversarial examples. Furthermore, we also conduct experiments on FGSM transfer attacks, which use the adversarial examples from a baseline model to attack and test the robustness of the model trained by COT. ",
782
+ "bbox": [
783
+ 174,
784
+ 246,
785
+ 825,
786
+ 454
787
+ ],
788
+ "page_idx": 7
789
+ },
790
+ {
791
+ "type": "table",
792
+ "img_path": "images/0693c6e8411b4204a486fa60d4638a9c4a9ee882bdb5a2d6379294d5c92677ff.jpg",
793
+ "table_caption": [
794
+ "Table 7: Classification errors $( \\mathrm { i n } \\% )$ ) on CIFAR-10 under FGSM white-box & transfer attacks. "
795
+ ],
796
+ "table_footnote": [],
797
+ "table_body": "<table><tr><td>Model</td><td>Baseline</td><td>COT (White-Box)</td><td>COT (Transfer)</td></tr><tr><td>ResNet-110</td><td>62.23</td><td>52.72</td><td>54.96</td></tr><tr><td>PreAct ResNet-18</td><td>65.60</td><td>56.17</td><td>59.39</td></tr><tr><td>ResNeXt-29 (2×64d)</td><td>70.24</td><td>61.55</td><td>65.83</td></tr><tr><td>WideResNet-28-10</td><td>59.39</td><td>55.53</td><td>57.33</td></tr><tr><td>DenseNet-BC-121</td><td>65.97</td><td>55.99</td><td>62.40</td></tr></table>",
798
+ "bbox": [
799
+ 240,
800
+ 502,
801
+ 756,
802
+ 602
803
+ ],
804
+ "page_idx": 7
805
+ },
806
+ {
807
+ "type": "text",
808
+ "text": "Table 7 shows the performance of the models on the CIFAR-10 dataset under FGSM white-box and transfer attacks. Generally, the models trained using COT have lower classification error under both FGSM white-box and transfer attacks, which is an indicator that COT models are more robust to both kinds of attacks. We also conduct experiments on the basic iterative attacks using I-FGSM (Kurakin et al., 2017) and the corresponding results can be found in Appendix A. ",
809
+ "bbox": [
810
+ 173,
811
+ 625,
812
+ 825,
813
+ 694
814
+ ],
815
+ "page_idx": 7
816
+ },
817
+ {
818
+ "type": "text",
819
+ "text": "We conjecture that since the main goal of the complement gradients is to neutralize the probabilities of incorrect classes (instead of maximizing the probability of the correct class), the complement gradients may “push away” primary gradients when forming adversarial perturbations, which might partially answer why COT is more robust to FGSM white-box attacks compared to the baseline. Regarding the transfer attacks, only the primary objective of the baseline model is used to calculate the gradients for generating adversarial examples. In other words, the complement gradients are not considered when generating adversarial examples in the transfer attack, and this might be the reason why models trained by COT are more robust to transfer attacks. Both conjectures leave a large space for future work: using complement objective to defend against more advanced adversarial attacks. ",
820
+ "bbox": [
821
+ 174,
822
+ 700,
823
+ 825,
824
+ 827
825
+ ],
826
+ "page_idx": 7
827
+ },
828
+ {
829
+ "type": "text",
830
+ "text": "4 CONCLUSION AND FUTURE WORK ",
831
+ "text_level": 1,
832
+ "bbox": [
833
+ 174,
834
+ 848,
835
+ 495,
836
+ 864
837
+ ],
838
+ "page_idx": 7
839
+ },
840
+ {
841
+ "type": "text",
842
+ "text": "In this paper, we study Complement Objective Training (COT), a new training paradigm that optimizes the complement objective in addition to the primary objective. We propose complement entropy as the complement objective for neutralizing the effects of complement (incorrect) classes. ",
843
+ "bbox": [
844
+ 176,
845
+ 882,
846
+ 823,
847
+ 924
848
+ ],
849
+ "page_idx": 7
850
+ },
851
+ {
852
+ "type": "text",
853
+ "text": "Models trained using COT demonstrate superior performance compared to the baseline models. We also find that COT makes the models robust to single-step adversarial attacks. ",
854
+ "bbox": [
855
+ 173,
856
+ 103,
857
+ 821,
858
+ 132
859
+ ],
860
+ "page_idx": 8
861
+ },
862
+ {
863
+ "type": "text",
864
+ "text": "COT can be extended in several ways: first, in this paper, the complement objective is chosen to be the complement entropy. Non-entropy-based complement objectives should also be considered for future studies, which is left as a straight-line future work. Secondly, the exploration of COT on broader applications remains as an open research question. One example would be applying COT on generative models such as Generative Adversarial Networks (Goodfellow et al., 2014). Another example would be using COT on object detection and segmentation. Finally, in this work, we show using complement objective help defend single-step adversarial attacks; the behavior of COT on more advanced adversarial attacks deserves further investigation and is left as another future work. ",
865
+ "bbox": [
866
+ 174,
867
+ 138,
868
+ 825,
869
+ 251
870
+ ],
871
+ "page_idx": 8
872
+ },
873
+ {
874
+ "type": "text",
875
+ "text": "REFERENCES ",
876
+ "text_level": 1,
877
+ "bbox": [
878
+ 176,
879
+ 271,
880
+ 285,
881
+ 286
882
+ ],
883
+ "page_idx": 8
884
+ },
885
+ {
886
+ "type": "text",
887
+ "text": "Mauro Cettolo, Jan Niehues, Sebastian Stu ker, Luisa Bentivogli, Roldano Cattoni, and Marcello Federico. The IWSLT 2015 evaluation campaign. In ICSLP’15, 2015. \nKyunghyun Cho, Bart van Merrienboer, C¸ aglar Gulc¸ehre, Fethi Bougares, Holger Schwenk, and ¨ Yoshua Bengio. Learning phrase representations using rnn encoder-decoder for statistical machine translation. In EMNLP’14, 2014. \nJia Deng, Wei Dong, Richard Socher, Li jia Li, Kai Li, and Li Fei-fei. ImageNet: A large-scale hierarchical image database. In CVPR’09, 2009. \nIan Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In NIPS’14. 2014. \nIan Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. In ICLR’15, 2015. \nPriya Goyal, Piotr Dollar, Ross B. Girshick, Pieter Noordhuis, Lukasz Wesolowski, Aapo Kyrola, ´ Andrew Tulloch, Yangqing Jia, and Kaiming He. Accurate, large minibatch SGD: Training ImageNet in 1 hour. arXiv preprint arXiv:1706.02677, 2017. \nKaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Identity mappings in deep residual networks. In ECCV’16, 2016a. \nKaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR’16, 2016b. \nGao Huang, Yixuan Li, Geoff Pleiss, Zhuang Liu, John E. Hopcroft, and Kilian Q. Weinberger. Snapshot ensembles: Train 1, get M for free. In ICLR’17, 2017a. \nGao Huang, Zhuang Liu, Laurens van der Maaten, and Kilian Q. Weinberger. Densely connected convolutional networks. In CVPR’17, 2017b. \nSergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In ICML’15, 2015. \nAlex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, 2009. \nAlex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In NIPS’12, 2012. \nSolomon Kullback and Richard A. Leibler. On information and sufficiency. Ann. Math. Statist., 1951. \nAlexey Kurakin, Ian J. Goodfellow, and Samy Bengio. Adversarial examples in the physical world. In ICLR’17 Workshop, 2017. \nMinh-Thang Luong, Hieu Pham, and Christopher D. Manning. Effective approaches to attentionbased neural machine translation. In EMNLP’15, 2015. \nTom M Mitchell et al. Machine learning. Burr Ridge, IL: McGraw Hill, 1997. ",
888
+ "bbox": [
889
+ 171,
890
+ 295,
891
+ 826,
892
+ 920
893
+ ],
894
+ "page_idx": 8
895
+ },
896
+ {
897
+ "type": "text",
898
+ "text": "",
899
+ "bbox": [
900
+ 174,
901
+ 909,
902
+ 687,
903
+ 924
904
+ ],
905
+ "page_idx": 8
906
+ },
907
+ {
908
+ "type": "text",
909
+ "text": "Yuval Netzer, Tao Wang, Adam Coates, Alessandro Bissacco, Bo Wu, and Andrew Y. Ng. Reading digits in natural images with unsupervised feature learning. In NIPS’11 Workshop, 2011. ",
910
+ "bbox": [
911
+ 173,
912
+ 103,
913
+ 823,
914
+ 132
915
+ ],
916
+ "page_idx": 9
917
+ },
918
+ {
919
+ "type": "text",
920
+ "text": "Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li Fei-Fei. ImageNet Large Scale Visual Recognition Challenge. International Journal of Computer Vision, 2015. ",
921
+ "bbox": [
922
+ 174,
923
+ 141,
924
+ 825,
925
+ 196
926
+ ],
927
+ "page_idx": 9
928
+ },
929
+ {
930
+ "type": "text",
931
+ "text": "Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In ICLR’15, 2014. ",
932
+ "bbox": [
933
+ 173,
934
+ 207,
935
+ 823,
936
+ 236
937
+ ],
938
+ "page_idx": 9
939
+ },
940
+ {
941
+ "type": "text",
942
+ "text": "Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: A simple way to prevent neural networks from overfitting. Journal of Machine Learning Research, 2014. ",
943
+ "bbox": [
944
+ 174,
945
+ 243,
946
+ 825,
947
+ 286
948
+ ],
949
+ "page_idx": 9
950
+ },
951
+ {
952
+ "type": "text",
953
+ "text": "Ilya Sutskever, Oriol Vinyals, and Quoc V. Le. Sequence to sequence learning with neural networks. In NIPS’14, 2014. ",
954
+ "bbox": [
955
+ 173,
956
+ 295,
957
+ 823,
958
+ 325
959
+ ],
960
+ "page_idx": 9
961
+ },
962
+ {
963
+ "type": "text",
964
+ "text": "Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. In ICLR’14, 2014. ",
965
+ "bbox": [
966
+ 173,
967
+ 333,
968
+ 821,
969
+ 363
970
+ ],
971
+ "page_idx": 9
972
+ },
973
+ {
974
+ "type": "text",
975
+ "text": "Pete Warden. Speech Commands: A dataset for limited-vocabulary speech recognition. arXiv preprint arXiv:1804.03209, 2018. ",
976
+ "bbox": [
977
+ 173,
978
+ 371,
979
+ 823,
980
+ 400
981
+ ],
982
+ "page_idx": 9
983
+ },
984
+ {
985
+ "type": "text",
986
+ "text": "Saining Xie, Ross B. Girshick, Piotr Dollar, Zhuowen Tu, and Kaiming He. Aggregated residual ´ transformations for deep neural networks. In CVPR’17, 2017. ",
987
+ "bbox": [
988
+ 173,
989
+ 409,
990
+ 823,
991
+ 438
992
+ ],
993
+ "page_idx": 9
994
+ },
995
+ {
996
+ "type": "text",
997
+ "text": "Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. In BMVC’16, 2016. ",
998
+ "bbox": [
999
+ 173,
1000
+ 446,
1001
+ 748,
1002
+ 462
1003
+ ],
1004
+ "page_idx": 9
1005
+ },
1006
+ {
1007
+ "type": "text",
1008
+ "text": "Hongyi Zhang, Moustapha Cisse, Yann N. Dauphin, and David Lopez-Paz. Mixup: Beyond empirical risk minimization. In ICLR’18, 2018. ",
1009
+ "bbox": [
1010
+ 173,
1011
+ 470,
1012
+ 825,
1013
+ 500
1014
+ ],
1015
+ "page_idx": 9
1016
+ },
1017
+ {
1018
+ "type": "text",
1019
+ "text": "A ITERATIVE FAST GRADIENT SIGN METHOD ",
1020
+ "text_level": 1,
1021
+ "bbox": [
1022
+ 174,
1023
+ 102,
1024
+ 573,
1025
+ 118
1026
+ ],
1027
+ "page_idx": 10
1028
+ },
1029
+ {
1030
+ "type": "table",
1031
+ "img_path": "images/bfe592ab0c9e451276bceae9db649b5b1e2026a3dc05b8c7e1679dc582dec09f.jpg",
1032
+ "table_caption": [
1033
+ "Table 8: Classification errors $( \\mathrm { i n } \\%$ ) on CIFAR-10 under I-FGSM transfer attacks. "
1034
+ ],
1035
+ "table_footnote": [],
1036
+ "table_body": "<table><tr><td>Model</td><td>Baseline</td><td>COT (Transfer)</td></tr><tr><td>ResNet-110</td><td>88.00</td><td>84.36</td></tr><tr><td>PreAct ResNet-18</td><td>84.56</td><td>83.77</td></tr><tr><td>ResNeXt-29 (2× 64d)</td><td>87.79</td><td>86.43</td></tr><tr><td>WideResNet-28-10</td><td>81.97</td><td>80.85</td></tr><tr><td>DenseNet-BC-121</td><td>86.95</td><td>83.66</td></tr></table>",
1037
+ "bbox": [
1038
+ 313,
1039
+ 169,
1040
+ 684,
1041
+ 270
1042
+ ],
1043
+ "page_idx": 10
1044
+ },
1045
+ {
1046
+ "type": "text",
1047
+ "text": "Table 8 shows the performance of the models on the CIFAR-10 dataset under I-FGSM transfer attacks. Generally, the models trained using COT have lower classification error under I-FGSM transfer attacks. The number of iteration is set to 10 in the experiment. ",
1048
+ "bbox": [
1049
+ 173,
1050
+ 291,
1051
+ 825,
1052
+ 334
1053
+ ],
1054
+ "page_idx": 10
1055
+ }
1056
+ ]
parse/train/HyM7AiA5YX/HyM7AiA5YX_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/HyM7AiA5YX/HyM7AiA5YX_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/Q-PA3D1OsDz/Q-PA3D1OsDz.md ADDED
@@ -0,0 +1,285 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # MetaAvatar: Learning Animatable Clothed Human Models from Few Depth Images
2
+
3
+ Shaofei Wang1 shaofei.wang@inf.ethz.ch
4
+
5
+ Marko Mihajlovic1 marko.mihajlovic@inf.ethz.ch
6
+
7
+ Qianli Ma1,2 qianli.ma@tue.mpg.de
8
+
9
+ Andreas Geiger2,3 a.geiger@uni-tuebingen.de
10
+
11
+ # Siyu Tang1
12
+
13
+ siyu.tang@inf.ethz.ch
14
+
15
+ 1ETH Zürich 2Max Planck Institute for Intelligent Systems, Tübingen 3University of Tübingen
16
+
17
+ # Abstract
18
+
19
+ In this paper, we aim to create generalizable and controllable neural signed distance fields (SDFs) that represent clothed humans from monocular depth observations. Recent advances in deep learning, especially neural implicit representations, have enabled human shape reconstruction and controllable avatar generation from different sensor inputs. However, to generate realistic cloth deformations from novel input poses, watertight meshes or dense full-body scans are usually needed as inputs. Furthermore, due to the difficulty of effectively modeling pose-dependent cloth deformations for diverse body shapes and cloth types, existing approaches resort to per-subject/cloth-type optimization from scratch, which is computationally expensive. In contrast, we propose an approach that can quickly generate realistic clothed human avatars, represented as controllable neural SDFs, given only monocular depth images. We achieve this by using meta-learning to learn an initialization of a hypernetwork that predicts the parameters of neural SDFs. The hypernetwork is conditioned on human poses and represents a clothed neural avatar that deforms non-rigidly according to the input poses. Meanwhile, it is metalearned to effectively incorporate priors of diverse body shapes and cloth types and thus can be much faster to fine-tune, compared to models trained from scratch. We qualitatively and quantitatively show that our approach outperforms state-of-the-art approaches that require complete meshes as inputs while our approach requires only depth frames as inputs and runs orders of magnitudes faster. Furthermore, we demonstrate that our meta-learned hypernetwork is very robust, being the first to generate avatars with realistic dynamic cloth deformations given as few as 8 monocular depth frames.
20
+
21
+ # 1 Introduction
22
+
23
+ Representing clothed humans as neural implicit functions is a rising research topic in the computer vision community. Earlier works in this direction address geometric reconstruction of clothed humans from static monocular images [35, 36, 63, 64], RGBD videos [37, 38, 71, 78, 80] or sparse point clouds [12] as direct extensions of neural implicit functions for rigid objects [11, 45, 46, 52]. More recent works advocate to learn shapes in a canonical pose [7, 27, 75] in order to not only handle reconstruction, but also build controllable neural avatars from sensor inputs. However, these works do not model pose-dependent cloth deformation, limiting their realism.
24
+
25
+ ![](images/cd969b2fa547db4de07e2ca7b836bfb967ef08f426e63bcefc978f760839e9c7.jpg)
26
+ Figure 1: Given as few as 8 monocular depth images and their SMPL fittings, our meta-learned model yields a controllable neural SDF in 2 minutes which synthesizes realistic cloth deformations for unseen body poses. Here we show results of two different subjects wearing different clothes.
27
+
28
+ On the other hand, traditional parametric human body models [41, 50, 54, 77] can represent pose-dependent soft tissue deformations of minimally-clothed human bodies. Several recent methods [13, 48] proposed to learn neural implicit functions to approximate such parametric models from watertight meshes. However, they cannot be straightforwardly extended to model clothed humans. SCANimate [65] proposed to learn canonicalized dynamic neural Signed Distance Fields (SDFs) controlled by human pose inputs and trained with Implicit Geometric Regularization (IGR [21]), thus circumventing the requirement of watertight meshes. However, SCANimate works only on dense full-body scans with accurate surface normals and further requires expensive per-subject/cloth-type training. These factors limit the applicability of SCANimate for building personalized human avatars from commodity RGBD sensors.
29
+
30
+ Contrary to all the aforementioned works, we propose to use meta-learning to effectively incorporate priors of dynamic neural SDFs of clothed humans, thus enabling fast fine-tuning (few minutes) for generating new avatars given only a few monocular depth images of unseen clothed humans as inputs. More specifically, we build upon recently proposed ideas of meta-learned initialization for implicit representations [67, 72] to enable fast fine-tuning. Similar to [67], we represent a specific category of objects (in our case, clothed human bodies in the canonical pose) with a neural implicit function and use meta-learning algorithms such as [16, 49] to learn a meta-model. However, unlike [67, 72], where the implicit functions are designed for static reconstruction, we target the generation of dynamic neural SDFs that are controllable by user-specified body poses. We observe that directly conditioning neural implicit functions (represented as a multi-layer perceptron) on body poses lacks the expressiveness to capture high-frequency details of diverse cloth types, and hence propose to meta-learn a hypernetwork [25] that predicts the parameters of the neural implicit function. Overall, the proposed approach, which we name MetaAvatar, yields controllable neural SDFs with dynamic surfaces in minutes via fast fine-tuning, given only a few depth observations of an unseen clothed human and the underlying SMPL [41] fittings (Fig. 1) as inputs. Code and data are public at https://neuralbodies.github.io/metavatar/.
31
+
32
+ # 2 Related Work
33
+
34
+ Our approach lies at the intersection of clothed human body modeling, neural implicit representations, and meta-learning. We review related works in the following.
35
+
36
+ Clothed Human Body Modeling: Earlier works for clothed human body modeling utilize parametric human body models [5, 26, 28, 41, 50, 54, 77] combined with deformation layers [2, 3, 7, 8] to model cloth deformations. However, these approaches cannot model fine clothing details due to their fixed topology, and they cannot handle pose-dependent cloth deformations. Mesh-based approaches that handle articulated deformations of clothes either require accurate surface registration [33, 43, 79, 83] or synthetic data [22, 24, 53] for training. Such requirement for data can be freed by using neural implicit surfaces [10, 51, 65, 73]. For example, SCANimate [65] proposed a weakly supervised approach to learn dynamic clothed human body models from 3D full-body scans which only requires minimally-clothed body registration. However, its training process usually takes one day for each subject/cloth-type combination and requires accurate surface normal information extracted from dense scans. Recent explicit clothed human models [9, 42, 44, 81] can also be learned from unregistered data. Like our method, concurrent work [44] also models pose-dependent shapes across different subjects/cloth-types, but it requires full-body scans for training. In contrast, our approach enables learning of clothed body models in minutes from as few as 8 depth images.
37
+
38
+ Neural Implicit Representations: Neural implicit representations [11, 45, 46, 52, 55] have been used to tackle both image-based [27, 35, 36, 57, 59, 63, 64, 87] and point cloud-based [7, 12] clothed human reconstruction. Among these works, ARCH [27] was the first one to represent clothed human bodies as a neural implicit function in a canonical pose. However, ARCH does not handle posedependent cloth deformations. Most recently, SCANimate [65] proposed to condition neural implicit functions on joint-rotation vectors (in the form of unit quaternions), such that the canonicalized shapes of the neural avatars change according to the joint angles of the human body, thus representing pose-dependent cloth deformations. However, diverse and complex cloth deformations make it hard to learn a unified prior from different body shapes and cloth types, thus SCANimate resorts to per-subject/cloth-type training which is computationally expensive.
39
+
40
+ Meta-Learning: Meta-learning is typically used to address few-shot learning, where a few training examples of a new task are given, and the model is required to learn from these examples to achieve good performance on the new task [1, 14, 15, 17–19, 23, 29, 32, 58, 60, 62, 66, 70, 74, 76, 82, 86]. We focus on optimization-based meta-learning, where Model-Agnostic Meta Learning (MAML [16]), Reptile [49] and related alternatives are typically used to learn such models [4, 6, 20, 34, 39, 61]. In general, this line of algorithms tries to learn a "meta-model" that can be updated quickly from new observations with only few gradient steps. Recently, meta-learning has been used to learn a universal initialization of implicit representations for static neural SDFs [67] and radiance fields [72]. MetaSDF [67] demonstrates that only a few gradient update steps are needed to achieve comparable or better results than slower auto-decoder-based approaches [52]. However, [67, 72] only meta-learn static representations, whereas we are interested in dynamic representations conditioned on human body poses. To our best knowledge, we are the first to meta-learn the hypernetwork to generate the parameters of neural SDF networks.
41
+
42
+ # 3 Fundamentals
43
+
44
+ We start by briefly reviewing the linear blend skinning (LBS) method [41] and the recent implicit skinning networks [48, 65] that learn to predict skinning weights of cloth surfaces in a weakly supervised manner. Using the learned implicit skinning networks allows us to canonicalize meshes or depth observations of clothed humans, given only minimally-clothed human body model registrations to the meshes. Canonicalization of meshes or points is a necessary step as the dynamic neural SDFs introduced in Section 4 are modeled in canonical space.
45
+
46
+ # 3.1 Linear Blend Skinning
47
+
48
+ Linear blend skinning (LBS) is a commonly used technique to deform parametric human body models [5, 26, 41, 50, 54, 77] according to user-specified rigid bone transformations. Given a set of $N$ points in a canonical space, $\hat { \mathbf { X } } = \{ \hat { \mathbf { x } } ^ { ( i ) } \} _ { i = 1 } ^ { N }$ , LBS takes a set of rigid bone transformations (in our case we use 23 local transformations plus one global transformation, assuming an underlying SMPL model) $\{ \mathbf { B } _ { b } \} _ { b = 1 } ^ { 2 4 }$ as inputs, each $\mathbf { B } _ { b }$ being a $4 \times 4$ rotation-translation matrix. For a 3D point xˆ(i) ∈ Xˆ 1, a skinning weight vector is a probability simplex w(i) ∈ [0, 1]24, s.t. P24b=1 $\begin{array} { r } { \sum _ { b = 1 } ^ { 2 4 } \mathbf { w } _ { b } ^ { ( i ) } = 1 } \end{array}$ , that defines the affinity of the point $\hat { \mathbf { x } } ^ { ( i ) }$ to each of the bone transformations $\{ \mathbf { B } _ { b } \} _ { b = 1 } ^ { 2 4 }$ . The set of transformed points $\mathbf { X } = \{ \mathbf { x } ^ { ( i ) } \} _ { i = 1 } ^ { N }$ of the clothed human is related to $\hat { \mathbf X }$ via:
49
+
50
+ $$
51
+ \begin{array} { l } { { \displaystyle { \bf x } ^ { ( i ) } = L B S \left( \hat { { \bf x } } ^ { ( i ) } , \{ { \bf B } _ { b } \} , { \bf w } ^ { ( i ) } \right) = \left( \sum _ { b = 1 } ^ { 2 4 } { \bf w } _ { b } ^ { ( i ) } { \bf B } _ { b } \right) \hat { \bf x } ^ { ( i ) } } , ~ \forall i = 1 , \ldots , N } \\ { { \displaystyle \hat { \bf x } ^ { ( i ) } = L B S ^ { - 1 } \left( { \bf x } ^ { ( i ) } , \{ { \bf B } _ { b } \} , { \bf w } ^ { ( i ) } \right) = \left( \sum _ { b = 1 } ^ { 2 4 } { \bf w } _ { b } ^ { ( i ) } { \bf B } _ { b } \right) ^ { - 1 } { \bf x } ^ { ( i ) } } , ~ \forall i = 1 , \ldots , N } \end{array}
52
+ $$
53
+
54
+ where Eq. (1) is referred to as the LBS function and Eq. (2) is referred to as the inverse-LBS function. The process of applying Eq. (1) to all points in $\hat { \bf X }$ is often referred to as forward skinning while the process of applying Eq. (2) is referred to as inverse skinning.
55
+
56
+ # 3.2 Implicit Skinning Networks
57
+
58
+ Recent articulated implicit representations [48, 65] have proposed to learn functions that predict the forward/inverse skinning weights for arbitrary points in $\bar { \mathbb { R } ^ { 3 } }$ . We follow this approach, but take advantage of a convolutional point-cloud encoder [56] for improved generalization. Formally, we define the implicit forward and inverse skinning networks as $h _ { \mathrm { f w d } } ( \cdot , \cdot ) : ( \mathbb { R } ^ { 3 \times K } , \mathbb { R } ^ { 3 } ) \mapsto \mathbb { R } ^ { 2 \bar { 4 } }$ and $h _ { \mathrm { i n v } } ( \cdot , \cdot ) : ( \mathbb { R } ^ { 5 \times K } , \mathbb { R } ^ { 3 } ) \mapsto \mathbb { R } ^ { 2 4 }$ , respectively. Both networks take as input a point cloud with $K$ points and a query point for which they predict skinning weights. Therefore, we can analogously re-define Eq. $\displaystyle ( \begin{array} { l l } \end{array} , \begin{array} { \ l } \end{array} )$ respectively as:
59
+
60
+ $$
61
+ \begin{array} { l } { { \displaystyle { \bf x } ^ { ( i ) } = \left( \sum _ { b = 1 } ^ { 2 4 } h _ { \mathrm { f w d } } ( \hat { { \bf X } } , \hat { { \bf x } } ^ { ( i ) } ) _ { b } { \bf B } _ { b } \right) \hat { { \bf x } } ^ { ( i ) } } , ~ \forall i = 1 , \ldots , N } \\ { { \displaystyle { \hat { \bf x } ^ { ( i ) } = \left( \sum _ { b = 1 } ^ { 2 4 } h _ { \mathrm { i n v } } ( { \bf X } , { \bf x } ^ { ( i ) } ) _ { b } { \bf B } _ { b } \right) ^ { - 1 } { \bf x } ^ { ( i ) } } , ~ \forall i = 1 , \ldots , N } } \end{array}
62
+ $$
63
+
64
+ Training the Skinning Network: We follow the setting of SCANimate [65], where a dataset of
65
+
66
+ observed point clouds $\{ { \bf X } \}$ and their underlying SMPL registration are known. For a sample $\mathbf { X }$ in the dataset, we first define the re-projected points $\bar { \mathbf { X } } = \{ \bar { \mathbf { x } } \} _ { i = 1 } ^ { N }$ as $\mathbf { X }$ mapped to canonical space via Eq. (4) and then mapped back to transformed space via Eq. (3). We then define the training loss:
67
+
68
+ $$
69
+ \mathcal { L } ( \mathbf { X } ) = \lambda _ { r } \mathcal { L } _ { r } + \lambda _ { s } \mathcal { L } _ { s } + \lambda _ { s k i n } \mathcal { L } _ { s k i n } ,
70
+ $$
71
+
72
+ where $\mathcal { L } _ { r }$ represents a re-projection loss that penalizes the L2 distance between an input point $\mathbf { x }$ and the re-projected point $\bar { \bf x }$ , $\mathcal { L } _ { s }$ represents L1 distances between the predicted forward skinning weights and inverse skinning weights, and $\mathcal { L } _ { s k i n }$ represents the L1 distances between the predicted (forward and inverse) skinning weights and the barycentrically interpolated skinning weights $\mathbf { w } ^ { ( i ) }$ on the registered SMPL shape that is closest to point $\mathbf { x } ^ { ( i ) }$ ; please refer to the Supp. Mat. for hyperparameters and details.
73
+
74
+ We train two skinning network types, the first one takes a partial point cloud extracted from a depth image as input and performs the inverse skinning, while the second one takes a full point cloud sampled from iso-surface points generated from the dynamic neural SDF in the canonical space and performs forward skinning.
75
+
76
+ Canonicalization: We use the learned inverse skinning network to canonicalize complete or partial point clouds $\{ \hat { \bf X } \}$ via Eq. (4) which are further used to learn the canonicalized dynamic neural SDFs.
77
+
78
+ # 4 MetaAvatar
79
+
80
+ Our approach meta-learns a unified clothing deformation prior from the training set that consists of different subjects wearing different clothes. This meta-learned model is further efficiently fine-tuned to produce a dynamic neural SDF from an arbitrary amount of fine-tuning data of unseen subjects. In extreme cases, MetaAvatar requires as few as 8 depth frames and takes only 2 minutes for fine-tuning to yield a subject/cloth-type-specific dynamic neural SDF (Fig. 1).
81
+
82
+ We assume that each subject/cloth-type combination in the training set has a set of registered bone transformations and canonicalized points, denoted as $\{ \{ \mathbf { B } _ { b } \} _ { b = 1 } ^ { 2 4 } , \hat { \mathbf { X } } \}$ . Points in $\hat { \bf X }$ are normalized to the range $[ - 1 , 1 ] ^ { 3 }$ according to their corresponding registered SMPL shape. With slight abuse of notation, we also define $\mathbf { X }$ as all possible points in $[ - \bar { 1 } , 1 ] ^ { 3 }$ . Our goal is to meta-learn a hypernetwork [25, 69] which takes $\{ \mathbf { B } _ { b } \} _ { b = 1 } ^ { 2 4 }$ ( $\{ { \bf B } _ { b } \}$ for shorthand) as inputs and predicts parameters of the neural SDFs in the canonical space. Denoting the hypernetwork as $g _ { \psi } ( \left\{ \bar { \mathbf { B } } _ { b } \right\} )$ and the predicted neural SDF as $f _ { \phi } ( \mathbf { x } ) \vert _ { \phi = g _ { \psi } ( \{ \mathbf { B } _ { b } \} ) }$ , we use the following IGR [21] loss to supervise the learning of $g$ :
83
+
84
+ $$
85
+ \begin{array} { l } { { \displaystyle \dot { \mathrm { ~ \ l ~ } } _ { { \mathrm { L G R } } } \big ( f _ { \phi } \big ( \hat { \bf X } \big ) \big | _ { \phi = g _ { \psi } ( { \{ { \bf B } _ { b } \} } ) } \big ) = \sum _ { { \bf x } \in \hat { \bf X } } \lambda _ { s d f } \Big | f _ { \phi } \big ( { \bf x } \big ) \big | _ { \phi = g _ { \psi } ( { \{ { \bf B } _ { b } \} } ) } \Big | + \lambda _ { \bf n } \left( 1 - \langle { \bf n } ( { \bf x } ) , \nabla _ { { \bf x } } f _ { \phi } ( { \bf x } ) \big | _ { \phi = g _ { \psi } ( { \{ { \bf B } _ { b } \} } ) } \rangle \right) } } \\ { { \displaystyle \qquad + \lambda _ { E } \Big | \big | \nabla _ { { \bf x } } f _ { \phi } \big ( { \bf x } \big ) \big | _ { \phi = g _ { \psi } ( \{ { { \bf B } _ { b } \} } ) } \big | \big | _ { 2 } - 1 \Big | \qquad \quad \mathrm { ( o n \mathrm { - s u r f a c e ~ l o s s } ) } } } \\ { { \displaystyle \qquad + \sum _ { { \bf x } \sim { \bf X } \backslash \hat { \bf X } } \qquad \quad - \alpha \cdot \Big | f _ { \phi } \big ( { \bf x } \big ) \big | _ { \phi = g _ { \psi } ( \{ { { \bf B } _ { b } \} } ) } \Big | \Big ) } } \\ { { \displaystyle \qquad + \lambda _ { E } \Big | \big | \nabla _ { { \bf x } } f _ { \phi } \big ( { \bf x } \big ) \big | _ { \phi = g _ { \psi } ( \{ { { \bf B } _ { b } \} } ) } \big | \big | _ { 2 } - 1 \Big | \qquad \mathrm { ( o f f \mathrm { - s u r f a c e ~ l o s s } ) } } } \end{array}
86
+ $$
87
+
88
+ where $\mathbf { n _ { x } }$ is the surface normal of point $\mathbf { x }$ . We assume that this information, along with the groundtruth correspondences from transformed space to canonical space is available when learning the meta-model on the training set, but do not require this for fine-tuning $g$ on unseen subjects.
89
+
90
+ In practice, we found that directly learning the hypernetwork $g _ { \psi }$ via Eq. (6) does not converge, and thus we decompose the meta-learning of $g _ { \psi }$ into two steps. First, we learn a meta-SDF [67] (without conditioning on $\{ \mathbf { B } _ { b } \}$ , Sec. 4.1), and then we meta-learn a hypernetwork that takes $\{ { \bf B } _ { b } \}$ as input and predicts the residuals to the parameters of the previously learned meta-SDF (Sec. 4.2).
91
+
92
+ # 4.1 Meta-learned Initialization of Static Neural SDFs
93
+
94
+ To effectively learn a statistical prior of clothed human bodies, we ignore the input bone transformations $\{ { \bf B } _ { b } \}$ and meta-learn the static neural SDF $f _ { \phi } ( \mathbf { \dot { x } } ) : [ - 1 , 1 ] ^ { 3 } \mapsto \mathbb { R }$ , parameterized by $\phi$ , from all canonicalized points of subjects with different genders, body shapes, cloth types, and poses. Furthermore, for faster and more stable convergence, the neural SDF $f _ { \phi }$ function additionally leverages the periodic activation functions [68].
95
+
96
+ ![](images/d5ef2bd65a2017e3a496dc05e47de251369d4edd7223f0cb3c23cfcc5cd6c2c0.jpg)
97
+ Figure 2: Overview of the meta-SDF network. We use a 5-layer SIREN [67] network with 256 neurons for each layer.
98
+
99
+ The full meta-learning algorithm for the static neural SDFs is described in Alg. 1.
100
+
101
+ # Algorithm 1 Meta-learning SDF with Reptile [49]
102
+
103
+ Initialize: meta-network parameters $\phi$ , meta learning rate $\beta$ , inner learning rate $\alpha$ , max training
104
+ iteration $N$ , inner-loop iteration $m$ , batch size $M$
105
+ 1: for $i = 1 , \ldots , N$ do
106
+ 2: Sample a batch of $M$ training samples $\{ \hat { \mathbf { X } } ^ { ( j ) } \} _ { j = 1 } ^ { M }$
107
+ 3: for $\begin{array} { r l } & { \mathbf { \Lambda } _ { [ = 1 , \dots , M \mathbf { \delta } ] \mathbf { \delta } \mathbf { 1 } } ^ { [ = 1 , \dots , M \mathbf { \delta } ] \mathbf { \delta } \mathbf { 0 } } } \\ & { \mathbf { \Phi } _ { \mathbf { 0 } } ^ { ( j ) } = \phi } \\ & { \mathbf { \Phi } \mathbf { 0 } \mathbf { r } \ k = 1 , \dots , m \mathbf { \delta } \mathbf { d } \mathbf { \mathbf { 0 } } } \\ & { \quad \phi _ { k } ^ { ( j ) } = \phi _ { k - 1 } ^ { ( j ) } - \alpha \nabla _ { \phi } \mathcal { L } _ { \mathrm { I G R } } \big ( f _ { \phi } ( \hat { \mathbf { X } } ^ { ( j ) } ) \big | _ { \phi = \phi _ { k - 1 } ^ { ( j ) } } \big ) } \end{array}$
108
+ 4: φ(j) =
109
+ 5: f
110
+ 6:
111
+ 7: end for
112
+ 8: 9: $\begin{array} { r l } & { \mathrel { \phantom { = } } \phi \phi + \beta \frac { 1 } { M } \sum _ { j = 1 } ^ { M } ( \phi _ { m } ^ { ( j ) } - \phi ) } \end{array}$
113
+ 10: end for
114
+
115
+ # 4.2 Meta-learned Initialization of HyperNetwork for Dynamic Neural SDFs
116
+
117
+ The meta-learned static neural SDF explained in the previous section can efficiently adapt to new observations, however it is not controllable by user-specified bone transformations $\{ \bar { \mathbf { B } } _ { b } \}$ . Therefore, to enable non-rigid pose-dependent cloth deformations, we further meta-learn a hypernetwork [25] to predict residuals to the learned parameters of the meta-SDF in Alg. 1.
118
+
119
+ The key motivation for meta-learning the hypernetwork is to build an effective unified prior for articulated clothed humans, which enables the recovery of the non-rigid clothing deformations at test time via the efficient fine-tuning process from several depth images of unseen subjects.
120
+
121
+ # Algorithm 2 Meta-learning hypernetwork with Modified Reptile
122
+
123
+ Initialize: meta-hypernetwork parameters $\psi$ , pre-trained meta-SDF parameters $\phi ^ { * }$ , meta learning rate $\beta$ , inner learning rate $\alpha$ , max training iteration $N$ , inner-loop iteration $m$ . 1: for $i = 1 , \ldots , N$ do 2: $\psi _ { 0 } = \psi$ 3: Randomly choose a subject/cloth-type combination $n$ 4: Uniformly sample $M \sim \{ 1 , \dots , D ^ { ( n ) } \}$ where $D ^ { ( n ) }$ is the number of datapoints of subject/cloth-type combination $n$ 5: Sample $M$ datapoints from subject/cloth-type combination $n$ , denoting these datapoints as $\mathcal { S } = \{ \{ \bar { \bf B } _ { b } \} ^ { ( j ) } , \hat { \bf X } ^ { ( j ) } \} _ { j = 1 } ^ { M }$ 6: for $k = 1 , \ldots , m$ do 7: L = 1M P({Bb},Xˆ )∈S LIGR(fφ(Xˆ )|φ=gψk−1 ({Bb})+φ∗ ) 8: ψk = ψk−1 − α∇ψk−1L 9: end for 10: $\psi \psi + \beta ( \psi _ { m } - \psi _ { 0 } )$ 11: end for
124
+
125
+ Denoting the meta-SDF learned by Alg. 1 as $\phi ^ { * }$ and our hypernetwork as $g _ { \psi } ( \{ \mathbf { B } _ { b } \} )$ , we implement Alg. 2. This algorithm differs from the original Reptile [49] algorithm in that it tries to optimize the inner-loop on arbitrary amount of data. Note that for brevity the loss in the innerloop (line 7-line 8) is computed over the whole batch $s$ , whereas in practice we used stochastic gradient descent (SGD) with fixed mini-batch size over $s$ since $s$ can contain hundreds of samples; SGD is used with the mini-batch size of 12 for the inner-loop.
126
+
127
+ ![](images/7e4a5f9cf29a9498401db73082b325c23e30988ddf4b5de04970a3d0ded562d1.jpg)
128
+ Figure 3: Overview of the meta-hypernetwork. It predicts residuals to $\phi ^ { * }$ which is learned in Sec. 4.1
129
+
130
+ Inference: At test-time, we are given a small fine-tuning set {{Bb}f ine,(j), Xˆ f ine,(j)}Mj= and the validation set {{Bb}val,(j)}Kj= The fine-tuning set is used to optimize the hypernetwork parameters $\psi$ ( $m = 2 5 6$ SGD epochs) that
131
+
132
+ are then used to generate neural SDFs from bone transformations available in the validation set. The overall inference pipeline including the inverse and the forward LBS stages is shown in Fig. 4.
133
+
134
+ Bone Transformation Encoding: We found that a small hierarchical MLP proposed in LEAP [48] for encoding bone transformations works slightly better than the encoding of unit quaternions used in SCANimate [65]. Thus, we employ the hierarchical MLP encoder to encode $\{ \mathbf { B } _ { b } \}$ for $g$ unless specified otherwise; we ablate different encoding types in the experiment section.
135
+
136
+ # 5 Experiments
137
+
138
+ We validate the proposed MetaAvatar model for learning meta-models and controllable dynamic neural SDFs of clothed humans by first comparing our MetaAvatar to the established approaches [13, 48, 65]. Then, we ablate the modeling choices for the proposed controllable neural SDFs. And lastly, we demonstrate MetaAvatar’s capability to tackle the challenging task of learning animatable clothed human models from reduced data, to the point that only 8 depth images are available as input.
139
+
140
+ Datasets: We use the CAPE dataset [43] as the major test bed for our experiments. This dataset consists of 148584 pairs of clothed meshes, capturing 15 human subjects wearing different clothes while performing different actions. We use 10 subjects for meta-learning, which we denote as the training set. We use four unseen subjects (00122, 00134, 00215, 03375)2 for fine-tuning and validation; for each of these four subjects, the corresponding action sequences are split into finetuning set and validation set. The fine-tuning set is used for fine-tuning the MetaAvatar models, it is also used to evaluate pose interpolation task. The validation set is used for evaluating novel pose extrapolation. Among the four unseen subjects, two of them (00122, 00215) perform actions that are present in the training set for the meta-learning; we randomly split actions of these two subjects with $70 \%$ fine-tuning and $30 \%$ validation. Subject 00134 and 03375 perform two trials of actions unseen in the training set for meta-learning. We use the first trial as the fine-tuning set and the second trial as the validation set. Subject 03375 also has one cloth type (blazer) that is unseen during meta-learning.
141
+
142
+ ![](images/499f555f0f574cbcc116e67f0ea4e1494f130391d8a750d3dc7d9a366cd3ba36.jpg)
143
+ Figure 4: Overview of our inference pipeline. The inverse LBS net (Sec. 3.2) takes a small set of input depth frames together with their underlying SMPL registrations to canonicalize the depth points; then the meta-learned hypernetwork (Sec. 4.2) is fine-tuned to represent the instance specific dynamic SDF; given novel poses, the updated hypernetwork generates pose-dependent cloth-deformations in canonical space, and the animated meshes are obtained via the forward LBS network (Sec. 3.2).
144
+
145
+ Baselines: We use NASA [13], LEAP [48], and SCANimate [65] as our baselines. NASA and SCANimate cannot handle multi-subject-cloth with a single model so we train per-subject/cloth-type models from scratch for each of them on the fine-tuning set. LEAP is a generalizable neural-implicit human body model that has shown to work on minimally-clothed bodies. We extend LEAP by adding a one-hot encoding to represent different cloth types (similarly to [43]) and train it jointly on the full training and the fine-tuning set.
146
+
147
+ As for the input format, we use depth frames rendered from CAPE meshes for our MetaAvatar. To render the depth frames, we fixed the camera and rotate the CAPE meshes around the y-axis (in SMPL space) at different angles with an interval of 45 degrees; note that for each mesh we only render it on one angle, simulating a monocular camera taking a round-view of a moving person. For the baselines, we use watertight meshes and provide the occupancy [45] loss to supervise the training of NASA and LEAP, while sampling surface points and normals on watertight meshes to provide the IGR loss supervision for SCANimate. Note that our model is at great disadvantage, as for fine-tuning we only use discrete monocular depth observations without accurate surface normal information.
148
+
149
+ Tasks and Evaluation: Our goal is to generate realistic clothing deformations from arbitrary input human pose parameters. To systematically understand the generalization capability of the MetaAvatar representation, we validate the baselines and MetaAvatar on two tasks, pose interpolation and extrapolation. For interpolation, we sample every 10th frame on the fine-tuning set for training/finetuning, and sample every 5th frame (excluding the training frames) also on the fine-tuning set for validation. For extrapolation, we sample every 5th frame on the fine-tuning set for training, and sample every 5th frame on the validation set for validation.
150
+
151
+ Interpolation is evaluated using three metrics: point-based ground-truth-to-mesh distance $( D _ { p } \downarrow ,$ in cm), face-based ground-truth-to-mesh distance $( D _ { f } \downarrow ,$ , in cm), and point-based ground-truth-to-mesh normal consistency $( N C \uparrow$ , in range $[ - 1 , 1 ] )$ . For computing these interpolation metrics we ignore non-clothed body parts such as hands, feet, head, and neck. For extrapolation, we note that clothdeformation are often stochastic; in such a case, predicting overly smooth surfaces can result in lower distances and higher normal consistency. Thus, we also conduct a large-scale perceptual study using
152
+
153
+ ![](images/04778bfeba6e8531b15fb31b8bf10ba2173d2807c481cc0b0182997a03765d4c.jpg)
154
+ Figure 5: Qualitative comparison on extrapolation results with blazer outfit. NASA shows consistent blocky artifacts. LEAP predicts overly smooth surfaces missing the tails of the blazer outfit. SCANimate does not generalize as this specific pose has not been seen during training. Directly meta-learning a SIREN [68] network that conditions on input poses produces a smooth surface that does not capture the blazer tails well.
155
+
156
+ ![](images/c48f179a578faed555e41852a3e3ab47ab69bbf01a2b531186854ba0fb96fb79.jpg)
157
+ Figure 6: Qualitative comparison on extrapolation results when reducing fine-tuning data on subject 00215 wearing poloshirt. The caption indicates the amount of fine-tuning data used to fine-tune the meta-hypernetwork on this unseen subject. Our meta-learned model captures for this unseen subject the sliding effect of the poloshirt at this pose in which the person raising arms, even fine-tuned with just 8 depth images.
158
+
159
+ Amazon Mechanical Turk, and report the perceptual scores $( \mathrm { P S } \uparrow )$ which reflects the percentage of users who favor the outputs of baselines over MetaAvatar. Details about user study design can be found in the Supp. Mat.
160
+
161
+ # 5.1 Evaluation Against Baselines
162
+
163
+ In this section, we report results on both interpolation and extrapolation tasks against various baselines described above. For NASA and SCANimate, we train one model for each subject/clothtype combination on the fine-tuning set. For them it usually takes several thousand of epochs to converge for each subject/cloth-type combination, which roughly equals to 10-24 hours of training. For LEAP, we train a single model on both the training and the fine-tuning set using two days. For the MetaAvatar, we meta-learn a single model on the training set, and for each subject/cloth-type combination we fine-tune the model for 256 epochs to produce subject/cloth-type specific models. The exact fine-tuning time ranges from 40 minutes to 3 hours depending on the amount of available data since we are running a fixed number of epochs; see the Supp. Mat. for detailed runtime comparison on each subject/cloth-type combination. Note that MetaAvatar uses partial depth observations while the other baselines are trained on complete meshes. The results are reported in Table 1.
164
+
165
+ Importantly, models of NASA and SCANimate are over-fitted to each subject/cloth-type combination as they cannot straightforwardly leverage prior knowledge from multiple training subjects. LEAP is trained on all training and fine-tuning data with input encodings to distinguish different body shapes and cloth types, but it fails to capture high-frequency details of clothes, often predicting smooth surfaces (Fig. 5); this is evidenced by its lower perceptual scores (PS) compared to SCANimate and our MetaAvatar. In contrast to these baselines, MetaAvatar successfully captures a unified clothing deformation prior of diverse body shapes and cloth types, which generalizes well to unseen body shapes (00122, 00215), unseen poses (00134, 03375), and unseen cloth types (03375 with blazer outfit); although we did not outperform LEAP on the interpolation task for subject 00134 and 03375, we note that 1) our method uses only 2.5D input for fine-tuning, while LEAP has access to groundtruth canonical meshes during training; 2) subject 00134 and 03375 comprise much more missing frames than subject 00122 and 00215, resulting in higher stochasticity and thus predicting smooth surfaces (such as LEAP) may yield better performance; this is also evidenced by LEAP’s much lower perceptual scores on subject 00134 and 03375, although obtaining the best performance for pose interpolation. We encourage the readers to watch the side-by-side comparison videos available on our project page: https://neuralbodies.github.io/metavatar/.
166
+
167
+ <table><tr><td></td><td></td><td colspan="2">3DInput</td><td>2.5D Input</td></tr><tr><td></td><td>NASA</td><td>LEAP</td><td>SCANimate</td><td>Ours</td></tr><tr><td colspan="5">Subj 100122,00215</td></tr><tr><td>Ex.</td><td>PS↑</td><td>0.078</td><td>0.314 0.333</td><td>0.5</td></tr><tr><td rowspan="3">Int.</td><td>Dp↓</td><td>0.484</td><td>0.454 0.586</td><td>0.450</td></tr><tr><td>Df↓</td><td>0.327 0.293</td><td>0.489</td><td>0.273</td></tr><tr><td>NC↑</td><td>0.752</td><td>0.807 0.793</td><td>0.821</td></tr><tr><td colspan="5">Subj 00134,03375</td></tr><tr><td>Ex.</td><td>PS↑</td><td>0.182 0.224</td><td>0.481</td><td>0.5</td></tr><tr><td rowspan="3">Int.</td><td>Dp↓</td><td>0.595</td><td>0.483</td><td>0.518</td></tr><tr><td>Df↓</td><td>0.469 0.340</td><td>0.542</td><td>0.367</td></tr><tr><td>NC↑</td><td>0.693 0.780</td><td>0.755</td><td>0.773</td></tr><tr><td colspan="5">Averge per-model training/fine-tuning time (hours)</td></tr><tr><td colspan="2">&gt;10</td><td>1</td><td>&gt;10</td><td>1.60</td></tr></table>
168
+
169
+ Table 1: Comparison to baselines. $D _ { p } , D _ { f }$ and $N C$ are reported for interpolation (Int.) while PS is reported for extrapolation $\left( \mathrm { E x . } \right)$ . Note that MetaAvatar is fine-tuned on depth images while all other baselines are trained on complete meshes. The training/fine-tuning times are just rough estimates, as ours does not include the time for meta-learning, while many factors, including varying training schedules, disk-IOs and hardware setups, can affect the final speed.
170
+
171
+ <table><tr><td></td><td></td><td>MLP</td><td>PosEnc</td><td>SIREN</td><td>Hyper Quat</td><td>Hyper BoneEnc</td></tr><tr><td colspan="7">Subj 00122,00215</td></tr><tr><td rowspan="3">Int.</td><td>Dp↓</td><td>3.278</td><td>1.806</td><td>0.472</td><td>0.460</td><td>0.461</td></tr><tr><td>D↓</td><td>2.201</td><td>0.998</td><td>0.301</td><td>0.288</td><td>0.288</td></tr><tr><td>NC↑</td><td>-0.279</td><td>-0.045</td><td>0.815</td><td>0.818</td><td>0.820</td></tr><tr><td colspan="7">Subj 100134,03375</td></tr><tr><td rowspan="3">Int.</td><td>Dp↓</td><td>3.320</td><td>1.498</td><td>0.532</td><td>0.526</td><td>0.523</td></tr><tr><td>Df↓</td><td>2.190</td><td>0.772</td><td>0.385</td><td>0.378</td><td>0.374</td></tr><tr><td>NC↑</td><td>-0.300</td><td>-0.099</td><td>0.773</td><td>0.772</td><td>0.772</td></tr></table>
172
+
173
+ Table 2: Ablation for different architectures on the interpolation task. Hyper-Quat is our model that takes the relative joint-rotations (in the form of unit quaternions) as inputs. HyperBoneEnc is our full model with hierarchical bone encoding MLP of LEAP [48]. Models in the table are fine-tuned for 128 epochs.
174
+
175
+ # 5.2 Ablation Study on Model Architectures
176
+
177
+ We further ablate model architecture choices for MetaAvatar. We compare against (1) a plain MLP that takes the concatenation of the relative joint-rotations (in the form of unit quaternions) and query points as input (MLP), (2) a MLP that takes the concatenation of the relative joint-rotations and the positional encodings of query point coordinates as input (PosEnc), and (3) a SIREN network that takes the concatenation of the relative joint-rotations and query points as input (SIREN). The evaluation task is interpolation; results are reported in Table 2. For the baselines (MLP, PosEnc and SIREN), we directly use Alg. 2 to meta-learn the corresponding models with $\phi ^ { * } = 0$ . For MLP and PosEnc, the corresponding models fail to produce reasonable shapes. For SIREN, it produces unnaturally smooth surfaces which cannot capture fine clothing details such as wrinkles (Fig. 5).
178
+
179
+ # 5.3 Few-shot learning of MetaAvatar
180
+
181
+ In this section, we evaluate the few-shot learning capabilities of MetaAvatar. As shown in Table 3, we reduce the amount of data on the fine-tuning set, and report the performance of models finetuned on reduced amount of data. Note that with $< 1 \%$ data, we require only one frame from each action sequence available for a subject/cloth-type combination, this roughly equals to 8-20 depth frames depending on the amount of data for that subject/cloth-type combination. For interpolation, the performance drops because the stochastic nature of cloth deformation becomes dominant when the amount of fine-tuning data decreases. On the other hand, the perceptual scores (PS) are better than NASA and LEAP even with ${ \tt c 1 \% }$ data in the form of partial depth observations, and better
182
+
183
+ Table 3: Ablation for few-shot learning. We report performance of MetaAvatar on reduced amount of fine-tuning data. Fine-tuning time scales linearly with the amount of data, since we run for a fixed number of epochs.
184
+
185
+ <table><tr><td>Fine-tune data (%)</td><td></td><td>100</td><td>50</td><td>20</td><td>10</td><td>5</td><td>&lt;1</td></tr><tr><td colspan="8">Subj 00122,00215</td></tr><tr><td>Ex.</td><td>PS个</td><td>0.5</td><td>0.471</td><td>0.509</td><td>0.473</td><td>0.373</td><td>0.510</td></tr><tr><td rowspan="3">Int.</td><td>Dp↓</td><td>-</td><td>0.450</td><td>0.480</td><td>0.512</td><td>0.543</td><td>0.592</td></tr><tr><td>D↓</td><td>=</td><td>0.273</td><td>0.310</td><td>0.353</td><td>0.391</td><td>0.450</td></tr><tr><td>NC↑</td><td>-</td><td>0.821</td><td>0.808</td><td>0.795</td><td>0.785</td><td>0.768</td></tr><tr><td colspan="8">Subj 00134, ,03375</td></tr><tr><td>Ex.</td><td>PS个</td><td>0.5</td><td>0.476</td><td>0.424</td><td>0.463</td><td>0.439</td><td>0.387</td></tr><tr><td rowspan="3">Int.</td><td>Dp↓</td><td>1</td><td>0.518</td><td>0.545</td><td>0.576</td><td>0.603</td><td>0.619</td></tr><tr><td>Df↓</td><td></td><td>0.367</td><td>0.400</td><td>0.438</td><td>0.471</td><td>0.489</td></tr><tr><td>NC↑</td><td>-</td><td>0.773</td><td>0.762</td><td>0.753</td><td>0.745</td><td>0.737</td></tr><tr><td colspan="8">Average per-model training/fine-tuning time ( (hours) 0.08 0.02</td></tr><tr><td colspan="8">1.60 0.8 0.32 0.16</td></tr></table>
186
+
187
+ than or comparable to SCANimate in most cases. The qualitative comparison on extrapolation results of reduced fine-tuning data is shown in Fig. 6. Please see the Supp. Mat. for more qualitative results on few-shot learning, including results on depth from raw scans, results on real depth images and comparison with pre-trained SCANimate model.
188
+
189
+ # 6 Conclusion
190
+
191
+ We introduced MetaAvatar, a meta-learned hypernetwork that represents controllable dynamic neural SDFs applicable for generating clothed human avatars. Compared to existing methods, MetaAvatar learns from less data (temporally discrete monocular depth frames) and requires less time to represent novel unseen clothed humans. We demonstrated that the meta-learned deformation prior is robust and can be used to effectively generate realistic clothed human avatars in 2 minutes from as few as 8 depth observations.
192
+
193
+ MetaAvatar is compatible with automatic registration methods [8, 75], human motion models [84, 85], implicit hand models [30, 31] and rendering primitives [40, 47] that could jointly enable an efficient end-to-end photo-realistic digitization of humans from commodity RGBD sensors, which has broad applicability in movies, games, and telepresence applications. However, this digitization may raise privacy concerns that need to be addressed carefully before deploying the introduced technology.
194
+
195
+ # 7 Acknowledgment
196
+
197
+ Siyu Tang acknowledges funding by the Swiss National Science Foundation under project 200021_204840. Andreas Geiger was supported by the ERC Starting Grant LEGO-3D (850533) and DFG EXC number 2064/1 - project number 390727645. We thank Jinlong Yang for providing results of SCANimate on the CAPE dataset. We thank Yebin Liu for sharing POSEFusion [38] data and results during the rebuttal period. We also thank Yan Zhang, Siwei Zhang and Korrawe Karunratanakul for proof reading the paper.
198
+
199
+ # References
200
+
201
+ [1] Ferran Alet, Tomas Lozano-Perez, and Leslie P. Kaelbling. Modular meta-learning. In Proc. of The 2nd Conference on Robot Learning, 2018. 3
202
+ [2] Thiemo Alldieck, Marcus Magnor, Bharat Lal Bhatnagar, Christian Theobalt, and Gerard Pons-Moll. Learning to reconstruct people in clothing from a single RGB camera. In Proc. of CVPR, 2019. 2
203
+ [3] Thiemo Alldieck, Marcus Magnor, Weipeng Xu, Christian Theobalt, and Gerard Pons-Moll. Video based reconstruction of 3d people models. In Proc. of CVPR, 2018. 2
204
+ [4] Marcin Andrychowicz, Misha Denil, Sergio Gómez, Matthew W Hoffman, David Pfau, Tom Schaul, Brendan Shillingford, and Nando de Freitas. Learning to learn by gradient descent by gradient descent. In Proc. of NeurIPS, 2016. 3
205
+ [5] Dragomir Anguelov, Praveen Srinivasan, Daphne Koller, Sebastian Thrun, Jim Rodgers, and James Davis. Scape: shape completion and animation of people. ACM Transasctions Graphics, 24, 2005. 2, 3
206
+ [6] Antreas Antoniou, Harrison Edwards, and Amos Storkey. How to train your maml. In Proc. of ICLR, 2019. 3
207
+ [7] Bharat Lal Bhatnagar, Cristian Sminchisescu, Christian Theobalt, and Gerard Pons-Moll. Combining implicit function learning and parametric models for 3d human reconstruction. In Proc. of ECCV, 2020. 1, 2, 3
208
+ [8] Bharat Lal Bhatnagar, Cristian Sminchisescu, Christian Theobalt, and Gerard Pons-Moll. Loopreg: Selfsupervised learning of implicit surface correspondences, pose and shape for 3d human mesh registration. In Proc. of NeurIPS, 2020. 2, 10
209
+ [9] Andrei Burov, Matthias Nießner, and Justus Thies. Dynamic surface function networks for clothed human bodies. In Proc. of ICCV, 2021. 2
210
+ [10] Xu Chen, Yufeng Zheng, Michael J Black, Otmar Hilliges, and Andreas Geiger. SNARF: Differentiable forward skinning for animating non-rigid neural implicit shapes. In Proc. of ICCV, 2021. 2
211
+ [11] Zhiqin Chen and Hao Zhang. Learning implicit fields for generative shape modeling. In Proc. of CVPR, 2019. 1, 3
212
+ [12] Julian Chibane, Thiemo Alldieck, and Gerard Pons-Moll. Implicit functions in feature space for 3d shape reconstruction and completion. In Proc. of CVPR, 2020. 1, 3
213
+ [13] Boyang Deng, JP Lewis, Timothy Jeruzalski, Gerard Pons-Moll, Geoffrey Hinton, Mohammad Norouzi, and Andrea Tagliasacchi. Nasa: Neural articulated shape approximation. In Proc. of ECCV, 2020. 2, 6, 7
214
+ [14] Nanqing Dong and Eric P. Xing. Few-shot semantic segmentation with prototype learning. In Proc. of BMVC, 2018. 3
215
+ [15] SM Ali Eslami, Danilo Jimenez Rezende, Frederic Besse, Fabio Viola, Ari S Morcos, Marta Garnelo, Avraham Ruderman, Andrei A Rusu, Ivo Danihelka, Karol Gregor, et al. Neural scene representation and rendering. Science, 360(6394):1204–1210, 2018. 3
216
+ [16] Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. In Proc. of ICML, 2017. 2, 3 Yee Whye Teh, Danilo J. Rezende, and S. M. Ali Eslami. Conditional neural processes. In Proc. of ICML, 2018. 3
217
+ [18] Marta Garnelo, Jonathan Schwarz, Dan Rosenbaum, Fabio Viola, Danilo J. Rezende, S. M. Ali Eslami, and Yee Whye Teh. Neural processes. In ICML Workshop on Theoretical Foundations and Applications of Deep Generative Models, 2018.
218
+ [19] Jonathan Gordon, John Bronskill, Matthias Bauer, Sebastian Nowozin, and Richard E. Turner. Metalearning probabilistic inference for prediction. In Proc. of ICLR, 2019. 3
219
+ [20] Edward Grefenstette, Brandon Amos, Denis Yarats, Phu Mon Htut, Artem Molchanov, Franziska Meier, Douwe Kiela, Kyunghyun Cho, and Soumith Chintala. Generalized inner loop meta-learning, 2019. 3
220
+ [21] Amos Gropp, Lior Yariv, Niv Haim, Matan Atzmon, and Yaron Lipman. Implicit geometric regularization for learning shapes. In Proc. of ICML, 2020. 2, 5
221
+ [22] Peng Guan, Loretta Reiss, David A. Hirshberg, Er Weiss, and Michael J. Black. Drape: Dressing any person. ACM Transasctions Graphics, 31(4), 2012. 2
222
+ [23] Liang-Yan Gui, Yu-Xiong Wang, Deva Ramanan, and Jose M. F. Moura. Few-shot human motion prediction via meta-learning. In Proc. of ECCV, 2018. 3
223
+ [24] Erhan Gundogdu, Victor Constantin, Amrollah Seifoddini, Minh Dang, Mathieu Salzmann, and Pascal Fua. Garnet: A two-stream network for fast and accurate 3d cloth draping. In Proc. of ICCV, 2019. 2
224
+ [25] David Ha, Andrew Dai, and Quoc V. Le. Hypernetworks. In Proc. of ICLR, 2017. 2, 4, 5
225
+ [26] N. Hasler, C. Stoll, M. Sunkel, B. Rosenhahn, and H.-P. Seidel. A Statistical Model of Human Pose and Body Shape. Computer Graphics Forum, 28:337–346, 2009. 2, 3
226
+ [27] Zeng Huang, Yuanlu Xu, Christoph Lassner, Hao Li, and Tony Tung. ARCH: Animatable Reconstruction of Clothed Humans. In Proc. of CVPR, 2020. 1, 3
227
+ [28] Hanbyul Joo, Tomas Simon, and Yaser Sheikh. Total capture: A 3d deformation model for tracking faces, hands, and bodies. In Proc. of CVPR, 2018. 2
228
+ [29] Bingyi Kang, Zhuang Liu, Xin Wang, Fisher Yu, Jiashi Feng, and Trevor Darrell. Few-shot object detection via feature reweighting. In Proc. of ICCV, 2019. 3
229
+ [30] Korrawe Karunratanakul, Adrian Spurr, Zicong Fan, Otmar Hilliges, and Siyu Tang. A skeleton-driven neural occupancy representation for articulated hands. In Proc. of 3DV, 2021. 10
230
+ [31] Korrawe Karunratanakul, Jinlong Yang, Yan Zhang, Michael Black, Krikamol Muandet, and Siyu Tang. Grasping field: Learning implicit representations for human grasps. In Proc. of 3DV, 2020. 10
231
+ [32] Hyunjik Kim, Andriy Mnih, Jonathan Schwarz, Marta Garnelo, Ali Eslami, Dan Rosenbaum, Oriol Vinyals, and Yee Whye Teh. Attentive neural processes. In Proc. of ICLR, 2019. 3
232
+ [33] Zorah Lähner, Daniel Cremers, and Tony Tung. Deepwrinkles: Accurate and realistic clothing modeling. In Proc. of ECCV, 2018. 2
233
+ [34] Ke Li and Jitendra Malik. Learning to optimize. In Proc. of ICLR, 2017. 3
234
+ [35] Ruilong Li, Yuliang Xiu, Shunsuke Saito, Zeng Huang, Kyle Olszewski, and Hao Li. Monocular real-time volumetric performance capture. In Proc. of ECCV, 2020. 1, 3
235
+ [36] Zhongguo Li, Magnus Oskarsson, and Anders Heyden. Geo-pifu: Geometry and pixel aligned implicit functions for single-view human reconstruction. In Proc. of NeurIPS, 2020. 1, 3
236
+ [37] Zhe Li, Tao Yu, Chuanyu Pan, Zerong Zheng, and Yebin Liu. Robust 3d self-portraits in seconds. In Proc. of CVPR, 2020. 1
237
+ [38] Zhe Li, Tao Yu, Zerong Zheng, Kaiwen Guo, and Yebin Liu. Posefusion: Pose-guided selective fusion for single-view human volumetric capture. In Proc. of CVPR, 2021. 1, 10
238
+ [39] Zhenguo Li, Fengwei Zhou, Fei Chen, and Hang Li. Meta-sgd: Learning to learn quickly for few-shot learning, 2017. 3
239
+ [40] Stephen Lombardi, Tomas Simon, Gabriel Schwartz, Michael Zollhoefer, Yaser Sheikh, and Jason Saragih. Mixture of volumetric primitives for efficient neural rendering. ACM Transactions on Graphics (TOG), 2021. 10
240
+ [41] Matthew Loper, Naureen Mahmood, Javier Romero, Gerard Pons-Moll, and Michael J. Black. SMPL: A skinned multi-person linear model. ACM Transasctions Graphics, 34(6), 2015. 2, 3
241
+ [42] Qianli Ma, Shunsuke Saito, Jinlong Yang, Siyu Tang, and Michael J. Black. SCALE: Modeling clothed humans with a surface codec of articulated local elements. In Proc. of CVPR, 2021. 2
242
+ [43] Qianli Ma, Jinlong Yang, Anurag Ranjan, Sergi Pujades, Gerard Pons-Moll, Siyu Tang, and Michael J. Black. Learning to dress 3D people in generative clothing. In Proc. of CVPR, 2020. 2, 6, 7
243
+ [44] Qianli Ma, Jinlong Yang, Siyu Tang, and Michael J. Black. The power of points for modeling humans in clothing. In Proc. of ICCV, 2021. 2
244
+ [45] Lars Mescheder, Michael Oechsle, Michael Niemeyer, Sebastian Nowozin, and Andreas Geiger. Occupancy networks: Learning 3d reconstruction in function space. In Proc. of CVPR, 2019. 1, 3, 7
245
+ [46] Mateusz Michalkiewicz, Jhony K. Pontes, Dominic Jack, Mahsa Baktashmotlagh, and Anders Eriksson. Implicit surface representations as layers in neural networks. In Proc. of ICCV, 2019. 1, 3
246
+ [47] Marko Mihajlovic, Silvan Weder, Marc Pollefeys, and Martin R Oswald. DeepSurfels: Learning online appearance fusion. In Proc. of CVPR, 2021. 10
247
+ [48] Marko Mihajlovic, Yan Zhang, Michael J. Black, and Siyu Tang. LEAP: Learning articulated occupancy of people. In Proc. of CVPR, 2021. 2, 3, 4, 6, 7, 9
248
+ [49] Alex Nichol, Joshua Achiam, and John Schulman. On first-order meta-learning algorithms, 2018. 2, 3, 5, 6
249
+ [50] Ahmed A. A. Osman, Timo Bolkart, and Michael J. Black. Star: Sparse trained articulated human body regressor. In Proc. of ECCV, 2020. 2, 3 3d deformable shapes. In Proc. of ICCV, 2021. 2
250
+ [52] Jeong Joon Park, Peter Florence, Julian Straub, Richard Newcombe, and Steven Lovegrove. Deepsdf: Learning continuous signed distance functions for shape representation. In Proc. of CVPR, 2019. 1, 3
251
+ [53] Chaitanya Patel, Zhouyingcheng Liao, and Gerard Pons-Moll. Tailornet: Predicting clothing in 3d as a function of human pose, shape and garment style. In Proc. of CVPR, 2020. 2
252
+ [54] Georgios Pavlakos, Vasileios Choutas, Nima Ghorbani, Timo Bolkart, Ahmed A. A. Osman, Dimitrios Tzionas, and Michael J. Black. Expressive body capture: 3d hands, face, and body from a single image. In Proc. of CVPR, 2019. 2, 3
253
+ [55] Songyou Peng, Chiyu "Max" Jiang, Yiyi Liao, Michael Niemeyer, Marc Pollefeys, and Andreas Geiger. Shape as points: A differentiable poisson solver. In Proc. of NeurIPS, 2021. 3
254
+ [56] Songyou Peng, Michael Niemeyer, Lars Mescheder, Marc Pollefeys, and Andreas Geiger. Convolutional occupancy networks. In Proc. of ECCV, 2020. 4
255
+ [57] Sida Peng, Yuanqing Zhang, Yinghao Xu, Qianqian Wang, Qing Shuai, Hujun Bao, and Xiaowei Zhou. Neural body: Implicit neural representations with structured latent codes for novel view synthesis of dynamic humans. In Proc. of CVPR, 2021. 3
256
+ [58] Juan-Manuel Perez-Rua, Xiatian Zhu, Timothy M. Hospedales, and Tao Xiang. Incremental few-shot object detection. In Proc. of CVPR, 2020. 3
257
+ [59] Amit Raj, Julian Tanke, James Hays, Minh Vo, Carsten Stoll, and Christoph Lassner. Anr-articulated neural rendering for virtual avatars. In Proc. of CVPR, 2021. 3
258
+ [60] Kate Rakelly, Evan Shelhamer, Trevor Darrell, Alexei A. Efros, and Sergey Levine. Few-shot segmentation propagation with guided networks. In Proc. of ICML, 2019. 3
259
+ [61] Sachin Ravi and Hugo Larochelle. Optimization as a model for fewshot learning. In Proc. of ICLR, 2017. 3
260
+ [62] Scott Reed, Yutian Chen, Thomas Paine, Aäron van den Oord, S. M. Ali Eslami, Danilo Rezende, Oriol Vinyals, and Nando de Freitas. Few-shot autoregressive density estimation: Towards learning to learn distributions. In Proc. of ICLR, 2018. 3
261
+ [63] Shunsuke Saito, , Zeng Huang, Ryota Natsume, Shigeo Morishima, Angjoo Kanazawa, and Hao Li. Pifu: Pixel-aligned implicit function for high-resolution clothed human digitization. In Proc. of ICCV, 2019. 1, 3
262
+ [64] Shunsuke Saito, Tomas Simon, Jason Saragih, and Hanbyul Joo. Pifuhd: Multi-level pixel-aligned implicit function for high-resolution 3d human digitization. In Proc. of CVPR, 2020. 1, 3
263
+ [65] Shunsuke Saito, Jinlong Yang, Qianli Ma, and Michael J. Black. SCANimate: Weakly supervised learning of skinned clothed avatar networks. In Proc. of CVPR, 2021. 2, 3, 4, 6, 7
264
+ [66] Amirreza Shaban, Shray Bansal, Zhen Liu, Irfan Essa, and Byron Boots. One-shot learning for semantic segmentation. In Proc. of BMVC, 2017. 3
265
+ [67] Vincent Sitzmann, Eric R. Chan, Richard Tucker, Noah Snavely, and Gordon Wetzstein. Metasdf: Metalearning signed distance functions. In Proc. of NeurIPS, 2020. 2, 3, 5
266
+ [68] Vincent Sitzmann, Julien N.P. Martel, Alexander W. Bergman, David B. Lindell, and Gordon Wetzstein. Implicit neural representations with periodic activation functions. In Proc. of NeurIPS, 2020. 5, 8
267
+ [69] Vincent Sitzmann, Michael Zollhöfer, and Gordon Wetzstein. Scene representation networks: Continuous 3d-structure-aware neural scene representations. In Proc. of NeurIPS, 2019. 4
268
+ [70] Jake Snell, Kevin Swersky, and Richard S. Zemel. Prototypical networks for few-shot learning. In Proc. of NeurIPS, 2017. 3
269
+ [71] Zhuo Su, Lan Xu, Zerong Zheng, Tao Yu, Yebin Liu, and Lu Fang. Robustfusion: Human volumetric capture with data-driven visual cues using a rgbd camera. In Proc. of ECCV, 2020.
270
+ [72] Matthew Tancik, Ben Mildenhall, Terrance Wang, Divi Schmidt, Pratul P. Srinivasan, Jonathan T. Barron, and Ren Ng. Learned initializations for optimizing coordinate-based neural representations. In Proc. of CVPR, 2021. 2, 3
271
+ [73] Garvita Tiwari, Nikolaos Sarafianos, Tony Tung, and Gerard Pons-Moll. Neural-GIF: Neural generalized implicit functions for animating people in clothing. In Proc. of ICCV, 2021. 2
272
+ [74] Kaixin Wang, Jun Hao Liew, Yingtian Zou, Daquan Zhou, and Jiashi Feng. Panet: Few-shot image semantic segmentation with prototype alignment. In Proc. of ICCV, 2019. 3
273
+ [75] Shaofei Wang, Andreas Geiger, and Siyu Tang. Locally aware piecewise transformation fields for 3d human mesh registration. In Conference on Computer Vision and Pattern Recognition (CVPR), 2021. 1, 10
274
+ [76] Ting-Chun Wang, Ming-Yu Liu, Andrew Tao, Guilin Liu, Jan Kautz, and Bryan Catanzaro. Few-shot video-to-video synthesis. In Proc. of NeurIPS, 2019. 3
275
+ [77] Hongyi Xu, Eduard Gabriel Bazavan, Andrei Zanfir, William T. Freeman, Rahul Sukthankar, and Cristian Sminchisescu. Ghum & ghuml: Generative 3d human shape and articulated pose models. In Proc. of CVPR, 2020. 2, 3
276
+ [78] Lan Xu, Zhuo Su, Lei Han, Tao Yu, Yebin Liu, and Lu Fang. Unstructuredfusion: Real-time 4d geometry and texture reconstruction using commercial rgbd cameras. IEEE Transactions on Pattern Analysis and Machine Intelligence, 42, 2020. 1
277
+ [79] Jinlong Yang, Jean-Sébastien Franco, Franck Hétroy-Wheeler, and Stefanie Wuhrer. Analyzing clothing layer deformation statistics of 3d human motions. In Proc. of ECCV, 2018. 2
278
+ [80] Tao Yu, Zerong Zheng, Kaiwen Guo, Jianhui Zhao, Qionghai Dai, Hao Li, Gerard Pons-Moll, and Yebin Liu. Doublefusion: Real-time capture of human performances with inner body shapes from a single depth sensor. In Proc. of CVPR, 2018. 1
279
+ [81] Ilya Zakharkin, Kirill Mazur, Artur Grigorev, and Victor Lempitsky. Point-based modeling of human clothing. In Proc. of ICCV, 2021. 2
280
+ [82] Egor Zakharov, Aliaksandra Shysheya, Egor Burkov, and Victor Lempitsky. Few-shot adversarial learning of realistic neural talking head models. In Proc. of ICCV, 2019. 3
281
+ [83] Chao Zhang, Sergi Pujades, Michael J. Black, and Gerard Pons-Moll. Detailed, accurate, human shape estimation from clothed 3d scan sequences. In Proc. of CVPR, 2017. 2
282
+ [84] Siwei Zhang, Yan Zhang, Federica Bogo, Pollefeys Marc, and Siyu Tang. Learning motion priors for 4d human body capture in 3d scenes. In Proc. of ICCV, 2021. 10
283
+ [85] Yan Zhang, Michael J. Black, and Siyu Tang. We are more than our joints: Predicting how 3D bodies move. In Proc. of CVPR, 2021. 10
284
+ [86] Dominic Zhao, Johannes von Oswald, Seijin Kobayashi, João Sacramento, and Benjamin F. Grewe. Metalearning via hypernetworks. In 4th Workshop on Meta-Learning at NeurIPS 2020, Vancouver, Canada, 2020. 3
285
+ [87] Z. Zheng, T. Yu, Y. Liu, and Q. Dai. Pamir: Parametric model-conditioned implicit representation for image-based human reconstruction. IEEE Transactions on Pattern Analysis and Machine Intelligence, pages 1–1, 2021. 3
parse/train/Q-PA3D1OsDz/Q-PA3D1OsDz_content_list.json ADDED
@@ -0,0 +1,1110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "MetaAvatar: Learning Animatable Clothed Human Models from Few Depth Images ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 207,
8
+ 122,
9
+ 794,
10
+ 172
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Shaofei Wang1 shaofei.wang@inf.ethz.ch ",
17
+ "bbox": [
18
+ 215,
19
+ 224,
20
+ 454,
21
+ 255
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Marko Mihajlovic1 marko.mihajlovic@inf.ethz.ch ",
28
+ "bbox": [
29
+ 503,
30
+ 224,
31
+ 781,
32
+ 255
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "Qianli Ma1,2 qianli.ma@tue.mpg.de ",
39
+ "bbox": [
40
+ 236,
41
+ 275,
42
+ 436,
43
+ 304
44
+ ],
45
+ "page_idx": 0
46
+ },
47
+ {
48
+ "type": "text",
49
+ "text": "Andreas Geiger2,3 a.geiger@uni-tuebingen.de ",
50
+ "bbox": [
51
+ 514,
52
+ 275,
53
+ 761,
54
+ 304
55
+ ],
56
+ "page_idx": 0
57
+ },
58
+ {
59
+ "type": "text",
60
+ "text": "Siyu Tang1 ",
61
+ "text_level": 1,
62
+ "bbox": [
63
+ 470,
64
+ 324,
65
+ 547,
66
+ 338
67
+ ],
68
+ "page_idx": 0
69
+ },
70
+ {
71
+ "type": "text",
72
+ "text": "siyu.tang@inf.ethz.ch ",
73
+ "bbox": [
74
+ 408,
75
+ 340,
76
+ 616,
77
+ 353
78
+ ],
79
+ "page_idx": 0
80
+ },
81
+ {
82
+ "type": "text",
83
+ "text": "1ETH Zürich 2Max Planck Institute for Intelligent Systems, Tübingen 3University of Tübingen ",
84
+ "bbox": [
85
+ 186,
86
+ 366,
87
+ 838,
88
+ 382
89
+ ],
90
+ "page_idx": 0
91
+ },
92
+ {
93
+ "type": "text",
94
+ "text": "Abstract ",
95
+ "text_level": 1,
96
+ "bbox": [
97
+ 462,
98
+ 416,
99
+ 535,
100
+ 433
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "In this paper, we aim to create generalizable and controllable neural signed distance fields (SDFs) that represent clothed humans from monocular depth observations. Recent advances in deep learning, especially neural implicit representations, have enabled human shape reconstruction and controllable avatar generation from different sensor inputs. However, to generate realistic cloth deformations from novel input poses, watertight meshes or dense full-body scans are usually needed as inputs. Furthermore, due to the difficulty of effectively modeling pose-dependent cloth deformations for diverse body shapes and cloth types, existing approaches resort to per-subject/cloth-type optimization from scratch, which is computationally expensive. In contrast, we propose an approach that can quickly generate realistic clothed human avatars, represented as controllable neural SDFs, given only monocular depth images. We achieve this by using meta-learning to learn an initialization of a hypernetwork that predicts the parameters of neural SDFs. The hypernetwork is conditioned on human poses and represents a clothed neural avatar that deforms non-rigidly according to the input poses. Meanwhile, it is metalearned to effectively incorporate priors of diverse body shapes and cloth types and thus can be much faster to fine-tune, compared to models trained from scratch. We qualitatively and quantitatively show that our approach outperforms state-of-the-art approaches that require complete meshes as inputs while our approach requires only depth frames as inputs and runs orders of magnitudes faster. Furthermore, we demonstrate that our meta-learned hypernetwork is very robust, being the first to generate avatars with realistic dynamic cloth deformations given as few as 8 monocular depth frames. ",
107
+ "bbox": [
108
+ 233,
109
+ 450,
110
+ 766,
111
+ 767
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "1 Introduction ",
118
+ "text_level": 1,
119
+ "bbox": [
120
+ 174,
121
+ 796,
122
+ 310,
123
+ 814
124
+ ],
125
+ "page_idx": 0
126
+ },
127
+ {
128
+ "type": "text",
129
+ "text": "Representing clothed humans as neural implicit functions is a rising research topic in the computer vision community. Earlier works in this direction address geometric reconstruction of clothed humans from static monocular images [35, 36, 63, 64], RGBD videos [37, 38, 71, 78, 80] or sparse point clouds [12] as direct extensions of neural implicit functions for rigid objects [11, 45, 46, 52]. More recent works advocate to learn shapes in a canonical pose [7, 27, 75] in order to not only handle reconstruction, but also build controllable neural avatars from sensor inputs. However, these works do not model pose-dependent cloth deformation, limiting their realism. ",
130
+ "bbox": [
131
+ 174,
132
+ 829,
133
+ 825,
134
+ 898
135
+ ],
136
+ "page_idx": 0
137
+ },
138
+ {
139
+ "type": "image",
140
+ "img_path": "images/cd969b2fa547db4de07e2ca7b836bfb967ef08f426e63bcefc978f760839e9c7.jpg",
141
+ "image_caption": [
142
+ "Figure 1: Given as few as 8 monocular depth images and their SMPL fittings, our meta-learned model yields a controllable neural SDF in 2 minutes which synthesizes realistic cloth deformations for unseen body poses. Here we show results of two different subjects wearing different clothes. "
143
+ ],
144
+ "image_footnote": [],
145
+ "bbox": [
146
+ 176,
147
+ 88,
148
+ 820,
149
+ 175
150
+ ],
151
+ "page_idx": 1
152
+ },
153
+ {
154
+ "type": "text",
155
+ "text": "",
156
+ "bbox": [
157
+ 173,
158
+ 251,
159
+ 823,
160
+ 279
161
+ ],
162
+ "page_idx": 1
163
+ },
164
+ {
165
+ "type": "text",
166
+ "text": "On the other hand, traditional parametric human body models [41, 50, 54, 77] can represent pose-dependent soft tissue deformations of minimally-clothed human bodies. Several recent methods [13, 48] proposed to learn neural implicit functions to approximate such parametric models from watertight meshes. However, they cannot be straightforwardly extended to model clothed humans. SCANimate [65] proposed to learn canonicalized dynamic neural Signed Distance Fields (SDFs) controlled by human pose inputs and trained with Implicit Geometric Regularization (IGR [21]), thus circumventing the requirement of watertight meshes. However, SCANimate works only on dense full-body scans with accurate surface normals and further requires expensive per-subject/cloth-type training. These factors limit the applicability of SCANimate for building personalized human avatars from commodity RGBD sensors. ",
167
+ "bbox": [
168
+ 174,
169
+ 285,
170
+ 825,
171
+ 424
172
+ ],
173
+ "page_idx": 1
174
+ },
175
+ {
176
+ "type": "text",
177
+ "text": "Contrary to all the aforementioned works, we propose to use meta-learning to effectively incorporate priors of dynamic neural SDFs of clothed humans, thus enabling fast fine-tuning (few minutes) for generating new avatars given only a few monocular depth images of unseen clothed humans as inputs. More specifically, we build upon recently proposed ideas of meta-learned initialization for implicit representations [67, 72] to enable fast fine-tuning. Similar to [67], we represent a specific category of objects (in our case, clothed human bodies in the canonical pose) with a neural implicit function and use meta-learning algorithms such as [16, 49] to learn a meta-model. However, unlike [67, 72], where the implicit functions are designed for static reconstruction, we target the generation of dynamic neural SDFs that are controllable by user-specified body poses. We observe that directly conditioning neural implicit functions (represented as a multi-layer perceptron) on body poses lacks the expressiveness to capture high-frequency details of diverse cloth types, and hence propose to meta-learn a hypernetwork [25] that predicts the parameters of the neural implicit function. Overall, the proposed approach, which we name MetaAvatar, yields controllable neural SDFs with dynamic surfaces in minutes via fast fine-tuning, given only a few depth observations of an unseen clothed human and the underlying SMPL [41] fittings (Fig. 1) as inputs. Code and data are public at https://neuralbodies.github.io/metavatar/. ",
178
+ "bbox": [
179
+ 174,
180
+ 431,
181
+ 825,
182
+ 651
183
+ ],
184
+ "page_idx": 1
185
+ },
186
+ {
187
+ "type": "text",
188
+ "text": "2 Related Work ",
189
+ "text_level": 1,
190
+ "bbox": [
191
+ 174,
192
+ 671,
193
+ 321,
194
+ 689
195
+ ],
196
+ "page_idx": 1
197
+ },
198
+ {
199
+ "type": "text",
200
+ "text": "Our approach lies at the intersection of clothed human body modeling, neural implicit representations, and meta-learning. We review related works in the following. ",
201
+ "bbox": [
202
+ 174,
203
+ 703,
204
+ 825,
205
+ 732
206
+ ],
207
+ "page_idx": 1
208
+ },
209
+ {
210
+ "type": "text",
211
+ "text": "Clothed Human Body Modeling: Earlier works for clothed human body modeling utilize parametric human body models [5, 26, 28, 41, 50, 54, 77] combined with deformation layers [2, 3, 7, 8] to model cloth deformations. However, these approaches cannot model fine clothing details due to their fixed topology, and they cannot handle pose-dependent cloth deformations. Mesh-based approaches that handle articulated deformations of clothes either require accurate surface registration [33, 43, 79, 83] or synthetic data [22, 24, 53] for training. Such requirement for data can be freed by using neural implicit surfaces [10, 51, 65, 73]. For example, SCANimate [65] proposed a weakly supervised approach to learn dynamic clothed human body models from 3D full-body scans which only requires minimally-clothed body registration. However, its training process usually takes one day for each subject/cloth-type combination and requires accurate surface normal information extracted from dense scans. Recent explicit clothed human models [9, 42, 44, 81] can also be learned from unregistered data. Like our method, concurrent work [44] also models pose-dependent shapes across different subjects/cloth-types, but it requires full-body scans for training. In contrast, our approach enables learning of clothed body models in minutes from as few as 8 depth images. ",
212
+ "bbox": [
213
+ 174,
214
+ 746,
215
+ 825,
216
+ 911
217
+ ],
218
+ "page_idx": 1
219
+ },
220
+ {
221
+ "type": "text",
222
+ "text": "",
223
+ "bbox": [
224
+ 173,
225
+ 92,
226
+ 823,
227
+ 119
228
+ ],
229
+ "page_idx": 2
230
+ },
231
+ {
232
+ "type": "text",
233
+ "text": "Neural Implicit Representations: Neural implicit representations [11, 45, 46, 52, 55] have been used to tackle both image-based [27, 35, 36, 57, 59, 63, 64, 87] and point cloud-based [7, 12] clothed human reconstruction. Among these works, ARCH [27] was the first one to represent clothed human bodies as a neural implicit function in a canonical pose. However, ARCH does not handle posedependent cloth deformations. Most recently, SCANimate [65] proposed to condition neural implicit functions on joint-rotation vectors (in the form of unit quaternions), such that the canonicalized shapes of the neural avatars change according to the joint angles of the human body, thus representing pose-dependent cloth deformations. However, diverse and complex cloth deformations make it hard to learn a unified prior from different body shapes and cloth types, thus SCANimate resorts to per-subject/cloth-type training which is computationally expensive. ",
234
+ "bbox": [
235
+ 174,
236
+ 132,
237
+ 825,
238
+ 272
239
+ ],
240
+ "page_idx": 2
241
+ },
242
+ {
243
+ "type": "text",
244
+ "text": "Meta-Learning: Meta-learning is typically used to address few-shot learning, where a few training examples of a new task are given, and the model is required to learn from these examples to achieve good performance on the new task [1, 14, 15, 17–19, 23, 29, 32, 58, 60, 62, 66, 70, 74, 76, 82, 86]. We focus on optimization-based meta-learning, where Model-Agnostic Meta Learning (MAML [16]), Reptile [49] and related alternatives are typically used to learn such models [4, 6, 20, 34, 39, 61]. In general, this line of algorithms tries to learn a \"meta-model\" that can be updated quickly from new observations with only few gradient steps. Recently, meta-learning has been used to learn a universal initialization of implicit representations for static neural SDFs [67] and radiance fields [72]. MetaSDF [67] demonstrates that only a few gradient update steps are needed to achieve comparable or better results than slower auto-decoder-based approaches [52]. However, [67, 72] only meta-learn static representations, whereas we are interested in dynamic representations conditioned on human body poses. To our best knowledge, we are the first to meta-learn the hypernetwork to generate the parameters of neural SDF networks. ",
245
+ "bbox": [
246
+ 174,
247
+ 284,
248
+ 826,
249
+ 465
250
+ ],
251
+ "page_idx": 2
252
+ },
253
+ {
254
+ "type": "text",
255
+ "text": "3 Fundamentals ",
256
+ "text_level": 1,
257
+ "bbox": [
258
+ 174,
259
+ 488,
260
+ 325,
261
+ 506
262
+ ],
263
+ "page_idx": 2
264
+ },
265
+ {
266
+ "type": "text",
267
+ "text": "We start by briefly reviewing the linear blend skinning (LBS) method [41] and the recent implicit skinning networks [48, 65] that learn to predict skinning weights of cloth surfaces in a weakly supervised manner. Using the learned implicit skinning networks allows us to canonicalize meshes or depth observations of clothed humans, given only minimally-clothed human body model registrations to the meshes. Canonicalization of meshes or points is a necessary step as the dynamic neural SDFs introduced in Section 4 are modeled in canonical space. ",
268
+ "bbox": [
269
+ 174,
270
+ 522,
271
+ 825,
272
+ 606
273
+ ],
274
+ "page_idx": 2
275
+ },
276
+ {
277
+ "type": "text",
278
+ "text": "3.1 Linear Blend Skinning ",
279
+ "text_level": 1,
280
+ "bbox": [
281
+ 176,
282
+ 627,
283
+ 372,
284
+ 642
285
+ ],
286
+ "page_idx": 2
287
+ },
288
+ {
289
+ "type": "text",
290
+ "text": "Linear blend skinning (LBS) is a commonly used technique to deform parametric human body models [5, 26, 41, 50, 54, 77] according to user-specified rigid bone transformations. Given a set of $N$ points in a canonical space, $\\hat { \\mathbf { X } } = \\{ \\hat { \\mathbf { x } } ^ { ( i ) } \\} _ { i = 1 } ^ { N }$ , LBS takes a set of rigid bone transformations (in our case we use 23 local transformations plus one global transformation, assuming an underlying SMPL model) $\\{ \\mathbf { B } _ { b } \\} _ { b = 1 } ^ { 2 4 }$ as inputs, each $\\mathbf { B } _ { b }$ being a $4 \\times 4$ rotation-translation matrix. For a 3D point xˆ(i) ∈ Xˆ 1, a skinning weight vector is a probability simplex w(i) ∈ [0, 1]24, s.t. P24b=1 $\\begin{array} { r } { \\sum _ { b = 1 } ^ { 2 4 } \\mathbf { w } _ { b } ^ { ( i ) } = 1 } \\end{array}$ , that defines the affinity of the point $\\hat { \\mathbf { x } } ^ { ( i ) }$ to each of the bone transformations $\\{ \\mathbf { B } _ { b } \\} _ { b = 1 } ^ { 2 4 }$ . The set of transformed points $\\mathbf { X } = \\{ \\mathbf { x } ^ { ( i ) } \\} _ { i = 1 } ^ { N }$ of the clothed human is related to $\\hat { \\mathbf X }$ via: ",
291
+ "bbox": [
292
+ 173,
293
+ 654,
294
+ 826,
295
+ 779
296
+ ],
297
+ "page_idx": 2
298
+ },
299
+ {
300
+ "type": "equation",
301
+ "img_path": "images/efb2e2897c41c3f9b5050a44e2deff85e41ee3f4bffae0d82043ed12e60d1bc7.jpg",
302
+ "text": "$$\n\\begin{array} { l } { { \\displaystyle { \\bf x } ^ { ( i ) } = L B S \\left( \\hat { { \\bf x } } ^ { ( i ) } , \\{ { \\bf B } _ { b } \\} , { \\bf w } ^ { ( i ) } \\right) = \\left( \\sum _ { b = 1 } ^ { 2 4 } { \\bf w } _ { b } ^ { ( i ) } { \\bf B } _ { b } \\right) \\hat { \\bf x } ^ { ( i ) } } , ~ \\forall i = 1 , \\ldots , N } \\\\ { { \\displaystyle \\hat { \\bf x } ^ { ( i ) } = L B S ^ { - 1 } \\left( { \\bf x } ^ { ( i ) } , \\{ { \\bf B } _ { b } \\} , { \\bf w } ^ { ( i ) } \\right) = \\left( \\sum _ { b = 1 } ^ { 2 4 } { \\bf w } _ { b } ^ { ( i ) } { \\bf B } _ { b } \\right) ^ { - 1 } { \\bf x } ^ { ( i ) } } , ~ \\forall i = 1 , \\ldots , N } \\end{array}\n$$",
303
+ "text_format": "latex",
304
+ "bbox": [
305
+ 236,
306
+ 790,
307
+ 759,
308
+ 881
309
+ ],
310
+ "page_idx": 2
311
+ },
312
+ {
313
+ "type": "text",
314
+ "text": "where Eq. (1) is referred to as the LBS function and Eq. (2) is referred to as the inverse-LBS function. The process of applying Eq. (1) to all points in $\\hat { \\bf X }$ is often referred to as forward skinning while the process of applying Eq. (2) is referred to as inverse skinning. ",
315
+ "bbox": [
316
+ 174,
317
+ 90,
318
+ 825,
319
+ 136
320
+ ],
321
+ "page_idx": 3
322
+ },
323
+ {
324
+ "type": "text",
325
+ "text": "3.2 Implicit Skinning Networks ",
326
+ "text_level": 1,
327
+ "bbox": [
328
+ 174,
329
+ 156,
330
+ 405,
331
+ 172
332
+ ],
333
+ "page_idx": 3
334
+ },
335
+ {
336
+ "type": "text",
337
+ "text": "Recent articulated implicit representations [48, 65] have proposed to learn functions that predict the forward/inverse skinning weights for arbitrary points in $\\bar { \\mathbb { R } ^ { 3 } }$ . We follow this approach, but take advantage of a convolutional point-cloud encoder [56] for improved generalization. Formally, we define the implicit forward and inverse skinning networks as $h _ { \\mathrm { f w d } } ( \\cdot , \\cdot ) : ( \\mathbb { R } ^ { 3 \\times K } , \\mathbb { R } ^ { 3 } ) \\mapsto \\mathbb { R } ^ { 2 \\bar { 4 } }$ and $h _ { \\mathrm { i n v } } ( \\cdot , \\cdot ) : ( \\mathbb { R } ^ { 5 \\times K } , \\mathbb { R } ^ { 3 } ) \\mapsto \\mathbb { R } ^ { 2 4 }$ , respectively. Both networks take as input a point cloud with $K$ points and a query point for which they predict skinning weights. Therefore, we can analogously re-define Eq. $\\displaystyle ( \\begin{array} { l l } \\end{array} , \\begin{array} { \\ l } \\end{array} )$ respectively as: ",
338
+ "bbox": [
339
+ 173,
340
+ 184,
341
+ 825,
342
+ 282
343
+ ],
344
+ "page_idx": 3
345
+ },
346
+ {
347
+ "type": "equation",
348
+ "img_path": "images/f7f741dfe65ce74bd391b5afb49ed5b3245aa384f07350ec90a977a5c0fc8f22.jpg",
349
+ "text": "$$\n\\begin{array} { l } { { \\displaystyle { \\bf x } ^ { ( i ) } = \\left( \\sum _ { b = 1 } ^ { 2 4 } h _ { \\mathrm { f w d } } ( \\hat { { \\bf X } } , \\hat { { \\bf x } } ^ { ( i ) } ) _ { b } { \\bf B } _ { b } \\right) \\hat { { \\bf x } } ^ { ( i ) } } , ~ \\forall i = 1 , \\ldots , N } \\\\ { { \\displaystyle { \\hat { \\bf x } ^ { ( i ) } = \\left( \\sum _ { b = 1 } ^ { 2 4 } h _ { \\mathrm { i n v } } ( { \\bf X } , { \\bf x } ^ { ( i ) } ) _ { b } { \\bf B } _ { b } \\right) ^ { - 1 } { \\bf x } ^ { ( i ) } } , ~ \\forall i = 1 , \\ldots , N } } \\end{array}\n$$",
350
+ "text_format": "latex",
351
+ "bbox": [
352
+ 308,
353
+ 294,
354
+ 687,
355
+ 385
356
+ ],
357
+ "page_idx": 3
358
+ },
359
+ {
360
+ "type": "text",
361
+ "text": "Training the Skinning Network: We follow the setting of SCANimate [65], where a dataset of ",
362
+ "bbox": [
363
+ 173,
364
+ 393,
365
+ 823,
366
+ 409
367
+ ],
368
+ "page_idx": 3
369
+ },
370
+ {
371
+ "type": "text",
372
+ "text": "observed point clouds $\\{ { \\bf X } \\}$ and their underlying SMPL registration are known. For a sample $\\mathbf { X }$ in the dataset, we first define the re-projected points $\\bar { \\mathbf { X } } = \\{ \\bar { \\mathbf { x } } \\} _ { i = 1 } ^ { N }$ as $\\mathbf { X }$ mapped to canonical space via Eq. (4) and then mapped back to transformed space via Eq. (3). We then define the training loss: ",
373
+ "bbox": [
374
+ 174,
375
+ 414,
376
+ 823,
377
+ 458
378
+ ],
379
+ "page_idx": 3
380
+ },
381
+ {
382
+ "type": "equation",
383
+ "img_path": "images/2a9893a5d8fb4b44a64650dcd2a309f04980d854bdc87c351fdd40ed43ba2123.jpg",
384
+ "text": "$$\n\\mathcal { L } ( \\mathbf { X } ) = \\lambda _ { r } \\mathcal { L } _ { r } + \\lambda _ { s } \\mathcal { L } _ { s } + \\lambda _ { s k i n } \\mathcal { L } _ { s k i n } ,\n$$",
385
+ "text_format": "latex",
386
+ "bbox": [
387
+ 370,
388
+ 469,
389
+ 625,
390
+ 486
391
+ ],
392
+ "page_idx": 3
393
+ },
394
+ {
395
+ "type": "text",
396
+ "text": "where $\\mathcal { L } _ { r }$ represents a re-projection loss that penalizes the L2 distance between an input point $\\mathbf { x }$ and the re-projected point $\\bar { \\bf x }$ , $\\mathcal { L } _ { s }$ represents L1 distances between the predicted forward skinning weights and inverse skinning weights, and $\\mathcal { L } _ { s k i n }$ represents the L1 distances between the predicted (forward and inverse) skinning weights and the barycentrically interpolated skinning weights $\\mathbf { w } ^ { ( i ) }$ on the registered SMPL shape that is closest to point $\\mathbf { x } ^ { ( i ) }$ ; please refer to the Supp. Mat. for hyperparameters and details. ",
397
+ "bbox": [
398
+ 173,
399
+ 497,
400
+ 825,
401
+ 584
402
+ ],
403
+ "page_idx": 3
404
+ },
405
+ {
406
+ "type": "text",
407
+ "text": "We train two skinning network types, the first one takes a partial point cloud extracted from a depth image as input and performs the inverse skinning, while the second one takes a full point cloud sampled from iso-surface points generated from the dynamic neural SDF in the canonical space and performs forward skinning. ",
408
+ "bbox": [
409
+ 173,
410
+ 589,
411
+ 825,
412
+ 646
413
+ ],
414
+ "page_idx": 3
415
+ },
416
+ {
417
+ "type": "text",
418
+ "text": "Canonicalization: We use the learned inverse skinning network to canonicalize complete or partial point clouds $\\{ \\hat { \\bf X } \\}$ via Eq. (4) which are further used to learn the canonicalized dynamic neural SDFs. ",
419
+ "bbox": [
420
+ 174,
421
+ 659,
422
+ 823,
423
+ 690
424
+ ],
425
+ "page_idx": 3
426
+ },
427
+ {
428
+ "type": "text",
429
+ "text": "4 MetaAvatar ",
430
+ "text_level": 1,
431
+ "bbox": [
432
+ 174,
433
+ 713,
434
+ 305,
435
+ 731
436
+ ],
437
+ "page_idx": 3
438
+ },
439
+ {
440
+ "type": "text",
441
+ "text": "Our approach meta-learns a unified clothing deformation prior from the training set that consists of different subjects wearing different clothes. This meta-learned model is further efficiently fine-tuned to produce a dynamic neural SDF from an arbitrary amount of fine-tuning data of unseen subjects. In extreme cases, MetaAvatar requires as few as 8 depth frames and takes only 2 minutes for fine-tuning to yield a subject/cloth-type-specific dynamic neural SDF (Fig. 1). ",
442
+ "bbox": [
443
+ 174,
444
+ 748,
445
+ 825,
446
+ 819
447
+ ],
448
+ "page_idx": 3
449
+ },
450
+ {
451
+ "type": "text",
452
+ "text": "We assume that each subject/cloth-type combination in the training set has a set of registered bone transformations and canonicalized points, denoted as $\\{ \\{ \\mathbf { B } _ { b } \\} _ { b = 1 } ^ { 2 4 } , \\hat { \\mathbf { X } } \\}$ . Points in $\\hat { \\bf X }$ are normalized to the range $[ - 1 , 1 ] ^ { 3 }$ according to their corresponding registered SMPL shape. With slight abuse of notation, we also define $\\mathbf { X }$ as all possible points in $[ - \\bar { 1 } , 1 ] ^ { 3 }$ . Our goal is to meta-learn a hypernetwork [25, 69] which takes $\\{ \\mathbf { B } _ { b } \\} _ { b = 1 } ^ { 2 4 }$ ( $\\{ { \\bf B } _ { b } \\}$ for shorthand) as inputs and predicts parameters of the neural SDFs in the canonical space. Denoting the hypernetwork as $g _ { \\psi } ( \\left\\{ \\bar { \\mathbf { B } } _ { b } \\right\\} )$ and the predicted neural SDF as $f _ { \\phi } ( \\mathbf { x } ) \\vert _ { \\phi = g _ { \\psi } ( \\{ \\mathbf { B } _ { b } \\} ) }$ , we use the following IGR [21] loss to supervise the learning of $g$ : ",
453
+ "bbox": [
454
+ 174,
455
+ 824,
456
+ 825,
457
+ 912
458
+ ],
459
+ "page_idx": 3
460
+ },
461
+ {
462
+ "type": "text",
463
+ "text": "",
464
+ "bbox": [
465
+ 171,
466
+ 90,
467
+ 826,
468
+ 108
469
+ ],
470
+ "page_idx": 4
471
+ },
472
+ {
473
+ "type": "equation",
474
+ "img_path": "images/38f57af7590cca1f4be01cc92cc21bcf0e51dd8c4fd0e61be16b7100183cdaed.jpg",
475
+ "text": "$$\n\\begin{array} { l } { { \\displaystyle \\dot { \\mathrm { ~ \\ l ~ } } _ { { \\mathrm { L G R } } } \\big ( f _ { \\phi } \\big ( \\hat { \\bf X } \\big ) \\big | _ { \\phi = g _ { \\psi } ( { \\{ { \\bf B } _ { b } \\} } ) } \\big ) = \\sum _ { { \\bf x } \\in \\hat { \\bf X } } \\lambda _ { s d f } \\Big | f _ { \\phi } \\big ( { \\bf x } \\big ) \\big | _ { \\phi = g _ { \\psi } ( { \\{ { \\bf B } _ { b } \\} } ) } \\Big | + \\lambda _ { \\bf n } \\left( 1 - \\langle { \\bf n } ( { \\bf x } ) , \\nabla _ { { \\bf x } } f _ { \\phi } ( { \\bf x } ) \\big | _ { \\phi = g _ { \\psi } ( { \\{ { \\bf B } _ { b } \\} } ) } \\rangle \\right) } } \\\\ { { \\displaystyle \\qquad + \\lambda _ { E } \\Big | \\big | \\nabla _ { { \\bf x } } f _ { \\phi } \\big ( { \\bf x } \\big ) \\big | _ { \\phi = g _ { \\psi } ( \\{ { { \\bf B } _ { b } \\} } ) } \\big | \\big | _ { 2 } - 1 \\Big | \\qquad \\quad \\mathrm { ( o n \\mathrm { - s u r f a c e ~ l o s s } ) } } } \\\\ { { \\displaystyle \\qquad + \\sum _ { { \\bf x } \\sim { \\bf X } \\backslash \\hat { \\bf X } } \\qquad \\quad - \\alpha \\cdot \\Big | f _ { \\phi } \\big ( { \\bf x } \\big ) \\big | _ { \\phi = g _ { \\psi } ( \\{ { { \\bf B } _ { b } \\} } ) } \\Big | \\Big ) } } \\\\ { { \\displaystyle \\qquad + \\lambda _ { E } \\Big | \\big | \\nabla _ { { \\bf x } } f _ { \\phi } \\big ( { \\bf x } \\big ) \\big | _ { \\phi = g _ { \\psi } ( \\{ { { \\bf B } _ { b } \\} } ) } \\big | \\big | _ { 2 } - 1 \\Big | \\qquad \\mathrm { ( o f f \\mathrm { - s u r f a c e ~ l o s s } ) } } } \\end{array}\n$$",
476
+ "text_format": "latex",
477
+ "bbox": [
478
+ 181,
479
+ 113,
480
+ 826,
481
+ 251
482
+ ],
483
+ "page_idx": 4
484
+ },
485
+ {
486
+ "type": "text",
487
+ "text": "where $\\mathbf { n _ { x } }$ is the surface normal of point $\\mathbf { x }$ . We assume that this information, along with the groundtruth correspondences from transformed space to canonical space is available when learning the meta-model on the training set, but do not require this for fine-tuning $g$ on unseen subjects. ",
488
+ "bbox": [
489
+ 173,
490
+ 268,
491
+ 825,
492
+ 310
493
+ ],
494
+ "page_idx": 4
495
+ },
496
+ {
497
+ "type": "text",
498
+ "text": "In practice, we found that directly learning the hypernetwork $g _ { \\psi }$ via Eq. (6) does not converge, and thus we decompose the meta-learning of $g _ { \\psi }$ into two steps. First, we learn a meta-SDF [67] (without conditioning on $\\{ \\mathbf { B } _ { b } \\}$ , Sec. 4.1), and then we meta-learn a hypernetwork that takes $\\{ { \\bf B } _ { b } \\}$ as input and predicts the residuals to the parameters of the previously learned meta-SDF (Sec. 4.2). ",
499
+ "bbox": [
500
+ 173,
501
+ 316,
502
+ 825,
503
+ 373
504
+ ],
505
+ "page_idx": 4
506
+ },
507
+ {
508
+ "type": "text",
509
+ "text": "4.1 Meta-learned Initialization of Static Neural SDFs ",
510
+ "text_level": 1,
511
+ "bbox": [
512
+ 173,
513
+ 388,
514
+ 555,
515
+ 404
516
+ ],
517
+ "page_idx": 4
518
+ },
519
+ {
520
+ "type": "text",
521
+ "text": "To effectively learn a statistical prior of clothed human bodies, we ignore the input bone transformations $\\{ { \\bf B } _ { b } \\}$ and meta-learn the static neural SDF $f _ { \\phi } ( \\mathbf { \\dot { x } } ) : [ - 1 , 1 ] ^ { 3 } \\mapsto \\mathbb { R }$ , parameterized by $\\phi$ , from all canonicalized points of subjects with different genders, body shapes, cloth types, and poses. Furthermore, for faster and more stable convergence, the neural SDF $f _ { \\phi }$ function additionally leverages the periodic activation functions [68]. ",
522
+ "bbox": [
523
+ 173,
524
+ 414,
525
+ 485,
526
+ 553
527
+ ],
528
+ "page_idx": 4
529
+ },
530
+ {
531
+ "type": "image",
532
+ "img_path": "images/d5ef2bd65a2017e3a496dc05e47de251369d4edd7223f0cb3c23cfcc5cd6c2c0.jpg",
533
+ "image_caption": [
534
+ "Figure 2: Overview of the meta-SDF network. We use a 5-layer SIREN [67] network with 256 neurons for each layer. "
535
+ ],
536
+ "image_footnote": [],
537
+ "bbox": [
538
+ 503,
539
+ 433,
540
+ 820,
541
+ 501
542
+ ],
543
+ "page_idx": 4
544
+ },
545
+ {
546
+ "type": "text",
547
+ "text": "The full meta-learning algorithm for the static neural SDFs is described in Alg. 1. ",
548
+ "bbox": [
549
+ 173,
550
+ 559,
551
+ 483,
552
+ 587
553
+ ],
554
+ "page_idx": 4
555
+ },
556
+ {
557
+ "type": "text",
558
+ "text": "Algorithm 1 Meta-learning SDF with Reptile [49] ",
559
+ "text_level": 1,
560
+ "bbox": [
561
+ 173,
562
+ 602,
563
+ 506,
564
+ 617
565
+ ],
566
+ "page_idx": 4
567
+ },
568
+ {
569
+ "type": "text",
570
+ "text": "Initialize: meta-network parameters $\\phi$ , meta learning rate $\\beta$ , inner learning rate $\\alpha$ , max training \niteration $N$ , inner-loop iteration $m$ , batch size $M$ \n1: for $i = 1 , \\ldots , N$ do \n2: Sample a batch of $M$ training samples $\\{ \\hat { \\mathbf { X } } ^ { ( j ) } \\} _ { j = 1 } ^ { M }$ \n3: for $\\begin{array} { r l } & { \\mathbf { \\Lambda } _ { [ = 1 , \\dots , M \\mathbf { \\delta } ] \\mathbf { \\delta } \\mathbf { 1 } } ^ { [ = 1 , \\dots , M \\mathbf { \\delta } ] \\mathbf { \\delta } \\mathbf { 0 } } } \\\\ & { \\mathbf { \\Phi } _ { \\mathbf { 0 } } ^ { ( j ) } = \\phi } \\\\ & { \\mathbf { \\Phi } \\mathbf { 0 } \\mathbf { r } \\ k = 1 , \\dots , m \\mathbf { \\delta } \\mathbf { d } \\mathbf { \\mathbf { 0 } } } \\\\ & { \\quad \\phi _ { k } ^ { ( j ) } = \\phi _ { k - 1 } ^ { ( j ) } - \\alpha \\nabla _ { \\phi } \\mathcal { L } _ { \\mathrm { I G R } } \\big ( f _ { \\phi } ( \\hat { \\mathbf { X } } ^ { ( j ) } ) \\big | _ { \\phi = \\phi _ { k - 1 } ^ { ( j ) } } \\big ) } \\end{array}$ \n4: φ(j) = \n5: f \n6: \n7: end for \n8: 9: $\\begin{array} { r l } & { \\mathrel { \\phantom { = } } \\phi \\phi + \\beta \\frac { 1 } { M } \\sum _ { j = 1 } ^ { M } ( \\phi _ { m } ^ { ( j ) } - \\phi ) } \\end{array}$ \n10: end for ",
571
+ "bbox": [
572
+ 178,
573
+ 621,
574
+ 825,
575
+ 800
576
+ ],
577
+ "page_idx": 4
578
+ },
579
+ {
580
+ "type": "text",
581
+ "text": "4.2 Meta-learned Initialization of HyperNetwork for Dynamic Neural SDFs ",
582
+ "text_level": 1,
583
+ "bbox": [
584
+ 174,
585
+ 829,
586
+ 710,
587
+ 845
588
+ ],
589
+ "page_idx": 4
590
+ },
591
+ {
592
+ "type": "text",
593
+ "text": "The meta-learned static neural SDF explained in the previous section can efficiently adapt to new observations, however it is not controllable by user-specified bone transformations $\\{ \\bar { \\mathbf { B } } _ { b } \\}$ . Therefore, to enable non-rigid pose-dependent cloth deformations, we further meta-learn a hypernetwork [25] to predict residuals to the learned parameters of the meta-SDF in Alg. 1. ",
594
+ "bbox": [
595
+ 174,
596
+ 854,
597
+ 826,
598
+ 911
599
+ ],
600
+ "page_idx": 4
601
+ },
602
+ {
603
+ "type": "text",
604
+ "text": "The key motivation for meta-learning the hypernetwork is to build an effective unified prior for articulated clothed humans, which enables the recovery of the non-rigid clothing deformations at test time via the efficient fine-tuning process from several depth images of unseen subjects. ",
605
+ "bbox": [
606
+ 174,
607
+ 90,
608
+ 825,
609
+ 133
610
+ ],
611
+ "page_idx": 5
612
+ },
613
+ {
614
+ "type": "text",
615
+ "text": "Algorithm 2 Meta-learning hypernetwork with Modified Reptile ",
616
+ "text_level": 1,
617
+ "bbox": [
618
+ 173,
619
+ 147,
620
+ 599,
621
+ 162
622
+ ],
623
+ "page_idx": 5
624
+ },
625
+ {
626
+ "type": "text",
627
+ "text": "Initialize: meta-hypernetwork parameters $\\psi$ , pre-trained meta-SDF parameters $\\phi ^ { * }$ , meta learning rate $\\beta$ , inner learning rate $\\alpha$ , max training iteration $N$ , inner-loop iteration $m$ . 1: for $i = 1 , \\ldots , N$ do 2: $\\psi _ { 0 } = \\psi$ 3: Randomly choose a subject/cloth-type combination $n$ 4: Uniformly sample $M \\sim \\{ 1 , \\dots , D ^ { ( n ) } \\}$ where $D ^ { ( n ) }$ is the number of datapoints of subject/cloth-type combination $n$ 5: Sample $M$ datapoints from subject/cloth-type combination $n$ , denoting these datapoints as $\\mathcal { S } = \\{ \\{ \\bar { \\bf B } _ { b } \\} ^ { ( j ) } , \\hat { \\bf X } ^ { ( j ) } \\} _ { j = 1 } ^ { M }$ 6: for $k = 1 , \\ldots , m$ do 7: L = 1M P({Bb},Xˆ )∈S LIGR(fφ(Xˆ )|φ=gψk−1 ({Bb})+φ∗ ) 8: ψk = ψk−1 − α∇ψk−1L 9: end for 10: $\\psi \\psi + \\beta ( \\psi _ { m } - \\psi _ { 0 } )$ 11: end for ",
628
+ "bbox": [
629
+ 179,
630
+ 167,
631
+ 826,
632
+ 385
633
+ ],
634
+ "page_idx": 5
635
+ },
636
+ {
637
+ "type": "text",
638
+ "text": "Denoting the meta-SDF learned by Alg. 1 as $\\phi ^ { * }$ and our hypernetwork as $g _ { \\psi } ( \\{ \\mathbf { B } _ { b } \\} )$ , we implement Alg. 2. This algorithm differs from the original Reptile [49] algorithm in that it tries to optimize the inner-loop on arbitrary amount of data. Note that for brevity the loss in the innerloop (line 7-line 8) is computed over the whole batch $s$ , whereas in practice we used stochastic gradient descent (SGD) with fixed mini-batch size over $s$ since $s$ can contain hundreds of samples; SGD is used with the mini-batch size of 12 for the inner-loop. ",
639
+ "bbox": [
640
+ 174,
641
+ 400,
642
+ 485,
643
+ 565
644
+ ],
645
+ "page_idx": 5
646
+ },
647
+ {
648
+ "type": "image",
649
+ "img_path": "images/7e4a5f9cf29a9498401db73082b325c23e30988ddf4b5de04970a3d0ded562d1.jpg",
650
+ "image_caption": [
651
+ "Figure 3: Overview of the meta-hypernetwork. It predicts residuals to $\\phi ^ { * }$ which is learned in Sec. 4.1 "
652
+ ],
653
+ "image_footnote": [],
654
+ "bbox": [
655
+ 503,
656
+ 417,
657
+ 816,
658
+ 564
659
+ ],
660
+ "page_idx": 5
661
+ },
662
+ {
663
+ "type": "text",
664
+ "text": "Inference: At test-time, we are given a small fine-tuning set {{Bb}f ine,(j), Xˆ f ine,(j)}Mj= and the validation set {{Bb}val,(j)}Kj= The fine-tuning set is used to optimize the hypernetwork parameters $\\psi$ ( $m = 2 5 6$ SGD epochs) that ",
665
+ "bbox": [
666
+ 173,
667
+ 579,
668
+ 485,
669
+ 654
670
+ ],
671
+ "page_idx": 5
672
+ },
673
+ {
674
+ "type": "text",
675
+ "text": "are then used to generate neural SDFs from bone transformations available in the validation set. The overall inference pipeline including the inverse and the forward LBS stages is shown in Fig. 4. ",
676
+ "bbox": [
677
+ 173,
678
+ 654,
679
+ 823,
680
+ 681
681
+ ],
682
+ "page_idx": 5
683
+ },
684
+ {
685
+ "type": "text",
686
+ "text": "Bone Transformation Encoding: We found that a small hierarchical MLP proposed in LEAP [48] for encoding bone transformations works slightly better than the encoding of unit quaternions used in SCANimate [65]. Thus, we employ the hierarchical MLP encoder to encode $\\{ \\mathbf { B } _ { b } \\}$ for $g$ unless specified otherwise; we ablate different encoding types in the experiment section. ",
687
+ "bbox": [
688
+ 174,
689
+ 695,
690
+ 825,
691
+ 751
692
+ ],
693
+ "page_idx": 5
694
+ },
695
+ {
696
+ "type": "text",
697
+ "text": "5 Experiments ",
698
+ "text_level": 1,
699
+ "bbox": [
700
+ 174,
701
+ 768,
702
+ 312,
703
+ 786
704
+ ],
705
+ "page_idx": 5
706
+ },
707
+ {
708
+ "type": "text",
709
+ "text": "We validate the proposed MetaAvatar model for learning meta-models and controllable dynamic neural SDFs of clothed humans by first comparing our MetaAvatar to the established approaches [13, 48, 65]. Then, we ablate the modeling choices for the proposed controllable neural SDFs. And lastly, we demonstrate MetaAvatar’s capability to tackle the challenging task of learning animatable clothed human models from reduced data, to the point that only 8 depth images are available as input. ",
710
+ "bbox": [
711
+ 173,
712
+ 800,
713
+ 825,
714
+ 869
715
+ ],
716
+ "page_idx": 5
717
+ },
718
+ {
719
+ "type": "text",
720
+ "text": "Datasets: We use the CAPE dataset [43] as the major test bed for our experiments. This dataset consists of 148584 pairs of clothed meshes, capturing 15 human subjects wearing different clothes while performing different actions. We use 10 subjects for meta-learning, which we denote as the training set. We use four unseen subjects (00122, 00134, 00215, 03375)2 for fine-tuning and validation; for each of these four subjects, the corresponding action sequences are split into finetuning set and validation set. The fine-tuning set is used for fine-tuning the MetaAvatar models, it is also used to evaluate pose interpolation task. The validation set is used for evaluating novel pose extrapolation. Among the four unseen subjects, two of them (00122, 00215) perform actions that are present in the training set for the meta-learning; we randomly split actions of these two subjects with $70 \\%$ fine-tuning and $30 \\%$ validation. Subject 00134 and 03375 perform two trials of actions unseen in the training set for meta-learning. We use the first trial as the fine-tuning set and the second trial as the validation set. Subject 03375 also has one cloth type (blazer) that is unseen during meta-learning. ",
721
+ "bbox": [
722
+ 173,
723
+ 883,
724
+ 820,
725
+ 911
726
+ ],
727
+ "page_idx": 5
728
+ },
729
+ {
730
+ "type": "image",
731
+ "img_path": "images/499f555f0f574cbcc116e67f0ea4e1494f130391d8a750d3dc7d9a366cd3ba36.jpg",
732
+ "image_caption": [
733
+ "Figure 4: Overview of our inference pipeline. The inverse LBS net (Sec. 3.2) takes a small set of input depth frames together with their underlying SMPL registrations to canonicalize the depth points; then the meta-learned hypernetwork (Sec. 4.2) is fine-tuned to represent the instance specific dynamic SDF; given novel poses, the updated hypernetwork generates pose-dependent cloth-deformations in canonical space, and the animated meshes are obtained via the forward LBS network (Sec. 3.2). "
734
+ ],
735
+ "image_footnote": [],
736
+ "bbox": [
737
+ 174,
738
+ 95,
739
+ 823,
740
+ 219
741
+ ],
742
+ "page_idx": 6
743
+ },
744
+ {
745
+ "type": "text",
746
+ "text": "",
747
+ "bbox": [
748
+ 173,
749
+ 330,
750
+ 825,
751
+ 468
752
+ ],
753
+ "page_idx": 6
754
+ },
755
+ {
756
+ "type": "text",
757
+ "text": "Baselines: We use NASA [13], LEAP [48], and SCANimate [65] as our baselines. NASA and SCANimate cannot handle multi-subject-cloth with a single model so we train per-subject/cloth-type models from scratch for each of them on the fine-tuning set. LEAP is a generalizable neural-implicit human body model that has shown to work on minimally-clothed bodies. We extend LEAP by adding a one-hot encoding to represent different cloth types (similarly to [43]) and train it jointly on the full training and the fine-tuning set. ",
758
+ "bbox": [
759
+ 174,
760
+ 481,
761
+ 825,
762
+ 565
763
+ ],
764
+ "page_idx": 6
765
+ },
766
+ {
767
+ "type": "text",
768
+ "text": "As for the input format, we use depth frames rendered from CAPE meshes for our MetaAvatar. To render the depth frames, we fixed the camera and rotate the CAPE meshes around the y-axis (in SMPL space) at different angles with an interval of 45 degrees; note that for each mesh we only render it on one angle, simulating a monocular camera taking a round-view of a moving person. For the baselines, we use watertight meshes and provide the occupancy [45] loss to supervise the training of NASA and LEAP, while sampling surface points and normals on watertight meshes to provide the IGR loss supervision for SCANimate. Note that our model is at great disadvantage, as for fine-tuning we only use discrete monocular depth observations without accurate surface normal information. ",
769
+ "bbox": [
770
+ 174,
771
+ 571,
772
+ 825,
773
+ 683
774
+ ],
775
+ "page_idx": 6
776
+ },
777
+ {
778
+ "type": "text",
779
+ "text": "Tasks and Evaluation: Our goal is to generate realistic clothing deformations from arbitrary input human pose parameters. To systematically understand the generalization capability of the MetaAvatar representation, we validate the baselines and MetaAvatar on two tasks, pose interpolation and extrapolation. For interpolation, we sample every 10th frame on the fine-tuning set for training/finetuning, and sample every 5th frame (excluding the training frames) also on the fine-tuning set for validation. For extrapolation, we sample every 5th frame on the fine-tuning set for training, and sample every 5th frame on the validation set for validation. ",
780
+ "bbox": [
781
+ 174,
782
+ 695,
783
+ 825,
784
+ 792
785
+ ],
786
+ "page_idx": 6
787
+ },
788
+ {
789
+ "type": "text",
790
+ "text": "Interpolation is evaluated using three metrics: point-based ground-truth-to-mesh distance $( D _ { p } \\downarrow ,$ in cm), face-based ground-truth-to-mesh distance $( D _ { f } \\downarrow ,$ , in cm), and point-based ground-truth-to-mesh normal consistency $( N C \\uparrow$ , in range $[ - 1 , 1 ] )$ . For computing these interpolation metrics we ignore non-clothed body parts such as hands, feet, head, and neck. For extrapolation, we note that clothdeformation are often stochastic; in such a case, predicting overly smooth surfaces can result in lower distances and higher normal consistency. Thus, we also conduct a large-scale perceptual study using ",
791
+ "bbox": [
792
+ 174,
793
+ 799,
794
+ 825,
795
+ 883
796
+ ],
797
+ "page_idx": 6
798
+ },
799
+ {
800
+ "type": "image",
801
+ "img_path": "images/04778bfeba6e8531b15fb31b8bf10ba2173d2807c481cc0b0182997a03765d4c.jpg",
802
+ "image_caption": [
803
+ "Figure 5: Qualitative comparison on extrapolation results with blazer outfit. NASA shows consistent blocky artifacts. LEAP predicts overly smooth surfaces missing the tails of the blazer outfit. SCANimate does not generalize as this specific pose has not been seen during training. Directly meta-learning a SIREN [68] network that conditions on input poses produces a smooth surface that does not capture the blazer tails well. "
804
+ ],
805
+ "image_footnote": [],
806
+ "bbox": [
807
+ 210,
808
+ 87,
809
+ 452,
810
+ 267
811
+ ],
812
+ "page_idx": 7
813
+ },
814
+ {
815
+ "type": "image",
816
+ "img_path": "images/c48f179a578faed555e41852a3e3ab47ab69bbf01a2b531186854ba0fb96fb79.jpg",
817
+ "image_caption": [
818
+ "Figure 6: Qualitative comparison on extrapolation results when reducing fine-tuning data on subject 00215 wearing poloshirt. The caption indicates the amount of fine-tuning data used to fine-tune the meta-hypernetwork on this unseen subject. Our meta-learned model captures for this unseen subject the sliding effect of the poloshirt at this pose in which the person raising arms, even fine-tuned with just 8 depth images. "
819
+ ],
820
+ "image_footnote": [],
821
+ "bbox": [
822
+ 514,
823
+ 89,
824
+ 808,
825
+ 267
826
+ ],
827
+ "page_idx": 7
828
+ },
829
+ {
830
+ "type": "text",
831
+ "text": "Amazon Mechanical Turk, and report the perceptual scores $( \\mathrm { P S } \\uparrow )$ which reflects the percentage of users who favor the outputs of baselines over MetaAvatar. Details about user study design can be found in the Supp. Mat. ",
832
+ "bbox": [
833
+ 176,
834
+ 435,
835
+ 825,
836
+ 477
837
+ ],
838
+ "page_idx": 7
839
+ },
840
+ {
841
+ "type": "text",
842
+ "text": "5.1 Evaluation Against Baselines ",
843
+ "text_level": 1,
844
+ "bbox": [
845
+ 176,
846
+ 502,
847
+ 413,
848
+ 517
849
+ ],
850
+ "page_idx": 7
851
+ },
852
+ {
853
+ "type": "text",
854
+ "text": "In this section, we report results on both interpolation and extrapolation tasks against various baselines described above. For NASA and SCANimate, we train one model for each subject/clothtype combination on the fine-tuning set. For them it usually takes several thousand of epochs to converge for each subject/cloth-type combination, which roughly equals to 10-24 hours of training. For LEAP, we train a single model on both the training and the fine-tuning set using two days. For the MetaAvatar, we meta-learn a single model on the training set, and for each subject/cloth-type combination we fine-tune the model for 256 epochs to produce subject/cloth-type specific models. The exact fine-tuning time ranges from 40 minutes to 3 hours depending on the amount of available data since we are running a fixed number of epochs; see the Supp. Mat. for detailed runtime comparison on each subject/cloth-type combination. Note that MetaAvatar uses partial depth observations while the other baselines are trained on complete meshes. The results are reported in Table 1. ",
855
+ "bbox": [
856
+ 174,
857
+ 532,
858
+ 825,
859
+ 684
860
+ ],
861
+ "page_idx": 7
862
+ },
863
+ {
864
+ "type": "text",
865
+ "text": "Importantly, models of NASA and SCANimate are over-fitted to each subject/cloth-type combination as they cannot straightforwardly leverage prior knowledge from multiple training subjects. LEAP is trained on all training and fine-tuning data with input encodings to distinguish different body shapes and cloth types, but it fails to capture high-frequency details of clothes, often predicting smooth surfaces (Fig. 5); this is evidenced by its lower perceptual scores (PS) compared to SCANimate and our MetaAvatar. In contrast to these baselines, MetaAvatar successfully captures a unified clothing deformation prior of diverse body shapes and cloth types, which generalizes well to unseen body shapes (00122, 00215), unseen poses (00134, 03375), and unseen cloth types (03375 with blazer outfit); although we did not outperform LEAP on the interpolation task for subject 00134 and 03375, we note that 1) our method uses only 2.5D input for fine-tuning, while LEAP has access to groundtruth canonical meshes during training; 2) subject 00134 and 03375 comprise much more missing frames than subject 00122 and 00215, resulting in higher stochasticity and thus predicting smooth surfaces (such as LEAP) may yield better performance; this is also evidenced by LEAP’s much lower perceptual scores on subject 00134 and 03375, although obtaining the best performance for pose interpolation. We encourage the readers to watch the side-by-side comparison videos available on our project page: https://neuralbodies.github.io/metavatar/. ",
866
+ "bbox": [
867
+ 174,
868
+ 690,
869
+ 825,
870
+ 911
871
+ ],
872
+ "page_idx": 7
873
+ },
874
+ {
875
+ "type": "table",
876
+ "img_path": "images/f00b42d53f7f835ffea83b8ada755d8dca0810240d7a099e7094fa3d3c14cd90.jpg",
877
+ "table_caption": [],
878
+ "table_footnote": [],
879
+ "table_body": "<table><tr><td></td><td></td><td colspan=\"2\">3DInput</td><td>2.5D Input</td></tr><tr><td></td><td>NASA</td><td>LEAP</td><td>SCANimate</td><td>Ours</td></tr><tr><td colspan=\"5\">Subj 100122,00215</td></tr><tr><td>Ex.</td><td>PS↑</td><td>0.078</td><td>0.314 0.333</td><td>0.5</td></tr><tr><td rowspan=\"3\">Int.</td><td>Dp↓</td><td>0.484</td><td>0.454 0.586</td><td>0.450</td></tr><tr><td>Df↓</td><td>0.327 0.293</td><td>0.489</td><td>0.273</td></tr><tr><td>NC↑</td><td>0.752</td><td>0.807 0.793</td><td>0.821</td></tr><tr><td colspan=\"5\">Subj 00134,03375</td></tr><tr><td>Ex.</td><td>PS↑</td><td>0.182 0.224</td><td>0.481</td><td>0.5</td></tr><tr><td rowspan=\"3\">Int.</td><td>Dp↓</td><td>0.595</td><td>0.483</td><td>0.518</td></tr><tr><td>Df↓</td><td>0.469 0.340</td><td>0.542</td><td>0.367</td></tr><tr><td>NC↑</td><td>0.693 0.780</td><td>0.755</td><td>0.773</td></tr><tr><td colspan=\"5\">Averge per-model training/fine-tuning time (hours)</td></tr><tr><td colspan=\"2\">&gt;10</td><td>1</td><td>&gt;10</td><td>1.60</td></tr></table>",
880
+ "bbox": [
881
+ 184,
882
+ 88,
883
+ 473,
884
+ 237
885
+ ],
886
+ "page_idx": 8
887
+ },
888
+ {
889
+ "type": "text",
890
+ "text": "Table 1: Comparison to baselines. $D _ { p } , D _ { f }$ and $N C$ are reported for interpolation (Int.) while PS is reported for extrapolation $\\left( \\mathrm { E x . } \\right)$ . Note that MetaAvatar is fine-tuned on depth images while all other baselines are trained on complete meshes. The training/fine-tuning times are just rough estimates, as ours does not include the time for meta-learning, while many factors, including varying training schedules, disk-IOs and hardware setups, can affect the final speed. ",
891
+ "bbox": [
892
+ 173,
893
+ 239,
894
+ 488,
895
+ 377
896
+ ],
897
+ "page_idx": 8
898
+ },
899
+ {
900
+ "type": "table",
901
+ "img_path": "images/6042ca69cef7218b3ddc873e059b4c9a4b481e09ecfeb2cc3a0d6ef758d306cb.jpg",
902
+ "table_caption": [],
903
+ "table_footnote": [],
904
+ "table_body": "<table><tr><td></td><td></td><td>MLP</td><td>PosEnc</td><td>SIREN</td><td>Hyper Quat</td><td>Hyper BoneEnc</td></tr><tr><td colspan=\"7\">Subj 00122,00215</td></tr><tr><td rowspan=\"3\">Int.</td><td>Dp↓</td><td>3.278</td><td>1.806</td><td>0.472</td><td>0.460</td><td>0.461</td></tr><tr><td>D↓</td><td>2.201</td><td>0.998</td><td>0.301</td><td>0.288</td><td>0.288</td></tr><tr><td>NC↑</td><td>-0.279</td><td>-0.045</td><td>0.815</td><td>0.818</td><td>0.820</td></tr><tr><td colspan=\"7\">Subj 100134,03375</td></tr><tr><td rowspan=\"3\">Int.</td><td>Dp↓</td><td>3.320</td><td>1.498</td><td>0.532</td><td>0.526</td><td>0.523</td></tr><tr><td>Df↓</td><td>2.190</td><td>0.772</td><td>0.385</td><td>0.378</td><td>0.374</td></tr><tr><td>NC↑</td><td>-0.300</td><td>-0.099</td><td>0.773</td><td>0.772</td><td>0.772</td></tr></table>",
905
+ "bbox": [
906
+ 503,
907
+ 130,
908
+ 805,
909
+ 237
910
+ ],
911
+ "page_idx": 8
912
+ },
913
+ {
914
+ "type": "text",
915
+ "text": "Table 2: Ablation for different architectures on the interpolation task. Hyper-Quat is our model that takes the relative joint-rotations (in the form of unit quaternions) as inputs. HyperBoneEnc is our full model with hierarchical bone encoding MLP of LEAP [48]. Models in the table are fine-tuned for 128 epochs. ",
916
+ "bbox": [
917
+ 500,
918
+ 238,
919
+ 813,
920
+ 335
921
+ ],
922
+ "page_idx": 8
923
+ },
924
+ {
925
+ "type": "text",
926
+ "text": "5.2 Ablation Study on Model Architectures ",
927
+ "text_level": 1,
928
+ "bbox": [
929
+ 174,
930
+ 422,
931
+ 486,
932
+ 438
933
+ ],
934
+ "page_idx": 8
935
+ },
936
+ {
937
+ "type": "text",
938
+ "text": "We further ablate model architecture choices for MetaAvatar. We compare against (1) a plain MLP that takes the concatenation of the relative joint-rotations (in the form of unit quaternions) and query points as input (MLP), (2) a MLP that takes the concatenation of the relative joint-rotations and the positional encodings of query point coordinates as input (PosEnc), and (3) a SIREN network that takes the concatenation of the relative joint-rotations and query points as input (SIREN). The evaluation task is interpolation; results are reported in Table 2. For the baselines (MLP, PosEnc and SIREN), we directly use Alg. 2 to meta-learn the corresponding models with $\\phi ^ { * } = 0$ . For MLP and PosEnc, the corresponding models fail to produce reasonable shapes. For SIREN, it produces unnaturally smooth surfaces which cannot capture fine clothing details such as wrinkles (Fig. 5). ",
939
+ "bbox": [
940
+ 173,
941
+ 453,
942
+ 825,
943
+ 578
944
+ ],
945
+ "page_idx": 8
946
+ },
947
+ {
948
+ "type": "text",
949
+ "text": "5.3 Few-shot learning of MetaAvatar ",
950
+ "text_level": 1,
951
+ "bbox": [
952
+ 176,
953
+ 604,
954
+ 441,
955
+ 619
956
+ ],
957
+ "page_idx": 8
958
+ },
959
+ {
960
+ "type": "text",
961
+ "text": "In this section, we evaluate the few-shot learning capabilities of MetaAvatar. As shown in Table 3, we reduce the amount of data on the fine-tuning set, and report the performance of models finetuned on reduced amount of data. Note that with $< 1 \\%$ data, we require only one frame from each action sequence available for a subject/cloth-type combination, this roughly equals to 8-20 depth frames depending on the amount of data for that subject/cloth-type combination. For interpolation, the performance drops because the stochastic nature of cloth deformation becomes dominant when the amount of fine-tuning data decreases. On the other hand, the perceptual scores (PS) are better than NASA and LEAP even with ${ \\tt c 1 \\% }$ data in the form of partial depth observations, and better ",
962
+ "bbox": [
963
+ 174,
964
+ 635,
965
+ 498,
966
+ 856
967
+ ],
968
+ "page_idx": 8
969
+ },
970
+ {
971
+ "type": "table",
972
+ "img_path": "images/e2f34edcfbf9ef14db48617cb7333275649a65faa44a4001ec9938212893a8df.jpg",
973
+ "table_caption": [
974
+ "Table 3: Ablation for few-shot learning. We report performance of MetaAvatar on reduced amount of fine-tuning data. Fine-tuning time scales linearly with the amount of data, since we run for a fixed number of epochs. "
975
+ ],
976
+ "table_footnote": [],
977
+ "table_body": "<table><tr><td>Fine-tune data (%)</td><td></td><td>100</td><td>50</td><td>20</td><td>10</td><td>5</td><td>&lt;1</td></tr><tr><td colspan=\"8\">Subj 00122,00215</td></tr><tr><td>Ex.</td><td>PS个</td><td>0.5</td><td>0.471</td><td>0.509</td><td>0.473</td><td>0.373</td><td>0.510</td></tr><tr><td rowspan=\"3\">Int.</td><td>Dp↓</td><td>-</td><td>0.450</td><td>0.480</td><td>0.512</td><td>0.543</td><td>0.592</td></tr><tr><td>D↓</td><td>=</td><td>0.273</td><td>0.310</td><td>0.353</td><td>0.391</td><td>0.450</td></tr><tr><td>NC↑</td><td>-</td><td>0.821</td><td>0.808</td><td>0.795</td><td>0.785</td><td>0.768</td></tr><tr><td colspan=\"8\">Subj 00134, ,03375</td></tr><tr><td>Ex.</td><td>PS个</td><td>0.5</td><td>0.476</td><td>0.424</td><td>0.463</td><td>0.439</td><td>0.387</td></tr><tr><td rowspan=\"3\">Int.</td><td>Dp↓</td><td>1</td><td>0.518</td><td>0.545</td><td>0.576</td><td>0.603</td><td>0.619</td></tr><tr><td>Df↓</td><td></td><td>0.367</td><td>0.400</td><td>0.438</td><td>0.471</td><td>0.489</td></tr><tr><td>NC↑</td><td>-</td><td>0.773</td><td>0.762</td><td>0.753</td><td>0.745</td><td>0.737</td></tr><tr><td colspan=\"8\">Average per-model training/fine-tuning time ( (hours) 0.08 0.02</td></tr><tr><td colspan=\"8\">1.60 0.8 0.32 0.16</td></tr></table>",
978
+ "bbox": [
979
+ 514,
980
+ 638,
981
+ 820,
982
+ 776
983
+ ],
984
+ "page_idx": 8
985
+ },
986
+ {
987
+ "type": "text",
988
+ "text": "than or comparable to SCANimate in most cases. The qualitative comparison on extrapolation results of reduced fine-tuning data is shown in Fig. 6. Please see the Supp. Mat. for more qualitative results on few-shot learning, including results on depth from raw scans, results on real depth images and comparison with pre-trained SCANimate model. ",
989
+ "bbox": [
990
+ 174,
991
+ 856,
992
+ 825,
993
+ 911
994
+ ],
995
+ "page_idx": 8
996
+ },
997
+ {
998
+ "type": "text",
999
+ "text": "6 Conclusion ",
1000
+ "text_level": 1,
1001
+ "bbox": [
1002
+ 174,
1003
+ 89,
1004
+ 299,
1005
+ 106
1006
+ ],
1007
+ "page_idx": 9
1008
+ },
1009
+ {
1010
+ "type": "text",
1011
+ "text": "We introduced MetaAvatar, a meta-learned hypernetwork that represents controllable dynamic neural SDFs applicable for generating clothed human avatars. Compared to existing methods, MetaAvatar learns from less data (temporally discrete monocular depth frames) and requires less time to represent novel unseen clothed humans. We demonstrated that the meta-learned deformation prior is robust and can be used to effectively generate realistic clothed human avatars in 2 minutes from as few as 8 depth observations. ",
1012
+ "bbox": [
1013
+ 174,
1014
+ 125,
1015
+ 825,
1016
+ 207
1017
+ ],
1018
+ "page_idx": 9
1019
+ },
1020
+ {
1021
+ "type": "text",
1022
+ "text": "MetaAvatar is compatible with automatic registration methods [8, 75], human motion models [84, 85], implicit hand models [30, 31] and rendering primitives [40, 47] that could jointly enable an efficient end-to-end photo-realistic digitization of humans from commodity RGBD sensors, which has broad applicability in movies, games, and telepresence applications. However, this digitization may raise privacy concerns that need to be addressed carefully before deploying the introduced technology. ",
1023
+ "bbox": [
1024
+ 174,
1025
+ 213,
1026
+ 825,
1027
+ 284
1028
+ ],
1029
+ "page_idx": 9
1030
+ },
1031
+ {
1032
+ "type": "text",
1033
+ "text": "7 Acknowledgment ",
1034
+ "text_level": 1,
1035
+ "bbox": [
1036
+ 176,
1037
+ 308,
1038
+ 349,
1039
+ 325
1040
+ ],
1041
+ "page_idx": 9
1042
+ },
1043
+ {
1044
+ "type": "text",
1045
+ "text": "Siyu Tang acknowledges funding by the Swiss National Science Foundation under project 200021_204840. Andreas Geiger was supported by the ERC Starting Grant LEGO-3D (850533) and DFG EXC number 2064/1 - project number 390727645. We thank Jinlong Yang for providing results of SCANimate on the CAPE dataset. We thank Yebin Liu for sharing POSEFusion [38] data and results during the rebuttal period. We also thank Yan Zhang, Siwei Zhang and Korrawe Karunratanakul for proof reading the paper. ",
1046
+ "bbox": [
1047
+ 174,
1048
+ 343,
1049
+ 825,
1050
+ 426
1051
+ ],
1052
+ "page_idx": 9
1053
+ },
1054
+ {
1055
+ "type": "text",
1056
+ "text": "References ",
1057
+ "text_level": 1,
1058
+ "bbox": [
1059
+ 174,
1060
+ 450,
1061
+ 266,
1062
+ 467
1063
+ ],
1064
+ "page_idx": 9
1065
+ },
1066
+ {
1067
+ "type": "text",
1068
+ "text": "[1] Ferran Alet, Tomas Lozano-Perez, and Leslie P. Kaelbling. Modular meta-learning. In Proc. of The 2nd Conference on Robot Learning, 2018. 3 \n[2] Thiemo Alldieck, Marcus Magnor, Bharat Lal Bhatnagar, Christian Theobalt, and Gerard Pons-Moll. Learning to reconstruct people in clothing from a single RGB camera. In Proc. of CVPR, 2019. 2 \n[3] Thiemo Alldieck, Marcus Magnor, Weipeng Xu, Christian Theobalt, and Gerard Pons-Moll. Video based reconstruction of 3d people models. In Proc. of CVPR, 2018. 2 \n[4] Marcin Andrychowicz, Misha Denil, Sergio Gómez, Matthew W Hoffman, David Pfau, Tom Schaul, Brendan Shillingford, and Nando de Freitas. Learning to learn by gradient descent by gradient descent. In Proc. of NeurIPS, 2016. 3 \n[5] Dragomir Anguelov, Praveen Srinivasan, Daphne Koller, Sebastian Thrun, Jim Rodgers, and James Davis. Scape: shape completion and animation of people. ACM Transasctions Graphics, 24, 2005. 2, 3 \n[6] Antreas Antoniou, Harrison Edwards, and Amos Storkey. How to train your maml. In Proc. of ICLR, 2019. 3 \n[7] Bharat Lal Bhatnagar, Cristian Sminchisescu, Christian Theobalt, and Gerard Pons-Moll. Combining implicit function learning and parametric models for 3d human reconstruction. In Proc. of ECCV, 2020. 1, 2, 3 \n[8] Bharat Lal Bhatnagar, Cristian Sminchisescu, Christian Theobalt, and Gerard Pons-Moll. Loopreg: Selfsupervised learning of implicit surface correspondences, pose and shape for 3d human mesh registration. In Proc. of NeurIPS, 2020. 2, 10 \n[9] Andrei Burov, Matthias Nießner, and Justus Thies. Dynamic surface function networks for clothed human bodies. In Proc. of ICCV, 2021. 2 \n[10] Xu Chen, Yufeng Zheng, Michael J Black, Otmar Hilliges, and Andreas Geiger. SNARF: Differentiable forward skinning for animating non-rigid neural implicit shapes. In Proc. of ICCV, 2021. 2 \n[11] Zhiqin Chen and Hao Zhang. Learning implicit fields for generative shape modeling. In Proc. of CVPR, 2019. 1, 3 \n[12] Julian Chibane, Thiemo Alldieck, and Gerard Pons-Moll. Implicit functions in feature space for 3d shape reconstruction and completion. In Proc. of CVPR, 2020. 1, 3 \n[13] Boyang Deng, JP Lewis, Timothy Jeruzalski, Gerard Pons-Moll, Geoffrey Hinton, Mohammad Norouzi, and Andrea Tagliasacchi. Nasa: Neural articulated shape approximation. In Proc. of ECCV, 2020. 2, 6, 7 \n[14] Nanqing Dong and Eric P. Xing. Few-shot semantic segmentation with prototype learning. In Proc. of BMVC, 2018. 3 \n[15] SM Ali Eslami, Danilo Jimenez Rezende, Frederic Besse, Fabio Viola, Ari S Morcos, Marta Garnelo, Avraham Ruderman, Andrei A Rusu, Ivo Danihelka, Karol Gregor, et al. Neural scene representation and rendering. Science, 360(6394):1204–1210, 2018. 3 \n[16] Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. In Proc. of ICML, 2017. 2, 3 Yee Whye Teh, Danilo J. Rezende, and S. M. Ali Eslami. Conditional neural processes. In Proc. of ICML, 2018. 3 \n[18] Marta Garnelo, Jonathan Schwarz, Dan Rosenbaum, Fabio Viola, Danilo J. Rezende, S. M. Ali Eslami, and Yee Whye Teh. Neural processes. In ICML Workshop on Theoretical Foundations and Applications of Deep Generative Models, 2018. \n[19] Jonathan Gordon, John Bronskill, Matthias Bauer, Sebastian Nowozin, and Richard E. Turner. Metalearning probabilistic inference for prediction. In Proc. of ICLR, 2019. 3 \n[20] Edward Grefenstette, Brandon Amos, Denis Yarats, Phu Mon Htut, Artem Molchanov, Franziska Meier, Douwe Kiela, Kyunghyun Cho, and Soumith Chintala. Generalized inner loop meta-learning, 2019. 3 \n[21] Amos Gropp, Lior Yariv, Niv Haim, Matan Atzmon, and Yaron Lipman. Implicit geometric regularization for learning shapes. In Proc. of ICML, 2020. 2, 5 \n[22] Peng Guan, Loretta Reiss, David A. Hirshberg, Er Weiss, and Michael J. Black. Drape: Dressing any person. ACM Transasctions Graphics, 31(4), 2012. 2 \n[23] Liang-Yan Gui, Yu-Xiong Wang, Deva Ramanan, and Jose M. F. Moura. Few-shot human motion prediction via meta-learning. In Proc. of ECCV, 2018. 3 \n[24] Erhan Gundogdu, Victor Constantin, Amrollah Seifoddini, Minh Dang, Mathieu Salzmann, and Pascal Fua. Garnet: A two-stream network for fast and accurate 3d cloth draping. In Proc. of ICCV, 2019. 2 \n[25] David Ha, Andrew Dai, and Quoc V. Le. Hypernetworks. In Proc. of ICLR, 2017. 2, 4, 5 \n[26] N. Hasler, C. Stoll, M. Sunkel, B. Rosenhahn, and H.-P. Seidel. A Statistical Model of Human Pose and Body Shape. Computer Graphics Forum, 28:337–346, 2009. 2, 3 \n[27] Zeng Huang, Yuanlu Xu, Christoph Lassner, Hao Li, and Tony Tung. ARCH: Animatable Reconstruction of Clothed Humans. In Proc. of CVPR, 2020. 1, 3 \n[28] Hanbyul Joo, Tomas Simon, and Yaser Sheikh. Total capture: A 3d deformation model for tracking faces, hands, and bodies. In Proc. of CVPR, 2018. 2 \n[29] Bingyi Kang, Zhuang Liu, Xin Wang, Fisher Yu, Jiashi Feng, and Trevor Darrell. Few-shot object detection via feature reweighting. In Proc. of ICCV, 2019. 3 \n[30] Korrawe Karunratanakul, Adrian Spurr, Zicong Fan, Otmar Hilliges, and Siyu Tang. A skeleton-driven neural occupancy representation for articulated hands. In Proc. of 3DV, 2021. 10 \n[31] Korrawe Karunratanakul, Jinlong Yang, Yan Zhang, Michael Black, Krikamol Muandet, and Siyu Tang. Grasping field: Learning implicit representations for human grasps. In Proc. of 3DV, 2020. 10 \n[32] Hyunjik Kim, Andriy Mnih, Jonathan Schwarz, Marta Garnelo, Ali Eslami, Dan Rosenbaum, Oriol Vinyals, and Yee Whye Teh. Attentive neural processes. In Proc. of ICLR, 2019. 3 \n[33] Zorah Lähner, Daniel Cremers, and Tony Tung. Deepwrinkles: Accurate and realistic clothing modeling. In Proc. of ECCV, 2018. 2 \n[34] Ke Li and Jitendra Malik. Learning to optimize. In Proc. of ICLR, 2017. 3 \n[35] Ruilong Li, Yuliang Xiu, Shunsuke Saito, Zeng Huang, Kyle Olszewski, and Hao Li. Monocular real-time volumetric performance capture. In Proc. of ECCV, 2020. 1, 3 \n[36] Zhongguo Li, Magnus Oskarsson, and Anders Heyden. Geo-pifu: Geometry and pixel aligned implicit functions for single-view human reconstruction. In Proc. of NeurIPS, 2020. 1, 3 \n[37] Zhe Li, Tao Yu, Chuanyu Pan, Zerong Zheng, and Yebin Liu. Robust 3d self-portraits in seconds. In Proc. of CVPR, 2020. 1 \n[38] Zhe Li, Tao Yu, Zerong Zheng, Kaiwen Guo, and Yebin Liu. Posefusion: Pose-guided selective fusion for single-view human volumetric capture. In Proc. of CVPR, 2021. 1, 10 \n[39] Zhenguo Li, Fengwei Zhou, Fei Chen, and Hang Li. Meta-sgd: Learning to learn quickly for few-shot learning, 2017. 3 \n[40] Stephen Lombardi, Tomas Simon, Gabriel Schwartz, Michael Zollhoefer, Yaser Sheikh, and Jason Saragih. Mixture of volumetric primitives for efficient neural rendering. ACM Transactions on Graphics (TOG), 2021. 10 \n[41] Matthew Loper, Naureen Mahmood, Javier Romero, Gerard Pons-Moll, and Michael J. Black. SMPL: A skinned multi-person linear model. ACM Transasctions Graphics, 34(6), 2015. 2, 3 \n[42] Qianli Ma, Shunsuke Saito, Jinlong Yang, Siyu Tang, and Michael J. Black. SCALE: Modeling clothed humans with a surface codec of articulated local elements. In Proc. of CVPR, 2021. 2 \n[43] Qianli Ma, Jinlong Yang, Anurag Ranjan, Sergi Pujades, Gerard Pons-Moll, Siyu Tang, and Michael J. Black. Learning to dress 3D people in generative clothing. In Proc. of CVPR, 2020. 2, 6, 7 \n[44] Qianli Ma, Jinlong Yang, Siyu Tang, and Michael J. Black. The power of points for modeling humans in clothing. In Proc. of ICCV, 2021. 2 \n[45] Lars Mescheder, Michael Oechsle, Michael Niemeyer, Sebastian Nowozin, and Andreas Geiger. Occupancy networks: Learning 3d reconstruction in function space. In Proc. of CVPR, 2019. 1, 3, 7 \n[46] Mateusz Michalkiewicz, Jhony K. Pontes, Dominic Jack, Mahsa Baktashmotlagh, and Anders Eriksson. Implicit surface representations as layers in neural networks. In Proc. of ICCV, 2019. 1, 3 \n[47] Marko Mihajlovic, Silvan Weder, Marc Pollefeys, and Martin R Oswald. DeepSurfels: Learning online appearance fusion. In Proc. of CVPR, 2021. 10 \n[48] Marko Mihajlovic, Yan Zhang, Michael J. Black, and Siyu Tang. LEAP: Learning articulated occupancy of people. In Proc. of CVPR, 2021. 2, 3, 4, 6, 7, 9 \n[49] Alex Nichol, Joshua Achiam, and John Schulman. On first-order meta-learning algorithms, 2018. 2, 3, 5, 6 \n[50] Ahmed A. A. Osman, Timo Bolkart, and Michael J. Black. Star: Sparse trained articulated human body regressor. In Proc. of ECCV, 2020. 2, 3 3d deformable shapes. In Proc. of ICCV, 2021. 2 \n[52] Jeong Joon Park, Peter Florence, Julian Straub, Richard Newcombe, and Steven Lovegrove. Deepsdf: Learning continuous signed distance functions for shape representation. In Proc. of CVPR, 2019. 1, 3 \n[53] Chaitanya Patel, Zhouyingcheng Liao, and Gerard Pons-Moll. Tailornet: Predicting clothing in 3d as a function of human pose, shape and garment style. In Proc. of CVPR, 2020. 2 \n[54] Georgios Pavlakos, Vasileios Choutas, Nima Ghorbani, Timo Bolkart, Ahmed A. A. Osman, Dimitrios Tzionas, and Michael J. Black. Expressive body capture: 3d hands, face, and body from a single image. In Proc. of CVPR, 2019. 2, 3 \n[55] Songyou Peng, Chiyu \"Max\" Jiang, Yiyi Liao, Michael Niemeyer, Marc Pollefeys, and Andreas Geiger. Shape as points: A differentiable poisson solver. In Proc. of NeurIPS, 2021. 3 \n[56] Songyou Peng, Michael Niemeyer, Lars Mescheder, Marc Pollefeys, and Andreas Geiger. Convolutional occupancy networks. In Proc. of ECCV, 2020. 4 \n[57] Sida Peng, Yuanqing Zhang, Yinghao Xu, Qianqian Wang, Qing Shuai, Hujun Bao, and Xiaowei Zhou. Neural body: Implicit neural representations with structured latent codes for novel view synthesis of dynamic humans. In Proc. of CVPR, 2021. 3 \n[58] Juan-Manuel Perez-Rua, Xiatian Zhu, Timothy M. Hospedales, and Tao Xiang. Incremental few-shot object detection. In Proc. of CVPR, 2020. 3 \n[59] Amit Raj, Julian Tanke, James Hays, Minh Vo, Carsten Stoll, and Christoph Lassner. Anr-articulated neural rendering for virtual avatars. In Proc. of CVPR, 2021. 3 \n[60] Kate Rakelly, Evan Shelhamer, Trevor Darrell, Alexei A. Efros, and Sergey Levine. Few-shot segmentation propagation with guided networks. In Proc. of ICML, 2019. 3 \n[61] Sachin Ravi and Hugo Larochelle. Optimization as a model for fewshot learning. In Proc. of ICLR, 2017. 3 \n[62] Scott Reed, Yutian Chen, Thomas Paine, Aäron van den Oord, S. M. Ali Eslami, Danilo Rezende, Oriol Vinyals, and Nando de Freitas. Few-shot autoregressive density estimation: Towards learning to learn distributions. In Proc. of ICLR, 2018. 3 \n[63] Shunsuke Saito, , Zeng Huang, Ryota Natsume, Shigeo Morishima, Angjoo Kanazawa, and Hao Li. Pifu: Pixel-aligned implicit function for high-resolution clothed human digitization. In Proc. of ICCV, 2019. 1, 3 \n[64] Shunsuke Saito, Tomas Simon, Jason Saragih, and Hanbyul Joo. Pifuhd: Multi-level pixel-aligned implicit function for high-resolution 3d human digitization. In Proc. of CVPR, 2020. 1, 3 \n[65] Shunsuke Saito, Jinlong Yang, Qianli Ma, and Michael J. Black. SCANimate: Weakly supervised learning of skinned clothed avatar networks. In Proc. of CVPR, 2021. 2, 3, 4, 6, 7 \n[66] Amirreza Shaban, Shray Bansal, Zhen Liu, Irfan Essa, and Byron Boots. One-shot learning for semantic segmentation. In Proc. of BMVC, 2017. 3 \n[67] Vincent Sitzmann, Eric R. Chan, Richard Tucker, Noah Snavely, and Gordon Wetzstein. Metasdf: Metalearning signed distance functions. In Proc. of NeurIPS, 2020. 2, 3, 5 \n[68] Vincent Sitzmann, Julien N.P. Martel, Alexander W. Bergman, David B. Lindell, and Gordon Wetzstein. Implicit neural representations with periodic activation functions. In Proc. of NeurIPS, 2020. 5, 8 \n[69] Vincent Sitzmann, Michael Zollhöfer, and Gordon Wetzstein. Scene representation networks: Continuous 3d-structure-aware neural scene representations. In Proc. of NeurIPS, 2019. 4 \n[70] Jake Snell, Kevin Swersky, and Richard S. Zemel. Prototypical networks for few-shot learning. In Proc. of NeurIPS, 2017. 3 \n[71] Zhuo Su, Lan Xu, Zerong Zheng, Tao Yu, Yebin Liu, and Lu Fang. Robustfusion: Human volumetric capture with data-driven visual cues using a rgbd camera. In Proc. of ECCV, 2020. \n[72] Matthew Tancik, Ben Mildenhall, Terrance Wang, Divi Schmidt, Pratul P. Srinivasan, Jonathan T. Barron, and Ren Ng. Learned initializations for optimizing coordinate-based neural representations. In Proc. of CVPR, 2021. 2, 3 \n[73] Garvita Tiwari, Nikolaos Sarafianos, Tony Tung, and Gerard Pons-Moll. Neural-GIF: Neural generalized implicit functions for animating people in clothing. In Proc. of ICCV, 2021. 2 \n[74] Kaixin Wang, Jun Hao Liew, Yingtian Zou, Daquan Zhou, and Jiashi Feng. Panet: Few-shot image semantic segmentation with prototype alignment. In Proc. of ICCV, 2019. 3 \n[75] Shaofei Wang, Andreas Geiger, and Siyu Tang. Locally aware piecewise transformation fields for 3d human mesh registration. In Conference on Computer Vision and Pattern Recognition (CVPR), 2021. 1, 10 \n[76] Ting-Chun Wang, Ming-Yu Liu, Andrew Tao, Guilin Liu, Jan Kautz, and Bryan Catanzaro. Few-shot video-to-video synthesis. In Proc. of NeurIPS, 2019. 3 \n[77] Hongyi Xu, Eduard Gabriel Bazavan, Andrei Zanfir, William T. Freeman, Rahul Sukthankar, and Cristian Sminchisescu. Ghum & ghuml: Generative 3d human shape and articulated pose models. In Proc. of CVPR, 2020. 2, 3 \n[78] Lan Xu, Zhuo Su, Lei Han, Tao Yu, Yebin Liu, and Lu Fang. Unstructuredfusion: Real-time 4d geometry and texture reconstruction using commercial rgbd cameras. IEEE Transactions on Pattern Analysis and Machine Intelligence, 42, 2020. 1 \n[79] Jinlong Yang, Jean-Sébastien Franco, Franck Hétroy-Wheeler, and Stefanie Wuhrer. Analyzing clothing layer deformation statistics of 3d human motions. In Proc. of ECCV, 2018. 2 \n[80] Tao Yu, Zerong Zheng, Kaiwen Guo, Jianhui Zhao, Qionghai Dai, Hao Li, Gerard Pons-Moll, and Yebin Liu. Doublefusion: Real-time capture of human performances with inner body shapes from a single depth sensor. In Proc. of CVPR, 2018. 1 \n[81] Ilya Zakharkin, Kirill Mazur, Artur Grigorev, and Victor Lempitsky. Point-based modeling of human clothing. In Proc. of ICCV, 2021. 2 \n[82] Egor Zakharov, Aliaksandra Shysheya, Egor Burkov, and Victor Lempitsky. Few-shot adversarial learning of realistic neural talking head models. In Proc. of ICCV, 2019. 3 \n[83] Chao Zhang, Sergi Pujades, Michael J. Black, and Gerard Pons-Moll. Detailed, accurate, human shape estimation from clothed 3d scan sequences. In Proc. of CVPR, 2017. 2 \n[84] Siwei Zhang, Yan Zhang, Federica Bogo, Pollefeys Marc, and Siyu Tang. Learning motion priors for 4d human body capture in 3d scenes. In Proc. of ICCV, 2021. 10 \n[85] Yan Zhang, Michael J. Black, and Siyu Tang. We are more than our joints: Predicting how 3D bodies move. In Proc. of CVPR, 2021. 10 \n[86] Dominic Zhao, Johannes von Oswald, Seijin Kobayashi, João Sacramento, and Benjamin F. Grewe. Metalearning via hypernetworks. In 4th Workshop on Meta-Learning at NeurIPS 2020, Vancouver, Canada, 2020. 3 \n[87] Z. Zheng, T. Yu, Y. Liu, and Q. Dai. Pamir: Parametric model-conditioned implicit representation for image-based human reconstruction. IEEE Transactions on Pattern Analysis and Machine Intelligence, pages 1–1, 2021. 3 ",
1069
+ "bbox": [
1070
+ 178,
1071
+ 477,
1072
+ 826,
1073
+ 911
1074
+ ],
1075
+ "page_idx": 9
1076
+ },
1077
+ {
1078
+ "type": "text",
1079
+ "text": "",
1080
+ "bbox": [
1081
+ 171,
1082
+ 108,
1083
+ 828,
1084
+ 905
1085
+ ],
1086
+ "page_idx": 10
1087
+ },
1088
+ {
1089
+ "type": "text",
1090
+ "text": "",
1091
+ "bbox": [
1092
+ 171,
1093
+ 108,
1094
+ 828,
1095
+ 897
1096
+ ],
1097
+ "page_idx": 11
1098
+ },
1099
+ {
1100
+ "type": "text",
1101
+ "text": "",
1102
+ "bbox": [
1103
+ 171,
1104
+ 92,
1105
+ 826,
1106
+ 286
1107
+ ],
1108
+ "page_idx": 12
1109
+ }
1110
+ ]
parse/train/Q-PA3D1OsDz/Q-PA3D1OsDz_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/Q-PA3D1OsDz/Q-PA3D1OsDz_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/SJBr9Mcxl/SJBr9Mcxl.md ADDED
@@ -0,0 +1,228 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # UNDERSTANDING TRAINED CNNS BY INDEXING NEURON SELECTIVITY
2
+
3
+ Ivet Rafegas & Maria Vanrell
4
+
5
+ Computer Vision Center
6
+ Universitat Autonoma de Barcelona \`
7
+ Bellaterra, Barcelona (Spain)
8
+ {ivet.rafegas, maria.vanrell}@uab.cat
9
+ Lu´ıs A. Alexandre
10
+ Department of Computer Science
11
+ Universidade da Beira Interior
12
+ Covilha , Portugal ˜
13
+ lfbaa@ubi.pt
14
+
15
+ # ABSTRACT
16
+
17
+ The impressive performance and plasticity of convolutional neural networks to solve different vision problems are shadowed by their black-box nature and its consequent lack of full understanding. To reduce this gap we propose to describe the activity of individual neurons by quantifying their inherent selectivity to specific properties. Our approach is based on the definition of feature selectivity indexes that allow the ranking of neurons according to specific properties. Here we report the results of exploring selectivity indexes for: (a) an image feature (color); and (b) an image label (class membership). Our contribution is a framework to seek or classify neurons by indexing on these selectivity properties. It helps to find color selective neurons, such as a red-mushroom neuron in layer conv4 or class selective neurons such as dog-face neurons in layer conv5, and establishes a methodology to derive other selectivity properties. Indexing on neuron selectivity can statistically draw how features and classes are represented through layers at a moment when the size of trained nets is growing and automatic tools to index can be helpful.
18
+
19
+ # 1 INTRODUCTION
20
+
21
+ In parallel with the success of CNNs to solve vision problems, there is a growing interest in developing methodologies to understand and visualize the internal representations of these networks. How the responses of a trained CNN encode the visual information is a fundamental question for computer and eventually for human vision.
22
+
23
+ Several works have proposed different methodologies to address the understanding problem. Recently, in Li et al. (2016) two main groups of works are mentioned. On one side those works that deal with the problem from a theoretical point of view. These are works such as Montavon et al. (2011) where kernel sequences are used to conclude that deep networks create increasingly better representations as the number of layer increases, Paul & Venkatasubramanian (2014) which explains why a deep learning network learns simple features first and that the representation complexity increases as the layers get deeper, Goodfellow et al. (2014) where an explanation for why an adversarial example created for one network is still valid in many others and they usually assign it the same (wrong) class, or Arora et al. (2014) that presents algorithms for training certain deep generative models with provable polynomial running time. On the other side, an empirical point of view, which comprises approaches that pursuit methodologies to visualize intermediate features in the image space, or approaches that analyze the effect of modifying a given feature map in a neuron activation. Our work is framed in the first subset of empirical approaches.
24
+
25
+ Visualizing intermediate features seeks to describe the activity of individual neurons. This description is the basis of this work hypothesis that is based on the idea that a proper understanding of the activity of the individual neurons allow us to draw a map of the CNN behavior. This behavior can be understood either in terms of relevant image features or in terms of the discriminative power of the neurons across the full architecture.
26
+
27
+ The first and most obvious way to describe the activity of a single neuron is given by the inherent set of weights of the learned filters. These weights can be used to compare neurons between them, either within the same layer or versus neurons in similar CNNs which have been trained under different initialization conditions, as it is proposed by Li et al. (2016). A direct visualization of these weights is intuitive when they belong to neurons of a first convolutional layer. However, when layers are stacked, that intuition disappears and the capability to understand the neuron activity is lost.
28
+
29
+ A second method to describe neuron activity is projecting the filter weights into the image space, trying to get the inherent feature that maximally activates the filter. The projection can be computed by composing the inversion of the layer operators under a specific neuron towards the image space: this was called a Decoded Filter (DF) in Rafegas & Vanrell (2016). The resulting image represents an estimation of the feature that should highly activate such neuron. The disentangling algorithm that inverts the filter would give a good estimation of the feature image if most of the layer operators were invertible. However, when the number of non-invertible operators increases, the estimation becomes unintelligible. The appearance of the DFs can be seen in Fig. 1 of Rafegas & Vanrell (2016). They have also been explored by Springenberg et al. (2015) for architectures with no pooling layers since pooling is the less invertible operator. They point out the interest of obtaining such a representation, since it would allow the understanding of neuron activity independently of the input image. However, the majority of proficient CNNs contain pooling layers.
30
+
31
+ A third way to describe neuron activity is by exploring the images that maximally activate the neuron. One of the most relevant works pursuing the visualization of intermediate features, is the one proposed by Zeiler & Fergus (2014), where they project intrinsic features of neurons from the image that have provoked a maximum spike to a certain neuron, the network representation is projected into the image space by isolating them in the deconvolution approach Zeiler et al. (2010). By observing different projections that maximally activate a certain neuron they get the intuition about the main features learned on the network. Later on, in Springenberg et al. (2015) the guided backpropagation improves the deconvolution approach by a new way of inverting rectified linear (ReLu) nonlinearities, achieving better visualizations of the activations. These approaches present a main drawback, their feature visualization is image-specific, since the maximum activation of a neuron not always generalize the intrinsic feature of the neuron. To solve this problem, in some works instead of using the image that provokes the maximum activation, they use optimization techniques to generate an image that maximizes the activation. The key point of these works is using an appropriate regularization in the generation process, otherwise, the resulting image appearance is unrealistic and difficult to understand. Simonyan et al. (2014) propose a method to generate an image which is representative of a certain class by maximizing the score of this image to be classified in a certain class (or highly activates the specified neuron) with an $L _ { 2 }$ -regularization. A similar work was performed afterwards in Yosinski et al. (2015) but taking advantage of combining three different regularizations to achieve more recognizable images. Although they have explored different regularizations to achieve more realistic intrinsic feature representations, their visualizations present important artifacts that complicate the understanding of the intrinsic property.
32
+
33
+ Finally, other works focus on proposing approaches able to reconstruct the input image given a feature map, going further of analyzing the individual neuron activity. Mahendran & Vedaldi (2015) make use of optimization algorithms to search for an image whose feature map best matches a given feature map by incorporating natural image priors. Contrary, in Dosovitskiy & Brox (2015), the authors propose to reconstruct the input image from its feature maps of a given convolutional network by training a new deconvolutional network to learn filter weights that minimize the image reconstruction error when these filters are applied to the image feature maps. With this approach they are also able to get an image reconstruction with natural priors.
34
+
35
+ In the second subset of empirical approaches, Alexey Dosovitskiy (2015) train a generative deconvolutional network to create images from neuron activations. With this methodology, the variation of the activations enables the visualization of the differences in the generated images. A similar analysis is done by Aubry & Russell (2015), but instead of forward-propagate different activations to the image space and comparing them, they observe the changes on neuron activations when similar computer-generated images with different scene factors are introduced into a CNN. These works contribute in giving a deeper understanding on the internal CNN behavior. Both works conclude that there are specific neurons which are sensitive to color changes, point of views, scale or lighting configurations.
36
+
37
+ Likewise, in Zeiler & Fergus (2014) in this work we pursuit visualizing the intrinsic feature of a neuron by analyzing the images that maximally activates a specific neuron. However, to avoid the lack of generality of this approach, we define the Neuron Feature which is not based on a single maximum activation. The Neuron Feature is a weighted average version of a set of maximum activation images that capture the essential properties shared by the most important activations and makes it not to be image-specific. Additionally, our Neuron Feature overcomes the problem of unrealistic representation we metnioned earlier, by directly averaging on the image space. In this way we achieve two main advantages: (a) keeping the properties of the natural images, and (b) providing a very straightforward approach to compute it.
38
+
39
+ ![](images/0204076260902bf8f42015443e877c4cbca53d9cfd28aecfc5a3a6d3427e5f70.jpg)
40
+ Figure 1: Normalized activations of a subset of neurons for the first 400 ranked images through all convolutional layers. For each layer we plot the normalized activation for the neurons with highest and smallest AUC (Area Under Curve), and some other examples in between these extremes. For all neurons the highest normalized activations is 1, and the percentage of AUC is computed with respect to the neuron AUC achieving the biggest area in the entire network.
41
+
42
+ Afterwards, we introduce the concept of neuron selectivity index, that is used in human vision research to characterize the response of specific cells to specific stimuli (Shapley & Hawken (2011)). This concept allows to achieve a higher level of abstraction in the understanding of a single neuron. In this work we provide two selectivity indexes which are different in their essence: a color selectivity index that quantifies the degree of response of a neuron to a specific color; a class selectivity index that quantifies the degree of response of a neuron to a specific class label. Indexes are derived from the neuron feature or directly from the set of images with maximum activations. We analyze both indexes on a VGG-M network (Chatfield et al. (2014)) trained on ImageNet (Deng et al. (2009)) and we confirm their flexibility to cluster neurons according to their index values and extract conclusions in terms of their task in the net. By selecting color selective neurons we are able to outline how color is represented by the network. Curiously we found some parallelism between color representation in the first convolutional layer and known evidences about the representation in the human visual system. Color selective-neurons also show some preferences towards specific colors which coincide with ImageNet color biases. Indexing on class selectivity neurons we found highly class selective neurons like digital-clock at conv2, cardoon at conv3 and ladybug at conv5, much before the fully connected layers.
43
+
44
+ # 2 NEURON FEATURE
45
+
46
+ As we mentioned in the previous section we propose to visualize the image feature that activates a neuron, whenever is possible, by directly computing a weighted average of the $N$ -th first images that maximally activate this neuron. We will refer to it as the Neuron Feature (NF).
47
+
48
+ In order to build the NF we need to calculate the activations associated to each individual neuron. They need to be accordingly ranked with the rest of activations of the layer. For each neuron we select the set of images that achieve a minimum normalized activation value but constrained to a maximum number of images for practical reasons. By normalized activation we mean the value of the maximum activation of a neuron for a specific input image, which is normalized by the maximum of these values achieved by the same neuron over all the images in the dataset.
49
+
50
+ In Fig. 1 we can see the behavior of the ranked normalized responses of a subset of neurons for every convolution layer of the VGG-M CNN trained on ImageNet by Chatfield et al. (2014). The y-axis represents the normalized activation value of a single neuron to an image of the dataset. Images are ranked on the $\mathbf { X }$ -axis according with their activation value, from highest to lowest activation (we just plot the first 400 images for each neuron). Therefore, the first relative activation value is always 1 for all neurons and then the normalized activation values decrease monotonically. This normalization allows to compare different neuron behaviors, from neurons which are activated by most of the images (flatter behavior), to neurons that highly activates only for a subset of images and have very little activation for the rest (steeper behavior). In this figure we also provide the percentage of area for each plotted curve. This percentage is computed over the area of the neuron that presents the maximum AUC in the entire architecture. We can observe different behaviors in all layers. In general, we can state that in deeper layers the behavior of the neurons is steeper (lower AUC), i.e. neurons highly spike for a small number of images. However, in shallower layers the behavior is flatter, i.e. neurons highly spike for a lot of images. This is an expected behavior, since the image features spiking neurons in first layers (e.g. oriented edges) are shared by almost all the images, while the features spiking shallow neurons are more selective features (e.g. faces) that only spike for specific images. The observation of the responses confirms the adequacy of our assumption to fix a minimum value for the activation and a maximum number of images to capture the most important activations for all the neurons. Similar observations have been made for other networks like VGG-S and VGG-F Chatfield et al. (2014) 1.
51
+
52
+ ![](images/bc333c47e3a2156f0c6e04657a0f50c1d14adaa6eef8573e29aa44452330362e.jpg)
53
+ Figure 2: Neuron Feature (NF) visualizations (top) for 5 neuronsof the different convolutional layers of VGG-M with their corresponding 100 cropped images (bottom). We scale all layers to the same size due to space constraints.
54
+
55
+ ![](images/eabb814d949626d99a3357fde25e7c632a6ca4811368de4893acef50f1fbddd9.jpg)
56
+ Figure 3: Examples of NFs for each convolutional layer of the network VGG-M (see section 4.1. (a) 20 examples of structured NF, (b), blurred NF. Although sizes of NF increments through layers, we scale them into the same size. Original sizes are: 7x7x3 , 27x27x3, 75x75x3, $1 0 7 \mathrm { x } 1 0 7 \mathrm { x } 3$ and $1 3 9 \mathrm { x } 1 3 9 \mathrm { x } 3$ for conv1, conv2, conv3, conv4 and conv5, respectively.
57
+
58
+ Thus, the NF is computed as:
59
+
60
+ $$
61
+ N F ( n ^ { L , i } ) = \frac { 1 } { N _ { m a x } } \sum _ { j = 1 } ^ { N _ { m a x } } w _ { j , i , L } I _ { j }
62
+ $$
63
+
64
+ where $w _ { j , i , L }$ is the relative activation of the $j$ -th cropped image, denoted as $I _ { j }$ , of the $i$ -th neuron $n ^ { L , i }$ at layer $L$ . The relative activation is the activation $a _ { j , i }$ of a neuron, given a input image, with respect to its maximum activation obtained for any image, $\begin{array} { r } { \dot { w } _ { j , i , L } = \frac { a _ { j , i } } { a _ { m a x , i } } } \end{array}$ where $a _ { m a x , i } = \operatorname* { m a x } a _ { k , i } , \forall k$ .
65
+
66
+ In Fig. 2 we can see some NFs and their corresponding set of first 100 maximum activations, and in Fig. 3 (a) we can see a selected subset of $2 0 \mathrm { N F }$ per layer. In this image we can identify specific shapes that display the intrinsic property that fires a single neuron. At first glance, we can see how in this particular network the first two layers are devoted to basic properties. Oriented edges of different frequencies and in different colors in the first layer; textures, blobs, bars and more specific curves in the second layer. The rest of the layers seem to be devoted to more complex objects. We can see that dog and human faces, cars and flowers are detected at different scales in different layers, since the size of the NF and their corresponding cropped images increase with depth. This visualization of the neuron activity can be seen as a way to visualize a trained vocabulary of the CNN that opens multiple ways to analyze the global behavior of the network from its single units. However, not all neurons present such a clear tuning to an identifiable shape. Some neurons present a blurred version of NF, such as, those in Fig. 3(b). The level of blurring is directly related to a high variability between the maximally activated images for a neuron.
67
+
68
+ At this point, we want to make a short parenthesis to relate the previous representational observations with the scientific problem about neural coding that is focus of attention in visual brain research (Kriegeskorte & Kreiman (2011)). We are referring to the hypothesis about distributed representations that encode object information in neuron population codes, that co-exist with strong evidences of neurons which are only activated by a very specific object. In line with this idea, we invite to speculate about neurons presenting a highly structured NF could be closer to localist code neurons while neurons with a blurred NF as closer to a distributed code. We return on this discussion later on at sections 4.3 and 5.
69
+
70
+ Finally, we want to add a further analysis about how neuron feature is related to the neuron activity is representing. In Fig. 4 we plot the level of the neuron responses when the input image is its own NF. We can observe a high degree of activation (in green) between the NF and the response of the net to this feature. However we have some disagreements between the NF and the neuron activations: an important example is shown in layer 2, that is curiously bigger than in layer 3 and 4. This is explained by the high number of dead neurons2 and also by a higher presence of texture selective neurons, that is observed in Fig. 3. Another example, which is more understandable, is the clear increase of disagreement that happens through layers 3, 4 and 5, that seems to be explained by an increase in invariance that is obvious when the size of the image increases.
71
+
72
+ ![](images/3e15e431a10f442e23ee018e2a9d7bb95132b38afc8fc4f4276f0cba02508f52.jpg)
73
+ Figure 4: Number of neurons and degree of activation as a response to their own NF. Activations values are normalized to a specific range within each layer.
74
+
75
+ ![](images/269bd2c285bed5348fb4bd4742f3382a7c289711514d4782091a8ffba0e55a6e.jpg)
76
+ Figure 5: Conv1 NFs sorted by their color selectivity index.
77
+
78
+ # 3 NEURON SELECTIVITY INDEX
79
+
80
+ In this section we propose to describe neurons by their inherent response to a specific property, using an index. The index has to allow to rank them in a proportional order between their response and the existence of the property in the input image. Therefore, we translate the problem of describing neuron activity to the problem of proposing methods which are able to quantify specific image facets that correlate with the degree of activation of the neuron holding such a property. A selectivity index of a single unit is a flexible an independent method for discriminating or clustering between neurons inside the same network. Selectivity indexes can be defined either for image features or for image labels. In what follows, we propose two selectivity indexes one on each group.
81
+
82
+ # 3.1 COLOR SELECTIVITY INDEX
83
+
84
+ Color selectivity is a property that can be proved in specific neurons of the human brain. The level of activation of the neuron when the observer is exposed to a stimulus with a strong color bias, and its corresponding low activation when the color is not present, is the object of attention in vision research that pursuits the understanding of how color is coded in the human visual system (Shapley & Hawken (2011),Conway & Tsao (2009)).
85
+
86
+ Here we propose a method to compute a color selectivity index for neurons in artificial neural networks. We propose to base it directly on the image properties of the NF we have defined above. We quantify the selectivity to a specific chromaticity directly from the color distribution of the NF. We define this index as the angle between the first principal component (v) of the color distribution of the NF and the intensity axis (b) of the Opponent Color Space (OPP). To compute (v) we use a weighted Principal Component Analysis Delchambre (2014) that allows to strengthen the selectivity of small color areas. Weights are applied to each pixel in order to reinforce those pixels that are shared by most cropped images and that highly contribute to the NF. Therefore, the weights are the inverse of the standard deviation. In this way, a NF defined by cropped images with different colors will tend to be represented by a grayish image and its principal component will be close to the intensity axis in the OPP color space and it will receive a low selectivity index. We formulate this index (in degrees) as follows:
87
+
88
+ $$
89
+ \alpha ( n ^ { L , i } ) = { \frac { 1 } { 9 0 } } \operatorname { a r c c o s } \left( { \frac { \mathbf { b } \cdot \mathbf { v } } { \| \mathbf { b } \| \| \mathbf { v } \| } } \right)
90
+ $$
91
+
92
+ Other selectivity indexes that can be derived from this, are those related to color attributes. We can easily extract color name labels using a color naming approach such as Benavente et al. (2008) and directly define color selectivity to basic names such as red, or green, among others.
93
+
94
+ # 3.2 CLASS SELECTIVITY INDEX
95
+
96
+ Class selectivity is a property of a neuron that can help to establish its discriminative power for one specific class or can allow to cluster neurons accordingly with the ontological properties of their class labels.
97
+
98
+ We propose a method to compute a class selectivity index for individual neurons by compiling the class labels of the images that maximally activates this neuron in a single descriptor. We define class selectivity from the set of class labels of the $N$ images used to build the NF. To quantify this index we build the class label distribution of the full set of images. As in the color selectivity index, we weight the significance of a class label by the relative activation of its image. Thus, the relative frequency of each class $c$ for a certain neuron is defined as:
99
+
100
+ $$
101
+ f _ { c } ( n ^ { i , L } ) = \frac { \sum _ { j } ^ { N _ { c } } w _ { j , i , L } } { \sum _ { l } ^ { N } w _ { l , i , L } }
102
+ $$
103
+
104
+ where $N _ { c }$ refers to the number of images, among the $N$ cropped images activating this neuron, that belong to class $c$ .
105
+
106
+ Given the densities for all the classes. Finally, our class selectivity index is defined as follows:
107
+
108
+ $$
109
+ \gamma ( n ^ { L , i } ) = \frac { N - M } { N - 1 }
110
+ $$
111
+
112
+ where $M$ is the minimum number of classes that covers a pre-fixed ratio, $^ { t h }$ , of the neuron activation, this can be denoted as $\begin{array} { r } { \sum _ { c } ^ { M } f _ { c } \geq t h } \end{array}$ . This threshold allow to avoid considering class labels with very small activation weight. Jointly with the index value the selectivity provides the set of $M$ classes that describe the neuron selectivity and their corresponding relative frequency values.
113
+
114
+ Therefore, a low class selectivity index indicates a poor contribution of this neuron to a single class (minimum is 0 when $M = N$ ), while a high value (maximum is 1) indicates a strong contribution of this neuron to a single class. In between we can have different degrees of selectivity to different number of classes. Obviously, this index is irrelevant for the last fully connected layers in a CNN, but it allows to group related neurons across different convolutional layers.
115
+
116
+ Here we want to point out, that this index can also contribute to give some insights about the problem of how information is coded through layers, in the debate of localist and distributed neural codes we mentioned before (Kriegeskorte & Kreiman (2011)). Neurons with high class selectivity index should be in line with a localist code, while neurons with low class selectivity index should be part of a distributed code. This way the index is defined allow a large range of interpretations in between these two kinds of coding as it has been outlined in the visual coding literature.
117
+
118
+ # 4 RESULTS
119
+
120
+ In this section we report some empirical results to show how the proposed selectivity indexes perform and what representational conclusions we can extract from the subsets of neurons sharing indexed properties.
121
+
122
+ # 4.1 EXPERIMENTAL SETUP
123
+
124
+ In this paper we analyze the neurons of a CNN architecture trained on ImageNet ILSVRC dataset Deng et al. (2009) (using a subset of 1.2M images classified in 1.000 categories). We report the results for the VGG-M CNN that was trained by Chatfield et al. (2014) for a generic visual task of object recognition. The details of the CNN architecture are given in table 1. We selected this network since it has a similar structure to those which have been reported as having a representational performance that competes with human performance (as was proved in Cadieu et al. (2014)). Nevertheless, we have obtained similar results for VGG-F and VGG-S that are provided in Chatfield et al. (2014). We used the Matconvnet library provided by Vedaldi & Lenc (2015) for all the experiments.
125
+
126
+ <table><tr><td rowspan=1 colspan=1>conv1</td><td rowspan=1 colspan=1>conv2</td><td rowspan=1 colspan=1>conv3</td><td rowspan=1 colspan=1>conv4</td><td rowspan=1 colspan=1>conv5</td><td rowspan=1 colspan=1>full6</td><td rowspan=1 colspan=1>ful17</td><td rowspan=1 colspan=1>ful18</td></tr><tr><td rowspan=1 colspan=1>96x7x7st.2, pad.0LRN, x2 pool</td><td rowspan=1 colspan=1>256x5x5st.2, pad.1LRN, x2 pool</td><td rowspan=1 colspan=1>512x3x3st.1, pad.1</td><td rowspan=1 colspan=1>512x3x3st.1, pad.1</td><td rowspan=1 colspan=1>512x3x3st.1, pad.1x2 pool</td><td rowspan=1 colspan=1>4096dropout</td><td rowspan=1 colspan=1>4096dropout</td><td rowspan=1 colspan=1>1000softmax</td></tr></table>
127
+
128
+ Table 1: VGG-M architecture designed by Chatfield et al. (2014), where $M \times N \times P$ corresponds to number of filters, number of rows and columns of the filters respectively. $S t .$ . and pad. refers to stride and padding respectively; LRN is a ReLU and the corresponding pooling $( p o o l )$ if applied.
129
+
130
+ ![](images/ec52b975e9b7673884b7f4c98981a113f82f63806d12b5422c37a054c3332daf.jpg)
131
+ Figure 6: Neurons with different color selectivity indexes. Images in 4 rows (1st and 3rd row are NFs, 2nd and 4th rows are sets of cropped images that maximally activates the neuron).
132
+
133
+ # 4.2 COLOR SELECTIVITY
134
+
135
+ General purpose CNN architectures are usually trained on RGB color images. However there is a strong belief in the computer vision community that color is a dispensable property. The results we obtain by indexing color selective neurons make us conclude that there is no basis for such a belief. Results show that color is strongly entangled at all levels of the CNN representation. In a preliminary experiment we have tested a subset of ImageNet images with VGG-M in their original color and the same subset in a gray scale representation. Classification results show a considerable decrease: while original RGB images are classified with a $2 7 . 5 0 \%$ top-1 error and $1 0 . 1 4 \%$ top-5 error, gray scale image versions present $5 1 . 1 2 \%$ and $2 6 . 3 7 \%$ errors, top-1 and top-5 errors respectively.
136
+
137
+ In a first experiment we extract how many NFs are related to color in each convolutional layer using the proposed color selectivity index. The bars in Fig. 8 plot the relative quantity of neurons that are color selective compared to those that are not. Grey represents the ratio of neurons that do not spike for the presence of a color and reddish represent neurons that are highly activated by the presence of a color. In the graphic we can observe that shallow layers are the main responsible for the color representation on the images: $5 0 \%$ and $4 0 \%$ of neurons are color selective in layers conv1 and conv2, respectively. Nevertheless, we also still found around $2 5 \%$ of color selective neurons in in deeper layers. Therefore, although neurons in deeper layers tend to be color invariant, an important part of the representation is devoted to color, that reinforces the discriminative power of color in object recognition. In Fig. 6 we show some examples of NFs with different degrees of color selectivity at different layers of the network and showing the corresponding cropped images.
138
+
139
+ Regarding color representation in layer 1 we want to point out two more observations derived from the NFs (see Fig. 5): (a) selectivity to different spatial-frequencies is only tackled by gray-level neurons; and (b) four main color axis emerge (black-white, blue-yellow, orange-cyan and cyanmagenta). Curiously, these two observations correlate with evidences in the human visual system (Shapley & Hawken (2011)).
140
+
141
+ ![](images/38ae245bdac305005a49af38201628f343495291f93b9e70566d7c4ddf6b71b4.jpg)
142
+ Figure 7: Distribution of color selective neurons on a hue color space through layers. Maximum activation images for 4 top color selective neurons for each layer. Dashed rings connect NFs of color selective neurons through layers, from inner ring (conv1) to outer ring (conv5).
143
+
144
+ ![](images/389eb3416b3fe5532429c5273e7b5230f16c9613bad875e027ff7dc80f590d3a.jpg)
145
+ Figure 8: Number of neurons and degree of color selectivity through layers. Grayish bars are for low index values and reddish for high index values.
146
+
147
+ ![](images/edafef2e65b9e7d6de0863b0a3d4db8d04862593e8b1d81481eafa9c927daf8c.jpg)
148
+ Figure 9: Number of neurons and degree of class selectivity through layers. Grayish bars are for low index values and bluish for high index values.
149
+
150
+ In a second experiment, we analyze how color selective neurons from all layers cover the color space. Figure 7 displays the distribution of color selective neurons with $\alpha \ge 0 . 4 0$ . Each NF is plotted on the hue angle that represents the projection of its first principal component on the OPP chromaticity plane (red-green and blue-yellow components). Dashed rings identify different convolutional layers from conv1 (inner ring) to conv5 (outer ring) linking the NFs that belong to the same layer. We can appreciate the emergence of an axis (from orange to cyan) that connects a crowded area of color selective neurons. We can add a low population of NFs in the magenta area, that becomes more crowded on the opposite side where green and yellow selectivity has several neurons. The interest of this explanation relies on the fact that a similar distribution appears in the ImageNet color distribution, that is plotted at the bottom of the same images, where a similar interpretation in terms of emergent axes can be done. A more in depth study is required to prove this correlation, but we illustrate how neuron selectivity helps in the understanding of how a specific property is represented by the CNN.
151
+
152
+ # 4.3 CLASS SELECTIVITY
153
+
154
+ Following with the analysis of ranking neurons by their response to a certain property, here we focus on the proposed selectivity index that relates to image labels instead of to an image property, is the class selectivity index, which only applies for classification networks. We report the results of different experiments where we have fixed $t h = 1$ , which means we consider all the class labels for the $N = 1 0 0$ images that maximally activates the neuron. As we mentioned before, this index can enlighten how classes are encoded through the net layers, that again it can be related to the scientific problem of how general object recognition is encoded in the human brain. Here we hypothesize that the difference between localist or distributed codes could correlate with the idea of neurons highly selective to a single class and neurons highly selective to several classes, we resume on this later at section 5.
155
+
156
+ In a first experiment we analyze how many neurons present different degrees of class selectivity through layers. The bars in Fig. 9 plot the relative quantity of neurons that are class selective compared to those that are not. Grey represents the ratio of neurons that are not activated by a single class and bluish represent neurons that are highly activated by a single class. Opposite to what we showed about color selectivity, we found most of class selective neurons in deeper layers, and no class selectivity in shallow layers, as expected. We have moved from a very basic image property, color, to a very high level property, class label. This fact corroborates the idea that CNNs start by defining basic feature detectors that are share by most of the classes, and the neurons become more specialized when they belong to deeper layers representing larger areas in the image space and therefore more complex shapes. We start to have neurons with relevant class selectivity in layer conv3, where a $5 \%$ of neurons is quite class selective and we found some neurons with a degree of selective close to 1. These ratios progressively increase up to layer conv5 where we have more than a $5 0 \%$ of neurons with a class selectivity index greater than 0.6, that means that we have less than 40 different classes activating this neuron, which is a very selective ratio considering the number of classes of the ImageNet dataset. In the same layer a $2 0 \%$ of neurons present a high class selectivity index, than means less than 20 different classes. Further experiments should explore how this graphic evolves by moving from current class labels which are on the leaves of the ImageNet ontology towards higher nodes with more generic classes.
157
+
158
+ Secondly, we have visualized the properties of a set of images presenting different degrees of class selectivity in Fig. 10 for different levels of depth. We visualize each neuron with their NF visualization and the corresponding cropped images. We also show two tag clouds of each neuron. They visualize the importance of each class label. With an orange frame we plot the leave classes of the ImageNet ontology, while in the green frame we plot generic classes. This second analysis could help finding neurons that are specialized to a general semantic concept that different final classes share. Note that neurons with high class selectivity index have a set of cropped images that we can identify as belonging to the same class.
159
+
160
+ Finally we stress the utility of ranking images by selectivity indexes in Fig. 11, where we show interesting neurons in different convolutional layers that present high values for both selectivity indexes, neurons which are both, color and class selective.
161
+
162
+ # 5 CONCLUSIONS
163
+
164
+ In this paper we propose a framework to analyze a trained CNN by dissecting individual neurons using their indexes of selectivity to specific properties. We have proposed two properties of different nature: (a) color, that is a low-level image property that we have shown to be entangled in all the representations levels of the net; (b) class label, that is a high-level image property that can be analyzed at different levels of abstraction. We have shown that while the number of color selective neurons decreases with depth, the number of class selective neuron increases. In this line of describing the activity of individual images, we have also proposed to visualize the activity with what we have called the neuron feature (NF), that allows to arise interesting structures that are shared by the images that highly activate a neuron.
165
+
166
+ The proposed work have made us to speculate about two different ways to address the coding properties of individual neurons (localist versus distributed). Firstly, we have mentioned the possibility that a blurred NF, i.e. without a clear structure, belongs to a neuron that can be part of a distributed code where the neuron does not represent a selectivity to a single shape, maybe to diverse shapes than can be part of a code in deeper neurons. Secondly, we speculate about the possibility that neurons with high class selective index can represent a localist code, and part of a distributed when is low. In parallel, the analysis of the color selective neurons have made to arise some parallelism between color representation in the 1st convolutional layer and known evidences about the representation in the human visual system.
167
+
168
+ ![](images/826a14425cb5a5a953fbdc7fb8a24c699475862a82ae5cded3c360c4c2e80e81.jpg)
169
+ Figure 10: Neurons with different class selectivity indexes. For each neuron two images (top: NF, bottom: cropped images) and two tag clouds (top: leave classes, bottom: all classes in the ontology).
170
+
171
+ ![](images/6b3f1a583f754b14d49b9250a1f19ec877fac1f49023d6121dede424b497c131.jpg)
172
+ Figure 11: Examples of neurons with high color and class selectivity indexes.
173
+
174
+ As further work we need to fully exploit the potential of the indexes in different CNN architectures, and defining new selectivity indexes like shape or texture, that could be a perfect complement to current ones.
175
+
176
+ # ACKNOWLEDGMENTS
177
+
178
+ Project funded by MINECO Ref. TIN (TIN2014-61068-R)
179
+
180
+ # REFERENCES
181
+
182
+ Thomas Brox Alexey Dosovitskiy, Jost Tobias Springenberg. Learning to generate chairs with convolutional neural networks. In CVPR, 2015.
183
+
184
+ Sanjeev Arora, Aditya Bhaskara, Rong Ge, and Tengyu Ma. Provable bounds for learning some deep representations. In ICML, pp. 584–592, 2014.
185
+
186
+ Mathieu Aubry and Bryan C. Russell. Understanding deep features with computer-generated imagery. In ICCV, 2015.
187
+
188
+ Robert Benavente, Maria Vanrell, and Ramon Baldrich. Parametric fuzzy sets for automatic color naming. JOSA, 25(10):2582–2593, Oct 2008.
189
+
190
+ Charles F Cadieu, Ha Hong, Daniel L K Yamins, Nicolas Pinto, Diego Ardila, Ethan A Solomon, Najib J Majaj, and James J DiCarlo. Deep neural networks rival the representation of primate it cortex for core visual object recognition. PLoS computational biology, 10, 2014 Dec 2014.
191
+
192
+ K. Chatfield, K. Simonyan, A. Vedaldi, and A. Zisserman. Return of the devil in the details: Delving deep into convolutional nets. In BMVC, 2014.
193
+
194
+ Bevil R. Conway and Doris Y. Tsao. Color-tuned neurons are spatially clustered according to color preference within alert macaque posterior inferior temporal cortex. Proc Natl Acad Sci U S A., 42 (106):18034–18039, 2009.
195
+
196
+ L. Delchambre. Weighted principal component analysis: a weighted covariance eigendecomposition approach. MNRAS, 446:3545–3555, 2014.
197
+
198
+ J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei-Fei. ImageNet: A Large-Scale Hierarchical Image Database. In CVPR09, 2009.
199
+
200
+ Alexey Dosovitskiy and Thomas Brox. Inverting visual representations with convolutional networks. CoRR, abs/1506.02753, 2015. URL http://arxiv.org/abs/1506.02753.
201
+
202
+ Ian J. Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. CoRR, abs/1412.6572, 2014. URL http://arxiv.org/abs/1412.6572.
203
+
204
+ Nicolaus Kriegeskorte and Gabriel Kreiman. Visual Population Codes - Toward a Common Multivariate Framework for Cell Recording and Functional Imaging. MIT Press, 2011.
205
+
206
+ Yixuan Li, Jason Yosinski, Jeff Clune, Hod Lipson, and John E. Hopcroft. Convergent learning: Do different neural networks learn the same representations? In ICLR, 2016.
207
+
208
+ Aravindh Mahendran and Andrea Vedaldi. Understanding deep image representations by inverting them. CVPR, 2015.
209
+
210
+ Gregoire Montavon, Mikio Braun, and Klaus-Robert M ´ uller. Kernel analysis of deep networks.¨ JMLR, 12:2563–2581, 2011.
211
+
212
+ Arnab Paul and Suresh Venkatasubramanian. Why does deep learning work? - A perspective from group theory. CoRR, abs/1412.6621, 2014. URL http://arxiv.org/abs/1412.6621.
213
+
214
+ Ivet Rafegas and Maria Vanrell. Color spaces emerging from deep convolutional networks. In CIC, 2016.
215
+
216
+ Robert Shapley and Michael J. Hawken. Color in the cortex: Single- and double-opponent cells. VR, 51(7):701–717, 4 2011.
217
+
218
+ Karen Simonyan, Andrea Vedaldi, and Andrew Zisserman. Deep inside convolutional networks: Visualising image classification models and saliency maps. In In ICLR Workshop 2014, 2014.
219
+
220
+ Jost Tobias Springenberg, Alexey Dosovitskiy, Thomas Brox, and Martin A. Riedmiller. Striving for simplicity: The all convolutional net. ICLR, 2015.
221
+
222
+ A. Vedaldi and K. Lenc. Matconvnet – convolutional neural networks for matlab. 2015.
223
+
224
+ Jason Yosinski, Jeff Clune, Anh Nguyen, Thomas Fuchs, and Hod Lipson. Understanding neural networks through deep visualization. In Deep Learning Workshop, (ICML), 2015.
225
+
226
+ Matthew D. Zeiler and Rob Fergus. Visualizing and understanding convolutional networks. In ECCV, 2014.
227
+
228
+ Matthew D. Zeiler, Dilip Krishnan, Graham W. Taylor, and Rob Fergus. Deconvolutional networks. In CVPR, 2010.
parse/train/SJBr9Mcxl/SJBr9Mcxl_content_list.json ADDED
@@ -0,0 +1,1237 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "UNDERSTANDING TRAINED CNNS BY INDEXING NEURON SELECTIVITY ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 99,
9
+ 756,
10
+ 145
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Ivet Rafegas & Maria Vanrell ",
17
+ "bbox": [
18
+ 184,
19
+ 170,
20
+ 393,
21
+ 184
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Computer Vision Center \nUniversitat Autonoma de Barcelona \\` \nBellaterra, Barcelona (Spain) \n{ivet.rafegas, maria.vanrell}@uab.cat \nLu´ıs A. Alexandre \nDepartment of Computer Science \nUniversidade da Beira Interior \nCovilha , Portugal ˜ \nlfbaa@ubi.pt ",
28
+ "bbox": [
29
+ 183,
30
+ 185,
31
+ 544,
32
+ 241
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "",
39
+ "bbox": [
40
+ 576,
41
+ 170,
42
+ 797,
43
+ 239
44
+ ],
45
+ "page_idx": 0
46
+ },
47
+ {
48
+ "type": "text",
49
+ "text": "ABSTRACT ",
50
+ "text_level": 1,
51
+ "bbox": [
52
+ 454,
53
+ 276,
54
+ 544,
55
+ 291
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "The impressive performance and plasticity of convolutional neural networks to solve different vision problems are shadowed by their black-box nature and its consequent lack of full understanding. To reduce this gap we propose to describe the activity of individual neurons by quantifying their inherent selectivity to specific properties. Our approach is based on the definition of feature selectivity indexes that allow the ranking of neurons according to specific properties. Here we report the results of exploring selectivity indexes for: (a) an image feature (color); and (b) an image label (class membership). Our contribution is a framework to seek or classify neurons by indexing on these selectivity properties. It helps to find color selective neurons, such as a red-mushroom neuron in layer conv4 or class selective neurons such as dog-face neurons in layer conv5, and establishes a methodology to derive other selectivity properties. Indexing on neuron selectivity can statistically draw how features and classes are represented through layers at a moment when the size of trained nets is growing and automatic tools to index can be helpful. ",
62
+ "bbox": [
63
+ 233,
64
+ 306,
65
+ 764,
66
+ 513
67
+ ],
68
+ "page_idx": 0
69
+ },
70
+ {
71
+ "type": "text",
72
+ "text": "1 INTRODUCTION ",
73
+ "text_level": 1,
74
+ "bbox": [
75
+ 176,
76
+ 537,
77
+ 336,
78
+ 554
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "In parallel with the success of CNNs to solve vision problems, there is a growing interest in developing methodologies to understand and visualize the internal representations of these networks. How the responses of a trained CNN encode the visual information is a fundamental question for computer and eventually for human vision. ",
85
+ "bbox": [
86
+ 174,
87
+ 568,
88
+ 823,
89
+ 625
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "Several works have proposed different methodologies to address the understanding problem. Recently, in Li et al. (2016) two main groups of works are mentioned. On one side those works that deal with the problem from a theoretical point of view. These are works such as Montavon et al. (2011) where kernel sequences are used to conclude that deep networks create increasingly better representations as the number of layer increases, Paul & Venkatasubramanian (2014) which explains why a deep learning network learns simple features first and that the representation complexity increases as the layers get deeper, Goodfellow et al. (2014) where an explanation for why an adversarial example created for one network is still valid in many others and they usually assign it the same (wrong) class, or Arora et al. (2014) that presents algorithms for training certain deep generative models with provable polynomial running time. On the other side, an empirical point of view, which comprises approaches that pursuit methodologies to visualize intermediate features in the image space, or approaches that analyze the effect of modifying a given feature map in a neuron activation. Our work is framed in the first subset of empirical approaches. ",
96
+ "bbox": [
97
+ 174,
98
+ 631,
99
+ 825,
100
+ 811
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "Visualizing intermediate features seeks to describe the activity of individual neurons. This description is the basis of this work hypothesis that is based on the idea that a proper understanding of the activity of the individual neurons allow us to draw a map of the CNN behavior. This behavior can be understood either in terms of relevant image features or in terms of the discriminative power of the neurons across the full architecture. ",
107
+ "bbox": [
108
+ 174,
109
+ 819,
110
+ 823,
111
+ 888
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "The first and most obvious way to describe the activity of a single neuron is given by the inherent set of weights of the learned filters. These weights can be used to compare neurons between them, either within the same layer or versus neurons in similar CNNs which have been trained under different initialization conditions, as it is proposed by Li et al. (2016). A direct visualization of these weights is intuitive when they belong to neurons of a first convolutional layer. However, when layers are stacked, that intuition disappears and the capability to understand the neuron activity is lost. ",
118
+ "bbox": [
119
+ 174,
120
+ 895,
121
+ 823,
122
+ 924
123
+ ],
124
+ "page_idx": 0
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "",
129
+ "bbox": [
130
+ 174,
131
+ 103,
132
+ 823,
133
+ 159
134
+ ],
135
+ "page_idx": 1
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "A second method to describe neuron activity is projecting the filter weights into the image space, trying to get the inherent feature that maximally activates the filter. The projection can be computed by composing the inversion of the layer operators under a specific neuron towards the image space: this was called a Decoded Filter (DF) in Rafegas & Vanrell (2016). The resulting image represents an estimation of the feature that should highly activate such neuron. The disentangling algorithm that inverts the filter would give a good estimation of the feature image if most of the layer operators were invertible. However, when the number of non-invertible operators increases, the estimation becomes unintelligible. The appearance of the DFs can be seen in Fig. 1 of Rafegas & Vanrell (2016). They have also been explored by Springenberg et al. (2015) for architectures with no pooling layers since pooling is the less invertible operator. They point out the interest of obtaining such a representation, since it would allow the understanding of neuron activity independently of the input image. However, the majority of proficient CNNs contain pooling layers. ",
140
+ "bbox": [
141
+ 174,
142
+ 166,
143
+ 825,
144
+ 333
145
+ ],
146
+ "page_idx": 1
147
+ },
148
+ {
149
+ "type": "text",
150
+ "text": "A third way to describe neuron activity is by exploring the images that maximally activate the neuron. One of the most relevant works pursuing the visualization of intermediate features, is the one proposed by Zeiler & Fergus (2014), where they project intrinsic features of neurons from the image that have provoked a maximum spike to a certain neuron, the network representation is projected into the image space by isolating them in the deconvolution approach Zeiler et al. (2010). By observing different projections that maximally activate a certain neuron they get the intuition about the main features learned on the network. Later on, in Springenberg et al. (2015) the guided backpropagation improves the deconvolution approach by a new way of inverting rectified linear (ReLu) nonlinearities, achieving better visualizations of the activations. These approaches present a main drawback, their feature visualization is image-specific, since the maximum activation of a neuron not always generalize the intrinsic feature of the neuron. To solve this problem, in some works instead of using the image that provokes the maximum activation, they use optimization techniques to generate an image that maximizes the activation. The key point of these works is using an appropriate regularization in the generation process, otherwise, the resulting image appearance is unrealistic and difficult to understand. Simonyan et al. (2014) propose a method to generate an image which is representative of a certain class by maximizing the score of this image to be classified in a certain class (or highly activates the specified neuron) with an $L _ { 2 }$ -regularization. A similar work was performed afterwards in Yosinski et al. (2015) but taking advantage of combining three different regularizations to achieve more recognizable images. Although they have explored different regularizations to achieve more realistic intrinsic feature representations, their visualizations present important artifacts that complicate the understanding of the intrinsic property. ",
151
+ "bbox": [
152
+ 174,
153
+ 340,
154
+ 825,
155
+ 631
156
+ ],
157
+ "page_idx": 1
158
+ },
159
+ {
160
+ "type": "text",
161
+ "text": "Finally, other works focus on proposing approaches able to reconstruct the input image given a feature map, going further of analyzing the individual neuron activity. Mahendran & Vedaldi (2015) make use of optimization algorithms to search for an image whose feature map best matches a given feature map by incorporating natural image priors. Contrary, in Dosovitskiy & Brox (2015), the authors propose to reconstruct the input image from its feature maps of a given convolutional network by training a new deconvolutional network to learn filter weights that minimize the image reconstruction error when these filters are applied to the image feature maps. With this approach they are also able to get an image reconstruction with natural priors. ",
162
+ "bbox": [
163
+ 174,
164
+ 638,
165
+ 825,
166
+ 750
167
+ ],
168
+ "page_idx": 1
169
+ },
170
+ {
171
+ "type": "text",
172
+ "text": "In the second subset of empirical approaches, Alexey Dosovitskiy (2015) train a generative deconvolutional network to create images from neuron activations. With this methodology, the variation of the activations enables the visualization of the differences in the generated images. A similar analysis is done by Aubry & Russell (2015), but instead of forward-propagate different activations to the image space and comparing them, they observe the changes on neuron activations when similar computer-generated images with different scene factors are introduced into a CNN. These works contribute in giving a deeper understanding on the internal CNN behavior. Both works conclude that there are specific neurons which are sensitive to color changes, point of views, scale or lighting configurations. ",
173
+ "bbox": [
174
+ 174,
175
+ 756,
176
+ 823,
177
+ 882
178
+ ],
179
+ "page_idx": 1
180
+ },
181
+ {
182
+ "type": "text",
183
+ "text": "Likewise, in Zeiler & Fergus (2014) in this work we pursuit visualizing the intrinsic feature of a neuron by analyzing the images that maximally activates a specific neuron. However, to avoid the lack of generality of this approach, we define the Neuron Feature which is not based on a single maximum activation. The Neuron Feature is a weighted average version of a set of maximum activation images that capture the essential properties shared by the most important activations and makes it not to be image-specific. Additionally, our Neuron Feature overcomes the problem of unrealistic representation we metnioned earlier, by directly averaging on the image space. In this way we achieve two main advantages: (a) keeping the properties of the natural images, and (b) providing a very straightforward approach to compute it. ",
184
+ "bbox": [
185
+ 173,
186
+ 888,
187
+ 823,
188
+ 916
189
+ ],
190
+ "page_idx": 1
191
+ },
192
+ {
193
+ "type": "image",
194
+ "img_path": "images/0204076260902bf8f42015443e877c4cbca53d9cfd28aecfc5a3a6d3427e5f70.jpg",
195
+ "image_caption": [
196
+ "Figure 1: Normalized activations of a subset of neurons for the first 400 ranked images through all convolutional layers. For each layer we plot the normalized activation for the neurons with highest and smallest AUC (Area Under Curve), and some other examples in between these extremes. For all neurons the highest normalized activations is 1, and the percentage of AUC is computed with respect to the neuron AUC achieving the biggest area in the entire network. "
197
+ ],
198
+ "image_footnote": [],
199
+ "bbox": [
200
+ 174,
201
+ 104,
202
+ 820,
203
+ 208
204
+ ],
205
+ "page_idx": 2
206
+ },
207
+ {
208
+ "type": "text",
209
+ "text": "",
210
+ "bbox": [
211
+ 174,
212
+ 321,
213
+ 825,
214
+ 420
215
+ ],
216
+ "page_idx": 2
217
+ },
218
+ {
219
+ "type": "text",
220
+ "text": "Afterwards, we introduce the concept of neuron selectivity index, that is used in human vision research to characterize the response of specific cells to specific stimuli (Shapley & Hawken (2011)). This concept allows to achieve a higher level of abstraction in the understanding of a single neuron. In this work we provide two selectivity indexes which are different in their essence: a color selectivity index that quantifies the degree of response of a neuron to a specific color; a class selectivity index that quantifies the degree of response of a neuron to a specific class label. Indexes are derived from the neuron feature or directly from the set of images with maximum activations. We analyze both indexes on a VGG-M network (Chatfield et al. (2014)) trained on ImageNet (Deng et al. (2009)) and we confirm their flexibility to cluster neurons according to their index values and extract conclusions in terms of their task in the net. By selecting color selective neurons we are able to outline how color is represented by the network. Curiously we found some parallelism between color representation in the first convolutional layer and known evidences about the representation in the human visual system. Color selective-neurons also show some preferences towards specific colors which coincide with ImageNet color biases. Indexing on class selectivity neurons we found highly class selective neurons like digital-clock at conv2, cardoon at conv3 and ladybug at conv5, much before the fully connected layers. ",
221
+ "bbox": [
222
+ 174,
223
+ 428,
224
+ 825,
225
+ 648
226
+ ],
227
+ "page_idx": 2
228
+ },
229
+ {
230
+ "type": "text",
231
+ "text": "2 NEURON FEATURE ",
232
+ "text_level": 1,
233
+ "bbox": [
234
+ 176,
235
+ 669,
236
+ 361,
237
+ 685
238
+ ],
239
+ "page_idx": 2
240
+ },
241
+ {
242
+ "type": "text",
243
+ "text": "As we mentioned in the previous section we propose to visualize the image feature that activates a neuron, whenever is possible, by directly computing a weighted average of the $N$ -th first images that maximally activate this neuron. We will refer to it as the Neuron Feature (NF). ",
244
+ "bbox": [
245
+ 176,
246
+ 700,
247
+ 825,
248
+ 742
249
+ ],
250
+ "page_idx": 2
251
+ },
252
+ {
253
+ "type": "text",
254
+ "text": "In order to build the NF we need to calculate the activations associated to each individual neuron. They need to be accordingly ranked with the rest of activations of the layer. For each neuron we select the set of images that achieve a minimum normalized activation value but constrained to a maximum number of images for practical reasons. By normalized activation we mean the value of the maximum activation of a neuron for a specific input image, which is normalized by the maximum of these values achieved by the same neuron over all the images in the dataset. ",
255
+ "bbox": [
256
+ 174,
257
+ 750,
258
+ 823,
259
+ 833
260
+ ],
261
+ "page_idx": 2
262
+ },
263
+ {
264
+ "type": "text",
265
+ "text": "In Fig. 1 we can see the behavior of the ranked normalized responses of a subset of neurons for every convolution layer of the VGG-M CNN trained on ImageNet by Chatfield et al. (2014). The y-axis represents the normalized activation value of a single neuron to an image of the dataset. Images are ranked on the $\\mathbf { X }$ -axis according with their activation value, from highest to lowest activation (we just plot the first 400 images for each neuron). Therefore, the first relative activation value is always 1 for all neurons and then the normalized activation values decrease monotonically. This normalization allows to compare different neuron behaviors, from neurons which are activated by most of the images (flatter behavior), to neurons that highly activates only for a subset of images and have very little activation for the rest (steeper behavior). In this figure we also provide the percentage of area for each plotted curve. This percentage is computed over the area of the neuron that presents the maximum AUC in the entire architecture. We can observe different behaviors in all layers. In general, we can state that in deeper layers the behavior of the neurons is steeper (lower AUC), i.e. neurons highly spike for a small number of images. However, in shallower layers the behavior is flatter, i.e. neurons highly spike for a lot of images. This is an expected behavior, since the image features spiking neurons in first layers (e.g. oriented edges) are shared by almost all the images, while the features spiking shallow neurons are more selective features (e.g. faces) that only spike for specific images. The observation of the responses confirms the adequacy of our assumption to fix a minimum value for the activation and a maximum number of images to capture the most important activations for all the neurons. Similar observations have been made for other networks like VGG-S and VGG-F Chatfield et al. (2014) 1. ",
266
+ "bbox": [
267
+ 174,
268
+ 840,
269
+ 823,
270
+ 922
271
+ ],
272
+ "page_idx": 2
273
+ },
274
+ {
275
+ "type": "image",
276
+ "img_path": "images/bc333c47e3a2156f0c6e04657a0f50c1d14adaa6eef8573e29aa44452330362e.jpg",
277
+ "image_caption": [
278
+ "Figure 2: Neuron Feature (NF) visualizations (top) for 5 neuronsof the different convolutional layers of VGG-M with their corresponding 100 cropped images (bottom). We scale all layers to the same size due to space constraints. "
279
+ ],
280
+ "image_footnote": [],
281
+ "bbox": [
282
+ 179,
283
+ 145,
284
+ 813,
285
+ 257
286
+ ],
287
+ "page_idx": 3
288
+ },
289
+ {
290
+ "type": "image",
291
+ "img_path": "images/eabb814d949626d99a3357fde25e7c632a6ca4811368de4893acef50f1fbddd9.jpg",
292
+ "image_caption": [
293
+ "Figure 3: Examples of NFs for each convolutional layer of the network VGG-M (see section 4.1. (a) 20 examples of structured NF, (b), blurred NF. Although sizes of NF increments through layers, we scale them into the same size. Original sizes are: 7x7x3 , 27x27x3, 75x75x3, $1 0 7 \\mathrm { x } 1 0 7 \\mathrm { x } 3$ and $1 3 9 \\mathrm { x } 1 3 9 \\mathrm { x } 3$ for conv1, conv2, conv3, conv4 and conv5, respectively. "
294
+ ],
295
+ "image_footnote": [],
296
+ "bbox": [
297
+ 171,
298
+ 411,
299
+ 779,
300
+ 813
301
+ ],
302
+ "page_idx": 3
303
+ },
304
+ {
305
+ "type": "text",
306
+ "text": "",
307
+ "bbox": [
308
+ 174,
309
+ 103,
310
+ 825,
311
+ 297
312
+ ],
313
+ "page_idx": 4
314
+ },
315
+ {
316
+ "type": "text",
317
+ "text": "Thus, the NF is computed as: ",
318
+ "bbox": [
319
+ 176,
320
+ 305,
321
+ 367,
322
+ 319
323
+ ],
324
+ "page_idx": 4
325
+ },
326
+ {
327
+ "type": "equation",
328
+ "img_path": "images/35a37e2ddf7581485acc6c739d1222ed28051cb2535e64042b5de4408294dc80.jpg",
329
+ "text": "$$\nN F ( n ^ { L , i } ) = \\frac { 1 } { N _ { m a x } } \\sum _ { j = 1 } ^ { N _ { m a x } } w _ { j , i , L } I _ { j }\n$$",
330
+ "text_format": "latex",
331
+ "bbox": [
332
+ 383,
333
+ 325,
334
+ 614,
335
+ 371
336
+ ],
337
+ "page_idx": 4
338
+ },
339
+ {
340
+ "type": "text",
341
+ "text": "where $w _ { j , i , L }$ is the relative activation of the $j$ -th cropped image, denoted as $I _ { j }$ , of the $i$ -th neuron $n ^ { L , i }$ at layer $L$ . The relative activation is the activation $a _ { j , i }$ of a neuron, given a input image, with respect to its maximum activation obtained for any image, $\\begin{array} { r } { \\dot { w } _ { j , i , L } = \\frac { a _ { j , i } } { a _ { m a x , i } } } \\end{array}$ where $a _ { m a x , i } = \\operatorname* { m a x } a _ { k , i } , \\forall k$ . ",
342
+ "bbox": [
343
+ 174,
344
+ 377,
345
+ 825,
346
+ 424
347
+ ],
348
+ "page_idx": 4
349
+ },
350
+ {
351
+ "type": "text",
352
+ "text": "In Fig. 2 we can see some NFs and their corresponding set of first 100 maximum activations, and in Fig. 3 (a) we can see a selected subset of $2 0 \\mathrm { N F }$ per layer. In this image we can identify specific shapes that display the intrinsic property that fires a single neuron. At first glance, we can see how in this particular network the first two layers are devoted to basic properties. Oriented edges of different frequencies and in different colors in the first layer; textures, blobs, bars and more specific curves in the second layer. The rest of the layers seem to be devoted to more complex objects. We can see that dog and human faces, cars and flowers are detected at different scales in different layers, since the size of the NF and their corresponding cropped images increase with depth. This visualization of the neuron activity can be seen as a way to visualize a trained vocabulary of the CNN that opens multiple ways to analyze the global behavior of the network from its single units. However, not all neurons present such a clear tuning to an identifiable shape. Some neurons present a blurred version of NF, such as, those in Fig. 3(b). The level of blurring is directly related to a high variability between the maximally activated images for a neuron. ",
353
+ "bbox": [
354
+ 173,
355
+ 429,
356
+ 825,
357
+ 611
358
+ ],
359
+ "page_idx": 4
360
+ },
361
+ {
362
+ "type": "text",
363
+ "text": "At this point, we want to make a short parenthesis to relate the previous representational observations with the scientific problem about neural coding that is focus of attention in visual brain research (Kriegeskorte & Kreiman (2011)). We are referring to the hypothesis about distributed representations that encode object information in neuron population codes, that co-exist with strong evidences of neurons which are only activated by a very specific object. In line with this idea, we invite to speculate about neurons presenting a highly structured NF could be closer to localist code neurons while neurons with a blurred NF as closer to a distributed code. We return on this discussion later on at sections 4.3 and 5. ",
364
+ "bbox": [
365
+ 173,
366
+ 617,
367
+ 825,
368
+ 729
369
+ ],
370
+ "page_idx": 4
371
+ },
372
+ {
373
+ "type": "text",
374
+ "text": "Finally, we want to add a further analysis about how neuron feature is related to the neuron activity is representing. In Fig. 4 we plot the level of the neuron responses when the input image is its own NF. We can observe a high degree of activation (in green) between the NF and the response of the net to this feature. However we have some disagreements between the NF and the neuron activations: an important example is shown in layer 2, that is curiously bigger than in layer 3 and 4. This is explained by the high number of dead neurons2 and also by a higher presence of texture selective neurons, that is observed in Fig. 3. Another example, which is more understandable, is the clear increase of disagreement that happens through layers 3, 4 and 5, that seems to be explained by an increase in invariance that is obvious when the size of the image increases. ",
375
+ "bbox": [
376
+ 173,
377
+ 736,
378
+ 825,
379
+ 861
380
+ ],
381
+ "page_idx": 4
382
+ },
383
+ {
384
+ "type": "image",
385
+ "img_path": "images/3e15e431a10f442e23ee018e2a9d7bb95132b38afc8fc4f4276f0cba02508f52.jpg",
386
+ "image_caption": [
387
+ "Figure 4: Number of neurons and degree of activation as a response to their own NF. Activations values are normalized to a specific range within each layer. "
388
+ ],
389
+ "image_footnote": [],
390
+ "bbox": [
391
+ 179,
392
+ 103,
393
+ 531,
394
+ 251
395
+ ],
396
+ "page_idx": 5
397
+ },
398
+ {
399
+ "type": "image",
400
+ "img_path": "images/269bd2c285bed5348fb4bd4742f3382a7c289711514d4782091a8ffba0e55a6e.jpg",
401
+ "image_caption": [
402
+ "Figure 5: Conv1 NFs sorted by their color selectivity index. "
403
+ ],
404
+ "image_footnote": [],
405
+ "bbox": [
406
+ 625,
407
+ 104,
408
+ 823,
409
+ 256
410
+ ],
411
+ "page_idx": 5
412
+ },
413
+ {
414
+ "type": "text",
415
+ "text": "3 NEURON SELECTIVITY INDEX ",
416
+ "text_level": 1,
417
+ "bbox": [
418
+ 176,
419
+ 344,
420
+ 455,
421
+ 361
422
+ ],
423
+ "page_idx": 5
424
+ },
425
+ {
426
+ "type": "text",
427
+ "text": "In this section we propose to describe neurons by their inherent response to a specific property, using an index. The index has to allow to rank them in a proportional order between their response and the existence of the property in the input image. Therefore, we translate the problem of describing neuron activity to the problem of proposing methods which are able to quantify specific image facets that correlate with the degree of activation of the neuron holding such a property. A selectivity index of a single unit is a flexible an independent method for discriminating or clustering between neurons inside the same network. Selectivity indexes can be defined either for image features or for image labels. In what follows, we propose two selectivity indexes one on each group. ",
428
+ "bbox": [
429
+ 174,
430
+ 385,
431
+ 825,
432
+ 497
433
+ ],
434
+ "page_idx": 5
435
+ },
436
+ {
437
+ "type": "text",
438
+ "text": "3.1 COLOR SELECTIVITY INDEX ",
439
+ "text_level": 1,
440
+ "bbox": [
441
+ 176,
442
+ 527,
443
+ 411,
444
+ 541
445
+ ],
446
+ "page_idx": 5
447
+ },
448
+ {
449
+ "type": "text",
450
+ "text": "Color selectivity is a property that can be proved in specific neurons of the human brain. The level of activation of the neuron when the observer is exposed to a stimulus with a strong color bias, and its corresponding low activation when the color is not present, is the object of attention in vision research that pursuits the understanding of how color is coded in the human visual system (Shapley & Hawken (2011),Conway & Tsao (2009)). ",
451
+ "bbox": [
452
+ 174,
453
+ 558,
454
+ 825,
455
+ 628
456
+ ],
457
+ "page_idx": 5
458
+ },
459
+ {
460
+ "type": "text",
461
+ "text": "Here we propose a method to compute a color selectivity index for neurons in artificial neural networks. We propose to base it directly on the image properties of the NF we have defined above. We quantify the selectivity to a specific chromaticity directly from the color distribution of the NF. We define this index as the angle between the first principal component (v) of the color distribution of the NF and the intensity axis (b) of the Opponent Color Space (OPP). To compute (v) we use a weighted Principal Component Analysis Delchambre (2014) that allows to strengthen the selectivity of small color areas. Weights are applied to each pixel in order to reinforce those pixels that are shared by most cropped images and that highly contribute to the NF. Therefore, the weights are the inverse of the standard deviation. In this way, a NF defined by cropped images with different colors will tend to be represented by a grayish image and its principal component will be close to the intensity axis in the OPP color space and it will receive a low selectivity index. We formulate this index (in degrees) as follows: ",
462
+ "bbox": [
463
+ 174,
464
+ 636,
465
+ 825,
466
+ 803
467
+ ],
468
+ "page_idx": 5
469
+ },
470
+ {
471
+ "type": "equation",
472
+ "img_path": "images/433b1e1a5b424dc9c27e9c99499be1d0d4147d84fdca50e10a8abca6c59280d7.jpg",
473
+ "text": "$$\n\\alpha ( n ^ { L , i } ) = { \\frac { 1 } { 9 0 } } \\operatorname { a r c c o s } \\left( { \\frac { \\mathbf { b } \\cdot \\mathbf { v } } { \\| \\mathbf { b } \\| \\| \\mathbf { v } \\| } } \\right)\n$$",
474
+ "text_format": "latex",
475
+ "bbox": [
476
+ 385,
477
+ 820,
478
+ 612,
479
+ 856
480
+ ],
481
+ "page_idx": 5
482
+ },
483
+ {
484
+ "type": "text",
485
+ "text": "Other selectivity indexes that can be derived from this, are those related to color attributes. We can easily extract color name labels using a color naming approach such as Benavente et al. (2008) and directly define color selectivity to basic names such as red, or green, among others. ",
486
+ "bbox": [
487
+ 174,
488
+ 882,
489
+ 823,
490
+ 924
491
+ ],
492
+ "page_idx": 5
493
+ },
494
+ {
495
+ "type": "text",
496
+ "text": "3.2 CLASS SELECTIVITY INDEX ",
497
+ "text_level": 1,
498
+ "bbox": [
499
+ 176,
500
+ 103,
501
+ 406,
502
+ 117
503
+ ],
504
+ "page_idx": 6
505
+ },
506
+ {
507
+ "type": "text",
508
+ "text": "Class selectivity is a property of a neuron that can help to establish its discriminative power for one specific class or can allow to cluster neurons accordingly with the ontological properties of their class labels. ",
509
+ "bbox": [
510
+ 174,
511
+ 132,
512
+ 825,
513
+ 174
514
+ ],
515
+ "page_idx": 6
516
+ },
517
+ {
518
+ "type": "text",
519
+ "text": "We propose a method to compute a class selectivity index for individual neurons by compiling the class labels of the images that maximally activates this neuron in a single descriptor. We define class selectivity from the set of class labels of the $N$ images used to build the NF. To quantify this index we build the class label distribution of the full set of images. As in the color selectivity index, we weight the significance of a class label by the relative activation of its image. Thus, the relative frequency of each class $c$ for a certain neuron is defined as: ",
520
+ "bbox": [
521
+ 174,
522
+ 180,
523
+ 825,
524
+ 265
525
+ ],
526
+ "page_idx": 6
527
+ },
528
+ {
529
+ "type": "equation",
530
+ "img_path": "images/822f84a66b6daa3f06b4604051be83fd43a820f3306095c31924f7e673a83782.jpg",
531
+ "text": "$$\nf _ { c } ( n ^ { i , L } ) = \\frac { \\sum _ { j } ^ { N _ { c } } w _ { j , i , L } } { \\sum _ { l } ^ { N } w _ { l , i , L } }\n$$",
532
+ "text_format": "latex",
533
+ "bbox": [
534
+ 418,
535
+ 276,
536
+ 580,
537
+ 319
538
+ ],
539
+ "page_idx": 6
540
+ },
541
+ {
542
+ "type": "text",
543
+ "text": "where $N _ { c }$ refers to the number of images, among the $N$ cropped images activating this neuron, that belong to class $c$ . ",
544
+ "bbox": [
545
+ 173,
546
+ 329,
547
+ 825,
548
+ 358
549
+ ],
550
+ "page_idx": 6
551
+ },
552
+ {
553
+ "type": "text",
554
+ "text": "Given the densities for all the classes. Finally, our class selectivity index is defined as follows: ",
555
+ "bbox": [
556
+ 176,
557
+ 363,
558
+ 790,
559
+ 378
560
+ ],
561
+ "page_idx": 6
562
+ },
563
+ {
564
+ "type": "equation",
565
+ "img_path": "images/4dcc7d1808724fad5c43b02618529e770298efeebcad97f6df40d8eec512371d.jpg",
566
+ "text": "$$\n\\gamma ( n ^ { L , i } ) = \\frac { N - M } { N - 1 }\n$$",
567
+ "text_format": "latex",
568
+ "bbox": [
569
+ 433,
570
+ 390,
571
+ 565,
572
+ 421
573
+ ],
574
+ "page_idx": 6
575
+ },
576
+ {
577
+ "type": "text",
578
+ "text": "where $M$ is the minimum number of classes that covers a pre-fixed ratio, $^ { t h }$ , of the neuron activation, this can be denoted as $\\begin{array} { r } { \\sum _ { c } ^ { M } f _ { c } \\geq t h } \\end{array}$ . This threshold allow to avoid considering class labels with very small activation weight. Jointly with the index value the selectivity provides the set of $M$ classes that describe the neuron selectivity and their corresponding relative frequency values. ",
579
+ "bbox": [
580
+ 174,
581
+ 433,
582
+ 823,
583
+ 491
584
+ ],
585
+ "page_idx": 6
586
+ },
587
+ {
588
+ "type": "text",
589
+ "text": "Therefore, a low class selectivity index indicates a poor contribution of this neuron to a single class (minimum is 0 when $M = N$ ), while a high value (maximum is 1) indicates a strong contribution of this neuron to a single class. In between we can have different degrees of selectivity to different number of classes. Obviously, this index is irrelevant for the last fully connected layers in a CNN, but it allows to group related neurons across different convolutional layers. ",
590
+ "bbox": [
591
+ 174,
592
+ 497,
593
+ 825,
594
+ 568
595
+ ],
596
+ "page_idx": 6
597
+ },
598
+ {
599
+ "type": "text",
600
+ "text": "Here we want to point out, that this index can also contribute to give some insights about the problem of how information is coded through layers, in the debate of localist and distributed neural codes we mentioned before (Kriegeskorte & Kreiman (2011)). Neurons with high class selectivity index should be in line with a localist code, while neurons with low class selectivity index should be part of a distributed code. This way the index is defined allow a large range of interpretations in between these two kinds of coding as it has been outlined in the visual coding literature. ",
601
+ "bbox": [
602
+ 174,
603
+ 574,
604
+ 825,
605
+ 659
606
+ ],
607
+ "page_idx": 6
608
+ },
609
+ {
610
+ "type": "text",
611
+ "text": "4 RESULTS ",
612
+ "text_level": 1,
613
+ "bbox": [
614
+ 176,
615
+ 684,
616
+ 281,
617
+ 700
618
+ ],
619
+ "page_idx": 6
620
+ },
621
+ {
622
+ "type": "text",
623
+ "text": "In this section we report some empirical results to show how the proposed selectivity indexes perform and what representational conclusions we can extract from the subsets of neurons sharing indexed properties. ",
624
+ "bbox": [
625
+ 174,
626
+ 719,
627
+ 825,
628
+ 761
629
+ ],
630
+ "page_idx": 6
631
+ },
632
+ {
633
+ "type": "text",
634
+ "text": "4.1 EXPERIMENTAL SETUP ",
635
+ "text_level": 1,
636
+ "bbox": [
637
+ 176,
638
+ 784,
639
+ 372,
640
+ 797
641
+ ],
642
+ "page_idx": 6
643
+ },
644
+ {
645
+ "type": "text",
646
+ "text": "In this paper we analyze the neurons of a CNN architecture trained on ImageNet ILSVRC dataset Deng et al. (2009) (using a subset of 1.2M images classified in 1.000 categories). We report the results for the VGG-M CNN that was trained by Chatfield et al. (2014) for a generic visual task of object recognition. The details of the CNN architecture are given in table 1. We selected this network since it has a similar structure to those which have been reported as having a representational performance that competes with human performance (as was proved in Cadieu et al. (2014)). Nevertheless, we have obtained similar results for VGG-F and VGG-S that are provided in Chatfield et al. (2014). We used the Matconvnet library provided by Vedaldi & Lenc (2015) for all the experiments. ",
647
+ "bbox": [
648
+ 174,
649
+ 811,
650
+ 825,
651
+ 924
652
+ ],
653
+ "page_idx": 6
654
+ },
655
+ {
656
+ "type": "table",
657
+ "img_path": "images/3bc62250481e242926d7f55f9fbc5dfd081225e41647bd3f446c6cc39b4b1b9d.jpg",
658
+ "table_caption": [],
659
+ "table_footnote": [],
660
+ "table_body": "<table><tr><td rowspan=1 colspan=1>conv1</td><td rowspan=1 colspan=1>conv2</td><td rowspan=1 colspan=1>conv3</td><td rowspan=1 colspan=1>conv4</td><td rowspan=1 colspan=1>conv5</td><td rowspan=1 colspan=1>full6</td><td rowspan=1 colspan=1>ful17</td><td rowspan=1 colspan=1>ful18</td></tr><tr><td rowspan=1 colspan=1>96x7x7st.2, pad.0LRN, x2 pool</td><td rowspan=1 colspan=1>256x5x5st.2, pad.1LRN, x2 pool</td><td rowspan=1 colspan=1>512x3x3st.1, pad.1</td><td rowspan=1 colspan=1>512x3x3st.1, pad.1</td><td rowspan=1 colspan=1>512x3x3st.1, pad.1x2 pool</td><td rowspan=1 colspan=1>4096dropout</td><td rowspan=1 colspan=1>4096dropout</td><td rowspan=1 colspan=1>1000softmax</td></tr></table>",
661
+ "bbox": [
662
+ 173,
663
+ 101,
664
+ 815,
665
+ 155
666
+ ],
667
+ "page_idx": 7
668
+ },
669
+ {
670
+ "type": "text",
671
+ "text": "Table 1: VGG-M architecture designed by Chatfield et al. (2014), where $M \\times N \\times P$ corresponds to number of filters, number of rows and columns of the filters respectively. $S t .$ . and pad. refers to stride and padding respectively; LRN is a ReLU and the corresponding pooling $( p o o l )$ if applied. ",
672
+ "bbox": [
673
+ 173,
674
+ 165,
675
+ 825,
676
+ 208
677
+ ],
678
+ "page_idx": 7
679
+ },
680
+ {
681
+ "type": "image",
682
+ "img_path": "images/ec52b975e9b7673884b7f4c98981a113f82f63806d12b5422c37a054c3332daf.jpg",
683
+ "image_caption": [
684
+ "Figure 6: Neurons with different color selectivity indexes. Images in 4 rows (1st and 3rd row are NFs, 2nd and 4th rows are sets of cropped images that maximally activates the neuron). "
685
+ ],
686
+ "image_footnote": [],
687
+ "bbox": [
688
+ 184,
689
+ 236,
690
+ 808,
691
+ 467
692
+ ],
693
+ "page_idx": 7
694
+ },
695
+ {
696
+ "type": "text",
697
+ "text": "4.2 COLOR SELECTIVITY ",
698
+ "text_level": 1,
699
+ "bbox": [
700
+ 176,
701
+ 547,
702
+ 361,
703
+ 560
704
+ ],
705
+ "page_idx": 7
706
+ },
707
+ {
708
+ "type": "text",
709
+ "text": "General purpose CNN architectures are usually trained on RGB color images. However there is a strong belief in the computer vision community that color is a dispensable property. The results we obtain by indexing color selective neurons make us conclude that there is no basis for such a belief. Results show that color is strongly entangled at all levels of the CNN representation. In a preliminary experiment we have tested a subset of ImageNet images with VGG-M in their original color and the same subset in a gray scale representation. Classification results show a considerable decrease: while original RGB images are classified with a $2 7 . 5 0 \\%$ top-1 error and $1 0 . 1 4 \\%$ top-5 error, gray scale image versions present $5 1 . 1 2 \\%$ and $2 6 . 3 7 \\%$ errors, top-1 and top-5 errors respectively. ",
710
+ "bbox": [
711
+ 174,
712
+ 575,
713
+ 825,
714
+ 688
715
+ ],
716
+ "page_idx": 7
717
+ },
718
+ {
719
+ "type": "text",
720
+ "text": "In a first experiment we extract how many NFs are related to color in each convolutional layer using the proposed color selectivity index. The bars in Fig. 8 plot the relative quantity of neurons that are color selective compared to those that are not. Grey represents the ratio of neurons that do not spike for the presence of a color and reddish represent neurons that are highly activated by the presence of a color. In the graphic we can observe that shallow layers are the main responsible for the color representation on the images: $5 0 \\%$ and $4 0 \\%$ of neurons are color selective in layers conv1 and conv2, respectively. Nevertheless, we also still found around $2 5 \\%$ of color selective neurons in in deeper layers. Therefore, although neurons in deeper layers tend to be color invariant, an important part of the representation is devoted to color, that reinforces the discriminative power of color in object recognition. In Fig. 6 we show some examples of NFs with different degrees of color selectivity at different layers of the network and showing the corresponding cropped images. ",
721
+ "bbox": [
722
+ 173,
723
+ 694,
724
+ 825,
725
+ 847
726
+ ],
727
+ "page_idx": 7
728
+ },
729
+ {
730
+ "type": "text",
731
+ "text": "Regarding color representation in layer 1 we want to point out two more observations derived from the NFs (see Fig. 5): (a) selectivity to different spatial-frequencies is only tackled by gray-level neurons; and (b) four main color axis emerge (black-white, blue-yellow, orange-cyan and cyanmagenta). Curiously, these two observations correlate with evidences in the human visual system (Shapley & Hawken (2011)). ",
732
+ "bbox": [
733
+ 174,
734
+ 854,
735
+ 823,
736
+ 924
737
+ ],
738
+ "page_idx": 7
739
+ },
740
+ {
741
+ "type": "image",
742
+ "img_path": "images/38ae245bdac305005a49af38201628f343495291f93b9e70566d7c4ddf6b71b4.jpg",
743
+ "image_caption": [
744
+ "Figure 7: Distribution of color selective neurons on a hue color space through layers. Maximum activation images for 4 top color selective neurons for each layer. Dashed rings connect NFs of color selective neurons through layers, from inner ring (conv1) to outer ring (conv5). "
745
+ ],
746
+ "image_footnote": [],
747
+ "bbox": [
748
+ 173,
749
+ 103,
750
+ 818,
751
+ 380
752
+ ],
753
+ "page_idx": 8
754
+ },
755
+ {
756
+ "type": "image",
757
+ "img_path": "images/389eb3416b3fe5532429c5273e7b5230f16c9613bad875e027ff7dc80f590d3a.jpg",
758
+ "image_caption": [
759
+ "Figure 8: Number of neurons and degree of color selectivity through layers. Grayish bars are for low index values and reddish for high index values. "
760
+ ],
761
+ "image_footnote": [],
762
+ "bbox": [
763
+ 178,
764
+ 491,
765
+ 464,
766
+ 597
767
+ ],
768
+ "page_idx": 8
769
+ },
770
+ {
771
+ "type": "image",
772
+ "img_path": "images/edafef2e65b9e7d6de0863b0a3d4db8d04862593e8b1d81481eafa9c927daf8c.jpg",
773
+ "image_caption": [
774
+ "Figure 9: Number of neurons and degree of class selectivity through layers. Grayish bars are for low index values and bluish for high index values. "
775
+ ],
776
+ "image_footnote": [],
777
+ "bbox": [
778
+ 534,
779
+ 491,
780
+ 820,
781
+ 597
782
+ ],
783
+ "page_idx": 8
784
+ },
785
+ {
786
+ "type": "text",
787
+ "text": "In a second experiment, we analyze how color selective neurons from all layers cover the color space. Figure 7 displays the distribution of color selective neurons with $\\alpha \\ge 0 . 4 0$ . Each NF is plotted on the hue angle that represents the projection of its first principal component on the OPP chromaticity plane (red-green and blue-yellow components). Dashed rings identify different convolutional layers from conv1 (inner ring) to conv5 (outer ring) linking the NFs that belong to the same layer. We can appreciate the emergence of an axis (from orange to cyan) that connects a crowded area of color selective neurons. We can add a low population of NFs in the magenta area, that becomes more crowded on the opposite side where green and yellow selectivity has several neurons. The interest of this explanation relies on the fact that a similar distribution appears in the ImageNet color distribution, that is plotted at the bottom of the same images, where a similar interpretation in terms of emergent axes can be done. A more in depth study is required to prove this correlation, but we illustrate how neuron selectivity helps in the understanding of how a specific property is represented by the CNN. ",
788
+ "bbox": [
789
+ 173,
790
+ 743,
791
+ 825,
792
+ 922
793
+ ],
794
+ "page_idx": 8
795
+ },
796
+ {
797
+ "type": "text",
798
+ "text": "4.3 CLASS SELECTIVITY ",
799
+ "text_level": 1,
800
+ "bbox": [
801
+ 176,
802
+ 103,
803
+ 356,
804
+ 117
805
+ ],
806
+ "page_idx": 9
807
+ },
808
+ {
809
+ "type": "text",
810
+ "text": "Following with the analysis of ranking neurons by their response to a certain property, here we focus on the proposed selectivity index that relates to image labels instead of to an image property, is the class selectivity index, which only applies for classification networks. We report the results of different experiments where we have fixed $t h = 1$ , which means we consider all the class labels for the $N = 1 0 0$ images that maximally activates the neuron. As we mentioned before, this index can enlighten how classes are encoded through the net layers, that again it can be related to the scientific problem of how general object recognition is encoded in the human brain. Here we hypothesize that the difference between localist or distributed codes could correlate with the idea of neurons highly selective to a single class and neurons highly selective to several classes, we resume on this later at section 5. ",
811
+ "bbox": [
812
+ 173,
813
+ 131,
814
+ 825,
815
+ 268
816
+ ],
817
+ "page_idx": 9
818
+ },
819
+ {
820
+ "type": "text",
821
+ "text": "In a first experiment we analyze how many neurons present different degrees of class selectivity through layers. The bars in Fig. 9 plot the relative quantity of neurons that are class selective compared to those that are not. Grey represents the ratio of neurons that are not activated by a single class and bluish represent neurons that are highly activated by a single class. Opposite to what we showed about color selectivity, we found most of class selective neurons in deeper layers, and no class selectivity in shallow layers, as expected. We have moved from a very basic image property, color, to a very high level property, class label. This fact corroborates the idea that CNNs start by defining basic feature detectors that are share by most of the classes, and the neurons become more specialized when they belong to deeper layers representing larger areas in the image space and therefore more complex shapes. We start to have neurons with relevant class selectivity in layer conv3, where a $5 \\%$ of neurons is quite class selective and we found some neurons with a degree of selective close to 1. These ratios progressively increase up to layer conv5 where we have more than a $5 0 \\%$ of neurons with a class selectivity index greater than 0.6, that means that we have less than 40 different classes activating this neuron, which is a very selective ratio considering the number of classes of the ImageNet dataset. In the same layer a $2 0 \\%$ of neurons present a high class selectivity index, than means less than 20 different classes. Further experiments should explore how this graphic evolves by moving from current class labels which are on the leaves of the ImageNet ontology towards higher nodes with more generic classes. ",
822
+ "bbox": [
823
+ 174,
824
+ 276,
825
+ 825,
826
+ 526
827
+ ],
828
+ "page_idx": 9
829
+ },
830
+ {
831
+ "type": "text",
832
+ "text": "Secondly, we have visualized the properties of a set of images presenting different degrees of class selectivity in Fig. 10 for different levels of depth. We visualize each neuron with their NF visualization and the corresponding cropped images. We also show two tag clouds of each neuron. They visualize the importance of each class label. With an orange frame we plot the leave classes of the ImageNet ontology, while in the green frame we plot generic classes. This second analysis could help finding neurons that are specialized to a general semantic concept that different final classes share. Note that neurons with high class selectivity index have a set of cropped images that we can identify as belonging to the same class. ",
833
+ "bbox": [
834
+ 174,
835
+ 532,
836
+ 823,
837
+ 645
838
+ ],
839
+ "page_idx": 9
840
+ },
841
+ {
842
+ "type": "text",
843
+ "text": "Finally we stress the utility of ranking images by selectivity indexes in Fig. 11, where we show interesting neurons in different convolutional layers that present high values for both selectivity indexes, neurons which are both, color and class selective. ",
844
+ "bbox": [
845
+ 176,
846
+ 651,
847
+ 821,
848
+ 693
849
+ ],
850
+ "page_idx": 9
851
+ },
852
+ {
853
+ "type": "text",
854
+ "text": "5 CONCLUSIONS ",
855
+ "text_level": 1,
856
+ "bbox": [
857
+ 176,
858
+ 717,
859
+ 328,
860
+ 732
861
+ ],
862
+ "page_idx": 9
863
+ },
864
+ {
865
+ "type": "text",
866
+ "text": "In this paper we propose a framework to analyze a trained CNN by dissecting individual neurons using their indexes of selectivity to specific properties. We have proposed two properties of different nature: (a) color, that is a low-level image property that we have shown to be entangled in all the representations levels of the net; (b) class label, that is a high-level image property that can be analyzed at different levels of abstraction. We have shown that while the number of color selective neurons decreases with depth, the number of class selective neuron increases. In this line of describing the activity of individual images, we have also proposed to visualize the activity with what we have called the neuron feature (NF), that allows to arise interesting structures that are shared by the images that highly activate a neuron. ",
867
+ "bbox": [
868
+ 173,
869
+ 750,
870
+ 825,
871
+ 875
872
+ ],
873
+ "page_idx": 9
874
+ },
875
+ {
876
+ "type": "text",
877
+ "text": "The proposed work have made us to speculate about two different ways to address the coding properties of individual neurons (localist versus distributed). Firstly, we have mentioned the possibility that a blurred NF, i.e. without a clear structure, belongs to a neuron that can be part of a distributed code where the neuron does not represent a selectivity to a single shape, maybe to diverse shapes than can be part of a code in deeper neurons. Secondly, we speculate about the possibility that neurons with high class selective index can represent a localist code, and part of a distributed when is low. In parallel, the analysis of the color selective neurons have made to arise some parallelism between color representation in the 1st convolutional layer and known evidences about the representation in the human visual system. ",
878
+ "bbox": [
879
+ 176,
880
+ 882,
881
+ 823,
882
+ 924
883
+ ],
884
+ "page_idx": 9
885
+ },
886
+ {
887
+ "type": "image",
888
+ "img_path": "images/826a14425cb5a5a953fbdc7fb8a24c699475862a82ae5cded3c360c4c2e80e81.jpg",
889
+ "image_caption": [
890
+ "Figure 10: Neurons with different class selectivity indexes. For each neuron two images (top: NF, bottom: cropped images) and two tag clouds (top: leave classes, bottom: all classes in the ontology). "
891
+ ],
892
+ "image_footnote": [],
893
+ "bbox": [
894
+ 191,
895
+ 140,
896
+ 750,
897
+ 506
898
+ ],
899
+ "page_idx": 10
900
+ },
901
+ {
902
+ "type": "image",
903
+ "img_path": "images/6b3f1a583f754b14d49b9250a1f19ec877fac1f49023d6121dede424b497c131.jpg",
904
+ "image_caption": [
905
+ "Figure 11: Examples of neurons with high color and class selectivity indexes. "
906
+ ],
907
+ "image_footnote": [],
908
+ "bbox": [
909
+ 248,
910
+ 628,
911
+ 748,
912
+ 849
913
+ ],
914
+ "page_idx": 10
915
+ },
916
+ {
917
+ "type": "text",
918
+ "text": "",
919
+ "bbox": [
920
+ 174,
921
+ 103,
922
+ 825,
923
+ 188
924
+ ],
925
+ "page_idx": 11
926
+ },
927
+ {
928
+ "type": "text",
929
+ "text": "As further work we need to fully exploit the potential of the indexes in different CNN architectures, and defining new selectivity indexes like shape or texture, that could be a perfect complement to current ones. ",
930
+ "bbox": [
931
+ 176,
932
+ 194,
933
+ 825,
934
+ 236
935
+ ],
936
+ "page_idx": 11
937
+ },
938
+ {
939
+ "type": "text",
940
+ "text": "ACKNOWLEDGMENTS ",
941
+ "text_level": 1,
942
+ "bbox": [
943
+ 176,
944
+ 252,
945
+ 326,
946
+ 266
947
+ ],
948
+ "page_idx": 11
949
+ },
950
+ {
951
+ "type": "text",
952
+ "text": "Project funded by MINECO Ref. TIN (TIN2014-61068-R) ",
953
+ "bbox": [
954
+ 174,
955
+ 275,
956
+ 558,
957
+ 290
958
+ ],
959
+ "page_idx": 11
960
+ },
961
+ {
962
+ "type": "text",
963
+ "text": "REFERENCES ",
964
+ "text_level": 1,
965
+ "bbox": [
966
+ 176,
967
+ 311,
968
+ 285,
969
+ 327
970
+ ],
971
+ "page_idx": 11
972
+ },
973
+ {
974
+ "type": "text",
975
+ "text": "Thomas Brox Alexey Dosovitskiy, Jost Tobias Springenberg. Learning to generate chairs with convolutional neural networks. In CVPR, 2015. ",
976
+ "bbox": [
977
+ 176,
978
+ 335,
979
+ 823,
980
+ 363
981
+ ],
982
+ "page_idx": 11
983
+ },
984
+ {
985
+ "type": "text",
986
+ "text": "Sanjeev Arora, Aditya Bhaskara, Rong Ge, and Tengyu Ma. Provable bounds for learning some deep representations. In ICML, pp. 584–592, 2014. ",
987
+ "bbox": [
988
+ 174,
989
+ 372,
990
+ 821,
991
+ 402
992
+ ],
993
+ "page_idx": 11
994
+ },
995
+ {
996
+ "type": "text",
997
+ "text": "Mathieu Aubry and Bryan C. Russell. Understanding deep features with computer-generated imagery. In ICCV, 2015. ",
998
+ "bbox": [
999
+ 173,
1000
+ 411,
1001
+ 823,
1002
+ 439
1003
+ ],
1004
+ "page_idx": 11
1005
+ },
1006
+ {
1007
+ "type": "text",
1008
+ "text": "Robert Benavente, Maria Vanrell, and Ramon Baldrich. Parametric fuzzy sets for automatic color naming. JOSA, 25(10):2582–2593, Oct 2008. ",
1009
+ "bbox": [
1010
+ 174,
1011
+ 449,
1012
+ 821,
1013
+ 478
1014
+ ],
1015
+ "page_idx": 11
1016
+ },
1017
+ {
1018
+ "type": "text",
1019
+ "text": "Charles F Cadieu, Ha Hong, Daniel L K Yamins, Nicolas Pinto, Diego Ardila, Ethan A Solomon, Najib J Majaj, and James J DiCarlo. Deep neural networks rival the representation of primate it cortex for core visual object recognition. PLoS computational biology, 10, 2014 Dec 2014. ",
1020
+ "bbox": [
1021
+ 174,
1022
+ 487,
1023
+ 823,
1024
+ 530
1025
+ ],
1026
+ "page_idx": 11
1027
+ },
1028
+ {
1029
+ "type": "text",
1030
+ "text": "K. Chatfield, K. Simonyan, A. Vedaldi, and A. Zisserman. Return of the devil in the details: Delving deep into convolutional nets. In BMVC, 2014. ",
1031
+ "bbox": [
1032
+ 169,
1033
+ 537,
1034
+ 823,
1035
+ 568
1036
+ ],
1037
+ "page_idx": 11
1038
+ },
1039
+ {
1040
+ "type": "text",
1041
+ "text": "Bevil R. Conway and Doris Y. Tsao. Color-tuned neurons are spatially clustered according to color preference within alert macaque posterior inferior temporal cortex. Proc Natl Acad Sci U S A., 42 (106):18034–18039, 2009. ",
1042
+ "bbox": [
1043
+ 174,
1044
+ 577,
1045
+ 823,
1046
+ 619
1047
+ ],
1048
+ "page_idx": 11
1049
+ },
1050
+ {
1051
+ "type": "text",
1052
+ "text": "L. Delchambre. Weighted principal component analysis: a weighted covariance eigendecomposition approach. MNRAS, 446:3545–3555, 2014. ",
1053
+ "bbox": [
1054
+ 171,
1055
+ 628,
1056
+ 823,
1057
+ 659
1058
+ ],
1059
+ "page_idx": 11
1060
+ },
1061
+ {
1062
+ "type": "text",
1063
+ "text": "J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei-Fei. ImageNet: A Large-Scale Hierarchical Image Database. In CVPR09, 2009. ",
1064
+ "bbox": [
1065
+ 169,
1066
+ 666,
1067
+ 823,
1068
+ 695
1069
+ ],
1070
+ "page_idx": 11
1071
+ },
1072
+ {
1073
+ "type": "text",
1074
+ "text": "Alexey Dosovitskiy and Thomas Brox. Inverting visual representations with convolutional networks. CoRR, abs/1506.02753, 2015. URL http://arxiv.org/abs/1506.02753. ",
1075
+ "bbox": [
1076
+ 171,
1077
+ 705,
1078
+ 825,
1079
+ 734
1080
+ ],
1081
+ "page_idx": 11
1082
+ },
1083
+ {
1084
+ "type": "text",
1085
+ "text": "Ian J. Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. CoRR, abs/1412.6572, 2014. URL http://arxiv.org/abs/1412.6572. ",
1086
+ "bbox": [
1087
+ 168,
1088
+ 742,
1089
+ 826,
1090
+ 772
1091
+ ],
1092
+ "page_idx": 11
1093
+ },
1094
+ {
1095
+ "type": "text",
1096
+ "text": "Nicolaus Kriegeskorte and Gabriel Kreiman. Visual Population Codes - Toward a Common Multivariate Framework for Cell Recording and Functional Imaging. MIT Press, 2011. ",
1097
+ "bbox": [
1098
+ 173,
1099
+ 780,
1100
+ 823,
1101
+ 810
1102
+ ],
1103
+ "page_idx": 11
1104
+ },
1105
+ {
1106
+ "type": "text",
1107
+ "text": "Yixuan Li, Jason Yosinski, Jeff Clune, Hod Lipson, and John E. Hopcroft. Convergent learning: Do different neural networks learn the same representations? In ICLR, 2016. ",
1108
+ "bbox": [
1109
+ 174,
1110
+ 819,
1111
+ 821,
1112
+ 848
1113
+ ],
1114
+ "page_idx": 11
1115
+ },
1116
+ {
1117
+ "type": "text",
1118
+ "text": "Aravindh Mahendran and Andrea Vedaldi. Understanding deep image representations by inverting them. CVPR, 2015. ",
1119
+ "bbox": [
1120
+ 174,
1121
+ 857,
1122
+ 821,
1123
+ 886
1124
+ ],
1125
+ "page_idx": 11
1126
+ },
1127
+ {
1128
+ "type": "text",
1129
+ "text": "Gregoire Montavon, Mikio Braun, and Klaus-Robert M ´ uller. Kernel analysis of deep networks.¨ JMLR, 12:2563–2581, 2011. ",
1130
+ "bbox": [
1131
+ 174,
1132
+ 895,
1133
+ 820,
1134
+ 924
1135
+ ],
1136
+ "page_idx": 11
1137
+ },
1138
+ {
1139
+ "type": "text",
1140
+ "text": "Arnab Paul and Suresh Venkatasubramanian. Why does deep learning work? - A perspective from group theory. CoRR, abs/1412.6621, 2014. URL http://arxiv.org/abs/1412.6621. ",
1141
+ "bbox": [
1142
+ 171,
1143
+ 103,
1144
+ 825,
1145
+ 133
1146
+ ],
1147
+ "page_idx": 12
1148
+ },
1149
+ {
1150
+ "type": "text",
1151
+ "text": "Ivet Rafegas and Maria Vanrell. Color spaces emerging from deep convolutional networks. In CIC, 2016. ",
1152
+ "bbox": [
1153
+ 171,
1154
+ 141,
1155
+ 823,
1156
+ 170
1157
+ ],
1158
+ "page_idx": 12
1159
+ },
1160
+ {
1161
+ "type": "text",
1162
+ "text": "Robert Shapley and Michael J. Hawken. Color in the cortex: Single- and double-opponent cells. VR, 51(7):701–717, 4 2011. ",
1163
+ "bbox": [
1164
+ 173,
1165
+ 178,
1166
+ 823,
1167
+ 208
1168
+ ],
1169
+ "page_idx": 12
1170
+ },
1171
+ {
1172
+ "type": "text",
1173
+ "text": "Karen Simonyan, Andrea Vedaldi, and Andrew Zisserman. Deep inside convolutional networks: Visualising image classification models and saliency maps. In In ICLR Workshop 2014, 2014. ",
1174
+ "bbox": [
1175
+ 173,
1176
+ 215,
1177
+ 823,
1178
+ 246
1179
+ ],
1180
+ "page_idx": 12
1181
+ },
1182
+ {
1183
+ "type": "text",
1184
+ "text": "Jost Tobias Springenberg, Alexey Dosovitskiy, Thomas Brox, and Martin A. Riedmiller. Striving for simplicity: The all convolutional net. ICLR, 2015. ",
1185
+ "bbox": [
1186
+ 171,
1187
+ 253,
1188
+ 825,
1189
+ 284
1190
+ ],
1191
+ "page_idx": 12
1192
+ },
1193
+ {
1194
+ "type": "text",
1195
+ "text": "A. Vedaldi and K. Lenc. Matconvnet – convolutional neural networks for matlab. 2015. ",
1196
+ "bbox": [
1197
+ 169,
1198
+ 291,
1199
+ 750,
1200
+ 308
1201
+ ],
1202
+ "page_idx": 12
1203
+ },
1204
+ {
1205
+ "type": "text",
1206
+ "text": "Jason Yosinski, Jeff Clune, Anh Nguyen, Thomas Fuchs, and Hod Lipson. Understanding neural networks through deep visualization. In Deep Learning Workshop, (ICML), 2015. ",
1207
+ "bbox": [
1208
+ 171,
1209
+ 315,
1210
+ 821,
1211
+ 345
1212
+ ],
1213
+ "page_idx": 12
1214
+ },
1215
+ {
1216
+ "type": "text",
1217
+ "text": "Matthew D. Zeiler and Rob Fergus. Visualizing and understanding convolutional networks. In ECCV, 2014. ",
1218
+ "bbox": [
1219
+ 171,
1220
+ 353,
1221
+ 825,
1222
+ 383
1223
+ ],
1224
+ "page_idx": 12
1225
+ },
1226
+ {
1227
+ "type": "text",
1228
+ "text": "Matthew D. Zeiler, Dilip Krishnan, Graham W. Taylor, and Rob Fergus. Deconvolutional networks. In CVPR, 2010. ",
1229
+ "bbox": [
1230
+ 171,
1231
+ 391,
1232
+ 823,
1233
+ 421
1234
+ ],
1235
+ "page_idx": 12
1236
+ }
1237
+ ]
parse/train/SJBr9Mcxl/SJBr9Mcxl_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/SJBr9Mcxl/SJBr9Mcxl_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/fV4vvs1J5iM/fV4vvs1J5iM.md ADDED
@@ -0,0 +1,475 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # A REDUCTION APPROACH TOCONSTRAINED REINFORCEMENT LEARNING
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ Many applications of reinforcement learning (RL) optimize a long-term reward subject to risk, safety, budget, diversity or other constraints. Though constrained RL problem has been studied to incorporate various constraints, existing methods either tie to specific families of RL algorithms or require storing infinitely many individual policies found by an RL oracle to approach a feasible solution. In this paper, we present a novel reduction approach for constrained RL problem that ensures convergence when using any off-the-shelf RL algorithm to construct an RL oracle yet requires storing at most constantly many policies. The key idea is to reduce the constrained RL problem to a distance minimization problem, and a novel variant of Frank-Wolfe algorithm is proposed for this task. Throughout the learning process, our method maintains at most constantly many individual policies, where the constant is shown to be worst-case optimal to ensure convergence of any RL oracle. Our method comes with rigorous convergence and complexity analysis, and does not introduce any extra hyper-parameter. Experiments on a grid-world navigation task demonstrate the efficiency of our method.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ Contemporary approaches in reinforcement learning (RL) largely focus on optimizing the behavior of an agent against a single reward function. RL algorithms like value function methods (Zou et al., 2019; Zheng et al., 2018) or policy optimization methods (Chen et al., 2019; Zhao et al., 2017) are widely used in real-world tasks. This can be sufficient for simple tasks. However, for complicated applications, designing a reward function that implicitly defines the desired behavior can be challenging. For instance, applications concerning risk (Geibel & Wysotzki, 2005; Chow & Ghavamzadeh, 2014; Chow et al., 2017), safety (Chow et al., 2018) or budget (Boutilier & Lu, 2016; Xiao et al., 2019) are naturally modelled by augmenting the RL problem with orthant constraints. Exploration suggestions, such as to visit all states as evenly as possible, can be modelled by using a vector to measure the behavior of the agent, and to find a policy whose measurement vector lies in a convex set (Miryoosefi et al., 2019).
12
+
13
+ To solve RL problem under constraints, existing methods either ensure convergence only on a specific family of RL algorithms, or treat the underlying RL algorithms as a black box oracle to find individual policy, and look for mixed policy that randomizes among these individual policies. Though the second group of methods has the advantage of working with arbitrary RL algorithms that best suit the underlying problem, existing methods have practically infeasible memory requirement. To get an $\epsilon$ -approximate solution, they require storing $\bar { O } ( 1 / \epsilon )$ individual policies, and an exact solution requires storing infinitely many policies. This limits the prevalence of such methods, especially when the individual policy uses deep neural networks.
14
+
15
+ In this paper, we propose a novel reduction approach for the general convex constrained RL (C2RL) problem. Our approach has the advantage of the second group of methods, yet requires storing at most constantly many policies. For a vector-valued Markov Decision Process (MDP) and any given target convex set, our method finds a mixed policy whose measurement vector lies in the target convex set, using any off-the-shelf RL algorithm that optimizes a scalar reward as a RL oracle. To do so, the C2RL problem is reduced to a distance minimization problem between a polytope and a convex set, and a novel variant of Frank-Wolfe type algorithm is proposed to solve this distance minimization problem. To find an $\epsilon$ -approximate solution in an $m$ -dimensional vector-valued MDP, our method only stores at most $m + 1$ policies, which improves from infinitely many $O ( 1 / \epsilon )$ (Le et al., 2019; Miryoosefi et al., 2019) to a constant. We also show this $m + 1$ constant is worstcase optimal to ensure convergence of RL algorithms using deterministic policies. Moreover, our method introduces no extra hyper-parameter, which is favorable for practical usage. A preliminary experimental comparison demonstrates the performance of the proposed method and the sparsity of the policy found.
16
+
17
+ Table 1: Comparison with previous approaches. To find an $\epsilon$ -approximate solution, time complexity under orthant or convex constraints is compared using the numbers of RL oracle calls. The memory requirement is measured by the number of individual policies stored for an $\epsilon \cdot$ -approximate solution.
18
+
19
+ <table><tr><td>Method</td><td>Orthant constraint</td><td>Convex constraint</td><td>Converge for any</td><td>No extra hyper-</td><td>Memory requirement</td></tr><tr><td></td><td>To a fixed point</td><td>X</td><td>RL algo.</td><td>parameter X</td><td>1</td></tr><tr><td>Tessler et al. (2018) Le et al. (2019)</td><td>0(1/e)</td><td>×</td><td>X</td><td>X</td><td>0(1/e)</td></tr><tr><td>Miryoosefi et al. (2019)</td><td>0(1/e)</td><td>0(1/e)</td><td>√</td><td>X</td><td>0(1/e)</td></tr><tr><td>C2RL (this paper)</td><td>0(1/e)</td><td>0(1/e)</td><td>√</td><td>√</td><td>≤m+1</td></tr></table>
20
+
21
+ # 2 RELATED WORK
22
+
23
+ For high dimensional constrained RL, one line of approaches incorporates the constraint as a penalty signal into the reward function, and makes updates in a multiple time-scale scheme (Tessler et al., 2018; Chow & Ghavamzadeh, 2014). When used with policy gradient or actor-critic algorithms (Sutton & Barto, 2018), this penalty signal guides the policy to converge to a constraint satisfying one (Paternain et al., 2019; Chow et al., 2017). However, the convergence guarantee requires the RL algorithm can find a single policy that satisfies the constraint, hence ruling out methods that search for deterministic policies, such as Deep Q-Networks (DQN) (Mnih et al., 2013), Deep Deterministic Policy Gradient (DDPG) (Lillicrap et al., 2015) and their variants (Van Hasselt et al., 2015; Wang et al., 2016; Fujimoto et al., 2018; Barth-Maron et al., 2018).
24
+
25
+ Another line of approaches uses a game-theoretic framework, and does not tie to specific families of RL algorithm. The constrained problem is relaxed to a zero-sum game, whose equilibrium is solved by online learning (Agarwal et al., 2018). The game is played repeatedly, each time any RL algorithm can be used to find a best response policy to play against a no-regret online learner. The mixed policy that uniformly distributed among all played policies can be shown to converge to an optimal policy of the constrained problem (Freund & Schapire, 1999; Abernethy et al., 2011). Taking this approach, Le et al. (2019) uses Lagrangian relaxation to solve the orthant constraint case, and Miryoosefi et al. (2019) uses conic duality to solve the convex constraint case. However, since the convergence is established by the no-regret property, the policy found by these methods requires randomization among policies found during the learning process, which limits their prevalence.
26
+
27
+ Different from the game-theoretic approaches, we reduce the C2RL to a distance minimization problem and propose a novel variant of Frank-Wolfe (FW) algorithm to solve it. Our result builds on recent finding that the standard FW algorithm emerges as computing the equilibrium of a special convex-convave zero sum game (Abernethy & Wang, 2017). This connects our approach with previous approaches from game-theoretic framework (Agarwal et al., 2018; Le et al., 2019; Miryoosefi et al., 2019). The main advantage of our reduction approach is that the convergence of FW algorithm does not rely on the no-regret property of an online learner. Hence there is no need to introduce extra hyper-parameters, such as learning rate of the online learner, and intuitively, we can eliminate unnecessary policies to achieve better sparsity. To do so, we extend Wolfe’s method for minimum norm point problem (Wolfe, 1976) to solve our distance minimization problem. Throughout the learning process, we maintain an active policy set, and constantly eliminate policies whose measurement vector are affinely dependent of others. Unlike norm function in Wolfe’s method, our objective function is not strongly convex. Hence we cannot achieve the linear convergence of Wolfe’s method as shown in Lacoste-Julien & Jaggi (2015). Instead, we analyze the complexity of our method based on techniques from Chakrabarty et al. (2014). A theoretical comparison between our method and various approaches in constrained RL is provided in Table 1.
28
+
29
+ # 3 PRELIMINARIES
30
+
31
+ A vector-valued Markov decision process can be identified by a tuple $\{ \boldsymbol { S } , \mathcal { A } , \beta , P , c \}$ , where $s$ is a set of states, $\mathcal { A }$ is the set of actions and $\beta$ is the initial state distribution. At the start of each episode, an initial state $s _ { 0 }$ is drawn following the distribution $\beta$ . Then, at each step $t = 0 , 1 , \ldots$ , the agent observes a state $s _ { t } \in S$ and makes a decision to take an action $a _ { t }$ . After $a _ { t }$ is chosen, at the next observation the state evolves to state $s _ { t + 1 } \in S$ with probability $\textstyle P ( s _ { t + 1 } | s _ { t } , a _ { t } )$ . However, instead of a scalar reward, in our setting, the agent receives an $m$ -dimensional vector $\boldsymbol { c } _ { t } \in \mathbb { R } ^ { m }$ that may implicitly contain measurements of reward, risk or violation of other constraints. The episode ends after a certain number of steps, called the horizon, or when a terminate state is reached.
32
+
33
+ Actions are typically selected according to a policy $\pi$ , where $\pi ( s )$ is a distribution over actions for any $s \in { \mathcal { S } }$ . Policies that take a single action for any state are deterministic policies, and can be identified by the mapping $\pi : { \mathcal { S } } \mapsto A$ . The set of all deterministic policies is denoted by $\Pi$ . For a discount factor $\gamma \in [ 0 , 1 )$ , the discounted long-term measurement vector of a policy $\pi \in \Pi$ is defined as
34
+
35
+ $$
36
+ \pmb { c } ( \pi ) : = \mathbb { E } ( \sum _ { t = 0 } ^ { T } \gamma ^ { t } \pmb { c } _ { t } ( s _ { t } , \pi ( s _ { t } ) ) ) ,
37
+ $$
38
+
39
+ where the expectation is over trajectories generated by the described random process.
40
+
41
+ Unlike unconstrained setting, for a constrained RL problem, it is possible that all feasible policies are non-deterministic (see Appendix $\mathbf { D }$ for an example). This limits the usage of RL algorithms that search for deterministic policies in the setting of constrained RL problem.
42
+
43
+ One workaround is to use mixed policies. For a set of policies $\mathcal { U }$ , a mixed policy is a distribution over $\mathcal { U }$ , and the set of all mixed policies over $\mathcal { U }$ is denoted by $\Delta ( \mathcal { U } )$ . To execute a mixed policy $\mu \in \Delta ( \mathcal { U } )$ , we first select a policy $\pi \in { \mathcal { U } }$ according to $\pi \sim \mu ( \pi )$ , and then execute $\pi$ for the entire episode. Altman (1999) shows that any $c ( \cdot )$ achievable can be achieved by some mixed deterministic policies $\mu \in \Delta ( \Pi )$ . Therefore, though an off-shelves RL algorithm may not converge to any constraint-satisfying policy, it can be used as a subroutine to find individual policies (possibly deterministic), and a randomization among these policies can converge to a feasible policy. The discounted long-term measurement vector of a mixed policy $\mu \in \Delta ( \Pi )$ is defined similarly
44
+
45
+ $$
46
+ \pmb { c } ( \mu ) : = \mathbb { E } _ { \pi \sim \mu } ( \pmb { c } ( \pi ) ) = \sum _ { \pi \in \Pi } \mu ( \pi ) \pmb { c } ( \pi ) .
47
+ $$
48
+
49
+ For a mixed policy $\mu \in \Delta ( \mathcal { U } )$ , its active set is defined to be the set of policies with non-zero weights $\mathcal { A } : = \{ \pi \in \mathcal { U } | \mu ( \pi ) > 0 \}$ . The memory requirement of storing $\mu$ , is then proportional to the size of its active set. Since a mixed policy can be interpreted as a convex combination of policies in its active set, in the following, the term sparsity of a mixed policy refers to the sparsity of this combination.
50
+
51
+ Our learning problem, the convex constrained reinforcement learning (C2RL), is to find a policy whose expected long-term measurement vector lies in a given convex set; i.e., for a given convex target set ${ \mathcal { C } } \subset \mathbb { R } ^ { m }$ , our target is to
52
+
53
+ Any policy $\mu ^ { * }$ that satisfies $\pmb { c } ( \mu ^ { * } ) \in \Omega$ is called a feasible policy, and a C2RL problem is feasible if there exists some feasible policies. In the following, we assume the C2RL problem is feasible.
54
+
55
+ # 4 APPROACH, ALGORITHM AND ANALYSIS
56
+
57
+ We now show how the C2RL (3) can be reduced to a distance minimization problem (7) between a polytope and a convex set. A novel variant of Frank-Wolfe-type algorithm is then proposed to solve the distance minimization problem, followed by theoretic analysis about convergence and sparsity of the proposed method.
58
+
59
+ # 4.1 REDUCE C2RL TO A DISTANCE MINIMIZATION PROBLEM
60
+
61
+ Let $| | \cdot | |$ denote the Euclidean norm. For a convex set $\Omega \in \mathbb { R } ^ { m }$ , let $\begin{array} { r } { \operatorname* { P r o j } _ { \Omega } ( \pmb { x } ) \in \arg \operatorname* { m i n } _ { \pmb { y } \in \Omega } | | \pmb { x } - \pmb { y } | | } \end{array}$ be the projection operator, and $\begin{array} { r } { \mathtt { d i s t } ^ { 2 } ( { \pmb x } , \Omega ) : = \frac { 1 } { 2 } | | { \pmb x } - \mathtt { P r o j } _ { \Omega } ( { \pmb x } ) | | ^ { 2 } } \end{array}$ be half of the squared Euclidean
62
+
63
+ distance function. Then we consider the problem to find a policy whose measurement vector is closest to the target convex set,
64
+
65
+ $$
66
+ \operatorname * { a r g m i n } _ { \mu \in \Delta ( \Pi ) } \mathtt { d i s t } ^ { 2 } ( { \pmb { c } } ( \mu ) , \Omega ) .
67
+ $$
68
+
69
+ A policy $\mu ^ { * } \in \Delta ( \Pi )$ is defined to be an optimal solution if it minimizes (4). Otherwise, the approximation error of $\dot { \mu } \in \Delta ( \Pi )$ is defined as
70
+
71
+ $$
72
+ \mathsf { e r r } ( \mu ) : = \mathsf { d i s t } ^ { 2 } ( { \pmb { c } } ( \mu ) , \Omega ) - \mathsf { d i s t } ^ { 2 } ( { \pmb { c } } ( { \mu } ^ { * } ) , \Omega )
73
+ $$
74
+
75
+ (Approximation Error)
76
+
77
+ where $\mu ^ { * }$ is an optimal solution, and a policy is defined to be an $\epsilon$ -approximate solution if its approximation error is no larger than $\epsilon$ .
78
+
79
+ When C2RL (3) is feasible, the equivalence of being optimal to (4) and being feasible to C2RL can be easily established. Since a feasible policy of C2RL problem lies inside $\Omega$ , it minimizes the non-negative dist2 function, and hence is optimal to (4). Vice versa, any optimal solution to (4) lies inside $\Omega$ and is a feasible solution to C2RL.
80
+
81
+ From a geometric perspective, let $\pmb { c } ( \Pi ) : = \{ \pmb { c } ( \pi ) | \pi \in \Pi \}$ be the set of all values achievable by deterministic policies. If the MDP has finite states and actions (though may be extremely large), then $\Pi$ is finite as well, and hence $c ( \Pi )$ contains finitely many points in $\mathbb { R } ^ { m }$ . Then the set of values achievable by mixed deterministic policies
82
+
83
+ $$
84
+ c ( \Delta ( \Pi ) ) : = \{ c ( \mu ) | \mu \in \Delta ( \Pi ) \} = \{ \sum _ { \pi } \mu ( \pi ) c ( \pi ) | \sum _ { \pi } \mu ( \pi ) = 1 , \mu ( \pi ) \geq 0 \} \subset \mathbb { R } ^ { m }
85
+ $$
86
+
87
+ is the convex hull of $c ( \Pi )$ ; i.e., $c ( \Delta ( \Pi ) )$ is a $m$ -dimension polytope whose vertices are $c ( \Pi )$ . Therefore finding a policy whose value is closest to the target convex set (4) is equivalent to find a point in the polytope $c ( \dot { \Delta ( \Pi ) } )$ that is closest to the convex set $\Omega$
88
+
89
+ $$
90
+ \operatorname* { a r g m i n } _ { \mathbf { c } ( \mu ) \in c ( \Delta ( \Pi ) ) } \mathtt { d i s t } ^ { 2 } ( { \pmb { c } } ( { \mu } ) , \Omega ) \qquad \mathtt { ( D i s t a n c e m i n i m i z a t i o n p r o b l e m ) . }
91
+ $$
92
+
93
+ To solve this constrained optimization problem, it might be tempting to consider projection methods. However, constructing a projection operator for $c ( \Delta ( \Pi ) )$ is non-trivial. For any given measurement vector, it is obscure how to modify a general RL algorithm to update the parameters such that the discounted expected measurement vector is closest to the given value. Therefore, projection-free methods are preferable for this task.
94
+
95
+ Frank-Wolfe (FW) algorithm does not require any projection operation, instead it uses a linear minimizer oracle. Intuitively, finding a linear minimizer is similar to the reward maximization process of what a general RL algorithm does. In section 4.3, we formalize this idea. We show that after simple modifications, any RL algorithm that maximizes a scalar reward can be used to construct such a linear minimizer oracle. Before getting into details of the construction process, we discuss FW-type algorithms over polytope and its applications in the distance minimization problem (7).
96
+
97
+ # 4.2 DISTANCE MINIMIZATION BY FRANK-WOLFE-TYPE ALGORITHMS
98
+
99
+ The Frank-Wolfe algorithm (FW) is a first-order method to minimize a convex function $f : \mathcal { P } \mapsto \mathbb { R }$ over a compact and convex set $\mathcal { P }$ , with only access to a linear minimizer oracle. When the feasible set is a polytope $\mathcal { P } : = \mathsf { c o n v } ( \{ s _ { 1 } , s _ { 2 } , \hdots , s _ { n } \} ) \subset \mathbb { R } ^ { m }$ defined as the convex hull of finitely many points, FW-type algorithms are discussed by Lacoste-Julien & Jaggi (2015) to optimize
100
+
101
+ $$
102
+ \operatorname* { m i n } _ { x \in \mathcal { P } } f ( x ) \quad { \mathrm { ~ u s i n g ~ } } \quad 0 \mathrm { r a c 1 } \mathbf { e } ( \mathrm { v } ) : = \operatorname * { a r g m i n } _ { s \in \{ s _ { 1 } , \ldots , s _ { n } \} } s ^ { T } v .
103
+ $$
104
+
105
+ The standard FW (Algorithm 2 in Appendix A.1) consists of making repeated calls to the linear minimizer oracle to find an improving point $\pmb { s }$ , followed by a convex averaging step of the current iterate ${ \mathbf { \mathcal { x } } } _ { t - 1 }$ and the oracle’s output $\pmb { s }$ .
106
+
107
+ If we have already constructed a RL oracl $\mathfrak { a } ( \lambda )$ that outputs a policy $\pi \in \arg \operatorname* { m i n } _ { \pi \in \Pi } \lambda ^ { T } { \pmb { c } } ( \pi )$ together with its measurement vector $\pmb { c } ( \pi )$ , then the distance minimizing problem (7) can be solved with standard FW by using
108
+
109
+ $$
110
+ \pi , c ( \pi ) \gets \mathrm { R L . o r a c l e } ( \boldsymbol { \nabla } \mathrm { d i s t } ^ { 2 } ( \boldsymbol { x } _ { t - 1 } , \Omega ) ) = \mathrm { R L . o r a c l e } ( \boldsymbol { x } _ { t - 1 } - \boldsymbol { \mathrm { P r o j } } _ { \Omega } ( \boldsymbol { x } _ { t - 1 } ) )
111
+ $$
112
+
113
+ # Algorithm 1 Convex Constrained Reinforcement Learning (C2RL)
114
+
115
+ Input. RL Oracle constructed by any RL algorithm, projection operator to target set $\mathtt { P r o j } _ { \Omega }$ .
116
+ Initialize. Random policy $\pi$ , value $\pmb { x } = \pmb { c } ( \pi )$ , active sets $S _ { p } : = [ \pi ] , S _ { c } : = [ { \pmb x } ]$ and weight $\bar { \lambda ( \cdot ) } = [ 1 ]$ .
117
+ Output. Mixed policy $\mu$ and its value $\mathbf { \boldsymbol { c } } ( \mu )$ s.t. $\mathbf { \boldsymbol { c } } ( \mu )$ minimizes the distance to the target set $\Omega$ .
118
+
119
+ // Major cycle
120
+
121
+ $$
122
+ { \pmb y } , { \pmb \alpha } \gets \mathsf { A f f i n e M i n i m i z e r } ( S _ { c } , { \pmb \omega } )
123
+ $$
124
+
125
+ 16: return $u , c ( { \boldsymbol { \mu } } ) \gets \mathbf { { x } }$
126
+
127
+ to find an improving policy and its measurement vector. For $\begin{array} { r } { \eta _ { t } : = \frac { 2 } { t + 2 } } \end{array}$ , the convex averaging steps
128
+
129
+ $$
130
+ \mu _ { t } ( 1 - \eta _ { t } ) \mu _ { t - 1 } + \eta _ { t } \pi , \quad x _ { t } ( 1 - \eta _ { t } ) x _ { t - 1 } + \eta _ { t } c ( \pi ) ,
131
+ $$
132
+
133
+ then maintain the mixed policy, and the corresponding measurement vector, respectivel
134
+
135
+ However, after $T$ rounds of iteration, the $\mu _ { t }$ found has an active set containing up to $T$ individual polices, and is not sparse enough. If neural networks are used to parameterize the policy, that requires storing $T$ copies of parameters for the individual network, which is unaffordable for largescale usage.
136
+
137
+ To find even more sparse policies, we turn to variants of FW-type algorithms. In particular, Wolfe’s method for minimum norm point in a polytope (Wolfe, 1976; De Loera et al., 2018). In Wolfe’s method (Algorithm 3 in Appendix A.2), the loop in FW is called a major cycle, and the convex averaging step is replaced by a weight optimization process, called minor cycle. Wolfe’s method maintains an active set $s$ , and the current point can be represented by a sparse combination of points in the active set. The minor cycles maintain $s$ to be an affinely independent set such that the affine minimizer is inside $S ^ { t }$ , which Wolfe calls corrals. Recall an affine minimizer is defined as $\begin{array} { r } { \arg \operatorname* { m i n } _ { \pmb { \mathscr { s } } \in \mathsf { a f f } ( \mathscr { S } ) } | | \pmb { \mathscr { s } } | | _ { 2 } } \end{array}$ , where $\begin{array} { r } { \mathtt { a f f } ( \mathscr { S } ) : = \{ y | y = \sum _ { z \in S } \alpha _ { z } ^ { T } \pmb { x } , \sum _ { z \in S } \alpha _ { z } = 1 \} } \end{array}$ is the affine hull formed by $s$ . Since the active set is affinely independent, the number of active atoms is at most $m + 1$ at any time. Wolfe’s method is shown to strictly decrease the approximation error between two major cycles.
138
+
139
+ # 4.3 OUR MAIN ALGORITHM
140
+
141
+ The main obstacle to apply Wolfe’s method to our distance minimization problem (7) is that the objective function in Wolfe’s method is the norm function. However, in our problem, the objective function is the distance function to a convex set. Unlike the norm function, the distance function to a convex set is not strongly convex and affine minimizer is ill-defined with respect to a convex set. To tackle these problems, we modify the Wolfe’s method. At the core of our new variant of FW algorithm, we add a projection step to Wolfe’s method.
142
+
143
+ Projection Step In each major cycle, we minimize the distance to a projected point $\omega : = \mathrm { P r o j } _ { \Omega } ( \pmb { x } )$ . Intuitively, since the distance to the convex set is upper bounded by the distance to this projected point $\omega$ , if the distance to $\omega$ converges, so does the distance to the target convex set.
144
+
145
+ Formally, for a set of points $S \subset \mathbb { R } ^ { m }$ , and a point $\pmb { x } \in \mathbb { R } ^ { m }$ , we extend the definition of an affine minimizer to define affine minimizer with respect to $_ { \textbf { \em x } }$ as $\begin{array} { r } { \arg \operatorname* { m i n } _ { { s } \in \mathrm { a f f } ( S ) } \left| \left| \pmb { \mathscr { s } } - \pmb { \mathscr { x } } \right| \right| _ { 2 } } \end{array}$ . For $_ { \textbf { \em x } }$ being the affine minimizer of $s$ with respect to $\omega$ , the extended affine minimizer property gives ( $\mathbf { \mathrm { \textbf { j } } } \mathbf { \mathrm { { v e n } } } \omega , \forall \pmb { v } \in \mathbf { \mathrm { a f f } } ( S ) , ( \pmb { v } - \pmb { x } ) ^ { T } ( \pmb { x } - \pmb { \omega } ) = 0$ (Extended affine minimizer property)
146
+
147
+ Similar to Wolfe’s method, our C2RL method (Algo. 1) contains an outer loop (called major cycle) to find improving policies and their measurement vectors, and an inner loop (called minor cycle) to maintain the affinely independent property of the active set $ { \boldsymbol { S } } _ { c }$ . At the start of each major cycle step, the $ { \boldsymbol { S } } _ { c }$ is an affinely independent set. Then, the RL oracle (defined in (15)) finds a potential improving policy $\pi \in { \mathcal { U } }$ , and its long-term measurement vector $\pmb { c } ( \pi )$ . If the $\pmb { c } ( \pi )$ does not get strictly closer to the $\omega : = \mathtt { P r o j } ( \pmb { x } )$ , then we are done, and $_ { \textbf { \em x } }$ is the optimal value. Otherwise, the $\pmb { c } ( \pi )$ is added into the active set, and the minor cycle is run to eliminate policies whose measurement vectors are affinely dependent.
148
+
149
+ Line 6 to line 13 contains the minor cycle, which is the same as the original Wolfe’s method (except in line 6, we find affine minimizer with respect to $\omega$ ). The elimination is executed as a series of affine projections. The minor cycle terminates if active set $ { \boldsymbol { S } } _ { c }$ is affinely independent. Though the interleaving of major and minor cycles oscillate the size of active set $S _ { c }$ , the minor cycles keep $| S _ { c } |$ an affinely independent set, and is terminated whenever $S _ { c }$ contains a single element. Therefore at the start of any major cycle, the size of the active set satisfies $| S _ { c } | \in [ 0 , \bar { m } + 1 ]$ . More background about the minor cycle in Wolfe’s method is provided in Appendix A.2.
150
+
151
+ Construction of RL Oracle The construction of our RL oracle can use any off-the-shelf RL algorithm that maximizes a scalar reward. For any given $\pmb { \lambda } \in \mathbb { R } ^ { m }$ , we define any algorithm that finds a policy minimizing the linear function $\lambda ^ { T } c ( \cdot )$ as a $R L$ oracle, that is
152
+
153
+ $$
154
+ \mathtt { R L \_ o r a c l e } _ { \mathtt { p } } ( \lambda ) \in \underset { \pi \in \Pi } { \arg \operatorname* { m i n } } \lambda ^ { T } \pmb { c } ( \pi ) .
155
+ $$
156
+
157
+ Recall that standard RL algorithm receives a scalar reward after each state transition, instead of the long-term measurement vector $\pmb { c } ( \pi ) \in \mathbb { R } ^ { m }$ . We then use the following linear property to reformulate the right hand side of (12) to a standard RL problem
158
+
159
+ $$
160
+ \underset { \pi \in \Pi } { \arg \operatorname* { m i n } } \ : \lambda ^ { T } c ( \pi ) = \underset { \pi \in \Pi } { \arg \operatorname* { m i n } } \ : \lambda ^ { T } \mathbb { E } ( \sum _ { t = 0 } ^ { T } \gamma ^ { t } c _ { t } ) = - \underset { \pi \in \Pi } { \arg \operatorname* { m a x } } \ : \mathbb { E } ( \sum _ { t = 0 } ^ { T } \gamma ^ { t } ( - \lambda ^ { T } c _ { t } ) ) .
161
+ $$
162
+
163
+ This shows that if we consider the Markov decision process with the same state, action, and transition probability, and construct a scalar reward $r : = \overline { { ( - \lambda ^ { T } } } c _ { t } )$ , then any policy that maximizes the expected $r$ is a linear minimizer of (12). Therefore any RL algorithm that best suits the underlying problems can be used to construct a RL oracle.
164
+
165
+ Certifying constraint satisfaction amounts to evaluate the measurement vector of the current policy. This is handy in online settings, where simulations can be used to evaluate the measurement vector of the policy directly. Otherwise, in batch settings, various off-policy evaluation methods, such as importance sampling (Precup, 2000; Precup et al., 2001) or doubly robust (Jiang & Li, 2016; Dud´ık et al., 2011), can be used to evaluate the policy.
166
+
167
+ $$
168
+ { \mathrm { R L } } _ { \mathrm { - } } { \mathrm { o r a c l e } } _ { \mathrm { c } } ( \lambda ) : = c ( \operatorname* { a r g m i n } _ { \pi \in \Pi } \lambda ^ { T } c ( \pi ) ) = \operatorname * { a r g m i n } _ { c ( \pi ) , \pi \in \Pi } \lambda ^ { T } c ( \pi ) .
169
+ $$
170
+
171
+ To simplify notation, we assume a RL Oracle returns a policy as well as its measurement vector
172
+
173
+ $$
174
+ \mathtt { R L \_ O r a c l e } ( \lambda ) : = \pi , \pm ( \pi ) = \mathtt { R L \_ o r a c l e } _ { \mathtt { p } } ( \lambda ) , \mathtt { R L \_ o r a c l e } _ { \mathtt { c } } ( \lambda )
175
+ $$
176
+
177
+ Finding Extended Affine Minimizer The process AffineMinimizer $( S , { \pmb x } )$ returns the $( y , \alpha )$ the affine minimizer of $S$ with respect to $_ { \textbf { \em x } }$ where $\textbf { { y } }$ is the affine minimizer and $\alpha : = \{ \alpha _ { s } | \forall s \in$ $ { \boldsymbol { S } } _ { c } \boldsymbol { \} }$ is the set of coefficient expressing $\textbf { { y } }$ as an affine combination of points in $S$ , that is ${ \textbf { 3 } } =$ $\sum _ { s \in S _ { c } } \alpha _ { s } s$ , where $\alpha _ { s }$ is the weight associated with $\pmb { s }$ . The process AffineMinimizer $( S , { \pmb x } )$ can be straightforwardly implemented using linear algebra. Wolfe (1976) also provides a more efficient implementation that uses a triangular array representation of the active set.
178
+
179
+ # 4.4 CONVERGENCE AND SPARSITY
180
+
181
+ In this section, we analyze the convergence and complexity of the proposed C2RL method (Algo. 1). We first show that approximation error of C2RL strictly decreases between any two major cycle steps and it converges in $O ( 1 / t )$ rate. Then we show our method ensures convergence of arbitrary RL algorithm, including those searching for deterministic policies. Moreover, concerning the memory complexity, we show that maintaining an active policy set of $m { + 1 }$ is worst case optimal to ensure the convergence of arbitrary RL algorithm. Therefore, the proposed C2RL indeed achieves the optimal sparsity for the found policy, making it favorable for large-scale usage.
182
+
183
+ The main difference between the convergence analysis of C2RL and Wolfe’s method is the addition of the projection step. Intuitively, at each major step, if we are making a significant progress toward the projected point, then the distance to the convex set is decreased by at least the same amount.
184
+
185
+ Time Complexity. In our analysis, we consider the approximation error as defined in (5). We use superscript $t$ to denote the variable in $t$ -th major cycle before executing any minor cycle. To simplify notions, we let $x ^ { t } : = c ( \mu ^ { t } )$ and $s ^ { t } : = c ( \pi ^ { t } )$ . When discussing one step with $t$ fixed, let $y ^ { i }$ denote the affine minimizer found in $i$ -th minor cycle (line 6 of Algo. 1). We first show that the C2RL method strictly reduces approximation error between two calls of the RL oracle.
186
+
187
+ Theorem 4.1 (Approximation Error Strictly Decreases). For any non-terminal step $t ,$ , we have $\mathsf { e r r } ( \mu ^ { t + 1 } ) \ < \ \mathsf { e r r } ( \mu ^ { t } )$ . That is, the measurement vector of $\mu ^ { t }$ found by the C2RL method gets strictly closer to the convex set $\Omega$ after major cycle step.
188
+
189
+ The proof is provided in Appendix B. The idea is to consider the distance between $\mathbf { \boldsymbol { x } } ^ { t }$ and $\omega ^ { t }$ . When the major cycle has no minor cycle, the non-terminal condition and the affine minimizer property implies $\mathrm { d i } \mathbf { s } \ t ^ { 2 } ( \underline { { { \boldsymbol { x } } } } ^ { t + 1 } , \omega ^ { t } ) < \mathrm { d i } \mathbf { s } \ t ^ { 2 } ( \boldsymbol { x } ^ { t } , \omega ^ { t } )$ . Otherwise we show that the first minor cycle strictly reduces the $\mathsf { d i s t ^ { 2 } } ( \boldsymbol { x } ^ { t } , \omega ^ { t } )$ by moving along the segment joining $_ { \textbf { \em x } }$ and $\textbf { { y } }$ , and the subsequent minor cycle cannot increase it. Since $\omega ^ { t } \in \Omega$ , we conclude $\mathrm { e r r } ( \bar { { \bf x } ^ { t + 1 } } ) \le \mathrm { d i s t ^ { 2 } } ( { \bf x } ^ { t + 1 } , \omega ^ { \hat { t } } ) <$ $\mathrm { d i s t ^ { 2 } } ( \dot { { \bf x } } ^ { t } , \omega ^ { t } ) = \mathrm { e r r } ( { \bf x } ^ { t } )$ , and the approximation error strictly decreases.
190
+
191
+ Given the approximation error strictly decreases, Wolfe’s method for minimum norm point can be shown to terminate finitely (Wolfe, 1976). However, this finitely terminating property does not hold for our algorithm. Since a changed $\omega ^ { t }$ may yield a lower distance to the same active set $S _ { c } ^ { t }$ , the active set may stay unchanged across major cycles (see Figure 2 Middle for an example). Therefore we establish the convergence of the C2RL method by the following theorem.
192
+
193
+ Theorem 4.2 (Convergence in Approximation Error). For $t \geq 1$ , the mixed policy $\mu ^ { t }$ found by the C2RL method satisfies
194
+
195
+ $$
196
+ \mathsf { e r r } ( \mu ^ { t } ) \leq 1 6 Q ^ { 2 } / ( t + 2 ) ,
197
+ $$
198
+
199
+ where $Q : = \operatorname* { m a x } _ { \mu \in \Delta ( \mathcal { U } ) } | | c ( \mu ) | |$ is the maximum norm of a measurement vector.
200
+
201
+ The proof is provided in Appendix C, which relies on the following two lemmas. We briefly discuss the main idea here. Define major cycle steps with at most one minor cycle as ”non-drop step” and major cycle steps with more than one minor cycles as ”drop steps”. We show that in each non-drop step, Algorithm 1 is guaranteed to make enough progress in the following lemma.
202
+
203
+ Lemma 4.3. For a non-drop step in C2RL method, we have $\mathsf { e r r } ( \mu ^ { t } ) - \mathsf { e r r } ( \mu ^ { t + 1 } ) \geq \mathsf { e r r } ^ { 2 } ( \mu ^ { t } ) / 8 Q ^ { 2 } .$
204
+
205
+ Though this does not hold for drop steps, we can bound the frequency of drop steps by the following.
206
+
207
+ Lemma 4.4. After t major cycle steps of C2RL method, the number of drop steps is less than $t / 2$ .
208
+
209
+ Since the approximation error strictly decreases (Thm. 4.1), and in more than half of the major cycles steps, the C2RL method makes significantly progress. The Thm. (4.2) can then be proved using an induction argument (Appendix C).
210
+
211
+ Convergence with Arbitrary RL Algo. The convergence of the C2RL method when used with RL algorithms that search for deterministic policies, such as DQN, DDPG and variants, is indeed straightforward. In (8), though each time the oracle yields a vertex, the FW-type algorithms indeed optimize over the polytope formed by these vertices. Then since citetaltman1999constrained shows that any $c ( \cdot )$ achievable can be achieved by some mixed deterministic policies, we conclude that if the underlying problem is feasible, then our C2RL method is able to find a feasible policy.
212
+
213
+ Memory Complexity We then discuss the sparsity of mixed policy for constrained RL problem. We give a constructive proof in Appendix $\mathrm { D }$ to show that to ensure convergence for RL algorithms that search for deterministic policies, storing $m + 1$ policies is required in the worst case.
214
+
215
+ ![](images/1740e8b4ed7f6e9b1be1310e621d034c19a3b19de3e313a3da3466bbf086957e.jpg)
216
+ Figure 1: Left: The Risky Mars Rover environment. The agent is required to navigate from the starting point to reach the goal point without staying long (0.5 steps in expectation) in the risky area (cross-hatching region). Middle, Right. Example of an optimal mixed policy found by C2RL in a single run. After 10k samples, C2RL finds a mixed policy that randomizes among two policies with weight 0.49 and 0.51. The visitation probabilities of the two policies are plotted.
217
+
218
+ Theorem 4.5 (Memory Complexity Bound). For an constrained RL problem with $m$ -dimensional measurement vector, in the worst case, a mixed policy needs to randomize among $m + 1$ individual policies to ensure convergence of RL oracles that search for deterministic policies.
219
+
220
+ Since the minor cycles in the C2RL method eliminate policies with affinely dependent measurement vectors, after the termination of minor cycles, the size of the active set is at most $m + 1$ . That is, the policy found by the C2RL method requires randomization among no more than $m + 1$ individual policies. Therefore the proposed C2RL indeed achieves the optimal sparsity in the worst case, making it favorable for large-scale usage.
221
+
222
+ Corollary 4.5.1. The C2RL method that randomizes among at most $m + 1$ policies is worst-case optimal to ensure convergence of any RL oracle.
223
+
224
+ # 5 EXPERIMENTS
225
+
226
+ We evaluate the performance of C2RL in a grid-world navigation task (Fig. 1), and demonstrate its ability to efficiently find sparse policy. In this Risky Mars Rover environment, the agent is required to navigate from the starting point to the goal point, by moving to one of the four neighborhood cells at each step. The episodes terminate when the goal point is reached or after 300 steps. To enforce robustness, we add a risky area to indicate the dangerous states. The agent receives a measurement vector to indicate the steps it takes (0.1 for every step), and whether it stays in the risky area (0.1 for every risky step, and 0 otherwise), with discount factor $\gamma = 0 . 9 9$ . We constrain the agent to reach the goal point with expected cumulative steps measure within 1.1 and the expected cumulative risky steps within 0.05. Note that by design, the shortest path from the starting point to the goal point does not satisfy the constraint. This is common in practice, as robustness typically evolves trade-off between the reward and the constraint satisfaction.
227
+
228
+ The proposed C2RL method is compared with approachability-based policy optimization (ApproPO) (Miryoosefi et al., 2019) and with reward constrained policy optimization (RCPO) (Tessler et al., 2018). ApproPO solves the same convex constrained RL problem by using an RL oracle to play against a no-regret online learner (Hazan et al., 2008; Zinkevich, 2003). Since ApproPO and C2RL both use a RL oracle, ApproPO is a natural baseline to be compared with our method. Besides, we also compare with RCPO, which takes a Lagrangian approach to incorporate the constraints as a penalty signal into the reward. Using an advantage actor critic (A2C) Mnih et al. (2016), RCPO has been shown to converge to a fixed point. For a fair comparison, C2RL and ApproPO uses an A2C agent as the RL oracle, with the same hyperparameter as used in RCPO. The approximation errors are compared after training for the same number of samples.
229
+
230
+ Note that the C2RL method does not introduce any extra hyper-parameter. For ApproPO and RCPO, they require extra hyper-parameter for the initialization and learning rate of a variable equivalent to our $\boldsymbol { \lambda }$ in the outer loop. This is because our approach does not rely on the online learning framework, and therefore there is no need to tune the initialization and learning rate for our $\boldsymbol { \lambda }$ and ease the usage.
231
+
232
+ We first showcase the consequences of our theoretical results using an optimal RL oracle. For any $\pmb { x } \in \mathbb { R } ^ { m }$ , an optimal policy can be easily found via Dijkstra’s algorithm. If multiple optimal paths exist, one is randomly picked to form a deterministic policy.
233
+
234
+ ![](images/389628de1f75b64669d9098cb4d5f09762538a3a7d4405553c5ff04232cfe97e.jpg)
235
+ Figure 2: Left: Visualization of the distance minimization problem (7) in $\mathbb { R } ^ { 2 }$ , where the number of steps and the number of steps in risky zone are measured. The green hatched region is the polytope formed by values achievable by mixed deterministic policies $c \bar { ( \Delta ( \Pi ) ) }$ , and the red hatched region is the target set. Middle: Using an optimal RL oracle, 10 paths are sampled to showcase the convergence property of C2RL and ApproPO, where each cross on the dashed line corresponds to a call to the oracle. Right: If we zoom in, ApproPO suffers from the zig-zagging problem.
236
+
237
+ ![](images/3a7be78b8557e141d82da1b543f857a22bcca7efa9c5e96bc6f94f86cad03f20.jpg)
238
+ Figure 3: Left: Time complexity measured by number of calling an optimal RL oracle. Middle, Right: Using A2C to approximate an RL oracle, time complexity measured by thousands of samples and memory complexity measured by the number of policies stored are compared.
239
+
240
+ Using this as an optimal RL oracle, the convergence property of C2RL and ApproPo are compared. Figure 2 Middle shows the value of policies $c ( \mu ^ { t } )$ found after each call to the oracle. In Figure 2 Right, when approaching the boundary of the feasible set, the iterations of approachability-based methods start to zigzag. Since C2RL contains a minor cycle to re-optimize the weights among the active set, C2RL progresses quickly to reach the exact optimal solution. In Figure 3 Left, the approximation error is shown for 300 calls of the optimal RL oracle.
241
+
242
+ We then compare C2RL, ApproPO and RCPO using the same A2C agent (details of the model structures and hyper-parameters are provided in Appendix E). We run each algorithm for 50 times, and each run for a maximum of 100 thousands of samples. The mean and standard deviation of the results are presented in Figure 3. The original paper of ApproPO suggests using a cache to save memory, and the memory requirement of this variant is also presented. Figure 3 demonstrates that C2RL converges to an optimal policy faster than previous methods, and a sparse combination of individual policies is maintained throughout the iteration process.
243
+
244
+ # 6 CONCLUSION
245
+
246
+ In this paper, we introduce C2RL, an algorithm to solve RL problems under orthant or convex constraints. Our method reduces the constrained RL problem to a distance minimization problem, and a novel variant of Frank-Wolfe type algorithm is proposed to solve this. Our method comes with rigorous theoretical guarantees and does not introduce any extra hyper-parameter. To find an $\epsilon$ -approximation solution, C2RL takes $O ( 1 / \epsilon )$ calls of any RL oracle and ensures convergence to work with arbitrary RL algorithm. Moreover, C2RL strictly reduces the approximation error between consecutive calls of RL oracle, and for $m$ -dimensional constraints, the memory requirement is reduced from storing infinitely many policies $( O ( 1 / \epsilon ) )$ ) to storing at most constantly many $( m + 1 )$ polices. We further show that the constant is worst-case optimal to ensure the convergence for RL algorithms that search for deterministic policies. Experimentally, we demonstrate that the proposed C2RL method finds sparse solution efficiently, and outperforms previous methods.
247
+
248
+ # REFERENCES
249
+
250
+ Jacob Abernethy, Peter L Bartlett, and Elad Hazan. Blackwell approachability and no-regret learning are equivalent. In Proceedings of the 24th Annual Conference on Learning Theory, pp. 27–46, 2011.
251
+
252
+ Jacob D Abernethy and Jun-Kun Wang. On frank-wolfe and equilibrium computation. In Advances in Neural Information Processing Systems, pp. 6584–6593, 2017.
253
+
254
+ Alekh Agarwal, Alina Beygelzimer, Miroslav Dud´ık, John Langford, and Hanna Wallach. A reductions approach to fair classification. arXiv preprint arXiv:1803.02453, 2018.
255
+
256
+ Eitan Altman. Constrained Markov decision processes, volume 7. CRC Press, 1999.
257
+
258
+ Gabriel Barth-Maron, Matthew W Hoffman, David Budden, Will Dabney, Dan Horgan, Dhruva Tb, Alistair Muldal, Nicolas Heess, and Timothy Lillicrap. Distributed distributional deterministic policy gradients. arXiv preprint arXiv:1804.08617, 2018.
259
+
260
+ Amir Beck and Shimrit Shtern. Linearly convergent away-step conditional gradient for non-strongly convex functions. Mathematical Programming, 164(1-2):1–27, 2017.
261
+
262
+ Craig Boutilier and Tyler Lu. Budget allocation using weakly coupled, constrained markov decision processes. 2016.
263
+
264
+ Deeparnab Chakrabarty, Prateek Jain, and Pravesh Kothari. Provable submodular minimization using wolfe’s algorithm. In Advances in Neural Information Processing Systems, pp. 802–809, 2014.
265
+
266
+ Minmin Chen, Alex Beutel, Paul Covington, Sagar Jain, Francois Belletti, and Ed H Chi. Top-k off-policy correction for a reinforce recommender system. In Proceedings of the Twelfth ACM International Conference on Web Search and Data Mining, pp. 456–464, 2019.
267
+
268
+ Yinlam Chow and Mohammad Ghavamzadeh. Algorithms for cvar optimization in mdps. In Advances in neural information processing systems, pp. 3509–3517, 2014.
269
+
270
+ Yinlam Chow, Mohammad Ghavamzadeh, Lucas Janson, and Marco Pavone. Risk-constrained reinforcement learning with percentile risk criteria. The Journal of Machine Learning Research, 18 (1):6070–6120, 2017.
271
+
272
+ Yinlam Chow, Ofir Nachum, Edgar Duenez-Guzman, and Mohammad Ghavamzadeh. A lyapunovbased approach to safe reinforcement learning. In Advances in neural information processing systems, pp. 8092–8101, 2018.
273
+
274
+ Jesus A De Loera, Jamie Haddock, and Luis Rademacher. The minimum euclidean-norm point in ´ a convex polytope: Wolfe’s combinatorial algorithm is exponential. In Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing, pp. 545–553, 2018.
275
+
276
+ Miroslav Dud´ık, John Langford, and Lihong Li. Doubly robust policy evaluation and learning. arXiv preprint arXiv:1103.4601, 2011.
277
+
278
+ Marguerite Frank, Philip Wolfe, et al. An algorithm for quadratic programming. Naval research logistics quarterly, 3(1-2):95–110, 1956.
279
+
280
+ Yoav Freund and Robert E Schapire. Adaptive game playing using multiplicative weights. Games and Economic Behavior, 29(1-2):79–103, 1999.
281
+
282
+ Scott Fujimoto, Herke Van Hoof, and David Meger. Addressing function approximation error in actor-critic methods. arXiv preprint arXiv:1802.09477, 2018.
283
+
284
+ Dan Garber and Elad Hazan. A linearly convergent conditional gradient algorithm with applications to online and stochastic optimization. arXiv preprint arXiv:1301.4666, 2013a.
285
+
286
+ Dan Garber and Elad Hazan. Playing non-linear games with linear oracles. In 2013 IEEE 54th Annual Symposium on Foundations of Computer Science, pp. 420–428. IEEE, 2013b.
287
+
288
+ Peter Geibel and Fritz Wysotzki. Risk-sensitive reinforcement learning applied to control under constraints. Journal of Artificial Intelligence Research, 24:81–108, 2005.
289
+
290
+ Elad Hazan, Alexander Rakhlin, and Peter L Bartlett. Adaptive online gradient descent. In Advances in Neural Information Processing Systems, pp. 65–72, 2008.
291
+
292
+ Martin Jaggi. Revisiting frank-wolfe: Projection-free sparse convex optimization. In Proceedings of the 30th international conference on machine learning, number CONF, pp. 427–435, 2013.
293
+
294
+ Nan Jiang and Lihong Li. Doubly robust off-policy value evaluation for reinforcement learning. In International Conference on Machine Learning, pp. 652–661. PMLR, 2016.
295
+
296
+ Simon Lacoste-Julien and Martin Jaggi. On the global linear convergence of frank-wolfe optimization variants. In Advances in neural information processing systems, pp. 496–504, 2015.
297
+
298
+ Hoang Le, Cameron Voloshin, and Yisong Yue. Batch policy learning under constraints. In International Conference on Machine Learning, pp. 3703–3712, 2019.
299
+
300
+ Timothy P Lillicrap, Jonathan J Hunt, Alexander Pritzel, Nicolas Heess, Tom Erez, Yuval Tassa, David Silver, and Daan Wierstra. Continuous control with deep reinforcement learning. arXiv preprint arXiv:1509.02971, 2015.
301
+
302
+ Sobhan Miryoosefi, Kiante Brantley, Hal Daume III, Miro Dudik, and Robert E Schapire. Reinforce- ´ ment learning with convex constraints. In Advances in Neural Information Processing Systems, pp. 14093–14102, 2019.
303
+
304
+ BF Mitchell, Vladimir Fedorovich Dem’yanov, and VN Malozemov. Finding the point of a polyhedron closest to the origin. SIAM Journal on Control, 12(1):19–26, 1974.
305
+
306
+ Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Alex Graves, Ioannis Antonoglou, Daan Wierstra, and Martin Riedmiller. Playing atari with deep reinforcement learning. arXiv preprint arXiv:1312.5602, 2013.
307
+
308
+ Volodymyr Mnih, Adria Puigdomenech Badia, Mehdi Mirza, Alex Graves, Timothy Lillicrap, Tim Harley, David Silver, and Koray Kavukcuoglu. Asynchronous methods for deep reinforcement learning. In International conference on machine learning, pp. 1928–1937, 2016.
309
+
310
+ Santiago Paternain, Luiz Chamon, Miguel Calvo-Fullana, and Alejandro Ribeiro. Constrained reinforcement learning has zero duality gap. In Advances in Neural Information Processing Systems, pp. 7555–7565, 2019.
311
+
312
+ Doina Precup. Eligibility traces for off-policy policy evaluation. Computer Science Department Faculty Publication Series, pp. 80, 2000.
313
+
314
+ Doina Precup, Richard S Sutton, and Sanjoy Dasgupta. Off-policy temporal-difference learning with function approximation. In ICML, pp. 417–424, 2001.
315
+
316
+ Richard S Sutton and Andrew G Barto. Reinforcement learning: An introduction. MIT press, 2018.
317
+
318
+ Chen Tessler, Daniel J Mankowitz, and Shie Mannor. Reward constrained policy optimization. In International Conference on Learning Representations, 2018.
319
+
320
+ Hado Van Hasselt, Arthur Guez, and David Silver. Deep reinforcement learning with double qlearning. arXiv preprint arXiv:1509.06461, 2015.
321
+
322
+ Ziyu Wang, Tom Schaul, Matteo Hessel, Hado Hasselt, Marc Lanctot, and Nando Freitas. Dueling network architectures for deep reinforcement learning. In International conference on machine learning, pp. 1995–2003, 2016.
323
+
324
+ Philip Wolfe. Convergence theory in nonlinear programming. Integer and nonlinear programming, pp. 1–36, 1970.
325
+
326
+ Philip Wolfe. Finding the nearest point in a polytope. Mathematical Programming, 11(1):128–149, 1976.
327
+
328
+ Shuai Xiao, Le Guo, Zaifan Jiang, Lei Lv, Yuanbo Chen, Jun Zhu, and Shuang Yang. Model-based constrained mdp for budget allocation in sequential incentive marketing. In Proceedings of the 28th ACM International Conference on Information and Knowledge Management, pp. 971–980, 2019.
329
+
330
+ Xiangyu Zhao, Liang Zhang, Long Xia, Zhuoye Ding, Dawei Yin, and Jiliang Tang. Deep reinforcement learning for list-wise recommendations. arXiv, pp. arXiv–1801, 2017.
331
+
332
+ Guanjie Zheng, Fuzheng Zhang, Zihan Zheng, Yang Xiang, Nicholas Jing Yuan, Xing Xie, and Zhenhui Li. Drn: A deep reinforcement learning framework for news recommendation. In Proceedings of the 2018 World Wide Web Conference, pp. 167–176, 2018.
333
+
334
+ Martin Zinkevich. Online convex programming and generalized infinitesimal gradient ascent. In Proceedings of the 20th international conference on machine learning (icml-03), pp. 928–936, 2003.
335
+
336
+ Lixin Zou, Long Xia, Zhuoye Ding, Jiaxing Song, Weidong Liu, and Dawei Yin. Reinforcement learning to optimize long-term user engagement in recommender systems. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pp. 2810–2818, 2019.
337
+
338
+ A MORE ON FRANK-WOLFE-TYPE ALGORITHMS
339
+
340
+ A.1 STANDARD FRANK-WOLFE ALGORITHM
341
+
342
+ A.2 WOLFE’S METHOD FOR MINIMUM NORM POINT
343
+
344
+ <table><tr><td>Algorithm 2 Frank-Wolfe algorithm (Frank et al.,1956)</td></tr><tr><td>Input: obj. f : V -→ R,oracle O(·), init. xo ∈ Y</td></tr><tr><td>1: for t=1,2,3...,Tdo</td></tr><tr><td> 2:s←0racle(Vf(xt-1))= argming∈{s1,.,sn) sTVf(xt-1)</td></tr><tr><td>:xt←(1-nt)xt-1+nts,fornt:= t²2 3: 2</td></tr><tr><td></td></tr><tr><td>4: end for 5: return xT</td></tr></table>
345
+
346
+ For a convex function $f : \mathcal { X } \mapsto \mathbb { R }$ the Frank-Wolfe algorithm (FW) solves the constrained optimization problem over a compact and convex set $\mathcal { X }$ . The standard FW is known to have a sublinear convergence rate, and various methods are proposed to improve the performance. For example, when the underlying feasible set is a polytope, and the objective function is strongly convex, multiple variants, such as away-step FW (Wolfe, 1970; Jaggi, 2013), pairwise FW (Mitchell et al., 1974), and Wolfe’s method (Wolfe, 1976) are shown to enjoy linear convergence rate. Linear convergence under other conditions is also studied (Beck & Shtern, 2017; Garber & Hazan, 2013a;b).
347
+
348
+ Algorithm 3 Wolfe’s Method for Minimum Norm Point
349
+ Initialize $\boldsymbol { \mathscr { x } } \in \mathcal { P }$ , active set $s = [ { \pmb x } ]$ and weight $\lambda = [ 1 ]$ .
350
+ Output: $\boldsymbol { \mathscr { x } } \in \mathcal { P }$ that has the minimum Euclidean norm.
351
+ 1: while true do // Major cycle 2: $\pmb { s } \gets 0 \mathtt { r a c l e } ( \pmb { x } )$ // Potential improving point 3: if $| | \pmb { x } | | ^ { 2 } \leq \pmb { x } ^ { T } s ^ { ' } + \epsilon$ then break
352
+ 4: $S \gets S \cup \{ \mathbf { s } \}$
353
+ 5: while true do // Minor cycle 6: ${ \pmb y } , { \pmb \alpha } \gets \mathsf { A f f i n e M i n i m i z e r } ( { \pmb S } )$ $/ / \pmb { y } = \arg \operatorname* { m i n } _ { \pmb { s } \in \mathrm { a f f } ( \pmb { S } ) } \left| \left| \pmb { s } \right| \right| _ { 2 }$ 7: if $\alpha _ { s } > 0$ for all $\pmb { s }$ then break // $\pmb { y } \in \mathsf { c o n v } ( S )$ 8: $/ /$ If $\pmb { \mathscr { z } } \cos \tau ( S )$ , then update $\textbf { { y } }$ to the intersection of $\mathsf { c o n v } ( S )$ and segment joining $_ { \textbf { \em x } }$ and $\textbf { { y } }$ . Then remove points in $s$ unnecessary for describing $\textbf { { y } }$ .
354
+ 9: $\begin{array} { r l } & { \overset { \vartriangle } { \theta } \operatorname* { m i n } _ { i : \boldsymbol { \alpha } _ { i } \leq 0 } \frac { \dot { \lambda } _ { i } } { \lambda _ { i } - \alpha _ { i } } } \\ & { \overset { \vartriangle } { \boldsymbol { y } } \theta \pmb { y } + ( 1 - \theta ) \pmb { x } , \lambda _ { i } = \theta \alpha _ { i } + ( 1 - \theta ) \lambda _ { i } } \\ & { \overset { \boldsymbol { S } } { \epsilon } \{ \mathbf { s } _ { i } | \mathbf { s } _ { i } \in \mathcal { S } \mathrm { a n d } \lambda _ { i } > 0 \} } \end{array}$ // Recall $\boldsymbol { \lambda }$ satisfies $\begin{array} { r } { \pmb { x } = \sum _ { s \in \mathcal { S } } \lambda _ { s } \pmb { s } } \end{array}$ 10:
355
+ 11:
356
+ 12: end while
357
+ 13: Update ${ \mathbf { \mathscr { x } } } = { \mathbf { \mathscr { y } } }$ and $\lambda = \alpha$ .
358
+ 14: end while
359
+ 15: return $_ { \textbf { \em x } }$
360
+
361
+ Wolfe’s method is an iterative algorithm for finding the point with minimum Euclidean norm in a polytope, which is defined as the convex hull of a set of finitely many points.
362
+
363
+ The Wolfe’s method consists of a finite number of major cycles, each of which consists of a finite number of minor cycles. At the start of each major cycle, let $H ( \pmb { x } ) : = \{ \pmb { y } ^ { T } \pmb { x } = \pmb { x } ^ { \pmb { x } } \}$ be the hyperplane defined by $_ { \textbf { \em x } }$ . If $H ( { \pmb x } )$ separates the polytope from the origin, then the major cycle is terminated. Otherwise, it invokes an oracle to find any point on the near side of the hyperplane. The point is then added into the active set $s$ , and starts a minor cycle.
364
+
365
+ In a minor cycle, let $\textbf { { y } }$ be the point of smallest norm in of the affine hull aff $( S )$ . If $\textbf { { y } }$ is in the relative interior of the convex hull $\mathsf { c o n v } ( S )$ , then $_ { \textbf { \em x } }$ is updated to $\textbf { { y } }$ and the minor cycle is terminated. Otherwise, $\textbf { { y } }$ is updated to the nearest point to $\textbf { { y } }$ on the line segment $\mathsf { c o n v } ( S ) \cap [ \pmb { x } , \pmb { y } ]$ . Thus $\textbf { { y } }$ is updated to a boundary point of $\mathsf { c o n v } ( S )$ , and any point that is not on the face of $\mathsf { c o n v } ( S )$ in which $\textbf { { y } }$ lies is deleted. The minor cycles are executed repeatedly until $s$ becomes a corral, that is, a set whose affine minimizer lies inside its convex hull. Since a set of one point is always a corral, the minor cycles is terminated after a finite number of runs.
366
+
367
+ # B PROOF OF THEOREM 4.1
368
+
369
+ Theorem 4.1 (Approximation Error Strictly Decreases). For any non-terminal step $t ,$ , we have $\mathsf { e r r } ( \mu ^ { t + 1 } ) \ < \ \mathsf { e r r } ( \mu ^ { t } )$ . That is, the measurement vector of $\mu ^ { t }$ found by the C2RL method gets strictly closer to the convex set $\Omega$ after major cycle step.
370
+
371
+ Proof. If the current step is a major cycle with no minor cycle, then $\boldsymbol { x } ^ { t + 1 }$ is the affine minimizer of aff $( S \cup \{ s ^ { t } \} )$ with respect to $\omega ^ { \bar { t } }$ . Then the affine minimizer property implies $( \pmb { s } ^ { t } - \pmb { x } ^ { t + 1 } ) ( \pmb { x } ^ { t + 1 } -$ $\omega ^ { t } ) \ = \ 0$ . Since iteration does not terminate at step $t$ , we have $( { \pmb x } ^ { t } - { \bar { \pmb \omega } } ^ { t } ) ^ { T } ( { \pmb x } ^ { t } - { \pmb s } ^ { t } ) > 0$ , and therefore $\pmb { x } ^ { t + 1 }$ not equal to $\mathbf { \boldsymbol { x } } ^ { t }$ . Then $\boldsymbol { x } ^ { t + 1 }$ is the unique affine minimizer implies $f _ { \Omega } ( { \pmb x } ^ { t + 1 } ) =$ $\begin{array} { r } { \operatorname* { m i n } _ { \omega \in \Omega } | | { \pmb x } ^ { t + 1 } - \omega | | ^ { \bar { 2 } } \leq | | { \pmb x } ^ { t + 1 } - \omega ^ { t } | | ^ { 2 } < | | { \pmb x } ^ { t } - \omega ^ { t } | | ^ { 2 } = f _ { \Omega } ( { \pmb x } ^ { t } ) } \end{array}$ .
372
+
373
+ Otherwise the current step contains one or more minor cycles. In this case, we show that the first minor cycle strictly reduces the approximation error, and the (possibly) following minor cycles cannot increase it. For the first minor cycle, the affine minimizer $\bar { \boldsymbol { y } } ^ { 0 }$ of $\mathsf { a f f } ( S \cup \{ s ^ { t } \} )$ with respect to $\omega ^ { t }$ is outside c $\operatorname { m v } ( S \cup \{ s ^ { t } \} )$ . Let $\dot { z } = \theta { \bf y } ^ { 0 } + ( 1 - \theta ) { \bf x } ^ { t }$ be the intersection of $\mathsf { c o n v } ( \boldsymbol { S } \cup \{ \bar { \boldsymbol { s } } ^ { t } \} )$ and segment joining $_ { \textbf { \em x } }$ and $\textbf { { y } }$ . Let $\mathcal { V } ^ { 0 } : = \mathcal { S } ^ { t }$ and $\mathcal { V } ^ { i }$ denote the active set after the $i$ -th minor cycle. Then since $y ^ { \bar { 1 } }$ is the affine minimizer of $\mathcal { V } ^ { 1 }$ with respect to $\omega ^ { t }$ , we have
374
+
375
+ $$
376
+ | | z - \omega ^ { t } | | = | | \theta y ^ { 0 } + ( 1 - \theta ) x ^ { t } - \omega ^ { t } | | \leq \theta | | y ^ { 0 } - \omega ^ { t } | | + ( 1 - \theta ) | | x ^ { t } - \omega ^ { t } | | < | | x ^ { t } - \omega ^ { t } | | ,
377
+ $$
378
+
379
+ where the second step uses the triangle inequality and the last step follows since the segment $\boldsymbol { x } ^ { t } \boldsymbol { y } ^ { 0 }$ intersects the interior of $\mathsf { c o n v } ( S \cup \{ s ^ { \bar { t } } \} )$ , and the distance to $\omega ^ { t }$ strictly decreases along this segment. Therefore the point $_ { z }$ found by first minor cycle satisfies
380
+
381
+ $$
382
+ f _ { \Omega } ( z ) = \operatorname* { m i n } _ { \omega \in \Omega } | | z - \omega | | ^ { 2 } \leq | | z - \omega ^ { t } | | ^ { 2 } < | | x ^ { t } - \omega ^ { t } | | = f _ { \Omega } ( x ^ { t } ) .
383
+ $$
384
+
385
+ Hence $h ( \pmb { y } ^ { 1 } ) < h ( \pmb { x } ^ { t } )$ , and the first minor cycle strictly decreases the approximation error. By a similar argument, in subsequent minor cycles the approximation error cannot be increased. However, after the first minor cycle, the iterating point may already at the intersection point and the strict inequality in last step of Eq. 17 need to be replaced by non-strict inequality.
386
+
387
+ Therefore any major cycle either finds an improving point and continue, or enters minor cycles where the first minor cycle finds an improving point, and the subsequent minor cycles does not increase the distance. Adding both side of $f _ { \Omega } ( \hat { \mathbf { x } ^ { t + 1 } } ) < f _ { \Omega } ( \mathbf { x } ^ { t } )$ by $f _ { \Omega } \bar { ( } x ^ { * } )$ and we have the approximation error $h ( \mathbf { x } ^ { t + 1 } ) < h ( \bar { \mathbf { x } } ^ { t } )$ strictly decreases. □
388
+
389
+ # C PROOF OF THEOREM 4.2
390
+
391
+ We first prove the Theorem 4.2, using Lemma 4.3 and Lemma 4.4. Then we present the proof of the lemmas.
392
+
393
+ Theorem 4.2 (Convergence in Approximation Error). For $t \geq 1$ , the mixed policy $\mu ^ { t }$ found by the C2RL method satisfies
394
+
395
+ $$
396
+ \mathsf { e r r } ( \mu ^ { t } ) \leq 1 6 Q ^ { 2 } / ( t + 2 ) .
397
+ $$
398
+
399
+ where $Q : = \operatorname* { m a x } _ { \mu \in \Delta ( \mathcal { U } ) } | | c ( \mu ) | |$ is the maximum norm of a measurement vector.
400
+
401
+ Proof. Since Lemma 4.4 shows that drop steps are no more than half of total major cycle steps, and Theorem 4.1 guarantees these drop steps reducing the approximation error, we can safely skip these step, and re-index the step numbers to include non-drop steps only using $k$ .
402
+
403
+ For these non-drop steps, we claim that $\mathsf { e r r } ( \mu ^ { k } ) \leq 8 Q ^ { 2 } / ( k + 1 )$ . Using Lemma 4.3, we prove the convergence rate using induction. We first bound the error of any $\mathsf { e r r } ( \bar { \mu } ^ { \bar { k } } )$ . For any $k \geq 1$
404
+
405
+ $$
406
+ \begin{array} { r l } & { \mathsf { e r r } ( \mu ^ { k } ) = \mathtt { d i s t ^ { 2 } } ( c ( \mu ^ { k } ) , \Omega ) - \mathtt { d i s t ^ { 2 } } ( c ( \mu ^ { * } ) , \Omega ) } \\ & { \quad \quad = 1 / 2 | | c ( \mu ^ { k } ) - \mathtt { P r o j } _ { \Omega } ( c ( \mu ^ { k } ) ) | | ^ { 2 } - 1 / 2 | | c ( \mu ^ { * } ) - \mathtt { P r o j } _ { \Omega } ( c ( \mu ^ { * } ) ) | | ^ { 2 } } \\ & { \quad \le 1 / 2 ( | | c ( \mu ^ { k } ) | | ^ { 2 } + | | \mathsf { P r o j } _ { \Omega } ( c ( \mu ^ { k } ) ) | | ^ { 2 } - | | c ( \mu ^ { * } ) | | ^ { 2 } - | | \mathsf { P r o j } _ { \Omega } ( c ( \mu ^ { * } ) ) | | ^ { 2 } ) } \\ & { \quad \le | | c ( \mu ^ { k } ) | | ^ { 2 } - | | c ( \mu ^ { * } ) | | ^ { 2 } } \\ & { \quad \le | | c ( \mu ^ { k } ) | | ^ { 2 } } \\ & { \quad \le Q ^ { 2 } , } \end{array}
407
+ $$
408
+
409
+ where Eq. 21 uses the definition of our squared Euclidean distance function. Eq. 22 follows from triangle inequality, and Eq. 23 is by the contractive property of the Euclidean distance.
410
+
411
+ When $k = 1$ , the Eq. 25 established the based case. Now for $k \geq 1$ , assume that $\mathtt { e r r } ( \mu ^ { k } ) \le$ $8 Q ^ { 2 } / ( k + 1 )$ for $k \geq 1$ , then Lemma 4.3 gives $\mathsf { e r r } ( \mu ^ { k + 1 } ) \le \mathsf { e r r } ( \mu ^ { k } ) - \mathsf { e r r } ^ { 2 } ( \mu ^ { k } ) / 8 Q ^ { 2 }$ . Since the quadratic function of the right hand side is monotonically increasing on $\left( - \infty , 4 Q ^ { 2 } \right]$ , using the inductive hypothesis
412
+
413
+ $$
414
+ \mathbf { e r r } ( \mu ^ { k + 1 } ) \le \mathbf { e r r } ( \mu ^ { k } ) - \mathbf { e r r } ^ { 2 } ( \mu ^ { k } ) / 8 Q ^ { 2 } \le 8 Q ^ { 2 } / ( k + 1 ) - 8 Q ^ { 2 } / ( k + 1 ) ^ { 2 } \le Q ^ { 2 } / ( k + 2 )
415
+ $$
416
+
417
+ Since for $t$ steps of major cycle steps, the number of non-drop steps $k > t / 2$ , we conclude that $\mathsf { e r r } ( \mu ^ { t } ) \leq 1 6 \bar { Q } ^ { 2 } / ( t + \bar { 2 } )$ .
418
+
419
+ Then we prove the lemmas.
420
+
421
+ Lemma 4.3. For a non-drop step, we have $\mathbf { e r r } ( \mu ^ { t } ) - \mathbf { e r r } ( \mu ^ { t + 1 } ) \geq \mathbf { e r r } ^ { 2 } ( \mu ^ { t } ) / 8 Q ^ { 2 } .$
422
+
423
+ Proof. The non-drop step contains either no minor cycle or one minor cycle. We first consider the no minor cycle case.
424
+
425
+ If a major cycle contains no minor cycle, then $\pmb { x } ^ { t + 1 }$ is the affine minimizer of the $S \cup \{ s ^ { t } \}$
426
+
427
+ $$
428
+ \begin{array} { r l } { \mathrm { e r r } ( \mu ^ { t } ) - \mathrm { e r r } ( \mu ^ { t + 1 } ) = \mathrm { d i s t } ^ { 2 } ( x ^ { t } , \Omega ) - \mathrm { d i s t } ^ { 2 } ( x ^ { t + 1 } , \Omega ) } \\ & { = 1 / 2 ( \| x ^ { t } - \omega ^ { t } \| ^ { 2 } - \underset { \omega \in \Omega } { \operatorname* { m i n } } \| x ^ { t + 1 } - \omega \| ^ { 2 } ) } \\ & { \geq 1 / 2 ( \| x ^ { t } - \omega ^ { t } \| ^ { 2 } - \| x ^ { t + 1 } - \omega ^ { t } \| ^ { 2 } ) } \\ & { = 1 / 2 ( \| x ^ { t } - \omega ^ { t } \| ^ { 2 } + \| x ^ { t + 1 } - \omega ^ { t } \| ^ { 2 } - 2 \| x ^ { t + 1 } - \omega ^ { t } \| ^ { 2 } ) } \\ & { = 1 / 2 ( \| x ^ { t } - \omega ^ { t } \| ^ { 2 } + \| x ^ { t + 1 } - \omega ^ { t } \| ^ { 2 } - 2 ( x ^ { t } - \omega ^ { t } ) ^ { T } ( x ^ { t + 1 } - \omega ^ { t } ) ) } \\ & { = 1 / 2 ( \| x ^ { t } - x ^ { t + 1 } \| ^ { 2 } ) , } \end{array}
429
+ $$
430
+
431
+ where the equation (31) follows from the affine minimizer property Eq. (11). For $\lVert \mathbf { x } ^ { t } - \mathbf { x } ^ { t + 1 } \rVert$ in the last equation, and $\forall \mathbf { \pmb { q } } \in \mathsf { a f f } ( S \cup \{ \pmb { \mathscr { s } } ^ { t } \} ) ,$ , we have
432
+
433
+ $$
434
+ \begin{array} { r l r } { \| \pmb { x } ^ { t } - \pmb { x } ^ { t + 1 } \| \geq \| \pmb { x } ^ { t } - \pmb { x } ^ { t + 1 } \| \frac { \| \pmb { x } ^ { t } \| + \| \pmb { q } \| } { 2 Q } } & { \qquad \mathrm { ( D e f i n i t i o n ~ o f ~ } Q \mathrm { ) } } & \\ { \geq \| \pmb { x } ^ { t } - \pmb { x } ^ { t + 1 } \| \frac { \| \pmb { x } ^ { t } - \pmb { q } \| } { 2 Q } } & { \qquad \mathrm { ( ~ T r i a n g l e ~ i n e q u a l i t y ) } } & \\ { \geq \displaystyle \frac { 1 } { 2 Q } ( \pmb { x } ^ { t } - \pmb { x } ^ { t + 1 } ) ( \pmb { x } ^ { t } - \pmb { q } ) } & { \qquad \mathrm { ( ~ C a u c h y - S c h w a r z ~ i n e q u a l i t y ) } } & \\ { = \displaystyle \frac { 1 } { 2 Q } ( \pmb { x } ^ { t } - \omega ^ { t } ) ( \pmb { x } ^ { t } - \pmb { q } ) } & { \qquad \mathrm { ( ~ A f f i n e ~ m i n i m i z e r ~ p r o p e r t y ) . } } & \end{array}
435
+ $$
436
+
437
+ Then it suffices to show that $( { \pmb x } ^ { t } - { \pmb \omega } ^ { t } ) ( { \pmb x } ^ { t } - { \pmb q } ) \geq \mathrm { e r r } ( \mu ^ { t } )$ .
438
+
439
+ Since $\Omega$ is a convex set, the squared Euclidean distance function dist ${ \mathbf \xi } ^ { 2 } ( { \pmb x } , { \pmb \Omega } )$ is convex for $_ { \textbf { \em x } }$ , which implies
440
+
441
+ $$
442
+ \mathrm { d i s t } ^ { 2 } ( { \pmb x } ^ { t } , \Omega ) + ( { \pmb q } - { \pmb x } ^ { t } ) \nabla \mathrm { d i s t } ^ { 2 } ( { \pmb x } ^ { t } , \Omega ) \leq \mathrm { d i s t } ^ { 2 } ( { \pmb q } , \Omega ) .
443
+ $$
444
+
445
+ Putting in $\nabla \mathrm { d i s t } ^ { 2 } ( \boldsymbol { x } ^ { t } , \Omega ) = \left( \boldsymbol { x } ^ { t } - \mathrm { P r o j } _ { \Omega } ( \boldsymbol { x } ^ { t } ) \right) = \left( \boldsymbol { x } ^ { t } - \omega ^ { t } \right)$ , we get $( { \pmb x } ^ { t } - { \pmb \omega } ^ { t } ) ( { \pmb x } ^ { t } - { \pmb q } ) \geq \mathtt { e r r } ( { \pmb \mu } ^ { t } )$ , which together with Eq. 32 and Eq. 36 concludes that for non-drop step with no minor cycles, we have $\mathsf { e r r } ( \mu ^ { t } ) - \mathsf { e r r } ( \mu ^ { \bar { t } + 1 } ) \geq \mathsf { e r r } ^ { \bar { 2 } } ( \mu ^ { t } ) / 8 Q ^ { 2 }$ .
446
+
447
+ For non-drop step with one minor cycle, we use the Theorem 6 of (Chakrabarty et al., 2014). By a linear translation of adding all points with $- \omega ^ { t }$ , it gives
448
+
449
+ $$
450
+ | | \pmb { x } ^ { t } - \omega ^ { t } | | ^ { 2 } - | | \pmb { x } ^ { t + 1 } - \omega ^ { t } | | ^ { 2 } \geq ( ( \pmb { x } ^ { t } - \omega ^ { t } ) ( \pmb { x } ^ { t } - \pmb { q } ) ) ^ { 2 } / 8 Q ^ { 2 } .
451
+ $$
452
+
453
+ Then applying the same argument as Eq. 37, and we finished our proof.
454
+
455
+ Lemma 4.4. After t major cycle steps of C2RL method, the number of drop steps is less than $t / 2$
456
+
457
+ Proof. Recall that at the termination of a minor cycle, the size of the active set $| S _ { c } | \in [ 1 , m ]$ . Since in each major cycle steps, the size of active set $S _ { t }$ increases by one, and each drop step reduces the size of $S _ { t }$ by at least one, the number of drop steps is always less than half of total number of the major cycle steps. □
458
+
459
+ # D PROOF OF THEOREM 4.5
460
+
461
+ Theorem 4.5 (Memory Complexity Bound). For an constrained RL problem with $m$ -dimensional measurement vector, in the worst case, a mixed policy needs to randomize among $m + 1$ individual policies to ensure convergence of RL oracles that search for deterministic policies.
462
+
463
+ Proof. We give a constructive proof. Consider a $m$ -dimensional vector-valued MDP with a single state, $m + 1$ actions, and $\pmb { c } ( a _ { i } ) : = \pmb { e } _ { i }$ is the unit vector of $i$ -th dimension for $i \in [ 1 , m ]$ , and $\pmb { c } ( a _ { m + 1 } ) : = \mathbf { 0 }$ , and the episode terminates after 1 steps. The constrained RL problem is to find a policy whose measurement vector lies in the convex set of a single point $\{ \mathbf { 1 } / 2 m \}$ . By linear programming, it is clear that the only feasible mixed deterministic policy is to select $a _ { m + 1 }$ with $1 / 2$ probability, and the rest $m$ actions with $1 / 2 m$ probability; i.e. the unique feasible policy to this problem has an active set containing $m + 1$ deterministic policies. Therefore any method randomize among less than $m + 1$ individual policies does not ensure convergence when used with RL algorithms searching for deterministic policies. □
464
+
465
+ # E ADDITIONAL EXPERIMENT DETAILS
466
+
467
+ All the methods use the same A2C agent. The input is the one-hot encoded current position index. The A2C is the standard fully connected multi-layer perceptron with ReLU activation function. The actor and critic share the internal representation and have their only final layer. Both actor and critic networks use Adam optimizer with learning rate set to $1 e ^ { - 2 }$ . The network is as follows
468
+
469
+ <table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>Actor</td><td rowspan=1 colspan=1>Critic</td></tr><tr><td rowspan=1 colspan=1>Input layer</td><td rowspan=1 colspan=2>One-hot encoded state index (dim=54)</td></tr><tr><td rowspan=1 colspan=1>Hidden layer</td><td rowspan=1 colspan=2>Linear(in=54, out=128,act=&quot;relu&quot;)</td></tr><tr><td rowspan=1 colspan=1>Output layer</td><td rowspan=1 colspan=1>Linear(in=128,out=4,act=&quot;relu&quot;)</td><td rowspan=1 colspan=1>Linear(in=128,out=1,act=&quot;relu&quot;)</td></tr><tr><td rowspan=1 colspan=1>Output name</td><td rowspan=1 colspan=1>Action score</td><td rowspan=1 colspan=1>State value</td></tr></table>
470
+
471
+ For ApproPO, the constant $\kappa$ for projection convex set to convex cone is set to be 20. The $\pmb \theta$ is initialized to 0. Following the original paper.
472
+
473
+ For RCPO, the learning rate of its $\boldsymbol { \lambda }$ is set to $2 . 5 e ^ { - 5 }$ , and its $\lambda$ is initialized to 0 and updated by online gradient descent with learning rate set to 1, as used by the original paper.
474
+
475
+ The proposed C2RL introduces no extra hyper-parameters, and has nothing to report.
parse/train/fV4vvs1J5iM/fV4vvs1J5iM_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/fV4vvs1J5iM/fV4vvs1J5iM_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/fV4vvs1J5iM/fV4vvs1J5iM_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/qcjOWDHAc4J/qcjOWDHAc4J.md ADDED
@@ -0,0 +1,561 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Social Processes: Self-Supervised Forecasting of Nonverbal Cues in Social Conversations
2
+
3
+ Anonymous Author(s)
4
+ Affiliation
5
+ Address
6
+ email
7
+
8
+ # Abstract
9
+
10
+ The default paradigm for the forecasting of human behavior in social conversations is characterized by top-down approaches. These involve identifying predictive relationships between low level nonverbal cues and future semantic events of interest (e.g. turn changes, group leaving). A common hurdle however, is the limited availability of labeled data for supervised learning. In this work, we take the first step in the direction of a bottom-up self-supervised approach in the domain. We formulate the task of Social Cue Forecasting to leverage the larger amount of unlabeled low-level behavior cues, and characterize the modeling challenges involved. To address these, we take a meta-learning approach and propose the Social Process (SP) models—socially aware sequence-to-sequence (Seq2Seq) models within the Neural Process (NP) family. SP models learn extractable representations of non-semantic future cues for each participant, while capturing global uncertainty by jointly reasoning about the future for all members of the group. Evaluation on synthesized and real-world behavior data shows that our SP models achieve higher log-likelihood than the NP baselines, and also highlights important considerations for applying such techniques within the domain of social human interactions.
11
+
12
+ # 17 1 Introduction
13
+
14
+ 18 Picture a situated interactive agent such as a social robot conversing with a group of people. How
15
+ 19 can agents act in such a setting? We sustain conversations spatially and temporally through explicit
16
+ 20 behavioral cues—examples include locations of partners, their orientation, gestures, gaze, and floor
17
+ 21 control actions [1–3]. Evidence suggests that we employ an anticipation of these and other cues to
18
+ 22 navigate daily social interactions [1, 4–8]. Consequently, the ability to forecast the future constitutes
19
+ 23 a natural objective towards the realization of machines with social skills. As such, interactive agents
20
+ 24 typically contend with uncertainties in inferences surrounding cues [3]. So beyond making real-time
21
+ 25 inferences, such systems may achieve more fluid interactions by leveraging the ability to forecast
22
+ 26 future states of the conversation [9].
23
+ 27 In addition to the development of social agents, behavior forecasting is also of significance in social
24
+ 28 psychology, where the focus is on gaining insight into human behavior. Since human-interpretability
25
+ 29 is of essence, top-down approaches largely constitute the default paradigm, where specific events of
26
+ 30 semantic interest are selected first for consideration and their relationship to potentially predictive cues
27
+ 31 are studied in isolation—either in controlled interactions in lab settings, or in subsequent statistical
28
+ 32 analyses [10, 11]. Examples of such semantic events include speaker turn transitions [5, 12, 13],
29
+ 33 mimicry episodes [14], or the termination of an interaction [9, 15]. However, one hurdle in the
30
+ 34 top-down paradigm is limited data. The events (that constitute the labels or the dependent variables)
31
+ 35 often occur infrequently over a longer interaction, reducing the effective amount of labeled data. This
32
+ 36 precludes the use of neural supervised learning techniques that tend to be data intensive.
33
+ 37 In this work, we take an initial step towards a bottom-up approach to forecasting human behavior for
34
+ 38 free standing conversational groups. Our guiding motivation is to learn predictive representations of
35
+ 39 general future social behavior by utilizing unlabeled streams of low-level behavioral features. We do
36
+ 40 this by regressing future sequences of these features from observed sequences of the same features in
37
+ 41 a self-supervised manner. We term this task of non-semantic future behavior forecasting as Social
38
+ 42 Cue Forecasting (SCF).
39
+ 43 Our approach is built on the observation that the social signal [17]—the high-level attitudes and social
40
+ 44 meaning transferred in interactions—is already embedded in the low-level cues [18]. To conceptually
41
+ 45 illustrate the contrasting top-down and bottom-up approaches on an example task, Figure 1 depicts
42
+ 46 an instance of a group leaving event in a naturalistic social conversation. Evidence suggests that
43
+ 47 such events can be anticipated from certain preceding rituals [15] reflected in the postural changes of
44
+ 48 conversing members [1]. van Doorn [15] built a predictor using 200 instances of group leaving found
45
+ 49 in over 90 minutes of mingling interaction and hand-crafted features. In contrast, our bottom-up
46
+ 50 approach would entail learning task agnostic representations of future behavior using the entire 90
47
+ 51 minutes of data, and then training simpler predictors for group leaving using the learnt representations
48
+ 52 as input. The figure also illustrates the complexity of naturalistic interactions where cross-group
49
+ 53 social influence exists. In this work we focus on the simpler setting of a single group in a scene.
50
+ 54 There are several challenges intrinsic to computationally modeling future behavior in social conversa
51
+ 55 tions. The future is intrinsically uncertain, the forecasts for interaction partners are inter-dependent,
52
+ 56 and the social dynamics is unique for each grouping of individuals. We address these through the
53
+ 57 following contributions:
54
+
55
+ ![](images/075804c0c5de43a9d7c73e8bb27136d7c99fd35d0e60c15f3fcb826c5068b063.jpg)
56
+ Figure 1: Conceptual illustration of forecasting approaches on an in-the-wild conversation from the MatchNMingle dataset [16]. a. The top-down approach entails predicting a semantic event or action of interest for the observed window $\mathbf { \mathit { t } _ { \mathrm { o b s } } } : = [ o \bar { 1 } \dots o T ]$ . Here we illustrate group leaving [15]; the circled individual in the center leaves a group in the future. b. In contrast, we propose a bottom-up approach in the social conversation forecasting domain through the task of Social Cue Forecasting. This entails using the non-semantic low-level cues over $\mathbf { \Delta } \mathbf { \mathcal { t } } _ { \mathrm { o b s } }$ to regress the same cues over the future window $\pmb { t } _ { \mathrm { f u t } } : = [ f 1 \ldots f { \bar { T } } ]$ . In this example we depict the cues of head pose (solid normal), body pose (hollow normal), and speaking status (speaker in orange). The hypothetical uncertainty estimates over $\scriptstyle t _ { \mathrm { f u t } }$ are also depicted as shaded spreads.
57
+
58
+ • We formalize the task of SCF. We characertize the modeling challenges involved, and cast the problem into the meta-learning paradigm, allowing for data-efficient generalization to unseen groups at evaluation without learning group-specific models. We propose and evaluate two socially aware Sequence-to-Sequence (Seq2Seq) models within the Neural Process (NP) family [19] for SCF in social conversations. Our method encodes complex social dynamics informative of future group behavior into extractable representations for each individual.
59
+
60
+ 65 This paper is organized as follows. In Section 2 we formally define and characterize the task of
61
+ 66 SCF. We situate this work within broader literature in Section 3, and review background concepts
62
+ 67 in Section 4. We propose the Social Process models in Section 5 and describe our experiments in
63
+ 68 Section 6, concluding with a discussion of our findings in Section 7.
64
+
65
+ # 2 Social Cue Forecasting
66
+
67
+ 70 The objective of SCF is to predict future behavioral cues of all people involved in a social encounter
68
+ 71 given an observed sequence of their behavioral features. More formally, let us denote a window
69
+ 72 of observed timesteps as $\begin{array} { r c l } { t _ { \mathrm { o b s } } } & { : = } & { [ o 1 , o 2 , . . . , o T ] } \end{array}$ , and an unobserved future time window as
70
+ 73 $\pmb { t } _ { \mathrm { f u t } } : = [ f 1 , f 2 , . . . , \bar { f } T ]$ , $f 1 > o T$ . Note that $\mathbf { \Delta } t _ { \mathrm { f u t } }$ and $\pmb { t } _ { \mathrm { o b s } }$ are typically non-overlapping, can be of
71
+ 74 different lengths, and $\mathbf { \Delta } \mathbf { \mathbf { t } } _ { \mathrm { f u t } }$ need not immediately follow $\mathbf { \Delta } \mathbf { t } _ { \mathrm { o b s } }$ . Given a set of $n$ interacting participants,
72
+ 75 let us denote their social cues over a $t _ { \mathrm { o b s } }$ and $\mathbf { \Delta } \mathbf { \mathbf { t } } _ { \mathrm { f u t } }$ respectively as
73
+
74
+ $$
75
+ X : = [ b _ { t } ^ { i } ; t \in t _ { \mathrm { o b s } } ] _ { i = 1 } ^ { n } , \quad Y : = [ b _ { t } ^ { i } ; t \in t _ { \mathrm { f u t } } ] _ { i = 1 } ^ { n } .
76
+ $$
77
+
78
+ The vector 76 $ { b _ { t } ^ { i } }$ encapsulates the multimodal cues of interest from participant $i$ at time $t$ . These can 77 include head and body pose, speaking status, facial expressions, gestures, and verbal content—any 78 information stream that combine to transfer social meaning.
79
+
80
+ 79 In its simplest form, given an $\boldsymbol { X }$ , the objective of SCF is to learn a single function $f$ such that
81
+ 80 $Y = f ( X )$ . However, an inherent challenge in forecasting behavior is that an observed sequence
82
+ 81 of interaction does not have a deterministic future and can result in multiple socially valid ones—a
83
+ 82 window of overlapping speech between people both may and may not result in a change of speaker
84
+ 83 [12, 20], a change in head orientation may continue into a sweeping glance across the room or a darting
85
+ 84 glance stopping at a recipient of interest [21]. In some cases certain observed behaviors—intonation
86
+ 85 and gaze cues [5, 13] or synchronization in speaker-listener speech [22] for turn-taking—might
87
+ 86 make some outcomes more likely than others. Given that there are both supporting and challenging
88
+ 87 arguments for how these observations influence subsequent behaviors [22, p. 5; 13, p. 22], it would
89
+ 88 be beneficial if a data-driven model expresses a measure of uncertainty in its forecasts. We do this by
90
+ 89 modeling the distribution over possible futures $p ( \mathbf { { Y } } | \boldsymbol { { X } } )$ rather than forecasting a single future.
91
+ 90 Another design consideration arises from a defining characteristic of focused interactions—the
92
+ 91 participants’ behaviors are interdependent. Participants in a group sustain equal access to the shared
93
+ 92 interaction space through cooperative maneuvering [1, p. 220]. Moreover, when multiple groups
94
+ 93 are co-located, outsiders unengaged in these intra-group maneuvers may also influence the behavior
95
+ 94 of those within the group [23, p. 91;1, p. 233], sometimes causing them to leave (see Figure 1). It
96
+ 95 is therefore essential to capture uncertainty in forecasts at the global level—jointly forecasting one
97
+ 96 future for all participants at a time, rather than at a local output level—one future for each individual
98
+ 97 independent of the remaining participants’ futures.
99
+ 98 How participants coordinate their behaviors is a function of several individual factors [24, Chap. 1; 1,
100
+ 99 p. 237]. Consequently, the social dynamics guiding an interaction also has unique attributes for every
101
+ 100 unique grouping of individuals. Rather than learning group-specific models to capture these unique
102
+ 101 dynamics, we formulate the forecasting problem in terms of meta-learning, or few-shot function
103
+ 102 estimation. We interpret each unique group of individuals as the meta-learning notion of a task. The
104
+ 103 core idea is that we can learn to predict a distribution over futures for a target sequence $\boldsymbol { X }$ having
105
+ 104 captured the group’s unique behavioral tendencies from a context set $C$ of their observed-future
106
+ 105 sequences. We can then generalize to unseen groups at evaluation by conditioning on a short observed
107
+ 106 slice of their interaction. We believe that this approach is especially suitable for social conversation
108
+ 107 forecasting—a setting that involves a limited data regime where good uncertainty estimates are
109
+ 108 desirable. Note that when conditioning on context is removed $C = \varnothing$ ), we simply revert to the
110
+ 109 formulation $p ( \mathbf { { Y } } | \boldsymbol { { X } } )$ .
111
+
112
+ # 110 3 Related Work
113
+
114
+ 111 Free-standing conversations are an example of what social scientists call focused interactions, said to
115
+ 112 arise when a “group of persons gather close together and openly cooperate to sustain a single focus
116
+ 113 of attention, typically by taking turns at talking” [23, p. 24]. A long-standing topic of study has been
117
+ 114 the systematic organization of turn-taking [25–27], with a particular interest in the event of upcoming
118
+ 115 speaking turns [5–8]. There has also been some interest in the forecasting task itself, to anticipate
119
+ 116 disengagement from an interaction [9, 15], the splitting or merging of groups [28], the time-evolving
120
+ 117 size of a group [29] or semantic social action labels [30, 31]. Most of these works use heuristics,
121
+ 118 either to generate semantic labels [9], model the dynamics itself [29], or hand-craft features [15].
122
+ 119 Although not a forecasting task, the closest work that shares our motivation in predicting non-semantic
123
+ 120 low-level features is the recently introduced task of Social Signal Prediction (SSP) [32]. The objective
124
+ 121 is to predict the social cues1 of a target person using cues from the communication partners as
125
+ 122 input (Joo et al. focus on predictions within the same time window [32, Eq. 6]). While the most
126
+ 123 general formulation of SSP involves forecasting a single timestep for a target person given the
127
+ 124 entire group’s past behavior [32, Eq. 3], generalizing this formulation runs into an inherent problem;
128
+ 125 applying the definition to forecasting entails iteratively treating each individual as target, learning
129
+ 126 separate functions for every person. However, as we discuss in Section 2, these futures of interacting
130
+ 127 individuals are not independent given observed group behavior. Furthermore, a constrained definition
131
+ 128 of forecasting that predicts an immediate step into the future is limiting, since forecasting an event
132
+ 129 that occurs after a delay (e.g. a time lagged synchrony [33] or mimicry [14] episode) might be of
133
+ 130 interest. Operationalizing this definition would entail a sliding window iteratively using predictions
134
+ 131 over the offset between $t _ { \mathrm { o b s } }$ and $\pmb { t } _ { \mathrm { f u t } }$ as input, which would cascade prediction errors.
135
+ 132 A related social setting where forecasting has been of interest is that of unfocused interactions. These
136
+ 133 occur when individuals find themselves by circumstance in the immediate presence of each other,
137
+ 134 such as pedestrians walking in proximity. Early approaches for forecasting pedestrian trajectories
138
+ 135 were heuristic based, involving hand-crafted energy potentials to describe the influence pedestrians
139
+ 136 have on each other [34–41]. More recent approaches encode the relative positional information
140
+ 137 directly into a neural architecture [42–46].
141
+ 138 In a broad sense, the self-supervised learning aspects of this work has some overlap with recent
142
+ 139 approaches focusing on the non-interaction task of visual forecasting. These works have taken a
143
+ 140 non-semantic approach to predict low level pixel-based features or intermediate representations
144
+ 141 [38, 47–52], and demonstrated a utility of the learned representation for other tasks like semi
145
+ 142 supervised classification [53], or training agents in immersive environments [54].
146
+
147
+ # 143 4 Preliminaries
148
+
149
+ 144 Meta-learning. A supervised learning algorithm can be viewed as a function mapping a dataset
150
+ 145 $C : = ( X _ { C } , \bar { Y _ { C } } ) : = \{ ( \bar { { \bf x } } _ { i } , { \bf y } _ { i } ) \} _ { i \in [ N _ { C } ] }$ to a predictor $f ( { \pmb x } )$ . Here $N _ { C }$ is the number of datapoints in
151
+ 146 $C$ , and $[ N _ { C } ] : = \{ 1 , \dots , N _ { C } \}$ . The key idea of meta-learning is to learn the learning process itself,
152
+ 147 modeling this function representing the initial algorithm using another supervised learning algorithm;
153
+ 148 hence the name meta-learning. In meta-learning literature, a task refers to each dataset in a collection
154
+ 149 $\mathcal { M } : = \{ \mathcal { T } _ { i } \} _ { i = 1 } ^ { N _ { \mathrm { t a s k s } } }$ of related datasets [55]. For each task $\tau$ , a meta-learner is episodically trained
155
+ 150 to fit a subset of target points $D : = ( X , Y ) : = \{ ( { \pmb x } _ { i } , { \pmb y } _ { i } ) \} _ { i \in [ N _ { D } ] }$ given another subset of context
156
+ 151 observations $C$ . At meta-test time, the resulting predictor $f ( \pmb { x } , C )$ uses the information obtained
157
+ 152 during meta-learning to make predictions for unseen target points conditioned on context sets unseen
158
+ 153 at meta-training.
159
+ 154 Neural Processes Sharing the same core motivations, NPs are a family of latent variable models
160
+ 155 that extend the idea of meta-learning to situations where uncertainty in the predictions $f ( \pmb { x } , C )$ are
161
+ 156 desirable. They do this by meta-learning a map from datasets to stochastic processes, estimating a
162
+ 157 distribution over the predictions $p ( { \boldsymbol { Y } } | { \boldsymbol { X } } , { \boldsymbol { C } } )$ . To capture this distribution, NPs model the conditional
163
+ 158 latent distribution $p ( z | C )$ from which a task representation $z \in \mathbb { R } ^ { d }$ is sampled. This constitutes
164
+ 159 the model’s latent path. The context can also be incorporated through a deterministic path, via a
165
+ 160 representation $r _ { C } \in \mathbb { R } ^ { d }$ aggregated over $C$ . An observation model $p ( \pmb { y } _ { i } | \pmb { x } _ { i } , \pmb { r } _ { C } , \pmb { z } )$ then fits the target
166
+ 161 observations in $D$ . The generative process for the NP is written as
167
+
168
+ $$
169
+ p ( { \pmb Y } | { \pmb X } , { \pmb C } ) : = \int p ( { \pmb Y } | { \pmb X } , { \pmb C } , { \pmb z } ) p ( { \pmb z } | { \pmb C } ) d { \pmb z } = \int p ( { \pmb Y } | { \pmb X } , { \pmb r } _ { C } , { \pmb z } ) q ( { \pmb z } | s _ { C } ) d { \pmb z } ,
170
+ $$
171
+
172
+ 162 where $\begin{array} { r } { p ( { \pmb Y } | { \pmb X } , { \pmb r } _ { C } , z ) : = \prod _ { i \in [ N _ { D } ] } p ( { \pmb y } _ { i } | { \pmb x } _ { i } , { \pmb r } _ { C } , z ) } \end{array}$ . The latent $_ z$ is modeled by a factorized Gaussian
173
+ 163 parameterized by $\bullet _ { C } : = f _ { s } ( C )$ , with $f _ { s }$ being a deterministic function invariant to order permutation
174
+ 164 over $C$ . When the conditioning on context is removed $C = \varnothing$ ), we have $q ( z | s _ { \emptyset } ) : \bar { = } p ( z )$ , the
175
+ 165 zero-information prior on $_ { z }$ . $C$ is encoded on the deterministic path using a function $f _ { r }$ similar to
176
+ 166 $f _ { s }$ , so that $\pmb { r } _ { C } : = f _ { r } ( C )$ . In practice this is implemented as $\textstyle { \pmb r } _ { C } \doteq \sum _ { i \in [ N _ { C } ] } \operatorname { M L P } ( { \pmb x } _ { i } , { \pmb y } _ { i } ) / N _ { C }$ . The
177
+ 167 observation model is referred to as the decoder, and $q , f _ { r } , f _ { s }$ comprise the encoders. The parameters
178
+ 168 of the NP are learned for random subsets $C$ and $D$ by maximizing the evidence lower bound (ELBO)
179
+
180
+ ![](images/7cda7fc64afbe0b23d6bdadb0c6190cf34a8132631c02b3936d08c58e0a213a6.jpg)
181
+ Figure 2: Architecture of the SP and ASP family.
182
+
183
+ # 169 5 Social Processes
184
+
185
+ 170 In this section we present our socially aware Seq2Seq models within the NP family that is agnostic to
186
+ 171 group member identities and group size. To setup the task, we split the contextual interaction on which
187
+ 172 we condition into pairs of observed and future sequences, writing the context as $C : = ( X _ { C } , Y _ { C } ) : =$
188
+ 173 $( X _ { j } , Y _ { k } ) _ { ( j , k ) \in [ N _ { C } ] \times [ N _ { C } ] }$ , where every $X _ { j }$ occurs before the corresponding $Y _ { k }$ . As discussed in
189
+ 174 Section 3, domain experts focusing on behavior analysis might be interested in settings where $t _ { \mathrm { o b s } }$
190
+ 175 and $\mathbf { \Delta } t _ { \mathrm { f u t } }$ are offset by an arbitrary delay. Consequently, the $j$ th $t _ { \mathrm { o b s } }$ can have multiple associated $\mathbf { \Delta } \mathbf { \mathbf { { t } } } _ { \mathrm { { f u t } } }$
191
+ 176 windows. Denoting the set of target window pairs as $D : = ( X , Y ) : = ( X _ { j } , Y _ { k } ) _ { ( j , k ) \in [ N _ { D } ] \times [ N _ { D } ] }$ , our
192
+ 177 focus in the rest of this work is to model the distribution $p ( { \boldsymbol { Y } } | { \boldsymbol { X } } , { \boldsymbol { C } } )$ .
193
+ 178 The generative process for our model we call the Social Process (SP) follows Eq. 2, which we
194
+ 179 extend to social forecasting in two ways. We embed an observed sequence $_ { \textbf { \em x } }$ for an individual
195
+ 180 into a condensed encoding $\mathbf { \bar { \boldsymbol { e } } } \in \mathbb { R } ^ { d }$ that is then decoded into the future sequence using a Seq2Seq
196
+ 181 architecture [56, 57]. Our intuition is that this would cause the representation to encode temporal
197
+ 182 information about the future. Further, for every individual we model this $e$ as a function of their own
198
+ 183 behavior, and that of their partners as viewed by them. The intuition is that this captures the spatial
199
+ 184 influence partners have on the participant over the $t _ { \mathrm { o b s } }$ . Using notation we established in Section 2,
200
+ 185 we define the observation model for the SP for a single participant $\mathrm { p } _ { i }$ as
201
+
202
+ $$
203
+ p ( \pmb { y } ^ { i } | \pmb { x } ^ { i } , C , z ) : = p ( \pmb { b } _ { f 1 } ^ { i } , \ldots , \pmb { b } _ { f T } ^ { i } | \pmb { b } _ { o 1 } ^ { i } , \ldots , \pmb { b } _ { o T } ^ { i } , C , z ) = p ( \pmb { b } _ { f 1 } ^ { i } , \ldots , \pmb { b } _ { f T } ^ { i } | \pmb { e } ^ { i } , \pmb { r } _ { C } , z ) .
204
+ $$
205
+
206
+ 186 If decoding is carried out in an auto-regressive manner, we can further write the right hand side of
207
+ 187 Eq. 4 as $\begin{array} { r } { \dot { \prod _ { t = f 1 } ^ { f T } } p ( b _ { t } ^ { i } | b _ { t - 1 } ^ { i } , \dots , b _ { f 1 } ^ { i } , e ^ { i } , r _ { C } , z ) } \end{array}$ . Following the standard NP setting, we implement the
208
+ 188 observation model as a set of Gaussian distributions factorized over time and feature dimensions.
209
+ 189 We also incorporate the cross-attention mechanism from the Attentive Neural Process (ANP) [58] to
210
+ 190 define the variant Attentive Social Process (ASP). Following Eq. 4 and the definition of the ANP, the
211
+ 191 corresponding observation model of the ASP for a single participant is defined as
212
+
213
+ $$
214
+ p ( \pmb { y } ^ { i } | \pmb { x } ^ { i } , C , z ) = p ( b _ { f 1 } ^ { i } , \ldots , b _ { f T } ^ { i } | \pmb { e } ^ { i } , r ^ { * } ( C , \pmb { x } ^ { i } ) , z ) .
215
+ $$
216
+
217
+ 92 Here each target query sequence $\pmb { x } _ { \ast } ^ { i }$ attends to the context sequences $X _ { C }$ to produce a query-specific
218
+ 93 representation $r _ { * } : = r ^ { * } ( C , \pmb { x } _ { * } ^ { i } ) \in \mathbb { R } ^ { d }$ . The model architectures are illustrated in Figure 2.
219
+ 194 Encoding Partner Behavior. While a typical Seq2Seq setup conditions the sequence decoder on
220
+ 195 solely a compact representation of the observed sequence, we’d like to condition an individual’s
221
+ 196 forecast on the observed behavior of both, themselves and their partners. We do this using a pair
222
+ 197 of sequence encoders: one to encode the temporal dynamics of participant $\mathrm { p } _ { i }$ ’s features, $\bar { e } _ { \mathrm { s e l f } } ^ { i } =$
223
+ 198 $f _ { \mathrm { s e l f } } ( \mathbf { \bar { x } } _ { i } )$ , and another to encode the dynamics of a transformed representation of the features of $\mathrm { p } _ { i }$ ’s
224
+ 199 partners, $e _ { \mathrm { p a r t n e r } } ^ { i } = f _ { \mathrm { p a r t n e r } } ( \psi ( \pmb { x } _ { j , ( j \neq i ) } ) )$ . Using a separate network to encode partner behavior
225
+ 200 grants the practical advantage of being able to sample an individual’s and partners’ features at different
226
+ 201 sampling rates.
227
+ 202 How do we model $\psi ( \pmb { x } _ { j } )$ ? We want the partners’ representation to possess two properties: per
228
+ 203 mutation invariance—changing the order of the partners should not affect the representation; and
229
+ 204 group size independence—we want to compactly represent all partners independent of the group size.
230
+ 205 Beyond coordinate space invariance, we wish to intuitively capture a view of the interaction from
231
+ 206 $\mathrm { p } _ { i }$ ’s perspective. We extend the approach Qi et al. [59] applied to point clouds to focused interactions
232
+ 207 by computing pooled embeddings of relative behavioral features. Since most commonly considered
233
+ 208 nonverbal cues in literature (see Section 6.3) include the attributes of orientation or location (e.g.
234
+ 209 head/body pose or keypoints) or a binary indicator (such as speaking status), we specify how we
235
+ 210 transform these. The 3D pose (orientation, location) of every partner $\mathrm { p } _ { j }$ is transformed to a frame of
236
+ 211 reference defined by $\mathrm { p } _ { i }$ ’s pose. At timestep $t$ , denoting orientation, location, and binary speaking
237
+ 212 status for $\mathrm { p } _ { i }$ as $b _ { t } ^ { i } = [ \mathbf { q } ^ { i } ; \mathbf { l } ^ { i } ; \mathbf { s } ^ { i } ]$ , and those for $\mathrm { p } _ { j }$ as $\mathbf { } b _ { t } ^ { j } = [ \mathbf { q } ^ { j } ; \mathbf { l } ^ { j } ; \mathbf { s } ^ { j } ]$ , we have
238
+
239
+ $$
240
+ \mathbf { q } ^ { r e l } = \mathbf { q } ^ { i } * ( \mathbf { q } ^ { j } ) ^ { - 1 } , \quad \mathbf { l } ^ { r e l } = \mathbf { l } ^ { j } - \mathbf { l } ^ { i } , \quad \mathbf { s } ^ { r e l } = \mathbf { s } ^ { j } - \mathbf { s } ^ { i } .
241
+ $$
242
+
243
+ 213 Note that we use unit quaternions (denoted $\mathbf { q }$ ) for representing orientation due their various benefits
244
+ 214 over other representations of rotation [60, Sec. 3.2]. The operator $^ *$ denotes the Hamilton product of
245
+ 215 the quaternions. These transformed features for each $\mathrm { p } _ { j }$ are encoded using an embedder MLP. The
246
+ 216 outputs are concatenated with $e _ { \mathrm { s e l f } } ^ { j }$ and processed by a pre-pooler MLP, which is followed by the
247
+ 217 symmetric element-wise Max-pooling function to obtain $\psi ( \pmb { x } ^ { j } )$ at each timestep. We capture the
248
+ 218 dynamics in the pooled representation over $t _ { \mathrm { o b s } }$ using $f _ { \mathrm { p a r t n e r } }$ . Finally, we combine $e _ { \mathrm { s e l f } } ^ { i }$ and $e _ { \mathrm { p a r t n e r } } ^ { i }$
249
+ 219 for $\mathrm { p } _ { i }$ through a linear projection (defined by a weight matrix $W$ ) to obtain the individual’s embedding
250
+ 220 $e _ { \mathrm { i n d } } ^ { i } = W . [ \bar { e } _ { \mathrm { s e l f } } ^ { i } ; e _ { \mathrm { p a r t n e r } } ^ { i } ]$ . Our intuition is that with information about both $\mathrm { p } _ { i }$ themselves, and of
251
+ 221 $\mathrm { p } _ { i }$ ’s partners from $\mathrm { p } _ { i }$ ’s point-of-view, $e _ { \mathrm { i n d } } ^ { i }$ now contains the information required to predict $\mathrm { p } _ { i }$ ’s
252
+ 222 future behavior.
253
+ 223 Encoding Future Window Offset. As we’ve discussed at the start of this section, a single $t _ { \mathrm { o b s } }$
254
+ 224 might have multiple associated $\mathbf { \Delta } \mathbf { \mathbf { \mathit { t } } _ { \mathrm { f u t } } }$ windows at different offsets. Our intuition is that training a
255
+ 225 sequence decoder to decode the same $e _ { \mathrm { i n d } } ^ { i }$ into multiple sequences (corresponding to the multiple
256
+ 226 $\pmb { t } _ { \mathrm { f u t } } )$ ) in the absence of any timing information might cause an averaging effect in either the decoder
257
+ 227 or the information encoded in $e _ { \mathrm { i n d } } ^ { \bar { i } }$ . One way around this would be to start decoding one timestep
258
+ 228 following the end of $t _ { \mathrm { o b s } }$ and discard the predictions in the gap between $t _ { \mathrm { o b s } }$ and $\mathbf { \Delta } t _ { \mathrm { f u t } }$ . However,
259
+ 229 if decoding is done auto-regressively this might lead to cascading errors over the gap. Instead, we
260
+ 230 address this one-to-many issue by injecting the offset information into $e _ { \mathrm { i n d } } ^ { i }$ so that the decoder
261
+ 231 receives a unique encoded representation for every $\mathbf { \Delta } \mathbf { \mathbf { t } } _ { \mathrm { f u t } }$ to decode over. We do this by repurposing
262
+ 232 the idea of sinusoidal positional encodings [61] to encode offsets rather than relative positions in
263
+ 233 sequences. For a given $\mathbf { \Delta } \mathbf { t } _ { \mathrm { o b s } }$ and $\mathbf { \Delta } \mathbf { \mathbf { \mathit { t } } _ { \mathrm { f u t } } }$ , and $d _ { e }$ -dimensional $e _ { \mathrm { i n d } } ^ { i }$ we define the offset as $\Delta t = f 1 - o T$
264
+ 234 and the corresponding offset encoding $O E _ { \Delta t }$ as
265
+
266
+ $$
267
+ O E _ { ( \Delta t , 2 m ) } = \sin ( \Delta t / 1 0 0 0 0 ^ { 2 m / d _ { c } } ) , \quad O E _ { ( \Delta t , 2 m + 1 ) } = \cos ( \Delta t / 1 0 0 0 0 ^ { 2 m / d _ { c } } ) .
268
+ $$
269
+
270
+ Here 235 $m$ refers to the dimension index in the encoding. We finally compute the representation $e ^ { i }$ for 236 Eqs. 4 and 5 as
271
+
272
+ $$
273
+ e ^ { i } = e _ { \mathrm { i n d } } ^ { i } + O E _ { \Delta t } .
274
+ $$
275
+
276
+ 237 Auxiliary Loss Functions. We incorporate a geometric loss function that improves performance in
277
+ 238 pose regression tasks. For $\mathrm { p } _ { i }$ at time $t$ , given the ground truth $b _ { t } ^ { i } = [ \mathbf { q } ; 1 ; \mathrm { s } ]$ , and the predicted mean
278
+ 239 $\hat { b } _ { t } ^ { i } = [ \hat { \mathbf { q } } ; \hat { \mathbf { l } } ; \hat { \mathbf { s } } ]$ , we denote the tuple $( b _ { t } ^ { i } , b _ { t } ^ { i } )$ as $B _ { t } ^ { i }$ . We then have the location loss in Eucliden space
279
+ 240 $\mathcal { L } _ { 1 } ( B _ { t } ^ { i } ) = \left. \mathbf { l } - \hat { \mathbf { l } } \right.$ , and we can regress the quaternion values using
280
+
281
+ $$
282
+ \mathcal { L } _ { \mathrm { q } } ( B _ { t } ^ { i } ) = \left\| \mathbf { q } - \frac { \hat { \mathbf { q } } } { \| \hat { \mathbf { q } } \| } \right\| .
283
+ $$
284
+
285
+ 241 Kendall and Cipolla [60] show how these losses can be combined using the homoscedastic uncertainties in position and orientation, 242 $\hat { \sigma } _ { 1 } ^ { 2 }$ and $\hat { \sigma } _ { \mathrm { q } } ^ { 2 }$ :
286
+
287
+ $$
288
+ \mathcal { L } _ { \sigma } ( B _ { t } ^ { i } ) = \mathcal { L } _ { 1 } ( B _ { t } ^ { i } ) \exp ( - \hat { s } _ { 1 } ) + \hat { s } _ { 1 } + \mathcal { L } _ { \boldsymbol { \mathrm { q } } } ( B _ { t } ^ { i } ) \exp ( - \hat { s } _ { \mathrm { q } } ) + \hat { s } _ { \boldsymbol { \mathrm { q } } } ,
289
+ $$
290
+
291
+ where 243 $\hat { s } : = \log \hat { \sigma } ^ { 2 }$ . Using the binary cross-entropy loss for speaking status $\mathcal { L } _ { \mathrm { s } } ( B _ { t } ^ { i } )$ , we have the 244 overall auxiliary loss over $t \in { \pmb t } _ { \mathrm { f u t } }$ :
292
+
293
+ $$
294
+ \mathcal { L } _ { \mathrm { a u x } } ( \boldsymbol { Y } , \hat { \boldsymbol { Y } } ) = \sum _ { i } \sum _ { t } \mathcal { L } _ { \sigma } ( B _ { t } ^ { i } ) + \mathcal { L } _ { \mathrm { s } } ( B _ { t } ^ { i } ) .
295
+ $$
296
+
297
+ 245 The parameters of the SP and ASP are trained by maximizing the ELBO in Eq. 3 and minimizing this
298
+ 246 auxiliary loss function for each of our sequence decoders.
299
+
300
+ ![](images/42651c2b36add882c5b51ca88501608167a5fe63ce5ae59c255468d4faac0dd6.jpg)
301
+ Figure 3: Ground truths and model predictions for the toy task simulating the forecasting of glancing behavior.
302
+
303
+ Table 1: Mean (Std.) Negative LogLikelihood (NLL) on the Haggling Test Sets. The reported mean and std. are over individual sequences in the test sets. Lower is better. The superscript ⇤ indicates best NLL within family, boldface best overall.
304
+
305
+ <table><tr><td rowspan="2"></td><td colspan="2">Context</td></tr><tr><td>Random</td><td>Fixed-Initial</td></tr><tr><td>Baselines</td><td></td><td></td></tr><tr><td>NP-latent</td><td>38.34 (19.1)</td><td>37.64 (18.1)</td></tr><tr><td>NP-latent+det</td><td>40.41 (23.9)</td><td>40.15 (23.0)</td></tr><tr><td>ANP-dot</td><td>35.66* (20.8)</td><td>38.06* (20.6)</td></tr><tr><td>ANP-multihead</td><td>40.60 (19.2)</td><td>41.11 (19.2)</td></tr><tr><td>Ours (MLP)</td><td></td><td></td></tr><tr><td>SP-latent</td><td>-74.06 (6.0)</td><td>-74.19 (5.9)</td></tr><tr><td>SP-latent+det</td><td>-77.49 (7.8)</td><td>-76.90 (8.4)</td></tr><tr><td>ASP-dot</td><td>-76.33 (6.5)</td><td>-75.15 (6.5)</td></tr><tr><td>ASP-multihead</td><td>-83.77* (10.3)</td><td>-83.43* (9.7)</td></tr><tr><td>Ours (GRU)</td><td></td><td></td></tr><tr><td>SP-latent</td><td>-4.23 (27.4)</td><td>-3.72 (30.7)</td></tr><tr><td>SP-latent+det</td><td>-17.38* (50.5)</td><td>-16.08* (52.2)</td></tr><tr><td>ASP-dot</td><td>19.91 (46.7)</td><td>31.39 (77.0)</td></tr><tr><td>ASP-multihead</td><td>-7.11 (26.9)</td><td>-0.51 (28.8)</td></tr></table>
306
+
307
+ # 247 6 Experiments and Results
308
+
309
+ # 6.1 Models and Baselines
310
+
311
+ Our modeling assumption is that the underlying stochastic process generating the behaviors does not evolve over time. Stated differently, we assume that the individual factors determining how participants coordinate behaviors—age, cultural background, personality variables [24, Chap. 1; 1, p. 237]—are likely to remain the same over the short duration of a single interaction. This is in contrast to a related line of work that deals with meta-transfer learning, where the stochastic process itself changes over time [62–65]. We therefore compare against the NP and ANP family which share our model assumptions and meta-learning attributes. Note that in contrast to our methods, these baselines have direct access to the future sequences in the context, and therefore constitute a strong baseline. We consider two variants: -latent denoting only the latent path; and -latent+det, containing both deterministic and stochastic paths. We further consider two attention mechanisms for the cross-attention module: -dot with dot attention, and -multihead with wide multi-head attention [58]. We operationalize the original definitions of the baseline models to sequences by collapsing the timestep and feature dimensions. While the ANP-RNN model [66] shares our model assumptions, it is defined for a task analogous to SSP for concurrent car locations, and cannot be operationalized to forecasting in any simple way (see Section 3 discussing the distinction). We experiment with two choices of architectures for the sequence encoders and decoders in our proposed models: multi-layer perceptrons (MLP), and Gated Recurrent Units (GRU). Implementation and training details for our experiments can be found in Appendix C.
312
+
313
+ # 6.2 Evaluation on Synthesized Behavior: Forecasting Glancing Behavior
314
+
315
+ With limited behavioral data availability, a common practice in the domain is to train and evaluate methods on synthesized behavior dynamics [31, 67]. In keeping with this practice, we construct a synthesized dataset simulating two glancing behaviors in social settings [21]. We use a 1D sinusoid to represent horizontal head rotation over 20 timesteps. The sweeping Type I glance is represented by a pristine sinusoid, while the gaze fixating Type III glance is denoted by clipping the amplitude for the last six timesteps. The task is to forecast the signal over the last 10 timesteps $( \pmb { t } _ { \mathrm { f u t } } )$ by observing the first 10 $( \pmb { t } _ { \mathrm { o b s } } )$ . Consequently, the first half of $\mathbf { \delta } _ { t _ { \mathrm { f u t } } }$ is certain, while uncertainty over the last half results from every observed sinusoid having two ground-truths. It is impossible to infer from an observed sequence alone if the head rotation will stop partway through the future. We describe additional data setup, model details, and quantitative results for this setting in Appendices A.1, C and D.1, respectively. Figure 3 illustrates the ground truths, predicted means and std. deviations for a sequence within and outside the context set. We observe that all models estimate the mean reasonably well, although our proposed SP models learn a slightly better fit. More crucially, the SP models—especially the SP-GRU—learn much better uncertainty estimates over the certain and uncertain parts of the future compared to the NP baseline.
316
+
317
+ # 6.3 Real-World Behavior: The Haggling Dataset
318
+
319
+ We also evaluate our models on real-world behavior data, using the Haggling dataset of triadic interactions [32]. Participants are engaged in an unscripted game where two sellers compete to sell a fictional product to a buyer who has to choose between the two. We use the same split of 79 training sets (groups) and 28 test sets used by Joo et al. [32]. In our experiments we consider the following social cues: head pose described by the 3D location of the nose keypoint and a face normal; body pose described by the location of the mid-point of the shoulders and a body normal; and binary speaking status. Apart from being the most commonly considered cues in computational analyses of such conversations [68–70], pose and turn taking are found to be crucial in the sustaining of conversation [1, 12, 18]. We specify the dataset preprocessing details in Appendix D.2.
320
+
321
+ # 6.4 Evaluation
322
+
323
+ Context Regimes. We evaluate all models on two context regimes: random, and fixed-initial. The random regime follows the standard NP setting that the models are trained in. Context samples (sequence-pairs) are selected as a random subset of target samples, so the model is exposed to behaviors from any phase of the interaction lifecycle. Here we ensure that batches contain unique $t _ { \mathrm { o b s } }$ to prevent any single observed sequence from dominating the aggregation of representations over the context split. At evaluation, we take $5 0 \%$ of the batch as context. In the fixed-initial context regime, we investigate how the model can generalize knowledge of group specific characteristics from observing the initial dynamics of an interaction where certain gestures and patterns are more distinctive [1, Chap. 6]. This matches what a social agent might face in a real-world scenario. Here we treat the first $2 0 \%$ of the entire interaction as context, treating sequences from the rest as target.
324
+
325
+ 304 Evaluation Metrics. We report the negative log-likelihood (NLL) $- \log p ( \boldsymbol { Y } | \boldsymbol { X } , \boldsymbol { C } )$ in Table 1
326
+ 305 (computed by summing over feature dimensions and people, and averaging over timesteps). Beyond
327
+ 306 the NLL, we also report the error in the predicted means over test sequences in Table 2: mean-squared
328
+ 307 error (MSE) for the head and body keypoint locations; mean absolute error (MAE) in orientation
329
+ 308 in degrees; and speaking status accuracy. Note that while the ground truth orientation normals are
330
+ 309 constrained in the horizontal plane, we don’t constrain our predicted quaternions. We therefore report
331
+ 310 the absolute error in rotation in 3D. The reported mean and std. deviation of all metrics are over
332
+ 311 sequences in the test sets. We further report the metrics for every timestep over $\mathbf { \Delta } \mathbf { \mathbf { \mathit { t } } _ { \mathrm { f u t } } }$ in Appendix A.2,
333
+ 312 and qualitative visualizations of the forecasts in Appendix B.
334
+
335
+ # 6.5 Ablations
336
+
337
+ Encoding Partner Behavior. Modeling the interaction from the perspective of each individual is a central idea in our apindividual representations $\bar { r } _ { \mathrm { i n d } } ^ { i }$ ch. We investigate the influence of encoding partner behavior intoon the performance. We train the SP-latent+det GRU variant in two configurations: no-pool, where we do not encode any partner behavior; and pool-oT where we pool over partner representations only at the last timestep (similar to [44]). We choose the SP-GRU model since it achieves the best trade-off between minimizing NLL and forecasting cues consistent with human behavior. Both configurations lead to worse NLL and location errors (Appendix A.3).
338
+
339
+ Deterministic Decoding and Social Encoder Sharing. Error gradients can flow back into our sequence encoders through two paths: from the final stochastic sequence decoder, as well as the deterministic decoders on the latent and deterministic paths. We investigate the effect of the deterministic decoders by training the SP-latent+det GRU model without them. We also investigate sharing a single social encoder between the Process Encoder and Process Decoder in Figure 2. We find that removing the decoders only improves log-likelihood if the encoders are shared, and at the cost of head orientation errors (Appendix A.3).
340
+
341
+ Table 2: Mean (Std.) Errors in Predicted Means over Sequences in the Haggling Test Sets. Lower is better for all metrics except for speaking status accuracy. ⇤ indicates best measure within family, boldface best overall.
342
+
343
+ <table><tr><td rowspan="2"></td><td colspan="5">Random Context</td><td colspan="5">Fixed-Initial Context</td></tr><tr><td>Head Loc. MSE (cm)</td><td>Body Loc. MSE (cm)</td><td>Head Ori. MAE()</td><td>Body Ori. MAE()</td><td>Speaking Accuracy</td><td>Head Loc. MSE (cm)</td><td>Body Loc. MSE (cm)</td><td>Head Ori. MAE(°)</td><td>Body Ori. MAE(°)</td><td>Speaking Accuracy</td></tr><tr><td>Baselines</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>NP-latent</td><td>14.21 (6.5)</td><td>15.06 (6.1)</td><td>16.29 (13.8)</td><td>12.82 (13.7)</td><td>0.787 (0.23)</td><td>13.85 (6.1)</td><td>14.71 (5.7)</td><td>16.22 (14.1)</td><td>12.69* (13.9)</td><td>0.774* (0.24)</td></tr><tr><td>NP-latent+det</td><td>15.01 (7.3)</td><td>15.97 (7.2)</td><td>17.45 (18.3)</td><td>14.65 (20.0)</td><td>0.715 (0.24)</td><td>15.01 (7.5)</td><td>15.95 (7.5)</td><td>17.26 (15.9)</td><td>14.68 (18.7)</td><td>0.701 (0.24)</td></tr><tr><td>ANP-dot</td><td>11.86* (5.4)</td><td>12.22* (5.5)</td><td>15.44* (13.3)</td><td>12.56* (18.0)</td><td>0.806* (0.23)</td><td>12.83* (5.9)</td><td>13.26* (6.0)</td><td>16.19* (13.7)</td><td>13.56 (17.8)</td><td>0.717 (0.23)</td></tr><tr><td>ANP-multihead</td><td>16.36 (7.4)</td><td>17.17 (7.2)</td><td>19.41 (20.4)</td><td>16.02 (22.1)</td><td>0.692 (0.21)</td><td>16.68 (7.9)</td><td>17.43 (7.7)</td><td>19.78 (21.2)</td><td>15.57 (20.3)</td><td>0.682 (0.21)</td></tr><tr><td>Ours (MLP)</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>SP-latent</td><td>25.58 (10.1)</td><td>26.57* (9.0)</td><td>91.07 (23.9)</td><td>97.09 (22.5)</td><td>0.638 (0.08)</td><td>25.27 (10.0)</td><td>26.33* (8.9)</td><td>91.14 (23.8)</td><td>97.09 (22.5)</td><td>0.640 (0.09)</td></tr><tr><td>SP-latent+det</td><td>31.99 (8.2)</td><td>36.33 (7.3)</td><td>91.08 (23.9)</td><td>91.36 (23.9)</td><td>0.629 (0.18)</td><td>32.93 (9.4)</td><td>37.16 (8.5)</td><td>91.15 (23.9)</td><td>91.36 (23.9)</td><td>0.633 (0.18)</td></tr><tr><td>ASP-dot</td><td>27.16 (7.7)</td><td>31.19 (7.1)</td><td>90.88 (23.9)</td><td>91.43 (23.8)</td><td>0.704 (0.19)</td><td>27.94 (7.8)</td><td>31.83 (7.1)</td><td>90.93 (23.9)</td><td>91.43 (23.8)</td><td>0.628 (0.20)</td></tr><tr><td>ASP-multihead</td><td>23.88* (7.8)</td><td>27.13 (7.7)</td><td>90.50* (23.9)</td><td>91.04* (24.1)</td><td>0.792* (0.24)</td><td>24.07* (8.1)</td><td>27.35 (8.3)</td><td>90.53* (23.9)</td><td>91.07* (24.1)</td><td>0.770* (0.25)</td></tr><tr><td>Ours (GRU)</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>SP-latent</td><td>17.18 (6.5)</td><td>17.41 (6.2)</td><td>17.76* (15.8)</td><td>14.78* (20.7)</td><td>0.713 (0.23)</td><td>16.66 (6.2)</td><td>17.17 (6.0)</td><td>17.67* (16.0)</td><td>14.64* (20.3)</td><td>0.705 (0.23)</td></tr><tr><td>SP-latent+det</td><td>15.84 (5.5)</td><td>17.76 (7.5)</td><td>20.65 (19.9)</td><td>21.73 (29.5)</td><td>0.671 (0.22)</td><td>16.53* (6.0)</td><td>18.20 (8.0)</td><td>20.74 (19.5)</td><td>21.31 (28.9)</td><td>0.674 (0.22)</td></tr><tr><td>ASP-dot</td><td>22.49 (8.7)</td><td>22.64 (11.1)</td><td>17.99 (12.8)</td><td>15.58 (19.6)</td><td>0.722 (0.25)</td><td>23.66 (8.7)</td><td>24.50 (11.7)</td><td>19.22 (14.8)</td><td>16.82 (19.4)</td><td>0.620 (0.27)</td></tr><tr><td>ASP-multihead</td><td>15.18* (6.7)</td><td>15.01* (6.0)</td><td>24.26 (21.3)</td><td>35.06 (38.5)</td><td>0.778* (0.23)</td><td>16.84 (6.9)</td><td>16.80* (6.3)</td><td>25.37 (21.3)</td><td>35.44 (38.0)</td><td>0.725*(0.23)</td></tr></table>
344
+
345
+ # 328 7 Discussion and Conclusion
346
+
347
+ What qualifies as the best performing model for SCF? Our SP-GRU learns the best fit for synthesized behavior. On the commonly used metric of NLL [19, 58, 62], our SP-MLP models perform the best for real-world data. However, they fare the worst at estimating the mean. On the other hand, the SP-GRU models estimate a better likelihood than the NP baselines with comparable errors in mean forecast. While the NP baselines attain the lowest errors in predicted means, they also achieve the worst NLL. From the qualitative visualizations and ablations, it seems that the models minimize NLL at the cost of orientation errors; in the case of SP-MLP seemingly by predicting the majority orientation of the two sellers who face the same direction. Also, the NP models forecast largely static futures. In contrast, while being more dynamic, the SP-GRU forecasts also contain some smoothing.
348
+
349
+ 338 Our synthesized glancing behavior is grounded in social literature, and matches the head pose features
350
+ 339 in the real-world data (horizontal orientation). Why do we see a large discrepancy in qualitative
351
+ 340 forecasts? One crucial distinction between the synthetic and real data is the subtlety and sparsity
352
+ 341 of motion. Our synthesized data makes the common implicit assumption that head pose is a proxy
353
+ 342 for gaze [31, 67, 68, 70–72]. In real-world data, attention shifts through changes in gaze are not
354
+ 343 always accompanied by similar head rotations [73, Fig. 5], and gaze is harder to record non-invasively
355
+ 344 in-the-wild with reasonable accuracy. The consequence of this approximation is exacerbated in the
356
+ 345 triadic Haggling setting where people are arranged roughly in a triangle and within each other’s
357
+ 346 field of vision, making head movements even more subtle. In natural settings, groups occupy varied
358
+ 347 formations such as side-by-side, or $L$ -arrangement [60, p. 213]. Here the more accentuated pose
359
+ 348 changes could aid in anticipating behavior. From this perspective, the combination of limited data and
360
+ 349 our simplifying assumption of a single group in a scene is a primary limitation of this work. The only
361
+ 350 publicly available dataset meeting our assumptions is the Haggling dataset, where all interactions
362
+ 351 follow similar patterns. As targeted development of techniques for recording such datasets in-the
363
+ 352 wild gain momentum [74], evaluating these models in the different interaction settings would yield
364
+ 353 increased insight. Nevertheless, our aim in evaluating on synthesized as well as real-world data
365
+ 354 was to highlight the influence that such common implicit assumptions can have on performance
366
+ 355 when applying methods. As an aside, we believe that this subtlety and sparsity of motion is also an
367
+ 356 important distinction between forecasting in focused and unfocused interactions. While the same
368
+ 357 techniques can be applied in both scenarios, pedestrian location is a perpetually changing data stream.
369
+ 358 The broader goal of this paper is to take a step towards bridging a gap we perceive between research
370
+ 359 domains; on one hand, we notice that there is a growing trend of applying deep learning techniques
371
+ 360 in the small data regime that is social behavior data [30, 75]. Without citing specific works as
372
+ 361 negative exemplars, this is occasionally accompanied by surface treatment of social science literature.
373
+ 362 On the other hand, in our conversations we have also perceived a preemptive resistance to deep
374
+ 363 learning methods precisely due to limited data. We believe that our work here—specifically our
375
+ 364 conceptualization of conversations groups as meta-learning tasks grounded in extensive considerations
376
+ 365 from social literature; our approach of learning extractable task-agnostic representations of predictive
377
+ 366 behavior; and the distinction between real-world and synthesized dynamics commonly used for
378
+ 367 evaluation—is of value in stimulating a broader community discussion about the considerations when
379
+ 368 applying machine learning approaches within the domain of free-standing social conversations.
380
+
381
+ References
382
+ [1] Adam Kendon. Conducting Interaction: Patterns of Behavior in Focused Encounters. Number 7 in Studies in Interactional Sociolinguistics. Cambridge University Press, Cambridge ; New York, 1990. ISBN 978-0-521-38036-2 978-0-521-38938-9. 1, 2, 3, 7, 8
383
+ [2] Alessandro Vinciarelli, Maja Pantic, and Hervé Bourlard. Social signal processing: Survey of an emerging domain.
384
+ [3] Dan Bohus and Eric Horvitz. Models for multiparty engagement in open-world dialog. In Proceedings of the SIGDIAL 2009 Conference on The 10th Annual Meeting of the Special Interest Group on Discourse and Dialogue - SIGDIAL ’09, pages 225–234, London, United Kingdom, 2009. Association for Computational Linguistics. ISBN 978-1-932432-64-0. doi: 10.3115/1708376.1708409. 1 [4] Ryo Ishii, Shiro Kumano, and Kazuhiro Otsuka. Prediction of Next-Utterance Timing using Head Movement in Multi-Party Meetings. In Proceedings of the 5th International Conference on Human Agent Interaction, HAI ’17, pages 181–187, New York, NY, USA, October 2017. Association for Computing Machinery. ISBN 978-1-4503-5113-3. doi: 10.1145/3125739.3125765. 1 [5] Anne Keitel and Moritz M Daum. The use of intonation for turn anticipation in observed conversations without visual signals as source of information. Frontiers in psychology, 6:108, 2015. 1, 3
385
+ [6] Simon Garrod and Martin J Pickering. The use of content and timing to predict turn transitions. Frontiers in psychology, 6:751, 2015.
386
+ [7] Amélie Rochet-Capellan and Susanne Fuchs. Take a breath and take the turn: how breathing meets turns in spontaneous dialogue. Philosophical Transactions of the Royal Society B: Biological Sciences, 369(1658): 20130399, 2014. [8] M. Wlodarczak and M. Heldner. Respiratory turn-taking cues. In INTERSPEECH, 2016. 1, 3
387
+ [9] Dan Bohus and Eric Horvitz. Managing Human-Robot Engagement with Forecasts and. . . um. . . Hesitations. page 8. 1, 3
388
+ [10] Cynthia C. S. Liem, Markus Langer, Andrew Demetriou, Annemarie M. F. Hiemstra, Achmadnoer Sukma Wicaksana, Marise Ph. Born, and Cornelius J. König. Psychology Meets Machine Learning: Interdisciplinary Perspectives on Algorithmic Job Candidate Screening. In Hugo Jair Escalante, Sergio Escalera, Isabelle Guyon, Xavier Baró, Yagmur Güçlütürk, Umut Güçlü, and Marcel van Gerven, editors, ˘ Explainable and Interpretable Models in Computer Vision and Machine Learning, pages 197–253. Springer International Publishing, Cham, 2018. ISBN 978-3-319-98130-7 978-3-319-98131-4. doi: 10.1007/ 978-3-319-98131-4_9. 1
389
+ [11] Erlend Nilsen, Diana Bowler, and John Linnell. Exploratory and confirmatory research in the open science era. Journal of Applied Ecology, 57, February 2020. doi: 10.1111/1365-2664.13571. 1
390
+ [12] Starkey Duncan. Some signals and rules for taking speaking turns in conversations. Journal of Personality and Social Psychology, 23(2):283–292, 1972. ISSN 1939-1315(Electronic),0022-3514(Print). doi: 10. 1037/h0033031. 1, 3, 8
391
+ [13] Akko Kalma. Gazing in triads: A powerful signal in floor apportionment. British Journal of Social Psychology, 31(1):21–39, March 1992. 1, 3
392
+ [14] Sanjay Bilakhia, Stavros Petridis, and Maja Pantic. Audiovisual Detection of Behavioural Mimicry. In 2013 Humaine Association Conference on Affective Computing and Intelligent Interaction, pages 123–128, Geneva, Switzerland, September 2013. IEEE. ISBN 978-0-7695-5048-0. doi: 10.1109/ACII.2013.27. 1, 4
393
+ [15] Felix van Doorn. Rituals of Leaving: Predictive Modelling of Leaving Behaviour in Conversation. Master of Science Thesis, Delft University of Technology, 2018. 1, 2, 3
394
+ [16] Laura Cabrera-Quiros, Andrew Demetriou, Ekin Gedik, Leander van der Meij, and Hayley Hung. The matchnmingle dataset: a novel multi-sensor resource for the analysis of social interactions and group dynamics in-the-wild during free-standing conversations and speed dates. IEEE Transactions on Affective Computing, 2018. 2
395
+ [17] Nalini Ambady, Frank J Bernieri, and Jennifer A Richeson. Toward a histology of social behavior: Judgmental accuracy from thin slices of the behavioral stream. In Advances in experimental social psychology, volume 32, pages 201–271. Elsevier, 2000. 2, 3
396
+ [18] Alessandro Vinciarelli, H Salamin, and M Pantic. Social Signal Processing: Understanding social interactions through nonverbal behavior analysis (PDF). 2009 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2009, June 2009. doi: 10.1109/CVPRW.2009.5204290. 2, 3, 8
397
+ [19] Marta Garnelo, Jonathan Schwarz, Dan Rosenbaum, Fabio Viola, Danilo J. Rezende, S. M. Ali Eslami, and Yee Whye Teh. Neural Processes. arXiv:1807.01622 [cs, stat], 2018. 2, 9
398
+ [20] Mattias Heldner and Jens Edlund. Pauses, gaps and overlaps in conversations. Journal of Phonetics, 38(4): 555–568, October 2010. ISSN 0095-4470. doi: 10.1016/j.wocn.2010.08.002. 3, 17
399
+
400
+ 426 [21] Monica M. Moore. Nonverbal courtship patterns in women: Context and consequences. Ethology and
401
+ 427 Sociobiology, 6(4):237–247, January 1985. ISSN 0162-3095. doi: 10.1016/0162-3095(85)90016-0. 3, 7
402
+ 428 [22] Stephen C. Levinson and Francisco Torreira. Timing in turn-taking and its implications for processing
403
+ 429 models of language. Frontiers in Psychology, 6, June 2015. ISSN 1664-1078. doi: 10.3389/fpsyg.2015.
404
+ 430 00731. 3
405
+ 431 [23] Erving Goffman. Behavior in Public Places: Notes on the Social Organization of Gatherings. The Free
406
+ 432 Press, 1. paperback ed., 24. printing edition. ISBN 978-0-02-911940-2. 3
407
+ 433 [24] Nina-Jo Moore, Hickson Mark III, and W Don. Stacks. Nonverbal communication: Studies and applications.
408
+ 434 2013. 3, 7
409
+ 435 [25] Harvey Sacks, Emanuel A. Schegloff, and Gail Jefferson. A Simplest Systematics for the Organization of
410
+ 436 Turn-Taking for Conversation. 50(4):40, 1974. 3
411
+ 437 [26] Charles Goodwin. Conversational Organization: Interaction Between Speakers and Hearers. January
412
+ 438 1981.
413
+ 439 [27] Carole Edelsky. Who’s Got the Floor? Language in Society, 10(3):383–421, 1981. ISSN 0047-4045. 3
414
+ 440 [28] Allan Wang and Aaron Steinfeld. Group Split and Merge Prediction With 3D Convolutional Networks.
415
+ 441 IEEE Robotics and Automation Letters, 5(2):1923–1930, April 2020. ISSN 2377-3766. doi: 10.1109/LRA.
416
+ 442 2020.2969947. 3
417
+ 443 [29] Massimo Mastrangeli, Martin Schmidt, and Lucas Lacasa. The roundtable: An abstract model of conversa
418
+ 444 tion dynamics. arXiv:1010.2943 [physics], October 2010. 3
419
+ 445 [30] Louis Airale, Dominique Vaufreydaz, and Xavier Alameda-Pineda. SocialInteractionGAN: Multi-person
420
+ 446 Interaction Sequence Generation. arXiv:2103.05916 [cs, stat], March 2021. 3, 9
421
+ 447 [31] Navyata Sanghvi, Ryo Yonetani, and Kris Kitani. Mgpi: A computational model of multiagent group
422
+ 448 perception and interaction. arXiv preprint arXiv:1903.01537, 2019. 3, 7, 9
423
+ 449 [32] Hanbyul Joo, Tomas Simon, Mina Cikara, and Yaser Sheikh. Towards Social Artificial Intelligence:
424
+ 450 Nonverbal Social Signal Prediction in a Triadic Interaction. In 2019 IEEE/CVF Conference on Computer
425
+ 451 Vision and Pattern Recognition (CVPR), pages 10865–10875, Long Beach, CA, USA, June 2019. IEEE.
426
+ 452 ISBN 978-1-72813-293-8. doi: 10.1109/CVPR.2019.01113. 3, 4, 8
427
+ 453 [33] Emilie Delaherche, Mohamed Chetouani, Ammar Mahdhaoui, Catherine Saint-Georges, Sylvie Viaux,
428
+ 454 and David Cohen. Interpersonal Synchrony: A Survey of Evaluation Methods across Disciplines. IEEE
429
+ 455 Transactions on Affective Computing, 3(3):349–365, July 2012. ISSN 1949-3045. doi: 10.1109/T-AFFC.
430
+ 456 2012.12. 4
431
+ 457 [34] Dirk Helbing and Peter Molnar. Social Force Model for Pedestrian Dynamics. Physical Review E, 51(5):
432
+ 458 4282–4286, May 1995. ISSN 1063-651X, 1095-3787. doi: 10.1103/PhysRevE.51.4282. 4
433
+ 459 [35] Jarosław W ˛as, Bartłomiej Gudowski, and Paweł J. Matuszyk. Social Distances Model of Pedestrian
434
+ 460 Dynamics. In David Hutchison, Takeo Kanade, Josef Kittler, Jon M. Kleinberg, Friedemann Mattern,
435
+ 461 John C. Mitchell, Moni Naor, Oscar Nierstrasz, C. Pandu Rangan, Bernhard Steffen, Madhu Sudan, Demetri
436
+ 462 Terzopoulos, Dough Tygar, Moshe Y. Vardi, Gerhard Weikum, Samira El Yacoubi, Bastien Chopard, and
437
+ 463 Stefania Bandini, editors, Cellular Automata, volume 4173, pages 492–501. Springer Berlin Heidelberg,
438
+ 464 Berlin, Heidelberg, 2006. ISBN 978-3-540-40929-8 978-3-540-40932-8. doi: 10.1007/11861201_57.
439
+ 465 [36] Gianluca Antonini, Michel Bierlaire, and Mats Weber. Discrete Choice Models for Pedestrian Walking
440
+ 466 Behavior. Transportation Research Part B: Methodological, 40:667–687, September 2006. doi: 10.1016/j.
441
+ 467 trb.2005.09.006.
442
+ 468 [37] Adrien Treuille, Seth Cooper, and Zoran Popovic. Continuum crowds. ´ ACM Transactions on Graphics /
443
+ 469 SIGGRAPH 2006, 25(3):1160–1168, July 2006.
444
+ 470 [38] Alexandre Robicquet, Amir Sadeghian, Alexandre Alahi, and Silvio Savarese. Learning Social Etiquette:
445
+ 471 Human Trajectory Understanding In Crowded Scenes. In Bastian Leibe, Jiri Matas, Nicu Sebe, and Max
446
+ 472 Welling, editors, Computer Vision – ECCV 2016, volume 9912, pages 549–565. Springer International
447
+ 473 Publishing, Cham, 2016. ISBN 978-3-319-46483-1 978-3-319-46484-8. doi: 10.1007/978-3-319-46484-8_
448
+ 474 33. 4
449
+ 475 [39] J. M. Wang, D. J. Fleet, and A. Hertzmann. Gaussian Process Dynamical Models for Human Motion.
450
+ 476 IEEE Transactions on Pattern Analysis and Machine Intelligence, 30(2):283–298, February 2008. ISSN
451
+ 477 1939-3539. doi: 10.1109/TPAMI.2007.1167.
452
+ 478 [40] Christopher Tay and Christian Laugier. Modelling Smooth Paths Using Gaussian Processes. In Proc. of
453
+ 479 the Int. Conf. on Field and Service Robotics, 2007.
454
+ 480 [41] Andrew Patterson, Arun Lakshmanan, and Naira Hovakimyan. Intent-Aware Probabilistic Trajectory
455
+ 481 Estimation for Collision Prediction with Uncertainty Quantification. arXiv:1904.02765 [cs, math], April
456
+ 482 2019. 4
457
+
458
+ [42] Alexandre Alahi, Kratarth Goel, Vignesh Ramanathan, Alexandre Robicquet, Li Fei-Fei, and Silvio Savarese. Social LSTM: Human Trajectory Prediction in Crowded Spaces. In 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 961–971, Las Vegas, NV, USA, June 2016. IEEE. ISBN 978-1-4673-8851-1. doi: 10.1109/CVPR.2016.110. 4
459
+ [43] Pu Zhang, Wanli Ouyang, Pengfei Zhang, Jianru Xue, and Nanning Zheng. SR-LSTM: State Refinement for LSTM towards Pedestrian Trajectory Prediction. arXiv:1903.02793 [cs], March 2019.
460
+ [44] Agrim Gupta, Justin Johnson, Li Fei-Fei, Silvio Savarese, and Alexandre Alahi. Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks. arXiv:1803.10892 [cs], March 2018. 8
461
+ [45] Yingfan Huang, Huikun Bi, Zhaoxin Li, Tianlu Mao, and Zhaoqi Wang. STGAT: Modeling SpatialTemporal Interactions for Human Trajectory Prediction. In 2019 IEEE/CVF International Conference on Computer Vision (ICCV), pages 6271–6280, Seoul, Korea (South), October 2019. IEEE. ISBN 978-1-72814-803-8. doi: 10.1109/ICCV.2019.00637.
462
+ [46] Abduallah Mohamed, Kun Qian, Mohamed Elhoseiny, and Christian Claudel. Social-STGCNN: A Social Spatio-Temporal Graph Convolutional Neural Network for Human Trajectory Prediction. arXiv:2002.11927 [cs], February 2020. 4
463
+ [47] MarcAurelio Ranzato, Arthur Szlam, Joan Bruna, Michael Mathieu, Ronan Collobert, and Sumit Chopra. Video (language) modeling: A baseline for generative models of natural videos. arXiv:1412.6604 [cs], December 2014. 4
464
+ [48] Jacob Walker, Kenneth Marino, Abhinav Gupta, and Martial Hebert. The Pose Knows: Video Forecasting by Generating Pose Futures. arXiv:1705.00053 [cs], April 2017.
465
+ [49] Jacob Walker, Abhinav Gupta, and Martial Hebert. Dense Optical Flow Prediction from a Static Image. In 2015 IEEE International Conference on Computer Vision (ICCV), pages 2443–2451, Santiago, Chile, December 2015. IEEE. ISBN 978-1-4673-8391-2. doi: 10.1109/ICCV.2015.281.
466
+ [50] Alexey Dosovitskiy, Philipp Fischer, Eddy Ilg, Philip Hausser, Caner Hazirbas, Vladimir Golkov, Patrick van der Smagt, Daniel Cremers, and Thomas Brox. FlowNet: Learning Optical Flow with Convolutional Networks. In 2015 IEEE International Conference on Computer Vision (ICCV), pages 2758–2766, Santiago, December 2015. IEEE. ISBN 978-1-4673-8391-2. doi: 10.1109/ICCV.2015.316.
467
+ [51] Jacob Walker, Abhinav Gupta, and Martial Hebert. Patch to the Future: Unsupervised Visual Prediction. In 2014 IEEE Conference on Computer Vision and Pattern Recognition, pages 3302–3309, Columbus, OH, USA, June 2014. IEEE. ISBN 978-1-4799-5118-5. doi: 10.1109/CVPR.2014.416.
468
+ [52] Carl Vondrick, Hamed Pirsiavash, and Antonio Torralba. Anticipating Visual Representations from Unlabeled Video. In 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 98–106, Las Vegas, NV, USA, June 2016. IEEE. ISBN 978-1-4673-8851-1. doi: 10.1109/CVPR.2016.18. 4
469
+ [53] Nitish Srivastava, Elman Mansimov, and Ruslan Salakhutdinov. Unsupervised Learning of Video Representations using LSTMs. arXiv:1502.04681 [cs], February 2015. 4
470
+ [54] Alexey Dosovitskiy and Vladlen Koltun. Learning to Act by Predicting the Future. arXiv:1611.01779 [cs], November 2016. 4
471
+ [55] Timothy Hospedales, Antreas Antoniou, Paul Micaelli, and Amos Storkey. Meta-Learning in Neural Networks: A Survey. arXiv:2004.05439 [cs, stat], November 2020. 4
472
+ [56] Ilya Sutskever, Oriol Vinyals, and Quoc V Le. Sequence to Sequence Learning with Neural Networks. In Z. Ghahramani, M. Welling, C. Cortes, N. D. Lawrence, and K. Q. Weinberger, editors, Advances in Neural Information Processing Systems 27, pages 3104–3112. Curran Associates, Inc., 2014. 5
473
+ [57] Kyunghyun Cho, Bart van Merrienboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation. arXiv:1406.1078 [cs, stat], September 2014. 5
474
+ [58] Hyunjik Kim, Andriy Mnih, Jonathan Schwarz, Marta Garnelo, Ali Eslami, Dan Rosenbaum, Oriol Vinyals, and Yee Whye Teh. Attentive Neural Processes. arXiv:1901.05761 [cs, stat], July 2019. 5, 7, 9
475
+ [59] Charles R. Qi, Hao Su, Kaichun Mo, and Leonidas J. Guibas. PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation. arXiv:1612.00593 [cs], April 2017. 6
476
+ [60] Alex Kendall and Roberto Cipolla. Geometric Loss Functions for Camera Pose Regression with Deep Learning. arXiv:1704.00390 [cs], May 2017. 6, 9
477
+ [61] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention Is All You Need. arXiv:1706.03762 [cs], June 2017. 6
478
+ [62] Gautam Singh, Jaesik Yoon, Youngsung Son, and Sungjin Ahn. Sequential Neural Processes. URL http://arxiv.org/abs/1906.10264. 7, 9
479
+
480
+ 539 [63] Jaesik Yoon, Gautam Singh, and Sungjin Ahn. Robustifying Sequential Neural Processes. In International
481
+ 540 Conference on Machine Learning, pages 10861–10870. PMLR, November 2020.
482
+ 541 [64] Timon Willi, Jonathan Masci, Jürgen Schmidhuber, and Christian Osendorfer. Recurrent Neural Processes.
483
+ 542 arXiv:1906.05915 [cs, stat], November 2019.
484
+ 543 [65] Sumit Kumar. Spatiotemporal Modeling using Recurrent Neural Processes. Master of Science Thesis,
485
+ 544 Carnegie Mellon University, page 43. 7
486
+ 545 [66] Shenghao Qin, Jiacheng Zhu, Jimmy Qin, Wenshuo Wang, and Ding Zhao. Recurrent Attentive Neural
487
+ 546 Process for Sequential Data. arXiv:1910.09323 [cs, stat], October 2019. 7
488
+ 547 [67] Marynel Vazquez, Aaron Steinfeld, and Scott E. Hudson. Maintaining awareness of the focus of attention
489
+ 548 of a conversation: A robot-centric reinforcement learning approach. In 2016 25th IEEE International
490
+ 549 Symposium on Robot and Human Interactive Communication (RO-MAN), pages 36–43, New York, NY,
491
+ 550 USA, August 2016. IEEE. ISBN 978-1-5090-3929-6. doi: 10.1109/ROMAN.2016.7745088. 7, 9
492
+ 551 [68] Xavier Alameda-Pineda, Yan Yan, Elisa Ricci, Oswald Lanz, and Nicu Sebe. Analyzing Free-standing
493
+ 552 Conversational Groups: A Multimodal Approach. pages 5–14. ACM Press, 2015. ISBN 978-1-4503-3459-4.
494
+ 553 doi: 10.1145/2733373.2806238. 8, 9
495
+ 554 [69] Lu Zhang and Hayley Hung. On Social Involvement in Mingling Scenarios: Detecting Associates of
496
+ 555 F-formations in Still Images. IEEE Transactions on Affective Computing, 2018.
497
+ 556 [70] Stephanie Tan, David M. J. Tax, and Hayley Hung. Multimodal Joint Head Orientation Estimation in
498
+ 557 Interacting Groups via Proxemics and Interaction Dynamics. Proceedings of the ACM on Interactive,
499
+ 558 Mobile, Wearable and Ubiquitous Technologies, 5(1):1–22, March 2021. ISSN 2474-9567. doi: 10.1145/
500
+ 559 3448122. 8, 9
501
+ 560 [71] Rutger Rienks, Ronald Poppe, and Mannes Poel. Speaker Prediction based on Head Orientations. page 7.
502
+ 561 [72] M. Farenzena, A. Tavano, L. Bazzani, D. Tosato, G. Paggetti, G. Menegaz, V. Murino, and M. Cristani.
503
+ 562 Social interactions by visual focus of attention in a three-dimensional environment. Expert Systems, 30(2):
504
+ 563 115–127, May 2013. ISSN 02664720. doi: 10.1111/j.1468-0394.2012.00622.x. 9
505
+ 564 [73] S.O. Ba and J.-M. Odobez. Recognizing Visual Focus of Attention From Head Pose in Natural Meetings.
506
+ 565 IEEE Transactions on Systems, Man, and Cybernetics, Part B (Cybernetics), 39(1):16–33, February 2009.
507
+ 566 ISSN 1083-4419. doi: 10.1109/TSMCB.2008.927274. 9
508
+ 567 [74] Chirag Raman, Stephanie Tan, and Hayley Hung. A modular approach for synchronized wireless multi
509
+ 568 modal multisensor data acquisition in highly dynamic social settings. arXiv preprint arXiv:2008.03715,
510
+ 569 2020. 9
511
+ 570 [75] Mason Swofford, John Charles Peruzzi, Nathan Tsoi, Sydney Thompson, Roberto Martín-Martín, Silvio
512
+ 571 Savarese, and Marynel Vázquez. Improving Social Awareness Through DANTE: A Deep Affinity Network
513
+ 572 for Clustering Conversational Interactants. Proceedings of the ACM on Human-Computer Interaction, 4
514
+ 573 (CSCW1):1–23, May 2020. ISSN 2573-0142. doi: 10.1145/3392824. 9
515
+ 574 [76] Tuan Anh Le, Hyunjik Kim, and Marta Garnelo. Empirical Evaluation of Neural Process Objectives.
516
+ 575 page 9. 16
517
+ 576 [77] Diederik P. Kingma and Jimmy Ba. Adam: A Method for Stochastic Optimization. arXiv:1412.6980 [cs],
518
+ 577 January 2017. 16
519
+ 578 [78] Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor
520
+ 579 Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas Kopf, Edward Yang,
521
+ 580 Zachary DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie
522
+ 581 Bai, and Soumith Chintala. Pytorch: An imperative style, high-performance deep learning library. In
523
+ 582 H. Wallach, H. Larochelle, A. Beygelzimer, F. dAlché-Buc, E. Fox, and R. Garnett, editors, Advances in
524
+ 583 Neural Information Processing Systems 32, pages 8024–8035. Curran Associates, Inc., 2019. 16
525
+ 584 [79] WA Falcon et al. Pytorch lightning. GitHub. Note: https://github.com/PyTorchLightning/pytorch-lightning,
526
+ 585 3, 2019. 16
527
+ 586 [80] Chirag Raman and Hayley Hung. Towards automatic estimation of conversation floors within f-formations.
528
+ 587 In 2019 8th International Conference on Affective Computing and Intelligent Interaction Workshops and
529
+ 588 Demos (ACIIW), pages 175–181. IEEE, 2019. 17
530
+
531
+ 1. For all authors...
532
+
533
+ (a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] We mention the contributions of the task formulation and method in Section 1, along with our simplifying assumption for the setting, and circle back to discussing its implications in Section 7.
534
+ (b) Did you describe the limitations of your work? [Yes] Please refer to the discussion in Section 7.
535
+ (c) Did you discuss any potential negative societal impacts of your work? [N/A]
536
+ (d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes]
537
+
538
+ 2. If you are including theoretical results...
539
+
540
+ (a) Did you state the full set of assumptions of all theoretical results? [N/A] (b) Did you include complete proofs of all theoretical results? [N/A]
541
+
542
+ 3. If you ran experiments...
543
+
544
+ (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] Code, processed data, splits, and test batches are provided for reproduction in the Supplementary material.
545
+ (b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] Please refer to Appendices C and D.
546
+ (c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] We have reported mean and std. for the metrics over individual sequences in the test sets.
547
+ (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] Please refer to Appendix C.2. We specify the specific GPUs used for our experiments and their corresponding memory capacities.
548
+
549
+ 4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
550
+
551
+ (a) If your work uses existing assets, did you cite the creators? [Yes] We have cited and discussed the original work proposing the Haggling dataset.
552
+ (b) Did you mention the license of the assets? [No] The Haggling dataset is freely available for non-commercial and research purpose only.
553
+ (c) Did you include any new assets either in the supplemental material or as a URL? [No]
554
+ (d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [No] The Haggling dataset is freely available for non-commercial and research purpose only.
555
+ (e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [No] However, we visualized the features in Blender3D from scratch to not display original videos with the subjects.
556
+
557
+ 5. If you used crowdsourcing or conducted research with human subjects...
558
+
559
+ (a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
560
+ (b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A]
561
+ (c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A]
parse/train/qcjOWDHAc4J/qcjOWDHAc4J_content_list.json ADDED
@@ -0,0 +1,1059 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Social Processes: Self-Supervised Forecasting of Nonverbal Cues in Social Conversations ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 210,
8
+ 122,
9
+ 789,
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
+ 222,
20
+ 580,
21
+ 276
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Abstract ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 462,
31
+ 313,
32
+ 535,
33
+ 329
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "The default paradigm for the forecasting of human behavior in social conversations is characterized by top-down approaches. These involve identifying predictive relationships between low level nonverbal cues and future semantic events of interest (e.g. turn changes, group leaving). A common hurdle however, is the limited availability of labeled data for supervised learning. In this work, we take the first step in the direction of a bottom-up self-supervised approach in the domain. We formulate the task of Social Cue Forecasting to leverage the larger amount of unlabeled low-level behavior cues, and characterize the modeling challenges involved. To address these, we take a meta-learning approach and propose the Social Process (SP) models—socially aware sequence-to-sequence (Seq2Seq) models within the Neural Process (NP) family. SP models learn extractable representations of non-semantic future cues for each participant, while capturing global uncertainty by jointly reasoning about the future for all members of the group. Evaluation on synthesized and real-world behavior data shows that our SP models achieve higher log-likelihood than the NP baselines, and also highlights important considerations for applying such techniques within the domain of social human interactions. ",
40
+ "bbox": [
41
+ 148,
42
+ 345,
43
+ 766,
44
+ 568
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "17 1 Introduction ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 148,
54
+ 597,
55
+ 312,
56
+ 614
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "18 Picture a situated interactive agent such as a social robot conversing with a group of people. How \n19 can agents act in such a setting? We sustain conversations spatially and temporally through explicit \n20 behavioral cues—examples include locations of partners, their orientation, gestures, gaze, and floor \n21 control actions [1–3]. Evidence suggests that we employ an anticipation of these and other cues to \n22 navigate daily social interactions [1, 4–8]. Consequently, the ability to forecast the future constitutes \n23 a natural objective towards the realization of machines with social skills. As such, interactive agents \n24 typically contend with uncertainties in inferences surrounding cues [3]. So beyond making real-time \n25 inferences, such systems may achieve more fluid interactions by leveraging the ability to forecast \n26 future states of the conversation [9]. \n27 In addition to the development of social agents, behavior forecasting is also of significance in social \n28 psychology, where the focus is on gaining insight into human behavior. Since human-interpretability \n29 is of essence, top-down approaches largely constitute the default paradigm, where specific events of \n30 semantic interest are selected first for consideration and their relationship to potentially predictive cues \n31 are studied in isolation—either in controlled interactions in lab settings, or in subsequent statistical \n32 analyses [10, 11]. Examples of such semantic events include speaker turn transitions [5, 12, 13], \n33 mimicry episodes [14], or the termination of an interaction [9, 15]. However, one hurdle in the \n34 top-down paradigm is limited data. The events (that constitute the labels or the dependent variables) \n35 often occur infrequently over a longer interaction, reducing the effective amount of labeled data. This \n36 precludes the use of neural supervised learning techniques that tend to be data intensive. \n37 In this work, we take an initial step towards a bottom-up approach to forecasting human behavior for \n38 free standing conversational groups. Our guiding motivation is to learn predictive representations of \n39 general future social behavior by utilizing unlabeled streams of low-level behavioral features. We do \n40 this by regressing future sequences of these features from observed sequences of the same features in \n41 a self-supervised manner. We term this task of non-semantic future behavior forecasting as Social \n42 Cue Forecasting (SCF). \n43 Our approach is built on the observation that the social signal [17]—the high-level attitudes and social \n44 meaning transferred in interactions—is already embedded in the low-level cues [18]. To conceptually \n45 illustrate the contrasting top-down and bottom-up approaches on an example task, Figure 1 depicts \n46 an instance of a group leaving event in a naturalistic social conversation. Evidence suggests that \n47 such events can be anticipated from certain preceding rituals [15] reflected in the postural changes of \n48 conversing members [1]. van Doorn [15] built a predictor using 200 instances of group leaving found \n49 in over 90 minutes of mingling interaction and hand-crafted features. In contrast, our bottom-up \n50 approach would entail learning task agnostic representations of future behavior using the entire 90 \n51 minutes of data, and then training simpler predictors for group leaving using the learnt representations \n52 as input. The figure also illustrates the complexity of naturalistic interactions where cross-group \n53 social influence exists. In this work we focus on the simpler setting of a single group in a scene. \n54 There are several challenges intrinsic to computationally modeling future behavior in social conversa \n55 tions. The future is intrinsically uncertain, the forecasts for interaction partners are inter-dependent, \n56 and the social dynamics is unique for each grouping of individuals. We address these through the \n57 following contributions: ",
63
+ "bbox": [
64
+ 147,
65
+ 630,
66
+ 825,
67
+ 753
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "",
74
+ "bbox": [
75
+ 145,
76
+ 761,
77
+ 825,
78
+ 898
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "image",
84
+ "img_path": "images/075804c0c5de43a9d7c73e8bb27136d7c99fd35d0e60c15f3fcb826c5068b063.jpg",
85
+ "image_caption": [
86
+ "Figure 1: Conceptual illustration of forecasting approaches on an in-the-wild conversation from the MatchNMingle dataset [16]. a. The top-down approach entails predicting a semantic event or action of interest for the observed window $\\mathbf { \\mathit { t } _ { \\mathrm { o b s } } } : = [ o \\bar { 1 } \\dots o T ]$ . Here we illustrate group leaving [15]; the circled individual in the center leaves a group in the future. b. In contrast, we propose a bottom-up approach in the social conversation forecasting domain through the task of Social Cue Forecasting. This entails using the non-semantic low-level cues over $\\mathbf { \\Delta } \\mathbf { \\mathcal { t } } _ { \\mathrm { o b s } }$ to regress the same cues over the future window $\\pmb { t } _ { \\mathrm { f u t } } : = [ f 1 \\ldots f { \\bar { T } } ]$ . In this example we depict the cues of head pose (solid normal), body pose (hollow normal), and speaking status (speaker in orange). The hypothetical uncertainty estimates over $\\scriptstyle t _ { \\mathrm { f u t } }$ are also depicted as shaded spreads. "
87
+ ],
88
+ "image_footnote": [],
89
+ "bbox": [
90
+ 178,
91
+ 89,
92
+ 820,
93
+ 234
94
+ ],
95
+ "page_idx": 1
96
+ },
97
+ {
98
+ "type": "text",
99
+ "text": "",
100
+ "bbox": [
101
+ 147,
102
+ 356,
103
+ 825,
104
+ 439
105
+ ],
106
+ "page_idx": 1
107
+ },
108
+ {
109
+ "type": "text",
110
+ "text": "",
111
+ "bbox": [
112
+ 145,
113
+ 445,
114
+ 825,
115
+ 597
116
+ ],
117
+ "page_idx": 1
118
+ },
119
+ {
120
+ "type": "text",
121
+ "text": "",
122
+ "bbox": [
123
+ 147,
124
+ 603,
125
+ 825,
126
+ 659
127
+ ],
128
+ "page_idx": 1
129
+ },
130
+ {
131
+ "type": "text",
132
+ "text": "• We formalize the task of SCF. We characertize the modeling challenges involved, and cast the problem into the meta-learning paradigm, allowing for data-efficient generalization to unseen groups at evaluation without learning group-specific models. We propose and evaluate two socially aware Sequence-to-Sequence (Seq2Seq) models within the Neural Process (NP) family [19] for SCF in social conversations. Our method encodes complex social dynamics informative of future group behavior into extractable representations for each individual. ",
133
+ "bbox": [
134
+ 215,
135
+ 669,
136
+ 825,
137
+ 768
138
+ ],
139
+ "page_idx": 1
140
+ },
141
+ {
142
+ "type": "text",
143
+ "text": "65 This paper is organized as follows. In Section 2 we formally define and characterize the task of \n66 SCF. We situate this work within broader literature in Section 3, and review background concepts \n67 in Section 4. We propose the Social Process models in Section 5 and describe our experiments in \n68 Section 6, concluding with a discussion of our findings in Section 7. ",
144
+ "bbox": [
145
+ 147,
146
+ 779,
147
+ 825,
148
+ 834
149
+ ],
150
+ "page_idx": 1
151
+ },
152
+ {
153
+ "type": "text",
154
+ "text": "2 Social Cue Forecasting ",
155
+ "text_level": 1,
156
+ "bbox": [
157
+ 160,
158
+ 852,
159
+ 397,
160
+ 869
161
+ ],
162
+ "page_idx": 1
163
+ },
164
+ {
165
+ "type": "text",
166
+ "text": "70 The objective of SCF is to predict future behavioral cues of all people involved in a social encounter \n71 given an observed sequence of their behavioral features. More formally, let us denote a window \n72 of observed timesteps as $\\begin{array} { r c l } { t _ { \\mathrm { o b s } } } & { : = } & { [ o 1 , o 2 , . . . , o T ] } \\end{array}$ , and an unobserved future time window as \n73 $\\pmb { t } _ { \\mathrm { f u t } } : = [ f 1 , f 2 , . . . , \\bar { f } T ]$ , $f 1 > o T$ . Note that $\\mathbf { \\Delta } t _ { \\mathrm { f u t } }$ and $\\pmb { t } _ { \\mathrm { o b s } }$ are typically non-overlapping, can be of \n74 different lengths, and $\\mathbf { \\Delta } \\mathbf { \\mathbf { t } } _ { \\mathrm { f u t } }$ need not immediately follow $\\mathbf { \\Delta } \\mathbf { t } _ { \\mathrm { o b s } }$ . Given a set of $n$ interacting participants, \n75 let us denote their social cues over a $t _ { \\mathrm { o b s } }$ and $\\mathbf { \\Delta } \\mathbf { \\mathbf { t } } _ { \\mathrm { f u t } }$ respectively as ",
167
+ "bbox": [
168
+ 148,
169
+ 883,
170
+ 823,
171
+ 911
172
+ ],
173
+ "page_idx": 1
174
+ },
175
+ {
176
+ "type": "text",
177
+ "text": "",
178
+ "bbox": [
179
+ 147,
180
+ 90,
181
+ 825,
182
+ 147
183
+ ],
184
+ "page_idx": 2
185
+ },
186
+ {
187
+ "type": "equation",
188
+ "img_path": "images/029dce264f5981a194ed2b6893a4727efec475bc408df8af2d567019b5974f66.jpg",
189
+ "text": "$$\nX : = [ b _ { t } ^ { i } ; t \\in t _ { \\mathrm { o b s } } ] _ { i = 1 } ^ { n } , \\quad Y : = [ b _ { t } ^ { i } ; t \\in t _ { \\mathrm { f u t } } ] _ { i = 1 } ^ { n } .\n$$",
190
+ "text_format": "latex",
191
+ "bbox": [
192
+ 339,
193
+ 151,
194
+ 658,
195
+ 170
196
+ ],
197
+ "page_idx": 2
198
+ },
199
+ {
200
+ "type": "text",
201
+ "text": "The vector 76 $ { b _ { t } ^ { i } }$ encapsulates the multimodal cues of interest from participant $i$ at time $t$ . These can 77 include head and body pose, speaking status, facial expressions, gestures, and verbal content—any 78 information stream that combine to transfer social meaning. ",
202
+ "bbox": [
203
+ 147,
204
+ 176,
205
+ 823,
206
+ 218
207
+ ],
208
+ "page_idx": 2
209
+ },
210
+ {
211
+ "type": "text",
212
+ "text": "79 In its simplest form, given an $\\boldsymbol { X }$ , the objective of SCF is to learn a single function $f$ such that \n80 $Y = f ( X )$ . However, an inherent challenge in forecasting behavior is that an observed sequence \n81 of interaction does not have a deterministic future and can result in multiple socially valid ones—a \n82 window of overlapping speech between people both may and may not result in a change of speaker \n83 [12, 20], a change in head orientation may continue into a sweeping glance across the room or a darting \n84 glance stopping at a recipient of interest [21]. In some cases certain observed behaviors—intonation \n85 and gaze cues [5, 13] or synchronization in speaker-listener speech [22] for turn-taking—might \n86 make some outcomes more likely than others. Given that there are both supporting and challenging \n87 arguments for how these observations influence subsequent behaviors [22, p. 5; 13, p. 22], it would \n88 be beneficial if a data-driven model expresses a measure of uncertainty in its forecasts. We do this by \n89 modeling the distribution over possible futures $p ( \\mathbf { { Y } } | \\boldsymbol { { X } } )$ rather than forecasting a single future. \n90 Another design consideration arises from a defining characteristic of focused interactions—the \n91 participants’ behaviors are interdependent. Participants in a group sustain equal access to the shared \n92 interaction space through cooperative maneuvering [1, p. 220]. Moreover, when multiple groups \n93 are co-located, outsiders unengaged in these intra-group maneuvers may also influence the behavior \n94 of those within the group [23, p. 91;1, p. 233], sometimes causing them to leave (see Figure 1). It \n95 is therefore essential to capture uncertainty in forecasts at the global level—jointly forecasting one \n96 future for all participants at a time, rather than at a local output level—one future for each individual \n97 independent of the remaining participants’ futures. \n98 How participants coordinate their behaviors is a function of several individual factors [24, Chap. 1; 1, \n99 p. 237]. Consequently, the social dynamics guiding an interaction also has unique attributes for every \n100 unique grouping of individuals. Rather than learning group-specific models to capture these unique \n101 dynamics, we formulate the forecasting problem in terms of meta-learning, or few-shot function \n102 estimation. We interpret each unique group of individuals as the meta-learning notion of a task. The \n103 core idea is that we can learn to predict a distribution over futures for a target sequence $\\boldsymbol { X }$ having \n104 captured the group’s unique behavioral tendencies from a context set $C$ of their observed-future \n105 sequences. We can then generalize to unseen groups at evaluation by conditioning on a short observed \n106 slice of their interaction. We believe that this approach is especially suitable for social conversation \n107 forecasting—a setting that involves a limited data regime where good uncertainty estimates are \n108 desirable. Note that when conditioning on context is removed $C = \\varnothing$ ), we simply revert to the \n109 formulation $p ( \\mathbf { { Y } } | \\boldsymbol { { X } } )$ . ",
213
+ "bbox": [
214
+ 145,
215
+ 224,
216
+ 825,
217
+ 377
218
+ ],
219
+ "page_idx": 2
220
+ },
221
+ {
222
+ "type": "text",
223
+ "text": "",
224
+ "bbox": [
225
+ 145,
226
+ 383,
227
+ 825,
228
+ 494
229
+ ],
230
+ "page_idx": 2
231
+ },
232
+ {
233
+ "type": "text",
234
+ "text": "",
235
+ "bbox": [
236
+ 140,
237
+ 500,
238
+ 825,
239
+ 666
240
+ ],
241
+ "page_idx": 2
242
+ },
243
+ {
244
+ "type": "text",
245
+ "text": "110 3 Related Work ",
246
+ "text_level": 1,
247
+ "bbox": [
248
+ 142,
249
+ 685,
250
+ 320,
251
+ 702
252
+ ],
253
+ "page_idx": 2
254
+ },
255
+ {
256
+ "type": "text",
257
+ "text": "111 Free-standing conversations are an example of what social scientists call focused interactions, said to \n112 arise when a “group of persons gather close together and openly cooperate to sustain a single focus \n113 of attention, typically by taking turns at talking” [23, p. 24]. A long-standing topic of study has been \n114 the systematic organization of turn-taking [25–27], with a particular interest in the event of upcoming \n115 speaking turns [5–8]. There has also been some interest in the forecasting task itself, to anticipate \n116 disengagement from an interaction [9, 15], the splitting or merging of groups [28], the time-evolving \n117 size of a group [29] or semantic social action labels [30, 31]. Most of these works use heuristics, \n118 either to generate semantic labels [9], model the dynamics itself [29], or hand-craft features [15]. \n119 Although not a forecasting task, the closest work that shares our motivation in predicting non-semantic \n120 low-level features is the recently introduced task of Social Signal Prediction (SSP) [32]. The objective \n121 is to predict the social cues1 of a target person using cues from the communication partners as \n122 input (Joo et al. focus on predictions within the same time window [32, Eq. 6]). While the most \n123 general formulation of SSP involves forecasting a single timestep for a target person given the \n124 entire group’s past behavior [32, Eq. 3], generalizing this formulation runs into an inherent problem; \n125 applying the definition to forecasting entails iteratively treating each individual as target, learning \n126 separate functions for every person. However, as we discuss in Section 2, these futures of interacting \n127 individuals are not independent given observed group behavior. Furthermore, a constrained definition \n128 of forecasting that predicts an immediate step into the future is limiting, since forecasting an event \n129 that occurs after a delay (e.g. a time lagged synchrony [33] or mimicry [14] episode) might be of \n130 interest. Operationalizing this definition would entail a sliding window iteratively using predictions \n131 over the offset between $t _ { \\mathrm { o b s } }$ and $\\pmb { t } _ { \\mathrm { f u t } }$ as input, which would cascade prediction errors. \n132 A related social setting where forecasting has been of interest is that of unfocused interactions. These \n133 occur when individuals find themselves by circumstance in the immediate presence of each other, \n134 such as pedestrians walking in proximity. Early approaches for forecasting pedestrian trajectories \n135 were heuristic based, involving hand-crafted energy potentials to describe the influence pedestrians \n136 have on each other [34–41]. More recent approaches encode the relative positional information \n137 directly into a neural architecture [42–46]. \n138 In a broad sense, the self-supervised learning aspects of this work has some overlap with recent \n139 approaches focusing on the non-interaction task of visual forecasting. These works have taken a \n140 non-semantic approach to predict low level pixel-based features or intermediate representations \n141 [38, 47–52], and demonstrated a utility of the learned representation for other tasks like semi \n142 supervised classification [53], or training agents in immersive environments [54]. ",
258
+ "bbox": [
259
+ 142,
260
+ 715,
261
+ 825,
262
+ 828
263
+ ],
264
+ "page_idx": 2
265
+ },
266
+ {
267
+ "type": "text",
268
+ "text": "",
269
+ "bbox": [
270
+ 143,
271
+ 833,
272
+ 825,
273
+ 876
274
+ ],
275
+ "page_idx": 2
276
+ },
277
+ {
278
+ "type": "text",
279
+ "text": "",
280
+ "bbox": [
281
+ 140,
282
+ 90,
283
+ 825,
284
+ 231
285
+ ],
286
+ "page_idx": 3
287
+ },
288
+ {
289
+ "type": "text",
290
+ "text": "",
291
+ "bbox": [
292
+ 140,
293
+ 236,
294
+ 825,
295
+ 319
296
+ ],
297
+ "page_idx": 3
298
+ },
299
+ {
300
+ "type": "text",
301
+ "text": "",
302
+ "bbox": [
303
+ 140,
304
+ 325,
305
+ 825,
306
+ 395
307
+ ],
308
+ "page_idx": 3
309
+ },
310
+ {
311
+ "type": "text",
312
+ "text": "143 4 Preliminaries ",
313
+ "text_level": 1,
314
+ "bbox": [
315
+ 147,
316
+ 414,
317
+ 318,
318
+ 431
319
+ ],
320
+ "page_idx": 3
321
+ },
322
+ {
323
+ "type": "text",
324
+ "text": "144 Meta-learning. A supervised learning algorithm can be viewed as a function mapping a dataset \n145 $C : = ( X _ { C } , \\bar { Y _ { C } } ) : = \\{ ( \\bar { { \\bf x } } _ { i } , { \\bf y } _ { i } ) \\} _ { i \\in [ N _ { C } ] }$ to a predictor $f ( { \\pmb x } )$ . Here $N _ { C }$ is the number of datapoints in \n146 $C$ , and $[ N _ { C } ] : = \\{ 1 , \\dots , N _ { C } \\}$ . The key idea of meta-learning is to learn the learning process itself, \n147 modeling this function representing the initial algorithm using another supervised learning algorithm; \n148 hence the name meta-learning. In meta-learning literature, a task refers to each dataset in a collection \n149 $\\mathcal { M } : = \\{ \\mathcal { T } _ { i } \\} _ { i = 1 } ^ { N _ { \\mathrm { t a s k s } } }$ of related datasets [55]. For each task $\\tau$ , a meta-learner is episodically trained \n150 to fit a subset of target points $D : = ( X , Y ) : = \\{ ( { \\pmb x } _ { i } , { \\pmb y } _ { i } ) \\} _ { i \\in [ N _ { D } ] }$ given another subset of context \n151 observations $C$ . At meta-test time, the resulting predictor $f ( \\pmb { x } , C )$ uses the information obtained \n152 during meta-learning to make predictions for unseen target points conditioned on context sets unseen \n153 at meta-training. \n154 Neural Processes Sharing the same core motivations, NPs are a family of latent variable models \n155 that extend the idea of meta-learning to situations where uncertainty in the predictions $f ( \\pmb { x } , C )$ are \n156 desirable. They do this by meta-learning a map from datasets to stochastic processes, estimating a \n157 distribution over the predictions $p ( { \\boldsymbol { Y } } | { \\boldsymbol { X } } , { \\boldsymbol { C } } )$ . To capture this distribution, NPs model the conditional \n158 latent distribution $p ( z | C )$ from which a task representation $z \\in \\mathbb { R } ^ { d }$ is sampled. This constitutes \n159 the model’s latent path. The context can also be incorporated through a deterministic path, via a \n160 representation $r _ { C } \\in \\mathbb { R } ^ { d }$ aggregated over $C$ . An observation model $p ( \\pmb { y } _ { i } | \\pmb { x } _ { i } , \\pmb { r } _ { C } , \\pmb { z } )$ then fits the target \n161 observations in $D$ . The generative process for the NP is written as ",
325
+ "bbox": [
326
+ 140,
327
+ 444,
328
+ 826,
329
+ 588
330
+ ],
331
+ "page_idx": 3
332
+ },
333
+ {
334
+ "type": "text",
335
+ "text": "",
336
+ "bbox": [
337
+ 140,
338
+ 602,
339
+ 825,
340
+ 715
341
+ ],
342
+ "page_idx": 3
343
+ },
344
+ {
345
+ "type": "equation",
346
+ "img_path": "images/d84f7e3c6432e79fa8e4435631182ad50a5f55a377b3dc94b12b60535252273f.jpg",
347
+ "text": "$$\np ( { \\pmb Y } | { \\pmb X } , { \\pmb C } ) : = \\int p ( { \\pmb Y } | { \\pmb X } , { \\pmb C } , { \\pmb z } ) p ( { \\pmb z } | { \\pmb C } ) d { \\pmb z } = \\int p ( { \\pmb Y } | { \\pmb X } , { \\pmb r } _ { C } , { \\pmb z } ) q ( { \\pmb z } | s _ { C } ) d { \\pmb z } ,\n$$",
348
+ "text_format": "latex",
349
+ "bbox": [
350
+ 246,
351
+ 719,
352
+ 750,
353
+ 752
354
+ ],
355
+ "page_idx": 3
356
+ },
357
+ {
358
+ "type": "text",
359
+ "text": "162 where $\\begin{array} { r } { p ( { \\pmb Y } | { \\pmb X } , { \\pmb r } _ { C } , z ) : = \\prod _ { i \\in [ N _ { D } ] } p ( { \\pmb y } _ { i } | { \\pmb x } _ { i } , { \\pmb r } _ { C } , z ) } \\end{array}$ . The latent $_ z$ is modeled by a factorized Gaussian \n163 parameterized by $\\bullet _ { C } : = f _ { s } ( C )$ , with $f _ { s }$ being a deterministic function invariant to order permutation \n164 over $C$ . When the conditioning on context is removed $C = \\varnothing$ ), we have $q ( z | s _ { \\emptyset } ) : \\bar { = } p ( z )$ , the \n165 zero-information prior on $_ { z }$ . $C$ is encoded on the deterministic path using a function $f _ { r }$ similar to \n166 $f _ { s }$ , so that $\\pmb { r } _ { C } : = f _ { r } ( C )$ . In practice this is implemented as $\\textstyle { \\pmb r } _ { C } \\doteq \\sum _ { i \\in [ N _ { C } ] } \\operatorname { M L P } ( { \\pmb x } _ { i } , { \\pmb y } _ { i } ) / N _ { C }$ . The \n167 observation model is referred to as the decoder, and $q , f _ { r } , f _ { s }$ comprise the encoders. The parameters \n168 of the NP are learned for random subsets $C$ and $D$ by maximizing the evidence lower bound (ELBO) ",
360
+ "bbox": [
361
+ 140,
362
+ 756,
363
+ 825,
364
+ 859
365
+ ],
366
+ "page_idx": 3
367
+ },
368
+ {
369
+ "type": "image",
370
+ "img_path": "images/7cda7fc64afbe0b23d6bdadb0c6190cf34a8132631c02b3936d08c58e0a213a6.jpg",
371
+ "image_caption": [
372
+ "Figure 2: Architecture of the SP and ASP family. "
373
+ ],
374
+ "image_footnote": [],
375
+ "bbox": [
376
+ 181,
377
+ 92,
378
+ 816,
379
+ 266
380
+ ],
381
+ "page_idx": 4
382
+ },
383
+ {
384
+ "type": "text",
385
+ "text": "169 5 Social Processes ",
386
+ "text_level": 1,
387
+ "bbox": [
388
+ 142,
389
+ 303,
390
+ 339,
391
+ 319
392
+ ],
393
+ "page_idx": 4
394
+ },
395
+ {
396
+ "type": "text",
397
+ "text": "170 In this section we present our socially aware Seq2Seq models within the NP family that is agnostic to \n171 group member identities and group size. To setup the task, we split the contextual interaction on which \n172 we condition into pairs of observed and future sequences, writing the context as $C : = ( X _ { C } , Y _ { C } ) : =$ \n173 $( X _ { j } , Y _ { k } ) _ { ( j , k ) \\in [ N _ { C } ] \\times [ N _ { C } ] }$ , where every $X _ { j }$ occurs before the corresponding $Y _ { k }$ . As discussed in \n174 Section 3, domain experts focusing on behavior analysis might be interested in settings where $t _ { \\mathrm { o b s } }$ \n175 and $\\mathbf { \\Delta } t _ { \\mathrm { f u t } }$ are offset by an arbitrary delay. Consequently, the $j$ th $t _ { \\mathrm { o b s } }$ can have multiple associated $\\mathbf { \\Delta } \\mathbf { \\mathbf { { t } } } _ { \\mathrm { { f u t } } }$ \n176 windows. Denoting the set of target window pairs as $D : = ( X , Y ) : = ( X _ { j } , Y _ { k } ) _ { ( j , k ) \\in [ N _ { D } ] \\times [ N _ { D } ] }$ , our \n177 focus in the rest of this work is to model the distribution $p ( { \\boldsymbol { Y } } | { \\boldsymbol { X } } , { \\boldsymbol { C } } )$ . \n178 The generative process for our model we call the Social Process (SP) follows Eq. 2, which we \n179 extend to social forecasting in two ways. We embed an observed sequence $_ { \\textbf { \\em x } }$ for an individual \n180 into a condensed encoding $\\mathbf { \\bar { \\boldsymbol { e } } } \\in \\mathbb { R } ^ { d }$ that is then decoded into the future sequence using a Seq2Seq \n181 architecture [56, 57]. Our intuition is that this would cause the representation to encode temporal \n182 information about the future. Further, for every individual we model this $e$ as a function of their own \n183 behavior, and that of their partners as viewed by them. The intuition is that this captures the spatial \n184 influence partners have on the participant over the $t _ { \\mathrm { o b s } }$ . Using notation we established in Section 2, \n185 we define the observation model for the SP for a single participant $\\mathrm { p } _ { i }$ as ",
398
+ "bbox": [
399
+ 140,
400
+ 333,
401
+ 825,
402
+ 446
403
+ ],
404
+ "page_idx": 4
405
+ },
406
+ {
407
+ "type": "text",
408
+ "text": "",
409
+ "bbox": [
410
+ 140,
411
+ 452,
412
+ 825,
413
+ 564
414
+ ],
415
+ "page_idx": 4
416
+ },
417
+ {
418
+ "type": "equation",
419
+ "img_path": "images/223d2bb647db808d0ab35622f95633fb70c8118da9ace3c1febf1c7cb7d99a84.jpg",
420
+ "text": "$$\np ( \\pmb { y } ^ { i } | \\pmb { x } ^ { i } , C , z ) : = p ( \\pmb { b } _ { f 1 } ^ { i } , \\ldots , \\pmb { b } _ { f T } ^ { i } | \\pmb { b } _ { o 1 } ^ { i } , \\ldots , \\pmb { b } _ { o T } ^ { i } , C , z ) = p ( \\pmb { b } _ { f 1 } ^ { i } , \\ldots , \\pmb { b } _ { f T } ^ { i } | \\pmb { e } ^ { i } , \\pmb { r } _ { C } , z ) .\n$$",
421
+ "text_format": "latex",
422
+ "bbox": [
423
+ 223,
424
+ 568,
425
+ 772,
426
+ 587
427
+ ],
428
+ "page_idx": 4
429
+ },
430
+ {
431
+ "type": "text",
432
+ "text": "186 If decoding is carried out in an auto-regressive manner, we can further write the right hand side of \n187 Eq. 4 as $\\begin{array} { r } { \\dot { \\prod _ { t = f 1 } ^ { f T } } p ( b _ { t } ^ { i } | b _ { t - 1 } ^ { i } , \\dots , b _ { f 1 } ^ { i } , e ^ { i } , r _ { C } , z ) } \\end{array}$ . Following the standard NP setting, we implement the \n188 observation model as a set of Gaussian distributions factorized over time and feature dimensions. \n189 We also incorporate the cross-attention mechanism from the Attentive Neural Process (ANP) [58] to \n190 define the variant Attentive Social Process (ASP). Following Eq. 4 and the definition of the ANP, the \n191 corresponding observation model of the ASP for a single participant is defined as ",
433
+ "bbox": [
434
+ 140,
435
+ 590,
436
+ 826,
437
+ 678
438
+ ],
439
+ "page_idx": 4
440
+ },
441
+ {
442
+ "type": "equation",
443
+ "img_path": "images/277fc338e0b9e90838e8da11d3bc299c9bf4f04b630d437f7fe1e6b6c6346e36.jpg",
444
+ "text": "$$\np ( \\pmb { y } ^ { i } | \\pmb { x } ^ { i } , C , z ) = p ( b _ { f 1 } ^ { i } , \\ldots , b _ { f T } ^ { i } | \\pmb { e } ^ { i } , r ^ { * } ( C , \\pmb { x } ^ { i } ) , z ) .\n$$",
445
+ "text_format": "latex",
446
+ "bbox": [
447
+ 328,
448
+ 683,
449
+ 668,
450
+ 702
451
+ ],
452
+ "page_idx": 4
453
+ },
454
+ {
455
+ "type": "text",
456
+ "text": "92 Here each target query sequence $\\pmb { x } _ { \\ast } ^ { i }$ attends to the context sequences $X _ { C }$ to produce a query-specific \n93 representation $r _ { * } : = r ^ { * } ( C , \\pmb { x } _ { * } ^ { i } ) \\in \\mathbb { R } ^ { d }$ . The model architectures are illustrated in Figure 2. \n194 Encoding Partner Behavior. While a typical Seq2Seq setup conditions the sequence decoder on \n195 solely a compact representation of the observed sequence, we’d like to condition an individual’s \n196 forecast on the observed behavior of both, themselves and their partners. We do this using a pair \n197 of sequence encoders: one to encode the temporal dynamics of participant $\\mathrm { p } _ { i }$ ’s features, $\\bar { e } _ { \\mathrm { s e l f } } ^ { i } =$ \n198 $f _ { \\mathrm { s e l f } } ( \\mathbf { \\bar { x } } _ { i } )$ , and another to encode the dynamics of a transformed representation of the features of $\\mathrm { p } _ { i }$ ’s \n199 partners, $e _ { \\mathrm { p a r t n e r } } ^ { i } = f _ { \\mathrm { p a r t n e r } } ( \\psi ( \\pmb { x } _ { j , ( j \\neq i ) } ) )$ . Using a separate network to encode partner behavior \n200 grants the practical advantage of being able to sample an individual’s and partners’ features at different \n201 sampling rates. \n202 How do we model $\\psi ( \\pmb { x } _ { j } )$ ? We want the partners’ representation to possess two properties: per \n203 mutation invariance—changing the order of the partners should not affect the representation; and \n204 group size independence—we want to compactly represent all partners independent of the group size. \n205 Beyond coordinate space invariance, we wish to intuitively capture a view of the interaction from \n206 $\\mathrm { p } _ { i }$ ’s perspective. We extend the approach Qi et al. [59] applied to point clouds to focused interactions \n207 by computing pooled embeddings of relative behavioral features. Since most commonly considered \n208 nonverbal cues in literature (see Section 6.3) include the attributes of orientation or location (e.g. \n209 head/body pose or keypoints) or a binary indicator (such as speaking status), we specify how we \n210 transform these. The 3D pose (orientation, location) of every partner $\\mathrm { p } _ { j }$ is transformed to a frame of \n211 reference defined by $\\mathrm { p } _ { i }$ ’s pose. At timestep $t$ , denoting orientation, location, and binary speaking \n212 status for $\\mathrm { p } _ { i }$ as $b _ { t } ^ { i } = [ \\mathbf { q } ^ { i } ; \\mathbf { l } ^ { i } ; \\mathbf { s } ^ { i } ]$ , and those for $\\mathrm { p } _ { j }$ as $\\mathbf { } b _ { t } ^ { j } = [ \\mathbf { q } ^ { j } ; \\mathbf { l } ^ { j } ; \\mathbf { s } ^ { j } ]$ , we have ",
457
+ "bbox": [
458
+ 148,
459
+ 708,
460
+ 830,
461
+ 738
462
+ ],
463
+ "page_idx": 4
464
+ },
465
+ {
466
+ "type": "text",
467
+ "text": "",
468
+ "bbox": [
469
+ 142,
470
+ 751,
471
+ 825,
472
+ 863
473
+ ],
474
+ "page_idx": 4
475
+ },
476
+ {
477
+ "type": "text",
478
+ "text": "",
479
+ "bbox": [
480
+ 142,
481
+ 869,
482
+ 826,
483
+ 912
484
+ ],
485
+ "page_idx": 4
486
+ },
487
+ {
488
+ "type": "text",
489
+ "text": "",
490
+ "bbox": [
491
+ 138,
492
+ 90,
493
+ 826,
494
+ 205
495
+ ],
496
+ "page_idx": 5
497
+ },
498
+ {
499
+ "type": "equation",
500
+ "img_path": "images/701fd6467b6a857155b23fb1353e7a079f8b255c433ad00f7c8634dc4c993708.jpg",
501
+ "text": "$$\n\\mathbf { q } ^ { r e l } = \\mathbf { q } ^ { i } * ( \\mathbf { q } ^ { j } ) ^ { - 1 } , \\quad \\mathbf { l } ^ { r e l } = \\mathbf { l } ^ { j } - \\mathbf { l } ^ { i } , \\quad \\mathbf { s } ^ { r e l } = \\mathbf { s } ^ { j } - \\mathbf { s } ^ { i } .\n$$",
502
+ "text_format": "latex",
503
+ "bbox": [
504
+ 318,
505
+ 209,
506
+ 679,
507
+ 228
508
+ ],
509
+ "page_idx": 5
510
+ },
511
+ {
512
+ "type": "text",
513
+ "text": "213 Note that we use unit quaternions (denoted $\\mathbf { q }$ ) for representing orientation due their various benefits \n214 over other representations of rotation [60, Sec. 3.2]. The operator $^ *$ denotes the Hamilton product of \n215 the quaternions. These transformed features for each $\\mathrm { p } _ { j }$ are encoded using an embedder MLP. The \n216 outputs are concatenated with $e _ { \\mathrm { s e l f } } ^ { j }$ and processed by a pre-pooler MLP, which is followed by the \n217 symmetric element-wise Max-pooling function to obtain $\\psi ( \\pmb { x } ^ { j } )$ at each timestep. We capture the \n218 dynamics in the pooled representation over $t _ { \\mathrm { o b s } }$ using $f _ { \\mathrm { p a r t n e r } }$ . Finally, we combine $e _ { \\mathrm { s e l f } } ^ { i }$ and $e _ { \\mathrm { p a r t n e r } } ^ { i }$ \n219 for $\\mathrm { p } _ { i }$ through a linear projection (defined by a weight matrix $W$ ) to obtain the individual’s embedding \n220 $e _ { \\mathrm { i n d } } ^ { i } = W . [ \\bar { e } _ { \\mathrm { s e l f } } ^ { i } ; e _ { \\mathrm { p a r t n e r } } ^ { i } ]$ . Our intuition is that with information about both $\\mathrm { p } _ { i }$ themselves, and of \n221 $\\mathrm { p } _ { i }$ ’s partners from $\\mathrm { p } _ { i }$ ’s point-of-view, $e _ { \\mathrm { i n d } } ^ { i }$ now contains the information required to predict $\\mathrm { p } _ { i }$ ’s \n222 future behavior. \n223 Encoding Future Window Offset. As we’ve discussed at the start of this section, a single $t _ { \\mathrm { o b s } }$ \n224 might have multiple associated $\\mathbf { \\Delta } \\mathbf { \\mathbf { \\mathit { t } } _ { \\mathrm { f u t } } }$ windows at different offsets. Our intuition is that training a \n225 sequence decoder to decode the same $e _ { \\mathrm { i n d } } ^ { i }$ into multiple sequences (corresponding to the multiple \n226 $\\pmb { t } _ { \\mathrm { f u t } } )$ ) in the absence of any timing information might cause an averaging effect in either the decoder \n227 or the information encoded in $e _ { \\mathrm { i n d } } ^ { \\bar { i } }$ . One way around this would be to start decoding one timestep \n228 following the end of $t _ { \\mathrm { o b s } }$ and discard the predictions in the gap between $t _ { \\mathrm { o b s } }$ and $\\mathbf { \\Delta } t _ { \\mathrm { f u t } }$ . However, \n229 if decoding is done auto-regressively this might lead to cascading errors over the gap. Instead, we \n230 address this one-to-many issue by injecting the offset information into $e _ { \\mathrm { i n d } } ^ { i }$ so that the decoder \n231 receives a unique encoded representation for every $\\mathbf { \\Delta } \\mathbf { \\mathbf { t } } _ { \\mathrm { f u t } }$ to decode over. We do this by repurposing \n232 the idea of sinusoidal positional encodings [61] to encode offsets rather than relative positions in \n233 sequences. For a given $\\mathbf { \\Delta } \\mathbf { t } _ { \\mathrm { o b s } }$ and $\\mathbf { \\Delta } \\mathbf { \\mathbf { \\mathit { t } } _ { \\mathrm { f u t } } }$ , and $d _ { e }$ -dimensional $e _ { \\mathrm { i n d } } ^ { i }$ we define the offset as $\\Delta t = f 1 - o T$ \n234 and the corresponding offset encoding $O E _ { \\Delta t }$ as ",
514
+ "bbox": [
515
+ 138,
516
+ 232,
517
+ 825,
518
+ 378
519
+ ],
520
+ "page_idx": 5
521
+ },
522
+ {
523
+ "type": "text",
524
+ "text": "",
525
+ "bbox": [
526
+ 138,
527
+ 391,
528
+ 826,
529
+ 559
530
+ ],
531
+ "page_idx": 5
532
+ },
533
+ {
534
+ "type": "equation",
535
+ "img_path": "images/2c93382fc306bd6ab7ad882a8fa0f06f6ac2fb2b53a2e31577765348c8981849.jpg",
536
+ "text": "$$\nO E _ { ( \\Delta t , 2 m ) } = \\sin ( \\Delta t / 1 0 0 0 0 ^ { 2 m / d _ { c } } ) , \\quad O E _ { ( \\Delta t , 2 m + 1 ) } = \\cos ( \\Delta t / 1 0 0 0 0 ^ { 2 m / d _ { c } } ) .\n$$",
537
+ "text_format": "latex",
538
+ "bbox": [
539
+ 217,
540
+ 561,
541
+ 736,
542
+ 583
543
+ ],
544
+ "page_idx": 5
545
+ },
546
+ {
547
+ "type": "text",
548
+ "text": "Here 235 $m$ refers to the dimension index in the encoding. We finally compute the representation $e ^ { i }$ for 236 Eqs. 4 and 5 as ",
549
+ "bbox": [
550
+ 151,
551
+ 588,
552
+ 826,
553
+ 616
554
+ ],
555
+ "page_idx": 5
556
+ },
557
+ {
558
+ "type": "equation",
559
+ "img_path": "images/9d46e11bd1c887c68dbf1afa6f4da9008d3c5d822d4baf121868f79fdf8a4a75.jpg",
560
+ "text": "$$\ne ^ { i } = e _ { \\mathrm { i n d } } ^ { i } + O E _ { \\Delta t } .\n$$",
561
+ "text_format": "latex",
562
+ "bbox": [
563
+ 431,
564
+ 613,
565
+ 566,
566
+ 632
567
+ ],
568
+ "page_idx": 5
569
+ },
570
+ {
571
+ "type": "text",
572
+ "text": "237 Auxiliary Loss Functions. We incorporate a geometric loss function that improves performance in \n238 pose regression tasks. For $\\mathrm { p } _ { i }$ at time $t$ , given the ground truth $b _ { t } ^ { i } = [ \\mathbf { q } ; 1 ; \\mathrm { s } ]$ , and the predicted mean \n239 $\\hat { b } _ { t } ^ { i } = [ \\hat { \\mathbf { q } } ; \\hat { \\mathbf { l } } ; \\hat { \\mathbf { s } } ]$ , we denote the tuple $( b _ { t } ^ { i } , b _ { t } ^ { i } )$ as $B _ { t } ^ { i }$ . We then have the location loss in Eucliden space \n240 $\\mathcal { L } _ { 1 } ( B _ { t } ^ { i } ) = \\left. \\mathbf { l } - \\hat { \\mathbf { l } } \\right.$ , and we can regress the quaternion values using ",
573
+ "bbox": [
574
+ 140,
575
+ 643,
576
+ 825,
577
+ 713
578
+ ],
579
+ "page_idx": 5
580
+ },
581
+ {
582
+ "type": "equation",
583
+ "img_path": "images/cfacc2a1e892d60a11b919ecd2cc60858ba9d9bc19567dab34febe3a7fc45111.jpg",
584
+ "text": "$$\n\\mathcal { L } _ { \\mathrm { q } } ( B _ { t } ^ { i } ) = \\left\\| \\mathbf { q } - \\frac { \\hat { \\mathbf { q } } } { \\| \\hat { \\mathbf { q } } \\| } \\right\\| .\n$$",
585
+ "text_format": "latex",
586
+ "bbox": [
587
+ 418,
588
+ 717,
589
+ 580,
590
+ 752
591
+ ],
592
+ "page_idx": 5
593
+ },
594
+ {
595
+ "type": "text",
596
+ "text": "241 Kendall and Cipolla [60] show how these losses can be combined using the homoscedastic uncertainties in position and orientation, 242 $\\hat { \\sigma } _ { 1 } ^ { 2 }$ and $\\hat { \\sigma } _ { \\mathrm { q } } ^ { 2 }$ : ",
597
+ "bbox": [
598
+ 143,
599
+ 755,
600
+ 826,
601
+ 785
602
+ ],
603
+ "page_idx": 5
604
+ },
605
+ {
606
+ "type": "equation",
607
+ "img_path": "images/24e56766d43f607c3286c4cff13446dba7875a79e71b9eefbaed4d1cd25676e4.jpg",
608
+ "text": "$$\n\\mathcal { L } _ { \\sigma } ( B _ { t } ^ { i } ) = \\mathcal { L } _ { 1 } ( B _ { t } ^ { i } ) \\exp ( - \\hat { s } _ { 1 } ) + \\hat { s } _ { 1 } + \\mathcal { L } _ { \\boldsymbol { \\mathrm { q } } } ( B _ { t } ^ { i } ) \\exp ( - \\hat { s } _ { \\mathrm { q } } ) + \\hat { s } _ { \\boldsymbol { \\mathrm { q } } } ,\n$$",
609
+ "text_format": "latex",
610
+ "bbox": [
611
+ 299,
612
+ 789,
613
+ 697,
614
+ 809
615
+ ],
616
+ "page_idx": 5
617
+ },
618
+ {
619
+ "type": "text",
620
+ "text": "where 243 $\\hat { s } : = \\log \\hat { \\sigma } ^ { 2 }$ . Using the binary cross-entropy loss for speaking status $\\mathcal { L } _ { \\mathrm { s } } ( B _ { t } ^ { i } )$ , we have the 244 overall auxiliary loss over $t \\in { \\pmb t } _ { \\mathrm { f u t } }$ : ",
621
+ "bbox": [
622
+ 148,
623
+ 813,
624
+ 823,
625
+ 843
626
+ ],
627
+ "page_idx": 5
628
+ },
629
+ {
630
+ "type": "equation",
631
+ "img_path": "images/71a8159a4f0391f9d15a4c9b12c1fa22c66b3c86affed64255468d87d9ffdb9c.jpg",
632
+ "text": "$$\n\\mathcal { L } _ { \\mathrm { a u x } } ( \\boldsymbol { Y } , \\hat { \\boldsymbol { Y } } ) = \\sum _ { i } \\sum _ { t } \\mathcal { L } _ { \\sigma } ( B _ { t } ^ { i } ) + \\mathcal { L } _ { \\mathrm { s } } ( B _ { t } ^ { i } ) .\n$$",
633
+ "text_format": "latex",
634
+ "bbox": [
635
+ 356,
636
+ 845,
637
+ 642,
638
+ 880
639
+ ],
640
+ "page_idx": 5
641
+ },
642
+ {
643
+ "type": "text",
644
+ "text": "245 The parameters of the SP and ASP are trained by maximizing the ELBO in Eq. 3 and minimizing this \n246 auxiliary loss function for each of our sequence decoders. ",
645
+ "bbox": [
646
+ 138,
647
+ 882,
648
+ 826,
649
+ 912
650
+ ],
651
+ "page_idx": 5
652
+ },
653
+ {
654
+ "type": "image",
655
+ "img_path": "images/42651c2b36add882c5b51ca88501608167a5fe63ce5ae59c255468d4faac0dd6.jpg",
656
+ "image_caption": [
657
+ "Figure 3: Ground truths and model predictions for the toy task simulating the forecasting of glancing behavior. "
658
+ ],
659
+ "image_footnote": [],
660
+ "bbox": [
661
+ 174,
662
+ 88,
663
+ 529,
664
+ 391
665
+ ],
666
+ "page_idx": 6
667
+ },
668
+ {
669
+ "type": "table",
670
+ "img_path": "images/1dcd98ddd96a830df6688dbabda8f1455cfee50df5a755420d981e5b6a050217.jpg",
671
+ "table_caption": [
672
+ "Table 1: Mean (Std.) Negative LogLikelihood (NLL) on the Haggling Test Sets. The reported mean and std. are over individual sequences in the test sets. Lower is better. The superscript ⇤ indicates best NLL within family, boldface best overall. "
673
+ ],
674
+ "table_footnote": [],
675
+ "table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"2\">Context</td></tr><tr><td>Random</td><td>Fixed-Initial</td></tr><tr><td>Baselines</td><td></td><td></td></tr><tr><td>NP-latent</td><td>38.34 (19.1)</td><td>37.64 (18.1)</td></tr><tr><td>NP-latent+det</td><td>40.41 (23.9)</td><td>40.15 (23.0)</td></tr><tr><td>ANP-dot</td><td>35.66* (20.8)</td><td>38.06* (20.6)</td></tr><tr><td>ANP-multihead</td><td>40.60 (19.2)</td><td>41.11 (19.2)</td></tr><tr><td>Ours (MLP)</td><td></td><td></td></tr><tr><td>SP-latent</td><td>-74.06 (6.0)</td><td>-74.19 (5.9)</td></tr><tr><td>SP-latent+det</td><td>-77.49 (7.8)</td><td>-76.90 (8.4)</td></tr><tr><td>ASP-dot</td><td>-76.33 (6.5)</td><td>-75.15 (6.5)</td></tr><tr><td>ASP-multihead</td><td>-83.77* (10.3)</td><td>-83.43* (9.7)</td></tr><tr><td>Ours (GRU)</td><td></td><td></td></tr><tr><td>SP-latent</td><td>-4.23 (27.4)</td><td>-3.72 (30.7)</td></tr><tr><td>SP-latent+det</td><td>-17.38* (50.5)</td><td>-16.08* (52.2)</td></tr><tr><td>ASP-dot</td><td>19.91 (46.7)</td><td>31.39 (77.0)</td></tr><tr><td>ASP-multihead</td><td>-7.11 (26.9)</td><td>-0.51 (28.8)</td></tr></table>",
676
+ "bbox": [
677
+ 544,
678
+ 174,
679
+ 821,
680
+ 412
681
+ ],
682
+ "page_idx": 6
683
+ },
684
+ {
685
+ "type": "text",
686
+ "text": "247 6 Experiments and Results ",
687
+ "text_level": 1,
688
+ "bbox": [
689
+ 150,
690
+ 439,
691
+ 415,
692
+ 455
693
+ ],
694
+ "page_idx": 6
695
+ },
696
+ {
697
+ "type": "text",
698
+ "text": "6.1 Models and Baselines ",
699
+ "text_level": 1,
700
+ "bbox": [
701
+ 174,
702
+ 470,
703
+ 362,
704
+ 484
705
+ ],
706
+ "page_idx": 6
707
+ },
708
+ {
709
+ "type": "text",
710
+ "text": "Our modeling assumption is that the underlying stochastic process generating the behaviors does not evolve over time. Stated differently, we assume that the individual factors determining how participants coordinate behaviors—age, cultural background, personality variables [24, Chap. 1; 1, p. 237]—are likely to remain the same over the short duration of a single interaction. This is in contrast to a related line of work that deals with meta-transfer learning, where the stochastic process itself changes over time [62–65]. We therefore compare against the NP and ANP family which share our model assumptions and meta-learning attributes. Note that in contrast to our methods, these baselines have direct access to the future sequences in the context, and therefore constitute a strong baseline. We consider two variants: -latent denoting only the latent path; and -latent+det, containing both deterministic and stochastic paths. We further consider two attention mechanisms for the cross-attention module: -dot with dot attention, and -multihead with wide multi-head attention [58]. We operationalize the original definitions of the baseline models to sequences by collapsing the timestep and feature dimensions. While the ANP-RNN model [66] shares our model assumptions, it is defined for a task analogous to SSP for concurrent car locations, and cannot be operationalized to forecasting in any simple way (see Section 3 discussing the distinction). We experiment with two choices of architectures for the sequence encoders and decoders in our proposed models: multi-layer perceptrons (MLP), and Gated Recurrent Units (GRU). Implementation and training details for our experiments can be found in Appendix C. ",
711
+ "bbox": [
712
+ 173,
713
+ 496,
714
+ 825,
715
+ 744
716
+ ],
717
+ "page_idx": 6
718
+ },
719
+ {
720
+ "type": "text",
721
+ "text": "6.2 Evaluation on Synthesized Behavior: Forecasting Glancing Behavior ",
722
+ "text_level": 1,
723
+ "bbox": [
724
+ 166,
725
+ 761,
726
+ 689,
727
+ 776
728
+ ],
729
+ "page_idx": 6
730
+ },
731
+ {
732
+ "type": "text",
733
+ "text": "With limited behavioral data availability, a common practice in the domain is to train and evaluate methods on synthesized behavior dynamics [31, 67]. In keeping with this practice, we construct a synthesized dataset simulating two glancing behaviors in social settings [21]. We use a 1D sinusoid to represent horizontal head rotation over 20 timesteps. The sweeping Type I glance is represented by a pristine sinusoid, while the gaze fixating Type III glance is denoted by clipping the amplitude for the last six timesteps. The task is to forecast the signal over the last 10 timesteps $( \\pmb { t } _ { \\mathrm { f u t } } )$ by observing the first 10 $( \\pmb { t } _ { \\mathrm { o b s } } )$ . Consequently, the first half of $\\mathbf { \\delta } _ { t _ { \\mathrm { f u t } } }$ is certain, while uncertainty over the last half results from every observed sinusoid having two ground-truths. It is impossible to infer from an observed sequence alone if the head rotation will stop partway through the future. We describe additional data setup, model details, and quantitative results for this setting in Appendices A.1, C and D.1, respectively. Figure 3 illustrates the ground truths, predicted means and std. deviations for a sequence within and outside the context set. We observe that all models estimate the mean reasonably well, although our proposed SP models learn a slightly better fit. More crucially, the SP models—especially the SP-GRU—learn much better uncertainty estimates over the certain and uncertain parts of the future compared to the NP baseline. ",
734
+ "bbox": [
735
+ 169,
736
+ 786,
737
+ 825,
738
+ 911
739
+ ],
740
+ "page_idx": 6
741
+ },
742
+ {
743
+ "type": "text",
744
+ "text": "",
745
+ "bbox": [
746
+ 163,
747
+ 92,
748
+ 823,
749
+ 174
750
+ ],
751
+ "page_idx": 7
752
+ },
753
+ {
754
+ "type": "text",
755
+ "text": "6.3 Real-World Behavior: The Haggling Dataset ",
756
+ "text_level": 1,
757
+ "bbox": [
758
+ 173,
759
+ 190,
760
+ 522,
761
+ 205
762
+ ],
763
+ "page_idx": 7
764
+ },
765
+ {
766
+ "type": "text",
767
+ "text": "We also evaluate our models on real-world behavior data, using the Haggling dataset of triadic interactions [32]. Participants are engaged in an unscripted game where two sellers compete to sell a fictional product to a buyer who has to choose between the two. We use the same split of 79 training sets (groups) and 28 test sets used by Joo et al. [32]. In our experiments we consider the following social cues: head pose described by the 3D location of the nose keypoint and a face normal; body pose described by the location of the mid-point of the shoulders and a body normal; and binary speaking status. Apart from being the most commonly considered cues in computational analyses of such conversations [68–70], pose and turn taking are found to be crucial in the sustaining of conversation [1, 12, 18]. We specify the dataset preprocessing details in Appendix D.2. ",
768
+ "bbox": [
769
+ 173,
770
+ 217,
771
+ 825,
772
+ 342
773
+ ],
774
+ "page_idx": 7
775
+ },
776
+ {
777
+ "type": "text",
778
+ "text": "6.4 Evaluation ",
779
+ "text_level": 1,
780
+ "bbox": [
781
+ 174,
782
+ 357,
783
+ 289,
784
+ 371
785
+ ],
786
+ "page_idx": 7
787
+ },
788
+ {
789
+ "type": "text",
790
+ "text": "Context Regimes. We evaluate all models on two context regimes: random, and fixed-initial. The random regime follows the standard NP setting that the models are trained in. Context samples (sequence-pairs) are selected as a random subset of target samples, so the model is exposed to behaviors from any phase of the interaction lifecycle. Here we ensure that batches contain unique $t _ { \\mathrm { o b s } }$ to prevent any single observed sequence from dominating the aggregation of representations over the context split. At evaluation, we take $5 0 \\%$ of the batch as context. In the fixed-initial context regime, we investigate how the model can generalize knowledge of group specific characteristics from observing the initial dynamics of an interaction where certain gestures and patterns are more distinctive [1, Chap. 6]. This matches what a social agent might face in a real-world scenario. Here we treat the first $2 0 \\%$ of the entire interaction as context, treating sequences from the rest as target. ",
791
+ "bbox": [
792
+ 173,
793
+ 382,
794
+ 825,
795
+ 521
796
+ ],
797
+ "page_idx": 7
798
+ },
799
+ {
800
+ "type": "text",
801
+ "text": "304 Evaluation Metrics. We report the negative log-likelihood (NLL) $- \\log p ( \\boldsymbol { Y } | \\boldsymbol { X } , \\boldsymbol { C } )$ in Table 1 \n305 (computed by summing over feature dimensions and people, and averaging over timesteps). Beyond \n306 the NLL, we also report the error in the predicted means over test sequences in Table 2: mean-squared \n307 error (MSE) for the head and body keypoint locations; mean absolute error (MAE) in orientation \n308 in degrees; and speaking status accuracy. Note that while the ground truth orientation normals are \n309 constrained in the horizontal plane, we don’t constrain our predicted quaternions. We therefore report \n310 the absolute error in rotation in 3D. The reported mean and std. deviation of all metrics are over \n311 sequences in the test sets. We further report the metrics for every timestep over $\\mathbf { \\Delta } \\mathbf { \\mathbf { \\mathit { t } } _ { \\mathrm { f u t } } }$ in Appendix A.2, \n312 and qualitative visualizations of the forecasts in Appendix B. ",
802
+ "bbox": [
803
+ 147,
804
+ 535,
805
+ 825,
806
+ 660
807
+ ],
808
+ "page_idx": 7
809
+ },
810
+ {
811
+ "type": "text",
812
+ "text": "6.5 Ablations ",
813
+ "text_level": 1,
814
+ "bbox": [
815
+ 169,
816
+ 676,
817
+ 279,
818
+ 690
819
+ ],
820
+ "page_idx": 7
821
+ },
822
+ {
823
+ "type": "text",
824
+ "text": "Encoding Partner Behavior. Modeling the interaction from the perspective of each individual is a central idea in our apindividual representations $\\bar { r } _ { \\mathrm { i n d } } ^ { i }$ ch. We investigate the influence of encoding partner behavior intoon the performance. We train the SP-latent+det GRU variant in two configurations: no-pool, where we do not encode any partner behavior; and pool-oT where we pool over partner representations only at the last timestep (similar to [44]). We choose the SP-GRU model since it achieves the best trade-off between minimizing NLL and forecasting cues consistent with human behavior. Both configurations lead to worse NLL and location errors (Appendix A.3). ",
825
+ "bbox": [
826
+ 173,
827
+ 702,
828
+ 823,
829
+ 799
830
+ ],
831
+ "page_idx": 7
832
+ },
833
+ {
834
+ "type": "text",
835
+ "text": "Deterministic Decoding and Social Encoder Sharing. Error gradients can flow back into our sequence encoders through two paths: from the final stochastic sequence decoder, as well as the deterministic decoders on the latent and deterministic paths. We investigate the effect of the deterministic decoders by training the SP-latent+det GRU model without them. We also investigate sharing a single social encoder between the Process Encoder and Process Decoder in Figure 2. We find that removing the decoders only improves log-likelihood if the encoders are shared, and at the cost of head orientation errors (Appendix A.3). ",
836
+ "bbox": [
837
+ 171,
838
+ 814,
839
+ 825,
840
+ 911
841
+ ],
842
+ "page_idx": 7
843
+ },
844
+ {
845
+ "type": "table",
846
+ "img_path": "images/4751f6ed151e375140d276bb813210a0d5794709136e6578725bfe5e8d6495c7.jpg",
847
+ "table_caption": [
848
+ "Table 2: Mean (Std.) Errors in Predicted Means over Sequences in the Haggling Test Sets. Lower is better for all metrics except for speaking status accuracy. ⇤ indicates best measure within family, boldface best overall. "
849
+ ],
850
+ "table_footnote": [],
851
+ "table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"5\">Random Context</td><td colspan=\"5\">Fixed-Initial Context</td></tr><tr><td>Head Loc. MSE (cm)</td><td>Body Loc. MSE (cm)</td><td>Head Ori. MAE()</td><td>Body Ori. MAE()</td><td>Speaking Accuracy</td><td>Head Loc. MSE (cm)</td><td>Body Loc. MSE (cm)</td><td>Head Ori. MAE(°)</td><td>Body Ori. MAE(°)</td><td>Speaking Accuracy</td></tr><tr><td>Baselines</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>NP-latent</td><td>14.21 (6.5)</td><td>15.06 (6.1)</td><td>16.29 (13.8)</td><td>12.82 (13.7)</td><td>0.787 (0.23)</td><td>13.85 (6.1)</td><td>14.71 (5.7)</td><td>16.22 (14.1)</td><td>12.69* (13.9)</td><td>0.774* (0.24)</td></tr><tr><td>NP-latent+det</td><td>15.01 (7.3)</td><td>15.97 (7.2)</td><td>17.45 (18.3)</td><td>14.65 (20.0)</td><td>0.715 (0.24)</td><td>15.01 (7.5)</td><td>15.95 (7.5)</td><td>17.26 (15.9)</td><td>14.68 (18.7)</td><td>0.701 (0.24)</td></tr><tr><td>ANP-dot</td><td>11.86* (5.4)</td><td>12.22* (5.5)</td><td>15.44* (13.3)</td><td>12.56* (18.0)</td><td>0.806* (0.23)</td><td>12.83* (5.9)</td><td>13.26* (6.0)</td><td>16.19* (13.7)</td><td>13.56 (17.8)</td><td>0.717 (0.23)</td></tr><tr><td>ANP-multihead</td><td>16.36 (7.4)</td><td>17.17 (7.2)</td><td>19.41 (20.4)</td><td>16.02 (22.1)</td><td>0.692 (0.21)</td><td>16.68 (7.9)</td><td>17.43 (7.7)</td><td>19.78 (21.2)</td><td>15.57 (20.3)</td><td>0.682 (0.21)</td></tr><tr><td>Ours (MLP)</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>SP-latent</td><td>25.58 (10.1)</td><td>26.57* (9.0)</td><td>91.07 (23.9)</td><td>97.09 (22.5)</td><td>0.638 (0.08)</td><td>25.27 (10.0)</td><td>26.33* (8.9)</td><td>91.14 (23.8)</td><td>97.09 (22.5)</td><td>0.640 (0.09)</td></tr><tr><td>SP-latent+det</td><td>31.99 (8.2)</td><td>36.33 (7.3)</td><td>91.08 (23.9)</td><td>91.36 (23.9)</td><td>0.629 (0.18)</td><td>32.93 (9.4)</td><td>37.16 (8.5)</td><td>91.15 (23.9)</td><td>91.36 (23.9)</td><td>0.633 (0.18)</td></tr><tr><td>ASP-dot</td><td>27.16 (7.7)</td><td>31.19 (7.1)</td><td>90.88 (23.9)</td><td>91.43 (23.8)</td><td>0.704 (0.19)</td><td>27.94 (7.8)</td><td>31.83 (7.1)</td><td>90.93 (23.9)</td><td>91.43 (23.8)</td><td>0.628 (0.20)</td></tr><tr><td>ASP-multihead</td><td>23.88* (7.8)</td><td>27.13 (7.7)</td><td>90.50* (23.9)</td><td>91.04* (24.1)</td><td>0.792* (0.24)</td><td>24.07* (8.1)</td><td>27.35 (8.3)</td><td>90.53* (23.9)</td><td>91.07* (24.1)</td><td>0.770* (0.25)</td></tr><tr><td>Ours (GRU)</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>SP-latent</td><td>17.18 (6.5)</td><td>17.41 (6.2)</td><td>17.76* (15.8)</td><td>14.78* (20.7)</td><td>0.713 (0.23)</td><td>16.66 (6.2)</td><td>17.17 (6.0)</td><td>17.67* (16.0)</td><td>14.64* (20.3)</td><td>0.705 (0.23)</td></tr><tr><td>SP-latent+det</td><td>15.84 (5.5)</td><td>17.76 (7.5)</td><td>20.65 (19.9)</td><td>21.73 (29.5)</td><td>0.671 (0.22)</td><td>16.53* (6.0)</td><td>18.20 (8.0)</td><td>20.74 (19.5)</td><td>21.31 (28.9)</td><td>0.674 (0.22)</td></tr><tr><td>ASP-dot</td><td>22.49 (8.7)</td><td>22.64 (11.1)</td><td>17.99 (12.8)</td><td>15.58 (19.6)</td><td>0.722 (0.25)</td><td>23.66 (8.7)</td><td>24.50 (11.7)</td><td>19.22 (14.8)</td><td>16.82 (19.4)</td><td>0.620 (0.27)</td></tr><tr><td>ASP-multihead</td><td>15.18* (6.7)</td><td>15.01* (6.0)</td><td>24.26 (21.3)</td><td>35.06 (38.5)</td><td>0.778* (0.23)</td><td>16.84 (6.9)</td><td>16.80* (6.3)</td><td>25.37 (21.3)</td><td>35.44 (38.0)</td><td>0.725*(0.23)</td></tr></table>",
852
+ "bbox": [
853
+ 171,
854
+ 122,
855
+ 825,
856
+ 297
857
+ ],
858
+ "page_idx": 8
859
+ },
860
+ {
861
+ "type": "text",
862
+ "text": "328 7 Discussion and Conclusion ",
863
+ "text_level": 1,
864
+ "bbox": [
865
+ 143,
866
+ 313,
867
+ 428,
868
+ 329
869
+ ],
870
+ "page_idx": 8
871
+ },
872
+ {
873
+ "type": "text",
874
+ "text": "What qualifies as the best performing model for SCF? Our SP-GRU learns the best fit for synthesized behavior. On the commonly used metric of NLL [19, 58, 62], our SP-MLP models perform the best for real-world data. However, they fare the worst at estimating the mean. On the other hand, the SP-GRU models estimate a better likelihood than the NP baselines with comparable errors in mean forecast. While the NP baselines attain the lowest errors in predicted means, they also achieve the worst NLL. From the qualitative visualizations and ablations, it seems that the models minimize NLL at the cost of orientation errors; in the case of SP-MLP seemingly by predicting the majority orientation of the two sellers who face the same direction. Also, the NP models forecast largely static futures. In contrast, while being more dynamic, the SP-GRU forecasts also contain some smoothing. ",
875
+ "bbox": [
876
+ 173,
877
+ 345,
878
+ 825,
879
+ 470
880
+ ],
881
+ "page_idx": 8
882
+ },
883
+ {
884
+ "type": "text",
885
+ "text": "338 Our synthesized glancing behavior is grounded in social literature, and matches the head pose features \n339 in the real-world data (horizontal orientation). Why do we see a large discrepancy in qualitative \n340 forecasts? One crucial distinction between the synthetic and real data is the subtlety and sparsity \n341 of motion. Our synthesized data makes the common implicit assumption that head pose is a proxy \n342 for gaze [31, 67, 68, 70–72]. In real-world data, attention shifts through changes in gaze are not \n343 always accompanied by similar head rotations [73, Fig. 5], and gaze is harder to record non-invasively \n344 in-the-wild with reasonable accuracy. The consequence of this approximation is exacerbated in the \n345 triadic Haggling setting where people are arranged roughly in a triangle and within each other’s \n346 field of vision, making head movements even more subtle. In natural settings, groups occupy varied \n347 formations such as side-by-side, or $L$ -arrangement [60, p. 213]. Here the more accentuated pose \n348 changes could aid in anticipating behavior. From this perspective, the combination of limited data and \n349 our simplifying assumption of a single group in a scene is a primary limitation of this work. The only \n350 publicly available dataset meeting our assumptions is the Haggling dataset, where all interactions \n351 follow similar patterns. As targeted development of techniques for recording such datasets in-the \n352 wild gain momentum [74], evaluating these models in the different interaction settings would yield \n353 increased insight. Nevertheless, our aim in evaluating on synthesized as well as real-world data \n354 was to highlight the influence that such common implicit assumptions can have on performance \n355 when applying methods. As an aside, we believe that this subtlety and sparsity of motion is also an \n356 important distinction between forecasting in focused and unfocused interactions. While the same \n357 techniques can be applied in both scenarios, pedestrian location is a perpetually changing data stream. \n358 The broader goal of this paper is to take a step towards bridging a gap we perceive between research \n359 domains; on one hand, we notice that there is a growing trend of applying deep learning techniques \n360 in the small data regime that is social behavior data [30, 75]. Without citing specific works as \n361 negative exemplars, this is occasionally accompanied by surface treatment of social science literature. \n362 On the other hand, in our conversations we have also perceived a preemptive resistance to deep \n363 learning methods precisely due to limited data. We believe that our work here—specifically our \n364 conceptualization of conversations groups as meta-learning tasks grounded in extensive considerations \n365 from social literature; our approach of learning extractable task-agnostic representations of predictive \n366 behavior; and the distinction between real-world and synthesized dynamics commonly used for \n367 evaluation—is of value in stimulating a broader community discussion about the considerations when \n368 applying machine learning approaches within the domain of free-standing social conversations. ",
886
+ "bbox": [
887
+ 142,
888
+ 477,
889
+ 825,
890
+ 752
891
+ ],
892
+ "page_idx": 8
893
+ },
894
+ {
895
+ "type": "text",
896
+ "text": "",
897
+ "bbox": [
898
+ 147,
899
+ 760,
900
+ 825,
901
+ 911
902
+ ],
903
+ "page_idx": 8
904
+ },
905
+ {
906
+ "type": "text",
907
+ "text": "References \n[1] Adam Kendon. Conducting Interaction: Patterns of Behavior in Focused Encounters. Number 7 in Studies in Interactional Sociolinguistics. Cambridge University Press, Cambridge ; New York, 1990. ISBN 978-0-521-38036-2 978-0-521-38938-9. 1, 2, 3, 7, 8 \n[2] Alessandro Vinciarelli, Maja Pantic, and Hervé Bourlard. Social signal processing: Survey of an emerging domain. \n[3] Dan Bohus and Eric Horvitz. Models for multiparty engagement in open-world dialog. In Proceedings of the SIGDIAL 2009 Conference on The 10th Annual Meeting of the Special Interest Group on Discourse and Dialogue - SIGDIAL ’09, pages 225–234, London, United Kingdom, 2009. Association for Computational Linguistics. ISBN 978-1-932432-64-0. doi: 10.3115/1708376.1708409. 1 [4] Ryo Ishii, Shiro Kumano, and Kazuhiro Otsuka. Prediction of Next-Utterance Timing using Head Movement in Multi-Party Meetings. In Proceedings of the 5th International Conference on Human Agent Interaction, HAI ’17, pages 181–187, New York, NY, USA, October 2017. Association for Computing Machinery. ISBN 978-1-4503-5113-3. doi: 10.1145/3125739.3125765. 1 [5] Anne Keitel and Moritz M Daum. The use of intonation for turn anticipation in observed conversations without visual signals as source of information. Frontiers in psychology, 6:108, 2015. 1, 3 \n[6] Simon Garrod and Martin J Pickering. The use of content and timing to predict turn transitions. Frontiers in psychology, 6:751, 2015. \n[7] Amélie Rochet-Capellan and Susanne Fuchs. Take a breath and take the turn: how breathing meets turns in spontaneous dialogue. Philosophical Transactions of the Royal Society B: Biological Sciences, 369(1658): 20130399, 2014. [8] M. Wlodarczak and M. Heldner. Respiratory turn-taking cues. In INTERSPEECH, 2016. 1, 3 \n[9] Dan Bohus and Eric Horvitz. Managing Human-Robot Engagement with Forecasts and. . . um. . . Hesitations. page 8. 1, 3 \n[10] Cynthia C. S. Liem, Markus Langer, Andrew Demetriou, Annemarie M. F. Hiemstra, Achmadnoer Sukma Wicaksana, Marise Ph. Born, and Cornelius J. König. Psychology Meets Machine Learning: Interdisciplinary Perspectives on Algorithmic Job Candidate Screening. In Hugo Jair Escalante, Sergio Escalera, Isabelle Guyon, Xavier Baró, Yagmur Güçlütürk, Umut Güçlü, and Marcel van Gerven, editors, ˘ Explainable and Interpretable Models in Computer Vision and Machine Learning, pages 197–253. Springer International Publishing, Cham, 2018. ISBN 978-3-319-98130-7 978-3-319-98131-4. doi: 10.1007/ 978-3-319-98131-4_9. 1 \n[11] Erlend Nilsen, Diana Bowler, and John Linnell. Exploratory and confirmatory research in the open science era. Journal of Applied Ecology, 57, February 2020. doi: 10.1111/1365-2664.13571. 1 \n[12] Starkey Duncan. Some signals and rules for taking speaking turns in conversations. Journal of Personality and Social Psychology, 23(2):283–292, 1972. ISSN 1939-1315(Electronic),0022-3514(Print). doi: 10. 1037/h0033031. 1, 3, 8 \n[13] Akko Kalma. Gazing in triads: A powerful signal in floor apportionment. British Journal of Social Psychology, 31(1):21–39, March 1992. 1, 3 \n[14] Sanjay Bilakhia, Stavros Petridis, and Maja Pantic. Audiovisual Detection of Behavioural Mimicry. In 2013 Humaine Association Conference on Affective Computing and Intelligent Interaction, pages 123–128, Geneva, Switzerland, September 2013. IEEE. ISBN 978-0-7695-5048-0. doi: 10.1109/ACII.2013.27. 1, 4 \n[15] Felix van Doorn. Rituals of Leaving: Predictive Modelling of Leaving Behaviour in Conversation. Master of Science Thesis, Delft University of Technology, 2018. 1, 2, 3 \n[16] Laura Cabrera-Quiros, Andrew Demetriou, Ekin Gedik, Leander van der Meij, and Hayley Hung. The matchnmingle dataset: a novel multi-sensor resource for the analysis of social interactions and group dynamics in-the-wild during free-standing conversations and speed dates. IEEE Transactions on Affective Computing, 2018. 2 \n[17] Nalini Ambady, Frank J Bernieri, and Jennifer A Richeson. Toward a histology of social behavior: Judgmental accuracy from thin slices of the behavioral stream. In Advances in experimental social psychology, volume 32, pages 201–271. Elsevier, 2000. 2, 3 \n[18] Alessandro Vinciarelli, H Salamin, and M Pantic. Social Signal Processing: Understanding social interactions through nonverbal behavior analysis (PDF). 2009 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2009, June 2009. doi: 10.1109/CVPRW.2009.5204290. 2, 3, 8 \n[19] Marta Garnelo, Jonathan Schwarz, Dan Rosenbaum, Fabio Viola, Danilo J. Rezende, S. M. Ali Eslami, and Yee Whye Teh. Neural Processes. arXiv:1807.01622 [cs, stat], 2018. 2, 9 \n[20] Mattias Heldner and Jens Edlund. Pauses, gaps and overlaps in conversations. Journal of Phonetics, 38(4): 555–568, October 2010. ISSN 0095-4470. doi: 10.1016/j.wocn.2010.08.002. 3, 17 ",
908
+ "bbox": [
909
+ 145,
910
+ 82,
911
+ 828,
912
+ 917
913
+ ],
914
+ "page_idx": 9
915
+ },
916
+ {
917
+ "type": "text",
918
+ "text": "426 [21] Monica M. Moore. Nonverbal courtship patterns in women: Context and consequences. Ethology and \n427 Sociobiology, 6(4):237–247, January 1985. ISSN 0162-3095. doi: 10.1016/0162-3095(85)90016-0. 3, 7 \n428 [22] Stephen C. Levinson and Francisco Torreira. Timing in turn-taking and its implications for processing \n429 models of language. Frontiers in Psychology, 6, June 2015. ISSN 1664-1078. doi: 10.3389/fpsyg.2015. \n430 00731. 3 \n431 [23] Erving Goffman. Behavior in Public Places: Notes on the Social Organization of Gatherings. The Free \n432 Press, 1. paperback ed., 24. printing edition. ISBN 978-0-02-911940-2. 3 \n433 [24] Nina-Jo Moore, Hickson Mark III, and W Don. Stacks. Nonverbal communication: Studies and applications. \n434 2013. 3, 7 \n435 [25] Harvey Sacks, Emanuel A. Schegloff, and Gail Jefferson. A Simplest Systematics for the Organization of \n436 Turn-Taking for Conversation. 50(4):40, 1974. 3 \n437 [26] Charles Goodwin. Conversational Organization: Interaction Between Speakers and Hearers. January \n438 1981. \n439 [27] Carole Edelsky. Who’s Got the Floor? Language in Society, 10(3):383–421, 1981. ISSN 0047-4045. 3 \n440 [28] Allan Wang and Aaron Steinfeld. Group Split and Merge Prediction With 3D Convolutional Networks. \n441 IEEE Robotics and Automation Letters, 5(2):1923–1930, April 2020. ISSN 2377-3766. doi: 10.1109/LRA. \n442 2020.2969947. 3 \n443 [29] Massimo Mastrangeli, Martin Schmidt, and Lucas Lacasa. The roundtable: An abstract model of conversa \n444 tion dynamics. arXiv:1010.2943 [physics], October 2010. 3 \n445 [30] Louis Airale, Dominique Vaufreydaz, and Xavier Alameda-Pineda. SocialInteractionGAN: Multi-person \n446 Interaction Sequence Generation. arXiv:2103.05916 [cs, stat], March 2021. 3, 9 \n447 [31] Navyata Sanghvi, Ryo Yonetani, and Kris Kitani. Mgpi: A computational model of multiagent group \n448 perception and interaction. arXiv preprint arXiv:1903.01537, 2019. 3, 7, 9 \n449 [32] Hanbyul Joo, Tomas Simon, Mina Cikara, and Yaser Sheikh. Towards Social Artificial Intelligence: \n450 Nonverbal Social Signal Prediction in a Triadic Interaction. In 2019 IEEE/CVF Conference on Computer \n451 Vision and Pattern Recognition (CVPR), pages 10865–10875, Long Beach, CA, USA, June 2019. IEEE. \n452 ISBN 978-1-72813-293-8. doi: 10.1109/CVPR.2019.01113. 3, 4, 8 \n453 [33] Emilie Delaherche, Mohamed Chetouani, Ammar Mahdhaoui, Catherine Saint-Georges, Sylvie Viaux, \n454 and David Cohen. Interpersonal Synchrony: A Survey of Evaluation Methods across Disciplines. IEEE \n455 Transactions on Affective Computing, 3(3):349–365, July 2012. ISSN 1949-3045. doi: 10.1109/T-AFFC. \n456 2012.12. 4 \n457 [34] Dirk Helbing and Peter Molnar. Social Force Model for Pedestrian Dynamics. Physical Review E, 51(5): \n458 4282–4286, May 1995. ISSN 1063-651X, 1095-3787. doi: 10.1103/PhysRevE.51.4282. 4 \n459 [35] Jarosław W ˛as, Bartłomiej Gudowski, and Paweł J. Matuszyk. Social Distances Model of Pedestrian \n460 Dynamics. In David Hutchison, Takeo Kanade, Josef Kittler, Jon M. Kleinberg, Friedemann Mattern, \n461 John C. Mitchell, Moni Naor, Oscar Nierstrasz, C. Pandu Rangan, Bernhard Steffen, Madhu Sudan, Demetri \n462 Terzopoulos, Dough Tygar, Moshe Y. Vardi, Gerhard Weikum, Samira El Yacoubi, Bastien Chopard, and \n463 Stefania Bandini, editors, Cellular Automata, volume 4173, pages 492–501. Springer Berlin Heidelberg, \n464 Berlin, Heidelberg, 2006. ISBN 978-3-540-40929-8 978-3-540-40932-8. doi: 10.1007/11861201_57. \n465 [36] Gianluca Antonini, Michel Bierlaire, and Mats Weber. Discrete Choice Models for Pedestrian Walking \n466 Behavior. Transportation Research Part B: Methodological, 40:667–687, September 2006. doi: 10.1016/j. \n467 trb.2005.09.006. \n468 [37] Adrien Treuille, Seth Cooper, and Zoran Popovic. Continuum crowds. ´ ACM Transactions on Graphics / \n469 SIGGRAPH 2006, 25(3):1160–1168, July 2006. \n470 [38] Alexandre Robicquet, Amir Sadeghian, Alexandre Alahi, and Silvio Savarese. Learning Social Etiquette: \n471 Human Trajectory Understanding In Crowded Scenes. In Bastian Leibe, Jiri Matas, Nicu Sebe, and Max \n472 Welling, editors, Computer Vision – ECCV 2016, volume 9912, pages 549–565. Springer International \n473 Publishing, Cham, 2016. ISBN 978-3-319-46483-1 978-3-319-46484-8. doi: 10.1007/978-3-319-46484-8_ \n474 33. 4 \n475 [39] J. M. Wang, D. J. Fleet, and A. Hertzmann. Gaussian Process Dynamical Models for Human Motion. \n476 IEEE Transactions on Pattern Analysis and Machine Intelligence, 30(2):283–298, February 2008. ISSN \n477 1939-3539. doi: 10.1109/TPAMI.2007.1167. \n478 [40] Christopher Tay and Christian Laugier. Modelling Smooth Paths Using Gaussian Processes. In Proc. of \n479 the Int. Conf. on Field and Service Robotics, 2007. \n480 [41] Andrew Patterson, Arun Lakshmanan, and Naira Hovakimyan. Intent-Aware Probabilistic Trajectory \n481 Estimation for Collision Prediction with Uncertainty Quantification. arXiv:1904.02765 [cs, math], April \n482 2019. 4 ",
919
+ "bbox": [
920
+ 142,
921
+ 60,
922
+ 828,
923
+ 912
924
+ ],
925
+ "page_idx": 10
926
+ },
927
+ {
928
+ "type": "text",
929
+ "text": "[42] Alexandre Alahi, Kratarth Goel, Vignesh Ramanathan, Alexandre Robicquet, Li Fei-Fei, and Silvio Savarese. Social LSTM: Human Trajectory Prediction in Crowded Spaces. In 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 961–971, Las Vegas, NV, USA, June 2016. IEEE. ISBN 978-1-4673-8851-1. doi: 10.1109/CVPR.2016.110. 4 \n[43] Pu Zhang, Wanli Ouyang, Pengfei Zhang, Jianru Xue, and Nanning Zheng. SR-LSTM: State Refinement for LSTM towards Pedestrian Trajectory Prediction. arXiv:1903.02793 [cs], March 2019. \n[44] Agrim Gupta, Justin Johnson, Li Fei-Fei, Silvio Savarese, and Alexandre Alahi. Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks. arXiv:1803.10892 [cs], March 2018. 8 \n[45] Yingfan Huang, Huikun Bi, Zhaoxin Li, Tianlu Mao, and Zhaoqi Wang. STGAT: Modeling SpatialTemporal Interactions for Human Trajectory Prediction. In 2019 IEEE/CVF International Conference on Computer Vision (ICCV), pages 6271–6280, Seoul, Korea (South), October 2019. IEEE. ISBN 978-1-72814-803-8. doi: 10.1109/ICCV.2019.00637. \n[46] Abduallah Mohamed, Kun Qian, Mohamed Elhoseiny, and Christian Claudel. Social-STGCNN: A Social Spatio-Temporal Graph Convolutional Neural Network for Human Trajectory Prediction. arXiv:2002.11927 [cs], February 2020. 4 \n[47] MarcAurelio Ranzato, Arthur Szlam, Joan Bruna, Michael Mathieu, Ronan Collobert, and Sumit Chopra. Video (language) modeling: A baseline for generative models of natural videos. arXiv:1412.6604 [cs], December 2014. 4 \n[48] Jacob Walker, Kenneth Marino, Abhinav Gupta, and Martial Hebert. The Pose Knows: Video Forecasting by Generating Pose Futures. arXiv:1705.00053 [cs], April 2017. \n[49] Jacob Walker, Abhinav Gupta, and Martial Hebert. Dense Optical Flow Prediction from a Static Image. In 2015 IEEE International Conference on Computer Vision (ICCV), pages 2443–2451, Santiago, Chile, December 2015. IEEE. ISBN 978-1-4673-8391-2. doi: 10.1109/ICCV.2015.281. \n[50] Alexey Dosovitskiy, Philipp Fischer, Eddy Ilg, Philip Hausser, Caner Hazirbas, Vladimir Golkov, Patrick van der Smagt, Daniel Cremers, and Thomas Brox. FlowNet: Learning Optical Flow with Convolutional Networks. In 2015 IEEE International Conference on Computer Vision (ICCV), pages 2758–2766, Santiago, December 2015. IEEE. ISBN 978-1-4673-8391-2. doi: 10.1109/ICCV.2015.316. \n[51] Jacob Walker, Abhinav Gupta, and Martial Hebert. Patch to the Future: Unsupervised Visual Prediction. In 2014 IEEE Conference on Computer Vision and Pattern Recognition, pages 3302–3309, Columbus, OH, USA, June 2014. IEEE. ISBN 978-1-4799-5118-5. doi: 10.1109/CVPR.2014.416. \n[52] Carl Vondrick, Hamed Pirsiavash, and Antonio Torralba. Anticipating Visual Representations from Unlabeled Video. In 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 98–106, Las Vegas, NV, USA, June 2016. IEEE. ISBN 978-1-4673-8851-1. doi: 10.1109/CVPR.2016.18. 4 \n[53] Nitish Srivastava, Elman Mansimov, and Ruslan Salakhutdinov. Unsupervised Learning of Video Representations using LSTMs. arXiv:1502.04681 [cs], February 2015. 4 \n[54] Alexey Dosovitskiy and Vladlen Koltun. Learning to Act by Predicting the Future. arXiv:1611.01779 [cs], November 2016. 4 \n[55] Timothy Hospedales, Antreas Antoniou, Paul Micaelli, and Amos Storkey. Meta-Learning in Neural Networks: A Survey. arXiv:2004.05439 [cs, stat], November 2020. 4 \n[56] Ilya Sutskever, Oriol Vinyals, and Quoc V Le. Sequence to Sequence Learning with Neural Networks. In Z. Ghahramani, M. Welling, C. Cortes, N. D. Lawrence, and K. Q. Weinberger, editors, Advances in Neural Information Processing Systems 27, pages 3104–3112. Curran Associates, Inc., 2014. 5 \n[57] Kyunghyun Cho, Bart van Merrienboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation. arXiv:1406.1078 [cs, stat], September 2014. 5 \n[58] Hyunjik Kim, Andriy Mnih, Jonathan Schwarz, Marta Garnelo, Ali Eslami, Dan Rosenbaum, Oriol Vinyals, and Yee Whye Teh. Attentive Neural Processes. arXiv:1901.05761 [cs, stat], July 2019. 5, 7, 9 \n[59] Charles R. Qi, Hao Su, Kaichun Mo, and Leonidas J. Guibas. PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation. arXiv:1612.00593 [cs], April 2017. 6 \n[60] Alex Kendall and Roberto Cipolla. Geometric Loss Functions for Camera Pose Regression with Deep Learning. arXiv:1704.00390 [cs], May 2017. 6, 9 \n[61] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention Is All You Need. arXiv:1706.03762 [cs], June 2017. 6 \n[62] Gautam Singh, Jaesik Yoon, Youngsung Son, and Sungjin Ahn. Sequential Neural Processes. URL http://arxiv.org/abs/1906.10264. 7, 9 ",
930
+ "bbox": [
931
+ 156,
932
+ 63,
933
+ 828,
934
+ 917
935
+ ],
936
+ "page_idx": 11
937
+ },
938
+ {
939
+ "type": "text",
940
+ "text": "539 [63] Jaesik Yoon, Gautam Singh, and Sungjin Ahn. Robustifying Sequential Neural Processes. In International \n540 Conference on Machine Learning, pages 10861–10870. PMLR, November 2020. \n541 [64] Timon Willi, Jonathan Masci, Jürgen Schmidhuber, and Christian Osendorfer. Recurrent Neural Processes. \n542 arXiv:1906.05915 [cs, stat], November 2019. \n543 [65] Sumit Kumar. Spatiotemporal Modeling using Recurrent Neural Processes. Master of Science Thesis, \n544 Carnegie Mellon University, page 43. 7 \n545 [66] Shenghao Qin, Jiacheng Zhu, Jimmy Qin, Wenshuo Wang, and Ding Zhao. Recurrent Attentive Neural \n546 Process for Sequential Data. arXiv:1910.09323 [cs, stat], October 2019. 7 \n547 [67] Marynel Vazquez, Aaron Steinfeld, and Scott E. Hudson. Maintaining awareness of the focus of attention \n548 of a conversation: A robot-centric reinforcement learning approach. In 2016 25th IEEE International \n549 Symposium on Robot and Human Interactive Communication (RO-MAN), pages 36–43, New York, NY, \n550 USA, August 2016. IEEE. ISBN 978-1-5090-3929-6. doi: 10.1109/ROMAN.2016.7745088. 7, 9 \n551 [68] Xavier Alameda-Pineda, Yan Yan, Elisa Ricci, Oswald Lanz, and Nicu Sebe. Analyzing Free-standing \n552 Conversational Groups: A Multimodal Approach. pages 5–14. ACM Press, 2015. ISBN 978-1-4503-3459-4. \n553 doi: 10.1145/2733373.2806238. 8, 9 \n554 [69] Lu Zhang and Hayley Hung. On Social Involvement in Mingling Scenarios: Detecting Associates of \n555 F-formations in Still Images. IEEE Transactions on Affective Computing, 2018. \n556 [70] Stephanie Tan, David M. J. Tax, and Hayley Hung. Multimodal Joint Head Orientation Estimation in \n557 Interacting Groups via Proxemics and Interaction Dynamics. Proceedings of the ACM on Interactive, \n558 Mobile, Wearable and Ubiquitous Technologies, 5(1):1–22, March 2021. ISSN 2474-9567. doi: 10.1145/ \n559 3448122. 8, 9 \n560 [71] Rutger Rienks, Ronald Poppe, and Mannes Poel. Speaker Prediction based on Head Orientations. page 7. \n561 [72] M. Farenzena, A. Tavano, L. Bazzani, D. Tosato, G. Paggetti, G. Menegaz, V. Murino, and M. Cristani. \n562 Social interactions by visual focus of attention in a three-dimensional environment. Expert Systems, 30(2): \n563 115–127, May 2013. ISSN 02664720. doi: 10.1111/j.1468-0394.2012.00622.x. 9 \n564 [73] S.O. Ba and J.-M. Odobez. Recognizing Visual Focus of Attention From Head Pose in Natural Meetings. \n565 IEEE Transactions on Systems, Man, and Cybernetics, Part B (Cybernetics), 39(1):16–33, February 2009. \n566 ISSN 1083-4419. doi: 10.1109/TSMCB.2008.927274. 9 \n567 [74] Chirag Raman, Stephanie Tan, and Hayley Hung. A modular approach for synchronized wireless multi \n568 modal multisensor data acquisition in highly dynamic social settings. arXiv preprint arXiv:2008.03715, \n569 2020. 9 \n570 [75] Mason Swofford, John Charles Peruzzi, Nathan Tsoi, Sydney Thompson, Roberto Martín-Martín, Silvio \n571 Savarese, and Marynel Vázquez. Improving Social Awareness Through DANTE: A Deep Affinity Network \n572 for Clustering Conversational Interactants. Proceedings of the ACM on Human-Computer Interaction, 4 \n573 (CSCW1):1–23, May 2020. ISSN 2573-0142. doi: 10.1145/3392824. 9 \n574 [76] Tuan Anh Le, Hyunjik Kim, and Marta Garnelo. Empirical Evaluation of Neural Process Objectives. \n575 page 9. 16 \n576 [77] Diederik P. Kingma and Jimmy Ba. Adam: A Method for Stochastic Optimization. arXiv:1412.6980 [cs], \n577 January 2017. 16 \n578 [78] Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor \n579 Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas Kopf, Edward Yang, \n580 Zachary DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie \n581 Bai, and Soumith Chintala. Pytorch: An imperative style, high-performance deep learning library. In \n582 H. Wallach, H. Larochelle, A. Beygelzimer, F. dAlché-Buc, E. Fox, and R. Garnett, editors, Advances in \n583 Neural Information Processing Systems 32, pages 8024–8035. Curran Associates, Inc., 2019. 16 \n584 [79] WA Falcon et al. Pytorch lightning. GitHub. Note: https://github.com/PyTorchLightning/pytorch-lightning, \n585 3, 2019. 16 \n586 [80] Chirag Raman and Hayley Hung. Towards automatic estimation of conversation floors within f-formations. \n587 In 2019 8th International Conference on Affective Computing and Intelligent Interaction Workshops and \n588 Demos (ACIIW), pages 175–181. IEEE, 2019. 17 ",
941
+ "bbox": [
942
+ 147,
943
+ 93,
944
+ 828,
945
+ 815
946
+ ],
947
+ "page_idx": 12
948
+ },
949
+ {
950
+ "type": "text",
951
+ "text": "1. For all authors... ",
952
+ "bbox": [
953
+ 214,
954
+ 116,
955
+ 339,
956
+ 130
957
+ ],
958
+ "page_idx": 13
959
+ },
960
+ {
961
+ "type": "text",
962
+ "text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] We mention the contributions of the task formulation and method in Section 1, along with our simplifying assumption for the setting, and circle back to discussing its implications in Section 7. \n(b) Did you describe the limitations of your work? [Yes] Please refer to the discussion in Section 7. \n(c) Did you discuss any potential negative societal impacts of your work? [N/A] \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
963
+ "bbox": [
964
+ 238,
965
+ 135,
966
+ 825,
967
+ 267
968
+ ],
969
+ "page_idx": 13
970
+ },
971
+ {
972
+ "type": "text",
973
+ "text": "2. If you are including theoretical results... ",
974
+ "bbox": [
975
+ 215,
976
+ 272,
977
+ 493,
978
+ 286
979
+ ],
980
+ "page_idx": 13
981
+ },
982
+ {
983
+ "type": "text",
984
+ "text": "(a) Did you state the full set of assumptions of all theoretical results? [N/A] (b) Did you include complete proofs of all theoretical results? [N/A] ",
985
+ "bbox": [
986
+ 236,
987
+ 290,
988
+ 736,
989
+ 321
990
+ ],
991
+ "page_idx": 13
992
+ },
993
+ {
994
+ "type": "text",
995
+ "text": "3. If you ran experiments... ",
996
+ "bbox": [
997
+ 212,
998
+ 325,
999
+ 393,
1000
+ 340
1001
+ ],
1002
+ "page_idx": 13
1003
+ },
1004
+ {
1005
+ "type": "text",
1006
+ "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] Code, processed data, splits, and test batches are provided for reproduction in the Supplementary material. \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] Please refer to Appendices C and D. \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] We have reported mean and std. for the metrics over individual sequences in the test sets. \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] Please refer to Appendix C.2. We specify the specific GPUs used for our experiments and their corresponding memory capacities. ",
1007
+ "bbox": [
1008
+ 238,
1009
+ 344,
1010
+ 825,
1011
+ 531
1012
+ ],
1013
+ "page_idx": 13
1014
+ },
1015
+ {
1016
+ "type": "text",
1017
+ "text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
1018
+ "bbox": [
1019
+ 210,
1020
+ 536,
1021
+ 823,
1022
+ 551
1023
+ ],
1024
+ "page_idx": 13
1025
+ },
1026
+ {
1027
+ "type": "text",
1028
+ "text": "(a) If your work uses existing assets, did you cite the creators? [Yes] We have cited and discussed the original work proposing the Haggling dataset. \n(b) Did you mention the license of the assets? [No] The Haggling dataset is freely available for non-commercial and research purpose only. \n(c) Did you include any new assets either in the supplemental material or as a URL? [No] \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [No] The Haggling dataset is freely available for non-commercial and research purpose only. \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [No] However, we visualized the features in Blender3D from scratch to not display original videos with the subjects. ",
1029
+ "bbox": [
1030
+ 238,
1031
+ 555,
1032
+ 825,
1033
+ 717
1034
+ ],
1035
+ "page_idx": 13
1036
+ },
1037
+ {
1038
+ "type": "text",
1039
+ "text": "5. If you used crowdsourcing or conducted research with human subjects... ",
1040
+ "bbox": [
1041
+ 214,
1042
+ 720,
1043
+ 705,
1044
+ 736
1045
+ ],
1046
+ "page_idx": 13
1047
+ },
1048
+ {
1049
+ "type": "text",
1050
+ "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] ",
1051
+ "bbox": [
1052
+ 238,
1053
+ 739,
1054
+ 825,
1055
+ 829
1056
+ ],
1057
+ "page_idx": 13
1058
+ }
1059
+ ]
parse/train/qcjOWDHAc4J/qcjOWDHAc4J_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/qcjOWDHAc4J/qcjOWDHAc4J_model.json ADDED
The diff for this file is too large to render. See raw diff