ZHANGYUXUAN-zR commited on
Commit
23c037c
·
verified ·
1 Parent(s): 707344f

Add files using upload-large-folder tool

Browse files
parse/dev/4G1Sfp_1sz7/4G1Sfp_1sz7_content_list.json ADDED
@@ -0,0 +1,1396 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Generating Training Data with Language Models: Towards Zero-Shot Language Understanding ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 200,
8
+ 122,
9
+ 803,
10
+ 172
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Yu Meng, Jiaxin Huang, Yu Zhang, Jiawei Han Department of Computer Science, University of Illinois at Urbana-Champaign {yumeng5,jiaxinh3,yuz9,hanj}@illinois.edu ",
17
+ "bbox": [
18
+ 241,
19
+ 224,
20
+ 754,
21
+ 268
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Abstract ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 462,
31
+ 303,
32
+ 535,
33
+ 319
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Pretrained language models (PLMs) have demonstrated remarkable performance in various natural language processing tasks: Unidirectional PLMs (e.g., GPT) are well known for their superior text generation capabilities; bidirectional PLMs (e.g., BERT) have been the prominent choice for natural language understanding (NLU) tasks. While both types of models have achieved promising few-shot learning performance, their potential for zero-shot learning has been underexplored. In this paper, we present a simple approach that uses both types of PLMs for fully zero-shot learning of NLU tasks without requiring any task-specific data: A unidirectional PLM generates class-conditioned texts guided by prompts, which are used as the training data for fine-tuning a bidirectional PLM. With quality training data selected based on the generation probability and regularization techniques (label smoothing and temporal ensembling) applied to the fine-tuning stage for better generalization and stability, our approach demonstrates strong performance across seven classification tasks of the GLUE benchmark (e.g., 72.3/73.8 on MNLI- $. \\mathrm { m } / \\mathrm { m m }$ and 92.8 on SST-2), significantly outperforming zero-shot prompting methods and achieving even comparable results to strong few-shot approaches using 32 training samples per class1. ",
40
+ "bbox": [
41
+ 233,
42
+ 335,
43
+ 766,
44
+ 563
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 Introduction ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 174,
54
+ 592,
55
+ 310,
56
+ 608
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Pretrained language models (PLMs) [5, 8, 11, 19, 34, 40, 41] have achieved human-level performance on natural language understanding (NLU) tasks [66, 67] when fine-tuned on a large amount of task-specific training data. However, such a supervised fine-tuning paradigm is drastically different from how humans perform these tasks: We barely need to see many task-specific training samples to perform well. Recently, many studies have revealed the intriguing few-shot learning potential of PLMs: By converting task descriptions to natural language prompts and injecting them into PLMs, prompt-based approaches [5, 13, 55, 56, 59] leverage task-specific information for better training data efficiency and have achieved remarkable few-shot results. ",
63
+ "bbox": [
64
+ 174,
65
+ 623,
66
+ 825,
67
+ 731
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "When prompt-based methods are applied to the zero-shot setting, however, the PLMs’ predictions are much less accurate. For example, GPT-3’s zero-shot performance is much degraded relative to its few-shot performance [5], especially on challenging tasks like natural language inference (NLI). Without any task-specific samples, it is indeed challenging for PLMs to effectively interpret the prompts that come in different formats and are unseen in the pretraining data. To familiarize PLMs with various prompts for zero-shot generalization to unseen tasks, a recent study proposes instruction tuning [70], which fine-tunes PLMs on a large collection of different tasks described by instructions. Despite its strong performance, its success is grounded in the large number of cross-task annotated datasets (e.g., train on many non-NLI tasks and transfer to NLI tasks) and the gigantic model size (e.g., hundreds of billions of parameters), posing great challenges for training and using them. ",
74
+ "bbox": [
75
+ 174,
76
+ 736,
77
+ 825,
78
+ 869
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "In this work, we study zero-shot learning of PLMs on NLU tasks without any task-specific or crosstask data. Motivated by the strong text generation power of recent PLMs [5, 23, 30, 52], we propose SuperGen, a Supervision Generation approach, wherein training data are created via a unidirectional PLM (i.e., the generator) which generates class-conditioned texts guided by label-descriptive prompts. A bidirectional PLM (i.e., the classifier) is then fine-tuned on the generated texts to perform the corresponding task. Both PLMs can be of moderate size to fit in typical research hardware (e.g., a GPT-2-sized [51] generator and a RoBERTaLarge-sized [34] classifier). With supervision automatically created by the generator, SuperGen eliminates the need for task-specific annotations and provides the classifier PLM with a larger amount of training data than in few-shot scenarios. We call such a setting zero-shot because the entire process does not need any human annotated data, either from the target task or other tasks. The major difference from previous methods is that we synthesize training data for the target task, whereas existing zeros-shot methods do not use any form of training data from the test domain (but may train on other domains) and directly perform inference on the target task. ",
85
+ "bbox": [
86
+ 174,
87
+ 90,
88
+ 825,
89
+ 263
90
+ ],
91
+ "page_idx": 1
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "Across seven classification tasks of the GLUE benchmark [66], SuperGen significantly outperforms the prompt-based zero-shot method and even achieves an overall better result in both average performance and stability than strong few-shot approaches that use 32 annotated samples per class. We identify several key factors to the strong performance of SuperGen through ablation studies: (1) selecting quality training data based on their generated probability, and (2) using label smoothing and temporal ensembling to regularize fine-tuning on generated data. ",
96
+ "bbox": [
97
+ 174,
98
+ 270,
99
+ 825,
100
+ 351
101
+ ],
102
+ "page_idx": 1
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "2 Related Work ",
107
+ "text_level": 1,
108
+ "bbox": [
109
+ 174,
110
+ 371,
111
+ 321,
112
+ 387
113
+ ],
114
+ "page_idx": 1
115
+ },
116
+ {
117
+ "type": "text",
118
+ "text": "2.1 Few-Shot and Zero-Shot Learning with PLMs ",
119
+ "text_level": 1,
120
+ "bbox": [
121
+ 174,
122
+ 402,
123
+ 532,
124
+ 417
125
+ ],
126
+ "page_idx": 1
127
+ },
128
+ {
129
+ "type": "text",
130
+ "text": "Instead of using a large amount of annotated training data for fine-tuning PLMs on downstream tasks, few-shot learning studies how to better leverage only a small amount of task-specific training data, a more realistic scenario in many applications. The most strict few-shot learning setting does not assume access to any unlabeled data or large validation sets for hyperparameter tuning [48], where prompt-based methods [5, 13, 33, 35, 55–57, 59, 63, 84] are prominently deployed to inject task descriptions into PLMs and make effective use of their language modeling capability for improved training data efficiency in low-data regimes. More broadly, semi-supervised learning additionally leverages unlabeled task-specific data, where data augmentation [7, 73], regularization [43] and bootstrapping [56] methods are commonly used. ",
131
+ "bbox": [
132
+ 174,
133
+ 428,
134
+ 825,
135
+ 549
136
+ ],
137
+ "page_idx": 1
138
+ },
139
+ {
140
+ "type": "text",
141
+ "text": "Zero-shot learning, on the other hand, is a much more challenging setting with absolutely no access to any task-specific data. When prompt-based methods are directly used to obtain predictions from PLMs without any training, their zero-shot performance can be much worse [5, 13]—difficult NLU tasks can be barely formulated as prompts that resemble the format of pretraining data, posing great challenges for PLMs to accurately interpret and leverage the prompts without given any training samples. The current mainstream of zero-shot learning is based on transfer learning: By converting a set of tasks with abundant annotations into instruction templates [42, 54, 70, 74], entailment pairs [79, 80] or question-answer formats [50, 86] and fine-tuning PLMs on them, the PLMs acquire the cross-task transfer ability [78] to execute unseen tasks when they are formulated in a similar format. Our work proposes a different approach from these studies: We use a unidirectional PLM to generate training data for fine-tuning another PLM on the target task. This not only removes the need for a large amount of cross-task annotations, but also eliminates the task difference in training and inference. Moreover, different from previous studies [1, 76] that rely on labeled data to fine-tune the generative PLM, we directly use prompts to guide data generation without fine-tuning. ",
142
+ "bbox": [
143
+ 174,
144
+ 554,
145
+ 825,
146
+ 741
147
+ ],
148
+ "page_idx": 1
149
+ },
150
+ {
151
+ "type": "text",
152
+ "text": "2.2 Controlled Text Generation with PLMs ",
153
+ "text_level": 1,
154
+ "bbox": [
155
+ 174,
156
+ 758,
157
+ 486,
158
+ 773
159
+ ],
160
+ "page_idx": 1
161
+ },
162
+ {
163
+ "type": "text",
164
+ "text": "Controlled text generation [22] aims to steer the generated texts of language models towards desired contents, styles or domains. Through fine-tuning PLMs on attribute-specific data, high-level control (e.g., generating certain topics or sentiments [88]), fine-grained control (e.g., generating specific words or phrases [6]) or both [24] can be achieved. Adapting PLMs to generate texts of specific attributes can also be realized at inference time without any further training of the PLMs [10, 26, 27, 32, 47, 75]. Different text attributes can also be represented during pretraining time as control codes [23] which later can serve as explicit guidance for generating domain/attribute-specific texts. ",
165
+ "bbox": [
166
+ 174,
167
+ 784,
168
+ 825,
169
+ 878
170
+ ],
171
+ "page_idx": 1
172
+ },
173
+ {
174
+ "type": "text",
175
+ "text": "The idea of generating category-conditioned texts as training data has been explored for topic classification with bag-of-words or LSTM-based language models [38, 39], which may not have enough capacity to generate quality training data for challenging NLU tasks. With more powerful PLMs, the idea of using prompts as guidance has emerged recently: Since natural language generation is largely based on contexts, using certain prompts to start a sequence can effectively steer the subsequent texts to be generated. The prompts can be either in natural language [57] or as learnable parameters [31]. In this work, we also guide text generation via prompts, but for the novel purpose of creating training data for NLU tasks. There have been studies with similar goals, such as generating similar/dissimilar sentences for training sentence embeddings [58] and using labeled samples as demonstrations to prompt large PLMs [81] for creating novel training data. In this work, we explore generating training data without using any labeled samples for a wide range of different NLU tasks. The similar setting is also explored in a concurrent study [77]. Compared to annotated task-specific data, the generated texts may contain noise and have domain difference from the downstream task. We introduce several important strategies for effective fine-tuning on generated data. ",
176
+ "bbox": [
177
+ 174,
178
+ 883,
179
+ 820,
180
+ 911
181
+ ],
182
+ "page_idx": 1
183
+ },
184
+ {
185
+ "type": "image",
186
+ "img_path": "images/801aec59c9633f7891b483be336be9aeac6c924769ec046dea1586f20d530364.jpg",
187
+ "image_caption": [
188
+ "Figure 1: Overview of SuperGen for zero-shot learning of NLU tasks. A unidirectional PLM generates training data guided by label-descriptive prompts. Quality training samples are selected based on average log generation probability. A bidirectional PLM is fine-tuned on the selected training set with label smoothing and temporal ensembling as regularization to perform the classification task. "
189
+ ],
190
+ "image_footnote": [],
191
+ "bbox": [
192
+ 171,
193
+ 88,
194
+ 823,
195
+ 229
196
+ ],
197
+ "page_idx": 2
198
+ },
199
+ {
200
+ "type": "text",
201
+ "text": "",
202
+ "bbox": [
203
+ 173,
204
+ 305,
205
+ 825,
206
+ 465
207
+ ],
208
+ "page_idx": 2
209
+ },
210
+ {
211
+ "type": "text",
212
+ "text": "3 Method ",
213
+ "text_level": 1,
214
+ "bbox": [
215
+ 174,
216
+ 484,
217
+ 271,
218
+ 501
219
+ ],
220
+ "page_idx": 2
221
+ },
222
+ {
223
+ "type": "text",
224
+ "text": "3.1 Preliminaries ",
225
+ "text_level": 1,
226
+ "bbox": [
227
+ 174,
228
+ 513,
229
+ 307,
230
+ 529
231
+ ],
232
+ "page_idx": 2
233
+ },
234
+ {
235
+ "type": "text",
236
+ "text": "Problem Formulation. We consider solving a classification problem2 where we are only given the label space $\\mathcal { V }$ and a mapping $\\mathcal { M } : \\mathcal { V } \\to \\mathcal { W }$ that converts each label $y \\in \\mathcal { V }$ into a label-descriptive prompt (i.e., a short phrase) $\\pmb { w } _ { y } \\in \\mathcal { W }$ . We assume access to a unidirectional PLM $G _ { \\theta }$ as the generator and a bidirectional PLM $C _ { \\phi }$ which will be fine-tuned as the classifier3. We also assume the pretraining corpus $\\mathcal { D }$ (e.g., Wikipedia) is available. Fig. 1 shows an overview of our proposed SuperGen method. ",
237
+ "bbox": [
238
+ 174,
239
+ 539,
240
+ 825,
241
+ 609
242
+ ],
243
+ "page_idx": 2
244
+ },
245
+ {
246
+ "type": "text",
247
+ "text": "Text Generation with Unidirectional PLMs. A unidirectional PLM $G _ { \\theta }$ is pretrained to maximize the generation probability of each token in a sequence $\\pmb { x } = [ x _ { 1 } , x _ { 2 } , \\dots , x _ { n } ]$ conditioned on previous tokens: ",
248
+ "bbox": [
249
+ 174,
250
+ 622,
251
+ 825,
252
+ 661
253
+ ],
254
+ "page_idx": 2
255
+ },
256
+ {
257
+ "type": "equation",
258
+ "img_path": "images/4ea019cf8dc0d19f06b9134c4c0567944a1393816001656c406caffe618eada9.jpg",
259
+ "text": "$$\n\\operatorname* { m a x } _ { \\theta } \\prod _ { i = 1 } ^ { n } p _ { \\theta } ( x _ { i } | \\pmb { x } _ { < i } ) , \\quad \\mathrm { w h e r e } \\quad p _ { \\theta } ( x _ { i } | \\pmb { x } _ { < i } ) = \\frac { \\exp ( e _ { i } ^ { \\top } h _ { i } ) } { \\sum _ { j = 1 } ^ { | V | } \\exp ( e _ { j } ^ { \\top } h _ { i } ) } .\n$$",
260
+ "text_format": "latex",
261
+ "bbox": [
262
+ 279,
263
+ 659,
264
+ 717,
265
+ 700
266
+ ],
267
+ "page_idx": 2
268
+ },
269
+ {
270
+ "type": "text",
271
+ "text": "Here, $p _ { \\theta } ( \\cdot )$ is usually parameterized using token embeddings $e$ and contextualized embeddings $^ { h }$ given by a Transformer [65] encoder. ",
272
+ "bbox": [
273
+ 176,
274
+ 704,
275
+ 823,
276
+ 731
277
+ ],
278
+ "page_idx": 2
279
+ },
280
+ {
281
+ "type": "text",
282
+ "text": "After pretraining, $G _ { \\theta }$ can be directly used to generate new texts by recursively sampling tokens from its output probability distribution. Typically, a temperature hyperparameter $\\tau > 0$ is introduced during sampling [20] to adjust the sharpness of the probability distribution: ",
283
+ "bbox": [
284
+ 174,
285
+ 737,
286
+ 825,
287
+ 779
288
+ ],
289
+ "page_idx": 2
290
+ },
291
+ {
292
+ "type": "equation",
293
+ "img_path": "images/35046ab374c4ecaa3bf95be7bb40f4a99dbcd7f2284937d9d6c6e9064296eb64.jpg",
294
+ "text": "$$\np _ { \\theta } ( x _ { i } | \\pmb { x } _ { < i } ) = \\frac { \\exp ( \\pmb { e } _ { i } ^ { \\top } \\pmb { h } _ { i } / \\tau ) } { \\sum _ { j = 1 } ^ { | V | } \\exp ( \\pmb { e } _ { j } ^ { \\top } \\pmb { h } _ { i } / \\tau ) } ,\n$$",
295
+ "text_format": "latex",
296
+ "bbox": [
297
+ 377,
298
+ 784,
299
+ 619,
300
+ 825
301
+ ],
302
+ "page_idx": 2
303
+ },
304
+ {
305
+ "type": "text",
306
+ "text": "where $\\tau 0$ approximates greedily picking the most probable next token; $\\tau \\infty$ induces a uniform distribution. Additionally, sampled tokens can be confined to the top- $k$ most probable ones to avoid low-quality tokens. In this work, we find such top- $k$ sampling with temperature is sufficient to produce coherent and meaningful texts as training data for NLU tasks. Exploring more sophisticated sampling strategies [21] is left for future work. ",
307
+ "bbox": [
308
+ 174,
309
+ 90,
310
+ 825,
311
+ 159
312
+ ],
313
+ "page_idx": 3
314
+ },
315
+ {
316
+ "type": "text",
317
+ "text": "3.2 Training Data Generation ",
318
+ "text_level": 1,
319
+ "bbox": [
320
+ 174,
321
+ 174,
322
+ 393,
323
+ 189
324
+ ],
325
+ "page_idx": 3
326
+ },
327
+ {
328
+ "type": "text",
329
+ "text": "When given a label-descriptive prompt such as “Write a negative review:”, humans are able to produce texts pertaining to the corresponding class. We aim to leverage the strong text generation power of a unidirectional PLM $G _ { \\theta }$ for the same purpose of creating class-conditioned training data. We note that $G _ { \\theta }$ is directly used for generation without any parameter updates. The prompts used for different NLU tasks in GLUE are summarized in Table 1. ",
330
+ "bbox": [
331
+ 174,
332
+ 200,
333
+ 460,
334
+ 347
335
+ ],
336
+ "page_idx": 3
337
+ },
338
+ {
339
+ "type": "text",
340
+ "text": "Table 1: Prompts used to generate class-conditioned texts for different GLUE tasks. SST-2 is a singlesequence classification task and the rest are sequencepair classification tasks. Generation for CoLA does not use prompts but by varying sampling temperatures. $\\pmb { x } ^ { s }$ denotes a sequence randomly sampled from the pretraining corpus; $\\pmb { x } ^ { g }$ denotes the sequence to be generated by $G _ { \\theta }$ ; . . . denotes skipping at least one sequence. See Appendix A for more details. ",
341
+ "bbox": [
342
+ 473,
343
+ 217,
344
+ 825,
345
+ 342
346
+ ],
347
+ "page_idx": 3
348
+ },
349
+ {
350
+ "type": "text",
351
+ "text": "Generating Single Sequences. For singlesequence NLU tasks such as sentiment classification (e.g., SST-2), we simply use a prompt ${ \\pmb w } _ { y }$ corresponding to label $y$ as the beginning of the sequence and let $G _ { \\theta }$ generate the remaining sequence: ",
352
+ "bbox": [
353
+ 174,
354
+ 362,
355
+ 462,
356
+ 441
357
+ ],
358
+ "page_idx": 3
359
+ },
360
+ {
361
+ "type": "equation",
362
+ "img_path": "images/82013981c11d0105a5c123c78a5c772fc6646323377b6c0f05be15d5c3dbc260.jpg",
363
+ "text": "$$\n\\pmb { x } ^ { g } G _ { \\theta } ( \\pmb { w } _ { y } ) ,\n$$",
364
+ "text_format": "latex",
365
+ "bbox": [
366
+ 263,
367
+ 448,
368
+ 369,
369
+ 465
370
+ ],
371
+ "page_idx": 3
372
+ },
373
+ {
374
+ "type": "table",
375
+ "img_path": "images/d8efbe91ba3ca13d3ce17994d446978c773acdd66363dec700bb3a9ef3b796d4.jpg",
376
+ "table_caption": [],
377
+ "table_footnote": [],
378
+ "table_body": "<table><tr><td>Task</td><td>Label</td><td>Prompt</td></tr><tr><td>SST-2</td><td>positive negative</td><td>Rating:5.0xg Rating: 1.0 xg</td></tr><tr><td rowspan=\"4\">MNLI</td><td>entailment</td><td>x.In other words,xg</td></tr><tr><td>neutral</td><td>x.Furthermore,xg</td></tr><tr><td></td><td>There is a rumor that x.</td></tr><tr><td>contradiction</td><td>However, the truth is:x9</td></tr><tr><td rowspan=\"2\">QNLI</td><td>entailment</td><td>x?xg</td></tr><tr><td>not entailment</td><td>x?...g</td></tr><tr><td rowspan=\"2\">RTE</td><td>entailment</td><td>x.In other words,xg</td></tr><tr><td>not entailment</td><td>x.Furthermore,xg</td></tr><tr><td rowspan=\"2\">MRPC</td><td>equivalent</td><td>x.In other words,xg</td></tr><tr><td>not equivalent</td><td>x.Furthermore,xg</td></tr><tr><td rowspan=\"2\">QQP</td><td>equivalent</td><td>x ?In other words,xg</td></tr><tr><td>not equivalent</td><td>x&quot;?Furthermore,xg</td></tr></table>",
379
+ "bbox": [
380
+ 485,
381
+ 349,
382
+ 807,
383
+ 568
384
+ ],
385
+ "page_idx": 3
386
+ },
387
+ {
388
+ "type": "text",
389
+ "text": "where $G _ { \\theta } ( \\pmb { w } _ { y } )$ denotes using ${ \\pmb w } _ { y }$ as the input to $G _ { \\theta }$ and recursively sampling tokens from the distribution in Eq. (1) until a full sequence is generated; $\\pmb { x } ^ { g }$ denotes the generated sequence (i.e., excluding the prompt), which will be paired with $y$ to form one training sample $( \\bar { \\pmb { x } ^ { g } } , y )$ . ",
390
+ "bbox": [
391
+ 174,
392
+ 470,
393
+ 462,
394
+ 565
395
+ ],
396
+ "page_idx": 3
397
+ },
398
+ {
399
+ "type": "text",
400
+ "text": "For syntactic tasks like linguistic acceptabil \nity classification (e.g., CoLA) which requires generating both linguistically acceptable and unacceptable sequences, we start the sequence with random stop words and use varying sampling temperatures for generating different sequences. A smaller temperature (e.g., $\\tau = 0 . 1$ in Equation (1)) sharpens the sampling probability distribution towards the most probable tokens, thus the resulting sequence is more likely to be linguistically acceptable. Using a larger temperature (e.g., $\\tau = 1 0$ in Equation (1)) flattens the sampling probability distribution to be more uniform, and the generated tokens will be nearly random, which can create linguistically incorrect sequences. ",
401
+ "bbox": [
402
+ 173,
403
+ 570,
404
+ 825,
405
+ 678
406
+ ],
407
+ "page_idx": 3
408
+ },
409
+ {
410
+ "type": "text",
411
+ "text": "Generating Sequence Pairs. Sequence-pair classification tasks require generating two sequences of specific relationships (e.g., entailment, contradiction). We sample4 the first sequence $\\pmb { x } ^ { s }$ from the pretraining corpus $\\mathcal { D }$ , concatenate the prompt ${ \\pmb w } _ { y }$ with $\\pmb { x } ^ { s }$ , and generate the second sequence $\\pmb { x } ^ { g }$ : ",
412
+ "bbox": [
413
+ 174,
414
+ 691,
415
+ 825,
416
+ 736
417
+ ],
418
+ "page_idx": 3
419
+ },
420
+ {
421
+ "type": "equation",
422
+ "img_path": "images/5a34cddbb0c98ba688bf088e5cd1510fd7fe65d222ede02c2b0fb1e1f311e90c.jpg",
423
+ "text": "$$\n\\pmb { x } ^ { g } G _ { \\theta } ( [ \\pmb { x } ^ { s } ; \\pmb { w } _ { y } ] ) , \\pmb { x } ^ { s } \\sim \\mathcal { D } .\n$$",
424
+ "text_format": "latex",
425
+ "bbox": [
426
+ 393,
427
+ 741,
428
+ 601,
429
+ 758
430
+ ],
431
+ "page_idx": 3
432
+ },
433
+ {
434
+ "type": "text",
435
+ "text": "The sequence pair training sample will then be formed as $( \\pmb { x } ^ { s } , \\pmb { x } ^ { g } , y )$ . ",
436
+ "bbox": [
437
+ 174,
438
+ 763,
439
+ 629,
440
+ 779
441
+ ],
442
+ "page_idx": 3
443
+ },
444
+ {
445
+ "type": "text",
446
+ "text": "Rewarding and Penalizing Repetitions for Sequence Pair Generation. A common issue in text generation is degenerate repetition [21, 23, 51, 71] where generated texts get stuck in repetition loops. To address this issue, one approach is to discourage repetition by reducing the logits of tokens that are already in the sequence before performing sampling [23]. In sequence pair generation, however, it is sometimes desirable to encourage the second sequence to repeat some words in the first sentence (e.g., for generating an entailment or a paraphrase). Therefore, we propose a simple modification of ",
447
+ "bbox": [
448
+ 173,
449
+ 792,
450
+ 826,
451
+ 875
452
+ ],
453
+ "page_idx": 3
454
+ },
455
+ {
456
+ "type": "text",
457
+ "text": "Eq. (1) that rewards/penalizes repetition based on whether the token has appeared in ${ \\pmb x } ^ { s } / { \\pmb x } ^ { g }$ : ",
458
+ "bbox": [
459
+ 168,
460
+ 90,
461
+ 774,
462
+ 107
463
+ ],
464
+ "page_idx": 4
465
+ },
466
+ {
467
+ "type": "equation",
468
+ "img_path": "images/5d57175c5233cf8f601547d96b55f8ae3dc8fff22d6a3bd03d7e902ada91869a.jpg",
469
+ "text": "$$\np _ { \\theta } ( x _ { i } | \\boldsymbol x _ { < i } ) = \\frac { \\exp ( e _ { i } ^ { \\top } h _ { i } / \\omega ) } { \\sum _ { j = 1 } ^ { | V | } \\exp ( e _ { j } ^ { \\top } h _ { i } / \\omega ) } , \\quad \\mathrm { w h e r e } \\quad \\omega = \\left\\{ \\begin{array} { l l } { \\tau \\alpha } & { x _ { i } \\in \\boldsymbol x ^ { s } \\wedge x _ { i } \\not \\in \\boldsymbol x ^ { g } } \\\\ { \\tau \\beta } & { x _ { i } \\in \\boldsymbol x ^ { g } } \\\\ { \\tau } & { \\mathrm { e l s e } } \\end{array} \\right. ,\n$$",
470
+ "text_format": "latex",
471
+ "bbox": [
472
+ 230,
473
+ 113,
474
+ 764,
475
+ 162
476
+ ],
477
+ "page_idx": 4
478
+ },
479
+ {
480
+ "type": "text",
481
+ "text": "and $\\alpha > 0 , \\beta > 0$ are hyperparameters. By setting $\\alpha < 1$ and $\\beta > 1$ , we can promote tokens in $\\mathbf { \\Delta } \\mathbf { \\mathbf { x } } ^ { s }$ that have not appeared in $\\pmb { x } ^ { g }$ to have a higher chance of being generated, and discourage the generation of repetitive tokens in $\\pmb { x } ^ { g }$ to mitigate degenerate repetition. The parameters used for different tasks are listed in Appendix B Table 9. ",
482
+ "bbox": [
483
+ 173,
484
+ 169,
485
+ 825,
486
+ 224
487
+ ],
488
+ "page_idx": 4
489
+ },
490
+ {
491
+ "type": "text",
492
+ "text": "3.3 Effective Fine-Tuning on Generated Texts ",
493
+ "text_level": 1,
494
+ "bbox": [
495
+ 176,
496
+ 241,
497
+ 504,
498
+ 257
499
+ ],
500
+ "page_idx": 4
501
+ },
502
+ {
503
+ "type": "text",
504
+ "text": "With the generated training data, one can fine-tune a bidirectional PLM $C _ { \\phi }$ as the classifier to perform the NLU task. However, training $C _ { \\phi }$ via standard supervised training on all generated texts is likely to yield suboptimal performance on downstream tasks because (1) the generated texts may contain noise as $G _ { \\theta }$ may not always produce texts pertaining to the desired class, especially for challenging sequence pair tasks with subtle semantic relationships; and (2) the generated texts can be considered as originated from the domain of $G _ { \\theta }$ ’s pretraining data, with a potentially different distribution from the downstream task; straightforward application of supervised training will result in overfitting to the pretraining domain and diminishing generalization ability, a common challenge in transfer learning [64, 87]. To address these challenges, we next introduce several simple and important strategies for more effective and stable fine-tuning on generated texts. ",
505
+ "bbox": [
506
+ 173,
507
+ 266,
508
+ 826,
509
+ 401
510
+ ],
511
+ "page_idx": 4
512
+ },
513
+ {
514
+ "type": "text",
515
+ "text": "Selecting Quality Training Data. We aim to select generated texts $\\pmb { x } ^ { g }$ that are most likely to pertain to the desired label $y$ (i.e., with the highest $p ( \\boldsymbol { x } ^ { g } | \\boldsymbol { y } ) )$ . The true probability $p ( \\pmb { x } ^ { g } | y )$ is unknown and we estimate it via the generation probability given by $G _ { \\theta }$ conditioned on the prompt ${ \\pmb w } _ { y }$ : ",
516
+ "bbox": [
517
+ 173,
518
+ 416,
519
+ 823,
520
+ 459
521
+ ],
522
+ "page_idx": 4
523
+ },
524
+ {
525
+ "type": "equation",
526
+ "img_path": "images/1eda1e786bda2f4a5406657ee623fb1064988ae96b7efde4b6494c88a2d1c531.jpg",
527
+ "text": "$$\np ( \\pmb { x } ^ { g } | y ) \\approx p _ { \\theta } ( \\pmb { x } ^ { g } | \\pmb { w } _ { y } ) = \\prod _ { i = 1 } ^ { n } p _ { \\theta } \\left( x _ { i } \\big | [ \\pmb { w } _ { y } ; \\pmb { x } _ { < i } ^ { g } ] \\right) .\n$$",
528
+ "text_format": "latex",
529
+ "bbox": [
530
+ 338,
531
+ 465,
532
+ 658,
533
+ 507
534
+ ],
535
+ "page_idx": 4
536
+ },
537
+ {
538
+ "type": "text",
539
+ "text": "Since the above measure is biased towards shorter sequences, we instead use the geometric mean of the above conditional generation probability (or equivalently, the average log probability) of all tokens in $\\pmb { x } ^ { g }$ as the ranking score, following [82]: ",
540
+ "bbox": [
541
+ 173,
542
+ 512,
543
+ 825,
544
+ 553
545
+ ],
546
+ "page_idx": 4
547
+ },
548
+ {
549
+ "type": "equation",
550
+ "img_path": "images/86f9fac3e246b32d8b3749b1b8e7b8ddd5e72107889873d0ff1afbb5bb81742e.jpg",
551
+ "text": "$$\nr = \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } \\log p _ { \\theta } \\left( x _ { i } \\middle | [ \\pmb { w } _ { y } ; \\pmb { x } _ { < i } ^ { g } ] \\right) .\n$$",
552
+ "text_format": "latex",
553
+ "bbox": [
554
+ 385,
555
+ 559,
556
+ 611,
557
+ 601
558
+ ],
559
+ "page_idx": 4
560
+ },
561
+ {
562
+ "type": "text",
563
+ "text": "To construct a training set consisting of $N$ samples per class, we will generate more samples (e.g., $1 0 N )$ ), and select training data based on the score $r$ in Eq. (3): For all tasks except CoLA, the top- $N$ ones of each class are selected; for CoLA, the top- $N$ ones are used as linguistically acceptable training samples, and the bottom- $N$ ones as linguistically unacceptable sequences. ",
564
+ "bbox": [
565
+ 173,
566
+ 606,
567
+ 825,
568
+ 661
569
+ ],
570
+ "page_idx": 4
571
+ },
572
+ {
573
+ "type": "text",
574
+ "text": "Regularization for Better Generalization and Stability. Even with the above training data selection procedure, the resulting training set may still contain noise and there exists domain difference from the downstream tasks. We apply two regularization techniques, label smoothing [62] and temporal ensembling [28] for better fine-tuning stability and generalization. ",
575
+ "bbox": [
576
+ 173,
577
+ 676,
578
+ 825,
579
+ 731
580
+ ],
581
+ "page_idx": 4
582
+ },
583
+ {
584
+ "type": "text",
585
+ "text": "Given a training sample $( \\boldsymbol { x } ^ { g } , \\boldsymbol { y } )$ , label smoothing trains the classifier $C _ { \\phi }$ to minimize the standard cross-entropy loss between the label and the classifier’s prediction $p _ { \\phi } ( \\pmb { x } ^ { g } )$ , except that the label is a weighted average of the one-hot vector and a uniform distribution over all labels: ",
586
+ "bbox": [
587
+ 174,
588
+ 736,
589
+ 825,
590
+ 777
591
+ ],
592
+ "page_idx": 4
593
+ },
594
+ {
595
+ "type": "equation",
596
+ "img_path": "images/1598271454245d13249f2fd16ea6db91cb06eaeac32118f0360e7a71a17d68ce.jpg",
597
+ "text": "$$\n\\operatorname* { m i n } _ { \\phi } - \\sum _ { j = 1 } ^ { | \\mathcal { V } | } q _ { j } \\log ( p _ { \\phi } ( \\pmb { x } ^ { g } ) _ { j } ) ,\n$$",
598
+ "text_format": "latex",
599
+ "bbox": [
600
+ 406,
601
+ 784,
602
+ 591,
603
+ 830
604
+ ],
605
+ "page_idx": 4
606
+ },
607
+ {
608
+ "type": "text",
609
+ "text": "where $q _ { j } = \\mathbb { 1 } ( j = y ) ( 1 - \\epsilon ) + \\epsilon / | y |$ and $\\epsilon$ is the smoothing weight. By forcing the classifier to be less confident on training data, label smoothing improves robustness to label noise [36] and prevents overfitting to the training set [44], thus improving generalization to different domains. ",
610
+ "bbox": [
611
+ 173,
612
+ 837,
613
+ 825,
614
+ 878
615
+ ],
616
+ "page_idx": 4
617
+ },
618
+ {
619
+ "type": "text",
620
+ "text": "The motivation for temporal ensembling is that neural networks usually first pick up easy and general patterns in the data before learning more sophisticated and dataset-specific features [83], and thus the earlier states of the network offer better generalizability to different domains. We therefore record the predictions $\\pmb { p } _ { \\phi } = p _ { \\phi } ( \\pmb { x } ^ { g } )$ of $C _ { \\phi }$ on each training sample $( \\boldsymbol { x } ^ { g } , \\boldsymbol { y } )$ at different training steps, and use the accumulated moving-average predictions $\\bar { z }$ to regularize the latest model training. This also helps suppress the fluctuation in model predictions due to data noise, offering better noise-robustness [45]. We update ensembled predictions $\\bar { z }$ once every $B$ batches: ",
621
+ "bbox": [
622
+ 173,
623
+ 883,
624
+ 826,
625
+ 911
626
+ ],
627
+ "page_idx": 4
628
+ },
629
+ {
630
+ "type": "text",
631
+ "text": "",
632
+ "bbox": [
633
+ 173,
634
+ 90,
635
+ 825,
636
+ 159
637
+ ],
638
+ "page_idx": 5
639
+ },
640
+ {
641
+ "type": "equation",
642
+ "img_path": "images/843828e40fb64f2c272f427f61a4836bc9702a01e1b43534f0465f5ed8b6aed5.jpg",
643
+ "text": "$$\n\\hat { z } \\gamma \\hat { z } + ( 1 - \\gamma ) p _ { \\phi } , \\bar { z } \\hat { z } / ( 1 - \\gamma ^ { t } ) ,\n$$",
644
+ "text_format": "latex",
645
+ "bbox": [
646
+ 364,
647
+ 165,
648
+ 633,
649
+ 184
650
+ ],
651
+ "page_idx": 5
652
+ },
653
+ {
654
+ "type": "text",
655
+ "text": "where $\\hat { z }$ has a zero initialization; $\\gamma$ is the momentum parameter; $t$ is the number of updates $\\bar { z }$ has received; the division $( 1 - \\gamma ^ { t } )$ is for bias correction [28]. We also use the ensembled prediction $\\bar { z }$ as a reliable signal to filter out noisy training samples: Only those samples on which $\\bar { z }$ strongly agrees with the label $y$ (i.e., $\\bar { z } _ { y } > \\delta$ where $\\delta > 0$ is a threshold parameter) will be used for training. ",
656
+ "bbox": [
657
+ 173,
658
+ 189,
659
+ 825,
660
+ 243
661
+ ],
662
+ "page_idx": 5
663
+ },
664
+ {
665
+ "type": "text",
666
+ "text": "We regularize model training by extending Eq. (4) to add a KL divergence regularization term from the model prediction to the ensembled prediction weighed by $\\lambda$ : ",
667
+ "bbox": [
668
+ 174,
669
+ 248,
670
+ 823,
671
+ 276
672
+ ],
673
+ "page_idx": 5
674
+ },
675
+ {
676
+ "type": "equation",
677
+ "img_path": "images/a4e7b74d4e911dcd50a85910c6bafa58547d53b71a643e95a7bbd077f4bf12a0.jpg",
678
+ "text": "$$\n\\operatorname* { m i n } _ { \\phi } - \\sum _ { j = 1 } ^ { | \\mathcal { V } | } q _ { j } \\log ( p _ { \\phi } ( \\pmb { x } ^ { g } ) _ { j } ) - \\lambda \\sum _ { j = 1 } ^ { | \\mathcal { V } | } \\bar { z } _ { j } \\log \\frac { p _ { \\phi } ( \\pmb { x } ^ { g } ) _ { j } } { \\bar { z } _ { j } } .\n$$",
679
+ "text_format": "latex",
680
+ "bbox": [
681
+ 326,
682
+ 284,
683
+ 673,
684
+ 329
685
+ ],
686
+ "page_idx": 5
687
+ },
688
+ {
689
+ "type": "text",
690
+ "text": "We follow [28] to slowly ramp-up $\\lambda$ during training. ",
691
+ "bbox": [
692
+ 174,
693
+ 335,
694
+ 516,
695
+ 349
696
+ ],
697
+ "page_idx": 5
698
+ },
699
+ {
700
+ "type": "text",
701
+ "text": "3.4 Overall Algorithm ",
702
+ "text_level": 1,
703
+ "bbox": [
704
+ 174,
705
+ 366,
706
+ 341,
707
+ 381
708
+ ],
709
+ "page_idx": 5
710
+ },
711
+ {
712
+ "type": "text",
713
+ "text": "We summarize SuperGen for singlesequence NLU tasks in Algorithm 1. Solving sequence-pair problems follows the same algorithm except the pretraining corpus $\\mathcal { D }$ is needed for sampling the first sequence $\\pmb { x } ^ { s }$ . ",
714
+ "bbox": [
715
+ 174,
716
+ 391,
717
+ 447,
718
+ 470
719
+ ],
720
+ "page_idx": 5
721
+ },
722
+ {
723
+ "type": "text",
724
+ "text": "Algorithm 1: SuperGen for Zero-Shot Learning. ",
725
+ "text_level": 1,
726
+ "bbox": [
727
+ 460,
728
+ 415,
729
+ 779,
730
+ 429
731
+ ],
732
+ "page_idx": 5
733
+ },
734
+ {
735
+ "type": "text",
736
+ "text": "Input: $\\mathcal { V }$ : Label space; $\\mathcal { P }$ : Label-descriptive prompts; $G _ { \\theta }$ : Unidirectional PLM; $C _ { \\phi }$ : Bidirectional PLM. ",
737
+ "bbox": [
738
+ 460,
739
+ 431,
740
+ 803,
741
+ 457
742
+ ],
743
+ "page_idx": 5
744
+ },
745
+ {
746
+ "type": "text",
747
+ "text": "4 Experimental Setup ",
748
+ "text_level": 1,
749
+ "bbox": [
750
+ 176,
751
+ 489,
752
+ 372,
753
+ 507
754
+ ],
755
+ "page_idx": 5
756
+ },
757
+ {
758
+ "type": "text",
759
+ "text": "Downstream Tasks and Metrics. We use all the tasks included in GLUE [66] except STS-B which is a regression task. Please refer to Appendix C for more details about GLUE tasks. We follow the evaluation protocol of [13]: We use F1 score as the metric for QQP and MRPC, Matthews correlation for CoLA, and accuracy for the rest of the tasks. The original development sets of these tasks are used for testing. For all reported results, we include the average and standard deviation over 5 different random seeds. ",
760
+ "bbox": [
761
+ 174,
762
+ 522,
763
+ 446,
764
+ 694
765
+ ],
766
+ "page_idx": 5
767
+ },
768
+ {
769
+ "type": "text",
770
+ "text": "Parameter: $N$ : Number of training samples per class to generate; $M ( \\gg N )$ : Number of total training samples to generate; $T$ : Number of training steps; $B$ : Ensemble prediction update interval; $\\delta$ : Threshold parameter. \nOutput: $C _ { \\phi } ^ { * }$ : Classifier that classifies input texts into $\\mathcal { V }$ . \nfor $y \\in \\mathcal { V }$ do $\\overline { { \\mathcal { T } _ { y } } } \\gets \\{ \\}$ Class $_ y$ train set init. for $i \\in [ 1 , 2 , \\ldots , M ]$ do $\\pmb { x } ^ { g } G _ { \\theta } ( \\pmb { w } _ { y } )$ Ty ← Ty S{(xg, y)} end \nend \n$\\tau \\{ \\}$ \n// Selected train set. \nfor $y \\in \\mathcal { V }$ do Sort $\\mathcal { T } _ { y }$ in descending order by Eq. (3) $\\tau \\tau \\cup \\mathcal { T } _ { y } [ : N ]$ \nend \n$\\hat { z } \\gets \\mathbf { 0 }$ \n// Ensembled prediction init. \n$\\tau ^ { * } \\tau$ \n// Filtered train set. \nfor $i \\in [ 1 , 2 , \\dots , T ]$ do Fine-tune $C _ { \\phi }$ via Eq. (6) on a minibatch of $\\tau ^ { * }$ if $i \\% B = 0$ then Update $\\hat { z } , \\bar { z }$ via Eq. (5) $\\mathcal { T } ^ { * } \\{ ( \\pmb { x } ^ { g } , y ) | \\bar { z } _ { y } > \\delta , ( \\pmb { x } ^ { g } , y ) \\in \\mathcal { T } \\}$ end \nend \nreturn $C _ { \\phi } ^ { * } = C _ { \\phi }$ ",
771
+ "bbox": [
772
+ 459,
773
+ 438,
774
+ 816,
775
+ 866
776
+ ],
777
+ "page_idx": 5
778
+ },
779
+ {
780
+ "type": "text",
781
+ "text": "Models. Unless specified otherwise, we use CTRL (1.63B parameters) [23] as the generator $G _ { \\theta }$ and $\\mathrm { C O C O - L M _ { L a r g e } }$ (367M parameters) [40] as the classifier $C _ { \\phi }$ . We also show the results using similar-sized PLMs (GPT-2 [51]/RoBERTa [34]) as the generator/classifier in Section 5.6. ",
782
+ "bbox": [
783
+ 174,
784
+ 709,
785
+ 446,
786
+ 803
787
+ ],
788
+ "page_idx": 5
789
+ },
790
+ {
791
+ "type": "text",
792
+ "text": "Fine-Tuning Settings and Hyperparameters. We note that SuperGen is compatible with any fine-tuning method; while using more sophisticated methods may grant ",
793
+ "bbox": [
794
+ 173,
795
+ 818,
796
+ 447,
797
+ 872
798
+ ],
799
+ "page_idx": 5
800
+ },
801
+ {
802
+ "type": "text",
803
+ "text": "further performance improvement, we use the basic prompt-based fine-tuning with manual templates approach for simplicity and clarity. For all tasks, we use the same templates and label words as in [13]. Under the zero-shot learning setting, it is not possible to tune hyperparameters due to the lack of validation sets. Therefore, we keep all fine-tuning hyperparameters (e.g., learning rate, batch size, training epochs, number of generated training samples, label smoothing and temporal ensembling hyperparameters) the same across all tasks. See Appendix B Table 10 for details. ",
804
+ "bbox": [
805
+ 174,
806
+ 871,
807
+ 823,
808
+ 911
809
+ ],
810
+ "page_idx": 5
811
+ },
812
+ {
813
+ "type": "table",
814
+ "img_path": "images/8e537fcceb5f356e117ef6b236cf3c146836bfbe7c553c552a797f90097495cb.jpg",
815
+ "table_caption": [
816
+ "Table 2: Results on seven GLUE classification tasks. We report average and standard deviation (as subscripts) performance over 5 different random seeds. †: Results from LM-BFF [13]. "
817
+ ],
818
+ "table_footnote": [],
819
+ "table_body": "<table><tr><td>Method</td><td>MNLI-(m/mm) (Acc.)</td><td>QQP (F1)</td><td>QNLI (Acc.)</td><td>SST-2 (Acc.)</td><td>CoLA (Matt.)</td><td>RTE (Acc.)</td><td>MRPC (F1)</td><td>AVG</td></tr><tr><td colspan=\"9\">Zero-Shot Setting: No task-specific data (neither labeled nor unlabeled).</td></tr><tr><td>Promptingt</td><td>50.80.0/51.70.0</td><td>49.70.0</td><td>50.80.0</td><td>83.60.0</td><td>2.00.0</td><td>51.30.0</td><td>61.90.0</td><td>50.1</td></tr><tr><td>SuperGen</td><td>72.30.5/73.80.5</td><td>66.1.1</td><td>73.31.9</td><td>92.80.6</td><td>32.75.5</td><td>65.31.2</td><td>82.20.5</td><td>69.4</td></tr><tr><td>- data selection</td><td>63.71.5/64.21.6</td><td>62.32.2</td><td>63.93.2</td><td>91.32.0</td><td>30.58.8</td><td>62.41.5</td><td>81.60.2</td><td>65.1</td></tr><tr><td>- label smooth</td><td>70.70.8/72.10.7</td><td>65.10.9</td><td>71.42.5</td><td>91.00.9</td><td>9.51.0</td><td>64.81.1</td><td>83.00.7</td><td>65.2</td></tr><tr><td>- temporal ensemble</td><td>62.04.6/63.64.8</td><td>63.90.3</td><td>72.42.0</td><td>92.50.9</td><td>23.57.0</td><td>63.51.0</td><td>78.82.2</td><td>65.3</td></tr><tr><td colspan=\"9\">Few-Shot Seting: Use 32 labeled samples/class (half for training and half for development).</td></tr><tr><td>Fine-tuning†</td><td>45.86.4/47.86.8</td><td>60.74.3</td><td>60.26.5</td><td>81.43.8</td><td>33.914.3</td><td>54.43.9</td><td>76.62.5</td><td>59.1</td></tr><tr><td>Manual prompt†</td><td>68.32.3/70.51.9</td><td>65.55.3</td><td>64.54.2</td><td>92.70.9</td><td>9.37.3</td><td>69.13.6</td><td>74.55.3</td><td>63.6</td></tr><tr><td>+ demonstrationt</td><td>70.71.3/72.01.2</td><td>69.81.8</td><td>69.21.9</td><td>92.60.5</td><td>18.78.8</td><td>68.72.3</td><td>77.82.0</td><td>66.9</td></tr><tr><td>Auto prompt</td><td>68.32.5/70.12.6</td><td>67.03.0</td><td>68.37.4</td><td>92.31.0</td><td>14.014.1</td><td>73.92.2</td><td>76.22.3</td><td>65.8</td></tr><tr><td>+ demonstration†</td><td>70.03.6/72.03.1</td><td>67.75.8</td><td>68.55.4</td><td>93.00.6</td><td>21.815.9</td><td>71.15.3</td><td>78.13.4</td><td>67.3</td></tr><tr><td>Fully supervisedt</td><td>89.8/89.5</td><td>81.7</td><td>93.3</td><td>95.0</td><td>62.6</td><td>80.9</td><td>91.4</td><td>84.9</td></tr></table>",
820
+ "bbox": [
821
+ 174,
822
+ 131,
823
+ 823,
824
+ 349
825
+ ],
826
+ "page_idx": 6
827
+ },
828
+ {
829
+ "type": "table",
830
+ "img_path": "images/c71944c472c76f051b48ba1a5cdaf2982dc201ee09878f0601a59bfb37bdaa57.jpg",
831
+ "table_caption": [
832
+ "Table 3: Results with different groups of prompts. CoLA does not use prompts for generation. The number of prompt groups is equal to the number of the task labels. "
833
+ ],
834
+ "table_footnote": [],
835
+ "table_body": "<table><tr><td>Prompt Group</td><td>MNLI-(m/mm)</td><td>QQP</td><td>QNLI</td><td>SST-2</td><td>RTE</td><td>MRPC</td></tr><tr><td>#0 (Original)</td><td>72.30.5/73.80.5</td><td>66.1.1</td><td>73.31.9</td><td>92.80.6</td><td>65.31.2</td><td>82.20.5</td></tr><tr><td>#1</td><td>70.71.4/72.41.2</td><td>65.51.4</td><td>71.91.7</td><td>92.20.9</td><td>64.41.6</td><td>81.90.4</td></tr><tr><td>#2</td><td>70.80.6/72.10.8</td><td>65.61.1</td><td>72.22.2</td><td>92.40.8</td><td>64.71.8</td><td>81.80.8</td></tr><tr><td>#3</td><td>70.91.4/72.21.4</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>Mixed</td><td>72.20.7/73.40.6</td><td>66.91.5</td><td>73.01.7</td><td>92.80.9</td><td>66.31.0</td><td>81.32.0</td></tr></table>",
836
+ "bbox": [
837
+ 223,
838
+ 395,
839
+ 771,
840
+ 487
841
+ ],
842
+ "page_idx": 6
843
+ },
844
+ {
845
+ "type": "text",
846
+ "text": "",
847
+ "bbox": [
848
+ 176,
849
+ 512,
850
+ 825,
851
+ 553
852
+ ],
853
+ "page_idx": 6
854
+ },
855
+ {
856
+ "type": "text",
857
+ "text": "Compared Methods and Ablations. We include the results of zero-shot prompting, standard few-shot fine-tuning and the four few-shot prompt-based fine-tuning methods proposed in [13]. We also conduct ablation studies by removing the following three techniques from SuperGen one at a time: (1) not using Eq. (3) for training data selection but randomly selecting the same amount of training data ( $\\_$ data selection); (2) not using label smoothing $\\underline { { \\underline { { \\mathbf { \\Pi } } } } }$ label smooth) but using one-hot labels; and (3) not using temporal ensembling (i.e., using Eq. (4) instead of Eq. (6) as the training objective) ( $-$ temporal ensemble). Lastly, we include the fully supervised fine-tuning results trained on the entire training sets. ",
858
+ "bbox": [
859
+ 173,
860
+ 568,
861
+ 825,
862
+ 674
863
+ ],
864
+ "page_idx": 6
865
+ },
866
+ {
867
+ "type": "text",
868
+ "text": "5 Evaluation ",
869
+ "text_level": 1,
870
+ "bbox": [
871
+ 174,
872
+ 693,
873
+ 295,
874
+ 710
875
+ ],
876
+ "page_idx": 6
877
+ },
878
+ {
879
+ "type": "text",
880
+ "text": "5.1 Main Results ",
881
+ "text_level": 1,
882
+ "bbox": [
883
+ 174,
884
+ 723,
885
+ 305,
886
+ 738
887
+ ],
888
+ "page_idx": 6
889
+ },
890
+ {
891
+ "type": "text",
892
+ "text": "We present the results of SuperGen, its ablations and compared methods in Table 2. Overall, SuperGen significantly outperforms zero-shot prompting and achieves an overall better result than all few-shot methods. Notably, SuperGen results in much smaller variance over different random seeds than few-shot approaches on most tasks—with access to more training data, fine-tuning of PLMs becomes much more stable. The ablation results demonstrate that all three strategies (i.e., quality training data selection, label smoothing and temporal ensembling) play important roles in improving and stabilizing the final performance, especially on challenging tasks like MNLI. ",
893
+ "bbox": [
894
+ 174,
895
+ 748,
896
+ 825,
897
+ 843
898
+ ],
899
+ "page_idx": 6
900
+ },
901
+ {
902
+ "type": "text",
903
+ "text": "5.2 Using Different Prompts ",
904
+ "text_level": 1,
905
+ "bbox": [
906
+ 174,
907
+ 858,
908
+ 383,
909
+ 873
910
+ ],
911
+ "page_idx": 6
912
+ },
913
+ {
914
+ "type": "text",
915
+ "text": "One important factor of SuperGen is the choice of label-descriptive prompts as they directly influence the quality of generated training samples. To study the impact of different prompt choices on the final model performance, we create different groups of prompts other than the original ones. We replace the prompt for one label used in Table 1 with a synonymous one and keep other prompts unchanged when forming a different prompt group (Please refer to Appendix A Table 8 for details). We also experiment with mixing the generated data by different prompt groups (mixed). The results are shown in Table 3. Overall, the model performance under different prompts is quite close, except on RTE whose test set is very small, potentially resulting in the higher variance. In this work, we manually choose simple prompts that make intuitive sense, and we leave the automatic searching of optimal prompts as future work. ",
916
+ "bbox": [
917
+ 174,
918
+ 883,
919
+ 821,
920
+ 911
921
+ ],
922
+ "page_idx": 6
923
+ },
924
+ {
925
+ "type": "image",
926
+ "img_path": "images/69e5c74206bf221048ac17346d9f4ccd6da2f7b8626c7e65c64dc66d8d607e07.jpg",
927
+ "image_caption": [
928
+ "Figure 2: Classifier accuracy fine-tuned on different amount of generated training data (after data selection). Dots and error bars are the average performance and the standard deviation over 5 seeds, respectively. "
929
+ ],
930
+ "image_footnote": [],
931
+ "bbox": [
932
+ 174,
933
+ 87,
934
+ 581,
935
+ 207
936
+ ],
937
+ "page_idx": 7
938
+ },
939
+ {
940
+ "type": "image",
941
+ "img_path": "images/86bad6e8a307687f725a2dde6b8fe1da692480e94a43dd09f20030092b822a1f.jpg",
942
+ "image_caption": [
943
+ "Figure 3: Classifier accuracy on MNLI-m fine-tuned on the fewshot samples only vs. on the fewshot and SuperGen generated set with varying few-shot set sizes. "
944
+ ],
945
+ "image_footnote": [],
946
+ "bbox": [
947
+ 612,
948
+ 88,
949
+ 810,
950
+ 188
951
+ ],
952
+ "page_idx": 7
953
+ },
954
+ {
955
+ "type": "text",
956
+ "text": "",
957
+ "bbox": [
958
+ 174,
959
+ 280,
960
+ 825,
961
+ 386
962
+ ],
963
+ "page_idx": 7
964
+ },
965
+ {
966
+ "type": "text",
967
+ "text": "5.3 Results with Different Amount of Generated Data ",
968
+ "text_level": 1,
969
+ "bbox": [
970
+ 174,
971
+ 405,
972
+ 558,
973
+ 419
974
+ ],
975
+ "page_idx": 7
976
+ },
977
+ {
978
+ "type": "text",
979
+ "text": "With training data automatically created by the generator, we can have a virtually infinite amount of training samples. We show the results of using different amount of generated data (after quality data selection) for fine-tuning the classifier $C _ { \\phi }$ in Fig. 2 on MNLI-m and SST-2. When the number of training data is small (e.g., 100), the fine-tuning variance is high, resulting in the similar instability issue with few-shot settings. With more generated data used, both average performance and training stability improve, yielding comparable results (with smaller variance) to fine-tuning using few-shot task-specific data. However, when too many generated data (e.g., 10, 000) are used, the classifier’s performance slightly drops, probably due to increased label noise—recall that the training data are selected based on the ranking score in Eq. (3), so using more data results in the inclusion of more lower-ranking texts in the training set and reduced data quality. One way to address this issue is to use a fixed selection ratio and increase the total number of generated texts to obtain a larger number of high-quality training data. However, this comes at a greater computation cost in the generation step. An important future direction is thus to develop better data selection strategies. ",
980
+ "bbox": [
981
+ 174,
982
+ 429,
983
+ 825,
984
+ 602
985
+ ],
986
+ "page_idx": 7
987
+ },
988
+ {
989
+ "type": "text",
990
+ "text": "5.4 Using SuperGen in Few-Shot Settings ",
991
+ "text_level": 1,
992
+ "bbox": [
993
+ 174,
994
+ 621,
995
+ 473,
996
+ 635
997
+ ],
998
+ "page_idx": 7
999
+ },
1000
+ {
1001
+ "type": "text",
1002
+ "text": "We present a simple extension of SuperGen to few-shot settings and show that the generated data of SuperGen may also improve the few-shot performance. When few-shot samples are available, we first fine-tune the classifier on the few-shot training set (standard prompt-based fine-tuning without regularization), and then continue fine-tuning the classifier on the generated data by SuperGen as described in Section 3.3. This allows the classifier to effectively leverage the knowledge from the few-shot training set to filter out noisy samples in the generated data, as temporal ensembling regularizes the classifier to remember the predictions learned previously and only keeps samples on which the model predictions agree with the label. We show the benefits of incorporating generated data for different few-shot sample sizes on MNLI in Fig. 3 (we use half labeled samples for classifier training and half for development): When the few-shot training and validation sets are rather small $( 3 2 - { \\bar { 6 } } 4 $ samples per label in total), fine-tuning the classifier on the SuperGen generated set further (after fine-tuning on the few-shot samples) brings notable performance improvements. However, such benefits diminish with more few-shot training samples: The generated data fail to improve the few-shot performance when there are 128 samples per label, and even worsen the classifier performance with 256 samples per label. This is probably because our synthetic data generation process is zero-shot and does not leverage any few-shot samples; the resulting generated samples may not be of high enough quality to boost the few-shot performance when there are relatively abundant annotated samples. Possible ways to use few-shot samples for generation include using them as demonstrations [5], for creating augmentations [29] and for tuning the generators. We leave the explorations of generating higher quality data by leveraging few-shot samples for future work. ",
1003
+ "bbox": [
1004
+ 173,
1005
+ 645,
1006
+ 825,
1007
+ 911
1008
+ ],
1009
+ "page_idx": 7
1010
+ },
1011
+ {
1012
+ "type": "table",
1013
+ "img_path": "images/96fd0b4b94210c84b482091c9c5910b1c51b1a1babe69522e096b0d143e3b141.jpg",
1014
+ "table_caption": [
1015
+ "Table 4: Comparisons with using CTRL for zeroshot prompting and for knowledge distillation. †: The entire training set is used as unlabeled data. "
1016
+ ],
1017
+ "table_footnote": [],
1018
+ "table_body": "<table><tr><td>Method</td><td>MNLI-(m/mm)</td><td>SST-2</td></tr><tr><td>SuperGen</td><td>72.30.5/73.80.5</td><td>92.80.6</td></tr><tr><td>CTRL Prompting</td><td>38.50.0/39.20.0</td><td>72.50.0</td></tr><tr><td>Knowledge Distillt</td><td>40.80.5/41.50.6</td><td>73.60.8</td></tr></table>",
1019
+ "bbox": [
1020
+ 171,
1021
+ 145,
1022
+ 488,
1023
+ 213
1024
+ ],
1025
+ "page_idx": 8
1026
+ },
1027
+ {
1028
+ "type": "table",
1029
+ "img_path": "images/48fd4c1cfe7011f347f6dfb3345c7ace316f38c3819113fb35c8245344898131.jpg",
1030
+ "table_caption": [
1031
+ "Table 5: Results with different generator/classifier PLMs. "
1032
+ ],
1033
+ "table_footnote": [],
1034
+ "table_body": "<table><tr><td>PLMs (Ge/CΦ)</td><td>MNLI-(m/mm)</td><td>SST-2</td></tr><tr><td>CTRL/COCO-LM</td><td>72.30.5/73.80.5</td><td>92.80.6</td></tr><tr><td>CTRL/RoBERTa</td><td>69.00.8/70.60.9</td><td>93.01.5</td></tr><tr><td>GPT-2/COCO-LM</td><td>69.51.2/71.31.3</td><td>88.21.8</td></tr><tr><td>GPT-2/RoBERTa</td><td>68.30.9/69.70.7</td><td>88.60.8</td></tr></table>",
1035
+ "bbox": [
1036
+ 504,
1037
+ 133,
1038
+ 818,
1039
+ 213
1040
+ ],
1041
+ "page_idx": 8
1042
+ },
1043
+ {
1044
+ "type": "text",
1045
+ "text": "5.5 Using Generators for Knowledge Distillation ",
1046
+ "text_level": 1,
1047
+ "bbox": [
1048
+ 176,
1049
+ 241,
1050
+ 521,
1051
+ 257
1052
+ ],
1053
+ "page_idx": 8
1054
+ },
1055
+ {
1056
+ "type": "text",
1057
+ "text": "Apart from using unidirectional PLMs $G _ { \\theta }$ for training data generation, one could also directly apply them to unlabeled data formulated as prompts to obtain zero-shot predictions (i.e., prompting [5, 13]), which can then be used as soft labels to train the classifier $C _ { \\phi }$ . In Table 4, we show (1) the zero-shot prediction accuracy of CTRL (the best out of three different prompts, details in Appendix D) and (2) the classifier performance trained from CTRL’s predictions on the entire unlabeled training set as soft labels (i.e., knowledge distillation). Similar to the observations in previous studies [5, 70, 85], the zero-shot predictions of unidirectional PLMs are quite inaccurate and directly using them as soft labels to train classifiers does not yield good results. We hypothesize that the advantages of using unidirectional PLMs for training data generation over using them for zero-shot predictions are twofold: (1) Better flexibility in prompt formats. When unidirectional PLMs are used for zero-shot predictions, the prompts have to be designed so that the label word is the last token in the sequence to be predicted, as unidirectional PLMs cannot attend to subsequent tokens. Such constraints may result in the prompt being dissimilar to the pretraining data distribution and worsen the prediction quality of the PLMs. On the contrary, using unidirectional PLMs for generation is not subject to any prompt format constraints. (2) More direct uses of PLMs’ language modeling ability. Using unidirectional PLMs for training data generation directly leverages the PLMs’ output token probability. Applying PLMs for zero-shot prediction, however, requires an additional step to convert token predictions to label predictions (i.e., the verbalizer [56]), and such a mapping process usually necessitates manual curation and can hardly be optimal [13] especially without abundant task-specific data. ",
1058
+ "bbox": [
1059
+ 174,
1060
+ 270,
1061
+ 825,
1062
+ 523
1063
+ ],
1064
+ "page_idx": 8
1065
+ },
1066
+ {
1067
+ "type": "text",
1068
+ "text": "5.6 Using Different PLMs ",
1069
+ "text_level": 1,
1070
+ "bbox": [
1071
+ 174,
1072
+ 547,
1073
+ 366,
1074
+ 563
1075
+ ],
1076
+ "page_idx": 8
1077
+ },
1078
+ {
1079
+ "type": "text",
1080
+ "text": "The final performance of SuperGen is relevant to the choice of PLMs as the generator/classifier. Apart from the default PLM choice, we report the results of using GPT-2XLarge (1.54B parameters) [51] as the generator and RoBERTaLarge (356M parameters) [34] as the classifier in Table 5 with everything else unchanged. When using GPT-2, we change the prompt used for SST-2 to “The film is bad/terrible/awful.” for the negative label and “The film is good/great/excellent.” for the positive label, since the original prompts used for SST-2 in Table 1 are a part of the control codes of CTRL and cannot be effectively leveraged by GPT-2. Overall, both CTRL and GPT-2 are able to generate quality training data for good fine-tuned classifier performance; CTRL consistently yields better results than GPT-2 regardless of the choice of the classifier PLM, probably because CTRL is pretrained with control codes which provide explicit guidance for generating texts of certain domains and attributes. We also observe that the generated text quality is strongly correlated to the generator’s model size—using a smaller version of GPT-2 (e.g., with 117M parameters) results in significantly less coherent texts and can hardly serve as training data. An interesting future direction is to try larger generator PLMs (e.g., GPT-3) which may create training data of better quality. ",
1081
+ "bbox": [
1082
+ 174,
1083
+ 577,
1084
+ 825,
1085
+ 763
1086
+ ],
1087
+ "page_idx": 8
1088
+ },
1089
+ {
1090
+ "type": "text",
1091
+ "text": "5.7 Case Studies ",
1092
+ "text_level": 1,
1093
+ "bbox": [
1094
+ 174,
1095
+ 789,
1096
+ 300,
1097
+ 803
1098
+ ],
1099
+ "page_idx": 8
1100
+ },
1101
+ {
1102
+ "type": "text",
1103
+ "text": "We present concrete examples of generated texts guided by prompts of different labels in Table 6. The generated sequences are not only coherent, but also pertain to the corresponding labels. For easier tasks like SST-2, the generated texts almost always correctly reflect the desired sentiment polarity specified by the prompt. For more difficult tasks like MNLI, sometimes the generated texts are not of the correct label (Appendix E Table 13 shows some negative results). The existence of such label noise motivates our use of the regularization techniques in the fine-tuning stage. In the future, it will be interesting to develop new methods to better control text generation towards the desired label. ",
1104
+ "bbox": [
1105
+ 174,
1106
+ 818,
1107
+ 825,
1108
+ 911
1109
+ ],
1110
+ "page_idx": 8
1111
+ },
1112
+ {
1113
+ "type": "table",
1114
+ "img_path": "images/0cfa299a4599f94d1efeaf65331341c69436b5dc6b1c41c2b11c39bbcf5a308d.jpg",
1115
+ "table_caption": [
1116
+ "Table 6: Example generated texts for SST-2, MNLI and QQP. Sampled sequences from pretraining corpus $( { \\pmb x } ^ { s } )$ are italicized; generated sequences $( \\pmb { x } ^ { g } )$ are underlined; prompts $( \\boldsymbol { w } ^ { y } )$ are in bold. "
1117
+ ],
1118
+ "table_footnote": [],
1119
+ "table_body": "<table><tr><td>Task</td><td>Label</td><td>Generated Text</td></tr><tr><td rowspan=\"2\">SST-2</td><td>positive</td><td>Rating:5.0 The film is a great example of the kind of movie that you can watch over and over.</td></tr><tr><td>negative</td><td>Rating:1.0 The film was a total waste of time.I would not recommend this movie to anyone.</td></tr><tr><td rowspan=\"4\">MNLI</td><td>entailment</td><td>The construction of the station began in 2Ol6,when the opening date was estimated to mid-2020. In other words,the station was to open in 2020.</td></tr><tr><td rowspan=\"2\">neutral</td><td>Theconstruction of the station began in 2O16,when the opening date was estimated to mid-2020.</td></tr><tr><td>Furthermore,it is expected that a new bus terminal will be built at this station.</td></tr><tr><td rowspan=\"2\">contradiction</td><td>There sarumor thatTheconstructionofthe station beganin 2ol6,when theopeningdate was estimated to mid-2020. However,the truth is:The construction started in 2O17,andthe ofcialopening date was setfor March 31,2018.</td></tr><tr><td></td></tr><tr><td>QQP</td><td>equivalent not equivalent</td><td>What are the most wear resistant steels?In other words,what are the most durable steels? What are the most wear resistant steels?Furthermore,what is the best way to clean them?</td></tr></table>",
1120
+ "bbox": [
1121
+ 174,
1122
+ 132,
1123
+ 821,
1124
+ 275
1125
+ ],
1126
+ "page_idx": 9
1127
+ },
1128
+ {
1129
+ "type": "text",
1130
+ "text": "6 Discussions and Conclusions ",
1131
+ "text_level": 1,
1132
+ "bbox": [
1133
+ 176,
1134
+ 291,
1135
+ 442,
1136
+ 309
1137
+ ],
1138
+ "page_idx": 9
1139
+ },
1140
+ {
1141
+ "type": "text",
1142
+ "text": "Ethical Considerations. While PLMs have demonstrated remarkable text generation and understanding capability, they can come with potential risks or harms [2, 3, 5] such as generating misinformation [46] or amplifying harmful biases [49]. The focus of our work is on utilizing existing PLMs to generate training data for NLU tasks instead of developing new PLMs or generation methods. Therefore, our method can be used in company with any bias reduction and correction techniques [15, 37] to mitigate the risks of PLMs. ",
1143
+ "bbox": [
1144
+ 174,
1145
+ 324,
1146
+ 825,
1147
+ 405
1148
+ ],
1149
+ "page_idx": 9
1150
+ },
1151
+ {
1152
+ "type": "text",
1153
+ "text": "Limitations. One inherent limitation with zero-shot learning is the lack of access to task-specific samples for hyperparameter tuning, whereas the performance of neural networks is usually heavily dependent on the choice of hyperparameters even when the training algorithm and training set are fixed [48]. Also, without access to any labeled data, the generated training data quality may not be high enough to achieve good performance on challenging tasks, especially when the task distribution is significantly different from the pretraining data distribution (e.g., the “linguistically incorrect” label of CoLA requires generating sequences with grammar mistakes – a different distribution from the one used to train PLMs). A promising direction to address the above limitations is extending SuperGen to few-shot settings (e.g., the setting studied in Section 5.4) and leveraging a small amount of labeled data for generating better quality data and for hyperparameter tuning. ",
1154
+ "bbox": [
1155
+ 174,
1156
+ 422,
1157
+ 825,
1158
+ 558
1159
+ ],
1160
+ "page_idx": 9
1161
+ },
1162
+ {
1163
+ "type": "text",
1164
+ "text": "Conclusions. We propose SuperGen, an automatic supervision generation approach for zero-shot learning of NLU tasks. By providing label-descriptive prompts as guidance to a unidirectional PLM, training data can be automatically created for fine-tuning a bidirectional PLM. Our framework differs from previous transfer-learning-based zero-shot methods in that SuperGen does not rely on cross-task annotations and eliminates the task difference in training and inference. We show that several strategies are important for effective and stable fine-tuning on generated data, including quality training data selection, label smoothing and temporal ensembling. SuperGen achieves strong performance on seven classification tasks of the GLUE benchmark, even yielding comparable or better results than sophisticated few-shot learning methods and offering better stability. There is large room for future work, including but not limited to: Extension to few-shot learning settings, exploring larger generator models [25, 68], better fine-tuning techniques to leverage generated data and better strategies for selecting quality training data. ",
1165
+ "bbox": [
1166
+ 174,
1167
+ 575,
1168
+ 825,
1169
+ 736
1170
+ ],
1171
+ "page_idx": 9
1172
+ },
1173
+ {
1174
+ "type": "text",
1175
+ "text": "Acknowledgments ",
1176
+ "text_level": 1,
1177
+ "bbox": [
1178
+ 176,
1179
+ 758,
1180
+ 328,
1181
+ 775
1182
+ ],
1183
+ "page_idx": 9
1184
+ },
1185
+ {
1186
+ "type": "text",
1187
+ "text": "Research was supported in part by US DARPA KAIROS Program No. FA8750-19-2-1004 and INCAS Program No. HR001121C0165, National Science Foundation IIS-19-56151, IIS-17-41317, and IIS 17-04532, and the Molecule Maker Lab Institute: An AI Research Institutes program supported by NSF under Award No. 2019897, and the Institute for Geospatial Understanding through an Integrative Discovery Environment (I-GUIDE) by NSF under Award No. 2118329. Any opinions, findings, and conclusions or recommendations expressed herein are those of the authors and do not necessarily represent the views, either expressed or implied, of DARPA or the U.S. Government. Yu Meng is supported by the Google PhD Fellowship. We thank anonymous reviewers for valuable and insightful feedback. ",
1188
+ "bbox": [
1189
+ 174,
1190
+ 790,
1191
+ 825,
1192
+ 911
1193
+ ],
1194
+ "page_idx": 9
1195
+ },
1196
+ {
1197
+ "type": "text",
1198
+ "text": "References ",
1199
+ "text_level": 1,
1200
+ "bbox": [
1201
+ 174,
1202
+ 90,
1203
+ 266,
1204
+ 106
1205
+ ],
1206
+ "page_idx": 10
1207
+ },
1208
+ {
1209
+ "type": "text",
1210
+ "text": "[1] Ateret Anaby-Tavor, Boaz Carmeli, Esther Goldbraich, Amir Kantor, George Kour, Segev Shlomov, Naama Tepper, and Naama Zwerdling. Do not have enough data? deep learning to the rescue! In AAAI, 2020. \n[2] Emily M. Bender and Alexander Koller. Climbing towards NLU: On meaning, form, and understanding in the age of data. In ACL, 2020. \n[3] Emily M. Bender, Timnit Gebru, Angelina McMillan-Major, and Shmargaret Shmitchell. On the dangers of stochastic parrots: Can language models be too big? In ACM Conference on Fairness, Accountability, and Transparency, 2021. \n[4] Luisa Bentivogli, Peter Clark, Ido Dagan, and Danilo Giampiccolo. The fifth pascal recognizing textual entailment challenge. In TAC, 2009. \n[5] 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. In NeurIPS, 2020. \n[6] Alvin Chan, Y. Ong, Bill Tuck Weng Pung, Aston Zhang, and Jie Fu. CoCon: A self-supervised approach for controlled text generation. In ICLR, 2021. \n[7] Jiaao Chen, Zichao Yang, and Diyi Yang. Mixtext: Linguistically-informed interpolation of hidden space for semi-supervised text classification. In ACL, 2020. \n[8] Kevin Clark, Minh-Thang Luong, Quoc V Le, and Christopher D Manning. ELECTRA: Pre-training text encoders as discriminators rather than generators. In ICLR, 2020. \n[9] Ido Dagan, Oren Glickman, and Bernardo Magnini. The pascal recognising textual entailment challenge. In Machine Learning Challenges Workshop, 2005. \n[10] Sumanth Dathathri, Andrea Madotto, Janice Lan, Jane Hung, Eric Frank, Piero Molino, Jason Yosinski, and Rosanne Liu. Plug and play language models: A simple approach to controlled text generation. In ICLR, 2020. \n[11] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understanding. In NAACL-HLT, 2019. \n[12] William B Dolan and Chris Brockett. Automatically constructing a corpus of sentential paraphrases. In International Workshop on Paraphrasing (IWP), 2005. \n[13] Tianyu Gao, Adam Fisch, and Danqi Chen. Making pre-trained language models better few-shot learners. In ACL, 2021. \n[14] Tianyu Gao, Xingcheng Yao, and Danqi Chen. SimCSE: Simple contrastive learning of sentence embeddings. In EMNLP, 2021. \n[15] Samuel Gehman, Suchin Gururangan, Maarten Sap, Yejin Choi, and Noah A. Smith. RealToxicityPrompts: Evaluating neural toxic degeneration in language models. In Findings of EMNLP, 2020. \n[16] Danilo Giampiccolo, Bernardo Magnini, Ido Dagan, and Bill Dolan. The third pascal recognizing textual entailment challenge. In ACL-PASCAL workshop on textual entailment and paraphrasing, 2007. \n[17] Aaron Gokaslan and Vanya Cohen. OpenWebText corpus. http://Skylion007.github. io/OpenWebTextCorpus, 2019. \n[18] R Bar Haim, Ido Dagan, Bill Dolan, Lisa Ferro, Danilo Giampiccolo, Bernardo Magnini, and Idan Szpektor. The second pascal recognising textual entailment challenge. In PASCAL Challenges Workshop on Recognising Textual Entailment, 2006. \n[19] Pengcheng He, Xiaodong Liu, Jianfeng Gao, and Weizhu Chen. DeBERTa: Decoding-enhanced BERT with disentangled attention. In ICLR, 2021. \n[20] Geoffrey E. Hinton, Oriol Vinyals, and Jeffrey Dean. Distilling the knowledge in a neural network. ArXiv, abs/1503.02531, 2015. \n[21] Ari Holtzman, Jan Buys, Maxwell Forbes, and Yejin Choi. The curious case of neural text degeneration. In ICLR, 2020. \n[22] Zhiting Hu, Zichao Yang, Xiaodan Liang, Ruslan Salakhutdinov, and Eric P. Xing. Toward controlled generation of text. In ICML, 2017. \n[23] Nitish Shirish Keskar, Bryan McCann, Lav R. Varshney, Caiming Xiong, and Richard Socher. CTRL: A conditional transformer language model for controllable generation. ArXiv, abs/1909.05858, 2019. \n[24] Muhammad Khalifa, Hady ElSahar, and Marc Dymetman. A distributional approach to controlled text generation. In ICLR, 2021. \n[25] Boseop Kim, HyoungSeok Kim, Sang-Woo Lee, Gichang Lee, Donghyun Kwak, Dong Hyeon Jeon, Sunghyun Park, Sungju Kim, Seonhoon Kim, Dongpil Seo, et al. What changes can largescale language models bring? intensive study on hyperclova: Billions-scale korean generative pretrained transformers. In EMNLP, 2021. \n[26] Ben Krause, Akhilesh Deepak Gotmare, Bryan McCann, Nitish Shirish Keskar, Shafiq R. Joty, Richard Socher, and Nazneen Rajani. GeDi: Generative discriminator guided sequence generation. In EMNLP, 2021. \n[27] Sachin Kumar, Eric Malmi, Aliaksei Severyn, and Yulia Tsvetkov. Controlled text generation as continuous optimization with multiple constraints. In NeurIPS, 2021. \n[28] Samuli Laine and Timo Aila. Temporal ensembling for semi-supervised learning. In ICLR, 2017. \n[29] Kenton Lee, Kelvin Guu, Luheng He, Tim Dozat, and Hyung Won Chung. Neural data augmentation via example extrapolation. arXiv preprint arXiv:2102.01335, 2021. \n[30] Mike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Veselin Stoyanov, and Luke Zettlemoyer. BART: Denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension. In ACL, 2020. \n[31] Xiang Lisa Li and Percy Liang. Prefix-tuning: Optimizing continuous prompts for generation. In ACL, 2021. \n[32] Alisa Liu, Maarten Sap, Ximing Lu, Swabha Swayamdipta, Chandra Bhagavatula, Noah A. Smith, and Yejin Choi. DExperts: Decoding-time controlled text generation with experts and anti-experts. In ACL, 2021. \n[33] Xiao Liu, Yanan Zheng, Zhengxiao Du, Ming Ding, Yujie Qian, Zhilin Yang, and Jie Tang. GPT understands, too. ArXiv, abs/2103.10385, 2021. \n[34] Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. RoBERTa: A robustly optimized BERT pretraining approach. arXiv preprint arXiv:1907.11692, 2019. \n[35] Robert L Logan IV, Ivana Balazevi ˇ c, Eric Wallace, Fabio Petroni, Sameer Singh, and Sebastian ´ Riedel. Cutting down on prompts and parameters: Simple few-shot learning with language models. arXiv preprint arXiv:2106.13353, 2021. \n[36] Michal Lukasik, Srinadh Bhojanapalli, Aditya Krishna Menon, and Surinder Kumar. Does label smoothing mitigate label noise? In ICML, 2020. \n[37] Xinyao Ma, Maarten Sap, Hannah Rashkin, and Yejin Choi. PowerTransformer: Unsupervised controllable revision for biased language correction. In EMNLP, 2020. \n[38] Yu Meng, Jiaming Shen, Chao Zhang, and Jiawei Han. Weakly-supervised neural text classification. In CIKM, 2018. \n[39] Yu Meng, Jiaming Shen, Chao Zhang, and Jiawei Han. Weakly-supervised hierarchical text classification. In AAAI, 2019. \n[40] Yu Meng, Chenyan Xiong, Payal Bajaj, Saurabh Tiwary, Paul Bennett, Jiawei Han, and Xia Song. COCO-LM: Correcting and contrasting text sequences for language model pretraining. In NeurIPS, 2021. \n[41] Yu Meng, Chenyan Xiong, Payal Bajaj, Saurabh Tiwary, Paul Bennett, Jiawei Han, and Xia Song. Pretraining text encoders with adversarial mixture of training signal generators. In ICLR, 2022. \n[42] Swaroop Mishra, Daniel Khashabi, Chitta Baral, and Hannaneh Hajishirzi. Cross-task generalization via natural language crowdsourcing instructions. arXiv preprint arXiv:2104.08773, 2021. \n[43] Takeru Miyato, Andrew M. Dai, and Ian J. Goodfellow. Adversarial training methods for semi-supervised text classification. In ICLR, 2017. \n[44] Rafael Muller, Simon Kornblith, and Geoffrey E. Hinton. When does label smoothing help? In ¨ NeurIPS, 2019. \n[45] Duc Tam Nguyen, Chaithanya Kumar Mummadi, Thi-Phuong-Nhung Ngo, Thi Hoai Phuong Nguyen, Laura Beggel, and Thomas Brox. SELF: Learning to filter noisy labels with selfensembling. In ICLR, 2020. \n[46] Artidoro Pagnoni, Vidhisha Balachandran, and Yulia Tsvetkov. Understanding factuality in abstractive summarization with FRANK: A benchmark for factuality metrics. In NAACL, 2021. \n[47] Damian Pascual, Beni Egressy, Clara Meister, Ryan Cotterell, and Roger Wattenhofer. A ´ plug-and-play method for controlled text generation. In Findings of EMNLP, 2021. \n[48] Ethan Perez, Douwe Kiela, and Kyunghyun Cho. True few-shot learning with language models. In NeurIPS, 2021. \n[49] Shrimai Prabhumoye, Yulia Tsvetkov, Ruslan Salakhutdinov, and Alan W. Black. Style transfer through back-translation. In ACL, 2018. \n[50] Raul Puri and Bryan Catanzaro. Zero-shot text classification with generative language models. ArXiv, abs/1912.10165, 2019. \n[51] Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9, 2019. \n[52] Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. Journal of Machine Learning Research, 2019. \n[53] Nils Reimers and Iryna Gurevych. Sentence-BERT: Sentence embeddings using siamese BERT-networks. In EMNLP, 2019. \n[54] Victor Sanh, Albert Webson, Colin Raffel, Stephen H Bach, Lintang Sutawika, Zaid Alyafeai, Antoine Chaffin, Arnaud Stiegler, Teven Le Scao, Arun Raja, et al. Multitask prompted training enables zero-shot task generalization. In ICLR, 2022. \n[55] Teven Le Scao and Alexander M. Rush. How many data points is a prompt worth? In NAACL, 2021. \n[56] Timo Schick and Hinrich Schutze. Exploiting cloze-questions for few-shot text classification ¨ and natural language inference. In EACL, 2021. \n[57] Timo Schick and Hinrich Schutze. Few-shot text generation with natural language instructions. ¨ In EMNLP, 2021. \n[58] Timo Schick and Hinrich Schutze. Generating datasets with pretrained language models. In ¨ EMNLP, 2021. \n[59] Timo Schick and Hinrich Schutze. It’s not just size that matters: Small language models are ¨ also few-shot learners. In NAACL, 2021. \n[60] Iyer Shankar, Dandekar Nikhil, and Csernai Kornel.´ First Quora dataset release: Question pairs, 2017. URL https://www.quora.com/q/quoradata/ First-Quora-Dataset-Release-Question-Pairs. \n[61] Richard Socher, Alex Perelygin, Jean Wu, Jason Chuang, Christopher D Manning, Andrew Y $\\mathrm { N g }$ , and Christopher Potts. Recursive deep models for semantic compositionality over a sentiment treebank. In EMNLP, 2013. \n[62] Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jonathon Shlens, and Zbigniew Wojna. Rethinking the inception architecture for computer vision. In CVPR, 2016. \n[63] Derek Tam, Rakesh R Menon, Mohit Bansal, Shashank Srivastava, and Colin Raffel. Improving and simplifying pattern exploiting training. In EMNLP, 2021. \n[64] Lisa Torrey and Jude Shavlik. Transfer learning. In Handbook of research on machine learning applications and trends: algorithms, methods, and techniques. 2010. \n[65] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NeurIPS, 2017. \n[66] Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R Bowman. GLUE: A multi-task benchmark and analysis platform for natural language understanding. In EMNLP Workshop BlackboxNLP, 2018. \n[67] Alex Wang, Yada Pruksachatkun, Nikita Nangia, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R. Bowman. SuperGLUE: A stickier benchmark for general-purpose language understanding systems. In NeurIPS, 2019. \n[68] Zirui Wang, Adams Wei Yu, Orhan Firat, and Yuan Cao. Towards zero-label language learning. arXiv preprint arXiv:2109.09193, 2021. \n[69] Alex Warstadt, Amanpreet Singh, and Samuel R Bowman. Neural network acceptability judgments. In TACL, 2019. \n[70] Jason Wei, Maarten Bosma, Vincent Zhao, Kelvin Guu, Adams Wei Yu, Brian Lester, Nan Du, Andrew M. Dai, and Quoc V. Le. Finetuned language models are zero-shot learners. In ICLR, 2022. \n[71] Sean Welleck, Ilia Kulikov, Stephen Roller, Emily Dinan, Kyunghyun Cho, and Jason Weston. Neural text generation with unlikelihood training. In ICLR, 2020. \n[72] Adina Williams, Nikita Nangia, and Samuel Bowman. A broad-coverage challenge corpus for sentence understanding through inference. In NAACL-HLT, 2018. \n[73] Qizhe Xie, Zihang Dai, Eduard H. Hovy, Minh-Thang Luong, and Quoc V. Le. Unsupervised data augmentation for consistency training. In NeurIPS, 2020. \n[74] Hanwei Xu, Yujun Chen, Yulun Du, Nan Shao, Yanggang Wang, Haiyu Li, and Zhilin Yang. ZeroPrompt: Scaling prompt-based pretraining to 1, 000 tasks improves zero-shot generalization. ArXiv, abs/2201.06910, 2022. \n[75] Kevin Yang and Dan Klein. FUDGE: Controlled text generation with future discriminators. In NAACL, 2021. \n[76] Yiben Yang, Chaitanya Malaviya, Jared Fernandez, Swabha Swayamdipta, Ronan Le Bras, Ji Ping Wang, Chandra Bhagavatula, Yejin Choi, and Doug Downey. Generative data augmentation for commonsense reasoning. In Findings of EMNLP, 2020. \n[77] Jiacheng Ye, Jiahui Gao, Qintong Li, Hang Xu, Jiangtao Feng, Zhiyong Wu, Tao Yu, and Lingpeng Kong. ZeroGen: Efficient zero-shot learning via dataset generation. ArXiv, abs/2202.07922, 2022. \n[78] Qinyuan Ye, Bill Yuchen Lin, and Xiang Ren. Crossfit: A few-shot learning challenge for cross-task generalization in nlp. In EMNLP, 2021. \n[79] Wenpeng Yin, Jamaal Hay, and Dan Roth. Benchmarking zero-shot text classification: Datasets, evaluation and entailment approach. In EMNLP, 2019. \n[80] Wenpeng Yin, Nazneen Rajani, Dragomir Radev, Richard Socher, and Caiming Xiong. Universal natural language processing with limited annotations: Try few-shot textual entailment as a start. In EMNLP, 2020. \n[81] Kang Min Yoo, Dongju Park, Jaewook Kang, Sang-Woo Lee, and Woomyeong Park. GPT3Mix: Leveraging large-scale language models for text augmentation. In EMNLP Findings, 2021. \n[82] Weizhe Yuan, Graham Neubig, and Pengfei Liu. BARTScore: Evaluating generated text as text generation. In NeurIPS, 2021. \n[83] Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. In ICLR, 2017. \n[84] Ningyu Zhang, Luoqiu Li, Xiang Chen, Shumin Deng, Zhen Bi, Chuanqi Tan, Fei Huang, and Huajun Chen. Differentiable prompt makes pre-trained language models better few-shot learners. In ICLR, 2022. \n[85] Tony Zhao, Eric Wallace, Shi Feng, Dan Klein, and Sameer Singh. Calibrate before use: Improving few-shot performance of language models. In ICML, 2021. \n[86] Ruiqi Zhong, Kristy Lee, Zheng Zhang, and Dan Klein. Adapting language models for zero-shot learning by meta-tuning on dataset and prompt collections. In Findings of EMNLP, 2021. \n[87] Fuzhen Zhuang, Zhiyuan Qi, Keyu Duan, Dongbo Xi, Yongchun Zhu, Hengshu Zhu, Hui Xiong, and Qing He. A comprehensive survey on transfer learning. Proceedings of the IEEE, 2020. \n[88] Daniel M. Ziegler, Nisan Stiennon, Jeff Wu, Tom B. Brown, Alec Radford, Dario Amodei, Paul Christiano, and Geoffrey Irving. Fine-tuning language models from human preferences. ArXiv, abs/1909.08593, 2019. ",
1211
+ "bbox": [
1212
+ 171,
1213
+ 97,
1214
+ 828,
1215
+ 917
1216
+ ],
1217
+ "page_idx": 10
1218
+ },
1219
+ {
1220
+ "type": "text",
1221
+ "text": "",
1222
+ "bbox": [
1223
+ 171,
1224
+ 49,
1225
+ 828,
1226
+ 920
1227
+ ],
1228
+ "page_idx": 11
1229
+ },
1230
+ {
1231
+ "type": "text",
1232
+ "text": "",
1233
+ "bbox": [
1234
+ 171,
1235
+ 64,
1236
+ 828,
1237
+ 917
1238
+ ],
1239
+ "page_idx": 12
1240
+ },
1241
+ {
1242
+ "type": "text",
1243
+ "text": "",
1244
+ "bbox": [
1245
+ 171,
1246
+ 68,
1247
+ 828,
1248
+ 919
1249
+ ],
1250
+ "page_idx": 13
1251
+ },
1252
+ {
1253
+ "type": "text",
1254
+ "text": "",
1255
+ "bbox": [
1256
+ 171,
1257
+ 92,
1258
+ 828,
1259
+ 454
1260
+ ],
1261
+ "page_idx": 14
1262
+ },
1263
+ {
1264
+ "type": "text",
1265
+ "text": "Checklist ",
1266
+ "text_level": 1,
1267
+ "bbox": [
1268
+ 174,
1269
+ 478,
1270
+ 254,
1271
+ 494
1272
+ ],
1273
+ "page_idx": 14
1274
+ },
1275
+ {
1276
+ "type": "text",
1277
+ "text": "1. For all authors... ",
1278
+ "bbox": [
1279
+ 214,
1280
+ 505,
1281
+ 339,
1282
+ 518
1283
+ ],
1284
+ "page_idx": 14
1285
+ },
1286
+ {
1287
+ "type": "text",
1288
+ "text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] \n(b) Did you describe the limitations of your work? [Yes] \n(c) Did you discuss any potential negative societal impacts of your work? [Yes] \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
1289
+ "bbox": [
1290
+ 238,
1291
+ 523,
1292
+ 825,
1293
+ 612
1294
+ ],
1295
+ "page_idx": 14
1296
+ },
1297
+ {
1298
+ "type": "text",
1299
+ "text": "2. If you are including theoretical results... ",
1300
+ "bbox": [
1301
+ 214,
1302
+ 616,
1303
+ 493,
1304
+ 630
1305
+ ],
1306
+ "page_idx": 14
1307
+ },
1308
+ {
1309
+ "type": "text",
1310
+ "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] ",
1311
+ "bbox": [
1312
+ 238,
1313
+ 633,
1314
+ 738,
1315
+ 664
1316
+ ],
1317
+ "page_idx": 14
1318
+ },
1319
+ {
1320
+ "type": "text",
1321
+ "text": "3. If you ran experiments... ",
1322
+ "bbox": [
1323
+ 214,
1324
+ 667,
1325
+ 393,
1326
+ 683
1327
+ ],
1328
+ "page_idx": 14
1329
+ },
1330
+ {
1331
+ "type": "text",
1332
+ "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] \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] \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] ",
1333
+ "bbox": [
1334
+ 238,
1335
+ 685,
1336
+ 825,
1337
+ 801
1338
+ ],
1339
+ "page_idx": 14
1340
+ },
1341
+ {
1342
+ "type": "text",
1343
+ "text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
1344
+ "bbox": [
1345
+ 215,
1346
+ 805,
1347
+ 823,
1348
+ 819
1349
+ ],
1350
+ "page_idx": 14
1351
+ },
1352
+ {
1353
+ "type": "text",
1354
+ "text": "(a) If your work uses existing assets, did you cite the creators? [Yes] \n(b) Did you mention the license of the assets? [Yes] \n(c) Did you include any new assets either in the supplemental material or as a URL? [N/A] \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [N/A] ",
1355
+ "bbox": [
1356
+ 238,
1357
+ 823,
1358
+ 825,
1359
+ 912
1360
+ ],
1361
+ "page_idx": 14
1362
+ },
1363
+ {
1364
+ "type": "text",
1365
+ "text": "(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A] ",
1366
+ "bbox": [
1367
+ 238,
1368
+ 92,
1369
+ 823,
1370
+ 119
1371
+ ],
1372
+ "page_idx": 15
1373
+ },
1374
+ {
1375
+ "type": "text",
1376
+ "text": "5. If you used crowdsourcing or conducted research with human subjects... ",
1377
+ "bbox": [
1378
+ 215,
1379
+ 122,
1380
+ 705,
1381
+ 137
1382
+ ],
1383
+ "page_idx": 15
1384
+ },
1385
+ {
1386
+ "type": "text",
1387
+ "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] ",
1388
+ "bbox": [
1389
+ 238,
1390
+ 141,
1391
+ 826,
1392
+ 228
1393
+ ],
1394
+ "page_idx": 15
1395
+ }
1396
+ ]
parse/dev/4G1Sfp_1sz7/4G1Sfp_1sz7_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/NjeEfP7e3KZ/NjeEfP7e3KZ_content_list.json ADDED
@@ -0,0 +1,1343 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Revisiting Heterophily For Graph Neural Networks ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 186,
8
+ 122,
9
+ 812,
10
+ 148
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Sitao Luan1,2, Chenqing $\\mathbf { H u a } ^ { 1 , 2 }$ , Qincheng ${ { \\bf L } } { \\bf u } ^ { 1 }$ , Jiaqi $\\mathbf { Z } \\mathbf { h } \\mathbf { u } ^ { 1 }$ , Mingde Zhao1,2, Shuyuan Zhang1,2, Xiao-Wen Chang1, Doina Precup1,2,3 {sitao.luan $@$ mail, chenqing.hua $@$ mail, qincheng.lu $@$ mail, jiaqi.zhu $@$ mail, mingde.zhao $@$ mail, shuyuan.zhang $@$ mail, chang@cs, dprecup@cs}.mcgill.ca 1McGill University; 2Mila; 3DeepMind ",
17
+ "bbox": [
18
+ 186,
19
+ 199,
20
+ 862,
21
+ 272
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Abstract ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 462,
31
+ 296,
32
+ 535,
33
+ 313
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Graph Neural Networks (GNNs) extend basic Neural Networks (NNs) by using graph structures based on the relational inductive bias (homophily assumption). While GNNs have been commonly believed to outperform NNs in real-world tasks, recent work has identified a non-trivial set of datasets where their performance compared to NNs is not satisfactory. Heterophily has been considered as the main cause of this empirical observation and numerous works have been put forward to address it. In this paper, we first revisit the widely used homophily metrics and point out that their consideration of only graph-label consistency is a shortcoming. Then, we study heterophily from the perspective of post-aggregation node similarity and define new homophily metrics, which are verified to be advantageous compared to existing ones. Based on this investigation, we prove that some harmful cases of heterophily can be effectively addressed by local diversification operation. Then, we propose the Adaptive Channel Mixing (ACM), a framework to adaptively exploit aggregation, diversification and identity channels node-wisely to extract richer localized information for diverse node heterophily situations. ACM is more powerful than the commonly used uni-channel framework for node classification tasks on heterophilic graphs and is easy to be implemented in baseline GNN layers. When evaluated on 10 benchmark node classification tasks, ACM-augmented baselines consistently achieve significant performance gain, exceeding state-of-theart GNNs on most tasks without incurring significant computational burden. Code: https://github.com/SitaoLuan/ACM-GNN ",
40
+ "bbox": [
41
+ 232,
42
+ 328,
43
+ 766,
44
+ 618
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 Introduction ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 174,
54
+ 638,
55
+ 312,
56
+ 655
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Deep Neural Networks (NNs) $\\pmb { \\mathbb { Z } } 2 \\mathbf { l }$ have revolutionized many machine learning areas, including image recognition $\\scriptstyle { \\left[ \\left[ 2 1 \\right] \\right] }$ , speech recognition $\\mathbb { \\lVert 1 3 \\rVert }$ and natural language processing $\\left[ \\left[ 2 \\right] \\right]$ , due to their effectiveness in learning latent representations from Euclidean data. Recent research has shifted focus on non-Euclidean data $\\boxed { 6 }$ , e.g., relational data or graphs. Combining graph signal processing and convolutional neural networks $\\pmb { \\pmb { \\pmb { \\frac { \\ d H } { \\ d H } } } }$ , numerous Graph Neural Network (GNN) architectures have been proposed [39, 10, 15, 41, 19, 30], which empirically outperform traditional NNs on graph-based machine learning tasks such as node classification, graph classification, link prediction and graph generation, etc.GNNs are built on the homophily assumption $\\pmb { \\Vert 3 5 \\Vert }$ : connected nodes tend to share similar attributes with each other $\\pmb { \\mathbb { I } } \\pmb { \\mathbb { 1 } }$ , which offers additional information besides node features. This relational inductive bias $\\pmb { \\mathbb { B } } \\|$ is believed to be a key factor leading to GNNs’ superior performance over NNs’ in many tasks. ",
63
+ "bbox": [
64
+ 174,
65
+ 659,
66
+ 825,
67
+ 810
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "However, growing empirical evidence suggests that GNNs are not always advantageous compared to traditional NNs. In some cases, even simple Multi-Layer Perceptrons (MLPs) can outperform GNNs by a large margin on relational data [46, 29, 32, 8]. An important reason for this is believed to be the heterophily problem: the homophily assumption does not always hold, so connected nodes may in fact have different attributes. Heterophily has received lots of attention recently and an increasing number of models have been put forward to address this problem [46, 29, 32, 8, 45, 44, 33, 16, 24]. In this paper, we first show that by only considering graph-label consistency, existing homophily metrics are not able to describe the effect of some cases of heterophily on aggregation-based GNNs. We propose a post-aggregation node similarity matrix, and based on it, we derive new homophily metrics, whose advantages are illustrated on synthetic graphs (Sec. 3). Then, we prove that diversification operation can help to address some harmful cases of heterophily (Sec. 4). Based on this, we propose the Adaptive Channel Mixing (ACM) GNN framework which augments uni-channel baseline GNNs, allowing them to exploit aggregation, diversification and identity channels adaptively, node-wisely and locally in each layer. ACM significantly boosts the performance of 3 uni-channel baseline GNNs by $2 . 0 4 \\% \\sim 2 7 . 5 \\%$ for node classification tasks on 7 widely used benchmark heterophilic graphs, exceeding SOTA models $\\left( \\mathsf { S e c . } \\bigtriangledown \\right)$ on all of them. For 3 homophilic graphs, ACM-augmented GNNs can perform at least as well as the uni-channel baselines and are competitive compared with SOTA. ",
74
+ "bbox": [
75
+ 174,
76
+ 818,
77
+ 825,
78
+ 900
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "",
85
+ "bbox": [
86
+ 174,
87
+ 90,
88
+ 826,
89
+ 243
90
+ ],
91
+ "page_idx": 1
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "Contributions 1. To our knowledge, we are the first to analyze heterophily from post-aggregation node similarity perspective. 2. The proposed ACM framework is highly different from adaptive filterbank with multiple channels and existing GNNs for heterophily: 1) the traditional adaptive filterbank channels $\\dot { \\left[ \\left| 4 0 \\right| \\right] }$ uses a scalar weight for each filter and this weight is shared by all nodes. In contrast, ACM provides a mechanism so that different nodes can learn different weights to utilize information from different channels to account for diverse local heterophily; 2) Unlike existing methods that leverage the high-order filters and global property of high-frequency signals [46, 29, 8, 16] which require more computational resources, ACM successfully addresses heterophily by considering only the nodewise local information adaptively. 3. Unlike existing methods that try to facilitate learning filters with high expressive power [46, 45, 8, 16], ACM aims that, when given a filter with certain expressive power, we can extract richer information from additional channels in a certain way to address heterophily. This makes ACM more flexible and easier to be implemented. ",
96
+ "bbox": [
97
+ 173,
98
+ 247,
99
+ 826,
100
+ 414
101
+ ],
102
+ "page_idx": 1
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "2 Preliminaries ",
107
+ "text_level": 1,
108
+ "bbox": [
109
+ 174,
110
+ 422,
111
+ 318,
112
+ 439
113
+ ],
114
+ "page_idx": 1
115
+ },
116
+ {
117
+ "type": "text",
118
+ "text": "In this section, we introduce notation and background knowledge. We use bold font for vectors $( e . g . , v )$ . Suppose we have an undirected connected graph $\\mathcal { G } = ( \\mathcal { V } , \\mathcal { E } , A )$ , where $\\nu$ is the node set with $| \\nu | = N$ ; $\\mathcal { E }$ is the edge set without self-loops; $\\bar { A } \\in \\mathbf { \\mathbb { R } } ^ { N \\times N }$ is the symmetric adjacency matrix with $A _ { i , j } = 1$ if $e _ { i j } \\in \\mathcal { E }$ , otherwise $A _ { i , j } = 0$ . Let $D$ denote the diagonal degree matrix of $\\mathcal { G }$ , i.e., $\\begin{array} { r } { D _ { i , i } = \\bar { d } _ { i } = \\sum _ { j } \\bar { A _ { i , j } } } \\end{array}$ . Let ${ \\mathcal { N } } _ { i }$ denote the neighborhood set of node $i$ , i.e., $\\tilde { \\mathcal { N } _ { i } } = \\{ j : e _ { i j } \\in \\mathcal { E } \\}$ . A graph signal is a vector $\\pmb { x } \\in \\mathbb { R } ^ { N }$ defined on $\\nu$ , where $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { X } } _ { i } }$ is associated with node $i$ . We also have a feature matrix $X \\in \\mathbb { R } ^ { N \\times F }$ 2 V , whose columns are graph signals and whose $i$ -th row $X _ { i , \\astrosun }$ : is a feature vector of node $i$ . We use $Z \\in \\mathbb { R } ^ { N \\times C }$ to denote the label encoding matrix, whose $i$ -th row $Z _ { i , : }$ : is the one-hot encoding of the label of node $i$ . ",
119
+ "bbox": [
120
+ 173,
121
+ 443,
122
+ 826,
123
+ 573
124
+ ],
125
+ "page_idx": 1
126
+ },
127
+ {
128
+ "type": "text",
129
+ "text": "2.1 Graph Laplacian, Affinity Matrix and Variants ",
130
+ "text_level": 1,
131
+ "bbox": [
132
+ 173,
133
+ 588,
134
+ 540,
135
+ 604
136
+ ],
137
+ "page_idx": 1
138
+ },
139
+ {
140
+ "type": "text",
141
+ "text": "The (combinatorial) graph Laplacian is defined as $L = D - A$ , which is Symmetric Positive Semi-Definite (SPSD) $\\bar { \\bigtriangledown } |$ . Its eigendecomposition is ${ \\cal L } \\ : = \\ : U \\Lambda U ^ { T }$ , where the columns $\\mathbf { \\Delta } \\mathbf { u } _ { i }$ of $U \\in \\mathbb { R } ^ { N \\times N }$ are orthonormal eigenvectors, namely the graph Fourier basis, $\\boldsymbol { \\Lambda } = \\operatorname { d i a g } ( \\lambda _ { 1 } , \\ldots , \\lambda _ { N } )$ with $\\lambda _ { 1 } \\leq \\cdots \\leq \\lambda _ { N }$ . These eigenvalues are also called frequencies. ",
142
+ "bbox": [
143
+ 173,
144
+ 611,
145
+ 826,
146
+ 666
147
+ ],
148
+ "page_idx": 1
149
+ },
150
+ {
151
+ "type": "text",
152
+ "text": "In additional to $L$ , some variants are also commonly used, e.g., the symmetric normalized Laplacian $L _ { \\mathrm { s v m } } = D ^ { - 1 / 2 } L D ^ { - 1 / 2 } = I - D ^ { - 1 / 2 } A D ^ { - 1 / 2 }$ and the random walk normalized Laplacian $L _ { \\mathrm { r w } } =$ $D ^ { \\dot { - } 1 } L = I - D ^ { - 1 } A$ . The graph Laplacian and its variants can be considered as high-pass filters for graph signals. The affinity (transition) matrices can be derived from the Laplacians, e.g., $A _ { \\mathrm { r w } } =$ $I - L _ { \\mathrm { r w } } = D ^ { - 1 } A$ , $A _ { \\mathrm { s y m } } = \\bar { I } - L _ { \\mathrm { s y m } } = D ^ { - 1 / 2 } A D ^ { - 1 / 2 }$ and are considered to be low-pass filters $\\textcircled { 1 3 4 } \\textcircled { 1 }$ . Their eigenvalues satisfy $\\lambda _ { i } ( A _ { \\mathrm { r w } } ) = \\lambda _ { i } ( A _ { \\mathrm { s y m } } ) = 1 - \\lambda _ { i } ( L _ { \\mathrm { s y m } } ) = 1 - \\lambda _ { i } ( L _ { \\mathrm { r w } } ) { \\it \\bar { \\Psi } } \\in ( - 1 , 1 ]$ Applying the renormalization trick $\\mathbb { 1 1 9 }$ to affinity and Laplacian matrices respectively leads to $\\hat { A } _ { \\mathrm { s y m } } ^ { - 1 } = \\bar { \\tilde { D } } ^ { - 1 / 2 } \\tilde { A } \\tilde { D } ^ { - 1 / 2 }$ and $\\hat { L } _ { \\mathrm { s y m } } = I - \\hat { A } _ { \\mathrm { s y m } }$ , where ${ \\tilde { A } } \\equiv A + I$ and $\\tilde { D } \\equiv D + I$ . The renormalized affinity matrix essentially adds a self-loop to each node in the graph, and is widely used in Graph Convolutional Network (GCN) $\\mathbb { \\lVert 1 9 \\rVert }$ as follows: ",
153
+ "bbox": [
154
+ 173,
155
+ 672,
156
+ 825,
157
+ 818
158
+ ],
159
+ "page_idx": 1
160
+ },
161
+ {
162
+ "type": "equation",
163
+ "img_path": "images/d06cc46772e54342a924e451a178ab0a15315fc5f732dde7035119f42d0d33ac.jpg",
164
+ "text": "$$\nY = \\mathrm { s o f t m a x } ( { \\hat { A } } _ { \\mathrm { s y m } } \\mathrm { R e L U } ( { \\hat { A } } _ { \\mathrm { s y m } } X W _ { 0 } ) W _ { 1 } )\n$$",
165
+ "text_format": "latex",
166
+ "bbox": [
167
+ 352,
168
+ 824,
169
+ 643,
170
+ 844
171
+ ],
172
+ "page_idx": 1
173
+ },
174
+ {
175
+ "type": "text",
176
+ "text": "where $W _ { 0 } \\in \\mathbb { R } ^ { F \\times F _ { 1 } }$ and $W _ { 1 } \\in \\mathbb { R } ^ { F _ { 1 } \\times O }$ are learnable parameter matrices. GCNs can be trained by minimizing the following cross entropy loss ",
177
+ "bbox": [
178
+ 171,
179
+ 851,
180
+ 823,
181
+ 881
182
+ ],
183
+ "page_idx": 1
184
+ },
185
+ {
186
+ "type": "equation",
187
+ "img_path": "images/6c68fa7091c1e02328c7c1fcb9640a37d299cb062ee067c5da320bb5fc53aa9e.jpg",
188
+ "text": "$$\n\\mathcal { L } = - \\mathrm { t r a c e } ( Z ^ { T } \\log Y )\n$$",
189
+ "text_format": "latex",
190
+ "bbox": [
191
+ 419,
192
+ 893,
193
+ 578,
194
+ 912
195
+ ],
196
+ "page_idx": 1
197
+ },
198
+ {
199
+ "type": "text",
200
+ "text": "where $\\log ( \\cdot )$ is a component-wise logarithm operation. The random walk renormalized matrix $\\hat { A } _ { \\mathrm { r w } } = \\tilde { D } ^ { - 1 } \\tilde { A }$ , which shares the same eigenvalues as $\\hat { A } _ { \\mathrm { s y m } }$ , can also be applied in GCN. The corresponding Laplacian is defined as $\\hat { L } _ { \\mathrm { r w } } = I - \\hat { A } _ { \\mathrm { r w } }$ . The matrix $\\hat { A } _ { \\mathrm { r w } }$ is essentially a random walk matrix and behaves as a mean aggregator that is applied in spatial-based GNNs [15, 14]. To bridge spectral and spatial methods, we use $\\hat { A } _ { r w }$ in this paper. ",
201
+ "bbox": [
202
+ 173,
203
+ 90,
204
+ 826,
205
+ 170
206
+ ],
207
+ "page_idx": 2
208
+ },
209
+ {
210
+ "type": "text",
211
+ "text": "2.2 Metrics of Homophily ",
212
+ "text_level": 1,
213
+ "bbox": [
214
+ 174,
215
+ 184,
216
+ 366,
217
+ 199
218
+ ],
219
+ "page_idx": 2
220
+ },
221
+ {
222
+ "type": "text",
223
+ "text": "The homophily metrics are defined by considering different relations between node labels and graph structures. There are three commonly used homophily metrics: edge homophily [1, $\\boxed { 4 6 }$ , node homophily $\\pmb { \\mathbb { B } } 6 \\|$ and class homophily $\\underline { { \\| \\mathbf { \\check { 2 } 6 } \\| } } \\big \\|$ , defined as follows: ",
224
+ "bbox": [
225
+ 174,
226
+ 205,
227
+ 826,
228
+ 248
229
+ ],
230
+ "page_idx": 2
231
+ },
232
+ {
233
+ "type": "equation",
234
+ "img_path": "images/84b6f85bf06d286693cd2739aefbe75a178f41b0a68ee5b062e574059a80b07f.jpg",
235
+ "text": "$$\n\\begin{array} { l } { \\displaystyle \\mathcal { I } _ { \\mathrm { c d g c } } ( \\boldsymbol { \\mathcal { G } } ) = \\frac { \\big | \\{ e _ { u v } \\mid e _ { u v } \\in \\mathcal { E } , Z _ { u , : } = Z _ { v , : } \\} \\big | } { | \\mathcal { E } | } , H _ { \\mathrm { n o d c } } ( \\boldsymbol { \\mathcal { G } } ) = \\frac { 1 } { | \\mathcal { V } | } \\displaystyle \\sum _ { v \\in \\mathcal { V } } H _ { \\mathrm { n o d e } } ^ { v } = \\frac { 1 } { | \\mathcal { V } | } \\displaystyle \\sum _ { v \\in \\mathcal { V } } \\frac { \\big | \\{ u \\mid u \\in \\mathcal { N } _ { v } , Z _ { u , : } = Z _ { v , : } \\} \\big | } { d _ { v } } \\mathrm { ~ , ~ } } \\\\ { \\displaystyle \\mathcal { I } _ { \\mathrm { c l a s s } } ( \\boldsymbol { \\mathcal { G } } ) = \\frac { 1 } { C - 1 } \\displaystyle \\sum _ { k = 1 } ^ { C } \\Big [ h _ { k } - \\frac { \\big | \\{ v \\mid Z _ { v , k } = 1 \\} \\big | } { N } \\Big ] _ { + } , h _ { k } = \\frac { \\sum _ { v \\in \\mathcal { V } } \\big | \\{ u \\mid Z _ { v , k } = 1 , u \\in \\mathcal { N } _ { v } , Z _ { u , : } = Z _ { v , : } \\} \\big | } { \\sum _ { v \\in \\{ v \\mid Z _ { v , k } = 1 \\} } d _ { v } } \\mathrm { ~ . ~ } } \\end{array}\n$$",
236
+ "text_format": "latex",
237
+ "bbox": [
238
+ 181,
239
+ 250,
240
+ 839,
241
+ 338
242
+ ],
243
+ "page_idx": 2
244
+ },
245
+ {
246
+ "type": "text",
247
+ "text": "where $H _ { \\mathrm { n o d e } } ^ { v }$ is the local homophily value for node $v$ ; $[ a ] _ { + } = \\operatorname* { m a x } ( a , 0 )$ ; $h _ { k }$ is the class-wise homophily metric $\\left\\| 2 6 \\right\\|$ . All metrics are in the range of $[ 0 , 1 ]$ ; a value close to $1$ corresponds to strong homophily, while a value close to 0 indicates strong heterophily. $H _ { \\mathrm { e d g e } } ( { \\mathcal { G } } )$ measures the proportion of edges that connect two nodes in the same class; $H _ { \\mathrm { n o d e } } ( \\mathcal { G } )$ evaluates the average proportion of edge-label consistency of all nodes; $H _ { \\mathrm { c l a s s } } ( \\mathcal { G } )$ tries to avoid sensitivity to imbalanced classes, which can make $H _ { \\mathrm { e d g e } } ( { \\mathcal { G } } )$ misleadingly large. The above definitions are all based on the linear featureindependent graph-label consistency. The inconsistency relation is implied to have a negative effect to the performance of GNNs. With this in mind, in the following section, we give an example to illustrate the shortcomings of the above metrics and propose new feature-independent metrics that are defined from post-aggregation node similarity perspective, which is novel. ",
248
+ "bbox": [
249
+ 173,
250
+ 347,
251
+ 826,
252
+ 487
253
+ ],
254
+ "page_idx": 2
255
+ },
256
+ {
257
+ "type": "text",
258
+ "text": "3 Analysis of Heterophily ",
259
+ "text_level": 1,
260
+ "bbox": [
261
+ 176,
262
+ 493,
263
+ 401,
264
+ 511
265
+ ],
266
+ "page_idx": 2
267
+ },
268
+ {
269
+ "type": "text",
270
+ "text": "3.1 Motivation and Aggregation Homophily ",
271
+ "text_level": 1,
272
+ "bbox": [
273
+ 174,
274
+ 517,
275
+ 491,
276
+ 532
277
+ ],
278
+ "page_idx": 2
279
+ },
280
+ {
281
+ "type": "text",
282
+ "text": "Heterophily is widely believed to be harmful for message-passing based GNNs [46, 36, 8] because, intuitively, features of nodes in different classes will be falsely mixed, leading nodes to be indistinguishable $| \\overline { { \\mathbb { H } 6 } } |$ . Nevertheless, it is not always the case, e.g., the bipartite graph2 shown in Figure $\\nsupseteq$ is highly heterophilic according to the existing homophily metrics in equation $\\textcircled { 3 }$ but after mean aggregation, the nodes in classes 1 and 2 just exchange colors and are still distinguishable3. This example tells us that, besides graph-label consistency, we need to study the relation between nodes after aggregation step. ",
283
+ "bbox": [
284
+ 174,
285
+ 539,
286
+ 485,
287
+ 718
288
+ ],
289
+ "page_idx": 2
290
+ },
291
+ {
292
+ "type": "image",
293
+ "img_path": "images/c1b018a040bcfe67973ad8ddb5a86b14d4e381ebf8420d541eb78816666b447f.jpg",
294
+ "image_caption": [
295
+ "Figure 1: Example of harmless heterophily "
296
+ ],
297
+ "image_footnote": [],
298
+ "bbox": [
299
+ 503,
300
+ 561,
301
+ 818,
302
+ 665
303
+ ],
304
+ "page_idx": 2
305
+ },
306
+ {
307
+ "type": "text",
308
+ "text": "To this end, we first define the post-aggregation node similarity matrix as follows: ",
309
+ "bbox": [
310
+ 174,
311
+ 719,
312
+ 709,
313
+ 733
314
+ ],
315
+ "page_idx": 2
316
+ },
317
+ {
318
+ "type": "equation",
319
+ "img_path": "images/11b04dfec0cf0e06df547897cefe9b381486344cb2b47b41d1c8217936ef6ddd.jpg",
320
+ "text": "$$\nS ( \\hat { A } , X ) \\equiv \\hat { A } X ( \\hat { A } X ) ^ { T } \\in \\mathbb { R } ^ { N \\times N }\n$$",
321
+ "text_format": "latex",
322
+ "bbox": [
323
+ 385,
324
+ 736,
325
+ 612,
326
+ 755
327
+ ],
328
+ "page_idx": 2
329
+ },
330
+ {
331
+ "type": "text",
332
+ "text": "where $\\hat { A } \\in \\mathbb { R } ^ { N \\times N }$ denotes a general aggregation operator. $S ( { \\hat { A } } , X )$ is essentially the gram matrix that measures the similarity between each pair of aggregated node features. ",
333
+ "bbox": [
334
+ 174,
335
+ 760,
336
+ 826,
337
+ 790
338
+ ],
339
+ "page_idx": 2
340
+ },
341
+ {
342
+ "type": "text",
343
+ "text": "Relationship Between $S ( { \\hat { A } } , X )$ and Gradient of SGC SGC $\\lVert \\rVert ^ { \\mathrm { ~ H ~ 2 ~ } }$ is one of the most simple but representative GNN models and its output can be written as: ",
344
+ "bbox": [
345
+ 173,
346
+ 796,
347
+ 825,
348
+ 827
349
+ ],
350
+ "page_idx": 2
351
+ },
352
+ {
353
+ "type": "equation",
354
+ "img_path": "images/95cf7a885d41b67227ac3a2b3433da69158640f8cb38cba611ae308fa7636f03.jpg",
355
+ "text": "$$\nY = \\mathrm { s o f t m a x } ( \\hat { A } X W ) = \\mathrm { s o f t m a x } ( Y ^ { \\prime } )\n$$",
356
+ "text_format": "latex",
357
+ "bbox": [
358
+ 370,
359
+ 829,
360
+ 625,
361
+ 848
362
+ ],
363
+ "page_idx": 2
364
+ },
365
+ {
366
+ "type": "text",
367
+ "text": "With the loss function in equation $\\bigstar$ after each gradient descent step, we have $\\begin{array} { r } { \\Delta W = \\gamma \\frac { d \\mathcal { L } } { d W } } \\end{array}$ , where $\\gamma$ is the learning rate. The update of $Y ^ { \\prime }$ is (see Appendix $\\boxed { \\mathrm { E } }$ for derivation): ",
368
+ "bbox": [
369
+ 173,
370
+ 88,
371
+ 826,
372
+ 122
373
+ ],
374
+ "page_idx": 3
375
+ },
376
+ {
377
+ "type": "equation",
378
+ "img_path": "images/0f15311f214c17d5c72d4680017d87ac19b4c9915ba565f49aa85781e76738f6.jpg",
379
+ "text": "$$\n\\Delta Y ^ { \\prime } = \\hat { A } X \\Delta W = \\gamma \\hat { A } X { \\frac { d { \\mathcal { L } } } { d W } } \\propto \\hat { A } X { \\frac { d { \\mathcal { L } } } { d W } } = \\hat { A } X X ^ { T } \\hat { A } ^ { T } ( Z - Y ) = S ( \\hat { A } , X ) ( Z - Y )\n$$",
380
+ "text_format": "latex",
381
+ "bbox": [
382
+ 194,
383
+ 127,
384
+ 767,
385
+ 159
386
+ ],
387
+ "page_idx": 3
388
+ },
389
+ {
390
+ "type": "text",
391
+ "text": "where $Z - Y$ is the prediction error matrix. The update direction of the prediction for node $i$ is essentially a weighted sum of the prediction error, i.e., $\\begin{array} { r } { \\Delta ( Y ^ { \\prime } ) _ { i , : } = \\sum _ { j \\in \\mathcal { V } } \\left[ S ( \\hat { A } , X ) \\right] _ { i , j } ( Z - Y ) _ { j , } } \\end{array}$ : and $\\big [ S ( \\hat { A } , X ) \\big ] _ { i , j }$ can be considered as the weights. Intuitively, a high similarity value $\\big [ S ( \\hat { A } , X ) \\big ] _ { i , j }$ means node $i$ tends to be updated to the same class as node $j$ . This indicates that $S ( { \\hat { A } } , X )$ is closely related to a single layer GNN model. ",
392
+ "bbox": [
393
+ 173,
394
+ 164,
395
+ 826,
396
+ 250
397
+ ],
398
+ "page_idx": 3
399
+ },
400
+ {
401
+ "type": "text",
402
+ "text": "Based on the above definition and observation, we define the aggregation similarity score as follows. ",
403
+ "bbox": [
404
+ 166,
405
+ 255,
406
+ 826,
407
+ 270
408
+ ],
409
+ "page_idx": 3
410
+ },
411
+ {
412
+ "type": "text",
413
+ "text": "Definition 1. The aggregation similarity score is: ",
414
+ "bbox": [
415
+ 173,
416
+ 273,
417
+ 503,
418
+ 289
419
+ ],
420
+ "page_idx": 3
421
+ },
422
+ {
423
+ "type": "equation",
424
+ "img_path": "images/718052a1871048c44613af53ca96d5e828fddb61c949996ebd34574709cdee7a.jpg",
425
+ "text": "$$\n\\begin{array} { r l } { \\left. { S _ { a g g } \\bigl ( S ( \\hat { A } , X ) \\bigr ) } \\quad } & { } \\\\ & { = \\frac { 1 } { | \\mathcal { V } | } \\left| \\left\\{ v \\big | \\operatorname { M e a n } _ { u } \\bigl ( \\{ S ( \\hat { A } , X ) _ { v , u } | Z _ { u , : } = Z _ { v , : } \\} \\right) \\geq \\operatorname { M e a n } _ { u } \\bigl ( \\{ S ( \\hat { A } , X ) _ { v , u } | Z _ { u , : } \\neq Z _ { v , : } \\} \\bigr ) \\right\\} \\right| } \\end{array}\n$$",
426
+ "text_format": "latex",
427
+ "bbox": [
428
+ 187,
429
+ 295,
430
+ 789,
431
+ 351
432
+ ],
433
+ "page_idx": 3
434
+ },
435
+ {
436
+ "type": "text",
437
+ "text": "where ${ \\mathrm { M e a n } } _ { u } \\left( \\{ \\cdot \\} \\right)$ takes the average over u of a given multiset of values or variables. ",
438
+ "bbox": [
439
+ 173,
440
+ 357,
441
+ 740,
442
+ 372
443
+ ],
444
+ "page_idx": 3
445
+ },
446
+ {
447
+ "type": "text",
448
+ "text": "$S _ { \\mathrm { a g g } } ( S ( \\hat { A } , X ) )$ measures the proportion of nodes $v \\in \\mathcal V$ as which the average weights on the set of nodes in the same class (including $v$ ) is larger than that in other classes. In practice, we observe that in most datasets, we will have $S _ { \\mathrm { a g g } } ( S ( { \\bar { A } } , X ) ) \\geq 0 . 5 ^ { 4 } .$ To make the metric range in [0,1], like existing metrics, we rescale equation $^ { 7 }$ to the following modified aggregation similarity, ",
449
+ "bbox": [
450
+ 173,
451
+ 385,
452
+ 826,
453
+ 445
454
+ ],
455
+ "page_idx": 3
456
+ },
457
+ {
458
+ "type": "equation",
459
+ "img_path": "images/8fc960b634cac84226929ed5a1d136c95e51172915cccd5332d0b8505b465a7f.jpg",
460
+ "text": "$$\nS _ { \\mathrm { a g g } } ^ { M } \\bigl ( S ( \\hat { A } , X ) \\bigr ) = \\bigl [ 2 S _ { \\mathrm { a g g } } \\bigl ( S ( \\hat { A } , X ) \\bigr ) - 1 \\bigr ] _ { + }\n$$",
461
+ "text_format": "latex",
462
+ "bbox": [
463
+ 356,
464
+ 450,
465
+ 642,
466
+ 473
467
+ ],
468
+ "page_idx": 3
469
+ },
470
+ {
471
+ "type": "text",
472
+ "text": "In order to measure the consistency between labels and graph structures without considering node features and to make a fair comparison with the existing homophily metrics in equation $\\textcircled { 3 }$ we define the graph $( { \\mathcal { G } } )$ aggregation $( \\hat { A } )$ homophily and its modified version 5 as: ",
473
+ "bbox": [
474
+ 173,
475
+ 486,
476
+ 825,
477
+ 532
478
+ ],
479
+ "page_idx": 3
480
+ },
481
+ {
482
+ "type": "equation",
483
+ "img_path": "images/29a24f44d7c5385bdfd8833b4453326ff078ca9effcd247b9c3c2a5c97c5193c.jpg",
484
+ "text": "$$\nH _ { \\mathrm { a g g } } ( \\mathcal { G } ) = S _ { \\mathrm { a g g } } \\big ( S ( \\hat { A } , Z ) \\big ) , H _ { \\mathrm { a g g } } ^ { M } ( \\mathcal { G } ) = S _ { \\mathrm { a g g } } ^ { M } \\big ( S ( \\hat { A } , Z ) \\big )\n$$",
485
+ "text_format": "latex",
486
+ "bbox": [
487
+ 318,
488
+ 537,
489
+ 678,
490
+ 559
491
+ ],
492
+ "page_idx": 3
493
+ },
494
+ {
495
+ "type": "text",
496
+ "text": "As the example shown in Figure $\\bigstar \\bigstar \\bigstar$ when $\\hat { A } = \\hat { A } _ { \\mathrm { r w } }$ , it is easy to see that $H _ { \\mathrm { a g g } } ( \\mathcal { G } ) = H _ { \\mathrm { a g g } } ^ { M } ( \\mathcal { G } ) = 1$ and other metrics are 0. Thus, this new metric reflects the fact that nodes in classes 1 and 2 are still highly distinguishable after aggregation, while other metrics mentioned before fail to capture such information and misleadingly give value 0. This shows the advantage of $H _ { \\mathrm { a g g } } ( { \\mathcal { G } } )$ and $H _ { \\mathrm { a g g } } ^ { M } ( { \\mathcal { G } } )$ , which additionally exploit information from aggregation operator $\\hat { A }$ and the similarity matrix. ",
497
+ "bbox": [
498
+ 173,
499
+ 566,
500
+ 825,
501
+ 645
502
+ ],
503
+ "page_idx": 3
504
+ },
505
+ {
506
+ "type": "text",
507
+ "text": "To comprehensively compare $H _ { \\mathrm { a g g } } ^ { M } ( { \\mathcal { G } } )$ with the existing metrics on their ability to elucidate the influence of graph structure on GNN performance, we generate synthetic graphs with different homophily levels and evaluate SGC $\\bar { \\| 4 2 \\| }$ and GCN $\\mathbb { I m }$ on them in the next subsection. ",
508
+ "bbox": [
509
+ 173,
510
+ 648,
511
+ 825,
512
+ 693
513
+ ],
514
+ "page_idx": 3
515
+ },
516
+ {
517
+ "type": "image",
518
+ "img_path": "images/c95a51bb06fe7d52938b07387a269b7b689a3d8e5d1b6f893e2e8ce23be9f235.jpg",
519
+ "image_caption": [
520
+ "Figure 2: Comparison of baseline performance under different homophily metrics. "
521
+ ],
522
+ "image_footnote": [],
523
+ "bbox": [
524
+ 176,
525
+ 718,
526
+ 986,
527
+ 832
528
+ ],
529
+ "page_idx": 3
530
+ },
531
+ {
532
+ "type": "image",
533
+ "img_path": "images/abb5804f92603addff9a469f330855d8dbb69fa9416266712a781ee36aa03741.jpg",
534
+ "image_caption": [
535
+ "Figure 3: Example of how diversification can address harmful heterophily "
536
+ ],
537
+ "image_footnote": [],
538
+ "bbox": [
539
+ 173,
540
+ 90,
541
+ 813,
542
+ 233
543
+ ],
544
+ "page_idx": 4
545
+ },
546
+ {
547
+ "type": "text",
548
+ "text": "3.2 Empirical Evaluation and Comparison on Synthetic Graphs ",
549
+ "text_level": 1,
550
+ "bbox": [
551
+ 174,
552
+ 295,
553
+ 630,
554
+ 310
555
+ ],
556
+ "page_idx": 4
557
+ },
558
+ {
559
+ "type": "text",
560
+ "text": "In this subsection, we conduct experiments on synthetic graphs generated with different levels of $H _ { \\mathrm { e d g e } } ^ { M } ( { \\mathcal { G } } )$ to assess the output of $\\dot { H } _ { \\mathrm { a g g } } ^ { M } ( { \\mathcal G } )$ in comparison with existing metrics. ",
561
+ "bbox": [
562
+ 173,
563
+ 318,
564
+ 825,
565
+ 347
566
+ ],
567
+ "page_idx": 4
568
+ },
569
+ {
570
+ "type": "text",
571
+ "text": "Data Generation $\\pmb { \\& }$ Experimental Setup We first generated 10 graphs for each of 28 edge homophily levels, from 0.005 to 0.95, for a total of 280 graphs. In every generated graph, we had 5 classes, with 400 nodes in each class. For nodes in each class, we randomly generated 800 intra-class edges and $[ \\frac { 8 0 0 } { H _ { \\mathrm { e d g e } } ( \\mathcal { G } ) } - 8 0 0 ]$ inter-class edges. The features of nodes in each class are sampled from node features in the corresponding class of 6 base datasets (Cora, CiteSeer, PubMed, Chameleon, Squirrel, Film). Nodes were randomly split into train/validation/test sets, in proportion of $6 0 \\% / 2 0 \\% / 2 0 \\%$ . We trained 1-hop SGC (sgc-1) $| \\bar { | 4 2 | }$ and GCN $\\mathbb { \\underline { { \\ m o } } }$ on the synthetic graphs $\\bigstar$ For each value of $H _ { \\mathrm { e d g e } } ( { \\mathcal { G } } )$ , we take the average test accuracy and standard deviationthat value. For each generated graph, we also calculate $H _ { \\mathrm { n o d e } } ( \\mathcal G ) , H _ { \\mathrm { c l a s s } } ( \\mathcal G )$ geneand $H _ { \\mathrm { a g g } } ^ { M } ( { \\mathcal { G } } )$ phs with. Model performance with respect to different homophily values is shown in Figure 2. ",
572
+ "bbox": [
573
+ 173,
574
+ 356,
575
+ 826,
576
+ 498
577
+ ],
578
+ "page_idx": 4
579
+ },
580
+ {
581
+ "type": "text",
582
+ "text": "Comparison of Homophily Metrics The performance of SGC-1 and GCN is expected to be monotonically increasing if the homophily metric is informative. However, Figure 2(a)(b)(c) show that the performance curves under $H _ { \\mathrm { e d g e } } ( \\mathcal { G } ) , H _ { \\mathrm { n o d e } } ( \\mathcal { G } )$ and $H _ { \\mathrm { c l a s s } } ( \\mathcal { G } )$ are $U$ -shaped ${ \\mathit { \\Sigma } } _ { . } ^ { 7 } ,$ while Figure 2(d) reveals a nearly monotonic curve with a little numerical perturbation around 1. This indicates that $\\overline { { H } } _ { \\mathrm { a g g } } ^ { M } ( \\mathcal { G } )$ provides a better indication of the way in which the graph structure affects the performance of SGC-1 and GCN than existing metrics. (See more discussion on aggregation homophily and theoretical results for regular graphs in Appendix $\\underline { { \\overline { { \\mathbb { D } } } } } .$ ",
583
+ "bbox": [
584
+ 173,
585
+ 506,
586
+ 825,
587
+ 604
588
+ ],
589
+ "page_idx": 4
590
+ },
591
+ {
592
+ "type": "text",
593
+ "text": "4 Adaptive Channel Mixing (ACM) ",
594
+ "text_level": 1,
595
+ "bbox": [
596
+ 174,
597
+ 613,
598
+ 485,
599
+ 631
600
+ ],
601
+ "page_idx": 4
602
+ },
603
+ {
604
+ "type": "text",
605
+ "text": "In prior work [32, 8, 4], it has been shown that high-frequency graph signals, which can be extracted by a high-pass filter (HP), is empirically useful for addressing heterophily. In this section, based on the similarity matrix in equation $\\mathbb { E } ,$ we theoretically prove that a diversification operation, i.e., HP filter, can address some cases of harmful heterophily locally. Besides, a node-wise analysis shows that different nodes may need different filters to process their neighborhood information. Based on the above analysis, in Sec. $^ { 4 . 2 }$ we propose Adaptive Channel Mixing (ACM), a 3-channel architecture which can adaptively exploit local and node-wise information from aggregation, diversification and identity channels. ",
606
+ "bbox": [
607
+ 173,
608
+ 637,
609
+ 825,
610
+ 750
611
+ ],
612
+ "page_idx": 4
613
+ },
614
+ {
615
+ "type": "text",
616
+ "text": "4.1 Diversification Helps with Harmful Heterophily ",
617
+ "text_level": 1,
618
+ "bbox": [
619
+ 174,
620
+ 760,
621
+ 545,
622
+ 775
623
+ ],
624
+ "page_idx": 4
625
+ },
626
+ {
627
+ "type": "text",
628
+ "text": "We first consider the example shown in Figure $3 .$ From $S ( { \\hat { A } } , X )$ , we can see that nodes $\\{ 1 , 3 \\}$ assign relatively large positive weights to nodes in class 2 after aggregation, which will make nodes $\\{ 1 , 3 \\}$ hard to be distinguished from nodes in class 2. However, we can still distinguish nodes $\\{ 1 , 3 \\}$ and $\\{ 4 , 5 , 6 , 7 \\}$ by considering their neighborhood differences: nodes $\\{ 1 , 3 \\}$ are different from most of their neighbors while nodes $\\{ 4 , 5 , 6 , 7 \\}$ are similar to most of their neighbors. This indicates that although some nodes become similar after aggregation, they are still distinguishable through their local surrounding dissimilarities. ",
629
+ "bbox": [
630
+ 173,
631
+ 775,
632
+ 825,
633
+ 847
634
+ ],
635
+ "page_idx": 4
636
+ },
637
+ {
638
+ "type": "text",
639
+ "text": "",
640
+ "bbox": [
641
+ 173,
642
+ 90,
643
+ 823,
644
+ 119
645
+ ],
646
+ "page_idx": 5
647
+ },
648
+ {
649
+ "type": "text",
650
+ "text": "This observation leads us to introduce the diversification operation, i.e., HP filter $I - { \\hat { A } } \\left[ \\mathbb { D } \\right] $ t o extract information regarding neighborhood differences, thereby addressing harmful heterophily. As $S ( I - { \\hat { A } } , X )$ in Fig. $\\textcircled { 3 }$ shows, nodes $\\{ 1 , 3 \\}$ will assign negative weights to nodes $\\{ 4 , 5 , 6 , 7 \\}$ after the diversification operation, i.e., nodes 1,3 treat nodes 4,5,6,7 as negative samples and will move away from them during backpropagation. This example reveals that there are cases in which the diversification operation is helpful to handle heterophily, while the aggregation operation is not. Based on this observation, we first define the diversification distinguishability of a node and the graph diversification distinguishability value, which measures the proportion of nodes for which the diversification operation is potentially helpful. ",
651
+ "bbox": [
652
+ 173,
653
+ 127,
654
+ 825,
655
+ 255
656
+ ],
657
+ "page_idx": 5
658
+ },
659
+ {
660
+ "type": "text",
661
+ "text": "Definition 2 (Diversification Distinguishability (DD) based on $S ( I - { \\hat { A } } , X ) )$ ). Given $S ( I - { \\hat { A } } , X )$ , $a$ node $v$ is diversification distinguishable if the following two conditions are satisfied at the same time, ",
662
+ "bbox": [
663
+ 173,
664
+ 261,
665
+ 823,
666
+ 291
667
+ ],
668
+ "page_idx": 5
669
+ },
670
+ {
671
+ "type": "equation",
672
+ "img_path": "images/b721ad959501bcbc8f830b4454e3a82e868b6a4ae7d4d45f8f07030f8da674d2.jpg",
673
+ "text": "$$\n\\begin{array} { r } { I . \\mathrm { ~ M e a n } _ { u } \\left( \\{ S ( I - \\hat { A } , X ) _ { v , u } | u \\in \\mathcal { V } \\wedge Z _ { u , : } = Z _ { v , : } \\} \\right) \\geq 0 ; } \\\\ { 2 . \\mathrm { ~ M e a n } _ { u } \\left( \\{ S ( I - \\hat { A } , X ) _ { v , u } | u \\in \\mathcal { V } \\wedge Z _ { u , : } \\neq Z _ { v , : } \\} \\right) \\leq 0 } \\end{array}\n$$",
674
+ "text_format": "latex",
675
+ "bbox": [
676
+ 305,
677
+ 292,
678
+ 691,
679
+ 349
680
+ ],
681
+ "page_idx": 5
682
+ },
683
+ {
684
+ "type": "text",
685
+ "text": "Then, graph diversification distinguishability value is defined as ",
686
+ "bbox": [
687
+ 178,
688
+ 356,
689
+ 599,
690
+ 372
691
+ ],
692
+ "page_idx": 5
693
+ },
694
+ {
695
+ "type": "equation",
696
+ "img_path": "images/a0b5fce6d96da716ecd383a1651c3adcabd2c0c3400d6cec64e4180094f8a96d.jpg",
697
+ "text": "$$\n\\mathrm { D D } _ { \\hat { A } , X } ( { \\mathcal G } ) = \\frac { 1 } { | \\mathcal V | } \\Big | \\{ v | v \\in \\mathcal V \\wedge v i s d i v e r s i f i c a t i o n d i s t i n g u i s h a b l e \\} \\Big |\n$$",
698
+ "text_format": "latex",
699
+ "bbox": [
700
+ 266,
701
+ 377,
702
+ 714,
703
+ 410
704
+ ],
705
+ "page_idx": 5
706
+ },
707
+ {
708
+ "type": "text",
709
+ "text": "We can see that $\\mathrm { D D } _ { \\hat { A } , X } ( { \\mathcal G } ) \\in [ 0 , 1 ]$ . Based on Def. 2, the effectiveness of diversification in addressing heterophily can be theoretically proved under certain conditions: ",
710
+ "bbox": [
711
+ 174,
712
+ 419,
713
+ 823,
714
+ 450
715
+ ],
716
+ "page_idx": 5
717
+ },
718
+ {
719
+ "type": "text",
720
+ "text": "Theorem 1. (See Appendix $\\mathbf { G }$ for proof). For $C = 2$ , suppose $X = Z , \\hat { A } = \\hat { A } _ { \\mathrm { r w } }$ . Then for any $I - { \\hat { A } } _ { \\mathrm { r w } }$ , all nodes are diversification distinguishable and $\\mathrm { D D } _ { \\hat { A } , Z } ( { \\mathcal G } ) = 1$ . ",
721
+ "bbox": [
722
+ 173,
723
+ 453,
724
+ 820,
725
+ 489
726
+ ],
727
+ "page_idx": 5
728
+ },
729
+ {
730
+ "type": "text",
731
+ "text": "With the above results for HP filters, we will now introduce the concept of filterbank which combines both LP (aggregation) and HP (diversification) filters and can potentially handle various local heterophily cases. We then develop ACM framework in the following subsection. ",
732
+ "bbox": [
733
+ 173,
734
+ 494,
735
+ 825,
736
+ 537
737
+ ],
738
+ "page_idx": 5
739
+ },
740
+ {
741
+ "type": "text",
742
+ "text": "4.2 Filterbank and Adaptive Channel Mixing (ACM) Framework ",
743
+ "text_level": 1,
744
+ "bbox": [
745
+ 174,
746
+ 545,
747
+ 640,
748
+ 560
749
+ ],
750
+ "page_idx": 5
751
+ },
752
+ {
753
+ "type": "text",
754
+ "text": "Filterbank For the graph signal $_ { \\textbf { \\em x } }$ defined on $\\mathcal { G }$ , a 2-channel linear (analysis) filterbank $\\underline { { \\breve { \\mathbb { I I } } } } | \\overline { { \\mathbb { I } } } |$ includes a pair of filters $H _ { \\mathrm { L P } } , H _ { \\mathrm { H P } }$ , which retain the low-frequency and high-frequency content of $_ { \\textbf { \\em x } }$ , respectively. Most existing GNNs use a uni-channel filtering architecture [19, 41, 15] with either LP or HP channel, which only partially preserves the input information. Unlike the uni-channel architecture, filterbanks with $H _ { \\mathrm { L P } } + H _ { \\mathrm { H P } } = I$ do not lose any information from the input signal, which is called the perfect reconstruction property [11]. Generally, the Laplacian matrices $( L _ { \\mathrm { s y m } } , L _ { \\mathrm { r w } } , \\hat { L } _ { \\mathrm { s y m } } , \\hat { L } _ { \\mathrm { r w } } )$ can be regarded as HP filters $\\mathbb { \\ m }$ and affinity matrices $ { \\langle A _ { \\mathrm { s y m } } }$ , $A _ { \\mathrm { r w } }$ , $\\hat { A } _ { \\mathrm { s y m } }$ , $\\hat { A } _ { \\mathrm { r w } } )$ can be treated as LP filters $\\pm \\pm \\pmb { \\mathbb { B 4 } } \\pmb { \\mathbb { B 4 } }$ . Moreover, we extend the concept of filterbank and view MLPs as using the identity (fullpass) filterbank with $H _ { \\mathrm { L P } } = I$ and $H _ { \\mathrm { H P } } = 0$ , which also satisfies $H _ { \\mathrm { L P } } + H _ { \\mathrm { H P } } = I + 0 = I .$ . ",
755
+ "bbox": [
756
+ 173,
757
+ 569,
758
+ 616,
759
+ 771
760
+ ],
761
+ "page_idx": 5
762
+ },
763
+ {
764
+ "type": "image",
765
+ "img_path": "images/948c74e2e0a95c52ca6bfa8cd28e2de0781c1415f3b7b05909f8c2cf17024534.jpg",
766
+ "image_caption": [
767
+ "Figure 4: $H _ { \\mathrm { n o d e } } ^ { v }$ distributions "
768
+ ],
769
+ "image_footnote": [],
770
+ "bbox": [
771
+ 629,
772
+ 593,
773
+ 821,
774
+ 705
775
+ ],
776
+ "page_idx": 5
777
+ },
778
+ {
779
+ "type": "text",
780
+ "text": "Node-wise Channel Mixing for Diverse Local Homophily The example in Figure 3 also shows that different nodes may need the local information extracted from different channels, e.g., nodes $\\{ 1 , 3 \\}$ demand information from the HP channel while node 2 only needs information from the LP channel. Figure $\\sharp$ reveals that nodes have diverse distributions of node local homophily $H _ { \\mathrm { n o d e } } ^ { v }$ across different datasets. In order to adaptively leverage the LP, HP and identity channels in GNNs to deal with the diverse local heterophily situations, we will now describe our proposed Adaptive Channel Mixing (ACM) framework. ",
781
+ "bbox": [
782
+ 173,
783
+ 779,
784
+ 825,
785
+ 876
786
+ ],
787
+ "page_idx": 5
788
+ },
789
+ {
790
+ "type": "text",
791
+ "text": "Adaptive Channel Mixing (ACM) We will use $\\operatorname { G C N } \\big \\lbrack$ as an example to introduce the ACM framework in matrix form, but the framework can be combined in a similar manner to many different GNNs. The ACM framework includes the following steps: ",
792
+ "bbox": [
793
+ 174,
794
+ 89,
795
+ 826,
796
+ 133
797
+ ],
798
+ "page_idx": 6
799
+ },
800
+ {
801
+ "type": "text",
802
+ "text": "Step 1. Feature Extraction for Each Channel: ",
803
+ "text_level": 1,
804
+ "bbox": [
805
+ 174,
806
+ 137,
807
+ 491,
808
+ 151
809
+ ],
810
+ "page_idx": 6
811
+ },
812
+ {
813
+ "type": "text",
814
+ "text": "Option 1: Option 2: $\\begin{array} { r l } & { \\colon H _ { L } ^ { l } = { \\mathrm { R e L U } } \\left( H _ { \\mathrm { L P } } H ^ { l - 1 } W _ { L } ^ { l - 1 } \\right) , H _ { H } ^ { l } = { \\mathrm { R e L U } } \\left( H _ { \\mathrm { R P } } H ^ { l - 1 } W _ { H } ^ { l - 1 } \\right) , H _ { I } ^ { l } = { \\mathrm { R e L U } } \\left( I H ^ { l - 1 } W _ { I } ^ { l - 1 } \\right) ; } \\\\ & { \\colon H _ { L } ^ { l } = H _ { \\mathrm { L P } } { \\mathrm { R e L U } } \\left( H ^ { l - 1 } W _ { L } ^ { l - 1 } \\right) , H _ { H } ^ { l } = H _ { \\mathrm { H P } } { \\mathrm { R e L U } } \\left( H ^ { l - 1 } W _ { H } ^ { l - 1 } \\right) , H _ { I } ^ { l } = I { \\mathrm { R e L U } } \\left( H ^ { l - 1 } W _ { I } ^ { l - 1 } \\right) ; } \\end{array}$ $H ^ { 0 } = X \\in \\mathbb { R } ^ { N \\times F _ { 0 } }$ , $W _ { L } ^ { l - 1 }$ , $W _ { H } ^ { l - 1 }$ , $W _ { I } ^ { l - 1 } \\in \\mathbb { R } ^ { F _ { l - 1 } \\times F _ { l } }$ , l = 1, . . . , L; ",
815
+ "bbox": [
816
+ 173,
817
+ 154,
818
+ 875,
819
+ 215
820
+ ],
821
+ "page_idx": 6
822
+ },
823
+ {
824
+ "type": "text",
825
+ "text": "Step 2. Row-wise Feature-based Weight Learning: ",
826
+ "text_level": 1,
827
+ "bbox": [
828
+ 173,
829
+ 218,
830
+ 526,
831
+ 232
832
+ ],
833
+ "page_idx": 6
834
+ },
835
+ {
836
+ "type": "equation",
837
+ "img_path": "images/2a2a6c6d66e21705abb42a87cde03ee9e1bb35e6d692aa36ced9ee9b5ac9e47c.jpg",
838
+ "text": "$$\n\\begin{array} { r l } & { 1 \\left( H _ { L } ^ { l } \\tilde { W } _ { L } ^ { l } \\right) , \\tilde { \\alpha } _ { H } ^ { l } = \\mathrm { S i g m o i d } \\left( H _ { H } ^ { l } \\tilde { W } _ { H } ^ { l } \\right) , \\tilde { \\alpha } _ { I } ^ { l } = \\mathrm { S i g m o i d } \\left( H _ { I } ^ { l } \\tilde { W } _ { I } ^ { l } \\right) , \\tilde { W } _ { L } ^ { l - 1 } , \\tilde { W } _ { H } ^ { l - 1 } , \\tilde { W } _ { I } ^ { l - 1 } \\in \\mathbb { R } ^ { F _ { l } \\times 1 } } \\\\ & { = \\mathrm { S o f t m a x } \\left( \\left( \\left[ \\tilde { \\alpha } _ { L } ^ { l } , \\tilde { \\alpha } _ { H } ^ { l } , \\tilde { \\alpha } _ { I } ^ { l } \\right] / T \\right) W _ { \\mathrm { M i x } } ^ { l } \\right) \\in \\mathbb { R } ^ { N \\times 3 } , T \\in \\mathbb { R } \\mathrm { ~ t e m p e r a u r e } , W _ { \\mathrm { M i x } } ^ { l } \\in \\mathbb { R } ^ { 3 \\times 3 } ; } \\end{array}\n$$",
839
+ "text_format": "latex",
840
+ "bbox": [
841
+ 181,
842
+ 234,
843
+ 921,
844
+ 285
845
+ ],
846
+ "page_idx": 6
847
+ },
848
+ {
849
+ "type": "text",
850
+ "text": "Step 3. Node-wise Adaptive Channel Mixing: ",
851
+ "text_level": 1,
852
+ "bbox": [
853
+ 176,
854
+ 285,
855
+ 488,
856
+ 299
857
+ ],
858
+ "page_idx": 6
859
+ },
860
+ {
861
+ "type": "equation",
862
+ "img_path": "images/424e1ff3ce646f7d18bb472122bce2f97772bbe80055bea2fecd2add8421323a.jpg",
863
+ "text": "$$\nH ^ { l } = \\mathrm { R e L U } \\left( \\mathrm { d i a g } ( \\alpha _ { L } ^ { l } ) H _ { L } ^ { l } + \\mathrm { d i a g } ( \\alpha _ { H } ^ { l } ) H _ { H } ^ { l } + \\mathrm { d i a g } ( \\alpha _ { I } ^ { l } ) H _ { I } ^ { l } \\right)\n$$",
864
+ "text_format": "latex",
865
+ "bbox": [
866
+ 173,
867
+ 303,
868
+ 570,
869
+ 321
870
+ ],
871
+ "page_idx": 6
872
+ },
873
+ {
874
+ "type": "text",
875
+ "text": "We will refer to the instantiation which uses option 1 in step 1 as ACM and to the one using option 2 as $\\mathsf { A C M I I } \\boxed { 1 0 }$ In step 1, ACM(II)-GCN implement different feature extractions for 3 channels using a set of filterbanks. Three filtered components, $H _ { L } ^ { l } , H _ { H } ^ { l } , H _ { I } ^ { l }$ , are obtained. To adaptively exploit information from each channel, ACM(II)-GCN first extract nonlinear information from the filtered signals, then use $W _ { \\mathrm { M i x } } ^ { l }$ to learn which channel is important for each node, leading to the row-wise weight vectors $\\alpha _ { L } ^ { l } , \\widetilde { \\alpha _ { H } ^ { l } } , \\alpha _ { I } ^ { l } \\in \\mathbb { R } ^ { N \\times 1 }$ whose $i$ -th elements are the weights for node $i$ L 11 These three vectors are then used as weights in defining the updated $H ^ { l }$ in step 3. ",
876
+ "bbox": [
877
+ 173,
878
+ 327,
879
+ 825,
880
+ 429
881
+ ],
882
+ "page_idx": 6
883
+ },
884
+ {
885
+ "type": "text",
886
+ "text": "Complexity The number of learnable parameters in layer $l$ of ACM(II)-GCN is $3 F _ { l - 1 } ( F _ { l } + 1 ) + 9$ , compared to $F _ { l - 1 } F _ { l }$ in GCN. The computation of steps 1-3 takes $N F _ { l } ( 8 + 6 F _ { l - 1 } ) + 2 F _ { l } ( \\mathrm { n n z } ( H _ { \\mathrm { L P } } ) +$ $\\mathrm { n n z } ( H _ { \\mathrm { H P } } ) ) + 1 8 N$ flops, while the GCN layer takes $2 N F _ { l - 1 } F _ { l } + 2 F _ { l } ( \\mathrm { n n z } ( H _ { \\mathrm { L P } } ) )$ flops, where $\\mathrm { n n z } ( \\cdot )$ is the number of non-zero elements. An ablation study and a detailed comparison on running time are conducted in Sec. 6.1. ",
887
+ "bbox": [
888
+ 173,
889
+ 435,
890
+ 826,
891
+ 506
892
+ ],
893
+ "page_idx": 6
894
+ },
895
+ {
896
+ "type": "text",
897
+ "text": "Limitations of Diversification Like any other method, there exists some cases of harmful heterophily that diversification operation cannot work well. For example, suppose we have an imbalanced dataset where several small clusters with distinctive labels are densely connected to a large cluster. In this case, the surrounding differences of nodes in small clusters are similar, i.e., the neighborhood differences mainly come from their connections to the same large cluster, and this can lead to the diversification operation failing to discriminate them. See Appendix $\\mathrm { ~ H ~ }$ for a more detailed discussion. ",
898
+ "bbox": [
899
+ 173,
900
+ 512,
901
+ 826,
902
+ 597
903
+ ],
904
+ "page_idx": 6
905
+ },
906
+ {
907
+ "type": "text",
908
+ "text": "5 Related Work ",
909
+ "text_level": 1,
910
+ "bbox": [
911
+ 174,
912
+ 604,
913
+ 323,
914
+ 621
915
+ ],
916
+ "page_idx": 6
917
+ },
918
+ {
919
+ "type": "text",
920
+ "text": "We now discuss relevant work on addressing heterophily in GNNs. [1] acknowledges the difficulty of learning on graphs with weak homophily and propose MixHop to extract features from multi-hop neighborhoods to get more information. $\\mathbb { \\lVert 1 7 \\rVert }$ propose measurements based on feature smoothness and label smoothness that are potentially helpful to guide GNNs when dealing with heterophilic graphs. Geom-GCN $[ \\beta 6 ]$ precomputes unsupervised node embeddings and uses the graph structure defined by geometric relationships in the embedding space to define the bi-level aggregation process to handle heterophily. $\\mathrm { H _ { 2 } G C N }$ [46] combines 3 key designs to address heterophily: (1) ego- and neighbor-embedding separation; (2) higher-order neighborhoods; (3) combination of intermediate representations. CPGNN $\\lVert \\rVert \\dot { \\boldsymbol { \\mathrm { \\Omega } } }$ models label correlations through a compatibility matrix, which is beneficial for heterophilic graphs, and propagates a prior belief estimation into the GNN by using the compatibility matrix. Non-local GNNs $\\pmb { \\Vert 2 8 \\Vert }$ propose a simple and effective non-local aggregation framework with an efficient attention-guided sorting for GNNs. FAGCN [4] learns edge-level aggregation weights as GAT $\\mathbb { H }$ but allows the weights to be negative, which enables the network to capture high-frequency components in the graph signals. GPRGNN [8] uses learnable weights that can be both positive and negative for feature propagation. This allows GPRGNN to adapt to heterophilic graphs and to handle both high- and low-frequency parts of the graph signals (See Appendix J for a more comprehensive comparison between ACM-GNNs, ACMII-GNNs and FAGCN, ",
921
+ "bbox": [
922
+ 173,
923
+ 625,
924
+ 826,
925
+ 859
926
+ ],
927
+ "page_idx": 6
928
+ },
929
+ {
930
+ "type": "text",
931
+ "text": "GPRGNN). BernNet [16] designs a scheme to learn arbitrary graph spectral filters with Bernstein polynomial to address heterophily. $\\pmb { \\Vert 3 3 \\Vert }$ points out that homophily is not necessary for GNNs and characterizes conditions that GNNs can perform well on heterophilic graphs. ",
932
+ "bbox": [
933
+ 173,
934
+ 90,
935
+ 826,
936
+ 133
937
+ ],
938
+ "page_idx": 7
939
+ },
940
+ {
941
+ "type": "text",
942
+ "text": "6 Empirical Evaluation ",
943
+ "text_level": 1,
944
+ "bbox": [
945
+ 174,
946
+ 147,
947
+ 385,
948
+ 164
949
+ ],
950
+ "page_idx": 7
951
+ },
952
+ {
953
+ "type": "text",
954
+ "text": "In this section, we evaluate the proposed ACM and ACMII framework on real-world datasets (see Appendix $\\boxed { \\mathbf { D . 2 } }$ for a performance comparison with basline models on synthetic datasets). We first conduct ablation studies in Sec. 6.1 to validate the effectiveness and efficiency of different components of ACM and ACMII. Then, we compare with state-of-the-art (SOTA) models in Sec. 6.2. The hyperparameter searching range and computing resources are described in Appendix C. ",
955
+ "bbox": [
956
+ 173,
957
+ 170,
958
+ 825,
959
+ 239
960
+ ],
961
+ "page_idx": 7
962
+ },
963
+ {
964
+ "type": "image",
965
+ "img_path": "images/06b082d90bb15827608044fd54d9bb9b958aed44d5b74f2466f243d2ba99013d.jpg",
966
+ "image_caption": [
967
+ "Figure 5: t-SNE visualization of the output layer of ACM-GCN and GCN trained on Squirrel "
968
+ ],
969
+ "image_footnote": [],
970
+ "bbox": [
971
+ 205,
972
+ 265,
973
+ 792,
974
+ 583
975
+ ],
976
+ "page_idx": 7
977
+ },
978
+ {
979
+ "type": "text",
980
+ "text": "6.1 Ablation Study & Efficiency ",
981
+ "text_level": 1,
982
+ "bbox": [
983
+ 174,
984
+ 633,
985
+ 408,
986
+ 648
987
+ ],
988
+ "page_idx": 7
989
+ },
990
+ {
991
+ "type": "text",
992
+ "text": "We will now investigate the effectiveness and efficiency of adding HP, identity channels and the adaptive mixing mechanism in the proposed framework by performing an ablation study. Specifically, we apply the components of ACM to SGC-1 [42] $\\boxed { 1 2 }$ and the components of ACM and ACMII to GCN $\\mathbb { \\lVert 1 9 \\rVert }$ separately. We run 10 times on each of the 9 benchmark datatsets, Cornell, Wisconsin, Texas, Film, Chameleon, Squirrel, Cora, Citeseer and Pubmed used in $[ \\beta 7 , \\left| 3 6 \\right| ]$ , with the same $6 0 \\% / 2 0 \\% / 2 0 \\%$ random splits for train/validation/test used in $\\pmb { \\Vert 8 \\Vert }$ and report the average test accuracy as well as the standard deviation. We also record the average running time per epoch (in milliseconds) to compare the computational efficiency. We set the temperature $T$ in equation $^ { 4 . 2 }$ to be 3, which is the number of channels. ",
993
+ "bbox": [
994
+ 173,
995
+ 656,
996
+ 825,
997
+ 781
998
+ ],
999
+ "page_idx": 7
1000
+ },
1001
+ {
1002
+ "type": "text",
1003
+ "text": "The results in Table 1 show that on most datasets, the additional HP and identity channels are helpful, even for strong homophily datasets such as Cora, CiteSeer and PubMed. The adaptive mixing mechanism also has an advantage over directly adding the three channels together. This illustrates the necessity of learning to customize the channel usage adaptively for different nodes. The t-SNE visualization in Figure $\\bar { 5 }$ demonstrates that the high-pass channel(e) and identity channel(f) can extract meaningful patterns, which the low-pass channel(d) is not able to capture. The output of ACM",
1004
+ "bbox": [
1005
+ 173,
1006
+ 787,
1007
+ 825,
1008
+ 871
1009
+ ],
1010
+ "page_idx": 7
1011
+ },
1012
+ {
1013
+ "type": "table",
1014
+ "img_path": "images/8555cb111c0a02b3cffb5bb7ab465a5405e75ffbd0a05401c71111930d5edd6f.jpg",
1015
+ "table_caption": [],
1016
+ "table_footnote": [],
1017
+ "table_body": "<table><tr><td>Ablation Study on Different Components in ACM-SGC and ACM-GCN (%)</td><td></td><td colspan=\"10\"></td><td></td></tr><tr><td>Baseline</td><td colspan=\"3\">ModelComponents</td><td>Cornell</td><td>Wisconsin</td><td>Texas</td><td>Film</td><td>Chameleon</td><td>Squirrel</td><td>Cora</td><td>CiteSeer</td><td>PubMed</td><td>Rank</td></tr><tr><td>Models</td><td colspan=\"3\">LP HP Identity Mixing|</td><td>Acc ± Std</td><td>Acc ± Std</td><td>Acc ± Std</td><td>Acc ± Std</td><td>Acc ± Std</td><td>Acc ± Std</td><td>Acc ± Std</td><td>Acc ± Std</td><td>Acc ± Std</td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td><td>70.98±8.39 70.38±2.85 83.28±5.43 25.26±1.18 64.86±1.8147.62±1.2785.12±1.64 79.66±0.7585.5±0.76</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>12.89</td></tr><tr><td>ACM-SGC-1 w/</td><td>√</td><td></td><td>√ √</td><td></td><td>83.28±5.8191.88±1.6190.98±2.46 36.76±1.0165.27±1.947.27±1.3786.8±1.0880.98±1.68 87.21±0.42</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>10.44</td></tr><tr><td></td><td>√ √</td><td>√</td><td></td><td>93.93±3.695.25±1.84 93.93±2.54 38.38±1.13 63.83±2.0746.79±0.7586.73±1.2880.57±0.9987.8±0.58</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>9.44</td></tr><tr><td></td><td>√ √ √</td><td>√</td><td></td><td></td><td>88.2 ±4.3993.5±2.95 92.95±2.94 37.19±0.87 62.82±1.84 4.94±0.93 85.22±1.35 80.75±1.68 88.11±0.21</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>11.00</td></tr><tr><td></td><td></td><td>√</td><td>√</td><td></td><td>93.77±1.9193.25±2.9293.61±1.5539.33±1.2563.68±1.6246.4±1.1386.63±1.1380.96±0.9387.75±0.88</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>10.00</td></tr><tr><td>ACM-GCN w/</td><td>√</td><td></td><td></td><td>82.46±3.11 75.5±2.9283.11±3.2 35.51±0.99 64.18±2.62 44.76±1.39 87.78±0.96 81.39±1.2388.9±0.32</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>11.44</td></tr><tr><td></td><td>√ √</td><td></td><td>√</td><td></td><td>82.13 ±2.59 86.62±4.6189.19 ±3.04 38.06±1.3569.21±1.6857.2±1.018.93±1.5581.96±0.9190.01±0.8</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>7.22</td></tr><tr><td></td><td>√ √</td><td>√</td><td>√</td><td></td><td>94.26±2.2396.13±2.294.1±2.9541.51±0.99 67.44±2.14 53.97±1.3988.95±0.981.72±1.22 90.88±0.55</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>4.44</td></tr><tr><td></td><td>√</td><td>√</td><td></td><td></td><td>91.64±295.37±3.3195.25±2.3740.47±1.49 68.93±2.04 54.78±1.2789.13±1.7781.96±2.0391.01±0.7</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>3.11</td></tr><tr><td></td><td>√ √</td><td>√</td><td>√</td><td></td><td>94.75±2.6296.75±1.695.08±3.241.62±1.15 69.04±1.7458.02±1.8688.95±1.381.80±1.2690.69±0.53</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>2.78</td></tr><tr><td>ACMII-GCN w/</td><td>√ √</td><td></td><td>√</td><td>82.46±3.03 91.00±1.7590.33±2.69 38.39±0.75 67.59±2.1453.67±1.7189.13±1.1481.75±0.85 89.87±0.39</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>7.44</td></tr><tr><td></td><td>√</td><td>√</td><td>√</td><td>94.26±2.57 96.00±2.15 94.26 ±2.96 40.96±1.2 66.35±1.76 50.78±2.0789.06±1.0781.86±1.22 90.71±0.67</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>4.67</td></tr><tr><td></td><td>√ √</td><td>√</td><td></td><td>91.48±1.43 96.25±2.09 93.77±2.9140.27±1.076.52±2.65 52.9±1.6488.83±1.1681.54±0.9590.6±0.47</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>6.67</td></tr><tr><td></td><td>√ √</td><td>√</td><td>√</td><td></td><td>95.9±1.8396.62±2.4495.25±3.1541.84±1.1568.38±1.36 54.53±2.0989.00±0.7281.79±0.9590.74±0.5</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>2.78</td></tr><tr><td colspan=\"14\">Comparison of Average Running Time Per Epoch(ms)</td></tr><tr><td></td><td></td><td></td><td></td><td>2.53</td><td>2.83</td><td></td><td></td><td></td><td></td><td>3.47</td><td>3.43</td><td></td></tr><tr><td></td><td>√ √ √</td><td></td><td>√</td><td>4.01</td><td>4.57</td><td>2.5 4.24</td><td>3.18 4.55</td><td>3.48 4.76</td><td>4.65 5.09</td><td>5.39</td><td>4.69</td><td>4.04 4.75</td><td></td></tr><tr><td>ACM-SGC-1 w/</td><td>√</td><td>√</td><td>√</td><td>3.88</td><td>4.01</td><td>4.04</td><td>4.43</td><td>4.06</td><td>4.5</td><td>4.38</td><td>3.82</td><td>4.16</td><td></td></tr><tr><td></td><td>√ √</td><td>√</td><td></td><td>3.31</td><td>3.49</td><td>3.18</td><td>3.7</td><td>3.53</td><td>4.83</td><td>3.92</td><td>3.87</td><td>4.24</td><td></td></tr><tr><td></td><td>√ √</td><td>√</td><td>√</td><td>5.53</td><td>5.96</td><td>5.43</td><td>5.21</td><td>5.41</td><td>6.96</td><td>6</td><td>5.9</td><td>6.04</td><td></td></tr><tr><td></td><td></td><td></td><td></td><td>3.67</td><td>3.74</td><td>3.59</td><td></td><td></td><td></td><td></td><td>4.18</td><td>5.08</td><td></td></tr><tr><td></td><td>√ √ √</td><td></td><td>√</td><td>6.63</td><td>8.06</td><td>7.89</td><td>4.86 8.11</td><td>4.96 7.8</td><td>6.41 9.39</td><td>4.24 7.82</td><td>7.38</td><td>8.74 6.8</td><td></td></tr><tr><td>ACM-GCN w/</td><td>√</td><td>√</td><td>√</td><td>5.73</td><td>5.91</td><td>5.93</td><td>6.86</td><td>6.35</td><td>7.15</td><td>7.34</td><td>6.65</td><td>6.16</td><td></td></tr><tr><td></td><td>√ √</td><td>√</td><td></td><td>5.16</td><td>5.25</td><td>5.2</td><td>5.93</td><td>5.64</td><td>8.02</td><td>5.73</td><td>5.65</td><td></td><td></td></tr><tr><td></td><td>√ √</td><td>√</td><td>√</td><td>8.25</td><td>8.11</td><td>7.89</td><td>7.97</td><td>8.41</td><td>11.9</td><td>8.84</td><td>8.38</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td>√ √</td><td></td><td>√</td><td>6.62</td><td>7.35</td><td>7.39</td><td>7.62</td><td>7.33</td><td>9.69</td><td>7.49</td><td>7.58</td><td></td><td></td></tr><tr><td>ACMII-GCNw/</td><td>√</td><td>√</td><td>√</td><td>6.3</td><td>6.05</td><td>6.26</td><td>6.87</td><td>6.44</td><td>6.5</td><td>6.14</td><td>7.21</td><td>7.97 6.6 6.33</td><td></td></tr><tr><td></td><td>√ √ √ √</td><td>√ √</td><td>√</td><td>5.24 7.59</td><td>5.27 8.28</td><td>5.46 8.06</td><td>5.72 8.85</td><td>5.65 8</td><td>7.87 10</td><td>5.48 8.27</td><td>5.65 8.5</td><td>8.68</td><td></td></tr><tr><td></td></table>",
1018
+ "bbox": [
1019
+ 173,
1020
+ 90,
1021
+ 877,
1022
+ 443
1023
+ ],
1024
+ "page_idx": 8
1025
+ },
1026
+ {
1027
+ "type": "text",
1028
+ "text": "Table 1: Ablation study on 9 real-world datasets $\\pmb { \\mathbb { B } } 6 \\|$ . Cell with Xmeans the component is applied to the baseline model. The best test results are highlighted. ",
1029
+ "bbox": [
1030
+ 174,
1031
+ 455,
1032
+ 825,
1033
+ 484
1034
+ ],
1035
+ "page_idx": 8
1036
+ },
1037
+ {
1038
+ "type": "text",
1039
+ "text": "GCN(c) shows clearer boundaries among classes than GCN(b). The running time is approximately doubled in the ACM and ACMII framework compared to the original models. ",
1040
+ "bbox": [
1041
+ 174,
1042
+ 512,
1043
+ 825,
1044
+ 540
1045
+ ],
1046
+ "page_idx": 8
1047
+ },
1048
+ {
1049
+ "type": "text",
1050
+ "text": "6.2 Comparison with Baseline and SOTA Models ",
1051
+ "text_level": 1,
1052
+ "bbox": [
1053
+ 173,
1054
+ 546,
1055
+ 529,
1056
+ 561
1057
+ ],
1058
+ "page_idx": 8
1059
+ },
1060
+ {
1061
+ "type": "text",
1062
+ "text": "Datasets & Experimental Setup In this section, we evaluate SGC $[ \\mathbb { A } 2 ]$ with 1 hop and 2 hops (SGC-1, SGC-2), GCNII [7], GCNII⇤ [7], GCN $\\mathbb { \\ m }$ and snowball networks $\\pmb { \\| } \\pmb { \\bigtriangledown } $ with 2 and 3 layers (snowball-2, snowball-3) and combine them with the ACM or ACMII framework13. We use $\\hat { A } _ { \\mathrm { r w } } ^ { \\dagger }$ as the LP filter and the corresponding HP filter is $I - { \\hat { A } } _ { \\mathrm { r w } } \\big \\lbrack { \\boldsymbol { 1 4 } } \\big \\rbrack$ Both filters are deterministic. We compare these approaches with several baselines and SOTA GNN models: MLP with 2 layers (MLP-2), GAT [41], APPNP $\\mathbb { \\left[ \\left[ 2 0 \\right] \\right] }$ , GPRGNN $\\pmb { \\mathbb { B } } ] \\mathbf l$ , $\\mathrm { H _ { 2 } G C N }$ [46], MixHop $\\mathbb { M }$ , $\\mathrm { G C N + J K }$ [19, 43, 26], $\\mathrm { G A T + J K }$ [41, 43, 26], FAGCN [4], GraphSAGE $\\mathbb { \\left[ \\left[ \\bar { 1 } \\bar { 5 } \\right] \\right] }$ , Geom-GCN $\\left[ \\left[ 3 6 \\right] \\right]$ and BernNet [16]. In addition to the 9 benchmark datasets used in section $6 . 1 ,$ we further test the above models on a new benchmark dataset, Deezer-Europe [38]15. ",
1063
+ "bbox": [
1064
+ 173,
1065
+ 565,
1066
+ 826,
1067
+ 696
1068
+ ],
1069
+ "page_idx": 8
1070
+ },
1071
+ {
1072
+ "type": "text",
1073
+ "text": "On each dataset used in $\\textcircled { 1 3 7 } , \\textcircled { 3 6 } \\textcircled { 1 }$ , we test the models 10 times following the same early stopping strategy, the same $6 0 \\% / 2 0 \\% / 2 0 \\%$ random data split $^ { 1 6 }$ and Adam $\\boxed { 1 8 }$ optimizer as used in GPRGNN $\\pmb { \\mathbb { B } } \\|$ . For Deezer-Europe, we test the above models 5 times with the same early stopping strategy, the same fixed splits and Adam used in $\\pmb { \\mathbb { D } } \\pmb { \\ 6 } \\|$ . ",
1074
+ "bbox": [
1075
+ 173,
1076
+ 700,
1077
+ 825,
1078
+ 756
1079
+ ],
1080
+ "page_idx": 8
1081
+ },
1082
+ {
1083
+ "type": "text",
1084
+ "text": "Structure information channel and residual connection Besides the filtered features, some recent SOTA models additionally use graph structure information, i.e., $\\mathrm { M L P } _ { \\theta } ( A )$ , and residual connection to address heterophily problem, e.g., LINKX $\\pmb { \\Vert 2 5 \\Vert }$ and GloGNN $\\pmb { \\mathbb { Z } } 4 \\mathbb { I }$ . $\\operatorname { M L P } _ { \\theta } ( A )$ and residual connection can be directly incorporated into ACM and ACMII framework, which leads us to ACM(II)- ${ \\mathrm { . G C N } } +$ and ACM(II)- $\\mathrm { G C N + + }$ . See the details of implementation in Appendix B. ",
1085
+ "bbox": [
1086
+ 173,
1087
+ 761,
1088
+ 825,
1089
+ 832
1090
+ ],
1091
+ "page_idx": 8
1092
+ },
1093
+ {
1094
+ "type": "image",
1095
+ "img_path": "images/c2317f25ac17c47b2c2adcd91fddc0282fbefedf72865098382678ee0912eb14.jpg",
1096
+ "image_caption": [
1097
+ "Figure 6: Comparison of baseline GNNs (red), ACM-GNNs (green), ACMII-GNNs (blue) with SOTA (magenta line) models on 6 selected datasets. The black lines indicate the standard deviation. The symbol “\"” shows the range of performance improvement $( \\% )$ of ACM-GNNs and ACMII-GNNs over baseline GNNs. See Appendix I for a detailed discussion of the relation between $H _ { \\mathrm { a g g } } ^ { M }$ and GNN performance. "
1098
+ ],
1099
+ "image_footnote": [],
1100
+ "bbox": [
1101
+ 176,
1102
+ 101,
1103
+ 931,
1104
+ 387
1105
+ ],
1106
+ "page_idx": 9
1107
+ },
1108
+ {
1109
+ "type": "text",
1110
+ "text": "To visualize the performance, in Fig. $\\bigtriangledown$ we plot the bar charts of the test accuracy of SOTA models, three selected baselines (GCN, snowball-2, snowball-3), their ACM(II) augmented models, ACM(II)- $\\mathrm { G C N + }$ and ACM(II)- $\\mathrm { G C N + + }$ on the 6 most commonly used benchmark heterophily datasets (See Table 2 in Appendix $\\mathbf { A . l }$ for the full results, comparison and ranking). From Fig. $6 ,$ we can see that (1) after being combined with the ACM or ACMII framework, the performance of the three baseline models is significantly boosted, by $2 . 0 4 \\% \\sim 2 7 . 5 0 \\%$ on all the 6 tasks. The ACM and ACMII in fact achieve SOTA performance. (2) On Cornell, Wisconsin, Texas, Chameleon and Squirrel, the augmented baseline models significantly outperform the current SOTA models. Overall, these results suggest that the proposed approach can help GNNs to generalize better on node classification tasks on heterophilic graphs, without adding too much computational cost. ",
1111
+ "bbox": [
1112
+ 173,
1113
+ 486,
1114
+ 825,
1115
+ 626
1116
+ ],
1117
+ "page_idx": 9
1118
+ },
1119
+ {
1120
+ "type": "text",
1121
+ "text": "7 Conclusions and Limitations ",
1122
+ "text_level": 1,
1123
+ "bbox": [
1124
+ 176,
1125
+ 631,
1126
+ 444,
1127
+ 647
1128
+ ],
1129
+ "page_idx": 9
1130
+ },
1131
+ {
1132
+ "type": "text",
1133
+ "text": "We have presented an analysis of existing homophily metrics and proposed new metrics which are more informative in terms of correlating with GNN performance. To our knowledge, this is the first work analyzing heterophily from the perspective of post-aggregation node similarity. The similarity matrix and the new metrics we defined mainly capture linear feature-independent relationships of each node. This might be insufficient when nonlinearity and feature-dependent information is important for classification. In the future, it would be useful to investigate if a similarity matrix could be defined which is capable of capturing nonlinear and feature-dependent relations between aggregated node. ",
1134
+ "bbox": [
1135
+ 173,
1136
+ 650,
1137
+ 825,
1138
+ 747
1139
+ ],
1140
+ "page_idx": 9
1141
+ },
1142
+ {
1143
+ "type": "text",
1144
+ "text": "We have also proposed a multi-channel mixing mechanism which leverages the intuitions gained in the first part of the paper and can be combined with different GNN architectures, enabling adaptive filtering (high-pass, low-pass or identity) at different nodes. Empirically, this approach shows very promising results, improving the performance of the base GNNs with which it is combined and achieving SOTA results at the cost of a reasonable increase in computation time. As discussed in Sec. $\\boxed { 4 . 2 } ,$ however, the filterbank method cannot properly handle all cases of harmful heterophily, and alternative ideas should be explored as well in the future. ",
1145
+ "bbox": [
1146
+ 174,
1147
+ 753,
1148
+ 825,
1149
+ 851
1150
+ ],
1151
+ "page_idx": 9
1152
+ },
1153
+ {
1154
+ "type": "text",
1155
+ "text": "8 Acknowledge ",
1156
+ "text_level": 1,
1157
+ "bbox": [
1158
+ 174,
1159
+ 859,
1160
+ 316,
1161
+ 876
1162
+ ],
1163
+ "page_idx": 9
1164
+ },
1165
+ {
1166
+ "type": "text",
1167
+ "text": "The authors would like to give very special thanks to William L. Hamilton for valuable discussion and advice. The project was partially supported by DeepMind and NSERC. ",
1168
+ "bbox": [
1169
+ 174,
1170
+ 883,
1171
+ 821,
1172
+ 911
1173
+ ],
1174
+ "page_idx": 9
1175
+ },
1176
+ {
1177
+ "type": "text",
1178
+ "text": "References ",
1179
+ "text_level": 1,
1180
+ "bbox": [
1181
+ 174,
1182
+ 90,
1183
+ 267,
1184
+ 106
1185
+ ],
1186
+ "page_idx": 10
1187
+ },
1188
+ {
1189
+ "type": "text",
1190
+ "text": "[1] S. Abu-El- Haija, Kapoor, Alipourfard, Lerman, G. Ver Steeg, and A. Galstyan. Mixhop: Higher-order graph convolutional architectures via sparsified neighborhood mixing. In international conference on machine learning, pages 21–29. PMLR, 2019. [2] D. Bahdanau, K. Cho, and Y. Bengio. Neural machine translation by jointly learning to align and translate. arXiv preprint arXiv:1409.0473, 2014. [3] P. W. Battaglia, J. B. Hamrick, V. Bapst, A. Sanchez-Gonzalez, V. Zambaldi, M. Malinowski, A. Tacchetti, D. Raposo, A. Santoro, R. Faulkner, et al. Relational inductive biases, deep learning, and graph networks. arXiv preprint arXiv:1806.01261, 2018. [4] D. Bo, X. Wang, C. Shi, and H. Shen. Beyond low-frequency information in graph convolutional networks. arXiv preprint arXiv:2101.00797, 2021. [5] C. Bodnar, F. Di Giovanni, B. P. Chamberlain, P. Liò, and M. M. Bronstein. Neural sheaf diffusion: A topological perspective on heterophily and oversmoothing in gnns. arXiv preprint arXiv:2202.04579, 2022. [6] M. M. Bronstein, J. Bruna, Y. LeCun, A. Szlam, and P. Vandergheynst. Geometric deep learning: going beyond euclidean data. arXiv, abs/1611.08097, 2016. [7] M. Chen, Z. Wei, Z. Huang, B. Ding, and Y. Li. Simple and deep graph convolutional networks. In International Conference on Machine Learning, pages 1725–1735. PMLR, 2020. [8] E. Chien, J. Peng, P. Li, and O. Milenkovic. Adaptive universal generalized pagerank graph neural network. In International Conference on Learning Representations. https://openreview. net/forum, 2021. [9] F. R. Chung and F. C. Graham. Spectral graph theory. Number 92. American Mathematical Soc., 1997. \n[10] M. Defferrard, X. Bresson, and P. Vandergheynst. Convolutional neural networks on graphs with fast localized spectral filtering. arXiv, abs/1606.09375, 2016. \n[11] V. N. Ekambaram. Graph structured data viewed through a fourier lens. University of California, Berkeley, 2014. \n[12] M. Fey and J. E. Lenssen. Fast graph representation learning with pytorch geometric. arXiv preprint arXiv:1903.02428, 2019. \n[13] A. Graves, A.-r. Mohamed, and G. Hinton. Speech recognition with deep recurrent neural networks. In 2013 IEEE international conference on acoustics, speech and signal processing, pages 6645–6649. Ieee, 2013. \n[14] W. L. Hamilton. Graph representation learning. Synthesis Lectures on Artifical Intelligence and Machine Learning, 14(3):1–159, 2020. \n[15] W. L. Hamilton, R. Ying, and J. Leskovec. Inductive representation learning on large graphs. arXiv, abs/1706.02216, 2017. \n[16] M. He, Z. Wei, H. Xu, et al. Bernnet: Learning arbitrary graph spectral filters via bernstein approximation. Advances in Neural Information Processing Systems, 34, 2021. \n[17] Y. Hou, J. Zhang, J. Cheng, K. Ma, R. T. Ma, H. Chen, and M.-C. Yang. Measuring and improving the use of graph information in graph neural networks. In International Conference on Learning Representations, 2019. \n[18] D. P. Kingma and J. Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. \n[19] T. N. Kipf and M. Welling. Semi-supervised classification with graph convolutional networks. arXiv, abs/1609.02907, 2016. \n[20] J. Klicpera, A. Bojchevski, and S. Günnemann. Predict then propagate: Graph neural networks meet personalized pagerank. arXiv preprint arXiv:1810.05997, 2018. \n[21] A. Krizhevsky, I. Sutskever, and G. E. Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems, pages 1097–1105, 2012. \n[22] Y. LeCun, Y. Bengio, and G. Hinton. Deep learning. nature, 521(7553):436, 2015. \n[23] Y. LeCun, L. Bottou, Y. Bengio, P. Haffner, et al. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998. \n[24] X. Li, R. Zhu, Y. Cheng, C. Shan, S. Luo, D. Li, and W. Qian. Finding global homophily in graph neural networks when meeting heterophily. arXiv preprint arXiv:2205.07308, 2022. \n[25] D. Lim, F. Hohne, X. Li, S. L. Huang, V. Gupta, O. Bhalerao, and S. N. Lim. Large scale learning on non-homophilous graphs: New benchmarks and strong simple methods. Advances in Neural Information Processing Systems, 34:20887–20902, 2021. \n[26] D. Lim, X. Li, F. Hohne, and S.-N. Lim. New benchmarks for learning on non-homophilous graphs. arXiv preprint arXiv:2104.01404, 2021. \n[27] V. Lingam, R. Ragesh, A. Iyer, and S. Sellamanickam. Simple truncated svd based model for node classification on heterophilic graphs. arXiv preprint arXiv:2106.12807, 2021. \n[28] M. Liu, Z. Wang, and S. Ji. Non-local graph neural networks. arXiv preprint arXiv:2005.14612, 2020. \n[29] M. Liu, Z. Wang, and S. Ji. Non-local graph neural networks. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2021. \n[30] S. Luan, M. Zhao, X.-W. Chang, and D. Precup. Break the ceiling: Stronger multi-scale deep graph convolutional networks. arXiv preprint arXiv:1906.02174, 2019. \n[31] S. Luan, M. Zhao, X.-W. Chang, and D. Precup. Training matters: Unlocking potentials of deeper graph convolutional neural networks. arXiv preprint arXiv:2008.08838, 2020. \n[32] S. Luan, M. Zhao, C. Hua, X.-W. Chang, and D. Precup. Complete the missing half: Augmenting aggregation filtering with diversification for graph convolutional networks. arXiv preprint arXiv:2008.08844, 2020. \n[33] Y. Ma, X. Liu, N. Shah, and J. Tang. Is homophily a necessity for graph neural networks? arXiv preprint arXiv:2106.06134, 2021. \n[34] T. Maehara. Revisiting graph neural networks: All we have is low-pass filters. arXiv preprint arXiv:1905.09550, 2019. \n[35] M. McPherson, L. Smith-Lovin, and J. M. Cook. Birds of a feather: Homophily in social networks. Annual review of sociology, 27(1):415–444, 2001. \n[36] H. Pei, B. Wei, K. C.-C. Chang, Y. Lei, and B. Yang. Geom-gcn: Geometric graph convolutional networks. arXiv preprint arXiv:2002.05287, 2020. \n[37] B. Rozemberczki, C. Allen, and R. Sarkar. Multi-Scale Attributed Node Embedding. Journal of Complex Networks, 9(2), 2021. \n[38] B. Rozemberczki and R. Sarkar. Characteristic Functions on Graphs: Birds of a Feather, from Statistical Descriptors to Parametric Models. In Proceedings of the 29th ACM International Conference on Information and Knowledge Management (CIKM ’20), page 1325–1334. ACM, 2020. \n[39] F. Scarselli, M. Gori, A. C. Tsoi, M. Hagenbuchner, and G. Monfardini. The graph neural network model. IEEE transactions on neural networks, 20(1):61–80, 2008. \n[40] P. Vary. An adaptive filter-bank equalizer for speech enhancement. Signal Processing, 86(6):1206–1214, 2006. \n[41] P. Velickovic, G. Cucurull, A. Casanova, A. Romero, P. Lio, and Y. Bengio. Graph attention networks. arXiv, abs/1710.10903, 2017. \n[42] F. Wu, T. Zhang, A. H. d. Souza Jr, C. Fifty, T. Yu, and K. Q. Weinberger. Simplifying graph convolutional networks. arXiv preprint arXiv:1902.07153, 2019. \n[43] K. Xu, C. Li, Y. Tian, T. Sonobe, K.-i. Kawarabayashi, and S. Jegelka. Representation learning on graphs with jumping knowledge networks. In J. Dy and A. Krause, editors, Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pages 5453–5462. PMLR, 10–15 Jul 2018. \n[44] Y. Yan, M. Hashemi, K. Swersky, Y. Yang, and D. Koutra. Two sides of the same coin: Heterophily and oversmoothing in graph convolutional neural networks. arXiv preprint arXiv:2102.06462, 2021. \n[45] J. Zhu, R. A. Rossi, A. Rao, T. Mai, N. Lipka, N. K. Ahmed, and D. Koutra. Graph neural networks with heterophily. arXiv preprint arXiv:2009.13566, 2020. \n[46] J. Zhu, Y. Yan, L. Zhao, M. Heimann, L. Akoglu, and D. Koutra. Beyond homophily in graph neural networks: Current limitations and effective designs. Advances in Neural Information Processing Systems, 33, 2020. ",
1191
+ "bbox": [
1192
+ 173,
1193
+ 126,
1194
+ 828,
1195
+ 911
1196
+ ],
1197
+ "page_idx": 10
1198
+ },
1199
+ {
1200
+ "type": "text",
1201
+ "text": "",
1202
+ "bbox": [
1203
+ 171,
1204
+ 73,
1205
+ 828,
1206
+ 911
1207
+ ],
1208
+ "page_idx": 11
1209
+ },
1210
+ {
1211
+ "type": "text",
1212
+ "text": "",
1213
+ "bbox": [
1214
+ 171,
1215
+ 90,
1216
+ 826,
1217
+ 166
1218
+ ],
1219
+ "page_idx": 12
1220
+ },
1221
+ {
1222
+ "type": "text",
1223
+ "text": "Checklist ",
1224
+ "text_level": 1,
1225
+ "bbox": [
1226
+ 174,
1227
+ 89,
1228
+ 254,
1229
+ 106
1230
+ ],
1231
+ "page_idx": 13
1232
+ },
1233
+ {
1234
+ "type": "text",
1235
+ "text": "1. For all authors... ",
1236
+ "bbox": [
1237
+ 214,
1238
+ 116,
1239
+ 339,
1240
+ 131
1241
+ ],
1242
+ "page_idx": 13
1243
+ },
1244
+ {
1245
+ "type": "text",
1246
+ "text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] \n(b) Did you describe the limitations of your work? [Yes] \n(c) Did you discuss any potential negative societal impacts of your work? [N/A] \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
1247
+ "bbox": [
1248
+ 238,
1249
+ 135,
1250
+ 825,
1251
+ 227
1252
+ ],
1253
+ "page_idx": 13
1254
+ },
1255
+ {
1256
+ "type": "text",
1257
+ "text": "2. If you are including theoretical results... ",
1258
+ "bbox": [
1259
+ 214,
1260
+ 231,
1261
+ 493,
1262
+ 244
1263
+ ],
1264
+ "page_idx": 13
1265
+ },
1266
+ {
1267
+ "type": "text",
1268
+ "text": "(a) Did you state the full set of assumptions of all theoretical results? [Yes] (b) Did you include complete proofs of all theoretical results? [Yes] ",
1269
+ "bbox": [
1270
+ 236,
1271
+ 248,
1272
+ 735,
1273
+ 280
1274
+ ],
1275
+ "page_idx": 13
1276
+ },
1277
+ {
1278
+ "type": "text",
1279
+ "text": "3. If you ran experiments... ",
1280
+ "bbox": [
1281
+ 212,
1282
+ 285,
1283
+ 393,
1284
+ 299
1285
+ ],
1286
+ "page_idx": 13
1287
+ },
1288
+ {
1289
+ "type": "text",
1290
+ "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] \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] \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] ",
1291
+ "bbox": [
1292
+ 238,
1293
+ 303,
1294
+ 826,
1295
+ 421
1296
+ ],
1297
+ "page_idx": 13
1298
+ },
1299
+ {
1300
+ "type": "text",
1301
+ "text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
1302
+ "bbox": [
1303
+ 214,
1304
+ 426,
1305
+ 823,
1306
+ 440
1307
+ ],
1308
+ "page_idx": 13
1309
+ },
1310
+ {
1311
+ "type": "text",
1312
+ "text": "(a) If your work uses existing assets, did you cite the creators? [Yes] \n(b) Did you mention the license of the assets? [N/A] \n(c) Did you include any new assets either in the supplemental material or as a URL? [No] \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [No] \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [No] ",
1313
+ "bbox": [
1314
+ 238,
1315
+ 444,
1316
+ 823,
1317
+ 551
1318
+ ],
1319
+ "page_idx": 13
1320
+ },
1321
+ {
1322
+ "type": "text",
1323
+ "text": "5. If you used crowdsourcing or conducted research with human subjects... ",
1324
+ "bbox": [
1325
+ 214,
1326
+ 556,
1327
+ 705,
1328
+ 570
1329
+ ],
1330
+ "page_idx": 13
1331
+ },
1332
+ {
1333
+ "type": "text",
1334
+ "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] ",
1335
+ "bbox": [
1336
+ 238,
1337
+ 574,
1338
+ 825,
1339
+ 665
1340
+ ],
1341
+ "page_idx": 13
1342
+ }
1343
+ ]
parse/dev/NjeEfP7e3KZ/NjeEfP7e3KZ_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/NjeEfP7e3KZ/NjeEfP7e3KZ_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/QkRV50TZyP/QkRV50TZyP.md ADDED
@@ -0,0 +1,412 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # BEYOND IMAGENET ATTACK: TOWARDS CRAFTINGADVERSARIAL EXAMPLES FOR BLACK-BOX DOMAINS
2
+
3
+ Qilong Zhang1∗, Xiaodan $\mathbf { L i } ^ { 2 }$ , Yuefeng Chen2, Jingkuan Song1†,
4
+ Lianli $\mathbf { G a o ^ { 1 } }$ , Yuan $\mathbf { H e } ^ { 2 }$ , and Hui $\mathbf { X } \mathbf { u } \mathbf { e } ^ { 2 }$
5
+ 1University of Electronic Science and Technology of China, China
6
+ qilong.zhang $@$ std.uestc.edu.cn, jingkuan.song $@$ gmail.com, lianli.gao $@$ uestc.edu.cn
7
+ 2Alibaba Group, China
8
+ {fiona.lxd,yuefeng.chenyf,heyuan.hy,hui.xueh}@alibaba-inc.com
9
+
10
+ # ABSTRACT
11
+
12
+ Adversarial examples have posed a severe threat to deep neural networks due to their transferable nature. Currently, various works have paid great efforts to enhance the cross-model transferability, which mostly assume the substitute model is trained in the same domain as the target model. However, in reality, the relevant information of the deployed model is unlikely to leak. Hence, it is vital to build a more practical black-box threat model to overcome this limitation and evaluate the vulnerability of deployed models. In this paper, with only the knowledge of the ImageNet domain, we propose a Beyond ImageNet Attack (BIA) to investigate the transferability towards black-box domains (unknown classification tasks). Specifically, we leverage a generative model to learn the adversarial function for disrupting low-level features of input images. Based on this framework, we further propose two variants to narrow the gap between the source and target domains from the data and model perspectives, respectively. Extensive experiments on coarse-grained and fine-grained domains demonstrate the effectiveness of our proposed methods. Notably, our methods outperform state-of-theart approaches by up to $7 . 7 1 \%$ (towards coarse-grained domains) and $2 5 . 9 1 \%$ (towards fine-grained domains) on average. Our code is available at https: //github.com/Alibaba-AAIG/Beyond-ImageNet-Attack.
13
+
14
+ # 1 INTRODUCTION
15
+
16
+ Deep neural networks (DNNs) have achieved remarkable success in the image classification task in recent years. Nonetheless, advances in the field of adversarial machine learning (Szegedy et al., 2014; Goodfellow et al., 2015; Zhang et al., 2022) make DNNs no longer reliable. By adding a well-designed perturbation on a benign image (a.k.a adversarial attack), the resulting adversarial examples can easily fool state-of-the-art DNNs. To make the matter worse, the adversarial attack technique can even be applied in the physical world (Sharif et al., 2016; Kurakin et al., 2017a; Xu et al., 2020; Duan et al., 2021), which inevitably raises concerns about the stability of deployed models. Therefore, exposing as many “blind spots” of DNNs as possible is a top priority.
17
+
18
+ Generally, deployed models are mainly challenged with two threat models: white-box and blackbox. For white-box threat model (Kurakin et al., 2017b; Moosavi-Dezfooli et al., 2016; Carlini & Wagner, 2017; Shi et al., 2019; Liu et al., 2022), the attacker can obtain complete knowledge of the target model, such as the gradient for any input. However, deployed models are usually opaque to unauthorized users. In this scenario, prior black-box works (Poursaeed et al., 2018; Dong et al., 2018; Xie et al., 2019; Inkawhich et al., 2020; Gao et al., 2020b; Wang et al., 2021) mostly assume that the source data for training the target model is available and mainly explore the cross-model transferability among models trained in the same data distribution. Specifically, perturbations are crafted via accessible white-box model (a.k.a substitute model), and resulting adversarial examples sometimes can fool other black-box models as well. Yet, these works still ignore a pivotal issue: A model owner is unlikely to leak the relevant information of the deployed model. To overcome this limitation, query-based black-box attacks (Papernot et al., 2016; Brendel et al., 2018; Chen et al., 2020; Li et al., 2021) are proposed, which adjust adversarial examples just according to the output of the target model. However, the resource-intensive query budget is extremely costly and inevitably alerts the model owner.
19
+
20
+ Table 1: A comparison of datasets from different domains.
21
+
22
+ <table><tr><td>Dataset</td><td>Resolution</td><td>Type</td><td>Test size</td><td>Classes</td></tr><tr><td>ImageNet (Russakovsky et al., 2015)</td><td>224×224</td><td>-</td><td>50,000</td><td>1,000</td></tr><tr><td>CIFAR-10 (Krizhevsky, 2009)</td><td>32×32</td><td>coarse-grained</td><td>10.000</td><td>10</td></tr><tr><td>CIFAR-100 (Krizhevsky,2009)</td><td>32×32</td><td>coarse-grained</td><td>10.000</td><td>100</td></tr><tr><td>STL-10 (Coates et al., 2011)</td><td>96×96</td><td>coarse-grained</td><td>8.000</td><td>10</td></tr><tr><td>SVHN (Netzer et al., 2011)</td><td>32×32</td><td>coarse-grained</td><td>26.032</td><td>10</td></tr><tr><td>CUB-200-2011 (Wah et al.,2011)</td><td>448×448</td><td>fine-grained</td><td>5,740</td><td>200</td></tr><tr><td>Stanford Cars (Krause etal., 2013)</td><td>448×448</td><td>fine-grained</td><td>8.041</td><td>196</td></tr><tr><td>FGVC Aircraft (Maji et al., 2013)</td><td>448×448</td><td>fine-grained</td><td>3,333</td><td>100</td></tr></table>
23
+
24
+ Therefore, we need a more “practical” black-box threat model to address this concern, i.e., without any clue about the training data distribution as well as the pre-trained model based on it, and even querying is forbidden. Intuitively, this threat model is more challenging to build for attackers and more threatening to model owners. To the best of our knowledge, a recent work called CDA (Naseer et al., 2019) is the first to attempt such an attack. Specifically, it learns a transferable adversarial function via a generator network against a different domain (training data and pre-trained model are all from ChestX-ray (Wang et al., 2017) domain). During inference, it directly crafts adversarial examples for benign ImageNet images to fool target ImageNet pre-trained models. However, its cross-domain transfer strength is still moderate. Besides, relying on small-scale datasets to train a generator may limit the generalization of the threat model.
25
+
26
+ Considering that ImageNet is a large-scale dataset containing most of common categories in real life and there are various off-the-shelf pre-trained models, one can easily dig out much useful information to build a strong threat model. Therefore, in this paper, solely relying on the knowledge of the ImageNet domain, we introduce an effective Beyond ImageNet Attack (BIA) framework to enhance the cross-domain transferability of adversarial examples. To reflect the applicability of our approach, we consider eight different image classification tasks (listed in Table 1). Figure 1 illustrates an overview of our method. Particularly, we learn a flexible generator network $\mathcal { G } _ { \theta }$ against ImageNet domain. Instead of optimizing the domain-specific loss function like CDA, our method focuses on disrupting low-level features following previous literature to ensure the good transferability of our BIA. Furthermore, we propose two variants based on the vanilla BIA to narrow the gap between source and target domains. Specifically, from the data perspective, we propose a random normalization $( \mathcal { R N } )$ module to simulate different data distributions; from the model perspective, we propose a domain-agnostic attention $( \mathcal { D A } )$ module to capture essential features for perturbing. In the inference phase, our $\mathcal { G } _ { \theta }$ accepts images of any domain as the input and crafts adversarial examples with one forward propagation. Extensive experiments demonstrate the effectiveness of our proposed methods. Towards the coarse-grained and fine-grained domains, we can outperform state-of-the-art approaches by up to $7 . 7 1 \%$ and $2 5 . 9 1 \%$ on average, respectively. Besides, our methods can also enhance the cross-model transferability in the source domain.
27
+
28
+ # 2 RELATED WORKS
29
+
30
+ Iterative Optimization Approaches. Under the black-box threat model, iterative attack methods are a popular branch, which usually adopt domain-specific loss or intermediate feature loss to craft adversarial examples. For the former, Madry et al. (2018) extend Goodfellow et al. (2015) to perform projected gradient descent from randomly chosen starting points inside $\epsilon$ -ball. Dong et al. (2018) introduce momentum term to stable the update direction. Xie et al. (2019) apply random transformations of the input at each iteration, thus mitigating overfitting. Gao et al. (2020a) propose patch-wise perturbation to better cover the discriminative region. Wu et al. (2020a) explore the security weakness of skip connections (He et al., 2016; Huang et al., 2017) to boost attacks.
31
+
32
+ ![](images/8121e455617a649017241861a0fbc7220d54b3c9c76dd54682286770fd75431c.jpg)
33
+ Figure 1: Our proposed generator framework aims to decrease the cosine similarity of feature between benign image $\scriptstyle { \mathbf { { \mathbf { x } } } } _ { s }$ and adversarial example $ { \boldsymbol { { x } } } _ { s } ^ { \prime }$ during the training phase. Training data and substitute model are all from the ImageNet domain. $\mathcal { C }$ module is applied to constrain $ { \boldsymbol { { x } } } _ { s } ^ { \prime }$ in the $\ell _ { \infty }$ -ball of $\mathbf { \Delta } _ { \mathbf { x } _ { s } }$ . $\mathcal { R N }$ and $\mathcal { D A }$ are optional, which can further improve the transferability.
34
+
35
+ Different from the methods mentioned above, intermediate feature-based methods focus on disrupting low-level features. For example, Zhou et al. (2018) maximize the Euclidean distance between the source image and target image in feature space and introduce regularization on perturbations to reduce variations. Inkawhich et al. (2019) make the source image close to the target image in feature space. Lu et al. (2020) propose a dispersion reduction attack to make the low-level features featureless. Naseer et al. (2020) design a self-supervised perturbation mechanism for enabling a transferable defense approach. Wu et al. (2020b) compute model attention over extracted features to regularize the search of adversarial examples.
36
+
37
+ Generator-oriented Approaches. Compared with iterative optimization approaches, generatororiented attacks are more efficient (i.e., only need one inference) to generate adversarial examples. In this branch, Baluja & Fischer (2017) propose an adversarial transformation network to modify the output of the classifier given the original input. Poursaeed et al. (2018) present trainable deep neural networks for producing both image-agnostic and image-dependent perturbations. Naseer et al. (2019) leverage datasets from other domain instead of ImageNet to train generator networks against pre-trained ImageNet models, and inference is performed on ImageNet domain with the aim of fooling black-box ImageNet model. They also attempt a practical black-box threat model (from ChestX-ray to ImageNet), and the attack success rate can outperform the result of Gaussian noise.
38
+
39
+ # 3 TRANSFERABLE ADVERSARIAL EXAMPLES BEYOND IMAGENET
40
+
41
+ # 3.1 PROBLEM FORMULATION
42
+
43
+ Given a target deep learning classifier $f _ { t } ( \cdot )$ trained in a specific data distribution $\chi _ { t }$ , we aim to craft a human-imperceptible perturbation for the benign image $\mathbf { \mathcal { x } } _ { t } ~ \sim ~ \mathrm { \mathcal { \chi } } _ { t }$ from the target domain with the only available knowledge of source ImageNet domain (including pre-trained model $f _ { s } ( \cdot )$ and data distribution $\chi _ { s }$ ). Formally, suppose we have a threat model $\mathcal { M } _ { \theta ^ { * } }$ whose parameter $\theta ^ { * }$ is solely derived from the source domain, our goal is to craft adversarial examples for $\mathbf { \Delta } _ { \mathbf { \mathcal { X } } _ { t } }$ from target domain so that they can fool the $f _ { t } ( \cdot )$ successfully:
44
+
45
+ $$
46
+ f _ { t } ( \mathcal { M } _ { \theta ^ { * } } ( \pmb { x } _ { t } ) ) \neq f _ { t } ( \pmb { x } _ { t } ) \quad s . t . | | \mathcal { M } _ { \theta ^ { * } } ( \pmb { x } _ { t } ) - \pmb { x } _ { t } | | _ { \infty } \leq \epsilon ,
47
+ $$
48
+
49
+ where $\epsilon$ is the maximum perturbation to ensure $\mathbf { \Delta } \mathbf { x } _ { t }$ is minimally changed. Intuitively, crafting adversarial examples for the black-box domain is very challenging. As shown in Table 1 and Figure 6 of Appendix, images from different domain vary greatly.
50
+
51
+ # 3.2 PRELIMINARY
52
+
53
+ Iterative/Single-step optimization methods (Goodfellow et al., 2015; Madry et al., 2018; Zhao et al., 2020; Gao et al., 2021; Mao et al., 2021; Li et al., 2021) and generator-oriented methods (Baluja & Fischer, 2017; Poursaeed et al., 2018; Naseer et al., 2019) are two popular branches for building the threat model. Since the attacker has the large-scale ImageNet training set at hand, there is no reason not to take full advantage of them. Therefore, in this paper, we adopt the generator-oriented framework which learns a transferable adversarial function via a generative model $\mathcal { G } _ { \theta }$ . Given that the threat model aims at crafting transferable adversarial examples for black-box domains, relying on the last layer with domain-specific loss functions (e.g., relativistic cross-entropy loss adopted by Naseer et al. (2019)) is less effective since this might lead to overfitting to source domain. In contrast, the intermediate layers of the DNN presumably extract general features (Yosinski et al., 2014) which may share across different models. Hence, as a baseline for the new black-domain attack problem, our Beyond ImageNet Attack (BIA) turns to destroy the low-level features of the substitute model at a specific layer $L$ to generate transferable adversarial examples according to existing literature (Yosinski et al., 2014; Zhou et al., 2018; Inkawhich et al., 2019).
54
+
55
+ ![](images/01a8e12d393b8450d7e888a6a7666abc0cb6492505ac5a19f70963ecd4f17185.jpg)
56
+ Figure 2: Left: The data distribution (i.e., mean and standard deviation) for datasets from different domains. The result is the average over the three channels. Right: Two intermediate feature maps (Maxpool.3) of VGG-16 (Simonyan & Zisserman, 2015) (trained in ImageNet domain) for the input image from CUB-200-2011 (Wah et al., 2011).
57
+
58
+ As illustrated in Figure $1 , { \mathcal { G } } _ { \theta }$ is learned to decrease the cosine similarity between adversarial example $ { \boldsymbol { { x } } } _ { s } ^ { \prime }$ and benign image $\pmb { x _ { s } } \in \mathbb { R } ^ { N \times H _ { s } \times W _ { s } }$ (sampled from $\chi _ { s }$ ) to make the feature featureless:
59
+
60
+ $$
61
+ \theta ^ { * } = \underset { \theta } { \arg \operatorname* { m i n } } \mathcal { L } _ { c o s } ( f _ { s } ^ { L } ( \pmb { x } _ { s } ^ { \prime } ) , f _ { s } ^ { L } ( \pmb { x } _ { s } ) ) .
62
+ $$
63
+
64
+ In the inference phase, our generator $\mathcal { G } _ { \theta ^ { * } }$ can directly craft adversarial examples for input images $\pmb { x _ { t } } \in \mathbb { R } ^ { N \times H _ { t } \times W _ { t } ^ { \pm } }$ from the target domain:
65
+
66
+ $$
67
+ \begin{array} { r } { \pmb { x } _ { t } ^ { \prime } = \operatorname* { m i n } ( \pmb { x } _ { t } + \epsilon , \operatorname* { m a x } ( \mathcal { G } _ { \theta ^ { * } } ( \pmb { x } _ { t } ) , \pmb { x } _ { t } - \epsilon ) . } \end{array}
68
+ $$
69
+
70
+ The resulting adversarial examples $ { \boldsymbol { { x } } } _ { t } ^ { \prime }$ are depicted in Figure 8 of Appendix. Compared with CDA, our BIA is more effective in both source (white-box) and target (black-box) domains. Yet, as shown in Figure 2, crafting more transferable adversarial examples still has some challenges:
71
+
72
+ • Data Perspective: The distribution (i.e., mean and standard deviation) of source domain is largely different from the target domain. For example, the standard deviation of ImageNet is about twice that of SVHN. • Model Perspective: Although some feature map of $f _ { s } ^ { L } ( \cdot )$ can capture the object $( \in \chi _ { t } )$ for feature representation (e.g., the first feature map in Figure 2), there are also some feature maps that are significantly biased (e.g., the second feature map in Figure 2).
73
+
74
+ To alleviate the concern of generating poor transferable adversarial examples that may arise from the above limitations, we propose two variants, equipped with random normalization $( \mathcal { R N } )$ module or domain-agnostic attention $( \mathcal { D A } )$ module, respectively.
75
+
76
+ # 3.3 RANDOM NORMALIZATION MODULE
77
+
78
+ Generally, DNNs (Simonyan & Zisserman, 2015; He et al., 2016; Huang et al., 2017) are usually equipped with normalization for input images1 so that they can be modeled as samples from the standard normal distribution. However, as illustrated in Figure 2 (left), the distribution of dataset from the different domain can vary dramatically. Thus, training against a specific domain may limit the generalization of the resulting $\mathcal { G } _ { \theta ^ { * } }$ . Besides, the commonly used strategy of label-preserving data augmentation (Krizhevsky et al., 2012; Simonyan & Zisserman, 2015) is less effective because it has little effect on changing the distribution of the inputs (more details are shown in Appendix A.3).
79
+
80
+ To overcome this limitation, fusing knowledge from different domains might be helpful. As shown in Table 3 of Naseer et al. (2019), using training data from other domains against the pre-trained model in the source domain usually enhances the transferability of adversarial examples towards the target domain. However, this setup is not feasible because the available knowledge for a more practical threat model may be limited, i.e., restricted to one domain. Therefore, we instead propose a random normalization $( \mathcal { R N } )$ module to simulate different data distribution in the training phase:
81
+
82
+ $$
83
+ { \mathcal R N } ( { \pmb x } _ { s } ) = \pmb { \sigma } \cdot \frac { { \pmb x } _ { s } - { \pmb \mu } ^ { \prime } } { \sigma ^ { \prime } } + { \pmb \mu } ,
84
+ $$
85
+
86
+ where $\sigma$ and $\pmb { \mu }$ are default standard deviation and mean vectors for ImageNet, and $\mu ^ { \prime } \sim$ $\mathcal { N } ( \mu _ { m e a n } ^ { \prime } , \mu _ { s t d } ^ { \prime } )$ and $\sigma ^ { \prime } \sim \mathcal { N } ( \sigma _ { m e a n } ^ { \prime } , \sigma _ { s t d } ^ { \prime } )$ are two random scales2 sampled from Gaussian distribution. Combined with $\mathcal { R N }$ , and the object function can be expressed as:
87
+
88
+ $$
89
+ \theta ^ { * } = \underset { \theta } { \arg \operatorname* { m i n } } \mathcal { L } _ { c o s } ( f _ { s } ^ { L } ( \mathcal { R N } ( \pmb { x } _ { s } ^ { \prime } ) ) , f _ { s } ^ { L } ( \mathcal { R N } ( \pmb { x } _ { s } ) ) ) .
90
+ $$
91
+
92
+ # 3.4 DOMAIN-AGNOSTIC ATTENTION MODULE
93
+
94
+ Unlike the random normalization module, the domain-agnostic attention module aims to narrow the domain gap from the model perspective. Our inspiration is from prior works (Hansen & Salamon, 1990; Caruana et al., 2004; Dong et al., 2018), which demonstrate that the ensemble strategy can avoid getting trapped in the local optimum and improve performance. Since there are many feature maps at layer $L$ and each of them can model the input, i.e., extracts the features, we can also integrate them to produce a more robust feature representation $\mathcal { A } ^ { L }$ , thus mitigating the impact of several biased feature maps, e.g., the second feature map of Figure 2. Specifically, we apply cross-channel average pooling to the feature maps at layer $L$ :
95
+
96
+ $$
97
+ \mathbf { \mathcal { A } } ^ { L } = \frac { | \sum _ { i = 0 } ^ { C } [ f _ { s } ^ { L } ( \pmb { x _ { s } } ) ] _ { i } | } { C } ,
98
+ $$
99
+
100
+ where $C$ is channel number of $f _ { s } ^ { L } ( { \pmb x } _ { s } )$
101
+
102
+ As depicted in Figure 3, even if our source model is not trained in the target domain, the robust feature representation is still able to capture the essential feature of object very well. Surprisingly, it is even similar to the one that derived from a completely different target model. Therefore, this robust feature representation can serve as a domain-agnostic attention $( \mathcal { D A } )$ to enhance the cross-domain transferability
103
+
104
+ ![](images/017cda7c2d8d0c9cb2d8fcde5c6da85a3ebbab2a3f5a58b40ec4e00c88081cc2.jpg)
105
+ Figure 3: Left: A benign image from Stanford Cars (Krause et al., 2013). Middle $\pmb { \& }$ Right: We apply cross-channel average pooling to the intermediate feature maps (M axpool.3) of VGG-16 and (Conv3 8) of DCL (Chen et al., 2019) with backbone Res-50.
106
+
107
+ of adversarial examples. Specifically, in the training phase, we leverage $\mathcal { A } ^ { L }$ to assign weights for each pixel of feature maps at the same layer. The resulting object function can be written as:
108
+
109
+ $$
110
+ \theta ^ { * } = \underset { \theta } { \arg \operatorname* { m i n } } \mathcal { L } _ { c o s } ( \mathcal { A } ^ { L } \odot f _ { s } ^ { L } ( \boldsymbol { x } _ { s } ^ { \prime } ) , \mathcal { A } ^ { L } \odot f _ { s } ^ { L } ( \boldsymbol { x } _ { s } ) ) ,
111
+ $$
112
+
113
+ where $\odot$ is Hadamard product. After the training, even if the inputs are not from the source domain, our generator $\mathcal { G } _ { \theta ^ { * } }$ is supposed to own an ability to capture the essential feature to disrupt.
114
+
115
+ # 4 EXPERIMENTS
116
+
117
+ Source (white-box) Domain. Our training data is the large-scale ImageNet (Russakovsky et al., 2015) training set which includes about 1.2 million $2 2 4 \times 2 2 4 \times 3$ images. Generators are trained against four ImageNet pre-trained models including VGG-16, VGG-19 (Simonyan & Zisserman, 2015), ResNet152 (Res-152) (He et al., 2016) and DenseNet169 (Dense-169) (Huang et al., 2017). In this domain, we also consider three other models, i.e., DenseNet121 (Dense-121) (Huang et al.,
118
+
119
+ 2017), ResNet50 (Res-50) (He et al., 2016) and Inception-v3 (Inc-v3)3 (Szegedy et al., 2016), to analyze the cross-model transferability. All models are available in the Torchvision library4.
120
+
121
+ Target (black-box) Domain. Generally, the image classification tasks can be divided into coarsegrained and fine-grained tasks in terms of label granularity (Touvron et al., 2021). Thus, in addition to ImageNet (white-box domain), we consider seven other black-box domains (shown in Table 1) including four coarse-grained (CIFAR-10, CIFAR-100 (Krizhevsky, 2009), STL-10 (Coates et al., 2011) and SVHN (Netzer et al., 2011)) and three fine-grained (CUB-200-2011 (Wah et al., 2011), Stanford Cars (Krause et al., 2013) and FGVC Aircraft (Maji et al., 2013)) classification tasks. For the fine-grained classification, we use DCL framework (Chen et al., 2019) with three different backbones: ResNet50 (Res-50) (He et al., 2016), SENet154 and SE-ResNet101 (SE-Res101) (Hu et al., 2018). The pre-trained models for the coarse-grained classification are from Github5.
122
+
123
+ Implementation Details. Our generator $\mathcal { G } _ { \theta }$ adopts the same architecture as (Naseer et al., 2019), which is a composite of downsampling, residual (He et al., 2016) and upsampling blocks (more details can be found in Figure 7 of Appendix). The output size of $\mathcal { G } _ { \theta }$ is equal to the input size. For CDA and our methods, we use Adam optimizer (Kingma & Ba, 2015) with a learning rate of 2e-4 and the exponential decay rate for first and second moments is set to 0.5 and 0.999, respectively. All generators are trained for one epoch with the batch size 16. For the layer $L$ , we attack the output of M axpool.3 for VGG-16 and VGG-19, the output of Conv3 8 for Res-152 and the output of DenseBlock.2 for Dense-169 (ablation study can be found in Appendix A.1). For brevity, we only refer the output of a specific layer/block using its layer/block name. For our $\mathcal { R N }$ module, we set $\mu ^ { \prime } \sim \mathcal { N } ( 0 . 5 \bar { 0 } , 0 . 0 8 )$ and $\sigma ^ { \prime } \sim \dot { \mathcal { N } } ( 0 . 7 5 , 0 . 0 8 )$ , and the ablation study is shown in Appendix A.2.
124
+
125
+ Competitors. We compare our proposed methods with projected gradient descent (PGD) (Madry et al., 2018), diverse inputs method (DIM) (Dong et al., 2018; Xie et al., 2019), dispersion reduction (DR) (Lu et al., 2020), self-supervised perturbation (SSP) (Naseer et al., 2020) and cross-domain attack (CDA) (Naseer et al., 2019). The maximum perturbation $\varepsilon$ is set to 10. Follow Lu et al. (2020), we set the step size $\alpha = 4$ and the number of iterations $T = 1 0 0$ for all iterative methods. For DIM, we set the default decay factor $\mu = 1 . 0$ and the transformation probability $p = 0 . 7$ . The Gaussian smoothing (gs) for CDA is applied by $3 \times 3$ Gaussian kernel.
126
+
127
+ Evaluation Metrics. We use the top-1 accuracy on the whole test set (test size is shown in Table 1) after attacking to evaluate the performance of different methods. We also report standard deviation across multiple random runs in Appendix A.7.
128
+
129
+ # 4.1 TRANSFERABILITY COMPARISONS
130
+
131
+ In this section, we first conduct experiments for the black-box domain in Section 4.1.1 (coarsegrain) and Section 4.1.2 (fine-grain), then we report the results for the white-box (source) domain in Section 4.1.3. For the discussion of generator mechanism, changing source domain and ensemblemodel attacks, we leave them in Appendix A.4, Appendix A.5 and Appendix A.6, respectively.
132
+
133
+ # 4.1.1 RESULTS ON COARSE-GRAINED DOMAIN
134
+
135
+ In this section, we craft transferable adversarial examples for coarse-grained classification tasks. The results are shown in Table 2, where we leverage four ImageNet pre-trained models, including VGG-16, VGG-19, Res-152 and Dense-169, to train generators, respectively.
136
+
137
+ From Table 2, a first glance shows that our proposed methods consistently surpass state-of-the-art approaches. For example, if the substitute model is VGG-16, the most effective CDA remains a top-1 accuracy of $6 6 . 4 1 \%$ for CIFAR-10 after attacking, while our vanilla BIA can effectively bring down it to $5 7 . 3 8 \%$ and $\mathcal { D A }$ variant can further drop the top-1 accuracy to $5 5 . 1 6 \%$ . Among all tasks, the STL-10 and SVHN domains are the most difficult to attack, and the performance gap among existing attacks is moderate. Nonetheless, we can significantly enhance the transferability with the help of our $\mathcal { R N }$ variant in these domains. Notably, if the substitute model is Res-152, $\mathcal { R } \dot { \mathcal { N } }$ variant can further decrease the top-1 accuracy from $8 9 . 4 6 \%$ (vanilla BIA) to $8 5 . 7 9 \%$ on SVHN. Compared with state-of-the-art CDA on all domains, $\mathcal { R N }$ variant significantly outperforms it by $7 . 7 1 \%$ on average. This demonstrates that our proposed $\mathcal { R N }$ module is effective in coping with different distributions of inputs, thus improving the generalization of the resulting generator.
138
+
139
+ Table 2: Transferability comparisons on four coarse-grained classification tasks. Here we report the top-1 accuracy after attacking (the lower, the better). The generator $\mathcal { G } _ { \theta }$ is trained in the ImageNet domain, and adversarial examples are within the perturbation budget of $\ell _ { \infty } \leq 1 0$ .
140
+
141
+ <table><tr><td>Model</td><td>Attacks Clean</td><td>CIFAR-10 93.78</td><td>CIFAR-100 74.27</td><td>STL-10 77.59</td><td>SVHN 96.03</td><td>AVG. 85.42</td><td>Model</td><td>Attacks Clean</td><td>CIFAR-10 93.78</td><td>CIFAR-100 74.27</td><td>STL-10 77.59</td><td>SVHN 96.03</td><td>AVG. 85.42</td></tr><tr><td rowspan="9">91-99A</td><td>PGD</td><td>79.63</td><td>48.02</td><td>74.32</td><td>94.66</td><td>74.16</td><td></td><td>PGD DIM</td><td>86.17</td><td>56.38</td><td>74.51</td><td>93.94</td><td>77.75</td></tr><tr><td>DIM</td><td>77.16</td><td>44.75</td><td>72.74</td><td>91.53</td><td>71.55</td><td></td><td></td><td>80.50</td><td>48.03</td><td>71.2</td><td>90.87</td><td>72.65</td></tr><tr><td>DR</td><td>72.49</td><td>39.04</td><td>72.56</td><td>93.27</td><td>69.34</td><td></td><td>DR</td><td>78.86</td><td>48.62</td><td>71.66</td><td>93.26</td><td>73.10</td></tr><tr><td>SSP</td><td>68.54</td><td>33.63</td><td>72.77</td><td>93.98</td><td>67.23</td><td></td><td>SSP</td><td>75.54</td><td>42.38</td><td>72.66</td><td>92.63</td><td>70.80</td></tr><tr><td>CDA</td><td>66.41</td><td>32.37</td><td>72.91</td><td>92.17</td><td>65.97</td><td>P2s3152</td><td>CDA</td><td>66.47</td><td>39.30</td><td>69.81</td><td>88.09</td><td>65.92</td></tr><tr><td>CDA+gs</td><td>86.70</td><td>59.43</td><td>73.38</td><td>91.61</td><td>77.78</td><td></td><td>CDA+gs</td><td>85.61</td><td>57.27</td><td>73.06</td><td>90.34</td><td>76.57</td></tr><tr><td>BIA (Ours)</td><td>57.38</td><td>22.47</td><td>69.45</td><td>90.44</td><td>59.94</td><td></td><td>BIA(Ours)</td><td>65.49</td><td>33.48</td><td>69.91</td><td>89.46</td><td>64.59</td></tr><tr><td>BIA+DA(Ours)</td><td>55.16</td><td>21.71</td><td>70.00</td><td>91.76</td><td>59.66</td><td></td><td>BIA+DA(Ours)</td><td>65.34</td><td>32.68</td><td>69.65</td><td>91.38</td><td>64.76</td></tr><tr><td>BIA+RN(Ours)</td><td>52.81</td><td>20.82</td><td>67.55</td><td>88.03</td><td>57.30</td><td></td><td>BIA+RN(Ours)</td><td>61.23</td><td>32.84</td><td>68.04</td><td>85.79</td><td>61.98</td></tr><tr><td rowspan="9">6-D5A</td><td>PGD</td><td>79.15</td><td>47.73</td><td>74.71</td><td>94.86</td><td>74.11</td><td></td><td>PGD</td><td>84.55</td><td>54.29</td><td>74.55</td><td>93.83</td><td>76.81</td></tr><tr><td>DIM</td><td>77.54</td><td></td><td></td><td>91.68</td><td>71.50</td><td></td><td>DIM</td><td>80.89</td><td></td><td></td><td></td><td>73.02</td></tr><tr><td>DR</td><td>70.72</td><td>43.81</td><td>72.96</td><td>93.73</td><td>68.51</td><td></td><td>DR</td><td>78.24</td><td>49.06 48.67</td><td>72.64</td><td>89.47 93.2</td><td>72.72</td></tr><tr><td>SSP</td><td>70.46</td><td>37.59 35.28</td><td>71.98 73.21</td><td>93.67</td><td>68.16</td><td>GD-sse50</td><td>SSP</td><td>77.13</td><td>42.18</td><td>70.75</td><td>91.64</td><td>70.87</td></tr><tr><td>CDA</td><td>81.60</td><td>51.53</td><td>71.43</td><td>92.64</td><td>74.30</td><td></td><td>CDA</td><td>67.75</td><td>35.03</td><td>72.53 69.00</td><td>88.76</td><td>65.14</td></tr><tr><td>CDA+gs</td><td>88.55</td><td>61.90</td><td>73.64</td><td>92.18</td><td>79.07</td><td></td><td>CDA+gs</td><td>85.01</td><td>54.71</td><td>72.61</td><td>88.69</td><td>75.26</td></tr><tr><td>BIA (Ours)</td><td>57.88</td><td>23.12</td><td></td><td></td><td>59.93</td><td></td><td>BIA (Ours)</td><td>72.02</td><td></td><td></td><td></td><td></td></tr><tr><td>BIA+DA(Ours)</td><td>57.26</td><td>23.04</td><td>69.84 70.16</td><td>88.89 90.08</td><td>60.14</td><td></td><td>BIA+DA(Ours)</td><td>71.69</td><td>38.99 38.95</td><td>69.80</td><td>86.12</td><td>66.73</td></tr><tr><td>BIA+RN (Ours)</td><td>54.47</td><td>22.61</td><td>68.23</td><td>88.08</td><td>58.35</td><td></td><td>BIA+RN (Ours)</td><td>66.67</td><td>34.41</td><td>70.60 68.79</td><td>88.02 81.54</td><td>67.32 62.85</td></tr></table>
142
+
143
+ Table 3: Transferability comparisons on three fine-grained classification tasks. Here we report the top-1 accuracy after attacking (the lower, the better). The generator $\mathcal { G } _ { \theta }$ is trained in ImageNet domain and adversarial examples are within the perturbation budget of $\ell _ { \infty } \leq 1 0$ .
144
+
145
+ <table><tr><td rowspan="2">Model</td><td rowspan="2">Attacks</td><td colspan="3">CUB-200-2011</td><td colspan="3">Stanford Cars</td><td colspan="3">FGVC Aircraft</td><td rowspan="2">AVG.</td></tr><tr><td>Res-50</td><td>SENet154</td><td>SE-Res101</td><td>Res-50</td><td>SENet154</td><td>SE-Res101</td><td>Res-50</td><td></td><td>SENet154SE-Res101</td></tr><tr><td rowspan="9">9I-55A</td><td>Clean</td><td>87.35</td><td>86.81</td><td>86.56</td><td>94.35</td><td>93.36</td><td>92.97</td><td>92.23</td><td>92.08</td><td>91.90</td><td>90.85</td></tr><tr><td>PGD</td><td>80.65</td><td>79.58</td><td>80.69</td><td>87.45</td><td>89.04</td><td>90.30</td><td>84.88</td><td>83.92</td><td>82.15</td><td>84.30</td></tr><tr><td>DIM</td><td>70.02</td><td>62.86</td><td>70.57</td><td>74.72</td><td>78.10</td><td>84.33</td><td>73.54</td><td>66.88</td><td>62.38</td><td>71.49</td></tr><tr><td>DR</td><td>81.08</td><td>82.05</td><td>82.52</td><td>90.82</td><td>90.59</td><td>91.12</td><td>84.97</td><td>87.55</td><td>85.54</td><td>86.25</td></tr><tr><td>SSP</td><td>62.27</td><td>60.44</td><td>71.52</td><td>58.02</td><td>75.71</td><td>83.02</td><td>54.91</td><td>68.74</td><td>63.79</td><td>66.49</td></tr><tr><td>CDA</td><td>69.69 70.19</td><td>62.51</td><td>71.00</td><td>75.94</td><td>72.45</td><td>84.64</td><td>71.53</td><td>58.33</td><td>63.39</td><td>69.94</td></tr><tr><td>CDA+gs</td><td></td><td>63.19</td><td>68.92</td><td>85.03</td><td>79.52</td><td>83.52</td><td>78.55</td><td>65.62</td><td>68.38</td><td>73.66</td></tr><tr><td>BIA (Ours)</td><td>32.74 25.00</td><td>52.99</td><td>58.04</td><td>39.61</td><td>69.90</td><td>70.17</td><td>28.92</td><td>60.31</td><td>46.92</td><td>51.07</td></tr><tr><td>BIA+DA(Ours) BIA+RN(Ours)</td><td>26.13</td><td>40.27 46.15</td><td>53.24 55.07</td><td>22.24 20.61</td><td>59.48 62.64</td><td>61.52 63.38</td><td>15.36 16.50</td><td>47.91 52.54</td><td>40.83 45.48</td><td>40.65 43.17</td></tr><tr><td rowspan="9">6--555</td><td>PGD</td><td>80.98</td><td>79.00</td><td>80.60</td><td>87.54</td><td>88.87</td><td>90.56</td><td>84.70</td><td>84.01</td><td>83.35</td><td>84.40</td></tr><tr><td>DIM</td><td>69.93</td><td>61.60</td><td>70.90</td><td>75.02</td><td>78.55</td><td>84.63</td><td>74.59</td><td>67.69</td><td>65.26</td><td>72.02</td></tr><tr><td>DR</td><td>80.83</td><td>81.57</td><td>81.95</td><td>91.00</td><td>90.23</td><td>91.15</td><td>84.43</td><td>85.96</td><td>84.57</td><td>85.74</td></tr><tr><td>SSP</td><td>62.94</td><td>58.34</td><td>70.45</td><td>61.90</td><td>76.27</td><td>83.77</td><td>58.78</td><td>69.52</td><td>66.88</td><td>67.65</td></tr><tr><td>CDA</td><td>59.48</td><td>61.08</td><td>68.50</td><td>58.53</td><td>70.70</td><td>80.70</td><td>59.26</td><td>52.24</td><td>62.26</td><td>63.64</td></tr><tr><td>CDA+gs</td><td>67.88</td><td>59.42</td><td>67.57</td><td>82.83</td><td>78.61</td><td>82.64</td><td>79.36</td><td>65.89</td><td>68.35</td><td>72.51</td></tr><tr><td>BIA (Ours)</td><td>48.90</td><td>52.33</td><td>56.47</td><td>66.34</td><td>72.45</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>BIA+DA(Ours)</td><td>27.46</td><td>37.61</td><td>50.14</td><td>35.27</td><td>61.40</td><td>75.08 64.41</td><td>50.95 17.97</td><td>54.04 45.81</td><td>51.79 44.01</td><td>58.71</td></tr><tr><td>BIA+RN(Ours)</td><td>31.77</td><td>43.41</td><td>51.09</td><td>42.81</td><td>68.90</td><td>66.27</td><td>27.75</td><td>52.48</td><td>45.57</td><td>42.68 47.78</td></tr><tr><td rowspan="8">P1s-152</td><td>PGD</td><td>73.21</td><td>75.89</td><td>76.11</td><td>83.99</td><td>86.89</td><td>88.24</td><td>79.00</td><td>79.30</td><td>75.64</td><td>79.81</td></tr><tr><td>DIM</td><td>56.30</td><td>59.35</td><td>63.36</td><td>67.88</td><td>76.37</td><td>79.77</td><td>64.21</td><td>62.95</td><td>54.49</td><td>64.96</td></tr><tr><td>DR</td><td>77.58</td><td>82.07</td><td>80.60</td><td>87.96</td><td>90.11</td><td>90.67</td><td>77.89</td><td>82.27</td><td>80.08</td><td>83.25</td></tr><tr><td>SSP</td><td>47.64</td><td>66.17</td><td>67.90</td><td>53.29</td><td>79.09</td><td>83.45</td><td>58.35</td><td>73.36</td><td>69.34</td><td>66.51</td></tr><tr><td>CDA</td><td>45.15</td><td>53.69</td><td>52.86</td><td>57.72</td><td>63.09</td><td>73.05</td><td>64.87</td><td>46.74</td><td>59.11</td><td>57.36</td></tr><tr><td>CDA+gs</td><td>59.32</td><td>64.24</td><td>60.08</td><td>81.15</td><td>82.91</td><td>82.56</td><td>75.52</td><td>73.72</td><td>66.58</td><td>71.79</td></tr><tr><td>BIA(Ours)</td><td>43.55</td><td>49.50</td><td>55.54</td><td>31.65</td><td>54.12</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>BIA+DA(Ours)</td><td>25.80</td><td>39.71</td><td>52.83</td><td>33.43</td><td>52.41</td><td>67.21 68.03</td><td>38.49 27.51</td><td>32.46 27.42</td><td>51.19 47.28</td><td>47.08 41.60</td></tr><tr><td rowspan="8">GDr-ese5g</td><td>BIA+RN(Ours)</td><td>23.54</td><td>40.13</td><td>51.36</td><td>12.39</td><td>47.92</td><td>60.59</td><td>32.34</td><td>32.85</td><td>46.89</td><td>38.67</td></tr><tr><td>PGD</td><td>79.29</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>DIM</td><td>63.17</td><td>81.14 62.01</td><td>79.74 65.96</td><td>87.66 72.88</td><td>90.13</td><td>89.80</td><td>83.23</td><td>84.31</td><td>81.24</td><td>84.06</td></tr><tr><td>DR</td><td>74.84</td><td>78.89</td><td>77.93</td><td>86.54</td><td>78.29 88.82</td><td>81.25 89.52</td><td>68.89 77.80</td><td>65.26 78.73</td><td>54.79 74.47</td><td>68.06 80.84</td></tr><tr><td>SSP</td><td>41.80</td><td>49.95</td><td>59.72</td><td>26.65</td><td>68.71</td><td>74.36</td><td>16.80</td><td>55.78</td><td>44.07</td><td>48.65</td></tr><tr><td>CDA</td><td>52.92</td><td>60.96</td><td>57.04</td><td>53.64</td><td>73.66</td><td>75.51</td><td>62.23</td><td>61.42</td><td>59.83</td><td>61.91</td></tr><tr><td>CDA+gs</td><td>60.86</td><td>61.34</td><td>60.10</td><td>74.95</td><td>76.35</td><td>78.86</td><td>72.94</td><td>68.68</td><td>64.66</td><td>68.75</td></tr><tr><td>BIA (Ours)</td><td>21.79</td><td>29.29</td><td>39.13</td><td>9.58</td><td>44.46</td><td>49.06</td><td>8.04</td><td>27.84</td><td>33.87</td><td>29.23</td></tr><tr><td></td><td>BIA+DA(Ours) 12.36</td></table>
146
+
147
+ # 4.1.2 RESULTS ON FINE-GRAINED DOMAIN
148
+
149
+ We also analyze the transferability of adversarial examples towards fine-grained classification tasks. For each domain, three black-box models with different backbones trained via the DCL framework are the target. The results are summarized in Table 3, where the leftmost column is the substitute model and the top row shows the target model.
150
+
151
+ In this scenario, the performance gap between the existing state-of-the-art algorithms and our proposed methods is further enlarged. Remarkably, when attacking against Dense-169, even the vanilla BIA can drop the average top-1 accuracy to $2 9 . 2 3 \%$ , while $\mathrm { C D A + g s }$ , CDA, SSP, DR, DIM and PGD are still with the high average top-1 accuracy of $6 8 . 7 5 \%$ , $6 1 . 9 1 \%$ , $4 8 . 6 5 \%$ , $8 0 . 8 4 \%$ , $6 8 . 0 6 \%$ and $8 4 . 0 6 \%$ after attacking, respectively. Furthermore, by adding $\mathcal { D A }$ or $\mathcal { R N }$ modules in the training phase, the generator $\mathcal { G } _ { \theta ^ { * } }$ is capable of crafting more transferable adversarial examples. On average, our $\mathcal { R N }$ variant can reduce the top-1 accuracy from $4 6 . 5 2 \%$ (vanilla BIA) to $3 9 . 3 3 \%$ , and $\mathcal { D A }$ variant can further drop it to $3 6 . 4 2 \%$ , which remarkably outperforms SSP by $2 5 . 9 1 \%$ . This demonstrates our proposed $\mathcal { D A }$ module can effectively alleviate the bias caused by several feature maps, thus focusing on disrupting essential features.
152
+
153
+ Table 4: Transferability comparisons on ImageNet (source domain). Here we report the top-1 accuracy after attacking (the lower, the better). The generator $\mathcal { G } _ { \theta }$ is trained in ImageNet domain (“\*” denotes white-box model) and adversarial examples are within the perturbation budget of $\ell _ { \infty } \leq 1 0$ .
154
+
155
+ <table><tr><td>Model</td><td>Attack Clean</td><td>VGG-16 70.14</td><td>Dense-169 75.75</td><td>VGG-19 70.95</td><td>Res-50 74.61</td><td>Res-152 77.34</td><td>Dense-121 74.22</td><td>Inc-v3 76.19</td><td>AVG. 74.17</td></tr><tr><td rowspan="9">VGG-16</td><td>PGD</td><td>2.49*</td><td>53.22</td><td>4.27</td><td>45.52</td><td>58.69</td><td>48.28</td><td>61.08</td><td>39.08</td></tr><tr><td>DIM</td><td>3.32*</td><td>22.72</td><td>3.39</td><td>19.13</td><td>33.03</td><td>18.50</td><td>30.05</td><td>18.59</td></tr><tr><td>DR</td><td>20.95*</td><td>67.91</td><td>43.59</td><td>64.90</td><td>70.00</td><td>64.73</td><td>69.22</td><td>57.33</td></tr><tr><td>SSP</td><td>0.95*</td><td>39.56</td><td>3.42</td><td>26.22</td><td>41.68</td><td>34.45</td><td>47.46</td><td>27.68</td></tr><tr><td>CDA</td><td>0.40*</td><td>42.67</td><td>0.77</td><td>36.27</td><td>51.05</td><td>38.89</td><td>54.02</td><td>32.01</td></tr><tr><td>CDA+gs</td><td>12.10*</td><td>57.09</td><td>20.48</td><td>51.87</td><td>60.83</td><td>52.21</td><td>55.12</td><td>44.24</td></tr><tr><td>BIA (Ours)</td><td>1.55*</td><td>32.35</td><td>3.61</td><td>25.36</td><td>42.98</td><td>26.97</td><td>41.20</td><td>24.86</td></tr><tr><td>BIA+DA(Ours)</td><td>1.04*</td><td>24.52</td><td>2.07</td><td>18.63</td><td>36.43</td><td>19.97</td><td>34.54</td><td>19.60</td></tr><tr><td>BIA+RN(Ours)</td><td>1.44*</td><td>25.96</td><td>2.58</td><td>16.52</td><td>31.80</td><td>18.25</td><td>28.54</td><td>17.87</td></tr><tr><td rowspan="9">Dense-169</td><td>PGD</td><td>38.51</td><td>5.03*</td><td>40.53</td><td>33.91</td><td>44.97</td><td>21.18</td><td>58.30</td><td>34.63</td></tr><tr><td>DIM</td><td>12.31</td><td>5.25*</td><td>13.20</td><td>8.98</td><td>12.93</td><td>5.91</td><td>21.44</td><td>11.43</td></tr><tr><td>DR</td><td>38.45</td><td>23.99*</td><td>41.59</td><td>50.19</td><td>58.70</td><td>49.95</td><td>63.70</td><td>46.65</td></tr><tr><td>SSP</td><td>11.53</td><td>1.32*</td><td>12.54</td><td>12.97</td><td>25.66</td><td>9.74</td><td>25.58</td><td>14.19</td></tr><tr><td>CDA</td><td>7.26</td><td>0.63*</td><td>7.91</td><td>6.46</td><td>15.56</td><td>5.13</td><td>43.78</td><td>12.39</td></tr><tr><td>CDA+gs</td><td>27.98</td><td>22.95*</td><td>28.56</td><td>31.52</td><td>43.67</td><td>31.66</td><td>49.18</td><td>33.65</td></tr><tr><td>BIA (Ours)</td><td>4.76</td><td>6.45*</td><td>7.15</td><td>6.97</td><td>13.83</td><td>6.60</td><td>38.58</td><td>12.05</td></tr><tr><td>BIA+DA(Ours)</td><td>3.17</td><td>3.32*</td><td>4.09</td><td>4.44</td><td>5.85</td><td>3.98</td><td>26.51</td><td>7.34</td></tr><tr><td>BIA+RN(Ours)</td><td>3.66</td><td>4.05*</td><td>5.23</td><td>6.91</td><td>13.25</td><td>4.21</td><td>14.24</td><td>7.36</td></tr></table>
156
+
157
+ # 4.1.3 RESULTS ON SOURCE DOMAIN
158
+
159
+ Although our proposed methods are mainly designed to improve the threat of adversarial examples towards black-box domains, they are also effective for enhancing the cross-model black-box transferability in the white-box domain. For example, by training against Dense-169, CDA still remains a top-1 accuracy of $4 3 . 7 8 \%$ on Inc-v3, while our BIA can achieve a relatively low top-1 accuracy of $3 8 . 5 8 \%$ on it. Besides, $\mathcal { R N }$ variant can further decrease the top-1 accuracy on Dense-169 (whitebox model) and Inc-v3 (black-box model) by $2 . 4 \%$ and $2 4 . 3 4 \%$ , respectively. This demonstrates that our proposed $\mathcal { R N }$ module is also able to avoid getting stuck in the local optimum of a specific model when training on a large-scale dataset. For $\mathcal { D A }$ variant, since the target domain and source domain are identical, it is naturally able to improve the transferability as well. As shown in Table 4, compared with vanilla BIA, $\mathcal { D A }$ variant can further degrade the top-1 accuracy from $1 8 . 4 5 \%$ (vanilla BIA) to $1 3 . 4 7 \%$ on average.
160
+
161
+ 4.2 COMBINATION OF DOMAIN-AGNOSTIC ATTENTION AND RANDOM NORMALIZATION
162
+
163
+ In this section, we report the results for BIA equipped with both $\mathcal { R N }$ and $\mathcal { D A }$ . The following is the update rule:
164
+
165
+ $$
166
+ \theta ^ { * } = \underset { \theta } { \arg \operatorname* { m i n } } \ : \mathcal { L } _ { c o s } ( \mathcal { A } ^ { L } \odot f _ { s } ^ { L } ( \mathcal { R N } ( \boldsymbol { x } _ { s } ^ { \prime } ) ) , \boldsymbol { \mathcal { A } } ^ { L } \odot f _ { s } ^ { L } ( \mathcal { R N } ( \boldsymbol { x } _ { s } ) ) ) .
167
+ $$
168
+
169
+ As illustrated in Figure 4, $\mathcal { R N }$ module and $\mathcal { D A }$ module are not always mutually reinforcing. For example, when training against Res-152 and transferring adversarial examples to fine-grained or source domains, combining $\mathcal { R N }$ module and $\mathcal { D A }$ module can further decrease the average top-1 accuracy to $3 5 . 7 5 \%$ and $1 3 . 1 1 \%$ , respectively. However, if the black-box domain is coarse-grain,
170
+
171
+ only applying $\mathcal { R N }$ module is better than applying both $\mathcal { R N }$ and $\mathcal { D A }$ modules. We speculate that it may be because the $\mathcal { R N }$ module affects the low-level features extract by the substitute model, and thus be incompatible with the $\mathcal { D A }$ module sometimes.
172
+
173
+ Since Figure 4 shows that using $\mathcal { D A }$ and $\mathcal { R N }$ in tandem is less effective when training against Dense-169 while they reinforce each other in VGG-16 in most cases, we visualize the cross-channel average pooling of intermediate features for VGG-16 and Dense-169 to better explain this phenomenon. As illustrated in Figure 5, it can be observed that the $\mathcal { R N }$ module reinforces the discriminative features in VGG-16. However, it in
174
+
175
+ ![](images/4ecd10a3691d3714ff189539f01805d221cf14ddcec75d479aeab721ab4e2388.jpg)
176
+ Figure 4: The average top-1 accuracy of $\mathcal { D A }$ , $\mathcal { R N }$ and $\mathcal { D } \bar { \mathcal { A } } + \mathcal { R } \mathcal { N }$ variants after attacking on coarse-grained, fine-grained and source domains.
177
+
178
+ hibits the response of objects’ essential features extracted by Dense-169. Consequently, $\mathcal { D A }$ module may cause the resulting generator to reduce the ability to attack essential features, thereby making it challenging to use these two techniques in tandem.
179
+
180
+ ![](images/ba820367a302ab95b1868a9130cf44d4e19cb1331f48670968e85446d3bf274e.jpg)
181
+ Figure 5: Visualization (cross-channel average pooling) of intermediate features for VGG-16 and Dense-169. It can be observed that the $\mathcal { R N }$ module inhibits the response of objects’ essential feature extracted by Dense-169, while VGG-16 enhances the response.
182
+
183
+ # 5 CONCLUSION
184
+
185
+ In this paper, we present a practical black-box threat model for the cross-domain attack. Specifically, we train a generator network in the large-scale ImageNet domain to disrupt low-level features better, thus generating transferable adversarial examples for the black-box domain. Based on this framework, we further propose two variants to narrow the gap between the source and target domains from the data and model perspectives, respectively. Extensive experiments demonstrate the effectiveness of our proposed methods. This also reminds the model owner that “Your deployed model is not safe even you do not leak any information to the public”. We hope our proposed approaches can serve as a benchmark for evaluating the stability of various deployed models.
186
+
187
+ # 6 ACKNOWLEDGE
188
+
189
+ This work was supported by the National Natural Science Foundation of China (Grant No.
190
+ 62020106008, No. 61772116 and No. 61872064) and Alibaba Group.
191
+
192
+ # REFERENCES
193
+
194
+ Shumeet Baluja and Ian Fischer. Adversarial transformation networks: Learning to generate adversarial examples. CoRR, abs/1703.09387, 2017.
195
+
196
+ Wieland Brendel, Jonas Rauber, and Matthias Bethge. Decision-based adversarial attacks: Reliable attacks against black-box machine learning models. In ICLR, 2018.
197
+
198
+ Nicholas Carlini and David A. Wagner. Towards evaluating the robustness of neural networks. In Symposium on Security and Privacy, 2017.
199
+
200
+ Rich Caruana, Alexandru Niculescu-Mizil, Geoff Crew, and Alex Ksikes. Ensemble selection from libraries of models. In ICML, 2004.
201
+
202
+ Jianbo Chen, Michael I. Jordan, and Martin J. Wainwright. Hopskipjumpattack: A query-efficient decision-based attack. In SP, 2020.
203
+
204
+ Yue Chen, Yalong Bai, Wei Zhang, and Tao Mei. Destruction and construction learning for finegrained image recognition. In CVPR, 2019.
205
+
206
+ Adam Coates, Andrew Y. $\mathrm { N g }$ , and Honglak Lee. An analysis of single-layer networks in unsupervised feature learning. In Geoffrey J. Gordon, David B. Dunson, and Miroslav Dud´ık (eds.), AISTATS, 2011.
207
+
208
+ Yinpeng Dong, Fangzhou Liao, Tianyu Pang, Hang Su, Jun Zhu, Xiaolin Hu, and Jianguo Li. Boosting adversarial attacks with momentum. In CVPR, 2018.
209
+
210
+ Ranjie Duan, Xiaofeng Mao, A. Kai Qin, Yuefeng Chen, Shaokai Ye, Yuan He, and Yun Yang. Adversarial laser beam: Effective physical-world attack to dnns in a blink. In CVPR, 2021.
211
+
212
+ Lianli Gao, Qilong Zhang, Jingkuan Song, Xianglong Liu, and Hengtao Shen. Patch-wise attack for fooling deep neural network. In ECCV, 2020a.
213
+
214
+ Lianli Gao, Qilong Zhang, Jingkuan Song, and Heng Tao Shen. Patch-wise $^ { + + }$ perturbation for adversarial targeted attacks. CoRR, abs/2012.15503, 2020b.
215
+
216
+ Lianli Gao, Yaya Cheng, Qilong Zhang, Xing Xu, and Jingkuan Song. Feature space targeted attacks by statistic alignment. In IJCAI, 2021.
217
+
218
+ Ian J. Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. In Yoshua Bengio and Yann LeCun (eds.), ICLR, 2015.
219
+
220
+ Lars Kai Hansen and Peter Salamon. Neural network ensembles. IEEE Trans. Pattern Anal. Mach. Intell., 1990.
221
+
222
+ Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, 2016.
223
+
224
+ Jie Hu, Li Shen, and Gang Sun. Squeeze-and-excitation networks. In CVPR, 2018.
225
+
226
+ Gao Huang, Zhuang Liu, Laurens van der Maaten, and Kilian Q. Weinberger. Densely connected convolutional networks. In CVPR, 2017.
227
+
228
+ Nathan Inkawhich, Wei Wen, Hai (Helen) Li, and Yiran Chen. Feature space perturbations yield more transferable adversarial examples. In CVPR, 2019.
229
+
230
+ Nathan Inkawhich, Kevin J. Liang, Binghui Wang, Matthew Inkawhich, Lawrence Carin, and Yiran Chen. Perturbing across the feature hierarchy to improve standard and strict blackbox attack transferability. In Hugo Larochelle, Marc’Aurelio Ranzato, Raia Hadsell, Maria-Florina Balcan, and Hsuan-Tien Lin (eds.), NeurIPS, 2020.
231
+
232
+ Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In ICLR, 2015.
233
+
234
+ Jonathan Krause, Jia Deng, Michael Stark, and Li Fei-Fei. Collecting a large-scale dataset of finegrained cars. 2013.
235
+
236
+ Alex Krizhevsky. Learning multiple layers of features from tiny images. 2009.
237
+
238
+ Alex Krizhevsky, Ilya Sutskever, and Geoffrey E. Hinton. Imagenet classification with deep convolutional neural networks. In NeurPIS, 2012.
239
+
240
+ Alexey Kurakin, Ian J. Goodfellow, and Samy Bengio. Adversarial examples in the physical world. In ICLR, 2017a.
241
+
242
+ Alexey Kurakin, Ian J. Goodfellow, and Samy Bengio. Adversarial machine learning at scale. In ICLR, 2017b.
243
+
244
+ Xiaodan Li, Jinfeng Li, Yuefeng Chen, Shaokai Ye, Yuan He, Shuhui Wang, Hang Su, and Hui Xue. QAIR: practical query-efficient black-box attacks for image retrieval. In CVPR, 2021.
245
+
246
+ Yanpei Liu, Xinyun Chen, Chang Liu, and Dawn Song. Delving into transferable adversarial examples and black-box attacks. In ICLR, 2017.
247
+
248
+ Ye Liu, Yaya Cheng, Lianli Gao, Xianglong Liu, Qilong Zhang, and Jingkuan Song. Practical evaluation of adversarial robustness via adaptive auto attack. In CVPR, 2022.
249
+
250
+ Yantao Lu, Yunhan Jia, Jianyu Wang, Bai Li, Weiheng Chai, Lawrence Carin, and Senem Velipasalar. Enhancing cross-task black-box transferability of adversarial examples with dispersion reduction. In CVPR, 2020.
251
+
252
+ Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. In ICLR, 2018.
253
+
254
+ Subhransu Maji, Esa Rahtu, Juho Kannala, Matthew B. Blaschko, and Andrea Vedaldi. Fine-grained visual classification of aircraft. volume abs/1306.5151, 2013.
255
+
256
+ Xiaofeng Mao, Yuefeng Chen, Shuhui Wang, Hang Su, Yuan He, and Hui Xue. Composite adversarial attacks. In AAAI, 2021.
257
+
258
+ Seyed-Mohsen Moosavi-Dezfooli, Alhussein Fawzi, and Pascal Frossard. Deepfool: A simple and accurate method to fool deep neural networks. In CVPR, 2016.
259
+
260
+ Konda Reddy Mopuri, Utkarsh Ojha, Utsav Garg, and R. Venkatesh Babu. NAG: network for adversary generation. In CVPR, 2018.
261
+
262
+ Muzammal Naseer, Salman H. Khan, Muhammad Haris Khan, Fahad Shahbaz Khan, and Fatih Porikli. Cross-domain transferability of adversarial perturbations. In NeurPIS, 2019.
263
+
264
+ Muzammal Naseer, Salman H. Khan, Munawar Hayat, Fahad Shahbaz Khan, and Fatih Porikli. A self-supervised approach for adversarial robustness. In CVPR, 2020.
265
+
266
+ Yuval Netzer, Tao Wang, Adam Coates, Alessandro Bissacco Bo Wu, and Andrew Y. Ng. Reading digits in natural images with unsupervised feature learning. 2011.
267
+
268
+ Nicolas Papernot, Patrick D. McDaniel, and Ian J. Goodfellow. Transferability in machine learning: from phenomena to black-box attacks using adversarial samples. CoRR, abs/1605.07277, 2016.
269
+
270
+ Omid Poursaeed, Isay Katsman, Bicheng Gao, and Serge J. Belongie. Generative adversarial perturbations. In CVPR, 2018.
271
+
272
+ Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael S. Bernstein, Alexander C. Berg, and Fei-Fei Li. Imagenet large scale visual recognition challenge. IJCV, 2015.
273
+
274
+ Mahmood Sharif, Sruti Bhagavatula, Lujo Bauer, and Michael K. Reiter. Accessorize to a crime: Real and stealthy attacks on state-of-the-art face recognition. In SIGSAC, 2016.
275
+
276
+ Yucheng Shi, Siyu Wang, and Yahong Han. Curls & whey: Boosting black-box adversarial attacks. In CVPR, 2019.
277
+
278
+ Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In Yoshua Bengio and Yann LeCun (eds.), ICLR, 2015.
279
+
280
+ Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian J. Goodfellow, and Rob Fergus. Intriguing properties of neural networks. In Yoshua Bengio and Yann LeCun (eds.), ICLR, 2014.
281
+
282
+ Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jonathon Shlens, and Zbigniew Wojna. Rethinking the inception architecture for computer vision. In CVPR, 2016.
283
+
284
+ Hugo Touvron, Alexandre Sablayrolles, Matthijs Douze, Matthieu Cord, and Herve J ´ egou. Grafit: ´ Learning fine-grained image representations with coarse labels. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 874–884, 2021.
285
+
286
+ C. Wah, S. Branson, P. Welinder, P. Perona, and S. Belongie. The Caltech-UCSD Birds-200-2011 Dataset. Technical report, California Institute of Technology, 2011.
287
+
288
+ Xiaosen Wang, Xuanran He, Jingdong Wang, and Kun He. Admix: Enhancing the transferability of adversarial attacks. In ICCV, 2021.
289
+
290
+ Xiaosong Wang, Yifan Peng, Le Lu, Zhiyong Lu, Mohammadhadi Bagheri, and Ronald M. Summers. Chestx-ray8: Hospital-scale chest x-ray database and benchmarks on weakly-supervised classification and localization of common thorax diseases. In CVPR, 2017.
291
+
292
+ Dongxian Wu, Yisen Wang, Shu-Tao Xia, James Bailey, and Xingjun Ma. Skip connections matter: On the transferability of adversarial examples generated with resnets. In ICLR, 2020a.
293
+
294
+ Weibin Wu, Yuxin Su, Xixian Chen, Shenglin Zhao, Irwin King, Michael R. Lyu, and Yu-Wing Tai. Boosting the transferability of adversarial samples via attention. In CVPR, 2020b.
295
+
296
+ Cihang Xie, Zhishuai Zhang, Yuyin Zhou, Song Bai, Jianyu Wang, Zhou Ren, and Alan L. Yuille. Improving transferability of adversarial examples with input diversity. In CVPR, 2019.
297
+
298
+ Kaidi Xu, Gaoyuan Zhang, Sijia Liu, Quanfu Fan, Mengshu Sun, Hongge Chen, Pin-Yu Chen, Yanzhi Wang, and Xue Lin. Adversarial t-shirt! evading person detectors in a physical world. In Andrea Vedaldi, Horst Bischof, Thomas Brox, and Jan-Michael Frahm (eds.), ECCV, 2020.
299
+
300
+ Jason Yosinski, Jeff Clune, Yoshua Bengio, and Hod Lipson. How transferable are features in deep neural networks? In Zoubin Ghahramani, Max Welling, Corinna Cortes, Neil D. Lawrence, and Kilian Q. Weinberger (eds.), NeurIPS, 2014.
301
+
302
+ Qilong Zhang, Chaoning Zhang, Chaoqun Li, Jingkuan Song, Lianli Gao, and Heng Tao Shen. Practical no-box adversarial attacks with training-free hybrid image transformation. CoRR, abs/2203.04607, 2022.
303
+
304
+ Zhengyu Zhao, Zhuoran Liu, and Martha A. Larson. On success and simplicity: A second look at transferable targeted attacks. CoRR, abs/2012.11207, 2020.
305
+
306
+ Wen Zhou, Xin Hou, Yongjun Chen, Mengyun Tang, Xiangqi Huang, Xiang Gan, and Yong Yang. Transferable adversarial perturbations. In Vittorio Ferrari, Martial Hebert, Cristian Sminchisescu, and Yair Weiss (eds.), ECCV, 2018.
307
+
308
+ # A APPENDIX
309
+
310
+ ![](images/a3eb2cf3d05fabc4b32c9e9f34ad5e4e9486195d6355aacf96d920c8c62d5115.jpg)
311
+ Figure 6: Benign images sampled from each domain. From the top to the bottom rows are the first category, the middle category and the last category of their label space, respectively.
312
+
313
+ ![](images/742ca68f8adfdb07b0b2688fcc47f11ed2f4f5fbf9d0acac484a073811109501.jpg)
314
+ Figure 7: The structure of the generator.
315
+
316
+ ![](images/319485c961167e8f852f7873feb57a1fb4bded4e02eaef9e0b9ec9d1bf79d6df.jpg)
317
+ Figure 8: Adversarial examples crafted by CDA and our vanilla BIA $\epsilon = 1 0$ ). Both generator networks are trained against ImageNet pre-trained VGG-16 (Simonyan & Zisserman, 2015). Red highlighted labels represent misclassification.
318
+
319
+ # A.1 SELECT LAYER FOR ATTACKING
320
+
321
+ In this section, we analyze the impact of different intermediate layers of the substitute model on the transferability of resulting adversarial examples. The results are illustrated in Figure 10.
322
+
323
+ In general, training against the shallow and middle layers yields more cross-domain transferable but less cross-model transferable adversarial examples than against the deep layer. For example, if the substitute model is Res-152, disrupting shallow layer Conv2 3 is more effective for transferring towards coarse-grained domain, and perturbing middle layer Conv3 8 is more effective in reducing the average top-1 accuracy of fine-grained models. In contrast, attacking deep layers like Conv5 3 can yield more transferable adversarial examples in the source domain. This demonstrates that lowlevel features are more similar across domains and high-level features are more domain-specific.
324
+
325
+ # A.2 SELECT GAUSSIAN DISTRIBUTION FOR RANDOM NORMALIZATION
326
+
327
+ For $\mathcal { D A }$ module, it is parameter-free. Therefore, we only conduct the experiment to select an optimal distribution for $\mathcal { R N }$ module, i.e., the $\mu ^ { \prime }$ and $\sigma ^ { \prime }$ in Equation 4. Here we tune the mean of $\mu ^ { \prime }$ and $\sigma ^ { \prime }$ from 0.25 to 0.75 with a granularity of 0.25. For the standard deviation of them, we fix it to 0.08 so that the sampled $\mu ^ { \prime }$ and $\sigma ^ { \prime }$ can basically take values ranging from 0.0 to 1.0 (according to the three-sigma rule).
328
+
329
+ ![](images/4955a0520f0dfb069af0d2360393bde7466120aebc110a8a60ecc7e0e354bbdd.jpg)
330
+ Figure 9: The average top-1 accuracy after attacking on coarse-grained (left), fine-grained (middle) and source (right) domains with different $\mu _ { m e a n } ^ { \prime }$ and $\sigma _ { m e a n } ^ { \prime }$ for $\mathcal { R N }$ .
331
+
332
+ The results are shown in Figure 9, where we craft adversarial examples via VGG-16 and report the average top-1 accuracy in both source and black-box domains. From the results, we observe that a bigger $\sigma _ { m e a n } ^ { \prime }$ can effectively improve the transferability. For example, if we increase $\sigma _ { m e a n } ^ { \prime }$ from 0.25 to 0.75, the top-1 accuracy on fine-grained models can be further decreased by $3 . 1 6 \%$ on average. Although the influence of $\mu _ { m e a n } ^ { \prime }$ is relatively moderate when $\sigma _ { m e a n } ^ { \prime } = 0 . 7 5$ , setting $\mu _ { m e a n } ^ { \prime }$ to 0.5 is usually better. Therefore, we set $\mu ^ { \prime } \sim \mathcal { N } ( 0 . 5 0 , 0 . 0 8 )$ and $\sigma ^ { \prime } \sim \mathcal { N } ( 0 . 7 5 , 0 . 0 8 )$ in our paper.
333
+
334
+ # A.3 DATA AUGMENTATION VS. RANDOM NORMALIZATION
335
+
336
+ Data augmentation (Krizhevsky et al., 2012; Simonyan & Zisserman, 2015) is a widely used strategy for improving the generalization of the model. Nonetheless, these label-preserving transformations are less effective for training a generator to craft more transferable adversarial examples.
337
+
338
+ In Figure 11, we report the results for our vanilla BIA, BIA with data augmentation $\left( \mathrm { B I A + A U G } \right)$ and BIA with $\mathcal { R N }$ $( \mathrm { B I A } { + } \mathcal { R N } )$ . As shown in Figure 11, $\mathrm { B I A + A U G }$ is less effective than our proposed $\mathbf { B } \mathbf { I A } { + } \mathcal { R N }$ and might even degrade the performance of our vanilla BIA. For example, when training against VGG-19, BIA gets an average top-1 accuracy of $5 8 . 7 1 \%$ on the fine-grained domain, yet $\mathrm { B I A + A U G }$ degrades it to $6 2 . 2 9 \%$ . In contrast, our proposed $\mathbf { B } \mathbf { I A } { + } \mathcal { R N }$ can significantly decrease the result to $4 7 . 7 8 \%$ . This is mainly because that the common data augmentation cannot effectively change the distribution of the training dataset, thus decreasing the generalization towards the black-box domain.
339
+
340
+ # A.4 INSIGHT INTO THE GENERATOR
341
+
342
+ Although many prior works (Poursaeed et al., 2018; Naseer et al., 2019) have leveraged the generator to craft adversarial examples, they hardly analyze the role of each block of the generator. This section will give an insight into the generator and understand how it processes an input. In Figure 12, we feed an image into the generator trained with the vanilla BIA (against Res-152) and visualize the output of each block. As we can observe, these blocks play different roles in crafting adversarial examples:
343
+
344
+ ![](images/cffcba5f5c5804d61a8eb199fb31cdc2b10ae019bcb69bc47c3424cebf3b65ac.jpg)
345
+ Figure 10: The average top-1 accuracy after attacking (the lower, the better) on coarse-grained, finegrained and source domains. Our generator $\mathcal { G } _ { \theta }$ is trained against different layers (from shallow to deep) of ImageNet pre-trained VGG-16, VGG-19, Res-152 and Dense-169, respectively.
346
+
347
+ ![](images/4ec3751736a8ca1997448b8ac8402ca0c000c1fec5f5e85e61492c892ceb1c60.jpg)
348
+ Figure 11: The average top-1 accuracy after attacking on coarse-grained, fine-grained and source domains. Here we compare the results of vanilla BIA, BIA with data augmentation (AUG) and BIA with $\mathcal { R N }$ . Our generator $\mathcal { G } _ { \theta }$ is trained against ImageNet pre-trained VGG-16, VGG-19, Res-152 and Dense-169, respectively.
349
+
350
+ • Downsampling block: it mainly extracts discriminative features of the input image. As the size of the down-sampled images gets smaller, there is no significant noise overall.
351
+ • Residual block: Unlike the downsampling block, this block is responsible for adding noise and its behavior looks very similar to the iterative algorithm.
352
+ • Upsampling block: This block gradually reconstructs the adversarial example from abstract features.
353
+
354
+ Since the residual block mainly works as suppressing or reversing the features extracted by the downsampling module, the downsampling module has an essential impact on generating transferable adversarial examples.
355
+
356
+ To better understand the effectiveness of our proposed modules, here we investigate them from the perspective of the generator mechanism. Specifically, we apply crosschannel average pooling to the output of the downsampling block and calculate the difference map between vanilla BIA and our proposed variants. Without loss of generality, here we only show the definition of $D i f f ( \mathcal { R } \mathcal { N } v a r i a n t , ~ \mathbf { B } \mathbf { I } \mathbf { A } )$ , and $D i f f ( D A v a r i a n t$ , BIA) can be easily de
357
+
358
+ ![](images/c533ac52894362944c993885611d63588c7ef8cbe930655443a15ceffa0bd085.jpg)
359
+ Figure 13: A benign image (label is “Boeing 747”) from FGVC Aircraft (Maji et al., 2013) and its corresponding adversarial examples and difference map.
360
+
361
+ duced. Specifically, we first apply cross-channel average pooling to the output of the downsampling
362
+
363
+ ![](images/eaa3a0a03e90e4247293ba6bf07592e5f6f00a59257c996993a39c4dff27f299.jpg)
364
+ Figure 12: We apply cross-channel average pooling to visualize each block of our generator $\mathcal { G } _ { \theta ^ { * } }$
365
+
366
+ block:
367
+
368
+ $$
369
+ \begin{array} { r } { \mathcal { A } _ { R N } ^ { L } = \frac { \big | \sum _ { i = 0 } ^ { C } [ \mathcal { G } _ { R \mathcal { N } _ { \theta ^ { * } } } ^ { d } ( \pmb { x } ) ] _ { i } \big | } { C } , } \\ { \mathcal { A } _ { B I A } ^ { L } = \frac { \big | \sum _ { i = 0 } ^ { C } [ \mathcal { G } _ { B I A _ { \theta ^ { * } } } ^ { d } ( \pmb { x } ) ] _ { i } \big | } { C } , } \end{array}
370
+ $$
371
+
372
+ where $\mathcal { G } _ { \mathcal { R N } _ { \theta _ { \cdot } ^ { * } } } ^ { d }$ and $\mathcal { G } _ { B \mathcal { L } A _ { \theta ^ { * } } } ^ { d }$ denote the output of the downsampling block for $\mathcal { R N }$ variant and vanilla BIA, respectively. Then our difference map can be expressed by:
373
+
374
+ $$
375
+ D i f f ( { \mathcal { R } } { \mathcal { N } } v a r i a n t , B I A ) = { \left\{ \begin{array} { l l } { 1 , } & { A _ { R N } ^ { L } - A _ { B I A } ^ { L } > 0 , } \\ { 0 , } & { e l s e . } \end{array} \right. }
376
+ $$
377
+
378
+ From the result of Figure 13, we can observe that the generators derived from our proposed variants concentrate more on the body of the object (especially for $\mathcal { D A }$ variant) than that of vanilla BIA (which pays more attention to the background, i.e., the black region in the difference map). This demonstrates that our proposed $\mathcal { R N }$ and $\mathcal { D A }$ variants do narrow the domain gap, and thus be capable of yielding more transferable adversarial examples.
379
+
380
+ # A.5 DISCUSSION ON CHANGING SOURCE DOMAIN
381
+
382
+ Since all the experiments are only regarding from ImageNet domains to target domains, it is unclear how well the method will perform if the source dataset is different (especially when the source dataset is small). Therefore, in the following Table 5, we report the results for transferability from CUB-200-2011 to other domains. Generators are learned against CUB-200-2011 domain (the substitute model is DCL (backbone: Res-50) and training data is CUB-200-2011 testing data (5794 images)). For results of fine-grained domains, we average top-1 accuracy of backbone SENet-154 and SE-Res101. For the result of the ImageNet domain, we average top-1 accuracy of all models introduced in our manuscript. We can observe that our method consistently outperforms our main competitor CDA by a large margin. Besides, we also notice that transferring from CUB-200-2011 to CIFAR is very challenging (compared with our reported results in Table 2). Therefore, we highlight the necessity of using a large-scale dataset such as ImageNet to train the adversarial examples generator.
383
+
384
+ Table 5: Transferability comparisons of CDA and our methods. Here we report the top-1 accuracy after attacking (the lower, the better). The generator $\mathcal { G } _ { \theta }$ is trained in CUB-200-2011 domain and adversarial examples are within the perturbation budget of $\ell _ { \infty } \leq 1 0$ .
385
+
386
+ <table><tr><td>Attacks</td><td>CUB-200-2011</td><td>CIFAR-10</td><td>CIFAR-100</td><td>STL-10</td><td>SVHN</td><td>Stanford Cars</td><td>FGVC Aircraft</td><td>ImageNet</td></tr><tr><td>CDA</td><td>64.34</td><td>83.61</td><td>54.83</td><td>70.49</td><td>91.81</td><td>74.37</td><td>71.17</td><td>50.99</td></tr><tr><td>BIA</td><td>40.40</td><td>82.62</td><td>54.57</td><td>71.43</td><td>91.67</td><td>68.25</td><td>57.90</td><td>44.15</td></tr><tr><td>BIA+DA</td><td>29.55</td><td>82.94</td><td>54.15</td><td>71.70</td><td>87.28</td><td>54.65</td><td>55.15</td><td>37.15</td></tr><tr><td>BIA+RN</td><td>42.88</td><td>83.84</td><td>53.63</td><td>69.79</td><td>87.95</td><td>57.01</td><td>50.85</td><td>39.43</td></tr></table>
387
+
388
+ # A.6 DISCUSSION ON ENSEMBLE-MODEL ATTACKS
389
+
390
+ As demonstrated in prior works (Liu et al., 2017; Dong et al., 2018; Mopuri et al., 2018), attacking against an ensemble of models can yield more transferable adversarial examples. However, it is not clear whether the ensemble-model attack is also effective in our cross-domain attack scenario. To investigate this, we conduct an experiment in Table 6, which shows the results for training against VGG-16 and an ensemble of VGG-16, Vgg-19, Res-152 and Dense-169, respectively.
391
+
392
+ From the result, We can observe that ensemble-based training can also improve the transferability of adversarial examples towards black-box domains significantly.
393
+
394
+ Table 6: Transferability comparisons of singe-model (i.e. VGG-16) attacks and ensemble-model (i.e. an ensemble of VGG-16, VGG-19, Res-152 and Dense-169) attacks. Here we report the top-1 accuracy after attacking (the lower, the better) and adversarial examples are within the perturbation budget of $\ell _ { \infty } \leq 1 0$ .
395
+
396
+ <table><tr><td></td><td>CIFAR-10</td><td>CIFAR-100</td><td>STL-10</td><td>SVHN</td><td>CUB-200-2011 (SENet-154)</td><td>Stanford Cars (SENet-154)</td><td>FGVC Aircraft (SENet-154)</td></tr><tr><td>BIA</td><td>57.38</td><td>22.47</td><td>69.45</td><td>90.44</td><td>52.99</td><td>69.90</td><td>60.31</td></tr><tr><td>BIA (ensemble)</td><td>54.96</td><td>21.73</td><td>68.94</td><td>85.85</td><td>29.15</td><td>46.47</td><td>36.87</td></tr><tr><td>BIA+DA</td><td>55.16</td><td>21.71</td><td>70.00</td><td>91.76</td><td>40.27</td><td>59.48</td><td>47.91</td></tr><tr><td>BIA+DA (ensemble)</td><td>52.97</td><td>20.51</td><td>69.51</td><td>89.15</td><td>18.47</td><td>38.99</td><td>25.41</td></tr><tr><td>BIA+RN</td><td>52.81</td><td>20.82</td><td>67.55</td><td>88.03</td><td>46.15</td><td>62.64</td><td>52.54</td></tr><tr><td>BIA+RN (ensemble)</td><td>50.99</td><td>22.35</td><td>66.06</td><td>81.66</td><td>35.40</td><td>41.87</td><td>27.81</td></tr></table>
397
+
398
+ # A.7 DISCUSSION ON STANDARD DEVIATION ACROSS MULTIPLE RANDOM RUNS
399
+
400
+ To ensure the stability and credibility of the evaluations, experiments are repeated several times for our methods. In Table 7, we report the results for each random seed and standard deviation across these random runs.
401
+
402
+ Table 7: We show the results of 5 random seeds for methods. Here we report the top-1 accuracy after attacking (the lower, the better). The generator $\mathcal { G } _ { \theta }$ is trained against VGG-16 and adversarial examples are within the perturbation budget of $\ell _ { \infty } \leq 1 0$ .
403
+
404
+ <table><tr><td></td><td></td><td>CIFAR-10</td><td>CIFAR-100</td><td>STL-10</td><td>SVHN</td><td>CUB-200-2011 (SENet-154)</td><td>Stanford Cars (SENet-154)</td><td>FGVC Aircraft (SENet-154)</td><td>ImageNet (Res-152)</td></tr><tr><td rowspan="7">BIA</td><td>Paper report (Table2&amp;3&amp;4)</td><td>57.38</td><td>22.47</td><td>69.45</td><td>90.44</td><td>52.99</td><td>69.90</td><td>60.31</td><td>42.98</td></tr><tr><td rowspan="5">Random runs</td><td>56.75</td><td>21.86</td><td>69.61</td><td>90.48</td><td>52.47</td><td>68.13</td><td>61.45</td><td>44.04</td></tr><tr><td>57.31</td><td>22.32</td><td>69.83</td><td>90.35</td><td>52.04</td><td>69.48</td><td>57.37</td><td>41.67</td></tr><tr><td>57.13</td><td>22.82</td><td>70.06</td><td>90.01</td><td>53.27</td><td>69.74</td><td>58.54</td><td>41.02</td></tr><tr><td>57.03</td><td>22.38</td><td>70.05</td><td>90.43</td><td>53.04</td><td>71.91</td><td>62.02</td><td>43.09</td></tr><tr><td>57.36</td><td>22.50</td><td>69.55</td><td>89.78</td><td>51.48</td><td>68.15</td><td>58.36</td><td>42.00</td></tr><tr><td>Paper report</td><td>57.16 ± 0.24</td><td>22.39 ± 0.31</td><td>69.76±0.26</td><td>90.25±0.29</td><td>52.55 ± 0.69</td><td>69.55 ± 1.39</td><td>59.68 ± 1.86</td><td>42.47 ± 1.10</td></tr><tr><td rowspan="7">BIA+RN</td><td rowspan="5">(Table2&amp;3&amp;4)</td><td>52.81</td><td>20.82</td><td>67.55</td><td>88.03</td><td>46.15</td><td>62.64</td><td>52.54</td><td>31.80</td></tr><tr><td>52.56</td><td>21.12</td><td>66.75</td><td>88.63</td><td>44.84</td><td>63.18</td><td>51.55</td><td>30.71</td></tr><tr><td>52.63</td><td>21.43</td><td>67.24</td><td>87.93</td><td>48.38</td><td>63.4</td><td>55.09</td><td>33.76</td></tr><tr><td>52.29</td><td>21.42</td><td>67.3</td><td>88.64</td><td>45.41</td><td>63.2</td><td>52.99</td><td>31.8</td></tr><tr><td>52.60</td><td>21.68 21.66</td><td>67.21</td><td>87.69</td><td>48.88</td><td>63.98</td><td>52.69</td><td>29.56</td></tr><tr><td>53.41 52.70±0.42</td><td></td><td>67.00</td><td>88.40</td><td>49.01</td><td>64.16</td><td>55.96</td><td>30.96</td></tr><tr><td rowspan="7">BIA+DA</td><td>Paper report (Table2&amp;3&amp;4)</td><td></td><td>21.46 ± 0.23</td><td>67.10± 0.23 70.00</td><td>88.26 ± 0.43 91.76</td><td>47.30 ± 2.01 40.27</td><td>63.58 ± 0.46 59.48</td><td>53.66 ± 1.81</td><td>31.36 ± 1.56</td></tr><tr><td></td><td>55.16</td><td>21.71</td><td></td><td></td><td></td><td></td><td>47.91</td><td>36.43</td></tr><tr><td rowspan="5">Random runs</td><td>55.05</td><td>21.8</td><td>69.93</td><td>91.43</td><td>41.01</td><td>57.70</td><td>48.15</td><td>35.81</td></tr><tr><td>54.47</td><td>21.34</td><td>70.05</td><td>91.5</td><td>39.96</td><td>57.98</td><td>48.30</td><td>35.23</td></tr><tr><td>55.30</td><td>21.37</td><td>69.79</td><td>92.15</td><td>41.89</td><td>58.65</td><td>48.78</td><td>36.73</td></tr><tr><td>55.15</td><td>21.31</td><td>70.05</td><td>92.18</td><td>40.73</td><td>59.15</td><td>49.08</td><td>36.09</td></tr><tr><td>54.52</td><td>21.36</td><td>69.71</td><td>92.04</td><td>41.92</td><td>58.57</td><td>49.02</td><td>37.67</td></tr><tr><td>Paper report</td><td>Result 54.90 ± 0.38</td><td>21.44 ± 0.20</td><td>69.91 ± 0.15</td><td>91.86 ± 0.37</td><td>41.10 ± 0.83</td><td>58.41 ± 0.57</td><td>48.67 ± 0.42</td><td>36.31 ± 0.93</td></tr><tr><td rowspan="7">BIA+DA+RN</td><td>(Table 2&amp;3&amp;4)</td><td>50.29</td><td>20.03</td><td>67.51</td><td>90.4</td><td>40.46</td><td>57.26</td><td>37.01</td><td>24.91</td></tr><tr><td rowspan="5">Random runs</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>51.35</td><td>20.18 20.17</td><td>67.53</td><td>91.34</td><td>43.56 43.03</td><td>58.29 58.4</td><td>36.11 38.07</td><td>22.25 23.83</td></tr><tr><td>50.49 50.64</td><td>20.27</td><td>67.5 67.64</td><td>90.95 90.56</td><td>41.18</td><td>56.46</td><td>37.05</td><td>26.07</td></tr><tr><td>50.72</td><td>20.48</td><td>67.10</td><td>90.65</td><td>39.11</td><td>55.69</td><td>36.00</td><td>24.31</td></tr><tr><td>50.49</td><td>20.09</td><td>67.15</td><td>90.77</td><td>38.78</td><td>55.81</td><td>37.38</td><td>25.27</td></tr><tr><td>Result</td><td></td><td>50.74±0.36 20.24±0.15 67.38±0.24 90.85± 0.31</td><td></td><td></td><td>41.13 ± 2.19</td><td>56.93 ± 1.33</td><td>36.92 ± 0.87</td><td>24.35± 1.46</td></tr></table>
405
+
406
+ A.8 EFFECTS OF $\mathcal { R N }$ AND $\mathcal { D A }$ ON COARSE-GRAINED AND FINE-GRAINED TASKS
407
+
408
+ From Table 2 and Table 3, we observe that $\mathcal { R N }$ module is more effective than $\mathcal { D A }$ module for coarse-grained models, but not as well as $\mathcal { D A }$ module for fine-grained models. There may be two reasons:
409
+
410
+ On the one hand, the default normalization of coarse-grained classification models is different from ImageNet and fine-grained classification models. Specifically, coarse-grained classification models use mean $= [ 0 . 5 , 0 . 5 , 0 . 5 ]$ and $\mathrm { s t d } = [ 0 . 5 , 0 . 5 , 0 . 5 ]$ , but ImageNet and and fine-grained classification models use mean $= [ 0 . 4 8 5 , 0 . 4 5 6 , 0 . 4 0 6 ]$ and $\mathrm { s t d } = [ 0 . 2 2 9 , 0 . 2 2 4 , 0 . 2 2 5 ]$ ; Therefore, using $\mathcal { R N }$ module can narrow normalization gap between ImageNet and coarse-grained domains.
411
+
412
+ On the other hand, the resolution of coarse-grained domains such as CIFAR-10 and CIFAR-100 is much lower than the ImageNet domain and fine-grained domains. Therefore, the intermediate features of images from coarse-grained domains are more coarse than those from ImageNet and fine-grained domains, which may enlarge the gap between ImageNet and coarse-grained domains.
parse/dev/QkRV50TZyP/QkRV50TZyP_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/QkRV50TZyP/QkRV50TZyP_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/QkRV50TZyP/QkRV50TZyP_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/Qy1D9JyMBg0/Qy1D9JyMBg0_content_list.json ADDED
@@ -0,0 +1,1506 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Multimodal Contrastive Learning with LIMoE: the Language-Image Mixture of Experts ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 214,
8
+ 122,
9
+ 789,
10
+ 172
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Basil Mustafa∗, Carlos Riquelme\\*, Joan Puigcerver\\*, Rodolphe Jenatton, Neil Houlsby Google Brain {basilm, rikel, jpuigcerver, rjenatton, neilhoulsby}@google.com ",
17
+ "bbox": [
18
+ 199,
19
+ 224,
20
+ 797,
21
+ 268
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Abstract ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 462,
31
+ 303,
32
+ 535,
33
+ 320
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Large sparsely-activated models have obtained excellent performance in multiple domains. However, such models are typically trained on a single modality at a time. We present the Language-Image MoE, LIMoE, a sparse mixture of experts model capable of multimodal learning. LIMoE accepts both images and text simultaneously, while being trained using a contrastive loss. MoEs are a natural fit for a multimodal backbone, since expert layers can learn an appropriate partitioning of modalities. However, new challenges arise; in particular, training stability and balanced expert utilization, for which we propose an entropy-based regularization scheme. Across multiple scales, we demonstrate remarkable performance improvement over dense models of equivalent computational cost. LIMoE-L/16 trained comparably to CLIP-L/14 achieves $7 8 . 6 \\%$ zero-shot ImageNet accuracy (vs. $7 6 . 2 \\%$ ), and when further scaled to H/14 (with additional data) it achieves $8 4 . 1 \\%$ , comparable to state-of-the-art methods which use larger custom per-modality backbones and pre-training schemes. We analyse the quantitative and qualitative behavior of LIMoE, and demonstrate phenomena such as differing treatment of the modalities and the organic emergence of modality-specific experts. ",
40
+ "bbox": [
41
+ 233,
42
+ 334,
43
+ 766,
44
+ 554
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 Introduction ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 174,
54
+ 579,
55
+ 310,
56
+ 597
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Sparsely activated mixture of expert (MoE) models have recently been used with great effect to scale up both vision [1, 2] and text models [3, 4]. The primary motivation for using MoEs is to scale model parameters while keeping compute costs under control. These models however have other benefits; for example, the sparsity protects against catastrophic forgetting in continual learning [5] and can improve performance for multitask learning [6] by offering a convenient inductive bias. ",
63
+ "bbox": [
64
+ 176,
65
+ 611,
66
+ 825,
67
+ 680
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Given success in each individual domain, and the intuition that sparse models may better handle distinct tasks, we explore the application of MoEs to multimodal modelling. We take the first step in this direction, and study models that process both images and text. In particular, we train a single multimodal architecture that aligns image and text representations via contrastive learning [7]. ",
74
+ "bbox": [
75
+ 176,
76
+ 686,
77
+ 823,
78
+ 742
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "When using a setup proposed in prior unimodal models [8, 1], we find that feeding multiple modalities to a single architecture leads to new failure modes unique to MoEs. To overcome these, we present a set of entropy based regularisers which stabilise training and improve performance. We call the resulting model LIMoE (Language-Image MoE). ",
85
+ "bbox": [
86
+ 174,
87
+ 748,
88
+ 825,
89
+ 804
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "We train a range of LIMoE models which significantly outperform compute-matched dense baselines. We scale this up to a large 5.6B parameter LIMoE-H/14, which applies 675M parameters per token. When evaluated zero-shot [7] on ImageNet-2012 [9] it achieves an accuracy of $8 4 . 1 \\%$ , competitive with two-tower models that make use of modality-specific pre-training and feature extractors, and apply $3 { - } 4 \\mathbf { x }$ more parameters per token. ",
96
+ "bbox": [
97
+ 174,
98
+ 810,
99
+ 825,
100
+ 880
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "In summary, our contributions are as follows. ",
107
+ "bbox": [
108
+ 174,
109
+ 92,
110
+ 470,
111
+ 106
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "• We propose LIMoE, the first large-scale multimodal mixture of experts models. \n• We demonstrate in detail how prior approaches to regularising mixture of experts models fall short for multimodal learning, and propose a new entropy-based regularisation scheme to stabilise training. \nWe show that LIMoE generalises across architecture scales, with relative improvements in zero-shot ImageNet accuracy ranging from $7 \\%$ to $13 \\%$ over equivalent dense models. Scaled further, LIMoE-H/14 achieves $8 4 . 1 \\%$ zeroshot ImageNet accuracy, comparable to SOTA contrastive models with per-modality backbones and pre-training. \n• Lastly, we present ablations and analysis to understand the model’s behavior and our design decisions. ",
118
+ "bbox": [
119
+ 181,
120
+ 119,
121
+ 570,
122
+ 333
123
+ ],
124
+ "page_idx": 1
125
+ },
126
+ {
127
+ "type": "image",
128
+ "img_path": "images/8eeba2d62d78eb816871876d9a4ee56cfc52e295d2cdec1da69f33730a297a8e.jpg",
129
+ "image_caption": [
130
+ "Figure 1: LIMoE, a sparsely activated multimodal model, processes both images and texts, utilising conditional computation to allocate computations in a modality-agnostic fashion. "
131
+ ],
132
+ "image_footnote": [],
133
+ "bbox": [
134
+ 589,
135
+ 37,
136
+ 830,
137
+ 314
138
+ ],
139
+ "page_idx": 1
140
+ },
141
+ {
142
+ "type": "text",
143
+ "text": "2 Multimodal Mixture of Experts ",
144
+ "text_level": 1,
145
+ "bbox": [
146
+ 174,
147
+ 353,
148
+ 468,
149
+ 371
150
+ ],
151
+ "page_idx": 1
152
+ },
153
+ {
154
+ "type": "text",
155
+ "text": "Multimodal contrastive learning typically works with independent per-modality encodings [7, 10]. That is, separate models $f _ { m }$ are trained to provide a final representation for every input from the corresponding modality, $m$ . In the case of some image and text inputs, i and t, we have $\\mathbf { z _ { i } } = f _ { \\mathrm { i m a g e } } ( \\mathbf { i } )$ and ${ \\bf z } _ { \\bf t } = f _ { \\mathrm { t e x t } } ( { \\bf t } )$ . For contrastive learning with images and text, this approach results in a “two-tower” architecture, one for each modality. We study a one-tower setup instead, where a single model is shared for all modalities, as shown in Figure 1. The one-tower design offers increased generality and scalability, and the potential for cross-modal and cross-task knowledge transfer. We next describe the LIMoE architecture and training routine. ",
156
+ "bbox": [
157
+ 173,
158
+ 386,
159
+ 570,
160
+ 400
161
+ ],
162
+ "page_idx": 1
163
+ },
164
+ {
165
+ "type": "text",
166
+ "text": "",
167
+ "bbox": [
168
+ 173,
169
+ 398,
170
+ 825,
171
+ 497
172
+ ],
173
+ "page_idx": 1
174
+ },
175
+ {
176
+ "type": "text",
177
+ "text": "2.1 Multimodal contrastive learning ",
178
+ "text_level": 1,
179
+ "bbox": [
180
+ 174,
181
+ 513,
182
+ 439,
183
+ 530
184
+ ],
185
+ "page_idx": 1
186
+ },
187
+ {
188
+ "type": "text",
189
+ "text": "Given $n$ pairs of images and text captions $\\{ ( \\mathbf { i } _ { j } , \\mathbf { t } _ { j } ) \\} _ { j = 1 } ^ { n }$ , the model learns representations $\\mathcal { Z } _ { n } = \\{ ( \\mathbf { z _ { i } } _ { j } , \\mathbf { z _ { t } } _ { j } ) \\} _ { j = 1 } ^ { n }$ such that those corresponding to paired inputs are closer in feature space than those of unpaired inputs. The contrastive training objective [7, 11], with learned temperature $T$ , is: ",
190
+ "bbox": [
191
+ 176,
192
+ 539,
193
+ 825,
194
+ 584
195
+ ],
196
+ "page_idx": 1
197
+ },
198
+ {
199
+ "type": "equation",
200
+ "img_path": "images/0cb8c134d67481dd949d36ca01df33d630637575d17a0efa1cdb9ecf8fbd23f7.jpg",
201
+ "text": "$$\n\\mathcal { L } _ { j } ( \\mathcal { Z } _ { n } ) = - \\frac { 1 } { 2 } \\log \\frac { e ^ { \\langle \\mathbf { z _ { i _ { j } } } , \\mathbf { z _ { t _ { j } } } \\rangle / T } } { \\sum _ { k = 1 } ^ { n } e ^ { \\langle \\mathbf { z _ { i _ { j } } } , \\mathbf { z _ { t _ { k } } } \\rangle / T } } - \\frac { 1 } { 2 } \\log \\frac { e ^ { \\langle \\mathbf { z _ { i _ { j } } } , \\mathbf { z _ { t _ { j } } } \\rangle / T } } { \\sum _ { k = 1 } ^ { n } e ^ { \\langle \\mathbf { z _ { i _ { k } } } , \\mathbf { z _ { t _ { j } } } \\rangle / T } } .\n$$",
202
+ "text_format": "latex",
203
+ "bbox": [
204
+ 281,
205
+ 592,
206
+ 717,
207
+ 633
208
+ ],
209
+ "page_idx": 1
210
+ },
211
+ {
212
+ "type": "text",
213
+ "text": "2.2 The LIMoE Architecture ",
214
+ "text_level": 1,
215
+ "bbox": [
216
+ 174,
217
+ 678,
218
+ 379,
219
+ 693
220
+ ],
221
+ "page_idx": 1
222
+ },
223
+ {
224
+ "type": "text",
225
+ "text": "We use a single Transformer-based architecture for both image and text modalities. The model uses a linear layer per modality to project the intrinsic data dimension to the desired width: for text, a standard one-hot sentencepiece encoding and learned vocabulary [12], and for images, ViT-style patch-based embeddings [13]. Then all tokens are processed by a shared transformer encoder, which is not explicitly conditioned on modality. The token representations from the final layer are averagepooled to produce a single representation vector $\\mathbf { z } _ { m }$ for each modality. To compute the training loss in (1), the paired image and text representations are then linearly projected using per-modality weight matrices $\\mathbf { W } _ { m }$ ’s and ${ \\mathcal { L } } _ { j }$ is applied to $\\{ ( \\mathbf { W } _ { \\mathrm { i m a g e } } \\mathbf { \\Lambda } \\mathbf { z _ { i _ { k } } } , \\mathbf { W } _ { \\mathrm { t e x t } } \\mathbf { \\Lambda } \\mathbf { z _ { t _ { k } } } ) \\} _ { k = 1 } ^ { \\bar { n } }$ . ",
226
+ "bbox": [
227
+ 173,
228
+ 704,
229
+ 826,
230
+ 816
231
+ ],
232
+ "page_idx": 1
233
+ },
234
+ {
235
+ "type": "text",
236
+ "text": "This one-tower setup can be implemented with a standard dense Transformer (and we train many such models as baselines). Next, we describe how we introduce MoEs to this setup for LIMoE. ",
237
+ "bbox": [
238
+ 174,
239
+ 820,
240
+ 823,
241
+ 849
242
+ ],
243
+ "page_idx": 1
244
+ },
245
+ {
246
+ "type": "text",
247
+ "text": "Sparse MoE backbone: Sparse MoE layers are introduced following the architectural design of [1, 3]. The experts—parts of the model activated in an input-dependent fashion—are MLPs. LIMoE contains multiple MoE layers. In those layers, each token $\\mathbf { x } \\in \\mathbb { R } ^ { D }$ is processed sparsely by $K$ out of $E$ available experts. To choose which $K$ , a lightweight router predicts the gating weights per token: ",
248
+ "bbox": [
249
+ 174,
250
+ 854,
251
+ 825,
252
+ 911
253
+ ],
254
+ "page_idx": 1
255
+ },
256
+ {
257
+ "type": "image",
258
+ "img_path": "images/0dba0eb0d7f5394cb7861652bd1f0a30fe2c7060fad594e8077fcfc13bfc8625.jpg",
259
+ "image_caption": [
260
+ "Figure 2: Token routing examples for Coco. Image examples of how patches are routed at the MoE layer placed in the 18-th encoder block –i.e. middle of the network– for the LIMoE-H/14 model. "
261
+ ],
262
+ "image_footnote": [],
263
+ "bbox": [
264
+ 181,
265
+ 95,
266
+ 823,
267
+ 290
268
+ ],
269
+ "page_idx": 2
270
+ },
271
+ {
272
+ "type": "text",
273
+ "text": "$g ( \\mathbf { x } ) = \\mathsf { s o f t m a x } ( \\mathbf { W } _ { g } \\mathbf { x } ) \\in \\mathbb { R } ^ { E }$ with learned $\\mathbf { W } _ { g } \\in \\mathbb { R } ^ { D \\times E }$ . The outputs of the $K$ activated experts are linearly combined according to the gating weights: $\\begin{array} { r } { \\mathtt { M o E } ( \\mathbf { x } ) = \\sum _ { e = 1 } ^ { K } g ( \\mathbf { x } ) _ { e } \\cdot \\mathtt { M L P } _ { e } ( \\mathbf { x } ) . } \\end{array}$ . ",
274
+ "bbox": [
275
+ 173,
276
+ 359,
277
+ 823,
278
+ 395
279
+ ],
280
+ "page_idx": 2
281
+ },
282
+ {
283
+ "type": "text",
284
+ "text": "Note that, for computational efficiency and implementation constraints, experts have a fixed buffer capacity. The number of tokens each expert can process is fixed in advance, and typically assumes that tokens are roughly balanced across experts. If capacity is exceeded, some tokens are “dropped”; they are not processed by the expert, and the expert output is all zeros for those tokens. The rate at which tokens are successfully processed (that is, not dropped) is referred to as the “success rate”. It is an important indicator of healthy and balanced routing and often indicative of training stability. ",
285
+ "bbox": [
286
+ 174,
287
+ 400,
288
+ 825,
289
+ 483
290
+ ],
291
+ "page_idx": 2
292
+ },
293
+ {
294
+ "type": "text",
295
+ "text": "We discovered that routing with tokens from multiple modalities introduces new failure modes; in the next sections we demonstrate this phenomenon, and describe our techniques to address it. ",
296
+ "bbox": [
297
+ 173,
298
+ 489,
299
+ 823,
300
+ 517
301
+ ],
302
+ "page_idx": 2
303
+ },
304
+ {
305
+ "type": "text",
306
+ "text": "2.2.1 Challenges for multimodal MoEs ",
307
+ "text_level": 1,
308
+ "bbox": [
309
+ 176,
310
+ 539,
311
+ 455,
312
+ 554
313
+ ],
314
+ "page_idx": 2
315
+ },
316
+ {
317
+ "type": "text",
318
+ "text": "As mentioned, experts have a fixed buffer capacity. Without intervention, Top- $K$ MoEs tend to “collapse”, thus using only one expert. This causes most tokens to be dropped and leads to poor performance [14]. Prior works therefore use auxiliary losses to encourage balanced routing [1, 3, 8]. ",
319
+ "bbox": [
320
+ 174,
321
+ 565,
322
+ 825,
323
+ 608
324
+ ],
325
+ "page_idx": 2
326
+ },
327
+ {
328
+ "type": "text",
329
+ "text": "In multimodal settings, new challenges arise; one is modality misbalance. In realistic setups, there will likely be more of one data type than another. Accordingly, we do not assume or enforce balanced data across modalities, and our experiments have $3 - 1 7 \\times$ more image tokens than text tokens. ",
330
+ "bbox": [
331
+ 176,
332
+ 614,
333
+ 823,
334
+ 656
335
+ ],
336
+ "page_idx": 2
337
+ },
338
+ {
339
+ "type": "text",
340
+ "text": "Modality-specific experts tend to emerge naturally. In this imbalanced context, this leads to a scenario where all of the tokens from the minority modality get assigned to a single expert, which runs out of capacity. On a global level, routing still appears balanced: tokens from the majority modality are nicely distributed across experts, thereby satisfying modality-agnostic auxiliary losses. For example, in our standard B/16 setup, the router can optimize the importance loss [14] to within $0 . 5 \\%$ of its minimum value by perfectly balancing image tokens but dropping all text tokens. This however leads to unstable training and unperforming models. ",
341
+ "bbox": [
342
+ 174,
343
+ 662,
344
+ 825,
345
+ 758
346
+ ],
347
+ "page_idx": 2
348
+ },
349
+ {
350
+ "type": "text",
351
+ "text": "2.2.2 Auxiliary losses ",
352
+ "text_level": 1,
353
+ "bbox": [
354
+ 174,
355
+ 780,
356
+ 333,
357
+ 795
358
+ ],
359
+ "page_idx": 2
360
+ },
361
+ {
362
+ "type": "text",
363
+ "text": "We refer to auxiliary losses used in V-MoE [1] as the classic auxiliary losses. We find that they do not yield stable and performant multimodal MoE models. Therefore, we introduce two new losses: the local entropy loss and the global entropy loss, which are applied on a per-modality basis. We combine these losses with the classic losses; see Appendix B for a summary of all auxiliary losses. ",
364
+ "bbox": [
365
+ 174,
366
+ 806,
367
+ 825,
368
+ 863
369
+ ],
370
+ "page_idx": 2
371
+ },
372
+ {
373
+ "type": "text",
374
+ "text": "Definition. In each MoE layer, for each modality $m$ , the router computes a gating matrix ${ \\bf G } _ { m } \\in { \\bf \\Psi }$ $\\mathbb { R } ^ { n _ { m } \\times E }$ . Each row of $\\mathbf { G } _ { m }$ represents the probability distribution over $E$ experts for one of the $n _ { m }$ tokens of that modality in the batch. For a token $\\mathbf { x }$ that corresponding row is $\\ L _ { j _ { m } } ( \\mathbf { e x p e r t s } | \\mathbf { x } ) \\in \\mathbb { R } ^ { E }$ ; ",
375
+ "bbox": [
376
+ 176,
377
+ 869,
378
+ 825,
379
+ 911
380
+ ],
381
+ "page_idx": 2
382
+ },
383
+ {
384
+ "type": "text",
385
+ "text": "this later dictates which experts process $\\mathbf { x }$ . The local and global entropy losses are defined by: ",
386
+ "bbox": [
387
+ 168,
388
+ 90,
389
+ 789,
390
+ 107
391
+ ],
392
+ "page_idx": 3
393
+ },
394
+ {
395
+ "type": "equation",
396
+ "img_path": "images/ca8302d1e894cd6159de03f2d0169479f23338f2bfe1e5eb9af7b60389be835d.jpg",
397
+ "text": "$$\n\\Omega _ { \\mathrm { l o c a l } } ( \\mathbf { G } _ { m } ) : = \\frac { 1 } { n _ { m } } \\sum _ { i = 1 } ^ { n _ { m } } \\mathcal { H } ( p _ { m } ( \\boldsymbol { \\mathrm { e x p e r t s } } | \\mathbf { x } _ { i } ) ) \\mathrm { a n d } \\Omega _ { \\mathrm { g l o b a l } } ( \\mathbf { G } _ { m } ) : = - \\mathcal { H } ( \\tilde { p } _ { m } ( \\boldsymbol { \\mathrm { e x p e r t s } } ) ) ,\n$$",
398
+ "text_format": "latex",
399
+ "bbox": [
400
+ 209,
401
+ 117,
402
+ 781,
403
+ 160
404
+ ],
405
+ "page_idx": 3
406
+ },
407
+ {
408
+ "type": "text",
409
+ "text": "where $\\begin{array} { r } { \\tilde { p } _ { m } ( \\boldsymbol { \\mathbf { e x p e r t s } } ) = \\frac { 1 } { n _ { m } } \\sum _ { i = 1 } ^ { n _ { m } } p _ { m } ( \\boldsymbol { \\mathbf { e x p e r t s } } | \\boldsymbol { \\mathbf { x } } _ { i } ) } \\end{array}$ is the expert probability distribution averaged over the tokens and $\\begin{array} { r } { \\mathcal { H } ( p ) = - \\sum _ { e = 1 } ^ { E } p _ { e } \\log ( p _ { e } ) } \\end{array}$ denotes the entropy. Note that $\\widetilde { p } _ { m } ( \\mathrm { e x p e r t s } ) \\approx$ $p _ { m }$ (experts) since we approximate the true marginal from the tokens in the batch. We use the terminology local vs. global to emphasise the fact that $\\Omega _ { \\mathrm { l o c a l } }$ applies the entropy locally for each token while $\\Omega _ { \\mathrm { g l o b a l } }$ applies the entropy globally after having marginalized out the tokens. ",
410
+ "bbox": [
411
+ 173,
412
+ 171,
413
+ 825,
414
+ 248
415
+ ],
416
+ "page_idx": 3
417
+ },
418
+ {
419
+ "type": "text",
420
+ "text": "Effects of the losses. Figure 3 shows why these losses are necessary. With the default losses, modality-specific experts naturally emerge, but the router often changes its preference. This results in unstable training and poor success rate, particularly for the text modality. The local entropy loss encourages concentrated router weights $( p _ { \\mathrm { t e x t } } ( \\mathbf { e x p e r t s } | \\mathbf { x } _ { i } )$ ’s have low entropy), but at the expense of the diversity of the text experts: the same expert is used for all text tokens (the marginal $\\tilde { p } _ { \\mathrm { t e x t } } ( \\mathbf { e x p e r t s } )$ also has low entropy), leading to dropping. In this setup, many layers have poor text success rates. ",
421
+ "bbox": [
422
+ 174,
423
+ 253,
424
+ 825,
425
+ 338
426
+ ],
427
+ "page_idx": 3
428
+ },
429
+ {
430
+ "type": "text",
431
+ "text": "To address this, $\\Omega _ { \\mathrm { g l o b a l } }$ encourages maximization of the marginal entropy, thus pushing $\\tilde { p } _ { \\mathrm { t e x t } } ( \\mathbf { e x p e r t s } )$ towards a more uniform expert distribution. The result is diverse expert usage, stable and confident routing, and high success rates. These are consequently the most performant models. ",
432
+ "bbox": [
433
+ 174,
434
+ 343,
435
+ 825,
436
+ 386
437
+ ],
438
+ "page_idx": 3
439
+ },
440
+ {
441
+ "type": "text",
442
+ "text": "Intuitively, it is desirable for text tokens to use multiple experts, but not all of them. In order to allow flexibility, we threshold the global entropy loss as $\\Omega _ { \\mathrm { g l o b a l } } ^ { \\tau } ( \\mathbf { G } _ { m } ) = \\operatorname* { m a x } \\{ 0 , \\tau + \\Omega ^ { \\mathrm { g l o b a l } } ( \\mathbf { G } _ { m } ) \\}$ , such that the model is encouraged to have a certain minimum entropy, but after exceeding that, the loss is not applied. This avoids distributional collapse but does not apply overly restrictive priors on the routing distribution, as there are many optimal solutions. This can be thought of as a “soft minimum” $S$ . With $\\tau = \\log ( S )$ , the model must use at least $S$ experts to minimize the loss (either a uniform distribution across $S$ experts -with entropy $\\log ( S ) .$ -, or a non-uniform distribution using more than $S$ ). Figure 3b shows the latter occurs; the empirical effect of these thresholds is analysed in Section 4.1. ",
443
+ "bbox": [
444
+ 173,
445
+ 391,
446
+ 826,
447
+ 503
448
+ ],
449
+ "page_idx": 3
450
+ },
451
+ {
452
+ "type": "image",
453
+ "img_path": "images/b2a40b88d4645387584f6c2d2126829a0805542cea992fdb2dcd26d91f2b0b7d.jpg",
454
+ "image_caption": [
455
+ "(b) Analysing routing behaviour of the auxiliary losses. First column: Average success rate of image routing in layers 1/7/11. Second column: Same, for text. Third column: In some experts of layer 5, what fraction of all text tokens go to those experts ",
456
+ "Figure 3: What necessitates entropy losses? Classic refers to the standard formulation (importance $^ +$ load losses [1]). We add the local entropy loss to text tokens (middle row), followed by the global entropy loss (bottom row). Left: The “classic” setting is low-performing and unstable. Right: Analyzing the entropies shows us why: Without the local loss, the model is prone to unstable changes in expert preferences (C1), and routing success rates are low (A1, B1). The local loss fixes this but causes distributional collapse for one modality (C2), with all text tokens going to one expert (expert 11); this causes even poorer text success rates (B2). This is addressed by the global loss, which has stable expert allocations (C3) and consistently high success rates (A3, B3). "
457
+ ],
458
+ "image_footnote": [],
459
+ "bbox": [
460
+ 133,
461
+ 526,
462
+ 861,
463
+ 777
464
+ ],
465
+ "page_idx": 3
466
+ },
467
+ {
468
+ "type": "text",
469
+ "text": "Connection with mutual information. The sum $\\Omega _ { \\mathrm { l o c a l } } ( { \\bf G } _ { m } ) + \\Omega _ { \\mathrm { g l o b a l } } ( { \\bf G } _ { m } )$ corresponds to the (negative) mutual information [15] between experts and tokens, conditioned on the modality $m$ , which we write $- \\mathbf { M } \\mathbf { I } _ { m } \\big ( \\mathbf { e x p e r t s ; x } \\big )$ . For each modality taken separately, we are effectively encouraging the knowledge of the token representation to reduce the uncertainty about the experts selection. We also tried other variants of the losses which exploit this connection, such as the mutual information between the experts and modalities, $- \\mathbf { M I } ( \\mathbf { e x p e r t s } ; m )$ , obtained by first marginalizing the tokens. ",
470
+ "bbox": [
471
+ 174,
472
+ 90,
473
+ 825,
474
+ 174
475
+ ],
476
+ "page_idx": 4
477
+ },
478
+ {
479
+ "type": "text",
480
+ "text": "2.2.3 Priority routing ",
481
+ "text_level": 1,
482
+ "bbox": [
483
+ 174,
484
+ 190,
485
+ 336,
486
+ 205
487
+ ],
488
+ "page_idx": 4
489
+ },
490
+ {
491
+ "type": "text",
492
+ "text": "With Top- $K$ routing, some token dropping is virtually inevitable. Batch Priority Routing (BPR) [1] actively decides which tokens to skip based on their routing weights. It assumes that tokens with a large routing weight are likely to be informative, and should be favored. BPR was mostly used at inference time in [1], allowing for smaller expert capacity buffers. In this setup, one must take care not to systematically favor one modality over the other, for instance, by determining which token to drop based on their rank in the batch, which are usually grouped according to the token modality. BPR provides an essential stabilisation effect during training (Figure 6); we show that it does not trivially rank one modality over another, and it cannot be replaced by other methods of re-ordering the batch. In the appendix we further show how routing priorities compare across text and images. ",
493
+ "bbox": [
494
+ 174,
495
+ 213,
496
+ 825,
497
+ 339
498
+ ],
499
+ "page_idx": 4
500
+ },
501
+ {
502
+ "type": "text",
503
+ "text": "3 Experiments ",
504
+ "text_level": 1,
505
+ "bbox": [
506
+ 174,
507
+ 358,
508
+ 312,
509
+ 376
510
+ ],
511
+ "page_idx": 4
512
+ },
513
+ {
514
+ "type": "text",
515
+ "text": "We study LIMoE in the context of multimodal contrastive learning. We first perform a controlled comparison of LIMoE to an equivalent “standard” dense Transformer, across a range of model sizes. We then show that when scaled up LIMoE can reach a high level of performance. Finally, we ablate the various design decisions leading to LIMoE in Section 4. ",
516
+ "bbox": [
517
+ 174,
518
+ 390,
519
+ 825,
520
+ 445
521
+ ],
522
+ "page_idx": 4
523
+ },
524
+ {
525
+ "type": "text",
526
+ "text": "Training data. By default, all models are trained on paired image-text data used in [16], consisting of 3.6B images and alt-texts scraped from the web. For large LIMoE-H/14 experiment, we also co-train with JFT-4B [17]. We construct artificial text captions from JFT by comma-delimited concatenation of the class names [18]. Appendix A contains full details of our training setup. ",
527
+ "bbox": [
528
+ 174,
529
+ 452,
530
+ 823,
531
+ 507
532
+ ],
533
+ "page_idx": 4
534
+ },
535
+ {
536
+ "type": "text",
537
+ "text": "Evaluation. Our main evaluation is “zero-shot”: the model uses its text representations of the classes to make predictions on a new task without extra training data [19, 7]. We focus on image classification accuracy on ImageNet [9] and cross-modal retrieval on MS-COCO [20], following the protocol in [16]. We also evaluate LIMoE’s image representations via a linear adaptation protocol [13], and report 10-shot accuracy on ImageNet accuracy accordingly. Where ranges are given, they report $9 5 \\%$ confidence intervals across three trials. ",
538
+ "bbox": [
539
+ 174,
540
+ 513,
541
+ 825,
542
+ 597
543
+ ],
544
+ "page_idx": 4
545
+ },
546
+ {
547
+ "type": "text",
548
+ "text": "3.1 Controlled study across scales ",
549
+ "text_level": 1,
550
+ "bbox": [
551
+ 176,
552
+ 614,
553
+ 419,
554
+ 628
555
+ ],
556
+ "page_idx": 4
557
+ },
558
+ {
559
+ "type": "text",
560
+ "text": "We train a range of LIMoE models at batch size 16k for 781k steps. This matches the number of training examples used for CLIP [7]. Due to use of different training data and additional tricks, a direct comparison is difficult; we therefore train dense one-tower models as baselines. All models activate $k = 1$ experts per token, similar to Switch Transformer [8]. ",
561
+ "bbox": [
562
+ 174,
563
+ 640,
564
+ 825,
565
+ 695
566
+ ],
567
+ "page_idx": 4
568
+ },
569
+ {
570
+ "type": "text",
571
+ "text": "Figure 4 shows the performance of each model (dense and sparse) against forward-pass FLOPs (for step times and further discussion on compute costs, see Appendix D.2.). The cost-performance Pareto frontier for LIMoE dominates the dense models by a wide margin, indicating that LIMoE offers strong improvements across all scales from S/32 , up to L/16. The effect is particularly large on zero-shot and 10-shot ImageNet classification, with absolute performance improvements of $1 0 . 1 \\%$ and $12 . 2 \\%$ on average. For text-to-image retrieval on COCO, LIMoE offers a strong boost at small scales, while at larger scales the gains are more modest but still significant. ",
572
+ "bbox": [
573
+ 174,
574
+ 702,
575
+ 825,
576
+ 799
577
+ ],
578
+ "page_idx": 4
579
+ },
580
+ {
581
+ "type": "text",
582
+ "text": "3.2 Scaling up LIMoE ",
583
+ "text_level": 1,
584
+ "bbox": [
585
+ 174,
586
+ 816,
587
+ 333,
588
+ 832
589
+ ],
590
+ "page_idx": 4
591
+ },
592
+ {
593
+ "type": "text",
594
+ "text": "We increase the architecture size, training duration, and data size to assess the performance of LIMoE in the large-scale regime. In particular, we train a 32-layer LIMoE-H/14 with 12 expert layers; these are non-uniformly distributed, with 32 experts per layer, and $K = 1$ activated per token. It was trained at a batch size of 21k, introducing $2 5 \\%$ JFT-4B images [17] into each batch (with class names as texts). We average checkpoints towards the end of training [21]; refer to Appendix A.3 for details. ",
595
+ "bbox": [
596
+ 174,
597
+ 842,
598
+ 825,
599
+ 911
600
+ ],
601
+ "page_idx": 4
602
+ },
603
+ {
604
+ "type": "image",
605
+ "img_path": "images/d0d34beaf46f0869823a29e8690c67130cab31729b0bf0a2f5794a23881b3ac4.jpg",
606
+ "image_caption": [
607
+ "Figure 4: LIMoE scales well to large models, with consistent performance improvements. "
608
+ ],
609
+ "image_footnote": [],
610
+ "bbox": [
611
+ 179,
612
+ 92,
613
+ 818,
614
+ 250
615
+ ],
616
+ "page_idx": 5
617
+ },
618
+ {
619
+ "type": "text",
620
+ "text": "The model contains 5.6B parameters in total, but only applies 675M parameters per token. All routers combined account for less than $0 . 5 \\mathbf { M }$ parameters. Table 1 shows its performance alongside current state-of-the-art contrastive models. LIMoE achieves $8 4 . 1 \\%$ zero-shot ImageNet classification accuracy with a comparably modest architecture size and training counts. LIMoE is fully trained from scratch, without any pre-trained components, and is the first competitive model with a shared backbone. ",
621
+ "bbox": [
622
+ 173,
623
+ 301,
624
+ 825,
625
+ 371
626
+ ],
627
+ "page_idx": 5
628
+ },
629
+ {
630
+ "type": "text",
631
+ "text": "In light of its modality agnostic approach, this result is surprisingly strong. Large models handling dozens of distinct tasks are increasingly popular [22], but do not yet approach the state-of-the-art in these tasks. We believe the ability to build a generalist model with specialist components, which can decide how different modalities or tasks should interact, will be key to creating truly multimodal multitask models which excel at everything they do. LIMoE is a promising first step in that direction. ",
632
+ "bbox": [
633
+ 174,
634
+ 377,
635
+ 825,
636
+ 448
637
+ ],
638
+ "page_idx": 5
639
+ },
640
+ {
641
+ "type": "table",
642
+ "img_path": "images/8b1c5c57cf1302c8acb1442a3e7b387d2270dfc40e9e2c9f463c0b8ab95f4415.jpg",
643
+ "table_caption": [
644
+ "Table 1: Comparing state of the art zero-shot classification models. At a relatively modest scale, LIMoE-H/14 is comparable with the best two-tower models, and it is the first performant one-tower model at this scale. T- $\\mathbf { x }$ refers to a Transformer [23] with the equivalent parameters of ViT- $\\mathbf { x }$ [13]. "
645
+ ],
646
+ "table_footnote": [],
647
+ "table_body": "<table><tr><td>Key: Pretrained</td><td colspan=\"3\">Examplesseen duringpretraining</td><td>UsesFixRes[24]</td><td>3Other non-contrastivetrainingobjective</td><td></td><td></td><td></td><td></td></tr><tr><td></td><td colspan=\"2\">Architecture</td><td>Batch</td><td>Examples seen</td><td>Parameters</td><td colspan=\"4\">ImageNet top-1 % Test</td></tr><tr><td></td><td>Image</td><td>Text</td><td>size</td><td></td><td>per token</td><td></td><td>V2</td><td>R</td><td></td></tr><tr><td>COCA [25]</td><td>ViT-g</td><td>T-g</td><td>65k</td><td>32.8B</td><td>1.1B</td><td>86.3</td><td>80.7</td><td>96.5</td><td>90.2</td></tr><tr><td>BASIC[18]</td><td>CoAtNet-7*</td><td>T-H*</td><td>65k</td><td>19.7BPT +32.8B</td><td>1.5B</td><td>85.7</td><td>80.6</td><td>95.7</td><td>85.6</td></tr><tr><td>LIT[16]</td><td>ViT-g*</td><td>T-g</td><td>32k</td><td>25.8BPT + 18.2B</td><td>1.1B</td><td>84.5</td><td>78.7</td><td>93.9</td><td>79.4</td></tr><tr><td>ALIGN [10]</td><td>EffNet-L2</td><td>T-L*</td><td>16k</td><td>19.8B</td><td>~410M</td><td>76.4</td><td>70.1</td><td>92.2</td><td>75.8</td></tr><tr><td>CLIP [7]</td><td>ViT-L/14†</td><td>T-B</td><td>32k</td><td>12.8B</td><td>~ 200M</td><td>76.2</td><td>70.1</td><td>88.9</td><td>77.2</td></tr><tr><td>LIMoE</td><td colspan=\"2\">H/14</td><td>21k</td><td>23.3B</td><td>675M</td><td>84.1</td><td>77.7</td><td>94.9</td><td>78.7</td></tr></table>",
648
+ "bbox": [
649
+ 173,
650
+ 512,
651
+ 826,
652
+ 659
653
+ ],
654
+ "page_idx": 5
655
+ },
656
+ {
657
+ "type": "text",
658
+ "text": "4 Ablations ",
659
+ "text_level": 1,
660
+ "bbox": [
661
+ 174,
662
+ 684,
663
+ 285,
664
+ 702
665
+ ],
666
+ "page_idx": 5
667
+ },
668
+ {
669
+ "type": "text",
670
+ "text": "We use a smaller setup to study various aspects of LIMoE. We train B/16 models at batch size 8096 for 100,000 steps (see Appendix A.2 for further details). Table 2 shows the average over three trials of this setting alongside dense one-tower and two-tower baselines. LIMoE greatly outperforms both dense models on ImageNet 0- and 10-shot, while confidence intervals overlap for retrieval with two towers. The two-tower model is twice as large and expensive, and still falls behind the sparse one. ",
671
+ "bbox": [
672
+ 174,
673
+ 715,
674
+ 825,
675
+ 785
676
+ ],
677
+ "page_idx": 5
678
+ },
679
+ {
680
+ "type": "text",
681
+ "text": "4.1 Routing and auxiliary losses ",
682
+ "text_level": 1,
683
+ "bbox": [
684
+ 176,
685
+ 801,
686
+ 408,
687
+ 815
688
+ ],
689
+ "page_idx": 5
690
+ },
691
+ {
692
+ "type": "text",
693
+ "text": "Choice of auxiliary losses. With the introduction of the entropy based losses in addition to classic ones, there are 7 possible auxiliary losses. We aimed to find the simplest combination of these which obtains good performance. To study this, we performed a large sweep of auxiliary losses: for $N \\in [ 2 , \\ldots , 5 ]$ , we considered all $\\binom { 7 } { N }$ possible loss combinations. Table 3 shows, for each loss, the highest performing model with and without that loss. Some conclusions stand out: Both entropy losses are important for text, but for images, the global loss is not impactful and the local loss is harmful. The final combination of losses was chosen based on validation accuracy alongside qualitative observations around training stability and routing success rate. ",
694
+ "bbox": [
695
+ 174,
696
+ 825,
697
+ 825,
698
+ 911
699
+ ],
700
+ "page_idx": 5
701
+ },
702
+ {
703
+ "type": "table",
704
+ "img_path": "images/eebf53b815e680d748266e92f15c0d4f6866cd7df68f202903d49073cd9dbdde.jpg",
705
+ "table_caption": [
706
+ "Table 2: Baselines for ablations: B/16 with batch size 8096 trained for for 100,000 steps. 0shot and 10shot columns show accuracy $( \\% )$ , t2i and i2t show recall $@ 1$ $( \\% )$ . "
707
+ ],
708
+ "table_footnote": [],
709
+ "table_body": "<table><tr><td>Model</td><td>i1k Oshot</td><td>i1k 10shot</td><td>coco t2i</td><td></td><td>coco i2t</td></tr><tr><td>dense one-tower</td><td>49.8 50.4 49.2</td><td>43.8 44.3 43.3</td><td>23.7 24</td><td>23.4</td><td>36.7 38.9 34.6</td></tr><tr><td>dense two-tower</td><td>54.7 55.2 54.1</td><td>47.1 47.6 46.7</td><td>26.6 27.1 26.2</td><td></td><td>41.3 42.0 40.6</td></tr><tr><td>LIMoE</td><td>B71 56.9</td><td>58 50.5</td><td>25.6</td><td>28</td><td>39.7 42.2 37.1</td></tr></table>",
710
+ "bbox": [
711
+ 274,
712
+ 137,
713
+ 722,
714
+ 209
715
+ ],
716
+ "page_idx": 6
717
+ },
718
+ {
719
+ "type": "table",
720
+ "img_path": "images/f28ac8f31de0ecb3b355084931c2416f4ea183e2d2c456d350e5c751744dcc82.jpg",
721
+ "table_caption": [
722
+ "Table 3: Across 121 combinations, each row shows the best accuracy $( \\% )$ of all combinations that included the auxiliary loss $( \\checkmark )$ vs. those that did not $( { \\pmb x } )$ . Bold auxiliary losses indicate they are in LIMoE. Validation accuracy is the average contrastive accuracy in a minibatch of size 1024. "
723
+ ],
724
+ "table_footnote": [],
725
+ "table_body": "<table><tr><td></td><td colspan=\"2\">Validation</td><td colspan=\"2\">Oshot</td><td colspan=\"2\">10shot</td></tr><tr><td>Auxiliary loss</td><td>X</td><td>√</td><td>X</td><td>√</td><td>X</td><td>√</td></tr><tr><td>Importance</td><td>70.5</td><td>70.6</td><td>55.4</td><td>56.2</td><td>51.1</td><td>51.3</td></tr><tr><td>Load</td><td>70.3</td><td>70.6</td><td>56.2</td><td>55.7</td><td>51.3</td><td>51.1</td></tr><tr><td>Z-Loss</td><td>70.3</td><td>70.6</td><td>55.8</td><td>56.2</td><td>50.5</td><td>51.3</td></tr><tr><td>Global Ent Image</td><td>70.6</td><td>70.5</td><td>56.0</td><td>56.2</td><td>50.8</td><td>51.3</td></tr><tr><td>Global Ent Text</td><td>69.1</td><td>70.6</td><td>54.3</td><td>56.2</td><td>51.1</td><td>51.3</td></tr><tr><td>Local Ent Image</td><td>70.6</td><td>68.7</td><td>56.2</td><td>53.5</td><td>51.3</td><td>47.5</td></tr><tr><td>Local Ent Text</td><td>67.2</td><td>70.6</td><td>53.3</td><td>56.2</td><td>47.5</td><td>51.3</td></tr></table>",
726
+ "bbox": [
727
+ 269,
728
+ 282,
729
+ 725,
730
+ 424
731
+ ],
732
+ "page_idx": 6
733
+ },
734
+ {
735
+ "type": "text",
736
+ "text": "",
737
+ "bbox": [
738
+ 176,
739
+ 449,
740
+ 823,
741
+ 477
742
+ ],
743
+ "page_idx": 6
744
+ },
745
+ {
746
+ "type": "text",
747
+ "text": "Threshold for global entropy losses. In Section 2.2.2, we introduced a threshold $\\tau$ to encourage balanced expert distributions without forcing all modalities to use all experts. To understand the importance of this threshold, we sweep over it for both the image and text global entropy losses. Appendix B.2 contains a full analysis; the most important conclusions are: ",
748
+ "bbox": [
749
+ 173,
750
+ 483,
751
+ 825,
752
+ 540
753
+ ],
754
+ "page_idx": 6
755
+ },
756
+ {
757
+ "type": "text",
758
+ "text": "• $\\tau _ { \\mathrm { i m a g e } }$ did not affect the number of experts used for images, as global entropy was always high. Aside from these threshold experiments with very high $\\tau _ { \\mathrm { i m a g e } }$ , this loss is usually inactive. It was used in our main experiments, but can likely be removed in future work. • The threshold $\\tau _ { \\mathrm { t e x t } }$ behaved exactly as a soft minimum for text experts: Sweeping $\\tau _ { \\mathrm { t e x t } }$ , we typically observed approximately $S = e ^ { \\tau _ { \\mathrm { t e x t } } }$ text experts. • Performance is robust to different values of $\\tau _ { \\mathrm { t e x t } }$ , provided it is not too low. A low $\\tau _ { \\mathrm { t e x t } }$ can be useful to limit the number of text experts, for later pruning, see Appendix E.4. ",
759
+ "bbox": [
760
+ 173,
761
+ 550,
762
+ 826,
763
+ 659
764
+ ],
765
+ "page_idx": 6
766
+ },
767
+ {
768
+ "type": "text",
769
+ "text": "Mutual-information auxiliary loss. In Section 2.2.2, we discussed an alternative loss, namely −MI(experts; m), based on the mutual information between experts and modalities. While it has the advantage of merging the local and global entropy losses for both the text and image modalities into a single term, without threshold parameters, it leads to slightly worse results: in a comparable setup, it had $1 . 5 \\%$ and $0 . 1 \\%$ worse zero-shot and 10-shot performance compared to Table 2. ",
770
+ "bbox": [
771
+ 173,
772
+ 667,
773
+ 825,
774
+ 738
775
+ ],
776
+ "page_idx": 6
777
+ },
778
+ {
779
+ "type": "text",
780
+ "text": "The effect of modality balancing. Our models use a text sequence length of 16, but image sequence lengths from 49 to 400 (for these ablations, 196). ",
781
+ "bbox": [
782
+ 173,
783
+ 752,
784
+ 516,
785
+ 794
786
+ ],
787
+ "page_idx": 6
788
+ },
789
+ {
790
+ "type": "text",
791
+ "text": "Our ablations reveal that the entropy losses are most important when applied to the text tokens. This leads to a hypothesis that these are only necessary or useful in the imbalanced case. To test this, we vary the modality balance of LIMoE-B/16 by varying the patch size; this enables us to control the number of image tokens, and hence image:text balance, without changing the information content in the data. Figure 5 shows the results. First, we observe that, with entropy routing, a longer image sequence length is always better. This shows that entropy routing can effectively handle highly imbalanced setups, and mirrors the observation that for classical Vision Transformers: a longer sequence is better. Importantly, entropy routing is always far superior to the classical setup with growing gaps, even when the modalities are balanced 1:1 ( $L _ { \\mathrm { i m g } } = 1 6 $ ). This experiment also confirms the robustness of entropy routing to different setups. ",
792
+ "bbox": [
793
+ 174,
794
+ 800,
795
+ 517,
796
+ 911
797
+ ],
798
+ "page_idx": 6
799
+ },
800
+ {
801
+ "type": "image",
802
+ "img_path": "images/c8221e4e8f21d5d938c2021afc77bffbe44052e6a5771f002dfb281e1fdf415a.jpg",
803
+ "image_caption": [
804
+ "Figure 5: Entropy losses are not just addressing a modality imbalance. With different image:text balancing, including completely balanced, the entropy losses substantially improves over the classic setting. "
805
+ ],
806
+ "image_footnote": [],
807
+ "bbox": [
808
+ 532,
809
+ 742,
810
+ 818,
811
+ 893
812
+ ],
813
+ "page_idx": 6
814
+ },
815
+ {
816
+ "type": "text",
817
+ "text": "",
818
+ "bbox": [
819
+ 173,
820
+ 90,
821
+ 825,
822
+ 174
823
+ ],
824
+ "page_idx": 7
825
+ },
826
+ {
827
+ "type": "text",
828
+ "text": "Batch priority routing as a training stabilizer. Figure 6 shows the effect of BPR during training. BPR not only ameliorates against token dropping, but also improves training stability. Models with no dispatch order intervention (first-in-first-out) perform extremely poorly, whether we route images first or text first. These routers have low success rate. Randomly shuffling tokens (i.e. deciding which tokens to drop at random when an expert becomes full) partially ameliorates this, but its performance is still much worse than that of models trained with BPR. We further analyse BPR in Appendix F.5 and show that it does not simply rank one modality above another. ",
829
+ "bbox": [
830
+ 173,
831
+ 181,
832
+ 826,
833
+ 279
834
+ ],
835
+ "page_idx": 7
836
+ },
837
+ {
838
+ "type": "image",
839
+ "img_path": "images/f8731692c249ccf80dd2a2093e9d2bd9f03365dd66a90ed68048ba6eed1c733b.jpg",
840
+ "image_caption": [
841
+ "Figure 6: BPR stabilizies training and enables performant models; the first figure shows different performance metrics. The last two show success rates for the MoE router in Layer 9. "
842
+ ],
843
+ "image_footnote": [],
844
+ "bbox": [
845
+ 258,
846
+ 297,
847
+ 740,
848
+ 434
849
+ ],
850
+ "page_idx": 7
851
+ },
852
+ {
853
+ "type": "text",
854
+ "text": "4.2 Other ablations ",
855
+ "text_level": 1,
856
+ "bbox": [
857
+ 174,
858
+ 507,
859
+ 321,
860
+ 522
861
+ ],
862
+ "page_idx": 7
863
+ },
864
+ {
865
+ "type": "text",
866
+ "text": "We summarize our other ablations here due to space constraints; details can be found in Appendix E. ",
867
+ "bbox": [
868
+ 174,
869
+ 535,
870
+ 823,
871
+ 549
872
+ ],
873
+ "page_idx": 7
874
+ },
875
+ {
876
+ "type": "text",
877
+ "text": "Router structure (Appendix E.3). Our router is modality agnostic; we experiment with per-modality routers, and separate pools of per-modality experts. We find they all perform comparably to our generic, modality agnostic setup, but that separate pools of experts by design is more stable and does not require auxiliary losses for regularisation—while harder to scale to many modalities and tasks. ",
878
+ "bbox": [
879
+ 174,
880
+ 555,
881
+ 825,
882
+ 611
883
+ ],
884
+ "page_idx": 7
885
+ },
886
+ {
887
+ "type": "text",
888
+ "text": "Increasing selected experts per token $K$ ( Appendix E.1). We propose modifications to BPR and the local auxiliary loss to generalise to $K > 1$ ; by doing so we can steadily increase performance by increasing $K$ , e.g. from $5 5 . 5 \\%$ zero-shot accuracy with $K = 1$ to $6 1 . 0 \\%$ with $K = 5$ . ",
889
+ "bbox": [
890
+ 176,
891
+ 617,
892
+ 823,
893
+ 660
894
+ ],
895
+ "page_idx": 7
896
+ },
897
+ {
898
+ "type": "text",
899
+ "text": "Total number experts (Appendix E.2). We show that increasing the pool of available experts at fixed $K$ improves performance (unlike what was observed for vision-only tasks [1]). ",
900
+ "bbox": [
901
+ 173,
902
+ 665,
903
+ 823,
904
+ 694
905
+ ],
906
+ "page_idx": 7
907
+ },
908
+ {
909
+ "type": "text",
910
+ "text": "Expert pruning (Appendix E.4). We show using simple heuristics we can prune down to modalityspecific experts for unimodal forward passes, thus avoiding expert collapse under unimodal batches. ",
911
+ "bbox": [
912
+ 174,
913
+ 700,
914
+ 823,
915
+ 728
916
+ ],
917
+ "page_idx": 7
918
+ },
919
+ {
920
+ "type": "text",
921
+ "text": "Training on public data (Appendix E.6) The majority of LIMoE models were trained on proprietary data [16]. We show that LIMoE works similarly well on publically available data, retaining performance improvements against a comparable dense model. ",
922
+ "bbox": [
923
+ 174,
924
+ 734,
925
+ 825,
926
+ 776
927
+ ],
928
+ "page_idx": 7
929
+ },
930
+ {
931
+ "type": "text",
932
+ "text": "5 Model Analysis ",
933
+ "text_level": 1,
934
+ "bbox": [
935
+ 174,
936
+ 800,
937
+ 334,
938
+ 818
939
+ ],
940
+ "page_idx": 7
941
+ },
942
+ {
943
+ "type": "text",
944
+ "text": "In this section, we explore some of the internal workings of LIMoE. We use simple B/32 and B/16 models with 8 experts, and the large H/14 with 32. See Appendix F for further details and experiments. ",
945
+ "bbox": [
946
+ 174,
947
+ 834,
948
+ 825,
949
+ 863
950
+ ],
951
+ "page_idx": 7
952
+ },
953
+ {
954
+ "type": "text",
955
+ "text": "Multimodal experts arise (Appendix F.1). Aside from encouraging diversity, we do not explicitly enforce experts to specialize. Nonetheless, we observe the emergence of both modality-specific experts, and multimodal experts which process both images and texts (per-expert distributions in F.1). ",
956
+ "bbox": [
957
+ 174,
958
+ 868,
959
+ 825,
960
+ 911
961
+ ],
962
+ "page_idx": 7
963
+ },
964
+ {
965
+ "type": "text",
966
+ "text": "Qualitative analysis (Appendix F.2). We analyse some example data and show a clear emergence of semantically meaningful experts. With images for instance, some experts specialize on lower level features (colours, lines) while others on more complex features (faces and text), see Figure 2. ",
967
+ "bbox": [
968
+ 173,
969
+ 90,
970
+ 825,
971
+ 133
972
+ ],
973
+ "page_idx": 8
974
+ },
975
+ {
976
+ "type": "text",
977
+ "text": "BPR ranking (Appendix F.5). The local loss encourages high max-routing weights for text, and BPR ranks according to this. We show however that this does not mean text is always prioritised first: Especially in later layers, the model often prioritises important image patches over text. ",
978
+ "bbox": [
979
+ 174,
980
+ 140,
981
+ 823,
982
+ 181
983
+ ],
984
+ "page_idx": 8
985
+ },
986
+ {
987
+ "type": "text",
988
+ "text": "6 Related work ",
989
+ "text_level": 1,
990
+ "bbox": [
991
+ 174,
992
+ 203,
993
+ 316,
994
+ 219
995
+ ],
996
+ "page_idx": 8
997
+ },
998
+ {
999
+ "type": "text",
1000
+ "text": "Unimodal, task-specific neural networks have long been researched, with increasing convergence towards Transformer-based architectures [23, 26] for both NLP [27] and Computer Vision [13, 28, 29]. Multimodal models aim to process multiple types of data using a single neural network. ",
1001
+ "bbox": [
1002
+ 174,
1003
+ 234,
1004
+ 825,
1005
+ 277
1006
+ ],
1007
+ "page_idx": 8
1008
+ },
1009
+ {
1010
+ "type": "text",
1011
+ "text": "Many approaches “fuse” modalities [30, 31, 32, 33] to tackle inherently multimodal tasks. LIMoE is more similar to approaches which do not do that, and still operate as unimodal feature extractors. Some co-train on distinct tasks [34, 35, 36, 22] without aligning or fusing representations—effectively sharing weights across tasks—whereas others include both unimodal aspects and fused multimodal aspects for functionality in both contexts [37]. ",
1012
+ "bbox": [
1013
+ 174,
1014
+ 284,
1015
+ 825,
1016
+ 353
1017
+ ],
1018
+ "page_idx": 8
1019
+ },
1020
+ {
1021
+ "type": "text",
1022
+ "text": "We build on deep Sparse Mixture of Experts models, which have been studied independently in Computer Vision [1, 2] and NLP [14, 3, 8], typically in the context of transfer learning. These models use a learned gating mechanism whereby only a subset of $K$ experts out of $E \\gg K$ are activated for a given input. Many works aim to improve the gating mechanism itself, by making it differentiable [38], reformulating as a linear assignment task [39] or even swapping it out for a simple hashing algorithm [40]. MoE models have also been studied for multitask learning [38], with per-task routers [6] but a shared pool of experts. To our knowledge, sparse models have not been explored for multimodal learning. ",
1023
+ "bbox": [
1024
+ 174,
1025
+ 359,
1026
+ 825,
1027
+ 470
1028
+ ],
1029
+ "page_idx": 8
1030
+ },
1031
+ {
1032
+ "type": "text",
1033
+ "text": "A large body of research exists on contrastive learning, usually in self-supervised [41] but also in supervised regimes [42]. Multimodal contrastive learning trains on aligned data from multiple modalities. Originally studied for medical images and reports [11], it was recently scaled to noisy web data [7, 10], where strong image-text alignments enabled performant image classification and cross-modal image-text retrieval without finetuning on downstream data. Follow up works improved upon this significantly by scaling up and using pretrained models [18, 16] and multitask training with generative modelling [25] or other vision tasks [43]. These works use unimodal models which separately process image and text data; we are not aware of previous research using a single model to process both images and texts for contrastive learning, neither with dense nor with sparse models. ",
1034
+ "bbox": [
1035
+ 174,
1036
+ 477,
1037
+ 825,
1038
+ 602
1039
+ ],
1040
+ "page_idx": 8
1041
+ },
1042
+ {
1043
+ "type": "text",
1044
+ "text": "7 Conclusions and Future Work ",
1045
+ "text_level": 1,
1046
+ "bbox": [
1047
+ 176,
1048
+ 622,
1049
+ 457,
1050
+ 640
1051
+ ],
1052
+ "page_idx": 8
1053
+ },
1054
+ {
1055
+ "type": "text",
1056
+ "text": "We have presented LIMoE, the first multimodal sparse mixture of experts model. We uncovered new failure modes specific to this setup and proposed entropy based auxiliary losses which stabilises training and results in highly performant models. It works across many model scales, with average improvements over FLOP-matched dense baselines of $+ 1 0 . 2 \\%$ zero-shot accuracy. When scaled to a large H/14 model, we achieve $8 4 . 1 \\%$ accuracy, competitive with current SOTA approaches. ",
1057
+ "bbox": [
1058
+ 174,
1059
+ 655,
1060
+ 825,
1061
+ 726
1062
+ ],
1063
+ "page_idx": 8
1064
+ },
1065
+ {
1066
+ "type": "text",
1067
+ "text": "Societal impact and limitations: The potential harms of large scale models [44], contrastive models [7] and web-scale multimodal data [45] also carry over here, as LIMoE does not explicitly address them. On the other hand, it has been shown that pruning models tends to cause low-resource groups to be forgotten [46], causing performance to disproportionally drop for some subgroups. This would be worth considering for our expert-pruning experiments, but by analogue, the ability to scale models with experts that can specialize deeply may result in better performance on underrepresented groups. ",
1068
+ "bbox": [
1069
+ 174,
1070
+ 731,
1071
+ 825,
1072
+ 815
1073
+ ],
1074
+ "page_idx": 8
1075
+ },
1076
+ {
1077
+ "type": "text",
1078
+ "text": "Environmentally speaking, training large models is costly, though efforts are made to use efficient datacenters and offset emitted $\\mathrm { C O } _ { 2 }$ . Prior works however show that most environmental impact occurs during model inference, and that MoEs are significantly more efficient in that regard [47]; LIMoE is naturally a good candidate for efficient, large-scale multimodal foundation models. ",
1079
+ "bbox": [
1080
+ 174,
1081
+ 820,
1082
+ 825,
1083
+ 877
1084
+ ],
1085
+ "page_idx": 8
1086
+ },
1087
+ {
1088
+ "type": "text",
1089
+ "text": "Future work: There are many interesting directions from here. The routing interference with multiple modalities still is not fully understood. In general, conclusions from applications of MoEs to NLP have not carried over perfectly to Vision, and vice-versa, and here we see again different behaviour between images and text. Naturally, extensions to more modalities should be explored; even with only two we see fascinating interactions between different data types and the routing algorithms, and that will only get more difficult, and interesting, with more modalities. ",
1090
+ "bbox": [
1091
+ 174,
1092
+ 883,
1093
+ 821,
1094
+ 911
1095
+ ],
1096
+ "page_idx": 8
1097
+ },
1098
+ {
1099
+ "type": "text",
1100
+ "text": "",
1101
+ "bbox": [
1102
+ 174,
1103
+ 90,
1104
+ 825,
1105
+ 147
1106
+ ],
1107
+ "page_idx": 9
1108
+ },
1109
+ {
1110
+ "type": "text",
1111
+ "text": "There are always more modalities to learn, and larger models to build: sparse models provide a very natural way to scale up while juggling very different tasks and data, and we look forward to seeing more research in this area. ",
1112
+ "bbox": [
1113
+ 174,
1114
+ 154,
1115
+ 823,
1116
+ 195
1117
+ ],
1118
+ "page_idx": 9
1119
+ },
1120
+ {
1121
+ "type": "text",
1122
+ "text": "8 Acknowledgements ",
1123
+ "text_level": 1,
1124
+ "bbox": [
1125
+ 174,
1126
+ 214,
1127
+ 367,
1128
+ 232
1129
+ ],
1130
+ "page_idx": 9
1131
+ },
1132
+ {
1133
+ "type": "text",
1134
+ "text": "We first thank Andreas Steiner, Xiao Wang and Xiaohua Zhai, who led early explorations into dense single-tower models for contrastive multimodal learning, and also were instrumental in providing data access. We also thank Andreas Steiner, and Douglas Eck, for early feedback on the paper. We thank André Susano Pinto, Maxim Neumann, Barret Zoph, Liam Fedus, Wei Han and Josip Djolonga for useful discussions, and Erica Moreira and Victor Gomes for help scaling up to LIMoE-H/14. ",
1135
+ "bbox": [
1136
+ 174,
1137
+ 246,
1138
+ 825,
1139
+ 315
1140
+ ],
1141
+ "page_idx": 9
1142
+ },
1143
+ {
1144
+ "type": "text",
1145
+ "text": "References \n[1] Carlos Riquelme, Joan Puigcerver, Basil Mustafa, Maxim Neumann, Rodolphe Jenatton, André Susano Pinto, Daniel Keysers, and Neil Houlsby. Scaling vision with sparse mixture of experts. In Advances in Neural Information Processing Systems. Curran Associates, Inc., 2021. \n[2] Yuxuan Lou, Fuzhao Xue, Zangwei Zheng, and Yang You. Cross-token modeling with conditional computation, 2022. \n[3] Dmitry Lepikhin, HyoukJoong Lee, Yuanzhong Xu, Dehao Chen, Orhan Firat, Yanping Huang, Maxim Krikun, Noam Shazeer, and Zhifeng Chen. Gshard: Scaling giant models with conditional computation and automatic sharding. In 9th International Conference on Learning Representations, ICLR 2021, Virtual Event, Austria, May 3-7, 2021. OpenReview.net, 2021. \n[4] Barret Zoph, Irwan Bello, Sameer Kumar, Nan Du, Yanping Huang, Jeff Dean, Noam Shazeer, and William Fedus. St-moe: Designing stable and transferable sparse expert models, 2022. \n[5] Mark Collier, Efi Kokiopoulou, Andrea Gesmundo, and Jesse Berent. Routing networks with co-training for continual learning, 2020. \n[6] Jiaqi Ma, Zhe Zhao, Xinyang Yi, Jilin Chen, Lichan Hong, and Ed H. Chi. Modeling task relationships in multi-task learning with multi-gate mixture-of-experts. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2018, London, UK, August 19-23, 2018. ACM, 2018. \n[7] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision. In ICML, Proceedings of Machine Learning Research. PMLR, 2021. \n[8] William Fedus, Barret Zoph, and Noam Shazeer. Switch transformers: Scaling to trillion parameter models with simple and efficient sparsity. JMLR, 23(120), 2022. \n[9] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR 2009), 20-25 June 2009, Miami, Florida, USA. IEEE Computer Society, 2009. \n[10] Chao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen, Zarana Parekh, Hieu Pham, Quoc V. Le, Yun-Hsuan Sung, Zhen Li, and Tom Duerig. Scaling up visual and vision-language representation learning with noisy text supervision. In Proceedings of the 38th International Conference on Machine Learning, ICML 2021, 18-24 July 2021, Virtual Event, Proceedings of Machine Learning Research. PMLR, 2021. \n[11] Yuhao Zhang, Hang Jiang, Yasuhide Miura, Christopher D. Manning, and Curtis P. Langlotz. Contrastive learning of medical visual representations from paired images and text. CoRR, 2020. \n[12] Taku Kudo and John Richardson. Sentencepiece: A simple and language independent subword tokenizer and detokenizer for neural text processing. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, EMNLP 2018: System Demonstrations, Brussels, Belgium, October 31 - November 4, 2018. Association for Computational Linguistics, 2018. \n[13] 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. ICLR, 2021. \n[14] Noam Shazeer, Azalia Mirhoseini, Krzysztof Maziarz, Andy Davis, Quoc Le, Geoffrey Hinton, and Jeff Dean. Outrageously large neural networks: The sparsely-gated mixture-of-experts layer. In 5th International Conference on Learning Representations, ICLR 2017, 2017. \n[15] Thomas M Cover. Elements of information theory. John Wiley & Sons, 1999. \n[16] Xiaohua Zhai, Xiao Wang, Basil Mustafa, Andreas Steiner, Daniel Keysers, Alexander Kolesnikov, and Lucas Beyer. Lit: Zero-shot transfer with locked-image text tuning. CVPR, 2021. \n[17] Xiaohua Zhai, Alexander Kolesnikov, Neil Houlsby, and Lucas Beyer. Scaling vision transformers. CVPR, 2021. \n[18] Hieu Pham, Zihang Dai, Golnaz Ghiasi, Kenji Kawaguchi, Hanxiao Liu, Adams Wei Yu, Jiahui Yu, Yi-Ting Chen, Minh-Thang Luong, Yonghui Wu, Mingxing Tan, and Quoc V. Le. Combined scaling for open-vocabulary image classification, 2022. ",
1146
+ "bbox": [
1147
+ 173,
1148
+ 83,
1149
+ 828,
1150
+ 911
1151
+ ],
1152
+ "page_idx": 10
1153
+ },
1154
+ {
1155
+ "type": "text",
1156
+ "text": "[19] Richard Socher, Milind Ganjoo, Christopher D Manning, and Andrew Ng. Zero-shot learning through cross-modal transfer. In Advances in Neural Information Processing Systems. Curran Associates, Inc., 2013. ",
1157
+ "bbox": [
1158
+ 171,
1159
+ 92,
1160
+ 823,
1161
+ 130
1162
+ ],
1163
+ "page_idx": 11
1164
+ },
1165
+ {
1166
+ "type": "text",
1167
+ "text": "[20] Tsung-Yi Lin, Michael Maire, Serge J. Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Doll’ar, and C. Lawrence Zitnick. Microsoft COCO: common objects in context. In Computer Vision - ECCV 2014 - 13th European Conference, Zurich, Switzerland, September 6-12, 2014, Proceedings, Part V, Lecture Notes in Computer Science. Springer, 2014. ",
1168
+ "bbox": [
1169
+ 173,
1170
+ 140,
1171
+ 826,
1172
+ 193
1173
+ ],
1174
+ "page_idx": 11
1175
+ },
1176
+ {
1177
+ "type": "text",
1178
+ "text": "[21] Mitchell Wortsman, Gabriel Ilharco, Samir Yitzhak Gadre, Rebecca Roelofs, Raphael Gontijo Lopes, Ari S. Morcos, Hongseok Namkoong, Ali Farhadi, Yair Carmon, Simon Kornblith, and Ludwig Schmidt. Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time. CoRR, 2022. ",
1179
+ "bbox": [
1180
+ 174,
1181
+ 202,
1182
+ 826,
1183
+ 253
1184
+ ],
1185
+ "page_idx": 11
1186
+ },
1187
+ {
1188
+ "type": "text",
1189
+ "text": "[22] Scott Reed, Konrad Zolna, Emilio Parisotto, Sergio Gomez Colmenarejo, Alexander Novikov, Gabriel Barth-Maron, Mai Gimenez, Yury Sulsky, Jackie Kay, Jost Tobias Springenberg, Tom Eccles, Jake Bruce, Ali Razavi, Ashley Edwards, Nicolas Heess, Yutian Chen, Raia Hadsell, Oriol Vinyals, Mahyar Bordbar, and Nando de Freitas. A generalist agent, 2022. ",
1190
+ "bbox": [
1191
+ 173,
1192
+ 263,
1193
+ 826,
1194
+ 315
1195
+ ],
1196
+ "page_idx": 11
1197
+ },
1198
+ {
1199
+ "type": "text",
1200
+ "text": "[23] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Ł ukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in Neural Information Processing Systems. Curran Associates, Inc., 2017. ",
1201
+ "bbox": [
1202
+ 171,
1203
+ 325,
1204
+ 821,
1205
+ 364
1206
+ ],
1207
+ "page_idx": 11
1208
+ },
1209
+ {
1210
+ "type": "text",
1211
+ "text": "[24] Hugo Touvron, Andrea Vedaldi, Matthijs Douze, and Herv’e J’egou. Fixing the train-test resolution discrepancy. In Advances in Neural Information Processing Systems (NeurIPS), 2019. ",
1212
+ "bbox": [
1213
+ 171,
1214
+ 373,
1215
+ 821,
1216
+ 401
1217
+ ],
1218
+ "page_idx": 11
1219
+ },
1220
+ {
1221
+ "type": "text",
1222
+ "text": "[25] Jiahui Yu, Zirui Wang, Vijay Vasudevan, Legg Yeung, Mojtaba Seyedhosseini, and Yonghui Wu. Coca: Contrastive captioners are image-text foundation models, 2022. ",
1223
+ "bbox": [
1224
+ 173,
1225
+ 410,
1226
+ 823,
1227
+ 436
1228
+ ],
1229
+ "page_idx": 11
1230
+ },
1231
+ {
1232
+ "type": "text",
1233
+ "text": "[26] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understanding. In NAACL, Minneapolis, Minnesota, June 2019. Association for Computational Linguistics. ",
1234
+ "bbox": [
1235
+ 171,
1236
+ 446,
1237
+ 823,
1238
+ 486
1239
+ ],
1240
+ "page_idx": 11
1241
+ },
1242
+ {
1243
+ "type": "text",
1244
+ "text": "[27] Yi Tay, Mostafa Dehghani, Dara Bahri, and Donald Metzler. Efficient transformers: A survey. ACM Comput. Surv., 2022. ",
1245
+ "bbox": [
1246
+ 171,
1247
+ 494,
1248
+ 823,
1249
+ 521
1250
+ ],
1251
+ "page_idx": 11
1252
+ },
1253
+ {
1254
+ "type": "text",
1255
+ "text": "[28] Ze Liu, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, and Baining Guo. Swin transformer: Hierarchical vision transformer using shifted windows. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2021. ",
1256
+ "bbox": [
1257
+ 173,
1258
+ 531,
1259
+ 823,
1260
+ 571
1261
+ ],
1262
+ "page_idx": 11
1263
+ },
1264
+ {
1265
+ "type": "text",
1266
+ "text": "[29] Kishaan Jeeveswaran, Senthilkumar Kathiresan, Arnav Varma, Omar Magdy, Bahram Zonooz, and Elahe Arani. A comprehensive study of vision transformers on dense prediction tasks. In Proceedings of the 17th International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications, VISIGRAPP 2022, Volume 4: VISAPP, Online Streaming, February 6-8, 2022. SCITEPRESS, 2022. ",
1267
+ "bbox": [
1268
+ 174,
1269
+ 580,
1270
+ 826,
1271
+ 643
1272
+ ],
1273
+ "page_idx": 11
1274
+ },
1275
+ {
1276
+ "type": "text",
1277
+ "text": "[30] Hao Tan and Mohit Bansal. Lxmert: Learning cross-modality encoder representations from transformers. In EMNLP, 2019. ",
1278
+ "bbox": [
1279
+ 173,
1280
+ 655,
1281
+ 823,
1282
+ 681
1283
+ ],
1284
+ "page_idx": 11
1285
+ },
1286
+ {
1287
+ "type": "text",
1288
+ "text": "[31] Weijie Su, Xizhou Zhu, Yue Cao, Bin Li, Lewei Lu, Furu Wei, and Jifeng Dai. Vl-bert: Pre-training of generic visual-linguistic representations. In ICLR, 2020. ",
1289
+ "bbox": [
1290
+ 174,
1291
+ 690,
1292
+ 823,
1293
+ 717
1294
+ ],
1295
+ "page_idx": 11
1296
+ },
1297
+ {
1298
+ "type": "text",
1299
+ "text": "[32] Jiasen Lu, Dhruv Batra, Devi Parikh, and Stefan Lee. Vilbert: Pretraining task-agnostic visiolinguistic representations for vision-and-language tasks. In NeurIPS. Curran Associates, Inc., 2019. ",
1300
+ "bbox": [
1301
+ 173,
1302
+ 727,
1303
+ 823,
1304
+ 753
1305
+ ],
1306
+ "page_idx": 11
1307
+ },
1308
+ {
1309
+ "type": "text",
1310
+ "text": "[33] Liunian Harold Li, Mark Yatskar, Da Yin, Cho-Jui Hsieh, and Kai-Wei Chang. Visualbert: A simple and performant baseline for vision and language. CoRR, 2019. ",
1311
+ "bbox": [
1312
+ 174,
1313
+ 763,
1314
+ 825,
1315
+ 790
1316
+ ],
1317
+ "page_idx": 11
1318
+ },
1319
+ {
1320
+ "type": "text",
1321
+ "text": "[34] Valerii Likhosherstov, Anurag Arnab, Krzysztof Choromanski, Mario Lucic, Yi Tay, Adrian Weller, and Mostafa Dehghani. Polyvit: Co-training vision transformers on images, videos and audio. CoRR, 2021. ",
1322
+ "bbox": [
1323
+ 173,
1324
+ 799,
1325
+ 825,
1326
+ 827
1327
+ ],
1328
+ "page_idx": 11
1329
+ },
1330
+ {
1331
+ "type": "text",
1332
+ "text": "[35] Hassan Akbari, Liangzhe Yuan, Rui Qian, Wei-Hong Chuang, Shih-Fu Chang, Yin Cui, and Boqing Gong. Vatt: Transformers for multimodal self-supervised learning from raw video, audio and text. NeurIPS, 2021. ",
1333
+ "bbox": [
1334
+ 173,
1335
+ 835,
1336
+ 826,
1337
+ 863
1338
+ ],
1339
+ "page_idx": 11
1340
+ },
1341
+ {
1342
+ "type": "text",
1343
+ "text": "[36] Qing Li, Boqing Gong, Yin Cui, Dan Kondratyuk, Xianzhi Du, Ming-Hsuan Yang, and Matthew Brown. Towards a unified foundation model: Jointly pre-training transformers on unpaired images and text. arXiv preprint arXiv:2112.07074, 2021. ",
1344
+ "bbox": [
1345
+ 174,
1346
+ 873,
1347
+ 828,
1348
+ 911
1349
+ ],
1350
+ "page_idx": 11
1351
+ },
1352
+ {
1353
+ "type": "text",
1354
+ "text": "[37] Jianfeng Wang, Xiaowei Hu, Zhe Gan, Zhengyuan Yang, Xiyang Dai, Zicheng Liu, Yumao Lu, and Lijuan Wang. UFO: A unified transformer for vision-language representation learning. CoRR, 2021. ",
1355
+ "bbox": [
1356
+ 169,
1357
+ 92,
1358
+ 825,
1359
+ 118
1360
+ ],
1361
+ "page_idx": 12
1362
+ },
1363
+ {
1364
+ "type": "text",
1365
+ "text": "[38] Hussein Hazimeh, Zhe Zhao, Aakanksha Chowdhery, Maheswaran Sathiamoorthy, Yihua Chen, Rahul Mazumder, Lichan Hong, and Ed H. Chi. Dselect-k: Differentiable selection in the mixture of experts with applications to multi-task learning. In Advances in Neural Information Processing Systems 34: Annual Conference on Neural Information Processing Systems 2021, NeurIPS 2021, December 6-14, 2021, virtual, 2021. ",
1366
+ "bbox": [
1367
+ 173,
1368
+ 127,
1369
+ 825,
1370
+ 190
1371
+ ],
1372
+ "page_idx": 12
1373
+ },
1374
+ {
1375
+ "type": "text",
1376
+ "text": "[39] Mike Lewis, Shruti Bhosale, Tim Dettmers, Naman Goyal, and Luke Zettlemoyer. BASE layers: Simplifying training of large, sparse models. In Proceedings of the 38th International Conference on Machine Learning, ICML 2021, 18-24 July 2021, Virtual Event, Proceedings of Machine Learning Research. PMLR, 2021. ",
1377
+ "bbox": [
1378
+ 173,
1379
+ 200,
1380
+ 825,
1381
+ 251
1382
+ ],
1383
+ "page_idx": 12
1384
+ },
1385
+ {
1386
+ "type": "text",
1387
+ "text": "[40] Stephen Roller, Sainbayar Sukhbaatar, Arthur Szlam, and Jason Weston. Hash layers for large sparse models. In Advances in Neural Information Processing Systems 34: Annual Conference on Neural Information Processing Systems 2021, NeurIPS 2021, December 6-14, 2021, virtual, 2021. ",
1388
+ "bbox": [
1389
+ 173,
1390
+ 261,
1391
+ 825,
1392
+ 300
1393
+ ],
1394
+ "page_idx": 12
1395
+ },
1396
+ {
1397
+ "type": "text",
1398
+ "text": "[41] Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey E. Hinton. A simple framework for contrastive learning of visual representations. In Proceedings of the 37th International Conference on Machine Learning, ICML 2020, 13-18 July 2020, Virtual Event, Proceedings of Machine Learning Research. PMLR, 2020. ",
1399
+ "bbox": [
1400
+ 173,
1401
+ 308,
1402
+ 825,
1403
+ 359
1404
+ ],
1405
+ "page_idx": 12
1406
+ },
1407
+ {
1408
+ "type": "text",
1409
+ "text": "[42] Prannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna, Yonglong Tian, Phillip Isola, Aaron Maschinot, Ce Liu, and Dilip Krishnan. Supervised contrastive learning. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020. ",
1410
+ "bbox": [
1411
+ 174,
1412
+ 368,
1413
+ 826,
1414
+ 420
1415
+ ],
1416
+ "page_idx": 12
1417
+ },
1418
+ {
1419
+ "type": "text",
1420
+ "text": "[43] Lu Yuan, Dongdong Chen, Yi-Ling Chen, Noel Codella, Xiyang Dai, Jianfeng Gao, Houdong Hu, Xuedong Huang, Boxin Li, Chunyuan Li, Ce Liu, Mengchen Liu, Zicheng Liu, Yumao Lu, Yu Shi, Lijuan Wang, Jianfeng Wang, Bin Xiao, Zhen Xiao, Jianwei Yang, Michael Zeng, Luowei Zhou, and Pengchuan Zhang. Florence: A new foundation model for computer vision. CoRR, 2021. ",
1421
+ "bbox": [
1422
+ 173,
1423
+ 429,
1424
+ 825,
1425
+ 481
1426
+ ],
1427
+ "page_idx": 12
1428
+ },
1429
+ {
1430
+ "type": "text",
1431
+ "text": "[44] Rishi Bommasani, Drew A. Hudson, Ehsan Adeli, Russ Altman, Simran Arora, Sydney von Arx, Michael S. Bernstein, Jeannette Bohg, Antoine Bosselut, Emma Brunskill, Erik Brynjolfsson, Shyamal Buch, Dallas Card, Rodrigo Castellon, Niladri S. Chatterji, Annie S. Chen, Kathleen Creel, Jared Quincy Davis, Dorottya Demszky, Chris Donahue, Moussa Doumbouya, Esin Durmus, Stefano Ermon, John Etchemendy, Kawin Ethayarajh, Li Fei-Fei, Chelsea Finn, Trevor Gale, Lauren Gillespie, Karan Goel, Noah D. Goodman, Shelby Grossman, Neel Guha, Tatsunori Hashimoto, Peter Henderson, John Hewitt, Daniel E. Ho, Jenny Hong, Kyle Hsu, Jing Huang, Thomas Icard, Saahil Jain, Dan Jurafsky, Pratyusha Kalluri, Siddharth Karamcheti, Geoff Keeling, Fereshte Khani, Omar Khattab, Pang Wei Koh, Mark S. Krass, Ranjay Krishna, Rohith Kuditipudi, and et al. On the opportunities and risks of foundation models. CoRR, 2021. ",
1432
+ "bbox": [
1433
+ 174,
1434
+ 488,
1435
+ 826,
1436
+ 604
1437
+ ],
1438
+ "page_idx": 12
1439
+ },
1440
+ {
1441
+ "type": "text",
1442
+ "text": "[45] Abeba Birhane, Vinay Uday Prabhu, and Emmanuel Kahembwe. Multimodal datasets: misogyny, pornography, and malignant stereotypes. CoRR, 2021. ",
1443
+ "bbox": [
1444
+ 173,
1445
+ 613,
1446
+ 821,
1447
+ 640
1448
+ ],
1449
+ "page_idx": 12
1450
+ },
1451
+ {
1452
+ "type": "text",
1453
+ "text": "[46] Sara Hooker, Nyalleng Moorosi, Gregory Clark, Samy Bengio, and Emily L. Denton. Characterising bias in compressed models. ArXiv, abs/2010.03058, 2020. ",
1454
+ "bbox": [
1455
+ 173,
1456
+ 647,
1457
+ 821,
1458
+ 674
1459
+ ],
1460
+ "page_idx": 12
1461
+ },
1462
+ {
1463
+ "type": "text",
1464
+ "text": "[47] David A. Patterson, Joseph Gonzalez, Quoc V. Le, Chen Liang, Lluis-Miquel Munguia, Daniel Rothchild, David R. So, Maud Texier, and Jeff Dean. Carbon emissions and large neural network training. CoRR, 2021. ",
1465
+ "bbox": [
1466
+ 173,
1467
+ 683,
1468
+ 825,
1469
+ 722
1470
+ ],
1471
+ "page_idx": 12
1472
+ },
1473
+ {
1474
+ "type": "text",
1475
+ "text": "[48] Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. J. Mach. Learn. Res., 2020. ",
1476
+ "bbox": [
1477
+ 173,
1478
+ 731,
1479
+ 823,
1480
+ 770
1481
+ ],
1482
+ "page_idx": 12
1483
+ },
1484
+ {
1485
+ "type": "text",
1486
+ "text": "[49] Christoph Schuhmann, Richard Vencu, Romain Beaumont, Robert Kaczmarczyk, Clayton Mullis, Aarush Katta, Theo Coombes, Jenia Jitsev, and Aran Komatsuzaki. LAION-400M: open dataset of clip-filtered 400 million image-text pairs. CoRR, abs/2111.02114, 2021. ",
1487
+ "bbox": [
1488
+ 173,
1489
+ 779,
1490
+ 821,
1491
+ 818
1492
+ ],
1493
+ "page_idx": 12
1494
+ },
1495
+ {
1496
+ "type": "text",
1497
+ "text": "[50] Steven Bird, Edward Loper, and Ewan Klein. NLTK: the natural language toolkit. In ACL 2006, 21st International Conference on Computational Linguistics and 44th Annual Meeting of the Association for Computational Linguistics. The Association for Computer Linguistics, 2006. ",
1498
+ "bbox": [
1499
+ 173,
1500
+ 827,
1501
+ 823,
1502
+ 866
1503
+ ],
1504
+ "page_idx": 12
1505
+ }
1506
+ ]
parse/dev/X6dEqXIsEW/X6dEqXIsEW.md ADDED
@@ -0,0 +1,222 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # On the Planning Abilities of Large Language Models : A Critical Investigation
2
+
3
+ Karthik Valmeekam School of Computing & AI Arizona State University Tempe. kvalmeek@asu.edu
4
+
5
+ Matthew Marquez School of Computing & AI Arizona State University, Tempe. mmarqu22@asu.edu
6
+
7
+ Sarath Sreedharan∗ Department of Computer Science, Colorado State University, Fort Collins. sarath.sreedharan@colostate.edu
8
+
9
+ Subbarao Kambhampati School of Computing & AI Arizona State University, Tempe. rao@asu.edu
10
+
11
+ # Abstract
12
+
13
+ Intrigued by the claims of emergent reasoning capabilities in LLMs trained on general web corpora, in this paper, we set out to investigate their planning capabilities. We aim to evaluate (1) the effectiveness of LLMs in generating plans autonomously in commonsense planning tasks and (2) the potential of LLMs as a source of heuristic guidance for other agents (AI planners) in their planning tasks. We conduct a systematic study by generating a suite of instances on domains similar to the ones employed in the International Planning Competition and evaluate LLMs in two distinct modes: autonomous and heuristic. Our findings reveal that LLMs’ ability to generate executable plans autonomously is rather limited, with the best model (GPT-4) having an average success rate of ${ \sim } 1 2 \%$ across the domains. However, the results in the heuristic mode show more promise. In the heuristic mode, we demonstrate that LLM-generated plans can improve the search process for underlying sound planners and additionally show that external verifiers can help provide feedback on the generated plans and back-prompt the LLM for better plan generation.
14
+
15
+ # 1 Introduction
16
+
17
+ It would be no exaggeration to say that transformer-based large language models (LLMs) have revolutionized the field of natural language processing (NLP). Kicked off by the advances presented by the GPT- $\mathbf { X }$ models developed by OpenAI [27], these types of language models currently provide state-of-the-art performance in many of the standard NLP tasks. Although LLMs were originally developed mostly to do word sequence completion tasks, with no guarantees about the completion beyond its coherence, there have been increasing claims and anecdotal evidence that they have other emergent capabilities that are not normally associated with sequence completion. Indeed, the hints of such emergent capabilities has started a veritable land rush, with researchers probing (prompting) and studying LLM behavior almost as if they were artificial organisms (c.f. [16]). Of particular interest to us in this paper is the thread of efforts that aim to investigate (and showcase) reasoning abilities of LLMs–including commonsense reasoning [35, 29, 7], logical reasoning [33], and even ethical reasoning [15]. The macro-tenor of the drumbeat of these works has been suggesting that LLM’s are indeed capable of doing such kinds of reasoning [19, 37, 4].
18
+
19
+ One type of reasoning task that has been well studied in the AI community is planning and sequential decision making. At its simplest, planning involves developing a course of actions (policy) which when executed takes the agent to a desired state of the world. Planning has generally been studied primarily as an inference on world and reward models–whether specified by humans or learned by the agent by interacting with its world. In this paper, we are interested in seeing what planning abilities, if any, LLMs may already have, given their high capacity functions (with billions of tunable parameters) trained on web-scale corpora. Specifically, we are interested in answering two broad questions:
20
+
21
+ 1. How effective are LLMs by themselves in generating simple plans in commonsense planning tasks (of the type that humans are generally quite good at)?
22
+ 2. How good are LLMs in being a source of heuristic guidance for other agents in their planning tasks?
23
+
24
+ Notice that in theory, it is possible for LLMs to be very effective as idea generators for external sound planners or humans in the loop in computer-supported cooperative work scenarios, while themselves being very bad at generating plans that are guaranteed to be correct. This is especially likely because the chief power of LLMs comes from their pattern-finding abilities than from firstprinciples simulations over world models. Compared to a planner that is guaranteed to be correct in a narrow set of domains, LLMs may likely be good at generating plausible (but not guaranteed to be correct) plan heuristics/suggestions in many more domains.
25
+
26
+ To investigate these questions in a systematic rather than anecdotal manner, we generate a suite of planning problem instances 2 based on the kinds of domains employed in the International Planning Competition [14]. To eliminate the subjective aspect of analysis that forms the core part of many earlier efforts on evaluating the reasoning capabilities of LLMs, we automate the evaluation by leveraging models and tools from the automated planning community. The evaluation itself is done in two modes (shown in Figure 1). In the first “autonomous" mode, LLMs are used standalone, and we directly assess the quality and correctness of plans they generate. As we shall see, the results in the autonomous mode are pretty bleak. On an average, only about $12 \%$ of the plans that the best LLM (GPT-4) generates are actually executable without errors and reach their goals. We will show that the choice of the specific LLM (we have tested the family of GPT LLMs including GPT-4 [25], GPT-3.5 [24], InstructGPT-3.5, InstructGPT-3 [26] and GPT-3 [3]), as well as fine tuning does not seem to have a major effect on this dismal performance. We also show that the performance deteriorates further if the names of the actions and objects in the domain are obfuscated–a change that doesn’t in anyway affect the performance of the standard AI planners. To shed further light on the performance of GPT4, we present an evaluation of the plans it generates under a series of more relaxed (more forgiving) executability conditions. Further, we provide a human baseline for the simplest domain in our set of domains, by presenting the planning instances to human subjects (through IRB-approved studies) and evaluating the quality and correctness of their plans. These results are substantially better than those of LLMs–confirming that LLMs can’t plan even in a simple common sense domain in the autonomous mode. In the second “heuristic" mode, the plans produced by LLMs are given as input to an automated planner working off of a correct domain model to check whether the LLM’s plans help with the search process of the underlying planner to come up with correct plans. Specifically we show that a well known automated planner called LPG [6], that uses local search to locate and remove flaws in a candidate plan to make it correct, is able to repair the LLM plans with relative ease. We compare the LLM+LPG combination with two baselines, one where an empty plan is used as the seed plan for the LPG and two, where a random plan is provided as the seed plan to the LPG. We show that the average search steps by the LLM+LPG combination is much lesser than both the baselines, thereby revealing that LLMs’ plans are indeed helping with the search process of the underlying planner. Further, instead of having LPG correct the plans, we use an external verifier, VAL [11], to point out the errors in the LLM-generated plans and back-prompt the LLM for a new plan with this feedback. We show that this repeated interaction indeed improves the plan correctness in common-sense domains. Overall, our findings demonstrate that, with respect to planning, LLMs’ perform poorly in the autonomous mode but the generated plans can help AI planners in the search process or can be given to external verifiers and back-prompt the LLM for better plans. In this paper, we first present an overview of the related work. Following that, we describe the necessary background and the prompt generation pipeline. Finally, we provide the results and analysis of various experiments undertaken in both autonomous and heuristic evaluation modes.
27
+
28
+ ![](images/89c4ff73d93d4e9706caa68cf963311cc1fc37c13740df2131635c53ad85a188.jpg)
29
+ Figure 1: The diagrammatic overview of the two modes of LLMs for planning.
30
+
31
+ # 2 Related Work
32
+
33
+ In this work, we look at LLMs’ planning capabilities when the domain is given as part of the prompt (as is the standard practice in automated planning [8]). Our evaluation focuses on zero-shot (just domain and problem specification), and few-shot (example problems with plans) modes. There have been a few works that looked at the planning capabilities of LLMs. Most of them, such as [12, 2] focus on commonsense domains/tasks (e.g. moving things in kitchens, wedding/menu planning etc.) and thus evaluate LLMs in a mode wherein the prompt doesn’t include any information about the specific domain. Plans generated in that way are hard to evaluate as they are not directed at any plan executor and the humans often wind up giving the benefit of doubt for a plausible–but not actually executable–plan. This is why in SayCan [2], where executability is critical, they try to filter out/interpret the LLM plans in terms of the skills/actions that are actually available to the executor. While SayCan does this in a rather convoluted way that requires access to the internal log probabilities of the LLM, our approach simplifies this by specifying the domain as part of the prompt. In all our experiments, we found that LLMs only use the actions listed as part of the domain specification.
34
+
35
+ One other mode of evaluation of planning capabilities in the literature involves the user incrementally interacting with the LLM, and re-prompting it to point out flaws in its plans, with the hope that the LLM eventually reaches an executable plan [13, 39, 28]. Such evaluations are notorious for their Clever Hans effect [1] with the actual planning being done by the humans in the loop rather than the LLMs themselves. We thus separate our evaluation into two modes–autonomous and as assistants to external planners/reasoners. There have also been efforts which mostly depended on LLMs as “translators" of natural language problem/goal specification into formal specifications, which are then thrown over to sound external planners [38, 21]. Such efforts don’t shed any light on the internal planning capabilities of the LLMs themselves, as our evaluations in autonomous and assistive modes do. Finally, after our initial study and benchmark were made public, other groups did parallel studies that largely corroborate our results on the ineffectiveness of LLMs in finding executable plans [32, 21].
36
+
37
+ Taking a broader perspective, making plans in the world involves (1) discovering actions (and their precondition/effect causal dependencies), and (2) sequencing an appropriate subset of available/discovered actions to achieve the agent’s goals. The former requires broad knowledge about actions available in the world and their individual effects, while the latter requires deep drilling-down over a given set of actions to ensure that all goals are supported (causal chaining) without any undesirable interactions. LLMs have an edge on the former–they do indeed have web-scale broad knowledge! As we shall see however, they are very bad at the second phase of developing valid interaction-free plans (in part, because LLMs don’t have the ability to do combinatorial search). Most cases in literature (as outlined in [18]) where LLMs are claimed to have "planned" turn out, upon close examination, to be instances of phase 1–your wedding plans, recipe plans etc.–where you are either using a very forgiving plan correctness criterion, or the phase 2 is vacuous. Standard AI planners–on the other hand–assume that the discovery part is done and handed down as a compact domain model, and focus mostly on the second part: selecting among known actions to establish causal chains and sequencing them to make them interaction free. In this sense, LLMs and AI planners can be complementary, as we have shown in this paper–with the former helping with phase 1–either with a candidate/approximate plan or domain model–and the latter with phase 2.
38
+
39
+ # 3 Prompt Generation for Classical Planning Problems
40
+
41
+ # 3.1 Background
42
+
43
+ Given that we are interested in investigating the basic reasoning about actions and change problem, we want to look at the most fundamental planning formalism first, namely the goal-directed deterministic planning problem. Colloquially referred to as classical planning problem, these problem classes consist of a problem domain, an initial state and a goal state. The problem domain consists of a set of fluents which correspond to predicates with some arity and a set of actions. The state-space for the planning problem is defined by the possible truth assignment over the predicates. Each action consists of preconditions and effects where preconditions is a set of predicates that describe when an action can be executed and effects are set of predicates that describe what happens when an action is executed. The effects can further consist of add effects, which is the set of predicates that will be set true by the action, and delete effects, which is the set of predicates that will be set false. The solution for a planning problem is a sequence of actions, or a plan, that when applied in the initial state will result in a state where the goal conditions are satisfied. A standard representation to specify such kind of planning problems is the Planning Definition and Domain Language (PDDL) [22]. Below is a snippet of an action from a popular benchmark problem called Blocksworld, in PDDL. The action corresponds to picking up a block in that domain.
44
+
45
+ (:action pickup :parameters (?ob) :precondition (and (clear ?ob) (on-table ?ob) (arm-empty)) :effect (and (holding ?ob) (not (clear ?ob)) (not (on-table ?ob)) (not (arm-empty))))
46
+
47
+ A more detailed description on classical planning problems is provided in Appendix A.1. We now will describe how we generate the prompts that are given to the LLMs.
48
+
49
+ # 3.2 Prompt Generation
50
+
51
+ ![](images/642747863f0ac95f99387bb3732e05cc831ea3428dac9efab84f28bb5198f230.jpg)
52
+ Figure 2: The diagrammatic overview of the prompt generation pipeline. The prompt configurations for the different experiments are generated from PDDL domain files and are modified with an example generator and natural language translator as needed depending on the experiment requirements.
53
+
54
+ Prompt Configurations: We have developed a suite of unique planning problems to test LLMs’ abilities to generate plans. We have multiple prompt configurations based on this suite of problems, varying in both the method of presentation as well as number of examples given to the LLM. In particular, we use two methods of presentation, natural language and PDDL, as well as two different methods of providing examples, zero shot (with no examples provided) and one shot (with an example provided), giving us four different configuration combinations for our experiments.
55
+
56
+ Within a prompt, LLMs are first provided with a lifted domain description. For one shot configurations, the prompt additionally contains an example instance of a planning problem (consisting of a description of the initial state and the goal) and the corresponding plan (which ends with a tag, referred to as the plan-end tag, that denotes the end of the plan). All prompts end with a planning problem description. The text generated by the LLM until the plan-end tag is used as the candidate for extracting the plan. If the extractor cannot reasonably extract an instance, it is marked as incorrect.
57
+
58
+ Table 1: Results of GPT-4, GPT-3.5 (popularly known as ChatGPT), Instruct-GPT3.5, Instruct-GPT3 (text-davinci-002) and GPT3 (davinci) for the Plan Generation task with prompts in natural language.
59
+
60
+ <table><tr><td rowspan="2">Domain</td><td rowspan="2">Method</td><td colspan="5">Instances correct</td></tr><tr><td>GPT-4</td><td>GPT-3.5</td><td>I-GPT3.5</td><td>I-GPT3</td><td>GPT-3</td></tr><tr><td rowspan="3">Blocksworld (BW)</td><td>One-shot</td><td>206/600 (34.3%)</td><td>37/600 (6.1%)</td><td>54/600 (9%)</td><td>41/600 (6.8%)</td><td>6/600 (1%)</td></tr><tr><td>Zero-shot</td><td>210/600 (34.6%)</td><td>8/600 (1.3%)</td><td>1</td><td>1</td><td>1</td></tr><tr><td>COT</td><td>214/600 (35.6%)</td><td>=</td><td></td><td>1</td><td></td></tr><tr><td rowspan="2">Logistics Domain</td><td>One-shot</td><td>28/200 (14%)</td><td>1/200 (0.5%)</td><td>6/200 (3%)</td><td>3/200 (1.5%)</td><td></td></tr><tr><td>Zero-shot</td><td>15/200 (7.5%)</td><td>1/200 (0.5%)</td><td>=</td><td>-</td><td>1</td></tr><tr><td rowspan="3">Mystery BW (Deceptive)</td><td>One-shot</td><td>26/600 (4.3%)</td><td>0/600 (0%)</td><td>4/600 (0.6%)</td><td>14/600</td><td>0/600</td></tr><tr><td>Zero-shot</td><td>1/600 (0.16%)</td><td>0/600 (0%)</td><td>-</td><td>(2.3%) 1</td><td>(0%) 1</td></tr><tr><td>COT</td><td>54/600 (9%)</td><td></td><td>-</td><td>-</td><td>1</td></tr><tr><td rowspan="2">Mystery BW (Randomized)</td><td>One-shot</td><td>12/600 (2%)</td><td>0/600 (0%)</td><td>5/600 (0.8%)</td><td>5/600 (0.8%)</td><td>1/600</td></tr><tr><td>Zero-shot</td><td>0/600 (0%)</td><td>0/600 (0%)</td><td>-</td><td>-</td><td>(0.1%) -</td></tr></table>
61
+
62
+ The prompt is either formatted in natural langauge or PDDL. Natural language prompts utilize complete natural language sentences to describe feasible actions in the domain. Initial conditions are also reported as complete sentences. Plans in the natural language setting take the form of a series of commands such as "stack the orange block on top of the blue block". As implied by the name, PDDL prompts format all elements (domain description, initial state, goal state, and plans) using PDDL. We point the reader to the supplementary material for examples on each of these prompt configurations.
63
+
64
+ Chain of Thought Prompting: In addition to the four experiments above, we look at a fifth experiment using a state tracking chain of thought prompting technique in a natural language one shot setting. Within this configuration, we provide an annotated example where each action is annotated with the state prior to the action, the reason for why the action is applicable in the prior state, and the resulting state after applying the action. After the example, a meta-explanation about plan correctness is provided. The LLM is then asked to return a response making the same state tracking and justification annotations that were included in the example.
65
+
66
+ Prompt Generation Pipeline: We’ve developed a prompt generation pipeline (visualized in Figure 2) that accepts PDDL domain files as input and outputs prompts that follow the experiments described above. The prompt generation component takes care of creating the set of PDDL problems to be solved for all experiments. Following that, examples are added to the prompt in one shot experiments. While our setup utilizes a planner during example generation, any example generation technique could be used here so long as the examples generated are valid plans. In the state tracking experiment, we also have developed a component to add justification annotations for examples so that the examples reflect what we expect of the LLM. The last step before finishing is translation: since problems at this point are currently in PDDL, prompts for all natural language experiments (whether an example was added or not) need to be translated into natural language. We utilize a domain-specific translator to do so.
67
+
68
+ # 4 Evaluating Planning Capabilities of LLMs in Autonomous Mode
69
+
70
+ In the autonomous mode, we treat the LLM as an automated planner and perform a single run of the dataset on the LLMs for each domain and prompt configuration. In this mode, the plan generated by the LLM is back-translated from natural language to forms that can be used by external plan validators. For each domain, we perform template-based translation to translate between PDDL and natural language for the natural language prompt configurations. We use VAL [11] to evaluate the translated plan with the corresponding domain and problem file. Our evaluation here primarily focuses on the GPT family of LLMs. We tested GPT-4 [25] and GPT-3.5 (commonly known as Chat-GPT) [24] on all the prompt configurations while we tested the older versions of GPT (namely, Instruct-GPT3 and GPT3) on one-shot natural language prompts across the domains. We set the temperature for all models to be 0, thereby making them deterministic. In this section, we detail the evaluation of LLMs on these domains and prompt configurations. We would like to point the reader to the Appendix for example prompts.
71
+
72
+ Table 2: Results of GPT-4 and GPT-3.5 (popularly known as ChatGPT) for the Plan Generation task with one or zero examples in the prompt by directly providing the domain and problem in PDDL.
73
+
74
+ <table><tr><td rowspan="2">Domain</td><td rowspan="2">Method</td><td colspan="2">Instances correct</td></tr><tr><td>GPT-4</td><td>GPT-3.5</td></tr><tr><td rowspan="2">Blocksworld (BW)</td><td>One-shot</td><td>75/600 (12.5%)</td><td>12/600 (2%)</td></tr><tr><td>Zero-shot</td><td>106/600 (17.6%)</td><td>12/600 (2%)</td></tr><tr><td rowspan="2">Logistics Domain</td><td>One-shot</td><td>28/200 (14%)</td><td>1/200 (0.5%)</td></tr><tr><td>Zero-shot</td><td>11/200 (5.5%)</td><td>0/200 (0%)</td></tr><tr><td rowspan="2">Mystery BW (Deceptive)</td><td>One-shot</td><td>17/600 (2.8%)</td><td>1/600 (0.1%)</td></tr><tr><td>Zero-shot</td><td>3/600 (0.5%)</td><td>0/600 (0%)</td></tr></table>
75
+
76
+ Evaluation of LLMs on the Blocksworld domain: Blocksworld problems capture common sense block manipulations and consist of a set of blocks. Blocks are identified with unique colors and are placed either on a table or on top of other blocks. The goal is to arrange some of these blocks in a stack in a particular order. The general expectation here would be that one can pick up a block if it is clear, i.e., there are no other blocks on top of that block and you can only stack a block on top of another block if it is clear. The choice of this particular domain is motivated by both the fact that this is a simple common sense domain and is a very popular domain in planning literature, that has a long history of being used in various planning challenges. The instances were generated using a PDDL generator employed in the IPC competitions. We permitted the generation of problems that varied in terms of the number of blocks (3-5), optimal plan length, and goal properties (positive, negative, or no interactions between subgoals).
77
+
78
+ As shown in Table 1 and Table 2, GPT-4 improves upon previous versions of GPT models in the Blocksworld domain across all four prompt configurations. However, the overall performance is still approximately $34 \%$ in the Blocksworld dataset. Even the chain of thought style prompting (indicated by COT in the tables) had little effect on improving the performance. GPT-4 performs better with natural language prompts (206 and 210 instances for one-shot and zero-shot prompts, respectively) as opposed to PDDL prompts (75 and 106 instances). The performance drops significantly with other GPT models. We also discovered that for instances where Instruct-GPT3 generated the correct plans, replacing the example plan in the prompt with another example plan led to an even greater drop in accuracy. This suggests that the LLM seems to rely primarily on pattern matching, rather than inducing some internal model from the prompts. Overall, even in a seemingly simple common-sense domain like Blocksworld, which humans typically find easy to navigate, LLMs prove to be quite ineffective in planning autonomously.
79
+
80
+ Finetuning GPT-3 on Blocksworld: Along with directly testing the LLMs from the GPT family, we have also looked at the utility of fine-tuning the LLMs. Specifically, we fine-tuned GPT-3 (Davinci) in the Blocksworld domain. For this, we prepared a dataset comprising the initial state, goal state, and the respective plan for 1,000 distinct Blocksworld instances. It’s important to note that these instances were separate from our test set of 600 instances. By using the default hyperparameters provided by OpenAI and an 80-20 train-validation data split, we carried out the fine-tuning process. Our results revealed that the fine-tuned GPT-3 solved only 122 instances out of the 600 in our set, representing approximately $20 \%$ of the total. This suggests that fine-tuning has a limited impact on improving the performance of LLMs in Blocksworld planning. This outcome aligns with the observations of [40], who argue that language models trained for reasoning tend to concentrate on the inherent statistical features instead of the causal structure, which in turn affects their performance on such tasks.
81
+
82
+ Open-source models: In addition to the GPT family of LLMs, we have also conducted preliminary experiments with an open-source LLM, BLOOM [31], and found that BLOOM too is ineffective in plan generation. We assessed BLOOM’s performance in the blocksworld and mystery blocksworld (deceptive) domains using a one-shot natural language prompt configuration. In the blocksworld domain, BLOOM correctly handled only 4 out of 250 instances, representing a $1 . 6 \%$ success rate. In the mystery domain, it failed to produce a single correct response in all 50 instances.
83
+
84
+ Human Baseline for the Blocksworld: We have previously mentioned that planning tasks on the blocksworld domain are anecdotally simple enough for humans to perform. To establish this and come up with a preliminary baseline to compare LLMs performance, we conducted an IRB-approved user study where we asked 50 participants to come up with a plan for a blocksworld instance picked at random, from the set of 600 instances that we used for the evaluation of LLMs. We presented the same domain description as we did for the LLMs and then primed them with an example instance. We point the reader to the supplementary material for further details on the study.
85
+
86
+ Out of the 50 participants, 39 of them $(78 \% )$ came up with a valid plan. Along with validity, we also tested the optimality of their plans even though they were not required to come up with an optimal plan. Out of the 39 participants, 35 $( 8 9 . 7 \% )$ participants came up with an optimal plan. These initial results show that the blocksworld domain is a simple enough domain where most humans are able to come up with plans (which are also optimal) while LLMs, on the other hand, showcase subpar performance.
87
+
88
+ Evaluation of LLMs on the Logistics domain: Logistics is also a widely recognized domain in the planning literature. In this domain, the objective is to transport packages within cities via trucks, and between cities via airplanes. Within a city, the locations are directly linked, allowing trucks to travel between any two of these locations. Similarly, cities are directly connected to each other allowing airplanes to travel between any two cities. Each city is equipped with one truck and has a designated location that functions as an airport. We generated 200 instances on this domain.
89
+
90
+ From Tables 1 and 2, we see that in the one-shot setting with natural language input, GPT-4 only solved $14 \%$ of the instances (28/200), and this rate dropped to $7 . 5 \%$ (15/200) when using zero-shot prompting. When provided with the domain and problem in PDDL format, GPT-4’s performance remained the same in the one-shot setting $14 \%$ or 28/200) but decreased to $5 . 5 \%$ (11/200) in the zero-shot setting. GPT-3.5 did even worse.
91
+
92
+ Obfuscating names to test the brittleness of LLM Planning: Although the domain specification is part of our prompts, the names of the objects (e.g. blocks, trucks), predicates (e.g. on-table, in-city) and actions (e.g. pickup, drive) still do provide connections to the commonsense knowledge that the pretrained LLMs possess. One intriguing question is whether the planning performance is based really only on the domain model or these other background connections. To test this, we experimented with a variation of the Blocksworld domain, where we obfuscate the action names (for example pickup becomes attack, and unstack becomes feast) and predicate names (for example ontable becomes planet, and handempty becomes harmony). Note that from the perspective of standard planners, these domains are essentially identical.3 In addition to such deceptive obfuscation, we also considered a variation where random alphanumeric names were substituted for the action and object names.
93
+
94
+ Tables 1 and 2, we see that this simple obfuscation leads to a catastrophic drop in performance. Specifically, with zero-shot prompting and natural language input, GPT-4 is able to solve 210 instances out of 600 in the Blocksworld domain, but it could only solve 1 instance in the deceptive Mystery Blocksworld domain and 0 instances in the randomized mystery domain. A similar result is observed with the PDDL-style prompts: GPT-4 could solve 106 instances in Blocksworld, but only 3 instances in the deceptive Mystery Blocksworld. Notably, chain of thought prompting does not significantly improve performance over one-shot natural language prompts. GPT-3.5 does not solve even a single instance in the entire set of natural language instances. For most of the instances, GPT-3.5 outputs that the instance can’t be solved. These results strongly suggest that whatever accidental planning performance LLMs show is likely connected to pattern matching rather than reasoning (which should be robust to name change).
95
+
96
+ ![](images/79db4ebc8d5a577b2f247f5c8eef63c89a5f78d19fc05ecd4053e3ee95c61117.jpg)
97
+ Figure 3: Assessment of GPT-4 plans with relaxations in Blocksworld domain
98
+
99
+ Table 3: Evaluation of GPT-4 and Instruct-GPT3 (I-GPT-3) plans as heuristics for a local search planner LPG, on blocksworld (BW), logistics and mystery blocksworld domains.
100
+
101
+ <table><tr><td rowspan="2">Domain</td><td rowspan="2">LLM</td><td colspan="3">Avg. Search Steps</td><td colspan="3">Avg. Plan Length</td><td rowspan="2">Avg. Lev. Distance</td></tr><tr><td>Empty Seed</td><td>Random Seed</td><td>LLM Seed</td><td>Empty Seed</td><td>Random Seed</td><td>LLM Seed</td></tr><tr><td rowspan="2">BW</td><td>I-GPT-3</td><td>Plan 15.8</td><td>Plan 20.07</td><td>Plan 14.5</td><td>Plan 8.45</td><td>Plan 9.62</td><td>Plan 11.7</td><td>7.22</td></tr><tr><td>GPT-4</td><td>15.8</td><td>20.07</td><td>8.9</td><td>8.45</td><td>9.62</td><td>10.76</td><td>4.15</td></tr><tr><td>Logistics</td><td>GPT-4</td><td>77.5</td><td>144.39</td><td>51.3</td><td>23.7</td><td>32.72</td><td>32.24</td><td>15.04</td></tr><tr><td>Mystery BW</td><td>GPT-4</td><td>15.8</td><td>20.45</td><td>16.09</td><td>8.45</td><td>9.78</td><td>11.53</td><td>7.77</td></tr></table>
102
+
103
+ Analyzing GPT-4 failures: To get a better sense of the type of failures LLM generated plans encounter, we wondered whether they will fare much better with a more forgiving test of the validity of the generated plans. In automated planning community, the notion of relaxations of the domain model are used to simplify the problem–chiefly to derive heuristics for planning problems [8]. Taking a leaf from them, we considered two types of relaxations: (i) delete relaxation involves ignoring all the delete conditions of the domain actions (thus making sure that there can be no negative interactions between subgoals) and (ii) precondition relaxation involves ignoring all the preconditions of the domain actions–thus assuming that the the actions are executable from any state giving their effects. Our idea is to evaluate the plans produced by GPT4 with respect to domain models that are delete relaxed, precondition relaxed or both. It should be clear that a plan that is correct with respect to the normal (unrelaxed) model will also be correct with respect to all the relaxed models. Figure 3 shows the results for blocksworld. We see that while the correctness of LLM generated plans increased under more forgiving (relaxed) assessments (area in green), even in the most lenient assessment mode (Delete+Precondition Relaxed), there still are plans $( \sim 3 9 \% )$ that are incorrect (because they still don’t reach the goals) across all the prompt configurations. The plots further classify the failure cases in terms of whether they were inexecutable, shown in maroon, or could be executed but didn’t reach the goals (shown in red). Note that when preconditions are relaxed, all plans are executable. We provide additional details on the relaxed assessments in Appendix A.2.
104
+
105
+ # 5 Evaluating LLMs as Idea Generators
106
+
107
+ While the preceding discussion establishes that LLMs are not capable of generating correct plans in autonomous mode, there is still the possibility that they can be useful idea generators for other sound external planners, verifiers or even humans-in-the-loop. In this section, we investigate this possibility and demonstrate that LLMs show promise on this front (especially with external planners and verfiers).
108
+
109
+ # 5.1 LLM Plans as Heuristics to Sound Planners
110
+
111
+ To see if the LLM generated plans can provide heuristic guidance to sound external planners, we use a local-search planner LPG [6] which generates plans by starting with a seed plan and iteratively repairing flaws until a correct plan is found. We feed the LLM-generated plan as the initial seed plan for LPG’s iterative search. Our hypothesis is that this might put LPG on the right path and reduce the time for it to generate a correct plan. It is interesting to note the similarities between this LLM+LPG approach, and the approaches used in case-based planning in the past [9, 17]. Here the LLM can be loosely viewed as “retrieving a potentially useful plan case/sketch” out of thin air, which the LPG adapts/corrects.
112
+
113
+ We utilized the plans that were generated by LLMs in the one-shot natural language prompt configuration on all three of our previous domains - Blocksworld, Mystery Blocksworld, and Logistics - as the "seed plans" from which LPG would begin its local search for a valid plan. For the Blocksworld domain, both GPT-4 and Instruct-GPT3 were evaluated, whereas for the Logistics and Mystery domains only GPT-4 was evaluated. We confirmed that all the plans that were generated by this LLM+LPG combination for both the domains were valid (which is as expected given that the underlying planner, LPG, is sound). To get an idea of how far the initial LLM generated plans were from the final correct solutions generated by LPG, we measured the Levenshtein edit distance between them. While the default LPG local search doesn’t aim to minimize the changes to the suggested plan (there do exist versions of LPG that do this; see [23]) , the edit distances also give an idea of how partially or approximately correct the original LLM plan is. Along with the edit distance, we also measured the number of search steps that were taken by the LPG to come up with a correct plan.
114
+
115
+ As shown in Table 3, the edit distances across domains are approximately half the length of the seed plans generated by the LLMs, indicating that $50 \%$ of the final plan retains the elements of the initial LLM plan. For each problem, we performed two additional plan initializations to serve as baselines: initializing with an empty plan and initializing with a random plan of the same length as the plan generated by the LLM for that problem. In the Blocksworld and Logistics4 domains, we see a significant improvement in search steps over the empty seed plan when GPT-4 is used and an even larger one over the random seed plan. Consistent with our findings in the autonomous mode, the usefulness of this assistance wanes in domains where the relationships between predicates can no longer be inferred from common sense understandings of their names: in the Mystery Blocksworld domain, the LLM only has meager reduction in step size over the random plan and actually uses more steps than the empty plan.
116
+
117
+ # 5.2 Verifier-assisted repeated backprompting of LLMs
118
+
119
+ The interaction between LLM and LPG was unidirectional–with LLM sending a seed plan that LPG aims to repair. One supposed advantage of LLMs is that they can be prompted to improve their solutions. Suppose we have access to a sound automated verifier that not only checks the plan correctness but also pinpoints faults (in terms of unsatisfied preconditions or delete interactions). Such feedback can be easily converted into a "backprompt" to the LLM, with the hope that LLM comes up with a better plan. This is what we do with the help of VAL[11]–an AI planning tool that uses the domain model to validate the correctness of the plans (and point out errors).
120
+
121
+ Table 4: GPT4 Performance with Backprompting by VAL [11]. Mystery BW had deceptive disguising. I.C - Instances correct (within 15 feedbacks); A.F.R - Avg. feedback rounds for correct instances.
122
+
123
+ <table><tr><td rowspan="2">Domain</td><td>1.C</td><td>A.FR</td></tr><tr><td>GPT-4</td><td>GPT-4</td></tr><tr><td>Blocksworld (BW)</td><td>41/50 (82%)</td><td>3.68</td></tr><tr><td>Logistics</td><td>35/50 (70%)</td><td>3.31</td></tr><tr><td>Mystery BW</td><td>5/50 (10%)</td><td>7.0</td></tr></table>
124
+
125
+ While, as we mentioned earlier, there can be thorny “clever hans” issues about humans prompting LLMs, an automated verifier mechanically backprompting the LLM doesn’t suffer from these.
126
+
127
+ We tested this setup on a subset of the failed instances in the one-shot natural language prompt configuration using GPT-4, given its larger context window. We set a threshold of 15 backprompting rounds. We tested on three domains–Blocksworld, Logistics and Mystery BW–with 50 failed instances from each domain. Table 4 shows the results. We provide the prompt+feedback examples in Appendix A.9. We found that GPT4 is able to come up with correct plans $82 \%$ of the Blocksworld instances and $70 \%$ of the Logistics one. The average number of backprompting rounds for these successful cases was 3.68 for BW and 3.31 for Logistics. The performance on the Mystery BW however remained quite poor–suggesting that even with back prompting, GPT4 cannot do well unless it can tease out commonsense patterns for the domain.
128
+
129
+ In this backprompting configuration, LLM serves as the candidate plan generator while VAL serves as the external sound verifier. While it is tempting to have a self-critiquing architecture with LLM also serving as the verifier, our recent work shows that approach to be of questionable utility as LLMs are no better at verifying plans than they are at generating them [36, 34].
130
+
131
+ # 5.3 LLMs as idea generators for humans-in-the-loop
132
+
133
+ Along with external planners and verifiers, LLMs may also offer their insights as plan suggestions directly to the human-in-the-loop which might potentially guide the user to the correct plan. After all, this sort of computer supported cooperative work (CSCW) use case has been the staple of LLM applications. We explored the efficacy of LLMs in assisting human planners through a betweensubjects user study, structured similarly to the study outlined in Section 4, but with two primary distinctions: (1) The study involved two separate participant groups. The first group received no assistance in devising plans, paralleling the approach in Section 4, while the second group had access to LLM-generated suggestions. (2) both participant sets were asked to offer subjective feedback via the NASA-TLX assessment tool [10], gauging their cognitive load. Additionally, participants from the second group evaluated the correctness of the LLM suggestions presented to them. We utilized the plans generated by GPT-4 to provide plan suggestions.
134
+
135
+ The study included 49 participants in the unassisted group and 48 in the LLM-assisted group. We evaluated the statistical significance regarding accuracy, time taken, and cognitive load between the groups. Our findings revealed no statistical significance between the groups across all three aspects.5. Notably, 3 out of 48 participants mistakenly accepted incorrect LLM suggestions, with two submitting these erroneous suggestions as their plans. This shows the potential for automation bias in such methodologies [5]. We have provided the details of the user-study in Appendix A.12.
136
+
137
+ # 6 Conclusion and Future Work
138
+
139
+ In this paper, we presented a critical investigation of the planning abilities of large language models (LLMs). To this end, we evaluated the plan generation abilities of LLMs in two different modes. In the autonomous mode, our results show that even in simple common-sense planning domains where humans could easily come up with plans, LLMs like GPT-3 exhibit a dismal performance. Even though there is an uptick in the performance by the newer GPT-4 in the blocksworld domain, it still fails miserably on the mystery blocksworld domain, indicating their inability to reason in an abstract manner. In the heuristic mode, we have seen that plans generated by LLMs can help improve the search of sound planners like LPG. Further, we showed that using external verifiers, we can point out the errors and back-prompt LLMs for a better plan. We showed that this indeed helps in common-sense domains. In the supplementary material, we show the prompt examples for all the configurations and the details of the user-studies (Appendix A.11). From our studies, we see that LLMs as autonomous planners fail miserably, but we also see that the generated plans improve the search when used by an underlying sound planner and that better plans can be obtained by back-prompting the LLM with feedback from an external verifier.
140
+
141
+ # 7 Acknowledgements
142
+
143
+ This research was supported by ONR grants N00014-18-1-2442, N00014-18-1-2840, N00014- 19-1-2119 and N00014-23-1-2409, AFOSR grant FA9550-18-1-0067, DARPA SAIL-ON grant W911NF-19-2-0006, and a JP Morgan AI Faculty Research Grant to Kambhampati. Sreedharan was supported in part by NSF grant 2303019.
144
+
145
+ # References
146
+
147
+ [1] Clever Hans. https://en.wikipedia.org/wiki/Clever_Hans.
148
+
149
+ [2] Michael Ahn, Anthony Brohan, Noah Brown, Yevgen Chebotar, Omar Cortes, Byron David, Chelsea Finn, Keerthana Gopalakrishnan, Karol Hausman, Alex Herzog, et al. Do as i can, not as i say: Grounding language in robotic affordances. arXiv preprint arXiv:2204.01691, 2022.
150
+
151
+ [3] Tom B Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared 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.
152
+
153
+ [4] 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.
154
+
155
+ [5] Mary L Cummings. Automation bias in intelligent time critical decision support systems. In Decision making in aviation, pages 289–294. Routledge, 2017.
156
+
157
+ [6] Alfonso Gerevini and Ivan Serina. Lpg: A planner based on local search for planning graphs with action costs. In AIPS, volume 2, pages 281–290, 2002.
158
+
159
+ [7] Mor Geva, Daniel Khashabi, Elad Segal, Tushar Khot, Dan Roth, and Jonathan Berant. Did aristotle use a laptop? a question answering benchmark with implicit reasoning strategies. Transactions of the Association for Computational Linguistics, 9:346–361, 2021.
160
+
161
+ [8] Malik Ghallab, Dana S. Nau, and Paolo Traverso. Automated Planning and Acting. Cambridge University Press, 2016.
162
+
163
+ [9] Kristian J. Hammond. CHEF: A model of case-based planning. In Tom Kehler, editor, Proceedings of the 5th National Conference on Artificial Intelligence. Philadelphia, PA, USA, August 11-15, 1986. Volume 1: Science, pages 267–271. Morgan Kaufmann, 1986.
164
+
165
+ [10] Sandra G Hart and Lowell E Staveland. Development of nasa-tlx (task load index): Results of empirical and theoretical research. Advances in psychology, 52:139–183, 1988.
166
+
167
+ [11] Richard Howey, Derek Long, and Maria Fox. VAL: Automatic plan validation, continuous effects and mixed initiative planning using PDDL. In 16th IEEE International Conference on Tools with Artificial Intelligence, pages 294–301. IEEE, 2004.
168
+
169
+ [12] Wenlong Huang, Pieter Abbeel, Deepak Pathak, and Igor Mordatch. Language models as zero-shot planners: Extracting actionable knowledge for embodied agents. In International Conference on Machine Learning, pages 9118–9147. PMLR, 2022.
170
+
171
+ [13] Wenlong Huang, Fei Xia, Ted Xiao, Harris Chan, Jacky Liang, Pete Florence, Andy Zeng, Jonathan Tompson, Igor Mordatch, Yevgen Chebotar, et al. Inner monologue: Embodied reasoning through planning with language models. arXiv preprint arXiv:2207.05608, 2022.
172
+
173
+ [14] IPC. International planning competition, 1998.
174
+
175
+ [15] Liwei Jiang, Jena D. Hwang, Chandrasekhar Bhagavatula, Ronan Le Bras, Maxwell Forbes, Jon Borchardt, Jenny Liang, Oren Etzioni, Maarten Sap, and Yejin Choi. Delphi: Towards Machine Ethics and Norms. ArXiv, abs/2110.07574, 2021.
176
+
177
+ [16] Subbarao Kambhampati. AI as (an Ersatz) Natural Science? https://cacm.acm.org/blogs/blogcacm/261732-ai-as-an-ersatz-natural-science/fulltext, Jun 2022.
178
+
179
+ [17] Subbarao Kambhampati and James A. Hendler. A validation-structure-based theory of plan modification and reuse. Artif. Intell., 55(2):193–258, 1992.
180
+
181
+ [18] Subbarao Kambhampati, Karthik Valmeekam, Matthew Marquez, and Lin Guan. On the role of large language models in planning, July 2023. Tutorial presented at the International Conference on Automated Planning and Scheduling (ICAPS), Prague. https://yochan-lab.github. io/tutorial/ICAPS-2023/.
182
+
183
+ [19] Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. Large Language Models are Zero-Shot Reasoners. arXiv preprint arXiv:2205.11916, 2022.
184
+
185
+ [20] Paul Pu Liang, Chiyu Wu, Louis-Philippe Morency, and Ruslan Salakhutdinov. Towards understanding and mitigating social biases in language models. In International Conference on Machine Learning, pages 6565–6576. PMLR, 2021.
186
+
187
+ [21] Bo Liu, Yuqian Jiang, Xiaohan Zhang, Qiang Liu, Shiqi Zhang, Joydeep Biswas, and Peter Stone. Llm+ p: Empowering large language models with optimal planning proficiency. arXiv preprint arXiv:2304.11477, 2023.
188
+
189
+ [22] Drew McDermott, Malik Ghallab, Adele E. Howe, Craig A. Knoblock, Ashwin Ram, Manuela M. Veloso, Daniel S. Weld, and David E. Wilkins. Pddl-the planning domain definition language. 1998.
190
+
191
+ [23] Tuan Anh Nguyen, Minh Do, Alfonso Emilio Gerevini, Ivan Serina, Biplav Srivastava, and Subbarao Kambhampati. Generating diverse plans to handle unknown and partially known user preferences. Artificial Intelligence, 190:1–31, 2012.
192
+
193
+ [24] OpenAI. Introducing chatgpt by openai, 2022.
194
+
195
+ [25] OpenAI. Gpt-4 technical report, 2023.
196
+
197
+ [26] Long Ouyang, Jeff Wu, Xu Jiang, Diogo Almeida, Carroll L Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Training language models to follow instructions with human feedback. arXiv preprint arXiv:2203.02155, 2022.
198
+
199
+ [27] Alec Radford, Karthik Narasimhan, Tim Salimans, and Ilya Sutskever. Improving language understanding by generative pre-training. 2018.
200
+
201
+ [28] Shreyas Sundara Raman, Vanya Cohen, Eric Rosen, Ifrah Idrees, David Paulius, and Stefanie Tellex. Planning with large language models via corrective re-prompting. arXiv preprint arXiv:2211.09935, 2022.
202
+
203
+ [29] Keisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. Winogrande: An adversarial winograd schema challenge at scale. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 8732–8740, 2020.
204
+
205
+ [30] Patrick Schramowski, Cigdem Turan, Nico Andersen, Constantin A Rothkopf, and Kristian Kersting. Large pre-trained language models contain human-like biases of what is right and wrong to do. Nature Machine Intelligence, 4(3):258–268, 2022.
206
+
207
+ [31] Big Science. BigScience Large Open-science Open-access Multilingual Language Model. https://huggingface.co/bigscience/bloom, 2022.
208
+
209
+ [32] Tom Silver, Varun Hariprasad, Reece S Shuttleworth, Nishanth Kumar, Tomás Lozano-Pérez, and Leslie Pack Kaelbling. PDDL planning with pretrained large language models. In NeurIPS 2022 Foundation Models for Decision Making Workshop, 2022.
210
+
211
+ [33] Aarohi Srivastava, Abhinav Rastogi, Abhishek Rao, Abu Awal Md Shoeb, Abubakar Abid, Adam Fisch, Adam R Brown, Adam Santoro, Aditya Gupta, Adrià Garriga-Alonso, et al. Beyond the imitation game: Quantifying and extrapolating the capabilities of language models. arXiv preprint arXiv:2206.04615, 2022.
212
+
213
+ [34] Kaya Stechly, Matthew Marquez, and Subbarao Kambhampati. Gpt-4 doesn’t know it’s wrong: An analysis of iterative prompting for reasoning problems. arXiv preprint arXiv:2310.12397, 2023.
214
+
215
+ [35] Alon Talmor, Jonathan Herzig, Nicholas Lourie, and Jonathan Berant. Commonsenseqa: A question answering challenge targeting commonsense knowledge. arXiv preprint arXiv:1811.00937, 2018.
216
+
217
+ [36] Karthik Valmeekam, Matthew Marquez, and Subbarao Kambhampati. Can large language models really improve by self-critiquing their own plans? arXiv preprint arXiv:2310.08118, 2023.
218
+
219
+ [37] Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Ed Chi, Quoc Le, and Denny Zhou. Chain of thought prompting elicits reasoning in large language models. arXiv preprint arXiv:2201.11903, 2022.
220
+ [38] Yaqi Xie, Chen Yu, Tongyao Zhu, Jinbin Bai, Ze Gong, and Harold Soh. Translating natural language to planning goals with large-language models. arXiv preprint arXiv:2302.05128, 2023.
221
+ [39] Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik R Narasimhan, and Yuan Cao. React: Synergizing reasoning and acting in language models. In The Eleventh International Conference on Learning Representations, 2023.
222
+ [40] Honghua Zhang, Liunian Harold Li, Tao Meng, Kai-Wei Chang, and Guy Van den Broeck. On the paradox of learning to reason from data. arXiv preprint arXiv:2205.11502, 2022.
parse/dev/X6dEqXIsEW/X6dEqXIsEW_content_list.json ADDED
@@ -0,0 +1,1248 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "On the Planning Abilities of Large Language Models : A Critical Investigation ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 122,
9
+ 826,
10
+ 172
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Karthik Valmeekam School of Computing & AI Arizona State University Tempe. kvalmeek@asu.edu ",
17
+ "bbox": [
18
+ 243,
19
+ 226,
20
+ 459,
21
+ 281
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Matthew Marquez School of Computing & AI Arizona State University, Tempe. mmarqu22@asu.edu ",
28
+ "bbox": [
29
+ 535,
30
+ 227,
31
+ 753,
32
+ 281
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "Sarath Sreedharan∗ Department of Computer Science, Colorado State University, Fort Collins. sarath.sreedharan@colostate.edu ",
39
+ "bbox": [
40
+ 228,
41
+ 303,
42
+ 493,
43
+ 357
44
+ ],
45
+ "page_idx": 0
46
+ },
47
+ {
48
+ "type": "text",
49
+ "text": "Subbarao Kambhampati School of Computing & AI Arizona State University, Tempe. rao@asu.edu ",
50
+ "bbox": [
51
+ 552,
52
+ 303,
53
+ 771,
54
+ 358
55
+ ],
56
+ "page_idx": 0
57
+ },
58
+ {
59
+ "type": "text",
60
+ "text": "Abstract ",
61
+ "text_level": 1,
62
+ "bbox": [
63
+ 462,
64
+ 395,
65
+ 535,
66
+ 411
67
+ ],
68
+ "page_idx": 0
69
+ },
70
+ {
71
+ "type": "text",
72
+ "text": "Intrigued by the claims of emergent reasoning capabilities in LLMs trained on general web corpora, in this paper, we set out to investigate their planning capabilities. We aim to evaluate (1) the effectiveness of LLMs in generating plans autonomously in commonsense planning tasks and (2) the potential of LLMs as a source of heuristic guidance for other agents (AI planners) in their planning tasks. We conduct a systematic study by generating a suite of instances on domains similar to the ones employed in the International Planning Competition and evaluate LLMs in two distinct modes: autonomous and heuristic. Our findings reveal that LLMs’ ability to generate executable plans autonomously is rather limited, with the best model (GPT-4) having an average success rate of ${ \\sim } 1 2 \\%$ across the domains. However, the results in the heuristic mode show more promise. In the heuristic mode, we demonstrate that LLM-generated plans can improve the search process for underlying sound planners and additionally show that external verifiers can help provide feedback on the generated plans and back-prompt the LLM for better plan generation. ",
73
+ "bbox": [
74
+ 233,
75
+ 426,
76
+ 766,
77
+ 635
78
+ ],
79
+ "page_idx": 0
80
+ },
81
+ {
82
+ "type": "text",
83
+ "text": "1 Introduction ",
84
+ "text_level": 1,
85
+ "bbox": [
86
+ 174,
87
+ 661,
88
+ 310,
89
+ 679
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "It would be no exaggeration to say that transformer-based large language models (LLMs) have revolutionized the field of natural language processing (NLP). Kicked off by the advances presented by the GPT- $\\mathbf { X }$ models developed by OpenAI [27], these types of language models currently provide state-of-the-art performance in many of the standard NLP tasks. Although LLMs were originally developed mostly to do word sequence completion tasks, with no guarantees about the completion beyond its coherence, there have been increasing claims and anecdotal evidence that they have other emergent capabilities that are not normally associated with sequence completion. Indeed, the hints of such emergent capabilities has started a veritable land rush, with researchers probing (prompting) and studying LLM behavior almost as if they were artificial organisms (c.f. [16]). Of particular interest to us in this paper is the thread of efforts that aim to investigate (and showcase) reasoning abilities of LLMs–including commonsense reasoning [35, 29, 7], logical reasoning [33], and even ethical reasoning [15]. The macro-tenor of the drumbeat of these works has been suggesting that LLM’s are indeed capable of doing such kinds of reasoning [19, 37, 4]. ",
96
+ "bbox": [
97
+ 174,
98
+ 694,
99
+ 825,
100
+ 875
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "One type of reasoning task that has been well studied in the AI community is planning and sequential decision making. At its simplest, planning involves developing a course of actions (policy) which when executed takes the agent to a desired state of the world. Planning has generally been studied primarily as an inference on world and reward models–whether specified by humans or learned by the agent by interacting with its world. In this paper, we are interested in seeing what planning abilities, if any, LLMs may already have, given their high capacity functions (with billions of tunable parameters) trained on web-scale corpora. Specifically, we are interested in answering two broad questions: ",
107
+ "bbox": [
108
+ 173,
109
+ 90,
110
+ 825,
111
+ 188
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "1. How effective are LLMs by themselves in generating simple plans in commonsense planning tasks (of the type that humans are generally quite good at)? \n2. How good are LLMs in being a source of heuristic guidance for other agents in their planning tasks? ",
118
+ "bbox": [
119
+ 209,
120
+ 200,
121
+ 825,
122
+ 262
123
+ ],
124
+ "page_idx": 1
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "Notice that in theory, it is possible for LLMs to be very effective as idea generators for external sound planners or humans in the loop in computer-supported cooperative work scenarios, while themselves being very bad at generating plans that are guaranteed to be correct. This is especially likely because the chief power of LLMs comes from their pattern-finding abilities than from firstprinciples simulations over world models. Compared to a planner that is guaranteed to be correct in a narrow set of domains, LLMs may likely be good at generating plausible (but not guaranteed to be correct) plan heuristics/suggestions in many more domains. ",
129
+ "bbox": [
130
+ 174,
131
+ 273,
132
+ 825,
133
+ 372
134
+ ],
135
+ "page_idx": 1
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "To investigate these questions in a systematic rather than anecdotal manner, we generate a suite of planning problem instances 2 based on the kinds of domains employed in the International Planning Competition [14]. To eliminate the subjective aspect of analysis that forms the core part of many earlier efforts on evaluating the reasoning capabilities of LLMs, we automate the evaluation by leveraging models and tools from the automated planning community. The evaluation itself is done in two modes (shown in Figure 1). In the first “autonomous\" mode, LLMs are used standalone, and we directly assess the quality and correctness of plans they generate. As we shall see, the results in the autonomous mode are pretty bleak. On an average, only about $12 \\%$ of the plans that the best LLM (GPT-4) generates are actually executable without errors and reach their goals. We will show that the choice of the specific LLM (we have tested the family of GPT LLMs including GPT-4 [25], GPT-3.5 [24], InstructGPT-3.5, InstructGPT-3 [26] and GPT-3 [3]), as well as fine tuning does not seem to have a major effect on this dismal performance. We also show that the performance deteriorates further if the names of the actions and objects in the domain are obfuscated–a change that doesn’t in anyway affect the performance of the standard AI planners. To shed further light on the performance of GPT4, we present an evaluation of the plans it generates under a series of more relaxed (more forgiving) executability conditions. Further, we provide a human baseline for the simplest domain in our set of domains, by presenting the planning instances to human subjects (through IRB-approved studies) and evaluating the quality and correctness of their plans. These results are substantially better than those of LLMs–confirming that LLMs can’t plan even in a simple common sense domain in the autonomous mode. In the second “heuristic\" mode, the plans produced by LLMs are given as input to an automated planner working off of a correct domain model to check whether the LLM’s plans help with the search process of the underlying planner to come up with correct plans. Specifically we show that a well known automated planner called LPG [6], that uses local search to locate and remove flaws in a candidate plan to make it correct, is able to repair the LLM plans with relative ease. We compare the LLM+LPG combination with two baselines, one where an empty plan is used as the seed plan for the LPG and two, where a random plan is provided as the seed plan to the LPG. We show that the average search steps by the LLM+LPG combination is much lesser than both the baselines, thereby revealing that LLMs’ plans are indeed helping with the search process of the underlying planner. Further, instead of having LPG correct the plans, we use an external verifier, VAL [11], to point out the errors in the LLM-generated plans and back-prompt the LLM for a new plan with this feedback. We show that this repeated interaction indeed improves the plan correctness in common-sense domains. Overall, our findings demonstrate that, with respect to planning, LLMs’ perform poorly in the autonomous mode but the generated plans can help AI planners in the search process or can be given to external verifiers and back-prompt the LLM for better plans. In this paper, we first present an overview of the related work. Following that, we describe the necessary background and the prompt generation pipeline. Finally, we provide the results and analysis of various experiments undertaken in both autonomous and heuristic evaluation modes. ",
140
+ "bbox": [
141
+ 174,
142
+ 378,
143
+ 825,
144
+ 448
145
+ ],
146
+ "page_idx": 1
147
+ },
148
+ {
149
+ "type": "image",
150
+ "img_path": "images/89c4ff73d93d4e9706caa68cf963311cc1fc37c13740df2131635c53ad85a188.jpg",
151
+ "image_caption": [
152
+ "Figure 1: The diagrammatic overview of the two modes of LLMs for planning. "
153
+ ],
154
+ "image_footnote": [],
155
+ "bbox": [
156
+ 251,
157
+ 462,
158
+ 754,
159
+ 609
160
+ ],
161
+ "page_idx": 1
162
+ },
163
+ {
164
+ "type": "text",
165
+ "text": "",
166
+ "bbox": [
167
+ 173,
168
+ 637,
169
+ 825,
170
+ 887
171
+ ],
172
+ "page_idx": 1
173
+ },
174
+ {
175
+ "type": "text",
176
+ "text": "",
177
+ "bbox": [
178
+ 174,
179
+ 90,
180
+ 825,
181
+ 285
182
+ ],
183
+ "page_idx": 2
184
+ },
185
+ {
186
+ "type": "text",
187
+ "text": "2 Related Work ",
188
+ "text_level": 1,
189
+ "bbox": [
190
+ 174,
191
+ 299,
192
+ 321,
193
+ 316
194
+ ],
195
+ "page_idx": 2
196
+ },
197
+ {
198
+ "type": "text",
199
+ "text": "In this work, we look at LLMs’ planning capabilities when the domain is given as part of the prompt (as is the standard practice in automated planning [8]). Our evaluation focuses on zero-shot (just domain and problem specification), and few-shot (example problems with plans) modes. There have been a few works that looked at the planning capabilities of LLMs. Most of them, such as [12, 2] focus on commonsense domains/tasks (e.g. moving things in kitchens, wedding/menu planning etc.) and thus evaluate LLMs in a mode wherein the prompt doesn’t include any information about the specific domain. Plans generated in that way are hard to evaluate as they are not directed at any plan executor and the humans often wind up giving the benefit of doubt for a plausible–but not actually executable–plan. This is why in SayCan [2], where executability is critical, they try to filter out/interpret the LLM plans in terms of the skills/actions that are actually available to the executor. While SayCan does this in a rather convoluted way that requires access to the internal log probabilities of the LLM, our approach simplifies this by specifying the domain as part of the prompt. In all our experiments, we found that LLMs only use the actions listed as part of the domain specification. ",
200
+ "bbox": [
201
+ 174,
202
+ 332,
203
+ 825,
204
+ 512
205
+ ],
206
+ "page_idx": 2
207
+ },
208
+ {
209
+ "type": "text",
210
+ "text": "One other mode of evaluation of planning capabilities in the literature involves the user incrementally interacting with the LLM, and re-prompting it to point out flaws in its plans, with the hope that the LLM eventually reaches an executable plan [13, 39, 28]. Such evaluations are notorious for their Clever Hans effect [1] with the actual planning being done by the humans in the loop rather than the LLMs themselves. We thus separate our evaluation into two modes–autonomous and as assistants to external planners/reasoners. There have also been efforts which mostly depended on LLMs as “translators\" of natural language problem/goal specification into formal specifications, which are then thrown over to sound external planners [38, 21]. Such efforts don’t shed any light on the internal planning capabilities of the LLMs themselves, as our evaluations in autonomous and assistive modes do. Finally, after our initial study and benchmark were made public, other groups did parallel studies that largely corroborate our results on the ineffectiveness of LLMs in finding executable plans [32, 21]. ",
211
+ "bbox": [
212
+ 174,
213
+ 518,
214
+ 825,
215
+ 684
216
+ ],
217
+ "page_idx": 2
218
+ },
219
+ {
220
+ "type": "text",
221
+ "text": "Taking a broader perspective, making plans in the world involves (1) discovering actions (and their precondition/effect causal dependencies), and (2) sequencing an appropriate subset of available/discovered actions to achieve the agent’s goals. The former requires broad knowledge about actions available in the world and their individual effects, while the latter requires deep drilling-down over a given set of actions to ensure that all goals are supported (causal chaining) without any undesirable interactions. LLMs have an edge on the former–they do indeed have web-scale broad knowledge! As we shall see however, they are very bad at the second phase of developing valid interaction-free plans (in part, because LLMs don’t have the ability to do combinatorial search). Most cases in literature (as outlined in [18]) where LLMs are claimed to have \"planned\" turn out, upon close examination, to be instances of phase 1–your wedding plans, recipe plans etc.–where you are either using a very forgiving plan correctness criterion, or the phase 2 is vacuous. Standard AI planners–on the other hand–assume that the discovery part is done and handed down as a compact domain model, and focus mostly on the second part: selecting among known actions to establish causal chains and sequencing them to make them interaction free. In this sense, LLMs and AI planners can be complementary, as we have shown in this paper–with the former helping with phase 1–either with a candidate/approximate plan or domain model–and the latter with phase 2. ",
222
+ "bbox": [
223
+ 174,
224
+ 690,
225
+ 825,
226
+ 911
227
+ ],
228
+ "page_idx": 2
229
+ },
230
+ {
231
+ "type": "text",
232
+ "text": "3 Prompt Generation for Classical Planning Problems ",
233
+ "text_level": 1,
234
+ "bbox": [
235
+ 174,
236
+ 88,
237
+ 640,
238
+ 107
239
+ ],
240
+ "page_idx": 3
241
+ },
242
+ {
243
+ "type": "text",
244
+ "text": "3.1 Background ",
245
+ "text_level": 1,
246
+ "bbox": [
247
+ 174,
248
+ 121,
249
+ 299,
250
+ 136
251
+ ],
252
+ "page_idx": 3
253
+ },
254
+ {
255
+ "type": "text",
256
+ "text": "Given that we are interested in investigating the basic reasoning about actions and change problem, we want to look at the most fundamental planning formalism first, namely the goal-directed deterministic planning problem. Colloquially referred to as classical planning problem, these problem classes consist of a problem domain, an initial state and a goal state. The problem domain consists of a set of fluents which correspond to predicates with some arity and a set of actions. The state-space for the planning problem is defined by the possible truth assignment over the predicates. Each action consists of preconditions and effects where preconditions is a set of predicates that describe when an action can be executed and effects are set of predicates that describe what happens when an action is executed. The effects can further consist of add effects, which is the set of predicates that will be set true by the action, and delete effects, which is the set of predicates that will be set false. The solution for a planning problem is a sequence of actions, or a plan, that when applied in the initial state will result in a state where the goal conditions are satisfied. A standard representation to specify such kind of planning problems is the Planning Definition and Domain Language (PDDL) [22]. Below is a snippet of an action from a popular benchmark problem called Blocksworld, in PDDL. The action corresponds to picking up a block in that domain. ",
257
+ "bbox": [
258
+ 174,
259
+ 146,
260
+ 825,
261
+ 353
262
+ ],
263
+ "page_idx": 3
264
+ },
265
+ {
266
+ "type": "text",
267
+ "text": "(:action pickup :parameters (?ob) :precondition (and (clear ?ob) (on-table ?ob) (arm-empty)) :effect (and (holding ?ob) (not (clear ?ob)) (not (on-table ?ob)) (not (arm-empty)))) ",
268
+ "bbox": [
269
+ 199,
270
+ 380,
271
+ 604,
272
+ 433
273
+ ],
274
+ "page_idx": 3
275
+ },
276
+ {
277
+ "type": "text",
278
+ "text": "A more detailed description on classical planning problems is provided in Appendix A.1. We now will describe how we generate the prompts that are given to the LLMs. ",
279
+ "bbox": [
280
+ 174,
281
+ 463,
282
+ 823,
283
+ 492
284
+ ],
285
+ "page_idx": 3
286
+ },
287
+ {
288
+ "type": "text",
289
+ "text": "3.2 Prompt Generation ",
290
+ "text_level": 1,
291
+ "bbox": [
292
+ 174,
293
+ 510,
294
+ 349,
295
+ 523
296
+ ],
297
+ "page_idx": 3
298
+ },
299
+ {
300
+ "type": "image",
301
+ "img_path": "images/642747863f0ac95f99387bb3732e05cc831ea3428dac9efab84f28bb5198f230.jpg",
302
+ "image_caption": [
303
+ "Figure 2: The diagrammatic overview of the prompt generation pipeline. The prompt configurations for the different experiments are generated from PDDL domain files and are modified with an example generator and natural language translator as needed depending on the experiment requirements. "
304
+ ],
305
+ "image_footnote": [],
306
+ "bbox": [
307
+ 214,
308
+ 545,
309
+ 761,
310
+ 671
311
+ ],
312
+ "page_idx": 3
313
+ },
314
+ {
315
+ "type": "text",
316
+ "text": "Prompt Configurations: We have developed a suite of unique planning problems to test LLMs’ abilities to generate plans. We have multiple prompt configurations based on this suite of problems, varying in both the method of presentation as well as number of examples given to the LLM. In particular, we use two methods of presentation, natural language and PDDL, as well as two different methods of providing examples, zero shot (with no examples provided) and one shot (with an example provided), giving us four different configuration combinations for our experiments. ",
317
+ "bbox": [
318
+ 173,
319
+ 738,
320
+ 825,
321
+ 821
322
+ ],
323
+ "page_idx": 3
324
+ },
325
+ {
326
+ "type": "text",
327
+ "text": "Within a prompt, LLMs are first provided with a lifted domain description. For one shot configurations, the prompt additionally contains an example instance of a planning problem (consisting of a description of the initial state and the goal) and the corresponding plan (which ends with a tag, referred to as the plan-end tag, that denotes the end of the plan). All prompts end with a planning problem description. The text generated by the LLM until the plan-end tag is used as the candidate for extracting the plan. If the extractor cannot reasonably extract an instance, it is marked as incorrect. ",
328
+ "bbox": [
329
+ 174,
330
+ 827,
331
+ 825,
332
+ 911
333
+ ],
334
+ "page_idx": 3
335
+ },
336
+ {
337
+ "type": "table",
338
+ "img_path": "images/227e2c1fa88c5e6a4477527b30589b83688e8cff3dc2f8e57c439fe69d38ebfc.jpg",
339
+ "table_caption": [
340
+ "Table 1: Results of GPT-4, GPT-3.5 (popularly known as ChatGPT), Instruct-GPT3.5, Instruct-GPT3 (text-davinci-002) and GPT3 (davinci) for the Plan Generation task with prompts in natural language. "
341
+ ],
342
+ "table_footnote": [],
343
+ "table_body": "<table><tr><td rowspan=\"2\">Domain</td><td rowspan=\"2\">Method</td><td colspan=\"5\">Instances correct</td></tr><tr><td>GPT-4</td><td>GPT-3.5</td><td>I-GPT3.5</td><td>I-GPT3</td><td>GPT-3</td></tr><tr><td rowspan=\"3\">Blocksworld (BW)</td><td>One-shot</td><td>206/600 (34.3%)</td><td>37/600 (6.1%)</td><td>54/600 (9%)</td><td>41/600 (6.8%)</td><td>6/600 (1%)</td></tr><tr><td>Zero-shot</td><td>210/600 (34.6%)</td><td>8/600 (1.3%)</td><td>1</td><td>1</td><td>1</td></tr><tr><td>COT</td><td>214/600 (35.6%)</td><td>=</td><td></td><td>1</td><td></td></tr><tr><td rowspan=\"2\">Logistics Domain</td><td>One-shot</td><td>28/200 (14%)</td><td>1/200 (0.5%)</td><td>6/200 (3%)</td><td>3/200 (1.5%)</td><td></td></tr><tr><td>Zero-shot</td><td>15/200 (7.5%)</td><td>1/200 (0.5%)</td><td>=</td><td>-</td><td>1</td></tr><tr><td rowspan=\"3\">Mystery BW (Deceptive)</td><td>One-shot</td><td>26/600 (4.3%)</td><td>0/600 (0%)</td><td>4/600 (0.6%)</td><td>14/600</td><td>0/600</td></tr><tr><td>Zero-shot</td><td>1/600 (0.16%)</td><td>0/600 (0%)</td><td>-</td><td>(2.3%) 1</td><td>(0%) 1</td></tr><tr><td>COT</td><td>54/600 (9%)</td><td></td><td>-</td><td>-</td><td>1</td></tr><tr><td rowspan=\"2\">Mystery BW (Randomized)</td><td>One-shot</td><td>12/600 (2%)</td><td>0/600 (0%)</td><td>5/600 (0.8%)</td><td>5/600 (0.8%)</td><td>1/600</td></tr><tr><td>Zero-shot</td><td>0/600 (0%)</td><td>0/600 (0%)</td><td>-</td><td>-</td><td>(0.1%) -</td></tr></table>",
344
+ "bbox": [
345
+ 174,
346
+ 121,
347
+ 820,
348
+ 405
349
+ ],
350
+ "page_idx": 4
351
+ },
352
+ {
353
+ "type": "text",
354
+ "text": "The prompt is either formatted in natural langauge or PDDL. Natural language prompts utilize complete natural language sentences to describe feasible actions in the domain. Initial conditions are also reported as complete sentences. Plans in the natural language setting take the form of a series of commands such as \"stack the orange block on top of the blue block\". As implied by the name, PDDL prompts format all elements (domain description, initial state, goal state, and plans) using PDDL. We point the reader to the supplementary material for examples on each of these prompt configurations. ",
355
+ "bbox": [
356
+ 173,
357
+ 420,
358
+ 825,
359
+ 503
360
+ ],
361
+ "page_idx": 4
362
+ },
363
+ {
364
+ "type": "text",
365
+ "text": "Chain of Thought Prompting: In addition to the four experiments above, we look at a fifth experiment using a state tracking chain of thought prompting technique in a natural language one shot setting. Within this configuration, we provide an annotated example where each action is annotated with the state prior to the action, the reason for why the action is applicable in the prior state, and the resulting state after applying the action. After the example, a meta-explanation about plan correctness is provided. The LLM is then asked to return a response making the same state tracking and justification annotations that were included in the example. ",
366
+ "bbox": [
367
+ 174,
368
+ 516,
369
+ 825,
370
+ 613
371
+ ],
372
+ "page_idx": 4
373
+ },
374
+ {
375
+ "type": "text",
376
+ "text": "Prompt Generation Pipeline: We’ve developed a prompt generation pipeline (visualized in Figure 2) that accepts PDDL domain files as input and outputs prompts that follow the experiments described above. The prompt generation component takes care of creating the set of PDDL problems to be solved for all experiments. Following that, examples are added to the prompt in one shot experiments. While our setup utilizes a planner during example generation, any example generation technique could be used here so long as the examples generated are valid plans. In the state tracking experiment, we also have developed a component to add justification annotations for examples so that the examples reflect what we expect of the LLM. The last step before finishing is translation: since problems at this point are currently in PDDL, prompts for all natural language experiments (whether an example was added or not) need to be translated into natural language. We utilize a domain-specific translator to do so. ",
377
+ "bbox": [
378
+ 173,
379
+ 626,
380
+ 825,
381
+ 779
382
+ ],
383
+ "page_idx": 4
384
+ },
385
+ {
386
+ "type": "text",
387
+ "text": "4 Evaluating Planning Capabilities of LLMs in Autonomous Mode ",
388
+ "text_level": 1,
389
+ "bbox": [
390
+ 174,
391
+ 796,
392
+ 741,
393
+ 814
394
+ ],
395
+ "page_idx": 4
396
+ },
397
+ {
398
+ "type": "text",
399
+ "text": "In the autonomous mode, we treat the LLM as an automated planner and perform a single run of the dataset on the LLMs for each domain and prompt configuration. In this mode, the plan generated by the LLM is back-translated from natural language to forms that can be used by external plan validators. For each domain, we perform template-based translation to translate between PDDL and natural language for the natural language prompt configurations. We use VAL [11] to evaluate the translated plan with the corresponding domain and problem file. Our evaluation here primarily focuses on the GPT family of LLMs. We tested GPT-4 [25] and GPT-3.5 (commonly known as Chat-GPT) [24] on all the prompt configurations while we tested the older versions of GPT (namely, Instruct-GPT3 and GPT3) on one-shot natural language prompts across the domains. We set the temperature for all models to be 0, thereby making them deterministic. In this section, we detail the evaluation of LLMs on these domains and prompt configurations. We would like to point the reader to the Appendix for example prompts. ",
400
+ "bbox": [
401
+ 174,
402
+ 827,
403
+ 825,
404
+ 911
405
+ ],
406
+ "page_idx": 4
407
+ },
408
+ {
409
+ "type": "table",
410
+ "img_path": "images/c8a2d7201517b6ce6ff9efc88d8f6d4ddfafd19773aad3dca427ec8bfddfdd71.jpg",
411
+ "table_caption": [
412
+ "Table 2: Results of GPT-4 and GPT-3.5 (popularly known as ChatGPT) for the Plan Generation task with one or zero examples in the prompt by directly providing the domain and problem in PDDL. "
413
+ ],
414
+ "table_footnote": [],
415
+ "table_body": "<table><tr><td rowspan=\"2\">Domain</td><td rowspan=\"2\">Method</td><td colspan=\"2\">Instances correct</td></tr><tr><td>GPT-4</td><td>GPT-3.5</td></tr><tr><td rowspan=\"2\">Blocksworld (BW)</td><td>One-shot</td><td>75/600 (12.5%)</td><td>12/600 (2%)</td></tr><tr><td>Zero-shot</td><td>106/600 (17.6%)</td><td>12/600 (2%)</td></tr><tr><td rowspan=\"2\">Logistics Domain</td><td>One-shot</td><td>28/200 (14%)</td><td>1/200 (0.5%)</td></tr><tr><td>Zero-shot</td><td>11/200 (5.5%)</td><td>0/200 (0%)</td></tr><tr><td rowspan=\"2\">Mystery BW (Deceptive)</td><td>One-shot</td><td>17/600 (2.8%)</td><td>1/600 (0.1%)</td></tr><tr><td>Zero-shot</td><td>3/600 (0.5%)</td><td>0/600 (0%)</td></tr></table>",
416
+ "bbox": [
417
+ 261,
418
+ 122,
419
+ 732,
420
+ 280
421
+ ],
422
+ "page_idx": 5
423
+ },
424
+ {
425
+ "type": "text",
426
+ "text": "",
427
+ "bbox": [
428
+ 174,
429
+ 304,
430
+ 825,
431
+ 388
432
+ ],
433
+ "page_idx": 5
434
+ },
435
+ {
436
+ "type": "text",
437
+ "text": "Evaluation of LLMs on the Blocksworld domain: Blocksworld problems capture common sense block manipulations and consist of a set of blocks. Blocks are identified with unique colors and are placed either on a table or on top of other blocks. The goal is to arrange some of these blocks in a stack in a particular order. The general expectation here would be that one can pick up a block if it is clear, i.e., there are no other blocks on top of that block and you can only stack a block on top of another block if it is clear. The choice of this particular domain is motivated by both the fact that this is a simple common sense domain and is a very popular domain in planning literature, that has a long history of being used in various planning challenges. The instances were generated using a PDDL generator employed in the IPC competitions. We permitted the generation of problems that varied in terms of the number of blocks (3-5), optimal plan length, and goal properties (positive, negative, or no interactions between subgoals). ",
438
+ "bbox": [
439
+ 174,
440
+ 411,
441
+ 825,
442
+ 563
443
+ ],
444
+ "page_idx": 5
445
+ },
446
+ {
447
+ "type": "text",
448
+ "text": "As shown in Table 1 and Table 2, GPT-4 improves upon previous versions of GPT models in the Blocksworld domain across all four prompt configurations. However, the overall performance is still approximately $34 \\%$ in the Blocksworld dataset. Even the chain of thought style prompting (indicated by COT in the tables) had little effect on improving the performance. GPT-4 performs better with natural language prompts (206 and 210 instances for one-shot and zero-shot prompts, respectively) as opposed to PDDL prompts (75 and 106 instances). The performance drops significantly with other GPT models. We also discovered that for instances where Instruct-GPT3 generated the correct plans, replacing the example plan in the prompt with another example plan led to an even greater drop in accuracy. This suggests that the LLM seems to rely primarily on pattern matching, rather than inducing some internal model from the prompts. Overall, even in a seemingly simple common-sense domain like Blocksworld, which humans typically find easy to navigate, LLMs prove to be quite ineffective in planning autonomously. ",
449
+ "bbox": [
450
+ 174,
451
+ 569,
452
+ 825,
453
+ 736
454
+ ],
455
+ "page_idx": 5
456
+ },
457
+ {
458
+ "type": "text",
459
+ "text": "Finetuning GPT-3 on Blocksworld: Along with directly testing the LLMs from the GPT family, we have also looked at the utility of fine-tuning the LLMs. Specifically, we fine-tuned GPT-3 (Davinci) in the Blocksworld domain. For this, we prepared a dataset comprising the initial state, goal state, and the respective plan for 1,000 distinct Blocksworld instances. It’s important to note that these instances were separate from our test set of 600 instances. By using the default hyperparameters provided by OpenAI and an 80-20 train-validation data split, we carried out the fine-tuning process. Our results revealed that the fine-tuned GPT-3 solved only 122 instances out of the 600 in our set, representing approximately $20 \\%$ of the total. This suggests that fine-tuning has a limited impact on improving the performance of LLMs in Blocksworld planning. This outcome aligns with the observations of [40], who argue that language models trained for reasoning tend to concentrate on the inherent statistical features instead of the causal structure, which in turn affects their performance on such tasks. ",
460
+ "bbox": [
461
+ 173,
462
+ 758,
463
+ 825,
464
+ 911
465
+ ],
466
+ "page_idx": 5
467
+ },
468
+ {
469
+ "type": "text",
470
+ "text": "Open-source models: In addition to the GPT family of LLMs, we have also conducted preliminary experiments with an open-source LLM, BLOOM [31], and found that BLOOM too is ineffective in plan generation. We assessed BLOOM’s performance in the blocksworld and mystery blocksworld (deceptive) domains using a one-shot natural language prompt configuration. In the blocksworld domain, BLOOM correctly handled only 4 out of 250 instances, representing a $1 . 6 \\%$ success rate. In the mystery domain, it failed to produce a single correct response in all 50 instances. ",
471
+ "bbox": [
472
+ 174,
473
+ 90,
474
+ 825,
475
+ 174
476
+ ],
477
+ "page_idx": 6
478
+ },
479
+ {
480
+ "type": "text",
481
+ "text": "Human Baseline for the Blocksworld: We have previously mentioned that planning tasks on the blocksworld domain are anecdotally simple enough for humans to perform. To establish this and come up with a preliminary baseline to compare LLMs performance, we conducted an IRB-approved user study where we asked 50 participants to come up with a plan for a blocksworld instance picked at random, from the set of 600 instances that we used for the evaluation of LLMs. We presented the same domain description as we did for the LLMs and then primed them with an example instance. We point the reader to the supplementary material for further details on the study. ",
482
+ "bbox": [
483
+ 174,
484
+ 191,
485
+ 825,
486
+ 289
487
+ ],
488
+ "page_idx": 6
489
+ },
490
+ {
491
+ "type": "text",
492
+ "text": "Out of the 50 participants, 39 of them $(78 \\% )$ came up with a valid plan. Along with validity, we also tested the optimality of their plans even though they were not required to come up with an optimal plan. Out of the 39 participants, 35 $( 8 9 . 7 \\% )$ participants came up with an optimal plan. These initial results show that the blocksworld domain is a simple enough domain where most humans are able to come up with plans (which are also optimal) while LLMs, on the other hand, showcase subpar performance. ",
493
+ "bbox": [
494
+ 174,
495
+ 295,
496
+ 825,
497
+ 377
498
+ ],
499
+ "page_idx": 6
500
+ },
501
+ {
502
+ "type": "text",
503
+ "text": "Evaluation of LLMs on the Logistics domain: Logistics is also a widely recognized domain in the planning literature. In this domain, the objective is to transport packages within cities via trucks, and between cities via airplanes. Within a city, the locations are directly linked, allowing trucks to travel between any two of these locations. Similarly, cities are directly connected to each other allowing airplanes to travel between any two cities. Each city is equipped with one truck and has a designated location that functions as an airport. We generated 200 instances on this domain. ",
504
+ "bbox": [
505
+ 174,
506
+ 395,
507
+ 825,
508
+ 478
509
+ ],
510
+ "page_idx": 6
511
+ },
512
+ {
513
+ "type": "text",
514
+ "text": "From Tables 1 and 2, we see that in the one-shot setting with natural language input, GPT-4 only solved $14 \\%$ of the instances (28/200), and this rate dropped to $7 . 5 \\%$ (15/200) when using zero-shot prompting. When provided with the domain and problem in PDDL format, GPT-4’s performance remained the same in the one-shot setting $14 \\%$ or 28/200) but decreased to $5 . 5 \\%$ (11/200) in the zero-shot setting. GPT-3.5 did even worse. ",
515
+ "bbox": [
516
+ 174,
517
+ 484,
518
+ 825,
519
+ 554
520
+ ],
521
+ "page_idx": 6
522
+ },
523
+ {
524
+ "type": "text",
525
+ "text": "Obfuscating names to test the brittleness of LLM Planning: Although the domain specification is part of our prompts, the names of the objects (e.g. blocks, trucks), predicates (e.g. on-table, in-city) and actions (e.g. pickup, drive) still do provide connections to the commonsense knowledge that the pretrained LLMs possess. One intriguing question is whether the planning performance is based really only on the domain model or these other background connections. To test this, we experimented with a variation of the Blocksworld domain, where we obfuscate the action names (for example pickup becomes attack, and unstack becomes feast) and predicate names (for example ontable becomes planet, and handempty becomes harmony). Note that from the perspective of standard planners, these domains are essentially identical.3 In addition to such deceptive obfuscation, we also considered a variation where random alphanumeric names were substituted for the action and object names. ",
526
+ "bbox": [
527
+ 174,
528
+ 570,
529
+ 825,
530
+ 710
531
+ ],
532
+ "page_idx": 6
533
+ },
534
+ {
535
+ "type": "text",
536
+ "text": "Tables 1 and 2, we see that this simple obfuscation leads to a catastrophic drop in performance. Specifically, with zero-shot prompting and natural language input, GPT-4 is able to solve 210 instances out of 600 in the Blocksworld domain, but it could only solve 1 instance in the deceptive Mystery Blocksworld domain and 0 instances in the randomized mystery domain. A similar result is observed with the PDDL-style prompts: GPT-4 could solve 106 instances in Blocksworld, but only 3 instances in the deceptive Mystery Blocksworld. Notably, chain of thought prompting does not significantly improve performance over one-shot natural language prompts. GPT-3.5 does not solve even a single instance in the entire set of natural language instances. For most of the instances, GPT-3.5 outputs that the instance can’t be solved. These results strongly suggest that whatever accidental planning performance LLMs show is likely connected to pattern matching rather than reasoning (which should be robust to name change). ",
537
+ "bbox": [
538
+ 174,
539
+ 715,
540
+ 825,
541
+ 867
542
+ ],
543
+ "page_idx": 6
544
+ },
545
+ {
546
+ "type": "image",
547
+ "img_path": "images/79db4ebc8d5a577b2f247f5c8eef63c89a5f78d19fc05ecd4053e3ee95c61117.jpg",
548
+ "image_caption": [
549
+ "Figure 3: Assessment of GPT-4 plans with relaxations in Blocksworld domain "
550
+ ],
551
+ "image_footnote": [],
552
+ "bbox": [
553
+ 176,
554
+ 92,
555
+ 823,
556
+ 237
557
+ ],
558
+ "page_idx": 7
559
+ },
560
+ {
561
+ "type": "table",
562
+ "img_path": "images/f657318603c39f9a9b9d025cbfc5e3b3bca332ed845c255093db5f86ada17f34.jpg",
563
+ "table_caption": [
564
+ "Table 3: Evaluation of GPT-4 and Instruct-GPT3 (I-GPT-3) plans as heuristics for a local search planner LPG, on blocksworld (BW), logistics and mystery blocksworld domains. "
565
+ ],
566
+ "table_footnote": [],
567
+ "table_body": "<table><tr><td rowspan=\"2\">Domain</td><td rowspan=\"2\">LLM</td><td colspan=\"3\">Avg. Search Steps</td><td colspan=\"3\">Avg. Plan Length</td><td rowspan=\"2\">Avg. Lev. Distance</td></tr><tr><td>Empty Seed</td><td>Random Seed</td><td>LLM Seed</td><td>Empty Seed</td><td>Random Seed</td><td>LLM Seed</td></tr><tr><td rowspan=\"2\">BW</td><td>I-GPT-3</td><td>Plan 15.8</td><td>Plan 20.07</td><td>Plan 14.5</td><td>Plan 8.45</td><td>Plan 9.62</td><td>Plan 11.7</td><td>7.22</td></tr><tr><td>GPT-4</td><td>15.8</td><td>20.07</td><td>8.9</td><td>8.45</td><td>9.62</td><td>10.76</td><td>4.15</td></tr><tr><td>Logistics</td><td>GPT-4</td><td>77.5</td><td>144.39</td><td>51.3</td><td>23.7</td><td>32.72</td><td>32.24</td><td>15.04</td></tr><tr><td>Mystery BW</td><td>GPT-4</td><td>15.8</td><td>20.45</td><td>16.09</td><td>8.45</td><td>9.78</td><td>11.53</td><td>7.77</td></tr></table>",
568
+ "bbox": [
569
+ 199,
570
+ 299,
571
+ 794,
572
+ 444
573
+ ],
574
+ "page_idx": 7
575
+ },
576
+ {
577
+ "type": "text",
578
+ "text": "Analyzing GPT-4 failures: To get a better sense of the type of failures LLM generated plans encounter, we wondered whether they will fare much better with a more forgiving test of the validity of the generated plans. In automated planning community, the notion of relaxations of the domain model are used to simplify the problem–chiefly to derive heuristics for planning problems [8]. Taking a leaf from them, we considered two types of relaxations: (i) delete relaxation involves ignoring all the delete conditions of the domain actions (thus making sure that there can be no negative interactions between subgoals) and (ii) precondition relaxation involves ignoring all the preconditions of the domain actions–thus assuming that the the actions are executable from any state giving their effects. Our idea is to evaluate the plans produced by GPT4 with respect to domain models that are delete relaxed, precondition relaxed or both. It should be clear that a plan that is correct with respect to the normal (unrelaxed) model will also be correct with respect to all the relaxed models. Figure 3 shows the results for blocksworld. We see that while the correctness of LLM generated plans increased under more forgiving (relaxed) assessments (area in green), even in the most lenient assessment mode (Delete+Precondition Relaxed), there still are plans $( \\sim 3 9 \\% )$ that are incorrect (because they still don’t reach the goals) across all the prompt configurations. The plots further classify the failure cases in terms of whether they were inexecutable, shown in maroon, or could be executed but didn’t reach the goals (shown in red). Note that when preconditions are relaxed, all plans are executable. We provide additional details on the relaxed assessments in Appendix A.2. ",
579
+ "bbox": [
580
+ 173,
581
+ 459,
582
+ 825,
583
+ 708
584
+ ],
585
+ "page_idx": 7
586
+ },
587
+ {
588
+ "type": "text",
589
+ "text": "5 Evaluating LLMs as Idea Generators ",
590
+ "text_level": 1,
591
+ "bbox": [
592
+ 174,
593
+ 727,
594
+ 517,
595
+ 744
596
+ ],
597
+ "page_idx": 7
598
+ },
599
+ {
600
+ "type": "text",
601
+ "text": "While the preceding discussion establishes that LLMs are not capable of generating correct plans in autonomous mode, there is still the possibility that they can be useful idea generators for other sound external planners, verifiers or even humans-in-the-loop. In this section, we investigate this possibility and demonstrate that LLMs show promise on this front (especially with external planners and verfiers). ",
602
+ "bbox": [
603
+ 174,
604
+ 757,
605
+ 825,
606
+ 828
607
+ ],
608
+ "page_idx": 7
609
+ },
610
+ {
611
+ "type": "text",
612
+ "text": "5.1 LLM Plans as Heuristics to Sound Planners ",
613
+ "text_level": 1,
614
+ "bbox": [
615
+ 174,
616
+ 843,
617
+ 517,
618
+ 858
619
+ ],
620
+ "page_idx": 7
621
+ },
622
+ {
623
+ "type": "text",
624
+ "text": "To see if the LLM generated plans can provide heuristic guidance to sound external planners, we use a local-search planner LPG [6] which generates plans by starting with a seed plan and iteratively repairing flaws until a correct plan is found. We feed the LLM-generated plan as the initial seed plan for LPG’s iterative search. Our hypothesis is that this might put LPG on the right path and reduce the time for it to generate a correct plan. It is interesting to note the similarities between this LLM+LPG approach, and the approaches used in case-based planning in the past [9, 17]. Here the LLM can be loosely viewed as “retrieving a potentially useful plan case/sketch” out of thin air, which the LPG adapts/corrects. ",
625
+ "bbox": [
626
+ 174,
627
+ 869,
628
+ 825,
629
+ 911
630
+ ],
631
+ "page_idx": 7
632
+ },
633
+ {
634
+ "type": "text",
635
+ "text": "",
636
+ "bbox": [
637
+ 174,
638
+ 92,
639
+ 825,
640
+ 160
641
+ ],
642
+ "page_idx": 8
643
+ },
644
+ {
645
+ "type": "text",
646
+ "text": "We utilized the plans that were generated by LLMs in the one-shot natural language prompt configuration on all three of our previous domains - Blocksworld, Mystery Blocksworld, and Logistics - as the \"seed plans\" from which LPG would begin its local search for a valid plan. For the Blocksworld domain, both GPT-4 and Instruct-GPT3 were evaluated, whereas for the Logistics and Mystery domains only GPT-4 was evaluated. We confirmed that all the plans that were generated by this LLM+LPG combination for both the domains were valid (which is as expected given that the underlying planner, LPG, is sound). To get an idea of how far the initial LLM generated plans were from the final correct solutions generated by LPG, we measured the Levenshtein edit distance between them. While the default LPG local search doesn’t aim to minimize the changes to the suggested plan (there do exist versions of LPG that do this; see [23]) , the edit distances also give an idea of how partially or approximately correct the original LLM plan is. Along with the edit distance, we also measured the number of search steps that were taken by the LPG to come up with a correct plan. ",
647
+ "bbox": [
648
+ 173,
649
+ 166,
650
+ 825,
651
+ 333
652
+ ],
653
+ "page_idx": 8
654
+ },
655
+ {
656
+ "type": "text",
657
+ "text": "As shown in Table 3, the edit distances across domains are approximately half the length of the seed plans generated by the LLMs, indicating that $50 \\%$ of the final plan retains the elements of the initial LLM plan. For each problem, we performed two additional plan initializations to serve as baselines: initializing with an empty plan and initializing with a random plan of the same length as the plan generated by the LLM for that problem. In the Blocksworld and Logistics4 domains, we see a significant improvement in search steps over the empty seed plan when GPT-4 is used and an even larger one over the random seed plan. Consistent with our findings in the autonomous mode, the usefulness of this assistance wanes in domains where the relationships between predicates can no longer be inferred from common sense understandings of their names: in the Mystery Blocksworld domain, the LLM only has meager reduction in step size over the random plan and actually uses more steps than the empty plan. ",
658
+ "bbox": [
659
+ 174,
660
+ 339,
661
+ 825,
662
+ 491
663
+ ],
664
+ "page_idx": 8
665
+ },
666
+ {
667
+ "type": "text",
668
+ "text": "5.2 Verifier-assisted repeated backprompting of LLMs ",
669
+ "text_level": 1,
670
+ "bbox": [
671
+ 173,
672
+ 511,
673
+ 563,
674
+ 525
675
+ ],
676
+ "page_idx": 8
677
+ },
678
+ {
679
+ "type": "text",
680
+ "text": "The interaction between LLM and LPG was unidirectional–with LLM sending a seed plan that LPG aims to repair. One supposed advantage of LLMs is that they can be prompted to improve their solutions. Suppose we have access to a sound automated verifier that not only checks the plan correctness but also pinpoints faults (in terms of unsatisfied preconditions or delete interactions). Such feedback can be easily converted into a \"backprompt\" to the LLM, with the hope that LLM comes up with a better plan. This is what we do with the help of VAL[11]–an AI planning tool that uses the domain model to validate the correctness of the plans (and point out errors). ",
681
+ "bbox": [
682
+ 174,
683
+ 537,
684
+ 483,
685
+ 743
686
+ ],
687
+ "page_idx": 8
688
+ },
689
+ {
690
+ "type": "table",
691
+ "img_path": "images/18b1ae26aa819b736735973f515d8ccf03ad1867eda6d6bbd9cdbaf7f783e61e.jpg",
692
+ "table_caption": [
693
+ "Table 4: GPT4 Performance with Backprompting by VAL [11]. Mystery BW had deceptive disguising. I.C - Instances correct (within 15 feedbacks); A.F.R - Avg. feedback rounds for correct instances. "
694
+ ],
695
+ "table_footnote": [],
696
+ "table_body": "<table><tr><td rowspan=\"2\">Domain</td><td>1.C</td><td>A.FR</td></tr><tr><td>GPT-4</td><td>GPT-4</td></tr><tr><td>Blocksworld (BW)</td><td>41/50 (82%)</td><td>3.68</td></tr><tr><td>Logistics</td><td>35/50 (70%)</td><td>3.31</td></tr><tr><td>Mystery BW</td><td>5/50 (10%)</td><td>7.0</td></tr></table>",
697
+ "bbox": [
698
+ 496,
699
+ 616,
700
+ 813,
701
+ 717
702
+ ],
703
+ "page_idx": 8
704
+ },
705
+ {
706
+ "type": "text",
707
+ "text": "While, as we mentioned earlier, there can be thorny “clever hans” issues about humans prompting LLMs, an automated verifier mechanically backprompting the LLM doesn’t suffer from these. ",
708
+ "bbox": [
709
+ 173,
710
+ 751,
711
+ 823,
712
+ 780
713
+ ],
714
+ "page_idx": 8
715
+ },
716
+ {
717
+ "type": "text",
718
+ "text": "We tested this setup on a subset of the failed instances in the one-shot natural language prompt configuration using GPT-4, given its larger context window. We set a threshold of 15 backprompting rounds. We tested on three domains–Blocksworld, Logistics and Mystery BW–with 50 failed instances from each domain. Table 4 shows the results. We provide the prompt+feedback examples in Appendix A.9. We found that GPT4 is able to come up with correct plans $82 \\%$ of the Blocksworld instances and $70 \\%$ of the Logistics one. The average number of backprompting rounds for these successful cases was 3.68 for BW and 3.31 for Logistics. The performance on the Mystery BW however remained quite poor–suggesting that even with back prompting, GPT4 cannot do well unless it can tease out commonsense patterns for the domain. ",
719
+ "bbox": [
720
+ 174,
721
+ 785,
722
+ 825,
723
+ 869
724
+ ],
725
+ "page_idx": 8
726
+ },
727
+ {
728
+ "type": "text",
729
+ "text": "",
730
+ "bbox": [
731
+ 174,
732
+ 90,
733
+ 823,
734
+ 132
735
+ ],
736
+ "page_idx": 9
737
+ },
738
+ {
739
+ "type": "text",
740
+ "text": "In this backprompting configuration, LLM serves as the candidate plan generator while VAL serves as the external sound verifier. While it is tempting to have a self-critiquing architecture with LLM also serving as the verifier, our recent work shows that approach to be of questionable utility as LLMs are no better at verifying plans than they are at generating them [36, 34]. ",
741
+ "bbox": [
742
+ 174,
743
+ 140,
744
+ 825,
745
+ 195
746
+ ],
747
+ "page_idx": 9
748
+ },
749
+ {
750
+ "type": "text",
751
+ "text": "5.3 LLMs as idea generators for humans-in-the-loop ",
752
+ "text_level": 1,
753
+ "bbox": [
754
+ 174,
755
+ 212,
756
+ 550,
757
+ 227
758
+ ],
759
+ "page_idx": 9
760
+ },
761
+ {
762
+ "type": "text",
763
+ "text": "Along with external planners and verifiers, LLMs may also offer their insights as plan suggestions directly to the human-in-the-loop which might potentially guide the user to the correct plan. After all, this sort of computer supported cooperative work (CSCW) use case has been the staple of LLM applications. We explored the efficacy of LLMs in assisting human planners through a betweensubjects user study, structured similarly to the study outlined in Section 4, but with two primary distinctions: (1) The study involved two separate participant groups. The first group received no assistance in devising plans, paralleling the approach in Section 4, while the second group had access to LLM-generated suggestions. (2) both participant sets were asked to offer subjective feedback via the NASA-TLX assessment tool [10], gauging their cognitive load. Additionally, participants from the second group evaluated the correctness of the LLM suggestions presented to them. We utilized the plans generated by GPT-4 to provide plan suggestions. ",
764
+ "bbox": [
765
+ 174,
766
+ 238,
767
+ 825,
768
+ 391
769
+ ],
770
+ "page_idx": 9
771
+ },
772
+ {
773
+ "type": "text",
774
+ "text": "The study included 49 participants in the unassisted group and 48 in the LLM-assisted group. We evaluated the statistical significance regarding accuracy, time taken, and cognitive load between the groups. Our findings revealed no statistical significance between the groups across all three aspects.5. Notably, 3 out of 48 participants mistakenly accepted incorrect LLM suggestions, with two submitting these erroneous suggestions as their plans. This shows the potential for automation bias in such methodologies [5]. We have provided the details of the user-study in Appendix A.12. ",
775
+ "bbox": [
776
+ 174,
777
+ 397,
778
+ 825,
779
+ 481
780
+ ],
781
+ "page_idx": 9
782
+ },
783
+ {
784
+ "type": "text",
785
+ "text": "6 Conclusion and Future Work ",
786
+ "text_level": 1,
787
+ "bbox": [
788
+ 176,
789
+ 501,
790
+ 449,
791
+ 518
792
+ ],
793
+ "page_idx": 9
794
+ },
795
+ {
796
+ "type": "text",
797
+ "text": "In this paper, we presented a critical investigation of the planning abilities of large language models (LLMs). To this end, we evaluated the plan generation abilities of LLMs in two different modes. In the autonomous mode, our results show that even in simple common-sense planning domains where humans could easily come up with plans, LLMs like GPT-3 exhibit a dismal performance. Even though there is an uptick in the performance by the newer GPT-4 in the blocksworld domain, it still fails miserably on the mystery blocksworld domain, indicating their inability to reason in an abstract manner. In the heuristic mode, we have seen that plans generated by LLMs can help improve the search of sound planners like LPG. Further, we showed that using external verifiers, we can point out the errors and back-prompt LLMs for a better plan. We showed that this indeed helps in common-sense domains. In the supplementary material, we show the prompt examples for all the configurations and the details of the user-studies (Appendix A.11). From our studies, we see that LLMs as autonomous planners fail miserably, but we also see that the generated plans improve the search when used by an underlying sound planner and that better plans can be obtained by back-prompting the LLM with feedback from an external verifier. ",
798
+ "bbox": [
799
+ 173,
800
+ 534,
801
+ 826,
802
+ 726
803
+ ],
804
+ "page_idx": 9
805
+ },
806
+ {
807
+ "type": "text",
808
+ "text": "7 Acknowledgements ",
809
+ "text_level": 1,
810
+ "bbox": [
811
+ 176,
812
+ 747,
813
+ 367,
814
+ 763
815
+ ],
816
+ "page_idx": 9
817
+ },
818
+ {
819
+ "type": "text",
820
+ "text": "This research was supported by ONR grants N00014-18-1-2442, N00014-18-1-2840, N00014- 19-1-2119 and N00014-23-1-2409, AFOSR grant FA9550-18-1-0067, DARPA SAIL-ON grant W911NF-19-2-0006, and a JP Morgan AI Faculty Research Grant to Kambhampati. Sreedharan was supported in part by NSF grant 2303019. ",
821
+ "bbox": [
822
+ 174,
823
+ 779,
824
+ 825,
825
+ 835
826
+ ],
827
+ "page_idx": 9
828
+ },
829
+ {
830
+ "type": "text",
831
+ "text": "References ",
832
+ "text_level": 1,
833
+ "bbox": [
834
+ 174,
835
+ 90,
836
+ 267,
837
+ 106
838
+ ],
839
+ "page_idx": 10
840
+ },
841
+ {
842
+ "type": "text",
843
+ "text": "[1] Clever Hans. https://en.wikipedia.org/wiki/Clever_Hans. ",
844
+ "bbox": [
845
+ 181,
846
+ 113,
847
+ 581,
848
+ 128
849
+ ],
850
+ "page_idx": 10
851
+ },
852
+ {
853
+ "type": "text",
854
+ "text": "[2] Michael Ahn, Anthony Brohan, Noah Brown, Yevgen Chebotar, Omar Cortes, Byron David, Chelsea Finn, Keerthana Gopalakrishnan, Karol Hausman, Alex Herzog, et al. Do as i can, not as i say: Grounding language in robotic affordances. arXiv preprint arXiv:2204.01691, 2022. ",
855
+ "bbox": [
856
+ 178,
857
+ 137,
858
+ 826,
859
+ 180
860
+ ],
861
+ "page_idx": 10
862
+ },
863
+ {
864
+ "type": "text",
865
+ "text": "[3] Tom B Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared 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. ",
866
+ "bbox": [
867
+ 178,
868
+ 189,
869
+ 825,
870
+ 233
871
+ ],
872
+ "page_idx": 10
873
+ },
874
+ {
875
+ "type": "text",
876
+ "text": "[4] 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. ",
877
+ "bbox": [
878
+ 179,
879
+ 241,
880
+ 825,
881
+ 284
882
+ ],
883
+ "page_idx": 10
884
+ },
885
+ {
886
+ "type": "text",
887
+ "text": "[5] Mary L Cummings. Automation bias in intelligent time critical decision support systems. In Decision making in aviation, pages 289–294. Routledge, 2017. ",
888
+ "bbox": [
889
+ 178,
890
+ 292,
891
+ 825,
892
+ 321
893
+ ],
894
+ "page_idx": 10
895
+ },
896
+ {
897
+ "type": "text",
898
+ "text": "[6] Alfonso Gerevini and Ivan Serina. Lpg: A planner based on local search for planning graphs with action costs. In AIPS, volume 2, pages 281–290, 2002. ",
899
+ "bbox": [
900
+ 179,
901
+ 330,
902
+ 825,
903
+ 359
904
+ ],
905
+ "page_idx": 10
906
+ },
907
+ {
908
+ "type": "text",
909
+ "text": "[7] Mor Geva, Daniel Khashabi, Elad Segal, Tushar Khot, Dan Roth, and Jonathan Berant. Did aristotle use a laptop? a question answering benchmark with implicit reasoning strategies. Transactions of the Association for Computational Linguistics, 9:346–361, 2021. ",
910
+ "bbox": [
911
+ 179,
912
+ 368,
913
+ 821,
914
+ 411
915
+ ],
916
+ "page_idx": 10
917
+ },
918
+ {
919
+ "type": "text",
920
+ "text": "[8] Malik Ghallab, Dana S. Nau, and Paolo Traverso. Automated Planning and Acting. Cambridge University Press, 2016. ",
921
+ "bbox": [
922
+ 179,
923
+ 420,
924
+ 823,
925
+ 449
926
+ ],
927
+ "page_idx": 10
928
+ },
929
+ {
930
+ "type": "text",
931
+ "text": "[9] Kristian J. Hammond. CHEF: A model of case-based planning. In Tom Kehler, editor, Proceedings of the 5th National Conference on Artificial Intelligence. Philadelphia, PA, USA, August 11-15, 1986. Volume 1: Science, pages 267–271. Morgan Kaufmann, 1986. ",
932
+ "bbox": [
933
+ 179,
934
+ 458,
935
+ 825,
936
+ 501
937
+ ],
938
+ "page_idx": 10
939
+ },
940
+ {
941
+ "type": "text",
942
+ "text": "[10] Sandra G Hart and Lowell E Staveland. Development of nasa-tlx (task load index): Results of empirical and theoretical research. Advances in psychology, 52:139–183, 1988. ",
943
+ "bbox": [
944
+ 174,
945
+ 510,
946
+ 823,
947
+ 540
948
+ ],
949
+ "page_idx": 10
950
+ },
951
+ {
952
+ "type": "text",
953
+ "text": "[11] Richard Howey, Derek Long, and Maria Fox. VAL: Automatic plan validation, continuous effects and mixed initiative planning using PDDL. In 16th IEEE International Conference on Tools with Artificial Intelligence, pages 294–301. IEEE, 2004. ",
954
+ "bbox": [
955
+ 174,
956
+ 547,
957
+ 823,
958
+ 590
959
+ ],
960
+ "page_idx": 10
961
+ },
962
+ {
963
+ "type": "text",
964
+ "text": "[12] Wenlong Huang, Pieter Abbeel, Deepak Pathak, and Igor Mordatch. Language models as zero-shot planners: Extracting actionable knowledge for embodied agents. In International Conference on Machine Learning, pages 9118–9147. PMLR, 2022. ",
965
+ "bbox": [
966
+ 174,
967
+ 599,
968
+ 823,
969
+ 642
970
+ ],
971
+ "page_idx": 10
972
+ },
973
+ {
974
+ "type": "text",
975
+ "text": "[13] Wenlong Huang, Fei Xia, Ted Xiao, Harris Chan, Jacky Liang, Pete Florence, Andy Zeng, Jonathan Tompson, Igor Mordatch, Yevgen Chebotar, et al. Inner monologue: Embodied reasoning through planning with language models. arXiv preprint arXiv:2207.05608, 2022. ",
976
+ "bbox": [
977
+ 174,
978
+ 651,
979
+ 825,
980
+ 695
981
+ ],
982
+ "page_idx": 10
983
+ },
984
+ {
985
+ "type": "text",
986
+ "text": "[14] IPC. International planning competition, 1998. ",
987
+ "bbox": [
988
+ 176,
989
+ 704,
990
+ 516,
991
+ 718
992
+ ],
993
+ "page_idx": 10
994
+ },
995
+ {
996
+ "type": "text",
997
+ "text": "[15] Liwei Jiang, Jena D. Hwang, Chandrasekhar Bhagavatula, Ronan Le Bras, Maxwell Forbes, Jon Borchardt, Jenny Liang, Oren Etzioni, Maarten Sap, and Yejin Choi. Delphi: Towards Machine Ethics and Norms. ArXiv, abs/2110.07574, 2021. ",
998
+ "bbox": [
999
+ 174,
1000
+ 727,
1001
+ 823,
1002
+ 770
1003
+ ],
1004
+ "page_idx": 10
1005
+ },
1006
+ {
1007
+ "type": "text",
1008
+ "text": "[16] Subbarao Kambhampati. AI as (an Ersatz) Natural Science? https://cacm.acm.org/blogs/blogcacm/261732-ai-as-an-ersatz-natural-science/fulltext, Jun 2022. ",
1009
+ "bbox": [
1010
+ 171,
1011
+ 779,
1012
+ 825,
1013
+ 808
1014
+ ],
1015
+ "page_idx": 10
1016
+ },
1017
+ {
1018
+ "type": "text",
1019
+ "text": "[17] Subbarao Kambhampati and James A. Hendler. A validation-structure-based theory of plan modification and reuse. Artif. Intell., 55(2):193–258, 1992. ",
1020
+ "bbox": [
1021
+ 171,
1022
+ 818,
1023
+ 825,
1024
+ 847
1025
+ ],
1026
+ "page_idx": 10
1027
+ },
1028
+ {
1029
+ "type": "text",
1030
+ "text": "[18] Subbarao Kambhampati, Karthik Valmeekam, Matthew Marquez, and Lin Guan. On the role of large language models in planning, July 2023. Tutorial presented at the International Conference on Automated Planning and Scheduling (ICAPS), Prague. https://yochan-lab.github. io/tutorial/ICAPS-2023/. ",
1031
+ "bbox": [
1032
+ 174,
1033
+ 856,
1034
+ 826,
1035
+ 911
1036
+ ],
1037
+ "page_idx": 10
1038
+ },
1039
+ {
1040
+ "type": "text",
1041
+ "text": "[19] Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. Large Language Models are Zero-Shot Reasoners. arXiv preprint arXiv:2205.11916, 2022. ",
1042
+ "bbox": [
1043
+ 169,
1044
+ 90,
1045
+ 823,
1046
+ 121
1047
+ ],
1048
+ "page_idx": 11
1049
+ },
1050
+ {
1051
+ "type": "text",
1052
+ "text": "[20] Paul Pu Liang, Chiyu Wu, Louis-Philippe Morency, and Ruslan Salakhutdinov. Towards understanding and mitigating social biases in language models. In International Conference on Machine Learning, pages 6565–6576. PMLR, 2021. ",
1053
+ "bbox": [
1054
+ 174,
1055
+ 127,
1056
+ 821,
1057
+ 171
1058
+ ],
1059
+ "page_idx": 11
1060
+ },
1061
+ {
1062
+ "type": "text",
1063
+ "text": "[21] Bo Liu, Yuqian Jiang, Xiaohan Zhang, Qiang Liu, Shiqi Zhang, Joydeep Biswas, and Peter Stone. Llm+ p: Empowering large language models with optimal planning proficiency. arXiv preprint arXiv:2304.11477, 2023. ",
1064
+ "bbox": [
1065
+ 174,
1066
+ 178,
1067
+ 823,
1068
+ 222
1069
+ ],
1070
+ "page_idx": 11
1071
+ },
1072
+ {
1073
+ "type": "text",
1074
+ "text": "[22] Drew McDermott, Malik Ghallab, Adele E. Howe, Craig A. Knoblock, Ashwin Ram, Manuela M. Veloso, Daniel S. Weld, and David E. Wilkins. Pddl-the planning domain definition language. 1998. ",
1075
+ "bbox": [
1076
+ 174,
1077
+ 229,
1078
+ 823,
1079
+ 271
1080
+ ],
1081
+ "page_idx": 11
1082
+ },
1083
+ {
1084
+ "type": "text",
1085
+ "text": "[23] Tuan Anh Nguyen, Minh Do, Alfonso Emilio Gerevini, Ivan Serina, Biplav Srivastava, and Subbarao Kambhampati. Generating diverse plans to handle unknown and partially known user preferences. Artificial Intelligence, 190:1–31, 2012. ",
1086
+ "bbox": [
1087
+ 173,
1088
+ 280,
1089
+ 823,
1090
+ 323
1091
+ ],
1092
+ "page_idx": 11
1093
+ },
1094
+ {
1095
+ "type": "text",
1096
+ "text": "[24] OpenAI. Introducing chatgpt by openai, 2022. ",
1097
+ "bbox": [
1098
+ 174,
1099
+ 330,
1100
+ 516,
1101
+ 345
1102
+ ],
1103
+ "page_idx": 11
1104
+ },
1105
+ {
1106
+ "type": "text",
1107
+ "text": "[25] OpenAI. Gpt-4 technical report, 2023. ",
1108
+ "bbox": [
1109
+ 176,
1110
+ 353,
1111
+ 462,
1112
+ 369
1113
+ ],
1114
+ "page_idx": 11
1115
+ },
1116
+ {
1117
+ "type": "text",
1118
+ "text": "[26] Long Ouyang, Jeff Wu, Xu Jiang, Diogo Almeida, Carroll L Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Training language models to follow instructions with human feedback. arXiv preprint arXiv:2203.02155, 2022. ",
1119
+ "bbox": [
1120
+ 173,
1121
+ 376,
1122
+ 825,
1123
+ 420
1124
+ ],
1125
+ "page_idx": 11
1126
+ },
1127
+ {
1128
+ "type": "text",
1129
+ "text": "[27] Alec Radford, Karthik Narasimhan, Tim Salimans, and Ilya Sutskever. Improving language understanding by generative pre-training. 2018. ",
1130
+ "bbox": [
1131
+ 169,
1132
+ 426,
1133
+ 823,
1134
+ 457
1135
+ ],
1136
+ "page_idx": 11
1137
+ },
1138
+ {
1139
+ "type": "text",
1140
+ "text": "[28] Shreyas Sundara Raman, Vanya Cohen, Eric Rosen, Ifrah Idrees, David Paulius, and Stefanie Tellex. Planning with large language models via corrective re-prompting. arXiv preprint arXiv:2211.09935, 2022. ",
1141
+ "bbox": [
1142
+ 174,
1143
+ 463,
1144
+ 825,
1145
+ 506
1146
+ ],
1147
+ "page_idx": 11
1148
+ },
1149
+ {
1150
+ "type": "text",
1151
+ "text": "[29] Keisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. Winogrande: An adversarial winograd schema challenge at scale. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 8732–8740, 2020. ",
1152
+ "bbox": [
1153
+ 174,
1154
+ 515,
1155
+ 823,
1156
+ 558
1157
+ ],
1158
+ "page_idx": 11
1159
+ },
1160
+ {
1161
+ "type": "text",
1162
+ "text": "[30] Patrick Schramowski, Cigdem Turan, Nico Andersen, Constantin A Rothkopf, and Kristian Kersting. Large pre-trained language models contain human-like biases of what is right and wrong to do. Nature Machine Intelligence, 4(3):258–268, 2022. ",
1163
+ "bbox": [
1164
+ 173,
1165
+ 564,
1166
+ 823,
1167
+ 608
1168
+ ],
1169
+ "page_idx": 11
1170
+ },
1171
+ {
1172
+ "type": "text",
1173
+ "text": "[31] Big Science. BigScience Large Open-science Open-access Multilingual Language Model. https://huggingface.co/bigscience/bloom, 2022. ",
1174
+ "bbox": [
1175
+ 169,
1176
+ 614,
1177
+ 825,
1178
+ 645
1179
+ ],
1180
+ "page_idx": 11
1181
+ },
1182
+ {
1183
+ "type": "text",
1184
+ "text": "[32] Tom Silver, Varun Hariprasad, Reece S Shuttleworth, Nishanth Kumar, Tomás Lozano-Pérez, and Leslie Pack Kaelbling. PDDL planning with pretrained large language models. In NeurIPS 2022 Foundation Models for Decision Making Workshop, 2022. ",
1185
+ "bbox": [
1186
+ 173,
1187
+ 652,
1188
+ 826,
1189
+ 695
1190
+ ],
1191
+ "page_idx": 11
1192
+ },
1193
+ {
1194
+ "type": "text",
1195
+ "text": "[33] Aarohi Srivastava, Abhinav Rastogi, Abhishek Rao, Abu Awal Md Shoeb, Abubakar Abid, Adam Fisch, Adam R Brown, Adam Santoro, Aditya Gupta, Adrià Garriga-Alonso, et al. Beyond the imitation game: Quantifying and extrapolating the capabilities of language models. arXiv preprint arXiv:2206.04615, 2022. ",
1196
+ "bbox": [
1197
+ 173,
1198
+ 703,
1199
+ 828,
1200
+ 760
1201
+ ],
1202
+ "page_idx": 11
1203
+ },
1204
+ {
1205
+ "type": "text",
1206
+ "text": "[34] Kaya Stechly, Matthew Marquez, and Subbarao Kambhampati. Gpt-4 doesn’t know it’s wrong: An analysis of iterative prompting for reasoning problems. arXiv preprint arXiv:2310.12397, 2023. ",
1207
+ "bbox": [
1208
+ 171,
1209
+ 767,
1210
+ 825,
1211
+ 810
1212
+ ],
1213
+ "page_idx": 11
1214
+ },
1215
+ {
1216
+ "type": "text",
1217
+ "text": "[35] Alon Talmor, Jonathan Herzig, Nicholas Lourie, and Jonathan Berant. Commonsenseqa: A question answering challenge targeting commonsense knowledge. arXiv preprint arXiv:1811.00937, 2018. ",
1218
+ "bbox": [
1219
+ 171,
1220
+ 818,
1221
+ 823,
1222
+ 861
1223
+ ],
1224
+ "page_idx": 11
1225
+ },
1226
+ {
1227
+ "type": "text",
1228
+ "text": "[36] Karthik Valmeekam, Matthew Marquez, and Subbarao Kambhampati. Can large language models really improve by self-critiquing their own plans? arXiv preprint arXiv:2310.08118, 2023. ",
1229
+ "bbox": [
1230
+ 174,
1231
+ 869,
1232
+ 826,
1233
+ 911
1234
+ ],
1235
+ "page_idx": 11
1236
+ },
1237
+ {
1238
+ "type": "text",
1239
+ "text": "[37] Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Ed Chi, Quoc Le, and Denny Zhou. Chain of thought prompting elicits reasoning in large language models. arXiv preprint arXiv:2201.11903, 2022. \n[38] Yaqi Xie, Chen Yu, Tongyao Zhu, Jinbin Bai, Ze Gong, and Harold Soh. Translating natural language to planning goals with large-language models. arXiv preprint arXiv:2302.05128, 2023. \n[39] Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik R Narasimhan, and Yuan Cao. React: Synergizing reasoning and acting in language models. In The Eleventh International Conference on Learning Representations, 2023. \n[40] Honghua Zhang, Liunian Harold Li, Tao Meng, Kai-Wei Chang, and Guy Van den Broeck. On the paradox of learning to reason from data. arXiv preprint arXiv:2205.11502, 2022. ",
1240
+ "bbox": [
1241
+ 171,
1242
+ 90,
1243
+ 826,
1244
+ 275
1245
+ ],
1246
+ "page_idx": 12
1247
+ }
1248
+ ]
parse/dev/X6dEqXIsEW/X6dEqXIsEW_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/ZTsoE8G3GG/ZTsoE8G3GG_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/_h2FKc6E_YV/_h2FKc6E_YV.md ADDED
@@ -0,0 +1,279 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Rethinking and Scaling Up Graph Contrastive Learning: An Extremely Efficient Approach with Group Discrimination
2
+
3
+ Yizhen Zheng1, Shirui $\mathbf { P a n } ^ { 2 }$ ∗, Vincent CS Lee1, Yu Zheng3, Phillip S. $\mathbf { V } \mathbf { u } ^ { 4 }$ ,
4
+ 1Monash University, 2Griffith University, 3La Trobe University, 4 University of Illinons at Chicago
5
+ yizhen.zheng1@monash.edu, s.pan@griffth.edu.au, vincent.cs.lee@monash.edu yu.zheng@latrobe.edu.au, psyu@uic.edu
6
+
7
+ # Abstract
8
+
9
+ Graph contrastive learning (GCL) alleviates the heavy reliance on label information for graph representation learning (GRL) via self-supervised learning schemes. The core idea is to learn by maximising mutual information for similar instances, which requires similarity computation between two node instances. However, GCL is inefficient in both time and memory consumption. In addition, GCL normally requires a large number of training epochs to be well-trained on largescale datasets. Inspired by an observation of a technical defect (i.e., inappropriate usage of Sigmoid function) commonly used in two representative GCL works, DGI and MVGRL, we revisit GCL and introduce a new learning paradigm for self-supervised graph representation learning, namely, Group Discrimination (GD), and propose a novel GD-based method called Graph Group Discrimination (GGD). Instead of similarity computation, GGD directly discriminates two groups of node samples with a very simple binary cross-entropy loss. In addition, GGD requires much fewer training epochs to obtain competitive performance compared with GCL methods on large-scale datasets. These two advantages endow GGD with very efficient property. Extensive experiments show that GGD outperforms state-of-theart self-supervised methods on eight datasets. In particular, GGD can be trained in 0.18 seconds (6.44 seconds including data preprocessing) on ogbn-arxiv, which is orders of magnitude $^ { ( 1 0 , 0 0 0 + ) }$ faster than GCL baselines while consuming much less memory. Trained with 9 hours on ogbn-papers100M with billion edges, GGD outperforms its GCL counterparts in both accuracy and efficiency.
10
+
11
+ # 1 Introduction
12
+
13
+ Graph Neural Networks (GNNs) have been widely-adopted in learning representations for graphstructured data. By utilising message-passing over the topology of a graph, GNNs can learn effective low-dimensional node embeddings, which can be used for a variety of downstream tasks such as node classification [1]. GNNs have been further applied in diverse domains, e.g., federated learning [2, 3], trustworthy systems [4, 5], dynamic graphs [6, 7] and anomaly detection [8, 9].
14
+
15
+ However, many GNNs adopt a supervised learning manner to train models with label information, which is expensive and labour-intensive to collect in real-world. To address this issue, a few studies (e.g., DGI [10], MVGRL [11], GMI [12], and GRACE [13]) borrow the idea of contrastive learning from computer vision (CV), and introduce graph contrastive learning (GCL) methods for selfsupervised GRL. The core idea of these methods is to maximise the mutual information (MI) between an anchor node and its positive counterparts, sharing similar semantic information while doing the opposite for negative counterparts as shown in Figure 1(a). Nonetheless, such a scheme relies on similarity calculation in contrastive loss computation. Additionally, GCL normally requires a large number of training epochs to be well-trained on large-scale datasets. Thus, when the size of the dataset is large, these methods require a significant amount of time and resources to be well-trained.
16
+
17
+ Though a few GCL works attempt to improve graph contrastive learning with specially designed schemes, e.g., BGRL [15] and GBT [14], they are still inefficient and require high time consumption for model training. Inspired by BYOL [16], BGRL [15] adopts a bootstrapping scheme and remove negative node pairs. It only contrasts a node from the online network (i.e., updated with gradient) to its corresponding embedding from the target network (i.e., updated momentumly with stop gradient). Based on Barlow-Twins [17],
18
+
19
+ ![](images/95495bd797059e0d73a939f5afdde8d9b4ab6a0077dd735aea28b14bb0b91a6a.jpg)
20
+ Figure 1: The left subfigure shows the GCL learning scheme. Red line indicates MI maximisation between two nodes, each of which $\in \mathbb { R } ^ { 1 \times D }$ , while blue line indicates the opposite operation. The right subfigure presents Group Discrimination. It discriminates positive and negative node samples, each of which ∈ R1×1.
21
+
22
+ GBT [14] borrows the idea of redundancy-reduction principle and utilises a cross-correlation-based loss to build contrastiveness between embedding dimensions.
23
+
24
+ To boost training efficiency of self-supervised GRL, inspired by an observation of a technical defect (i.e., inappropriate application of Sigmoid function) in two representative GCL studies, we introduce a novel learning paradigm, namely, Group Discrimination (GD). Instead of similarity computation, GD directly discriminates a group of positive nodes from a group of negative nodes, as shown in Figure 1(b). Specifically, GD defines node samples generated with original graph as the positive group, while node samples obtained with corrupted topology are regarded as the negative group. Then, GD trains the model by classifying these node samples into the correct group with a very simple binary cross-entropy loss. By doing so, the model can extract valuable self-supervised signals from learning the edge distribution of a graph. Com
25
+
26
+ Table 1: Training time in seconds comparison between GGD and GBT [14] (i.e., the most efficient GCL baseline as shown in section 5.1) on ogbnarxiv. Number in brackets means the hidden size. ‘Pre’, ‘Tr’ and ‘Epo’ indicate preprocessing time, training time per epoch, and the number of epochs for training GNNs. ‘Total(E)’ and ‘Total(T)’ are total end-to-end training time (i.e., including preprocessing), which equals to $( { \mathrm { P r e } } + { \mathrm { E p o } } \times { \mathrm { T r } } )$ and total training time, which is $( { \mathrm { E p o } } \times { \mathrm { T r } } )$ . ‘Imp(E)’ and $\mathrm { \cdot { I m p ( T ) } } ^ { \mathrm { , } }$ indicate how many times GGD improve on ‘Total(E)’ and ‘Total(T)’. ‘Acc’ is averaged accuracy result on test set over five runs.
27
+
28
+ <table><tr><td>Method</td><td>Pre</td><td>Tr</td><td>Epo</td><td colspan="2">Total(E) Imp(E)</td><td colspan="2">Total(T)Imp(T)</td><td>Acc</td></tr><tr><td>GBT(256)</td><td>5.52</td><td>6.47</td><td>300</td><td>1,946.52</td><td>-</td><td>1,941.00</td><td>=</td><td>70.1</td></tr><tr><td>GGD(256)</td><td>6.26 0.18</td><td></td><td>1</td><td>6.44</td><td>302.25×</td><td>0.18</td><td>10,783.33x</td><td>70.3</td></tr><tr><td>GGD(1,500)</td><td></td><td>6.260.95</td><td>1</td><td>7.21</td><td>269.96×</td><td>0.95</td><td>2.043.16×</td><td>71.6</td></tr></table>
29
+
30
+ pared with GCL, GD enjoys numerous merits including extremely fast training, fast convergence (e.g., 1 epoch to be well-trained on large-scale datasets), and high scalability while achieving SOTA performance with existing GCL approaches.
31
+
32
+ Using GD as backbone, we design a new self-supervised GRL model with the Siamese structure called Graph Group Discrimination (GGD). Firstly, we can optionally augment a given graph with augmentation techniques, e.g., feature and edge dropout. Then, the augmented graph is fed into a GNN encoder and a projector to obtain embeddings for the positive group. After that, the augmented feature is corrupted with node shuffling (i.e., disarranging the order of nodes in the feature matrix) to disrupt the topology of a graph and input to the same network for obtaining embeddings of the opposing group. Finally, the model is trained by discriminating these two groups of node samples. The contributions of this paper are three-fold: 1) We re-examine existing GCL approaches (e.g., DGI [10] and MVGRL [11]), and we introduce a novel and efficient self-supervised GRL paradigm, namely, Group Discrimination (GD). 2) Based on GD, we propose a new self-supervised GRL model, GGD, which is fast in training and convergence, and possess high scalability. 3) We conduct extensive experiments on eight datasets, including an extremely large dataset, ogbn-papers100M with billion edges. The experiment results show that our proposed method reaches state-of-the-art performance while consuming much less time and memory than baselines, e.g., $\mathbf { 1 0 7 8 3 \times }$ faster than the most efficient GCL baseline with its best selected epochs number [14], as shown in Table 1.
33
+
34
+ # 2 Rethinking Representative GCL Methods
35
+
36
+ In this section, we analyse a technical defect observed in two representative GCL methods, DGI [10] and MVGRL [11]. Based on the technical defect, we show that mutual information maximisation behind these two approaches is not the contributed factor to contrastive learning, but a new paradigm, group discrimination. Finally, from the analysis, we provide the definition of this new concept.
37
+
38
+ # 2.1 Rethinking GCL Methods
39
+
40
+ DGI [10] is the first work introducing contrastive learning into GRL. However, due to a technical defect observed in their official opensource code, we found it is essentially not working as the authors thought (i.e., learning via MI interaction).
41
+
42
+ ![](images/e005a7bfab03de24a46df553ee290e45d447140dd4a7b74c7ad6162d90db0cd4.jpg)
43
+ Figure 2: The architecture of DGI. Cubes indicate node embeddings. Red and blue lines represent MI maximisation and minimisation, respectively. G and $\widetilde { \mathcal { G } }$ denote the original graph and the corrupted graph. s is the summary vector.
44
+
45
+ Constant Summary Vector. As shown in Figure 2, the original idea of DGI is to maximise the MI (i.e., the red line) between a node $a$ and the summary vector s, which is obtained by averaging all node embeddings in a graph G. Also, to regularise the model training, DGI corrupts G by shuffling the node order of the input feature matrix to get G˜. Then, generated embeddings of $\widetilde { \mathcal { G } }$ serve as negative samples, which are pulled apart from the summary vector s via MI minimisation.
46
+
47
+ Nonetheless, in the implementation of DGI, a Sigmoid function is inappropriately applied on the summary vector generated from a GNN whose weight is initialised with Xavier initialisation. As a result, elements in the summary vector are very close to the same value. We have validated this finding on three datasets, Cora, CiteSeer and PubMed. The experiment result is shown in Table 2, which shows that summary vec
48
+
49
+ Table 2: Summary vector statistics on three datasets with different activation functions including ReLU, LeakyReLU (i.e., LReLU shown below), PReLU, and Sigmoid.
50
+
51
+ <table><tr><td>Activation</td><td>Statistics</td><td>Cora</td><td>CiteSeer</td><td>PubMed</td></tr><tr><td rowspan="3">ReLU/LReLU/PReLU</td><td>Mean</td><td>0.50</td><td>0.50</td><td>0.50</td></tr><tr><td>Std</td><td>1.3e-03</td><td>1.0e-04</td><td>4.0e-04</td></tr><tr><td>Range</td><td>1.4e-03</td><td>8.0e-04</td><td>1.5e-03</td></tr><tr><td rowspan="3">Sigmoid</td><td>Mean</td><td>0.62</td><td>0.62</td><td>0.62</td></tr><tr><td>Std</td><td>5.4e-05</td><td>2.9e-05</td><td>6.6e-05</td></tr><tr><td>Range</td><td>3.6e-03</td><td>3.0e-03</td><td>3.2e-03</td></tr></table>
52
+
53
+ tors in all datasets are approximately a constant vector $\epsilon I$ , where $\epsilon$ is a scalar and $\pmb { I }$ is an all-ones vector (i.e., $\scriptstyle \epsilon = 0 . 5 0$ with ReLU/LReLU/PReLU and $\epsilon { = } 0 . 6 2$ with Sigmoid as non-linear activation in these datasets).
54
+
55
+ To theoretically explain this phenomenon, we present the proposition below:
56
+
57
+ Table 3: The experiment result on three datasets with changing value from 0 to 1.0 for the summary vector.
58
+
59
+ <table><tr><td>Dataset</td><td>0</td><td>0.2</td><td>0.4</td><td>0.6</td><td>0.8</td><td>1.0</td></tr><tr><td>Cora</td><td></td><td></td><td></td><td></td><td>70.3±0.7 82.4±0.2 82.3±0.3 82.5±0.4 82.3±0.3 82.5±0.1</td><td></td></tr><tr><td>CiteSeer</td><td></td><td></td><td></td><td></td><td>61.8±0.8 71.7±0.6 71.9±0.7 71.6±0.9 71.7±1.0 71.6±0.8</td><td></td></tr><tr><td>PubMed</td><td>68.3±1.5 77.8±0.5 77.9±0.8 77.7±0.9 77.4±1.1 77.2±0.9</td><td></td><td></td><td></td><td></td><td></td></tr></table>
60
+
61
+ Proposition 1 Given $\mathcal { G } = \{ \mathbf { X } \in \mathbb { R } ^ { N \times D } , \mathbf { A } \in \mathbb { R } ^ { N \times N } \} ,$ and a GCN encoder $g ( \cdot )$ initialised with Xavier initialisation, we can obtain its embedding $\mathbf { H } = \sigma ( g ( \mathcal { G } ) )$ , where $\sigma ( \cdot )$ is a non-linear activation function. By applying the sigmoid function $\sigma _ { s i g } ( \cdot )$ to the summary vector s (i.e., the average row vector of H), values in $\sigma _ { s i g } ( \mathbf { s } )$ approximately become 0.5 with ReLU/LReLU/PReLU or 0.62 with Sigmoid as non-linear activation of $g ( \cdot )$ at the initialisation stage.
62
+
63
+ Based on this proposition, we can see these summary vectors can lose variance and become a constant vector at the initialisation stage. Based on Table 2, we can see the constant in the summary vector remain unchanged, and the information loss still occurs even if the GNN encoder is trained. Thus, we conjecture the training process won’t affect the constant value much in the summary vector of DGI. The proof for the proposition is presented in Appendix A.1.
64
+
65
+ To evaluate the effect of $\epsilon$ to constant summary vector, we vary the scalar $\epsilon$ (from 0 to 1 increment by 0.2) to change the constant summary vector and report the model performance (i.e., averaged accuracy on five runs) in Table 3.
66
+
67
+ From this table, we can see, except for 0, the model performance is trivially affected by $\epsilon$ for constant summary vector. When the summary vector is set to 0, the model performance plummets because node embeddings become all 0 when multiplying with such vector and the model converges to the trivial solution. As the summary vector only has a trivial effect on model training, the hypothesis of DGI [10] on learning via contrastiveness between anchor nodes and the summary instance does not hold, which raises a question to be investigated: What truly leads to the success of DGI?
68
+
69
+ Simplifying DGI. To answer the question, we predigest the objective function proposed in DGI (i.e., maximising the MI between $\mathbf { h } _ { i }$ and the summary vector s) by using an all-ones vector as the summary vector s (i.e., setting $\mathbf { s } = \epsilon \pmb { I } = \pmb { I }$ ) and simplifying the discriminator $\mathcal { D } ( \cdot )$ (i.e., removing the learnable weight matrix). Then, we rewrite the objective function to the following form:
70
+
71
+ $$
72
+ \begin{array} { l } { \displaystyle \mathcal { L } _ { D G I } = \frac { 1 } { 2 N } ( \sum _ { i = 1 } ^ { N } \log \mathcal { D } ( \mathbf { h } _ { i } , \mathbf { s } ) + \log ( 1 - \mathcal { D } ( \tilde { \mathbf { h } } _ { i } , \mathbf { s } ) ) ) , } \\ { \displaystyle \qquad = \frac { 1 } { 2 N } ( \sum _ { i = 1 } ^ { N } \log ( \mathbf { h } _ { i } \cdot \mathbf { s } ) + \log ( 1 - \tilde { \mathbf { h } } _ { i } \cdot \mathbf { s } ) ) ) , } \\ { \displaystyle \qquad = \frac { 1 } { 2 N } ( \sum _ { i = 1 } ^ { N } \log ( s u m ( \mathbf { h } _ { i } ) ) + \log ( 1 - s u m ( \tilde { \mathbf { h } } _ { i } ) ) ) , } \end{array}
73
+ $$
74
+
75
+ where $\cdot$ is the vector multiplication operation, $N$ is the number of nodes in a graph, $\mathbf { h } _ { i } \in \mathbb { R } ^ { 1 \times D }$ and $\tilde { \mathbf { h } } _ { i } \in \mathbb { R } ^ { 1 \times D }$ are the original and corrupted embedding for node $i$ $, s u m ( \cdot )$ is the summation function, and $\mathcal { D } ( \cdot )$ is a discriminator for bilinear transformation, which can be formulated as follows:
76
+
77
+ $$
78
+ \begin{array} { r } { \mathrm { \bf ~ \mathcal { D } } ( { \bf h } _ { i } , { \bf s } ) = \sigma _ { s i g } ( { \bf h } _ { i } \cdot { \bf W } \cdot { \bf s } ) , } \end{array}
79
+ $$
80
+
81
+ where $\mathbf { W }$ is a learnable weight matrix and $\sigma _ { s i g } ( \cdot )$ is the sigmoid function. Specifically, as shown in Equation 2, by removing the weight matrix $\mathbf { W } , { \mathbf { h } } _ { i }$ is directly multiplied with s. As s is a vector containing only one, the multiplication of $\mathbf { h } _ { i }$ and s is equivalent to summing $\mathbf { h } _ { i }$ itself directly. From this form, we can see that the multiplication of $\mathbf { h } _ { i }$ and the summary vector only serves as an aggregation function (i.e., summation aggregation) to aggregate $\mathbf { h } _ { i }$ . To explore the effect of other aggregation functions, we replace the summation function in Equation 1 with other aggregation methods such as mean-, minimum-, and maximum- pooling, and present the experiment result in Appendix A.3.
82
+
83
+ Table 4: Comparison of the original DGI and $\mathrm { D G I } _ { B C E }$ in terms of accuracy (averaged on five runs), memory efficiency (in MB) and training time (in seconds). Number after | shows how many times have $\mathrm { D G I } _ { B C E }$ improved on top of DGI.
84
+
85
+ <table><tr><td>Experiment</td><td>Method</td><td>Cora</td><td>CiteSeer</td><td>PubMed</td></tr><tr><td>Accuracy</td><td>DGI</td><td>81.7±0.6</td><td>71.5±0.7</td><td>77.3±0.6</td></tr><tr><td></td><td>DGIBCE</td><td>82.5±0.3</td><td>71.7±0.6</td><td>77.7±0.5</td></tr><tr><td>Memory</td><td>DGI</td><td>4189MB</td><td>8199MB</td><td>11471MB</td></tr><tr><td></td><td>DGIBCE</td><td></td><td></td><td>1475MBl64.8%1587MBl80.6%1629MBl85.8%</td></tr><tr><td>Time</td><td>DGI</td><td>0.085s</td><td>0.134s</td><td>0.158s</td></tr><tr><td></td><td>DGIBCE</td><td>0.010sl8.5×</td><td>0.021sl6.4×</td><td>0.015sl10.5×</td></tr></table>
86
+
87
+ Based on Equation 1, we can rewrite it to a very simple binary cross entropy loss if we also include corrupted nodes as data samples and setting ${ \hat { y } } _ { i } = a g g ( \mathbf { h } _ { i } )$ , where $a g g ( \cdot )$ stands for aggregation:
88
+
89
+ $$
90
+ \mathcal { L } _ { B C E } = - \frac { 1 } { 2 N } ( \sum _ { i = 1 } ^ { 2 N } y _ { i } \log \hat { y } _ { i } + ( 1 - y _ { i } ) \log ( 1 - \hat { y } _ { i } ) ) ,
91
+ $$
92
+
93
+ where $y _ { i } \in \mathbb { R } ^ { 1 \times 1 }$ means the indicator for node $i$ (i.e., if node $i$ is corrupted, $y _ { i }$ is 0, otherwise it is 1), and $\hat { y } _ { i } \in \mathbb { R } ^ { 1 \times 1 }$ represents the prediction for a node sample $i$ . As we include corrupted nodes as data samples, the size of nodes to be processed is doubled to $2 N$ (i.e., the number of corrupted nodes is equal to the number of original nodes). From the equation above, we can easily observe that what DGI truly does is discriminate between a group of nodes generated with correct topology and nodes generated with corrupted topology, as shown in Figure 1. We name this self-supervised learning paradigm "Group Discrimination". To validate the effectiveness of this paradigm, we replace the original DGI loss with Equation 3, namely, $\mathrm { D G I } _ { B C E }$ and compare it with DGI on three datasets in terms of training time, memory efficiency and model performance as shown in Table 4. Here, $\mathrm { D G I } _ { B C E }$ adopts the same parameter setting as DGI. From this table, we can observe $\mathrm { D G I } _ { B C E }$ dramatically improves DGI in both memory and time efficiency while it slightly enhances the model performance of DGI. This may be contributed to the removal of multiplication operations between node pairs, which eases the burden of computation and memory consumption.
94
+
95
+ Similar to DGI, the same technical defect is observed in MVGRL [11], which makes it become a GD-based method. Extended on DGI, MVGRL [11] incorporates diffusion augmentation to inject additional global information into model training, which enhances the model performance. The detailed analysis for MVGRL is presented in Appendix A.4.
96
+
97
+ # 2.2 Definition of Group Discrimination
98
+
99
+ As mentioned above, Group Discrimination is a self-supervised GRL paradigm, which learns by discriminating different groups of node samples. Specifically, the paradigm assigns different indicators to different groups of node samples. For example, for binary group discrimination, one group is considered as the positive group with class 1 as its indicator, whereas the other group is the negative group, having its indicator assigned as 0. Given a graph G, the positive group usually includes node samples generated with the original graph G or its augmented views (i.e., similar graph instances of G created by augmentation). In contrast, the opposing group contains negative samples obtained by corrupting G, e.g., changing its topology structure.
100
+
101
+ Based on our theoretical analysis, group discrimination is learning to avoid making ‘mistakes’ (i.e., bias the encoder towards avoiding mistaken samples), thus improving the quality of generated embeddings. The analysis and an intuitive explanation are presented in Section 6.1.1 and A.2.1.
102
+
103
+ # 3 Methodology
104
+
105
+ We first define unsupervised node representation learning and then present the architecture of GGD, which extends $\mathbf { D G I } _ { B C E }$ with additional augmentation, the projector and embedding reinforcement to reach better model performance. Given a graph G with attributes $\mathbf { X } \in \mathbb { R } ^ { N \times D }$ , where $N$ is the number of nodes in G, and $D$ is the number of dimensions of $\mathbf { X }$ , our aim is to train a GNN encoder without the reliance on labelling information. With the trained encoder, taking G and $\mathbf { X }$ as input, it can output learned representations $\mathbf { H } \in \mathbb { R } ^ { N \times D ^ { \prime } }$ , where $D ^ { \prime }$ is the predefined hidden dimension. H can then be used in many downstream tasks such as node classification.
106
+
107
+ ![](images/35924d1789fec858cdd0bc17c036fbafa43902aba9cf673742249a05da6a4c9a.jpg)
108
+
109
+ Figure 3: The architecture of GGD. Given a graph G with a feature matrix $\mathbf { X }$ , we can optionally apply augmentation on them to generate $\hat { \mathcal G }$ and $\hat { \mathbf X }$ . Then, we corrupt $\hat { \mathbf { X } }$ and $\hat { \mathcal G }$ to obtain $\tilde { \mathbf { X } }$ and G˜. Taking $\dot { \hat { \mathbf { X } } }$ and $\hat { \mathcal G }$ as input to the encoder and the projector, i.e., a multilayer perceptron, positive node samples can be obtained. Similarly, $\tilde { \mathbf { X } }$ and $\tilde { \mathcal { G } }$ are fed to the same encoder and projector to generate negative samples. The generated embeddings are aggregated to get predictions for the group discrimination task. This process will be iteratively conducted until reaching the predefined training epochs.
110
+
111
+ # 3.1 Graph Group Discrimination
112
+
113
+ Based on the proposed self-supervised GRL paradigm, group discrimination, we have designed a novel method, namely GGD, to learn node representations using a siamese network structure and a BCE loss. The architecture of GGD is presented in Figure 3. The framework mainly consists of four components: augmentation, corruption, a siamese GNN network, and group discrimination.
114
+
115
+ Augmentation. With a given graph G and feature matrix $\mathbf { X }$ , optionally, we can augment it with augmentation techniques such as edge and feature dropout to create $\hat { \mathcal G }$ and $\hat { \mathbf X }$ . In practice, we follow the augmentation proposed in GraphCL [18]. Specifically, edge dropout removes a predefined fraction of edges, while we use node dropout to mask a predefined proportion of feature dimension, i.e., assigning 0 to replace values in randomly selected dimensions. This step is optional in implementation.
116
+
117
+ Notably, the motivation of using augmentation in our framework is distinct from contrastive learning methods. In our study, augmentation is used to increase the difficulty of the self-supervised training tasks. With augmentation, $\hat { \mathcal G }$ and $\hat { \mathbf { X } }$ change in every training iteration, which forces the model to lessen the dependence on the fixed pattern (i.e., unchanged edge and feature distribution) in a monotonous graph. However, in contrastive learning, augmentation creates augmented views sharing similar semantic information for building contrastiveness.
118
+
119
+ Corruption. $\hat { \mathcal G }$ and $\hat { \mathbf X }$ are then corrupted to build $\tilde { \mathcal { G } }$ and $\tilde { \mathbf { X } }$ for the generation of node embeddings in the negative group. We adopt the same corruption technique used in DGI [10] and MVGRL [11] (as shown in Figure 5). The corruption technique devastates the topology structure of $\hat { \mathcal G }$ by randomly changing the order of nodes in $\hat { \mathbf { X } }$ . The corrupted $\tilde { \mathbf { X } }$ and $\tilde { \mathcal { G } }$ can be used for producing node representations with incorrect network connections.
120
+
121
+ The Siamese GNN. We have designed a siamese GNN network to output node representations given a graph and its attribute. The siamese GNN network is made up of two components, which are a GNN encoder and a projector. The backbone GNN encoder is replaceable with a variety of choices of GNNs, e.g., GCN [19] and GAT [20]. In our work, we adopt GCN as the backbone. The projector is a multi-layer perceptron network, whose number of layers can be adjusted. When generating node embeddings of the positive group, the Siamese network takes $\hat { \mathcal G }$ and $\hat { \mathbf { X } }$ as input. Using the same encoder and projector, the Siamese network output the negative group with $\bar { \mathfrak { G } }$ and $\tilde { \mathbf { X } }$ . These two groups of node embeddings are considered as a collection of data samples with a size of $2 N$ for discrimination. Before conducting group discrimination, in the “aggregation” phase, all data samples are aggregated with the same aggregation technique, e.g., sum-, mean-, and linear aggregation.
122
+
123
+ Group Discrimination. In the group discrimination process, we adopt a very simple binary cross entropy (BCE) loss to discriminate two groups of node samples as shown in Equation 3. In our implementation, $y _ { i }$ is 0 and 1 for node embeddings in negative and positive groups. During model training, the model is optimised by categorising node embeddings in the collection of data samples into their corresponding class correctly. The loss is computed by comparing the prediction of a node $i$ , i.e., a scalar, with its indicator $y _ { i }$ . With the ease of BCE loss computation, the training process of GGD is very fast and memory efficient.
124
+
125
+ # 3.2 Model Inference
126
+
127
+ During training, the model is optimised via loss minimisation with Equation 3. The time complexity analysis of GGD is provided in Appendix A.5. In the inference phase, we freeze the trained GNN encoder $g _ { \theta }$ and obtain node embeddings $\mathbf { H } _ { \theta }$ with the input G.
128
+
129
+ Inspired by MVGRL [11], which strengthens the output embeddings by including additional global information, we adopt a conceptually similar embedding reinforcement approach. Specifically, they obtain the final embeddings by summing up embeddings from two views: the original view comprising local information and the diffused view with global information. This operation reinforces the final embeddings and leads to model performance improvement. Nonetheless, graph diffusion impairs the scalability of a model [21] and hence cannot be directly applied in our embedding generation process. To avoid the diffusion computation, we have come up with a workaround in the virtue of the power of a graph to extract global information. The power of a graph can extend the message passing scope of $\mathbf { H } _ { \theta }$ to n-hop neighbourhood, which encodes global information from distant neighbours. It can be formulated as follows:
130
+
131
+ $$
132
+ \begin{array} { r } { \mathbf { H } _ { \theta } ^ { g l o b a l } = \mathbf { A } ^ { n } \mathbf { H } _ { \theta } , } \end{array}
133
+ $$
134
+
135
+ where Hglobal is the global embedding, and $\mathbf { A }$ is the adjacency matrix of the graph G. It is notable that this operation can be easily decomposed with the associative property of matrix multiplication and is easy to compute. To show the easiness of such computation, we conduct an experiment showing its time consumption on various datasets in Appendix A.6. Finally, the final embedding can be achieved by $\mathbf { H } = \mathbf { H } _ { \theta } ^ { g l o \bar { b } a l } + \mathbf { H } _ { \theta }$ , which can be used for downstream tasks. In our experiment, we conduct node classification tasks. Following the common practice of GCL methods [10, 13, 15, 12, 17], these tasks are performed by using the final embeddings $\mathbf { H }$ to train and test a simple logistic regression classifier.
136
+
137
+ # 4 Related Work
138
+
139
+ Graph Neural Networks (GNNs). are generalised deep neural networks for graph-structured data. GNNs mainly have two categories, spectral-based GNNs and spatial-based GNNs. Spectral GNNs attempt to use eigen-decomposition to obtain the spectral-based representation of graphs, whereas spatial GNNs focus on using spatial neighbours of nodes for message passing. Extending spectral-based methods to the spatial domain, GCN [19] utilises first-order Chebyshev polynomial filters to approximate spectral-based graph convolution. Taking the weight of spatial neighbours in consideration, GAT [20], improves GCN by introducing attention module in message passing. To decouple message passing from neural networks, SGC [22] simplifies GCN by removing non-linearity and weight matrices in graph convolution layers. However, these studies cannot handle datasets with limited or no labels. Graph contrastive learning has been recently exploited to address this issue.
140
+
141
+ Graph Contrastive Learning (GCL). aims to alleviate the reliance on labelling information in model training based on the concept of mutual information (MI). Specifically, GCL approaches maximise MI between instances with similar semantic information, and minimise MI between dissimilar instances. For example, DGI [10] builds contrastiveness between node embeddings and a summary vector (i.e., a graph level embedding obtained by averaging all node embeddings) with a JSD estimator. To improve DGI, MVGRL [11] and GMI [12] extends the idea of DGI by introducing multi-view contrastiveness with diffusion augmentation, and focusing on a local scope with the first-order neighbourhood, respectively. Adopting InfoNCE loss, GRACE [13] applies augmentation techniques to create two augmented views and inject contrastiveness between them. Though these GCL methods have successfully outperformed some supervised baselines in benchmark datasets, these methods suffer from significant limitations, including time-consuming training, memory inefficiency, and poor scalability. In contrast, GGD requires much less time in training and posses high scalability.
142
+
143
+ Scalable GNNs. Efficiency is a bottleneck for most existing GNNs to handle large graphs. To address this challenge, there are mainly three categories of approaches: layer-wise sampling (e.g., GraphSage [23]), graph sampling methods such as Cluster-GCN [24] and GraphSAINT [25], and linear models, e.g., SGC [22] and PPRGo [26]. GraphSage [23] introduces a neighbour-sampling approach, which creates fixed-size subgraphs for each node. Underpinned by graph sampling, Cluster-GCN [24] decomposes a large-scale graph into multiple subgraphs based on clustering, while GraphSAINT [25] utilises light-weight graph samplers along with a normalisation technique for biases elimination in mini-batches. Linear models, SGC [22] and PPRGo [26], decouple graph convolution from embedding transformation (i.e., matrix multiplication with weight matrices), and leverage Personalised PageRank to encode multi-hop neighbourhood, respectively. However, all these methods only focus on supervised learning on graphs. For unsupervised/self-supervised learning settings where no labelled supervision signal is available, these frameworks are not applicable. The closest works to ours to handle large scale graph datasets under self-supervised settings are BGRL [15] and GBT [14]. They try to improve the contrastive losses by removing negative samples. However, BGRL [15] and GBT [14] still require much more time in training compared with GGD.
144
+
145
+ # 5 Experiments
146
+
147
+ We evaluate the effectiveness of our model using eight benchmark datasets of different sizes. These datasets include five small- and mediumscale datasets: Cora, CiteSeer, PubMed [27], Amazon Computers, and Amazon Photos [28], as well as large-scale datasets ogbn-arxiv, ogbnproducts and ogbn-papers100M. Notably, ogbnpapers100M is the largest dataset provided by Open Graph Benchmark[29] for node property prediction tasks. It has over 110 million nodes and 1 billion edges. The statistics of these datasets are summarised in Appendix A.7. To
148
+
149
+ Table 5: Model performance of node classification on 5 datasets. X, A and Y represent feature, adjacency matrix, and labels. Best performance for each dataset is in bold. Comp and Photo refer to Amazon Computers and Amazon Photos.
150
+
151
+ <table><tr><td>Data</td><td>Method</td><td>Cora</td><td></td><td>CiteSeer PubMed</td><td>Comp</td><td>Photo</td></tr><tr><td>X,A,Y</td><td>GCN</td><td>81.5</td><td>70.3</td><td>79.0</td><td></td><td>76.3±0.5 87.3±1.0</td></tr><tr><td>X,A,Y</td><td>GAT</td><td>83.0±0.7 72.5±0.7 79.0±0.3 79.3±1.1 86.2±1.5</td><td></td><td></td><td></td><td></td></tr><tr><td>X,A,Y</td><td>SGC</td><td>81.0±0.0 71.9±0.1 78.9±0.0 74.4±0.1 86.4±0.0</td><td></td><td></td><td></td><td></td></tr><tr><td>X,A,Y</td><td>CG3</td><td>83.4±0.7 73.6±0.8 80.2±0.8 79.9±0.6 89.4±0.5</td><td></td><td></td><td></td><td></td></tr><tr><td>X,A</td><td>DGI</td><td>81.7±0.6 71.5±0.7 77.3±0.6 75.9±0.6 83.1±0.5</td><td></td><td></td><td></td><td></td></tr><tr><td>X,A</td><td>GMI</td><td>82.7±0.2 73.0±0.3 80.1±0.2 76.8±0.1 85.1±0.1</td><td></td><td></td><td></td><td></td></tr><tr><td>X,A</td><td>MVGRL</td><td>82.9±0.7 72.6±0.7 79.4±0.3 79.0±0.6 87.3±0.3</td><td></td><td></td><td></td><td></td></tr><tr><td>X,A</td><td>GRACE</td><td></td><td></td><td></td><td></td><td>80.0±0.4 71.7±0.6 79.5±1.1 71.8±0.4 81.8±1.0</td></tr><tr><td>X,A</td><td>GraphCL</td><td>82.5±0.2 72.8±0.3 77.5±0.2 OOM</td><td></td><td></td><td></td><td>79.5±0.4</td></tr><tr><td>X,A</td><td>BGRL</td><td></td><td></td><td></td><td></td><td>80.5±1.0 71.0±1.2 79.5±0.6 89.2±0.9 91.2±0.8</td></tr><tr><td>X,A</td><td>GBT</td><td></td><td></td><td></td><td>81.0±0.5 70.8±0.2 79.0±0.1 88.5±1.0 91.1±0.7</td><td></td></tr><tr><td>X,A</td><td>GGD</td><td></td><td></td><td></td><td>83.9±0.4 73.0±0.6 81.3±0.8 90.1±0.9 92.5±0.6</td><td></td></tr></table>
152
+
153
+ ensure reproducibility, the detailed experiment settings and computing infrastructure are summarised in Appendix A.8. The source code is already open sourced2.
154
+
155
+ # 5.1 Evaluating on Small- and Medium-scale Datasets
156
+
157
+ We compare GGD with ten baselines including four supervised GNNs (i.e., GCN [19], GAT [20], SGC [22], and CG3 [30]) and six GCL methods (i.e., DGI [10], GMI [12], MVGRL [11], GRACE [13], BGRL [15] and GBT [14]) on five small- and medium scale benchmark datasets. In the experiment, we follow the same data splits as [31] for Cora, CiteSeer and PubMed. For Amazon Computers and Photos, we use a random split setting, which randomly allocates $10 / 1 0 / 8 0 \%$ of data to training/validation/test set, respectively. The model performance is measured using the averaged
158
+
159
+ Table 6: Comparison of training time per epoch in seconds between six GCL-based methods and GGD on five datasets. Improve means how many times are GGD faster than baselines. ‘-’ means the improvement range.
160
+
161
+ <table><tr><td>Method</td><td>Cora</td><td>CiteSeer</td><td>PubMed</td><td>Comp</td><td>Photo</td></tr><tr><td>DGI</td><td>0.085</td><td>0.134</td><td>0.158</td><td>0.171</td><td>0.059</td></tr><tr><td>GMI</td><td>0.394</td><td>0.497</td><td>2.285</td><td>1.297</td><td>0.637</td></tr><tr><td>MVGRL</td><td>0.123</td><td>0.171</td><td>0.488</td><td>0.663</td><td>0.468</td></tr><tr><td>GRACE</td><td>0.056</td><td>0.092</td><td>0.893</td><td>0.546</td><td>0.203</td></tr><tr><td>GraphCL</td><td>0.073</td><td>0.085</td><td>0.123</td><td>OOM</td><td>0.188</td></tr><tr><td>BGRL</td><td>0.085</td><td>0.094</td><td>0.147</td><td>0.337</td><td>0.273</td></tr><tr><td>GBT</td><td>0.073</td><td>0.072</td><td>0.103</td><td>0.492</td><td>0.173</td></tr><tr><td>GGD</td><td>0.010</td><td>0.021</td><td>0.015</td><td>0.016</td><td>0.009</td></tr><tr><td>Improve</td><td>7.3-39.4×</td><td>3.4-23.7×</td><td>6.9-152.3×</td><td>10.7-15.3×</td><td>19.2-70.8x</td></tr></table>
162
+
163
+ classification accuracy with five results along with standard deviations and reported in Table 5.
164
+
165
+ Accuracy. From Table 5, we can observe that GGD generally outperforms all baselines in all datasets. The only exception is on CiteSeer dataset, where the semi-supervised method, CG3[30], slightly outperforms GGD, which still provides the 2nd best performance. In this experiment, we use the officially released code of GraphCL [18], BGRL [15] and GBT [14] to reproduce the result, while the other results are sourced from previous studies [30, 1].
166
+
167
+ # Efficiency and Memory Consumption. GGD is
168
+
169
+ Table 7: Comparison of memory consumption in MBs of six GCL baselines and GGD on five datasets.
170
+
171
+ <table><tr><td>Method</td><td>Cora</td><td>CiteSeer</td><td>PubMed</td><td>Comp</td><td>Photo</td></tr><tr><td>DGI</td><td>4,189</td><td>8,199</td><td>11,471</td><td>7,991</td><td>4.946</td></tr><tr><td>GMI</td><td>4,527</td><td>5,467</td><td>14.697</td><td>10.655</td><td>5,219</td></tr><tr><td>MVGRL</td><td>5,381</td><td>5,429</td><td>6.619</td><td>6.645</td><td>6.645</td></tr><tr><td>GRACE</td><td>1,913</td><td>2.043</td><td>12.597</td><td>8,129</td><td>4,881</td></tr><tr><td>GraphCL</td><td>4,163</td><td>8,249</td><td>11,555</td><td>OOM</td><td>9.083</td></tr><tr><td>BGRL</td><td>1,627</td><td>1,749</td><td>2.299</td><td>5.069</td><td>3.303</td></tr><tr><td>GBT</td><td>1,651</td><td>1,799</td><td>2,461</td><td>5.037</td><td>2.641</td></tr><tr><td>GGD</td><td>1,475</td><td>1,587</td><td>1,629</td><td>1,787</td><td>1,637</td></tr><tr><td>Improve</td><td>10.7-72.6%</td><td>11.8-80.6%</td><td>27.2-85.8%</td><td>64.5-83.2%</td><td>38.0-75.4%</td></tr></table>
172
+
173
+ substantially more efficient than other self-supervised baselines in time and memory consumption as shown in Table 6 and Table 7. Remarkably, GGD is 19.2 times faster in Amazon Photos for training time per epoch, and consumes $6 4 . 5 \%$ less memory in Amazon Computers for memory consumption than the most efficient baseline (i.e., GBT [14]). The dramatic boost of time and memory efficiency of GGD is contributed to the exclusion of similarity computation, which enables model training without multiplication of node embeddings.
174
+
175
+ # 5.2 Evaluating on Large-scale datasets
176
+
177
+ To evaluate the scalability of GGD, we choose three large-scale datasets from Open Graph Benchmark [29], which are ogbn-arxiv, ogbn-products, and ogbn-papers100M. ogbn-papers100M is the most challenging large-scale graph available in Open Graph Benchmark for node property prediction with over 1 billion edges and 110 million nodes. Extending to extremely large graphs (i.e., ogbnproducts and ogbn-papers100M), we adopt a Neighbourhood Sampling strategy, which is described in Appendix A.8.
178
+
179
+ ogbn-arxiv & ogbn-products. For ogbn-arxiv, we compare GGD against four self-supervised baselines (i.e., DGI [10], GRACE [13], BGRL [15]and GBT [14]), whereas BGRL [15] and GBT [14] are selected to be compared for ogbn-products. In addition, we include the performance of MLP, Node2vec [32], and supervised GCN [19] sourced from [29] in Table 8 and Table 9. For memory and training time comparison, we only compare GGD with the two most efficient baselines (i.e., BGRL and GBT according to Tables 6 and 7). In ogbn-arxiv, we reproduce BGRL [15] and found it fails to process
180
+
181
+ Table 8: Node classification result and efficiency comparison on ogbn-arxiv. ‘epo’ means epoch. ‘Time’ means training time per epoch (in seconds). ‘Total’ is total training time (Number of epochs $\times$ ‘Time’). OOM indicates out-of-memory on Nvidia A40 (48GB). Number after \ means the hidden size of GGD.
182
+
183
+ <table><tr><td>Method</td><td>Valid</td><td>Memory</td><td>Time</td><td>Total</td></tr><tr><td>Supervised GCN</td><td>73.0±0.2 71.7±0.3</td><td></td><td>=</td><td></td></tr><tr><td>MLP</td><td>57.7±0.4 55.5±0.2</td><td></td><td></td><td></td></tr><tr><td>Node2vec</td><td>71.3±0.1 70.1±0.1</td><td></td><td></td><td></td></tr><tr><td>DGI</td><td>71.3±0.1 70.3±0.2</td><td></td><td></td><td></td></tr><tr><td>GRACE(10k epos)</td><td>72.6±0.2 71.5±0.1</td><td></td><td></td><td></td></tr><tr><td>BGRL(10k epos)</td><td>72.5±0.1 71.6±0.1</td><td>OOM (Full-graph)</td><td>/</td><td>/</td></tr><tr><td>GBT(300 epos)</td><td>71.0±0.1 70.1±0.2</td><td>14.959MB</td><td></td><td>6.47 1,941.00</td></tr><tr><td>GGD(1 epo\1500)</td><td>72.7±0.3 71.6±0.5</td><td>14.666MB</td><td></td><td>0.95 0.9512.043×</td></tr><tr><td>GGD(1 epo\256)</td><td>71.0±0.2 70.3±0.3</td><td>4,513MBl69.8%</td><td></td><td>0.18 0.18|10,783×</td></tr></table>
184
+
185
+ ogbn-arxiv in full batch. Thus, we only compare GGD and GBT in this dataset, which can successfully train in full-graph processing mode.
186
+
187
+ From Table 8 and Table 9, we can see GGD remarkably achieves the state-of-the-art performance using only one epoch to train. As a result, GGD is 10,783 times faster than the most efficient baseline, i.e., GBT [14], on total training time to reach the desirable performance in ogbn-arxiv. Please note that the number of epoches in our experiment is consistent with the optimal choice
188
+
189
+ Table 9: Node classification result and efficiency comparison on ogbn-products.
190
+
191
+ <table><tr><td>Method</td><td>Valid</td><td>Test</td><td>Memory</td><td>Time</td><td>Total</td></tr><tr><td>Supervised GCN</td><td>92.0±0.0</td><td>75.6±0.2</td><td>-</td><td>-</td><td></td></tr><tr><td>MLP</td><td>75.5±0.0</td><td>61.1±0.0</td><td></td><td></td><td></td></tr><tr><td>Node2vec</td><td>70.0±0.0</td><td>68.8±0.0</td><td></td><td></td><td></td></tr><tr><td>BGRL(100 epos)</td><td>78.1±2.1</td><td>64.0±1.6</td><td>29,303MB</td><td></td><td>53m16s 5.326m40s</td></tr><tr><td>GBT(100 epos)</td><td>85.0±0.1</td><td>70.5±0.4</td><td>20.419MB</td><td></td><td>48m38s 4.863m20s</td></tr><tr><td>GGD(1 epo)</td><td>90.9±0.5</td><td>75.7±0.4</td><td>4,391MBl78.5%12m46s 12m46sl381x</td><td></td><td></td></tr></table>
192
+
193
+ of this hyperparameter specified in GBT [14]. For ogbn-products, we are $3 8 1 \mathrm { ~ \times ~ }$ faster than GBT [14] on total training time. Notably, our performance is significantly higher than GCL baselines using 100 epochs (i.e., $6 \%$ and $5 . 2 \%$ improvement on GBT [14] in validation and test set, respectively) with only one epoch training in this dataset. In addition, we compare the convergence speed among GGD, BGRL [15] and GBT [14] on ogbn-arxiv and ogbn-products, which are shown in Figure 4. For ogbn-arxiv, BGRL [15] is running using batched processing with neighbour sampling. This figure shows the preeminence of our GGD in convergence speed as GGD can be well-trained with only one epoch (i.e., reaching the peak model performance in the first epoch and staying stable with increased epochs). In contrast, the other two baselines require comparatively much more epochs to gradually improve their performance. Compared with GCL baselines, GGD achieves much faster convergence via Group Discrimination. We conjecture this is because GD-based method focuses on the general edge distribution of graphs instead of node-specific information. Inversely, GCL methods can suffer from convergence inefficiency as they may be easily distracted from too-detailed node-specific information during training.
194
+
195
+ ogbn-papers100M. We further compare GGD with BGRL [15] and GBT [14] on ogbn-papers100M, the largest OGB dataset with billion scale edges. Other self-supervised learning algorithms such as DGI [10] and GMI [12] fail to scale to such a large graph with a reasonable batch size (i.e., 256). We only report the performance of each algorithm after a single epoch of training in Table 10 due to the extreme scale of the dataset and the limitation of our available re
196
+
197
+ ![](images/369404741420a9881e06aace9ef0fa35449dda32773f5aba54e1e7e7eefff56b.jpg)
198
+ Figure 4: Convergence speed comparison among GGD, BGRL[15] and GBT [14]. X-axis means number of epochs, while Y-axis represents the accuracy on test set.
199
+
200
+ sources. From the table, we can observe that GGD outperforms the two GCL counterparts, BGRL [15] and GBT [14] in both accuracy and efficiency. Specifically, GGD achieves 60.2 in accuracy while BGRL and GBT reach 59.3 and 58.9 in test set, respectively. With only one epoch, these two algorithms may not be well trained. However, training each epoch of these two requires over 1 day and if we would like to train them for 100 epochs, then we will need $1 0 0 +$ GPU days, which is prohibitively impractical for general practitioners. In contrast, GGD can be trained in about 9 hours to achieve a good result for this dataset, which is more appealing in practice.
201
+
202
+ # 6 Explore Group Discrimination
203
+
204
+ In this section, we explore the corruption technique in GGD and provide the theoretical analysis of group discrimination.
205
+
206
+ # 6.1 Exploring Corruption
207
+
208
+ Firstly, we explore the corruption technique used in DGI [10] and MVGRL [11], which is shown in Figure 5. These two studies corrupt the topology of a given graph G by shuffling the feature matrix $\mathbf { X }$ . This is because by changing the node order of $\mathbf { X }$ , the neighbouring structure of G is completely changed, e.g., neighbours of node $a$ become node $b$ neighbours.
209
+
210
+ Table 10: Node classification result and efficiency comparison on ogbn-papers100M.
211
+
212
+ <table><tr><td>Method</td><td>Validation</td><td>Test</td><td>Memory</td><td>Time</td></tr><tr><td>Supervised SGC</td><td>63.3±0.2</td><td>66.5±0.2|</td><td>-</td><td>-</td></tr><tr><td>MLP</td><td>47.2±0.3</td><td>49.6±0.3</td><td>·</td><td>=</td></tr><tr><td>Node2vec</td><td>55.6±0.0</td><td>58.1±0.0</td><td>-</td><td>-</td></tr><tr><td>BGRL (1 epoch)</td><td>59.3±0.5</td><td>62.1±0.3</td><td>14,057MB</td><td>26h28m</td></tr><tr><td>GBT(1 epoch)</td><td>58.9±0.4</td><td>61.5±0.5</td><td>13,185MB</td><td>24h38m</td></tr><tr><td>GGD(1 epoch)</td><td>60.2±0.3</td><td>63.5±0.5</td><td>4,105MBl68.9% 9h15ml2.7×</td><td></td></tr></table>
213
+
214
+ With the corruption technique, negative samples in the negative group are generated with incorrect edges. Thus, by discriminating the positive group (i.e., nodes generated with ground truth edges) and the negative group, we conjecture the model can distil valuable signals by learning how to identify nodes generated with correct topology and output effective node embeddings. To provide explanation to this, we present the theoretical analysis of group discrimination in the following section.
215
+
216
+ # 6.1.1 Theoretical Analysis of Group Discrimination
217
+
218
+ Group discrimination is learning to avoid making ‘mistakes’ (i.e., bias the encoder towards avoiding mistaken samples). To explain this point, we first present Theorem 1 and then provide an intuitive explanation for group discrimination.
219
+
220
+ ![](images/3734132db1045b5ec7bbf7c9dacdc5503ab585b756c7fe339d5873634c35c1d5.jpg)
221
+ Figure 5: Corruption technique in DGI and MVGRL.
222
+
223
+ Theorem 1 Given a graph G, a corrupted
224
+ graph ${ \widetilde { \mathsf { S } } } ,$ , and a encoding network $g ( \cdot )$ , we consider the distribution of positive embeddings $g ( \mathcal { G } )$ as $P _ { p o s }$ and negative embeddings $g ( \tilde { \mathcal { G } } )$ as $P _ { n e g }$ . Optimising the group discrimination loss is equivalent to maximising the Jensen-Shannon divergence between $P _ { p o s }$ and $P _ { n e g }$ .
225
+
226
+ The proof for Theorem 1 is presented in Appendix A.2. From the theorem above, we can see maximising the group discrimination loss $\mathcal { L }$ is the same as maximising $J S ( P _ { p o s } \parallel P _ { n e g } )$ , where $J S$ represents the Jenson-Shannon divergence. Thus, by optimising the loss $\mathcal { L }$ , $P _ { p o s }$ and $P _ { n e g }$ tend to be separated. As a result, group discrimination is intuitively learning to avoid making ‘mistakes’ (i.e., bias the encoder towards avoiding mistaken samples) as shown in Figure 6. This is because by separating $P _ { p o s }$ and $P _ { n e g }$ , $P _ { p o s }$ can gradually become similar to $P _ { o p t i m a l }$ , the optimal distribution for node embeddings. As $P _ { o p t i m a l }$ , is disjoint with $P _ { n e g }$ , if the generated embeddings can avoid being similar to out-of-distribution samples, i.e., negative samples, it can be ideally closer to $P _ { o p t i m a l }$ . Therefore, the trained model can improve the quality of generated node embeddings for node samples.
227
+
228
+ # 7 Future Work
229
+
230
+ In this paper, we have introduced a new self-supervised GRL paradigm: Group Discrimination, which achieves the same level of performance as GCL methods with much less resource consumption (i.e., training time and memory). Some limitations of this work are we still have not explored some questions for GD. For example, can we extend the current binary Group Discrimination scheme (i.e., classifying nodes generated with different topology) to discrimination among multiple groups? Are there any other corruption tech
231
+
232
+ ![](images/3dcd4dfa5eb1418c564634e60ad5c8f101c15fec5f400327bbc709da259065ba.jpg)
233
+ Figure 6: $P _ { o p t i m a l }$ is the optimal distribution for node embeddings, $P _ { p o s }$ is the distribution of positive samples, $P _ { n e g }$ is the distribution of negative samples, blue nodes represent negative samples, and red nodes are samples in the optimal distribution. At the beginning, $P _ { p o s }$ is overlapped with $P _ { n e g }$ . Then, $P _ { p o s }$ is gradually separated from $P _ { n e g }$ and ideally become closer to $P _ { o p t i m a l }$ .
234
+
235
+ nique to create a more difficult negative group for discrimination? More importantly, with the extremely efficient property, GD has the potential to be deployed to various real-world applications, e.g., recommendation systems, which have limited labelling information and desire fast computation with limited resources.
236
+
237
+ # Acknowledgments and Disclosure of Funding
238
+
239
+ This research was partially supported by an Australian Research Council (ARC) Future Fellowship (FT210100097).
240
+
241
+ This work is supported in part by NSF under grants III-1763325, III-1909323, III-2106758, and SaTC-1930941.
242
+
243
+ # References
244
+
245
+ [1] Ming Jin, Yizhen Zheng, Yuan-Fang Li, Chen Gong, Chuan Zhou, and Shirui Pan. Multi-scale contrastive siamese networks for self-supervised graph representation learning. IJCAI, 2021.
246
+ [2] Yue Tan, Guodong Long, Jie Ma, Lu Liu, Tianyi Zhou, and Jing Jiang. Federated learning from pre-trained models: A contrastive learning approach. In First Workshop on Pre-training: Perspectives, Pitfalls, and Paths Forward at ICML 2022.
247
+ [3] Yue Tan, Guodong Long, Lu Liu, Tianyi Zhou, Qinghua Lu, Jing Jiang, and Chengqi Zhang. Fedproto: Federated prototype learning across heterogeneous clients. In AAAI Conference on Artificial Intelligence, volume 1, page 3, 2022.
248
+ [4] He Zhang, Bang Wu, Xingliang Yuan, Shirui Pan, Hanghang Tong, and Jian Pei. Trustworthy graph neural networks: Aspects, methods and trends. arXiv preprint arXiv:2205.07424, 2022.
249
+ [5] He Zhang, Bang Wu, Xiangwen Yang, Chuan Zhou, Shuo Wang, Xingliang Yuan, and Shirui Pan. Projective ranking: A transferable evasion attack method on graph neural networks. In CIKM, 2021.
250
+ [6] Ming Jin, Yuan-Fang Li, and Shirui Pan. Neural temporal walks: Motif-aware representation learning on continuous-time dynamic graphs. In Advances in Neural Information Processing Systems, 2022.
251
+ [7] Ming Jin, Yu Zheng, Yuan-Fang Li, Siheng Chen, Bin Yang, and Shirui Pan. Multivariate time series forecasting with dynamic graph neural odes. arXiv preprint arXiv:2202.08408, 2022.
252
+ [8] Yixin Liu, Zhao Li, Shirui Pan, Chen Gong, Chuan Zhou, and George Karypis. Anomaly detection on attributed networks via contrastive self-supervised learning. TNNLS, 2021.
253
+ [9] Yizhen Zheng, Vincent Lee, Zonghan Wu, and Shirui Pan. Heterogeneous graph attention network for small and medium-sized enterprises bankruptcy prediction. In PAKDD, pages 140–151. Springer, 2021.
254
+ [10] Petar Velickovi ˇ c, William Fedus, William L Hamilton, Pietro Liò, Yoshua Bengio, and R Devon Hjelm. ´ Deep graph infomax. ICLR, 2019.
255
+ [11] Kaveh Hassani and Amir Hosein Khasahmadi. Contrastive multi-view representation learning on graphs. In ICML, pages 4116–4126. PMLR, 2020.
256
+ [12] Zhen Peng, Wenbing Huang, Minnan Luo, Qinghua Zheng, Yu Rong, Tingyang Xu, and Junzhou Huang. Graph representation learning via graphical mutual information maximization. In WWW, pages 259–270, 2020.
257
+ [13] Yanqiao Zhu, Yichen Xu, Feng Yu, Qiang Liu, Shu Wu, and Liang Wang. Deep graph contrastive representation learning. ICML Workshop on Graph Representation Learning and Beyond, 2020.
258
+ [14] Piotr Bielak, Tomasz Kajdanowicz, and Nitesh V Chawla. Graph barlow twins: A self-supervised representation learning framework for graphs. arXiv preprint arXiv:2106.02466, 2021.
259
+ [15] Shantanu Thakoor, Corentin Tallec, Mohammad Gheshlaghi Azar, Rémi Munos, Petar Velickovi ˇ c, and ´ Michal Valko. Bootstrapped representation learning on graphs. ICLR2021, 2021.
260
+ [16] 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. NIPS, 2020.
261
+ [17] Jure Zbontar, Li Jing, Ishan Misra, Yann LeCun, and Stéphane Deny. Barlow twins: Self-supervised learning via redundancy reduction. In ICML, pages 12310–12320, 2021.
262
+ [18] Yuning You, Tianlong Chen, Yongduo Sui, Ting Chen, Zhangyang Wang, and Yang Shen. Graph contrastive learning with augmentations. NIPS, 33:5812–5823, 2020.
263
+ [19] Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. ICLR, 2017.
264
+ [20] Petar Velickovi ˇ c, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Lio, and Yoshua Bengio. ´ Graph attention networks. ICLR, 2018.
265
+ [21] Yizhen Zheng, Ming Jin, Shirui Pan, Yuan-Fang Li, Hao Peng, Ming Li, and Zhao Li. Towards graph self-supervised learning with contrastive adjusted zooming. arXiv preprint arXiv:2111.10698, 2021.
266
+ [22] Felix Wu, Amauri Souza, Tianyi Zhang, Christopher Fifty, Tao Yu, and Kilian Weinberger. Simplifying graph convolutional networks. In ICML, pages 6861–6871. PMLR, 2019.
267
+ [23] William L Hamilton, Rex Ying, and Jure Leskovec. Inductive representation learning on large graphs. In NIPS, pages 1025–1035, 2017.
268
+ [24] Wei-Lin Chiang, Xuanqing Liu, Si Si, Yang Li, Samy Bengio, and Cho-Jui Hsieh. Cluster-gcn: An efficient algorithm for training deep and large graph convolutional networks. In KDD, pages 257–266, 2019.
269
+ [25] Johannes Klicpera, Aleksandar Bojchevski, and Stephan Günnemann. Predict then propagate: Graph neural networks meet personalized pagerank. ICLR, 2019.
270
+ [26] Aleksandar Bojchevski, Johannes Klicpera, Bryan Perozzi, Amol Kapoor, Martin Blais, Benedek Rózemberczki, Michal Lukasik, and Stephan Günnemann. Scaling graph neural networks with approximate pagerank. In KDD, pages 2464–2473, 2020.
271
+ [27] Prithviraj Sen, Galileo Namata, Mustafa Bilgic, Lise Getoor, Brian Galligher, and Tina Eliassi-Rad. Collective classification in network data. AI magazine, 29(3):93–93, 2008.
272
+ [28] Oleksandr Shchur, Maximilian Mumme, Aleksandar Bojchevski, and Stephan Günnemann. Pitfalls of graph neural network evaluation. arXiv preprint arXiv:1811.05868, 2018.
273
+ [29] Weihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong, Hongyu Ren, Bowen Liu, Michele Catasta, and Jure Leskovec. Open graph benchmark: Datasets for machine learning on graphs. NIPS, 2020.
274
+ [30] Sheng Wan, Shirui Pan, Jian Yang, and Chen Gong. Contrastive and generative graph convolutional networks for graph-based semi-supervised learning. AAAI, 2020.
275
+ [31] Zhilin Yang, William Cohen, and Ruslan Salakhudinov. Revisiting semi-supervised learning with graph embeddings. In ICML, pages 40–48. PMLR, 2016.
276
+ [32] Aditya Grover and Jure Leskovec. node2vec: Scalable feature learning for networks. In KDD, pages 855–864, 2016.
277
+ [33] Behzad Kamgar-Parsi, Behrooz Kamgar-Parsi, and Menashe Brosh. Distribution and moments of the weighted sum of uniforms random variables, with applications in reducing monte carlo simulations. Journal of Statistical Computation and Simulation, 52(4):399–414, 1995.
278
+ [34] Jean Daunizeau. Semi-analytical approximations to statistical moments of sigmoid and softmax mappings of normal variables. arXiv preprint arXiv:1703.00091, 2017.
279
+ [35] Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. Advances in neural information processing systems, 27, 2014.
parse/dev/_h2FKc6E_YV/_h2FKc6E_YV_content_list.json ADDED
@@ -0,0 +1,1303 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Rethinking and Scaling Up Graph Contrastive Learning: An Extremely Efficient Approach with Group Discrimination ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 200,
8
+ 122,
9
+ 797,
10
+ 198
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Yizhen Zheng1, Shirui $\\mathbf { P a n } ^ { 2 }$ ∗, Vincent CS Lee1, Yu Zheng3, Phillip S. $\\mathbf { V } \\mathbf { u } ^ { 4 }$ , \n1Monash University, 2Griffith University, 3La Trobe University, 4 University of Illinons at Chicago \nyizhen.zheng1@monash.edu, s.pan@griffth.edu.au, vincent.cs.lee@monash.edu yu.zheng@latrobe.edu.au, psyu@uic.edu ",
17
+ "bbox": [
18
+ 186,
19
+ 250,
20
+ 831,
21
+ 308
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Abstract ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 462,
31
+ 343,
32
+ 535,
33
+ 359
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Graph contrastive learning (GCL) alleviates the heavy reliance on label information for graph representation learning (GRL) via self-supervised learning schemes. The core idea is to learn by maximising mutual information for similar instances, which requires similarity computation between two node instances. However, GCL is inefficient in both time and memory consumption. In addition, GCL normally requires a large number of training epochs to be well-trained on largescale datasets. Inspired by an observation of a technical defect (i.e., inappropriate usage of Sigmoid function) commonly used in two representative GCL works, DGI and MVGRL, we revisit GCL and introduce a new learning paradigm for self-supervised graph representation learning, namely, Group Discrimination (GD), and propose a novel GD-based method called Graph Group Discrimination (GGD). Instead of similarity computation, GGD directly discriminates two groups of node samples with a very simple binary cross-entropy loss. In addition, GGD requires much fewer training epochs to obtain competitive performance compared with GCL methods on large-scale datasets. These two advantages endow GGD with very efficient property. Extensive experiments show that GGD outperforms state-of-theart self-supervised methods on eight datasets. In particular, GGD can be trained in 0.18 seconds (6.44 seconds including data preprocessing) on ogbn-arxiv, which is orders of magnitude $^ { ( 1 0 , 0 0 0 + ) }$ faster than GCL baselines while consuming much less memory. Trained with 9 hours on ogbn-papers100M with billion edges, GGD outperforms its GCL counterparts in both accuracy and efficiency. ",
40
+ "bbox": [
41
+ 233,
42
+ 375,
43
+ 766,
44
+ 664
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 Introduction ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 174,
54
+ 688,
55
+ 310,
56
+ 705
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Graph Neural Networks (GNNs) have been widely-adopted in learning representations for graphstructured data. By utilising message-passing over the topology of a graph, GNNs can learn effective low-dimensional node embeddings, which can be used for a variety of downstream tasks such as node classification [1]. GNNs have been further applied in diverse domains, e.g., federated learning [2, 3], trustworthy systems [4, 5], dynamic graphs [6, 7] and anomaly detection [8, 9]. ",
63
+ "bbox": [
64
+ 174,
65
+ 719,
66
+ 825,
67
+ 790
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "However, many GNNs adopt a supervised learning manner to train models with label information, which is expensive and labour-intensive to collect in real-world. To address this issue, a few studies (e.g., DGI [10], MVGRL [11], GMI [12], and GRACE [13]) borrow the idea of contrastive learning from computer vision (CV), and introduce graph contrastive learning (GCL) methods for selfsupervised GRL. The core idea of these methods is to maximise the mutual information (MI) between an anchor node and its positive counterparts, sharing similar semantic information while doing the opposite for negative counterparts as shown in Figure 1(a). Nonetheless, such a scheme relies on similarity calculation in contrastive loss computation. Additionally, GCL normally requires a large number of training epochs to be well-trained on large-scale datasets. Thus, when the size of the dataset is large, these methods require a significant amount of time and resources to be well-trained. ",
74
+ "bbox": [
75
+ 174,
76
+ 795,
77
+ 825,
78
+ 878
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "",
85
+ "bbox": [
86
+ 173,
87
+ 92,
88
+ 826,
89
+ 147
90
+ ],
91
+ "page_idx": 1
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "Though a few GCL works attempt to improve graph contrastive learning with specially designed schemes, e.g., BGRL [15] and GBT [14], they are still inefficient and require high time consumption for model training. Inspired by BYOL [16], BGRL [15] adopts a bootstrapping scheme and remove negative node pairs. It only contrasts a node from the online network (i.e., updated with gradient) to its corresponding embedding from the target network (i.e., updated momentumly with stop gradient). Based on Barlow-Twins [17], ",
96
+ "bbox": [
97
+ 174,
98
+ 167,
99
+ 433,
100
+ 359
101
+ ],
102
+ "page_idx": 1
103
+ },
104
+ {
105
+ "type": "image",
106
+ "img_path": "images/95495bd797059e0d73a939f5afdde8d9b4ab6a0077dd735aea28b14bb0b91a6a.jpg",
107
+ "image_caption": [
108
+ "Figure 1: The left subfigure shows the GCL learning scheme. Red line indicates MI maximisation between two nodes, each of which $\\in \\mathbb { R } ^ { 1 \\times D }$ , while blue line indicates the opposite operation. The right subfigure presents Group Discrimination. It discriminates positive and negative node samples, each of which ∈ R1×1. "
109
+ ],
110
+ "image_footnote": [],
111
+ "bbox": [
112
+ 459,
113
+ 161,
114
+ 825,
115
+ 261
116
+ ],
117
+ "page_idx": 1
118
+ },
119
+ {
120
+ "type": "text",
121
+ "text": "GBT [14] borrows the idea of redundancy-reduction principle and utilises a cross-correlation-based loss to build contrastiveness between embedding dimensions. ",
122
+ "bbox": [
123
+ 173,
124
+ 361,
125
+ 821,
126
+ 388
127
+ ],
128
+ "page_idx": 1
129
+ },
130
+ {
131
+ "type": "text",
132
+ "text": "To boost training efficiency of self-supervised GRL, inspired by an observation of a technical defect (i.e., inappropriate application of Sigmoid function) in two representative GCL studies, we introduce a novel learning paradigm, namely, Group Discrimination (GD). Instead of similarity computation, GD directly discriminates a group of positive nodes from a group of negative nodes, as shown in Figure 1(b). Specifically, GD defines node samples generated with original graph as the positive group, while node samples obtained with corrupted topology are regarded as the negative group. Then, GD trains the model by classifying these node samples into the correct group with a very simple binary cross-entropy loss. By doing so, the model can extract valuable self-supervised signals from learning the edge distribution of a graph. Com",
133
+ "bbox": [
134
+ 174,
135
+ 393,
136
+ 483,
137
+ 642
138
+ ],
139
+ "page_idx": 1
140
+ },
141
+ {
142
+ "type": "text",
143
+ "text": "Table 1: Training time in seconds comparison between GGD and GBT [14] (i.e., the most efficient GCL baseline as shown in section 5.1) on ogbnarxiv. Number in brackets means the hidden size. ‘Pre’, ‘Tr’ and ‘Epo’ indicate preprocessing time, training time per epoch, and the number of epochs for training GNNs. ‘Total(E)’ and ‘Total(T)’ are total end-to-end training time (i.e., including preprocessing), which equals to $( { \\mathrm { P r e } } + { \\mathrm { E p o } } \\times { \\mathrm { T r } } )$ and total training time, which is $( { \\mathrm { E p o } } \\times { \\mathrm { T r } } )$ . ‘Imp(E)’ and $\\mathrm { \\cdot { I m p ( T ) } } ^ { \\mathrm { , } }$ indicate how many times GGD improve on ‘Total(E)’ and ‘Total(T)’. ‘Acc’ is averaged accuracy result on test set over five runs. ",
144
+ "bbox": [
145
+ 498,
146
+ 397,
147
+ 825,
148
+ 575
149
+ ],
150
+ "page_idx": 1
151
+ },
152
+ {
153
+ "type": "table",
154
+ "img_path": "images/09187e71b5999d88d06f5dc891efbb9ff2981f5acf665de2860b46d70047b32c.jpg",
155
+ "table_caption": [],
156
+ "table_footnote": [],
157
+ "table_body": "<table><tr><td>Method</td><td>Pre</td><td>Tr</td><td>Epo</td><td colspan=\"2\">Total(E) Imp(E)</td><td colspan=\"2\">Total(T)Imp(T)</td><td>Acc</td></tr><tr><td>GBT(256)</td><td>5.52</td><td>6.47</td><td>300</td><td>1,946.52</td><td>-</td><td>1,941.00</td><td>=</td><td>70.1</td></tr><tr><td>GGD(256)</td><td>6.26 0.18</td><td></td><td>1</td><td>6.44</td><td>302.25×</td><td>0.18</td><td>10,783.33x</td><td>70.3</td></tr><tr><td>GGD(1,500)</td><td></td><td>6.260.95</td><td>1</td><td>7.21</td><td>269.96×</td><td>0.95</td><td>2.043.16×</td><td>71.6</td></tr></table>",
158
+ "bbox": [
159
+ 500,
160
+ 585,
161
+ 823,
162
+ 633
163
+ ],
164
+ "page_idx": 1
165
+ },
166
+ {
167
+ "type": "text",
168
+ "text": "pared with GCL, GD enjoys numerous merits including extremely fast training, fast convergence (e.g., 1 epoch to be well-trained on large-scale datasets), and high scalability while achieving SOTA performance with existing GCL approaches. ",
169
+ "bbox": [
170
+ 176,
171
+ 643,
172
+ 823,
173
+ 684
174
+ ],
175
+ "page_idx": 1
176
+ },
177
+ {
178
+ "type": "text",
179
+ "text": "Using GD as backbone, we design a new self-supervised GRL model with the Siamese structure called Graph Group Discrimination (GGD). Firstly, we can optionally augment a given graph with augmentation techniques, e.g., feature and edge dropout. Then, the augmented graph is fed into a GNN encoder and a projector to obtain embeddings for the positive group. After that, the augmented feature is corrupted with node shuffling (i.e., disarranging the order of nodes in the feature matrix) to disrupt the topology of a graph and input to the same network for obtaining embeddings of the opposing group. Finally, the model is trained by discriminating these two groups of node samples. The contributions of this paper are three-fold: 1) We re-examine existing GCL approaches (e.g., DGI [10] and MVGRL [11]), and we introduce a novel and efficient self-supervised GRL paradigm, namely, Group Discrimination (GD). 2) Based on GD, we propose a new self-supervised GRL model, GGD, which is fast in training and convergence, and possess high scalability. 3) We conduct extensive experiments on eight datasets, including an extremely large dataset, ogbn-papers100M with billion edges. The experiment results show that our proposed method reaches state-of-the-art performance while consuming much less time and memory than baselines, e.g., $\\mathbf { 1 0 7 8 3 \\times }$ faster than the most efficient GCL baseline with its best selected epochs number [14], as shown in Table 1. ",
180
+ "bbox": [
181
+ 173,
182
+ 690,
183
+ 826,
184
+ 897
185
+ ],
186
+ "page_idx": 1
187
+ },
188
+ {
189
+ "type": "text",
190
+ "text": "2 Rethinking Representative GCL Methods ",
191
+ "text_level": 1,
192
+ "bbox": [
193
+ 173,
194
+ 88,
195
+ 553,
196
+ 107
197
+ ],
198
+ "page_idx": 2
199
+ },
200
+ {
201
+ "type": "text",
202
+ "text": "In this section, we analyse a technical defect observed in two representative GCL methods, DGI [10] and MVGRL [11]. Based on the technical defect, we show that mutual information maximisation behind these two approaches is not the contributed factor to contrastive learning, but a new paradigm, group discrimination. Finally, from the analysis, we provide the definition of this new concept. ",
203
+ "bbox": [
204
+ 174,
205
+ 121,
206
+ 485,
207
+ 244
208
+ ],
209
+ "page_idx": 2
210
+ },
211
+ {
212
+ "type": "text",
213
+ "text": "2.1 Rethinking GCL Methods ",
214
+ "text_level": 1,
215
+ "bbox": [
216
+ 174,
217
+ 262,
218
+ 393,
219
+ 277
220
+ ],
221
+ "page_idx": 2
222
+ },
223
+ {
224
+ "type": "text",
225
+ "text": "DGI [10] is the first work introducing contrastive learning into GRL. However, due to a technical defect observed in their official opensource code, we found it is essentially not working as the authors thought (i.e., learning via MI interaction). ",
226
+ "bbox": [
227
+ 174,
228
+ 289,
229
+ 485,
230
+ 343
231
+ ],
232
+ "page_idx": 2
233
+ },
234
+ {
235
+ "type": "image",
236
+ "img_path": "images/e005a7bfab03de24a46df553ee290e45d447140dd4a7b74c7ad6162d90db0cd4.jpg",
237
+ "image_caption": [
238
+ "Figure 2: The architecture of DGI. Cubes indicate node embeddings. Red and blue lines represent MI maximisation and minimisation, respectively. G and $\\widetilde { \\mathcal { G } }$ denote the original graph and the corrupted graph. s is the summary vector. "
239
+ ],
240
+ "image_footnote": [],
241
+ "bbox": [
242
+ 568,
243
+ 126,
244
+ 751,
245
+ 241
246
+ ],
247
+ "page_idx": 2
248
+ },
249
+ {
250
+ "type": "text",
251
+ "text": "",
252
+ "bbox": [
253
+ 173,
254
+ 344,
255
+ 566,
256
+ 358
257
+ ],
258
+ "page_idx": 2
259
+ },
260
+ {
261
+ "type": "text",
262
+ "text": "Constant Summary Vector. As shown in Figure 2, the original idea of DGI is to maximise the MI (i.e., the red line) between a node $a$ and the summary vector s, which is obtained by averaging all node embeddings in a graph G. Also, to regularise the model training, DGI corrupts G by shuffling the node order of the input feature matrix to get G˜. Then, generated embeddings of $\\widetilde { \\mathcal { G } }$ serve as negative samples, which are pulled apart from the summary vector s via MI minimisation. ",
263
+ "bbox": [
264
+ 173,
265
+ 367,
266
+ 825,
267
+ 439
268
+ ],
269
+ "page_idx": 2
270
+ },
271
+ {
272
+ "type": "text",
273
+ "text": "Nonetheless, in the implementation of DGI, a Sigmoid function is inappropriately applied on the summary vector generated from a GNN whose weight is initialised with Xavier initialisation. As a result, elements in the summary vector are very close to the same value. We have validated this finding on three datasets, Cora, CiteSeer and PubMed. The experiment result is shown in Table 2, which shows that summary vec",
274
+ "bbox": [
275
+ 174,
276
+ 445,
277
+ 421,
278
+ 597
279
+ ],
280
+ "page_idx": 2
281
+ },
282
+ {
283
+ "type": "table",
284
+ "img_path": "images/1c53f5c9f4c82377e93459c9679325af278802990f350c320232c137a8b041a2.jpg",
285
+ "table_caption": [
286
+ "Table 2: Summary vector statistics on three datasets with different activation functions including ReLU, LeakyReLU (i.e., LReLU shown below), PReLU, and Sigmoid. "
287
+ ],
288
+ "table_footnote": [],
289
+ "table_body": "<table><tr><td>Activation</td><td>Statistics</td><td>Cora</td><td>CiteSeer</td><td>PubMed</td></tr><tr><td rowspan=\"3\">ReLU/LReLU/PReLU</td><td>Mean</td><td>0.50</td><td>0.50</td><td>0.50</td></tr><tr><td>Std</td><td>1.3e-03</td><td>1.0e-04</td><td>4.0e-04</td></tr><tr><td>Range</td><td>1.4e-03</td><td>8.0e-04</td><td>1.5e-03</td></tr><tr><td rowspan=\"3\">Sigmoid</td><td>Mean</td><td>0.62</td><td>0.62</td><td>0.62</td></tr><tr><td>Std</td><td>5.4e-05</td><td>2.9e-05</td><td>6.6e-05</td></tr><tr><td>Range</td><td>3.6e-03</td><td>3.0e-03</td><td>3.2e-03</td></tr></table>",
290
+ "bbox": [
291
+ 433,
292
+ 502,
293
+ 825,
294
+ 577
295
+ ],
296
+ "page_idx": 2
297
+ },
298
+ {
299
+ "type": "text",
300
+ "text": "tors in all datasets are approximately a constant vector $\\epsilon I$ , where $\\epsilon$ is a scalar and $\\pmb { I }$ is an all-ones vector (i.e., $\\scriptstyle \\epsilon = 0 . 5 0$ with ReLU/LReLU/PReLU and $\\epsilon { = } 0 . 6 2$ with Sigmoid as non-linear activation in these datasets). ",
301
+ "bbox": [
302
+ 176,
303
+ 598,
304
+ 825,
305
+ 638
306
+ ],
307
+ "page_idx": 2
308
+ },
309
+ {
310
+ "type": "text",
311
+ "text": "To theoretically explain this phenomenon, we present the proposition below: ",
312
+ "bbox": [
313
+ 174,
314
+ 645,
315
+ 529,
316
+ 672
317
+ ],
318
+ "page_idx": 2
319
+ },
320
+ {
321
+ "type": "table",
322
+ "img_path": "images/4664242852fcb43509c3a7a7e40b566f2ba8099606efb8535eb560f5db440d43.jpg",
323
+ "table_caption": [
324
+ "Table 3: The experiment result on three datasets with changing value from 0 to 1.0 for the summary vector. "
325
+ ],
326
+ "table_footnote": [],
327
+ "table_body": "<table><tr><td>Dataset</td><td>0</td><td>0.2</td><td>0.4</td><td>0.6</td><td>0.8</td><td>1.0</td></tr><tr><td>Cora</td><td></td><td></td><td></td><td></td><td>70.3±0.7 82.4±0.2 82.3±0.3 82.5±0.4 82.3±0.3 82.5±0.1</td><td></td></tr><tr><td>CiteSeer</td><td></td><td></td><td></td><td></td><td>61.8±0.8 71.7±0.6 71.9±0.7 71.6±0.9 71.7±1.0 71.6±0.8</td><td></td></tr><tr><td>PubMed</td><td>68.3±1.5 77.8±0.5 77.9±0.8 77.7±0.9 77.4±1.1 77.2±0.9</td><td></td><td></td><td></td><td></td><td></td></tr></table>",
328
+ "bbox": [
329
+ 544,
330
+ 694,
331
+ 843,
332
+ 739
333
+ ],
334
+ "page_idx": 2
335
+ },
336
+ {
337
+ "type": "text",
338
+ "text": "Proposition 1 Given $\\mathcal { G } = \\{ \\mathbf { X } \\in \\mathbb { R } ^ { N \\times D } , \\mathbf { A } \\in \\mathbb { R } ^ { N \\times N } \\} ,$ and a GCN encoder $g ( \\cdot )$ initialised with Xavier initialisation, we can obtain its embedding $\\mathbf { H } = \\sigma ( g ( \\mathcal { G } ) )$ , where $\\sigma ( \\cdot )$ is a non-linear activation function. By applying the sigmoid function $\\sigma _ { s i g } ( \\cdot )$ to the summary vector s (i.e., the average row vector of H), values in $\\sigma _ { s i g } ( \\mathbf { s } )$ approximately become 0.5 with ReLU/LReLU/PReLU or 0.62 with Sigmoid as non-linear activation of $g ( \\cdot )$ at the initialisation stage. ",
339
+ "bbox": [
340
+ 173,
341
+ 684,
342
+ 531,
343
+ 741
344
+ ],
345
+ "page_idx": 2
346
+ },
347
+ {
348
+ "type": "text",
349
+ "text": "",
350
+ "bbox": [
351
+ 174,
352
+ 741,
353
+ 830,
354
+ 782
355
+ ],
356
+ "page_idx": 2
357
+ },
358
+ {
359
+ "type": "text",
360
+ "text": "Based on this proposition, we can see these summary vectors can lose variance and become a constant vector at the initialisation stage. Based on Table 2, we can see the constant in the summary vector remain unchanged, and the information loss still occurs even if the GNN encoder is trained. Thus, we conjecture the training process won’t affect the constant value much in the summary vector of DGI. The proof for the proposition is presented in Appendix A.1. ",
361
+ "bbox": [
362
+ 174,
363
+ 794,
364
+ 825,
365
+ 863
366
+ ],
367
+ "page_idx": 2
368
+ },
369
+ {
370
+ "type": "text",
371
+ "text": "To evaluate the effect of $\\epsilon$ to constant summary vector, we vary the scalar $\\epsilon$ (from 0 to 1 increment by 0.2) to change the constant summary vector and report the model performance (i.e., averaged accuracy on five runs) in Table 3. ",
372
+ "bbox": [
373
+ 176,
374
+ 869,
375
+ 825,
376
+ 911
377
+ ],
378
+ "page_idx": 2
379
+ },
380
+ {
381
+ "type": "text",
382
+ "text": "From this table, we can see, except for 0, the model performance is trivially affected by $\\epsilon$ for constant summary vector. When the summary vector is set to 0, the model performance plummets because node embeddings become all 0 when multiplying with such vector and the model converges to the trivial solution. As the summary vector only has a trivial effect on model training, the hypothesis of DGI [10] on learning via contrastiveness between anchor nodes and the summary instance does not hold, which raises a question to be investigated: What truly leads to the success of DGI? ",
383
+ "bbox": [
384
+ 173,
385
+ 90,
386
+ 825,
387
+ 175
388
+ ],
389
+ "page_idx": 3
390
+ },
391
+ {
392
+ "type": "text",
393
+ "text": "Simplifying DGI. To answer the question, we predigest the objective function proposed in DGI (i.e., maximising the MI between $\\mathbf { h } _ { i }$ and the summary vector s) by using an all-ones vector as the summary vector s (i.e., setting $\\mathbf { s } = \\epsilon \\pmb { I } = \\pmb { I }$ ) and simplifying the discriminator $\\mathcal { D } ( \\cdot )$ (i.e., removing the learnable weight matrix). Then, we rewrite the objective function to the following form: ",
394
+ "bbox": [
395
+ 174,
396
+ 180,
397
+ 825,
398
+ 237
399
+ ],
400
+ "page_idx": 3
401
+ },
402
+ {
403
+ "type": "equation",
404
+ "img_path": "images/667cb13b74861b30c0bd5b64b07b24cfd431ddc7f8cbc0ebb0ca147b0f13d3a9.jpg",
405
+ "text": "$$\n\\begin{array} { l } { \\displaystyle \\mathcal { L } _ { D G I } = \\frac { 1 } { 2 N } ( \\sum _ { i = 1 } ^ { N } \\log \\mathcal { D } ( \\mathbf { h } _ { i } , \\mathbf { s } ) + \\log ( 1 - \\mathcal { D } ( \\tilde { \\mathbf { h } } _ { i } , \\mathbf { s } ) ) ) , } \\\\ { \\displaystyle \\qquad = \\frac { 1 } { 2 N } ( \\sum _ { i = 1 } ^ { N } \\log ( \\mathbf { h } _ { i } \\cdot \\mathbf { s } ) + \\log ( 1 - \\tilde { \\mathbf { h } } _ { i } \\cdot \\mathbf { s } ) ) ) , } \\\\ { \\displaystyle \\qquad = \\frac { 1 } { 2 N } ( \\sum _ { i = 1 } ^ { N } \\log ( s u m ( \\mathbf { h } _ { i } ) ) + \\log ( 1 - s u m ( \\tilde { \\mathbf { h } } _ { i } ) ) ) , } \\end{array}\n$$",
406
+ "text_format": "latex",
407
+ "bbox": [
408
+ 313,
409
+ 241,
410
+ 681,
411
+ 375
412
+ ],
413
+ "page_idx": 3
414
+ },
415
+ {
416
+ "type": "text",
417
+ "text": "where $\\cdot$ is the vector multiplication operation, $N$ is the number of nodes in a graph, $\\mathbf { h } _ { i } \\in \\mathbb { R } ^ { 1 \\times D }$ and $\\tilde { \\mathbf { h } } _ { i } \\in \\mathbb { R } ^ { 1 \\times D }$ are the original and corrupted embedding for node $i$ $, s u m ( \\cdot )$ is the summation function, and $\\mathcal { D } ( \\cdot )$ is a discriminator for bilinear transformation, which can be formulated as follows: ",
418
+ "bbox": [
419
+ 173,
420
+ 378,
421
+ 825,
422
+ 422
423
+ ],
424
+ "page_idx": 3
425
+ },
426
+ {
427
+ "type": "equation",
428
+ "img_path": "images/a3d050b07eed923d0342349122e74891d3f9436076f13c9a55491cfcfc179757.jpg",
429
+ "text": "$$\n\\begin{array} { r } { \\mathrm { \\bf ~ \\mathcal { D } } ( { \\bf h } _ { i } , { \\bf s } ) = \\sigma _ { s i g } ( { \\bf h } _ { i } \\cdot { \\bf W } \\cdot { \\bf s } ) , } \\end{array}\n$$",
430
+ "text_format": "latex",
431
+ "bbox": [
432
+ 406,
433
+ 428,
434
+ 589,
435
+ 445
436
+ ],
437
+ "page_idx": 3
438
+ },
439
+ {
440
+ "type": "text",
441
+ "text": "where $\\mathbf { W }$ is a learnable weight matrix and $\\sigma _ { s i g } ( \\cdot )$ is the sigmoid function. Specifically, as shown in Equation 2, by removing the weight matrix $\\mathbf { W } , { \\mathbf { h } } _ { i }$ is directly multiplied with s. As s is a vector containing only one, the multiplication of $\\mathbf { h } _ { i }$ and s is equivalent to summing $\\mathbf { h } _ { i }$ itself directly. From this form, we can see that the multiplication of $\\mathbf { h } _ { i }$ and the summary vector only serves as an aggregation function (i.e., summation aggregation) to aggregate $\\mathbf { h } _ { i }$ . To explore the effect of other aggregation functions, we replace the summation function in Equation 1 with other aggregation methods such as mean-, minimum-, and maximum- pooling, and present the experiment result in Appendix A.3. ",
442
+ "bbox": [
443
+ 174,
444
+ 449,
445
+ 516,
446
+ 643
447
+ ],
448
+ "page_idx": 3
449
+ },
450
+ {
451
+ "type": "text",
452
+ "text": "Table 4: Comparison of the original DGI and $\\mathrm { D G I } _ { B C E }$ in terms of accuracy (averaged on five runs), memory efficiency (in MB) and training time (in seconds). Number after | shows how many times have $\\mathrm { D G I } _ { B C E }$ improved on top of DGI. ",
453
+ "bbox": [
454
+ 529,
455
+ 452,
456
+ 825,
457
+ 535
458
+ ],
459
+ "page_idx": 3
460
+ },
461
+ {
462
+ "type": "table",
463
+ "img_path": "images/d692d7250a72e801953849383d6581668499883ed1c7fe51756100f3768cef49.jpg",
464
+ "table_caption": [],
465
+ "table_footnote": [],
466
+ "table_body": "<table><tr><td>Experiment</td><td>Method</td><td>Cora</td><td>CiteSeer</td><td>PubMed</td></tr><tr><td>Accuracy</td><td>DGI</td><td>81.7±0.6</td><td>71.5±0.7</td><td>77.3±0.6</td></tr><tr><td></td><td>DGIBCE</td><td>82.5±0.3</td><td>71.7±0.6</td><td>77.7±0.5</td></tr><tr><td>Memory</td><td>DGI</td><td>4189MB</td><td>8199MB</td><td>11471MB</td></tr><tr><td></td><td>DGIBCE</td><td></td><td></td><td>1475MBl64.8%1587MBl80.6%1629MBl85.8%</td></tr><tr><td>Time</td><td>DGI</td><td>0.085s</td><td>0.134s</td><td>0.158s</td></tr><tr><td></td><td>DGIBCE</td><td>0.010sl8.5×</td><td>0.021sl6.4×</td><td>0.015sl10.5×</td></tr></table>",
467
+ "bbox": [
468
+ 532,
469
+ 544,
470
+ 826,
471
+ 619
472
+ ],
473
+ "page_idx": 3
474
+ },
475
+ {
476
+ "type": "text",
477
+ "text": "Based on Equation 1, we can rewrite it to a very simple binary cross entropy loss if we also include corrupted nodes as data samples and setting ${ \\hat { y } } _ { i } = a g g ( \\mathbf { h } _ { i } )$ , where $a g g ( \\cdot )$ stands for aggregation: ",
478
+ "bbox": [
479
+ 174,
480
+ 648,
481
+ 823,
482
+ 678
483
+ ],
484
+ "page_idx": 3
485
+ },
486
+ {
487
+ "type": "equation",
488
+ "img_path": "images/6aa7a031f94dfff64078c3d16f959d44f76929dcebbbe3b9a74e4d6d32569a96.jpg",
489
+ "text": "$$\n\\mathcal { L } _ { B C E } = - \\frac { 1 } { 2 N } ( \\sum _ { i = 1 } ^ { 2 N } y _ { i } \\log \\hat { y } _ { i } + ( 1 - y _ { i } ) \\log ( 1 - \\hat { y } _ { i } ) ) ,\n$$",
490
+ "text_format": "latex",
491
+ "bbox": [
492
+ 320,
493
+ 683,
494
+ 676,
495
+ 726
496
+ ],
497
+ "page_idx": 3
498
+ },
499
+ {
500
+ "type": "text",
501
+ "text": "where $y _ { i } \\in \\mathbb { R } ^ { 1 \\times 1 }$ means the indicator for node $i$ (i.e., if node $i$ is corrupted, $y _ { i }$ is 0, otherwise it is 1), and $\\hat { y } _ { i } \\in \\mathbb { R } ^ { 1 \\times 1 }$ represents the prediction for a node sample $i$ . As we include corrupted nodes as data samples, the size of nodes to be processed is doubled to $2 N$ (i.e., the number of corrupted nodes is equal to the number of original nodes). From the equation above, we can easily observe that what DGI truly does is discriminate between a group of nodes generated with correct topology and nodes generated with corrupted topology, as shown in Figure 1. We name this self-supervised learning paradigm \"Group Discrimination\". To validate the effectiveness of this paradigm, we replace the original DGI loss with Equation 3, namely, $\\mathrm { D G I } _ { B C E }$ and compare it with DGI on three datasets in terms of training time, memory efficiency and model performance as shown in Table 4. Here, $\\mathrm { D G I } _ { B C E }$ adopts the same parameter setting as DGI. From this table, we can observe $\\mathrm { D G I } _ { B C E }$ dramatically improves DGI in both memory and time efficiency while it slightly enhances the model performance of DGI. This may be contributed to the removal of multiplication operations between node pairs, which eases the burden of computation and memory consumption. ",
502
+ "bbox": [
503
+ 173,
504
+ 731,
505
+ 825,
506
+ 911
507
+ ],
508
+ "page_idx": 3
509
+ },
510
+ {
511
+ "type": "text",
512
+ "text": "Similar to DGI, the same technical defect is observed in MVGRL [11], which makes it become a GD-based method. Extended on DGI, MVGRL [11] incorporates diffusion augmentation to inject additional global information into model training, which enhances the model performance. The detailed analysis for MVGRL is presented in Appendix A.4. ",
513
+ "bbox": [
514
+ 174,
515
+ 90,
516
+ 825,
517
+ 147
518
+ ],
519
+ "page_idx": 4
520
+ },
521
+ {
522
+ "type": "text",
523
+ "text": "2.2 Definition of Group Discrimination ",
524
+ "text_level": 1,
525
+ "bbox": [
526
+ 176,
527
+ 162,
528
+ 457,
529
+ 178
530
+ ],
531
+ "page_idx": 4
532
+ },
533
+ {
534
+ "type": "text",
535
+ "text": "As mentioned above, Group Discrimination is a self-supervised GRL paradigm, which learns by discriminating different groups of node samples. Specifically, the paradigm assigns different indicators to different groups of node samples. For example, for binary group discrimination, one group is considered as the positive group with class 1 as its indicator, whereas the other group is the negative group, having its indicator assigned as 0. Given a graph G, the positive group usually includes node samples generated with the original graph G or its augmented views (i.e., similar graph instances of G created by augmentation). In contrast, the opposing group contains negative samples obtained by corrupting G, e.g., changing its topology structure. ",
536
+ "bbox": [
537
+ 173,
538
+ 189,
539
+ 825,
540
+ 300
541
+ ],
542
+ "page_idx": 4
543
+ },
544
+ {
545
+ "type": "text",
546
+ "text": "Based on our theoretical analysis, group discrimination is learning to avoid making ‘mistakes’ (i.e., bias the encoder towards avoiding mistaken samples), thus improving the quality of generated embeddings. The analysis and an intuitive explanation are presented in Section 6.1.1 and A.2.1. ",
547
+ "bbox": [
548
+ 176,
549
+ 306,
550
+ 825,
551
+ 348
552
+ ],
553
+ "page_idx": 4
554
+ },
555
+ {
556
+ "type": "text",
557
+ "text": "3 Methodology ",
558
+ "text_level": 1,
559
+ "bbox": [
560
+ 174,
561
+ 367,
562
+ 313,
563
+ 385
564
+ ],
565
+ "page_idx": 4
566
+ },
567
+ {
568
+ "type": "text",
569
+ "text": "We first define unsupervised node representation learning and then present the architecture of GGD, which extends $\\mathbf { D G I } _ { B C E }$ with additional augmentation, the projector and embedding reinforcement to reach better model performance. Given a graph G with attributes $\\mathbf { X } \\in \\mathbb { R } ^ { N \\times D }$ , where $N$ is the number of nodes in G, and $D$ is the number of dimensions of $\\mathbf { X }$ , our aim is to train a GNN encoder without the reliance on labelling information. With the trained encoder, taking G and $\\mathbf { X }$ as input, it can output learned representations $\\mathbf { H } \\in \\mathbb { R } ^ { N \\times D ^ { \\prime } }$ , where $D ^ { \\prime }$ is the predefined hidden dimension. H can then be used in many downstream tasks such as node classification. ",
570
+ "bbox": [
571
+ 173,
572
+ 398,
573
+ 825,
574
+ 498
575
+ ],
576
+ "page_idx": 4
577
+ },
578
+ {
579
+ "type": "image",
580
+ "img_path": "images/35924d1789fec858cdd0bc17c036fbafa43902aba9cf673742249a05da6a4c9a.jpg",
581
+ "image_caption": [],
582
+ "image_footnote": [],
583
+ "bbox": [
584
+ 184,
585
+ 520,
586
+ 818,
587
+ 669
588
+ ],
589
+ "page_idx": 4
590
+ },
591
+ {
592
+ "type": "text",
593
+ "text": "Figure 3: The architecture of GGD. Given a graph G with a feature matrix $\\mathbf { X }$ , we can optionally apply augmentation on them to generate $\\hat { \\mathcal G }$ and $\\hat { \\mathbf X }$ . Then, we corrupt $\\hat { \\mathbf { X } }$ and $\\hat { \\mathcal G }$ to obtain $\\tilde { \\mathbf { X } }$ and G˜. Taking $\\dot { \\hat { \\mathbf { X } } }$ and $\\hat { \\mathcal G }$ as input to the encoder and the projector, i.e., a multilayer perceptron, positive node samples can be obtained. Similarly, $\\tilde { \\mathbf { X } }$ and $\\tilde { \\mathcal { G } }$ are fed to the same encoder and projector to generate negative samples. The generated embeddings are aggregated to get predictions for the group discrimination task. This process will be iteratively conducted until reaching the predefined training epochs. ",
594
+ "bbox": [
595
+ 173,
596
+ 684,
597
+ 825,
598
+ 775
599
+ ],
600
+ "page_idx": 4
601
+ },
602
+ {
603
+ "type": "text",
604
+ "text": "3.1 Graph Group Discrimination ",
605
+ "text_level": 1,
606
+ "bbox": [
607
+ 174,
608
+ 792,
609
+ 416,
610
+ 808
611
+ ],
612
+ "page_idx": 4
613
+ },
614
+ {
615
+ "type": "text",
616
+ "text": "Based on the proposed self-supervised GRL paradigm, group discrimination, we have designed a novel method, namely GGD, to learn node representations using a siamese network structure and a BCE loss. The architecture of GGD is presented in Figure 3. The framework mainly consists of four components: augmentation, corruption, a siamese GNN network, and group discrimination. ",
617
+ "bbox": [
618
+ 174,
619
+ 818,
620
+ 825,
621
+ 875
622
+ ],
623
+ "page_idx": 4
624
+ },
625
+ {
626
+ "type": "text",
627
+ "text": "Augmentation. With a given graph G and feature matrix $\\mathbf { X }$ , optionally, we can augment it with augmentation techniques such as edge and feature dropout to create $\\hat { \\mathcal G }$ and $\\hat { \\mathbf X }$ . In practice, we follow the augmentation proposed in GraphCL [18]. Specifically, edge dropout removes a predefined fraction of edges, while we use node dropout to mask a predefined proportion of feature dimension, i.e., assigning 0 to replace values in randomly selected dimensions. This step is optional in implementation. ",
628
+ "bbox": [
629
+ 173,
630
+ 881,
631
+ 821,
632
+ 911
633
+ ],
634
+ "page_idx": 4
635
+ },
636
+ {
637
+ "type": "text",
638
+ "text": "",
639
+ "bbox": [
640
+ 176,
641
+ 90,
642
+ 823,
643
+ 133
644
+ ],
645
+ "page_idx": 5
646
+ },
647
+ {
648
+ "type": "text",
649
+ "text": "Notably, the motivation of using augmentation in our framework is distinct from contrastive learning methods. In our study, augmentation is used to increase the difficulty of the self-supervised training tasks. With augmentation, $\\hat { \\mathcal G }$ and $\\hat { \\mathbf { X } }$ change in every training iteration, which forces the model to lessen the dependence on the fixed pattern (i.e., unchanged edge and feature distribution) in a monotonous graph. However, in contrastive learning, augmentation creates augmented views sharing similar semantic information for building contrastiveness. ",
650
+ "bbox": [
651
+ 173,
652
+ 140,
653
+ 825,
654
+ 226
655
+ ],
656
+ "page_idx": 5
657
+ },
658
+ {
659
+ "type": "text",
660
+ "text": "Corruption. $\\hat { \\mathcal G }$ and $\\hat { \\mathbf X }$ are then corrupted to build $\\tilde { \\mathcal { G } }$ and $\\tilde { \\mathbf { X } }$ for the generation of node embeddings in the negative group. We adopt the same corruption technique used in DGI [10] and MVGRL [11] (as shown in Figure 5). The corruption technique devastates the topology structure of $\\hat { \\mathcal G }$ by randomly changing the order of nodes in $\\hat { \\mathbf { X } }$ . The corrupted $\\tilde { \\mathbf { X } }$ and $\\tilde { \\mathcal { G } }$ can be used for producing node representations with incorrect network connections. ",
661
+ "bbox": [
662
+ 174,
663
+ 232,
664
+ 825,
665
+ 308
666
+ ],
667
+ "page_idx": 5
668
+ },
669
+ {
670
+ "type": "text",
671
+ "text": "The Siamese GNN. We have designed a siamese GNN network to output node representations given a graph and its attribute. The siamese GNN network is made up of two components, which are a GNN encoder and a projector. The backbone GNN encoder is replaceable with a variety of choices of GNNs, e.g., GCN [19] and GAT [20]. In our work, we adopt GCN as the backbone. The projector is a multi-layer perceptron network, whose number of layers can be adjusted. When generating node embeddings of the positive group, the Siamese network takes $\\hat { \\mathcal G }$ and $\\hat { \\mathbf { X } }$ as input. Using the same encoder and projector, the Siamese network output the negative group with $\\bar { \\mathfrak { G } }$ and $\\tilde { \\mathbf { X } }$ . These two groups of node embeddings are considered as a collection of data samples with a size of $2 N$ for discrimination. Before conducting group discrimination, in the “aggregation” phase, all data samples are aggregated with the same aggregation technique, e.g., sum-, mean-, and linear aggregation. ",
672
+ "bbox": [
673
+ 173,
674
+ 314,
675
+ 825,
676
+ 457
677
+ ],
678
+ "page_idx": 5
679
+ },
680
+ {
681
+ "type": "text",
682
+ "text": "Group Discrimination. In the group discrimination process, we adopt a very simple binary cross entropy (BCE) loss to discriminate two groups of node samples as shown in Equation 3. In our implementation, $y _ { i }$ is 0 and 1 for node embeddings in negative and positive groups. During model training, the model is optimised by categorising node embeddings in the collection of data samples into their corresponding class correctly. The loss is computed by comparing the prediction of a node $i$ , i.e., a scalar, with its indicator $y _ { i }$ . With the ease of BCE loss computation, the training process of GGD is very fast and memory efficient. ",
683
+ "bbox": [
684
+ 174,
685
+ 463,
686
+ 825,
687
+ 560
688
+ ],
689
+ "page_idx": 5
690
+ },
691
+ {
692
+ "type": "text",
693
+ "text": "3.2 Model Inference ",
694
+ "text_level": 1,
695
+ "bbox": [
696
+ 174,
697
+ 575,
698
+ 326,
699
+ 590
700
+ ],
701
+ "page_idx": 5
702
+ },
703
+ {
704
+ "type": "text",
705
+ "text": "During training, the model is optimised via loss minimisation with Equation 3. The time complexity analysis of GGD is provided in Appendix A.5. In the inference phase, we freeze the trained GNN encoder $g _ { \\theta }$ and obtain node embeddings $\\mathbf { H } _ { \\theta }$ with the input G. ",
706
+ "bbox": [
707
+ 174,
708
+ 601,
709
+ 825,
710
+ 643
711
+ ],
712
+ "page_idx": 5
713
+ },
714
+ {
715
+ "type": "text",
716
+ "text": "Inspired by MVGRL [11], which strengthens the output embeddings by including additional global information, we adopt a conceptually similar embedding reinforcement approach. Specifically, they obtain the final embeddings by summing up embeddings from two views: the original view comprising local information and the diffused view with global information. This operation reinforces the final embeddings and leads to model performance improvement. Nonetheless, graph diffusion impairs the scalability of a model [21] and hence cannot be directly applied in our embedding generation process. To avoid the diffusion computation, we have come up with a workaround in the virtue of the power of a graph to extract global information. The power of a graph can extend the message passing scope of $\\mathbf { H } _ { \\theta }$ to n-hop neighbourhood, which encodes global information from distant neighbours. It can be formulated as follows: ",
717
+ "bbox": [
718
+ 174,
719
+ 648,
720
+ 825,
721
+ 787
722
+ ],
723
+ "page_idx": 5
724
+ },
725
+ {
726
+ "type": "equation",
727
+ "img_path": "images/8ea1c50911d7293f36179f5fbf5fc660b97d2a026ed0f08a2806fc9b8ef42f09.jpg",
728
+ "text": "$$\n\\begin{array} { r } { \\mathbf { H } _ { \\theta } ^ { g l o b a l } = \\mathbf { A } ^ { n } \\mathbf { H } _ { \\theta } , } \\end{array}\n$$",
729
+ "text_format": "latex",
730
+ "bbox": [
731
+ 439,
732
+ 786,
733
+ 557,
734
+ 806
735
+ ],
736
+ "page_idx": 5
737
+ },
738
+ {
739
+ "type": "text",
740
+ "text": "where Hglobal is the global embedding, and $\\mathbf { A }$ is the adjacency matrix of the graph G. It is notable that this operation can be easily decomposed with the associative property of matrix multiplication and is easy to compute. To show the easiness of such computation, we conduct an experiment showing its time consumption on various datasets in Appendix A.6. Finally, the final embedding can be achieved by $\\mathbf { H } = \\mathbf { H } _ { \\theta } ^ { g l o \\bar { b } a l } + \\mathbf { H } _ { \\theta }$ , which can be used for downstream tasks. In our experiment, we conduct node classification tasks. Following the common practice of GCL methods [10, 13, 15, 12, 17], these tasks are performed by using the final embeddings $\\mathbf { H }$ to train and test a simple logistic regression classifier. ",
741
+ "bbox": [
742
+ 173,
743
+ 810,
744
+ 825,
745
+ 911
746
+ ],
747
+ "page_idx": 5
748
+ },
749
+ {
750
+ "type": "text",
751
+ "text": "4 Related Work ",
752
+ "text_level": 1,
753
+ "bbox": [
754
+ 174,
755
+ 89,
756
+ 321,
757
+ 106
758
+ ],
759
+ "page_idx": 6
760
+ },
761
+ {
762
+ "type": "text",
763
+ "text": "Graph Neural Networks (GNNs). are generalised deep neural networks for graph-structured data. GNNs mainly have two categories, spectral-based GNNs and spatial-based GNNs. Spectral GNNs attempt to use eigen-decomposition to obtain the spectral-based representation of graphs, whereas spatial GNNs focus on using spatial neighbours of nodes for message passing. Extending spectral-based methods to the spatial domain, GCN [19] utilises first-order Chebyshev polynomial filters to approximate spectral-based graph convolution. Taking the weight of spatial neighbours in consideration, GAT [20], improves GCN by introducing attention module in message passing. To decouple message passing from neural networks, SGC [22] simplifies GCN by removing non-linearity and weight matrices in graph convolution layers. However, these studies cannot handle datasets with limited or no labels. Graph contrastive learning has been recently exploited to address this issue. ",
764
+ "bbox": [
765
+ 174,
766
+ 119,
767
+ 825,
768
+ 258
769
+ ],
770
+ "page_idx": 6
771
+ },
772
+ {
773
+ "type": "text",
774
+ "text": "Graph Contrastive Learning (GCL). aims to alleviate the reliance on labelling information in model training based on the concept of mutual information (MI). Specifically, GCL approaches maximise MI between instances with similar semantic information, and minimise MI between dissimilar instances. For example, DGI [10] builds contrastiveness between node embeddings and a summary vector (i.e., a graph level embedding obtained by averaging all node embeddings) with a JSD estimator. To improve DGI, MVGRL [11] and GMI [12] extends the idea of DGI by introducing multi-view contrastiveness with diffusion augmentation, and focusing on a local scope with the first-order neighbourhood, respectively. Adopting InfoNCE loss, GRACE [13] applies augmentation techniques to create two augmented views and inject contrastiveness between them. Though these GCL methods have successfully outperformed some supervised baselines in benchmark datasets, these methods suffer from significant limitations, including time-consuming training, memory inefficiency, and poor scalability. In contrast, GGD requires much less time in training and posses high scalability. ",
775
+ "bbox": [
776
+ 174,
777
+ 265,
778
+ 825,
779
+ 431
780
+ ],
781
+ "page_idx": 6
782
+ },
783
+ {
784
+ "type": "text",
785
+ "text": "Scalable GNNs. Efficiency is a bottleneck for most existing GNNs to handle large graphs. To address this challenge, there are mainly three categories of approaches: layer-wise sampling (e.g., GraphSage [23]), graph sampling methods such as Cluster-GCN [24] and GraphSAINT [25], and linear models, e.g., SGC [22] and PPRGo [26]. GraphSage [23] introduces a neighbour-sampling approach, which creates fixed-size subgraphs for each node. Underpinned by graph sampling, Cluster-GCN [24] decomposes a large-scale graph into multiple subgraphs based on clustering, while GraphSAINT [25] utilises light-weight graph samplers along with a normalisation technique for biases elimination in mini-batches. Linear models, SGC [22] and PPRGo [26], decouple graph convolution from embedding transformation (i.e., matrix multiplication with weight matrices), and leverage Personalised PageRank to encode multi-hop neighbourhood, respectively. However, all these methods only focus on supervised learning on graphs. For unsupervised/self-supervised learning settings where no labelled supervision signal is available, these frameworks are not applicable. The closest works to ours to handle large scale graph datasets under self-supervised settings are BGRL [15] and GBT [14]. They try to improve the contrastive losses by removing negative samples. However, BGRL [15] and GBT [14] still require much more time in training compared with GGD. ",
786
+ "bbox": [
787
+ 174,
788
+ 436,
789
+ 825,
790
+ 643
791
+ ],
792
+ "page_idx": 6
793
+ },
794
+ {
795
+ "type": "text",
796
+ "text": "5 Experiments ",
797
+ "text_level": 1,
798
+ "bbox": [
799
+ 174,
800
+ 662,
801
+ 312,
802
+ 680
803
+ ],
804
+ "page_idx": 6
805
+ },
806
+ {
807
+ "type": "text",
808
+ "text": "We evaluate the effectiveness of our model using eight benchmark datasets of different sizes. These datasets include five small- and mediumscale datasets: Cora, CiteSeer, PubMed [27], Amazon Computers, and Amazon Photos [28], as well as large-scale datasets ogbn-arxiv, ogbnproducts and ogbn-papers100M. Notably, ogbnpapers100M is the largest dataset provided by Open Graph Benchmark[29] for node property prediction tasks. It has over 110 million nodes and 1 billion edges. The statistics of these datasets are summarised in Appendix A.7. To ",
809
+ "bbox": [
810
+ 174,
811
+ 695,
812
+ 491,
813
+ 881
814
+ ],
815
+ "page_idx": 6
816
+ },
817
+ {
818
+ "type": "table",
819
+ "img_path": "images/c68a537f876d0c74762ac7c9458f7f4e2d78f15c1ba9f08b095ecf83a88325ab.jpg",
820
+ "table_caption": [
821
+ "Table 5: Model performance of node classification on 5 datasets. X, A and Y represent feature, adjacency matrix, and labels. Best performance for each dataset is in bold. Comp and Photo refer to Amazon Computers and Amazon Photos. "
822
+ ],
823
+ "table_footnote": [
824
+ "ensure reproducibility, the detailed experiment settings and computing infrastructure are summarised in Appendix A.8. The source code is already open sourced2. "
825
+ ],
826
+ "table_body": "<table><tr><td>Data</td><td>Method</td><td>Cora</td><td></td><td>CiteSeer PubMed</td><td>Comp</td><td>Photo</td></tr><tr><td>X,A,Y</td><td>GCN</td><td>81.5</td><td>70.3</td><td>79.0</td><td></td><td>76.3±0.5 87.3±1.0</td></tr><tr><td>X,A,Y</td><td>GAT</td><td>83.0±0.7 72.5±0.7 79.0±0.3 79.3±1.1 86.2±1.5</td><td></td><td></td><td></td><td></td></tr><tr><td>X,A,Y</td><td>SGC</td><td>81.0±0.0 71.9±0.1 78.9±0.0 74.4±0.1 86.4±0.0</td><td></td><td></td><td></td><td></td></tr><tr><td>X,A,Y</td><td>CG3</td><td>83.4±0.7 73.6±0.8 80.2±0.8 79.9±0.6 89.4±0.5</td><td></td><td></td><td></td><td></td></tr><tr><td>X,A</td><td>DGI</td><td>81.7±0.6 71.5±0.7 77.3±0.6 75.9±0.6 83.1±0.5</td><td></td><td></td><td></td><td></td></tr><tr><td>X,A</td><td>GMI</td><td>82.7±0.2 73.0±0.3 80.1±0.2 76.8±0.1 85.1±0.1</td><td></td><td></td><td></td><td></td></tr><tr><td>X,A</td><td>MVGRL</td><td>82.9±0.7 72.6±0.7 79.4±0.3 79.0±0.6 87.3±0.3</td><td></td><td></td><td></td><td></td></tr><tr><td>X,A</td><td>GRACE</td><td></td><td></td><td></td><td></td><td>80.0±0.4 71.7±0.6 79.5±1.1 71.8±0.4 81.8±1.0</td></tr><tr><td>X,A</td><td>GraphCL</td><td>82.5±0.2 72.8±0.3 77.5±0.2 OOM</td><td></td><td></td><td></td><td>79.5±0.4</td></tr><tr><td>X,A</td><td>BGRL</td><td></td><td></td><td></td><td></td><td>80.5±1.0 71.0±1.2 79.5±0.6 89.2±0.9 91.2±0.8</td></tr><tr><td>X,A</td><td>GBT</td><td></td><td></td><td></td><td>81.0±0.5 70.8±0.2 79.0±0.1 88.5±1.0 91.1±0.7</td><td></td></tr><tr><td>X,A</td><td>GGD</td><td></td><td></td><td></td><td>83.9±0.4 73.0±0.6 81.3±0.8 90.1±0.9 92.5±0.6</td><td></td></tr></table>",
827
+ "bbox": [
828
+ 504,
829
+ 723,
830
+ 828,
831
+ 858
832
+ ],
833
+ "page_idx": 6
834
+ },
835
+ {
836
+ "type": "text",
837
+ "text": "5.1 Evaluating on Small- and Medium-scale Datasets ",
838
+ "text_level": 1,
839
+ "bbox": [
840
+ 178,
841
+ 92,
842
+ 553,
843
+ 106
844
+ ],
845
+ "page_idx": 7
846
+ },
847
+ {
848
+ "type": "text",
849
+ "text": "We compare GGD with ten baselines including four supervised GNNs (i.e., GCN [19], GAT [20], SGC [22], and CG3 [30]) and six GCL methods (i.e., DGI [10], GMI [12], MVGRL [11], GRACE [13], BGRL [15] and GBT [14]) on five small- and medium scale benchmark datasets. In the experiment, we follow the same data splits as [31] for Cora, CiteSeer and PubMed. For Amazon Computers and Photos, we use a random split setting, which randomly allocates $10 / 1 0 / 8 0 \\%$ of data to training/validation/test set, respectively. The model performance is measured using the averaged ",
850
+ "bbox": [
851
+ 174,
852
+ 117,
853
+ 485,
854
+ 296
855
+ ],
856
+ "page_idx": 7
857
+ },
858
+ {
859
+ "type": "table",
860
+ "img_path": "images/b476c16e836e8639f52854d89f08a71baf03d1ed917bd1daee5e44d413f72f78.jpg",
861
+ "table_caption": [
862
+ "Table 6: Comparison of training time per epoch in seconds between six GCL-based methods and GGD on five datasets. Improve means how many times are GGD faster than baselines. ‘-’ means the improvement range. "
863
+ ],
864
+ "table_footnote": [
865
+ "classification accuracy with five results along with standard deviations and reported in Table 5. "
866
+ ],
867
+ "table_body": "<table><tr><td>Method</td><td>Cora</td><td>CiteSeer</td><td>PubMed</td><td>Comp</td><td>Photo</td></tr><tr><td>DGI</td><td>0.085</td><td>0.134</td><td>0.158</td><td>0.171</td><td>0.059</td></tr><tr><td>GMI</td><td>0.394</td><td>0.497</td><td>2.285</td><td>1.297</td><td>0.637</td></tr><tr><td>MVGRL</td><td>0.123</td><td>0.171</td><td>0.488</td><td>0.663</td><td>0.468</td></tr><tr><td>GRACE</td><td>0.056</td><td>0.092</td><td>0.893</td><td>0.546</td><td>0.203</td></tr><tr><td>GraphCL</td><td>0.073</td><td>0.085</td><td>0.123</td><td>OOM</td><td>0.188</td></tr><tr><td>BGRL</td><td>0.085</td><td>0.094</td><td>0.147</td><td>0.337</td><td>0.273</td></tr><tr><td>GBT</td><td>0.073</td><td>0.072</td><td>0.103</td><td>0.492</td><td>0.173</td></tr><tr><td>GGD</td><td>0.010</td><td>0.021</td><td>0.015</td><td>0.016</td><td>0.009</td></tr><tr><td>Improve</td><td>7.3-39.4×</td><td>3.4-23.7×</td><td>6.9-152.3×</td><td>10.7-15.3×</td><td>19.2-70.8x</td></tr></table>",
868
+ "bbox": [
869
+ 500,
870
+ 186,
871
+ 826,
872
+ 287
873
+ ],
874
+ "page_idx": 7
875
+ },
876
+ {
877
+ "type": "text",
878
+ "text": "Accuracy. From Table 5, we can observe that GGD generally outperforms all baselines in all datasets. The only exception is on CiteSeer dataset, where the semi-supervised method, CG3[30], slightly outperforms GGD, which still provides the 2nd best performance. In this experiment, we use the officially released code of GraphCL [18], BGRL [15] and GBT [14] to reproduce the result, while the other results are sourced from previous studies [30, 1]. ",
879
+ "bbox": [
880
+ 174,
881
+ 316,
882
+ 485,
883
+ 455
884
+ ],
885
+ "page_idx": 7
886
+ },
887
+ {
888
+ "type": "text",
889
+ "text": "Efficiency and Memory Consumption. GGD is ",
890
+ "text_level": 1,
891
+ "bbox": [
892
+ 176,
893
+ 462,
894
+ 483,
895
+ 476
896
+ ],
897
+ "page_idx": 7
898
+ },
899
+ {
900
+ "type": "table",
901
+ "img_path": "images/7b118ef875900b3a04035ff5e1d67210f125021f0056c225d3cac942333338ba.jpg",
902
+ "table_caption": [
903
+ "Table 7: Comparison of memory consumption in MBs of six GCL baselines and GGD on five datasets. "
904
+ ],
905
+ "table_footnote": [],
906
+ "table_body": "<table><tr><td>Method</td><td>Cora</td><td>CiteSeer</td><td>PubMed</td><td>Comp</td><td>Photo</td></tr><tr><td>DGI</td><td>4,189</td><td>8,199</td><td>11,471</td><td>7,991</td><td>4.946</td></tr><tr><td>GMI</td><td>4,527</td><td>5,467</td><td>14.697</td><td>10.655</td><td>5,219</td></tr><tr><td>MVGRL</td><td>5,381</td><td>5,429</td><td>6.619</td><td>6.645</td><td>6.645</td></tr><tr><td>GRACE</td><td>1,913</td><td>2.043</td><td>12.597</td><td>8,129</td><td>4,881</td></tr><tr><td>GraphCL</td><td>4,163</td><td>8,249</td><td>11,555</td><td>OOM</td><td>9.083</td></tr><tr><td>BGRL</td><td>1,627</td><td>1,749</td><td>2.299</td><td>5.069</td><td>3.303</td></tr><tr><td>GBT</td><td>1,651</td><td>1,799</td><td>2,461</td><td>5.037</td><td>2.641</td></tr><tr><td>GGD</td><td>1,475</td><td>1,587</td><td>1,629</td><td>1,787</td><td>1,637</td></tr><tr><td>Improve</td><td>10.7-72.6%</td><td>11.8-80.6%</td><td>27.2-85.8%</td><td>64.5-83.2%</td><td>38.0-75.4%</td></tr></table>",
907
+ "bbox": [
908
+ 500,
909
+ 362,
910
+ 823,
911
+ 462
912
+ ],
913
+ "page_idx": 7
914
+ },
915
+ {
916
+ "type": "text",
917
+ "text": "substantially more efficient than other self-supervised baselines in time and memory consumption as shown in Table 6 and Table 7. Remarkably, GGD is 19.2 times faster in Amazon Photos for training time per epoch, and consumes $6 4 . 5 \\%$ less memory in Amazon Computers for memory consumption than the most efficient baseline (i.e., GBT [14]). The dramatic boost of time and memory efficiency of GGD is contributed to the exclusion of similarity computation, which enables model training without multiplication of node embeddings. ",
918
+ "bbox": [
919
+ 174,
920
+ 476,
921
+ 825,
922
+ 558
923
+ ],
924
+ "page_idx": 7
925
+ },
926
+ {
927
+ "type": "text",
928
+ "text": "5.2 Evaluating on Large-scale datasets ",
929
+ "text_level": 1,
930
+ "bbox": [
931
+ 176,
932
+ 575,
933
+ 455,
934
+ 589
935
+ ],
936
+ "page_idx": 7
937
+ },
938
+ {
939
+ "type": "text",
940
+ "text": "To evaluate the scalability of GGD, we choose three large-scale datasets from Open Graph Benchmark [29], which are ogbn-arxiv, ogbn-products, and ogbn-papers100M. ogbn-papers100M is the most challenging large-scale graph available in Open Graph Benchmark for node property prediction with over 1 billion edges and 110 million nodes. Extending to extremely large graphs (i.e., ogbnproducts and ogbn-papers100M), we adopt a Neighbourhood Sampling strategy, which is described in Appendix A.8. ",
941
+ "bbox": [
942
+ 173,
943
+ 599,
944
+ 826,
945
+ 681
946
+ ],
947
+ "page_idx": 7
948
+ },
949
+ {
950
+ "type": "text",
951
+ "text": "ogbn-arxiv & ogbn-products. For ogbn-arxiv, we compare GGD against four self-supervised baselines (i.e., DGI [10], GRACE [13], BGRL [15]and GBT [14]), whereas BGRL [15] and GBT [14] are selected to be compared for ogbn-products. In addition, we include the performance of MLP, Node2vec [32], and supervised GCN [19] sourced from [29] in Table 8 and Table 9. For memory and training time comparison, we only compare GGD with the two most efficient baselines (i.e., BGRL and GBT according to Tables 6 and 7). In ogbn-arxiv, we reproduce BGRL [15] and found it fails to process ",
952
+ "bbox": [
953
+ 176,
954
+ 691,
955
+ 472,
956
+ 882
957
+ ],
958
+ "page_idx": 7
959
+ },
960
+ {
961
+ "type": "table",
962
+ "img_path": "images/cec3c68397ea7aaaa95b9b27bc184f2bd10c62ac0302467f096607319f103b22.jpg",
963
+ "table_caption": [
964
+ "Table 8: Node classification result and efficiency comparison on ogbn-arxiv. ‘epo’ means epoch. ‘Time’ means training time per epoch (in seconds). ‘Total’ is total training time (Number of epochs $\\times$ ‘Time’). OOM indicates out-of-memory on Nvidia A40 (48GB). Number after \\ means the hidden size of GGD. "
965
+ ],
966
+ "table_footnote": [
967
+ "ogbn-arxiv in full batch. Thus, we only compare GGD and GBT in this dataset, which can successfully train in full-graph processing mode. "
968
+ ],
969
+ "table_body": "<table><tr><td>Method</td><td>Valid</td><td>Memory</td><td>Time</td><td>Total</td></tr><tr><td>Supervised GCN</td><td>73.0±0.2 71.7±0.3</td><td></td><td>=</td><td></td></tr><tr><td>MLP</td><td>57.7±0.4 55.5±0.2</td><td></td><td></td><td></td></tr><tr><td>Node2vec</td><td>71.3±0.1 70.1±0.1</td><td></td><td></td><td></td></tr><tr><td>DGI</td><td>71.3±0.1 70.3±0.2</td><td></td><td></td><td></td></tr><tr><td>GRACE(10k epos)</td><td>72.6±0.2 71.5±0.1</td><td></td><td></td><td></td></tr><tr><td>BGRL(10k epos)</td><td>72.5±0.1 71.6±0.1</td><td>OOM (Full-graph)</td><td>/</td><td>/</td></tr><tr><td>GBT(300 epos)</td><td>71.0±0.1 70.1±0.2</td><td>14.959MB</td><td></td><td>6.47 1,941.00</td></tr><tr><td>GGD(1 epo\\1500)</td><td>72.7±0.3 71.6±0.5</td><td>14.666MB</td><td></td><td>0.95 0.9512.043×</td></tr><tr><td>GGD(1 epo\\256)</td><td>71.0±0.2 70.3±0.3</td><td>4,513MBl69.8%</td><td></td><td>0.18 0.18|10,783×</td></tr></table>",
970
+ "bbox": [
971
+ 486,
972
+ 776,
973
+ 813,
974
+ 878
975
+ ],
976
+ "page_idx": 7
977
+ },
978
+ {
979
+ "type": "text",
980
+ "text": "From Table 8 and Table 9, we can see GGD remarkably achieves the state-of-the-art performance using only one epoch to train. As a result, GGD is 10,783 times faster than the most efficient baseline, i.e., GBT [14], on total training time to reach the desirable performance in ogbn-arxiv. Please note that the number of epoches in our experiment is consistent with the optimal choice ",
981
+ "bbox": [
982
+ 174,
983
+ 92,
984
+ 485,
985
+ 202
986
+ ],
987
+ "page_idx": 8
988
+ },
989
+ {
990
+ "type": "table",
991
+ "img_path": "images/e8430dcef6047e94556cee3608aee6b0ea712ed2a780d82d4d91d767be44e334.jpg",
992
+ "table_caption": [
993
+ "Table 9: Node classification result and efficiency comparison on ogbn-products. "
994
+ ],
995
+ "table_footnote": [],
996
+ "table_body": "<table><tr><td>Method</td><td>Valid</td><td>Test</td><td>Memory</td><td>Time</td><td>Total</td></tr><tr><td>Supervised GCN</td><td>92.0±0.0</td><td>75.6±0.2</td><td>-</td><td>-</td><td></td></tr><tr><td>MLP</td><td>75.5±0.0</td><td>61.1±0.0</td><td></td><td></td><td></td></tr><tr><td>Node2vec</td><td>70.0±0.0</td><td>68.8±0.0</td><td></td><td></td><td></td></tr><tr><td>BGRL(100 epos)</td><td>78.1±2.1</td><td>64.0±1.6</td><td>29,303MB</td><td></td><td>53m16s 5.326m40s</td></tr><tr><td>GBT(100 epos)</td><td>85.0±0.1</td><td>70.5±0.4</td><td>20.419MB</td><td></td><td>48m38s 4.863m20s</td></tr><tr><td>GGD(1 epo)</td><td>90.9±0.5</td><td>75.7±0.4</td><td>4,391MBl78.5%12m46s 12m46sl381x</td><td></td><td></td></tr></table>",
997
+ "bbox": [
998
+ 498,
999
+ 112,
1000
+ 823,
1001
+ 190
1002
+ ],
1003
+ "page_idx": 8
1004
+ },
1005
+ {
1006
+ "type": "text",
1007
+ "text": "of this hyperparameter specified in GBT [14]. For ogbn-products, we are $3 8 1 \\mathrm { ~ \\times ~ }$ faster than GBT [14] on total training time. Notably, our performance is significantly higher than GCL baselines using 100 epochs (i.e., $6 \\%$ and $5 . 2 \\%$ improvement on GBT [14] in validation and test set, respectively) with only one epoch training in this dataset. In addition, we compare the convergence speed among GGD, BGRL [15] and GBT [14] on ogbn-arxiv and ogbn-products, which are shown in Figure 4. For ogbn-arxiv, BGRL [15] is running using batched processing with neighbour sampling. This figure shows the preeminence of our GGD in convergence speed as GGD can be well-trained with only one epoch (i.e., reaching the peak model performance in the first epoch and staying stable with increased epochs). In contrast, the other two baselines require comparatively much more epochs to gradually improve their performance. Compared with GCL baselines, GGD achieves much faster convergence via Group Discrimination. We conjecture this is because GD-based method focuses on the general edge distribution of graphs instead of node-specific information. Inversely, GCL methods can suffer from convergence inefficiency as they may be easily distracted from too-detailed node-specific information during training. ",
1008
+ "bbox": [
1009
+ 173,
1010
+ 202,
1011
+ 826,
1012
+ 395
1013
+ ],
1014
+ "page_idx": 8
1015
+ },
1016
+ {
1017
+ "type": "text",
1018
+ "text": "ogbn-papers100M. We further compare GGD with BGRL [15] and GBT [14] on ogbn-papers100M, the largest OGB dataset with billion scale edges. Other self-supervised learning algorithms such as DGI [10] and GMI [12] fail to scale to such a large graph with a reasonable batch size (i.e., 256). We only report the performance of each algorithm after a single epoch of training in Table 10 due to the extreme scale of the dataset and the limitation of our available re",
1019
+ "bbox": [
1020
+ 173,
1021
+ 401,
1022
+ 421,
1023
+ 579
1024
+ ],
1025
+ "page_idx": 8
1026
+ },
1027
+ {
1028
+ "type": "image",
1029
+ "img_path": "images/369404741420a9881e06aace9ef0fa35449dda32773f5aba54e1e7e7eefff56b.jpg",
1030
+ "image_caption": [
1031
+ "Figure 4: Convergence speed comparison among GGD, BGRL[15] and GBT [14]. X-axis means number of epochs, while Y-axis represents the accuracy on test set. "
1032
+ ],
1033
+ "image_footnote": [],
1034
+ "bbox": [
1035
+ 434,
1036
+ 407,
1037
+ 795,
1038
+ 517
1039
+ ],
1040
+ "page_idx": 8
1041
+ },
1042
+ {
1043
+ "type": "text",
1044
+ "text": "sources. From the table, we can observe that GGD outperforms the two GCL counterparts, BGRL [15] and GBT [14] in both accuracy and efficiency. Specifically, GGD achieves 60.2 in accuracy while BGRL and GBT reach 59.3 and 58.9 in test set, respectively. With only one epoch, these two algorithms may not be well trained. However, training each epoch of these two requires over 1 day and if we would like to train them for 100 epochs, then we will need $1 0 0 +$ GPU days, which is prohibitively impractical for general practitioners. In contrast, GGD can be trained in about 9 hours to achieve a good result for this dataset, which is more appealing in practice. ",
1045
+ "bbox": [
1046
+ 174,
1047
+ 580,
1048
+ 825,
1049
+ 678
1050
+ ],
1051
+ "page_idx": 8
1052
+ },
1053
+ {
1054
+ "type": "text",
1055
+ "text": "6 Explore Group Discrimination ",
1056
+ "text_level": 1,
1057
+ "bbox": [
1058
+ 174,
1059
+ 696,
1060
+ 459,
1061
+ 714
1062
+ ],
1063
+ "page_idx": 8
1064
+ },
1065
+ {
1066
+ "type": "text",
1067
+ "text": "In this section, we explore the corruption technique in GGD and provide the theoretical analysis of group discrimination. ",
1068
+ "bbox": [
1069
+ 173,
1070
+ 729,
1071
+ 825,
1072
+ 757
1073
+ ],
1074
+ "page_idx": 8
1075
+ },
1076
+ {
1077
+ "type": "text",
1078
+ "text": "6.1 Exploring Corruption ",
1079
+ "text_level": 1,
1080
+ "bbox": [
1081
+ 174,
1082
+ 775,
1083
+ 366,
1084
+ 790
1085
+ ],
1086
+ "page_idx": 8
1087
+ },
1088
+ {
1089
+ "type": "text",
1090
+ "text": "Firstly, we explore the corruption technique used in DGI [10] and MVGRL [11], which is shown in Figure 5. These two studies corrupt the topology of a given graph G by shuffling the feature matrix $\\mathbf { X }$ . This is because by changing the node order of $\\mathbf { X }$ , the neighbouring structure of G is completely changed, e.g., neighbours of node $a$ become node $b$ neighbours. ",
1091
+ "bbox": [
1092
+ 174,
1093
+ 800,
1094
+ 485,
1095
+ 911
1096
+ ],
1097
+ "page_idx": 8
1098
+ },
1099
+ {
1100
+ "type": "table",
1101
+ "img_path": "images/d7632730797410f72a5033c204d9f0922f58ff0a89004851ed992ec19e53587b.jpg",
1102
+ "table_caption": [
1103
+ "Table 10: Node classification result and efficiency comparison on ogbn-papers100M. "
1104
+ ],
1105
+ "table_footnote": [],
1106
+ "table_body": "<table><tr><td>Method</td><td>Validation</td><td>Test</td><td>Memory</td><td>Time</td></tr><tr><td>Supervised SGC</td><td>63.3±0.2</td><td>66.5±0.2|</td><td>-</td><td>-</td></tr><tr><td>MLP</td><td>47.2±0.3</td><td>49.6±0.3</td><td>·</td><td>=</td></tr><tr><td>Node2vec</td><td>55.6±0.0</td><td>58.1±0.0</td><td>-</td><td>-</td></tr><tr><td>BGRL (1 epoch)</td><td>59.3±0.5</td><td>62.1±0.3</td><td>14,057MB</td><td>26h28m</td></tr><tr><td>GBT(1 epoch)</td><td>58.9±0.4</td><td>61.5±0.5</td><td>13,185MB</td><td>24h38m</td></tr><tr><td>GGD(1 epoch)</td><td>60.2±0.3</td><td>63.5±0.5</td><td>4,105MBl68.9% 9h15ml2.7×</td><td></td></tr></table>",
1107
+ "bbox": [
1108
+ 498,
1109
+ 829,
1110
+ 813,
1111
+ 916
1112
+ ],
1113
+ "page_idx": 8
1114
+ },
1115
+ {
1116
+ "type": "text",
1117
+ "text": "With the corruption technique, negative samples in the negative group are generated with incorrect edges. Thus, by discriminating the positive group (i.e., nodes generated with ground truth edges) and the negative group, we conjecture the model can distil valuable signals by learning how to identify nodes generated with correct topology and output effective node embeddings. To provide explanation to this, we present the theoretical analysis of group discrimination in the following section. ",
1118
+ "bbox": [
1119
+ 173,
1120
+ 92,
1121
+ 825,
1122
+ 161
1123
+ ],
1124
+ "page_idx": 9
1125
+ },
1126
+ {
1127
+ "type": "text",
1128
+ "text": "6.1.1 Theoretical Analysis of Group Discrimination ",
1129
+ "text_level": 1,
1130
+ "bbox": [
1131
+ 173,
1132
+ 193,
1133
+ 544,
1134
+ 208
1135
+ ],
1136
+ "page_idx": 9
1137
+ },
1138
+ {
1139
+ "type": "text",
1140
+ "text": "Group discrimination is learning to avoid making ‘mistakes’ (i.e., bias the encoder towards avoiding mistaken samples). To explain this point, we first present Theorem 1 and then provide an intuitive explanation for group discrimination. ",
1141
+ "bbox": [
1142
+ 174,
1143
+ 223,
1144
+ 465,
1145
+ 306
1146
+ ],
1147
+ "page_idx": 9
1148
+ },
1149
+ {
1150
+ "type": "image",
1151
+ "img_path": "images/3734132db1045b5ec7bbf7c9dacdc5503ab585b756c7fe339d5873634c35c1d5.jpg",
1152
+ "image_caption": [
1153
+ "Figure 5: Corruption technique in DGI and MVGRL. "
1154
+ ],
1155
+ "image_footnote": [],
1156
+ "bbox": [
1157
+ 483,
1158
+ 222,
1159
+ 816,
1160
+ 291
1161
+ ],
1162
+ "page_idx": 9
1163
+ },
1164
+ {
1165
+ "type": "text",
1166
+ "text": "Theorem 1 Given a graph G, a corrupted \ngraph ${ \\widetilde { \\mathsf { S } } } ,$ , and a encoding network $g ( \\cdot )$ , we consider the distribution of positive embeddings $g ( \\mathcal { G } )$ as $P _ { p o s }$ and negative embeddings $g ( \\tilde { \\mathcal { G } } )$ as $P _ { n e g }$ . Optimising the group discrimination loss is equivalent to maximising the Jensen-Shannon divergence between $P _ { p o s }$ and $P _ { n e g }$ . ",
1167
+ "bbox": [
1168
+ 174,
1169
+ 325,
1170
+ 825,
1171
+ 387
1172
+ ],
1173
+ "page_idx": 9
1174
+ },
1175
+ {
1176
+ "type": "text",
1177
+ "text": "The proof for Theorem 1 is presented in Appendix A.2. From the theorem above, we can see maximising the group discrimination loss $\\mathcal { L }$ is the same as maximising $J S ( P _ { p o s } \\parallel P _ { n e g } )$ , where $J S$ represents the Jenson-Shannon divergence. Thus, by optimising the loss $\\mathcal { L }$ , $P _ { p o s }$ and $P _ { n e g }$ tend to be separated. As a result, group discrimination is intuitively learning to avoid making ‘mistakes’ (i.e., bias the encoder towards avoiding mistaken samples) as shown in Figure 6. This is because by separating $P _ { p o s }$ and $P _ { n e g }$ , $P _ { p o s }$ can gradually become similar to $P _ { o p t i m a l }$ , the optimal distribution for node embeddings. As $P _ { o p t i m a l }$ , is disjoint with $P _ { n e g }$ , if the generated embeddings can avoid being similar to out-of-distribution samples, i.e., negative samples, it can be ideally closer to $P _ { o p t i m a l }$ . Therefore, the trained model can improve the quality of generated node embeddings for node samples. ",
1178
+ "bbox": [
1179
+ 173,
1180
+ 405,
1181
+ 825,
1182
+ 542
1183
+ ],
1184
+ "page_idx": 9
1185
+ },
1186
+ {
1187
+ "type": "text",
1188
+ "text": "7 Future Work ",
1189
+ "text_level": 1,
1190
+ "bbox": [
1191
+ 174,
1192
+ 579,
1193
+ 313,
1194
+ 597
1195
+ ],
1196
+ "page_idx": 9
1197
+ },
1198
+ {
1199
+ "type": "text",
1200
+ "text": "In this paper, we have introduced a new self-supervised GRL paradigm: Group Discrimination, which achieves the same level of performance as GCL methods with much less resource consumption (i.e., training time and memory). Some limitations of this work are we still have not explored some questions for GD. For example, can we extend the current binary Group Discrimination scheme (i.e., classifying nodes generated with different topology) to discrimination among multiple groups? Are there any other corruption tech",
1201
+ "bbox": [
1202
+ 174,
1203
+ 621,
1204
+ 387,
1205
+ 856
1206
+ ],
1207
+ "page_idx": 9
1208
+ },
1209
+ {
1210
+ "type": "image",
1211
+ "img_path": "images/3dcd4dfa5eb1418c564634e60ad5c8f101c15fec5f400327bbc709da259065ba.jpg",
1212
+ "image_caption": [
1213
+ "Figure 6: $P _ { o p t i m a l }$ is the optimal distribution for node embeddings, $P _ { p o s }$ is the distribution of positive samples, $P _ { n e g }$ is the distribution of negative samples, blue nodes represent negative samples, and red nodes are samples in the optimal distribution. At the beginning, $P _ { p o s }$ is overlapped with $P _ { n e g }$ . Then, $P _ { p o s }$ is gradually separated from $P _ { n e g }$ and ideally become closer to $P _ { o p t i m a l }$ . "
1214
+ ],
1215
+ "image_footnote": [],
1216
+ "bbox": [
1217
+ 406,
1218
+ 626,
1219
+ 820,
1220
+ 741
1221
+ ],
1222
+ "page_idx": 9
1223
+ },
1224
+ {
1225
+ "type": "text",
1226
+ "text": "nique to create a more difficult negative group for discrimination? More importantly, with the extremely efficient property, GD has the potential to be deployed to various real-world applications, e.g., recommendation systems, which have limited labelling information and desire fast computation with limited resources. ",
1227
+ "bbox": [
1228
+ 174,
1229
+ 856,
1230
+ 825,
1231
+ 911
1232
+ ],
1233
+ "page_idx": 9
1234
+ },
1235
+ {
1236
+ "type": "text",
1237
+ "text": "Acknowledgments and Disclosure of Funding ",
1238
+ "text_level": 1,
1239
+ "bbox": [
1240
+ 174,
1241
+ 88,
1242
+ 553,
1243
+ 107
1244
+ ],
1245
+ "page_idx": 10
1246
+ },
1247
+ {
1248
+ "type": "text",
1249
+ "text": "This research was partially supported by an Australian Research Council (ARC) Future Fellowship (FT210100097). ",
1250
+ "bbox": [
1251
+ 176,
1252
+ 121,
1253
+ 825,
1254
+ 148
1255
+ ],
1256
+ "page_idx": 10
1257
+ },
1258
+ {
1259
+ "type": "text",
1260
+ "text": "This work is supported in part by NSF under grants III-1763325, III-1909323, III-2106758, and SaTC-1930941. ",
1261
+ "bbox": [
1262
+ 178,
1263
+ 154,
1264
+ 823,
1265
+ 184
1266
+ ],
1267
+ "page_idx": 10
1268
+ },
1269
+ {
1270
+ "type": "text",
1271
+ "text": "References ",
1272
+ "text_level": 1,
1273
+ "bbox": [
1274
+ 174,
1275
+ 202,
1276
+ 267,
1277
+ 218
1278
+ ],
1279
+ "page_idx": 10
1280
+ },
1281
+ {
1282
+ "type": "text",
1283
+ "text": "[1] Ming Jin, Yizhen Zheng, Yuan-Fang Li, Chen Gong, Chuan Zhou, and Shirui Pan. Multi-scale contrastive siamese networks for self-supervised graph representation learning. IJCAI, 2021. \n[2] Yue Tan, Guodong Long, Jie Ma, Lu Liu, Tianyi Zhou, and Jing Jiang. Federated learning from pre-trained models: A contrastive learning approach. In First Workshop on Pre-training: Perspectives, Pitfalls, and Paths Forward at ICML 2022. \n[3] Yue Tan, Guodong Long, Lu Liu, Tianyi Zhou, Qinghua Lu, Jing Jiang, and Chengqi Zhang. Fedproto: Federated prototype learning across heterogeneous clients. In AAAI Conference on Artificial Intelligence, volume 1, page 3, 2022. \n[4] He Zhang, Bang Wu, Xingliang Yuan, Shirui Pan, Hanghang Tong, and Jian Pei. Trustworthy graph neural networks: Aspects, methods and trends. arXiv preprint arXiv:2205.07424, 2022. \n[5] He Zhang, Bang Wu, Xiangwen Yang, Chuan Zhou, Shuo Wang, Xingliang Yuan, and Shirui Pan. Projective ranking: A transferable evasion attack method on graph neural networks. In CIKM, 2021. \n[6] Ming Jin, Yuan-Fang Li, and Shirui Pan. Neural temporal walks: Motif-aware representation learning on continuous-time dynamic graphs. In Advances in Neural Information Processing Systems, 2022. \n[7] Ming Jin, Yu Zheng, Yuan-Fang Li, Siheng Chen, Bin Yang, and Shirui Pan. Multivariate time series forecasting with dynamic graph neural odes. arXiv preprint arXiv:2202.08408, 2022. \n[8] Yixin Liu, Zhao Li, Shirui Pan, Chen Gong, Chuan Zhou, and George Karypis. Anomaly detection on attributed networks via contrastive self-supervised learning. TNNLS, 2021. \n[9] Yizhen Zheng, Vincent Lee, Zonghan Wu, and Shirui Pan. Heterogeneous graph attention network for small and medium-sized enterprises bankruptcy prediction. In PAKDD, pages 140–151. Springer, 2021. \n[10] Petar Velickovi ˇ c, William Fedus, William L Hamilton, Pietro Liò, Yoshua Bengio, and R Devon Hjelm. ´ Deep graph infomax. ICLR, 2019. \n[11] Kaveh Hassani and Amir Hosein Khasahmadi. Contrastive multi-view representation learning on graphs. In ICML, pages 4116–4126. PMLR, 2020. \n[12] Zhen Peng, Wenbing Huang, Minnan Luo, Qinghua Zheng, Yu Rong, Tingyang Xu, and Junzhou Huang. Graph representation learning via graphical mutual information maximization. In WWW, pages 259–270, 2020. \n[13] Yanqiao Zhu, Yichen Xu, Feng Yu, Qiang Liu, Shu Wu, and Liang Wang. Deep graph contrastive representation learning. ICML Workshop on Graph Representation Learning and Beyond, 2020. \n[14] Piotr Bielak, Tomasz Kajdanowicz, and Nitesh V Chawla. Graph barlow twins: A self-supervised representation learning framework for graphs. arXiv preprint arXiv:2106.02466, 2021. \n[15] Shantanu Thakoor, Corentin Tallec, Mohammad Gheshlaghi Azar, Rémi Munos, Petar Velickovi ˇ c, and ´ Michal Valko. Bootstrapped representation learning on graphs. ICLR2021, 2021. \n[16] 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. NIPS, 2020. \n[17] Jure Zbontar, Li Jing, Ishan Misra, Yann LeCun, and Stéphane Deny. Barlow twins: Self-supervised learning via redundancy reduction. In ICML, pages 12310–12320, 2021. \n[18] Yuning You, Tianlong Chen, Yongduo Sui, Ting Chen, Zhangyang Wang, and Yang Shen. Graph contrastive learning with augmentations. NIPS, 33:5812–5823, 2020. \n[19] Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. ICLR, 2017. \n[20] Petar Velickovi ˇ c, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Lio, and Yoshua Bengio. ´ Graph attention networks. ICLR, 2018. \n[21] Yizhen Zheng, Ming Jin, Shirui Pan, Yuan-Fang Li, Hao Peng, Ming Li, and Zhao Li. Towards graph self-supervised learning with contrastive adjusted zooming. arXiv preprint arXiv:2111.10698, 2021. \n[22] Felix Wu, Amauri Souza, Tianyi Zhang, Christopher Fifty, Tao Yu, and Kilian Weinberger. Simplifying graph convolutional networks. In ICML, pages 6861–6871. PMLR, 2019. \n[23] William L Hamilton, Rex Ying, and Jure Leskovec. Inductive representation learning on large graphs. In NIPS, pages 1025–1035, 2017. \n[24] Wei-Lin Chiang, Xuanqing Liu, Si Si, Yang Li, Samy Bengio, and Cho-Jui Hsieh. Cluster-gcn: An efficient algorithm for training deep and large graph convolutional networks. In KDD, pages 257–266, 2019. \n[25] Johannes Klicpera, Aleksandar Bojchevski, and Stephan Günnemann. Predict then propagate: Graph neural networks meet personalized pagerank. ICLR, 2019. \n[26] Aleksandar Bojchevski, Johannes Klicpera, Bryan Perozzi, Amol Kapoor, Martin Blais, Benedek Rózemberczki, Michal Lukasik, and Stephan Günnemann. Scaling graph neural networks with approximate pagerank. In KDD, pages 2464–2473, 2020. \n[27] Prithviraj Sen, Galileo Namata, Mustafa Bilgic, Lise Getoor, Brian Galligher, and Tina Eliassi-Rad. Collective classification in network data. AI magazine, 29(3):93–93, 2008. \n[28] Oleksandr Shchur, Maximilian Mumme, Aleksandar Bojchevski, and Stephan Günnemann. Pitfalls of graph neural network evaluation. arXiv preprint arXiv:1811.05868, 2018. \n[29] Weihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong, Hongyu Ren, Bowen Liu, Michele Catasta, and Jure Leskovec. Open graph benchmark: Datasets for machine learning on graphs. NIPS, 2020. \n[30] Sheng Wan, Shirui Pan, Jian Yang, and Chen Gong. Contrastive and generative graph convolutional networks for graph-based semi-supervised learning. AAAI, 2020. \n[31] Zhilin Yang, William Cohen, and Ruslan Salakhudinov. Revisiting semi-supervised learning with graph embeddings. In ICML, pages 40–48. PMLR, 2016. \n[32] Aditya Grover and Jure Leskovec. node2vec: Scalable feature learning for networks. In KDD, pages 855–864, 2016. \n[33] Behzad Kamgar-Parsi, Behrooz Kamgar-Parsi, and Menashe Brosh. Distribution and moments of the weighted sum of uniforms random variables, with applications in reducing monte carlo simulations. Journal of Statistical Computation and Simulation, 52(4):399–414, 1995. \n[34] Jean Daunizeau. Semi-analytical approximations to statistical moments of sigmoid and softmax mappings of normal variables. arXiv preprint arXiv:1703.00091, 2017. \n[35] Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. Advances in neural information processing systems, 27, 2014. ",
1284
+ "bbox": [
1285
+ 174,
1286
+ 224,
1287
+ 828,
1288
+ 916
1289
+ ],
1290
+ "page_idx": 10
1291
+ },
1292
+ {
1293
+ "type": "text",
1294
+ "text": "",
1295
+ "bbox": [
1296
+ 171,
1297
+ 92,
1298
+ 828,
1299
+ 723
1300
+ ],
1301
+ "page_idx": 11
1302
+ }
1303
+ ]
parse/dev/_h2FKc6E_YV/_h2FKc6E_YV_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/_h2FKc6E_YV/_h2FKc6E_YV_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/lSZXSDwvGv/lSZXSDwvGv_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/lSZXSDwvGv/lSZXSDwvGv_model.json ADDED
The diff for this file is too large to render. See raw diff