ZHANGYUXUAN-zR commited on
Commit
8a0baff
·
verified ·
1 Parent(s): 8286549

Add files using upload-large-folder tool

Browse files
parse/dev/Gb2Rndy5595/Gb2Rndy5595.md ADDED
@@ -0,0 +1,450 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # CONTEXT AUTOENCODER FOR SELF-SUPERVISEDREPRESENTATION LEARNING
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ We present a novel masked image modeling (MIM) approach, context autoencoder (CAE), for self-supervised representation pretraining. The goal is to pretrain an encoder by solving the pretext task: estimate the masked patches from the visible patches in an image. Our approach first feeds the visible patches into the encoder, extracting the representations. Then, we make predictions from visible patches to masked patches in the encoded representation space. We introduce an alignment constraint, encouraging that the representations for masked patches, predicted from the encoded representations of visible patches, are aligned with the masked patch presentations computed from the encoder. In other words, the predicted representations are expected to lie in the encoded representation space, which empirically shows the benefit to representation learning. Last, the predicted masked patch representations are mapped to the targets of the pretext task through a decoder.
8
+
9
+ One additional characteristic is that our approach encourages the separation of the representation learning part (encoder), and the pretext task completion part that will be replaced by the downstream task part. In contrast, previous MIM methods (e.g., BEiT and MAE) couple the two parts, potentially limiting the representation learning quality. We demonstrate the effectiveness of our CAE through superior transfer performance in downstream tasks: semantic segmentation, and object detection and instance segmentation.
10
+
11
+ # 1 INTRODUCTION
12
+
13
+ We study the masked image modeling task for self-supervised representation learning. Masked image modeling (MIM) is a pretext task of masking some patches of the input image and estimate the masked patches from the visible patches. It is expected that the resulting encoder pretrained through solving the MIM task is able to extract the patch representations taking on semantics that are transferred to solving downstream tasks.
14
+
15
+ BEiT (Bao et al., 2021) and the method studied in the ViT paper (Dosovitskiy et al., 2021), two MIM methods, learn a ViT to estimate the patch tokens and the pixels, respectively, and use the resulting ViT as the pretrained encoder. They take the visible patches and mask tokens representing the masked patches as input, and make estimations for both the visible and masked patches, where the estimations only for masked patches are evaluated during training. The two methods use the single ViT structure simultaneously for both representation learning and task completion. Thus, only the partial capacity of the ViT is explored for representation learning, limiting the representation quality. Masked autoencoder (MAE) (He et al., 2022) prepends an extra ViT structure that only receives visible patches as the so-called encoder followed by a lightweight decoder taking all the patches as input. Unfortunately, the decoder might play a partial role in representation learning, thus distracting the responsibility of representation learning.
16
+
17
+ We present a context autoencoder (CAE) approach, illustrated in Figure 1, for improving the encoding quality. We randomly partition the image into two sets of patches: visible patches and masked patches. The architecture contains an encoder, a latent contextual regressor with an alignment constraint, and a decoder, The encoder takes only the visible patches as input and learns the representations only for the visible patches. The latent contextual regressor predicts the masked patch representations according to the visible patch representations, where the predicted masked patch representations are constrained to align with the masked patch representations computed from the encoder. The decoder maps the predicted masked patch representations to the targets for masked patches.
18
+
19
+ ![](images/03141b0b6df68f2bee5709817790b89a14466832cb613c52b920c4796a9a1075.jpg)
20
+ Figure 1: The pipeline of context autoencoder. Our approach feeds visible patches into the encoder and extracts their representations $\mathbf { Z } _ { v }$ and then completes the pretext task by predicting the representations $\mathbf { Z } _ { m }$ of the masked patches from the visible patches in the encoded representation space with latent contextual regressor and alignment constraint, and mapping predicted representations $\mathbf { Z } _ { m }$ of masked patches to the targets. The pretrained encoder in (a) is applied to downstream tasks by simply replacing the pretext task part (b) with the downstream task part.
21
+
22
+ The prediction from the visible patches to the masked patches, i.e., generating a plausible semantic guess for the masked patches, is performed on the encoded representation space using latent contextual regressor. The predicted representations for the masked patches are constrained to match with the representations computed from the encoder, rendering that the predicted representations also lie in the encoded representation space. Making predictions in the encoded representation space encourages that the encoded representations take on a larger extent of semantics, empirically validated by the experiments.
23
+
24
+ In addition, the encoder in the top stream in Figure 1 operates on visible patches, only focusing on learning semantic representations. The CAE design also expects that the responsibility of representation learning is taken by the encoder through two things: The latent representations of visible patches are not updated in the other parts; and the alignment constraint expects that the predicted representations through latent contextual regressor also lie in the encoded representation space. In comparison to BEiT, MAE, and the approach in the ViT paper, our CAE encoder exploits the greater capability for learning the representation, thus improving the representation quality.
25
+
26
+ We present the empirical performance of our approach on downstream tasks, semantic segmentation, and object detection and instance segmentation. The results show that our approach outperforms supervised pretraining, contrastive pretraining, and other MIM methods.
27
+
28
+ # 2 RELATED WORK
29
+
30
+ Self-supervised representation learning has been widely studied in computer vision , including: context prediction (Doersch et al., 2015; Tian et al., 2021), clustering-based methods (Xie et al., 2016; Yang et al., 2016; Caron et al., 2018; Asano et al., 2019; Zhuang et al., 2019; Huang et al., 2019; Caron et al., 2019; Goyal et al., 2021), contrastive learning (Li et al., 2020; Oord et al., 2018; Henaff, 2020; Wang et al., 2022), instance discrimination (Dosovitskiy et al., 2014; 2015), image discretization (Gidaris et al., 2020a;b), masked image modeling (Li et al., 2021; Fang et al., 2022; Tian et al., 2022), and information maximization (Ermolov et al., 2021; Zbontar et al., 2021; Bardes et al., 2021). The following mainly reviews closely-related methods.
31
+
32
+ Autoencoding. Traditionally, autoencoders were used for dimensionality reduction or feature learning (LeCun, 1987; Gallinari et al., 1987; Hinton & Zemel, 1994; Hinton & Salakhutdinov, 2006; Ranzato et al., 2007; Vincent et al., 2008; Kingma & Welling, 2013). The denoising autoencoder (DAE) is an autoencoder that receives a corrupted data point as input and is trained to estimate the original, uncorrupted data point as its output. The variants or modifications of DAE were adopted for self-supervised representation learning, e.g., corruption by masking pixels (Vincent et al., 2010;
33
+
34
+ Pathak et al., 2016; Chen et al., 2020a), removing color channels (Zhang et al., 2016), shuffling image patches (Noroozi & Favaro, 2016), denoising pixel-level noise (Atito et al., 2021) and so on.
35
+
36
+ Contrastive learning. In computer vision, contrastive learning1 has been popular for self-supervised representation learning (Chen et al., 2020b; He et al., 2020; Tian et al., 2020; Chen et al., 2021; Grill et al., 2020; Caron et al., 2021; Chen & He, 2021; Caron et al., 2020; Wu et al., 2018; Peng et al., 2022). The basic idea is to maximize the similarity between the views augmented from the same image and optionally minimize the similarity between the views augmented from different images. Random cropping is an important augmentation scheme, and thus typical contrastive learning methods (e.g., MoCo v3) tend to learn knowledge mainly from the center regions of the original images. Some dense variants (Wang et al., 2021; Xie et al., 2021a) eliminate the tendency in a limited degree by considering an extra contrastive loss with dense patches.
37
+
38
+ Masked image modeling. Motivated by BERT for masked language modeling (Devlin et al., 2019), the method studied in (Dosovitskiy et al., 2021) and BEiT (Bao et al., 2021) use the ViT structure to solve the masked image modeling task, e.g., estimate the pixels or the discrete tokens. But they do not have explicitly an encoder or a decoder and the ViT structure is essentially a mixture of encoder and decoder, limiting the representation learning quality.
39
+
40
+ Several subsequent MIM methods are developed to improve the encoder quality, such as designing pretraining architectures: iBOT (Zhou et al., 2021), Masked Autoencoder (MAE) (He et al., 2022), SplitMask (El-Nouby et al., 2021), and Simple MIM (SimMIM) (Xie et al., 2021b); adopting new reconstruction targets: Masked Feature Prediction (MaskFeat) (Wei et al., 2021), Perceptual Codebook for BEiT (PeCo) (Dong et al., 2021), and data2vec (Baevski et al., 2022). Our approach belongs to the former one and propose a new pretraining architecture through separating the representation pretraining module and the MIM task completion module and making predictions in the encoded representation space. More about the concurrently-developed methods are provided in Appendix.
41
+
42
+ # 3 APPROACH
43
+
44
+ # 3.1 ARCHITECTURE
45
+
46
+ Our context autoencoder (CAE) pretrains the encoder by solving the masked image modeling task. We randomly split an image into two sets of patches: visible patches $\mathbf { X } _ { v }$ and masked patches $\mathbf { X } _ { m }$ . The pretext task is to predict the masked patches from visible patches. The key is to make predictions from visible patches to masked patches in the encoded representation space, and then map the predicted representations of masked patches to the targets. The architecture shown in Figure 1 contains: an encoder, a latent contextual regressor with the alignment constraint, and a decoder.
47
+
48
+ Encoder. The encoder $\mathcal { F }$ maps the visible patches $\mathbf { X } _ { v }$ to the latent representations $\mathbf { Z } _ { v }$ . It only handles the visible patches. We use the ViT to form our encoder. It first embeds the visible patches by linear projection as patch embeddings, and adds the positional embeddings ${ \bf P } _ { v }$ . Then it sends the combined embeddings into a sequence of transformer blocks that are based on self-attention, generating $\mathbf { Z } _ { v }$ .
49
+
50
+ Latent contextual regressor. The latent contextual regressor $\mathcal { H }$ predicts the latent representations $\mathbf { Z } _ { m }$ for the masked patches from the latent representations $\mathbf { Z } _ { v }$ of the visible patches output from the encoder. We form the latent contextual regressor $\mathcal { H }$ using a series of transformer blocks that are based on cross-attention.
51
+
52
+ The initial queries $\mathbf { Q } _ { m }$ , called mask queries, are mask tokens that are learned as model parameters and are the same for all the masked patches. The keys and the values are the same and consist of the visible patch representations $\mathbf { Z } _ { v }$ and the output of the previous cross-attention layer (mask queries for the first cross-attention layer). The corresponding positional embeddings are considered when computing the cross-attention weights between the queries and the keys. In this process, the latent representations $\mathbf { Z } _ { v }$ of the visible patches are not updated.
53
+
54
+ Alignment constraint. The latent representation alignment constraint is imposed on the latent representations $\mathbf { Z } _ { m }$ of the masked patches predicted by the latent contextual regressor. We feed the masked patches $\mathbf { X } _ { m }$ into the encoder, which is the same as the one for encoding visible patches, and generate the representations $\bar { \mathbf Z } _ { m }$ of the masked patches. We then align the two latent representations $\bar { \mathbf { Z } } _ { m }$ and $\bar { \mathbf Z } _ { m }$ for the masked patches.
55
+
56
+ Decoder. The decoder $\mathcal { G }$ maps the latent representations $\mathbf { Z } _ { m }$ of the masked patches to some forms of the masked patches, $\mathbf { Y } _ { m }$ , with the discrete tokens as the targets as done in BEiT. The decoder, similar to the encoder, is a stack of transformer blocks that are based on self-attention, followed by a linear layer predicting the targets. The decoder only receives the latent representations of the masked patches (the output of the latent contextual regressor), and the positional embeddings of the masked patches as input without directly using the information of the visible patches.
57
+
58
+ # 3.2 OBJECTIVE FUNCTION
59
+
60
+ Masking and targets. Following BEiT (Bao et al., 2021), we adopt the random block-wise masking strategy (illustrated in Figure 2) to split the input image into two sets of patches, visible and masked patches. For each image, 98 of 196 $1 4 \times 1 4 )$ patches are masked.
61
+
62
+ We form the targets using the discrete tokenizer, e.g., the tokenizer trained with d-VAE on ImageNet-1K without using the labels or the DALL-E tokenizer (trained with d-VAE on 400M images) (Ramesh et al., 2021) used in BEiT Bao et al. (2021). The input image is fed into the tokenizer, assigning a discrete token to each patch. The target tokens for the masked patches are denoted as $\bar { \mathbf { Y } } _ { m }$ .
63
+
64
+ Loss function. The loss function consists of a decoding loss: $\ell _ { y } ( { \mathbf { Y } } _ { m } , \bar { { \mathbf { Y } } } _ { m } )$ , and an alignment loss: $\ell _ { z } ( \mathbf { Z } _ { m } , \bar { \mathbf { Z } } _ { m } )$ . The whole loss is a weighted sum:
65
+
66
+ ![](images/cffb56bbd7ddadf485220b27666f678d66a607d5d4e0ac19e2775777ac43710a.jpg)
67
+ Figure 2: Illustration of random block-wise sampling and random cropping. Random block-wise sampling is used in our approach. Random cropping is a key data-augmentation scheme for contrastive pretraining.
68
+
69
+ $$
70
+ \ell _ { y } ( { \mathbf Y } _ { m } , \bar { { \mathbf Y } } _ { m } ) + \lambda \ell _ { z } ( { \mathbf Z } _ { m } , \mathrm { s g } [ \bar { { \mathbf Z } } _ { m } ] ) .
71
+ $$
72
+
73
+ We use the MSE loss for $\ell _ { z } ( \mathbf { Z } _ { m } , \bar { \mathbf { Z } } _ { m } )$ and the cross-entropy loss for $\ell _ { y } ( { \mathbf { Y } } _ { m } , \bar { { \mathbf { Y } } } _ { m } ) . \mathrm { s g } [ \cdot ]$ stands for stop gradient. $\lambda$ is 2 in our experiments.
74
+
75
+ # 4 ANALYSIS AND DISCUSSION
76
+
77
+ Predictions are made in the encoded representation space. Our CAE attempts to make predictions in the encoded representation space: predict the representations for the masked patches from the encoded representations of the visible patches. In other words, it is expected that the output representations of the latent contextual regressor also lie in the encoded representation space, which is ensured by an alignment constraint. The constraint about the predicted representation space encourages the learned representation to take on a large extent of semantics for prediction from visible patches to masked patches, benefiting the representation learning of the encoder.
78
+
79
+ We empirically verify that the predicted representations lie in the encoded representation space through image reconstruction. We train the CAE using the pixel colors as the prediction targets, for two cases: with and without the alignment constraint. For reconstruction, we feed all the patches (without masking, all the image patches are visible) of an image (from the ImageNet validation set) into the pretrained encoder, then skip the latent contextual regressor and directly send all the encoded patch representations to the pretrained decoder for reconstructing the whole image.
80
+
81
+ Figure 3 provides reconstruction results for several examples randomly sampled from the ImageNet1K validation set. One can see that our approach can successfully reconstruct the images, implying that the input and output representations of latent contextual regressor are in the same space. In contrast, without the alignment constraint, the reconstructed images are noisy, indicating the input and output representations of latent contextual regressor are in the different spaces. The results suggest that the alignment constraint is critical for ensuring that predictions are made in the encoded representation space.
82
+
83
+ Representation alignment in CAE and contrastive learning. Representation alignment is also used in contrastive learning methods, such as MoCo, BYOL, SimCLR, and methods mixing contrastive learning and masked image modeling, such as iBOT, and MST, and the alignment loss could be the MSE loss or the contrastive loss that CAE may aslo take advantage of. In the CAE, the alignment is imposed over the representations ${ \bf Z } _ { m } = \mathcal { H } ( \dot { \mathcal { F } } ( { \bf X } _ { v } )$ predicted from the representations $\mathcal { F } ( \mathbf { X } _ { v } )$ of visible patches through the regressor $\mathcal { H }$ , and the representations $\bar { \mathbf Z } _ { m } = \mathcal { F } ( \mathbf { X } _ { m } )$ computed from the encoder $\mathcal { F }$ , both about the masked patches. Differently, the alignment in contrastive learning is imposed over the representations $\{ \mathcal { F } ( \mathbf { V } _ { 1 } ) , \mathcal { F } ( \mathbf { V } _ { 2 } ) , \cdots , \mathcal { F } ( \mathbf { \bar { V } } _ { N } ) \}$ of different views $\{ \mathbf { V } _ { 1 } , \mathbf { V } _ { 2 } , \cdots , \mathbf { V } _ { N } \}$ .
84
+
85
+ ![](images/080ef22866b951d2d997f2618ae6f62963073f082d6d9904cfdf5e456496b30d.jpg)
86
+ Figure 3: Illustrating that predictions are made in the representation space. We reconstruct the image by feeding the full image (1st, 4th, and 7th) into the pretrained CAE encoder and then the pretrained CAE decoder outputting the reconstructed image (2nd, 5th, and 8th). It can be seen that the image can be constructed with the semantics kept when skipping latent contextual regressor, verifying the input and the predicted representations lie in the same space. We also show the reconstructed images (3rd, 6th, and 9th) from the encoder and the decoder pretrained without the alignment constraint. We can see that those images are meaningless, indicating that the alignment constraint is critical for ensuring that predictions are made in the representation space.
87
+
88
+ Relation to autoencoder. The original autoencoder (LeCun, 1987; Gallinari et al., 1987; Hinton & Zemel, 1994) consists of an encoder and a decoder. The encoder maps the input into a latent representation, and the decoder reconstructs the input from the latent representation. The denoising autoencoder (DAE) (Vincent et al., 2010), a variant of autoencoder, corrupts the input by adding noises and still reconstructs the non-corrupted input.
89
+
90
+ Our CAE encoder is similar to the original autoencoder and also contains an encoder and a decoder. Different from the autoencoder where the encoder and the decoder process the whole image, our encoder takes a portion of patches as input and our decoder takes the estimated latent representations of the other portion of patches as input. Importantly, the CAE introduces a latent contextual regressor that makes predictions in the latent space from the visible patches to the masked patches.
91
+
92
+ Relation to BEiT and MAE. The CAE encoder processes the visible patches, to extract their representations, without making predictions for masked patches. Latent contextual regressor does not update the representations for visible patches: the representations of the visible patches in the regressor are the values and keys for cross-attention; the alignment constraint expects that the output of latent contextual regressor lies in the representation space same with the encoder output. The decoder only processes the predicted representations of masked patches. Therefore, the encoder takes the responsibility of and is only for representation learning.
93
+
94
+ In contrast, BEiT (Bao et al., 2021) and the MIM part of iBOT do not separate the representation extraction role and the task completion role and uses a single network, with both the visible and masked patches as the input, simultaneously for the two roles. In MAE (He et al., 2022), the so-called decoder may play a partial role for representation learning as the representations of the visible patches are also updated in the MAE decoder. Unlike CAE, MAE does not explicitly regress the representations (that lie in the space the same as the encoded representation space) for masked patches.
95
+
96
+ When the pretrained encoder is applied to downstream tasks, one often replaces the pretext task completion part using the downstream task layer, e.g., segmentation layer or detection layer. The separation of representation learning (encoding) and pretext task completion helps that downstream task applications take good advantage of representation pretraining.
97
+
98
+ Comparison to contrastive learning. Typical contrastive learning methods, e.g., SimCLR (Chen et al., 2020b) and MoCo (He et al., 2020; Chen et al., 2021), pretrain the networks by solving the pretext task, maximizing the similarities between augmented views (e.g., random crops) from the same image and minimizing the similarities between augmented views from different images.
99
+
100
+ It is shown in (Chen et al., 2020b) that random cropping plays an important role in view augmentation for contrastive learning. Through analyzing random crops (illustrated in Figure 2), we observe that the center pixels in the original image space have large chances to belong to random crops. We suspect that the global representation, learned by contrastive learning for a random crop possibly with other augmentation schemes, tends to focus mainly on the center pixels in the original image, so that the representations of different crops from the same image can be possibly similar. Figure 4 (the second row) shows that the center region of the original image for the typical contrastive learning approach, MoCo v3, is highly attended.
101
+
102
+ ![](images/0aab5f83b15db5a95a49f3b5fb2b2186405a600905291ab7e5871af90db93bd6.jpg)
103
+ Figure 4: Illustrating the attention map averaged over 12 attention heads between the class token and the patch tokens in the last layer of the ViT encoder pretrained on ImageNet-1K. The region inside the blue contour is obtained by thresholding the attention weights to keep $5 0 \%$ of the mass. Top: Input image, Middle: MoCo v3, a typical contrastive learning method, and Bottom: our CAE. One can see that MoCo v3 tends to focus mainly on the centering regions and little on other patches, and our CAE tends to consider almost all the patches.
104
+
105
+ In contrast, our CAE method (and other MIM methods) randomly samples the patches from the augmented views to form the visible and masked patches. All the patches are possible to be randomly masked for the augmented views and accordingly the original image. Thus, the CAE encoder needs to learn good representations for all the patches, to make good predictions for the masked patches from the visible patches. Figure 4 (the third row) illustrates that almost all the patches in the original images are considered in our CAE encoder.
106
+
107
+ Considering that the instances of the 1000 categories in ImageNet-1K locate mainly around the center of the original images (Russakovsky et al., 2015), typical contrastive learning methods, e.g., MoCo v3, learn the knowledge mainly about the 1000 categories, which is similar to supervised pretraining. But our CAE and other MIM methods are able to learn more knowledge beyond the 1000 categories from the non-center image regions. This indicates that the CAE has the potential to perform better for downstream tasks.
108
+
109
+ # 5 EXPERIMENTS
110
+
111
+ # 5.1 IMPLEMENTATION
112
+
113
+ We study the standard ViT small, base and large architectures, ViT-S (12 transformer blocks with dimension 384), ViT-B (12 transformer blocks with dimension 768) and ViT-L (24 transformer blocks with dimension 1024). The latent contextual regressor consists of 4 transformer blocks based on cross-attention, and the decoder consists of 4 transformer blocks based on self-attention, and an extra linear projection for making predictions.
114
+
115
+ We train the CAE on ImageNet-1K. We partition the image of $2 2 4 \times 2 2 4$ into $1 4 \times 1 4$ patches with the patch size being $1 6 \times 1 6$ . We use standard random cropping and horizontal flipping for data augmentation. The pretraining settings are almost the same as BEiT (Bao et al., 2021). (See Appendix for details).
116
+
117
+ # 5.2 PRETRAINING EVALUATION
118
+
119
+ Linear probing. Linear probing is widely used as a proxy of pretraining quality evaluation for self-supervised representation learning. It learns a linear classifier over the image-level representation output from the pretrained encoder by using the labels of the images, and then tests the performance on the validation set.
120
+
121
+ Attentive probing. The output of the encoder pretrained with MIM methods are representations for all the patches. It is not suitable to linearly probe the representation, averagely-pooled from patch representations, because the image label in ImageNet-1K only corresponds to a portion of patches. It is also not suitable to use the default class token within the encoder because the default class token serves as a role of aggregating the patch representations for better patch representation extraction and is not merely for the portion of patches corresponding to the image label.
122
+
123
+ ![](images/41871d8089b5c0018f649251fd2d0f6daafe83110d733ad2087a6315f7c1765e.jpg)
124
+ Figure 5: Illustrating the cross-attention unit in attentive probing. The attention map is the average of cross-attention maps over 12 heads between the extra class token and the patches. One can see that the attended region lies mainly in the object, which helps image classification.
125
+
126
+ To use the image-level label as a proxy of evaluating the pretraining quality for the encoder pretrained with MIM methods, we need to attend the patches that are related to the label. We introduce a simple modification by using a cross-attention unit with an extra class token (that is different from the class token in the encoder) as the query and the output patch representations of the encoder as the keys and the values, followed by a linear classifier. The introduced cross-attention unit is able to care mainly about the patches belonging to the 1000 classes in ImageNet-1K and remove the interference of other patches. Figure 5 illustrates the effect of the cross-attention unit, showing that the extra cross-attention unit can to some degree attend the regions that are related to the 1000 ImageNet-1K classes.
127
+
128
+ Results. Table 1 shows the results with three schemes, linear probing (LIN), attentive probing (ATT), and fine-tuning (FT) for representative contrastive pretraining (MoCo v3 and DINO) and MIM (BEiT and MAE) methods, as well as our approach with the targets formed with the DALL-E tokenizer (trained on 400M images) and the d-VAE tokenizer (trained on ImageNet-1K without using the labels), denoted as $\mathbf { C A E ^ { * } }$ and CAE, respectively. The models of MAE with 300 epochs and BEiT are pretrained by us using the official implementations, and other models are the officially released models.
129
+
130
+ We highlight a few observations. The fine-tuning performance for these methods are very similar and there is only a minor difference similar to the observation (Zhou et al., 2021). We think that the reason is that self-supervised pretraining and fine-tuning are conducted on the same dataset and no extra knowledge is introduced for image classification. The minor difference might come from the optimization aspect: different initialization (provided by pretrained models) for fine-tuning.
131
+
132
+ In terms of linear probing, the scores of the contrastive learning methods, MoCo v3 and DINO, are higher than the MIM methods. This is as expected because contrastive learning focuses mainly on learning the representations for 1000 classes (See discussion in Section 4). The pretraining is relatively easier than existing MIM methods as contrastive learning mainly cares about the 1000 classes and MIM methods may care about the classes beyond the 1000 classes.
133
+
134
+ For the MIM methods, the scores of attentive probing are much larger than linear probing. This validates our analysis: the MIM methods extract the representations for all the patches, and the classification task needs to attend the corresponding portion of patches.
135
+
136
+ The LIN and ATT scores are similar for contrastive pretraining: e.g., with ViT-B, (76.2 vs 77.0) for MoCo v3, and (77.3 vs 77.8) for DINO. This means that the extra cross-attention in attentive probing does not make a big difference, which is one more evidence for our analysis in Section 4 that they already focus mainly on the region where the instance in the 1000 categories lies.
137
+
138
+ # 5.3 ABLATION STUDIES
139
+
140
+ The CAE architecture contains three components for pretraining the encoder: latent contextual regressor, decoder, and alignment constraint. We cannot remove the latent contextual regressor that is the only unit to make predictions for masked patches from visible patches in our architecture. We study the other two components, the decoder (when the decoder is removed, we use a linear layer to predict the targets) and the alignment constraint.
141
+
142
+ Table 2 shows the ablation results. We report the scores for attentive probing, and downstream tasks: semantic segmentation on ADE20K and object detection on COCO with the DALL-E tokenizer as the
143
+
144
+ Table 1: Pretraining quality evaluation in terms of fine-tuning (FT), linear probing (LIN), and attentive probing (ATT). ‡ means the number of effective epochs in (Zhou et al., 2021) as they adopt multi-crop augmentation (equivalently take a larger number of epochs compared to one-crop augmentation). We report the top-1 accuracy (in the column ATT) of the supervised training approach DeiT (Touvron et al., 2020) to show how far the ATT score is from supervised training. The scores for other models and our models are based on our implementations if not specified. Except that \* denotes using the DALL-E tokenizer, CAE adopts the d-VAE tokenizer trained on ImageNet-1K only. †: these results are from (He et al., 2022).
145
+
146
+ Table 3: Semantic segmentation on ADE20K. All the results are based on the same implementation for semantic segmentation. #Epochs refers to the number of pretraining epochs. ‡ means the number of effective epochs in (Zhou et al., 2021) as the method uses multi-crop pretraining augmentation (See Table 1). †: these results are from (He et al., 2022).
147
+
148
+ <table><tr><td>Method</td><td>#Epochs</td><td>#Crops</td><td>FT</td><td>LIN</td><td>ATT</td></tr><tr><td colspan="6">Methods using ViT-S:</td></tr><tr><td>DeiT</td><td>300</td><td>=</td><td></td><td></td><td>79.9</td></tr><tr><td>MoCo v3</td><td>600t</td><td>2</td><td>81.7</td><td>73.1</td><td>73.8</td></tr><tr><td>BEiT</td><td>300</td><td>1</td><td>81.7</td><td>15.7</td><td>23.6</td></tr><tr><td>CAE*</td><td>300</td><td>1</td><td>82.0</td><td>51.8</td><td>65.0</td></tr><tr><td colspan="6">Methods using ViT-B:</td></tr><tr><td>DeiT</td><td>300</td><td>=</td><td></td><td></td><td>81.8</td></tr><tr><td>MoCo v3</td><td>600t</td><td>2</td><td>83.0</td><td>76.2</td><td>77.0</td></tr><tr><td>DINO</td><td>1600t</td><td>12</td><td>83.3</td><td>77.3</td><td>77.8</td></tr><tr><td>BEiT</td><td>300</td><td>1</td><td>83.0</td><td>37.6</td><td>49.4</td></tr><tr><td>MAE</td><td>300</td><td>1</td><td>82.9</td><td>61.5</td><td>71.1</td></tr><tr><td>MAE</td><td>1600</td><td>1</td><td>83.6</td><td>67.8</td><td>74.2</td></tr><tr><td>iBOT</td><td>1600*</td><td>12</td><td>83.8</td><td>79.5</td><td>79.8</td></tr><tr><td>CAE*</td><td>300</td><td>1</td><td>83.6</td><td>64.1</td><td>73.8</td></tr><tr><td>CAE*</td><td>800</td><td>1</td><td>83.8</td><td>68.6</td><td>75.9</td></tr><tr><td>CAE*</td><td>1600</td><td>1</td><td>83.9</td><td>70.4</td><td>77.1</td></tr><tr><td>CAE</td><td>1600</td><td>1</td><td>83.9</td><td>71.4</td><td>77.4</td></tr><tr><td colspan="6">Methods using ViT-L:</td></tr><tr><td>MoCo v3t</td><td>600+</td><td>2</td><td>84.1</td><td>=</td><td></td></tr><tr><td>BEiT†</td><td>1600</td><td>1</td><td>85.2</td><td>=</td><td>1</td></tr><tr><td>MAE</td><td>1600</td><td>1</td><td>86.0</td><td>76.0</td><td>78.8</td></tr><tr><td>CAE*</td><td>1600</td><td>1</td><td>86.3</td><td>78.1</td><td>81.2</td></tr><tr><td>CAE</td><td>1600</td><td>1</td><td>86.3</td><td>77.9</td><td>81.2</td></tr></table>
149
+
150
+ Table 2: Ablation studies for the decoder and the alignment constraint in our CAE. All the models are pretrained on ImageNet-1K with 300 epochs.
151
+
152
+ <table><tr><td></td><td>Decoder</td><td>Align</td><td>ATT</td><td>ADE</td><td>CoCO</td></tr><tr><td>CAE*</td><td>×</td><td>×</td><td>71.2</td><td>47.0</td><td>46.9</td></tr><tr><td>CAE*</td><td>√</td><td>×</td><td>72.7</td><td>47.1</td><td>47.2</td></tr><tr><td>CAE*</td><td>√</td><td>√</td><td>73.8</td><td>48.3</td><td>48.4</td></tr></table>
153
+
154
+ <table><tr><td>Method</td><td>#Epochs</td><td>mIoU</td></tr><tr><td colspan="3">Methodsusing ViT-B:</td></tr><tr><td>DeiT</td><td>300</td><td>47.0</td></tr><tr><td>MoCo v3</td><td>600</td><td>47.2</td></tr><tr><td>DINO</td><td>1600t</td><td>47.2</td></tr><tr><td>BEiT</td><td>300</td><td>45.5</td></tr><tr><td>BEiT</td><td>800</td><td>46.5</td></tr><tr><td>MAE</td><td>300</td><td>45.8</td></tr><tr><td>MAE</td><td>1600</td><td>48.1</td></tr><tr><td>iBOT</td><td>1600*</td><td>50.0</td></tr><tr><td>CAE*</td><td>300</td><td>48.3</td></tr><tr><td>CAE*</td><td>800</td><td>49.7</td></tr><tr><td>CAE*</td><td>1600</td><td>50.2</td></tr><tr><td>CAE</td><td>1600</td><td>50.1</td></tr><tr><td colspan="3">Methodsusing ViT-L:</td></tr><tr><td>MoCo v3t</td><td>600t</td><td>49.1</td></tr><tr><td>BEiT†</td><td>1600</td><td>53.3</td></tr><tr><td>MAE</td><td>1600</td><td>53.6</td></tr><tr><td>CAE*</td><td>1600</td><td>54.7</td></tr><tr><td>CAE</td><td>1600</td><td>54.6</td></tr></table>
155
+
156
+ targets. One can see that the downstream task performance is almost the same when only the decoder is added and that the performance increases when the decoder and the alignment constraint are both added. This also verifies that the alignment constraint is important for ensuring that the predicted representations of masked patches lie in the encoded representation space and thus the predictions are made in the encoded representation space, and accordingly improving the representation quality.
157
+
158
+ # 5.4 DOWNSTREAM TASKS
159
+
160
+ Semantic segmentation on ADE20K (Zhou et al., 2017). We follow the implementation (Bao et al., 2021) to use UperNet (Xiao et al., 2018) (Appendix for training details). In both downstream tasks, the CAE with the tokenizers learned over ImageNet-1K performs almost the same as the tokenizers learned over 400M images provided by DALL-E (CAE\*), implying that the tokenizer trained on ImageNet-1K (without using the labels) or a larger dataset does not affect the pretraining quality and accordingly the downstream task performance.
161
+
162
+ Table 4: Object detection and instance segmentation on COCO. Mask R-CNN is adopted and trained with the $1 \times$ schedule. All the results are based on the same implementation for object detection and instance segmentation. #Epochs refers to the number of pretraining epochs on ImageNet-1K. ‡ means the number of effective epochs in (Zhou et al., 2021) (See Table 1).
163
+ Table 3 shows that using the ViT-B, our $\mathrm { C A E ^ { * } }$ with 300 training epochs performs better than DeiT, MoCo v3, DINO, MAE (1600 epochs) and BEiT. Our $\mathrm { C A E ^ { * } }$ (1600 epochs) further improves the segmentation scores and outperforms MAE (1600 epochs), MoCo v3 and DeiT by 2.1, 3.0 and 3.2, respectively. Using ViT-L, our $\mathrm { C A E ^ { * } }$ (1600 epochs) outperforms BEiT (1600 epochs) and MAE (1600 epochs) by 1.4 and 1.1, respectively.
164
+
165
+ <table><tr><td rowspan="2">Method</td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2">#EpochsSupervisedSelf-supervised</td><td colspan="3">Object detection</td><td colspan="3">Instance segmentation</td></tr><tr><td>AP</td><td>AP0</td><td>AP75</td><td>APm</td><td>AP</td><td>AP75</td></tr><tr><td colspan="10">Methods using ViT-S:</td></tr><tr><td>DeiT</td><td>300</td><td>√</td><td>×</td><td>43.1</td><td>65.2</td><td>46.6</td><td>38.4</td><td>61.8</td><td>40.6</td></tr><tr><td>MoCo v3</td><td>600</td><td>×</td><td>√</td><td>43.3</td><td>64.9</td><td>46.8</td><td>38.8</td><td>61.6</td><td>41.1</td></tr><tr><td>BEiT</td><td>300</td><td>×</td><td>√</td><td>35.6</td><td>56.7</td><td>38.3</td><td>32.6</td><td>53.3</td><td>34.2</td></tr><tr><td>CAE*</td><td>300</td><td>×</td><td>L</td><td>44.1</td><td>64.6</td><td>48.2</td><td>39.2</td><td>61.4</td><td>42.2</td></tr><tr><td colspan="10">Methods using ViT-B:</td></tr><tr><td>DeiT</td><td>300</td><td>√</td><td></td><td>46.9</td><td>68.9</td><td>51.0</td><td>41.5</td><td>65.5</td><td>44.4</td></tr><tr><td>MoCo v3</td><td>600</td><td>×</td><td>×√√√</td><td>45.5</td><td>67.1</td><td>49.4</td><td>40.5</td><td>63.7</td><td>43.4</td></tr><tr><td>DINO</td><td>1600t</td><td>×</td><td></td><td>46.8</td><td>68.6</td><td>50.9</td><td>41.5</td><td>65.3</td><td>44.5</td></tr><tr><td>BEiT</td><td>300</td><td>×</td><td></td><td>39.5</td><td>60.6</td><td>43.0</td><td>35.9</td><td>57.7</td><td>38.5</td></tr><tr><td>BEiT</td><td>800</td><td>×</td><td>√</td><td>42.1</td><td>63.3</td><td>46.0</td><td>37.8</td><td>60.1</td><td>40.6</td></tr><tr><td>MAE</td><td>300</td><td>×</td><td></td><td>45.4</td><td>66.4</td><td>49.6</td><td>40.6</td><td>63.4</td><td>43.7</td></tr><tr><td>MAE</td><td>1600</td><td>×</td><td></td><td>48.4</td><td>69.4</td><td>53.1</td><td>42.6</td><td>66.1</td><td>45.9</td></tr><tr><td>iBOT</td><td>1600*</td><td>×</td><td>√√√√V</td><td>48.2</td><td>69.7</td><td>52.8</td><td>42.7</td><td>66.5</td><td>46.0</td></tr><tr><td>CAE*</td><td>300</td><td>×</td><td></td><td>48.4</td><td>69.2</td><td>52.9</td><td>42.6</td><td>66.1</td><td>45.8</td></tr><tr><td>CAE*</td><td>800</td><td>×</td><td></td><td>49.8</td><td>70.7</td><td>54.6</td><td>43.9</td><td>67.8</td><td>47.4</td></tr><tr><td>CAE*</td><td>1600</td><td>×</td><td></td><td>50.0</td><td>70.9</td><td>54.8</td><td>44.0</td><td>67.9</td><td>47.6</td></tr><tr><td>CAE</td><td>1600</td><td>×</td><td></td><td>50.2</td><td>71.0</td><td>54.9</td><td>44.2</td><td>68.3</td><td>47.9</td></tr><tr><td colspan="10">Methods using ViT-L:</td></tr><tr><td>MAE</td><td>1600</td><td>×</td><td></td><td>54.0</td><td>74.3</td><td>59.5</td><td>47.1</td><td>71.5</td><td>51.0</td></tr><tr><td>CAE*</td><td>1600</td><td>×</td><td></td><td>54.5</td><td>75.2</td><td>60.1</td><td>47.6</td><td>72.2</td><td>51.9</td></tr><tr><td>CAE</td><td>1600</td><td>×</td><td></td><td>54.6</td><td>75.2</td><td>59.9</td><td>47.6</td><td>72.0</td><td>51.9</td></tr></table>
166
+
167
+ The superior results over supervised and contrastive pretraining methods, DeiT, MoCo v3 and DINO, stem from that our approach captures the knowledge beyond the 1000 classes in ImageNet-1K. The superior results over BEiT and MAE stem from that our CAE makes predictions in the encoded representation space and that representation learning and pretext task completion are separated.
168
+
169
+ Object detection and instance segmentation on COCO (Lin et al., 2014). We adopt the Mask R-CNN approach (He et al., 2017) that produces bounding boxes and instance masks simultaneously, with the ViT as the backbone (see Appendix for training details). The results are given in Table 4. We report the box AP for object detection and the mask AP for instance segmentation. The observations are consistent with those for semantic segmentation in Table 3. Our CAE\* (300 epochs, ViT-B) is superior to all the other models except that a little lower than MAE (1600 epochs). Our approach (1600 epochs) outperforms MAE (1600 epochs), MoCo v3 and DeiT by 1.6, 4.5 and 3.1, respectively. Using ViT-L, our CAE achieves 54.6 box AP and outperforms MAE by 0.6.
170
+
171
+ # 6 CONCLUSION
172
+
173
+ The core design of our CAE architecture for masked image modeling is that predictions are made from visible patches to masked patches in the encoded representation space. Experiments demonstrate the effectiveness of our design. In addition, we also point out that the advantage of MIM methods over typical contrastive pretraining and supervised pretraining on ImageNet-1K is that MIM learns the representations for all the patches, while typical contrastive pretraining (e.g., MoCo and SimCLR) and supervised pretraining tend to learn semantics mainly from center patches of the original images and little from non-center patches.
174
+
175
+ # REFERENCES
176
+
177
+ Yuki Markus Asano, Christian Rupprecht, and Andrea Vedaldi. Self-labelling via simultaneous clustering and representation learning. arXiv preprint arXiv:1911.05371, 2019.
178
+
179
+ Sara Atito, Muhammad Awais, and Josef Kittler. Sit: Self-supervised vision transformer. arXiv preprint arXiv:2104.03602, 2021.
180
+
181
+ Alexei Baevski, Wei-Ning Hsu, Qiantong Xu, Arun Babu, Jiatao Gu, and Michael Auli. data2vec: A general framework for self-supervised learning in speech, visionand languags. Technical report, 2022.
182
+
183
+ Hangbo Bao, Li Dong, and Furu Wei. BEiT: BERT pre-training of image transformers. arXiv:2106.08254, 2021.
184
+
185
+ Adrien Bardes, Jean Ponce, and Yann LeCun. Vicreg: Variance-invariance-covariance regularization for self-supervised learning. arXiv preprint arXiv:2105.04906, 2021.
186
+
187
+ Lukas Bossard, Matthieu Guillaumin, and Luc Van Gool. Food-101 – mining discriminative components with random forests. In ECCV, 2014.
188
+
189
+ Zhaowei Cai and Nuno Vasconcelos. Cascade r-cnn: High quality object detection and instance segmentation. TPAMI, 43:1483–1498, 2021.
190
+
191
+ Mathilde Caron, Piotr Bojanowski, Armand Joulin, and Matthijs Douze. Deep clustering for unsupervised learning of visual features. In ECCV, pp. 132–149, 2018.
192
+
193
+ Mathilde Caron, Piotr Bojanowski, Julien Mairal, and Armand Joulin. Unsupervised pre-training of image features on non-curated data. In ICCV, pp. 2959–2968, 2019.
194
+
195
+ Mathilde Caron, Ishan Misra, Julien Mairal, Priya Goyal, Piotr Bojanowski, and Armand Joulin. Unsupervised learning of visual features by contrasting cluster assignments. arXiv preprint arXiv:2006.09882, 2020.
196
+
197
+ Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, and Armand Joulin. Emerging properties in self-supervised vision transformers. CoRR, abs/2104.14294, 2021.
198
+
199
+ Lluis Castrejon, Yusuf Aytar, Carl Vondrick, Hamed Pirsiavash, and Antonio Torralba. Learning aligned cross-modal representations from weakly aligned data. In CVPR, pp. 2940–2949, 2016.
200
+
201
+ Jun Chen, Ming Hu, Boyang Li, and Mohamed Elhoseiny. Efficient self-supervised vision pretraining with local masked reconstruction. arXiv preprint arXiv:2206.00790, 2022.
202
+
203
+ Kai Chen, Jiaqi Wang, Jiangmiao Pang, Yuhang Cao, Yu Xiong, Xiaoxiao Li, Shuyang Sun, Wansen Feng, Ziwei Liu, Jiarui Xu, Zheng Zhang, Dazhi Cheng, Chenchen Zhu, Tianheng Cheng, Qijie Zhao, Buyu Li, Xin Lu, Rui Zhu, Yue Wu, Jifeng Dai, Jingdong Wang, Jianping Shi, Wanli Ouyang, Chen Change Loy, and Dahua Lin. MMDetection: Open mmlab detection toolbox and benchmark. arXiv preprint arXiv:1906.07155, 2019.
204
+
205
+ Mark Chen, Alec Radford, Rewon Child, Jeffrey Wu, Heewoo Jun, David Luan, and Ilya Sutskever. Generative pretraining from pixels. In ICML, pp. 1691–1703. PMLR, 2020a.
206
+
207
+ Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey E. Hinton. A simple framework for contrastive learning of visual representations. In ICML, volume 119 of Proceedings of Machine Learning Research, pp. 1597–1607. PMLR, 2020b.
208
+
209
+ Xinlei Chen and Kaiming He. Exploring simple siamese representation learning. In CVPR, pp. 15750–15758, 2021.
210
+
211
+ Xinlei Chen, Saining Xie, and Kaiming He. An empirical study of training self-supervised vision transformers. CoRR, abs/2104.02057, 2021. URL https://arxiv.org/abs/2104.02057.
212
+
213
+ Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: pre-training of deep bidirectional transformers for language understanding. In Jill Burstein, Christy Doran, and Thamar Solorio (eds.), NAACL-HLT, pp. 4171–4186. Association for Computational Linguistics, 2019.
214
+
215
+ Carl Doersch, Abhinav Gupta, and Alexei A. Efros. Unsupervised visual representation learning by context prediction. In ICCV, 2015.
216
+
217
+ Xiaoyi Dong, Jianmin Bao, Ting Zhang, Dongdong Chen, Weiming Zhang, Lu Yuan, Dong Chen, Fang Wen, and Nenghai Yu. Peco: Perceptual codebook for bert pre-training of vision transformers. arXiv preprint arXiv:2111.12710, 2021.
218
+
219
+ Alexey Dosovitskiy, Jost Tobias Springenberg, Martin Riedmiller, and Thomas Brox. Discriminative unsupervised feature learning with convolutional neural networks. NeurIPS, 27:766–774, 2014.
220
+
221
+ Alexey Dosovitskiy, Philipp Fischer, Jost Tobias Springenberg, Martin Riedmiller, and Thomas Brox. Discriminative unsupervised feature learning with exemplar convolutional neural networks. TPAMI, 38(9):1734–1747, 2015.
222
+
223
+ Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An image is worth 16x16 words: Transformers for image recognition at scale. In ICLR. OpenReview.net, 2021.
224
+
225
+ Alaaeldin El-Nouby, Gautier Izacard, Hugo Touvron, Ivan Laptev, Hervé Jegou, and Edouard Grave. Are large-scale datasets necessary for self-supervised pre-training? arXiv preprint arXiv:2112.10740, 2021.
226
+
227
+ Aleksandr Ermolov, Aliaksandr Siarohin, Enver Sangineto, and Nicu Sebe. Whitening for selfsupervised representation learning. In ICML, pp. 3015–3024. PMLR, 2021.
228
+
229
+ Yuxin Fang, Li Dong, Hangbo Bao, Xinggang Wang, and Furu Wei. Corrupted image modeling for self-supervised visual pre-training. arXiv preprint arXiv:2202.03382, 2022.
230
+
231
+ Patrick Gallinari, Yann Lecun, Sylvie Thiria, and F Fogelman Soulie. Mémoires associatives distribuées: une comparaison (distributed associative memories: a comparison). In Proceedings of COGNITIVA 87, Paris, La Villette, May 1987. Cesta-Afcet, 1987.
232
+
233
+ Quentin Garrido, Yubei Chen, Adrien Bardes, Laurent Najman, and Yann LeCun. On the duality between contrastive and non-contrastive self-supervised learning. CoRR, abs/2206.02574, 2022. doi: 10.48550/arXiv.2206.02574. URL https://doi.org/10.48550/arXiv.2206.02574.
234
+
235
+ Spyros Gidaris, Andrei Bursuc, Nikos Komodakis, Patrick Pérez, and Matthieu Cord. Learning representations by predicting bags of visual words. In CVPR, pp. 6928–6938, 2020a.
236
+
237
+ Spyros Gidaris, Andrei Bursuc, Gilles Puy, Nikos Komodakis, Matthieu Cord, and Patrick Pérez. Online bag-of-visual-words generation for unsupervised representation learning. arXiv preprint arXiv:2012.11552, 2020b.
238
+
239
+ Priya Goyal, Mathilde Caron, Benjamin Lefaudeux, Min Xu, Pengchao Wang, Vivek Pai, Mannat Singh, Vitaliy Liptchinsky, Ishan Misra, Armand Joulin, et al. Self-supervised pretraining of visual features in the wild. arXiv preprint arXiv:2103.01988, 2021.
240
+
241
+ Jean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec, Pierre H Richemond, Elena Buchatskaya, Carl Doersch, Bernardo Avila Pires, Zhaohan Daniel Guo, Mohammad Gheshlaghi Azar, et al. Bootstrap your own latent: A new approach to self-supervised learning. arXiv preprint arXiv:2006.07733, 2020.
242
+
243
+ Kaiming He, Georgia Gkioxari, Piotr Dollár, and Ross Girshick. Mask r-cnn. In ICCV, pp. 2961–2969, 2017.
244
+
245
+ Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross B. Girshick. Momentum contrast for unsupervised visual representation learning. In CVPR, pp. 9726–9735. Computer Vision Foundation / IEEE, 2020.
246
+
247
+ Kaiming He, Xinlei Chen, Saining Xie, Yanghao Li, Piotr Dollár, and Ross Girshick. Masked autoencoders are scalable vision learners. In CVPR, 2022.
248
+
249
+ Olivier Henaff. Data-efficient image recognition with contrastive predictive coding. In ICML, pp. 4182–4192. PMLR, 2020.
250
+
251
+ Geoffrey E Hinton and Ruslan R Salakhutdinov. Reducing the dimensionality of data with neural networks. science, 313(5786):504–507, 2006.
252
+
253
+ Geoffrey E Hinton and Richard S Zemel. Autoencoders, minimum description length, and helmholtz free energy. NeurIPS, 6:3–10, 1994.
254
+
255
+ Gao Huang, Yu Sun, Zhuang Liu, Daniel Sedra, and Kilian Q Weinberger. Deep networks with stochastic depth. In ECCV, pp. 646–661. Springer, 2016.
256
+
257
+ Jiabo Huang, Qi Dong, Shaogang Gong, and Xiatian Zhu. Unsupervised deep learning by neighbourhood discovery. In ICML, pp. 2849–2858. PMLR, 2019.
258
+
259
+ Lang Huang, Shan You, Mingkai Zheng, Fei Wang, Chen Qian, and Toshihiko Yamasaki. Green hierarchical vision transformer for masked image modeling. arXiv preprint arXiv:2205.13515, 2022a.
260
+
261
+ Zhicheng Huang, Xiaojie Jin, Chengze Lu, Qibin Hou, Ming-Ming Cheng, Dongmei Fu, Xiaohui Shen, and Jiashi Feng. Contrastive masked autoencoders are stronger vision learners. arXiv preprint arXiv:2207.13532, 2022b.
262
+
263
+ Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In ICML, 2015.
264
+
265
+ Li Jing, Jiachen Zhu, and Yann LeCun. Masked siamese convnets. arXiv preprint arXiv:2206.07700, 2022.
266
+
267
+ Ioannis Kakogeorgiou, Spyros Gidaris, Bill Psomas, Yannis Avrithis, Andrei Bursuc, Konstantinos Karantzalos, and Nikos Komodakis. What to hide from your students: Attention-guided masked image modeling. In ECCV, 2022.
268
+
269
+ Diederik P Kingma and Max Welling. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114, 2013.
270
+
271
+ Xiangwen Kong and Xiangyu Zhang. Understanding masked image modeling via learning occlusion invariant feature. arXiv preprint arXiv:2208.04164, 2022.
272
+
273
+ Y. LeCun. Mod‘eles connexionistes de l’apprentissage. PhD thesis, Universit´e de Paris VI, 1987.
274
+
275
+ Gang Li, Heliang Zheng, Daqing Liu, Bing Su, and Changwen Zheng. Semmae: Semantic-guided masking for learning masked autoencoders. arXiv preprint arXiv:2206.10207, 2022a.
276
+
277
+ Junnan Li, Pan Zhou, Caiming Xiong, and Steven CH Hoi. Prototypical contrastive learning of unsupervised representations. arXiv preprint arXiv:2005.04966, 2020.
278
+
279
+ Siyuan Li, Di Wu, Fang Wu, Zelin Zang, Kai Wang, Lei Shang, Baigui Sun, Hao Li, Stan Li, et al. Architecture-agnostic masked image modeling–from vit back to cnn. arXiv preprint arXiv:2205.13943, 2022b.
280
+
281
+ Xiang Li, Wenhai Wang, Lingfeng Yang, and Jian Yang. Uniform masking: Enabling mae pre-training for pyramid-based vision transformers with locality. arXiv preprint arXiv:2205.10063, 2022c.
282
+
283
+ Xiaotong Li, Yixiao Ge, Kun Yi, Zixuan Hu, Ying Shan, and Ling-Yu Duan. mc-beit: Multi-choice discretization for image bert pre-training. In ECCV, 2022d.
284
+
285
+ Zhaowen Li, Zhiyang Chen, Fan Yang, Wei Li, Yousong Zhu, Chaoyang Zhao, Rui Deng, Liwei Wu, Rui Zhao, Ming Tang, et al. Mst: Masked self-supervised transformer for visual representation. NeurIPS, 34:13165–13176, 2021.
286
+
287
+ Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In ECCV, pp. 740–755. Springer, 2014.
288
+
289
+ Hao Liu, Xinghua Jiang, Xin Li, Antai Guo, Deqiang Jiang, and Bo Ren. The devil is in the frequency: Geminated gestalt autoencoder for self-supervised visual pre-training. arXiv preprint arXiv:2204.08227, 2022.
290
+
291
+ Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101, 2017.
292
+ Mehdi Noroozi and Paolo Favaro. Unsupervised learning of visual representations by solving jigsaw puzzles. In ECCV, pp. 69–84. Springer, 2016.
293
+ Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018.
294
+ Deepak Pathak, Philipp Krahenbuhl, Jeff Donahue, Trevor Darrell, and Alexei A Efros. Context encoders: Feature learning by inpainting. In CVPR, pp. 2536–2544, 2016.
295
+ Xiangyu Peng, Kai Wang, Zheng Zhu, and Yang You. Crafting better contrastive views for siamese representation learning. In CVPR, 2022.
296
+ Aditya Ramesh, Mikhail Pavlov, Gabriel Goh, Scott Gray, Chelsea Voss, Alec Radford, Mark Chen, and Ilya Sutskever. Zero-shot text-to-image generation. In Marina Meila and Tong Zhang (eds.), ICML, volume 139, pp. 8821–8831. PMLR, 2021.
297
+ Marc Ranzato, Christopher Poultney, Sumit Chopra, Yann LeCun, et al. Efficient learning of sparse representations with an energy-based model. NeurIPS, 19:1137, 2007.
298
+ Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, et al. Imagenet large scale visual recognition challenge. IJCV, 115(3):211–252, 2015.
299
+ Chenxin Tao, Xizhou Zhu, Gao Huang, Yu Qiao, Xiaogang Wang, and Jifeng Dai. Siamese image modeling for self-supervised vision representation learning. arXiv preprint arXiv:2206.01204, 2022.
300
+ Yonglong Tian, Chen Sun, Ben Poole, Dilip Krishnan, Cordelia Schmid, and Phillip Isola. What makes for good views for contrastive learning? NeurIPS, 33:6827–6839, 2020.
301
+ Yunjie Tian, Lingxi Xie, Xiaopeng Zhang, Jiemin Fang, Haohang Xu, Wei Huang, Jianbin Jiao, Qi Tian, and Qixiang Ye. Semantic-aware generation for self-supervised visual representation learning. arXiv preprint arXiv:2111.13163, 2021.
302
+ Yunjie Tian, Lingxi Xie, Jiemin Fang, Mengnan Shi, Junran Peng, Xiaopeng Zhang, Jianbin Jiao, Qi Tian, and Qixiang Ye. Beyond masking: Demystifying token-based pre-training for vision transformers. arXiv preprint arXiv:2203.14313, 2022.
303
+ Hugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa, Alexandre Sablayrolles, and Hervé Jégou. Training data-efficient image transformers & distillation through attention. arXiv preprint arXiv:2012.12877, 2020.
304
+ Laurens Van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. Journal of machine learning research, 9(11), 2008.
305
+ Pascal Vincent, Hugo Larochelle, Yoshua Bengio, and Pierre-Antoine Manzagol. Extracting and composing robust features with denoising autoencoders. In ICML, pp. 1096–1103, 2008.
306
+ Pascal Vincent, Hugo Larochelle, Isabelle Lajoie, Yoshua Bengio, and Pierre-Antoine Manzagol. Stacked denoising autoencoders: Learning useful representations in a deep network with a local denoising criterion. J. Mach. Learn. Res., 11:3371–3408, 2010.
307
+ Luya Wang, Feng Liang, Yangguang Li, Wanli Ouyang, Honggang Zhang, and Jing Shao. Repre: Improving self-supervised vision transformer with reconstructive pre-training. arXiv preprint arXiv:2201.06857, 2022.
308
+ Xinlong Wang, Rufeng Zhang, Chunhua Shen, Tao Kong, and Lei Li. Dense contrastive learning for self-supervised visual pre-training. In CVPR, pp. 3024–3033, 2021.
309
+ Chen Wei, Haoqi Fan, Saining Xie, Chao-Yuan Wu, Alan Yuille, and Christoph Feichtenhofer. Masked feature prediction for self-supervised visual pre-training. arXiv preprint arXiv:2112.09133, 2021.
310
+
311
+ Longhui Wei, Lingxi Xie, Wengang Zhou, Houqiang Li, and Qi Tian. Mvp: Multimodality-guided visual pre-training. In ECCV, 2022.
312
+
313
+ Zhirong Wu, Yuanjun Xiong, Stella X Yu, and Dahua Lin. Unsupervised feature learning via non-parametric instance discrimination. In CVPR, pp. 3733–3742, 2018.
314
+
315
+ Tete Xiao, Yingcheng Liu, Bolei Zhou, Yuning Jiang, and Jian Sun. Unified perceptual parsing for scene understanding. In ECCV, pp. 418–434, 2018.
316
+
317
+ Jiahao Xie, Wei Li, Xiaohang Zhan, Ziwei Liu, Yew Soon Ong, and Chen Change Loy. Masked frequency modeling for self-supervised visual pre-training. arXiv preprint arXiv:2206.07706, 2022a.
318
+
319
+ Junyuan Xie, Ross Girshick, and Ali Farhadi. Unsupervised deep embedding for clustering analysis. In ICML, pp. 478–487. PMLR, 2016.
320
+
321
+ Zhenda Xie, Yutong Lin, Zheng Zhang, Yue Cao, Stephen Lin, and Han Hu. Propagate yourself: Exploring pixel-level consistency for unsupervised visual representation learning. In CVPR, pp. 16684–16693, 2021a.
322
+
323
+ Zhenda Xie, Zheng Zhang, Yue Cao, Yutong Lin, Jianmin Bao, Zhuliang Yao, Qi Dai, and Han Hu. Simmim: A simple framework for masked image modeling. arXiv preprint arXiv:2111.09886, 2021b.
324
+
325
+ Zhenda Xie, Zigang Geng, Jingcheng Hu, Zheng Zhang, Han Hu, and Yue Cao. Revealing the dark secrets of masked image modeling. arXiv preprint arXiv:2205.13543, 2022b.
326
+
327
+ Zhenda Xie, Zheng Zhang, Yue Cao, Yutong Lin, Yixuan Wei, Qi Dai, and Han Hu. On data scaling in masked image modeling. arXiv preprint arXiv:2206.04664, 2022c.
328
+
329
+ Jianwei Yang, Devi Parikh, and Dhruv Batra. Joint unsupervised learning of deep representations and image clusters. In CVPR, pp. 5147–5156, 2016.
330
+
331
+ Kun Yi, Yixiao Ge, Xiaotong Li, Shusheng Yang, Dian Li, Jianping Wu, Ying Shan, and Xiaohu Qie. Masked image modeling with denoising contrast. arXiv preprint arXiv:2205.09616, 2022.
332
+
333
+ Yang You, Igor Gitman, and Boris Ginsburg. Large batch training of convolutional networks. arXiv preprint arXiv:1708.03888, 2017.
334
+
335
+ Sangdoo Yun, Dongyoon Han, Seong Joon Oh, Sanghyuk Chun, Junsuk Choe, and Youngjoon Yoo. Cutmix: Regularization strategy to train strong classifiers with localizable features. In ICCV, pp. 6023–6032, 2019.
336
+
337
+ Jure Zbontar, Li Jing, Ishan Misra, Yann LeCun, and Stéphane Deny. Barlow twins: Self-supervised learning via redundancy reduction. arXiv preprint arXiv:2103.03230, 2021.
338
+
339
+ Hongyi Zhang, Moustapha Cisse, Yann N. Dauphin, and David Lopez-Paz. mixup: Beyond empirical risk minimization. In ICLR, 2017.
340
+
341
+ Richard Zhang, Phillip Isola, and Alexei A Efros. Colorful image colorization. In ECCV, pp. 649–666. Springer, 2016.
342
+
343
+ Xiaosong Zhang, Yunjie Tian, Wei Huang, Qixiang Ye, Qi Dai, Lingxi Xie, and Qi Tian. Hivit: Hierarchical vision transformer meets masked image modeling. arXiv preprint arXiv:2205.14949, 2022.
344
+
345
+ Bolei Zhou, Hang Zhao, Xavier Puig, Sanja Fidler, Adela Barriuso, and Antonio Torralba. Scene parsing through ade20k dataset. In CVPR, pp. 633–641, 2017.
346
+
347
+ Jinghao Zhou, Chen Wei, Huiyu Wang, Wei Shen, Cihang Xie, Alan Yuille, and Tao Kong. Ibot: Image bert pre-training with online tokenizer. arXiv preprint arXiv:2111.07832, 2021.
348
+
349
+ Chengxu Zhuang, Alex Lin Zhai, and Daniel Yamins. Local aggregation for unsupervised learning of visual embeddings. In ICCV, pp. 6002–6012, 2019.
350
+
351
+ # APPENDIX
352
+
353
+ # A TRAINING DETAILS
354
+
355
+ Pretraining. The settings are almost the same as BEiT (Bao et al., 2021). We use AdamW (Loshchilov & Hutter, 2017) for optimization and train the CAE for 300/800/1600 epochs with the batch size being 2048. We set the learning rate as 1.5e-3 with cosine learning rate decay. The weight decay is set as 0.05. The warmup epochs for 300/800/1600 epochs pre-training are 10/20/40, respectively. We employ drop path (Huang et al., 2016) rate 0.1 and dropout rate 0.
356
+
357
+ Fine-tuning on ImageNet. We follow the fine-tuning protocol in BEiT to use layer-wise learning rate decay, weight decay and AdamW. The batch size is 4096, the warmup epoch is 5 and the weight decay is 0.05. For ViT-S, we train 200 epochs with learning rate 1.6e-2 and layer-wise decay rate 0.75. For ViT-B, we train 100 epochs with learning rate 8e-3 and layer-wise decay rate 0.65. For ViT-L, we train 50 epochs with learning rate 2e-3 and layer-wise decay rate 0.75.
358
+
359
+ Linear probing. We use the LARS (You et al., 2017) optimizer with momentum 0.9. The model is trained for 90 epochs. The batch size is 16384, the warmup epoch is 10 and the learning rate is 6.4. Following (He et al., 2022), we adopt an extra BatchNorm layer (Ioffe & Szegedy, 2015) without affine transformation (affine $=$ False) before the linear classifier. We do not use mixup (Zhang et al., 2017), cutmix (Yun et al., 2019), drop path (Huang et al., 2016), or color jittering, and we set weight decay as zero.
360
+
361
+ Attentive probing. The parameters of the encoder are fixed during attentive probing. A crossattention module, a BatchNorm layer (affine $=$ False), and a linear classifier are appended after the encoder. The extra class token representation in cross-attention is learned as model parameters. The keys and the values are the patch representations output from the encoder. There is no MLP or skip connection operation in the extra cross-attention module. We use the SGD optimizer with momentum 0.9 and train the model for 90 epochs. The batch size is 8192, the warmup epoch is 10 and the learning rate is 0.4. Same as linear probing, we do not use mixup (Zhang et al., 2017), cutmix (Yun et al., 2019), drop path, or color jittering, and we set weight decay as zero.
362
+
363
+ Hyperparameter choice. There is a tradeoff variable $\lambda$ in the loss function given in Equation 1 in the main paper. We did not do an extensive study and only tried three choices, $\lambda = 1$ , $\lambda = 1 . 5$ and $\lambda = 2$ . The linear probing results are 63.4, 63.7 and 64.1, respectively. The choice $\lambda = 1$ works also well, slightly worse than $\lambda = 2$ that is adopted in our experiment.
364
+
365
+ We also conduct experiments with different mask ratios including $4 0 \%$ , $5 0 \%$ , and $6 0 \%$ . Results are listed in Table 5. We find that ratio $5 0 \%$ gets better results than ratio $\cdot$ . Adopting a higher mask ratio $( 6 0 \% )$ could further improve the performance of linear probing and attentive probing, while the semantic segmentation performance is reduced by $0 . 2 \%$ . We choose $\cdot$ in our work unless specified.
366
+
367
+ Table 5: Ablation study on different mask ratios. ViT-B is used here.
368
+
369
+ <table><tr><td>Mask Ratio</td><td>LIN</td><td>ATT</td><td>ADE Seg</td></tr><tr><td>40%</td><td>63.1</td><td>73.0</td><td>47.2</td></tr><tr><td>50%</td><td>64.1</td><td>73.8</td><td>48.3</td></tr><tr><td>60%</td><td>64.8</td><td>74.2</td><td>48.1</td></tr></table>
370
+
371
+ Table 6: Ablation study on number of layers in the latent contextual regressor and decoder. 4 layers means we use 4 layers in latent contextual regressor and 4 layers in decoder. ViT-B is used here.
372
+
373
+ <table><tr><td>Layer Num</td><td>LIN</td></tr><tr><td>1</td><td>58.7 67.5</td></tr><tr><td>2</td><td>62.1 71.7</td></tr><tr><td>4</td><td>73.8</td></tr><tr><td>5</td><td>73.7</td></tr></table>
374
+
375
+ ![](images/c0fd9905c8c72742aec5c13af69859231aff6ebc77d27c77b0db7bbbc6267953.jpg)
376
+ Figure 6: t-SNE visualization (one color for one category) of representations extracted from the images in ADE20K. Left: ViT pretrained with our CAE; Right: ViT with random weights.
377
+
378
+ For the number of layers in the latent contextual regressor and decoder, we tried four choices: 1-layer, 2-layers, 4-layer and 5-layer. Results are listed in Table 6. We empirically observed that 4-layer outperforms other choices overall.
379
+
380
+ Object detection and instance segmentation on COCO. We utilize multi-scale training and resize the image with the size of the short side between 480 and 800 and the longe side no larger than 1333. The batch size is 32. For the ViT-S, the learning rate is 3e-4, the layer-wise decay rate is 0.75, and the drop path rate is 0.1. For the ViT-B, the learning rate is 3e-4, the layer-wise decay rate is 0.75, and the drop path rate is 0.2. For the ViT-L, the learning rate is 2e-4, the layer-wise decay rate is 0.8, and the drop path rate is 0.2. We train the network with the $1 \times$ schedule: 12 epochs with the learning rate decayed by $1 0 \times$ at epochs 9 and 11. We do not use multi-scale testing. The Mask R-CNN implementation follows MMDetection (Chen et al., 2019).
381
+
382
+ Semantic segmentation on ADE20K. We use AdamW as the optimizer. The input resolution is $5 1 2 \times 5 1 2$ . The batch size is 16. For the ViT-B, the layer-wise decay rate is 0.65 and the drop path rate is 0.1. We search from four learning rates, 1e-4, 2e-4, 3e-4 and 4e-4, for all the results in Table 3 in the main paper. For the ViT-L, the layer-wise decay rate is 0.95 and drop path rate is 0.15. We search from three learning rates for all the methods, 3e-5, 4e-5 and 5e-5, We conduct fine-tuning for 160K steps. We do not use multi-scale testing.
383
+
384
+ # B INTERPRETATION
385
+
386
+ Intuitive Interpretation for CAE. Humans are able to hallucinate what appears in the masked regions and how they appear according to the visible regions. We speculate that humans do this possibly in a way similar as the following example: given that only the region of the dog’s head is visible and the remaining parts are missing, one can (a) recognize the visible region to be about a dog, (b) predict the regions where the other parts of the dog appear, and (c) guess what the other parts look like.
387
+
388
+ Our CAE encoder is in some sense like the human recognition step (a). It understands the content by mapping the visual patches into latent representations that lie in the subspace that corresponds to the category $\deg$ . The latent contextual regressor is like step (b). It produces a plausible hypothesis for the masked patches, and describes the regions corresponding to the other parts of the dog using latent representations. The CAE decoder is like step (c), mapping the latent representations to the targets. It should be noted that the latent representations might contain other information besides the semantic information, e.g., the part information and the information for making predictions.
389
+
390
+ We adopt t-SNE (Van der Maaten & Hinton, 2008) to visualize the high-dimensional patch representations output from our CAE encoder on ADE20K (Zhou et al., 2017) in Figure 6. ADE20K has a total of 150 categories. For each patch in the image, we set its label to be the category that more than half of the pixels belong to. We collect up to 1000 patches for each category from sampled 500 images.
391
+
392
+ ![](images/bc1ac2add4b102e741ba2329874c7f06332d0d41d67322a81503824458633eaf.jpg)
393
+ Figure 7: The computational graphs for (a) a context autoencoder (CAE), (b) BEiT (Bao et al., 2021), (c) a denoising autoencoder (DAE), and (d) MAE (He et al., 2022) and the one stream in SplitMask (El-Nouby et al., 2021). The parts in cornflower blue are for loss function. (a) The encoder $\mathcal { F }$ receives visible patches $\mathbf { X } _ { v }$ and outputs their latent representations $\mathbf { Z } _ { v }$ . The latent contextual regressor $\mathcal { H }$ predicts the latent representations $\mathbf { Z } _ { m }$ for masked patches from $\mathbf { Z } _ { v }$ . The decoder predicts the targets ${ \bf Y } _ { m }$ for masked patches from $\mathbf { Z } _ { m }$ . $\ell _ { z }$ and $\ell _ { y }$ are the loss functions. During training, the gradient is stopped for $\bar { \mathbf { Z } } _ { m }$ . See the detail in Section 3 in the main paper. (b) The input includes both visible patches $\mathbf { X } _ { v }$ and mask queries $\mathbf { Q } _ { m }$ representing masked patches, and the representations for them are updated within the function $\mathcal { R }$ . (c) The function $\mathcal { N }$ is a noising function generating the noisy version $\tilde { \mathbf { X } }$ from the input $\mathbf { X }$ . $\mathcal { F }$ and $\mathcal { G }$ are the normal encoder and decoder, respectively. (d) The two functions, ${ \mathcal { F } } ^ { \prime }$ and $\mathcal { R }$ , are both based on self-attention. ${ \mathcal { F } } ^ { \prime }$ (called encoder in MAE) only processes the visible patches $\mathbf { X } _ { v }$ , and $\mathcal { R }$ (called decoder in MAE) processes both the latent representations $\mathbf { Z } _ { v }$ of the visible patches and the mask queries $( \mathbf { Q } _ { m } )$ and updates them simultaneously. For simplicity, the positional embeddings are not included in computational graphs. (a) CAE and (c) $D A E$ perform the encoding and MIM task completion roles explicitly and separately, (b) BEiT and (d) MAE perform the encoding and MIM task completion roles implicitly and simultaneously.
394
+
395
+ As shown in the figure, the latent representations of CAE are clustered to some degree for different categories (though not perfect as our CAE is pretrained on ImageNet-1K). Similar observations could be found for other MIM methods.
396
+
397
+ Probabilistic interpretation for CAE. The MIM problem can be formulated in the probabilistic form, maximizing the probability of the predictions $\mathbf { Y } _ { m }$ of the masked patches given the conditions, the visible patches $\mathbf { X } _ { v }$ , the positions $\mathbf { P } _ { v }$ of the visible patches, and the positions $\mathbf { P } _ { m }$ of the masked patches: $P ( \mathbf { Y } _ { m } | \mathbf { X } _ { v } , \mathbf { P } _ { v } , \mathbf { P } _ { m } )$ . It can be solved by introducing latent representations $\mathbf { Z } _ { m }$ and $\mathbf { Z } _ { v }$ , with the assumption that $\mathbf { Z } _ { v }$ and $\mathbf { P } _ { m }$ ( $\mathbf { Y } _ { m }$ and $\mathbf { P } _ { v }$ ) are conditionally independent:
398
+
399
+ $$
400
+ P ( \mathbf { Y } _ { m } | \mathbf { X } _ { v } , \mathbf { P } _ { v } , \mathbf { P } _ { m } ) = P ( \mathbf { Z } _ { v } | \mathbf { X } _ { v } , \mathbf { P } _ { v } ) P ( \mathbf { Z } _ { m } | \mathbf { Z } _ { v } , \mathbf { P } _ { v } , \mathbf { P } _ { m } ) P ( \mathbf { Y } _ { m } | \mathbf { Z } _ { m } , \mathbf { P } _ { m } ) ,
401
+ $$
402
+
403
+ where the three terms on the right side correspond to three parts of our CAE: the encoder, the latent contextual regressor, and the decoder, respectively.
404
+
405
+ The latent representation alignment constraint can be written as a conditional probability, $P ( \mathbf { Z } _ { m } | \bar { \mathbf { Z } } _ { m } )$ where $\bar { \mathbf Z } _ { m }$ is the masked patch representations computed from the encoder.
406
+
407
+ Intuitive interpretation for contrastive learning. We consider the case in ImageNet-1K that the object mainly lies in the center of an image3. There are $N$ randomly sampled crops from an image, and each crop ${ \mathbf I } _ { n }$ contains a part of the center object, ${ \bf O } _ { n }$ . To maximize the similarity between two crops ${ \mathbf I } _ { m }$ and ${ \mathbf I } _ { n }$ , the pretraining might contain the processes: Select the regions $\mathbf { O } _ { m }$ and ${ \bf O } _ { n }$ from the two crops ${ \mathbf I } _ { m }$ and ${ \mathbf I } _ { n }$ , extract their features $\mathbf { f } _ { o m }$ and $\mathbf { f } _ { o n }$ , and predict the feature of the object, $\mathbf { f } _ { o }$ , from the part features $\mathbf { f } _ { o m }$ and $\mathbf { f } _ { o n }$ . In this way, the features of the crops from the same image could be similar. Among the $N$ random crops, most crops contain a part of the object in the center, and a few crops that do not contain a part of the center object could be viewed as noises when optimizing the contrastive loss.
408
+
409
+ ![](images/863fa591103dd42790ec3b00d8199da4de08dabdc78564e02f2a818cf4d1b291.jpg)
410
+ Figure 8: The computational graph for MAE (He et al., 2022) and the one stream in SplitMask (ElNouby et al., 2021). The two functions, ${ \mathcal { F } } ^ { \prime }$ and $\mathcal { R }$ , are both based on self-attention. ${ \mathcal { F } } ^ { \prime }$ (called encoder in MAE) only processes the visible patches $\mathbf { X } _ { v }$ , and $\mathcal { R }$ (called decoder in MAE) processes both the latent representations $\mathbf { Z } _ { v }$ of the visible patches and the mask queries $( \mathbf { Q } _ { m } )$ and updates them simultaneously.
411
+
412
+ ![](images/cfa7023d1ef7e9fd6de32e6016a965df619b32f401fd80eb6c1f321a8c903cf3.jpg)
413
+ Figure 9: The attention maps over two sets of randomly cropped images (the 1st the 5th rows) for MoCo v3 (the 2nd the 6th rows), MAE (the 3rd the 7th rows), and our CAE (the 4th the 8th rows) pretrained on ImageNet-1K. The contrastive learning method, MoCo v3, tends to focus mainly on the object region and little on other regions. However, MIM-based models, CAE and MAE, tend to consider almost all the patches. The attention maps over the original images are shown in Figure 4 in the main paper.
414
+
415
+ After pretrained on ImageNet-1K (where the object mainly lies in the center) the encoder is able to learn the knowledge of the 1000 classes and localize the region containing the object belonging to the 1000 classes. It is not necessary that the object lies in the center for the testing image. We show the attention maps of MoCo v3 and our CAE for random crops in Figure 9. This further verifies that MoCo v3 (contrastive pretraining) pretrained on ImageNet-1K tends to attend to the object region, corresponding to the center region of the original image as shown in Figure 4 in the main paper.
416
+
417
+ ![](images/809cb5fede0e879c0dee572c3793c8961e35e3306d21874f07cb52155ec504d6.jpg)
418
+ Figure 10: The architecture for image reconstruction by skipping the latent regressor. After we pretrain the CAE model, we feed the full image (including visible patches and masked patches) to the pretrained CAE encoder and then the decoder by skipping the latent regressor.
419
+
420
+ Computational graph. We provide the computational graph for CAE, BEiT (Bao et al., 2021), denoising autoencoder, Masked autoencoder (He et al., 2022) and SplitMask (El-Nouby et al., 2021) (one stream) in Figure 7. Compared to our CAE, the main issue of MAE is that the so-called decoder $\mathcal { R }$ might have also the encoding role, i.e., learning semantic representations of the visible patches.
421
+
422
+ Image reconstruction by skipping the latent regressor. To verify that the input and output representation of latent contextual regressor lie in the same space, we conduct experiments on image reconstruction (e.g., the 2nd, 5th, and 8th columns of Figure 3 in the main paper) by using only the CAE encoder and decoder with the latent regressor skipped. After we pretrain the CAE model under two settings: w/ the alignment constraint and w/o the alignment constraint, we feed the full image (including visible patches and masked patches) to the pretrained CAE encoder and then the decoder by skipping the latent regressor, as shown in Figure 10. The pretrained CAE decoder outputs the reconstructed image. It can be seen that the image can be reconstructed with the semantics kept when training with the alignment constraint, verifying the input and the predicted representations lie in the same space. Otherwise, the reconstructed images are meaningless.
423
+
424
+ # C CONCURRENT WORK AND MORE RESULTS
425
+
426
+ Concurrent work. There are concurrently-developed MIM methods, e.g., extending MIM to frequency domain (Xie et al., 2022a; Liu et al., 2022), studying the scalability of MIM (Xie et al., 2022c), combining MIM with contrastive learning (Tao et al., 2022; Jing et al., 2022; Yi et al., 2022; Huang et al., 2022b), efficient pretraining (Zhang et al., 2022; Huang et al., 2022a; Chen et al., 2022), designing mask strategy Kakogeorgiou et al. (2022); Li et al. (2022a;c), studying how MIM works (Xie et al., 2022b; Li et al., 2022b; Kong & Zhang, 2022). Other variants (Wei et al., 2022; Li et al., 2022d) extend MIM through forming the targets using semantic encoders which is essentially a supervised learning method other than self-supervised learning.
427
+
428
+ Table 7: The results of some concurrently-developed self-supervised MIM methods for semantic segmentation on ADE20K, and object detection and instance segmentation on COCO with the Cascaded Mask-RCNN framework $1 \times$ schedule). ViT-B is used for all experiments. The segmentation results of other methods are from the corresponding paper, and all the detection results are from our implementation.
429
+
430
+ <table><tr><td rowspan="2"></td><td rowspan="2">Pretraining Dataset</td><td rowspan="2">#Epochs</td><td colspan="2">ADE</td><td colspan="2">COCO</td></tr><tr><td>mIoU</td><td></td><td>AP</td><td>APm</td></tr><tr><td>SplitMask (El-Nouby et al., 2021)</td><td>ADE20K</td><td>21000</td><td>45.7</td><td></td><td>=</td><td></td></tr><tr><td>Ge²-AE (Liu et al., 2022)</td><td>ImageNet-1K</td><td>800</td><td>48.9</td><td></td><td></td><td></td></tr><tr><td>A²MIM (Li et al., 2022b)</td><td>ImageNet-1K</td><td>800</td><td>49.0</td><td></td><td>-</td><td>-</td></tr><tr><td>MAE (He et al., 2022)</td><td>ImageNet-1K</td><td>1600</td><td>48.1</td><td></td><td>51.3</td><td>44.3</td></tr><tr><td>iBOT (Zhou et al., 2021)</td><td>ImageNet-1K</td><td>1600</td><td>50.0</td><td></td><td>51.2</td><td>44.2</td></tr><tr><td>CAE*</td><td>ImageNet-1K</td><td>300</td><td>48.3</td><td></td><td>51.6</td><td>44.6</td></tr><tr><td>CAE*</td><td>ImageNet-1K</td><td>800</td><td>49.7</td><td></td><td>52.8</td><td>45.5</td></tr><tr><td>CAE*</td><td>ImageNet-1K</td><td>1600</td><td>50.2</td><td></td><td>52.9</td><td>45.5</td></tr></table>
431
+
432
+ Segmentation and detection. Table 7 reports the results of semantic segmentation on ADE20K for some concurrent papers. We also report the results of object detection and instance segmentation under the Cascaded Mask R-CNN framework (Cai & Vasconcelos, 2021).
433
+
434
+ Downstream classification. We conduct fine-tuning experiments on three datasets: Food101 (Bossard et al., 2014), Clipart (Castrejon et al., 2016) and Sketch (Castrejon et al., 2016). Results in Table 8 shows that the proposed method outperforms previous supervised method (DeiT) and self-supervised methods (DINO, MAE).
435
+
436
+ Table 8: Top-1 classification accuracy on Food-101, Clipart and Sketch. ViT-B is used here.
437
+
438
+ <table><tr><td>Method</td><td>Supervised</td><td>Self-supervised</td><td>Food-101</td><td>Clipart</td><td>Sketch</td></tr><tr><td>Random Init.</td><td>×</td><td>×</td><td>82.77</td><td>52.90</td><td>46.42</td></tr><tr><td>DeiT</td><td>√</td><td>×</td><td>91.81</td><td>81.18</td><td>73.45</td></tr><tr><td>DINO</td><td>×</td><td>√</td><td>91.67</td><td>80.72</td><td>73.13</td></tr><tr><td>MAE</td><td>×</td><td>√</td><td>93.19</td><td>80.63</td><td>73.87</td></tr><tr><td>CAE*</td><td>×</td><td>√</td><td>93.32</td><td>81.84</td><td>74.65</td></tr></table>
439
+
440
+ Impact of pretraining targets. To study the impact of different pretraining targets on model performance, we conduct additional experiments on the RGB pixel value target. Comparing the results with DALL-E tokenizer and d-VAE tokenizer trained on ImageNet-1K, the model shows better linear probe and segmentation results but inferior in attentive probe, as shown in Table 9. Pretraining with these three targets obtains similar performance, illustrating that CAE does not rely on specific pretraining targets.
441
+
442
+ Table 9: Evaluation of different pretraining targets on the performance of CAE. ViT-B is used here. Models are trained for 1600 epochs.
443
+
444
+ <table><tr><td>Targets</td><td>LIN</td><td>ATT</td><td>ADE Seg</td></tr><tr><td>DALL-E tokenizer</td><td>70.4</td><td>77.1</td><td>50.2</td></tr><tr><td>d-VAE tokenizer</td><td>71.4</td><td>77.4</td><td>50.1</td></tr><tr><td>RGB pixel value</td><td>72.4</td><td>77.0</td><td>50.4</td></tr></table>
445
+
446
+ Training costs analysis. We report the runtime cost for the training process for ViT-B under the number of 1600 epochs in Table 10. The time cost is got with 4 machines with 8-GPU A100 and batch size is 2048. One can see that the time costs for different models are similar ( $\_$ BEiT slightly).
447
+
448
+ Table 10: Training cost analysis. ViT-B is used here. Models are trained for 1600 epochs.
449
+
450
+ <table><tr><td>Method</td><td>Epochs</td><td>Total Hours</td><td>Memory/GPU</td></tr><tr><td>BEiT</td><td>1600</td><td>115 hours</td><td>14330MiB</td></tr><tr><td>MAE</td><td>1600</td><td>85 hours</td><td>11222 MiB</td></tr><tr><td>CAE</td><td>1600</td><td>109 hours</td><td>13730 MiB</td></tr></table>
parse/dev/Gb2Rndy5595/Gb2Rndy5595_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/Gb2Rndy5595/Gb2Rndy5595_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/Gb2Rndy5595/Gb2Rndy5595_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/QDdJhACYrlX/QDdJhACYrlX.md ADDED
@@ -0,0 +1,369 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # THOMAS: TRAJECTORY HEATMAP OUTPUT WITH LEARNED MULTI-AGENT SAMPLING
2
+
3
+ Thomas Gilles1,2, Stefano Sabatini1, Dzmitry Tsishkou1, Bogdan Stanciulescu2, Fabien Moutarde2
4
+
5
+ 1IoV team, Paris Research Center, Huawei Technologies France 2Center for robotics, MINES ParisTech {stefano.sabatini, dzmitry.tsishkou}@huawei.com {thomas.gilles, bogdan.stanciulescu, fabien.moutarde}@mines-paristech.fr
6
+
7
+ # ABSTRACT
8
+
9
+ In this paper, we propose THOMAS, a joint multi-agent trajectory prediction framework allowing for an efficient and consistent prediction of multi-agent multimodal trajectories. We present a unified model architecture for simultaneous agent future heatmap estimation, in which we leverage hierarchical and sparse image generation for fast and memory-efficient inference. We propose a learnable trajectory recombination model that takes as input a set of predicted trajectories for each agent and outputs its consistent reordered recombination. This recombination module is able to realign the initially independent modalities so that they do no collide and are coherent with each other. We report our results on the Interaction multi-agent prediction challenge and rank $1 ^ { s t }$ on the online test leaderboard.
10
+
11
+ # 1 INTRODUCTION
12
+
13
+ Motion forecasting is an essential step in the pipeline of an autonomous driving vehicle, transforming perception data into future prediction which are then leveraged to plan the future moves of the autonomous cars. The self-driving stacks needs to predict the future trajectories for all the neighbor agents, in a fast and coherent way.
14
+
15
+ The interactivity between agents plays an important role for accurate trajectory prediction. Agents need to be aware of their neighbors in order to adapt their speed, yield right of way and merge in neighbor lanes. To do so, different interaction mechanisms have been developed, such as social pooling (Alahi et al., 2016; Lee et al., 2017; Deo & Trivedi, 2018), graphs (Salzmann et al., 2020; Zeng et al., 2021) or attention (Mercat et al., 2020; Messaoud et al., 2020; Luo et al., 2020; Gao et al., 2020; Liang et al., 2020), benefiting from the progress of powerful transformer architectures (Li et al., 2020; Yuan et al., 2021; Girgis et al., 2021; Ngiam et al., 2021) . These mechanisms allow agents to look at and share features with neighbors and to take them into account in their own predictions.
16
+
17
+ Multi-modality is another important aspect of the possible future trajectories. A car can indeed chose to turn right or left, or decide to realise a certain maneuver in various ways. Uncertainty modeled as variance of Gaussians is insufficient to model these multiple cases, as it can only represent a continuous spread and cannot show multiple discrete possibilities. Therefore, current state-of-the-art produces not one but $K$ possible trajectories for each agent predicted, and most recent benchmarks (Caesar et al., 2020; Chang et al., 2019; Zhan et al., 2019; Ettinger et al., 2021) include multimodality in their metrics, taking only the minimum error over a predicted set of $K$ trajectories.
18
+
19
+ However, up until very recently and the opening of multi-agent joint interaction challenges (Ettinger et al., 2021; Zhan et al., 2021), no motion forecasting prediction datasets were taking into account the coherence of modalities between different agents predicted at the same time. As a result, the most probable predicted modality of a given agent could crash with the most probable modality of another agent.
20
+
21
+ Our THOMAS model encodes the past trajectories of all the agents present in the scene, as well as the HD-Map lanelet graph, and then predicts for each agent a sparse heatmap representing the future probability distribution at a fixed timestep in the future, using hierarchical refinement for very efficient decoding. A deterministic sampling algorithm then iteratively selects the best K trajectory endpoints according to the heatmap for each agent, in order to represent a wide and diverse spectrum of modalities. Given this wide spectrum of endpoints, a recombination module takes care of addressing consistency in the scene among agents.
22
+
23
+ Our contributions are summarized as follow:
24
+
25
+ • We propose a hierarchical heatmap decoder allowing for unconstrained heatmap generation with optimized computational costs, enabling efficient simultaneous multi-agent prediction.
26
+ • We design a novel recombination model able to recombine the sampled endpoints to obtain scene-consistent trajectories across the agents.
27
+
28
+ # 2 RELATED WORK
29
+
30
+ Learning-based models have quickly overtaken physics-based methods for trajectory prediction for several reasons. First, the sequential nature of trajectories is a logical application for recurrent architectures (Alahi et al., 2016; Altche & de La Fortelle, 2017; Lee et al., 2017; Mercat et al., ´ 2020; Khandelwal et al., 2020). Then, benefiting from the latest progresses in computer vision, convolutional layers can easily be applied to bird-view rasters of the map context (Lee et al., 2017; Tang & Salakhutdinov, 2019; Cui et al., 2019; Hong et al., 2019; Salzmann et al., 2020; Chai et al., 2020; Gilles et al., 2021b). A more compact representation closer to the trajectory space can encode surrounding HD-Maps (usually formalized as connected lanelets), using Graph Neural Networks (Gao et al., 2020; Liang et al., 2020; Zeng et al., 2021; Gilles et al., 2021a). Finally, some pointbased approaches (Ye et al., 2021) can be applied in a broader way to trajectory prediction, as both lanes and trajectories can be considered as ordered set of points.
31
+
32
+ Multi-modality in prediction can be obtained through a multiple prediction head in the model (Cui et al., 2019; Liang et al., 2020; Ngiam et al., 2021; Deo et al., 2021). However, some methods rather adopt a candidate-based approach where potential endpoints are obtained either from anchor trajectories through clustering (Chai et al., 2020; Phan-Minh et al., 2020) or from a model-based generator (Song et al., 2021). Other approaches use a broader set of candidates from the context graph (Zhang et al., 2020; Zhao et al., 2020; Zeng et al., 2021; Kim et al., 2021) or a dense grid around the target agent (Deo & Trivedi, 2020; Gu et al., 2021; Gilles et al., 2021b;a). Another family of approaches use variational inference to generate diverse predictions through latent variables (Lee et al., 2017; Rhinehart et al., 2018; Tang & Salakhutdinov, 2019; Casas et al., 2020) or GAN (Gupta et al., 2018; Rhinehart et al., 2018; Sadeghian et al., 2019) but the sampling of these trajectories is stochastic and does not provide any probability value for each sample.
33
+
34
+ While very little work has directly tackled multi-agent prediction and evaluation so far, multiple methods hint at the ability to predict multiple agents at the same time (Liang et al., 2020; Ivanovic et al., 2020; Zeng et al., 2021) even if they then focus on a more single-agent oriented framework. Other works (Alahi et al., 2016; Tang & Salakhutdinov, 2019; Rhinehart et al., 2019; Girgis et al., 2021) use autoregressive roll-outs to condition the future step of an agent on the previous steps of all the other agents. SceneTransformer (Ngiam et al., 2021) repeats each agent features across possible modalities, and performs self-attention operations inside each modality before using a loss computed jointly among agents to train a model and evaluate on the WOMD dataset (Ettinger et al., 2021) interaction track. ILVM (Casas et al., 2020) uses scene latent representations conditioned on all agents to generate scene-consistent samples, but its variational inference does not provide a confidence score for each modality, hence LookOut (Cui et al., 2021) proposes a scenario scoring function and a diverse sampler to improve sample efficiency. AIR2 (Wu & Wu, 2021) extends Multipath (Chai et al., 2020) and produces a cross-distribution for two agents along all possible trajectory anchors, but it scales exponentially with the number of agents, making impractical for a real-time implementation that could encounter more than 10 agents at the same time.
35
+
36
+ The approach most related to this paper is GOHOME (Gilles et al., 2021a), which uses a similar graph encoder and then leverage lane rasters to generate a probability heatmap in a sparse manner. However, this lane-generated heatmap remains constrained to the drivable area and to fixed lanewidths. Another close approach is the one of DenseTNT (Gu et al., 2021), which also uses attention to a grid of points in order to obtain a dense prediction, but their grid also remains constrained to a neighborhood of the drivable area. Finally, none of these previous methods considers the problems of scene consistency for multi-agent prediction.
37
+
38
+ ![](images/5a3ba25a987b6d34843c249d488e98067ab815e58842c8473070164fbc0fe1ae.jpg)
39
+ Figure 1: Illustration of the THOMAS multi-agent prediction pipeline
40
+
41
+ # 3 METHOD
42
+
43
+ Our goal is to predict the future $T$ timesteps of $A$ agents using their past history made of $H$ timesteps and the HD-Map context. Similar to recent works (Zhao et al., 2020; Zeng et al., 2021; Gu et al., 2021), we will divide the problem into goal-based prediction followed by full trajectory reconstruction. Our prediction pipeline is displayed in Fig. 1. We first encode each agent trajectory and the HD-Map context graph into a common representation. We then decode a future probability heatmap for each agent in the scene, which we sample heuristically to maximize coverage. Finally, we recombine the sampled endpoints into scene-consistent modalities across agents and build the full trajectories for each agent.
44
+
45
+ Our pipeline shares the same graph encoder, sampling algorithm and full trajectory generation as GOHOME (Gilles et al., 2021a), but uses a novel efficient hierarchical heatmap process that enables to scale to simultaneous multi-agent prediction. Furthermore, we add a novel scene-consistency module that recombines the marginal outputs into a joint prediction.
46
+
47
+ # 3.1 MODEL BACKBONE
48
+
49
+ # 3.1.1 GRAPH ENCODER
50
+
51
+ We use the same encoder as the GOHOME model (Gilles et al., 2021a). The agent trajectories are encoded though T rajEncoder using a 1D CNN followed by a UGRU recurrent layer (Rozenberg et al., 2021), and the HD-Map is encoded as a lanelet graph using a GNN GraphEncoder made of graph convolutions. We then run cross-attention Lanes2Agents to add context information to the agent features, followed by self-attention Agents2Agents to observe interaction between agents. The final result is an encoding $F _ { a }$ for each agent, where history, context and interactions have been summarized. This encoding $F _ { a }$ is used in the next decoder operations and is also stored to be potentially used in modality recombination described in Sec. 3.2. The resulting architecture of these encoding operations is illustrated in the first half of Fig. 2.
52
+
53
+ ![](images/0703cba6cd80ceb93683e3249927f2f8c77652689a2df7e6e0a92b83f65aafd0.jpg)
54
+ Figure 2: Model architecture for multi-agent prediction with shared backbone
55
+
56
+ ![](images/cb2812d32407c26900f1d01873383bc5ca02a8bbe3edf9f8734a6647821212af.jpg)
57
+ Figure 3: Hierarchical iterative refinement of the grid probabilities. First, the full grid is evaluated at a very low resolution, then the highest cells are up-sampled and evaluated at a higher resolution, until final resolution is reached. We highlight in grey the restricted area considered for refinement at each step.
58
+
59
+ # 3.1.2 HIERARCHICAL GRID DECODER
60
+
61
+ Our aim here is to decode each agent encoding into a heatmap representing its future probability distribution at prediction horizon $T$ . Since we create this heatmap for each agent in the scene, the decoding process has to be fast so that it can be applied to a great number of agents in parallel. We use hierarchical predictions at various levels of resolutions so that the decoder has the possibility of predicting over the full surroundings of the agent but learns to refine with more precision only in places where the agent will end up with high probability. This hierarchical process is illustrated in Fig. 3.
62
+
63
+ Starting from an initial full dense grid probability at low resolution $R _ { 0 } \times R _ { 0 }$ by pixels, we iteratively refine the resolution by a fixed factor $f$ until we reach the desired final resolution $R _ { f i n a l } \times R _ { f i n a l }$ . At each iteration $i$ , we select only the $N _ { i }$ highest ranking grid points from the previous iteration, and upsample only these points to the $R _ { i } \times R _ { i } = R _ { i - 1 } / f \times R _ { i - 1 } / f$ . At each step, the grid points features are computed by a 2-layer MLP applied on the point coordinates, these features are then concatenated to the agent encoding and passed through a linear layer, and finally enriched by a 2- layer cross-attention on the graph lane features, before applying a linear layer with sigmoid to get the probability.
64
+
65
+ For a given $W$ output range, this hierarchical process allows the model to only operate on $W / _ { R _ { 0 } } \times$ $\textstyle W / R _ { 0 } { \dot { + } } \sum _ { i } N _ { i } \times { \bar { f } } ^ { 2 }$ grid points instead of the $W \big / R _ { f i n a l } \ \times \ W \big / R _ { f i n a l }$ available. In practice, for a final output range of 192 meters with desired $R _ { f i n a l } = 0 . 5 m$ resolution, we start with an initial resolution of $R _ { 0 } = 8 m$ and use two iterations of $\left( N _ { 1 } , N _ { 2 } \right) = \left( 1 6 , 6 4 \right)$ points each and an upscaling factor $f = 4$ . This way, we compute only 1856 grid points from the 147 456 available, with no performance loss.
66
+
67
+ The heatmap is trained on each resolution level using as pixel-wise focal loss as in Gilles et al. (2021b), detailed in Appendix A.3, with the ground truth being a Gaussian centered at the target agent future position.
68
+
69
+ # 3.1.3 FULL TRAJECTORY GENERATION
70
+
71
+ Having a heatmap as output grants us the good property of letting us decide to privilege coverage in order to give a wide spectrum of candidates to the scene recombination process. From each heatmap, we therefore decode $K$ end points using the same MissRate optimization algorithm as Gilles et al. (2021b). We then generate the full trajectories for each end point using also the same model, a fully-connected MLP. The MLP takes the car history and predicted endpoint as input and produces $T$ 2D-coordinates representing the full future trajectory. At training time, this model is trained using ground-truth endpoints.
72
+
73
+ ![](images/167fcee0a0b323d60a446df059598a89bce034f2549248e69ff9cb8b16df5573.jpg)
74
+ Figure 4: Illustration of THOMAS methods for generation of scene-consistent agent modalities
75
+
76
+ # 3.2 MODALITY RECOMBINATION FOR MULTI-AGENT CONSISTENT PREDICTION
77
+
78
+ The difficulty in multimodal multi-agent prediction resides in having coherent modalities between each agent. Since the modalities are considered scene-wise, each agent’s most probable modality has to match with the most probable prediction of the other agents, and so on. Moreover, these modalities must not collide with each other, as they should represent realistic scenarios.
79
+
80
+ Initially, the prediction output of the model can be defined as marginal, as all $A$ agents have been predicted and sampled independently in order to get $K$ possible endpoint each. Our goal is to output a set of scene predictions $\bar { \mathcal { I } } = ( \bar { L } , A )$ from the marginal prediction $\mathcal { M } = ( A , K )$ , where each scene modality $l$ belonging to $\mathcal { I }$ is an association of endpoints $p _ { l } ^ { a }$ for each agent $a$ . To achieve this, our main hypothesis lays in the fact that good trajectory proposals are already present in the marginal predictions, but they need to be coherently aligned among agents to achieve a set of overall consistent scene predictions. For a given agent $a$ , the modality selected for the scene $l$ would be a combination of this agent available marginal modalities $p _ { k } ^ { a } \in \mathcal { M }$ . Each scene modality $l$ would select a different association between the agents.
81
+
82
+ We illustrate our scene modality generation process in Fig. 4. The model learns $L$ scene modality embeddings $S _ { l }$ of $D$ features each. $K \times A$ agent modality vectors $A _ { k } ^ { a }$ are also derived from each agent modality endpoint. These vectors are obtained through a 2-layer MLP applied on the agent modality coordinates $p _ { k } ^ { a }$ , to which the stored agent encoding $F _ { a }$ (previously described in Sec. 3.1.1) is concatenated in order to help the model recognise modalities from the same agent. The scene modality vectors $S _ { l }$ are ’specialized’ by querying the available modality proposals $A _ { k } ^ { a }$ of each agent through cross-attention layers. Subsequently, a matching score $c _ { l } ^ { k , a }$ between each scene modality $S _ { l }$ and each agent modality $A _ { k } ^ { a }$ is computed. This matching score can be intuitively interpreted as the selection of the role (maneuver $k$ ) that the agent $a$ would play in the overall traffic scene $l$ :
83
+
84
+ $$
85
+ c _ { l } ^ { k , a } = S _ { l } . A _ { k } ^ { a T }
86
+ $$
87
+
88
+ Since argmax is non-differentiable, we employ a soft argmax as a weighted linear combination of the agent modalities $p _ { k } ^ { a }$ using a softmax on the $c _ { l } ^ { k , a }$ scores:
89
+
90
+ $$
91
+ p _ { l } ^ { a } = \sum _ { k } s o f t m a x ( c _ { l } ^ { k , a } ) p _ { k } ^ { a }
92
+ $$
93
+
94
+ The recombination module is trained with the scene-level minimum displacement error, where for each modality inside a single scene all predicted agent displacement losses are averaged before taking the minimum (winner-takes-all loss) over the $L$ scene modalities. A formal definiton of this loss, also used as a metric, is given in Eq. 2 in Sec. 4.2 $\mathrm { \ m i n S F D E } _ { k }$ ).
95
+
96
+ # 4 EXPERIMENTS
97
+
98
+ # 4.1 DATASET
99
+
100
+ We use the Interaction v1.2 dataset that has recently opened a new multi-agent track in the context of its Interpret challenge. It contains 47 584 training cases, 11 794 validation cases and 2 644 testing cases, with each case containing between 1 and 40 agents to predict simultaneously.
101
+
102
+ # 4.2 METRICS
103
+
104
+ For a set of $k$ predictions $p _ { k } ^ { a }$ for each agent $a$ in a scene, we report the minimum Final Displacement Error $( \mathrm { m i n F D E } _ { k } ,$ ) to the ground truth $\hat { p } ^ { a }$ and the MissRate $( \mathrm { M R } _ { k } )$ , whose definition of a miss is specified according to the evaluated dataset in Appendix A.1. In their usual marginal definition, these metrics are averaged over agents after the minimum operation, which means that the best modality of each agent is selected independently for each and then averaged:
105
+
106
+ $$
107
+ m i n F D E _ { k } = \frac { 1 } { A } \sum _ { a } m i n _ { k } \| p _ { k } ^ { a } - \hat { p } ^ { a } \| _ { 2 } , M R _ { k } = \frac { 1 } { A } \sum _ { a } m i n _ { k } \mathbb { 1 } _ { m i s s k } ^ { a }
108
+ $$
109
+
110
+ For consistent scene multi-agent prediction, we report the joint scene-level metrics, where the average operation over the agents is done before the minimum operator. In this formulation, the minimum is taken over scene modalities, meaning that only the best scene (joint over agents) modality is taken into account:
111
+
112
+ $$
113
+ m i n S F D E _ { k } = m i n _ { k } \frac { 1 } { A } \sum _ { a } \| p _ { k } ^ { a } - \hat { p } ^ { a } \| _ { 2 } , S M R _ { k } = m i n _ { k } \frac { 1 } { A } \sum _ { a } \mathbb { 1 } _ { m i s s k } ^ { a }
114
+ $$
115
+
116
+ In other words, the marginal metrics pick their optimal solutions in a pool of $k$ to the power of $a$ predicted solutions, while the joint metrics restrict this pool to only $k$ possibilities, making it a much more complex problem.
117
+
118
+ We also report the scene collision rate (SCR) which is the percentage of modalities where two or more agents collide together, and the consistent collision-free joint Miss Rate (cSMR), which is $S M R$ where colliding modalities are also counted as misses.
119
+
120
+ # 4.3 COMPARISON WITH STATE-OF-THE-ART
121
+
122
+ We compare our THOMAS model performance with other joint predictions methods ILVM (Casas et al., 2020) and SceneTransformer (Ngiam et al., 2021). For fair comparison, we use a GOHOME encoder for each of the method, and adapt them accordingly so that they predict only endpoints similar to our method. For each method, we focus on implementing the key idea meant to solve scene consistency and keep the remaining part of the model as close as possible to our approach for fair comparison:
123
+
124
+ ILVM (Casas et al., 2020) uses variational inference to learn a latent representation of the scene conditioned of each agent with a Scene Interaction Module, and decodes it with a similar Scene Interaction Module. The required number of modalities is obtained by sampling the latent space as many times as require. Even though the sampling is independent for each agent, the latent space is generated conditionally on all the agents.
125
+
126
+ SceneTransformer (Ngiam et al., 2021) duplicates the agent encoding with the number of modalities required and adds a one-hot encoding specific to each modality. They then apply a shared transformer architecture on all modalities to encode intra-modality interactions between agents and generate the final trajectories.
127
+
128
+ More details on the state-of-the-art method and the re-implementations we used are given in Appendix A.4. The results are reported in Tab. 1. While having comparable marginal distance performance (demonstrating that our model is not inherently more powerful or leveraging more information), THOMAS significantly outperforms other methods on every joint metric. SMR is improved by about $2 5 \%$ and SCR by almost $3 0 \%$ , leading to a combined cSMR decreased by also more than $2 \dot { 5 } \%$ . We also report our numbers from the Interpret multi-agent online test set leaderboard in Tab.
129
+
130
+ Table 1: Comparison of consistent solutions on Interpret multi-agent validation track
131
+
132
+ <table><tr><td rowspan="2"></td><td colspan="3">Marginal metrics</td><td colspan="3">Joint metrics</td></tr><tr><td>mADE mFDE</td><td>MR</td><td>mFDE</td><td>MR</td><td>SCR</td><td>cMR</td></tr><tr><td>ILVM (Casas et al., 2020)</td><td>0.30 0.62</td><td>10.8</td><td>0.84</td><td>19.8</td><td>5.7</td><td>21.3</td></tr><tr><td>SceneTranformer (Ngiam et al., 2021)</td><td>0.29 0.59</td><td>10.5</td><td>0.84</td><td>15.7</td><td>3.4</td><td>17.3</td></tr><tr><td>THOMAS</td><td>0.31 0.60</td><td>8.2</td><td>0.76</td><td>11.8</td><td>2.4</td><td>12.7</td></tr></table>
133
+
134
+ 5 of Appendix A.5. For better comparison with existing single-agent trajectory prediction state-ofthe-art, we provide evaluation numbers on the single-agents benchmarks Argoverse (Chang et al., 2019) and NuScenes (Caesar et al., 2020) in Appendix A.7.
135
+
136
+ # 4.4 ABLATION STUDIES
137
+
138
+ # 4.4.1 RECOMBINATION MODULE
139
+
140
+ We establish the following baselines to assess the effects our THOMAS recombination.
141
+
142
+ Scalar output: we train a model with the GOHOME graph encoder and a multimodal scalar regression head similar to Liang et al. (2020). We optimize it with either marginal and joint loss formulation.
143
+
144
+ Heatmap output with deterministic sampling: we try various sampling methods applied on the heatmap, with either the deterministic sampling as described in Gilles et al. (2021a) or a learned sampling trained to directly regress the sampled modalities from the input heatmap.
145
+
146
+ We report the comparison between the aforementioned baselines and THOMAS in Tab. 2. Compared to these baselines, THOMAS can be seen as an hybrid sampling method that takes the result of deterministic sampling as input and learns to recombine it into a more coherent solution. With regard to the joint algorithmic sampling that only tackled collisions but has little to no effect on actual consistency, as highlighted by the big drop in collision rate from $7 . 2 \%$ to $2 . 6 \%$ but a similar joint SMR, THOMAS actually brings a lot of consistency in the multi-agent prediction and drops the joint SMR from $1 4 . 8 \%$ to $\mathrm { { \dot { 1 } 1 . 8 \% } }$ .
147
+
148
+ Table 2: Comparison of consistent solutions on Interpret multi-agent validation track
149
+
150
+ <table><tr><td></td><td></td><td></td><td colspan="3">Marginal metrics</td><td colspan="4">Jointmetrics</td></tr><tr><td>Output</td><td>Sampling</td><td>Objective</td><td>mADE</td><td>mFDE</td><td>MR</td><td>mFDE</td><td>MR</td><td>Col</td><td>cMR</td></tr><tr><td>Scalar</td><td></td><td>Marg</td><td>0.28</td><td>0.59</td><td>10.4</td><td>1.04</td><td>23.7</td><td>6.4</td><td>24.9</td></tr><tr><td>Scalar</td><td></td><td>Joint</td><td>0.34</td><td>0.77</td><td>16.2</td><td>0.90</td><td>19.9</td><td>49</td><td>21.7</td></tr><tr><td>Heat</td><td>Learned</td><td>Marg</td><td>0.26</td><td>0.46</td><td>4.9</td><td>0.98</td><td>20.9</td><td>4.1</td><td>21.9</td></tr><tr><td>Heat</td><td>Learned</td><td>Joint</td><td>0.29</td><td>0.58</td><td>9.8</td><td>0.88</td><td>15.2</td><td>3.0</td><td>16.4</td></tr><tr><td>Heat</td><td>Algo</td><td>Marg</td><td>0.29</td><td>0.54</td><td>3.8</td><td>0.83</td><td>14.8</td><td>7.2</td><td>15.9</td></tr><tr><td>Heat</td><td>Algo</td><td>Joint</td><td>0.29</td><td>0.54</td><td>3.8</td><td>0.83</td><td>14.8</td><td>2.6</td><td>15.6</td></tr><tr><td>Heat</td><td>Combi</td><td>Joint</td><td>0.31</td><td>0.60</td><td>8.2</td><td>0.76</td><td>11.8</td><td>2.4</td><td>12.7</td></tr></table>
151
+
152
+ Usually, scalar marginal models already suffer from learning difficulties as only one output modality, the closest one to ground, can be trained at a time. Some modalities may therefore converge faster to acceptable solutions, and benefit from a much increased number of training samples compared to the others. This problem is aggravated in the joint training case, since the modality selected is the same for all agents in a training sample. The joint scalar model therefore actually fails to learn multi-modality as illustrated by a higher marginal $\mathrm { m i n F D E _ { 6 } }$ than any other model, and an extremely high crossCollisionRate since some modalities never train and always point to the same coordinates regardless of the queried agent. Note that, despite a similar training loss, SceneTransformer doesn’t suffer of the same pitfalls in Tab. 1 as is shares the same weights between all modalities and only differentiates them in the initialization of the features.
153
+
154
+ # 4.5 HIERARCHICAL HEATMAP REFINEMENT
155
+
156
+ We assess the speed gain of our proposed hierarchical decoder compared to the lane rasters of GOHOME Gilles et al. (2021a). In Tab. 3. We report training time for 16 epochs with a batchsize of 16, and inference time for 32 and 128 simultaneous agents.
157
+
158
+ Table 3: Comparison of consistent solutions on Interpret multi-agent validation track
159
+
160
+ <table><tr><td></td><td>Training</td><td>Inference 32 agents</td><td>Inference 128 agents</td></tr><tr><td>GOHOME</td><td>12.8 hours</td><td>36 ms</td><td>90 ms</td></tr><tr><td>THOMAS</td><td>7.5 hours</td><td>20 ms</td><td>31 ms</td></tr></table>
161
+
162
+ For additional comparison, the other existing dense prediction method DenseTNT (Gu et al., 2021) reports an inference speed of $1 0 0 \mathrm { m s }$ per sample for their model.
163
+
164
+ # 4.6 QUALITATIVE EXAMPLES
165
+
166
+ In this section, we will mostly compare the model before recombination, which we will refer by the Before model, to the model after recombination, referenced as the Af ter model. We display four qualitative examples in Fig. 5 with colliding modalities in the Before model (in dashed orange) and the solved modality (in full line orange) after recombination. For each model (Before-dashed or Af ter-full), the highlighted modality in orange is the best modality according to the $S M R _ { 6 }$ metric among the 6 available modalities. We also display in dashed grey the other 5 predicted Before modalities, and highlight that the recombination model indeed selects modalities already available in the vanilla set and reorders them so that non-colliding modalities are aligned together.
167
+
168
+ ![](images/2ab60ac29fca607437fdd3b01a0d78606f2110dc5906eba1c06697aeea3f8509.jpg)
169
+ Figure 5: Qualitative examples of recombination model assembling collision-free modalities together compared to initial colliding modalities. For each example we display the general context with highlighted agents and area of interest, then two zooms in on the agents, one displaying the initial best modality before recombination in dashed orange and all the other available modalities in grey. The second zooms shows the best modality after recombination in full line orange.
170
+
171
+ We also show more qualitative examples in Fig. 6, where we highlight the comparison in modality diversity between the Before model (in dashed lines) and the Af ter model (in full lines). While the Bef ore model tries to spread the modalities for all agents to minimize marginal miss-rate, the recombined model presents much less spread compared to the original model, maintaining a multimodal behavior only in presence of very different possible agent intentions such as different possible exits or turn choices. For most other agents, almost all modalities are located at the same position, that is, the one deemed the most likely by the model. Thus, if the truly uncertain agents have to select the second or third most likely modality, the other agents still have their own most likely modality
172
+
173
+ ![](images/f2aa394fced168b31ab355c9972d010e64ac3fc2ef104a28f4c3825000c2ecf9.jpg)
174
+ Figure 6: Qualitative examples of recombination model selecting fewer but more pronounced and impactful agent modalities compared to initial colliding modalities. For each example we display on the left the vanilla model modalities with dashed lines, with the initial best modality in dashed orange and all the other available modalities in grey. On the right we display the selected modalities after recombination, where the model focuses on the most likely occurrence in most agents.
175
+
176
+ # 5 CONCLUSION
177
+
178
+ We have presented THOMAS, a recombination module that can be added after any trajectory prediction module outputing multi-modal predictions. By design, THOMAS allows to generate sceneconsistent modalities across all agents by making the scene modalities select coherent agent modalities and restricting the modality budget on the agents that truly need it. We show significant performance increase when adding the THOMAS module compared to the vanilla model and achieve state-of-the-art results compared to already existing methods tackling scene-consistent predictions.
179
+
180
+ # REPRODUCIBILITY STATEMENT
181
+
182
+ We use the publicly available Interaction 1.2 dataset (Zhan et al., 2019) available at http:// challenge.interaction-dataset.com/dataset/download. We detail dataset preprocessing in Appendix A.2, training process in Appendix A.3 and give a precise illustration of our model architecture with each layer size in A.8.
183
+
184
+ # REFERENCES
185
+
186
+ Alexandre Alahi, Kratarth Goel, Vignesh Ramanathan, Alexandre Robicquet, Li Fei-Fei, and Silvio Savarese. Social lstm: Human trajectory prediction in crowded spaces. In CVPR, 2016.
187
+
188
+ Florent Altche and Arnaud de La Fortelle. An lstm network for highway trajectory prediction. In ´ ITSC, 2017.
189
+
190
+ Holger Caesar, Varun Bankiti, Alex H Lang, Sourabh Vora, Venice Erin Liong, Qiang Xu, Anush Krishnan, Yu Pan, Giancarlo Baldan, and Oscar Beijbom. nuscenes prediction competition. https: //eval.ai/web/challenges/challenge-page/591/leaderboard/1659. Accessed: 2021-11-20.
191
+
192
+ Holger Caesar, Varun Bankiti, Alex H Lang, Sourabh Vora, Venice Erin Liong, Qiang Xu, Anush Krishnan, Yu Pan, Giancarlo Baldan, and Oscar Beijbom. nuscenes: A multimodal dataset for autonomous driving. In CVPR, 2020.
193
+
194
+ Sergio Casas, Cole Gulino, Simon Suo, Katie Luo, Renjie Liao, and Raquel Urtasun. Implicit latent variable model for scene-consistent motion forecasting. In ECCV, 2020.
195
+
196
+ Yuning Chai, Benjamin Sapp, Mayank Bansal, and Dragomir Anguelov. Multipath: Multiple probabilistic anchor trajectory hypotheses for behavior prediction. In CoRL, 2020.
197
+
198
+ Ming-Fang Chang, John Lambert, Patsorn Sangkloy, Jagjeet Singh, Slawomir Bak, Andrew Hartnett, De Wang, Peter Carr, Simon Lucey, Deva Ramanan, et al. Argoverse motion forecasting competition. https://eval.ai/web/challenges/challenge-page/454/ leaderboard/1279. Accessed: 2021-11-20.
199
+
200
+ Ming-Fang Chang, John Lambert, Patsorn Sangkloy, Jagjeet Singh, Slawomir Bak, Andrew Hartnett, De Wang, Peter Carr, Simon Lucey, Deva Ramanan, et al. Argoverse: 3d tracking and forecasting with rich maps. In CVPR, 2019.
201
+
202
+ Alexander Cui, Sergio Casas, Abbas Sadat, Renjie Liao, and Raquel Urtasun. Lookout: Diverse multi-future prediction and planning for self-driving. In ICCV, 2021.
203
+
204
+ Henggang Cui, Vladan Radosavljevic, Fang-Chieh Chou, Tsung-Han Lin, Thi Nguyen, Tzu-Kuo Huang, Jeff Schneider, and Nemanja Djuric. Multimodal trajectory predictions for autonomous driving using deep convolutional networks. In ICRA, 2019.
205
+
206
+ Nachiket Deo and Mohan M Trivedi. Convolutional social pooling for vehicle trajectory prediction. In CVPR, 2018.
207
+
208
+ Nachiket Deo and Mohan M Trivedi. Trajectory forecasts in unknown environments conditioned on grid-based plans. arXiv:2001.00735, 2020.
209
+
210
+ Nachiket Deo, Eric M Wolff, and Oscar Beijbom. Multimodal trajectory prediction conditioned on lane-graph traversals. In CoRL, 2021.
211
+
212
+ Scott Ettinger, Shuyang Cheng, Benjamin Caine, Chenxi Liu, Hang Zhao, Sabeek Pradhan, Yuning Chai, Ben Sapp, Charles Qi, Yin Zhou, et al. Large scale interactive motion forecasting for autonomous driving: The waymo open motion dataset. arXiv:2104.10133, 2021.
213
+
214
+ Jiyang Gao, Chen Sun, Hang Zhao, Yi Shen, Dragomir Anguelov, Congcong Li, and Cordelia Schmid. Vectornet: Encoding hd maps and agent dynamics from vectorized representation. In CVPR, 2020.
215
+
216
+ Thomas Gilles, Stefano Sabatini, Dzmitry Tsishkou, Bogdan Stanciulescu, and Fabien Moutarde. Gohome: Graph-oriented heatmap output forfuture motion estimation. arXiv preprint arXiv:2108.09640, 2021a.
217
+
218
+ Thomas Gilles, Stefano Sabatini, Dzmitry Tsishkou, Bogdan Stanciulescu, and Fabien Moutarde. Home: Heatmap output for future motion estimation. In ITSC, 2021b.
219
+
220
+ Roger Girgis, Florian Golemo, Felipe Codevilla, Jim Aldon D’Souza, Martin Weiss, Samira Ebrahimi Kahou, Felix Heide, and Christopher Pal. Autobots: Latent variable sequential set transformers. arXiv:2104.00563, 2021.
221
+
222
+ Junru Gu, Chen Sun, and Hang Zhao. Densetnt: End-to-end trajectory prediction from dense goal sets. In ICCV, 2021.
223
+
224
+ Agrim Gupta, Justin Johnson, Li Fei-Fei, Silvio Savarese, and Alexandre Alahi. Social gan: Socially acceptable trajectories with generative adversarial networks. In CVPR, 2018.
225
+
226
+ Joey Hong, Benjamin Sapp, and James Philbin. Rules of the road: Predicting driving behavior with a convolutional model of semantic interactions. In CVPR, 2019.
227
+
228
+ Boris Ivanovic, Amine Elhafsi, Guy Rosman, Adrien Gaidon, and Marco Pavone. Mats: An interpretable trajectory forecasting representation for planning and control. In CoRL, 2020.
229
+
230
+ Siddhesh Khandelwal, William Qi, Jagjeet Singh, Andrew Hartnett, and Deva Ramanan. What-if motion prediction for autonomous driving. arXiv:2008.10587, 2020.
231
+
232
+ ByeoungDo Kim, Seong Hyeon Park, Seokhwan Lee, Elbek Khoshimjonov, Dongsuk Kum, Junsoo Kim, Jeong Soo Kim, and Jun Won Choi. Lapred: Lane-aware prediction of multi-modal future trajectories of dynamic agents. In CVPR, 2021.
233
+
234
+ Namhoon Lee, Wongun Choi, Paul Vernaza, Christopher B Choy, Philip HS Torr, and Manmohan Chandraker. Desire: Distant future prediction in dynamic scenes with interacting agents. In CVPR, 2017.
235
+
236
+ Lingyun Luke Li, Bin Yang, Ming Liang, Wenyuan Zeng, Mengye Ren, Sean Segal, and Raquel Urtasun. End-to-end contextual perception and prediction with interaction transformer. In IROS, 2020.
237
+
238
+ Ming Liang, Bin Yang, Rui Hu, Yun Chen, Renjie Liao, Song Feng, and Raquel Urtasun. Learning lane graph representations for motion forecasting. In ECCV, 2020.
239
+
240
+ Chenxu Luo, Lin Sun, Dariush Dabiri, and Alan Yuille. Probabilistic multi-modal trajectory prediction with lane attention for autonomous vehicles. arXiv:2007.02574, 2020.
241
+
242
+ Jean Mercat, Thomas Gilles, Nicole El Zoghby, Guillaume Sandou, Dominique Beauvois, and Guillermo Pita Gil. Multi-head attention for multi-modal joint vehicle motion forecasting. In ICRA, 2020.
243
+
244
+ Kaouther Messaoud, Nachiket Deo, Mohan M Trivedi, and Fawzi Nashashibi. Multi-head attention with joint agent-map representation for trajectory prediction in autonomous driving. arXiv:2005.02545, 2020.
245
+
246
+ Xiaoyu Mo, Yang Xing, and Chen Lv. Recog: A deep learning framework with heterogeneous graph for interaction-aware trajectory prediction. arXiv:2012.05032, 2020.
247
+
248
+ Sriram Narayanan, Ramin Moslemi, Francesco Pittaluga, Buyu Liu, and Manmohan Chandraker. Divide-and-conquer for lane-aware diverse trajectory prediction. In CVPR, 2021.
249
+
250
+ Jiquan Ngiam, Benjamin Caine, Vijay Vasudevan, Zhengdong Zhang, Hao-Tien Lewis Chiang, Jeffrey Ling, Rebecca Roelofs, Alex Bewley, Chenxi Liu, Ashish Venugopal, et al. Scene transformer: A unified multi-task model for behavior prediction and planning. arXiv preprint arXiv:2106.08417, 2021.
251
+
252
+ Tung Phan-Minh, Elena Corina Grigore, Freddy A Boulton, Oscar Beijbom, and Eric M Wolff. Covernet: Multimodal behavior prediction using trajectory sets. In CVPR, 2020.
253
+
254
+ Nicholas Rhinehart, Kris M Kitani, and Paul Vernaza. R2p2: A reparameterized pushforward policy for diverse, precise generative path forecasting. In ECCV, 2018.
255
+
256
+ Nicholas Rhinehart, Rowan McAllister, Kris Kitani, and Sergey Levine. Precog: Prediction conditioned on goals in visual multi-agent settings. In CVPR, 2019.
257
+
258
+ Raphael Rozenberg, Joseph Gesnouin, and Fabien Moutarde. Asymmetrical bi-rnn for pedestrian ¨ trajectory encoding. arXiv:2106.04419, 2021.
259
+
260
+ Amir Sadeghian, Vineet Kosaraju, Ali Sadeghian, Noriaki Hirose, Hamid Rezatofighi, and Silvio Savarese. Sophie: An attentive gan for predicting paths compliant to social and physical constraints. In CVPR, 2019.
261
+
262
+ Tim Salzmann, Boris Ivanovic, Punarjay Chakravarty, and Marco Pavone. Trajectron $^ { + + }$ : Dynamically-feasible trajectory forecasting with heterogeneous data. In ECCV, 2020.
263
+
264
+ Haoran Song, Di Luan, Wenchao Ding, Michael Yu Wang, and Qifeng Chen. Learning to predict vehicle trajectories with model-based planning. In CoRL, 2021.
265
+
266
+ Yichuan Charlie Tang and Ruslan Salakhutdinov. Multiple futures prediction. In NeurIPS, 2019.
267
+
268
+ Chuhua Wang, Yuchen Wang, Mingze Xu, and David J Crandall. Stepwise goal-driven networks for trajectory prediction. arXiv:2103.14107, 2021.
269
+
270
+ David Wu and Yunnan Wu. Air2 for interaction prediction. Waymo Open Dataset Challenges Reports, CVPR Workshop on Autonomous Driving, http://cvpr2021.wad.vision/, 2021.
271
+
272
+ Maosheng Ye, Tongyi Cao, and Qifeng Chen. Tpcn: Temporal point cloud networks for motion forecasting. In CVPR, 2021.
273
+
274
+ Ye Yuan, Xinshuo Weng, Yanglan Ou, and Kris Kitani. Agentformer: Agent-aware transformers for socio-temporal multi-agent forecasting. arXiv:2103.14023, 2021.
275
+
276
+ Wenyuan Zeng, Ming Liang, Renjie Liao, and Raquel Urtasun. Lanercnn: Distributed representations for graph-centric motion forecasting. In IROS, 2021.
277
+
278
+ Wei Zhan, Liting Sun, Di Wang, Haojie Shi, Aubrey Clausse, Maximilian Naumann, Julius Kummerle, Hendrik Konigshof, Christoph Stiller, Arnaud de La Fortelle, et al. Interaction dataset: An international, adversarial and cooperative motion dataset in interactive driving scenarios with semantic maps. arXiv:1910.03088, 2019.
279
+
280
+ Wei Zhan, Liting Sun, Di Wang, Haojie Shi, Aubrey Clausse, Maximilian Naumann, Julius Kummerle, Hendrik Konigshof, Christoph Stiller, Arnaud de La Fortelle, et al. Interpret: Interactiondataset-based prediction challenge. http://challenge.interaction-dataset. com/prediction-challenge/intro, 2021. Accessed: 2021-10-03.
281
+
282
+ Lingyao Zhang, Po-Hsun Su, Jerrick Hoang, Galen Clark Haynes, and Micol Marchetti-Bowick. Map-adaptive goal-based trajectory prediction. In CoRL, 2020.
283
+
284
+ Hang Zhao, Jiyang Gao, Tian Lan, Chen Sun, Benjamin Sapp, Balakrishnan Varadarajan, Yue Shen, Yi Shen, Yuning Chai, Cordelia Schmid, et al. Tnt: Target-driven trajectory prediction. CoRL, 2020.
285
+
286
+ # A APPENDIX
287
+
288
+ # A.1 METRIC DETAILS
289
+
290
+ We adopt for each dataset evaluation the miss definition as specified by the dataset benchmark. Argoverse (Chang et al., 2019) and NuScenes (Caesar et al., 2020) define a miss as the prediction being further than 2 meters to the ground truth, while Waymo (Ettinger et al., 2021) and Interaction Zhan et al. (2019)count a miss when the prediction is closer than a lateral (1m) and an longitudinal threshold with regard to speed:
291
+
292
+ $$
293
+ \mathrm { T h r e s h o l d } _ { \mathrm { \scriptsize ~ l o n } } = \left\{ \begin{array} { c c } { 1 } & { v < 1 . 4 m / s } \\ { 1 + \frac { v - 1 . 4 } { 1 1 - 1 . 4 } } & { 1 . 4 m / s \le v \le 1 1 m / s } \\ { 2 } & { v \ge 1 1 m / s } \end{array} \right.
294
+ $$
295
+
296
+ # A.2 DATASET PROCESSING
297
+
298
+ We use the training/validation split provided in Interaction 1.2. We select for each scene a reference agent on which the scene will be centered and oriented according to its heading at prediction time. At training time, this reference agent is chosen randomly across all agents. At validation and testing time, we compute the barycenter of all agents and select the closest agent as the scene reference point. We use for training all agents that have ground-truth available at prediction horizon $\mathrm { T } { = } 3 \mathrm { s }$ .
299
+
300
+ We use the provided dataset HD-Maps to create the context graphs. As in Liang et al. (2020), we use four relations:{predecessor, successor, $l e f t , r i g h t \}$ obtained from the lane graph connectivity. We upsample long lanelets to have a maximum of 10 points in each lanelet.
301
+
302
+ For each agent, we use their trajectory history made of position, yaw and speed in the past second sampled at $1 0 \mathrm { H z }$ . We also provide the model a mask indicating if the agent was present in a given time-frame, and pad with zeros when the agent is not tracked at a specific timestep.
303
+
304
+ # A.3 TRAINING DETAILS
305
+
306
+ We train all models with Adam optimizer and batchsize 32. We initialize the learning rate at $1 e ^ { - 3 }$ and divide it by 2 at epochs 3, 6, 9 and 13, before stopping the training at epoch 16. We use ReLU activation after every linear layer unless specified otherwise, and LayerNormalization after every attention and graph convolution layer.
307
+
308
+ During training, since a scene can contain up to 40 agents, which is too much for gradient computation in batches of 32, we restrict the number of predicted agents to 8 by randomly sampling them across available agents. We do not use other data augmentation.
309
+
310
+ The final heatmap $Y$ predicted cover a range of 192 meters at resolution $0 . 5 \mathrm { m }$ , hence a (384, 384) image. For heatmap generation, we use the same pixel-wise focal loss over the pixels $p$ as in Gilles et al. (2021b):
311
+
312
+ $$
313
+ L = - \frac { 1 } { P } \sum _ { p } ( Y _ { p } - \hat { Y } _ { p } ) ^ { 2 } f ( Y _ { p } , \hat { Y } _ { p } ) \mathrm { w i t h } f ( Y _ { p } , \hat { Y } _ { p } ) = \left\{ \begin{array} { l l } { \log ( \hat { Y } _ { p } ) } & { \mathrm { i f ~ } Y _ { p } = 1 } \\ { ( 1 - Y _ { p } ) ^ { 4 } \log ( 1 - \hat { Y } _ { p } ) } & { \mathrm { e l s e } } \end{array} \right.
314
+ $$
315
+
316
+ where $\hat { Y }$ is defined as a Gaussian centered on the agent future position at prediction horizon $T$ with a standard deviation of 4 pixels, equivalent to $2 \mathrm { m }$ .
317
+
318
+ # A.4 BASELINES IMPLEMENTATIONS
319
+
320
+ # A.4.1 IMPLICIT LATENT VARIABLE MODEL
321
+
322
+ We use a GOHOME encoder for the prior, posterior and decoder Scene Interaction Modules. We weight the KL term with $\beta = 1$ which worked best according to our experiments.
323
+
324
+ # A.4.2 SCENE TRANSFORMER
325
+
326
+ The initial paper applies a transformer architecture on a $[ F , A , T , D ]$ tensor where $F$ is the potential modality dimension, $A$ the agent dimension and $T$ the time dimension, with $D$ the feature embedding, with factorized self-attention to the agent and time dimensions separately, so that agents can look at each-other inside a specific scene modality. The resulting output is optimized using a jointly formalized loss. For our implementation, we get rid of the $T$ dimension as we focus on endpoint prediction and coherence between the $A$ agents. The initial encoded $[ A , D ]$ tensor is obtained with a GOHOME encoder, multiplied across the $F$ futures and concatenated with a modality-specific one-hot encoding as in Ngiam et al. (2021) to obtain the $[ F , A , D ]$ tensor. We then apply two layers of agent self-attention similar to the original paper, before decoding the endpoints through a MLP.
327
+
328
+ # A.4.3 COLLISION-FREE ENDPOINT SAMPLING BASELINE
329
+
330
+ We designed a deterministic sampling algorithm based on the heatmaps generated in previous section in order to sample endpoints for each agent in a collision aware manner. We use the same sampling algorithm as Gilles et al. (2021a) based on MR optimization, but add a sequential iteration over the agents for each modalities.
331
+
332
+ For a single modality $k$ , we predict the possible endpoint of a first agent $a$ by taking the maximum accumulated predicted probability under an area of radius $r$ . We then not only set to zero the heatmap values of this agent heatmap $\mathcal { T } _ { k ^ { \prime } } ^ { a }$ around the sampled location so not to sample it in the next modalities $k ^ { \prime }$ , but we also set to zero the same area on the heatmaps $\mathcal { T } _ { k } ^ { a ^ { \prime } }$ of the other agents $a ^ { \prime }$ on the same modality $k$ , so that these other agents cannot be sampled at the same position for this modality. This way, we try to enforce collision-free endpoints, and expect that considering collisions brings logic to improve the overall consistency of the predictions. However, as will be highlighted in Sec. 4.4, this methods significantly improves the collision rate without the need for any additional learned model but it does barely improve the multi agent consistency.
333
+
334
+ # A.5 RESULTS ON INTERPRET CHALLENGE
335
+
336
+ We also report our numbers from the Interpret multi-agent track challenge online leaderboard in Table 5. It is to be noted that the DenseTNT solution explicitely checks for collisions in the search for its proposed predictions, which we don’t, hence their $0 \%$ collision rate (SCR) and its direct impact on consistent collision-free joint Miss Rate (cSMR).
337
+
338
+ Table 4: Results on Interpret multi-agent regular scene leaderboard (test set)
339
+
340
+ <table><tr><td></td><td>minSADE</td><td>minSFDE</td><td>SMR</td><td>SCR</td><td>cSMR</td></tr><tr><td>MoliNet</td><td>0.73</td><td>2.55</td><td>44.4</td><td>7.5</td><td>47.4</td></tr><tr><td>ReCoG2 (Mo et al., 2020)</td><td>0.47</td><td>1.16</td><td>23.8</td><td>6.9</td><td>26.8</td></tr><tr><td>DenseTNT (Gu et al., 2021)</td><td>0.42</td><td>1.13</td><td>22.4</td><td>0.0</td><td>22.4</td></tr><tr><td>THOMAS</td><td>0.42</td><td>0.97</td><td>17.9</td><td>12.8</td><td>25.2</td></tr></table>
341
+
342
+ Table 5: Results on Interpret multi-agent conditional scene leaderboard (test set)
343
+
344
+ <table><tr><td></td><td>minSADE</td><td>minSFDE</td><td>SMR</td><td>SCR</td><td>cSMR</td></tr><tr><td>ReCoG2 (Mo et al., 2020)</td><td>0.33</td><td>0.87</td><td>14.98</td><td>0.09</td><td>15.12</td></tr><tr><td>DenseTNT (Gu et al., 2021)</td><td>0.28</td><td>0.89</td><td>15.02</td><td>0.0</td><td>15.02</td></tr><tr><td>THOMAS</td><td>0.31</td><td>0.72</td><td>10.67</td><td>0.84</td><td>11.63</td></tr></table>
345
+
346
+ # A.6 SPEED / PERFORMANCE TRADE-OFF WITH HIERARCHICAL REFINEMENT
347
+
348
+ We also display the trade-off between inference speed and coverage from hierarchical refinement in Fig. 7, evaluated on the Interpret multi-agent dataset with marginal MissRate6. The curve is obtained setting the number $N$ of upsampled points at the last refinement iteration from 2 to 128.
349
+
350
+ From $N = 1 6$ and lower, coverage performance starts to diminish while little speed gains are made. We still kept a relatively high $_ { \mathrm { N = 6 4 } }$ in our model as we wanted to insure a wide coverage, and the time loss between $4 1 ~ \mathrm { m s }$ and $4 6 \mathrm { m s }$ remains acceptable.
351
+
352
+ ![](images/4f12d90162723a8705e4a9c69025eb31c341b546352eed37d0aaf56dddc7c749.jpg)
353
+ Figure 7: Curve of MissRate $\mathrm { { \dot { 6 } } }$ with regard to inference time with varying number of points upsampled at the last hierarchical refinement iteration.
354
+
355
+ A.7 ADDITIONAL RESULTS ON SINGLE-AGENT DATASETS
356
+
357
+ Table 6: Argoverse Leaderboard (Chang et al.)
358
+
359
+ <table><tr><td rowspan="2"></td><td colspan="2">K=1</td><td colspan="3">K=6</td></tr><tr><td>minFDE</td><td>MR</td><td>minADE</td><td>minFDE</td><td>MR</td></tr><tr><td>LaneGCN (Liang et al., 2020)</td><td>3.78</td><td>59.1</td><td>0.87</td><td>1.36</td><td>16.3</td></tr><tr><td>Autobot (Girgis et al., 2021)</td><td></td><td></td><td>0.89</td><td>1.41</td><td>16</td></tr><tr><td>TPCN (Ye et al., 2021)</td><td>3.64</td><td>58.6</td><td>0.85</td><td>1.35</td><td>15.9</td></tr><tr><td>Jean (Mercat et al., 2020)</td><td>4.24</td><td>68.6</td><td>1.00</td><td>1.42</td><td>13.1</td></tr><tr><td>SceneTrans (Ngiam et al.,2021)</td><td>4.06</td><td>59.2</td><td>0.80</td><td>1.23</td><td>12.6</td></tr><tr><td>LaneRCNN (Zeng et al., 2021)</td><td>3.69</td><td>56.9</td><td>0.90</td><td>1.45</td><td>12.3</td></tr><tr><td>PRIME (Song et al., 2021)</td><td>3.82</td><td>58.7</td><td>1.22</td><td>1.56</td><td>11.5</td></tr><tr><td>DenseTNT (Gu et al., 2021)</td><td>3.70</td><td>59.9</td><td>0.94</td><td>1.49</td><td>10.5</td></tr><tr><td>GOHOME (Gilles et al., 2021a)</td><td>3.65</td><td>57.2</td><td>0.94</td><td>1.45</td><td>10.5</td></tr><tr><td>HOME (Gilles et al., 2021b)</td><td>3.65</td><td>57.1</td><td>0.93</td><td>1.44</td><td>9.8</td></tr><tr><td>THOMAS</td><td>3.59</td><td>56.1</td><td>0.94</td><td>1.44</td><td>10.4</td></tr></table>
360
+
361
+ Table 7: NuScenes Leaderboard (Caesar et al.)
362
+
363
+ <table><tr><td rowspan="2"></td><td colspan="2">K=5</td><td colspan="2">K=10</td><td rowspan="2">k=1 minFDE</td></tr><tr><td>minADE</td><td>MR</td><td>minADE</td><td>MR</td></tr><tr><td>CoverNet (Phan-Minh etal., 2020) Trajectron++ (Salzmann et al.,2020)</td><td>1.96</td><td>67</td><td>1.48</td><td>57</td><td></td></tr><tr><td></td><td>1.88</td><td>70</td><td>1.51</td><td></td><td>9.52</td></tr><tr><td>ALAN (Narayanan et al., 2021)</td><td>1.87</td><td>60</td><td>1.22</td><td>49</td><td>9.98</td></tr><tr><td>SG-Net (Wang et al., 2021)</td><td>1.86</td><td>67</td><td>1.40</td><td>52</td><td>9.25</td></tr><tr><td>WIMP (Khandelwal et al., 2020)</td><td>1.84</td><td>55</td><td>1.11</td><td>43</td><td>8.49</td></tr><tr><td>MHA-JAM (Messaoud et al., 2020)</td><td>1.81</td><td>59</td><td>1.24</td><td>46</td><td>8.57</td></tr><tr><td>CXX (Luo et al., 2020)</td><td>1.63</td><td>69</td><td>1.29</td><td>60</td><td>8.86</td></tr><tr><td>LaPred (Kim et al.,2021)</td><td>1.53</td><td></td><td>1.12</td><td></td><td>8.12</td></tr><tr><td>P2T (Deo &amp; Trivedi,2020)</td><td>1.45</td><td>64</td><td>1.16</td><td>46</td><td>10.50</td></tr><tr><td>GOHOME (Gilles et al., 2021a)</td><td>1.42</td><td>57</td><td>1.15</td><td>47</td><td>6.99</td></tr><tr><td>Autobot (Girgis et al., 2021)</td><td>1.37</td><td>62</td><td>1.03</td><td>44</td><td>8.19</td></tr><tr><td>PGP (Deo &amp; Trivedi, 2020)</td><td>1.30</td><td>57</td><td>0.98</td><td>37</td><td>7.72</td></tr><tr><td>THOMAS</td><td>1.33</td><td>55</td><td>1.04</td><td>1.04</td><td>6.71</td></tr></table>
364
+
365
+ ![](images/95909725efdeccdf0707b864994c727b2d2d3bc667aa020ba734d223f2e82f52.jpg)
366
+ Figure 8: Detailed illustration of our heatmap generator model
367
+
368
+ ![](images/9becef61539f1118df436f5341192c61d1cb7f755f868cd727b3bf797788ee40.jpg)
369
+ Figure 9: Qualitative examples of heatmap output from our multi-agent model. All the heatmaps from one scene are the results from one single forward pass in our model predicting all agents at once. We use matching colors for the agent history, current location and their future predicted heatmap (best viewed in color).
parse/dev/QDdJhACYrlX/QDdJhACYrlX_content_list.json ADDED
@@ -0,0 +1,1986 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "THOMAS: TRAJECTORY HEATMAP OUTPUT WITH LEARNED MULTI-AGENT SAMPLING ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 98,
9
+ 823,
10
+ 146
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Thomas Gilles1,2, Stefano Sabatini1, Dzmitry Tsishkou1, Bogdan Stanciulescu2, Fabien Moutarde2 ",
17
+ "bbox": [
18
+ 186,
19
+ 169,
20
+ 867,
21
+ 185
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "1IoV team, Paris Research Center, Huawei Technologies France 2Center for robotics, MINES ParisTech {stefano.sabatini, dzmitry.tsishkou}@huawei.com {thomas.gilles, bogdan.stanciulescu, fabien.moutarde}@mines-paristech.fr ",
28
+ "bbox": [
29
+ 181,
30
+ 185,
31
+ 879,
32
+ 227
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "ABSTRACT ",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 454,
42
+ 263,
43
+ 544,
44
+ 279
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "In this paper, we propose THOMAS, a joint multi-agent trajectory prediction framework allowing for an efficient and consistent prediction of multi-agent multimodal trajectories. We present a unified model architecture for simultaneous agent future heatmap estimation, in which we leverage hierarchical and sparse image generation for fast and memory-efficient inference. We propose a learnable trajectory recombination model that takes as input a set of predicted trajectories for each agent and outputs its consistent reordered recombination. This recombination module is able to realign the initially independent modalities so that they do no collide and are coherent with each other. We report our results on the Interaction multi-agent prediction challenge and rank $1 ^ { s t }$ on the online test leaderboard. ",
51
+ "bbox": [
52
+ 233,
53
+ 294,
54
+ 764,
55
+ 434
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1 INTRODUCTION ",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 176,
65
+ 460,
66
+ 336,
67
+ 476
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Motion forecasting is an essential step in the pipeline of an autonomous driving vehicle, transforming perception data into future prediction which are then leveraged to plan the future moves of the autonomous cars. The self-driving stacks needs to predict the future trajectories for all the neighbor agents, in a fast and coherent way. ",
74
+ "bbox": [
75
+ 174,
76
+ 492,
77
+ 823,
78
+ 547
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "The interactivity between agents plays an important role for accurate trajectory prediction. Agents need to be aware of their neighbors in order to adapt their speed, yield right of way and merge in neighbor lanes. To do so, different interaction mechanisms have been developed, such as social pooling (Alahi et al., 2016; Lee et al., 2017; Deo & Trivedi, 2018), graphs (Salzmann et al., 2020; Zeng et al., 2021) or attention (Mercat et al., 2020; Messaoud et al., 2020; Luo et al., 2020; Gao et al., 2020; Liang et al., 2020), benefiting from the progress of powerful transformer architectures (Li et al., 2020; Yuan et al., 2021; Girgis et al., 2021; Ngiam et al., 2021) . These mechanisms allow agents to look at and share features with neighbors and to take them into account in their own predictions. ",
85
+ "bbox": [
86
+ 174,
87
+ 555,
88
+ 825,
89
+ 680
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "Multi-modality is another important aspect of the possible future trajectories. A car can indeed chose to turn right or left, or decide to realise a certain maneuver in various ways. Uncertainty modeled as variance of Gaussians is insufficient to model these multiple cases, as it can only represent a continuous spread and cannot show multiple discrete possibilities. Therefore, current state-of-the-art produces not one but $K$ possible trajectories for each agent predicted, and most recent benchmarks (Caesar et al., 2020; Chang et al., 2019; Zhan et al., 2019; Ettinger et al., 2021) include multimodality in their metrics, taking only the minimum error over a predicted set of $K$ trajectories. ",
96
+ "bbox": [
97
+ 174,
98
+ 686,
99
+ 825,
100
+ 784
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "However, up until very recently and the opening of multi-agent joint interaction challenges (Ettinger et al., 2021; Zhan et al., 2021), no motion forecasting prediction datasets were taking into account the coherence of modalities between different agents predicted at the same time. As a result, the most probable predicted modality of a given agent could crash with the most probable modality of another agent. ",
107
+ "bbox": [
108
+ 174,
109
+ 791,
110
+ 823,
111
+ 861
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "Our THOMAS model encodes the past trajectories of all the agents present in the scene, as well as the HD-Map lanelet graph, and then predicts for each agent a sparse heatmap representing the future probability distribution at a fixed timestep in the future, using hierarchical refinement for very efficient decoding. A deterministic sampling algorithm then iteratively selects the best K trajectory endpoints according to the heatmap for each agent, in order to represent a wide and diverse spectrum of modalities. Given this wide spectrum of endpoints, a recombination module takes care of addressing consistency in the scene among agents. ",
118
+ "bbox": [
119
+ 174,
120
+ 867,
121
+ 823,
122
+ 924
123
+ ],
124
+ "page_idx": 0
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "",
129
+ "bbox": [
130
+ 176,
131
+ 103,
132
+ 825,
133
+ 146
134
+ ],
135
+ "page_idx": 1
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "Our contributions are summarized as follow: ",
140
+ "bbox": [
141
+ 176,
142
+ 152,
143
+ 465,
144
+ 166
145
+ ],
146
+ "page_idx": 1
147
+ },
148
+ {
149
+ "type": "text",
150
+ "text": "• We propose a hierarchical heatmap decoder allowing for unconstrained heatmap generation with optimized computational costs, enabling efficient simultaneous multi-agent prediction. \n• We design a novel recombination model able to recombine the sampled endpoints to obtain scene-consistent trajectories across the agents. ",
151
+ "bbox": [
152
+ 212,
153
+ 181,
154
+ 823,
155
+ 261
156
+ ],
157
+ "page_idx": 1
158
+ },
159
+ {
160
+ "type": "text",
161
+ "text": "2 RELATED WORK ",
162
+ "text_level": 1,
163
+ "bbox": [
164
+ 176,
165
+ 285,
166
+ 341,
167
+ 301
168
+ ],
169
+ "page_idx": 1
170
+ },
171
+ {
172
+ "type": "text",
173
+ "text": "Learning-based models have quickly overtaken physics-based methods for trajectory prediction for several reasons. First, the sequential nature of trajectories is a logical application for recurrent architectures (Alahi et al., 2016; Altche & de La Fortelle, 2017; Lee et al., 2017; Mercat et al., ´ 2020; Khandelwal et al., 2020). Then, benefiting from the latest progresses in computer vision, convolutional layers can easily be applied to bird-view rasters of the map context (Lee et al., 2017; Tang & Salakhutdinov, 2019; Cui et al., 2019; Hong et al., 2019; Salzmann et al., 2020; Chai et al., 2020; Gilles et al., 2021b). A more compact representation closer to the trajectory space can encode surrounding HD-Maps (usually formalized as connected lanelets), using Graph Neural Networks (Gao et al., 2020; Liang et al., 2020; Zeng et al., 2021; Gilles et al., 2021a). Finally, some pointbased approaches (Ye et al., 2021) can be applied in a broader way to trajectory prediction, as both lanes and trajectories can be considered as ordered set of points. ",
174
+ "bbox": [
175
+ 174,
176
+ 319,
177
+ 825,
178
+ 472
179
+ ],
180
+ "page_idx": 1
181
+ },
182
+ {
183
+ "type": "text",
184
+ "text": "Multi-modality in prediction can be obtained through a multiple prediction head in the model (Cui et al., 2019; Liang et al., 2020; Ngiam et al., 2021; Deo et al., 2021). However, some methods rather adopt a candidate-based approach where potential endpoints are obtained either from anchor trajectories through clustering (Chai et al., 2020; Phan-Minh et al., 2020) or from a model-based generator (Song et al., 2021). Other approaches use a broader set of candidates from the context graph (Zhang et al., 2020; Zhao et al., 2020; Zeng et al., 2021; Kim et al., 2021) or a dense grid around the target agent (Deo & Trivedi, 2020; Gu et al., 2021; Gilles et al., 2021b;a). Another family of approaches use variational inference to generate diverse predictions through latent variables (Lee et al., 2017; Rhinehart et al., 2018; Tang & Salakhutdinov, 2019; Casas et al., 2020) or GAN (Gupta et al., 2018; Rhinehart et al., 2018; Sadeghian et al., 2019) but the sampling of these trajectories is stochastic and does not provide any probability value for each sample. ",
185
+ "bbox": [
186
+ 174,
187
+ 479,
188
+ 825,
189
+ 632
190
+ ],
191
+ "page_idx": 1
192
+ },
193
+ {
194
+ "type": "text",
195
+ "text": "While very little work has directly tackled multi-agent prediction and evaluation so far, multiple methods hint at the ability to predict multiple agents at the same time (Liang et al., 2020; Ivanovic et al., 2020; Zeng et al., 2021) even if they then focus on a more single-agent oriented framework. Other works (Alahi et al., 2016; Tang & Salakhutdinov, 2019; Rhinehart et al., 2019; Girgis et al., 2021) use autoregressive roll-outs to condition the future step of an agent on the previous steps of all the other agents. SceneTransformer (Ngiam et al., 2021) repeats each agent features across possible modalities, and performs self-attention operations inside each modality before using a loss computed jointly among agents to train a model and evaluate on the WOMD dataset (Ettinger et al., 2021) interaction track. ILVM (Casas et al., 2020) uses scene latent representations conditioned on all agents to generate scene-consistent samples, but its variational inference does not provide a confidence score for each modality, hence LookOut (Cui et al., 2021) proposes a scenario scoring function and a diverse sampler to improve sample efficiency. AIR2 (Wu & Wu, 2021) extends Multipath (Chai et al., 2020) and produces a cross-distribution for two agents along all possible trajectory anchors, but it scales exponentially with the number of agents, making impractical for a real-time implementation that could encounter more than 10 agents at the same time. ",
196
+ "bbox": [
197
+ 174,
198
+ 638,
199
+ 825,
200
+ 847
201
+ ],
202
+ "page_idx": 1
203
+ },
204
+ {
205
+ "type": "text",
206
+ "text": "The approach most related to this paper is GOHOME (Gilles et al., 2021a), which uses a similar graph encoder and then leverage lane rasters to generate a probability heatmap in a sparse manner. However, this lane-generated heatmap remains constrained to the drivable area and to fixed lanewidths. Another close approach is the one of DenseTNT (Gu et al., 2021), which also uses attention to a grid of points in order to obtain a dense prediction, but their grid also remains constrained to a neighborhood of the drivable area. Finally, none of these previous methods considers the problems of scene consistency for multi-agent prediction. ",
207
+ "bbox": [
208
+ 176,
209
+ 854,
210
+ 823,
211
+ 924
212
+ ],
213
+ "page_idx": 1
214
+ },
215
+ {
216
+ "type": "image",
217
+ "img_path": "images/5a3ba25a987b6d34843c249d488e98067ab815e58842c8473070164fbc0fe1ae.jpg",
218
+ "image_caption": [
219
+ "Figure 1: Illustration of the THOMAS multi-agent prediction pipeline "
220
+ ],
221
+ "image_footnote": [],
222
+ "bbox": [
223
+ 178,
224
+ 101,
225
+ 823,
226
+ 213
227
+ ],
228
+ "page_idx": 2
229
+ },
230
+ {
231
+ "type": "text",
232
+ "text": "",
233
+ "bbox": [
234
+ 173,
235
+ 265,
236
+ 823,
237
+ 294
238
+ ],
239
+ "page_idx": 2
240
+ },
241
+ {
242
+ "type": "text",
243
+ "text": "3 METHOD ",
244
+ "text_level": 1,
245
+ "bbox": [
246
+ 174,
247
+ 314,
248
+ 282,
249
+ 330
250
+ ],
251
+ "page_idx": 2
252
+ },
253
+ {
254
+ "type": "text",
255
+ "text": "Our goal is to predict the future $T$ timesteps of $A$ agents using their past history made of $H$ timesteps and the HD-Map context. Similar to recent works (Zhao et al., 2020; Zeng et al., 2021; Gu et al., 2021), we will divide the problem into goal-based prediction followed by full trajectory reconstruction. Our prediction pipeline is displayed in Fig. 1. We first encode each agent trajectory and the HD-Map context graph into a common representation. We then decode a future probability heatmap for each agent in the scene, which we sample heuristically to maximize coverage. Finally, we recombine the sampled endpoints into scene-consistent modalities across agents and build the full trajectories for each agent. ",
256
+ "bbox": [
257
+ 174,
258
+ 347,
259
+ 825,
260
+ 459
261
+ ],
262
+ "page_idx": 2
263
+ },
264
+ {
265
+ "type": "text",
266
+ "text": "Our pipeline shares the same graph encoder, sampling algorithm and full trajectory generation as GOHOME (Gilles et al., 2021a), but uses a novel efficient hierarchical heatmap process that enables to scale to simultaneous multi-agent prediction. Furthermore, we add a novel scene-consistency module that recombines the marginal outputs into a joint prediction. ",
267
+ "bbox": [
268
+ 174,
269
+ 465,
270
+ 825,
271
+ 522
272
+ ],
273
+ "page_idx": 2
274
+ },
275
+ {
276
+ "type": "text",
277
+ "text": "3.1 MODEL BACKBONE",
278
+ "text_level": 1,
279
+ "bbox": [
280
+ 176,
281
+ 540,
282
+ 349,
283
+ 554
284
+ ],
285
+ "page_idx": 2
286
+ },
287
+ {
288
+ "type": "text",
289
+ "text": "3.1.1 GRAPH ENCODER ",
290
+ "text_level": 1,
291
+ "bbox": [
292
+ 176,
293
+ 566,
294
+ 349,
295
+ 580
296
+ ],
297
+ "page_idx": 2
298
+ },
299
+ {
300
+ "type": "text",
301
+ "text": "We use the same encoder as the GOHOME model (Gilles et al., 2021a). The agent trajectories are encoded though T rajEncoder using a 1D CNN followed by a UGRU recurrent layer (Rozenberg et al., 2021), and the HD-Map is encoded as a lanelet graph using a GNN GraphEncoder made of graph convolutions. We then run cross-attention Lanes2Agents to add context information to the agent features, followed by self-attention Agents2Agents to observe interaction between agents. The final result is an encoding $F _ { a }$ for each agent, where history, context and interactions have been summarized. This encoding $F _ { a }$ is used in the next decoder operations and is also stored to be potentially used in modality recombination described in Sec. 3.2. The resulting architecture of these encoding operations is illustrated in the first half of Fig. 2. ",
302
+ "bbox": [
303
+ 173,
304
+ 590,
305
+ 825,
306
+ 717
307
+ ],
308
+ "page_idx": 2
309
+ },
310
+ {
311
+ "type": "image",
312
+ "img_path": "images/0703cba6cd80ceb93683e3249927f2f8c77652689a2df7e6e0a92b83f65aafd0.jpg",
313
+ "image_caption": [
314
+ "Figure 2: Model architecture for multi-agent prediction with shared backbone "
315
+ ],
316
+ "image_footnote": [],
317
+ "bbox": [
318
+ 176,
319
+ 746,
320
+ 818,
321
+ 887
322
+ ],
323
+ "page_idx": 2
324
+ },
325
+ {
326
+ "type": "image",
327
+ "img_path": "images/cb2812d32407c26900f1d01873383bc5ca02a8bbe3edf9f8734a6647821212af.jpg",
328
+ "image_caption": [
329
+ "Figure 3: Hierarchical iterative refinement of the grid probabilities. First, the full grid is evaluated at a very low resolution, then the highest cells are up-sampled and evaluated at a higher resolution, until final resolution is reached. We highlight in grey the restricted area considered for refinement at each step. "
330
+ ],
331
+ "image_footnote": [],
332
+ "bbox": [
333
+ 178,
334
+ 102,
335
+ 820,
336
+ 262
337
+ ],
338
+ "page_idx": 3
339
+ },
340
+ {
341
+ "type": "text",
342
+ "text": "3.1.2 HIERARCHICAL GRID DECODER ",
343
+ "text_level": 1,
344
+ "bbox": [
345
+ 176,
346
+ 375,
347
+ 446,
348
+ 388
349
+ ],
350
+ "page_idx": 3
351
+ },
352
+ {
353
+ "type": "text",
354
+ "text": "Our aim here is to decode each agent encoding into a heatmap representing its future probability distribution at prediction horizon $T$ . Since we create this heatmap for each agent in the scene, the decoding process has to be fast so that it can be applied to a great number of agents in parallel. We use hierarchical predictions at various levels of resolutions so that the decoder has the possibility of predicting over the full surroundings of the agent but learns to refine with more precision only in places where the agent will end up with high probability. This hierarchical process is illustrated in Fig. 3. ",
355
+ "bbox": [
356
+ 173,
357
+ 406,
358
+ 825,
359
+ 503
360
+ ],
361
+ "page_idx": 3
362
+ },
363
+ {
364
+ "type": "text",
365
+ "text": "Starting from an initial full dense grid probability at low resolution $R _ { 0 } \\times R _ { 0 }$ by pixels, we iteratively refine the resolution by a fixed factor $f$ until we reach the desired final resolution $R _ { f i n a l } \\times R _ { f i n a l }$ . At each iteration $i$ , we select only the $N _ { i }$ highest ranking grid points from the previous iteration, and upsample only these points to the $R _ { i } \\times R _ { i } = R _ { i - 1 } / f \\times R _ { i - 1 } / f$ . At each step, the grid points features are computed by a 2-layer MLP applied on the point coordinates, these features are then concatenated to the agent encoding and passed through a linear layer, and finally enriched by a 2- layer cross-attention on the graph lane features, before applying a linear layer with sigmoid to get the probability. ",
366
+ "bbox": [
367
+ 174,
368
+ 510,
369
+ 825,
370
+ 622
371
+ ],
372
+ "page_idx": 3
373
+ },
374
+ {
375
+ "type": "text",
376
+ "text": "For a given $W$ output range, this hierarchical process allows the model to only operate on $W / _ { R _ { 0 } } \\times$ $\\textstyle W / R _ { 0 } { \\dot { + } } \\sum _ { i } N _ { i } \\times { \\bar { f } } ^ { 2 }$ grid points instead of the $W \\big / R _ { f i n a l } \\ \\times \\ W \\big / R _ { f i n a l }$ available. In practice, for a final output range of 192 meters with desired $R _ { f i n a l } = 0 . 5 m$ resolution, we start with an initial resolution of $R _ { 0 } = 8 m$ and use two iterations of $\\left( N _ { 1 } , N _ { 2 } \\right) = \\left( 1 6 , 6 4 \\right)$ points each and an upscaling factor $f = 4$ . This way, we compute only 1856 grid points from the 147 456 available, with no performance loss. ",
377
+ "bbox": [
378
+ 174,
379
+ 628,
380
+ 825,
381
+ 713
382
+ ],
383
+ "page_idx": 3
384
+ },
385
+ {
386
+ "type": "text",
387
+ "text": "The heatmap is trained on each resolution level using as pixel-wise focal loss as in Gilles et al. (2021b), detailed in Appendix A.3, with the ground truth being a Gaussian centered at the target agent future position. ",
388
+ "bbox": [
389
+ 174,
390
+ 719,
391
+ 825,
392
+ 762
393
+ ],
394
+ "page_idx": 3
395
+ },
396
+ {
397
+ "type": "text",
398
+ "text": "3.1.3 FULL TRAJECTORY GENERATION ",
399
+ "text_level": 1,
400
+ "bbox": [
401
+ 176,
402
+ 795,
403
+ 455,
404
+ 809
405
+ ],
406
+ "page_idx": 3
407
+ },
408
+ {
409
+ "type": "text",
410
+ "text": "Having a heatmap as output grants us the good property of letting us decide to privilege coverage in order to give a wide spectrum of candidates to the scene recombination process. From each heatmap, we therefore decode $K$ end points using the same MissRate optimization algorithm as Gilles et al. (2021b). We then generate the full trajectories for each end point using also the same model, a fully-connected MLP. The MLP takes the car history and predicted endpoint as input and produces $T$ 2D-coordinates representing the full future trajectory. At training time, this model is trained using ground-truth endpoints. ",
411
+ "bbox": [
412
+ 174,
413
+ 825,
414
+ 825,
415
+ 924
416
+ ],
417
+ "page_idx": 3
418
+ },
419
+ {
420
+ "type": "image",
421
+ "img_path": "images/167fcee0a0b323d60a446df059598a89bce034f2549248e69ff9cb8b16df5573.jpg",
422
+ "image_caption": [
423
+ "Figure 4: Illustration of THOMAS methods for generation of scene-consistent agent modalities "
424
+ ],
425
+ "image_footnote": [],
426
+ "bbox": [
427
+ 173,
428
+ 95,
429
+ 820,
430
+ 366
431
+ ],
432
+ "page_idx": 4
433
+ },
434
+ {
435
+ "type": "text",
436
+ "text": "3.2 MODALITY RECOMBINATION FOR MULTI-AGENT CONSISTENT PREDICTION ",
437
+ "text_level": 1,
438
+ "bbox": [
439
+ 178,
440
+ 416,
441
+ 730,
442
+ 430
443
+ ],
444
+ "page_idx": 4
445
+ },
446
+ {
447
+ "type": "text",
448
+ "text": "The difficulty in multimodal multi-agent prediction resides in having coherent modalities between each agent. Since the modalities are considered scene-wise, each agent’s most probable modality has to match with the most probable prediction of the other agents, and so on. Moreover, these modalities must not collide with each other, as they should represent realistic scenarios. ",
449
+ "bbox": [
450
+ 174,
451
+ 440,
452
+ 825,
453
+ 497
454
+ ],
455
+ "page_idx": 4
456
+ },
457
+ {
458
+ "type": "text",
459
+ "text": "Initially, the prediction output of the model can be defined as marginal, as all $A$ agents have been predicted and sampled independently in order to get $K$ possible endpoint each. Our goal is to output a set of scene predictions $\\bar { \\mathcal { I } } = ( \\bar { L } , A )$ from the marginal prediction $\\mathcal { M } = ( A , K )$ , where each scene modality $l$ belonging to $\\mathcal { I }$ is an association of endpoints $p _ { l } ^ { a }$ for each agent $a$ . To achieve this, our main hypothesis lays in the fact that good trajectory proposals are already present in the marginal predictions, but they need to be coherently aligned among agents to achieve a set of overall consistent scene predictions. For a given agent $a$ , the modality selected for the scene $l$ would be a combination of this agent available marginal modalities $p _ { k } ^ { a } \\in \\mathcal { M }$ . Each scene modality $l$ would select a different association between the agents. ",
460
+ "bbox": [
461
+ 173,
462
+ 503,
463
+ 825,
464
+ 630
465
+ ],
466
+ "page_idx": 4
467
+ },
468
+ {
469
+ "type": "text",
470
+ "text": "We illustrate our scene modality generation process in Fig. 4. The model learns $L$ scene modality embeddings $S _ { l }$ of $D$ features each. $K \\times A$ agent modality vectors $A _ { k } ^ { a }$ are also derived from each agent modality endpoint. These vectors are obtained through a 2-layer MLP applied on the agent modality coordinates $p _ { k } ^ { a }$ , to which the stored agent encoding $F _ { a }$ (previously described in Sec. 3.1.1) is concatenated in order to help the model recognise modalities from the same agent. The scene modality vectors $S _ { l }$ are ’specialized’ by querying the available modality proposals $A _ { k } ^ { a }$ of each agent through cross-attention layers. Subsequently, a matching score $c _ { l } ^ { k , a }$ between each scene modality $S _ { l }$ and each agent modality $A _ { k } ^ { a }$ is computed. This matching score can be intuitively interpreted as the selection of the role (maneuver $k$ ) that the agent $a$ would play in the overall traffic scene $l$ : ",
471
+ "bbox": [
472
+ 173,
473
+ 636,
474
+ 825,
475
+ 765
476
+ ],
477
+ "page_idx": 4
478
+ },
479
+ {
480
+ "type": "equation",
481
+ "img_path": "images/6f10896928ecdcb564bf6b0ae0cc8855193544b8d66f00fc70668f183db29218.jpg",
482
+ "text": "$$\nc _ { l } ^ { k , a } = S _ { l } . A _ { k } ^ { a T }\n$$",
483
+ "text_format": "latex",
484
+ "bbox": [
485
+ 449,
486
+ 770,
487
+ 549,
488
+ 790
489
+ ],
490
+ "page_idx": 4
491
+ },
492
+ {
493
+ "type": "text",
494
+ "text": "Since argmax is non-differentiable, we employ a soft argmax as a weighted linear combination of the agent modalities $p _ { k } ^ { a }$ using a softmax on the $c _ { l } ^ { k , a }$ scores: ",
495
+ "bbox": [
496
+ 173,
497
+ 794,
498
+ 823,
499
+ 825
500
+ ],
501
+ "page_idx": 4
502
+ },
503
+ {
504
+ "type": "equation",
505
+ "img_path": "images/a3cb1246375e83911e1c3dd3a3d07c8fd688315b5853000c0482ebd0667a70c6.jpg",
506
+ "text": "$$\np _ { l } ^ { a } = \\sum _ { k } s o f t m a x ( c _ { l } ^ { k , a } ) p _ { k } ^ { a }\n$$",
507
+ "text_format": "latex",
508
+ "bbox": [
509
+ 405,
510
+ 829,
511
+ 591,
512
+ 863
513
+ ],
514
+ "page_idx": 4
515
+ },
516
+ {
517
+ "type": "text",
518
+ "text": "The recombination module is trained with the scene-level minimum displacement error, where for each modality inside a single scene all predicted agent displacement losses are averaged before taking the minimum (winner-takes-all loss) over the $L$ scene modalities. A formal definiton of this loss, also used as a metric, is given in Eq. 2 in Sec. 4.2 $\\mathrm { \\ m i n S F D E } _ { k }$ ). ",
519
+ "bbox": [
520
+ 174,
521
+ 867,
522
+ 825,
523
+ 924
524
+ ],
525
+ "page_idx": 4
526
+ },
527
+ {
528
+ "type": "text",
529
+ "text": "4 EXPERIMENTS ",
530
+ "text_level": 1,
531
+ "bbox": [
532
+ 174,
533
+ 102,
534
+ 326,
535
+ 118
536
+ ],
537
+ "page_idx": 5
538
+ },
539
+ {
540
+ "type": "text",
541
+ "text": "4.1 DATASET ",
542
+ "text_level": 1,
543
+ "bbox": [
544
+ 174,
545
+ 133,
546
+ 279,
547
+ 148
548
+ ],
549
+ "page_idx": 5
550
+ },
551
+ {
552
+ "type": "text",
553
+ "text": "We use the Interaction v1.2 dataset that has recently opened a new multi-agent track in the context of its Interpret challenge. It contains 47 584 training cases, 11 794 validation cases and 2 644 testing cases, with each case containing between 1 and 40 agents to predict simultaneously. ",
554
+ "bbox": [
555
+ 174,
556
+ 160,
557
+ 825,
558
+ 203
559
+ ],
560
+ "page_idx": 5
561
+ },
562
+ {
563
+ "type": "text",
564
+ "text": "4.2 METRICS ",
565
+ "text_level": 1,
566
+ "bbox": [
567
+ 174,
568
+ 220,
569
+ 281,
570
+ 236
571
+ ],
572
+ "page_idx": 5
573
+ },
574
+ {
575
+ "type": "text",
576
+ "text": "For a set of $k$ predictions $p _ { k } ^ { a }$ for each agent $a$ in a scene, we report the minimum Final Displacement Error $( \\mathrm { m i n F D E } _ { k } ,$ ) to the ground truth $\\hat { p } ^ { a }$ and the MissRate $( \\mathrm { M R } _ { k } )$ , whose definition of a miss is specified according to the evaluated dataset in Appendix A.1. In their usual marginal definition, these metrics are averaged over agents after the minimum operation, which means that the best modality of each agent is selected independently for each and then averaged: ",
577
+ "bbox": [
578
+ 174,
579
+ 247,
580
+ 825,
581
+ 318
582
+ ],
583
+ "page_idx": 5
584
+ },
585
+ {
586
+ "type": "equation",
587
+ "img_path": "images/b9989602e5f081dc7ac4ea8a3040de0d3256ce416ffb3534d6e4f937f7ccba15.jpg",
588
+ "text": "$$\nm i n F D E _ { k } = \\frac { 1 } { A } \\sum _ { a } m i n _ { k } \\| p _ { k } ^ { a } - \\hat { p } ^ { a } \\| _ { 2 } , M R _ { k } = \\frac { 1 } { A } \\sum _ { a } m i n _ { k } \\mathbb { 1 } _ { m i s s k } ^ { a }\n$$",
589
+ "text_format": "latex",
590
+ "bbox": [
591
+ 264,
592
+ 324,
593
+ 732,
594
+ 362
595
+ ],
596
+ "page_idx": 5
597
+ },
598
+ {
599
+ "type": "text",
600
+ "text": "For consistent scene multi-agent prediction, we report the joint scene-level metrics, where the average operation over the agents is done before the minimum operator. In this formulation, the minimum is taken over scene modalities, meaning that only the best scene (joint over agents) modality is taken into account: ",
601
+ "bbox": [
602
+ 173,
603
+ 368,
604
+ 823,
605
+ 424
606
+ ],
607
+ "page_idx": 5
608
+ },
609
+ {
610
+ "type": "equation",
611
+ "img_path": "images/1b94d148c583832f28d75ad3381567a69292fee542c6dfe4df891608ddf87383.jpg",
612
+ "text": "$$\nm i n S F D E _ { k } = m i n _ { k } \\frac { 1 } { A } \\sum _ { a } \\| p _ { k } ^ { a } - \\hat { p } ^ { a } \\| _ { 2 } , S M R _ { k } = m i n _ { k } \\frac { 1 } { A } \\sum _ { a } \\mathbb { 1 } _ { m i s s k } ^ { a }\n$$",
613
+ "text_format": "latex",
614
+ "bbox": [
615
+ 256,
616
+ 429,
617
+ 741,
618
+ 467
619
+ ],
620
+ "page_idx": 5
621
+ },
622
+ {
623
+ "type": "text",
624
+ "text": "In other words, the marginal metrics pick their optimal solutions in a pool of $k$ to the power of $a$ predicted solutions, while the joint metrics restrict this pool to only $k$ possibilities, making it a much more complex problem. ",
625
+ "bbox": [
626
+ 174,
627
+ 473,
628
+ 825,
629
+ 516
630
+ ],
631
+ "page_idx": 5
632
+ },
633
+ {
634
+ "type": "text",
635
+ "text": "We also report the scene collision rate (SCR) which is the percentage of modalities where two or more agents collide together, and the consistent collision-free joint Miss Rate (cSMR), which is $S M R$ where colliding modalities are also counted as misses. ",
636
+ "bbox": [
637
+ 174,
638
+ 522,
639
+ 825,
640
+ 565
641
+ ],
642
+ "page_idx": 5
643
+ },
644
+ {
645
+ "type": "text",
646
+ "text": "4.3 COMPARISON WITH STATE-OF-THE-ART ",
647
+ "text_level": 1,
648
+ "bbox": [
649
+ 176,
650
+ 583,
651
+ 490,
652
+ 598
653
+ ],
654
+ "page_idx": 5
655
+ },
656
+ {
657
+ "type": "text",
658
+ "text": "We compare our THOMAS model performance with other joint predictions methods ILVM (Casas et al., 2020) and SceneTransformer (Ngiam et al., 2021). For fair comparison, we use a GOHOME encoder for each of the method, and adapt them accordingly so that they predict only endpoints similar to our method. For each method, we focus on implementing the key idea meant to solve scene consistency and keep the remaining part of the model as close as possible to our approach for fair comparison: ",
659
+ "bbox": [
660
+ 174,
661
+ 609,
662
+ 825,
663
+ 694
664
+ ],
665
+ "page_idx": 5
666
+ },
667
+ {
668
+ "type": "text",
669
+ "text": "ILVM (Casas et al., 2020) uses variational inference to learn a latent representation of the scene conditioned of each agent with a Scene Interaction Module, and decodes it with a similar Scene Interaction Module. The required number of modalities is obtained by sampling the latent space as many times as require. Even though the sampling is independent for each agent, the latent space is generated conditionally on all the agents. ",
670
+ "bbox": [
671
+ 174,
672
+ 700,
673
+ 825,
674
+ 770
675
+ ],
676
+ "page_idx": 5
677
+ },
678
+ {
679
+ "type": "text",
680
+ "text": "SceneTransformer (Ngiam et al., 2021) duplicates the agent encoding with the number of modalities required and adds a one-hot encoding specific to each modality. They then apply a shared transformer architecture on all modalities to encode intra-modality interactions between agents and generate the final trajectories. ",
681
+ "bbox": [
682
+ 174,
683
+ 776,
684
+ 825,
685
+ 833
686
+ ],
687
+ "page_idx": 5
688
+ },
689
+ {
690
+ "type": "text",
691
+ "text": "More details on the state-of-the-art method and the re-implementations we used are given in Appendix A.4. The results are reported in Tab. 1. While having comparable marginal distance performance (demonstrating that our model is not inherently more powerful or leveraging more information), THOMAS significantly outperforms other methods on every joint metric. SMR is improved by about $2 5 \\%$ and SCR by almost $3 0 \\%$ , leading to a combined cSMR decreased by also more than $2 \\dot { 5 } \\%$ . We also report our numbers from the Interpret multi-agent online test set leaderboard in Tab. ",
692
+ "bbox": [
693
+ 173,
694
+ 839,
695
+ 825,
696
+ 924
697
+ ],
698
+ "page_idx": 5
699
+ },
700
+ {
701
+ "type": "table",
702
+ "img_path": "images/78c5707c37e62673482e90589f137cb427dad00250dc496c025197526a81676f.jpg",
703
+ "table_caption": [
704
+ "Table 1: Comparison of consistent solutions on Interpret multi-agent validation track "
705
+ ],
706
+ "table_footnote": [],
707
+ "table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"3\">Marginal metrics</td><td colspan=\"3\">Joint metrics</td></tr><tr><td>mADE mFDE</td><td>MR</td><td>mFDE</td><td>MR</td><td>SCR</td><td>cMR</td></tr><tr><td>ILVM (Casas et al., 2020)</td><td>0.30 0.62</td><td>10.8</td><td>0.84</td><td>19.8</td><td>5.7</td><td>21.3</td></tr><tr><td>SceneTranformer (Ngiam et al., 2021)</td><td>0.29 0.59</td><td>10.5</td><td>0.84</td><td>15.7</td><td>3.4</td><td>17.3</td></tr><tr><td>THOMAS</td><td>0.31 0.60</td><td>8.2</td><td>0.76</td><td>11.8</td><td>2.4</td><td>12.7</td></tr></table>",
708
+ "bbox": [
709
+ 173,
710
+ 135,
711
+ 836,
712
+ 208
713
+ ],
714
+ "page_idx": 6
715
+ },
716
+ {
717
+ "type": "text",
718
+ "text": "5 of Appendix A.5. For better comparison with existing single-agent trajectory prediction state-ofthe-art, we provide evaluation numbers on the single-agents benchmarks Argoverse (Chang et al., 2019) and NuScenes (Caesar et al., 2020) in Appendix A.7. ",
719
+ "bbox": [
720
+ 174,
721
+ 243,
722
+ 825,
723
+ 285
724
+ ],
725
+ "page_idx": 6
726
+ },
727
+ {
728
+ "type": "text",
729
+ "text": "4.4 ABLATION STUDIES ",
730
+ "text_level": 1,
731
+ "bbox": [
732
+ 176,
733
+ 306,
734
+ 351,
735
+ 320
736
+ ],
737
+ "page_idx": 6
738
+ },
739
+ {
740
+ "type": "text",
741
+ "text": "4.4.1 RECOMBINATION MODULE ",
742
+ "text_level": 1,
743
+ "bbox": [
744
+ 176,
745
+ 333,
746
+ 413,
747
+ 347
748
+ ],
749
+ "page_idx": 6
750
+ },
751
+ {
752
+ "type": "text",
753
+ "text": "We establish the following baselines to assess the effects our THOMAS recombination. ",
754
+ "bbox": [
755
+ 176,
756
+ 358,
757
+ 745,
758
+ 373
759
+ ],
760
+ "page_idx": 6
761
+ },
762
+ {
763
+ "type": "text",
764
+ "text": "Scalar output: we train a model with the GOHOME graph encoder and a multimodal scalar regression head similar to Liang et al. (2020). We optimize it with either marginal and joint loss formulation. ",
765
+ "bbox": [
766
+ 176,
767
+ 380,
768
+ 823,
769
+ 422
770
+ ],
771
+ "page_idx": 6
772
+ },
773
+ {
774
+ "type": "text",
775
+ "text": "Heatmap output with deterministic sampling: we try various sampling methods applied on the heatmap, with either the deterministic sampling as described in Gilles et al. (2021a) or a learned sampling trained to directly regress the sampled modalities from the input heatmap. ",
776
+ "bbox": [
777
+ 174,
778
+ 429,
779
+ 823,
780
+ 472
781
+ ],
782
+ "page_idx": 6
783
+ },
784
+ {
785
+ "type": "text",
786
+ "text": "We report the comparison between the aforementioned baselines and THOMAS in Tab. 2. Compared to these baselines, THOMAS can be seen as an hybrid sampling method that takes the result of deterministic sampling as input and learns to recombine it into a more coherent solution. With regard to the joint algorithmic sampling that only tackled collisions but has little to no effect on actual consistency, as highlighted by the big drop in collision rate from $7 . 2 \\%$ to $2 . 6 \\%$ but a similar joint SMR, THOMAS actually brings a lot of consistency in the multi-agent prediction and drops the joint SMR from $1 4 . 8 \\%$ to $\\mathrm { { \\dot { 1 } 1 . 8 \\% } }$ . ",
787
+ "bbox": [
788
+ 173,
789
+ 478,
790
+ 825,
791
+ 575
792
+ ],
793
+ "page_idx": 6
794
+ },
795
+ {
796
+ "type": "table",
797
+ "img_path": "images/29f4a090994a20fbb44a7af0746accfcb9463b582e153b1faa386f86a93d3f6b.jpg",
798
+ "table_caption": [
799
+ "Table 2: Comparison of consistent solutions on Interpret multi-agent validation track "
800
+ ],
801
+ "table_footnote": [],
802
+ "table_body": "<table><tr><td></td><td></td><td></td><td colspan=\"3\">Marginal metrics</td><td colspan=\"4\">Jointmetrics</td></tr><tr><td>Output</td><td>Sampling</td><td>Objective</td><td>mADE</td><td>mFDE</td><td>MR</td><td>mFDE</td><td>MR</td><td>Col</td><td>cMR</td></tr><tr><td>Scalar</td><td></td><td>Marg</td><td>0.28</td><td>0.59</td><td>10.4</td><td>1.04</td><td>23.7</td><td>6.4</td><td>24.9</td></tr><tr><td>Scalar</td><td></td><td>Joint</td><td>0.34</td><td>0.77</td><td>16.2</td><td>0.90</td><td>19.9</td><td>49</td><td>21.7</td></tr><tr><td>Heat</td><td>Learned</td><td>Marg</td><td>0.26</td><td>0.46</td><td>4.9</td><td>0.98</td><td>20.9</td><td>4.1</td><td>21.9</td></tr><tr><td>Heat</td><td>Learned</td><td>Joint</td><td>0.29</td><td>0.58</td><td>9.8</td><td>0.88</td><td>15.2</td><td>3.0</td><td>16.4</td></tr><tr><td>Heat</td><td>Algo</td><td>Marg</td><td>0.29</td><td>0.54</td><td>3.8</td><td>0.83</td><td>14.8</td><td>7.2</td><td>15.9</td></tr><tr><td>Heat</td><td>Algo</td><td>Joint</td><td>0.29</td><td>0.54</td><td>3.8</td><td>0.83</td><td>14.8</td><td>2.6</td><td>15.6</td></tr><tr><td>Heat</td><td>Combi</td><td>Joint</td><td>0.31</td><td>0.60</td><td>8.2</td><td>0.76</td><td>11.8</td><td>2.4</td><td>12.7</td></tr></table>",
803
+ "bbox": [
804
+ 189,
805
+ 625,
806
+ 808,
807
+ 753
808
+ ],
809
+ "page_idx": 6
810
+ },
811
+ {
812
+ "type": "text",
813
+ "text": "Usually, scalar marginal models already suffer from learning difficulties as only one output modality, the closest one to ground, can be trained at a time. Some modalities may therefore converge faster to acceptable solutions, and benefit from a much increased number of training samples compared to the others. This problem is aggravated in the joint training case, since the modality selected is the same for all agents in a training sample. The joint scalar model therefore actually fails to learn multi-modality as illustrated by a higher marginal $\\mathrm { m i n F D E _ { 6 } }$ than any other model, and an extremely high crossCollisionRate since some modalities never train and always point to the same coordinates regardless of the queried agent. Note that, despite a similar training loss, SceneTransformer doesn’t suffer of the same pitfalls in Tab. 1 as is shares the same weights between all modalities and only differentiates them in the initialization of the features. ",
814
+ "bbox": [
815
+ 173,
816
+ 784,
817
+ 825,
818
+ 924
819
+ ],
820
+ "page_idx": 6
821
+ },
822
+ {
823
+ "type": "text",
824
+ "text": "4.5 HIERARCHICAL HEATMAP REFINEMENT ",
825
+ "text_level": 1,
826
+ "bbox": [
827
+ 174,
828
+ 103,
829
+ 488,
830
+ 118
831
+ ],
832
+ "page_idx": 7
833
+ },
834
+ {
835
+ "type": "text",
836
+ "text": "We assess the speed gain of our proposed hierarchical decoder compared to the lane rasters of GOHOME Gilles et al. (2021a). In Tab. 3. We report training time for 16 epochs with a batchsize of 16, and inference time for 32 and 128 simultaneous agents. ",
837
+ "bbox": [
838
+ 176,
839
+ 130,
840
+ 826,
841
+ 172
842
+ ],
843
+ "page_idx": 7
844
+ },
845
+ {
846
+ "type": "table",
847
+ "img_path": "images/054d25d7647464cf61e8e14f7f060605ed87a8902916f25638d32a25704ecbe6.jpg",
848
+ "table_caption": [
849
+ "Table 3: Comparison of consistent solutions on Interpret multi-agent validation track "
850
+ ],
851
+ "table_footnote": [],
852
+ "table_body": "<table><tr><td></td><td>Training</td><td>Inference 32 agents</td><td>Inference 128 agents</td></tr><tr><td>GOHOME</td><td>12.8 hours</td><td>36 ms</td><td>90 ms</td></tr><tr><td>THOMAS</td><td>7.5 hours</td><td>20 ms</td><td>31 ms</td></tr></table>",
853
+ "bbox": [
854
+ 253,
855
+ 219,
856
+ 740,
857
+ 266
858
+ ],
859
+ "page_idx": 7
860
+ },
861
+ {
862
+ "type": "text",
863
+ "text": "For additional comparison, the other existing dense prediction method DenseTNT (Gu et al., 2021) reports an inference speed of $1 0 0 \\mathrm { m s }$ per sample for their model. ",
864
+ "bbox": [
865
+ 176,
866
+ 295,
867
+ 820,
868
+ 324
869
+ ],
870
+ "page_idx": 7
871
+ },
872
+ {
873
+ "type": "text",
874
+ "text": "4.6 QUALITATIVE EXAMPLES",
875
+ "text_level": 1,
876
+ "bbox": [
877
+ 174,
878
+ 343,
879
+ 390,
880
+ 357
881
+ ],
882
+ "page_idx": 7
883
+ },
884
+ {
885
+ "type": "text",
886
+ "text": "In this section, we will mostly compare the model before recombination, which we will refer by the Before model, to the model after recombination, referenced as the Af ter model. We display four qualitative examples in Fig. 5 with colliding modalities in the Before model (in dashed orange) and the solved modality (in full line orange) after recombination. For each model (Before-dashed or Af ter-full), the highlighted modality in orange is the best modality according to the $S M R _ { 6 }$ metric among the 6 available modalities. We also display in dashed grey the other 5 predicted Before modalities, and highlight that the recombination model indeed selects modalities already available in the vanilla set and reorders them so that non-colliding modalities are aligned together. ",
887
+ "bbox": [
888
+ 173,
889
+ 368,
890
+ 825,
891
+ 481
892
+ ],
893
+ "page_idx": 7
894
+ },
895
+ {
896
+ "type": "image",
897
+ "img_path": "images/2ab60ac29fca607437fdd3b01a0d78606f2110dc5906eba1c06697aeea3f8509.jpg",
898
+ "image_caption": [
899
+ "Figure 5: Qualitative examples of recombination model assembling collision-free modalities together compared to initial colliding modalities. For each example we display the general context with highlighted agents and area of interest, then two zooms in on the agents, one displaying the initial best modality before recombination in dashed orange and all the other available modalities in grey. The second zooms shows the best modality after recombination in full line orange. "
900
+ ],
901
+ "image_footnote": [],
902
+ "bbox": [
903
+ 176,
904
+ 494,
905
+ 825,
906
+ 719
907
+ ],
908
+ "page_idx": 7
909
+ },
910
+ {
911
+ "type": "text",
912
+ "text": "We also show more qualitative examples in Fig. 6, where we highlight the comparison in modality diversity between the Before model (in dashed lines) and the Af ter model (in full lines). While the Bef ore model tries to spread the modalities for all agents to minimize marginal miss-rate, the recombined model presents much less spread compared to the original model, maintaining a multimodal behavior only in presence of very different possible agent intentions such as different possible exits or turn choices. For most other agents, almost all modalities are located at the same position, that is, the one deemed the most likely by the model. Thus, if the truly uncertain agents have to select the second or third most likely modality, the other agents still have their own most likely modality ",
913
+ "bbox": [
914
+ 173,
915
+ 825,
916
+ 825,
917
+ 924
918
+ ],
919
+ "page_idx": 7
920
+ },
921
+ {
922
+ "type": "image",
923
+ "img_path": "images/f2aa394fced168b31ab355c9972d010e64ac3fc2ef104a28f4c3825000c2ecf9.jpg",
924
+ "image_caption": [
925
+ "Figure 6: Qualitative examples of recombination model selecting fewer but more pronounced and impactful agent modalities compared to initial colliding modalities. For each example we display on the left the vanilla model modalities with dashed lines, with the initial best modality in dashed orange and all the other available modalities in grey. On the right we display the selected modalities after recombination, where the model focuses on the most likely occurrence in most agents. "
926
+ ],
927
+ "image_footnote": [],
928
+ "bbox": [
929
+ 173,
930
+ 98,
931
+ 826,
932
+ 476
933
+ ],
934
+ "page_idx": 8
935
+ },
936
+ {
937
+ "type": "text",
938
+ "text": "",
939
+ "bbox": [
940
+ 173,
941
+ 582,
942
+ 821,
943
+ 611
944
+ ],
945
+ "page_idx": 8
946
+ },
947
+ {
948
+ "type": "text",
949
+ "text": "5 CONCLUSION ",
950
+ "text_level": 1,
951
+ "bbox": [
952
+ 176,
953
+ 631,
954
+ 318,
955
+ 647
956
+ ],
957
+ "page_idx": 8
958
+ },
959
+ {
960
+ "type": "text",
961
+ "text": "We have presented THOMAS, a recombination module that can be added after any trajectory prediction module outputing multi-modal predictions. By design, THOMAS allows to generate sceneconsistent modalities across all agents by making the scene modalities select coherent agent modalities and restricting the modality budget on the agents that truly need it. We show significant performance increase when adding the THOMAS module compared to the vanilla model and achieve state-of-the-art results compared to already existing methods tackling scene-consistent predictions. ",
962
+ "bbox": [
963
+ 174,
964
+ 662,
965
+ 825,
966
+ 746
967
+ ],
968
+ "page_idx": 8
969
+ },
970
+ {
971
+ "type": "text",
972
+ "text": "REPRODUCIBILITY STATEMENT ",
973
+ "text_level": 1,
974
+ "bbox": [
975
+ 174,
976
+ 103,
977
+ 393,
978
+ 118
979
+ ],
980
+ "page_idx": 9
981
+ },
982
+ {
983
+ "type": "text",
984
+ "text": "We use the publicly available Interaction 1.2 dataset (Zhan et al., 2019) available at http:// challenge.interaction-dataset.com/dataset/download. We detail dataset preprocessing in Appendix A.2, training process in Appendix A.3 and give a precise illustration of our model architecture with each layer size in A.8. ",
985
+ "bbox": [
986
+ 174,
987
+ 128,
988
+ 825,
989
+ 184
990
+ ],
991
+ "page_idx": 9
992
+ },
993
+ {
994
+ "type": "text",
995
+ "text": "REFERENCES ",
996
+ "text_level": 1,
997
+ "bbox": [
998
+ 176,
999
+ 205,
1000
+ 285,
1001
+ 220
1002
+ ],
1003
+ "page_idx": 9
1004
+ },
1005
+ {
1006
+ "type": "text",
1007
+ "text": "Alexandre Alahi, Kratarth Goel, Vignesh Ramanathan, Alexandre Robicquet, Li Fei-Fei, and Silvio Savarese. Social lstm: Human trajectory prediction in crowded spaces. In CVPR, 2016. ",
1008
+ "bbox": [
1009
+ 174,
1010
+ 229,
1011
+ 823,
1012
+ 257
1013
+ ],
1014
+ "page_idx": 9
1015
+ },
1016
+ {
1017
+ "type": "text",
1018
+ "text": "Florent Altche and Arnaud de La Fortelle. An lstm network for highway trajectory prediction. In ´ ITSC, 2017. ",
1019
+ "bbox": [
1020
+ 169,
1021
+ 267,
1022
+ 823,
1023
+ 296
1024
+ ],
1025
+ "page_idx": 9
1026
+ },
1027
+ {
1028
+ "type": "text",
1029
+ "text": "Holger Caesar, Varun Bankiti, Alex H Lang, Sourabh Vora, Venice Erin Liong, Qiang Xu, Anush Krishnan, Yu Pan, Giancarlo Baldan, and Oscar Beijbom. nuscenes prediction competition. https: //eval.ai/web/challenges/challenge-page/591/leaderboard/1659. Accessed: 2021-11-20. ",
1030
+ "bbox": [
1031
+ 173,
1032
+ 306,
1033
+ 825,
1034
+ 363
1035
+ ],
1036
+ "page_idx": 9
1037
+ },
1038
+ {
1039
+ "type": "text",
1040
+ "text": "Holger Caesar, Varun Bankiti, Alex H Lang, Sourabh Vora, Venice Erin Liong, Qiang Xu, Anush Krishnan, Yu Pan, Giancarlo Baldan, and Oscar Beijbom. nuscenes: A multimodal dataset for autonomous driving. In CVPR, 2020. ",
1041
+ "bbox": [
1042
+ 173,
1043
+ 372,
1044
+ 825,
1045
+ 415
1046
+ ],
1047
+ "page_idx": 9
1048
+ },
1049
+ {
1050
+ "type": "text",
1051
+ "text": "Sergio Casas, Cole Gulino, Simon Suo, Katie Luo, Renjie Liao, and Raquel Urtasun. Implicit latent variable model for scene-consistent motion forecasting. In ECCV, 2020. ",
1052
+ "bbox": [
1053
+ 173,
1054
+ 424,
1055
+ 823,
1056
+ 454
1057
+ ],
1058
+ "page_idx": 9
1059
+ },
1060
+ {
1061
+ "type": "text",
1062
+ "text": "Yuning Chai, Benjamin Sapp, Mayank Bansal, and Dragomir Anguelov. Multipath: Multiple probabilistic anchor trajectory hypotheses for behavior prediction. In CoRL, 2020. ",
1063
+ "bbox": [
1064
+ 169,
1065
+ 463,
1066
+ 821,
1067
+ 493
1068
+ ],
1069
+ "page_idx": 9
1070
+ },
1071
+ {
1072
+ "type": "text",
1073
+ "text": "Ming-Fang Chang, John Lambert, Patsorn Sangkloy, Jagjeet Singh, Slawomir Bak, Andrew Hartnett, De Wang, Peter Carr, Simon Lucey, Deva Ramanan, et al. Argoverse motion forecasting competition. https://eval.ai/web/challenges/challenge-page/454/ leaderboard/1279. Accessed: 2021-11-20. ",
1074
+ "bbox": [
1075
+ 173,
1076
+ 502,
1077
+ 823,
1078
+ 559
1079
+ ],
1080
+ "page_idx": 9
1081
+ },
1082
+ {
1083
+ "type": "text",
1084
+ "text": "Ming-Fang Chang, John Lambert, Patsorn Sangkloy, Jagjeet Singh, Slawomir Bak, Andrew Hartnett, De Wang, Peter Carr, Simon Lucey, Deva Ramanan, et al. Argoverse: 3d tracking and forecasting with rich maps. In CVPR, 2019. ",
1085
+ "bbox": [
1086
+ 176,
1087
+ 568,
1088
+ 823,
1089
+ 612
1090
+ ],
1091
+ "page_idx": 9
1092
+ },
1093
+ {
1094
+ "type": "text",
1095
+ "text": "Alexander Cui, Sergio Casas, Abbas Sadat, Renjie Liao, and Raquel Urtasun. Lookout: Diverse multi-future prediction and planning for self-driving. In ICCV, 2021. ",
1096
+ "bbox": [
1097
+ 171,
1098
+ 621,
1099
+ 823,
1100
+ 651
1101
+ ],
1102
+ "page_idx": 9
1103
+ },
1104
+ {
1105
+ "type": "text",
1106
+ "text": "Henggang Cui, Vladan Radosavljevic, Fang-Chieh Chou, Tsung-Han Lin, Thi Nguyen, Tzu-Kuo Huang, Jeff Schneider, and Nemanja Djuric. Multimodal trajectory predictions for autonomous driving using deep convolutional networks. In ICRA, 2019. ",
1107
+ "bbox": [
1108
+ 173,
1109
+ 660,
1110
+ 825,
1111
+ 703
1112
+ ],
1113
+ "page_idx": 9
1114
+ },
1115
+ {
1116
+ "type": "text",
1117
+ "text": "Nachiket Deo and Mohan M Trivedi. Convolutional social pooling for vehicle trajectory prediction. In CVPR, 2018. ",
1118
+ "bbox": [
1119
+ 171,
1120
+ 712,
1121
+ 823,
1122
+ 742
1123
+ ],
1124
+ "page_idx": 9
1125
+ },
1126
+ {
1127
+ "type": "text",
1128
+ "text": "Nachiket Deo and Mohan M Trivedi. Trajectory forecasts in unknown environments conditioned on grid-based plans. arXiv:2001.00735, 2020. ",
1129
+ "bbox": [
1130
+ 169,
1131
+ 751,
1132
+ 825,
1133
+ 780
1134
+ ],
1135
+ "page_idx": 9
1136
+ },
1137
+ {
1138
+ "type": "text",
1139
+ "text": "Nachiket Deo, Eric M Wolff, and Oscar Beijbom. Multimodal trajectory prediction conditioned on lane-graph traversals. In CoRL, 2021. ",
1140
+ "bbox": [
1141
+ 169,
1142
+ 790,
1143
+ 825,
1144
+ 819
1145
+ ],
1146
+ "page_idx": 9
1147
+ },
1148
+ {
1149
+ "type": "text",
1150
+ "text": "Scott Ettinger, Shuyang Cheng, Benjamin Caine, Chenxi Liu, Hang Zhao, Sabeek Pradhan, Yuning Chai, Ben Sapp, Charles Qi, Yin Zhou, et al. Large scale interactive motion forecasting for autonomous driving: The waymo open motion dataset. arXiv:2104.10133, 2021. ",
1151
+ "bbox": [
1152
+ 174,
1153
+ 828,
1154
+ 823,
1155
+ 872
1156
+ ],
1157
+ "page_idx": 9
1158
+ },
1159
+ {
1160
+ "type": "text",
1161
+ "text": "Jiyang Gao, Chen Sun, Hang Zhao, Yi Shen, Dragomir Anguelov, Congcong Li, and Cordelia Schmid. Vectornet: Encoding hd maps and agent dynamics from vectorized representation. In CVPR, 2020. ",
1162
+ "bbox": [
1163
+ 174,
1164
+ 881,
1165
+ 825,
1166
+ 924
1167
+ ],
1168
+ "page_idx": 9
1169
+ },
1170
+ {
1171
+ "type": "text",
1172
+ "text": "Thomas Gilles, Stefano Sabatini, Dzmitry Tsishkou, Bogdan Stanciulescu, and Fabien Moutarde. Gohome: Graph-oriented heatmap output forfuture motion estimation. arXiv preprint arXiv:2108.09640, 2021a. ",
1173
+ "bbox": [
1174
+ 176,
1175
+ 103,
1176
+ 823,
1177
+ 146
1178
+ ],
1179
+ "page_idx": 10
1180
+ },
1181
+ {
1182
+ "type": "text",
1183
+ "text": "Thomas Gilles, Stefano Sabatini, Dzmitry Tsishkou, Bogdan Stanciulescu, and Fabien Moutarde. Home: Heatmap output for future motion estimation. In ITSC, 2021b. ",
1184
+ "bbox": [
1185
+ 171,
1186
+ 154,
1187
+ 823,
1188
+ 183
1189
+ ],
1190
+ "page_idx": 10
1191
+ },
1192
+ {
1193
+ "type": "text",
1194
+ "text": "Roger Girgis, Florian Golemo, Felipe Codevilla, Jim Aldon D’Souza, Martin Weiss, Samira Ebrahimi Kahou, Felix Heide, and Christopher Pal. Autobots: Latent variable sequential set transformers. arXiv:2104.00563, 2021. ",
1195
+ "bbox": [
1196
+ 176,
1197
+ 190,
1198
+ 823,
1199
+ 234
1200
+ ],
1201
+ "page_idx": 10
1202
+ },
1203
+ {
1204
+ "type": "text",
1205
+ "text": "Junru Gu, Chen Sun, and Hang Zhao. Densetnt: End-to-end trajectory prediction from dense goal sets. In ICCV, 2021. ",
1206
+ "bbox": [
1207
+ 169,
1208
+ 242,
1209
+ 825,
1210
+ 271
1211
+ ],
1212
+ "page_idx": 10
1213
+ },
1214
+ {
1215
+ "type": "text",
1216
+ "text": "Agrim Gupta, Justin Johnson, Li Fei-Fei, Silvio Savarese, and Alexandre Alahi. Social gan: Socially acceptable trajectories with generative adversarial networks. In CVPR, 2018. ",
1217
+ "bbox": [
1218
+ 171,
1219
+ 279,
1220
+ 823,
1221
+ 309
1222
+ ],
1223
+ "page_idx": 10
1224
+ },
1225
+ {
1226
+ "type": "text",
1227
+ "text": "Joey Hong, Benjamin Sapp, and James Philbin. Rules of the road: Predicting driving behavior with a convolutional model of semantic interactions. In CVPR, 2019. ",
1228
+ "bbox": [
1229
+ 171,
1230
+ 315,
1231
+ 823,
1232
+ 345
1233
+ ],
1234
+ "page_idx": 10
1235
+ },
1236
+ {
1237
+ "type": "text",
1238
+ "text": "Boris Ivanovic, Amine Elhafsi, Guy Rosman, Adrien Gaidon, and Marco Pavone. Mats: An interpretable trajectory forecasting representation for planning and control. In CoRL, 2020. ",
1239
+ "bbox": [
1240
+ 173,
1241
+ 353,
1242
+ 821,
1243
+ 383
1244
+ ],
1245
+ "page_idx": 10
1246
+ },
1247
+ {
1248
+ "type": "text",
1249
+ "text": "Siddhesh Khandelwal, William Qi, Jagjeet Singh, Andrew Hartnett, and Deva Ramanan. What-if motion prediction for autonomous driving. arXiv:2008.10587, 2020. ",
1250
+ "bbox": [
1251
+ 171,
1252
+ 390,
1253
+ 825,
1254
+ 420
1255
+ ],
1256
+ "page_idx": 10
1257
+ },
1258
+ {
1259
+ "type": "text",
1260
+ "text": "ByeoungDo Kim, Seong Hyeon Park, Seokhwan Lee, Elbek Khoshimjonov, Dongsuk Kum, Junsoo Kim, Jeong Soo Kim, and Jun Won Choi. Lapred: Lane-aware prediction of multi-modal future trajectories of dynamic agents. In CVPR, 2021. ",
1261
+ "bbox": [
1262
+ 176,
1263
+ 426,
1264
+ 823,
1265
+ 470
1266
+ ],
1267
+ "page_idx": 10
1268
+ },
1269
+ {
1270
+ "type": "text",
1271
+ "text": "Namhoon Lee, Wongun Choi, Paul Vernaza, Christopher B Choy, Philip HS Torr, and Manmohan Chandraker. Desire: Distant future prediction in dynamic scenes with interacting agents. In CVPR, 2017. ",
1272
+ "bbox": [
1273
+ 178,
1274
+ 478,
1275
+ 823,
1276
+ 521
1277
+ ],
1278
+ "page_idx": 10
1279
+ },
1280
+ {
1281
+ "type": "text",
1282
+ "text": "Lingyun Luke Li, Bin Yang, Ming Liang, Wenyuan Zeng, Mengye Ren, Sean Segal, and Raquel Urtasun. End-to-end contextual perception and prediction with interaction transformer. In IROS, 2020. ",
1283
+ "bbox": [
1284
+ 176,
1285
+ 529,
1286
+ 823,
1287
+ 571
1288
+ ],
1289
+ "page_idx": 10
1290
+ },
1291
+ {
1292
+ "type": "text",
1293
+ "text": "Ming Liang, Bin Yang, Rui Hu, Yun Chen, Renjie Liao, Song Feng, and Raquel Urtasun. Learning lane graph representations for motion forecasting. In ECCV, 2020. ",
1294
+ "bbox": [
1295
+ 173,
1296
+ 580,
1297
+ 823,
1298
+ 609
1299
+ ],
1300
+ "page_idx": 10
1301
+ },
1302
+ {
1303
+ "type": "text",
1304
+ "text": "Chenxu Luo, Lin Sun, Dariush Dabiri, and Alan Yuille. Probabilistic multi-modal trajectory prediction with lane attention for autonomous vehicles. arXiv:2007.02574, 2020. ",
1305
+ "bbox": [
1306
+ 173,
1307
+ 617,
1308
+ 823,
1309
+ 646
1310
+ ],
1311
+ "page_idx": 10
1312
+ },
1313
+ {
1314
+ "type": "text",
1315
+ "text": "Jean Mercat, Thomas Gilles, Nicole El Zoghby, Guillaume Sandou, Dominique Beauvois, and Guillermo Pita Gil. Multi-head attention for multi-modal joint vehicle motion forecasting. In ICRA, 2020. ",
1316
+ "bbox": [
1317
+ 176,
1318
+ 654,
1319
+ 823,
1320
+ 696
1321
+ ],
1322
+ "page_idx": 10
1323
+ },
1324
+ {
1325
+ "type": "text",
1326
+ "text": "Kaouther Messaoud, Nachiket Deo, Mohan M Trivedi, and Fawzi Nashashibi. Multi-head attention with joint agent-map representation for trajectory prediction in autonomous driving. arXiv:2005.02545, 2020. ",
1327
+ "bbox": [
1328
+ 173,
1329
+ 704,
1330
+ 821,
1331
+ 747
1332
+ ],
1333
+ "page_idx": 10
1334
+ },
1335
+ {
1336
+ "type": "text",
1337
+ "text": "Xiaoyu Mo, Yang Xing, and Chen Lv. Recog: A deep learning framework with heterogeneous graph for interaction-aware trajectory prediction. arXiv:2012.05032, 2020. ",
1338
+ "bbox": [
1339
+ 171,
1340
+ 756,
1341
+ 823,
1342
+ 785
1343
+ ],
1344
+ "page_idx": 10
1345
+ },
1346
+ {
1347
+ "type": "text",
1348
+ "text": "Sriram Narayanan, Ramin Moslemi, Francesco Pittaluga, Buyu Liu, and Manmohan Chandraker. Divide-and-conquer for lane-aware diverse trajectory prediction. In CVPR, 2021. ",
1349
+ "bbox": [
1350
+ 173,
1351
+ 792,
1352
+ 821,
1353
+ 821
1354
+ ],
1355
+ "page_idx": 10
1356
+ },
1357
+ {
1358
+ "type": "text",
1359
+ "text": "Jiquan Ngiam, Benjamin Caine, Vijay Vasudevan, Zhengdong Zhang, Hao-Tien Lewis Chiang, Jeffrey Ling, Rebecca Roelofs, Alex Bewley, Chenxi Liu, Ashish Venugopal, et al. Scene transformer: A unified multi-task model for behavior prediction and planning. arXiv preprint arXiv:2106.08417, 2021. ",
1360
+ "bbox": [
1361
+ 176,
1362
+ 830,
1363
+ 821,
1364
+ 887
1365
+ ],
1366
+ "page_idx": 10
1367
+ },
1368
+ {
1369
+ "type": "text",
1370
+ "text": "Tung Phan-Minh, Elena Corina Grigore, Freddy A Boulton, Oscar Beijbom, and Eric M Wolff. Covernet: Multimodal behavior prediction using trajectory sets. In CVPR, 2020. ",
1371
+ "bbox": [
1372
+ 176,
1373
+ 895,
1374
+ 820,
1375
+ 924
1376
+ ],
1377
+ "page_idx": 10
1378
+ },
1379
+ {
1380
+ "type": "text",
1381
+ "text": "Nicholas Rhinehart, Kris M Kitani, and Paul Vernaza. R2p2: A reparameterized pushforward policy for diverse, precise generative path forecasting. In ECCV, 2018. ",
1382
+ "bbox": [
1383
+ 171,
1384
+ 103,
1385
+ 823,
1386
+ 132
1387
+ ],
1388
+ "page_idx": 11
1389
+ },
1390
+ {
1391
+ "type": "text",
1392
+ "text": "Nicholas Rhinehart, Rowan McAllister, Kris Kitani, and Sergey Levine. Precog: Prediction conditioned on goals in visual multi-agent settings. In CVPR, 2019. ",
1393
+ "bbox": [
1394
+ 173,
1395
+ 140,
1396
+ 821,
1397
+ 170
1398
+ ],
1399
+ "page_idx": 11
1400
+ },
1401
+ {
1402
+ "type": "text",
1403
+ "text": "Raphael Rozenberg, Joseph Gesnouin, and Fabien Moutarde. Asymmetrical bi-rnn for pedestrian ¨ trajectory encoding. arXiv:2106.04419, 2021. ",
1404
+ "bbox": [
1405
+ 173,
1406
+ 178,
1407
+ 823,
1408
+ 208
1409
+ ],
1410
+ "page_idx": 11
1411
+ },
1412
+ {
1413
+ "type": "text",
1414
+ "text": "Amir Sadeghian, Vineet Kosaraju, Ali Sadeghian, Noriaki Hirose, Hamid Rezatofighi, and Silvio Savarese. Sophie: An attentive gan for predicting paths compliant to social and physical constraints. In CVPR, 2019. ",
1415
+ "bbox": [
1416
+ 176,
1417
+ 215,
1418
+ 823,
1419
+ 260
1420
+ ],
1421
+ "page_idx": 11
1422
+ },
1423
+ {
1424
+ "type": "text",
1425
+ "text": "Tim Salzmann, Boris Ivanovic, Punarjay Chakravarty, and Marco Pavone. Trajectron $^ { + + }$ : Dynamically-feasible trajectory forecasting with heterogeneous data. In ECCV, 2020. ",
1426
+ "bbox": [
1427
+ 173,
1428
+ 267,
1429
+ 823,
1430
+ 297
1431
+ ],
1432
+ "page_idx": 11
1433
+ },
1434
+ {
1435
+ "type": "text",
1436
+ "text": "Haoran Song, Di Luan, Wenchao Ding, Michael Yu Wang, and Qifeng Chen. Learning to predict vehicle trajectories with model-based planning. In CoRL, 2021. ",
1437
+ "bbox": [
1438
+ 173,
1439
+ 305,
1440
+ 823,
1441
+ 335
1442
+ ],
1443
+ "page_idx": 11
1444
+ },
1445
+ {
1446
+ "type": "text",
1447
+ "text": "Yichuan Charlie Tang and Ruslan Salakhutdinov. Multiple futures prediction. In NeurIPS, 2019. ",
1448
+ "bbox": [
1449
+ 174,
1450
+ 343,
1451
+ 807,
1452
+ 359
1453
+ ],
1454
+ "page_idx": 11
1455
+ },
1456
+ {
1457
+ "type": "text",
1458
+ "text": "Chuhua Wang, Yuchen Wang, Mingze Xu, and David J Crandall. Stepwise goal-driven networks for trajectory prediction. arXiv:2103.14107, 2021. ",
1459
+ "bbox": [
1460
+ 171,
1461
+ 367,
1462
+ 823,
1463
+ 397
1464
+ ],
1465
+ "page_idx": 11
1466
+ },
1467
+ {
1468
+ "type": "text",
1469
+ "text": "David Wu and Yunnan Wu. Air2 for interaction prediction. Waymo Open Dataset Challenges Reports, CVPR Workshop on Autonomous Driving, http://cvpr2021.wad.vision/, 2021. ",
1470
+ "bbox": [
1471
+ 173,
1472
+ 405,
1473
+ 823,
1474
+ 435
1475
+ ],
1476
+ "page_idx": 11
1477
+ },
1478
+ {
1479
+ "type": "text",
1480
+ "text": "Maosheng Ye, Tongyi Cao, and Qifeng Chen. Tpcn: Temporal point cloud networks for motion forecasting. In CVPR, 2021. ",
1481
+ "bbox": [
1482
+ 171,
1483
+ 443,
1484
+ 823,
1485
+ 472
1486
+ ],
1487
+ "page_idx": 11
1488
+ },
1489
+ {
1490
+ "type": "text",
1491
+ "text": "Ye Yuan, Xinshuo Weng, Yanglan Ou, and Kris Kitani. Agentformer: Agent-aware transformers for socio-temporal multi-agent forecasting. arXiv:2103.14023, 2021. ",
1492
+ "bbox": [
1493
+ 171,
1494
+ 481,
1495
+ 823,
1496
+ 510
1497
+ ],
1498
+ "page_idx": 11
1499
+ },
1500
+ {
1501
+ "type": "text",
1502
+ "text": "Wenyuan Zeng, Ming Liang, Renjie Liao, and Raquel Urtasun. Lanercnn: Distributed representations for graph-centric motion forecasting. In IROS, 2021. ",
1503
+ "bbox": [
1504
+ 171,
1505
+ 517,
1506
+ 823,
1507
+ 547
1508
+ ],
1509
+ "page_idx": 11
1510
+ },
1511
+ {
1512
+ "type": "text",
1513
+ "text": "Wei Zhan, Liting Sun, Di Wang, Haojie Shi, Aubrey Clausse, Maximilian Naumann, Julius Kummerle, Hendrik Konigshof, Christoph Stiller, Arnaud de La Fortelle, et al. Interaction dataset: An international, adversarial and cooperative motion dataset in interactive driving scenarios with semantic maps. arXiv:1910.03088, 2019. ",
1514
+ "bbox": [
1515
+ 174,
1516
+ 556,
1517
+ 823,
1518
+ 613
1519
+ ],
1520
+ "page_idx": 11
1521
+ },
1522
+ {
1523
+ "type": "text",
1524
+ "text": "Wei Zhan, Liting Sun, Di Wang, Haojie Shi, Aubrey Clausse, Maximilian Naumann, Julius Kummerle, Hendrik Konigshof, Christoph Stiller, Arnaud de La Fortelle, et al. Interpret: Interactiondataset-based prediction challenge. http://challenge.interaction-dataset. com/prediction-challenge/intro, 2021. Accessed: 2021-10-03. ",
1525
+ "bbox": [
1526
+ 173,
1527
+ 621,
1528
+ 823,
1529
+ 679
1530
+ ],
1531
+ "page_idx": 11
1532
+ },
1533
+ {
1534
+ "type": "text",
1535
+ "text": "Lingyao Zhang, Po-Hsun Su, Jerrick Hoang, Galen Clark Haynes, and Micol Marchetti-Bowick. Map-adaptive goal-based trajectory prediction. In CoRL, 2020. ",
1536
+ "bbox": [
1537
+ 173,
1538
+ 686,
1539
+ 821,
1540
+ 717
1541
+ ],
1542
+ "page_idx": 11
1543
+ },
1544
+ {
1545
+ "type": "text",
1546
+ "text": "Hang Zhao, Jiyang Gao, Tian Lan, Chen Sun, Benjamin Sapp, Balakrishnan Varadarajan, Yue Shen, Yi Shen, Yuning Chai, Cordelia Schmid, et al. Tnt: Target-driven trajectory prediction. CoRL, 2020. ",
1547
+ "bbox": [
1548
+ 173,
1549
+ 724,
1550
+ 825,
1551
+ 767
1552
+ ],
1553
+ "page_idx": 11
1554
+ },
1555
+ {
1556
+ "type": "text",
1557
+ "text": "A APPENDIX ",
1558
+ "text_level": 1,
1559
+ "bbox": [
1560
+ 176,
1561
+ 102,
1562
+ 297,
1563
+ 118
1564
+ ],
1565
+ "page_idx": 12
1566
+ },
1567
+ {
1568
+ "type": "text",
1569
+ "text": "A.1 METRIC DETAILS ",
1570
+ "text_level": 1,
1571
+ "bbox": [
1572
+ 176,
1573
+ 136,
1574
+ 338,
1575
+ 151
1576
+ ],
1577
+ "page_idx": 12
1578
+ },
1579
+ {
1580
+ "type": "text",
1581
+ "text": "We adopt for each dataset evaluation the miss definition as specified by the dataset benchmark. Argoverse (Chang et al., 2019) and NuScenes (Caesar et al., 2020) define a miss as the prediction being further than 2 meters to the ground truth, while Waymo (Ettinger et al., 2021) and Interaction Zhan et al. (2019)count a miss when the prediction is closer than a lateral (1m) and an longitudinal threshold with regard to speed: ",
1582
+ "bbox": [
1583
+ 173,
1584
+ 164,
1585
+ 826,
1586
+ 234
1587
+ ],
1588
+ "page_idx": 12
1589
+ },
1590
+ {
1591
+ "type": "equation",
1592
+ "img_path": "images/a3ef5b43ccb2e661888ac50707a19658f8b2699c2c0f09ad2fd9022345745223.jpg",
1593
+ "text": "$$\n\\mathrm { T h r e s h o l d } _ { \\mathrm { \\scriptsize ~ l o n } } = \\left\\{ \\begin{array} { c c } { 1 } & { v < 1 . 4 m / s } \\\\ { 1 + \\frac { v - 1 . 4 } { 1 1 - 1 . 4 } } & { 1 . 4 m / s \\le v \\le 1 1 m / s } \\\\ { 2 } & { v \\ge 1 1 m / s } \\end{array} \\right.\n$$",
1594
+ "text_format": "latex",
1595
+ "bbox": [
1596
+ 307,
1597
+ 256,
1598
+ 684,
1599
+ 306
1600
+ ],
1601
+ "page_idx": 12
1602
+ },
1603
+ {
1604
+ "type": "text",
1605
+ "text": "A.2 DATASET PROCESSING ",
1606
+ "text_level": 1,
1607
+ "bbox": [
1608
+ 176,
1609
+ 325,
1610
+ 375,
1611
+ 339
1612
+ ],
1613
+ "page_idx": 12
1614
+ },
1615
+ {
1616
+ "type": "text",
1617
+ "text": "We use the training/validation split provided in Interaction 1.2. We select for each scene a reference agent on which the scene will be centered and oriented according to its heading at prediction time. At training time, this reference agent is chosen randomly across all agents. At validation and testing time, we compute the barycenter of all agents and select the closest agent as the scene reference point. We use for training all agents that have ground-truth available at prediction horizon $\\mathrm { T } { = } 3 \\mathrm { s }$ . ",
1618
+ "bbox": [
1619
+ 173,
1620
+ 352,
1621
+ 825,
1622
+ 424
1623
+ ],
1624
+ "page_idx": 12
1625
+ },
1626
+ {
1627
+ "type": "text",
1628
+ "text": "We use the provided dataset HD-Maps to create the context graphs. As in Liang et al. (2020), we use four relations:{predecessor, successor, $l e f t , r i g h t \\}$ obtained from the lane graph connectivity. We upsample long lanelets to have a maximum of 10 points in each lanelet. ",
1629
+ "bbox": [
1630
+ 174,
1631
+ 429,
1632
+ 821,
1633
+ 472
1634
+ ],
1635
+ "page_idx": 12
1636
+ },
1637
+ {
1638
+ "type": "text",
1639
+ "text": "For each agent, we use their trajectory history made of position, yaw and speed in the past second sampled at $1 0 \\mathrm { H z }$ . We also provide the model a mask indicating if the agent was present in a given time-frame, and pad with zeros when the agent is not tracked at a specific timestep. ",
1640
+ "bbox": [
1641
+ 174,
1642
+ 478,
1643
+ 823,
1644
+ 521
1645
+ ],
1646
+ "page_idx": 12
1647
+ },
1648
+ {
1649
+ "type": "text",
1650
+ "text": "A.3 TRAINING DETAILS ",
1651
+ "text_level": 1,
1652
+ "bbox": [
1653
+ 176,
1654
+ 542,
1655
+ 352,
1656
+ 556
1657
+ ],
1658
+ "page_idx": 12
1659
+ },
1660
+ {
1661
+ "type": "text",
1662
+ "text": "We train all models with Adam optimizer and batchsize 32. We initialize the learning rate at $1 e ^ { - 3 }$ and divide it by 2 at epochs 3, 6, 9 and 13, before stopping the training at epoch 16. We use ReLU activation after every linear layer unless specified otherwise, and LayerNormalization after every attention and graph convolution layer. ",
1663
+ "bbox": [
1664
+ 174,
1665
+ 570,
1666
+ 825,
1667
+ 627
1668
+ ],
1669
+ "page_idx": 12
1670
+ },
1671
+ {
1672
+ "type": "text",
1673
+ "text": "During training, since a scene can contain up to 40 agents, which is too much for gradient computation in batches of 32, we restrict the number of predicted agents to 8 by randomly sampling them across available agents. We do not use other data augmentation. ",
1674
+ "bbox": [
1675
+ 174,
1676
+ 632,
1677
+ 825,
1678
+ 676
1679
+ ],
1680
+ "page_idx": 12
1681
+ },
1682
+ {
1683
+ "type": "text",
1684
+ "text": "The final heatmap $Y$ predicted cover a range of 192 meters at resolution $0 . 5 \\mathrm { m }$ , hence a (384, 384) image. For heatmap generation, we use the same pixel-wise focal loss over the pixels $p$ as in Gilles et al. (2021b): ",
1685
+ "bbox": [
1686
+ 174,
1687
+ 681,
1688
+ 825,
1689
+ 724
1690
+ ],
1691
+ "page_idx": 12
1692
+ },
1693
+ {
1694
+ "type": "equation",
1695
+ "img_path": "images/af8722ba66d345311be1ae680a9516837a89a87fe3cd2b4f0a2fd97d4e38d10f.jpg",
1696
+ "text": "$$\nL = - \\frac { 1 } { P } \\sum _ { p } ( Y _ { p } - \\hat { Y } _ { p } ) ^ { 2 } f ( Y _ { p } , \\hat { Y } _ { p } ) \\mathrm { w i t h } f ( Y _ { p } , \\hat { Y } _ { p } ) = \\left\\{ \\begin{array} { l l } { \\log ( \\hat { Y } _ { p } ) } & { \\mathrm { i f ~ } Y _ { p } = 1 } \\\\ { ( 1 - Y _ { p } ) ^ { 4 } \\log ( 1 - \\hat { Y } _ { p } ) } & { \\mathrm { e l s e } } \\end{array} \\right.\n$$",
1697
+ "text_format": "latex",
1698
+ "bbox": [
1699
+ 209,
1700
+ 734,
1701
+ 787,
1702
+ 779
1703
+ ],
1704
+ "page_idx": 12
1705
+ },
1706
+ {
1707
+ "type": "text",
1708
+ "text": "where $\\hat { Y }$ is defined as a Gaussian centered on the agent future position at prediction horizon $T$ with a standard deviation of 4 pixels, equivalent to $2 \\mathrm { m }$ . ",
1709
+ "bbox": [
1710
+ 171,
1711
+ 791,
1712
+ 825,
1713
+ 820
1714
+ ],
1715
+ "page_idx": 12
1716
+ },
1717
+ {
1718
+ "type": "text",
1719
+ "text": "A.4 BASELINES IMPLEMENTATIONS ",
1720
+ "text_level": 1,
1721
+ "bbox": [
1722
+ 176,
1723
+ 842,
1724
+ 436,
1725
+ 856
1726
+ ],
1727
+ "page_idx": 12
1728
+ },
1729
+ {
1730
+ "type": "text",
1731
+ "text": "A.4.1 IMPLICIT LATENT VARIABLE MODEL ",
1732
+ "text_level": 1,
1733
+ "bbox": [
1734
+ 173,
1735
+ 868,
1736
+ 488,
1737
+ 885
1738
+ ],
1739
+ "page_idx": 12
1740
+ },
1741
+ {
1742
+ "type": "text",
1743
+ "text": "We use a GOHOME encoder for the prior, posterior and decoder Scene Interaction Modules. We weight the KL term with $\\beta = 1$ which worked best according to our experiments. ",
1744
+ "bbox": [
1745
+ 174,
1746
+ 895,
1747
+ 825,
1748
+ 924
1749
+ ],
1750
+ "page_idx": 12
1751
+ },
1752
+ {
1753
+ "type": "text",
1754
+ "text": "A.4.2 SCENE TRANSFORMER ",
1755
+ "text_level": 1,
1756
+ "bbox": [
1757
+ 176,
1758
+ 103,
1759
+ 390,
1760
+ 117
1761
+ ],
1762
+ "page_idx": 13
1763
+ },
1764
+ {
1765
+ "type": "text",
1766
+ "text": "The initial paper applies a transformer architecture on a $[ F , A , T , D ]$ tensor where $F$ is the potential modality dimension, $A$ the agent dimension and $T$ the time dimension, with $D$ the feature embedding, with factorized self-attention to the agent and time dimensions separately, so that agents can look at each-other inside a specific scene modality. The resulting output is optimized using a jointly formalized loss. For our implementation, we get rid of the $T$ dimension as we focus on endpoint prediction and coherence between the $A$ agents. The initial encoded $[ A , D ]$ tensor is obtained with a GOHOME encoder, multiplied across the $F$ futures and concatenated with a modality-specific one-hot encoding as in Ngiam et al. (2021) to obtain the $[ F , A , D ]$ tensor. We then apply two layers of agent self-attention similar to the original paper, before decoding the endpoints through a MLP. ",
1767
+ "bbox": [
1768
+ 174,
1769
+ 127,
1770
+ 825,
1771
+ 253
1772
+ ],
1773
+ "page_idx": 13
1774
+ },
1775
+ {
1776
+ "type": "text",
1777
+ "text": "A.4.3 COLLISION-FREE ENDPOINT SAMPLING BASELINE",
1778
+ "text_level": 1,
1779
+ "bbox": [
1780
+ 174,
1781
+ 270,
1782
+ 576,
1783
+ 282
1784
+ ],
1785
+ "page_idx": 13
1786
+ },
1787
+ {
1788
+ "type": "text",
1789
+ "text": "We designed a deterministic sampling algorithm based on the heatmaps generated in previous section in order to sample endpoints for each agent in a collision aware manner. We use the same sampling algorithm as Gilles et al. (2021a) based on MR optimization, but add a sequential iteration over the agents for each modalities. ",
1790
+ "bbox": [
1791
+ 174,
1792
+ 294,
1793
+ 825,
1794
+ 349
1795
+ ],
1796
+ "page_idx": 13
1797
+ },
1798
+ {
1799
+ "type": "text",
1800
+ "text": "For a single modality $k$ , we predict the possible endpoint of a first agent $a$ by taking the maximum accumulated predicted probability under an area of radius $r$ . We then not only set to zero the heatmap values of this agent heatmap $\\mathcal { T } _ { k ^ { \\prime } } ^ { a }$ around the sampled location so not to sample it in the next modalities $k ^ { \\prime }$ , but we also set to zero the same area on the heatmaps $\\mathcal { T } _ { k } ^ { a ^ { \\prime } }$ of the other agents $a ^ { \\prime }$ on the same modality $k$ , so that these other agents cannot be sampled at the same position for this modality. This way, we try to enforce collision-free endpoints, and expect that considering collisions brings logic to improve the overall consistency of the predictions. However, as will be highlighted in Sec. 4.4, this methods significantly improves the collision rate without the need for any additional learned model but it does barely improve the multi agent consistency. ",
1801
+ "bbox": [
1802
+ 174,
1803
+ 356,
1804
+ 825,
1805
+ 484
1806
+ ],
1807
+ "page_idx": 13
1808
+ },
1809
+ {
1810
+ "type": "text",
1811
+ "text": "A.5 RESULTS ON INTERPRET CHALLENGE ",
1812
+ "text_level": 1,
1813
+ "bbox": [
1814
+ 176,
1815
+ 502,
1816
+ 478,
1817
+ 516
1818
+ ],
1819
+ "page_idx": 13
1820
+ },
1821
+ {
1822
+ "type": "text",
1823
+ "text": "We also report our numbers from the Interpret multi-agent track challenge online leaderboard in Table 5. It is to be noted that the DenseTNT solution explicitely checks for collisions in the search for its proposed predictions, which we don’t, hence their $0 \\%$ collision rate (SCR) and its direct impact on consistent collision-free joint Miss Rate (cSMR). ",
1824
+ "bbox": [
1825
+ 176,
1826
+ 529,
1827
+ 825,
1828
+ 584
1829
+ ],
1830
+ "page_idx": 13
1831
+ },
1832
+ {
1833
+ "type": "table",
1834
+ "img_path": "images/e4ef50aaf114a39c69ff6f5ee7abc0787937d0c7df0978812d6ad66c180576a1.jpg",
1835
+ "table_caption": [
1836
+ "Table 4: Results on Interpret multi-agent regular scene leaderboard (test set) "
1837
+ ],
1838
+ "table_footnote": [],
1839
+ "table_body": "<table><tr><td></td><td>minSADE</td><td>minSFDE</td><td>SMR</td><td>SCR</td><td>cSMR</td></tr><tr><td>MoliNet</td><td>0.73</td><td>2.55</td><td>44.4</td><td>7.5</td><td>47.4</td></tr><tr><td>ReCoG2 (Mo et al., 2020)</td><td>0.47</td><td>1.16</td><td>23.8</td><td>6.9</td><td>26.8</td></tr><tr><td>DenseTNT (Gu et al., 2021)</td><td>0.42</td><td>1.13</td><td>22.4</td><td>0.0</td><td>22.4</td></tr><tr><td>THOMAS</td><td>0.42</td><td>0.97</td><td>17.9</td><td>12.8</td><td>25.2</td></tr></table>",
1840
+ "bbox": [
1841
+ 227,
1842
+ 630,
1843
+ 772,
1844
+ 704
1845
+ ],
1846
+ "page_idx": 13
1847
+ },
1848
+ {
1849
+ "type": "table",
1850
+ "img_path": "images/e85b0ac8caee07f38ee0a088bcfdbb93f03571dff59a21651d8a8b1ff2345225.jpg",
1851
+ "table_caption": [
1852
+ "Table 5: Results on Interpret multi-agent conditional scene leaderboard (test set) "
1853
+ ],
1854
+ "table_footnote": [],
1855
+ "table_body": "<table><tr><td></td><td>minSADE</td><td>minSFDE</td><td>SMR</td><td>SCR</td><td>cSMR</td></tr><tr><td>ReCoG2 (Mo et al., 2020)</td><td>0.33</td><td>0.87</td><td>14.98</td><td>0.09</td><td>15.12</td></tr><tr><td>DenseTNT (Gu et al., 2021)</td><td>0.28</td><td>0.89</td><td>15.02</td><td>0.0</td><td>15.02</td></tr><tr><td>THOMAS</td><td>0.31</td><td>0.72</td><td>10.67</td><td>0.84</td><td>11.63</td></tr></table>",
1856
+ "bbox": [
1857
+ 225,
1858
+ 763,
1859
+ 772,
1860
+ 824
1861
+ ],
1862
+ "page_idx": 13
1863
+ },
1864
+ {
1865
+ "type": "text",
1866
+ "text": "A.6 SPEED / PERFORMANCE TRADE-OFF WITH HIERARCHICAL REFINEMENT ",
1867
+ "text_level": 1,
1868
+ "bbox": [
1869
+ 176,
1870
+ 856,
1871
+ 714,
1872
+ 869
1873
+ ],
1874
+ "page_idx": 13
1875
+ },
1876
+ {
1877
+ "type": "text",
1878
+ "text": "We also display the trade-off between inference speed and coverage from hierarchical refinement in Fig. 7, evaluated on the Interpret multi-agent dataset with marginal MissRate6. The curve is obtained setting the number $N$ of upsampled points at the last refinement iteration from 2 to 128. ",
1879
+ "bbox": [
1880
+ 176,
1881
+ 882,
1882
+ 825,
1883
+ 924
1884
+ ],
1885
+ "page_idx": 13
1886
+ },
1887
+ {
1888
+ "type": "text",
1889
+ "text": "From $N = 1 6$ and lower, coverage performance starts to diminish while little speed gains are made. We still kept a relatively high $_ { \\mathrm { N = 6 4 } }$ in our model as we wanted to insure a wide coverage, and the time loss between $4 1 ~ \\mathrm { m s }$ and $4 6 \\mathrm { m s }$ remains acceptable. ",
1890
+ "bbox": [
1891
+ 173,
1892
+ 103,
1893
+ 825,
1894
+ 146
1895
+ ],
1896
+ "page_idx": 14
1897
+ },
1898
+ {
1899
+ "type": "image",
1900
+ "img_path": "images/4f12d90162723a8705e4a9c69025eb31c341b546352eed37d0aaf56dddc7c749.jpg",
1901
+ "image_caption": [
1902
+ "Figure 7: Curve of MissRate $\\mathrm { { \\dot { 6 } } }$ with regard to inference time with varying number of points upsampled at the last hierarchical refinement iteration. "
1903
+ ],
1904
+ "image_footnote": [],
1905
+ "bbox": [
1906
+ 351,
1907
+ 180,
1908
+ 633,
1909
+ 340
1910
+ ],
1911
+ "page_idx": 14
1912
+ },
1913
+ {
1914
+ "type": "text",
1915
+ "text": "A.7 ADDITIONAL RESULTS ON SINGLE-AGENT DATASETS",
1916
+ "bbox": [
1917
+ 173,
1918
+ 416,
1919
+ 583,
1920
+ 430
1921
+ ],
1922
+ "page_idx": 14
1923
+ },
1924
+ {
1925
+ "type": "table",
1926
+ "img_path": "images/37dc479a7781e802dbc17207592d70ffd4ec4225875d7a9b2f6714da5804f816.jpg",
1927
+ "table_caption": [
1928
+ "Table 6: Argoverse Leaderboard (Chang et al.) "
1929
+ ],
1930
+ "table_footnote": [],
1931
+ "table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"2\">K=1</td><td colspan=\"3\">K=6</td></tr><tr><td>minFDE</td><td>MR</td><td>minADE</td><td>minFDE</td><td>MR</td></tr><tr><td>LaneGCN (Liang et al., 2020)</td><td>3.78</td><td>59.1</td><td>0.87</td><td>1.36</td><td>16.3</td></tr><tr><td>Autobot (Girgis et al., 2021)</td><td></td><td></td><td>0.89</td><td>1.41</td><td>16</td></tr><tr><td>TPCN (Ye et al., 2021)</td><td>3.64</td><td>58.6</td><td>0.85</td><td>1.35</td><td>15.9</td></tr><tr><td>Jean (Mercat et al., 2020)</td><td>4.24</td><td>68.6</td><td>1.00</td><td>1.42</td><td>13.1</td></tr><tr><td>SceneTrans (Ngiam et al.,2021)</td><td>4.06</td><td>59.2</td><td>0.80</td><td>1.23</td><td>12.6</td></tr><tr><td>LaneRCNN (Zeng et al., 2021)</td><td>3.69</td><td>56.9</td><td>0.90</td><td>1.45</td><td>12.3</td></tr><tr><td>PRIME (Song et al., 2021)</td><td>3.82</td><td>58.7</td><td>1.22</td><td>1.56</td><td>11.5</td></tr><tr><td>DenseTNT (Gu et al., 2021)</td><td>3.70</td><td>59.9</td><td>0.94</td><td>1.49</td><td>10.5</td></tr><tr><td>GOHOME (Gilles et al., 2021a)</td><td>3.65</td><td>57.2</td><td>0.94</td><td>1.45</td><td>10.5</td></tr><tr><td>HOME (Gilles et al., 2021b)</td><td>3.65</td><td>57.1</td><td>0.93</td><td>1.44</td><td>9.8</td></tr><tr><td>THOMAS</td><td>3.59</td><td>56.1</td><td>0.94</td><td>1.44</td><td>10.4</td></tr></table>",
1932
+ "bbox": [
1933
+ 218,
1934
+ 478,
1935
+ 781,
1936
+ 662
1937
+ ],
1938
+ "page_idx": 14
1939
+ },
1940
+ {
1941
+ "type": "table",
1942
+ "img_path": "images/0e16590bc5e21889da989e0f21b74c83807d9e8ed62d7139efd320ed44558b0e.jpg",
1943
+ "table_caption": [
1944
+ "Table 7: NuScenes Leaderboard (Caesar et al.) "
1945
+ ],
1946
+ "table_footnote": [],
1947
+ "table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"2\">K=5</td><td colspan=\"2\">K=10</td><td rowspan=\"2\">k=1 minFDE</td></tr><tr><td>minADE</td><td>MR</td><td>minADE</td><td>MR</td></tr><tr><td>CoverNet (Phan-Minh etal., 2020) Trajectron++ (Salzmann et al.,2020)</td><td>1.96</td><td>67</td><td>1.48</td><td>57</td><td></td></tr><tr><td></td><td>1.88</td><td>70</td><td>1.51</td><td></td><td>9.52</td></tr><tr><td>ALAN (Narayanan et al., 2021)</td><td>1.87</td><td>60</td><td>1.22</td><td>49</td><td>9.98</td></tr><tr><td>SG-Net (Wang et al., 2021)</td><td>1.86</td><td>67</td><td>1.40</td><td>52</td><td>9.25</td></tr><tr><td>WIMP (Khandelwal et al., 2020)</td><td>1.84</td><td>55</td><td>1.11</td><td>43</td><td>8.49</td></tr><tr><td>MHA-JAM (Messaoud et al., 2020)</td><td>1.81</td><td>59</td><td>1.24</td><td>46</td><td>8.57</td></tr><tr><td>CXX (Luo et al., 2020)</td><td>1.63</td><td>69</td><td>1.29</td><td>60</td><td>8.86</td></tr><tr><td>LaPred (Kim et al.,2021)</td><td>1.53</td><td></td><td>1.12</td><td></td><td>8.12</td></tr><tr><td>P2T (Deo &amp; Trivedi,2020)</td><td>1.45</td><td>64</td><td>1.16</td><td>46</td><td>10.50</td></tr><tr><td>GOHOME (Gilles et al., 2021a)</td><td>1.42</td><td>57</td><td>1.15</td><td>47</td><td>6.99</td></tr><tr><td>Autobot (Girgis et al., 2021)</td><td>1.37</td><td>62</td><td>1.03</td><td>44</td><td>8.19</td></tr><tr><td>PGP (Deo &amp; Trivedi, 2020)</td><td>1.30</td><td>57</td><td>0.98</td><td>37</td><td>7.72</td></tr><tr><td>THOMAS</td><td>1.33</td><td>55</td><td>1.04</td><td>1.04</td><td>6.71</td></tr></table>",
1948
+ "bbox": [
1949
+ 202,
1950
+ 417,
1951
+ 795,
1952
+ 631
1953
+ ],
1954
+ "page_idx": 15
1955
+ },
1956
+ {
1957
+ "type": "image",
1958
+ "img_path": "images/95909725efdeccdf0707b864994c727b2d2d3bc667aa020ba734d223f2e82f52.jpg",
1959
+ "image_caption": [
1960
+ "Figure 8: Detailed illustration of our heatmap generator model "
1961
+ ],
1962
+ "image_footnote": [],
1963
+ "bbox": [
1964
+ 200,
1965
+ 137,
1966
+ 789,
1967
+ 792
1968
+ ],
1969
+ "page_idx": 16
1970
+ },
1971
+ {
1972
+ "type": "image",
1973
+ "img_path": "images/9becef61539f1118df436f5341192c61d1cb7f755f868cd727b3bf797788ee40.jpg",
1974
+ "image_caption": [
1975
+ "Figure 9: Qualitative examples of heatmap output from our multi-agent model. All the heatmaps from one scene are the results from one single forward pass in our model predicting all agents at once. We use matching colors for the agent history, current location and their future predicted heatmap (best viewed in color). "
1976
+ ],
1977
+ "image_footnote": [],
1978
+ "bbox": [
1979
+ 176,
1980
+ 131,
1981
+ 825,
1982
+ 821
1983
+ ],
1984
+ "page_idx": 17
1985
+ }
1986
+ ]
parse/dev/QDdJhACYrlX/QDdJhACYrlX_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/QDdJhACYrlX/QDdJhACYrlX_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/QkLpGxUboF/QkLpGxUboF.md ADDED
@@ -0,0 +1,260 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ProPILE: Probing Privacy Leakage in Large Language Models
2
+
3
+ # Siwon Kim1,∗
4
+
5
+ Sangdoo Yun3 Hwaran Lee3 Martin Gubri4,5 Sungroh Yoon1,2,† Seong Joon Oh5,6,†
6
+
7
+ 1 Department of Electrical and Computer Engineering, Seoul National University
8
+ 2 Interdisciplinary Program in Artificial Intelligence, Seoul National University 3 NAVER AI Lab 4 University of Luxembourg 5 Parameter Lab 6 Tübingen AI Center, University of Tübingen
9
+
10
+ # Abstract
11
+
12
+ The rapid advancement and widespread use of large language models (LLMs) have raised significant concerns regarding the potential leakage of personally identifiable information (PII). These models are often trained on vast quantities of web-collected data, which may inadvertently include sensitive personal data. This paper presents ProPILE, a novel probing tool designed to empower data subjects, or the owners of the PII, with awareness of potential PII leakage in LLM-based services. ProPILE lets data subjects formulate prompts based on their own PII to evaluate the level of privacy intrusion in LLMs. We demonstrate its application on the OPT-1.3B model trained on the publicly available Pile dataset. We show how hypothetical data subjects may assess the likelihood of their PII being included in the Pile dataset being revealed. ProPILE can also be leveraged by LLM service providers to effectively evaluate their own levels of PII leakage with more powerful prompts specifically tuned for their in-house models. This tool represents a pioneering step towards empowering the data subjects for their awareness and control over their own data on the web. The demo can be found here: https://parameterlab.de/research/propile
13
+
14
+ # 1 Introduction
15
+
16
+ Recent years have seen staggering advances in large language models (LLMs) [25, 3, 31, 6, 28, 32, 22]. The remarkable improvement is commonly attributed to the massive scale of training data crawled indiscriminately from the web. The web-collected data is likely to contain sensitive personal information crawled from personal web pages, social media, personal profiles on online forums, and online databases such as collections of in-house emails [13]. They include various types of personally identifiable information (PII) for the data subjects [8], including their names, phone numbers, addresses, education, career, family members, and religion, to name a few.
17
+
18
+ This poses an unprecedented level of privacy concern not matched by prior web-based products like social media. In social media, the affected data subjects were precisely the users who have consciously shared their private data with the awareness of associated risks. In contrast, products based on LLMs trained on uncontrolled, web-scaled data have quickly expanded the scope of the affected data subjects far beyond the actual users of the LLM products. Virtually anyone who has left some form of PII on the world-wide-web is now relevant to the question of PII leakage.
19
+
20
+ ![](images/456a5e39bb231f292ba0a24eb6235fd762f98588e191ffacb0088f8fdc945d24.jpg)
21
+ Figure 1: ProPILE. Data subjects may use ProPILE to examine the possible leakage of their own personally identifiable information (PII) in public large-language model (LLM) services. ProPILE helps data subjects formulate an LLM prompt based on $M - 1$ of their PII items to task the LLM to output the $M ^ { \mathrm { { t h } } }$ PII not given in the prompt. If the generated responses include similar strings to the true PII, this can be considered as a privacy threat to the data subject.
22
+
23
+ Currently, there is no assurance that adequate safeguards are in place to prevent the inadvertent disclosure of PII. Understanding of the probability and mechanisms through which PII could leak under specific prompt conditions remains insufficient. This knowledge gap highlights the ongoing need for comprehensive research and implementation of robust leakage measurement tools.
24
+
25
+ In this regard, we introduce ProPILE, a tool to let the data subjects examine the possible inclusion and subsequent leakage of their own PII in LLM products in deployment. The data subject has only black-box access to LLM products; they can only send prompts and receive the generated sentences or likelihoods. Nevertheless, since the data subject possesses complete access to their own PII, ProPILE leverages this to generate effective prompts aimed at assessing the potential PII leakage in LLMs. See Figure 1 for an overview of the ProPILE framework. Importantly, this tool holds considerable value not only for data subjects but also for LLM service providers. ProPILE provides the service providers with a tool to effectively assess their own levels of PII leakage with more powerful prompts specifically tuned for their in-house models. Through this, the service providers can proactively address potential privacy vulnerabilities and enhance the overall robustness of their LLMs.
26
+
27
+ Our experiments on the Open Pre-trained Transformers (OPT) [35] trained on the Pile dataset [10] confirm the following. 1) A significant portion of the diverse types of PII included in the training data can be disclosed through strategically crafted prompts. 2) By refining the prompt, having access to model parameters, and utilizing a few hundred training data points for the LLM, the degree of PII leakage can be significantly magnified. We envision our proposition and the insights gathered through ProPILE as the initial step towards enhancing the awareness of data subjects and LLM service providers regarding potential PII leakage.
28
+
29
+ # 2 Related Works
30
+
31
+ # 2.1 Privacy Leakage in Learned Models: Pre-LLM Era
32
+
33
+ The successful development of machine learning (ML) technologies and related web products led to privacy concerns. ML models may unintentionally include PII of certain data subjects in ML training data. As those models become publicly available, concerns have been raised that such PIIs may be accessed by millions of users using the ML service. Researchers have assessed the possibility of reconstructing PII-relevant training data from a learned model [9, 11, 34, 37, 36]. The task is referred to as training data reconstruction or model inversion. Previous work has shown that it is often possible to reconstruct training data well enough to reveal sensitive attributes (e.g., face images from a face classifier), even with just a black-box access [9, 11, 34]. Researchers have also designed a more evaluation-friendly surrogate task, membership inference attack [29], that tests whether each of the given samples has been included in the training data of the learned model. Subsequent work has shown that this is indeed possible for a wide range of models, including text-generation models [12, 30] and image-generation models [5]. For a comprehensive review of the field up to 2020, refer to the overview by Rigaki & Garcia [27].
34
+
35
+ # 2.2 Privacy Leakage in Learned Models: Post-LLM Era
36
+
37
+ The appearance of billion-scale large-language models (LLMs) and the highly successful products including ChatGPT [22], leads to an even higher level of privacy concerns. Their training data includes not only the data consciously or voluntarily provided by the data subjects [8], but also a massive crawl of the entire web such as personal web pages, social media accounts, personal profiles on online forums, and databases of in-house emails [13]. Building a model-based service on such a web-crawled dataset and making it available to millions of users worldwide poses a novel, serious threat to the data rights of the data subjects. Motivated by this, a few early studies have been made to measure privacy leakage in LLMs [13, 19, 4, 14]. However, although [13] initiated the discussion on PII leakage in LLMs, it was limited to the preliminary analysis of only email addresses. [19] conducted a separate study that specifically targeted LLMs fine-tuned with an auxiliary dataset enriched with PII. Furthermore, their study specifically concentrated on scenarios where the prefix or suffix associated with the PII was known. In contrast, ProPILE aims to provide a more comprehensive tool for probing LLMs already in deployment without LLM fine-tuning or prefix retrieval.
38
+
39
+ # 2.3 Prompt Tuning
40
+
41
+ Prompt engineering [26, 18] improves downstream task performance of LLMs by well-designing prompts without further LLM fine-tuning. In soft prompt tuning [15, 16], a few learnable soft token embeddings concatenated to the original prompts are trained while LLM is frozen, so that more optimal prompts for the downstream task can be obtained. The white-box approach of ProPILE leverages soft prompt tuning to further refine the black-box approach’s hand-crafted prompts.
42
+
43
+ # 3 ProPILE: Probing PII Leakage of Large Language Models
44
+
45
+ In this section, we propose ProPILE, a probing tool to profile the PII leakage of LLMs. We first introduce the two attributes of PII, namely linkability and structurality, which are important for the subsequent analysis. We also describe our threat model and eventually introduce probing methods of ProPILE. Finally, we discuss the quantification of the degrees of privacy leakage.
46
+
47
+ # 3.1 Formulation of PII
48
+
49
+ # 3.1.1 Linkability
50
+
51
+ From a privacy standpoint, the random disclosure of PII may not necessarily pose a substantial risk. For instance, when a phone number is generated in an unrelated context, there are no identifiable markers linking the number to its owner. However, if targeted PII is presented within a context directly tied to the owner, it could pose a severe privacy risk as it unequivocally associates the number with its owner. In light of this, the linkability of PII items has been considered critical for the study of privacy leakage [24]. We formalize the linkability of PII in the definition below.
52
+
53
+ Definition 1 (Linkable PII leakage). Let $\mathcal { A } : = \{ a _ { 1 } , . . . , a _ { M } \}$ be $M$ PII items relevant to a data subject $S$ . Each element $a _ { m }$ denotes a PII item of a specific PII type. Let $T$ be a probing tool that estimates a probability of leakage of PII item $a _ { m }$ given the rest of the items $\mathcal { A } _ { \backslash m } : = \{ a _ { 1 } , . . . , a _ { m - 1 } , a _ { m + 1 } , . . . , a _ { M } \}$ . We say that $T$ exposes the linkability of PII items for the data subject $S$ when the likelihood of reconstructing the true PII, $\operatorname* { P r } ( a _ { m } | \mathcal { A } _ { \setminus m } , T )$ , is greater than the unconditional, context-free likelihood $\Pr ( a _ { m } )$ .
54
+
55
+ # 3.1.2 Structurality
56
+
57
+ We consider PII in LLM training data in a string format. Certain types of PII tend to be more structured than others. The structurality of PII has significant implications for practical countermeasures against privacy leakage. We discuss them below.
58
+
59
+ Structured PII refers to the PII type that often appears in a structured pattern. For example, phone numbers and social security numbers are written down in a recognizable pattern like (xxx) xxx-xxxx that is often consistent within each country. Email addresses also follow a distinct pattern id@domain and are considered structured. Though less intuitive, we also consider physical addresses structured: [building, street, state, country, postal code].
60
+
61
+ We expect structured PII to be easily detectable with simple regular expressions [1]. This implies apparently simple remedies against privacy leakage. Structured PII may easily be purged out from training data through regular expression detection. Moreover, leakage of such PII may be controlled through detection and redaction in the LLM outputs. However, in practice, the complete removal of structured PII in training data and LLM-generated content is difficult. Regulating the generation of useful public information, such as the phone number and address of the emergency clinic, will significantly limit the utility of LLM services. It is often difficult to distinguish PII and public information that fall within the same pattern category. As such, it is not impossible to find structured PII in the actual LLM training data, such as the Pile dataset (section 4.1) [10], and the leakage of PII in actual LLM outputs [17]. We thus study the leakage of structured PII in this work.
62
+
63
+ Unstructured PII refers to the PII type that does not follow an easy regular expression pattern. For example, information about a data subject’s family members is sensitive PII that does not follow a designated pattern in text. One could write "{name1}’s father is {name2}", but this is not the only way to convey this information. Other examples include the affiliation, employer, and educational background of data subjects. Unstructured PII indeed poses greater threats of unrecognized privacy leakage than structured PII. In this work, we consider family relationships and affiliation as representative cases of unstructured PII (section 4.3).
64
+
65
+ # 3.2 Threat Model
66
+
67
+ Our goal is to enable data subjects to probe how likely LLMs are to leak their PII. We organize the relevant actors surrounding our PII probing tool and the resources they have access to.
68
+
69
+ Actors in the threat model. First of all, there are data subjects whose PII is included in the training data for LLMs. They have their ownership, or the data rights [8], over the PII. LLM providers train LLMs using web-crawled data that may potentially include PII from corresponding data subjects. Finally, LLM users have access to the LLM-based services to send prompts and receive text responses.
70
+
71
+ Available resources. LLM-based services, especially proprietary ones, are often available as APIs, allowing only black-box access to LLM users. They formulate the inputs within the boundary of rate limit policy and inappropriate-content regulations and receive outputs from the models. On the other hand, LLM providers have white-box access to the LLM training data, LLM training algorithm, and hyperparameters, as well as LLM model parameters and gradients. Data subjects may easily acquire black-box access to the LLMs by registering themselves as LLM users, but it is unlikely that they will get white-box access. Importantly, data subjects have rightful access to their own PII. We show how they can utilize their own PII to effectively probe the privacy leakage in LLMs.
72
+
73
+ # 3.3 Probing Methods
74
+
75
+ We present two probing methods, one designed for data subjects with only black-box access to LLMs and the other for model providers with white-box access.
76
+
77
+ # 3.3.1 Black-box Probing
78
+
79
+ Actor’s goal. In a black-box probing scenario, an actor with black-box access aims to probe whether there is a possibility that the LLM leaks one of their PII. Particularly, an actor has a list of their own PII $\mathcal { A }$ with $M$ PII items and aims to check if the target PII $a _ { m } \in { \mathcal { A } }$ leaks from an LLM.
80
+
81
+ Probing strategy. For a target PII $a _ { m }$ , a set of query prompts $\tau$ is created by associating the remaining PII $\mathcal { A } _ { \backslash m }$ . Particularly, $\mathcal { A } _ { \backslash m }$ is prompted with $K$ different templates $t _ { k }$ as $\mathcal { T } = \{ t _ { 1 } ( \mathcal { A } _ { \backslash m } ) , . . . , t _ { K } ( \dot { \mathcal { A } _ { \backslash m } } ) \}$ . Then, the user sends the set of probing prompts $\tau$ to the target LLM for as much as $N$ times. Assuming the target LLM performs sampling, the user will receive $N \times K$ responses along with the likelihood scores $\mathbf { \bar { \boldsymbol { \mathcal { L } } } } \in \mathbb { R } ^ { K \times L \times V }$ , where $L$ and $V$ denote the length of the response and the vocabulary size of the target LLM, respectively. Please note that the likelihood is identical for the same query regardless of repeated queries. Example prompts are shown in Figure 2.
82
+
83
+ # 3.3.2 White-box Probing
84
+
85
+ Actor’s goal. In the white-box probing scenario, the goal of the actor is to find a tighter worst-case leakage (lower bound on the likelihood) of specific types of PII $( a _ { m } )$ . The actor is given additional resources beyond the black-box case. They have access to the training dataset, model parameters, and model gradients.
86
+
87
+ Probing strategy. We use soft prompt tuning to achieve the goal, of finding a prompt that induces more leakage than the handcrafted prompts in the black-box case. First, we denote a set of PII lists included in the training dataset of target LLM as $\mathcal { D } = \{ \mathcal { A } ^ { i } \} _ { i = 1 } ^ { N }$ . White-box approach assumes that an actor has access to a subset of training data $\tilde { \mathcal { D } } \subset \mathcal { D }$ , where $| \tilde { D } | = n$ for $n \ll N$ . Let us denote a query prompt as $X$ that is created by one of the templates used in the black-box probing $X = t _ { n } ( \hat { \mathcal { A } } _ { \backslash m } ^ { i } )$ . Then $X$ is tokenized and embedded into $X _ { e } \in \mathbb { R } ^ { L _ { X } \times d }$ , where $L _ { X }$ denotes the length of the query sequence and $d$ denotes the embedding dimension of the target LLM. The soft prompt $\theta _ { s } \in \mathbb { R } ^ { \hat { L } _ { s } \times \check { d } }$ , technically learnable parameters, are appended ahead of $X _ { e }$ making $[ \theta _ { s } ; X _ { e } ] \in \mathbb { R } ^ { ( L _ { s } + L _ { X } ) \times d }$ , where $L _ { s }$ denotes the number of soft prompt tokens to be prepended. The soft embedding is trained to maximize the expected reconstruction likelihood of the target PII over $\tilde { \mathcal { D } }$ . Therefore, the training is conducted to minimize negative log-likelihood defined as below:
88
+
89
+ $$
90
+ \begin{array} { r } { \theta _ { s } ^ { * } = \underset { \theta _ { s } } { \mathrm { a r g m i n } } \underset { A \sim \tilde { \mathcal { D } } } { \mathbb { E } } \left[ - \log ( \operatorname* { P r } ( a _ { m } | [ \theta _ { s } ; X _ { e } ] ) ) \right] . } \end{array}
91
+ $$
92
+
93
+ After the training, the learned soft embedding $\theta _ { s } ^ { * }$ is prepended to prompts $t _ { n } ( \mathcal { A } _ { \backslash m } )$ made of unseen data subject’s PII to measure the leakage of $a _ { m }$ of the subject.
94
+
95
+ # 3.4 Quantifying PII leakage
96
+
97
+ For both black-box and white-box probing, the risk of PII leakage is quantified using two types of metrics depending on the output that the users receive.
98
+
99
+ Quantification based on string match. Users receive generated text from the LLMs. Naturally, the string match between the generated text and the target PII serves as a primary metric to quantify the leakage. Exact match represents a verbatim reconstruction of a PII; the generated string is identical to the ground truth PII.
100
+
101
+ Quantification based on likelihood. We consider the scenario that black-box LLMs can provide likelihood scores for candidate text outputs. The availability of likelihood scores enables a more precise assessment of the level of privacy leakage. It also lets one simulate the chance of LLMs revealing the PII when it is deployed at a massive scale. Reconstruction likelihood implies the probability of the target PII being reconstructed given the query prompt. Therefore, the likelihood defined as follows is used to quantify the leakage:
102
+
103
+ $$
104
+ \operatorname* { P r } ( a _ { m } | \mathcal { A } _ { \backslash m } ) = \prod _ { r = 1 } ^ { L _ { r } } p ( a _ { m , r } | x _ { 1 } , x _ { 2 } , . . . , x _ { L _ { q } + r - 1 } ) .
105
+ $$
106
+
107
+ In this equation, $a _ { m }$ represents the target PII and the product is taken over the range from $r = 1$ to $L _ { r }$ , where $L _ { r }$ represents the length of the target PII $( a _ { m } )$ . $x _ { 1 } , x _ { 2 } , . . . , x _ { L _ { q } + r - 1 }$ correspond to the tokens or words comprising the query prompt of length $L _ { q }$ followed by the response.
108
+
109
+ Even a low level of likelihood has critical implications for privacy leakage, particularly for systems deployed at scale. For example, ChatGPT has been deployed to more than 100 million users worldwide [23]. The likelihood of $0 . 0 1 \%$ of reconstructing the PII implies 100 cases of PII reconstruction if only $0 . 0 1 \%$ of the 100 million users attempt the reconstruction 10 times each.1 The inverse of the likelihood indicates the expected number of sampling or queries needed to generate the exact PII.
110
+
111
+ To give a better sense of what the likelihood indicates, we introduce a new metric $\gamma _ { < k }$ . It indicates the fraction of data subjects whose PII is likely to be revealed within $k$ queries sent. For example, $\gamma _ { < 1 0 0 , m } = 0 . 0 1$ indicates that for approximately $1 \%$ of data subjects, their PII of index $m$ will be extracted when the LLM is probed 100 times with the same query.
112
+
113
+ ![](images/bfcbf72e687bb63aec701d41c28c2048c9d605cc0bb282758687812eb3c4c062.jpg)
114
+ Figure 2: Probing prompts. (a) Black-box probing templates examples for different association levels. Blue text denotes the associated PII to be included in the prompt, and Red text indicates the target PII and the type of it. (b) Examples from the evaluation dataset. Text in Pile dataset is converted to dictionary.
115
+
116
+ $$
117
+ \gamma _ { < k , m } = { \frac { \# \left\{ { \mathrm { P I I } } { \mathrm { ~ } } { \mathrm { ~ } } { \mathrm { ~ } } A { \mathrm { ~ f o r ~ d a t a ~ s u b j e c t s ~ i n ~ } } { \mathcal { D } } \mid { \mathrm { P r } } ( a _ { m } | A _ { \left. m \right. } > { \frac { 1 } { k } } \right\} } { \# { \mathrm { ~ o f ~ d a t a ~ s u b j e c t s ~ i n ~ } } { \mathcal { D } } } }
118
+ $$
119
+
120
+ # 4 Probing Existing LLMs
121
+
122
+ # 4.1 Experimental Setup
123
+
124
+ Target LLM to be probed. In our experiments, the selection of the target LLM was guided by two specific requirements. Firstly, in order to assess the probing results, it was necessary for the training dataset of the target LLM to be publicly available. Secondly, to facilitate both black-box and white-box probing, it was essential to have access to pre-trained weights of the target model. To meet these criteria, we opted to utilize the OPT with 1.3 billion hyperparameters (OPT-1.3B) [35] and corresponding tokenizer released by HuggingFace $[ 3 3 ] ^ { 2 }$ as our target LLM for probing. Please note that the above criteria are for evaluation. In real-world scenarios, ProPILE is not limited to OPT but can be applied to many other LLMs.
125
+
126
+ Evaluation dataset. This paper conducts experiments using five types of PII: phone number, email address, and (physical) address as instances of structured PII and family relationship and university information as instances of unstructured PII. To evaluate the PII leakage, an evaluation dataset was collected from the Pile dataset, which is an 825GB English dataset included in OPT training data [10]. It is noteworthy that the presence of documents containing all five types linked to a data subject is rare in the Pile dataset. However, for structured PII, there were instances where all three types of structured PII were linked to the name of a data subject. Hence, we extracted quadruplets of (name, phone number, email address, address) from the Pile dataset. Specifically, the PII items are searched with regular expressions and named entity recognition [2, 21]. Examples are shown in Figure 2 (b). For the collection of unstructured PII, we adopted a question-answering model based on RoBERTa3 and formulated relevant questions to extract information regarding relationships or affiliations. Only answers with a confidence score exceeding 0.9 were gathered, and subsequently underwent manual filtering to eliminate mislabeled instances. The final evaluation dataset consists of the structured PII quadruplets for 10,000 data subjects, name-family relationship pairs for 10,000 data subjects, and name-university pairs for 2,000 data subjects. Please refer to the Appendix for the dataset construction details.
127
+
128
+ # 4.2 Black-box Probing Results
129
+
130
+ We show how the black-box probing approach of ProPILE with hand-crafted prompts helps data subjects assess the leakage of their own PII. We also examine the effect of various factors on the leakage.
131
+
132
+ ![](images/a91555ded60163371db5288f6fe28a51a2410781738637806530feea8cf12f36.jpg)
133
+ Figure 3: Black-box probing result in likelihood perspective. Reconstruction vs. baseline likelihood of (a) structured PII and (b) unstructured PII, shown with the average likelihood and the $\mathsf { p }$ -value of the Wilcoxon signed-rank test. (c) shows a summary of the likelihoods using $\gamma _ { < k }$ defined in Equation 3.
134
+
135
+ Likelihood results. We first evaluate the likelihood of the target PII item given the other items of a subject. Then, we consider the black-box LLM as revealing the linkable PII item, if the likelihood probability is greater than that of randomly selected PII instances, i.e., $\mathrm { P r } ( a _ { m } | \mathcal { A } _ { \backslash m } ) >$ $\mathrm { P r } ( a _ { m , \mathrm { N u l l } } | \mathcal { A } _ { \backslash m } )$ . The $a _ { m , \mathrm { N u l l } }$ is randomly selected from the evaluation dataset. We utilized the aforementioned evaluation dataset and created prompts using five different triplet templates, including those described in Figure 2 (a). Subsequently, the generation is done using beam search with a beam size of 3. The likelihood was computed using Equation 2. Please refer to the Appendix for the detailed generation hyperparameters and prompt templates.
136
+
137
+ Figure 3 (a-b) illustrates the density plot of the likelihoods. The blue and orange color represents the target PII $( a _ { m } )$ and randomly chosen PII $( a _ { m , \mathrm { n u l l } } )$ , respectively. The plots also display the mean likelihood values. It is observed that the mean likelihood of target PII is higher than that of the null PII for all PII types. We also denoted the p-value obtained from the statistical test using the Wilcoxon signed rank test [7]. The small p-value suggests that the observed difference is statistically significant except for affiliation. Figure 3 (c) shows $\gamma _ { < k }$ . We have mentioned in section 3.4 that the $\mathbf { X }$ -axis variable, $k$ , can be interpreted as the number of queries. As the number of queries increases, we observe a gradual increase in the frequency of exact reconstruction.
138
+
139
+ The above black-box probing results demonstrate a high risk of reconstructing the exact PII based on available PII items and establishing the link. The results of $\gamma _ { < k }$ indicate that despite the seemingly low likelihood values, there is a possibility of exact reconstruction of PII.
140
+
141
+ Exact match results. Through black-box probing, the generated sequences can be obtained. The exact match can be assessed by evaluating whether the generated sequence includes the exact string of target PII or not. First, we evaluated the exact match with a varying number of templates used to construct the prompts. Results are shown in Figure 4 (a). The rate of exact matches increases as the diversity of prompt templates increases. This also supports the rationale behind white-box probing, as it suggests that finding more optimal prompts can further increase the leakage.
142
+
143
+ Furthermore, we conducted an assessment of exact matches when different levels of the associations were present in the prompt. Figure 4 (b) shows the results. The “twins” denotes that only the name of a data subject is used to make the query prompt, while “triplet” indicates the presence of an additional PII item in the prompt. We can observe a fivefold increase in the exact match rate for the email address. This increase occurred when a phone number, which offers more specific information about the data subject, was provided in addition to the name. In the case of phone numbers, we also observed an increase of more than double. This shows increasing information in the prompts that can be associated with the target PII elevates the leakage. It also supports the effectiveness of black-box probing that utilizes the data subject’s linkable PIIs. Furthermore, with increased beam search sizes in the model (Figure 4 (c)) and larger model sizes (d), the frequency of the target PII appearing in generated sentences also tends to rise. The increasing leakage that occurs with larger model sizes can be attributed to improved accuracy. This implies that as the current trend of scaling up large language models continues, the potential risks of PII leakage may also increase.
144
+
145
+ ![](images/17133a8a0b8b9607954169e39c5e5866ca1eee0799381bd1c5d580b3caf2c604.jpg)
146
+ Figure 4: Black-box probing results in string-match perspective. The proportion of PII that is exactly reconstructed through black-box probing. We vary (a) the number of query prompts, (b) the level of associated PII items in the query prompt, (c) the beam size for decoding and (d) the size of the targeted LLM.
147
+
148
+ # 4.3 White-box Probing Results
149
+
150
+ In this section, we demonstrate the white-box probing by presenting the leakage of the phone number given other PII information in the structured quadruplet. We train 20 embedding vectors for the soft prompts by appending them ahead of a single prompt to generate the target phone number; We use additional 128 quadruplet data that are not included in the evaluation dataset. Please refer to Appendix for the training details. With the trained soft prompts, we measure the likelihood probabilities and exact match ratios on the evaluation dataset. Figure 5 summarizes the results in terms of the number of training data, the number of soft tokens, and the initialization type.
151
+
152
+ Efficacy of soft prompt tuning. Figure 5 illustrates the impact of the soft prompt on the exact match rate and reconstruction likelihood, with blue and orange colors, respectively. The results indicate a significant increase, from $0 . 0 0 4 7 \%$ of black-box probing using five prompt templates to $1 . 3 \%$ with the soft prompt learned only from 128 data points being prepended to a single query prompt. The likelihood also increased by a large amount for the same case. It is speculated that the observed increase can be attributed to the soft prompt facilitating the more optimal prompts that may not have been considered by humans during the construction of prompts in black-box probing.
153
+
154
+ Effect of dataset size. The white-box probing scenario assumes that a user (or a service provider) has access to only a small portion of the training data. To see the impact of the number of data used for tuning to the degree of the leakage, soft prompts were trained using different numbers of triplets in the training dataset, specifically [16, 32, 64, 128, 256, 512]. The results are depicted in Figure 5 (a). Even with 16 data points, a significant surge in leakage was observed. The exact match rate escalated to $0 . 1 2 \%$ , surpassing the exact match scores achieved by using five prompts, as well as in terms of likelihood. As the training set size increases from 16 to 128, the exact match dramatically increases from $0 . 1 2 \%$ to $1 . 5 0 \%$ . This finding indicates that even with a small fraction of the training dataset, it is possible to refine prompts that can effectively probe the PII leakage in LLM.
155
+
156
+ Additional analysis of soft prompt tuning. We also examine the impact of different factors on the leakage and Figure 5 (b) and (c) display the leakage levels according to these factors. As the number of soft tokens increases, the leakage also exhibits an increasing trend. This can be attributed to the enhanced expressiveness of the soft prompts, which improves as the number of parameters increases. Furthermore, different initialization schemes produce diverse outcomes. We investigated three initialization schemes: 1) an embedding of the word representing the specific type of target PII, i.e., “phone”, which was the default setting throughout our experiments, 2) an embedding sampled from a uniform distribution $\mathcal { U } ( - 1 , 1 )$ , and 3) utilizing the mean of all vocabulary embeddings. As illustrated in Figure 1(c), the uniform and mean initialization schemes were unable to raise the leakage. In contrast, initializing with the PII type resulted in the most significant leakage.
157
+
158
+ ![](images/290c41a763b761d0a5a4330945fa3c1766931e7230ac7d6bcbb4152f6be5f68c.jpg)
159
+ Figure 5: White box probing results. Leakage results on 10,000 unseen triplets according to (a) varying number of data used for prompt tuning, (b) number of soft tokens, (c) different intialization type. Blue and orange color denotes exact match rate and likelihood, respectively.
160
+
161
+ Table 1: Transferability of soft prompt. Original denotes the black-box probing results using one query prompt and transfer denotes the probing results using the transferred soft prompt that is learned from the source model (OPT-1.3B). $\times$ columns show how much the leakage likelihood increases by using the transferred soft prompt.
162
+
163
+ <table><tr><td rowspan="2">Source</td><td rowspan="2">Target</td><td colspan="3">Avg. Likelihood</td><td colspan="2">#Exact match</td></tr><tr><td>Original</td><td>Transfer</td><td>×</td><td>Original</td><td>Transfer</td></tr><tr><td rowspan="3">OPT-1.3B</td><td>OPT-350M</td><td>1.05×10-11</td><td>1.08×10-10</td><td>7.5</td><td>0</td><td>0</td></tr><tr><td>OPT-1.3B</td><td>6.06×10-8</td><td>3.47×10-6</td><td>57.3</td><td>5</td><td>3</td></tr><tr><td>OPT-2.7B</td><td>1.39×10-7</td><td>2.18×10-6</td><td>15.6</td><td>14</td><td>15</td></tr></table>
164
+
165
+ Transferability test. If the soft embedding learned for one language model can be reused to probe a different language model, it opens up the possibility of applying the knowledge acquired from whitebox probing to black-box probing. To assess the feasibility of this approach, we transferred the soft prompt learned for the OPT-1.3B model to OPT models with different scales, namely OPT-350M and OPT-2.7B. However, directly plugging the soft embedding trained on one model into another model is impossible due to the mismatch of embedding dimensions (e.g., 1, 024 and 512 for OPT-1.3B and OPT-350M, respectively.) To address this, we follow a two-step process of the previous approach [20]. We project the soft embedding to the closest hard tokens in terms of Euclidean distance and decode it to raw string with the source model’s tokenizer. The string is then concatenated ahead of the raw query text and fed into the target model.
166
+
167
+ Table 1 demonstrates that the soft prompt learned from the OPT-1.3B model increases the leakage of the same type of PII in both the OPT-350M and OPT-2.7B models. The increase in leakage is also denoted with the multiplication symbol $( \times )$ , showcasing how many times the reconstruction likelihood is amplified when utilizing the soft prompt learned for OPT-1.3B in the other models. While there may not be a substantial difference from the exact match perspective, the potential for transferability has been confirmed in the perspective of likelihood. Future work could explore research for investigating white-box probing techniques for enhancing transferability.
168
+
169
+ # 5 Conclusion
170
+
171
+ This paper introduces ProPILE, a novel tool designed for probing PII leakage in LLM. ProPILE encompasses two probing strategies: black-box probing for data subjects and white-box probing for LLM service providers. In the black-box probing approach, we strategically designed prompts and metrics so that the data subjects can effectively probe if their own PII is being leaked from LLM. The white-box probing approach empowered LLM service providers to conduct investigations on their own in-house models. This was achieved by leveraging the training data and model parameters to fine-tune more potent prompts, enabling a deeper analysis of potential PII leakage. By conducting actual probing on the OPT-1.3B model, we made several observations. First, we found that the target PII item is generated with a significantly higher likelihood compared to a random PII item. Furthermore, white-box probing revealed a tighter worst-case leakage possibility in terms of PII leakage. We hope that our findings empower the data subjects and LLM service providers for their awareness and control over their own data on the web.
172
+
173
+ Limitations. The construction of the evaluation dataset exclusively involved the use of private information sourced from open-source datasets provided by large corporations. This approach ensures the ethical acquisition of data. However, it’s important to acknowledge that the data collection process itself was heuristic in nature. Consequently, the evaluation dataset may contain instances of incorrectly associated data or noise. This could introduce a degree of uncertainty or potential inaccuracies, which must be taken into account when interpreting the results.
174
+
175
+ Societal Impact. We emphasize that our proposed probing strategies are not designed to facilitate or encourage the leakage of PII. Instead, our intention is to provide a framework that empowers both data subjects and LLM service providers to thoroughly assess the privacy state of current LLMs. By conducting such evaluations, stakeholders can gain insights into the privacy vulnerabilities and potential risks associated with LLMs prior to their deployment in a wider range of real-world applications. This proactive approach aims to raise awareness among users, enabling them to understand the security and privacy implications of LLM usage and take appropriate measures to safeguard their personal information.
176
+
177
+ # 6 Ethical Considerations
178
+
179
+ The evaluation dataset used in our paper is collected from the Pile dataset and thus follows the data regulation and terms of services of it. Specifically, all sources of the Pile dataset are public, with the majority following the terms of services, and $55 \%$ of them are authorized by data owners. Please refer to [10] for the details.
180
+
181
+ ProPILE’s primary intent is to empower data subjects to verify whether their own information may leak from LLM services. However, the black-box probing approach could be abused by malicious actors aiming to extract others’ personal information from LLMs without proper consent. Although attackers remain incapable of discerning whether the extracted information belongs to the target, they may still obtain sequences with potential connections with the target. Additionally, the chance of successful attacks with limited information is not entirely eliminated, although it is very low according to the associativity experiment results in Section 4.2.
182
+
183
+ Here we suggest some guidelines to use and develop ProPILE properly. ProPILE should only be used by the data subjects themselves to examine the reconstruction of PII items linked to them, or by the individuals who have been given explicit consent from the relevant data subjects. One way to implement this is to insert an authentication layer over ProPILE to allow its usage only to users identified through Google accounts; they are only allowed to submit queries using only the information from the user’s verified Google profile. Ultimately, the user’s good intentions are the most important. We strongly recommend that ProPILE be used only for its intended purpose of enhancing the self-awareness of data subjects.
184
+
185
+ # Acknowledgements
186
+
187
+ This work was supported by NAVER Corporation, the National Research Foundation of Korea (NRF) grants funded by the Korea government (MSIT) (2022R1A3B1077720, 2022R1A5A708390811), Institute of Information & Communications Technology Planning & Evaluation (IITP) grants funded by the Korea government (MSIT) (2021-0-01343: AI Graduate School Program, SNU, 2022-0- 00959), the BK21 FOUR program of the Education and Research Program for Future ICT Pioneers, Seoul National University in 2023, and the Luxembourg National Research Funds (FNR) through CORE project C18/IS/12669767/STELLAR/LeTraon.
188
+
189
+ # References
190
+
191
+ [1] Amazon Web Services. Detecting and redacting pii using amazon comprehend. https://aws.amazon.com/ko/blogs/machine-learning/ detecting-and-redacting-pii-using-amazon-comprehend/, 2023.
192
+ [2] Steven Bird, Ewan Klein, and Edward Loper. Natural language processing with Python: analyzing text with the natural language toolkit. " O’Reilly Media, Inc.", 2009.
193
+
194
+ [3] Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. Advances in neural information processing systems, 33:1877–1901, 2020.
195
+
196
+ [4] Nicholas Carlini, Daphne Ippolito, Matthew Jagielski, Katherine Lee, Florian Tramer, and Chiyuan Zhang. Quantifying memorization across neural language models. arXiv preprint arXiv:2202.07646, 2022.
197
+
198
+ [5] Dingfan Chen, Ning Yu, Yang Zhang, and Mario Fritz. Gan-leaks: A taxonomy of membership inference attacks against generative models. In Proceedings of the 2020 ACM SIGSAC conference on computer and communications security, pages 343–362, 2020.
199
+
200
+ [6] Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, et al. Palm: Scaling language modeling with pathways. arXiv preprint arXiv:2204.02311, 2022.
201
+
202
+ [7] William Jay Conover. Practical nonparametric statistics, volume 350. john wiley & sons, 1999.
203
+
204
+ [8] European Parliament and Council of the European Union. Regulation (EU) 2016/679 of the European Parliament and of the Council.
205
+
206
+ [9] Matt Fredrikson, Somesh Jha, and Thomas Ristenpart. Model inversion attacks that exploit confidence information and basic countermeasures. In Proceedings of the 22nd ACM SIGSAC conference on computer and communications security, pages 1322–1333, 2015.
207
+
208
+ [10] Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason Phang, Horace He, Anish Thite, Noa Nabeshima, et al. The Pile: An 800GB dataset of diverse text for language modeling. arXiv preprint arXiv:2101.00027, 2020.
209
+
210
+ [11] Zecheng He, Tianwei Zhang, and Ruby B Lee. Model inversion attacks against collaborative inference. In Proceedings of the 35th Annual Computer Security Applications Conference, pages 148–162, 2019.
211
+
212
+ [12] Sorami Hisamoto, Matt Post, and Kevin Duh. Membership inference attacks on sequenceto-sequence models: Is my data in your machine translation system? Transactions of the Association for Computational Linguistics, 8:49–63, 2020.
213
+
214
+ [13] Jie Huang, Hanyin Shao, and Kevin Chen-Chuan Chang. Are large pre-trained language models leaking your personal information? arXiv preprint arXiv:2205.12628, 2022.
215
+
216
+ [14] Daphne Ippolito, Florian Tramèr, Milad Nasr, Chiyuan Zhang, Matthew Jagielski, Katherine Lee, Christopher A Choquette-Choo, and Nicholas Carlini. Preventing verbatim memorization in language models gives a false sense of privacy. arXiv preprint arXiv:2210.17546, 2022.
217
+
218
+ [15] Brian Lester, Rami Al-Rfou, and Noah Constant. The power of scale for parameter-efficient prompt tuning. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 3045–3059, 2021.
219
+
220
+ [16] Xiang Lisa Li and Percy Liang. Prefix-tuning: Optimizing continuous prompts for generation. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 4582–4597, 2021.
221
+
222
+ [17] LiveMint. Chatgpt answer goes wrong, gives away journalist’s number to join signal. https://www.livemint.com/news/ chatgpt-answer-goes-wrong-gives-away-journalist-s-number-to-join-signal -11676625029542.html, 2023.
223
+
224
+ [18] Yao Lu, Max Bartolo, Alastair Moore, Sebastian Riedel, and Pontus Stenetorp. Fantastically ordered prompts and where to find them: Overcoming few-shot prompt order sensitivity. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 8086–8098, 2022.
225
+
226
+ [19] Nils Lukas, Ahmed Salem, Robert Sim, Shruti Tople, Lukas Wutschitz, and Santiago ZanellaBéguelin. Analyzing leakage of personally identifiable information in language models. arXiv preprint arXiv:2302.00539, 2023.
227
+
228
+ [20] Natalie Maus, Patrick Chao, Eric Wong, and Jacob Gardner. Adversarial prompting for black box foundation models. arXiv preprint arXiv:2302.04237, 2023.
229
+
230
+ [21] Omri Mendels, Coby Peled, Nava Vaisman Levy, Tomer Rosenthal, Limor Lahiani, et al. Microsoft Presidio: Context aware, pluggable and customizable pii anonymization service for text and images, 2018.
231
+
232
+ [22] OpenAI. Gpt-4 technical report, 2023.
233
+
234
+ [23] Martine Paris. Chatgpt hits 100 million users, google invests in ai bot and catgpt goes viral, Apr 2023.
235
+
236
+ [24] Andreas Pfitzmann and Marit Hansen. A terminology for talking about privacy by data minimization: Anonymity, unlinkability, undetectability, unobservability, pseudonymity, and identity management, 2010.
237
+
238
+ [25] Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9, 2019.
239
+
240
+ [26] Laria Reynolds and Kyle McDonell. Prompt programming for large language models: Beyond the few-shot paradigm. In Extended Abstracts of the 2021 CHI Conference on Human Factors in Computing Systems, pages 1–7, 2021.
241
+
242
+ [27] Maria Rigaki and Sebastian Garcia. A survey of privacy attacks in machine learning. arXiv preprint arXiv:2007.07646, 2020.
243
+
244
+ [28] Teven Le Scao, Angela Fan, Christopher Akiki, Ellie Pavlick, Suzana Ilic, Daniel Hesslow, ´ Roman Castagné, Alexandra Sasha Luccioni, François Yvon, Matthias Gallé, et al. Bloom: A 176b-parameter open-access multilingual language model. arXiv preprint arXiv:2211.05100, 2022.
245
+
246
+ [29] Reza Shokri, Marco Stronati, Congzheng Song, and Vitaly Shmatikov. Membership inference attacks against machine learning models. In 2017 IEEE symposium on security and privacy $( S P )$ , pages 3–18. IEEE, 2017.
247
+
248
+ [30] Congzheng Song and Vitaly Shmatikov. Auditing data provenance in text-generation models. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pages 196–206, 2019.
249
+
250
+ [31] Romal Thoppilan, Daniel De Freitas, Jamie Hall, Noam Shazeer, Apoorv Kulshreshtha, HengTze Cheng, Alicia Jin, Taylor Bos, Leslie Baker, Yu Du, et al. Lamda: Language models for dialog applications. arXiv preprint arXiv:2201.08239, 2022.
251
+
252
+ [32] Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, et al. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971, 2023.
253
+
254
+ [33] Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Rémi Louf, Morgan Funtowicz, Joe Davison, Sam Shleifer, Patrick von Platen, Clara Ma, Yacine Jernite, Julien Plu, Canwen Xu, Teven Le Scao, Sylvain Gugger, Mariama Drame, Quentin Lhoest, and Alexander M. Rush. Transformers: State-of-theart natural language processing. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 38–45, Online, October 2020. Association for Computational Linguistics.
255
+
256
+ [34] Ziqi Yang, Jiyi Zhang, Ee-Chien Chang, and Zhenkai Liang. Neural network inversion in adversarial setting via background knowledge alignment. In Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communications Security, pages 225–240, 2019.
257
+
258
+ [35] Susan Zhang, Stephen Roller, Naman Goyal, Mikel Artetxe, Moya Chen, Shuohui Chen, Christopher Dewan, Mona Diab, Xian Li, Xi Victoria Lin, et al. Opt: Open pre-trained transformer language models. arXiv preprint arXiv:2205.01068, 2022.
259
+ [36] Yuheng Zhang, Ruoxi Jia, Hengzhi Pei, Wenxiao Wang, Bo Li, and Dawn Song. The secret revealer: Generative model-inversion attacks against deep neural networks. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 253–261, 2020.
260
+ [37] Ligeng Zhu, Zhijian Liu, and Song Han. Deep leakage from gradients. Advances in neural information processing systems, 32, 2019.
parse/dev/QkLpGxUboF/QkLpGxUboF_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/VFBjuF8HEp/VFBjuF8HEp.md ADDED
@@ -0,0 +1,394 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # LEARNING FAST SAMPLERS FOR DIFFUSION MODELSBY DIFFERENTIATING THROUGH SAMPLE QUALITY
2
+
3
+ Daniel Watson∗, William Chan, Jonathan Ho & Mohammad Norouzi Google Research, Brain Team {watsondaniel,williamchan,jonathanho,mnorouzi}@google.com
4
+
5
+ # ABSTRACT
6
+
7
+ Diffusion models have emerged as an expressive family of generative models rivaling GANs in sample quality and autoregressive models in likelihood scores. Standard diffusion models typically require hundreds of forward passes through the model to generate a single high-fidelity sample. We introduce Differentiable Diffusion Sampler Search (DDSS): a method that optimizes fast samplers for any pre-trained diffusion model by differentiating through sample quality scores. We present Generalized Gaussian Diffusion Models (GGDM), a family of flexible non-Markovian samplers for diffusion models. We show that optimizing the degrees of freedom of GGDM samplers by maximizing sample quality scores via gradient descent leads to improved sample quality. Our optimization procedure backpropagates through the sampling process using the reparametrization trick and gradient rematerialization. DDSS achieves strong results on unconditional image generation across various datasets (e.g., FID scores on LSUN church $1 2 8 \mathrm { x } 1 2 8$ of 11.6 with only 10 inference steps, and 4.82 with 20 steps, compared to 51.1 and 14.9 with strongest DDPM/DDIM baselines). Our method is compatible with any pre-trained diffusion model without fine-tuning or re-training required.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ Denoising Diffusion Probabilistic Models (DDPM) (Sohl-Dickstein et al., 2015; Song & Ermon, 2019; Ho et al., 2020) have emerged as a powerful family of generative models, capable of synthesizing high-quality images, audio, and 3D shapes (Ho et al., 2020; 2021; Chen et al., 2021a;b; Cai et al., 2020; Luo & Hu, 2021). Recent work (Dhariwal & Nichol, 2021; Ho et al., 2021) shows that DDPMs can outperform Generative Adversarial Networks (GAN) (Goodfellow et al., 2014; Brock et al., 2018) in generation quality, but unlike GANs, DDPMs admit likelihood computation and much more stable training dynamics (Arjovsky et al., 2017; Gulrajani et al., 2017).
12
+
13
+ ![](images/fd5801c9ac221ce83ea91e924697dc3725f542dbe1d292487226be79766b71a8.jpg)
14
+ Figure 1: Non-cherrypicked samples from DDSS (ours) and strongest $\mathrm { D D I M } ( \eta = 0 )$ baseline for unconditional DDPMs trained on LSUN churches $1 2 8 \times 1 2 8$ . All samples are generated with the same random seed. Original DDPM samples (1000 steps) and training images are shown on the left.
15
+
16
+ However, GANs are typically much more efficient than DDPMs at generation time, often requiring a single forward pass through the generator network, whereas DDPMs require hundreds of forward passes through a U-Net model. Instead of learning a generator directly, DDPMs learn to convert noisy data to less noisy data starting from pure noise, which leads to a wide variety of feasible strategies for sampling (Song et al., 2021b). In particular, at inference time, DDPMs allow controlling the number of forward passes (a.k.a. inference steps) through the denoising network (Song et al., 2020; Nichol & Dhariwal, 2021).
17
+
18
+ It has been shown both empirically and mathematically that, for any sufficiently good DDPM, more inference steps leads to better log-likelihood and sample quality (Nichol & Dhariwal, 2021; Kingma et al., 2021). In practice, the minimum number of inference steps to achieve competitive sample quality is highly problem-dependent, e.g., depends on the complexity of the dataset, and the strength of the conditioning signal if the task is conditional. Given the importance of generation speed, recent work (Song et al., 2020; Chen et al., 2021a; Watson et al., 2021) has explored reducing the number of steps required for high quality sampling with pretrained diffusion models. See Section 7 for a more complete review of prior work on few-step sampling.
19
+
20
+ This paper treats the design of fast samplers for diffusion models as a differentiable optimization problem, and proposes Differentiable Diffusion Sampler Search (DDSS). Our key observation is that one can unroll the sampling chain of a diffusion model and use reparametrization trick (Kingma & Welling, 2013) and gradient rematerialization (Kumar et al., 2019a) to optimize over a class of parametric few-step samplers with respect to a global objective function. Our class of parameteric samplers, which we call Generalized Gaussian Diffusion Model (GGDM), includes Denoising Diffusion Implicit Models (DDIM) (Song et al., 2020) as a special case and is motivated by the success of DDIM on fast sampling of diffusion models.
21
+
22
+ An important challenge for fast DDPM sampling is the mismatch between the training objective (e.g., ELBO or weighted ELBO) and sample quality. Prior work (Watson et al., 2021; Song et al., 2021a) finds that samplers that are optimal with respect to ELBO often lead to worse sample quality and Frechet Inception Distance (FID) scores (Heusel et al., 2017), especially with few inference ´ steps. We propose the use of a perceptual loss within the DDSS framework to find high-fidelity diffusion samplers, motivated by prior work showing that their optimization leads to solutions that correlate better with human perception of quality. We empirically find that using DDSS with the Kernel Inception Distance (KID) (Binkowski et al., 2018) as the perceptual loss indeed leads to ´ fast samplers with significantly better image quality than prior work (see Figure 1). Moreover, our method is robust to different choices of kernels for KID.
23
+
24
+ Our main contributions are as follows:
25
+
26
+ 1. We propose Differentiable Diffusion Sampler Search (DDSS), which uses the reparametrization trick and gradient rematerialization to optimize over a parametric family of fast samplers for diffusion models.
27
+ 2. We identify a parametric family of Generalized Gaussian Diffusion Model (GGDM) that admits high-fidelity fast samplers for diffusion models.
28
+ 3. We show that using DDSS to optimize samplers by minimizing the Kernel Inception Distance leads to fast diffusion model samplers with state-of-the-art sample quality scores.
29
+
30
+ # 2 BACKGROUND ON DENOISING DIFFUSION IMPLICIT MODELS
31
+
32
+ We start with a brief review on DDPM (Ho et al., 2020) and DDIM (Song et al., 2020). DDPMs pre-specify a Markovian forward diffusion process, which gradually adds noise to data in $T$ steps. Following the notation of Ho et al. (2020),
33
+
34
+ $$
35
+ \begin{array} { r c l } { \displaystyle q ( \pmb { x } _ { 0 } , . . . , \pmb { x } _ { T } ) } & { = } & { \displaystyle q ( \pmb { x } _ { 0 } ) \prod _ { t = 1 } ^ { T } q ( \pmb { x } _ { t } | \pmb { x } _ { t - 1 } ) } \\ { \displaystyle q ( \pmb { x } _ { t } | \pmb { x } _ { t - 1 } ) } & { = } & { \displaystyle \mathcal { N } ( \pmb { x } _ { t } | \sqrt { 1 - \beta _ { t } } \pmb { x } _ { s } , \beta _ { t } \pmb { I } ) , } \end{array}
36
+ $$
37
+
38
+ where $q ( { \pmb x } _ { 0 } )$ is the data distribution, and $\beta _ { t }$ is the variance of Gaussian noise added at step $t$ . To be able to gradually convert noise to data, DDPMs learn to invert (1) with a model $p _ { \theta } ( \pmb { x } _ { t - 1 } | \bar { \pmb { x } } _ { t } )$ , which
39
+
40
+ is trained by maximizing a (possibly reweighted) evidence lower bound (ELBO):
41
+
42
+ $$
43
+ \mathbb { E } _ { q } \left[ D _ { \mathrm { K L } } [ q ( \boldsymbol { x } _ { T } | \boldsymbol { x } _ { 0 } ) | | p ( \boldsymbol { x } _ { T } ) ] + \sum _ { t = 2 } ^ { T } D _ { \mathrm { K L } } [ q ( \boldsymbol { x } _ { t - 1 } | \boldsymbol { x } _ { t } , \boldsymbol { x } _ { 0 } ) | | p _ { \theta } ( \boldsymbol { x } _ { t - 1 } | \boldsymbol { x } _ { t } ) ] - \log p _ { \theta } ( \boldsymbol { x } _ { 0 } | \boldsymbol { x } _ { 1 } ) \right]
44
+ $$
45
+
46
+ DDPMs specifically choose the model to be parametrized as
47
+
48
+ $$
49
+ \begin{array} { l } { \displaystyle p _ { \theta } \big ( \mathbf { x } _ { t - 1 } \big | \mathbf { x } _ { t } \big ) = q \left( x _ { t - 1 } \bigg | \mathbf { x } _ { t } , \hat { \mathbf { x } } _ { 0 } = \frac { 1 } { \sqrt { \bar { \alpha _ { t } } } } \big ( x _ { t } - \sqrt { 1 - \bar { \alpha _ { t } } } \epsilon _ { \theta } \big ( \mathbf { x } _ { t } , t \big ) \big ) \right) } \\ { \displaystyle \qquad = \mathcal { N } \left( x _ { t - 1 } \bigg | \frac { 1 } { \sqrt { 1 - \beta _ { t } } } \left( x _ { t } - \frac { \beta _ { t } } { \sqrt { 1 - \bar { \alpha } _ { t } } } \epsilon _ { \theta } \big ( \mathbf { x } _ { t } , t \big ) \right) , \frac { 1 - \bar { \alpha } _ { t } } { 1 - \bar { \alpha } _ { t - 1 } } \beta _ { t } I _ { d } \right) } \end{array}
50
+ $$
51
+
52
+ where $\begin{array} { r } { \bar { \alpha _ { t } } = \prod _ { s = 1 } ^ { t } ( 1 - \beta _ { t } ) } \end{array}$ for each $t$ . With this parametrization, maximizing the ELBO is equivalent to minimizing a weighted sum of denoising score matching objectives (Vincent, 2011).
53
+
54
+ The seminal work of Song et al. (2020) presents Denoising Diffusion Implicit Models (DDIM): a family of evidence lower bounds (ELBOs) with corresponding forward diffusion processes and samplers. All of these ELBOs share the same marginals as DDPM, but allow arbitrary choices of posterior variances. Specifically, Song et al. (2020) note that is it possible to construct alternative ELBOs with only a subsequence of the original timesteps $S \subset \{ 1 , . . . , T \}$ that shares the same marginals as the construction above (i.e., $q _ { S } \mathbf { \bar { ( } } \mathbf { x } _ { t } | \mathbf { x } _ { 0 } \mathbf { ) } = q \mathbf { \bar { ( } } \mathbf { x } _ { t } | \mathbf { x } _ { 0 } \mathbf { ) }$ for every $t \in S$ , so $q _ { S }$ defines a faster sampler compatible with the pre-trained model) by simply using the new contiguous timesteps in the equations above. They also show it is also possible to construct an infinite family of nonMarkovian processes $\{ q _ { \sigma } : \dot { \sigma } \in [ 0 , 1 ] ^ { T - 1 } \}$ where each $q _ { \sigma }$ also shares the same marginals as the original forward process with:
55
+
56
+ $$
57
+ q _ { \sigma } ( \pmb { x } _ { 0 } , . . . , \pmb { x } _ { t } ) = q ( \pmb { x } _ { 0 } ) q ( \pmb { x } _ { T } | \pmb { x } _ { 0 } ) \prod _ { t = 1 } ^ { T - 1 } q _ { \sigma } ( \pmb { x } _ { t } | \pmb { x } _ { t + 1 } , \pmb { x } _ { 0 } )
58
+ $$
59
+
60
+ and where the posteriors are defined as
61
+
62
+ $$
63
+ q _ { \sigma } ( \pmb { x } _ { t - 1 } | \pmb { x } _ { t } , \pmb { x } _ { 0 } ) = \mathcal { N } \left( \pmb { x } _ { t - 1 } \bigg | \sqrt { \bar { \alpha } _ { t - 1 } } \pmb { x } _ { 0 } + \sqrt { 1 - \bar { \alpha } _ { t - 1 } - \sigma _ { t } ^ { 2 } } \cdot \frac { \pmb { x } _ { t } - \sqrt { \bar { \alpha } _ { t } } \pmb { x } _ { 0 } } { \sqrt { 1 - \bar { \alpha } _ { t } } } , \sigma _ { t } ^ { 2 } \pmb { I } _ { d } \right)
64
+ $$
65
+
66
+ Song et al. (2020) empirically find that the extreme case of using all-zero variances (a.k.a. $\mathrm { D D I M } ( \eta = 0 ) ,$ ) consistently helps with sample quality in the few-step regime. Combined with a good selection of timesteps to evaluate the modeled score function (a.k.a. strides), $\mathrm { D D I M } ( \eta = 0 )$ establishes the current state-of-the-art for few-step diffusion model sampling with the smallest inference step budgets. Our key contribution that allows improving sample quality significantly by optimizing sampler families is constructing a family that generalizes DDIM. See Section 4 for a more complete treatment of our novel GGDM family.
67
+
68
+ # 3 DIFFERENTIABLE DIFFUSION SAMPLER SEARCH (DDSS)
69
+
70
+ We now describe DDSS, our approach to search for fast high-fidelity samplers with a limited budget of $K < T$ steps. Our key observation is that one can backpropagate through the sampling process of a diffusion model via the reparamterization trick (Kingma & Welling, 2013). Equipped with this, we can now use stochastic gradient descent to learn fast samplers by optimizing any given differentiable loss function over a minibatch of model samples.
71
+
72
+ We begin with a pre-trained DDPM and a family of $K$ -step samplers that we wish to optimize for the given DDPM. We parametrize this family’s degrees of freedom as simple transformations of trainable variables. We experiment with the following families in this paper, but emphasize that DDSS is applicable to any other family where model samples are differentiable with respect to the trainable variables:
73
+
74
+ • DDIM: we parametrize the posterior variances with √ $\sigma _ { t } = \sqrt { 1 - \bar { \alpha } _ { t - 1 } }$ sigmoid $\left( v _ { t } \right)$ , where $v _ { 1 } , . . . , v _ { K }$ are trainable variables (the $\sqrt { 1 - \bar { \alpha } _ { t - 1 } }$ constant ensures real-valued mean coefficients; see the square root in Equation 6).
75
+
76
+ ![](images/f7b465e57a29651ce12353533765c18485729af556a7cb3ef9c66309d8c511a7.jpg)
77
+ Figure 2: Illustration of GGDM. To improve sample quality, our novel family of samplers combines information from all previous (noisier) images at every denoising step.
78
+
79
+ • VARS: we parametrize the marginal variances of a DDPM as cumsum $( \operatorname { s o f t m a x } ( [ \pmb { v } ; 1 ] ) ) _ { t }$ instead of fixing them to $1 - \bar { \alpha } _ { t }$ . This ensures they are monotonically increasing with respect to $t$ (appending a one to ensure $K$ degrees of freedom). GGDM: a new family of non-Markovian samplers for diffusion models with more degrees of freedom illustrated in Figure 2 and defined in Section 4. We parametrize $\mu _ { t u }$ and $\sigma _ { t }$ of a GGDM for all $t$ as sigmoid functions of trainable variables. GGDM $\mathbf { \Gamma } + \mathbf { P } \mathbf { R } \mathbf { E } \mathbf { D }$ : we parametrize all the $\mu _ { t u }$ and $\sigma _ { t }$ identically to GGDM, but also learn the marginal coefficients with a cumsum $\circ$ softmax parametrization (identical to VARS) instead of computing them via Theorem 1, as well as the coefficients that predict $\scriptstyle { \mathbf { { \mathit { x } } } } _ { 0 }$ from $a _ { t } { \pmb x } _ { t } - b _ { t } { \pmb \epsilon }$ with $1 +$ softplus and softplus parametrizations.
80
+ • [family] ${ \bf + } { \bf \Pi } { \bf \Pi } { \bf \bf \Pi } \mathbf { M } { \bf E }$ : for any sampler family, we additionally parametrize the timesteps used to query the score model with a cumsum ◦ softmax parametrization (identical to VARS).
81
+
82
+ As we will show in the experiments, despite the fact that our pre-trained DDPMs are trained with discrete timesteps, learning the timesteps is still helpful. In principle, this should only be possible for DDPMs trained with continuous time sampling (Chen et al., 2021a; Song et al., 2021b; Kingma et al., 2021), but in practice we find that DDPMs trained with continuously embedded discrete timesteps are still well-behaved when applied at timesteps not present during training. We think this is due to the regularity of the sinusoidal positional encodings Vaswani et al. (2017) used in these model architectures and training with a sufficiently large number of timesteps $T$ .
83
+
84
+ # 3.1 DIFFERENTIABLE SAMPLE QUALITY SCORES
85
+
86
+ We can differentiate through a stochastic sampler using the reparameterization trick, but the question of which objective to optimize still remains. Prior work has shown that optimizing log-likelihood can actually worsen sample quality and FID scores in the few-step regime (Watson et al., 2021; Song et al., 2021a). Thus, we instead design a perceptual loss which simply compares mean statistics between model samples and real samples in the neural network feature space. These types of objectives have been shown in prior work to better correlate with human perception of sample quality (Johnson et al., 2016; Heusel et al., 2017), which we also confirm in our experiments.
87
+
88
+ We rely on the representations of the penultimate layer of a pre-trained InceptionV3 classifier (Szegedy et al., 2016) and optimize the Kernel Inception Distance (KID) (Binkowski et al., 2018). ´ Let $\phi ( { \pmb x } )$ denote the inception features of an image $_ { \textbf { \em x } }$ and $p _ { \psi }$ represent a diffusion sampler with trainable parameters $\psi$ . For a linear kernel, which works best in our experiments, the objective is:
89
+
90
+ $$
91
+ \mathcal { L } ( \psi ) = \underset { \pmb { x } _ { p } \sim p _ { \psi } } { \mathbb { E } } \underset { \pmb { x } _ { p } ^ { \prime } \sim p _ { \psi } } { \mathbb { E } } \phi ( \pmb { x } _ { p } ) ^ { \top } \phi ( \pmb { x } _ { p } ^ { \prime } ) - \underset { \pmb { x } _ { p } \sim p _ { \psi } } { \mathbb { E } } \underset { \pmb { x } _ { q } \sim q } { \mathbb { E } } \phi ( \pmb { x } _ { p } ) ^ { \top } \phi ( \pmb { x } _ { q } )
92
+ $$
93
+
94
+ More generally, KID can be expressed as:
95
+
96
+ $$
97
+ { \mathcal L } _ { \mathrm { K I D } } ( \boldsymbol { \psi } ) = \left. \underset { \boldsymbol { x } _ { p } \sim p _ { \boldsymbol { \psi } } } { \mathbb { E } } f ^ { * } ( \boldsymbol { x } _ { p } ) - \underset { \boldsymbol { x } _ { q } \sim q } { \mathbb { E } } f ^ { * } ( \boldsymbol { x } _ { q } ) \right. _ { 2 } ^ { 2 } ,
98
+ $$
99
+
100
+ where $f ^ { * } ( x ) = \mathbb { E } _ { x _ { p } ^ { \prime } \sim p _ { \psi } } k _ { \phi } ( x , x _ { p } ^ { \prime } ) - \mathbb { E } _ { x _ { q } ^ { \prime } \sim q ( x _ { 0 } ) } k _ { \phi } ( x , x _ { q } ^ { \prime } )$ is the witness function for any differentiable, positive definite kernel $k$ , and $k _ { \phi } ( \dot { \pmb x } , \pmb y ) = k ( \phi ( \pmb x ) , \phi ( \pmb y ) )$ . Note that $f ^ { * }$ attains the supremum of the MMD. To enable stochastic gradient descent, we use an unbiased estimator of KID using a minibatch of $n$ model samples $\pmb { x } _ { p } ^ { ( 1 ) } \ldots \pmb { x } _ { p } ^ { ( n ) } \sim p _ { \psi }$ and $n$ real samples $\pmb { x } _ { q } ^ { ( 1 ) } \dots \pmb { x } _ { q } ^ { ( n ) } \sim q$ :
101
+
102
+ $$
103
+ \frac { 1 } { n ( n - 1 ) } \sum _ { i \neq j } ^ { n } k _ { \phi } ( { \pmb x } _ { p } ^ { ( i ) } , { \pmb x } _ { p } ^ { ( j ) } ) - \frac { 2 } { n ^ { 2 } } \sum _ { i = 1 } ^ { n } \sum _ { j = 1 } ^ { n } k _ { \phi } ( { \pmb x } _ { p } ^ { ( i ) } , { \pmb x } _ { q } ^ { ( j ) } ) + c ,
104
+ $$
105
+
106
+ where $c$ is constant in $\psi$ . Since the sampling chain of any Gaussian diffusion process admits using the reparametrization trick, our loss function is fully differentiable with respect to the trainable variables $\psi$ . We empirically find that using the perceptual features is crucial; i.e., by trying $\phi ( { \pmb x } ) = { \pmb x }$ to compare images directly on pixel space rather than neural network feature space (as above), we observe that our method makes samples consistently worsen in apparent quality as training progresses.
107
+
108
+ # 3.2 GRADIENT REMATERIALIZATION
109
+
110
+ In order for backpropagation to be feasible under reasonable memory constraints, one final problem must be addressed: since we are taking gradients with respect to model samples, the cost in memory to maintain the state of the forward pass scales linearly with the number of inference steps, which can quickly become unfeasible considering the large size of typical DDPM architectures. To address this issue, we use gradient rematerialization (Kumar et al., 2019b). Instead of storing a particular computation’s output from the forward pass required by the backward pass computation, we recompute it on the fly. To trade $\mathcal O ( K )$ memory cost for $\mathcal O ( K )$ computation time, we simply rematerialize calls to the pre-trained DDPM (i.e., the estimated score function), but keep in memory all the progressively denoised images from the sampling chain. In JAX (Bradbury et al., 2018), this is trivial to implement by simply wrapping the score function calls with jax.remat.
111
+
112
+ # 4 GENERALIZED GAUSSIAN DIFFUSION MODELS
113
+
114
+ We now present Generalized Gaussian Diffusion Model (GGDM), our novel family of Gaussian diffusion processes that includes DDIM as a special case mentioned in section 3. We define a joint distribution with no independence assumptions
115
+
116
+ $$
117
+ q _ { \mu , \sigma } ( \pmb { x } _ { 0 } , . . . , \pmb { x } _ { T } ) = q ( \pmb { x } _ { 0 } ) q ( \pmb { x } _ { T } | \pmb { x } _ { 0 } ) \prod _ { t = 1 } ^ { T - 1 } q _ { \mu , \sigma } ( \pmb { x } _ { t } | \pmb { x } _ { > t } , \pmb { x } _ { 0 } )
118
+ $$
119
+
120
+ where the new factors are defined as
121
+
122
+ $$
123
+ q _ { \mu , \sigma } ( \pmb { x } _ { t } | \pmb { x } _ { > t } , \pmb { x } _ { 0 } ) = \mathcal { N } \left( \pmb { x } _ { t } \bigg | \sum _ { u \in S _ { t } } \mu _ { t u } \pmb { x } _ { u } , \sigma _ { t } ^ { 2 } \pmb { I } _ { d } \right)
124
+ $$
125
+
126
+ (letting $S _ { t } ~ = ~ \{ 0 , . . . , T \} ~ \backslash ~ \{ 1 , . . . , t \}$ for notation compactness), with $\sigma _ { t }$ and $\mu _ { t u }$ free parameters $\forall t \in \{ 1 , . . . , T \} , u \in S _ { t }$ . In other words, when predicting the next, less noisy image, the sampler can take into account all the previous, noisier images in the sampling chain, and similarly to DDIM, we can also control the sampler’s variances. As we prove in the appendix (A.2), this construction admits Gaussian marginals, and we can differentiably compute the marginal coefficients from arbitrary choices of $\mu$ and $\sigma$ :
127
+
128
+ Theorem 1. Given some $t \in \{ 1 , . . . , T \}$ , let $a _ { t u } ^ { ( 1 ) } \ = \ \mu _ { t u } \ \forall u \in \ S _ { t }$ and $v _ { t } ^ { ( 1 ) } = \sigma _ { t } ^ { 2 }$ . For each , recursively define
129
+
130
+ $$
131
+ a _ { t u } ^ { ( i + 1 ) } = a _ { t , t + i } ^ { ( i ) } \mu _ { t + i , u } + a _ { t u } ^ { ( i ) } \forall u \in S _ { t + i } \quad \mathrm { a n d } \quad v _ { t } ^ { ( i + 1 ) } = v _ { t } ^ { ( i ) } + \left( a _ { t , t + i } ^ { ( i ) } \sigma _ { t + i } \right) ^ { 2 } .
132
+ $$
133
+
134
+ Then, it follows that
135
+
136
+ $$
137
+ q _ { \mu , \sigma } ( \pmb { x } _ { t } | \pmb { x } _ { > t + i } , \pmb { x } _ { 0 } ) = \mathcal { N } \left( \pmb { x } _ { t } \middle | \sum _ { \pmb { u \in S } _ { t + i } } a _ { t u } ^ { ( i + 1 ) } \pmb { x } _ { u } , v _ { t } ^ { ( i + 1 ) } \pmb { I } _ { d } \right) .
138
+ $$
139
+
140
+ In other words, instead of letting the $\beta _ { t }$ (or equivalently, the $\bar { \alpha } _ { t }$ ) define the forward process as done by a usual DDPM, the GGDM family lets the $\mu _ { t u }$ and $\sigma _ { t }$ define the process. In particular, an immediate corollary of Theorem 1 is that the marginal coefficients are given by
141
+
142
+ $$
143
+ \begin{array} { r } { q _ { \mu , \sigma } ( \pmb { x } _ { t } | \pmb { x } _ { 0 } ) = \mathcal { N } \left( \pmb { x } _ { t } \Big | a _ { t 0 } ^ { ( T - t + 1 ) } \pmb { x } _ { 0 } , v _ { t } ^ { ( T - t + 1 ) } \pmb { I } _ { d } \right) } \end{array}
144
+ $$
145
+
146
+ The reverse process is thus defined as $\begin{array} { r } { p ( { \pmb x } _ { T } ) \prod _ { t = 1 } ^ { T } p ( { \pmb x } _ { t - 1 } | { \pmb x } _ { t } ) } \end{array}$ with $p ( \pmb { x } _ { T } ) \sim \mathcal { N } ( \mathbf { 0 } , \pmb { I } _ { d } ) )$ and
147
+
148
+ $$
149
+ p _ { \theta } ( \mathbf { x } _ { t } | \mathbf { x } _ { > t } ) = q _ { \mu , \sigma } \left( x _ { t } | \mathbf { x } _ { > t } , \hat { \mathbf { x } } _ { 0 } = \frac { 1 } { a _ { t 0 } ^ { ( T - t + 1 ) } } \left( \mathbf { x } _ { t } - \sqrt { v _ { t } ^ { ( T - t + 1 ) } } \epsilon _ { \theta } ( \mathbf { x } _ { t } , t ) \right) \right) .
150
+ $$
151
+
152
+ Table 1: FID and IS scores for DDSS against baseline methods for a DDPM trained on CIFAR10 with the $L _ { \mathrm { s i m p l e } }$ objective proposed by (Ho et al., 2020). FID scores (lower is better) are the numbers at the left of each entry, and IS scores (higher is better) are at the right.
153
+
154
+ <table><tr><td>SamplerK</td><td>5</td><td>10</td><td>15</td><td>20</td><td>25</td></tr><tr><td>DDPM (linear stride)</td><td>84.27/5.396</td><td>43.39/7.034</td><td>31.40/7.609</td><td>25.94/7.879</td><td>22.60/8.043</td></tr><tr><td>DDPM(quadratic stride)</td><td>76.25 / 5.435</td><td>42.03 /6.965</td><td>27.78 /7.714</td><td>20.225 /8.128</td><td>16.17 / 8.350</td></tr><tr><td>DDIM (linear stride)</td><td>44.41 / 6.750</td><td>19.11 / 7.965</td><td>14.06 /8.190</td><td>11.82 /8.420</td><td>10.52 / 8.512</td></tr><tr><td>DDIM(quadratic stride)</td><td>32.66 /7.090</td><td>13.62/8.190</td><td>9.318 /8.495</td><td>7.500 / 8.641</td><td>6.560 / 8.759</td></tr><tr><td>GGDM+PRED+TIME</td><td>13.77 /8.520</td><td>8.227 / 8.903</td><td>6.115 /9.050</td><td>4.722/9.261</td><td>4.250 /9.186</td></tr></table>
155
+
156
+ Table 2: FID / IS scores for DDSS against baseline methods for a DDPM trained on ImageNet 64x64 with the $L _ { \mathrm { h y b r i d } }$ objective proposed by Nichol & Dhariwal (2021).
157
+
158
+ <table><tr><td>SamplerK</td><td>5</td><td>10</td><td>15</td><td>20</td><td>25</td></tr><tr><td>DDPM (linear stride)</td><td>122.0/5.878</td><td>58.78/10.67</td><td>39.30/13.22</td><td>31.36/14.72</td><td>26.36/15.71</td></tr><tr><td>DDPM(quadratic stride)</td><td>394.8 / 1.351</td><td>129.5 / 5.997</td><td>80.10 /9.595</td><td>61.34 / 11.60</td><td>49.60 / 13.01</td></tr><tr><td>DDIM (linear stride)</td><td>135.4 /5.898</td><td>40.70 / 12.225</td><td>28.54 /13.99</td><td>24.225 / 14.75</td><td>22.13 /15.16</td></tr><tr><td>DDIM (quadratic stride)</td><td>409.1/1.380</td><td>148.6 / 5.533</td><td>67.65 /9.842</td><td>45.60 / 11.99</td><td>36.11 /13.225</td></tr><tr><td>GGDM+PRED+TIME</td><td>55.14 /12.90</td><td>37.32/14.76</td><td>24.69/17.225</td><td>20.69 /17.92</td><td>18.40 /18.12</td></tr></table>
159
+
160
+ # 4.1 IGNORING THE MATCHING MARGINALS CONDITION
161
+
162
+ Unlike DDIM, the GGDM family does not guarantee that the marginals of the new forward process match that of the original DDPM. We empirically find, however, that this condition can often be too restrictive and better samplers exist where the marginals $q _ { \mu , \sigma } ( \pmb { x } _ { t } | \pmb { x } _ { 0 } ) =$ $\mathcal { N } \left( \pmb { x } _ { t } \Big | a _ { t 0 } ^ { ( T - t + 1 ) } \pmb { x } _ { 0 } , v _ { t } ^ { ( T - t + 1 ) } \pmb { I } _ { d } \right)$ v(T −t+1)t Id of the new forward process differ from the original DDPM’s marginals. We verify this empirically by applying DDSS to both the family of DDIM sigmas and DDPM variances (“VARS” in Section 3): both sampler families have the same number of parameters (the reverse process variances), but the latter does not adjust the mean coefficients like DDIM to ensure matching marginals and still achieves similar or better scores than the former across sample quality metrics (and even outperforms the $\mathrm { D D I M } ( \eta = 0 )$ baseline); see Section 5.2.
163
+
164
+ # 5 EXPERIMENTS
165
+
166
+ In order to emphasize that our method is compatible with any pre-trained DDPM, we apply our method on pre-trained DDPM checkpoints from prior work. Specifically, we experiment with the DDPM trained by Ho et al. (2020) with $L _ { \mathrm { s i m p l e } }$ on CIFAR10, as well as a DDPM following the exact configuration of Nichol & Dhariwal (2021) trained on ImageNet 64x64 (Deng et al., 2009) with their $L _ { \mathrm { h y b r i d } }$ objective (with the only difference being that we trained the latter ourselves for 3M rather than 1.5M steps). Both of these models utilize adaptations of the UNet architecture (Ronneberger et al., 2015) that incorporate self-attention layers (Vaswani et al., 2017).
167
+
168
+ We evaluate all of our models on both FID and Inception Score (IS) (Salimans et al., 2016), comparing the samplers discovered by DDSS against DDPM and DDIM baselines with linear and quadratic strides. As previously mentioned, more recent methods for fast sampling are outperformed by DDIM when the budget of inference steps is as small as those we utilize in this work (5, 10, 15, 20, 25). All reported results on both of these approximate sample quality metrics were computed by comparing 50K model and training data samples, as is standard in the literature. Also as is standard, IS scores are computed 10 times, each time on 5K samples, and then averaged.
169
+
170
+ In all of our experiments, we optimize the DDSS objective presented in Section 3.1 with the following hyperparameters:
171
+
172
+ 1. For every family of models we search over, we initialize the degrees of freedom such that training begins with a sampler matching DDPM with $K$ substeps following Song et al. (2020); Nichol & Dhariwal (2021).
173
+
174
+ Table 3: FID / IS scores for the KID kernel ablation on CIFAR10. When not learning the timesteps, we fix them to a quadratic stride, as Table 1 shows this performs best on CIFAR10.
175
+
176
+ <table><tr><td rowspan=1 colspan=1>SamplerK</td><td rowspan=1 colspan=1>5</td><td rowspan=1 colspan=1>10</td><td rowspan=1 colspan=1>15</td><td rowspan=1 colspan=1>20</td><td rowspan=1 colspan=1>25</td></tr><tr><td rowspan=1 colspan=1>DDSS (linear kernel)GGDM+PRED+TIMEGGDM+PREDGGDM+TIMEGGDM)</td><td rowspan=1 colspan=1>13.77 /8.52014.26 /8.40612.85 /8.38314.45 /8.281</td><td rowspan=1 colspan=1>8.227 /8.9038.617 /8.8427.858 / 8.8958.154 /8.892</td><td rowspan=1 colspan=1>6.115 /9.0505.939 /9.0356.265 /9.0757.045 /8.939</td><td rowspan=1 colspan=1>4.722 /9.2614.893 /9.1535.367 /9.1365.477 /9.183</td><td rowspan=1 colspan=1>4.250 /9.1864.574 /9.1454.887 /9.2294.815 /9.189</td></tr><tr><td rowspan=1 colspan=1>DDSS (cubic kernel)GGDM+PRED+TIMEGGDM+PREDGGDM+TIMEGGDM</td><td rowspan=1 colspan=1>14.41 / 8.52714.39 /8.40112.35 / 8.40614.57 /8.297</td><td rowspan=1 colspan=1>8.2257 /9.0078.977 /8.8707.879 /8.8528.2252/8.836</td><td rowspan=1 colspan=1>5.895 /9.0366.517 / 8.9706.682 /8.9996.727 /8.904</td><td rowspan=1 colspan=1>4.932/9.0924.915 /9.1325.639 /9.0585.569 /9.177</td><td rowspan=1 colspan=1>4.278/9.2864.471 /9.2474.631/9.1894.668 /9.192</td></tr></table>
177
+
178
+ 2. We apply gradient updates using the Adam optimizer (Kingma & Ba, 2015). We sweeped over the learning rate and used $\lambda = 0 . 0 0 0 5$ . We did not sweep over other Adam hyperparameters and kept β1 = 0.9, β2 = 0.999, and  = 1 × 10−8.
179
+
180
+ 3. We tried batch sizes of 128 and 512 and opted for the latter, finding that it leads to better sample quality upon inspection. Since the loss depends on averages over examples as our experiments are on unconditional generation, this choice was expected.
181
+
182
+ 4. We run all of our experiments for 50K training steps and evaluate the discovered samplers at this exact number of training steps. We did not sweep over this value.
183
+
184
+ We include our main results in Table 1 for CIFAR10 and Table 2 for ImageNet 64x64, comparing DDSS applied to GGDM $+ \mathrm { P R E D + T I M E }$ against DDPM and DDIM baselines with linear and quadratic strides. All models use a linear kernel, i.e., $k _ { \phi } ( { \pmb x } , { \pmb y } ) = \phi ( { \pmb x } ) ^ { \top } \phi ( { \pmb y } )$ , which we found to perform slightly better than the cubic kernel used by Binkowski et al. (2018) (we ablate this in ´ section 5.1). We omit the use of the learned variances of the ImageNet $6 4 \mathrm { x } 6 4$ model (i.e., following Nichol & Dhariwal (2021)), as we search for the variances ourselves via DDSS. We include samples for 5, 10 and 25 steps comparing the strongest DDIM baselines to $\mathrm { D D S S } + \mathrm { G G D M }$ with a learned stride; see Figures 1 and 3. We include additional ImageNet $6 4 \mathrm { x } 6 4$ samples (A.1) and results for larger resolution datasets (A.4) in the appendix.
185
+
186
+ # 5.1 ABLATIONS FOR KID KERNEL AND GGDM VARIANTS
187
+
188
+ As our approach is compatible with any choice of KID kernel, we experiment with different choices of kernels. Namely, we try the simplest possible linear kernel, $k _ { \phi } ( \dot { \pmb { x } } , \pmb { y } ) = \phi ( \pmb { x } ) ^ { \top } \phi ( \pmb { y } )$ , as well as the cubic kernel $\begin{array} { r } { k _ { \phi } ( \pmb { x } , \pmb { y } ) = \left( \frac { 1 } { d } \phi ( \pmb { x } ) ^ { \top } \phi ( \pmb { y } ) + 1 \right) ^ { 3 } } \end{array}$ used by Binkowski et al. (2018). We compare the ´ performance of these two kernels, as well as different variations of GGDM (i.e., with and without TIME and PRED as defined in Section 3). Results are included for CIFAR10 across all budgets in Table 3. We also include a smaller version of this ablation for ImageNet 64x64 in the appendix (A.3).
189
+
190
+ The results in this ablation show that the contributions of the linear kernel, timestep learning, and the empirical choice of learning the coefficients that predict $\scriptstyle { \mathbf { { \mathit { x } } } } _ { 0 }$ all slightly contribute to better FID and IS scores. Importantly, however, removing any of these additions still allows us to comfortably outperform the strongest baselines. See also the results on LSUN in the appendix A.4, which also do not include these additional trainable variables.
191
+
192
+ # 5.2 SEARCH SPACE ABLATION
193
+
194
+ Now, in order to further demonstrate the key importance of optimizing our GGDM family to find high-fidelity samplers, we also apply DDSS to the less general DDIM and VARS families. We show that, while we still attain better scores than a regular DDPM, searching these less flexible families of samplers does not yield improvements as significant as with out novel GGDM family. In particular, optimizing the DDIM sigma coefficients does not outperform the corresponding $\mathrm { D D I M } ( \eta = 0 )$ baseline on CIFAR10, which is not a surprising result as Song et al. (2020) show empirically that most choices of the $\sigma _ { t }$ degrees of freedom lead to worse FID scores than setting them all to 0. These results also show that optimizing the VARS can outperform DDSS applied to the DDIM family, and even the strongest $\mathrm { D D I M } ( \eta = 0 )$ baselines for certain budgets, justifying our choice of not enforcing the marginals to match (as discussed in Section 4.1).
195
+
196
+ Table 4: FID / IS scores for the DDSS search space ablation on CIFAR10. All runs fix the timesteps to a quadratic stride and use a linear kernel except for the last row (we only include the GGDM results for ease of comparison).
197
+
198
+ <table><tr><td rowspan=1 colspan=1>SamplerK</td><td rowspan=1 colspan=1>5</td><td rowspan=1 colspan=1>10</td><td rowspan=1 colspan=1>15</td><td rowspan=1 colspan=1>20</td><td rowspan=1 colspan=1>25</td></tr><tr><td rowspan=1 colspan=1>DDIM(n = 0)</td><td rowspan=1 colspan=1>32.66/7.090</td><td rowspan=1 colspan=1>13.62/8.190</td><td rowspan=1 colspan=1>9.318/ 8.495</td><td rowspan=1 colspan=1>7.500 / 8.641</td><td rowspan=1 colspan=1>6.560/ 8.759</td></tr><tr><td rowspan=1 colspan=1>DDSSVARSDDIM</td><td rowspan=1 colspan=1>33.08 /7.09632.61/7.084</td><td rowspan=1 colspan=1>15.33 /8.55916.29 /7.966</td><td rowspan=1 colspan=1>9.693 /8.84511.31/ 8.372</td><td rowspan=1 colspan=1>7.297 / 8.9249.120 /8.563</td><td rowspan=1 colspan=1>6.172/9.0577.853 /8.644</td></tr><tr><td rowspan=1 colspan=1>GGDMGGDM+PRED+TIME</td><td rowspan=1 colspan=1>14.45/8.28113.77 /8.520</td><td rowspan=1 colspan=1>8.154/8.8928.227 / 8.903</td><td rowspan=1 colspan=1>7.045 / 8.9396.115 /9.050</td><td rowspan=1 colspan=1>5.477 /9.1834.722 /9.261</td><td rowspan=1 colspan=1>4.815/9.1894.250 /9.186</td></tr></table>
199
+
200
+ # 6 DISCUSSION
201
+
202
+ When applied to a sufficiently flexible family (such as the GGDM family proposed in this work), DDSS consistently finds samplers that achieve better image generation quality than the strongest baselines in the literature for very few steps. This is qualitatively apparent in non-cherrypicked samples (e.g., $\mathrm { D D I M } ( \eta = 0 )$ tends to generate blurrier images and with less background details as the budget decreases), and multiple quantitative sample quality metrics (FID and IS) also reflect these results. Still, we observe limitations to our method. Finding samplers with inference step budgets as small as $K < 1 0$ that have little apparent loss in quality remains challenging with our proposed search family. And, while on CIFAR10 the metrics indicate significant relative improvement over sample quality metrics, the relative improvement on ImageNet 64x64 is less pronounced. We hypothesize that this is an inherent difficulty of ImageNet due to its high diversity of samples, and that in order to retain sample quality and diversity, it might be impossible to escape some minimum number of inference steps with score-based models as they might be crucial to mode-breaking.
203
+
204
+ Beyond the empirical gains of applying our procedure, our findings shed further light into properties of pre-trained score-based generative models. First, we show that without fine-tuning a DDPM’s parameters, these models are already capable of producing high-quality samples with very few inference steps, though the default DDPM sampler in this regime is usually suboptimal when using a few-step sampler. We further show that better sampling paths exist, and interestingly, these are determined by alternative variational lower bounds to the data distribution that make use of the score-based model but do not necessarily share the same marginals as the original DDPM forward process. Our findings thus suggest that enforcing this marginal-sharing constraint is unnecessary and can be too restrictive in practice.
205
+
206
+ # 7 OTHER RELATED WORK
207
+
208
+ Besides DDIM (Song et al., 2020), there have been more recent attempts at reducing the number of inference steps for DDPMs. Jolicoeur-Martineau et al. (2021) proposed a dynamic step size SDE solver that can reduce the number of calls to the modeled score function to $\sim 1 5 0$ on CIFAR10 (Krizhevsky et al., 2009) with minimal cost in FID scores, but quickly falls behind $\mathrm { D D I M } ( \eta = 0 )$ with as many as 50 steps. Watson et al. (2021) proposed a dynamic programming algorithm that chooses log-likelihood optimal strides, but find that log-likelihood reduction has a mismatch with FID scores, particularly with in the very few step regime, also falling behind $\mathrm { D D I M } ( \eta = 0 )$ in this front. Other methods that have been shown to help sample quality in the few-step regime include non-Gaussian variants of diffusion models (Nachmani et al., 2021) and adaptively adjusting the sampling path by introducing a noise level estimating network (San-Roman et al., 2021), but more thorough evaluation of sample quality achieved by these approaches is needed with budgets as small as those considered in this work.
209
+
210
+ Other approaches to sampling DDPMs have also been recently proposed, though not for the explicit purpose of efficient sampling. Song et al. (2021b) derive a reverse SDE that, when discretized, uses different coefficients than the ancestral samplers considered in this work. The same authors also derive “corrector” steps, which introduce additional calls to the pre-trained DDPM as a form of gradient ascent (Langevin dynamics) that help with quality but introduce computation cost, as well as an alternative sampling procedure using a probability flow ODE that shares the same marginals as the DDPM’s original forward process. Huang et al. (2021) generalize this family of samplers to a “plug-in reverse SDE” that interpolates between a probability flow ODE and the reverse SDE, similarly to how the DDIM $\eta$ interpolates between an implicit probabilistic model and a stochastic reverse process. Our proposed search family includes discretizations of most of these cases for Gaussian processes, notably missing corrector steps, where reusing a single timestep is considered.
211
+
212
+ ![](images/32e14402d05adeeb690961580b44df8d5fbd8f1bb8eac3367ce846dcaf8eebe6.jpg)
213
+ Figure 3: Non-cherrypicked samples for a DDPM trained on CIFAR10, comparing the strongest DDIM $\mathbf { \eta } _ { \eta } = 0 ,$ ) baseline and our approach. All samples were generated with the same random seeds. For reference, we include DDPM samples using all 1,000 steps (top right) and real images (bottom right).
214
+
215
+ # 8 CONCLUSION AND FUTURE WORK
216
+
217
+ We propose Differentiable Diffusion Sampler Search (DDSS), a method for finding few-step samplers for Denoising Diffusion Probabilistic Models. We show how to optimize a perceptual loss over a space of diffusion processes that makes use of a pre-trained DDPM’s samples by leveraging the reparametrization trick and gradient rematerialization. Our results qualitatively and quantitatively show that DDSS is able to significantly improve sample quality for unconditional image generation over prior methods on efficient DDPM sampling. The success of our method hinges on searching a novel, wider family of Generalized Gaussian Diffusion Model (GGDM) than those identified in prior work (Song et al., 2020). DDSS does not fine-tune the pre-trained DDPM, only needs to be applied once, has few hyperparameters, and does not require re-training the DDPM.
218
+
219
+ Our findings suggest future directions to further reduce the number of inference steps while retaining high fidelity in generated samples. For instance, it is plausible to use different representations for the perceptual loss instead of those of a classifier, e.g., use representations from an unsupervised model such as SimCLR (Chen et al., 2020), to using internal representations learned by the pre-trained DDPM itself, which would eliminate the burden of additional computation. Moreover, considering the demonstrated benefits of applying DDSS to our proposed GGDM family of samplers (as opposed to narrower families like DDIM), we motivate future work on identifying more general families of samplers and investigating whether they help uncover even better samplers or lead to overfitting. Finally, identifying other variants of perceptual losses (e.g., that do not sample from the model), or alternative optimization strategies (e.g., gradient-free methods) that lead to similar results is important future work. This would make DDSS itself a more efficient procedure, as gradient-based optimization of our proposed loss requires extensive memory or computation requirements to backpropagate through the whole sampling chain.
220
+
221
+ # REFERENCES
222
+
223
+ Martin Arjovsky, Soumith Chintala, and Leon Bottou. Wasserstein GAN. In ´ arXiv, 2017.
224
+
225
+ Mikołaj Binkowski, Danica J Sutherland, Michael Arbel, and Arthur Gretton. Demystifying mmd ´ gans. arXiv preprint arXiv:1801.01401, 2018.
226
+
227
+ James Bradbury, Roy Frostig, Peter Hawkins, Matthew James Johnson, Chris Leary, Dougal Maclaurin, George Necula, Adam Paszke, Jake VanderPlas, Skye Wanderman-Milne, and Qiao Zhang. JAX: composable transformations of Python+NumPy programs, 2018. URL http: //github.com/google/jax.
228
+
229
+ Andrew Brock, Jeff Donahue, and Karen Simonyan. Large scale GAN training for high fidelity natural image synthesis. arXiv preprint arXiv:1809.11096, 2018.
230
+
231
+ Ruojin Cai, Guandao Yang, Hadar Averbuch-Elor, Zekun Hao, Serge Belongie, Noah Snavely, and Bharath Hariharan. Learning Gradient Fields for Shape Generation. In ECCV, 2020.
232
+
233
+ Nanxin Chen, Yu Zhang, Heiga Zen, Ron J. Weiss, Mohammad Norouzi, and William Chan. WaveGrad: Estimating Gradients for Waveform Generation. In ICLR, 2021a.
234
+
235
+ Nanxin Chen, Yu Zhang, Heiga Zen, Ron J. Weiss, Mohammad Norouzi, Najim Dehak, and William Chan. WaveGrad 2: Iterative Refinement for Text-to-Speech Synthesis . In INTERSPEECH, 2021b.
236
+
237
+ Ting Chen, Simon Kornblith, Kevin Swersky, Mohammad Norouzi, and Geoffrey Hinton. Big SelfSupervised Models are Strong Semi-Supervised Learners. In NeurIPS, 2020.
238
+
239
+ Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pp. 248–255. Ieee, 2009.
240
+
241
+ Prafulla Dhariwal and Alex Nichol. Diffusion models beat gans on image synthesis. arXiv preprint arXiv:2105.05233, 2021.
242
+
243
+ Ian J Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial networks. arXiv preprint arXiv:1406.2661, 2014.
244
+
245
+ Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron Courville. Improved training of wasserstein gans. arXiv preprint arXiv:1704.00028, 2017.
246
+
247
+ Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a local nash equilibrium. arXiv preprint arXiv:1706.08500, 2017.
248
+
249
+ Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising Diffusion Probabilistic Models. NeurIPS, 2020.
250
+
251
+ Jonathan Ho, Chitwan Saharia, William Chan, David J Fleet, Mohammad Norouzi, and Tim Salimans. Cascaded diffusion models for high fidelity image generation. arXiv preprint arXiv:2106.15282, 2021.
252
+
253
+ Chin-Wei Huang, Jae Hyun Lim, and Aaron Courville. A variational perspective on diffusion-based generative models and score matching. arXiv preprint arXiv:2106.02808, 2021.
254
+
255
+ Justin Johnson, Alexandre Alahi, and Li Fei-Fei. Perceptual losses for real-time style transfer and super-resolution. In European conference on computer vision, pp. 694–711. Springer, 2016.
256
+
257
+ Alexia Jolicoeur-Martineau, Ke Li, Remi Pich ´ e-Taillefer, Tal Kachman, and Ioannis Mitliagkas. ´ Gotta go fast when generating data with score-based models. arXiv preprint arXiv:2105.14080, 2021.
258
+
259
+ Diederik Kingma and Jimmy Ba. Adam: A Method for Stochastic Optimization. In ICLR, 2015.
260
+
261
+ Diederik P Kingma and Max Welling. Auto-Encoding Variational Bayes. In ICLR, 2013.
262
+
263
+ Diederik P Kingma, Tim Salimans, Ben Poole, and Jonathan Ho. Variational diffusion models. arXiv preprint arXiv:2107.00630, 2021.
264
+
265
+ Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. Technical Report, 2009.
266
+
267
+ Kundan Kumar, Rithesh Kumar, Thibault de Boissiere, Lucas Gestin, Wei Zhen Teoh, Jose Sotelo, Alexandre de Brebisson, Yoshua Bengio, and Aaron Courville. MelGAN: Generative Adversarial Networks for Conditional Waveform Synthesis. In NeurIPS, 2019a.
268
+
269
+ Ravi Kumar, Manish Purohit, Zoya Svitkina, Erik Vee, and Joshua R Wang. Efficient rematerialization for deep networks. In Proceedings of the 33rd International Conference on Neural Information Processing Systems, pp. 15172–15181, 2019b.
270
+
271
+ Shitong Luo and Wei Hu. Diffusion probabilistic models for 3d point cloud generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 2837–2845, 2021.
272
+
273
+ Eliya Nachmani, Robin San Roman, and Lior Wolf. Non gaussian denoising diffusion models. arXiv preprint arXiv:2106.07582, 2021.
274
+
275
+ Alex Nichol and Prafulla Dhariwal. Improved denoising diffusion probabilistic models. arXiv preprint arXiv:2102.09672, 2021.
276
+
277
+ Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-net: Convolutional networks for biomedical image segmentation. In International Conference on Medical image computing and computerassisted intervention, pp. 234–241. Springer, 2015.
278
+
279
+ Tim Salimans, Ian Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, and Xi Chen. Improved techniques for training gans. Advances in neural information processing systems, 29: 2234–2242, 2016.
280
+
281
+ Robin San-Roman, Eliya Nachmani, and Lior Wolf. Noise estimation for generative diffusion models. arXiv preprint arXiv:2104.02600, 2021.
282
+
283
+ Jascha Sohl-Dickstein, Eric Weiss, Niru Maheswaranathan, and Surya Ganguli. Deep unsupervised learning using nonequilibrium thermodynamics. In International Conference on Machine Learning, pp. 2256–2265. PMLR, 2015.
284
+
285
+ Jiaming Song, Chenlin Meng, and Stefano Ermon. Denoising diffusion implicit models. arXiv preprint arXiv:2010.02502, 2020.
286
+
287
+ Yang Song and Stefano Ermon. Generative Modeling by Estimating Gradients of the Data Distribution. NeurIPS, 2019.
288
+
289
+ Yang Song, Conor Durkan, Iain Murray, and Stefano Ermon. Maximum likelihood training of scorebased diffusion models. arXiv e-prints, pp. arXiv–2101, 2021a.
290
+
291
+ Yang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-Based Generative Modeling through Stochastic Differential Equations. In ICLR, 2021b.
292
+
293
+ Markus Svensen and Christopher M Bishop. Pattern recognition and machine learning, 2007. ´
294
+
295
+ Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jonathon Shlens, and Zbigniew Wojna. Rethinking the Inception Architecture for Computer Vision. In CVPR, 2016.
296
+
297
+ Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention Is All You Need. In NIPS, 2017.
298
+
299
+ Pascal Vincent. A connection between score matching and denoising autoencoders. Neural Computation, 23(7):1661–1674, 2011.
300
+
301
+ Daniel Watson, Jonathan Ho, Mohammad Norouzi, and William Chan. Learning to efficiently sample from diffusion probabilistic models. arXiv preprint arXiv:2106.03802, 2021.
302
+
303
+ Fisher Yu, Ari Seff, Yinda Zhang, Shuran Song, Thomas Funkhouser, and Jianxiong Xiao. Lsun: Construction of a large-scale image dataset using deep learning with humans in the loop. arXiv preprint arXiv:1506.03365, 2015.
304
+
305
+ # A APPENDIX
306
+
307
+ # A.1 ADDITIONAL IMAGENET 64X64 SAMPLES
308
+
309
+ We provide additional samples for our results on ImageNet $6 4 \mathrm { x } 6 4$ . The DDPM and $\mathrm { D D I M } ( \eta = 0 )$ samples (left and middle, respectively) use a linear stride, while our DDSS $^ +$ GGDM samples (right) use a learned stride.
310
+
311
+ ![](images/1837841f8ba78d46089b6644adcd4a9a922cbe225c3310a07840389f63dad545.jpg)
312
+ Figure A.1: Additional samples on ImageNet $6 4 \mathrm { x } 6 4$ . For reference, we include DDPM samples with all 4,000 steps (bottom left) and real samples (bottom middle).
313
+
314
+ # A.2 PROOF FOR THEOREM 1
315
+
316
+ Theorem 1. Given some $t \in \{ 1 , . . . , T \}$ , let $a _ { t u } ^ { ( 1 ) } \ = \ \mu _ { t u } \ \forall u \in \ S _ { t }$ and $v _ { t } ^ { ( 1 ) } = \sigma _ { t } ^ { 2 }$ . For each , recursively define
317
+
318
+ $$
319
+ \begin{array} { r l } & { \bullet \ a _ { t u } ^ { ( i + 1 ) } = a _ { t , t + i } ^ { ( i ) } \mu _ { t + i , u } + a _ { t u } ^ { ( i ) } \forall u \in S _ { t + i } } \\ & { \bullet \ v _ { t } ^ { ( i + 1 ) } = v _ { t } ^ { ( i ) } + \left( a _ { t , t + i } ^ { ( i ) } \sigma _ { t + i } \right) ^ { 2 } } \end{array}
320
+ $$
321
+
322
+ Then, it follows that
323
+
324
+ $$
325
+ q _ { \mu , \sigma } ( \pmb { x } _ { t } | \pmb { x } _ { > t + i } , \pmb { x } _ { 0 } ) = \mathcal { N } \left( \pmb { x } _ { t } \bigg | \sum _ { u \in S _ { t + i } } a _ { t u } ^ { ( i + 1 ) } \pmb { x } _ { u } , v _ { t } ^ { ( i + 1 ) } \pmb { I } _ { d } \right)
326
+ $$
327
+
328
+ Proof. Let us prove this result with mathematical induction. Note that, for each such $t$ , we have by definition that
329
+
330
+ $$
331
+ \begin{array} { r } { q _ { \mu , \sigma } ( \pmb { x } _ { t + 1 } | \pmb { x } _ { > t + 1 } , \pmb { x } _ { 0 } ) = \mathcal { N } \left( \pmb { x } _ { t } \Big | \sum _ { u \in S _ { t + 1 } } \mu _ { t + 1 , u } \pmb { x } _ { u } , \sigma _ { t + 1 } ^ { 2 } \pmb { I } _ { d } \right) } \end{array}
332
+ $$
333
+
334
+ and
335
+
336
+ $$
337
+ \begin{array} { r } { q _ { \mu , \sigma } ( { \pmb x } _ { t } | { \pmb x } _ { t + 1 } , { \pmb x } _ { > t + 1 } , { \pmb x } _ { 0 } ) = { \mathcal N } \left( { \pmb x } _ { t } \big | \sum _ { u \in S _ { t } } \mu _ { t u } { \pmb x } _ { u } , \sigma _ { t } ^ { 2 } I _ { d } \right) = { \mathcal N } \left( { \pmb x } _ { t } \Big | \sum _ { u \in S _ { t } } a _ { t u } ^ { ( 1 ) } { \pmb x } _ { u } , v _ { t } ^ { ( 1 ) } I _ { d } \right) } \end{array}
338
+ $$
339
+
340
+ Therefore, following Svensen & Bishop (2007) (2.115), by prior conjugacy it follows that ´
341
+
342
+ $$
343
+ \begin{array} { r l } & { ( { \pmb x } _ { t } | { \pmb x } _ { > t + 1 } , { \pmb x } _ { 0 } ) = \mathcal { N } ( { \pmb x } _ { t } \Big | a _ { t , t + 1 } ^ { ( 1 ) } \sum _ { u \in S _ { t + 1 } } \mu _ { t + 1 , u } { \pmb x } _ { u } + \sum _ { u \in S _ { t + 1 } } a _ { t u } ^ { ( 1 ) } , ( v _ { t } ^ { ( 1 ) } + a _ { t , t + 1 } ^ { ( 1 ) } \sigma _ { t + 1 } ^ { 2 } a _ { t , t + 1 } ^ { ( 1 ) } ) I _ { d _ { 1 } ^ { \prime } } } \\ & { \qquad = \mathcal { N } ( { \pmb x } _ { t } \Big | \sum _ { u \in S _ { t + 1 } } ( a _ { t , t + 1 } ^ { ( 1 ) } \mu _ { t + 1 , u } + a _ { t u } ^ { ( 1 ) } ) { \pmb x } _ { u } , v _ { t } ^ { ( 2 ) } I _ { d } ) } \\ & { \qquad = \mathcal { N } ( { \pmb x } _ { t } \Big | \sum _ { u \in S _ { t + 1 } } a _ { t u } ^ { ( 2 ) } { \pmb x } _ { u } , v _ { t } ^ { ( 2 ) } I _ { d } ) . } \end{array}
344
+ $$
345
+
346
+ This proves the base case for our induction argument. Now, let us prove the inductive step. Suppose there exists some integer $j \in \{ 1 , . . . , T - t + 1 \}$ such that
347
+
348
+ $$
349
+ \begin{array} { r } { q _ { \mu , \sigma } ( \pmb { x } _ { t } | \pmb { x } _ { > t + j } , \pmb { x } _ { 0 } ) = \mathcal { N } \left( \pmb { x } _ { t } \middle | \sum _ { \boldsymbol { u } \in S _ { t + j } } a _ { t \boldsymbol { u } } ^ { ( j + 1 ) } \pmb { x } _ { \boldsymbol { u } } , v _ { t } ^ { ( j + 1 ) } \pmb { I } _ { d } \right) . } \end{array}
350
+ $$
351
+
352
+ By definition, we already know $q ( \pmb { x } _ { t + j + 1 } | \pmb { x } _ { > t + j + 1 } , \pmb { x } _ { 0 } )$ , so we have
353
+
354
+ $$
355
+ \begin{array} { r } { q _ { \mu , \sigma } ( \pmb { x } _ { t + j + 1 } | \pmb { x } _ { > t + j + 1 } , \pmb { x } _ { 0 } ) = \mathcal { N } \left( \pmb { x } _ { t + j + 1 } \middle | \sum _ { u \in S _ { t + j + 1 } } \mu _ { t + j + 1 , u } \pmb { x } _ { u } , \sigma _ { t + j + 1 } ^ { 2 } \pmb { I } _ { d } \right) } \end{array}
356
+ $$
357
+
358
+ and (rewriting the inductive hypothesis)
359
+
360
+ $$
361
+ \begin{array} { r } { q _ { \mu , \sigma } ( \pmb { x } _ { t } | \pmb { x } _ { t + j + 1 } , \pmb { x } _ { > t + j + 1 } , \pmb { x } _ { 0 } ) = \mathcal { N } \left( \pmb { x } _ { t } \Big | \sum _ { \pmb { u \in S } _ { t + j } } a _ { t u } ^ { ( j + 1 ) } \pmb { x } _ { u } , v _ { t } ^ { ( j + 1 ) } \pmb { I } _ { d } \right) . } \end{array}
362
+ $$
363
+
364
+ Therefore, by prior conjugacy again, it follows that
365
+
366
+ $$
367
+ \begin{array} { r l } & { \quad q _ { \mu , \sigma } ( \boldsymbol { x } _ { t } | \boldsymbol { x } _ { > t + j + 1 } , \boldsymbol { x } _ { 0 } ) } \\ & { = \mathcal { N } \left( \boldsymbol { x } _ { t } \Big | a _ { t , t + j + 1 } ^ { ( j + 1 ) } \sum _ { u \in S _ { t + j } } \mu _ { t + j + 1 , u } \boldsymbol { x } _ { u } + \sum _ { u \in S _ { t + j } } a _ { t u } ^ { ( j + 1 ) } , \left( v _ { t } ^ { ( j + 1 ) } + a _ { t , t + j + 1 } ^ { ( j + 1 ) } \sigma _ { t + j + 1 } ^ { 2 } a _ { t , t + j + 1 } ^ { ( j + 1 ) } \right) \boldsymbol { I } _ { d } \right) } \\ & { = \mathcal { N } \left( \boldsymbol { x } _ { t } \Big | \sum _ { u \in S _ { t + j } } \left( a _ { t , t + j + 1 } ^ { ( j + 1 ) } \mu _ { t + j + 1 , u } + a _ { t u } ^ { ( j + 1 ) } \right) \boldsymbol { x } _ { u } , v _ { t } ^ { ( j + 2 ) } \boldsymbol { I } _ { d } \right) } \\ & { = \mathcal { N } \left( \boldsymbol { x } _ { t } \Big | \sum _ { u \in S _ { t + j + 1 } } a _ { t u } ^ { ( j + 2 ) } \boldsymbol { x } _ { u } , v _ { t } ^ { ( j + 2 ) } \boldsymbol { I } _ { d } \right) . } \end{array}
368
+ $$
369
+
370
+ This concludes the proof of the inductive step. Hence, we have proven the result for any $i \in$ $\{ 1 , . . . , T - t \}$ . In particular,
371
+
372
+ $$
373
+ \begin{array} { r } { q _ { \mu , \sigma } ( \pmb { x } _ { t } | \pmb { x } _ { 0 } ) = \mathcal { N } \left( \pmb { x } _ { t } \middle | a _ { t 0 } ^ { ( T - t + 1 ) } \pmb { x } _ { 0 } , v _ { t } ^ { ( T - t + 1 ) } \pmb { I } _ { d } \right) . \quad \prod } \end{array}
374
+ $$
375
+
376
+ A.3 ADDITIONAL ABLATION OF KID KERNEL AND GGDM VARIANTS FOR IMAGENET 64X64
377
+
378
+ We also ran a smaller version of the ablation results presented in Section 5.1, but for ImageNet $6 4 \mathrm { x } 6 4$ instead of CIFAR10, as these are more computationally intensive to do a full grid search. Results for a step budget $K = 1 5$ are included below. When not learning the timesteps, we fix them to a linear stride, as Table 2 shows this performs best on ImageNet $6 4 \mathrm { x } 6 4$ .
379
+
380
+ <table><tr><td rowspan=1 colspan=2>SamplerK</td><td rowspan=1 colspan=1>15</td></tr><tr><td rowspan=1 colspan=2>DDSS (linear kernel)GGDM+PRED+TIMEGGDM+PREDGGDM+TIMEGGDM</td><td rowspan=1 colspan=1>24.69 /17.22527.08 /16.4425.73 /17.2728.34 /16.63</td></tr><tr><td rowspan=2 colspan=2>DDSS (cubic kernel)GGDM+PRED+TIMEGGDM+PREDGGDM+TIMEGGDM</td><td rowspan=2 colspan=1>26.52 /16.2927.82/16.326.87 /16.9928.83 /16.32</td></tr><tr></tr></table>
381
+
382
+ # A.4 RESULTS ON LARGER RESOLUTION DATASETS
383
+
384
+ We include results for LSUN (Yu et al., 2015) bedrooms and churches at the $1 2 8 \mathrm { x } 1 2 8$ resolution. We trained the models for 400K and 200K steps (respectively), and all other hyperparameters are identical: we use the Adam optimizer with learning rate 0.0003 (linearly warmed up for the first 1000 training steps), batch size 2048, gradient clipping at norms over 1.0, dropout of 0.1, and EMA over the weights with decay rate 0.9999. We train the models using a linear stride of 1000 evenlyspaced timesteps, fixing the log-signal-to-noise-ratio schedule to a cosine function monotonically decreasing from 20 to -20. The ELBO is reweighted with $L _ { \mathrm { s i m p l e } }$ following Ho et al. (2020), but we additionally reweight each term by $\mathrm { m a x } ( 1 , \mathrm { S N R } )$ which we found to be slightly helpful in resulting FID scores (note this is equivalent to minimizing the worst mean squared error between either the $\scriptstyle { \mathbf { { \mathit { x } } } } _ { 0 }$ or $\epsilon$ ). The UNet employs five down/up-sampling resolutions with $7 6 8 \times ( 1 , 2 , 4 , 6 , 8 )$ respective channels, 3 ResNet blocks per resolution, and spatial self-attention at the 3 smallest resolutions, i.e., 8, 16, and 32.
385
+
386
+ After training the models, we run DDSS using just the GGDM model family for simplicity (i.e., we don’t use the $+ \mathrm { P R E D }$ and $+ \mathrm { T I M E }$ we experiment with in the paper) at 5, 10 and 20 evenly-spaced inference steps. DDSS training occurs for 50K steps, using the Adam optimizer with learning rate of 0.0005 and batch size 512, optimizing the linear kernel for the KID loss. We compare against the usual DDPM and $\mathrm { D D I M } ( \eta = 0 )$ baselines at the same inference budgets and include the FID scores with all 1000 steps for reference. Results and samples are included below.
387
+
388
+ <table><tr><td rowspan=1 colspan=1>SamplerK</td><td rowspan=1 colspan=1>5</td><td rowspan=1 colspan=1>10</td><td rowspan=1 colspan=1>20</td><td rowspan=1 colspan=1>1000</td></tr><tr><td rowspan=1 colspan=1>LSUN BedroomDDPMDDIM(n = 0)DDSS (GGDM)</td><td rowspan=1 colspan=1>95.38168.729.15</td><td rowspan=1 colspan=1>44.8456.3311.01</td><td rowspan=1 colspan=1>16.889.5274.817</td><td rowspan=1 colspan=1>2.54711</td></tr><tr><td rowspan=1 colspan=1>LSUN ChurchDDPMDDIM(n = 0)DDSS (GGDM)</td><td rowspan=1 colspan=1>96.67133.130.24</td><td rowspan=1 colspan=1>51.0554.3911.59</td><td rowspan=1 colspan=1>16.5314.966.736</td><td rowspan=1 colspan=1>2.71811</td></tr></table>
389
+
390
+ ![](images/117d2db6ee60f3c709a7640eba901b5649459defc69fac8b0fb239b09f7afe7a.jpg)
391
+ Figure A.2: Non-cherrypicked samples for a DDPM trained on LSUN bedroom $1 2 8 \mathrm { x } 1 2 8$ , comparing DDPM and $\mathrm { D D I M } ( \eta = 0 )$ to our approach. All samples were generated with the same random seeds and a linear stride. For reference, we include DDPM samples using all 1,000 steps (bottom left) and real images (bottom middle).
392
+
393
+ ![](images/14ca7c6b13c4879f8aaf148f154440406d5bb69bfc76f588f68a066f71e41f95.jpg)
394
+ Figure A.3: Non-cherrypicked samples for a DDPM trained on LSUN church 128x128, comparing DDPM and $\mathrm { D D I M } ( \eta = 0 )$ to our approach. All samples were generated with the same random seeds and a linear stride. For reference, we include DDPM samples using all 1,000 steps (bottom left) and real images (bottom middle).
parse/dev/VFBjuF8HEp/VFBjuF8HEp_content_list.json ADDED
@@ -0,0 +1,1957 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "LEARNING FAST SAMPLERS FOR DIFFUSION MODELSBY DIFFERENTIATING THROUGH SAMPLE QUALITY",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 98,
9
+ 820,
10
+ 147
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Daniel Watson∗, William Chan, Jonathan Ho & Mohammad Norouzi Google Research, Brain Team {watsondaniel,williamchan,jonathanho,mnorouzi}@google.com ",
17
+ "bbox": [
18
+ 183,
19
+ 172,
20
+ 741,
21
+ 215
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 252,
32
+ 544,
33
+ 267
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Diffusion models have emerged as an expressive family of generative models rivaling GANs in sample quality and autoregressive models in likelihood scores. Standard diffusion models typically require hundreds of forward passes through the model to generate a single high-fidelity sample. We introduce Differentiable Diffusion Sampler Search (DDSS): a method that optimizes fast samplers for any pre-trained diffusion model by differentiating through sample quality scores. We present Generalized Gaussian Diffusion Models (GGDM), a family of flexible non-Markovian samplers for diffusion models. We show that optimizing the degrees of freedom of GGDM samplers by maximizing sample quality scores via gradient descent leads to improved sample quality. Our optimization procedure backpropagates through the sampling process using the reparametrization trick and gradient rematerialization. DDSS achieves strong results on unconditional image generation across various datasets (e.g., FID scores on LSUN church $1 2 8 \\mathrm { x } 1 2 8$ of 11.6 with only 10 inference steps, and 4.82 with 20 steps, compared to 51.1 and 14.9 with strongest DDPM/DDIM baselines). Our method is compatible with any pre-trained diffusion model without fine-tuning or re-training required. ",
40
+ "bbox": [
41
+ 233,
42
+ 285,
43
+ 764,
44
+ 506
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 531,
55
+ 336,
56
+ 546
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Denoising Diffusion Probabilistic Models (DDPM) (Sohl-Dickstein et al., 2015; Song & Ermon, 2019; Ho et al., 2020) have emerged as a powerful family of generative models, capable of synthesizing high-quality images, audio, and 3D shapes (Ho et al., 2020; 2021; Chen et al., 2021a;b; Cai et al., 2020; Luo & Hu, 2021). Recent work (Dhariwal & Nichol, 2021; Ho et al., 2021) shows that DDPMs can outperform Generative Adversarial Networks (GAN) (Goodfellow et al., 2014; Brock et al., 2018) in generation quality, but unlike GANs, DDPMs admit likelihood computation and much more stable training dynamics (Arjovsky et al., 2017; Gulrajani et al., 2017). ",
63
+ "bbox": [
64
+ 173,
65
+ 559,
66
+ 825,
67
+ 656
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "image",
73
+ "img_path": "images/fd5801c9ac221ce83ea91e924697dc3725f542dbe1d292487226be79766b71a8.jpg",
74
+ "image_caption": [
75
+ "Figure 1: Non-cherrypicked samples from DDSS (ours) and strongest $\\mathrm { D D I M } ( \\eta = 0 )$ baseline for unconditional DDPMs trained on LSUN churches $1 2 8 \\times 1 2 8$ . All samples are generated with the same random seed. Original DDPM samples (1000 steps) and training images are shown on the left. "
76
+ ],
77
+ "image_footnote": [],
78
+ "bbox": [
79
+ 174,
80
+ 665,
81
+ 821,
82
+ 852
83
+ ],
84
+ "page_idx": 0
85
+ },
86
+ {
87
+ "type": "text",
88
+ "text": "However, GANs are typically much more efficient than DDPMs at generation time, often requiring a single forward pass through the generator network, whereas DDPMs require hundreds of forward passes through a U-Net model. Instead of learning a generator directly, DDPMs learn to convert noisy data to less noisy data starting from pure noise, which leads to a wide variety of feasible strategies for sampling (Song et al., 2021b). In particular, at inference time, DDPMs allow controlling the number of forward passes (a.k.a. inference steps) through the denoising network (Song et al., 2020; Nichol & Dhariwal, 2021). ",
89
+ "bbox": [
90
+ 174,
91
+ 103,
92
+ 825,
93
+ 200
94
+ ],
95
+ "page_idx": 1
96
+ },
97
+ {
98
+ "type": "text",
99
+ "text": "It has been shown both empirically and mathematically that, for any sufficiently good DDPM, more inference steps leads to better log-likelihood and sample quality (Nichol & Dhariwal, 2021; Kingma et al., 2021). In practice, the minimum number of inference steps to achieve competitive sample quality is highly problem-dependent, e.g., depends on the complexity of the dataset, and the strength of the conditioning signal if the task is conditional. Given the importance of generation speed, recent work (Song et al., 2020; Chen et al., 2021a; Watson et al., 2021) has explored reducing the number of steps required for high quality sampling with pretrained diffusion models. See Section 7 for a more complete review of prior work on few-step sampling. ",
100
+ "bbox": [
101
+ 174,
102
+ 208,
103
+ 825,
104
+ 319
105
+ ],
106
+ "page_idx": 1
107
+ },
108
+ {
109
+ "type": "text",
110
+ "text": "This paper treats the design of fast samplers for diffusion models as a differentiable optimization problem, and proposes Differentiable Diffusion Sampler Search (DDSS). Our key observation is that one can unroll the sampling chain of a diffusion model and use reparametrization trick (Kingma & Welling, 2013) and gradient rematerialization (Kumar et al., 2019a) to optimize over a class of parametric few-step samplers with respect to a global objective function. Our class of parameteric samplers, which we call Generalized Gaussian Diffusion Model (GGDM), includes Denoising Diffusion Implicit Models (DDIM) (Song et al., 2020) as a special case and is motivated by the success of DDIM on fast sampling of diffusion models. ",
111
+ "bbox": [
112
+ 174,
113
+ 325,
114
+ 825,
115
+ 438
116
+ ],
117
+ "page_idx": 1
118
+ },
119
+ {
120
+ "type": "text",
121
+ "text": "An important challenge for fast DDPM sampling is the mismatch between the training objective (e.g., ELBO or weighted ELBO) and sample quality. Prior work (Watson et al., 2021; Song et al., 2021a) finds that samplers that are optimal with respect to ELBO often lead to worse sample quality and Frechet Inception Distance (FID) scores (Heusel et al., 2017), especially with few inference ´ steps. We propose the use of a perceptual loss within the DDSS framework to find high-fidelity diffusion samplers, motivated by prior work showing that their optimization leads to solutions that correlate better with human perception of quality. We empirically find that using DDSS with the Kernel Inception Distance (KID) (Binkowski et al., 2018) as the perceptual loss indeed leads to ´ fast samplers with significantly better image quality than prior work (see Figure 1). Moreover, our method is robust to different choices of kernels for KID. ",
122
+ "bbox": [
123
+ 174,
124
+ 444,
125
+ 825,
126
+ 583
127
+ ],
128
+ "page_idx": 1
129
+ },
130
+ {
131
+ "type": "text",
132
+ "text": "Our main contributions are as follows: ",
133
+ "bbox": [
134
+ 176,
135
+ 590,
136
+ 426,
137
+ 604
138
+ ],
139
+ "page_idx": 1
140
+ },
141
+ {
142
+ "type": "text",
143
+ "text": "1. We propose Differentiable Diffusion Sampler Search (DDSS), which uses the reparametrization trick and gradient rematerialization to optimize over a parametric family of fast samplers for diffusion models. \n2. We identify a parametric family of Generalized Gaussian Diffusion Model (GGDM) that admits high-fidelity fast samplers for diffusion models. \n3. We show that using DDSS to optimize samplers by minimizing the Kernel Inception Distance leads to fast diffusion model samplers with state-of-the-art sample quality scores. ",
144
+ "bbox": [
145
+ 179,
146
+ 612,
147
+ 825,
148
+ 710
149
+ ],
150
+ "page_idx": 1
151
+ },
152
+ {
153
+ "type": "text",
154
+ "text": "2 BACKGROUND ON DENOISING DIFFUSION IMPLICIT MODELS",
155
+ "text_level": 1,
156
+ "bbox": [
157
+ 174,
158
+ 733,
159
+ 715,
160
+ 751
161
+ ],
162
+ "page_idx": 1
163
+ },
164
+ {
165
+ "type": "text",
166
+ "text": "We start with a brief review on DDPM (Ho et al., 2020) and DDIM (Song et al., 2020). DDPMs pre-specify a Markovian forward diffusion process, which gradually adds noise to data in $T$ steps. Following the notation of Ho et al. (2020), ",
167
+ "bbox": [
168
+ 174,
169
+ 767,
170
+ 825,
171
+ 810
172
+ ],
173
+ "page_idx": 1
174
+ },
175
+ {
176
+ "type": "equation",
177
+ "img_path": "images/ca8ea56010ae051a507e405364073a96d04ce4868c8f3f22d461e0b438adee47.jpg",
178
+ "text": "$$\n\\begin{array} { r c l } { \\displaystyle q ( \\pmb { x } _ { 0 } , . . . , \\pmb { x } _ { T } ) } & { = } & { \\displaystyle q ( \\pmb { x } _ { 0 } ) \\prod _ { t = 1 } ^ { T } q ( \\pmb { x } _ { t } | \\pmb { x } _ { t - 1 } ) } \\\\ { \\displaystyle q ( \\pmb { x } _ { t } | \\pmb { x } _ { t - 1 } ) } & { = } & { \\displaystyle \\mathcal { N } ( \\pmb { x } _ { t } | \\sqrt { 1 - \\beta _ { t } } \\pmb { x } _ { s } , \\beta _ { t } \\pmb { I } ) , } \\end{array}\n$$",
179
+ "text_format": "latex",
180
+ "bbox": [
181
+ 348,
182
+ 820,
183
+ 647,
184
+ 888
185
+ ],
186
+ "page_idx": 1
187
+ },
188
+ {
189
+ "type": "text",
190
+ "text": "where $q ( { \\pmb x } _ { 0 } )$ is the data distribution, and $\\beta _ { t }$ is the variance of Gaussian noise added at step $t$ . To be able to gradually convert noise to data, DDPMs learn to invert (1) with a model $p _ { \\theta } ( \\pmb { x } _ { t - 1 } | \\bar { \\pmb { x } } _ { t } )$ , which ",
191
+ "bbox": [
192
+ 174,
193
+ 895,
194
+ 825,
195
+ 924
196
+ ],
197
+ "page_idx": 1
198
+ },
199
+ {
200
+ "type": "text",
201
+ "text": "is trained by maximizing a (possibly reweighted) evidence lower bound (ELBO): ",
202
+ "bbox": [
203
+ 171,
204
+ 103,
205
+ 704,
206
+ 119
207
+ ],
208
+ "page_idx": 2
209
+ },
210
+ {
211
+ "type": "equation",
212
+ "img_path": "images/c702246bd3fd39986a5710852fbc52bc55bc9182a6ea215e79503c31b448ffb3.jpg",
213
+ "text": "$$\n\\mathbb { E } _ { q } \\left[ D _ { \\mathrm { K L } } [ q ( \\boldsymbol { x } _ { T } | \\boldsymbol { x } _ { 0 } ) | | p ( \\boldsymbol { x } _ { T } ) ] + \\sum _ { t = 2 } ^ { T } D _ { \\mathrm { K L } } [ q ( \\boldsymbol { x } _ { t - 1 } | \\boldsymbol { x } _ { t } , \\boldsymbol { x } _ { 0 } ) | | p _ { \\theta } ( \\boldsymbol { x } _ { t - 1 } | \\boldsymbol { x } _ { t } ) ] - \\log p _ { \\theta } ( \\boldsymbol { x } _ { 0 } | \\boldsymbol { x } _ { 1 } ) \\right]\n$$",
214
+ "text_format": "latex",
215
+ "bbox": [
216
+ 192,
217
+ 126,
218
+ 784,
219
+ 170
220
+ ],
221
+ "page_idx": 2
222
+ },
223
+ {
224
+ "type": "text",
225
+ "text": "DDPMs specifically choose the model to be parametrized as ",
226
+ "bbox": [
227
+ 173,
228
+ 175,
229
+ 570,
230
+ 190
231
+ ],
232
+ "page_idx": 2
233
+ },
234
+ {
235
+ "type": "equation",
236
+ "img_path": "images/9fe515d2c0a72a953662e15c0f189525e77bdab1778c951185f32cb64f181b0e.jpg",
237
+ "text": "$$\n\\begin{array} { l } { \\displaystyle p _ { \\theta } \\big ( \\mathbf { x } _ { t - 1 } \\big | \\mathbf { x } _ { t } \\big ) = q \\left( x _ { t - 1 } \\bigg | \\mathbf { x } _ { t } , \\hat { \\mathbf { x } } _ { 0 } = \\frac { 1 } { \\sqrt { \\bar { \\alpha _ { t } } } } \\big ( x _ { t } - \\sqrt { 1 - \\bar { \\alpha _ { t } } } \\epsilon _ { \\theta } \\big ( \\mathbf { x } _ { t } , t \\big ) \\big ) \\right) } \\\\ { \\displaystyle \\qquad = \\mathcal { N } \\left( x _ { t - 1 } \\bigg | \\frac { 1 } { \\sqrt { 1 - \\beta _ { t } } } \\left( x _ { t } - \\frac { \\beta _ { t } } { \\sqrt { 1 - \\bar { \\alpha } _ { t } } } \\epsilon _ { \\theta } \\big ( \\mathbf { x } _ { t } , t \\big ) \\right) , \\frac { 1 - \\bar { \\alpha } _ { t } } { 1 - \\bar { \\alpha } _ { t - 1 } } \\beta _ { t } I _ { d } \\right) } \\end{array}\n$$",
238
+ "text_format": "latex",
239
+ "bbox": [
240
+ 228,
241
+ 196,
242
+ 767,
243
+ 271
244
+ ],
245
+ "page_idx": 2
246
+ },
247
+ {
248
+ "type": "text",
249
+ "text": "where $\\begin{array} { r } { \\bar { \\alpha _ { t } } = \\prod _ { s = 1 } ^ { t } ( 1 - \\beta _ { t } ) } \\end{array}$ for each $t$ . With this parametrization, maximizing the ELBO is equivalent to minimizing a weighted sum of denoising score matching objectives (Vincent, 2011). ",
250
+ "bbox": [
251
+ 171,
252
+ 276,
253
+ 823,
254
+ 306
255
+ ],
256
+ "page_idx": 2
257
+ },
258
+ {
259
+ "type": "text",
260
+ "text": "The seminal work of Song et al. (2020) presents Denoising Diffusion Implicit Models (DDIM): a family of evidence lower bounds (ELBOs) with corresponding forward diffusion processes and samplers. All of these ELBOs share the same marginals as DDPM, but allow arbitrary choices of posterior variances. Specifically, Song et al. (2020) note that is it possible to construct alternative ELBOs with only a subsequence of the original timesteps $S \\subset \\{ 1 , . . . , T \\}$ that shares the same marginals as the construction above (i.e., $q _ { S } \\mathbf { \\bar { ( } } \\mathbf { x } _ { t } | \\mathbf { x } _ { 0 } \\mathbf { ) } = q \\mathbf { \\bar { ( } } \\mathbf { x } _ { t } | \\mathbf { x } _ { 0 } \\mathbf { ) }$ for every $t \\in S$ , so $q _ { S }$ defines a faster sampler compatible with the pre-trained model) by simply using the new contiguous timesteps in the equations above. They also show it is also possible to construct an infinite family of nonMarkovian processes $\\{ q _ { \\sigma } : \\dot { \\sigma } \\in [ 0 , 1 ] ^ { T - 1 } \\}$ where each $q _ { \\sigma }$ also shares the same marginals as the original forward process with: ",
261
+ "bbox": [
262
+ 173,
263
+ 311,
264
+ 825,
265
+ 452
266
+ ],
267
+ "page_idx": 2
268
+ },
269
+ {
270
+ "type": "equation",
271
+ "img_path": "images/4f2bfd37bd873ac7baa25424de2396f3cc841139c37b4a1070a6a26e3fc07775.jpg",
272
+ "text": "$$\nq _ { \\sigma } ( \\pmb { x } _ { 0 } , . . . , \\pmb { x } _ { t } ) = q ( \\pmb { x } _ { 0 } ) q ( \\pmb { x } _ { T } | \\pmb { x } _ { 0 } ) \\prod _ { t = 1 } ^ { T - 1 } q _ { \\sigma } ( \\pmb { x } _ { t } | \\pmb { x } _ { t + 1 } , \\pmb { x } _ { 0 } )\n$$",
273
+ "text_format": "latex",
274
+ "bbox": [
275
+ 318,
276
+ 458,
277
+ 679,
278
+ 502
279
+ ],
280
+ "page_idx": 2
281
+ },
282
+ {
283
+ "type": "text",
284
+ "text": "and where the posteriors are defined as ",
285
+ "bbox": [
286
+ 174,
287
+ 508,
288
+ 429,
289
+ 523
290
+ ],
291
+ "page_idx": 2
292
+ },
293
+ {
294
+ "type": "equation",
295
+ "img_path": "images/3bfa2f150cbef965c4397c080669870a9d021e1ac57168c8dcef03911f7a676b.jpg",
296
+ "text": "$$\nq _ { \\sigma } ( \\pmb { x } _ { t - 1 } | \\pmb { x } _ { t } , \\pmb { x } _ { 0 } ) = \\mathcal { N } \\left( \\pmb { x } _ { t - 1 } \\bigg | \\sqrt { \\bar { \\alpha } _ { t - 1 } } \\pmb { x } _ { 0 } + \\sqrt { 1 - \\bar { \\alpha } _ { t - 1 } - \\sigma _ { t } ^ { 2 } } \\cdot \\frac { \\pmb { x } _ { t } - \\sqrt { \\bar { \\alpha } _ { t } } \\pmb { x } _ { 0 } } { \\sqrt { 1 - \\bar { \\alpha } _ { t } } } , \\sigma _ { t } ^ { 2 } \\pmb { I } _ { d } \\right)\n$$",
297
+ "text_format": "latex",
298
+ "bbox": [
299
+ 222,
300
+ 530,
301
+ 776,
302
+ 565
303
+ ],
304
+ "page_idx": 2
305
+ },
306
+ {
307
+ "type": "text",
308
+ "text": "Song et al. (2020) empirically find that the extreme case of using all-zero variances (a.k.a. $\\mathrm { D D I M } ( \\eta = 0 ) ,$ ) consistently helps with sample quality in the few-step regime. Combined with a good selection of timesteps to evaluate the modeled score function (a.k.a. strides), $\\mathrm { D D I M } ( \\eta = 0 )$ establishes the current state-of-the-art for few-step diffusion model sampling with the smallest inference step budgets. Our key contribution that allows improving sample quality significantly by optimizing sampler families is constructing a family that generalizes DDIM. See Section 4 for a more complete treatment of our novel GGDM family. ",
309
+ "bbox": [
310
+ 173,
311
+ 570,
312
+ 825,
313
+ 670
314
+ ],
315
+ "page_idx": 2
316
+ },
317
+ {
318
+ "type": "text",
319
+ "text": "3 DIFFERENTIABLE DIFFUSION SAMPLER SEARCH (DDSS) ",
320
+ "text_level": 1,
321
+ "bbox": [
322
+ 174,
323
+ 690,
324
+ 683,
325
+ 707
326
+ ],
327
+ "page_idx": 2
328
+ },
329
+ {
330
+ "type": "text",
331
+ "text": "We now describe DDSS, our approach to search for fast high-fidelity samplers with a limited budget of $K < T$ steps. Our key observation is that one can backpropagate through the sampling process of a diffusion model via the reparamterization trick (Kingma & Welling, 2013). Equipped with this, we can now use stochastic gradient descent to learn fast samplers by optimizing any given differentiable loss function over a minibatch of model samples. ",
332
+ "bbox": [
333
+ 174,
334
+ 722,
335
+ 825,
336
+ 792
337
+ ],
338
+ "page_idx": 2
339
+ },
340
+ {
341
+ "type": "text",
342
+ "text": "We begin with a pre-trained DDPM and a family of $K$ -step samplers that we wish to optimize for the given DDPM. We parametrize this family’s degrees of freedom as simple transformations of trainable variables. We experiment with the following families in this paper, but emphasize that DDSS is applicable to any other family where model samples are differentiable with respect to the trainable variables: ",
343
+ "bbox": [
344
+ 174,
345
+ 799,
346
+ 825,
347
+ 869
348
+ ],
349
+ "page_idx": 2
350
+ },
351
+ {
352
+ "type": "text",
353
+ "text": "• DDIM: we parametrize the posterior variances with √ $\\sigma _ { t } = \\sqrt { 1 - \\bar { \\alpha } _ { t - 1 } }$ sigmoid $\\left( v _ { t } \\right)$ , where $v _ { 1 } , . . . , v _ { K }$ are trainable variables (the $\\sqrt { 1 - \\bar { \\alpha } _ { t - 1 } }$ constant ensures real-valued mean coefficients; see the square root in Equation 6). ",
354
+ "bbox": [
355
+ 217,
356
+ 881,
357
+ 823,
358
+ 924
359
+ ],
360
+ "page_idx": 2
361
+ },
362
+ {
363
+ "type": "image",
364
+ "img_path": "images/f7b465e57a29651ce12353533765c18485729af556a7cb3ef9c66309d8c511a7.jpg",
365
+ "image_caption": [
366
+ "Figure 2: Illustration of GGDM. To improve sample quality, our novel family of samplers combines information from all previous (noisier) images at every denoising step. "
367
+ ],
368
+ "image_footnote": [],
369
+ "bbox": [
370
+ 178,
371
+ 103,
372
+ 818,
373
+ 166
374
+ ],
375
+ "page_idx": 3
376
+ },
377
+ {
378
+ "type": "text",
379
+ "text": "• VARS: we parametrize the marginal variances of a DDPM as cumsum $( \\operatorname { s o f t m a x } ( [ \\pmb { v } ; 1 ] ) ) _ { t }$ instead of fixing them to $1 - \\bar { \\alpha } _ { t }$ . This ensures they are monotonically increasing with respect to $t$ (appending a one to ensure $K$ degrees of freedom). GGDM: a new family of non-Markovian samplers for diffusion models with more degrees of freedom illustrated in Figure 2 and defined in Section 4. We parametrize $\\mu _ { t u }$ and $\\sigma _ { t }$ of a GGDM for all $t$ as sigmoid functions of trainable variables. GGDM $\\mathbf { \\Gamma } + \\mathbf { P } \\mathbf { R } \\mathbf { E } \\mathbf { D }$ : we parametrize all the $\\mu _ { t u }$ and $\\sigma _ { t }$ identically to GGDM, but also learn the marginal coefficients with a cumsum $\\circ$ softmax parametrization (identical to VARS) instead of computing them via Theorem 1, as well as the coefficients that predict $\\scriptstyle { \\mathbf { { \\mathit { x } } } } _ { 0 }$ from $a _ { t } { \\pmb x } _ { t } - b _ { t } { \\pmb \\epsilon }$ with $1 +$ softplus and softplus parametrizations. \n• [family] ${ \\bf + } { \\bf \\Pi } { \\bf \\Pi } { \\bf \\bf \\Pi } \\mathbf { M } { \\bf E }$ : for any sampler family, we additionally parametrize the timesteps used to query the score model with a cumsum ◦ softmax parametrization (identical to VARS). ",
380
+ "bbox": [
381
+ 215,
382
+ 238,
383
+ 825,
384
+ 417
385
+ ],
386
+ "page_idx": 3
387
+ },
388
+ {
389
+ "type": "text",
390
+ "text": "As we will show in the experiments, despite the fact that our pre-trained DDPMs are trained with discrete timesteps, learning the timesteps is still helpful. In principle, this should only be possible for DDPMs trained with continuous time sampling (Chen et al., 2021a; Song et al., 2021b; Kingma et al., 2021), but in practice we find that DDPMs trained with continuously embedded discrete timesteps are still well-behaved when applied at timesteps not present during training. We think this is due to the regularity of the sinusoidal positional encodings Vaswani et al. (2017) used in these model architectures and training with a sufficiently large number of timesteps $T$ . ",
391
+ "bbox": [
392
+ 173,
393
+ 428,
394
+ 825,
395
+ 526
396
+ ],
397
+ "page_idx": 3
398
+ },
399
+ {
400
+ "type": "text",
401
+ "text": "3.1 DIFFERENTIABLE SAMPLE QUALITY SCORES",
402
+ "text_level": 1,
403
+ "bbox": [
404
+ 178,
405
+ 542,
406
+ 521,
407
+ 556
408
+ ],
409
+ "page_idx": 3
410
+ },
411
+ {
412
+ "type": "text",
413
+ "text": "We can differentiate through a stochastic sampler using the reparameterization trick, but the question of which objective to optimize still remains. Prior work has shown that optimizing log-likelihood can actually worsen sample quality and FID scores in the few-step regime (Watson et al., 2021; Song et al., 2021a). Thus, we instead design a perceptual loss which simply compares mean statistics between model samples and real samples in the neural network feature space. These types of objectives have been shown in prior work to better correlate with human perception of sample quality (Johnson et al., 2016; Heusel et al., 2017), which we also confirm in our experiments. ",
414
+ "bbox": [
415
+ 173,
416
+ 568,
417
+ 825,
418
+ 665
419
+ ],
420
+ "page_idx": 3
421
+ },
422
+ {
423
+ "type": "text",
424
+ "text": "We rely on the representations of the penultimate layer of a pre-trained InceptionV3 classifier (Szegedy et al., 2016) and optimize the Kernel Inception Distance (KID) (Binkowski et al., 2018). ´ Let $\\phi ( { \\pmb x } )$ denote the inception features of an image $_ { \\textbf { \\em x } }$ and $p _ { \\psi }$ represent a diffusion sampler with trainable parameters $\\psi$ . For a linear kernel, which works best in our experiments, the objective is: ",
425
+ "bbox": [
426
+ 173,
427
+ 671,
428
+ 825,
429
+ 728
430
+ ],
431
+ "page_idx": 3
432
+ },
433
+ {
434
+ "type": "equation",
435
+ "img_path": "images/e8bc2152fb9dc4c76fa96a5a968679039e6918a61accb5eb567c87c8b575c076.jpg",
436
+ "text": "$$\n\\mathcal { L } ( \\psi ) = \\underset { \\pmb { x } _ { p } \\sim p _ { \\psi } } { \\mathbb { E } } \\underset { \\pmb { x } _ { p } ^ { \\prime } \\sim p _ { \\psi } } { \\mathbb { E } } \\phi ( \\pmb { x } _ { p } ) ^ { \\top } \\phi ( \\pmb { x } _ { p } ^ { \\prime } ) - \\underset { \\pmb { x } _ { p } \\sim p _ { \\psi } } { \\mathbb { E } } \\underset { \\pmb { x } _ { q } \\sim q } { \\mathbb { E } } \\phi ( \\pmb { x } _ { p } ) ^ { \\top } \\phi ( \\pmb { x } _ { q } )\n$$",
437
+ "text_format": "latex",
438
+ "bbox": [
439
+ 282,
440
+ 729,
441
+ 714,
442
+ 758
443
+ ],
444
+ "page_idx": 3
445
+ },
446
+ {
447
+ "type": "text",
448
+ "text": "More generally, KID can be expressed as: ",
449
+ "bbox": [
450
+ 174,
451
+ 762,
452
+ 447,
453
+ 776
454
+ ],
455
+ "page_idx": 3
456
+ },
457
+ {
458
+ "type": "equation",
459
+ "img_path": "images/6a90d412372f4568bf2d4a5dffe2b62c79045c5af3cd67802e3e533927fb7b23.jpg",
460
+ "text": "$$\n{ \\mathcal L } _ { \\mathrm { K I D } } ( \\boldsymbol { \\psi } ) = \\left. \\underset { \\boldsymbol { x } _ { p } \\sim p _ { \\boldsymbol { \\psi } } } { \\mathbb { E } } f ^ { * } ( \\boldsymbol { x } _ { p } ) - \\underset { \\boldsymbol { x } _ { q } \\sim q } { \\mathbb { E } } f ^ { * } ( \\boldsymbol { x } _ { q } ) \\right. _ { 2 } ^ { 2 } ,\n$$",
461
+ "text_format": "latex",
462
+ "bbox": [
463
+ 336,
464
+ 779,
465
+ 658,
466
+ 816
467
+ ],
468
+ "page_idx": 3
469
+ },
470
+ {
471
+ "type": "text",
472
+ "text": "where $f ^ { * } ( x ) = \\mathbb { E } _ { x _ { p } ^ { \\prime } \\sim p _ { \\psi } } k _ { \\phi } ( x , x _ { p } ^ { \\prime } ) - \\mathbb { E } _ { x _ { q } ^ { \\prime } \\sim q ( x _ { 0 } ) } k _ { \\phi } ( x , x _ { q } ^ { \\prime } )$ is the witness function for any differentiable, positive definite kernel $k$ , and $k _ { \\phi } ( \\dot { \\pmb x } , \\pmb y ) = k ( \\phi ( \\pmb x ) , \\phi ( \\pmb y ) )$ . Note that $f ^ { * }$ attains the supremum of the MMD. To enable stochastic gradient descent, we use an unbiased estimator of KID using a minibatch of $n$ model samples $\\pmb { x } _ { p } ^ { ( 1 ) } \\ldots \\pmb { x } _ { p } ^ { ( n ) } \\sim p _ { \\psi }$ and $n$ real samples $\\pmb { x } _ { q } ^ { ( 1 ) } \\dots \\pmb { x } _ { q } ^ { ( n ) } \\sim q$ : ",
473
+ "bbox": [
474
+ 174,
475
+ 819,
476
+ 825,
477
+ 882
478
+ ],
479
+ "page_idx": 3
480
+ },
481
+ {
482
+ "type": "equation",
483
+ "img_path": "images/5974c80fe4a40addfe8b6ea62dfcc3e9b6e41333ea387afe9001c10fbfe535df.jpg",
484
+ "text": "$$\n\\frac { 1 } { n ( n - 1 ) } \\sum _ { i \\neq j } ^ { n } k _ { \\phi } ( { \\pmb x } _ { p } ^ { ( i ) } , { \\pmb x } _ { p } ^ { ( j ) } ) - \\frac { 2 } { n ^ { 2 } } \\sum _ { i = 1 } ^ { n } \\sum _ { j = 1 } ^ { n } k _ { \\phi } ( { \\pmb x } _ { p } ^ { ( i ) } , { \\pmb x } _ { q } ^ { ( j ) } ) + c ,\n$$",
485
+ "text_format": "latex",
486
+ "bbox": [
487
+ 277,
488
+ 886,
489
+ 687,
490
+ 928
491
+ ],
492
+ "page_idx": 3
493
+ },
494
+ {
495
+ "type": "text",
496
+ "text": "where $c$ is constant in $\\psi$ . Since the sampling chain of any Gaussian diffusion process admits using the reparametrization trick, our loss function is fully differentiable with respect to the trainable variables $\\psi$ . We empirically find that using the perceptual features is crucial; i.e., by trying $\\phi ( { \\pmb x } ) = { \\pmb x }$ to compare images directly on pixel space rather than neural network feature space (as above), we observe that our method makes samples consistently worsen in apparent quality as training progresses. ",
497
+ "bbox": [
498
+ 174,
499
+ 103,
500
+ 825,
501
+ 174
502
+ ],
503
+ "page_idx": 4
504
+ },
505
+ {
506
+ "type": "text",
507
+ "text": "3.2 GRADIENT REMATERIALIZATION ",
508
+ "text_level": 1,
509
+ "bbox": [
510
+ 176,
511
+ 189,
512
+ 444,
513
+ 204
514
+ ],
515
+ "page_idx": 4
516
+ },
517
+ {
518
+ "type": "text",
519
+ "text": "In order for backpropagation to be feasible under reasonable memory constraints, one final problem must be addressed: since we are taking gradients with respect to model samples, the cost in memory to maintain the state of the forward pass scales linearly with the number of inference steps, which can quickly become unfeasible considering the large size of typical DDPM architectures. To address this issue, we use gradient rematerialization (Kumar et al., 2019b). Instead of storing a particular computation’s output from the forward pass required by the backward pass computation, we recompute it on the fly. To trade $\\mathcal O ( K )$ memory cost for $\\mathcal O ( K )$ computation time, we simply rematerialize calls to the pre-trained DDPM (i.e., the estimated score function), but keep in memory all the progressively denoised images from the sampling chain. In JAX (Bradbury et al., 2018), this is trivial to implement by simply wrapping the score function calls with jax.remat. ",
520
+ "bbox": [
521
+ 173,
522
+ 214,
523
+ 825,
524
+ 354
525
+ ],
526
+ "page_idx": 4
527
+ },
528
+ {
529
+ "type": "text",
530
+ "text": "4 GENERALIZED GAUSSIAN DIFFUSION MODELS ",
531
+ "text_level": 1,
532
+ "bbox": [
533
+ 174,
534
+ 373,
535
+ 598,
536
+ 390
537
+ ],
538
+ "page_idx": 4
539
+ },
540
+ {
541
+ "type": "text",
542
+ "text": "We now present Generalized Gaussian Diffusion Model (GGDM), our novel family of Gaussian diffusion processes that includes DDIM as a special case mentioned in section 3. We define a joint distribution with no independence assumptions ",
543
+ "bbox": [
544
+ 176,
545
+ 404,
546
+ 823,
547
+ 446
548
+ ],
549
+ "page_idx": 4
550
+ },
551
+ {
552
+ "type": "equation",
553
+ "img_path": "images/573967dde19f9f874da0c994bbdf32e6718672b7cb8d462f5c467f655c59ce4d.jpg",
554
+ "text": "$$\nq _ { \\mu , \\sigma } ( \\pmb { x } _ { 0 } , . . . , \\pmb { x } _ { T } ) = q ( \\pmb { x } _ { 0 } ) q ( \\pmb { x } _ { T } | \\pmb { x } _ { 0 } ) \\prod _ { t = 1 } ^ { T - 1 } q _ { \\mu , \\sigma } ( \\pmb { x } _ { t } | \\pmb { x } _ { > t } , \\pmb { x } _ { 0 } )\n$$",
555
+ "text_format": "latex",
556
+ "bbox": [
557
+ 308,
558
+ 446,
559
+ 691,
560
+ 491
561
+ ],
562
+ "page_idx": 4
563
+ },
564
+ {
565
+ "type": "text",
566
+ "text": "where the new factors are defined as ",
567
+ "bbox": [
568
+ 176,
569
+ 491,
570
+ 413,
571
+ 505
572
+ ],
573
+ "page_idx": 4
574
+ },
575
+ {
576
+ "type": "equation",
577
+ "img_path": "images/42160437fd50763c1745fbebf5056ff42cd23f96c6339df0411367a6937340e8.jpg",
578
+ "text": "$$\nq _ { \\mu , \\sigma } ( \\pmb { x } _ { t } | \\pmb { x } _ { > t } , \\pmb { x } _ { 0 } ) = \\mathcal { N } \\left( \\pmb { x } _ { t } \\bigg | \\sum _ { u \\in S _ { t } } \\mu _ { t u } \\pmb { x } _ { u } , \\sigma _ { t } ^ { 2 } \\pmb { I } _ { d } \\right)\n$$",
579
+ "text_format": "latex",
580
+ "bbox": [
581
+ 338,
582
+ 502,
583
+ 658,
584
+ 547
585
+ ],
586
+ "page_idx": 4
587
+ },
588
+ {
589
+ "type": "text",
590
+ "text": "(letting $S _ { t } ~ = ~ \\{ 0 , . . . , T \\} ~ \\backslash ~ \\{ 1 , . . . , t \\}$ for notation compactness), with $\\sigma _ { t }$ and $\\mu _ { t u }$ free parameters $\\forall t \\in \\{ 1 , . . . , T \\} , u \\in S _ { t }$ . In other words, when predicting the next, less noisy image, the sampler can take into account all the previous, noisier images in the sampling chain, and similarly to DDIM, we can also control the sampler’s variances. As we prove in the appendix (A.2), this construction admits Gaussian marginals, and we can differentiably compute the marginal coefficients from arbitrary choices of $\\mu$ and $\\sigma$ : ",
591
+ "bbox": [
592
+ 173,
593
+ 554,
594
+ 825,
595
+ 640
596
+ ],
597
+ "page_idx": 4
598
+ },
599
+ {
600
+ "type": "text",
601
+ "text": "Theorem 1. Given some $t \\in \\{ 1 , . . . , T \\}$ , let $a _ { t u } ^ { ( 1 ) } \\ = \\ \\mu _ { t u } \\ \\forall u \\in \\ S _ { t }$ and $v _ { t } ^ { ( 1 ) } = \\sigma _ { t } ^ { 2 }$ . For each , recursively define ",
602
+ "bbox": [
603
+ 171,
604
+ 646,
605
+ 823,
606
+ 678
607
+ ],
608
+ "page_idx": 4
609
+ },
610
+ {
611
+ "type": "equation",
612
+ "img_path": "images/235fc0a859660837f93b44fa63fbcbddc6e03ed958904366b298fe2fb1b80831.jpg",
613
+ "text": "$$\na _ { t u } ^ { ( i + 1 ) } = a _ { t , t + i } ^ { ( i ) } \\mu _ { t + i , u } + a _ { t u } ^ { ( i ) } \\forall u \\in S _ { t + i } \\quad \\mathrm { a n d } \\quad v _ { t } ^ { ( i + 1 ) } = v _ { t } ^ { ( i ) } + \\left( a _ { t , t + i } ^ { ( i ) } \\sigma _ { t + i } \\right) ^ { 2 } .\n$$",
614
+ "text_format": "latex",
615
+ "bbox": [
616
+ 235,
617
+ 679,
618
+ 763,
619
+ 709
620
+ ],
621
+ "page_idx": 4
622
+ },
623
+ {
624
+ "type": "text",
625
+ "text": "Then, it follows that ",
626
+ "bbox": [
627
+ 174,
628
+ 717,
629
+ 308,
630
+ 731
631
+ ],
632
+ "page_idx": 4
633
+ },
634
+ {
635
+ "type": "equation",
636
+ "img_path": "images/8185d39c066238d2d7f38fe1c7c073d4ac012d6a88ba6a6696f62584ca0a0763.jpg",
637
+ "text": "$$\nq _ { \\mu , \\sigma } ( \\pmb { x } _ { t } | \\pmb { x } _ { > t + i } , \\pmb { x } _ { 0 } ) = \\mathcal { N } \\left( \\pmb { x } _ { t } \\middle | \\sum _ { \\pmb { u \\in S } _ { t + i } } a _ { t u } ^ { ( i + 1 ) } \\pmb { x } _ { u } , v _ { t } ^ { ( i + 1 ) } \\pmb { I } _ { d } \\right) .\n$$",
638
+ "text_format": "latex",
639
+ "bbox": [
640
+ 299,
641
+ 729,
642
+ 699,
643
+ 781
644
+ ],
645
+ "page_idx": 4
646
+ },
647
+ {
648
+ "type": "text",
649
+ "text": "In other words, instead of letting the $\\beta _ { t }$ (or equivalently, the $\\bar { \\alpha } _ { t }$ ) define the forward process as done by a usual DDPM, the GGDM family lets the $\\mu _ { t u }$ and $\\sigma _ { t }$ define the process. In particular, an immediate corollary of Theorem 1 is that the marginal coefficients are given by ",
650
+ "bbox": [
651
+ 173,
652
+ 787,
653
+ 823,
654
+ 830
655
+ ],
656
+ "page_idx": 4
657
+ },
658
+ {
659
+ "type": "equation",
660
+ "img_path": "images/115d065b8b640800dccea91bf1c522055e6d095eab19d7f54140179b87b3c0d7.jpg",
661
+ "text": "$$\n\\begin{array} { r } { q _ { \\mu , \\sigma } ( \\pmb { x } _ { t } | \\pmb { x } _ { 0 } ) = \\mathcal { N } \\left( \\pmb { x } _ { t } \\Big | a _ { t 0 } ^ { ( T - t + 1 ) } \\pmb { x } _ { 0 } , v _ { t } ^ { ( T - t + 1 ) } \\pmb { I } _ { d } \\right) } \\end{array}\n$$",
662
+ "text_format": "latex",
663
+ "bbox": [
664
+ 334,
665
+ 832,
666
+ 663,
667
+ 858
668
+ ],
669
+ "page_idx": 4
670
+ },
671
+ {
672
+ "type": "text",
673
+ "text": "The reverse process is thus defined as $\\begin{array} { r } { p ( { \\pmb x } _ { T } ) \\prod _ { t = 1 } ^ { T } p ( { \\pmb x } _ { t - 1 } | { \\pmb x } _ { t } ) } \\end{array}$ with $p ( \\pmb { x } _ { T } ) \\sim \\mathcal { N } ( \\mathbf { 0 } , \\pmb { I } _ { d } ) )$ and ",
674
+ "bbox": [
675
+ 173,
676
+ 867,
677
+ 781,
678
+ 886
679
+ ],
680
+ "page_idx": 4
681
+ },
682
+ {
683
+ "type": "equation",
684
+ "img_path": "images/ff958d13aab89336c07f53644913922a5204232953eccc5fd0b572e4e9b1dd6e.jpg",
685
+ "text": "$$\np _ { \\theta } ( \\mathbf { x } _ { t } | \\mathbf { x } _ { > t } ) = q _ { \\mu , \\sigma } \\left( x _ { t } | \\mathbf { x } _ { > t } , \\hat { \\mathbf { x } } _ { 0 } = \\frac { 1 } { a _ { t 0 } ^ { ( T - t + 1 ) } } \\left( \\mathbf { x } _ { t } - \\sqrt { v _ { t } ^ { ( T - t + 1 ) } } \\epsilon _ { \\theta } ( \\mathbf { x } _ { t } , t ) \\right) \\right) .\n$$",
686
+ "text_format": "latex",
687
+ "bbox": [
688
+ 236,
689
+ 886,
690
+ 759,
691
+ 929
692
+ ],
693
+ "page_idx": 4
694
+ },
695
+ {
696
+ "type": "table",
697
+ "img_path": "images/f5252ac0b3b35058e4d25fc2797ea22da0c360c8701670587f913f1d13bab59e.jpg",
698
+ "table_caption": [
699
+ "Table 1: FID and IS scores for DDSS against baseline methods for a DDPM trained on CIFAR10 with the $L _ { \\mathrm { s i m p l e } }$ objective proposed by (Ho et al., 2020). FID scores (lower is better) are the numbers at the left of each entry, and IS scores (higher is better) are at the right. "
700
+ ],
701
+ "table_footnote": [],
702
+ "table_body": "<table><tr><td>SamplerK</td><td>5</td><td>10</td><td>15</td><td>20</td><td>25</td></tr><tr><td>DDPM (linear stride)</td><td>84.27/5.396</td><td>43.39/7.034</td><td>31.40/7.609</td><td>25.94/7.879</td><td>22.60/8.043</td></tr><tr><td>DDPM(quadratic stride)</td><td>76.25 / 5.435</td><td>42.03 /6.965</td><td>27.78 /7.714</td><td>20.225 /8.128</td><td>16.17 / 8.350</td></tr><tr><td>DDIM (linear stride)</td><td>44.41 / 6.750</td><td>19.11 / 7.965</td><td>14.06 /8.190</td><td>11.82 /8.420</td><td>10.52 / 8.512</td></tr><tr><td>DDIM(quadratic stride)</td><td>32.66 /7.090</td><td>13.62/8.190</td><td>9.318 /8.495</td><td>7.500 / 8.641</td><td>6.560 / 8.759</td></tr><tr><td>GGDM+PRED+TIME</td><td>13.77 /8.520</td><td>8.227 / 8.903</td><td>6.115 /9.050</td><td>4.722/9.261</td><td>4.250 /9.186</td></tr></table>",
703
+ "bbox": [
704
+ 173,
705
+ 154,
706
+ 831,
707
+ 236
708
+ ],
709
+ "page_idx": 5
710
+ },
711
+ {
712
+ "type": "table",
713
+ "img_path": "images/f034ddcf8593b9daa07f390fc77a4069e1be03f4862dee267cd680337b0295e7.jpg",
714
+ "table_caption": [
715
+ "Table 2: FID / IS scores for DDSS against baseline methods for a DDPM trained on ImageNet 64x64 with the $L _ { \\mathrm { h y b r i d } }$ objective proposed by Nichol & Dhariwal (2021). "
716
+ ],
717
+ "table_footnote": [],
718
+ "table_body": "<table><tr><td>SamplerK</td><td>5</td><td>10</td><td>15</td><td>20</td><td>25</td></tr><tr><td>DDPM (linear stride)</td><td>122.0/5.878</td><td>58.78/10.67</td><td>39.30/13.22</td><td>31.36/14.72</td><td>26.36/15.71</td></tr><tr><td>DDPM(quadratic stride)</td><td>394.8 / 1.351</td><td>129.5 / 5.997</td><td>80.10 /9.595</td><td>61.34 / 11.60</td><td>49.60 / 13.01</td></tr><tr><td>DDIM (linear stride)</td><td>135.4 /5.898</td><td>40.70 / 12.225</td><td>28.54 /13.99</td><td>24.225 / 14.75</td><td>22.13 /15.16</td></tr><tr><td>DDIM (quadratic stride)</td><td>409.1/1.380</td><td>148.6 / 5.533</td><td>67.65 /9.842</td><td>45.60 / 11.99</td><td>36.11 /13.225</td></tr><tr><td>GGDM+PRED+TIME</td><td>55.14 /12.90</td><td>37.32/14.76</td><td>24.69/17.225</td><td>20.69 /17.92</td><td>18.40 /18.12</td></tr></table>",
719
+ "bbox": [
720
+ 173,
721
+ 294,
722
+ 854,
723
+ 376
724
+ ],
725
+ "page_idx": 5
726
+ },
727
+ {
728
+ "type": "text",
729
+ "text": "4.1 IGNORING THE MATCHING MARGINALS CONDITION ",
730
+ "text_level": 1,
731
+ "bbox": [
732
+ 173,
733
+ 407,
734
+ 570,
735
+ 420
736
+ ],
737
+ "page_idx": 5
738
+ },
739
+ {
740
+ "type": "text",
741
+ "text": "Unlike DDIM, the GGDM family does not guarantee that the marginals of the new forward process match that of the original DDPM. We empirically find, however, that this condition can often be too restrictive and better samplers exist where the marginals $q _ { \\mu , \\sigma } ( \\pmb { x } _ { t } | \\pmb { x } _ { 0 } ) =$ $\\mathcal { N } \\left( \\pmb { x } _ { t } \\Big | a _ { t 0 } ^ { ( T - t + 1 ) } \\pmb { x } _ { 0 } , v _ { t } ^ { ( T - t + 1 ) } \\pmb { I } _ { d } \\right)$ v(T −t+1)t Id\u0011 of the new forward process differ from the original DDPM’s marginals. We verify this empirically by applying DDSS to both the family of DDIM sigmas and DDPM variances (“VARS” in Section 3): both sampler families have the same number of parameters (the reverse process variances), but the latter does not adjust the mean coefficients like DDIM to ensure matching marginals and still achieves similar or better scores than the former across sample quality metrics (and even outperforms the $\\mathrm { D D I M } ( \\eta = 0 )$ baseline); see Section 5.2. ",
742
+ "bbox": [
743
+ 173,
744
+ 434,
745
+ 825,
746
+ 569
747
+ ],
748
+ "page_idx": 5
749
+ },
750
+ {
751
+ "type": "text",
752
+ "text": "5 EXPERIMENTS ",
753
+ "text_level": 1,
754
+ "bbox": [
755
+ 176,
756
+ 595,
757
+ 326,
758
+ 611
759
+ ],
760
+ "page_idx": 5
761
+ },
762
+ {
763
+ "type": "text",
764
+ "text": "In order to emphasize that our method is compatible with any pre-trained DDPM, we apply our method on pre-trained DDPM checkpoints from prior work. Specifically, we experiment with the DDPM trained by Ho et al. (2020) with $L _ { \\mathrm { s i m p l e } }$ on CIFAR10, as well as a DDPM following the exact configuration of Nichol & Dhariwal (2021) trained on ImageNet 64x64 (Deng et al., 2009) with their $L _ { \\mathrm { h y b r i d } }$ objective (with the only difference being that we trained the latter ourselves for 3M rather than 1.5M steps). Both of these models utilize adaptations of the UNet architecture (Ronneberger et al., 2015) that incorporate self-attention layers (Vaswani et al., 2017). ",
765
+ "bbox": [
766
+ 173,
767
+ 630,
768
+ 825,
769
+ 728
770
+ ],
771
+ "page_idx": 5
772
+ },
773
+ {
774
+ "type": "text",
775
+ "text": "We evaluate all of our models on both FID and Inception Score (IS) (Salimans et al., 2016), comparing the samplers discovered by DDSS against DDPM and DDIM baselines with linear and quadratic strides. As previously mentioned, more recent methods for fast sampling are outperformed by DDIM when the budget of inference steps is as small as those we utilize in this work (5, 10, 15, 20, 25). All reported results on both of these approximate sample quality metrics were computed by comparing 50K model and training data samples, as is standard in the literature. Also as is standard, IS scores are computed 10 times, each time on 5K samples, and then averaged. ",
776
+ "bbox": [
777
+ 174,
778
+ 734,
779
+ 825,
780
+ 833
781
+ ],
782
+ "page_idx": 5
783
+ },
784
+ {
785
+ "type": "text",
786
+ "text": "In all of our experiments, we optimize the DDSS objective presented in Section 3.1 with the following hyperparameters: ",
787
+ "bbox": [
788
+ 173,
789
+ 838,
790
+ 821,
791
+ 867
792
+ ],
793
+ "page_idx": 5
794
+ },
795
+ {
796
+ "type": "text",
797
+ "text": "1. For every family of models we search over, we initialize the degrees of freedom such that training begins with a sampler matching DDPM with $K$ substeps following Song et al. (2020); Nichol & Dhariwal (2021). ",
798
+ "bbox": [
799
+ 214,
800
+ 882,
801
+ 821,
802
+ 924
803
+ ],
804
+ "page_idx": 5
805
+ },
806
+ {
807
+ "type": "table",
808
+ "img_path": "images/7fcb584c4f595cd06c0beac00e70900ed752f78dd02d4a171700a53959364c8b.jpg",
809
+ "table_caption": [
810
+ "Table 3: FID / IS scores for the KID kernel ablation on CIFAR10. When not learning the timesteps, we fix them to a quadratic stride, as Table 1 shows this performs best on CIFAR10. "
811
+ ],
812
+ "table_footnote": [],
813
+ "table_body": "<table><tr><td rowspan=1 colspan=1>SamplerK</td><td rowspan=1 colspan=1>5</td><td rowspan=1 colspan=1>10</td><td rowspan=1 colspan=1>15</td><td rowspan=1 colspan=1>20</td><td rowspan=1 colspan=1>25</td></tr><tr><td rowspan=1 colspan=1>DDSS (linear kernel)GGDM+PRED+TIMEGGDM+PREDGGDM+TIMEGGDM)</td><td rowspan=1 colspan=1>13.77 /8.52014.26 /8.40612.85 /8.38314.45 /8.281</td><td rowspan=1 colspan=1>8.227 /8.9038.617 /8.8427.858 / 8.8958.154 /8.892</td><td rowspan=1 colspan=1>6.115 /9.0505.939 /9.0356.265 /9.0757.045 /8.939</td><td rowspan=1 colspan=1>4.722 /9.2614.893 /9.1535.367 /9.1365.477 /9.183</td><td rowspan=1 colspan=1>4.250 /9.1864.574 /9.1454.887 /9.2294.815 /9.189</td></tr><tr><td rowspan=1 colspan=1>DDSS (cubic kernel)GGDM+PRED+TIMEGGDM+PREDGGDM+TIMEGGDM</td><td rowspan=1 colspan=1>14.41 / 8.52714.39 /8.40112.35 / 8.40614.57 /8.297</td><td rowspan=1 colspan=1>8.2257 /9.0078.977 /8.8707.879 /8.8528.2252/8.836</td><td rowspan=1 colspan=1>5.895 /9.0366.517 / 8.9706.682 /8.9996.727 /8.904</td><td rowspan=1 colspan=1>4.932/9.0924.915 /9.1325.639 /9.0585.569 /9.177</td><td rowspan=1 colspan=1>4.278/9.2864.471 /9.2474.631/9.1894.668 /9.192</td></tr></table>",
814
+ "bbox": [
815
+ 174,
816
+ 140,
817
+ 841,
818
+ 285
819
+ ],
820
+ "page_idx": 6
821
+ },
822
+ {
823
+ "type": "text",
824
+ "text": "2. We apply gradient updates using the Adam optimizer (Kingma & Ba, 2015). We sweeped over the learning rate and used $\\lambda = 0 . 0 0 0 5$ . We did not sweep over other Adam hyperparameters and kept β1 = 0.9, β2 = 0.999, and \u000f = 1 × 10−8. ",
825
+ "bbox": [
826
+ 212,
827
+ 311,
828
+ 823,
829
+ 353
830
+ ],
831
+ "page_idx": 6
832
+ },
833
+ {
834
+ "type": "text",
835
+ "text": "3. We tried batch sizes of 128 and 512 and opted for the latter, finding that it leads to better sample quality upon inspection. Since the loss depends on averages over examples as our experiments are on unconditional generation, this choice was expected. ",
836
+ "bbox": [
837
+ 212,
838
+ 353,
839
+ 821,
840
+ 395
841
+ ],
842
+ "page_idx": 6
843
+ },
844
+ {
845
+ "type": "text",
846
+ "text": "4. We run all of our experiments for 50K training steps and evaluate the discovered samplers at this exact number of training steps. We did not sweep over this value. ",
847
+ "bbox": [
848
+ 210,
849
+ 395,
850
+ 823,
851
+ 422
852
+ ],
853
+ "page_idx": 6
854
+ },
855
+ {
856
+ "type": "text",
857
+ "text": "We include our main results in Table 1 for CIFAR10 and Table 2 for ImageNet 64x64, comparing DDSS applied to GGDM $+ \\mathrm { P R E D + T I M E }$ against DDPM and DDIM baselines with linear and quadratic strides. All models use a linear kernel, i.e., $k _ { \\phi } ( { \\pmb x } , { \\pmb y } ) = \\phi ( { \\pmb x } ) ^ { \\top } \\phi ( { \\pmb y } )$ , which we found to perform slightly better than the cubic kernel used by Binkowski et al. (2018) (we ablate this in ´ section 5.1). We omit the use of the learned variances of the ImageNet $6 4 \\mathrm { x } 6 4$ model (i.e., following Nichol & Dhariwal (2021)), as we search for the variances ourselves via DDSS. We include samples for 5, 10 and 25 steps comparing the strongest DDIM baselines to $\\mathrm { D D S S } + \\mathrm { G G D M }$ with a learned stride; see Figures 1 and 3. We include additional ImageNet $6 4 \\mathrm { x } 6 4$ samples (A.1) and results for larger resolution datasets (A.4) in the appendix. ",
858
+ "bbox": [
859
+ 173,
860
+ 434,
861
+ 825,
862
+ 560
863
+ ],
864
+ "page_idx": 6
865
+ },
866
+ {
867
+ "type": "text",
868
+ "text": "5.1 ABLATIONS FOR KID KERNEL AND GGDM VARIANTS ",
869
+ "text_level": 1,
870
+ "bbox": [
871
+ 173,
872
+ 577,
873
+ 591,
874
+ 592
875
+ ],
876
+ "page_idx": 6
877
+ },
878
+ {
879
+ "type": "text",
880
+ "text": "As our approach is compatible with any choice of KID kernel, we experiment with different choices of kernels. Namely, we try the simplest possible linear kernel, $k _ { \\phi } ( \\dot { \\pmb { x } } , \\pmb { y } ) = \\phi ( \\pmb { x } ) ^ { \\top } \\phi ( \\pmb { y } )$ , as well as the cubic kernel $\\begin{array} { r } { k _ { \\phi } ( \\pmb { x } , \\pmb { y } ) = \\left( \\frac { 1 } { d } \\phi ( \\pmb { x } ) ^ { \\top } \\phi ( \\pmb { y } ) + 1 \\right) ^ { 3 } } \\end{array}$ used by Binkowski et al. (2018). We compare the ´ performance of these two kernels, as well as different variations of GGDM (i.e., with and without TIME and PRED as defined in Section 3). Results are included for CIFAR10 across all budgets in Table 3. We also include a smaller version of this ablation for ImageNet 64x64 in the appendix (A.3). ",
881
+ "bbox": [
882
+ 174,
883
+ 603,
884
+ 825,
885
+ 705
886
+ ],
887
+ "page_idx": 6
888
+ },
889
+ {
890
+ "type": "text",
891
+ "text": "The results in this ablation show that the contributions of the linear kernel, timestep learning, and the empirical choice of learning the coefficients that predict $\\scriptstyle { \\mathbf { { \\mathit { x } } } } _ { 0 }$ all slightly contribute to better FID and IS scores. Importantly, however, removing any of these additions still allows us to comfortably outperform the strongest baselines. See also the results on LSUN in the appendix A.4, which also do not include these additional trainable variables. ",
892
+ "bbox": [
893
+ 174,
894
+ 713,
895
+ 825,
896
+ 782
897
+ ],
898
+ "page_idx": 6
899
+ },
900
+ {
901
+ "type": "text",
902
+ "text": "5.2 SEARCH SPACE ABLATION ",
903
+ "text_level": 1,
904
+ "bbox": [
905
+ 176,
906
+ 800,
907
+ 397,
908
+ 814
909
+ ],
910
+ "page_idx": 6
911
+ },
912
+ {
913
+ "type": "text",
914
+ "text": "Now, in order to further demonstrate the key importance of optimizing our GGDM family to find high-fidelity samplers, we also apply DDSS to the less general DDIM and VARS families. We show that, while we still attain better scores than a regular DDPM, searching these less flexible families of samplers does not yield improvements as significant as with out novel GGDM family. In particular, optimizing the DDIM sigma coefficients does not outperform the corresponding $\\mathrm { D D I M } ( \\eta = 0 )$ baseline on CIFAR10, which is not a surprising result as Song et al. (2020) show empirically that most choices of the $\\sigma _ { t }$ degrees of freedom lead to worse FID scores than setting them all to 0. These results also show that optimizing the VARS can outperform DDSS applied to the DDIM family, and even the strongest $\\mathrm { D D I M } ( \\eta = 0 )$ baselines for certain budgets, justifying our choice of not enforcing the marginals to match (as discussed in Section 4.1). ",
915
+ "bbox": [
916
+ 174,
917
+ 825,
918
+ 825,
919
+ 924
920
+ ],
921
+ "page_idx": 6
922
+ },
923
+ {
924
+ "type": "table",
925
+ "img_path": "images/4a8a7d5257cee010c0bfdad5ea933f271f2808140610c2bbc64badf7b82fe1f2.jpg",
926
+ "table_caption": [
927
+ "Table 4: FID / IS scores for the DDSS search space ablation on CIFAR10. All runs fix the timesteps to a quadratic stride and use a linear kernel except for the last row (we only include the GGDM results for ease of comparison). "
928
+ ],
929
+ "table_footnote": [],
930
+ "table_body": "<table><tr><td rowspan=1 colspan=1>SamplerK</td><td rowspan=1 colspan=1>5</td><td rowspan=1 colspan=1>10</td><td rowspan=1 colspan=1>15</td><td rowspan=1 colspan=1>20</td><td rowspan=1 colspan=1>25</td></tr><tr><td rowspan=1 colspan=1>DDIM(n = 0)</td><td rowspan=1 colspan=1>32.66/7.090</td><td rowspan=1 colspan=1>13.62/8.190</td><td rowspan=1 colspan=1>9.318/ 8.495</td><td rowspan=1 colspan=1>7.500 / 8.641</td><td rowspan=1 colspan=1>6.560/ 8.759</td></tr><tr><td rowspan=1 colspan=1>DDSSVARSDDIM</td><td rowspan=1 colspan=1>33.08 /7.09632.61/7.084</td><td rowspan=1 colspan=1>15.33 /8.55916.29 /7.966</td><td rowspan=1 colspan=1>9.693 /8.84511.31/ 8.372</td><td rowspan=1 colspan=1>7.297 / 8.9249.120 /8.563</td><td rowspan=1 colspan=1>6.172/9.0577.853 /8.644</td></tr><tr><td rowspan=1 colspan=1>GGDMGGDM+PRED+TIME</td><td rowspan=1 colspan=1>14.45/8.28113.77 /8.520</td><td rowspan=1 colspan=1>8.154/8.8928.227 / 8.903</td><td rowspan=1 colspan=1>7.045 / 8.9396.115 /9.050</td><td rowspan=1 colspan=1>5.477 /9.1834.722 /9.261</td><td rowspan=1 colspan=1>4.815/9.1894.250 /9.186</td></tr></table>",
931
+ "bbox": [
932
+ 173,
933
+ 154,
934
+ 833,
935
+ 250
936
+ ],
937
+ "page_idx": 7
938
+ },
939
+ {
940
+ "type": "text",
941
+ "text": "",
942
+ "bbox": [
943
+ 174,
944
+ 275,
945
+ 826,
946
+ 316
947
+ ],
948
+ "page_idx": 7
949
+ },
950
+ {
951
+ "type": "text",
952
+ "text": "6 DISCUSSION ",
953
+ "text_level": 1,
954
+ "bbox": [
955
+ 174,
956
+ 338,
957
+ 310,
958
+ 354
959
+ ],
960
+ "page_idx": 7
961
+ },
962
+ {
963
+ "type": "text",
964
+ "text": "When applied to a sufficiently flexible family (such as the GGDM family proposed in this work), DDSS consistently finds samplers that achieve better image generation quality than the strongest baselines in the literature for very few steps. This is qualitatively apparent in non-cherrypicked samples (e.g., $\\mathrm { D D I M } ( \\eta = 0 )$ tends to generate blurrier images and with less background details as the budget decreases), and multiple quantitative sample quality metrics (FID and IS) also reflect these results. Still, we observe limitations to our method. Finding samplers with inference step budgets as small as $K < 1 0$ that have little apparent loss in quality remains challenging with our proposed search family. And, while on CIFAR10 the metrics indicate significant relative improvement over sample quality metrics, the relative improvement on ImageNet 64x64 is less pronounced. We hypothesize that this is an inherent difficulty of ImageNet due to its high diversity of samples, and that in order to retain sample quality and diversity, it might be impossible to escape some minimum number of inference steps with score-based models as they might be crucial to mode-breaking. ",
965
+ "bbox": [
966
+ 174,
967
+ 369,
968
+ 825,
969
+ 536
970
+ ],
971
+ "page_idx": 7
972
+ },
973
+ {
974
+ "type": "text",
975
+ "text": "Beyond the empirical gains of applying our procedure, our findings shed further light into properties of pre-trained score-based generative models. First, we show that without fine-tuning a DDPM’s parameters, these models are already capable of producing high-quality samples with very few inference steps, though the default DDPM sampler in this regime is usually suboptimal when using a few-step sampler. We further show that better sampling paths exist, and interestingly, these are determined by alternative variational lower bounds to the data distribution that make use of the score-based model but do not necessarily share the same marginals as the original DDPM forward process. Our findings thus suggest that enforcing this marginal-sharing constraint is unnecessary and can be too restrictive in practice. ",
976
+ "bbox": [
977
+ 174,
978
+ 544,
979
+ 825,
980
+ 669
981
+ ],
982
+ "page_idx": 7
983
+ },
984
+ {
985
+ "type": "text",
986
+ "text": "7 OTHER RELATED WORK ",
987
+ "text_level": 1,
988
+ "bbox": [
989
+ 176,
990
+ 690,
991
+ 408,
992
+ 705
993
+ ],
994
+ "page_idx": 7
995
+ },
996
+ {
997
+ "type": "text",
998
+ "text": "Besides DDIM (Song et al., 2020), there have been more recent attempts at reducing the number of inference steps for DDPMs. Jolicoeur-Martineau et al. (2021) proposed a dynamic step size SDE solver that can reduce the number of calls to the modeled score function to $\\sim 1 5 0$ on CIFAR10 (Krizhevsky et al., 2009) with minimal cost in FID scores, but quickly falls behind $\\mathrm { D D I M } ( \\eta = 0 )$ with as many as 50 steps. Watson et al. (2021) proposed a dynamic programming algorithm that chooses log-likelihood optimal strides, but find that log-likelihood reduction has a mismatch with FID scores, particularly with in the very few step regime, also falling behind $\\mathrm { D D I M } ( \\eta = 0 )$ in this front. Other methods that have been shown to help sample quality in the few-step regime include non-Gaussian variants of diffusion models (Nachmani et al., 2021) and adaptively adjusting the sampling path by introducing a noise level estimating network (San-Roman et al., 2021), but more thorough evaluation of sample quality achieved by these approaches is needed with budgets as small as those considered in this work. ",
999
+ "bbox": [
1000
+ 174,
1001
+ 722,
1002
+ 825,
1003
+ 888
1004
+ ],
1005
+ "page_idx": 7
1006
+ },
1007
+ {
1008
+ "type": "text",
1009
+ "text": "Other approaches to sampling DDPMs have also been recently proposed, though not for the explicit purpose of efficient sampling. Song et al. (2021b) derive a reverse SDE that, when discretized, uses different coefficients than the ancestral samplers considered in this work. The same authors also derive “corrector” steps, which introduce additional calls to the pre-trained DDPM as a form of gradient ascent (Langevin dynamics) that help with quality but introduce computation cost, as well as an alternative sampling procedure using a probability flow ODE that shares the same marginals as the DDPM’s original forward process. Huang et al. (2021) generalize this family of samplers to a “plug-in reverse SDE” that interpolates between a probability flow ODE and the reverse SDE, similarly to how the DDIM $\\eta$ interpolates between an implicit probabilistic model and a stochastic reverse process. Our proposed search family includes discretizations of most of these cases for Gaussian processes, notably missing corrector steps, where reusing a single timestep is considered. ",
1010
+ "bbox": [
1011
+ 174,
1012
+ 895,
1013
+ 823,
1014
+ 924
1015
+ ],
1016
+ "page_idx": 7
1017
+ },
1018
+ {
1019
+ "type": "image",
1020
+ "img_path": "images/32e14402d05adeeb690961580b44df8d5fbd8f1bb8eac3367ce846dcaf8eebe6.jpg",
1021
+ "image_caption": [
1022
+ "Figure 3: Non-cherrypicked samples for a DDPM trained on CIFAR10, comparing the strongest DDIM $\\mathbf { \\eta } _ { \\eta } = 0 ,$ ) baseline and our approach. All samples were generated with the same random seeds. For reference, we include DDPM samples using all 1,000 steps (top right) and real images (bottom right). "
1023
+ ],
1024
+ "image_footnote": [],
1025
+ "bbox": [
1026
+ 187,
1027
+ 85,
1028
+ 807,
1029
+ 333
1030
+ ],
1031
+ "page_idx": 8
1032
+ },
1033
+ {
1034
+ "type": "text",
1035
+ "text": "",
1036
+ "bbox": [
1037
+ 174,
1038
+ 424,
1039
+ 825,
1040
+ 550
1041
+ ],
1042
+ "page_idx": 8
1043
+ },
1044
+ {
1045
+ "type": "text",
1046
+ "text": "8 CONCLUSION AND FUTURE WORK ",
1047
+ "text_level": 1,
1048
+ "bbox": [
1049
+ 174,
1050
+ 570,
1051
+ 495,
1052
+ 587
1053
+ ],
1054
+ "page_idx": 8
1055
+ },
1056
+ {
1057
+ "type": "text",
1058
+ "text": "We propose Differentiable Diffusion Sampler Search (DDSS), a method for finding few-step samplers for Denoising Diffusion Probabilistic Models. We show how to optimize a perceptual loss over a space of diffusion processes that makes use of a pre-trained DDPM’s samples by leveraging the reparametrization trick and gradient rematerialization. Our results qualitatively and quantitatively show that DDSS is able to significantly improve sample quality for unconditional image generation over prior methods on efficient DDPM sampling. The success of our method hinges on searching a novel, wider family of Generalized Gaussian Diffusion Model (GGDM) than those identified in prior work (Song et al., 2020). DDSS does not fine-tune the pre-trained DDPM, only needs to be applied once, has few hyperparameters, and does not require re-training the DDPM. ",
1059
+ "bbox": [
1060
+ 174,
1061
+ 602,
1062
+ 825,
1063
+ 727
1064
+ ],
1065
+ "page_idx": 8
1066
+ },
1067
+ {
1068
+ "type": "text",
1069
+ "text": "Our findings suggest future directions to further reduce the number of inference steps while retaining high fidelity in generated samples. For instance, it is plausible to use different representations for the perceptual loss instead of those of a classifier, e.g., use representations from an unsupervised model such as SimCLR (Chen et al., 2020), to using internal representations learned by the pre-trained DDPM itself, which would eliminate the burden of additional computation. Moreover, considering the demonstrated benefits of applying DDSS to our proposed GGDM family of samplers (as opposed to narrower families like DDIM), we motivate future work on identifying more general families of samplers and investigating whether they help uncover even better samplers or lead to overfitting. Finally, identifying other variants of perceptual losses (e.g., that do not sample from the model), or alternative optimization strategies (e.g., gradient-free methods) that lead to similar results is important future work. This would make DDSS itself a more efficient procedure, as gradient-based optimization of our proposed loss requires extensive memory or computation requirements to backpropagate through the whole sampling chain. ",
1070
+ "bbox": [
1071
+ 174,
1072
+ 734,
1073
+ 825,
1074
+ 915
1075
+ ],
1076
+ "page_idx": 8
1077
+ },
1078
+ {
1079
+ "type": "text",
1080
+ "text": "REFERENCES ",
1081
+ "text_level": 1,
1082
+ "bbox": [
1083
+ 176,
1084
+ 102,
1085
+ 287,
1086
+ 118
1087
+ ],
1088
+ "page_idx": 9
1089
+ },
1090
+ {
1091
+ "type": "text",
1092
+ "text": "Martin Arjovsky, Soumith Chintala, and Leon Bottou. Wasserstein GAN. In ´ arXiv, 2017. ",
1093
+ "bbox": [
1094
+ 169,
1095
+ 126,
1096
+ 759,
1097
+ 140
1098
+ ],
1099
+ "page_idx": 9
1100
+ },
1101
+ {
1102
+ "type": "text",
1103
+ "text": "Mikołaj Binkowski, Danica J Sutherland, Michael Arbel, and Arthur Gretton. Demystifying mmd ´ gans. arXiv preprint arXiv:1801.01401, 2018. ",
1104
+ "bbox": [
1105
+ 171,
1106
+ 150,
1107
+ 823,
1108
+ 179
1109
+ ],
1110
+ "page_idx": 9
1111
+ },
1112
+ {
1113
+ "type": "text",
1114
+ "text": "James Bradbury, Roy Frostig, Peter Hawkins, Matthew James Johnson, Chris Leary, Dougal Maclaurin, George Necula, Adam Paszke, Jake VanderPlas, Skye Wanderman-Milne, and Qiao Zhang. JAX: composable transformations of Python+NumPy programs, 2018. URL http: //github.com/google/jax. ",
1115
+ "bbox": [
1116
+ 174,
1117
+ 188,
1118
+ 823,
1119
+ 244
1120
+ ],
1121
+ "page_idx": 9
1122
+ },
1123
+ {
1124
+ "type": "text",
1125
+ "text": "Andrew Brock, Jeff Donahue, and Karen Simonyan. Large scale GAN training for high fidelity natural image synthesis. arXiv preprint arXiv:1809.11096, 2018. ",
1126
+ "bbox": [
1127
+ 169,
1128
+ 253,
1129
+ 823,
1130
+ 284
1131
+ ],
1132
+ "page_idx": 9
1133
+ },
1134
+ {
1135
+ "type": "text",
1136
+ "text": "Ruojin Cai, Guandao Yang, Hadar Averbuch-Elor, Zekun Hao, Serge Belongie, Noah Snavely, and Bharath Hariharan. Learning Gradient Fields for Shape Generation. In ECCV, 2020. ",
1137
+ "bbox": [
1138
+ 171,
1139
+ 291,
1140
+ 823,
1141
+ 321
1142
+ ],
1143
+ "page_idx": 9
1144
+ },
1145
+ {
1146
+ "type": "text",
1147
+ "text": "Nanxin Chen, Yu Zhang, Heiga Zen, Ron J. Weiss, Mohammad Norouzi, and William Chan. WaveGrad: Estimating Gradients for Waveform Generation. In ICLR, 2021a. ",
1148
+ "bbox": [
1149
+ 171,
1150
+ 329,
1151
+ 823,
1152
+ 359
1153
+ ],
1154
+ "page_idx": 9
1155
+ },
1156
+ {
1157
+ "type": "text",
1158
+ "text": "Nanxin Chen, Yu Zhang, Heiga Zen, Ron J. Weiss, Mohammad Norouzi, Najim Dehak, and William Chan. WaveGrad 2: Iterative Refinement for Text-to-Speech Synthesis . In INTERSPEECH, 2021b. ",
1159
+ "bbox": [
1160
+ 174,
1161
+ 367,
1162
+ 825,
1163
+ 410
1164
+ ],
1165
+ "page_idx": 9
1166
+ },
1167
+ {
1168
+ "type": "text",
1169
+ "text": "Ting Chen, Simon Kornblith, Kevin Swersky, Mohammad Norouzi, and Geoffrey Hinton. Big SelfSupervised Models are Strong Semi-Supervised Learners. In NeurIPS, 2020. ",
1170
+ "bbox": [
1171
+ 173,
1172
+ 420,
1173
+ 820,
1174
+ 449
1175
+ ],
1176
+ "page_idx": 9
1177
+ },
1178
+ {
1179
+ "type": "text",
1180
+ "text": "Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pp. 248–255. Ieee, 2009. ",
1181
+ "bbox": [
1182
+ 173,
1183
+ 458,
1184
+ 823,
1185
+ 501
1186
+ ],
1187
+ "page_idx": 9
1188
+ },
1189
+ {
1190
+ "type": "text",
1191
+ "text": "Prafulla Dhariwal and Alex Nichol. Diffusion models beat gans on image synthesis. arXiv preprint arXiv:2105.05233, 2021. ",
1192
+ "bbox": [
1193
+ 171,
1194
+ 510,
1195
+ 823,
1196
+ 540
1197
+ ],
1198
+ "page_idx": 9
1199
+ },
1200
+ {
1201
+ "type": "text",
1202
+ "text": "Ian J Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial networks. arXiv preprint arXiv:1406.2661, 2014. ",
1203
+ "bbox": [
1204
+ 173,
1205
+ 547,
1206
+ 823,
1207
+ 592
1208
+ ],
1209
+ "page_idx": 9
1210
+ },
1211
+ {
1212
+ "type": "text",
1213
+ "text": "Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron Courville. Improved training of wasserstein gans. arXiv preprint arXiv:1704.00028, 2017. ",
1214
+ "bbox": [
1215
+ 171,
1216
+ 599,
1217
+ 821,
1218
+ 630
1219
+ ],
1220
+ "page_idx": 9
1221
+ },
1222
+ {
1223
+ "type": "text",
1224
+ "text": "Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a local nash equilibrium. arXiv preprint arXiv:1706.08500, 2017. ",
1225
+ "bbox": [
1226
+ 173,
1227
+ 638,
1228
+ 823,
1229
+ 681
1230
+ ],
1231
+ "page_idx": 9
1232
+ },
1233
+ {
1234
+ "type": "text",
1235
+ "text": "Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising Diffusion Probabilistic Models. NeurIPS, 2020. ",
1236
+ "bbox": [
1237
+ 169,
1238
+ 690,
1239
+ 823,
1240
+ 720
1241
+ ],
1242
+ "page_idx": 9
1243
+ },
1244
+ {
1245
+ "type": "text",
1246
+ "text": "Jonathan Ho, Chitwan Saharia, William Chan, David J Fleet, Mohammad Norouzi, and Tim Salimans. Cascaded diffusion models for high fidelity image generation. arXiv preprint arXiv:2106.15282, 2021. ",
1247
+ "bbox": [
1248
+ 173,
1249
+ 728,
1250
+ 825,
1251
+ 772
1252
+ ],
1253
+ "page_idx": 9
1254
+ },
1255
+ {
1256
+ "type": "text",
1257
+ "text": "Chin-Wei Huang, Jae Hyun Lim, and Aaron Courville. A variational perspective on diffusion-based generative models and score matching. arXiv preprint arXiv:2106.02808, 2021. ",
1258
+ "bbox": [
1259
+ 171,
1260
+ 780,
1261
+ 823,
1262
+ 810
1263
+ ],
1264
+ "page_idx": 9
1265
+ },
1266
+ {
1267
+ "type": "text",
1268
+ "text": "Justin Johnson, Alexandre Alahi, and Li Fei-Fei. Perceptual losses for real-time style transfer and super-resolution. In European conference on computer vision, pp. 694–711. Springer, 2016. ",
1269
+ "bbox": [
1270
+ 173,
1271
+ 818,
1272
+ 821,
1273
+ 848
1274
+ ],
1275
+ "page_idx": 9
1276
+ },
1277
+ {
1278
+ "type": "text",
1279
+ "text": "Alexia Jolicoeur-Martineau, Ke Li, Remi Pich ´ e-Taillefer, Tal Kachman, and Ioannis Mitliagkas. ´ Gotta go fast when generating data with score-based models. arXiv preprint arXiv:2105.14080, 2021. ",
1280
+ "bbox": [
1281
+ 174,
1282
+ 857,
1283
+ 823,
1284
+ 900
1285
+ ],
1286
+ "page_idx": 9
1287
+ },
1288
+ {
1289
+ "type": "text",
1290
+ "text": "Diederik Kingma and Jimmy Ba. Adam: A Method for Stochastic Optimization. In ICLR, 2015. ",
1291
+ "bbox": [
1292
+ 171,
1293
+ 909,
1294
+ 805,
1295
+ 924
1296
+ ],
1297
+ "page_idx": 9
1298
+ },
1299
+ {
1300
+ "type": "text",
1301
+ "text": "Diederik P Kingma and Max Welling. Auto-Encoding Variational Bayes. In ICLR, 2013. ",
1302
+ "bbox": [
1303
+ 171,
1304
+ 103,
1305
+ 756,
1306
+ 119
1307
+ ],
1308
+ "page_idx": 10
1309
+ },
1310
+ {
1311
+ "type": "text",
1312
+ "text": "Diederik P Kingma, Tim Salimans, Ben Poole, and Jonathan Ho. Variational diffusion models. arXiv preprint arXiv:2107.00630, 2021. ",
1313
+ "bbox": [
1314
+ 171,
1315
+ 127,
1316
+ 821,
1317
+ 156
1318
+ ],
1319
+ "page_idx": 10
1320
+ },
1321
+ {
1322
+ "type": "text",
1323
+ "text": "Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. Technical Report, 2009. ",
1324
+ "bbox": [
1325
+ 171,
1326
+ 165,
1327
+ 821,
1328
+ 194
1329
+ ],
1330
+ "page_idx": 10
1331
+ },
1332
+ {
1333
+ "type": "text",
1334
+ "text": "Kundan Kumar, Rithesh Kumar, Thibault de Boissiere, Lucas Gestin, Wei Zhen Teoh, Jose Sotelo, Alexandre de Brebisson, Yoshua Bengio, and Aaron Courville. MelGAN: Generative Adversarial Networks for Conditional Waveform Synthesis. In NeurIPS, 2019a. ",
1335
+ "bbox": [
1336
+ 176,
1337
+ 203,
1338
+ 823,
1339
+ 247
1340
+ ],
1341
+ "page_idx": 10
1342
+ },
1343
+ {
1344
+ "type": "text",
1345
+ "text": "Ravi Kumar, Manish Purohit, Zoya Svitkina, Erik Vee, and Joshua R Wang. Efficient rematerialization for deep networks. In Proceedings of the 33rd International Conference on Neural Information Processing Systems, pp. 15172–15181, 2019b. ",
1346
+ "bbox": [
1347
+ 176,
1348
+ 255,
1349
+ 821,
1350
+ 299
1351
+ ],
1352
+ "page_idx": 10
1353
+ },
1354
+ {
1355
+ "type": "text",
1356
+ "text": "Shitong Luo and Wei Hu. Diffusion probabilistic models for 3d point cloud generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 2837–2845, 2021. ",
1357
+ "bbox": [
1358
+ 173,
1359
+ 306,
1360
+ 826,
1361
+ 349
1362
+ ],
1363
+ "page_idx": 10
1364
+ },
1365
+ {
1366
+ "type": "text",
1367
+ "text": "Eliya Nachmani, Robin San Roman, and Lior Wolf. Non gaussian denoising diffusion models. arXiv preprint arXiv:2106.07582, 2021. ",
1368
+ "bbox": [
1369
+ 174,
1370
+ 358,
1371
+ 823,
1372
+ 388
1373
+ ],
1374
+ "page_idx": 10
1375
+ },
1376
+ {
1377
+ "type": "text",
1378
+ "text": "Alex Nichol and Prafulla Dhariwal. Improved denoising diffusion probabilistic models. arXiv preprint arXiv:2102.09672, 2021. ",
1379
+ "bbox": [
1380
+ 173,
1381
+ 397,
1382
+ 823,
1383
+ 426
1384
+ ],
1385
+ "page_idx": 10
1386
+ },
1387
+ {
1388
+ "type": "text",
1389
+ "text": "Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-net: Convolutional networks for biomedical image segmentation. In International Conference on Medical image computing and computerassisted intervention, pp. 234–241. Springer, 2015. ",
1390
+ "bbox": [
1391
+ 174,
1392
+ 434,
1393
+ 825,
1394
+ 478
1395
+ ],
1396
+ "page_idx": 10
1397
+ },
1398
+ {
1399
+ "type": "text",
1400
+ "text": "Tim Salimans, Ian Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, and Xi Chen. Improved techniques for training gans. Advances in neural information processing systems, 29: 2234–2242, 2016. ",
1401
+ "bbox": [
1402
+ 173,
1403
+ 486,
1404
+ 825,
1405
+ 530
1406
+ ],
1407
+ "page_idx": 10
1408
+ },
1409
+ {
1410
+ "type": "text",
1411
+ "text": "Robin San-Roman, Eliya Nachmani, and Lior Wolf. Noise estimation for generative diffusion models. arXiv preprint arXiv:2104.02600, 2021. ",
1412
+ "bbox": [
1413
+ 169,
1414
+ 539,
1415
+ 823,
1416
+ 568
1417
+ ],
1418
+ "page_idx": 10
1419
+ },
1420
+ {
1421
+ "type": "text",
1422
+ "text": "Jascha Sohl-Dickstein, Eric Weiss, Niru Maheswaranathan, and Surya Ganguli. Deep unsupervised learning using nonequilibrium thermodynamics. In International Conference on Machine Learning, pp. 2256–2265. PMLR, 2015. ",
1423
+ "bbox": [
1424
+ 174,
1425
+ 577,
1426
+ 823,
1427
+ 619
1428
+ ],
1429
+ "page_idx": 10
1430
+ },
1431
+ {
1432
+ "type": "text",
1433
+ "text": "Jiaming Song, Chenlin Meng, and Stefano Ermon. Denoising diffusion implicit models. arXiv preprint arXiv:2010.02502, 2020. ",
1434
+ "bbox": [
1435
+ 169,
1436
+ 628,
1437
+ 823,
1438
+ 659
1439
+ ],
1440
+ "page_idx": 10
1441
+ },
1442
+ {
1443
+ "type": "text",
1444
+ "text": "Yang Song and Stefano Ermon. Generative Modeling by Estimating Gradients of the Data Distribution. NeurIPS, 2019. ",
1445
+ "bbox": [
1446
+ 173,
1447
+ 666,
1448
+ 823,
1449
+ 695
1450
+ ],
1451
+ "page_idx": 10
1452
+ },
1453
+ {
1454
+ "type": "text",
1455
+ "text": "Yang Song, Conor Durkan, Iain Murray, and Stefano Ermon. Maximum likelihood training of scorebased diffusion models. arXiv e-prints, pp. arXiv–2101, 2021a. ",
1456
+ "bbox": [
1457
+ 173,
1458
+ 704,
1459
+ 823,
1460
+ 734
1461
+ ],
1462
+ "page_idx": 10
1463
+ },
1464
+ {
1465
+ "type": "text",
1466
+ "text": "Yang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-Based Generative Modeling through Stochastic Differential Equations. In ICLR, 2021b. ",
1467
+ "bbox": [
1468
+ 176,
1469
+ 742,
1470
+ 826,
1471
+ 785
1472
+ ],
1473
+ "page_idx": 10
1474
+ },
1475
+ {
1476
+ "type": "text",
1477
+ "text": "Markus Svensen and Christopher M Bishop. Pattern recognition and machine learning, 2007. ´ ",
1478
+ "bbox": [
1479
+ 169,
1480
+ 794,
1481
+ 785,
1482
+ 810
1483
+ ],
1484
+ "page_idx": 10
1485
+ },
1486
+ {
1487
+ "type": "text",
1488
+ "text": "Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jonathon Shlens, and Zbigniew Wojna. Rethinking the Inception Architecture for Computer Vision. In CVPR, 2016. ",
1489
+ "bbox": [
1490
+ 173,
1491
+ 819,
1492
+ 820,
1493
+ 848
1494
+ ],
1495
+ "page_idx": 10
1496
+ },
1497
+ {
1498
+ "type": "text",
1499
+ "text": "Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention Is All You Need. In NIPS, 2017. ",
1500
+ "bbox": [
1501
+ 174,
1502
+ 857,
1503
+ 820,
1504
+ 886
1505
+ ],
1506
+ "page_idx": 10
1507
+ },
1508
+ {
1509
+ "type": "text",
1510
+ "text": "Pascal Vincent. A connection between score matching and denoising autoencoders. Neural Computation, 23(7):1661–1674, 2011. ",
1511
+ "bbox": [
1512
+ 173,
1513
+ 895,
1514
+ 820,
1515
+ 924
1516
+ ],
1517
+ "page_idx": 10
1518
+ },
1519
+ {
1520
+ "type": "text",
1521
+ "text": "Daniel Watson, Jonathan Ho, Mohammad Norouzi, and William Chan. Learning to efficiently sample from diffusion probabilistic models. arXiv preprint arXiv:2106.03802, 2021. ",
1522
+ "bbox": [
1523
+ 171,
1524
+ 103,
1525
+ 821,
1526
+ 132
1527
+ ],
1528
+ "page_idx": 11
1529
+ },
1530
+ {
1531
+ "type": "text",
1532
+ "text": "Fisher Yu, Ari Seff, Yinda Zhang, Shuran Song, Thomas Funkhouser, and Jianxiong Xiao. Lsun: Construction of a large-scale image dataset using deep learning with humans in the loop. arXiv preprint arXiv:1506.03365, 2015. ",
1533
+ "bbox": [
1534
+ 178,
1535
+ 141,
1536
+ 821,
1537
+ 183
1538
+ ],
1539
+ "page_idx": 11
1540
+ },
1541
+ {
1542
+ "type": "text",
1543
+ "text": "A APPENDIX ",
1544
+ "text_level": 1,
1545
+ "bbox": [
1546
+ 176,
1547
+ 102,
1548
+ 299,
1549
+ 117
1550
+ ],
1551
+ "page_idx": 12
1552
+ },
1553
+ {
1554
+ "type": "text",
1555
+ "text": "A.1 ADDITIONAL IMAGENET 64X64 SAMPLES ",
1556
+ "text_level": 1,
1557
+ "bbox": [
1558
+ 174,
1559
+ 133,
1560
+ 509,
1561
+ 148
1562
+ ],
1563
+ "page_idx": 12
1564
+ },
1565
+ {
1566
+ "type": "text",
1567
+ "text": "We provide additional samples for our results on ImageNet $6 4 \\mathrm { x } 6 4$ . The DDPM and $\\mathrm { D D I M } ( \\eta = 0 )$ samples (left and middle, respectively) use a linear stride, while our DDSS $^ +$ GGDM samples (right) use a learned stride. ",
1568
+ "bbox": [
1569
+ 174,
1570
+ 159,
1571
+ 825,
1572
+ 202
1573
+ ],
1574
+ "page_idx": 12
1575
+ },
1576
+ {
1577
+ "type": "image",
1578
+ "img_path": "images/1837841f8ba78d46089b6644adcd4a9a922cbe225c3310a07840389f63dad545.jpg",
1579
+ "image_caption": [
1580
+ "Figure A.1: Additional samples on ImageNet $6 4 \\mathrm { x } 6 4$ . For reference, we include DDPM samples with all 4,000 steps (bottom left) and real samples (bottom middle). "
1581
+ ],
1582
+ "image_footnote": [],
1583
+ "bbox": [
1584
+ 187,
1585
+ 209,
1586
+ 805,
1587
+ 847
1588
+ ],
1589
+ "page_idx": 12
1590
+ },
1591
+ {
1592
+ "type": "text",
1593
+ "text": "A.2 PROOF FOR THEOREM 1 ",
1594
+ "text_level": 1,
1595
+ "bbox": [
1596
+ 174,
1597
+ 103,
1598
+ 385,
1599
+ 118
1600
+ ],
1601
+ "page_idx": 13
1602
+ },
1603
+ {
1604
+ "type": "text",
1605
+ "text": "Theorem 1. Given some $t \\in \\{ 1 , . . . , T \\}$ , let $a _ { t u } ^ { ( 1 ) } \\ = \\ \\mu _ { t u } \\ \\forall u \\in \\ S _ { t }$ and $v _ { t } ^ { ( 1 ) } = \\sigma _ { t } ^ { 2 }$ . For each , recursively define ",
1606
+ "bbox": [
1607
+ 171,
1608
+ 126,
1609
+ 823,
1610
+ 159
1611
+ ],
1612
+ "page_idx": 13
1613
+ },
1614
+ {
1615
+ "type": "equation",
1616
+ "img_path": "images/614aef9881d501c3d331c019e3592d77819accf9ce0f2fc619b180efb38f9cae.jpg",
1617
+ "text": "$$\n\\begin{array} { r l } & { \\bullet \\ a _ { t u } ^ { ( i + 1 ) } = a _ { t , t + i } ^ { ( i ) } \\mu _ { t + i , u } + a _ { t u } ^ { ( i ) } \\forall u \\in S _ { t + i } } \\\\ & { \\bullet \\ v _ { t } ^ { ( i + 1 ) } = v _ { t } ^ { ( i ) } + \\left( a _ { t , t + i } ^ { ( i ) } \\sigma _ { t + i } \\right) ^ { 2 } } \\end{array}\n$$",
1618
+ "text_format": "latex",
1619
+ "bbox": [
1620
+ 210,
1621
+ 167,
1622
+ 495,
1623
+ 223
1624
+ ],
1625
+ "page_idx": 13
1626
+ },
1627
+ {
1628
+ "type": "text",
1629
+ "text": "Then, it follows that ",
1630
+ "bbox": [
1631
+ 173,
1632
+ 231,
1633
+ 310,
1634
+ 247
1635
+ ],
1636
+ "page_idx": 13
1637
+ },
1638
+ {
1639
+ "type": "equation",
1640
+ "img_path": "images/39af935af7295c62a1cf6cfb57c99ca9e9c6cb5ff7f8ffb3c8be48768c06cf2c.jpg",
1641
+ "text": "$$\nq _ { \\mu , \\sigma } ( \\pmb { x } _ { t } | \\pmb { x } _ { > t + i } , \\pmb { x } _ { 0 } ) = \\mathcal { N } \\left( \\pmb { x } _ { t } \\bigg | \\sum _ { u \\in S _ { t + i } } a _ { t u } ^ { ( i + 1 ) } \\pmb { x } _ { u } , v _ { t } ^ { ( i + 1 ) } \\pmb { I } _ { d } \\right)\n$$",
1642
+ "text_format": "latex",
1643
+ "bbox": [
1644
+ 303,
1645
+ 251,
1646
+ 694,
1647
+ 303
1648
+ ],
1649
+ "page_idx": 13
1650
+ },
1651
+ {
1652
+ "type": "text",
1653
+ "text": "Proof. Let us prove this result with mathematical induction. Note that, for each such $t$ , we have by definition that ",
1654
+ "bbox": [
1655
+ 171,
1656
+ 313,
1657
+ 821,
1658
+ 342
1659
+ ],
1660
+ "page_idx": 13
1661
+ },
1662
+ {
1663
+ "type": "equation",
1664
+ "img_path": "images/f88e9dbb5d3f2e5e36357a1a63cc97874d57b8f6588fd865b2753c8b05c4c723.jpg",
1665
+ "text": "$$\n\\begin{array} { r } { q _ { \\mu , \\sigma } ( \\pmb { x } _ { t + 1 } | \\pmb { x } _ { > t + 1 } , \\pmb { x } _ { 0 } ) = \\mathcal { N } \\left( \\pmb { x } _ { t } \\Big | \\sum _ { u \\in S _ { t + 1 } } \\mu _ { t + 1 , u } \\pmb { x } _ { u } , \\sigma _ { t + 1 } ^ { 2 } \\pmb { I } _ { d } \\right) } \\end{array}\n$$",
1666
+ "text_format": "latex",
1667
+ "bbox": [
1668
+ 215,
1669
+ 345,
1670
+ 632,
1671
+ 372
1672
+ ],
1673
+ "page_idx": 13
1674
+ },
1675
+ {
1676
+ "type": "text",
1677
+ "text": "and ",
1678
+ "bbox": [
1679
+ 173,
1680
+ 382,
1681
+ 202,
1682
+ 395
1683
+ ],
1684
+ "page_idx": 13
1685
+ },
1686
+ {
1687
+ "type": "equation",
1688
+ "img_path": "images/8c8a56618f7377286971055fbd2aa174ccba213e054b054df291f650858e4da1.jpg",
1689
+ "text": "$$\n\\begin{array} { r } { q _ { \\mu , \\sigma } ( { \\pmb x } _ { t } | { \\pmb x } _ { t + 1 } , { \\pmb x } _ { > t + 1 } , { \\pmb x } _ { 0 } ) = { \\mathcal N } \\left( { \\pmb x } _ { t } \\big | \\sum _ { u \\in S _ { t } } \\mu _ { t u } { \\pmb x } _ { u } , \\sigma _ { t } ^ { 2 } I _ { d } \\right) = { \\mathcal N } \\left( { \\pmb x } _ { t } \\Big | \\sum _ { u \\in S _ { t } } a _ { t u } ^ { ( 1 ) } { \\pmb x } _ { u } , v _ { t } ^ { ( 1 ) } I _ { d } \\right) } \\end{array}\n$$",
1690
+ "text_format": "latex",
1691
+ "bbox": [
1692
+ 192,
1693
+ 402,
1694
+ 805,
1695
+ 430
1696
+ ],
1697
+ "page_idx": 13
1698
+ },
1699
+ {
1700
+ "type": "text",
1701
+ "text": "Therefore, following Svensen & Bishop (2007) (2.115), by prior conjugacy it follows that ´ ",
1702
+ "bbox": [
1703
+ 173,
1704
+ 441,
1705
+ 763,
1706
+ 458
1707
+ ],
1708
+ "page_idx": 13
1709
+ },
1710
+ {
1711
+ "type": "equation",
1712
+ "img_path": "images/543fae8ff59668a86dae9ba72ebb35e5aa8af0f0c65fbea837651a27a061898d.jpg",
1713
+ "text": "$$\n\\begin{array} { r l } & { ( { \\pmb x } _ { t } | { \\pmb x } _ { > t + 1 } , { \\pmb x } _ { 0 } ) = \\mathcal { N } ( { \\pmb x } _ { t } \\Big | a _ { t , t + 1 } ^ { ( 1 ) } \\sum _ { u \\in S _ { t + 1 } } \\mu _ { t + 1 , u } { \\pmb x } _ { u } + \\sum _ { u \\in S _ { t + 1 } } a _ { t u } ^ { ( 1 ) } , ( v _ { t } ^ { ( 1 ) } + a _ { t , t + 1 } ^ { ( 1 ) } \\sigma _ { t + 1 } ^ { 2 } a _ { t , t + 1 } ^ { ( 1 ) } ) I _ { d _ { 1 } ^ { \\prime } } } \\\\ & { \\qquad = \\mathcal { N } ( { \\pmb x } _ { t } \\Big | \\sum _ { u \\in S _ { t + 1 } } ( a _ { t , t + 1 } ^ { ( 1 ) } \\mu _ { t + 1 , u } + a _ { t u } ^ { ( 1 ) } ) { \\pmb x } _ { u } , v _ { t } ^ { ( 2 ) } I _ { d } ) } \\\\ & { \\qquad = \\mathcal { N } ( { \\pmb x } _ { t } \\Big | \\sum _ { u \\in S _ { t + 1 } } a _ { t u } ^ { ( 2 ) } { \\pmb x } _ { u } , v _ { t } ^ { ( 2 ) } I _ { d } ) . } \\end{array}\n$$",
1714
+ "text_format": "latex",
1715
+ "bbox": [
1716
+ 202,
1717
+ 463,
1718
+ 861,
1719
+ 547
1720
+ ],
1721
+ "page_idx": 13
1722
+ },
1723
+ {
1724
+ "type": "text",
1725
+ "text": "This proves the base case for our induction argument. Now, let us prove the inductive step. Suppose there exists some integer $j \\in \\{ 1 , . . . , T - t + 1 \\}$ such that ",
1726
+ "bbox": [
1727
+ 173,
1728
+ 558,
1729
+ 823,
1730
+ 588
1731
+ ],
1732
+ "page_idx": 13
1733
+ },
1734
+ {
1735
+ "type": "equation",
1736
+ "img_path": "images/6bc385bbba9eb4539578d54b6e5880d320a7c91860ddc71e934527f37b27571a.jpg",
1737
+ "text": "$$\n\\begin{array} { r } { q _ { \\mu , \\sigma } ( \\pmb { x } _ { t } | \\pmb { x } _ { > t + j } , \\pmb { x } _ { 0 } ) = \\mathcal { N } \\left( \\pmb { x } _ { t } \\middle | \\sum _ { \\boldsymbol { u } \\in S _ { t + j } } a _ { t \\boldsymbol { u } } ^ { ( j + 1 ) } \\pmb { x } _ { \\boldsymbol { u } } , v _ { t } ^ { ( j + 1 ) } \\pmb { I } _ { d } \\right) . } \\end{array}\n$$",
1738
+ "text_format": "latex",
1739
+ "bbox": [
1740
+ 290,
1741
+ 593,
1742
+ 705,
1743
+ 621
1744
+ ],
1745
+ "page_idx": 13
1746
+ },
1747
+ {
1748
+ "type": "text",
1749
+ "text": "By definition, we already know $q ( \\pmb { x } _ { t + j + 1 } | \\pmb { x } _ { > t + j + 1 } , \\pmb { x } _ { 0 } )$ , so we have ",
1750
+ "bbox": [
1751
+ 176,
1752
+ 626,
1753
+ 625,
1754
+ 642
1755
+ ],
1756
+ "page_idx": 13
1757
+ },
1758
+ {
1759
+ "type": "equation",
1760
+ "img_path": "images/a3561f87e2232c9748ad1639896c8b2e3311be47d8e502a3e8031492ad07f5c3.jpg",
1761
+ "text": "$$\n\\begin{array} { r } { q _ { \\mu , \\sigma } ( \\pmb { x } _ { t + j + 1 } | \\pmb { x } _ { > t + j + 1 } , \\pmb { x } _ { 0 } ) = \\mathcal { N } \\left( \\pmb { x } _ { t + j + 1 } \\middle | \\sum _ { u \\in S _ { t + j + 1 } } \\mu _ { t + j + 1 , u } \\pmb { x } _ { u } , \\sigma _ { t + j + 1 } ^ { 2 } \\pmb { I } _ { d } \\right) } \\end{array}\n$$",
1762
+ "text_format": "latex",
1763
+ "bbox": [
1764
+ 248,
1765
+ 647,
1766
+ 772,
1767
+ 675
1768
+ ],
1769
+ "page_idx": 13
1770
+ },
1771
+ {
1772
+ "type": "text",
1773
+ "text": "and (rewriting the inductive hypothesis) ",
1774
+ "bbox": [
1775
+ 173,
1776
+ 683,
1777
+ 436,
1778
+ 698
1779
+ ],
1780
+ "page_idx": 13
1781
+ },
1782
+ {
1783
+ "type": "equation",
1784
+ "img_path": "images/9f66e8fd094e4c040bcb89f855e0a3052242d68e14b5077e3bb7b0239bcfacfb.jpg",
1785
+ "text": "$$\n\\begin{array} { r } { q _ { \\mu , \\sigma } ( \\pmb { x } _ { t } | \\pmb { x } _ { t + j + 1 } , \\pmb { x } _ { > t + j + 1 } , \\pmb { x } _ { 0 } ) = \\mathcal { N } \\left( \\pmb { x } _ { t } \\Big | \\sum _ { \\pmb { u \\in S } _ { t + j } } a _ { t u } ^ { ( j + 1 ) } \\pmb { x } _ { u } , v _ { t } ^ { ( j + 1 ) } \\pmb { I } _ { d } \\right) . } \\end{array}\n$$",
1786
+ "text_format": "latex",
1787
+ "bbox": [
1788
+ 225,
1789
+ 707,
1790
+ 710,
1791
+ 734
1792
+ ],
1793
+ "page_idx": 13
1794
+ },
1795
+ {
1796
+ "type": "text",
1797
+ "text": "Therefore, by prior conjugacy again, it follows that ",
1798
+ "bbox": [
1799
+ 173,
1800
+ 739,
1801
+ 509,
1802
+ 755
1803
+ ],
1804
+ "page_idx": 13
1805
+ },
1806
+ {
1807
+ "type": "equation",
1808
+ "img_path": "images/c7f5dcb62110321491ec0d33a01f51312dd8769a86fb3bfa575e141e2fda6346.jpg",
1809
+ "text": "$$\n\\begin{array} { r l } & { \\quad q _ { \\mu , \\sigma } ( \\boldsymbol { x } _ { t } | \\boldsymbol { x } _ { > t + j + 1 } , \\boldsymbol { x } _ { 0 } ) } \\\\ & { = \\mathcal { N } \\left( \\boldsymbol { x } _ { t } \\Big | a _ { t , t + j + 1 } ^ { ( j + 1 ) } \\sum _ { u \\in S _ { t + j } } \\mu _ { t + j + 1 , u } \\boldsymbol { x } _ { u } + \\sum _ { u \\in S _ { t + j } } a _ { t u } ^ { ( j + 1 ) } , \\left( v _ { t } ^ { ( j + 1 ) } + a _ { t , t + j + 1 } ^ { ( j + 1 ) } \\sigma _ { t + j + 1 } ^ { 2 } a _ { t , t + j + 1 } ^ { ( j + 1 ) } \\right) \\boldsymbol { I } _ { d } \\right) } \\\\ & { = \\mathcal { N } \\left( \\boldsymbol { x } _ { t } \\Big | \\sum _ { u \\in S _ { t + j } } \\left( a _ { t , t + j + 1 } ^ { ( j + 1 ) } \\mu _ { t + j + 1 , u } + a _ { t u } ^ { ( j + 1 ) } \\right) \\boldsymbol { x } _ { u } , v _ { t } ^ { ( j + 2 ) } \\boldsymbol { I } _ { d } \\right) } \\\\ & { = \\mathcal { N } \\left( \\boldsymbol { x } _ { t } \\Big | \\sum _ { u \\in S _ { t + j + 1 } } a _ { t u } ^ { ( j + 2 ) } \\boldsymbol { x } _ { u } , v _ { t } ^ { ( j + 2 ) } \\boldsymbol { I } _ { d } \\right) . } \\end{array}\n$$",
1810
+ "text_format": "latex",
1811
+ "bbox": [
1812
+ 181,
1813
+ 760,
1814
+ 839,
1815
+ 863
1816
+ ],
1817
+ "page_idx": 13
1818
+ },
1819
+ {
1820
+ "type": "text",
1821
+ "text": "This concludes the proof of the inductive step. Hence, we have proven the result for any $i \\in$ $\\{ 1 , . . . , T - t \\}$ . In particular, ",
1822
+ "bbox": [
1823
+ 169,
1824
+ 866,
1825
+ 825,
1826
+ 896
1827
+ ],
1828
+ "page_idx": 13
1829
+ },
1830
+ {
1831
+ "type": "equation",
1832
+ "img_path": "images/cc528ce694a815ada4f6e8d5315520c51e0c0fb6b8beae9a90775e39feb52ba1.jpg",
1833
+ "text": "$$\n\\begin{array} { r } { q _ { \\mu , \\sigma } ( \\pmb { x } _ { t } | \\pmb { x } _ { 0 } ) = \\mathcal { N } \\left( \\pmb { x } _ { t } \\middle | a _ { t 0 } ^ { ( T - t + 1 ) } \\pmb { x } _ { 0 } , v _ { t } ^ { ( T - t + 1 ) } \\pmb { I } _ { d } \\right) . \\quad \\prod } \\end{array}\n$$",
1834
+ "text_format": "latex",
1835
+ "bbox": [
1836
+ 316,
1837
+ 901,
1838
+ 684,
1839
+ 929
1840
+ ],
1841
+ "page_idx": 13
1842
+ },
1843
+ {
1844
+ "type": "text",
1845
+ "text": "A.3 ADDITIONAL ABLATION OF KID KERNEL AND GGDM VARIANTS FOR IMAGENET 64X64 ",
1846
+ "bbox": [
1847
+ 169,
1848
+ 103,
1849
+ 782,
1850
+ 132
1851
+ ],
1852
+ "page_idx": 14
1853
+ },
1854
+ {
1855
+ "type": "text",
1856
+ "text": "We also ran a smaller version of the ablation results presented in Section 5.1, but for ImageNet $6 4 \\mathrm { x } 6 4$ instead of CIFAR10, as these are more computationally intensive to do a full grid search. Results for a step budget $K = 1 5$ are included below. When not learning the timesteps, we fix them to a linear stride, as Table 2 shows this performs best on ImageNet $6 4 \\mathrm { x } 6 4$ . ",
1857
+ "bbox": [
1858
+ 174,
1859
+ 154,
1860
+ 825,
1861
+ 210
1862
+ ],
1863
+ "page_idx": 14
1864
+ },
1865
+ {
1866
+ "type": "table",
1867
+ "img_path": "images/4b3078e48185bc7d8f84a15aee10167ad5deebbd730a8a14ed3b2bd0bbef10b1.jpg",
1868
+ "table_caption": [],
1869
+ "table_footnote": [],
1870
+ "table_body": "<table><tr><td rowspan=1 colspan=2>SamplerK</td><td rowspan=1 colspan=1>15</td></tr><tr><td rowspan=1 colspan=2>DDSS (linear kernel)GGDM+PRED+TIMEGGDM+PREDGGDM+TIMEGGDM</td><td rowspan=1 colspan=1>24.69 /17.22527.08 /16.4425.73 /17.2728.34 /16.63</td></tr><tr><td rowspan=2 colspan=2>DDSS (cubic kernel)GGDM+PRED+TIMEGGDM+PREDGGDM+TIMEGGDM</td><td rowspan=2 colspan=1>26.52 /16.2927.82/16.326.87 /16.9928.83 /16.32</td></tr><tr></tr></table>",
1871
+ "bbox": [
1872
+ 357,
1873
+ 247,
1874
+ 638,
1875
+ 392
1876
+ ],
1877
+ "page_idx": 14
1878
+ },
1879
+ {
1880
+ "type": "text",
1881
+ "text": "A.4 RESULTS ON LARGER RESOLUTION DATASETS ",
1882
+ "text_level": 1,
1883
+ "bbox": [
1884
+ 174,
1885
+ 469,
1886
+ 535,
1887
+ 483
1888
+ ],
1889
+ "page_idx": 14
1890
+ },
1891
+ {
1892
+ "type": "text",
1893
+ "text": "We include results for LSUN (Yu et al., 2015) bedrooms and churches at the $1 2 8 \\mathrm { x } 1 2 8$ resolution. We trained the models for 400K and 200K steps (respectively), and all other hyperparameters are identical: we use the Adam optimizer with learning rate 0.0003 (linearly warmed up for the first 1000 training steps), batch size 2048, gradient clipping at norms over 1.0, dropout of 0.1, and EMA over the weights with decay rate 0.9999. We train the models using a linear stride of 1000 evenlyspaced timesteps, fixing the log-signal-to-noise-ratio schedule to a cosine function monotonically decreasing from 20 to -20. The ELBO is reweighted with $L _ { \\mathrm { s i m p l e } }$ following Ho et al. (2020), but we additionally reweight each term by $\\mathrm { m a x } ( 1 , \\mathrm { S N R } )$ which we found to be slightly helpful in resulting FID scores (note this is equivalent to minimizing the worst mean squared error between either the $\\scriptstyle { \\mathbf { { \\mathit { x } } } } _ { 0 }$ or $\\epsilon$ ). The UNet employs five down/up-sampling resolutions with $7 6 8 \\times ( 1 , 2 , 4 , 6 , 8 )$ respective channels, 3 ResNet blocks per resolution, and spatial self-attention at the 3 smallest resolutions, i.e., 8, 16, and 32. ",
1894
+ "bbox": [
1895
+ 173,
1896
+ 505,
1897
+ 825,
1898
+ 671
1899
+ ],
1900
+ "page_idx": 14
1901
+ },
1902
+ {
1903
+ "type": "text",
1904
+ "text": "After training the models, we run DDSS using just the GGDM model family for simplicity (i.e., we don’t use the $+ \\mathrm { P R E D }$ and $+ \\mathrm { T I M E }$ we experiment with in the paper) at 5, 10 and 20 evenly-spaced inference steps. DDSS training occurs for 50K steps, using the Adam optimizer with learning rate of 0.0005 and batch size 512, optimizing the linear kernel for the KID loss. We compare against the usual DDPM and $\\mathrm { D D I M } ( \\eta = 0 )$ baselines at the same inference budgets and include the FID scores with all 1000 steps for reference. Results and samples are included below. ",
1905
+ "bbox": [
1906
+ 174,
1907
+ 679,
1908
+ 825,
1909
+ 762
1910
+ ],
1911
+ "page_idx": 14
1912
+ },
1913
+ {
1914
+ "type": "table",
1915
+ "img_path": "images/a035e70f7d1d72942648af82275919d957d2e2e29016a2c9ec711307d6605fd1.jpg",
1916
+ "table_caption": [],
1917
+ "table_footnote": [],
1918
+ "table_body": "<table><tr><td rowspan=1 colspan=1>SamplerK</td><td rowspan=1 colspan=1>5</td><td rowspan=1 colspan=1>10</td><td rowspan=1 colspan=1>20</td><td rowspan=1 colspan=1>1000</td></tr><tr><td rowspan=1 colspan=1>LSUN BedroomDDPMDDIM(n = 0)DDSS (GGDM)</td><td rowspan=1 colspan=1>95.38168.729.15</td><td rowspan=1 colspan=1>44.8456.3311.01</td><td rowspan=1 colspan=1>16.889.5274.817</td><td rowspan=1 colspan=1>2.54711</td></tr><tr><td rowspan=1 colspan=1>LSUN ChurchDDPMDDIM(n = 0)DDSS (GGDM)</td><td rowspan=1 colspan=1>96.67133.130.24</td><td rowspan=1 colspan=1>51.0554.3911.59</td><td rowspan=1 colspan=1>16.5314.966.736</td><td rowspan=1 colspan=1>2.71811</td></tr></table>",
1919
+ "bbox": [
1920
+ 326,
1921
+ 801,
1922
+ 671,
1923
+ 921
1924
+ ],
1925
+ "page_idx": 14
1926
+ },
1927
+ {
1928
+ "type": "image",
1929
+ "img_path": "images/117d2db6ee60f3c709a7640eba901b5649459defc69fac8b0fb239b09f7afe7a.jpg",
1930
+ "image_caption": [
1931
+ "Figure A.2: Non-cherrypicked samples for a DDPM trained on LSUN bedroom $1 2 8 \\mathrm { x } 1 2 8$ , comparing DDPM and $\\mathrm { D D I M } ( \\eta = 0 )$ to our approach. All samples were generated with the same random seeds and a linear stride. For reference, we include DDPM samples using all 1,000 steps (bottom left) and real images (bottom middle). "
1932
+ ],
1933
+ "image_footnote": [],
1934
+ "bbox": [
1935
+ 187,
1936
+ 87,
1937
+ 803,
1938
+ 729
1939
+ ],
1940
+ "page_idx": 15
1941
+ },
1942
+ {
1943
+ "type": "image",
1944
+ "img_path": "images/14ca7c6b13c4879f8aaf148f154440406d5bb69bfc76f588f68a066f71e41f95.jpg",
1945
+ "image_caption": [
1946
+ "Figure A.3: Non-cherrypicked samples for a DDPM trained on LSUN church 128x128, comparing DDPM and $\\mathrm { D D I M } ( \\eta = 0 )$ to our approach. All samples were generated with the same random seeds and a linear stride. For reference, we include DDPM samples using all 1,000 steps (bottom left) and real images (bottom middle). "
1947
+ ],
1948
+ "image_footnote": [],
1949
+ "bbox": [
1950
+ 187,
1951
+ 87,
1952
+ 803,
1953
+ 729
1954
+ ],
1955
+ "page_idx": 16
1956
+ }
1957
+ ]
parse/dev/VFBjuF8HEp/VFBjuF8HEp_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/bVuP3ltATMz/bVuP3ltATMz.md ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/bVuP3ltATMz/bVuP3ltATMz_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/bVuP3ltATMz/bVuP3ltATMz_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/bVuP3ltATMz/bVuP3ltATMz_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/pOEN7dDC0d/pOEN7dDC0d.md ADDED
@@ -0,0 +1,558 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # On the Word Boundaries of Emergent Languages Based on Harris’s Articulation Scheme
2
+
3
+ Anonymous Author(s)
4
+ Affiliation
5
+ Address
6
+ email
7
+
8
+ # Abstract
9
+
10
+ 1 The purpose of this paper is to investigate whether Harris’s articulation scheme
11
+ 2 (HAS) also holds in emergent languages. HAS is thought to be a universal property
12
+ 3 in natural languages that articulatory boundaries can be obtained from statistical
13
+ 4 information of phonems alone, without referring to word meanings. Emergent
14
+ 5 languages are artificial communication protocols that arise between agents in a
15
+ 6 simulated environment and have been attracting attention in recent years. It is
16
+ 7 considerd important to study the structure of emergent languages and the simi
17
+ 8 larity to natural languages. In this paper, we employ HAS as an unsupervised
18
+ 9 word segmentation method and verify whether emergent languages arising from
19
+ 10 signaling games have meaningful segments. Our experiments showed that the
20
+ 11 emergent languages arising from signaling games satisfy some preconditions for
21
+ 12 HAS. However, it was also suggested that the HAS-based segmentation boundaries
22
+ 13 are not necessarily semantically valid.
23
+
24
+ # 14 1 Introduction
25
+
26
+ 15 Communication protocols emerging among artificial agents in a simulated environment are called
27
+ 16 emergent languages [Lazaridou and Baroni, 2020]. It is important to investigate their structure to
28
+ 17 recognize and bridge the gap between natural and emergent languages, as several structural gaps have
29
+ 18 been reported [Kottur et al., 2017, Chaabouni et al., 2019]. For instance, Kottur et al. [2017] pointed
30
+ 19 out that emergent languages are not necessarily compositional. Such gaps are undesirable because
31
+ 20 major motivations in this area are to develop interactive AI [Foerster et al., 2016, Mordatch and
32
+ 21 Abbeel, 2018, Lazaridou et al., 2020] and to simulate the evolution of human language [Kirby, 2001,
33
+ 22 Graesser et al., 2019, Dagan et al., 2021]. Previous work examined whether emergent languages
34
+ 23 have the same properties as natural languages, such as compositionality [e.g., Kottur et al., 2017],
35
+ 24 grammar [van der Wal et al., 2020], entropy minimization [Kharitonov et al., 2020], and Zipf’s law of
36
+ 25 abbreviation (ZLA) [e.g., Chaabouni et al., 2019]. 1 Word segmentation would be another direction to
37
+ 26 understand the structure of emergent languages because natural languages not only have construction
38
+ 27 from word to sentence but also from phoneme to word [Martinet, 1960]. However, previous studies
39
+ 28 have not gone so far as to address word segmentation, as they treat each symbol in emergent messages
40
+ 29 as if it were a “word” [Kottur et al., 2017, van der Wal et al., 2020], or ensure that a whole message
41
+ 30 constructs just one “word” [Chaabouni et al., 2019, Kharitonov et al., 2020].
42
+ 31 The purpose of this paper is to study whether Harris’s articulation scheme (HAS) [Harris, 1955,
43
+ 32 Tanaka-Ishii, 2021] also holds in emergent languages. HAS is a statistical universal in natural
44
+ 33 languages. Its basic idea is that we can obtain word segments from the statistical information of
45
+ 34 phonemes, but without referring to word meanings. 2 HAS can be used for unsupervised word
46
+ 35 segmentation [Tanaka-Ishii, 2005] to allow us to study the structure of emergent languages. In
47
+ 36 addition, it should be promising to apply such unsupervised methods, since word segments and
48
+ 37 meanings are not available beforehand in emergent languages.
49
+ 38 The problem is whether emergent languages have meaningful segments. If not, then it means that we
50
+ 39 find another gap between emergent and natural languages. In this paper, we pose several verifiable
51
+ 40 questions to answer whether their segments are meaningful.
52
+ 41 To simulate the emergence of language, we adopt Lewis’s signaling game [Lewis, 1969]. This
53
+ 42 game involves two agents called sender $S$ and receiver $R$ , and allows only one-way communication
54
+ 43 from $S$ to $R$ . In each play, $S$ obtains an input $i \in \mathcal { Z }$ and converts $i$ into a sequential message
55
+ 44 $m = S ( i ) \in \mathcal { M }$ . Then, $R$ receives $m \in \mathcal { M }$ and predicts the original input. The goal of the game is
56
+ 45 the correct prediction $R ( m ) = i$ . Figure 1 illustrates the signaling game. Here, we consider the set
57
+ 46 $\{ m \in \mathcal { M } \mid m = S ( i ) \} _ { i \in \mathcal { I } }$ as the dataset of an emergent language, to which the HAS-based boundary
58
+ 47 detection [Tanaka-Ishii, 2005] is applicable. The algorithm yields the segments of messages.
59
+ 48 Our experimental results showed that emergent languages arising from signaling games satisfy
60
+ 49 two preconditions for HAS: (i) the conditional entropy (Eq. 2) decreases monotonically and (ii)
61
+ 50 the branching entropy (Eq. 1) repeatedly falls and rises. However, it was also suggested that the
62
+ 51 HAS-based boundaries are not necessarily meaningful. Segments divided by the boundaries may not
63
+ 52 serve as meaning units, while words in natural languages do [Martinet, 1960]. It is left for future
64
+ 53 work to bridge the gap between emergent and natural languages in terms of HAS, by giving rise to
65
+ 54 meaningful word boundaries.
66
+
67
+ ![](images/28ebbd4cfe074135aef10d67a815231894d2067e731cc7fe0d0f5d3b062d35be.jpg)
68
+ Figure 1: Illustration of a signaling game. Section 3.1 gives its formal definition. In each play, a sender agent obtains an input and converts it to a sequential message. A receiver agent receives the messsage and converts it to an output. Each agent is represented as an encoder-decoder model.
69
+
70
+ # 55 2 Harris’s Articulation Scheme
71
+
72
+ 56 In the paper “From phoneme to morpheme” [Harris, 1955], Harris hypothesized that word boundaries
73
+ 57 tend to occur at points where the number of possible successive phonemes reaches a local peak in a
74
+ 58 given context. Harris [1955] exemplifies the utterance “He’s clever” that has the phoneme sequence
75
+ 59 /hiyzclev@r/.3 The number of possible successors after the first phoneme $/ \mathrm { h } I$ is 9: /w,y,i,e,æ,a,@,o,u/.
76
+ 60 Next, the number of possible successors after /hi/ increases to 14. Likewise, the number of possible
77
+ 61 phonemes increases to 29 after /hiy/, stays at 29 after /hiyz/, decreases to 11 after /hiyzk/, decreases
78
+ 62 to 7 after /hiyzkl/, and so on. Peak numbers are found at $/ \mathrm { y } / , / \mathrm { z } /$ , and $/ \mathrm { r } /$ , which divides the phoneme
79
+ 63 sequence into /hiy/+/z/+/klev@r/. Thus, the utterance is divided into “He”, “s”, and “clever”.
80
+ 64 Harris’s hypothesis can be reformulated from an information-theoretic point of view by replacing
81
+ 65 the number of successors with entropy. In the following sections, we review the mathematical
82
+ 66 formulation of the hypothesis as Harris’s articulation scheme (HAS) and the HAS-based boundary
83
+ 67 detection [Tanaka-Ishii, 2005]. HAS does involve statistical information of phonemes but does not
84
+ 68 involve word meanings. This is important because it gives a natural explanation for a well-known
85
+ 69 linguistic concept called double articulation [Martinet, 1960]. Martinet [1960] pointed out that
86
+ 70 languages have two structures: phonemes (irrelevant to meanings) and meaning units (i.e., words and
87
+ 71 morphemes). HAS can construct meaning units without referring to meanings.
88
+
89
+ # 2.1 Mathematical Formulation of Harris’s Hypothesis
90
+
91
+ While Harris [1955] focuses on phonemes for word boundary detection, Tanaka-Ishii [2021] suggests that the hypothesis is also applicable to units other than phonemes. Therefore, in this section, a set
92
+
93
+ 75 of units is called an alphabet $\mathcal { X }$ as a purely mathematical notion that is not restricted to phonemes.
94
+ 76 Tanaka-Ishii [2005] uses characters for the same purpose. Moreover, Frantzi and Ananiadou [1996]
95
+ 77 and Tanaka-Ishii and Ishii [2007] investigate the detection of collocation from words.
96
+ 78 Let $\mathcal { X }$ be an alphabet and $\mathcal { X } ^ { n }$ be the set of all $n$ -grams on $\mathcal { X }$ . We denote by $X _ { i }$ a random variable
97
+ 79 of $\mathcal { X }$ indexed by $i$ , and by $X _ { i : j }$ a random variable sequence from $X _ { i }$ to $X _ { j }$ . The formulation
98
+ 80 by Tanaka-Ishii [2005] involves two kinds of entropy: branching entropy and conditional entropy
99
+ 81 [Cover and Thomas, 2006].4 The branching entropy of a random variable $X _ { n }$ after a sequence
100
+ 82 $s = x _ { 0 } \cdot \cdot \cdot x _ { n - 1 } \in \mathcal { X } ^ { n }$ is defined as:
101
+
102
+ $$
103
+ h ( s ) \equiv { \mathcal { H } } ( X _ { n } \mid X _ { 0 : n - 1 } = s ) = - \sum _ { x \in { \mathcal { X } } } P ( x \mid s ) \log _ { 2 } P ( x \mid s ) ,
104
+ $$
105
+
106
+ 83 where $P ( x \mid s ) = P ( X _ { n } = x \mid X _ { 0 : n - 1 } = s )$ . Intuitively, the branching entropy $h ( s )$ means how
107
+ 84 many elements can occur after $s$ or the uncertainty of the next element after $s$ . In addition to $h ( s )$ ,
108
+ 85 the conditional entropy of a random variable $X _ { n }$ after an $n$ -gram sequence $X _ { 0 : n - 1 }$ is defined as:
109
+
110
+ $$
111
+ H ( n ) \equiv { \mathcal { H } } ( X _ { n } \mid X _ { 0 : n - 1 } ) = - \sum _ { s \in \mathcal { X } ^ { n } } P ( s ) \sum _ { x \in \mathcal { X } } P ( x \mid s ) \log _ { 2 } P ( x \mid s ) ,
112
+ $$
113
+
114
+ 86 where $P ( s ) = P ( X _ { 0 : n - 1 } = s )$ . The conditional entropy $H ( n )$ can be regarded as the mean of
115
+ 87 $h ( s )$ over $n$ -gram sequences $s \in \mathcal { X } ^ { n }$ , since $\begin{array} { r } { H ( n ) = \sum _ { s \in \mathcal { X } ^ { n } } P ( s ) h ( s ) . \ H ( n ) } \end{array}$ is known to decrease
116
+ 88 monotonically in natural languages [Bell et al., 1990]. Thus, for a partial sequence $x _ { 0 : n - 1 } \in \mathcal X ^ { n }$ ,
117
+ 89 $h ( x _ { 0 : n - 2 } ) > \overset { \cdot } { h } ( x _ { 0 : n - 1 } )$ holds on average, although $h ( s )$ repeatedly falls and rises depending on a
118
+ 90 specific $s$ . Based on such properties, Harris’s articulation scheme (HAS) is formulated as:5
119
+
120
+ If there is some partial sequence $x _ { 0 : n - 1 } \in \mathcal { X } ^ { n } \left( n > 1 \right)$ s.t. $h ( x _ { 0 : n - 2 } ) < h ( x _ { 0 : n - 1 } )$ , then $x _ { n }$ is at a boundary.
121
+
122
+ # 91 2.2 Boundary Detection Algorithm Based on Harris’s Articulation Scheme
123
+
124
+ In this section, we introduce the HAS-based boundary detection algorithm [Tanaka-Ishii, 2005]. Let $s = x _ { 0 } \cdot \cdot \cdot x _ { n - 1 } \in \mathcal { X } ^ { n }$ . We denote by $s _ { i : j }$ its partial sequence $x _ { i } \cdots x _ { j }$ . Given $s$ and a parameter threshold, the boundary detection algorithm yields boundaries $\boldsymbol { B }$ .6 It proceeds as follows:
125
+
126
+ 95 1: $i \gets 0$ ; $w \gets 1$ ; $B \gets \{ \}$
127
+ 96 2: while $i < n$ do
128
+ 97 3: Compute $h \big ( s _ { i : i + w - 1 } \big )$
129
+ 98 4: if $w > 1$ and $\begin{array} { r } { \bar { h } ( s _ { i : i + w - 1 } ) - h ( s _ { i : i + w - 2 } ) > } \end{array}$ threshold then
130
+ 99 5: $B B \cup \{ i + w \}$
131
+ 100 6: end if
132
+ 101 7: if $i + w < n - 1$ then
133
+ 102 8: $w w + 1$
134
+ 103 9: else
135
+ 104 10: $i i + 1 ; w 1$
136
+ 105 11: end if
137
+ 106 12: end while
138
+ 107 Since our targets are emergent languages, the outputs of the boundary detection algorithm do not
139
+ 108 necessarily mean articulatory boundaries. Instead, we call them hypothetical boundaries (hypo
140
+ 109 boundaries) and refer to the segments split by hypo-boundaries as hypo-segments. Note that there
141
+ 110 are other similar methods such as Kempe [1999]. We chose Tanaka-Ishii [2005] because it performs
142
+ 111 well not only for English but also for Chinese, which has many one-character words. Emergent
143
+ 112 languages might also have such words. With this algorithm, Tanaka-Ishii and Jin [2008] reported
144
+ 113 F-score $= 8 3 . 6 \%$ for word boundary detection from phonemes in English and F-score $= \hat { 8 3 . 8 \% }$
145
+ 114 for word boundary detection from characters in Chinese. They are considerably high scores for
146
+ 115 unsupervised settings.
147
+ 117 We have to define environments, agent architectures, and optimization methods for language emer
148
+ 118 gence simulations. This paper adopts the framework of Chaabouni et al. [2020]. We define an
149
+ 119 environment in Section 3.1, specify the agent architecture and optimization methods in Section 3.2,
150
+ 120 and also give an explanation of the compositionality of emergent languages in Section 3.3.
151
+
152
+ # 121 3.1 Signaling Game
153
+
154
+ 122 An environment is formulated based on Lewis’s signaling game [Lewis, 1969]. A signaling game $G$
155
+ 123 consists of a quadruple $( \mathcal { T } , \mathcal { M } , S , R )$ , where $\mathcal { T }$ is an input space, $\mathcal { M }$ is a message space, $S : { \mathcal { T } } { \mathcal { M } }$
156
+ 124 is a sender agent, and $R : \mathcal { M } \mathcal { T }$ is a receiver agent. The goal is the correct reconstruction
157
+ 125 $i = R ( S ( i ) )$ for all $i \in \mathcal { Z }$ . While the input space $\mathcal { T }$ and the message space $\mathcal { M }$ are fixed, the agents
158
+ 126 $S , R$ are trained for the goal. An illustration of a signaling game is shown in Figure 1. Following
159
+ 127 Chaabouni et al. [2020], we define $\mathcal { T }$ as an attribute-value set $\mathcal { D } _ { n _ { v a l } } ^ { n _ { a t t } }$ (defined below) and $\mathcal { M }$ as a set
160
+ 128 of discrete sequences of fixed length $k$ over a finite alphabet $\mathcal { A }$ :
161
+
162
+ $$
163
+ { \mathcal { T } } \equiv { \mathcal { D } } _ { n _ { v a l } } ^ { n _ { a t t } } , { \mathcal { M } } \equiv { \mathcal { A } } ^ { k } = \{ a _ { 1 } \cdot \cdot \cdot a _ { k } \mid a _ { j } \in { \mathcal { A } } \} .
164
+ $$
165
+
166
+ 129 Attribute-Value Set Let $n _ { a t t } , n _ { v a l }$ be positive integers called the number of attributes and the number of values. Then, an attribute-value set 130 $\mathcal { D } _ { n _ { v a l } } ^ { n _ { a t t } }$ is the set of ordered tuples defined as follows:
167
+
168
+ $$
169
+ \mathcal { D } _ { n _ { v a l } } ^ { n _ { a t t } } = \left\{ \left( v _ { 1 } , \ldots , v _ { n _ { a t t } } \right) \ : | \ : v _ { j } \in \left\{ 1 , \ldots , n _ { v a l } \right\} \right\} .
170
+ $$
171
+
172
+ 131 This is an abstraction of an attribute-value object paradigm [e.g., Kottur et al., 2017] by Chaabouni 32 et al. [2020]. Intuitively, each index $j$ of a vector $( v _ { 1 } , \ldots v _ { j } , \ldots , v _ { n _ { a t t } } )$ is an attribute (e.g., color), while each 33 $v _ { j }$ is an attribute value (e.g., blue, green, red, and purple).7
173
+
174
+ # 3.2 Architecture and Optimization
175
+
176
+ We follow Chaabouni et al. [2020] as well for the architecture and optimization method.
177
+
178
+ Architecture Each agent is represented as an encoder-decoder model (Figure 1): the sender decoder and the receiver encoder are based on single-layer GRUs [Cho et al., 2014], while the sender encoder and the receiver decoder are linear functions. Each element $i \in \mathcal { D } _ { n _ { v a l } } ^ { n _ { a t t } }$ has to be vectorized so that it can be fed into or output from the linear functions. Formally, each $\ddot { i } = ( v _ { 1 } , \dots , v _ { n _ { a t t } } )$ is converted into the $n _ { a t t } \times n _ { v a l }$ -dimensional vector which is the concatenation of $n _ { a t t }$ one-hot representations of $v _ { j }$ . During training, the sender samples messages probabilistically. During the test time, it samples them greedily so that it serves as a deterministic function. Similarly, the receiver’s output layer, followed by the Softmax, determines $n _ { a t t }$ categorical distributions over values $\{ 1 , \dots , n _ { v a l } \}$ during training. During the test time, $n _ { a t t }$ values are greedily sampled from the distributions.
179
+
180
+ Optimization The agents are optimized with the stochastic computation graph [Schulman et al., 2015] that is a combination of REINFORCE [Williams, 1992] and standard backpropagation. The sender is optimized with the former, while the receiver is optimized with the latter.
181
+
182
+ # 3.3 Compositionality of Emergent Languages
183
+
184
+ An attribute-value set $\mathcal { D } _ { n _ { v a l } } ^ { n _ { a t t } }$ by Chaabouni et al. [2020] is an extension of an attribute-value setting [Kottur et al., 2017] introduced to measure the compositionality of emergent languages. While the concept of compositionality varies from domain to domain, researchers in this area typically regard it as the disentanglement of representation learning. Kottur et al. [2017], for instance, set up an environment where objects have two attributes: color and shape, each of which has several possible values (e.g., blue, red, ... for color and circle, star, ... for shape). They assumed that if a language is sufficiently compositional, each message would be a composition of symbols denoting the color value and shape value separately. This concept has been the basis for subsequent studies [Li and Bowling, 2019, Andreas, 2019, Ren et al., 2020, Chaabouni et al., 2020].
185
+
186
+ 158 Topographic Similarity Topographic Similarity (TopSim) [Brighton and Kirby, 2006, Lazaridou
187
+ 159 et al., 2018] is the de facto compositionality measure in emergent communication literature. Suppose
188
+ 160 we have distance functions $d _ { \mathcal { T } } , d _ { \mathcal { M } }$ for spaces $\mathcal { T } , \mathcal { M }$ , respectively. TopSim is defined as the Spearman
189
+ 161 correlation between distances $d _ { \ Z } ( i _ { 1 } , i _ { 2 } )$ and $d _ { \mathcal { M } } ( S ( i _ { 1 } ) , S ( i _ { 2 } ) )$ for all $i _ { 1 } , i _ { 2 } \in \mathcal { T }$ s.t. $i _ { 1 } \neq i _ { 2 }$ . This
190
+ 162 definition reflects an intuition that compositional languages should map similar (resp. dissimilar)
191
+ 163 inputs to similar (resp. dissimilar) messages. Following previous work using attribute-value objects
192
+ 164 [e.g., Chaabouni et al., 2020], we define $d _ { \mathcal { T } }$ as the Hamming distance and $d _ { \mathcal { M } }$ as the edit distance.
193
+ 165 Because this paper is about message segmentation, we can consider two types of edit distance. One
194
+ 166 is the “character” edit distance that regards elements $a \in { \mathcal { A } }$ as symbols. The other is the “word”
195
+ 167 edit distance that regards hypo-segments as symbols. Let us call the former $C$ -TopSim and the latter
196
+ 168 W-TopSim.
197
+
198
+ # 169 4 Problem Definition
199
+
200
+ 170 The purpose of this paper is to study whether Harris’s articulation
201
+ 171 scheme (HAS) also holds in emergent languages. However, this
202
+ 172 question is too vague to answer. We first divide it into the following:
203
+
204
+ Q1. Does the conditional entropy $H$ decrease monotonically? Q2. Does the branching entropy $h$ repeatedly fall and rise? Q3. Do hypo-boundaries represent meaningful boundaries?
205
+
206
+ 176 Q3 is the same as the original question, except that Q3 is slightly
207
+ 177 more formal. However, we have to answer Q1 and Q2 beforehand,
208
+ 178 because HAS implicitly takes it for granted that $H$ decreases mono
209
+ 179 tonically and $h$ jitters. Although both Q1 and Q2 generally hold in
210
+ 180 natural languages, neither of them is trivial in emergent languages.
211
+ 181 Figure 2 illustrates Q1, Q2, and Q3.
212
+ 182 It is straightforward to answer Q1 and Q2 as we just need to calculate
213
+ 183 $H$ and $h$ . In contrast, Q3 is still vague to answer, since we do not
214
+ 184 have prior knowledge about the boundaries of emergent languages and do not even know if they have
215
+ 185 such boundaries. To mitigate it, we posit the following necessary conditions for Q3. Let $G$ be a game
216
+ 186 $( \mathcal { D } _ { n _ { v a l } } ^ { n _ { a t t } } , \mathcal { A } ^ { k } , S , R )$ . If the answer to Q3 is yes, then:
217
+
218
+ ![](images/543e883e362520a9b619f1f164300dff04cf01743c92d3f984c7743efc746dcb.jpg)
219
+ Q3:Are They Meaningful? Figure 2: Illustration of questions.
220
+
221
+ C1. the mean number of hypo-boundaries per message should increase as $n _ { a t t }$ increases, C2. the size of the vocabulary (set of all hypo-segments) should increase as $n _ { v a l }$ increases, C3. W-TopSim should be higher than C-TopSim.
222
+
223
+ 190 About C1 and C2 An attribute-value set $\mathcal { D } _ { n _ { v a l } } ^ { n _ { a t t } }$ was originally introduced to measure composi
224
+ 191 tionality. Compositionality, in this context, means how symbols in a message separately denote the
225
+ 192 components of meaning. In our case, each segment, or word, can be thought of as a certain unit
226
+ 193 that denotes the attribute values, so that the number of words in a message should increase as the
227
+ 194 corresponding attributes increase. Therefore, if the answer to Q3 is yes, then C1 should be valid.
228
+ 195 Likewise, the size of the vocabulary should be larger in proportion to the number of values $n _ { v a l }$ ,
229
+ 196 motivating C2. Here, we mean by vocabulary the set of all hypo-segments. Note that the message
230
+ 197 length is fixed, because otherwise the number of hypo-segments would be subject to variable message
231
+ 198 length as well as $( n _ { a t t } , n _ { v a l } )$ , and the implication of results would be obscure.
232
+
233
+ About C3 C3 comes from the analogy of the linguistic concept called double articulation [Martinet, 1960]. In natural languages, meanings are quite arbitrarily related to the phonemes that construct them. In contrast, the meanings are less arbitrarily related to the words. The phonemes do not denote meaning units but the words do. In our case, for example, the attribute-value object (RED, CIRCLE) seems less compositionally related to the character sequence “r,e,d,c,i,r,c,l,e”, while it seems more compositionally related to the word sequence “red,circle.” This intuition motivates C3.
234
+
235
+ 205 Based on conditions C1, C2, and C3, Q3 is restated as follows: (Q3-1) Does the mean number of
236
+ 206 hypo-boundaries per message increase as $n _ { a t t }$ increases? (Q3-2) Does the vocabulary size increase
237
+ 207 as $n _ { v a l }$ increases? (Q3-3) Is W-TopSim higher than C-TopSim?
238
+
239
+ # 5 Experimental Setup
240
+
241
+ # 5.1 Parameter Settings
242
+
243
+ Input Space $n _ { a t t }$ and $n _ { v a l }$ have to be varied to answer Q3-1, Q3-2, and Q3-3, while the sizes of the input spaces $| \mathcal { I } | = ( n _ { v a l } ) ^ { n _ { a t t } }$ must be equal to each other to balance the complexities of games. Therefore, we fix $| \mathcal { T } | = 4 0 9 6$ and vary $( n _ { a t t } , n _ { v a l } )$ as follows:
244
+
245
+ $$
246
+ ( n _ { a t t } , n _ { v a l } ) \in \{ ( 1 , 4 0 9 6 ) , ( 2 , 6 4 ) , ( 3 , 6 ) , ( 4 , 8 ) , ( 6 , 4 ) , ( 1 2 , 2 ) \} .
247
+ $$
248
+
249
+ 213 Message Space The message length $k$ and alphabet $\mathcal { A }$ have to be determined for a message space
250
+ 214 ${ \mathcal { M } } = { \overset { \sim } { A } } ^ { k }$ . We set $k = 3 2$ , similarly to previous work on $Z L A$ [Chaabouni et al., 2019, Rita et al.,
251
+ 215 2020, Ueda and Washio, 2021] that regards each $a \in { \mathcal { A } }$ as a “character.” Note that $k = 3 2$ is set much
252
+ 216 longer than those of previous work on compositionality [Chaabouni et al., 2020, Ren et al., 2020, Li
253
+ 217 and Bowling, 2019] that typically adopts $k \equiv n _ { a t t }$ as if each symbol $a \in { \mathcal { A } }$ were a “word.” We set
254
+ 218 $\mathcal { A } = \{ 1 , 2 , \ldots , 8 \}$ . Its size $| { \cal A } |$ should be as small as possible to avoid the problem of data sparsity
255
+ 219 when applying boundary detection, and to ensure that each symbol $a \in { \mathcal { A } }$ serves as a “character.”
256
+ 220 In preliminary experiments, we tested $| \mathcal { A } | \in \{ 2 , 4 , 8 , 1 6 \}$ and found that learning is stable when
257
+ 221 $| { \bar { \mathcal { A } } } | \geq 8$ .
258
+ 222 Architecture and Optimization We follow Chaabouni et al. [2020] for agent arthitectures and
259
+ 223 optmization methods. The hidden size of GRU [Cho et al., 2014] is set to 500, following Chaabouni
260
+ 224 et al. [2020]. All data from an input space $\mathcal { I } = \mathcal { D } _ { n _ { v a l } } ^ { n _ { a t t } }$ are used for training. This dataset is upsampled
261
+ 225 to 100 times following the default setting of the code of Chaabouni et al. [2020]. The learning rate is
262
+ 226 set to 0.001, which also follows Chaabouni et al. [2020]. Based on our preliminary experiments to
263
+ 227 explore stable learning, a sender $S$ and a receiver $R$ are trained for 200 epochs and the coefficient of
264
+ 228 the entropy regularizer is set to 0.01.
265
+
266
+ Boundary Detection Algorithm The boundary detection algorithm involves a parameter threshold. Since the appropriate value of threshold is unclear, we vary threshold as follows:
267
+
268
+ $$
269
+ t h r e s h o l d \in \{ 0 , 0 . 2 5 , 0 . 5 , 0 . 7 5 , 1 , 1 . 2 5 , 1 . 5 , 1 . 7 5 , 2 \} .
270
+ $$
271
+
272
+ # 31 5.2 Implementation, Number of Trials, and Language Validity
273
+
274
+ We implemented the code for training agents using the EGG toolkit [Kharitonov et al., 2019].8 EGG also includes the implementation code of Chaabouni et al. [2020], which we largely refer to. They are published under the MIT license. For now, our code is available on Anonymous GitHub.9 For each $( n _ { a t t } , n _ { v a l } )$ configuration, agents are trained 8 times with different random seeds. Each run took a few hours with a single GPU.10 In the following sections, an emergent language with a communication success rate of more than $90 \%$ is called a successful language.
275
+
276
+ # 6 Results
277
+
278
+ As a result of training agents, we obtained 7, 8, 6, 8, 7, and 6 successful languages out of 8 runs for configurations $( n _ { a t t } , \bar { n } _ { v a l } ) = ( 1 , 4 0 9 6 )$ , (2, 64), (3, 16), $( 4 , 8 )$ , $( 6 , 4 )$ , and $( 1 2 , 2 )$ , respectively.
279
+
280
+ # 6.1 Conditional Entropy Monotonically Decreases
281
+
282
+ To verify Q1, we show the conditional entropy $H ( n )$ (Eq. 2) in Figure 3. In Figure 3, the conditional entropies of the successful languages (solid red lines) decrease monotonically. This confirms Q1 in successful languages. Interestingly, the conditional entropies of emergent languages derived from untrained senders do not necessarily decrease, shown as dashed blue lines in Figure 3.11 The monotonic decrease in conditional entropy emerges after training agents.
283
+
284
+ ![](images/ee6db7b4fef5d383c1245c9afc7fff843e615985e0866f249f1afd85d540eff8.jpg)
285
+ Figure 3: Conditional entropy $H ( n )$ . Dashed blue lines represent $H ( n )$ of languages from untrained agents that finally learned successful languages, while solid red lines represent $H ( n )$ of successful languages.
286
+
287
+ ![](images/85a714388a0f655501234aacc7a619167f4889df8dafde311d30fcb8b4a68a2d.jpg)
288
+ Figure 4: Example transition sequences of the branching entropy $h$ in a message $^ { \dots } 3 , 8 , 4 , . . . , 4 , 4 , 4 ^ { , , }$ in a successful language for $\begin{array} { r l } { ( n _ { a t t } , n _ { v a l } ) } & { { } = } \end{array}$ (2, 64).
289
+
290
+ # 47 6.2 Branching Entropy Repeatedly Falls and Rises
291
+
292
+ Next, to answer Q2, we computed the branching entropy $h ( s )$ (Eq. 1) of the successful languages and applied boundary detection. As an example, we show a few actual transitions of $h ( s )$ in Figure 4, in which y-axis represents the value of $h ( s )$ and $\mathbf { X }$ -axis represents a message $^ { \dots } 3 , 8 , 4 , . . . , 4 , 4 , 4 ^ { , , }$ . The message is randomly sampled from a successful language when $( n _ { a t t } , n _ { v a l } ) \bar { = } ( 2 , 6 4 )$ . The boundary detection algorithm with threshold $= 1$ yields three hypo-boundaries that are represented as dashed black lines in Figure 4. Blue, yellow and green lines with triangle markers represent the transitions of $h ( s )$ that yield hypo-boundaries. Note that the $( i + 1 )$ -th transition of $h ( s )$ does not necessarily start from the $i$ -th hypo-boundary, due to the definition of the algorithm. For instance, the second transition overlaps the first hypo-boundary. While the conditional entropy decreases monotonically as shown in Figure 3, the branching entropy repeatedly falls and rises in Figure 4. Moreover, we show the mean number of hypo-boundaries per message in Figure 5. Figure 5 indicates that for any $( n _ { a t t } , n _ { v a l } )$ configuration, there are hypo-boundaries if threshold $< 2$ , i.e., the brancing entropy repeatedly falls and rises. These results validate Q2.
293
+
294
+ # 6.3 Hypo-Boundaries May Not Be Meaningful Boundaries
295
+
296
+ Next, we investigate whether Q3-1, Q3-2, and Q3-3 hold in successful languages. The results in the following sections falsify all of them. Thus, Q3 may not be true: hypo-boundaries may not be meaningful boundaries.
297
+
298
+ Mean Number of Hypo-Boundaries per Message See Figure 5 again. The figure shows that the mean number of hypo-boundaries per message does not increase as $n _ { a t t }$ increases. It does not decrease, either. This result falsifies Q3-1. Even when $n _ { a t t } = 1$ , there are as many hypo-boundaries as other configurations.
299
+
300
+ Vocabulary Size Figure 6 shows the mean vocabulary sizes for each $( n _ { a t t } , n _ { v a l } )$ . The vocabulary size does not increase as $n _ { v a l }$ increases, which falsifies Q3-2. However, focusing on $( n _ { a t t } , n _ { v a l } ) \in$ $\{ ( 2 , 6 4 ) , ( 3 , 1 6 ) , ( 4 , 8 ) , ( 6 , 4 ) \}$ and $0 . 2 5 \leq t h r e s h o l d \leq 1$ , there is a weak tendency to support C2. It suggests that hypo-segments are not completely meaningless either.
301
+
302
+ 273 C-TopSim vs W-TopSim Figure 7 shows C-Topsim and W-Topsim for each $( n _ { a t t } , n _ { v a l } )$ and
303
+ 274 threshold.12 Note that C-TopSim is TopSim with “character” edit distance and W-TopSim is TopSim
304
+ 275 with “word” edit distance. In Figure 7, threshold $: = - \infty$ corresponds to C-TopSim, while the others
305
+ 276 correspond to W-TopSim. 13 Our assumption in Q3-3 was C-TopSim $< \mathrm { W }$ -TopSim. On the contrary,
306
+ 277 Figure 7 shows a clear tendency for C-TopSim $>$ W-TopSim, which falsifies Q3-3. Hypo-boundaries
307
+ 278 may not be meaningful. However, they may not be completely meaningless, either. This is because the
308
+ 279 hypo-boundary-based W-TopSim is higher than the random-boundary-based W-TopSim in Figure 8.
309
+ 280 Here, we mean by random boundaries the boundaries chosen at random in the same number as
310
+ 281 hypo-boundaries in each message. Other $( n _ { a t t } , n _ { v a l } )$ configurations show similar tendencies (see
311
+ 282 Appendix B).
312
+
313
+ ![](images/249e134d2454044c17e0e7da346a9ed8984c7174642d559d863d29fd66523318.jpg)
314
+ Figure 5: Mean number of hypo-boundaries per message in successful languages. threshold varies according to Eq. 7. Each data point is averaged over random seeds and shaded regions represent one standard error of mean (SEM).
315
+
316
+ ![](images/ba31b77f373c46d140cc40fae8cf35aa4d23016309d3c09c44901a35f1d80a78.jpg)
317
+ Figure 6: Vocabulary size in successful langauges. threshold varies according to Eq. 7. Each data point is averaged over random seeds and shaded regions represent one SEM.
318
+
319
+ ![](images/4de6e37da865892a2f6d3da4fce4ec2bfce406f77f3f6782dac273754a94f6fe.jpg)
320
+ Figure 7: C-TopSim and W-TopSim in successful languages. threshold $= - \infty$ corresponds to $\mathrm { C } \mathrm { - }$ TopSim, while other threshold correspond to WTopSim. Each data point is averaged over random seeds and shaded regions represent one SEM.
321
+
322
+ ![](images/4208bf277ad61eafa64d1415bc53cdc7f4d932805435b576bf35d0bf1b1f2052.jpg)
323
+ Figure 8: hypo-boundary-based W-TopSim compared to random-boundary-based W-TopSim in successful languages for $( n _ { a t t } , n _ { v a l } ) = ( 2 , 6 4 )$ . Each data point is averaged over random seeds and shaded regions represent one SEM.
324
+
325
+ # 6.4 Further Investigation: Word Length and Word Frequency
326
+
327
+ The results so far are related to compositionality of emergent languages [e.g., Kottur et al., 2017]. In this section, we further associate our results with previous discussions on Zipf’s law of abbreviation (ZLA) in emergent languages [Chaabouni et al., 2019, Rita et al., 2020, Ueda and Washio, 2021]. ZLA is known as a statistical property in natural languages that the more frequently a word is used,
328
+
329
+ 288 the shorter it is [Zipf, 1935]. By considering hypo-segments as “words,” we can check whether
330
+ 289 hypo-segments follow ZLA. Figure 9 shows the hypo-segment lengths sorted by frequency rank for
331
+ 290 $( \ddot { n _ { a t t } } , \bar { n _ { v a l } } ) = ( 1 , 4 0 9 6 )$ .14 If hypo-segments follow ZLA ideally, they should show a monotonic
332
+ 291 increase. The distribution of the lengths of the hypo-segments shows a clear ZLA-like tendency for
333
+ 292 threshold $\in \{ 0 , 0 . 5 \}$ , although the tendencies are less clear for the other threshold.15 It means that
334
+ 293 hypo-segments follow ZLA with an appropriate threshold value. Other $( n _ { a t t } , n _ { v a l } )$ configurations
335
+ 294 show similar tendencies (see Appendix C).
336
+
337
+ # 295 7 Discussion
338
+
339
+ In Section 6.1, we showed that the conditional entropy $H ( n )$ decreases monotonically in emergent languages, confirming Q1. In Section 6.2, we demonstrated that the branching entropy $h ( s )$ repeatedly falls and rises in emergent languages, which confirms Q2. It is an intriguing result, considering the discussions of Kharitonov et al. [2020], who showed that the entropy decreases to the minimum for successful communication if the message length $k = 1$ . In contrast, our results suggest that the (branching) entropy does not simply fall to the minimum when the message length $k$ is longer. However, in Section 6.3, our results indicate that the hypo-boundaries may not be meaningful since Q3-1, Q3-2, and Q3-3 were falsified.
340
+
341
+ ![](images/42c0f8bdebb211ba6d62d3cf8b9198a89d2f62e99463fb41d4b0065427d67a66.jpg)
342
+ Figure 9: Hypo-segment lengths sorted by frequency rank for $( n _ { a t t } , n _ { v a l } ) \stackrel { - } { = } ( 1 , 4 0 9 6 )$ . Each data point is averaged over random seeds and shaded regions represent one SEM.
343
+
344
+ 312 Nevertheless, hypo-boundaries may not be completely meaningless either. This is because the
345
+ 313 hypo-boundary-based W-TopSim is higher than the random-boundary-based W-TopSim. It suggests
346
+ 314 that HAS-based boundary detection worked to some extent. In addition, the hypo-segments show
347
+ 315 ZLA-like tendencies with certain threshold values. This is a suggestive result because we neither
348
+ 316 imposed a length penalty on messages [Chaabouni et al., 2020], modeled the laziness/impatience of
349
+ 317 agents [Rita et al., 2020], nor modeled short-term memories [Ueda and Washio, 2021]. Of course, it
350
+ 318 is important to note that it may be just an artifact, analogous to the fact that even a monkey typing
351
+ 319 sequence divided by the “white space” follows ZLA [Miller, 1957].
352
+ 320 This paper showed that there is a gap between emergent and natural languages in terms of word
353
+ 321 segmentation. There are some potential methods to bridge the gap. For example, several methods
354
+ 322 have been proposed to facilitate the compositionality of emergent languages, such as iterated learning
355
+ 323 [Ren et al., 2020], the ease-of-teaching paradigm [Li and Bowling, 2019], and concept game [Mu and
356
+ 324 Goodman, 2021]. The regularizations for ZLA mentioned above might also help for this purpose.
357
+ 325 These are left for future work.
358
+
359
+ # 26 8 Conclusion
360
+
361
+ In this paper, we investigated whether Harris’s articulation scheme (HAS) also holds in emergent languages. Emergent languages are artificial communication protocols emerging between agents, while HAS is a statistical universal in natural languages. HAS can be used for unsupervised word segmentation. Our experimental results suggest that although emergent languages satisfy some prerequisites for HAS, HAS-based word boundaries may not be meaningful. Our contributions are (1) to focus on the word segmentation of emergent languages, (2) to pose verifiable questions to answer whether emergent languages have meaningful segments, and (3) to show another gap between emergent and natural languages. It is left for future work to bridge the gap between emergent and natural languages in terms of HAS.
362
+
363
+ # References
364
+
365
+ Jacob Andreas. Measuring compositionality in representation learning. In 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenReview.net, 2019. URL https://openreview.net/forum?id=HJz05o0qK7.
366
+
367
+ Timothy C. Bell, John G. Cleary, and Ian H. Witten. Text Compression. Prentice-Hall, Inc., 1990.
368
+
369
+ Diane Bouchacourt and Marco Baroni. How agents see things: On visual representations in an emergent language game. In Ellen Riloff, David Chiang, Julia Hockenmaier, and Jun’ichi Tsujii, editors, Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, Brussels, Belgium, October 31 - November 4, 2018, pages 981–985. Association for Computational Linguistics, 2018. URL https://doi.org/10.18653/v1/d18-1119.
370
+
371
+ 46 Henry Brighton and Simon Kirby. Understanding linguistic evolution by visualizing the emergence
372
+ 47 of topographic mappings. Artif. Life, 12(2):229–242, 2006. URL https://doi.org/10.1162/
373
+ 48 artl.2006.12.2.229.
374
+ 349 Rahma Chaabouni, Eugene Kharitonov, Emmanuel Dupoux, and Marco Baroni. Anti-efficient
375
+ 350 encoding in emergent communication. In Hanna M. Wallach, Hugo Larochelle, Alina
376
+ 351 Beygelzimer, Florence d’Alché-Buc, Emily B. Fox, and Roman Garnett, editors, Advances
377
+ 352 in Neural Information Processing Systems 32: Annual Conference on Neural Information
378
+ 353 Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada,
379
+ 354 pages 6290–6300, 2019. URL https://proceedings.neurips.cc/paper/2019/hash/
380
+ 355 31ca0ca71184bbdb3de7b20a51e88e90-Abstract.html.
381
+ 356 Rahma Chaabouni, Eugene Kharitonov, Diane Bouchacourt, Emmanuel Dupoux, and Marco Baroni.
382
+ 357 Compositionality and generalization in emergent languages. In Dan Jurafsky, Joyce Chai, Natalie
383
+ 358 Schluter, and Joel R. Tetreault, editors, Proceedings of the 58th Annual Meeting of the Association
384
+ 359 for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 4427–4442. Association
385
+ 360 for Computational Linguistics, 2020. URL https://doi.org/10.18653/v1/2020.acl-main.
386
+ 361 407.
387
+ 362 Kyunghyun Cho, Bart van Merrienboer, Çaglar Gülçehre, Dzmitry Bahdanau, Fethi Bougares, Holger
388
+ 363 Schwenk, and Yoshua Bengio. Learning phrase representations using RNN encoder-decoder for
389
+ 364 statistical machine translation. In Alessandro Moschitti, Bo Pang, and Walter Daelemans, editors,
390
+ 365 Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing,
391
+ 366 EMNLP 2014, October 25-29, 2014, Doha, Qatar, A meeting of SIGDAT, a Special Interest Group
392
+ 367 of the ACL, pages 1724–1734. ACL, 2014. URL https://doi.org/10.3115/v1/d14-1179.
393
+ 368 Thomas M. Cover and Joy A. Thomas. Elements of Information Theory (Wiley Series in Telecommu
394
+ 369 nications and Signal Processing). Wiley-Interscience, 2006.
395
+ 370 Gautier Dagan, Dieuwke Hupkes, and Elia Bruni. Co-evolution of language and agents in referential
396
+ 371 games. In Paola Merlo, Jörg Tiedemann, and Reut Tsarfaty, editors, Proceedings of the 16th
397
+ 372 Conference of the European Chapter of the Association for Computational Linguistics: Main
398
+ 373 Volume, EACL 2021, Online, April 19 - 23, 2021, pages 2993–3004. Association for Computational
399
+ 374 Linguistics, 2021. URL https://aclanthology.org/2021.eacl-main.260/.
400
+ 375 Jakob N. Foerster, Yannis M. Assael, Nando de Freitas, and Shimon Whiteson. Learning to com
401
+ 376 municate with deep multi-agent reinforcement learning. In Daniel D. Lee, Masashi Sugiyama,
402
+ 377 Ulrike von Luxburg, Isabelle Guyon, and Roman Garnett, editors, Advances in Neural Information
403
+ 378 Processing Systems 29: Annual Conference on Neural Information Processing Systems 2016,
404
+ 379 December 5-10, 2016, Barcelona, Spain, pages 2137–2145, 2016. URL https://proceedings.
405
+ 380 neurips.cc/paper/2016/hash/c7635bfd99248a2cdef8249ef7bfbef4-Abstract.html.
406
+ 381 Katerina T. Frantzi and Sophia Ananiadou. Extracting nested collocations. In 16th International
407
+ 382 Conference on Computational Linguistics, Proceedings of the Conference, COLING 1996, Center
408
+ 383 for Sprogteknologi, Copenhagen, Denmark, August 5-9, 1996, pages 41–46, 1996. URL https:
409
+ 384 //aclanthology.org/C96-1009/.
410
+ 385 Laura Graesser, Kyunghyun Cho, and Douwe Kiela. Emergent linguistic phenomena in multi-agent
411
+ 386 communication games. In Kentaro Inui, Jing Jiang, Vincent $\mathrm { N g }$ , and Xiaojun Wan, editors,
412
+ 387 Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing
413
+ 388 and the 9th International Joint Conference on Natural Language Processing, EMNLP-IJCNLP
414
+ 389 2019, Hong Kong, China, November 3-7, 2019, pages 3698–3708. Association for Computational
415
+ 390 Linguistics, 2019. URL https://doi.org/10.18653/v1/D19-1384.
416
+ 391 Zellig S. Harris. Distributional structure. WORD, 10(23):146–162, 1954.
417
+ 392 Zellig S. Harris. From phoneme to morpheme. Language, 31(2):190–222, 1955. URL http:
418
+ 393 //www.jstor.org/stable/411036.
419
+ 394 André Kempe. Experiments in unsupervised entropy-based corpus segmentation. In Miles Osborne
420
+ 395 and Erik F. Tjong Kim Sang, editors, Proceedings of the 1999 Workshop on Computational Natural
421
+ 396 Language Learning, CoNLL-99, Held in cooperation with EACL’99, Bergen, Norway, June 12,
422
+ 397 1999, pages 7–13. ACL, 1999. URL https://aclanthology.org/W99-0702/.
423
+ 398 Eugene Kharitonov, Rahma Chaabouni, Diane Bouchacourt, and Marco Baroni. EGG: a toolkit for
424
+ 399 research on emergence of language in games. In Sebastian Padó and Ruihong Huang, editors,
425
+ 400 Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and
426
+ 401 the 9th International Joint Conference on Natural Language Processing, EMNLP-IJCNLP 2019,
427
+ 402 Hong Kong, China, November 3-7, 2019 - System Demonstrations, pages 55–60. Association for
428
+ 403 Computational Linguistics, 2019. URL https://doi.org/10.18653/v1/D19-3010.
429
+ 404 Eugene Kharitonov, Rahma Chaabouni, Diane Bouchacourt, and Marco Baroni. Entropy minimization
430
+ 405 in emergent languages. In Proceedings of the 37th International Conference on Machine Learning,
431
+ 406 ICML 2020, 13-18 July 2020, Virtual Event, volume 119 of Proceedings of Machine Learning
432
+ 407 Research, pages 5220–5230. PMLR, 2020. URL http://proceedings.mlr.press/v119/
433
+ 408 kharitonov20a.html.
434
+ 409 Simon Kirby. Spontaneous evolution of linguistic structure-an iterated learning model of the emer
435
+ 410 gence of regularity and irregularity. IEEE Trans. Evol. Comput., 5(2):102–110, 2001. URL
436
+ 411 https://doi.org/10.1109/4235.918430.
437
+ 412 Satwik Kottur, José M. F. Moura, Stefan Lee, and Dhruv Batra. Natural language does not emerge
438
+ 413 ’naturally’ in multi-agent dialog. In Martha Palmer, Rebecca Hwa, and Sebastian Riedel, editors,
439
+ 414 Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing,
440
+ 415 EMNLP 2017, Copenhagen, Denmark, September 9-11, 2017, pages 2962–2967. Association for
441
+ 416 Computational Linguistics, 2017. URL https://doi.org/10.18653/v1/d17-1321.
442
+ 417 Angeliki Lazaridou and Marco Baroni. Emergent multi-agent communication in the deep learning
443
+ 418 era. CoRR, abs/2006.02419, 2020. URL https://arxiv.org/abs/2006.02419.
444
+ 419 Angeliki Lazaridou, Karl Moritz Hermann, Karl Tuyls, and Stephen Clark. Emergence of linguistic
445
+ 420 communication from referential games with symbolic and pixel input. In 6th International
446
+ 421 Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada, April 30 - May 3,
447
+ 422 2018, Conference Track Proceedings. OpenReview.net, 2018. URL https://openreview.net/
448
+ 423 forum?id=HJGv1Z-AW.
449
+ 424 Angeliki Lazaridou, Anna Potapenko, and Olivier Tieleman. Multi-agent communication meets
450
+ 425 natural language: Synergies between functional and structural language learning. In Dan Jurafsky,
451
+ 426 Joyce Chai, Natalie Schluter, and Joel R. Tetreault, editors, Proceedings of the 58th Annual Meeting
452
+ 427 of the Association for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 7663–
453
+ 428 7674. Association for Computational Linguistics, 2020. URL https://doi.org/10.18653/
454
+ 429 v1/2020.acl-main.685.
455
+ 430 David K. Lewis. Convention: A Philosophical Study. Wiley-Blackwell, 1969.
456
+ 431 Fushan Li and Michael Bowling. Ease-of-teaching and language structure from emergent commu
457
+ 432 nication. In Hanna M. Wallach, Hugo Larochelle, Alina Beygelzimer, Florence d’Alché-Buc,
458
+ 433 Emily B. Fox, and Roman Garnett, editors, Advances in Neural Information Processing Systems
459
+ 434 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December
460
+ 435 8-14, 2019, Vancouver, BC, Canada, pages 15825–15835, 2019. URL https://proceedings.
461
+ 436 neurips.cc/paper/2019/hash/b0cf188d74589db9b23d5d277238a929-Abstract.html.
462
+ 437 Ryan Lowe, Jakob N. Foerster, Y-Lan Boureau, Joelle Pineau, and Yann N. Dauphin. On the pitfalls
463
+ 438 of measuring emergent communication. In Edith Elkind, Manuela Veloso, Noa Agmon, and
464
+ 439 Matthew E. Taylor, editors, Proceedings of the 18th International Conference on Autonomous
465
+ 440 Agents and MultiAgent Systems, AAMAS ’19, Montreal, QC, Canada, May 13-17, 2019, pages
466
+ 441 693–701. International Foundation for Autonomous Agents and Multiagent Systems, 2019. URL
467
+ 442 http://dl.acm.org/citation.cfm?id $\equiv$ 3331757.
468
+ 443 André Martinet. Éléments de linguistique générale. Armand Colin, 1960.
469
+ 444 George A. Miller. Some effects of intermittent silence. The American Journal of Psychology, 70(2):
470
+ 445 311–314, 1957. URL http://www.jstor.org/stable/1419346.
471
+ 446 Igor Mordatch and Pieter Abbeel. Emergence of grounded compositional language in multi-agent
472
+ 447 populations. In Sheila A. McIlraith and Kilian Q. Weinberger, editors, Proceedings of the Thirty
473
+ 448 Second AAAI Conference on Artificial Intelligence, (AAAI-18), the 30th innovative Applications of
474
+ 449 Artificial Intelligence (IAAI-18), and the 8th AAAI Symposium on Educational Advances in Artificial
475
+ 450 Intelligence (EAAI-18), New Orleans, Louisiana, USA, February 2-7, 2018, pages 1495–1502.
476
+ 451 AAAI Press, 2018. URL https://www.aaai.org/ocs/index.php/AAAI/AAAI18/paper/
477
+ 452 view/17007.
478
+ 453 Jesse Mu and Noah D. Goodman. Emergent communication of generalizations. In Marc’Aurelio
479
+ 454 Ranzato, Alina Beygelzimer, Yann N. Dauphin, Percy Liang, and Jennifer Wortman Vaughan,
480
+ 455 editors, Advances in Neural Information Processing Systems 34: Annual Conference on Neu
481
+ 456 ral Information Processing Systems 2021, NeurIPS 2021, December 6-14, 2021, virtual,
482
+ 457 pages 17994–18007, 2021. URL https://proceedings.neurips.cc/paper/2021/hash/
483
+ 458 9597353e41e6957b5e7aa79214fcb256-Abstract.html.
484
+ 459 Yi Ren, Shangmin Guo, Matthieu Labeau, Shay B. Cohen, and Simon Kirby. Compositional
485
+ 460 languages emerge in a neural iterated learning model. In 8th International Conference on Learning
486
+ 461 Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net, 2020.
487
+ 462 URL https://openreview.net/forum?id=HkePNpVKPB.
488
+ 463 Mathieu Rita, Rahma Chaabouni, and Emmanuel Dupoux. "lazimpa": Lazy and impatient neural
489
+ 464 agents learn to communicate efficiently. In Raquel Fernández and Tal Linzen, editors, Proceedings
490
+ 465 of the 24th Conference on Computational Natural Language Learning, CoNLL 2020, Online,
491
+ 466 November 19-20, 2020, pages 335–343. Association for Computational Linguistics, 2020. URL
492
+ 467 https://doi.org/10.18653/v1/2020.conll-1.26.
493
+ 468 John Schulman, Nicolas Heess, Theophane Weber, and Pieter Abbeel. Gradient estimation using
494
+ 469 stochastic computation graphs. In Corinna Cortes, Neil D. Lawrence, Daniel D. Lee, Masashi
495
+ 470 Sugiyama, and Roman Garnett, editors, Advances in Neural Information Processing Systems
496
+ 471 28: Annual Conference on Neural Information Processing Systems 2015, December 7-12, 2015,
497
+ 472 Montreal, Quebec, Canada, pages 3528–3536, 2015. URL https://proceedings.neurips.
498
+ 473 cc/paper/2015/hash/de03beffeed9da5f3639a621bcab5dd4-Abstract.html.
499
+ 474 Kumiko Tanaka-Ishii. Entropy as an indicator of context boundaries: An experiment using a web
500
+ 475 search engine. In Robert Dale, Kam-Fai Wong, Jian Su, and Oi Yee Kwong, editors, Natural
501
+ 476 Language Processing - IJCNLP 2005, Second International Joint Conference, Jeju Island, Korea,
502
+ 477 October 11-13, 2005, Proceedings, volume 3651 of Lecture Notes in Computer Science, pages
503
+ 478 93–105. Springer, 2005. URL https://doi.org/10.1007/11562214_9.
504
+ 479 Kumiko Tanaka-Ishii. Articulation of Elements, pages 115–124. Springer International Publishing,
505
+ 480 Cham, 2021. URL https://doi.org/10.1007/978-3-030-59377-3_11.
506
+ 481 Kumiko Tanaka-Ishii and Yuichiro Ishii. Multilingual phrase-based concordance genera
507
+ 482 tion in real-time. Inf. Retr., 10(3):275–295, 2007. URL https://doi.org/10.1007/
508
+ 483 s10791-006-9021-5.
509
+ 484 Kumiko Tanaka-Ishii and Zhihui Jin. From phoneme to morpheme: Another verification using a
510
+ 485 corpus. In Yuji Matsumoto, Richard Sproat, Kam-Fai Wong, and Min Zhang, editors, Computer
511
+ 486 Processing of Oriental Languages. Beyond the Orient: The Research Challenges Ahead, 21st
512
+ 487 International Conference, ICCPOL 2006, Singapore, December 17-19, 2006, Proceedings, volume
513
+
514
+ 4285 of Lecture Notes in Computer Science, pages 234–244. Springer, 2006. URL https: //doi.org/10.1007/11940098_25.
515
+
516
+ Kumiko Tanaka-Ishii and Zhihui Jin. From phoneme to morpheme — another verification in english and chinese using corpora —. Studia Linguistica, 62(2):224–248, 2008. URL https: //doi.org/10.1111/j.1467-9582.2007.00138.x.
517
+
518
+ Ryo Ueda and Koki Washio. On the relationship between zipf’s law of abbreviation and interfering noise in emergent languages. In Jad Kabbara, Haitao Lin, Amandalynne Paullada, and Jannis Vamvas, editors, Proceedings of the ACL-IJCNLP 2021 Student Research Workshop, ACL 2021, Online, JUli 5-10, 2021, pages 60–70. Association for Computational Linguistics, 2021. URL https://aclanthology.org/2021.acl-srw.6.
519
+
520
+ Oskar van der Wal, Silvan de Boer, Elia Bruni, and Dieuwke Hupkes. The grammar of emergent languages. In Bonnie Webber, Trevor Cohn, Yulan He, and Yang Liu, editors, Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, EMNLP 2020, Online, November 16-20, 2020, pages 3339–3359. Association for Computational Linguistics, 2020. URL https://doi.org/10.18653/v1/2020.emnlp-main.270.
521
+
522
+ Ronald J. Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Mach. Learn., 8:229–256, 1992. URL https://doi.org/10.1007/BF00992696.
523
+
524
+ George K. Zipf. The psycho-biology of language. Houghton Mifflin, 1935.
525
+
526
+ # Checklist
527
+
528
+ 1. For all authors...
529
+
530
+ (a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes]
531
+ (b) Did you describe the limitations of your work? [Yes] See Section 7.
532
+ (c) Did you discuss any potential negative societal impacts of your work? [No] The main point of this paper is analysis of artificially emerging languages without human participants. It is hard to imagine that it has a direct negative impact on society. However, our paper may have to do with energy issues, since we used GPU. We wrote about the GPU resource in Section 5.2.
533
+ (d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes]
534
+
535
+ 2. If you are including theoretical results...
536
+
537
+ (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]
538
+
539
+ 3. If you ran experiments...
540
+
541
+ (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] Our implementation code is uploaded on Anonymous Github. See Section 5.2.
542
+ (b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] See Section 5.1.
543
+ (c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] Error bars are necessary in Figure 5, Figure 6, Figure 7, Figure 8, and Figure 9 and are reported in all of them.
544
+ (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] See Section 5.2
545
+
546
+ 4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
547
+
548
+ (a) If your work uses existing assets, did you cite the creators? [Yes] Our implementation code depends on the EGG toolkit [Kharitonov et al., 2019]. See Section 5.2.
549
+ (b) Did you mention the license of the assets? [Yes] The EGG toolkit is published under MIT License. See Section 5.2.
550
+ (c) Did you include any new assets either in the supplemental material or as a URL? [Yes] Our implementation code is uploaded on Anonymous Github. See Section 5.2.
551
+ (d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [No] We only used artificial data for experiments.
552
+ (e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [No] We only used artificial data for experiments.
553
+
554
+ 5. If you used crowdsourcing or conducted research with human subjects...
555
+
556
+ (a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
557
+ (b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A]
558
+ (c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A]
parse/dev/pOEN7dDC0d/pOEN7dDC0d_content_list.json ADDED
@@ -0,0 +1,1436 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "On the Word Boundaries of Emergent Languages Based on Harris’s Articulation Scheme ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 199,
8
+ 122,
9
+ 799,
10
+ 171
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
+ 578,
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": "1 The purpose of this paper is to investigate whether Harris’s articulation scheme \n2 (HAS) also holds in emergent languages. HAS is thought to be a universal property \n3 in natural languages that articulatory boundaries can be obtained from statistical \n4 information of phonems alone, without referring to word meanings. Emergent \n5 languages are artificial communication protocols that arise between agents in a \n6 simulated environment and have been attracting attention in recent years. It is \n7 considerd important to study the structure of emergent languages and the simi \n8 larity to natural languages. In this paper, we employ HAS as an unsupervised \n9 word segmentation method and verify whether emergent languages arising from \n10 signaling games have meaningful segments. Our experiments showed that the \n11 emergent languages arising from signaling games satisfy some preconditions for \n12 HAS. However, it was also suggested that the HAS-based segmentation boundaries \n13 are not necessarily semantically valid. ",
40
+ "bbox": [
41
+ 148,
42
+ 344,
43
+ 766,
44
+ 525
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "14 1 Introduction ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 148,
54
+ 549,
55
+ 312,
56
+ 566
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "15 Communication protocols emerging among artificial agents in a simulated environment are called \n16 emergent languages [Lazaridou and Baroni, 2020]. It is important to investigate their structure to \n17 recognize and bridge the gap between natural and emergent languages, as several structural gaps have \n18 been reported [Kottur et al., 2017, Chaabouni et al., 2019]. For instance, Kottur et al. [2017] pointed \n19 out that emergent languages are not necessarily compositional. Such gaps are undesirable because \n20 major motivations in this area are to develop interactive AI [Foerster et al., 2016, Mordatch and \n21 Abbeel, 2018, Lazaridou et al., 2020] and to simulate the evolution of human language [Kirby, 2001, \n22 Graesser et al., 2019, Dagan et al., 2021]. Previous work examined whether emergent languages \n23 have the same properties as natural languages, such as compositionality [e.g., Kottur et al., 2017], \n24 grammar [van der Wal et al., 2020], entropy minimization [Kharitonov et al., 2020], and Zipf’s law of \n25 abbreviation (ZLA) [e.g., Chaabouni et al., 2019]. 1 Word segmentation would be another direction to \n26 understand the structure of emergent languages because natural languages not only have construction \n27 from word to sentence but also from phoneme to word [Martinet, 1960]. However, previous studies \n28 have not gone so far as to address word segmentation, as they treat each symbol in emergent messages \n29 as if it were a “word” [Kottur et al., 2017, van der Wal et al., 2020], or ensure that a whole message \n30 constructs just one “word” [Chaabouni et al., 2019, Kharitonov et al., 2020]. \n31 The purpose of this paper is to study whether Harris’s articulation scheme (HAS) [Harris, 1955, \n32 Tanaka-Ishii, 2021] also holds in emergent languages. HAS is a statistical universal in natural \n33 languages. Its basic idea is that we can obtain word segments from the statistical information of \n34 phonemes, but without referring to word meanings. 2 HAS can be used for unsupervised word \n35 segmentation [Tanaka-Ishii, 2005] to allow us to study the structure of emergent languages. In \n36 addition, it should be promising to apply such unsupervised methods, since word segments and \n37 meanings are not available beforehand in emergent languages. \n38 The problem is whether emergent languages have meaningful segments. If not, then it means that we \n39 find another gap between emergent and natural languages. In this paper, we pose several verifiable \n40 questions to answer whether their segments are meaningful. \n41 To simulate the emergence of language, we adopt Lewis’s signaling game [Lewis, 1969]. This \n42 game involves two agents called sender $S$ and receiver $R$ , and allows only one-way communication \n43 from $S$ to $R$ . In each play, $S$ obtains an input $i \\in \\mathcal { Z }$ and converts $i$ into a sequential message \n44 $m = S ( i ) \\in \\mathcal { M }$ . Then, $R$ receives $m \\in \\mathcal { M }$ and predicts the original input. The goal of the game is \n45 the correct prediction $R ( m ) = i$ . Figure 1 illustrates the signaling game. Here, we consider the set \n46 $\\{ m \\in \\mathcal { M } \\mid m = S ( i ) \\} _ { i \\in \\mathcal { I } }$ as the dataset of an emergent language, to which the HAS-based boundary \n47 detection [Tanaka-Ishii, 2005] is applicable. The algorithm yields the segments of messages. \n48 Our experimental results showed that emergent languages arising from signaling games satisfy \n49 two preconditions for HAS: (i) the conditional entropy (Eq. 2) decreases monotonically and (ii) \n50 the branching entropy (Eq. 1) repeatedly falls and rises. However, it was also suggested that the \n51 HAS-based boundaries are not necessarily meaningful. Segments divided by the boundaries may not \n52 serve as meaning units, while words in natural languages do [Martinet, 1960]. It is left for future \n53 work to bridge the gap between emergent and natural languages in terms of HAS, by giving rise to \n54 meaningful word boundaries. ",
63
+ "bbox": [
64
+ 147,
65
+ 582,
66
+ 825,
67
+ 801
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "",
74
+ "bbox": [
75
+ 147,
76
+ 808,
77
+ 825,
78
+ 863
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "image",
84
+ "img_path": "images/28ebbd4cfe074135aef10d67a815231894d2067e731cc7fe0d0f5d3b062d35be.jpg",
85
+ "image_caption": [
86
+ "Figure 1: Illustration of a signaling game. Section 3.1 gives its formal definition. In each play, a sender agent obtains an input and converts it to a sequential message. A receiver agent receives the messsage and converts it to an output. Each agent is represented as an encoder-decoder model. "
87
+ ],
88
+ "image_footnote": [],
89
+ "bbox": [
90
+ 267,
91
+ 69,
92
+ 723,
93
+ 184
94
+ ],
95
+ "page_idx": 1
96
+ },
97
+ {
98
+ "type": "text",
99
+ "text": "",
100
+ "bbox": [
101
+ 151,
102
+ 243,
103
+ 825,
104
+ 285
105
+ ],
106
+ "page_idx": 1
107
+ },
108
+ {
109
+ "type": "text",
110
+ "text": "",
111
+ "bbox": [
112
+ 150,
113
+ 291,
114
+ 825,
115
+ 334
116
+ ],
117
+ "page_idx": 1
118
+ },
119
+ {
120
+ "type": "text",
121
+ "text": "",
122
+ "bbox": [
123
+ 147,
124
+ 340,
125
+ 823,
126
+ 438
127
+ ],
128
+ "page_idx": 1
129
+ },
130
+ {
131
+ "type": "text",
132
+ "text": "",
133
+ "bbox": [
134
+ 147,
135
+ 444,
136
+ 825,
137
+ 540
138
+ ],
139
+ "page_idx": 1
140
+ },
141
+ {
142
+ "type": "text",
143
+ "text": "55 2 Harris’s Articulation Scheme ",
144
+ "text_level": 1,
145
+ "bbox": [
146
+ 153,
147
+ 559,
148
+ 450,
149
+ 577
150
+ ],
151
+ "page_idx": 1
152
+ },
153
+ {
154
+ "type": "text",
155
+ "text": "56 In the paper “From phoneme to morpheme” [Harris, 1955], Harris hypothesized that word boundaries \n57 tend to occur at points where the number of possible successive phonemes reaches a local peak in a \n58 given context. Harris [1955] exemplifies the utterance “He’s clever” that has the phoneme sequence \n59 /hiyzclev@r/.3 The number of possible successors after the first phoneme $/ \\mathrm { h } I$ is 9: /w,y,i,e,æ,a,@,o,u/. \n60 Next, the number of possible successors after /hi/ increases to 14. Likewise, the number of possible \n61 phonemes increases to 29 after /hiy/, stays at 29 after /hiyz/, decreases to 11 after /hiyzk/, decreases \n62 to 7 after /hiyzkl/, and so on. Peak numbers are found at $/ \\mathrm { y } / , / \\mathrm { z } /$ , and $/ \\mathrm { r } /$ , which divides the phoneme \n63 sequence into /hiy/+/z/+/klev@r/. Thus, the utterance is divided into “He”, “s”, and “clever”. \n64 Harris’s hypothesis can be reformulated from an information-theoretic point of view by replacing \n65 the number of successors with entropy. In the following sections, we review the mathematical \n66 formulation of the hypothesis as Harris’s articulation scheme (HAS) and the HAS-based boundary \n67 detection [Tanaka-Ishii, 2005]. HAS does involve statistical information of phonemes but does not \n68 involve word meanings. This is important because it gives a natural explanation for a well-known \n69 linguistic concept called double articulation [Martinet, 1960]. Martinet [1960] pointed out that \n70 languages have two structures: phonemes (irrelevant to meanings) and meaning units (i.e., words and \n71 morphemes). HAS can construct meaning units without referring to meanings. ",
156
+ "bbox": [
157
+ 145,
158
+ 590,
159
+ 825,
160
+ 702
161
+ ],
162
+ "page_idx": 1
163
+ },
164
+ {
165
+ "type": "text",
166
+ "text": "",
167
+ "bbox": [
168
+ 147,
169
+ 708,
170
+ 825,
171
+ 819
172
+ ],
173
+ "page_idx": 1
174
+ },
175
+ {
176
+ "type": "text",
177
+ "text": "2.1 Mathematical Formulation of Harris’s Hypothesis ",
178
+ "text_level": 1,
179
+ "bbox": [
180
+ 160,
181
+ 834,
182
+ 562,
183
+ 849
184
+ ],
185
+ "page_idx": 1
186
+ },
187
+ {
188
+ "type": "text",
189
+ "text": "While Harris [1955] focuses on phonemes for word boundary detection, Tanaka-Ishii [2021] suggests that the hypothesis is also applicable to units other than phonemes. Therefore, in this section, a set ",
190
+ "bbox": [
191
+ 158,
192
+ 859,
193
+ 823,
194
+ 888
195
+ ],
196
+ "page_idx": 1
197
+ },
198
+ {
199
+ "type": "text",
200
+ "text": "75 of units is called an alphabet $\\mathcal { X }$ as a purely mathematical notion that is not restricted to phonemes. \n76 Tanaka-Ishii [2005] uses characters for the same purpose. Moreover, Frantzi and Ananiadou [1996] \n77 and Tanaka-Ishii and Ishii [2007] investigate the detection of collocation from words. \n78 Let $\\mathcal { X }$ be an alphabet and $\\mathcal { X } ^ { n }$ be the set of all $n$ -grams on $\\mathcal { X }$ . We denote by $X _ { i }$ a random variable \n79 of $\\mathcal { X }$ indexed by $i$ , and by $X _ { i : j }$ a random variable sequence from $X _ { i }$ to $X _ { j }$ . The formulation \n80 by Tanaka-Ishii [2005] involves two kinds of entropy: branching entropy and conditional entropy \n81 [Cover and Thomas, 2006].4 The branching entropy of a random variable $X _ { n }$ after a sequence \n82 $s = x _ { 0 } \\cdot \\cdot \\cdot x _ { n - 1 } \\in \\mathcal { X } ^ { n }$ is defined as: ",
201
+ "bbox": [
202
+ 145,
203
+ 90,
204
+ 826,
205
+ 133
206
+ ],
207
+ "page_idx": 2
208
+ },
209
+ {
210
+ "type": "text",
211
+ "text": "",
212
+ "bbox": [
213
+ 147,
214
+ 138,
215
+ 825,
216
+ 209
217
+ ],
218
+ "page_idx": 2
219
+ },
220
+ {
221
+ "type": "equation",
222
+ "img_path": "images/ccc8b54a4911f470e43d0ba41f00801be518e1c8a42835225099340aeca50299.jpg",
223
+ "text": "$$\nh ( s ) \\equiv { \\mathcal { H } } ( X _ { n } \\mid X _ { 0 : n - 1 } = s ) = - \\sum _ { x \\in { \\mathcal { X } } } P ( x \\mid s ) \\log _ { 2 } P ( x \\mid s ) ,\n$$",
224
+ "text_format": "latex",
225
+ "bbox": [
226
+ 290,
227
+ 214,
228
+ 704,
229
+ 248
230
+ ],
231
+ "page_idx": 2
232
+ },
233
+ {
234
+ "type": "text",
235
+ "text": "83 where $P ( x \\mid s ) = P ( X _ { n } = x \\mid X _ { 0 : n - 1 } = s )$ . Intuitively, the branching entropy $h ( s )$ means how \n84 many elements can occur after $s$ or the uncertainty of the next element after $s$ . In addition to $h ( s )$ , \n85 the conditional entropy of a random variable $X _ { n }$ after an $n$ -gram sequence $X _ { 0 : n - 1 }$ is defined as: ",
236
+ "bbox": [
237
+ 140,
238
+ 253,
239
+ 833,
240
+ 296
241
+ ],
242
+ "page_idx": 2
243
+ },
244
+ {
245
+ "type": "equation",
246
+ "img_path": "images/b89251adb285a4b22793165b2047e4db6b1399c5f1b57cbf2b657038f60bbb96.jpg",
247
+ "text": "$$\nH ( n ) \\equiv { \\mathcal { H } } ( X _ { n } \\mid X _ { 0 : n - 1 } ) = - \\sum _ { s \\in \\mathcal { X } ^ { n } } P ( s ) \\sum _ { x \\in \\mathcal { X } } P ( x \\mid s ) \\log _ { 2 } P ( x \\mid s ) ,\n$$",
248
+ "text_format": "latex",
249
+ "bbox": [
250
+ 266,
251
+ 301,
252
+ 730,
253
+ 335
254
+ ],
255
+ "page_idx": 2
256
+ },
257
+ {
258
+ "type": "text",
259
+ "text": "86 where $P ( s ) = P ( X _ { 0 : n - 1 } = s )$ . The conditional entropy $H ( n )$ can be regarded as the mean of \n87 $h ( s )$ over $n$ -gram sequences $s \\in \\mathcal { X } ^ { n }$ , since $\\begin{array} { r } { H ( n ) = \\sum _ { s \\in \\mathcal { X } ^ { n } } P ( s ) h ( s ) . \\ H ( n ) } \\end{array}$ is known to decrease \n88 monotonically in natural languages [Bell et al., 1990]. Thus, for a partial sequence $x _ { 0 : n - 1 } \\in \\mathcal X ^ { n }$ , \n89 $h ( x _ { 0 : n - 2 } ) > \\overset { \\cdot } { h } ( x _ { 0 : n - 1 } )$ holds on average, although $h ( s )$ repeatedly falls and rises depending on a \n90 specific $s$ . Based on such properties, Harris’s articulation scheme (HAS) is formulated as:5 ",
260
+ "bbox": [
261
+ 147,
262
+ 340,
263
+ 826,
264
+ 411
265
+ ],
266
+ "page_idx": 2
267
+ },
268
+ {
269
+ "type": "text",
270
+ "text": "If there is some partial sequence $x _ { 0 : n - 1 } \\in \\mathcal { X } ^ { n } \\left( n > 1 \\right)$ s.t. $h ( x _ { 0 : n - 2 } ) < h ( x _ { 0 : n - 1 } )$ , then $x _ { n }$ is at a boundary. ",
271
+ "bbox": [
272
+ 318,
273
+ 416,
274
+ 679,
275
+ 450
276
+ ],
277
+ "page_idx": 2
278
+ },
279
+ {
280
+ "type": "text",
281
+ "text": "91 2.2 Boundary Detection Algorithm Based on Harris’s Articulation Scheme ",
282
+ "text_level": 1,
283
+ "bbox": [
284
+ 147,
285
+ 464,
286
+ 704,
287
+ 481
288
+ ],
289
+ "page_idx": 2
290
+ },
291
+ {
292
+ "type": "text",
293
+ "text": "In this section, we introduce the HAS-based boundary detection algorithm [Tanaka-Ishii, 2005]. Let $s = x _ { 0 } \\cdot \\cdot \\cdot x _ { n - 1 } \\in \\mathcal { X } ^ { n }$ . We denote by $s _ { i : j }$ its partial sequence $x _ { i } \\cdots x _ { j }$ . Given $s$ and a parameter threshold, the boundary detection algorithm yields boundaries $\\boldsymbol { B }$ .6 It proceeds as follows: ",
294
+ "bbox": [
295
+ 165,
296
+ 489,
297
+ 825,
298
+ 535
299
+ ],
300
+ "page_idx": 2
301
+ },
302
+ {
303
+ "type": "text",
304
+ "text": "95 1: $i \\gets 0$ ; $w \\gets 1$ ; $B \\gets \\{ \\}$ \n96 2: while $i < n$ do \n97 3: Compute $h \\big ( s _ { i : i + w - 1 } \\big )$ \n98 4: if $w > 1$ and $\\begin{array} { r } { \\bar { h } ( s _ { i : i + w - 1 } ) - h ( s _ { i : i + w - 2 } ) > } \\end{array}$ threshold then \n99 5: $B B \\cup \\{ i + w \\}$ \n100 6: end if \n101 7: if $i + w < n - 1$ then \n102 8: $w w + 1$ \n103 9: else \n104 10: $i i + 1 ; w 1$ \n105 11: end if \n106 12: end while \n107 Since our targets are emergent languages, the outputs of the boundary detection algorithm do not \n108 necessarily mean articulatory boundaries. Instead, we call them hypothetical boundaries (hypo \n109 boundaries) and refer to the segments split by hypo-boundaries as hypo-segments. Note that there \n110 are other similar methods such as Kempe [1999]. We chose Tanaka-Ishii [2005] because it performs \n111 well not only for English but also for Chinese, which has many one-character words. Emergent \n112 languages might also have such words. With this algorithm, Tanaka-Ishii and Jin [2008] reported \n113 F-score $= 8 3 . 6 \\%$ for word boundary detection from phonemes in English and F-score $= \\hat { 8 3 . 8 \\% }$ \n114 for word boundary detection from characters in Chinese. They are considerably high scores for \n115 unsupervised settings. \n117 We have to define environments, agent architectures, and optimization methods for language emer \n118 gence simulations. This paper adopts the framework of Chaabouni et al. [2020]. We define an \n119 environment in Section 3.1, specify the agent architecture and optimization methods in Section 3.2, \n120 and also give an explanation of the compositionality of emergent languages in Section 3.3. ",
305
+ "bbox": [
306
+ 143,
307
+ 535,
308
+ 614,
309
+ 702
310
+ ],
311
+ "page_idx": 2
312
+ },
313
+ {
314
+ "type": "text",
315
+ "text": "",
316
+ "bbox": [
317
+ 143,
318
+ 710,
319
+ 825,
320
+ 835
321
+ ],
322
+ "page_idx": 2
323
+ },
324
+ {
325
+ "type": "text",
326
+ "text": "",
327
+ "bbox": [
328
+ 142,
329
+ 119,
330
+ 826,
331
+ 176
332
+ ],
333
+ "page_idx": 3
334
+ },
335
+ {
336
+ "type": "text",
337
+ "text": "121 3.1 Signaling Game ",
338
+ "text_level": 1,
339
+ "bbox": [
340
+ 148,
341
+ 190,
342
+ 323,
343
+ 207
344
+ ],
345
+ "page_idx": 3
346
+ },
347
+ {
348
+ "type": "text",
349
+ "text": "122 An environment is formulated based on Lewis’s signaling game [Lewis, 1969]. A signaling game $G$ \n123 consists of a quadruple $( \\mathcal { T } , \\mathcal { M } , S , R )$ , where $\\mathcal { T }$ is an input space, $\\mathcal { M }$ is a message space, $S : { \\mathcal { T } } { \\mathcal { M } }$ \n124 is a sender agent, and $R : \\mathcal { M } \\mathcal { T }$ is a receiver agent. The goal is the correct reconstruction \n125 $i = R ( S ( i ) )$ for all $i \\in \\mathcal { Z }$ . While the input space $\\mathcal { T }$ and the message space $\\mathcal { M }$ are fixed, the agents \n126 $S , R$ are trained for the goal. An illustration of a signaling game is shown in Figure 1. Following \n127 Chaabouni et al. [2020], we define $\\mathcal { T }$ as an attribute-value set $\\mathcal { D } _ { n _ { v a l } } ^ { n _ { a t t } }$ (defined below) and $\\mathcal { M }$ as a set \n128 of discrete sequences of fixed length $k$ over a finite alphabet $\\mathcal { A }$ : ",
350
+ "bbox": [
351
+ 143,
352
+ 217,
353
+ 825,
354
+ 314
355
+ ],
356
+ "page_idx": 3
357
+ },
358
+ {
359
+ "type": "equation",
360
+ "img_path": "images/e20989b6db918898c9860e94d7f0273b0e79a1b6d618fdfa8c38cf6e2b881780.jpg",
361
+ "text": "$$\n{ \\mathcal { T } } \\equiv { \\mathcal { D } } _ { n _ { v a l } } ^ { n _ { a t t } } , { \\mathcal { M } } \\equiv { \\mathcal { A } } ^ { k } = \\{ a _ { 1 } \\cdot \\cdot \\cdot a _ { k } \\mid a _ { j } \\in { \\mathcal { A } } \\} .\n$$",
362
+ "text_format": "latex",
363
+ "bbox": [
364
+ 343,
365
+ 318,
366
+ 653,
367
+ 337
368
+ ],
369
+ "page_idx": 3
370
+ },
371
+ {
372
+ "type": "text",
373
+ "text": "129 Attribute-Value Set Let $n _ { a t t } , n _ { v a l }$ be positive integers called the number of attributes and the number of values. Then, an attribute-value set 130 $\\mathcal { D } _ { n _ { v a l } } ^ { n _ { a t t } }$ is the set of ordered tuples defined as follows: ",
374
+ "bbox": [
375
+ 143,
376
+ 347,
377
+ 830,
378
+ 377
379
+ ],
380
+ "page_idx": 3
381
+ },
382
+ {
383
+ "type": "equation",
384
+ "img_path": "images/7e0373fefd9102e413bec19aef47c5c37b589eaa1bd7aff8b65876f523b80ab9.jpg",
385
+ "text": "$$\n\\mathcal { D } _ { n _ { v a l } } ^ { n _ { a t t } } = \\left\\{ \\left( v _ { 1 } , \\ldots , v _ { n _ { a t t } } \\right) \\ : | \\ : v _ { j } \\in \\left\\{ 1 , \\ldots , n _ { v a l } \\right\\} \\right\\} .\n$$",
386
+ "text_format": "latex",
387
+ "bbox": [
388
+ 338,
389
+ 381,
390
+ 660,
391
+ 400
392
+ ],
393
+ "page_idx": 3
394
+ },
395
+ {
396
+ "type": "text",
397
+ "text": "131 This is an abstraction of an attribute-value object paradigm [e.g., Kottur et al., 2017] by Chaabouni 32 et al. [2020]. Intuitively, each index $j$ of a vector $( v _ { 1 } , \\ldots v _ { j } , \\ldots , v _ { n _ { a t t } } )$ is an attribute (e.g., color), while each 33 $v _ { j }$ is an attribute value (e.g., blue, green, red, and purple).7 ",
398
+ "bbox": [
399
+ 147,
400
+ 402,
401
+ 825,
402
+ 446
403
+ ],
404
+ "page_idx": 3
405
+ },
406
+ {
407
+ "type": "text",
408
+ "text": "3.2 Architecture and Optimization ",
409
+ "text_level": 1,
410
+ "bbox": [
411
+ 171,
412
+ 460,
413
+ 428,
414
+ 476
415
+ ],
416
+ "page_idx": 3
417
+ },
418
+ {
419
+ "type": "text",
420
+ "text": "We follow Chaabouni et al. [2020] as well for the architecture and optimization method. ",
421
+ "bbox": [
422
+ 166,
423
+ 486,
424
+ 746,
425
+ 502
426
+ ],
427
+ "page_idx": 3
428
+ },
429
+ {
430
+ "type": "text",
431
+ "text": "Architecture Each agent is represented as an encoder-decoder model (Figure 1): the sender decoder and the receiver encoder are based on single-layer GRUs [Cho et al., 2014], while the sender encoder and the receiver decoder are linear functions. Each element $i \\in \\mathcal { D } _ { n _ { v a l } } ^ { n _ { a t t } }$ has to be vectorized so that it can be fed into or output from the linear functions. Formally, each $\\ddot { i } = ( v _ { 1 } , \\dots , v _ { n _ { a t t } } )$ is converted into the $n _ { a t t } \\times n _ { v a l }$ -dimensional vector which is the concatenation of $n _ { a t t }$ one-hot representations of $v _ { j }$ . During training, the sender samples messages probabilistically. During the test time, it samples them greedily so that it serves as a deterministic function. Similarly, the receiver’s output layer, followed by the Softmax, determines $n _ { a t t }$ categorical distributions over values $\\{ 1 , \\dots , n _ { v a l } \\}$ during training. During the test time, $n _ { a t t }$ values are greedily sampled from the distributions. ",
432
+ "bbox": [
433
+ 173,
434
+ 515,
435
+ 825,
436
+ 642
437
+ ],
438
+ "page_idx": 3
439
+ },
440
+ {
441
+ "type": "text",
442
+ "text": "Optimization The agents are optimized with the stochastic computation graph [Schulman et al., 2015] that is a combination of REINFORCE [Williams, 1992] and standard backpropagation. The sender is optimized with the former, while the receiver is optimized with the latter. ",
443
+ "bbox": [
444
+ 174,
445
+ 656,
446
+ 825,
447
+ 698
448
+ ],
449
+ "page_idx": 3
450
+ },
451
+ {
452
+ "type": "text",
453
+ "text": "3.3 Compositionality of Emergent Languages ",
454
+ "text_level": 1,
455
+ "bbox": [
456
+ 174,
457
+ 713,
458
+ 501,
459
+ 728
460
+ ],
461
+ "page_idx": 3
462
+ },
463
+ {
464
+ "type": "text",
465
+ "text": "An attribute-value set $\\mathcal { D } _ { n _ { v a l } } ^ { n _ { a t t } }$ by Chaabouni et al. [2020] is an extension of an attribute-value setting [Kottur et al., 2017] introduced to measure the compositionality of emergent languages. While the concept of compositionality varies from domain to domain, researchers in this area typically regard it as the disentanglement of representation learning. Kottur et al. [2017], for instance, set up an environment where objects have two attributes: color and shape, each of which has several possible values (e.g., blue, red, ... for color and circle, star, ... for shape). They assumed that if a language is sufficiently compositional, each message would be a composition of symbols denoting the color value and shape value separately. This concept has been the basis for subsequent studies [Li and Bowling, 2019, Andreas, 2019, Ren et al., 2020, Chaabouni et al., 2020]. ",
466
+ "bbox": [
467
+ 173,
468
+ 738,
469
+ 825,
470
+ 863
471
+ ],
472
+ "page_idx": 3
473
+ },
474
+ {
475
+ "type": "text",
476
+ "text": "158 Topographic Similarity Topographic Similarity (TopSim) [Brighton and Kirby, 2006, Lazaridou \n159 et al., 2018] is the de facto compositionality measure in emergent communication literature. Suppose \n160 we have distance functions $d _ { \\mathcal { T } } , d _ { \\mathcal { M } }$ for spaces $\\mathcal { T } , \\mathcal { M }$ , respectively. TopSim is defined as the Spearman \n161 correlation between distances $d _ { \\ Z } ( i _ { 1 } , i _ { 2 } )$ and $d _ { \\mathcal { M } } ( S ( i _ { 1 } ) , S ( i _ { 2 } ) )$ for all $i _ { 1 } , i _ { 2 } \\in \\mathcal { T }$ s.t. $i _ { 1 } \\neq i _ { 2 }$ . This \n162 definition reflects an intuition that compositional languages should map similar (resp. dissimilar) \n163 inputs to similar (resp. dissimilar) messages. Following previous work using attribute-value objects \n164 [e.g., Chaabouni et al., 2020], we define $d _ { \\mathcal { T } }$ as the Hamming distance and $d _ { \\mathcal { M } }$ as the edit distance. \n165 Because this paper is about message segmentation, we can consider two types of edit distance. One \n166 is the “character” edit distance that regards elements $a \\in { \\mathcal { A } }$ as symbols. The other is the “word” \n167 edit distance that regards hypo-segments as symbols. Let us call the former $C$ -TopSim and the latter \n168 W-TopSim. ",
477
+ "bbox": [
478
+ 140,
479
+ 90,
480
+ 825,
481
+ 243
482
+ ],
483
+ "page_idx": 4
484
+ },
485
+ {
486
+ "type": "text",
487
+ "text": "169 4 Problem Definition ",
488
+ "text_level": 1,
489
+ "bbox": [
490
+ 147,
491
+ 262,
492
+ 366,
493
+ 279
494
+ ],
495
+ "page_idx": 4
496
+ },
497
+ {
498
+ "type": "text",
499
+ "text": "170 The purpose of this paper is to study whether Harris’s articulation \n171 scheme (HAS) also holds in emergent languages. However, this \n172 question is too vague to answer. We first divide it into the following: ",
500
+ "bbox": [
501
+ 142,
502
+ 292,
503
+ 614,
504
+ 335
505
+ ],
506
+ "page_idx": 4
507
+ },
508
+ {
509
+ "type": "text",
510
+ "text": "Q1. Does the conditional entropy $H$ decrease monotonically? Q2. Does the branching entropy $h$ repeatedly fall and rise? Q3. Do hypo-boundaries represent meaningful boundaries? ",
511
+ "bbox": [
512
+ 199,
513
+ 344,
514
+ 611,
515
+ 397
516
+ ],
517
+ "page_idx": 4
518
+ },
519
+ {
520
+ "type": "text",
521
+ "text": "176 Q3 is the same as the original question, except that Q3 is slightly \n177 more formal. However, we have to answer Q1 and Q2 beforehand, \n178 because HAS implicitly takes it for granted that $H$ decreases mono \n179 tonically and $h$ jitters. Although both Q1 and Q2 generally hold in \n180 natural languages, neither of them is trivial in emergent languages. \n181 Figure 2 illustrates Q1, Q2, and Q3. \n182 It is straightforward to answer Q1 and Q2 as we just need to calculate \n183 $H$ and $h$ . In contrast, Q3 is still vague to answer, since we do not \n184 have prior knowledge about the boundaries of emergent languages and do not even know if they have \n185 such boundaries. To mitigate it, we posit the following necessary conditions for Q3. Let $G$ be a game \n186 $( \\mathcal { D } _ { n _ { v a l } } ^ { n _ { a t t } } , \\mathcal { A } ^ { k } , S , R )$ . If the answer to Q3 is yes, then: ",
522
+ "bbox": [
523
+ 145,
524
+ 406,
525
+ 616,
526
+ 489
527
+ ],
528
+ "page_idx": 4
529
+ },
530
+ {
531
+ "type": "image",
532
+ "img_path": "images/543e883e362520a9b619f1f164300dff04cf01743c92d3f984c7743efc746dcb.jpg",
533
+ "image_caption": [
534
+ "Q3:Are They Meaningful? Figure 2: Illustration of questions. "
535
+ ],
536
+ "image_footnote": [],
537
+ "bbox": [
538
+ 632,
539
+ 247,
540
+ 812,
541
+ 476
542
+ ],
543
+ "page_idx": 4
544
+ },
545
+ {
546
+ "type": "text",
547
+ "text": "",
548
+ "bbox": [
549
+ 142,
550
+ 496,
551
+ 612,
552
+ 523
553
+ ],
554
+ "page_idx": 4
555
+ },
556
+ {
557
+ "type": "text",
558
+ "text": "",
559
+ "bbox": [
560
+ 142,
561
+ 525,
562
+ 823,
563
+ 566
564
+ ],
565
+ "page_idx": 4
566
+ },
567
+ {
568
+ "type": "text",
569
+ "text": "C1. the mean number of hypo-boundaries per message should increase as $n _ { a t t }$ increases, C2. the size of the vocabulary (set of all hypo-segments) should increase as $n _ { v a l }$ increases, C3. W-TopSim should be higher than C-TopSim. ",
570
+ "bbox": [
571
+ 199,
572
+ 575,
573
+ 799,
574
+ 627
575
+ ],
576
+ "page_idx": 4
577
+ },
578
+ {
579
+ "type": "text",
580
+ "text": "190 About C1 and C2 An attribute-value set $\\mathcal { D } _ { n _ { v a l } } ^ { n _ { a t t } }$ was originally introduced to measure composi \n191 tionality. Compositionality, in this context, means how symbols in a message separately denote the \n192 components of meaning. In our case, each segment, or word, can be thought of as a certain unit \n193 that denotes the attribute values, so that the number of words in a message should increase as the \n194 corresponding attributes increase. Therefore, if the answer to Q3 is yes, then C1 should be valid. \n195 Likewise, the size of the vocabulary should be larger in proportion to the number of values $n _ { v a l }$ , \n196 motivating C2. Here, we mean by vocabulary the set of all hypo-segments. Note that the message \n197 length is fixed, because otherwise the number of hypo-segments would be subject to variable message \n198 length as well as $( n _ { a t t } , n _ { v a l } )$ , and the implication of results would be obscure. ",
581
+ "bbox": [
582
+ 140,
583
+ 640,
584
+ 826,
585
+ 766
586
+ ],
587
+ "page_idx": 4
588
+ },
589
+ {
590
+ "type": "text",
591
+ "text": "About C3 C3 comes from the analogy of the linguistic concept called double articulation [Martinet, 1960]. In natural languages, meanings are quite arbitrarily related to the phonemes that construct them. In contrast, the meanings are less arbitrarily related to the words. The phonemes do not denote meaning units but the words do. In our case, for example, the attribute-value object (RED, CIRCLE) seems less compositionally related to the character sequence “r,e,d,c,i,r,c,l,e”, while it seems more compositionally related to the word sequence “red,circle.” This intuition motivates C3. ",
592
+ "bbox": [
593
+ 158,
594
+ 779,
595
+ 825,
596
+ 863
597
+ ],
598
+ "page_idx": 4
599
+ },
600
+ {
601
+ "type": "text",
602
+ "text": "205 Based on conditions C1, C2, and C3, Q3 is restated as follows: (Q3-1) Does the mean number of \n206 hypo-boundaries per message increase as $n _ { a t t }$ increases? (Q3-2) Does the vocabulary size increase \n207 as $n _ { v a l }$ increases? (Q3-3) Is W-TopSim higher than C-TopSim? ",
603
+ "bbox": [
604
+ 145,
605
+ 869,
606
+ 823,
607
+ 911
608
+ ],
609
+ "page_idx": 4
610
+ },
611
+ {
612
+ "type": "text",
613
+ "text": "5 Experimental Setup ",
614
+ "text_level": 1,
615
+ "bbox": [
616
+ 160,
617
+ 89,
618
+ 372,
619
+ 107
620
+ ],
621
+ "page_idx": 5
622
+ },
623
+ {
624
+ "type": "text",
625
+ "text": "5.1 Parameter Settings ",
626
+ "text_level": 1,
627
+ "bbox": [
628
+ 174,
629
+ 119,
630
+ 346,
631
+ 135
632
+ ],
633
+ "page_idx": 5
634
+ },
635
+ {
636
+ "type": "text",
637
+ "text": "Input Space $n _ { a t t }$ and $n _ { v a l }$ have to be varied to answer Q3-1, Q3-2, and Q3-3, while the sizes of the input spaces $| \\mathcal { I } | = ( n _ { v a l } ) ^ { n _ { a t t } }$ must be equal to each other to balance the complexities of games. Therefore, we fix $| \\mathcal { T } | = 4 0 9 6$ and vary $( n _ { a t t } , n _ { v a l } )$ as follows: ",
638
+ "bbox": [
639
+ 169,
640
+ 145,
641
+ 825,
642
+ 188
643
+ ],
644
+ "page_idx": 5
645
+ },
646
+ {
647
+ "type": "equation",
648
+ "img_path": "images/450255a198558a23438177f72a9531df6f8f185af355c68ae4db3fa826e14eae.jpg",
649
+ "text": "$$\n( n _ { a t t } , n _ { v a l } ) \\in \\{ ( 1 , 4 0 9 6 ) , ( 2 , 6 4 ) , ( 3 , 6 ) , ( 4 , 8 ) , ( 6 , 4 ) , ( 1 2 , 2 ) \\} .\n$$",
650
+ "text_format": "latex",
651
+ "bbox": [
652
+ 290,
653
+ 191,
654
+ 707,
655
+ 209
656
+ ],
657
+ "page_idx": 5
658
+ },
659
+ {
660
+ "type": "text",
661
+ "text": "213 Message Space The message length $k$ and alphabet $\\mathcal { A }$ have to be determined for a message space \n214 ${ \\mathcal { M } } = { \\overset { \\sim } { A } } ^ { k }$ . We set $k = 3 2$ , similarly to previous work on $Z L A$ [Chaabouni et al., 2019, Rita et al., \n215 2020, Ueda and Washio, 2021] that regards each $a \\in { \\mathcal { A } }$ as a “character.” Note that $k = 3 2$ is set much \n216 longer than those of previous work on compositionality [Chaabouni et al., 2020, Ren et al., 2020, Li \n217 and Bowling, 2019] that typically adopts $k \\equiv n _ { a t t }$ as if each symbol $a \\in { \\mathcal { A } }$ were a “word.” We set \n218 $\\mathcal { A } = \\{ 1 , 2 , \\ldots , 8 \\}$ . Its size $| { \\cal A } |$ should be as small as possible to avoid the problem of data sparsity \n219 when applying boundary detection, and to ensure that each symbol $a \\in { \\mathcal { A } }$ serves as a “character.” \n220 In preliminary experiments, we tested $| \\mathcal { A } | \\in \\{ 2 , 4 , 8 , 1 6 \\}$ and found that learning is stable when \n221 $| { \\bar { \\mathcal { A } } } | \\geq 8$ . \n222 Architecture and Optimization We follow Chaabouni et al. [2020] for agent arthitectures and \n223 optmization methods. The hidden size of GRU [Cho et al., 2014] is set to 500, following Chaabouni \n224 et al. [2020]. All data from an input space $\\mathcal { I } = \\mathcal { D } _ { n _ { v a l } } ^ { n _ { a t t } }$ are used for training. This dataset is upsampled \n225 to 100 times following the default setting of the code of Chaabouni et al. [2020]. The learning rate is \n226 set to 0.001, which also follows Chaabouni et al. [2020]. Based on our preliminary experiments to \n227 explore stable learning, a sender $S$ and a receiver $R$ are trained for 200 epochs and the coefficient of \n228 the entropy regularizer is set to 0.01. ",
662
+ "bbox": [
663
+ 140,
664
+ 220,
665
+ 826,
666
+ 347
667
+ ],
668
+ "page_idx": 5
669
+ },
670
+ {
671
+ "type": "text",
672
+ "text": "",
673
+ "bbox": [
674
+ 147,
675
+ 359,
676
+ 825,
677
+ 458
678
+ ],
679
+ "page_idx": 5
680
+ },
681
+ {
682
+ "type": "text",
683
+ "text": "Boundary Detection Algorithm The boundary detection algorithm involves a parameter threshold. Since the appropriate value of threshold is unclear, we vary threshold as follows: ",
684
+ "bbox": [
685
+ 165,
686
+ 472,
687
+ 825,
688
+ 500
689
+ ],
690
+ "page_idx": 5
691
+ },
692
+ {
693
+ "type": "equation",
694
+ "img_path": "images/87a8ce53ecf7880f0e07e128b239d9728ea6b8e260ff9ce70496456bb2d04710.jpg",
695
+ "text": "$$\nt h r e s h o l d \\in \\{ 0 , 0 . 2 5 , 0 . 5 , 0 . 7 5 , 1 , 1 . 2 5 , 1 . 5 , 1 . 7 5 , 2 \\} .\n$$",
696
+ "text_format": "latex",
697
+ "bbox": [
698
+ 325,
699
+ 505,
700
+ 671,
701
+ 522
702
+ ],
703
+ "page_idx": 5
704
+ },
705
+ {
706
+ "type": "text",
707
+ "text": "31 5.2 Implementation, Number of Trials, and Language Validity ",
708
+ "text_level": 1,
709
+ "bbox": [
710
+ 155,
711
+ 536,
712
+ 619,
713
+ 551
714
+ ],
715
+ "page_idx": 5
716
+ },
717
+ {
718
+ "type": "text",
719
+ "text": "We implemented the code for training agents using the EGG toolkit [Kharitonov et al., 2019].8 EGG also includes the implementation code of Chaabouni et al. [2020], which we largely refer to. They are published under the MIT license. For now, our code is available on Anonymous GitHub.9 For each $( n _ { a t t } , n _ { v a l } )$ configuration, agents are trained 8 times with different random seeds. Each run took a few hours with a single GPU.10 In the following sections, an emergent language with a communication success rate of more than $90 \\%$ is called a successful language. ",
720
+ "bbox": [
721
+ 173,
722
+ 561,
723
+ 825,
724
+ 645
725
+ ],
726
+ "page_idx": 5
727
+ },
728
+ {
729
+ "type": "text",
730
+ "text": "6 Results ",
731
+ "text_level": 1,
732
+ "bbox": [
733
+ 173,
734
+ 665,
735
+ 266,
736
+ 681
737
+ ],
738
+ "page_idx": 5
739
+ },
740
+ {
741
+ "type": "text",
742
+ "text": "As a result of training agents, we obtained 7, 8, 6, 8, 7, and 6 successful languages out of 8 runs for configurations $( n _ { a t t } , \\bar { n } _ { v a l } ) = ( 1 , 4 0 9 6 )$ , (2, 64), (3, 16), $( 4 , 8 )$ , $( 6 , 4 )$ , and $( 1 2 , 2 )$ , respectively. ",
743
+ "bbox": [
744
+ 174,
745
+ 695,
746
+ 825,
747
+ 724
748
+ ],
749
+ "page_idx": 5
750
+ },
751
+ {
752
+ "type": "text",
753
+ "text": "6.1 Conditional Entropy Monotonically Decreases ",
754
+ "text_level": 1,
755
+ "bbox": [
756
+ 173,
757
+ 738,
758
+ 534,
759
+ 755
760
+ ],
761
+ "page_idx": 5
762
+ },
763
+ {
764
+ "type": "text",
765
+ "text": "To verify Q1, we show the conditional entropy $H ( n )$ (Eq. 2) in Figure 3. In Figure 3, the conditional entropies of the successful languages (solid red lines) decrease monotonically. This confirms Q1 in successful languages. Interestingly, the conditional entropies of emergent languages derived from untrained senders do not necessarily decrease, shown as dashed blue lines in Figure 3.11 The monotonic decrease in conditional entropy emerges after training agents. ",
766
+ "bbox": [
767
+ 174,
768
+ 765,
769
+ 825,
770
+ 835
771
+ ],
772
+ "page_idx": 5
773
+ },
774
+ {
775
+ "type": "image",
776
+ "img_path": "images/ee6db7b4fef5d383c1245c9afc7fff843e615985e0866f249f1afd85d540eff8.jpg",
777
+ "image_caption": [
778
+ "Figure 3: Conditional entropy $H ( n )$ . Dashed blue lines represent $H ( n )$ of languages from untrained agents that finally learned successful languages, while solid red lines represent $H ( n )$ of successful languages. "
779
+ ],
780
+ "image_footnote": [],
781
+ "bbox": [
782
+ 178,
783
+ 93,
784
+ 488,
785
+ 277
786
+ ],
787
+ "page_idx": 6
788
+ },
789
+ {
790
+ "type": "image",
791
+ "img_path": "images/85a714388a0f655501234aacc7a619167f4889df8dafde311d30fcb8b4a68a2d.jpg",
792
+ "image_caption": [
793
+ "Figure 4: Example transition sequences of the branching entropy $h$ in a message $^ { \\dots } 3 , 8 , 4 , . . . , 4 , 4 , 4 ^ { , , }$ in a successful language for $\\begin{array} { r l } { ( n _ { a t t } , n _ { v a l } ) } & { { } = } \\end{array}$ (2, 64). "
794
+ ],
795
+ "image_footnote": [],
796
+ "bbox": [
797
+ 509,
798
+ 101,
799
+ 818,
800
+ 280
801
+ ],
802
+ "page_idx": 6
803
+ },
804
+ {
805
+ "type": "text",
806
+ "text": "47 6.2 Branching Entropy Repeatedly Falls and Rises ",
807
+ "text_level": 1,
808
+ "bbox": [
809
+ 153,
810
+ 401,
811
+ 537,
812
+ 416
813
+ ],
814
+ "page_idx": 6
815
+ },
816
+ {
817
+ "type": "text",
818
+ "text": "Next, to answer Q2, we computed the branching entropy $h ( s )$ (Eq. 1) of the successful languages and applied boundary detection. As an example, we show a few actual transitions of $h ( s )$ in Figure 4, in which y-axis represents the value of $h ( s )$ and $\\mathbf { X }$ -axis represents a message $^ { \\dots } 3 , 8 , 4 , . . . , 4 , 4 , 4 ^ { , , }$ . The message is randomly sampled from a successful language when $( n _ { a t t } , n _ { v a l } ) \\bar { = } ( 2 , 6 4 )$ . The boundary detection algorithm with threshold $= 1$ yields three hypo-boundaries that are represented as dashed black lines in Figure 4. Blue, yellow and green lines with triangle markers represent the transitions of $h ( s )$ that yield hypo-boundaries. Note that the $( i + 1 )$ -th transition of $h ( s )$ does not necessarily start from the $i$ -th hypo-boundary, due to the definition of the algorithm. For instance, the second transition overlaps the first hypo-boundary. While the conditional entropy decreases monotonically as shown in Figure 3, the branching entropy repeatedly falls and rises in Figure 4. Moreover, we show the mean number of hypo-boundaries per message in Figure 5. Figure 5 indicates that for any $( n _ { a t t } , n _ { v a l } )$ configuration, there are hypo-boundaries if threshold $< 2$ , i.e., the brancing entropy repeatedly falls and rises. These results validate Q2. ",
819
+ "bbox": [
820
+ 173,
821
+ 426,
822
+ 825,
823
+ 607
824
+ ],
825
+ "page_idx": 6
826
+ },
827
+ {
828
+ "type": "text",
829
+ "text": "6.3 Hypo-Boundaries May Not Be Meaningful Boundaries ",
830
+ "text_level": 1,
831
+ "bbox": [
832
+ 173,
833
+ 622,
834
+ 591,
835
+ 637
836
+ ],
837
+ "page_idx": 6
838
+ },
839
+ {
840
+ "type": "text",
841
+ "text": "Next, we investigate whether Q3-1, Q3-2, and Q3-3 hold in successful languages. The results in the following sections falsify all of them. Thus, Q3 may not be true: hypo-boundaries may not be meaningful boundaries. ",
842
+ "bbox": [
843
+ 174,
844
+ 647,
845
+ 825,
846
+ 690
847
+ ],
848
+ "page_idx": 6
849
+ },
850
+ {
851
+ "type": "text",
852
+ "text": "Mean Number of Hypo-Boundaries per Message See Figure 5 again. The figure shows that the mean number of hypo-boundaries per message does not increase as $n _ { a t t }$ increases. It does not decrease, either. This result falsifies Q3-1. Even when $n _ { a t t } = 1$ , there are as many hypo-boundaries as other configurations. ",
853
+ "bbox": [
854
+ 173,
855
+ 705,
856
+ 825,
857
+ 761
858
+ ],
859
+ "page_idx": 6
860
+ },
861
+ {
862
+ "type": "text",
863
+ "text": "Vocabulary Size Figure 6 shows the mean vocabulary sizes for each $( n _ { a t t } , n _ { v a l } )$ . The vocabulary size does not increase as $n _ { v a l }$ increases, which falsifies Q3-2. However, focusing on $( n _ { a t t } , n _ { v a l } ) \\in$ $\\{ ( 2 , 6 4 ) , ( 3 , 1 6 ) , ( 4 , 8 ) , ( 6 , 4 ) \\}$ and $0 . 2 5 \\leq t h r e s h o l d \\leq 1$ , there is a weak tendency to support C2. It suggests that hypo-segments are not completely meaningless either. ",
864
+ "bbox": [
865
+ 173,
866
+ 775,
867
+ 825,
868
+ 830
869
+ ],
870
+ "page_idx": 6
871
+ },
872
+ {
873
+ "type": "text",
874
+ "text": "273 C-TopSim vs W-TopSim Figure 7 shows C-Topsim and W-Topsim for each $( n _ { a t t } , n _ { v a l } )$ and \n274 threshold.12 Note that C-TopSim is TopSim with “character” edit distance and W-TopSim is TopSim \n275 with “word” edit distance. In Figure 7, threshold $: = - \\infty$ corresponds to C-TopSim, while the others \n276 correspond to W-TopSim. 13 Our assumption in Q3-3 was C-TopSim $< \\mathrm { W }$ -TopSim. On the contrary, \n277 Figure 7 shows a clear tendency for C-TopSim $>$ W-TopSim, which falsifies Q3-3. Hypo-boundaries \n278 may not be meaningful. However, they may not be completely meaningless, either. This is because the \n279 hypo-boundary-based W-TopSim is higher than the random-boundary-based W-TopSim in Figure 8. \n280 Here, we mean by random boundaries the boundaries chosen at random in the same number as \n281 hypo-boundaries in each message. Other $( n _ { a t t } , n _ { v a l } )$ configurations show similar tendencies (see \n282 Appendix B). ",
875
+ "bbox": [
876
+ 145,
877
+ 845,
878
+ 825,
879
+ 887
880
+ ],
881
+ "page_idx": 6
882
+ },
883
+ {
884
+ "type": "image",
885
+ "img_path": "images/249e134d2454044c17e0e7da346a9ed8984c7174642d559d863d29fd66523318.jpg",
886
+ "image_caption": [
887
+ "Figure 5: Mean number of hypo-boundaries per message in successful languages. threshold varies according to Eq. 7. Each data point is averaged over random seeds and shaded regions represent one standard error of mean (SEM). "
888
+ ],
889
+ "image_footnote": [],
890
+ "bbox": [
891
+ 178,
892
+ 94,
893
+ 488,
894
+ 276
895
+ ],
896
+ "page_idx": 7
897
+ },
898
+ {
899
+ "type": "image",
900
+ "img_path": "images/ba31b77f373c46d140cc40fae8cf35aa4d23016309d3c09c44901a35f1d80a78.jpg",
901
+ "image_caption": [
902
+ "Figure 6: Vocabulary size in successful langauges. threshold varies according to Eq. 7. Each data point is averaged over random seeds and shaded regions represent one SEM. "
903
+ ],
904
+ "image_footnote": [],
905
+ "bbox": [
906
+ 508,
907
+ 97,
908
+ 818,
909
+ 276
910
+ ],
911
+ "page_idx": 7
912
+ },
913
+ {
914
+ "type": "image",
915
+ "img_path": "images/4de6e37da865892a2f6d3da4fce4ec2bfce406f77f3f6782dac273754a94f6fe.jpg",
916
+ "image_caption": [
917
+ "Figure 7: C-TopSim and W-TopSim in successful languages. threshold $= - \\infty$ corresponds to $\\mathrm { C } \\mathrm { - }$ TopSim, while other threshold correspond to WTopSim. Each data point is averaged over random seeds and shaded regions represent one SEM. "
918
+ ],
919
+ "image_footnote": [],
920
+ "bbox": [
921
+ 178,
922
+ 377,
923
+ 488,
924
+ 554
925
+ ],
926
+ "page_idx": 7
927
+ },
928
+ {
929
+ "type": "image",
930
+ "img_path": "images/4208bf277ad61eafa64d1415bc53cdc7f4d932805435b576bf35d0bf1b1f2052.jpg",
931
+ "image_caption": [
932
+ "Figure 8: hypo-boundary-based W-TopSim compared to random-boundary-based W-TopSim in successful languages for $( n _ { a t t } , n _ { v a l } ) = ( 2 , 6 4 )$ . Each data point is averaged over random seeds and shaded regions represent one SEM. "
933
+ ],
934
+ "image_footnote": [],
935
+ "bbox": [
936
+ 508,
937
+ 377,
938
+ 818,
939
+ 554
940
+ ],
941
+ "page_idx": 7
942
+ },
943
+ {
944
+ "type": "text",
945
+ "text": "",
946
+ "bbox": [
947
+ 142,
948
+ 665,
949
+ 826,
950
+ 763
951
+ ],
952
+ "page_idx": 7
953
+ },
954
+ {
955
+ "type": "text",
956
+ "text": "6.4 Further Investigation: Word Length and Word Frequency ",
957
+ "text_level": 1,
958
+ "bbox": [
959
+ 161,
960
+ 780,
961
+ 617,
962
+ 795
963
+ ],
964
+ "page_idx": 7
965
+ },
966
+ {
967
+ "type": "text",
968
+ "text": "The results so far are related to compositionality of emergent languages [e.g., Kottur et al., 2017]. In this section, we further associate our results with previous discussions on Zipf’s law of abbreviation (ZLA) in emergent languages [Chaabouni et al., 2019, Rita et al., 2020, Ueda and Washio, 2021]. ZLA is known as a statistical property in natural languages that the more frequently a word is used, ",
969
+ "bbox": [
970
+ 173,
971
+ 805,
972
+ 825,
973
+ 861
974
+ ],
975
+ "page_idx": 7
976
+ },
977
+ {
978
+ "type": "text",
979
+ "text": "288 the shorter it is [Zipf, 1935]. By considering hypo-segments as “words,” we can check whether \n289 hypo-segments follow ZLA. Figure 9 shows the hypo-segment lengths sorted by frequency rank for \n290 $( \\ddot { n _ { a t t } } , \\bar { n _ { v a l } } ) = ( 1 , 4 0 9 6 )$ .14 If hypo-segments follow ZLA ideally, they should show a monotonic \n291 increase. The distribution of the lengths of the hypo-segments shows a clear ZLA-like tendency for \n292 threshold $\\in \\{ 0 , 0 . 5 \\}$ , although the tendencies are less clear for the other threshold.15 It means that \n293 hypo-segments follow ZLA with an appropriate threshold value. Other $( n _ { a t t } , n _ { v a l } )$ configurations \n294 show similar tendencies (see Appendix C). ",
980
+ "bbox": [
981
+ 140,
982
+ 92,
983
+ 825,
984
+ 189
985
+ ],
986
+ "page_idx": 8
987
+ },
988
+ {
989
+ "type": "text",
990
+ "text": "295 7 Discussion ",
991
+ "text_level": 1,
992
+ "bbox": [
993
+ 151,
994
+ 212,
995
+ 292,
996
+ 228
997
+ ],
998
+ "page_idx": 8
999
+ },
1000
+ {
1001
+ "type": "text",
1002
+ "text": "In Section 6.1, we showed that the conditional entropy $H ( n )$ decreases monotonically in emergent languages, confirming Q1. In Section 6.2, we demonstrated that the branching entropy $h ( s )$ repeatedly falls and rises in emergent languages, which confirms Q2. It is an intriguing result, considering the discussions of Kharitonov et al. [2020], who showed that the entropy decreases to the minimum for successful communication if the message length $k = 1$ . In contrast, our results suggest that the (branching) entropy does not simply fall to the minimum when the message length $k$ is longer. However, in Section 6.3, our results indicate that the hypo-boundaries may not be meaningful since Q3-1, Q3-2, and Q3-3 were falsified. ",
1003
+ "bbox": [
1004
+ 174,
1005
+ 246,
1006
+ 485,
1007
+ 465
1008
+ ],
1009
+ "page_idx": 8
1010
+ },
1011
+ {
1012
+ "type": "image",
1013
+ "img_path": "images/42c0f8bdebb211ba6d62d3cf8b9198a89d2f62e99463fb41d4b0065427d67a66.jpg",
1014
+ "image_caption": [
1015
+ "Figure 9: Hypo-segment lengths sorted by frequency rank for $( n _ { a t t } , n _ { v a l } ) \\stackrel { - } { = } ( 1 , 4 0 9 6 )$ . Each data point is averaged over random seeds and shaded regions represent one SEM. "
1016
+ ],
1017
+ "image_footnote": [],
1018
+ "bbox": [
1019
+ 500,
1020
+ 214,
1021
+ 818,
1022
+ 378
1023
+ ],
1024
+ "page_idx": 8
1025
+ },
1026
+ {
1027
+ "type": "text",
1028
+ "text": "312 Nevertheless, hypo-boundaries may not be completely meaningless either. This is because the \n313 hypo-boundary-based W-TopSim is higher than the random-boundary-based W-TopSim. It suggests \n314 that HAS-based boundary detection worked to some extent. In addition, the hypo-segments show \n315 ZLA-like tendencies with certain threshold values. This is a suggestive result because we neither \n316 imposed a length penalty on messages [Chaabouni et al., 2020], modeled the laziness/impatience of \n317 agents [Rita et al., 2020], nor modeled short-term memories [Ueda and Washio, 2021]. Of course, it \n318 is important to note that it may be just an artifact, analogous to the fact that even a monkey typing \n319 sequence divided by the “white space” follows ZLA [Miller, 1957]. \n320 This paper showed that there is a gap between emergent and natural languages in terms of word \n321 segmentation. There are some potential methods to bridge the gap. For example, several methods \n322 have been proposed to facilitate the compositionality of emergent languages, such as iterated learning \n323 [Ren et al., 2020], the ease-of-teaching paradigm [Li and Bowling, 2019], and concept game [Mu and \n324 Goodman, 2021]. The regularizations for ZLA mentioned above might also help for this purpose. \n325 These are left for future work. ",
1029
+ "bbox": [
1030
+ 142,
1031
+ 472,
1032
+ 825,
1033
+ 583
1034
+ ],
1035
+ "page_idx": 8
1036
+ },
1037
+ {
1038
+ "type": "text",
1039
+ "text": "",
1040
+ "bbox": [
1041
+ 142,
1042
+ 590,
1043
+ 825,
1044
+ 672
1045
+ ],
1046
+ "page_idx": 8
1047
+ },
1048
+ {
1049
+ "type": "text",
1050
+ "text": "26 8 Conclusion ",
1051
+ "text_level": 1,
1052
+ "bbox": [
1053
+ 156,
1054
+ 696,
1055
+ 297,
1056
+ 713
1057
+ ],
1058
+ "page_idx": 8
1059
+ },
1060
+ {
1061
+ "type": "text",
1062
+ "text": "In this paper, we investigated whether Harris’s articulation scheme (HAS) also holds in emergent languages. Emergent languages are artificial communication protocols emerging between agents, while HAS is a statistical universal in natural languages. HAS can be used for unsupervised word segmentation. Our experimental results suggest that although emergent languages satisfy some prerequisites for HAS, HAS-based word boundaries may not be meaningful. Our contributions are (1) to focus on the word segmentation of emergent languages, (2) to pose verifiable questions to answer whether emergent languages have meaningful segments, and (3) to show another gap between emergent and natural languages. It is left for future work to bridge the gap between emergent and natural languages in terms of HAS. ",
1063
+ "bbox": [
1064
+ 173,
1065
+ 729,
1066
+ 825,
1067
+ 854
1068
+ ],
1069
+ "page_idx": 8
1070
+ },
1071
+ {
1072
+ "type": "text",
1073
+ "text": "References ",
1074
+ "text_level": 1,
1075
+ "bbox": [
1076
+ 169,
1077
+ 90,
1078
+ 266,
1079
+ 106
1080
+ ],
1081
+ "page_idx": 9
1082
+ },
1083
+ {
1084
+ "type": "text",
1085
+ "text": "Jacob Andreas. Measuring compositionality in representation learning. In 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenReview.net, 2019. URL https://openreview.net/forum?id=HJz05o0qK7. ",
1086
+ "bbox": [
1087
+ 171,
1088
+ 114,
1089
+ 823,
1090
+ 157
1091
+ ],
1092
+ "page_idx": 9
1093
+ },
1094
+ {
1095
+ "type": "text",
1096
+ "text": "Timothy C. Bell, John G. Cleary, and Ian H. Witten. Text Compression. Prentice-Hall, Inc., 1990. ",
1097
+ "bbox": [
1098
+ 160,
1099
+ 169,
1100
+ 812,
1101
+ 184
1102
+ ],
1103
+ "page_idx": 9
1104
+ },
1105
+ {
1106
+ "type": "text",
1107
+ "text": "Diane Bouchacourt and Marco Baroni. How agents see things: On visual representations in an emergent language game. In Ellen Riloff, David Chiang, Julia Hockenmaier, and Jun’ichi Tsujii, editors, Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, Brussels, Belgium, October 31 - November 4, 2018, pages 981–985. Association for Computational Linguistics, 2018. URL https://doi.org/10.18653/v1/d18-1119. ",
1108
+ "bbox": [
1109
+ 171,
1110
+ 196,
1111
+ 823,
1112
+ 266
1113
+ ],
1114
+ "page_idx": 9
1115
+ },
1116
+ {
1117
+ "type": "text",
1118
+ "text": "46 Henry Brighton and Simon Kirby. Understanding linguistic evolution by visualizing the emergence \n47 of topographic mappings. Artif. Life, 12(2):229–242, 2006. URL https://doi.org/10.1162/ \n48 artl.2006.12.2.229. \n349 Rahma Chaabouni, Eugene Kharitonov, Emmanuel Dupoux, and Marco Baroni. Anti-efficient \n350 encoding in emergent communication. In Hanna M. Wallach, Hugo Larochelle, Alina \n351 Beygelzimer, Florence d’Alché-Buc, Emily B. Fox, and Roman Garnett, editors, Advances \n352 in Neural Information Processing Systems 32: Annual Conference on Neural Information \n353 Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, \n354 pages 6290–6300, 2019. URL https://proceedings.neurips.cc/paper/2019/hash/ \n355 31ca0ca71184bbdb3de7b20a51e88e90-Abstract.html. \n356 Rahma Chaabouni, Eugene Kharitonov, Diane Bouchacourt, Emmanuel Dupoux, and Marco Baroni. \n357 Compositionality and generalization in emergent languages. In Dan Jurafsky, Joyce Chai, Natalie \n358 Schluter, and Joel R. Tetreault, editors, Proceedings of the 58th Annual Meeting of the Association \n359 for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 4427–4442. Association \n360 for Computational Linguistics, 2020. URL https://doi.org/10.18653/v1/2020.acl-main. \n361 407. \n362 Kyunghyun Cho, Bart van Merrienboer, Çaglar Gülçehre, Dzmitry Bahdanau, Fethi Bougares, Holger \n363 Schwenk, and Yoshua Bengio. Learning phrase representations using RNN encoder-decoder for \n364 statistical machine translation. In Alessandro Moschitti, Bo Pang, and Walter Daelemans, editors, \n365 Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing, \n366 EMNLP 2014, October 25-29, 2014, Doha, Qatar, A meeting of SIGDAT, a Special Interest Group \n367 of the ACL, pages 1724–1734. ACL, 2014. URL https://doi.org/10.3115/v1/d14-1179. \n368 Thomas M. Cover and Joy A. Thomas. Elements of Information Theory (Wiley Series in Telecommu \n369 nications and Signal Processing). Wiley-Interscience, 2006. \n370 Gautier Dagan, Dieuwke Hupkes, and Elia Bruni. Co-evolution of language and agents in referential \n371 games. In Paola Merlo, Jörg Tiedemann, and Reut Tsarfaty, editors, Proceedings of the 16th \n372 Conference of the European Chapter of the Association for Computational Linguistics: Main \n373 Volume, EACL 2021, Online, April 19 - 23, 2021, pages 2993–3004. Association for Computational \n374 Linguistics, 2021. URL https://aclanthology.org/2021.eacl-main.260/. \n375 Jakob N. Foerster, Yannis M. Assael, Nando de Freitas, and Shimon Whiteson. Learning to com \n376 municate with deep multi-agent reinforcement learning. In Daniel D. Lee, Masashi Sugiyama, \n377 Ulrike von Luxburg, Isabelle Guyon, and Roman Garnett, editors, Advances in Neural Information \n378 Processing Systems 29: Annual Conference on Neural Information Processing Systems 2016, \n379 December 5-10, 2016, Barcelona, Spain, pages 2137–2145, 2016. URL https://proceedings. \n380 neurips.cc/paper/2016/hash/c7635bfd99248a2cdef8249ef7bfbef4-Abstract.html. \n381 Katerina T. Frantzi and Sophia Ananiadou. Extracting nested collocations. In 16th International \n382 Conference on Computational Linguistics, Proceedings of the Conference, COLING 1996, Center \n383 for Sprogteknologi, Copenhagen, Denmark, August 5-9, 1996, pages 41–46, 1996. URL https: \n384 //aclanthology.org/C96-1009/. \n385 Laura Graesser, Kyunghyun Cho, and Douwe Kiela. Emergent linguistic phenomena in multi-agent \n386 communication games. In Kentaro Inui, Jing Jiang, Vincent $\\mathrm { N g }$ , and Xiaojun Wan, editors, \n387 Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing \n388 and the 9th International Joint Conference on Natural Language Processing, EMNLP-IJCNLP \n389 2019, Hong Kong, China, November 3-7, 2019, pages 3698–3708. Association for Computational \n390 Linguistics, 2019. URL https://doi.org/10.18653/v1/D19-1384. \n391 Zellig S. Harris. Distributional structure. WORD, 10(23):146–162, 1954. \n392 Zellig S. Harris. From phoneme to morpheme. Language, 31(2):190–222, 1955. URL http: \n393 //www.jstor.org/stable/411036. \n394 André Kempe. Experiments in unsupervised entropy-based corpus segmentation. In Miles Osborne \n395 and Erik F. Tjong Kim Sang, editors, Proceedings of the 1999 Workshop on Computational Natural \n396 Language Learning, CoNLL-99, Held in cooperation with EACL’99, Bergen, Norway, June 12, \n397 1999, pages 7–13. ACL, 1999. URL https://aclanthology.org/W99-0702/. \n398 Eugene Kharitonov, Rahma Chaabouni, Diane Bouchacourt, and Marco Baroni. EGG: a toolkit for \n399 research on emergence of language in games. In Sebastian Padó and Ruihong Huang, editors, \n400 Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and \n401 the 9th International Joint Conference on Natural Language Processing, EMNLP-IJCNLP 2019, \n402 Hong Kong, China, November 3-7, 2019 - System Demonstrations, pages 55–60. Association for \n403 Computational Linguistics, 2019. URL https://doi.org/10.18653/v1/D19-3010. \n404 Eugene Kharitonov, Rahma Chaabouni, Diane Bouchacourt, and Marco Baroni. Entropy minimization \n405 in emergent languages. In Proceedings of the 37th International Conference on Machine Learning, \n406 ICML 2020, 13-18 July 2020, Virtual Event, volume 119 of Proceedings of Machine Learning \n407 Research, pages 5220–5230. PMLR, 2020. URL http://proceedings.mlr.press/v119/ \n408 kharitonov20a.html. \n409 Simon Kirby. Spontaneous evolution of linguistic structure-an iterated learning model of the emer \n410 gence of regularity and irregularity. IEEE Trans. Evol. Comput., 5(2):102–110, 2001. URL \n411 https://doi.org/10.1109/4235.918430. \n412 Satwik Kottur, José M. F. Moura, Stefan Lee, and Dhruv Batra. Natural language does not emerge \n413 ’naturally’ in multi-agent dialog. In Martha Palmer, Rebecca Hwa, and Sebastian Riedel, editors, \n414 Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, \n415 EMNLP 2017, Copenhagen, Denmark, September 9-11, 2017, pages 2962–2967. Association for \n416 Computational Linguistics, 2017. URL https://doi.org/10.18653/v1/d17-1321. \n417 Angeliki Lazaridou and Marco Baroni. Emergent multi-agent communication in the deep learning \n418 era. CoRR, abs/2006.02419, 2020. URL https://arxiv.org/abs/2006.02419. \n419 Angeliki Lazaridou, Karl Moritz Hermann, Karl Tuyls, and Stephen Clark. Emergence of linguistic \n420 communication from referential games with symbolic and pixel input. In 6th International \n421 Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada, April 30 - May 3, \n422 2018, Conference Track Proceedings. OpenReview.net, 2018. URL https://openreview.net/ \n423 forum?id=HJGv1Z-AW. \n424 Angeliki Lazaridou, Anna Potapenko, and Olivier Tieleman. Multi-agent communication meets \n425 natural language: Synergies between functional and structural language learning. In Dan Jurafsky, \n426 Joyce Chai, Natalie Schluter, and Joel R. Tetreault, editors, Proceedings of the 58th Annual Meeting \n427 of the Association for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 7663– \n428 7674. Association for Computational Linguistics, 2020. URL https://doi.org/10.18653/ \n429 v1/2020.acl-main.685. \n430 David K. Lewis. Convention: A Philosophical Study. Wiley-Blackwell, 1969. \n431 Fushan Li and Michael Bowling. Ease-of-teaching and language structure from emergent commu \n432 nication. In Hanna M. Wallach, Hugo Larochelle, Alina Beygelzimer, Florence d’Alché-Buc, \n433 Emily B. Fox, and Roman Garnett, editors, Advances in Neural Information Processing Systems \n434 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December \n435 8-14, 2019, Vancouver, BC, Canada, pages 15825–15835, 2019. URL https://proceedings. \n436 neurips.cc/paper/2019/hash/b0cf188d74589db9b23d5d277238a929-Abstract.html. \n437 Ryan Lowe, Jakob N. Foerster, Y-Lan Boureau, Joelle Pineau, and Yann N. Dauphin. On the pitfalls \n438 of measuring emergent communication. In Edith Elkind, Manuela Veloso, Noa Agmon, and \n439 Matthew E. Taylor, editors, Proceedings of the 18th International Conference on Autonomous \n440 Agents and MultiAgent Systems, AAMAS ’19, Montreal, QC, Canada, May 13-17, 2019, pages \n441 693–701. International Foundation for Autonomous Agents and Multiagent Systems, 2019. URL \n442 http://dl.acm.org/citation.cfm?id $\\equiv$ 3331757. \n443 André Martinet. Éléments de linguistique générale. Armand Colin, 1960. \n444 George A. Miller. Some effects of intermittent silence. The American Journal of Psychology, 70(2): \n445 311–314, 1957. URL http://www.jstor.org/stable/1419346. \n446 Igor Mordatch and Pieter Abbeel. Emergence of grounded compositional language in multi-agent \n447 populations. In Sheila A. McIlraith and Kilian Q. Weinberger, editors, Proceedings of the Thirty \n448 Second AAAI Conference on Artificial Intelligence, (AAAI-18), the 30th innovative Applications of \n449 Artificial Intelligence (IAAI-18), and the 8th AAAI Symposium on Educational Advances in Artificial \n450 Intelligence (EAAI-18), New Orleans, Louisiana, USA, February 2-7, 2018, pages 1495–1502. \n451 AAAI Press, 2018. URL https://www.aaai.org/ocs/index.php/AAAI/AAAI18/paper/ \n452 view/17007. \n453 Jesse Mu and Noah D. Goodman. Emergent communication of generalizations. In Marc’Aurelio \n454 Ranzato, Alina Beygelzimer, Yann N. Dauphin, Percy Liang, and Jennifer Wortman Vaughan, \n455 editors, Advances in Neural Information Processing Systems 34: Annual Conference on Neu \n456 ral Information Processing Systems 2021, NeurIPS 2021, December 6-14, 2021, virtual, \n457 pages 17994–18007, 2021. URL https://proceedings.neurips.cc/paper/2021/hash/ \n458 9597353e41e6957b5e7aa79214fcb256-Abstract.html. \n459 Yi Ren, Shangmin Guo, Matthieu Labeau, Shay B. Cohen, and Simon Kirby. Compositional \n460 languages emerge in a neural iterated learning model. In 8th International Conference on Learning \n461 Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net, 2020. \n462 URL https://openreview.net/forum?id=HkePNpVKPB. \n463 Mathieu Rita, Rahma Chaabouni, and Emmanuel Dupoux. \"lazimpa\": Lazy and impatient neural \n464 agents learn to communicate efficiently. In Raquel Fernández and Tal Linzen, editors, Proceedings \n465 of the 24th Conference on Computational Natural Language Learning, CoNLL 2020, Online, \n466 November 19-20, 2020, pages 335–343. Association for Computational Linguistics, 2020. URL \n467 https://doi.org/10.18653/v1/2020.conll-1.26. \n468 John Schulman, Nicolas Heess, Theophane Weber, and Pieter Abbeel. Gradient estimation using \n469 stochastic computation graphs. In Corinna Cortes, Neil D. Lawrence, Daniel D. Lee, Masashi \n470 Sugiyama, and Roman Garnett, editors, Advances in Neural Information Processing Systems \n471 28: Annual Conference on Neural Information Processing Systems 2015, December 7-12, 2015, \n472 Montreal, Quebec, Canada, pages 3528–3536, 2015. URL https://proceedings.neurips. \n473 cc/paper/2015/hash/de03beffeed9da5f3639a621bcab5dd4-Abstract.html. \n474 Kumiko Tanaka-Ishii. Entropy as an indicator of context boundaries: An experiment using a web \n475 search engine. In Robert Dale, Kam-Fai Wong, Jian Su, and Oi Yee Kwong, editors, Natural \n476 Language Processing - IJCNLP 2005, Second International Joint Conference, Jeju Island, Korea, \n477 October 11-13, 2005, Proceedings, volume 3651 of Lecture Notes in Computer Science, pages \n478 93–105. Springer, 2005. URL https://doi.org/10.1007/11562214_9. \n479 Kumiko Tanaka-Ishii. Articulation of Elements, pages 115–124. Springer International Publishing, \n480 Cham, 2021. URL https://doi.org/10.1007/978-3-030-59377-3_11. \n481 Kumiko Tanaka-Ishii and Yuichiro Ishii. Multilingual phrase-based concordance genera \n482 tion in real-time. Inf. Retr., 10(3):275–295, 2007. URL https://doi.org/10.1007/ \n483 s10791-006-9021-5. \n484 Kumiko Tanaka-Ishii and Zhihui Jin. From phoneme to morpheme: Another verification using a \n485 corpus. In Yuji Matsumoto, Richard Sproat, Kam-Fai Wong, and Min Zhang, editors, Computer \n486 Processing of Oriental Languages. Beyond the Orient: The Research Challenges Ahead, 21st \n487 International Conference, ICCPOL 2006, Singapore, December 17-19, 2006, Proceedings, volume ",
1119
+ "bbox": [
1120
+ 150,
1121
+ 279,
1122
+ 826,
1123
+ 320
1124
+ ],
1125
+ "page_idx": 9
1126
+ },
1127
+ {
1128
+ "type": "text",
1129
+ "text": "",
1130
+ "bbox": [
1131
+ 140,
1132
+ 333,
1133
+ 826,
1134
+ 430
1135
+ ],
1136
+ "page_idx": 9
1137
+ },
1138
+ {
1139
+ "type": "text",
1140
+ "text": "",
1141
+ "bbox": [
1142
+ 140,
1143
+ 443,
1144
+ 828,
1145
+ 526
1146
+ ],
1147
+ "page_idx": 9
1148
+ },
1149
+ {
1150
+ "type": "text",
1151
+ "text": "",
1152
+ "bbox": [
1153
+ 140,
1154
+ 540,
1155
+ 825,
1156
+ 623
1157
+ ],
1158
+ "page_idx": 9
1159
+ },
1160
+ {
1161
+ "type": "text",
1162
+ "text": "",
1163
+ "bbox": [
1164
+ 148,
1165
+ 636,
1166
+ 825,
1167
+ 665
1168
+ ],
1169
+ "page_idx": 9
1170
+ },
1171
+ {
1172
+ "type": "text",
1173
+ "text": "",
1174
+ "bbox": [
1175
+ 142,
1176
+ 676,
1177
+ 825,
1178
+ 747
1179
+ ],
1180
+ "page_idx": 9
1181
+ },
1182
+ {
1183
+ "type": "text",
1184
+ "text": "",
1185
+ "bbox": [
1186
+ 140,
1187
+ 760,
1188
+ 826,
1189
+ 843
1190
+ ],
1191
+ "page_idx": 9
1192
+ },
1193
+ {
1194
+ "type": "text",
1195
+ "text": "",
1196
+ "bbox": [
1197
+ 142,
1198
+ 856,
1199
+ 826,
1200
+ 912
1201
+ ],
1202
+ "page_idx": 9
1203
+ },
1204
+ {
1205
+ "type": "text",
1206
+ "text": "",
1207
+ "bbox": [
1208
+ 120,
1209
+ 90,
1210
+ 828,
1211
+ 929
1212
+ ],
1213
+ "page_idx": 10
1214
+ },
1215
+ {
1216
+ "type": "text",
1217
+ "text": "",
1218
+ "bbox": [
1219
+ 140,
1220
+ 90,
1221
+ 826,
1222
+ 175
1223
+ ],
1224
+ "page_idx": 11
1225
+ },
1226
+ {
1227
+ "type": "text",
1228
+ "text": "",
1229
+ "bbox": [
1230
+ 122,
1231
+ 108,
1232
+ 828,
1233
+ 928
1234
+ ],
1235
+ "page_idx": 11
1236
+ },
1237
+ {
1238
+ "type": "text",
1239
+ "text": "4285 of Lecture Notes in Computer Science, pages 234–244. Springer, 2006. URL https: //doi.org/10.1007/11940098_25. ",
1240
+ "bbox": [
1241
+ 153,
1242
+ 92,
1243
+ 825,
1244
+ 119
1245
+ ],
1246
+ "page_idx": 12
1247
+ },
1248
+ {
1249
+ "type": "text",
1250
+ "text": "Kumiko Tanaka-Ishii and Zhihui Jin. From phoneme to morpheme — another verification in english and chinese using corpora —. Studia Linguistica, 62(2):224–248, 2008. URL https: //doi.org/10.1111/j.1467-9582.2007.00138.x. ",
1251
+ "bbox": [
1252
+ 155,
1253
+ 128,
1254
+ 823,
1255
+ 171
1256
+ ],
1257
+ "page_idx": 12
1258
+ },
1259
+ {
1260
+ "type": "text",
1261
+ "text": "Ryo Ueda and Koki Washio. On the relationship between zipf’s law of abbreviation and interfering noise in emergent languages. In Jad Kabbara, Haitao Lin, Amandalynne Paullada, and Jannis Vamvas, editors, Proceedings of the ACL-IJCNLP 2021 Student Research Workshop, ACL 2021, Online, JUli 5-10, 2021, pages 60–70. Association for Computational Linguistics, 2021. URL https://aclanthology.org/2021.acl-srw.6. ",
1262
+ "bbox": [
1263
+ 174,
1264
+ 179,
1265
+ 825,
1266
+ 251
1267
+ ],
1268
+ "page_idx": 12
1269
+ },
1270
+ {
1271
+ "type": "text",
1272
+ "text": "Oskar van der Wal, Silvan de Boer, Elia Bruni, and Dieuwke Hupkes. The grammar of emergent languages. In Bonnie Webber, Trevor Cohn, Yulan He, and Yang Liu, editors, Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, EMNLP 2020, Online, November 16-20, 2020, pages 3339–3359. Association for Computational Linguistics, 2020. URL https://doi.org/10.18653/v1/2020.emnlp-main.270. ",
1273
+ "bbox": [
1274
+ 176,
1275
+ 258,
1276
+ 825,
1277
+ 329
1278
+ ],
1279
+ "page_idx": 12
1280
+ },
1281
+ {
1282
+ "type": "text",
1283
+ "text": "Ronald J. Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Mach. Learn., 8:229–256, 1992. URL https://doi.org/10.1007/BF00992696. ",
1284
+ "bbox": [
1285
+ 178,
1286
+ 338,
1287
+ 821,
1288
+ 367
1289
+ ],
1290
+ "page_idx": 12
1291
+ },
1292
+ {
1293
+ "type": "text",
1294
+ "text": "George K. Zipf. The psycho-biology of language. Houghton Mifflin, 1935. ",
1295
+ "bbox": [
1296
+ 165,
1297
+ 375,
1298
+ 665,
1299
+ 391
1300
+ ],
1301
+ "page_idx": 12
1302
+ },
1303
+ {
1304
+ "type": "text",
1305
+ "text": "Checklist ",
1306
+ "text_level": 1,
1307
+ "bbox": [
1308
+ 173,
1309
+ 416,
1310
+ 254,
1311
+ 431
1312
+ ],
1313
+ "page_idx": 12
1314
+ },
1315
+ {
1316
+ "type": "text",
1317
+ "text": "1. For all authors... ",
1318
+ "bbox": [
1319
+ 214,
1320
+ 443,
1321
+ 339,
1322
+ 457
1323
+ ],
1324
+ "page_idx": 12
1325
+ },
1326
+ {
1327
+ "type": "text",
1328
+ "text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] \n(b) Did you describe the limitations of your work? [Yes] See Section 7. \n(c) Did you discuss any potential negative societal impacts of your work? [No] The main point of this paper is analysis of artificially emerging languages without human participants. It is hard to imagine that it has a direct negative impact on society. However, our paper may have to do with energy issues, since we used GPU. We wrote about the GPU resource in Section 5.2. \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
1329
+ "bbox": [
1330
+ 238,
1331
+ 460,
1332
+ 825,
1333
+ 607
1334
+ ],
1335
+ "page_idx": 12
1336
+ },
1337
+ {
1338
+ "type": "text",
1339
+ "text": "2. If you are including theoretical results... ",
1340
+ "bbox": [
1341
+ 215,
1342
+ 611,
1343
+ 493,
1344
+ 626
1345
+ ],
1346
+ "page_idx": 12
1347
+ },
1348
+ {
1349
+ "type": "text",
1350
+ "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] ",
1351
+ "bbox": [
1352
+ 236,
1353
+ 630,
1354
+ 738,
1355
+ 661
1356
+ ],
1357
+ "page_idx": 12
1358
+ },
1359
+ {
1360
+ "type": "text",
1361
+ "text": "3. If you ran experiments... ",
1362
+ "bbox": [
1363
+ 214,
1364
+ 666,
1365
+ 393,
1366
+ 680
1367
+ ],
1368
+ "page_idx": 12
1369
+ },
1370
+ {
1371
+ "type": "text",
1372
+ "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] Our implementation code is uploaded on Anonymous Github. See Section 5.2. \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] See Section 5.1. \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] Error bars are necessary in Figure 5, Figure 6, Figure 7, Figure 8, and Figure 9 and are reported in all of them. \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] See Section 5.2 ",
1373
+ "bbox": [
1374
+ 238,
1375
+ 684,
1376
+ 825,
1377
+ 830
1378
+ ],
1379
+ "page_idx": 12
1380
+ },
1381
+ {
1382
+ "type": "text",
1383
+ "text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
1384
+ "bbox": [
1385
+ 215,
1386
+ 834,
1387
+ 823,
1388
+ 849
1389
+ ],
1390
+ "page_idx": 12
1391
+ },
1392
+ {
1393
+ "type": "text",
1394
+ "text": "(a) If your work uses existing assets, did you cite the creators? [Yes] Our implementation code depends on the EGG toolkit [Kharitonov et al., 2019]. See Section 5.2. \n(b) Did you mention the license of the assets? [Yes] The EGG toolkit is published under MIT License. See Section 5.2. \n(c) Did you include any new assets either in the supplemental material or as a URL? [Yes] Our implementation code is uploaded on Anonymous Github. See Section 5.2. \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [No] We only used artificial data for experiments. \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [No] We only used artificial data for experiments. ",
1395
+ "bbox": [
1396
+ 238,
1397
+ 853,
1398
+ 825,
1399
+ 911
1400
+ ],
1401
+ "page_idx": 12
1402
+ },
1403
+ {
1404
+ "type": "text",
1405
+ "text": "",
1406
+ "bbox": [
1407
+ 238,
1408
+ 92,
1409
+ 823,
1410
+ 180
1411
+ ],
1412
+ "page_idx": 13
1413
+ },
1414
+ {
1415
+ "type": "text",
1416
+ "text": "5. If you used crowdsourcing or conducted research with human subjects... ",
1417
+ "bbox": [
1418
+ 214,
1419
+ 184,
1420
+ 705,
1421
+ 199
1422
+ ],
1423
+ "page_idx": 13
1424
+ },
1425
+ {
1426
+ "type": "text",
1427
+ "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] ",
1428
+ "bbox": [
1429
+ 238,
1430
+ 203,
1431
+ 825,
1432
+ 292
1433
+ ],
1434
+ "page_idx": 13
1435
+ }
1436
+ ]
parse/dev/pOEN7dDC0d/pOEN7dDC0d_middle.json ADDED
The diff for this file is too large to render. See raw diff